@keystrokehq/simplekpi 0.1.5 → 0.1.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (421) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/add-user-group-item.cjs +1 -0
  4. package/dist/actions/add-user-group-item.cjs.map +1 -1
  5. package/dist/actions/add-user-group-item.d.cts +3 -24
  6. package/dist/actions/add-user-group-item.d.cts.map +1 -1
  7. package/dist/actions/add-user-group-item.d.mts +3 -24
  8. package/dist/actions/add-user-group-item.d.mts.map +1 -1
  9. package/dist/actions/add-user-group-item.mjs +1 -0
  10. package/dist/actions/add-user-group-item.mjs.map +1 -1
  11. package/dist/actions/add-user-kpi.cjs +1 -0
  12. package/dist/actions/add-user-kpi.cjs.map +1 -1
  13. package/dist/actions/add-user-kpi.d.cts +3 -26
  14. package/dist/actions/add-user-kpi.d.cts.map +1 -1
  15. package/dist/actions/add-user-kpi.d.mts +3 -26
  16. package/dist/actions/add-user-kpi.d.mts.map +1 -1
  17. package/dist/actions/add-user-kpi.mjs +1 -0
  18. package/dist/actions/add-user-kpi.mjs.map +1 -1
  19. package/dist/actions/create-category-kpi.cjs +1 -0
  20. package/dist/actions/create-category-kpi.cjs.map +1 -1
  21. package/dist/actions/create-category-kpi.d.cts +3 -31
  22. package/dist/actions/create-category-kpi.d.cts.map +1 -1
  23. package/dist/actions/create-category-kpi.d.mts +3 -31
  24. package/dist/actions/create-category-kpi.d.mts.map +1 -1
  25. package/dist/actions/create-category-kpi.mjs +1 -0
  26. package/dist/actions/create-category-kpi.mjs.map +1 -1
  27. package/dist/actions/create-group-item.cjs +1 -0
  28. package/dist/actions/create-group-item.cjs.map +1 -1
  29. package/dist/actions/create-group-item.d.cts +3 -25
  30. package/dist/actions/create-group-item.d.cts.map +1 -1
  31. package/dist/actions/create-group-item.d.mts +3 -25
  32. package/dist/actions/create-group-item.d.mts.map +1 -1
  33. package/dist/actions/create-group-item.mjs +1 -0
  34. package/dist/actions/create-group-item.mjs.map +1 -1
  35. package/dist/actions/create-group.cjs +1 -0
  36. package/dist/actions/create-group.cjs.map +1 -1
  37. package/dist/actions/create-group.d.cts +3 -24
  38. package/dist/actions/create-group.d.cts.map +1 -1
  39. package/dist/actions/create-group.d.mts +3 -24
  40. package/dist/actions/create-group.d.mts.map +1 -1
  41. package/dist/actions/create-group.mjs +1 -0
  42. package/dist/actions/create-group.mjs.map +1 -1
  43. package/dist/actions/create-kpi-category.cjs +1 -0
  44. package/dist/actions/create-kpi-category.cjs.map +1 -1
  45. package/dist/actions/create-kpi-category.d.cts +3 -24
  46. package/dist/actions/create-kpi-category.d.cts.map +1 -1
  47. package/dist/actions/create-kpi-category.d.mts +3 -24
  48. package/dist/actions/create-kpi-category.d.mts.map +1 -1
  49. package/dist/actions/create-kpi-category.mjs +1 -0
  50. package/dist/actions/create-kpi-category.mjs.map +1 -1
  51. package/dist/actions/create-kpi-unit.cjs +1 -0
  52. package/dist/actions/create-kpi-unit.cjs.map +1 -1
  53. package/dist/actions/create-kpi-unit.d.cts +3 -26
  54. package/dist/actions/create-kpi-unit.d.cts.map +1 -1
  55. package/dist/actions/create-kpi-unit.d.mts +3 -26
  56. package/dist/actions/create-kpi-unit.d.mts.map +1 -1
  57. package/dist/actions/create-kpi-unit.mjs +1 -0
  58. package/dist/actions/create-kpi-unit.mjs.map +1 -1
  59. package/dist/actions/create-kpi.cjs +1 -0
  60. package/dist/actions/create-kpi.cjs.map +1 -1
  61. package/dist/actions/create-kpi.d.cts +3 -31
  62. package/dist/actions/create-kpi.d.cts.map +1 -1
  63. package/dist/actions/create-kpi.d.mts +3 -31
  64. package/dist/actions/create-kpi.d.mts.map +1 -1
  65. package/dist/actions/create-kpi.mjs +1 -0
  66. package/dist/actions/create-kpi.mjs.map +1 -1
  67. package/dist/actions/create-or-update-kpi-entries.cjs +1 -0
  68. package/dist/actions/create-or-update-kpi-entries.cjs.map +1 -1
  69. package/dist/actions/create-or-update-kpi-entries.d.cts +3 -39
  70. package/dist/actions/create-or-update-kpi-entries.d.cts.map +1 -1
  71. package/dist/actions/create-or-update-kpi-entries.d.mts +3 -39
  72. package/dist/actions/create-or-update-kpi-entries.d.mts.map +1 -1
  73. package/dist/actions/create-or-update-kpi-entries.mjs +1 -0
  74. package/dist/actions/create-or-update-kpi-entries.mjs.map +1 -1
  75. package/dist/actions/create-user.cjs +1 -0
  76. package/dist/actions/create-user.cjs.map +1 -1
  77. package/dist/actions/create-user.d.cts +3 -30
  78. package/dist/actions/create-user.d.cts.map +1 -1
  79. package/dist/actions/create-user.d.mts +3 -30
  80. package/dist/actions/create-user.d.mts.map +1 -1
  81. package/dist/actions/create-user.mjs +1 -0
  82. package/dist/actions/create-user.mjs.map +1 -1
  83. package/dist/actions/delete-category-kpi.cjs +1 -0
  84. package/dist/actions/delete-category-kpi.cjs.map +1 -1
  85. package/dist/actions/delete-category-kpi.d.cts +3 -24
  86. package/dist/actions/delete-category-kpi.d.cts.map +1 -1
  87. package/dist/actions/delete-category-kpi.d.mts +3 -24
  88. package/dist/actions/delete-category-kpi.d.mts.map +1 -1
  89. package/dist/actions/delete-category-kpi.mjs +1 -0
  90. package/dist/actions/delete-category-kpi.mjs.map +1 -1
  91. package/dist/actions/delete-group-item.cjs +1 -0
  92. package/dist/actions/delete-group-item.cjs.map +1 -1
  93. package/dist/actions/delete-group-item.d.cts +3 -24
  94. package/dist/actions/delete-group-item.d.cts.map +1 -1
  95. package/dist/actions/delete-group-item.d.mts +3 -24
  96. package/dist/actions/delete-group-item.d.mts.map +1 -1
  97. package/dist/actions/delete-group-item.mjs +1 -0
  98. package/dist/actions/delete-group-item.mjs.map +1 -1
  99. package/dist/actions/delete-group.cjs +1 -0
  100. package/dist/actions/delete-group.cjs.map +1 -1
  101. package/dist/actions/delete-group.d.cts +3 -23
  102. package/dist/actions/delete-group.d.cts.map +1 -1
  103. package/dist/actions/delete-group.d.mts +3 -23
  104. package/dist/actions/delete-group.d.mts.map +1 -1
  105. package/dist/actions/delete-group.mjs +1 -0
  106. package/dist/actions/delete-group.mjs.map +1 -1
  107. package/dist/actions/delete-kpi-category.cjs +1 -0
  108. package/dist/actions/delete-kpi-category.cjs.map +1 -1
  109. package/dist/actions/delete-kpi-category.d.cts +3 -23
  110. package/dist/actions/delete-kpi-category.d.cts.map +1 -1
  111. package/dist/actions/delete-kpi-category.d.mts +3 -23
  112. package/dist/actions/delete-kpi-category.d.mts.map +1 -1
  113. package/dist/actions/delete-kpi-category.mjs +1 -0
  114. package/dist/actions/delete-kpi-category.mjs.map +1 -1
  115. package/dist/actions/delete-kpi-entry.cjs +1 -0
  116. package/dist/actions/delete-kpi-entry.cjs.map +1 -1
  117. package/dist/actions/delete-kpi-entry.d.cts +3 -23
  118. package/dist/actions/delete-kpi-entry.d.cts.map +1 -1
  119. package/dist/actions/delete-kpi-entry.d.mts +3 -23
  120. package/dist/actions/delete-kpi-entry.d.mts.map +1 -1
  121. package/dist/actions/delete-kpi-entry.mjs +1 -0
  122. package/dist/actions/delete-kpi-entry.mjs.map +1 -1
  123. package/dist/actions/delete-kpi-unit.cjs +1 -0
  124. package/dist/actions/delete-kpi-unit.cjs.map +1 -1
  125. package/dist/actions/delete-kpi-unit.d.cts +3 -23
  126. package/dist/actions/delete-kpi-unit.d.cts.map +1 -1
  127. package/dist/actions/delete-kpi-unit.d.mts +3 -23
  128. package/dist/actions/delete-kpi-unit.d.mts.map +1 -1
  129. package/dist/actions/delete-kpi-unit.mjs +1 -0
  130. package/dist/actions/delete-kpi-unit.mjs.map +1 -1
  131. package/dist/actions/delete-kpi.cjs +1 -0
  132. package/dist/actions/delete-kpi.cjs.map +1 -1
  133. package/dist/actions/delete-kpi.d.cts +3 -23
  134. package/dist/actions/delete-kpi.d.cts.map +1 -1
  135. package/dist/actions/delete-kpi.d.mts +3 -23
  136. package/dist/actions/delete-kpi.d.mts.map +1 -1
  137. package/dist/actions/delete-kpi.mjs +1 -0
  138. package/dist/actions/delete-kpi.mjs.map +1 -1
  139. package/dist/actions/delete-user-group-item.cjs +1 -0
  140. package/dist/actions/delete-user-group-item.cjs.map +1 -1
  141. package/dist/actions/delete-user-group-item.d.cts +3 -24
  142. package/dist/actions/delete-user-group-item.d.cts.map +1 -1
  143. package/dist/actions/delete-user-group-item.d.mts +3 -24
  144. package/dist/actions/delete-user-group-item.d.mts.map +1 -1
  145. package/dist/actions/delete-user-group-item.mjs +1 -0
  146. package/dist/actions/delete-user-group-item.mjs.map +1 -1
  147. package/dist/actions/delete-user-kpi.cjs +1 -0
  148. package/dist/actions/delete-user-kpi.cjs.map +1 -1
  149. package/dist/actions/delete-user-kpi.d.cts +3 -24
  150. package/dist/actions/delete-user-kpi.d.cts.map +1 -1
  151. package/dist/actions/delete-user-kpi.d.mts +3 -24
  152. package/dist/actions/delete-user-kpi.d.mts.map +1 -1
  153. package/dist/actions/delete-user-kpi.mjs +1 -0
  154. package/dist/actions/delete-user-kpi.mjs.map +1 -1
  155. package/dist/actions/delete-user.cjs +1 -0
  156. package/dist/actions/delete-user.cjs.map +1 -1
  157. package/dist/actions/delete-user.d.cts +3 -23
  158. package/dist/actions/delete-user.d.cts.map +1 -1
  159. package/dist/actions/delete-user.d.mts +3 -23
  160. package/dist/actions/delete-user.d.mts.map +1 -1
  161. package/dist/actions/delete-user.mjs +1 -0
  162. package/dist/actions/delete-user.mjs.map +1 -1
  163. package/dist/actions/get-all-data-entries.cjs +1 -0
  164. package/dist/actions/get-all-data-entries.cjs.map +1 -1
  165. package/dist/actions/get-all-data-entries.d.cts +3 -27
  166. package/dist/actions/get-all-data-entries.d.cts.map +1 -1
  167. package/dist/actions/get-all-data-entries.d.mts +3 -27
  168. package/dist/actions/get-all-data-entries.d.mts.map +1 -1
  169. package/dist/actions/get-all-data-entries.mjs +1 -0
  170. package/dist/actions/get-all-data-entries.mjs.map +1 -1
  171. package/dist/actions/get-category-kpi.cjs +1 -0
  172. package/dist/actions/get-category-kpi.cjs.map +1 -1
  173. package/dist/actions/get-category-kpi.d.cts +3 -24
  174. package/dist/actions/get-category-kpi.d.cts.map +1 -1
  175. package/dist/actions/get-category-kpi.d.mts +3 -24
  176. package/dist/actions/get-category-kpi.d.mts.map +1 -1
  177. package/dist/actions/get-category-kpi.mjs +1 -0
  178. package/dist/actions/get-category-kpi.mjs.map +1 -1
  179. package/dist/actions/get-group-item.cjs +1 -0
  180. package/dist/actions/get-group-item.cjs.map +1 -1
  181. package/dist/actions/get-group-item.d.cts +3 -24
  182. package/dist/actions/get-group-item.d.cts.map +1 -1
  183. package/dist/actions/get-group-item.d.mts +3 -24
  184. package/dist/actions/get-group-item.d.mts.map +1 -1
  185. package/dist/actions/get-group-item.mjs +1 -0
  186. package/dist/actions/get-group-item.mjs.map +1 -1
  187. package/dist/actions/get-group.cjs +1 -0
  188. package/dist/actions/get-group.cjs.map +1 -1
  189. package/dist/actions/get-group.d.cts +3 -23
  190. package/dist/actions/get-group.d.cts.map +1 -1
  191. package/dist/actions/get-group.d.mts +3 -23
  192. package/dist/actions/get-group.d.mts.map +1 -1
  193. package/dist/actions/get-group.mjs +1 -0
  194. package/dist/actions/get-group.mjs.map +1 -1
  195. package/dist/actions/get-kpi-category.cjs +1 -0
  196. package/dist/actions/get-kpi-category.cjs.map +1 -1
  197. package/dist/actions/get-kpi-category.d.cts +3 -23
  198. package/dist/actions/get-kpi-category.d.cts.map +1 -1
  199. package/dist/actions/get-kpi-category.d.mts +3 -23
  200. package/dist/actions/get-kpi-category.d.mts.map +1 -1
  201. package/dist/actions/get-kpi-category.mjs +1 -0
  202. package/dist/actions/get-kpi-category.mjs.map +1 -1
  203. package/dist/actions/get-kpi-entry.cjs +1 -0
  204. package/dist/actions/get-kpi-entry.cjs.map +1 -1
  205. package/dist/actions/get-kpi-entry.d.cts +3 -23
  206. package/dist/actions/get-kpi-entry.d.cts.map +1 -1
  207. package/dist/actions/get-kpi-entry.d.mts +3 -23
  208. package/dist/actions/get-kpi-entry.d.mts.map +1 -1
  209. package/dist/actions/get-kpi-entry.mjs +1 -0
  210. package/dist/actions/get-kpi-entry.mjs.map +1 -1
  211. package/dist/actions/get-kpi-frequency.cjs +1 -0
  212. package/dist/actions/get-kpi-frequency.cjs.map +1 -1
  213. package/dist/actions/get-kpi-frequency.d.cts +3 -23
  214. package/dist/actions/get-kpi-frequency.d.cts.map +1 -1
  215. package/dist/actions/get-kpi-frequency.d.mts +3 -23
  216. package/dist/actions/get-kpi-frequency.d.mts.map +1 -1
  217. package/dist/actions/get-kpi-frequency.mjs +1 -0
  218. package/dist/actions/get-kpi-frequency.mjs.map +1 -1
  219. package/dist/actions/get-kpi-icon.cjs +1 -0
  220. package/dist/actions/get-kpi-icon.cjs.map +1 -1
  221. package/dist/actions/get-kpi-icon.d.cts +3 -23
  222. package/dist/actions/get-kpi-icon.d.cts.map +1 -1
  223. package/dist/actions/get-kpi-icon.d.mts +3 -23
  224. package/dist/actions/get-kpi-icon.d.mts.map +1 -1
  225. package/dist/actions/get-kpi-icon.mjs +1 -0
  226. package/dist/actions/get-kpi-icon.mjs.map +1 -1
  227. package/dist/actions/get-kpi-unit.cjs +1 -0
  228. package/dist/actions/get-kpi-unit.cjs.map +1 -1
  229. package/dist/actions/get-kpi-unit.d.cts +3 -23
  230. package/dist/actions/get-kpi-unit.d.cts.map +1 -1
  231. package/dist/actions/get-kpi-unit.d.mts +3 -23
  232. package/dist/actions/get-kpi-unit.d.mts.map +1 -1
  233. package/dist/actions/get-kpi-unit.mjs +1 -0
  234. package/dist/actions/get-kpi-unit.mjs.map +1 -1
  235. package/dist/actions/get-kpi.cjs +1 -0
  236. package/dist/actions/get-kpi.cjs.map +1 -1
  237. package/dist/actions/get-kpi.d.cts +3 -23
  238. package/dist/actions/get-kpi.d.cts.map +1 -1
  239. package/dist/actions/get-kpi.d.mts +3 -23
  240. package/dist/actions/get-kpi.d.mts.map +1 -1
  241. package/dist/actions/get-kpi.mjs +1 -0
  242. package/dist/actions/get-kpi.mjs.map +1 -1
  243. package/dist/actions/get-user-group-item.cjs +1 -0
  244. package/dist/actions/get-user-group-item.cjs.map +1 -1
  245. package/dist/actions/get-user-group-item.d.cts +3 -24
  246. package/dist/actions/get-user-group-item.d.cts.map +1 -1
  247. package/dist/actions/get-user-group-item.d.mts +3 -24
  248. package/dist/actions/get-user-group-item.d.mts.map +1 -1
  249. package/dist/actions/get-user-group-item.mjs +1 -0
  250. package/dist/actions/get-user-group-item.mjs.map +1 -1
  251. package/dist/actions/get-user-kpi.cjs +1 -0
  252. package/dist/actions/get-user-kpi.cjs.map +1 -1
  253. package/dist/actions/get-user-kpi.d.cts +3 -24
  254. package/dist/actions/get-user-kpi.d.cts.map +1 -1
  255. package/dist/actions/get-user-kpi.d.mts +3 -24
  256. package/dist/actions/get-user-kpi.d.mts.map +1 -1
  257. package/dist/actions/get-user-kpi.mjs +1 -0
  258. package/dist/actions/get-user-kpi.mjs.map +1 -1
  259. package/dist/actions/get-user.cjs +1 -0
  260. package/dist/actions/get-user.cjs.map +1 -1
  261. package/dist/actions/get-user.d.cts +3 -23
  262. package/dist/actions/get-user.d.cts.map +1 -1
  263. package/dist/actions/get-user.d.mts +3 -23
  264. package/dist/actions/get-user.d.mts.map +1 -1
  265. package/dist/actions/get-user.mjs +1 -0
  266. package/dist/actions/get-user.mjs.map +1 -1
  267. package/dist/actions/list-category-kpis.cjs +1 -0
  268. package/dist/actions/list-category-kpis.cjs.map +1 -1
  269. package/dist/actions/list-category-kpis.d.cts +3 -23
  270. package/dist/actions/list-category-kpis.d.cts.map +1 -1
  271. package/dist/actions/list-category-kpis.d.mts +3 -23
  272. package/dist/actions/list-category-kpis.d.mts.map +1 -1
  273. package/dist/actions/list-category-kpis.mjs +1 -0
  274. package/dist/actions/list-category-kpis.mjs.map +1 -1
  275. package/dist/actions/list-group-items.cjs +1 -0
  276. package/dist/actions/list-group-items.cjs.map +1 -1
  277. package/dist/actions/list-group-items.d.cts +3 -23
  278. package/dist/actions/list-group-items.d.cts.map +1 -1
  279. package/dist/actions/list-group-items.d.mts +3 -23
  280. package/dist/actions/list-group-items.d.mts.map +1 -1
  281. package/dist/actions/list-group-items.mjs +1 -0
  282. package/dist/actions/list-group-items.mjs.map +1 -1
  283. package/dist/actions/list-groups.cjs +1 -0
  284. package/dist/actions/list-groups.cjs.map +1 -1
  285. package/dist/actions/list-groups.d.cts +3 -21
  286. package/dist/actions/list-groups.d.cts.map +1 -1
  287. package/dist/actions/list-groups.d.mts +3 -21
  288. package/dist/actions/list-groups.d.mts.map +1 -1
  289. package/dist/actions/list-groups.mjs +1 -0
  290. package/dist/actions/list-groups.mjs.map +1 -1
  291. package/dist/actions/list-kpi-categories.cjs +1 -0
  292. package/dist/actions/list-kpi-categories.cjs.map +1 -1
  293. package/dist/actions/list-kpi-categories.d.cts +3 -21
  294. package/dist/actions/list-kpi-categories.d.cts.map +1 -1
  295. package/dist/actions/list-kpi-categories.d.mts +3 -21
  296. package/dist/actions/list-kpi-categories.d.mts.map +1 -1
  297. package/dist/actions/list-kpi-categories.mjs +1 -0
  298. package/dist/actions/list-kpi-categories.mjs.map +1 -1
  299. package/dist/actions/list-kpi-entries.cjs +1 -0
  300. package/dist/actions/list-kpi-entries.cjs.map +1 -1
  301. package/dist/actions/list-kpi-entries.d.cts +3 -28
  302. package/dist/actions/list-kpi-entries.d.cts.map +1 -1
  303. package/dist/actions/list-kpi-entries.d.mts +3 -28
  304. package/dist/actions/list-kpi-entries.d.mts.map +1 -1
  305. package/dist/actions/list-kpi-entries.mjs +1 -0
  306. package/dist/actions/list-kpi-entries.mjs.map +1 -1
  307. package/dist/actions/list-kpi-frequencies.cjs +1 -0
  308. package/dist/actions/list-kpi-frequencies.cjs.map +1 -1
  309. package/dist/actions/list-kpi-frequencies.d.cts +3 -21
  310. package/dist/actions/list-kpi-frequencies.d.cts.map +1 -1
  311. package/dist/actions/list-kpi-frequencies.d.mts +3 -21
  312. package/dist/actions/list-kpi-frequencies.d.mts.map +1 -1
  313. package/dist/actions/list-kpi-frequencies.mjs +1 -0
  314. package/dist/actions/list-kpi-frequencies.mjs.map +1 -1
  315. package/dist/actions/list-kpi-icons.cjs +1 -0
  316. package/dist/actions/list-kpi-icons.cjs.map +1 -1
  317. package/dist/actions/list-kpi-icons.d.cts +3 -21
  318. package/dist/actions/list-kpi-icons.d.cts.map +1 -1
  319. package/dist/actions/list-kpi-icons.d.mts +3 -21
  320. package/dist/actions/list-kpi-icons.d.mts.map +1 -1
  321. package/dist/actions/list-kpi-icons.mjs +1 -0
  322. package/dist/actions/list-kpi-icons.mjs.map +1 -1
  323. package/dist/actions/list-kpi-units.cjs +1 -0
  324. package/dist/actions/list-kpi-units.cjs.map +1 -1
  325. package/dist/actions/list-kpi-units.d.cts +3 -21
  326. package/dist/actions/list-kpi-units.d.cts.map +1 -1
  327. package/dist/actions/list-kpi-units.d.mts +3 -21
  328. package/dist/actions/list-kpi-units.d.mts.map +1 -1
  329. package/dist/actions/list-kpi-units.mjs +1 -0
  330. package/dist/actions/list-kpi-units.mjs.map +1 -1
  331. package/dist/actions/list-kpis.cjs +1 -0
  332. package/dist/actions/list-kpis.cjs.map +1 -1
  333. package/dist/actions/list-kpis.d.cts +3 -21
  334. package/dist/actions/list-kpis.d.cts.map +1 -1
  335. package/dist/actions/list-kpis.d.mts +3 -21
  336. package/dist/actions/list-kpis.d.mts.map +1 -1
  337. package/dist/actions/list-kpis.mjs +1 -0
  338. package/dist/actions/list-kpis.mjs.map +1 -1
  339. package/dist/actions/list-user-group-items.cjs +1 -0
  340. package/dist/actions/list-user-group-items.cjs.map +1 -1
  341. package/dist/actions/list-user-group-items.d.cts +3 -23
  342. package/dist/actions/list-user-group-items.d.cts.map +1 -1
  343. package/dist/actions/list-user-group-items.d.mts +3 -23
  344. package/dist/actions/list-user-group-items.d.mts.map +1 -1
  345. package/dist/actions/list-user-group-items.mjs +1 -0
  346. package/dist/actions/list-user-group-items.mjs.map +1 -1
  347. package/dist/actions/list-user-kpis.cjs +1 -0
  348. package/dist/actions/list-user-kpis.cjs.map +1 -1
  349. package/dist/actions/list-user-kpis.d.cts +3 -23
  350. package/dist/actions/list-user-kpis.d.cts.map +1 -1
  351. package/dist/actions/list-user-kpis.d.mts +3 -23
  352. package/dist/actions/list-user-kpis.d.mts.map +1 -1
  353. package/dist/actions/list-user-kpis.mjs +1 -0
  354. package/dist/actions/list-user-kpis.mjs.map +1 -1
  355. package/dist/actions/update-category-kpi.cjs +1 -0
  356. package/dist/actions/update-category-kpi.cjs.map +1 -1
  357. package/dist/actions/update-category-kpi.d.cts +3 -34
  358. package/dist/actions/update-category-kpi.d.cts.map +1 -1
  359. package/dist/actions/update-category-kpi.d.mts +3 -34
  360. package/dist/actions/update-category-kpi.d.mts.map +1 -1
  361. package/dist/actions/update-category-kpi.mjs +1 -0
  362. package/dist/actions/update-category-kpi.mjs.map +1 -1
  363. package/dist/actions/update-group-item.cjs +1 -0
  364. package/dist/actions/update-group-item.cjs.map +1 -1
  365. package/dist/actions/update-group-item.d.cts +3 -26
  366. package/dist/actions/update-group-item.d.cts.map +1 -1
  367. package/dist/actions/update-group-item.d.mts +3 -26
  368. package/dist/actions/update-group-item.d.mts.map +1 -1
  369. package/dist/actions/update-group-item.mjs +1 -0
  370. package/dist/actions/update-group-item.mjs.map +1 -1
  371. package/dist/actions/update-group.cjs +1 -0
  372. package/dist/actions/update-group.cjs.map +1 -1
  373. package/dist/actions/update-group.d.cts +3 -25
  374. package/dist/actions/update-group.d.cts.map +1 -1
  375. package/dist/actions/update-group.d.mts +3 -25
  376. package/dist/actions/update-group.d.mts.map +1 -1
  377. package/dist/actions/update-group.mjs +1 -0
  378. package/dist/actions/update-group.mjs.map +1 -1
  379. package/dist/actions/update-kpi-entry.cjs +1 -0
  380. package/dist/actions/update-kpi-entry.cjs.map +1 -1
  381. package/dist/actions/update-kpi-entry.d.cts +3 -29
  382. package/dist/actions/update-kpi-entry.d.cts.map +1 -1
  383. package/dist/actions/update-kpi-entry.d.mts +3 -29
  384. package/dist/actions/update-kpi-entry.d.mts.map +1 -1
  385. package/dist/actions/update-kpi-entry.mjs +1 -0
  386. package/dist/actions/update-kpi-entry.mjs.map +1 -1
  387. package/dist/actions/update-kpi-unit.cjs +1 -0
  388. package/dist/actions/update-kpi-unit.cjs.map +1 -1
  389. package/dist/actions/update-kpi-unit.d.cts +3 -27
  390. package/dist/actions/update-kpi-unit.d.cts.map +1 -1
  391. package/dist/actions/update-kpi-unit.d.mts +3 -27
  392. package/dist/actions/update-kpi-unit.d.mts.map +1 -1
  393. package/dist/actions/update-kpi-unit.mjs +1 -0
  394. package/dist/actions/update-kpi-unit.mjs.map +1 -1
  395. package/dist/actions/update-kpi.cjs +1 -0
  396. package/dist/actions/update-kpi.cjs.map +1 -1
  397. package/dist/actions/update-kpi.d.cts +3 -34
  398. package/dist/actions/update-kpi.d.cts.map +1 -1
  399. package/dist/actions/update-kpi.d.mts +3 -34
  400. package/dist/actions/update-kpi.d.mts.map +1 -1
  401. package/dist/actions/update-kpi.mjs +1 -0
  402. package/dist/actions/update-kpi.mjs.map +1 -1
  403. package/dist/actions/update-user.cjs +1 -0
  404. package/dist/actions/update-user.cjs.map +1 -1
  405. package/dist/actions/update-user.d.cts +3 -30
  406. package/dist/actions/update-user.d.cts.map +1 -1
  407. package/dist/actions/update-user.d.mts +3 -30
  408. package/dist/actions/update-user.d.mts.map +1 -1
  409. package/dist/actions/update-user.mjs +1 -0
  410. package/dist/actions/update-user.mjs.map +1 -1
  411. package/dist/app.cjs +8 -7
  412. package/dist/app.cjs.map +1 -1
  413. package/dist/app.d.cts +4 -6
  414. package/dist/app.d.cts.map +1 -1
  415. package/dist/app.d.mts +4 -6
  416. package/dist/app.d.mts.map +1 -1
  417. package/dist/app.mjs +0 -1
  418. package/dist/app.mjs.map +1 -1
  419. package/dist/index.d.cts +1 -1
  420. package/dist/index.d.mts +1 -1
  421. package/package.json +2 -2
@@ -1,3 +1,5 @@
1
+ import { simplekpi } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/create-or-update-kpi-entries.d.ts
@@ -22,45 +24,7 @@ declare const SimplekpiCreateOrUpdateKpiEntriesInput: z.ZodObject<{
22
24
  declare const SimplekpiCreateOrUpdateKpiEntriesOutput: z.ZodObject<{
23
25
  rows_added: z.ZodNullable<z.ZodNumber>;
24
26
  }, z.core.$loose>;
25
- declare const simplekpiCreateOrUpdateKpiEntries: import("@keystrokehq/action").WorkflowActionDefinition<{
26
- entries: {
27
- [x: string]: unknown;
28
- kpi_id: number;
29
- entry_date: string;
30
- email?: string | undefined;
31
- notes?: string | undefined;
32
- actual?: number | undefined;
33
- target?: number | undefined;
34
- user_id?: number | undefined;
35
- setNotes?: boolean | undefined;
36
- setActual?: boolean | undefined;
37
- setTarget?: boolean | undefined;
38
- addToActual?: boolean | undefined;
39
- }[];
40
- hasNotes?: boolean | undefined;
41
- hasActuals?: boolean | undefined;
42
- hasTargets?: boolean | undefined;
43
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"simplekpi", z.ZodObject<{
44
- connectionId: z.ZodString;
45
- entityId: z.ZodString;
46
- instanceId: z.ZodString;
47
- }, z.core.$strip>, z.ZodObject<{
48
- username: z.ZodString;
49
- password: z.ZodString;
50
- subdomain: z.ZodString;
51
- generic_api_key: z.ZodString;
52
- generic_id: z.ZodString;
53
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"simplekpi", z.ZodObject<{
54
- connectionId: z.ZodString;
55
- entityId: z.ZodString;
56
- instanceId: z.ZodString;
57
- }, z.core.$strip>, z.ZodObject<{
58
- username: z.ZodString;
59
- password: z.ZodString;
60
- subdomain: z.ZodString;
61
- generic_api_key: z.ZodString;
62
- generic_id: z.ZodString;
63
- }, z.core.$strip>>]>;
27
+ declare const simplekpiCreateOrUpdateKpiEntries: AppAction<typeof SimplekpiCreateOrUpdateKpiEntriesInput, typeof SimplekpiCreateOrUpdateKpiEntriesOutput, typeof simplekpi.credential>;
64
28
  //#endregion
65
29
  export { simplekpiCreateOrUpdateKpiEntries };
66
30
  //# sourceMappingURL=create-or-update-kpi-entries.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-or-update-kpi-entries.d.cts","names":[],"sources":["../../src/actions/create-or-update-kpi-entries.ts"],"mappings":";;;cAIa,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAkBtC,uCAAA,EAAuC,CAAA,CAAA,SAAA;;;cAIvC,iCAAA,gCAAiC,wBAAA"}
1
+ {"version":3,"file":"create-or-update-kpi-entries.d.cts","names":[],"sources":["../../src/actions/create-or-update-kpi-entries.ts"],"mappings":";;;;;cAMa,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAkBtC,uCAAA,EAAuC,CAAA,CAAA,SAAA;;;cAIvC,iCAAA,EAAmC,SAAA,QACvC,sCAAA,SACA,uCAAA,SACA,SAAA,CAAU,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { simplekpi } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/create-or-update-kpi-entries.d.ts
@@ -22,45 +24,7 @@ declare const SimplekpiCreateOrUpdateKpiEntriesInput: z.ZodObject<{
22
24
  declare const SimplekpiCreateOrUpdateKpiEntriesOutput: z.ZodObject<{
23
25
  rows_added: z.ZodNullable<z.ZodNumber>;
24
26
  }, z.core.$loose>;
25
- declare const simplekpiCreateOrUpdateKpiEntries: import("@keystrokehq/action").WorkflowActionDefinition<{
26
- entries: {
27
- [x: string]: unknown;
28
- kpi_id: number;
29
- entry_date: string;
30
- email?: string | undefined;
31
- notes?: string | undefined;
32
- actual?: number | undefined;
33
- target?: number | undefined;
34
- user_id?: number | undefined;
35
- setNotes?: boolean | undefined;
36
- setActual?: boolean | undefined;
37
- setTarget?: boolean | undefined;
38
- addToActual?: boolean | undefined;
39
- }[];
40
- hasNotes?: boolean | undefined;
41
- hasActuals?: boolean | undefined;
42
- hasTargets?: boolean | undefined;
43
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"simplekpi", z.ZodObject<{
44
- connectionId: z.ZodString;
45
- entityId: z.ZodString;
46
- instanceId: z.ZodString;
47
- }, z.core.$strip>, z.ZodObject<{
48
- username: z.ZodString;
49
- password: z.ZodString;
50
- subdomain: z.ZodString;
51
- generic_api_key: z.ZodString;
52
- generic_id: z.ZodString;
53
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"simplekpi", z.ZodObject<{
54
- connectionId: z.ZodString;
55
- entityId: z.ZodString;
56
- instanceId: z.ZodString;
57
- }, z.core.$strip>, z.ZodObject<{
58
- username: z.ZodString;
59
- password: z.ZodString;
60
- subdomain: z.ZodString;
61
- generic_api_key: z.ZodString;
62
- generic_id: z.ZodString;
63
- }, z.core.$strip>>]>;
27
+ declare const simplekpiCreateOrUpdateKpiEntries: AppAction<typeof SimplekpiCreateOrUpdateKpiEntriesInput, typeof SimplekpiCreateOrUpdateKpiEntriesOutput, typeof simplekpi.credential>;
64
28
  //#endregion
65
29
  export { simplekpiCreateOrUpdateKpiEntries };
66
30
  //# sourceMappingURL=create-or-update-kpi-entries.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-or-update-kpi-entries.d.mts","names":[],"sources":["../../src/actions/create-or-update-kpi-entries.ts"],"mappings":";;;cAIa,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAkBtC,uCAAA,EAAuC,CAAA,CAAA,SAAA;;;cAIvC,iCAAA,gCAAiC,wBAAA"}
1
+ {"version":3,"file":"create-or-update-kpi-entries.d.mts","names":[],"sources":["../../src/actions/create-or-update-kpi-entries.ts"],"mappings":";;;;;cAMa,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAkBtC,uCAAA,EAAuC,CAAA,CAAA,SAAA;;;cAIvC,iCAAA,EAAmC,SAAA,QACvC,sCAAA,SACA,uCAAA,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 simplekpiCreateOrUpdateKpiEntries = action("SIMPLEKPI_CREATE_OR_UPDATE_KPI_ENTRIES", {
@@ -1 +1 @@
1
- {"version":3,"file":"create-or-update-kpi-entries.mjs","names":[],"sources":["../../src/actions/create-or-update-kpi-entries.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplekpiCreateOrUpdateKpiEntriesInput = z.object({\n entries: z.array(z.object({\n email: z.string().describe(\"Email address of the user. Use this OR user_id to identify the user\").optional(),\n notes: z.string().describe(\"Notes or comments for this KPI entry\").optional(),\n actual: z.number().describe(\"Actual value for this KPI entry\").optional(),\n kpi_id: z.number().int().describe(\"ID of the KPI to which this entry belongs\"),\n target: z.number().describe(\"Target value for this KPI entry\").optional(),\n user_id: z.number().int().describe(\"ID of the user. Use this OR email to identify the user\").optional(),\n setNotes: z.boolean().describe(\"Whether to set the notes field (true) or leave it unchanged (false)\").optional(),\n setActual: z.boolean().describe(\"Whether to set the actual value (true) or leave it unchanged (false)\").optional(),\n setTarget: z.boolean().describe(\"Whether to set the target value (true) or leave it unchanged (false)\").optional(),\n entry_date: z.string().describe(\"Date of the entry in ISO 8601 format (e.g., '2026-02-01T00:00:00')\"),\n addToActual: z.boolean().describe(\"Whether to add to the existing actual value (true) or replace it (false)\").optional(),\n}).passthrough().describe(\"Individual KPI entry within a batch operation.\")).describe(\"Array of KPI entry objects to create or update. Maximum 5000 entries per batch\"),\n hasNotes: z.boolean().describe(\"Indicates whether the batch contains notes. Helps optimize processing\").optional(),\n hasActuals: z.boolean().describe(\"Indicates whether the batch contains actual values. Helps optimize processing\").optional(),\n hasTargets: z.boolean().describe(\"Indicates whether the batch contains target values. Helps optimize processing\").optional(),\n}).describe(\"Request model for batch creating or updating multiple KPI entries.\");\nexport const SimplekpiCreateOrUpdateKpiEntriesOutput = z.object({\n rows_added: z.number().int().describe(\"Number of entries successfully added or updated\").nullable(),\n}).passthrough().describe(\"Response model for batch KPI entries operation.\");\n\nexport const simplekpiCreateOrUpdateKpiEntries = action(\"SIMPLEKPI_CREATE_OR_UPDATE_KPI_ENTRIES\", {\n slug: \"simplekpi-create-or-update-kpi-entries\",\n name: \"Batch KPI Entries\",\n description: \"Tool to batch create or update multiple KPI entries at once. Use when you need to load multiple KPI data points efficiently (up to 5000 entries per batch). Each entry must have a kpi_id, entry_date, and either email or user_id.\",\n input: SimplekpiCreateOrUpdateKpiEntriesInput,\n output: SimplekpiCreateOrUpdateKpiEntriesOutput,\n});\n"],"mappings":";;AA0BA,MAAa,oCAAoC,OAAO,0CAA0C;CAChG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA1BoD,EAAE,OAAO;EAC7D,SAAS,EAAE,MAAM,EAAE,OAAO;GAC1B,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;GAC3G,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;GAC5E,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;GACxE,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C;GAC7E,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;GACxE,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;GACtG,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;GAC/G,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;GACjH,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;GACjH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE;GACpG,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;EACzH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,CAAC,SAAS,gFAAgF;EACpK,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;EACjH,YAAY,EAAE,QAAQ,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;EAC3H,YAAY,EAAE,QAAQ,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;CAC7H,CAAC,CAAC,CAAC,SAAS,oEASH;CACP,QATqD,EAAE,OAAO,EAC9D,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,EACpG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"create-or-update-kpi-entries.mjs","names":[],"sources":["../../src/actions/create-or-update-kpi-entries.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 SimplekpiCreateOrUpdateKpiEntriesInput = z.object({\n entries: z.array(z.object({\n email: z.string().describe(\"Email address of the user. Use this OR user_id to identify the user\").optional(),\n notes: z.string().describe(\"Notes or comments for this KPI entry\").optional(),\n actual: z.number().describe(\"Actual value for this KPI entry\").optional(),\n kpi_id: z.number().int().describe(\"ID of the KPI to which this entry belongs\"),\n target: z.number().describe(\"Target value for this KPI entry\").optional(),\n user_id: z.number().int().describe(\"ID of the user. Use this OR email to identify the user\").optional(),\n setNotes: z.boolean().describe(\"Whether to set the notes field (true) or leave it unchanged (false)\").optional(),\n setActual: z.boolean().describe(\"Whether to set the actual value (true) or leave it unchanged (false)\").optional(),\n setTarget: z.boolean().describe(\"Whether to set the target value (true) or leave it unchanged (false)\").optional(),\n entry_date: z.string().describe(\"Date of the entry in ISO 8601 format (e.g., '2026-02-01T00:00:00')\"),\n addToActual: z.boolean().describe(\"Whether to add to the existing actual value (true) or replace it (false)\").optional(),\n}).passthrough().describe(\"Individual KPI entry within a batch operation.\")).describe(\"Array of KPI entry objects to create or update. Maximum 5000 entries per batch\"),\n hasNotes: z.boolean().describe(\"Indicates whether the batch contains notes. Helps optimize processing\").optional(),\n hasActuals: z.boolean().describe(\"Indicates whether the batch contains actual values. Helps optimize processing\").optional(),\n hasTargets: z.boolean().describe(\"Indicates whether the batch contains target values. Helps optimize processing\").optional(),\n}).describe(\"Request model for batch creating or updating multiple KPI entries.\");\nexport const SimplekpiCreateOrUpdateKpiEntriesOutput = z.object({\n rows_added: z.number().int().describe(\"Number of entries successfully added or updated\").nullable(),\n}).passthrough().describe(\"Response model for batch KPI entries operation.\");\n\nexport const simplekpiCreateOrUpdateKpiEntries: AppAction<\n typeof SimplekpiCreateOrUpdateKpiEntriesInput,\n typeof SimplekpiCreateOrUpdateKpiEntriesOutput,\n typeof simplekpi.credential\n> = action(\"SIMPLEKPI_CREATE_OR_UPDATE_KPI_ENTRIES\", {\n slug: \"simplekpi-create-or-update-kpi-entries\",\n name: \"Batch KPI Entries\",\n description: \"Tool to batch create or update multiple KPI entries at once. Use when you need to load multiple KPI data points efficiently (up to 5000 entries per batch). Each entry must have a kpi_id, entry_date, and either email or user_id.\",\n input: SimplekpiCreateOrUpdateKpiEntriesInput,\n output: SimplekpiCreateOrUpdateKpiEntriesOutput,\n});\n"],"mappings":";;;AA4BA,MAAa,oCAIT,OAAO,0CAA0C;CACnD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA9BoD,EAAE,OAAO;EAC7D,SAAS,EAAE,MAAM,EAAE,OAAO;GAC1B,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;GAC3G,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;GAC5E,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;GACxE,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C;GAC7E,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;GACxE,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;GACtG,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;GAC/G,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;GACjH,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;GACjH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE;GACpG,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;EACzH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,CAAC,SAAS,gFAAgF;EACpK,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;EACjH,YAAY,EAAE,QAAQ,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;EAC3H,YAAY,EAAE,QAAQ,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;CAC7H,CAAC,CAAC,CAAC,SAAS,oEAaH;CACP,QAbqD,EAAE,OAAO,EAC9D,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,EACpG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/create-user.ts
@@ -1 +1 @@
1
- {"version":3,"file":"create-user.cjs","names":["z","action"],"sources":["../../src/actions/create-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplekpiCreateUserInput = z.object({\n email: z.string().describe(\"Valid email address for login\"),\n password: z.string().describe(\"Password for new user. Must be at least 8 characters long\"),\n last_name: z.string().describe(\"Last name of user (optional)\").optional(),\n user_type: z.enum([\"Admin\", \"Director\", \"Manager\", \"User\"]).describe(\"User type: Admin, Director, Manager, or User\"),\n first_name: z.string().describe(\"First name of user\"),\n user_status_id: z.enum([\"A\", \"L\"]).describe(\"User status: A for Active or L for Locked\"),\n can_manage_users: z.boolean().describe(\"Whether user can manage other users. Relevant for Manager type\"),\n can_admin_settings: z.boolean().describe(\"Whether user can access admin settings. Relevant for Admin type\"),\n}).describe(\"Request to create a new user in SimpleKPI.\");\nexport const SimplekpiCreateUserOutput = z.object({\n id: z.number().int().describe(\"Unique identifier for the newly created user\").nullable().optional(),\n email: z.string().describe(\"Email address of the user\").nullable().optional(),\n last_name: z.string().describe(\"Last name of the user\").nullable().optional(),\n user_type: z.string().describe(\"User type (Admin, Director, Manager, or User)\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the user was created\").nullable().optional(),\n first_name: z.string().describe(\"First name of the user\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the user was last updated\").nullable().optional(),\n user_status_id: z.string().describe(\"User status (A for Active, L for Locked)\").nullable().optional(),\n can_manage_users: z.boolean().describe(\"Whether user can manage other users\").nullable().optional(),\n can_admin_settings: z.boolean().describe(\"Whether user can access admin settings\").nullable().optional(),\n}).passthrough().describe(\"Response containing created user details.\");\n\nexport const simplekpiCreateUser = action(\"SIMPLEKPI_CREATE_USER\", {\n slug: \"simplekpi-create-user\",\n name: \"Create User\",\n description: \"Tool to create a new user account in SimpleKPI. Use when you need to add a new user with specific permissions and access levels.\",\n input: SimplekpiCreateUserInput,\n output: SimplekpiCreateUserOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;CAC1D,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D;CACzF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACxE,WAAWA,IAAAA,EAAE,KAAK;EAAC;EAAS;EAAY;EAAW;CAAM,CAAC,CAAC,CAAC,SAAS,8CAA8C;CACnH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB;CACpD,gBAAgBA,IAAAA,EAAE,KAAK,CAAC,KAAK,GAAG,CAAC,CAAC,CAAC,SAAS,2CAA2C;CACvF,kBAAkBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,gEAAgE;CACvG,oBAAoBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,iEAAiE;AAC5G,CAAC,CAAC,CAAC,SAAS,4CAA4C;AACxD,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,kBAAkBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,oBAAoBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAA2C;AAErE,MAAa,sBAAsBC,eAAAA,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"create-user.cjs","names":["z","action"],"sources":["../../src/actions/create-user.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 SimplekpiCreateUserInput = z.object({\n email: z.string().describe(\"Valid email address for login\"),\n password: z.string().describe(\"Password for new user. Must be at least 8 characters long\"),\n last_name: z.string().describe(\"Last name of user (optional)\").optional(),\n user_type: z.enum([\"Admin\", \"Director\", \"Manager\", \"User\"]).describe(\"User type: Admin, Director, Manager, or User\"),\n first_name: z.string().describe(\"First name of user\"),\n user_status_id: z.enum([\"A\", \"L\"]).describe(\"User status: A for Active or L for Locked\"),\n can_manage_users: z.boolean().describe(\"Whether user can manage other users. Relevant for Manager type\"),\n can_admin_settings: z.boolean().describe(\"Whether user can access admin settings. Relevant for Admin type\"),\n}).describe(\"Request to create a new user in SimpleKPI.\");\nexport const SimplekpiCreateUserOutput = z.object({\n id: z.number().int().describe(\"Unique identifier for the newly created user\").nullable().optional(),\n email: z.string().describe(\"Email address of the user\").nullable().optional(),\n last_name: z.string().describe(\"Last name of the user\").nullable().optional(),\n user_type: z.string().describe(\"User type (Admin, Director, Manager, or User)\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the user was created\").nullable().optional(),\n first_name: z.string().describe(\"First name of the user\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the user was last updated\").nullable().optional(),\n user_status_id: z.string().describe(\"User status (A for Active, L for Locked)\").nullable().optional(),\n can_manage_users: z.boolean().describe(\"Whether user can manage other users\").nullable().optional(),\n can_admin_settings: z.boolean().describe(\"Whether user can access admin settings\").nullable().optional(),\n}).passthrough().describe(\"Response containing created user details.\");\n\nexport const simplekpiCreateUser: AppAction<\n typeof SimplekpiCreateUserInput,\n typeof SimplekpiCreateUserOutput,\n typeof simplekpi.credential\n> = action(\"SIMPLEKPI_CREATE_USER\", {\n slug: \"simplekpi-create-user\",\n name: \"Create User\",\n description: \"Tool to create a new user account in SimpleKPI. Use when you need to add a new user with specific permissions and access levels.\",\n input: SimplekpiCreateUserInput,\n output: SimplekpiCreateUserOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;CAC1D,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D;CACzF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACxE,WAAWA,IAAAA,EAAE,KAAK;EAAC;EAAS;EAAY;EAAW;CAAM,CAAC,CAAC,CAAC,SAAS,8CAA8C;CACnH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB;CACpD,gBAAgBA,IAAAA,EAAE,KAAK,CAAC,KAAK,GAAG,CAAC,CAAC,CAAC,SAAS,2CAA2C;CACvF,kBAAkBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,gEAAgE;CACvG,oBAAoBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,iEAAiE;AAC5G,CAAC,CAAC,CAAC,SAAS,4CAA4C;AACxD,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,kBAAkBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,oBAAoBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAA2C;AAErE,MAAa,sBAITC,eAAAA,OAAO,yBAAyB;CAClC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { simplekpi } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/create-user.d.ts
@@ -31,36 +33,7 @@ declare const SimplekpiCreateUserOutput: z.ZodObject<{
31
33
  can_manage_users: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
32
34
  can_admin_settings: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
33
35
  }, z.core.$loose>;
34
- declare const simplekpiCreateUser: import("@keystrokehq/action").WorkflowActionDefinition<{
35
- email: string;
36
- password: string;
37
- user_type: "Admin" | "Director" | "Manager" | "User";
38
- first_name: string;
39
- user_status_id: "A" | "L";
40
- can_manage_users: boolean;
41
- can_admin_settings: boolean;
42
- last_name?: string | undefined;
43
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"simplekpi", z.ZodObject<{
44
- connectionId: z.ZodString;
45
- entityId: z.ZodString;
46
- instanceId: z.ZodString;
47
- }, z.core.$strip>, z.ZodObject<{
48
- username: z.ZodString;
49
- password: z.ZodString;
50
- subdomain: z.ZodString;
51
- generic_api_key: z.ZodString;
52
- generic_id: z.ZodString;
53
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"simplekpi", z.ZodObject<{
54
- connectionId: z.ZodString;
55
- entityId: z.ZodString;
56
- instanceId: z.ZodString;
57
- }, z.core.$strip>, z.ZodObject<{
58
- username: z.ZodString;
59
- password: z.ZodString;
60
- subdomain: z.ZodString;
61
- generic_api_key: z.ZodString;
62
- generic_id: z.ZodString;
63
- }, z.core.$strip>>]>;
36
+ declare const simplekpiCreateUser: AppAction<typeof SimplekpiCreateUserInput, typeof SimplekpiCreateUserOutput, typeof simplekpi.credential>;
64
37
  //#endregion
65
38
  export { simplekpiCreateUser };
66
39
  //# sourceMappingURL=create-user.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-user.d.cts","names":[],"sources":["../../src/actions/create-user.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAUxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;cAazB,mBAAA,gCAAmB,wBAAA"}
1
+ {"version":3,"file":"create-user.d.cts","names":[],"sources":["../../src/actions/create-user.ts"],"mappings":";;;;;cAMa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAUxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;cAazB,mBAAA,EAAqB,SAAA,QACzB,wBAAA,SACA,yBAAA,SACA,SAAA,CAAU,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { simplekpi } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/create-user.d.ts
@@ -31,36 +33,7 @@ declare const SimplekpiCreateUserOutput: z.ZodObject<{
31
33
  can_manage_users: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
32
34
  can_admin_settings: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
33
35
  }, z.core.$loose>;
34
- declare const simplekpiCreateUser: import("@keystrokehq/action").WorkflowActionDefinition<{
35
- email: string;
36
- password: string;
37
- user_type: "Admin" | "Director" | "Manager" | "User";
38
- first_name: string;
39
- user_status_id: "A" | "L";
40
- can_manage_users: boolean;
41
- can_admin_settings: boolean;
42
- last_name?: string | undefined;
43
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"simplekpi", z.ZodObject<{
44
- connectionId: z.ZodString;
45
- entityId: z.ZodString;
46
- instanceId: z.ZodString;
47
- }, z.core.$strip>, z.ZodObject<{
48
- username: z.ZodString;
49
- password: z.ZodString;
50
- subdomain: z.ZodString;
51
- generic_api_key: z.ZodString;
52
- generic_id: z.ZodString;
53
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"simplekpi", z.ZodObject<{
54
- connectionId: z.ZodString;
55
- entityId: z.ZodString;
56
- instanceId: z.ZodString;
57
- }, z.core.$strip>, z.ZodObject<{
58
- username: z.ZodString;
59
- password: z.ZodString;
60
- subdomain: z.ZodString;
61
- generic_api_key: z.ZodString;
62
- generic_id: z.ZodString;
63
- }, z.core.$strip>>]>;
36
+ declare const simplekpiCreateUser: AppAction<typeof SimplekpiCreateUserInput, typeof SimplekpiCreateUserOutput, typeof simplekpi.credential>;
64
37
  //#endregion
65
38
  export { simplekpiCreateUser };
66
39
  //# sourceMappingURL=create-user.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-user.d.mts","names":[],"sources":["../../src/actions/create-user.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAUxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;cAazB,mBAAA,gCAAmB,wBAAA"}
1
+ {"version":3,"file":"create-user.d.mts","names":[],"sources":["../../src/actions/create-user.ts"],"mappings":";;;;;cAMa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAUxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;cAazB,mBAAA,EAAqB,SAAA,QACzB,wBAAA,SACA,yBAAA,SACA,SAAA,CAAU,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const simplekpiCreateUser = action("SIMPLEKPI_CREATE_USER", {
@@ -1 +1 @@
1
- {"version":3,"file":"create-user.mjs","names":[],"sources":["../../src/actions/create-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplekpiCreateUserInput = z.object({\n email: z.string().describe(\"Valid email address for login\"),\n password: z.string().describe(\"Password for new user. Must be at least 8 characters long\"),\n last_name: z.string().describe(\"Last name of user (optional)\").optional(),\n user_type: z.enum([\"Admin\", \"Director\", \"Manager\", \"User\"]).describe(\"User type: Admin, Director, Manager, or User\"),\n first_name: z.string().describe(\"First name of user\"),\n user_status_id: z.enum([\"A\", \"L\"]).describe(\"User status: A for Active or L for Locked\"),\n can_manage_users: z.boolean().describe(\"Whether user can manage other users. Relevant for Manager type\"),\n can_admin_settings: z.boolean().describe(\"Whether user can access admin settings. Relevant for Admin type\"),\n}).describe(\"Request to create a new user in SimpleKPI.\");\nexport const SimplekpiCreateUserOutput = z.object({\n id: z.number().int().describe(\"Unique identifier for the newly created user\").nullable().optional(),\n email: z.string().describe(\"Email address of the user\").nullable().optional(),\n last_name: z.string().describe(\"Last name of the user\").nullable().optional(),\n user_type: z.string().describe(\"User type (Admin, Director, Manager, or User)\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the user was created\").nullable().optional(),\n first_name: z.string().describe(\"First name of the user\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the user was last updated\").nullable().optional(),\n user_status_id: z.string().describe(\"User status (A for Active, L for Locked)\").nullable().optional(),\n can_manage_users: z.boolean().describe(\"Whether user can manage other users\").nullable().optional(),\n can_admin_settings: z.boolean().describe(\"Whether user can access admin settings\").nullable().optional(),\n}).passthrough().describe(\"Response containing created user details.\");\n\nexport const simplekpiCreateUser = action(\"SIMPLEKPI_CREATE_USER\", {\n slug: \"simplekpi-create-user\",\n name: \"Create User\",\n description: \"Tool to create a new user account in SimpleKPI. Use when you need to add a new user with specific permissions and access levels.\",\n input: SimplekpiCreateUserInput,\n output: SimplekpiCreateUserOutput,\n});\n"],"mappings":";;AA2BA,MAAa,sBAAsB,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA3BsC,EAAE,OAAO;EAC/C,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;EAC1D,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D;EACzF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;EACxE,WAAW,EAAE,KAAK;GAAC;GAAS;GAAY;GAAW;EAAM,CAAC,CAAC,CAAC,SAAS,8CAA8C;EACnH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB;EACpD,gBAAgB,EAAE,KAAK,CAAC,KAAK,GAAG,CAAC,CAAC,CAAC,SAAS,2CAA2C;EACvF,kBAAkB,EAAE,QAAQ,CAAC,CAAC,SAAS,gEAAgE;EACvG,oBAAoB,EAAE,QAAQ,CAAC,CAAC,SAAS,iEAAiE;CAC5G,CAAC,CAAC,CAAC,SAAS,4CAkBH;CACP,QAlBuC,EAAE,OAAO;EAChD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClG,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5E,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5E,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChG,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpG,kBAAkB,EAAE,QAAQ,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClG,oBAAoB,EAAE,QAAQ,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"create-user.mjs","names":[],"sources":["../../src/actions/create-user.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 SimplekpiCreateUserInput = z.object({\n email: z.string().describe(\"Valid email address for login\"),\n password: z.string().describe(\"Password for new user. Must be at least 8 characters long\"),\n last_name: z.string().describe(\"Last name of user (optional)\").optional(),\n user_type: z.enum([\"Admin\", \"Director\", \"Manager\", \"User\"]).describe(\"User type: Admin, Director, Manager, or User\"),\n first_name: z.string().describe(\"First name of user\"),\n user_status_id: z.enum([\"A\", \"L\"]).describe(\"User status: A for Active or L for Locked\"),\n can_manage_users: z.boolean().describe(\"Whether user can manage other users. Relevant for Manager type\"),\n can_admin_settings: z.boolean().describe(\"Whether user can access admin settings. Relevant for Admin type\"),\n}).describe(\"Request to create a new user in SimpleKPI.\");\nexport const SimplekpiCreateUserOutput = z.object({\n id: z.number().int().describe(\"Unique identifier for the newly created user\").nullable().optional(),\n email: z.string().describe(\"Email address of the user\").nullable().optional(),\n last_name: z.string().describe(\"Last name of the user\").nullable().optional(),\n user_type: z.string().describe(\"User type (Admin, Director, Manager, or User)\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the user was created\").nullable().optional(),\n first_name: z.string().describe(\"First name of the user\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the user was last updated\").nullable().optional(),\n user_status_id: z.string().describe(\"User status (A for Active, L for Locked)\").nullable().optional(),\n can_manage_users: z.boolean().describe(\"Whether user can manage other users\").nullable().optional(),\n can_admin_settings: z.boolean().describe(\"Whether user can access admin settings\").nullable().optional(),\n}).passthrough().describe(\"Response containing created user details.\");\n\nexport const simplekpiCreateUser: AppAction<\n typeof SimplekpiCreateUserInput,\n typeof SimplekpiCreateUserOutput,\n typeof simplekpi.credential\n> = action(\"SIMPLEKPI_CREATE_USER\", {\n slug: \"simplekpi-create-user\",\n name: \"Create User\",\n description: \"Tool to create a new user account in SimpleKPI. Use when you need to add a new user with specific permissions and access levels.\",\n input: SimplekpiCreateUserInput,\n output: SimplekpiCreateUserOutput,\n});\n"],"mappings":";;;AA6BA,MAAa,sBAIT,OAAO,yBAAyB;CAClC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA/BsC,EAAE,OAAO;EAC/C,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;EAC1D,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D;EACzF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;EACxE,WAAW,EAAE,KAAK;GAAC;GAAS;GAAY;GAAW;EAAM,CAAC,CAAC,CAAC,SAAS,8CAA8C;EACnH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB;EACpD,gBAAgB,EAAE,KAAK,CAAC,KAAK,GAAG,CAAC,CAAC,CAAC,SAAS,2CAA2C;EACvF,kBAAkB,EAAE,QAAQ,CAAC,CAAC,SAAS,gEAAgE;EACvG,oBAAoB,EAAE,QAAQ,CAAC,CAAC,SAAS,iEAAiE;CAC5G,CAAC,CAAC,CAAC,SAAS,4CAsBH;CACP,QAtBuC,EAAE,OAAO;EAChD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClG,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5E,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5E,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChG,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpG,kBAAkB,EAAE,QAAQ,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClG,oBAAoB,EAAE,QAAQ,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAWhB;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/delete-category-kpi.ts
@@ -1 +1 @@
1
- {"version":3,"file":"delete-category-kpi.cjs","names":["z","action"],"sources":["../../src/actions/delete-category-kpi.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplekpiDeleteCategoryKpiInput = z.object({\n id: z.number().int().describe(\"The ID of the KPI to delete from the category\"),\n category_id: z.number().int().describe(\"The ID of the category containing the KPI\"),\n}).describe(\"Request parameters for deleting a KPI from a category.\");\nexport const SimplekpiDeleteCategoryKpiOutput = z.record(z.string(), z.unknown()).describe(\"Empty response for successful KPI deletion.\");\n\nexport const simplekpiDeleteCategoryKpi = action(\"SIMPLEKPI_DELETE_CATEGORY_KPI\", {\n slug: \"simplekpi-delete-category-kpi\",\n name: \"Delete Category KPI\",\n description: \"Tool to delete a KPI from a category. Use when you need to remove a specific KPI from a category.\",\n input: SimplekpiDeleteCategoryKpiInput,\n output: SimplekpiDeleteCategoryKpiOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C;CAC7E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C;AACpF,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACpE,MAAa,mCAAmCA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,6CAA6C;AAExI,MAAa,6BAA6BC,eAAAA,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"delete-category-kpi.cjs","names":["z","action"],"sources":["../../src/actions/delete-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 SimplekpiDeleteCategoryKpiInput = z.object({\n id: z.number().int().describe(\"The ID of the KPI to delete from the category\"),\n category_id: z.number().int().describe(\"The ID of the category containing the KPI\"),\n}).describe(\"Request parameters for deleting a KPI from a category.\");\nexport const SimplekpiDeleteCategoryKpiOutput = z.record(z.string(), z.unknown()).describe(\"Empty response for successful KPI deletion.\");\n\nexport const simplekpiDeleteCategoryKpi: AppAction<\n typeof SimplekpiDeleteCategoryKpiInput,\n typeof SimplekpiDeleteCategoryKpiOutput,\n typeof simplekpi.credential\n> = action(\"SIMPLEKPI_DELETE_CATEGORY_KPI\", {\n slug: \"simplekpi-delete-category-kpi\",\n name: \"Delete Category KPI\",\n description: \"Tool to delete a KPI from a category. Use when you need to remove a specific KPI from a category.\",\n input: SimplekpiDeleteCategoryKpiInput,\n output: SimplekpiDeleteCategoryKpiOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C;CAC7E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C;AACpF,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACpE,MAAa,mCAAmCA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,6CAA6C;AAExI,MAAa,6BAITC,eAAAA,OAAO,iCAAiC;CAC1C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { simplekpi } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/delete-category-kpi.d.ts
@@ -6,30 +8,7 @@ declare const SimplekpiDeleteCategoryKpiInput: z.ZodObject<{
6
8
  category_id: z.ZodNumber;
7
9
  }, z.core.$strip>;
8
10
  declare const SimplekpiDeleteCategoryKpiOutput: z.ZodRecord<z.ZodString, z.ZodUnknown>;
9
- declare const simplekpiDeleteCategoryKpi: import("@keystrokehq/action").WorkflowActionDefinition<{
10
- id: number;
11
- category_id: number;
12
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"simplekpi", z.ZodObject<{
13
- connectionId: z.ZodString;
14
- entityId: z.ZodString;
15
- instanceId: z.ZodString;
16
- }, z.core.$strip>, z.ZodObject<{
17
- username: z.ZodString;
18
- password: z.ZodString;
19
- subdomain: z.ZodString;
20
- generic_api_key: z.ZodString;
21
- generic_id: z.ZodString;
22
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"simplekpi", z.ZodObject<{
23
- connectionId: z.ZodString;
24
- entityId: z.ZodString;
25
- instanceId: z.ZodString;
26
- }, z.core.$strip>, z.ZodObject<{
27
- username: z.ZodString;
28
- password: z.ZodString;
29
- subdomain: z.ZodString;
30
- generic_api_key: z.ZodString;
31
- generic_id: z.ZodString;
32
- }, z.core.$strip>>]>;
11
+ declare const simplekpiDeleteCategoryKpi: AppAction<typeof SimplekpiDeleteCategoryKpiInput, typeof SimplekpiDeleteCategoryKpiOutput, typeof simplekpi.credential>;
33
12
  //#endregion
34
13
  export { simplekpiDeleteCategoryKpi };
35
14
  //# sourceMappingURL=delete-category-kpi.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"delete-category-kpi.d.cts","names":[],"sources":["../../src/actions/delete-category-kpi.ts"],"mappings":";;;cAIa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;cAI/B,gCAAA,EAAgC,CAAA,CAAA,SAAA,CAAA,CAAA,CAAA,SAAA,EAAA,CAAA,CAAA,UAAA;AAAA,cAEhC,0BAAA,gCAA0B,wBAAA"}
1
+ {"version":3,"file":"delete-category-kpi.d.cts","names":[],"sources":["../../src/actions/delete-category-kpi.ts"],"mappings":";;;;;cAMa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;cAI/B,gCAAA,EAAgC,CAAA,CAAA,SAAA,CAAA,CAAA,CAAA,SAAA,EAAA,CAAA,CAAA,UAAA;AAAA,cAEhC,0BAAA,EAA4B,SAAA,QAChC,+BAAA,SACA,gCAAA,SACA,SAAA,CAAU,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { simplekpi } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/delete-category-kpi.d.ts
@@ -6,30 +8,7 @@ declare const SimplekpiDeleteCategoryKpiInput: z.ZodObject<{
6
8
  category_id: z.ZodNumber;
7
9
  }, z.core.$strip>;
8
10
  declare const SimplekpiDeleteCategoryKpiOutput: z.ZodRecord<z.ZodString, z.ZodUnknown>;
9
- declare const simplekpiDeleteCategoryKpi: import("@keystrokehq/action").WorkflowActionDefinition<{
10
- id: number;
11
- category_id: number;
12
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"simplekpi", z.ZodObject<{
13
- connectionId: z.ZodString;
14
- entityId: z.ZodString;
15
- instanceId: z.ZodString;
16
- }, z.core.$strip>, z.ZodObject<{
17
- username: z.ZodString;
18
- password: z.ZodString;
19
- subdomain: z.ZodString;
20
- generic_api_key: z.ZodString;
21
- generic_id: z.ZodString;
22
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"simplekpi", z.ZodObject<{
23
- connectionId: z.ZodString;
24
- entityId: z.ZodString;
25
- instanceId: z.ZodString;
26
- }, z.core.$strip>, z.ZodObject<{
27
- username: z.ZodString;
28
- password: z.ZodString;
29
- subdomain: z.ZodString;
30
- generic_api_key: z.ZodString;
31
- generic_id: z.ZodString;
32
- }, z.core.$strip>>]>;
11
+ declare const simplekpiDeleteCategoryKpi: AppAction<typeof SimplekpiDeleteCategoryKpiInput, typeof SimplekpiDeleteCategoryKpiOutput, typeof simplekpi.credential>;
33
12
  //#endregion
34
13
  export { simplekpiDeleteCategoryKpi };
35
14
  //# sourceMappingURL=delete-category-kpi.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"delete-category-kpi.d.mts","names":[],"sources":["../../src/actions/delete-category-kpi.ts"],"mappings":";;;cAIa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;cAI/B,gCAAA,EAAgC,CAAA,CAAA,SAAA,CAAA,CAAA,CAAA,SAAA,EAAA,CAAA,CAAA,UAAA;AAAA,cAEhC,0BAAA,gCAA0B,wBAAA"}
1
+ {"version":3,"file":"delete-category-kpi.d.mts","names":[],"sources":["../../src/actions/delete-category-kpi.ts"],"mappings":";;;;;cAMa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;cAI/B,gCAAA,EAAgC,CAAA,CAAA,SAAA,CAAA,CAAA,CAAA,SAAA,EAAA,CAAA,CAAA,UAAA;AAAA,cAEhC,0BAAA,EAA4B,SAAA,QAChC,+BAAA,SACA,gCAAA,SACA,SAAA,CAAU,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const simplekpiDeleteCategoryKpi = action("SIMPLEKPI_DELETE_CATEGORY_KPI", {
@@ -1 +1 @@
1
- {"version":3,"file":"delete-category-kpi.mjs","names":[],"sources":["../../src/actions/delete-category-kpi.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplekpiDeleteCategoryKpiInput = z.object({\n id: z.number().int().describe(\"The ID of the KPI to delete from the category\"),\n category_id: z.number().int().describe(\"The ID of the category containing the KPI\"),\n}).describe(\"Request parameters for deleting a KPI from a category.\");\nexport const SimplekpiDeleteCategoryKpiOutput = z.record(z.string(), z.unknown()).describe(\"Empty response for successful KPI deletion.\");\n\nexport const simplekpiDeleteCategoryKpi = action(\"SIMPLEKPI_DELETE_CATEGORY_KPI\", {\n slug: \"simplekpi-delete-category-kpi\",\n name: \"Delete Category KPI\",\n description: \"Tool to delete a KPI from a category. Use when you need to remove a specific KPI from a category.\",\n input: SimplekpiDeleteCategoryKpiInput,\n output: SimplekpiDeleteCategoryKpiOutput,\n});\n"],"mappings":";;AAUA,MAAa,6BAA6B,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAV6C,EAAE,OAAO;EACtD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C;EAC7E,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C;CACpF,CAAC,CAAC,CAAC,SAAS,wDAOH;CACP,QAP8C,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,6CAOjF;AACV,CAAC"}
1
+ {"version":3,"file":"delete-category-kpi.mjs","names":[],"sources":["../../src/actions/delete-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 SimplekpiDeleteCategoryKpiInput = z.object({\n id: z.number().int().describe(\"The ID of the KPI to delete from the category\"),\n category_id: z.number().int().describe(\"The ID of the category containing the KPI\"),\n}).describe(\"Request parameters for deleting a KPI from a category.\");\nexport const SimplekpiDeleteCategoryKpiOutput = z.record(z.string(), z.unknown()).describe(\"Empty response for successful KPI deletion.\");\n\nexport const simplekpiDeleteCategoryKpi: AppAction<\n typeof SimplekpiDeleteCategoryKpiInput,\n typeof SimplekpiDeleteCategoryKpiOutput,\n typeof simplekpi.credential\n> = action(\"SIMPLEKPI_DELETE_CATEGORY_KPI\", {\n slug: \"simplekpi-delete-category-kpi\",\n name: \"Delete Category KPI\",\n description: \"Tool to delete a KPI from a category. Use when you need to remove a specific KPI from a category.\",\n input: SimplekpiDeleteCategoryKpiInput,\n output: SimplekpiDeleteCategoryKpiOutput,\n});\n"],"mappings":";;;AAYA,MAAa,6BAIT,OAAO,iCAAiC;CAC1C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAd6C,EAAE,OAAO;EACtD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C;EAC7E,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C;CACpF,CAAC,CAAC,CAAC,SAAS,wDAWH;CACP,QAX8C,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,6CAWjF;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/delete-group-item.ts
@@ -1 +1 @@
1
- {"version":3,"file":"delete-group-item.cjs","names":["z","action"],"sources":["../../src/actions/delete-group-item.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplekpiDeleteGroupItemInput = z.object({\n id: z.number().int().describe(\"The ID of the group item to delete\"),\n group_id: z.number().int().describe(\"The ID of the group containing the item to delete\"),\n});\nexport const SimplekpiDeleteGroupItemOutput = z.object({\n message: z.string().describe(\"A message describing the result of the deletion operation\").nullable(),\n success: z.boolean().describe(\"Indicates whether the group item was successfully deleted\").nullable(),\n}).passthrough();\n\nexport const simplekpiDeleteGroupItem = action(\"SIMPLEKPI_DELETE_GROUP_ITEM\", {\n slug: \"simplekpi-delete-group-item\",\n name: \"Delete Group Item\",\n description: \"Tool to delete a group item by ID. Use when you need to remove an item from a specific group.\",\n input: SimplekpiDeleteGroupItemInput,\n output: SimplekpiDeleteGroupItemOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC;CAClE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD;AACzF,CAAC;AACD,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CACnG,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;AACtG,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,2BAA2BC,eAAAA,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"delete-group-item.cjs","names":["z","action"],"sources":["../../src/actions/delete-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 SimplekpiDeleteGroupItemInput = z.object({\n id: z.number().int().describe(\"The ID of the group item to delete\"),\n group_id: z.number().int().describe(\"The ID of the group containing the item to delete\"),\n});\nexport const SimplekpiDeleteGroupItemOutput = z.object({\n message: z.string().describe(\"A message describing the result of the deletion operation\").nullable(),\n success: z.boolean().describe(\"Indicates whether the group item was successfully deleted\").nullable(),\n}).passthrough();\n\nexport const simplekpiDeleteGroupItem: AppAction<\n typeof SimplekpiDeleteGroupItemInput,\n typeof SimplekpiDeleteGroupItemOutput,\n typeof simplekpi.credential\n> = action(\"SIMPLEKPI_DELETE_GROUP_ITEM\", {\n slug: \"simplekpi-delete-group-item\",\n name: \"Delete Group Item\",\n description: \"Tool to delete a group item by ID. Use when you need to remove an item from a specific group.\",\n input: SimplekpiDeleteGroupItemInput,\n output: SimplekpiDeleteGroupItemOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC;CAClE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD;AACzF,CAAC;AACD,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CACnG,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;AACtG,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,2BAITC,eAAAA,OAAO,+BAA+B;CACxC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { simplekpi } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/delete-group-item.d.ts
@@ -9,30 +11,7 @@ declare const SimplekpiDeleteGroupItemOutput: z.ZodObject<{
9
11
  message: z.ZodNullable<z.ZodString>;
10
12
  success: z.ZodNullable<z.ZodBoolean>;
11
13
  }, z.core.$loose>;
12
- declare const simplekpiDeleteGroupItem: import("@keystrokehq/action").WorkflowActionDefinition<{
13
- id: number;
14
- group_id: number;
15
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"simplekpi", z.ZodObject<{
16
- connectionId: z.ZodString;
17
- entityId: z.ZodString;
18
- instanceId: z.ZodString;
19
- }, z.core.$strip>, z.ZodObject<{
20
- username: z.ZodString;
21
- password: z.ZodString;
22
- subdomain: z.ZodString;
23
- generic_api_key: z.ZodString;
24
- generic_id: z.ZodString;
25
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"simplekpi", z.ZodObject<{
26
- connectionId: z.ZodString;
27
- entityId: z.ZodString;
28
- instanceId: z.ZodString;
29
- }, z.core.$strip>, z.ZodObject<{
30
- username: z.ZodString;
31
- password: z.ZodString;
32
- subdomain: z.ZodString;
33
- generic_api_key: z.ZodString;
34
- generic_id: z.ZodString;
35
- }, z.core.$strip>>]>;
14
+ declare const simplekpiDeleteGroupItem: AppAction<typeof SimplekpiDeleteGroupItemInput, typeof SimplekpiDeleteGroupItemOutput, typeof simplekpi.credential>;
36
15
  //#endregion
37
16
  export { simplekpiDeleteGroupItem };
38
17
  //# sourceMappingURL=delete-group-item.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"delete-group-item.d.cts","names":[],"sources":["../../src/actions/delete-group-item.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;cAI7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;cAK9B,wBAAA,gCAAwB,wBAAA"}
1
+ {"version":3,"file":"delete-group-item.d.cts","names":[],"sources":["../../src/actions/delete-group-item.ts"],"mappings":";;;;;cAMa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;cAI7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;cAK9B,wBAAA,EAA0B,SAAA,QAC9B,6BAAA,SACA,8BAAA,SACA,SAAA,CAAU,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { simplekpi } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/delete-group-item.d.ts
@@ -9,30 +11,7 @@ declare const SimplekpiDeleteGroupItemOutput: z.ZodObject<{
9
11
  message: z.ZodNullable<z.ZodString>;
10
12
  success: z.ZodNullable<z.ZodBoolean>;
11
13
  }, z.core.$loose>;
12
- declare const simplekpiDeleteGroupItem: import("@keystrokehq/action").WorkflowActionDefinition<{
13
- id: number;
14
- group_id: number;
15
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"simplekpi", z.ZodObject<{
16
- connectionId: z.ZodString;
17
- entityId: z.ZodString;
18
- instanceId: z.ZodString;
19
- }, z.core.$strip>, z.ZodObject<{
20
- username: z.ZodString;
21
- password: z.ZodString;
22
- subdomain: z.ZodString;
23
- generic_api_key: z.ZodString;
24
- generic_id: z.ZodString;
25
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"simplekpi", z.ZodObject<{
26
- connectionId: z.ZodString;
27
- entityId: z.ZodString;
28
- instanceId: z.ZodString;
29
- }, z.core.$strip>, z.ZodObject<{
30
- username: z.ZodString;
31
- password: z.ZodString;
32
- subdomain: z.ZodString;
33
- generic_api_key: z.ZodString;
34
- generic_id: z.ZodString;
35
- }, z.core.$strip>>]>;
14
+ declare const simplekpiDeleteGroupItem: AppAction<typeof SimplekpiDeleteGroupItemInput, typeof SimplekpiDeleteGroupItemOutput, typeof simplekpi.credential>;
36
15
  //#endregion
37
16
  export { simplekpiDeleteGroupItem };
38
17
  //# sourceMappingURL=delete-group-item.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"delete-group-item.d.mts","names":[],"sources":["../../src/actions/delete-group-item.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;cAI7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;cAK9B,wBAAA,gCAAwB,wBAAA"}
1
+ {"version":3,"file":"delete-group-item.d.mts","names":[],"sources":["../../src/actions/delete-group-item.ts"],"mappings":";;;;;cAMa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;cAI7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;cAK9B,wBAAA,EAA0B,SAAA,QAC9B,6BAAA,SACA,8BAAA,SACA,SAAA,CAAU,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const simplekpiDeleteGroupItem = action("SIMPLEKPI_DELETE_GROUP_ITEM", {
@@ -1 +1 @@
1
- {"version":3,"file":"delete-group-item.mjs","names":[],"sources":["../../src/actions/delete-group-item.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplekpiDeleteGroupItemInput = z.object({\n id: z.number().int().describe(\"The ID of the group item to delete\"),\n group_id: z.number().int().describe(\"The ID of the group containing the item to delete\"),\n});\nexport const SimplekpiDeleteGroupItemOutput = z.object({\n message: z.string().describe(\"A message describing the result of the deletion operation\").nullable(),\n success: z.boolean().describe(\"Indicates whether the group item was successfully deleted\").nullable(),\n}).passthrough();\n\nexport const simplekpiDeleteGroupItem = action(\"SIMPLEKPI_DELETE_GROUP_ITEM\", {\n slug: \"simplekpi-delete-group-item\",\n name: \"Delete Group Item\",\n description: \"Tool to delete a group item by ID. Use when you need to remove an item from a specific group.\",\n input: SimplekpiDeleteGroupItemInput,\n output: SimplekpiDeleteGroupItemOutput,\n});\n"],"mappings":";;AAaA,MAAa,2BAA2B,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAb2C,EAAE,OAAO;EACpD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC;EAClE,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD;CACzF,CAUS;CACP,QAV4C,EAAE,OAAO;EACrD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;EACnG,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CACtG,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
1
+ {"version":3,"file":"delete-group-item.mjs","names":[],"sources":["../../src/actions/delete-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 SimplekpiDeleteGroupItemInput = z.object({\n id: z.number().int().describe(\"The ID of the group item to delete\"),\n group_id: z.number().int().describe(\"The ID of the group containing the item to delete\"),\n});\nexport const SimplekpiDeleteGroupItemOutput = z.object({\n message: z.string().describe(\"A message describing the result of the deletion operation\").nullable(),\n success: z.boolean().describe(\"Indicates whether the group item was successfully deleted\").nullable(),\n}).passthrough();\n\nexport const simplekpiDeleteGroupItem: AppAction<\n typeof SimplekpiDeleteGroupItemInput,\n typeof SimplekpiDeleteGroupItemOutput,\n typeof simplekpi.credential\n> = action(\"SIMPLEKPI_DELETE_GROUP_ITEM\", {\n slug: \"simplekpi-delete-group-item\",\n name: \"Delete Group Item\",\n description: \"Tool to delete a group item by ID. Use when you need to remove an item from a specific group.\",\n input: SimplekpiDeleteGroupItemInput,\n output: SimplekpiDeleteGroupItemOutput,\n});\n"],"mappings":";;;AAeA,MAAa,2BAIT,OAAO,+BAA+B;CACxC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAjB2C,EAAE,OAAO;EACpD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC;EAClE,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD;CACzF,CAcS;CACP,QAd4C,EAAE,OAAO;EACrD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;EACnG,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CACtG,CAAC,CAAC,CAAC,YAWO;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/delete-group.ts
@@ -1 +1 @@
1
- {"version":3,"file":"delete-group.cjs","names":["z","action"],"sources":["../../src/actions/delete-group.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplekpiDeleteGroupInput = z.object({\n id: z.number().int().describe(\"Group ID to delete\"),\n}).describe(\"Request model for deleting a group by ID.\");\nexport const SimplekpiDeleteGroupOutput = z.object({\n message: z.string().default(\"Group deleted successfully\").describe(\"Success message confirming the deletion\").nullable().optional(),\n success: z.boolean().default(true).describe(\"Indicates whether the group was successfully deleted\").nullable().optional(),\n}).passthrough().describe(\"Response model for delete group action.\");\n\nexport const simplekpiDeleteGroup = action(\"SIMPLEKPI_DELETE_GROUP\", {\n slug: \"simplekpi-delete-group\",\n name: \"Delete Group\",\n description: \"Tool to delete a group by ID. Use when you need to permanently remove a group from the system.\",\n input: SimplekpiDeleteGroupInput,\n output: SimplekpiDeleteGroupOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,EAChD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oBAAoB,EACpD,CAAC,CAAC,CAAC,SAAS,2CAA2C;AACvD,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,4BAA4B,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClI,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAAyC;AAEnE,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"delete-group.cjs","names":["z","action"],"sources":["../../src/actions/delete-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 SimplekpiDeleteGroupInput = z.object({\n id: z.number().int().describe(\"Group ID to delete\"),\n}).describe(\"Request model for deleting a group by ID.\");\nexport const SimplekpiDeleteGroupOutput = z.object({\n message: z.string().default(\"Group deleted successfully\").describe(\"Success message confirming the deletion\").nullable().optional(),\n success: z.boolean().default(true).describe(\"Indicates whether the group was successfully deleted\").nullable().optional(),\n}).passthrough().describe(\"Response model for delete group action.\");\n\nexport const simplekpiDeleteGroup: AppAction<\n typeof SimplekpiDeleteGroupInput,\n typeof SimplekpiDeleteGroupOutput,\n typeof simplekpi.credential\n> = action(\"SIMPLEKPI_DELETE_GROUP\", {\n slug: \"simplekpi-delete-group\",\n name: \"Delete Group\",\n description: \"Tool to delete a group by ID. Use when you need to permanently remove a group from the system.\",\n input: SimplekpiDeleteGroupInput,\n output: SimplekpiDeleteGroupOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,EAChD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oBAAoB,EACpD,CAAC,CAAC,CAAC,SAAS,2CAA2C;AACvD,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,4BAA4B,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClI,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAAyC;AAEnE,MAAa,uBAITC,eAAAA,OAAO,0BAA0B;CACnC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { simplekpi } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/delete-group.d.ts
@@ -8,29 +10,7 @@ declare const SimplekpiDeleteGroupOutput: z.ZodObject<{
8
10
  message: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>;
9
11
  success: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
10
12
  }, z.core.$loose>;
11
- declare const simplekpiDeleteGroup: import("@keystrokehq/action").WorkflowActionDefinition<{
12
- id: number;
13
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"simplekpi", z.ZodObject<{
14
- connectionId: z.ZodString;
15
- entityId: z.ZodString;
16
- instanceId: z.ZodString;
17
- }, z.core.$strip>, z.ZodObject<{
18
- username: z.ZodString;
19
- password: z.ZodString;
20
- subdomain: z.ZodString;
21
- generic_api_key: z.ZodString;
22
- generic_id: z.ZodString;
23
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"simplekpi", z.ZodObject<{
24
- connectionId: z.ZodString;
25
- entityId: z.ZodString;
26
- instanceId: z.ZodString;
27
- }, z.core.$strip>, z.ZodObject<{
28
- username: z.ZodString;
29
- password: z.ZodString;
30
- subdomain: z.ZodString;
31
- generic_api_key: z.ZodString;
32
- generic_id: z.ZodString;
33
- }, z.core.$strip>>]>;
13
+ declare const simplekpiDeleteGroup: AppAction<typeof SimplekpiDeleteGroupInput, typeof SimplekpiDeleteGroupOutput, typeof simplekpi.credential>;
34
14
  //#endregion
35
15
  export { simplekpiDeleteGroup };
36
16
  //# sourceMappingURL=delete-group.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"delete-group.d.cts","names":[],"sources":["../../src/actions/delete-group.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;cAGzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;cAK1B,oBAAA,gCAAoB,wBAAA"}
1
+ {"version":3,"file":"delete-group.d.cts","names":[],"sources":["../../src/actions/delete-group.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;cAGzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;cAK1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,SACA,SAAA,CAAU,UAAA"}