@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 +1 @@
1
- {"version":3,"file":"action.cjs","names":["simplekpi","executeSimplekpiTool"],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { simplekpi } from \"./app\";\nimport { executeSimplekpiTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: z.ZodType;\n },\n) {\n return simplekpi.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output as z.ZodTypeAny,\n async run(input) {\n return def.output.parse(await executeSimplekpiTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAOA,YAAAA,UAAU,OAAO;EACtB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAMC,gBAAAA,qBAAqB,MAAM,KAAgC,CAAC;EAC5F;CACF,CAAC;AACH"}
1
+ {"version":3,"file":"action.cjs","names":["simplekpi","executeSimplekpiTool"],"sources":["../src/action.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { simplekpi } from \"./app\";\nimport { executeSimplekpiTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType, TOutput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: TOutput;\n },\n): AppAction<TInput, TOutput, typeof simplekpi.credential> {\n return simplekpi.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output,\n async run(input) {\n return def.output.parse(await executeSimplekpiTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAOA,SAAgB,OACd,MACA,KAOyD;CACzD,OAAOA,YAAAA,UAAU,OAAO;EACtB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAMC,gBAAAA,qBAAqB,MAAM,KAAgC,CAAC;EAC5F;CACF,CAAC;AACH"}
@@ -1 +1 @@
1
- {"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { simplekpi } from \"./app\";\nimport { executeSimplekpiTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: z.ZodType;\n },\n) {\n return simplekpi.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output as z.ZodTypeAny,\n async run(input) {\n return def.output.parse(await executeSimplekpiTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAO,UAAU,OAAO;EACtB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAM,qBAAqB,MAAM,KAAgC,CAAC;EAC5F;CACF,CAAC;AACH"}
1
+ {"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { simplekpi } from \"./app\";\nimport { executeSimplekpiTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType, TOutput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: TOutput;\n },\n): AppAction<TInput, TOutput, typeof simplekpi.credential> {\n return simplekpi.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output,\n async run(input) {\n return def.output.parse(await executeSimplekpiTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAOA,SAAgB,OACd,MACA,KAOyD;CACzD,OAAO,UAAU,OAAO;EACtB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAM,qBAAqB,MAAM,KAAgC,CAAC;EAC5F;CACF,CAAC;AACH"}
@@ -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/add-user-group-item.ts
@@ -1 +1 @@
1
- {"version":3,"file":"add-user-group-item.cjs","names":["z","action"],"sources":["../../src/actions/add-user-group-item.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplekpiAddUserGroupItemInput = z.object({\n id: z.number().int().describe(\"The group item identifier to assign to the user.\"),\n user_id: z.number().int().describe(\"The identifier of the user to assign the group item to.\"),\n}).describe(\"Request model for assigning a group item to a user.\");\nexport const SimplekpiAddUserGroupItemOutput = z.object({\n id: z.number().int().describe(\"The group item identifier.\").nullable(),\n name: z.string().describe(\"The name of the group item.\").nullable().optional(),\n user_id: z.number().int().describe(\"The identifier of the user.\").nullable(),\n group_id: z.number().int().describe(\"The identifier of the group this item belongs to.\").nullable().optional(),\n created_at: z.string().describe(\"The timestamp when the user group item assignment was created.\").nullable().optional(),\n group_name: z.string().describe(\"The name of the group.\").nullable().optional(),\n}).passthrough().describe(\"Response model for assigning a group item to a user.\");\n\nexport const simplekpiAddUserGroupItem = action(\"SIMPLEKPI_ADD_USER_GROUP_ITEM\", {\n slug: \"simplekpi-add-user-group-item\",\n name: \"Add User Group Item\",\n description: \"Tool to assign a group item to a user in SimpleKPI. Use when you need to add a group item to a specific user's profile.\",\n input: SimplekpiAddUserGroupItemInput,\n output: SimplekpiAddUserGroupItemOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD;CAChF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yDAAyD;AAC9F,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACrE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CAC3E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAAsD;AAEhF,MAAa,4BAA4BC,eAAAA,OAAO,iCAAiC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"add-user-group-item.cjs","names":["z","action"],"sources":["../../src/actions/add-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 SimplekpiAddUserGroupItemInput = z.object({\n id: z.number().int().describe(\"The group item identifier to assign to the user.\"),\n user_id: z.number().int().describe(\"The identifier of the user to assign the group item to.\"),\n}).describe(\"Request model for assigning a group item to a user.\");\nexport const SimplekpiAddUserGroupItemOutput = z.object({\n id: z.number().int().describe(\"The group item identifier.\").nullable(),\n name: z.string().describe(\"The name of the group item.\").nullable().optional(),\n user_id: z.number().int().describe(\"The identifier of the user.\").nullable(),\n group_id: z.number().int().describe(\"The identifier of the group this item belongs to.\").nullable().optional(),\n created_at: z.string().describe(\"The timestamp when the user group item assignment was created.\").nullable().optional(),\n group_name: z.string().describe(\"The name of the group.\").nullable().optional(),\n}).passthrough().describe(\"Response model for assigning a group item to a user.\");\n\nexport const simplekpiAddUserGroupItem: AppAction<\n typeof SimplekpiAddUserGroupItemInput,\n typeof SimplekpiAddUserGroupItemOutput,\n typeof simplekpi.credential\n> = action(\"SIMPLEKPI_ADD_USER_GROUP_ITEM\", {\n slug: \"simplekpi-add-user-group-item\",\n name: \"Add User Group Item\",\n description: \"Tool to assign a group item to a user in SimpleKPI. Use when you need to add a group item to a specific user's profile.\",\n input: SimplekpiAddUserGroupItemInput,\n output: SimplekpiAddUserGroupItemOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD;CAChF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yDAAyD;AAC9F,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACrE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CAC3E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAAsD;AAEhF,MAAa,4BAITC,eAAAA,OAAO,iCAAiC;CAC1C,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/add-user-group-item.d.ts
@@ -13,10 +15,7 @@ declare const SimplekpiAddUserGroupItemOutput: z.ZodObject<{
13
15
  created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
16
  group_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
17
  }, z.core.$loose>;
16
- declare const simplekpiAddUserGroupItem: import("@keystrokehq/action").WorkflowActionDefinition<{
17
- id: number;
18
- user_id: number;
19
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
18
+ declare const simplekpiAddUserGroupItem: AppAction<typeof SimplekpiAddUserGroupItemInput, typeof SimplekpiAddUserGroupItemOutput, typeof simplekpi.credential>;
20
19
  //#endregion
21
20
  export { simplekpiAddUserGroupItem };
22
21
  //# sourceMappingURL=add-user-group-item.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"add-user-group-item.d.cts","names":[],"sources":["../../src/actions/add-user-group-item.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;cAI9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;cAS/B,yBAAA,gCAAyB,wBAAA"}
1
+ {"version":3,"file":"add-user-group-item.d.cts","names":[],"sources":["../../src/actions/add-user-group-item.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;cAI9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;cAS/B,yBAAA,EAA2B,SAAA,QAC/B,8BAAA,SACA,+BAAA,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/add-user-group-item.d.ts
@@ -13,10 +15,7 @@ declare const SimplekpiAddUserGroupItemOutput: z.ZodObject<{
13
15
  created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
16
  group_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
17
  }, z.core.$loose>;
16
- declare const simplekpiAddUserGroupItem: import("@keystrokehq/action").WorkflowActionDefinition<{
17
- id: number;
18
- user_id: number;
19
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
18
+ declare const simplekpiAddUserGroupItem: AppAction<typeof SimplekpiAddUserGroupItemInput, typeof SimplekpiAddUserGroupItemOutput, typeof simplekpi.credential>;
20
19
  //#endregion
21
20
  export { simplekpiAddUserGroupItem };
22
21
  //# sourceMappingURL=add-user-group-item.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"add-user-group-item.d.mts","names":[],"sources":["../../src/actions/add-user-group-item.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;cAI9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;cAS/B,yBAAA,gCAAyB,wBAAA"}
1
+ {"version":3,"file":"add-user-group-item.d.mts","names":[],"sources":["../../src/actions/add-user-group-item.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;cAI9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;cAS/B,yBAAA,EAA2B,SAAA,QAC/B,8BAAA,SACA,+BAAA,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 simplekpiAddUserGroupItem = action("SIMPLEKPI_ADD_USER_GROUP_ITEM", {
@@ -1 +1 @@
1
- {"version":3,"file":"add-user-group-item.mjs","names":[],"sources":["../../src/actions/add-user-group-item.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplekpiAddUserGroupItemInput = z.object({\n id: z.number().int().describe(\"The group item identifier to assign to the user.\"),\n user_id: z.number().int().describe(\"The identifier of the user to assign the group item to.\"),\n}).describe(\"Request model for assigning a group item to a user.\");\nexport const SimplekpiAddUserGroupItemOutput = z.object({\n id: z.number().int().describe(\"The group item identifier.\").nullable(),\n name: z.string().describe(\"The name of the group item.\").nullable().optional(),\n user_id: z.number().int().describe(\"The identifier of the user.\").nullable(),\n group_id: z.number().int().describe(\"The identifier of the group this item belongs to.\").nullable().optional(),\n created_at: z.string().describe(\"The timestamp when the user group item assignment was created.\").nullable().optional(),\n group_name: z.string().describe(\"The name of the group.\").nullable().optional(),\n}).passthrough().describe(\"Response model for assigning a group item to a user.\");\n\nexport const simplekpiAddUserGroupItem = action(\"SIMPLEKPI_ADD_USER_GROUP_ITEM\", {\n slug: \"simplekpi-add-user-group-item\",\n name: \"Add User Group Item\",\n description: \"Tool to assign a group item to a user in SimpleKPI. Use when you need to add a group item to a specific user's profile.\",\n input: SimplekpiAddUserGroupItemInput,\n output: SimplekpiAddUserGroupItemOutput,\n});\n"],"mappings":";;AAiBA,MAAa,4BAA4B,OAAO,iCAAiC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAjB4C,EAAE,OAAO;EACrD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD;EAChF,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yDAAyD;CAC9F,CAAC,CAAC,CAAC,SAAS,qDAcH;CACP,QAd6C,EAAE,OAAO;EACtD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;EACrE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7E,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;EAC3E,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7G,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"add-user-group-item.mjs","names":[],"sources":["../../src/actions/add-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 SimplekpiAddUserGroupItemInput = z.object({\n id: z.number().int().describe(\"The group item identifier to assign to the user.\"),\n user_id: z.number().int().describe(\"The identifier of the user to assign the group item to.\"),\n}).describe(\"Request model for assigning a group item to a user.\");\nexport const SimplekpiAddUserGroupItemOutput = z.object({\n id: z.number().int().describe(\"The group item identifier.\").nullable(),\n name: z.string().describe(\"The name of the group item.\").nullable().optional(),\n user_id: z.number().int().describe(\"The identifier of the user.\").nullable(),\n group_id: z.number().int().describe(\"The identifier of the group this item belongs to.\").nullable().optional(),\n created_at: z.string().describe(\"The timestamp when the user group item assignment was created.\").nullable().optional(),\n group_name: z.string().describe(\"The name of the group.\").nullable().optional(),\n}).passthrough().describe(\"Response model for assigning a group item to a user.\");\n\nexport const simplekpiAddUserGroupItem: AppAction<\n typeof SimplekpiAddUserGroupItemInput,\n typeof SimplekpiAddUserGroupItemOutput,\n typeof simplekpi.credential\n> = action(\"SIMPLEKPI_ADD_USER_GROUP_ITEM\", {\n slug: \"simplekpi-add-user-group-item\",\n name: \"Add User Group Item\",\n description: \"Tool to assign a group item to a user in SimpleKPI. Use when you need to add a group item to a specific user's profile.\",\n input: SimplekpiAddUserGroupItemInput,\n output: SimplekpiAddUserGroupItemOutput,\n});\n"],"mappings":";;;AAmBA,MAAa,4BAIT,OAAO,iCAAiC;CAC1C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OArB4C,EAAE,OAAO;EACrD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD;EAChF,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yDAAyD;CAC9F,CAAC,CAAC,CAAC,SAAS,qDAkBH;CACP,QAlB6C,EAAE,OAAO;EACtD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;EACrE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7E,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;EAC3E,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7G,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,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/add-user-kpi.ts
@@ -1 +1 @@
1
- {"version":3,"file":"add-user-kpi.cjs","names":["z","action"],"sources":["../../src/actions/add-user-kpi.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplekpiAddUserKpiInput = z.object({\n id: z.number().int().describe(\"KPI ID to assign to the user\"),\n user_id: z.number().int().describe(\"User ID to assign the KPI to\"),\n sort_order: z.number().int().describe(\"Display order of the KPI on the KPI Entry screen for this user\"),\n user_target: z.number().describe(\"User-specific target value for this KPI (optional). Overrides the default KPI target for this user\").optional(),\n}).describe(\"Request to assign a KPI to a user in SimpleKPI.\");\nexport const SimplekpiAddUserKpiOutput = z.object({\n id: z.number().int().describe(\"KPI identifier\").nullable().optional(),\n user_id: z.number().int().describe(\"User ID the KPI is assigned to\").nullable().optional(),\n created_at: z.string().describe(\"UTC timestamp when the assignment was created\").nullable().optional(),\n sort_order: z.number().int().describe(\"Display order on KPI Entry screen\").nullable().optional(),\n updated_at: z.string().describe(\"UTC timestamp when the assignment was last updated\").nullable().optional(),\n user_target: z.number().describe(\"Custom target value for this user\").nullable().optional(),\n}).passthrough().describe(\"Response containing the assigned user KPI details.\");\n\nexport const simplekpiAddUserKpi = action(\"SIMPLEKPI_ADD_USER_KPI\", {\n slug: \"simplekpi-add-user-kpi\",\n name: \"Add User KPI\",\n description: \"Tool to assign a KPI to a user in SimpleKPI. Use when you need to link a KPI to a specific user with optional custom target and display order.\",\n input: SimplekpiAddUserKpiInput,\n output: SimplekpiAddUserKpiOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B;CAC5D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B;CACjE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gEAAgE;CACtG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oGAAoG,CAAC,CAAC,SAAS;AAClJ,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAC7D,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAAoD;AAE9E,MAAa,sBAAsBC,eAAAA,OAAO,0BAA0B;CAClE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"add-user-kpi.cjs","names":["z","action"],"sources":["../../src/actions/add-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 SimplekpiAddUserKpiInput = z.object({\n id: z.number().int().describe(\"KPI ID to assign to the user\"),\n user_id: z.number().int().describe(\"User ID to assign the KPI to\"),\n sort_order: z.number().int().describe(\"Display order of the KPI on the KPI Entry screen for this user\"),\n user_target: z.number().describe(\"User-specific target value for this KPI (optional). Overrides the default KPI target for this user\").optional(),\n}).describe(\"Request to assign a KPI to a user in SimpleKPI.\");\nexport const SimplekpiAddUserKpiOutput = z.object({\n id: z.number().int().describe(\"KPI identifier\").nullable().optional(),\n user_id: z.number().int().describe(\"User ID the KPI is assigned to\").nullable().optional(),\n created_at: z.string().describe(\"UTC timestamp when the assignment was created\").nullable().optional(),\n sort_order: z.number().int().describe(\"Display order on KPI Entry screen\").nullable().optional(),\n updated_at: z.string().describe(\"UTC timestamp when the assignment was last updated\").nullable().optional(),\n user_target: z.number().describe(\"Custom target value for this user\").nullable().optional(),\n}).passthrough().describe(\"Response containing the assigned user KPI details.\");\n\nexport const simplekpiAddUserKpi: AppAction<\n typeof SimplekpiAddUserKpiInput,\n typeof SimplekpiAddUserKpiOutput,\n typeof simplekpi.credential\n> = action(\"SIMPLEKPI_ADD_USER_KPI\", {\n slug: \"simplekpi-add-user-kpi\",\n name: \"Add User KPI\",\n description: \"Tool to assign a KPI to a user in SimpleKPI. Use when you need to link a KPI to a specific user with optional custom target and display order.\",\n input: SimplekpiAddUserKpiInput,\n output: SimplekpiAddUserKpiOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B;CAC5D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B;CACjE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gEAAgE;CACtG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oGAAoG,CAAC,CAAC,SAAS;AAClJ,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAC7D,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAAoD;AAE9E,MAAa,sBAITC,eAAAA,OAAO,0BAA0B;CACnC,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/add-user-kpi.d.ts
@@ -15,12 +17,7 @@ declare const SimplekpiAddUserKpiOutput: z.ZodObject<{
15
17
  updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
18
  user_target: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
17
19
  }, z.core.$loose>;
18
- declare const simplekpiAddUserKpi: import("@keystrokehq/action").WorkflowActionDefinition<{
19
- id: number;
20
- user_id: number;
21
- sort_order: number;
22
- user_target?: number | undefined;
23
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
20
+ declare const simplekpiAddUserKpi: AppAction<typeof SimplekpiAddUserKpiInput, typeof SimplekpiAddUserKpiOutput, typeof simplekpi.credential>;
24
21
  //#endregion
25
22
  export { simplekpiAddUserKpi };
26
23
  //# sourceMappingURL=add-user-kpi.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"add-user-kpi.d.cts","names":[],"sources":["../../src/actions/add-user-kpi.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;cAMxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;cASzB,mBAAA,gCAAmB,wBAAA"}
1
+ {"version":3,"file":"add-user-kpi.d.cts","names":[],"sources":["../../src/actions/add-user-kpi.ts"],"mappings":";;;;;cAMa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;cAMxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;cASzB,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/add-user-kpi.d.ts
@@ -15,12 +17,7 @@ declare const SimplekpiAddUserKpiOutput: z.ZodObject<{
15
17
  updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
18
  user_target: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
17
19
  }, z.core.$loose>;
18
- declare const simplekpiAddUserKpi: import("@keystrokehq/action").WorkflowActionDefinition<{
19
- id: number;
20
- user_id: number;
21
- sort_order: number;
22
- user_target?: number | undefined;
23
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
20
+ declare const simplekpiAddUserKpi: AppAction<typeof SimplekpiAddUserKpiInput, typeof SimplekpiAddUserKpiOutput, typeof simplekpi.credential>;
24
21
  //#endregion
25
22
  export { simplekpiAddUserKpi };
26
23
  //# sourceMappingURL=add-user-kpi.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"add-user-kpi.d.mts","names":[],"sources":["../../src/actions/add-user-kpi.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;cAMxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;cASzB,mBAAA,gCAAmB,wBAAA"}
1
+ {"version":3,"file":"add-user-kpi.d.mts","names":[],"sources":["../../src/actions/add-user-kpi.ts"],"mappings":";;;;;cAMa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;cAMxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;cASzB,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 simplekpiAddUserKpi = action("SIMPLEKPI_ADD_USER_KPI", {
@@ -1 +1 @@
1
- {"version":3,"file":"add-user-kpi.mjs","names":[],"sources":["../../src/actions/add-user-kpi.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplekpiAddUserKpiInput = z.object({\n id: z.number().int().describe(\"KPI ID to assign to the user\"),\n user_id: z.number().int().describe(\"User ID to assign the KPI to\"),\n sort_order: z.number().int().describe(\"Display order of the KPI on the KPI Entry screen for this user\"),\n user_target: z.number().describe(\"User-specific target value for this KPI (optional). Overrides the default KPI target for this user\").optional(),\n}).describe(\"Request to assign a KPI to a user in SimpleKPI.\");\nexport const SimplekpiAddUserKpiOutput = z.object({\n id: z.number().int().describe(\"KPI identifier\").nullable().optional(),\n user_id: z.number().int().describe(\"User ID the KPI is assigned to\").nullable().optional(),\n created_at: z.string().describe(\"UTC timestamp when the assignment was created\").nullable().optional(),\n sort_order: z.number().int().describe(\"Display order on KPI Entry screen\").nullable().optional(),\n updated_at: z.string().describe(\"UTC timestamp when the assignment was last updated\").nullable().optional(),\n user_target: z.number().describe(\"Custom target value for this user\").nullable().optional(),\n}).passthrough().describe(\"Response containing the assigned user KPI details.\");\n\nexport const simplekpiAddUserKpi = action(\"SIMPLEKPI_ADD_USER_KPI\", {\n slug: \"simplekpi-add-user-kpi\",\n name: \"Add User KPI\",\n description: \"Tool to assign a KPI to a user in SimpleKPI. Use when you need to link a KPI to a specific user with optional custom target and display order.\",\n input: SimplekpiAddUserKpiInput,\n output: SimplekpiAddUserKpiOutput,\n});\n"],"mappings":";;AAmBA,MAAa,sBAAsB,OAAO,0BAA0B;CAClE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAnBsC,EAAE,OAAO;EAC/C,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B;EAC5D,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B;EACjE,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gEAAgE;EACtG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,oGAAoG,CAAC,CAAC,SAAS;CAClJ,CAAC,CAAC,CAAC,SAAS,iDAcH;CACP,QAduC,EAAE,OAAO;EAChD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpE,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrG,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1G,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"add-user-kpi.mjs","names":[],"sources":["../../src/actions/add-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 SimplekpiAddUserKpiInput = z.object({\n id: z.number().int().describe(\"KPI ID to assign to the user\"),\n user_id: z.number().int().describe(\"User ID to assign the KPI to\"),\n sort_order: z.number().int().describe(\"Display order of the KPI on the KPI Entry screen for this user\"),\n user_target: z.number().describe(\"User-specific target value for this KPI (optional). Overrides the default KPI target for this user\").optional(),\n}).describe(\"Request to assign a KPI to a user in SimpleKPI.\");\nexport const SimplekpiAddUserKpiOutput = z.object({\n id: z.number().int().describe(\"KPI identifier\").nullable().optional(),\n user_id: z.number().int().describe(\"User ID the KPI is assigned to\").nullable().optional(),\n created_at: z.string().describe(\"UTC timestamp when the assignment was created\").nullable().optional(),\n sort_order: z.number().int().describe(\"Display order on KPI Entry screen\").nullable().optional(),\n updated_at: z.string().describe(\"UTC timestamp when the assignment was last updated\").nullable().optional(),\n user_target: z.number().describe(\"Custom target value for this user\").nullable().optional(),\n}).passthrough().describe(\"Response containing the assigned user KPI details.\");\n\nexport const simplekpiAddUserKpi: AppAction<\n typeof SimplekpiAddUserKpiInput,\n typeof SimplekpiAddUserKpiOutput,\n typeof simplekpi.credential\n> = action(\"SIMPLEKPI_ADD_USER_KPI\", {\n slug: \"simplekpi-add-user-kpi\",\n name: \"Add User KPI\",\n description: \"Tool to assign a KPI to a user in SimpleKPI. Use when you need to link a KPI to a specific user with optional custom target and display order.\",\n input: SimplekpiAddUserKpiInput,\n output: SimplekpiAddUserKpiOutput,\n});\n"],"mappings":";;;AAqBA,MAAa,sBAIT,OAAO,0BAA0B;CACnC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAvBsC,EAAE,OAAO;EAC/C,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B;EAC5D,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B;EACjE,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gEAAgE;EACtG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,oGAAoG,CAAC,CAAC,SAAS;CAClJ,CAAC,CAAC,CAAC,SAAS,iDAkBH;CACP,QAlBuC,EAAE,OAAO;EAChD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpE,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrG,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1G,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAWhB;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/create-category-kpi.ts
@@ -1 +1 @@
1
- {"version":3,"file":"create-category-kpi.cjs","names":["z","action"],"sources":["../../src/actions/create-category-kpi.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplekpiCreateCategoryKpiInput = z.object({\n name: z.string().describe(\"Name of the KPI (maximum 100 characters)\"),\n icon_id: z.number().int().describe(\"The ID of the icon to use for this KPI\"),\n unit_id: z.number().int().describe(\"The ID of the unit of measurement for this KPI\"),\n is_active: z.boolean().describe(\"Whether the KPI is active and visible\"),\n sort_order: z.number().int().describe(\"Display order position for this KPI within the category\"),\n category_id: z.number().int().describe(\"The ID of the category where the KPI will be created\"),\n frequency_id: z.string().describe(\"Frequency ID as a single uppercase letter: D (daily), W (weekly), M (monthly), Q (quarterly), Y (yearly)\"),\n value_direction: z.enum([\"U\", \"D\", \"N\"]).describe(\"Indicates whether higher (U) or lower (D) values are better, or if direction doesn't matter (N)\"),\n aggregate_function: z.enum([\"AVG\", \"SUM\"]).describe(\"Function to use when aggregating KPI values: AVG (average) or SUM (sum)\"),\n}).describe(\"Request model for creating a new KPI within a category.\");\nexport const SimplekpiCreateCategoryKpiOutput = z.object({\n id: z.number().int().describe(\"The unique ID of the newly created KPI\").nullable().optional(),\n name: z.string().describe(\"The name of the created KPI\").nullable().optional(),\n icon_id: z.number().int().describe(\"The icon ID for this KPI\").nullable().optional(),\n unit_id: z.number().int().describe(\"The unit ID for this KPI\").nullable().optional(),\n is_active: z.boolean().describe(\"Whether the KPI is active\").nullable().optional(),\n sort_order: z.number().int().describe(\"The display order position\").nullable().optional(),\n category_id: z.number().int().describe(\"The ID of the category containing this KPI\").nullable().optional(),\n frequency_id: z.string().describe(\"The frequency ID for this KPI\").nullable().optional(),\n value_direction: z.string().describe(\"The value direction indicator\").nullable().optional(),\n aggregate_function: z.string().describe(\"The aggregate function for this KPI\").nullable().optional(),\n}).passthrough().describe(\"Response model after creating a KPI in a category.\");\n\nexport const simplekpiCreateCategoryKpi = action(\"SIMPLEKPI_CREATE_CATEGORY_KPI\", {\n slug: \"simplekpi-create-category-kpi\",\n name: \"Create Category KPI\",\n description: \"Tool to create a new KPI within a category in SimpleKPI. Use when you need to add a new performance indicator to track metrics like sales, revenue, or customer satisfaction.\",\n input: SimplekpiCreateCategoryKpiInput,\n output: SimplekpiCreateCategoryKpiOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C;CACpE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC;CAC3E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD;CACnF,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,uCAAuC;CACvE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yDAAyD;CAC/F,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sDAAsD;CAC7F,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0GAA0G;CAC5I,iBAAiBA,IAAAA,EAAE,KAAK;EAAC;EAAK;EAAK;CAAG,CAAC,CAAC,CAAC,SAAS,iGAAiG;CACnJ,oBAAoBA,IAAAA,EAAE,KAAK,CAAC,OAAO,KAAK,CAAC,CAAC,CAAC,SAAS,yEAAyE;AAC/H,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrE,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAAoD;AAE9E,MAAa,6BAA6BC,eAAAA,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"create-category-kpi.cjs","names":["z","action"],"sources":["../../src/actions/create-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 SimplekpiCreateCategoryKpiInput = z.object({\n name: z.string().describe(\"Name of the KPI (maximum 100 characters)\"),\n icon_id: z.number().int().describe(\"The ID of the icon to use for this KPI\"),\n unit_id: z.number().int().describe(\"The ID of the unit of measurement for this KPI\"),\n is_active: z.boolean().describe(\"Whether the KPI is active and visible\"),\n sort_order: z.number().int().describe(\"Display order position for this KPI within the category\"),\n category_id: z.number().int().describe(\"The ID of the category where the KPI will be created\"),\n frequency_id: z.string().describe(\"Frequency ID as a single uppercase letter: D (daily), W (weekly), M (monthly), Q (quarterly), Y (yearly)\"),\n value_direction: z.enum([\"U\", \"D\", \"N\"]).describe(\"Indicates whether higher (U) or lower (D) values are better, or if direction doesn't matter (N)\"),\n aggregate_function: z.enum([\"AVG\", \"SUM\"]).describe(\"Function to use when aggregating KPI values: AVG (average) or SUM (sum)\"),\n}).describe(\"Request model for creating a new KPI within a category.\");\nexport const SimplekpiCreateCategoryKpiOutput = z.object({\n id: z.number().int().describe(\"The unique ID of the newly created KPI\").nullable().optional(),\n name: z.string().describe(\"The name of the created KPI\").nullable().optional(),\n icon_id: z.number().int().describe(\"The icon ID for this KPI\").nullable().optional(),\n unit_id: z.number().int().describe(\"The unit ID for this KPI\").nullable().optional(),\n is_active: z.boolean().describe(\"Whether the KPI is active\").nullable().optional(),\n sort_order: z.number().int().describe(\"The display order position\").nullable().optional(),\n category_id: z.number().int().describe(\"The ID of the category containing this KPI\").nullable().optional(),\n frequency_id: z.string().describe(\"The frequency ID for this KPI\").nullable().optional(),\n value_direction: z.string().describe(\"The value direction indicator\").nullable().optional(),\n aggregate_function: z.string().describe(\"The aggregate function for this KPI\").nullable().optional(),\n}).passthrough().describe(\"Response model after creating a KPI in a category.\");\n\nexport const simplekpiCreateCategoryKpi: AppAction<\n typeof SimplekpiCreateCategoryKpiInput,\n typeof SimplekpiCreateCategoryKpiOutput,\n typeof simplekpi.credential\n> = action(\"SIMPLEKPI_CREATE_CATEGORY_KPI\", {\n slug: \"simplekpi-create-category-kpi\",\n name: \"Create Category KPI\",\n description: \"Tool to create a new KPI within a category in SimpleKPI. Use when you need to add a new performance indicator to track metrics like sales, revenue, or customer satisfaction.\",\n input: SimplekpiCreateCategoryKpiInput,\n output: SimplekpiCreateCategoryKpiOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C;CACpE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC;CAC3E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD;CACnF,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,uCAAuC;CACvE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yDAAyD;CAC/F,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sDAAsD;CAC7F,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0GAA0G;CAC5I,iBAAiBA,IAAAA,EAAE,KAAK;EAAC;EAAK;EAAK;CAAG,CAAC,CAAC,CAAC,SAAS,iGAAiG;CACnJ,oBAAoBA,IAAAA,EAAE,KAAK,CAAC,OAAO,KAAK,CAAC,CAAC,CAAC,SAAS,yEAAyE;AAC/H,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrE,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAAoD;AAE9E,MAAa,6BAITC,eAAAA,OAAO,iCAAiC;CAC1C,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/create-category-kpi.d.ts
@@ -31,17 +33,7 @@ declare const SimplekpiCreateCategoryKpiOutput: z.ZodObject<{
31
33
  value_direction: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32
34
  aggregate_function: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33
35
  }, z.core.$loose>;
34
- declare const simplekpiCreateCategoryKpi: import("@keystrokehq/action").WorkflowActionDefinition<{
35
- name: string;
36
- icon_id: number;
37
- unit_id: number;
38
- is_active: boolean;
39
- sort_order: number;
40
- category_id: number;
41
- frequency_id: string;
42
- value_direction: "U" | "D" | "N";
43
- aggregate_function: "AVG" | "SUM";
44
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
36
+ declare const simplekpiCreateCategoryKpi: AppAction<typeof SimplekpiCreateCategoryKpiInput, typeof SimplekpiCreateCategoryKpiOutput, typeof simplekpi.credential>;
45
37
  //#endregion
46
38
  export { simplekpiCreateCategoryKpi };
47
39
  //# sourceMappingURL=create-category-kpi.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-category-kpi.d.cts","names":[],"sources":["../../src/actions/create-category-kpi.ts"],"mappings":";;;cAIa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAW/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;;;cAahC,0BAAA,gCAA0B,wBAAA"}
1
+ {"version":3,"file":"create-category-kpi.d.cts","names":[],"sources":["../../src/actions/create-category-kpi.ts"],"mappings":";;;;;cAMa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAW/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;;;cAahC,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/create-category-kpi.d.ts
@@ -31,17 +33,7 @@ declare const SimplekpiCreateCategoryKpiOutput: z.ZodObject<{
31
33
  value_direction: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32
34
  aggregate_function: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33
35
  }, z.core.$loose>;
34
- declare const simplekpiCreateCategoryKpi: import("@keystrokehq/action").WorkflowActionDefinition<{
35
- name: string;
36
- icon_id: number;
37
- unit_id: number;
38
- is_active: boolean;
39
- sort_order: number;
40
- category_id: number;
41
- frequency_id: string;
42
- value_direction: "U" | "D" | "N";
43
- aggregate_function: "AVG" | "SUM";
44
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
36
+ declare const simplekpiCreateCategoryKpi: AppAction<typeof SimplekpiCreateCategoryKpiInput, typeof SimplekpiCreateCategoryKpiOutput, typeof simplekpi.credential>;
45
37
  //#endregion
46
38
  export { simplekpiCreateCategoryKpi };
47
39
  //# sourceMappingURL=create-category-kpi.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-category-kpi.d.mts","names":[],"sources":["../../src/actions/create-category-kpi.ts"],"mappings":";;;cAIa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAW/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;;;cAahC,0BAAA,gCAA0B,wBAAA"}
1
+ {"version":3,"file":"create-category-kpi.d.mts","names":[],"sources":["../../src/actions/create-category-kpi.ts"],"mappings":";;;;;cAMa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAW/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;;;cAahC,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
  const simplekpiCreateCategoryKpi = action("SIMPLEKPI_CREATE_CATEGORY_KPI", {
@@ -1 +1 @@
1
- {"version":3,"file":"create-category-kpi.mjs","names":[],"sources":["../../src/actions/create-category-kpi.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplekpiCreateCategoryKpiInput = z.object({\n name: z.string().describe(\"Name of the KPI (maximum 100 characters)\"),\n icon_id: z.number().int().describe(\"The ID of the icon to use for this KPI\"),\n unit_id: z.number().int().describe(\"The ID of the unit of measurement for this KPI\"),\n is_active: z.boolean().describe(\"Whether the KPI is active and visible\"),\n sort_order: z.number().int().describe(\"Display order position for this KPI within the category\"),\n category_id: z.number().int().describe(\"The ID of the category where the KPI will be created\"),\n frequency_id: z.string().describe(\"Frequency ID as a single uppercase letter: D (daily), W (weekly), M (monthly), Q (quarterly), Y (yearly)\"),\n value_direction: z.enum([\"U\", \"D\", \"N\"]).describe(\"Indicates whether higher (U) or lower (D) values are better, or if direction doesn't matter (N)\"),\n aggregate_function: z.enum([\"AVG\", \"SUM\"]).describe(\"Function to use when aggregating KPI values: AVG (average) or SUM (sum)\"),\n}).describe(\"Request model for creating a new KPI within a category.\");\nexport const SimplekpiCreateCategoryKpiOutput = z.object({\n id: z.number().int().describe(\"The unique ID of the newly created KPI\").nullable().optional(),\n name: z.string().describe(\"The name of the created KPI\").nullable().optional(),\n icon_id: z.number().int().describe(\"The icon ID for this KPI\").nullable().optional(),\n unit_id: z.number().int().describe(\"The unit ID for this KPI\").nullable().optional(),\n is_active: z.boolean().describe(\"Whether the KPI is active\").nullable().optional(),\n sort_order: z.number().int().describe(\"The display order position\").nullable().optional(),\n category_id: z.number().int().describe(\"The ID of the category containing this KPI\").nullable().optional(),\n frequency_id: z.string().describe(\"The frequency ID for this KPI\").nullable().optional(),\n value_direction: z.string().describe(\"The value direction indicator\").nullable().optional(),\n aggregate_function: z.string().describe(\"The aggregate function for this KPI\").nullable().optional(),\n}).passthrough().describe(\"Response model after creating a KPI in a category.\");\n\nexport const simplekpiCreateCategoryKpi = action(\"SIMPLEKPI_CREATE_CATEGORY_KPI\", {\n slug: \"simplekpi-create-category-kpi\",\n name: \"Create Category KPI\",\n description: \"Tool to create a new KPI within a category in SimpleKPI. Use when you need to add a new performance indicator to track metrics like sales, revenue, or customer satisfaction.\",\n input: SimplekpiCreateCategoryKpiInput,\n output: SimplekpiCreateCategoryKpiOutput,\n});\n"],"mappings":";;AA4BA,MAAa,6BAA6B,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA5B6C,EAAE,OAAO;EACtD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C;EACpE,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC;EAC3E,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD;EACnF,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,uCAAuC;EACvE,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yDAAyD;EAC/F,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sDAAsD;EAC7F,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,0GAA0G;EAC5I,iBAAiB,EAAE,KAAK;GAAC;GAAK;GAAK;EAAG,CAAC,CAAC,CAAC,SAAS,iGAAiG;EACnJ,oBAAoB,EAAE,KAAK,CAAC,OAAO,KAAK,CAAC,CAAC,CAAC,SAAS,yEAAyE;CAC/H,CAAC,CAAC,CAAC,SAAS,yDAkBH;CACP,QAlB8C,EAAE,OAAO;EACvD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5F,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7E,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnF,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnF,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjF,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxF,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvF,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1F,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"create-category-kpi.mjs","names":[],"sources":["../../src/actions/create-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 SimplekpiCreateCategoryKpiInput = z.object({\n name: z.string().describe(\"Name of the KPI (maximum 100 characters)\"),\n icon_id: z.number().int().describe(\"The ID of the icon to use for this KPI\"),\n unit_id: z.number().int().describe(\"The ID of the unit of measurement for this KPI\"),\n is_active: z.boolean().describe(\"Whether the KPI is active and visible\"),\n sort_order: z.number().int().describe(\"Display order position for this KPI within the category\"),\n category_id: z.number().int().describe(\"The ID of the category where the KPI will be created\"),\n frequency_id: z.string().describe(\"Frequency ID as a single uppercase letter: D (daily), W (weekly), M (monthly), Q (quarterly), Y (yearly)\"),\n value_direction: z.enum([\"U\", \"D\", \"N\"]).describe(\"Indicates whether higher (U) or lower (D) values are better, or if direction doesn't matter (N)\"),\n aggregate_function: z.enum([\"AVG\", \"SUM\"]).describe(\"Function to use when aggregating KPI values: AVG (average) or SUM (sum)\"),\n}).describe(\"Request model for creating a new KPI within a category.\");\nexport const SimplekpiCreateCategoryKpiOutput = z.object({\n id: z.number().int().describe(\"The unique ID of the newly created KPI\").nullable().optional(),\n name: z.string().describe(\"The name of the created KPI\").nullable().optional(),\n icon_id: z.number().int().describe(\"The icon ID for this KPI\").nullable().optional(),\n unit_id: z.number().int().describe(\"The unit ID for this KPI\").nullable().optional(),\n is_active: z.boolean().describe(\"Whether the KPI is active\").nullable().optional(),\n sort_order: z.number().int().describe(\"The display order position\").nullable().optional(),\n category_id: z.number().int().describe(\"The ID of the category containing this KPI\").nullable().optional(),\n frequency_id: z.string().describe(\"The frequency ID for this KPI\").nullable().optional(),\n value_direction: z.string().describe(\"The value direction indicator\").nullable().optional(),\n aggregate_function: z.string().describe(\"The aggregate function for this KPI\").nullable().optional(),\n}).passthrough().describe(\"Response model after creating a KPI in a category.\");\n\nexport const simplekpiCreateCategoryKpi: AppAction<\n typeof SimplekpiCreateCategoryKpiInput,\n typeof SimplekpiCreateCategoryKpiOutput,\n typeof simplekpi.credential\n> = action(\"SIMPLEKPI_CREATE_CATEGORY_KPI\", {\n slug: \"simplekpi-create-category-kpi\",\n name: \"Create Category KPI\",\n description: \"Tool to create a new KPI within a category in SimpleKPI. Use when you need to add a new performance indicator to track metrics like sales, revenue, or customer satisfaction.\",\n input: SimplekpiCreateCategoryKpiInput,\n output: SimplekpiCreateCategoryKpiOutput,\n});\n"],"mappings":";;;AA8BA,MAAa,6BAIT,OAAO,iCAAiC;CAC1C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhC6C,EAAE,OAAO;EACtD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C;EACpE,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC;EAC3E,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD;EACnF,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,uCAAuC;EACvE,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yDAAyD;EAC/F,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sDAAsD;EAC7F,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,0GAA0G;EAC5I,iBAAiB,EAAE,KAAK;GAAC;GAAK;GAAK;EAAG,CAAC,CAAC,CAAC,SAAS,iGAAiG;EACnJ,oBAAoB,EAAE,KAAK,CAAC,OAAO,KAAK,CAAC,CAAC,CAAC,SAAS,yEAAyE;CAC/H,CAAC,CAAC,CAAC,SAAS,yDAsBH;CACP,QAtB8C,EAAE,OAAO;EACvD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5F,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7E,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnF,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnF,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjF,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxF,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvF,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1F,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAWhB;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/create-group-item.ts
@@ -1 +1 @@
1
- {"version":3,"file":"create-group-item.cjs","names":["z","action"],"sources":["../../src/actions/create-group-item.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplekpiCreateGroupItemInput = z.object({\n name: z.string().describe(\"The name of the group item (maximum 100 characters)\"),\n group_id: z.number().int().describe(\"The ID of the group to create the item in\"),\n sort_order: z.number().int().describe(\"The display order of the item within the group\"),\n});\nexport const SimplekpiCreateGroupItemOutput = z.object({\n id: z.number().int().describe(\"Automatically assigned unique identifier for the group item\").nullable(),\n name: z.string().describe(\"The name of the group item\").nullable(),\n group_id: z.number().int().describe(\"The ID of the group this item belongs to\").nullable(),\n created_at: z.string().describe(\"The UTC date and time when the item was created (ISO 8601 format)\").nullable().optional(),\n sort_order: z.number().int().describe(\"The display order of the item within the group\").nullable(),\n updated_at: z.string().describe(\"The UTC date and time of the last update to the item (ISO 8601 format)\").nullable().optional(),\n}).passthrough();\n\nexport const simplekpiCreateGroupItem = action(\"SIMPLEKPI_CREATE_GROUP_ITEM\", {\n slug: \"simplekpi-create-group-item\",\n name: \"Create Group Item\",\n description: \"Tool to create a new item within a group in SimpleKPI. Use when you need to add a new item to an existing group for organizing KPIs or data.\",\n input: SimplekpiCreateGroupItemInput,\n output: SimplekpiCreateGroupItemOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD;CAC/E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C;CAC/E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD;AACxF,CAAC;AACD,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;CACtG,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACjE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CACzF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CACjG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChI,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,2BAA2BC,eAAAA,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"create-group-item.cjs","names":["z","action"],"sources":["../../src/actions/create-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 SimplekpiCreateGroupItemInput = z.object({\n name: z.string().describe(\"The name of the group item (maximum 100 characters)\"),\n group_id: z.number().int().describe(\"The ID of the group to create the item in\"),\n sort_order: z.number().int().describe(\"The display order of the item within the group\"),\n});\nexport const SimplekpiCreateGroupItemOutput = z.object({\n id: z.number().int().describe(\"Automatically assigned unique identifier for the group item\").nullable(),\n name: z.string().describe(\"The name of the group item\").nullable(),\n group_id: z.number().int().describe(\"The ID of the group this item belongs to\").nullable(),\n created_at: z.string().describe(\"The UTC date and time when the item was created (ISO 8601 format)\").nullable().optional(),\n sort_order: z.number().int().describe(\"The display order of the item within the group\").nullable(),\n updated_at: z.string().describe(\"The UTC date and time of the last update to the item (ISO 8601 format)\").nullable().optional(),\n}).passthrough();\n\nexport const simplekpiCreateGroupItem: AppAction<\n typeof SimplekpiCreateGroupItemInput,\n typeof SimplekpiCreateGroupItemOutput,\n typeof simplekpi.credential\n> = action(\"SIMPLEKPI_CREATE_GROUP_ITEM\", {\n slug: \"simplekpi-create-group-item\",\n name: \"Create Group Item\",\n description: \"Tool to create a new item within a group in SimpleKPI. Use when you need to add a new item to an existing group for organizing KPIs or data.\",\n input: SimplekpiCreateGroupItemInput,\n output: SimplekpiCreateGroupItemOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD;CAC/E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C;CAC/E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD;AACxF,CAAC;AACD,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;CACtG,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACjE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CACzF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CACjG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChI,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,2BAITC,eAAAA,OAAO,+BAA+B;CACxC,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/create-group-item.d.ts
@@ -14,11 +16,7 @@ declare const SimplekpiCreateGroupItemOutput: z.ZodObject<{
14
16
  sort_order: z.ZodNullable<z.ZodNumber>;
15
17
  updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
18
  }, z.core.$loose>;
17
- declare const simplekpiCreateGroupItem: import("@keystrokehq/action").WorkflowActionDefinition<{
18
- name: string;
19
- group_id: number;
20
- sort_order: number;
21
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
19
+ declare const simplekpiCreateGroupItem: AppAction<typeof SimplekpiCreateGroupItemInput, typeof SimplekpiCreateGroupItemOutput, typeof simplekpi.credential>;
22
20
  //#endregion
23
21
  export { simplekpiCreateGroupItem };
24
22
  //# sourceMappingURL=create-group-item.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-group-item.d.cts","names":[],"sources":["../../src/actions/create-group-item.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;cAK7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;cAS9B,wBAAA,gCAAwB,wBAAA"}
1
+ {"version":3,"file":"create-group-item.d.cts","names":[],"sources":["../../src/actions/create-group-item.ts"],"mappings":";;;;;cAMa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;cAK7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;cAS9B,wBAAA,EAA0B,SAAA,QAC9B,6BAAA,SACA,8BAAA,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/create-group-item.d.ts
@@ -14,11 +16,7 @@ declare const SimplekpiCreateGroupItemOutput: z.ZodObject<{
14
16
  sort_order: z.ZodNullable<z.ZodNumber>;
15
17
  updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
18
  }, z.core.$loose>;
17
- declare const simplekpiCreateGroupItem: import("@keystrokehq/action").WorkflowActionDefinition<{
18
- name: string;
19
- group_id: number;
20
- sort_order: number;
21
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
19
+ declare const simplekpiCreateGroupItem: AppAction<typeof SimplekpiCreateGroupItemInput, typeof SimplekpiCreateGroupItemOutput, typeof simplekpi.credential>;
22
20
  //#endregion
23
21
  export { simplekpiCreateGroupItem };
24
22
  //# sourceMappingURL=create-group-item.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-group-item.d.mts","names":[],"sources":["../../src/actions/create-group-item.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;cAK7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;cAS9B,wBAAA,gCAAwB,wBAAA"}
1
+ {"version":3,"file":"create-group-item.d.mts","names":[],"sources":["../../src/actions/create-group-item.ts"],"mappings":";;;;;cAMa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;cAK7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;cAS9B,wBAAA,EAA0B,SAAA,QAC9B,6BAAA,SACA,8BAAA,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 simplekpiCreateGroupItem = action("SIMPLEKPI_CREATE_GROUP_ITEM", {
@@ -1 +1 @@
1
- {"version":3,"file":"create-group-item.mjs","names":[],"sources":["../../src/actions/create-group-item.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplekpiCreateGroupItemInput = z.object({\n name: z.string().describe(\"The name of the group item (maximum 100 characters)\"),\n group_id: z.number().int().describe(\"The ID of the group to create the item in\"),\n sort_order: z.number().int().describe(\"The display order of the item within the group\"),\n});\nexport const SimplekpiCreateGroupItemOutput = z.object({\n id: z.number().int().describe(\"Automatically assigned unique identifier for the group item\").nullable(),\n name: z.string().describe(\"The name of the group item\").nullable(),\n group_id: z.number().int().describe(\"The ID of the group this item belongs to\").nullable(),\n created_at: z.string().describe(\"The UTC date and time when the item was created (ISO 8601 format)\").nullable().optional(),\n sort_order: z.number().int().describe(\"The display order of the item within the group\").nullable(),\n updated_at: z.string().describe(\"The UTC date and time of the last update to the item (ISO 8601 format)\").nullable().optional(),\n}).passthrough();\n\nexport const simplekpiCreateGroupItem = action(\"SIMPLEKPI_CREATE_GROUP_ITEM\", {\n slug: \"simplekpi-create-group-item\",\n name: \"Create Group Item\",\n description: \"Tool to create a new item within a group in SimpleKPI. Use when you need to add a new item to an existing group for organizing KPIs or data.\",\n input: SimplekpiCreateGroupItemInput,\n output: SimplekpiCreateGroupItemOutput,\n});\n"],"mappings":";;AAkBA,MAAa,2BAA2B,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlB2C,EAAE,OAAO;EACpD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD;EAC/E,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C;EAC/E,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD;CACxF,CAcS;CACP,QAd4C,EAAE,OAAO;EACrD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;EACtG,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;EACjE,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;EACzF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzH,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;EACjG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChI,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
1
+ {"version":3,"file":"create-group-item.mjs","names":[],"sources":["../../src/actions/create-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 SimplekpiCreateGroupItemInput = z.object({\n name: z.string().describe(\"The name of the group item (maximum 100 characters)\"),\n group_id: z.number().int().describe(\"The ID of the group to create the item in\"),\n sort_order: z.number().int().describe(\"The display order of the item within the group\"),\n});\nexport const SimplekpiCreateGroupItemOutput = z.object({\n id: z.number().int().describe(\"Automatically assigned unique identifier for the group item\").nullable(),\n name: z.string().describe(\"The name of the group item\").nullable(),\n group_id: z.number().int().describe(\"The ID of the group this item belongs to\").nullable(),\n created_at: z.string().describe(\"The UTC date and time when the item was created (ISO 8601 format)\").nullable().optional(),\n sort_order: z.number().int().describe(\"The display order of the item within the group\").nullable(),\n updated_at: z.string().describe(\"The UTC date and time of the last update to the item (ISO 8601 format)\").nullable().optional(),\n}).passthrough();\n\nexport const simplekpiCreateGroupItem: AppAction<\n typeof SimplekpiCreateGroupItemInput,\n typeof SimplekpiCreateGroupItemOutput,\n typeof simplekpi.credential\n> = action(\"SIMPLEKPI_CREATE_GROUP_ITEM\", {\n slug: \"simplekpi-create-group-item\",\n name: \"Create Group Item\",\n description: \"Tool to create a new item within a group in SimpleKPI. Use when you need to add a new item to an existing group for organizing KPIs or data.\",\n input: SimplekpiCreateGroupItemInput,\n output: SimplekpiCreateGroupItemOutput,\n});\n"],"mappings":";;;AAoBA,MAAa,2BAIT,OAAO,+BAA+B;CACxC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAtB2C,EAAE,OAAO;EACpD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD;EAC/E,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C;EAC/E,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD;CACxF,CAkBS;CACP,QAlB4C,EAAE,OAAO;EACrD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;EACtG,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;EACjE,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;EACzF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzH,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;EACjG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChI,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/create-group.ts
@@ -1 +1 @@
1
- {"version":3,"file":"create-group.cjs","names":["z","action"],"sources":["../../src/actions/create-group.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplekpiCreateGroupInput = z.object({\n name: z.string().describe(\"Group name. Must not exceed 50 characters.\"),\n sort_order: z.number().int().describe(\"Display order for the group. Lower values appear first in lists.\"),\n}).describe(\"Request parameters for creating a new group in SimpleKPI.\");\nexport const SimplekpiCreateGroupOutput = z.object({\n id: z.number().int().describe(\"System-assigned unique identifier for the group\").nullable(),\n name: z.string().describe(\"Group name (max 50 characters)\").nullable(),\n created_at: z.string().describe(\"ISO 8601 timestamp when the group was created\").nullable().optional(),\n sort_order: z.number().int().describe(\"Display ordering value for the group\").nullable(),\n updated_at: z.string().describe(\"ISO 8601 timestamp when the group was last modified\").nullable().optional(),\n}).passthrough().describe(\"Response containing the newly created group details.\");\n\nexport const simplekpiCreateGroup = action(\"SIMPLEKPI_CREATE_GROUP\", {\n slug: \"simplekpi-create-group\",\n name: \"Create Group\",\n description: \"Tool to create a new group in SimpleKPI. Use when you need to organize KPIs or users into logical groups for better organization and reporting.\",\n input: SimplekpiCreateGroupInput,\n output: SimplekpiCreateGroupOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;CACtE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kEAAkE;AAC1G,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CAC1F,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACrE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CACvF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAAsD;AAEhF,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"create-group.cjs","names":["z","action"],"sources":["../../src/actions/create-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 SimplekpiCreateGroupInput = z.object({\n name: z.string().describe(\"Group name. Must not exceed 50 characters.\"),\n sort_order: z.number().int().describe(\"Display order for the group. Lower values appear first in lists.\"),\n}).describe(\"Request parameters for creating a new group in SimpleKPI.\");\nexport const SimplekpiCreateGroupOutput = z.object({\n id: z.number().int().describe(\"System-assigned unique identifier for the group\").nullable(),\n name: z.string().describe(\"Group name (max 50 characters)\").nullable(),\n created_at: z.string().describe(\"ISO 8601 timestamp when the group was created\").nullable().optional(),\n sort_order: z.number().int().describe(\"Display ordering value for the group\").nullable(),\n updated_at: z.string().describe(\"ISO 8601 timestamp when the group was last modified\").nullable().optional(),\n}).passthrough().describe(\"Response containing the newly created group details.\");\n\nexport const simplekpiCreateGroup: AppAction<\n typeof SimplekpiCreateGroupInput,\n typeof SimplekpiCreateGroupOutput,\n typeof simplekpi.credential\n> = action(\"SIMPLEKPI_CREATE_GROUP\", {\n slug: \"simplekpi-create-group\",\n name: \"Create Group\",\n description: \"Tool to create a new group in SimpleKPI. Use when you need to organize KPIs or users into logical groups for better organization and reporting.\",\n input: SimplekpiCreateGroupInput,\n output: SimplekpiCreateGroupOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;CACtE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kEAAkE;AAC1G,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CAC1F,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACrE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CACvF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAAsD;AAEhF,MAAa,uBAITC,eAAAA,OAAO,0BAA0B;CACnC,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/create-group.d.ts
@@ -12,10 +14,7 @@ declare const SimplekpiCreateGroupOutput: z.ZodObject<{
12
14
  sort_order: z.ZodNullable<z.ZodNumber>;
13
15
  updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
16
  }, z.core.$loose>;
15
- declare const simplekpiCreateGroup: import("@keystrokehq/action").WorkflowActionDefinition<{
16
- name: string;
17
- sort_order: number;
18
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
17
+ declare const simplekpiCreateGroup: AppAction<typeof SimplekpiCreateGroupInput, typeof SimplekpiCreateGroupOutput, typeof simplekpi.credential>;
19
18
  //#endregion
20
19
  export { simplekpiCreateGroup };
21
20
  //# sourceMappingURL=create-group.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-group.d.cts","names":[],"sources":["../../src/actions/create-group.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;cAIzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;cAQ1B,oBAAA,gCAAoB,wBAAA"}
1
+ {"version":3,"file":"create-group.d.cts","names":[],"sources":["../../src/actions/create-group.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;cAIzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;cAQ1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,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/create-group.d.ts
@@ -12,10 +14,7 @@ declare const SimplekpiCreateGroupOutput: z.ZodObject<{
12
14
  sort_order: z.ZodNullable<z.ZodNumber>;
13
15
  updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
16
  }, z.core.$loose>;
15
- declare const simplekpiCreateGroup: import("@keystrokehq/action").WorkflowActionDefinition<{
16
- name: string;
17
- sort_order: number;
18
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
17
+ declare const simplekpiCreateGroup: AppAction<typeof SimplekpiCreateGroupInput, typeof SimplekpiCreateGroupOutput, typeof simplekpi.credential>;
19
18
  //#endregion
20
19
  export { simplekpiCreateGroup };
21
20
  //# sourceMappingURL=create-group.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-group.d.mts","names":[],"sources":["../../src/actions/create-group.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;cAIzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;cAQ1B,oBAAA,gCAAoB,wBAAA"}
1
+ {"version":3,"file":"create-group.d.mts","names":[],"sources":["../../src/actions/create-group.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;cAIzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;cAQ1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,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 simplekpiCreateGroup = action("SIMPLEKPI_CREATE_GROUP", {
@@ -1 +1 @@
1
- {"version":3,"file":"create-group.mjs","names":[],"sources":["../../src/actions/create-group.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplekpiCreateGroupInput = z.object({\n name: z.string().describe(\"Group name. Must not exceed 50 characters.\"),\n sort_order: z.number().int().describe(\"Display order for the group. Lower values appear first in lists.\"),\n}).describe(\"Request parameters for creating a new group in SimpleKPI.\");\nexport const SimplekpiCreateGroupOutput = z.object({\n id: z.number().int().describe(\"System-assigned unique identifier for the group\").nullable(),\n name: z.string().describe(\"Group name (max 50 characters)\").nullable(),\n created_at: z.string().describe(\"ISO 8601 timestamp when the group was created\").nullable().optional(),\n sort_order: z.number().int().describe(\"Display ordering value for the group\").nullable(),\n updated_at: z.string().describe(\"ISO 8601 timestamp when the group was last modified\").nullable().optional(),\n}).passthrough().describe(\"Response containing the newly created group details.\");\n\nexport const simplekpiCreateGroup = action(\"SIMPLEKPI_CREATE_GROUP\", {\n slug: \"simplekpi-create-group\",\n name: \"Create Group\",\n description: \"Tool to create a new group in SimpleKPI. Use when you need to organize KPIs or users into logical groups for better organization and reporting.\",\n input: SimplekpiCreateGroupInput,\n output: SimplekpiCreateGroupOutput,\n});\n"],"mappings":";;AAgBA,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhBuC,EAAE,OAAO;EAChD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;EACtE,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kEAAkE;CAC1G,CAAC,CAAC,CAAC,SAAS,2DAaH;CACP,QAbwC,EAAE,OAAO;EACjD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;EAC1F,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;EACrE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrG,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;EACvF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"create-group.mjs","names":[],"sources":["../../src/actions/create-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 SimplekpiCreateGroupInput = z.object({\n name: z.string().describe(\"Group name. Must not exceed 50 characters.\"),\n sort_order: z.number().int().describe(\"Display order for the group. Lower values appear first in lists.\"),\n}).describe(\"Request parameters for creating a new group in SimpleKPI.\");\nexport const SimplekpiCreateGroupOutput = z.object({\n id: z.number().int().describe(\"System-assigned unique identifier for the group\").nullable(),\n name: z.string().describe(\"Group name (max 50 characters)\").nullable(),\n created_at: z.string().describe(\"ISO 8601 timestamp when the group was created\").nullable().optional(),\n sort_order: z.number().int().describe(\"Display ordering value for the group\").nullable(),\n updated_at: z.string().describe(\"ISO 8601 timestamp when the group was last modified\").nullable().optional(),\n}).passthrough().describe(\"Response containing the newly created group details.\");\n\nexport const simplekpiCreateGroup: AppAction<\n typeof SimplekpiCreateGroupInput,\n typeof SimplekpiCreateGroupOutput,\n typeof simplekpi.credential\n> = action(\"SIMPLEKPI_CREATE_GROUP\", {\n slug: \"simplekpi-create-group\",\n name: \"Create Group\",\n description: \"Tool to create a new group in SimpleKPI. Use when you need to organize KPIs or users into logical groups for better organization and reporting.\",\n input: SimplekpiCreateGroupInput,\n output: SimplekpiCreateGroupOutput,\n});\n"],"mappings":";;;AAkBA,MAAa,uBAIT,OAAO,0BAA0B;CACnC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OApBuC,EAAE,OAAO;EAChD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;EACtE,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kEAAkE;CAC1G,CAAC,CAAC,CAAC,SAAS,2DAiBH;CACP,QAjBwC,EAAE,OAAO;EACjD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;EAC1F,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;EACrE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrG,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;EACvF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,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/create-kpi-category.ts
@@ -1 +1 @@
1
- {"version":3,"file":"create-kpi-category.cjs","names":["z","action"],"sources":["../../src/actions/create-kpi-category.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplekpiCreateKpiCategoryInput = z.object({\n name: z.string().describe(\"Category name (maximum 50 characters)\"),\n sort_order: z.number().int().describe(\"Display order for the category (integer value)\"),\n});\nexport const SimplekpiCreateKpiCategoryOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the created KPI category\").nullable(),\n name: z.string().describe(\"Name of the created KPI category\").nullable(),\n created_at: z.string().describe(\"UTC datetime when the category was created (ISO 8601 format)\").nullable().optional(),\n sort_order: z.number().int().describe(\"Display order of the created KPI category\").nullable(),\n updated_at: z.string().describe(\"UTC datetime when the category was last updated (ISO 8601 format)\").nullable().optional(),\n}).passthrough();\n\nexport const simplekpiCreateKpiCategory = action(\"SIMPLEKPI_CREATE_KPI_CATEGORY\", {\n slug: \"simplekpi-create-kpi-category\",\n name: \"Create KPI Category\",\n description: \"Tool to create a new KPI category in SimpleKPI. Use when you need to organize KPIs into logical groups or categories.\",\n input: SimplekpiCreateKpiCategoryInput,\n output: SimplekpiCreateKpiCategoryOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;CACjE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD;AACxF,CAAC;AACD,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CACxF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACvE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CAC5F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3H,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,6BAA6BC,eAAAA,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"create-kpi-category.cjs","names":["z","action"],"sources":["../../src/actions/create-kpi-category.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 SimplekpiCreateKpiCategoryInput = z.object({\n name: z.string().describe(\"Category name (maximum 50 characters)\"),\n sort_order: z.number().int().describe(\"Display order for the category (integer value)\"),\n});\nexport const SimplekpiCreateKpiCategoryOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the created KPI category\").nullable(),\n name: z.string().describe(\"Name of the created KPI category\").nullable(),\n created_at: z.string().describe(\"UTC datetime when the category was created (ISO 8601 format)\").nullable().optional(),\n sort_order: z.number().int().describe(\"Display order of the created KPI category\").nullable(),\n updated_at: z.string().describe(\"UTC datetime when the category was last updated (ISO 8601 format)\").nullable().optional(),\n}).passthrough();\n\nexport const simplekpiCreateKpiCategory: AppAction<\n typeof SimplekpiCreateKpiCategoryInput,\n typeof SimplekpiCreateKpiCategoryOutput,\n typeof simplekpi.credential\n> = action(\"SIMPLEKPI_CREATE_KPI_CATEGORY\", {\n slug: \"simplekpi-create-kpi-category\",\n name: \"Create KPI Category\",\n description: \"Tool to create a new KPI category in SimpleKPI. Use when you need to organize KPIs into logical groups or categories.\",\n input: SimplekpiCreateKpiCategoryInput,\n output: SimplekpiCreateKpiCategoryOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;CACjE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD;AACxF,CAAC;AACD,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CACxF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACvE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CAC5F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3H,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,6BAITC,eAAAA,OAAO,iCAAiC;CAC1C,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/create-kpi-category.d.ts
@@ -12,10 +14,7 @@ declare const SimplekpiCreateKpiCategoryOutput: z.ZodObject<{
12
14
  sort_order: z.ZodNullable<z.ZodNumber>;
13
15
  updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
16
  }, z.core.$loose>;
15
- declare const simplekpiCreateKpiCategory: import("@keystrokehq/action").WorkflowActionDefinition<{
16
- name: string;
17
- sort_order: number;
18
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
17
+ declare const simplekpiCreateKpiCategory: AppAction<typeof SimplekpiCreateKpiCategoryInput, typeof SimplekpiCreateKpiCategoryOutput, typeof simplekpi.credential>;
19
18
  //#endregion
20
19
  export { simplekpiCreateKpiCategory };
21
20
  //# sourceMappingURL=create-kpi-category.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-kpi-category.d.cts","names":[],"sources":["../../src/actions/create-kpi-category.ts"],"mappings":";;;cAIa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;cAI/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;cAQhC,0BAAA,gCAA0B,wBAAA"}
1
+ {"version":3,"file":"create-kpi-category.d.cts","names":[],"sources":["../../src/actions/create-kpi-category.ts"],"mappings":";;;;;cAMa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;cAI/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;cAQhC,0BAAA,EAA4B,SAAA,QAChC,+BAAA,SACA,gCAAA,SACA,SAAA,CAAU,UAAA"}