@keystrokehq/etermin 0.1.0 → 0.1.1

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 (629) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/assign-calendar-service.cjs +3 -3
  4. package/dist/actions/assign-calendar-service.cjs.map +1 -1
  5. package/dist/actions/assign-calendar-service.d.cts +17 -3
  6. package/dist/actions/assign-calendar-service.d.cts.map +1 -1
  7. package/dist/actions/assign-calendar-service.d.mts +17 -3
  8. package/dist/actions/assign-calendar-service.d.mts.map +1 -1
  9. package/dist/actions/assign-calendar-service.mjs +3 -3
  10. package/dist/actions/assign-calendar-service.mjs.map +1 -1
  11. package/dist/actions/create-absence.cjs +3 -3
  12. package/dist/actions/create-absence.cjs.map +1 -1
  13. package/dist/actions/create-absence.d.cts +28 -3
  14. package/dist/actions/create-absence.d.cts.map +1 -1
  15. package/dist/actions/create-absence.d.mts +28 -3
  16. package/dist/actions/create-absence.d.mts.map +1 -1
  17. package/dist/actions/create-absence.mjs +3 -3
  18. package/dist/actions/create-absence.mjs.map +1 -1
  19. package/dist/actions/create-anchortime-by-date.cjs +2 -2
  20. package/dist/actions/create-anchortime-by-date.cjs.map +1 -1
  21. package/dist/actions/create-anchortime-by-date.d.cts +19 -3
  22. package/dist/actions/create-anchortime-by-date.d.cts.map +1 -1
  23. package/dist/actions/create-anchortime-by-date.d.mts +19 -3
  24. package/dist/actions/create-anchortime-by-date.d.mts.map +1 -1
  25. package/dist/actions/create-anchortime-by-date.mjs +2 -2
  26. package/dist/actions/create-anchortime-by-date.mjs.map +1 -1
  27. package/dist/actions/create-anchortime.cjs +2 -2
  28. package/dist/actions/create-anchortime.cjs.map +1 -1
  29. package/dist/actions/create-anchortime.d.cts +19 -3
  30. package/dist/actions/create-anchortime.d.cts.map +1 -1
  31. package/dist/actions/create-anchortime.d.mts +19 -3
  32. package/dist/actions/create-anchortime.d.mts.map +1 -1
  33. package/dist/actions/create-anchortime.mjs +2 -2
  34. package/dist/actions/create-anchortime.mjs.map +1 -1
  35. package/dist/actions/create-appointment-sync.cjs +3 -3
  36. package/dist/actions/create-appointment-sync.cjs.map +1 -1
  37. package/dist/actions/create-appointment-sync.d.cts +41 -3
  38. package/dist/actions/create-appointment-sync.d.cts.map +1 -1
  39. package/dist/actions/create-appointment-sync.d.mts +41 -3
  40. package/dist/actions/create-appointment-sync.d.mts.map +1 -1
  41. package/dist/actions/create-appointment-sync.mjs +3 -3
  42. package/dist/actions/create-appointment-sync.mjs.map +1 -1
  43. package/dist/actions/create-appointment.cjs +6 -6
  44. package/dist/actions/create-appointment.cjs.map +1 -1
  45. package/dist/actions/create-appointment.d.cts +163 -3
  46. package/dist/actions/create-appointment.d.cts.map +1 -1
  47. package/dist/actions/create-appointment.d.mts +163 -3
  48. package/dist/actions/create-appointment.d.mts.map +1 -1
  49. package/dist/actions/create-appointment.mjs +6 -6
  50. package/dist/actions/create-appointment.mjs.map +1 -1
  51. package/dist/actions/create-calendar-return-time.cjs +3 -3
  52. package/dist/actions/create-calendar-return-time.cjs.map +1 -1
  53. package/dist/actions/create-calendar-return-time.d.cts +23 -3
  54. package/dist/actions/create-calendar-return-time.d.cts.map +1 -1
  55. package/dist/actions/create-calendar-return-time.d.mts +23 -3
  56. package/dist/actions/create-calendar-return-time.d.mts.map +1 -1
  57. package/dist/actions/create-calendar-return-time.mjs +3 -3
  58. package/dist/actions/create-calendar-return-time.mjs.map +1 -1
  59. package/dist/actions/create-contact.cjs +5 -5
  60. package/dist/actions/create-contact.cjs.map +1 -1
  61. package/dist/actions/create-contact.d.cts +23 -3
  62. package/dist/actions/create-contact.d.cts.map +1 -1
  63. package/dist/actions/create-contact.d.mts +23 -3
  64. package/dist/actions/create-contact.d.mts.map +1 -1
  65. package/dist/actions/create-contact.mjs +5 -5
  66. package/dist/actions/create-contact.mjs.map +1 -1
  67. package/dist/actions/create-service-group.cjs +3 -3
  68. package/dist/actions/create-service-group.cjs.map +1 -1
  69. package/dist/actions/create-service-group.d.cts +56 -3
  70. package/dist/actions/create-service-group.d.cts.map +1 -1
  71. package/dist/actions/create-service-group.d.mts +56 -3
  72. package/dist/actions/create-service-group.d.mts.map +1 -1
  73. package/dist/actions/create-service-group.mjs +3 -3
  74. package/dist/actions/create-service-group.mjs.map +1 -1
  75. package/dist/actions/create-service.cjs +3 -3
  76. package/dist/actions/create-service.cjs.map +1 -1
  77. package/dist/actions/create-service.d.cts +237 -3
  78. package/dist/actions/create-service.d.cts.map +1 -1
  79. package/dist/actions/create-service.d.mts +237 -3
  80. package/dist/actions/create-service.d.mts.map +1 -1
  81. package/dist/actions/create-service.mjs +3 -3
  82. package/dist/actions/create-service.mjs.map +1 -1
  83. package/dist/actions/create-user.cjs +3 -3
  84. package/dist/actions/create-user.cjs.map +1 -1
  85. package/dist/actions/create-user.d.cts +31 -3
  86. package/dist/actions/create-user.d.cts.map +1 -1
  87. package/dist/actions/create-user.d.mts +31 -3
  88. package/dist/actions/create-user.d.mts.map +1 -1
  89. package/dist/actions/create-user.mjs +3 -3
  90. package/dist/actions/create-user.mjs.map +1 -1
  91. package/dist/actions/create-usermapping.cjs +3 -3
  92. package/dist/actions/create-usermapping.cjs.map +1 -1
  93. package/dist/actions/create-usermapping.d.cts +34 -3
  94. package/dist/actions/create-usermapping.d.cts.map +1 -1
  95. package/dist/actions/create-usermapping.d.mts +34 -3
  96. package/dist/actions/create-usermapping.d.mts.map +1 -1
  97. package/dist/actions/create-usermapping.mjs +3 -3
  98. package/dist/actions/create-usermapping.mjs.map +1 -1
  99. package/dist/actions/create-voucher.cjs +8 -8
  100. package/dist/actions/create-voucher.cjs.map +1 -1
  101. package/dist/actions/create-voucher.d.cts +36 -3
  102. package/dist/actions/create-voucher.d.cts.map +1 -1
  103. package/dist/actions/create-voucher.d.mts +36 -3
  104. package/dist/actions/create-voucher.d.mts.map +1 -1
  105. package/dist/actions/create-voucher.mjs +8 -8
  106. package/dist/actions/create-voucher.mjs.map +1 -1
  107. package/dist/actions/create-webhook.cjs +4 -4
  108. package/dist/actions/create-webhook.cjs.map +1 -1
  109. package/dist/actions/create-webhook.d.cts +29 -3
  110. package/dist/actions/create-webhook.d.cts.map +1 -1
  111. package/dist/actions/create-webhook.d.mts +29 -3
  112. package/dist/actions/create-webhook.d.mts.map +1 -1
  113. package/dist/actions/create-webhook.mjs +4 -4
  114. package/dist/actions/create-webhook.mjs.map +1 -1
  115. package/dist/actions/create-working-time.cjs +2 -2
  116. package/dist/actions/create-working-time.cjs.map +1 -1
  117. package/dist/actions/create-working-time.d.cts +35 -3
  118. package/dist/actions/create-working-time.d.cts.map +1 -1
  119. package/dist/actions/create-working-time.d.mts +35 -3
  120. package/dist/actions/create-working-time.d.mts.map +1 -1
  121. package/dist/actions/create-working-time.mjs +2 -2
  122. package/dist/actions/create-working-time.mjs.map +1 -1
  123. package/dist/actions/create-working-times-date.cjs +3 -3
  124. package/dist/actions/create-working-times-date.cjs.map +1 -1
  125. package/dist/actions/create-working-times-date.d.cts +39 -3
  126. package/dist/actions/create-working-times-date.d.cts.map +1 -1
  127. package/dist/actions/create-working-times-date.d.mts +39 -3
  128. package/dist/actions/create-working-times-date.d.mts.map +1 -1
  129. package/dist/actions/create-working-times-date.mjs +3 -3
  130. package/dist/actions/create-working-times-date.mjs.map +1 -1
  131. package/dist/actions/delete-absence.cjs +3 -3
  132. package/dist/actions/delete-absence.cjs.map +1 -1
  133. package/dist/actions/delete-absence.d.cts +15 -3
  134. package/dist/actions/delete-absence.d.cts.map +1 -1
  135. package/dist/actions/delete-absence.d.mts +15 -3
  136. package/dist/actions/delete-absence.d.mts.map +1 -1
  137. package/dist/actions/delete-absence.mjs +3 -3
  138. package/dist/actions/delete-absence.mjs.map +1 -1
  139. package/dist/actions/delete-anchortime-by-date.cjs +3 -3
  140. package/dist/actions/delete-anchortime-by-date.cjs.map +1 -1
  141. package/dist/actions/delete-anchortime-by-date.d.cts +15 -3
  142. package/dist/actions/delete-anchortime-by-date.d.cts.map +1 -1
  143. package/dist/actions/delete-anchortime-by-date.d.mts +15 -3
  144. package/dist/actions/delete-anchortime-by-date.d.mts.map +1 -1
  145. package/dist/actions/delete-anchortime-by-date.mjs +3 -3
  146. package/dist/actions/delete-anchortime-by-date.mjs.map +1 -1
  147. package/dist/actions/delete-anchortime.cjs +2 -2
  148. package/dist/actions/delete-anchortime.cjs.map +1 -1
  149. package/dist/actions/delete-anchortime.d.cts +13 -3
  150. package/dist/actions/delete-anchortime.d.cts.map +1 -1
  151. package/dist/actions/delete-anchortime.d.mts +13 -3
  152. package/dist/actions/delete-anchortime.d.mts.map +1 -1
  153. package/dist/actions/delete-anchortime.mjs +2 -2
  154. package/dist/actions/delete-anchortime.mjs.map +1 -1
  155. package/dist/actions/delete-appointment-sync.cjs +3 -3
  156. package/dist/actions/delete-appointment-sync.cjs.map +1 -1
  157. package/dist/actions/delete-appointment-sync.d.cts +19 -3
  158. package/dist/actions/delete-appointment-sync.d.cts.map +1 -1
  159. package/dist/actions/delete-appointment-sync.d.mts +19 -3
  160. package/dist/actions/delete-appointment-sync.d.mts.map +1 -1
  161. package/dist/actions/delete-appointment-sync.mjs +3 -3
  162. package/dist/actions/delete-appointment-sync.mjs.map +1 -1
  163. package/dist/actions/delete-appointment.cjs +3 -3
  164. package/dist/actions/delete-appointment.cjs.map +1 -1
  165. package/dist/actions/delete-appointment.d.cts +15 -3
  166. package/dist/actions/delete-appointment.d.cts.map +1 -1
  167. package/dist/actions/delete-appointment.d.mts +15 -3
  168. package/dist/actions/delete-appointment.d.mts.map +1 -1
  169. package/dist/actions/delete-appointment.mjs +3 -3
  170. package/dist/actions/delete-appointment.mjs.map +1 -1
  171. package/dist/actions/delete-calendar-return-time.cjs +2 -2
  172. package/dist/actions/delete-calendar-return-time.cjs.map +1 -1
  173. package/dist/actions/delete-calendar-return-time.d.cts +13 -3
  174. package/dist/actions/delete-calendar-return-time.d.cts.map +1 -1
  175. package/dist/actions/delete-calendar-return-time.d.mts +13 -3
  176. package/dist/actions/delete-calendar-return-time.d.mts.map +1 -1
  177. package/dist/actions/delete-calendar-return-time.mjs +2 -2
  178. package/dist/actions/delete-calendar-return-time.mjs.map +1 -1
  179. package/dist/actions/delete-calendar-service.cjs +2 -2
  180. package/dist/actions/delete-calendar-service.cjs.map +1 -1
  181. package/dist/actions/delete-calendar-service.d.cts +15 -3
  182. package/dist/actions/delete-calendar-service.d.cts.map +1 -1
  183. package/dist/actions/delete-calendar-service.d.mts +15 -3
  184. package/dist/actions/delete-calendar-service.d.mts.map +1 -1
  185. package/dist/actions/delete-calendar-service.mjs +2 -2
  186. package/dist/actions/delete-calendar-service.mjs.map +1 -1
  187. package/dist/actions/delete-calendar.cjs +3 -3
  188. package/dist/actions/delete-calendar.cjs.map +1 -1
  189. package/dist/actions/delete-calendar.d.cts +15 -3
  190. package/dist/actions/delete-calendar.d.cts.map +1 -1
  191. package/dist/actions/delete-calendar.d.mts +15 -3
  192. package/dist/actions/delete-calendar.d.mts.map +1 -1
  193. package/dist/actions/delete-calendar.mjs +3 -3
  194. package/dist/actions/delete-calendar.mjs.map +1 -1
  195. package/dist/actions/delete-contact.cjs +2 -2
  196. package/dist/actions/delete-contact.cjs.map +1 -1
  197. package/dist/actions/delete-contact.d.cts +13 -3
  198. package/dist/actions/delete-contact.d.cts.map +1 -1
  199. package/dist/actions/delete-contact.d.mts +13 -3
  200. package/dist/actions/delete-contact.d.mts.map +1 -1
  201. package/dist/actions/delete-contact.mjs +2 -2
  202. package/dist/actions/delete-contact.mjs.map +1 -1
  203. package/dist/actions/delete-resource.cjs +4 -4
  204. package/dist/actions/delete-resource.cjs.map +1 -1
  205. package/dist/actions/delete-resource.d.cts +19 -3
  206. package/dist/actions/delete-resource.d.cts.map +1 -1
  207. package/dist/actions/delete-resource.d.mts +19 -3
  208. package/dist/actions/delete-resource.d.mts.map +1 -1
  209. package/dist/actions/delete-resource.mjs +4 -4
  210. package/dist/actions/delete-resource.mjs.map +1 -1
  211. package/dist/actions/delete-service.cjs +3 -3
  212. package/dist/actions/delete-service.cjs.map +1 -1
  213. package/dist/actions/delete-service.d.cts +15 -3
  214. package/dist/actions/delete-service.d.cts.map +1 -1
  215. package/dist/actions/delete-service.d.mts +15 -3
  216. package/dist/actions/delete-service.d.mts.map +1 -1
  217. package/dist/actions/delete-service.mjs +3 -3
  218. package/dist/actions/delete-service.mjs.map +1 -1
  219. package/dist/actions/delete-servicegroup.cjs +2 -2
  220. package/dist/actions/delete-servicegroup.cjs.map +1 -1
  221. package/dist/actions/delete-servicegroup.d.cts +13 -3
  222. package/dist/actions/delete-servicegroup.d.cts.map +1 -1
  223. package/dist/actions/delete-servicegroup.d.mts +13 -3
  224. package/dist/actions/delete-servicegroup.d.mts.map +1 -1
  225. package/dist/actions/delete-servicegroup.mjs +2 -2
  226. package/dist/actions/delete-servicegroup.mjs.map +1 -1
  227. package/dist/actions/delete-user.cjs +2 -2
  228. package/dist/actions/delete-user.cjs.map +1 -1
  229. package/dist/actions/delete-user.d.cts +13 -3
  230. package/dist/actions/delete-user.d.cts.map +1 -1
  231. package/dist/actions/delete-user.d.mts +13 -3
  232. package/dist/actions/delete-user.d.mts.map +1 -1
  233. package/dist/actions/delete-user.mjs +2 -2
  234. package/dist/actions/delete-user.mjs.map +1 -1
  235. package/dist/actions/delete-usermapping.cjs +2 -2
  236. package/dist/actions/delete-usermapping.cjs.map +1 -1
  237. package/dist/actions/delete-usermapping.d.cts +13 -3
  238. package/dist/actions/delete-usermapping.d.cts.map +1 -1
  239. package/dist/actions/delete-usermapping.d.mts +13 -3
  240. package/dist/actions/delete-usermapping.d.mts.map +1 -1
  241. package/dist/actions/delete-usermapping.mjs +2 -2
  242. package/dist/actions/delete-usermapping.mjs.map +1 -1
  243. package/dist/actions/delete-voucher.cjs +2 -2
  244. package/dist/actions/delete-voucher.cjs.map +1 -1
  245. package/dist/actions/delete-voucher.d.cts +13 -3
  246. package/dist/actions/delete-voucher.d.cts.map +1 -1
  247. package/dist/actions/delete-voucher.d.mts +13 -3
  248. package/dist/actions/delete-voucher.d.mts.map +1 -1
  249. package/dist/actions/delete-voucher.mjs +2 -2
  250. package/dist/actions/delete-voucher.mjs.map +1 -1
  251. package/dist/actions/delete-webhook.cjs +2 -2
  252. package/dist/actions/delete-webhook.cjs.map +1 -1
  253. package/dist/actions/delete-webhook.d.cts +13 -3
  254. package/dist/actions/delete-webhook.d.cts.map +1 -1
  255. package/dist/actions/delete-webhook.d.mts +13 -3
  256. package/dist/actions/delete-webhook.d.mts.map +1 -1
  257. package/dist/actions/delete-webhook.mjs +2 -2
  258. package/dist/actions/delete-webhook.mjs.map +1 -1
  259. package/dist/actions/delete-working-times-date.cjs +2 -2
  260. package/dist/actions/delete-working-times-date.cjs.map +1 -1
  261. package/dist/actions/delete-working-times-date.d.cts +15 -3
  262. package/dist/actions/delete-working-times-date.d.cts.map +1 -1
  263. package/dist/actions/delete-working-times-date.d.mts +15 -3
  264. package/dist/actions/delete-working-times-date.d.mts.map +1 -1
  265. package/dist/actions/delete-working-times-date.mjs +2 -2
  266. package/dist/actions/delete-working-times-date.mjs.map +1 -1
  267. package/dist/actions/delete-working-times.cjs +2 -2
  268. package/dist/actions/delete-working-times.cjs.map +1 -1
  269. package/dist/actions/delete-working-times.d.cts +15 -3
  270. package/dist/actions/delete-working-times.d.cts.map +1 -1
  271. package/dist/actions/delete-working-times.d.mts +15 -3
  272. package/dist/actions/delete-working-times.d.mts.map +1 -1
  273. package/dist/actions/delete-working-times.mjs +2 -2
  274. package/dist/actions/delete-working-times.mjs.map +1 -1
  275. package/dist/actions/get-absences.cjs +7 -7
  276. package/dist/actions/get-absences.cjs.map +1 -1
  277. package/dist/actions/get-absences.d.cts +26 -3
  278. package/dist/actions/get-absences.d.cts.map +1 -1
  279. package/dist/actions/get-absences.d.mts +26 -3
  280. package/dist/actions/get-absences.d.mts.map +1 -1
  281. package/dist/actions/get-absences.mjs +7 -7
  282. package/dist/actions/get-absences.mjs.map +1 -1
  283. package/dist/actions/get-anchortime-date.cjs +5 -5
  284. package/dist/actions/get-anchortime-date.cjs.map +1 -1
  285. package/dist/actions/get-anchortime-date.d.cts +24 -3
  286. package/dist/actions/get-anchortime-date.d.cts.map +1 -1
  287. package/dist/actions/get-anchortime-date.d.mts +24 -3
  288. package/dist/actions/get-anchortime-date.d.mts.map +1 -1
  289. package/dist/actions/get-anchortime-date.mjs +5 -5
  290. package/dist/actions/get-anchortime-date.mjs.map +1 -1
  291. package/dist/actions/get-anchortimes.cjs +5 -5
  292. package/dist/actions/get-anchortimes.cjs.map +1 -1
  293. package/dist/actions/get-anchortimes.d.cts +24 -3
  294. package/dist/actions/get-anchortimes.d.cts.map +1 -1
  295. package/dist/actions/get-anchortimes.d.mts +24 -3
  296. package/dist/actions/get-anchortimes.d.mts.map +1 -1
  297. package/dist/actions/get-anchortimes.mjs +5 -5
  298. package/dist/actions/get-anchortimes.mjs.map +1 -1
  299. package/dist/actions/get-appointment-sync.cjs +73 -73
  300. package/dist/actions/get-appointment-sync.cjs.map +1 -1
  301. package/dist/actions/get-appointment-sync.d.cts +160 -3
  302. package/dist/actions/get-appointment-sync.d.cts.map +1 -1
  303. package/dist/actions/get-appointment-sync.d.mts +160 -3
  304. package/dist/actions/get-appointment-sync.d.mts.map +1 -1
  305. package/dist/actions/get-appointment-sync.mjs +73 -73
  306. package/dist/actions/get-appointment-sync.mjs.map +1 -1
  307. package/dist/actions/get-bookingpage-logs.cjs +5 -5
  308. package/dist/actions/get-bookingpage-logs.cjs.map +1 -1
  309. package/dist/actions/get-bookingpage-logs.d.cts +25 -3
  310. package/dist/actions/get-bookingpage-logs.d.cts.map +1 -1
  311. package/dist/actions/get-bookingpage-logs.d.mts +25 -3
  312. package/dist/actions/get-bookingpage-logs.d.mts.map +1 -1
  313. package/dist/actions/get-bookingpage-logs.mjs +5 -5
  314. package/dist/actions/get-bookingpage-logs.mjs.map +1 -1
  315. package/dist/actions/get-calendar-return-time.cjs +9 -9
  316. package/dist/actions/get-calendar-return-time.cjs.map +1 -1
  317. package/dist/actions/get-calendar-return-time.d.cts +30 -3
  318. package/dist/actions/get-calendar-return-time.d.cts.map +1 -1
  319. package/dist/actions/get-calendar-return-time.d.mts +30 -3
  320. package/dist/actions/get-calendar-return-time.d.mts.map +1 -1
  321. package/dist/actions/get-calendar-return-time.mjs +9 -9
  322. package/dist/actions/get-calendar-return-time.mjs.map +1 -1
  323. package/dist/actions/get-calendars.cjs +7 -7
  324. package/dist/actions/get-calendars.cjs.map +1 -1
  325. package/dist/actions/get-calendars.d.cts +24 -3
  326. package/dist/actions/get-calendars.d.cts.map +1 -1
  327. package/dist/actions/get-calendars.d.mts +24 -3
  328. package/dist/actions/get-calendars.d.mts.map +1 -1
  329. package/dist/actions/get-calendars.mjs +7 -7
  330. package/dist/actions/get-calendars.mjs.map +1 -1
  331. package/dist/actions/get-calendarservice.cjs +3 -3
  332. package/dist/actions/get-calendarservice.cjs.map +1 -1
  333. package/dist/actions/get-calendarservice.d.cts +20 -3
  334. package/dist/actions/get-calendarservice.d.cts.map +1 -1
  335. package/dist/actions/get-calendarservice.d.mts +20 -3
  336. package/dist/actions/get-calendarservice.d.mts.map +1 -1
  337. package/dist/actions/get-calendarservice.mjs +3 -3
  338. package/dist/actions/get-calendarservice.mjs.map +1 -1
  339. package/dist/actions/get-company.cjs +19 -19
  340. package/dist/actions/get-company.cjs.map +1 -1
  341. package/dist/actions/get-company.d.cts +48 -3
  342. package/dist/actions/get-company.d.cts.map +1 -1
  343. package/dist/actions/get-company.d.mts +48 -3
  344. package/dist/actions/get-company.d.mts.map +1 -1
  345. package/dist/actions/get-company.mjs +19 -19
  346. package/dist/actions/get-company.mjs.map +1 -1
  347. package/dist/actions/get-contact-by-id.cjs +50 -50
  348. package/dist/actions/get-contact-by-id.cjs.map +1 -1
  349. package/dist/actions/get-contact-by-id.d.cts +121 -3
  350. package/dist/actions/get-contact-by-id.d.cts.map +1 -1
  351. package/dist/actions/get-contact-by-id.d.mts +121 -3
  352. package/dist/actions/get-contact-by-id.d.mts.map +1 -1
  353. package/dist/actions/get-contact-by-id.mjs +50 -50
  354. package/dist/actions/get-contact-by-id.mjs.map +1 -1
  355. package/dist/actions/get-contacts.cjs +50 -50
  356. package/dist/actions/get-contacts.cjs.map +1 -1
  357. package/dist/actions/get-contacts.d.cts +109 -3
  358. package/dist/actions/get-contacts.d.cts.map +1 -1
  359. package/dist/actions/get-contacts.d.mts +109 -3
  360. package/dist/actions/get-contacts.d.mts.map +1 -1
  361. package/dist/actions/get-contacts.mjs +50 -50
  362. package/dist/actions/get-contacts.mjs.map +1 -1
  363. package/dist/actions/get-deleted-appointments.cjs +18 -18
  364. package/dist/actions/get-deleted-appointments.cjs.map +1 -1
  365. package/dist/actions/get-deleted-appointments.d.cts +52 -3
  366. package/dist/actions/get-deleted-appointments.d.cts.map +1 -1
  367. package/dist/actions/get-deleted-appointments.d.mts +52 -3
  368. package/dist/actions/get-deleted-appointments.d.mts.map +1 -1
  369. package/dist/actions/get-deleted-appointments.mjs +18 -18
  370. package/dist/actions/get-deleted-appointments.mjs.map +1 -1
  371. package/dist/actions/get-message-logs.cjs +9 -9
  372. package/dist/actions/get-message-logs.cjs.map +1 -1
  373. package/dist/actions/get-message-logs.d.cts +35 -3
  374. package/dist/actions/get-message-logs.d.cts.map +1 -1
  375. package/dist/actions/get-message-logs.d.mts +35 -3
  376. package/dist/actions/get-message-logs.d.mts.map +1 -1
  377. package/dist/actions/get-message-logs.mjs +9 -9
  378. package/dist/actions/get-message-logs.mjs.map +1 -1
  379. package/dist/actions/get-rating.cjs +11 -11
  380. package/dist/actions/get-rating.cjs.map +1 -1
  381. package/dist/actions/get-rating.d.cts +32 -3
  382. package/dist/actions/get-rating.d.cts.map +1 -1
  383. package/dist/actions/get-rating.d.mts +32 -3
  384. package/dist/actions/get-rating.d.mts.map +1 -1
  385. package/dist/actions/get-rating.mjs +11 -11
  386. package/dist/actions/get-rating.mjs.map +1 -1
  387. package/dist/actions/get-service-by-id.cjs +13 -13
  388. package/dist/actions/get-service-by-id.cjs.map +1 -1
  389. package/dist/actions/get-service-by-id.d.cts +40 -3
  390. package/dist/actions/get-service-by-id.d.cts.map +1 -1
  391. package/dist/actions/get-service-by-id.d.mts +40 -3
  392. package/dist/actions/get-service-by-id.d.mts.map +1 -1
  393. package/dist/actions/get-service-by-id.mjs +13 -13
  394. package/dist/actions/get-service-by-id.mjs.map +1 -1
  395. package/dist/actions/get-service-calendar.cjs +1 -1
  396. package/dist/actions/get-service-calendar.cjs.map +1 -1
  397. package/dist/actions/get-service-calendar.d.cts +16 -3
  398. package/dist/actions/get-service-calendar.d.cts.map +1 -1
  399. package/dist/actions/get-service-calendar.d.mts +16 -3
  400. package/dist/actions/get-service-calendar.d.mts.map +1 -1
  401. package/dist/actions/get-service-calendar.mjs +1 -1
  402. package/dist/actions/get-service-calendar.mjs.map +1 -1
  403. package/dist/actions/get-servicegroup.cjs +25 -25
  404. package/dist/actions/get-servicegroup.cjs.map +1 -1
  405. package/dist/actions/get-servicegroup.d.cts +66 -3
  406. package/dist/actions/get-servicegroup.d.cts.map +1 -1
  407. package/dist/actions/get-servicegroup.d.mts +66 -3
  408. package/dist/actions/get-servicegroup.d.mts.map +1 -1
  409. package/dist/actions/get-servicegroup.mjs +25 -25
  410. package/dist/actions/get-servicegroup.mjs.map +1 -1
  411. package/dist/actions/get-services.cjs +13 -13
  412. package/dist/actions/get-services.cjs.map +1 -1
  413. package/dist/actions/get-services.d.cts +36 -3
  414. package/dist/actions/get-services.d.cts.map +1 -1
  415. package/dist/actions/get-services.d.mts +36 -3
  416. package/dist/actions/get-services.d.mts.map +1 -1
  417. package/dist/actions/get-services.mjs +13 -13
  418. package/dist/actions/get-services.mjs.map +1 -1
  419. package/dist/actions/get-survey-results.cjs +6 -6
  420. package/dist/actions/get-survey-results.cjs.map +1 -1
  421. package/dist/actions/get-survey-results.d.cts +27 -3
  422. package/dist/actions/get-survey-results.d.cts.map +1 -1
  423. package/dist/actions/get-survey-results.d.mts +27 -3
  424. package/dist/actions/get-survey-results.d.mts.map +1 -1
  425. package/dist/actions/get-survey-results.mjs +6 -6
  426. package/dist/actions/get-survey-results.mjs.map +1 -1
  427. package/dist/actions/get-timeslots.cjs +4 -4
  428. package/dist/actions/get-timeslots.cjs.map +1 -1
  429. package/dist/actions/get-timeslots.d.cts +24 -3
  430. package/dist/actions/get-timeslots.d.cts.map +1 -1
  431. package/dist/actions/get-timeslots.d.mts +24 -3
  432. package/dist/actions/get-timeslots.d.mts.map +1 -1
  433. package/dist/actions/get-timeslots.mjs +4 -4
  434. package/dist/actions/get-timeslots.mjs.map +1 -1
  435. package/dist/actions/get-usermapping.cjs +7 -7
  436. package/dist/actions/get-usermapping.cjs.map +1 -1
  437. package/dist/actions/get-usermapping.d.cts +28 -3
  438. package/dist/actions/get-usermapping.d.cts.map +1 -1
  439. package/dist/actions/get-usermapping.d.mts +28 -3
  440. package/dist/actions/get-usermapping.d.mts.map +1 -1
  441. package/dist/actions/get-usermapping.mjs +7 -7
  442. package/dist/actions/get-usermapping.mjs.map +1 -1
  443. package/dist/actions/get-users.cjs +28 -28
  444. package/dist/actions/get-users.cjs.map +1 -1
  445. package/dist/actions/get-users.d.cts +65 -3
  446. package/dist/actions/get-users.d.cts.map +1 -1
  447. package/dist/actions/get-users.d.mts +65 -3
  448. package/dist/actions/get-users.d.mts.map +1 -1
  449. package/dist/actions/get-users.mjs +28 -28
  450. package/dist/actions/get-users.mjs.map +1 -1
  451. package/dist/actions/get-working-times-date.cjs +6 -6
  452. package/dist/actions/get-working-times-date.cjs.map +1 -1
  453. package/dist/actions/get-working-times-date.d.cts +24 -3
  454. package/dist/actions/get-working-times-date.d.cts.map +1 -1
  455. package/dist/actions/get-working-times-date.d.mts +24 -3
  456. package/dist/actions/get-working-times-date.d.mts.map +1 -1
  457. package/dist/actions/get-working-times-date.mjs +6 -6
  458. package/dist/actions/get-working-times-date.mjs.map +1 -1
  459. package/dist/actions/get-working-times.cjs +7 -7
  460. package/dist/actions/get-working-times.cjs.map +1 -1
  461. package/dist/actions/get-working-times.d.cts +26 -3
  462. package/dist/actions/get-working-times.d.cts.map +1 -1
  463. package/dist/actions/get-working-times.d.mts +26 -3
  464. package/dist/actions/get-working-times.d.mts.map +1 -1
  465. package/dist/actions/get-working-times.mjs +7 -7
  466. package/dist/actions/get-working-times.mjs.map +1 -1
  467. package/dist/actions/list-appointments.cjs +19 -19
  468. package/dist/actions/list-appointments.cjs.map +1 -1
  469. package/dist/actions/list-appointments.d.cts +76 -3
  470. package/dist/actions/list-appointments.d.cts.map +1 -1
  471. package/dist/actions/list-appointments.d.mts +76 -3
  472. package/dist/actions/list-appointments.d.mts.map +1 -1
  473. package/dist/actions/list-appointments.mjs +19 -19
  474. package/dist/actions/list-appointments.mjs.map +1 -1
  475. package/dist/actions/list-vouchers.cjs +19 -19
  476. package/dist/actions/list-vouchers.cjs.map +1 -1
  477. package/dist/actions/list-vouchers.d.cts +45 -3
  478. package/dist/actions/list-vouchers.d.cts.map +1 -1
  479. package/dist/actions/list-vouchers.d.mts +45 -3
  480. package/dist/actions/list-vouchers.d.mts.map +1 -1
  481. package/dist/actions/list-vouchers.mjs +19 -19
  482. package/dist/actions/list-vouchers.mjs.map +1 -1
  483. package/dist/actions/list-webhooks.cjs.map +1 -1
  484. package/dist/actions/list-webhooks.d.cts +7 -3
  485. package/dist/actions/list-webhooks.d.cts.map +1 -1
  486. package/dist/actions/list-webhooks.d.mts +7 -3
  487. package/dist/actions/list-webhooks.d.mts.map +1 -1
  488. package/dist/actions/list-webhooks.mjs.map +1 -1
  489. package/dist/actions/put-service.cjs +3 -3
  490. package/dist/actions/put-service.cjs.map +1 -1
  491. package/dist/actions/put-service.d.cts +239 -3
  492. package/dist/actions/put-service.d.cts.map +1 -1
  493. package/dist/actions/put-service.d.mts +239 -3
  494. package/dist/actions/put-service.d.mts.map +1 -1
  495. package/dist/actions/put-service.mjs +3 -3
  496. package/dist/actions/put-service.mjs.map +1 -1
  497. package/dist/actions/update-absence.cjs +3 -3
  498. package/dist/actions/update-absence.cjs.map +1 -1
  499. package/dist/actions/update-absence.d.cts +27 -3
  500. package/dist/actions/update-absence.d.cts.map +1 -1
  501. package/dist/actions/update-absence.d.mts +27 -3
  502. package/dist/actions/update-absence.d.mts.map +1 -1
  503. package/dist/actions/update-absence.mjs +3 -3
  504. package/dist/actions/update-absence.mjs.map +1 -1
  505. package/dist/actions/update-anchortime-by-date.cjs +2 -2
  506. package/dist/actions/update-anchortime-by-date.cjs.map +1 -1
  507. package/dist/actions/update-anchortime-by-date.d.cts +21 -3
  508. package/dist/actions/update-anchortime-by-date.d.cts.map +1 -1
  509. package/dist/actions/update-anchortime-by-date.d.mts +21 -3
  510. package/dist/actions/update-anchortime-by-date.d.mts.map +1 -1
  511. package/dist/actions/update-anchortime-by-date.mjs +2 -2
  512. package/dist/actions/update-anchortime-by-date.mjs.map +1 -1
  513. package/dist/actions/update-anchortime.cjs +4 -4
  514. package/dist/actions/update-anchortime.cjs.map +1 -1
  515. package/dist/actions/update-anchortime.d.cts +25 -3
  516. package/dist/actions/update-anchortime.d.cts.map +1 -1
  517. package/dist/actions/update-anchortime.d.mts +25 -3
  518. package/dist/actions/update-anchortime.d.mts.map +1 -1
  519. package/dist/actions/update-anchortime.mjs +4 -4
  520. package/dist/actions/update-anchortime.mjs.map +1 -1
  521. package/dist/actions/update-appointment.cjs +2 -2
  522. package/dist/actions/update-appointment.cjs.map +1 -1
  523. package/dist/actions/update-appointment.d.cts +121 -3
  524. package/dist/actions/update-appointment.d.cts.map +1 -1
  525. package/dist/actions/update-appointment.d.mts +121 -3
  526. package/dist/actions/update-appointment.d.mts.map +1 -1
  527. package/dist/actions/update-appointment.mjs +2 -2
  528. package/dist/actions/update-appointment.mjs.map +1 -1
  529. package/dist/actions/update-calendar-return-time.cjs +3 -3
  530. package/dist/actions/update-calendar-return-time.cjs.map +1 -1
  531. package/dist/actions/update-calendar-return-time.d.cts +25 -3
  532. package/dist/actions/update-calendar-return-time.d.cts.map +1 -1
  533. package/dist/actions/update-calendar-return-time.d.mts +25 -3
  534. package/dist/actions/update-calendar-return-time.d.mts.map +1 -1
  535. package/dist/actions/update-calendar-return-time.mjs +3 -3
  536. package/dist/actions/update-calendar-return-time.mjs.map +1 -1
  537. package/dist/actions/update-calendar.cjs +4 -4
  538. package/dist/actions/update-calendar.cjs.map +1 -1
  539. package/dist/actions/update-calendar.d.cts +35 -3
  540. package/dist/actions/update-calendar.d.cts.map +1 -1
  541. package/dist/actions/update-calendar.d.mts +35 -3
  542. package/dist/actions/update-calendar.d.mts.map +1 -1
  543. package/dist/actions/update-calendar.mjs +4 -4
  544. package/dist/actions/update-calendar.mjs.map +1 -1
  545. package/dist/actions/update-contact.cjs +5 -5
  546. package/dist/actions/update-contact.cjs.map +1 -1
  547. package/dist/actions/update-contact.d.cts +25 -3
  548. package/dist/actions/update-contact.d.cts.map +1 -1
  549. package/dist/actions/update-contact.d.mts +25 -3
  550. package/dist/actions/update-contact.d.mts.map +1 -1
  551. package/dist/actions/update-contact.mjs +5 -5
  552. package/dist/actions/update-contact.mjs.map +1 -1
  553. package/dist/actions/update-resource.cjs +4 -4
  554. package/dist/actions/update-resource.cjs.map +1 -1
  555. package/dist/actions/update-resource.d.cts +21 -3
  556. package/dist/actions/update-resource.d.cts.map +1 -1
  557. package/dist/actions/update-resource.d.mts +21 -3
  558. package/dist/actions/update-resource.d.mts.map +1 -1
  559. package/dist/actions/update-resource.mjs +4 -4
  560. package/dist/actions/update-resource.mjs.map +1 -1
  561. package/dist/actions/update-service-group.cjs +2 -2
  562. package/dist/actions/update-service-group.cjs.map +1 -1
  563. package/dist/actions/update-service-group.d.cts +61 -3
  564. package/dist/actions/update-service-group.d.cts.map +1 -1
  565. package/dist/actions/update-service-group.d.mts +61 -3
  566. package/dist/actions/update-service-group.d.mts.map +1 -1
  567. package/dist/actions/update-service-group.mjs +2 -2
  568. package/dist/actions/update-service-group.mjs.map +1 -1
  569. package/dist/actions/update-service.cjs.map +1 -1
  570. package/dist/actions/update-service.d.cts +21 -3
  571. package/dist/actions/update-service.d.cts.map +1 -1
  572. package/dist/actions/update-service.d.mts +21 -3
  573. package/dist/actions/update-service.d.mts.map +1 -1
  574. package/dist/actions/update-service.mjs.map +1 -1
  575. package/dist/actions/update-sync-appointment.cjs +3 -3
  576. package/dist/actions/update-sync-appointment.cjs.map +1 -1
  577. package/dist/actions/update-sync-appointment.d.cts +39 -3
  578. package/dist/actions/update-sync-appointment.d.cts.map +1 -1
  579. package/dist/actions/update-sync-appointment.d.mts +39 -3
  580. package/dist/actions/update-sync-appointment.d.mts.map +1 -1
  581. package/dist/actions/update-sync-appointment.mjs +3 -3
  582. package/dist/actions/update-sync-appointment.mjs.map +1 -1
  583. package/dist/actions/update-usermapping.cjs +2 -2
  584. package/dist/actions/update-usermapping.cjs.map +1 -1
  585. package/dist/actions/update-usermapping.d.cts +30 -3
  586. package/dist/actions/update-usermapping.d.cts.map +1 -1
  587. package/dist/actions/update-usermapping.d.mts +30 -3
  588. package/dist/actions/update-usermapping.d.mts.map +1 -1
  589. package/dist/actions/update-usermapping.mjs +2 -2
  590. package/dist/actions/update-usermapping.mjs.map +1 -1
  591. package/dist/actions/update-voucher.cjs +4 -4
  592. package/dist/actions/update-voucher.cjs.map +1 -1
  593. package/dist/actions/update-voucher.d.cts +19 -3
  594. package/dist/actions/update-voucher.d.cts.map +1 -1
  595. package/dist/actions/update-voucher.d.mts +19 -3
  596. package/dist/actions/update-voucher.d.mts.map +1 -1
  597. package/dist/actions/update-voucher.mjs +4 -4
  598. package/dist/actions/update-voucher.mjs.map +1 -1
  599. package/dist/actions/update-webhook.cjs +3 -3
  600. package/dist/actions/update-webhook.cjs.map +1 -1
  601. package/dist/actions/update-webhook.d.cts +17 -3
  602. package/dist/actions/update-webhook.d.cts.map +1 -1
  603. package/dist/actions/update-webhook.d.mts +17 -3
  604. package/dist/actions/update-webhook.d.mts.map +1 -1
  605. package/dist/actions/update-webhook.mjs +3 -3
  606. package/dist/actions/update-webhook.mjs.map +1 -1
  607. package/dist/actions/update-working-times-date.cjs +2 -2
  608. package/dist/actions/update-working-times-date.cjs.map +1 -1
  609. package/dist/actions/update-working-times-date.d.cts +39 -3
  610. package/dist/actions/update-working-times-date.d.cts.map +1 -1
  611. package/dist/actions/update-working-times-date.d.mts +39 -3
  612. package/dist/actions/update-working-times-date.d.mts.map +1 -1
  613. package/dist/actions/update-working-times-date.mjs +2 -2
  614. package/dist/actions/update-working-times-date.mjs.map +1 -1
  615. package/dist/actions/update-working-times.cjs +2 -2
  616. package/dist/actions/update-working-times.cjs.map +1 -1
  617. package/dist/actions/update-working-times.d.cts +61 -3
  618. package/dist/actions/update-working-times.d.cts.map +1 -1
  619. package/dist/actions/update-working-times.d.mts +61 -3
  620. package/dist/actions/update-working-times.d.mts.map +1 -1
  621. package/dist/actions/update-working-times.mjs +2 -2
  622. package/dist/actions/update-working-times.mjs.map +1 -1
  623. package/dist/catalog.cjs +24 -1
  624. package/dist/catalog.cjs.map +1 -1
  625. package/dist/catalog.d.cts +23 -0
  626. package/dist/catalog.d.mts +23 -0
  627. package/dist/catalog.mjs +24 -1
  628. package/dist/catalog.mjs.map +1 -1
  629. package/package.json +2 -2
@@ -1,9 +1,42 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-services.d.ts
4
- declare const EterminGetServicesInput: z.ZodTypeAny;
5
- declare const EterminGetServicesOutput: z.ZodTypeAny;
6
- declare const eterminGetServices: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const EterminGetServicesInput: z.ZodObject<{}, z.core.$strip>;
5
+ declare const EterminGetServicesOutput: z.ZodObject<{
6
+ services: z.ZodArray<z.ZodObject<{
7
+ Price: z.ZodNullable<z.ZodNumber>;
8
+ InfoDE: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
9
+ InfoEN: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
10
+ Enabled: z.ZodNullable<z.ZodBoolean>;
11
+ Currency: z.ZodNullable<z.ZodString>;
12
+ ServiceDE: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
13
+ ServiceEN: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
14
+ ServiceID: z.ZodNullable<z.ZodNumber>;
15
+ SortOrder: z.ZodNullable<z.ZodNumber>;
16
+ MaxCapacity: z.ZodNullable<z.ZodNumber>;
17
+ MinCapacity: z.ZodNullable<z.ZodNumber>;
18
+ ServiceGroupID: z.ZodNullable<z.ZodNumber>;
19
+ TimeSlotMinutes: z.ZodNullable<z.ZodNumber>;
20
+ }, z.core.$loose>>;
21
+ }, z.core.$strip>;
22
+ declare const eterminGetServices: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, {
23
+ services: {
24
+ [x: string]: unknown;
25
+ Price: number | null;
26
+ Enabled: boolean | null;
27
+ Currency: string | null;
28
+ ServiceID: number | null;
29
+ SortOrder: number | null;
30
+ MaxCapacity: number | null;
31
+ MinCapacity: number | null;
32
+ ServiceGroupID: number | null;
33
+ TimeSlotMinutes: number | null;
34
+ InfoDE?: string | undefined;
35
+ InfoEN?: string | undefined;
36
+ ServiceDE?: string | undefined;
37
+ ServiceEN?: string | undefined;
38
+ }[];
39
+ }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
40
  //#endregion
8
41
  export { eterminGetServices };
9
42
  //# sourceMappingURL=get-services.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-services.d.mts","names":[],"sources":["../../src/actions/get-services.ts"],"mappings":";;;cAIa,uBAAA,EAAyB,CAAA,CAAE,UAA8J;AAAA,cAgBzL,wBAAA,EAA0B,CAAA,CAAE,UAEoH;AAAA,cAEhJ,kBAAA,gCAAkB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-services.d.mts","names":[],"sources":["../../src/actions/get-services.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAgBvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;cAIxB,kBAAA,gCAAkB,wBAAA,CAAA,MAAA"}
@@ -3,19 +3,19 @@ import { z } from "zod";
3
3
  //#region src/actions/get-services.ts
4
4
  const EterminGetServicesInput = z.object({}).describe("Request model for retrieving all services from eTermin.\nNo parameters required - retrieves all services in the account.");
5
5
  const EterminGetServices_ServiceSchema = z.object({
6
- Price: z.number().describe("Price of the service"),
7
- InfoDE: z.string().describe("Service description/info in German").nullable().optional(),
8
- InfoEN: z.string().describe("Service description/info in English").nullable().optional(),
9
- Enabled: z.boolean().describe("Whether the service is currently enabled for booking"),
10
- Currency: z.string().describe("Currency code for the price (e.g., EUR)"),
11
- ServiceDE: z.string().describe("Service name in German").nullable().optional(),
12
- ServiceEN: z.string().describe("Service name in English").nullable().optional(),
13
- ServiceID: z.number().int().describe("Unique identifier for the service"),
14
- SortOrder: z.number().int().describe("Sort order for displaying the service"),
15
- MaxCapacity: z.number().int().describe("Maximum capacity for the service"),
16
- MinCapacity: z.number().int().describe("Minimum capacity for the service"),
17
- ServiceGroupID: z.number().int().describe("ID of the service group this service belongs to"),
18
- TimeSlotMinutes: z.number().int().describe("Duration of the service in minutes")
6
+ Price: z.number().describe("Price of the service").nullable(),
7
+ InfoDE: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Service description/info in German").optional()),
8
+ InfoEN: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Service description/info in English").optional()),
9
+ Enabled: z.boolean().describe("Whether the service is currently enabled for booking").nullable(),
10
+ Currency: z.string().describe("Currency code for the price (e.g., EUR)").nullable(),
11
+ ServiceDE: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Service name in German").optional()),
12
+ ServiceEN: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Service name in English").optional()),
13
+ ServiceID: z.number().int().describe("Unique identifier for the service").nullable(),
14
+ SortOrder: z.number().int().describe("Sort order for displaying the service").nullable(),
15
+ MaxCapacity: z.number().int().describe("Maximum capacity for the service").nullable(),
16
+ MinCapacity: z.number().int().describe("Minimum capacity for the service").nullable(),
17
+ ServiceGroupID: z.number().int().describe("ID of the service group this service belongs to").nullable(),
18
+ TimeSlotMinutes: z.number().int().describe("Duration of the service in minutes").nullable()
19
19
  }).passthrough().describe("Model representing a service in eTermin.");
20
20
  const eterminGetServices = action("ETERMIN_GET_SERVICES", {
21
21
  slug: "etermin-get-services",
@@ -1 +1 @@
1
- {"version":3,"file":"get-services.mjs","names":[],"sources":["../../src/actions/get-services.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminGetServicesInput: z.ZodTypeAny = z.object({}).describe(\"Request model for retrieving all services from eTermin.\\nNo parameters required - retrieves all services in the account.\");\nconst EterminGetServices_ServiceSchema: z.ZodTypeAny = z.object({\n Price: z.number().describe(\"Price of the service\"),\n InfoDE: z.string().describe(\"Service description/info in German\").nullable().optional(),\n InfoEN: z.string().describe(\"Service description/info in English\").nullable().optional(),\n Enabled: z.boolean().describe(\"Whether the service is currently enabled for booking\"),\n Currency: z.string().describe(\"Currency code for the price (e.g., EUR)\"),\n ServiceDE: z.string().describe(\"Service name in German\").nullable().optional(),\n ServiceEN: z.string().describe(\"Service name in English\").nullable().optional(),\n ServiceID: z.number().int().describe(\"Unique identifier for the service\"),\n SortOrder: z.number().int().describe(\"Sort order for displaying the service\"),\n MaxCapacity: z.number().int().describe(\"Maximum capacity for the service\"),\n MinCapacity: z.number().int().describe(\"Minimum capacity for the service\"),\n ServiceGroupID: z.number().int().describe(\"ID of the service group this service belongs to\"),\n TimeSlotMinutes: z.number().int().describe(\"Duration of the service in minutes\"),\n}).passthrough().describe(\"Model representing a service in eTermin.\");\nexport const EterminGetServicesOutput: z.ZodTypeAny = z.object({\n services: z.array(EterminGetServices_ServiceSchema).describe(\"List of all services configured in the eTermin account\"),\n}).describe(\"Response model containing the list of services from eTermin.\\nEach service includes details like name, price, duration, and capacity settings.\");\n\nexport const eterminGetServices = action(\"ETERMIN_GET_SERVICES\", {\n slug: \"etermin-get-services\",\n name: \"Get Services\",\n description: \"Tool to retrieve a list of services. Use when you need to list available services in your eTermin account.\",\n input: EterminGetServicesInput,\n output: EterminGetServicesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAAwC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,0HAA0H;AACrM,MAAM,mCAAiD,EAAE,OAAO;CAC9D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB;CACjD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,sDAAsD;CACpF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC;CACvE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC;CACxE,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC;CAC5E,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC;CACzE,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC;CACzE,gBAAgB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD;CAC3F,iBAAiB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC;AACjF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AAKpE,MAAa,qBAAqB,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAToD,EAAE,OAAO,EAC7D,UAAU,EAAE,MAAM,gCAAgC,CAAC,CAAC,SAAS,wDAAwD,EACvH,CAAC,CAAC,CAAC,SAAS,gJAOF;AACV,CAAC"}
1
+ {"version":3,"file":"get-services.mjs","names":[],"sources":["../../src/actions/get-services.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminGetServicesInput = z.object({}).describe(\"Request model for retrieving all services from eTermin.\\nNo parameters required - retrieves all services in the account.\");\nconst EterminGetServices_ServiceSchema = z.object({\n Price: z.number().describe(\"Price of the service\").nullable(),\n InfoDE: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Service description/info in German\").optional()),\n InfoEN: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Service description/info in English\").optional()),\n Enabled: z.boolean().describe(\"Whether the service is currently enabled for booking\").nullable(),\n Currency: z.string().describe(\"Currency code for the price (e.g., EUR)\").nullable(),\n ServiceDE: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Service name in German\").optional()),\n ServiceEN: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Service name in English\").optional()),\n ServiceID: z.number().int().describe(\"Unique identifier for the service\").nullable(),\n SortOrder: z.number().int().describe(\"Sort order for displaying the service\").nullable(),\n MaxCapacity: z.number().int().describe(\"Maximum capacity for the service\").nullable(),\n MinCapacity: z.number().int().describe(\"Minimum capacity for the service\").nullable(),\n ServiceGroupID: z.number().int().describe(\"ID of the service group this service belongs to\").nullable(),\n TimeSlotMinutes: z.number().int().describe(\"Duration of the service in minutes\").nullable(),\n}).passthrough().describe(\"Model representing a service in eTermin.\");\nexport const EterminGetServicesOutput = z.object({\n services: z.array(EterminGetServices_ServiceSchema).describe(\"List of all services configured in the eTermin account\"),\n}).describe(\"Response model containing the list of services from eTermin.\\nEach service includes details like name, price, duration, and capacity settings.\");\n\nexport const eterminGetServices = action(\"ETERMIN_GET_SERVICES\", {\n slug: \"etermin-get-services\",\n name: \"Get Services\",\n description: \"Tool to retrieve a list of services. Use when you need to list available services in your eTermin account.\",\n input: EterminGetServicesInput,\n output: EterminGetServicesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0B,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,0HAA0H;AACvL,MAAM,mCAAmC,EAAE,OAAO;CAChD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CAC5D,QAAQ,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC;CAC1I,QAAQ,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC;CAC3I,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CAC/F,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAClF,WAAW,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC;CACjI,WAAW,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC;CAClI,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACnF,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CACvF,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACpF,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACpF,gBAAgB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CACtG,iBAAiB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;AAC5F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AAKpE,MAAa,qBAAqB,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATsC,EAAE,OAAO,EAC/C,UAAU,EAAE,MAAM,gCAAgC,CAAC,CAAC,SAAS,wDAAwD,EACvH,CAAC,CAAC,CAAC,SAAS,gJAOF;AACV,CAAC"}
@@ -6,12 +6,12 @@ const EterminGetSurveyResultsInput = zod.z.object({
6
6
  appid: zod.z.number().int().describe("Get all survey results of the appointment with this ID (not externalid)").optional()
7
7
  }).describe("Request model for retrieving survey results from eTermin.\nAll parameters are optional - when no parameters are provided, all survey results are returned.");
8
8
  const EterminGetSurveyResults_SurveyResultSchema = zod.z.object({
9
- Result: zod.z.string().describe("The survey result/answer provided by the customer").nullable().optional(),
10
- Question: zod.z.string().describe("The survey question that was asked").nullable().optional(),
11
- SurveyID: zod.z.number().int().describe("Unique identifier for the survey").nullable().optional(),
12
- TimeStamp: zod.z.string().describe("Timestamp when the survey result was recorded (ISO format)").nullable().optional(),
13
- CalendarID: zod.z.number().int().describe("ID of the calendar associated with the survey").nullable().optional(),
14
- CalendarName: zod.z.string().describe("Name of the calendar/employee associated with the survey").nullable().optional()
9
+ Result: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("The survey result/answer provided by the customer").optional()),
10
+ Question: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("The survey question that was asked").optional()),
11
+ SurveyID: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.number().int().describe("Unique identifier for the survey").optional()),
12
+ TimeStamp: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Timestamp when the survey result was recorded (ISO format)").optional()),
13
+ CalendarID: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.number().int().describe("ID of the calendar associated with the survey").optional()),
14
+ CalendarName: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Name of the calendar/employee associated with the survey").optional())
15
15
  }).describe("Model representing a survey result in eTermin.");
16
16
  const EterminGetSurveyResultsOutput = zod.z.object({ survey_results: zod.z.array(EterminGetSurveyResults_SurveyResultSchema).describe("List of survey results from the eTermin account") }).describe("Response model containing a list of survey results from eTermin.");
17
17
  const eterminGetSurveyResults = require_action.action("ETERMIN_GET_SURVEY_RESULTS", {
@@ -1 +1 @@
1
- {"version":3,"file":"get-survey-results.cjs","names":["z","action"],"sources":["../../src/actions/get-survey-results.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminGetSurveyResultsInput: z.ZodTypeAny = z.object({\n date: z.string().describe(\"Date when the survey result was created (format: YYYY-MM-DD or ISO date format)\").optional(),\n appid: z.number().int().describe(\"Get all survey results of the appointment with this ID (not externalid)\").optional(),\n}).describe(\"Request model for retrieving survey results from eTermin.\\nAll parameters are optional - when no parameters are provided, all survey results are returned.\");\nconst EterminGetSurveyResults_SurveyResultSchema: z.ZodTypeAny = z.object({\n Result: z.string().describe(\"The survey result/answer provided by the customer\").nullable().optional(),\n Question: z.string().describe(\"The survey question that was asked\").nullable().optional(),\n SurveyID: z.number().int().describe(\"Unique identifier for the survey\").nullable().optional(),\n TimeStamp: z.string().describe(\"Timestamp when the survey result was recorded (ISO format)\").nullable().optional(),\n CalendarID: z.number().int().describe(\"ID of the calendar associated with the survey\").nullable().optional(),\n CalendarName: z.string().describe(\"Name of the calendar/employee associated with the survey\").nullable().optional(),\n}).describe(\"Model representing a survey result in eTermin.\");\nexport const EterminGetSurveyResultsOutput: z.ZodTypeAny = z.object({\n survey_results: z.array(EterminGetSurveyResults_SurveyResultSchema).describe(\"List of survey results from the eTermin account\"),\n}).describe(\"Response model containing a list of survey results from eTermin.\");\n\nexport const eterminGetSurveyResults = action(\"ETERMIN_GET_SURVEY_RESULTS\", {\n slug: \"etermin-get-survey-results\",\n name: \"Get Survey Results\",\n description: \"Tool to retrieve survey results from eTermin. Use when you need to get customer feedback and survey responses. Returns survey questions, answers, timestamps, and associated calendar/employee information.\",\n input: EterminGetSurveyResultsInput,\n output: EterminGetSurveyResultsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA6CA,IAAAA,EAAE,OAAO;CACjE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;CACtH,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;AACvH,CAAC,CAAC,CAAC,SAAS,4JAA4J;AACxK,MAAM,6CAA2DA,IAAAA,EAAE,OAAO;CACxE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpH,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAC5D,MAAa,gCAA8CA,IAAAA,EAAE,OAAO,EAClE,gBAAgBA,IAAAA,EAAE,MAAM,0CAA0C,CAAC,CAAC,SAAS,iDAAiD,EAChI,CAAC,CAAC,CAAC,SAAS,kEAAkE;AAE9E,MAAa,0BAA0BC,eAAAA,OAAO,8BAA8B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-survey-results.cjs","names":["z","action"],"sources":["../../src/actions/get-survey-results.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminGetSurveyResultsInput = z.object({\n date: z.string().describe(\"Date when the survey result was created (format: YYYY-MM-DD or ISO date format)\").optional(),\n appid: z.number().int().describe(\"Get all survey results of the appointment with this ID (not externalid)\").optional(),\n}).describe(\"Request model for retrieving survey results from eTermin.\\nAll parameters are optional - when no parameters are provided, all survey results are returned.\");\nconst EterminGetSurveyResults_SurveyResultSchema = z.object({\n Result: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"The survey result/answer provided by the customer\").optional()),\n Question: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"The survey question that was asked\").optional()),\n SurveyID: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"Unique identifier for the survey\").optional()),\n TimeStamp: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Timestamp when the survey result was recorded (ISO format)\").optional()),\n CalendarID: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"ID of the calendar associated with the survey\").optional()),\n CalendarName: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Name of the calendar/employee associated with the survey\").optional()),\n}).describe(\"Model representing a survey result in eTermin.\");\nexport const EterminGetSurveyResultsOutput = z.object({\n survey_results: z.array(EterminGetSurveyResults_SurveyResultSchema).describe(\"List of survey results from the eTermin account\"),\n}).describe(\"Response model containing a list of survey results from eTermin.\");\n\nexport const eterminGetSurveyResults = action(\"ETERMIN_GET_SURVEY_RESULTS\", {\n slug: \"etermin-get-survey-results\",\n name: \"Get Survey Results\",\n description: \"Tool to retrieve survey results from eTermin. Use when you need to get customer feedback and survey responses. Returns survey questions, answers, timestamps, and associated calendar/employee information.\",\n input: EterminGetSurveyResultsInput,\n output: EterminGetSurveyResultsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;CACtH,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;AACvH,CAAC,CAAC,CAAC,SAAS,4JAA4J;AACxK,MAAM,6CAA6CA,IAAAA,EAAE,OAAO;CAC1D,QAAQA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC;CACzJ,UAAUA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC;CAC5I,UAAUA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC;CAChJ,WAAWA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC;CACrK,YAAYA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC;CAC/J,cAAcA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC;AACxK,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAC5D,MAAa,gCAAgCA,IAAAA,EAAE,OAAO,EACpD,gBAAgBA,IAAAA,EAAE,MAAM,0CAA0C,CAAC,CAAC,SAAS,iDAAiD,EAChI,CAAC,CAAC,CAAC,SAAS,kEAAkE;AAE9E,MAAa,0BAA0BC,eAAAA,OAAO,8BAA8B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,33 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-survey-results.d.ts
4
- declare const EterminGetSurveyResultsInput: z.ZodTypeAny;
5
- declare const EterminGetSurveyResultsOutput: z.ZodTypeAny;
6
- declare const eterminGetSurveyResults: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const EterminGetSurveyResultsInput: z.ZodObject<{
5
+ date: z.ZodOptional<z.ZodString>;
6
+ appid: z.ZodOptional<z.ZodNumber>;
7
+ }, z.core.$strip>;
8
+ declare const EterminGetSurveyResultsOutput: z.ZodObject<{
9
+ survey_results: z.ZodArray<z.ZodObject<{
10
+ Result: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
11
+ Question: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
12
+ SurveyID: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
13
+ TimeStamp: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
14
+ CalendarID: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
15
+ CalendarName: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
16
+ }, z.core.$strip>>;
17
+ }, z.core.$strip>;
18
+ declare const eterminGetSurveyResults: import("@keystrokehq/action").WorkflowActionDefinition<{
19
+ date?: string | undefined;
20
+ appid?: number | undefined;
21
+ }, {
22
+ survey_results: {
23
+ Result?: string | undefined;
24
+ Question?: string | undefined;
25
+ SurveyID?: number | undefined;
26
+ TimeStamp?: string | undefined;
27
+ CalendarID?: number | undefined;
28
+ CalendarName?: string | undefined;
29
+ }[];
30
+ }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
31
  //#endregion
8
32
  export { eterminGetSurveyResults };
9
33
  //# sourceMappingURL=get-survey-results.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-survey-results.d.cts","names":[],"sources":["../../src/actions/get-survey-results.ts"],"mappings":";;;cAIa,4BAAA,EAA8B,CAAA,CAAE,UAG4H;AAAA,cAS5J,6BAAA,EAA+B,CAAA,CAAE,UAEiC;AAAA,cAElE,uBAAA,gCAAuB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-survey-results.d.cts","names":[],"sources":["../../src/actions/get-survey-results.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;cAY5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;cAI7B,uBAAA,gCAAuB,wBAAA"}
@@ -1,9 +1,33 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-survey-results.d.ts
4
- declare const EterminGetSurveyResultsInput: z.ZodTypeAny;
5
- declare const EterminGetSurveyResultsOutput: z.ZodTypeAny;
6
- declare const eterminGetSurveyResults: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const EterminGetSurveyResultsInput: z.ZodObject<{
5
+ date: z.ZodOptional<z.ZodString>;
6
+ appid: z.ZodOptional<z.ZodNumber>;
7
+ }, z.core.$strip>;
8
+ declare const EterminGetSurveyResultsOutput: z.ZodObject<{
9
+ survey_results: z.ZodArray<z.ZodObject<{
10
+ Result: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
11
+ Question: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
12
+ SurveyID: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
13
+ TimeStamp: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
14
+ CalendarID: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
15
+ CalendarName: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
16
+ }, z.core.$strip>>;
17
+ }, z.core.$strip>;
18
+ declare const eterminGetSurveyResults: import("@keystrokehq/action").WorkflowActionDefinition<{
19
+ date?: string | undefined;
20
+ appid?: number | undefined;
21
+ }, {
22
+ survey_results: {
23
+ Result?: string | undefined;
24
+ Question?: string | undefined;
25
+ SurveyID?: number | undefined;
26
+ TimeStamp?: string | undefined;
27
+ CalendarID?: number | undefined;
28
+ CalendarName?: string | undefined;
29
+ }[];
30
+ }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
31
  //#endregion
8
32
  export { eterminGetSurveyResults };
9
33
  //# sourceMappingURL=get-survey-results.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-survey-results.d.mts","names":[],"sources":["../../src/actions/get-survey-results.ts"],"mappings":";;;cAIa,4BAAA,EAA8B,CAAA,CAAE,UAG4H;AAAA,cAS5J,6BAAA,EAA+B,CAAA,CAAE,UAEiC;AAAA,cAElE,uBAAA,gCAAuB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-survey-results.d.mts","names":[],"sources":["../../src/actions/get-survey-results.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;cAY5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;cAI7B,uBAAA,gCAAuB,wBAAA"}
@@ -6,12 +6,12 @@ const EterminGetSurveyResultsInput = z.object({
6
6
  appid: z.number().int().describe("Get all survey results of the appointment with this ID (not externalid)").optional()
7
7
  }).describe("Request model for retrieving survey results from eTermin.\nAll parameters are optional - when no parameters are provided, all survey results are returned.");
8
8
  const EterminGetSurveyResults_SurveyResultSchema = z.object({
9
- Result: z.string().describe("The survey result/answer provided by the customer").nullable().optional(),
10
- Question: z.string().describe("The survey question that was asked").nullable().optional(),
11
- SurveyID: z.number().int().describe("Unique identifier for the survey").nullable().optional(),
12
- TimeStamp: z.string().describe("Timestamp when the survey result was recorded (ISO format)").nullable().optional(),
13
- CalendarID: z.number().int().describe("ID of the calendar associated with the survey").nullable().optional(),
14
- CalendarName: z.string().describe("Name of the calendar/employee associated with the survey").nullable().optional()
9
+ Result: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("The survey result/answer provided by the customer").optional()),
10
+ Question: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("The survey question that was asked").optional()),
11
+ SurveyID: z.preprocess((value) => value === null ? void 0 : value, z.number().int().describe("Unique identifier for the survey").optional()),
12
+ TimeStamp: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Timestamp when the survey result was recorded (ISO format)").optional()),
13
+ CalendarID: z.preprocess((value) => value === null ? void 0 : value, z.number().int().describe("ID of the calendar associated with the survey").optional()),
14
+ CalendarName: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Name of the calendar/employee associated with the survey").optional())
15
15
  }).describe("Model representing a survey result in eTermin.");
16
16
  const eterminGetSurveyResults = action("ETERMIN_GET_SURVEY_RESULTS", {
17
17
  slug: "etermin-get-survey-results",
@@ -1 +1 @@
1
- {"version":3,"file":"get-survey-results.mjs","names":[],"sources":["../../src/actions/get-survey-results.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminGetSurveyResultsInput: z.ZodTypeAny = z.object({\n date: z.string().describe(\"Date when the survey result was created (format: YYYY-MM-DD or ISO date format)\").optional(),\n appid: z.number().int().describe(\"Get all survey results of the appointment with this ID (not externalid)\").optional(),\n}).describe(\"Request model for retrieving survey results from eTermin.\\nAll parameters are optional - when no parameters are provided, all survey results are returned.\");\nconst EterminGetSurveyResults_SurveyResultSchema: z.ZodTypeAny = z.object({\n Result: z.string().describe(\"The survey result/answer provided by the customer\").nullable().optional(),\n Question: z.string().describe(\"The survey question that was asked\").nullable().optional(),\n SurveyID: z.number().int().describe(\"Unique identifier for the survey\").nullable().optional(),\n TimeStamp: z.string().describe(\"Timestamp when the survey result was recorded (ISO format)\").nullable().optional(),\n CalendarID: z.number().int().describe(\"ID of the calendar associated with the survey\").nullable().optional(),\n CalendarName: z.string().describe(\"Name of the calendar/employee associated with the survey\").nullable().optional(),\n}).describe(\"Model representing a survey result in eTermin.\");\nexport const EterminGetSurveyResultsOutput: z.ZodTypeAny = z.object({\n survey_results: z.array(EterminGetSurveyResults_SurveyResultSchema).describe(\"List of survey results from the eTermin account\"),\n}).describe(\"Response model containing a list of survey results from eTermin.\");\n\nexport const eterminGetSurveyResults = action(\"ETERMIN_GET_SURVEY_RESULTS\", {\n slug: \"etermin-get-survey-results\",\n name: \"Get Survey Results\",\n description: \"Tool to retrieve survey results from eTermin. Use when you need to get customer feedback and survey responses. Returns survey questions, answers, timestamps, and associated calendar/employee information.\",\n input: EterminGetSurveyResultsInput,\n output: EterminGetSurveyResultsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA6C,EAAE,OAAO;CACjE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;CACtH,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;AACvH,CAAC,CAAC,CAAC,SAAS,4JAA4J;AACxK,MAAM,6CAA2D,EAAE,OAAO;CACxE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpH,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAK5D,MAAa,0BAA0B,OAAO,8BAA8B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATyD,EAAE,OAAO,EAClE,gBAAgB,EAAE,MAAM,0CAA0C,CAAC,CAAC,SAAS,iDAAiD,EAChI,CAAC,CAAC,CAAC,SAAS,kEAOF;AACV,CAAC"}
1
+ {"version":3,"file":"get-survey-results.mjs","names":[],"sources":["../../src/actions/get-survey-results.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminGetSurveyResultsInput = z.object({\n date: z.string().describe(\"Date when the survey result was created (format: YYYY-MM-DD or ISO date format)\").optional(),\n appid: z.number().int().describe(\"Get all survey results of the appointment with this ID (not externalid)\").optional(),\n}).describe(\"Request model for retrieving survey results from eTermin.\\nAll parameters are optional - when no parameters are provided, all survey results are returned.\");\nconst EterminGetSurveyResults_SurveyResultSchema = z.object({\n Result: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"The survey result/answer provided by the customer\").optional()),\n Question: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"The survey question that was asked\").optional()),\n SurveyID: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"Unique identifier for the survey\").optional()),\n TimeStamp: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Timestamp when the survey result was recorded (ISO format)\").optional()),\n CalendarID: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"ID of the calendar associated with the survey\").optional()),\n CalendarName: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Name of the calendar/employee associated with the survey\").optional()),\n}).describe(\"Model representing a survey result in eTermin.\");\nexport const EterminGetSurveyResultsOutput = z.object({\n survey_results: z.array(EterminGetSurveyResults_SurveyResultSchema).describe(\"List of survey results from the eTermin account\"),\n}).describe(\"Response model containing a list of survey results from eTermin.\");\n\nexport const eterminGetSurveyResults = action(\"ETERMIN_GET_SURVEY_RESULTS\", {\n slug: \"etermin-get-survey-results\",\n name: \"Get Survey Results\",\n description: \"Tool to retrieve survey results from eTermin. Use when you need to get customer feedback and survey responses. Returns survey questions, answers, timestamps, and associated calendar/employee information.\",\n input: EterminGetSurveyResultsInput,\n output: EterminGetSurveyResultsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+B,EAAE,OAAO;CACnD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;CACtH,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;AACvH,CAAC,CAAC,CAAC,SAAS,4JAA4J;AACxK,MAAM,6CAA6C,EAAE,OAAO;CAC1D,QAAQ,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC;CACzJ,UAAU,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC;CAC5I,UAAU,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC;CAChJ,WAAW,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC;CACrK,YAAY,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC;CAC/J,cAAc,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC;AACxK,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAK5D,MAAa,0BAA0B,OAAO,8BAA8B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT2C,EAAE,OAAO,EACpD,gBAAgB,EAAE,MAAM,0CAA0C,CAAC,CAAC,SAAS,iDAAiD,EAChI,CAAC,CAAC,CAAC,SAAS,kEAOF;AACV,CAAC"}
@@ -6,10 +6,10 @@ const EterminGetTimeslotsInput = zod.z.object({
6
6
  calendarid: zod.z.string().describe("ID of the calendar to check for available timeslots")
7
7
  }).describe("Request model for retrieving available timeslots for a specific calendar on a given date.");
8
8
  const EterminGetTimeslots_TimeslotSchema = zod.z.object({
9
- EndTime: zod.z.string().describe("End time of the timeslot").nullable().optional(),
10
- Capacity: zod.z.number().int().describe("Available capacity for the timeslot").nullable().optional(),
11
- Available: zod.z.boolean().describe("Whether the timeslot is available").nullable().optional(),
12
- StartTime: zod.z.string().describe("Start time of the timeslot").nullable().optional()
9
+ EndTime: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("End time of the timeslot").optional()),
10
+ Capacity: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.number().int().describe("Available capacity for the timeslot").optional()),
11
+ Available: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.boolean().describe("Whether the timeslot is available").optional()),
12
+ StartTime: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Start time of the timeslot").optional())
13
13
  }).passthrough().describe("Model representing a timeslot in eTermin.");
14
14
  const EterminGetTimeslotsOutput = zod.z.object({ timeslots: zod.z.array(EterminGetTimeslots_TimeslotSchema).describe("List of available timeslots for the specified calendar and date") }).describe("Response model containing available timeslots for the specified calendar and date.");
15
15
  const eterminGetTimeslots = require_action.action("ETERMIN_GET_TIMESLOTS", {
@@ -1 +1 @@
1
- {"version":3,"file":"get-timeslots.cjs","names":["z","action"],"sources":["../../src/actions/get-timeslots.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminGetTimeslotsInput: z.ZodTypeAny = z.object({\n date: z.string().describe(\"Date to check for available timeslots in YYYY-MM-DD format\"),\n calendarid: z.string().describe(\"ID of the calendar to check for available timeslots\"),\n}).describe(\"Request model for retrieving available timeslots for a specific calendar on a given date.\");\nconst EterminGetTimeslots_TimeslotSchema: z.ZodTypeAny = z.object({\n EndTime: z.string().describe(\"End time of the timeslot\").nullable().optional(),\n Capacity: z.number().int().describe(\"Available capacity for the timeslot\").nullable().optional(),\n Available: z.boolean().describe(\"Whether the timeslot is available\").nullable().optional(),\n StartTime: z.string().describe(\"Start time of the timeslot\").nullable().optional(),\n}).passthrough().describe(\"Model representing a timeslot in eTermin.\");\nexport const EterminGetTimeslotsOutput: z.ZodTypeAny = z.object({\n timeslots: z.array(EterminGetTimeslots_TimeslotSchema).describe(\"List of available timeslots for the specified calendar and date\"),\n}).describe(\"Response model containing available timeslots for the specified calendar and date.\");\n\nexport const eterminGetTimeslots = action(\"ETERMIN_GET_TIMESLOTS\", {\n slug: \"etermin-get-timeslots\",\n name: \"Get Timeslots\",\n description: \"Tool to retrieve available timeslots for a specific calendar on a given date. Use when you need to check booking availability for a particular calendar.\",\n input: EterminGetTimeslotsInput,\n output: EterminGetTimeslotsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAAyCA,IAAAA,EAAE,OAAO;CAC7D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D;CACtF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD;AACvF,CAAC,CAAC,CAAC,SAAS,2FAA2F;AACvG,MAAM,qCAAmDA,IAAAA,EAAE,OAAO;CAChE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAA2C;AACrE,MAAa,4BAA0CA,IAAAA,EAAE,OAAO,EAC9D,WAAWA,IAAAA,EAAE,MAAM,kCAAkC,CAAC,CAAC,SAAS,iEAAiE,EACnI,CAAC,CAAC,CAAC,SAAS,oFAAoF;AAEhG,MAAa,sBAAsBC,eAAAA,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-timeslots.cjs","names":["z","action"],"sources":["../../src/actions/get-timeslots.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminGetTimeslotsInput = z.object({\n date: z.string().describe(\"Date to check for available timeslots in YYYY-MM-DD format\"),\n calendarid: z.string().describe(\"ID of the calendar to check for available timeslots\"),\n}).describe(\"Request model for retrieving available timeslots for a specific calendar on a given date.\");\nconst EterminGetTimeslots_TimeslotSchema = z.object({\n EndTime: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"End time of the timeslot\").optional()),\n Capacity: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"Available capacity for the timeslot\").optional()),\n Available: z.preprocess((value) => (value === null ? undefined : value), z.boolean().describe(\"Whether the timeslot is available\").optional()),\n StartTime: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Start time of the timeslot\").optional()),\n}).passthrough().describe(\"Model representing a timeslot in eTermin.\");\nexport const EterminGetTimeslotsOutput = z.object({\n timeslots: z.array(EterminGetTimeslots_TimeslotSchema).describe(\"List of available timeslots for the specified calendar and date\"),\n}).describe(\"Response model containing available timeslots for the specified calendar and date.\");\n\nexport const eterminGetTimeslots = action(\"ETERMIN_GET_TIMESLOTS\", {\n slug: \"etermin-get-timeslots\",\n name: \"Get Timeslots\",\n description: \"Tool to retrieve available timeslots for a specific calendar on a given date. Use when you need to check booking availability for a particular calendar.\",\n input: EterminGetTimeslotsInput,\n output: EterminGetTimeslotsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D;CACtF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD;AACvF,CAAC,CAAC,CAAC,SAAS,2FAA2F;AACvG,MAAM,qCAAqCA,IAAAA,EAAE,OAAO;CAClD,SAASA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC;CACjI,UAAUA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC;CACnJ,WAAWA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC;CAC7I,WAAWA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC;AACvI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAA2C;AACrE,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,EAChD,WAAWA,IAAAA,EAAE,MAAM,kCAAkC,CAAC,CAAC,SAAS,iEAAiE,EACnI,CAAC,CAAC,CAAC,SAAS,oFAAoF;AAEhG,MAAa,sBAAsBC,eAAAA,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,30 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-timeslots.d.ts
4
- declare const EterminGetTimeslotsInput: z.ZodTypeAny;
5
- declare const EterminGetTimeslotsOutput: z.ZodTypeAny;
6
- declare const eterminGetTimeslots: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const EterminGetTimeslotsInput: z.ZodObject<{
5
+ date: z.ZodString;
6
+ calendarid: z.ZodString;
7
+ }, z.core.$strip>;
8
+ declare const EterminGetTimeslotsOutput: z.ZodObject<{
9
+ timeslots: z.ZodArray<z.ZodObject<{
10
+ EndTime: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
11
+ Capacity: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
12
+ Available: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
13
+ StartTime: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
14
+ }, z.core.$loose>>;
15
+ }, z.core.$strip>;
16
+ declare const eterminGetTimeslots: import("@keystrokehq/action").WorkflowActionDefinition<{
17
+ date: string;
18
+ calendarid: string;
19
+ }, {
20
+ timeslots: {
21
+ [x: string]: unknown;
22
+ EndTime?: string | undefined;
23
+ Capacity?: number | undefined;
24
+ Available?: boolean | undefined;
25
+ StartTime?: string | undefined;
26
+ }[];
27
+ }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
28
  //#endregion
8
29
  export { eterminGetTimeslots };
9
30
  //# sourceMappingURL=get-timeslots.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-timeslots.d.cts","names":[],"sources":["../../src/actions/get-timeslots.ts"],"mappings":";;;cAIa,wBAAA,EAA0B,CAAA,CAAE,UAG+D;AAAA,cAO3F,yBAAA,EAA2B,CAAA,CAAE,UAEuD;AAAA,cAEpF,mBAAA,gCAAmB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-timeslots.d.cts","names":[],"sources":["../../src/actions/get-timeslots.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;cAUxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;cAIzB,mBAAA,gCAAmB,wBAAA"}
@@ -1,9 +1,30 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-timeslots.d.ts
4
- declare const EterminGetTimeslotsInput: z.ZodTypeAny;
5
- declare const EterminGetTimeslotsOutput: z.ZodTypeAny;
6
- declare const eterminGetTimeslots: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const EterminGetTimeslotsInput: z.ZodObject<{
5
+ date: z.ZodString;
6
+ calendarid: z.ZodString;
7
+ }, z.core.$strip>;
8
+ declare const EterminGetTimeslotsOutput: z.ZodObject<{
9
+ timeslots: z.ZodArray<z.ZodObject<{
10
+ EndTime: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
11
+ Capacity: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
12
+ Available: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
13
+ StartTime: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
14
+ }, z.core.$loose>>;
15
+ }, z.core.$strip>;
16
+ declare const eterminGetTimeslots: import("@keystrokehq/action").WorkflowActionDefinition<{
17
+ date: string;
18
+ calendarid: string;
19
+ }, {
20
+ timeslots: {
21
+ [x: string]: unknown;
22
+ EndTime?: string | undefined;
23
+ Capacity?: number | undefined;
24
+ Available?: boolean | undefined;
25
+ StartTime?: string | undefined;
26
+ }[];
27
+ }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
28
  //#endregion
8
29
  export { eterminGetTimeslots };
9
30
  //# sourceMappingURL=get-timeslots.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-timeslots.d.mts","names":[],"sources":["../../src/actions/get-timeslots.ts"],"mappings":";;;cAIa,wBAAA,EAA0B,CAAA,CAAE,UAG+D;AAAA,cAO3F,yBAAA,EAA2B,CAAA,CAAE,UAEuD;AAAA,cAEpF,mBAAA,gCAAmB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-timeslots.d.mts","names":[],"sources":["../../src/actions/get-timeslots.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;cAUxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;cAIzB,mBAAA,gCAAmB,wBAAA"}
@@ -6,10 +6,10 @@ const EterminGetTimeslotsInput = z.object({
6
6
  calendarid: z.string().describe("ID of the calendar to check for available timeslots")
7
7
  }).describe("Request model for retrieving available timeslots for a specific calendar on a given date.");
8
8
  const EterminGetTimeslots_TimeslotSchema = z.object({
9
- EndTime: z.string().describe("End time of the timeslot").nullable().optional(),
10
- Capacity: z.number().int().describe("Available capacity for the timeslot").nullable().optional(),
11
- Available: z.boolean().describe("Whether the timeslot is available").nullable().optional(),
12
- StartTime: z.string().describe("Start time of the timeslot").nullable().optional()
9
+ EndTime: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("End time of the timeslot").optional()),
10
+ Capacity: z.preprocess((value) => value === null ? void 0 : value, z.number().int().describe("Available capacity for the timeslot").optional()),
11
+ Available: z.preprocess((value) => value === null ? void 0 : value, z.boolean().describe("Whether the timeslot is available").optional()),
12
+ StartTime: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Start time of the timeslot").optional())
13
13
  }).passthrough().describe("Model representing a timeslot in eTermin.");
14
14
  const eterminGetTimeslots = action("ETERMIN_GET_TIMESLOTS", {
15
15
  slug: "etermin-get-timeslots",
@@ -1 +1 @@
1
- {"version":3,"file":"get-timeslots.mjs","names":[],"sources":["../../src/actions/get-timeslots.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminGetTimeslotsInput: z.ZodTypeAny = z.object({\n date: z.string().describe(\"Date to check for available timeslots in YYYY-MM-DD format\"),\n calendarid: z.string().describe(\"ID of the calendar to check for available timeslots\"),\n}).describe(\"Request model for retrieving available timeslots for a specific calendar on a given date.\");\nconst EterminGetTimeslots_TimeslotSchema: z.ZodTypeAny = z.object({\n EndTime: z.string().describe(\"End time of the timeslot\").nullable().optional(),\n Capacity: z.number().int().describe(\"Available capacity for the timeslot\").nullable().optional(),\n Available: z.boolean().describe(\"Whether the timeslot is available\").nullable().optional(),\n StartTime: z.string().describe(\"Start time of the timeslot\").nullable().optional(),\n}).passthrough().describe(\"Model representing a timeslot in eTermin.\");\nexport const EterminGetTimeslotsOutput: z.ZodTypeAny = z.object({\n timeslots: z.array(EterminGetTimeslots_TimeslotSchema).describe(\"List of available timeslots for the specified calendar and date\"),\n}).describe(\"Response model containing available timeslots for the specified calendar and date.\");\n\nexport const eterminGetTimeslots = action(\"ETERMIN_GET_TIMESLOTS\", {\n slug: \"etermin-get-timeslots\",\n name: \"Get Timeslots\",\n description: \"Tool to retrieve available timeslots for a specific calendar on a given date. Use when you need to check booking availability for a particular calendar.\",\n input: EterminGetTimeslotsInput,\n output: EterminGetTimeslotsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAAyC,EAAE,OAAO;CAC7D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D;CACtF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD;AACvF,CAAC,CAAC,CAAC,SAAS,2FAA2F;AACvG,MAAM,qCAAmD,EAAE,OAAO;CAChE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAA2C;AAKrE,MAAa,sBAAsB,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATqD,EAAE,OAAO,EAC9D,WAAW,EAAE,MAAM,kCAAkC,CAAC,CAAC,SAAS,iEAAiE,EACnI,CAAC,CAAC,CAAC,SAAS,oFAOF;AACV,CAAC"}
1
+ {"version":3,"file":"get-timeslots.mjs","names":[],"sources":["../../src/actions/get-timeslots.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminGetTimeslotsInput = z.object({\n date: z.string().describe(\"Date to check for available timeslots in YYYY-MM-DD format\"),\n calendarid: z.string().describe(\"ID of the calendar to check for available timeslots\"),\n}).describe(\"Request model for retrieving available timeslots for a specific calendar on a given date.\");\nconst EterminGetTimeslots_TimeslotSchema = z.object({\n EndTime: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"End time of the timeslot\").optional()),\n Capacity: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"Available capacity for the timeslot\").optional()),\n Available: z.preprocess((value) => (value === null ? undefined : value), z.boolean().describe(\"Whether the timeslot is available\").optional()),\n StartTime: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Start time of the timeslot\").optional()),\n}).passthrough().describe(\"Model representing a timeslot in eTermin.\");\nexport const EterminGetTimeslotsOutput = z.object({\n timeslots: z.array(EterminGetTimeslots_TimeslotSchema).describe(\"List of available timeslots for the specified calendar and date\"),\n}).describe(\"Response model containing available timeslots for the specified calendar and date.\");\n\nexport const eterminGetTimeslots = action(\"ETERMIN_GET_TIMESLOTS\", {\n slug: \"etermin-get-timeslots\",\n name: \"Get Timeslots\",\n description: \"Tool to retrieve available timeslots for a specific calendar on a given date. Use when you need to check booking availability for a particular calendar.\",\n input: EterminGetTimeslotsInput,\n output: EterminGetTimeslotsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2B,EAAE,OAAO;CAC/C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D;CACtF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD;AACvF,CAAC,CAAC,CAAC,SAAS,2FAA2F;AACvG,MAAM,qCAAqC,EAAE,OAAO;CAClD,SAAS,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC;CACjI,UAAU,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC;CACnJ,WAAW,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC;CAC7I,WAAW,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC;AACvI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAA2C;AAKrE,MAAa,sBAAsB,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATuC,EAAE,OAAO,EAChD,WAAW,EAAE,MAAM,kCAAkC,CAAC,CAAC,SAAS,iEAAiE,EACnI,CAAC,CAAC,CAAC,SAAS,oFAOF;AACV,CAAC"}
@@ -3,13 +3,13 @@ let zod = require("zod");
3
3
  //#region src/actions/get-usermapping.ts
4
4
  const EterminGetUsermappingInput = zod.z.object({ searchvalue: zod.z.number().int().describe("Value that needs to be validated by the number search. Omit this parameter to get all usermappings.").optional() }).describe("Request model for retrieving usermapping information from eTermin.\nOptionally filter by a specific search value.");
5
5
  const EterminGetUsermapping_UsermappingSchema = zod.z.object({
6
- id: zod.z.number().int().describe("Unique identifier for the usermapping").nullable().optional(),
7
- value: zod.z.number().int().describe("Value for the usermapping").nullable().optional(),
8
- valueto: zod.z.number().int().describe("Ending value for the range").nullable().optional(),
9
- valuefrom: zod.z.number().int().describe("Starting value for the range").nullable().optional(),
10
- valuetype: zod.z.number().int().describe("Type of value (e.g., 0 for default type)").nullable().optional(),
11
- calendarid: zod.z.string().describe("Calendar ID associated with this usermapping").nullable().optional(),
12
- servicegroupid: zod.z.string().describe("Service group ID(s) associated with this usermapping (comma-separated)").nullable().optional()
6
+ id: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.number().int().describe("Unique identifier for the usermapping").optional()),
7
+ value: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.number().int().describe("Value for the usermapping").optional()),
8
+ valueto: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.number().int().describe("Ending value for the range").optional()),
9
+ valuefrom: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.number().int().describe("Starting value for the range").optional()),
10
+ valuetype: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.number().int().describe("Type of value (e.g., 0 for default type)").optional()),
11
+ calendarid: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Calendar ID associated with this usermapping").optional()),
12
+ servicegroupid: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Service group ID(s) associated with this usermapping (comma-separated)").optional())
13
13
  }).passthrough().describe("Model representing a usermapping entry in eTermin.");
14
14
  const EterminGetUsermappingOutput = zod.z.object({ usermappings: zod.z.array(EterminGetUsermapping_UsermappingSchema).describe("List of usermapping entries returned by the eTermin API") }).describe("Response model containing the list of usermapping entries from eTermin.");
15
15
  const eterminGetUsermapping = require_action.action("ETERMIN_GET_USERMAPPING", {
@@ -1 +1 @@
1
- {"version":3,"file":"get-usermapping.cjs","names":["z","action"],"sources":["../../src/actions/get-usermapping.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminGetUsermappingInput: z.ZodTypeAny = z.object({\n searchvalue: z.number().int().describe(\"Value that needs to be validated by the number search. Omit this parameter to get all usermappings.\").optional(),\n}).describe(\"Request model for retrieving usermapping information from eTermin.\\nOptionally filter by a specific search value.\");\nconst EterminGetUsermapping_UsermappingSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier for the usermapping\").nullable().optional(),\n value: z.number().int().describe(\"Value for the usermapping\").nullable().optional(),\n valueto: z.number().int().describe(\"Ending value for the range\").nullable().optional(),\n valuefrom: z.number().int().describe(\"Starting value for the range\").nullable().optional(),\n valuetype: z.number().int().describe(\"Type of value (e.g., 0 for default type)\").nullable().optional(),\n calendarid: z.string().describe(\"Calendar ID associated with this usermapping\").nullable().optional(),\n servicegroupid: z.string().describe(\"Service group ID(s) associated with this usermapping (comma-separated)\").nullable().optional(),\n}).passthrough().describe(\"Model representing a usermapping entry in eTermin.\");\nexport const EterminGetUsermappingOutput: z.ZodTypeAny = z.object({\n usermappings: z.array(EterminGetUsermapping_UsermappingSchema).describe(\"List of usermapping entries returned by the eTermin API\"),\n}).describe(\"Response model containing the list of usermapping entries from eTermin.\");\n\nexport const eterminGetUsermapping = action(\"ETERMIN_GET_USERMAPPING\", {\n slug: \"etermin-get-usermapping\",\n name: \"Get Usermapping\",\n description: \"Tool to retrieve usermapping information. Use when you need to get usermapping details or validate number search values.\",\n input: EterminGetUsermappingInput,\n output: EterminGetUsermappingOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA2CA,IAAAA,EAAE,OAAO,EAC/D,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS,EACzJ,CAAC,CAAC,CAAC,SAAS,mHAAmH;AAC/H,MAAM,0CAAwDA,IAAAA,EAAE,OAAO;CACrE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAAoD;AAC9E,MAAa,8BAA4CA,IAAAA,EAAE,OAAO,EAChE,cAAcA,IAAAA,EAAE,MAAM,uCAAuC,CAAC,CAAC,SAAS,yDAAyD,EACnI,CAAC,CAAC,CAAC,SAAS,yEAAyE;AAErF,MAAa,wBAAwBC,eAAAA,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-usermapping.cjs","names":["z","action"],"sources":["../../src/actions/get-usermapping.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminGetUsermappingInput = z.object({\n searchvalue: z.number().int().describe(\"Value that needs to be validated by the number search. Omit this parameter to get all usermappings.\").optional(),\n}).describe(\"Request model for retrieving usermapping information from eTermin.\\nOptionally filter by a specific search value.\");\nconst EterminGetUsermapping_UsermappingSchema = z.object({\n id: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"Unique identifier for the usermapping\").optional()),\n value: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"Value for the usermapping\").optional()),\n valueto: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"Ending value for the range\").optional()),\n valuefrom: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"Starting value for the range\").optional()),\n valuetype: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"Type of value (e.g., 0 for default type)\").optional()),\n calendarid: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Calendar ID associated with this usermapping\").optional()),\n servicegroupid: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Service group ID(s) associated with this usermapping (comma-separated)\").optional()),\n}).passthrough().describe(\"Model representing a usermapping entry in eTermin.\");\nexport const EterminGetUsermappingOutput = z.object({\n usermappings: z.array(EterminGetUsermapping_UsermappingSchema).describe(\"List of usermapping entries returned by the eTermin API\"),\n}).describe(\"Response model containing the list of usermapping entries from eTermin.\");\n\nexport const eterminGetUsermapping = action(\"ETERMIN_GET_USERMAPPING\", {\n slug: \"etermin-get-usermapping\",\n name: \"Get Usermapping\",\n description: \"Tool to retrieve usermapping information. Use when you need to get usermapping details or validate number search values.\",\n input: EterminGetUsermappingInput,\n output: EterminGetUsermappingOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,EACjD,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS,EACzJ,CAAC,CAAC,CAAC,SAAS,mHAAmH;AAC/H,MAAM,0CAA0CA,IAAAA,EAAE,OAAO;CACvD,IAAIA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC;CAC/I,OAAOA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC;CACtI,SAASA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC;CACzI,WAAWA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC;CAC7I,WAAWA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC;CACzJ,YAAYA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC;CACxJ,gBAAgBA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS,CAAC;AACxL,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAAoD;AAC9E,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,EAClD,cAAcA,IAAAA,EAAE,MAAM,uCAAuC,CAAC,CAAC,SAAS,yDAAyD,EACnI,CAAC,CAAC,CAAC,SAAS,yEAAyE;AAErF,MAAa,wBAAwBC,eAAAA,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,34 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-usermapping.d.ts
4
- declare const EterminGetUsermappingInput: z.ZodTypeAny;
5
- declare const EterminGetUsermappingOutput: z.ZodTypeAny;
6
- declare const eterminGetUsermapping: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const EterminGetUsermappingInput: z.ZodObject<{
5
+ searchvalue: z.ZodOptional<z.ZodNumber>;
6
+ }, z.core.$strip>;
7
+ declare const EterminGetUsermappingOutput: z.ZodObject<{
8
+ usermappings: z.ZodArray<z.ZodObject<{
9
+ id: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
10
+ value: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
11
+ valueto: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
12
+ valuefrom: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
13
+ valuetype: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
14
+ calendarid: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
15
+ servicegroupid: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
16
+ }, z.core.$loose>>;
17
+ }, z.core.$strip>;
18
+ declare const eterminGetUsermapping: import("@keystrokehq/action").WorkflowActionDefinition<{
19
+ searchvalue?: number | undefined;
20
+ }, {
21
+ usermappings: {
22
+ [x: string]: unknown;
23
+ id?: number | undefined;
24
+ value?: number | undefined;
25
+ valueto?: number | undefined;
26
+ valuefrom?: number | undefined;
27
+ valuetype?: number | undefined;
28
+ calendarid?: string | undefined;
29
+ servicegroupid?: string | undefined;
30
+ }[];
31
+ }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
32
  //#endregion
8
33
  export { eterminGetUsermapping };
9
34
  //# sourceMappingURL=get-usermapping.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-usermapping.d.cts","names":[],"sources":["../../src/actions/get-usermapping.ts"],"mappings":";;;cAIa,0BAAA,EAA4B,CAAA,CAAE,UAEqF;AAAA,cAUnH,2BAAA,EAA6B,CAAA,CAAE,UAE0C;AAAA,cAEzE,qBAAA,gCAAqB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-usermapping.d.cts","names":[],"sources":["../../src/actions/get-usermapping.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;cAY1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;cAI3B,qBAAA,gCAAqB,wBAAA"}
@@ -1,9 +1,34 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-usermapping.d.ts
4
- declare const EterminGetUsermappingInput: z.ZodTypeAny;
5
- declare const EterminGetUsermappingOutput: z.ZodTypeAny;
6
- declare const eterminGetUsermapping: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const EterminGetUsermappingInput: z.ZodObject<{
5
+ searchvalue: z.ZodOptional<z.ZodNumber>;
6
+ }, z.core.$strip>;
7
+ declare const EterminGetUsermappingOutput: z.ZodObject<{
8
+ usermappings: z.ZodArray<z.ZodObject<{
9
+ id: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
10
+ value: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
11
+ valueto: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
12
+ valuefrom: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
13
+ valuetype: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
14
+ calendarid: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
15
+ servicegroupid: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
16
+ }, z.core.$loose>>;
17
+ }, z.core.$strip>;
18
+ declare const eterminGetUsermapping: import("@keystrokehq/action").WorkflowActionDefinition<{
19
+ searchvalue?: number | undefined;
20
+ }, {
21
+ usermappings: {
22
+ [x: string]: unknown;
23
+ id?: number | undefined;
24
+ value?: number | undefined;
25
+ valueto?: number | undefined;
26
+ valuefrom?: number | undefined;
27
+ valuetype?: number | undefined;
28
+ calendarid?: string | undefined;
29
+ servicegroupid?: string | undefined;
30
+ }[];
31
+ }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
32
  //#endregion
8
33
  export { eterminGetUsermapping };
9
34
  //# sourceMappingURL=get-usermapping.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-usermapping.d.mts","names":[],"sources":["../../src/actions/get-usermapping.ts"],"mappings":";;;cAIa,0BAAA,EAA4B,CAAA,CAAE,UAEqF;AAAA,cAUnH,2BAAA,EAA6B,CAAA,CAAE,UAE0C;AAAA,cAEzE,qBAAA,gCAAqB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-usermapping.d.mts","names":[],"sources":["../../src/actions/get-usermapping.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;cAY1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;cAI3B,qBAAA,gCAAqB,wBAAA"}
@@ -3,13 +3,13 @@ import { z } from "zod";
3
3
  //#region src/actions/get-usermapping.ts
4
4
  const EterminGetUsermappingInput = z.object({ searchvalue: z.number().int().describe("Value that needs to be validated by the number search. Omit this parameter to get all usermappings.").optional() }).describe("Request model for retrieving usermapping information from eTermin.\nOptionally filter by a specific search value.");
5
5
  const EterminGetUsermapping_UsermappingSchema = z.object({
6
- id: z.number().int().describe("Unique identifier for the usermapping").nullable().optional(),
7
- value: z.number().int().describe("Value for the usermapping").nullable().optional(),
8
- valueto: z.number().int().describe("Ending value for the range").nullable().optional(),
9
- valuefrom: z.number().int().describe("Starting value for the range").nullable().optional(),
10
- valuetype: z.number().int().describe("Type of value (e.g., 0 for default type)").nullable().optional(),
11
- calendarid: z.string().describe("Calendar ID associated with this usermapping").nullable().optional(),
12
- servicegroupid: z.string().describe("Service group ID(s) associated with this usermapping (comma-separated)").nullable().optional()
6
+ id: z.preprocess((value) => value === null ? void 0 : value, z.number().int().describe("Unique identifier for the usermapping").optional()),
7
+ value: z.preprocess((value) => value === null ? void 0 : value, z.number().int().describe("Value for the usermapping").optional()),
8
+ valueto: z.preprocess((value) => value === null ? void 0 : value, z.number().int().describe("Ending value for the range").optional()),
9
+ valuefrom: z.preprocess((value) => value === null ? void 0 : value, z.number().int().describe("Starting value for the range").optional()),
10
+ valuetype: z.preprocess((value) => value === null ? void 0 : value, z.number().int().describe("Type of value (e.g., 0 for default type)").optional()),
11
+ calendarid: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Calendar ID associated with this usermapping").optional()),
12
+ servicegroupid: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Service group ID(s) associated with this usermapping (comma-separated)").optional())
13
13
  }).passthrough().describe("Model representing a usermapping entry in eTermin.");
14
14
  const eterminGetUsermapping = action("ETERMIN_GET_USERMAPPING", {
15
15
  slug: "etermin-get-usermapping",