@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 +1 @@
1
- {"version":3,"file":"update-service.cjs","names":["z","action"],"sources":["../../src/actions/update-service.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminUpdateServiceInput: z.ZodTypeAny = z.object({\n name: z.string().describe(\"New name of the service (sets both German and English names).\").optional(),\n price: z.number().describe(\"New price of the service, must be non-negative.\").optional(),\n duration: z.number().int().describe(\"New duration of the service in minutes (timeslotminutes), must be at least 1.\").optional(),\n service_id: z.string().describe(\"Unique identifier (id) of the service to update.\"),\n description: z.string().describe(\"New description of the service (sets both German and English info text).\").optional(),\n servicegroupid: z.number().int().describe(\"ID of the service group this service belongs to. Required by the eTermin API.\").optional(),\n}).describe(\"Request model for updating an existing service in eTermin.\");\nexport const EterminUpdateServiceOutput: z.ZodTypeAny = z.object({\n service: z.record(z.string(), z.unknown()).describe(\"Updated service object returned by eTermin\"),\n}).describe(\"Response model for updated service.\");\n\nexport const eterminUpdateService = action(\"ETERMIN_UPDATE_SERVICE\", {\n slug: \"etermin-update-service\",\n name: \"Update Service\",\n description: \"Tool to update an existing service. Use when you need to modify service details after confirming the service ID.\",\n input: EterminUpdateServiceInput,\n output: EterminUpdateServiceOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA0CA,IAAAA,EAAE,OAAO;CAC9D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;CACpG,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CACvF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;CAC9H,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD;CAClF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;CACtH,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;AACtI,CAAC,CAAC,CAAC,SAAS,4DAA4D;AACxE,MAAa,6BAA2CA,IAAAA,EAAE,OAAO,EAC/D,SAASA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,4CAA4C,EAClG,CAAC,CAAC,CAAC,SAAS,qCAAqC;AAEjD,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"update-service.cjs","names":["z","action"],"sources":["../../src/actions/update-service.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminUpdateServiceInput = z.object({\n name: z.string().describe(\"New name of the service (sets both German and English names).\").optional(),\n price: z.number().describe(\"New price of the service, must be non-negative.\").optional(),\n duration: z.number().int().describe(\"New duration of the service in minutes (timeslotminutes), must be at least 1.\").optional(),\n service_id: z.string().describe(\"Unique identifier (id) of the service to update.\"),\n description: z.string().describe(\"New description of the service (sets both German and English info text).\").optional(),\n servicegroupid: z.number().int().describe(\"ID of the service group this service belongs to. Required by the eTermin API.\").optional(),\n}).describe(\"Request model for updating an existing service in eTermin.\");\nexport const EterminUpdateServiceOutput = z.object({\n service: z.record(z.string(), z.unknown()).describe(\"Updated service object returned by eTermin\"),\n}).describe(\"Response model for updated service.\");\n\nexport const eterminUpdateService = action(\"ETERMIN_UPDATE_SERVICE\", {\n slug: \"etermin-update-service\",\n name: \"Update Service\",\n description: \"Tool to update an existing service. Use when you need to modify service details after confirming the service ID.\",\n input: EterminUpdateServiceInput,\n output: EterminUpdateServiceOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;CACpG,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CACvF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;CAC9H,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD;CAClF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;CACtH,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;AACtI,CAAC,CAAC,CAAC,SAAS,4DAA4D;AACxE,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,EACjD,SAASA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,4CAA4C,EAClG,CAAC,CAAC,CAAC,SAAS,qCAAqC;AAEjD,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,27 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/update-service.d.ts
4
- declare const EterminUpdateServiceInput: z.ZodTypeAny;
5
- declare const EterminUpdateServiceOutput: z.ZodTypeAny;
6
- declare const eterminUpdateService: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const EterminUpdateServiceInput: z.ZodObject<{
5
+ name: z.ZodOptional<z.ZodString>;
6
+ price: z.ZodOptional<z.ZodNumber>;
7
+ duration: z.ZodOptional<z.ZodNumber>;
8
+ service_id: z.ZodString;
9
+ description: z.ZodOptional<z.ZodString>;
10
+ servicegroupid: z.ZodOptional<z.ZodNumber>;
11
+ }, z.core.$strip>;
12
+ declare const EterminUpdateServiceOutput: z.ZodObject<{
13
+ service: z.ZodRecord<z.ZodString, z.ZodUnknown>;
14
+ }, z.core.$strip>;
15
+ declare const eterminUpdateService: import("@keystrokehq/action").WorkflowActionDefinition<{
16
+ service_id: string;
17
+ name?: string | undefined;
18
+ price?: number | undefined;
19
+ duration?: number | undefined;
20
+ description?: string | undefined;
21
+ servicegroupid?: number | undefined;
22
+ }, {
23
+ service: Record<string, unknown>;
24
+ }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
25
  //#endregion
8
26
  export { eterminUpdateService };
9
27
  //# sourceMappingURL=update-service.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-service.d.cts","names":[],"sources":["../../src/actions/update-service.ts"],"mappings":";;;cAIa,yBAAA,EAA2B,CAAA,CAAE,UAO+B;AAAA,cAC5D,0BAAA,EAA4B,CAAA,CAAE,UAEO;AAAA,cAErC,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"update-service.d.cts","names":[],"sources":["../../src/actions/update-service.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;cAQzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;cAI1B,oBAAA,gCAAoB,wBAAA;;;;;;;;WAM/B,MAAA;AAAA"}
@@ -1,9 +1,27 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/update-service.d.ts
4
- declare const EterminUpdateServiceInput: z.ZodTypeAny;
5
- declare const EterminUpdateServiceOutput: z.ZodTypeAny;
6
- declare const eterminUpdateService: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const EterminUpdateServiceInput: z.ZodObject<{
5
+ name: z.ZodOptional<z.ZodString>;
6
+ price: z.ZodOptional<z.ZodNumber>;
7
+ duration: z.ZodOptional<z.ZodNumber>;
8
+ service_id: z.ZodString;
9
+ description: z.ZodOptional<z.ZodString>;
10
+ servicegroupid: z.ZodOptional<z.ZodNumber>;
11
+ }, z.core.$strip>;
12
+ declare const EterminUpdateServiceOutput: z.ZodObject<{
13
+ service: z.ZodRecord<z.ZodString, z.ZodUnknown>;
14
+ }, z.core.$strip>;
15
+ declare const eterminUpdateService: import("@keystrokehq/action").WorkflowActionDefinition<{
16
+ service_id: string;
17
+ name?: string | undefined;
18
+ price?: number | undefined;
19
+ duration?: number | undefined;
20
+ description?: string | undefined;
21
+ servicegroupid?: number | undefined;
22
+ }, {
23
+ service: Record<string, unknown>;
24
+ }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
25
  //#endregion
8
26
  export { eterminUpdateService };
9
27
  //# sourceMappingURL=update-service.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-service.d.mts","names":[],"sources":["../../src/actions/update-service.ts"],"mappings":";;;cAIa,yBAAA,EAA2B,CAAA,CAAE,UAO+B;AAAA,cAC5D,0BAAA,EAA4B,CAAA,CAAE,UAEO;AAAA,cAErC,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"update-service.d.mts","names":[],"sources":["../../src/actions/update-service.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;cAQzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;cAI1B,oBAAA,gCAAoB,wBAAA;;;;;;;;WAM/B,MAAA;AAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"update-service.mjs","names":[],"sources":["../../src/actions/update-service.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminUpdateServiceInput: z.ZodTypeAny = z.object({\n name: z.string().describe(\"New name of the service (sets both German and English names).\").optional(),\n price: z.number().describe(\"New price of the service, must be non-negative.\").optional(),\n duration: z.number().int().describe(\"New duration of the service in minutes (timeslotminutes), must be at least 1.\").optional(),\n service_id: z.string().describe(\"Unique identifier (id) of the service to update.\"),\n description: z.string().describe(\"New description of the service (sets both German and English info text).\").optional(),\n servicegroupid: z.number().int().describe(\"ID of the service group this service belongs to. Required by the eTermin API.\").optional(),\n}).describe(\"Request model for updating an existing service in eTermin.\");\nexport const EterminUpdateServiceOutput: z.ZodTypeAny = z.object({\n service: z.record(z.string(), z.unknown()).describe(\"Updated service object returned by eTermin\"),\n}).describe(\"Response model for updated service.\");\n\nexport const eterminUpdateService = action(\"ETERMIN_UPDATE_SERVICE\", {\n slug: \"etermin-update-service\",\n name: \"Update Service\",\n description: \"Tool to update an existing service. Use when you need to modify service details after confirming the service ID.\",\n input: EterminUpdateServiceInput,\n output: EterminUpdateServiceOutput,\n});\n"],"mappings":";;AAgBA,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhBqD,EAAE,OAAO;EAC9D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;EACpG,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;EACvF,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;EAC9H,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD;EAClF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;EACtH,gBAAgB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;CACtI,CAAC,CAAC,CAAC,SAAS,4DASH;CACP,QATsD,EAAE,OAAO,EAC/D,SAAS,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,4CAA4C,EAClG,CAAC,CAAC,CAAC,SAAS,qCAOF;AACV,CAAC"}
1
+ {"version":3,"file":"update-service.mjs","names":[],"sources":["../../src/actions/update-service.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminUpdateServiceInput = z.object({\n name: z.string().describe(\"New name of the service (sets both German and English names).\").optional(),\n price: z.number().describe(\"New price of the service, must be non-negative.\").optional(),\n duration: z.number().int().describe(\"New duration of the service in minutes (timeslotminutes), must be at least 1.\").optional(),\n service_id: z.string().describe(\"Unique identifier (id) of the service to update.\"),\n description: z.string().describe(\"New description of the service (sets both German and English info text).\").optional(),\n servicegroupid: z.number().int().describe(\"ID of the service group this service belongs to. Required by the eTermin API.\").optional(),\n}).describe(\"Request model for updating an existing service in eTermin.\");\nexport const EterminUpdateServiceOutput = z.object({\n service: z.record(z.string(), z.unknown()).describe(\"Updated service object returned by eTermin\"),\n}).describe(\"Response model for updated service.\");\n\nexport const eterminUpdateService = action(\"ETERMIN_UPDATE_SERVICE\", {\n slug: \"etermin-update-service\",\n name: \"Update Service\",\n description: \"Tool to update an existing service. Use when you need to modify service details after confirming the service ID.\",\n input: EterminUpdateServiceInput,\n output: EterminUpdateServiceOutput,\n});\n"],"mappings":";;AAgBA,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhBuC,EAAE,OAAO;EAChD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;EACpG,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;EACvF,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;EAC9H,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD;EAClF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;EACtH,gBAAgB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;CACtI,CAAC,CAAC,CAAC,SAAS,4DASH;CACP,QATwC,EAAE,OAAO,EACjD,SAAS,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,4CAA4C,EAClG,CAAC,CAAC,CAAC,SAAS,qCAOF;AACV,CAAC"}
@@ -17,9 +17,9 @@ const EterminUpdateSyncAppointmentInput = zod.z.object({
17
17
  recurrenceparentid: zod.z.string().describe("ID of the parent recurring appointment if this is part of a recurring series").optional()
18
18
  }).describe("Request model for updating a synchronised appointment in eTermin.\nAll date/time fields must use format: yyyy-mm-dd HH:MM (e.g., 2026-03-01 11:00).");
19
19
  const EterminUpdateSyncAppointmentOutput = zod.z.object({
20
- message: zod.z.string().describe("Status message describing the result of the operation"),
21
- success: zod.z.boolean().describe("Indicates whether the appointment was successfully updated"),
22
- records_updated: zod.z.number().int().describe("Number of appointment records that were updated").nullable().optional()
20
+ message: zod.z.string().describe("Status message describing the result of the operation").nullable(),
21
+ success: zod.z.boolean().describe("Indicates whether the appointment was successfully updated").nullable(),
22
+ records_updated: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.number().int().describe("Number of appointment records that were updated").optional())
23
23
  }).describe("Response model for updating a synchronised appointment in eTermin.");
24
24
  const eterminUpdateSyncAppointment = require_action.action("ETERMIN_UPDATE_SYNC_APPOINTMENT", {
25
25
  slug: "etermin-update-sync-appointment",
@@ -1 +1 @@
1
- {"version":3,"file":"update-sync-appointment.cjs","names":["z","action"],"sources":["../../src/actions/update-sync-appointment.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminUpdateSyncAppointmentInput: z.ZodTypeAny = z.object({\n end: z.string().describe(\"End date and time of the appointment in local timezone. Format: yyyy-mm-dd HH:MM (e.g., 2026-03-01 12:00)\"),\n email: z.string().describe(\"Email address for the appointment participant\").optional(),\n start: z.string().describe(\"Start date and time of the appointment in local timezone. Format: yyyy-mm-dd HH:MM (e.g., 2026-03-01 11:00)\"),\n endutc: z.string().describe(\"End date and time of the appointment in UTC. Format: yyyy-mm-dd HH:MM (e.g., 2026-03-01 11:00)\"),\n summary: z.string().describe(\"Title or subject of the appointment\"),\n location: z.string().describe(\"Physical location of the appointment\").optional(),\n sequence: z.string().describe(\"Sequence number of the recurring appointment. Leave empty if not a recurring appointment\").optional(),\n startutc: z.string().describe(\"Start date and time of the appointment in UTC. Format: yyyy-mm-dd HH:MM (e.g., 2026-03-01 10:00)\"),\n calendarid: z.number().int().describe(\"ID of the calendar where the appointment is located\"),\n description: z.string().describe(\"Body text or detailed description of the appointment\"),\n appointmentid: z.string().describe(\"ID of the appointment to update (ExternalID in UUID format)\"),\n recurrencerule: z.string().describe(\"Recurrence rule for recurring appointments (e.g., RRULE format)\").optional(),\n recurrenceparentid: z.string().describe(\"ID of the parent recurring appointment if this is part of a recurring series\").optional(),\n}).describe(\"Request model for updating a synchronised appointment in eTermin.\\nAll date/time fields must use format: yyyy-mm-dd HH:MM (e.g., 2026-03-01 11:00).\");\nexport const EterminUpdateSyncAppointmentOutput: z.ZodTypeAny = z.object({\n message: z.string().describe(\"Status message describing the result of the operation\"),\n success: z.boolean().describe(\"Indicates whether the appointment was successfully updated\"),\n records_updated: z.number().int().describe(\"Number of appointment records that were updated\").nullable().optional(),\n}).describe(\"Response model for updating a synchronised appointment in eTermin.\");\n\nexport const eterminUpdateSyncAppointment = action(\"ETERMIN_UPDATE_SYNC_APPOINTMENT\", {\n slug: \"etermin-update-sync-appointment\",\n name: \"Update Synchronised Appointment\",\n description: \"Tool to update a synchronised appointment in eTermin. Use when you need to modify an existing synced appointment with updated date/time, location, or other details. Requires the appointment ID (ExternalID) and updated date/time in both local and UTC formats.\",\n input: EterminUpdateSyncAppointmentInput,\n output: EterminUpdateSyncAppointmentOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAkDA,IAAAA,EAAE,OAAO;CACtE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2GAA2G;CACpI,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CACrF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6GAA6G;CACxI,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gGAAgG;CAC5H,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;CAClE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAC/E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;CACnI,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kGAAkG;CAChI,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qDAAqD;CAC3F,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;CACvF,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D;CAChG,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;CAChH,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS;AACnI,CAAC,CAAC,CAAC,SAAS,qJAAqJ;AACjK,MAAa,qCAAmDA,IAAAA,EAAE,OAAO;CACvE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD;CACpF,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,4DAA4D;CAC1F,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpH,CAAC,CAAC,CAAC,SAAS,oEAAoE;AAEhF,MAAa,+BAA+BC,eAAAA,OAAO,mCAAmC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"update-sync-appointment.cjs","names":["z","action"],"sources":["../../src/actions/update-sync-appointment.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminUpdateSyncAppointmentInput = z.object({\n end: z.string().describe(\"End date and time of the appointment in local timezone. Format: yyyy-mm-dd HH:MM (e.g., 2026-03-01 12:00)\"),\n email: z.string().describe(\"Email address for the appointment participant\").optional(),\n start: z.string().describe(\"Start date and time of the appointment in local timezone. Format: yyyy-mm-dd HH:MM (e.g., 2026-03-01 11:00)\"),\n endutc: z.string().describe(\"End date and time of the appointment in UTC. Format: yyyy-mm-dd HH:MM (e.g., 2026-03-01 11:00)\"),\n summary: z.string().describe(\"Title or subject of the appointment\"),\n location: z.string().describe(\"Physical location of the appointment\").optional(),\n sequence: z.string().describe(\"Sequence number of the recurring appointment. Leave empty if not a recurring appointment\").optional(),\n startutc: z.string().describe(\"Start date and time of the appointment in UTC. Format: yyyy-mm-dd HH:MM (e.g., 2026-03-01 10:00)\"),\n calendarid: z.number().int().describe(\"ID of the calendar where the appointment is located\"),\n description: z.string().describe(\"Body text or detailed description of the appointment\"),\n appointmentid: z.string().describe(\"ID of the appointment to update (ExternalID in UUID format)\"),\n recurrencerule: z.string().describe(\"Recurrence rule for recurring appointments (e.g., RRULE format)\").optional(),\n recurrenceparentid: z.string().describe(\"ID of the parent recurring appointment if this is part of a recurring series\").optional(),\n}).describe(\"Request model for updating a synchronised appointment in eTermin.\\nAll date/time fields must use format: yyyy-mm-dd HH:MM (e.g., 2026-03-01 11:00).\");\nexport const EterminUpdateSyncAppointmentOutput = z.object({\n message: z.string().describe(\"Status message describing the result of the operation\").nullable(),\n success: z.boolean().describe(\"Indicates whether the appointment was successfully updated\").nullable(),\n records_updated: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"Number of appointment records that were updated\").optional()),\n}).describe(\"Response model for updating a synchronised appointment in eTermin.\");\n\nexport const eterminUpdateSyncAppointment = action(\"ETERMIN_UPDATE_SYNC_APPOINTMENT\", {\n slug: \"etermin-update-sync-appointment\",\n name: \"Update Synchronised Appointment\",\n description: \"Tool to update a synchronised appointment in eTermin. Use when you need to modify an existing synced appointment with updated date/time, location, or other details. Requires the appointment ID (ExternalID) and updated date/time in both local and UTC formats.\",\n input: EterminUpdateSyncAppointmentInput,\n output: EterminUpdateSyncAppointmentOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2GAA2G;CACpI,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CACrF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6GAA6G;CACxI,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gGAAgG;CAC5H,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;CAClE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAC/E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;CACnI,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kGAAkG;CAChI,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qDAAqD;CAC3F,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;CACvF,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D;CAChG,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;CAChH,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS;AACnI,CAAC,CAAC,CAAC,SAAS,qJAAqJ;AACjK,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CAC/F,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CACrG,iBAAiBA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC;AACxK,CAAC,CAAC,CAAC,SAAS,oEAAoE;AAEhF,MAAa,+BAA+BC,eAAAA,OAAO,mCAAmC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,45 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/update-sync-appointment.d.ts
4
- declare const EterminUpdateSyncAppointmentInput: z.ZodTypeAny;
5
- declare const EterminUpdateSyncAppointmentOutput: z.ZodTypeAny;
6
- declare const eterminUpdateSyncAppointment: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const EterminUpdateSyncAppointmentInput: z.ZodObject<{
5
+ end: z.ZodString;
6
+ email: z.ZodOptional<z.ZodString>;
7
+ start: z.ZodString;
8
+ endutc: z.ZodString;
9
+ summary: z.ZodString;
10
+ location: z.ZodOptional<z.ZodString>;
11
+ sequence: z.ZodOptional<z.ZodString>;
12
+ startutc: z.ZodString;
13
+ calendarid: z.ZodNumber;
14
+ description: z.ZodString;
15
+ appointmentid: z.ZodString;
16
+ recurrencerule: z.ZodOptional<z.ZodString>;
17
+ recurrenceparentid: z.ZodOptional<z.ZodString>;
18
+ }, z.core.$strip>;
19
+ declare const EterminUpdateSyncAppointmentOutput: z.ZodObject<{
20
+ message: z.ZodNullable<z.ZodString>;
21
+ success: z.ZodNullable<z.ZodBoolean>;
22
+ records_updated: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
23
+ }, z.core.$strip>;
24
+ declare const eterminUpdateSyncAppointment: import("@keystrokehq/action").WorkflowActionDefinition<{
25
+ end: string;
26
+ start: string;
27
+ endutc: string;
28
+ summary: string;
29
+ startutc: string;
30
+ calendarid: number;
31
+ description: string;
32
+ appointmentid: string;
33
+ email?: string | undefined;
34
+ location?: string | undefined;
35
+ sequence?: string | undefined;
36
+ recurrencerule?: string | undefined;
37
+ recurrenceparentid?: string | undefined;
38
+ }, {
39
+ message: string | null;
40
+ success: boolean | null;
41
+ records_updated?: number | undefined;
42
+ }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
43
  //#endregion
8
44
  export { eterminUpdateSyncAppointment };
9
45
  //# sourceMappingURL=update-sync-appointment.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-sync-appointment.d.cts","names":[],"sources":["../../src/actions/update-sync-appointment.ts"],"mappings":";;;cAIa,iCAAA,EAAmC,CAAA,CAAE,UAcgH;AAAA,cACrJ,kCAAA,EAAoC,CAAA,CAAE,UAI8B;AAAA,cAEpE,4BAAA,gCAA4B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"update-sync-appointment.d.cts","names":[],"sources":["../../src/actions/update-sync-appointment.ts"],"mappings":";;;cAIa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAejC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;cAMlC,4BAAA,gCAA4B,wBAAA"}
@@ -1,9 +1,45 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/update-sync-appointment.d.ts
4
- declare const EterminUpdateSyncAppointmentInput: z.ZodTypeAny;
5
- declare const EterminUpdateSyncAppointmentOutput: z.ZodTypeAny;
6
- declare const eterminUpdateSyncAppointment: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const EterminUpdateSyncAppointmentInput: z.ZodObject<{
5
+ end: z.ZodString;
6
+ email: z.ZodOptional<z.ZodString>;
7
+ start: z.ZodString;
8
+ endutc: z.ZodString;
9
+ summary: z.ZodString;
10
+ location: z.ZodOptional<z.ZodString>;
11
+ sequence: z.ZodOptional<z.ZodString>;
12
+ startutc: z.ZodString;
13
+ calendarid: z.ZodNumber;
14
+ description: z.ZodString;
15
+ appointmentid: z.ZodString;
16
+ recurrencerule: z.ZodOptional<z.ZodString>;
17
+ recurrenceparentid: z.ZodOptional<z.ZodString>;
18
+ }, z.core.$strip>;
19
+ declare const EterminUpdateSyncAppointmentOutput: z.ZodObject<{
20
+ message: z.ZodNullable<z.ZodString>;
21
+ success: z.ZodNullable<z.ZodBoolean>;
22
+ records_updated: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
23
+ }, z.core.$strip>;
24
+ declare const eterminUpdateSyncAppointment: import("@keystrokehq/action").WorkflowActionDefinition<{
25
+ end: string;
26
+ start: string;
27
+ endutc: string;
28
+ summary: string;
29
+ startutc: string;
30
+ calendarid: number;
31
+ description: string;
32
+ appointmentid: string;
33
+ email?: string | undefined;
34
+ location?: string | undefined;
35
+ sequence?: string | undefined;
36
+ recurrencerule?: string | undefined;
37
+ recurrenceparentid?: string | undefined;
38
+ }, {
39
+ message: string | null;
40
+ success: boolean | null;
41
+ records_updated?: number | undefined;
42
+ }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
43
  //#endregion
8
44
  export { eterminUpdateSyncAppointment };
9
45
  //# sourceMappingURL=update-sync-appointment.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-sync-appointment.d.mts","names":[],"sources":["../../src/actions/update-sync-appointment.ts"],"mappings":";;;cAIa,iCAAA,EAAmC,CAAA,CAAE,UAcgH;AAAA,cACrJ,kCAAA,EAAoC,CAAA,CAAE,UAI8B;AAAA,cAEpE,4BAAA,gCAA4B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"update-sync-appointment.d.mts","names":[],"sources":["../../src/actions/update-sync-appointment.ts"],"mappings":";;;cAIa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAejC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;cAMlC,4BAAA,gCAA4B,wBAAA"}
@@ -20,9 +20,9 @@ const eterminUpdateSyncAppointment = action("ETERMIN_UPDATE_SYNC_APPOINTMENT", {
20
20
  recurrenceparentid: z.string().describe("ID of the parent recurring appointment if this is part of a recurring series").optional()
21
21
  }).describe("Request model for updating a synchronised appointment in eTermin.\nAll date/time fields must use format: yyyy-mm-dd HH:MM (e.g., 2026-03-01 11:00)."),
22
22
  output: z.object({
23
- message: z.string().describe("Status message describing the result of the operation"),
24
- success: z.boolean().describe("Indicates whether the appointment was successfully updated"),
25
- records_updated: z.number().int().describe("Number of appointment records that were updated").nullable().optional()
23
+ message: z.string().describe("Status message describing the result of the operation").nullable(),
24
+ success: z.boolean().describe("Indicates whether the appointment was successfully updated").nullable(),
25
+ records_updated: z.preprocess((value) => value === null ? void 0 : value, z.number().int().describe("Number of appointment records that were updated").optional())
26
26
  }).describe("Response model for updating a synchronised appointment in eTermin.")
27
27
  });
28
28
  //#endregion
@@ -1 +1 @@
1
- {"version":3,"file":"update-sync-appointment.mjs","names":[],"sources":["../../src/actions/update-sync-appointment.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminUpdateSyncAppointmentInput: z.ZodTypeAny = z.object({\n end: z.string().describe(\"End date and time of the appointment in local timezone. Format: yyyy-mm-dd HH:MM (e.g., 2026-03-01 12:00)\"),\n email: z.string().describe(\"Email address for the appointment participant\").optional(),\n start: z.string().describe(\"Start date and time of the appointment in local timezone. Format: yyyy-mm-dd HH:MM (e.g., 2026-03-01 11:00)\"),\n endutc: z.string().describe(\"End date and time of the appointment in UTC. Format: yyyy-mm-dd HH:MM (e.g., 2026-03-01 11:00)\"),\n summary: z.string().describe(\"Title or subject of the appointment\"),\n location: z.string().describe(\"Physical location of the appointment\").optional(),\n sequence: z.string().describe(\"Sequence number of the recurring appointment. Leave empty if not a recurring appointment\").optional(),\n startutc: z.string().describe(\"Start date and time of the appointment in UTC. Format: yyyy-mm-dd HH:MM (e.g., 2026-03-01 10:00)\"),\n calendarid: z.number().int().describe(\"ID of the calendar where the appointment is located\"),\n description: z.string().describe(\"Body text or detailed description of the appointment\"),\n appointmentid: z.string().describe(\"ID of the appointment to update (ExternalID in UUID format)\"),\n recurrencerule: z.string().describe(\"Recurrence rule for recurring appointments (e.g., RRULE format)\").optional(),\n recurrenceparentid: z.string().describe(\"ID of the parent recurring appointment if this is part of a recurring series\").optional(),\n}).describe(\"Request model for updating a synchronised appointment in eTermin.\\nAll date/time fields must use format: yyyy-mm-dd HH:MM (e.g., 2026-03-01 11:00).\");\nexport const EterminUpdateSyncAppointmentOutput: z.ZodTypeAny = z.object({\n message: z.string().describe(\"Status message describing the result of the operation\"),\n success: z.boolean().describe(\"Indicates whether the appointment was successfully updated\"),\n records_updated: z.number().int().describe(\"Number of appointment records that were updated\").nullable().optional(),\n}).describe(\"Response model for updating a synchronised appointment in eTermin.\");\n\nexport const eterminUpdateSyncAppointment = action(\"ETERMIN_UPDATE_SYNC_APPOINTMENT\", {\n slug: \"etermin-update-sync-appointment\",\n name: \"Update Synchronised Appointment\",\n description: \"Tool to update a synchronised appointment in eTermin. Use when you need to modify an existing synced appointment with updated date/time, location, or other details. Requires the appointment ID (ExternalID) and updated date/time in both local and UTC formats.\",\n input: EterminUpdateSyncAppointmentInput,\n output: EterminUpdateSyncAppointmentOutput,\n});\n"],"mappings":";;AAyBA,MAAa,+BAA+B,OAAO,mCAAmC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAzB6D,EAAE,OAAO;EACtE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,2GAA2G;EACpI,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;EACrF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,6GAA6G;EACxI,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,gGAAgG;EAC5H,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;EAClE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;EAC/E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;EACnI,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,kGAAkG;EAChI,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qDAAqD;EAC3F,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;EACvF,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D;EAChG,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;EAChH,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS;CACnI,CAAC,CAAC,CAAC,SAAS,qJAWH;CACP,QAX8D,EAAE,OAAO;EACvE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD;EACpF,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,4DAA4D;EAC1F,iBAAiB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpH,CAAC,CAAC,CAAC,SAAS,oEAOF;AACV,CAAC"}
1
+ {"version":3,"file":"update-sync-appointment.mjs","names":[],"sources":["../../src/actions/update-sync-appointment.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminUpdateSyncAppointmentInput = z.object({\n end: z.string().describe(\"End date and time of the appointment in local timezone. Format: yyyy-mm-dd HH:MM (e.g., 2026-03-01 12:00)\"),\n email: z.string().describe(\"Email address for the appointment participant\").optional(),\n start: z.string().describe(\"Start date and time of the appointment in local timezone. Format: yyyy-mm-dd HH:MM (e.g., 2026-03-01 11:00)\"),\n endutc: z.string().describe(\"End date and time of the appointment in UTC. Format: yyyy-mm-dd HH:MM (e.g., 2026-03-01 11:00)\"),\n summary: z.string().describe(\"Title or subject of the appointment\"),\n location: z.string().describe(\"Physical location of the appointment\").optional(),\n sequence: z.string().describe(\"Sequence number of the recurring appointment. Leave empty if not a recurring appointment\").optional(),\n startutc: z.string().describe(\"Start date and time of the appointment in UTC. Format: yyyy-mm-dd HH:MM (e.g., 2026-03-01 10:00)\"),\n calendarid: z.number().int().describe(\"ID of the calendar where the appointment is located\"),\n description: z.string().describe(\"Body text or detailed description of the appointment\"),\n appointmentid: z.string().describe(\"ID of the appointment to update (ExternalID in UUID format)\"),\n recurrencerule: z.string().describe(\"Recurrence rule for recurring appointments (e.g., RRULE format)\").optional(),\n recurrenceparentid: z.string().describe(\"ID of the parent recurring appointment if this is part of a recurring series\").optional(),\n}).describe(\"Request model for updating a synchronised appointment in eTermin.\\nAll date/time fields must use format: yyyy-mm-dd HH:MM (e.g., 2026-03-01 11:00).\");\nexport const EterminUpdateSyncAppointmentOutput = z.object({\n message: z.string().describe(\"Status message describing the result of the operation\").nullable(),\n success: z.boolean().describe(\"Indicates whether the appointment was successfully updated\").nullable(),\n records_updated: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"Number of appointment records that were updated\").optional()),\n}).describe(\"Response model for updating a synchronised appointment in eTermin.\");\n\nexport const eterminUpdateSyncAppointment = action(\"ETERMIN_UPDATE_SYNC_APPOINTMENT\", {\n slug: \"etermin-update-sync-appointment\",\n name: \"Update Synchronised Appointment\",\n description: \"Tool to update a synchronised appointment in eTermin. Use when you need to modify an existing synced appointment with updated date/time, location, or other details. Requires the appointment ID (ExternalID) and updated date/time in both local and UTC formats.\",\n input: EterminUpdateSyncAppointmentInput,\n output: EterminUpdateSyncAppointmentOutput,\n});\n"],"mappings":";;AAyBA,MAAa,+BAA+B,OAAO,mCAAmC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAzB+C,EAAE,OAAO;EACxD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,2GAA2G;EACpI,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;EACrF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,6GAA6G;EACxI,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,gGAAgG;EAC5H,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;EAClE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;EAC/E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;EACnI,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,kGAAkG;EAChI,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qDAAqD;EAC3F,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;EACvF,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D;EAChG,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;EAChH,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS;CACnI,CAAC,CAAC,CAAC,SAAS,qJAWH;CACP,QAXgD,EAAE,OAAO;EACzD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;EAC/F,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;EACrG,iBAAiB,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC;CACxK,CAAC,CAAC,CAAC,SAAS,oEAOF;AACV,CAAC"}
@@ -16,8 +16,8 @@ const EterminUpdateUsermappingInput = zod.z.object({
16
16
  servicegroupid: zod.z.string().describe("Comma-separated list of service group IDs that work with this search value. Default is -1 for all service groups.").optional()
17
17
  }).describe("Request model for updating a usermapping in eTermin.");
18
18
  const EterminUpdateUsermappingOutput = zod.z.object({
19
- status: zod.z.number().describe("HTTP status code of the update operation").nullable().optional(),
20
- statusmsg: zod.z.string().describe("Status message indicating the result, e.g., '1 records updated!'").nullable().optional()
19
+ status: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.number().describe("HTTP status code of the update operation").optional()),
20
+ statusmsg: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Status message indicating the result, e.g., '1 records updated!'").optional())
21
21
  }).describe("Response model for updating a usermapping in eTermin.");
22
22
  const eterminUpdateUsermapping = require_action.action("ETERMIN_UPDATE_USERMAPPING", {
23
23
  slug: "etermin-update-usermapping",
@@ -1 +1 @@
1
- {"version":3,"file":"update-usermapping.cjs","names":["z","action"],"sources":["../../src/actions/update-usermapping.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminUpdateUsermappingInput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"ID of the usermapping to update. Obtain from list usermappings endpoint.\"),\n value: z.number().int().describe(\"Value to match when valuetype is 0 (equals), 2 (last 2 digits), or 3 (last 3 digits). Required unless valuetype is 1.\").optional(),\n valueto: z.number().int().describe(\"Last number in range when valuetype is 1 (from-to). Required when valuetype is 1.\").optional(),\n valuefrom: z.number().int().describe(\"First number in range when valuetype is 1 (from-to). Required when valuetype is 1.\").optional(),\n valuetype: z.enum([\"0\", \"1\", \"2\", \"3\"]).describe(\"Type of number search: '0' for exact match, '1' for range, '2' for last 2 digits, '3' for last 3 digits.\"),\n calendarid: z.string().describe(\"Comma-separated list of calendar IDs that work with this search value. Default is -1 for all calendars.\").optional(),\n servicegroupid: z.string().describe(\"Comma-separated list of service group IDs that work with this search value. Default is -1 for all service groups.\").optional(),\n}).describe(\"Request model for updating a usermapping in eTermin.\");\nexport const EterminUpdateUsermappingOutput: z.ZodTypeAny = z.object({\n status: z.number().describe(\"HTTP status code of the update operation\").nullable().optional(),\n statusmsg: z.string().describe(\"Status message indicating the result, e.g., '1 records updated!'\").nullable().optional(),\n}).describe(\"Response model for updating a usermapping in eTermin.\");\n\nexport const eterminUpdateUsermapping = action(\"ETERMIN_UPDATE_USERMAPPING\", {\n slug: \"etermin-update-usermapping\",\n name: \"Update Usermapping\",\n description: \"Update an existing usermapping in eTermin. Use this when you need to modify usermapping search criteria, calendar assignments, or service group mappings.\",\n input: EterminUpdateUsermappingInput,\n output: EterminUpdateUsermappingOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAA8CA,IAAAA,EAAE,OAAO;CAClE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0EAA0E;CACxG,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uHAAuH,CAAC,CAAC,SAAS;CACnK,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS;CACjI,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS;CACpI,WAAWA,IAAAA,EAAE,KAAK;EAAC;EAAK;EAAK;EAAK;CAAG,CAAC,CAAC,CAAC,SAAS,0GAA0G;CAC3J,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yGAAyG,CAAC,CAAC,SAAS;CACpJ,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mHAAmH,CAAC,CAAC,SAAS;AACpK,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAa,iCAA+CA,IAAAA,EAAE,OAAO;CACnE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzH,CAAC,CAAC,CAAC,SAAS,uDAAuD;AAEnE,MAAa,2BAA2BC,eAAAA,OAAO,8BAA8B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"update-usermapping.cjs","names":["z","action"],"sources":["../../src/actions/update-usermapping.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminUpdateUsermappingInput = z.object({\n id: z.number().int().describe(\"ID of the usermapping to update. Obtain from list usermappings endpoint.\"),\n value: z.number().int().describe(\"Value to match when valuetype is 0 (equals), 2 (last 2 digits), or 3 (last 3 digits). Required unless valuetype is 1.\").optional(),\n valueto: z.number().int().describe(\"Last number in range when valuetype is 1 (from-to). Required when valuetype is 1.\").optional(),\n valuefrom: z.number().int().describe(\"First number in range when valuetype is 1 (from-to). Required when valuetype is 1.\").optional(),\n valuetype: z.enum([\"0\", \"1\", \"2\", \"3\"]).describe(\"Type of number search: '0' for exact match, '1' for range, '2' for last 2 digits, '3' for last 3 digits.\"),\n calendarid: z.string().describe(\"Comma-separated list of calendar IDs that work with this search value. Default is -1 for all calendars.\").optional(),\n servicegroupid: z.string().describe(\"Comma-separated list of service group IDs that work with this search value. Default is -1 for all service groups.\").optional(),\n}).describe(\"Request model for updating a usermapping in eTermin.\");\nexport const EterminUpdateUsermappingOutput = z.object({\n status: z.preprocess((value) => (value === null ? undefined : value), z.number().describe(\"HTTP status code of the update operation\").optional()),\n statusmsg: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Status message indicating the result, e.g., '1 records updated!'\").optional()),\n}).describe(\"Response model for updating a usermapping in eTermin.\");\n\nexport const eterminUpdateUsermapping = action(\"ETERMIN_UPDATE_USERMAPPING\", {\n slug: \"etermin-update-usermapping\",\n name: \"Update Usermapping\",\n description: \"Update an existing usermapping in eTermin. Use this when you need to modify usermapping search criteria, calendar assignments, or service group mappings.\",\n input: EterminUpdateUsermappingInput,\n output: EterminUpdateUsermappingOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0EAA0E;CACxG,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uHAAuH,CAAC,CAAC,SAAS;CACnK,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS;CACjI,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS;CACpI,WAAWA,IAAAA,EAAE,KAAK;EAAC;EAAK;EAAK;EAAK;CAAG,CAAC,CAAC,CAAC,SAAS,0GAA0G;CAC3J,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yGAAyG,CAAC,CAAC,SAAS;CACpJ,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mHAAmH,CAAC,CAAC,SAAS;AACpK,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,QAAQA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC;CAChJ,WAAWA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC;AAC7K,CAAC,CAAC,CAAC,SAAS,uDAAuD;AAEnE,MAAa,2BAA2BC,eAAAA,OAAO,8BAA8B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,36 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/update-usermapping.d.ts
4
- declare const EterminUpdateUsermappingInput: z.ZodTypeAny;
5
- declare const EterminUpdateUsermappingOutput: z.ZodTypeAny;
6
- declare const eterminUpdateUsermapping: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const EterminUpdateUsermappingInput: z.ZodObject<{
5
+ id: z.ZodNumber;
6
+ value: z.ZodOptional<z.ZodNumber>;
7
+ valueto: z.ZodOptional<z.ZodNumber>;
8
+ valuefrom: z.ZodOptional<z.ZodNumber>;
9
+ valuetype: z.ZodEnum<{
10
+ 0: "0";
11
+ 1: "1";
12
+ 2: "2";
13
+ 3: "3";
14
+ }>;
15
+ calendarid: z.ZodOptional<z.ZodString>;
16
+ servicegroupid: z.ZodOptional<z.ZodString>;
17
+ }, z.core.$strip>;
18
+ declare const EterminUpdateUsermappingOutput: z.ZodObject<{
19
+ status: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
20
+ statusmsg: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
21
+ }, z.core.$strip>;
22
+ declare const eterminUpdateUsermapping: import("@keystrokehq/action").WorkflowActionDefinition<{
23
+ id: number;
24
+ valuetype: "0" | "1" | "2" | "3";
25
+ value?: number | undefined;
26
+ valueto?: number | undefined;
27
+ valuefrom?: number | undefined;
28
+ calendarid?: string | undefined;
29
+ servicegroupid?: string | undefined;
30
+ }, {
31
+ status?: number | undefined;
32
+ statusmsg?: string | undefined;
33
+ }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
34
  //#endregion
8
35
  export { eterminUpdateUsermapping };
9
36
  //# sourceMappingURL=update-usermapping.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-usermapping.d.cts","names":[],"sources":["../../src/actions/update-usermapping.ts"],"mappings":";;;cAIa,6BAAA,EAA+B,CAAA,CAAE,UAQqB;AAAA,cACtD,8BAAA,EAAgC,CAAA,CAAE,UAGqB;AAAA,cAEvD,wBAAA,gCAAwB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"update-usermapping.d.cts","names":[],"sources":["../../src/actions/update-usermapping.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAS7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;cAK9B,wBAAA,gCAAwB,wBAAA"}
@@ -1,9 +1,36 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/update-usermapping.d.ts
4
- declare const EterminUpdateUsermappingInput: z.ZodTypeAny;
5
- declare const EterminUpdateUsermappingOutput: z.ZodTypeAny;
6
- declare const eterminUpdateUsermapping: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const EterminUpdateUsermappingInput: z.ZodObject<{
5
+ id: z.ZodNumber;
6
+ value: z.ZodOptional<z.ZodNumber>;
7
+ valueto: z.ZodOptional<z.ZodNumber>;
8
+ valuefrom: z.ZodOptional<z.ZodNumber>;
9
+ valuetype: z.ZodEnum<{
10
+ 0: "0";
11
+ 1: "1";
12
+ 2: "2";
13
+ 3: "3";
14
+ }>;
15
+ calendarid: z.ZodOptional<z.ZodString>;
16
+ servicegroupid: z.ZodOptional<z.ZodString>;
17
+ }, z.core.$strip>;
18
+ declare const EterminUpdateUsermappingOutput: z.ZodObject<{
19
+ status: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
20
+ statusmsg: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
21
+ }, z.core.$strip>;
22
+ declare const eterminUpdateUsermapping: import("@keystrokehq/action").WorkflowActionDefinition<{
23
+ id: number;
24
+ valuetype: "0" | "1" | "2" | "3";
25
+ value?: number | undefined;
26
+ valueto?: number | undefined;
27
+ valuefrom?: number | undefined;
28
+ calendarid?: string | undefined;
29
+ servicegroupid?: string | undefined;
30
+ }, {
31
+ status?: number | undefined;
32
+ statusmsg?: string | undefined;
33
+ }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
34
  //#endregion
8
35
  export { eterminUpdateUsermapping };
9
36
  //# sourceMappingURL=update-usermapping.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-usermapping.d.mts","names":[],"sources":["../../src/actions/update-usermapping.ts"],"mappings":";;;cAIa,6BAAA,EAA+B,CAAA,CAAE,UAQqB;AAAA,cACtD,8BAAA,EAAgC,CAAA,CAAE,UAGqB;AAAA,cAEvD,wBAAA,gCAAwB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"update-usermapping.d.mts","names":[],"sources":["../../src/actions/update-usermapping.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAS7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;cAK9B,wBAAA,gCAAwB,wBAAA"}
@@ -19,8 +19,8 @@ const eterminUpdateUsermapping = action("ETERMIN_UPDATE_USERMAPPING", {
19
19
  servicegroupid: z.string().describe("Comma-separated list of service group IDs that work with this search value. Default is -1 for all service groups.").optional()
20
20
  }).describe("Request model for updating a usermapping in eTermin."),
21
21
  output: z.object({
22
- status: z.number().describe("HTTP status code of the update operation").nullable().optional(),
23
- statusmsg: z.string().describe("Status message indicating the result, e.g., '1 records updated!'").nullable().optional()
22
+ status: z.preprocess((value) => value === null ? void 0 : value, z.number().describe("HTTP status code of the update operation").optional()),
23
+ statusmsg: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Status message indicating the result, e.g., '1 records updated!'").optional())
24
24
  }).describe("Response model for updating a usermapping in eTermin.")
25
25
  });
26
26
  //#endregion
@@ -1 +1 @@
1
- {"version":3,"file":"update-usermapping.mjs","names":[],"sources":["../../src/actions/update-usermapping.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminUpdateUsermappingInput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"ID of the usermapping to update. Obtain from list usermappings endpoint.\"),\n value: z.number().int().describe(\"Value to match when valuetype is 0 (equals), 2 (last 2 digits), or 3 (last 3 digits). Required unless valuetype is 1.\").optional(),\n valueto: z.number().int().describe(\"Last number in range when valuetype is 1 (from-to). Required when valuetype is 1.\").optional(),\n valuefrom: z.number().int().describe(\"First number in range when valuetype is 1 (from-to). Required when valuetype is 1.\").optional(),\n valuetype: z.enum([\"0\", \"1\", \"2\", \"3\"]).describe(\"Type of number search: '0' for exact match, '1' for range, '2' for last 2 digits, '3' for last 3 digits.\"),\n calendarid: z.string().describe(\"Comma-separated list of calendar IDs that work with this search value. Default is -1 for all calendars.\").optional(),\n servicegroupid: z.string().describe(\"Comma-separated list of service group IDs that work with this search value. Default is -1 for all service groups.\").optional(),\n}).describe(\"Request model for updating a usermapping in eTermin.\");\nexport const EterminUpdateUsermappingOutput: z.ZodTypeAny = z.object({\n status: z.number().describe(\"HTTP status code of the update operation\").nullable().optional(),\n statusmsg: z.string().describe(\"Status message indicating the result, e.g., '1 records updated!'\").nullable().optional(),\n}).describe(\"Response model for updating a usermapping in eTermin.\");\n\nexport const eterminUpdateUsermapping = action(\"ETERMIN_UPDATE_USERMAPPING\", {\n slug: \"etermin-update-usermapping\",\n name: \"Update Usermapping\",\n description: \"Update an existing usermapping in eTermin. Use this when you need to modify usermapping search criteria, calendar assignments, or service group mappings.\",\n input: EterminUpdateUsermappingInput,\n output: EterminUpdateUsermappingOutput,\n});\n"],"mappings":";;AAkBA,MAAa,2BAA2B,OAAO,8BAA8B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlByD,EAAE,OAAO;EAClE,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0EAA0E;EACxG,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uHAAuH,CAAC,CAAC,SAAS;EACnK,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS;EACjI,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS;EACpI,WAAW,EAAE,KAAK;GAAC;GAAK;GAAK;GAAK;EAAG,CAAC,CAAC,CAAC,SAAS,0GAA0G;EAC3J,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,yGAAyG,CAAC,CAAC,SAAS;EACpJ,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,mHAAmH,CAAC,CAAC,SAAS;CACpK,CAAC,CAAC,CAAC,SAAS,sDAUH;CACP,QAV0D,EAAE,OAAO;EACnE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzH,CAAC,CAAC,CAAC,SAAS,uDAOF;AACV,CAAC"}
1
+ {"version":3,"file":"update-usermapping.mjs","names":[],"sources":["../../src/actions/update-usermapping.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminUpdateUsermappingInput = z.object({\n id: z.number().int().describe(\"ID of the usermapping to update. Obtain from list usermappings endpoint.\"),\n value: z.number().int().describe(\"Value to match when valuetype is 0 (equals), 2 (last 2 digits), or 3 (last 3 digits). Required unless valuetype is 1.\").optional(),\n valueto: z.number().int().describe(\"Last number in range when valuetype is 1 (from-to). Required when valuetype is 1.\").optional(),\n valuefrom: z.number().int().describe(\"First number in range when valuetype is 1 (from-to). Required when valuetype is 1.\").optional(),\n valuetype: z.enum([\"0\", \"1\", \"2\", \"3\"]).describe(\"Type of number search: '0' for exact match, '1' for range, '2' for last 2 digits, '3' for last 3 digits.\"),\n calendarid: z.string().describe(\"Comma-separated list of calendar IDs that work with this search value. Default is -1 for all calendars.\").optional(),\n servicegroupid: z.string().describe(\"Comma-separated list of service group IDs that work with this search value. Default is -1 for all service groups.\").optional(),\n}).describe(\"Request model for updating a usermapping in eTermin.\");\nexport const EterminUpdateUsermappingOutput = z.object({\n status: z.preprocess((value) => (value === null ? undefined : value), z.number().describe(\"HTTP status code of the update operation\").optional()),\n statusmsg: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Status message indicating the result, e.g., '1 records updated!'\").optional()),\n}).describe(\"Response model for updating a usermapping in eTermin.\");\n\nexport const eterminUpdateUsermapping = action(\"ETERMIN_UPDATE_USERMAPPING\", {\n slug: \"etermin-update-usermapping\",\n name: \"Update Usermapping\",\n description: \"Update an existing usermapping in eTermin. Use this when you need to modify usermapping search criteria, calendar assignments, or service group mappings.\",\n input: EterminUpdateUsermappingInput,\n output: EterminUpdateUsermappingOutput,\n});\n"],"mappings":";;AAkBA,MAAa,2BAA2B,OAAO,8BAA8B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlB2C,EAAE,OAAO;EACpD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0EAA0E;EACxG,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uHAAuH,CAAC,CAAC,SAAS;EACnK,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS;EACjI,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS;EACpI,WAAW,EAAE,KAAK;GAAC;GAAK;GAAK;GAAK;EAAG,CAAC,CAAC,CAAC,SAAS,0GAA0G;EAC3J,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,yGAAyG,CAAC,CAAC,SAAS;EACpJ,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,mHAAmH,CAAC,CAAC,SAAS;CACpK,CAAC,CAAC,CAAC,SAAS,sDAUH;CACP,QAV4C,EAAE,OAAO;EACrD,QAAQ,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC;EAChJ,WAAW,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC;CAC7K,CAAC,CAAC,CAAC,SAAS,uDAOF;AACV,CAAC"}
@@ -6,10 +6,10 @@ const EterminUpdateVoucherInput = zod.z.object({
6
6
  voucherId: zod.z.union([zod.z.number().int(), zod.z.string()])
7
7
  });
8
8
  const EterminUpdateVoucherOutput = zod.z.object({
9
- message: zod.z.string().describe("Status message from the API (e.g., 'Voucher created successfully!')."),
10
- success: zod.z.boolean().describe("Whether the voucher update was successful."),
11
- voucher_id: zod.z.string().describe("The ID of the voucher that was updated (code or numeric ID)."),
12
- status_code: zod.z.number().int().describe("HTTP status code from the API response.")
9
+ message: zod.z.string().describe("Status message from the API (e.g., 'Voucher created successfully!').").nullable(),
10
+ success: zod.z.boolean().describe("Whether the voucher update was successful.").nullable(),
11
+ voucher_id: zod.z.string().describe("The ID of the voucher that was updated (code or numeric ID).").nullable(),
12
+ status_code: zod.z.number().int().describe("HTTP status code from the API response.").nullable()
13
13
  });
14
14
  const eterminUpdateVoucher = require_action.action("ETERMIN_UPDATE_VOUCHER", {
15
15
  slug: "etermin-update-voucher",
@@ -1 +1 @@
1
- {"version":3,"file":"update-voucher.cjs","names":["z","action"],"sources":["../../src/actions/update-voucher.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminUpdateVoucherInput: z.ZodTypeAny = z.object({\n data: z.object({}).describe(\"Dictionary containing fields to update. Supported fields include: Description (text), PriceWoVAT (float), PriceInclVAT (float), ContingentMax (int), ValidFrom (YYYY-MM-DD), ValidUntil (YYYY-MM-DD), IsPercentage (bool), validxtimes (int), CalendarsAssigned (comma-separated IDs), ServicesAssigned (comma-separated IDs), CustomerEMail (string), SendReminder (bool).\"),\n voucherId: z.union([z.number().int(), z.string()]),\n});\nexport const EterminUpdateVoucherOutput: z.ZodTypeAny = z.object({\n message: z.string().describe(\"Status message from the API (e.g., 'Voucher created successfully!').\"),\n success: z.boolean().describe(\"Whether the voucher update was successful.\"),\n voucher_id: z.string().describe(\"The ID of the voucher that was updated (code or numeric ID).\"),\n status_code: z.number().int().describe(\"HTTP status code from the API response.\"),\n});\n\nexport const eterminUpdateVoucher = action(\"ETERMIN_UPDATE_VOUCHER\", {\n slug: \"etermin-update-voucher\",\n name: \"Update Voucher\",\n description: \"Updates an existing voucher in eTermin. Use this to modify voucher properties such as description, discount amount, validity dates, or usage limits. The voucher must already exist - use ETERMIN_CREATE_VOUCHER to create new vouchers.\",\n input: EterminUpdateVoucherInput,\n output: EterminUpdateVoucherOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA0CA,IAAAA,EAAE,OAAO;CAC9D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,6WAA6W;CACzY,WAAWA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC;AACnD,CAAC;AACD,MAAa,6BAA2CA,IAAAA,EAAE,OAAO;CAC/D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE;CACnG,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,4CAA4C;CAC1E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D;CAC9F,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC;AAClF,CAAC;AAED,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"update-voucher.cjs","names":["z","action"],"sources":["../../src/actions/update-voucher.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminUpdateVoucherInput = z.object({\n data: z.object({}).describe(\"Dictionary containing fields to update. Supported fields include: Description (text), PriceWoVAT (float), PriceInclVAT (float), ContingentMax (int), ValidFrom (YYYY-MM-DD), ValidUntil (YYYY-MM-DD), IsPercentage (bool), validxtimes (int), CalendarsAssigned (comma-separated IDs), ServicesAssigned (comma-separated IDs), CustomerEMail (string), SendReminder (bool).\"),\n voucherId: z.union([z.number().int(), z.string()]),\n});\nexport const EterminUpdateVoucherOutput = z.object({\n message: z.string().describe(\"Status message from the API (e.g., 'Voucher created successfully!').\").nullable(),\n success: z.boolean().describe(\"Whether the voucher update was successful.\").nullable(),\n voucher_id: z.string().describe(\"The ID of the voucher that was updated (code or numeric ID).\").nullable(),\n status_code: z.number().int().describe(\"HTTP status code from the API response.\").nullable(),\n});\n\nexport const eterminUpdateVoucher = action(\"ETERMIN_UPDATE_VOUCHER\", {\n slug: \"etermin-update-voucher\",\n name: \"Update Voucher\",\n description: \"Updates an existing voucher in eTermin. Use this to modify voucher properties such as description, discount amount, validity dates, or usage limits. The voucher must already exist - use ETERMIN_CREATE_VOUCHER to create new vouchers.\",\n input: EterminUpdateVoucherInput,\n output: EterminUpdateVoucherOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,6WAA6W;CACzY,WAAWA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC;AACnD,CAAC;AACD,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;CAC9G,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACrF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;CACzG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;AAC7F,CAAC;AAED,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,25 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/update-voucher.d.ts
4
- declare const EterminUpdateVoucherInput: z.ZodTypeAny;
5
- declare const EterminUpdateVoucherOutput: z.ZodTypeAny;
6
- declare const eterminUpdateVoucher: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const EterminUpdateVoucherInput: z.ZodObject<{
5
+ data: z.ZodObject<{}, z.core.$strip>;
6
+ voucherId: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
7
+ }, z.core.$strip>;
8
+ declare const EterminUpdateVoucherOutput: z.ZodObject<{
9
+ message: z.ZodNullable<z.ZodString>;
10
+ success: z.ZodNullable<z.ZodBoolean>;
11
+ voucher_id: z.ZodNullable<z.ZodString>;
12
+ status_code: z.ZodNullable<z.ZodNumber>;
13
+ }, z.core.$strip>;
14
+ declare const eterminUpdateVoucher: import("@keystrokehq/action").WorkflowActionDefinition<{
15
+ data: Record<string, never>;
16
+ voucherId: string | number;
17
+ }, {
18
+ message: string | null;
19
+ success: boolean | null;
20
+ voucher_id: string | null;
21
+ status_code: number | null;
22
+ }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
23
  //#endregion
8
24
  export { eterminUpdateVoucher };
9
25
  //# sourceMappingURL=update-voucher.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-voucher.d.cts","names":[],"sources":["../../src/actions/update-voucher.ts"],"mappings":";;;cAIa,yBAAA,EAA2B,CAAA,CAAE,UAGxC;AAAA,cACW,0BAAA,EAA4B,CAAA,CAAE,UAKzC;AAAA,cAEW,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"update-voucher.d.cts","names":[],"sources":["../../src/actions/update-voucher.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;cAIzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;cAO1B,oBAAA,gCAAoB,wBAAA;QAM/B,MAAA"}
@@ -1,9 +1,25 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/update-voucher.d.ts
4
- declare const EterminUpdateVoucherInput: z.ZodTypeAny;
5
- declare const EterminUpdateVoucherOutput: z.ZodTypeAny;
6
- declare const eterminUpdateVoucher: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const EterminUpdateVoucherInput: z.ZodObject<{
5
+ data: z.ZodObject<{}, z.core.$strip>;
6
+ voucherId: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
7
+ }, z.core.$strip>;
8
+ declare const EterminUpdateVoucherOutput: z.ZodObject<{
9
+ message: z.ZodNullable<z.ZodString>;
10
+ success: z.ZodNullable<z.ZodBoolean>;
11
+ voucher_id: z.ZodNullable<z.ZodString>;
12
+ status_code: z.ZodNullable<z.ZodNumber>;
13
+ }, z.core.$strip>;
14
+ declare const eterminUpdateVoucher: import("@keystrokehq/action").WorkflowActionDefinition<{
15
+ data: Record<string, never>;
16
+ voucherId: string | number;
17
+ }, {
18
+ message: string | null;
19
+ success: boolean | null;
20
+ voucher_id: string | null;
21
+ status_code: number | null;
22
+ }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
23
  //#endregion
8
24
  export { eterminUpdateVoucher };
9
25
  //# sourceMappingURL=update-voucher.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-voucher.d.mts","names":[],"sources":["../../src/actions/update-voucher.ts"],"mappings":";;;cAIa,yBAAA,EAA2B,CAAA,CAAE,UAGxC;AAAA,cACW,0BAAA,EAA4B,CAAA,CAAE,UAKzC;AAAA,cAEW,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"update-voucher.d.mts","names":[],"sources":["../../src/actions/update-voucher.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;cAIzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;cAO1B,oBAAA,gCAAoB,wBAAA;QAM/B,MAAA"}
@@ -9,10 +9,10 @@ const eterminUpdateVoucher = action("ETERMIN_UPDATE_VOUCHER", {
9
9
  voucherId: z.union([z.number().int(), z.string()])
10
10
  }),
11
11
  output: z.object({
12
- message: z.string().describe("Status message from the API (e.g., 'Voucher created successfully!')."),
13
- success: z.boolean().describe("Whether the voucher update was successful."),
14
- voucher_id: z.string().describe("The ID of the voucher that was updated (code or numeric ID)."),
15
- status_code: z.number().int().describe("HTTP status code from the API response.")
12
+ message: z.string().describe("Status message from the API (e.g., 'Voucher created successfully!').").nullable(),
13
+ success: z.boolean().describe("Whether the voucher update was successful.").nullable(),
14
+ voucher_id: z.string().describe("The ID of the voucher that was updated (code or numeric ID).").nullable(),
15
+ status_code: z.number().int().describe("HTTP status code from the API response.").nullable()
16
16
  })
17
17
  });
18
18
  //#endregion
@@ -1 +1 @@
1
- {"version":3,"file":"update-voucher.mjs","names":[],"sources":["../../src/actions/update-voucher.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminUpdateVoucherInput: z.ZodTypeAny = z.object({\n data: z.object({}).describe(\"Dictionary containing fields to update. Supported fields include: Description (text), PriceWoVAT (float), PriceInclVAT (float), ContingentMax (int), ValidFrom (YYYY-MM-DD), ValidUntil (YYYY-MM-DD), IsPercentage (bool), validxtimes (int), CalendarsAssigned (comma-separated IDs), ServicesAssigned (comma-separated IDs), CustomerEMail (string), SendReminder (bool).\"),\n voucherId: z.union([z.number().int(), z.string()]),\n});\nexport const EterminUpdateVoucherOutput: z.ZodTypeAny = z.object({\n message: z.string().describe(\"Status message from the API (e.g., 'Voucher created successfully!').\"),\n success: z.boolean().describe(\"Whether the voucher update was successful.\"),\n voucher_id: z.string().describe(\"The ID of the voucher that was updated (code or numeric ID).\"),\n status_code: z.number().int().describe(\"HTTP status code from the API response.\"),\n});\n\nexport const eterminUpdateVoucher = action(\"ETERMIN_UPDATE_VOUCHER\", {\n slug: \"etermin-update-voucher\",\n name: \"Update Voucher\",\n description: \"Updates an existing voucher in eTermin. Use this to modify voucher properties such as description, discount amount, validity dates, or usage limits. The voucher must already exist - use ETERMIN_CREATE_VOUCHER to create new vouchers.\",\n input: EterminUpdateVoucherInput,\n output: EterminUpdateVoucherOutput,\n});\n"],"mappings":";;AAeA,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAfqD,EAAE,OAAO;EAC9D,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,6WAA6W;EACzY,WAAW,EAAE,MAAM,CAAC,EAAE,OAAO,CAAC,CAAC,IAAI,GAAG,EAAE,OAAO,CAAC,CAAC;CACnD,CAYS;CACP,QAZsD,EAAE,OAAO;EAC/D,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE;EACnG,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,4CAA4C;EAC1E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D;EAC9F,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC;CAClF,CAOU;AACV,CAAC"}
1
+ {"version":3,"file":"update-voucher.mjs","names":[],"sources":["../../src/actions/update-voucher.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminUpdateVoucherInput = z.object({\n data: z.object({}).describe(\"Dictionary containing fields to update. Supported fields include: Description (text), PriceWoVAT (float), PriceInclVAT (float), ContingentMax (int), ValidFrom (YYYY-MM-DD), ValidUntil (YYYY-MM-DD), IsPercentage (bool), validxtimes (int), CalendarsAssigned (comma-separated IDs), ServicesAssigned (comma-separated IDs), CustomerEMail (string), SendReminder (bool).\"),\n voucherId: z.union([z.number().int(), z.string()]),\n});\nexport const EterminUpdateVoucherOutput = z.object({\n message: z.string().describe(\"Status message from the API (e.g., 'Voucher created successfully!').\").nullable(),\n success: z.boolean().describe(\"Whether the voucher update was successful.\").nullable(),\n voucher_id: z.string().describe(\"The ID of the voucher that was updated (code or numeric ID).\").nullable(),\n status_code: z.number().int().describe(\"HTTP status code from the API response.\").nullable(),\n});\n\nexport const eterminUpdateVoucher = action(\"ETERMIN_UPDATE_VOUCHER\", {\n slug: \"etermin-update-voucher\",\n name: \"Update Voucher\",\n description: \"Updates an existing voucher in eTermin. Use this to modify voucher properties such as description, discount amount, validity dates, or usage limits. The voucher must already exist - use ETERMIN_CREATE_VOUCHER to create new vouchers.\",\n input: EterminUpdateVoucherInput,\n output: EterminUpdateVoucherOutput,\n});\n"],"mappings":";;AAeA,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAfuC,EAAE,OAAO;EAChD,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,6WAA6W;EACzY,WAAW,EAAE,MAAM,CAAC,EAAE,OAAO,CAAC,CAAC,IAAI,GAAG,EAAE,OAAO,CAAC,CAAC;CACnD,CAYS;CACP,QAZwC,EAAE,OAAO;EACjD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;EAC9G,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;EACrF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;EACzG,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAC7F,CAOU;AACV,CAAC"}
@@ -6,9 +6,9 @@ const EterminUpdateWebhookInput = zod.z.object({
6
6
  webhookId: zod.z.string().describe("Unique identifier (UUID) of the webhook to update. Obtain this ID from the 'List Webhooks' action.")
7
7
  }).describe("Request model for updating an existing webhook configuration in eTermin.\nNote: eTermin webhook/webpush management is typically done via the web UI.\nThis action attempts multiple API endpoints but may return a graceful\nfallback message if API-based updates are not supported for your tenant.");
8
8
  const EterminUpdateWebhookOutput = zod.z.object({
9
- message: zod.z.string().describe("Status message or error description when applicable.").nullable().optional(),
10
- success: zod.z.boolean().describe("Whether the update was successful. False indicates the API does not support webhook updates for this tenant."),
11
- updated_webhook: zod.z.object({}).describe("The updated webhook data returned by the API on success.").nullable().optional()
9
+ message: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Status message or error description when applicable.").optional()),
10
+ success: zod.z.boolean().describe("Whether the update was successful. False indicates the API does not support webhook updates for this tenant.").nullable(),
11
+ updated_webhook: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.object({}).describe("The updated webhook data returned by the API on success.").optional())
12
12
  }).describe("Response model for webhook update operation.");
13
13
  const eterminUpdateWebhook = require_action.action("ETERMIN_UPDATE_WEBHOOK", {
14
14
  slug: "etermin-update-webhook",