@keystrokehq/etermin 0.1.1 → 0.1.2

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 (457) 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 +4 -8
  6. package/dist/actions/assign-calendar-service.d.mts +4 -8
  7. package/dist/actions/assign-calendar-service.mjs +3 -3
  8. package/dist/actions/assign-calendar-service.mjs.map +1 -1
  9. package/dist/actions/create-absence.cjs +3 -3
  10. package/dist/actions/create-absence.cjs.map +1 -1
  11. package/dist/actions/create-absence.d.cts +4 -9
  12. package/dist/actions/create-absence.d.mts +4 -9
  13. package/dist/actions/create-absence.mjs +3 -3
  14. package/dist/actions/create-absence.mjs.map +1 -1
  15. package/dist/actions/create-anchortime-by-date.d.cts +1 -4
  16. package/dist/actions/create-anchortime-by-date.d.mts +1 -4
  17. package/dist/actions/create-anchortime.d.cts +2 -5
  18. package/dist/actions/create-anchortime.d.mts +2 -5
  19. package/dist/actions/create-appointment-sync.cjs +1 -1
  20. package/dist/actions/create-appointment-sync.cjs.map +1 -1
  21. package/dist/actions/create-appointment-sync.d.cts +2 -6
  22. package/dist/actions/create-appointment-sync.d.mts +2 -6
  23. package/dist/actions/create-appointment-sync.mjs +1 -1
  24. package/dist/actions/create-appointment-sync.mjs.map +1 -1
  25. package/dist/actions/create-appointment.cjs +6 -6
  26. package/dist/actions/create-appointment.cjs.map +1 -1
  27. package/dist/actions/create-appointment.d.cts +7 -14
  28. package/dist/actions/create-appointment.d.mts +7 -14
  29. package/dist/actions/create-appointment.mjs +6 -6
  30. package/dist/actions/create-appointment.mjs.map +1 -1
  31. package/dist/actions/create-calendar-return-time.cjs +1 -1
  32. package/dist/actions/create-calendar-return-time.cjs.map +1 -1
  33. package/dist/actions/create-calendar-return-time.d.cts +3 -7
  34. package/dist/actions/create-calendar-return-time.d.mts +3 -7
  35. package/dist/actions/create-calendar-return-time.mjs +1 -1
  36. package/dist/actions/create-calendar-return-time.mjs.map +1 -1
  37. package/dist/actions/create-contact.d.cts +1 -7
  38. package/dist/actions/create-contact.d.mts +1 -7
  39. package/dist/actions/create-service-group.cjs +3 -3
  40. package/dist/actions/create-service-group.cjs.map +1 -1
  41. package/dist/actions/create-service-group.d.cts +4 -8
  42. package/dist/actions/create-service-group.d.mts +4 -8
  43. package/dist/actions/create-service-group.mjs +3 -3
  44. package/dist/actions/create-service-group.mjs.map +1 -1
  45. package/dist/actions/create-service.cjs +3 -3
  46. package/dist/actions/create-service.cjs.map +1 -1
  47. package/dist/actions/create-service.d.cts +4 -8
  48. package/dist/actions/create-service.d.mts +4 -8
  49. package/dist/actions/create-service.mjs +3 -3
  50. package/dist/actions/create-service.mjs.map +1 -1
  51. package/dist/actions/create-user.cjs +1 -1
  52. package/dist/actions/create-user.cjs.map +1 -1
  53. package/dist/actions/create-user.d.cts +2 -6
  54. package/dist/actions/create-user.d.mts +2 -6
  55. package/dist/actions/create-user.mjs +1 -1
  56. package/dist/actions/create-user.mjs.map +1 -1
  57. package/dist/actions/create-usermapping.cjs +3 -3
  58. package/dist/actions/create-usermapping.cjs.map +1 -1
  59. package/dist/actions/create-usermapping.d.cts +4 -8
  60. package/dist/actions/create-usermapping.d.mts +4 -8
  61. package/dist/actions/create-usermapping.mjs +3 -3
  62. package/dist/actions/create-usermapping.mjs.map +1 -1
  63. package/dist/actions/create-voucher.cjs +2 -2
  64. package/dist/actions/create-voucher.cjs.map +1 -1
  65. package/dist/actions/create-voucher.d.cts +3 -12
  66. package/dist/actions/create-voucher.d.mts +3 -12
  67. package/dist/actions/create-voucher.mjs +2 -2
  68. package/dist/actions/create-voucher.mjs.map +1 -1
  69. package/dist/actions/create-webhook.cjs +2 -2
  70. package/dist/actions/create-webhook.cjs.map +1 -1
  71. package/dist/actions/create-webhook.d.cts +3 -8
  72. package/dist/actions/create-webhook.d.cts.map +1 -1
  73. package/dist/actions/create-webhook.d.mts +3 -8
  74. package/dist/actions/create-webhook.d.mts.map +1 -1
  75. package/dist/actions/create-webhook.mjs +2 -2
  76. package/dist/actions/create-webhook.mjs.map +1 -1
  77. package/dist/actions/create-working-time.d.cts +1 -4
  78. package/dist/actions/create-working-time.d.mts +1 -4
  79. package/dist/actions/create-working-times-date.cjs +3 -3
  80. package/dist/actions/create-working-times-date.cjs.map +1 -1
  81. package/dist/actions/create-working-times-date.d.cts +4 -8
  82. package/dist/actions/create-working-times-date.d.mts +4 -8
  83. package/dist/actions/create-working-times-date.mjs +3 -3
  84. package/dist/actions/create-working-times-date.mjs.map +1 -1
  85. package/dist/actions/delete-absence.cjs +1 -1
  86. package/dist/actions/delete-absence.cjs.map +1 -1
  87. package/dist/actions/delete-absence.d.cts +2 -6
  88. package/dist/actions/delete-absence.d.mts +2 -6
  89. package/dist/actions/delete-absence.mjs +1 -1
  90. package/dist/actions/delete-absence.mjs.map +1 -1
  91. package/dist/actions/delete-anchortime-by-date.cjs +2 -2
  92. package/dist/actions/delete-anchortime-by-date.cjs.map +1 -1
  93. package/dist/actions/delete-anchortime-by-date.d.cts +3 -7
  94. package/dist/actions/delete-anchortime-by-date.d.cts.map +1 -1
  95. package/dist/actions/delete-anchortime-by-date.d.mts +3 -7
  96. package/dist/actions/delete-anchortime-by-date.d.mts.map +1 -1
  97. package/dist/actions/delete-anchortime-by-date.mjs +2 -2
  98. package/dist/actions/delete-anchortime-by-date.mjs.map +1 -1
  99. package/dist/actions/delete-anchortime.cjs +1 -1
  100. package/dist/actions/delete-anchortime.cjs.map +1 -1
  101. package/dist/actions/delete-anchortime.d.cts +2 -5
  102. package/dist/actions/delete-anchortime.d.mts +2 -5
  103. package/dist/actions/delete-anchortime.mjs +1 -1
  104. package/dist/actions/delete-anchortime.mjs.map +1 -1
  105. package/dist/actions/delete-appointment-sync.cjs +1 -1
  106. package/dist/actions/delete-appointment-sync.cjs.map +1 -1
  107. package/dist/actions/delete-appointment-sync.d.cts +2 -6
  108. package/dist/actions/delete-appointment-sync.d.mts +2 -6
  109. package/dist/actions/delete-appointment-sync.mjs +1 -1
  110. package/dist/actions/delete-appointment-sync.mjs.map +1 -1
  111. package/dist/actions/delete-appointment.cjs +2 -2
  112. package/dist/actions/delete-appointment.cjs.map +1 -1
  113. package/dist/actions/delete-appointment.d.cts +3 -7
  114. package/dist/actions/delete-appointment.d.cts.map +1 -1
  115. package/dist/actions/delete-appointment.d.mts +3 -7
  116. package/dist/actions/delete-appointment.d.mts.map +1 -1
  117. package/dist/actions/delete-appointment.mjs +2 -2
  118. package/dist/actions/delete-appointment.mjs.map +1 -1
  119. package/dist/actions/delete-calendar-return-time.cjs +1 -1
  120. package/dist/actions/delete-calendar-return-time.cjs.map +1 -1
  121. package/dist/actions/delete-calendar-return-time.d.cts +2 -5
  122. package/dist/actions/delete-calendar-return-time.d.mts +2 -5
  123. package/dist/actions/delete-calendar-return-time.mjs +1 -1
  124. package/dist/actions/delete-calendar-return-time.mjs.map +1 -1
  125. package/dist/actions/delete-calendar-service.cjs +1 -1
  126. package/dist/actions/delete-calendar-service.cjs.map +1 -1
  127. package/dist/actions/delete-calendar-service.d.cts +2 -5
  128. package/dist/actions/delete-calendar-service.d.mts +2 -5
  129. package/dist/actions/delete-calendar-service.mjs +1 -1
  130. package/dist/actions/delete-calendar-service.mjs.map +1 -1
  131. package/dist/actions/delete-calendar.cjs +1 -1
  132. package/dist/actions/delete-calendar.cjs.map +1 -1
  133. package/dist/actions/delete-calendar.d.cts +2 -6
  134. package/dist/actions/delete-calendar.d.mts +2 -6
  135. package/dist/actions/delete-calendar.mjs +1 -1
  136. package/dist/actions/delete-calendar.mjs.map +1 -1
  137. package/dist/actions/delete-contact.cjs +1 -1
  138. package/dist/actions/delete-contact.cjs.map +1 -1
  139. package/dist/actions/delete-contact.d.cts +2 -5
  140. package/dist/actions/delete-contact.d.mts +2 -5
  141. package/dist/actions/delete-contact.mjs +1 -1
  142. package/dist/actions/delete-contact.mjs.map +1 -1
  143. package/dist/actions/delete-resource.cjs +1 -1
  144. package/dist/actions/delete-resource.cjs.map +1 -1
  145. package/dist/actions/delete-resource.d.cts +2 -7
  146. package/dist/actions/delete-resource.d.mts +2 -7
  147. package/dist/actions/delete-resource.mjs +1 -1
  148. package/dist/actions/delete-resource.mjs.map +1 -1
  149. package/dist/actions/delete-service.cjs +3 -3
  150. package/dist/actions/delete-service.cjs.map +1 -1
  151. package/dist/actions/delete-service.d.cts +4 -8
  152. package/dist/actions/delete-service.d.mts +4 -8
  153. package/dist/actions/delete-service.mjs +3 -3
  154. package/dist/actions/delete-service.mjs.map +1 -1
  155. package/dist/actions/delete-servicegroup.cjs +2 -2
  156. package/dist/actions/delete-servicegroup.cjs.map +1 -1
  157. package/dist/actions/delete-servicegroup.d.cts +3 -6
  158. package/dist/actions/delete-servicegroup.d.mts +3 -6
  159. package/dist/actions/delete-servicegroup.mjs +2 -2
  160. package/dist/actions/delete-servicegroup.mjs.map +1 -1
  161. package/dist/actions/delete-user.cjs +1 -1
  162. package/dist/actions/delete-user.cjs.map +1 -1
  163. package/dist/actions/delete-user.d.cts +2 -5
  164. package/dist/actions/delete-user.d.mts +2 -5
  165. package/dist/actions/delete-user.mjs +1 -1
  166. package/dist/actions/delete-user.mjs.map +1 -1
  167. package/dist/actions/delete-usermapping.cjs +2 -2
  168. package/dist/actions/delete-usermapping.cjs.map +1 -1
  169. package/dist/actions/delete-usermapping.d.cts +3 -6
  170. package/dist/actions/delete-usermapping.d.mts +3 -6
  171. package/dist/actions/delete-usermapping.mjs +2 -2
  172. package/dist/actions/delete-usermapping.mjs.map +1 -1
  173. package/dist/actions/delete-voucher.cjs +1 -1
  174. package/dist/actions/delete-voucher.cjs.map +1 -1
  175. package/dist/actions/delete-voucher.d.cts +2 -5
  176. package/dist/actions/delete-voucher.d.mts +2 -5
  177. package/dist/actions/delete-voucher.mjs +1 -1
  178. package/dist/actions/delete-voucher.mjs.map +1 -1
  179. package/dist/actions/delete-webhook.cjs +2 -2
  180. package/dist/actions/delete-webhook.cjs.map +1 -1
  181. package/dist/actions/delete-webhook.d.cts +3 -6
  182. package/dist/actions/delete-webhook.d.mts +3 -6
  183. package/dist/actions/delete-webhook.mjs +2 -2
  184. package/dist/actions/delete-webhook.mjs.map +1 -1
  185. package/dist/actions/delete-working-times-date.cjs +2 -2
  186. package/dist/actions/delete-working-times-date.cjs.map +1 -1
  187. package/dist/actions/delete-working-times-date.d.cts +3 -6
  188. package/dist/actions/delete-working-times-date.d.mts +3 -6
  189. package/dist/actions/delete-working-times-date.mjs +2 -2
  190. package/dist/actions/delete-working-times-date.mjs.map +1 -1
  191. package/dist/actions/delete-working-times.cjs +2 -2
  192. package/dist/actions/delete-working-times.cjs.map +1 -1
  193. package/dist/actions/delete-working-times.d.cts +3 -6
  194. package/dist/actions/delete-working-times.d.mts +3 -6
  195. package/dist/actions/delete-working-times.mjs +2 -2
  196. package/dist/actions/delete-working-times.mjs.map +1 -1
  197. package/dist/actions/get-absences.cjs +7 -7
  198. package/dist/actions/get-absences.cjs.map +1 -1
  199. package/dist/actions/get-absences.d.cts +8 -18
  200. package/dist/actions/get-absences.d.mts +8 -18
  201. package/dist/actions/get-absences.mjs +7 -7
  202. package/dist/actions/get-absences.mjs.map +1 -1
  203. package/dist/actions/get-anchortime-date.cjs +5 -5
  204. package/dist/actions/get-anchortime-date.cjs.map +1 -1
  205. package/dist/actions/get-anchortime-date.d.cts +6 -15
  206. package/dist/actions/get-anchortime-date.d.mts +6 -15
  207. package/dist/actions/get-anchortime-date.mjs +5 -5
  208. package/dist/actions/get-anchortime-date.mjs.map +1 -1
  209. package/dist/actions/get-anchortimes.cjs +5 -5
  210. package/dist/actions/get-anchortimes.cjs.map +1 -1
  211. package/dist/actions/get-anchortimes.d.cts +6 -15
  212. package/dist/actions/get-anchortimes.d.mts +6 -15
  213. package/dist/actions/get-anchortimes.mjs +5 -5
  214. package/dist/actions/get-anchortimes.mjs.map +1 -1
  215. package/dist/actions/get-appointment-sync.cjs +73 -73
  216. package/dist/actions/get-appointment-sync.cjs.map +1 -1
  217. package/dist/actions/get-appointment-sync.d.cts +74 -151
  218. package/dist/actions/get-appointment-sync.d.mts +74 -151
  219. package/dist/actions/get-appointment-sync.mjs +73 -73
  220. package/dist/actions/get-appointment-sync.mjs.map +1 -1
  221. package/dist/actions/get-bookingpage-logs.cjs +5 -5
  222. package/dist/actions/get-bookingpage-logs.cjs.map +1 -1
  223. package/dist/actions/get-bookingpage-logs.d.cts +6 -14
  224. package/dist/actions/get-bookingpage-logs.d.mts +6 -14
  225. package/dist/actions/get-bookingpage-logs.mjs +5 -5
  226. package/dist/actions/get-bookingpage-logs.mjs.map +1 -1
  227. package/dist/actions/get-calendar-return-time.cjs +9 -9
  228. package/dist/actions/get-calendar-return-time.cjs.map +1 -1
  229. package/dist/actions/get-calendar-return-time.d.cts +10 -22
  230. package/dist/actions/get-calendar-return-time.d.mts +10 -22
  231. package/dist/actions/get-calendar-return-time.mjs +9 -9
  232. package/dist/actions/get-calendar-return-time.mjs.map +1 -1
  233. package/dist/actions/get-calendars.cjs +5 -5
  234. package/dist/actions/get-calendars.cjs.map +1 -1
  235. package/dist/actions/get-calendars.d.cts +6 -17
  236. package/dist/actions/get-calendars.d.cts.map +1 -1
  237. package/dist/actions/get-calendars.d.mts +6 -17
  238. package/dist/actions/get-calendars.d.mts.map +1 -1
  239. package/dist/actions/get-calendars.mjs +5 -5
  240. package/dist/actions/get-calendars.mjs.map +1 -1
  241. package/dist/actions/get-calendarservice.cjs +3 -3
  242. package/dist/actions/get-calendarservice.cjs.map +1 -1
  243. package/dist/actions/get-calendarservice.d.cts +4 -11
  244. package/dist/actions/get-calendarservice.d.mts +4 -11
  245. package/dist/actions/get-calendarservice.mjs +3 -3
  246. package/dist/actions/get-calendarservice.mjs.map +1 -1
  247. package/dist/actions/get-company.cjs +19 -19
  248. package/dist/actions/get-company.cjs.map +1 -1
  249. package/dist/actions/get-company.d.cts +20 -43
  250. package/dist/actions/get-company.d.cts.map +1 -1
  251. package/dist/actions/get-company.d.mts +20 -43
  252. package/dist/actions/get-company.d.mts.map +1 -1
  253. package/dist/actions/get-company.mjs +19 -19
  254. package/dist/actions/get-company.mjs.map +1 -1
  255. package/dist/actions/get-contact-by-id.cjs +49 -49
  256. package/dist/actions/get-contact-by-id.cjs.map +1 -1
  257. package/dist/actions/get-contact-by-id.d.cts +50 -103
  258. package/dist/actions/get-contact-by-id.d.mts +50 -103
  259. package/dist/actions/get-contact-by-id.mjs +49 -49
  260. package/dist/actions/get-contact-by-id.mjs.map +1 -1
  261. package/dist/actions/get-contacts.cjs +49 -49
  262. package/dist/actions/get-contacts.cjs.map +1 -1
  263. package/dist/actions/get-contacts.d.cts +50 -103
  264. package/dist/actions/get-contacts.d.cts.map +1 -1
  265. package/dist/actions/get-contacts.d.mts +50 -103
  266. package/dist/actions/get-contacts.d.mts.map +1 -1
  267. package/dist/actions/get-contacts.mjs +49 -49
  268. package/dist/actions/get-contacts.mjs.map +1 -1
  269. package/dist/actions/get-deleted-appointments.cjs +18 -18
  270. package/dist/actions/get-deleted-appointments.cjs.map +1 -1
  271. package/dist/actions/get-deleted-appointments.d.cts +19 -41
  272. package/dist/actions/get-deleted-appointments.d.mts +19 -41
  273. package/dist/actions/get-deleted-appointments.mjs +18 -18
  274. package/dist/actions/get-deleted-appointments.mjs.map +1 -1
  275. package/dist/actions/get-message-logs.cjs +9 -9
  276. package/dist/actions/get-message-logs.cjs.map +1 -1
  277. package/dist/actions/get-message-logs.d.cts +10 -22
  278. package/dist/actions/get-message-logs.d.mts +10 -22
  279. package/dist/actions/get-message-logs.mjs +9 -9
  280. package/dist/actions/get-message-logs.mjs.map +1 -1
  281. package/dist/actions/get-rating.cjs +11 -11
  282. package/dist/actions/get-rating.cjs.map +1 -1
  283. package/dist/actions/get-rating.d.cts +12 -27
  284. package/dist/actions/get-rating.d.cts.map +1 -1
  285. package/dist/actions/get-rating.d.mts +12 -27
  286. package/dist/actions/get-rating.d.mts.map +1 -1
  287. package/dist/actions/get-rating.mjs +11 -11
  288. package/dist/actions/get-rating.mjs.map +1 -1
  289. package/dist/actions/get-service-by-id.cjs +4 -4
  290. package/dist/actions/get-service-by-id.cjs.map +1 -1
  291. package/dist/actions/get-service-by-id.d.cts +5 -22
  292. package/dist/actions/get-service-by-id.d.mts +5 -22
  293. package/dist/actions/get-service-by-id.mjs +4 -4
  294. package/dist/actions/get-service-by-id.mjs.map +1 -1
  295. package/dist/actions/get-service-calendar.d.cts +1 -6
  296. package/dist/actions/get-service-calendar.d.mts +1 -6
  297. package/dist/actions/get-servicegroup.cjs +25 -25
  298. package/dist/actions/get-servicegroup.cjs.map +1 -1
  299. package/dist/actions/get-servicegroup.d.cts +26 -55
  300. package/dist/actions/get-servicegroup.d.mts +26 -55
  301. package/dist/actions/get-servicegroup.mjs +25 -25
  302. package/dist/actions/get-servicegroup.mjs.map +1 -1
  303. package/dist/actions/get-services.cjs +4 -4
  304. package/dist/actions/get-services.cjs.map +1 -1
  305. package/dist/actions/get-services.d.cts +5 -22
  306. package/dist/actions/get-services.d.cts.map +1 -1
  307. package/dist/actions/get-services.d.mts +5 -22
  308. package/dist/actions/get-services.d.mts.map +1 -1
  309. package/dist/actions/get-services.mjs +4 -4
  310. package/dist/actions/get-services.mjs.map +1 -1
  311. package/dist/actions/get-survey-results.cjs +6 -6
  312. package/dist/actions/get-survey-results.cjs.map +1 -1
  313. package/dist/actions/get-survey-results.d.cts +7 -16
  314. package/dist/actions/get-survey-results.d.mts +7 -16
  315. package/dist/actions/get-survey-results.mjs +6 -6
  316. package/dist/actions/get-survey-results.mjs.map +1 -1
  317. package/dist/actions/get-timeslots.cjs +4 -4
  318. package/dist/actions/get-timeslots.cjs.map +1 -1
  319. package/dist/actions/get-timeslots.d.cts +5 -13
  320. package/dist/actions/get-timeslots.d.mts +5 -13
  321. package/dist/actions/get-timeslots.mjs +4 -4
  322. package/dist/actions/get-timeslots.mjs.map +1 -1
  323. package/dist/actions/get-usermapping.cjs +7 -7
  324. package/dist/actions/get-usermapping.cjs.map +1 -1
  325. package/dist/actions/get-usermapping.d.cts +8 -19
  326. package/dist/actions/get-usermapping.d.mts +8 -19
  327. package/dist/actions/get-usermapping.mjs +7 -7
  328. package/dist/actions/get-usermapping.mjs.map +1 -1
  329. package/dist/actions/get-users.cjs +26 -26
  330. package/dist/actions/get-users.cjs.map +1 -1
  331. package/dist/actions/get-users.d.cts +27 -58
  332. package/dist/actions/get-users.d.cts.map +1 -1
  333. package/dist/actions/get-users.d.mts +27 -58
  334. package/dist/actions/get-users.d.mts.map +1 -1
  335. package/dist/actions/get-users.mjs +26 -26
  336. package/dist/actions/get-users.mjs.map +1 -1
  337. package/dist/actions/get-working-times-date.cjs +1 -1
  338. package/dist/actions/get-working-times-date.cjs.map +1 -1
  339. package/dist/actions/get-working-times-date.d.cts +2 -11
  340. package/dist/actions/get-working-times-date.d.mts +2 -11
  341. package/dist/actions/get-working-times-date.mjs +1 -1
  342. package/dist/actions/get-working-times-date.mjs.map +1 -1
  343. package/dist/actions/get-working-times.cjs +1 -1
  344. package/dist/actions/get-working-times.cjs.map +1 -1
  345. package/dist/actions/get-working-times.d.cts +2 -12
  346. package/dist/actions/get-working-times.d.mts +2 -12
  347. package/dist/actions/get-working-times.mjs +1 -1
  348. package/dist/actions/get-working-times.mjs.map +1 -1
  349. package/dist/actions/list-appointments.cjs +19 -19
  350. package/dist/actions/list-appointments.cjs.map +1 -1
  351. package/dist/actions/list-appointments.d.cts +20 -43
  352. package/dist/actions/list-appointments.d.mts +20 -43
  353. package/dist/actions/list-appointments.mjs +19 -19
  354. package/dist/actions/list-appointments.mjs.map +1 -1
  355. package/dist/actions/list-vouchers.cjs +19 -19
  356. package/dist/actions/list-vouchers.cjs.map +1 -1
  357. package/dist/actions/list-vouchers.d.cts +20 -41
  358. package/dist/actions/list-vouchers.d.cts.map +1 -1
  359. package/dist/actions/list-vouchers.d.mts +20 -41
  360. package/dist/actions/list-vouchers.d.mts.map +1 -1
  361. package/dist/actions/list-vouchers.mjs +19 -19
  362. package/dist/actions/list-vouchers.mjs.map +1 -1
  363. package/dist/actions/list-webhooks.d.cts +1 -3
  364. package/dist/actions/list-webhooks.d.cts.map +1 -1
  365. package/dist/actions/list-webhooks.d.mts +1 -3
  366. package/dist/actions/list-webhooks.d.mts.map +1 -1
  367. package/dist/actions/put-service.cjs +3 -3
  368. package/dist/actions/put-service.cjs.map +1 -1
  369. package/dist/actions/put-service.d.cts +4 -8
  370. package/dist/actions/put-service.d.mts +4 -8
  371. package/dist/actions/put-service.mjs +3 -3
  372. package/dist/actions/put-service.mjs.map +1 -1
  373. package/dist/actions/update-absence.cjs +1 -1
  374. package/dist/actions/update-absence.cjs.map +1 -1
  375. package/dist/actions/update-absence.d.cts +2 -6
  376. package/dist/actions/update-absence.d.mts +2 -6
  377. package/dist/actions/update-absence.mjs +1 -1
  378. package/dist/actions/update-absence.mjs.map +1 -1
  379. package/dist/actions/update-anchortime-by-date.cjs +1 -1
  380. package/dist/actions/update-anchortime-by-date.cjs.map +1 -1
  381. package/dist/actions/update-anchortime-by-date.d.cts +2 -5
  382. package/dist/actions/update-anchortime-by-date.d.mts +2 -5
  383. package/dist/actions/update-anchortime-by-date.mjs +1 -1
  384. package/dist/actions/update-anchortime-by-date.mjs.map +1 -1
  385. package/dist/actions/update-anchortime.cjs +2 -2
  386. package/dist/actions/update-anchortime.cjs.map +1 -1
  387. package/dist/actions/update-anchortime.d.cts +3 -8
  388. package/dist/actions/update-anchortime.d.mts +3 -8
  389. package/dist/actions/update-anchortime.mjs +2 -2
  390. package/dist/actions/update-anchortime.mjs.map +1 -1
  391. package/dist/actions/update-appointment.d.cts +1 -4
  392. package/dist/actions/update-appointment.d.mts +1 -4
  393. package/dist/actions/update-calendar-return-time.cjs +1 -1
  394. package/dist/actions/update-calendar-return-time.cjs.map +1 -1
  395. package/dist/actions/update-calendar-return-time.d.cts +2 -6
  396. package/dist/actions/update-calendar-return-time.d.mts +2 -6
  397. package/dist/actions/update-calendar-return-time.mjs +1 -1
  398. package/dist/actions/update-calendar-return-time.mjs.map +1 -1
  399. package/dist/actions/update-calendar.cjs +2 -2
  400. package/dist/actions/update-calendar.cjs.map +1 -1
  401. package/dist/actions/update-calendar.d.cts +3 -8
  402. package/dist/actions/update-calendar.d.mts +3 -8
  403. package/dist/actions/update-calendar.mjs +2 -2
  404. package/dist/actions/update-calendar.mjs.map +1 -1
  405. package/dist/actions/update-contact.cjs +3 -3
  406. package/dist/actions/update-contact.cjs.map +1 -1
  407. package/dist/actions/update-contact.d.cts +4 -10
  408. package/dist/actions/update-contact.d.mts +4 -10
  409. package/dist/actions/update-contact.mjs +3 -3
  410. package/dist/actions/update-contact.mjs.map +1 -1
  411. package/dist/actions/update-resource.cjs +1 -1
  412. package/dist/actions/update-resource.cjs.map +1 -1
  413. package/dist/actions/update-resource.d.cts +2 -7
  414. package/dist/actions/update-resource.d.mts +2 -7
  415. package/dist/actions/update-resource.mjs +1 -1
  416. package/dist/actions/update-resource.mjs.map +1 -1
  417. package/dist/actions/update-service-group.d.cts +1 -4
  418. package/dist/actions/update-service-group.d.mts +1 -4
  419. package/dist/actions/update-service.d.cts +1 -3
  420. package/dist/actions/update-service.d.cts.map +1 -1
  421. package/dist/actions/update-service.d.mts +1 -3
  422. package/dist/actions/update-service.d.mts.map +1 -1
  423. package/dist/actions/update-sync-appointment.cjs +1 -1
  424. package/dist/actions/update-sync-appointment.cjs.map +1 -1
  425. package/dist/actions/update-sync-appointment.d.cts +2 -6
  426. package/dist/actions/update-sync-appointment.d.mts +2 -6
  427. package/dist/actions/update-sync-appointment.mjs +1 -1
  428. package/dist/actions/update-sync-appointment.mjs.map +1 -1
  429. package/dist/actions/update-usermapping.cjs +2 -2
  430. package/dist/actions/update-usermapping.cjs.map +1 -1
  431. package/dist/actions/update-usermapping.d.cts +3 -6
  432. package/dist/actions/update-usermapping.d.mts +3 -6
  433. package/dist/actions/update-usermapping.mjs +2 -2
  434. package/dist/actions/update-usermapping.mjs.map +1 -1
  435. package/dist/actions/update-voucher.d.cts +1 -6
  436. package/dist/actions/update-voucher.d.mts +1 -6
  437. package/dist/actions/update-webhook.cjs +2 -2
  438. package/dist/actions/update-webhook.cjs.map +1 -1
  439. package/dist/actions/update-webhook.d.cts +3 -7
  440. package/dist/actions/update-webhook.d.cts.map +1 -1
  441. package/dist/actions/update-webhook.d.mts +3 -7
  442. package/dist/actions/update-webhook.d.mts.map +1 -1
  443. package/dist/actions/update-webhook.mjs +2 -2
  444. package/dist/actions/update-webhook.mjs.map +1 -1
  445. package/dist/actions/update-working-times-date.cjs +2 -2
  446. package/dist/actions/update-working-times-date.cjs.map +1 -1
  447. package/dist/actions/update-working-times-date.d.cts +3 -6
  448. package/dist/actions/update-working-times-date.d.mts +3 -6
  449. package/dist/actions/update-working-times-date.mjs +2 -2
  450. package/dist/actions/update-working-times-date.mjs.map +1 -1
  451. package/dist/actions/update-working-times.cjs +2 -2
  452. package/dist/actions/update-working-times.cjs.map +1 -1
  453. package/dist/actions/update-working-times.d.cts +3 -6
  454. package/dist/actions/update-working-times.d.mts +3 -6
  455. package/dist/actions/update-working-times.mjs +2 -2
  456. package/dist/actions/update-working-times.mjs.map +1 -1
  457. package/package.json +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"update-resource.cjs","names":["z","action"],"sources":["../../src/actions/update-resource.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminUpdateResourceInput = z.object({\n data: z.record(z.string(), z.unknown()).describe(\"Fields to update on the resource. Field names should match the eTermin API schema (e.g., 'FirstName', 'LastName' for contacts; 'ServiceEN', 'TimeSlotMinutes' for services; 'CalendarName' for calendars). Do NOT include the ID field here - it will be added automatically.\"),\n resource: z.string().describe(\"The eTermin resource type to update. Supported types: 'contact', 'service', 'calendar', 'user', 'voucher'.\"),\n resourceId: z.string().describe(\"The unique identifier of the resource to update. For contacts use the 'cid' value, for services/calendars use the 'id' or resource-specific ID.\"),\n}).describe(\"Request model to update an existing eTermin resource.\\n\\nThe eTermin API uses PUT to the collection endpoint (e.g., /api/contact)\\nwith the resource ID included in the form-urlencoded body.\");\nexport const EterminUpdateResourceOutput = z.object({\n status: z.string().describe(\"HTTP status code returned by the API.\").nullable(),\n message: z.string().describe(\"Status message from the API describing the result.\").nullable(),\n success: z.boolean().describe(\"Whether the update operation was successful.\").nullable(),\n resource_id: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"The ID of the updated resource, if returned by the API.\").optional()),\n}).describe(\"Response from updating an eTermin resource.\");\n\nexport const eterminUpdateResource = action(\"ETERMIN_UPDATE_RESOURCE\", {\n slug: \"etermin-update-resource\",\n name: \"Update Resource\",\n description: \"Update an existing eTermin resource (contact, service, calendar, user, or voucher). The eTermin API requires PUT requests to the collection endpoint with form-urlencoded data including the resource ID in the body. ID field names by resource type: - contact: 'cid' - service: 'id' - calendar: 'id' - user: 'id' - voucher: 'id'\",\n input: EterminUpdateResourceInput,\n output: EterminUpdateResourceOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,+QAA+Q;CAChU,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4GAA4G;CAC1I,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iJAAiJ;AACnL,CAAC,CAAC,CAAC,SAAS,+LAA+L;AAC3M,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC9E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CAC5F,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACvF,aAAaA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC;AACtK,CAAC,CAAC,CAAC,SAAS,6CAA6C;AAEzD,MAAa,wBAAwBC,eAAAA,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"update-resource.cjs","names":["z","action"],"sources":["../../src/actions/update-resource.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminUpdateResourceInput = z.object({\n data: z.record(z.string(), z.unknown()).describe(\"Fields to update on the resource. Field names should match the eTermin API schema (e.g., 'FirstName', 'LastName' for contacts; 'ServiceEN', 'TimeSlotMinutes' for services; 'CalendarName' for calendars). Do NOT include the ID field here - it will be added automatically.\"),\n resource: z.string().describe(\"The eTermin resource type to update. Supported types: 'contact', 'service', 'calendar', 'user', 'voucher'.\"),\n resourceId: z.string().describe(\"The unique identifier of the resource to update. For contacts use the 'cid' value, for services/calendars use the 'id' or resource-specific ID.\"),\n}).describe(\"Request model to update an existing eTermin resource.\\n\\nThe eTermin API uses PUT to the collection endpoint (e.g., /api/contact)\\nwith the resource ID included in the form-urlencoded body.\");\nexport const EterminUpdateResourceOutput = z.object({\n status: z.string().describe(\"HTTP status code returned by the API.\").nullable(),\n message: z.string().describe(\"Status message from the API describing the result.\").nullable(),\n success: z.boolean().describe(\"Whether the update operation was successful.\").nullable(),\n resource_id: z.string().describe(\"The ID of the updated resource, if returned by the API.\").nullable().optional(),\n}).describe(\"Response from updating an eTermin resource.\");\n\nexport const eterminUpdateResource = action(\"ETERMIN_UPDATE_RESOURCE\", {\n slug: \"etermin-update-resource\",\n name: \"Update Resource\",\n description: \"Update an existing eTermin resource (contact, service, calendar, user, or voucher). The eTermin API requires PUT requests to the collection endpoint with form-urlencoded data including the resource ID in the body. ID field names by resource type: - contact: 'cid' - service: 'id' - calendar: 'id' - user: 'id' - voucher: 'id'\",\n input: EterminUpdateResourceInput,\n output: EterminUpdateResourceOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,+QAA+Q;CAChU,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4GAA4G;CAC1I,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iJAAiJ;AACnL,CAAC,CAAC,CAAC,SAAS,+LAA+L;AAC3M,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC9E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CAC5F,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACvF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClH,CAAC,CAAC,CAAC,SAAS,6CAA6C;AAEzD,MAAa,wBAAwBC,eAAAA,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -10,18 +10,13 @@ declare const EterminUpdateResourceOutput: z.ZodObject<{
10
10
  status: z.ZodNullable<z.ZodString>;
11
11
  message: z.ZodNullable<z.ZodString>;
12
12
  success: z.ZodNullable<z.ZodBoolean>;
13
- resource_id: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
13
+ resource_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
14
  }, z.core.$strip>;
15
15
  declare const eterminUpdateResource: import("@keystrokehq/action").WorkflowActionDefinition<{
16
16
  data: Record<string, unknown>;
17
17
  resource: string;
18
18
  resourceId: string;
19
- }, {
20
- status: string | null;
21
- message: string | null;
22
- success: boolean | null;
23
- resource_id?: string | undefined;
24
- }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
19
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
25
20
  //#endregion
26
21
  export { eterminUpdateResource };
27
22
  //# sourceMappingURL=update-resource.d.cts.map
@@ -10,18 +10,13 @@ declare const EterminUpdateResourceOutput: z.ZodObject<{
10
10
  status: z.ZodNullable<z.ZodString>;
11
11
  message: z.ZodNullable<z.ZodString>;
12
12
  success: z.ZodNullable<z.ZodBoolean>;
13
- resource_id: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
13
+ resource_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
14
  }, z.core.$strip>;
15
15
  declare const eterminUpdateResource: import("@keystrokehq/action").WorkflowActionDefinition<{
16
16
  data: Record<string, unknown>;
17
17
  resource: string;
18
18
  resourceId: string;
19
- }, {
20
- status: string | null;
21
- message: string | null;
22
- success: boolean | null;
23
- resource_id?: string | undefined;
24
- }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
19
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
25
20
  //#endregion
26
21
  export { eterminUpdateResource };
27
22
  //# sourceMappingURL=update-resource.d.mts.map
@@ -13,7 +13,7 @@ const eterminUpdateResource = action("ETERMIN_UPDATE_RESOURCE", {
13
13
  status: z.string().describe("HTTP status code returned by the API.").nullable(),
14
14
  message: z.string().describe("Status message from the API describing the result.").nullable(),
15
15
  success: z.boolean().describe("Whether the update operation was successful.").nullable(),
16
- resource_id: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("The ID of the updated resource, if returned by the API.").optional())
16
+ resource_id: z.string().describe("The ID of the updated resource, if returned by the API.").nullable().optional()
17
17
  }).describe("Response from updating an eTermin resource.")
18
18
  });
19
19
  //#endregion
@@ -1 +1 @@
1
- {"version":3,"file":"update-resource.mjs","names":[],"sources":["../../src/actions/update-resource.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminUpdateResourceInput = z.object({\n data: z.record(z.string(), z.unknown()).describe(\"Fields to update on the resource. Field names should match the eTermin API schema (e.g., 'FirstName', 'LastName' for contacts; 'ServiceEN', 'TimeSlotMinutes' for services; 'CalendarName' for calendars). Do NOT include the ID field here - it will be added automatically.\"),\n resource: z.string().describe(\"The eTermin resource type to update. Supported types: 'contact', 'service', 'calendar', 'user', 'voucher'.\"),\n resourceId: z.string().describe(\"The unique identifier of the resource to update. For contacts use the 'cid' value, for services/calendars use the 'id' or resource-specific ID.\"),\n}).describe(\"Request model to update an existing eTermin resource.\\n\\nThe eTermin API uses PUT to the collection endpoint (e.g., /api/contact)\\nwith the resource ID included in the form-urlencoded body.\");\nexport const EterminUpdateResourceOutput = z.object({\n status: z.string().describe(\"HTTP status code returned by the API.\").nullable(),\n message: z.string().describe(\"Status message from the API describing the result.\").nullable(),\n success: z.boolean().describe(\"Whether the update operation was successful.\").nullable(),\n resource_id: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"The ID of the updated resource, if returned by the API.\").optional()),\n}).describe(\"Response from updating an eTermin resource.\");\n\nexport const eterminUpdateResource = action(\"ETERMIN_UPDATE_RESOURCE\", {\n slug: \"etermin-update-resource\",\n name: \"Update Resource\",\n description: \"Update an existing eTermin resource (contact, service, calendar, user, or voucher). The eTermin API requires PUT requests to the collection endpoint with form-urlencoded data including the resource ID in the body. ID field names by resource type: - contact: 'cid' - service: 'id' - calendar: 'id' - user: 'id' - voucher: 'id'\",\n input: EterminUpdateResourceInput,\n output: EterminUpdateResourceOutput,\n});\n"],"mappings":";;AAgBA,MAAa,wBAAwB,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhBwC,EAAE,OAAO;EACjD,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,+QAA+Q;EAChU,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,4GAA4G;EAC1I,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,iJAAiJ;CACnL,CAAC,CAAC,CAAC,SAAS,+LAYH;CACP,QAZyC,EAAE,OAAO;EAClD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;EAC9E,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;EAC5F,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;EACvF,aAAa,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC;CACtK,CAAC,CAAC,CAAC,SAAS,6CAOF;AACV,CAAC"}
1
+ {"version":3,"file":"update-resource.mjs","names":[],"sources":["../../src/actions/update-resource.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminUpdateResourceInput = z.object({\n data: z.record(z.string(), z.unknown()).describe(\"Fields to update on the resource. Field names should match the eTermin API schema (e.g., 'FirstName', 'LastName' for contacts; 'ServiceEN', 'TimeSlotMinutes' for services; 'CalendarName' for calendars). Do NOT include the ID field here - it will be added automatically.\"),\n resource: z.string().describe(\"The eTermin resource type to update. Supported types: 'contact', 'service', 'calendar', 'user', 'voucher'.\"),\n resourceId: z.string().describe(\"The unique identifier of the resource to update. For contacts use the 'cid' value, for services/calendars use the 'id' or resource-specific ID.\"),\n}).describe(\"Request model to update an existing eTermin resource.\\n\\nThe eTermin API uses PUT to the collection endpoint (e.g., /api/contact)\\nwith the resource ID included in the form-urlencoded body.\");\nexport const EterminUpdateResourceOutput = z.object({\n status: z.string().describe(\"HTTP status code returned by the API.\").nullable(),\n message: z.string().describe(\"Status message from the API describing the result.\").nullable(),\n success: z.boolean().describe(\"Whether the update operation was successful.\").nullable(),\n resource_id: z.string().describe(\"The ID of the updated resource, if returned by the API.\").nullable().optional(),\n}).describe(\"Response from updating an eTermin resource.\");\n\nexport const eterminUpdateResource = action(\"ETERMIN_UPDATE_RESOURCE\", {\n slug: \"etermin-update-resource\",\n name: \"Update Resource\",\n description: \"Update an existing eTermin resource (contact, service, calendar, user, or voucher). The eTermin API requires PUT requests to the collection endpoint with form-urlencoded data including the resource ID in the body. ID field names by resource type: - contact: 'cid' - service: 'id' - calendar: 'id' - user: 'id' - voucher: 'id'\",\n input: EterminUpdateResourceInput,\n output: EterminUpdateResourceOutput,\n});\n"],"mappings":";;AAgBA,MAAa,wBAAwB,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhBwC,EAAE,OAAO;EACjD,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,+QAA+Q;EAChU,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,4GAA4G;EAC1I,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,iJAAiJ;CACnL,CAAC,CAAC,CAAC,SAAS,+LAYH;CACP,QAZyC,EAAE,OAAO;EAClD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;EAC9E,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;EAC5F,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;EACvF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClH,CAAC,CAAC,CAAC,SAAS,6CAOF;AACV,CAAC"}
@@ -58,10 +58,7 @@ declare const eterminUpdateServiceGroup: import("@keystrokehq/action").WorkflowA
58
58
  addtextdisplaymode?: number | undefined;
59
59
  showinemailsummary?: boolean | undefined;
60
60
  showwhencertainanswerselected?: string | undefined;
61
- }, {
62
- status: number | null;
63
- statusmsg: string | null;
64
- }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
61
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
65
62
  //#endregion
66
63
  export { eterminUpdateServiceGroup };
67
64
  //# sourceMappingURL=update-service-group.d.cts.map
@@ -58,10 +58,7 @@ declare const eterminUpdateServiceGroup: import("@keystrokehq/action").WorkflowA
58
58
  addtextdisplaymode?: number | undefined;
59
59
  showinemailsummary?: boolean | undefined;
60
60
  showwhencertainanswerselected?: string | undefined;
61
- }, {
62
- status: number | null;
63
- statusmsg: string | null;
64
- }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
61
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
65
62
  //#endregion
66
63
  export { eterminUpdateServiceGroup };
67
64
  //# sourceMappingURL=update-service-group.d.mts.map
@@ -19,9 +19,7 @@ declare const eterminUpdateService: import("@keystrokehq/action").WorkflowAction
19
19
  duration?: number | undefined;
20
20
  description?: string | undefined;
21
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]>;
22
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
25
23
  //#endregion
26
24
  export { eterminUpdateService };
27
25
  //# 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,EAAyB,CAAA,CAAA,SAAA;;;;;;;;cAQzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;cAI1B,oBAAA,gCAAoB,wBAAA;;;;;;;;WAM/B,MAAA;AAAA"}
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"}
@@ -19,9 +19,7 @@ declare const eterminUpdateService: import("@keystrokehq/action").WorkflowAction
19
19
  duration?: number | undefined;
20
20
  description?: string | undefined;
21
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]>;
22
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
25
23
  //#endregion
26
24
  export { eterminUpdateService };
27
25
  //# 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,EAAyB,CAAA,CAAA,SAAA;;;;;;;;cAQzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;cAI1B,oBAAA,gCAAoB,wBAAA;;;;;;;;WAM/B,MAAA;AAAA"}
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"}
@@ -19,7 +19,7 @@ const EterminUpdateSyncAppointmentInput = zod.z.object({
19
19
  const EterminUpdateSyncAppointmentOutput = zod.z.object({
20
20
  message: zod.z.string().describe("Status message describing the result of the operation").nullable(),
21
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())
22
+ records_updated: zod.z.number().int().describe("Number of appointment records that were updated").nullable().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.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
+ {"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.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,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,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"}
@@ -19,7 +19,7 @@ declare const EterminUpdateSyncAppointmentInput: z.ZodObject<{
19
19
  declare const EterminUpdateSyncAppointmentOutput: z.ZodObject<{
20
20
  message: z.ZodNullable<z.ZodString>;
21
21
  success: z.ZodNullable<z.ZodBoolean>;
22
- records_updated: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
22
+ records_updated: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
23
23
  }, z.core.$strip>;
24
24
  declare const eterminUpdateSyncAppointment: import("@keystrokehq/action").WorkflowActionDefinition<{
25
25
  end: string;
@@ -35,11 +35,7 @@ declare const eterminUpdateSyncAppointment: import("@keystrokehq/action").Workfl
35
35
  sequence?: string | undefined;
36
36
  recurrencerule?: string | undefined;
37
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]>;
38
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
43
39
  //#endregion
44
40
  export { eterminUpdateSyncAppointment };
45
41
  //# sourceMappingURL=update-sync-appointment.d.cts.map
@@ -19,7 +19,7 @@ declare const EterminUpdateSyncAppointmentInput: z.ZodObject<{
19
19
  declare const EterminUpdateSyncAppointmentOutput: z.ZodObject<{
20
20
  message: z.ZodNullable<z.ZodString>;
21
21
  success: z.ZodNullable<z.ZodBoolean>;
22
- records_updated: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
22
+ records_updated: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
23
23
  }, z.core.$strip>;
24
24
  declare const eterminUpdateSyncAppointment: import("@keystrokehq/action").WorkflowActionDefinition<{
25
25
  end: string;
@@ -35,11 +35,7 @@ declare const eterminUpdateSyncAppointment: import("@keystrokehq/action").Workfl
35
35
  sequence?: string | undefined;
36
36
  recurrencerule?: string | undefined;
37
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]>;
38
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
43
39
  //#endregion
44
40
  export { eterminUpdateSyncAppointment };
45
41
  //# sourceMappingURL=update-sync-appointment.d.mts.map
@@ -22,7 +22,7 @@ const eterminUpdateSyncAppointment = action("ETERMIN_UPDATE_SYNC_APPOINTMENT", {
22
22
  output: z.object({
23
23
  message: z.string().describe("Status message describing the result of the operation").nullable(),
24
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())
25
+ records_updated: z.number().int().describe("Number of appointment records that were updated").nullable().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.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"}
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.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,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,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpH,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.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())
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()
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.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
+ {"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.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,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,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"}
@@ -16,8 +16,8 @@ declare const EterminUpdateUsermappingInput: z.ZodObject<{
16
16
  servicegroupid: z.ZodOptional<z.ZodString>;
17
17
  }, z.core.$strip>;
18
18
  declare const EterminUpdateUsermappingOutput: z.ZodObject<{
19
- status: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
20
- statusmsg: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
19
+ status: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
20
+ statusmsg: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
21
  }, z.core.$strip>;
22
22
  declare const eterminUpdateUsermapping: import("@keystrokehq/action").WorkflowActionDefinition<{
23
23
  id: number;
@@ -27,10 +27,7 @@ declare const eterminUpdateUsermapping: import("@keystrokehq/action").WorkflowAc
27
27
  valuefrom?: number | undefined;
28
28
  calendarid?: string | undefined;
29
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]>;
30
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
34
31
  //#endregion
35
32
  export { eterminUpdateUsermapping };
36
33
  //# sourceMappingURL=update-usermapping.d.cts.map
@@ -16,8 +16,8 @@ declare const EterminUpdateUsermappingInput: z.ZodObject<{
16
16
  servicegroupid: z.ZodOptional<z.ZodString>;
17
17
  }, z.core.$strip>;
18
18
  declare const EterminUpdateUsermappingOutput: z.ZodObject<{
19
- status: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
20
- statusmsg: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
19
+ status: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
20
+ statusmsg: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
21
  }, z.core.$strip>;
22
22
  declare const eterminUpdateUsermapping: import("@keystrokehq/action").WorkflowActionDefinition<{
23
23
  id: number;
@@ -27,10 +27,7 @@ declare const eterminUpdateUsermapping: import("@keystrokehq/action").WorkflowAc
27
27
  valuefrom?: number | undefined;
28
28
  calendarid?: string | undefined;
29
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]>;
30
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
34
31
  //#endregion
35
32
  export { eterminUpdateUsermapping };
36
33
  //# sourceMappingURL=update-usermapping.d.mts.map
@@ -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.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())
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()
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.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"}
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.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,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,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"}
@@ -14,12 +14,7 @@ declare const EterminUpdateVoucherOutput: z.ZodObject<{
14
14
  declare const eterminUpdateVoucher: import("@keystrokehq/action").WorkflowActionDefinition<{
15
15
  data: Record<string, never>;
16
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]>;
17
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
23
18
  //#endregion
24
19
  export { eterminUpdateVoucher };
25
20
  //# sourceMappingURL=update-voucher.d.cts.map
@@ -14,12 +14,7 @@ declare const EterminUpdateVoucherOutput: z.ZodObject<{
14
14
  declare const eterminUpdateVoucher: import("@keystrokehq/action").WorkflowActionDefinition<{
15
15
  data: Record<string, never>;
16
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]>;
17
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
23
18
  //#endregion
24
19
  export { eterminUpdateVoucher };
25
20
  //# sourceMappingURL=update-voucher.d.mts.map
@@ -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.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Status message or error description when applicable.").optional()),
9
+ message: zod.z.string().describe("Status message or error description when applicable.").nullable().optional(),
10
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())
11
+ updated_webhook: zod.z.object({}).describe("The updated webhook data returned by the API on success.").nullable().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",
@@ -1 +1 @@
1
- {"version":3,"file":"update-webhook.cjs","names":["z","action"],"sources":["../../src/actions/update-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminUpdateWebhookInput = z.object({\n data: z.object({}).describe(\"Payload containing webhook fields to update. Common fields include: 'Email' (notification email), 'WebPush' (boolean to enable/disable), 'url' (webhook endpoint URL), 'events' (list of event types like 'appointment.created', 'appointment.modified', 'appointment.deleted').\"),\n webhookId: z.string().describe(\"Unique identifier (UUID) of the webhook to update. Obtain this ID from the 'List Webhooks' action.\"),\n}).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.\");\nexport const EterminUpdateWebhookOutput = z.object({\n message: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Status message or error description when applicable.\").optional()),\n success: z.boolean().describe(\"Whether the update was successful. False indicates the API does not support webhook updates for this tenant.\").nullable(),\n updated_webhook: z.preprocess((value) => (value === null ? undefined : value), z.object({}).describe(\"The updated webhook data returned by the API on success.\").optional()),\n}).describe(\"Response model for webhook update operation.\");\n\nexport const eterminUpdateWebhook = action(\"ETERMIN_UPDATE_WEBHOOK\", {\n slug: \"etermin-update-webhook\",\n name: \"Update Webhook\",\n description: \"Update an existing webhook configuration in eTermin. Use this action to modify webhook settings such as the notification email, enable/disable web push notifications, or update the webhook endpoint URL. Note: eTermin webhook management is often only available through the web UI (Configuration -> Integration - API -> API tab). If the API does not support updates for your tenant, this action will return success=False with an informative message. Prerequisites: Use 'List Webhooks' to obtain a valid webhook_id.\",\n input: EterminUpdateWebhookInput,\n output: EterminUpdateWebhookOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,kRAAkR;CAC9S,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oGAAoG;AACrI,CAAC,CAAC,CAAC,SAAS,uSAAuS;AACnT,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,SAASA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC;CAC7J,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,8GAA8G,CAAC,CAAC,SAAS;CACvJ,iBAAiBA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC;AAC7K,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAE1D,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"update-webhook.cjs","names":["z","action"],"sources":["../../src/actions/update-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminUpdateWebhookInput = z.object({\n data: z.object({}).describe(\"Payload containing webhook fields to update. Common fields include: 'Email' (notification email), 'WebPush' (boolean to enable/disable), 'url' (webhook endpoint URL), 'events' (list of event types like 'appointment.created', 'appointment.modified', 'appointment.deleted').\"),\n webhookId: z.string().describe(\"Unique identifier (UUID) of the webhook to update. Obtain this ID from the 'List Webhooks' action.\"),\n}).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.\");\nexport const EterminUpdateWebhookOutput = z.object({\n message: z.string().describe(\"Status message or error description when applicable.\").nullable().optional(),\n success: z.boolean().describe(\"Whether the update was successful. False indicates the API does not support webhook updates for this tenant.\").nullable(),\n updated_webhook: z.object({}).describe(\"The updated webhook data returned by the API on success.\").nullable().optional(),\n}).describe(\"Response model for webhook update operation.\");\n\nexport const eterminUpdateWebhook = action(\"ETERMIN_UPDATE_WEBHOOK\", {\n slug: \"etermin-update-webhook\",\n name: \"Update Webhook\",\n description: \"Update an existing webhook configuration in eTermin. Use this action to modify webhook settings such as the notification email, enable/disable web push notifications, or update the webhook endpoint URL. Note: eTermin webhook management is often only available through the web UI (Configuration -> Integration - API -> API tab). If the API does not support updates for your tenant, this action will return success=False with an informative message. Prerequisites: Use 'List Webhooks' to obtain a valid webhook_id.\",\n input: EterminUpdateWebhookInput,\n output: EterminUpdateWebhookOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,kRAAkR;CAC9S,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oGAAoG;AACrI,CAAC,CAAC,CAAC,SAAS,uSAAuS;AACnT,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,8GAA8G,CAAC,CAAC,SAAS;CACvJ,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzH,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAE1D,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -6,18 +6,14 @@ declare const EterminUpdateWebhookInput: z.ZodObject<{
6
6
  webhookId: z.ZodString;
7
7
  }, z.core.$strip>;
8
8
  declare const EterminUpdateWebhookOutput: z.ZodObject<{
9
- message: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
9
+ message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10
10
  success: z.ZodNullable<z.ZodBoolean>;
11
- updated_webhook: z.ZodPreprocess<z.ZodOptional<z.ZodObject<{}, z.core.$strip>>>;
11
+ updated_webhook: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
12
12
  }, z.core.$strip>;
13
13
  declare const eterminUpdateWebhook: import("@keystrokehq/action").WorkflowActionDefinition<{
14
14
  data: Record<string, never>;
15
15
  webhookId: string;
16
- }, {
17
- success: boolean | null;
18
- message?: string | undefined;
19
- updated_webhook?: Record<string, never> | undefined;
20
- }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
16
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
21
17
  //#endregion
22
18
  export { eterminUpdateWebhook };
23
19
  //# sourceMappingURL=update-webhook.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-webhook.d.cts","names":[],"sources":["../../src/actions/update-webhook.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;cAIzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;cAM1B,oBAAA,gCAAoB,wBAAA;QAM/B,MAAA;;;;;oBAAA,MAAA;AAAA"}
1
+ {"version":3,"file":"update-webhook.d.cts","names":[],"sources":["../../src/actions/update-webhook.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;cAIzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;cAM1B,oBAAA,gCAAoB,wBAAA;QAM/B,MAAA"}
@@ -6,18 +6,14 @@ declare const EterminUpdateWebhookInput: z.ZodObject<{
6
6
  webhookId: z.ZodString;
7
7
  }, z.core.$strip>;
8
8
  declare const EterminUpdateWebhookOutput: z.ZodObject<{
9
- message: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
9
+ message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10
10
  success: z.ZodNullable<z.ZodBoolean>;
11
- updated_webhook: z.ZodPreprocess<z.ZodOptional<z.ZodObject<{}, z.core.$strip>>>;
11
+ updated_webhook: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
12
12
  }, z.core.$strip>;
13
13
  declare const eterminUpdateWebhook: import("@keystrokehq/action").WorkflowActionDefinition<{
14
14
  data: Record<string, never>;
15
15
  webhookId: string;
16
- }, {
17
- success: boolean | null;
18
- message?: string | undefined;
19
- updated_webhook?: Record<string, never> | undefined;
20
- }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
16
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
21
17
  //#endregion
22
18
  export { eterminUpdateWebhook };
23
19
  //# sourceMappingURL=update-webhook.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-webhook.d.mts","names":[],"sources":["../../src/actions/update-webhook.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;cAIzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;cAM1B,oBAAA,gCAAoB,wBAAA;QAM/B,MAAA;;;;;oBAAA,MAAA;AAAA"}
1
+ {"version":3,"file":"update-webhook.d.mts","names":[],"sources":["../../src/actions/update-webhook.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;cAIzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;cAM1B,oBAAA,gCAAoB,wBAAA;QAM/B,MAAA"}
@@ -9,9 +9,9 @@ const eterminUpdateWebhook = action("ETERMIN_UPDATE_WEBHOOK", {
9
9
  webhookId: z.string().describe("Unique identifier (UUID) of the webhook to update. Obtain this ID from the 'List Webhooks' action.")
10
10
  }).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."),
11
11
  output: z.object({
12
- message: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Status message or error description when applicable.").optional()),
12
+ message: z.string().describe("Status message or error description when applicable.").nullable().optional(),
13
13
  success: z.boolean().describe("Whether the update was successful. False indicates the API does not support webhook updates for this tenant.").nullable(),
14
- updated_webhook: z.preprocess((value) => value === null ? void 0 : value, z.object({}).describe("The updated webhook data returned by the API on success.").optional())
14
+ updated_webhook: z.object({}).describe("The updated webhook data returned by the API on success.").nullable().optional()
15
15
  }).describe("Response model for webhook update operation.")
16
16
  });
17
17
  //#endregion
@@ -1 +1 @@
1
- {"version":3,"file":"update-webhook.mjs","names":[],"sources":["../../src/actions/update-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminUpdateWebhookInput = z.object({\n data: z.object({}).describe(\"Payload containing webhook fields to update. Common fields include: 'Email' (notification email), 'WebPush' (boolean to enable/disable), 'url' (webhook endpoint URL), 'events' (list of event types like 'appointment.created', 'appointment.modified', 'appointment.deleted').\"),\n webhookId: z.string().describe(\"Unique identifier (UUID) of the webhook to update. Obtain this ID from the 'List Webhooks' action.\"),\n}).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.\");\nexport const EterminUpdateWebhookOutput = z.object({\n message: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Status message or error description when applicable.\").optional()),\n success: z.boolean().describe(\"Whether the update was successful. False indicates the API does not support webhook updates for this tenant.\").nullable(),\n updated_webhook: z.preprocess((value) => (value === null ? undefined : value), z.object({}).describe(\"The updated webhook data returned by the API on success.\").optional()),\n}).describe(\"Response model for webhook update operation.\");\n\nexport const eterminUpdateWebhook = action(\"ETERMIN_UPDATE_WEBHOOK\", {\n slug: \"etermin-update-webhook\",\n name: \"Update Webhook\",\n description: \"Update an existing webhook configuration in eTermin. Use this action to modify webhook settings such as the notification email, enable/disable web push notifications, or update the webhook endpoint URL. Note: eTermin webhook management is often only available through the web UI (Configuration -> Integration - API -> API tab). If the API does not support updates for your tenant, this action will return success=False with an informative message. Prerequisites: Use 'List Webhooks' to obtain a valid webhook_id.\",\n input: EterminUpdateWebhookInput,\n output: EterminUpdateWebhookOutput,\n});\n"],"mappings":";;AAcA,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAduC,EAAE,OAAO;EAChD,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,kRAAkR;EAC9S,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,oGAAoG;CACrI,CAAC,CAAC,CAAC,SAAS,uSAWH;CACP,QAXwC,EAAE,OAAO;EACjD,SAAS,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC;EAC7J,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,8GAA8G,CAAC,CAAC,SAAS;EACvJ,iBAAiB,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC;CAC7K,CAAC,CAAC,CAAC,SAAS,8CAOF;AACV,CAAC"}
1
+ {"version":3,"file":"update-webhook.mjs","names":[],"sources":["../../src/actions/update-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminUpdateWebhookInput = z.object({\n data: z.object({}).describe(\"Payload containing webhook fields to update. Common fields include: 'Email' (notification email), 'WebPush' (boolean to enable/disable), 'url' (webhook endpoint URL), 'events' (list of event types like 'appointment.created', 'appointment.modified', 'appointment.deleted').\"),\n webhookId: z.string().describe(\"Unique identifier (UUID) of the webhook to update. Obtain this ID from the 'List Webhooks' action.\"),\n}).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.\");\nexport const EterminUpdateWebhookOutput = z.object({\n message: z.string().describe(\"Status message or error description when applicable.\").nullable().optional(),\n success: z.boolean().describe(\"Whether the update was successful. False indicates the API does not support webhook updates for this tenant.\").nullable(),\n updated_webhook: z.object({}).describe(\"The updated webhook data returned by the API on success.\").nullable().optional(),\n}).describe(\"Response model for webhook update operation.\");\n\nexport const eterminUpdateWebhook = action(\"ETERMIN_UPDATE_WEBHOOK\", {\n slug: \"etermin-update-webhook\",\n name: \"Update Webhook\",\n description: \"Update an existing webhook configuration in eTermin. Use this action to modify webhook settings such as the notification email, enable/disable web push notifications, or update the webhook endpoint URL. Note: eTermin webhook management is often only available through the web UI (Configuration -> Integration - API -> API tab). If the API does not support updates for your tenant, this action will return success=False with an informative message. Prerequisites: Use 'List Webhooks' to obtain a valid webhook_id.\",\n input: EterminUpdateWebhookInput,\n output: EterminUpdateWebhookOutput,\n});\n"],"mappings":";;AAcA,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAduC,EAAE,OAAO;EAChD,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,kRAAkR;EAC9S,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,oGAAoG;CACrI,CAAC,CAAC,CAAC,SAAS,uSAWH;CACP,QAXwC,EAAE,OAAO;EACjD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzG,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,8GAA8G,CAAC,CAAC,SAAS;EACvJ,iBAAiB,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzH,CAAC,CAAC,CAAC,SAAS,8CAOF;AACV,CAAC"}
@@ -18,8 +18,8 @@ const EterminUpdateWorkingTimesDateInput = zod.z.object({
18
18
  allserviceidsrequired: zod.z.number().int().describe("Defines how the validity of the services are checked. 0 = one service needs to be selected, 1 = all services need to be selected exclusively, 2 = all services need to be selected, 3 = one service needs to be selected exclusively").optional()
19
19
  }).describe("Request model for updating working times date in eTermin.");
20
20
  const EterminUpdateWorkingTimesDateOutput = zod.z.object({
21
- status: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.number().describe("HTTP status code of the response").optional()),
22
- statusmsg: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Status message from the API").optional())
21
+ status: zod.z.number().describe("HTTP status code of the response").nullable().optional(),
22
+ statusmsg: zod.z.string().describe("Status message from the API").nullable().optional()
23
23
  }).describe("Response model for updating working times date.");
24
24
  const eterminUpdateWorkingTimesDate = require_action.action("ETERMIN_UPDATE_WORKING_TIMES_DATE", {
25
25
  slug: "etermin-update-working-times-date",
@@ -1 +1 @@
1
- {"version":3,"file":"update-working-times-date.cjs","names":["z","action"],"sources":["../../src/actions/update-working-times-date.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminUpdateWorkingTimesDateInput = z.object({\n id: z.number().int().describe(\"ID of the working time that needs to be changed\"),\n end: z.string().describe(\"End date/time of working time in format YYYY-MM-DD HH:MM\"),\n start: z.string().describe(\"Start date/time of working time in format YYYY-MM-DD HH:MM\"),\n nrapps: z.number().int().describe(\"Amount of appointments that are bookable in this working slot. (-1 = unlimited)\").optional(),\n oneoff: z.boolean().describe(\"True if this timeslot needs a specific link (requires exactly one service for the validwithserviceid parameter)\").optional(),\n reason: z.string().describe(\"Reason of the specific working time (this is only visible internally)\").optional(),\n slottype: z.number().int().describe(\"0 if time slots should be valid for internal and external (online booked) appointments. 1 if timeslots are only valid for internal (manually entered) appointments\").optional(),\n calendarid: z.number().int().describe(\"ID of the calendar\"),\n locationid: z.number().int().describe(\"ID of the location for this working slot if locations are used in working times\").optional(),\n oneoffcode: z.string().describe(\"Specific code that is used for the oneoff-link if oneoff is true\").optional(),\n waitinglist: z.boolean().describe(\"True if this timeslot should be filled with appointments from the waitinglist\").optional(),\n overwriteday: z.boolean().describe(\"True if the workingtime for this day should be disabled\").optional(),\n validwithserviceid: z.string().describe(\"List of services that work with this working slot\").optional(),\n allserviceidsrequired: z.number().int().describe(\"Defines how the validity of the services are checked. 0 = one service needs to be selected, 1 = all services need to be selected exclusively, 2 = all services need to be selected, 3 = one service needs to be selected exclusively\").optional(),\n}).describe(\"Request model for updating working times date in eTermin.\");\nexport const EterminUpdateWorkingTimesDateOutput = z.object({\n status: z.preprocess((value) => (value === null ? undefined : value), z.number().describe(\"HTTP status code of the response\").optional()),\n statusmsg: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Status message from the API\").optional()),\n}).describe(\"Response model for updating working times date.\");\n\nexport const eterminUpdateWorkingTimesDate = action(\"ETERMIN_UPDATE_WORKING_TIMES_DATE\", {\n slug: \"etermin-update-working-times-date\",\n name: \"Update Working Times Date\",\n description: \"Tool to update working times date for a calendar. Use when modifying existing working time slots for appointments.\",\n input: EterminUpdateWorkingTimesDateInput,\n output: EterminUpdateWorkingTimesDateOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD;CAC/E,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D;CACnF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D;CACvF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;CAC9H,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,iHAAiH,CAAC,CAAC,SAAS;CACzJ,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;CAC9G,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oKAAoK,CAAC,CAAC,SAAS;CACnN,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oBAAoB;CAC1D,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;CAClI,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;CAC7G,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;CAC5H,cAAcA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CACvG,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CACtG,uBAAuBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sOAAsO,CAAC,CAAC,SAAS;AACpS,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAa,sCAAsCA,IAAAA,EAAE,OAAO;CAC1D,QAAQA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC;CACxI,WAAWA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC;AACxI,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAE7D,MAAa,gCAAgCC,eAAAA,OAAO,qCAAqC;CACvF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"update-working-times-date.cjs","names":["z","action"],"sources":["../../src/actions/update-working-times-date.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminUpdateWorkingTimesDateInput = z.object({\n id: z.number().int().describe(\"ID of the working time that needs to be changed\"),\n end: z.string().describe(\"End date/time of working time in format YYYY-MM-DD HH:MM\"),\n start: z.string().describe(\"Start date/time of working time in format YYYY-MM-DD HH:MM\"),\n nrapps: z.number().int().describe(\"Amount of appointments that are bookable in this working slot. (-1 = unlimited)\").optional(),\n oneoff: z.boolean().describe(\"True if this timeslot needs a specific link (requires exactly one service for the validwithserviceid parameter)\").optional(),\n reason: z.string().describe(\"Reason of the specific working time (this is only visible internally)\").optional(),\n slottype: z.number().int().describe(\"0 if time slots should be valid for internal and external (online booked) appointments. 1 if timeslots are only valid for internal (manually entered) appointments\").optional(),\n calendarid: z.number().int().describe(\"ID of the calendar\"),\n locationid: z.number().int().describe(\"ID of the location for this working slot if locations are used in working times\").optional(),\n oneoffcode: z.string().describe(\"Specific code that is used for the oneoff-link if oneoff is true\").optional(),\n waitinglist: z.boolean().describe(\"True if this timeslot should be filled with appointments from the waitinglist\").optional(),\n overwriteday: z.boolean().describe(\"True if the workingtime for this day should be disabled\").optional(),\n validwithserviceid: z.string().describe(\"List of services that work with this working slot\").optional(),\n allserviceidsrequired: z.number().int().describe(\"Defines how the validity of the services are checked. 0 = one service needs to be selected, 1 = all services need to be selected exclusively, 2 = all services need to be selected, 3 = one service needs to be selected exclusively\").optional(),\n}).describe(\"Request model for updating working times date in eTermin.\");\nexport const EterminUpdateWorkingTimesDateOutput = z.object({\n status: z.number().describe(\"HTTP status code of the response\").nullable().optional(),\n statusmsg: z.string().describe(\"Status message from the API\").nullable().optional(),\n}).describe(\"Response model for updating working times date.\");\n\nexport const eterminUpdateWorkingTimesDate = action(\"ETERMIN_UPDATE_WORKING_TIMES_DATE\", {\n slug: \"etermin-update-working-times-date\",\n name: \"Update Working Times Date\",\n description: \"Tool to update working times date for a calendar. Use when modifying existing working time slots for appointments.\",\n input: EterminUpdateWorkingTimesDateInput,\n output: EterminUpdateWorkingTimesDateOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD;CAC/E,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D;CACnF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D;CACvF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;CAC9H,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,iHAAiH,CAAC,CAAC,SAAS;CACzJ,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;CAC9G,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oKAAoK,CAAC,CAAC,SAAS;CACnN,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oBAAoB;CAC1D,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;CAClI,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;CAC7G,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;CAC5H,cAAcA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CACvG,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CACtG,uBAAuBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sOAAsO,CAAC,CAAC,SAAS;AACpS,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAa,sCAAsCA,IAAAA,EAAE,OAAO;CAC1D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpF,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAE7D,MAAa,gCAAgCC,eAAAA,OAAO,qCAAqC;CACvF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}