@keystrokehq/etermin 0.1.1 → 0.1.3

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 (497) 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 +4 -4
  4. package/dist/actions/assign-calendar-service.cjs.map +1 -1
  5. package/dist/actions/assign-calendar-service.d.cts +5 -9
  6. package/dist/actions/assign-calendar-service.d.mts +5 -9
  7. package/dist/actions/assign-calendar-service.mjs +4 -4
  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.cjs +1 -1
  16. package/dist/actions/create-anchortime-by-date.cjs.map +1 -1
  17. package/dist/actions/create-anchortime-by-date.d.cts +2 -5
  18. package/dist/actions/create-anchortime-by-date.d.mts +2 -5
  19. package/dist/actions/create-anchortime-by-date.mjs +1 -1
  20. package/dist/actions/create-anchortime-by-date.mjs.map +1 -1
  21. package/dist/actions/create-anchortime.cjs +1 -1
  22. package/dist/actions/create-anchortime.cjs.map +1 -1
  23. package/dist/actions/create-anchortime.d.cts +3 -6
  24. package/dist/actions/create-anchortime.d.mts +3 -6
  25. package/dist/actions/create-anchortime.mjs +1 -1
  26. package/dist/actions/create-anchortime.mjs.map +1 -1
  27. package/dist/actions/create-appointment-sync.cjs +2 -2
  28. package/dist/actions/create-appointment-sync.cjs.map +1 -1
  29. package/dist/actions/create-appointment-sync.d.cts +3 -7
  30. package/dist/actions/create-appointment-sync.d.mts +3 -7
  31. package/dist/actions/create-appointment-sync.mjs +2 -2
  32. package/dist/actions/create-appointment-sync.mjs.map +1 -1
  33. package/dist/actions/create-appointment.cjs +7 -7
  34. package/dist/actions/create-appointment.cjs.map +1 -1
  35. package/dist/actions/create-appointment.d.cts +8 -15
  36. package/dist/actions/create-appointment.d.mts +8 -15
  37. package/dist/actions/create-appointment.mjs +7 -7
  38. package/dist/actions/create-appointment.mjs.map +1 -1
  39. package/dist/actions/create-calendar-return-time.cjs +2 -2
  40. package/dist/actions/create-calendar-return-time.cjs.map +1 -1
  41. package/dist/actions/create-calendar-return-time.d.cts +4 -8
  42. package/dist/actions/create-calendar-return-time.d.mts +4 -8
  43. package/dist/actions/create-calendar-return-time.mjs +2 -2
  44. package/dist/actions/create-calendar-return-time.mjs.map +1 -1
  45. package/dist/actions/create-contact.cjs +1 -1
  46. package/dist/actions/create-contact.cjs.map +1 -1
  47. package/dist/actions/create-contact.d.cts +2 -8
  48. package/dist/actions/create-contact.d.mts +2 -8
  49. package/dist/actions/create-contact.mjs +1 -1
  50. package/dist/actions/create-contact.mjs.map +1 -1
  51. package/dist/actions/create-service-group.cjs +4 -4
  52. package/dist/actions/create-service-group.cjs.map +1 -1
  53. package/dist/actions/create-service-group.d.cts +5 -9
  54. package/dist/actions/create-service-group.d.mts +5 -9
  55. package/dist/actions/create-service-group.mjs +4 -4
  56. package/dist/actions/create-service-group.mjs.map +1 -1
  57. package/dist/actions/create-service.cjs +4 -4
  58. package/dist/actions/create-service.cjs.map +1 -1
  59. package/dist/actions/create-service.d.cts +5 -9
  60. package/dist/actions/create-service.d.mts +5 -9
  61. package/dist/actions/create-service.mjs +4 -4
  62. package/dist/actions/create-service.mjs.map +1 -1
  63. package/dist/actions/create-user.cjs +2 -2
  64. package/dist/actions/create-user.cjs.map +1 -1
  65. package/dist/actions/create-user.d.cts +3 -7
  66. package/dist/actions/create-user.d.mts +3 -7
  67. package/dist/actions/create-user.mjs +2 -2
  68. package/dist/actions/create-user.mjs.map +1 -1
  69. package/dist/actions/create-usermapping.cjs +4 -4
  70. package/dist/actions/create-usermapping.cjs.map +1 -1
  71. package/dist/actions/create-usermapping.d.cts +5 -9
  72. package/dist/actions/create-usermapping.d.mts +5 -9
  73. package/dist/actions/create-usermapping.mjs +4 -4
  74. package/dist/actions/create-usermapping.mjs.map +1 -1
  75. package/dist/actions/create-voucher.cjs +3 -3
  76. package/dist/actions/create-voucher.cjs.map +1 -1
  77. package/dist/actions/create-voucher.d.cts +4 -13
  78. package/dist/actions/create-voucher.d.mts +4 -13
  79. package/dist/actions/create-voucher.mjs +3 -3
  80. package/dist/actions/create-voucher.mjs.map +1 -1
  81. package/dist/actions/create-webhook.cjs +3 -3
  82. package/dist/actions/create-webhook.cjs.map +1 -1
  83. package/dist/actions/create-webhook.d.cts +4 -9
  84. package/dist/actions/create-webhook.d.cts.map +1 -1
  85. package/dist/actions/create-webhook.d.mts +4 -9
  86. package/dist/actions/create-webhook.d.mts.map +1 -1
  87. package/dist/actions/create-webhook.mjs +3 -3
  88. package/dist/actions/create-webhook.mjs.map +1 -1
  89. package/dist/actions/create-working-time.cjs +1 -1
  90. package/dist/actions/create-working-time.cjs.map +1 -1
  91. package/dist/actions/create-working-time.d.cts +2 -5
  92. package/dist/actions/create-working-time.d.mts +2 -5
  93. package/dist/actions/create-working-time.mjs +1 -1
  94. package/dist/actions/create-working-time.mjs.map +1 -1
  95. package/dist/actions/create-working-times-date.cjs +4 -4
  96. package/dist/actions/create-working-times-date.cjs.map +1 -1
  97. package/dist/actions/create-working-times-date.d.cts +5 -9
  98. package/dist/actions/create-working-times-date.d.mts +5 -9
  99. package/dist/actions/create-working-times-date.mjs +4 -4
  100. package/dist/actions/create-working-times-date.mjs.map +1 -1
  101. package/dist/actions/delete-absence.cjs +2 -2
  102. package/dist/actions/delete-absence.cjs.map +1 -1
  103. package/dist/actions/delete-absence.d.cts +3 -7
  104. package/dist/actions/delete-absence.d.mts +3 -7
  105. package/dist/actions/delete-absence.mjs +2 -2
  106. package/dist/actions/delete-absence.mjs.map +1 -1
  107. package/dist/actions/delete-anchortime-by-date.cjs +3 -3
  108. package/dist/actions/delete-anchortime-by-date.cjs.map +1 -1
  109. package/dist/actions/delete-anchortime-by-date.d.cts +4 -8
  110. package/dist/actions/delete-anchortime-by-date.d.cts.map +1 -1
  111. package/dist/actions/delete-anchortime-by-date.d.mts +4 -8
  112. package/dist/actions/delete-anchortime-by-date.d.mts.map +1 -1
  113. package/dist/actions/delete-anchortime-by-date.mjs +3 -3
  114. package/dist/actions/delete-anchortime-by-date.mjs.map +1 -1
  115. package/dist/actions/delete-anchortime.cjs +2 -2
  116. package/dist/actions/delete-anchortime.cjs.map +1 -1
  117. package/dist/actions/delete-anchortime.d.cts +3 -6
  118. package/dist/actions/delete-anchortime.d.mts +3 -6
  119. package/dist/actions/delete-anchortime.mjs +2 -2
  120. package/dist/actions/delete-anchortime.mjs.map +1 -1
  121. package/dist/actions/delete-appointment-sync.cjs +2 -2
  122. package/dist/actions/delete-appointment-sync.cjs.map +1 -1
  123. package/dist/actions/delete-appointment-sync.d.cts +3 -7
  124. package/dist/actions/delete-appointment-sync.d.mts +3 -7
  125. package/dist/actions/delete-appointment-sync.mjs +2 -2
  126. package/dist/actions/delete-appointment-sync.mjs.map +1 -1
  127. package/dist/actions/delete-appointment.cjs +3 -3
  128. package/dist/actions/delete-appointment.cjs.map +1 -1
  129. package/dist/actions/delete-appointment.d.cts +4 -8
  130. package/dist/actions/delete-appointment.d.cts.map +1 -1
  131. package/dist/actions/delete-appointment.d.mts +4 -8
  132. package/dist/actions/delete-appointment.d.mts.map +1 -1
  133. package/dist/actions/delete-appointment.mjs +3 -3
  134. package/dist/actions/delete-appointment.mjs.map +1 -1
  135. package/dist/actions/delete-calendar-return-time.cjs +2 -2
  136. package/dist/actions/delete-calendar-return-time.cjs.map +1 -1
  137. package/dist/actions/delete-calendar-return-time.d.cts +3 -6
  138. package/dist/actions/delete-calendar-return-time.d.mts +3 -6
  139. package/dist/actions/delete-calendar-return-time.mjs +2 -2
  140. package/dist/actions/delete-calendar-return-time.mjs.map +1 -1
  141. package/dist/actions/delete-calendar-service.cjs +2 -2
  142. package/dist/actions/delete-calendar-service.cjs.map +1 -1
  143. package/dist/actions/delete-calendar-service.d.cts +3 -6
  144. package/dist/actions/delete-calendar-service.d.mts +3 -6
  145. package/dist/actions/delete-calendar-service.mjs +2 -2
  146. package/dist/actions/delete-calendar-service.mjs.map +1 -1
  147. package/dist/actions/delete-calendar.cjs +2 -2
  148. package/dist/actions/delete-calendar.cjs.map +1 -1
  149. package/dist/actions/delete-calendar.d.cts +3 -7
  150. package/dist/actions/delete-calendar.d.mts +3 -7
  151. package/dist/actions/delete-calendar.mjs +2 -2
  152. package/dist/actions/delete-calendar.mjs.map +1 -1
  153. package/dist/actions/delete-contact.cjs +2 -2
  154. package/dist/actions/delete-contact.cjs.map +1 -1
  155. package/dist/actions/delete-contact.d.cts +3 -6
  156. package/dist/actions/delete-contact.d.mts +3 -6
  157. package/dist/actions/delete-contact.mjs +2 -2
  158. package/dist/actions/delete-contact.mjs.map +1 -1
  159. package/dist/actions/delete-resource.cjs +2 -2
  160. package/dist/actions/delete-resource.cjs.map +1 -1
  161. package/dist/actions/delete-resource.d.cts +3 -8
  162. package/dist/actions/delete-resource.d.mts +3 -8
  163. package/dist/actions/delete-resource.mjs +2 -2
  164. package/dist/actions/delete-resource.mjs.map +1 -1
  165. package/dist/actions/delete-service.cjs +4 -4
  166. package/dist/actions/delete-service.cjs.map +1 -1
  167. package/dist/actions/delete-service.d.cts +5 -9
  168. package/dist/actions/delete-service.d.mts +5 -9
  169. package/dist/actions/delete-service.mjs +4 -4
  170. package/dist/actions/delete-service.mjs.map +1 -1
  171. package/dist/actions/delete-servicegroup.cjs +3 -3
  172. package/dist/actions/delete-servicegroup.cjs.map +1 -1
  173. package/dist/actions/delete-servicegroup.d.cts +4 -7
  174. package/dist/actions/delete-servicegroup.d.mts +4 -7
  175. package/dist/actions/delete-servicegroup.mjs +3 -3
  176. package/dist/actions/delete-servicegroup.mjs.map +1 -1
  177. package/dist/actions/delete-user.cjs +2 -2
  178. package/dist/actions/delete-user.cjs.map +1 -1
  179. package/dist/actions/delete-user.d.cts +3 -6
  180. package/dist/actions/delete-user.d.mts +3 -6
  181. package/dist/actions/delete-user.mjs +2 -2
  182. package/dist/actions/delete-user.mjs.map +1 -1
  183. package/dist/actions/delete-usermapping.cjs +3 -3
  184. package/dist/actions/delete-usermapping.cjs.map +1 -1
  185. package/dist/actions/delete-usermapping.d.cts +4 -7
  186. package/dist/actions/delete-usermapping.d.mts +4 -7
  187. package/dist/actions/delete-usermapping.mjs +3 -3
  188. package/dist/actions/delete-usermapping.mjs.map +1 -1
  189. package/dist/actions/delete-voucher.cjs +2 -2
  190. package/dist/actions/delete-voucher.cjs.map +1 -1
  191. package/dist/actions/delete-voucher.d.cts +3 -6
  192. package/dist/actions/delete-voucher.d.mts +3 -6
  193. package/dist/actions/delete-voucher.mjs +2 -2
  194. package/dist/actions/delete-voucher.mjs.map +1 -1
  195. package/dist/actions/delete-webhook.cjs +3 -3
  196. package/dist/actions/delete-webhook.cjs.map +1 -1
  197. package/dist/actions/delete-webhook.d.cts +4 -7
  198. package/dist/actions/delete-webhook.d.mts +4 -7
  199. package/dist/actions/delete-webhook.mjs +3 -3
  200. package/dist/actions/delete-webhook.mjs.map +1 -1
  201. package/dist/actions/delete-working-times-date.cjs +3 -3
  202. package/dist/actions/delete-working-times-date.cjs.map +1 -1
  203. package/dist/actions/delete-working-times-date.d.cts +4 -7
  204. package/dist/actions/delete-working-times-date.d.mts +4 -7
  205. package/dist/actions/delete-working-times-date.mjs +3 -3
  206. package/dist/actions/delete-working-times-date.mjs.map +1 -1
  207. package/dist/actions/delete-working-times.cjs +3 -3
  208. package/dist/actions/delete-working-times.cjs.map +1 -1
  209. package/dist/actions/delete-working-times.d.cts +4 -7
  210. package/dist/actions/delete-working-times.d.mts +4 -7
  211. package/dist/actions/delete-working-times.mjs +3 -3
  212. package/dist/actions/delete-working-times.mjs.map +1 -1
  213. package/dist/actions/get-absences.cjs +7 -7
  214. package/dist/actions/get-absences.cjs.map +1 -1
  215. package/dist/actions/get-absences.d.cts +9 -19
  216. package/dist/actions/get-absences.d.mts +9 -19
  217. package/dist/actions/get-absences.mjs +7 -7
  218. package/dist/actions/get-absences.mjs.map +1 -1
  219. package/dist/actions/get-anchortime-date.cjs +6 -6
  220. package/dist/actions/get-anchortime-date.cjs.map +1 -1
  221. package/dist/actions/get-anchortime-date.d.cts +7 -16
  222. package/dist/actions/get-anchortime-date.d.mts +7 -16
  223. package/dist/actions/get-anchortime-date.mjs +6 -6
  224. package/dist/actions/get-anchortime-date.mjs.map +1 -1
  225. package/dist/actions/get-anchortimes.cjs +6 -6
  226. package/dist/actions/get-anchortimes.cjs.map +1 -1
  227. package/dist/actions/get-anchortimes.d.cts +7 -16
  228. package/dist/actions/get-anchortimes.d.mts +7 -16
  229. package/dist/actions/get-anchortimes.mjs +6 -6
  230. package/dist/actions/get-anchortimes.mjs.map +1 -1
  231. package/dist/actions/get-appointment-sync.cjs +74 -74
  232. package/dist/actions/get-appointment-sync.cjs.map +1 -1
  233. package/dist/actions/get-appointment-sync.d.cts +75 -152
  234. package/dist/actions/get-appointment-sync.d.mts +75 -152
  235. package/dist/actions/get-appointment-sync.mjs +74 -74
  236. package/dist/actions/get-appointment-sync.mjs.map +1 -1
  237. package/dist/actions/get-bookingpage-logs.cjs +7 -7
  238. package/dist/actions/get-bookingpage-logs.cjs.map +1 -1
  239. package/dist/actions/get-bookingpage-logs.d.cts +8 -16
  240. package/dist/actions/get-bookingpage-logs.d.mts +8 -16
  241. package/dist/actions/get-bookingpage-logs.mjs +7 -7
  242. package/dist/actions/get-bookingpage-logs.mjs.map +1 -1
  243. package/dist/actions/get-calendar-return-time.cjs +9 -9
  244. package/dist/actions/get-calendar-return-time.cjs.map +1 -1
  245. package/dist/actions/get-calendar-return-time.d.cts +11 -23
  246. package/dist/actions/get-calendar-return-time.d.mts +11 -23
  247. package/dist/actions/get-calendar-return-time.mjs +9 -9
  248. package/dist/actions/get-calendar-return-time.mjs.map +1 -1
  249. package/dist/actions/get-calendars.cjs +6 -6
  250. package/dist/actions/get-calendars.cjs.map +1 -1
  251. package/dist/actions/get-calendars.d.cts +7 -18
  252. package/dist/actions/get-calendars.d.cts.map +1 -1
  253. package/dist/actions/get-calendars.d.mts +7 -18
  254. package/dist/actions/get-calendars.d.mts.map +1 -1
  255. package/dist/actions/get-calendars.mjs +6 -6
  256. package/dist/actions/get-calendars.mjs.map +1 -1
  257. package/dist/actions/get-calendarservice.cjs +4 -4
  258. package/dist/actions/get-calendarservice.cjs.map +1 -1
  259. package/dist/actions/get-calendarservice.d.cts +5 -12
  260. package/dist/actions/get-calendarservice.d.mts +5 -12
  261. package/dist/actions/get-calendarservice.mjs +4 -4
  262. package/dist/actions/get-calendarservice.mjs.map +1 -1
  263. package/dist/actions/get-company.cjs +20 -20
  264. package/dist/actions/get-company.cjs.map +1 -1
  265. package/dist/actions/get-company.d.cts +21 -44
  266. package/dist/actions/get-company.d.cts.map +1 -1
  267. package/dist/actions/get-company.d.mts +21 -44
  268. package/dist/actions/get-company.d.mts.map +1 -1
  269. package/dist/actions/get-company.mjs +20 -20
  270. package/dist/actions/get-company.mjs.map +1 -1
  271. package/dist/actions/get-contact-by-id.cjs +51 -51
  272. package/dist/actions/get-contact-by-id.cjs.map +1 -1
  273. package/dist/actions/get-contact-by-id.d.cts +52 -105
  274. package/dist/actions/get-contact-by-id.d.mts +52 -105
  275. package/dist/actions/get-contact-by-id.mjs +51 -51
  276. package/dist/actions/get-contact-by-id.mjs.map +1 -1
  277. package/dist/actions/get-contacts.cjs +51 -51
  278. package/dist/actions/get-contacts.cjs.map +1 -1
  279. package/dist/actions/get-contacts.d.cts +52 -105
  280. package/dist/actions/get-contacts.d.cts.map +1 -1
  281. package/dist/actions/get-contacts.d.mts +52 -105
  282. package/dist/actions/get-contacts.d.mts.map +1 -1
  283. package/dist/actions/get-contacts.mjs +51 -51
  284. package/dist/actions/get-contacts.mjs.map +1 -1
  285. package/dist/actions/get-deleted-appointments.cjs +19 -19
  286. package/dist/actions/get-deleted-appointments.cjs.map +1 -1
  287. package/dist/actions/get-deleted-appointments.d.cts +20 -42
  288. package/dist/actions/get-deleted-appointments.d.mts +20 -42
  289. package/dist/actions/get-deleted-appointments.mjs +19 -19
  290. package/dist/actions/get-deleted-appointments.mjs.map +1 -1
  291. package/dist/actions/get-message-logs.cjs +11 -11
  292. package/dist/actions/get-message-logs.cjs.map +1 -1
  293. package/dist/actions/get-message-logs.d.cts +12 -24
  294. package/dist/actions/get-message-logs.d.mts +12 -24
  295. package/dist/actions/get-message-logs.mjs +11 -11
  296. package/dist/actions/get-message-logs.mjs.map +1 -1
  297. package/dist/actions/get-rating.cjs +12 -12
  298. package/dist/actions/get-rating.cjs.map +1 -1
  299. package/dist/actions/get-rating.d.cts +13 -28
  300. package/dist/actions/get-rating.d.cts.map +1 -1
  301. package/dist/actions/get-rating.d.mts +13 -28
  302. package/dist/actions/get-rating.d.mts.map +1 -1
  303. package/dist/actions/get-rating.mjs +12 -12
  304. package/dist/actions/get-rating.mjs.map +1 -1
  305. package/dist/actions/get-service-by-id.cjs +5 -5
  306. package/dist/actions/get-service-by-id.cjs.map +1 -1
  307. package/dist/actions/get-service-by-id.d.cts +6 -23
  308. package/dist/actions/get-service-by-id.d.mts +6 -23
  309. package/dist/actions/get-service-by-id.mjs +5 -5
  310. package/dist/actions/get-service-by-id.mjs.map +1 -1
  311. package/dist/actions/get-service-calendar.cjs +1 -1
  312. package/dist/actions/get-service-calendar.cjs.map +1 -1
  313. package/dist/actions/get-service-calendar.d.cts +2 -7
  314. package/dist/actions/get-service-calendar.d.mts +2 -7
  315. package/dist/actions/get-service-calendar.mjs +1 -1
  316. package/dist/actions/get-service-calendar.mjs.map +1 -1
  317. package/dist/actions/get-servicegroup.cjs +26 -26
  318. package/dist/actions/get-servicegroup.cjs.map +1 -1
  319. package/dist/actions/get-servicegroup.d.cts +27 -56
  320. package/dist/actions/get-servicegroup.d.mts +27 -56
  321. package/dist/actions/get-servicegroup.mjs +26 -26
  322. package/dist/actions/get-servicegroup.mjs.map +1 -1
  323. package/dist/actions/get-services.cjs +5 -5
  324. package/dist/actions/get-services.cjs.map +1 -1
  325. package/dist/actions/get-services.d.cts +6 -23
  326. package/dist/actions/get-services.d.cts.map +1 -1
  327. package/dist/actions/get-services.d.mts +6 -23
  328. package/dist/actions/get-services.d.mts.map +1 -1
  329. package/dist/actions/get-services.mjs +5 -5
  330. package/dist/actions/get-services.mjs.map +1 -1
  331. package/dist/actions/get-survey-results.cjs +8 -8
  332. package/dist/actions/get-survey-results.cjs.map +1 -1
  333. package/dist/actions/get-survey-results.d.cts +9 -18
  334. package/dist/actions/get-survey-results.d.mts +9 -18
  335. package/dist/actions/get-survey-results.mjs +8 -8
  336. package/dist/actions/get-survey-results.mjs.map +1 -1
  337. package/dist/actions/get-timeslots.cjs +5 -5
  338. package/dist/actions/get-timeslots.cjs.map +1 -1
  339. package/dist/actions/get-timeslots.d.cts +6 -14
  340. package/dist/actions/get-timeslots.d.mts +6 -14
  341. package/dist/actions/get-timeslots.mjs +5 -5
  342. package/dist/actions/get-timeslots.mjs.map +1 -1
  343. package/dist/actions/get-usermapping.cjs +8 -8
  344. package/dist/actions/get-usermapping.cjs.map +1 -1
  345. package/dist/actions/get-usermapping.d.cts +9 -20
  346. package/dist/actions/get-usermapping.d.mts +9 -20
  347. package/dist/actions/get-usermapping.mjs +8 -8
  348. package/dist/actions/get-usermapping.mjs.map +1 -1
  349. package/dist/actions/get-users.cjs +28 -28
  350. package/dist/actions/get-users.cjs.map +1 -1
  351. package/dist/actions/get-users.d.cts +29 -60
  352. package/dist/actions/get-users.d.cts.map +1 -1
  353. package/dist/actions/get-users.d.mts +29 -60
  354. package/dist/actions/get-users.d.mts.map +1 -1
  355. package/dist/actions/get-users.mjs +28 -28
  356. package/dist/actions/get-users.mjs.map +1 -1
  357. package/dist/actions/get-working-times-date.cjs +1 -1
  358. package/dist/actions/get-working-times-date.cjs.map +1 -1
  359. package/dist/actions/get-working-times-date.d.cts +3 -12
  360. package/dist/actions/get-working-times-date.d.mts +3 -12
  361. package/dist/actions/get-working-times-date.mjs +1 -1
  362. package/dist/actions/get-working-times-date.mjs.map +1 -1
  363. package/dist/actions/get-working-times.cjs +1 -1
  364. package/dist/actions/get-working-times.cjs.map +1 -1
  365. package/dist/actions/get-working-times.d.cts +3 -13
  366. package/dist/actions/get-working-times.d.mts +3 -13
  367. package/dist/actions/get-working-times.mjs +1 -1
  368. package/dist/actions/get-working-times.mjs.map +1 -1
  369. package/dist/actions/list-appointments.cjs +20 -20
  370. package/dist/actions/list-appointments.cjs.map +1 -1
  371. package/dist/actions/list-appointments.d.cts +21 -44
  372. package/dist/actions/list-appointments.d.mts +21 -44
  373. package/dist/actions/list-appointments.mjs +20 -20
  374. package/dist/actions/list-appointments.mjs.map +1 -1
  375. package/dist/actions/list-vouchers.cjs +20 -20
  376. package/dist/actions/list-vouchers.cjs.map +1 -1
  377. package/dist/actions/list-vouchers.d.cts +22 -43
  378. package/dist/actions/list-vouchers.d.cts.map +1 -1
  379. package/dist/actions/list-vouchers.d.mts +22 -43
  380. package/dist/actions/list-vouchers.d.mts.map +1 -1
  381. package/dist/actions/list-vouchers.mjs +20 -20
  382. package/dist/actions/list-vouchers.mjs.map +1 -1
  383. package/dist/actions/list-webhooks.cjs +1 -1
  384. package/dist/actions/list-webhooks.cjs.map +1 -1
  385. package/dist/actions/list-webhooks.d.cts +2 -4
  386. package/dist/actions/list-webhooks.d.cts.map +1 -1
  387. package/dist/actions/list-webhooks.d.mts +2 -4
  388. package/dist/actions/list-webhooks.d.mts.map +1 -1
  389. package/dist/actions/list-webhooks.mjs +1 -1
  390. package/dist/actions/list-webhooks.mjs.map +1 -1
  391. package/dist/actions/put-service.cjs +4 -4
  392. package/dist/actions/put-service.cjs.map +1 -1
  393. package/dist/actions/put-service.d.cts +5 -9
  394. package/dist/actions/put-service.d.mts +5 -9
  395. package/dist/actions/put-service.mjs +4 -4
  396. package/dist/actions/put-service.mjs.map +1 -1
  397. package/dist/actions/update-absence.cjs +2 -2
  398. package/dist/actions/update-absence.cjs.map +1 -1
  399. package/dist/actions/update-absence.d.cts +3 -7
  400. package/dist/actions/update-absence.d.mts +3 -7
  401. package/dist/actions/update-absence.mjs +2 -2
  402. package/dist/actions/update-absence.mjs.map +1 -1
  403. package/dist/actions/update-anchortime-by-date.cjs +2 -2
  404. package/dist/actions/update-anchortime-by-date.cjs.map +1 -1
  405. package/dist/actions/update-anchortime-by-date.d.cts +3 -6
  406. package/dist/actions/update-anchortime-by-date.d.mts +3 -6
  407. package/dist/actions/update-anchortime-by-date.mjs +2 -2
  408. package/dist/actions/update-anchortime-by-date.mjs.map +1 -1
  409. package/dist/actions/update-anchortime.cjs +3 -3
  410. package/dist/actions/update-anchortime.cjs.map +1 -1
  411. package/dist/actions/update-anchortime.d.cts +4 -9
  412. package/dist/actions/update-anchortime.d.mts +4 -9
  413. package/dist/actions/update-anchortime.mjs +3 -3
  414. package/dist/actions/update-anchortime.mjs.map +1 -1
  415. package/dist/actions/update-appointment.cjs +1 -1
  416. package/dist/actions/update-appointment.cjs.map +1 -1
  417. package/dist/actions/update-appointment.d.cts +2 -5
  418. package/dist/actions/update-appointment.d.mts +2 -5
  419. package/dist/actions/update-appointment.mjs +1 -1
  420. package/dist/actions/update-appointment.mjs.map +1 -1
  421. package/dist/actions/update-calendar-return-time.cjs +2 -2
  422. package/dist/actions/update-calendar-return-time.cjs.map +1 -1
  423. package/dist/actions/update-calendar-return-time.d.cts +3 -7
  424. package/dist/actions/update-calendar-return-time.d.mts +3 -7
  425. package/dist/actions/update-calendar-return-time.mjs +2 -2
  426. package/dist/actions/update-calendar-return-time.mjs.map +1 -1
  427. package/dist/actions/update-calendar.cjs +3 -3
  428. package/dist/actions/update-calendar.cjs.map +1 -1
  429. package/dist/actions/update-calendar.d.cts +4 -9
  430. package/dist/actions/update-calendar.d.mts +4 -9
  431. package/dist/actions/update-calendar.mjs +3 -3
  432. package/dist/actions/update-calendar.mjs.map +1 -1
  433. package/dist/actions/update-contact.cjs +4 -4
  434. package/dist/actions/update-contact.cjs.map +1 -1
  435. package/dist/actions/update-contact.d.cts +5 -11
  436. package/dist/actions/update-contact.d.mts +5 -11
  437. package/dist/actions/update-contact.mjs +4 -4
  438. package/dist/actions/update-contact.mjs.map +1 -1
  439. package/dist/actions/update-resource.cjs +2 -2
  440. package/dist/actions/update-resource.cjs.map +1 -1
  441. package/dist/actions/update-resource.d.cts +3 -8
  442. package/dist/actions/update-resource.d.mts +3 -8
  443. package/dist/actions/update-resource.mjs +2 -2
  444. package/dist/actions/update-resource.mjs.map +1 -1
  445. package/dist/actions/update-service-group.cjs +1 -1
  446. package/dist/actions/update-service-group.cjs.map +1 -1
  447. package/dist/actions/update-service-group.d.cts +2 -5
  448. package/dist/actions/update-service-group.d.mts +2 -5
  449. package/dist/actions/update-service-group.mjs +1 -1
  450. package/dist/actions/update-service-group.mjs.map +1 -1
  451. package/dist/actions/update-service.cjs +1 -1
  452. package/dist/actions/update-service.cjs.map +1 -1
  453. package/dist/actions/update-service.d.cts +2 -4
  454. package/dist/actions/update-service.d.cts.map +1 -1
  455. package/dist/actions/update-service.d.mts +2 -4
  456. package/dist/actions/update-service.d.mts.map +1 -1
  457. package/dist/actions/update-service.mjs +1 -1
  458. package/dist/actions/update-service.mjs.map +1 -1
  459. package/dist/actions/update-sync-appointment.cjs +2 -2
  460. package/dist/actions/update-sync-appointment.cjs.map +1 -1
  461. package/dist/actions/update-sync-appointment.d.cts +3 -7
  462. package/dist/actions/update-sync-appointment.d.mts +3 -7
  463. package/dist/actions/update-sync-appointment.mjs +2 -2
  464. package/dist/actions/update-sync-appointment.mjs.map +1 -1
  465. package/dist/actions/update-usermapping.cjs +3 -3
  466. package/dist/actions/update-usermapping.cjs.map +1 -1
  467. package/dist/actions/update-usermapping.d.cts +4 -7
  468. package/dist/actions/update-usermapping.d.mts +4 -7
  469. package/dist/actions/update-usermapping.mjs +3 -3
  470. package/dist/actions/update-usermapping.mjs.map +1 -1
  471. package/dist/actions/update-voucher.cjs +2 -2
  472. package/dist/actions/update-voucher.cjs.map +1 -1
  473. package/dist/actions/update-voucher.d.cts +4 -9
  474. package/dist/actions/update-voucher.d.mts +4 -9
  475. package/dist/actions/update-voucher.mjs +2 -2
  476. package/dist/actions/update-voucher.mjs.map +1 -1
  477. package/dist/actions/update-webhook.cjs +4 -4
  478. package/dist/actions/update-webhook.cjs.map +1 -1
  479. package/dist/actions/update-webhook.d.cts +6 -10
  480. package/dist/actions/update-webhook.d.cts.map +1 -1
  481. package/dist/actions/update-webhook.d.mts +6 -10
  482. package/dist/actions/update-webhook.d.mts.map +1 -1
  483. package/dist/actions/update-webhook.mjs +4 -4
  484. package/dist/actions/update-webhook.mjs.map +1 -1
  485. package/dist/actions/update-working-times-date.cjs +3 -3
  486. package/dist/actions/update-working-times-date.cjs.map +1 -1
  487. package/dist/actions/update-working-times-date.d.cts +4 -7
  488. package/dist/actions/update-working-times-date.d.mts +4 -7
  489. package/dist/actions/update-working-times-date.mjs +3 -3
  490. package/dist/actions/update-working-times-date.mjs.map +1 -1
  491. package/dist/actions/update-working-times.cjs +3 -3
  492. package/dist/actions/update-working-times.cjs.map +1 -1
  493. package/dist/actions/update-working-times.d.cts +4 -7
  494. package/dist/actions/update-working-times.d.mts +4 -7
  495. package/dist/actions/update-working-times.mjs +3 -3
  496. package/dist/actions/update-working-times.mjs.map +1 -1
  497. 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,10 +6,10 @@ 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())
12
- }).describe("Response model for calendar service assignment operation in eTermin.");
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
+ }).passthrough().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",
15
15
  name: "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}).passthrough().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,YAAY,CAAC,CAAC,SAAS,sEAAsE;AAEhG,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>>;
12
- }, z.core.$strip>;
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
+ }, z.core.$loose>;
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>>;
12
- }, z.core.$strip>;
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
+ }, z.core.$loose>;
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,10 +9,10 @@ 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())
15
- }).describe("Response model for calendar service assignment operation in eTermin.")
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
+ }).passthrough().describe("Response model for calendar service assignment operation in eTermin.")
16
16
  });
17
17
  //#endregion
18
18
  export { eterminAssignCalendarService };
@@ -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}).passthrough().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,YAAY,CAAC,CAAC,SAAS,sEAOhB;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"}
@@ -10,7 +10,7 @@ const EterminCreateAnchortimeByDateInput = zod.z.object({
10
10
  const EterminCreateAnchortimeByDateOutput = zod.z.object({
11
11
  message: zod.z.string().describe("Response message from the API, typically 'Created successfully!' on success.").nullable(),
12
12
  success: zod.z.boolean().describe("Indicates whether the anchortime was created successfully.").nullable()
13
- }).describe("Response model for creating anchortimes by date.");
13
+ }).passthrough().describe("Response model for creating anchortimes by date.");
14
14
  const eterminCreateAnchortimeByDate = require_action.action("ETERMIN_CREATE_ANCHORTIME_BY_DATE", {
15
15
  slug: "etermin-create-anchortime-by-date",
16
16
  name: "Create Anchortime by Date",
@@ -1 +1 @@
1
- {"version":3,"file":"create-anchortime-by-date.cjs","names":["z","action"],"sources":["../../src/actions/create-anchortime-by-date.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminCreateAnchortimeByDateInput = z.object({\n reason: z.string().describe(\"Reason why this anchortime is created. Optional explanation for this time block.\").optional(),\n startdate: z.string().describe(\"Date and time of the anchortime. Format is yyyy-MM-dd HH:mm (e.g., '2026-03-15 10:00').\"),\n calendarid: z.number().int().describe(\"ID of the calendar. Use the 'Get Calendars' action to get a list with all available calendars.\"),\n ignoreonceappbooked: z.boolean().describe(\"If true, the anchortime will be ignored once an appointment is booked this day.\"),\n}).describe(\"Request model for creating anchortimes by date.\");\nexport const EterminCreateAnchortimeByDateOutput = z.object({\n message: z.string().describe(\"Response message from the API, typically 'Created successfully!' on success.\").nullable(),\n success: z.boolean().describe(\"Indicates whether the anchortime was created successfully.\").nullable(),\n}).describe(\"Response model for creating anchortimes by date.\");\n\nexport const eterminCreateAnchortimeByDate = action(\"ETERMIN_CREATE_ANCHORTIME_BY_DATE\", {\n slug: \"etermin-create-anchortime-by-date\",\n name: \"Create Anchortime by Date\",\n description: \"Tool to create anchortimes by date. Use when you need to block specific time slots on a calendar. Anchortimes define blocked periods for calendar scheduling where appointments cannot be booked.\",\n input: EterminCreateAnchortimeByDateInput,\n output: EterminCreateAnchortimeByDateOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS;CACzH,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yFAAyF;CACxH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gGAAgG;CACtI,qBAAqBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,iFAAiF;AAC7H,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAC7D,MAAa,sCAAsCA,IAAAA,EAAE,OAAO;CAC1D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS;CACtH,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;AACvG,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAE9D,MAAa,gCAAgCC,eAAAA,OAAO,qCAAqC;CACvF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"create-anchortime-by-date.cjs","names":["z","action"],"sources":["../../src/actions/create-anchortime-by-date.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminCreateAnchortimeByDateInput = z.object({\n reason: z.string().describe(\"Reason why this anchortime is created. Optional explanation for this time block.\").optional(),\n startdate: z.string().describe(\"Date and time of the anchortime. Format is yyyy-MM-dd HH:mm (e.g., '2026-03-15 10:00').\"),\n calendarid: z.number().int().describe(\"ID of the calendar. Use the 'Get Calendars' action to get a list with all available calendars.\"),\n ignoreonceappbooked: z.boolean().describe(\"If true, the anchortime will be ignored once an appointment is booked this day.\"),\n}).describe(\"Request model for creating anchortimes by date.\");\nexport const EterminCreateAnchortimeByDateOutput = z.object({\n message: z.string().describe(\"Response message from the API, typically 'Created successfully!' on success.\").nullable(),\n success: z.boolean().describe(\"Indicates whether the anchortime was created successfully.\").nullable(),\n}).passthrough().describe(\"Response model for creating anchortimes by date.\");\n\nexport const eterminCreateAnchortimeByDate = action(\"ETERMIN_CREATE_ANCHORTIME_BY_DATE\", {\n slug: \"etermin-create-anchortime-by-date\",\n name: \"Create Anchortime by Date\",\n description: \"Tool to create anchortimes by date. Use when you need to block specific time slots on a calendar. Anchortimes define blocked periods for calendar scheduling where appointments cannot be booked.\",\n input: EterminCreateAnchortimeByDateInput,\n output: EterminCreateAnchortimeByDateOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS;CACzH,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yFAAyF;CACxH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gGAAgG;CACtI,qBAAqBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,iFAAiF;AAC7H,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAC7D,MAAa,sCAAsCA,IAAAA,EAAE,OAAO;CAC1D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS;CACtH,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;AACvG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAAkD;AAE5E,MAAa,gCAAgCC,eAAAA,OAAO,qCAAqC;CACvF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -10,16 +10,13 @@ declare const EterminCreateAnchortimeByDateInput: z.ZodObject<{
10
10
  declare const EterminCreateAnchortimeByDateOutput: z.ZodObject<{
11
11
  message: z.ZodNullable<z.ZodString>;
12
12
  success: z.ZodNullable<z.ZodBoolean>;
13
- }, z.core.$strip>;
13
+ }, z.core.$loose>;
14
14
  declare const eterminCreateAnchortimeByDate: import("@keystrokehq/action").WorkflowActionDefinition<{
15
15
  startdate: string;
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
@@ -10,16 +10,13 @@ declare const EterminCreateAnchortimeByDateInput: z.ZodObject<{
10
10
  declare const EterminCreateAnchortimeByDateOutput: z.ZodObject<{
11
11
  message: z.ZodNullable<z.ZodString>;
12
12
  success: z.ZodNullable<z.ZodBoolean>;
13
- }, z.core.$strip>;
13
+ }, z.core.$loose>;
14
14
  declare const eterminCreateAnchortimeByDate: import("@keystrokehq/action").WorkflowActionDefinition<{
15
15
  startdate: string;
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
@@ -13,7 +13,7 @@ const eterminCreateAnchortimeByDate = action("ETERMIN_CREATE_ANCHORTIME_BY_DATE"
13
13
  output: z.object({
14
14
  message: z.string().describe("Response message from the API, typically 'Created successfully!' on success.").nullable(),
15
15
  success: z.boolean().describe("Indicates whether the anchortime was created successfully.").nullable()
16
- }).describe("Response model for creating anchortimes by date.")
16
+ }).passthrough().describe("Response model for creating anchortimes by date.")
17
17
  });
18
18
  //#endregion
19
19
  export { eterminCreateAnchortimeByDate };
@@ -1 +1 @@
1
- {"version":3,"file":"create-anchortime-by-date.mjs","names":[],"sources":["../../src/actions/create-anchortime-by-date.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminCreateAnchortimeByDateInput = z.object({\n reason: z.string().describe(\"Reason why this anchortime is created. Optional explanation for this time block.\").optional(),\n startdate: z.string().describe(\"Date and time of the anchortime. Format is yyyy-MM-dd HH:mm (e.g., '2026-03-15 10:00').\"),\n calendarid: z.number().int().describe(\"ID of the calendar. Use the 'Get Calendars' action to get a list with all available calendars.\"),\n ignoreonceappbooked: z.boolean().describe(\"If true, the anchortime will be ignored once an appointment is booked this day.\"),\n}).describe(\"Request model for creating anchortimes by date.\");\nexport const EterminCreateAnchortimeByDateOutput = z.object({\n message: z.string().describe(\"Response message from the API, typically 'Created successfully!' on success.\").nullable(),\n success: z.boolean().describe(\"Indicates whether the anchortime was created successfully.\").nullable(),\n}).describe(\"Response model for creating anchortimes by date.\");\n\nexport const eterminCreateAnchortimeByDate = action(\"ETERMIN_CREATE_ANCHORTIME_BY_DATE\", {\n slug: \"etermin-create-anchortime-by-date\",\n name: \"Create Anchortime by Date\",\n description: \"Tool to create anchortimes by date. Use when you need to block specific time slots on a calendar. Anchortimes define blocked periods for calendar scheduling where appointments cannot be booked.\",\n input: EterminCreateAnchortimeByDateInput,\n output: EterminCreateAnchortimeByDateOutput,\n});\n"],"mappings":";;AAeA,MAAa,gCAAgC,OAAO,qCAAqC;CACvF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAfgD,EAAE,OAAO;EACzD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS;EACzH,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,yFAAyF;EACxH,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gGAAgG;EACtI,qBAAqB,EAAE,QAAQ,CAAC,CAAC,SAAS,iFAAiF;CAC7H,CAAC,CAAC,CAAC,SAAS,iDAUH;CACP,QAViD,EAAE,OAAO;EAC1D,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS;EACtH,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CACvG,CAAC,CAAC,CAAC,SAAS,kDAOF;AACV,CAAC"}
1
+ {"version":3,"file":"create-anchortime-by-date.mjs","names":[],"sources":["../../src/actions/create-anchortime-by-date.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminCreateAnchortimeByDateInput = z.object({\n reason: z.string().describe(\"Reason why this anchortime is created. Optional explanation for this time block.\").optional(),\n startdate: z.string().describe(\"Date and time of the anchortime. Format is yyyy-MM-dd HH:mm (e.g., '2026-03-15 10:00').\"),\n calendarid: z.number().int().describe(\"ID of the calendar. Use the 'Get Calendars' action to get a list with all available calendars.\"),\n ignoreonceappbooked: z.boolean().describe(\"If true, the anchortime will be ignored once an appointment is booked this day.\"),\n}).describe(\"Request model for creating anchortimes by date.\");\nexport const EterminCreateAnchortimeByDateOutput = z.object({\n message: z.string().describe(\"Response message from the API, typically 'Created successfully!' on success.\").nullable(),\n success: z.boolean().describe(\"Indicates whether the anchortime was created successfully.\").nullable(),\n}).passthrough().describe(\"Response model for creating anchortimes by date.\");\n\nexport const eterminCreateAnchortimeByDate = action(\"ETERMIN_CREATE_ANCHORTIME_BY_DATE\", {\n slug: \"etermin-create-anchortime-by-date\",\n name: \"Create Anchortime by Date\",\n description: \"Tool to create anchortimes by date. Use when you need to block specific time slots on a calendar. Anchortimes define blocked periods for calendar scheduling where appointments cannot be booked.\",\n input: EterminCreateAnchortimeByDateInput,\n output: EterminCreateAnchortimeByDateOutput,\n});\n"],"mappings":";;AAeA,MAAa,gCAAgC,OAAO,qCAAqC;CACvF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAfgD,EAAE,OAAO;EACzD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS;EACzH,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,yFAAyF;EACxH,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gGAAgG;EACtI,qBAAqB,EAAE,QAAQ,CAAC,CAAC,SAAS,iFAAiF;CAC7H,CAAC,CAAC,CAAC,SAAS,iDAUH;CACP,QAViD,EAAE,OAAO;EAC1D,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS;EACtH,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CACvG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAOhB;AACV,CAAC"}
@@ -18,7 +18,7 @@ const EterminCreateAnchortimeInput = zod.z.object({
18
18
  const EterminCreateAnchortimeOutput = zod.z.object({
19
19
  message: zod.z.string().describe("Status message from the API indicating the result of the operation.").nullable(),
20
20
  success: zod.z.boolean().describe("Indicates whether the anchortime was created successfully.").nullable()
21
- }).describe("Response schema after creating an anchortime in eTermin.");
21
+ }).passthrough().describe("Response schema after creating an anchortime in eTermin.");
22
22
  const eterminCreateAnchortime = require_action.action("ETERMIN_CREATE_ANCHORTIME", {
23
23
  slug: "etermin-create-anchortime",
24
24
  name: "Create Anchortime",
@@ -1 +1 @@
1
- {"version":3,"file":"create-anchortime.cjs","names":["z","action"],"sources":["../../src/actions/create-anchortime.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminCreateAnchortimeInput = z.object({\n weekday: z.union([z.literal(1), z.literal(2), z.literal(3), z.literal(4), z.literal(5), z.literal(6), z.literal(7)]).describe(\"Day of the week for the anchortime. 1 = Sunday, 2 = Monday, 3 = Tuesday, 4 = Wednesday, 5 = Thursday, 6 = Friday, 7 = Saturday.\"),\n starttime: z.string().describe(\"Time of the anchor in HH:MM format (24-hour). This defines when the recurring time slot begins.\"),\n calendarid: z.number().int().describe(\"ID of the calendar. Use the 'Get Calendars' action to retrieve a list of all available calendars.\"),\n ignoreonceappbooked: z.boolean().describe(\"If true, the anchortime will be ignored once an appointment is booked for this day. If false, the anchortime remains active regardless of bookings.\"),\n}).describe(\"Request parameters for creating an anchortime in eTermin.\\n\\nAnchortimes define recurring time slots in a calendar for appointment scheduling.\");\nexport const EterminCreateAnchortimeOutput = z.object({\n message: z.string().describe(\"Status message from the API indicating the result of the operation.\").nullable(),\n success: z.boolean().describe(\"Indicates whether the anchortime was created successfully.\").nullable(),\n}).describe(\"Response schema after creating an anchortime in eTermin.\");\n\nexport const eterminCreateAnchortime = action(\"ETERMIN_CREATE_ANCHORTIME\", {\n slug: \"etermin-create-anchortime\",\n name: \"Create Anchortime\",\n description: \"Tool to create anchortimes (recurring time slots) in a calendar. Use when you need to define regular appointment availability.\",\n input: EterminCreateAnchortimeInput,\n output: EterminCreateAnchortimeOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,SAASA,IAAAA,EAAE,MAAM;EAACA,IAAAA,EAAE,QAAQ,CAAC;EAAGA,IAAAA,EAAE,QAAQ,CAAC;EAAGA,IAAAA,EAAE,QAAQ,CAAC;EAAGA,IAAAA,EAAE,QAAQ,CAAC;EAAGA,IAAAA,EAAE,QAAQ,CAAC;EAAGA,IAAAA,EAAE,QAAQ,CAAC;EAAGA,IAAAA,EAAE,QAAQ,CAAC;CAAC,CAAC,CAAC,CAAC,SAAS,iIAAiI;CAC/P,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iGAAiG;CAChI,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mGAAmG;CACzI,qBAAqBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,qJAAqJ;AACjM,CAAC,CAAC,CAAC,SAAS,gJAAgJ;AAC5J,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;CAC7G,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;AACvG,CAAC,CAAC,CAAC,SAAS,0DAA0D;AAEtE,MAAa,0BAA0BC,eAAAA,OAAO,6BAA6B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"create-anchortime.cjs","names":["z","action"],"sources":["../../src/actions/create-anchortime.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminCreateAnchortimeInput = z.object({\n weekday: z.union([z.literal(1), z.literal(2), z.literal(3), z.literal(4), z.literal(5), z.literal(6), z.literal(7)]).describe(\"Day of the week for the anchortime. 1 = Sunday, 2 = Monday, 3 = Tuesday, 4 = Wednesday, 5 = Thursday, 6 = Friday, 7 = Saturday.\"),\n starttime: z.string().describe(\"Time of the anchor in HH:MM format (24-hour). This defines when the recurring time slot begins.\"),\n calendarid: z.number().int().describe(\"ID of the calendar. Use the 'Get Calendars' action to retrieve a list of all available calendars.\"),\n ignoreonceappbooked: z.boolean().describe(\"If true, the anchortime will be ignored once an appointment is booked for this day. If false, the anchortime remains active regardless of bookings.\"),\n}).describe(\"Request parameters for creating an anchortime in eTermin.\\n\\nAnchortimes define recurring time slots in a calendar for appointment scheduling.\");\nexport const EterminCreateAnchortimeOutput = z.object({\n message: z.string().describe(\"Status message from the API indicating the result of the operation.\").nullable(),\n success: z.boolean().describe(\"Indicates whether the anchortime was created successfully.\").nullable(),\n}).passthrough().describe(\"Response schema after creating an anchortime in eTermin.\");\n\nexport const eterminCreateAnchortime = action(\"ETERMIN_CREATE_ANCHORTIME\", {\n slug: \"etermin-create-anchortime\",\n name: \"Create Anchortime\",\n description: \"Tool to create anchortimes (recurring time slots) in a calendar. Use when you need to define regular appointment availability.\",\n input: EterminCreateAnchortimeInput,\n output: EterminCreateAnchortimeOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,SAASA,IAAAA,EAAE,MAAM;EAACA,IAAAA,EAAE,QAAQ,CAAC;EAAGA,IAAAA,EAAE,QAAQ,CAAC;EAAGA,IAAAA,EAAE,QAAQ,CAAC;EAAGA,IAAAA,EAAE,QAAQ,CAAC;EAAGA,IAAAA,EAAE,QAAQ,CAAC;EAAGA,IAAAA,EAAE,QAAQ,CAAC;EAAGA,IAAAA,EAAE,QAAQ,CAAC;CAAC,CAAC,CAAC,CAAC,SAAS,iIAAiI;CAC/P,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iGAAiG;CAChI,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mGAAmG;CACzI,qBAAqBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,qJAAqJ;AACjM,CAAC,CAAC,CAAC,SAAS,gJAAgJ;AAC5J,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;CAC7G,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;AACvG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0DAA0D;AAEpF,MAAa,0BAA0BC,eAAAA,OAAO,6BAA6B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -10,16 +10,13 @@ declare const EterminCreateAnchortimeInput: z.ZodObject<{
10
10
  declare const EterminCreateAnchortimeOutput: z.ZodObject<{
11
11
  message: z.ZodNullable<z.ZodString>;
12
12
  success: z.ZodNullable<z.ZodBoolean>;
13
- }, z.core.$strip>;
13
+ }, z.core.$loose>;
14
14
  declare const eterminCreateAnchortime: import("@keystrokehq/action").WorkflowActionDefinition<{
15
- weekday: 1 | 3 | 2 | 4 | 5 | 6 | 7;
15
+ weekday: 2 | 1 | 3 | 4 | 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
@@ -10,16 +10,13 @@ declare const EterminCreateAnchortimeInput: z.ZodObject<{
10
10
  declare const EterminCreateAnchortimeOutput: z.ZodObject<{
11
11
  message: z.ZodNullable<z.ZodString>;
12
12
  success: z.ZodNullable<z.ZodBoolean>;
13
- }, z.core.$strip>;
13
+ }, z.core.$loose>;
14
14
  declare const eterminCreateAnchortime: import("@keystrokehq/action").WorkflowActionDefinition<{
15
- weekday: 1 | 3 | 2 | 4 | 5 | 6 | 7;
15
+ weekday: 2 | 1 | 3 | 4 | 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
@@ -21,7 +21,7 @@ const eterminCreateAnchortime = action("ETERMIN_CREATE_ANCHORTIME", {
21
21
  output: z.object({
22
22
  message: z.string().describe("Status message from the API indicating the result of the operation.").nullable(),
23
23
  success: z.boolean().describe("Indicates whether the anchortime was created successfully.").nullable()
24
- }).describe("Response schema after creating an anchortime in eTermin.")
24
+ }).passthrough().describe("Response schema after creating an anchortime in eTermin.")
25
25
  });
26
26
  //#endregion
27
27
  export { eterminCreateAnchortime };
@@ -1 +1 @@
1
- {"version":3,"file":"create-anchortime.mjs","names":[],"sources":["../../src/actions/create-anchortime.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminCreateAnchortimeInput = z.object({\n weekday: z.union([z.literal(1), z.literal(2), z.literal(3), z.literal(4), z.literal(5), z.literal(6), z.literal(7)]).describe(\"Day of the week for the anchortime. 1 = Sunday, 2 = Monday, 3 = Tuesday, 4 = Wednesday, 5 = Thursday, 6 = Friday, 7 = Saturday.\"),\n starttime: z.string().describe(\"Time of the anchor in HH:MM format (24-hour). This defines when the recurring time slot begins.\"),\n calendarid: z.number().int().describe(\"ID of the calendar. Use the 'Get Calendars' action to retrieve a list of all available calendars.\"),\n ignoreonceappbooked: z.boolean().describe(\"If true, the anchortime will be ignored once an appointment is booked for this day. If false, the anchortime remains active regardless of bookings.\"),\n}).describe(\"Request parameters for creating an anchortime in eTermin.\\n\\nAnchortimes define recurring time slots in a calendar for appointment scheduling.\");\nexport const EterminCreateAnchortimeOutput = z.object({\n message: z.string().describe(\"Status message from the API indicating the result of the operation.\").nullable(),\n success: z.boolean().describe(\"Indicates whether the anchortime was created successfully.\").nullable(),\n}).describe(\"Response schema after creating an anchortime in eTermin.\");\n\nexport const eterminCreateAnchortime = action(\"ETERMIN_CREATE_ANCHORTIME\", {\n slug: \"etermin-create-anchortime\",\n name: \"Create Anchortime\",\n description: \"Tool to create anchortimes (recurring time slots) in a calendar. Use when you need to define regular appointment availability.\",\n input: EterminCreateAnchortimeInput,\n output: EterminCreateAnchortimeOutput,\n});\n"],"mappings":";;AAeA,MAAa,0BAA0B,OAAO,6BAA6B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAf0C,EAAE,OAAO;EACnD,SAAS,EAAE,MAAM;GAAC,EAAE,QAAQ,CAAC;GAAG,EAAE,QAAQ,CAAC;GAAG,EAAE,QAAQ,CAAC;GAAG,EAAE,QAAQ,CAAC;GAAG,EAAE,QAAQ,CAAC;GAAG,EAAE,QAAQ,CAAC;GAAG,EAAE,QAAQ,CAAC;EAAC,CAAC,CAAC,CAAC,SAAS,iIAAiI;EAC/P,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,iGAAiG;EAChI,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mGAAmG;EACzI,qBAAqB,EAAE,QAAQ,CAAC,CAAC,SAAS,qJAAqJ;CACjM,CAAC,CAAC,CAAC,SAAS,gJAUH;CACP,QAV2C,EAAE,OAAO;EACpD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;EAC7G,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CACvG,CAAC,CAAC,CAAC,SAAS,0DAOF;AACV,CAAC"}
1
+ {"version":3,"file":"create-anchortime.mjs","names":[],"sources":["../../src/actions/create-anchortime.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminCreateAnchortimeInput = z.object({\n weekday: z.union([z.literal(1), z.literal(2), z.literal(3), z.literal(4), z.literal(5), z.literal(6), z.literal(7)]).describe(\"Day of the week for the anchortime. 1 = Sunday, 2 = Monday, 3 = Tuesday, 4 = Wednesday, 5 = Thursday, 6 = Friday, 7 = Saturday.\"),\n starttime: z.string().describe(\"Time of the anchor in HH:MM format (24-hour). This defines when the recurring time slot begins.\"),\n calendarid: z.number().int().describe(\"ID of the calendar. Use the 'Get Calendars' action to retrieve a list of all available calendars.\"),\n ignoreonceappbooked: z.boolean().describe(\"If true, the anchortime will be ignored once an appointment is booked for this day. If false, the anchortime remains active regardless of bookings.\"),\n}).describe(\"Request parameters for creating an anchortime in eTermin.\\n\\nAnchortimes define recurring time slots in a calendar for appointment scheduling.\");\nexport const EterminCreateAnchortimeOutput = z.object({\n message: z.string().describe(\"Status message from the API indicating the result of the operation.\").nullable(),\n success: z.boolean().describe(\"Indicates whether the anchortime was created successfully.\").nullable(),\n}).passthrough().describe(\"Response schema after creating an anchortime in eTermin.\");\n\nexport const eterminCreateAnchortime = action(\"ETERMIN_CREATE_ANCHORTIME\", {\n slug: \"etermin-create-anchortime\",\n name: \"Create Anchortime\",\n description: \"Tool to create anchortimes (recurring time slots) in a calendar. Use when you need to define regular appointment availability.\",\n input: EterminCreateAnchortimeInput,\n output: EterminCreateAnchortimeOutput,\n});\n"],"mappings":";;AAeA,MAAa,0BAA0B,OAAO,6BAA6B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAf0C,EAAE,OAAO;EACnD,SAAS,EAAE,MAAM;GAAC,EAAE,QAAQ,CAAC;GAAG,EAAE,QAAQ,CAAC;GAAG,EAAE,QAAQ,CAAC;GAAG,EAAE,QAAQ,CAAC;GAAG,EAAE,QAAQ,CAAC;GAAG,EAAE,QAAQ,CAAC;GAAG,EAAE,QAAQ,CAAC;EAAC,CAAC,CAAC,CAAC,SAAS,iIAAiI;EAC/P,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,iGAAiG;EAChI,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mGAAmG;EACzI,qBAAqB,EAAE,QAAQ,CAAC,CAAC,SAAS,qJAAqJ;CACjM,CAAC,CAAC,CAAC,SAAS,gJAUH;CACP,QAV2C,EAAE,OAAO;EACpD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;EAC7G,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CACvG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0DAOhB;AACV,CAAC"}
@@ -20,8 +20,8 @@ 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())
24
- }).describe("Response model for creating an appointment via sync in eTermin.");
23
+ appointment_id: zod.z.string().describe("The ID of the created appointment, if available").nullable().optional()
24
+ }).passthrough().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",
27
27
  name: "Create Appointment via 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}).passthrough().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,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iEAAiE;AAE3F,MAAa,+BAA+BC,eAAAA,OAAO,mCAAmC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -20,8 +20,8 @@ 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>>;
24
- }, z.core.$strip>;
23
+ appointment_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
+ }, z.core.$loose>;
25
25
  declare const eterminCreateAppointmentSync: import("@keystrokehq/action").WorkflowActionDefinition<{
26
26
  end: string;
27
27
  start: 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,8 +20,8 @@ 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>>;
24
- }, z.core.$strip>;
23
+ appointment_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
+ }, z.core.$loose>;
25
25
  declare const eterminCreateAppointmentSync: import("@keystrokehq/action").WorkflowActionDefinition<{
26
26
  end: string;
27
27
  start: 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,8 +23,8 @@ 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())
27
- }).describe("Response model for creating an appointment via sync in eTermin.")
26
+ appointment_id: z.string().describe("The ID of the created appointment, if available").nullable().optional()
27
+ }).passthrough().describe("Response model for creating an appointment via sync in eTermin.")
28
28
  });
29
29
  //#endregion
30
30
  export { eterminCreateAppointmentSync };
@@ -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}).passthrough().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,YAAY,CAAC,CAAC,SAAS,iEAOhB;AACV,CAAC"}