@keystrokehq/simplekpi 0.1.5 → 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 -24
  6. package/dist/actions/add-user-group-item.d.cts.map +1 -1
  7. package/dist/actions/add-user-group-item.d.mts +3 -24
  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 -26
  14. package/dist/actions/add-user-kpi.d.cts.map +1 -1
  15. package/dist/actions/add-user-kpi.d.mts +3 -26
  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 -31
  22. package/dist/actions/create-category-kpi.d.cts.map +1 -1
  23. package/dist/actions/create-category-kpi.d.mts +3 -31
  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 -25
  30. package/dist/actions/create-group-item.d.cts.map +1 -1
  31. package/dist/actions/create-group-item.d.mts +3 -25
  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 -24
  38. package/dist/actions/create-group.d.cts.map +1 -1
  39. package/dist/actions/create-group.d.mts +3 -24
  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 -24
  46. package/dist/actions/create-kpi-category.d.cts.map +1 -1
  47. package/dist/actions/create-kpi-category.d.mts +3 -24
  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 -26
  54. package/dist/actions/create-kpi-unit.d.cts.map +1 -1
  55. package/dist/actions/create-kpi-unit.d.mts +3 -26
  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 -31
  62. package/dist/actions/create-kpi.d.cts.map +1 -1
  63. package/dist/actions/create-kpi.d.mts +3 -31
  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 -39
  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 -39
  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 -30
  78. package/dist/actions/create-user.d.cts.map +1 -1
  79. package/dist/actions/create-user.d.mts +3 -30
  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 -24
  86. package/dist/actions/delete-category-kpi.d.cts.map +1 -1
  87. package/dist/actions/delete-category-kpi.d.mts +3 -24
  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 -24
  94. package/dist/actions/delete-group-item.d.cts.map +1 -1
  95. package/dist/actions/delete-group-item.d.mts +3 -24
  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 -23
  102. package/dist/actions/delete-group.d.cts.map +1 -1
  103. package/dist/actions/delete-group.d.mts +3 -23
  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 -23
  110. package/dist/actions/delete-kpi-category.d.cts.map +1 -1
  111. package/dist/actions/delete-kpi-category.d.mts +3 -23
  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 -23
  118. package/dist/actions/delete-kpi-entry.d.cts.map +1 -1
  119. package/dist/actions/delete-kpi-entry.d.mts +3 -23
  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 -23
  126. package/dist/actions/delete-kpi-unit.d.cts.map +1 -1
  127. package/dist/actions/delete-kpi-unit.d.mts +3 -23
  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 -23
  134. package/dist/actions/delete-kpi.d.cts.map +1 -1
  135. package/dist/actions/delete-kpi.d.mts +3 -23
  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 -24
  142. package/dist/actions/delete-user-group-item.d.cts.map +1 -1
  143. package/dist/actions/delete-user-group-item.d.mts +3 -24
  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 -24
  150. package/dist/actions/delete-user-kpi.d.cts.map +1 -1
  151. package/dist/actions/delete-user-kpi.d.mts +3 -24
  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 -23
  158. package/dist/actions/delete-user.d.cts.map +1 -1
  159. package/dist/actions/delete-user.d.mts +3 -23
  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 -27
  166. package/dist/actions/get-all-data-entries.d.cts.map +1 -1
  167. package/dist/actions/get-all-data-entries.d.mts +3 -27
  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 -24
  174. package/dist/actions/get-category-kpi.d.cts.map +1 -1
  175. package/dist/actions/get-category-kpi.d.mts +3 -24
  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 -24
  182. package/dist/actions/get-group-item.d.cts.map +1 -1
  183. package/dist/actions/get-group-item.d.mts +3 -24
  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 -23
  190. package/dist/actions/get-group.d.cts.map +1 -1
  191. package/dist/actions/get-group.d.mts +3 -23
  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 -23
  198. package/dist/actions/get-kpi-category.d.cts.map +1 -1
  199. package/dist/actions/get-kpi-category.d.mts +3 -23
  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 -23
  206. package/dist/actions/get-kpi-entry.d.cts.map +1 -1
  207. package/dist/actions/get-kpi-entry.d.mts +3 -23
  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 -23
  214. package/dist/actions/get-kpi-frequency.d.cts.map +1 -1
  215. package/dist/actions/get-kpi-frequency.d.mts +3 -23
  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 -23
  222. package/dist/actions/get-kpi-icon.d.cts.map +1 -1
  223. package/dist/actions/get-kpi-icon.d.mts +3 -23
  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 -23
  230. package/dist/actions/get-kpi-unit.d.cts.map +1 -1
  231. package/dist/actions/get-kpi-unit.d.mts +3 -23
  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 -23
  238. package/dist/actions/get-kpi.d.cts.map +1 -1
  239. package/dist/actions/get-kpi.d.mts +3 -23
  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 -24
  246. package/dist/actions/get-user-group-item.d.cts.map +1 -1
  247. package/dist/actions/get-user-group-item.d.mts +3 -24
  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 -24
  254. package/dist/actions/get-user-kpi.d.cts.map +1 -1
  255. package/dist/actions/get-user-kpi.d.mts +3 -24
  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 -23
  262. package/dist/actions/get-user.d.cts.map +1 -1
  263. package/dist/actions/get-user.d.mts +3 -23
  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 -23
  270. package/dist/actions/list-category-kpis.d.cts.map +1 -1
  271. package/dist/actions/list-category-kpis.d.mts +3 -23
  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 -23
  278. package/dist/actions/list-group-items.d.cts.map +1 -1
  279. package/dist/actions/list-group-items.d.mts +3 -23
  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 -21
  286. package/dist/actions/list-groups.d.cts.map +1 -1
  287. package/dist/actions/list-groups.d.mts +3 -21
  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 -21
  294. package/dist/actions/list-kpi-categories.d.cts.map +1 -1
  295. package/dist/actions/list-kpi-categories.d.mts +3 -21
  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 -28
  302. package/dist/actions/list-kpi-entries.d.cts.map +1 -1
  303. package/dist/actions/list-kpi-entries.d.mts +3 -28
  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 -21
  310. package/dist/actions/list-kpi-frequencies.d.cts.map +1 -1
  311. package/dist/actions/list-kpi-frequencies.d.mts +3 -21
  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 -21
  318. package/dist/actions/list-kpi-icons.d.cts.map +1 -1
  319. package/dist/actions/list-kpi-icons.d.mts +3 -21
  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 -21
  326. package/dist/actions/list-kpi-units.d.cts.map +1 -1
  327. package/dist/actions/list-kpi-units.d.mts +3 -21
  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 -21
  334. package/dist/actions/list-kpis.d.cts.map +1 -1
  335. package/dist/actions/list-kpis.d.mts +3 -21
  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 -23
  342. package/dist/actions/list-user-group-items.d.cts.map +1 -1
  343. package/dist/actions/list-user-group-items.d.mts +3 -23
  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 -23
  350. package/dist/actions/list-user-kpis.d.cts.map +1 -1
  351. package/dist/actions/list-user-kpis.d.mts +3 -23
  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 -34
  358. package/dist/actions/update-category-kpi.d.cts.map +1 -1
  359. package/dist/actions/update-category-kpi.d.mts +3 -34
  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 -26
  366. package/dist/actions/update-group-item.d.cts.map +1 -1
  367. package/dist/actions/update-group-item.d.mts +3 -26
  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 -25
  374. package/dist/actions/update-group.d.cts.map +1 -1
  375. package/dist/actions/update-group.d.mts +3 -25
  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 -29
  382. package/dist/actions/update-kpi-entry.d.cts.map +1 -1
  383. package/dist/actions/update-kpi-entry.d.mts +3 -29
  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 -27
  390. package/dist/actions/update-kpi-unit.d.cts.map +1 -1
  391. package/dist/actions/update-kpi-unit.d.mts +3 -27
  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 -34
  398. package/dist/actions/update-kpi.d.cts.map +1 -1
  399. package/dist/actions/update-kpi.d.mts +3 -34
  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 -30
  406. package/dist/actions/update-user.d.cts.map +1 -1
  407. package/dist/actions/update-user.d.mts +3 -30
  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 +8 -7
  412. package/dist/app.cjs.map +1 -1
  413. package/dist/app.d.cts +4 -6
  414. package/dist/app.d.cts.map +1 -1
  415. package/dist/app.d.mts +4 -6
  416. package/dist/app.d.mts.map +1 -1
  417. package/dist/app.mjs +0 -1
  418. package/dist/app.mjs.map +1 -1
  419. package/dist/index.d.cts +1 -1
  420. package/dist/index.d.mts +1 -1
  421. package/package.json +2 -2
@@ -1,3 +1,5 @@
1
+ import { simplekpi } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-kpi-frequency.d.ts
@@ -8,29 +10,7 @@ declare const SimplekpiGetKpiFrequencyOutput: z.ZodObject<{
8
10
  id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9
11
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10
12
  }, z.core.$loose>;
11
- declare const simplekpiGetKpiFrequency: import("@keystrokehq/action").WorkflowActionDefinition<{
12
- id: string;
13
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"simplekpi", z.ZodObject<{
14
- connectionId: z.ZodString;
15
- entityId: z.ZodString;
16
- instanceId: z.ZodString;
17
- }, z.core.$strip>, z.ZodObject<{
18
- username: z.ZodString;
19
- password: z.ZodString;
20
- subdomain: z.ZodString;
21
- generic_api_key: z.ZodString;
22
- generic_id: z.ZodString;
23
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"simplekpi", z.ZodObject<{
24
- connectionId: z.ZodString;
25
- entityId: z.ZodString;
26
- instanceId: z.ZodString;
27
- }, z.core.$strip>, z.ZodObject<{
28
- username: z.ZodString;
29
- password: z.ZodString;
30
- subdomain: z.ZodString;
31
- generic_api_key: z.ZodString;
32
- generic_id: z.ZodString;
33
- }, z.core.$strip>>]>;
13
+ declare const simplekpiGetKpiFrequency: AppAction<typeof SimplekpiGetKpiFrequencyInput, typeof SimplekpiGetKpiFrequencyOutput, typeof simplekpi.credential>;
34
14
  //#endregion
35
15
  export { simplekpiGetKpiFrequency };
36
16
  //# sourceMappingURL=get-kpi-frequency.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-kpi-frequency.d.mts","names":[],"sources":["../../src/actions/get-kpi-frequency.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;cAG7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;cAK9B,wBAAA,gCAAwB,wBAAA"}
1
+ {"version":3,"file":"get-kpi-frequency.d.mts","names":[],"sources":["../../src/actions/get-kpi-frequency.ts"],"mappings":";;;;;cAMa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;cAG7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;cAK9B,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 simplekpiGetKpiFrequency = action("SIMPLEKPI_GET_KPI_FREQUENCY", {
@@ -1 +1 @@
1
- {"version":3,"file":"get-kpi-frequency.mjs","names":[],"sources":["../../src/actions/get-kpi-frequency.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplekpiGetKpiFrequencyInput = z.object({\n id: z.string().describe(\"The frequency ID (e.g., 'D' for Daily, 'W' for Weekly, 'M' for Monthly)\"),\n}).describe(\"Request model for retrieving a specific KPI frequency by ID.\");\nexport const SimplekpiGetKpiFrequencyOutput = z.object({\n id: z.string().describe(\"The unique identifier of the frequency (e.g., 'D' for Daily)\").nullable().optional(),\n name: z.string().describe(\"The name of the frequency (e.g., 'Daily', 'Weekly', 'Monthly')\").nullable().optional(),\n}).passthrough().describe(\"Response model containing KPI frequency information.\");\n\nexport const simplekpiGetKpiFrequency = action(\"SIMPLEKPI_GET_KPI_FREQUENCY\", {\n slug: \"simplekpi-get-kpi-frequency\",\n name: \"Get KPI Frequency\",\n description: \"Tool to get a specific KPI frequency by ID from SimplekPI. Use when you need to retrieve information about a particular frequency setting for KPIs.\",\n input: SimplekpiGetKpiFrequencyInput,\n output: SimplekpiGetKpiFrequencyOutput,\n});\n"],"mappings":";;AAYA,MAAa,2BAA2B,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZ2C,EAAE,OAAO,EACpD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,EACnG,CAAC,CAAC,CAAC,SAAS,8DAUH;CACP,QAV4C,EAAE,OAAO;EACrD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5G,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"get-kpi-frequency.mjs","names":[],"sources":["../../src/actions/get-kpi-frequency.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 SimplekpiGetKpiFrequencyInput = z.object({\n id: z.string().describe(\"The frequency ID (e.g., 'D' for Daily, 'W' for Weekly, 'M' for Monthly)\"),\n}).describe(\"Request model for retrieving a specific KPI frequency by ID.\");\nexport const SimplekpiGetKpiFrequencyOutput = z.object({\n id: z.string().describe(\"The unique identifier of the frequency (e.g., 'D' for Daily)\").nullable().optional(),\n name: z.string().describe(\"The name of the frequency (e.g., 'Daily', 'Weekly', 'Monthly')\").nullable().optional(),\n}).passthrough().describe(\"Response model containing KPI frequency information.\");\n\nexport const simplekpiGetKpiFrequency: AppAction<\n typeof SimplekpiGetKpiFrequencyInput,\n typeof SimplekpiGetKpiFrequencyOutput,\n typeof simplekpi.credential\n> = action(\"SIMPLEKPI_GET_KPI_FREQUENCY\", {\n slug: \"simplekpi-get-kpi-frequency\",\n name: \"Get KPI Frequency\",\n description: \"Tool to get a specific KPI frequency by ID from SimplekPI. Use when you need to retrieve information about a particular frequency setting for KPIs.\",\n input: SimplekpiGetKpiFrequencyInput,\n output: SimplekpiGetKpiFrequencyOutput,\n});\n"],"mappings":";;;AAcA,MAAa,2BAIT,OAAO,+BAA+B;CACxC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhB2C,EAAE,OAAO,EACpD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,EACnG,CAAC,CAAC,CAAC,SAAS,8DAcH;CACP,QAd4C,EAAE,OAAO;EACrD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5G,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/get-kpi-icon.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-kpi-icon.cjs","names":["z","action"],"sources":["../../src/actions/get-kpi-icon.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplekpiGetKpiIconInput = z.object({\n id: z.number().int().describe(\"The unique identifier of the KPI icon to retrieve\"),\n}).describe(\"Request parameters for retrieving a specific KPI icon by ID.\");\nexport const SimplekpiGetKpiIconOutput = z.object({\n id: z.number().int().describe(\"Internal id of the KPI icon\").nullable().optional(),\n name: z.string().describe(\"The name of the icon. The icons are located at http://{subdomain}.simplekpi.com/kpi-icons/{name}.svg\").nullable().optional(),\n}).passthrough().describe(\"Response schema for a KPI icon object.\");\n\nexport const simplekpiGetKpiIcon = action(\"SIMPLEKPI_GET_KPI_ICON\", {\n slug: \"simplekpi-get-kpi-icon\",\n name: \"Get KPI Icon by ID\",\n description: \"Tool to retrieve a specific KPI icon by ID. Use when you need to get icon details including the icon name which can be used to construct the icon URL.\",\n input: SimplekpiGetKpiIconInput,\n output: SimplekpiGetKpiIconOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO,EAC/C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD,EACnF,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAC1E,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sGAAsG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAElE,MAAa,sBAAsBC,eAAAA,OAAO,0BAA0B;CAClE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-kpi-icon.cjs","names":["z","action"],"sources":["../../src/actions/get-kpi-icon.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 SimplekpiGetKpiIconInput = z.object({\n id: z.number().int().describe(\"The unique identifier of the KPI icon to retrieve\"),\n}).describe(\"Request parameters for retrieving a specific KPI icon by ID.\");\nexport const SimplekpiGetKpiIconOutput = z.object({\n id: z.number().int().describe(\"Internal id of the KPI icon\").nullable().optional(),\n name: z.string().describe(\"The name of the icon. The icons are located at http://{subdomain}.simplekpi.com/kpi-icons/{name}.svg\").nullable().optional(),\n}).passthrough().describe(\"Response schema for a KPI icon object.\");\n\nexport const simplekpiGetKpiIcon: AppAction<\n typeof SimplekpiGetKpiIconInput,\n typeof SimplekpiGetKpiIconOutput,\n typeof simplekpi.credential\n> = action(\"SIMPLEKPI_GET_KPI_ICON\", {\n slug: \"simplekpi-get-kpi-icon\",\n name: \"Get KPI Icon by ID\",\n description: \"Tool to retrieve a specific KPI icon by ID. Use when you need to get icon details including the icon name which can be used to construct the icon URL.\",\n input: SimplekpiGetKpiIconInput,\n output: SimplekpiGetKpiIconOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO,EAC/C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD,EACnF,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAC1E,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sGAAsG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAElE,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/get-kpi-icon.d.ts
@@ -8,29 +10,7 @@ declare const SimplekpiGetKpiIconOutput: z.ZodObject<{
8
10
  id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
9
11
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10
12
  }, z.core.$loose>;
11
- declare const simplekpiGetKpiIcon: import("@keystrokehq/action").WorkflowActionDefinition<{
12
- id: number;
13
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"simplekpi", z.ZodObject<{
14
- connectionId: z.ZodString;
15
- entityId: z.ZodString;
16
- instanceId: z.ZodString;
17
- }, z.core.$strip>, z.ZodObject<{
18
- username: z.ZodString;
19
- password: z.ZodString;
20
- subdomain: z.ZodString;
21
- generic_api_key: z.ZodString;
22
- generic_id: z.ZodString;
23
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"simplekpi", z.ZodObject<{
24
- connectionId: z.ZodString;
25
- entityId: z.ZodString;
26
- instanceId: z.ZodString;
27
- }, z.core.$strip>, z.ZodObject<{
28
- username: z.ZodString;
29
- password: z.ZodString;
30
- subdomain: z.ZodString;
31
- generic_api_key: z.ZodString;
32
- generic_id: z.ZodString;
33
- }, z.core.$strip>>]>;
13
+ declare const simplekpiGetKpiIcon: AppAction<typeof SimplekpiGetKpiIconInput, typeof SimplekpiGetKpiIconOutput, typeof simplekpi.credential>;
34
14
  //#endregion
35
15
  export { simplekpiGetKpiIcon };
36
16
  //# sourceMappingURL=get-kpi-icon.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-kpi-icon.d.cts","names":[],"sources":["../../src/actions/get-kpi-icon.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;cAGxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;cAKzB,mBAAA,gCAAmB,wBAAA"}
1
+ {"version":3,"file":"get-kpi-icon.d.cts","names":[],"sources":["../../src/actions/get-kpi-icon.ts"],"mappings":";;;;;cAMa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;cAGxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;cAKzB,mBAAA,EAAqB,SAAA,QACzB,wBAAA,SACA,yBAAA,SACA,SAAA,CAAU,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { simplekpi } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-kpi-icon.d.ts
@@ -8,29 +10,7 @@ declare const SimplekpiGetKpiIconOutput: z.ZodObject<{
8
10
  id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
9
11
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10
12
  }, z.core.$loose>;
11
- declare const simplekpiGetKpiIcon: import("@keystrokehq/action").WorkflowActionDefinition<{
12
- id: number;
13
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"simplekpi", z.ZodObject<{
14
- connectionId: z.ZodString;
15
- entityId: z.ZodString;
16
- instanceId: z.ZodString;
17
- }, z.core.$strip>, z.ZodObject<{
18
- username: z.ZodString;
19
- password: z.ZodString;
20
- subdomain: z.ZodString;
21
- generic_api_key: z.ZodString;
22
- generic_id: z.ZodString;
23
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"simplekpi", z.ZodObject<{
24
- connectionId: z.ZodString;
25
- entityId: z.ZodString;
26
- instanceId: z.ZodString;
27
- }, z.core.$strip>, z.ZodObject<{
28
- username: z.ZodString;
29
- password: z.ZodString;
30
- subdomain: z.ZodString;
31
- generic_api_key: z.ZodString;
32
- generic_id: z.ZodString;
33
- }, z.core.$strip>>]>;
13
+ declare const simplekpiGetKpiIcon: AppAction<typeof SimplekpiGetKpiIconInput, typeof SimplekpiGetKpiIconOutput, typeof simplekpi.credential>;
34
14
  //#endregion
35
15
  export { simplekpiGetKpiIcon };
36
16
  //# sourceMappingURL=get-kpi-icon.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-kpi-icon.d.mts","names":[],"sources":["../../src/actions/get-kpi-icon.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;cAGxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;cAKzB,mBAAA,gCAAmB,wBAAA"}
1
+ {"version":3,"file":"get-kpi-icon.d.mts","names":[],"sources":["../../src/actions/get-kpi-icon.ts"],"mappings":";;;;;cAMa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;cAGxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;cAKzB,mBAAA,EAAqB,SAAA,QACzB,wBAAA,SACA,yBAAA,SACA,SAAA,CAAU,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const simplekpiGetKpiIcon = action("SIMPLEKPI_GET_KPI_ICON", {
@@ -1 +1 @@
1
- {"version":3,"file":"get-kpi-icon.mjs","names":[],"sources":["../../src/actions/get-kpi-icon.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplekpiGetKpiIconInput = z.object({\n id: z.number().int().describe(\"The unique identifier of the KPI icon to retrieve\"),\n}).describe(\"Request parameters for retrieving a specific KPI icon by ID.\");\nexport const SimplekpiGetKpiIconOutput = z.object({\n id: z.number().int().describe(\"Internal id of the KPI icon\").nullable().optional(),\n name: z.string().describe(\"The name of the icon. The icons are located at http://{subdomain}.simplekpi.com/kpi-icons/{name}.svg\").nullable().optional(),\n}).passthrough().describe(\"Response schema for a KPI icon object.\");\n\nexport const simplekpiGetKpiIcon = action(\"SIMPLEKPI_GET_KPI_ICON\", {\n slug: \"simplekpi-get-kpi-icon\",\n name: \"Get KPI Icon by ID\",\n description: \"Tool to retrieve a specific KPI icon by ID. Use when you need to get icon details including the icon name which can be used to construct the icon URL.\",\n input: SimplekpiGetKpiIconInput,\n output: SimplekpiGetKpiIconOutput,\n});\n"],"mappings":";;AAYA,MAAa,sBAAsB,OAAO,0BAA0B;CAClE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZsC,EAAE,OAAO,EAC/C,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD,EACnF,CAAC,CAAC,CAAC,SAAS,8DAUH;CACP,QAVuC,EAAE,OAAO;EAChD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sGAAsG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"get-kpi-icon.mjs","names":[],"sources":["../../src/actions/get-kpi-icon.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 SimplekpiGetKpiIconInput = z.object({\n id: z.number().int().describe(\"The unique identifier of the KPI icon to retrieve\"),\n}).describe(\"Request parameters for retrieving a specific KPI icon by ID.\");\nexport const SimplekpiGetKpiIconOutput = z.object({\n id: z.number().int().describe(\"Internal id of the KPI icon\").nullable().optional(),\n name: z.string().describe(\"The name of the icon. The icons are located at http://{subdomain}.simplekpi.com/kpi-icons/{name}.svg\").nullable().optional(),\n}).passthrough().describe(\"Response schema for a KPI icon object.\");\n\nexport const simplekpiGetKpiIcon: AppAction<\n typeof SimplekpiGetKpiIconInput,\n typeof SimplekpiGetKpiIconOutput,\n typeof simplekpi.credential\n> = action(\"SIMPLEKPI_GET_KPI_ICON\", {\n slug: \"simplekpi-get-kpi-icon\",\n name: \"Get KPI Icon by ID\",\n description: \"Tool to retrieve a specific KPI icon by ID. Use when you need to get icon details including the icon name which can be used to construct the icon URL.\",\n input: SimplekpiGetKpiIconInput,\n output: SimplekpiGetKpiIconOutput,\n});\n"],"mappings":";;;AAcA,MAAa,sBAIT,OAAO,0BAA0B;CACnC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhBsC,EAAE,OAAO,EAC/C,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD,EACnF,CAAC,CAAC,CAAC,SAAS,8DAcH;CACP,QAduC,EAAE,OAAO;EAChD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sGAAsG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/get-kpi-unit.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-kpi-unit.cjs","names":["z","action"],"sources":["../../src/actions/get-kpi-unit.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplekpiGetKpiUnitInput = z.object({\n id: z.number().int().describe(\"The unique identifier of the KPI unit to retrieve\"),\n}).describe(\"Request model for retrieving a specific KPI unit by ID.\");\nexport const SimplekpiGetKpiUnitOutput = z.object({\n id: z.number().int().describe(\"Automatically generated identifier for the KPI unit\").nullable(),\n name: z.string().describe(\"The label assigned to the KPI unit (max 25 characters)\").nullable(),\n created_at: z.string().describe(\"The date and time the KPI unit was created (ISO 8601 format)\").nullable().optional(),\n updated_at: z.string().describe(\"The date and time of the last update of the KPI unit (ISO 8601 format)\").nullable().optional(),\n entry_format: z.string().describe(\"Format template for data entry, containing only '0', '#', or '.' characters (max 25 characters)\").nullable().optional(),\n is_percentage: z.boolean().describe(\"Indicates whether values are percentages, affecting how the application treats the values\").nullable().optional(),\n display_format: z.string().describe(\"Display format specification for the unit, e.g. '£ #.00' or '#.00%' (max 25 characters)\").nullable().optional(),\n}).passthrough().describe(\"Response model containing KPI unit information.\");\n\nexport const simplekpiGetKpiUnit = action(\"SIMPLEKPI_GET_KPI_UNIT\", {\n slug: \"simplekpi-get-kpi-unit\",\n name: \"Get KPI Unit\",\n description: \"Tool to get a specific KPI unit by ID from SimpleKPI. Use when you need to retrieve detailed information about a particular KPI unit including its format specifications and metadata.\",\n input: SimplekpiGetKpiUnitInput,\n output: SimplekpiGetKpiUnitOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO,EAC/C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD,EACnF,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrE,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CAC9F,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CAC7F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9H,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iGAAiG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzJ,eAAeA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,2FAA2F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrJ,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAAiD;AAE3E,MAAa,sBAAsBC,eAAAA,OAAO,0BAA0B;CAClE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-kpi-unit.cjs","names":["z","action"],"sources":["../../src/actions/get-kpi-unit.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 SimplekpiGetKpiUnitInput = z.object({\n id: z.number().int().describe(\"The unique identifier of the KPI unit to retrieve\"),\n}).describe(\"Request model for retrieving a specific KPI unit by ID.\");\nexport const SimplekpiGetKpiUnitOutput = z.object({\n id: z.number().int().describe(\"Automatically generated identifier for the KPI unit\").nullable(),\n name: z.string().describe(\"The label assigned to the KPI unit (max 25 characters)\").nullable(),\n created_at: z.string().describe(\"The date and time the KPI unit was created (ISO 8601 format)\").nullable().optional(),\n updated_at: z.string().describe(\"The date and time of the last update of the KPI unit (ISO 8601 format)\").nullable().optional(),\n entry_format: z.string().describe(\"Format template for data entry, containing only '0', '#', or '.' characters (max 25 characters)\").nullable().optional(),\n is_percentage: z.boolean().describe(\"Indicates whether values are percentages, affecting how the application treats the values\").nullable().optional(),\n display_format: z.string().describe(\"Display format specification for the unit, e.g. '£ #.00' or '#.00%' (max 25 characters)\").nullable().optional(),\n}).passthrough().describe(\"Response model containing KPI unit information.\");\n\nexport const simplekpiGetKpiUnit: AppAction<\n typeof SimplekpiGetKpiUnitInput,\n typeof SimplekpiGetKpiUnitOutput,\n typeof simplekpi.credential\n> = action(\"SIMPLEKPI_GET_KPI_UNIT\", {\n slug: \"simplekpi-get-kpi-unit\",\n name: \"Get KPI Unit\",\n description: \"Tool to get a specific KPI unit by ID from SimpleKPI. Use when you need to retrieve detailed information about a particular KPI unit including its format specifications and metadata.\",\n input: SimplekpiGetKpiUnitInput,\n output: SimplekpiGetKpiUnitOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO,EAC/C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD,EACnF,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrE,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CAC9F,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CAC7F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9H,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iGAAiG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzJ,eAAeA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,2FAA2F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrJ,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAAiD;AAE3E,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/get-kpi-unit.d.ts
@@ -13,29 +15,7 @@ declare const SimplekpiGetKpiUnitOutput: z.ZodObject<{
13
15
  is_percentage: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
14
16
  display_format: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
17
  }, z.core.$loose>;
16
- declare const simplekpiGetKpiUnit: import("@keystrokehq/action").WorkflowActionDefinition<{
17
- id: number;
18
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"simplekpi", z.ZodObject<{
19
- connectionId: z.ZodString;
20
- entityId: z.ZodString;
21
- instanceId: z.ZodString;
22
- }, z.core.$strip>, z.ZodObject<{
23
- username: z.ZodString;
24
- password: z.ZodString;
25
- subdomain: z.ZodString;
26
- generic_api_key: z.ZodString;
27
- generic_id: z.ZodString;
28
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"simplekpi", z.ZodObject<{
29
- connectionId: z.ZodString;
30
- entityId: z.ZodString;
31
- instanceId: z.ZodString;
32
- }, z.core.$strip>, z.ZodObject<{
33
- username: z.ZodString;
34
- password: z.ZodString;
35
- subdomain: z.ZodString;
36
- generic_api_key: z.ZodString;
37
- generic_id: z.ZodString;
38
- }, z.core.$strip>>]>;
18
+ declare const simplekpiGetKpiUnit: AppAction<typeof SimplekpiGetKpiUnitInput, typeof SimplekpiGetKpiUnitOutput, typeof simplekpi.credential>;
39
19
  //#endregion
40
20
  export { simplekpiGetKpiUnit };
41
21
  //# sourceMappingURL=get-kpi-unit.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-kpi-unit.d.cts","names":[],"sources":["../../src/actions/get-kpi-unit.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;cAGxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;cAUzB,mBAAA,gCAAmB,wBAAA"}
1
+ {"version":3,"file":"get-kpi-unit.d.cts","names":[],"sources":["../../src/actions/get-kpi-unit.ts"],"mappings":";;;;;cAMa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;cAGxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;cAUzB,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/get-kpi-unit.d.ts
@@ -13,29 +15,7 @@ declare const SimplekpiGetKpiUnitOutput: z.ZodObject<{
13
15
  is_percentage: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
14
16
  display_format: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
17
  }, z.core.$loose>;
16
- declare const simplekpiGetKpiUnit: import("@keystrokehq/action").WorkflowActionDefinition<{
17
- id: number;
18
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"simplekpi", z.ZodObject<{
19
- connectionId: z.ZodString;
20
- entityId: z.ZodString;
21
- instanceId: z.ZodString;
22
- }, z.core.$strip>, z.ZodObject<{
23
- username: z.ZodString;
24
- password: z.ZodString;
25
- subdomain: z.ZodString;
26
- generic_api_key: z.ZodString;
27
- generic_id: z.ZodString;
28
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"simplekpi", z.ZodObject<{
29
- connectionId: z.ZodString;
30
- entityId: z.ZodString;
31
- instanceId: z.ZodString;
32
- }, z.core.$strip>, z.ZodObject<{
33
- username: z.ZodString;
34
- password: z.ZodString;
35
- subdomain: z.ZodString;
36
- generic_api_key: z.ZodString;
37
- generic_id: z.ZodString;
38
- }, z.core.$strip>>]>;
18
+ declare const simplekpiGetKpiUnit: AppAction<typeof SimplekpiGetKpiUnitInput, typeof SimplekpiGetKpiUnitOutput, typeof simplekpi.credential>;
39
19
  //#endregion
40
20
  export { simplekpiGetKpiUnit };
41
21
  //# sourceMappingURL=get-kpi-unit.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-kpi-unit.d.mts","names":[],"sources":["../../src/actions/get-kpi-unit.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;cAGxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;cAUzB,mBAAA,gCAAmB,wBAAA"}
1
+ {"version":3,"file":"get-kpi-unit.d.mts","names":[],"sources":["../../src/actions/get-kpi-unit.ts"],"mappings":";;;;;cAMa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;cAGxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;cAUzB,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 simplekpiGetKpiUnit = action("SIMPLEKPI_GET_KPI_UNIT", {
@@ -1 +1 @@
1
- {"version":3,"file":"get-kpi-unit.mjs","names":[],"sources":["../../src/actions/get-kpi-unit.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplekpiGetKpiUnitInput = z.object({\n id: z.number().int().describe(\"The unique identifier of the KPI unit to retrieve\"),\n}).describe(\"Request model for retrieving a specific KPI unit by ID.\");\nexport const SimplekpiGetKpiUnitOutput = z.object({\n id: z.number().int().describe(\"Automatically generated identifier for the KPI unit\").nullable(),\n name: z.string().describe(\"The label assigned to the KPI unit (max 25 characters)\").nullable(),\n created_at: z.string().describe(\"The date and time the KPI unit was created (ISO 8601 format)\").nullable().optional(),\n updated_at: z.string().describe(\"The date and time of the last update of the KPI unit (ISO 8601 format)\").nullable().optional(),\n entry_format: z.string().describe(\"Format template for data entry, containing only '0', '#', or '.' characters (max 25 characters)\").nullable().optional(),\n is_percentage: z.boolean().describe(\"Indicates whether values are percentages, affecting how the application treats the values\").nullable().optional(),\n display_format: z.string().describe(\"Display format specification for the unit, e.g. '£ #.00' or '#.00%' (max 25 characters)\").nullable().optional(),\n}).passthrough().describe(\"Response model containing KPI unit information.\");\n\nexport const simplekpiGetKpiUnit = action(\"SIMPLEKPI_GET_KPI_UNIT\", {\n slug: \"simplekpi-get-kpi-unit\",\n name: \"Get KPI Unit\",\n description: \"Tool to get a specific KPI unit by ID from SimpleKPI. Use when you need to retrieve detailed information about a particular KPI unit including its format specifications and metadata.\",\n input: SimplekpiGetKpiUnitInput,\n output: SimplekpiGetKpiUnitOutput,\n});\n"],"mappings":";;AAiBA,MAAa,sBAAsB,OAAO,0BAA0B;CAClE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAjBsC,EAAE,OAAO,EAC/C,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD,EACnF,CAAC,CAAC,CAAC,SAAS,yDAeH;CACP,QAfuC,EAAE,OAAO;EAChD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;EAC9F,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;EAC7F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9H,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,iGAAiG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzJ,eAAe,EAAE,QAAQ,CAAC,CAAC,SAAS,2FAA2F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrJ,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"get-kpi-unit.mjs","names":[],"sources":["../../src/actions/get-kpi-unit.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 SimplekpiGetKpiUnitInput = z.object({\n id: z.number().int().describe(\"The unique identifier of the KPI unit to retrieve\"),\n}).describe(\"Request model for retrieving a specific KPI unit by ID.\");\nexport const SimplekpiGetKpiUnitOutput = z.object({\n id: z.number().int().describe(\"Automatically generated identifier for the KPI unit\").nullable(),\n name: z.string().describe(\"The label assigned to the KPI unit (max 25 characters)\").nullable(),\n created_at: z.string().describe(\"The date and time the KPI unit was created (ISO 8601 format)\").nullable().optional(),\n updated_at: z.string().describe(\"The date and time of the last update of the KPI unit (ISO 8601 format)\").nullable().optional(),\n entry_format: z.string().describe(\"Format template for data entry, containing only '0', '#', or '.' characters (max 25 characters)\").nullable().optional(),\n is_percentage: z.boolean().describe(\"Indicates whether values are percentages, affecting how the application treats the values\").nullable().optional(),\n display_format: z.string().describe(\"Display format specification for the unit, e.g. '£ #.00' or '#.00%' (max 25 characters)\").nullable().optional(),\n}).passthrough().describe(\"Response model containing KPI unit information.\");\n\nexport const simplekpiGetKpiUnit: AppAction<\n typeof SimplekpiGetKpiUnitInput,\n typeof SimplekpiGetKpiUnitOutput,\n typeof simplekpi.credential\n> = action(\"SIMPLEKPI_GET_KPI_UNIT\", {\n slug: \"simplekpi-get-kpi-unit\",\n name: \"Get KPI Unit\",\n description: \"Tool to get a specific KPI unit by ID from SimpleKPI. Use when you need to retrieve detailed information about a particular KPI unit including its format specifications and metadata.\",\n input: SimplekpiGetKpiUnitInput,\n output: SimplekpiGetKpiUnitOutput,\n});\n"],"mappings":";;;AAmBA,MAAa,sBAIT,OAAO,0BAA0B;CACnC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OArBsC,EAAE,OAAO,EAC/C,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD,EACnF,CAAC,CAAC,CAAC,SAAS,yDAmBH;CACP,QAnBuC,EAAE,OAAO;EAChD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;EAC9F,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;EAC7F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9H,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,iGAAiG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzJ,eAAe,EAAE,QAAQ,CAAC,CAAC,SAAS,2FAA2F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrJ,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/get-kpi.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-kpi.cjs","names":["z","action"],"sources":["../../src/actions/get-kpi.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplekpiGetKpiInput = z.object({\n kpi_id: z.number().int().describe(\"The unique identifier of the KPI to retrieve\"),\n});\nexport const SimplekpiGetKpiOutput = z.object({\n id: z.number().int().describe(\"Automatically generated identifier for the KPI\").nullable().optional(),\n name: z.string().describe(\"The KPI's name (max 100 characters)\").nullable().optional(),\n icon_id: z.number().int().describe(\"The icon identifier assigned to the KPI (16 bit integer)\").nullable().optional(),\n unit_id: z.number().int().describe(\"References the unit of measure for the KPI\").nullable().optional(),\n is_active: z.boolean().describe(\"Indicates if data entry is permitted for this KPI\").nullable().optional(),\n created_at: z.string().describe(\"UTC timestamp of KPI creation\").nullable().optional(),\n sort_order: z.number().int().describe(\"Display ordering sequence (16 bit integer)\").nullable().optional(),\n updated_at: z.string().describe(\"UTC timestamp of last modification\").nullable().optional(),\n category_id: z.number().int().describe(\"References the category containing the KPI\").nullable().optional(),\n description: z.string().describe(\"Optional description of the KPI (max 150 characters)\").nullable().optional(),\n frequency_id: z.string().describe(\"The id of the frequency of data entry for the KPI (case-sensitive, uppercase)\").nullable().optional(),\n is_calculated: z.boolean().describe(\"Read-only; calculated KPIs cannot be modified via API\").nullable().optional(),\n target_default: z.number().describe(\"Default target value; null if not set\").nullable().optional(),\n value_direction: z.string().describe(\"Direction indicator: U(p), D(own), or N(one)\").nullable().optional(),\n aggregate_function: z.string().describe(\"Calculation method: AVG (average) or SUM (sum)\").nullable().optional(),\n}).passthrough().describe(\"Complete response schema for a KPI object.\");\n\nexport const simplekpiGetKpi = action(\"SIMPLEKPI_GET_KPI\", {\n slug: \"simplekpi-get-kpi\",\n name: \"Get KPI by ID\",\n description: \"Tool to retrieve a specific KPI by ID from SimpleKPI. Use when you need detailed information about a particular KPI including its configuration, targets, and metadata.\",\n input: SimplekpiGetKpiInput,\n output: SimplekpiGetKpiOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uBAAuBA,IAAAA,EAAE,OAAO,EAC3C,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,EAClF,CAAC;AACD,MAAa,wBAAwBA,IAAAA,EAAE,OAAO;CAC5C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvI,eAAeA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AAEtE,MAAa,kBAAkBC,eAAAA,OAAO,qBAAqB;CACzD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-kpi.cjs","names":["z","action"],"sources":["../../src/actions/get-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 SimplekpiGetKpiInput = z.object({\n kpi_id: z.number().int().describe(\"The unique identifier of the KPI to retrieve\"),\n});\nexport const SimplekpiGetKpiOutput = z.object({\n id: z.number().int().describe(\"Automatically generated identifier for the KPI\").nullable().optional(),\n name: z.string().describe(\"The KPI's name (max 100 characters)\").nullable().optional(),\n icon_id: z.number().int().describe(\"The icon identifier assigned to the KPI (16 bit integer)\").nullable().optional(),\n unit_id: z.number().int().describe(\"References the unit of measure for the KPI\").nullable().optional(),\n is_active: z.boolean().describe(\"Indicates if data entry is permitted for this KPI\").nullable().optional(),\n created_at: z.string().describe(\"UTC timestamp of KPI creation\").nullable().optional(),\n sort_order: z.number().int().describe(\"Display ordering sequence (16 bit integer)\").nullable().optional(),\n updated_at: z.string().describe(\"UTC timestamp of last modification\").nullable().optional(),\n category_id: z.number().int().describe(\"References the category containing the KPI\").nullable().optional(),\n description: z.string().describe(\"Optional description of the KPI (max 150 characters)\").nullable().optional(),\n frequency_id: z.string().describe(\"The id of the frequency of data entry for the KPI (case-sensitive, uppercase)\").nullable().optional(),\n is_calculated: z.boolean().describe(\"Read-only; calculated KPIs cannot be modified via API\").nullable().optional(),\n target_default: z.number().describe(\"Default target value; null if not set\").nullable().optional(),\n value_direction: z.string().describe(\"Direction indicator: U(p), D(own), or N(one)\").nullable().optional(),\n aggregate_function: z.string().describe(\"Calculation method: AVG (average) or SUM (sum)\").nullable().optional(),\n}).passthrough().describe(\"Complete response schema for a KPI object.\");\n\nexport const simplekpiGetKpi: AppAction<\n typeof SimplekpiGetKpiInput,\n typeof SimplekpiGetKpiOutput,\n typeof simplekpi.credential\n> = action(\"SIMPLEKPI_GET_KPI\", {\n slug: \"simplekpi-get-kpi\",\n name: \"Get KPI by ID\",\n description: \"Tool to retrieve a specific KPI by ID from SimpleKPI. Use when you need detailed information about a particular KPI including its configuration, targets, and metadata.\",\n input: SimplekpiGetKpiInput,\n output: SimplekpiGetKpiOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,uBAAuBA,IAAAA,EAAE,OAAO,EAC3C,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,EAClF,CAAC;AACD,MAAa,wBAAwBA,IAAAA,EAAE,OAAO;CAC5C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvI,eAAeA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AAEtE,MAAa,kBAITC,eAAAA,OAAO,qBAAqB;CAC9B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { simplekpi } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-kpi.d.ts
@@ -21,29 +23,7 @@ declare const SimplekpiGetKpiOutput: z.ZodObject<{
21
23
  value_direction: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
24
  aggregate_function: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
25
  }, z.core.$loose>;
24
- declare const simplekpiGetKpi: import("@keystrokehq/action").WorkflowActionDefinition<{
25
- kpi_id: number;
26
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"simplekpi", z.ZodObject<{
27
- connectionId: z.ZodString;
28
- entityId: z.ZodString;
29
- instanceId: z.ZodString;
30
- }, z.core.$strip>, z.ZodObject<{
31
- username: z.ZodString;
32
- password: z.ZodString;
33
- subdomain: z.ZodString;
34
- generic_api_key: z.ZodString;
35
- generic_id: z.ZodString;
36
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"simplekpi", z.ZodObject<{
37
- connectionId: z.ZodString;
38
- entityId: z.ZodString;
39
- instanceId: z.ZodString;
40
- }, z.core.$strip>, z.ZodObject<{
41
- username: z.ZodString;
42
- password: z.ZodString;
43
- subdomain: z.ZodString;
44
- generic_api_key: z.ZodString;
45
- generic_id: z.ZodString;
46
- }, z.core.$strip>>]>;
26
+ declare const simplekpiGetKpi: AppAction<typeof SimplekpiGetKpiInput, typeof SimplekpiGetKpiOutput, typeof simplekpi.credential>;
47
27
  //#endregion
48
28
  export { simplekpiGetKpi };
49
29
  //# sourceMappingURL=get-kpi.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-kpi.d.cts","names":[],"sources":["../../src/actions/get-kpi.ts"],"mappings":";;;cAIa,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;cAGpB,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;cAkBrB,eAAA,gCAAe,wBAAA"}
1
+ {"version":3,"file":"get-kpi.d.cts","names":[],"sources":["../../src/actions/get-kpi.ts"],"mappings":";;;;;cAMa,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;cAGpB,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;cAkBrB,eAAA,EAAiB,SAAA,QACrB,oBAAA,SACA,qBAAA,SACA,SAAA,CAAU,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { simplekpi } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-kpi.d.ts
@@ -21,29 +23,7 @@ declare const SimplekpiGetKpiOutput: z.ZodObject<{
21
23
  value_direction: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
24
  aggregate_function: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
25
  }, z.core.$loose>;
24
- declare const simplekpiGetKpi: import("@keystrokehq/action").WorkflowActionDefinition<{
25
- kpi_id: number;
26
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"simplekpi", z.ZodObject<{
27
- connectionId: z.ZodString;
28
- entityId: z.ZodString;
29
- instanceId: z.ZodString;
30
- }, z.core.$strip>, z.ZodObject<{
31
- username: z.ZodString;
32
- password: z.ZodString;
33
- subdomain: z.ZodString;
34
- generic_api_key: z.ZodString;
35
- generic_id: z.ZodString;
36
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"simplekpi", z.ZodObject<{
37
- connectionId: z.ZodString;
38
- entityId: z.ZodString;
39
- instanceId: z.ZodString;
40
- }, z.core.$strip>, z.ZodObject<{
41
- username: z.ZodString;
42
- password: z.ZodString;
43
- subdomain: z.ZodString;
44
- generic_api_key: z.ZodString;
45
- generic_id: z.ZodString;
46
- }, z.core.$strip>>]>;
26
+ declare const simplekpiGetKpi: AppAction<typeof SimplekpiGetKpiInput, typeof SimplekpiGetKpiOutput, typeof simplekpi.credential>;
47
27
  //#endregion
48
28
  export { simplekpiGetKpi };
49
29
  //# sourceMappingURL=get-kpi.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-kpi.d.mts","names":[],"sources":["../../src/actions/get-kpi.ts"],"mappings":";;;cAIa,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;cAGpB,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;cAkBrB,eAAA,gCAAe,wBAAA"}
1
+ {"version":3,"file":"get-kpi.d.mts","names":[],"sources":["../../src/actions/get-kpi.ts"],"mappings":";;;;;cAMa,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;cAGpB,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;cAkBrB,eAAA,EAAiB,SAAA,QACrB,oBAAA,SACA,qBAAA,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 simplekpiGetKpi = action("SIMPLEKPI_GET_KPI", {
@@ -1 +1 @@
1
- {"version":3,"file":"get-kpi.mjs","names":[],"sources":["../../src/actions/get-kpi.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplekpiGetKpiInput = z.object({\n kpi_id: z.number().int().describe(\"The unique identifier of the KPI to retrieve\"),\n});\nexport const SimplekpiGetKpiOutput = z.object({\n id: z.number().int().describe(\"Automatically generated identifier for the KPI\").nullable().optional(),\n name: z.string().describe(\"The KPI's name (max 100 characters)\").nullable().optional(),\n icon_id: z.number().int().describe(\"The icon identifier assigned to the KPI (16 bit integer)\").nullable().optional(),\n unit_id: z.number().int().describe(\"References the unit of measure for the KPI\").nullable().optional(),\n is_active: z.boolean().describe(\"Indicates if data entry is permitted for this KPI\").nullable().optional(),\n created_at: z.string().describe(\"UTC timestamp of KPI creation\").nullable().optional(),\n sort_order: z.number().int().describe(\"Display ordering sequence (16 bit integer)\").nullable().optional(),\n updated_at: z.string().describe(\"UTC timestamp of last modification\").nullable().optional(),\n category_id: z.number().int().describe(\"References the category containing the KPI\").nullable().optional(),\n description: z.string().describe(\"Optional description of the KPI (max 150 characters)\").nullable().optional(),\n frequency_id: z.string().describe(\"The id of the frequency of data entry for the KPI (case-sensitive, uppercase)\").nullable().optional(),\n is_calculated: z.boolean().describe(\"Read-only; calculated KPIs cannot be modified via API\").nullable().optional(),\n target_default: z.number().describe(\"Default target value; null if not set\").nullable().optional(),\n value_direction: z.string().describe(\"Direction indicator: U(p), D(own), or N(one)\").nullable().optional(),\n aggregate_function: z.string().describe(\"Calculation method: AVG (average) or SUM (sum)\").nullable().optional(),\n}).passthrough().describe(\"Complete response schema for a KPI object.\");\n\nexport const simplekpiGetKpi = action(\"SIMPLEKPI_GET_KPI\", {\n slug: \"simplekpi-get-kpi\",\n name: \"Get KPI by ID\",\n description: \"Tool to retrieve a specific KPI by ID from SimpleKPI. Use when you need detailed information about a particular KPI including its configuration, targets, and metadata.\",\n input: SimplekpiGetKpiInput,\n output: SimplekpiGetKpiOutput,\n});\n"],"mappings":";;AAyBA,MAAa,kBAAkB,OAAO,qBAAqB;CACzD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAzBkC,EAAE,OAAO,EAC3C,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,EAClF,CAuBS;CACP,QAvBmC,EAAE,OAAO;EAC5C,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpG,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrF,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnH,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrG,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrF,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1F,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7G,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvI,eAAe,EAAE,QAAQ,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjH,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjG,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzG,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"get-kpi.mjs","names":[],"sources":["../../src/actions/get-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 SimplekpiGetKpiInput = z.object({\n kpi_id: z.number().int().describe(\"The unique identifier of the KPI to retrieve\"),\n});\nexport const SimplekpiGetKpiOutput = z.object({\n id: z.number().int().describe(\"Automatically generated identifier for the KPI\").nullable().optional(),\n name: z.string().describe(\"The KPI's name (max 100 characters)\").nullable().optional(),\n icon_id: z.number().int().describe(\"The icon identifier assigned to the KPI (16 bit integer)\").nullable().optional(),\n unit_id: z.number().int().describe(\"References the unit of measure for the KPI\").nullable().optional(),\n is_active: z.boolean().describe(\"Indicates if data entry is permitted for this KPI\").nullable().optional(),\n created_at: z.string().describe(\"UTC timestamp of KPI creation\").nullable().optional(),\n sort_order: z.number().int().describe(\"Display ordering sequence (16 bit integer)\").nullable().optional(),\n updated_at: z.string().describe(\"UTC timestamp of last modification\").nullable().optional(),\n category_id: z.number().int().describe(\"References the category containing the KPI\").nullable().optional(),\n description: z.string().describe(\"Optional description of the KPI (max 150 characters)\").nullable().optional(),\n frequency_id: z.string().describe(\"The id of the frequency of data entry for the KPI (case-sensitive, uppercase)\").nullable().optional(),\n is_calculated: z.boolean().describe(\"Read-only; calculated KPIs cannot be modified via API\").nullable().optional(),\n target_default: z.number().describe(\"Default target value; null if not set\").nullable().optional(),\n value_direction: z.string().describe(\"Direction indicator: U(p), D(own), or N(one)\").nullable().optional(),\n aggregate_function: z.string().describe(\"Calculation method: AVG (average) or SUM (sum)\").nullable().optional(),\n}).passthrough().describe(\"Complete response schema for a KPI object.\");\n\nexport const simplekpiGetKpi: AppAction<\n typeof SimplekpiGetKpiInput,\n typeof SimplekpiGetKpiOutput,\n typeof simplekpi.credential\n> = action(\"SIMPLEKPI_GET_KPI\", {\n slug: \"simplekpi-get-kpi\",\n name: \"Get KPI by ID\",\n description: \"Tool to retrieve a specific KPI by ID from SimpleKPI. Use when you need detailed information about a particular KPI including its configuration, targets, and metadata.\",\n input: SimplekpiGetKpiInput,\n output: SimplekpiGetKpiOutput,\n});\n"],"mappings":";;;AA2BA,MAAa,kBAIT,OAAO,qBAAqB;CAC9B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA7BkC,EAAE,OAAO,EAC3C,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,EAClF,CA2BS;CACP,QA3BmC,EAAE,OAAO;EAC5C,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpG,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrF,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnH,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrG,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrF,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1F,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7G,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvI,eAAe,EAAE,QAAQ,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjH,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjG,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzG,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/get-user-group-item.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-user-group-item.cjs","names":["z","action"],"sources":["../../src/actions/get-user-group-item.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplekpiGetUserGroupItemInput = z.object({\n id: z.number().int().describe(\"The identifier of the group item to retrieve\"),\n user_id: z.number().int().describe(\"The identifier of the user\"),\n});\nexport const SimplekpiGetUserGroupItemOutput = z.object({\n id: z.number().int().describe(\"Group item identifier\").nullable(),\n name: z.string().describe(\"Name of the group item (max 100 chars)\").nullable(),\n user_id: z.number().int().describe(\"Identifier of the assigned user\").nullable(),\n group_id: z.number().int().describe(\"Identifier of the parent group\").nullable(),\n created_at: z.string().describe(\"UTC creation timestamp in ISO format\").nullable().optional(),\n group_name: z.string().describe(\"Name of the group (max 50 chars)\").nullable(),\n}).passthrough();\n\nexport const simplekpiGetUserGroupItem = action(\"SIMPLEKPI_GET_USER_GROUP_ITEM\", {\n slug: \"simplekpi-get-user-group-item\",\n name: \"Get User Group Item\",\n description: \"Tool to get a specific group item assigned to a user. Use when you need to retrieve details of a particular group item for a user.\",\n input: SimplekpiGetUserGroupItemInput,\n output: SimplekpiGetUserGroupItemOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C;CAC5E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B;AACjE,CAAC;AACD,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CAChE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CAC7E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CAC/E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CAC/E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;AAC/E,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,4BAA4BC,eAAAA,OAAO,iCAAiC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-user-group-item.cjs","names":["z","action"],"sources":["../../src/actions/get-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 SimplekpiGetUserGroupItemInput = z.object({\n id: z.number().int().describe(\"The identifier of the group item to retrieve\"),\n user_id: z.number().int().describe(\"The identifier of the user\"),\n});\nexport const SimplekpiGetUserGroupItemOutput = z.object({\n id: z.number().int().describe(\"Group item identifier\").nullable(),\n name: z.string().describe(\"Name of the group item (max 100 chars)\").nullable(),\n user_id: z.number().int().describe(\"Identifier of the assigned user\").nullable(),\n group_id: z.number().int().describe(\"Identifier of the parent group\").nullable(),\n created_at: z.string().describe(\"UTC creation timestamp in ISO format\").nullable().optional(),\n group_name: z.string().describe(\"Name of the group (max 50 chars)\").nullable(),\n}).passthrough();\n\nexport const simplekpiGetUserGroupItem: AppAction<\n typeof SimplekpiGetUserGroupItemInput,\n typeof SimplekpiGetUserGroupItemOutput,\n typeof simplekpi.credential\n> = action(\"SIMPLEKPI_GET_USER_GROUP_ITEM\", {\n slug: \"simplekpi-get-user-group-item\",\n name: \"Get User Group Item\",\n description: \"Tool to get a specific group item assigned to a user. Use when you need to retrieve details of a particular group item for a user.\",\n input: SimplekpiGetUserGroupItemInput,\n output: SimplekpiGetUserGroupItemOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C;CAC5E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B;AACjE,CAAC;AACD,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CAChE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CAC7E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CAC/E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CAC/E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;AAC/E,CAAC,CAAC,CAAC,YAAY;AAEf,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/get-user-group-item.d.ts
@@ -13,30 +15,7 @@ declare const SimplekpiGetUserGroupItemOutput: z.ZodObject<{
13
15
  created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
16
  group_name: z.ZodNullable<z.ZodString>;
15
17
  }, z.core.$loose>;
16
- declare const simplekpiGetUserGroupItem: import("@keystrokehq/action").WorkflowActionDefinition<{
17
- id: number;
18
- user_id: number;
19
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"simplekpi", z.ZodObject<{
20
- connectionId: z.ZodString;
21
- entityId: z.ZodString;
22
- instanceId: z.ZodString;
23
- }, z.core.$strip>, z.ZodObject<{
24
- username: z.ZodString;
25
- password: z.ZodString;
26
- subdomain: z.ZodString;
27
- generic_api_key: z.ZodString;
28
- generic_id: z.ZodString;
29
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"simplekpi", z.ZodObject<{
30
- connectionId: z.ZodString;
31
- entityId: z.ZodString;
32
- instanceId: z.ZodString;
33
- }, z.core.$strip>, z.ZodObject<{
34
- username: z.ZodString;
35
- password: z.ZodString;
36
- subdomain: z.ZodString;
37
- generic_api_key: z.ZodString;
38
- generic_id: z.ZodString;
39
- }, z.core.$strip>>]>;
18
+ declare const simplekpiGetUserGroupItem: AppAction<typeof SimplekpiGetUserGroupItemInput, typeof SimplekpiGetUserGroupItemOutput, typeof simplekpi.credential>;
40
19
  //#endregion
41
20
  export { simplekpiGetUserGroupItem };
42
21
  //# sourceMappingURL=get-user-group-item.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-user-group-item.d.cts","names":[],"sources":["../../src/actions/get-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":"get-user-group-item.d.cts","names":[],"sources":["../../src/actions/get-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/get-user-group-item.d.ts
@@ -13,30 +15,7 @@ declare const SimplekpiGetUserGroupItemOutput: z.ZodObject<{
13
15
  created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
16
  group_name: z.ZodNullable<z.ZodString>;
15
17
  }, z.core.$loose>;
16
- declare const simplekpiGetUserGroupItem: import("@keystrokehq/action").WorkflowActionDefinition<{
17
- id: number;
18
- user_id: number;
19
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"simplekpi", z.ZodObject<{
20
- connectionId: z.ZodString;
21
- entityId: z.ZodString;
22
- instanceId: z.ZodString;
23
- }, z.core.$strip>, z.ZodObject<{
24
- username: z.ZodString;
25
- password: z.ZodString;
26
- subdomain: z.ZodString;
27
- generic_api_key: z.ZodString;
28
- generic_id: z.ZodString;
29
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"simplekpi", z.ZodObject<{
30
- connectionId: z.ZodString;
31
- entityId: z.ZodString;
32
- instanceId: z.ZodString;
33
- }, z.core.$strip>, z.ZodObject<{
34
- username: z.ZodString;
35
- password: z.ZodString;
36
- subdomain: z.ZodString;
37
- generic_api_key: z.ZodString;
38
- generic_id: z.ZodString;
39
- }, z.core.$strip>>]>;
18
+ declare const simplekpiGetUserGroupItem: AppAction<typeof SimplekpiGetUserGroupItemInput, typeof SimplekpiGetUserGroupItemOutput, typeof simplekpi.credential>;
40
19
  //#endregion
41
20
  export { simplekpiGetUserGroupItem };
42
21
  //# sourceMappingURL=get-user-group-item.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-user-group-item.d.mts","names":[],"sources":["../../src/actions/get-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":"get-user-group-item.d.mts","names":[],"sources":["../../src/actions/get-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 simplekpiGetUserGroupItem = action("SIMPLEKPI_GET_USER_GROUP_ITEM", {
@@ -1 +1 @@
1
- {"version":3,"file":"get-user-group-item.mjs","names":[],"sources":["../../src/actions/get-user-group-item.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplekpiGetUserGroupItemInput = z.object({\n id: z.number().int().describe(\"The identifier of the group item to retrieve\"),\n user_id: z.number().int().describe(\"The identifier of the user\"),\n});\nexport const SimplekpiGetUserGroupItemOutput = z.object({\n id: z.number().int().describe(\"Group item identifier\").nullable(),\n name: z.string().describe(\"Name of the group item (max 100 chars)\").nullable(),\n user_id: z.number().int().describe(\"Identifier of the assigned user\").nullable(),\n group_id: z.number().int().describe(\"Identifier of the parent group\").nullable(),\n created_at: z.string().describe(\"UTC creation timestamp in ISO format\").nullable().optional(),\n group_name: z.string().describe(\"Name of the group (max 50 chars)\").nullable(),\n}).passthrough();\n\nexport const simplekpiGetUserGroupItem = action(\"SIMPLEKPI_GET_USER_GROUP_ITEM\", {\n slug: \"simplekpi-get-user-group-item\",\n name: \"Get User Group Item\",\n description: \"Tool to get a specific group item assigned to a user. Use when you need to retrieve details of a particular group item for a user.\",\n input: SimplekpiGetUserGroupItemInput,\n output: SimplekpiGetUserGroupItemOutput,\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,8CAA8C;EAC5E,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B;CACjE,CAcS;CACP,QAd6C,EAAE,OAAO;EACtD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;EAChE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;EAC7E,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;EAC/E,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;EAC/E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAC/E,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
1
+ {"version":3,"file":"get-user-group-item.mjs","names":[],"sources":["../../src/actions/get-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 SimplekpiGetUserGroupItemInput = z.object({\n id: z.number().int().describe(\"The identifier of the group item to retrieve\"),\n user_id: z.number().int().describe(\"The identifier of the user\"),\n});\nexport const SimplekpiGetUserGroupItemOutput = z.object({\n id: z.number().int().describe(\"Group item identifier\").nullable(),\n name: z.string().describe(\"Name of the group item (max 100 chars)\").nullable(),\n user_id: z.number().int().describe(\"Identifier of the assigned user\").nullable(),\n group_id: z.number().int().describe(\"Identifier of the parent group\").nullable(),\n created_at: z.string().describe(\"UTC creation timestamp in ISO format\").nullable().optional(),\n group_name: z.string().describe(\"Name of the group (max 50 chars)\").nullable(),\n}).passthrough();\n\nexport const simplekpiGetUserGroupItem: AppAction<\n typeof SimplekpiGetUserGroupItemInput,\n typeof SimplekpiGetUserGroupItemOutput,\n typeof simplekpi.credential\n> = action(\"SIMPLEKPI_GET_USER_GROUP_ITEM\", {\n slug: \"simplekpi-get-user-group-item\",\n name: \"Get User Group Item\",\n description: \"Tool to get a specific group item assigned to a user. Use when you need to retrieve details of a particular group item for a user.\",\n input: SimplekpiGetUserGroupItemInput,\n output: SimplekpiGetUserGroupItemOutput,\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,8CAA8C;EAC5E,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B;CACjE,CAkBS;CACP,QAlB6C,EAAE,OAAO;EACtD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;EAChE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;EAC7E,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;EAC/E,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;EAC/E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAC/E,CAAC,CAAC,CAAC,YAWO;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/get-user-kpi.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-user-kpi.cjs","names":["z","action"],"sources":["../../src/actions/get-user-kpi.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplekpiGetUserKpiInput = z.object({\n id: z.number().int().describe(\"The ID of the KPI assigned to the user.\"),\n user_id: z.number().int().describe(\"The ID of the user.\"),\n});\nexport const SimplekpiGetUserKpiOutput = z.object({\n id: z.number().int().describe(\"The ID of the KPI assigned to the user.\").nullable().optional(),\n user_id: z.number().int().describe(\"The ID of the user assigned to the KPI.\").nullable().optional(),\n created_at: z.string().describe(\"UTC timestamp when the user KPI assignment was created.\").nullable().optional(),\n sort_order: z.number().int().describe(\"Display order of KPIs on the KPI Entry screen.\").nullable().optional(),\n updated_at: z.string().describe(\"UTC timestamp of the last modification to the user KPI assignment.\").nullable().optional(),\n user_target: z.number().describe(\"Custom target for the user; only populated if the KPI has a target.\").nullable().optional(),\n}).passthrough();\n\nexport const simplekpiGetUserKpi = action(\"SIMPLEKPI_GET_USER_KPI\", {\n slug: \"simplekpi-get-user-kpi\",\n name: \"Get User KPI\",\n description: \"Tool to retrieve a specific KPI assigned to a user. Use when you need details about a particular KPI assignment for a user.\",\n input: SimplekpiGetUserKpiInput,\n output: SimplekpiGetUserKpiOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC;CACvE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qBAAqB;AAC1D,CAAC;AACD,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1H,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9H,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,sBAAsBC,eAAAA,OAAO,0BAA0B;CAClE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-user-kpi.cjs","names":["z","action"],"sources":["../../src/actions/get-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 SimplekpiGetUserKpiInput = z.object({\n id: z.number().int().describe(\"The ID of the KPI assigned to the user.\"),\n user_id: z.number().int().describe(\"The ID of the user.\"),\n});\nexport const SimplekpiGetUserKpiOutput = z.object({\n id: z.number().int().describe(\"The ID of the KPI assigned to the user.\").nullable().optional(),\n user_id: z.number().int().describe(\"The ID of the user assigned to the KPI.\").nullable().optional(),\n created_at: z.string().describe(\"UTC timestamp when the user KPI assignment was created.\").nullable().optional(),\n sort_order: z.number().int().describe(\"Display order of KPIs on the KPI Entry screen.\").nullable().optional(),\n updated_at: z.string().describe(\"UTC timestamp of the last modification to the user KPI assignment.\").nullable().optional(),\n user_target: z.number().describe(\"Custom target for the user; only populated if the KPI has a target.\").nullable().optional(),\n}).passthrough();\n\nexport const simplekpiGetUserKpi: AppAction<\n typeof SimplekpiGetUserKpiInput,\n typeof SimplekpiGetUserKpiOutput,\n typeof simplekpi.credential\n> = action(\"SIMPLEKPI_GET_USER_KPI\", {\n slug: \"simplekpi-get-user-kpi\",\n name: \"Get User KPI\",\n description: \"Tool to retrieve a specific KPI assigned to a user. Use when you need details about a particular KPI assignment for a user.\",\n input: SimplekpiGetUserKpiInput,\n output: SimplekpiGetUserKpiOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC;CACvE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qBAAqB;AAC1D,CAAC;AACD,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1H,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9H,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,sBAITC,eAAAA,OAAO,0BAA0B;CACnC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}