@keystrokehq/simplekpi 0.1.0 → 0.1.3

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 (417) 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 +3 -3
  4. package/dist/actions/add-user-group-item.cjs.map +1 -1
  5. package/dist/actions/add-user-group-item.d.cts +16 -3
  6. package/dist/actions/add-user-group-item.d.cts.map +1 -1
  7. package/dist/actions/add-user-group-item.d.mts +16 -3
  8. package/dist/actions/add-user-group-item.d.mts.map +1 -1
  9. package/dist/actions/add-user-group-item.mjs +3 -3
  10. package/dist/actions/add-user-group-item.mjs.map +1 -1
  11. package/dist/actions/add-user-kpi.cjs +1 -1
  12. package/dist/actions/add-user-kpi.cjs.map +1 -1
  13. package/dist/actions/add-user-kpi.d.cts +20 -3
  14. package/dist/actions/add-user-kpi.d.cts.map +1 -1
  15. package/dist/actions/add-user-kpi.d.mts +20 -3
  16. package/dist/actions/add-user-kpi.d.mts.map +1 -1
  17. package/dist/actions/add-user-kpi.mjs +1 -1
  18. package/dist/actions/add-user-kpi.mjs.map +1 -1
  19. package/dist/actions/create-category-kpi.cjs +1 -1
  20. package/dist/actions/create-category-kpi.cjs.map +1 -1
  21. package/dist/actions/create-category-kpi.d.cts +41 -3
  22. package/dist/actions/create-category-kpi.d.cts.map +1 -1
  23. package/dist/actions/create-category-kpi.d.mts +41 -3
  24. package/dist/actions/create-category-kpi.d.mts.map +1 -1
  25. package/dist/actions/create-category-kpi.mjs +1 -1
  26. package/dist/actions/create-category-kpi.mjs.map +1 -1
  27. package/dist/actions/create-group-item.cjs +5 -5
  28. package/dist/actions/create-group-item.cjs.map +1 -1
  29. package/dist/actions/create-group-item.d.cts +18 -3
  30. package/dist/actions/create-group-item.d.cts.map +1 -1
  31. package/dist/actions/create-group-item.d.mts +18 -3
  32. package/dist/actions/create-group-item.d.mts.map +1 -1
  33. package/dist/actions/create-group-item.mjs +5 -5
  34. package/dist/actions/create-group-item.mjs.map +1 -1
  35. package/dist/actions/create-group.cjs +4 -4
  36. package/dist/actions/create-group.cjs.map +1 -1
  37. package/dist/actions/create-group.d.cts +15 -3
  38. package/dist/actions/create-group.d.cts.map +1 -1
  39. package/dist/actions/create-group.d.mts +15 -3
  40. package/dist/actions/create-group.d.mts.map +1 -1
  41. package/dist/actions/create-group.mjs +4 -4
  42. package/dist/actions/create-group.mjs.map +1 -1
  43. package/dist/actions/create-kpi-category.cjs +4 -4
  44. package/dist/actions/create-kpi-category.cjs.map +1 -1
  45. package/dist/actions/create-kpi-category.d.cts +15 -3
  46. package/dist/actions/create-kpi-category.d.cts.map +1 -1
  47. package/dist/actions/create-kpi-category.d.mts +15 -3
  48. package/dist/actions/create-kpi-category.d.mts.map +1 -1
  49. package/dist/actions/create-kpi-category.mjs +4 -4
  50. package/dist/actions/create-kpi-category.mjs.map +1 -1
  51. package/dist/actions/create-kpi-unit.cjs +1 -1
  52. package/dist/actions/create-kpi-unit.cjs.map +1 -1
  53. package/dist/actions/create-kpi-unit.d.cts +21 -3
  54. package/dist/actions/create-kpi-unit.d.cts.map +1 -1
  55. package/dist/actions/create-kpi-unit.d.mts +21 -3
  56. package/dist/actions/create-kpi-unit.d.mts.map +1 -1
  57. package/dist/actions/create-kpi-unit.mjs +1 -1
  58. package/dist/actions/create-kpi-unit.mjs.map +1 -1
  59. package/dist/actions/create-kpi.cjs +11 -11
  60. package/dist/actions/create-kpi.cjs.map +1 -1
  61. package/dist/actions/create-kpi.d.cts +46 -3
  62. package/dist/actions/create-kpi.d.cts.map +1 -1
  63. package/dist/actions/create-kpi.d.mts +46 -3
  64. package/dist/actions/create-kpi.d.mts.map +1 -1
  65. package/dist/actions/create-kpi.mjs +11 -11
  66. package/dist/actions/create-kpi.mjs.map +1 -1
  67. package/dist/actions/create-or-update-kpi-entries.cjs +2 -2
  68. package/dist/actions/create-or-update-kpi-entries.cjs.map +1 -1
  69. package/dist/actions/create-or-update-kpi-entries.d.cts +40 -3
  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 +40 -3
  72. package/dist/actions/create-or-update-kpi-entries.d.mts.map +1 -1
  73. package/dist/actions/create-or-update-kpi-entries.mjs +2 -2
  74. package/dist/actions/create-or-update-kpi-entries.mjs.map +1 -1
  75. package/dist/actions/create-user.cjs +1 -1
  76. package/dist/actions/create-user.cjs.map +1 -1
  77. package/dist/actions/create-user.d.cts +40 -3
  78. package/dist/actions/create-user.d.cts.map +1 -1
  79. package/dist/actions/create-user.d.mts +40 -3
  80. package/dist/actions/create-user.d.mts.map +1 -1
  81. package/dist/actions/create-user.mjs +1 -1
  82. package/dist/actions/create-user.mjs.map +1 -1
  83. package/dist/actions/delete-category-kpi.cjs +1 -1
  84. package/dist/actions/delete-category-kpi.cjs.map +1 -1
  85. package/dist/actions/delete-category-kpi.d.cts +9 -3
  86. package/dist/actions/delete-category-kpi.d.cts.map +1 -1
  87. package/dist/actions/delete-category-kpi.d.mts +9 -3
  88. package/dist/actions/delete-category-kpi.d.mts.map +1 -1
  89. package/dist/actions/delete-category-kpi.mjs +1 -1
  90. package/dist/actions/delete-category-kpi.mjs.map +1 -1
  91. package/dist/actions/delete-group-item.cjs +3 -3
  92. package/dist/actions/delete-group-item.cjs.map +1 -1
  93. package/dist/actions/delete-group-item.d.cts +12 -3
  94. package/dist/actions/delete-group-item.d.cts.map +1 -1
  95. package/dist/actions/delete-group-item.d.mts +12 -3
  96. package/dist/actions/delete-group-item.d.mts.map +1 -1
  97. package/dist/actions/delete-group-item.mjs +3 -3
  98. package/dist/actions/delete-group-item.mjs.map +1 -1
  99. package/dist/actions/delete-group.cjs +1 -1
  100. package/dist/actions/delete-group.cjs.map +1 -1
  101. package/dist/actions/delete-group.d.cts +10 -3
  102. package/dist/actions/delete-group.d.cts.map +1 -1
  103. package/dist/actions/delete-group.d.mts +10 -3
  104. package/dist/actions/delete-group.d.mts.map +1 -1
  105. package/dist/actions/delete-group.mjs +1 -1
  106. package/dist/actions/delete-group.mjs.map +1 -1
  107. package/dist/actions/delete-kpi-category.cjs +4 -4
  108. package/dist/actions/delete-kpi-category.cjs.map +1 -1
  109. package/dist/actions/delete-kpi-category.d.cts +11 -3
  110. package/dist/actions/delete-kpi-category.d.cts.map +1 -1
  111. package/dist/actions/delete-kpi-category.d.mts +11 -3
  112. package/dist/actions/delete-kpi-category.d.mts.map +1 -1
  113. package/dist/actions/delete-kpi-category.mjs +4 -4
  114. package/dist/actions/delete-kpi-category.mjs.map +1 -1
  115. package/dist/actions/delete-kpi-entry.cjs +1 -1
  116. package/dist/actions/delete-kpi-entry.cjs.map +1 -1
  117. package/dist/actions/delete-kpi-entry.d.cts +7 -3
  118. package/dist/actions/delete-kpi-entry.d.cts.map +1 -1
  119. package/dist/actions/delete-kpi-entry.d.mts +7 -3
  120. package/dist/actions/delete-kpi-entry.d.mts.map +1 -1
  121. package/dist/actions/delete-kpi-entry.mjs +1 -1
  122. package/dist/actions/delete-kpi-entry.mjs.map +1 -1
  123. package/dist/actions/delete-kpi-unit.cjs +4 -4
  124. package/dist/actions/delete-kpi-unit.cjs.map +1 -1
  125. package/dist/actions/delete-kpi-unit.d.cts +11 -3
  126. package/dist/actions/delete-kpi-unit.d.cts.map +1 -1
  127. package/dist/actions/delete-kpi-unit.d.mts +11 -3
  128. package/dist/actions/delete-kpi-unit.d.mts.map +1 -1
  129. package/dist/actions/delete-kpi-unit.mjs +4 -4
  130. package/dist/actions/delete-kpi-unit.mjs.map +1 -1
  131. package/dist/actions/delete-kpi.cjs +3 -3
  132. package/dist/actions/delete-kpi.cjs.map +1 -1
  133. package/dist/actions/delete-kpi.d.cts +10 -3
  134. package/dist/actions/delete-kpi.d.cts.map +1 -1
  135. package/dist/actions/delete-kpi.d.mts +10 -3
  136. package/dist/actions/delete-kpi.d.mts.map +1 -1
  137. package/dist/actions/delete-kpi.mjs +3 -3
  138. package/dist/actions/delete-kpi.mjs.map +1 -1
  139. package/dist/actions/delete-user-group-item.cjs +1 -1
  140. package/dist/actions/delete-user-group-item.cjs.map +1 -1
  141. package/dist/actions/delete-user-group-item.d.cts +11 -3
  142. package/dist/actions/delete-user-group-item.d.cts.map +1 -1
  143. package/dist/actions/delete-user-group-item.d.mts +11 -3
  144. package/dist/actions/delete-user-group-item.d.mts.map +1 -1
  145. package/dist/actions/delete-user-group-item.mjs +1 -1
  146. package/dist/actions/delete-user-group-item.mjs.map +1 -1
  147. package/dist/actions/delete-user-kpi.cjs +3 -3
  148. package/dist/actions/delete-user-kpi.cjs.map +1 -1
  149. package/dist/actions/delete-user-kpi.d.cts +12 -3
  150. package/dist/actions/delete-user-kpi.d.cts.map +1 -1
  151. package/dist/actions/delete-user-kpi.d.mts +12 -3
  152. package/dist/actions/delete-user-kpi.d.mts.map +1 -1
  153. package/dist/actions/delete-user-kpi.mjs +3 -3
  154. package/dist/actions/delete-user-kpi.mjs.map +1 -1
  155. package/dist/actions/delete-user.cjs +1 -1
  156. package/dist/actions/delete-user.cjs.map +1 -1
  157. package/dist/actions/delete-user.d.cts +10 -3
  158. package/dist/actions/delete-user.d.cts.map +1 -1
  159. package/dist/actions/delete-user.d.mts +10 -3
  160. package/dist/actions/delete-user.d.mts.map +1 -1
  161. package/dist/actions/delete-user.mjs +1 -1
  162. package/dist/actions/delete-user.mjs.map +1 -1
  163. package/dist/actions/get-all-data-entries.cjs +2 -2
  164. package/dist/actions/get-all-data-entries.cjs.map +1 -1
  165. package/dist/actions/get-all-data-entries.d.cts +34 -3
  166. package/dist/actions/get-all-data-entries.d.cts.map +1 -1
  167. package/dist/actions/get-all-data-entries.d.mts +34 -3
  168. package/dist/actions/get-all-data-entries.d.mts.map +1 -1
  169. package/dist/actions/get-all-data-entries.mjs +2 -2
  170. package/dist/actions/get-all-data-entries.mjs.map +1 -1
  171. package/dist/actions/get-category-kpi.cjs +4 -4
  172. package/dist/actions/get-category-kpi.cjs.map +1 -1
  173. package/dist/actions/get-category-kpi.d.cts +25 -3
  174. package/dist/actions/get-category-kpi.d.cts.map +1 -1
  175. package/dist/actions/get-category-kpi.d.mts +25 -3
  176. package/dist/actions/get-category-kpi.d.mts.map +1 -1
  177. package/dist/actions/get-category-kpi.mjs +4 -4
  178. package/dist/actions/get-category-kpi.mjs.map +1 -1
  179. package/dist/actions/get-group-item.cjs +1 -1
  180. package/dist/actions/get-group-item.cjs.map +1 -1
  181. package/dist/actions/get-group-item.d.cts +16 -3
  182. package/dist/actions/get-group-item.d.cts.map +1 -1
  183. package/dist/actions/get-group-item.d.mts +16 -3
  184. package/dist/actions/get-group-item.d.mts.map +1 -1
  185. package/dist/actions/get-group-item.mjs +1 -1
  186. package/dist/actions/get-group-item.mjs.map +1 -1
  187. package/dist/actions/get-group.cjs +1 -1
  188. package/dist/actions/get-group.cjs.map +1 -1
  189. package/dist/actions/get-group.d.cts +13 -3
  190. package/dist/actions/get-group.d.cts.map +1 -1
  191. package/dist/actions/get-group.d.mts +13 -3
  192. package/dist/actions/get-group.d.mts.map +1 -1
  193. package/dist/actions/get-group.mjs +1 -1
  194. package/dist/actions/get-group.mjs.map +1 -1
  195. package/dist/actions/get-kpi-category.cjs +1 -1
  196. package/dist/actions/get-kpi-category.cjs.map +1 -1
  197. package/dist/actions/get-kpi-category.d.cts +13 -3
  198. package/dist/actions/get-kpi-category.d.cts.map +1 -1
  199. package/dist/actions/get-kpi-category.d.mts +13 -3
  200. package/dist/actions/get-kpi-category.d.mts.map +1 -1
  201. package/dist/actions/get-kpi-category.mjs +1 -1
  202. package/dist/actions/get-kpi-category.mjs.map +1 -1
  203. package/dist/actions/get-kpi-entry.cjs +6 -6
  204. package/dist/actions/get-kpi-entry.cjs.map +1 -1
  205. package/dist/actions/get-kpi-entry.d.cts +17 -3
  206. package/dist/actions/get-kpi-entry.d.cts.map +1 -1
  207. package/dist/actions/get-kpi-entry.d.mts +17 -3
  208. package/dist/actions/get-kpi-entry.d.mts.map +1 -1
  209. package/dist/actions/get-kpi-entry.mjs +6 -6
  210. package/dist/actions/get-kpi-entry.mjs.map +1 -1
  211. package/dist/actions/get-kpi-frequency.cjs +1 -1
  212. package/dist/actions/get-kpi-frequency.cjs.map +1 -1
  213. package/dist/actions/get-kpi-frequency.d.cts +10 -3
  214. package/dist/actions/get-kpi-frequency.d.cts.map +1 -1
  215. package/dist/actions/get-kpi-frequency.d.mts +10 -3
  216. package/dist/actions/get-kpi-frequency.d.mts.map +1 -1
  217. package/dist/actions/get-kpi-frequency.mjs +1 -1
  218. package/dist/actions/get-kpi-frequency.mjs.map +1 -1
  219. package/dist/actions/get-kpi-icon.cjs +1 -1
  220. package/dist/actions/get-kpi-icon.cjs.map +1 -1
  221. package/dist/actions/get-kpi-icon.d.cts +10 -3
  222. package/dist/actions/get-kpi-icon.d.cts.map +1 -1
  223. package/dist/actions/get-kpi-icon.d.mts +10 -3
  224. package/dist/actions/get-kpi-icon.d.mts.map +1 -1
  225. package/dist/actions/get-kpi-icon.mjs +1 -1
  226. package/dist/actions/get-kpi-icon.mjs.map +1 -1
  227. package/dist/actions/get-kpi-unit.cjs +3 -3
  228. package/dist/actions/get-kpi-unit.cjs.map +1 -1
  229. package/dist/actions/get-kpi-unit.d.cts +15 -3
  230. package/dist/actions/get-kpi-unit.d.cts.map +1 -1
  231. package/dist/actions/get-kpi-unit.d.mts +15 -3
  232. package/dist/actions/get-kpi-unit.d.mts.map +1 -1
  233. package/dist/actions/get-kpi-unit.mjs +3 -3
  234. package/dist/actions/get-kpi-unit.mjs.map +1 -1
  235. package/dist/actions/get-kpi.cjs +1 -1
  236. package/dist/actions/get-kpi.cjs.map +1 -1
  237. package/dist/actions/get-kpi.d.cts +23 -3
  238. package/dist/actions/get-kpi.d.cts.map +1 -1
  239. package/dist/actions/get-kpi.d.mts +23 -3
  240. package/dist/actions/get-kpi.d.mts.map +1 -1
  241. package/dist/actions/get-kpi.mjs +1 -1
  242. package/dist/actions/get-kpi.mjs.map +1 -1
  243. package/dist/actions/get-user-group-item.cjs +6 -6
  244. package/dist/actions/get-user-group-item.cjs.map +1 -1
  245. package/dist/actions/get-user-group-item.d.cts +16 -3
  246. package/dist/actions/get-user-group-item.d.cts.map +1 -1
  247. package/dist/actions/get-user-group-item.d.mts +16 -3
  248. package/dist/actions/get-user-group-item.d.mts.map +1 -1
  249. package/dist/actions/get-user-group-item.mjs +6 -6
  250. package/dist/actions/get-user-group-item.mjs.map +1 -1
  251. package/dist/actions/get-user-kpi.cjs +1 -1
  252. package/dist/actions/get-user-kpi.cjs.map +1 -1
  253. package/dist/actions/get-user-kpi.d.cts +16 -3
  254. package/dist/actions/get-user-kpi.d.cts.map +1 -1
  255. package/dist/actions/get-user-kpi.d.mts +16 -3
  256. package/dist/actions/get-user-kpi.d.mts.map +1 -1
  257. package/dist/actions/get-user-kpi.mjs +1 -1
  258. package/dist/actions/get-user-kpi.mjs.map +1 -1
  259. package/dist/actions/get-user.cjs +8 -8
  260. package/dist/actions/get-user.cjs.map +1 -1
  261. package/dist/actions/get-user.d.cts +21 -3
  262. package/dist/actions/get-user.d.cts.map +1 -1
  263. package/dist/actions/get-user.d.mts +21 -3
  264. package/dist/actions/get-user.d.mts.map +1 -1
  265. package/dist/actions/get-user.mjs +8 -8
  266. package/dist/actions/get-user.mjs.map +1 -1
  267. package/dist/actions/list-category-kpis.cjs +2 -2
  268. package/dist/actions/list-category-kpis.cjs.map +1 -1
  269. package/dist/actions/list-category-kpis.d.cts +25 -3
  270. package/dist/actions/list-category-kpis.d.cts.map +1 -1
  271. package/dist/actions/list-category-kpis.d.mts +25 -3
  272. package/dist/actions/list-category-kpis.d.mts.map +1 -1
  273. package/dist/actions/list-category-kpis.mjs +2 -2
  274. package/dist/actions/list-category-kpis.mjs.map +1 -1
  275. package/dist/actions/list-group-items.cjs +2 -2
  276. package/dist/actions/list-group-items.cjs.map +1 -1
  277. package/dist/actions/list-group-items.d.cts +16 -3
  278. package/dist/actions/list-group-items.d.cts.map +1 -1
  279. package/dist/actions/list-group-items.d.mts +16 -3
  280. package/dist/actions/list-group-items.d.mts.map +1 -1
  281. package/dist/actions/list-group-items.mjs +2 -2
  282. package/dist/actions/list-group-items.mjs.map +1 -1
  283. package/dist/actions/list-groups.cjs +7 -7
  284. package/dist/actions/list-groups.cjs.map +1 -1
  285. package/dist/actions/list-groups.d.cts +11 -3
  286. package/dist/actions/list-groups.d.cts.map +1 -1
  287. package/dist/actions/list-groups.d.mts +11 -3
  288. package/dist/actions/list-groups.d.mts.map +1 -1
  289. package/dist/actions/list-groups.mjs +7 -7
  290. package/dist/actions/list-groups.mjs.map +1 -1
  291. package/dist/actions/list-kpi-categories.cjs +5 -5
  292. package/dist/actions/list-kpi-categories.cjs.map +1 -1
  293. package/dist/actions/list-kpi-categories.d.cts +11 -3
  294. package/dist/actions/list-kpi-categories.d.cts.map +1 -1
  295. package/dist/actions/list-kpi-categories.d.mts +11 -3
  296. package/dist/actions/list-kpi-categories.d.mts.map +1 -1
  297. package/dist/actions/list-kpi-categories.mjs +5 -5
  298. package/dist/actions/list-kpi-categories.mjs.map +1 -1
  299. package/dist/actions/list-kpi-entries.cjs +2 -2
  300. package/dist/actions/list-kpi-entries.cjs.map +1 -1
  301. package/dist/actions/list-kpi-entries.d.cts +29 -3
  302. package/dist/actions/list-kpi-entries.d.cts.map +1 -1
  303. package/dist/actions/list-kpi-entries.d.mts +29 -3
  304. package/dist/actions/list-kpi-entries.d.mts.map +1 -1
  305. package/dist/actions/list-kpi-entries.mjs +2 -2
  306. package/dist/actions/list-kpi-entries.mjs.map +1 -1
  307. package/dist/actions/list-kpi-frequencies.cjs +4 -4
  308. package/dist/actions/list-kpi-frequencies.cjs.map +1 -1
  309. package/dist/actions/list-kpi-frequencies.d.cts +8 -3
  310. package/dist/actions/list-kpi-frequencies.d.cts.map +1 -1
  311. package/dist/actions/list-kpi-frequencies.d.mts +8 -3
  312. package/dist/actions/list-kpi-frequencies.d.mts.map +1 -1
  313. package/dist/actions/list-kpi-frequencies.mjs +4 -4
  314. package/dist/actions/list-kpi-frequencies.mjs.map +1 -1
  315. package/dist/actions/list-kpi-icons.cjs +4 -4
  316. package/dist/actions/list-kpi-icons.cjs.map +1 -1
  317. package/dist/actions/list-kpi-icons.d.cts +10 -3
  318. package/dist/actions/list-kpi-icons.d.cts.map +1 -1
  319. package/dist/actions/list-kpi-icons.d.mts +10 -3
  320. package/dist/actions/list-kpi-icons.d.mts.map +1 -1
  321. package/dist/actions/list-kpi-icons.mjs +4 -4
  322. package/dist/actions/list-kpi-icons.mjs.map +1 -1
  323. package/dist/actions/list-kpi-units.cjs +2 -2
  324. package/dist/actions/list-kpi-units.cjs.map +1 -1
  325. package/dist/actions/list-kpi-units.d.cts +13 -3
  326. package/dist/actions/list-kpi-units.d.cts.map +1 -1
  327. package/dist/actions/list-kpi-units.d.mts +13 -3
  328. package/dist/actions/list-kpi-units.d.mts.map +1 -1
  329. package/dist/actions/list-kpi-units.mjs +2 -2
  330. package/dist/actions/list-kpi-units.mjs.map +1 -1
  331. package/dist/actions/list-kpis.cjs +2 -2
  332. package/dist/actions/list-kpis.cjs.map +1 -1
  333. package/dist/actions/list-kpis.d.cts +21 -3
  334. package/dist/actions/list-kpis.d.cts.map +1 -1
  335. package/dist/actions/list-kpis.d.mts +21 -3
  336. package/dist/actions/list-kpis.d.mts.map +1 -1
  337. package/dist/actions/list-kpis.mjs +2 -2
  338. package/dist/actions/list-kpis.mjs.map +1 -1
  339. package/dist/actions/list-user-group-items.cjs +8 -8
  340. package/dist/actions/list-user-group-items.cjs.map +1 -1
  341. package/dist/actions/list-user-group-items.d.cts +16 -3
  342. package/dist/actions/list-user-group-items.d.cts.map +1 -1
  343. package/dist/actions/list-user-group-items.d.mts +16 -3
  344. package/dist/actions/list-user-group-items.d.mts.map +1 -1
  345. package/dist/actions/list-user-group-items.mjs +8 -8
  346. package/dist/actions/list-user-group-items.mjs.map +1 -1
  347. package/dist/actions/list-user-kpis.cjs +7 -7
  348. package/dist/actions/list-user-kpis.cjs.map +1 -1
  349. package/dist/actions/list-user-kpis.d.cts +16 -3
  350. package/dist/actions/list-user-kpis.d.cts.map +1 -1
  351. package/dist/actions/list-user-kpis.d.mts +16 -3
  352. package/dist/actions/list-user-kpis.d.mts.map +1 -1
  353. package/dist/actions/list-user-kpis.mjs +7 -7
  354. package/dist/actions/list-user-kpis.mjs.map +1 -1
  355. package/dist/actions/update-category-kpi.cjs +1 -1
  356. package/dist/actions/update-category-kpi.cjs.map +1 -1
  357. package/dist/actions/update-category-kpi.d.cts +57 -3
  358. package/dist/actions/update-category-kpi.d.cts.map +1 -1
  359. package/dist/actions/update-category-kpi.d.mts +57 -3
  360. package/dist/actions/update-category-kpi.d.mts.map +1 -1
  361. package/dist/actions/update-category-kpi.mjs +1 -1
  362. package/dist/actions/update-category-kpi.mjs.map +1 -1
  363. package/dist/actions/update-group-item.cjs +1 -1
  364. package/dist/actions/update-group-item.cjs.map +1 -1
  365. package/dist/actions/update-group-item.d.cts +18 -3
  366. package/dist/actions/update-group-item.d.cts.map +1 -1
  367. package/dist/actions/update-group-item.d.mts +18 -3
  368. package/dist/actions/update-group-item.d.mts.map +1 -1
  369. package/dist/actions/update-group-item.mjs +1 -1
  370. package/dist/actions/update-group-item.mjs.map +1 -1
  371. package/dist/actions/update-group.cjs +1 -1
  372. package/dist/actions/update-group.cjs.map +1 -1
  373. package/dist/actions/update-group.d.cts +15 -3
  374. package/dist/actions/update-group.d.cts.map +1 -1
  375. package/dist/actions/update-group.d.mts +15 -3
  376. package/dist/actions/update-group.d.mts.map +1 -1
  377. package/dist/actions/update-group.mjs +1 -1
  378. package/dist/actions/update-group.mjs.map +1 -1
  379. package/dist/actions/update-kpi-entry.cjs +5 -5
  380. package/dist/actions/update-kpi-entry.cjs.map +1 -1
  381. package/dist/actions/update-kpi-entry.d.cts +29 -3
  382. package/dist/actions/update-kpi-entry.d.cts.map +1 -1
  383. package/dist/actions/update-kpi-entry.d.mts +29 -3
  384. package/dist/actions/update-kpi-entry.d.mts.map +1 -1
  385. package/dist/actions/update-kpi-entry.mjs +5 -5
  386. package/dist/actions/update-kpi-entry.mjs.map +1 -1
  387. package/dist/actions/update-kpi-unit.cjs +6 -6
  388. package/dist/actions/update-kpi-unit.cjs.map +1 -1
  389. package/dist/actions/update-kpi-unit.d.cts +21 -3
  390. package/dist/actions/update-kpi-unit.d.cts.map +1 -1
  391. package/dist/actions/update-kpi-unit.d.mts +21 -3
  392. package/dist/actions/update-kpi-unit.d.mts.map +1 -1
  393. package/dist/actions/update-kpi-unit.mjs +6 -6
  394. package/dist/actions/update-kpi-unit.mjs.map +1 -1
  395. package/dist/actions/update-kpi.cjs +11 -11
  396. package/dist/actions/update-kpi.cjs.map +1 -1
  397. package/dist/actions/update-kpi.d.cts +55 -3
  398. package/dist/actions/update-kpi.d.cts.map +1 -1
  399. package/dist/actions/update-kpi.d.mts +55 -3
  400. package/dist/actions/update-kpi.d.mts.map +1 -1
  401. package/dist/actions/update-kpi.mjs +11 -11
  402. package/dist/actions/update-kpi.mjs.map +1 -1
  403. package/dist/actions/update-user.cjs +1 -1
  404. package/dist/actions/update-user.cjs.map +1 -1
  405. package/dist/actions/update-user.d.cts +30 -3
  406. package/dist/actions/update-user.d.cts.map +1 -1
  407. package/dist/actions/update-user.d.mts +30 -3
  408. package/dist/actions/update-user.d.mts.map +1 -1
  409. package/dist/actions/update-user.mjs +1 -1
  410. package/dist/actions/update-user.mjs.map +1 -1
  411. package/dist/catalog.cjs +25 -1
  412. package/dist/catalog.cjs.map +1 -1
  413. package/dist/catalog.d.cts +24 -0
  414. package/dist/catalog.d.mts +24 -0
  415. package/dist/catalog.mjs +25 -1
  416. package/dist/catalog.mjs.map +1 -1
  417. package/package.json +2 -2
@@ -6,16 +6,16 @@ const simplekpiGetKpiEntry = action("SIMPLEKPI_GET_KPI_ENTRY", {
6
6
  description: "Tool to retrieve a specific KPI entry by ID. Use when you need to fetch detailed information about a particular KPI entry including actual values, targets, notes, and timestamps.",
7
7
  input: z.object({ kpientryid: z.number().int().describe("The unique identifier of the KPI entry to retrieve") }).describe("Request model for retrieving a specific KPI entry by ID."),
8
8
  output: z.object({
9
- id: z.number().int().describe("Auto-generated KPI entry ID"),
9
+ id: z.number().int().describe("Auto-generated KPI entry ID").nullable(),
10
10
  notes: z.string().describe("The note associated with the KPI entry (max 500 characters)").nullable().optional(),
11
- actual: z.number().describe("The recorded actual value for the period"),
12
- kpi_id: z.number().int().describe("The KPI associated with this entry"),
11
+ actual: z.number().describe("The recorded actual value for the period").nullable(),
12
+ kpi_id: z.number().int().describe("The KPI associated with this entry").nullable(),
13
13
  target: z.number().describe("The target value of the entry").nullable().optional(),
14
- user_id: z.number().int().describe("Identifier of the user who created the entry"),
14
+ user_id: z.number().int().describe("Identifier of the user who created the entry").nullable(),
15
15
  created_at: z.string().describe("UTC datetime when the KPI entry was created").nullable().optional(),
16
- entry_date: z.string().describe("The date of the entry (YYYY-MM-DD format)"),
16
+ entry_date: z.string().describe("The date of the entry (YYYY-MM-DD format)").nullable(),
17
17
  updated_at: z.string().describe("UTC datetime when the KPI entry was last updated").nullable().optional()
18
- }).describe("Response model for a KPI entry with all its details.")
18
+ }).passthrough().describe("Response model for a KPI entry with all its details.")
19
19
  });
20
20
  //#endregion
21
21
  export { simplekpiGetKpiEntry };
@@ -1 +1 @@
1
- {"version":3,"file":"get-kpi-entry.mjs","names":[],"sources":["../../src/actions/get-kpi-entry.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplekpiGetKpiEntryInput: z.ZodTypeAny = z.object({\n kpientryid: z.number().int().describe(\"The unique identifier of the KPI entry to retrieve\"),\n}).describe(\"Request model for retrieving a specific KPI entry by ID.\");\nexport const SimplekpiGetKpiEntryOutput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Auto-generated KPI entry ID\"),\n notes: z.string().describe(\"The note associated with the KPI entry (max 500 characters)\").nullable().optional(),\n actual: z.number().describe(\"The recorded actual value for the period\"),\n kpi_id: z.number().int().describe(\"The KPI associated with this entry\"),\n target: z.number().describe(\"The target value of the entry\").nullable().optional(),\n user_id: z.number().int().describe(\"Identifier of the user who created the entry\"),\n created_at: z.string().describe(\"UTC datetime when the KPI entry was created\").nullable().optional(),\n entry_date: z.string().describe(\"The date of the entry (YYYY-MM-DD format)\"),\n updated_at: z.string().describe(\"UTC datetime when the KPI entry was last updated\").nullable().optional(),\n}).describe(\"Response model for a KPI entry with all its details.\");\n\nexport const simplekpiGetKpiEntry = action(\"SIMPLEKPI_GET_KPI_ENTRY\", {\n slug: \"simplekpi-get-kpi-entry\",\n name: \"Get KPI Entry\",\n description: \"Tool to retrieve a specific KPI entry by ID. Use when you need to fetch detailed information about a particular KPI entry including actual values, targets, notes, and timestamps.\",\n input: SimplekpiGetKpiEntryInput,\n output: SimplekpiGetKpiEntryOutput,\n});\n"],"mappings":";;AAmBA,MAAa,uBAAuB,OAAO,2BAA2B;CACpE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAnBqD,EAAE,OAAO,EAC9D,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD,EAC5F,CAAC,CAAC,CAAC,SAAS,0DAiBH;CACP,QAjBsD,EAAE,OAAO;EAC/D,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B;EAC3D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9G,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C;EACtE,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC;EACtE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjF,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C;EACjF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;EAC3E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,CAAC,CAAC,CAAC,SAAS,sDAOF;AACV,CAAC"}
1
+ {"version":3,"file":"get-kpi-entry.mjs","names":[],"sources":["../../src/actions/get-kpi-entry.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplekpiGetKpiEntryInput = z.object({\n kpientryid: z.number().int().describe(\"The unique identifier of the KPI entry to retrieve\"),\n}).describe(\"Request model for retrieving a specific KPI entry by ID.\");\nexport const SimplekpiGetKpiEntryOutput = z.object({\n id: z.number().int().describe(\"Auto-generated KPI entry ID\").nullable(),\n notes: z.string().describe(\"The note associated with the KPI entry (max 500 characters)\").nullable().optional(),\n actual: z.number().describe(\"The recorded actual value for the period\").nullable(),\n kpi_id: z.number().int().describe(\"The KPI associated with this entry\").nullable(),\n target: z.number().describe(\"The target value of the entry\").nullable().optional(),\n user_id: z.number().int().describe(\"Identifier of the user who created the entry\").nullable(),\n created_at: z.string().describe(\"UTC datetime when the KPI entry was created\").nullable().optional(),\n entry_date: z.string().describe(\"The date of the entry (YYYY-MM-DD format)\").nullable(),\n updated_at: z.string().describe(\"UTC datetime when the KPI entry was last updated\").nullable().optional(),\n}).passthrough().describe(\"Response model for a KPI entry with all its details.\");\n\nexport const simplekpiGetKpiEntry = action(\"SIMPLEKPI_GET_KPI_ENTRY\", {\n slug: \"simplekpi-get-kpi-entry\",\n name: \"Get KPI Entry\",\n description: \"Tool to retrieve a specific KPI entry by ID. Use when you need to fetch detailed information about a particular KPI entry including actual values, targets, notes, and timestamps.\",\n input: SimplekpiGetKpiEntryInput,\n output: SimplekpiGetKpiEntryOutput,\n});\n"],"mappings":";;AAmBA,MAAa,uBAAuB,OAAO,2BAA2B;CACpE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAnBuC,EAAE,OAAO,EAChD,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD,EAC5F,CAAC,CAAC,CAAC,SAAS,0DAiBH;CACP,QAjBwC,EAAE,OAAO;EACjD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;EACtE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9G,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;EACjF,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;EACjF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjF,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;EAC5F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;EACtF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAOhB;AACV,CAAC"}
@@ -5,7 +5,7 @@ const SimplekpiGetKpiFrequencyInput = zod.z.object({ id: zod.z.string().describe
5
5
  const SimplekpiGetKpiFrequencyOutput = zod.z.object({
6
6
  id: zod.z.string().describe("The unique identifier of the frequency (e.g., 'D' for Daily)").nullable().optional(),
7
7
  name: zod.z.string().describe("The name of the frequency (e.g., 'Daily', 'Weekly', 'Monthly')").nullable().optional()
8
- }).describe("Response model containing KPI frequency information.");
8
+ }).passthrough().describe("Response model containing KPI frequency information.");
9
9
  const simplekpiGetKpiFrequency = require_action.action("SIMPLEKPI_GET_KPI_FREQUENCY", {
10
10
  slug: "simplekpi-get-kpi-frequency",
11
11
  name: "Get KPI Frequency",
@@ -1 +1 @@
1
- {"version":3,"file":"get-kpi-frequency.cjs","names":["z","action"],"sources":["../../src/actions/get-kpi-frequency.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplekpiGetKpiFrequencyInput: z.ZodTypeAny = 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.ZodTypeAny = 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}).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":";;;AAIA,MAAa,gCAA8CA,IAAAA,EAAE,OAAO,EAClE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,EACnG,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAC1E,MAAa,iCAA+CA,IAAAA,EAAE,OAAO;CACnE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClH,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAElE,MAAa,2BAA2BC,eAAAA,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-kpi-frequency.cjs","names":["z","action"],"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":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO,EACpD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,EACnG,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAC1E,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAAsD;AAEhF,MAAa,2BAA2BC,eAAAA,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,16 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-kpi-frequency.d.ts
4
- declare const SimplekpiGetKpiFrequencyInput: z.ZodTypeAny;
5
- declare const SimplekpiGetKpiFrequencyOutput: z.ZodTypeAny;
6
- declare const simplekpiGetKpiFrequency: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SimplekpiGetKpiFrequencyInput: z.ZodObject<{
5
+ id: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const SimplekpiGetKpiFrequencyOutput: z.ZodObject<{
8
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10
+ }, 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]>, readonly [import("@keystrokehq/shared").Credential]>;
7
14
  //#endregion
8
15
  export { simplekpiGetKpiFrequency };
9
16
  //# sourceMappingURL=get-kpi-frequency.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-kpi-frequency.d.cts","names":[],"sources":["../../src/actions/get-kpi-frequency.ts"],"mappings":";;;cAIa,6BAAA,EAA+B,CAAA,CAAE,UAE6B;AAAA,cAC9D,8BAAA,EAAgC,CAAA,CAAE,UAGoB;AAAA,cAEtD,wBAAA,gCAAwB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-kpi-frequency.d.cts","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,9 +1,16 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-kpi-frequency.d.ts
4
- declare const SimplekpiGetKpiFrequencyInput: z.ZodTypeAny;
5
- declare const SimplekpiGetKpiFrequencyOutput: z.ZodTypeAny;
6
- declare const simplekpiGetKpiFrequency: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SimplekpiGetKpiFrequencyInput: z.ZodObject<{
5
+ id: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const SimplekpiGetKpiFrequencyOutput: z.ZodObject<{
8
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10
+ }, 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]>, readonly [import("@keystrokehq/shared").Credential]>;
7
14
  //#endregion
8
15
  export { simplekpiGetKpiFrequency };
9
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,EAA+B,CAAA,CAAE,UAE6B;AAAA,cAC9D,8BAAA,EAAgC,CAAA,CAAE,UAGoB;AAAA,cAEtD,wBAAA,gCAAwB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
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"}
@@ -8,7 +8,7 @@ const simplekpiGetKpiFrequency = action("SIMPLEKPI_GET_KPI_FREQUENCY", {
8
8
  output: z.object({
9
9
  id: z.string().describe("The unique identifier of the frequency (e.g., 'D' for Daily)").nullable().optional(),
10
10
  name: z.string().describe("The name of the frequency (e.g., 'Daily', 'Weekly', 'Monthly')").nullable().optional()
11
- }).describe("Response model containing KPI frequency information.")
11
+ }).passthrough().describe("Response model containing KPI frequency information.")
12
12
  });
13
13
  //#endregion
14
14
  export { simplekpiGetKpiFrequency };
@@ -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.ZodTypeAny = 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.ZodTypeAny = 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}).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,OAZyD,EAAE,OAAO,EAClE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,EACnG,CAAC,CAAC,CAAC,SAAS,8DAUH;CACP,QAV0D,EAAE,OAAO;EACnE,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,SAAS,sDAOF;AACV,CAAC"}
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"}
@@ -5,7 +5,7 @@ const SimplekpiGetKpiIconInput = zod.z.object({ id: zod.z.number().int().describ
5
5
  const SimplekpiGetKpiIconOutput = zod.z.object({
6
6
  id: zod.z.number().int().describe("Internal id of the KPI icon").nullable().optional(),
7
7
  name: zod.z.string().describe("The name of the icon. The icons are located at http://{subdomain}.simplekpi.com/kpi-icons/{name}.svg").nullable().optional()
8
- }).describe("Response schema for a KPI icon object.");
8
+ }).passthrough().describe("Response schema for a KPI icon object.");
9
9
  const simplekpiGetKpiIcon = require_action.action("SIMPLEKPI_GET_KPI_ICON", {
10
10
  slug: "simplekpi-get-kpi-icon",
11
11
  name: "Get KPI Icon by ID",
@@ -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.ZodTypeAny = 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.ZodTypeAny = 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}).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,2BAAyCA,IAAAA,EAAE,OAAO,EAC7D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD,EACnF,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAC1E,MAAa,4BAA0CA,IAAAA,EAAE,OAAO;CAC9D,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,SAAS,wCAAwC;AAEpD,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 { 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,9 +1,16 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-kpi-icon.d.ts
4
- declare const SimplekpiGetKpiIconInput: z.ZodTypeAny;
5
- declare const SimplekpiGetKpiIconOutput: z.ZodTypeAny;
6
- declare const simplekpiGetKpiIcon: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SimplekpiGetKpiIconInput: z.ZodObject<{
5
+ id: z.ZodNumber;
6
+ }, z.core.$strip>;
7
+ declare const SimplekpiGetKpiIconOutput: z.ZodObject<{
8
+ id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
9
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10
+ }, 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]>, readonly [import("@keystrokehq/shared").Credential]>;
7
14
  //#endregion
8
15
  export { simplekpiGetKpiIcon };
9
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,EAA0B,CAAA,CAAE,UAEkC;AAAA,cAC9D,yBAAA,EAA2B,CAAA,CAAE,UAGW;AAAA,cAExC,mBAAA,gCAAmB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
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,9 +1,16 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-kpi-icon.d.ts
4
- declare const SimplekpiGetKpiIconInput: z.ZodTypeAny;
5
- declare const SimplekpiGetKpiIconOutput: z.ZodTypeAny;
6
- declare const simplekpiGetKpiIcon: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SimplekpiGetKpiIconInput: z.ZodObject<{
5
+ id: z.ZodNumber;
6
+ }, z.core.$strip>;
7
+ declare const SimplekpiGetKpiIconOutput: z.ZodObject<{
8
+ id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
9
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10
+ }, 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]>, readonly [import("@keystrokehq/shared").Credential]>;
7
14
  //#endregion
8
15
  export { simplekpiGetKpiIcon };
9
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,EAA0B,CAAA,CAAE,UAEkC;AAAA,cAC9D,yBAAA,EAA2B,CAAA,CAAE,UAGW;AAAA,cAExC,mBAAA,gCAAmB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
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"}
@@ -8,7 +8,7 @@ const simplekpiGetKpiIcon = action("SIMPLEKPI_GET_KPI_ICON", {
8
8
  output: z.object({
9
9
  id: z.number().int().describe("Internal id of the KPI icon").nullable().optional(),
10
10
  name: z.string().describe("The name of the icon. The icons are located at http://{subdomain}.simplekpi.com/kpi-icons/{name}.svg").nullable().optional()
11
- }).describe("Response schema for a KPI icon object.")
11
+ }).passthrough().describe("Response schema for a KPI icon object.")
12
12
  });
13
13
  //#endregion
14
14
  export { simplekpiGetKpiIcon };
@@ -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.ZodTypeAny = 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.ZodTypeAny = 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}).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,OAZoD,EAAE,OAAO,EAC7D,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD,EACnF,CAAC,CAAC,CAAC,SAAS,8DAUH;CACP,QAVqD,EAAE,OAAO;EAC9D,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,SAAS,wCAOF;AACV,CAAC"}
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"}
@@ -3,14 +3,14 @@ let zod = require("zod");
3
3
  //#region src/actions/get-kpi-unit.ts
4
4
  const SimplekpiGetKpiUnitInput = zod.z.object({ id: zod.z.number().int().describe("The unique identifier of the KPI unit to retrieve") }).describe("Request model for retrieving a specific KPI unit by ID.");
5
5
  const SimplekpiGetKpiUnitOutput = zod.z.object({
6
- id: zod.z.number().int().describe("Automatically generated identifier for the KPI unit"),
7
- name: zod.z.string().describe("The label assigned to the KPI unit (max 25 characters)"),
6
+ id: zod.z.number().int().describe("Automatically generated identifier for the KPI unit").nullable(),
7
+ name: zod.z.string().describe("The label assigned to the KPI unit (max 25 characters)").nullable(),
8
8
  created_at: zod.z.string().describe("The date and time the KPI unit was created (ISO 8601 format)").nullable().optional(),
9
9
  updated_at: zod.z.string().describe("The date and time of the last update of the KPI unit (ISO 8601 format)").nullable().optional(),
10
10
  entry_format: zod.z.string().describe("Format template for data entry, containing only '0', '#', or '.' characters (max 25 characters)").nullable().optional(),
11
11
  is_percentage: zod.z.boolean().describe("Indicates whether values are percentages, affecting how the application treats the values").nullable().optional(),
12
12
  display_format: zod.z.string().describe("Display format specification for the unit, e.g. '£ #.00' or '#.00%' (max 25 characters)").nullable().optional()
13
- }).describe("Response model containing KPI unit information.");
13
+ }).passthrough().describe("Response model containing KPI unit information.");
14
14
  const simplekpiGetKpiUnit = require_action.action("SIMPLEKPI_GET_KPI_UNIT", {
15
15
  slug: "simplekpi-get-kpi-unit",
16
16
  name: "Get KPI Unit",
@@ -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.ZodTypeAny = 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.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Automatically generated identifier for the KPI unit\"),\n name: z.string().describe(\"The label assigned to the KPI unit (max 25 characters)\"),\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}).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,2BAAyCA,IAAAA,EAAE,OAAO,EAC7D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD,EACnF,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrE,MAAa,4BAA0CA,IAAAA,EAAE,OAAO;CAC9D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qDAAqD;CACnF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD;CAClF,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,SAAS,iDAAiD;AAE7D,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 { 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,9 +1,21 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-kpi-unit.d.ts
4
- declare const SimplekpiGetKpiUnitInput: z.ZodTypeAny;
5
- declare const SimplekpiGetKpiUnitOutput: z.ZodTypeAny;
6
- declare const simplekpiGetKpiUnit: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SimplekpiGetKpiUnitInput: z.ZodObject<{
5
+ id: z.ZodNumber;
6
+ }, z.core.$strip>;
7
+ declare const SimplekpiGetKpiUnitOutput: z.ZodObject<{
8
+ id: z.ZodNullable<z.ZodNumber>;
9
+ name: z.ZodNullable<z.ZodString>;
10
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
+ entry_format: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
+ is_percentage: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
14
+ display_format: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
+ }, 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]>, readonly [import("@keystrokehq/shared").Credential]>;
7
19
  //#endregion
8
20
  export { simplekpiGetKpiUnit };
9
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,EAA0B,CAAA,CAAE,UAE6B;AAAA,cACzD,yBAAA,EAA2B,CAAA,CAAE,UAQoB;AAAA,cAEjD,mBAAA,gCAAmB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
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,9 +1,21 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-kpi-unit.d.ts
4
- declare const SimplekpiGetKpiUnitInput: z.ZodTypeAny;
5
- declare const SimplekpiGetKpiUnitOutput: z.ZodTypeAny;
6
- declare const simplekpiGetKpiUnit: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SimplekpiGetKpiUnitInput: z.ZodObject<{
5
+ id: z.ZodNumber;
6
+ }, z.core.$strip>;
7
+ declare const SimplekpiGetKpiUnitOutput: z.ZodObject<{
8
+ id: z.ZodNullable<z.ZodNumber>;
9
+ name: z.ZodNullable<z.ZodString>;
10
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
+ entry_format: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
+ is_percentage: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
14
+ display_format: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
+ }, 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]>, readonly [import("@keystrokehq/shared").Credential]>;
7
19
  //#endregion
8
20
  export { simplekpiGetKpiUnit };
9
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,EAA0B,CAAA,CAAE,UAE6B;AAAA,cACzD,yBAAA,EAA2B,CAAA,CAAE,UAQoB;AAAA,cAEjD,mBAAA,gCAAmB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
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"}
@@ -6,14 +6,14 @@ const simplekpiGetKpiUnit = action("SIMPLEKPI_GET_KPI_UNIT", {
6
6
  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.",
7
7
  input: z.object({ id: z.number().int().describe("The unique identifier of the KPI unit to retrieve") }).describe("Request model for retrieving a specific KPI unit by ID."),
8
8
  output: z.object({
9
- id: z.number().int().describe("Automatically generated identifier for the KPI unit"),
10
- name: z.string().describe("The label assigned to the KPI unit (max 25 characters)"),
9
+ id: z.number().int().describe("Automatically generated identifier for the KPI unit").nullable(),
10
+ name: z.string().describe("The label assigned to the KPI unit (max 25 characters)").nullable(),
11
11
  created_at: z.string().describe("The date and time the KPI unit was created (ISO 8601 format)").nullable().optional(),
12
12
  updated_at: z.string().describe("The date and time of the last update of the KPI unit (ISO 8601 format)").nullable().optional(),
13
13
  entry_format: z.string().describe("Format template for data entry, containing only '0', '#', or '.' characters (max 25 characters)").nullable().optional(),
14
14
  is_percentage: z.boolean().describe("Indicates whether values are percentages, affecting how the application treats the values").nullable().optional(),
15
15
  display_format: z.string().describe("Display format specification for the unit, e.g. '£ #.00' or '#.00%' (max 25 characters)").nullable().optional()
16
- }).describe("Response model containing KPI unit information.")
16
+ }).passthrough().describe("Response model containing KPI unit information.")
17
17
  });
18
18
  //#endregion
19
19
  export { simplekpiGetKpiUnit };
@@ -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.ZodTypeAny = 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.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Automatically generated identifier for the KPI unit\"),\n name: z.string().describe(\"The label assigned to the KPI unit (max 25 characters)\"),\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}).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,OAjBoD,EAAE,OAAO,EAC7D,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD,EACnF,CAAC,CAAC,CAAC,SAAS,yDAeH;CACP,QAfqD,EAAE,OAAO;EAC9D,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qDAAqD;EACnF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD;EAClF,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,SAAS,iDAOF;AACV,CAAC"}
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"}
@@ -18,7 +18,7 @@ const SimplekpiGetKpiOutput = zod.z.object({
18
18
  target_default: zod.z.number().describe("Default target value; null if not set").nullable().optional(),
19
19
  value_direction: zod.z.string().describe("Direction indicator: U(p), D(own), or N(one)").nullable().optional(),
20
20
  aggregate_function: zod.z.string().describe("Calculation method: AVG (average) or SUM (sum)").nullable().optional()
21
- }).describe("Complete response schema for a KPI object.");
21
+ }).passthrough().describe("Complete response schema for a KPI object.");
22
22
  const simplekpiGetKpi = require_action.action("SIMPLEKPI_GET_KPI", {
23
23
  slug: "simplekpi-get-kpi",
24
24
  name: "Get KPI by ID",
@@ -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.ZodTypeAny = z.object({\n kpi_id: z.number().int().describe(\"The unique identifier of the KPI to retrieve\"),\n});\nexport const SimplekpiGetKpiOutput: z.ZodTypeAny = 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}).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,uBAAqCA,IAAAA,EAAE,OAAO,EACzD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,EAClF,CAAC;AACD,MAAa,wBAAsCA,IAAAA,EAAE,OAAO;CAC1D,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,SAAS,4CAA4C;AAExD,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 { 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,9 +1,29 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-kpi.d.ts
4
- declare const SimplekpiGetKpiInput: z.ZodTypeAny;
5
- declare const SimplekpiGetKpiOutput: z.ZodTypeAny;
6
- declare const simplekpiGetKpi: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SimplekpiGetKpiInput: z.ZodObject<{
5
+ kpi_id: z.ZodNumber;
6
+ }, z.core.$strip>;
7
+ declare const SimplekpiGetKpiOutput: z.ZodObject<{
8
+ id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
9
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10
+ icon_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
11
+ unit_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
12
+ is_active: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
13
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
+ sort_order: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
15
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
+ category_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
17
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
+ frequency_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
+ is_calculated: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
20
+ target_default: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
21
+ value_direction: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
+ aggregate_function: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
+ }, 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]>, readonly [import("@keystrokehq/shared").Credential]>;
7
27
  //#endregion
8
28
  export { simplekpiGetKpi };
9
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,EAAsB,CAAA,CAAE,UAEnC;AAAA,cACW,qBAAA,EAAuB,CAAA,CAAE,UAgBmB;AAAA,cAE5C,eAAA,gCAAe,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
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,9 +1,29 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-kpi.d.ts
4
- declare const SimplekpiGetKpiInput: z.ZodTypeAny;
5
- declare const SimplekpiGetKpiOutput: z.ZodTypeAny;
6
- declare const simplekpiGetKpi: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SimplekpiGetKpiInput: z.ZodObject<{
5
+ kpi_id: z.ZodNumber;
6
+ }, z.core.$strip>;
7
+ declare const SimplekpiGetKpiOutput: z.ZodObject<{
8
+ id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
9
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10
+ icon_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
11
+ unit_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
12
+ is_active: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
13
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
+ sort_order: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
15
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
+ category_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
17
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
+ frequency_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
+ is_calculated: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
20
+ target_default: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
21
+ value_direction: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
+ aggregate_function: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
+ }, 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]>, readonly [import("@keystrokehq/shared").Credential]>;
7
27
  //#endregion
8
28
  export { simplekpiGetKpi };
9
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,EAAsB,CAAA,CAAE,UAEnC;AAAA,cACW,qBAAA,EAAuB,CAAA,CAAE,UAgBmB;AAAA,cAE5C,eAAA,gCAAe,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
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"}
@@ -21,7 +21,7 @@ const simplekpiGetKpi = action("SIMPLEKPI_GET_KPI", {
21
21
  target_default: z.number().describe("Default target value; null if not set").nullable().optional(),
22
22
  value_direction: z.string().describe("Direction indicator: U(p), D(own), or N(one)").nullable().optional(),
23
23
  aggregate_function: z.string().describe("Calculation method: AVG (average) or SUM (sum)").nullable().optional()
24
- }).describe("Complete response schema for a KPI object.")
24
+ }).passthrough().describe("Complete response schema for a KPI object.")
25
25
  });
26
26
  //#endregion
27
27
  export { simplekpiGetKpi };
@@ -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.ZodTypeAny = z.object({\n kpi_id: z.number().int().describe(\"The unique identifier of the KPI to retrieve\"),\n});\nexport const SimplekpiGetKpiOutput: z.ZodTypeAny = 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}).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,OAzBgD,EAAE,OAAO,EACzD,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,EAClF,CAuBS;CACP,QAvBiD,EAAE,OAAO;EAC1D,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,SAAS,4CAOF;AACV,CAAC"}
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"}
@@ -6,13 +6,13 @@ const SimplekpiGetUserGroupItemInput = zod.z.object({
6
6
  user_id: zod.z.number().int().describe("The identifier of the user")
7
7
  });
8
8
  const SimplekpiGetUserGroupItemOutput = zod.z.object({
9
- id: zod.z.number().int().describe("Group item identifier"),
10
- name: zod.z.string().describe("Name of the group item (max 100 chars)"),
11
- user_id: zod.z.number().int().describe("Identifier of the assigned user"),
12
- group_id: zod.z.number().int().describe("Identifier of the parent group"),
9
+ id: zod.z.number().int().describe("Group item identifier").nullable(),
10
+ name: zod.z.string().describe("Name of the group item (max 100 chars)").nullable(),
11
+ user_id: zod.z.number().int().describe("Identifier of the assigned user").nullable(),
12
+ group_id: zod.z.number().int().describe("Identifier of the parent group").nullable(),
13
13
  created_at: zod.z.string().describe("UTC creation timestamp in ISO format").nullable().optional(),
14
- group_name: zod.z.string().describe("Name of the group (max 50 chars)")
15
- });
14
+ group_name: zod.z.string().describe("Name of the group (max 50 chars)").nullable()
15
+ }).passthrough();
16
16
  const simplekpiGetUserGroupItem = require_action.action("SIMPLEKPI_GET_USER_GROUP_ITEM", {
17
17
  slug: "simplekpi-get-user-group-item",
18
18
  name: "Get User Group Item",
@@ -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.ZodTypeAny = 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.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Group item identifier\"),\n name: z.string().describe(\"Name of the group item (max 100 chars)\"),\n user_id: z.number().int().describe(\"Identifier of the assigned user\"),\n group_id: z.number().int().describe(\"Identifier of the parent group\"),\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)\"),\n});\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,iCAA+CA,IAAAA,EAAE,OAAO;CACnE,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,kCAAgDA,IAAAA,EAAE,OAAO;CACpE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uBAAuB;CACrD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC;CAClE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC;CACpE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC;CACpE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;AACpE,CAAC;AAED,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 { 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,9 +1,22 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-user-group-item.d.ts
4
- declare const SimplekpiGetUserGroupItemInput: z.ZodTypeAny;
5
- declare const SimplekpiGetUserGroupItemOutput: z.ZodTypeAny;
6
- declare const simplekpiGetUserGroupItem: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SimplekpiGetUserGroupItemInput: z.ZodObject<{
5
+ id: z.ZodNumber;
6
+ user_id: z.ZodNumber;
7
+ }, z.core.$strip>;
8
+ declare const SimplekpiGetUserGroupItemOutput: z.ZodObject<{
9
+ id: z.ZodNullable<z.ZodNumber>;
10
+ name: z.ZodNullable<z.ZodString>;
11
+ user_id: z.ZodNullable<z.ZodNumber>;
12
+ group_id: z.ZodNullable<z.ZodNumber>;
13
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
+ group_name: z.ZodNullable<z.ZodString>;
15
+ }, 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]>, readonly [import("@keystrokehq/shared").Credential]>;
7
20
  //#endregion
8
21
  export { simplekpiGetUserGroupItem };
9
22
  //# sourceMappingURL=get-user-group-item.d.cts.map