@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
@@ -1 +1 @@
1
- {"version":3,"file":"create-group-item.mjs","names":[],"sources":["../../src/actions/create-group-item.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplekpiCreateGroupItemInput: z.ZodTypeAny = z.object({\n name: z.string().describe(\"The name of the group item (maximum 100 characters)\"),\n group_id: z.number().int().describe(\"The ID of the group to create the item in\"),\n sort_order: z.number().int().describe(\"The display order of the item within the group\"),\n});\nexport const SimplekpiCreateGroupItemOutput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Automatically assigned unique identifier for the group item\"),\n name: z.string().describe(\"The name of the group item\"),\n group_id: z.number().int().describe(\"The ID of the group this item belongs to\"),\n created_at: z.string().describe(\"The UTC date and time when the item was created (ISO 8601 format)\").nullable().optional(),\n sort_order: z.number().int().describe(\"The display order of the item within the group\"),\n updated_at: z.string().describe(\"The UTC date and time of the last update to the item (ISO 8601 format)\").nullable().optional(),\n});\n\nexport const simplekpiCreateGroupItem = action(\"SIMPLEKPI_CREATE_GROUP_ITEM\", {\n slug: \"simplekpi-create-group-item\",\n name: \"Create Group Item\",\n description: \"Tool to create a new item within a group in SimpleKPI. Use when you need to add a new item to an existing group for organizing KPIs or data.\",\n input: SimplekpiCreateGroupItemInput,\n output: SimplekpiCreateGroupItemOutput,\n});\n"],"mappings":";;AAkBA,MAAa,2BAA2B,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlByD,EAAE,OAAO;EAClE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD;EAC/E,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C;EAC/E,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD;CACxF,CAcS;CACP,QAd0D,EAAE,OAAO;EACnE,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6DAA6D;EAC3F,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;EACtD,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C;EAC9E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzH,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD;EACtF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChI,CAOU;AACV,CAAC"}
1
+ {"version":3,"file":"create-group-item.mjs","names":[],"sources":["../../src/actions/create-group-item.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplekpiCreateGroupItemInput = z.object({\n name: z.string().describe(\"The name of the group item (maximum 100 characters)\"),\n group_id: z.number().int().describe(\"The ID of the group to create the item in\"),\n sort_order: z.number().int().describe(\"The display order of the item within the group\"),\n});\nexport const SimplekpiCreateGroupItemOutput = z.object({\n id: z.number().int().describe(\"Automatically assigned unique identifier for the group item\").nullable(),\n name: z.string().describe(\"The name of the group item\").nullable(),\n group_id: z.number().int().describe(\"The ID of the group this item belongs to\").nullable(),\n created_at: z.string().describe(\"The UTC date and time when the item was created (ISO 8601 format)\").nullable().optional(),\n sort_order: z.number().int().describe(\"The display order of the item within the group\").nullable(),\n updated_at: z.string().describe(\"The UTC date and time of the last update to the item (ISO 8601 format)\").nullable().optional(),\n}).passthrough();\n\nexport const simplekpiCreateGroupItem = action(\"SIMPLEKPI_CREATE_GROUP_ITEM\", {\n slug: \"simplekpi-create-group-item\",\n name: \"Create Group Item\",\n description: \"Tool to create a new item within a group in SimpleKPI. Use when you need to add a new item to an existing group for organizing KPIs or data.\",\n input: SimplekpiCreateGroupItemInput,\n output: SimplekpiCreateGroupItemOutput,\n});\n"],"mappings":";;AAkBA,MAAa,2BAA2B,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlB2C,EAAE,OAAO;EACpD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD;EAC/E,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C;EAC/E,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD;CACxF,CAcS;CACP,QAd4C,EAAE,OAAO;EACrD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;EACtG,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;EACjE,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;EACzF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzH,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;EACjG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChI,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
@@ -6,12 +6,12 @@ const SimplekpiCreateGroupInput = zod.z.object({
6
6
  sort_order: zod.z.number().int().describe("Display order for the group. Lower values appear first in lists.")
7
7
  }).describe("Request parameters for creating a new group in SimpleKPI.");
8
8
  const SimplekpiCreateGroupOutput = zod.z.object({
9
- id: zod.z.number().int().describe("System-assigned unique identifier for the group"),
10
- name: zod.z.string().describe("Group name (max 50 characters)"),
9
+ id: zod.z.number().int().describe("System-assigned unique identifier for the group").nullable(),
10
+ name: zod.z.string().describe("Group name (max 50 characters)").nullable(),
11
11
  created_at: zod.z.string().describe("ISO 8601 timestamp when the group was created").nullable().optional(),
12
- sort_order: zod.z.number().int().describe("Display ordering value for the group"),
12
+ sort_order: zod.z.number().int().describe("Display ordering value for the group").nullable(),
13
13
  updated_at: zod.z.string().describe("ISO 8601 timestamp when the group was last modified").nullable().optional()
14
- }).describe("Response containing the newly created group details.");
14
+ }).passthrough().describe("Response containing the newly created group details.");
15
15
  const simplekpiCreateGroup = require_action.action("SIMPLEKPI_CREATE_GROUP", {
16
16
  slug: "simplekpi-create-group",
17
17
  name: "Create Group",
@@ -1 +1 @@
1
- {"version":3,"file":"create-group.cjs","names":["z","action"],"sources":["../../src/actions/create-group.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplekpiCreateGroupInput: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Group name. Must not exceed 50 characters.\"),\n sort_order: z.number().int().describe(\"Display order for the group. Lower values appear first in lists.\"),\n}).describe(\"Request parameters for creating a new group in SimpleKPI.\");\nexport const SimplekpiCreateGroupOutput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"System-assigned unique identifier for the group\"),\n name: z.string().describe(\"Group name (max 50 characters)\"),\n created_at: z.string().describe(\"ISO 8601 timestamp when the group was created\").nullable().optional(),\n sort_order: z.number().int().describe(\"Display ordering value for the group\"),\n updated_at: z.string().describe(\"ISO 8601 timestamp when the group was last modified\").nullable().optional(),\n}).describe(\"Response containing the newly created group details.\");\n\nexport const simplekpiCreateGroup = action(\"SIMPLEKPI_CREATE_GROUP\", {\n slug: \"simplekpi-create-group\",\n name: \"Create Group\",\n description: \"Tool to create a new group in SimpleKPI. Use when you need to organize KPIs or users into logical groups for better organization and reporting.\",\n input: SimplekpiCreateGroupInput,\n output: SimplekpiCreateGroupOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA0CA,IAAAA,EAAE,OAAO;CAC9D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;CACtE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kEAAkE;AAC1G,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAa,6BAA2CA,IAAAA,EAAE,OAAO;CAC/D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD;CAC/E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;CAC1D,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC;CAC5E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7G,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAElE,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"create-group.cjs","names":["z","action"],"sources":["../../src/actions/create-group.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplekpiCreateGroupInput = z.object({\n name: z.string().describe(\"Group name. Must not exceed 50 characters.\"),\n sort_order: z.number().int().describe(\"Display order for the group. Lower values appear first in lists.\"),\n}).describe(\"Request parameters for creating a new group in SimpleKPI.\");\nexport const SimplekpiCreateGroupOutput = z.object({\n id: z.number().int().describe(\"System-assigned unique identifier for the group\").nullable(),\n name: z.string().describe(\"Group name (max 50 characters)\").nullable(),\n created_at: z.string().describe(\"ISO 8601 timestamp when the group was created\").nullable().optional(),\n sort_order: z.number().int().describe(\"Display ordering value for the group\").nullable(),\n updated_at: z.string().describe(\"ISO 8601 timestamp when the group was last modified\").nullable().optional(),\n}).passthrough().describe(\"Response containing the newly created group details.\");\n\nexport const simplekpiCreateGroup = action(\"SIMPLEKPI_CREATE_GROUP\", {\n slug: \"simplekpi-create-group\",\n name: \"Create Group\",\n description: \"Tool to create a new group in SimpleKPI. Use when you need to organize KPIs or users into logical groups for better organization and reporting.\",\n input: SimplekpiCreateGroupInput,\n output: SimplekpiCreateGroupOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;CACtE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kEAAkE;AAC1G,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CAC1F,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACrE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CACvF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAAsD;AAEhF,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,21 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/create-group.d.ts
4
- declare const SimplekpiCreateGroupInput: z.ZodTypeAny;
5
- declare const SimplekpiCreateGroupOutput: z.ZodTypeAny;
6
- declare const simplekpiCreateGroup: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SimplekpiCreateGroupInput: z.ZodObject<{
5
+ name: z.ZodString;
6
+ sort_order: z.ZodNumber;
7
+ }, z.core.$strip>;
8
+ declare const SimplekpiCreateGroupOutput: z.ZodObject<{
9
+ id: z.ZodNullable<z.ZodNumber>;
10
+ name: z.ZodNullable<z.ZodString>;
11
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
+ sort_order: z.ZodNullable<z.ZodNumber>;
13
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
+ }, z.core.$loose>;
15
+ declare const simplekpiCreateGroup: import("@keystrokehq/action").WorkflowActionDefinition<{
16
+ name: string;
17
+ sort_order: number;
18
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
19
  //#endregion
8
20
  export { simplekpiCreateGroup };
9
21
  //# sourceMappingURL=create-group.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-group.d.cts","names":[],"sources":["../../src/actions/create-group.ts"],"mappings":";;;cAIa,yBAAA,EAA2B,CAAA,CAAE,UAG8B;AAAA,cAC3D,0BAAA,EAA4B,CAAA,CAAE,UAMwB;AAAA,cAEtD,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"create-group.d.cts","names":[],"sources":["../../src/actions/create-group.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;cAIzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;cAQ1B,oBAAA,gCAAoB,wBAAA"}
@@ -1,9 +1,21 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/create-group.d.ts
4
- declare const SimplekpiCreateGroupInput: z.ZodTypeAny;
5
- declare const SimplekpiCreateGroupOutput: z.ZodTypeAny;
6
- declare const simplekpiCreateGroup: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SimplekpiCreateGroupInput: z.ZodObject<{
5
+ name: z.ZodString;
6
+ sort_order: z.ZodNumber;
7
+ }, z.core.$strip>;
8
+ declare const SimplekpiCreateGroupOutput: z.ZodObject<{
9
+ id: z.ZodNullable<z.ZodNumber>;
10
+ name: z.ZodNullable<z.ZodString>;
11
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
+ sort_order: z.ZodNullable<z.ZodNumber>;
13
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
+ }, z.core.$loose>;
15
+ declare const simplekpiCreateGroup: import("@keystrokehq/action").WorkflowActionDefinition<{
16
+ name: string;
17
+ sort_order: number;
18
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
19
  //#endregion
8
20
  export { simplekpiCreateGroup };
9
21
  //# sourceMappingURL=create-group.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-group.d.mts","names":[],"sources":["../../src/actions/create-group.ts"],"mappings":";;;cAIa,yBAAA,EAA2B,CAAA,CAAE,UAG8B;AAAA,cAC3D,0BAAA,EAA4B,CAAA,CAAE,UAMwB;AAAA,cAEtD,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"create-group.d.mts","names":[],"sources":["../../src/actions/create-group.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;cAIzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;cAQ1B,oBAAA,gCAAoB,wBAAA"}
@@ -9,12 +9,12 @@ const simplekpiCreateGroup = action("SIMPLEKPI_CREATE_GROUP", {
9
9
  sort_order: z.number().int().describe("Display order for the group. Lower values appear first in lists.")
10
10
  }).describe("Request parameters for creating a new group in SimpleKPI."),
11
11
  output: z.object({
12
- id: z.number().int().describe("System-assigned unique identifier for the group"),
13
- name: z.string().describe("Group name (max 50 characters)"),
12
+ id: z.number().int().describe("System-assigned unique identifier for the group").nullable(),
13
+ name: z.string().describe("Group name (max 50 characters)").nullable(),
14
14
  created_at: z.string().describe("ISO 8601 timestamp when the group was created").nullable().optional(),
15
- sort_order: z.number().int().describe("Display ordering value for the group"),
15
+ sort_order: z.number().int().describe("Display ordering value for the group").nullable(),
16
16
  updated_at: z.string().describe("ISO 8601 timestamp when the group was last modified").nullable().optional()
17
- }).describe("Response containing the newly created group details.")
17
+ }).passthrough().describe("Response containing the newly created group details.")
18
18
  });
19
19
  //#endregion
20
20
  export { simplekpiCreateGroup };
@@ -1 +1 @@
1
- {"version":3,"file":"create-group.mjs","names":[],"sources":["../../src/actions/create-group.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplekpiCreateGroupInput: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Group name. Must not exceed 50 characters.\"),\n sort_order: z.number().int().describe(\"Display order for the group. Lower values appear first in lists.\"),\n}).describe(\"Request parameters for creating a new group in SimpleKPI.\");\nexport const SimplekpiCreateGroupOutput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"System-assigned unique identifier for the group\"),\n name: z.string().describe(\"Group name (max 50 characters)\"),\n created_at: z.string().describe(\"ISO 8601 timestamp when the group was created\").nullable().optional(),\n sort_order: z.number().int().describe(\"Display ordering value for the group\"),\n updated_at: z.string().describe(\"ISO 8601 timestamp when the group was last modified\").nullable().optional(),\n}).describe(\"Response containing the newly created group details.\");\n\nexport const simplekpiCreateGroup = action(\"SIMPLEKPI_CREATE_GROUP\", {\n slug: \"simplekpi-create-group\",\n name: \"Create Group\",\n description: \"Tool to create a new group in SimpleKPI. Use when you need to organize KPIs or users into logical groups for better organization and reporting.\",\n input: SimplekpiCreateGroupInput,\n output: SimplekpiCreateGroupOutput,\n});\n"],"mappings":";;AAgBA,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhBqD,EAAE,OAAO;EAC9D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;EACtE,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kEAAkE;CAC1G,CAAC,CAAC,CAAC,SAAS,2DAaH;CACP,QAbsD,EAAE,OAAO;EAC/D,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD;EAC/E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;EAC1D,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrG,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC;EAC5E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,CAAC,CAAC,CAAC,SAAS,sDAOF;AACV,CAAC"}
1
+ {"version":3,"file":"create-group.mjs","names":[],"sources":["../../src/actions/create-group.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplekpiCreateGroupInput = z.object({\n name: z.string().describe(\"Group name. Must not exceed 50 characters.\"),\n sort_order: z.number().int().describe(\"Display order for the group. Lower values appear first in lists.\"),\n}).describe(\"Request parameters for creating a new group in SimpleKPI.\");\nexport const SimplekpiCreateGroupOutput = z.object({\n id: z.number().int().describe(\"System-assigned unique identifier for the group\").nullable(),\n name: z.string().describe(\"Group name (max 50 characters)\").nullable(),\n created_at: z.string().describe(\"ISO 8601 timestamp when the group was created\").nullable().optional(),\n sort_order: z.number().int().describe(\"Display ordering value for the group\").nullable(),\n updated_at: z.string().describe(\"ISO 8601 timestamp when the group was last modified\").nullable().optional(),\n}).passthrough().describe(\"Response containing the newly created group details.\");\n\nexport const simplekpiCreateGroup = action(\"SIMPLEKPI_CREATE_GROUP\", {\n slug: \"simplekpi-create-group\",\n name: \"Create Group\",\n description: \"Tool to create a new group in SimpleKPI. Use when you need to organize KPIs or users into logical groups for better organization and reporting.\",\n input: SimplekpiCreateGroupInput,\n output: SimplekpiCreateGroupOutput,\n});\n"],"mappings":";;AAgBA,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhBuC,EAAE,OAAO;EAChD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;EACtE,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kEAAkE;CAC1G,CAAC,CAAC,CAAC,SAAS,2DAaH;CACP,QAbwC,EAAE,OAAO;EACjD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;EAC1F,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;EACrE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrG,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;EACvF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAOhB;AACV,CAAC"}
@@ -6,12 +6,12 @@ const SimplekpiCreateKpiCategoryInput = zod.z.object({
6
6
  sort_order: zod.z.number().int().describe("Display order for the category (integer value)")
7
7
  });
8
8
  const SimplekpiCreateKpiCategoryOutput = zod.z.object({
9
- id: zod.z.number().int().describe("Unique identifier of the created KPI category"),
10
- name: zod.z.string().describe("Name of the created KPI category"),
9
+ id: zod.z.number().int().describe("Unique identifier of the created KPI category").nullable(),
10
+ name: zod.z.string().describe("Name of the created KPI category").nullable(),
11
11
  created_at: zod.z.string().describe("UTC datetime when the category was created (ISO 8601 format)").nullable().optional(),
12
- sort_order: zod.z.number().int().describe("Display order of the created KPI category"),
12
+ sort_order: zod.z.number().int().describe("Display order of the created KPI category").nullable(),
13
13
  updated_at: zod.z.string().describe("UTC datetime when the category was last updated (ISO 8601 format)").nullable().optional()
14
- });
14
+ }).passthrough();
15
15
  const simplekpiCreateKpiCategory = require_action.action("SIMPLEKPI_CREATE_KPI_CATEGORY", {
16
16
  slug: "simplekpi-create-kpi-category",
17
17
  name: "Create KPI Category",
@@ -1 +1 @@
1
- {"version":3,"file":"create-kpi-category.cjs","names":["z","action"],"sources":["../../src/actions/create-kpi-category.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplekpiCreateKpiCategoryInput: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Category name (maximum 50 characters)\"),\n sort_order: z.number().int().describe(\"Display order for the category (integer value)\"),\n});\nexport const SimplekpiCreateKpiCategoryOutput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier of the created KPI category\"),\n name: z.string().describe(\"Name of the created KPI category\"),\n created_at: z.string().describe(\"UTC datetime when the category was created (ISO 8601 format)\").nullable().optional(),\n sort_order: z.number().int().describe(\"Display order of the created KPI category\"),\n updated_at: z.string().describe(\"UTC datetime when the category was last updated (ISO 8601 format)\").nullable().optional(),\n});\n\nexport const simplekpiCreateKpiCategory = action(\"SIMPLEKPI_CREATE_KPI_CATEGORY\", {\n slug: \"simplekpi-create-kpi-category\",\n name: \"Create KPI Category\",\n description: \"Tool to create a new KPI category in SimpleKPI. Use when you need to organize KPIs into logical groups or categories.\",\n input: SimplekpiCreateKpiCategoryInput,\n output: SimplekpiCreateKpiCategoryOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAgDA,IAAAA,EAAE,OAAO;CACpE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;CACjE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD;AACxF,CAAC;AACD,MAAa,mCAAiDA,IAAAA,EAAE,OAAO;CACrE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C;CAC7E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;CAC5D,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C;CACjF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3H,CAAC;AAED,MAAa,6BAA6BC,eAAAA,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"create-kpi-category.cjs","names":["z","action"],"sources":["../../src/actions/create-kpi-category.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplekpiCreateKpiCategoryInput = z.object({\n name: z.string().describe(\"Category name (maximum 50 characters)\"),\n sort_order: z.number().int().describe(\"Display order for the category (integer value)\"),\n});\nexport const SimplekpiCreateKpiCategoryOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the created KPI category\").nullable(),\n name: z.string().describe(\"Name of the created KPI category\").nullable(),\n created_at: z.string().describe(\"UTC datetime when the category was created (ISO 8601 format)\").nullable().optional(),\n sort_order: z.number().int().describe(\"Display order of the created KPI category\").nullable(),\n updated_at: z.string().describe(\"UTC datetime when the category was last updated (ISO 8601 format)\").nullable().optional(),\n}).passthrough();\n\nexport const simplekpiCreateKpiCategory = action(\"SIMPLEKPI_CREATE_KPI_CATEGORY\", {\n slug: \"simplekpi-create-kpi-category\",\n name: \"Create KPI Category\",\n description: \"Tool to create a new KPI category in SimpleKPI. Use when you need to organize KPIs into logical groups or categories.\",\n input: SimplekpiCreateKpiCategoryInput,\n output: SimplekpiCreateKpiCategoryOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;CACjE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD;AACxF,CAAC;AACD,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CACxF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACvE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CAC5F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3H,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,6BAA6BC,eAAAA,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,21 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/create-kpi-category.d.ts
4
- declare const SimplekpiCreateKpiCategoryInput: z.ZodTypeAny;
5
- declare const SimplekpiCreateKpiCategoryOutput: z.ZodTypeAny;
6
- declare const simplekpiCreateKpiCategory: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SimplekpiCreateKpiCategoryInput: z.ZodObject<{
5
+ name: z.ZodString;
6
+ sort_order: z.ZodNumber;
7
+ }, z.core.$strip>;
8
+ declare const SimplekpiCreateKpiCategoryOutput: z.ZodObject<{
9
+ id: z.ZodNullable<z.ZodNumber>;
10
+ name: z.ZodNullable<z.ZodString>;
11
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
+ sort_order: z.ZodNullable<z.ZodNumber>;
13
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
+ }, z.core.$loose>;
15
+ declare const simplekpiCreateKpiCategory: import("@keystrokehq/action").WorkflowActionDefinition<{
16
+ name: string;
17
+ sort_order: number;
18
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
19
  //#endregion
8
20
  export { simplekpiCreateKpiCategory };
9
21
  //# sourceMappingURL=create-kpi-category.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-kpi-category.d.cts","names":[],"sources":["../../src/actions/create-kpi-category.ts"],"mappings":";;;cAIa,+BAAA,EAAiC,CAAA,CAAE,UAG9C;AAAA,cACW,gCAAA,EAAkC,CAAA,CAAE,UAM/C;AAAA,cAEW,0BAAA,gCAA0B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"create-kpi-category.d.cts","names":[],"sources":["../../src/actions/create-kpi-category.ts"],"mappings":";;;cAIa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;cAI/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;cAQhC,0BAAA,gCAA0B,wBAAA"}
@@ -1,9 +1,21 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/create-kpi-category.d.ts
4
- declare const SimplekpiCreateKpiCategoryInput: z.ZodTypeAny;
5
- declare const SimplekpiCreateKpiCategoryOutput: z.ZodTypeAny;
6
- declare const simplekpiCreateKpiCategory: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SimplekpiCreateKpiCategoryInput: z.ZodObject<{
5
+ name: z.ZodString;
6
+ sort_order: z.ZodNumber;
7
+ }, z.core.$strip>;
8
+ declare const SimplekpiCreateKpiCategoryOutput: z.ZodObject<{
9
+ id: z.ZodNullable<z.ZodNumber>;
10
+ name: z.ZodNullable<z.ZodString>;
11
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
+ sort_order: z.ZodNullable<z.ZodNumber>;
13
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
+ }, z.core.$loose>;
15
+ declare const simplekpiCreateKpiCategory: import("@keystrokehq/action").WorkflowActionDefinition<{
16
+ name: string;
17
+ sort_order: number;
18
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
19
  //#endregion
8
20
  export { simplekpiCreateKpiCategory };
9
21
  //# sourceMappingURL=create-kpi-category.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-kpi-category.d.mts","names":[],"sources":["../../src/actions/create-kpi-category.ts"],"mappings":";;;cAIa,+BAAA,EAAiC,CAAA,CAAE,UAG9C;AAAA,cACW,gCAAA,EAAkC,CAAA,CAAE,UAM/C;AAAA,cAEW,0BAAA,gCAA0B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"create-kpi-category.d.mts","names":[],"sources":["../../src/actions/create-kpi-category.ts"],"mappings":";;;cAIa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;cAI/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;cAQhC,0BAAA,gCAA0B,wBAAA"}
@@ -9,12 +9,12 @@ const simplekpiCreateKpiCategory = action("SIMPLEKPI_CREATE_KPI_CATEGORY", {
9
9
  sort_order: z.number().int().describe("Display order for the category (integer value)")
10
10
  }),
11
11
  output: z.object({
12
- id: z.number().int().describe("Unique identifier of the created KPI category"),
13
- name: z.string().describe("Name of the created KPI category"),
12
+ id: z.number().int().describe("Unique identifier of the created KPI category").nullable(),
13
+ name: z.string().describe("Name of the created KPI category").nullable(),
14
14
  created_at: z.string().describe("UTC datetime when the category was created (ISO 8601 format)").nullable().optional(),
15
- sort_order: z.number().int().describe("Display order of the created KPI category"),
15
+ sort_order: z.number().int().describe("Display order of the created KPI category").nullable(),
16
16
  updated_at: z.string().describe("UTC datetime when the category was last updated (ISO 8601 format)").nullable().optional()
17
- })
17
+ }).passthrough()
18
18
  });
19
19
  //#endregion
20
20
  export { simplekpiCreateKpiCategory };
@@ -1 +1 @@
1
- {"version":3,"file":"create-kpi-category.mjs","names":[],"sources":["../../src/actions/create-kpi-category.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplekpiCreateKpiCategoryInput: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Category name (maximum 50 characters)\"),\n sort_order: z.number().int().describe(\"Display order for the category (integer value)\"),\n});\nexport const SimplekpiCreateKpiCategoryOutput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier of the created KPI category\"),\n name: z.string().describe(\"Name of the created KPI category\"),\n created_at: z.string().describe(\"UTC datetime when the category was created (ISO 8601 format)\").nullable().optional(),\n sort_order: z.number().int().describe(\"Display order of the created KPI category\"),\n updated_at: z.string().describe(\"UTC datetime when the category was last updated (ISO 8601 format)\").nullable().optional(),\n});\n\nexport const simplekpiCreateKpiCategory = action(\"SIMPLEKPI_CREATE_KPI_CATEGORY\", {\n slug: \"simplekpi-create-kpi-category\",\n name: \"Create KPI Category\",\n description: \"Tool to create a new KPI category in SimpleKPI. Use when you need to organize KPIs into logical groups or categories.\",\n input: SimplekpiCreateKpiCategoryInput,\n output: SimplekpiCreateKpiCategoryOutput,\n});\n"],"mappings":";;AAgBA,MAAa,6BAA6B,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhB2D,EAAE,OAAO;EACpE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;EACjE,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD;CACxF,CAaS;CACP,QAb4D,EAAE,OAAO;EACrE,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C;EAC7E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;EAC5D,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpH,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C;EACjF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3H,CAOU;AACV,CAAC"}
1
+ {"version":3,"file":"create-kpi-category.mjs","names":[],"sources":["../../src/actions/create-kpi-category.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplekpiCreateKpiCategoryInput = z.object({\n name: z.string().describe(\"Category name (maximum 50 characters)\"),\n sort_order: z.number().int().describe(\"Display order for the category (integer value)\"),\n});\nexport const SimplekpiCreateKpiCategoryOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the created KPI category\").nullable(),\n name: z.string().describe(\"Name of the created KPI category\").nullable(),\n created_at: z.string().describe(\"UTC datetime when the category was created (ISO 8601 format)\").nullable().optional(),\n sort_order: z.number().int().describe(\"Display order of the created KPI category\").nullable(),\n updated_at: z.string().describe(\"UTC datetime when the category was last updated (ISO 8601 format)\").nullable().optional(),\n}).passthrough();\n\nexport const simplekpiCreateKpiCategory = action(\"SIMPLEKPI_CREATE_KPI_CATEGORY\", {\n slug: \"simplekpi-create-kpi-category\",\n name: \"Create KPI Category\",\n description: \"Tool to create a new KPI category in SimpleKPI. Use when you need to organize KPIs into logical groups or categories.\",\n input: SimplekpiCreateKpiCategoryInput,\n output: SimplekpiCreateKpiCategoryOutput,\n});\n"],"mappings":";;AAgBA,MAAa,6BAA6B,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhB6C,EAAE,OAAO;EACtD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;EACjE,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD;CACxF,CAaS;CACP,QAb8C,EAAE,OAAO;EACvD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;EACxF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;EACvE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpH,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;EAC5F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3H,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
@@ -15,7 +15,7 @@ const SimplekpiCreateKpiUnitOutput = zod.z.object({
15
15
  entry_format: zod.z.string().describe("Entry format of the created KPI unit").nullable().optional(),
16
16
  is_percentage: zod.z.boolean().describe("Whether the unit is a percentage").nullable().optional(),
17
17
  display_format: zod.z.string().describe("Display format of the created KPI unit").nullable().optional()
18
- }).describe("Response model for created KPI unit.");
18
+ }).passthrough().describe("Response model for created KPI unit.");
19
19
  const simplekpiCreateKpiUnit = require_action.action("SIMPLEKPI_CREATE_KPI_UNIT", {
20
20
  slug: "simplekpi-create-kpi-unit",
21
21
  name: "Create KPI Unit",
@@ -1 +1 @@
1
- {"version":3,"file":"create-kpi-unit.cjs","names":["z","action"],"sources":["../../src/actions/create-kpi-unit.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplekpiCreateKpiUnitInput: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Unit name (maximum 25 characters)\"),\n entry_format: z.string().describe(\"Entry format for the unit (maximum 25 characters). Use '###' as placeholder for numeric values\"),\n is_percentage: z.boolean().describe(\"Whether the unit represents a percentage value\"),\n display_format: z.string().describe(\"Display format for the unit (maximum 25 characters). Use '###' as placeholder for numeric values\"),\n}).describe(\"Request model for creating a new KPI unit.\");\nexport const SimplekpiCreateKpiUnitOutput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier of the created KPI unit\").nullable().optional(),\n name: z.string().describe(\"Name of the created KPI unit\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the unit was created\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the unit was last updated\").nullable().optional(),\n entry_format: z.string().describe(\"Entry format of the created KPI unit\").nullable().optional(),\n is_percentage: z.boolean().describe(\"Whether the unit is a percentage\").nullable().optional(),\n display_format: z.string().describe(\"Display format of the created KPI unit\").nullable().optional(),\n}).describe(\"Response model for created KPI unit.\");\n\nexport const simplekpiCreateKpiUnit = action(\"SIMPLEKPI_CREATE_KPI_UNIT\", {\n slug: \"simplekpi-create-kpi-unit\",\n name: \"Create KPI Unit\",\n description: \"Tool to create a new KPI unit in SimpleKPI. Use when you need to define a measurement unit for KPI tracking.\",\n input: SimplekpiCreateKpiUnitInput,\n output: SimplekpiCreateKpiUnitOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA4CA,IAAAA,EAAE,OAAO;CAChE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;CAC7D,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gGAAgG;CAClI,eAAeA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,gDAAgD;CACpF,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kGAAkG;AACxI,CAAC,CAAC,CAAC,SAAS,4CAA4C;AACxD,MAAa,+BAA6CA,IAAAA,EAAE,OAAO;CACjE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,eAAeA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpG,CAAC,CAAC,CAAC,SAAS,sCAAsC;AAElD,MAAa,yBAAyBC,eAAAA,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"create-kpi-unit.cjs","names":["z","action"],"sources":["../../src/actions/create-kpi-unit.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplekpiCreateKpiUnitInput = z.object({\n name: z.string().describe(\"Unit name (maximum 25 characters)\"),\n entry_format: z.string().describe(\"Entry format for the unit (maximum 25 characters). Use '###' as placeholder for numeric values\"),\n is_percentage: z.boolean().describe(\"Whether the unit represents a percentage value\"),\n display_format: z.string().describe(\"Display format for the unit (maximum 25 characters). Use '###' as placeholder for numeric values\"),\n}).describe(\"Request model for creating a new KPI unit.\");\nexport const SimplekpiCreateKpiUnitOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the created KPI unit\").nullable().optional(),\n name: z.string().describe(\"Name of the created KPI unit\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the unit was created\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the unit was last updated\").nullable().optional(),\n entry_format: z.string().describe(\"Entry format of the created KPI unit\").nullable().optional(),\n is_percentage: z.boolean().describe(\"Whether the unit is a percentage\").nullable().optional(),\n display_format: z.string().describe(\"Display format of the created KPI unit\").nullable().optional(),\n}).passthrough().describe(\"Response model for created KPI unit.\");\n\nexport const simplekpiCreateKpiUnit = action(\"SIMPLEKPI_CREATE_KPI_UNIT\", {\n slug: \"simplekpi-create-kpi-unit\",\n name: \"Create KPI Unit\",\n description: \"Tool to create a new KPI unit in SimpleKPI. Use when you need to define a measurement unit for KPI tracking.\",\n input: SimplekpiCreateKpiUnitInput,\n output: SimplekpiCreateKpiUnitOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;CAC7D,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gGAAgG;CAClI,eAAeA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,gDAAgD;CACpF,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kGAAkG;AACxI,CAAC,CAAC,CAAC,SAAS,4CAA4C;AACxD,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,eAAeA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAAsC;AAEhE,MAAa,yBAAyBC,eAAAA,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,27 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/create-kpi-unit.d.ts
4
- declare const SimplekpiCreateKpiUnitInput: z.ZodTypeAny;
5
- declare const SimplekpiCreateKpiUnitOutput: z.ZodTypeAny;
6
- declare const simplekpiCreateKpiUnit: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SimplekpiCreateKpiUnitInput: z.ZodObject<{
5
+ name: z.ZodString;
6
+ entry_format: z.ZodString;
7
+ is_percentage: z.ZodBoolean;
8
+ display_format: z.ZodString;
9
+ }, z.core.$strip>;
10
+ declare const SimplekpiCreateKpiUnitOutput: z.ZodObject<{
11
+ id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
12
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
+ entry_format: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
+ is_percentage: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
17
+ display_format: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
+ }, z.core.$loose>;
19
+ declare const simplekpiCreateKpiUnit: import("@keystrokehq/action").WorkflowActionDefinition<{
20
+ name: string;
21
+ entry_format: string;
22
+ is_percentage: boolean;
23
+ display_format: string;
24
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
25
  //#endregion
8
26
  export { simplekpiCreateKpiUnit };
9
27
  //# sourceMappingURL=create-kpi-unit.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-kpi-unit.d.cts","names":[],"sources":["../../src/actions/create-kpi-unit.ts"],"mappings":";;;cAIa,2BAAA,EAA6B,CAAA,CAAE,UAKa;AAAA,cAC5C,4BAAA,EAA8B,CAAA,CAAE,UAQM;AAAA,cAEtC,sBAAA,gCAAsB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"create-kpi-unit.d.cts","names":[],"sources":["../../src/actions/create-kpi-unit.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;cAM3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;cAU5B,sBAAA,gCAAsB,wBAAA"}
@@ -1,9 +1,27 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/create-kpi-unit.d.ts
4
- declare const SimplekpiCreateKpiUnitInput: z.ZodTypeAny;
5
- declare const SimplekpiCreateKpiUnitOutput: z.ZodTypeAny;
6
- declare const simplekpiCreateKpiUnit: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SimplekpiCreateKpiUnitInput: z.ZodObject<{
5
+ name: z.ZodString;
6
+ entry_format: z.ZodString;
7
+ is_percentage: z.ZodBoolean;
8
+ display_format: z.ZodString;
9
+ }, z.core.$strip>;
10
+ declare const SimplekpiCreateKpiUnitOutput: z.ZodObject<{
11
+ id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
12
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
+ entry_format: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
+ is_percentage: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
17
+ display_format: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
+ }, z.core.$loose>;
19
+ declare const simplekpiCreateKpiUnit: import("@keystrokehq/action").WorkflowActionDefinition<{
20
+ name: string;
21
+ entry_format: string;
22
+ is_percentage: boolean;
23
+ display_format: string;
24
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
25
  //#endregion
8
26
  export { simplekpiCreateKpiUnit };
9
27
  //# sourceMappingURL=create-kpi-unit.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-kpi-unit.d.mts","names":[],"sources":["../../src/actions/create-kpi-unit.ts"],"mappings":";;;cAIa,2BAAA,EAA6B,CAAA,CAAE,UAKa;AAAA,cAC5C,4BAAA,EAA8B,CAAA,CAAE,UAQM;AAAA,cAEtC,sBAAA,gCAAsB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"create-kpi-unit.d.mts","names":[],"sources":["../../src/actions/create-kpi-unit.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;cAM3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;cAU5B,sBAAA,gCAAsB,wBAAA"}
@@ -18,7 +18,7 @@ const simplekpiCreateKpiUnit = action("SIMPLEKPI_CREATE_KPI_UNIT", {
18
18
  entry_format: z.string().describe("Entry format of the created KPI unit").nullable().optional(),
19
19
  is_percentage: z.boolean().describe("Whether the unit is a percentage").nullable().optional(),
20
20
  display_format: z.string().describe("Display format of the created KPI unit").nullable().optional()
21
- }).describe("Response model for created KPI unit.")
21
+ }).passthrough().describe("Response model for created KPI unit.")
22
22
  });
23
23
  //#endregion
24
24
  export { simplekpiCreateKpiUnit };
@@ -1 +1 @@
1
- {"version":3,"file":"create-kpi-unit.mjs","names":[],"sources":["../../src/actions/create-kpi-unit.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplekpiCreateKpiUnitInput: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Unit name (maximum 25 characters)\"),\n entry_format: z.string().describe(\"Entry format for the unit (maximum 25 characters). Use '###' as placeholder for numeric values\"),\n is_percentage: z.boolean().describe(\"Whether the unit represents a percentage value\"),\n display_format: z.string().describe(\"Display format for the unit (maximum 25 characters). Use '###' as placeholder for numeric values\"),\n}).describe(\"Request model for creating a new KPI unit.\");\nexport const SimplekpiCreateKpiUnitOutput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier of the created KPI unit\").nullable().optional(),\n name: z.string().describe(\"Name of the created KPI unit\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the unit was created\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the unit was last updated\").nullable().optional(),\n entry_format: z.string().describe(\"Entry format of the created KPI unit\").nullable().optional(),\n is_percentage: z.boolean().describe(\"Whether the unit is a percentage\").nullable().optional(),\n display_format: z.string().describe(\"Display format of the created KPI unit\").nullable().optional(),\n}).describe(\"Response model for created KPI unit.\");\n\nexport const simplekpiCreateKpiUnit = action(\"SIMPLEKPI_CREATE_KPI_UNIT\", {\n slug: \"simplekpi-create-kpi-unit\",\n name: \"Create KPI Unit\",\n description: \"Tool to create a new KPI unit in SimpleKPI. Use when you need to define a measurement unit for KPI tracking.\",\n input: SimplekpiCreateKpiUnitInput,\n output: SimplekpiCreateKpiUnitOutput,\n});\n"],"mappings":";;AAoBA,MAAa,yBAAyB,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OApBuD,EAAE,OAAO;EAChE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;EAC7D,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,gGAAgG;EAClI,eAAe,EAAE,QAAQ,CAAC,CAAC,SAAS,gDAAgD;EACpF,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,kGAAkG;CACxI,CAAC,CAAC,CAAC,SAAS,4CAeH;CACP,QAfwD,EAAE,OAAO;EACjE,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/F,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9F,eAAe,EAAE,QAAQ,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5F,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,CAAC,CAAC,CAAC,SAAS,sCAOF;AACV,CAAC"}
1
+ {"version":3,"file":"create-kpi-unit.mjs","names":[],"sources":["../../src/actions/create-kpi-unit.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplekpiCreateKpiUnitInput = z.object({\n name: z.string().describe(\"Unit name (maximum 25 characters)\"),\n entry_format: z.string().describe(\"Entry format for the unit (maximum 25 characters). Use '###' as placeholder for numeric values\"),\n is_percentage: z.boolean().describe(\"Whether the unit represents a percentage value\"),\n display_format: z.string().describe(\"Display format for the unit (maximum 25 characters). Use '###' as placeholder for numeric values\"),\n}).describe(\"Request model for creating a new KPI unit.\");\nexport const SimplekpiCreateKpiUnitOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the created KPI unit\").nullable().optional(),\n name: z.string().describe(\"Name of the created KPI unit\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the unit was created\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the unit was last updated\").nullable().optional(),\n entry_format: z.string().describe(\"Entry format of the created KPI unit\").nullable().optional(),\n is_percentage: z.boolean().describe(\"Whether the unit is a percentage\").nullable().optional(),\n display_format: z.string().describe(\"Display format of the created KPI unit\").nullable().optional(),\n}).passthrough().describe(\"Response model for created KPI unit.\");\n\nexport const simplekpiCreateKpiUnit = action(\"SIMPLEKPI_CREATE_KPI_UNIT\", {\n slug: \"simplekpi-create-kpi-unit\",\n name: \"Create KPI Unit\",\n description: \"Tool to create a new KPI unit in SimpleKPI. Use when you need to define a measurement unit for KPI tracking.\",\n input: SimplekpiCreateKpiUnitInput,\n output: SimplekpiCreateKpiUnitOutput,\n});\n"],"mappings":";;AAoBA,MAAa,yBAAyB,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OApByC,EAAE,OAAO;EAClD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;EAC7D,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,gGAAgG;EAClI,eAAe,EAAE,QAAQ,CAAC,CAAC,SAAS,gDAAgD;EACpF,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,kGAAkG;CACxI,CAAC,CAAC,CAAC,SAAS,4CAeH;CACP,QAf0C,EAAE,OAAO;EACnD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/F,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9F,eAAe,EAAE,QAAQ,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5F,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAOhB;AACV,CAAC"}
@@ -17,22 +17,22 @@ const SimplekpiCreateKpiInput = zod.z.object({
17
17
  aggregate_function: zod.z.enum(["AVG", "SUM"]).describe("Calculation method for aggregating KPI values: 'AVG' (average) or 'SUM' (sum).")
18
18
  }).describe("Request model for creating a new KPI.");
19
19
  const SimplekpiCreateKpiOutput = zod.z.object({
20
- id: zod.z.number().int().describe("Auto-generated KPI identifier."),
21
- name: zod.z.string().describe("KPI name."),
22
- icon_id: zod.z.number().int().describe("Icon ID."),
23
- unit_id: zod.z.number().int().describe("Unit of measure ID."),
24
- is_active: zod.z.boolean().describe("Active status."),
20
+ id: zod.z.number().int().describe("Auto-generated KPI identifier.").nullable(),
21
+ name: zod.z.string().describe("KPI name.").nullable(),
22
+ icon_id: zod.z.number().int().describe("Icon ID.").nullable(),
23
+ unit_id: zod.z.number().int().describe("Unit of measure ID.").nullable(),
24
+ is_active: zod.z.boolean().describe("Active status.").nullable(),
25
25
  created_at: zod.z.string().describe("UTC creation timestamp.").nullable().optional(),
26
- sort_order: zod.z.number().int().describe("Display order."),
26
+ sort_order: zod.z.number().int().describe("Display order.").nullable(),
27
27
  updated_at: zod.z.string().describe("UTC update timestamp.").nullable().optional(),
28
- category_id: zod.z.number().int().describe("Associated category ID."),
28
+ category_id: zod.z.number().int().describe("Associated category ID.").nullable(),
29
29
  description: zod.z.string().describe("KPI description.").nullable().optional(),
30
- frequency_id: zod.z.string().describe("Data entry frequency ID."),
30
+ frequency_id: zod.z.string().describe("Data entry frequency ID.").nullable(),
31
31
  is_calculated: zod.z.boolean().describe("Calculated KPI flag (read-only).").nullable().optional(),
32
32
  target_default: zod.z.number().describe("Default target value.").nullable().optional(),
33
- value_direction: zod.z.string().describe("Direction indicator (U/D/N)."),
34
- aggregate_function: zod.z.string().describe("Calculation method (AVG or SUM).")
35
- }).describe("Response model for created KPI.");
33
+ value_direction: zod.z.string().describe("Direction indicator (U/D/N).").nullable(),
34
+ aggregate_function: zod.z.string().describe("Calculation method (AVG or SUM).").nullable()
35
+ }).passthrough().describe("Response model for created KPI.");
36
36
  const simplekpiCreateKpi = require_action.action("SIMPLEKPI_CREATE_KPI", {
37
37
  slug: "simplekpi-create-kpi",
38
38
  name: "Create KPI",
@@ -1 +1 @@
1
- {"version":3,"file":"create-kpi.cjs","names":["z","action"],"sources":["../../src/actions/create-kpi.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplekpiCreateKpiInput: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Name of the KPI.\"),\n icon_id: z.number().int().describe(\"Icon ID for the KPI display.\"),\n unit_id: z.number().int().describe(\"Unit ID that defines the measurement unit for this KPI.\"),\n is_active: z.boolean().describe(\"Active status indicating whether the KPI is currently active.\"),\n sort_order: z.number().int().describe(\"Display order for sorting KPIs in the interface.\"),\n category_id: z.number().int().describe(\"KPI Category ID. Use GET /api/kpicategories to fetch available categories.\"),\n frequency_id: z.string().describe(\"Frequency ID that determines data entry frequency (e.g., 'M' for monthly, 'W' for weekly, 'D' for daily).\"),\n value_direction: z.enum([\"U\", \"D\", \"N\"]).describe(\"Direction indicator: 'U' (up is good), 'D' (down is good), or 'N' (neutral).\"),\n aggregate_function: z.enum([\"AVG\", \"SUM\"]).describe(\"Calculation method for aggregating KPI values: 'AVG' (average) or 'SUM' (sum).\"),\n}).describe(\"Request model for creating a new KPI.\");\nexport const SimplekpiCreateKpiOutput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Auto-generated KPI identifier.\"),\n name: z.string().describe(\"KPI name.\"),\n icon_id: z.number().int().describe(\"Icon ID.\"),\n unit_id: z.number().int().describe(\"Unit of measure ID.\"),\n is_active: z.boolean().describe(\"Active status.\"),\n created_at: z.string().describe(\"UTC creation timestamp.\").nullable().optional(),\n sort_order: z.number().int().describe(\"Display order.\"),\n updated_at: z.string().describe(\"UTC update timestamp.\").nullable().optional(),\n category_id: z.number().int().describe(\"Associated category ID.\"),\n description: z.string().describe(\"KPI description.\").nullable().optional(),\n frequency_id: z.string().describe(\"Data entry frequency ID.\"),\n is_calculated: z.boolean().describe(\"Calculated KPI flag (read-only).\").nullable().optional(),\n target_default: z.number().describe(\"Default target value.\").nullable().optional(),\n value_direction: z.string().describe(\"Direction indicator (U/D/N).\"),\n aggregate_function: z.string().describe(\"Calculation method (AVG or SUM).\"),\n}).describe(\"Response model for created KPI.\");\n\nexport const simplekpiCreateKpi = action(\"SIMPLEKPI_CREATE_KPI\", {\n slug: \"simplekpi-create-kpi\",\n name: \"Create KPI\",\n description: \"Tool to create a new KPI with specified configuration. Use when you need to add a new Key Performance Indicator to track metrics.\",\n input: SimplekpiCreateKpiInput,\n output: SimplekpiCreateKpiOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAAwCA,IAAAA,EAAE,OAAO;CAC5D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB;CAC5C,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B;CACjE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yDAAyD;CAC5F,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,+DAA+D;CAC/F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD;CACxF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4EAA4E;CACnH,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2GAA2G;CAC7I,iBAAiBA,IAAAA,EAAE,KAAK;EAAC;EAAK;EAAK;CAAG,CAAC,CAAC,CAAC,SAAS,8EAA8E;CAChI,oBAAoBA,IAAAA,EAAE,KAAK,CAAC,OAAO,KAAK,CAAC,CAAC,CAAC,SAAS,gFAAgF;AACtI,CAAC,CAAC,CAAC,SAAS,uCAAuC;AACnD,MAAa,2BAAyCA,IAAAA,EAAE,OAAO;CAC7D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC;CAC9D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,WAAW;CACrC,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,UAAU;CAC7C,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qBAAqB;CACxD,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,gBAAgB;CAChD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gBAAgB;CACtD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yBAAyB;CAChE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B;CAC5D,eAAeA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B;CACnE,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;AAC5E,CAAC,CAAC,CAAC,SAAS,iCAAiC;AAE7C,MAAa,qBAAqBC,eAAAA,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"create-kpi.cjs","names":["z","action"],"sources":["../../src/actions/create-kpi.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplekpiCreateKpiInput = z.object({\n name: z.string().describe(\"Name of the KPI.\"),\n icon_id: z.number().int().describe(\"Icon ID for the KPI display.\"),\n unit_id: z.number().int().describe(\"Unit ID that defines the measurement unit for this KPI.\"),\n is_active: z.boolean().describe(\"Active status indicating whether the KPI is currently active.\"),\n sort_order: z.number().int().describe(\"Display order for sorting KPIs in the interface.\"),\n category_id: z.number().int().describe(\"KPI Category ID. Use GET /api/kpicategories to fetch available categories.\"),\n frequency_id: z.string().describe(\"Frequency ID that determines data entry frequency (e.g., 'M' for monthly, 'W' for weekly, 'D' for daily).\"),\n value_direction: z.enum([\"U\", \"D\", \"N\"]).describe(\"Direction indicator: 'U' (up is good), 'D' (down is good), or 'N' (neutral).\"),\n aggregate_function: z.enum([\"AVG\", \"SUM\"]).describe(\"Calculation method for aggregating KPI values: 'AVG' (average) or 'SUM' (sum).\"),\n}).describe(\"Request model for creating a new KPI.\");\nexport const SimplekpiCreateKpiOutput = z.object({\n id: z.number().int().describe(\"Auto-generated KPI identifier.\").nullable(),\n name: z.string().describe(\"KPI name.\").nullable(),\n icon_id: z.number().int().describe(\"Icon ID.\").nullable(),\n unit_id: z.number().int().describe(\"Unit of measure ID.\").nullable(),\n is_active: z.boolean().describe(\"Active status.\").nullable(),\n created_at: z.string().describe(\"UTC creation timestamp.\").nullable().optional(),\n sort_order: z.number().int().describe(\"Display order.\").nullable(),\n updated_at: z.string().describe(\"UTC update timestamp.\").nullable().optional(),\n category_id: z.number().int().describe(\"Associated category ID.\").nullable(),\n description: z.string().describe(\"KPI description.\").nullable().optional(),\n frequency_id: z.string().describe(\"Data entry frequency ID.\").nullable(),\n is_calculated: z.boolean().describe(\"Calculated KPI flag (read-only).\").nullable().optional(),\n target_default: z.number().describe(\"Default target value.\").nullable().optional(),\n value_direction: z.string().describe(\"Direction indicator (U/D/N).\").nullable(),\n aggregate_function: z.string().describe(\"Calculation method (AVG or SUM).\").nullable(),\n}).passthrough().describe(\"Response model for created KPI.\");\n\nexport const simplekpiCreateKpi = action(\"SIMPLEKPI_CREATE_KPI\", {\n slug: \"simplekpi-create-kpi\",\n name: \"Create KPI\",\n description: \"Tool to create a new KPI with specified configuration. Use when you need to add a new Key Performance Indicator to track metrics.\",\n input: SimplekpiCreateKpiInput,\n output: SimplekpiCreateKpiOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB;CAC5C,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B;CACjE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yDAAyD;CAC5F,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,+DAA+D;CAC/F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD;CACxF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4EAA4E;CACnH,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2GAA2G;CAC7I,iBAAiBA,IAAAA,EAAE,KAAK;EAAC;EAAK;EAAK;CAAG,CAAC,CAAC,CAAC,SAAS,8EAA8E;CAChI,oBAAoBA,IAAAA,EAAE,KAAK,CAAC,OAAO,KAAK,CAAC,CAAC,CAAC,SAAS,gFAAgF;AACtI,CAAC,CAAC,CAAC,SAAS,uCAAuC;AACnD,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACzE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,WAAW,CAAC,CAAC,SAAS;CAChD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,UAAU,CAAC,CAAC,SAAS;CACxD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CACnE,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS;CAC3D,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS;CACjE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CAC3E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CACvE,eAAeA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CAC9E,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;AACvF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iCAAiC;AAE3D,MAAa,qBAAqBC,eAAAA,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,52 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/create-kpi.d.ts
4
- declare const SimplekpiCreateKpiInput: z.ZodTypeAny;
5
- declare const SimplekpiCreateKpiOutput: z.ZodTypeAny;
6
- declare const simplekpiCreateKpi: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SimplekpiCreateKpiInput: z.ZodObject<{
5
+ name: z.ZodString;
6
+ icon_id: z.ZodNumber;
7
+ unit_id: z.ZodNumber;
8
+ is_active: z.ZodBoolean;
9
+ sort_order: z.ZodNumber;
10
+ category_id: z.ZodNumber;
11
+ frequency_id: z.ZodString;
12
+ value_direction: z.ZodEnum<{
13
+ U: "U";
14
+ D: "D";
15
+ N: "N";
16
+ }>;
17
+ aggregate_function: z.ZodEnum<{
18
+ AVG: "AVG";
19
+ SUM: "SUM";
20
+ }>;
21
+ }, z.core.$strip>;
22
+ declare const SimplekpiCreateKpiOutput: z.ZodObject<{
23
+ id: z.ZodNullable<z.ZodNumber>;
24
+ name: z.ZodNullable<z.ZodString>;
25
+ icon_id: z.ZodNullable<z.ZodNumber>;
26
+ unit_id: z.ZodNullable<z.ZodNumber>;
27
+ is_active: z.ZodNullable<z.ZodBoolean>;
28
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29
+ sort_order: z.ZodNullable<z.ZodNumber>;
30
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31
+ category_id: z.ZodNullable<z.ZodNumber>;
32
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33
+ frequency_id: z.ZodNullable<z.ZodString>;
34
+ is_calculated: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
35
+ target_default: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
36
+ value_direction: z.ZodNullable<z.ZodString>;
37
+ aggregate_function: z.ZodNullable<z.ZodString>;
38
+ }, z.core.$loose>;
39
+ declare const simplekpiCreateKpi: import("@keystrokehq/action").WorkflowActionDefinition<{
40
+ name: string;
41
+ icon_id: number;
42
+ unit_id: number;
43
+ is_active: boolean;
44
+ sort_order: number;
45
+ category_id: number;
46
+ frequency_id: string;
47
+ value_direction: "U" | "D" | "N";
48
+ aggregate_function: "AVG" | "SUM";
49
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
50
  //#endregion
8
51
  export { simplekpiCreateKpi };
9
52
  //# sourceMappingURL=create-kpi.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-kpi.d.cts","names":[],"sources":["../../src/actions/create-kpi.ts"],"mappings":";;;cAIa,uBAAA,EAAyB,CAAA,CAAE,UAUY;AAAA,cACvC,wBAAA,EAA0B,CAAA,CAAE,UAgBK;AAAA,cAEjC,kBAAA,gCAAkB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"create-kpi.d.cts","names":[],"sources":["../../src/actions/create-kpi.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAWvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;cAkBxB,kBAAA,gCAAkB,wBAAA"}
@@ -1,9 +1,52 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/create-kpi.d.ts
4
- declare const SimplekpiCreateKpiInput: z.ZodTypeAny;
5
- declare const SimplekpiCreateKpiOutput: z.ZodTypeAny;
6
- declare const simplekpiCreateKpi: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SimplekpiCreateKpiInput: z.ZodObject<{
5
+ name: z.ZodString;
6
+ icon_id: z.ZodNumber;
7
+ unit_id: z.ZodNumber;
8
+ is_active: z.ZodBoolean;
9
+ sort_order: z.ZodNumber;
10
+ category_id: z.ZodNumber;
11
+ frequency_id: z.ZodString;
12
+ value_direction: z.ZodEnum<{
13
+ U: "U";
14
+ D: "D";
15
+ N: "N";
16
+ }>;
17
+ aggregate_function: z.ZodEnum<{
18
+ AVG: "AVG";
19
+ SUM: "SUM";
20
+ }>;
21
+ }, z.core.$strip>;
22
+ declare const SimplekpiCreateKpiOutput: z.ZodObject<{
23
+ id: z.ZodNullable<z.ZodNumber>;
24
+ name: z.ZodNullable<z.ZodString>;
25
+ icon_id: z.ZodNullable<z.ZodNumber>;
26
+ unit_id: z.ZodNullable<z.ZodNumber>;
27
+ is_active: z.ZodNullable<z.ZodBoolean>;
28
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29
+ sort_order: z.ZodNullable<z.ZodNumber>;
30
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31
+ category_id: z.ZodNullable<z.ZodNumber>;
32
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33
+ frequency_id: z.ZodNullable<z.ZodString>;
34
+ is_calculated: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
35
+ target_default: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
36
+ value_direction: z.ZodNullable<z.ZodString>;
37
+ aggregate_function: z.ZodNullable<z.ZodString>;
38
+ }, z.core.$loose>;
39
+ declare const simplekpiCreateKpi: import("@keystrokehq/action").WorkflowActionDefinition<{
40
+ name: string;
41
+ icon_id: number;
42
+ unit_id: number;
43
+ is_active: boolean;
44
+ sort_order: number;
45
+ category_id: number;
46
+ frequency_id: string;
47
+ value_direction: "U" | "D" | "N";
48
+ aggregate_function: "AVG" | "SUM";
49
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
50
  //#endregion
8
51
  export { simplekpiCreateKpi };
9
52
  //# sourceMappingURL=create-kpi.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-kpi.d.mts","names":[],"sources":["../../src/actions/create-kpi.ts"],"mappings":";;;cAIa,uBAAA,EAAyB,CAAA,CAAE,UAUY;AAAA,cACvC,wBAAA,EAA0B,CAAA,CAAE,UAgBK;AAAA,cAEjC,kBAAA,gCAAkB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"create-kpi.d.mts","names":[],"sources":["../../src/actions/create-kpi.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAWvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;cAkBxB,kBAAA,gCAAkB,wBAAA"}