@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":"delete-working-times-date.mjs","names":[],"sources":["../../src/actions/delete-working-times-date.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminDeleteWorkingTimesDateInput = z.object({\n id: z.number().int().describe(\"ID of the working time that needs to be deleted\").optional(),\n calendarid: z.number().int().describe(\"ID of the calendar, every working slot for specific days will be deleted\").optional(),\n}).describe(\"Request model for deleting working times date entries.\\nAt least one of calendarid or id must be provided.\");\nexport const EterminDeleteWorkingTimesDateOutput = z.object({\n status: z.preprocess((value) => (value === null ? undefined : value), z.number().describe(\"HTTP status code of the response\").optional()),\n statusmsg: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Status message indicating the result of the deletion\").optional()),\n}).describe(\"Response model for working times date deletion.\");\n\nexport const eterminDeleteWorkingTimesDate = action(\"ETERMIN_DELETE_WORKING_TIMES_DATE\", {\n slug: \"etermin-delete-working-times-date\",\n name: \"Delete Working Times Date\",\n description: \"Tool to delete working times date entries from eTermin. Use when removing working time slots by calendar or specific ID. Provide either calendarid to delete all working slots for a calendar, or id to delete a specific working time entry.\",\n input: EterminDeleteWorkingTimesDateInput,\n output: EterminDeleteWorkingTimesDateOutput,\n});\n"],"mappings":";;AAaA,MAAa,gCAAgC,OAAO,qCAAqC;CACvF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAbgD,EAAE,OAAO;EACzD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;EAC1F,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;CAC7H,CAAC,CAAC,CAAC,SAAS,4GAUH;CACP,QAViD,EAAE,OAAO;EAC1D,QAAQ,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC;EACxI,WAAW,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC;CACjK,CAAC,CAAC,CAAC,SAAS,iDAOF;AACV,CAAC"}
1
+ {"version":3,"file":"delete-working-times-date.mjs","names":[],"sources":["../../src/actions/delete-working-times-date.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminDeleteWorkingTimesDateInput = z.object({\n id: z.number().int().describe(\"ID of the working time that needs to be deleted\").optional(),\n calendarid: z.number().int().describe(\"ID of the calendar, every working slot for specific days will be deleted\").optional(),\n}).describe(\"Request model for deleting working times date entries.\\nAt least one of calendarid or id must be provided.\");\nexport const EterminDeleteWorkingTimesDateOutput = z.object({\n status: z.number().describe(\"HTTP status code of the response\").nullable().optional(),\n statusmsg: z.string().describe(\"Status message indicating the result of the deletion\").nullable().optional(),\n}).passthrough().describe(\"Response model for working times date deletion.\");\n\nexport const eterminDeleteWorkingTimesDate = action(\"ETERMIN_DELETE_WORKING_TIMES_DATE\", {\n slug: \"etermin-delete-working-times-date\",\n name: \"Delete Working Times Date\",\n description: \"Tool to delete working times date entries from eTermin. Use when removing working time slots by calendar or specific ID. Provide either calendarid to delete all working slots for a calendar, or id to delete a specific working time entry.\",\n input: EterminDeleteWorkingTimesDateInput,\n output: EterminDeleteWorkingTimesDateOutput,\n});\n"],"mappings":";;AAaA,MAAa,gCAAgC,OAAO,qCAAqC;CACvF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAbgD,EAAE,OAAO;EACzD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;EAC1F,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;CAC7H,CAAC,CAAC,CAAC,SAAS,4GAUH;CACP,QAViD,EAAE,OAAO;EAC1D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAOhB;AACV,CAAC"}
@@ -6,9 +6,9 @@ const EterminDeleteWorkingTimesInput = zod.z.object({
6
6
  calendarid: zod.z.number().int().describe("ID of the calendar whose working times should be deleted")
7
7
  }).describe("Request model for deleting working times from a calendar.");
8
8
  const EterminDeleteWorkingTimesOutput = zod.z.object({
9
- status: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.number().describe("HTTP status code of the operation").optional()),
10
- statusmsg: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Status message describing the result of the delete operation").optional())
11
- }).describe("Response model for delete working times operation.");
9
+ status: zod.z.number().describe("HTTP status code of the operation").nullable().optional(),
10
+ statusmsg: zod.z.string().describe("Status message describing the result of the delete operation").nullable().optional()
11
+ }).passthrough().describe("Response model for delete working times operation.");
12
12
  const eterminDeleteWorkingTimes = require_action.action("ETERMIN_DELETE_WORKING_TIMES", {
13
13
  slug: "etermin-delete-working-times",
14
14
  name: "Delete Working Times",
@@ -1 +1 @@
1
- {"version":3,"file":"delete-working-times.cjs","names":["z","action"],"sources":["../../src/actions/delete-working-times.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminDeleteWorkingTimesInput = z.object({\n id: z.number().int().describe(\"ID of the specific working time slot to delete. If not provided, every working slot of the calendar will be deleted\").optional(),\n calendarid: z.number().int().describe(\"ID of the calendar whose working times should be deleted\"),\n}).describe(\"Request model for deleting working times from a calendar.\");\nexport const EterminDeleteWorkingTimesOutput = z.object({\n status: z.preprocess((value) => (value === null ? undefined : value), z.number().describe(\"HTTP status code of the operation\").optional()),\n statusmsg: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Status message describing the result of the delete operation\").optional()),\n}).describe(\"Response model for delete working times operation.\");\n\nexport const eterminDeleteWorkingTimes = action(\"ETERMIN_DELETE_WORKING_TIMES\", {\n slug: \"etermin-delete-working-times\",\n name: \"Delete Working Times\",\n description: \"Tool to delete working times from a calendar. Use when removing time slots or clearing all working times from a calendar. If no specific working time ID is provided, all working slots for the calendar will be deleted.\",\n input: EterminDeleteWorkingTimesInput,\n output: EterminDeleteWorkingTimesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qHAAqH,CAAC,CAAC,SAAS;CAC9J,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0DAA0D;AAClG,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,QAAQA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC;CACzI,WAAWA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC;AACzK,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAEhE,MAAa,4BAA4BC,eAAAA,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"delete-working-times.cjs","names":["z","action"],"sources":["../../src/actions/delete-working-times.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminDeleteWorkingTimesInput = z.object({\n id: z.number().int().describe(\"ID of the specific working time slot to delete. If not provided, every working slot of the calendar will be deleted\").optional(),\n calendarid: z.number().int().describe(\"ID of the calendar whose working times should be deleted\"),\n}).describe(\"Request model for deleting working times from a calendar.\");\nexport const EterminDeleteWorkingTimesOutput = z.object({\n status: z.number().describe(\"HTTP status code of the operation\").nullable().optional(),\n statusmsg: z.string().describe(\"Status message describing the result of the delete operation\").nullable().optional(),\n}).passthrough().describe(\"Response model for delete working times operation.\");\n\nexport const eterminDeleteWorkingTimes = action(\"ETERMIN_DELETE_WORKING_TIMES\", {\n slug: \"etermin-delete-working-times\",\n name: \"Delete Working Times\",\n description: \"Tool to delete working times from a calendar. Use when removing time slots or clearing all working times from a calendar. If no specific working time ID is provided, all working slots for the calendar will be deleted.\",\n input: EterminDeleteWorkingTimesInput,\n output: EterminDeleteWorkingTimesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qHAAqH,CAAC,CAAC,SAAS;CAC9J,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0DAA0D;AAClG,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAAoD;AAE9E,MAAa,4BAA4BC,eAAAA,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -6,16 +6,13 @@ declare const EterminDeleteWorkingTimesInput: z.ZodObject<{
6
6
  calendarid: z.ZodNumber;
7
7
  }, z.core.$strip>;
8
8
  declare const EterminDeleteWorkingTimesOutput: z.ZodObject<{
9
- status: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
10
- statusmsg: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
11
- }, z.core.$strip>;
9
+ status: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
10
+ statusmsg: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
+ }, z.core.$loose>;
12
12
  declare const eterminDeleteWorkingTimes: import("@keystrokehq/action").WorkflowActionDefinition<{
13
13
  calendarid: number;
14
14
  id?: number | undefined;
15
- }, {
16
- status?: number | undefined;
17
- statusmsg?: string | undefined;
18
- }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
15
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
19
16
  //#endregion
20
17
  export { eterminDeleteWorkingTimes };
21
18
  //# sourceMappingURL=delete-working-times.d.cts.map
@@ -6,16 +6,13 @@ declare const EterminDeleteWorkingTimesInput: z.ZodObject<{
6
6
  calendarid: z.ZodNumber;
7
7
  }, z.core.$strip>;
8
8
  declare const EterminDeleteWorkingTimesOutput: z.ZodObject<{
9
- status: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
10
- statusmsg: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
11
- }, z.core.$strip>;
9
+ status: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
10
+ statusmsg: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
+ }, z.core.$loose>;
12
12
  declare const eterminDeleteWorkingTimes: import("@keystrokehq/action").WorkflowActionDefinition<{
13
13
  calendarid: number;
14
14
  id?: number | undefined;
15
- }, {
16
- status?: number | undefined;
17
- statusmsg?: string | undefined;
18
- }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
15
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
19
16
  //#endregion
20
17
  export { eterminDeleteWorkingTimes };
21
18
  //# sourceMappingURL=delete-working-times.d.mts.map
@@ -9,9 +9,9 @@ const eterminDeleteWorkingTimes = action("ETERMIN_DELETE_WORKING_TIMES", {
9
9
  calendarid: z.number().int().describe("ID of the calendar whose working times should be deleted")
10
10
  }).describe("Request model for deleting working times from a calendar."),
11
11
  output: z.object({
12
- status: z.preprocess((value) => value === null ? void 0 : value, z.number().describe("HTTP status code of the operation").optional()),
13
- statusmsg: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Status message describing the result of the delete operation").optional())
14
- }).describe("Response model for delete working times operation.")
12
+ status: z.number().describe("HTTP status code of the operation").nullable().optional(),
13
+ statusmsg: z.string().describe("Status message describing the result of the delete operation").nullable().optional()
14
+ }).passthrough().describe("Response model for delete working times operation.")
15
15
  });
16
16
  //#endregion
17
17
  export { eterminDeleteWorkingTimes };
@@ -1 +1 @@
1
- {"version":3,"file":"delete-working-times.mjs","names":[],"sources":["../../src/actions/delete-working-times.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminDeleteWorkingTimesInput = z.object({\n id: z.number().int().describe(\"ID of the specific working time slot to delete. If not provided, every working slot of the calendar will be deleted\").optional(),\n calendarid: z.number().int().describe(\"ID of the calendar whose working times should be deleted\"),\n}).describe(\"Request model for deleting working times from a calendar.\");\nexport const EterminDeleteWorkingTimesOutput = z.object({\n status: z.preprocess((value) => (value === null ? undefined : value), z.number().describe(\"HTTP status code of the operation\").optional()),\n statusmsg: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Status message describing the result of the delete operation\").optional()),\n}).describe(\"Response model for delete working times operation.\");\n\nexport const eterminDeleteWorkingTimes = action(\"ETERMIN_DELETE_WORKING_TIMES\", {\n slug: \"etermin-delete-working-times\",\n name: \"Delete Working Times\",\n description: \"Tool to delete working times from a calendar. Use when removing time slots or clearing all working times from a calendar. If no specific working time ID is provided, all working slots for the calendar will be deleted.\",\n input: EterminDeleteWorkingTimesInput,\n output: EterminDeleteWorkingTimesOutput,\n});\n"],"mappings":";;AAaA,MAAa,4BAA4B,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAb4C,EAAE,OAAO;EACrD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qHAAqH,CAAC,CAAC,SAAS;EAC9J,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0DAA0D;CAClG,CAAC,CAAC,CAAC,SAAS,2DAUH;CACP,QAV6C,EAAE,OAAO;EACtD,QAAQ,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC;EACzI,WAAW,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC;CACzK,CAAC,CAAC,CAAC,SAAS,oDAOF;AACV,CAAC"}
1
+ {"version":3,"file":"delete-working-times.mjs","names":[],"sources":["../../src/actions/delete-working-times.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminDeleteWorkingTimesInput = z.object({\n id: z.number().int().describe(\"ID of the specific working time slot to delete. If not provided, every working slot of the calendar will be deleted\").optional(),\n calendarid: z.number().int().describe(\"ID of the calendar whose working times should be deleted\"),\n}).describe(\"Request model for deleting working times from a calendar.\");\nexport const EterminDeleteWorkingTimesOutput = z.object({\n status: z.number().describe(\"HTTP status code of the operation\").nullable().optional(),\n statusmsg: z.string().describe(\"Status message describing the result of the delete operation\").nullable().optional(),\n}).passthrough().describe(\"Response model for delete working times operation.\");\n\nexport const eterminDeleteWorkingTimes = action(\"ETERMIN_DELETE_WORKING_TIMES\", {\n slug: \"etermin-delete-working-times\",\n name: \"Delete Working Times\",\n description: \"Tool to delete working times from a calendar. Use when removing time slots or clearing all working times from a calendar. If no specific working time ID is provided, all working slots for the calendar will be deleted.\",\n input: EterminDeleteWorkingTimesInput,\n output: EterminDeleteWorkingTimesOutput,\n});\n"],"mappings":";;AAaA,MAAa,4BAA4B,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAb4C,EAAE,OAAO;EACrD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qHAAqH,CAAC,CAAC,SAAS;EAC9J,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0DAA0D;CAClG,CAAC,CAAC,CAAC,SAAS,2DAUH;CACP,QAV6C,EAAE,OAAO;EACtD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAOhB;AACV,CAAC"}
@@ -3,14 +3,14 @@ let zod = require("zod");
3
3
  //#region src/actions/get-absences.ts
4
4
  const EterminGetAbsencesInput = zod.z.object({ calendarid: zod.z.number().int().describe("ID of the calendar to retrieve absences for") }).describe("Request model for retrieving absences (non-working times) for a calendar.");
5
5
  const EterminGetAbsences_AbsenceSchema = zod.z.object({
6
- id: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.number().int().describe("Unique identifier of the absence entry").optional()),
7
- nwtype: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.number().int().describe("Non-working time type identifier").optional()),
8
- reason: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Reason for the absence").optional()),
9
- enddate: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("End date and time of the absence (format: YYYY-MM-DDTHH:mm:ss)").optional()),
10
- startdate: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Start date and time of the absence (format: YYYY-MM-DDTHH:mm:ss)").optional()),
11
- dynamicdays: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.number().int().describe("Dynamic days configuration for the absence").optional())
6
+ id: zod.z.number().int().describe("Unique identifier of the absence entry").nullable().optional(),
7
+ nwtype: zod.z.number().int().describe("Non-working time type identifier").nullable().optional(),
8
+ reason: zod.z.string().describe("Reason for the absence").nullable().optional(),
9
+ enddate: zod.z.string().describe("End date and time of the absence (format: YYYY-MM-DDTHH:mm:ss)").nullable().optional(),
10
+ startdate: zod.z.string().describe("Start date and time of the absence (format: YYYY-MM-DDTHH:mm:ss)").nullable().optional(),
11
+ dynamicdays: zod.z.number().int().describe("Dynamic days configuration for the absence").nullable().optional()
12
12
  }).passthrough().describe("Model representing a single absence (non-working time) entry.");
13
- const EterminGetAbsencesOutput = zod.z.object({ absences: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.array(EterminGetAbsences_AbsenceSchema).describe("List of absence entries for the calendar").optional()) }).describe("Response model containing list of absences for a calendar.");
13
+ const EterminGetAbsencesOutput = zod.z.object({ absences: zod.z.array(EterminGetAbsences_AbsenceSchema).describe("List of absence entries for the calendar").nullable().optional() }).passthrough().describe("Response model containing list of absences for a calendar.");
14
14
  const eterminGetAbsences = require_action.action("ETERMIN_GET_ABSENCES", {
15
15
  slug: "etermin-get-absences",
16
16
  name: "Get Absences",
@@ -1 +1 @@
1
- {"version":3,"file":"get-absences.cjs","names":["z","action"],"sources":["../../src/actions/get-absences.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminGetAbsencesInput = z.object({\n calendarid: z.number().int().describe(\"ID of the calendar to retrieve absences for\"),\n}).describe(\"Request model for retrieving absences (non-working times) for a calendar.\");\nconst EterminGetAbsences_AbsenceSchema = z.object({\n id: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"Unique identifier of the absence entry\").optional()),\n nwtype: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"Non-working time type identifier\").optional()),\n reason: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Reason for the absence\").optional()),\n enddate: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"End date and time of the absence (format: YYYY-MM-DDTHH:mm:ss)\").optional()),\n startdate: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Start date and time of the absence (format: YYYY-MM-DDTHH:mm:ss)\").optional()),\n dynamicdays: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"Dynamic days configuration for the absence\").optional()),\n}).passthrough().describe(\"Model representing a single absence (non-working time) entry.\");\nexport const EterminGetAbsencesOutput = z.object({\n absences: z.preprocess((value) => (value === null ? undefined : value), z.array(EterminGetAbsences_AbsenceSchema).describe(\"List of absence entries for the calendar\").optional()),\n}).describe(\"Response model containing list of absences for a calendar.\");\n\nexport const eterminGetAbsences = action(\"ETERMIN_GET_ABSENCES\", {\n slug: \"etermin-get-absences\",\n name: \"Get Absences\",\n description: \"Tool to retrieve absences (non-working times) for a specific calendar. Use when you need to check when a calendar is unavailable for appointments.\",\n input: EterminGetAbsencesInput,\n output: EterminGetAbsencesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO,EAC9C,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,EACrF,CAAC,CAAC,CAAC,SAAS,2EAA2E;AACvF,MAAM,mCAAmCA,IAAAA,EAAE,OAAO;CAChD,IAAIA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC;CAChJ,QAAQA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC;CAC9I,QAAQA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC;CAC9H,SAASA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC;CACvK,WAAWA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC;CAC3K,aAAaA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC;AAC/J,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+DAA+D;AACzF,MAAa,2BAA2BA,IAAAA,EAAE,OAAO,EAC/C,UAAUA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,MAAM,gCAAgC,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,EACnL,CAAC,CAAC,CAAC,SAAS,4DAA4D;AAExE,MAAa,qBAAqBC,eAAAA,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-absences.cjs","names":["z","action"],"sources":["../../src/actions/get-absences.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminGetAbsencesInput = z.object({\n calendarid: z.number().int().describe(\"ID of the calendar to retrieve absences for\"),\n}).describe(\"Request model for retrieving absences (non-working times) for a calendar.\");\nconst EterminGetAbsences_AbsenceSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the absence entry\").nullable().optional(),\n nwtype: z.number().int().describe(\"Non-working time type identifier\").nullable().optional(),\n reason: z.string().describe(\"Reason for the absence\").nullable().optional(),\n enddate: z.string().describe(\"End date and time of the absence (format: YYYY-MM-DDTHH:mm:ss)\").nullable().optional(),\n startdate: z.string().describe(\"Start date and time of the absence (format: YYYY-MM-DDTHH:mm:ss)\").nullable().optional(),\n dynamicdays: z.number().int().describe(\"Dynamic days configuration for the absence\").nullable().optional(),\n}).passthrough().describe(\"Model representing a single absence (non-working time) entry.\");\nexport const EterminGetAbsencesOutput = z.object({\n absences: z.array(EterminGetAbsences_AbsenceSchema).describe(\"List of absence entries for the calendar\").nullable().optional(),\n}).passthrough().describe(\"Response model containing list of absences for a calendar.\");\n\nexport const eterminGetAbsences = action(\"ETERMIN_GET_ABSENCES\", {\n slug: \"etermin-get-absences\",\n name: \"Get Absences\",\n description: \"Tool to retrieve absences (non-working times) for a specific calendar. Use when you need to check when a calendar is unavailable for appointments.\",\n input: EterminGetAbsencesInput,\n output: EterminGetAbsencesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO,EAC9C,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,EACrF,CAAC,CAAC,CAAC,SAAS,2EAA2E;AACvF,MAAM,mCAAmCA,IAAAA,EAAE,OAAO;CAChD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvH,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+DAA+D;AACzF,MAAa,2BAA2BA,IAAAA,EAAE,OAAO,EAC/C,UAAUA,IAAAA,EAAE,MAAM,gCAAgC,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC/H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4DAA4D;AAEtF,MAAa,qBAAqBC,eAAAA,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -5,28 +5,18 @@ declare const EterminGetAbsencesInput: z.ZodObject<{
5
5
  calendarid: z.ZodNumber;
6
6
  }, z.core.$strip>;
7
7
  declare const EterminGetAbsencesOutput: z.ZodObject<{
8
- absences: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodObject<{
9
- id: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
10
- nwtype: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
11
- reason: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
12
- enddate: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
13
- startdate: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
14
- dynamicdays: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
8
+ absences: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
9
+ id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
10
+ nwtype: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
11
+ reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
+ enddate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
+ startdate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
+ dynamicdays: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
15
15
  }, z.core.$loose>>>>;
16
- }, z.core.$strip>;
16
+ }, z.core.$loose>;
17
17
  declare const eterminGetAbsences: import("@keystrokehq/action").WorkflowActionDefinition<{
18
18
  calendarid: number;
19
- }, {
20
- absences?: {
21
- [x: string]: unknown;
22
- id?: number | undefined;
23
- nwtype?: number | undefined;
24
- reason?: string | undefined;
25
- enddate?: string | undefined;
26
- startdate?: string | undefined;
27
- dynamicdays?: number | undefined;
28
- }[] | undefined;
29
- }, 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]>;
30
20
  //#endregion
31
21
  export { eterminGetAbsences };
32
22
  //# sourceMappingURL=get-absences.d.cts.map
@@ -5,28 +5,18 @@ declare const EterminGetAbsencesInput: z.ZodObject<{
5
5
  calendarid: z.ZodNumber;
6
6
  }, z.core.$strip>;
7
7
  declare const EterminGetAbsencesOutput: z.ZodObject<{
8
- absences: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodObject<{
9
- id: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
10
- nwtype: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
11
- reason: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
12
- enddate: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
13
- startdate: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
14
- dynamicdays: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
8
+ absences: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
9
+ id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
10
+ nwtype: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
11
+ reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
+ enddate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
+ startdate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
+ dynamicdays: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
15
15
  }, z.core.$loose>>>>;
16
- }, z.core.$strip>;
16
+ }, z.core.$loose>;
17
17
  declare const eterminGetAbsences: import("@keystrokehq/action").WorkflowActionDefinition<{
18
18
  calendarid: number;
19
- }, {
20
- absences?: {
21
- [x: string]: unknown;
22
- id?: number | undefined;
23
- nwtype?: number | undefined;
24
- reason?: string | undefined;
25
- enddate?: string | undefined;
26
- startdate?: string | undefined;
27
- dynamicdays?: number | undefined;
28
- }[] | undefined;
29
- }, 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]>;
30
20
  //#endregion
31
21
  export { eterminGetAbsences };
32
22
  //# sourceMappingURL=get-absences.d.mts.map
@@ -3,19 +3,19 @@ import { z } from "zod";
3
3
  //#region src/actions/get-absences.ts
4
4
  const EterminGetAbsencesInput = z.object({ calendarid: z.number().int().describe("ID of the calendar to retrieve absences for") }).describe("Request model for retrieving absences (non-working times) for a calendar.");
5
5
  const EterminGetAbsences_AbsenceSchema = z.object({
6
- id: z.preprocess((value) => value === null ? void 0 : value, z.number().int().describe("Unique identifier of the absence entry").optional()),
7
- nwtype: z.preprocess((value) => value === null ? void 0 : value, z.number().int().describe("Non-working time type identifier").optional()),
8
- reason: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Reason for the absence").optional()),
9
- enddate: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("End date and time of the absence (format: YYYY-MM-DDTHH:mm:ss)").optional()),
10
- startdate: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Start date and time of the absence (format: YYYY-MM-DDTHH:mm:ss)").optional()),
11
- dynamicdays: z.preprocess((value) => value === null ? void 0 : value, z.number().int().describe("Dynamic days configuration for the absence").optional())
6
+ id: z.number().int().describe("Unique identifier of the absence entry").nullable().optional(),
7
+ nwtype: z.number().int().describe("Non-working time type identifier").nullable().optional(),
8
+ reason: z.string().describe("Reason for the absence").nullable().optional(),
9
+ enddate: z.string().describe("End date and time of the absence (format: YYYY-MM-DDTHH:mm:ss)").nullable().optional(),
10
+ startdate: z.string().describe("Start date and time of the absence (format: YYYY-MM-DDTHH:mm:ss)").nullable().optional(),
11
+ dynamicdays: z.number().int().describe("Dynamic days configuration for the absence").nullable().optional()
12
12
  }).passthrough().describe("Model representing a single absence (non-working time) entry.");
13
13
  const eterminGetAbsences = action("ETERMIN_GET_ABSENCES", {
14
14
  slug: "etermin-get-absences",
15
15
  name: "Get Absences",
16
16
  description: "Tool to retrieve absences (non-working times) for a specific calendar. Use when you need to check when a calendar is unavailable for appointments.",
17
17
  input: EterminGetAbsencesInput,
18
- output: z.object({ absences: z.preprocess((value) => value === null ? void 0 : value, z.array(EterminGetAbsences_AbsenceSchema).describe("List of absence entries for the calendar").optional()) }).describe("Response model containing list of absences for a calendar.")
18
+ output: z.object({ absences: z.array(EterminGetAbsences_AbsenceSchema).describe("List of absence entries for the calendar").nullable().optional() }).passthrough().describe("Response model containing list of absences for a calendar.")
19
19
  });
20
20
  //#endregion
21
21
  export { eterminGetAbsences };
@@ -1 +1 @@
1
- {"version":3,"file":"get-absences.mjs","names":[],"sources":["../../src/actions/get-absences.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminGetAbsencesInput = z.object({\n calendarid: z.number().int().describe(\"ID of the calendar to retrieve absences for\"),\n}).describe(\"Request model for retrieving absences (non-working times) for a calendar.\");\nconst EterminGetAbsences_AbsenceSchema = z.object({\n id: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"Unique identifier of the absence entry\").optional()),\n nwtype: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"Non-working time type identifier\").optional()),\n reason: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Reason for the absence\").optional()),\n enddate: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"End date and time of the absence (format: YYYY-MM-DDTHH:mm:ss)\").optional()),\n startdate: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Start date and time of the absence (format: YYYY-MM-DDTHH:mm:ss)\").optional()),\n dynamicdays: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"Dynamic days configuration for the absence\").optional()),\n}).passthrough().describe(\"Model representing a single absence (non-working time) entry.\");\nexport const EterminGetAbsencesOutput = z.object({\n absences: z.preprocess((value) => (value === null ? undefined : value), z.array(EterminGetAbsences_AbsenceSchema).describe(\"List of absence entries for the calendar\").optional()),\n}).describe(\"Response model containing list of absences for a calendar.\");\n\nexport const eterminGetAbsences = action(\"ETERMIN_GET_ABSENCES\", {\n slug: \"etermin-get-absences\",\n name: \"Get Absences\",\n description: \"Tool to retrieve absences (non-working times) for a specific calendar. Use when you need to check when a calendar is unavailable for appointments.\",\n input: EterminGetAbsencesInput,\n output: EterminGetAbsencesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0B,EAAE,OAAO,EAC9C,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,EACrF,CAAC,CAAC,CAAC,SAAS,2EAA2E;AACvF,MAAM,mCAAmC,EAAE,OAAO;CAChD,IAAI,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC;CAChJ,QAAQ,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC;CAC9I,QAAQ,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC;CAC9H,SAAS,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC;CACvK,WAAW,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC;CAC3K,aAAa,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC;AAC/J,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+DAA+D;AAKzF,MAAa,qBAAqB,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATsC,EAAE,OAAO,EAC/C,UAAU,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,MAAM,gCAAgC,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,EACnL,CAAC,CAAC,CAAC,SAAS,4DAOF;AACV,CAAC"}
1
+ {"version":3,"file":"get-absences.mjs","names":[],"sources":["../../src/actions/get-absences.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminGetAbsencesInput = z.object({\n calendarid: z.number().int().describe(\"ID of the calendar to retrieve absences for\"),\n}).describe(\"Request model for retrieving absences (non-working times) for a calendar.\");\nconst EterminGetAbsences_AbsenceSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the absence entry\").nullable().optional(),\n nwtype: z.number().int().describe(\"Non-working time type identifier\").nullable().optional(),\n reason: z.string().describe(\"Reason for the absence\").nullable().optional(),\n enddate: z.string().describe(\"End date and time of the absence (format: YYYY-MM-DDTHH:mm:ss)\").nullable().optional(),\n startdate: z.string().describe(\"Start date and time of the absence (format: YYYY-MM-DDTHH:mm:ss)\").nullable().optional(),\n dynamicdays: z.number().int().describe(\"Dynamic days configuration for the absence\").nullable().optional(),\n}).passthrough().describe(\"Model representing a single absence (non-working time) entry.\");\nexport const EterminGetAbsencesOutput = z.object({\n absences: z.array(EterminGetAbsences_AbsenceSchema).describe(\"List of absence entries for the calendar\").nullable().optional(),\n}).passthrough().describe(\"Response model containing list of absences for a calendar.\");\n\nexport const eterminGetAbsences = action(\"ETERMIN_GET_ABSENCES\", {\n slug: \"etermin-get-absences\",\n name: \"Get Absences\",\n description: \"Tool to retrieve absences (non-working times) for a specific calendar. Use when you need to check when a calendar is unavailable for appointments.\",\n input: EterminGetAbsencesInput,\n output: EterminGetAbsencesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0B,EAAE,OAAO,EAC9C,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,EACrF,CAAC,CAAC,CAAC,SAAS,2EAA2E;AACvF,MAAM,mCAAmC,EAAE,OAAO;CAChD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvH,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+DAA+D;AAKzF,MAAa,qBAAqB,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATsC,EAAE,OAAO,EAC/C,UAAU,EAAE,MAAM,gCAAgC,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC/H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4DAOhB;AACV,CAAC"}
@@ -3,13 +3,13 @@ let zod = require("zod");
3
3
  //#region src/actions/get-anchortime-date.ts
4
4
  const EterminGetAnchortimeDateInput = zod.z.object({ calendarid: zod.z.number().int().describe("ID of the calendar. Use this parameter if you want to get existing anchortimes for a specific calendar.").optional() }).describe("Request model for retrieving anchortimes by date.");
5
5
  const EterminGetAnchortimeDate_AnchortimeSchema = zod.z.object({
6
- id: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.number().int().describe("Unique identifier of the anchortime").optional()),
7
- reason: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Reason for the anchortime").optional()),
8
- startdate: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Start date of the anchortime in ISO format (e.g., 2022-09-21T10:00:00)").optional()),
9
- calendarid: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.number().int().describe("ID of the calendar this anchortime belongs to").optional()),
10
- ignoreonceappbooked: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.boolean().describe("Whether to ignore this anchortime once an appointment is booked").optional())
6
+ id: zod.z.number().int().describe("Unique identifier of the anchortime").nullable().optional(),
7
+ reason: zod.z.string().describe("Reason for the anchortime").nullable().optional(),
8
+ startdate: zod.z.string().describe("Start date of the anchortime in ISO format (e.g., 2022-09-21T10:00:00)").nullable().optional(),
9
+ calendarid: zod.z.number().int().describe("ID of the calendar this anchortime belongs to").nullable().optional(),
10
+ ignoreonceappbooked: zod.z.boolean().describe("Whether to ignore this anchortime once an appointment is booked").nullable().optional()
11
11
  }).passthrough().describe("Model representing an anchortime entry.");
12
- const EterminGetAnchortimeDateOutput = zod.z.object({ anchortimes: zod.z.array(EterminGetAnchortimeDate_AnchortimeSchema).describe("List of anchortimes returned by eTermin API") }).describe("Response model for retrieving anchortimes by date.");
12
+ const EterminGetAnchortimeDateOutput = zod.z.object({ anchortimes: zod.z.array(EterminGetAnchortimeDate_AnchortimeSchema).describe("List of anchortimes returned by eTermin API") }).passthrough().describe("Response model for retrieving anchortimes by date.");
13
13
  const eterminGetAnchortimeDate = require_action.action("ETERMIN_GET_ANCHORTIME_DATE", {
14
14
  slug: "etermin-get-anchortime-date",
15
15
  name: "Get Anchortime by Date",
@@ -1 +1 @@
1
- {"version":3,"file":"get-anchortime-date.cjs","names":["z","action"],"sources":["../../src/actions/get-anchortime-date.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminGetAnchortimeDateInput = z.object({\n calendarid: z.number().int().describe(\"ID of the calendar. Use this parameter if you want to get existing anchortimes for a specific calendar.\").optional(),\n}).describe(\"Request model for retrieving anchortimes by date.\");\nconst EterminGetAnchortimeDate_AnchortimeSchema = z.object({\n id: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"Unique identifier of the anchortime\").optional()),\n reason: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Reason for the anchortime\").optional()),\n startdate: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Start date of the anchortime in ISO format (e.g., 2022-09-21T10:00:00)\").optional()),\n calendarid: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"ID of the calendar this anchortime belongs to\").optional()),\n ignoreonceappbooked: z.preprocess((value) => (value === null ? undefined : value), z.boolean().describe(\"Whether to ignore this anchortime once an appointment is booked\").optional()),\n}).passthrough().describe(\"Model representing an anchortime entry.\");\nexport const EterminGetAnchortimeDateOutput = z.object({\n anchortimes: z.array(EterminGetAnchortimeDate_AnchortimeSchema).describe(\"List of anchortimes returned by eTermin API\"),\n}).describe(\"Response model for retrieving anchortimes by date.\");\n\nexport const eterminGetAnchortimeDate = action(\"ETERMIN_GET_ANCHORTIME_DATE\", {\n slug: \"etermin-get-anchortime-date\",\n name: \"Get Anchortime by Date\",\n description: \"Tool to retrieve anchortimes by date. Use when you need to get existing anchortimes for calendars. Anchortimes define specific time slots or blocked periods for calendar scheduling.\",\n input: EterminGetAnchortimeDateInput,\n output: EterminGetAnchortimeDateOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO,EACpD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yGAAyG,CAAC,CAAC,SAAS,EAC5J,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAM,4CAA4CA,IAAAA,EAAE,OAAO;CACzD,IAAIA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC;CAC7I,QAAQA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC;CACjI,WAAWA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS,CAAC;CACjL,YAAYA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC;CAC/J,qBAAqBA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC;AACvL,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAAyC;AACnE,MAAa,iCAAiCA,IAAAA,EAAE,OAAO,EACrD,aAAaA,IAAAA,EAAE,MAAM,yCAAyC,CAAC,CAAC,SAAS,6CAA6C,EACxH,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAEhE,MAAa,2BAA2BC,eAAAA,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-anchortime-date.cjs","names":["z","action"],"sources":["../../src/actions/get-anchortime-date.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminGetAnchortimeDateInput = z.object({\n calendarid: z.number().int().describe(\"ID of the calendar. Use this parameter if you want to get existing anchortimes for a specific calendar.\").optional(),\n}).describe(\"Request model for retrieving anchortimes by date.\");\nconst EterminGetAnchortimeDate_AnchortimeSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the anchortime\").nullable().optional(),\n reason: z.string().describe(\"Reason for the anchortime\").nullable().optional(),\n startdate: z.string().describe(\"Start date of the anchortime in ISO format (e.g., 2022-09-21T10:00:00)\").nullable().optional(),\n calendarid: z.number().int().describe(\"ID of the calendar this anchortime belongs to\").nullable().optional(),\n ignoreonceappbooked: z.boolean().describe(\"Whether to ignore this anchortime once an appointment is booked\").nullable().optional(),\n}).passthrough().describe(\"Model representing an anchortime entry.\");\nexport const EterminGetAnchortimeDateOutput = z.object({\n anchortimes: z.array(EterminGetAnchortimeDate_AnchortimeSchema).describe(\"List of anchortimes returned by eTermin API\"),\n}).passthrough().describe(\"Response model for retrieving anchortimes by date.\");\n\nexport const eterminGetAnchortimeDate = action(\"ETERMIN_GET_ANCHORTIME_DATE\", {\n slug: \"etermin-get-anchortime-date\",\n name: \"Get Anchortime by Date\",\n description: \"Tool to retrieve anchortimes by date. Use when you need to get existing anchortimes for calendars. Anchortimes define specific time slots or blocked periods for calendar scheduling.\",\n input: EterminGetAnchortimeDateInput,\n output: EterminGetAnchortimeDateOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO,EACpD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yGAAyG,CAAC,CAAC,SAAS,EAC5J,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAM,4CAA4CA,IAAAA,EAAE,OAAO;CACzD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7H,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,qBAAqBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAAyC;AACnE,MAAa,iCAAiCA,IAAAA,EAAE,OAAO,EACrD,aAAaA,IAAAA,EAAE,MAAM,yCAAyC,CAAC,CAAC,SAAS,6CAA6C,EACxH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAAoD;AAE9E,MAAa,2BAA2BC,eAAAA,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -6,25 +6,16 @@ declare const EterminGetAnchortimeDateInput: z.ZodObject<{
6
6
  }, z.core.$strip>;
7
7
  declare const EterminGetAnchortimeDateOutput: z.ZodObject<{
8
8
  anchortimes: z.ZodArray<z.ZodObject<{
9
- id: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
10
- reason: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
11
- startdate: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
12
- calendarid: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
13
- ignoreonceappbooked: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
9
+ id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
10
+ reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
+ startdate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
+ calendarid: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
13
+ ignoreonceappbooked: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
14
14
  }, z.core.$loose>>;
15
- }, z.core.$strip>;
15
+ }, z.core.$loose>;
16
16
  declare const eterminGetAnchortimeDate: import("@keystrokehq/action").WorkflowActionDefinition<{
17
17
  calendarid?: number | undefined;
18
- }, {
19
- anchortimes: {
20
- [x: string]: unknown;
21
- id?: number | undefined;
22
- reason?: string | undefined;
23
- startdate?: string | undefined;
24
- calendarid?: number | undefined;
25
- ignoreonceappbooked?: boolean | undefined;
26
- }[];
27
- }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
18
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
28
19
  //#endregion
29
20
  export { eterminGetAnchortimeDate };
30
21
  //# sourceMappingURL=get-anchortime-date.d.cts.map
@@ -6,25 +6,16 @@ declare const EterminGetAnchortimeDateInput: z.ZodObject<{
6
6
  }, z.core.$strip>;
7
7
  declare const EterminGetAnchortimeDateOutput: z.ZodObject<{
8
8
  anchortimes: z.ZodArray<z.ZodObject<{
9
- id: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
10
- reason: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
11
- startdate: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
12
- calendarid: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
13
- ignoreonceappbooked: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
9
+ id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
10
+ reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
+ startdate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
+ calendarid: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
13
+ ignoreonceappbooked: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
14
14
  }, z.core.$loose>>;
15
- }, z.core.$strip>;
15
+ }, z.core.$loose>;
16
16
  declare const eterminGetAnchortimeDate: import("@keystrokehq/action").WorkflowActionDefinition<{
17
17
  calendarid?: number | undefined;
18
- }, {
19
- anchortimes: {
20
- [x: string]: unknown;
21
- id?: number | undefined;
22
- reason?: string | undefined;
23
- startdate?: string | undefined;
24
- calendarid?: number | undefined;
25
- ignoreonceappbooked?: boolean | undefined;
26
- }[];
27
- }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
18
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
28
19
  //#endregion
29
20
  export { eterminGetAnchortimeDate };
30
21
  //# sourceMappingURL=get-anchortime-date.d.mts.map
@@ -3,18 +3,18 @@ import { z } from "zod";
3
3
  //#region src/actions/get-anchortime-date.ts
4
4
  const EterminGetAnchortimeDateInput = z.object({ calendarid: z.number().int().describe("ID of the calendar. Use this parameter if you want to get existing anchortimes for a specific calendar.").optional() }).describe("Request model for retrieving anchortimes by date.");
5
5
  const EterminGetAnchortimeDate_AnchortimeSchema = z.object({
6
- id: z.preprocess((value) => value === null ? void 0 : value, z.number().int().describe("Unique identifier of the anchortime").optional()),
7
- reason: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Reason for the anchortime").optional()),
8
- startdate: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Start date of the anchortime in ISO format (e.g., 2022-09-21T10:00:00)").optional()),
9
- calendarid: z.preprocess((value) => value === null ? void 0 : value, z.number().int().describe("ID of the calendar this anchortime belongs to").optional()),
10
- ignoreonceappbooked: z.preprocess((value) => value === null ? void 0 : value, z.boolean().describe("Whether to ignore this anchortime once an appointment is booked").optional())
6
+ id: z.number().int().describe("Unique identifier of the anchortime").nullable().optional(),
7
+ reason: z.string().describe("Reason for the anchortime").nullable().optional(),
8
+ startdate: z.string().describe("Start date of the anchortime in ISO format (e.g., 2022-09-21T10:00:00)").nullable().optional(),
9
+ calendarid: z.number().int().describe("ID of the calendar this anchortime belongs to").nullable().optional(),
10
+ ignoreonceappbooked: z.boolean().describe("Whether to ignore this anchortime once an appointment is booked").nullable().optional()
11
11
  }).passthrough().describe("Model representing an anchortime entry.");
12
12
  const eterminGetAnchortimeDate = action("ETERMIN_GET_ANCHORTIME_DATE", {
13
13
  slug: "etermin-get-anchortime-date",
14
14
  name: "Get Anchortime by Date",
15
15
  description: "Tool to retrieve anchortimes by date. Use when you need to get existing anchortimes for calendars. Anchortimes define specific time slots or blocked periods for calendar scheduling.",
16
16
  input: EterminGetAnchortimeDateInput,
17
- output: z.object({ anchortimes: z.array(EterminGetAnchortimeDate_AnchortimeSchema).describe("List of anchortimes returned by eTermin API") }).describe("Response model for retrieving anchortimes by date.")
17
+ output: z.object({ anchortimes: z.array(EterminGetAnchortimeDate_AnchortimeSchema).describe("List of anchortimes returned by eTermin API") }).passthrough().describe("Response model for retrieving anchortimes by date.")
18
18
  });
19
19
  //#endregion
20
20
  export { eterminGetAnchortimeDate };
@@ -1 +1 @@
1
- {"version":3,"file":"get-anchortime-date.mjs","names":[],"sources":["../../src/actions/get-anchortime-date.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminGetAnchortimeDateInput = z.object({\n calendarid: z.number().int().describe(\"ID of the calendar. Use this parameter if you want to get existing anchortimes for a specific calendar.\").optional(),\n}).describe(\"Request model for retrieving anchortimes by date.\");\nconst EterminGetAnchortimeDate_AnchortimeSchema = z.object({\n id: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"Unique identifier of the anchortime\").optional()),\n reason: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Reason for the anchortime\").optional()),\n startdate: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Start date of the anchortime in ISO format (e.g., 2022-09-21T10:00:00)\").optional()),\n calendarid: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"ID of the calendar this anchortime belongs to\").optional()),\n ignoreonceappbooked: z.preprocess((value) => (value === null ? undefined : value), z.boolean().describe(\"Whether to ignore this anchortime once an appointment is booked\").optional()),\n}).passthrough().describe(\"Model representing an anchortime entry.\");\nexport const EterminGetAnchortimeDateOutput = z.object({\n anchortimes: z.array(EterminGetAnchortimeDate_AnchortimeSchema).describe(\"List of anchortimes returned by eTermin API\"),\n}).describe(\"Response model for retrieving anchortimes by date.\");\n\nexport const eterminGetAnchortimeDate = action(\"ETERMIN_GET_ANCHORTIME_DATE\", {\n slug: \"etermin-get-anchortime-date\",\n name: \"Get Anchortime by Date\",\n description: \"Tool to retrieve anchortimes by date. Use when you need to get existing anchortimes for calendars. Anchortimes define specific time slots or blocked periods for calendar scheduling.\",\n input: EterminGetAnchortimeDateInput,\n output: EterminGetAnchortimeDateOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgC,EAAE,OAAO,EACpD,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yGAAyG,CAAC,CAAC,SAAS,EAC5J,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAM,4CAA4C,EAAE,OAAO;CACzD,IAAI,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC;CAC7I,QAAQ,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC;CACjI,WAAW,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS,CAAC;CACjL,YAAY,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC;CAC/J,qBAAqB,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC;AACvL,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAAyC;AAKnE,MAAa,2BAA2B,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT4C,EAAE,OAAO,EACrD,aAAa,EAAE,MAAM,yCAAyC,CAAC,CAAC,SAAS,6CAA6C,EACxH,CAAC,CAAC,CAAC,SAAS,oDAOF;AACV,CAAC"}
1
+ {"version":3,"file":"get-anchortime-date.mjs","names":[],"sources":["../../src/actions/get-anchortime-date.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminGetAnchortimeDateInput = z.object({\n calendarid: z.number().int().describe(\"ID of the calendar. Use this parameter if you want to get existing anchortimes for a specific calendar.\").optional(),\n}).describe(\"Request model for retrieving anchortimes by date.\");\nconst EterminGetAnchortimeDate_AnchortimeSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the anchortime\").nullable().optional(),\n reason: z.string().describe(\"Reason for the anchortime\").nullable().optional(),\n startdate: z.string().describe(\"Start date of the anchortime in ISO format (e.g., 2022-09-21T10:00:00)\").nullable().optional(),\n calendarid: z.number().int().describe(\"ID of the calendar this anchortime belongs to\").nullable().optional(),\n ignoreonceappbooked: z.boolean().describe(\"Whether to ignore this anchortime once an appointment is booked\").nullable().optional(),\n}).passthrough().describe(\"Model representing an anchortime entry.\");\nexport const EterminGetAnchortimeDateOutput = z.object({\n anchortimes: z.array(EterminGetAnchortimeDate_AnchortimeSchema).describe(\"List of anchortimes returned by eTermin API\"),\n}).passthrough().describe(\"Response model for retrieving anchortimes by date.\");\n\nexport const eterminGetAnchortimeDate = action(\"ETERMIN_GET_ANCHORTIME_DATE\", {\n slug: \"etermin-get-anchortime-date\",\n name: \"Get Anchortime by Date\",\n description: \"Tool to retrieve anchortimes by date. Use when you need to get existing anchortimes for calendars. Anchortimes define specific time slots or blocked periods for calendar scheduling.\",\n input: EterminGetAnchortimeDateInput,\n output: EterminGetAnchortimeDateOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgC,EAAE,OAAO,EACpD,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yGAAyG,CAAC,CAAC,SAAS,EAC5J,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAM,4CAA4C,EAAE,OAAO;CACzD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7H,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,qBAAqB,EAAE,QAAQ,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAAyC;AAKnE,MAAa,2BAA2B,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT4C,EAAE,OAAO,EACrD,aAAa,EAAE,MAAM,yCAAyC,CAAC,CAAC,SAAS,6CAA6C,EACxH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAOhB;AACV,CAAC"}
@@ -3,13 +3,13 @@ let zod = require("zod");
3
3
  //#region src/actions/get-anchortimes.ts
4
4
  const EterminGetAnchortimesInput = zod.z.object({ calendarid: zod.z.number().int().describe("ID of the calendar. Use this parameter if you want to get existing anchortimes for a specific calendar.").optional() }).describe("Request model for retrieving anchortimes from eTermin.");
5
5
  const EterminGetAnchortimes_AnchortimeSchema = zod.z.object({
6
- id: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.number().int().describe("Unique identifier for the anchortime").optional()),
7
- weekday: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.number().int().describe("Day of the week (0-6, where 0 is Monday)").optional()),
8
- starttime: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Start time for the anchortime in HH:MM:SS format").optional()),
9
- calendarid: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.number().int().describe("ID of the calendar this anchortime belongs to").optional()),
10
- ignoreonceappbooked: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.boolean().describe("Whether to ignore this anchortime once an appointment is booked").optional())
6
+ id: zod.z.number().int().describe("Unique identifier for the anchortime").nullable().optional(),
7
+ weekday: zod.z.number().int().describe("Day of the week (0-6, where 0 is Monday)").nullable().optional(),
8
+ starttime: zod.z.string().describe("Start time for the anchortime in HH:MM:SS format").nullable().optional(),
9
+ calendarid: zod.z.number().int().describe("ID of the calendar this anchortime belongs to").nullable().optional(),
10
+ ignoreonceappbooked: zod.z.boolean().describe("Whether to ignore this anchortime once an appointment is booked").nullable().optional()
11
11
  }).passthrough().describe("Model representing an anchortime in eTermin.");
12
- const EterminGetAnchortimesOutput = zod.z.object({ anchortimes: zod.z.array(EterminGetAnchortimes_AnchortimeSchema).describe("List of anchortimes returned by eTermin API") }).describe("Response model containing the list of anchortimes from eTermin.");
12
+ const EterminGetAnchortimesOutput = zod.z.object({ anchortimes: zod.z.array(EterminGetAnchortimes_AnchortimeSchema).describe("List of anchortimes returned by eTermin API") }).passthrough().describe("Response model containing the list of anchortimes from eTermin.");
13
13
  const eterminGetAnchortimes = require_action.action("ETERMIN_GET_ANCHORTIMES", {
14
14
  slug: "etermin-get-anchortimes",
15
15
  name: "Get Anchortimes",
@@ -1 +1 @@
1
- {"version":3,"file":"get-anchortimes.cjs","names":["z","action"],"sources":["../../src/actions/get-anchortimes.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminGetAnchortimesInput = z.object({\n calendarid: z.number().int().describe(\"ID of the calendar. Use this parameter if you want to get existing anchortimes for a specific calendar.\").optional(),\n}).describe(\"Request model for retrieving anchortimes from eTermin.\");\nconst EterminGetAnchortimes_AnchortimeSchema = z.object({\n id: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"Unique identifier for the anchortime\").optional()),\n weekday: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"Day of the week (0-6, where 0 is Monday)\").optional()),\n starttime: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Start time for the anchortime in HH:MM:SS format\").optional()),\n calendarid: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"ID of the calendar this anchortime belongs to\").optional()),\n ignoreonceappbooked: z.preprocess((value) => (value === null ? undefined : value), z.boolean().describe(\"Whether to ignore this anchortime once an appointment is booked\").optional()),\n}).passthrough().describe(\"Model representing an anchortime in eTermin.\");\nexport const EterminGetAnchortimesOutput = z.object({\n anchortimes: z.array(EterminGetAnchortimes_AnchortimeSchema).describe(\"List of anchortimes returned by eTermin API\"),\n}).describe(\"Response model containing the list of anchortimes from eTermin.\");\n\nexport const eterminGetAnchortimes = action(\"ETERMIN_GET_ANCHORTIMES\", {\n slug: \"etermin-get-anchortimes\",\n name: \"Get Anchortimes\",\n description: \"Tool to retrieve anchortime details. Use when you need to get anchortimes for calendars in your eTermin account.\",\n input: EterminGetAnchortimesInput,\n output: EterminGetAnchortimesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,EACjD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yGAAyG,CAAC,CAAC,SAAS,EAC5J,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACpE,MAAM,yCAAyCA,IAAAA,EAAE,OAAO;CACtD,IAAIA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC;CAC9I,SAASA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC;CACvJ,WAAWA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC;CAC3J,YAAYA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC;CAC/J,qBAAqBA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC;AACvL,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAA8C;AACxE,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,EAClD,aAAaA,IAAAA,EAAE,MAAM,sCAAsC,CAAC,CAAC,SAAS,6CAA6C,EACrH,CAAC,CAAC,CAAC,SAAS,iEAAiE;AAE7E,MAAa,wBAAwBC,eAAAA,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-anchortimes.cjs","names":["z","action"],"sources":["../../src/actions/get-anchortimes.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminGetAnchortimesInput = z.object({\n calendarid: z.number().int().describe(\"ID of the calendar. Use this parameter if you want to get existing anchortimes for a specific calendar.\").optional(),\n}).describe(\"Request model for retrieving anchortimes from eTermin.\");\nconst EterminGetAnchortimes_AnchortimeSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the anchortime\").nullable().optional(),\n weekday: z.number().int().describe(\"Day of the week (0-6, where 0 is Monday)\").nullable().optional(),\n starttime: z.string().describe(\"Start time for the anchortime in HH:MM:SS format\").nullable().optional(),\n calendarid: z.number().int().describe(\"ID of the calendar this anchortime belongs to\").nullable().optional(),\n ignoreonceappbooked: z.boolean().describe(\"Whether to ignore this anchortime once an appointment is booked\").nullable().optional(),\n}).passthrough().describe(\"Model representing an anchortime in eTermin.\");\nexport const EterminGetAnchortimesOutput = z.object({\n anchortimes: z.array(EterminGetAnchortimes_AnchortimeSchema).describe(\"List of anchortimes returned by eTermin API\"),\n}).passthrough().describe(\"Response model containing the list of anchortimes from eTermin.\");\n\nexport const eterminGetAnchortimes = action(\"ETERMIN_GET_ANCHORTIMES\", {\n slug: \"etermin-get-anchortimes\",\n name: \"Get Anchortimes\",\n description: \"Tool to retrieve anchortime details. Use when you need to get anchortimes for calendars in your eTermin account.\",\n input: EterminGetAnchortimesInput,\n output: EterminGetAnchortimesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,EACjD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yGAAyG,CAAC,CAAC,SAAS,EAC5J,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACpE,MAAM,yCAAyCA,IAAAA,EAAE,OAAO;CACtD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,qBAAqBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAA8C;AACxE,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,EAClD,aAAaA,IAAAA,EAAE,MAAM,sCAAsC,CAAC,CAAC,SAAS,6CAA6C,EACrH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iEAAiE;AAE3F,MAAa,wBAAwBC,eAAAA,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -6,25 +6,16 @@ declare const EterminGetAnchortimesInput: z.ZodObject<{
6
6
  }, z.core.$strip>;
7
7
  declare const EterminGetAnchortimesOutput: z.ZodObject<{
8
8
  anchortimes: z.ZodArray<z.ZodObject<{
9
- id: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
10
- weekday: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
11
- starttime: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
12
- calendarid: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
13
- ignoreonceappbooked: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
9
+ id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
10
+ weekday: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
11
+ starttime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
+ calendarid: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
13
+ ignoreonceappbooked: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
14
14
  }, z.core.$loose>>;
15
- }, z.core.$strip>;
15
+ }, z.core.$loose>;
16
16
  declare const eterminGetAnchortimes: import("@keystrokehq/action").WorkflowActionDefinition<{
17
17
  calendarid?: number | undefined;
18
- }, {
19
- anchortimes: {
20
- [x: string]: unknown;
21
- id?: number | undefined;
22
- weekday?: number | undefined;
23
- starttime?: string | undefined;
24
- calendarid?: number | undefined;
25
- ignoreonceappbooked?: boolean | undefined;
26
- }[];
27
- }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
18
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
28
19
  //#endregion
29
20
  export { eterminGetAnchortimes };
30
21
  //# sourceMappingURL=get-anchortimes.d.cts.map
@@ -6,25 +6,16 @@ declare const EterminGetAnchortimesInput: z.ZodObject<{
6
6
  }, z.core.$strip>;
7
7
  declare const EterminGetAnchortimesOutput: z.ZodObject<{
8
8
  anchortimes: z.ZodArray<z.ZodObject<{
9
- id: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
10
- weekday: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
11
- starttime: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
12
- calendarid: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
13
- ignoreonceappbooked: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
9
+ id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
10
+ weekday: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
11
+ starttime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
+ calendarid: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
13
+ ignoreonceappbooked: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
14
14
  }, z.core.$loose>>;
15
- }, z.core.$strip>;
15
+ }, z.core.$loose>;
16
16
  declare const eterminGetAnchortimes: import("@keystrokehq/action").WorkflowActionDefinition<{
17
17
  calendarid?: number | undefined;
18
- }, {
19
- anchortimes: {
20
- [x: string]: unknown;
21
- id?: number | undefined;
22
- weekday?: number | undefined;
23
- starttime?: string | undefined;
24
- calendarid?: number | undefined;
25
- ignoreonceappbooked?: boolean | undefined;
26
- }[];
27
- }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
18
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
28
19
  //#endregion
29
20
  export { eterminGetAnchortimes };
30
21
  //# sourceMappingURL=get-anchortimes.d.mts.map
@@ -3,18 +3,18 @@ import { z } from "zod";
3
3
  //#region src/actions/get-anchortimes.ts
4
4
  const EterminGetAnchortimesInput = z.object({ calendarid: z.number().int().describe("ID of the calendar. Use this parameter if you want to get existing anchortimes for a specific calendar.").optional() }).describe("Request model for retrieving anchortimes from eTermin.");
5
5
  const EterminGetAnchortimes_AnchortimeSchema = z.object({
6
- id: z.preprocess((value) => value === null ? void 0 : value, z.number().int().describe("Unique identifier for the anchortime").optional()),
7
- weekday: z.preprocess((value) => value === null ? void 0 : value, z.number().int().describe("Day of the week (0-6, where 0 is Monday)").optional()),
8
- starttime: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Start time for the anchortime in HH:MM:SS format").optional()),
9
- calendarid: z.preprocess((value) => value === null ? void 0 : value, z.number().int().describe("ID of the calendar this anchortime belongs to").optional()),
10
- ignoreonceappbooked: z.preprocess((value) => value === null ? void 0 : value, z.boolean().describe("Whether to ignore this anchortime once an appointment is booked").optional())
6
+ id: z.number().int().describe("Unique identifier for the anchortime").nullable().optional(),
7
+ weekday: z.number().int().describe("Day of the week (0-6, where 0 is Monday)").nullable().optional(),
8
+ starttime: z.string().describe("Start time for the anchortime in HH:MM:SS format").nullable().optional(),
9
+ calendarid: z.number().int().describe("ID of the calendar this anchortime belongs to").nullable().optional(),
10
+ ignoreonceappbooked: z.boolean().describe("Whether to ignore this anchortime once an appointment is booked").nullable().optional()
11
11
  }).passthrough().describe("Model representing an anchortime in eTermin.");
12
12
  const eterminGetAnchortimes = action("ETERMIN_GET_ANCHORTIMES", {
13
13
  slug: "etermin-get-anchortimes",
14
14
  name: "Get Anchortimes",
15
15
  description: "Tool to retrieve anchortime details. Use when you need to get anchortimes for calendars in your eTermin account.",
16
16
  input: EterminGetAnchortimesInput,
17
- output: z.object({ anchortimes: z.array(EterminGetAnchortimes_AnchortimeSchema).describe("List of anchortimes returned by eTermin API") }).describe("Response model containing the list of anchortimes from eTermin.")
17
+ output: z.object({ anchortimes: z.array(EterminGetAnchortimes_AnchortimeSchema).describe("List of anchortimes returned by eTermin API") }).passthrough().describe("Response model containing the list of anchortimes from eTermin.")
18
18
  });
19
19
  //#endregion
20
20
  export { eterminGetAnchortimes };