@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.
Files changed (621) hide show
  1. package/CLAUDE.md +29 -0
  2. package/CODEBASE-REVIEW.md +129 -0
  3. package/dist/access/commands/index.js.map +1 -1
  4. package/dist/access/controllers/dashboard.controller.js +8 -5
  5. package/dist/access/controllers/dashboard.controller.js.map +1 -1
  6. package/dist/access/controllers/group.member.controller.js +9 -3
  7. package/dist/access/controllers/group.member.controller.js.map +1 -1
  8. package/dist/access/controllers/group.role.controller.js +7 -3
  9. package/dist/access/controllers/group.role.controller.js.map +1 -1
  10. package/dist/access/controllers/index.js.map +1 -1
  11. package/dist/access/controllers/tag.controller.js +8 -4
  12. package/dist/access/controllers/tag.controller.js.map +1 -1
  13. package/dist/access/dtos/index.js.map +1 -1
  14. package/dist/access/entities/access.employee.entity.js +1 -1
  15. package/dist/access/entities/access.employee.entity.js.map +1 -1
  16. package/dist/access/entities/access.whatsapp.template.entity.js +1 -1
  17. package/dist/access/entities/access.whatsapp.template.entity.js.map +1 -1
  18. package/dist/access/entities/api.account.entity.js +3 -3
  19. package/dist/access/entities/api.account.entity.js.map +1 -1
  20. package/dist/access/entities/app.integration.entity.js +1 -1
  21. package/dist/access/entities/app.integration.entity.js.map +1 -1
  22. package/dist/access/entities/business.app.integration.credential.entity.js +1 -1
  23. package/dist/access/entities/business.app.integration.credential.entity.js.map +1 -1
  24. package/dist/access/entities/business.app.integration.entity.js +1 -1
  25. package/dist/access/entities/business.app.integration.entity.js.map +1 -1
  26. package/dist/access/entities/business.app.integration.messages.entity.js +1 -1
  27. package/dist/access/entities/business.app.integration.messages.entity.js.map +1 -1
  28. package/dist/access/entities/business.currency.entity.js +1 -1
  29. package/dist/access/entities/business.currency.entity.js.map +1 -1
  30. package/dist/access/entities/business.downloadable.report.entity.js +2 -2
  31. package/dist/access/entities/business.downloadable.report.entity.js.map +1 -1
  32. package/dist/access/entities/business.email.entity.js +1 -1
  33. package/dist/access/entities/business.email.entity.js.map +1 -1
  34. package/dist/access/entities/business.feature.entity.js +1 -1
  35. package/dist/access/entities/business.feature.entity.js.map +1 -1
  36. package/dist/access/entities/business.group.role.entity.js +1 -1
  37. package/dist/access/entities/business.group.role.entity.js.map +1 -1
  38. package/dist/access/entities/business.material.view.entity.js +1 -1
  39. package/dist/access/entities/business.material.view.entity.js.map +1 -1
  40. package/dist/access/entities/business.menu.entity.js +1 -1
  41. package/dist/access/entities/business.menu.entity.js.map +1 -1
  42. package/dist/access/entities/business.preference.entity.js +2 -2
  43. package/dist/access/entities/business.preference.entity.js.map +1 -1
  44. package/dist/access/entities/business.property.entity.js +1 -1
  45. package/dist/access/entities/business.property.entity.js.map +1 -1
  46. package/dist/access/entities/business.report.entity.js +3 -3
  47. package/dist/access/entities/business.report.entity.js.map +1 -1
  48. package/dist/access/entities/business.script.entity.js +2 -2
  49. package/dist/access/entities/business.script.entity.js.map +1 -1
  50. package/dist/access/entities/business.user.entity.js +1 -1
  51. package/dist/access/entities/business.user.entity.js.map +1 -1
  52. package/dist/access/entities/business.user.group.entity.js +1 -1
  53. package/dist/access/entities/business.user.group.entity.js.map +1 -1
  54. package/dist/access/entities/business.user.notification.preference.entity.js +1 -1
  55. package/dist/access/entities/business.user.notification.preference.entity.js.map +1 -1
  56. package/dist/access/entities/business.user.role.entity.js +1 -1
  57. package/dist/access/entities/business.user.role.entity.js.map +1 -1
  58. package/dist/access/entities/business.webhook.entity.js +2 -2
  59. package/dist/access/entities/business.webhook.entity.js.map +1 -1
  60. package/dist/access/entities/bz.notification.channel.preference.entity.js +1 -1
  61. package/dist/access/entities/bz.notification.channel.preference.entity.js.map +1 -1
  62. package/dist/access/entities/child.menu.entity.js +1 -1
  63. package/dist/access/entities/child.menu.entity.js.map +1 -1
  64. package/dist/access/entities/choice.list.entity.js +1 -1
  65. package/dist/access/entities/choice.list.entity.js.map +1 -1
  66. package/dist/access/entities/choice.type.entity.js +1 -1
  67. package/dist/access/entities/choice.type.entity.js.map +1 -1
  68. package/dist/access/entities/conversation.entity.js +2 -2
  69. package/dist/access/entities/conversation.entity.js.map +1 -1
  70. package/dist/access/entities/currency.rate.entity.js +1 -1
  71. package/dist/access/entities/currency.rate.entity.js.map +1 -1
  72. package/dist/access/entities/custom.field.entity.js +1 -1
  73. package/dist/access/entities/custom.field.entity.js.map +1 -1
  74. package/dist/access/entities/custom.report.entity.js +3 -3
  75. package/dist/access/entities/custom.report.entity.js.map +1 -1
  76. package/dist/access/entities/dashboard.component.entity.js +2 -2
  77. package/dist/access/entities/dashboard.component.entity.js.map +1 -1
  78. package/dist/access/entities/dashboard.entity.js +1 -1
  79. package/dist/access/entities/dashboard.entity.js.map +1 -1
  80. package/dist/access/entities/download.log.entity.js +1 -1
  81. package/dist/access/entities/download.log.entity.js.map +1 -1
  82. package/dist/access/entities/email.attachment.entity.js +1 -1
  83. package/dist/access/entities/email.attachment.entity.js.map +1 -1
  84. package/dist/access/entities/email.message.entity.js +2 -2
  85. package/dist/access/entities/email.message.entity.js.map +1 -1
  86. package/dist/access/entities/email.recipient.entity.js +1 -1
  87. package/dist/access/entities/email.recipient.entity.js.map +1 -1
  88. package/dist/access/entities/email.rule.entity.js +2 -2
  89. package/dist/access/entities/email.rule.entity.js.map +1 -1
  90. package/dist/access/entities/email.style.entity.js +3 -3
  91. package/dist/access/entities/email.style.entity.js.map +1 -1
  92. package/dist/access/entities/email.template.log.entity.js +3 -3
  93. package/dist/access/entities/email.template.log.entity.js.map +1 -1
  94. package/dist/access/entities/email.template.recipient.entity.js +4 -4
  95. package/dist/access/entities/email.template.recipient.entity.js.map +1 -1
  96. package/dist/access/entities/event.trigger.entity.js +1 -1
  97. package/dist/access/entities/event.trigger.entity.js.map +1 -1
  98. package/dist/access/entities/event.trigger.log.entity.js +2 -2
  99. package/dist/access/entities/event.trigger.log.entity.js.map +1 -1
  100. package/dist/access/entities/execution.log.entity.js +1 -1
  101. package/dist/access/entities/execution.log.entity.js.map +1 -1
  102. package/dist/access/entities/fcm.message.entity.js +3 -3
  103. package/dist/access/entities/fcm.message.entity.js.map +1 -1
  104. package/dist/access/entities/fcm.token.entity.js +1 -1
  105. package/dist/access/entities/fcm.token.entity.js.map +1 -1
  106. package/dist/access/entities/feature.entity.js +1 -1
  107. package/dist/access/entities/feature.entity.js.map +1 -1
  108. package/dist/access/entities/feature.menu.entity.js +1 -1
  109. package/dist/access/entities/feature.menu.entity.js.map +1 -1
  110. package/dist/access/entities/finnoto.user.entity.js +1 -1
  111. package/dist/access/entities/finnoto.user.entity.js.map +1 -1
  112. package/dist/access/entities/form.script.entity.js +1 -1
  113. package/dist/access/entities/form.script.entity.js.map +1 -1
  114. package/dist/access/entities/gchat.message.entity.js +2 -2
  115. package/dist/access/entities/gchat.message.entity.js.map +1 -1
  116. package/dist/access/entities/gchat.template.entity.js +3 -3
  117. package/dist/access/entities/gchat.template.entity.js.map +1 -1
  118. package/dist/access/entities/gchat.user.entity.js +1 -1
  119. package/dist/access/entities/gchat.user.entity.js.map +1 -1
  120. package/dist/access/entities/gchat.webhook.entity.js +1 -1
  121. package/dist/access/entities/gchat.webhook.entity.js.map +1 -1
  122. package/dist/access/entities/gchat.webhook.message.entity.js +2 -2
  123. package/dist/access/entities/gchat.webhook.message.entity.js.map +1 -1
  124. package/dist/access/entities/group.member.entity.js +1 -1
  125. package/dist/access/entities/group.member.entity.js.map +1 -1
  126. package/dist/access/entities/group.role.entity.js +1 -1
  127. package/dist/access/entities/group.role.entity.js.map +1 -1
  128. package/dist/access/entities/gst.mapping.entity.js +1 -1
  129. package/dist/access/entities/gst.mapping.entity.js.map +1 -1
  130. package/dist/access/entities/index.js.map +1 -1
  131. package/dist/access/entities/list.preference.entity.js +3 -3
  132. package/dist/access/entities/list.preference.entity.js.map +1 -1
  133. package/dist/access/entities/listing.column.entity.js +2 -2
  134. package/dist/access/entities/listing.column.entity.js.map +1 -1
  135. package/dist/access/entities/listing.page.entity.js +2 -2
  136. package/dist/access/entities/listing.page.entity.js.map +1 -1
  137. package/dist/access/entities/listing.preference.entity.js +3 -3
  138. package/dist/access/entities/listing.preference.entity.js.map +1 -1
  139. package/dist/access/entities/lock.script.entity.js +1 -1
  140. package/dist/access/entities/lock.script.entity.js.map +1 -1
  141. package/dist/access/entities/menu.action.entity.js +1 -1
  142. package/dist/access/entities/menu.action.entity.js.map +1 -1
  143. package/dist/access/entities/menu.entity.js +1 -1
  144. package/dist/access/entities/menu.entity.js.map +1 -1
  145. package/dist/access/entities/menu.role.entity.js +1 -1
  146. package/dist/access/entities/menu.role.entity.js.map +1 -1
  147. package/dist/access/entities/module.entity.js +1 -1
  148. package/dist/access/entities/module.entity.js.map +1 -1
  149. package/dist/access/entities/module.menu.entity.js +1 -1
  150. package/dist/access/entities/module.menu.entity.js.map +1 -1
  151. package/dist/access/entities/oauth.client.entity.js +3 -3
  152. package/dist/access/entities/oauth.client.entity.js.map +1 -1
  153. package/dist/access/entities/onhold.document.entity.js +1 -1
  154. package/dist/access/entities/onhold.document.entity.js.map +1 -1
  155. package/dist/access/entities/overriding.script.entity.js +1 -1
  156. package/dist/access/entities/overriding.script.entity.js.map +1 -1
  157. package/dist/access/entities/preference.user.entity.js +1 -1
  158. package/dist/access/entities/preference.user.entity.js.map +1 -1
  159. package/dist/access/entities/preference.user.group.entity.js +1 -1
  160. package/dist/access/entities/preference.user.group.entity.js.map +1 -1
  161. package/dist/access/entities/product.entity.js +1 -1
  162. package/dist/access/entities/product.entity.js.map +1 -1
  163. package/dist/access/entities/report.log.entity.js +3 -3
  164. package/dist/access/entities/report.log.entity.js.map +1 -1
  165. package/dist/access/entities/request.log.entity.js +3 -3
  166. package/dist/access/entities/request.log.entity.js.map +1 -1
  167. package/dist/access/entities/role.group.entity.js +1 -1
  168. package/dist/access/entities/role.group.entity.js.map +1 -1
  169. package/dist/access/entities/scheduled.report.email.entity.js +1 -1
  170. package/dist/access/entities/scheduled.report.email.entity.js.map +1 -1
  171. package/dist/access/entities/scheduled.report.entity.js +3 -3
  172. package/dist/access/entities/scheduled.report.entity.js.map +1 -1
  173. package/dist/access/entities/scheduled.report.item.entity.js +1 -1
  174. package/dist/access/entities/scheduled.report.item.entity.js.map +1 -1
  175. package/dist/access/entities/slack.integration.entity.js +1 -1
  176. package/dist/access/entities/slack.integration.entity.js.map +1 -1
  177. package/dist/access/entities/slack.message.entity.js +3 -3
  178. package/dist/access/entities/slack.message.entity.js.map +1 -1
  179. package/dist/access/entities/slack.template.entity.js +3 -3
  180. package/dist/access/entities/slack.template.entity.js.map +1 -1
  181. package/dist/access/entities/slack.user.entity.js +1 -1
  182. package/dist/access/entities/slack.user.entity.js.map +1 -1
  183. package/dist/access/entities/slack.webhook.entity.js +1 -1
  184. package/dist/access/entities/slack.webhook.entity.js.map +1 -1
  185. package/dist/access/entities/slack.webhook.message.entity.js +2 -2
  186. package/dist/access/entities/slack.webhook.message.entity.js.map +1 -1
  187. package/dist/access/entities/ui.action.entity.js +2 -2
  188. package/dist/access/entities/ui.action.entity.js.map +1 -1
  189. package/dist/access/entities/ui.action.role.entity.js +1 -1
  190. package/dist/access/entities/ui.action.role.entity.js.map +1 -1
  191. package/dist/access/entities/user.business.secret.entity.js +3 -3
  192. package/dist/access/entities/user.business.secret.entity.js.map +1 -1
  193. package/dist/access/entities/user.notification.entity.js +2 -2
  194. package/dist/access/entities/user.notification.entity.js.map +1 -1
  195. package/dist/access/entities/user.preference.entity.js +2 -2
  196. package/dist/access/entities/user.preference.entity.js.map +1 -1
  197. package/dist/access/entities/user.role.entity.js +1 -1
  198. package/dist/access/entities/user.role.entity.js.map +1 -1
  199. package/dist/access/entities/watchlist.assignment.entity.js +1 -1
  200. package/dist/access/entities/watchlist.assignment.entity.js.map +1 -1
  201. package/dist/access/entities/webhook.event.entity.js +1 -1
  202. package/dist/access/entities/webhook.event.entity.js.map +1 -1
  203. package/dist/access/entities/webhook.log.entity.js +3 -3
  204. package/dist/access/entities/webhook.log.entity.js.map +1 -1
  205. package/dist/access/entities/webhook.slug.entity.js +1 -1
  206. package/dist/access/entities/webhook.slug.entity.js.map +1 -1
  207. package/dist/access/entities/webhook.type.entity.js +1 -1
  208. package/dist/access/entities/webhook.type.entity.js.map +1 -1
  209. package/dist/access/entities/whatsapp.message.entity.js +3 -3
  210. package/dist/access/entities/whatsapp.message.entity.js.map +1 -1
  211. package/dist/access/entities/whatsapp.preference.entity.js +1 -1
  212. package/dist/access/entities/whatsapp.preference.entity.js.map +1 -1
  213. package/dist/access/entities/whitelisted.whatsapp.number.entity.js +1 -1
  214. package/dist/access/entities/whitelisted.whatsapp.number.entity.js.map +1 -1
  215. package/dist/access/enums/index.js.map +1 -1
  216. package/dist/access/es6.classes.d.ts +8 -9
  217. package/dist/access/es6.classes.js +4 -4
  218. package/dist/access/es6.classes.js.map +1 -1
  219. package/dist/access/index.d.ts +1 -1
  220. package/dist/access/index.js +1 -1
  221. package/dist/access/index.js.map +1 -1
  222. package/dist/access/jobs/business.app.integration.job.js +6 -2
  223. package/dist/access/jobs/business.app.integration.job.js.map +1 -1
  224. package/dist/access/jobs/business.feature.job.js +12 -4
  225. package/dist/access/jobs/business.feature.job.js.map +1 -1
  226. package/dist/access/jobs/business.report.job.js +6 -2
  227. package/dist/access/jobs/business.report.job.js.map +1 -1
  228. package/dist/access/jobs/business.script.job.js +12 -4
  229. package/dist/access/jobs/business.script.job.js.map +1 -1
  230. package/dist/access/jobs/choice.list.job.js +6 -2
  231. package/dist/access/jobs/choice.list.job.js.map +1 -1
  232. package/dist/access/jobs/email.attachment.job.js +6 -2
  233. package/dist/access/jobs/email.attachment.job.js.map +1 -1
  234. package/dist/access/jobs/email.message.job.js +12 -4
  235. package/dist/access/jobs/email.message.job.js.map +1 -1
  236. package/dist/access/jobs/email.recipient.job.js +6 -2
  237. package/dist/access/jobs/email.recipient.job.js.map +1 -1
  238. package/dist/access/jobs/feature.job.js +6 -2
  239. package/dist/access/jobs/feature.job.js.map +1 -1
  240. package/dist/access/jobs/feature.menu.job.js +12 -4
  241. package/dist/access/jobs/feature.menu.job.js.map +1 -1
  242. package/dist/access/jobs/group.role.job.js +6 -2
  243. package/dist/access/jobs/group.role.job.js.map +1 -1
  244. package/dist/access/jobs/index.js.map +1 -1
  245. package/dist/access/jobs/scheduled.report.job.js +12 -4
  246. package/dist/access/jobs/scheduled.report.job.js.map +1 -1
  247. package/dist/access/jobs/watchlist.assignment.job.js +6 -2
  248. package/dist/access/jobs/watchlist.assignment.job.js.map +1 -1
  249. package/dist/access/jobs/webhook.type.job.js +6 -2
  250. package/dist/access/jobs/webhook.type.job.js.map +1 -1
  251. package/dist/access/libraries/assert.safe.sql.fragment.d.ts +6 -0
  252. package/dist/access/libraries/assert.safe.sql.fragment.js +19 -0
  253. package/dist/access/libraries/assert.safe.sql.fragment.js.map +1 -0
  254. package/dist/access/libraries/index.d.ts +2 -1
  255. package/dist/access/libraries/index.js +2 -1
  256. package/dist/access/libraries/index.js.map +1 -1
  257. package/dist/access/libraries/process.dashboard.report.data.js +5 -1
  258. package/dist/access/libraries/process.dashboard.report.data.js.map +1 -1
  259. package/dist/access/libraries/process.db.find.d.ts +3 -0
  260. package/dist/access/libraries/process.db.find.js +30 -16
  261. package/dist/access/libraries/process.db.find.js.map +1 -1
  262. package/dist/access/libraries/process.report.data.js +8 -2
  263. package/dist/access/libraries/process.report.data.js.map +1 -1
  264. package/dist/access/libraries/resolve.client.ip.d.ts +3 -0
  265. package/dist/access/libraries/resolve.client.ip.js +11 -0
  266. package/dist/access/libraries/resolve.client.ip.js.map +1 -0
  267. package/dist/access/libraries/send.fcm.notification.d.ts +1 -1
  268. package/dist/access/libraries/send.fcm.notification.js +15 -8
  269. package/dist/access/libraries/send.fcm.notification.js.map +1 -1
  270. package/dist/access/middlewares/external.access.middleware.js +2 -1
  271. package/dist/access/middlewares/external.access.middleware.js.map +1 -1
  272. package/dist/access/middlewares/index.js.map +1 -1
  273. package/dist/access/middlewares/mcp.access.middleware.js +2 -1
  274. package/dist/access/middlewares/mcp.access.middleware.js.map +1 -1
  275. package/dist/access/middlewares/mcp.rate.limit.middleware.js +3 -2
  276. package/dist/access/middlewares/mcp.rate.limit.middleware.js.map +1 -1
  277. package/dist/access/services/gmail.integration.service.d.ts +1 -1
  278. package/dist/access/services/gmail.integration.service.js +7 -8
  279. package/dist/access/services/gmail.integration.service.js.map +1 -1
  280. package/dist/access/services/index.d.ts +0 -1
  281. package/dist/access/services/index.js +0 -1
  282. package/dist/access/services/index.js.map +1 -1
  283. package/dist/access/services/slack.service.d.ts +3 -2
  284. package/dist/access/services/slack.service.js +14 -17
  285. package/dist/access/services/slack.service.js.map +1 -1
  286. package/dist/access/services/webhook.service.d.ts +2 -1
  287. package/dist/access/services/webhook.service.js +7 -9
  288. package/dist/access/services/webhook.service.js.map +1 -1
  289. package/dist/access/subscribers/index.js.map +1 -1
  290. package/dist/accessUtility/controllers/index.js.map +1 -1
  291. package/dist/accessUtility/dtos/index.js.map +1 -1
  292. package/dist/accessUtility/entities/bulk.definition.entity.js +1 -1
  293. package/dist/accessUtility/entities/bulk.definition.entity.js.map +1 -1
  294. package/dist/accessUtility/entities/bulk.definition.load.entity.js +1 -1
  295. package/dist/accessUtility/entities/bulk.definition.load.entity.js.map +1 -1
  296. package/dist/accessUtility/entities/bulk.definition.processing.entity.js +1 -1
  297. package/dist/accessUtility/entities/bulk.definition.processing.entity.js.map +1 -1
  298. package/dist/accessUtility/entities/bulk.upload.column.entity.js +1 -1
  299. package/dist/accessUtility/entities/bulk.upload.column.entity.js.map +1 -1
  300. package/dist/accessUtility/entities/bulk.upload.entity.js +2 -2
  301. package/dist/accessUtility/entities/bulk.upload.entity.js.map +1 -1
  302. package/dist/accessUtility/entities/bulk.upload.item.entity.js +3 -3
  303. package/dist/accessUtility/entities/bulk.upload.item.entity.js.map +1 -1
  304. package/dist/accessUtility/entities/bulk.upload.type.entity.js +2 -2
  305. package/dist/accessUtility/entities/bulk.upload.type.entity.js.map +1 -1
  306. package/dist/accessUtility/entities/business.bulk.definition.entity.js +1 -1
  307. package/dist/accessUtility/entities/business.bulk.definition.entity.js.map +1 -1
  308. package/dist/accessUtility/entities/business.policy.entity.js +2 -2
  309. package/dist/accessUtility/entities/business.policy.entity.js.map +1 -1
  310. package/dist/accessUtility/entities/business.violation.entity.js +2 -2
  311. package/dist/accessUtility/entities/business.violation.entity.js.map +1 -1
  312. package/dist/accessUtility/entities/currency.entity.js +1 -1
  313. package/dist/accessUtility/entities/currency.entity.js.map +1 -1
  314. package/dist/accessUtility/entities/data.access.entity.js +1 -1
  315. package/dist/accessUtility/entities/data.access.entity.js.map +1 -1
  316. package/dist/accessUtility/entities/data.mapping.entity.js +1 -1
  317. package/dist/accessUtility/entities/data.mapping.entity.js.map +1 -1
  318. package/dist/accessUtility/entities/data.violation.entity.js +1 -1
  319. package/dist/accessUtility/entities/data.violation.entity.js.map +1 -1
  320. package/dist/accessUtility/entities/email.notification.entity.js +2 -2
  321. package/dist/accessUtility/entities/email.notification.entity.js.map +1 -1
  322. package/dist/accessUtility/entities/fcm.notification.entity.js +2 -2
  323. package/dist/accessUtility/entities/fcm.notification.entity.js.map +1 -1
  324. package/dist/accessUtility/entities/fcm.template.entity.js +3 -3
  325. package/dist/accessUtility/entities/fcm.template.entity.js.map +1 -1
  326. package/dist/accessUtility/entities/gchat.notification.entity.js +2 -2
  327. package/dist/accessUtility/entities/gchat.notification.entity.js.map +1 -1
  328. package/dist/accessUtility/entities/gst.state.entity.js +1 -1
  329. package/dist/accessUtility/entities/gst.state.entity.js.map +1 -1
  330. package/dist/accessUtility/entities/inapp.notification.entity.js +3 -3
  331. package/dist/accessUtility/entities/inapp.notification.entity.js.map +1 -1
  332. package/dist/accessUtility/entities/index.js.map +1 -1
  333. package/dist/accessUtility/entities/item.unit.entity.js +1 -1
  334. package/dist/accessUtility/entities/item.unit.entity.js.map +1 -1
  335. package/dist/accessUtility/entities/item.violation.entity.js +1 -1
  336. package/dist/accessUtility/entities/item.violation.entity.js.map +1 -1
  337. package/dist/accessUtility/entities/listing.model.entity.js +3 -3
  338. package/dist/accessUtility/entities/listing.model.entity.js.map +1 -1
  339. package/dist/accessUtility/entities/notification.entity.js +2 -2
  340. package/dist/accessUtility/entities/notification.entity.js.map +1 -1
  341. package/dist/accessUtility/entities/notification.recipient.entity.js +1 -1
  342. package/dist/accessUtility/entities/notification.recipient.entity.js.map +1 -1
  343. package/dist/accessUtility/entities/pdf.documents.entity.js +2 -2
  344. package/dist/accessUtility/entities/pdf.documents.entity.js.map +1 -1
  345. package/dist/accessUtility/entities/pdf.log.entity.js +5 -5
  346. package/dist/accessUtility/entities/pdf.log.entity.js.map +1 -1
  347. package/dist/accessUtility/entities/pdf.templates.entity.js +2 -2
  348. package/dist/accessUtility/entities/pdf.templates.entity.js.map +1 -1
  349. package/dist/accessUtility/entities/slack.notification.entity.js +2 -2
  350. package/dist/accessUtility/entities/slack.notification.entity.js.map +1 -1
  351. package/dist/accessUtility/entities/sms.notification.entity.js +2 -2
  352. package/dist/accessUtility/entities/sms.notification.entity.js.map +1 -1
  353. package/dist/accessUtility/entities/tag.assignment.entity.js +1 -1
  354. package/dist/accessUtility/entities/tag.assignment.entity.js.map +1 -1
  355. package/dist/accessUtility/entities/ui.policies.entity.js +2 -2
  356. package/dist/accessUtility/entities/ui.policies.entity.js.map +1 -1
  357. package/dist/accessUtility/entities/upload.modification.entity.js +1 -1
  358. package/dist/accessUtility/entities/upload.modification.entity.js.map +1 -1
  359. package/dist/accessUtility/entities/violation.definition.entity.js +1 -1
  360. package/dist/accessUtility/entities/violation.definition.entity.js.map +1 -1
  361. package/dist/accessUtility/entities/webhook.request.entity.js +2 -2
  362. package/dist/accessUtility/entities/webhook.request.entity.js.map +1 -1
  363. package/dist/accessUtility/entities/whatsapp.notification.entity.js +2 -2
  364. package/dist/accessUtility/entities/whatsapp.notification.entity.js.map +1 -1
  365. package/dist/accessUtility/enums/index.js.map +1 -1
  366. package/dist/accessUtility/es6.classes.d.ts +2 -3
  367. package/dist/accessUtility/es6.classes.js +0 -2
  368. package/dist/accessUtility/es6.classes.js.map +1 -1
  369. package/dist/accessUtility/index.d.ts +2 -2
  370. package/dist/accessUtility/index.js +2 -2
  371. package/dist/accessUtility/index.js.map +1 -1
  372. package/dist/accessUtility/interfaces/index.js.map +1 -1
  373. package/dist/accessUtility/jobs/bulk.upload.item.job.js +6 -2
  374. package/dist/accessUtility/jobs/bulk.upload.item.job.js.map +1 -1
  375. package/dist/accessUtility/jobs/index.js.map +1 -1
  376. package/dist/accessUtility/jobs/pdfDocument.job.js +6 -2
  377. package/dist/accessUtility/jobs/pdfDocument.job.js.map +1 -1
  378. package/dist/accessUtility/libraries/index.js.map +1 -1
  379. package/dist/accessUtility/services/business.policy.service.d.ts +2 -1
  380. package/dist/accessUtility/services/business.policy.service.js +12 -9
  381. package/dist/accessUtility/services/business.policy.service.js.map +1 -1
  382. package/dist/accessUtility/services/index.js.map +1 -1
  383. package/dist/accessUtility/subscribers/index.js.map +1 -1
  384. package/dist/accessWorkflow/controllers/index.js.map +1 -1
  385. package/dist/accessWorkflow/dtos/index.js.map +1 -1
  386. package/dist/accessWorkflow/entities/approval.rule.entity.js +2 -2
  387. package/dist/accessWorkflow/entities/approval.rule.entity.js.map +1 -1
  388. package/dist/accessWorkflow/entities/approval.step.entity.js +2 -2
  389. package/dist/accessWorkflow/entities/approval.step.entity.js.map +1 -1
  390. package/dist/accessWorkflow/entities/authority.delegation.entity.js +1 -1
  391. package/dist/accessWorkflow/entities/authority.delegation.entity.js.map +1 -1
  392. package/dist/accessWorkflow/entities/index.js.map +1 -1
  393. package/dist/accessWorkflow/entities/limit.config.entity.js +1 -1
  394. package/dist/accessWorkflow/entities/limit.config.entity.js.map +1 -1
  395. package/dist/accessWorkflow/entities/workflow.stage.activity.entity.js +1 -1
  396. package/dist/accessWorkflow/entities/workflow.stage.activity.entity.js.map +1 -1
  397. package/dist/accessWorkflow/entities/workflow.stage.entity.js +1 -1
  398. package/dist/accessWorkflow/entities/workflow.stage.entity.js.map +1 -1
  399. package/dist/accessWorkflow/entities/workflow.stage.level.entity.js +1 -1
  400. package/dist/accessWorkflow/entities/workflow.stage.level.entity.js.map +1 -1
  401. package/dist/accessWorkflow/entities/workflow.stage.status.entity.js +2 -2
  402. package/dist/accessWorkflow/entities/workflow.stage.status.entity.js.map +1 -1
  403. package/dist/accessWorkflow/entities/workflow.step.entity.js +1 -1
  404. package/dist/accessWorkflow/entities/workflow.step.entity.js.map +1 -1
  405. package/dist/accessWorkflow/entities/workflow.user.entity.js +1 -1
  406. package/dist/accessWorkflow/entities/workflow.user.entity.js.map +1 -1
  407. package/dist/accessWorkflow/enums/index.js.map +1 -1
  408. package/dist/accessWorkflow/es6.classes.d.ts +1 -2
  409. package/dist/accessWorkflow/es6.classes.js +1 -2
  410. package/dist/accessWorkflow/es6.classes.js.map +1 -1
  411. package/dist/accessWorkflow/index.d.ts +1 -1
  412. package/dist/accessWorkflow/index.js +1 -1
  413. package/dist/accessWorkflow/index.js.map +1 -1
  414. package/dist/accessWorkflow/jobs/approval.step.job.js +6 -2
  415. package/dist/accessWorkflow/jobs/approval.step.job.js.map +1 -1
  416. package/dist/accessWorkflow/jobs/authority.delegation.job.js +6 -2
  417. package/dist/accessWorkflow/jobs/authority.delegation.job.js.map +1 -1
  418. package/dist/accessWorkflow/jobs/index.js.map +1 -1
  419. package/dist/accessWorkflow/jobs/workflow.stage.activity.job.js +6 -2
  420. package/dist/accessWorkflow/jobs/workflow.stage.activity.job.js.map +1 -1
  421. package/dist/accessWorkflow/jobs/workflow.stage.level.job.js +12 -4
  422. package/dist/accessWorkflow/jobs/workflow.stage.level.job.js.map +1 -1
  423. package/dist/accessWorkflow/jobs/workflow.step.job.js +18 -6
  424. package/dist/accessWorkflow/jobs/workflow.step.job.js.map +1 -1
  425. package/dist/accessWorkflow/jobs/workflow.user.job.js +18 -6
  426. package/dist/accessWorkflow/jobs/workflow.user.job.js.map +1 -1
  427. package/dist/accessWorkflow/libraries/index.js.map +1 -1
  428. package/dist/accessWorkflow/services/index.js.map +1 -1
  429. package/dist/accessWorkflow/subscribers/index.js.map +1 -1
  430. package/dist/app.controller.d.ts +0 -2
  431. package/dist/app.controller.js +10 -29
  432. package/dist/app.controller.js.map +1 -1
  433. package/dist/app.service.d.ts +0 -5
  434. package/dist/app.service.js +1 -20
  435. package/dist/app.service.js.map +1 -1
  436. package/dist/development/commands/index.js.map +1 -1
  437. package/dist/development/controllers/index.js.map +1 -1
  438. package/dist/development/dtos/index.js.map +1 -1
  439. package/dist/development/es6.classes.d.ts +3 -0
  440. package/dist/development/es6.classes.js +3 -0
  441. package/dist/development/es6.classes.js.map +1 -1
  442. package/dist/development/gates/index.js.map +1 -1
  443. package/dist/development/index.d.ts +1 -1
  444. package/dist/development/index.js +1 -1
  445. package/dist/development/index.js.map +1 -1
  446. package/dist/development/interfaces/index.js.map +1 -1
  447. package/dist/development/middlewares/development.middleware.js +2 -3
  448. package/dist/development/middlewares/development.middleware.js.map +1 -1
  449. package/dist/development/middlewares/index.js.map +1 -1
  450. package/dist/development/registries/development.entity.registry.d.ts +2 -0
  451. package/dist/development/registries/development.entity.registry.js +17 -0
  452. package/dist/development/registries/development.entity.registry.js.map +1 -1
  453. package/dist/development/registries/index.js.map +1 -1
  454. package/dist/development/services/development.crud.service.d.ts +1 -0
  455. package/dist/development/services/development.crud.service.js +8 -0
  456. package/dist/development/services/development.crud.service.js.map +1 -1
  457. package/dist/development/services/index.js.map +1 -1
  458. package/dist/index.d.ts +0 -1
  459. package/dist/index.js +0 -1
  460. package/dist/index.js.map +1 -1
  461. package/dist/mcp/admin/index.js.map +1 -1
  462. package/dist/mcp/admin/tools/admin.tool.registry.js +60 -0
  463. package/dist/mcp/admin/tools/admin.tool.registry.js.map +1 -1
  464. package/dist/mcp/admin/tools/business_feature/business.feature.create.tool.d.ts +22 -0
  465. package/dist/mcp/admin/tools/business_feature/business.feature.create.tool.js +25 -0
  466. package/dist/mcp/admin/tools/business_feature/business.feature.create.tool.js.map +1 -0
  467. package/dist/mcp/admin/tools/business_feature/business.feature.delete.tool.d.ts +17 -0
  468. package/dist/mcp/admin/tools/business_feature/business.feature.delete.tool.js +23 -0
  469. package/dist/mcp/admin/tools/business_feature/business.feature.delete.tool.js.map +1 -0
  470. package/dist/mcp/admin/tools/business_feature/business.feature.get.tool.d.ts +17 -0
  471. package/dist/mcp/admin/tools/business_feature/business.feature.get.tool.js +23 -0
  472. package/dist/mcp/admin/tools/business_feature/business.feature.get.tool.js.map +1 -0
  473. package/dist/mcp/admin/tools/business_feature/business.feature.list.tool.d.ts +23 -0
  474. package/dist/mcp/admin/tools/business_feature/business.feature.list.tool.js +37 -0
  475. package/dist/mcp/admin/tools/business_feature/business.feature.list.tool.js.map +1 -0
  476. package/dist/mcp/admin/tools/business_feature/business.feature.update.tool.d.ts +24 -0
  477. package/dist/mcp/admin/tools/business_feature/business.feature.update.tool.js +27 -0
  478. package/dist/mcp/admin/tools/business_feature/business.feature.update.tool.js.map +1 -0
  479. package/dist/mcp/admin/tools/business_feature/index.d.ts +5 -0
  480. package/dist/mcp/admin/tools/business_feature/index.js +22 -0
  481. package/dist/mcp/admin/tools/business_feature/index.js.map +1 -0
  482. package/dist/mcp/admin/tools/catalog/index.js.map +1 -1
  483. package/dist/mcp/admin/tools/child_menu/index.js.map +1 -1
  484. package/dist/mcp/admin/tools/feature/feature.create.tool.d.ts +22 -0
  485. package/dist/mcp/admin/tools/feature/feature.create.tool.js +25 -0
  486. package/dist/mcp/admin/tools/feature/feature.create.tool.js.map +1 -0
  487. package/dist/mcp/admin/tools/feature/feature.delete.tool.d.ts +17 -0
  488. package/dist/mcp/admin/tools/feature/feature.delete.tool.js +23 -0
  489. package/dist/mcp/admin/tools/feature/feature.delete.tool.js.map +1 -0
  490. package/dist/mcp/admin/tools/feature/feature.get.tool.d.ts +17 -0
  491. package/dist/mcp/admin/tools/feature/feature.get.tool.js +23 -0
  492. package/dist/mcp/admin/tools/feature/feature.get.tool.js.map +1 -0
  493. package/dist/mcp/admin/tools/feature/feature.list.tool.d.ts +23 -0
  494. package/dist/mcp/admin/tools/feature/feature.list.tool.js +37 -0
  495. package/dist/mcp/admin/tools/feature/feature.list.tool.js.map +1 -0
  496. package/dist/mcp/admin/tools/feature/feature.update.tool.d.ts +24 -0
  497. package/dist/mcp/admin/tools/feature/feature.update.tool.js +27 -0
  498. package/dist/mcp/admin/tools/feature/feature.update.tool.js.map +1 -0
  499. package/dist/mcp/admin/tools/feature/index.d.ts +5 -0
  500. package/dist/mcp/admin/tools/feature/index.js +22 -0
  501. package/dist/mcp/admin/tools/feature/index.js.map +1 -0
  502. package/dist/mcp/admin/tools/feature_menu/feature.menu.create.tool.d.ts +20 -0
  503. package/dist/mcp/admin/tools/feature_menu/feature.menu.create.tool.js +24 -0
  504. package/dist/mcp/admin/tools/feature_menu/feature.menu.create.tool.js.map +1 -0
  505. package/dist/mcp/admin/tools/feature_menu/feature.menu.delete.tool.d.ts +17 -0
  506. package/dist/mcp/admin/tools/feature_menu/feature.menu.delete.tool.js +23 -0
  507. package/dist/mcp/admin/tools/feature_menu/feature.menu.delete.tool.js.map +1 -0
  508. package/dist/mcp/admin/tools/feature_menu/feature.menu.get.tool.d.ts +17 -0
  509. package/dist/mcp/admin/tools/feature_menu/feature.menu.get.tool.js +23 -0
  510. package/dist/mcp/admin/tools/feature_menu/feature.menu.get.tool.js.map +1 -0
  511. package/dist/mcp/admin/tools/feature_menu/feature.menu.list.tool.d.ts +23 -0
  512. package/dist/mcp/admin/tools/feature_menu/feature.menu.list.tool.js +37 -0
  513. package/dist/mcp/admin/tools/feature_menu/feature.menu.list.tool.js.map +1 -0
  514. package/dist/mcp/admin/tools/feature_menu/feature.menu.update.tool.d.ts +22 -0
  515. package/dist/mcp/admin/tools/feature_menu/feature.menu.update.tool.js +26 -0
  516. package/dist/mcp/admin/tools/feature_menu/feature.menu.update.tool.js.map +1 -0
  517. package/dist/mcp/admin/tools/feature_menu/index.d.ts +5 -0
  518. package/dist/mcp/admin/tools/feature_menu/index.js +22 -0
  519. package/dist/mcp/admin/tools/feature_menu/index.js.map +1 -0
  520. package/dist/mcp/admin/tools/form_script/index.js.map +1 -1
  521. package/dist/mcp/admin/tools/group_role/group.role.create.tool.d.ts +20 -0
  522. package/dist/mcp/admin/tools/group_role/group.role.create.tool.js +24 -0
  523. package/dist/mcp/admin/tools/group_role/group.role.create.tool.js.map +1 -0
  524. package/dist/mcp/admin/tools/group_role/group.role.delete.tool.d.ts +17 -0
  525. package/dist/mcp/admin/tools/group_role/group.role.delete.tool.js +23 -0
  526. package/dist/mcp/admin/tools/group_role/group.role.delete.tool.js.map +1 -0
  527. package/dist/mcp/admin/tools/group_role/group.role.get.tool.d.ts +17 -0
  528. package/dist/mcp/admin/tools/group_role/group.role.get.tool.js +23 -0
  529. package/dist/mcp/admin/tools/group_role/group.role.get.tool.js.map +1 -0
  530. package/dist/mcp/admin/tools/group_role/group.role.list.tool.d.ts +23 -0
  531. package/dist/mcp/admin/tools/group_role/group.role.list.tool.js +37 -0
  532. package/dist/mcp/admin/tools/group_role/group.role.list.tool.js.map +1 -0
  533. package/dist/mcp/admin/tools/group_role/group.role.update.tool.d.ts +22 -0
  534. package/dist/mcp/admin/tools/group_role/group.role.update.tool.js +26 -0
  535. package/dist/mcp/admin/tools/group_role/group.role.update.tool.js.map +1 -0
  536. package/dist/mcp/admin/tools/group_role/index.d.ts +5 -0
  537. package/dist/mcp/admin/tools/group_role/index.js +22 -0
  538. package/dist/mcp/admin/tools/group_role/index.js.map +1 -0
  539. package/dist/mcp/admin/tools/index.d.ts +7 -1
  540. package/dist/mcp/admin/tools/index.js +7 -1
  541. package/dist/mcp/admin/tools/index.js.map +1 -1
  542. package/dist/mcp/admin/tools/listing_column/index.js.map +1 -1
  543. package/dist/mcp/admin/tools/listing_page/index.js.map +1 -1
  544. package/dist/mcp/admin/tools/listing_preference/index.js.map +1 -1
  545. package/dist/mcp/admin/tools/menu/index.js.map +1 -1
  546. package/dist/mcp/admin/tools/menu_role/index.js.map +1 -1
  547. package/dist/mcp/admin/tools/menu_ui_action/index.js.map +1 -1
  548. package/dist/mcp/admin/tools/module/index.js.map +1 -1
  549. package/dist/mcp/admin/tools/module_menu/index.js.map +1 -1
  550. package/dist/mcp/admin/tools/report/index.js.map +1 -1
  551. package/dist/mcp/admin/tools/role/index.d.ts +5 -0
  552. package/dist/mcp/admin/tools/role/index.js +22 -0
  553. package/dist/mcp/admin/tools/role/index.js.map +1 -0
  554. package/dist/mcp/admin/tools/role/role.create.tool.d.ts +24 -0
  555. package/dist/mcp/admin/tools/role/role.create.tool.js +26 -0
  556. package/dist/mcp/admin/tools/role/role.create.tool.js.map +1 -0
  557. package/dist/mcp/admin/tools/role/role.delete.tool.d.ts +17 -0
  558. package/dist/mcp/admin/tools/role/role.delete.tool.js +23 -0
  559. package/dist/mcp/admin/tools/role/role.delete.tool.js.map +1 -0
  560. package/dist/mcp/admin/tools/role/role.get.tool.d.ts +17 -0
  561. package/dist/mcp/admin/tools/role/role.get.tool.js +23 -0
  562. package/dist/mcp/admin/tools/role/role.get.tool.js.map +1 -0
  563. package/dist/mcp/admin/tools/role/role.list.tool.d.ts +23 -0
  564. package/dist/mcp/admin/tools/role/role.list.tool.js +37 -0
  565. package/dist/mcp/admin/tools/role/role.list.tool.js.map +1 -0
  566. package/dist/mcp/admin/tools/role/role.update.tool.d.ts +26 -0
  567. package/dist/mcp/admin/tools/role/role.update.tool.js +28 -0
  568. package/dist/mcp/admin/tools/role/role.update.tool.js.map +1 -0
  569. package/dist/mcp/admin/tools/role_group/index.d.ts +5 -0
  570. package/dist/mcp/admin/tools/role_group/index.js +22 -0
  571. package/dist/mcp/admin/tools/role_group/index.js.map +1 -0
  572. package/dist/mcp/admin/tools/role_group/role.group.create.tool.d.ts +22 -0
  573. package/dist/mcp/admin/tools/role_group/role.group.create.tool.js +25 -0
  574. package/dist/mcp/admin/tools/role_group/role.group.create.tool.js.map +1 -0
  575. package/dist/mcp/admin/tools/role_group/role.group.delete.tool.d.ts +17 -0
  576. package/dist/mcp/admin/tools/role_group/role.group.delete.tool.js +23 -0
  577. package/dist/mcp/admin/tools/role_group/role.group.delete.tool.js.map +1 -0
  578. package/dist/mcp/admin/tools/role_group/role.group.get.tool.d.ts +17 -0
  579. package/dist/mcp/admin/tools/role_group/role.group.get.tool.js +23 -0
  580. package/dist/mcp/admin/tools/role_group/role.group.get.tool.js.map +1 -0
  581. package/dist/mcp/admin/tools/role_group/role.group.list.tool.d.ts +23 -0
  582. package/dist/mcp/admin/tools/role_group/role.group.list.tool.js +37 -0
  583. package/dist/mcp/admin/tools/role_group/role.group.list.tool.js.map +1 -0
  584. package/dist/mcp/admin/tools/role_group/role.group.update.tool.d.ts +24 -0
  585. package/dist/mcp/admin/tools/role_group/role.group.update.tool.js +27 -0
  586. package/dist/mcp/admin/tools/role_group/role.group.update.tool.js.map +1 -0
  587. package/dist/mcp/admin/tools/ui_action/index.js.map +1 -1
  588. package/dist/mcp/admin/tools/ui_action_role/index.js.map +1 -1
  589. package/dist/mcp/auth/index.js.map +1 -1
  590. package/dist/mcp/catalog/index.js.map +1 -1
  591. package/dist/mcp/client/index.js.map +1 -1
  592. package/dist/mcp/es6.classes.d.ts +36 -1
  593. package/dist/mcp/es6.classes.js +65 -0
  594. package/dist/mcp/es6.classes.js.map +1 -1
  595. package/dist/mcp/http/index.js.map +1 -1
  596. package/dist/mcp/index.d.ts +2 -2
  597. package/dist/mcp/index.js +2 -2
  598. package/dist/mcp/index.js.map +1 -1
  599. package/dist/mcp/interfaces/index.js.map +1 -1
  600. package/dist/mcp/logging/index.js.map +1 -1
  601. package/dist/mcp/mentities/index.js.map +1 -1
  602. package/dist/mcp/tools/index.js.map +1 -1
  603. package/dist/migrations/1780500000000-MigrateSlaJsonColumnsToJsonb.d.ts +17 -0
  604. package/dist/migrations/1780500000000-MigrateSlaJsonColumnsToJsonb.js +348 -0
  605. package/dist/migrations/1780500000000-MigrateSlaJsonColumnsToJsonb.js.map +1 -0
  606. package/package.json +5 -2
  607. package/dist/access/services/es6.jobs.service.d.ts +0 -94
  608. package/dist/access/services/es6.jobs.service.js +0 -209
  609. package/dist/access/services/es6.jobs.service.js.map +0 -1
  610. package/dist/access/services/load.entity.service.d.ts +0 -4
  611. package/dist/access/services/load.entity.service.js +0 -30
  612. package/dist/access/services/load.entity.service.js.map +0 -1
  613. package/dist/accessUtility/services/es6.jobs.service.d.ts +0 -30
  614. package/dist/accessUtility/services/es6.jobs.service.js +0 -81
  615. package/dist/accessUtility/services/es6.jobs.service.js.map +0 -1
  616. package/dist/accessWorkflow/services/es6.jobs.service.d.ts +0 -32
  617. package/dist/accessWorkflow/services/es6.jobs.service.js +0 -85
  618. package/dist/accessWorkflow/services/es6.jobs.service.js.map +0 -1
  619. package/dist/config/entity.constants.d.ts +0 -301
  620. package/dist/config/entity.constants.js +0 -303
  621. 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;A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CAAkB,CAAC,IAAI,CAAC,MAAM,CAAC;YACnC,IAAI,wCAAiB,CAAC,IAAI,CAAC,MAAM,CAAC;YAClC,IAAI,8CAAoB,CAAC,IAAI,CAAC,MAAM,CAAC;YACrC,IAAI,8CAAoB,CAAC,IAAI,CAAC,MAAM,CAAC;YACrC,IAAI,8CAAoB,CAAC,IAAI,CAAC,MAAM,CAAC;YACrC,IAAI,0CAAkB,CAAC,IAAI,CAAC,MAAM,CAAC;YACnC,IAAI,gDAAqB,CAAC,IAAI,CAAC,MAAM,CAAC;YACtC,IAAI,4CAAmB,CAAC,IAAI,CAAC,MAAM,CAAC;YACpC,IAAI,uDAAwB,CAAC,IAAI,CAAC,MAAM,CAAC;YACzC,IAAI,4CAAmB,CAAC,IAAI,CAAC,MAAM,CAAC;YACpC,IAAI,oDAAuB,CAAC,IAAI,CAAC,MAAM,CAAC;YACxC,IAAI,sDAAwB,CAAC,IAAI,CAAC,MAAM,CAAC;YACzC,IAAI,oDAAuB,CAAC,IAAI,CAAC,MAAM,CAAC;YACxC,IAAI,uDAAwB,CAAC,IAAI,CAAC,MAAM,CAAC;YACzC,IAAI,2DAA0B,CAAC,IAAI,CAAC,MAAM,CAAC;SAC9C,CAAC;IACN,CAAC;CACJ;AAlFD,8CAkFC"}
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;AAC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C,IAAI,CAAC,MAAM,CAAC;YACnC,IAAI,gDAAqB,CAAC,IAAI,CAAC,MAAM,CAAC;YACtC,IAAI,4CAAmB,CAAC,IAAI,CAAC,MAAM,CAAC;YACpC,IAAI,uDAAwB,CAAC,IAAI,CAAC,MAAM,CAAC;YACzC,IAAI,4CAAmB,CAAC,IAAI,CAAC,MAAM,CAAC;YACpC,IAAI,oDAAuB,CAAC,IAAI,CAAC,MAAM,CAAC;YACxC,IAAI,sDAAwB,CAAC,IAAI,CAAC,MAAM,CAAC;YACzC,IAAI,oDAAuB,CAAC,IAAI,CAAC,MAAM,CAAC;YACxC,IAAI,uDAAwB,CAAC,IAAI,CAAC,MAAM,CAAC;YACzC,IAAI,2DAA0B,CAAC,IAAI,CAAC,MAAM,CAAC;SAC9C,CAAC;IACN,CAAC;CACJ;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,C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C,IAAI,KAAK,EAAE,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC;QAEvE,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,0DAoBC"}
@@ -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 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,5 @@
1
+ export * from './business.feature.create.tool';
2
+ export * from './business.feature.delete.tool';
3
+ export * from './business.feature.get.tool';
4
+ export * from './business.feature.list.tool';
5
+ export * from './business.feature.update.tool';
@@ -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":";;;;;;;;;;;;;;;;AAAA,gEAA8C;AAAA,+DAA6C;AAAA,mEAAiD;AAAA,iEAA+C;AAAA,+DAA6C;AAAA,iEAA+C;AAAA,6DAA2C;AAAA,2DAAyC;AAAA,2DAAyC;AAAA,0DAAuC"}
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":";;;;;;;;;;;;;;;;AAAA,2DAAyC;AAAA,2DAAyC;AAAA,wDAAsC;AAAA,yDAAuC;AAAA,2DAAwC"}
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