@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-anchortime-by-date.cjs","names":["z","action"],"sources":["../../src/actions/update-anchortime-by-date.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminUpdateAnchortimeByDateInput = z.object({\n id: z.number().int().describe(\"ID of the anchortime to update.\"),\n reason: z.string().describe(\"Reason why this anchortime is created or updated.\").optional(),\n startdate: z.string().describe(\"Date and time of the anchortime. Format: yyyy-mm-dd HH:MM e.g. 2017-10-24 18:00\"),\n calendarid: z.number().int().describe(\"ID of the calendar. Use the 'Calendar - Get calendar details' function to get a list with all available calendars.\"),\n ignoreonceappbooked: z.boolean().describe(\"If true, the anchortime will be ignored once an appointment is booked this day.\"),\n}).describe(\"Request model for updating anchortimes by date in eTermin.\");\nexport const EterminUpdateAnchortimeByDateOutput = z.object({\n message: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Response message from the API, typically indicates number of records updated.\").optional()),\n success: z.boolean().describe(\"Indicates whether the update operation was successful.\").nullable(),\n}).describe(\"Response model for updating anchortimes by date.\");\n\nexport const eterminUpdateAnchortimeByDate = action(\"ETERMIN_UPDATE_ANCHORTIME_BY_DATE\", {\n slug: \"etermin-update-anchortime-by-date\",\n name: \"Update Anchortime By Date\",\n description: \"Tool to update anchortimes by date in eTermin. Use when you need to modify an existing anchortime's schedule. Anchortimes define recurring time slots for appointments on specific dates.\",\n input: EterminUpdateAnchortimeByDateInput,\n output: EterminUpdateAnchortimeByDateOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC;CAC/D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAC1F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF;CAChH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oHAAoH;CAC1J,qBAAqBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,iFAAiF;AAC7H,CAAC,CAAC,CAAC,SAAS,4DAA4D;AACxE,MAAa,sCAAsCA,IAAAA,EAAE,OAAO;CAC1D,SAASA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS,CAAC;CACtL,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;AACnG,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAE9D,MAAa,gCAAgCC,eAAAA,OAAO,qCAAqC;CACvF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"update-anchortime-by-date.cjs","names":["z","action"],"sources":["../../src/actions/update-anchortime-by-date.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminUpdateAnchortimeByDateInput = z.object({\n id: z.number().int().describe(\"ID of the anchortime to update.\"),\n reason: z.string().describe(\"Reason why this anchortime is created or updated.\").optional(),\n startdate: z.string().describe(\"Date and time of the anchortime. Format: yyyy-mm-dd HH:MM e.g. 2017-10-24 18:00\"),\n calendarid: z.number().int().describe(\"ID of the calendar. Use the 'Calendar - Get calendar details' function to get a list with all available calendars.\"),\n ignoreonceappbooked: z.boolean().describe(\"If true, the anchortime will be ignored once an appointment is booked this day.\"),\n}).describe(\"Request model for updating anchortimes by date in eTermin.\");\nexport const EterminUpdateAnchortimeByDateOutput = z.object({\n message: z.string().describe(\"Response message from the API, typically indicates number of records updated.\").nullable().optional(),\n success: z.boolean().describe(\"Indicates whether the update operation was successful.\").nullable(),\n}).describe(\"Response model for updating anchortimes by date.\");\n\nexport const eterminUpdateAnchortimeByDate = action(\"ETERMIN_UPDATE_ANCHORTIME_BY_DATE\", {\n slug: \"etermin-update-anchortime-by-date\",\n name: \"Update Anchortime By Date\",\n description: \"Tool to update anchortimes by date in eTermin. Use when you need to modify an existing anchortime's schedule. Anchortimes define recurring time slots for appointments on specific dates.\",\n input: EterminUpdateAnchortimeByDateInput,\n output: EterminUpdateAnchortimeByDateOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC;CAC/D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAC1F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF;CAChH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oHAAoH;CAC1J,qBAAqBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,iFAAiF;AAC7H,CAAC,CAAC,CAAC,SAAS,4DAA4D;AACxE,MAAa,sCAAsCA,IAAAA,EAAE,OAAO;CAC1D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClI,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;AACnG,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAE9D,MAAa,gCAAgCC,eAAAA,OAAO,qCAAqC;CACvF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -9,7 +9,7 @@ declare const EterminUpdateAnchortimeByDateInput: z.ZodObject<{
9
9
  ignoreonceappbooked: z.ZodBoolean;
10
10
  }, z.core.$strip>;
11
11
  declare const EterminUpdateAnchortimeByDateOutput: z.ZodObject<{
12
- message: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
12
+ message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
13
  success: z.ZodNullable<z.ZodBoolean>;
14
14
  }, z.core.$strip>;
15
15
  declare const eterminUpdateAnchortimeByDate: import("@keystrokehq/action").WorkflowActionDefinition<{
@@ -18,10 +18,7 @@ declare const eterminUpdateAnchortimeByDate: import("@keystrokehq/action").Workf
18
18
  calendarid: number;
19
19
  ignoreonceappbooked: boolean;
20
20
  reason?: string | undefined;
21
- }, {
22
- success: boolean | null;
23
- message?: string | undefined;
24
- }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
21
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
25
22
  //#endregion
26
23
  export { eterminUpdateAnchortimeByDate };
27
24
  //# sourceMappingURL=update-anchortime-by-date.d.cts.map
@@ -9,7 +9,7 @@ declare const EterminUpdateAnchortimeByDateInput: z.ZodObject<{
9
9
  ignoreonceappbooked: z.ZodBoolean;
10
10
  }, z.core.$strip>;
11
11
  declare const EterminUpdateAnchortimeByDateOutput: z.ZodObject<{
12
- message: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
12
+ message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
13
  success: z.ZodNullable<z.ZodBoolean>;
14
14
  }, z.core.$strip>;
15
15
  declare const eterminUpdateAnchortimeByDate: import("@keystrokehq/action").WorkflowActionDefinition<{
@@ -18,10 +18,7 @@ declare const eterminUpdateAnchortimeByDate: import("@keystrokehq/action").Workf
18
18
  calendarid: number;
19
19
  ignoreonceappbooked: boolean;
20
20
  reason?: string | undefined;
21
- }, {
22
- success: boolean | null;
23
- message?: string | undefined;
24
- }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
21
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
25
22
  //#endregion
26
23
  export { eterminUpdateAnchortimeByDate };
27
24
  //# sourceMappingURL=update-anchortime-by-date.d.mts.map
@@ -12,7 +12,7 @@ const eterminUpdateAnchortimeByDate = action("ETERMIN_UPDATE_ANCHORTIME_BY_DATE"
12
12
  ignoreonceappbooked: z.boolean().describe("If true, the anchortime will be ignored once an appointment is booked this day.")
13
13
  }).describe("Request model for updating anchortimes by date in eTermin."),
14
14
  output: z.object({
15
- message: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Response message from the API, typically indicates number of records updated.").optional()),
15
+ message: z.string().describe("Response message from the API, typically indicates number of records updated.").nullable().optional(),
16
16
  success: z.boolean().describe("Indicates whether the update operation was successful.").nullable()
17
17
  }).describe("Response model for updating anchortimes by date.")
18
18
  });
@@ -1 +1 @@
1
- {"version":3,"file":"update-anchortime-by-date.mjs","names":[],"sources":["../../src/actions/update-anchortime-by-date.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminUpdateAnchortimeByDateInput = z.object({\n id: z.number().int().describe(\"ID of the anchortime to update.\"),\n reason: z.string().describe(\"Reason why this anchortime is created or updated.\").optional(),\n startdate: z.string().describe(\"Date and time of the anchortime. Format: yyyy-mm-dd HH:MM e.g. 2017-10-24 18:00\"),\n calendarid: z.number().int().describe(\"ID of the calendar. Use the 'Calendar - Get calendar details' function to get a list with all available calendars.\"),\n ignoreonceappbooked: z.boolean().describe(\"If true, the anchortime will be ignored once an appointment is booked this day.\"),\n}).describe(\"Request model for updating anchortimes by date in eTermin.\");\nexport const EterminUpdateAnchortimeByDateOutput = z.object({\n message: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Response message from the API, typically indicates number of records updated.\").optional()),\n success: z.boolean().describe(\"Indicates whether the update operation was successful.\").nullable(),\n}).describe(\"Response model for updating anchortimes by date.\");\n\nexport const eterminUpdateAnchortimeByDate = action(\"ETERMIN_UPDATE_ANCHORTIME_BY_DATE\", {\n slug: \"etermin-update-anchortime-by-date\",\n name: \"Update Anchortime By Date\",\n description: \"Tool to update anchortimes by date in eTermin. Use when you need to modify an existing anchortime's schedule. Anchortimes define recurring time slots for appointments on specific dates.\",\n input: EterminUpdateAnchortimeByDateInput,\n output: EterminUpdateAnchortimeByDateOutput,\n});\n"],"mappings":";;AAgBA,MAAa,gCAAgC,OAAO,qCAAqC;CACvF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhBgD,EAAE,OAAO;EACzD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC;EAC/D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;EAC1F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF;EAChH,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oHAAoH;EAC1J,qBAAqB,EAAE,QAAQ,CAAC,CAAC,SAAS,iFAAiF;CAC7H,CAAC,CAAC,CAAC,SAAS,4DAUH;CACP,QAViD,EAAE,OAAO;EAC1D,SAAS,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS,CAAC;EACtL,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CACnG,CAAC,CAAC,CAAC,SAAS,kDAOF;AACV,CAAC"}
1
+ {"version":3,"file":"update-anchortime-by-date.mjs","names":[],"sources":["../../src/actions/update-anchortime-by-date.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminUpdateAnchortimeByDateInput = z.object({\n id: z.number().int().describe(\"ID of the anchortime to update.\"),\n reason: z.string().describe(\"Reason why this anchortime is created or updated.\").optional(),\n startdate: z.string().describe(\"Date and time of the anchortime. Format: yyyy-mm-dd HH:MM e.g. 2017-10-24 18:00\"),\n calendarid: z.number().int().describe(\"ID of the calendar. Use the 'Calendar - Get calendar details' function to get a list with all available calendars.\"),\n ignoreonceappbooked: z.boolean().describe(\"If true, the anchortime will be ignored once an appointment is booked this day.\"),\n}).describe(\"Request model for updating anchortimes by date in eTermin.\");\nexport const EterminUpdateAnchortimeByDateOutput = z.object({\n message: z.string().describe(\"Response message from the API, typically indicates number of records updated.\").nullable().optional(),\n success: z.boolean().describe(\"Indicates whether the update operation was successful.\").nullable(),\n}).describe(\"Response model for updating anchortimes by date.\");\n\nexport const eterminUpdateAnchortimeByDate = action(\"ETERMIN_UPDATE_ANCHORTIME_BY_DATE\", {\n slug: \"etermin-update-anchortime-by-date\",\n name: \"Update Anchortime By Date\",\n description: \"Tool to update anchortimes by date in eTermin. Use when you need to modify an existing anchortime's schedule. Anchortimes define recurring time slots for appointments on specific dates.\",\n input: EterminUpdateAnchortimeByDateInput,\n output: EterminUpdateAnchortimeByDateOutput,\n});\n"],"mappings":";;AAgBA,MAAa,gCAAgC,OAAO,qCAAqC;CACvF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhBgD,EAAE,OAAO;EACzD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC;EAC/D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;EAC1F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF;EAChH,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oHAAoH;EAC1J,qBAAqB,EAAE,QAAQ,CAAC,CAAC,SAAS,iFAAiF;CAC7H,CAAC,CAAC,CAAC,SAAS,4DAUH;CACP,QAViD,EAAE,OAAO;EAC1D,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClI,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CACnG,CAAC,CAAC,CAAC,SAAS,kDAOF;AACV,CAAC"}
@@ -11,8 +11,8 @@ const EterminUpdateAnchortimeInput = zod.z.object({
11
11
  const EterminUpdateAnchortimeOutput = zod.z.object({
12
12
  message: zod.z.string().describe("Status message from the API.").nullable(),
13
13
  success: zod.z.boolean().describe("Whether the anchortime update was successful.").nullable(),
14
- anchortimeId: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("The ID of the updated anchortime.").optional()),
15
- recordsUpdated: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.number().int().describe("Number of records updated.").optional())
14
+ anchortimeId: zod.z.string().describe("The ID of the updated anchortime.").nullable().optional(),
15
+ recordsUpdated: zod.z.number().int().describe("Number of records updated.").nullable().optional()
16
16
  }).describe("Response model for updating an anchortime.");
17
17
  const eterminUpdateAnchortime = require_action.action("ETERMIN_UPDATE_ANCHORTIME", {
18
18
  slug: "etermin-update-anchortime",
@@ -1 +1 @@
1
- {"version":3,"file":"update-anchortime.cjs","names":["z","action"],"sources":["../../src/actions/update-anchortime.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminUpdateAnchortimeInput = z.object({\n id: z.number().int().describe(\"ID of the anchortime to update. This is required to identify which anchortime to modify.\"),\n weekday: z.number().int().describe(\"ID of the weekday: 1 = Sunday, 2 = Monday, 3 = Tuesday, 4 = Wednesday, 5 = Thursday, 6 = Friday, 7 = Saturday.\").optional(),\n starttime: z.string().describe(\"Time of the anchor in HH:MM format (24-hour time), e.g. '17:00' or '18:00'.\").optional(),\n calendarId: z.number().int().describe(\"ID of the calendar. Use the get_calendars action to get a list with all available calendars.\").optional(),\n ignoreonceappbooked: z.boolean().describe(\"If true, the anchortime will be ignored once an appointment is booked on this day.\").optional(),\n}).describe(\"Request model for updating an anchortime in eTermin.\");\nexport const EterminUpdateAnchortimeOutput = z.object({\n message: z.string().describe(\"Status message from the API.\").nullable(),\n success: z.boolean().describe(\"Whether the anchortime update was successful.\").nullable(),\n anchortimeId: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"The ID of the updated anchortime.\").optional()),\n recordsUpdated: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"Number of records updated.\").optional()),\n}).describe(\"Response model for updating an anchortime.\");\n\nexport const eterminUpdateAnchortime = action(\"ETERMIN_UPDATE_ANCHORTIME\", {\n slug: \"etermin-update-anchortime\",\n name: \"Update Anchortime\",\n description: \"Update an existing anchortime in eTermin. Use this to modify anchortime settings such as start time, weekday, calendar assignment, or booking ignore behavior. The anchortime ID must be provided to identify which anchortime to update.\",\n input: EterminUpdateAnchortimeInput,\n output: EterminUpdateAnchortimeOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0FAA0F;CACxH,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gHAAgH,CAAC,CAAC,SAAS;CAC9J,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;CACvH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8FAA8F,CAAC,CAAC,SAAS;CAC/I,qBAAqBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS;AAC3I,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACtE,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CACxF,cAAcA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC;CAC/I,gBAAgBA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC;AAClJ,CAAC,CAAC,CAAC,SAAS,4CAA4C;AAExD,MAAa,0BAA0BC,eAAAA,OAAO,6BAA6B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"update-anchortime.cjs","names":["z","action"],"sources":["../../src/actions/update-anchortime.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminUpdateAnchortimeInput = z.object({\n id: z.number().int().describe(\"ID of the anchortime to update. This is required to identify which anchortime to modify.\"),\n weekday: z.number().int().describe(\"ID of the weekday: 1 = Sunday, 2 = Monday, 3 = Tuesday, 4 = Wednesday, 5 = Thursday, 6 = Friday, 7 = Saturday.\").optional(),\n starttime: z.string().describe(\"Time of the anchor in HH:MM format (24-hour time), e.g. '17:00' or '18:00'.\").optional(),\n calendarId: z.number().int().describe(\"ID of the calendar. Use the get_calendars action to get a list with all available calendars.\").optional(),\n ignoreonceappbooked: z.boolean().describe(\"If true, the anchortime will be ignored once an appointment is booked on this day.\").optional(),\n}).describe(\"Request model for updating an anchortime in eTermin.\");\nexport const EterminUpdateAnchortimeOutput = z.object({\n message: z.string().describe(\"Status message from the API.\").nullable(),\n success: z.boolean().describe(\"Whether the anchortime update was successful.\").nullable(),\n anchortimeId: z.string().describe(\"The ID of the updated anchortime.\").nullable().optional(),\n recordsUpdated: z.number().int().describe(\"Number of records updated.\").nullable().optional(),\n}).describe(\"Response model for updating an anchortime.\");\n\nexport const eterminUpdateAnchortime = action(\"ETERMIN_UPDATE_ANCHORTIME\", {\n slug: \"etermin-update-anchortime\",\n name: \"Update Anchortime\",\n description: \"Update an existing anchortime in eTermin. Use this to modify anchortime settings such as start time, weekday, calendar assignment, or booking ignore behavior. The anchortime ID must be provided to identify which anchortime to update.\",\n input: EterminUpdateAnchortimeInput,\n output: EterminUpdateAnchortimeOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0FAA0F;CACxH,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gHAAgH,CAAC,CAAC,SAAS;CAC9J,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;CACvH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8FAA8F,CAAC,CAAC,SAAS;CAC/I,qBAAqBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS;AAC3I,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACtE,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CACxF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9F,CAAC,CAAC,CAAC,SAAS,4CAA4C;AAExD,MAAa,0BAA0BC,eAAAA,OAAO,6BAA6B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -11,8 +11,8 @@ declare const EterminUpdateAnchortimeInput: z.ZodObject<{
11
11
  declare const EterminUpdateAnchortimeOutput: z.ZodObject<{
12
12
  message: z.ZodNullable<z.ZodString>;
13
13
  success: z.ZodNullable<z.ZodBoolean>;
14
- anchortimeId: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
15
- recordsUpdated: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
14
+ anchortimeId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
+ recordsUpdated: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
16
16
  }, z.core.$strip>;
17
17
  declare const eterminUpdateAnchortime: import("@keystrokehq/action").WorkflowActionDefinition<{
18
18
  id: number;
@@ -20,12 +20,7 @@ declare const eterminUpdateAnchortime: import("@keystrokehq/action").WorkflowAct
20
20
  starttime?: string | undefined;
21
21
  calendarId?: number | undefined;
22
22
  ignoreonceappbooked?: boolean | undefined;
23
- }, {
24
- message: string | null;
25
- success: boolean | null;
26
- anchortimeId?: string | undefined;
27
- recordsUpdated?: number | undefined;
28
- }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
23
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
29
24
  //#endregion
30
25
  export { eterminUpdateAnchortime };
31
26
  //# sourceMappingURL=update-anchortime.d.cts.map
@@ -11,8 +11,8 @@ declare const EterminUpdateAnchortimeInput: z.ZodObject<{
11
11
  declare const EterminUpdateAnchortimeOutput: z.ZodObject<{
12
12
  message: z.ZodNullable<z.ZodString>;
13
13
  success: z.ZodNullable<z.ZodBoolean>;
14
- anchortimeId: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
15
- recordsUpdated: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
14
+ anchortimeId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
+ recordsUpdated: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
16
16
  }, z.core.$strip>;
17
17
  declare const eterminUpdateAnchortime: import("@keystrokehq/action").WorkflowActionDefinition<{
18
18
  id: number;
@@ -20,12 +20,7 @@ declare const eterminUpdateAnchortime: import("@keystrokehq/action").WorkflowAct
20
20
  starttime?: string | undefined;
21
21
  calendarId?: number | undefined;
22
22
  ignoreonceappbooked?: boolean | undefined;
23
- }, {
24
- message: string | null;
25
- success: boolean | null;
26
- anchortimeId?: string | undefined;
27
- recordsUpdated?: number | undefined;
28
- }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
23
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
29
24
  //#endregion
30
25
  export { eterminUpdateAnchortime };
31
26
  //# sourceMappingURL=update-anchortime.d.mts.map
@@ -14,8 +14,8 @@ const eterminUpdateAnchortime = action("ETERMIN_UPDATE_ANCHORTIME", {
14
14
  output: z.object({
15
15
  message: z.string().describe("Status message from the API.").nullable(),
16
16
  success: z.boolean().describe("Whether the anchortime update was successful.").nullable(),
17
- anchortimeId: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("The ID of the updated anchortime.").optional()),
18
- recordsUpdated: z.preprocess((value) => value === null ? void 0 : value, z.number().int().describe("Number of records updated.").optional())
17
+ anchortimeId: z.string().describe("The ID of the updated anchortime.").nullable().optional(),
18
+ recordsUpdated: z.number().int().describe("Number of records updated.").nullable().optional()
19
19
  }).describe("Response model for updating an anchortime.")
20
20
  });
21
21
  //#endregion
@@ -1 +1 @@
1
- {"version":3,"file":"update-anchortime.mjs","names":[],"sources":["../../src/actions/update-anchortime.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminUpdateAnchortimeInput = z.object({\n id: z.number().int().describe(\"ID of the anchortime to update. This is required to identify which anchortime to modify.\"),\n weekday: z.number().int().describe(\"ID of the weekday: 1 = Sunday, 2 = Monday, 3 = Tuesday, 4 = Wednesday, 5 = Thursday, 6 = Friday, 7 = Saturday.\").optional(),\n starttime: z.string().describe(\"Time of the anchor in HH:MM format (24-hour time), e.g. '17:00' or '18:00'.\").optional(),\n calendarId: z.number().int().describe(\"ID of the calendar. Use the get_calendars action to get a list with all available calendars.\").optional(),\n ignoreonceappbooked: z.boolean().describe(\"If true, the anchortime will be ignored once an appointment is booked on this day.\").optional(),\n}).describe(\"Request model for updating an anchortime in eTermin.\");\nexport const EterminUpdateAnchortimeOutput = z.object({\n message: z.string().describe(\"Status message from the API.\").nullable(),\n success: z.boolean().describe(\"Whether the anchortime update was successful.\").nullable(),\n anchortimeId: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"The ID of the updated anchortime.\").optional()),\n recordsUpdated: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"Number of records updated.\").optional()),\n}).describe(\"Response model for updating an anchortime.\");\n\nexport const eterminUpdateAnchortime = action(\"ETERMIN_UPDATE_ANCHORTIME\", {\n slug: \"etermin-update-anchortime\",\n name: \"Update Anchortime\",\n description: \"Update an existing anchortime in eTermin. Use this to modify anchortime settings such as start time, weekday, calendar assignment, or booking ignore behavior. The anchortime ID must be provided to identify which anchortime to update.\",\n input: EterminUpdateAnchortimeInput,\n output: EterminUpdateAnchortimeOutput,\n});\n"],"mappings":";;AAkBA,MAAa,0BAA0B,OAAO,6BAA6B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlB0C,EAAE,OAAO;EACnD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0FAA0F;EACxH,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gHAAgH,CAAC,CAAC,SAAS;EAC9J,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;EACvH,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8FAA8F,CAAC,CAAC,SAAS;EAC/I,qBAAqB,EAAE,QAAQ,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS;CAC3I,CAAC,CAAC,CAAC,SAAS,sDAYH;CACP,QAZ2C,EAAE,OAAO;EACpD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;EACtE,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;EACxF,cAAc,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC;EAC/I,gBAAgB,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC;CAClJ,CAAC,CAAC,CAAC,SAAS,4CAOF;AACV,CAAC"}
1
+ {"version":3,"file":"update-anchortime.mjs","names":[],"sources":["../../src/actions/update-anchortime.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminUpdateAnchortimeInput = z.object({\n id: z.number().int().describe(\"ID of the anchortime to update. This is required to identify which anchortime to modify.\"),\n weekday: z.number().int().describe(\"ID of the weekday: 1 = Sunday, 2 = Monday, 3 = Tuesday, 4 = Wednesday, 5 = Thursday, 6 = Friday, 7 = Saturday.\").optional(),\n starttime: z.string().describe(\"Time of the anchor in HH:MM format (24-hour time), e.g. '17:00' or '18:00'.\").optional(),\n calendarId: z.number().int().describe(\"ID of the calendar. Use the get_calendars action to get a list with all available calendars.\").optional(),\n ignoreonceappbooked: z.boolean().describe(\"If true, the anchortime will be ignored once an appointment is booked on this day.\").optional(),\n}).describe(\"Request model for updating an anchortime in eTermin.\");\nexport const EterminUpdateAnchortimeOutput = z.object({\n message: z.string().describe(\"Status message from the API.\").nullable(),\n success: z.boolean().describe(\"Whether the anchortime update was successful.\").nullable(),\n anchortimeId: z.string().describe(\"The ID of the updated anchortime.\").nullable().optional(),\n recordsUpdated: z.number().int().describe(\"Number of records updated.\").nullable().optional(),\n}).describe(\"Response model for updating an anchortime.\");\n\nexport const eterminUpdateAnchortime = action(\"ETERMIN_UPDATE_ANCHORTIME\", {\n slug: \"etermin-update-anchortime\",\n name: \"Update Anchortime\",\n description: \"Update an existing anchortime in eTermin. Use this to modify anchortime settings such as start time, weekday, calendar assignment, or booking ignore behavior. The anchortime ID must be provided to identify which anchortime to update.\",\n input: EterminUpdateAnchortimeInput,\n output: EterminUpdateAnchortimeOutput,\n});\n"],"mappings":";;AAkBA,MAAa,0BAA0B,OAAO,6BAA6B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlB0C,EAAE,OAAO;EACnD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0FAA0F;EACxH,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gHAAgH,CAAC,CAAC,SAAS;EAC9J,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;EACvH,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8FAA8F,CAAC,CAAC,SAAS;EAC/I,qBAAqB,EAAE,QAAQ,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS;CAC3I,CAAC,CAAC,CAAC,SAAS,sDAYH;CACP,QAZ2C,EAAE,OAAO;EACpD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;EACtE,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;EACxF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3F,gBAAgB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,CAAC,CAAC,CAAC,SAAS,4CAOF;AACV,CAAC"}
@@ -118,10 +118,7 @@ declare const eterminUpdateAppointment: import("@keystrokehq/action").WorkflowAc
118
118
  servicesinclsgtext?: string | undefined;
119
119
  appointmentreminderhours?: number | undefined;
120
120
  appointmentreminderhours2?: number | undefined;
121
- }, {
122
- message: string | null;
123
- success: boolean | null;
124
- }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
121
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
125
122
  //#endregion
126
123
  export { eterminUpdateAppointment };
127
124
  //# sourceMappingURL=update-appointment.d.cts.map
@@ -118,10 +118,7 @@ declare const eterminUpdateAppointment: import("@keystrokehq/action").WorkflowAc
118
118
  servicesinclsgtext?: string | undefined;
119
119
  appointmentreminderhours?: number | undefined;
120
120
  appointmentreminderhours2?: number | undefined;
121
- }, {
122
- message: string | null;
123
- success: boolean | null;
124
- }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
121
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
125
122
  //#endregion
126
123
  export { eterminUpdateAppointment };
127
124
  //# sourceMappingURL=update-appointment.d.mts.map
@@ -12,7 +12,7 @@ const EterminUpdateCalendarReturnTimeInput = zod.z.object({
12
12
  const EterminUpdateCalendarReturnTimeOutput = zod.z.object({
13
13
  message: zod.z.string().describe("Status message from the API").nullable(),
14
14
  success: zod.z.boolean().describe("Whether the return time update was successful").nullable(),
15
- recordsUpdated: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.number().int().describe("Number of records updated").optional())
15
+ recordsUpdated: zod.z.number().int().describe("Number of records updated").nullable().optional()
16
16
  }).describe("Response model for updating a calendar return time.");
17
17
  const eterminUpdateCalendarReturnTime = require_action.action("ETERMIN_UPDATE_CALENDAR_RETURN_TIME", {
18
18
  slug: "etermin-update-calendar-return-time",
@@ -1 +1 @@
1
- {"version":3,"file":"update-calendar-return-time.cjs","names":["z","action"],"sources":["../../src/actions/update-calendar-return-time.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminUpdateCalendarReturnTimeInput = z.object({\n id: z.number().int().describe(\"ID of the return time to update\"),\n newday: z.boolean().describe(\"If true, the return time will end on the next day. Use this for return times that span midnight.\").optional(),\n endtime: z.string().describe(\"End time of the return time. Format: HH:MM (e.g., 18:00)\").optional(),\n starttime: z.string().describe(\"Start time of the return time. Format: HH:MM (e.g., 10:00)\").optional(),\n calendarid: z.number().int().describe(\"ID of the calendar. Use the Get Calendars action to get a list of available calendars.\").optional(),\n weekdayidx: z.number().int().describe(\"ID of the weekday: 1=Sunday, 2=Monday, 3=Tuesday, 4=Wednesday, 5=Thursday, 6=Friday, 7=Saturday\").optional(),\n}).describe(\"Request model for updating a calendar return time in eTermin.\");\nexport const EterminUpdateCalendarReturnTimeOutput = z.object({\n message: z.string().describe(\"Status message from the API\").nullable(),\n success: z.boolean().describe(\"Whether the return time update was successful\").nullable(),\n recordsUpdated: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"Number of records updated\").optional()),\n}).describe(\"Response model for updating a calendar return time.\");\n\nexport const eterminUpdateCalendarReturnTime = action(\"ETERMIN_UPDATE_CALENDAR_RETURN_TIME\", {\n slug: \"etermin-update-calendar-return-time\",\n name: \"Update Calendar Return Time\",\n description: \"Tool to update a return time for a calendar in eTermin. Use when modifying existing return time settings such as start time, end time, weekday, or overnight settings.\",\n input: EterminUpdateCalendarReturnTimeInput,\n output: EterminUpdateCalendarReturnTimeOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uCAAuCA,IAAAA,EAAE,OAAO;CAC3D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC;CAC/D,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,kGAAkG,CAAC,CAAC,SAAS;CAC1I,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CAClG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CACtG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS;CACzI,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iGAAiG,CAAC,CAAC,SAAS;AACpJ,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC3E,MAAa,wCAAwCA,IAAAA,EAAE,OAAO;CAC5D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACrE,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CACxF,gBAAgBA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC;AACjJ,CAAC,CAAC,CAAC,SAAS,qDAAqD;AAEjE,MAAa,kCAAkCC,eAAAA,OAAO,uCAAuC;CAC3F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"update-calendar-return-time.cjs","names":["z","action"],"sources":["../../src/actions/update-calendar-return-time.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminUpdateCalendarReturnTimeInput = z.object({\n id: z.number().int().describe(\"ID of the return time to update\"),\n newday: z.boolean().describe(\"If true, the return time will end on the next day. Use this for return times that span midnight.\").optional(),\n endtime: z.string().describe(\"End time of the return time. Format: HH:MM (e.g., 18:00)\").optional(),\n starttime: z.string().describe(\"Start time of the return time. Format: HH:MM (e.g., 10:00)\").optional(),\n calendarid: z.number().int().describe(\"ID of the calendar. Use the Get Calendars action to get a list of available calendars.\").optional(),\n weekdayidx: z.number().int().describe(\"ID of the weekday: 1=Sunday, 2=Monday, 3=Tuesday, 4=Wednesday, 5=Thursday, 6=Friday, 7=Saturday\").optional(),\n}).describe(\"Request model for updating a calendar return time in eTermin.\");\nexport const EterminUpdateCalendarReturnTimeOutput = z.object({\n message: z.string().describe(\"Status message from the API\").nullable(),\n success: z.boolean().describe(\"Whether the return time update was successful\").nullable(),\n recordsUpdated: z.number().int().describe(\"Number of records updated\").nullable().optional(),\n}).describe(\"Response model for updating a calendar return time.\");\n\nexport const eterminUpdateCalendarReturnTime = action(\"ETERMIN_UPDATE_CALENDAR_RETURN_TIME\", {\n slug: \"etermin-update-calendar-return-time\",\n name: \"Update Calendar Return Time\",\n description: \"Tool to update a return time for a calendar in eTermin. Use when modifying existing return time settings such as start time, end time, weekday, or overnight settings.\",\n input: EterminUpdateCalendarReturnTimeInput,\n output: EterminUpdateCalendarReturnTimeOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uCAAuCA,IAAAA,EAAE,OAAO;CAC3D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC;CAC/D,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,kGAAkG,CAAC,CAAC,SAAS;CAC1I,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CAClG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CACtG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS;CACzI,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iGAAiG,CAAC,CAAC,SAAS;AACpJ,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC3E,MAAa,wCAAwCA,IAAAA,EAAE,OAAO;CAC5D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACrE,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CACxF,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7F,CAAC,CAAC,CAAC,SAAS,qDAAqD;AAEjE,MAAa,kCAAkCC,eAAAA,OAAO,uCAAuC;CAC3F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -12,7 +12,7 @@ declare const EterminUpdateCalendarReturnTimeInput: z.ZodObject<{
12
12
  declare const EterminUpdateCalendarReturnTimeOutput: z.ZodObject<{
13
13
  message: z.ZodNullable<z.ZodString>;
14
14
  success: z.ZodNullable<z.ZodBoolean>;
15
- recordsUpdated: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
15
+ recordsUpdated: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
16
16
  }, z.core.$strip>;
17
17
  declare const eterminUpdateCalendarReturnTime: import("@keystrokehq/action").WorkflowActionDefinition<{
18
18
  id: number;
@@ -21,11 +21,7 @@ declare const eterminUpdateCalendarReturnTime: import("@keystrokehq/action").Wor
21
21
  starttime?: string | undefined;
22
22
  calendarid?: number | undefined;
23
23
  weekdayidx?: number | undefined;
24
- }, {
25
- message: string | null;
26
- success: boolean | null;
27
- recordsUpdated?: number | undefined;
28
- }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
24
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
29
25
  //#endregion
30
26
  export { eterminUpdateCalendarReturnTime };
31
27
  //# sourceMappingURL=update-calendar-return-time.d.cts.map
@@ -12,7 +12,7 @@ declare const EterminUpdateCalendarReturnTimeInput: z.ZodObject<{
12
12
  declare const EterminUpdateCalendarReturnTimeOutput: z.ZodObject<{
13
13
  message: z.ZodNullable<z.ZodString>;
14
14
  success: z.ZodNullable<z.ZodBoolean>;
15
- recordsUpdated: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
15
+ recordsUpdated: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
16
16
  }, z.core.$strip>;
17
17
  declare const eterminUpdateCalendarReturnTime: import("@keystrokehq/action").WorkflowActionDefinition<{
18
18
  id: number;
@@ -21,11 +21,7 @@ declare const eterminUpdateCalendarReturnTime: import("@keystrokehq/action").Wor
21
21
  starttime?: string | undefined;
22
22
  calendarid?: number | undefined;
23
23
  weekdayidx?: number | undefined;
24
- }, {
25
- message: string | null;
26
- success: boolean | null;
27
- recordsUpdated?: number | undefined;
28
- }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
24
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
29
25
  //#endregion
30
26
  export { eterminUpdateCalendarReturnTime };
31
27
  //# sourceMappingURL=update-calendar-return-time.d.mts.map
@@ -15,7 +15,7 @@ const eterminUpdateCalendarReturnTime = action("ETERMIN_UPDATE_CALENDAR_RETURN_T
15
15
  output: z.object({
16
16
  message: z.string().describe("Status message from the API").nullable(),
17
17
  success: z.boolean().describe("Whether the return time update was successful").nullable(),
18
- recordsUpdated: z.preprocess((value) => value === null ? void 0 : value, z.number().int().describe("Number of records updated").optional())
18
+ recordsUpdated: z.number().int().describe("Number of records updated").nullable().optional()
19
19
  }).describe("Response model for updating a calendar return time.")
20
20
  });
21
21
  //#endregion
@@ -1 +1 @@
1
- {"version":3,"file":"update-calendar-return-time.mjs","names":[],"sources":["../../src/actions/update-calendar-return-time.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminUpdateCalendarReturnTimeInput = z.object({\n id: z.number().int().describe(\"ID of the return time to update\"),\n newday: z.boolean().describe(\"If true, the return time will end on the next day. Use this for return times that span midnight.\").optional(),\n endtime: z.string().describe(\"End time of the return time. Format: HH:MM (e.g., 18:00)\").optional(),\n starttime: z.string().describe(\"Start time of the return time. Format: HH:MM (e.g., 10:00)\").optional(),\n calendarid: z.number().int().describe(\"ID of the calendar. Use the Get Calendars action to get a list of available calendars.\").optional(),\n weekdayidx: z.number().int().describe(\"ID of the weekday: 1=Sunday, 2=Monday, 3=Tuesday, 4=Wednesday, 5=Thursday, 6=Friday, 7=Saturday\").optional(),\n}).describe(\"Request model for updating a calendar return time in eTermin.\");\nexport const EterminUpdateCalendarReturnTimeOutput = z.object({\n message: z.string().describe(\"Status message from the API\").nullable(),\n success: z.boolean().describe(\"Whether the return time update was successful\").nullable(),\n recordsUpdated: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"Number of records updated\").optional()),\n}).describe(\"Response model for updating a calendar return time.\");\n\nexport const eterminUpdateCalendarReturnTime = action(\"ETERMIN_UPDATE_CALENDAR_RETURN_TIME\", {\n slug: \"etermin-update-calendar-return-time\",\n name: \"Update Calendar Return Time\",\n description: \"Tool to update a return time for a calendar in eTermin. Use when modifying existing return time settings such as start time, end time, weekday, or overnight settings.\",\n input: EterminUpdateCalendarReturnTimeInput,\n output: EterminUpdateCalendarReturnTimeOutput,\n});\n"],"mappings":";;AAkBA,MAAa,kCAAkC,OAAO,uCAAuC;CAC3F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlBkD,EAAE,OAAO;EAC3D,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC;EAC/D,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,kGAAkG,CAAC,CAAC,SAAS;EAC1I,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;EAClG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;EACtG,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS;EACzI,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iGAAiG,CAAC,CAAC,SAAS;CACpJ,CAAC,CAAC,CAAC,SAAS,+DAWH;CACP,QAXmD,EAAE,OAAO;EAC5D,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;EACrE,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;EACxF,gBAAgB,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC;CACjJ,CAAC,CAAC,CAAC,SAAS,qDAOF;AACV,CAAC"}
1
+ {"version":3,"file":"update-calendar-return-time.mjs","names":[],"sources":["../../src/actions/update-calendar-return-time.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminUpdateCalendarReturnTimeInput = z.object({\n id: z.number().int().describe(\"ID of the return time to update\"),\n newday: z.boolean().describe(\"If true, the return time will end on the next day. Use this for return times that span midnight.\").optional(),\n endtime: z.string().describe(\"End time of the return time. Format: HH:MM (e.g., 18:00)\").optional(),\n starttime: z.string().describe(\"Start time of the return time. Format: HH:MM (e.g., 10:00)\").optional(),\n calendarid: z.number().int().describe(\"ID of the calendar. Use the Get Calendars action to get a list of available calendars.\").optional(),\n weekdayidx: z.number().int().describe(\"ID of the weekday: 1=Sunday, 2=Monday, 3=Tuesday, 4=Wednesday, 5=Thursday, 6=Friday, 7=Saturday\").optional(),\n}).describe(\"Request model for updating a calendar return time in eTermin.\");\nexport const EterminUpdateCalendarReturnTimeOutput = z.object({\n message: z.string().describe(\"Status message from the API\").nullable(),\n success: z.boolean().describe(\"Whether the return time update was successful\").nullable(),\n recordsUpdated: z.number().int().describe(\"Number of records updated\").nullable().optional(),\n}).describe(\"Response model for updating a calendar return time.\");\n\nexport const eterminUpdateCalendarReturnTime = action(\"ETERMIN_UPDATE_CALENDAR_RETURN_TIME\", {\n slug: \"etermin-update-calendar-return-time\",\n name: \"Update Calendar Return Time\",\n description: \"Tool to update a return time for a calendar in eTermin. Use when modifying existing return time settings such as start time, end time, weekday, or overnight settings.\",\n input: EterminUpdateCalendarReturnTimeInput,\n output: EterminUpdateCalendarReturnTimeOutput,\n});\n"],"mappings":";;AAkBA,MAAa,kCAAkC,OAAO,uCAAuC;CAC3F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlBkD,EAAE,OAAO;EAC3D,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC;EAC/D,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,kGAAkG,CAAC,CAAC,SAAS;EAC1I,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;EAClG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;EACtG,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS;EACzI,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iGAAiG,CAAC,CAAC,SAAS;CACpJ,CAAC,CAAC,CAAC,SAAS,+DAWH;CACP,QAXmD,EAAE,OAAO;EAC5D,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;EACrE,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;EACxF,gBAAgB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,CAAC,CAAC,CAAC,SAAS,qDAOF;AACV,CAAC"}
@@ -16,8 +16,8 @@ const EterminUpdateCalendarInput = zod.z.object({
16
16
  const EterminUpdateCalendarOutput = zod.z.object({
17
17
  message: zod.z.string().describe("Status message from the API.").nullable(),
18
18
  success: zod.z.boolean().describe("Whether the calendar update was successful.").nullable(),
19
- calendarId: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("The ID of the updated calendar.").optional()),
20
- recordsUpdated: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.number().int().describe("Number of records updated.").optional())
19
+ calendarId: zod.z.string().describe("The ID of the updated calendar.").nullable().optional(),
20
+ recordsUpdated: zod.z.number().int().describe("Number of records updated.").nullable().optional()
21
21
  }).describe("Response model for updating a calendar.");
22
22
  const eterminUpdateCalendar = require_action.action("ETERMIN_UPDATE_CALENDAR", {
23
23
  slug: "etermin-update-calendar",
@@ -1 +1 @@
1
- {"version":3,"file":"update-calendar.cjs","names":["z","action"],"sources":["../../src/actions/update-calendar.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminUpdateCalendarInput = z.object({\n enabled: z.boolean().describe(\"Whether the calendar is enabled for bookings.\").optional(),\n calendarId: z.string().describe(\"The unique identifier of the calendar to update. Obtain from get_calendars action.\"),\n maxCapacity: z.number().int().describe(\"Maximum capacity when capacity is enabled.\").optional(),\n minCapacity: z.number().int().describe(\"Minimum capacity when capacity is enabled.\").optional(),\n calendarName: z.string().describe(\"New name for the calendar.\").optional(),\n descriptionDE: z.string().describe(\"German description of the calendar.\").optional(),\n descriptionEN: z.string().describe(\"English description of the calendar.\").optional(),\n enableCapacity: z.boolean().describe(\"Enable capacity limits for concurrent appointments.\").optional(),\n timeSlotMinutes: z.number().int().describe(\"Time slot interval in minutes.\").optional(),\n externalReference: z.string().describe(\"External reference identifier for the calendar.\").optional(),\n}).describe(\"Request model for updating a calendar in eTermin.\");\nexport const EterminUpdateCalendarOutput = z.object({\n message: z.string().describe(\"Status message from the API.\").nullable(),\n success: z.boolean().describe(\"Whether the calendar update was successful.\").nullable(),\n calendarId: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"The ID of the updated calendar.\").optional()),\n recordsUpdated: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"Number of records updated.\").optional()),\n}).describe(\"Response model for updating a calendar.\");\n\nexport const eterminUpdateCalendar = action(\"ETERMIN_UPDATE_CALENDAR\", {\n slug: \"etermin-update-calendar\",\n name: \"Update Calendar\",\n description: \"Update an existing calendar in eTermin. Use this tool to modify calendar settings such as name, description, capacity settings, and other configuration options. You must provide the calendar_id obtained from the get_calendars action. The eTermin API uses PUT /api/calendar with form-urlencoded data, where the calendar to update is specified by the 'id' parameter.\",\n input: EterminUpdateCalendarInput,\n output: EterminUpdateCalendarOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CACxF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oFAAoF;CACpH,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CAC9F,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CAC9F,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACzE,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CACnF,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CACpF,gBAAgBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CACrG,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACtF,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;AACrG,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACtE,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACtF,YAAYA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC;CAC3I,gBAAgBA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC;AAClJ,CAAC,CAAC,CAAC,SAAS,yCAAyC;AAErD,MAAa,wBAAwBC,eAAAA,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"update-calendar.cjs","names":["z","action"],"sources":["../../src/actions/update-calendar.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminUpdateCalendarInput = z.object({\n enabled: z.boolean().describe(\"Whether the calendar is enabled for bookings.\").optional(),\n calendarId: z.string().describe(\"The unique identifier of the calendar to update. Obtain from get_calendars action.\"),\n maxCapacity: z.number().int().describe(\"Maximum capacity when capacity is enabled.\").optional(),\n minCapacity: z.number().int().describe(\"Minimum capacity when capacity is enabled.\").optional(),\n calendarName: z.string().describe(\"New name for the calendar.\").optional(),\n descriptionDE: z.string().describe(\"German description of the calendar.\").optional(),\n descriptionEN: z.string().describe(\"English description of the calendar.\").optional(),\n enableCapacity: z.boolean().describe(\"Enable capacity limits for concurrent appointments.\").optional(),\n timeSlotMinutes: z.number().int().describe(\"Time slot interval in minutes.\").optional(),\n externalReference: z.string().describe(\"External reference identifier for the calendar.\").optional(),\n}).describe(\"Request model for updating a calendar in eTermin.\");\nexport const EterminUpdateCalendarOutput = z.object({\n message: z.string().describe(\"Status message from the API.\").nullable(),\n success: z.boolean().describe(\"Whether the calendar update was successful.\").nullable(),\n calendarId: z.string().describe(\"The ID of the updated calendar.\").nullable().optional(),\n recordsUpdated: z.number().int().describe(\"Number of records updated.\").nullable().optional(),\n}).describe(\"Response model for updating a calendar.\");\n\nexport const eterminUpdateCalendar = action(\"ETERMIN_UPDATE_CALENDAR\", {\n slug: \"etermin-update-calendar\",\n name: \"Update Calendar\",\n description: \"Update an existing calendar in eTermin. Use this tool to modify calendar settings such as name, description, capacity settings, and other configuration options. You must provide the calendar_id obtained from the get_calendars action. The eTermin API uses PUT /api/calendar with form-urlencoded data, where the calendar to update is specified by the 'id' parameter.\",\n input: EterminUpdateCalendarInput,\n output: EterminUpdateCalendarOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CACxF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oFAAoF;CACpH,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CAC9F,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CAC9F,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACzE,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CACnF,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CACpF,gBAAgBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CACrG,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACtF,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;AACrG,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACtE,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACtF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9F,CAAC,CAAC,CAAC,SAAS,yCAAyC;AAErD,MAAa,wBAAwBC,eAAAA,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -16,8 +16,8 @@ declare const EterminUpdateCalendarInput: z.ZodObject<{
16
16
  declare const EterminUpdateCalendarOutput: z.ZodObject<{
17
17
  message: z.ZodNullable<z.ZodString>;
18
18
  success: z.ZodNullable<z.ZodBoolean>;
19
- calendarId: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
20
- recordsUpdated: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
19
+ calendarId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
+ recordsUpdated: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
21
21
  }, z.core.$strip>;
22
22
  declare const eterminUpdateCalendar: import("@keystrokehq/action").WorkflowActionDefinition<{
23
23
  calendarId: string;
@@ -30,12 +30,7 @@ declare const eterminUpdateCalendar: import("@keystrokehq/action").WorkflowActio
30
30
  enableCapacity?: boolean | undefined;
31
31
  timeSlotMinutes?: number | undefined;
32
32
  externalReference?: string | undefined;
33
- }, {
34
- message: string | null;
35
- success: boolean | null;
36
- calendarId?: string | undefined;
37
- recordsUpdated?: number | undefined;
38
- }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
33
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
39
34
  //#endregion
40
35
  export { eterminUpdateCalendar };
41
36
  //# sourceMappingURL=update-calendar.d.cts.map
@@ -16,8 +16,8 @@ declare const EterminUpdateCalendarInput: z.ZodObject<{
16
16
  declare const EterminUpdateCalendarOutput: z.ZodObject<{
17
17
  message: z.ZodNullable<z.ZodString>;
18
18
  success: z.ZodNullable<z.ZodBoolean>;
19
- calendarId: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
20
- recordsUpdated: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
19
+ calendarId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
+ recordsUpdated: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
21
21
  }, z.core.$strip>;
22
22
  declare const eterminUpdateCalendar: import("@keystrokehq/action").WorkflowActionDefinition<{
23
23
  calendarId: string;
@@ -30,12 +30,7 @@ declare const eterminUpdateCalendar: import("@keystrokehq/action").WorkflowActio
30
30
  enableCapacity?: boolean | undefined;
31
31
  timeSlotMinutes?: number | undefined;
32
32
  externalReference?: string | undefined;
33
- }, {
34
- message: string | null;
35
- success: boolean | null;
36
- calendarId?: string | undefined;
37
- recordsUpdated?: number | undefined;
38
- }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
33
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
39
34
  //#endregion
40
35
  export { eterminUpdateCalendar };
41
36
  //# sourceMappingURL=update-calendar.d.mts.map
@@ -19,8 +19,8 @@ const eterminUpdateCalendar = action("ETERMIN_UPDATE_CALENDAR", {
19
19
  output: z.object({
20
20
  message: z.string().describe("Status message from the API.").nullable(),
21
21
  success: z.boolean().describe("Whether the calendar update was successful.").nullable(),
22
- calendarId: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("The ID of the updated calendar.").optional()),
23
- recordsUpdated: z.preprocess((value) => value === null ? void 0 : value, z.number().int().describe("Number of records updated.").optional())
22
+ calendarId: z.string().describe("The ID of the updated calendar.").nullable().optional(),
23
+ recordsUpdated: z.number().int().describe("Number of records updated.").nullable().optional()
24
24
  }).describe("Response model for updating a calendar.")
25
25
  });
26
26
  //#endregion
@@ -1 +1 @@
1
- {"version":3,"file":"update-calendar.mjs","names":[],"sources":["../../src/actions/update-calendar.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminUpdateCalendarInput = z.object({\n enabled: z.boolean().describe(\"Whether the calendar is enabled for bookings.\").optional(),\n calendarId: z.string().describe(\"The unique identifier of the calendar to update. Obtain from get_calendars action.\"),\n maxCapacity: z.number().int().describe(\"Maximum capacity when capacity is enabled.\").optional(),\n minCapacity: z.number().int().describe(\"Minimum capacity when capacity is enabled.\").optional(),\n calendarName: z.string().describe(\"New name for the calendar.\").optional(),\n descriptionDE: z.string().describe(\"German description of the calendar.\").optional(),\n descriptionEN: z.string().describe(\"English description of the calendar.\").optional(),\n enableCapacity: z.boolean().describe(\"Enable capacity limits for concurrent appointments.\").optional(),\n timeSlotMinutes: z.number().int().describe(\"Time slot interval in minutes.\").optional(),\n externalReference: z.string().describe(\"External reference identifier for the calendar.\").optional(),\n}).describe(\"Request model for updating a calendar in eTermin.\");\nexport const EterminUpdateCalendarOutput = z.object({\n message: z.string().describe(\"Status message from the API.\").nullable(),\n success: z.boolean().describe(\"Whether the calendar update was successful.\").nullable(),\n calendarId: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"The ID of the updated calendar.\").optional()),\n recordsUpdated: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"Number of records updated.\").optional()),\n}).describe(\"Response model for updating a calendar.\");\n\nexport const eterminUpdateCalendar = action(\"ETERMIN_UPDATE_CALENDAR\", {\n slug: \"etermin-update-calendar\",\n name: \"Update Calendar\",\n description: \"Update an existing calendar in eTermin. Use this tool to modify calendar settings such as name, description, capacity settings, and other configuration options. You must provide the calendar_id obtained from the get_calendars action. The eTermin API uses PUT /api/calendar with form-urlencoded data, where the calendar to update is specified by the 'id' parameter.\",\n input: EterminUpdateCalendarInput,\n output: EterminUpdateCalendarOutput,\n});\n"],"mappings":";;AAuBA,MAAa,wBAAwB,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAvBwC,EAAE,OAAO;EACjD,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;EACxF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,oFAAoF;EACpH,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;EAC9F,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;EAC9F,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;EACzE,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;EACnF,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;EACpF,gBAAgB,EAAE,QAAQ,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;EACrG,iBAAiB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;EACtF,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CACrG,CAAC,CAAC,CAAC,SAAS,mDAYH;CACP,QAZyC,EAAE,OAAO;EAClD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;EACtE,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;EACtF,YAAY,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC;EAC3I,gBAAgB,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC;CAClJ,CAAC,CAAC,CAAC,SAAS,yCAOF;AACV,CAAC"}
1
+ {"version":3,"file":"update-calendar.mjs","names":[],"sources":["../../src/actions/update-calendar.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminUpdateCalendarInput = z.object({\n enabled: z.boolean().describe(\"Whether the calendar is enabled for bookings.\").optional(),\n calendarId: z.string().describe(\"The unique identifier of the calendar to update. Obtain from get_calendars action.\"),\n maxCapacity: z.number().int().describe(\"Maximum capacity when capacity is enabled.\").optional(),\n minCapacity: z.number().int().describe(\"Minimum capacity when capacity is enabled.\").optional(),\n calendarName: z.string().describe(\"New name for the calendar.\").optional(),\n descriptionDE: z.string().describe(\"German description of the calendar.\").optional(),\n descriptionEN: z.string().describe(\"English description of the calendar.\").optional(),\n enableCapacity: z.boolean().describe(\"Enable capacity limits for concurrent appointments.\").optional(),\n timeSlotMinutes: z.number().int().describe(\"Time slot interval in minutes.\").optional(),\n externalReference: z.string().describe(\"External reference identifier for the calendar.\").optional(),\n}).describe(\"Request model for updating a calendar in eTermin.\");\nexport const EterminUpdateCalendarOutput = z.object({\n message: z.string().describe(\"Status message from the API.\").nullable(),\n success: z.boolean().describe(\"Whether the calendar update was successful.\").nullable(),\n calendarId: z.string().describe(\"The ID of the updated calendar.\").nullable().optional(),\n recordsUpdated: z.number().int().describe(\"Number of records updated.\").nullable().optional(),\n}).describe(\"Response model for updating a calendar.\");\n\nexport const eterminUpdateCalendar = action(\"ETERMIN_UPDATE_CALENDAR\", {\n slug: \"etermin-update-calendar\",\n name: \"Update Calendar\",\n description: \"Update an existing calendar in eTermin. Use this tool to modify calendar settings such as name, description, capacity settings, and other configuration options. You must provide the calendar_id obtained from the get_calendars action. The eTermin API uses PUT /api/calendar with form-urlencoded data, where the calendar to update is specified by the 'id' parameter.\",\n input: EterminUpdateCalendarInput,\n output: EterminUpdateCalendarOutput,\n});\n"],"mappings":";;AAuBA,MAAa,wBAAwB,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAvBwC,EAAE,OAAO;EACjD,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;EACxF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,oFAAoF;EACpH,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;EAC9F,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;EAC9F,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;EACzE,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;EACnF,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;EACpF,gBAAgB,EAAE,QAAQ,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;EACrG,iBAAiB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;EACtF,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CACrG,CAAC,CAAC,CAAC,SAAS,mDAYH;CACP,QAZyC,EAAE,OAAO;EAClD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;EACtE,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;EACtF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvF,gBAAgB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,CAAC,CAAC,CAAC,SAAS,yCAOF;AACV,CAAC"}
@@ -9,9 +9,9 @@ const EterminUpdateContactInput = zod.z.object({
9
9
  }).describe("Request model for updating an existing contact in eTermin.");
10
10
  const EterminUpdateContactOutput = zod.z.object({
11
11
  id: zod.z.number().int().describe("Unique identifier of the contact").nullable(),
12
- email: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Email address of the contact. May be empty if not provided.").optional()),
13
- lastname: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().default("").describe("Last name of the contact").optional()),
14
- firstname: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().default("").describe("First name of the contact").optional()),
12
+ email: zod.z.string().describe("Email address of the contact. May be empty if not provided.").nullable().optional(),
13
+ lastname: zod.z.string().default("").describe("Last name of the contact").nullable().optional(),
14
+ firstname: zod.z.string().default("").describe("First name of the contact").nullable().optional(),
15
15
  created_at: zod.z.string().describe("Timestamp when the contact was originally created").nullable()
16
16
  }).describe("Response model for the updated contact in eTermin.");
17
17
  const eterminUpdateContact = require_action.action("ETERMIN_UPDATE_CONTACT", {
@@ -1 +1 @@
1
- {"version":3,"file":"update-contact.cjs","names":["z","action"],"sources":["../../src/actions/update-contact.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminUpdateContactInput = z.object({\n email: z.string().describe(\"Updated email address of the contact\").optional(),\n lastname: z.string().describe(\"Updated last name of the contact\").optional(),\n firstname: z.string().describe(\"Updated first name of the contact\").optional(),\n contact_id: z.number().int().describe(\"Unique identifier of the contact to update\"),\n}).describe(\"Request model for updating an existing contact in eTermin.\");\nexport const EterminUpdateContactOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the contact\").nullable(),\n email: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Email address of the contact. May be empty if not provided.\").optional()),\n lastname: z.preprocess((value) => (value === null ? undefined : value), z.string().default(\"\").describe(\"Last name of the contact\").optional()),\n firstname: z.preprocess((value) => (value === null ? undefined : value), z.string().default(\"\").describe(\"First name of the contact\").optional()),\n created_at: z.string().describe(\"Timestamp when the contact was originally created\").nullable(),\n}).describe(\"Response model for the updated contact in eTermin.\");\n\nexport const eterminUpdateContact = action(\"ETERMIN_UPDATE_CONTACT\", {\n slug: \"etermin-update-contact\",\n name: \"Update Contact\",\n description: \"Tool to update an existing contact in eTermin. Use when you need to modify contact details by ID after confirming it exists.\",\n input: EterminUpdateContactInput,\n output: EterminUpdateContactOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAC5E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAC3E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CAC7E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C;AACpF,CAAC,CAAC,CAAC,SAAS,4DAA4D;AACxE,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAC3E,OAAOA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC;CAClK,UAAUA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC;CAC9I,WAAWA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC;CAChJ,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;AAChG,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAEhE,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"update-contact.cjs","names":["z","action"],"sources":["../../src/actions/update-contact.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminUpdateContactInput = z.object({\n email: z.string().describe(\"Updated email address of the contact\").optional(),\n lastname: z.string().describe(\"Updated last name of the contact\").optional(),\n firstname: z.string().describe(\"Updated first name of the contact\").optional(),\n contact_id: z.number().int().describe(\"Unique identifier of the contact to update\"),\n}).describe(\"Request model for updating an existing contact in eTermin.\");\nexport const EterminUpdateContactOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the contact\").nullable(),\n email: z.string().describe(\"Email address of the contact. May be empty if not provided.\").nullable().optional(),\n lastname: z.string().default(\"\").describe(\"Last name of the contact\").nullable().optional(),\n firstname: z.string().default(\"\").describe(\"First name of the contact\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the contact was originally created\").nullable(),\n}).describe(\"Response model for the updated contact in eTermin.\");\n\nexport const eterminUpdateContact = action(\"ETERMIN_UPDATE_CONTACT\", {\n slug: \"etermin-update-contact\",\n name: \"Update Contact\",\n description: \"Tool to update an existing contact in eTermin. Use when you need to modify contact details by ID after confirming it exists.\",\n input: EterminUpdateContactInput,\n output: EterminUpdateContactOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAC5E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAC3E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CAC7E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C;AACpF,CAAC,CAAC,CAAC,SAAS,4DAA4D;AACxE,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAC3E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;AAChG,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAEhE,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -9,9 +9,9 @@ declare const EterminUpdateContactInput: z.ZodObject<{
9
9
  }, z.core.$strip>;
10
10
  declare const EterminUpdateContactOutput: z.ZodObject<{
11
11
  id: z.ZodNullable<z.ZodNumber>;
12
- email: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
13
- lastname: z.ZodPreprocess<z.ZodOptional<z.ZodDefault<z.ZodString>>>;
14
- firstname: z.ZodPreprocess<z.ZodOptional<z.ZodDefault<z.ZodString>>>;
12
+ email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
+ lastname: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>;
14
+ firstname: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>;
15
15
  created_at: z.ZodNullable<z.ZodString>;
16
16
  }, z.core.$strip>;
17
17
  declare const eterminUpdateContact: import("@keystrokehq/action").WorkflowActionDefinition<{
@@ -19,13 +19,7 @@ declare const eterminUpdateContact: import("@keystrokehq/action").WorkflowAction
19
19
  email?: string | undefined;
20
20
  lastname?: string | undefined;
21
21
  firstname?: string | undefined;
22
- }, {
23
- id: number | null;
24
- created_at: string | null;
25
- email?: string | undefined;
26
- lastname?: string | undefined;
27
- firstname?: string | undefined;
28
- }, 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]>;
29
23
  //#endregion
30
24
  export { eterminUpdateContact };
31
25
  //# sourceMappingURL=update-contact.d.cts.map
@@ -9,9 +9,9 @@ declare const EterminUpdateContactInput: z.ZodObject<{
9
9
  }, z.core.$strip>;
10
10
  declare const EterminUpdateContactOutput: z.ZodObject<{
11
11
  id: z.ZodNullable<z.ZodNumber>;
12
- email: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
13
- lastname: z.ZodPreprocess<z.ZodOptional<z.ZodDefault<z.ZodString>>>;
14
- firstname: z.ZodPreprocess<z.ZodOptional<z.ZodDefault<z.ZodString>>>;
12
+ email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
+ lastname: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>;
14
+ firstname: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>;
15
15
  created_at: z.ZodNullable<z.ZodString>;
16
16
  }, z.core.$strip>;
17
17
  declare const eterminUpdateContact: import("@keystrokehq/action").WorkflowActionDefinition<{
@@ -19,13 +19,7 @@ declare const eterminUpdateContact: import("@keystrokehq/action").WorkflowAction
19
19
  email?: string | undefined;
20
20
  lastname?: string | undefined;
21
21
  firstname?: string | undefined;
22
- }, {
23
- id: number | null;
24
- created_at: string | null;
25
- email?: string | undefined;
26
- lastname?: string | undefined;
27
- firstname?: string | undefined;
28
- }, 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]>;
29
23
  //#endregion
30
24
  export { eterminUpdateContact };
31
25
  //# sourceMappingURL=update-contact.d.mts.map
@@ -12,9 +12,9 @@ const eterminUpdateContact = action("ETERMIN_UPDATE_CONTACT", {
12
12
  }).describe("Request model for updating an existing contact in eTermin."),
13
13
  output: z.object({
14
14
  id: z.number().int().describe("Unique identifier of the contact").nullable(),
15
- email: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Email address of the contact. May be empty if not provided.").optional()),
16
- lastname: z.preprocess((value) => value === null ? void 0 : value, z.string().default("").describe("Last name of the contact").optional()),
17
- firstname: z.preprocess((value) => value === null ? void 0 : value, z.string().default("").describe("First name of the contact").optional()),
15
+ email: z.string().describe("Email address of the contact. May be empty if not provided.").nullable().optional(),
16
+ lastname: z.string().default("").describe("Last name of the contact").nullable().optional(),
17
+ firstname: z.string().default("").describe("First name of the contact").nullable().optional(),
18
18
  created_at: z.string().describe("Timestamp when the contact was originally created").nullable()
19
19
  }).describe("Response model for the updated contact in eTermin.")
20
20
  });
@@ -1 +1 @@
1
- {"version":3,"file":"update-contact.mjs","names":[],"sources":["../../src/actions/update-contact.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminUpdateContactInput = z.object({\n email: z.string().describe(\"Updated email address of the contact\").optional(),\n lastname: z.string().describe(\"Updated last name of the contact\").optional(),\n firstname: z.string().describe(\"Updated first name of the contact\").optional(),\n contact_id: z.number().int().describe(\"Unique identifier of the contact to update\"),\n}).describe(\"Request model for updating an existing contact in eTermin.\");\nexport const EterminUpdateContactOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the contact\").nullable(),\n email: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Email address of the contact. May be empty if not provided.\").optional()),\n lastname: z.preprocess((value) => (value === null ? undefined : value), z.string().default(\"\").describe(\"Last name of the contact\").optional()),\n firstname: z.preprocess((value) => (value === null ? undefined : value), z.string().default(\"\").describe(\"First name of the contact\").optional()),\n created_at: z.string().describe(\"Timestamp when the contact was originally created\").nullable(),\n}).describe(\"Response model for the updated contact in eTermin.\");\n\nexport const eterminUpdateContact = action(\"ETERMIN_UPDATE_CONTACT\", {\n slug: \"etermin-update-contact\",\n name: \"Update Contact\",\n description: \"Tool to update an existing contact in eTermin. Use when you need to modify contact details by ID after confirming it exists.\",\n input: EterminUpdateContactInput,\n output: EterminUpdateContactOutput,\n});\n"],"mappings":";;AAkBA,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlBuC,EAAE,OAAO;EAChD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;EAC5E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;EAC3E,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;EAC7E,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C;CACpF,CAAC,CAAC,CAAC,SAAS,4DAaH;CACP,QAbwC,EAAE,OAAO;EACjD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;EAC3E,OAAO,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC;EAClK,UAAU,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC;EAC9I,WAAW,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC;EAChJ,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAChG,CAAC,CAAC,CAAC,SAAS,oDAOF;AACV,CAAC"}
1
+ {"version":3,"file":"update-contact.mjs","names":[],"sources":["../../src/actions/update-contact.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminUpdateContactInput = z.object({\n email: z.string().describe(\"Updated email address of the contact\").optional(),\n lastname: z.string().describe(\"Updated last name of the contact\").optional(),\n firstname: z.string().describe(\"Updated first name of the contact\").optional(),\n contact_id: z.number().int().describe(\"Unique identifier of the contact to update\"),\n}).describe(\"Request model for updating an existing contact in eTermin.\");\nexport const EterminUpdateContactOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the contact\").nullable(),\n email: z.string().describe(\"Email address of the contact. May be empty if not provided.\").nullable().optional(),\n lastname: z.string().default(\"\").describe(\"Last name of the contact\").nullable().optional(),\n firstname: z.string().default(\"\").describe(\"First name of the contact\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the contact was originally created\").nullable(),\n}).describe(\"Response model for the updated contact in eTermin.\");\n\nexport const eterminUpdateContact = action(\"ETERMIN_UPDATE_CONTACT\", {\n slug: \"etermin-update-contact\",\n name: \"Update Contact\",\n description: \"Tool to update an existing contact in eTermin. Use when you need to modify contact details by ID after confirming it exists.\",\n input: EterminUpdateContactInput,\n output: EterminUpdateContactOutput,\n});\n"],"mappings":";;AAkBA,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlBuC,EAAE,OAAO;EAChD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;EAC5E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;EAC3E,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;EAC7E,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C;CACpF,CAAC,CAAC,CAAC,SAAS,4DAaH;CACP,QAbwC,EAAE,OAAO;EACjD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;EAC3E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9G,UAAU,EAAE,OAAO,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1F,WAAW,EAAE,OAAO,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAChG,CAAC,CAAC,CAAC,SAAS,oDAOF;AACV,CAAC"}
@@ -10,7 +10,7 @@ const EterminUpdateResourceOutput = zod.z.object({
10
10
  status: zod.z.string().describe("HTTP status code returned by the API.").nullable(),
11
11
  message: zod.z.string().describe("Status message from the API describing the result.").nullable(),
12
12
  success: zod.z.boolean().describe("Whether the update operation was successful.").nullable(),
13
- resource_id: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("The ID of the updated resource, if returned by the API.").optional())
13
+ resource_id: zod.z.string().describe("The ID of the updated resource, if returned by the API.").nullable().optional()
14
14
  }).describe("Response from updating an eTermin resource.");
15
15
  const eterminUpdateResource = require_action.action("ETERMIN_UPDATE_RESOURCE", {
16
16
  slug: "etermin-update-resource",