@keystrokehq/simplekpi 0.1.5 → 0.1.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (421) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/add-user-group-item.cjs +1 -0
  4. package/dist/actions/add-user-group-item.cjs.map +1 -1
  5. package/dist/actions/add-user-group-item.d.cts +3 -24
  6. package/dist/actions/add-user-group-item.d.cts.map +1 -1
  7. package/dist/actions/add-user-group-item.d.mts +3 -24
  8. package/dist/actions/add-user-group-item.d.mts.map +1 -1
  9. package/dist/actions/add-user-group-item.mjs +1 -0
  10. package/dist/actions/add-user-group-item.mjs.map +1 -1
  11. package/dist/actions/add-user-kpi.cjs +1 -0
  12. package/dist/actions/add-user-kpi.cjs.map +1 -1
  13. package/dist/actions/add-user-kpi.d.cts +3 -26
  14. package/dist/actions/add-user-kpi.d.cts.map +1 -1
  15. package/dist/actions/add-user-kpi.d.mts +3 -26
  16. package/dist/actions/add-user-kpi.d.mts.map +1 -1
  17. package/dist/actions/add-user-kpi.mjs +1 -0
  18. package/dist/actions/add-user-kpi.mjs.map +1 -1
  19. package/dist/actions/create-category-kpi.cjs +1 -0
  20. package/dist/actions/create-category-kpi.cjs.map +1 -1
  21. package/dist/actions/create-category-kpi.d.cts +3 -31
  22. package/dist/actions/create-category-kpi.d.cts.map +1 -1
  23. package/dist/actions/create-category-kpi.d.mts +3 -31
  24. package/dist/actions/create-category-kpi.d.mts.map +1 -1
  25. package/dist/actions/create-category-kpi.mjs +1 -0
  26. package/dist/actions/create-category-kpi.mjs.map +1 -1
  27. package/dist/actions/create-group-item.cjs +1 -0
  28. package/dist/actions/create-group-item.cjs.map +1 -1
  29. package/dist/actions/create-group-item.d.cts +3 -25
  30. package/dist/actions/create-group-item.d.cts.map +1 -1
  31. package/dist/actions/create-group-item.d.mts +3 -25
  32. package/dist/actions/create-group-item.d.mts.map +1 -1
  33. package/dist/actions/create-group-item.mjs +1 -0
  34. package/dist/actions/create-group-item.mjs.map +1 -1
  35. package/dist/actions/create-group.cjs +1 -0
  36. package/dist/actions/create-group.cjs.map +1 -1
  37. package/dist/actions/create-group.d.cts +3 -24
  38. package/dist/actions/create-group.d.cts.map +1 -1
  39. package/dist/actions/create-group.d.mts +3 -24
  40. package/dist/actions/create-group.d.mts.map +1 -1
  41. package/dist/actions/create-group.mjs +1 -0
  42. package/dist/actions/create-group.mjs.map +1 -1
  43. package/dist/actions/create-kpi-category.cjs +1 -0
  44. package/dist/actions/create-kpi-category.cjs.map +1 -1
  45. package/dist/actions/create-kpi-category.d.cts +3 -24
  46. package/dist/actions/create-kpi-category.d.cts.map +1 -1
  47. package/dist/actions/create-kpi-category.d.mts +3 -24
  48. package/dist/actions/create-kpi-category.d.mts.map +1 -1
  49. package/dist/actions/create-kpi-category.mjs +1 -0
  50. package/dist/actions/create-kpi-category.mjs.map +1 -1
  51. package/dist/actions/create-kpi-unit.cjs +1 -0
  52. package/dist/actions/create-kpi-unit.cjs.map +1 -1
  53. package/dist/actions/create-kpi-unit.d.cts +3 -26
  54. package/dist/actions/create-kpi-unit.d.cts.map +1 -1
  55. package/dist/actions/create-kpi-unit.d.mts +3 -26
  56. package/dist/actions/create-kpi-unit.d.mts.map +1 -1
  57. package/dist/actions/create-kpi-unit.mjs +1 -0
  58. package/dist/actions/create-kpi-unit.mjs.map +1 -1
  59. package/dist/actions/create-kpi.cjs +1 -0
  60. package/dist/actions/create-kpi.cjs.map +1 -1
  61. package/dist/actions/create-kpi.d.cts +3 -31
  62. package/dist/actions/create-kpi.d.cts.map +1 -1
  63. package/dist/actions/create-kpi.d.mts +3 -31
  64. package/dist/actions/create-kpi.d.mts.map +1 -1
  65. package/dist/actions/create-kpi.mjs +1 -0
  66. package/dist/actions/create-kpi.mjs.map +1 -1
  67. package/dist/actions/create-or-update-kpi-entries.cjs +1 -0
  68. package/dist/actions/create-or-update-kpi-entries.cjs.map +1 -1
  69. package/dist/actions/create-or-update-kpi-entries.d.cts +3 -39
  70. package/dist/actions/create-or-update-kpi-entries.d.cts.map +1 -1
  71. package/dist/actions/create-or-update-kpi-entries.d.mts +3 -39
  72. package/dist/actions/create-or-update-kpi-entries.d.mts.map +1 -1
  73. package/dist/actions/create-or-update-kpi-entries.mjs +1 -0
  74. package/dist/actions/create-or-update-kpi-entries.mjs.map +1 -1
  75. package/dist/actions/create-user.cjs +1 -0
  76. package/dist/actions/create-user.cjs.map +1 -1
  77. package/dist/actions/create-user.d.cts +3 -30
  78. package/dist/actions/create-user.d.cts.map +1 -1
  79. package/dist/actions/create-user.d.mts +3 -30
  80. package/dist/actions/create-user.d.mts.map +1 -1
  81. package/dist/actions/create-user.mjs +1 -0
  82. package/dist/actions/create-user.mjs.map +1 -1
  83. package/dist/actions/delete-category-kpi.cjs +1 -0
  84. package/dist/actions/delete-category-kpi.cjs.map +1 -1
  85. package/dist/actions/delete-category-kpi.d.cts +3 -24
  86. package/dist/actions/delete-category-kpi.d.cts.map +1 -1
  87. package/dist/actions/delete-category-kpi.d.mts +3 -24
  88. package/dist/actions/delete-category-kpi.d.mts.map +1 -1
  89. package/dist/actions/delete-category-kpi.mjs +1 -0
  90. package/dist/actions/delete-category-kpi.mjs.map +1 -1
  91. package/dist/actions/delete-group-item.cjs +1 -0
  92. package/dist/actions/delete-group-item.cjs.map +1 -1
  93. package/dist/actions/delete-group-item.d.cts +3 -24
  94. package/dist/actions/delete-group-item.d.cts.map +1 -1
  95. package/dist/actions/delete-group-item.d.mts +3 -24
  96. package/dist/actions/delete-group-item.d.mts.map +1 -1
  97. package/dist/actions/delete-group-item.mjs +1 -0
  98. package/dist/actions/delete-group-item.mjs.map +1 -1
  99. package/dist/actions/delete-group.cjs +1 -0
  100. package/dist/actions/delete-group.cjs.map +1 -1
  101. package/dist/actions/delete-group.d.cts +3 -23
  102. package/dist/actions/delete-group.d.cts.map +1 -1
  103. package/dist/actions/delete-group.d.mts +3 -23
  104. package/dist/actions/delete-group.d.mts.map +1 -1
  105. package/dist/actions/delete-group.mjs +1 -0
  106. package/dist/actions/delete-group.mjs.map +1 -1
  107. package/dist/actions/delete-kpi-category.cjs +1 -0
  108. package/dist/actions/delete-kpi-category.cjs.map +1 -1
  109. package/dist/actions/delete-kpi-category.d.cts +3 -23
  110. package/dist/actions/delete-kpi-category.d.cts.map +1 -1
  111. package/dist/actions/delete-kpi-category.d.mts +3 -23
  112. package/dist/actions/delete-kpi-category.d.mts.map +1 -1
  113. package/dist/actions/delete-kpi-category.mjs +1 -0
  114. package/dist/actions/delete-kpi-category.mjs.map +1 -1
  115. package/dist/actions/delete-kpi-entry.cjs +1 -0
  116. package/dist/actions/delete-kpi-entry.cjs.map +1 -1
  117. package/dist/actions/delete-kpi-entry.d.cts +3 -23
  118. package/dist/actions/delete-kpi-entry.d.cts.map +1 -1
  119. package/dist/actions/delete-kpi-entry.d.mts +3 -23
  120. package/dist/actions/delete-kpi-entry.d.mts.map +1 -1
  121. package/dist/actions/delete-kpi-entry.mjs +1 -0
  122. package/dist/actions/delete-kpi-entry.mjs.map +1 -1
  123. package/dist/actions/delete-kpi-unit.cjs +1 -0
  124. package/dist/actions/delete-kpi-unit.cjs.map +1 -1
  125. package/dist/actions/delete-kpi-unit.d.cts +3 -23
  126. package/dist/actions/delete-kpi-unit.d.cts.map +1 -1
  127. package/dist/actions/delete-kpi-unit.d.mts +3 -23
  128. package/dist/actions/delete-kpi-unit.d.mts.map +1 -1
  129. package/dist/actions/delete-kpi-unit.mjs +1 -0
  130. package/dist/actions/delete-kpi-unit.mjs.map +1 -1
  131. package/dist/actions/delete-kpi.cjs +1 -0
  132. package/dist/actions/delete-kpi.cjs.map +1 -1
  133. package/dist/actions/delete-kpi.d.cts +3 -23
  134. package/dist/actions/delete-kpi.d.cts.map +1 -1
  135. package/dist/actions/delete-kpi.d.mts +3 -23
  136. package/dist/actions/delete-kpi.d.mts.map +1 -1
  137. package/dist/actions/delete-kpi.mjs +1 -0
  138. package/dist/actions/delete-kpi.mjs.map +1 -1
  139. package/dist/actions/delete-user-group-item.cjs +1 -0
  140. package/dist/actions/delete-user-group-item.cjs.map +1 -1
  141. package/dist/actions/delete-user-group-item.d.cts +3 -24
  142. package/dist/actions/delete-user-group-item.d.cts.map +1 -1
  143. package/dist/actions/delete-user-group-item.d.mts +3 -24
  144. package/dist/actions/delete-user-group-item.d.mts.map +1 -1
  145. package/dist/actions/delete-user-group-item.mjs +1 -0
  146. package/dist/actions/delete-user-group-item.mjs.map +1 -1
  147. package/dist/actions/delete-user-kpi.cjs +1 -0
  148. package/dist/actions/delete-user-kpi.cjs.map +1 -1
  149. package/dist/actions/delete-user-kpi.d.cts +3 -24
  150. package/dist/actions/delete-user-kpi.d.cts.map +1 -1
  151. package/dist/actions/delete-user-kpi.d.mts +3 -24
  152. package/dist/actions/delete-user-kpi.d.mts.map +1 -1
  153. package/dist/actions/delete-user-kpi.mjs +1 -0
  154. package/dist/actions/delete-user-kpi.mjs.map +1 -1
  155. package/dist/actions/delete-user.cjs +1 -0
  156. package/dist/actions/delete-user.cjs.map +1 -1
  157. package/dist/actions/delete-user.d.cts +3 -23
  158. package/dist/actions/delete-user.d.cts.map +1 -1
  159. package/dist/actions/delete-user.d.mts +3 -23
  160. package/dist/actions/delete-user.d.mts.map +1 -1
  161. package/dist/actions/delete-user.mjs +1 -0
  162. package/dist/actions/delete-user.mjs.map +1 -1
  163. package/dist/actions/get-all-data-entries.cjs +1 -0
  164. package/dist/actions/get-all-data-entries.cjs.map +1 -1
  165. package/dist/actions/get-all-data-entries.d.cts +3 -27
  166. package/dist/actions/get-all-data-entries.d.cts.map +1 -1
  167. package/dist/actions/get-all-data-entries.d.mts +3 -27
  168. package/dist/actions/get-all-data-entries.d.mts.map +1 -1
  169. package/dist/actions/get-all-data-entries.mjs +1 -0
  170. package/dist/actions/get-all-data-entries.mjs.map +1 -1
  171. package/dist/actions/get-category-kpi.cjs +1 -0
  172. package/dist/actions/get-category-kpi.cjs.map +1 -1
  173. package/dist/actions/get-category-kpi.d.cts +3 -24
  174. package/dist/actions/get-category-kpi.d.cts.map +1 -1
  175. package/dist/actions/get-category-kpi.d.mts +3 -24
  176. package/dist/actions/get-category-kpi.d.mts.map +1 -1
  177. package/dist/actions/get-category-kpi.mjs +1 -0
  178. package/dist/actions/get-category-kpi.mjs.map +1 -1
  179. package/dist/actions/get-group-item.cjs +1 -0
  180. package/dist/actions/get-group-item.cjs.map +1 -1
  181. package/dist/actions/get-group-item.d.cts +3 -24
  182. package/dist/actions/get-group-item.d.cts.map +1 -1
  183. package/dist/actions/get-group-item.d.mts +3 -24
  184. package/dist/actions/get-group-item.d.mts.map +1 -1
  185. package/dist/actions/get-group-item.mjs +1 -0
  186. package/dist/actions/get-group-item.mjs.map +1 -1
  187. package/dist/actions/get-group.cjs +1 -0
  188. package/dist/actions/get-group.cjs.map +1 -1
  189. package/dist/actions/get-group.d.cts +3 -23
  190. package/dist/actions/get-group.d.cts.map +1 -1
  191. package/dist/actions/get-group.d.mts +3 -23
  192. package/dist/actions/get-group.d.mts.map +1 -1
  193. package/dist/actions/get-group.mjs +1 -0
  194. package/dist/actions/get-group.mjs.map +1 -1
  195. package/dist/actions/get-kpi-category.cjs +1 -0
  196. package/dist/actions/get-kpi-category.cjs.map +1 -1
  197. package/dist/actions/get-kpi-category.d.cts +3 -23
  198. package/dist/actions/get-kpi-category.d.cts.map +1 -1
  199. package/dist/actions/get-kpi-category.d.mts +3 -23
  200. package/dist/actions/get-kpi-category.d.mts.map +1 -1
  201. package/dist/actions/get-kpi-category.mjs +1 -0
  202. package/dist/actions/get-kpi-category.mjs.map +1 -1
  203. package/dist/actions/get-kpi-entry.cjs +1 -0
  204. package/dist/actions/get-kpi-entry.cjs.map +1 -1
  205. package/dist/actions/get-kpi-entry.d.cts +3 -23
  206. package/dist/actions/get-kpi-entry.d.cts.map +1 -1
  207. package/dist/actions/get-kpi-entry.d.mts +3 -23
  208. package/dist/actions/get-kpi-entry.d.mts.map +1 -1
  209. package/dist/actions/get-kpi-entry.mjs +1 -0
  210. package/dist/actions/get-kpi-entry.mjs.map +1 -1
  211. package/dist/actions/get-kpi-frequency.cjs +1 -0
  212. package/dist/actions/get-kpi-frequency.cjs.map +1 -1
  213. package/dist/actions/get-kpi-frequency.d.cts +3 -23
  214. package/dist/actions/get-kpi-frequency.d.cts.map +1 -1
  215. package/dist/actions/get-kpi-frequency.d.mts +3 -23
  216. package/dist/actions/get-kpi-frequency.d.mts.map +1 -1
  217. package/dist/actions/get-kpi-frequency.mjs +1 -0
  218. package/dist/actions/get-kpi-frequency.mjs.map +1 -1
  219. package/dist/actions/get-kpi-icon.cjs +1 -0
  220. package/dist/actions/get-kpi-icon.cjs.map +1 -1
  221. package/dist/actions/get-kpi-icon.d.cts +3 -23
  222. package/dist/actions/get-kpi-icon.d.cts.map +1 -1
  223. package/dist/actions/get-kpi-icon.d.mts +3 -23
  224. package/dist/actions/get-kpi-icon.d.mts.map +1 -1
  225. package/dist/actions/get-kpi-icon.mjs +1 -0
  226. package/dist/actions/get-kpi-icon.mjs.map +1 -1
  227. package/dist/actions/get-kpi-unit.cjs +1 -0
  228. package/dist/actions/get-kpi-unit.cjs.map +1 -1
  229. package/dist/actions/get-kpi-unit.d.cts +3 -23
  230. package/dist/actions/get-kpi-unit.d.cts.map +1 -1
  231. package/dist/actions/get-kpi-unit.d.mts +3 -23
  232. package/dist/actions/get-kpi-unit.d.mts.map +1 -1
  233. package/dist/actions/get-kpi-unit.mjs +1 -0
  234. package/dist/actions/get-kpi-unit.mjs.map +1 -1
  235. package/dist/actions/get-kpi.cjs +1 -0
  236. package/dist/actions/get-kpi.cjs.map +1 -1
  237. package/dist/actions/get-kpi.d.cts +3 -23
  238. package/dist/actions/get-kpi.d.cts.map +1 -1
  239. package/dist/actions/get-kpi.d.mts +3 -23
  240. package/dist/actions/get-kpi.d.mts.map +1 -1
  241. package/dist/actions/get-kpi.mjs +1 -0
  242. package/dist/actions/get-kpi.mjs.map +1 -1
  243. package/dist/actions/get-user-group-item.cjs +1 -0
  244. package/dist/actions/get-user-group-item.cjs.map +1 -1
  245. package/dist/actions/get-user-group-item.d.cts +3 -24
  246. package/dist/actions/get-user-group-item.d.cts.map +1 -1
  247. package/dist/actions/get-user-group-item.d.mts +3 -24
  248. package/dist/actions/get-user-group-item.d.mts.map +1 -1
  249. package/dist/actions/get-user-group-item.mjs +1 -0
  250. package/dist/actions/get-user-group-item.mjs.map +1 -1
  251. package/dist/actions/get-user-kpi.cjs +1 -0
  252. package/dist/actions/get-user-kpi.cjs.map +1 -1
  253. package/dist/actions/get-user-kpi.d.cts +3 -24
  254. package/dist/actions/get-user-kpi.d.cts.map +1 -1
  255. package/dist/actions/get-user-kpi.d.mts +3 -24
  256. package/dist/actions/get-user-kpi.d.mts.map +1 -1
  257. package/dist/actions/get-user-kpi.mjs +1 -0
  258. package/dist/actions/get-user-kpi.mjs.map +1 -1
  259. package/dist/actions/get-user.cjs +1 -0
  260. package/dist/actions/get-user.cjs.map +1 -1
  261. package/dist/actions/get-user.d.cts +3 -23
  262. package/dist/actions/get-user.d.cts.map +1 -1
  263. package/dist/actions/get-user.d.mts +3 -23
  264. package/dist/actions/get-user.d.mts.map +1 -1
  265. package/dist/actions/get-user.mjs +1 -0
  266. package/dist/actions/get-user.mjs.map +1 -1
  267. package/dist/actions/list-category-kpis.cjs +1 -0
  268. package/dist/actions/list-category-kpis.cjs.map +1 -1
  269. package/dist/actions/list-category-kpis.d.cts +3 -23
  270. package/dist/actions/list-category-kpis.d.cts.map +1 -1
  271. package/dist/actions/list-category-kpis.d.mts +3 -23
  272. package/dist/actions/list-category-kpis.d.mts.map +1 -1
  273. package/dist/actions/list-category-kpis.mjs +1 -0
  274. package/dist/actions/list-category-kpis.mjs.map +1 -1
  275. package/dist/actions/list-group-items.cjs +1 -0
  276. package/dist/actions/list-group-items.cjs.map +1 -1
  277. package/dist/actions/list-group-items.d.cts +3 -23
  278. package/dist/actions/list-group-items.d.cts.map +1 -1
  279. package/dist/actions/list-group-items.d.mts +3 -23
  280. package/dist/actions/list-group-items.d.mts.map +1 -1
  281. package/dist/actions/list-group-items.mjs +1 -0
  282. package/dist/actions/list-group-items.mjs.map +1 -1
  283. package/dist/actions/list-groups.cjs +1 -0
  284. package/dist/actions/list-groups.cjs.map +1 -1
  285. package/dist/actions/list-groups.d.cts +3 -21
  286. package/dist/actions/list-groups.d.cts.map +1 -1
  287. package/dist/actions/list-groups.d.mts +3 -21
  288. package/dist/actions/list-groups.d.mts.map +1 -1
  289. package/dist/actions/list-groups.mjs +1 -0
  290. package/dist/actions/list-groups.mjs.map +1 -1
  291. package/dist/actions/list-kpi-categories.cjs +1 -0
  292. package/dist/actions/list-kpi-categories.cjs.map +1 -1
  293. package/dist/actions/list-kpi-categories.d.cts +3 -21
  294. package/dist/actions/list-kpi-categories.d.cts.map +1 -1
  295. package/dist/actions/list-kpi-categories.d.mts +3 -21
  296. package/dist/actions/list-kpi-categories.d.mts.map +1 -1
  297. package/dist/actions/list-kpi-categories.mjs +1 -0
  298. package/dist/actions/list-kpi-categories.mjs.map +1 -1
  299. package/dist/actions/list-kpi-entries.cjs +1 -0
  300. package/dist/actions/list-kpi-entries.cjs.map +1 -1
  301. package/dist/actions/list-kpi-entries.d.cts +3 -28
  302. package/dist/actions/list-kpi-entries.d.cts.map +1 -1
  303. package/dist/actions/list-kpi-entries.d.mts +3 -28
  304. package/dist/actions/list-kpi-entries.d.mts.map +1 -1
  305. package/dist/actions/list-kpi-entries.mjs +1 -0
  306. package/dist/actions/list-kpi-entries.mjs.map +1 -1
  307. package/dist/actions/list-kpi-frequencies.cjs +1 -0
  308. package/dist/actions/list-kpi-frequencies.cjs.map +1 -1
  309. package/dist/actions/list-kpi-frequencies.d.cts +3 -21
  310. package/dist/actions/list-kpi-frequencies.d.cts.map +1 -1
  311. package/dist/actions/list-kpi-frequencies.d.mts +3 -21
  312. package/dist/actions/list-kpi-frequencies.d.mts.map +1 -1
  313. package/dist/actions/list-kpi-frequencies.mjs +1 -0
  314. package/dist/actions/list-kpi-frequencies.mjs.map +1 -1
  315. package/dist/actions/list-kpi-icons.cjs +1 -0
  316. package/dist/actions/list-kpi-icons.cjs.map +1 -1
  317. package/dist/actions/list-kpi-icons.d.cts +3 -21
  318. package/dist/actions/list-kpi-icons.d.cts.map +1 -1
  319. package/dist/actions/list-kpi-icons.d.mts +3 -21
  320. package/dist/actions/list-kpi-icons.d.mts.map +1 -1
  321. package/dist/actions/list-kpi-icons.mjs +1 -0
  322. package/dist/actions/list-kpi-icons.mjs.map +1 -1
  323. package/dist/actions/list-kpi-units.cjs +1 -0
  324. package/dist/actions/list-kpi-units.cjs.map +1 -1
  325. package/dist/actions/list-kpi-units.d.cts +3 -21
  326. package/dist/actions/list-kpi-units.d.cts.map +1 -1
  327. package/dist/actions/list-kpi-units.d.mts +3 -21
  328. package/dist/actions/list-kpi-units.d.mts.map +1 -1
  329. package/dist/actions/list-kpi-units.mjs +1 -0
  330. package/dist/actions/list-kpi-units.mjs.map +1 -1
  331. package/dist/actions/list-kpis.cjs +1 -0
  332. package/dist/actions/list-kpis.cjs.map +1 -1
  333. package/dist/actions/list-kpis.d.cts +3 -21
  334. package/dist/actions/list-kpis.d.cts.map +1 -1
  335. package/dist/actions/list-kpis.d.mts +3 -21
  336. package/dist/actions/list-kpis.d.mts.map +1 -1
  337. package/dist/actions/list-kpis.mjs +1 -0
  338. package/dist/actions/list-kpis.mjs.map +1 -1
  339. package/dist/actions/list-user-group-items.cjs +1 -0
  340. package/dist/actions/list-user-group-items.cjs.map +1 -1
  341. package/dist/actions/list-user-group-items.d.cts +3 -23
  342. package/dist/actions/list-user-group-items.d.cts.map +1 -1
  343. package/dist/actions/list-user-group-items.d.mts +3 -23
  344. package/dist/actions/list-user-group-items.d.mts.map +1 -1
  345. package/dist/actions/list-user-group-items.mjs +1 -0
  346. package/dist/actions/list-user-group-items.mjs.map +1 -1
  347. package/dist/actions/list-user-kpis.cjs +1 -0
  348. package/dist/actions/list-user-kpis.cjs.map +1 -1
  349. package/dist/actions/list-user-kpis.d.cts +3 -23
  350. package/dist/actions/list-user-kpis.d.cts.map +1 -1
  351. package/dist/actions/list-user-kpis.d.mts +3 -23
  352. package/dist/actions/list-user-kpis.d.mts.map +1 -1
  353. package/dist/actions/list-user-kpis.mjs +1 -0
  354. package/dist/actions/list-user-kpis.mjs.map +1 -1
  355. package/dist/actions/update-category-kpi.cjs +1 -0
  356. package/dist/actions/update-category-kpi.cjs.map +1 -1
  357. package/dist/actions/update-category-kpi.d.cts +3 -34
  358. package/dist/actions/update-category-kpi.d.cts.map +1 -1
  359. package/dist/actions/update-category-kpi.d.mts +3 -34
  360. package/dist/actions/update-category-kpi.d.mts.map +1 -1
  361. package/dist/actions/update-category-kpi.mjs +1 -0
  362. package/dist/actions/update-category-kpi.mjs.map +1 -1
  363. package/dist/actions/update-group-item.cjs +1 -0
  364. package/dist/actions/update-group-item.cjs.map +1 -1
  365. package/dist/actions/update-group-item.d.cts +3 -26
  366. package/dist/actions/update-group-item.d.cts.map +1 -1
  367. package/dist/actions/update-group-item.d.mts +3 -26
  368. package/dist/actions/update-group-item.d.mts.map +1 -1
  369. package/dist/actions/update-group-item.mjs +1 -0
  370. package/dist/actions/update-group-item.mjs.map +1 -1
  371. package/dist/actions/update-group.cjs +1 -0
  372. package/dist/actions/update-group.cjs.map +1 -1
  373. package/dist/actions/update-group.d.cts +3 -25
  374. package/dist/actions/update-group.d.cts.map +1 -1
  375. package/dist/actions/update-group.d.mts +3 -25
  376. package/dist/actions/update-group.d.mts.map +1 -1
  377. package/dist/actions/update-group.mjs +1 -0
  378. package/dist/actions/update-group.mjs.map +1 -1
  379. package/dist/actions/update-kpi-entry.cjs +1 -0
  380. package/dist/actions/update-kpi-entry.cjs.map +1 -1
  381. package/dist/actions/update-kpi-entry.d.cts +3 -29
  382. package/dist/actions/update-kpi-entry.d.cts.map +1 -1
  383. package/dist/actions/update-kpi-entry.d.mts +3 -29
  384. package/dist/actions/update-kpi-entry.d.mts.map +1 -1
  385. package/dist/actions/update-kpi-entry.mjs +1 -0
  386. package/dist/actions/update-kpi-entry.mjs.map +1 -1
  387. package/dist/actions/update-kpi-unit.cjs +1 -0
  388. package/dist/actions/update-kpi-unit.cjs.map +1 -1
  389. package/dist/actions/update-kpi-unit.d.cts +3 -27
  390. package/dist/actions/update-kpi-unit.d.cts.map +1 -1
  391. package/dist/actions/update-kpi-unit.d.mts +3 -27
  392. package/dist/actions/update-kpi-unit.d.mts.map +1 -1
  393. package/dist/actions/update-kpi-unit.mjs +1 -0
  394. package/dist/actions/update-kpi-unit.mjs.map +1 -1
  395. package/dist/actions/update-kpi.cjs +1 -0
  396. package/dist/actions/update-kpi.cjs.map +1 -1
  397. package/dist/actions/update-kpi.d.cts +3 -34
  398. package/dist/actions/update-kpi.d.cts.map +1 -1
  399. package/dist/actions/update-kpi.d.mts +3 -34
  400. package/dist/actions/update-kpi.d.mts.map +1 -1
  401. package/dist/actions/update-kpi.mjs +1 -0
  402. package/dist/actions/update-kpi.mjs.map +1 -1
  403. package/dist/actions/update-user.cjs +1 -0
  404. package/dist/actions/update-user.cjs.map +1 -1
  405. package/dist/actions/update-user.d.cts +3 -30
  406. package/dist/actions/update-user.d.cts.map +1 -1
  407. package/dist/actions/update-user.d.mts +3 -30
  408. package/dist/actions/update-user.d.mts.map +1 -1
  409. package/dist/actions/update-user.mjs +1 -0
  410. package/dist/actions/update-user.mjs.map +1 -1
  411. package/dist/app.cjs +8 -7
  412. package/dist/app.cjs.map +1 -1
  413. package/dist/app.d.cts +4 -6
  414. package/dist/app.d.cts.map +1 -1
  415. package/dist/app.d.mts +4 -6
  416. package/dist/app.d.mts.map +1 -1
  417. package/dist/app.mjs +0 -1
  418. package/dist/app.mjs.map +1 -1
  419. package/dist/index.d.cts +1 -1
  420. package/dist/index.d.mts +1 -1
  421. package/package.json +2 -2
@@ -1 +1 @@
1
- {"version":3,"file":"get-category-kpi.mjs","names":[],"sources":["../../src/actions/get-category-kpi.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplekpiGetCategoryKpiInput = z.object({\n id: z.number().int().describe(\"The ID of the KPI to retrieve.\"),\n category_id: z.number().int().describe(\"The ID of the category containing the KPI.\"),\n}).describe(\"Request model for retrieving a specific KPI within a category.\");\nexport const SimplekpiGetCategoryKpiOutput = z.object({\n id: z.number().int().describe(\"Automatically generated identifier for the KPI.\").nullable(),\n name: z.string().describe(\"The name of the KPI (max 100 characters).\").nullable(),\n icon_id: z.number().int().describe(\"The ID of the icon assigned to the KPI (16-bit integer).\").nullable().optional(),\n unit_id: z.number().int().describe(\"The ID of the unit of measure assigned to the KPI.\").nullable().optional(),\n is_active: z.boolean().describe(\"Whether the KPI accepts data entries.\").nullable().optional(),\n created_at: z.string().describe(\"UTC timestamp of creation.\").nullable().optional(),\n sort_order: z.number().int().describe(\"Display ordering of the KPI (16-bit integer).\").nullable().optional(),\n updated_at: z.string().describe(\"UTC timestamp of last modification.\").nullable().optional(),\n category_id: z.number().int().describe(\"The identifier of the category containing the KPI.\").nullable(),\n description: z.string().describe(\"Optional explanation of the KPI (max 150 characters).\").nullable().optional(),\n frequency_id: z.string().describe(\"The ID of the frequency of data entry for the KPI. This field is case sensitive.\").nullable().optional(),\n is_calculated: z.boolean().describe(\"Calculated KPIs cannot be amended via the API.\").nullable().optional(),\n target_default: z.union([z.number(), z.string()]).nullable().optional(),\n value_direction: z.string().describe(\"Direction indicator: U(p), D(own), or N(one).\").nullable().optional(),\n aggregate_function: z.string().describe(\"Calculation method: AVG or SUM (max 3 characters).\").nullable().optional(),\n}).passthrough().describe(\"Response model for a specific KPI within a category.\");\n\nexport const simplekpiGetCategoryKpi = action(\"SIMPLEKPI_GET_CATEGORY_KPI\", {\n slug: \"simplekpi-get-category-kpi\",\n name: \"Get Category KPI\",\n description: \"Tool to retrieve a specific KPI within a category. Use when you need detailed information about a particular KPI including its name, description, target values, and configuration settings.\",\n input: SimplekpiGetCategoryKpiInput,\n output: SimplekpiGetCategoryKpiOutput,\n});\n"],"mappings":";;AA0BA,MAAa,0BAA0B,OAAO,8BAA8B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA1B0C,EAAE,OAAO;EACnD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC;EAC9D,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C;CACrF,CAAC,CAAC,CAAC,SAAS,gEAuBH;CACP,QAvB2C,EAAE,OAAO;EACpD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;EAC1F,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;EAChF,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnH,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7G,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClF,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3G,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3F,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;EACtG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9G,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1I,eAAe,EAAE,QAAQ,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1G,gBAAgB,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtE,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1G,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"get-category-kpi.mjs","names":[],"sources":["../../src/actions/get-category-kpi.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { simplekpi } from \"../app\";\n\nexport const SimplekpiGetCategoryKpiInput = z.object({\n id: z.number().int().describe(\"The ID of the KPI to retrieve.\"),\n category_id: z.number().int().describe(\"The ID of the category containing the KPI.\"),\n}).describe(\"Request model for retrieving a specific KPI within a category.\");\nexport const SimplekpiGetCategoryKpiOutput = z.object({\n id: z.number().int().describe(\"Automatically generated identifier for the KPI.\").nullable(),\n name: z.string().describe(\"The name of the KPI (max 100 characters).\").nullable(),\n icon_id: z.number().int().describe(\"The ID of the icon assigned to the KPI (16-bit integer).\").nullable().optional(),\n unit_id: z.number().int().describe(\"The ID of the unit of measure assigned to the KPI.\").nullable().optional(),\n is_active: z.boolean().describe(\"Whether the KPI accepts data entries.\").nullable().optional(),\n created_at: z.string().describe(\"UTC timestamp of creation.\").nullable().optional(),\n sort_order: z.number().int().describe(\"Display ordering of the KPI (16-bit integer).\").nullable().optional(),\n updated_at: z.string().describe(\"UTC timestamp of last modification.\").nullable().optional(),\n category_id: z.number().int().describe(\"The identifier of the category containing the KPI.\").nullable(),\n description: z.string().describe(\"Optional explanation of the KPI (max 150 characters).\").nullable().optional(),\n frequency_id: z.string().describe(\"The ID of the frequency of data entry for the KPI. This field is case sensitive.\").nullable().optional(),\n is_calculated: z.boolean().describe(\"Calculated KPIs cannot be amended via the API.\").nullable().optional(),\n target_default: z.union([z.number(), z.string()]).nullable().optional(),\n value_direction: z.string().describe(\"Direction indicator: U(p), D(own), or N(one).\").nullable().optional(),\n aggregate_function: z.string().describe(\"Calculation method: AVG or SUM (max 3 characters).\").nullable().optional(),\n}).passthrough().describe(\"Response model for a specific KPI within a category.\");\n\nexport const simplekpiGetCategoryKpi: AppAction<\n typeof SimplekpiGetCategoryKpiInput,\n typeof SimplekpiGetCategoryKpiOutput,\n typeof simplekpi.credential\n> = action(\"SIMPLEKPI_GET_CATEGORY_KPI\", {\n slug: \"simplekpi-get-category-kpi\",\n name: \"Get Category KPI\",\n description: \"Tool to retrieve a specific KPI within a category. Use when you need detailed information about a particular KPI including its name, description, target values, and configuration settings.\",\n input: SimplekpiGetCategoryKpiInput,\n output: SimplekpiGetCategoryKpiOutput,\n});\n"],"mappings":";;;AA4BA,MAAa,0BAIT,OAAO,8BAA8B;CACvC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA9B0C,EAAE,OAAO;EACnD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC;EAC9D,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C;CACrF,CAAC,CAAC,CAAC,SAAS,gEA2BH;CACP,QA3B2C,EAAE,OAAO;EACpD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;EAC1F,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;EAChF,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnH,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7G,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClF,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3G,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3F,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;EACtG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9G,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1I,eAAe,EAAE,QAAQ,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1G,gBAAgB,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtE,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1G,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/get-group-item.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-group-item.cjs","names":["z","action"],"sources":["../../src/actions/get-group-item.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplekpiGetGroupItemInput = z.object({\n id: z.number().int().describe(\"The unique identifier of the item to retrieve.\"),\n group_id: z.number().int().describe(\"The identifier of the group containing the item.\"),\n}).describe(\"Request model for retrieving a specific group item by ID.\");\nexport const SimplekpiGetGroupItemOutput = z.object({\n id: z.number().int().describe(\"The unique identifier of the item, automatically assigned when created.\").nullable().optional(),\n name: z.string().describe(\"The name of the item (max 100 characters).\").nullable().optional(),\n group_id: z.number().int().describe(\"The identifier of the parent group.\").nullable().optional(),\n created_at: z.string().describe(\"The UTC date and time the item was created.\").nullable().optional(),\n sort_order: z.number().int().describe(\"The display order of the item within the group.\").nullable().optional(),\n updated_at: z.string().describe(\"The UTC date and time of the last update of the item.\").nullable().optional(),\n}).passthrough().describe(\"Response model containing the details of a group item.\");\n\nexport const simplekpiGetGroupItem = action(\"SIMPLEKPI_GET_GROUP_ITEM\", {\n slug: \"simplekpi-get-group-item\",\n name: \"Get Group Item\",\n description: \"Tool to retrieve a specific group item by ID. Use when you need to fetch details of a particular item within a group.\",\n input: SimplekpiGetGroupItemInput,\n output: SimplekpiGetGroupItemOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD;CAC9E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD;AACxF,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7H,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wDAAwD;AAElF,MAAa,wBAAwBC,eAAAA,OAAO,4BAA4B;CACtE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-group-item.cjs","names":["z","action"],"sources":["../../src/actions/get-group-item.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { simplekpi } from \"../app\";\n\nexport const SimplekpiGetGroupItemInput = z.object({\n id: z.number().int().describe(\"The unique identifier of the item to retrieve.\"),\n group_id: z.number().int().describe(\"The identifier of the group containing the item.\"),\n}).describe(\"Request model for retrieving a specific group item by ID.\");\nexport const SimplekpiGetGroupItemOutput = z.object({\n id: z.number().int().describe(\"The unique identifier of the item, automatically assigned when created.\").nullable().optional(),\n name: z.string().describe(\"The name of the item (max 100 characters).\").nullable().optional(),\n group_id: z.number().int().describe(\"The identifier of the parent group.\").nullable().optional(),\n created_at: z.string().describe(\"The UTC date and time the item was created.\").nullable().optional(),\n sort_order: z.number().int().describe(\"The display order of the item within the group.\").nullable().optional(),\n updated_at: z.string().describe(\"The UTC date and time of the last update of the item.\").nullable().optional(),\n}).passthrough().describe(\"Response model containing the details of a group item.\");\n\nexport const simplekpiGetGroupItem: AppAction<\n typeof SimplekpiGetGroupItemInput,\n typeof SimplekpiGetGroupItemOutput,\n typeof simplekpi.credential\n> = action(\"SIMPLEKPI_GET_GROUP_ITEM\", {\n slug: \"simplekpi-get-group-item\",\n name: \"Get Group Item\",\n description: \"Tool to retrieve a specific group item by ID. Use when you need to fetch details of a particular item within a group.\",\n input: SimplekpiGetGroupItemInput,\n output: SimplekpiGetGroupItemOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD;CAC9E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD;AACxF,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7H,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wDAAwD;AAElF,MAAa,wBAITC,eAAAA,OAAO,4BAA4B;CACrC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { simplekpi } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-group-item.d.ts
@@ -13,30 +15,7 @@ declare const SimplekpiGetGroupItemOutput: z.ZodObject<{
13
15
  sort_order: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
14
16
  updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
17
  }, z.core.$loose>;
16
- declare const simplekpiGetGroupItem: import("@keystrokehq/action").WorkflowActionDefinition<{
17
- id: number;
18
- group_id: number;
19
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"simplekpi", z.ZodObject<{
20
- connectionId: z.ZodString;
21
- entityId: z.ZodString;
22
- instanceId: z.ZodString;
23
- }, z.core.$strip>, z.ZodObject<{
24
- username: z.ZodString;
25
- password: z.ZodString;
26
- subdomain: z.ZodString;
27
- generic_api_key: z.ZodString;
28
- generic_id: z.ZodString;
29
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"simplekpi", z.ZodObject<{
30
- connectionId: z.ZodString;
31
- entityId: z.ZodString;
32
- instanceId: z.ZodString;
33
- }, z.core.$strip>, z.ZodObject<{
34
- username: z.ZodString;
35
- password: z.ZodString;
36
- subdomain: z.ZodString;
37
- generic_api_key: z.ZodString;
38
- generic_id: z.ZodString;
39
- }, z.core.$strip>>]>;
18
+ declare const simplekpiGetGroupItem: AppAction<typeof SimplekpiGetGroupItemInput, typeof SimplekpiGetGroupItemOutput, typeof simplekpi.credential>;
40
19
  //#endregion
41
20
  export { simplekpiGetGroupItem };
42
21
  //# sourceMappingURL=get-group-item.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-group-item.d.cts","names":[],"sources":["../../src/actions/get-group-item.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;cAI1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;cAS3B,qBAAA,gCAAqB,wBAAA"}
1
+ {"version":3,"file":"get-group-item.d.cts","names":[],"sources":["../../src/actions/get-group-item.ts"],"mappings":";;;;;cAMa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;cAI1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;cAS3B,qBAAA,EAAuB,SAAA,QAC3B,0BAAA,SACA,2BAAA,SACA,SAAA,CAAU,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { simplekpi } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-group-item.d.ts
@@ -13,30 +15,7 @@ declare const SimplekpiGetGroupItemOutput: z.ZodObject<{
13
15
  sort_order: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
14
16
  updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
17
  }, z.core.$loose>;
16
- declare const simplekpiGetGroupItem: import("@keystrokehq/action").WorkflowActionDefinition<{
17
- id: number;
18
- group_id: number;
19
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"simplekpi", z.ZodObject<{
20
- connectionId: z.ZodString;
21
- entityId: z.ZodString;
22
- instanceId: z.ZodString;
23
- }, z.core.$strip>, z.ZodObject<{
24
- username: z.ZodString;
25
- password: z.ZodString;
26
- subdomain: z.ZodString;
27
- generic_api_key: z.ZodString;
28
- generic_id: z.ZodString;
29
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"simplekpi", z.ZodObject<{
30
- connectionId: z.ZodString;
31
- entityId: z.ZodString;
32
- instanceId: z.ZodString;
33
- }, z.core.$strip>, z.ZodObject<{
34
- username: z.ZodString;
35
- password: z.ZodString;
36
- subdomain: z.ZodString;
37
- generic_api_key: z.ZodString;
38
- generic_id: z.ZodString;
39
- }, z.core.$strip>>]>;
18
+ declare const simplekpiGetGroupItem: AppAction<typeof SimplekpiGetGroupItemInput, typeof SimplekpiGetGroupItemOutput, typeof simplekpi.credential>;
40
19
  //#endregion
41
20
  export { simplekpiGetGroupItem };
42
21
  //# sourceMappingURL=get-group-item.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-group-item.d.mts","names":[],"sources":["../../src/actions/get-group-item.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;cAI1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;cAS3B,qBAAA,gCAAqB,wBAAA"}
1
+ {"version":3,"file":"get-group-item.d.mts","names":[],"sources":["../../src/actions/get-group-item.ts"],"mappings":";;;;;cAMa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;cAI1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;cAS3B,qBAAA,EAAuB,SAAA,QAC3B,0BAAA,SACA,2BAAA,SACA,SAAA,CAAU,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const simplekpiGetGroupItem = action("SIMPLEKPI_GET_GROUP_ITEM", {
@@ -1 +1 @@
1
- {"version":3,"file":"get-group-item.mjs","names":[],"sources":["../../src/actions/get-group-item.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplekpiGetGroupItemInput = z.object({\n id: z.number().int().describe(\"The unique identifier of the item to retrieve.\"),\n group_id: z.number().int().describe(\"The identifier of the group containing the item.\"),\n}).describe(\"Request model for retrieving a specific group item by ID.\");\nexport const SimplekpiGetGroupItemOutput = z.object({\n id: z.number().int().describe(\"The unique identifier of the item, automatically assigned when created.\").nullable().optional(),\n name: z.string().describe(\"The name of the item (max 100 characters).\").nullable().optional(),\n group_id: z.number().int().describe(\"The identifier of the parent group.\").nullable().optional(),\n created_at: z.string().describe(\"The UTC date and time the item was created.\").nullable().optional(),\n sort_order: z.number().int().describe(\"The display order of the item within the group.\").nullable().optional(),\n updated_at: z.string().describe(\"The UTC date and time of the last update of the item.\").nullable().optional(),\n}).passthrough().describe(\"Response model containing the details of a group item.\");\n\nexport const simplekpiGetGroupItem = action(\"SIMPLEKPI_GET_GROUP_ITEM\", {\n slug: \"simplekpi-get-group-item\",\n name: \"Get Group Item\",\n description: \"Tool to retrieve a specific group item by ID. Use when you need to fetch details of a particular item within a group.\",\n input: SimplekpiGetGroupItemInput,\n output: SimplekpiGetGroupItemOutput,\n});\n"],"mappings":";;AAiBA,MAAa,wBAAwB,OAAO,4BAA4B;CACtE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAjBwC,EAAE,OAAO;EACjD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD;EAC9E,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD;CACxF,CAAC,CAAC,CAAC,SAAS,2DAcH;CACP,QAdyC,EAAE,OAAO;EAClD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7H,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5F,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnG,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7G,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wDAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"get-group-item.mjs","names":[],"sources":["../../src/actions/get-group-item.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { simplekpi } from \"../app\";\n\nexport const SimplekpiGetGroupItemInput = z.object({\n id: z.number().int().describe(\"The unique identifier of the item to retrieve.\"),\n group_id: z.number().int().describe(\"The identifier of the group containing the item.\"),\n}).describe(\"Request model for retrieving a specific group item by ID.\");\nexport const SimplekpiGetGroupItemOutput = z.object({\n id: z.number().int().describe(\"The unique identifier of the item, automatically assigned when created.\").nullable().optional(),\n name: z.string().describe(\"The name of the item (max 100 characters).\").nullable().optional(),\n group_id: z.number().int().describe(\"The identifier of the parent group.\").nullable().optional(),\n created_at: z.string().describe(\"The UTC date and time the item was created.\").nullable().optional(),\n sort_order: z.number().int().describe(\"The display order of the item within the group.\").nullable().optional(),\n updated_at: z.string().describe(\"The UTC date and time of the last update of the item.\").nullable().optional(),\n}).passthrough().describe(\"Response model containing the details of a group item.\");\n\nexport const simplekpiGetGroupItem: AppAction<\n typeof SimplekpiGetGroupItemInput,\n typeof SimplekpiGetGroupItemOutput,\n typeof simplekpi.credential\n> = action(\"SIMPLEKPI_GET_GROUP_ITEM\", {\n slug: \"simplekpi-get-group-item\",\n name: \"Get Group Item\",\n description: \"Tool to retrieve a specific group item by ID. Use when you need to fetch details of a particular item within a group.\",\n input: SimplekpiGetGroupItemInput,\n output: SimplekpiGetGroupItemOutput,\n});\n"],"mappings":";;;AAmBA,MAAa,wBAIT,OAAO,4BAA4B;CACrC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OArBwC,EAAE,OAAO;EACjD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD;EAC9E,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD;CACxF,CAAC,CAAC,CAAC,SAAS,2DAkBH;CACP,QAlByC,EAAE,OAAO;EAClD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7H,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5F,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnG,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7G,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wDAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/get-group.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-group.cjs","names":["z","action"],"sources":["../../src/actions/get-group.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplekpiGetGroupInput = z.object({\n id: z.number().int().describe(\"The unique identifier of the group to retrieve\"),\n}).describe(\"Request model for retrieving a specific group by ID.\");\nexport const SimplekpiGetGroupOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the group, automatically assigned when creating a group\").nullable().optional(),\n name: z.string().describe(\"The name of the group\").nullable().optional(),\n created_at: z.string().describe(\"The date and time the group was created (ISO 8601 format)\").nullable().optional(),\n sort_order: z.number().int().describe(\"The display order of the group\").nullable().optional(),\n updated_at: z.string().describe(\"The date and time of the last update of the group (ISO 8601 format)\").nullable().optional(),\n}).passthrough().describe(\"Response model containing group information.\");\n\nexport const simplekpiGetGroup = action(\"SIMPLEKPI_GET_GROUP\", {\n slug: \"simplekpi-get-group\",\n name: \"Get Group\",\n description: \"Tool to get a specific group by ID from SimplekPI. Use when you need to retrieve detailed information about a particular group.\",\n input: SimplekpiGetGroupInput,\n output: SimplekpiGetGroupOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAyBA,IAAAA,EAAE,OAAO,EAC7C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,EAChF,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClI,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAA8C;AAExE,MAAa,oBAAoBC,eAAAA,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-group.cjs","names":["z","action"],"sources":["../../src/actions/get-group.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { simplekpi } from \"../app\";\n\nexport const SimplekpiGetGroupInput = z.object({\n id: z.number().int().describe(\"The unique identifier of the group to retrieve\"),\n}).describe(\"Request model for retrieving a specific group by ID.\");\nexport const SimplekpiGetGroupOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the group, automatically assigned when creating a group\").nullable().optional(),\n name: z.string().describe(\"The name of the group\").nullable().optional(),\n created_at: z.string().describe(\"The date and time the group was created (ISO 8601 format)\").nullable().optional(),\n sort_order: z.number().int().describe(\"The display order of the group\").nullable().optional(),\n updated_at: z.string().describe(\"The date and time of the last update of the group (ISO 8601 format)\").nullable().optional(),\n}).passthrough().describe(\"Response model containing group information.\");\n\nexport const simplekpiGetGroup: AppAction<\n typeof SimplekpiGetGroupInput,\n typeof SimplekpiGetGroupOutput,\n typeof simplekpi.credential\n> = action(\"SIMPLEKPI_GET_GROUP\", {\n slug: \"simplekpi-get-group\",\n name: \"Get Group\",\n description: \"Tool to get a specific group by ID from SimplekPI. Use when you need to retrieve detailed information about a particular group.\",\n input: SimplekpiGetGroupInput,\n output: SimplekpiGetGroupOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,yBAAyBA,IAAAA,EAAE,OAAO,EAC7C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,EAChF,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClI,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAA8C;AAExE,MAAa,oBAITC,eAAAA,OAAO,uBAAuB;CAChC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { simplekpi } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-group.d.ts
@@ -11,29 +13,7 @@ declare const SimplekpiGetGroupOutput: z.ZodObject<{
11
13
  sort_order: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
12
14
  updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
15
  }, z.core.$loose>;
14
- declare const simplekpiGetGroup: import("@keystrokehq/action").WorkflowActionDefinition<{
15
- id: number;
16
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"simplekpi", z.ZodObject<{
17
- connectionId: z.ZodString;
18
- entityId: z.ZodString;
19
- instanceId: z.ZodString;
20
- }, z.core.$strip>, z.ZodObject<{
21
- username: z.ZodString;
22
- password: z.ZodString;
23
- subdomain: z.ZodString;
24
- generic_api_key: z.ZodString;
25
- generic_id: z.ZodString;
26
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"simplekpi", z.ZodObject<{
27
- connectionId: z.ZodString;
28
- entityId: z.ZodString;
29
- instanceId: z.ZodString;
30
- }, z.core.$strip>, z.ZodObject<{
31
- username: z.ZodString;
32
- password: z.ZodString;
33
- subdomain: z.ZodString;
34
- generic_api_key: z.ZodString;
35
- generic_id: z.ZodString;
36
- }, z.core.$strip>>]>;
16
+ declare const simplekpiGetGroup: AppAction<typeof SimplekpiGetGroupInput, typeof SimplekpiGetGroupOutput, typeof simplekpi.credential>;
37
17
  //#endregion
38
18
  export { simplekpiGetGroup };
39
19
  //# sourceMappingURL=get-group.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-group.d.cts","names":[],"sources":["../../src/actions/get-group.ts"],"mappings":";;;cAIa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;cAGtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;cAQvB,iBAAA,gCAAiB,wBAAA"}
1
+ {"version":3,"file":"get-group.d.cts","names":[],"sources":["../../src/actions/get-group.ts"],"mappings":";;;;;cAMa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;cAGtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;cAQvB,iBAAA,EAAmB,SAAA,QACvB,sBAAA,SACA,uBAAA,SACA,SAAA,CAAU,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { simplekpi } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-group.d.ts
@@ -11,29 +13,7 @@ declare const SimplekpiGetGroupOutput: z.ZodObject<{
11
13
  sort_order: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
12
14
  updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
15
  }, z.core.$loose>;
14
- declare const simplekpiGetGroup: import("@keystrokehq/action").WorkflowActionDefinition<{
15
- id: number;
16
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"simplekpi", z.ZodObject<{
17
- connectionId: z.ZodString;
18
- entityId: z.ZodString;
19
- instanceId: z.ZodString;
20
- }, z.core.$strip>, z.ZodObject<{
21
- username: z.ZodString;
22
- password: z.ZodString;
23
- subdomain: z.ZodString;
24
- generic_api_key: z.ZodString;
25
- generic_id: z.ZodString;
26
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"simplekpi", z.ZodObject<{
27
- connectionId: z.ZodString;
28
- entityId: z.ZodString;
29
- instanceId: z.ZodString;
30
- }, z.core.$strip>, z.ZodObject<{
31
- username: z.ZodString;
32
- password: z.ZodString;
33
- subdomain: z.ZodString;
34
- generic_api_key: z.ZodString;
35
- generic_id: z.ZodString;
36
- }, z.core.$strip>>]>;
16
+ declare const simplekpiGetGroup: AppAction<typeof SimplekpiGetGroupInput, typeof SimplekpiGetGroupOutput, typeof simplekpi.credential>;
37
17
  //#endregion
38
18
  export { simplekpiGetGroup };
39
19
  //# sourceMappingURL=get-group.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-group.d.mts","names":[],"sources":["../../src/actions/get-group.ts"],"mappings":";;;cAIa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;cAGtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;cAQvB,iBAAA,gCAAiB,wBAAA"}
1
+ {"version":3,"file":"get-group.d.mts","names":[],"sources":["../../src/actions/get-group.ts"],"mappings":";;;;;cAMa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;cAGtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;cAQvB,iBAAA,EAAmB,SAAA,QACvB,sBAAA,SACA,uBAAA,SACA,SAAA,CAAU,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const simplekpiGetGroup = action("SIMPLEKPI_GET_GROUP", {
@@ -1 +1 @@
1
- {"version":3,"file":"get-group.mjs","names":[],"sources":["../../src/actions/get-group.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplekpiGetGroupInput = z.object({\n id: z.number().int().describe(\"The unique identifier of the group to retrieve\"),\n}).describe(\"Request model for retrieving a specific group by ID.\");\nexport const SimplekpiGetGroupOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the group, automatically assigned when creating a group\").nullable().optional(),\n name: z.string().describe(\"The name of the group\").nullable().optional(),\n created_at: z.string().describe(\"The date and time the group was created (ISO 8601 format)\").nullable().optional(),\n sort_order: z.number().int().describe(\"The display order of the group\").nullable().optional(),\n updated_at: z.string().describe(\"The date and time of the last update of the group (ISO 8601 format)\").nullable().optional(),\n}).passthrough().describe(\"Response model containing group information.\");\n\nexport const simplekpiGetGroup = action(\"SIMPLEKPI_GET_GROUP\", {\n slug: \"simplekpi-get-group\",\n name: \"Get Group\",\n description: \"Tool to get a specific group by ID from SimplekPI. Use when you need to retrieve detailed information about a particular group.\",\n input: SimplekpiGetGroupInput,\n output: SimplekpiGetGroupOutput,\n});\n"],"mappings":";;AAeA,MAAa,oBAAoB,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAfoC,EAAE,OAAO,EAC7C,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,EAChF,CAAC,CAAC,CAAC,SAAS,sDAaH;CACP,QAbqC,EAAE,OAAO;EAC9C,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClI,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjH,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"get-group.mjs","names":[],"sources":["../../src/actions/get-group.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { simplekpi } from \"../app\";\n\nexport const SimplekpiGetGroupInput = z.object({\n id: z.number().int().describe(\"The unique identifier of the group to retrieve\"),\n}).describe(\"Request model for retrieving a specific group by ID.\");\nexport const SimplekpiGetGroupOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the group, automatically assigned when creating a group\").nullable().optional(),\n name: z.string().describe(\"The name of the group\").nullable().optional(),\n created_at: z.string().describe(\"The date and time the group was created (ISO 8601 format)\").nullable().optional(),\n sort_order: z.number().int().describe(\"The display order of the group\").nullable().optional(),\n updated_at: z.string().describe(\"The date and time of the last update of the group (ISO 8601 format)\").nullable().optional(),\n}).passthrough().describe(\"Response model containing group information.\");\n\nexport const simplekpiGetGroup: AppAction<\n typeof SimplekpiGetGroupInput,\n typeof SimplekpiGetGroupOutput,\n typeof simplekpi.credential\n> = action(\"SIMPLEKPI_GET_GROUP\", {\n slug: \"simplekpi-get-group\",\n name: \"Get Group\",\n description: \"Tool to get a specific group by ID from SimplekPI. Use when you need to retrieve detailed information about a particular group.\",\n input: SimplekpiGetGroupInput,\n output: SimplekpiGetGroupOutput,\n});\n"],"mappings":";;;AAiBA,MAAa,oBAIT,OAAO,uBAAuB;CAChC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAnBoC,EAAE,OAAO,EAC7C,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,EAChF,CAAC,CAAC,CAAC,SAAS,sDAiBH;CACP,QAjBqC,EAAE,OAAO;EAC9C,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClI,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjH,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/get-kpi-category.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-kpi-category.cjs","names":["z","action"],"sources":["../../src/actions/get-kpi-category.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplekpiGetKpiCategoryInput = z.object({\n id: z.number().int().describe(\"The unique identifier of the KPI category to retrieve\"),\n}).describe(\"Request model for retrieving a specific KPI category by ID.\");\nexport const SimplekpiGetKpiCategoryOutput = z.object({\n id: z.number().int().describe(\"Automatically generated unique identifier for the KPI category\").nullable().optional(),\n name: z.string().describe(\"The name of the KPI category (maximum 50 characters)\").nullable().optional(),\n created_at: z.string().describe(\"The UTC date and time the category was created (ISO 8601 format)\").nullable().optional(),\n sort_order: z.number().int().describe(\"Display ordering value for the category (16-bit integer)\").nullable().optional(),\n updated_at: z.string().describe(\"The UTC date and time the category was last updated (ISO 8601 format)\").nullable().optional(),\n}).passthrough().describe(\"Response model containing KPI category information.\");\n\nexport const simplekpiGetKpiCategory = action(\"SIMPLEKPI_GET_KPI_CATEGORY\", {\n slug: \"simplekpi-get-kpi-category\",\n name: \"Get KPI Category\",\n description: \"Tool to get a specific KPI category by ID from SimpleKPI. Use when you need to retrieve detailed information about a particular KPI category.\",\n input: SimplekpiGetKpiCategoryInput,\n output: SimplekpiGetKpiCategoryOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO,EACnD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uDAAuD,EACvF,CAAC,CAAC,CAAC,SAAS,6DAA6D;AACzE,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpH,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAAqD;AAE/E,MAAa,0BAA0BC,eAAAA,OAAO,8BAA8B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-kpi-category.cjs","names":["z","action"],"sources":["../../src/actions/get-kpi-category.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { simplekpi } from \"../app\";\n\nexport const SimplekpiGetKpiCategoryInput = z.object({\n id: z.number().int().describe(\"The unique identifier of the KPI category to retrieve\"),\n}).describe(\"Request model for retrieving a specific KPI category by ID.\");\nexport const SimplekpiGetKpiCategoryOutput = z.object({\n id: z.number().int().describe(\"Automatically generated unique identifier for the KPI category\").nullable().optional(),\n name: z.string().describe(\"The name of the KPI category (maximum 50 characters)\").nullable().optional(),\n created_at: z.string().describe(\"The UTC date and time the category was created (ISO 8601 format)\").nullable().optional(),\n sort_order: z.number().int().describe(\"Display ordering value for the category (16-bit integer)\").nullable().optional(),\n updated_at: z.string().describe(\"The UTC date and time the category was last updated (ISO 8601 format)\").nullable().optional(),\n}).passthrough().describe(\"Response model containing KPI category information.\");\n\nexport const simplekpiGetKpiCategory: AppAction<\n typeof SimplekpiGetKpiCategoryInput,\n typeof SimplekpiGetKpiCategoryOutput,\n typeof simplekpi.credential\n> = action(\"SIMPLEKPI_GET_KPI_CATEGORY\", {\n slug: \"simplekpi-get-kpi-category\",\n name: \"Get KPI Category\",\n description: \"Tool to get a specific KPI category by ID from SimpleKPI. Use when you need to retrieve detailed information about a particular KPI category.\",\n input: SimplekpiGetKpiCategoryInput,\n output: SimplekpiGetKpiCategoryOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO,EACnD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uDAAuD,EACvF,CAAC,CAAC,CAAC,SAAS,6DAA6D;AACzE,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpH,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAAqD;AAE/E,MAAa,0BAITC,eAAAA,OAAO,8BAA8B;CACvC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { simplekpi } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-kpi-category.d.ts
@@ -11,29 +13,7 @@ declare const SimplekpiGetKpiCategoryOutput: z.ZodObject<{
11
13
  sort_order: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
12
14
  updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
15
  }, z.core.$loose>;
14
- declare const simplekpiGetKpiCategory: import("@keystrokehq/action").WorkflowActionDefinition<{
15
- id: number;
16
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"simplekpi", z.ZodObject<{
17
- connectionId: z.ZodString;
18
- entityId: z.ZodString;
19
- instanceId: z.ZodString;
20
- }, z.core.$strip>, z.ZodObject<{
21
- username: z.ZodString;
22
- password: z.ZodString;
23
- subdomain: z.ZodString;
24
- generic_api_key: z.ZodString;
25
- generic_id: z.ZodString;
26
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"simplekpi", z.ZodObject<{
27
- connectionId: z.ZodString;
28
- entityId: z.ZodString;
29
- instanceId: z.ZodString;
30
- }, z.core.$strip>, z.ZodObject<{
31
- username: z.ZodString;
32
- password: z.ZodString;
33
- subdomain: z.ZodString;
34
- generic_api_key: z.ZodString;
35
- generic_id: z.ZodString;
36
- }, z.core.$strip>>]>;
16
+ declare const simplekpiGetKpiCategory: AppAction<typeof SimplekpiGetKpiCategoryInput, typeof SimplekpiGetKpiCategoryOutput, typeof simplekpi.credential>;
37
17
  //#endregion
38
18
  export { simplekpiGetKpiCategory };
39
19
  //# sourceMappingURL=get-kpi-category.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-kpi-category.d.cts","names":[],"sources":["../../src/actions/get-kpi-category.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;cAG5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;cAQ7B,uBAAA,gCAAuB,wBAAA"}
1
+ {"version":3,"file":"get-kpi-category.d.cts","names":[],"sources":["../../src/actions/get-kpi-category.ts"],"mappings":";;;;;cAMa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;cAG5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;cAQ7B,uBAAA,EAAyB,SAAA,QAC7B,4BAAA,SACA,6BAAA,SACA,SAAA,CAAU,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { simplekpi } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-kpi-category.d.ts
@@ -11,29 +13,7 @@ declare const SimplekpiGetKpiCategoryOutput: z.ZodObject<{
11
13
  sort_order: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
12
14
  updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
15
  }, z.core.$loose>;
14
- declare const simplekpiGetKpiCategory: import("@keystrokehq/action").WorkflowActionDefinition<{
15
- id: number;
16
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"simplekpi", z.ZodObject<{
17
- connectionId: z.ZodString;
18
- entityId: z.ZodString;
19
- instanceId: z.ZodString;
20
- }, z.core.$strip>, z.ZodObject<{
21
- username: z.ZodString;
22
- password: z.ZodString;
23
- subdomain: z.ZodString;
24
- generic_api_key: z.ZodString;
25
- generic_id: z.ZodString;
26
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"simplekpi", z.ZodObject<{
27
- connectionId: z.ZodString;
28
- entityId: z.ZodString;
29
- instanceId: z.ZodString;
30
- }, z.core.$strip>, z.ZodObject<{
31
- username: z.ZodString;
32
- password: z.ZodString;
33
- subdomain: z.ZodString;
34
- generic_api_key: z.ZodString;
35
- generic_id: z.ZodString;
36
- }, z.core.$strip>>]>;
16
+ declare const simplekpiGetKpiCategory: AppAction<typeof SimplekpiGetKpiCategoryInput, typeof SimplekpiGetKpiCategoryOutput, typeof simplekpi.credential>;
37
17
  //#endregion
38
18
  export { simplekpiGetKpiCategory };
39
19
  //# sourceMappingURL=get-kpi-category.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-kpi-category.d.mts","names":[],"sources":["../../src/actions/get-kpi-category.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;cAG5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;cAQ7B,uBAAA,gCAAuB,wBAAA"}
1
+ {"version":3,"file":"get-kpi-category.d.mts","names":[],"sources":["../../src/actions/get-kpi-category.ts"],"mappings":";;;;;cAMa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;cAG5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;cAQ7B,uBAAA,EAAyB,SAAA,QAC7B,4BAAA,SACA,6BAAA,SACA,SAAA,CAAU,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const simplekpiGetKpiCategory = action("SIMPLEKPI_GET_KPI_CATEGORY", {
@@ -1 +1 @@
1
- {"version":3,"file":"get-kpi-category.mjs","names":[],"sources":["../../src/actions/get-kpi-category.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplekpiGetKpiCategoryInput = z.object({\n id: z.number().int().describe(\"The unique identifier of the KPI category to retrieve\"),\n}).describe(\"Request model for retrieving a specific KPI category by ID.\");\nexport const SimplekpiGetKpiCategoryOutput = z.object({\n id: z.number().int().describe(\"Automatically generated unique identifier for the KPI category\").nullable().optional(),\n name: z.string().describe(\"The name of the KPI category (maximum 50 characters)\").nullable().optional(),\n created_at: z.string().describe(\"The UTC date and time the category was created (ISO 8601 format)\").nullable().optional(),\n sort_order: z.number().int().describe(\"Display ordering value for the category (16-bit integer)\").nullable().optional(),\n updated_at: z.string().describe(\"The UTC date and time the category was last updated (ISO 8601 format)\").nullable().optional(),\n}).passthrough().describe(\"Response model containing KPI category information.\");\n\nexport const simplekpiGetKpiCategory = action(\"SIMPLEKPI_GET_KPI_CATEGORY\", {\n slug: \"simplekpi-get-kpi-category\",\n name: \"Get KPI Category\",\n description: \"Tool to get a specific KPI category by ID from SimpleKPI. Use when you need to retrieve detailed information about a particular KPI category.\",\n input: SimplekpiGetKpiCategoryInput,\n output: SimplekpiGetKpiCategoryOutput,\n});\n"],"mappings":";;AAeA,MAAa,0BAA0B,OAAO,8BAA8B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAf0C,EAAE,OAAO,EACnD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uDAAuD,EACvF,CAAC,CAAC,CAAC,SAAS,6DAaH;CACP,QAb2C,EAAE,OAAO;EACpD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpH,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxH,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"get-kpi-category.mjs","names":[],"sources":["../../src/actions/get-kpi-category.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { simplekpi } from \"../app\";\n\nexport const SimplekpiGetKpiCategoryInput = z.object({\n id: z.number().int().describe(\"The unique identifier of the KPI category to retrieve\"),\n}).describe(\"Request model for retrieving a specific KPI category by ID.\");\nexport const SimplekpiGetKpiCategoryOutput = z.object({\n id: z.number().int().describe(\"Automatically generated unique identifier for the KPI category\").nullable().optional(),\n name: z.string().describe(\"The name of the KPI category (maximum 50 characters)\").nullable().optional(),\n created_at: z.string().describe(\"The UTC date and time the category was created (ISO 8601 format)\").nullable().optional(),\n sort_order: z.number().int().describe(\"Display ordering value for the category (16-bit integer)\").nullable().optional(),\n updated_at: z.string().describe(\"The UTC date and time the category was last updated (ISO 8601 format)\").nullable().optional(),\n}).passthrough().describe(\"Response model containing KPI category information.\");\n\nexport const simplekpiGetKpiCategory: AppAction<\n typeof SimplekpiGetKpiCategoryInput,\n typeof SimplekpiGetKpiCategoryOutput,\n typeof simplekpi.credential\n> = action(\"SIMPLEKPI_GET_KPI_CATEGORY\", {\n slug: \"simplekpi-get-kpi-category\",\n name: \"Get KPI Category\",\n description: \"Tool to get a specific KPI category by ID from SimpleKPI. Use when you need to retrieve detailed information about a particular KPI category.\",\n input: SimplekpiGetKpiCategoryInput,\n output: SimplekpiGetKpiCategoryOutput,\n});\n"],"mappings":";;;AAiBA,MAAa,0BAIT,OAAO,8BAA8B;CACvC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAnB0C,EAAE,OAAO,EACnD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uDAAuD,EACvF,CAAC,CAAC,CAAC,SAAS,6DAiBH;CACP,QAjB2C,EAAE,OAAO;EACpD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpH,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxH,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/get-kpi-entry.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-kpi-entry.cjs","names":["z","action"],"sources":["../../src/actions/get-kpi-entry.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplekpiGetKpiEntryInput = z.object({\n kpientryid: z.number().int().describe(\"The unique identifier of the KPI entry to retrieve\"),\n}).describe(\"Request model for retrieving a specific KPI entry by ID.\");\nexport const SimplekpiGetKpiEntryOutput = z.object({\n id: z.number().int().describe(\"Auto-generated KPI entry ID\").nullable(),\n notes: z.string().describe(\"The note associated with the KPI entry (max 500 characters)\").nullable().optional(),\n actual: z.number().describe(\"The recorded actual value for the period\").nullable(),\n kpi_id: z.number().int().describe(\"The KPI associated with this entry\").nullable(),\n target: z.number().describe(\"The target value of the entry\").nullable().optional(),\n user_id: z.number().int().describe(\"Identifier of the user who created the entry\").nullable(),\n created_at: z.string().describe(\"UTC datetime when the KPI entry was created\").nullable().optional(),\n entry_date: z.string().describe(\"The date of the entry (YYYY-MM-DD format)\").nullable(),\n updated_at: z.string().describe(\"UTC datetime when the KPI entry was last updated\").nullable().optional(),\n}).passthrough().describe(\"Response model for a KPI entry with all its details.\");\n\nexport const simplekpiGetKpiEntry = action(\"SIMPLEKPI_GET_KPI_ENTRY\", {\n slug: \"simplekpi-get-kpi-entry\",\n name: \"Get KPI Entry\",\n description: \"Tool to retrieve a specific KPI entry by ID. Use when you need to fetch detailed information about a particular KPI entry including actual values, targets, notes, and timestamps.\",\n input: SimplekpiGetKpiEntryInput,\n output: SimplekpiGetKpiEntryOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,EAChD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD,EAC5F,CAAC,CAAC,CAAC,SAAS,0DAA0D;AACtE,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACtE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CACjF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACjF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CAC5F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACtF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAAsD;AAEhF,MAAa,uBAAuBC,eAAAA,OAAO,2BAA2B;CACpE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-kpi-entry.cjs","names":["z","action"],"sources":["../../src/actions/get-kpi-entry.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { simplekpi } from \"../app\";\n\nexport const SimplekpiGetKpiEntryInput = z.object({\n kpientryid: z.number().int().describe(\"The unique identifier of the KPI entry to retrieve\"),\n}).describe(\"Request model for retrieving a specific KPI entry by ID.\");\nexport const SimplekpiGetKpiEntryOutput = z.object({\n id: z.number().int().describe(\"Auto-generated KPI entry ID\").nullable(),\n notes: z.string().describe(\"The note associated with the KPI entry (max 500 characters)\").nullable().optional(),\n actual: z.number().describe(\"The recorded actual value for the period\").nullable(),\n kpi_id: z.number().int().describe(\"The KPI associated with this entry\").nullable(),\n target: z.number().describe(\"The target value of the entry\").nullable().optional(),\n user_id: z.number().int().describe(\"Identifier of the user who created the entry\").nullable(),\n created_at: z.string().describe(\"UTC datetime when the KPI entry was created\").nullable().optional(),\n entry_date: z.string().describe(\"The date of the entry (YYYY-MM-DD format)\").nullable(),\n updated_at: z.string().describe(\"UTC datetime when the KPI entry was last updated\").nullable().optional(),\n}).passthrough().describe(\"Response model for a KPI entry with all its details.\");\n\nexport const simplekpiGetKpiEntry: AppAction<\n typeof SimplekpiGetKpiEntryInput,\n typeof SimplekpiGetKpiEntryOutput,\n typeof simplekpi.credential\n> = action(\"SIMPLEKPI_GET_KPI_ENTRY\", {\n slug: \"simplekpi-get-kpi-entry\",\n name: \"Get KPI Entry\",\n description: \"Tool to retrieve a specific KPI entry by ID. Use when you need to fetch detailed information about a particular KPI entry including actual values, targets, notes, and timestamps.\",\n input: SimplekpiGetKpiEntryInput,\n output: SimplekpiGetKpiEntryOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,EAChD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD,EAC5F,CAAC,CAAC,CAAC,SAAS,0DAA0D;AACtE,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACtE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CACjF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACjF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CAC5F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACtF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAAsD;AAEhF,MAAa,uBAITC,eAAAA,OAAO,2BAA2B;CACpC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { simplekpi } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-kpi-entry.d.ts
@@ -15,29 +17,7 @@ declare const SimplekpiGetKpiEntryOutput: z.ZodObject<{
15
17
  entry_date: z.ZodNullable<z.ZodString>;
16
18
  updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
19
  }, z.core.$loose>;
18
- declare const simplekpiGetKpiEntry: import("@keystrokehq/action").WorkflowActionDefinition<{
19
- kpientryid: number;
20
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"simplekpi", z.ZodObject<{
21
- connectionId: z.ZodString;
22
- entityId: z.ZodString;
23
- instanceId: z.ZodString;
24
- }, z.core.$strip>, z.ZodObject<{
25
- username: z.ZodString;
26
- password: z.ZodString;
27
- subdomain: z.ZodString;
28
- generic_api_key: z.ZodString;
29
- generic_id: z.ZodString;
30
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"simplekpi", z.ZodObject<{
31
- connectionId: z.ZodString;
32
- entityId: z.ZodString;
33
- instanceId: z.ZodString;
34
- }, z.core.$strip>, z.ZodObject<{
35
- username: z.ZodString;
36
- password: z.ZodString;
37
- subdomain: z.ZodString;
38
- generic_api_key: z.ZodString;
39
- generic_id: z.ZodString;
40
- }, z.core.$strip>>]>;
20
+ declare const simplekpiGetKpiEntry: AppAction<typeof SimplekpiGetKpiEntryInput, typeof SimplekpiGetKpiEntryOutput, typeof simplekpi.credential>;
41
21
  //#endregion
42
22
  export { simplekpiGetKpiEntry };
43
23
  //# sourceMappingURL=get-kpi-entry.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-kpi-entry.d.cts","names":[],"sources":["../../src/actions/get-kpi-entry.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;cAGzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;cAY1B,oBAAA,gCAAoB,wBAAA"}
1
+ {"version":3,"file":"get-kpi-entry.d.cts","names":[],"sources":["../../src/actions/get-kpi-entry.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;cAGzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;cAY1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,SACA,SAAA,CAAU,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { simplekpi } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-kpi-entry.d.ts
@@ -15,29 +17,7 @@ declare const SimplekpiGetKpiEntryOutput: z.ZodObject<{
15
17
  entry_date: z.ZodNullable<z.ZodString>;
16
18
  updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
19
  }, z.core.$loose>;
18
- declare const simplekpiGetKpiEntry: import("@keystrokehq/action").WorkflowActionDefinition<{
19
- kpientryid: number;
20
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"simplekpi", z.ZodObject<{
21
- connectionId: z.ZodString;
22
- entityId: z.ZodString;
23
- instanceId: z.ZodString;
24
- }, z.core.$strip>, z.ZodObject<{
25
- username: z.ZodString;
26
- password: z.ZodString;
27
- subdomain: z.ZodString;
28
- generic_api_key: z.ZodString;
29
- generic_id: z.ZodString;
30
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"simplekpi", z.ZodObject<{
31
- connectionId: z.ZodString;
32
- entityId: z.ZodString;
33
- instanceId: z.ZodString;
34
- }, z.core.$strip>, z.ZodObject<{
35
- username: z.ZodString;
36
- password: z.ZodString;
37
- subdomain: z.ZodString;
38
- generic_api_key: z.ZodString;
39
- generic_id: z.ZodString;
40
- }, z.core.$strip>>]>;
20
+ declare const simplekpiGetKpiEntry: AppAction<typeof SimplekpiGetKpiEntryInput, typeof SimplekpiGetKpiEntryOutput, typeof simplekpi.credential>;
41
21
  //#endregion
42
22
  export { simplekpiGetKpiEntry };
43
23
  //# sourceMappingURL=get-kpi-entry.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-kpi-entry.d.mts","names":[],"sources":["../../src/actions/get-kpi-entry.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;cAGzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;cAY1B,oBAAA,gCAAoB,wBAAA"}
1
+ {"version":3,"file":"get-kpi-entry.d.mts","names":[],"sources":["../../src/actions/get-kpi-entry.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;cAGzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;cAY1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,SACA,SAAA,CAAU,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const simplekpiGetKpiEntry = action("SIMPLEKPI_GET_KPI_ENTRY", {
@@ -1 +1 @@
1
- {"version":3,"file":"get-kpi-entry.mjs","names":[],"sources":["../../src/actions/get-kpi-entry.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplekpiGetKpiEntryInput = z.object({\n kpientryid: z.number().int().describe(\"The unique identifier of the KPI entry to retrieve\"),\n}).describe(\"Request model for retrieving a specific KPI entry by ID.\");\nexport const SimplekpiGetKpiEntryOutput = z.object({\n id: z.number().int().describe(\"Auto-generated KPI entry ID\").nullable(),\n notes: z.string().describe(\"The note associated with the KPI entry (max 500 characters)\").nullable().optional(),\n actual: z.number().describe(\"The recorded actual value for the period\").nullable(),\n kpi_id: z.number().int().describe(\"The KPI associated with this entry\").nullable(),\n target: z.number().describe(\"The target value of the entry\").nullable().optional(),\n user_id: z.number().int().describe(\"Identifier of the user who created the entry\").nullable(),\n created_at: z.string().describe(\"UTC datetime when the KPI entry was created\").nullable().optional(),\n entry_date: z.string().describe(\"The date of the entry (YYYY-MM-DD format)\").nullable(),\n updated_at: z.string().describe(\"UTC datetime when the KPI entry was last updated\").nullable().optional(),\n}).passthrough().describe(\"Response model for a KPI entry with all its details.\");\n\nexport const simplekpiGetKpiEntry = action(\"SIMPLEKPI_GET_KPI_ENTRY\", {\n slug: \"simplekpi-get-kpi-entry\",\n name: \"Get KPI Entry\",\n description: \"Tool to retrieve a specific KPI entry by ID. Use when you need to fetch detailed information about a particular KPI entry including actual values, targets, notes, and timestamps.\",\n input: SimplekpiGetKpiEntryInput,\n output: SimplekpiGetKpiEntryOutput,\n});\n"],"mappings":";;AAmBA,MAAa,uBAAuB,OAAO,2BAA2B;CACpE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAnBuC,EAAE,OAAO,EAChD,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD,EAC5F,CAAC,CAAC,CAAC,SAAS,0DAiBH;CACP,QAjBwC,EAAE,OAAO;EACjD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;EACtE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9G,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;EACjF,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;EACjF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjF,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;EAC5F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;EACtF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"get-kpi-entry.mjs","names":[],"sources":["../../src/actions/get-kpi-entry.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { simplekpi } from \"../app\";\n\nexport const SimplekpiGetKpiEntryInput = z.object({\n kpientryid: z.number().int().describe(\"The unique identifier of the KPI entry to retrieve\"),\n}).describe(\"Request model for retrieving a specific KPI entry by ID.\");\nexport const SimplekpiGetKpiEntryOutput = z.object({\n id: z.number().int().describe(\"Auto-generated KPI entry ID\").nullable(),\n notes: z.string().describe(\"The note associated with the KPI entry (max 500 characters)\").nullable().optional(),\n actual: z.number().describe(\"The recorded actual value for the period\").nullable(),\n kpi_id: z.number().int().describe(\"The KPI associated with this entry\").nullable(),\n target: z.number().describe(\"The target value of the entry\").nullable().optional(),\n user_id: z.number().int().describe(\"Identifier of the user who created the entry\").nullable(),\n created_at: z.string().describe(\"UTC datetime when the KPI entry was created\").nullable().optional(),\n entry_date: z.string().describe(\"The date of the entry (YYYY-MM-DD format)\").nullable(),\n updated_at: z.string().describe(\"UTC datetime when the KPI entry was last updated\").nullable().optional(),\n}).passthrough().describe(\"Response model for a KPI entry with all its details.\");\n\nexport const simplekpiGetKpiEntry: AppAction<\n typeof SimplekpiGetKpiEntryInput,\n typeof SimplekpiGetKpiEntryOutput,\n typeof simplekpi.credential\n> = action(\"SIMPLEKPI_GET_KPI_ENTRY\", {\n slug: \"simplekpi-get-kpi-entry\",\n name: \"Get KPI Entry\",\n description: \"Tool to retrieve a specific KPI entry by ID. Use when you need to fetch detailed information about a particular KPI entry including actual values, targets, notes, and timestamps.\",\n input: SimplekpiGetKpiEntryInput,\n output: SimplekpiGetKpiEntryOutput,\n});\n"],"mappings":";;;AAqBA,MAAa,uBAIT,OAAO,2BAA2B;CACpC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAvBuC,EAAE,OAAO,EAChD,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD,EAC5F,CAAC,CAAC,CAAC,SAAS,0DAqBH;CACP,QArBwC,EAAE,OAAO;EACjD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;EACtE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9G,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;EACjF,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;EACjF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjF,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;EAC5F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;EACtF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/get-kpi-frequency.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-kpi-frequency.cjs","names":["z","action"],"sources":["../../src/actions/get-kpi-frequency.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplekpiGetKpiFrequencyInput = z.object({\n id: z.string().describe(\"The frequency ID (e.g., 'D' for Daily, 'W' for Weekly, 'M' for Monthly)\"),\n}).describe(\"Request model for retrieving a specific KPI frequency by ID.\");\nexport const SimplekpiGetKpiFrequencyOutput = z.object({\n id: z.string().describe(\"The unique identifier of the frequency (e.g., 'D' for Daily)\").nullable().optional(),\n name: z.string().describe(\"The name of the frequency (e.g., 'Daily', 'Weekly', 'Monthly')\").nullable().optional(),\n}).passthrough().describe(\"Response model containing KPI frequency information.\");\n\nexport const simplekpiGetKpiFrequency = action(\"SIMPLEKPI_GET_KPI_FREQUENCY\", {\n slug: \"simplekpi-get-kpi-frequency\",\n name: \"Get KPI Frequency\",\n description: \"Tool to get a specific KPI frequency by ID from SimplekPI. Use when you need to retrieve information about a particular frequency setting for KPIs.\",\n input: SimplekpiGetKpiFrequencyInput,\n output: SimplekpiGetKpiFrequencyOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO,EACpD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,EACnG,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAC1E,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAAsD;AAEhF,MAAa,2BAA2BC,eAAAA,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-kpi-frequency.cjs","names":["z","action"],"sources":["../../src/actions/get-kpi-frequency.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { simplekpi } from \"../app\";\n\nexport const SimplekpiGetKpiFrequencyInput = z.object({\n id: z.string().describe(\"The frequency ID (e.g., 'D' for Daily, 'W' for Weekly, 'M' for Monthly)\"),\n}).describe(\"Request model for retrieving a specific KPI frequency by ID.\");\nexport const SimplekpiGetKpiFrequencyOutput = z.object({\n id: z.string().describe(\"The unique identifier of the frequency (e.g., 'D' for Daily)\").nullable().optional(),\n name: z.string().describe(\"The name of the frequency (e.g., 'Daily', 'Weekly', 'Monthly')\").nullable().optional(),\n}).passthrough().describe(\"Response model containing KPI frequency information.\");\n\nexport const simplekpiGetKpiFrequency: AppAction<\n typeof SimplekpiGetKpiFrequencyInput,\n typeof SimplekpiGetKpiFrequencyOutput,\n typeof simplekpi.credential\n> = action(\"SIMPLEKPI_GET_KPI_FREQUENCY\", {\n slug: \"simplekpi-get-kpi-frequency\",\n name: \"Get KPI Frequency\",\n description: \"Tool to get a specific KPI frequency by ID from SimplekPI. Use when you need to retrieve information about a particular frequency setting for KPIs.\",\n input: SimplekpiGetKpiFrequencyInput,\n output: SimplekpiGetKpiFrequencyOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO,EACpD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,EACnG,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAC1E,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAAsD;AAEhF,MAAa,2BAITC,eAAAA,OAAO,+BAA+B;CACxC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { simplekpi } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-kpi-frequency.d.ts
@@ -8,29 +10,7 @@ declare const SimplekpiGetKpiFrequencyOutput: z.ZodObject<{
8
10
  id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9
11
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10
12
  }, z.core.$loose>;
11
- declare const simplekpiGetKpiFrequency: import("@keystrokehq/action").WorkflowActionDefinition<{
12
- id: string;
13
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"simplekpi", z.ZodObject<{
14
- connectionId: z.ZodString;
15
- entityId: z.ZodString;
16
- instanceId: z.ZodString;
17
- }, z.core.$strip>, z.ZodObject<{
18
- username: z.ZodString;
19
- password: z.ZodString;
20
- subdomain: z.ZodString;
21
- generic_api_key: z.ZodString;
22
- generic_id: z.ZodString;
23
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"simplekpi", z.ZodObject<{
24
- connectionId: z.ZodString;
25
- entityId: z.ZodString;
26
- instanceId: z.ZodString;
27
- }, z.core.$strip>, z.ZodObject<{
28
- username: z.ZodString;
29
- password: z.ZodString;
30
- subdomain: z.ZodString;
31
- generic_api_key: z.ZodString;
32
- generic_id: z.ZodString;
33
- }, z.core.$strip>>]>;
13
+ declare const simplekpiGetKpiFrequency: AppAction<typeof SimplekpiGetKpiFrequencyInput, typeof SimplekpiGetKpiFrequencyOutput, typeof simplekpi.credential>;
34
14
  //#endregion
35
15
  export { simplekpiGetKpiFrequency };
36
16
  //# sourceMappingURL=get-kpi-frequency.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-kpi-frequency.d.cts","names":[],"sources":["../../src/actions/get-kpi-frequency.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;cAG7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;cAK9B,wBAAA,gCAAwB,wBAAA"}
1
+ {"version":3,"file":"get-kpi-frequency.d.cts","names":[],"sources":["../../src/actions/get-kpi-frequency.ts"],"mappings":";;;;;cAMa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;cAG7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;cAK9B,wBAAA,EAA0B,SAAA,QAC9B,6BAAA,SACA,8BAAA,SACA,SAAA,CAAU,UAAA"}