@keystrokehq/simplekpi 0.1.0

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 (442) hide show
  1. package/README.md +17 -0
  2. package/dist/action.cjs +21 -0
  3. package/dist/action.cjs.map +1 -0
  4. package/dist/action.mjs +21 -0
  5. package/dist/action.mjs.map +1 -0
  6. package/dist/actions/add-user-group-item.cjs +26 -0
  7. package/dist/actions/add-user-group-item.cjs.map +1 -0
  8. package/dist/actions/add-user-group-item.d.cts +9 -0
  9. package/dist/actions/add-user-group-item.d.cts.map +1 -0
  10. package/dist/actions/add-user-group-item.d.mts +9 -0
  11. package/dist/actions/add-user-group-item.d.mts.map +1 -0
  12. package/dist/actions/add-user-group-item.mjs +23 -0
  13. package/dist/actions/add-user-group-item.mjs.map +1 -0
  14. package/dist/actions/add-user-kpi.cjs +28 -0
  15. package/dist/actions/add-user-kpi.cjs.map +1 -0
  16. package/dist/actions/add-user-kpi.d.cts +9 -0
  17. package/dist/actions/add-user-kpi.d.cts.map +1 -0
  18. package/dist/actions/add-user-kpi.d.mts +9 -0
  19. package/dist/actions/add-user-kpi.d.mts.map +1 -0
  20. package/dist/actions/add-user-kpi.mjs +25 -0
  21. package/dist/actions/add-user-kpi.mjs.map +1 -0
  22. package/dist/actions/create-category-kpi.cjs +41 -0
  23. package/dist/actions/create-category-kpi.cjs.map +1 -0
  24. package/dist/actions/create-category-kpi.d.cts +9 -0
  25. package/dist/actions/create-category-kpi.d.cts.map +1 -0
  26. package/dist/actions/create-category-kpi.d.mts +9 -0
  27. package/dist/actions/create-category-kpi.d.mts.map +1 -0
  28. package/dist/actions/create-category-kpi.mjs +38 -0
  29. package/dist/actions/create-category-kpi.mjs.map +1 -0
  30. package/dist/actions/create-group-item.cjs +27 -0
  31. package/dist/actions/create-group-item.cjs.map +1 -0
  32. package/dist/actions/create-group-item.d.cts +9 -0
  33. package/dist/actions/create-group-item.d.cts.map +1 -0
  34. package/dist/actions/create-group-item.d.mts +9 -0
  35. package/dist/actions/create-group-item.d.mts.map +1 -0
  36. package/dist/actions/create-group-item.mjs +24 -0
  37. package/dist/actions/create-group-item.mjs.map +1 -0
  38. package/dist/actions/create-group.cjs +25 -0
  39. package/dist/actions/create-group.cjs.map +1 -0
  40. package/dist/actions/create-group.d.cts +9 -0
  41. package/dist/actions/create-group.d.cts.map +1 -0
  42. package/dist/actions/create-group.d.mts +9 -0
  43. package/dist/actions/create-group.d.mts.map +1 -0
  44. package/dist/actions/create-group.mjs +22 -0
  45. package/dist/actions/create-group.mjs.map +1 -0
  46. package/dist/actions/create-kpi-category.cjs +25 -0
  47. package/dist/actions/create-kpi-category.cjs.map +1 -0
  48. package/dist/actions/create-kpi-category.d.cts +9 -0
  49. package/dist/actions/create-kpi-category.d.cts.map +1 -0
  50. package/dist/actions/create-kpi-category.d.mts +9 -0
  51. package/dist/actions/create-kpi-category.d.mts.map +1 -0
  52. package/dist/actions/create-kpi-category.mjs +22 -0
  53. package/dist/actions/create-kpi-category.mjs.map +1 -0
  54. package/dist/actions/create-kpi-unit.cjs +29 -0
  55. package/dist/actions/create-kpi-unit.cjs.map +1 -0
  56. package/dist/actions/create-kpi-unit.d.cts +9 -0
  57. package/dist/actions/create-kpi-unit.d.cts.map +1 -0
  58. package/dist/actions/create-kpi-unit.d.mts +9 -0
  59. package/dist/actions/create-kpi-unit.d.mts.map +1 -0
  60. package/dist/actions/create-kpi-unit.mjs +26 -0
  61. package/dist/actions/create-kpi-unit.mjs.map +1 -0
  62. package/dist/actions/create-kpi.cjs +46 -0
  63. package/dist/actions/create-kpi.cjs.map +1 -0
  64. package/dist/actions/create-kpi.d.cts +9 -0
  65. package/dist/actions/create-kpi.d.cts.map +1 -0
  66. package/dist/actions/create-kpi.d.mts +9 -0
  67. package/dist/actions/create-kpi.d.mts.map +1 -0
  68. package/dist/actions/create-kpi.mjs +43 -0
  69. package/dist/actions/create-kpi.mjs.map +1 -0
  70. package/dist/actions/create-or-update-kpi-entries.cjs +33 -0
  71. package/dist/actions/create-or-update-kpi-entries.cjs.map +1 -0
  72. package/dist/actions/create-or-update-kpi-entries.d.cts +9 -0
  73. package/dist/actions/create-or-update-kpi-entries.d.cts.map +1 -0
  74. package/dist/actions/create-or-update-kpi-entries.d.mts +9 -0
  75. package/dist/actions/create-or-update-kpi-entries.d.mts.map +1 -0
  76. package/dist/actions/create-or-update-kpi-entries.mjs +30 -0
  77. package/dist/actions/create-or-update-kpi-entries.mjs.map +1 -0
  78. package/dist/actions/create-user.cjs +41 -0
  79. package/dist/actions/create-user.cjs.map +1 -0
  80. package/dist/actions/create-user.d.cts +9 -0
  81. package/dist/actions/create-user.d.cts.map +1 -0
  82. package/dist/actions/create-user.d.mts +9 -0
  83. package/dist/actions/create-user.d.mts.map +1 -0
  84. package/dist/actions/create-user.mjs +38 -0
  85. package/dist/actions/create-user.mjs.map +1 -0
  86. package/dist/actions/delete-category-kpi.cjs +19 -0
  87. package/dist/actions/delete-category-kpi.cjs.map +1 -0
  88. package/dist/actions/delete-category-kpi.d.cts +9 -0
  89. package/dist/actions/delete-category-kpi.d.cts.map +1 -0
  90. package/dist/actions/delete-category-kpi.d.mts +9 -0
  91. package/dist/actions/delete-category-kpi.d.mts.map +1 -0
  92. package/dist/actions/delete-category-kpi.mjs +16 -0
  93. package/dist/actions/delete-category-kpi.mjs.map +1 -0
  94. package/dist/actions/delete-group-item.cjs +22 -0
  95. package/dist/actions/delete-group-item.cjs.map +1 -0
  96. package/dist/actions/delete-group-item.d.cts +9 -0
  97. package/dist/actions/delete-group-item.d.cts.map +1 -0
  98. package/dist/actions/delete-group-item.d.mts +9 -0
  99. package/dist/actions/delete-group-item.d.mts.map +1 -0
  100. package/dist/actions/delete-group-item.mjs +19 -0
  101. package/dist/actions/delete-group-item.mjs.map +1 -0
  102. package/dist/actions/delete-group.cjs +19 -0
  103. package/dist/actions/delete-group.cjs.map +1 -0
  104. package/dist/actions/delete-group.d.cts +9 -0
  105. package/dist/actions/delete-group.d.cts.map +1 -0
  106. package/dist/actions/delete-group.d.mts +9 -0
  107. package/dist/actions/delete-group.d.mts.map +1 -0
  108. package/dist/actions/delete-group.mjs +16 -0
  109. package/dist/actions/delete-group.mjs.map +1 -0
  110. package/dist/actions/delete-kpi-category.cjs +20 -0
  111. package/dist/actions/delete-kpi-category.cjs.map +1 -0
  112. package/dist/actions/delete-kpi-category.d.cts +9 -0
  113. package/dist/actions/delete-kpi-category.d.cts.map +1 -0
  114. package/dist/actions/delete-kpi-category.d.mts +9 -0
  115. package/dist/actions/delete-kpi-category.d.mts.map +1 -0
  116. package/dist/actions/delete-kpi-category.mjs +17 -0
  117. package/dist/actions/delete-kpi-category.mjs.map +1 -0
  118. package/dist/actions/delete-kpi-entry.cjs +16 -0
  119. package/dist/actions/delete-kpi-entry.cjs.map +1 -0
  120. package/dist/actions/delete-kpi-entry.d.cts +9 -0
  121. package/dist/actions/delete-kpi-entry.d.cts.map +1 -0
  122. package/dist/actions/delete-kpi-entry.d.mts +9 -0
  123. package/dist/actions/delete-kpi-entry.d.mts.map +1 -0
  124. package/dist/actions/delete-kpi-entry.mjs +13 -0
  125. package/dist/actions/delete-kpi-entry.mjs.map +1 -0
  126. package/dist/actions/delete-kpi-unit.cjs +20 -0
  127. package/dist/actions/delete-kpi-unit.cjs.map +1 -0
  128. package/dist/actions/delete-kpi-unit.d.cts +9 -0
  129. package/dist/actions/delete-kpi-unit.d.cts.map +1 -0
  130. package/dist/actions/delete-kpi-unit.d.mts +9 -0
  131. package/dist/actions/delete-kpi-unit.d.mts.map +1 -0
  132. package/dist/actions/delete-kpi-unit.mjs +17 -0
  133. package/dist/actions/delete-kpi-unit.mjs.map +1 -0
  134. package/dist/actions/delete-kpi.cjs +19 -0
  135. package/dist/actions/delete-kpi.cjs.map +1 -0
  136. package/dist/actions/delete-kpi.d.cts +9 -0
  137. package/dist/actions/delete-kpi.d.cts.map +1 -0
  138. package/dist/actions/delete-kpi.d.mts +9 -0
  139. package/dist/actions/delete-kpi.d.mts.map +1 -0
  140. package/dist/actions/delete-kpi.mjs +16 -0
  141. package/dist/actions/delete-kpi.mjs.map +1 -0
  142. package/dist/actions/delete-user-group-item.cjs +19 -0
  143. package/dist/actions/delete-user-group-item.cjs.map +1 -0
  144. package/dist/actions/delete-user-group-item.d.cts +9 -0
  145. package/dist/actions/delete-user-group-item.d.cts.map +1 -0
  146. package/dist/actions/delete-user-group-item.d.mts +9 -0
  147. package/dist/actions/delete-user-group-item.d.mts.map +1 -0
  148. package/dist/actions/delete-user-group-item.mjs +16 -0
  149. package/dist/actions/delete-user-group-item.mjs.map +1 -0
  150. package/dist/actions/delete-user-kpi.cjs +22 -0
  151. package/dist/actions/delete-user-kpi.cjs.map +1 -0
  152. package/dist/actions/delete-user-kpi.d.cts +9 -0
  153. package/dist/actions/delete-user-kpi.d.cts.map +1 -0
  154. package/dist/actions/delete-user-kpi.d.mts +9 -0
  155. package/dist/actions/delete-user-kpi.d.mts.map +1 -0
  156. package/dist/actions/delete-user-kpi.mjs +19 -0
  157. package/dist/actions/delete-user-kpi.mjs.map +1 -0
  158. package/dist/actions/delete-user.cjs +19 -0
  159. package/dist/actions/delete-user.cjs.map +1 -0
  160. package/dist/actions/delete-user.d.cts +9 -0
  161. package/dist/actions/delete-user.d.cts.map +1 -0
  162. package/dist/actions/delete-user.d.mts +9 -0
  163. package/dist/actions/delete-user.d.mts.map +1 -0
  164. package/dist/actions/delete-user.mjs +16 -0
  165. package/dist/actions/delete-user.mjs.map +1 -0
  166. package/dist/actions/get-all-data-entries.cjs +40 -0
  167. package/dist/actions/get-all-data-entries.cjs.map +1 -0
  168. package/dist/actions/get-all-data-entries.d.cts +9 -0
  169. package/dist/actions/get-all-data-entries.d.cts.map +1 -0
  170. package/dist/actions/get-all-data-entries.d.mts +9 -0
  171. package/dist/actions/get-all-data-entries.d.mts.map +1 -0
  172. package/dist/actions/get-all-data-entries.mjs +39 -0
  173. package/dist/actions/get-all-data-entries.mjs.map +1 -0
  174. package/dist/actions/get-category-kpi.cjs +35 -0
  175. package/dist/actions/get-category-kpi.cjs.map +1 -0
  176. package/dist/actions/get-category-kpi.d.cts +9 -0
  177. package/dist/actions/get-category-kpi.d.cts.map +1 -0
  178. package/dist/actions/get-category-kpi.d.mts +9 -0
  179. package/dist/actions/get-category-kpi.d.mts.map +1 -0
  180. package/dist/actions/get-category-kpi.mjs +32 -0
  181. package/dist/actions/get-category-kpi.mjs.map +1 -0
  182. package/dist/actions/get-group-item.cjs +26 -0
  183. package/dist/actions/get-group-item.cjs.map +1 -0
  184. package/dist/actions/get-group-item.d.cts +9 -0
  185. package/dist/actions/get-group-item.d.cts.map +1 -0
  186. package/dist/actions/get-group-item.d.mts +9 -0
  187. package/dist/actions/get-group-item.d.mts.map +1 -0
  188. package/dist/actions/get-group-item.mjs +23 -0
  189. package/dist/actions/get-group-item.mjs.map +1 -0
  190. package/dist/actions/get-group.cjs +22 -0
  191. package/dist/actions/get-group.cjs.map +1 -0
  192. package/dist/actions/get-group.d.cts +9 -0
  193. package/dist/actions/get-group.d.cts.map +1 -0
  194. package/dist/actions/get-group.d.mts +9 -0
  195. package/dist/actions/get-group.d.mts.map +1 -0
  196. package/dist/actions/get-group.mjs +19 -0
  197. package/dist/actions/get-group.mjs.map +1 -0
  198. package/dist/actions/get-kpi-category.cjs +22 -0
  199. package/dist/actions/get-kpi-category.cjs.map +1 -0
  200. package/dist/actions/get-kpi-category.d.cts +9 -0
  201. package/dist/actions/get-kpi-category.d.cts.map +1 -0
  202. package/dist/actions/get-kpi-category.d.mts +9 -0
  203. package/dist/actions/get-kpi-category.d.mts.map +1 -0
  204. package/dist/actions/get-kpi-category.mjs +19 -0
  205. package/dist/actions/get-kpi-category.mjs.map +1 -0
  206. package/dist/actions/get-kpi-entry.cjs +26 -0
  207. package/dist/actions/get-kpi-entry.cjs.map +1 -0
  208. package/dist/actions/get-kpi-entry.d.cts +9 -0
  209. package/dist/actions/get-kpi-entry.d.cts.map +1 -0
  210. package/dist/actions/get-kpi-entry.d.mts +9 -0
  211. package/dist/actions/get-kpi-entry.d.mts.map +1 -0
  212. package/dist/actions/get-kpi-entry.mjs +23 -0
  213. package/dist/actions/get-kpi-entry.mjs.map +1 -0
  214. package/dist/actions/get-kpi-frequency.cjs +19 -0
  215. package/dist/actions/get-kpi-frequency.cjs.map +1 -0
  216. package/dist/actions/get-kpi-frequency.d.cts +9 -0
  217. package/dist/actions/get-kpi-frequency.d.cts.map +1 -0
  218. package/dist/actions/get-kpi-frequency.d.mts +9 -0
  219. package/dist/actions/get-kpi-frequency.d.mts.map +1 -0
  220. package/dist/actions/get-kpi-frequency.mjs +16 -0
  221. package/dist/actions/get-kpi-frequency.mjs.map +1 -0
  222. package/dist/actions/get-kpi-icon.cjs +19 -0
  223. package/dist/actions/get-kpi-icon.cjs.map +1 -0
  224. package/dist/actions/get-kpi-icon.d.cts +9 -0
  225. package/dist/actions/get-kpi-icon.d.cts.map +1 -0
  226. package/dist/actions/get-kpi-icon.d.mts +9 -0
  227. package/dist/actions/get-kpi-icon.d.mts.map +1 -0
  228. package/dist/actions/get-kpi-icon.mjs +16 -0
  229. package/dist/actions/get-kpi-icon.mjs.map +1 -0
  230. package/dist/actions/get-kpi-unit.cjs +24 -0
  231. package/dist/actions/get-kpi-unit.cjs.map +1 -0
  232. package/dist/actions/get-kpi-unit.d.cts +9 -0
  233. package/dist/actions/get-kpi-unit.d.cts.map +1 -0
  234. package/dist/actions/get-kpi-unit.d.mts +9 -0
  235. package/dist/actions/get-kpi-unit.d.mts.map +1 -0
  236. package/dist/actions/get-kpi-unit.mjs +21 -0
  237. package/dist/actions/get-kpi-unit.mjs.map +1 -0
  238. package/dist/actions/get-kpi.cjs +32 -0
  239. package/dist/actions/get-kpi.cjs.map +1 -0
  240. package/dist/actions/get-kpi.d.cts +9 -0
  241. package/dist/actions/get-kpi.d.cts.map +1 -0
  242. package/dist/actions/get-kpi.d.mts +9 -0
  243. package/dist/actions/get-kpi.d.mts.map +1 -0
  244. package/dist/actions/get-kpi.mjs +29 -0
  245. package/dist/actions/get-kpi.mjs.map +1 -0
  246. package/dist/actions/get-user-group-item.cjs +26 -0
  247. package/dist/actions/get-user-group-item.cjs.map +1 -0
  248. package/dist/actions/get-user-group-item.d.cts +9 -0
  249. package/dist/actions/get-user-group-item.d.cts.map +1 -0
  250. package/dist/actions/get-user-group-item.d.mts +9 -0
  251. package/dist/actions/get-user-group-item.d.mts.map +1 -0
  252. package/dist/actions/get-user-group-item.mjs +23 -0
  253. package/dist/actions/get-user-group-item.mjs.map +1 -0
  254. package/dist/actions/get-user-kpi.cjs +26 -0
  255. package/dist/actions/get-user-kpi.cjs.map +1 -0
  256. package/dist/actions/get-user-kpi.d.cts +9 -0
  257. package/dist/actions/get-user-kpi.d.cts.map +1 -0
  258. package/dist/actions/get-user-kpi.d.mts +9 -0
  259. package/dist/actions/get-user-kpi.d.mts.map +1 -0
  260. package/dist/actions/get-user-kpi.mjs +23 -0
  261. package/dist/actions/get-user-kpi.mjs.map +1 -0
  262. package/dist/actions/get-user.cjs +30 -0
  263. package/dist/actions/get-user.cjs.map +1 -0
  264. package/dist/actions/get-user.d.cts +9 -0
  265. package/dist/actions/get-user.d.cts.map +1 -0
  266. package/dist/actions/get-user.d.mts +9 -0
  267. package/dist/actions/get-user.d.mts.map +1 -0
  268. package/dist/actions/get-user.mjs +27 -0
  269. package/dist/actions/get-user.mjs.map +1 -0
  270. package/dist/actions/index.cjs +103 -0
  271. package/dist/actions/index.d.cts +52 -0
  272. package/dist/actions/index.d.mts +52 -0
  273. package/dist/actions/index.mjs +52 -0
  274. package/dist/actions/list-category-kpis.cjs +33 -0
  275. package/dist/actions/list-category-kpis.cjs.map +1 -0
  276. package/dist/actions/list-category-kpis.d.cts +9 -0
  277. package/dist/actions/list-category-kpis.d.cts.map +1 -0
  278. package/dist/actions/list-category-kpis.d.mts +9 -0
  279. package/dist/actions/list-category-kpis.d.mts.map +1 -0
  280. package/dist/actions/list-category-kpis.mjs +32 -0
  281. package/dist/actions/list-category-kpis.mjs.map +1 -0
  282. package/dist/actions/list-group-items.cjs +24 -0
  283. package/dist/actions/list-group-items.cjs.map +1 -0
  284. package/dist/actions/list-group-items.d.cts +9 -0
  285. package/dist/actions/list-group-items.d.cts.map +1 -0
  286. package/dist/actions/list-group-items.d.mts +9 -0
  287. package/dist/actions/list-group-items.d.mts.map +1 -0
  288. package/dist/actions/list-group-items.mjs +23 -0
  289. package/dist/actions/list-group-items.mjs.map +1 -0
  290. package/dist/actions/list-groups.cjs +23 -0
  291. package/dist/actions/list-groups.cjs.map +1 -0
  292. package/dist/actions/list-groups.d.cts +9 -0
  293. package/dist/actions/list-groups.d.cts.map +1 -0
  294. package/dist/actions/list-groups.d.mts +9 -0
  295. package/dist/actions/list-groups.d.mts.map +1 -0
  296. package/dist/actions/list-groups.mjs +22 -0
  297. package/dist/actions/list-groups.mjs.map +1 -0
  298. package/dist/actions/list-kpi-categories.cjs +23 -0
  299. package/dist/actions/list-kpi-categories.cjs.map +1 -0
  300. package/dist/actions/list-kpi-categories.d.cts +9 -0
  301. package/dist/actions/list-kpi-categories.d.cts.map +1 -0
  302. package/dist/actions/list-kpi-categories.d.mts +9 -0
  303. package/dist/actions/list-kpi-categories.d.mts.map +1 -0
  304. package/dist/actions/list-kpi-categories.mjs +22 -0
  305. package/dist/actions/list-kpi-categories.mjs.map +1 -0
  306. package/dist/actions/list-kpi-entries.cjs +34 -0
  307. package/dist/actions/list-kpi-entries.cjs.map +1 -0
  308. package/dist/actions/list-kpi-entries.d.cts +9 -0
  309. package/dist/actions/list-kpi-entries.d.cts.map +1 -0
  310. package/dist/actions/list-kpi-entries.d.mts +9 -0
  311. package/dist/actions/list-kpi-entries.d.mts.map +1 -0
  312. package/dist/actions/list-kpi-entries.mjs +33 -0
  313. package/dist/actions/list-kpi-entries.mjs.map +1 -0
  314. package/dist/actions/list-kpi-frequencies.cjs +20 -0
  315. package/dist/actions/list-kpi-frequencies.cjs.map +1 -0
  316. package/dist/actions/list-kpi-frequencies.d.cts +9 -0
  317. package/dist/actions/list-kpi-frequencies.d.cts.map +1 -0
  318. package/dist/actions/list-kpi-frequencies.d.mts +9 -0
  319. package/dist/actions/list-kpi-frequencies.d.mts.map +1 -0
  320. package/dist/actions/list-kpi-frequencies.mjs +19 -0
  321. package/dist/actions/list-kpi-frequencies.mjs.map +1 -0
  322. package/dist/actions/list-kpi-icons.cjs +22 -0
  323. package/dist/actions/list-kpi-icons.cjs.map +1 -0
  324. package/dist/actions/list-kpi-icons.d.cts +9 -0
  325. package/dist/actions/list-kpi-icons.d.cts.map +1 -0
  326. package/dist/actions/list-kpi-icons.d.mts +9 -0
  327. package/dist/actions/list-kpi-icons.d.mts.map +1 -0
  328. package/dist/actions/list-kpi-icons.mjs +21 -0
  329. package/dist/actions/list-kpi-icons.mjs.map +1 -0
  330. package/dist/actions/list-kpi-units.cjs +25 -0
  331. package/dist/actions/list-kpi-units.cjs.map +1 -0
  332. package/dist/actions/list-kpi-units.d.cts +9 -0
  333. package/dist/actions/list-kpi-units.d.cts.map +1 -0
  334. package/dist/actions/list-kpi-units.d.mts +9 -0
  335. package/dist/actions/list-kpi-units.d.mts.map +1 -0
  336. package/dist/actions/list-kpi-units.mjs +24 -0
  337. package/dist/actions/list-kpi-units.mjs.map +1 -0
  338. package/dist/actions/list-kpis.cjs +33 -0
  339. package/dist/actions/list-kpis.cjs.map +1 -0
  340. package/dist/actions/list-kpis.d.cts +9 -0
  341. package/dist/actions/list-kpis.d.cts.map +1 -0
  342. package/dist/actions/list-kpis.d.mts +9 -0
  343. package/dist/actions/list-kpis.d.mts.map +1 -0
  344. package/dist/actions/list-kpis.mjs +32 -0
  345. package/dist/actions/list-kpis.mjs.map +1 -0
  346. package/dist/actions/list-user-group-items.cjs +24 -0
  347. package/dist/actions/list-user-group-items.cjs.map +1 -0
  348. package/dist/actions/list-user-group-items.d.cts +9 -0
  349. package/dist/actions/list-user-group-items.d.cts.map +1 -0
  350. package/dist/actions/list-user-group-items.d.mts +9 -0
  351. package/dist/actions/list-user-group-items.d.mts.map +1 -0
  352. package/dist/actions/list-user-group-items.mjs +23 -0
  353. package/dist/actions/list-user-group-items.mjs.map +1 -0
  354. package/dist/actions/list-user-kpis.cjs +24 -0
  355. package/dist/actions/list-user-kpis.cjs.map +1 -0
  356. package/dist/actions/list-user-kpis.d.cts +9 -0
  357. package/dist/actions/list-user-kpis.d.cts.map +1 -0
  358. package/dist/actions/list-user-kpis.d.mts +9 -0
  359. package/dist/actions/list-user-kpis.d.mts.map +1 -0
  360. package/dist/actions/list-user-kpis.mjs +23 -0
  361. package/dist/actions/list-user-kpis.mjs.map +1 -0
  362. package/dist/actions/update-category-kpi.cjs +54 -0
  363. package/dist/actions/update-category-kpi.cjs.map +1 -0
  364. package/dist/actions/update-category-kpi.d.cts +9 -0
  365. package/dist/actions/update-category-kpi.d.cts.map +1 -0
  366. package/dist/actions/update-category-kpi.d.mts +9 -0
  367. package/dist/actions/update-category-kpi.d.mts.map +1 -0
  368. package/dist/actions/update-category-kpi.mjs +51 -0
  369. package/dist/actions/update-category-kpi.mjs.map +1 -0
  370. package/dist/actions/update-group-item.cjs +26 -0
  371. package/dist/actions/update-group-item.cjs.map +1 -0
  372. package/dist/actions/update-group-item.d.cts +9 -0
  373. package/dist/actions/update-group-item.d.cts.map +1 -0
  374. package/dist/actions/update-group-item.d.mts +9 -0
  375. package/dist/actions/update-group-item.d.mts.map +1 -0
  376. package/dist/actions/update-group-item.mjs +23 -0
  377. package/dist/actions/update-group-item.mjs.map +1 -0
  378. package/dist/actions/update-group.cjs +24 -0
  379. package/dist/actions/update-group.cjs.map +1 -0
  380. package/dist/actions/update-group.d.cts +9 -0
  381. package/dist/actions/update-group.d.cts.map +1 -0
  382. package/dist/actions/update-group.d.mts +9 -0
  383. package/dist/actions/update-group.d.mts.map +1 -0
  384. package/dist/actions/update-group.mjs +21 -0
  385. package/dist/actions/update-group.mjs.map +1 -0
  386. package/dist/actions/update-kpi-entry.cjs +34 -0
  387. package/dist/actions/update-kpi-entry.cjs.map +1 -0
  388. package/dist/actions/update-kpi-entry.d.cts +9 -0
  389. package/dist/actions/update-kpi-entry.d.cts.map +1 -0
  390. package/dist/actions/update-kpi-entry.d.mts +9 -0
  391. package/dist/actions/update-kpi-entry.d.mts.map +1 -0
  392. package/dist/actions/update-kpi-entry.mjs +31 -0
  393. package/dist/actions/update-kpi-entry.mjs.map +1 -0
  394. package/dist/actions/update-kpi-unit.cjs +28 -0
  395. package/dist/actions/update-kpi-unit.cjs.map +1 -0
  396. package/dist/actions/update-kpi-unit.d.cts +9 -0
  397. package/dist/actions/update-kpi-unit.d.cts.map +1 -0
  398. package/dist/actions/update-kpi-unit.d.mts +9 -0
  399. package/dist/actions/update-kpi-unit.d.mts.map +1 -0
  400. package/dist/actions/update-kpi-unit.mjs +25 -0
  401. package/dist/actions/update-kpi-unit.mjs.map +1 -0
  402. package/dist/actions/update-kpi.cjs +52 -0
  403. package/dist/actions/update-kpi.cjs.map +1 -0
  404. package/dist/actions/update-kpi.d.cts +9 -0
  405. package/dist/actions/update-kpi.d.cts.map +1 -0
  406. package/dist/actions/update-kpi.d.mts +9 -0
  407. package/dist/actions/update-kpi.d.mts.map +1 -0
  408. package/dist/actions/update-kpi.mjs +49 -0
  409. package/dist/actions/update-kpi.mjs.map +1 -0
  410. package/dist/actions/update-user.cjs +34 -0
  411. package/dist/actions/update-user.cjs.map +1 -0
  412. package/dist/actions/update-user.d.cts +9 -0
  413. package/dist/actions/update-user.d.cts.map +1 -0
  414. package/dist/actions/update-user.d.mts +9 -0
  415. package/dist/actions/update-user.d.mts.map +1 -0
  416. package/dist/actions/update-user.mjs +31 -0
  417. package/dist/actions/update-user.mjs.map +1 -0
  418. package/dist/app.cjs +9 -0
  419. package/dist/app.cjs.map +1 -0
  420. package/dist/app.d.cts +5 -0
  421. package/dist/app.d.cts.map +1 -0
  422. package/dist/app.d.mts +5 -0
  423. package/dist/app.d.mts.map +1 -0
  424. package/dist/app.mjs +10 -0
  425. package/dist/app.mjs.map +1 -0
  426. package/dist/catalog.cjs +15 -0
  427. package/dist/catalog.cjs.map +1 -0
  428. package/dist/catalog.d.cts +14 -0
  429. package/dist/catalog.d.cts.map +1 -0
  430. package/dist/catalog.d.mts +14 -0
  431. package/dist/catalog.d.mts.map +1 -0
  432. package/dist/catalog.mjs +15 -0
  433. package/dist/catalog.mjs.map +1 -0
  434. package/dist/execute.cjs +18 -0
  435. package/dist/execute.cjs.map +1 -0
  436. package/dist/execute.mjs +18 -0
  437. package/dist/execute.mjs.map +1 -0
  438. package/dist/index.cjs +108 -0
  439. package/dist/index.d.cts +54 -0
  440. package/dist/index.d.mts +54 -0
  441. package/dist/index.mjs +55 -0
  442. package/package.json +49 -0
@@ -0,0 +1,16 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ const simplekpiDeleteKpi = action("SIMPLEKPI_DELETE_KPI", {
4
+ slug: "simplekpi-delete-kpi",
5
+ name: "Delete KPI",
6
+ description: "Tool to delete a KPI by ID. Use when you need to permanently remove a specific KPI from the system.",
7
+ input: z.object({ id: z.number().int().describe("The unique identifier of the KPI to delete") }).describe("Request parameters for deleting a KPI."),
8
+ output: z.object({
9
+ message: z.string().describe("Status message describing the outcome of the operation"),
10
+ success: z.boolean().describe("Indicates if the KPI was successfully deleted")
11
+ }).describe("Response model for successful KPI deletion.")
12
+ });
13
+ //#endregion
14
+ export { simplekpiDeleteKpi };
15
+
16
+ //# sourceMappingURL=delete-kpi.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"delete-kpi.mjs","names":[],"sources":["../../src/actions/delete-kpi.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplekpiDeleteKpiInput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"The unique identifier of the KPI to delete\"),\n}).describe(\"Request parameters for deleting a KPI.\");\nexport const SimplekpiDeleteKpiOutput: z.ZodTypeAny = z.object({\n message: z.string().describe(\"Status message describing the outcome of the operation\"),\n success: z.boolean().describe(\"Indicates if the KPI was successfully deleted\"),\n}).describe(\"Response model for successful KPI deletion.\");\n\nexport const simplekpiDeleteKpi = action(\"SIMPLEKPI_DELETE_KPI\", {\n slug: \"simplekpi-delete-kpi\",\n name: \"Delete KPI\",\n description: \"Tool to delete a KPI by ID. Use when you need to permanently remove a specific KPI from the system.\",\n input: SimplekpiDeleteKpiInput,\n output: SimplekpiDeleteKpiOutput,\n});\n"],"mappings":";;AAYA,MAAa,qBAAqB,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZmD,EAAE,OAAO,EAC5D,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,EAC5E,CAAC,CAAC,CAAC,SAAS,wCAUH;CACP,QAVoD,EAAE,OAAO;EAC7D,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD;EACrF,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,+CAA+C;CAC/E,CAAC,CAAC,CAAC,SAAS,6CAOF;AACV,CAAC"}
@@ -0,0 +1,19 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/delete-user-group-item.ts
4
+ const SimplekpiDeleteUserGroupItemInput = zod.z.object({
5
+ id: zod.z.number().int().describe("Group item ID to remove from the user."),
6
+ user_id: zod.z.number().int().describe("User ID to remove the group item assignment from.")
7
+ }).describe("Request model for deleting a user group item assignment.");
8
+ const SimplekpiDeleteUserGroupItemOutput = zod.z.object({ success: zod.z.boolean().default(true).describe("Indicates the delete operation was successful.").nullable().optional() }).describe("Response model for delete user group item operation.");
9
+ const simplekpiDeleteUserGroupItem = require_action.action("SIMPLEKPI_DELETE_USER_GROUP_ITEM", {
10
+ slug: "simplekpi-delete-user-group-item",
11
+ name: "Delete User Group Item",
12
+ description: "Tool to remove a group item assignment from a user. Use when you need to unassign a specific group item from a user.",
13
+ input: SimplekpiDeleteUserGroupItemInput,
14
+ output: SimplekpiDeleteUserGroupItemOutput
15
+ });
16
+ //#endregion
17
+ exports.simplekpiDeleteUserGroupItem = simplekpiDeleteUserGroupItem;
18
+
19
+ //# sourceMappingURL=delete-user-group-item.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"delete-user-group-item.cjs","names":["z","action"],"sources":["../../src/actions/delete-user-group-item.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplekpiDeleteUserGroupItemInput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Group item ID to remove from the user.\"),\n user_id: z.number().int().describe(\"User ID to remove the group item assignment from.\"),\n}).describe(\"Request model for deleting a user group item assignment.\");\nexport const SimplekpiDeleteUserGroupItemOutput: z.ZodTypeAny = z.object({\n success: z.boolean().default(true).describe(\"Indicates the delete operation was successful.\").nullable().optional(),\n}).describe(\"Response model for delete user group item operation.\");\n\nexport const simplekpiDeleteUserGroupItem = action(\"SIMPLEKPI_DELETE_USER_GROUP_ITEM\", {\n slug: \"simplekpi-delete-user-group-item\",\n name: \"Delete User Group Item\",\n description: \"Tool to remove a group item assignment from a user. Use when you need to unassign a specific group item from a user.\",\n input: SimplekpiDeleteUserGroupItemInput,\n output: SimplekpiDeleteUserGroupItemOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAkDA,IAAAA,EAAE,OAAO;CACtE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC;CACtE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD;AACxF,CAAC,CAAC,CAAC,SAAS,0DAA0D;AACtE,MAAa,qCAAmDA,IAAAA,EAAE,OAAO,EACvE,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACpH,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAElE,MAAa,+BAA+BC,eAAAA,OAAO,oCAAoC;CACrF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/delete-user-group-item.d.ts
4
+ declare const SimplekpiDeleteUserGroupItemInput: z.ZodTypeAny;
5
+ declare const SimplekpiDeleteUserGroupItemOutput: z.ZodTypeAny;
6
+ declare const simplekpiDeleteUserGroupItem: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { simplekpiDeleteUserGroupItem };
9
+ //# sourceMappingURL=delete-user-group-item.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"delete-user-group-item.d.cts","names":[],"sources":["../../src/actions/delete-user-group-item.ts"],"mappings":";;;cAIa,iCAAA,EAAmC,CAAA,CAAE,UAGqB;AAAA,cAC1D,kCAAA,EAAoC,CAAA,CAAE,UAEgB;AAAA,cAEtD,4BAAA,gCAA4B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/delete-user-group-item.d.ts
4
+ declare const SimplekpiDeleteUserGroupItemInput: z.ZodTypeAny;
5
+ declare const SimplekpiDeleteUserGroupItemOutput: z.ZodTypeAny;
6
+ declare const simplekpiDeleteUserGroupItem: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { simplekpiDeleteUserGroupItem };
9
+ //# sourceMappingURL=delete-user-group-item.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"delete-user-group-item.d.mts","names":[],"sources":["../../src/actions/delete-user-group-item.ts"],"mappings":";;;cAIa,iCAAA,EAAmC,CAAA,CAAE,UAGqB;AAAA,cAC1D,kCAAA,EAAoC,CAAA,CAAE,UAEgB;AAAA,cAEtD,4BAAA,gCAA4B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,16 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ const simplekpiDeleteUserGroupItem = action("SIMPLEKPI_DELETE_USER_GROUP_ITEM", {
4
+ slug: "simplekpi-delete-user-group-item",
5
+ name: "Delete User Group Item",
6
+ description: "Tool to remove a group item assignment from a user. Use when you need to unassign a specific group item from a user.",
7
+ input: z.object({
8
+ id: z.number().int().describe("Group item ID to remove from the user."),
9
+ user_id: z.number().int().describe("User ID to remove the group item assignment from.")
10
+ }).describe("Request model for deleting a user group item assignment."),
11
+ output: z.object({ success: z.boolean().default(true).describe("Indicates the delete operation was successful.").nullable().optional() }).describe("Response model for delete user group item operation.")
12
+ });
13
+ //#endregion
14
+ export { simplekpiDeleteUserGroupItem };
15
+
16
+ //# sourceMappingURL=delete-user-group-item.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"delete-user-group-item.mjs","names":[],"sources":["../../src/actions/delete-user-group-item.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplekpiDeleteUserGroupItemInput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Group item ID to remove from the user.\"),\n user_id: z.number().int().describe(\"User ID to remove the group item assignment from.\"),\n}).describe(\"Request model for deleting a user group item assignment.\");\nexport const SimplekpiDeleteUserGroupItemOutput: z.ZodTypeAny = z.object({\n success: z.boolean().default(true).describe(\"Indicates the delete operation was successful.\").nullable().optional(),\n}).describe(\"Response model for delete user group item operation.\");\n\nexport const simplekpiDeleteUserGroupItem = action(\"SIMPLEKPI_DELETE_USER_GROUP_ITEM\", {\n slug: \"simplekpi-delete-user-group-item\",\n name: \"Delete User Group Item\",\n description: \"Tool to remove a group item assignment from a user. Use when you need to unassign a specific group item from a user.\",\n input: SimplekpiDeleteUserGroupItemInput,\n output: SimplekpiDeleteUserGroupItemOutput,\n});\n"],"mappings":";;AAYA,MAAa,+BAA+B,OAAO,oCAAoC;CACrF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZ6D,EAAE,OAAO;EACtE,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC;EACtE,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD;CACxF,CAAC,CAAC,CAAC,SAAS,0DASH;CACP,QAT8D,EAAE,OAAO,EACvE,SAAS,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACpH,CAAC,CAAC,CAAC,SAAS,sDAOF;AACV,CAAC"}
@@ -0,0 +1,22 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/delete-user-kpi.ts
4
+ const SimplekpiDeleteUserKpiInput = zod.z.object({
5
+ id: zod.z.number().int().describe("The ID of the KPI assignment to remove from the user"),
6
+ user_id: zod.z.number().int().describe("The ID of the user from whom to remove the KPI assignment")
7
+ }).describe("Request model for deleting a KPI assignment from a user.");
8
+ const SimplekpiDeleteUserKpiOutput = zod.z.object({
9
+ message: zod.z.string().describe("Status message describing the outcome of the operation"),
10
+ success: zod.z.boolean().describe("Indicates if the KPI assignment was successfully removed")
11
+ }).describe("Response model for delete user KPI action.");
12
+ const simplekpiDeleteUserKpi = require_action.action("SIMPLEKPI_DELETE_USER_KPI", {
13
+ slug: "simplekpi-delete-user-kpi",
14
+ name: "Delete User KPI",
15
+ description: "Tool to remove a KPI assignment from a user. Use when you need to unassign or delete a specific KPI from a user's profile.",
16
+ input: SimplekpiDeleteUserKpiInput,
17
+ output: SimplekpiDeleteUserKpiOutput
18
+ });
19
+ //#endregion
20
+ exports.simplekpiDeleteUserKpi = simplekpiDeleteUserKpi;
21
+
22
+ //# sourceMappingURL=delete-user-kpi.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"delete-user-kpi.cjs","names":["z","action"],"sources":["../../src/actions/delete-user-kpi.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplekpiDeleteUserKpiInput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"The ID of the KPI assignment to remove from the user\"),\n user_id: z.number().int().describe(\"The ID of the user from whom to remove the KPI assignment\"),\n}).describe(\"Request model for deleting a KPI assignment from a user.\");\nexport const SimplekpiDeleteUserKpiOutput: z.ZodTypeAny = z.object({\n message: z.string().describe(\"Status message describing the outcome of the operation\"),\n success: z.boolean().describe(\"Indicates if the KPI assignment was successfully removed\"),\n}).describe(\"Response model for delete user KPI action.\");\n\nexport const simplekpiDeleteUserKpi = action(\"SIMPLEKPI_DELETE_USER_KPI\", {\n slug: \"simplekpi-delete-user-kpi\",\n name: \"Delete User KPI\",\n description: \"Tool to remove a KPI assignment from a user. Use when you need to unassign or delete a specific KPI from a user's profile.\",\n input: SimplekpiDeleteUserKpiInput,\n output: SimplekpiDeleteUserKpiOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA4CA,IAAAA,EAAE,OAAO;CAChE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sDAAsD;CACpF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2DAA2D;AAChG,CAAC,CAAC,CAAC,SAAS,0DAA0D;AACtE,MAAa,+BAA6CA,IAAAA,EAAE,OAAO;CACjE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD;CACrF,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,0DAA0D;AAC1F,CAAC,CAAC,CAAC,SAAS,4CAA4C;AAExD,MAAa,yBAAyBC,eAAAA,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/delete-user-kpi.d.ts
4
+ declare const SimplekpiDeleteUserKpiInput: z.ZodTypeAny;
5
+ declare const SimplekpiDeleteUserKpiOutput: z.ZodTypeAny;
6
+ declare const simplekpiDeleteUserKpi: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { simplekpiDeleteUserKpi };
9
+ //# sourceMappingURL=delete-user-kpi.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"delete-user-kpi.d.cts","names":[],"sources":["../../src/actions/delete-user-kpi.ts"],"mappings":";;;cAIa,2BAAA,EAA6B,CAAA,CAAE,UAG2B;AAAA,cAC1D,4BAAA,EAA8B,CAAA,CAAE,UAGY;AAAA,cAE5C,sBAAA,gCAAsB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/delete-user-kpi.d.ts
4
+ declare const SimplekpiDeleteUserKpiInput: z.ZodTypeAny;
5
+ declare const SimplekpiDeleteUserKpiOutput: z.ZodTypeAny;
6
+ declare const simplekpiDeleteUserKpi: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { simplekpiDeleteUserKpi };
9
+ //# sourceMappingURL=delete-user-kpi.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"delete-user-kpi.d.mts","names":[],"sources":["../../src/actions/delete-user-kpi.ts"],"mappings":";;;cAIa,2BAAA,EAA6B,CAAA,CAAE,UAG2B;AAAA,cAC1D,4BAAA,EAA8B,CAAA,CAAE,UAGY;AAAA,cAE5C,sBAAA,gCAAsB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,19 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ const simplekpiDeleteUserKpi = action("SIMPLEKPI_DELETE_USER_KPI", {
4
+ slug: "simplekpi-delete-user-kpi",
5
+ name: "Delete User KPI",
6
+ description: "Tool to remove a KPI assignment from a user. Use when you need to unassign or delete a specific KPI from a user's profile.",
7
+ input: z.object({
8
+ id: z.number().int().describe("The ID of the KPI assignment to remove from the user"),
9
+ user_id: z.number().int().describe("The ID of the user from whom to remove the KPI assignment")
10
+ }).describe("Request model for deleting a KPI assignment from a user."),
11
+ output: z.object({
12
+ message: z.string().describe("Status message describing the outcome of the operation"),
13
+ success: z.boolean().describe("Indicates if the KPI assignment was successfully removed")
14
+ }).describe("Response model for delete user KPI action.")
15
+ });
16
+ //#endregion
17
+ export { simplekpiDeleteUserKpi };
18
+
19
+ //# sourceMappingURL=delete-user-kpi.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"delete-user-kpi.mjs","names":[],"sources":["../../src/actions/delete-user-kpi.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplekpiDeleteUserKpiInput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"The ID of the KPI assignment to remove from the user\"),\n user_id: z.number().int().describe(\"The ID of the user from whom to remove the KPI assignment\"),\n}).describe(\"Request model for deleting a KPI assignment from a user.\");\nexport const SimplekpiDeleteUserKpiOutput: z.ZodTypeAny = z.object({\n message: z.string().describe(\"Status message describing the outcome of the operation\"),\n success: z.boolean().describe(\"Indicates if the KPI assignment was successfully removed\"),\n}).describe(\"Response model for delete user KPI action.\");\n\nexport const simplekpiDeleteUserKpi = action(\"SIMPLEKPI_DELETE_USER_KPI\", {\n slug: \"simplekpi-delete-user-kpi\",\n name: \"Delete User KPI\",\n description: \"Tool to remove a KPI assignment from a user. Use when you need to unassign or delete a specific KPI from a user's profile.\",\n input: SimplekpiDeleteUserKpiInput,\n output: SimplekpiDeleteUserKpiOutput,\n});\n"],"mappings":";;AAaA,MAAa,yBAAyB,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAbuD,EAAE,OAAO;EAChE,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sDAAsD;EACpF,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2DAA2D;CAChG,CAAC,CAAC,CAAC,SAAS,0DAUH;CACP,QAVwD,EAAE,OAAO;EACjE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD;EACrF,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,0DAA0D;CAC1F,CAAC,CAAC,CAAC,SAAS,4CAOF;AACV,CAAC"}
@@ -0,0 +1,19 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/delete-user.ts
4
+ const SimplekpiDeleteUserInput = zod.z.object({ id: zod.z.number().int().describe("User ID to delete") }).describe("Request model for deleting a user by ID.");
5
+ const SimplekpiDeleteUserOutput = zod.z.object({
6
+ message: zod.z.string().default("User deleted successfully").describe("Success message confirming the deletion").nullable().optional(),
7
+ success: zod.z.boolean().default(true).describe("Indicates whether the user was successfully deleted").nullable().optional()
8
+ }).describe("Response model for delete user action.");
9
+ const simplekpiDeleteUser = require_action.action("SIMPLEKPI_DELETE_USER", {
10
+ slug: "simplekpi-delete-user",
11
+ name: "Delete User",
12
+ description: "Tool to delete a user account by ID. Use when you need to permanently remove a user from the system.",
13
+ input: SimplekpiDeleteUserInput,
14
+ output: SimplekpiDeleteUserOutput
15
+ });
16
+ //#endregion
17
+ exports.simplekpiDeleteUser = simplekpiDeleteUser;
18
+
19
+ //# sourceMappingURL=delete-user.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"delete-user.cjs","names":["z","action"],"sources":["../../src/actions/delete-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplekpiDeleteUserInput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"User ID to delete\"),\n}).describe(\"Request model for deleting a user by ID.\");\nexport const SimplekpiDeleteUserOutput: z.ZodTypeAny = z.object({\n message: z.string().default(\"User deleted successfully\").describe(\"Success message confirming the deletion\").nullable().optional(),\n success: z.boolean().default(true).describe(\"Indicates whether the user was successfully deleted\").nullable().optional(),\n}).describe(\"Response model for delete user action.\");\n\nexport const simplekpiDeleteUser = action(\"SIMPLEKPI_DELETE_USER\", {\n slug: \"simplekpi-delete-user\",\n name: \"Delete User\",\n description: \"Tool to delete a user account by ID. Use when you need to permanently remove a user from the system.\",\n input: SimplekpiDeleteUserInput,\n output: SimplekpiDeleteUserOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAAyCA,IAAAA,EAAE,OAAO,EAC7D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mBAAmB,EACnD,CAAC,CAAC,CAAC,SAAS,0CAA0C;AACtD,MAAa,4BAA0CA,IAAAA,EAAE,OAAO;CAC9D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,2BAA2B,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjI,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzH,CAAC,CAAC,CAAC,SAAS,wCAAwC;AAEpD,MAAa,sBAAsBC,eAAAA,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/delete-user.d.ts
4
+ declare const SimplekpiDeleteUserInput: z.ZodTypeAny;
5
+ declare const SimplekpiDeleteUserOutput: z.ZodTypeAny;
6
+ declare const simplekpiDeleteUser: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { simplekpiDeleteUser };
9
+ //# sourceMappingURL=delete-user.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"delete-user.d.cts","names":[],"sources":["../../src/actions/delete-user.ts"],"mappings":";;;cAIa,wBAAA,EAA0B,CAAA,CAAE,UAEc;AAAA,cAC1C,yBAAA,EAA2B,CAAA,CAAE,UAGW;AAAA,cAExC,mBAAA,gCAAmB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/delete-user.d.ts
4
+ declare const SimplekpiDeleteUserInput: z.ZodTypeAny;
5
+ declare const SimplekpiDeleteUserOutput: z.ZodTypeAny;
6
+ declare const simplekpiDeleteUser: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { simplekpiDeleteUser };
9
+ //# sourceMappingURL=delete-user.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"delete-user.d.mts","names":[],"sources":["../../src/actions/delete-user.ts"],"mappings":";;;cAIa,wBAAA,EAA0B,CAAA,CAAE,UAEc;AAAA,cAC1C,yBAAA,EAA2B,CAAA,CAAE,UAGW;AAAA,cAExC,mBAAA,gCAAmB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,16 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ const simplekpiDeleteUser = action("SIMPLEKPI_DELETE_USER", {
4
+ slug: "simplekpi-delete-user",
5
+ name: "Delete User",
6
+ description: "Tool to delete a user account by ID. Use when you need to permanently remove a user from the system.",
7
+ input: z.object({ id: z.number().int().describe("User ID to delete") }).describe("Request model for deleting a user by ID."),
8
+ output: z.object({
9
+ message: z.string().default("User deleted successfully").describe("Success message confirming the deletion").nullable().optional(),
10
+ success: z.boolean().default(true).describe("Indicates whether the user was successfully deleted").nullable().optional()
11
+ }).describe("Response model for delete user action.")
12
+ });
13
+ //#endregion
14
+ export { simplekpiDeleteUser };
15
+
16
+ //# sourceMappingURL=delete-user.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"delete-user.mjs","names":[],"sources":["../../src/actions/delete-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplekpiDeleteUserInput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"User ID to delete\"),\n}).describe(\"Request model for deleting a user by ID.\");\nexport const SimplekpiDeleteUserOutput: z.ZodTypeAny = z.object({\n message: z.string().default(\"User deleted successfully\").describe(\"Success message confirming the deletion\").nullable().optional(),\n success: z.boolean().default(true).describe(\"Indicates whether the user was successfully deleted\").nullable().optional(),\n}).describe(\"Response model for delete user action.\");\n\nexport const simplekpiDeleteUser = action(\"SIMPLEKPI_DELETE_USER\", {\n slug: \"simplekpi-delete-user\",\n name: \"Delete User\",\n description: \"Tool to delete a user account by ID. Use when you need to permanently remove a user from the system.\",\n input: SimplekpiDeleteUserInput,\n output: SimplekpiDeleteUserOutput,\n});\n"],"mappings":";;AAYA,MAAa,sBAAsB,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZoD,EAAE,OAAO,EAC7D,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mBAAmB,EACnD,CAAC,CAAC,CAAC,SAAS,0CAUH;CACP,QAVqD,EAAE,OAAO;EAC9D,SAAS,EAAE,OAAO,CAAC,CAAC,QAAQ,2BAA2B,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjI,SAAS,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzH,CAAC,CAAC,CAAC,SAAS,wCAOF;AACV,CAAC"}
@@ -0,0 +1,40 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/get-all-data-entries.ts
4
+ const SimplekpiGetAllDataEntriesInput = zod.z.object({
5
+ dateTo: zod.z.string().describe("End date for filtering entries in YYYY-MM-DD format. Defaults to today if not provided").optional(),
6
+ kpiIds: zod.z.string().describe("Comma-separated list of KPI IDs to filter entries (e.g., '1,2,3'). If not provided, returns entries for all KPIs").optional(),
7
+ userIds: zod.z.string().describe("Comma-separated list of user IDs to filter entries (e.g., '5,15,25'). Filters by specific users").optional(),
8
+ dateFrom: zod.z.string().describe("Start date for filtering entries in YYYY-MM-DD format. Defaults to today if not provided").optional(),
9
+ groupItemIds: zod.z.string().describe("Comma-separated list of group item IDs to filter entries (e.g., '10,20,30'). Filters by specific group items").optional()
10
+ });
11
+ const SimplekpiGetAllDataEntries_DataEntrySchema = zod.z.object({
12
+ kpiId: zod.z.number().int().describe("Identifier for the KPI").nullable().optional(),
13
+ notes: zod.z.string().describe("Additional contextual information or comments").nullable().optional(),
14
+ actual: zod.z.number().describe("Recorded KPI value (actual measurement)").nullable().optional(),
15
+ itemId: zod.z.number().int().describe("Identifier for the group item or user").nullable().optional(),
16
+ period: zod.z.string().describe("Human-readable period description (e.g., 'Daily', 'Weekly')").nullable().optional(),
17
+ target: zod.z.number().describe("Target KPI value for comparison").nullable().optional(),
18
+ kpiName: zod.z.string().describe("Name of the KPI").nullable().optional(),
19
+ itemName: zod.z.string().describe("Name of the person or item").nullable().optional(),
20
+ periodId: zod.z.string().describe("Code for the reporting period (e.g., 'D' for Daily)").nullable().optional(),
21
+ direction: zod.z.string().describe("Single character code for KPI direction (e.g., 'U' for Up, 'D' for Down)").nullable().optional(),
22
+ entryDate: zod.z.string().describe("Date of the data entry in YYYY-MM-DD format").nullable().optional(),
23
+ hasTarget: zod.z.number().int().describe("Boolean flag (0 or 1) indicating if entry has a target value").nullable().optional(),
24
+ labelFormat: zod.z.string().describe("Number formatting pattern (e.g., '#,##0')").nullable().optional(),
25
+ isPercentage: zod.z.number().int().describe("Boolean flag (0 or 1) indicating if value should be displayed as percentage").nullable().optional(),
26
+ directionName: zod.z.string().describe("Readable direction label (e.g., 'Up', 'Down')").nullable().optional(),
27
+ kpiDescription: zod.z.string().describe("Descriptive text about the KPI").nullable().optional()
28
+ });
29
+ const SimplekpiGetAllDataEntriesOutput = zod.z.object({ entries: zod.z.array(SimplekpiGetAllDataEntries_DataEntrySchema).describe("List of processed KPI data entries including calculated KPIs (maximum 10,000 entries)").nullable().optional() });
30
+ const simplekpiGetAllDataEntries = require_action.action("SIMPLEKPI_GET_ALL_DATA_ENTRIES", {
31
+ slug: "simplekpi-get-all-data-entries",
32
+ name: "Get All Data Entries",
33
+ description: "Tool to retrieve processed KPI data entries for reports including calculated KPIs. Use when you need comprehensive report data with KPI metrics, targets, and metadata. Returns up to 10,000 entries with details like kpiId, kpiName, itemName, period, actual, target, and notes.",
34
+ input: SimplekpiGetAllDataEntriesInput,
35
+ output: SimplekpiGetAllDataEntriesOutput
36
+ });
37
+ //#endregion
38
+ exports.simplekpiGetAllDataEntries = simplekpiGetAllDataEntries;
39
+
40
+ //# sourceMappingURL=get-all-data-entries.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-all-data-entries.cjs","names":["z","action"],"sources":["../../src/actions/get-all-data-entries.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplekpiGetAllDataEntriesInput: z.ZodTypeAny = z.object({\n dateTo: z.string().describe(\"End date for filtering entries in YYYY-MM-DD format. Defaults to today if not provided\").optional(),\n kpiIds: z.string().describe(\"Comma-separated list of KPI IDs to filter entries (e.g., '1,2,3'). If not provided, returns entries for all KPIs\").optional(),\n userIds: z.string().describe(\"Comma-separated list of user IDs to filter entries (e.g., '5,15,25'). Filters by specific users\").optional(),\n dateFrom: z.string().describe(\"Start date for filtering entries in YYYY-MM-DD format. Defaults to today if not provided\").optional(),\n groupItemIds: z.string().describe(\"Comma-separated list of group item IDs to filter entries (e.g., '10,20,30'). Filters by specific group items\").optional(),\n});\nconst SimplekpiGetAllDataEntries_DataEntrySchema: z.ZodTypeAny = z.object({\n kpiId: z.number().int().describe(\"Identifier for the KPI\").nullable().optional(),\n notes: z.string().describe(\"Additional contextual information or comments\").nullable().optional(),\n actual: z.number().describe(\"Recorded KPI value (actual measurement)\").nullable().optional(),\n itemId: z.number().int().describe(\"Identifier for the group item or user\").nullable().optional(),\n period: z.string().describe(\"Human-readable period description (e.g., 'Daily', 'Weekly')\").nullable().optional(),\n target: z.number().describe(\"Target KPI value for comparison\").nullable().optional(),\n kpiName: z.string().describe(\"Name of the KPI\").nullable().optional(),\n itemName: z.string().describe(\"Name of the person or item\").nullable().optional(),\n periodId: z.string().describe(\"Code for the reporting period (e.g., 'D' for Daily)\").nullable().optional(),\n direction: z.string().describe(\"Single character code for KPI direction (e.g., 'U' for Up, 'D' for Down)\").nullable().optional(),\n entryDate: z.string().describe(\"Date of the data entry in YYYY-MM-DD format\").nullable().optional(),\n hasTarget: z.number().int().describe(\"Boolean flag (0 or 1) indicating if entry has a target value\").nullable().optional(),\n labelFormat: z.string().describe(\"Number formatting pattern (e.g., '#,##0')\").nullable().optional(),\n isPercentage: z.number().int().describe(\"Boolean flag (0 or 1) indicating if value should be displayed as percentage\").nullable().optional(),\n directionName: z.string().describe(\"Readable direction label (e.g., 'Up', 'Down')\").nullable().optional(),\n kpiDescription: z.string().describe(\"Descriptive text about the KPI\").nullable().optional(),\n});\nexport const SimplekpiGetAllDataEntriesOutput: z.ZodTypeAny = z.object({\n entries: z.array(SimplekpiGetAllDataEntries_DataEntrySchema).describe(\"List of processed KPI data entries including calculated KPIs (maximum 10,000 entries)\").nullable().optional(),\n});\n\nexport const simplekpiGetAllDataEntries = action(\"SIMPLEKPI_GET_ALL_DATA_ENTRIES\", {\n slug: \"simplekpi-get-all-data-entries\",\n name: \"Get All Data Entries\",\n description: \"Tool to retrieve processed KPI data entries for reports including calculated KPIs. Use when you need comprehensive report data with KPI metrics, targets, and metadata. Returns up to 10,000 entries with details like kpiId, kpiName, itemName, period, actual, target, and notes.\",\n input: SimplekpiGetAllDataEntriesInput,\n output: SimplekpiGetAllDataEntriesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAgDA,IAAAA,EAAE,OAAO;CACpE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS;CAC/H,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kHAAkH,CAAC,CAAC,SAAS;CACzJ,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iGAAiG,CAAC,CAAC,SAAS;CACzI,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;CACnI,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8GAA8G,CAAC,CAAC,SAAS;AAC7J,CAAC;AACD,MAAM,6CAA2DA,IAAAA,EAAE,OAAO;CACxE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/H,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzH,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3I,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5F,CAAC;AACD,MAAa,mCAAiDA,IAAAA,EAAE,OAAO,EACrE,SAASA,IAAAA,EAAE,MAAM,0CAA0C,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACrL,CAAC;AAED,MAAa,6BAA6BC,eAAAA,OAAO,kCAAkC;CACjF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-all-data-entries.d.ts
4
+ declare const SimplekpiGetAllDataEntriesInput: z.ZodTypeAny;
5
+ declare const SimplekpiGetAllDataEntriesOutput: z.ZodTypeAny;
6
+ declare const simplekpiGetAllDataEntries: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { simplekpiGetAllDataEntries };
9
+ //# sourceMappingURL=get-all-data-entries.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-all-data-entries.d.cts","names":[],"sources":["../../src/actions/get-all-data-entries.ts"],"mappings":";;;cAIa,+BAAA,EAAiC,CAAA,CAAE,UAM9C;AAAA,cAmBW,gCAAA,EAAkC,CAAA,CAAE,UAE/C;AAAA,cAEW,0BAAA,gCAA0B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-all-data-entries.d.ts
4
+ declare const SimplekpiGetAllDataEntriesInput: z.ZodTypeAny;
5
+ declare const SimplekpiGetAllDataEntriesOutput: z.ZodTypeAny;
6
+ declare const simplekpiGetAllDataEntries: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { simplekpiGetAllDataEntries };
9
+ //# sourceMappingURL=get-all-data-entries.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-all-data-entries.d.mts","names":[],"sources":["../../src/actions/get-all-data-entries.ts"],"mappings":";;;cAIa,+BAAA,EAAiC,CAAA,CAAE,UAM9C;AAAA,cAmBW,gCAAA,EAAkC,CAAA,CAAE,UAE/C;AAAA,cAEW,0BAAA,gCAA0B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,39 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/get-all-data-entries.ts
4
+ const SimplekpiGetAllDataEntriesInput = z.object({
5
+ dateTo: z.string().describe("End date for filtering entries in YYYY-MM-DD format. Defaults to today if not provided").optional(),
6
+ kpiIds: z.string().describe("Comma-separated list of KPI IDs to filter entries (e.g., '1,2,3'). If not provided, returns entries for all KPIs").optional(),
7
+ userIds: z.string().describe("Comma-separated list of user IDs to filter entries (e.g., '5,15,25'). Filters by specific users").optional(),
8
+ dateFrom: z.string().describe("Start date for filtering entries in YYYY-MM-DD format. Defaults to today if not provided").optional(),
9
+ groupItemIds: z.string().describe("Comma-separated list of group item IDs to filter entries (e.g., '10,20,30'). Filters by specific group items").optional()
10
+ });
11
+ const SimplekpiGetAllDataEntries_DataEntrySchema = z.object({
12
+ kpiId: z.number().int().describe("Identifier for the KPI").nullable().optional(),
13
+ notes: z.string().describe("Additional contextual information or comments").nullable().optional(),
14
+ actual: z.number().describe("Recorded KPI value (actual measurement)").nullable().optional(),
15
+ itemId: z.number().int().describe("Identifier for the group item or user").nullable().optional(),
16
+ period: z.string().describe("Human-readable period description (e.g., 'Daily', 'Weekly')").nullable().optional(),
17
+ target: z.number().describe("Target KPI value for comparison").nullable().optional(),
18
+ kpiName: z.string().describe("Name of the KPI").nullable().optional(),
19
+ itemName: z.string().describe("Name of the person or item").nullable().optional(),
20
+ periodId: z.string().describe("Code for the reporting period (e.g., 'D' for Daily)").nullable().optional(),
21
+ direction: z.string().describe("Single character code for KPI direction (e.g., 'U' for Up, 'D' for Down)").nullable().optional(),
22
+ entryDate: z.string().describe("Date of the data entry in YYYY-MM-DD format").nullable().optional(),
23
+ hasTarget: z.number().int().describe("Boolean flag (0 or 1) indicating if entry has a target value").nullable().optional(),
24
+ labelFormat: z.string().describe("Number formatting pattern (e.g., '#,##0')").nullable().optional(),
25
+ isPercentage: z.number().int().describe("Boolean flag (0 or 1) indicating if value should be displayed as percentage").nullable().optional(),
26
+ directionName: z.string().describe("Readable direction label (e.g., 'Up', 'Down')").nullable().optional(),
27
+ kpiDescription: z.string().describe("Descriptive text about the KPI").nullable().optional()
28
+ });
29
+ const simplekpiGetAllDataEntries = action("SIMPLEKPI_GET_ALL_DATA_ENTRIES", {
30
+ slug: "simplekpi-get-all-data-entries",
31
+ name: "Get All Data Entries",
32
+ description: "Tool to retrieve processed KPI data entries for reports including calculated KPIs. Use when you need comprehensive report data with KPI metrics, targets, and metadata. Returns up to 10,000 entries with details like kpiId, kpiName, itemName, period, actual, target, and notes.",
33
+ input: SimplekpiGetAllDataEntriesInput,
34
+ output: z.object({ entries: z.array(SimplekpiGetAllDataEntries_DataEntrySchema).describe("List of processed KPI data entries including calculated KPIs (maximum 10,000 entries)").nullable().optional() })
35
+ });
36
+ //#endregion
37
+ export { simplekpiGetAllDataEntries };
38
+
39
+ //# sourceMappingURL=get-all-data-entries.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-all-data-entries.mjs","names":[],"sources":["../../src/actions/get-all-data-entries.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplekpiGetAllDataEntriesInput: z.ZodTypeAny = z.object({\n dateTo: z.string().describe(\"End date for filtering entries in YYYY-MM-DD format. Defaults to today if not provided\").optional(),\n kpiIds: z.string().describe(\"Comma-separated list of KPI IDs to filter entries (e.g., '1,2,3'). If not provided, returns entries for all KPIs\").optional(),\n userIds: z.string().describe(\"Comma-separated list of user IDs to filter entries (e.g., '5,15,25'). Filters by specific users\").optional(),\n dateFrom: z.string().describe(\"Start date for filtering entries in YYYY-MM-DD format. Defaults to today if not provided\").optional(),\n groupItemIds: z.string().describe(\"Comma-separated list of group item IDs to filter entries (e.g., '10,20,30'). Filters by specific group items\").optional(),\n});\nconst SimplekpiGetAllDataEntries_DataEntrySchema: z.ZodTypeAny = z.object({\n kpiId: z.number().int().describe(\"Identifier for the KPI\").nullable().optional(),\n notes: z.string().describe(\"Additional contextual information or comments\").nullable().optional(),\n actual: z.number().describe(\"Recorded KPI value (actual measurement)\").nullable().optional(),\n itemId: z.number().int().describe(\"Identifier for the group item or user\").nullable().optional(),\n period: z.string().describe(\"Human-readable period description (e.g., 'Daily', 'Weekly')\").nullable().optional(),\n target: z.number().describe(\"Target KPI value for comparison\").nullable().optional(),\n kpiName: z.string().describe(\"Name of the KPI\").nullable().optional(),\n itemName: z.string().describe(\"Name of the person or item\").nullable().optional(),\n periodId: z.string().describe(\"Code for the reporting period (e.g., 'D' for Daily)\").nullable().optional(),\n direction: z.string().describe(\"Single character code for KPI direction (e.g., 'U' for Up, 'D' for Down)\").nullable().optional(),\n entryDate: z.string().describe(\"Date of the data entry in YYYY-MM-DD format\").nullable().optional(),\n hasTarget: z.number().int().describe(\"Boolean flag (0 or 1) indicating if entry has a target value\").nullable().optional(),\n labelFormat: z.string().describe(\"Number formatting pattern (e.g., '#,##0')\").nullable().optional(),\n isPercentage: z.number().int().describe(\"Boolean flag (0 or 1) indicating if value should be displayed as percentage\").nullable().optional(),\n directionName: z.string().describe(\"Readable direction label (e.g., 'Up', 'Down')\").nullable().optional(),\n kpiDescription: z.string().describe(\"Descriptive text about the KPI\").nullable().optional(),\n});\nexport const SimplekpiGetAllDataEntriesOutput: z.ZodTypeAny = z.object({\n entries: z.array(SimplekpiGetAllDataEntries_DataEntrySchema).describe(\"List of processed KPI data entries including calculated KPIs (maximum 10,000 entries)\").nullable().optional(),\n});\n\nexport const simplekpiGetAllDataEntries = action(\"SIMPLEKPI_GET_ALL_DATA_ENTRIES\", {\n slug: \"simplekpi-get-all-data-entries\",\n name: \"Get All Data Entries\",\n description: \"Tool to retrieve processed KPI data entries for reports including calculated KPIs. Use when you need comprehensive report data with KPI metrics, targets, and metadata. Returns up to 10,000 entries with details like kpiId, kpiName, itemName, period, actual, target, and notes.\",\n input: SimplekpiGetAllDataEntriesInput,\n output: SimplekpiGetAllDataEntriesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAgD,EAAE,OAAO;CACpE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS;CAC/H,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,kHAAkH,CAAC,CAAC,SAAS;CACzJ,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,iGAAiG,CAAC,CAAC,SAAS;CACzI,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;CACnI,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,8GAA8G,CAAC,CAAC,SAAS;AAC7J,CAAC;AACD,MAAM,6CAA2D,EAAE,OAAO;CACxE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/H,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzH,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3I,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5F,CAAC;AAKD,MAAa,6BAA6B,OAAO,kCAAkC;CACjF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT4D,EAAE,OAAO,EACrE,SAAS,EAAE,MAAM,0CAA0C,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACrL,CAOU;AACV,CAAC"}
@@ -0,0 +1,35 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/get-category-kpi.ts
4
+ const SimplekpiGetCategoryKpiInput = zod.z.object({
5
+ id: zod.z.number().int().describe("The ID of the KPI to retrieve."),
6
+ category_id: zod.z.number().int().describe("The ID of the category containing the KPI.")
7
+ }).describe("Request model for retrieving a specific KPI within a category.");
8
+ const SimplekpiGetCategoryKpiOutput = zod.z.object({
9
+ id: zod.z.number().int().describe("Automatically generated identifier for the KPI."),
10
+ name: zod.z.string().describe("The name of the KPI (max 100 characters)."),
11
+ icon_id: zod.z.number().int().describe("The ID of the icon assigned to the KPI (16-bit integer).").nullable().optional(),
12
+ unit_id: zod.z.number().int().describe("The ID of the unit of measure assigned to the KPI.").nullable().optional(),
13
+ is_active: zod.z.boolean().describe("Whether the KPI accepts data entries.").nullable().optional(),
14
+ created_at: zod.z.string().describe("UTC timestamp of creation.").nullable().optional(),
15
+ sort_order: zod.z.number().int().describe("Display ordering of the KPI (16-bit integer).").nullable().optional(),
16
+ updated_at: zod.z.string().describe("UTC timestamp of last modification.").nullable().optional(),
17
+ category_id: zod.z.number().int().describe("The identifier of the category containing the KPI."),
18
+ description: zod.z.string().describe("Optional explanation of the KPI (max 150 characters).").nullable().optional(),
19
+ frequency_id: zod.z.string().describe("The ID of the frequency of data entry for the KPI. This field is case sensitive.").nullable().optional(),
20
+ is_calculated: zod.z.boolean().describe("Calculated KPIs cannot be amended via the API.").nullable().optional(),
21
+ target_default: zod.z.union([zod.z.number(), zod.z.string()]).nullable().optional(),
22
+ value_direction: zod.z.string().describe("Direction indicator: U(p), D(own), or N(one).").nullable().optional(),
23
+ aggregate_function: zod.z.string().describe("Calculation method: AVG or SUM (max 3 characters).").nullable().optional()
24
+ }).describe("Response model for a specific KPI within a category.");
25
+ const simplekpiGetCategoryKpi = require_action.action("SIMPLEKPI_GET_CATEGORY_KPI", {
26
+ slug: "simplekpi-get-category-kpi",
27
+ name: "Get Category KPI",
28
+ description: "Tool to retrieve a specific KPI within a category. Use when you need detailed information about a particular KPI including its name, description, target values, and configuration settings.",
29
+ input: SimplekpiGetCategoryKpiInput,
30
+ output: SimplekpiGetCategoryKpiOutput
31
+ });
32
+ //#endregion
33
+ exports.simplekpiGetCategoryKpi = simplekpiGetCategoryKpi;
34
+
35
+ //# sourceMappingURL=get-category-kpi.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-category-kpi.cjs","names":["z","action"],"sources":["../../src/actions/get-category-kpi.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplekpiGetCategoryKpiInput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"The ID of the KPI to retrieve.\"),\n category_id: z.number().int().describe(\"The ID of the category containing the KPI.\"),\n}).describe(\"Request model for retrieving a specific KPI within a category.\");\nexport const SimplekpiGetCategoryKpiOutput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Automatically generated identifier for the KPI.\"),\n name: z.string().describe(\"The name of the KPI (max 100 characters).\"),\n icon_id: z.number().int().describe(\"The ID of the icon assigned to the KPI (16-bit integer).\").nullable().optional(),\n unit_id: z.number().int().describe(\"The ID of the unit of measure assigned to the KPI.\").nullable().optional(),\n is_active: z.boolean().describe(\"Whether the KPI accepts data entries.\").nullable().optional(),\n created_at: z.string().describe(\"UTC timestamp of creation.\").nullable().optional(),\n sort_order: z.number().int().describe(\"Display ordering of the KPI (16-bit integer).\").nullable().optional(),\n updated_at: z.string().describe(\"UTC timestamp of last modification.\").nullable().optional(),\n category_id: z.number().int().describe(\"The identifier of the category containing the KPI.\"),\n description: z.string().describe(\"Optional explanation of the KPI (max 150 characters).\").nullable().optional(),\n frequency_id: z.string().describe(\"The ID of the frequency of data entry for the KPI. This field is case sensitive.\").nullable().optional(),\n is_calculated: z.boolean().describe(\"Calculated KPIs cannot be amended via the API.\").nullable().optional(),\n target_default: z.union([z.number(), z.string()]).nullable().optional(),\n value_direction: z.string().describe(\"Direction indicator: U(p), D(own), or N(one).\").nullable().optional(),\n aggregate_function: z.string().describe(\"Calculation method: AVG or SUM (max 3 characters).\").nullable().optional(),\n}).describe(\"Response model for a specific KPI within a category.\");\n\nexport const simplekpiGetCategoryKpi = action(\"SIMPLEKPI_GET_CATEGORY_KPI\", {\n slug: \"simplekpi-get-category-kpi\",\n name: \"Get Category KPI\",\n description: \"Tool to retrieve a specific KPI within a category. Use when you need detailed information about a particular KPI including its name, description, target values, and configuration settings.\",\n input: SimplekpiGetCategoryKpiInput,\n output: SimplekpiGetCategoryKpiOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA6CA,IAAAA,EAAE,OAAO;CACjE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC;CAC9D,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C;AACrF,CAAC,CAAC,CAAC,SAAS,gEAAgE;AAC5E,MAAa,gCAA8CA,IAAAA,EAAE,OAAO;CAClE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD;CAC/E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;CACrE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD;CAC3F,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1I,eAAeA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,gBAAgBA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpH,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAElE,MAAa,0BAA0BC,eAAAA,OAAO,8BAA8B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-category-kpi.d.ts
4
+ declare const SimplekpiGetCategoryKpiInput: z.ZodTypeAny;
5
+ declare const SimplekpiGetCategoryKpiOutput: z.ZodTypeAny;
6
+ declare const simplekpiGetCategoryKpi: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { simplekpiGetCategoryKpi };
9
+ //# sourceMappingURL=get-category-kpi.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-category-kpi.d.cts","names":[],"sources":["../../src/actions/get-category-kpi.ts"],"mappings":";;;cAIa,4BAAA,EAA8B,CAAA,CAAE,UAGgC;AAAA,cAChE,6BAAA,EAA+B,CAAA,CAAE,UAgBqB;AAAA,cAEtD,uBAAA,gCAAuB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-category-kpi.d.ts
4
+ declare const SimplekpiGetCategoryKpiInput: z.ZodTypeAny;
5
+ declare const SimplekpiGetCategoryKpiOutput: z.ZodTypeAny;
6
+ declare const simplekpiGetCategoryKpi: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { simplekpiGetCategoryKpi };
9
+ //# sourceMappingURL=get-category-kpi.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-category-kpi.d.mts","names":[],"sources":["../../src/actions/get-category-kpi.ts"],"mappings":";;;cAIa,4BAAA,EAA8B,CAAA,CAAE,UAGgC;AAAA,cAChE,6BAAA,EAA+B,CAAA,CAAE,UAgBqB;AAAA,cAEtD,uBAAA,gCAAuB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,32 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ const simplekpiGetCategoryKpi = action("SIMPLEKPI_GET_CATEGORY_KPI", {
4
+ slug: "simplekpi-get-category-kpi",
5
+ name: "Get Category KPI",
6
+ description: "Tool to retrieve a specific KPI within a category. Use when you need detailed information about a particular KPI including its name, description, target values, and configuration settings.",
7
+ input: z.object({
8
+ id: z.number().int().describe("The ID of the KPI to retrieve."),
9
+ category_id: z.number().int().describe("The ID of the category containing the KPI.")
10
+ }).describe("Request model for retrieving a specific KPI within a category."),
11
+ output: z.object({
12
+ id: z.number().int().describe("Automatically generated identifier for the KPI."),
13
+ name: z.string().describe("The name of the KPI (max 100 characters)."),
14
+ icon_id: z.number().int().describe("The ID of the icon assigned to the KPI (16-bit integer).").nullable().optional(),
15
+ unit_id: z.number().int().describe("The ID of the unit of measure assigned to the KPI.").nullable().optional(),
16
+ is_active: z.boolean().describe("Whether the KPI accepts data entries.").nullable().optional(),
17
+ created_at: z.string().describe("UTC timestamp of creation.").nullable().optional(),
18
+ sort_order: z.number().int().describe("Display ordering of the KPI (16-bit integer).").nullable().optional(),
19
+ updated_at: z.string().describe("UTC timestamp of last modification.").nullable().optional(),
20
+ category_id: z.number().int().describe("The identifier of the category containing the KPI."),
21
+ description: z.string().describe("Optional explanation of the KPI (max 150 characters).").nullable().optional(),
22
+ frequency_id: z.string().describe("The ID of the frequency of data entry for the KPI. This field is case sensitive.").nullable().optional(),
23
+ is_calculated: z.boolean().describe("Calculated KPIs cannot be amended via the API.").nullable().optional(),
24
+ target_default: z.union([z.number(), z.string()]).nullable().optional(),
25
+ value_direction: z.string().describe("Direction indicator: U(p), D(own), or N(one).").nullable().optional(),
26
+ aggregate_function: z.string().describe("Calculation method: AVG or SUM (max 3 characters).").nullable().optional()
27
+ }).describe("Response model for a specific KPI within a category.")
28
+ });
29
+ //#endregion
30
+ export { simplekpiGetCategoryKpi };
31
+
32
+ //# sourceMappingURL=get-category-kpi.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-category-kpi.mjs","names":[],"sources":["../../src/actions/get-category-kpi.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplekpiGetCategoryKpiInput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"The ID of the KPI to retrieve.\"),\n category_id: z.number().int().describe(\"The ID of the category containing the KPI.\"),\n}).describe(\"Request model for retrieving a specific KPI within a category.\");\nexport const SimplekpiGetCategoryKpiOutput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Automatically generated identifier for the KPI.\"),\n name: z.string().describe(\"The name of the KPI (max 100 characters).\"),\n icon_id: z.number().int().describe(\"The ID of the icon assigned to the KPI (16-bit integer).\").nullable().optional(),\n unit_id: z.number().int().describe(\"The ID of the unit of measure assigned to the KPI.\").nullable().optional(),\n is_active: z.boolean().describe(\"Whether the KPI accepts data entries.\").nullable().optional(),\n created_at: z.string().describe(\"UTC timestamp of creation.\").nullable().optional(),\n sort_order: z.number().int().describe(\"Display ordering of the KPI (16-bit integer).\").nullable().optional(),\n updated_at: z.string().describe(\"UTC timestamp of last modification.\").nullable().optional(),\n category_id: z.number().int().describe(\"The identifier of the category containing the KPI.\"),\n description: z.string().describe(\"Optional explanation of the KPI (max 150 characters).\").nullable().optional(),\n frequency_id: z.string().describe(\"The ID of the frequency of data entry for the KPI. This field is case sensitive.\").nullable().optional(),\n is_calculated: z.boolean().describe(\"Calculated KPIs cannot be amended via the API.\").nullable().optional(),\n target_default: z.union([z.number(), z.string()]).nullable().optional(),\n value_direction: z.string().describe(\"Direction indicator: U(p), D(own), or N(one).\").nullable().optional(),\n aggregate_function: z.string().describe(\"Calculation method: AVG or SUM (max 3 characters).\").nullable().optional(),\n}).describe(\"Response model for a specific KPI within a category.\");\n\nexport const simplekpiGetCategoryKpi = action(\"SIMPLEKPI_GET_CATEGORY_KPI\", {\n slug: \"simplekpi-get-category-kpi\",\n name: \"Get Category KPI\",\n description: \"Tool to retrieve a specific KPI within a category. Use when you need detailed information about a particular KPI including its name, description, target values, and configuration settings.\",\n input: SimplekpiGetCategoryKpiInput,\n output: SimplekpiGetCategoryKpiOutput,\n});\n"],"mappings":";;AA0BA,MAAa,0BAA0B,OAAO,8BAA8B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA1BwD,EAAE,OAAO;EACjE,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC;EAC9D,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C;CACrF,CAAC,CAAC,CAAC,SAAS,gEAuBH;CACP,QAvByD,EAAE,OAAO;EAClE,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD;EAC/E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;EACrE,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnH,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7G,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClF,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3G,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3F,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD;EAC3F,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9G,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1I,eAAe,EAAE,QAAQ,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1G,gBAAgB,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtE,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1G,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpH,CAAC,CAAC,CAAC,SAAS,sDAOF;AACV,CAAC"}
@@ -0,0 +1,26 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/get-group-item.ts
4
+ const SimplekpiGetGroupItemInput = zod.z.object({
5
+ id: zod.z.number().int().describe("The unique identifier of the item to retrieve."),
6
+ group_id: zod.z.number().int().describe("The identifier of the group containing the item.")
7
+ }).describe("Request model for retrieving a specific group item by ID.");
8
+ const SimplekpiGetGroupItemOutput = zod.z.object({
9
+ id: zod.z.number().int().describe("The unique identifier of the item, automatically assigned when created.").nullable().optional(),
10
+ name: zod.z.string().describe("The name of the item (max 100 characters).").nullable().optional(),
11
+ group_id: zod.z.number().int().describe("The identifier of the parent group.").nullable().optional(),
12
+ created_at: zod.z.string().describe("The UTC date and time the item was created.").nullable().optional(),
13
+ sort_order: zod.z.number().int().describe("The display order of the item within the group.").nullable().optional(),
14
+ updated_at: zod.z.string().describe("The UTC date and time of the last update of the item.").nullable().optional()
15
+ }).describe("Response model containing the details of a group item.");
16
+ const simplekpiGetGroupItem = require_action.action("SIMPLEKPI_GET_GROUP_ITEM", {
17
+ slug: "simplekpi-get-group-item",
18
+ name: "Get Group Item",
19
+ description: "Tool to retrieve a specific group item by ID. Use when you need to fetch details of a particular item within a group.",
20
+ input: SimplekpiGetGroupItemInput,
21
+ output: SimplekpiGetGroupItemOutput
22
+ });
23
+ //#endregion
24
+ exports.simplekpiGetGroupItem = simplekpiGetGroupItem;
25
+
26
+ //# sourceMappingURL=get-group-item.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-group-item.cjs","names":["z","action"],"sources":["../../src/actions/get-group-item.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplekpiGetGroupItemInput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"The unique identifier of the item to retrieve.\"),\n group_id: z.number().int().describe(\"The identifier of the group containing the item.\"),\n}).describe(\"Request model for retrieving a specific group item by ID.\");\nexport const SimplekpiGetGroupItemOutput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"The unique identifier of the item, automatically assigned when created.\").nullable().optional(),\n name: z.string().describe(\"The name of the item (max 100 characters).\").nullable().optional(),\n group_id: z.number().int().describe(\"The identifier of the parent group.\").nullable().optional(),\n created_at: z.string().describe(\"The UTC date and time the item was created.\").nullable().optional(),\n sort_order: z.number().int().describe(\"The display order of the item within the group.\").nullable().optional(),\n updated_at: z.string().describe(\"The UTC date and time of the last update of the item.\").nullable().optional(),\n}).describe(\"Response model containing the details of a group item.\");\n\nexport const simplekpiGetGroupItem = action(\"SIMPLEKPI_GET_GROUP_ITEM\", {\n slug: \"simplekpi-get-group-item\",\n name: \"Get Group Item\",\n description: \"Tool to retrieve a specific group item by ID. Use when you need to fetch details of a particular item within a group.\",\n input: SimplekpiGetGroupItemInput,\n output: SimplekpiGetGroupItemOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA2CA,IAAAA,EAAE,OAAO;CAC/D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD;CAC9E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD;AACxF,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAa,8BAA4CA,IAAAA,EAAE,OAAO;CAChE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7H,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/G,CAAC,CAAC,CAAC,SAAS,wDAAwD;AAEpE,MAAa,wBAAwBC,eAAAA,OAAO,4BAA4B;CACtE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-group-item.d.ts
4
+ declare const SimplekpiGetGroupItemInput: z.ZodTypeAny;
5
+ declare const SimplekpiGetGroupItemOutput: z.ZodTypeAny;
6
+ declare const simplekpiGetGroupItem: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { simplekpiGetGroupItem };
9
+ //# sourceMappingURL=get-group-item.d.cts.map