@keystrokehq/etermin 0.1.0 → 0.1.1

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 (629) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/assign-calendar-service.cjs +3 -3
  4. package/dist/actions/assign-calendar-service.cjs.map +1 -1
  5. package/dist/actions/assign-calendar-service.d.cts +17 -3
  6. package/dist/actions/assign-calendar-service.d.cts.map +1 -1
  7. package/dist/actions/assign-calendar-service.d.mts +17 -3
  8. package/dist/actions/assign-calendar-service.d.mts.map +1 -1
  9. package/dist/actions/assign-calendar-service.mjs +3 -3
  10. package/dist/actions/assign-calendar-service.mjs.map +1 -1
  11. package/dist/actions/create-absence.cjs +3 -3
  12. package/dist/actions/create-absence.cjs.map +1 -1
  13. package/dist/actions/create-absence.d.cts +28 -3
  14. package/dist/actions/create-absence.d.cts.map +1 -1
  15. package/dist/actions/create-absence.d.mts +28 -3
  16. package/dist/actions/create-absence.d.mts.map +1 -1
  17. package/dist/actions/create-absence.mjs +3 -3
  18. package/dist/actions/create-absence.mjs.map +1 -1
  19. package/dist/actions/create-anchortime-by-date.cjs +2 -2
  20. package/dist/actions/create-anchortime-by-date.cjs.map +1 -1
  21. package/dist/actions/create-anchortime-by-date.d.cts +19 -3
  22. package/dist/actions/create-anchortime-by-date.d.cts.map +1 -1
  23. package/dist/actions/create-anchortime-by-date.d.mts +19 -3
  24. package/dist/actions/create-anchortime-by-date.d.mts.map +1 -1
  25. package/dist/actions/create-anchortime-by-date.mjs +2 -2
  26. package/dist/actions/create-anchortime-by-date.mjs.map +1 -1
  27. package/dist/actions/create-anchortime.cjs +2 -2
  28. package/dist/actions/create-anchortime.cjs.map +1 -1
  29. package/dist/actions/create-anchortime.d.cts +19 -3
  30. package/dist/actions/create-anchortime.d.cts.map +1 -1
  31. package/dist/actions/create-anchortime.d.mts +19 -3
  32. package/dist/actions/create-anchortime.d.mts.map +1 -1
  33. package/dist/actions/create-anchortime.mjs +2 -2
  34. package/dist/actions/create-anchortime.mjs.map +1 -1
  35. package/dist/actions/create-appointment-sync.cjs +3 -3
  36. package/dist/actions/create-appointment-sync.cjs.map +1 -1
  37. package/dist/actions/create-appointment-sync.d.cts +41 -3
  38. package/dist/actions/create-appointment-sync.d.cts.map +1 -1
  39. package/dist/actions/create-appointment-sync.d.mts +41 -3
  40. package/dist/actions/create-appointment-sync.d.mts.map +1 -1
  41. package/dist/actions/create-appointment-sync.mjs +3 -3
  42. package/dist/actions/create-appointment-sync.mjs.map +1 -1
  43. package/dist/actions/create-appointment.cjs +6 -6
  44. package/dist/actions/create-appointment.cjs.map +1 -1
  45. package/dist/actions/create-appointment.d.cts +163 -3
  46. package/dist/actions/create-appointment.d.cts.map +1 -1
  47. package/dist/actions/create-appointment.d.mts +163 -3
  48. package/dist/actions/create-appointment.d.mts.map +1 -1
  49. package/dist/actions/create-appointment.mjs +6 -6
  50. package/dist/actions/create-appointment.mjs.map +1 -1
  51. package/dist/actions/create-calendar-return-time.cjs +3 -3
  52. package/dist/actions/create-calendar-return-time.cjs.map +1 -1
  53. package/dist/actions/create-calendar-return-time.d.cts +23 -3
  54. package/dist/actions/create-calendar-return-time.d.cts.map +1 -1
  55. package/dist/actions/create-calendar-return-time.d.mts +23 -3
  56. package/dist/actions/create-calendar-return-time.d.mts.map +1 -1
  57. package/dist/actions/create-calendar-return-time.mjs +3 -3
  58. package/dist/actions/create-calendar-return-time.mjs.map +1 -1
  59. package/dist/actions/create-contact.cjs +5 -5
  60. package/dist/actions/create-contact.cjs.map +1 -1
  61. package/dist/actions/create-contact.d.cts +23 -3
  62. package/dist/actions/create-contact.d.cts.map +1 -1
  63. package/dist/actions/create-contact.d.mts +23 -3
  64. package/dist/actions/create-contact.d.mts.map +1 -1
  65. package/dist/actions/create-contact.mjs +5 -5
  66. package/dist/actions/create-contact.mjs.map +1 -1
  67. package/dist/actions/create-service-group.cjs +3 -3
  68. package/dist/actions/create-service-group.cjs.map +1 -1
  69. package/dist/actions/create-service-group.d.cts +56 -3
  70. package/dist/actions/create-service-group.d.cts.map +1 -1
  71. package/dist/actions/create-service-group.d.mts +56 -3
  72. package/dist/actions/create-service-group.d.mts.map +1 -1
  73. package/dist/actions/create-service-group.mjs +3 -3
  74. package/dist/actions/create-service-group.mjs.map +1 -1
  75. package/dist/actions/create-service.cjs +3 -3
  76. package/dist/actions/create-service.cjs.map +1 -1
  77. package/dist/actions/create-service.d.cts +237 -3
  78. package/dist/actions/create-service.d.cts.map +1 -1
  79. package/dist/actions/create-service.d.mts +237 -3
  80. package/dist/actions/create-service.d.mts.map +1 -1
  81. package/dist/actions/create-service.mjs +3 -3
  82. package/dist/actions/create-service.mjs.map +1 -1
  83. package/dist/actions/create-user.cjs +3 -3
  84. package/dist/actions/create-user.cjs.map +1 -1
  85. package/dist/actions/create-user.d.cts +31 -3
  86. package/dist/actions/create-user.d.cts.map +1 -1
  87. package/dist/actions/create-user.d.mts +31 -3
  88. package/dist/actions/create-user.d.mts.map +1 -1
  89. package/dist/actions/create-user.mjs +3 -3
  90. package/dist/actions/create-user.mjs.map +1 -1
  91. package/dist/actions/create-usermapping.cjs +3 -3
  92. package/dist/actions/create-usermapping.cjs.map +1 -1
  93. package/dist/actions/create-usermapping.d.cts +34 -3
  94. package/dist/actions/create-usermapping.d.cts.map +1 -1
  95. package/dist/actions/create-usermapping.d.mts +34 -3
  96. package/dist/actions/create-usermapping.d.mts.map +1 -1
  97. package/dist/actions/create-usermapping.mjs +3 -3
  98. package/dist/actions/create-usermapping.mjs.map +1 -1
  99. package/dist/actions/create-voucher.cjs +8 -8
  100. package/dist/actions/create-voucher.cjs.map +1 -1
  101. package/dist/actions/create-voucher.d.cts +36 -3
  102. package/dist/actions/create-voucher.d.cts.map +1 -1
  103. package/dist/actions/create-voucher.d.mts +36 -3
  104. package/dist/actions/create-voucher.d.mts.map +1 -1
  105. package/dist/actions/create-voucher.mjs +8 -8
  106. package/dist/actions/create-voucher.mjs.map +1 -1
  107. package/dist/actions/create-webhook.cjs +4 -4
  108. package/dist/actions/create-webhook.cjs.map +1 -1
  109. package/dist/actions/create-webhook.d.cts +29 -3
  110. package/dist/actions/create-webhook.d.cts.map +1 -1
  111. package/dist/actions/create-webhook.d.mts +29 -3
  112. package/dist/actions/create-webhook.d.mts.map +1 -1
  113. package/dist/actions/create-webhook.mjs +4 -4
  114. package/dist/actions/create-webhook.mjs.map +1 -1
  115. package/dist/actions/create-working-time.cjs +2 -2
  116. package/dist/actions/create-working-time.cjs.map +1 -1
  117. package/dist/actions/create-working-time.d.cts +35 -3
  118. package/dist/actions/create-working-time.d.cts.map +1 -1
  119. package/dist/actions/create-working-time.d.mts +35 -3
  120. package/dist/actions/create-working-time.d.mts.map +1 -1
  121. package/dist/actions/create-working-time.mjs +2 -2
  122. package/dist/actions/create-working-time.mjs.map +1 -1
  123. package/dist/actions/create-working-times-date.cjs +3 -3
  124. package/dist/actions/create-working-times-date.cjs.map +1 -1
  125. package/dist/actions/create-working-times-date.d.cts +39 -3
  126. package/dist/actions/create-working-times-date.d.cts.map +1 -1
  127. package/dist/actions/create-working-times-date.d.mts +39 -3
  128. package/dist/actions/create-working-times-date.d.mts.map +1 -1
  129. package/dist/actions/create-working-times-date.mjs +3 -3
  130. package/dist/actions/create-working-times-date.mjs.map +1 -1
  131. package/dist/actions/delete-absence.cjs +3 -3
  132. package/dist/actions/delete-absence.cjs.map +1 -1
  133. package/dist/actions/delete-absence.d.cts +15 -3
  134. package/dist/actions/delete-absence.d.cts.map +1 -1
  135. package/dist/actions/delete-absence.d.mts +15 -3
  136. package/dist/actions/delete-absence.d.mts.map +1 -1
  137. package/dist/actions/delete-absence.mjs +3 -3
  138. package/dist/actions/delete-absence.mjs.map +1 -1
  139. package/dist/actions/delete-anchortime-by-date.cjs +3 -3
  140. package/dist/actions/delete-anchortime-by-date.cjs.map +1 -1
  141. package/dist/actions/delete-anchortime-by-date.d.cts +15 -3
  142. package/dist/actions/delete-anchortime-by-date.d.cts.map +1 -1
  143. package/dist/actions/delete-anchortime-by-date.d.mts +15 -3
  144. package/dist/actions/delete-anchortime-by-date.d.mts.map +1 -1
  145. package/dist/actions/delete-anchortime-by-date.mjs +3 -3
  146. package/dist/actions/delete-anchortime-by-date.mjs.map +1 -1
  147. package/dist/actions/delete-anchortime.cjs +2 -2
  148. package/dist/actions/delete-anchortime.cjs.map +1 -1
  149. package/dist/actions/delete-anchortime.d.cts +13 -3
  150. package/dist/actions/delete-anchortime.d.cts.map +1 -1
  151. package/dist/actions/delete-anchortime.d.mts +13 -3
  152. package/dist/actions/delete-anchortime.d.mts.map +1 -1
  153. package/dist/actions/delete-anchortime.mjs +2 -2
  154. package/dist/actions/delete-anchortime.mjs.map +1 -1
  155. package/dist/actions/delete-appointment-sync.cjs +3 -3
  156. package/dist/actions/delete-appointment-sync.cjs.map +1 -1
  157. package/dist/actions/delete-appointment-sync.d.cts +19 -3
  158. package/dist/actions/delete-appointment-sync.d.cts.map +1 -1
  159. package/dist/actions/delete-appointment-sync.d.mts +19 -3
  160. package/dist/actions/delete-appointment-sync.d.mts.map +1 -1
  161. package/dist/actions/delete-appointment-sync.mjs +3 -3
  162. package/dist/actions/delete-appointment-sync.mjs.map +1 -1
  163. package/dist/actions/delete-appointment.cjs +3 -3
  164. package/dist/actions/delete-appointment.cjs.map +1 -1
  165. package/dist/actions/delete-appointment.d.cts +15 -3
  166. package/dist/actions/delete-appointment.d.cts.map +1 -1
  167. package/dist/actions/delete-appointment.d.mts +15 -3
  168. package/dist/actions/delete-appointment.d.mts.map +1 -1
  169. package/dist/actions/delete-appointment.mjs +3 -3
  170. package/dist/actions/delete-appointment.mjs.map +1 -1
  171. package/dist/actions/delete-calendar-return-time.cjs +2 -2
  172. package/dist/actions/delete-calendar-return-time.cjs.map +1 -1
  173. package/dist/actions/delete-calendar-return-time.d.cts +13 -3
  174. package/dist/actions/delete-calendar-return-time.d.cts.map +1 -1
  175. package/dist/actions/delete-calendar-return-time.d.mts +13 -3
  176. package/dist/actions/delete-calendar-return-time.d.mts.map +1 -1
  177. package/dist/actions/delete-calendar-return-time.mjs +2 -2
  178. package/dist/actions/delete-calendar-return-time.mjs.map +1 -1
  179. package/dist/actions/delete-calendar-service.cjs +2 -2
  180. package/dist/actions/delete-calendar-service.cjs.map +1 -1
  181. package/dist/actions/delete-calendar-service.d.cts +15 -3
  182. package/dist/actions/delete-calendar-service.d.cts.map +1 -1
  183. package/dist/actions/delete-calendar-service.d.mts +15 -3
  184. package/dist/actions/delete-calendar-service.d.mts.map +1 -1
  185. package/dist/actions/delete-calendar-service.mjs +2 -2
  186. package/dist/actions/delete-calendar-service.mjs.map +1 -1
  187. package/dist/actions/delete-calendar.cjs +3 -3
  188. package/dist/actions/delete-calendar.cjs.map +1 -1
  189. package/dist/actions/delete-calendar.d.cts +15 -3
  190. package/dist/actions/delete-calendar.d.cts.map +1 -1
  191. package/dist/actions/delete-calendar.d.mts +15 -3
  192. package/dist/actions/delete-calendar.d.mts.map +1 -1
  193. package/dist/actions/delete-calendar.mjs +3 -3
  194. package/dist/actions/delete-calendar.mjs.map +1 -1
  195. package/dist/actions/delete-contact.cjs +2 -2
  196. package/dist/actions/delete-contact.cjs.map +1 -1
  197. package/dist/actions/delete-contact.d.cts +13 -3
  198. package/dist/actions/delete-contact.d.cts.map +1 -1
  199. package/dist/actions/delete-contact.d.mts +13 -3
  200. package/dist/actions/delete-contact.d.mts.map +1 -1
  201. package/dist/actions/delete-contact.mjs +2 -2
  202. package/dist/actions/delete-contact.mjs.map +1 -1
  203. package/dist/actions/delete-resource.cjs +4 -4
  204. package/dist/actions/delete-resource.cjs.map +1 -1
  205. package/dist/actions/delete-resource.d.cts +19 -3
  206. package/dist/actions/delete-resource.d.cts.map +1 -1
  207. package/dist/actions/delete-resource.d.mts +19 -3
  208. package/dist/actions/delete-resource.d.mts.map +1 -1
  209. package/dist/actions/delete-resource.mjs +4 -4
  210. package/dist/actions/delete-resource.mjs.map +1 -1
  211. package/dist/actions/delete-service.cjs +3 -3
  212. package/dist/actions/delete-service.cjs.map +1 -1
  213. package/dist/actions/delete-service.d.cts +15 -3
  214. package/dist/actions/delete-service.d.cts.map +1 -1
  215. package/dist/actions/delete-service.d.mts +15 -3
  216. package/dist/actions/delete-service.d.mts.map +1 -1
  217. package/dist/actions/delete-service.mjs +3 -3
  218. package/dist/actions/delete-service.mjs.map +1 -1
  219. package/dist/actions/delete-servicegroup.cjs +2 -2
  220. package/dist/actions/delete-servicegroup.cjs.map +1 -1
  221. package/dist/actions/delete-servicegroup.d.cts +13 -3
  222. package/dist/actions/delete-servicegroup.d.cts.map +1 -1
  223. package/dist/actions/delete-servicegroup.d.mts +13 -3
  224. package/dist/actions/delete-servicegroup.d.mts.map +1 -1
  225. package/dist/actions/delete-servicegroup.mjs +2 -2
  226. package/dist/actions/delete-servicegroup.mjs.map +1 -1
  227. package/dist/actions/delete-user.cjs +2 -2
  228. package/dist/actions/delete-user.cjs.map +1 -1
  229. package/dist/actions/delete-user.d.cts +13 -3
  230. package/dist/actions/delete-user.d.cts.map +1 -1
  231. package/dist/actions/delete-user.d.mts +13 -3
  232. package/dist/actions/delete-user.d.mts.map +1 -1
  233. package/dist/actions/delete-user.mjs +2 -2
  234. package/dist/actions/delete-user.mjs.map +1 -1
  235. package/dist/actions/delete-usermapping.cjs +2 -2
  236. package/dist/actions/delete-usermapping.cjs.map +1 -1
  237. package/dist/actions/delete-usermapping.d.cts +13 -3
  238. package/dist/actions/delete-usermapping.d.cts.map +1 -1
  239. package/dist/actions/delete-usermapping.d.mts +13 -3
  240. package/dist/actions/delete-usermapping.d.mts.map +1 -1
  241. package/dist/actions/delete-usermapping.mjs +2 -2
  242. package/dist/actions/delete-usermapping.mjs.map +1 -1
  243. package/dist/actions/delete-voucher.cjs +2 -2
  244. package/dist/actions/delete-voucher.cjs.map +1 -1
  245. package/dist/actions/delete-voucher.d.cts +13 -3
  246. package/dist/actions/delete-voucher.d.cts.map +1 -1
  247. package/dist/actions/delete-voucher.d.mts +13 -3
  248. package/dist/actions/delete-voucher.d.mts.map +1 -1
  249. package/dist/actions/delete-voucher.mjs +2 -2
  250. package/dist/actions/delete-voucher.mjs.map +1 -1
  251. package/dist/actions/delete-webhook.cjs +2 -2
  252. package/dist/actions/delete-webhook.cjs.map +1 -1
  253. package/dist/actions/delete-webhook.d.cts +13 -3
  254. package/dist/actions/delete-webhook.d.cts.map +1 -1
  255. package/dist/actions/delete-webhook.d.mts +13 -3
  256. package/dist/actions/delete-webhook.d.mts.map +1 -1
  257. package/dist/actions/delete-webhook.mjs +2 -2
  258. package/dist/actions/delete-webhook.mjs.map +1 -1
  259. package/dist/actions/delete-working-times-date.cjs +2 -2
  260. package/dist/actions/delete-working-times-date.cjs.map +1 -1
  261. package/dist/actions/delete-working-times-date.d.cts +15 -3
  262. package/dist/actions/delete-working-times-date.d.cts.map +1 -1
  263. package/dist/actions/delete-working-times-date.d.mts +15 -3
  264. package/dist/actions/delete-working-times-date.d.mts.map +1 -1
  265. package/dist/actions/delete-working-times-date.mjs +2 -2
  266. package/dist/actions/delete-working-times-date.mjs.map +1 -1
  267. package/dist/actions/delete-working-times.cjs +2 -2
  268. package/dist/actions/delete-working-times.cjs.map +1 -1
  269. package/dist/actions/delete-working-times.d.cts +15 -3
  270. package/dist/actions/delete-working-times.d.cts.map +1 -1
  271. package/dist/actions/delete-working-times.d.mts +15 -3
  272. package/dist/actions/delete-working-times.d.mts.map +1 -1
  273. package/dist/actions/delete-working-times.mjs +2 -2
  274. package/dist/actions/delete-working-times.mjs.map +1 -1
  275. package/dist/actions/get-absences.cjs +7 -7
  276. package/dist/actions/get-absences.cjs.map +1 -1
  277. package/dist/actions/get-absences.d.cts +26 -3
  278. package/dist/actions/get-absences.d.cts.map +1 -1
  279. package/dist/actions/get-absences.d.mts +26 -3
  280. package/dist/actions/get-absences.d.mts.map +1 -1
  281. package/dist/actions/get-absences.mjs +7 -7
  282. package/dist/actions/get-absences.mjs.map +1 -1
  283. package/dist/actions/get-anchortime-date.cjs +5 -5
  284. package/dist/actions/get-anchortime-date.cjs.map +1 -1
  285. package/dist/actions/get-anchortime-date.d.cts +24 -3
  286. package/dist/actions/get-anchortime-date.d.cts.map +1 -1
  287. package/dist/actions/get-anchortime-date.d.mts +24 -3
  288. package/dist/actions/get-anchortime-date.d.mts.map +1 -1
  289. package/dist/actions/get-anchortime-date.mjs +5 -5
  290. package/dist/actions/get-anchortime-date.mjs.map +1 -1
  291. package/dist/actions/get-anchortimes.cjs +5 -5
  292. package/dist/actions/get-anchortimes.cjs.map +1 -1
  293. package/dist/actions/get-anchortimes.d.cts +24 -3
  294. package/dist/actions/get-anchortimes.d.cts.map +1 -1
  295. package/dist/actions/get-anchortimes.d.mts +24 -3
  296. package/dist/actions/get-anchortimes.d.mts.map +1 -1
  297. package/dist/actions/get-anchortimes.mjs +5 -5
  298. package/dist/actions/get-anchortimes.mjs.map +1 -1
  299. package/dist/actions/get-appointment-sync.cjs +73 -73
  300. package/dist/actions/get-appointment-sync.cjs.map +1 -1
  301. package/dist/actions/get-appointment-sync.d.cts +160 -3
  302. package/dist/actions/get-appointment-sync.d.cts.map +1 -1
  303. package/dist/actions/get-appointment-sync.d.mts +160 -3
  304. package/dist/actions/get-appointment-sync.d.mts.map +1 -1
  305. package/dist/actions/get-appointment-sync.mjs +73 -73
  306. package/dist/actions/get-appointment-sync.mjs.map +1 -1
  307. package/dist/actions/get-bookingpage-logs.cjs +5 -5
  308. package/dist/actions/get-bookingpage-logs.cjs.map +1 -1
  309. package/dist/actions/get-bookingpage-logs.d.cts +25 -3
  310. package/dist/actions/get-bookingpage-logs.d.cts.map +1 -1
  311. package/dist/actions/get-bookingpage-logs.d.mts +25 -3
  312. package/dist/actions/get-bookingpage-logs.d.mts.map +1 -1
  313. package/dist/actions/get-bookingpage-logs.mjs +5 -5
  314. package/dist/actions/get-bookingpage-logs.mjs.map +1 -1
  315. package/dist/actions/get-calendar-return-time.cjs +9 -9
  316. package/dist/actions/get-calendar-return-time.cjs.map +1 -1
  317. package/dist/actions/get-calendar-return-time.d.cts +30 -3
  318. package/dist/actions/get-calendar-return-time.d.cts.map +1 -1
  319. package/dist/actions/get-calendar-return-time.d.mts +30 -3
  320. package/dist/actions/get-calendar-return-time.d.mts.map +1 -1
  321. package/dist/actions/get-calendar-return-time.mjs +9 -9
  322. package/dist/actions/get-calendar-return-time.mjs.map +1 -1
  323. package/dist/actions/get-calendars.cjs +7 -7
  324. package/dist/actions/get-calendars.cjs.map +1 -1
  325. package/dist/actions/get-calendars.d.cts +24 -3
  326. package/dist/actions/get-calendars.d.cts.map +1 -1
  327. package/dist/actions/get-calendars.d.mts +24 -3
  328. package/dist/actions/get-calendars.d.mts.map +1 -1
  329. package/dist/actions/get-calendars.mjs +7 -7
  330. package/dist/actions/get-calendars.mjs.map +1 -1
  331. package/dist/actions/get-calendarservice.cjs +3 -3
  332. package/dist/actions/get-calendarservice.cjs.map +1 -1
  333. package/dist/actions/get-calendarservice.d.cts +20 -3
  334. package/dist/actions/get-calendarservice.d.cts.map +1 -1
  335. package/dist/actions/get-calendarservice.d.mts +20 -3
  336. package/dist/actions/get-calendarservice.d.mts.map +1 -1
  337. package/dist/actions/get-calendarservice.mjs +3 -3
  338. package/dist/actions/get-calendarservice.mjs.map +1 -1
  339. package/dist/actions/get-company.cjs +19 -19
  340. package/dist/actions/get-company.cjs.map +1 -1
  341. package/dist/actions/get-company.d.cts +48 -3
  342. package/dist/actions/get-company.d.cts.map +1 -1
  343. package/dist/actions/get-company.d.mts +48 -3
  344. package/dist/actions/get-company.d.mts.map +1 -1
  345. package/dist/actions/get-company.mjs +19 -19
  346. package/dist/actions/get-company.mjs.map +1 -1
  347. package/dist/actions/get-contact-by-id.cjs +50 -50
  348. package/dist/actions/get-contact-by-id.cjs.map +1 -1
  349. package/dist/actions/get-contact-by-id.d.cts +121 -3
  350. package/dist/actions/get-contact-by-id.d.cts.map +1 -1
  351. package/dist/actions/get-contact-by-id.d.mts +121 -3
  352. package/dist/actions/get-contact-by-id.d.mts.map +1 -1
  353. package/dist/actions/get-contact-by-id.mjs +50 -50
  354. package/dist/actions/get-contact-by-id.mjs.map +1 -1
  355. package/dist/actions/get-contacts.cjs +50 -50
  356. package/dist/actions/get-contacts.cjs.map +1 -1
  357. package/dist/actions/get-contacts.d.cts +109 -3
  358. package/dist/actions/get-contacts.d.cts.map +1 -1
  359. package/dist/actions/get-contacts.d.mts +109 -3
  360. package/dist/actions/get-contacts.d.mts.map +1 -1
  361. package/dist/actions/get-contacts.mjs +50 -50
  362. package/dist/actions/get-contacts.mjs.map +1 -1
  363. package/dist/actions/get-deleted-appointments.cjs +18 -18
  364. package/dist/actions/get-deleted-appointments.cjs.map +1 -1
  365. package/dist/actions/get-deleted-appointments.d.cts +52 -3
  366. package/dist/actions/get-deleted-appointments.d.cts.map +1 -1
  367. package/dist/actions/get-deleted-appointments.d.mts +52 -3
  368. package/dist/actions/get-deleted-appointments.d.mts.map +1 -1
  369. package/dist/actions/get-deleted-appointments.mjs +18 -18
  370. package/dist/actions/get-deleted-appointments.mjs.map +1 -1
  371. package/dist/actions/get-message-logs.cjs +9 -9
  372. package/dist/actions/get-message-logs.cjs.map +1 -1
  373. package/dist/actions/get-message-logs.d.cts +35 -3
  374. package/dist/actions/get-message-logs.d.cts.map +1 -1
  375. package/dist/actions/get-message-logs.d.mts +35 -3
  376. package/dist/actions/get-message-logs.d.mts.map +1 -1
  377. package/dist/actions/get-message-logs.mjs +9 -9
  378. package/dist/actions/get-message-logs.mjs.map +1 -1
  379. package/dist/actions/get-rating.cjs +11 -11
  380. package/dist/actions/get-rating.cjs.map +1 -1
  381. package/dist/actions/get-rating.d.cts +32 -3
  382. package/dist/actions/get-rating.d.cts.map +1 -1
  383. package/dist/actions/get-rating.d.mts +32 -3
  384. package/dist/actions/get-rating.d.mts.map +1 -1
  385. package/dist/actions/get-rating.mjs +11 -11
  386. package/dist/actions/get-rating.mjs.map +1 -1
  387. package/dist/actions/get-service-by-id.cjs +13 -13
  388. package/dist/actions/get-service-by-id.cjs.map +1 -1
  389. package/dist/actions/get-service-by-id.d.cts +40 -3
  390. package/dist/actions/get-service-by-id.d.cts.map +1 -1
  391. package/dist/actions/get-service-by-id.d.mts +40 -3
  392. package/dist/actions/get-service-by-id.d.mts.map +1 -1
  393. package/dist/actions/get-service-by-id.mjs +13 -13
  394. package/dist/actions/get-service-by-id.mjs.map +1 -1
  395. package/dist/actions/get-service-calendar.cjs +1 -1
  396. package/dist/actions/get-service-calendar.cjs.map +1 -1
  397. package/dist/actions/get-service-calendar.d.cts +16 -3
  398. package/dist/actions/get-service-calendar.d.cts.map +1 -1
  399. package/dist/actions/get-service-calendar.d.mts +16 -3
  400. package/dist/actions/get-service-calendar.d.mts.map +1 -1
  401. package/dist/actions/get-service-calendar.mjs +1 -1
  402. package/dist/actions/get-service-calendar.mjs.map +1 -1
  403. package/dist/actions/get-servicegroup.cjs +25 -25
  404. package/dist/actions/get-servicegroup.cjs.map +1 -1
  405. package/dist/actions/get-servicegroup.d.cts +66 -3
  406. package/dist/actions/get-servicegroup.d.cts.map +1 -1
  407. package/dist/actions/get-servicegroup.d.mts +66 -3
  408. package/dist/actions/get-servicegroup.d.mts.map +1 -1
  409. package/dist/actions/get-servicegroup.mjs +25 -25
  410. package/dist/actions/get-servicegroup.mjs.map +1 -1
  411. package/dist/actions/get-services.cjs +13 -13
  412. package/dist/actions/get-services.cjs.map +1 -1
  413. package/dist/actions/get-services.d.cts +36 -3
  414. package/dist/actions/get-services.d.cts.map +1 -1
  415. package/dist/actions/get-services.d.mts +36 -3
  416. package/dist/actions/get-services.d.mts.map +1 -1
  417. package/dist/actions/get-services.mjs +13 -13
  418. package/dist/actions/get-services.mjs.map +1 -1
  419. package/dist/actions/get-survey-results.cjs +6 -6
  420. package/dist/actions/get-survey-results.cjs.map +1 -1
  421. package/dist/actions/get-survey-results.d.cts +27 -3
  422. package/dist/actions/get-survey-results.d.cts.map +1 -1
  423. package/dist/actions/get-survey-results.d.mts +27 -3
  424. package/dist/actions/get-survey-results.d.mts.map +1 -1
  425. package/dist/actions/get-survey-results.mjs +6 -6
  426. package/dist/actions/get-survey-results.mjs.map +1 -1
  427. package/dist/actions/get-timeslots.cjs +4 -4
  428. package/dist/actions/get-timeslots.cjs.map +1 -1
  429. package/dist/actions/get-timeslots.d.cts +24 -3
  430. package/dist/actions/get-timeslots.d.cts.map +1 -1
  431. package/dist/actions/get-timeslots.d.mts +24 -3
  432. package/dist/actions/get-timeslots.d.mts.map +1 -1
  433. package/dist/actions/get-timeslots.mjs +4 -4
  434. package/dist/actions/get-timeslots.mjs.map +1 -1
  435. package/dist/actions/get-usermapping.cjs +7 -7
  436. package/dist/actions/get-usermapping.cjs.map +1 -1
  437. package/dist/actions/get-usermapping.d.cts +28 -3
  438. package/dist/actions/get-usermapping.d.cts.map +1 -1
  439. package/dist/actions/get-usermapping.d.mts +28 -3
  440. package/dist/actions/get-usermapping.d.mts.map +1 -1
  441. package/dist/actions/get-usermapping.mjs +7 -7
  442. package/dist/actions/get-usermapping.mjs.map +1 -1
  443. package/dist/actions/get-users.cjs +28 -28
  444. package/dist/actions/get-users.cjs.map +1 -1
  445. package/dist/actions/get-users.d.cts +65 -3
  446. package/dist/actions/get-users.d.cts.map +1 -1
  447. package/dist/actions/get-users.d.mts +65 -3
  448. package/dist/actions/get-users.d.mts.map +1 -1
  449. package/dist/actions/get-users.mjs +28 -28
  450. package/dist/actions/get-users.mjs.map +1 -1
  451. package/dist/actions/get-working-times-date.cjs +6 -6
  452. package/dist/actions/get-working-times-date.cjs.map +1 -1
  453. package/dist/actions/get-working-times-date.d.cts +24 -3
  454. package/dist/actions/get-working-times-date.d.cts.map +1 -1
  455. package/dist/actions/get-working-times-date.d.mts +24 -3
  456. package/dist/actions/get-working-times-date.d.mts.map +1 -1
  457. package/dist/actions/get-working-times-date.mjs +6 -6
  458. package/dist/actions/get-working-times-date.mjs.map +1 -1
  459. package/dist/actions/get-working-times.cjs +7 -7
  460. package/dist/actions/get-working-times.cjs.map +1 -1
  461. package/dist/actions/get-working-times.d.cts +26 -3
  462. package/dist/actions/get-working-times.d.cts.map +1 -1
  463. package/dist/actions/get-working-times.d.mts +26 -3
  464. package/dist/actions/get-working-times.d.mts.map +1 -1
  465. package/dist/actions/get-working-times.mjs +7 -7
  466. package/dist/actions/get-working-times.mjs.map +1 -1
  467. package/dist/actions/list-appointments.cjs +19 -19
  468. package/dist/actions/list-appointments.cjs.map +1 -1
  469. package/dist/actions/list-appointments.d.cts +76 -3
  470. package/dist/actions/list-appointments.d.cts.map +1 -1
  471. package/dist/actions/list-appointments.d.mts +76 -3
  472. package/dist/actions/list-appointments.d.mts.map +1 -1
  473. package/dist/actions/list-appointments.mjs +19 -19
  474. package/dist/actions/list-appointments.mjs.map +1 -1
  475. package/dist/actions/list-vouchers.cjs +19 -19
  476. package/dist/actions/list-vouchers.cjs.map +1 -1
  477. package/dist/actions/list-vouchers.d.cts +45 -3
  478. package/dist/actions/list-vouchers.d.cts.map +1 -1
  479. package/dist/actions/list-vouchers.d.mts +45 -3
  480. package/dist/actions/list-vouchers.d.mts.map +1 -1
  481. package/dist/actions/list-vouchers.mjs +19 -19
  482. package/dist/actions/list-vouchers.mjs.map +1 -1
  483. package/dist/actions/list-webhooks.cjs.map +1 -1
  484. package/dist/actions/list-webhooks.d.cts +7 -3
  485. package/dist/actions/list-webhooks.d.cts.map +1 -1
  486. package/dist/actions/list-webhooks.d.mts +7 -3
  487. package/dist/actions/list-webhooks.d.mts.map +1 -1
  488. package/dist/actions/list-webhooks.mjs.map +1 -1
  489. package/dist/actions/put-service.cjs +3 -3
  490. package/dist/actions/put-service.cjs.map +1 -1
  491. package/dist/actions/put-service.d.cts +239 -3
  492. package/dist/actions/put-service.d.cts.map +1 -1
  493. package/dist/actions/put-service.d.mts +239 -3
  494. package/dist/actions/put-service.d.mts.map +1 -1
  495. package/dist/actions/put-service.mjs +3 -3
  496. package/dist/actions/put-service.mjs.map +1 -1
  497. package/dist/actions/update-absence.cjs +3 -3
  498. package/dist/actions/update-absence.cjs.map +1 -1
  499. package/dist/actions/update-absence.d.cts +27 -3
  500. package/dist/actions/update-absence.d.cts.map +1 -1
  501. package/dist/actions/update-absence.d.mts +27 -3
  502. package/dist/actions/update-absence.d.mts.map +1 -1
  503. package/dist/actions/update-absence.mjs +3 -3
  504. package/dist/actions/update-absence.mjs.map +1 -1
  505. package/dist/actions/update-anchortime-by-date.cjs +2 -2
  506. package/dist/actions/update-anchortime-by-date.cjs.map +1 -1
  507. package/dist/actions/update-anchortime-by-date.d.cts +21 -3
  508. package/dist/actions/update-anchortime-by-date.d.cts.map +1 -1
  509. package/dist/actions/update-anchortime-by-date.d.mts +21 -3
  510. package/dist/actions/update-anchortime-by-date.d.mts.map +1 -1
  511. package/dist/actions/update-anchortime-by-date.mjs +2 -2
  512. package/dist/actions/update-anchortime-by-date.mjs.map +1 -1
  513. package/dist/actions/update-anchortime.cjs +4 -4
  514. package/dist/actions/update-anchortime.cjs.map +1 -1
  515. package/dist/actions/update-anchortime.d.cts +25 -3
  516. package/dist/actions/update-anchortime.d.cts.map +1 -1
  517. package/dist/actions/update-anchortime.d.mts +25 -3
  518. package/dist/actions/update-anchortime.d.mts.map +1 -1
  519. package/dist/actions/update-anchortime.mjs +4 -4
  520. package/dist/actions/update-anchortime.mjs.map +1 -1
  521. package/dist/actions/update-appointment.cjs +2 -2
  522. package/dist/actions/update-appointment.cjs.map +1 -1
  523. package/dist/actions/update-appointment.d.cts +121 -3
  524. package/dist/actions/update-appointment.d.cts.map +1 -1
  525. package/dist/actions/update-appointment.d.mts +121 -3
  526. package/dist/actions/update-appointment.d.mts.map +1 -1
  527. package/dist/actions/update-appointment.mjs +2 -2
  528. package/dist/actions/update-appointment.mjs.map +1 -1
  529. package/dist/actions/update-calendar-return-time.cjs +3 -3
  530. package/dist/actions/update-calendar-return-time.cjs.map +1 -1
  531. package/dist/actions/update-calendar-return-time.d.cts +25 -3
  532. package/dist/actions/update-calendar-return-time.d.cts.map +1 -1
  533. package/dist/actions/update-calendar-return-time.d.mts +25 -3
  534. package/dist/actions/update-calendar-return-time.d.mts.map +1 -1
  535. package/dist/actions/update-calendar-return-time.mjs +3 -3
  536. package/dist/actions/update-calendar-return-time.mjs.map +1 -1
  537. package/dist/actions/update-calendar.cjs +4 -4
  538. package/dist/actions/update-calendar.cjs.map +1 -1
  539. package/dist/actions/update-calendar.d.cts +35 -3
  540. package/dist/actions/update-calendar.d.cts.map +1 -1
  541. package/dist/actions/update-calendar.d.mts +35 -3
  542. package/dist/actions/update-calendar.d.mts.map +1 -1
  543. package/dist/actions/update-calendar.mjs +4 -4
  544. package/dist/actions/update-calendar.mjs.map +1 -1
  545. package/dist/actions/update-contact.cjs +5 -5
  546. package/dist/actions/update-contact.cjs.map +1 -1
  547. package/dist/actions/update-contact.d.cts +25 -3
  548. package/dist/actions/update-contact.d.cts.map +1 -1
  549. package/dist/actions/update-contact.d.mts +25 -3
  550. package/dist/actions/update-contact.d.mts.map +1 -1
  551. package/dist/actions/update-contact.mjs +5 -5
  552. package/dist/actions/update-contact.mjs.map +1 -1
  553. package/dist/actions/update-resource.cjs +4 -4
  554. package/dist/actions/update-resource.cjs.map +1 -1
  555. package/dist/actions/update-resource.d.cts +21 -3
  556. package/dist/actions/update-resource.d.cts.map +1 -1
  557. package/dist/actions/update-resource.d.mts +21 -3
  558. package/dist/actions/update-resource.d.mts.map +1 -1
  559. package/dist/actions/update-resource.mjs +4 -4
  560. package/dist/actions/update-resource.mjs.map +1 -1
  561. package/dist/actions/update-service-group.cjs +2 -2
  562. package/dist/actions/update-service-group.cjs.map +1 -1
  563. package/dist/actions/update-service-group.d.cts +61 -3
  564. package/dist/actions/update-service-group.d.cts.map +1 -1
  565. package/dist/actions/update-service-group.d.mts +61 -3
  566. package/dist/actions/update-service-group.d.mts.map +1 -1
  567. package/dist/actions/update-service-group.mjs +2 -2
  568. package/dist/actions/update-service-group.mjs.map +1 -1
  569. package/dist/actions/update-service.cjs.map +1 -1
  570. package/dist/actions/update-service.d.cts +21 -3
  571. package/dist/actions/update-service.d.cts.map +1 -1
  572. package/dist/actions/update-service.d.mts +21 -3
  573. package/dist/actions/update-service.d.mts.map +1 -1
  574. package/dist/actions/update-service.mjs.map +1 -1
  575. package/dist/actions/update-sync-appointment.cjs +3 -3
  576. package/dist/actions/update-sync-appointment.cjs.map +1 -1
  577. package/dist/actions/update-sync-appointment.d.cts +39 -3
  578. package/dist/actions/update-sync-appointment.d.cts.map +1 -1
  579. package/dist/actions/update-sync-appointment.d.mts +39 -3
  580. package/dist/actions/update-sync-appointment.d.mts.map +1 -1
  581. package/dist/actions/update-sync-appointment.mjs +3 -3
  582. package/dist/actions/update-sync-appointment.mjs.map +1 -1
  583. package/dist/actions/update-usermapping.cjs +2 -2
  584. package/dist/actions/update-usermapping.cjs.map +1 -1
  585. package/dist/actions/update-usermapping.d.cts +30 -3
  586. package/dist/actions/update-usermapping.d.cts.map +1 -1
  587. package/dist/actions/update-usermapping.d.mts +30 -3
  588. package/dist/actions/update-usermapping.d.mts.map +1 -1
  589. package/dist/actions/update-usermapping.mjs +2 -2
  590. package/dist/actions/update-usermapping.mjs.map +1 -1
  591. package/dist/actions/update-voucher.cjs +4 -4
  592. package/dist/actions/update-voucher.cjs.map +1 -1
  593. package/dist/actions/update-voucher.d.cts +19 -3
  594. package/dist/actions/update-voucher.d.cts.map +1 -1
  595. package/dist/actions/update-voucher.d.mts +19 -3
  596. package/dist/actions/update-voucher.d.mts.map +1 -1
  597. package/dist/actions/update-voucher.mjs +4 -4
  598. package/dist/actions/update-voucher.mjs.map +1 -1
  599. package/dist/actions/update-webhook.cjs +3 -3
  600. package/dist/actions/update-webhook.cjs.map +1 -1
  601. package/dist/actions/update-webhook.d.cts +17 -3
  602. package/dist/actions/update-webhook.d.cts.map +1 -1
  603. package/dist/actions/update-webhook.d.mts +17 -3
  604. package/dist/actions/update-webhook.d.mts.map +1 -1
  605. package/dist/actions/update-webhook.mjs +3 -3
  606. package/dist/actions/update-webhook.mjs.map +1 -1
  607. package/dist/actions/update-working-times-date.cjs +2 -2
  608. package/dist/actions/update-working-times-date.cjs.map +1 -1
  609. package/dist/actions/update-working-times-date.d.cts +39 -3
  610. package/dist/actions/update-working-times-date.d.cts.map +1 -1
  611. package/dist/actions/update-working-times-date.d.mts +39 -3
  612. package/dist/actions/update-working-times-date.d.mts.map +1 -1
  613. package/dist/actions/update-working-times-date.mjs +2 -2
  614. package/dist/actions/update-working-times-date.mjs.map +1 -1
  615. package/dist/actions/update-working-times.cjs +2 -2
  616. package/dist/actions/update-working-times.cjs.map +1 -1
  617. package/dist/actions/update-working-times.d.cts +61 -3
  618. package/dist/actions/update-working-times.d.cts.map +1 -1
  619. package/dist/actions/update-working-times.d.mts +61 -3
  620. package/dist/actions/update-working-times.d.mts.map +1 -1
  621. package/dist/actions/update-working-times.mjs +2 -2
  622. package/dist/actions/update-working-times.mjs.map +1 -1
  623. package/dist/catalog.cjs +24 -1
  624. package/dist/catalog.cjs.map +1 -1
  625. package/dist/catalog.d.cts +23 -0
  626. package/dist/catalog.d.mts +23 -0
  627. package/dist/catalog.mjs +24 -1
  628. package/dist/catalog.mjs.map +1 -1
  629. package/package.json +2 -2
@@ -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.ZodTypeAny = 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.ZodTypeAny = 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.\"),\n updated_webhook: z.object({}).describe(\"The updated webhook data returned by the API on success.\").nullable().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,4BAA0CA,IAAAA,EAAE,OAAO;CAC9D,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,6BAA2CA,IAAAA,EAAE,OAAO;CAC/D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,8GAA8G;CAC5I,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzH,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.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,9 +1,23 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/update-webhook.d.ts
4
- declare const EterminUpdateWebhookInput: z.ZodTypeAny;
5
- declare const EterminUpdateWebhookOutput: z.ZodTypeAny;
6
- declare const eterminUpdateWebhook: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const EterminUpdateWebhookInput: z.ZodObject<{
5
+ data: z.ZodObject<{}, z.core.$strip>;
6
+ webhookId: z.ZodString;
7
+ }, z.core.$strip>;
8
+ declare const EterminUpdateWebhookOutput: z.ZodObject<{
9
+ message: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
10
+ success: z.ZodNullable<z.ZodBoolean>;
11
+ updated_webhook: z.ZodPreprocess<z.ZodOptional<z.ZodObject<{}, z.core.$strip>>>;
12
+ }, z.core.$strip>;
13
+ declare const eterminUpdateWebhook: import("@keystrokehq/action").WorkflowActionDefinition<{
14
+ data: Record<string, never>;
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]>;
7
21
  //#endregion
8
22
  export { eterminUpdateWebhook };
9
23
  //# 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,EAA2B,CAAA,CAAE,UAG0Q;AAAA,cACvS,0BAAA,EAA4B,CAAA,CAAE,UAIgB;AAAA,cAE9C,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
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,9 +1,23 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/update-webhook.d.ts
4
- declare const EterminUpdateWebhookInput: z.ZodTypeAny;
5
- declare const EterminUpdateWebhookOutput: z.ZodTypeAny;
6
- declare const eterminUpdateWebhook: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const EterminUpdateWebhookInput: z.ZodObject<{
5
+ data: z.ZodObject<{}, z.core.$strip>;
6
+ webhookId: z.ZodString;
7
+ }, z.core.$strip>;
8
+ declare const EterminUpdateWebhookOutput: z.ZodObject<{
9
+ message: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
10
+ success: z.ZodNullable<z.ZodBoolean>;
11
+ updated_webhook: z.ZodPreprocess<z.ZodOptional<z.ZodObject<{}, z.core.$strip>>>;
12
+ }, z.core.$strip>;
13
+ declare const eterminUpdateWebhook: import("@keystrokehq/action").WorkflowActionDefinition<{
14
+ data: Record<string, never>;
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]>;
7
21
  //#endregion
8
22
  export { eterminUpdateWebhook };
9
23
  //# 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,EAA2B,CAAA,CAAE,UAG0Q;AAAA,cACvS,0BAAA,EAA4B,CAAA,CAAE,UAIgB;AAAA,cAE9C,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
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"}
@@ -9,9 +9,9 @@ const eterminUpdateWebhook = action("ETERMIN_UPDATE_WEBHOOK", {
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.string().describe("Status message or error description when applicable.").nullable().optional(),
13
- success: z.boolean().describe("Whether the update was successful. False indicates the API does not support webhook updates for this tenant."),
14
- updated_webhook: z.object({}).describe("The updated webhook data returned by the API on success.").nullable().optional()
12
+ message: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Status message or error description when applicable.").optional()),
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
15
  }).describe("Response model for webhook update operation.")
16
16
  });
17
17
  //#endregion
@@ -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.ZodTypeAny = 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.ZodTypeAny = 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.\"),\n updated_webhook: z.object({}).describe(\"The updated webhook data returned by the API on success.\").nullable().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,OAdqD,EAAE,OAAO;EAC9D,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,kRAAkR;EAC9S,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,oGAAoG;CACrI,CAAC,CAAC,CAAC,SAAS,uSAWH;CACP,QAXsD,EAAE,OAAO;EAC/D,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzG,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,8GAA8G;EAC5I,iBAAiB,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzH,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.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"}
@@ -18,8 +18,8 @@ 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.number().describe("HTTP status code of the response").nullable().optional(),
22
- statusmsg: zod.z.string().describe("Status message from the API").nullable().optional()
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
23
  }).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",
@@ -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.ZodTypeAny = 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.ZodTypeAny = 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}).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,qCAAmDA,IAAAA,EAAE,OAAO;CACvE,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,sCAAoDA,IAAAA,EAAE,OAAO;CACxE,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,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.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,9 +1,45 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/update-working-times-date.d.ts
4
- declare const EterminUpdateWorkingTimesDateInput: z.ZodTypeAny;
5
- declare const EterminUpdateWorkingTimesDateOutput: z.ZodTypeAny;
6
- declare const eterminUpdateWorkingTimesDate: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const EterminUpdateWorkingTimesDateInput: z.ZodObject<{
5
+ id: z.ZodNumber;
6
+ end: z.ZodString;
7
+ start: z.ZodString;
8
+ nrapps: z.ZodOptional<z.ZodNumber>;
9
+ oneoff: z.ZodOptional<z.ZodBoolean>;
10
+ reason: z.ZodOptional<z.ZodString>;
11
+ slottype: z.ZodOptional<z.ZodNumber>;
12
+ calendarid: z.ZodNumber;
13
+ locationid: z.ZodOptional<z.ZodNumber>;
14
+ oneoffcode: z.ZodOptional<z.ZodString>;
15
+ waitinglist: z.ZodOptional<z.ZodBoolean>;
16
+ overwriteday: z.ZodOptional<z.ZodBoolean>;
17
+ validwithserviceid: z.ZodOptional<z.ZodString>;
18
+ allserviceidsrequired: z.ZodOptional<z.ZodNumber>;
19
+ }, z.core.$strip>;
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>;
24
+ declare const eterminUpdateWorkingTimesDate: import("@keystrokehq/action").WorkflowActionDefinition<{
25
+ id: number;
26
+ end: string;
27
+ start: string;
28
+ calendarid: number;
29
+ nrapps?: number | undefined;
30
+ oneoff?: boolean | undefined;
31
+ reason?: string | undefined;
32
+ slottype?: number | undefined;
33
+ locationid?: number | undefined;
34
+ oneoffcode?: string | undefined;
35
+ waitinglist?: boolean | undefined;
36
+ overwriteday?: boolean | undefined;
37
+ validwithserviceid?: string | undefined;
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]>;
7
43
  //#endregion
8
44
  export { eterminUpdateWorkingTimesDate };
9
45
  //# sourceMappingURL=update-working-times-date.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-working-times-date.d.cts","names":[],"sources":["../../src/actions/update-working-times-date.ts"],"mappings":";;;cAIa,kCAAA,EAAoC,CAAA,CAAE,UAeqB;AAAA,cAC3D,mCAAA,EAAqC,CAAA,CAAE,UAGU;AAAA,cAEjD,6BAAA,gCAA6B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"update-working-times-date.d.cts","names":[],"sources":["../../src/actions/update-working-times-date.ts"],"mappings":";;;cAIa,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAgBlC,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;cAKnC,6BAAA,gCAA6B,wBAAA"}
@@ -1,9 +1,45 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/update-working-times-date.d.ts
4
- declare const EterminUpdateWorkingTimesDateInput: z.ZodTypeAny;
5
- declare const EterminUpdateWorkingTimesDateOutput: z.ZodTypeAny;
6
- declare const eterminUpdateWorkingTimesDate: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const EterminUpdateWorkingTimesDateInput: z.ZodObject<{
5
+ id: z.ZodNumber;
6
+ end: z.ZodString;
7
+ start: z.ZodString;
8
+ nrapps: z.ZodOptional<z.ZodNumber>;
9
+ oneoff: z.ZodOptional<z.ZodBoolean>;
10
+ reason: z.ZodOptional<z.ZodString>;
11
+ slottype: z.ZodOptional<z.ZodNumber>;
12
+ calendarid: z.ZodNumber;
13
+ locationid: z.ZodOptional<z.ZodNumber>;
14
+ oneoffcode: z.ZodOptional<z.ZodString>;
15
+ waitinglist: z.ZodOptional<z.ZodBoolean>;
16
+ overwriteday: z.ZodOptional<z.ZodBoolean>;
17
+ validwithserviceid: z.ZodOptional<z.ZodString>;
18
+ allserviceidsrequired: z.ZodOptional<z.ZodNumber>;
19
+ }, z.core.$strip>;
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>;
24
+ declare const eterminUpdateWorkingTimesDate: import("@keystrokehq/action").WorkflowActionDefinition<{
25
+ id: number;
26
+ end: string;
27
+ start: string;
28
+ calendarid: number;
29
+ nrapps?: number | undefined;
30
+ oneoff?: boolean | undefined;
31
+ reason?: string | undefined;
32
+ slottype?: number | undefined;
33
+ locationid?: number | undefined;
34
+ oneoffcode?: string | undefined;
35
+ waitinglist?: boolean | undefined;
36
+ overwriteday?: boolean | undefined;
37
+ validwithserviceid?: string | undefined;
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]>;
7
43
  //#endregion
8
44
  export { eterminUpdateWorkingTimesDate };
9
45
  //# sourceMappingURL=update-working-times-date.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-working-times-date.d.mts","names":[],"sources":["../../src/actions/update-working-times-date.ts"],"mappings":";;;cAIa,kCAAA,EAAoC,CAAA,CAAE,UAeqB;AAAA,cAC3D,mCAAA,EAAqC,CAAA,CAAE,UAGU;AAAA,cAEjD,6BAAA,gCAA6B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"update-working-times-date.d.mts","names":[],"sources":["../../src/actions/update-working-times-date.ts"],"mappings":";;;cAIa,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAgBlC,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;cAKnC,6BAAA,gCAA6B,wBAAA"}
@@ -21,8 +21,8 @@ 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.number().describe("HTTP status code of the response").nullable().optional(),
25
- statusmsg: z.string().describe("Status message from the API").nullable().optional()
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
26
  }).describe("Response model for updating working times date.")
27
27
  });
28
28
  //#endregion
@@ -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.ZodTypeAny = 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.ZodTypeAny = 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}).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,OAzB8D,EAAE,OAAO;EACvE,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,QAV+D,EAAE,OAAO;EACxE,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,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.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"}
@@ -38,8 +38,8 @@ 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.number().int().describe("HTTP status code of the response").nullable().optional(),
42
- statusmsg: zod.z.string().describe("Status message from the API").nullable().optional()
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
43
  }).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",
@@ -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.ZodTypeAny = 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.ZodTypeAny = 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}).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,iCAA+CA,IAAAA,EAAE,OAAO;CACnE,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,kCAAgDA,IAAAA,EAAE,OAAO;CACpE,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,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.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,9 +1,67 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/update-working-times.d.ts
4
- declare const EterminUpdateWorkingTimesInput: z.ZodTypeAny;
5
- declare const EterminUpdateWorkingTimesOutput: z.ZodTypeAny;
6
- declare const eterminUpdateWorkingTimes: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const EterminUpdateWorkingTimesInput: z.ZodObject<{
5
+ id: z.ZodNumber;
6
+ end: z.ZodOptional<z.ZodString>;
7
+ start: z.ZodOptional<z.ZodString>;
8
+ enable: z.ZodOptional<z.ZodNumber>;
9
+ nrapps: z.ZodOptional<z.ZodNumber>;
10
+ weekday: z.ZodOptional<z.ZodString>;
11
+ slottype: z.ZodOptional<z.ZodEnum<{
12
+ internal_and_external: "internal_and_external";
13
+ internal_only: "internal_only";
14
+ }>>;
15
+ weektype: z.ZodOptional<z.ZodEnum<{
16
+ every_week: "every_week";
17
+ odd_weeks: "odd_weeks";
18
+ even_weeks: "even_weeks";
19
+ first_occurrence: "first_occurrence";
20
+ second_occurrence: "second_occurrence";
21
+ third_occurrence: "third_occurrence";
22
+ fourth_occurrence: "fourth_occurrence";
23
+ every_3_weeks_first: "every_3_weeks_first";
24
+ every_3_weeks_second: "every_3_weeks_second";
25
+ every_3_weeks_third: "every_3_weeks_third";
26
+ fifth_occurrence: "fifth_occurrence";
27
+ every_4_weeks_first: "every_4_weeks_first";
28
+ every_4_weeks_second: "every_4_weeks_second";
29
+ every_4_weeks_third: "every_4_weeks_third";
30
+ every_4_weeks_fourth: "every_4_weeks_fourth";
31
+ }>>;
32
+ calendarid: z.ZodOptional<z.ZodNumber>;
33
+ locationid: z.ZodOptional<z.ZodNumber>;
34
+ calendarintervalid: z.ZodOptional<z.ZodNumber>;
35
+ validwithserviceid: z.ZodOptional<z.ZodString>;
36
+ allserviceidsrequired: z.ZodOptional<z.ZodEnum<{
37
+ one_required: "one_required";
38
+ all_exclusive: "all_exclusive";
39
+ all_required: "all_required";
40
+ one_exclusive: "one_exclusive";
41
+ }>>;
42
+ }, z.core.$strip>;
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>;
47
+ declare const eterminUpdateWorkingTimes: import("@keystrokehq/action").WorkflowActionDefinition<{
48
+ id: number;
49
+ end?: string | undefined;
50
+ start?: string | undefined;
51
+ enable?: number | undefined;
52
+ nrapps?: number | undefined;
53
+ weekday?: string | undefined;
54
+ slottype?: "internal_and_external" | "internal_only" | undefined;
55
+ weektype?: "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" | undefined;
56
+ calendarid?: number | undefined;
57
+ locationid?: number | undefined;
58
+ calendarintervalid?: number | undefined;
59
+ validwithserviceid?: string | undefined;
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]>;
7
65
  //#endregion
8
66
  export { eterminUpdateWorkingTimes };
9
67
  //# sourceMappingURL=update-working-times.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-working-times.d.cts","names":[],"sources":["../../src/actions/update-working-times.ts"],"mappings":";;;cAIa,8BAAA,EAAgC,CAAA,CAAE,UAcoB;AAAA,cACtD,+BAAA,EAAiC,CAAA,CAAE,UAGS;AAAA,cAE5C,yBAAA,gCAAyB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"update-working-times.d.cts","names":[],"sources":["../../src/actions/update-working-times.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAe9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;cAK/B,yBAAA,gCAAyB,wBAAA"}
@@ -1,9 +1,67 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/update-working-times.d.ts
4
- declare const EterminUpdateWorkingTimesInput: z.ZodTypeAny;
5
- declare const EterminUpdateWorkingTimesOutput: z.ZodTypeAny;
6
- declare const eterminUpdateWorkingTimes: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const EterminUpdateWorkingTimesInput: z.ZodObject<{
5
+ id: z.ZodNumber;
6
+ end: z.ZodOptional<z.ZodString>;
7
+ start: z.ZodOptional<z.ZodString>;
8
+ enable: z.ZodOptional<z.ZodNumber>;
9
+ nrapps: z.ZodOptional<z.ZodNumber>;
10
+ weekday: z.ZodOptional<z.ZodString>;
11
+ slottype: z.ZodOptional<z.ZodEnum<{
12
+ internal_and_external: "internal_and_external";
13
+ internal_only: "internal_only";
14
+ }>>;
15
+ weektype: z.ZodOptional<z.ZodEnum<{
16
+ every_week: "every_week";
17
+ odd_weeks: "odd_weeks";
18
+ even_weeks: "even_weeks";
19
+ first_occurrence: "first_occurrence";
20
+ second_occurrence: "second_occurrence";
21
+ third_occurrence: "third_occurrence";
22
+ fourth_occurrence: "fourth_occurrence";
23
+ every_3_weeks_first: "every_3_weeks_first";
24
+ every_3_weeks_second: "every_3_weeks_second";
25
+ every_3_weeks_third: "every_3_weeks_third";
26
+ fifth_occurrence: "fifth_occurrence";
27
+ every_4_weeks_first: "every_4_weeks_first";
28
+ every_4_weeks_second: "every_4_weeks_second";
29
+ every_4_weeks_third: "every_4_weeks_third";
30
+ every_4_weeks_fourth: "every_4_weeks_fourth";
31
+ }>>;
32
+ calendarid: z.ZodOptional<z.ZodNumber>;
33
+ locationid: z.ZodOptional<z.ZodNumber>;
34
+ calendarintervalid: z.ZodOptional<z.ZodNumber>;
35
+ validwithserviceid: z.ZodOptional<z.ZodString>;
36
+ allserviceidsrequired: z.ZodOptional<z.ZodEnum<{
37
+ one_required: "one_required";
38
+ all_exclusive: "all_exclusive";
39
+ all_required: "all_required";
40
+ one_exclusive: "one_exclusive";
41
+ }>>;
42
+ }, z.core.$strip>;
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>;
47
+ declare const eterminUpdateWorkingTimes: import("@keystrokehq/action").WorkflowActionDefinition<{
48
+ id: number;
49
+ end?: string | undefined;
50
+ start?: string | undefined;
51
+ enable?: number | undefined;
52
+ nrapps?: number | undefined;
53
+ weekday?: string | undefined;
54
+ slottype?: "internal_and_external" | "internal_only" | undefined;
55
+ weektype?: "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" | undefined;
56
+ calendarid?: number | undefined;
57
+ locationid?: number | undefined;
58
+ calendarintervalid?: number | undefined;
59
+ validwithserviceid?: string | undefined;
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]>;
7
65
  //#endregion
8
66
  export { eterminUpdateWorkingTimes };
9
67
  //# sourceMappingURL=update-working-times.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-working-times.d.mts","names":[],"sources":["../../src/actions/update-working-times.ts"],"mappings":";;;cAIa,8BAAA,EAAgC,CAAA,CAAE,UAcoB;AAAA,cACtD,+BAAA,EAAiC,CAAA,CAAE,UAGS;AAAA,cAE5C,yBAAA,gCAAyB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"update-working-times.d.mts","names":[],"sources":["../../src/actions/update-working-times.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAe9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;cAK/B,yBAAA,gCAAyB,wBAAA"}
@@ -41,8 +41,8 @@ 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.number().int().describe("HTTP status code of the response").nullable().optional(),
45
- statusmsg: z.string().describe("Status message from the API").nullable().optional()
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
46
  }).describe("Response model for updating working times.")
47
47
  });
48
48
  //#endregion
@@ -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.ZodTypeAny = 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.ZodTypeAny = 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}).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,OAxB0D,EAAE,OAAO;EACnE,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,QAV2D,EAAE,OAAO;EACpE,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,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.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"}
package/dist/catalog.cjs CHANGED
@@ -7,7 +7,30 @@ const eterminCatalog = {
7
7
  "category": "Scheduling & Booking",
8
8
  "logo": "https://logos.composio.dev/api/etermin",
9
9
  "authKind": "keystroke",
10
- "oauthScopes": []
10
+ "oauthScopes": [],
11
+ "credentialFields": {
12
+ "bearer_token": {
13
+ "label": "Signature",
14
+ "secret": true,
15
+ "description": "The base64-encoded HMAC-SHA256 hash of the salt, using the private key as the key. Calculated per request."
16
+ },
17
+ "api_key": {
18
+ "label": "Public API Key",
19
+ "secret": true,
20
+ "description": "The public API key for your eTermin account. You can find this in the eTermin API settings."
21
+ },
22
+ "generic_secret": {
23
+ "label": "Private API Key (Secret Key)",
24
+ "secret": true,
25
+ "description": "The private API key (secret key) for your eTermin account. This key is used to sign each API request."
26
+ },
27
+ "generic_id": {
28
+ "label": "Salt",
29
+ "secret": true,
30
+ "description": "A randomly generated string used to create the signature for each request. Must be regenerated for every API request."
31
+ }
32
+ },
33
+ "credentialScheme": "API_KEY"
11
34
  };
12
35
  //#endregion
13
36
  exports.eterminCatalog = eterminCatalog;
@@ -1 +1 @@
1
- {"version":3,"file":"catalog.cjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const eterminCatalog = {\n \"slug\": \"etermin\",\n \"name\": \"Etermin\",\n \"description\": \"eTermin is an online appointment scheduling platform that allows businesses to manage bookings and integrate with various applications through its REST API.\",\n \"category\": \"Scheduling & Booking\",\n \"logo\": \"https://logos.composio.dev/api/etermin\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": []\n} as const;\n"],"mappings":";;AACA,MAAa,iBAAiB;CAC5B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;AAClB"}
1
+ {"version":3,"file":"catalog.cjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const eterminCatalog = {\n \"slug\": \"etermin\",\n \"name\": \"Etermin\",\n \"description\": \"eTermin is an online appointment scheduling platform that allows businesses to manage bookings and integrate with various applications through its REST API.\",\n \"category\": \"Scheduling & Booking\",\n \"logo\": \"https://logos.composio.dev/api/etermin\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"bearer_token\": {\n \"label\": \"Signature\",\n \"secret\": true,\n \"description\": \"The base64-encoded HMAC-SHA256 hash of the salt, using the private key as the key. Calculated per request.\"\n },\n \"api_key\": {\n \"label\": \"Public API Key\",\n \"secret\": true,\n \"description\": \"The public API key for your eTermin account. You can find this in the eTermin API settings.\"\n },\n \"generic_secret\": {\n \"label\": \"Private API Key (Secret Key)\",\n \"secret\": true,\n \"description\": \"The private API key (secret key) for your eTermin account. This key is used to sign each API request.\"\n },\n \"generic_id\": {\n \"label\": \"Salt\",\n \"secret\": true,\n \"description\": \"A randomly generated string used to create the signature for each request. Must be regenerated for every API request.\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,iBAAiB;CAC5B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB;EAClB,gBAAgB;GACd,SAAS;GACT,UAAU;GACV,eAAe;EACjB;EACA,WAAW;GACT,SAAS;GACT,UAAU;GACV,eAAe;EACjB;EACA,kBAAkB;GAChB,SAAS;GACT,UAAU;GACV,eAAe;EACjB;EACA,cAAc;GACZ,SAAS;GACT,UAAU;GACV,eAAe;EACjB;CACF;CACA,oBAAoB;AACtB"}