@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
@@ -0,0 +1 @@
1
+ {"version":3,"file":"feature.update.tool.js","sourceRoot":"","sources":["../../../../../src/mcp/admin/tools/feature/feature.update.tool.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAExB,sDAAkD;AAElD,MAAM,WAAW,GAAG;IAChB,EAAE,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,kCAAkC,CAAC;IAC5E,UAAU,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,qEAAqE,CAAC;IAClI,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,8BAA8B,CAAC;IACpE,WAAW,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,gDAAgD,CAAC;IAC7F,UAAU,EAAE,OAAC,CAAC,MAAM,CAAC,OAAC,CAAC,MAAM,EAAE,EAAE,OAAC,CAAC,OAAO,EAAE,CAAC,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,0CAA0C,CAAC;CAChH,CAAC;AAcF,MAAa,iBAAkB,SAAQ,kBAA2B;IAAlE;;QACa,SAAI,GAAG,gBAAgB,CAAC;QACxB,UAAK,GAAG,wBAAwB,CAAC;QACjC,gBAAW,GAAG,+GAA+G,CAAC;QAC9H,gBAAW,GAAG,WAAW,CAAC;IAOvC,CAAC;IALG,OAAO,CAAC,IAAwB;QAC5B,MAAM,EAAE,EAAE,EAAE,GAAG,IAAI,EAAE,GAAG,IAAI,CAAC;QAE7B,OAAO,IAAI,CAAC,GAAG,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,IAAI,EAAE,uBAAuB,EAAE,EAAE,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC;IAC3G,CAAC;CACJ;AAXD,8CAWC"}
@@ -0,0 +1,5 @@
1
+ export * from './feature.create.tool';
2
+ export * from './feature.delete.tool';
3
+ export * from './feature.get.tool';
4
+ export * from './feature.list.tool';
5
+ export * from './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("./feature.create.tool"), exports);
18
+ __exportStar(require("./feature.delete.tool"), exports);
19
+ __exportStar(require("./feature.get.tool"), exports);
20
+ __exportStar(require("./feature.list.tool"), exports);
21
+ __exportStar(require("./feature.update.tool"), exports);
22
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/mcp/admin/tools/feature/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAGA,wDAAsC;AACtC,wDAAsC;AACtC,qDAAmC;AACnC,sDAAoC;AACpC,wDAAsC"}
@@ -0,0 +1,20 @@
1
+ import { z } from 'zod';
2
+ import { McpToolResultInterface } from '../../../interfaces/mcp.tool.result.interface';
3
+ import { McpTool } from '../../../tools/mcp.tool';
4
+ type FeatureMenuCreateInput = {
5
+ feature_id: number;
6
+ menu_id: number;
7
+ attributes?: Record<string, unknown>;
8
+ };
9
+ export declare class FeatureMenuCreateTool extends McpTool<FeatureMenuCreateInput> {
10
+ readonly name = "feature_menu_create";
11
+ readonly title = "Create feature-menu link (admin)";
12
+ readonly description = "Create a feature-menu link record directly in the database (admin/development only). Returns the created row.";
13
+ readonly inputSchema: {
14
+ feature_id: z.ZodNumber;
15
+ menu_id: z.ZodNumber;
16
+ attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
17
+ };
18
+ execute(args: FeatureMenuCreateInput): Promise<McpToolResultInterface>;
19
+ }
20
+ export {};
@@ -0,0 +1,24 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.FeatureMenuCreateTool = void 0;
4
+ const zod_1 = require("zod");
5
+ const mcp_tool_1 = require("../../../tools/mcp.tool");
6
+ const inputSchema = {
7
+ feature_id: zod_1.z.number().int().positive().describe('Feature the menu belongs to (FK utl_feature_menus.feature_id).'),
8
+ menu_id: zod_1.z.number().int().positive().describe('Menu unlocked by the feature (FK utl_menus.id).'),
9
+ attributes: zod_1.z.record(zod_1.z.string(), zod_1.z.unknown()).optional().describe('Arbitrary JSON attributes (json column).'),
10
+ };
11
+ class FeatureMenuCreateTool extends mcp_tool_1.McpTool {
12
+ constructor() {
13
+ super(...arguments);
14
+ this.name = 'feature_menu_create';
15
+ this.title = 'Create feature-menu link (admin)';
16
+ this.description = 'Create a feature-menu link record directly in the database (admin/development only). Returns the created row.';
17
+ this.inputSchema = inputSchema;
18
+ }
19
+ execute(args) {
20
+ return this.run(() => this.client.request({ method: 'POST', path: 'development/feature_menu', body: args }));
21
+ }
22
+ }
23
+ exports.FeatureMenuCreateTool = FeatureMenuCreateTool;
24
+ //# sourceMappingURL=feature.menu.create.tool.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"feature.menu.create.tool.js","sourceRoot":"","sources":["../../../../../src/mcp/admin/tools/feature_menu/feature.menu.create.tool.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAExB,sDAAkD;AAElD,MAAM,WAAW,GAAG;IAChB,UAAU,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,gEAAgE,CAAC;IAClH,OAAO,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,iDAAiD,CAAC;IAChG,UAAU,EAAE,OAAC,CAAC,MAAM,CAAC,OAAC,CAAC,MAAM,EAAE,EAAE,OAAC,CAAC,OAAO,EAAE,CAAC,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,0CAA0C,CAAC;CAChH,CAAC;AAYF,MAAa,qBAAsB,SAAQ,kBAA+B;IAA1E;;QACa,SAAI,GAAG,qBAAqB,CAAC;QAC7B,UAAK,GAAG,kCAAkC,CAAC;QAC3C,gBAAW,GAAG,+GAA+G,CAAC;QAC9H,gBAAW,GAAG,WAAW,CAAC;IAKvC,CAAC;IAHG,OAAO,CAAC,IAA4B;QAChC,OAAO,IAAI,CAAC,GAAG,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC,EAAE,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,0BAA0B,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC;IACjH,CAAC;CACJ;AATD,sDASC"}
@@ -0,0 +1,17 @@
1
+ import { z } from 'zod';
2
+ import { McpToolResultInterface } from '../../../interfaces/mcp.tool.result.interface';
3
+ import { McpTool } from '../../../tools/mcp.tool';
4
+ type FeatureMenuDeleteInput = {
5
+ id: number;
6
+ };
7
+ export declare class FeatureMenuDeleteTool extends McpTool<FeatureMenuDeleteInput> {
8
+ readonly name = "feature_menu_delete";
9
+ readonly title = "Delete feature-menu link (admin)";
10
+ readonly description = "Soft-delete a feature-menu link record by id (sets deleted_at; not a hard delete). Admin/development only.";
11
+ readonly inputSchema: {
12
+ id: z.ZodNumber;
13
+ };
14
+ protected readonly destructive = true;
15
+ execute(args: FeatureMenuDeleteInput): Promise<McpToolResultInterface>;
16
+ }
17
+ export {};
@@ -0,0 +1,23 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.FeatureMenuDeleteTool = void 0;
4
+ const zod_1 = require("zod");
5
+ const mcp_tool_1 = require("../../../tools/mcp.tool");
6
+ const inputSchema = {
7
+ id: zod_1.z.number().int().positive().describe('Id of the feature-menu link row to soft-delete.'),
8
+ };
9
+ class FeatureMenuDeleteTool extends mcp_tool_1.McpTool {
10
+ constructor() {
11
+ super(...arguments);
12
+ this.name = 'feature_menu_delete';
13
+ this.title = 'Delete feature-menu link (admin)';
14
+ this.description = 'Soft-delete a feature-menu link record by id (sets deleted_at; not a hard delete). Admin/development only.';
15
+ this.inputSchema = inputSchema;
16
+ this.destructive = true;
17
+ }
18
+ execute(args) {
19
+ return this.run(() => this.client.request({ method: 'DELETE', path: `development/feature_menu/${args.id}` }));
20
+ }
21
+ }
22
+ exports.FeatureMenuDeleteTool = FeatureMenuDeleteTool;
23
+ //# sourceMappingURL=feature.menu.delete.tool.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"feature.menu.delete.tool.js","sourceRoot":"","sources":["../../../../../src/mcp/admin/tools/feature_menu/feature.menu.delete.tool.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAExB,sDAAkD;AAElD,MAAM,WAAW,GAAG;IAChB,EAAE,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,iDAAiD,CAAC;CAC9F,CAAC;AAQF,MAAa,qBAAsB,SAAQ,kBAA+B;IAA1E;;QACa,SAAI,GAAG,qBAAqB,CAAC;QAC7B,UAAK,GAAG,kCAAkC,CAAC;QAC3C,gBAAW,GAAG,4GAA4G,CAAC;QAC3H,gBAAW,GAAG,WAAW,CAAC;QAChB,gBAAW,GAAG,IAAI,CAAC;IAK1C,CAAC;IAHG,OAAO,CAAC,IAA4B;QAChC,OAAO,IAAI,CAAC,GAAG,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,4BAA4B,IAAI,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC,CAAC;IAClH,CAAC;CACJ;AAVD,sDAUC"}
@@ -0,0 +1,17 @@
1
+ import { z } from 'zod';
2
+ import { McpToolResultInterface } from '../../../interfaces/mcp.tool.result.interface';
3
+ import { McpTool } from '../../../tools/mcp.tool';
4
+ type FeatureMenuGetInput = {
5
+ id: number;
6
+ };
7
+ export declare class FeatureMenuGetTool extends McpTool<FeatureMenuGetInput> {
8
+ readonly name = "feature_menu_get";
9
+ readonly title = "Get feature-menu link (admin)";
10
+ readonly description = "Fetch a single feature-menu link record by id directly from the database (admin/development only).";
11
+ readonly inputSchema: {
12
+ id: z.ZodNumber;
13
+ };
14
+ protected readonly readOnly = true;
15
+ execute(args: FeatureMenuGetInput): Promise<McpToolResultInterface>;
16
+ }
17
+ export {};
@@ -0,0 +1,23 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.FeatureMenuGetTool = void 0;
4
+ const zod_1 = require("zod");
5
+ const mcp_tool_1 = require("../../../tools/mcp.tool");
6
+ const inputSchema = {
7
+ id: zod_1.z.number().int().positive().describe('Id of the feature-menu link row to fetch.'),
8
+ };
9
+ class FeatureMenuGetTool extends mcp_tool_1.McpTool {
10
+ constructor() {
11
+ super(...arguments);
12
+ this.name = 'feature_menu_get';
13
+ this.title = 'Get feature-menu link (admin)';
14
+ this.description = 'Fetch a single feature-menu link record by id directly from the database (admin/development only).';
15
+ this.inputSchema = inputSchema;
16
+ this.readOnly = true;
17
+ }
18
+ execute(args) {
19
+ return this.run(() => this.client.request({ method: 'GET', path: `development/feature_menu/${args.id}` }));
20
+ }
21
+ }
22
+ exports.FeatureMenuGetTool = FeatureMenuGetTool;
23
+ //# sourceMappingURL=feature.menu.get.tool.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"feature.menu.get.tool.js","sourceRoot":"","sources":["../../../../../src/mcp/admin/tools/feature_menu/feature.menu.get.tool.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAExB,sDAAkD;AAElD,MAAM,WAAW,GAAG;IAChB,EAAE,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,2CAA2C,CAAC;CACxF,CAAC;AAOF,MAAa,kBAAmB,SAAQ,kBAA4B;IAApE;;QACa,SAAI,GAAG,kBAAkB,CAAC;QAC1B,UAAK,GAAG,+BAA+B,CAAC;QACxC,gBAAW,GAAG,oGAAoG,CAAC;QACnH,gBAAW,GAAG,WAAW,CAAC;QAChB,aAAQ,GAAG,IAAI,CAAC;IAKvC,CAAC;IAHG,OAAO,CAAC,IAAyB;QAC7B,OAAO,IAAI,CAAC,GAAG,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,IAAI,EAAE,4BAA4B,IAAI,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC,CAAC;IAC/G,CAAC;CACJ;AAVD,gDAUC"}
@@ -0,0 +1,23 @@
1
+ import { z } from 'zod';
2
+ import { McpToolResultInterface } from '../../../interfaces/mcp.tool.result.interface';
3
+ import { McpTool } from '../../../tools/mcp.tool';
4
+ type FeatureMenuListInput = {
5
+ limit?: number;
6
+ offset?: number;
7
+ order?: string;
8
+ filter?: Record<string, unknown>;
9
+ };
10
+ export declare class FeatureMenuListTool extends McpTool<FeatureMenuListInput> {
11
+ readonly name = "feature_menu_list";
12
+ readonly title = "List feature-menu links (admin)";
13
+ readonly description = "List feature-menu link records directly from the database with paging, ordering, and column-equality filters (admin/development only).";
14
+ readonly inputSchema: {
15
+ limit: z.ZodOptional<z.ZodNumber>;
16
+ offset: z.ZodOptional<z.ZodNumber>;
17
+ order: z.ZodOptional<z.ZodString>;
18
+ filter: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
19
+ };
20
+ protected readonly readOnly = true;
21
+ execute(args: FeatureMenuListInput): Promise<McpToolResultInterface>;
22
+ }
23
+ export {};
@@ -0,0 +1,37 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.FeatureMenuListTool = void 0;
4
+ const zod_1 = require("zod");
5
+ const mcp_tool_1 = require("../../../tools/mcp.tool");
6
+ const inputSchema = {
7
+ limit: zod_1.z.number().int().min(0).optional().describe('Max rows to return (default 50).'),
8
+ offset: zod_1.z.number().int().min(0).optional().describe('Rows to skip (default 0).'),
9
+ order: zod_1.z.string().optional().describe('Order as "column" or "column:asc|desc", e.g. "id:desc".'),
10
+ filter: zod_1.z.record(zod_1.z.string(), zod_1.z.unknown()).optional().describe('Column equality filters, e.g. { "feature_id": 4 }. Non-column keys are ignored.'),
11
+ };
12
+ class FeatureMenuListTool extends mcp_tool_1.McpTool {
13
+ constructor() {
14
+ super(...arguments);
15
+ this.name = 'feature_menu_list';
16
+ this.title = 'List feature-menu links (admin)';
17
+ this.description = 'List feature-menu link records directly from the database with paging, ordering, and column-equality filters (admin/development only).';
18
+ this.inputSchema = inputSchema;
19
+ this.readOnly = true;
20
+ }
21
+ execute(args) {
22
+ const params = new URLSearchParams();
23
+ if (args.limit !== undefined)
24
+ params.set('limit', String(args.limit));
25
+ if (args.offset !== undefined)
26
+ params.set('offset', String(args.offset));
27
+ if (args.order)
28
+ params.set('order', args.order);
29
+ if (args.filter)
30
+ params.set('filter', JSON.stringify(args.filter));
31
+ const query = params.toString();
32
+ const path = `development/feature_menu${query ? `?${query}` : ''}`;
33
+ return this.run(() => this.client.request({ method: 'GET', path }));
34
+ }
35
+ }
36
+ exports.FeatureMenuListTool = FeatureMenuListTool;
37
+ //# sourceMappingURL=feature.menu.list.tool.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"feature.menu.list.tool.js","sourceRoot":"","sources":["../../../../../src/mcp/admin/tools/feature_menu/feature.menu.list.tool.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAExB,sDAAkD;AAElD,MAAM,WAAW,GAAG;IAChB,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,kCAAkC,CAAC;IACtF,MAAM,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,2BAA2B,CAAC;IAChF,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,yDAAyD,CAAC;IAChG,MAAM,EAAE,OAAC,CAAC,MAAM,CAAC,OAAC,CAAC,MAAM,EAAE,EAAE,OAAC,CAAC,OAAO,EAAE,CAAC,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,iFAAiF,CAAC;CACnJ,CAAC;AAaF,MAAa,mBAAoB,SAAQ,kBAA6B;IAAtE;;QACa,SAAI,GAAG,mBAAmB,CAAC;QAC3B,UAAK,GAAG,iCAAiC,CAAC;QAC1C,gBAAW,GAChB,wIAAwI,CAAC;QACpI,gBAAW,GAAG,WAAW,CAAC;QAChB,aAAQ,GAAG,IAAI,CAAC;IAcvC,CAAC;IAZG,OAAO,CAAC,IAA0B;QAC9B,MAAM,MAAM,GAAG,IAAI,eAAe,EAAE,CAAC;QACrC,IAAI,IAAI,CAAC,KAAK,KAAK,SAAS;YAAE,MAAM,CAAC,GAAG,CAAC,OAAO,EAAE,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC;QACtE,IAAI,IAAI,CAAC,MAAM,KAAK,SAAS;YAAE,MAAM,CAAC,GAAG,CAAC,QAAQ,EAAE,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC;QACzE,IAAI,IAAI,CAAC,KAAK;YAAE,MAAM,CAAC,GAAG,CAAC,OAAO,EAAE,IAAI,CAAC,KAAK,CAAC,CAAC;QAChD,IAAI,IAAI,CAAC,MAAM;YAAE,MAAM,CAAC,GAAG,CAAC,QAAQ,EAAE,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC;QAEnE,MAAM,KAAK,GAAG,MAAM,CAAC,QAAQ,EAAE,CAAC;QAChC,MAAM,IAAI,GAAG,2BAA2B,KAAK,CAAC,CAAC,CAAC,IAAI,KAAK,EAAE,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC;QAEnE,OAAO,IAAI,CAAC,GAAG,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC;IACxE,CAAC;CACJ;AApBD,kDAoBC"}
@@ -0,0 +1,22 @@
1
+ import { z } from 'zod';
2
+ import { McpToolResultInterface } from '../../../interfaces/mcp.tool.result.interface';
3
+ import { McpTool } from '../../../tools/mcp.tool';
4
+ type FeatureMenuUpdateInput = {
5
+ id: number;
6
+ feature_id?: number;
7
+ menu_id?: number;
8
+ attributes?: Record<string, unknown>;
9
+ };
10
+ export declare class FeatureMenuUpdateTool extends McpTool<FeatureMenuUpdateInput> {
11
+ readonly name = "feature_menu_update";
12
+ readonly title = "Update feature-menu link (admin)";
13
+ readonly description = "Update fields of a feature-menu link record directly in the database (admin/development only). Returns the updated row.";
14
+ readonly inputSchema: {
15
+ id: z.ZodNumber;
16
+ feature_id: z.ZodOptional<z.ZodNumber>;
17
+ menu_id: z.ZodOptional<z.ZodNumber>;
18
+ attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
19
+ };
20
+ execute(args: FeatureMenuUpdateInput): Promise<McpToolResultInterface>;
21
+ }
22
+ export {};
@@ -0,0 +1,26 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.FeatureMenuUpdateTool = void 0;
4
+ const zod_1 = require("zod");
5
+ const mcp_tool_1 = require("../../../tools/mcp.tool");
6
+ const inputSchema = {
7
+ id: zod_1.z.number().int().positive().describe('Id of the feature-menu link row to update.'),
8
+ feature_id: zod_1.z.number().int().positive().optional().describe('Feature the menu belongs to (FK utl_feature_menus.feature_id).'),
9
+ menu_id: zod_1.z.number().int().positive().optional().describe('Menu unlocked by the feature (FK utl_menus.id).'),
10
+ attributes: zod_1.z.record(zod_1.z.string(), zod_1.z.unknown()).optional().describe('Arbitrary JSON attributes (json column).'),
11
+ };
12
+ class FeatureMenuUpdateTool extends mcp_tool_1.McpTool {
13
+ constructor() {
14
+ super(...arguments);
15
+ this.name = 'feature_menu_update';
16
+ this.title = 'Update feature-menu link (admin)';
17
+ this.description = 'Update fields of a feature-menu link record directly in the database (admin/development only). Returns the updated row.';
18
+ this.inputSchema = inputSchema;
19
+ }
20
+ execute(args) {
21
+ const { id, ...body } = args;
22
+ return this.run(() => this.client.request({ method: 'PUT', path: `development/feature_menu/${id}`, body }));
23
+ }
24
+ }
25
+ exports.FeatureMenuUpdateTool = FeatureMenuUpdateTool;
26
+ //# sourceMappingURL=feature.menu.update.tool.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"feature.menu.update.tool.js","sourceRoot":"","sources":["../../../../../src/mcp/admin/tools/feature_menu/feature.menu.update.tool.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAExB,sDAAkD;AAElD,MAAM,WAAW,GAAG;IAChB,EAAE,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,4CAA4C,CAAC;IACtF,UAAU,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,gEAAgE,CAAC;IAC7H,OAAO,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,iDAAiD,CAAC;IAC3G,UAAU,EAAE,OAAC,CAAC,MAAM,CAAC,OAAC,CAAC,MAAM,EAAE,EAAE,OAAC,CAAC,OAAO,EAAE,CAAC,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,0CAA0C,CAAC;CAChH,CAAC;AAaF,MAAa,qBAAsB,SAAQ,kBAA+B;IAA1E;;QACa,SAAI,GAAG,qBAAqB,CAAC;QAC7B,UAAK,GAAG,kCAAkC,CAAC;QAC3C,gBAAW,GAAG,yHAAyH,CAAC;QACxI,gBAAW,GAAG,WAAW,CAAC;IAOvC,CAAC;IALG,OAAO,CAAC,IAA4B;QAChC,MAAM,EAAE,EAAE,EAAE,GAAG,IAAI,EAAE,GAAG,IAAI,CAAC;QAE7B,OAAO,IAAI,CAAC,GAAG,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,IAAI,EAAE,4BAA4B,EAAE,EAAE,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC;IAChH,CAAC;CACJ;AAXD,sDAWC"}
@@ -0,0 +1,5 @@
1
+ export * from './feature.menu.create.tool';
2
+ export * from './feature.menu.delete.tool';
3
+ export * from './feature.menu.get.tool';
4
+ export * from './feature.menu.list.tool';
5
+ export * from './feature.menu.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("./feature.menu.create.tool"), exports);
18
+ __exportStar(require("./feature.menu.delete.tool"), exports);
19
+ __exportStar(require("./feature.menu.get.tool"), exports);
20
+ __exportStar(require("./feature.menu.list.tool"), exports);
21
+ __exportStar(require("./feature.menu.update.tool"), exports);
22
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/mcp/admin/tools/feature_menu/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAGA,6DAA2C;AAC3C,6DAA2C;AAC3C,0DAAwC;AACxC,2DAAyC;AACzC,6DAA2C"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/mcp/admin/tools/form_script/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4DAA0C;AAAA,4DAA0C;AAAA,yDAAuC;AAAA,0DAAwC;AAAA,4DAAyC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/mcp/admin/tools/form_script/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAGA,4DAA0C;AAC1C,4DAA0C;AAC1C,yDAAuC;AACvC,0DAAwC;AACxC,4DAA0C"}
@@ -0,0 +1,20 @@
1
+ import { z } from 'zod';
2
+ import { McpToolResultInterface } from '../../../interfaces/mcp.tool.result.interface';
3
+ import { McpTool } from '../../../tools/mcp.tool';
4
+ type GroupRoleCreateInput = {
5
+ group_id: number;
6
+ role_id: number;
7
+ attributes?: Record<string, unknown>;
8
+ };
9
+ export declare class GroupRoleCreateTool extends McpTool<GroupRoleCreateInput> {
10
+ readonly name = "group_role_create";
11
+ readonly title = "Create group-role grant (admin)";
12
+ readonly description = "Create a group-role grant record directly in the database (admin/development only). Returns the created row.";
13
+ readonly inputSchema: {
14
+ group_id: z.ZodNumber;
15
+ role_id: z.ZodNumber;
16
+ attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
17
+ };
18
+ execute(args: GroupRoleCreateInput): Promise<McpToolResultInterface>;
19
+ }
20
+ export {};
@@ -0,0 +1,24 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GroupRoleCreateTool = void 0;
4
+ const zod_1 = require("zod");
5
+ const mcp_tool_1 = require("../../../tools/mcp.tool");
6
+ const inputSchema = {
7
+ group_id: zod_1.z.number().int().positive().describe('Role group this grant belongs to (FK utl_group_roles.group_id).'),
8
+ role_id: zod_1.z.number().int().positive().describe('Role granted to the group (FK sys_roles.id).'),
9
+ attributes: zod_1.z.record(zod_1.z.string(), zod_1.z.unknown()).optional().describe('Arbitrary JSON attributes (json column).'),
10
+ };
11
+ class GroupRoleCreateTool extends mcp_tool_1.McpTool {
12
+ constructor() {
13
+ super(...arguments);
14
+ this.name = 'group_role_create';
15
+ this.title = 'Create group-role grant (admin)';
16
+ this.description = 'Create a group-role grant record directly in the database (admin/development only). Returns the created row.';
17
+ this.inputSchema = inputSchema;
18
+ }
19
+ execute(args) {
20
+ return this.run(() => this.client.request({ method: 'POST', path: 'development/group_role', body: args }));
21
+ }
22
+ }
23
+ exports.GroupRoleCreateTool = GroupRoleCreateTool;
24
+ //# sourceMappingURL=group.role.create.tool.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"group.role.create.tool.js","sourceRoot":"","sources":["../../../../../src/mcp/admin/tools/group_role/group.role.create.tool.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAExB,sDAAkD;AAElD,MAAM,WAAW,GAAG;IAChB,QAAQ,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,iEAAiE,CAAC;IACjH,OAAO,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,8CAA8C,CAAC;IAC7F,UAAU,EAAE,OAAC,CAAC,MAAM,CAAC,OAAC,CAAC,MAAM,EAAE,EAAE,OAAC,CAAC,OAAO,EAAE,CAAC,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,0CAA0C,CAAC;CAChH,CAAC;AAYF,MAAa,mBAAoB,SAAQ,kBAA6B;IAAtE;;QACa,SAAI,GAAG,mBAAmB,CAAC;QAC3B,UAAK,GAAG,iCAAiC,CAAC;QAC1C,gBAAW,GAAG,8GAA8G,CAAC;QAC7H,gBAAW,GAAG,WAAW,CAAC;IAKvC,CAAC;IAHG,OAAO,CAAC,IAA0B;QAC9B,OAAO,IAAI,CAAC,GAAG,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC,EAAE,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,wBAAwB,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC;IAC/G,CAAC;CACJ;AATD,kDASC"}
@@ -0,0 +1,17 @@
1
+ import { z } from 'zod';
2
+ import { McpToolResultInterface } from '../../../interfaces/mcp.tool.result.interface';
3
+ import { McpTool } from '../../../tools/mcp.tool';
4
+ type GroupRoleDeleteInput = {
5
+ id: number;
6
+ };
7
+ export declare class GroupRoleDeleteTool extends McpTool<GroupRoleDeleteInput> {
8
+ readonly name = "group_role_delete";
9
+ readonly title = "Delete group-role grant (admin)";
10
+ readonly description = "Soft-delete a group-role grant record by id (sets deleted_at; not a hard delete). Admin/development only.";
11
+ readonly inputSchema: {
12
+ id: z.ZodNumber;
13
+ };
14
+ protected readonly destructive = true;
15
+ execute(args: GroupRoleDeleteInput): Promise<McpToolResultInterface>;
16
+ }
17
+ export {};
@@ -0,0 +1,23 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GroupRoleDeleteTool = void 0;
4
+ const zod_1 = require("zod");
5
+ const mcp_tool_1 = require("../../../tools/mcp.tool");
6
+ const inputSchema = {
7
+ id: zod_1.z.number().int().positive().describe('Id of the group-role grant row to soft-delete.'),
8
+ };
9
+ class GroupRoleDeleteTool extends mcp_tool_1.McpTool {
10
+ constructor() {
11
+ super(...arguments);
12
+ this.name = 'group_role_delete';
13
+ this.title = 'Delete group-role grant (admin)';
14
+ this.description = 'Soft-delete a group-role grant record by id (sets deleted_at; not a hard delete). Admin/development only.';
15
+ this.inputSchema = inputSchema;
16
+ this.destructive = true;
17
+ }
18
+ execute(args) {
19
+ return this.run(() => this.client.request({ method: 'DELETE', path: `development/group_role/${args.id}` }));
20
+ }
21
+ }
22
+ exports.GroupRoleDeleteTool = GroupRoleDeleteTool;
23
+ //# sourceMappingURL=group.role.delete.tool.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"group.role.delete.tool.js","sourceRoot":"","sources":["../../../../../src/mcp/admin/tools/group_role/group.role.delete.tool.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAExB,sDAAkD;AAElD,MAAM,WAAW,GAAG;IAChB,EAAE,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,gDAAgD,CAAC;CAC7F,CAAC;AAQF,MAAa,mBAAoB,SAAQ,kBAA6B;IAAtE;;QACa,SAAI,GAAG,mBAAmB,CAAC;QAC3B,UAAK,GAAG,iCAAiC,CAAC;QAC1C,gBAAW,GAAG,2GAA2G,CAAC;QAC1H,gBAAW,GAAG,WAAW,CAAC;QAChB,gBAAW,GAAG,IAAI,CAAC;IAK1C,CAAC;IAHG,OAAO,CAAC,IAA0B;QAC9B,OAAO,IAAI,CAAC,GAAG,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,0BAA0B,IAAI,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC,CAAC;IAChH,CAAC;CACJ;AAVD,kDAUC"}
@@ -0,0 +1,17 @@
1
+ import { z } from 'zod';
2
+ import { McpToolResultInterface } from '../../../interfaces/mcp.tool.result.interface';
3
+ import { McpTool } from '../../../tools/mcp.tool';
4
+ type GroupRoleGetInput = {
5
+ id: number;
6
+ };
7
+ export declare class GroupRoleGetTool extends McpTool<GroupRoleGetInput> {
8
+ readonly name = "group_role_get";
9
+ readonly title = "Get group-role grant (admin)";
10
+ readonly description = "Fetch a single group-role grant record by id directly from the database (admin/development only).";
11
+ readonly inputSchema: {
12
+ id: z.ZodNumber;
13
+ };
14
+ protected readonly readOnly = true;
15
+ execute(args: GroupRoleGetInput): Promise<McpToolResultInterface>;
16
+ }
17
+ export {};
@@ -0,0 +1,23 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GroupRoleGetTool = void 0;
4
+ const zod_1 = require("zod");
5
+ const mcp_tool_1 = require("../../../tools/mcp.tool");
6
+ const inputSchema = {
7
+ id: zod_1.z.number().int().positive().describe('Id of the group-role grant row to fetch.'),
8
+ };
9
+ class GroupRoleGetTool extends mcp_tool_1.McpTool {
10
+ constructor() {
11
+ super(...arguments);
12
+ this.name = 'group_role_get';
13
+ this.title = 'Get group-role grant (admin)';
14
+ this.description = 'Fetch a single group-role grant record by id directly from the database (admin/development only).';
15
+ this.inputSchema = inputSchema;
16
+ this.readOnly = true;
17
+ }
18
+ execute(args) {
19
+ return this.run(() => this.client.request({ method: 'GET', path: `development/group_role/${args.id}` }));
20
+ }
21
+ }
22
+ exports.GroupRoleGetTool = GroupRoleGetTool;
23
+ //# sourceMappingURL=group.role.get.tool.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"group.role.get.tool.js","sourceRoot":"","sources":["../../../../../src/mcp/admin/tools/group_role/group.role.get.tool.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAExB,sDAAkD;AAElD,MAAM,WAAW,GAAG;IAChB,EAAE,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,0CAA0C,CAAC;CACvF,CAAC;AAOF,MAAa,gBAAiB,SAAQ,kBAA0B;IAAhE;;QACa,SAAI,GAAG,gBAAgB,CAAC;QACxB,UAAK,GAAG,8BAA8B,CAAC;QACvC,gBAAW,GAAG,mGAAmG,CAAC;QAClH,gBAAW,GAAG,WAAW,CAAC;QAChB,aAAQ,GAAG,IAAI,CAAC;IAKvC,CAAC;IAHG,OAAO,CAAC,IAAuB;QAC3B,OAAO,IAAI,CAAC,GAAG,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,IAAI,EAAE,0BAA0B,IAAI,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC,CAAC;IAC7G,CAAC;CACJ;AAVD,4CAUC"}
@@ -0,0 +1,23 @@
1
+ import { z } from 'zod';
2
+ import { McpToolResultInterface } from '../../../interfaces/mcp.tool.result.interface';
3
+ import { McpTool } from '../../../tools/mcp.tool';
4
+ type GroupRoleListInput = {
5
+ limit?: number;
6
+ offset?: number;
7
+ order?: string;
8
+ filter?: Record<string, unknown>;
9
+ };
10
+ export declare class GroupRoleListTool extends McpTool<GroupRoleListInput> {
11
+ readonly name = "group_role_list";
12
+ readonly title = "List group-role grants (admin)";
13
+ readonly description = "List group-role grant records directly from the database with paging, ordering, and column-equality filters (admin/development only).";
14
+ readonly inputSchema: {
15
+ limit: z.ZodOptional<z.ZodNumber>;
16
+ offset: z.ZodOptional<z.ZodNumber>;
17
+ order: z.ZodOptional<z.ZodString>;
18
+ filter: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
19
+ };
20
+ protected readonly readOnly = true;
21
+ execute(args: GroupRoleListInput): Promise<McpToolResultInterface>;
22
+ }
23
+ export {};
@@ -0,0 +1,37 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GroupRoleListTool = void 0;
4
+ const zod_1 = require("zod");
5
+ const mcp_tool_1 = require("../../../tools/mcp.tool");
6
+ const inputSchema = {
7
+ limit: zod_1.z.number().int().min(0).optional().describe('Max rows to return (default 50).'),
8
+ offset: zod_1.z.number().int().min(0).optional().describe('Rows to skip (default 0).'),
9
+ order: zod_1.z.string().optional().describe('Order as "column" or "column:asc|desc", e.g. "id:desc".'),
10
+ filter: zod_1.z.record(zod_1.z.string(), zod_1.z.unknown()).optional().describe('Column equality filters, e.g. { "group_id": 4 }. Non-column keys are ignored.'),
11
+ };
12
+ class GroupRoleListTool extends mcp_tool_1.McpTool {
13
+ constructor() {
14
+ super(...arguments);
15
+ this.name = 'group_role_list';
16
+ this.title = 'List group-role grants (admin)';
17
+ this.description = 'List group-role grant records directly from the database with paging, ordering, and column-equality filters (admin/development only).';
18
+ this.inputSchema = inputSchema;
19
+ this.readOnly = true;
20
+ }
21
+ execute(args) {
22
+ const params = new URLSearchParams();
23
+ if (args.limit !== undefined)
24
+ params.set('limit', String(args.limit));
25
+ if (args.offset !== undefined)
26
+ params.set('offset', String(args.offset));
27
+ if (args.order)
28
+ params.set('order', args.order);
29
+ if (args.filter)
30
+ params.set('filter', JSON.stringify(args.filter));
31
+ const query = params.toString();
32
+ const path = `development/group_role${query ? `?${query}` : ''}`;
33
+ return this.run(() => this.client.request({ method: 'GET', path }));
34
+ }
35
+ }
36
+ exports.GroupRoleListTool = GroupRoleListTool;
37
+ //# sourceMappingURL=group.role.list.tool.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"group.role.list.tool.js","sourceRoot":"","sources":["../../../../../src/mcp/admin/tools/group_role/group.role.list.tool.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAExB,sDAAkD;AAElD,MAAM,WAAW,GAAG;IAChB,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,kCAAkC,CAAC;IACtF,MAAM,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,2BAA2B,CAAC;IAChF,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,yDAAyD,CAAC;IAChG,MAAM,EAAE,OAAC,CAAC,MAAM,CAAC,OAAC,CAAC,MAAM,EAAE,EAAE,OAAC,CAAC,OAAO,EAAE,CAAC,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,+EAA+E,CAAC;CACjJ,CAAC;AAaF,MAAa,iBAAkB,SAAQ,kBAA2B;IAAlE;;QACa,SAAI,GAAG,iBAAiB,CAAC;QACzB,UAAK,GAAG,gCAAgC,CAAC;QACzC,gBAAW,GAChB,uIAAuI,CAAC;QACnI,gBAAW,GAAG,WAAW,CAAC;QAChB,aAAQ,GAAG,IAAI,CAAC;IAcvC,CAAC;IAZG,OAAO,CAAC,IAAwB;QAC5B,MAAM,MAAM,GAAG,IAAI,eAAe,EAAE,CAAC;QACrC,IAAI,IAAI,CAAC,KAAK,KAAK,SAAS;YAAE,MAAM,CAAC,GAAG,CAAC,OAAO,EAAE,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC;QACtE,IAAI,IAAI,CAAC,MAAM,KAAK,SAAS;YAAE,MAAM,CAAC,GAAG,CAAC,QAAQ,EAAE,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC;QACzE,IAAI,IAAI,CAAC,KAAK;YAAE,MAAM,CAAC,GAAG,CAAC,OAAO,EAAE,IAAI,CAAC,KAAK,CAAC,CAAC;QAChD,IAAI,IAAI,CAAC,MAAM;YAAE,MAAM,CAAC,GAAG,CAAC,QAAQ,EAAE,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC;QAEnE,MAAM,KAAK,GAAG,MAAM,CAAC,QAAQ,EAAE,CAAC;QAChC,MAAM,IAAI,GAAG,yBAAyB,KAAK,CAAC,CAAC,CAAC,IAAI,KAAK,EAAE,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC;QAEjE,OAAO,IAAI,CAAC,GAAG,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC;IACxE,CAAC;CACJ;AApBD,8CAoBC"}
@@ -0,0 +1,22 @@
1
+ import { z } from 'zod';
2
+ import { McpToolResultInterface } from '../../../interfaces/mcp.tool.result.interface';
3
+ import { McpTool } from '../../../tools/mcp.tool';
4
+ type GroupRoleUpdateInput = {
5
+ id: number;
6
+ group_id?: number;
7
+ role_id?: number;
8
+ attributes?: Record<string, unknown>;
9
+ };
10
+ export declare class GroupRoleUpdateTool extends McpTool<GroupRoleUpdateInput> {
11
+ readonly name = "group_role_update";
12
+ readonly title = "Update group-role grant (admin)";
13
+ readonly description = "Update fields of a group-role grant record directly in the database (admin/development only). Returns the updated row.";
14
+ readonly inputSchema: {
15
+ id: z.ZodNumber;
16
+ group_id: z.ZodOptional<z.ZodNumber>;
17
+ role_id: z.ZodOptional<z.ZodNumber>;
18
+ attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
19
+ };
20
+ execute(args: GroupRoleUpdateInput): Promise<McpToolResultInterface>;
21
+ }
22
+ export {};
@@ -0,0 +1,26 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GroupRoleUpdateTool = void 0;
4
+ const zod_1 = require("zod");
5
+ const mcp_tool_1 = require("../../../tools/mcp.tool");
6
+ const inputSchema = {
7
+ id: zod_1.z.number().int().positive().describe('Id of the group-role grant row to update.'),
8
+ group_id: zod_1.z.number().int().positive().optional().describe('Role group this grant belongs to (FK utl_group_roles.group_id).'),
9
+ role_id: zod_1.z.number().int().positive().optional().describe('Role granted to the group (FK sys_roles.id).'),
10
+ attributes: zod_1.z.record(zod_1.z.string(), zod_1.z.unknown()).optional().describe('Arbitrary JSON attributes (json column).'),
11
+ };
12
+ class GroupRoleUpdateTool extends mcp_tool_1.McpTool {
13
+ constructor() {
14
+ super(...arguments);
15
+ this.name = 'group_role_update';
16
+ this.title = 'Update group-role grant (admin)';
17
+ this.description = 'Update fields of a group-role grant record directly in the database (admin/development only). Returns the updated row.';
18
+ this.inputSchema = inputSchema;
19
+ }
20
+ execute(args) {
21
+ const { id, ...body } = args;
22
+ return this.run(() => this.client.request({ method: 'PUT', path: `development/group_role/${id}`, body }));
23
+ }
24
+ }
25
+ exports.GroupRoleUpdateTool = GroupRoleUpdateTool;
26
+ //# sourceMappingURL=group.role.update.tool.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"group.role.update.tool.js","sourceRoot":"","sources":["../../../../../src/mcp/admin/tools/group_role/group.role.update.tool.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAExB,sDAAkD;AAElD,MAAM,WAAW,GAAG;IAChB,EAAE,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,2CAA2C,CAAC;IACrF,QAAQ,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,iEAAiE,CAAC;IAC5H,OAAO,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,8CAA8C,CAAC;IACxG,UAAU,EAAE,OAAC,CAAC,MAAM,CAAC,OAAC,CAAC,MAAM,EAAE,EAAE,OAAC,CAAC,OAAO,EAAE,CAAC,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,0CAA0C,CAAC;CAChH,CAAC;AAaF,MAAa,mBAAoB,SAAQ,kBAA6B;IAAtE;;QACa,SAAI,GAAG,mBAAmB,CAAC;QAC3B,UAAK,GAAG,iCAAiC,CAAC;QAC1C,gBAAW,GAAG,wHAAwH,CAAC;QACvI,gBAAW,GAAG,WAAW,CAAC;IAOvC,CAAC;IALG,OAAO,CAAC,IAA0B;QAC9B,MAAM,EAAE,EAAE,EAAE,GAAG,IAAI,EAAE,GAAG,IAAI,CAAC;QAE7B,OAAO,IAAI,CAAC,GAAG,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,IAAI,EAAE,0BAA0B,EAAE,EAAE,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC;IAC9G,CAAC;CACJ;AAXD,kDAWC"}