@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
@@ -2,7 +2,7 @@ import { z } from "zod";
2
2
 
3
3
  //#region src/actions/update-voucher.d.ts
4
4
  declare const EterminUpdateVoucherInput: z.ZodObject<{
5
- data: z.ZodObject<{}, z.core.$strip>;
5
+ data: z.ZodRecord<z.ZodString, z.ZodUnknown>;
6
6
  voucherId: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
7
7
  }, z.core.$strip>;
8
8
  declare const EterminUpdateVoucherOutput: z.ZodObject<{
@@ -10,16 +10,11 @@ declare const EterminUpdateVoucherOutput: z.ZodObject<{
10
10
  success: z.ZodNullable<z.ZodBoolean>;
11
11
  voucher_id: z.ZodNullable<z.ZodString>;
12
12
  status_code: z.ZodNullable<z.ZodNumber>;
13
- }, z.core.$strip>;
13
+ }, z.core.$loose>;
14
14
  declare const eterminUpdateVoucher: import("@keystrokehq/action").WorkflowActionDefinition<{
15
- data: Record<string, never>;
15
+ data: Record<string, unknown>;
16
16
  voucherId: string | number;
17
- }, {
18
- message: string | null;
19
- success: boolean | null;
20
- voucher_id: string | null;
21
- status_code: number | null;
22
- }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
17
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
23
18
  //#endregion
24
19
  export { eterminUpdateVoucher };
25
20
  //# sourceMappingURL=update-voucher.d.cts.map
@@ -2,7 +2,7 @@ import { z } from "zod";
2
2
 
3
3
  //#region src/actions/update-voucher.d.ts
4
4
  declare const EterminUpdateVoucherInput: z.ZodObject<{
5
- data: z.ZodObject<{}, z.core.$strip>;
5
+ data: z.ZodRecord<z.ZodString, z.ZodUnknown>;
6
6
  voucherId: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
7
7
  }, z.core.$strip>;
8
8
  declare const EterminUpdateVoucherOutput: z.ZodObject<{
@@ -10,16 +10,11 @@ declare const EterminUpdateVoucherOutput: z.ZodObject<{
10
10
  success: z.ZodNullable<z.ZodBoolean>;
11
11
  voucher_id: z.ZodNullable<z.ZodString>;
12
12
  status_code: z.ZodNullable<z.ZodNumber>;
13
- }, z.core.$strip>;
13
+ }, z.core.$loose>;
14
14
  declare const eterminUpdateVoucher: import("@keystrokehq/action").WorkflowActionDefinition<{
15
- data: Record<string, never>;
15
+ data: Record<string, unknown>;
16
16
  voucherId: string | number;
17
- }, {
18
- message: string | null;
19
- success: boolean | null;
20
- voucher_id: string | null;
21
- status_code: number | null;
22
- }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
17
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
23
18
  //#endregion
24
19
  export { eterminUpdateVoucher };
25
20
  //# sourceMappingURL=update-voucher.d.mts.map
@@ -5,7 +5,7 @@ const eterminUpdateVoucher = action("ETERMIN_UPDATE_VOUCHER", {
5
5
  name: "Update Voucher",
6
6
  description: "Updates an existing voucher in eTermin. Use this to modify voucher properties such as description, discount amount, validity dates, or usage limits. The voucher must already exist - use ETERMIN_CREATE_VOUCHER to create new vouchers.",
7
7
  input: z.object({
8
- data: z.object({}).describe("Dictionary containing fields to update. Supported fields include: Description (text), PriceWoVAT (float), PriceInclVAT (float), ContingentMax (int), ValidFrom (YYYY-MM-DD), ValidUntil (YYYY-MM-DD), IsPercentage (bool), validxtimes (int), CalendarsAssigned (comma-separated IDs), ServicesAssigned (comma-separated IDs), CustomerEMail (string), SendReminder (bool)."),
8
+ data: z.record(z.string(), z.unknown()).describe("Dictionary containing fields to update. Supported fields include: Description (text), PriceWoVAT (float), PriceInclVAT (float), ContingentMax (int), ValidFrom (YYYY-MM-DD), ValidUntil (YYYY-MM-DD), IsPercentage (bool), validxtimes (int), CalendarsAssigned (comma-separated IDs), ServicesAssigned (comma-separated IDs), CustomerEMail (string), SendReminder (bool)."),
9
9
  voucherId: z.union([z.number().int(), z.string()])
10
10
  }),
11
11
  output: z.object({
@@ -13,7 +13,7 @@ const eterminUpdateVoucher = action("ETERMIN_UPDATE_VOUCHER", {
13
13
  success: z.boolean().describe("Whether the voucher update was successful.").nullable(),
14
14
  voucher_id: z.string().describe("The ID of the voucher that was updated (code or numeric ID).").nullable(),
15
15
  status_code: z.number().int().describe("HTTP status code from the API response.").nullable()
16
- })
16
+ }).passthrough()
17
17
  });
18
18
  //#endregion
19
19
  export { eterminUpdateVoucher };
@@ -1 +1 @@
1
- {"version":3,"file":"update-voucher.mjs","names":[],"sources":["../../src/actions/update-voucher.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminUpdateVoucherInput = z.object({\n data: z.object({}).describe(\"Dictionary containing fields to update. Supported fields include: Description (text), PriceWoVAT (float), PriceInclVAT (float), ContingentMax (int), ValidFrom (YYYY-MM-DD), ValidUntil (YYYY-MM-DD), IsPercentage (bool), validxtimes (int), CalendarsAssigned (comma-separated IDs), ServicesAssigned (comma-separated IDs), CustomerEMail (string), SendReminder (bool).\"),\n voucherId: z.union([z.number().int(), z.string()]),\n});\nexport const EterminUpdateVoucherOutput = z.object({\n message: z.string().describe(\"Status message from the API (e.g., 'Voucher created successfully!').\").nullable(),\n success: z.boolean().describe(\"Whether the voucher update was successful.\").nullable(),\n voucher_id: z.string().describe(\"The ID of the voucher that was updated (code or numeric ID).\").nullable(),\n status_code: z.number().int().describe(\"HTTP status code from the API response.\").nullable(),\n});\n\nexport const eterminUpdateVoucher = action(\"ETERMIN_UPDATE_VOUCHER\", {\n slug: \"etermin-update-voucher\",\n name: \"Update Voucher\",\n description: \"Updates an existing voucher in eTermin. Use this to modify voucher properties such as description, discount amount, validity dates, or usage limits. The voucher must already exist - use ETERMIN_CREATE_VOUCHER to create new vouchers.\",\n input: EterminUpdateVoucherInput,\n output: EterminUpdateVoucherOutput,\n});\n"],"mappings":";;AAeA,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAfuC,EAAE,OAAO;EAChD,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,6WAA6W;EACzY,WAAW,EAAE,MAAM,CAAC,EAAE,OAAO,CAAC,CAAC,IAAI,GAAG,EAAE,OAAO,CAAC,CAAC;CACnD,CAYS;CACP,QAZwC,EAAE,OAAO;EACjD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;EAC9G,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;EACrF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;EACzG,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAC7F,CAOU;AACV,CAAC"}
1
+ {"version":3,"file":"update-voucher.mjs","names":[],"sources":["../../src/actions/update-voucher.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminUpdateVoucherInput = z.object({\n data: z.record(z.string(), z.unknown()).describe(\"Dictionary containing fields to update. Supported fields include: Description (text), PriceWoVAT (float), PriceInclVAT (float), ContingentMax (int), ValidFrom (YYYY-MM-DD), ValidUntil (YYYY-MM-DD), IsPercentage (bool), validxtimes (int), CalendarsAssigned (comma-separated IDs), ServicesAssigned (comma-separated IDs), CustomerEMail (string), SendReminder (bool).\"),\n voucherId: z.union([z.number().int(), z.string()]),\n});\nexport const EterminUpdateVoucherOutput = z.object({\n message: z.string().describe(\"Status message from the API (e.g., 'Voucher created successfully!').\").nullable(),\n success: z.boolean().describe(\"Whether the voucher update was successful.\").nullable(),\n voucher_id: z.string().describe(\"The ID of the voucher that was updated (code or numeric ID).\").nullable(),\n status_code: z.number().int().describe(\"HTTP status code from the API response.\").nullable(),\n}).passthrough();\n\nexport const eterminUpdateVoucher = action(\"ETERMIN_UPDATE_VOUCHER\", {\n slug: \"etermin-update-voucher\",\n name: \"Update Voucher\",\n description: \"Updates an existing voucher in eTermin. Use this to modify voucher properties such as description, discount amount, validity dates, or usage limits. The voucher must already exist - use ETERMIN_CREATE_VOUCHER to create new vouchers.\",\n input: EterminUpdateVoucherInput,\n output: EterminUpdateVoucherOutput,\n});\n"],"mappings":";;AAeA,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAfuC,EAAE,OAAO;EAChD,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,6WAA6W;EAC9Z,WAAW,EAAE,MAAM,CAAC,EAAE,OAAO,CAAC,CAAC,IAAI,GAAG,EAAE,OAAO,CAAC,CAAC;CACnD,CAYS;CACP,QAZwC,EAAE,OAAO;EACjD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;EAC9G,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;EACrF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;EACzG,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAC7F,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
@@ -2,14 +2,14 @@ const require_action = require("../action.cjs");
2
2
  let zod = require("zod");
3
3
  //#region src/actions/update-webhook.ts
4
4
  const EterminUpdateWebhookInput = zod.z.object({
5
- data: zod.z.object({}).describe("Payload containing webhook fields to update. Common fields include: 'Email' (notification email), 'WebPush' (boolean to enable/disable), 'url' (webhook endpoint URL), 'events' (list of event types like 'appointment.created', 'appointment.modified', 'appointment.deleted')."),
5
+ data: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Payload containing webhook fields to update. Common fields include: 'Email' (notification email), 'WebPush' (boolean to enable/disable), 'url' (webhook endpoint URL), 'events' (list of event types like 'appointment.created', 'appointment.modified', 'appointment.deleted')."),
6
6
  webhookId: zod.z.string().describe("Unique identifier (UUID) of the webhook to update. Obtain this ID from the 'List Webhooks' action.")
7
7
  }).describe("Request model for updating an existing webhook configuration in eTermin.\nNote: eTermin webhook/webpush management is typically done via the web UI.\nThis action attempts multiple API endpoints but may return a graceful\nfallback message if API-based updates are not supported for your tenant.");
8
8
  const EterminUpdateWebhookOutput = zod.z.object({
9
- message: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Status message or error description when applicable.").optional()),
9
+ message: zod.z.string().describe("Status message or error description when applicable.").nullable().optional(),
10
10
  success: zod.z.boolean().describe("Whether the update was successful. False indicates the API does not support webhook updates for this tenant.").nullable(),
11
- updated_webhook: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.object({}).describe("The updated webhook data returned by the API on success.").optional())
12
- }).describe("Response model for webhook update operation.");
11
+ updated_webhook: zod.z.record(zod.z.string(), zod.z.unknown()).describe("The updated webhook data returned by the API on success.").nullable().optional()
12
+ }).passthrough().describe("Response model for webhook update operation.");
13
13
  const eterminUpdateWebhook = require_action.action("ETERMIN_UPDATE_WEBHOOK", {
14
14
  slug: "etermin-update-webhook",
15
15
  name: "Update Webhook",
@@ -1 +1 @@
1
- {"version":3,"file":"update-webhook.cjs","names":["z","action"],"sources":["../../src/actions/update-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminUpdateWebhookInput = z.object({\n data: z.object({}).describe(\"Payload containing webhook fields to update. Common fields include: 'Email' (notification email), 'WebPush' (boolean to enable/disable), 'url' (webhook endpoint URL), 'events' (list of event types like 'appointment.created', 'appointment.modified', 'appointment.deleted').\"),\n webhookId: z.string().describe(\"Unique identifier (UUID) of the webhook to update. Obtain this ID from the 'List Webhooks' action.\"),\n}).describe(\"Request model for updating an existing webhook configuration in eTermin.\\nNote: eTermin webhook/webpush management is typically done via the web UI.\\nThis action attempts multiple API endpoints but may return a graceful\\nfallback message if API-based updates are not supported for your tenant.\");\nexport const EterminUpdateWebhookOutput = z.object({\n message: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Status message or error description when applicable.\").optional()),\n success: z.boolean().describe(\"Whether the update was successful. False indicates the API does not support webhook updates for this tenant.\").nullable(),\n updated_webhook: z.preprocess((value) => (value === null ? undefined : value), z.object({}).describe(\"The updated webhook data returned by the API on success.\").optional()),\n}).describe(\"Response model for webhook update operation.\");\n\nexport const eterminUpdateWebhook = action(\"ETERMIN_UPDATE_WEBHOOK\", {\n slug: \"etermin-update-webhook\",\n name: \"Update Webhook\",\n description: \"Update an existing webhook configuration in eTermin. Use this action to modify webhook settings such as the notification email, enable/disable web push notifications, or update the webhook endpoint URL. Note: eTermin webhook management is often only available through the web UI (Configuration -> Integration - API -> API tab). If the API does not support updates for your tenant, this action will return success=False with an informative message. Prerequisites: Use 'List Webhooks' to obtain a valid webhook_id.\",\n input: EterminUpdateWebhookInput,\n output: EterminUpdateWebhookOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,kRAAkR;CAC9S,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oGAAoG;AACrI,CAAC,CAAC,CAAC,SAAS,uSAAuS;AACnT,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,SAASA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC;CAC7J,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,8GAA8G,CAAC,CAAC,SAAS;CACvJ,iBAAiBA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC;AAC7K,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAE1D,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"update-webhook.cjs","names":["z","action"],"sources":["../../src/actions/update-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminUpdateWebhookInput = z.object({\n data: z.record(z.string(), z.unknown()).describe(\"Payload containing webhook fields to update. Common fields include: 'Email' (notification email), 'WebPush' (boolean to enable/disable), 'url' (webhook endpoint URL), 'events' (list of event types like 'appointment.created', 'appointment.modified', 'appointment.deleted').\"),\n webhookId: z.string().describe(\"Unique identifier (UUID) of the webhook to update. Obtain this ID from the 'List Webhooks' action.\"),\n}).describe(\"Request model for updating an existing webhook configuration in eTermin.\\nNote: eTermin webhook/webpush management is typically done via the web UI.\\nThis action attempts multiple API endpoints but may return a graceful\\nfallback message if API-based updates are not supported for your tenant.\");\nexport const EterminUpdateWebhookOutput = z.object({\n message: z.string().describe(\"Status message or error description when applicable.\").nullable().optional(),\n success: z.boolean().describe(\"Whether the update was successful. False indicates the API does not support webhook updates for this tenant.\").nullable(),\n updated_webhook: z.record(z.string(), z.unknown()).describe(\"The updated webhook data returned by the API on success.\").nullable().optional(),\n}).passthrough().describe(\"Response model for webhook update operation.\");\n\nexport const eterminUpdateWebhook = action(\"ETERMIN_UPDATE_WEBHOOK\", {\n slug: \"etermin-update-webhook\",\n name: \"Update Webhook\",\n description: \"Update an existing webhook configuration in eTermin. Use this action to modify webhook settings such as the notification email, enable/disable web push notifications, or update the webhook endpoint URL. Note: eTermin webhook management is often only available through the web UI (Configuration -> Integration - API -> API tab). If the API does not support updates for your tenant, this action will return success=False with an informative message. Prerequisites: Use 'List Webhooks' to obtain a valid webhook_id.\",\n input: EterminUpdateWebhookInput,\n output: EterminUpdateWebhookOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,kRAAkR;CACnU,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oGAAoG;AACrI,CAAC,CAAC,CAAC,SAAS,uSAAuS;AACnT,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,8GAA8G,CAAC,CAAC,SAAS;CACvJ,iBAAiBA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAA8C;AAExE,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -2,22 +2,18 @@ import { z } from "zod";
2
2
 
3
3
  //#region src/actions/update-webhook.d.ts
4
4
  declare const EterminUpdateWebhookInput: z.ZodObject<{
5
- data: z.ZodObject<{}, z.core.$strip>;
5
+ data: z.ZodRecord<z.ZodString, z.ZodUnknown>;
6
6
  webhookId: z.ZodString;
7
7
  }, z.core.$strip>;
8
8
  declare const EterminUpdateWebhookOutput: z.ZodObject<{
9
- message: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
9
+ message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10
10
  success: z.ZodNullable<z.ZodBoolean>;
11
- updated_webhook: z.ZodPreprocess<z.ZodOptional<z.ZodObject<{}, z.core.$strip>>>;
12
- }, z.core.$strip>;
11
+ updated_webhook: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
12
+ }, z.core.$loose>;
13
13
  declare const eterminUpdateWebhook: import("@keystrokehq/action").WorkflowActionDefinition<{
14
- data: Record<string, never>;
14
+ data: Record<string, unknown>;
15
15
  webhookId: string;
16
- }, {
17
- success: boolean | null;
18
- message?: string | undefined;
19
- updated_webhook?: Record<string, never> | undefined;
20
- }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
16
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
21
17
  //#endregion
22
18
  export { eterminUpdateWebhook };
23
19
  //# sourceMappingURL=update-webhook.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-webhook.d.cts","names":[],"sources":["../../src/actions/update-webhook.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;cAIzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;cAM1B,oBAAA,gCAAoB,wBAAA;QAM/B,MAAA;;;;;oBAAA,MAAA;AAAA"}
1
+ {"version":3,"file":"update-webhook.d.cts","names":[],"sources":["../../src/actions/update-webhook.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;cAIzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;cAM1B,oBAAA,gCAAoB,wBAAA;QAM/B,MAAA"}
@@ -2,22 +2,18 @@ import { z } from "zod";
2
2
 
3
3
  //#region src/actions/update-webhook.d.ts
4
4
  declare const EterminUpdateWebhookInput: z.ZodObject<{
5
- data: z.ZodObject<{}, z.core.$strip>;
5
+ data: z.ZodRecord<z.ZodString, z.ZodUnknown>;
6
6
  webhookId: z.ZodString;
7
7
  }, z.core.$strip>;
8
8
  declare const EterminUpdateWebhookOutput: z.ZodObject<{
9
- message: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
9
+ message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10
10
  success: z.ZodNullable<z.ZodBoolean>;
11
- updated_webhook: z.ZodPreprocess<z.ZodOptional<z.ZodObject<{}, z.core.$strip>>>;
12
- }, z.core.$strip>;
11
+ updated_webhook: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
12
+ }, z.core.$loose>;
13
13
  declare const eterminUpdateWebhook: import("@keystrokehq/action").WorkflowActionDefinition<{
14
- data: Record<string, never>;
14
+ data: Record<string, unknown>;
15
15
  webhookId: string;
16
- }, {
17
- success: boolean | null;
18
- message?: string | undefined;
19
- updated_webhook?: Record<string, never> | undefined;
20
- }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
16
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
21
17
  //#endregion
22
18
  export { eterminUpdateWebhook };
23
19
  //# sourceMappingURL=update-webhook.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-webhook.d.mts","names":[],"sources":["../../src/actions/update-webhook.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;cAIzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;cAM1B,oBAAA,gCAAoB,wBAAA;QAM/B,MAAA;;;;;oBAAA,MAAA;AAAA"}
1
+ {"version":3,"file":"update-webhook.d.mts","names":[],"sources":["../../src/actions/update-webhook.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;cAIzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;cAM1B,oBAAA,gCAAoB,wBAAA;QAM/B,MAAA"}
@@ -5,14 +5,14 @@ const eterminUpdateWebhook = action("ETERMIN_UPDATE_WEBHOOK", {
5
5
  name: "Update Webhook",
6
6
  description: "Update an existing webhook configuration in eTermin. Use this action to modify webhook settings such as the notification email, enable/disable web push notifications, or update the webhook endpoint URL. Note: eTermin webhook management is often only available through the web UI (Configuration -> Integration - API -> API tab). If the API does not support updates for your tenant, this action will return success=False with an informative message. Prerequisites: Use 'List Webhooks' to obtain a valid webhook_id.",
7
7
  input: z.object({
8
- data: z.object({}).describe("Payload containing webhook fields to update. Common fields include: 'Email' (notification email), 'WebPush' (boolean to enable/disable), 'url' (webhook endpoint URL), 'events' (list of event types like 'appointment.created', 'appointment.modified', 'appointment.deleted')."),
8
+ data: z.record(z.string(), z.unknown()).describe("Payload containing webhook fields to update. Common fields include: 'Email' (notification email), 'WebPush' (boolean to enable/disable), 'url' (webhook endpoint URL), 'events' (list of event types like 'appointment.created', 'appointment.modified', 'appointment.deleted')."),
9
9
  webhookId: z.string().describe("Unique identifier (UUID) of the webhook to update. Obtain this ID from the 'List Webhooks' action.")
10
10
  }).describe("Request model for updating an existing webhook configuration in eTermin.\nNote: eTermin webhook/webpush management is typically done via the web UI.\nThis action attempts multiple API endpoints but may return a graceful\nfallback message if API-based updates are not supported for your tenant."),
11
11
  output: z.object({
12
- message: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Status message or error description when applicable.").optional()),
12
+ message: z.string().describe("Status message or error description when applicable.").nullable().optional(),
13
13
  success: z.boolean().describe("Whether the update was successful. False indicates the API does not support webhook updates for this tenant.").nullable(),
14
- updated_webhook: z.preprocess((value) => value === null ? void 0 : value, z.object({}).describe("The updated webhook data returned by the API on success.").optional())
15
- }).describe("Response model for webhook update operation.")
14
+ updated_webhook: z.record(z.string(), z.unknown()).describe("The updated webhook data returned by the API on success.").nullable().optional()
15
+ }).passthrough().describe("Response model for webhook update operation.")
16
16
  });
17
17
  //#endregion
18
18
  export { eterminUpdateWebhook };
@@ -1 +1 @@
1
- {"version":3,"file":"update-webhook.mjs","names":[],"sources":["../../src/actions/update-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminUpdateWebhookInput = z.object({\n data: z.object({}).describe(\"Payload containing webhook fields to update. Common fields include: 'Email' (notification email), 'WebPush' (boolean to enable/disable), 'url' (webhook endpoint URL), 'events' (list of event types like 'appointment.created', 'appointment.modified', 'appointment.deleted').\"),\n webhookId: z.string().describe(\"Unique identifier (UUID) of the webhook to update. Obtain this ID from the 'List Webhooks' action.\"),\n}).describe(\"Request model for updating an existing webhook configuration in eTermin.\\nNote: eTermin webhook/webpush management is typically done via the web UI.\\nThis action attempts multiple API endpoints but may return a graceful\\nfallback message if API-based updates are not supported for your tenant.\");\nexport const EterminUpdateWebhookOutput = z.object({\n message: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Status message or error description when applicable.\").optional()),\n success: z.boolean().describe(\"Whether the update was successful. False indicates the API does not support webhook updates for this tenant.\").nullable(),\n updated_webhook: z.preprocess((value) => (value === null ? undefined : value), z.object({}).describe(\"The updated webhook data returned by the API on success.\").optional()),\n}).describe(\"Response model for webhook update operation.\");\n\nexport const eterminUpdateWebhook = action(\"ETERMIN_UPDATE_WEBHOOK\", {\n slug: \"etermin-update-webhook\",\n name: \"Update Webhook\",\n description: \"Update an existing webhook configuration in eTermin. Use this action to modify webhook settings such as the notification email, enable/disable web push notifications, or update the webhook endpoint URL. Note: eTermin webhook management is often only available through the web UI (Configuration -> Integration - API -> API tab). If the API does not support updates for your tenant, this action will return success=False with an informative message. Prerequisites: Use 'List Webhooks' to obtain a valid webhook_id.\",\n input: EterminUpdateWebhookInput,\n output: EterminUpdateWebhookOutput,\n});\n"],"mappings":";;AAcA,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAduC,EAAE,OAAO;EAChD,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,kRAAkR;EAC9S,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,oGAAoG;CACrI,CAAC,CAAC,CAAC,SAAS,uSAWH;CACP,QAXwC,EAAE,OAAO;EACjD,SAAS,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC;EAC7J,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,8GAA8G,CAAC,CAAC,SAAS;EACvJ,iBAAiB,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC;CAC7K,CAAC,CAAC,CAAC,SAAS,8CAOF;AACV,CAAC"}
1
+ {"version":3,"file":"update-webhook.mjs","names":[],"sources":["../../src/actions/update-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminUpdateWebhookInput = z.object({\n data: z.record(z.string(), z.unknown()).describe(\"Payload containing webhook fields to update. Common fields include: 'Email' (notification email), 'WebPush' (boolean to enable/disable), 'url' (webhook endpoint URL), 'events' (list of event types like 'appointment.created', 'appointment.modified', 'appointment.deleted').\"),\n webhookId: z.string().describe(\"Unique identifier (UUID) of the webhook to update. Obtain this ID from the 'List Webhooks' action.\"),\n}).describe(\"Request model for updating an existing webhook configuration in eTermin.\\nNote: eTermin webhook/webpush management is typically done via the web UI.\\nThis action attempts multiple API endpoints but may return a graceful\\nfallback message if API-based updates are not supported for your tenant.\");\nexport const EterminUpdateWebhookOutput = z.object({\n message: z.string().describe(\"Status message or error description when applicable.\").nullable().optional(),\n success: z.boolean().describe(\"Whether the update was successful. False indicates the API does not support webhook updates for this tenant.\").nullable(),\n updated_webhook: z.record(z.string(), z.unknown()).describe(\"The updated webhook data returned by the API on success.\").nullable().optional(),\n}).passthrough().describe(\"Response model for webhook update operation.\");\n\nexport const eterminUpdateWebhook = action(\"ETERMIN_UPDATE_WEBHOOK\", {\n slug: \"etermin-update-webhook\",\n name: \"Update Webhook\",\n description: \"Update an existing webhook configuration in eTermin. Use this action to modify webhook settings such as the notification email, enable/disable web push notifications, or update the webhook endpoint URL. Note: eTermin webhook management is often only available through the web UI (Configuration -> Integration - API -> API tab). If the API does not support updates for your tenant, this action will return success=False with an informative message. Prerequisites: Use 'List Webhooks' to obtain a valid webhook_id.\",\n input: EterminUpdateWebhookInput,\n output: EterminUpdateWebhookOutput,\n});\n"],"mappings":";;AAcA,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAduC,EAAE,OAAO;EAChD,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,kRAAkR;EACnU,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,oGAAoG;CACrI,CAAC,CAAC,CAAC,SAAS,uSAWH;CACP,QAXwC,EAAE,OAAO;EACjD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzG,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,8GAA8G,CAAC,CAAC,SAAS;EACvJ,iBAAiB,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAOhB;AACV,CAAC"}
@@ -18,9 +18,9 @@ const EterminUpdateWorkingTimesDateInput = zod.z.object({
18
18
  allserviceidsrequired: zod.z.number().int().describe("Defines how the validity of the services are checked. 0 = one service needs to be selected, 1 = all services need to be selected exclusively, 2 = all services need to be selected, 3 = one service needs to be selected exclusively").optional()
19
19
  }).describe("Request model for updating working times date in eTermin.");
20
20
  const EterminUpdateWorkingTimesDateOutput = zod.z.object({
21
- status: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.number().describe("HTTP status code of the response").optional()),
22
- statusmsg: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Status message from the API").optional())
23
- }).describe("Response model for updating working times date.");
21
+ status: zod.z.number().describe("HTTP status code of the response").nullable().optional(),
22
+ statusmsg: zod.z.string().describe("Status message from the API").nullable().optional()
23
+ }).passthrough().describe("Response model for updating working times date.");
24
24
  const eterminUpdateWorkingTimesDate = require_action.action("ETERMIN_UPDATE_WORKING_TIMES_DATE", {
25
25
  slug: "etermin-update-working-times-date",
26
26
  name: "Update Working Times Date",
@@ -1 +1 @@
1
- {"version":3,"file":"update-working-times-date.cjs","names":["z","action"],"sources":["../../src/actions/update-working-times-date.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminUpdateWorkingTimesDateInput = z.object({\n id: z.number().int().describe(\"ID of the working time that needs to be changed\"),\n end: z.string().describe(\"End date/time of working time in format YYYY-MM-DD HH:MM\"),\n start: z.string().describe(\"Start date/time of working time in format YYYY-MM-DD HH:MM\"),\n nrapps: z.number().int().describe(\"Amount of appointments that are bookable in this working slot. (-1 = unlimited)\").optional(),\n oneoff: z.boolean().describe(\"True if this timeslot needs a specific link (requires exactly one service for the validwithserviceid parameter)\").optional(),\n reason: z.string().describe(\"Reason of the specific working time (this is only visible internally)\").optional(),\n slottype: z.number().int().describe(\"0 if time slots should be valid for internal and external (online booked) appointments. 1 if timeslots are only valid for internal (manually entered) appointments\").optional(),\n calendarid: z.number().int().describe(\"ID of the calendar\"),\n locationid: z.number().int().describe(\"ID of the location for this working slot if locations are used in working times\").optional(),\n oneoffcode: z.string().describe(\"Specific code that is used for the oneoff-link if oneoff is true\").optional(),\n waitinglist: z.boolean().describe(\"True if this timeslot should be filled with appointments from the waitinglist\").optional(),\n overwriteday: z.boolean().describe(\"True if the workingtime for this day should be disabled\").optional(),\n validwithserviceid: z.string().describe(\"List of services that work with this working slot\").optional(),\n allserviceidsrequired: z.number().int().describe(\"Defines how the validity of the services are checked. 0 = one service needs to be selected, 1 = all services need to be selected exclusively, 2 = all services need to be selected, 3 = one service needs to be selected exclusively\").optional(),\n}).describe(\"Request model for updating working times date in eTermin.\");\nexport const EterminUpdateWorkingTimesDateOutput = z.object({\n status: z.preprocess((value) => (value === null ? undefined : value), z.number().describe(\"HTTP status code of the response\").optional()),\n statusmsg: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Status message from the API\").optional()),\n}).describe(\"Response model for updating working times date.\");\n\nexport const eterminUpdateWorkingTimesDate = action(\"ETERMIN_UPDATE_WORKING_TIMES_DATE\", {\n slug: \"etermin-update-working-times-date\",\n name: \"Update Working Times Date\",\n description: \"Tool to update working times date for a calendar. Use when modifying existing working time slots for appointments.\",\n input: EterminUpdateWorkingTimesDateInput,\n output: EterminUpdateWorkingTimesDateOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD;CAC/E,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D;CACnF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D;CACvF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;CAC9H,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,iHAAiH,CAAC,CAAC,SAAS;CACzJ,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;CAC9G,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oKAAoK,CAAC,CAAC,SAAS;CACnN,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oBAAoB;CAC1D,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;CAClI,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;CAC7G,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;CAC5H,cAAcA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CACvG,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CACtG,uBAAuBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sOAAsO,CAAC,CAAC,SAAS;AACpS,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAa,sCAAsCA,IAAAA,EAAE,OAAO;CAC1D,QAAQA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC;CACxI,WAAWA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC;AACxI,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAE7D,MAAa,gCAAgCC,eAAAA,OAAO,qCAAqC;CACvF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"update-working-times-date.cjs","names":["z","action"],"sources":["../../src/actions/update-working-times-date.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminUpdateWorkingTimesDateInput = z.object({\n id: z.number().int().describe(\"ID of the working time that needs to be changed\"),\n end: z.string().describe(\"End date/time of working time in format YYYY-MM-DD HH:MM\"),\n start: z.string().describe(\"Start date/time of working time in format YYYY-MM-DD HH:MM\"),\n nrapps: z.number().int().describe(\"Amount of appointments that are bookable in this working slot. (-1 = unlimited)\").optional(),\n oneoff: z.boolean().describe(\"True if this timeslot needs a specific link (requires exactly one service for the validwithserviceid parameter)\").optional(),\n reason: z.string().describe(\"Reason of the specific working time (this is only visible internally)\").optional(),\n slottype: z.number().int().describe(\"0 if time slots should be valid for internal and external (online booked) appointments. 1 if timeslots are only valid for internal (manually entered) appointments\").optional(),\n calendarid: z.number().int().describe(\"ID of the calendar\"),\n locationid: z.number().int().describe(\"ID of the location for this working slot if locations are used in working times\").optional(),\n oneoffcode: z.string().describe(\"Specific code that is used for the oneoff-link if oneoff is true\").optional(),\n waitinglist: z.boolean().describe(\"True if this timeslot should be filled with appointments from the waitinglist\").optional(),\n overwriteday: z.boolean().describe(\"True if the workingtime for this day should be disabled\").optional(),\n validwithserviceid: z.string().describe(\"List of services that work with this working slot\").optional(),\n allserviceidsrequired: z.number().int().describe(\"Defines how the validity of the services are checked. 0 = one service needs to be selected, 1 = all services need to be selected exclusively, 2 = all services need to be selected, 3 = one service needs to be selected exclusively\").optional(),\n}).describe(\"Request model for updating working times date in eTermin.\");\nexport const EterminUpdateWorkingTimesDateOutput = z.object({\n status: z.number().describe(\"HTTP status code of the response\").nullable().optional(),\n statusmsg: z.string().describe(\"Status message from the API\").nullable().optional(),\n}).passthrough().describe(\"Response model for updating working times date.\");\n\nexport const eterminUpdateWorkingTimesDate = action(\"ETERMIN_UPDATE_WORKING_TIMES_DATE\", {\n slug: \"etermin-update-working-times-date\",\n name: \"Update Working Times Date\",\n description: \"Tool to update working times date for a calendar. Use when modifying existing working time slots for appointments.\",\n input: EterminUpdateWorkingTimesDateInput,\n output: EterminUpdateWorkingTimesDateOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD;CAC/E,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D;CACnF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D;CACvF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;CAC9H,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,iHAAiH,CAAC,CAAC,SAAS;CACzJ,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;CAC9G,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oKAAoK,CAAC,CAAC,SAAS;CACnN,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oBAAoB;CAC1D,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;CAClI,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;CAC7G,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;CAC5H,cAAcA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CACvG,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CACtG,uBAAuBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sOAAsO,CAAC,CAAC,SAAS;AACpS,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAa,sCAAsCA,IAAAA,EAAE,OAAO;CAC1D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAAiD;AAE3E,MAAa,gCAAgCC,eAAAA,OAAO,qCAAqC;CACvF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -18,9 +18,9 @@ declare const EterminUpdateWorkingTimesDateInput: z.ZodObject<{
18
18
  allserviceidsrequired: z.ZodOptional<z.ZodNumber>;
19
19
  }, z.core.$strip>;
20
20
  declare const EterminUpdateWorkingTimesDateOutput: z.ZodObject<{
21
- status: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
22
- statusmsg: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
23
- }, z.core.$strip>;
21
+ status: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
22
+ statusmsg: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
+ }, z.core.$loose>;
24
24
  declare const eterminUpdateWorkingTimesDate: import("@keystrokehq/action").WorkflowActionDefinition<{
25
25
  id: number;
26
26
  end: string;
@@ -36,10 +36,7 @@ declare const eterminUpdateWorkingTimesDate: import("@keystrokehq/action").Workf
36
36
  overwriteday?: boolean | undefined;
37
37
  validwithserviceid?: string | undefined;
38
38
  allserviceidsrequired?: number | undefined;
39
- }, {
40
- status?: number | undefined;
41
- statusmsg?: string | undefined;
42
- }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
39
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
43
40
  //#endregion
44
41
  export { eterminUpdateWorkingTimesDate };
45
42
  //# sourceMappingURL=update-working-times-date.d.cts.map
@@ -18,9 +18,9 @@ declare const EterminUpdateWorkingTimesDateInput: z.ZodObject<{
18
18
  allserviceidsrequired: z.ZodOptional<z.ZodNumber>;
19
19
  }, z.core.$strip>;
20
20
  declare const EterminUpdateWorkingTimesDateOutput: z.ZodObject<{
21
- status: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
22
- statusmsg: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
23
- }, z.core.$strip>;
21
+ status: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
22
+ statusmsg: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
+ }, z.core.$loose>;
24
24
  declare const eterminUpdateWorkingTimesDate: import("@keystrokehq/action").WorkflowActionDefinition<{
25
25
  id: number;
26
26
  end: string;
@@ -36,10 +36,7 @@ declare const eterminUpdateWorkingTimesDate: import("@keystrokehq/action").Workf
36
36
  overwriteday?: boolean | undefined;
37
37
  validwithserviceid?: string | undefined;
38
38
  allserviceidsrequired?: number | undefined;
39
- }, {
40
- status?: number | undefined;
41
- statusmsg?: string | undefined;
42
- }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
39
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
43
40
  //#endregion
44
41
  export { eterminUpdateWorkingTimesDate };
45
42
  //# sourceMappingURL=update-working-times-date.d.mts.map
@@ -21,9 +21,9 @@ const eterminUpdateWorkingTimesDate = action("ETERMIN_UPDATE_WORKING_TIMES_DATE"
21
21
  allserviceidsrequired: z.number().int().describe("Defines how the validity of the services are checked. 0 = one service needs to be selected, 1 = all services need to be selected exclusively, 2 = all services need to be selected, 3 = one service needs to be selected exclusively").optional()
22
22
  }).describe("Request model for updating working times date in eTermin."),
23
23
  output: z.object({
24
- status: z.preprocess((value) => value === null ? void 0 : value, z.number().describe("HTTP status code of the response").optional()),
25
- statusmsg: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Status message from the API").optional())
26
- }).describe("Response model for updating working times date.")
24
+ status: z.number().describe("HTTP status code of the response").nullable().optional(),
25
+ statusmsg: z.string().describe("Status message from the API").nullable().optional()
26
+ }).passthrough().describe("Response model for updating working times date.")
27
27
  });
28
28
  //#endregion
29
29
  export { eterminUpdateWorkingTimesDate };
@@ -1 +1 @@
1
- {"version":3,"file":"update-working-times-date.mjs","names":[],"sources":["../../src/actions/update-working-times-date.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminUpdateWorkingTimesDateInput = z.object({\n id: z.number().int().describe(\"ID of the working time that needs to be changed\"),\n end: z.string().describe(\"End date/time of working time in format YYYY-MM-DD HH:MM\"),\n start: z.string().describe(\"Start date/time of working time in format YYYY-MM-DD HH:MM\"),\n nrapps: z.number().int().describe(\"Amount of appointments that are bookable in this working slot. (-1 = unlimited)\").optional(),\n oneoff: z.boolean().describe(\"True if this timeslot needs a specific link (requires exactly one service for the validwithserviceid parameter)\").optional(),\n reason: z.string().describe(\"Reason of the specific working time (this is only visible internally)\").optional(),\n slottype: z.number().int().describe(\"0 if time slots should be valid for internal and external (online booked) appointments. 1 if timeslots are only valid for internal (manually entered) appointments\").optional(),\n calendarid: z.number().int().describe(\"ID of the calendar\"),\n locationid: z.number().int().describe(\"ID of the location for this working slot if locations are used in working times\").optional(),\n oneoffcode: z.string().describe(\"Specific code that is used for the oneoff-link if oneoff is true\").optional(),\n waitinglist: z.boolean().describe(\"True if this timeslot should be filled with appointments from the waitinglist\").optional(),\n overwriteday: z.boolean().describe(\"True if the workingtime for this day should be disabled\").optional(),\n validwithserviceid: z.string().describe(\"List of services that work with this working slot\").optional(),\n allserviceidsrequired: z.number().int().describe(\"Defines how the validity of the services are checked. 0 = one service needs to be selected, 1 = all services need to be selected exclusively, 2 = all services need to be selected, 3 = one service needs to be selected exclusively\").optional(),\n}).describe(\"Request model for updating working times date in eTermin.\");\nexport const EterminUpdateWorkingTimesDateOutput = z.object({\n status: z.preprocess((value) => (value === null ? undefined : value), z.number().describe(\"HTTP status code of the response\").optional()),\n statusmsg: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Status message from the API\").optional()),\n}).describe(\"Response model for updating working times date.\");\n\nexport const eterminUpdateWorkingTimesDate = action(\"ETERMIN_UPDATE_WORKING_TIMES_DATE\", {\n slug: \"etermin-update-working-times-date\",\n name: \"Update Working Times Date\",\n description: \"Tool to update working times date for a calendar. Use when modifying existing working time slots for appointments.\",\n input: EterminUpdateWorkingTimesDateInput,\n output: EterminUpdateWorkingTimesDateOutput,\n});\n"],"mappings":";;AAyBA,MAAa,gCAAgC,OAAO,qCAAqC;CACvF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAzBgD,EAAE,OAAO;EACzD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD;EAC/E,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D;EACnF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D;EACvF,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;EAC9H,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,iHAAiH,CAAC,CAAC,SAAS;EACzJ,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;EAC9G,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oKAAoK,CAAC,CAAC,SAAS;EACnN,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oBAAoB;EAC1D,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;EAClI,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;EAC7G,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;EAC5H,cAAc,EAAE,QAAQ,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;EACvG,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;EACtG,uBAAuB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sOAAsO,CAAC,CAAC,SAAS;CACpS,CAAC,CAAC,CAAC,SAAS,2DAUH;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,6BAA6B,CAAC,CAAC,SAAS,CAAC;CACxI,CAAC,CAAC,CAAC,SAAS,iDAOF;AACV,CAAC"}
1
+ {"version":3,"file":"update-working-times-date.mjs","names":[],"sources":["../../src/actions/update-working-times-date.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminUpdateWorkingTimesDateInput = z.object({\n id: z.number().int().describe(\"ID of the working time that needs to be changed\"),\n end: z.string().describe(\"End date/time of working time in format YYYY-MM-DD HH:MM\"),\n start: z.string().describe(\"Start date/time of working time in format YYYY-MM-DD HH:MM\"),\n nrapps: z.number().int().describe(\"Amount of appointments that are bookable in this working slot. (-1 = unlimited)\").optional(),\n oneoff: z.boolean().describe(\"True if this timeslot needs a specific link (requires exactly one service for the validwithserviceid parameter)\").optional(),\n reason: z.string().describe(\"Reason of the specific working time (this is only visible internally)\").optional(),\n slottype: z.number().int().describe(\"0 if time slots should be valid for internal and external (online booked) appointments. 1 if timeslots are only valid for internal (manually entered) appointments\").optional(),\n calendarid: z.number().int().describe(\"ID of the calendar\"),\n locationid: z.number().int().describe(\"ID of the location for this working slot if locations are used in working times\").optional(),\n oneoffcode: z.string().describe(\"Specific code that is used for the oneoff-link if oneoff is true\").optional(),\n waitinglist: z.boolean().describe(\"True if this timeslot should be filled with appointments from the waitinglist\").optional(),\n overwriteday: z.boolean().describe(\"True if the workingtime for this day should be disabled\").optional(),\n validwithserviceid: z.string().describe(\"List of services that work with this working slot\").optional(),\n allserviceidsrequired: z.number().int().describe(\"Defines how the validity of the services are checked. 0 = one service needs to be selected, 1 = all services need to be selected exclusively, 2 = all services need to be selected, 3 = one service needs to be selected exclusively\").optional(),\n}).describe(\"Request model for updating working times date in eTermin.\");\nexport const EterminUpdateWorkingTimesDateOutput = z.object({\n status: z.number().describe(\"HTTP status code of the response\").nullable().optional(),\n statusmsg: z.string().describe(\"Status message from the API\").nullable().optional(),\n}).passthrough().describe(\"Response model for updating working times date.\");\n\nexport const eterminUpdateWorkingTimesDate = action(\"ETERMIN_UPDATE_WORKING_TIMES_DATE\", {\n slug: \"etermin-update-working-times-date\",\n name: \"Update Working Times Date\",\n description: \"Tool to update working times date for a calendar. Use when modifying existing working time slots for appointments.\",\n input: EterminUpdateWorkingTimesDateInput,\n output: EterminUpdateWorkingTimesDateOutput,\n});\n"],"mappings":";;AAyBA,MAAa,gCAAgC,OAAO,qCAAqC;CACvF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAzBgD,EAAE,OAAO;EACzD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD;EAC/E,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D;EACnF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D;EACvF,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;EAC9H,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,iHAAiH,CAAC,CAAC,SAAS;EACzJ,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;EAC9G,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oKAAoK,CAAC,CAAC,SAAS;EACnN,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oBAAoB;EAC1D,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;EAClI,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;EAC7G,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;EAC5H,cAAc,EAAE,QAAQ,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;EACvG,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;EACtG,uBAAuB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sOAAsO,CAAC,CAAC,SAAS;CACpS,CAAC,CAAC,CAAC,SAAS,2DAUH;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,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAOhB;AACV,CAAC"}
@@ -38,9 +38,9 @@ const EterminUpdateWorkingTimesInput = zod.z.object({
38
38
  ]).describe("Enum for service validation mode.\n\nDefines how the validity of services are checked:\n- ONE_REQUIRED: One service needs to be selected\n- ALL_EXCLUSIVE: All services need to be selected exclusively\n- ALL_REQUIRED: All services need to be selected\n- ONE_EXCLUSIVE: One service needs to be selected exclusively").optional()
39
39
  }).describe("Request model for updating working times in eTermin.");
40
40
  const EterminUpdateWorkingTimesOutput = zod.z.object({
41
- status: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.number().int().describe("HTTP status code of the response").optional()),
42
- statusmsg: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Status message from the API").optional())
43
- }).describe("Response model for updating working times.");
41
+ status: zod.z.number().int().describe("HTTP status code of the response").nullable().optional(),
42
+ statusmsg: zod.z.string().describe("Status message from the API").nullable().optional()
43
+ }).passthrough().describe("Response model for updating working times.");
44
44
  const eterminUpdateWorkingTimes = require_action.action("ETERMIN_UPDATE_WORKING_TIMES", {
45
45
  slug: "etermin-update-working-times",
46
46
  name: "Update Working Times",
@@ -1 +1 @@
1
- {"version":3,"file":"update-working-times.cjs","names":["z","action"],"sources":["../../src/actions/update-working-times.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminUpdateWorkingTimesInput = z.object({\n id: z.number().int().describe(\"ID of the working time that needs to be changed\"),\n end: z.string().describe(\"End time of the slot in HH:MM format, e.g. 17:00\").optional(),\n start: z.string().describe(\"Start time of the slot in HH:MM format, e.g. 09:00\").optional(),\n enable: z.number().int().describe(\"Set to 0 if the time slot should exist but not being considered yet. Set to 1 to enable the time slot.\").optional(),\n nrapps: z.number().int().describe(\"Amount of appointments that are bookable in this working slot. Use -1 for unlimited appointments.\").optional(),\n weekday: z.string().describe(\"ID of the weekday where 1 = Sunday, 7 = Saturday. You can add several weekdays separated by a comma e.g. 2,3,5\").optional(),\n slottype: z.enum([\"internal_and_external\", \"internal_only\"]).describe(\"Enum for slot type values.\").optional(),\n weektype: z.enum([\"every_week\", \"odd_weeks\", \"even_weeks\", \"first_occurrence\", \"second_occurrence\", \"third_occurrence\", \"fourth_occurrence\", \"every_3_weeks_first\", \"every_3_weeks_second\", \"every_3_weeks_third\", \"fifth_occurrence\", \"every_4_weeks_first\", \"every_4_weeks_second\", \"every_4_weeks_third\", \"every_4_weeks_fourth\"]).describe(\"Enum for week type intervals.\\n\\nDefines in which interval the time slot should be shown.\").optional(),\n calendarid: z.number().int().describe(\"ID of the calendar\").optional(),\n locationid: z.number().int().describe(\"ID of the location for this working slot if locations are used in working times\").optional(),\n calendarintervalid: z.number().int().describe(\"ID of the period for this working slot if periods are used in working times\").optional(),\n validwithserviceid: z.string().describe(\"Comma-separated list of service IDs that work with this working slot\").optional(),\n allserviceidsrequired: z.enum([\"one_required\", \"all_exclusive\", \"all_required\", \"one_exclusive\"]).describe(\"Enum for service validation mode.\\n\\nDefines how the validity of services are checked:\\n- ONE_REQUIRED: One service needs to be selected\\n- ALL_EXCLUSIVE: All services need to be selected exclusively\\n- ALL_REQUIRED: All services need to be selected\\n- ONE_EXCLUSIVE: One service needs to be selected exclusively\").optional(),\n}).describe(\"Request model for updating working times in eTermin.\");\nexport const EterminUpdateWorkingTimesOutput = z.object({\n status: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"HTTP status code of the response\").optional()),\n statusmsg: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Status message from the API\").optional()),\n}).describe(\"Response model for updating working times.\");\n\nexport const eterminUpdateWorkingTimes = action(\"ETERMIN_UPDATE_WORKING_TIMES\", {\n slug: \"etermin-update-working-times\",\n name: \"Update Working Times\",\n description: \"Tool to update working times for a calendar in eTermin. Use when you need to modify existing working time slots, including their start/end times, weekdays, capacity limits, and other scheduling configurations.\",\n input: EterminUpdateWorkingTimesInput,\n output: EterminUpdateWorkingTimesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD;CAC/E,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CACtF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CAC1F,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wGAAwG,CAAC,CAAC,SAAS;CACrJ,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mGAAmG,CAAC,CAAC,SAAS;CAChJ,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gHAAgH,CAAC,CAAC,SAAS;CACxJ,UAAUA,IAAAA,EAAE,KAAK,CAAC,yBAAyB,eAAe,CAAC,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CAC7G,UAAUA,IAAAA,EAAE,KAAK;EAAC;EAAc;EAAa;EAAc;EAAoB;EAAqB;EAAoB;EAAqB;EAAuB;EAAwB;EAAuB;EAAoB;EAAuB;EAAwB;EAAuB;CAAsB,CAAC,CAAC,CAAC,SAAS,2FAA2F,CAAC,CAAC,SAAS;CACrb,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;CACrE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;CAClI,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;CACtI,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;CACzH,uBAAuBA,IAAAA,EAAE,KAAK;EAAC;EAAgB;EAAiB;EAAgB;CAAe,CAAC,CAAC,CAAC,SAAS,0TAA0T,CAAC,CAAC,SAAS;AAClb,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,QAAQA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC;CAC9I,WAAWA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC;AACxI,CAAC,CAAC,CAAC,SAAS,4CAA4C;AAExD,MAAa,4BAA4BC,eAAAA,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"update-working-times.cjs","names":["z","action"],"sources":["../../src/actions/update-working-times.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminUpdateWorkingTimesInput = z.object({\n id: z.number().int().describe(\"ID of the working time that needs to be changed\"),\n end: z.string().describe(\"End time of the slot in HH:MM format, e.g. 17:00\").optional(),\n start: z.string().describe(\"Start time of the slot in HH:MM format, e.g. 09:00\").optional(),\n enable: z.number().int().describe(\"Set to 0 if the time slot should exist but not being considered yet. Set to 1 to enable the time slot.\").optional(),\n nrapps: z.number().int().describe(\"Amount of appointments that are bookable in this working slot. Use -1 for unlimited appointments.\").optional(),\n weekday: z.string().describe(\"ID of the weekday where 1 = Sunday, 7 = Saturday. You can add several weekdays separated by a comma e.g. 2,3,5\").optional(),\n slottype: z.enum([\"internal_and_external\", \"internal_only\"]).describe(\"Enum for slot type values.\").optional(),\n weektype: z.enum([\"every_week\", \"odd_weeks\", \"even_weeks\", \"first_occurrence\", \"second_occurrence\", \"third_occurrence\", \"fourth_occurrence\", \"every_3_weeks_first\", \"every_3_weeks_second\", \"every_3_weeks_third\", \"fifth_occurrence\", \"every_4_weeks_first\", \"every_4_weeks_second\", \"every_4_weeks_third\", \"every_4_weeks_fourth\"]).describe(\"Enum for week type intervals.\\n\\nDefines in which interval the time slot should be shown.\").optional(),\n calendarid: z.number().int().describe(\"ID of the calendar\").optional(),\n locationid: z.number().int().describe(\"ID of the location for this working slot if locations are used in working times\").optional(),\n calendarintervalid: z.number().int().describe(\"ID of the period for this working slot if periods are used in working times\").optional(),\n validwithserviceid: z.string().describe(\"Comma-separated list of service IDs that work with this working slot\").optional(),\n allserviceidsrequired: z.enum([\"one_required\", \"all_exclusive\", \"all_required\", \"one_exclusive\"]).describe(\"Enum for service validation mode.\\n\\nDefines how the validity of services are checked:\\n- ONE_REQUIRED: One service needs to be selected\\n- ALL_EXCLUSIVE: All services need to be selected exclusively\\n- ALL_REQUIRED: All services need to be selected\\n- ONE_EXCLUSIVE: One service needs to be selected exclusively\").optional(),\n}).describe(\"Request model for updating working times in eTermin.\");\nexport const EterminUpdateWorkingTimesOutput = z.object({\n status: z.number().int().describe(\"HTTP status code of the response\").nullable().optional(),\n statusmsg: z.string().describe(\"Status message from the API\").nullable().optional(),\n}).passthrough().describe(\"Response model for updating working times.\");\n\nexport const eterminUpdateWorkingTimes = action(\"ETERMIN_UPDATE_WORKING_TIMES\", {\n slug: \"etermin-update-working-times\",\n name: \"Update Working Times\",\n description: \"Tool to update working times for a calendar in eTermin. Use when you need to modify existing working time slots, including their start/end times, weekdays, capacity limits, and other scheduling configurations.\",\n input: EterminUpdateWorkingTimesInput,\n output: EterminUpdateWorkingTimesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD;CAC/E,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CACtF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CAC1F,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wGAAwG,CAAC,CAAC,SAAS;CACrJ,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mGAAmG,CAAC,CAAC,SAAS;CAChJ,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gHAAgH,CAAC,CAAC,SAAS;CACxJ,UAAUA,IAAAA,EAAE,KAAK,CAAC,yBAAyB,eAAe,CAAC,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CAC7G,UAAUA,IAAAA,EAAE,KAAK;EAAC;EAAc;EAAa;EAAc;EAAoB;EAAqB;EAAoB;EAAqB;EAAuB;EAAwB;EAAuB;EAAoB;EAAuB;EAAwB;EAAuB;CAAsB,CAAC,CAAC,CAAC,SAAS,2FAA2F,CAAC,CAAC,SAAS;CACrb,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;CACrE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;CAClI,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;CACtI,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;CACzH,uBAAuBA,IAAAA,EAAE,KAAK;EAAC;EAAgB;EAAiB;EAAgB;CAAe,CAAC,CAAC,CAAC,SAAS,0TAA0T,CAAC,CAAC,SAAS;AAClb,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AAEtE,MAAa,4BAA4BC,eAAAA,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -41,9 +41,9 @@ declare const EterminUpdateWorkingTimesInput: z.ZodObject<{
41
41
  }>>;
42
42
  }, z.core.$strip>;
43
43
  declare const EterminUpdateWorkingTimesOutput: z.ZodObject<{
44
- status: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
45
- statusmsg: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
46
- }, z.core.$strip>;
44
+ status: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
45
+ statusmsg: z.ZodOptional<z.ZodNullable<z.ZodString>>;
46
+ }, z.core.$loose>;
47
47
  declare const eterminUpdateWorkingTimes: import("@keystrokehq/action").WorkflowActionDefinition<{
48
48
  id: number;
49
49
  end?: string | undefined;
@@ -58,10 +58,7 @@ declare const eterminUpdateWorkingTimes: import("@keystrokehq/action").WorkflowA
58
58
  calendarintervalid?: number | undefined;
59
59
  validwithserviceid?: string | undefined;
60
60
  allserviceidsrequired?: "one_required" | "all_exclusive" | "all_required" | "one_exclusive" | undefined;
61
- }, {
62
- status?: number | undefined;
63
- statusmsg?: string | undefined;
64
- }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
61
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
65
62
  //#endregion
66
63
  export { eterminUpdateWorkingTimes };
67
64
  //# sourceMappingURL=update-working-times.d.cts.map
@@ -41,9 +41,9 @@ declare const EterminUpdateWorkingTimesInput: z.ZodObject<{
41
41
  }>>;
42
42
  }, z.core.$strip>;
43
43
  declare const EterminUpdateWorkingTimesOutput: z.ZodObject<{
44
- status: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
45
- statusmsg: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
46
- }, z.core.$strip>;
44
+ status: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
45
+ statusmsg: z.ZodOptional<z.ZodNullable<z.ZodString>>;
46
+ }, z.core.$loose>;
47
47
  declare const eterminUpdateWorkingTimes: import("@keystrokehq/action").WorkflowActionDefinition<{
48
48
  id: number;
49
49
  end?: string | undefined;
@@ -58,10 +58,7 @@ declare const eterminUpdateWorkingTimes: import("@keystrokehq/action").WorkflowA
58
58
  calendarintervalid?: number | undefined;
59
59
  validwithserviceid?: string | undefined;
60
60
  allserviceidsrequired?: "one_required" | "all_exclusive" | "all_required" | "one_exclusive" | undefined;
61
- }, {
62
- status?: number | undefined;
63
- statusmsg?: string | undefined;
64
- }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
61
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
65
62
  //#endregion
66
63
  export { eterminUpdateWorkingTimes };
67
64
  //# sourceMappingURL=update-working-times.d.mts.map
@@ -41,9 +41,9 @@ const eterminUpdateWorkingTimes = action("ETERMIN_UPDATE_WORKING_TIMES", {
41
41
  ]).describe("Enum for service validation mode.\n\nDefines how the validity of services are checked:\n- ONE_REQUIRED: One service needs to be selected\n- ALL_EXCLUSIVE: All services need to be selected exclusively\n- ALL_REQUIRED: All services need to be selected\n- ONE_EXCLUSIVE: One service needs to be selected exclusively").optional()
42
42
  }).describe("Request model for updating working times in eTermin."),
43
43
  output: z.object({
44
- status: z.preprocess((value) => value === null ? void 0 : value, z.number().int().describe("HTTP status code of the response").optional()),
45
- statusmsg: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Status message from the API").optional())
46
- }).describe("Response model for updating working times.")
44
+ status: z.number().int().describe("HTTP status code of the response").nullable().optional(),
45
+ statusmsg: z.string().describe("Status message from the API").nullable().optional()
46
+ }).passthrough().describe("Response model for updating working times.")
47
47
  });
48
48
  //#endregion
49
49
  export { eterminUpdateWorkingTimes };
@@ -1 +1 @@
1
- {"version":3,"file":"update-working-times.mjs","names":[],"sources":["../../src/actions/update-working-times.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminUpdateWorkingTimesInput = z.object({\n id: z.number().int().describe(\"ID of the working time that needs to be changed\"),\n end: z.string().describe(\"End time of the slot in HH:MM format, e.g. 17:00\").optional(),\n start: z.string().describe(\"Start time of the slot in HH:MM format, e.g. 09:00\").optional(),\n enable: z.number().int().describe(\"Set to 0 if the time slot should exist but not being considered yet. Set to 1 to enable the time slot.\").optional(),\n nrapps: z.number().int().describe(\"Amount of appointments that are bookable in this working slot. Use -1 for unlimited appointments.\").optional(),\n weekday: z.string().describe(\"ID of the weekday where 1 = Sunday, 7 = Saturday. You can add several weekdays separated by a comma e.g. 2,3,5\").optional(),\n slottype: z.enum([\"internal_and_external\", \"internal_only\"]).describe(\"Enum for slot type values.\").optional(),\n weektype: z.enum([\"every_week\", \"odd_weeks\", \"even_weeks\", \"first_occurrence\", \"second_occurrence\", \"third_occurrence\", \"fourth_occurrence\", \"every_3_weeks_first\", \"every_3_weeks_second\", \"every_3_weeks_third\", \"fifth_occurrence\", \"every_4_weeks_first\", \"every_4_weeks_second\", \"every_4_weeks_third\", \"every_4_weeks_fourth\"]).describe(\"Enum for week type intervals.\\n\\nDefines in which interval the time slot should be shown.\").optional(),\n calendarid: z.number().int().describe(\"ID of the calendar\").optional(),\n locationid: z.number().int().describe(\"ID of the location for this working slot if locations are used in working times\").optional(),\n calendarintervalid: z.number().int().describe(\"ID of the period for this working slot if periods are used in working times\").optional(),\n validwithserviceid: z.string().describe(\"Comma-separated list of service IDs that work with this working slot\").optional(),\n allserviceidsrequired: z.enum([\"one_required\", \"all_exclusive\", \"all_required\", \"one_exclusive\"]).describe(\"Enum for service validation mode.\\n\\nDefines how the validity of services are checked:\\n- ONE_REQUIRED: One service needs to be selected\\n- ALL_EXCLUSIVE: All services need to be selected exclusively\\n- ALL_REQUIRED: All services need to be selected\\n- ONE_EXCLUSIVE: One service needs to be selected exclusively\").optional(),\n}).describe(\"Request model for updating working times in eTermin.\");\nexport const EterminUpdateWorkingTimesOutput = z.object({\n status: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"HTTP status code of the response\").optional()),\n statusmsg: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Status message from the API\").optional()),\n}).describe(\"Response model for updating working times.\");\n\nexport const eterminUpdateWorkingTimes = action(\"ETERMIN_UPDATE_WORKING_TIMES\", {\n slug: \"etermin-update-working-times\",\n name: \"Update Working Times\",\n description: \"Tool to update working times for a calendar in eTermin. Use when you need to modify existing working time slots, including their start/end times, weekdays, capacity limits, and other scheduling configurations.\",\n input: EterminUpdateWorkingTimesInput,\n output: EterminUpdateWorkingTimesOutput,\n});\n"],"mappings":";;AAwBA,MAAa,4BAA4B,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAxB4C,EAAE,OAAO;EACrD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD;EAC/E,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;EACtF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;EAC1F,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wGAAwG,CAAC,CAAC,SAAS;EACrJ,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mGAAmG,CAAC,CAAC,SAAS;EAChJ,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,gHAAgH,CAAC,CAAC,SAAS;EACxJ,UAAU,EAAE,KAAK,CAAC,yBAAyB,eAAe,CAAC,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;EAC7G,UAAU,EAAE,KAAK;GAAC;GAAc;GAAa;GAAc;GAAoB;GAAqB;GAAoB;GAAqB;GAAuB;GAAwB;GAAuB;GAAoB;GAAuB;GAAwB;GAAuB;EAAsB,CAAC,CAAC,CAAC,SAAS,2FAA2F,CAAC,CAAC,SAAS;EACrb,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;EACrE,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;EAClI,oBAAoB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;EACtI,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;EACzH,uBAAuB,EAAE,KAAK;GAAC;GAAgB;GAAiB;GAAgB;EAAe,CAAC,CAAC,CAAC,SAAS,0TAA0T,CAAC,CAAC,SAAS;CAClb,CAAC,CAAC,CAAC,SAAS,sDAUH;CACP,QAV6C,EAAE,OAAO;EACtD,QAAQ,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC;EAC9I,WAAW,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC;CACxI,CAAC,CAAC,CAAC,SAAS,4CAOF;AACV,CAAC"}
1
+ {"version":3,"file":"update-working-times.mjs","names":[],"sources":["../../src/actions/update-working-times.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminUpdateWorkingTimesInput = z.object({\n id: z.number().int().describe(\"ID of the working time that needs to be changed\"),\n end: z.string().describe(\"End time of the slot in HH:MM format, e.g. 17:00\").optional(),\n start: z.string().describe(\"Start time of the slot in HH:MM format, e.g. 09:00\").optional(),\n enable: z.number().int().describe(\"Set to 0 if the time slot should exist but not being considered yet. Set to 1 to enable the time slot.\").optional(),\n nrapps: z.number().int().describe(\"Amount of appointments that are bookable in this working slot. Use -1 for unlimited appointments.\").optional(),\n weekday: z.string().describe(\"ID of the weekday where 1 = Sunday, 7 = Saturday. You can add several weekdays separated by a comma e.g. 2,3,5\").optional(),\n slottype: z.enum([\"internal_and_external\", \"internal_only\"]).describe(\"Enum for slot type values.\").optional(),\n weektype: z.enum([\"every_week\", \"odd_weeks\", \"even_weeks\", \"first_occurrence\", \"second_occurrence\", \"third_occurrence\", \"fourth_occurrence\", \"every_3_weeks_first\", \"every_3_weeks_second\", \"every_3_weeks_third\", \"fifth_occurrence\", \"every_4_weeks_first\", \"every_4_weeks_second\", \"every_4_weeks_third\", \"every_4_weeks_fourth\"]).describe(\"Enum for week type intervals.\\n\\nDefines in which interval the time slot should be shown.\").optional(),\n calendarid: z.number().int().describe(\"ID of the calendar\").optional(),\n locationid: z.number().int().describe(\"ID of the location for this working slot if locations are used in working times\").optional(),\n calendarintervalid: z.number().int().describe(\"ID of the period for this working slot if periods are used in working times\").optional(),\n validwithserviceid: z.string().describe(\"Comma-separated list of service IDs that work with this working slot\").optional(),\n allserviceidsrequired: z.enum([\"one_required\", \"all_exclusive\", \"all_required\", \"one_exclusive\"]).describe(\"Enum for service validation mode.\\n\\nDefines how the validity of services are checked:\\n- ONE_REQUIRED: One service needs to be selected\\n- ALL_EXCLUSIVE: All services need to be selected exclusively\\n- ALL_REQUIRED: All services need to be selected\\n- ONE_EXCLUSIVE: One service needs to be selected exclusively\").optional(),\n}).describe(\"Request model for updating working times in eTermin.\");\nexport const EterminUpdateWorkingTimesOutput = z.object({\n status: z.number().int().describe(\"HTTP status code of the response\").nullable().optional(),\n statusmsg: z.string().describe(\"Status message from the API\").nullable().optional(),\n}).passthrough().describe(\"Response model for updating working times.\");\n\nexport const eterminUpdateWorkingTimes = action(\"ETERMIN_UPDATE_WORKING_TIMES\", {\n slug: \"etermin-update-working-times\",\n name: \"Update Working Times\",\n description: \"Tool to update working times for a calendar in eTermin. Use when you need to modify existing working time slots, including their start/end times, weekdays, capacity limits, and other scheduling configurations.\",\n input: EterminUpdateWorkingTimesInput,\n output: EterminUpdateWorkingTimesOutput,\n});\n"],"mappings":";;AAwBA,MAAa,4BAA4B,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAxB4C,EAAE,OAAO;EACrD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD;EAC/E,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;EACtF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;EAC1F,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wGAAwG,CAAC,CAAC,SAAS;EACrJ,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mGAAmG,CAAC,CAAC,SAAS;EAChJ,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,gHAAgH,CAAC,CAAC,SAAS;EACxJ,UAAU,EAAE,KAAK,CAAC,yBAAyB,eAAe,CAAC,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;EAC7G,UAAU,EAAE,KAAK;GAAC;GAAc;GAAa;GAAc;GAAoB;GAAqB;GAAoB;GAAqB;GAAuB;GAAwB;GAAuB;GAAoB;GAAuB;GAAwB;GAAuB;EAAsB,CAAC,CAAC,CAAC,SAAS,2FAA2F,CAAC,CAAC,SAAS;EACrb,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;EACrE,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;EAClI,oBAAoB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;EACtI,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;EACzH,uBAAuB,EAAE,KAAK;GAAC;GAAgB;GAAiB;GAAgB;EAAe,CAAC,CAAC,CAAC,SAAS,0TAA0T,CAAC,CAAC,SAAS;CAClb,CAAC,CAAC,CAAC,SAAS,sDAUH;CACP,QAV6C,EAAE,OAAO;EACtD,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAOhB;AACV,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@keystrokehq/etermin",
3
- "version": "0.1.1",
3
+ "version": "0.1.3",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "registry": "https://registry.npmjs.org"