@keystrokehq/simplekpi 0.1.4 → 0.1.6

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 (421) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/add-user-group-item.cjs +1 -0
  4. package/dist/actions/add-user-group-item.cjs.map +1 -1
  5. package/dist/actions/add-user-group-item.d.cts +3 -4
  6. package/dist/actions/add-user-group-item.d.cts.map +1 -1
  7. package/dist/actions/add-user-group-item.d.mts +3 -4
  8. package/dist/actions/add-user-group-item.d.mts.map +1 -1
  9. package/dist/actions/add-user-group-item.mjs +1 -0
  10. package/dist/actions/add-user-group-item.mjs.map +1 -1
  11. package/dist/actions/add-user-kpi.cjs +1 -0
  12. package/dist/actions/add-user-kpi.cjs.map +1 -1
  13. package/dist/actions/add-user-kpi.d.cts +3 -6
  14. package/dist/actions/add-user-kpi.d.cts.map +1 -1
  15. package/dist/actions/add-user-kpi.d.mts +3 -6
  16. package/dist/actions/add-user-kpi.d.mts.map +1 -1
  17. package/dist/actions/add-user-kpi.mjs +1 -0
  18. package/dist/actions/add-user-kpi.mjs.map +1 -1
  19. package/dist/actions/create-category-kpi.cjs +1 -0
  20. package/dist/actions/create-category-kpi.cjs.map +1 -1
  21. package/dist/actions/create-category-kpi.d.cts +3 -11
  22. package/dist/actions/create-category-kpi.d.cts.map +1 -1
  23. package/dist/actions/create-category-kpi.d.mts +3 -11
  24. package/dist/actions/create-category-kpi.d.mts.map +1 -1
  25. package/dist/actions/create-category-kpi.mjs +1 -0
  26. package/dist/actions/create-category-kpi.mjs.map +1 -1
  27. package/dist/actions/create-group-item.cjs +1 -0
  28. package/dist/actions/create-group-item.cjs.map +1 -1
  29. package/dist/actions/create-group-item.d.cts +3 -5
  30. package/dist/actions/create-group-item.d.cts.map +1 -1
  31. package/dist/actions/create-group-item.d.mts +3 -5
  32. package/dist/actions/create-group-item.d.mts.map +1 -1
  33. package/dist/actions/create-group-item.mjs +1 -0
  34. package/dist/actions/create-group-item.mjs.map +1 -1
  35. package/dist/actions/create-group.cjs +1 -0
  36. package/dist/actions/create-group.cjs.map +1 -1
  37. package/dist/actions/create-group.d.cts +3 -4
  38. package/dist/actions/create-group.d.cts.map +1 -1
  39. package/dist/actions/create-group.d.mts +3 -4
  40. package/dist/actions/create-group.d.mts.map +1 -1
  41. package/dist/actions/create-group.mjs +1 -0
  42. package/dist/actions/create-group.mjs.map +1 -1
  43. package/dist/actions/create-kpi-category.cjs +1 -0
  44. package/dist/actions/create-kpi-category.cjs.map +1 -1
  45. package/dist/actions/create-kpi-category.d.cts +3 -4
  46. package/dist/actions/create-kpi-category.d.cts.map +1 -1
  47. package/dist/actions/create-kpi-category.d.mts +3 -4
  48. package/dist/actions/create-kpi-category.d.mts.map +1 -1
  49. package/dist/actions/create-kpi-category.mjs +1 -0
  50. package/dist/actions/create-kpi-category.mjs.map +1 -1
  51. package/dist/actions/create-kpi-unit.cjs +1 -0
  52. package/dist/actions/create-kpi-unit.cjs.map +1 -1
  53. package/dist/actions/create-kpi-unit.d.cts +3 -6
  54. package/dist/actions/create-kpi-unit.d.cts.map +1 -1
  55. package/dist/actions/create-kpi-unit.d.mts +3 -6
  56. package/dist/actions/create-kpi-unit.d.mts.map +1 -1
  57. package/dist/actions/create-kpi-unit.mjs +1 -0
  58. package/dist/actions/create-kpi-unit.mjs.map +1 -1
  59. package/dist/actions/create-kpi.cjs +1 -0
  60. package/dist/actions/create-kpi.cjs.map +1 -1
  61. package/dist/actions/create-kpi.d.cts +3 -11
  62. package/dist/actions/create-kpi.d.cts.map +1 -1
  63. package/dist/actions/create-kpi.d.mts +3 -11
  64. package/dist/actions/create-kpi.d.mts.map +1 -1
  65. package/dist/actions/create-kpi.mjs +1 -0
  66. package/dist/actions/create-kpi.mjs.map +1 -1
  67. package/dist/actions/create-or-update-kpi-entries.cjs +1 -0
  68. package/dist/actions/create-or-update-kpi-entries.cjs.map +1 -1
  69. package/dist/actions/create-or-update-kpi-entries.d.cts +3 -19
  70. package/dist/actions/create-or-update-kpi-entries.d.cts.map +1 -1
  71. package/dist/actions/create-or-update-kpi-entries.d.mts +3 -19
  72. package/dist/actions/create-or-update-kpi-entries.d.mts.map +1 -1
  73. package/dist/actions/create-or-update-kpi-entries.mjs +1 -0
  74. package/dist/actions/create-or-update-kpi-entries.mjs.map +1 -1
  75. package/dist/actions/create-user.cjs +1 -0
  76. package/dist/actions/create-user.cjs.map +1 -1
  77. package/dist/actions/create-user.d.cts +3 -10
  78. package/dist/actions/create-user.d.cts.map +1 -1
  79. package/dist/actions/create-user.d.mts +3 -10
  80. package/dist/actions/create-user.d.mts.map +1 -1
  81. package/dist/actions/create-user.mjs +1 -0
  82. package/dist/actions/create-user.mjs.map +1 -1
  83. package/dist/actions/delete-category-kpi.cjs +1 -0
  84. package/dist/actions/delete-category-kpi.cjs.map +1 -1
  85. package/dist/actions/delete-category-kpi.d.cts +3 -4
  86. package/dist/actions/delete-category-kpi.d.cts.map +1 -1
  87. package/dist/actions/delete-category-kpi.d.mts +3 -4
  88. package/dist/actions/delete-category-kpi.d.mts.map +1 -1
  89. package/dist/actions/delete-category-kpi.mjs +1 -0
  90. package/dist/actions/delete-category-kpi.mjs.map +1 -1
  91. package/dist/actions/delete-group-item.cjs +1 -0
  92. package/dist/actions/delete-group-item.cjs.map +1 -1
  93. package/dist/actions/delete-group-item.d.cts +3 -4
  94. package/dist/actions/delete-group-item.d.cts.map +1 -1
  95. package/dist/actions/delete-group-item.d.mts +3 -4
  96. package/dist/actions/delete-group-item.d.mts.map +1 -1
  97. package/dist/actions/delete-group-item.mjs +1 -0
  98. package/dist/actions/delete-group-item.mjs.map +1 -1
  99. package/dist/actions/delete-group.cjs +1 -0
  100. package/dist/actions/delete-group.cjs.map +1 -1
  101. package/dist/actions/delete-group.d.cts +3 -3
  102. package/dist/actions/delete-group.d.cts.map +1 -1
  103. package/dist/actions/delete-group.d.mts +3 -3
  104. package/dist/actions/delete-group.d.mts.map +1 -1
  105. package/dist/actions/delete-group.mjs +1 -0
  106. package/dist/actions/delete-group.mjs.map +1 -1
  107. package/dist/actions/delete-kpi-category.cjs +1 -0
  108. package/dist/actions/delete-kpi-category.cjs.map +1 -1
  109. package/dist/actions/delete-kpi-category.d.cts +3 -3
  110. package/dist/actions/delete-kpi-category.d.cts.map +1 -1
  111. package/dist/actions/delete-kpi-category.d.mts +3 -3
  112. package/dist/actions/delete-kpi-category.d.mts.map +1 -1
  113. package/dist/actions/delete-kpi-category.mjs +1 -0
  114. package/dist/actions/delete-kpi-category.mjs.map +1 -1
  115. package/dist/actions/delete-kpi-entry.cjs +1 -0
  116. package/dist/actions/delete-kpi-entry.cjs.map +1 -1
  117. package/dist/actions/delete-kpi-entry.d.cts +3 -3
  118. package/dist/actions/delete-kpi-entry.d.cts.map +1 -1
  119. package/dist/actions/delete-kpi-entry.d.mts +3 -3
  120. package/dist/actions/delete-kpi-entry.d.mts.map +1 -1
  121. package/dist/actions/delete-kpi-entry.mjs +1 -0
  122. package/dist/actions/delete-kpi-entry.mjs.map +1 -1
  123. package/dist/actions/delete-kpi-unit.cjs +1 -0
  124. package/dist/actions/delete-kpi-unit.cjs.map +1 -1
  125. package/dist/actions/delete-kpi-unit.d.cts +3 -3
  126. package/dist/actions/delete-kpi-unit.d.cts.map +1 -1
  127. package/dist/actions/delete-kpi-unit.d.mts +3 -3
  128. package/dist/actions/delete-kpi-unit.d.mts.map +1 -1
  129. package/dist/actions/delete-kpi-unit.mjs +1 -0
  130. package/dist/actions/delete-kpi-unit.mjs.map +1 -1
  131. package/dist/actions/delete-kpi.cjs +1 -0
  132. package/dist/actions/delete-kpi.cjs.map +1 -1
  133. package/dist/actions/delete-kpi.d.cts +3 -3
  134. package/dist/actions/delete-kpi.d.cts.map +1 -1
  135. package/dist/actions/delete-kpi.d.mts +3 -3
  136. package/dist/actions/delete-kpi.d.mts.map +1 -1
  137. package/dist/actions/delete-kpi.mjs +1 -0
  138. package/dist/actions/delete-kpi.mjs.map +1 -1
  139. package/dist/actions/delete-user-group-item.cjs +1 -0
  140. package/dist/actions/delete-user-group-item.cjs.map +1 -1
  141. package/dist/actions/delete-user-group-item.d.cts +3 -4
  142. package/dist/actions/delete-user-group-item.d.cts.map +1 -1
  143. package/dist/actions/delete-user-group-item.d.mts +3 -4
  144. package/dist/actions/delete-user-group-item.d.mts.map +1 -1
  145. package/dist/actions/delete-user-group-item.mjs +1 -0
  146. package/dist/actions/delete-user-group-item.mjs.map +1 -1
  147. package/dist/actions/delete-user-kpi.cjs +1 -0
  148. package/dist/actions/delete-user-kpi.cjs.map +1 -1
  149. package/dist/actions/delete-user-kpi.d.cts +3 -4
  150. package/dist/actions/delete-user-kpi.d.cts.map +1 -1
  151. package/dist/actions/delete-user-kpi.d.mts +3 -4
  152. package/dist/actions/delete-user-kpi.d.mts.map +1 -1
  153. package/dist/actions/delete-user-kpi.mjs +1 -0
  154. package/dist/actions/delete-user-kpi.mjs.map +1 -1
  155. package/dist/actions/delete-user.cjs +1 -0
  156. package/dist/actions/delete-user.cjs.map +1 -1
  157. package/dist/actions/delete-user.d.cts +3 -3
  158. package/dist/actions/delete-user.d.cts.map +1 -1
  159. package/dist/actions/delete-user.d.mts +3 -3
  160. package/dist/actions/delete-user.d.mts.map +1 -1
  161. package/dist/actions/delete-user.mjs +1 -0
  162. package/dist/actions/delete-user.mjs.map +1 -1
  163. package/dist/actions/get-all-data-entries.cjs +1 -0
  164. package/dist/actions/get-all-data-entries.cjs.map +1 -1
  165. package/dist/actions/get-all-data-entries.d.cts +3 -7
  166. package/dist/actions/get-all-data-entries.d.cts.map +1 -1
  167. package/dist/actions/get-all-data-entries.d.mts +3 -7
  168. package/dist/actions/get-all-data-entries.d.mts.map +1 -1
  169. package/dist/actions/get-all-data-entries.mjs +1 -0
  170. package/dist/actions/get-all-data-entries.mjs.map +1 -1
  171. package/dist/actions/get-category-kpi.cjs +1 -0
  172. package/dist/actions/get-category-kpi.cjs.map +1 -1
  173. package/dist/actions/get-category-kpi.d.cts +3 -4
  174. package/dist/actions/get-category-kpi.d.cts.map +1 -1
  175. package/dist/actions/get-category-kpi.d.mts +3 -4
  176. package/dist/actions/get-category-kpi.d.mts.map +1 -1
  177. package/dist/actions/get-category-kpi.mjs +1 -0
  178. package/dist/actions/get-category-kpi.mjs.map +1 -1
  179. package/dist/actions/get-group-item.cjs +1 -0
  180. package/dist/actions/get-group-item.cjs.map +1 -1
  181. package/dist/actions/get-group-item.d.cts +3 -4
  182. package/dist/actions/get-group-item.d.cts.map +1 -1
  183. package/dist/actions/get-group-item.d.mts +3 -4
  184. package/dist/actions/get-group-item.d.mts.map +1 -1
  185. package/dist/actions/get-group-item.mjs +1 -0
  186. package/dist/actions/get-group-item.mjs.map +1 -1
  187. package/dist/actions/get-group.cjs +1 -0
  188. package/dist/actions/get-group.cjs.map +1 -1
  189. package/dist/actions/get-group.d.cts +3 -3
  190. package/dist/actions/get-group.d.cts.map +1 -1
  191. package/dist/actions/get-group.d.mts +3 -3
  192. package/dist/actions/get-group.d.mts.map +1 -1
  193. package/dist/actions/get-group.mjs +1 -0
  194. package/dist/actions/get-group.mjs.map +1 -1
  195. package/dist/actions/get-kpi-category.cjs +1 -0
  196. package/dist/actions/get-kpi-category.cjs.map +1 -1
  197. package/dist/actions/get-kpi-category.d.cts +3 -3
  198. package/dist/actions/get-kpi-category.d.cts.map +1 -1
  199. package/dist/actions/get-kpi-category.d.mts +3 -3
  200. package/dist/actions/get-kpi-category.d.mts.map +1 -1
  201. package/dist/actions/get-kpi-category.mjs +1 -0
  202. package/dist/actions/get-kpi-category.mjs.map +1 -1
  203. package/dist/actions/get-kpi-entry.cjs +1 -0
  204. package/dist/actions/get-kpi-entry.cjs.map +1 -1
  205. package/dist/actions/get-kpi-entry.d.cts +3 -3
  206. package/dist/actions/get-kpi-entry.d.cts.map +1 -1
  207. package/dist/actions/get-kpi-entry.d.mts +3 -3
  208. package/dist/actions/get-kpi-entry.d.mts.map +1 -1
  209. package/dist/actions/get-kpi-entry.mjs +1 -0
  210. package/dist/actions/get-kpi-entry.mjs.map +1 -1
  211. package/dist/actions/get-kpi-frequency.cjs +1 -0
  212. package/dist/actions/get-kpi-frequency.cjs.map +1 -1
  213. package/dist/actions/get-kpi-frequency.d.cts +3 -3
  214. package/dist/actions/get-kpi-frequency.d.cts.map +1 -1
  215. package/dist/actions/get-kpi-frequency.d.mts +3 -3
  216. package/dist/actions/get-kpi-frequency.d.mts.map +1 -1
  217. package/dist/actions/get-kpi-frequency.mjs +1 -0
  218. package/dist/actions/get-kpi-frequency.mjs.map +1 -1
  219. package/dist/actions/get-kpi-icon.cjs +1 -0
  220. package/dist/actions/get-kpi-icon.cjs.map +1 -1
  221. package/dist/actions/get-kpi-icon.d.cts +3 -3
  222. package/dist/actions/get-kpi-icon.d.cts.map +1 -1
  223. package/dist/actions/get-kpi-icon.d.mts +3 -3
  224. package/dist/actions/get-kpi-icon.d.mts.map +1 -1
  225. package/dist/actions/get-kpi-icon.mjs +1 -0
  226. package/dist/actions/get-kpi-icon.mjs.map +1 -1
  227. package/dist/actions/get-kpi-unit.cjs +1 -0
  228. package/dist/actions/get-kpi-unit.cjs.map +1 -1
  229. package/dist/actions/get-kpi-unit.d.cts +3 -3
  230. package/dist/actions/get-kpi-unit.d.cts.map +1 -1
  231. package/dist/actions/get-kpi-unit.d.mts +3 -3
  232. package/dist/actions/get-kpi-unit.d.mts.map +1 -1
  233. package/dist/actions/get-kpi-unit.mjs +1 -0
  234. package/dist/actions/get-kpi-unit.mjs.map +1 -1
  235. package/dist/actions/get-kpi.cjs +1 -0
  236. package/dist/actions/get-kpi.cjs.map +1 -1
  237. package/dist/actions/get-kpi.d.cts +3 -3
  238. package/dist/actions/get-kpi.d.cts.map +1 -1
  239. package/dist/actions/get-kpi.d.mts +3 -3
  240. package/dist/actions/get-kpi.d.mts.map +1 -1
  241. package/dist/actions/get-kpi.mjs +1 -0
  242. package/dist/actions/get-kpi.mjs.map +1 -1
  243. package/dist/actions/get-user-group-item.cjs +1 -0
  244. package/dist/actions/get-user-group-item.cjs.map +1 -1
  245. package/dist/actions/get-user-group-item.d.cts +3 -4
  246. package/dist/actions/get-user-group-item.d.cts.map +1 -1
  247. package/dist/actions/get-user-group-item.d.mts +3 -4
  248. package/dist/actions/get-user-group-item.d.mts.map +1 -1
  249. package/dist/actions/get-user-group-item.mjs +1 -0
  250. package/dist/actions/get-user-group-item.mjs.map +1 -1
  251. package/dist/actions/get-user-kpi.cjs +1 -0
  252. package/dist/actions/get-user-kpi.cjs.map +1 -1
  253. package/dist/actions/get-user-kpi.d.cts +3 -4
  254. package/dist/actions/get-user-kpi.d.cts.map +1 -1
  255. package/dist/actions/get-user-kpi.d.mts +3 -4
  256. package/dist/actions/get-user-kpi.d.mts.map +1 -1
  257. package/dist/actions/get-user-kpi.mjs +1 -0
  258. package/dist/actions/get-user-kpi.mjs.map +1 -1
  259. package/dist/actions/get-user.cjs +1 -0
  260. package/dist/actions/get-user.cjs.map +1 -1
  261. package/dist/actions/get-user.d.cts +3 -3
  262. package/dist/actions/get-user.d.cts.map +1 -1
  263. package/dist/actions/get-user.d.mts +3 -3
  264. package/dist/actions/get-user.d.mts.map +1 -1
  265. package/dist/actions/get-user.mjs +1 -0
  266. package/dist/actions/get-user.mjs.map +1 -1
  267. package/dist/actions/list-category-kpis.cjs +1 -0
  268. package/dist/actions/list-category-kpis.cjs.map +1 -1
  269. package/dist/actions/list-category-kpis.d.cts +3 -3
  270. package/dist/actions/list-category-kpis.d.cts.map +1 -1
  271. package/dist/actions/list-category-kpis.d.mts +3 -3
  272. package/dist/actions/list-category-kpis.d.mts.map +1 -1
  273. package/dist/actions/list-category-kpis.mjs +1 -0
  274. package/dist/actions/list-category-kpis.mjs.map +1 -1
  275. package/dist/actions/list-group-items.cjs +1 -0
  276. package/dist/actions/list-group-items.cjs.map +1 -1
  277. package/dist/actions/list-group-items.d.cts +3 -3
  278. package/dist/actions/list-group-items.d.cts.map +1 -1
  279. package/dist/actions/list-group-items.d.mts +3 -3
  280. package/dist/actions/list-group-items.d.mts.map +1 -1
  281. package/dist/actions/list-group-items.mjs +1 -0
  282. package/dist/actions/list-group-items.mjs.map +1 -1
  283. package/dist/actions/list-groups.cjs +1 -0
  284. package/dist/actions/list-groups.cjs.map +1 -1
  285. package/dist/actions/list-groups.d.cts +3 -1
  286. package/dist/actions/list-groups.d.cts.map +1 -1
  287. package/dist/actions/list-groups.d.mts +3 -1
  288. package/dist/actions/list-groups.d.mts.map +1 -1
  289. package/dist/actions/list-groups.mjs +1 -0
  290. package/dist/actions/list-groups.mjs.map +1 -1
  291. package/dist/actions/list-kpi-categories.cjs +1 -0
  292. package/dist/actions/list-kpi-categories.cjs.map +1 -1
  293. package/dist/actions/list-kpi-categories.d.cts +3 -1
  294. package/dist/actions/list-kpi-categories.d.cts.map +1 -1
  295. package/dist/actions/list-kpi-categories.d.mts +3 -1
  296. package/dist/actions/list-kpi-categories.d.mts.map +1 -1
  297. package/dist/actions/list-kpi-categories.mjs +1 -0
  298. package/dist/actions/list-kpi-categories.mjs.map +1 -1
  299. package/dist/actions/list-kpi-entries.cjs +1 -0
  300. package/dist/actions/list-kpi-entries.cjs.map +1 -1
  301. package/dist/actions/list-kpi-entries.d.cts +3 -8
  302. package/dist/actions/list-kpi-entries.d.cts.map +1 -1
  303. package/dist/actions/list-kpi-entries.d.mts +3 -8
  304. package/dist/actions/list-kpi-entries.d.mts.map +1 -1
  305. package/dist/actions/list-kpi-entries.mjs +1 -0
  306. package/dist/actions/list-kpi-entries.mjs.map +1 -1
  307. package/dist/actions/list-kpi-frequencies.cjs +1 -0
  308. package/dist/actions/list-kpi-frequencies.cjs.map +1 -1
  309. package/dist/actions/list-kpi-frequencies.d.cts +3 -1
  310. package/dist/actions/list-kpi-frequencies.d.cts.map +1 -1
  311. package/dist/actions/list-kpi-frequencies.d.mts +3 -1
  312. package/dist/actions/list-kpi-frequencies.d.mts.map +1 -1
  313. package/dist/actions/list-kpi-frequencies.mjs +1 -0
  314. package/dist/actions/list-kpi-frequencies.mjs.map +1 -1
  315. package/dist/actions/list-kpi-icons.cjs +1 -0
  316. package/dist/actions/list-kpi-icons.cjs.map +1 -1
  317. package/dist/actions/list-kpi-icons.d.cts +3 -1
  318. package/dist/actions/list-kpi-icons.d.cts.map +1 -1
  319. package/dist/actions/list-kpi-icons.d.mts +3 -1
  320. package/dist/actions/list-kpi-icons.d.mts.map +1 -1
  321. package/dist/actions/list-kpi-icons.mjs +1 -0
  322. package/dist/actions/list-kpi-icons.mjs.map +1 -1
  323. package/dist/actions/list-kpi-units.cjs +1 -0
  324. package/dist/actions/list-kpi-units.cjs.map +1 -1
  325. package/dist/actions/list-kpi-units.d.cts +3 -1
  326. package/dist/actions/list-kpi-units.d.cts.map +1 -1
  327. package/dist/actions/list-kpi-units.d.mts +3 -1
  328. package/dist/actions/list-kpi-units.d.mts.map +1 -1
  329. package/dist/actions/list-kpi-units.mjs +1 -0
  330. package/dist/actions/list-kpi-units.mjs.map +1 -1
  331. package/dist/actions/list-kpis.cjs +1 -0
  332. package/dist/actions/list-kpis.cjs.map +1 -1
  333. package/dist/actions/list-kpis.d.cts +3 -1
  334. package/dist/actions/list-kpis.d.cts.map +1 -1
  335. package/dist/actions/list-kpis.d.mts +3 -1
  336. package/dist/actions/list-kpis.d.mts.map +1 -1
  337. package/dist/actions/list-kpis.mjs +1 -0
  338. package/dist/actions/list-kpis.mjs.map +1 -1
  339. package/dist/actions/list-user-group-items.cjs +1 -0
  340. package/dist/actions/list-user-group-items.cjs.map +1 -1
  341. package/dist/actions/list-user-group-items.d.cts +3 -3
  342. package/dist/actions/list-user-group-items.d.cts.map +1 -1
  343. package/dist/actions/list-user-group-items.d.mts +3 -3
  344. package/dist/actions/list-user-group-items.d.mts.map +1 -1
  345. package/dist/actions/list-user-group-items.mjs +1 -0
  346. package/dist/actions/list-user-group-items.mjs.map +1 -1
  347. package/dist/actions/list-user-kpis.cjs +1 -0
  348. package/dist/actions/list-user-kpis.cjs.map +1 -1
  349. package/dist/actions/list-user-kpis.d.cts +3 -3
  350. package/dist/actions/list-user-kpis.d.cts.map +1 -1
  351. package/dist/actions/list-user-kpis.d.mts +3 -3
  352. package/dist/actions/list-user-kpis.d.mts.map +1 -1
  353. package/dist/actions/list-user-kpis.mjs +1 -0
  354. package/dist/actions/list-user-kpis.mjs.map +1 -1
  355. package/dist/actions/update-category-kpi.cjs +1 -0
  356. package/dist/actions/update-category-kpi.cjs.map +1 -1
  357. package/dist/actions/update-category-kpi.d.cts +3 -14
  358. package/dist/actions/update-category-kpi.d.cts.map +1 -1
  359. package/dist/actions/update-category-kpi.d.mts +3 -14
  360. package/dist/actions/update-category-kpi.d.mts.map +1 -1
  361. package/dist/actions/update-category-kpi.mjs +1 -0
  362. package/dist/actions/update-category-kpi.mjs.map +1 -1
  363. package/dist/actions/update-group-item.cjs +1 -0
  364. package/dist/actions/update-group-item.cjs.map +1 -1
  365. package/dist/actions/update-group-item.d.cts +3 -6
  366. package/dist/actions/update-group-item.d.cts.map +1 -1
  367. package/dist/actions/update-group-item.d.mts +3 -6
  368. package/dist/actions/update-group-item.d.mts.map +1 -1
  369. package/dist/actions/update-group-item.mjs +1 -0
  370. package/dist/actions/update-group-item.mjs.map +1 -1
  371. package/dist/actions/update-group.cjs +1 -0
  372. package/dist/actions/update-group.cjs.map +1 -1
  373. package/dist/actions/update-group.d.cts +3 -5
  374. package/dist/actions/update-group.d.cts.map +1 -1
  375. package/dist/actions/update-group.d.mts +3 -5
  376. package/dist/actions/update-group.d.mts.map +1 -1
  377. package/dist/actions/update-group.mjs +1 -0
  378. package/dist/actions/update-group.mjs.map +1 -1
  379. package/dist/actions/update-kpi-entry.cjs +1 -0
  380. package/dist/actions/update-kpi-entry.cjs.map +1 -1
  381. package/dist/actions/update-kpi-entry.d.cts +3 -9
  382. package/dist/actions/update-kpi-entry.d.cts.map +1 -1
  383. package/dist/actions/update-kpi-entry.d.mts +3 -9
  384. package/dist/actions/update-kpi-entry.d.mts.map +1 -1
  385. package/dist/actions/update-kpi-entry.mjs +1 -0
  386. package/dist/actions/update-kpi-entry.mjs.map +1 -1
  387. package/dist/actions/update-kpi-unit.cjs +1 -0
  388. package/dist/actions/update-kpi-unit.cjs.map +1 -1
  389. package/dist/actions/update-kpi-unit.d.cts +3 -7
  390. package/dist/actions/update-kpi-unit.d.cts.map +1 -1
  391. package/dist/actions/update-kpi-unit.d.mts +3 -7
  392. package/dist/actions/update-kpi-unit.d.mts.map +1 -1
  393. package/dist/actions/update-kpi-unit.mjs +1 -0
  394. package/dist/actions/update-kpi-unit.mjs.map +1 -1
  395. package/dist/actions/update-kpi.cjs +1 -0
  396. package/dist/actions/update-kpi.cjs.map +1 -1
  397. package/dist/actions/update-kpi.d.cts +3 -14
  398. package/dist/actions/update-kpi.d.cts.map +1 -1
  399. package/dist/actions/update-kpi.d.mts +3 -14
  400. package/dist/actions/update-kpi.d.mts.map +1 -1
  401. package/dist/actions/update-kpi.mjs +1 -0
  402. package/dist/actions/update-kpi.mjs.map +1 -1
  403. package/dist/actions/update-user.cjs +1 -0
  404. package/dist/actions/update-user.cjs.map +1 -1
  405. package/dist/actions/update-user.d.cts +3 -10
  406. package/dist/actions/update-user.d.cts.map +1 -1
  407. package/dist/actions/update-user.d.mts +3 -10
  408. package/dist/actions/update-user.d.mts.map +1 -1
  409. package/dist/actions/update-user.mjs +1 -0
  410. package/dist/actions/update-user.mjs.map +1 -1
  411. package/dist/app.cjs +12 -2
  412. package/dist/app.cjs.map +1 -1
  413. package/dist/app.d.cts +11 -1
  414. package/dist/app.d.cts.map +1 -1
  415. package/dist/app.d.mts +11 -1
  416. package/dist/app.d.mts.map +1 -1
  417. package/dist/app.mjs +9 -2
  418. package/dist/app.mjs.map +1 -1
  419. package/dist/index.d.cts +1 -1
  420. package/dist/index.d.mts +1 -1
  421. package/package.json +2 -2
@@ -1,3 +1,5 @@
1
+ import { simplekpi } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/delete-user-group-item.d.ts
@@ -8,10 +10,7 @@ declare const SimplekpiDeleteUserGroupItemInput: z.ZodObject<{
8
10
  declare const SimplekpiDeleteUserGroupItemOutput: z.ZodObject<{
9
11
  success: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
10
12
  }, z.core.$loose>;
11
- declare const simplekpiDeleteUserGroupItem: import("@keystrokehq/action").WorkflowActionDefinition<{
12
- id: number;
13
- user_id: number;
14
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
13
+ declare const simplekpiDeleteUserGroupItem: AppAction<typeof SimplekpiDeleteUserGroupItemInput, typeof SimplekpiDeleteUserGroupItemOutput, typeof simplekpi.credential>;
15
14
  //#endregion
16
15
  export { simplekpiDeleteUserGroupItem };
17
16
  //# sourceMappingURL=delete-user-group-item.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"delete-user-group-item.d.mts","names":[],"sources":["../../src/actions/delete-user-group-item.ts"],"mappings":";;;cAIa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;cAIjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;cAIlC,4BAAA,gCAA4B,wBAAA"}
1
+ {"version":3,"file":"delete-user-group-item.d.mts","names":[],"sources":["../../src/actions/delete-user-group-item.ts"],"mappings":";;;;;cAMa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;cAIjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;cAIlC,4BAAA,EAA8B,SAAA,QAClC,iCAAA,SACA,kCAAA,SACA,SAAA,CAAU,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const simplekpiDeleteUserGroupItem = action("SIMPLEKPI_DELETE_USER_GROUP_ITEM", {
@@ -1 +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.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.object({\n success: z.boolean().default(true).describe(\"Indicates the delete operation was successful.\").nullable().optional(),\n}).passthrough().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,OAZ+C,EAAE,OAAO;EACxD,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,QATgD,EAAE,OAAO,EACzD,SAAS,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACpH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"delete-user-group-item.mjs","names":[],"sources":["../../src/actions/delete-user-group-item.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { simplekpi } from \"../app\";\n\nexport const SimplekpiDeleteUserGroupItemInput = 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.object({\n success: z.boolean().default(true).describe(\"Indicates the delete operation was successful.\").nullable().optional(),\n}).passthrough().describe(\"Response model for delete user group item operation.\");\n\nexport const simplekpiDeleteUserGroupItem: AppAction<\n typeof SimplekpiDeleteUserGroupItemInput,\n typeof SimplekpiDeleteUserGroupItemOutput,\n typeof simplekpi.credential\n> = 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":";;;AAcA,MAAa,+BAIT,OAAO,oCAAoC;CAC7C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhB+C,EAAE,OAAO;EACxD,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,0DAaH;CACP,QAbgD,EAAE,OAAO,EACzD,SAAS,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACpH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/delete-user-kpi.ts
@@ -1 +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.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.object({\n message: z.string().describe(\"Status message describing the outcome of the operation\").nullable(),\n success: z.boolean().describe(\"Indicates if the KPI assignment was successfully removed\").nullable(),\n}).passthrough().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,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,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,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CAChG,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;AACrG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AAEtE,MAAa,yBAAyBC,eAAAA,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"delete-user-kpi.cjs","names":["z","action"],"sources":["../../src/actions/delete-user-kpi.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { simplekpi } from \"../app\";\n\nexport const SimplekpiDeleteUserKpiInput = 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.object({\n message: z.string().describe(\"Status message describing the outcome of the operation\").nullable(),\n success: z.boolean().describe(\"Indicates if the KPI assignment was successfully removed\").nullable(),\n}).passthrough().describe(\"Response model for delete user KPI action.\");\n\nexport const simplekpiDeleteUserKpi: AppAction<\n typeof SimplekpiDeleteUserKpiInput,\n typeof SimplekpiDeleteUserKpiOutput,\n typeof simplekpi.credential\n> = 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":";;;;AAMA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,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,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CAChG,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;AACrG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AAEtE,MAAa,yBAITC,eAAAA,OAAO,6BAA6B;CACtC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { simplekpi } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/delete-user-kpi.d.ts
@@ -9,10 +11,7 @@ declare const SimplekpiDeleteUserKpiOutput: z.ZodObject<{
9
11
  message: z.ZodNullable<z.ZodString>;
10
12
  success: z.ZodNullable<z.ZodBoolean>;
11
13
  }, z.core.$loose>;
12
- declare const simplekpiDeleteUserKpi: import("@keystrokehq/action").WorkflowActionDefinition<{
13
- id: number;
14
- user_id: number;
15
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
14
+ declare const simplekpiDeleteUserKpi: AppAction<typeof SimplekpiDeleteUserKpiInput, typeof SimplekpiDeleteUserKpiOutput, typeof simplekpi.credential>;
16
15
  //#endregion
17
16
  export { simplekpiDeleteUserKpi };
18
17
  //# sourceMappingURL=delete-user-kpi.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"delete-user-kpi.d.cts","names":[],"sources":["../../src/actions/delete-user-kpi.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;cAI3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;cAK5B,sBAAA,gCAAsB,wBAAA"}
1
+ {"version":3,"file":"delete-user-kpi.d.cts","names":[],"sources":["../../src/actions/delete-user-kpi.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;cAI3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;cAK5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,SACA,SAAA,CAAU,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { simplekpi } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/delete-user-kpi.d.ts
@@ -9,10 +11,7 @@ declare const SimplekpiDeleteUserKpiOutput: z.ZodObject<{
9
11
  message: z.ZodNullable<z.ZodString>;
10
12
  success: z.ZodNullable<z.ZodBoolean>;
11
13
  }, z.core.$loose>;
12
- declare const simplekpiDeleteUserKpi: import("@keystrokehq/action").WorkflowActionDefinition<{
13
- id: number;
14
- user_id: number;
15
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
14
+ declare const simplekpiDeleteUserKpi: AppAction<typeof SimplekpiDeleteUserKpiInput, typeof SimplekpiDeleteUserKpiOutput, typeof simplekpi.credential>;
16
15
  //#endregion
17
16
  export { simplekpiDeleteUserKpi };
18
17
  //# sourceMappingURL=delete-user-kpi.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"delete-user-kpi.d.mts","names":[],"sources":["../../src/actions/delete-user-kpi.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;cAI3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;cAK5B,sBAAA,gCAAsB,wBAAA"}
1
+ {"version":3,"file":"delete-user-kpi.d.mts","names":[],"sources":["../../src/actions/delete-user-kpi.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;cAI3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;cAK5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,SACA,SAAA,CAAU,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const simplekpiDeleteUserKpi = action("SIMPLEKPI_DELETE_USER_KPI", {
@@ -1 +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.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.object({\n message: z.string().describe(\"Status message describing the outcome of the operation\").nullable(),\n success: z.boolean().describe(\"Indicates if the KPI assignment was successfully removed\").nullable(),\n}).passthrough().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,OAbyC,EAAE,OAAO;EAClD,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,QAV0C,EAAE,OAAO;EACnD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;EAChG,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CACrG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"delete-user-kpi.mjs","names":[],"sources":["../../src/actions/delete-user-kpi.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { simplekpi } from \"../app\";\n\nexport const SimplekpiDeleteUserKpiInput = 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.object({\n message: z.string().describe(\"Status message describing the outcome of the operation\").nullable(),\n success: z.boolean().describe(\"Indicates if the KPI assignment was successfully removed\").nullable(),\n}).passthrough().describe(\"Response model for delete user KPI action.\");\n\nexport const simplekpiDeleteUserKpi: AppAction<\n typeof SimplekpiDeleteUserKpiInput,\n typeof SimplekpiDeleteUserKpiOutput,\n typeof simplekpi.credential\n> = 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":";;;AAeA,MAAa,yBAIT,OAAO,6BAA6B;CACtC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAjByC,EAAE,OAAO;EAClD,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,0DAcH;CACP,QAd0C,EAAE,OAAO;EACnD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;EAChG,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CACrG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/delete-user.ts
@@ -1 +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.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.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}).passthrough().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,2BAA2BA,IAAAA,EAAE,OAAO,EAC/C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mBAAmB,EACnD,CAAC,CAAC,CAAC,SAAS,0CAA0C;AACtD,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,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,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAElE,MAAa,sBAAsBC,eAAAA,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"delete-user.cjs","names":["z","action"],"sources":["../../src/actions/delete-user.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { simplekpi } from \"../app\";\n\nexport const SimplekpiDeleteUserInput = 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.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}).passthrough().describe(\"Response model for delete user action.\");\n\nexport const simplekpiDeleteUser: AppAction<\n typeof SimplekpiDeleteUserInput,\n typeof SimplekpiDeleteUserOutput,\n typeof simplekpi.credential\n> = 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":";;;;AAMA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO,EAC/C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mBAAmB,EACnD,CAAC,CAAC,CAAC,SAAS,0CAA0C;AACtD,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,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,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAElE,MAAa,sBAITC,eAAAA,OAAO,yBAAyB;CAClC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { simplekpi } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/delete-user.d.ts
@@ -8,9 +10,7 @@ declare const SimplekpiDeleteUserOutput: z.ZodObject<{
8
10
  message: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>;
9
11
  success: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
10
12
  }, z.core.$loose>;
11
- declare const simplekpiDeleteUser: import("@keystrokehq/action").WorkflowActionDefinition<{
12
- id: number;
13
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
13
+ declare const simplekpiDeleteUser: AppAction<typeof SimplekpiDeleteUserInput, typeof SimplekpiDeleteUserOutput, typeof simplekpi.credential>;
14
14
  //#endregion
15
15
  export { simplekpiDeleteUser };
16
16
  //# sourceMappingURL=delete-user.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"delete-user.d.cts","names":[],"sources":["../../src/actions/delete-user.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;cAGxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;cAKzB,mBAAA,gCAAmB,wBAAA"}
1
+ {"version":3,"file":"delete-user.d.cts","names":[],"sources":["../../src/actions/delete-user.ts"],"mappings":";;;;;cAMa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;cAGxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;cAKzB,mBAAA,EAAqB,SAAA,QACzB,wBAAA,SACA,yBAAA,SACA,SAAA,CAAU,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { simplekpi } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/delete-user.d.ts
@@ -8,9 +10,7 @@ declare const SimplekpiDeleteUserOutput: z.ZodObject<{
8
10
  message: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>;
9
11
  success: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
10
12
  }, z.core.$loose>;
11
- declare const simplekpiDeleteUser: import("@keystrokehq/action").WorkflowActionDefinition<{
12
- id: number;
13
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
13
+ declare const simplekpiDeleteUser: AppAction<typeof SimplekpiDeleteUserInput, typeof SimplekpiDeleteUserOutput, typeof simplekpi.credential>;
14
14
  //#endregion
15
15
  export { simplekpiDeleteUser };
16
16
  //# sourceMappingURL=delete-user.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"delete-user.d.mts","names":[],"sources":["../../src/actions/delete-user.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;cAGxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;cAKzB,mBAAA,gCAAmB,wBAAA"}
1
+ {"version":3,"file":"delete-user.d.mts","names":[],"sources":["../../src/actions/delete-user.ts"],"mappings":";;;;;cAMa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;cAGxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;cAKzB,mBAAA,EAAqB,SAAA,QACzB,wBAAA,SACA,yBAAA,SACA,SAAA,CAAU,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const simplekpiDeleteUser = action("SIMPLEKPI_DELETE_USER", {
@@ -1 +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.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.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}).passthrough().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,OAZsC,EAAE,OAAO,EAC/C,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mBAAmB,EACnD,CAAC,CAAC,CAAC,SAAS,0CAUH;CACP,QAVuC,EAAE,OAAO;EAChD,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,YAAY,CAAC,CAAC,SAAS,wCAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"delete-user.mjs","names":[],"sources":["../../src/actions/delete-user.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { simplekpi } from \"../app\";\n\nexport const SimplekpiDeleteUserInput = 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.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}).passthrough().describe(\"Response model for delete user action.\");\n\nexport const simplekpiDeleteUser: AppAction<\n typeof SimplekpiDeleteUserInput,\n typeof SimplekpiDeleteUserOutput,\n typeof simplekpi.credential\n> = 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":";;;AAcA,MAAa,sBAIT,OAAO,yBAAyB;CAClC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhBsC,EAAE,OAAO,EAC/C,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mBAAmB,EACnD,CAAC,CAAC,CAAC,SAAS,0CAcH;CACP,QAduC,EAAE,OAAO;EAChD,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,YAAY,CAAC,CAAC,SAAS,wCAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/get-all-data-entries.ts
@@ -1 +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.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.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}).passthrough();\nexport const SimplekpiGetAllDataEntriesOutput = 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}).passthrough();\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,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,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,6CAA6CA,IAAAA,EAAE,OAAO;CAC1D,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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,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,CAAC,CAAC,YAAY;AACf,MAAa,mCAAmCA,IAAAA,EAAE,OAAO,EACvD,SAASA,IAAAA,EAAE,MAAM,0CAA0C,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACrL,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,6BAA6BC,eAAAA,OAAO,kCAAkC;CACjF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-all-data-entries.cjs","names":["z","action"],"sources":["../../src/actions/get-all-data-entries.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { simplekpi } from \"../app\";\n\nexport const SimplekpiGetAllDataEntriesInput = 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.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}).passthrough();\nexport const SimplekpiGetAllDataEntriesOutput = 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}).passthrough();\n\nexport const simplekpiGetAllDataEntries: AppAction<\n typeof SimplekpiGetAllDataEntriesInput,\n typeof SimplekpiGetAllDataEntriesOutput,\n typeof simplekpi.credential\n> = 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":";;;;AAMA,MAAa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app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-all-data-entries.d.ts
@@ -28,13 +30,7 @@ declare const SimplekpiGetAllDataEntriesOutput: z.ZodObject<{
28
30
  kpiDescription: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29
31
  }, z.core.$loose>>>>;
30
32
  }, z.core.$loose>;
31
- declare const simplekpiGetAllDataEntries: import("@keystrokehq/action").WorkflowActionDefinition<{
32
- dateTo?: string | undefined;
33
- kpiIds?: string | undefined;
34
- userIds?: string | undefined;
35
- dateFrom?: string | undefined;
36
- groupItemIds?: string | undefined;
37
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
33
+ declare const simplekpiGetAllDataEntries: AppAction<typeof SimplekpiGetAllDataEntriesInput, typeof SimplekpiGetAllDataEntriesOutput, typeof simplekpi.credential>;
38
34
  //#endregion
39
35
  export { simplekpiGetAllDataEntries };
40
36
  //# sourceMappingURL=get-all-data-entries.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-all-data-entries.d.cts","names":[],"sources":["../../src/actions/get-all-data-entries.ts"],"mappings":";;;cAIa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;cAyB/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;cAIhC,0BAAA,gCAA0B,wBAAA"}
1
+ {"version":3,"file":"get-all-data-entries.d.cts","names":[],"sources":["../../src/actions/get-all-data-entries.ts"],"mappings":";;;;;cAMa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;cAyB/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;cAIhC,0BAAA,EAA4B,SAAA,QAChC,+BAAA,SACA,gCAAA,SACA,SAAA,CAAU,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { simplekpi } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-all-data-entries.d.ts
@@ -28,13 +30,7 @@ declare const SimplekpiGetAllDataEntriesOutput: z.ZodObject<{
28
30
  kpiDescription: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29
31
  }, z.core.$loose>>>>;
30
32
  }, z.core.$loose>;
31
- declare const simplekpiGetAllDataEntries: import("@keystrokehq/action").WorkflowActionDefinition<{
32
- dateTo?: string | undefined;
33
- kpiIds?: string | undefined;
34
- userIds?: string | undefined;
35
- dateFrom?: string | undefined;
36
- groupItemIds?: string | undefined;
37
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
33
+ declare const simplekpiGetAllDataEntries: AppAction<typeof SimplekpiGetAllDataEntriesInput, typeof SimplekpiGetAllDataEntriesOutput, typeof simplekpi.credential>;
38
34
  //#endregion
39
35
  export { simplekpiGetAllDataEntries };
40
36
  //# sourceMappingURL=get-all-data-entries.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-all-data-entries.d.mts","names":[],"sources":["../../src/actions/get-all-data-entries.ts"],"mappings":";;;cAIa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;cAyB/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;cAIhC,0BAAA,gCAA0B,wBAAA"}
1
+ {"version":3,"file":"get-all-data-entries.d.mts","names":[],"sources":["../../src/actions/get-all-data-entries.ts"],"mappings":";;;;;cAMa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;cAyB/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;cAIhC,0BAAA,EAA4B,SAAA,QAChC,+BAAA,SACA,gCAAA,SACA,SAAA,CAAU,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/get-all-data-entries.ts
@@ -1 +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.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.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}).passthrough();\nexport const SimplekpiGetAllDataEntriesOutput = 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}).passthrough();\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,kCAAkC,EAAE,OAAO;CACtD,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,6CAA6C,EAAE,OAAO;CAC1D,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,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AO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5F,CAAC,CAAC,CAAC,YAAY;AAKf,MAAa,6BAA6B,OAAO,kCAAkC;CACjF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT8C,EAAE,OAAO,EACvD,SAAS,EAAE,MAAM,0CAA0C,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACrL,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
1
+ {"version":3,"file":"get-all-data-entries.mjs","names":[],"sources":["../../src/actions/get-all-data-entries.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { simplekpi } from \"../app\";\n\nexport const SimplekpiGetAllDataEntriesInput = 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.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}).passthrough();\nexport const SimplekpiGetAllDataEntriesOutput = 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}).passthrough();\n\nexport const simplekpiGetAllDataEntries: AppAction<\n typeof SimplekpiGetAllDataEntriesInput,\n typeof SimplekpiGetAllDataEntriesOutput,\n typeof simplekpi.credential\n> = 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":";;;;AAMA,MAAa,kCAAkC,EAAE,OAAO;CACtD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS;CAC/H,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,k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,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,CAAC,CAAC,YAAY;AAKf,MAAa,6BAIT,OAAO,kCAAkC;CAC3C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAb8C,EAAE,OAAO,EACvD,SAAS,EAAE,MAAM,0CAA0C,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACrL,CAAC,CAAC,CAAC,YAWO;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/get-category-kpi.ts
@@ -1 +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.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.object({\n id: z.number().int().describe(\"Automatically generated identifier for the KPI.\").nullable(),\n name: z.string().describe(\"The name of the KPI (max 100 characters).\").nullable(),\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.\").nullable(),\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}).passthrough().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,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,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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AAS,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,YAAY,CAAC,CAAC,SAAS,sDAAsD;AAEhF,MAAa,0BAA0BC,eAAAA,OAAO,8BAA8B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-category-kpi.cjs","names":["z","action"],"sources":["../../src/actions/get-category-kpi.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { simplekpi } from \"../app\";\n\nexport const SimplekpiGetCategoryKpiInput = 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.object({\n id: z.number().int().describe(\"Automatically generated identifier for the KPI.\").nullable(),\n name: z.string().describe(\"The name of the KPI (max 100 characters).\").nullable(),\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.\").nullable(),\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}).passthrough().describe(\"Response model for a specific KPI within a category.\");\n\nexport const simplekpiGetCategoryKpi: AppAction<\n typeof SimplekpiGetCategoryKpiInput,\n typeof SimplekpiGetCategoryKpiOutput,\n typeof simplekpi.credential\n> = 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":";;;;AAMA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,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,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CAC1F,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;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,CAAC,SAAS;CAC1G,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAAsD;AAEhF,MAAa,0BAITC,eAAAA,OAAO,8BAA8B;CACvC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { simplekpi } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-category-kpi.d.ts
@@ -22,10 +24,7 @@ declare const SimplekpiGetCategoryKpiOutput: z.ZodObject<{
22
24
  value_direction: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
25
  aggregate_function: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
26
  }, z.core.$loose>;
25
- declare const simplekpiGetCategoryKpi: import("@keystrokehq/action").WorkflowActionDefinition<{
26
- id: number;
27
- category_id: number;
28
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
27
+ declare const simplekpiGetCategoryKpi: AppAction<typeof SimplekpiGetCategoryKpiInput, typeof SimplekpiGetCategoryKpiOutput, typeof simplekpi.credential>;
29
28
  //#endregion
30
29
  export { simplekpiGetCategoryKpi };
31
30
  //# sourceMappingURL=get-category-kpi.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-category-kpi.d.cts","names":[],"sources":["../../src/actions/get-category-kpi.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;cAI5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;cAkB7B,uBAAA,gCAAuB,wBAAA"}
1
+ {"version":3,"file":"get-category-kpi.d.cts","names":[],"sources":["../../src/actions/get-category-kpi.ts"],"mappings":";;;;;cAMa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;cAI5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;cAkB7B,uBAAA,EAAyB,SAAA,QAC7B,4BAAA,SACA,6BAAA,SACA,SAAA,CAAU,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { simplekpi } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-category-kpi.d.ts
@@ -22,10 +24,7 @@ declare const SimplekpiGetCategoryKpiOutput: z.ZodObject<{
22
24
  value_direction: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
25
  aggregate_function: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
26
  }, z.core.$loose>;
25
- declare const simplekpiGetCategoryKpi: import("@keystrokehq/action").WorkflowActionDefinition<{
26
- id: number;
27
- category_id: number;
28
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
27
+ declare const simplekpiGetCategoryKpi: AppAction<typeof SimplekpiGetCategoryKpiInput, typeof SimplekpiGetCategoryKpiOutput, typeof simplekpi.credential>;
29
28
  //#endregion
30
29
  export { simplekpiGetCategoryKpi };
31
30
  //# sourceMappingURL=get-category-kpi.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-category-kpi.d.mts","names":[],"sources":["../../src/actions/get-category-kpi.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;cAI5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;cAkB7B,uBAAA,gCAAuB,wBAAA"}
1
+ {"version":3,"file":"get-category-kpi.d.mts","names":[],"sources":["../../src/actions/get-category-kpi.ts"],"mappings":";;;;;cAMa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;cAI5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;cAkB7B,uBAAA,EAAyB,SAAA,QAC7B,4BAAA,SACA,6BAAA,SACA,SAAA,CAAU,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const simplekpiGetCategoryKpi = action("SIMPLEKPI_GET_CATEGORY_KPI", {
@@ -1 +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.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.object({\n id: z.number().int().describe(\"Automatically generated identifier for the KPI.\").nullable(),\n name: z.string().describe(\"The name of the KPI (max 100 characters).\").nullable(),\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.\").nullable(),\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}).passthrough().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,OA1B0C,EAAE,OAAO;EACnD,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,QAvB2C,EAAE,OAAO;EACpD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;EAC1F,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;EAChF,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,CAAC,CAAC,SAAS;EACtG,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,YAAY,CAAC,CAAC,SAAS,sDAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"get-category-kpi.mjs","names":[],"sources":["../../src/actions/get-category-kpi.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { simplekpi } from \"../app\";\n\nexport const SimplekpiGetCategoryKpiInput = 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.object({\n id: z.number().int().describe(\"Automatically generated identifier for the KPI.\").nullable(),\n name: z.string().describe(\"The name of the KPI (max 100 characters).\").nullable(),\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.\").nullable(),\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}).passthrough().describe(\"Response model for a specific KPI within a category.\");\n\nexport const simplekpiGetCategoryKpi: AppAction<\n typeof SimplekpiGetCategoryKpiInput,\n typeof SimplekpiGetCategoryKpiOutput,\n typeof simplekpi.credential\n> = 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":";;;AA4BA,MAAa,0BAIT,OAAO,8BAA8B;CACvC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA9B0C,EAAE,OAAO;EACnD,IAAI,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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,YAAY,CAAC,CAAC,SAAS,sDAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/get-group-item.ts
@@ -1 +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.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.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}).passthrough().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,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,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,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,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,YAAY,CAAC,CAAC,SAAS,wDAAwD;AAElF,MAAa,wBAAwBC,eAAAA,OAAO,4BAA4B;CACtE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-group-item.cjs","names":["z","action"],"sources":["../../src/actions/get-group-item.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { simplekpi } from \"../app\";\n\nexport const SimplekpiGetGroupItemInput = 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.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}).passthrough().describe(\"Response model containing the details of a group item.\");\n\nexport const simplekpiGetGroupItem: AppAction<\n typeof SimplekpiGetGroupItemInput,\n typeof SimplekpiGetGroupItemOutput,\n typeof simplekpi.credential\n> = 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":";;;;AAMA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,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,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,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,YAAY,CAAC,CAAC,SAAS,wDAAwD;AAElF,MAAa,wBAITC,eAAAA,OAAO,4BAA4B;CACrC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { simplekpi } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-group-item.d.ts
@@ -13,10 +15,7 @@ declare const SimplekpiGetGroupItemOutput: z.ZodObject<{
13
15
  sort_order: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
14
16
  updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
17
  }, z.core.$loose>;
16
- declare const simplekpiGetGroupItem: import("@keystrokehq/action").WorkflowActionDefinition<{
17
- id: number;
18
- group_id: number;
19
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
18
+ declare const simplekpiGetGroupItem: AppAction<typeof SimplekpiGetGroupItemInput, typeof SimplekpiGetGroupItemOutput, typeof simplekpi.credential>;
20
19
  //#endregion
21
20
  export { simplekpiGetGroupItem };
22
21
  //# sourceMappingURL=get-group-item.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-group-item.d.cts","names":[],"sources":["../../src/actions/get-group-item.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;cAI1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;cAS3B,qBAAA,gCAAqB,wBAAA"}
1
+ {"version":3,"file":"get-group-item.d.cts","names":[],"sources":["../../src/actions/get-group-item.ts"],"mappings":";;;;;cAMa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;cAI1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;cAS3B,qBAAA,EAAuB,SAAA,QAC3B,0BAAA,SACA,2BAAA,SACA,SAAA,CAAU,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { simplekpi } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-group-item.d.ts
@@ -13,10 +15,7 @@ declare const SimplekpiGetGroupItemOutput: z.ZodObject<{
13
15
  sort_order: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
14
16
  updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
17
  }, z.core.$loose>;
16
- declare const simplekpiGetGroupItem: import("@keystrokehq/action").WorkflowActionDefinition<{
17
- id: number;
18
- group_id: number;
19
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
18
+ declare const simplekpiGetGroupItem: AppAction<typeof SimplekpiGetGroupItemInput, typeof SimplekpiGetGroupItemOutput, typeof simplekpi.credential>;
20
19
  //#endregion
21
20
  export { simplekpiGetGroupItem };
22
21
  //# sourceMappingURL=get-group-item.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-group-item.d.mts","names":[],"sources":["../../src/actions/get-group-item.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;cAI1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;cAS3B,qBAAA,gCAAqB,wBAAA"}
1
+ {"version":3,"file":"get-group-item.d.mts","names":[],"sources":["../../src/actions/get-group-item.ts"],"mappings":";;;;;cAMa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;cAI1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;cAS3B,qBAAA,EAAuB,SAAA,QAC3B,0BAAA,SACA,2BAAA,SACA,SAAA,CAAU,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const simplekpiGetGroupItem = action("SIMPLEKPI_GET_GROUP_ITEM", {
@@ -1 +1 @@
1
- {"version":3,"file":"get-group-item.mjs","names":[],"sources":["../../src/actions/get-group-item.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplekpiGetGroupItemInput = 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.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}).passthrough().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":";;AAiBA,MAAa,wBAAwB,OAAO,4BAA4B;CACtE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAjBwC,EAAE,OAAO;EACjD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD;EAC9E,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD;CACxF,CAAC,CAAC,CAAC,SAAS,2DAcH;CACP,QAdyC,EAAE,OAAO;EAClD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7H,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5F,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnG,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7G,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wDAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"get-group-item.mjs","names":[],"sources":["../../src/actions/get-group-item.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { simplekpi } from \"../app\";\n\nexport const SimplekpiGetGroupItemInput = 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.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}).passthrough().describe(\"Response model containing the details of a group item.\");\n\nexport const simplekpiGetGroupItem: AppAction<\n typeof SimplekpiGetGroupItemInput,\n typeof SimplekpiGetGroupItemOutput,\n typeof simplekpi.credential\n> = 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":";;;AAmBA,MAAa,wBAIT,OAAO,4BAA4B;CACrC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OArBwC,EAAE,OAAO;EACjD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD;EAC9E,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD;CACxF,CAAC,CAAC,CAAC,SAAS,2DAkBH;CACP,QAlByC,EAAE,OAAO;EAClD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7H,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5F,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnG,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7G,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wDAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/get-group.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-group.cjs","names":["z","action"],"sources":["../../src/actions/get-group.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplekpiGetGroupInput = z.object({\n id: z.number().int().describe(\"The unique identifier of the group to retrieve\"),\n}).describe(\"Request model for retrieving a specific group by ID.\");\nexport const SimplekpiGetGroupOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the group, automatically assigned when creating a group\").nullable().optional(),\n name: z.string().describe(\"The name of the group\").nullable().optional(),\n created_at: z.string().describe(\"The date and time the group was created (ISO 8601 format)\").nullable().optional(),\n sort_order: z.number().int().describe(\"The display order of the group\").nullable().optional(),\n updated_at: z.string().describe(\"The date and time of the last update of the group (ISO 8601 format)\").nullable().optional(),\n}).passthrough().describe(\"Response model containing group information.\");\n\nexport const simplekpiGetGroup = action(\"SIMPLEKPI_GET_GROUP\", {\n slug: \"simplekpi-get-group\",\n name: \"Get Group\",\n description: \"Tool to get a specific group by ID from SimplekPI. Use when you need to retrieve detailed information about a particular group.\",\n input: SimplekpiGetGroupInput,\n output: SimplekpiGetGroupOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAyBA,IAAAA,EAAE,OAAO,EAC7C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,EAChF,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClI,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAA8C;AAExE,MAAa,oBAAoBC,eAAAA,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-group.cjs","names":["z","action"],"sources":["../../src/actions/get-group.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { simplekpi } from \"../app\";\n\nexport const SimplekpiGetGroupInput = z.object({\n id: z.number().int().describe(\"The unique identifier of the group to retrieve\"),\n}).describe(\"Request model for retrieving a specific group by ID.\");\nexport const SimplekpiGetGroupOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the group, automatically assigned when creating a group\").nullable().optional(),\n name: z.string().describe(\"The name of the group\").nullable().optional(),\n created_at: z.string().describe(\"The date and time the group was created (ISO 8601 format)\").nullable().optional(),\n sort_order: z.number().int().describe(\"The display order of the group\").nullable().optional(),\n updated_at: z.string().describe(\"The date and time of the last update of the group (ISO 8601 format)\").nullable().optional(),\n}).passthrough().describe(\"Response model containing group information.\");\n\nexport const simplekpiGetGroup: AppAction<\n typeof SimplekpiGetGroupInput,\n typeof SimplekpiGetGroupOutput,\n typeof simplekpi.credential\n> = action(\"SIMPLEKPI_GET_GROUP\", {\n slug: \"simplekpi-get-group\",\n name: \"Get Group\",\n description: \"Tool to get a specific group by ID from SimplekPI. Use when you need to retrieve detailed information about a particular group.\",\n input: SimplekpiGetGroupInput,\n output: SimplekpiGetGroupOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,yBAAyBA,IAAAA,EAAE,OAAO,EAC7C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,EAChF,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClI,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAA8C;AAExE,MAAa,oBAITC,eAAAA,OAAO,uBAAuB;CAChC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { simplekpi } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-group.d.ts
@@ -11,9 +13,7 @@ declare const SimplekpiGetGroupOutput: z.ZodObject<{
11
13
  sort_order: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
12
14
  updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
15
  }, z.core.$loose>;
14
- declare const simplekpiGetGroup: import("@keystrokehq/action").WorkflowActionDefinition<{
15
- id: number;
16
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
16
+ declare const simplekpiGetGroup: AppAction<typeof SimplekpiGetGroupInput, typeof SimplekpiGetGroupOutput, typeof simplekpi.credential>;
17
17
  //#endregion
18
18
  export { simplekpiGetGroup };
19
19
  //# sourceMappingURL=get-group.d.cts.map