@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":"action.cjs","names":["etermin","executeEterminTool"],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { etermin } from \"./app\";\nimport { executeEterminTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<\n TInput extends z.ZodType,\n TOutput extends z.ZodType,\n>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: TOutput;\n },\n) {\n return etermin.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output,\n async run(input) {\n return def.output.parse(await executeEterminTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OAId,MACA,KAOA;CACA,OAAOA,YAAAA,QAAQ,OAAO;EACpB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAMC,gBAAAA,mBAAmB,MAAM,KAAgC,CAAC;EAC1F;CACF,CAAC;AACH"}
1
+ {"version":3,"file":"action.cjs","names":["etermin","executeEterminTool"],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { etermin } from \"./app\";\nimport { executeEterminTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: z.ZodType;\n },\n) {\n return etermin.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output as z.ZodTypeAny,\n async run(input) {\n return def.output.parse(await executeEterminTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAOA,YAAAA,QAAQ,OAAO;EACpB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAMC,gBAAAA,mBAAmB,MAAM,KAAgC,CAAC;EAC1F;CACF,CAAC;AACH"}
@@ -1 +1 @@
1
- {"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { etermin } from \"./app\";\nimport { executeEterminTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<\n TInput extends z.ZodType,\n TOutput extends z.ZodType,\n>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: TOutput;\n },\n) {\n return etermin.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output,\n async run(input) {\n return def.output.parse(await executeEterminTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OAId,MACA,KAOA;CACA,OAAO,QAAQ,OAAO;EACpB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAM,mBAAmB,MAAM,KAAgC,CAAC;EAC1F;CACF,CAAC;AACH"}
1
+ {"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { etermin } from \"./app\";\nimport { executeEterminTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: z.ZodType;\n },\n) {\n return etermin.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output as z.ZodTypeAny,\n async run(input) {\n return def.output.parse(await executeEterminTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAO,QAAQ,OAAO;EACpB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAM,mBAAmB,MAAM,KAAgC,CAAC;EAC1F;CACF,CAAC;AACH"}
@@ -6,9 +6,9 @@ const EterminAssignCalendarServiceInput = zod.z.object({
6
6
  calendarid: zod.z.string().describe("ID of the calendar to assign the service to. Use Get Calendars action to retrieve calendar IDs.")
7
7
  }).describe("Request model for assigning a service to a calendar in eTermin.");
8
8
  const EterminAssignCalendarServiceOutput = zod.z.object({
9
- id: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.number().int().describe("Unique identifier for the created calendar-service assignment.").optional()),
10
- serviceid: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.number().int().describe("ID of the service that was assigned to the calendar.").optional()),
11
- calendarid: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.number().int().describe("ID of the calendar that the service was assigned to.").optional())
9
+ id: zod.z.number().int().describe("Unique identifier for the created calendar-service assignment.").nullable().optional(),
10
+ serviceid: zod.z.number().int().describe("ID of the service that was assigned to the calendar.").nullable().optional(),
11
+ calendarid: zod.z.number().int().describe("ID of the calendar that the service was assigned to.").nullable().optional()
12
12
  }).describe("Response model for calendar service assignment operation in eTermin.");
13
13
  const eterminAssignCalendarService = require_action.action("ETERMIN_ASSIGN_CALENDAR_SERVICE", {
14
14
  slug: "etermin-assign-calendar-service",
@@ -1 +1 @@
1
- {"version":3,"file":"assign-calendar-service.cjs","names":["z","action"],"sources":["../../src/actions/assign-calendar-service.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminAssignCalendarServiceInput = z.object({\n serviceid: z.string().describe(\"ID of the service to assign to the calendar. Use Get Services action to retrieve service IDs.\"),\n calendarid: z.string().describe(\"ID of the calendar to assign the service to. Use Get Calendars action to retrieve calendar IDs.\"),\n}).describe(\"Request model for assigning a service to a calendar in eTermin.\");\nexport const EterminAssignCalendarServiceOutput = z.object({\n id: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"Unique identifier for the created calendar-service assignment.\").optional()),\n serviceid: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"ID of the service that was assigned to the calendar.\").optional()),\n calendarid: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"ID of the calendar that the service was assigned to.\").optional()),\n}).describe(\"Response model for calendar service assignment operation in eTermin.\");\n\nexport const eterminAssignCalendarService = action(\"ETERMIN_ASSIGN_CALENDAR_SERVICE\", {\n slug: \"etermin-assign-calendar-service\",\n name: \"Assign Calendar Service\",\n description: \"Tool to assign a service to a calendar in eTermin. Use when you need to link a specific service to a calendar/employee resource, making the service available for that calendar.\",\n input: EterminAssignCalendarServiceInput,\n output: EterminAssignCalendarServiceOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+FAA+F;CAC9H,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iGAAiG;AACnI,CAAC,CAAC,CAAC,SAAS,iEAAiE;AAC7E,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,IAAIA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC;CACxK,WAAWA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC;CACrK,YAAYA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC;AACxK,CAAC,CAAC,CAAC,SAAS,sEAAsE;AAElF,MAAa,+BAA+BC,eAAAA,OAAO,mCAAmC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"assign-calendar-service.cjs","names":["z","action"],"sources":["../../src/actions/assign-calendar-service.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminAssignCalendarServiceInput = z.object({\n serviceid: z.string().describe(\"ID of the service to assign to the calendar. Use Get Services action to retrieve service IDs.\"),\n calendarid: z.string().describe(\"ID of the calendar to assign the service to. Use Get Calendars action to retrieve calendar IDs.\"),\n}).describe(\"Request model for assigning a service to a calendar in eTermin.\");\nexport const EterminAssignCalendarServiceOutput = z.object({\n id: z.number().int().describe(\"Unique identifier for the created calendar-service assignment.\").nullable().optional(),\n serviceid: z.number().int().describe(\"ID of the service that was assigned to the calendar.\").nullable().optional(),\n calendarid: z.number().int().describe(\"ID of the calendar that the service was assigned to.\").nullable().optional(),\n}).describe(\"Response model for calendar service assignment operation in eTermin.\");\n\nexport const eterminAssignCalendarService = action(\"ETERMIN_ASSIGN_CALENDAR_SERVICE\", {\n slug: \"etermin-assign-calendar-service\",\n name: \"Assign Calendar Service\",\n description: \"Tool to assign a service to a calendar in eTermin. Use when you need to link a specific service to a calendar/employee resource, making the service available for that calendar.\",\n input: EterminAssignCalendarServiceInput,\n output: EterminAssignCalendarServiceOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+FAA+F;CAC9H,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iGAAiG;AACnI,CAAC,CAAC,CAAC,SAAS,iEAAiE;AAC7E,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpH,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpH,CAAC,CAAC,CAAC,SAAS,sEAAsE;AAElF,MAAa,+BAA+BC,eAAAA,OAAO,mCAAmC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -6,18 +6,14 @@ declare const EterminAssignCalendarServiceInput: z.ZodObject<{
6
6
  calendarid: z.ZodString;
7
7
  }, z.core.$strip>;
8
8
  declare const EterminAssignCalendarServiceOutput: z.ZodObject<{
9
- id: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
10
- serviceid: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
11
- calendarid: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
9
+ id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
10
+ serviceid: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
11
+ calendarid: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
12
12
  }, z.core.$strip>;
13
13
  declare const eterminAssignCalendarService: import("@keystrokehq/action").WorkflowActionDefinition<{
14
14
  serviceid: string;
15
15
  calendarid: string;
16
- }, {
17
- id?: number | undefined;
18
- serviceid?: number | undefined;
19
- calendarid?: number | undefined;
20
- }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
16
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
21
17
  //#endregion
22
18
  export { eterminAssignCalendarService };
23
19
  //# sourceMappingURL=assign-calendar-service.d.cts.map
@@ -6,18 +6,14 @@ declare const EterminAssignCalendarServiceInput: z.ZodObject<{
6
6
  calendarid: z.ZodString;
7
7
  }, z.core.$strip>;
8
8
  declare const EterminAssignCalendarServiceOutput: z.ZodObject<{
9
- id: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
10
- serviceid: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
11
- calendarid: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
9
+ id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
10
+ serviceid: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
11
+ calendarid: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
12
12
  }, z.core.$strip>;
13
13
  declare const eterminAssignCalendarService: import("@keystrokehq/action").WorkflowActionDefinition<{
14
14
  serviceid: string;
15
15
  calendarid: string;
16
- }, {
17
- id?: number | undefined;
18
- serviceid?: number | undefined;
19
- calendarid?: number | undefined;
20
- }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
16
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
21
17
  //#endregion
22
18
  export { eterminAssignCalendarService };
23
19
  //# sourceMappingURL=assign-calendar-service.d.mts.map
@@ -9,9 +9,9 @@ const eterminAssignCalendarService = action("ETERMIN_ASSIGN_CALENDAR_SERVICE", {
9
9
  calendarid: z.string().describe("ID of the calendar to assign the service to. Use Get Calendars action to retrieve calendar IDs.")
10
10
  }).describe("Request model for assigning a service to a calendar in eTermin."),
11
11
  output: z.object({
12
- id: z.preprocess((value) => value === null ? void 0 : value, z.number().int().describe("Unique identifier for the created calendar-service assignment.").optional()),
13
- serviceid: z.preprocess((value) => value === null ? void 0 : value, z.number().int().describe("ID of the service that was assigned to the calendar.").optional()),
14
- calendarid: z.preprocess((value) => value === null ? void 0 : value, z.number().int().describe("ID of the calendar that the service was assigned to.").optional())
12
+ id: z.number().int().describe("Unique identifier for the created calendar-service assignment.").nullable().optional(),
13
+ serviceid: z.number().int().describe("ID of the service that was assigned to the calendar.").nullable().optional(),
14
+ calendarid: z.number().int().describe("ID of the calendar that the service was assigned to.").nullable().optional()
15
15
  }).describe("Response model for calendar service assignment operation in eTermin.")
16
16
  });
17
17
  //#endregion
@@ -1 +1 @@
1
- {"version":3,"file":"assign-calendar-service.mjs","names":[],"sources":["../../src/actions/assign-calendar-service.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminAssignCalendarServiceInput = z.object({\n serviceid: z.string().describe(\"ID of the service to assign to the calendar. Use Get Services action to retrieve service IDs.\"),\n calendarid: z.string().describe(\"ID of the calendar to assign the service to. Use Get Calendars action to retrieve calendar IDs.\"),\n}).describe(\"Request model for assigning a service to a calendar in eTermin.\");\nexport const EterminAssignCalendarServiceOutput = z.object({\n id: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"Unique identifier for the created calendar-service assignment.\").optional()),\n serviceid: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"ID of the service that was assigned to the calendar.\").optional()),\n calendarid: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"ID of the calendar that the service was assigned to.\").optional()),\n}).describe(\"Response model for calendar service assignment operation in eTermin.\");\n\nexport const eterminAssignCalendarService = action(\"ETERMIN_ASSIGN_CALENDAR_SERVICE\", {\n slug: \"etermin-assign-calendar-service\",\n name: \"Assign Calendar Service\",\n description: \"Tool to assign a service to a calendar in eTermin. Use when you need to link a specific service to a calendar/employee resource, making the service available for that calendar.\",\n input: EterminAssignCalendarServiceInput,\n output: EterminAssignCalendarServiceOutput,\n});\n"],"mappings":";;AAcA,MAAa,+BAA+B,OAAO,mCAAmC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAd+C,EAAE,OAAO;EACxD,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,+FAA+F;EAC9H,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,iGAAiG;CACnI,CAAC,CAAC,CAAC,SAAS,iEAWH;CACP,QAXgD,EAAE,OAAO;EACzD,IAAI,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC;EACxK,WAAW,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC;EACrK,YAAY,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC;CACxK,CAAC,CAAC,CAAC,SAAS,sEAOF;AACV,CAAC"}
1
+ {"version":3,"file":"assign-calendar-service.mjs","names":[],"sources":["../../src/actions/assign-calendar-service.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminAssignCalendarServiceInput = z.object({\n serviceid: z.string().describe(\"ID of the service to assign to the calendar. Use Get Services action to retrieve service IDs.\"),\n calendarid: z.string().describe(\"ID of the calendar to assign the service to. Use Get Calendars action to retrieve calendar IDs.\"),\n}).describe(\"Request model for assigning a service to a calendar in eTermin.\");\nexport const EterminAssignCalendarServiceOutput = z.object({\n id: z.number().int().describe(\"Unique identifier for the created calendar-service assignment.\").nullable().optional(),\n serviceid: z.number().int().describe(\"ID of the service that was assigned to the calendar.\").nullable().optional(),\n calendarid: z.number().int().describe(\"ID of the calendar that the service was assigned to.\").nullable().optional(),\n}).describe(\"Response model for calendar service assignment operation in eTermin.\");\n\nexport const eterminAssignCalendarService = action(\"ETERMIN_ASSIGN_CALENDAR_SERVICE\", {\n slug: \"etermin-assign-calendar-service\",\n name: \"Assign Calendar Service\",\n description: \"Tool to assign a service to a calendar in eTermin. Use when you need to link a specific service to a calendar/employee resource, making the service available for that calendar.\",\n input: EterminAssignCalendarServiceInput,\n output: EterminAssignCalendarServiceOutput,\n});\n"],"mappings":";;AAcA,MAAa,+BAA+B,OAAO,mCAAmC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAd+C,EAAE,OAAO;EACxD,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,+FAA+F;EAC9H,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,iGAAiG;CACnI,CAAC,CAAC,CAAC,SAAS,iEAWH;CACP,QAXgD,EAAE,OAAO;EACzD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpH,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjH,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpH,CAAC,CAAC,CAAC,SAAS,sEAOF;AACV,CAAC"}
@@ -11,9 +11,9 @@ const EterminCreateAbsenceInput = zod.z.object({
11
11
  dynamicdaysduration: zod.z.number().int().describe("Number of days for the dynamic absence to last (nwtype has to be 1).").optional()
12
12
  }).describe("Request model for creating an absence (non-working time) in eTermin.");
13
13
  const EterminCreateAbsenceOutput = zod.z.object({
14
- id: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.number().int().describe("Unique identifier of the created absence entry").optional()),
15
- status: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.number().int().describe("HTTP status code of the response").optional()),
16
- statusmsg: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Status message describing the result of the operation").optional())
14
+ id: zod.z.number().int().describe("Unique identifier of the created absence entry").nullable().optional(),
15
+ status: zod.z.number().int().describe("HTTP status code of the response").nullable().optional(),
16
+ statusmsg: zod.z.string().describe("Status message describing the result of the operation").nullable().optional()
17
17
  }).passthrough().describe("Response model for creating an absence in eTermin.");
18
18
  const eterminCreateAbsence = require_action.action("ETERMIN_CREATE_ABSENCE", {
19
19
  slug: "etermin-create-absence",
@@ -1 +1 @@
1
- {"version":3,"file":"create-absence.cjs","names":["z","action"],"sources":["../../src/actions/create-absence.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminCreateAbsenceInput = z.object({\n nwtype: z.boolean().describe(\"Indicates if the absence is dynamic.\").optional(),\n reason: z.string().describe(\"Reason or note for the absence.\").optional(),\n enddate: z.string().describe(\"End time of the absence. Format: yyyy-mm-dd HH:MM e.g. 2017-10-24 18:00\"),\n startdate: z.string().describe(\"Start time of the absence. Format: yyyy-mm-dd HH:MM e.g. 2017-10-24 18:00\"),\n dynamicdays: z.number().int().describe(\"Number of days for the dynamic absence to begin (nwtype has to be 1).\").optional(),\n appcalendarid: z.number().int().describe(\"ID of the calendar. Use the \\\"Get Calendars\\\" action to get a list with all available calendars.\"),\n dynamicdaysduration: z.number().int().describe(\"Number of days for the dynamic absence to last (nwtype has to be 1).\").optional(),\n}).describe(\"Request model for creating an absence (non-working time) in eTermin.\");\nexport const EterminCreateAbsenceOutput = z.object({\n id: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"Unique identifier of the created absence entry\").optional()),\n status: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"HTTP status code of the response\").optional()),\n statusmsg: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Status message describing the result of the operation\").optional()),\n}).passthrough().describe(\"Response model for creating an absence in eTermin.\");\n\nexport const eterminCreateAbsence = action(\"ETERMIN_CREATE_ABSENCE\", {\n slug: \"etermin-create-absence\",\n name: \"Create Absence\",\n description: \"Tool to create an absence (non-working time) for a specific calendar. Use when you need to block time on a calendar for unavailability such as vacations, sick leave, or other non-working periods.\",\n input: EterminCreateAbsenceInput,\n output: EterminCreateAbsenceOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAC9E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACxE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE;CACtG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E;CAC1G,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;CACzH,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kGAAkG;CAC3I,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;AAClI,CAAC,CAAC,CAAC,SAAS,sEAAsE;AAClF,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,IAAIA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC;CACxJ,QAAQA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC;CAC9I,WAAWA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC;AAClK,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAAoD;AAE9E,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"create-absence.cjs","names":["z","action"],"sources":["../../src/actions/create-absence.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminCreateAbsenceInput = z.object({\n nwtype: z.boolean().describe(\"Indicates if the absence is dynamic.\").optional(),\n reason: z.string().describe(\"Reason or note for the absence.\").optional(),\n enddate: z.string().describe(\"End time of the absence. Format: yyyy-mm-dd HH:MM e.g. 2017-10-24 18:00\"),\n startdate: z.string().describe(\"Start time of the absence. Format: yyyy-mm-dd HH:MM e.g. 2017-10-24 18:00\"),\n dynamicdays: z.number().int().describe(\"Number of days for the dynamic absence to begin (nwtype has to be 1).\").optional(),\n appcalendarid: z.number().int().describe(\"ID of the calendar. Use the \\\"Get Calendars\\\" action to get a list with all available calendars.\"),\n dynamicdaysduration: z.number().int().describe(\"Number of days for the dynamic absence to last (nwtype has to be 1).\").optional(),\n}).describe(\"Request model for creating an absence (non-working time) in eTermin.\");\nexport const EterminCreateAbsenceOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the created absence entry\").nullable().optional(),\n status: z.number().int().describe(\"HTTP status code of the response\").nullable().optional(),\n statusmsg: z.string().describe(\"Status message describing the result of the operation\").nullable().optional(),\n}).passthrough().describe(\"Response model for creating an absence in eTermin.\");\n\nexport const eterminCreateAbsence = action(\"ETERMIN_CREATE_ABSENCE\", {\n slug: \"etermin-create-absence\",\n name: \"Create Absence\",\n description: \"Tool to create an absence (non-working time) for a specific calendar. Use when you need to block time on a calendar for unavailability such as vacations, sick leave, or other non-working periods.\",\n input: EterminCreateAbsenceInput,\n output: EterminCreateAbsenceOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAC9E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACxE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE;CACtG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E;CAC1G,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;CACzH,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kGAAkG;CAC3I,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;AAClI,CAAC,CAAC,CAAC,SAAS,sEAAsE;AAClF,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAAoD;AAE9E,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -11,9 +11,9 @@ declare const EterminCreateAbsenceInput: z.ZodObject<{
11
11
  dynamicdaysduration: z.ZodOptional<z.ZodNumber>;
12
12
  }, z.core.$strip>;
13
13
  declare const EterminCreateAbsenceOutput: z.ZodObject<{
14
- id: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
15
- status: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
16
- statusmsg: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
14
+ id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
15
+ status: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
16
+ statusmsg: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
17
  }, z.core.$loose>;
18
18
  declare const eterminCreateAbsence: import("@keystrokehq/action").WorkflowActionDefinition<{
19
19
  enddate: string;
@@ -23,12 +23,7 @@ declare const eterminCreateAbsence: import("@keystrokehq/action").WorkflowAction
23
23
  reason?: string | undefined;
24
24
  dynamicdays?: number | undefined;
25
25
  dynamicdaysduration?: number | undefined;
26
- }, {
27
- [x: string]: unknown;
28
- id?: number | undefined;
29
- status?: number | undefined;
30
- statusmsg?: string | undefined;
31
- }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
26
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
32
27
  //#endregion
33
28
  export { eterminCreateAbsence };
34
29
  //# sourceMappingURL=create-absence.d.cts.map
@@ -11,9 +11,9 @@ declare const EterminCreateAbsenceInput: z.ZodObject<{
11
11
  dynamicdaysduration: z.ZodOptional<z.ZodNumber>;
12
12
  }, z.core.$strip>;
13
13
  declare const EterminCreateAbsenceOutput: z.ZodObject<{
14
- id: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
15
- status: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
16
- statusmsg: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
14
+ id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
15
+ status: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
16
+ statusmsg: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
17
  }, z.core.$loose>;
18
18
  declare const eterminCreateAbsence: import("@keystrokehq/action").WorkflowActionDefinition<{
19
19
  enddate: string;
@@ -23,12 +23,7 @@ declare const eterminCreateAbsence: import("@keystrokehq/action").WorkflowAction
23
23
  reason?: string | undefined;
24
24
  dynamicdays?: number | undefined;
25
25
  dynamicdaysduration?: number | undefined;
26
- }, {
27
- [x: string]: unknown;
28
- id?: number | undefined;
29
- status?: number | undefined;
30
- statusmsg?: string | undefined;
31
- }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
26
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
32
27
  //#endregion
33
28
  export { eterminCreateAbsence };
34
29
  //# sourceMappingURL=create-absence.d.mts.map
@@ -14,9 +14,9 @@ const eterminCreateAbsence = action("ETERMIN_CREATE_ABSENCE", {
14
14
  dynamicdaysduration: z.number().int().describe("Number of days for the dynamic absence to last (nwtype has to be 1).").optional()
15
15
  }).describe("Request model for creating an absence (non-working time) in eTermin."),
16
16
  output: z.object({
17
- id: z.preprocess((value) => value === null ? void 0 : value, z.number().int().describe("Unique identifier of the created absence entry").optional()),
18
- status: z.preprocess((value) => value === null ? void 0 : value, z.number().int().describe("HTTP status code of the response").optional()),
19
- statusmsg: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Status message describing the result of the operation").optional())
17
+ id: z.number().int().describe("Unique identifier of the created absence entry").nullable().optional(),
18
+ status: z.number().int().describe("HTTP status code of the response").nullable().optional(),
19
+ statusmsg: z.string().describe("Status message describing the result of the operation").nullable().optional()
20
20
  }).passthrough().describe("Response model for creating an absence in eTermin.")
21
21
  });
22
22
  //#endregion
@@ -1 +1 @@
1
- {"version":3,"file":"create-absence.mjs","names":[],"sources":["../../src/actions/create-absence.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminCreateAbsenceInput = z.object({\n nwtype: z.boolean().describe(\"Indicates if the absence is dynamic.\").optional(),\n reason: z.string().describe(\"Reason or note for the absence.\").optional(),\n enddate: z.string().describe(\"End time of the absence. Format: yyyy-mm-dd HH:MM e.g. 2017-10-24 18:00\"),\n startdate: z.string().describe(\"Start time of the absence. Format: yyyy-mm-dd HH:MM e.g. 2017-10-24 18:00\"),\n dynamicdays: z.number().int().describe(\"Number of days for the dynamic absence to begin (nwtype has to be 1).\").optional(),\n appcalendarid: z.number().int().describe(\"ID of the calendar. Use the \\\"Get Calendars\\\" action to get a list with all available calendars.\"),\n dynamicdaysduration: z.number().int().describe(\"Number of days for the dynamic absence to last (nwtype has to be 1).\").optional(),\n}).describe(\"Request model for creating an absence (non-working time) in eTermin.\");\nexport const EterminCreateAbsenceOutput = z.object({\n id: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"Unique identifier of the created absence entry\").optional()),\n status: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"HTTP status code of the response\").optional()),\n statusmsg: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Status message describing the result of the operation\").optional()),\n}).passthrough().describe(\"Response model for creating an absence in eTermin.\");\n\nexport const eterminCreateAbsence = action(\"ETERMIN_CREATE_ABSENCE\", {\n slug: \"etermin-create-absence\",\n name: \"Create Absence\",\n description: \"Tool to create an absence (non-working time) for a specific calendar. Use when you need to block time on a calendar for unavailability such as vacations, sick leave, or other non-working periods.\",\n input: EterminCreateAbsenceInput,\n output: EterminCreateAbsenceOutput,\n});\n"],"mappings":";;AAmBA,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAnBuC,EAAE,OAAO;EAChD,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;EAC9E,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;EACxE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE;EACtG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E;EAC1G,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;EACzH,eAAe,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kGAAkG;EAC3I,qBAAqB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;CAClI,CAAC,CAAC,CAAC,SAAS,sEAWH;CACP,QAXwC,EAAE,OAAO;EACjD,IAAI,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC;EACxJ,QAAQ,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC;EAC9I,WAAW,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC;CAClK,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"create-absence.mjs","names":[],"sources":["../../src/actions/create-absence.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminCreateAbsenceInput = z.object({\n nwtype: z.boolean().describe(\"Indicates if the absence is dynamic.\").optional(),\n reason: z.string().describe(\"Reason or note for the absence.\").optional(),\n enddate: z.string().describe(\"End time of the absence. Format: yyyy-mm-dd HH:MM e.g. 2017-10-24 18:00\"),\n startdate: z.string().describe(\"Start time of the absence. Format: yyyy-mm-dd HH:MM e.g. 2017-10-24 18:00\"),\n dynamicdays: z.number().int().describe(\"Number of days for the dynamic absence to begin (nwtype has to be 1).\").optional(),\n appcalendarid: z.number().int().describe(\"ID of the calendar. Use the \\\"Get Calendars\\\" action to get a list with all available calendars.\"),\n dynamicdaysduration: z.number().int().describe(\"Number of days for the dynamic absence to last (nwtype has to be 1).\").optional(),\n}).describe(\"Request model for creating an absence (non-working time) in eTermin.\");\nexport const EterminCreateAbsenceOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the created absence entry\").nullable().optional(),\n status: z.number().int().describe(\"HTTP status code of the response\").nullable().optional(),\n statusmsg: z.string().describe(\"Status message describing the result of the operation\").nullable().optional(),\n}).passthrough().describe(\"Response model for creating an absence in eTermin.\");\n\nexport const eterminCreateAbsence = action(\"ETERMIN_CREATE_ABSENCE\", {\n slug: \"etermin-create-absence\",\n name: \"Create Absence\",\n description: \"Tool to create an absence (non-working time) for a specific calendar. Use when you need to block time on a calendar for unavailability such as vacations, sick leave, or other non-working periods.\",\n input: EterminCreateAbsenceInput,\n output: EterminCreateAbsenceOutput,\n});\n"],"mappings":";;AAmBA,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAnBuC,EAAE,OAAO;EAChD,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;EAC9E,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;EACxE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE;EACtG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E;EAC1G,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;EACzH,eAAe,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kGAAkG;EAC3I,qBAAqB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;CAClI,CAAC,CAAC,CAAC,SAAS,sEAWH;CACP,QAXwC,EAAE,OAAO;EACjD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpG,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAOhB;AACV,CAAC"}
@@ -16,10 +16,7 @@ declare const eterminCreateAnchortimeByDate: import("@keystrokehq/action").Workf
16
16
  calendarid: number;
17
17
  ignoreonceappbooked: boolean;
18
18
  reason?: string | undefined;
19
- }, {
20
- message: string | null;
21
- success: boolean | null;
22
- }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
19
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
23
20
  //#endregion
24
21
  export { eterminCreateAnchortimeByDate };
25
22
  //# sourceMappingURL=create-anchortime-by-date.d.cts.map
@@ -16,10 +16,7 @@ declare const eterminCreateAnchortimeByDate: import("@keystrokehq/action").Workf
16
16
  calendarid: number;
17
17
  ignoreonceappbooked: boolean;
18
18
  reason?: string | undefined;
19
- }, {
20
- message: string | null;
21
- success: boolean | null;
22
- }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
19
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
23
20
  //#endregion
24
21
  export { eterminCreateAnchortimeByDate };
25
22
  //# sourceMappingURL=create-anchortime-by-date.d.mts.map
@@ -12,14 +12,11 @@ declare const EterminCreateAnchortimeOutput: z.ZodObject<{
12
12
  success: z.ZodNullable<z.ZodBoolean>;
13
13
  }, z.core.$strip>;
14
14
  declare const eterminCreateAnchortime: import("@keystrokehq/action").WorkflowActionDefinition<{
15
- weekday: 1 | 3 | 2 | 4 | 5 | 6 | 7;
15
+ weekday: 2 | 1 | 4 | 3 | 5 | 6 | 7;
16
16
  starttime: string;
17
17
  calendarid: number;
18
18
  ignoreonceappbooked: boolean;
19
- }, {
20
- message: string | null;
21
- success: boolean | null;
22
- }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
19
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
23
20
  //#endregion
24
21
  export { eterminCreateAnchortime };
25
22
  //# sourceMappingURL=create-anchortime.d.cts.map
@@ -12,14 +12,11 @@ declare const EterminCreateAnchortimeOutput: z.ZodObject<{
12
12
  success: z.ZodNullable<z.ZodBoolean>;
13
13
  }, z.core.$strip>;
14
14
  declare const eterminCreateAnchortime: import("@keystrokehq/action").WorkflowActionDefinition<{
15
- weekday: 1 | 3 | 2 | 4 | 5 | 6 | 7;
15
+ weekday: 2 | 1 | 4 | 3 | 5 | 6 | 7;
16
16
  starttime: string;
17
17
  calendarid: number;
18
18
  ignoreonceappbooked: boolean;
19
- }, {
20
- message: string | null;
21
- success: boolean | null;
22
- }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
19
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
23
20
  //#endregion
24
21
  export { eterminCreateAnchortime };
25
22
  //# sourceMappingURL=create-anchortime.d.mts.map
@@ -20,7 +20,7 @@ const EterminCreateAppointmentSyncInput = zod.z.object({
20
20
  const EterminCreateAppointmentSyncOutput = zod.z.object({
21
21
  message: zod.z.string().describe("Status message describing the result of the operation").nullable(),
22
22
  success: zod.z.boolean().describe("Indicates whether the appointment was successfully created").nullable(),
23
- appointment_id: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("The ID of the created appointment, if available").optional())
23
+ appointment_id: zod.z.string().describe("The ID of the created appointment, if available").nullable().optional()
24
24
  }).describe("Response model for creating an appointment via sync in eTermin.");
25
25
  const eterminCreateAppointmentSync = require_action.action("ETERMIN_CREATE_APPOINTMENT_SYNC", {
26
26
  slug: "etermin-create-appointment-sync",
@@ -1 +1 @@
1
- {"version":3,"file":"create-appointment-sync.cjs","names":["z","action"],"sources":["../../src/actions/create-appointment-sync.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminCreateAppointmentSyncInput = z.object({\n end: z.string().describe(\"End date and time of the appointment in local timezone. Format: yyyy-mm-dd HH:MM (e.g., 2024-12-01 11:00)\"),\n email: z.string().describe(\"Email address for the appointment participant\").optional(),\n start: z.string().describe(\"Start date and time of the appointment in local timezone. Format: yyyy-mm-dd HH:MM (e.g., 2024-12-01 10:00)\"),\n endutc: z.string().describe(\"End date and time of the appointment in UTC. Format: yyyy-mm-dd HH:MM (e.g., 2024-12-01 10:00)\"),\n summary: z.string().describe(\"Title or subject of the appointment\"),\n location: z.string().describe(\"Physical location of the appointment\").optional(),\n sequence: z.string().describe(\"Sequence number of the recurring appointment. Leave empty if not a recurring appointment\").optional(),\n startutc: z.string().describe(\"Start date and time of the appointment in UTC. Format: yyyy-mm-dd HH:MM (e.g., 2024-12-01 09:00)\"),\n sendemail: z.boolean().describe(\"Send a confirmation email to the specified email address (true = yes, false = no)\").optional(),\n calendarid: z.number().int().describe(\"ID of the calendar where the appointment will be created\"),\n description: z.string().describe(\"Body text or detailed description of the appointment\"),\n appointmentid: z.string().describe(\"ID of the appointment for synchronization\"),\n recurrencerule: z.string().describe(\"Recurrence rule for recurring appointments (e.g., RRULE format)\").optional(),\n recurrenceparentid: z.string().describe(\"ID of the parent recurring appointment if this is part of a recurring series\").optional(),\n}).describe(\"Request model for creating an appointment via sync in eTermin.\\nAll date/time fields must use format: yyyy-mm-dd HH:MM (e.g., 2024-12-01 10:00).\");\nexport const EterminCreateAppointmentSyncOutput = z.object({\n message: z.string().describe(\"Status message describing the result of the operation\").nullable(),\n success: z.boolean().describe(\"Indicates whether the appointment was successfully created\").nullable(),\n appointment_id: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"The ID of the created appointment, if available\").optional()),\n}).describe(\"Response model for creating an appointment via sync in eTermin.\");\n\nexport const eterminCreateAppointmentSync = action(\"ETERMIN_CREATE_APPOINTMENT_SYNC\", {\n slug: \"etermin-create-appointment-sync\",\n name: \"Create Appointment via Sync\",\n description: \"Tool to create an appointment via sync in eTermin. Use when you need to synchronize an appointment from an external calendar system. Requires date/time in both local and UTC formats along with calendar ID, summary, and description.\",\n input: EterminCreateAppointmentSyncInput,\n output: EterminCreateAppointmentSyncOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2GAA2G;CACpI,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CACrF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6GAA6G;CACxI,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gGAAgG;CAC5H,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;CAClE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAC/E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;CACnI,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kGAAkG;CAChI,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS;CAC9H,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0DAA0D;CAChG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;CACvF,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;CAC9E,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;CAChH,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS;AACnI,CAAC,CAAC,CAAC,SAAS,kJAAkJ;AAC9J,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CAC/F,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CACrG,gBAAgBA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC;AACjK,CAAC,CAAC,CAAC,SAAS,iEAAiE;AAE7E,MAAa,+BAA+BC,eAAAA,OAAO,mCAAmC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"create-appointment-sync.cjs","names":["z","action"],"sources":["../../src/actions/create-appointment-sync.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminCreateAppointmentSyncInput = z.object({\n end: z.string().describe(\"End date and time of the appointment in local timezone. Format: yyyy-mm-dd HH:MM (e.g., 2024-12-01 11:00)\"),\n email: z.string().describe(\"Email address for the appointment participant\").optional(),\n start: z.string().describe(\"Start date and time of the appointment in local timezone. Format: yyyy-mm-dd HH:MM (e.g., 2024-12-01 10:00)\"),\n endutc: z.string().describe(\"End date and time of the appointment in UTC. Format: yyyy-mm-dd HH:MM (e.g., 2024-12-01 10:00)\"),\n summary: z.string().describe(\"Title or subject of the appointment\"),\n location: z.string().describe(\"Physical location of the appointment\").optional(),\n sequence: z.string().describe(\"Sequence number of the recurring appointment. Leave empty if not a recurring appointment\").optional(),\n startutc: z.string().describe(\"Start date and time of the appointment in UTC. Format: yyyy-mm-dd HH:MM (e.g., 2024-12-01 09:00)\"),\n sendemail: z.boolean().describe(\"Send a confirmation email to the specified email address (true = yes, false = no)\").optional(),\n calendarid: z.number().int().describe(\"ID of the calendar where the appointment will be created\"),\n description: z.string().describe(\"Body text or detailed description of the appointment\"),\n appointmentid: z.string().describe(\"ID of the appointment for synchronization\"),\n recurrencerule: z.string().describe(\"Recurrence rule for recurring appointments (e.g., RRULE format)\").optional(),\n recurrenceparentid: z.string().describe(\"ID of the parent recurring appointment if this is part of a recurring series\").optional(),\n}).describe(\"Request model for creating an appointment via sync in eTermin.\\nAll date/time fields must use format: yyyy-mm-dd HH:MM (e.g., 2024-12-01 10:00).\");\nexport const EterminCreateAppointmentSyncOutput = z.object({\n message: z.string().describe(\"Status message describing the result of the operation\").nullable(),\n success: z.boolean().describe(\"Indicates whether the appointment was successfully created\").nullable(),\n appointment_id: z.string().describe(\"The ID of the created appointment, if available\").nullable().optional(),\n}).describe(\"Response model for creating an appointment via sync in eTermin.\");\n\nexport const eterminCreateAppointmentSync = action(\"ETERMIN_CREATE_APPOINTMENT_SYNC\", {\n slug: \"etermin-create-appointment-sync\",\n name: \"Create Appointment via Sync\",\n description: \"Tool to create an appointment via sync in eTermin. Use when you need to synchronize an appointment from an external calendar system. Requires date/time in both local and UTC formats along with calendar ID, summary, and description.\",\n input: EterminCreateAppointmentSyncInput,\n output: EterminCreateAppointmentSyncOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2GAA2G;CACpI,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CACrF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6GAA6G;CACxI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Q;AACV,CAAC"}
@@ -20,7 +20,7 @@ declare const EterminCreateAppointmentSyncInput: z.ZodObject<{
20
20
  declare const EterminCreateAppointmentSyncOutput: z.ZodObject<{
21
21
  message: z.ZodNullable<z.ZodString>;
22
22
  success: z.ZodNullable<z.ZodBoolean>;
23
- appointment_id: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
23
+ appointment_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
24
  }, z.core.$strip>;
25
25
  declare const eterminCreateAppointmentSync: import("@keystrokehq/action").WorkflowActionDefinition<{
26
26
  end: string;
@@ -37,11 +37,7 @@ declare const eterminCreateAppointmentSync: import("@keystrokehq/action").Workfl
37
37
  sendemail?: boolean | undefined;
38
38
  recurrencerule?: string | undefined;
39
39
  recurrenceparentid?: string | undefined;
40
- }, {
41
- message: string | null;
42
- success: boolean | null;
43
- appointment_id?: string | undefined;
44
- }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
40
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
45
41
  //#endregion
46
42
  export { eterminCreateAppointmentSync };
47
43
  //# sourceMappingURL=create-appointment-sync.d.cts.map
@@ -20,7 +20,7 @@ declare const EterminCreateAppointmentSyncInput: z.ZodObject<{
20
20
  declare const EterminCreateAppointmentSyncOutput: z.ZodObject<{
21
21
  message: z.ZodNullable<z.ZodString>;
22
22
  success: z.ZodNullable<z.ZodBoolean>;
23
- appointment_id: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
23
+ appointment_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
24
  }, z.core.$strip>;
25
25
  declare const eterminCreateAppointmentSync: import("@keystrokehq/action").WorkflowActionDefinition<{
26
26
  end: string;
@@ -37,11 +37,7 @@ declare const eterminCreateAppointmentSync: import("@keystrokehq/action").Workfl
37
37
  sendemail?: boolean | undefined;
38
38
  recurrencerule?: string | undefined;
39
39
  recurrenceparentid?: string | undefined;
40
- }, {
41
- message: string | null;
42
- success: boolean | null;
43
- appointment_id?: string | undefined;
44
- }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
40
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
45
41
  //#endregion
46
42
  export { eterminCreateAppointmentSync };
47
43
  //# sourceMappingURL=create-appointment-sync.d.mts.map
@@ -23,7 +23,7 @@ const eterminCreateAppointmentSync = action("ETERMIN_CREATE_APPOINTMENT_SYNC", {
23
23
  output: z.object({
24
24
  message: z.string().describe("Status message describing the result of the operation").nullable(),
25
25
  success: z.boolean().describe("Indicates whether the appointment was successfully created").nullable(),
26
- appointment_id: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("The ID of the created appointment, if available").optional())
26
+ appointment_id: z.string().describe("The ID of the created appointment, if available").nullable().optional()
27
27
  }).describe("Response model for creating an appointment via sync in eTermin.")
28
28
  });
29
29
  //#endregion
@@ -1 +1 @@
1
- {"version":3,"file":"create-appointment-sync.mjs","names":[],"sources":["../../src/actions/create-appointment-sync.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminCreateAppointmentSyncInput = z.object({\n end: z.string().describe(\"End date and time of the appointment in local timezone. Format: yyyy-mm-dd HH:MM (e.g., 2024-12-01 11:00)\"),\n email: z.string().describe(\"Email address for the appointment participant\").optional(),\n start: z.string().describe(\"Start date and time of the appointment in local timezone. Format: yyyy-mm-dd HH:MM (e.g., 2024-12-01 10:00)\"),\n endutc: z.string().describe(\"End date and time of the appointment in UTC. Format: yyyy-mm-dd HH:MM (e.g., 2024-12-01 10:00)\"),\n summary: z.string().describe(\"Title or subject of the appointment\"),\n location: z.string().describe(\"Physical location of the appointment\").optional(),\n sequence: z.string().describe(\"Sequence number of the recurring appointment. Leave empty if not a recurring appointment\").optional(),\n startutc: z.string().describe(\"Start date and time of the appointment in UTC. Format: yyyy-mm-dd HH:MM (e.g., 2024-12-01 09:00)\"),\n sendemail: z.boolean().describe(\"Send a confirmation email to the specified email address (true = yes, false = no)\").optional(),\n calendarid: z.number().int().describe(\"ID of the calendar where the appointment will be created\"),\n description: z.string().describe(\"Body text or detailed description of the appointment\"),\n appointmentid: z.string().describe(\"ID of the appointment for synchronization\"),\n recurrencerule: z.string().describe(\"Recurrence rule for recurring appointments (e.g., RRULE format)\").optional(),\n recurrenceparentid: z.string().describe(\"ID of the parent recurring appointment if this is part of a recurring series\").optional(),\n}).describe(\"Request model for creating an appointment via sync in eTermin.\\nAll date/time fields must use format: yyyy-mm-dd HH:MM (e.g., 2024-12-01 10:00).\");\nexport const EterminCreateAppointmentSyncOutput = z.object({\n message: z.string().describe(\"Status message describing the result of the operation\").nullable(),\n success: z.boolean().describe(\"Indicates whether the appointment was successfully created\").nullable(),\n appointment_id: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"The ID of the created appointment, if available\").optional()),\n}).describe(\"Response model for creating an appointment via sync in eTermin.\");\n\nexport const eterminCreateAppointmentSync = action(\"ETERMIN_CREATE_APPOINTMENT_SYNC\", {\n slug: \"etermin-create-appointment-sync\",\n name: \"Create Appointment via Sync\",\n description: \"Tool to create an appointment via sync in eTermin. Use when you need to synchronize an appointment from an external calendar system. Requires date/time in both local and UTC formats along with calendar ID, summary, and description.\",\n input: EterminCreateAppointmentSyncInput,\n output: EterminCreateAppointmentSyncOutput,\n});\n"],"mappings":";;AA0BA,MAAa,+BAA+B,OAAO,mCAAmC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA1B+C,EAAE,OAAO;EACxD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,2GAA2G;EACpI,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;EACrF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,6GAA6G;EACxI,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,gGAAgG;EAC5H,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;EAClE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;EAC/E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;EACnI,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,kGAAkG;EAChI,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS;EAC9H,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0DAA0D;EAChG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;EACvF,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;EAC9E,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;EAChH,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS;CACnI,CAAC,CAAC,CAAC,SAAS,kJAWH;CACP,QAXgD,EAAE,OAAO;EACzD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;EAC/F,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;EACrG,gBAAgB,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC;CACjK,CAAC,CAAC,CAAC,SAAS,iEAOF;AACV,CAAC"}
1
+ {"version":3,"file":"create-appointment-sync.mjs","names":[],"sources":["../../src/actions/create-appointment-sync.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminCreateAppointmentSyncInput = z.object({\n end: z.string().describe(\"End date and time of the appointment in local timezone. Format: yyyy-mm-dd HH:MM (e.g., 2024-12-01 11:00)\"),\n email: z.string().describe(\"Email address for the appointment participant\").optional(),\n start: z.string().describe(\"Start date and time of the appointment in local timezone. Format: yyyy-mm-dd HH:MM (e.g., 2024-12-01 10:00)\"),\n endutc: z.string().describe(\"End date and time of the appointment in UTC. Format: yyyy-mm-dd HH:MM (e.g., 2024-12-01 10:00)\"),\n summary: z.string().describe(\"Title or subject of the appointment\"),\n location: z.string().describe(\"Physical location of the appointment\").optional(),\n sequence: z.string().describe(\"Sequence number of the recurring appointment. Leave empty if not a recurring appointment\").optional(),\n startutc: z.string().describe(\"Start date and time of the appointment in UTC. Format: yyyy-mm-dd HH:MM (e.g., 2024-12-01 09:00)\"),\n sendemail: z.boolean().describe(\"Send a confirmation email to the specified email address (true = yes, false = no)\").optional(),\n calendarid: z.number().int().describe(\"ID of the calendar where the appointment will be created\"),\n description: z.string().describe(\"Body text or detailed description of the appointment\"),\n appointmentid: z.string().describe(\"ID of the appointment for synchronization\"),\n recurrencerule: z.string().describe(\"Recurrence rule for recurring appointments (e.g., RRULE format)\").optional(),\n recurrenceparentid: z.string().describe(\"ID of the parent recurring appointment if this is part of a recurring series\").optional(),\n}).describe(\"Request model for creating an appointment via sync in eTermin.\\nAll date/time fields must use format: yyyy-mm-dd HH:MM (e.g., 2024-12-01 10:00).\");\nexport const EterminCreateAppointmentSyncOutput = z.object({\n message: z.string().describe(\"Status message describing the result of the operation\").nullable(),\n success: z.boolean().describe(\"Indicates whether the appointment was successfully created\").nullable(),\n appointment_id: z.string().describe(\"The ID of the created appointment, if available\").nullable().optional(),\n}).describe(\"Response model for creating an appointment via sync in eTermin.\");\n\nexport const eterminCreateAppointmentSync = action(\"ETERMIN_CREATE_APPOINTMENT_SYNC\", {\n slug: \"etermin-create-appointment-sync\",\n name: \"Create Appointment via Sync\",\n description: \"Tool to create an appointment via sync in eTermin. Use when you need to synchronize an appointment from an external calendar system. Requires date/time in both local and UTC formats along with calendar ID, summary, and description.\",\n input: EterminCreateAppointmentSyncInput,\n output: EterminCreateAppointmentSyncOutput,\n});\n"],"mappings":";;AA0BA,MAAa,+BAA+B,OAAO,mCAAmC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA1B+C,EAAE,OAAO;EACxD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,2GAA2G;EACpI,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;EACrF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,6GAA6G;EACxI,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,gGAAgG;EAC5H,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;EAClE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;EAC/E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;EACnI,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,kGAAkG;EAChI,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS;EAC9H,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0DAA0D;EAChG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;EACvF,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;EAC9E,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;EAChH,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS;CACnI,CAAC,CAAC,CAAC,SAAS,kJAWH;CACP,QAXgD,EAAE,OAAO;EACzD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;EAC/F,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;EACrG,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,CAAC,CAAC,CAAC,SAAS,iEAOF;AACV,CAAC"}
@@ -76,12 +76,12 @@ const EterminCreateAppointmentInput = zod.z.object({
76
76
  feedbackpermissionaccepted: zod.z.boolean().describe("True if the customer should get a feedback email").optional()
77
77
  }).describe("Request model for creating a new appointment in eTermin.");
78
78
  const EterminCreateAppointmentOutput = zod.z.object({
79
- ID: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Unique identifier (UUID) of the created appointment").optional()),
80
- IID: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.number().int().describe("Internal integer ID of the created appointment").optional()),
81
- IIDE: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Encoded internal ID of the created appointment").optional()),
82
- Status: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.number().int().describe("HTTP status code of the response").optional()),
83
- StatusMsg: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Status message describing the result").optional()),
84
- AdditionalInformation: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Additional information about the created appointment").optional())
79
+ ID: zod.z.string().describe("Unique identifier (UUID) of the created appointment").nullable().optional(),
80
+ IID: zod.z.number().int().describe("Internal integer ID of the created appointment").nullable().optional(),
81
+ IIDE: zod.z.string().describe("Encoded internal ID of the created appointment").nullable().optional(),
82
+ Status: zod.z.number().int().describe("HTTP status code of the response").nullable().optional(),
83
+ StatusMsg: zod.z.string().describe("Status message describing the result").nullable().optional(),
84
+ AdditionalInformation: zod.z.string().describe("Additional information about the created appointment").nullable().optional()
85
85
  }).describe("Response model for a newly created appointment in eTermin.");
86
86
  const eterminCreateAppointment = require_action.action("ETERMIN_CREATE_APPOINTMENT", {
87
87
  slug: "etermin-create-appointment",
@@ -1 +1 @@
1
- {"version":3,"file":"create-appointment.cjs","names":["z","action"],"sources":["../../src/actions/create-appointment.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminCreateAppointmentInput = z.object({\n end: z.string().describe(\"End date and time of the appointment. Format: yyyy-mm-dd HH:MM (e.g., 2026-03-01 11:00)\"),\n lnm: z.number().int().describe(\"Checks if there is a lastname, if set to 1\").optional(),\n sms: z.boolean().describe(\"Send a confirmation SMS to the phone number that was specified in the phone field (true = yes, false = no)\").optional(),\n vat: z.number().int().describe(\"VAT multiplied by 100 (e.g., 19% = 1900)\").optional(),\n zip: z.string().describe(\"ZIP code of the person that booked the appointment\").optional(),\n city: z.string().describe(\"City of the person that booked the appointment\").optional(),\n sync: z.boolean().describe(\"True if the appointment should be synchronized with external calendars (true = yes, false = no)\").optional(),\n email: z.string().describe(\"Email address of the person\").optional(),\n notes: z.string().describe(\"Appointment notes\").optional(),\n phone: z.string().describe(\"Phone number of the person\").optional(),\n start: z.string().describe(\"Start date and time of the appointment. Format: yyyy-mm-dd HH:MM (e.g., 2026-03-01 10:00)\"),\n title: z.string().describe(\"Title of the person\").optional(),\n emailm: z.number().int().describe(\"Checks if there is an email, if set to 1\").optional(),\n street: z.string().describe(\"Street address of the person that booked the appointment\").optional(),\n capused: z.boolean().describe(\"True if the capacity of the appointment needs to be checked\").optional(),\n birthday: z.string().describe(\"Date of birth of the person that booked the appointment\").optional(),\n calselid: z.number().int().describe(\"Use this parameter with the value -1 to also use the Calendar Linking function (also requires a valid value for the parameter services)\").optional(),\n capacity: z.number().int().describe(\"Defines the capacity of the appointment\").optional(),\n language: z.string().describe(\"Language code, defines in which language the emails are sent\").optional(),\n lastname: z.string().describe(\"Last name of the person\").optional(),\n location: z.string().describe(\"Location of the appointment\").optional(),\n pricenet: z.number().int().describe(\"Price excluding VAT multiplied by 100 (e.g., 18.50€ = 1850)\").optional(),\n services: z.string().describe(\"ID of the service. Use the 'Get Services' action to get a list of all available services. To use multiple services use a comma (,) to separate the IDs\").optional(),\n blacklist: z.number().int().describe(\"Checks if the email is on the blacklist, if set to 1\").optional(),\n firstname: z.string().describe(\"First name of the person\").optional(),\n sendemail: z.boolean().describe(\"Send a confirmation email to the address that was specified in the email parameter (true = yes, false = no)\").optional(),\n bookerinfo: z.string().describe(\"Parameter that includes information for the notification message to the appointment provider\").optional(),\n bookingurl: z.string().describe(\"Information from which URL the appointment got booked\").optional(),\n calendarid: z.number().int().describe(\"ID of the calendar. Use the 'Get Calendars' action to get a list of all available calendars\"),\n capmaxused: z.number().int().describe(\"Maximum capacity that can't be exceeded\").optional(),\n checkexist: z.boolean().describe(\"Checks if the appointment start/end time is available (true = yes, false = no)\").optional(),\n newsletter: z.boolean().describe(\"True if the customer accepted to get newsletters\").optional(),\n pricegross: z.number().int().describe(\"Price including VAT multiplied by 100 (e.g., 18.50€ = 1850)\").optional(),\n salutation: z.string().describe(\"Salutation of the person\").optional(),\n additional1: z.string().describe(\"Additional appointment field 1\").optional(),\n additional2: z.string().describe(\"Additional appointment field 2\").optional(),\n additional3: z.string().describe(\"Additional appointment field 3\").optional(),\n additional4: z.string().describe(\"Additional appointment field 4\").optional(),\n additional5: z.string().describe(\"Additional appointment field 5\").optional(),\n additional6: z.string().describe(\"Additional appointment field 6\").optional(),\n additional7: z.string().describe(\"Additional appointment field 7\").optional(),\n additional8: z.string().describe(\"Additional appointment field 8\").optional(),\n additional9: z.string().describe(\"Additional appointment field 9\").optional(),\n agbaccepted: z.boolean().describe(\"True if customer accepted the terms of service\").optional(),\n bookingtype: z.string().describe(\"Information about how the appointment is booked\").optional(),\n confirmtime: z.number().int().describe(\"Time in minutes that the booker is able to confirm the appointment before it gets deleted\").optional(),\n servicesabb: z.string().describe(\"Abbreviation of the services\").optional(),\n additional10: z.string().describe(\"Additional appointment field 10\").optional(),\n additional11: z.string().describe(\"Additional appointment field 11\").optional(),\n additional12: z.string().describe(\"Additional appointment field 12\").optional(),\n additional13: z.string().describe(\"Additional appointment field 13\").optional(),\n additional14: z.string().describe(\"Additional appointment field 14\").optional(),\n additional15: z.string().describe(\"Additional appointment field 15\").optional(),\n additional16: z.string().describe(\"Additional appointment field 16\").optional(),\n additional17: z.string().describe(\"Additional appointment field 17\").optional(),\n additional18: z.string().describe(\"Additional appointment field 18\").optional(),\n additional19: z.string().describe(\"Additional appointment field 19\").optional(),\n additional20: z.string().describe(\"Additional appointment field 20\").optional(),\n calendarname: z.string().describe(\"Name of the calendar (needed for Webpush)\").optional(),\n servicestext: z.string().describe(\"Name of the services\").optional(),\n canceldeadline: z.number().int().describe(\"Minutes how long before the start date the appointment can be cancelled\").optional(),\n customernumber: z.string().describe(\"ID of the person that booked the appointment\").optional(),\n recurrencerule: z.string().describe(\"Recurrence rule. e.g. DTSTART:{20171126T083000Z} DTEND:{20171126T090000Z} RRULE:FREQ=WEEKLY;INTERVAL=1;BYDAY=WE;\").optional(),\n manualconfirmed: z.number().int().describe(\"Set to 0 to have the appointment manually confirmed by the appointment provider\").optional(),\n notificationmsg: z.boolean().describe(\"Send an information email to the appointment provider (true = yes, false = no)\").optional(),\n confirmappointment: z.number().int().describe(\"Set to 1 to have the appointment manually confirmed by the booker. Won't work if manualconfirmed is set to 0\").optional(),\n recurrenceparentid: z.string().describe(\"ID of the parent recurring appointment\").optional(),\n servicesinclsgtext: z.string().describe(\"Name of the services including the service groups\").optional(),\n dataprivacyaccepted: z.boolean().describe(\"True if customer accepted the privacy terms\").optional(),\n appointmentreminderhours: z.number().int().describe(\"Defines when the first reminder is sent in hours (needs to be a negative value)\").optional(),\n appointmentreminderhours2: z.number().int().describe(\"Defines when the second reminder is sent in hours (needs to be a negative value)\").optional(),\n feedbackpermissionaccepted: z.boolean().describe(\"True if the customer should get a feedback email\").optional(),\n}).describe(\"Request model for creating a new appointment in eTermin.\");\nexport const EterminCreateAppointmentOutput = z.object({\n ID: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Unique identifier (UUID) of the created appointment\").optional()),\n IID: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"Internal integer ID of the created appointment\").optional()),\n IIDE: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Encoded internal ID of the created appointment\").optional()),\n Status: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"HTTP status code of the response\").optional()),\n StatusMsg: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Status message describing the result\").optional()),\n AdditionalInformation: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Additional information about the created appointment\").optional()),\n}).describe(\"Response model for a newly created appointment in eTermin.\");\n\nexport const eterminCreateAppointment = action(\"ETERMIN_CREATE_APPOINTMENT\", {\n slug: \"etermin-create-appointment\",\n name: \"Create Appointment\",\n description: \"Tool to create a new appointment in eTermin. Use when you need to schedule an appointment with specific start/end times and calendar. Requires at minimum the start time, end time, and calendar ID. Optionally accepts customer details, service information, pricing, and notification settings.\",\n input: EterminCreateAppointmentInput,\n output: EterminCreateAppointmentOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yFAAyF;CAClH,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACtF,KAAKA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,4GAA4G,CAAC,CAAC,SAAS;CACjJ,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CACpF,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CACxF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CACrF,MAAMA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,iGAAiG,CAAC,CAAC,SAAS;CACvI,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,S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AAC,CAAC,SAAS,CAAC;AAC7K,CAAC,CAAC,CAAC,SAAS,4DAA4D;AAExE,MAAa,2BAA2BC,eAAAA,OAAO,8BAA8B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"create-appointment.cjs","names":["z","action"],"sources":["../../src/actions/create-appointment.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminCreateAppointmentInput = z.object({\n end: z.string().describe(\"End date and time of the appointment. Format: yyyy-mm-dd HH:MM (e.g., 2026-03-01 11:00)\"),\n lnm: z.number().int().describe(\"Checks if there is a lastname, if set to 1\").optional(),\n sms: z.boolean().describe(\"Send a confirmation SMS to the phone number that was specified in the phone field (true = yes, false = no)\").optional(),\n vat: z.number().int().describe(\"VAT multiplied by 100 (e.g., 19% = 1900)\").optional(),\n zip: z.string().describe(\"ZIP code of the person that booked the appointment\").optional(),\n city: z.string().describe(\"City of the person that booked the appointment\").optional(),\n sync: z.boolean().describe(\"True if the appointment should be synchronized with external calendars (true = yes, false = no)\").optional(),\n email: z.string().describe(\"Email address of the person\").optional(),\n notes: z.string().describe(\"Appointment notes\").optional(),\n phone: z.string().describe(\"Phone number of the person\").optional(),\n start: z.string().describe(\"Start date and time of the appointment. Format: yyyy-mm-dd HH:MM (e.g., 2026-03-01 10:00)\"),\n title: z.string().describe(\"Title of the person\").optional(),\n emailm: z.number().int().describe(\"Checks if there is an email, if set to 1\").optional(),\n street: z.string().describe(\"Street address of the person that booked the appointment\").optional(),\n capused: z.boolean().describe(\"True if the capacity of the appointment needs to be checked\").optional(),\n birthday: z.string().describe(\"Date of birth of the person that booked the appointment\").optional(),\n calselid: z.number().int().describe(\"Use this parameter with the value -1 to also use the Calendar Linking function (also requires a valid value for the parameter services)\").optional(),\n capacity: z.number().int().describe(\"Defines the capacity of the appointment\").optional(),\n language: z.string().describe(\"Language code, defines in which language the emails are sent\").optional(),\n lastname: z.string().describe(\"Last name of the person\").optional(),\n location: z.string().describe(\"Location of the appointment\").optional(),\n pricenet: z.number().int().describe(\"Price excluding VAT multiplied by 100 (e.g., 18.50€ = 1850)\").optional(),\n services: z.string().describe(\"ID of the service. Use the 'Get Services' action to get a list of all available services. To use multiple services use a comma (,) to separate the IDs\").optional(),\n blacklist: z.number().int().describe(\"Checks if the email is on the blacklist, if set to 1\").optional(),\n firstname: z.string().describe(\"First name of the person\").optional(),\n sendemail: z.boolean().describe(\"Send a confirmation email to the address that was specified in the email parameter (true = yes, false = no)\").optional(),\n bookerinfo: z.string().describe(\"Parameter that includes information for the notification message to the appointment provider\").optional(),\n bookingurl: z.string().describe(\"Information from which URL the appointment got booked\").optional(),\n calendarid: z.number().int().describe(\"ID of the calendar. Use the 'Get Calendars' action to get a list of all available calendars\"),\n capmaxused: z.number().int().describe(\"Maximum capacity that can't be exceeded\").optional(),\n checkexist: z.boolean().describe(\"Checks if the appointment start/end time is available (true = yes, false = no)\").optional(),\n newsletter: z.boolean().describe(\"True if the customer accepted to get newsletters\").optional(),\n pricegross: z.number().int().describe(\"Price including VAT multiplied by 100 (e.g., 18.50€ = 1850)\").optional(),\n salutation: z.string().describe(\"Salutation of the person\").optional(),\n additional1: z.string().describe(\"Additional appointment field 1\").optional(),\n additional2: z.string().describe(\"Additional appointment field 2\").optional(),\n additional3: z.string().describe(\"Additional appointment field 3\").optional(),\n additional4: z.string().describe(\"Additional appointment field 4\").optional(),\n additional5: z.string().describe(\"Additional appointment field 5\").optional(),\n additional6: z.string().describe(\"Additional appointment field 6\").optional(),\n additional7: z.string().describe(\"Additional appointment field 7\").optional(),\n additional8: z.string().describe(\"Additional appointment field 8\").optional(),\n additional9: z.string().describe(\"Additional appointment field 9\").optional(),\n agbaccepted: z.boolean().describe(\"True if customer accepted the terms of service\").optional(),\n bookingtype: z.string().describe(\"Information about how the appointment is booked\").optional(),\n confirmtime: z.number().int().describe(\"Time in minutes that the booker is able to confirm the appointment before it gets deleted\").optional(),\n servicesabb: z.string().describe(\"Abbreviation of the services\").optional(),\n additional10: z.string().describe(\"Additional appointment field 10\").optional(),\n additional11: z.string().describe(\"Additional appointment field 11\").optional(),\n additional12: z.string().describe(\"Additional appointment field 12\").optional(),\n additional13: z.string().describe(\"Additional appointment field 13\").optional(),\n additional14: z.string().describe(\"Additional appointment field 14\").optional(),\n additional15: z.string().describe(\"Additional appointment field 15\").optional(),\n additional16: z.string().describe(\"Additional appointment field 16\").optional(),\n additional17: z.string().describe(\"Additional appointment field 17\").optional(),\n additional18: z.string().describe(\"Additional appointment field 18\").optional(),\n additional19: z.string().describe(\"Additional appointment field 19\").optional(),\n additional20: z.string().describe(\"Additional appointment field 20\").optional(),\n calendarname: z.string().describe(\"Name of the calendar (needed for Webpush)\").optional(),\n servicestext: z.string().describe(\"Name of the services\").optional(),\n canceldeadline: z.number().int().describe(\"Minutes how long before the start date the appointment can be cancelled\").optional(),\n customernumber: z.string().describe(\"ID of the person that booked the appointment\").optional(),\n recurrencerule: z.string().describe(\"Recurrence rule. e.g. DTSTART:{20171126T083000Z} DTEND:{20171126T090000Z} RRULE:FREQ=WEEKLY;INTERVAL=1;BYDAY=WE;\").optional(),\n manualconfirmed: z.number().int().describe(\"Set to 0 to have the appointment manually confirmed by the appointment provider\").optional(),\n notificationmsg: z.boolean().describe(\"Send an information email to the appointment provider (true = yes, false = no)\").optional(),\n confirmappointment: z.number().int().describe(\"Set to 1 to have the appointment manually confirmed by the booker. Won't work if manualconfirmed is set to 0\").optional(),\n recurrenceparentid: z.string().describe(\"ID of the parent recurring appointment\").optional(),\n servicesinclsgtext: z.string().describe(\"Name of the services including the service groups\").optional(),\n dataprivacyaccepted: z.boolean().describe(\"True if customer accepted the privacy terms\").optional(),\n appointmentreminderhours: z.number().int().describe(\"Defines when the first reminder is sent in hours (needs to be a negative value)\").optional(),\n appointmentreminderhours2: z.number().int().describe(\"Defines when the second reminder is sent in hours (needs to be a negative value)\").optional(),\n feedbackpermissionaccepted: z.boolean().describe(\"True if the customer should get a feedback email\").optional(),\n}).describe(\"Request model for creating a new appointment in eTermin.\");\nexport const EterminCreateAppointmentOutput = z.object({\n ID: z.string().describe(\"Unique identifier (UUID) of the created appointment\").nullable().optional(),\n IID: z.number().int().describe(\"Internal integer ID of the created appointment\").nullable().optional(),\n IIDE: z.string().describe(\"Encoded internal ID of the created appointment\").nullable().optional(),\n Status: z.number().int().describe(\"HTTP status code of the response\").nullable().optional(),\n StatusMsg: z.string().describe(\"Status message describing the result\").nullable().optional(),\n AdditionalInformation: z.string().describe(\"Additional information about the created appointment\").nullable().optional(),\n}).describe(\"Response model for a newly created appointment in eTermin.\");\n\nexport const eterminCreateAppointment = action(\"ETERMIN_CREATE_APPOINTMENT\", {\n slug: \"etermin-create-appointment\",\n name: \"Create Appointment\",\n description: \"Tool to create a new appointment in eTermin. Use when you need to schedule an appointment with specific start/end times and calendar. Requires at minimum the start time, end time, and calendar ID. Optionally accepts customer details, service information, pricing, and notification settings.\",\n input: EterminCreateAppointmentInput,\n output: EterminCreateAppointmentOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yFAAyF;CAClH,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACtF,KAAKA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,4GAA4G,CAAC,CAAC,SAAS;CACjJ,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CACpF,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CACxF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CACrF,MAAMA,IAAAA,EAAE,QAAQ,CAAC,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CACP,QAAQ;AACV,CAAC"}
@@ -76,12 +76,12 @@ declare const EterminCreateAppointmentInput: z.ZodObject<{
76
76
  feedbackpermissionaccepted: z.ZodOptional<z.ZodBoolean>;
77
77
  }, z.core.$strip>;
78
78
  declare const EterminCreateAppointmentOutput: z.ZodObject<{
79
- ID: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
80
- IID: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
81
- IIDE: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
82
- Status: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
83
- StatusMsg: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
84
- AdditionalInformation: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
79
+ ID: z.ZodOptional<z.ZodNullable<z.ZodString>>;
80
+ IID: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
81
+ IIDE: z.ZodOptional<z.ZodNullable<z.ZodString>>;
82
+ Status: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
83
+ StatusMsg: z.ZodOptional<z.ZodNullable<z.ZodString>>;
84
+ AdditionalInformation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
85
85
  }, z.core.$strip>;
86
86
  declare const eterminCreateAppointment: import("@keystrokehq/action").WorkflowActionDefinition<{
87
87
  end: string;
@@ -156,14 +156,7 @@ declare const eterminCreateAppointment: import("@keystrokehq/action").WorkflowAc
156
156
  appointmentreminderhours?: number | undefined;
157
157
  appointmentreminderhours2?: number | undefined;
158
158
  feedbackpermissionaccepted?: boolean | undefined;
159
- }, {
160
- ID?: string | undefined;
161
- IID?: number | undefined;
162
- IIDE?: string | undefined;
163
- Status?: number | undefined;
164
- StatusMsg?: string | undefined;
165
- AdditionalInformation?: string | undefined;
166
- }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
159
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
167
160
  //#endregion
168
161
  export { eterminCreateAppointment };
169
162
  //# sourceMappingURL=create-appointment.d.cts.map