@keystrokehq/etermin 0.1.1 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (457) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/assign-calendar-service.cjs +3 -3
  4. package/dist/actions/assign-calendar-service.cjs.map +1 -1
  5. package/dist/actions/assign-calendar-service.d.cts +4 -8
  6. package/dist/actions/assign-calendar-service.d.mts +4 -8
  7. package/dist/actions/assign-calendar-service.mjs +3 -3
  8. package/dist/actions/assign-calendar-service.mjs.map +1 -1
  9. package/dist/actions/create-absence.cjs +3 -3
  10. package/dist/actions/create-absence.cjs.map +1 -1
  11. package/dist/actions/create-absence.d.cts +4 -9
  12. package/dist/actions/create-absence.d.mts +4 -9
  13. package/dist/actions/create-absence.mjs +3 -3
  14. package/dist/actions/create-absence.mjs.map +1 -1
  15. package/dist/actions/create-anchortime-by-date.d.cts +1 -4
  16. package/dist/actions/create-anchortime-by-date.d.mts +1 -4
  17. package/dist/actions/create-anchortime.d.cts +2 -5
  18. package/dist/actions/create-anchortime.d.mts +2 -5
  19. package/dist/actions/create-appointment-sync.cjs +1 -1
  20. package/dist/actions/create-appointment-sync.cjs.map +1 -1
  21. package/dist/actions/create-appointment-sync.d.cts +2 -6
  22. package/dist/actions/create-appointment-sync.d.mts +2 -6
  23. package/dist/actions/create-appointment-sync.mjs +1 -1
  24. package/dist/actions/create-appointment-sync.mjs.map +1 -1
  25. package/dist/actions/create-appointment.cjs +6 -6
  26. package/dist/actions/create-appointment.cjs.map +1 -1
  27. package/dist/actions/create-appointment.d.cts +7 -14
  28. package/dist/actions/create-appointment.d.mts +7 -14
  29. package/dist/actions/create-appointment.mjs +6 -6
  30. package/dist/actions/create-appointment.mjs.map +1 -1
  31. package/dist/actions/create-calendar-return-time.cjs +1 -1
  32. package/dist/actions/create-calendar-return-time.cjs.map +1 -1
  33. package/dist/actions/create-calendar-return-time.d.cts +3 -7
  34. package/dist/actions/create-calendar-return-time.d.mts +3 -7
  35. package/dist/actions/create-calendar-return-time.mjs +1 -1
  36. package/dist/actions/create-calendar-return-time.mjs.map +1 -1
  37. package/dist/actions/create-contact.d.cts +1 -7
  38. package/dist/actions/create-contact.d.mts +1 -7
  39. package/dist/actions/create-service-group.cjs +3 -3
  40. package/dist/actions/create-service-group.cjs.map +1 -1
  41. package/dist/actions/create-service-group.d.cts +4 -8
  42. package/dist/actions/create-service-group.d.mts +4 -8
  43. package/dist/actions/create-service-group.mjs +3 -3
  44. package/dist/actions/create-service-group.mjs.map +1 -1
  45. package/dist/actions/create-service.cjs +3 -3
  46. package/dist/actions/create-service.cjs.map +1 -1
  47. package/dist/actions/create-service.d.cts +4 -8
  48. package/dist/actions/create-service.d.mts +4 -8
  49. package/dist/actions/create-service.mjs +3 -3
  50. package/dist/actions/create-service.mjs.map +1 -1
  51. package/dist/actions/create-user.cjs +1 -1
  52. package/dist/actions/create-user.cjs.map +1 -1
  53. package/dist/actions/create-user.d.cts +2 -6
  54. package/dist/actions/create-user.d.mts +2 -6
  55. package/dist/actions/create-user.mjs +1 -1
  56. package/dist/actions/create-user.mjs.map +1 -1
  57. package/dist/actions/create-usermapping.cjs +3 -3
  58. package/dist/actions/create-usermapping.cjs.map +1 -1
  59. package/dist/actions/create-usermapping.d.cts +4 -8
  60. package/dist/actions/create-usermapping.d.mts +4 -8
  61. package/dist/actions/create-usermapping.mjs +3 -3
  62. package/dist/actions/create-usermapping.mjs.map +1 -1
  63. package/dist/actions/create-voucher.cjs +2 -2
  64. package/dist/actions/create-voucher.cjs.map +1 -1
  65. package/dist/actions/create-voucher.d.cts +3 -12
  66. package/dist/actions/create-voucher.d.mts +3 -12
  67. package/dist/actions/create-voucher.mjs +2 -2
  68. package/dist/actions/create-voucher.mjs.map +1 -1
  69. package/dist/actions/create-webhook.cjs +2 -2
  70. package/dist/actions/create-webhook.cjs.map +1 -1
  71. package/dist/actions/create-webhook.d.cts +3 -8
  72. package/dist/actions/create-webhook.d.cts.map +1 -1
  73. package/dist/actions/create-webhook.d.mts +3 -8
  74. package/dist/actions/create-webhook.d.mts.map +1 -1
  75. package/dist/actions/create-webhook.mjs +2 -2
  76. package/dist/actions/create-webhook.mjs.map +1 -1
  77. package/dist/actions/create-working-time.d.cts +1 -4
  78. package/dist/actions/create-working-time.d.mts +1 -4
  79. package/dist/actions/create-working-times-date.cjs +3 -3
  80. package/dist/actions/create-working-times-date.cjs.map +1 -1
  81. package/dist/actions/create-working-times-date.d.cts +4 -8
  82. package/dist/actions/create-working-times-date.d.mts +4 -8
  83. package/dist/actions/create-working-times-date.mjs +3 -3
  84. package/dist/actions/create-working-times-date.mjs.map +1 -1
  85. package/dist/actions/delete-absence.cjs +1 -1
  86. package/dist/actions/delete-absence.cjs.map +1 -1
  87. package/dist/actions/delete-absence.d.cts +2 -6
  88. package/dist/actions/delete-absence.d.mts +2 -6
  89. package/dist/actions/delete-absence.mjs +1 -1
  90. package/dist/actions/delete-absence.mjs.map +1 -1
  91. package/dist/actions/delete-anchortime-by-date.cjs +2 -2
  92. package/dist/actions/delete-anchortime-by-date.cjs.map +1 -1
  93. package/dist/actions/delete-anchortime-by-date.d.cts +3 -7
  94. package/dist/actions/delete-anchortime-by-date.d.cts.map +1 -1
  95. package/dist/actions/delete-anchortime-by-date.d.mts +3 -7
  96. package/dist/actions/delete-anchortime-by-date.d.mts.map +1 -1
  97. package/dist/actions/delete-anchortime-by-date.mjs +2 -2
  98. package/dist/actions/delete-anchortime-by-date.mjs.map +1 -1
  99. package/dist/actions/delete-anchortime.cjs +1 -1
  100. package/dist/actions/delete-anchortime.cjs.map +1 -1
  101. package/dist/actions/delete-anchortime.d.cts +2 -5
  102. package/dist/actions/delete-anchortime.d.mts +2 -5
  103. package/dist/actions/delete-anchortime.mjs +1 -1
  104. package/dist/actions/delete-anchortime.mjs.map +1 -1
  105. package/dist/actions/delete-appointment-sync.cjs +1 -1
  106. package/dist/actions/delete-appointment-sync.cjs.map +1 -1
  107. package/dist/actions/delete-appointment-sync.d.cts +2 -6
  108. package/dist/actions/delete-appointment-sync.d.mts +2 -6
  109. package/dist/actions/delete-appointment-sync.mjs +1 -1
  110. package/dist/actions/delete-appointment-sync.mjs.map +1 -1
  111. package/dist/actions/delete-appointment.cjs +2 -2
  112. package/dist/actions/delete-appointment.cjs.map +1 -1
  113. package/dist/actions/delete-appointment.d.cts +3 -7
  114. package/dist/actions/delete-appointment.d.cts.map +1 -1
  115. package/dist/actions/delete-appointment.d.mts +3 -7
  116. package/dist/actions/delete-appointment.d.mts.map +1 -1
  117. package/dist/actions/delete-appointment.mjs +2 -2
  118. package/dist/actions/delete-appointment.mjs.map +1 -1
  119. package/dist/actions/delete-calendar-return-time.cjs +1 -1
  120. package/dist/actions/delete-calendar-return-time.cjs.map +1 -1
  121. package/dist/actions/delete-calendar-return-time.d.cts +2 -5
  122. package/dist/actions/delete-calendar-return-time.d.mts +2 -5
  123. package/dist/actions/delete-calendar-return-time.mjs +1 -1
  124. package/dist/actions/delete-calendar-return-time.mjs.map +1 -1
  125. package/dist/actions/delete-calendar-service.cjs +1 -1
  126. package/dist/actions/delete-calendar-service.cjs.map +1 -1
  127. package/dist/actions/delete-calendar-service.d.cts +2 -5
  128. package/dist/actions/delete-calendar-service.d.mts +2 -5
  129. package/dist/actions/delete-calendar-service.mjs +1 -1
  130. package/dist/actions/delete-calendar-service.mjs.map +1 -1
  131. package/dist/actions/delete-calendar.cjs +1 -1
  132. package/dist/actions/delete-calendar.cjs.map +1 -1
  133. package/dist/actions/delete-calendar.d.cts +2 -6
  134. package/dist/actions/delete-calendar.d.mts +2 -6
  135. package/dist/actions/delete-calendar.mjs +1 -1
  136. package/dist/actions/delete-calendar.mjs.map +1 -1
  137. package/dist/actions/delete-contact.cjs +1 -1
  138. package/dist/actions/delete-contact.cjs.map +1 -1
  139. package/dist/actions/delete-contact.d.cts +2 -5
  140. package/dist/actions/delete-contact.d.mts +2 -5
  141. package/dist/actions/delete-contact.mjs +1 -1
  142. package/dist/actions/delete-contact.mjs.map +1 -1
  143. package/dist/actions/delete-resource.cjs +1 -1
  144. package/dist/actions/delete-resource.cjs.map +1 -1
  145. package/dist/actions/delete-resource.d.cts +2 -7
  146. package/dist/actions/delete-resource.d.mts +2 -7
  147. package/dist/actions/delete-resource.mjs +1 -1
  148. package/dist/actions/delete-resource.mjs.map +1 -1
  149. package/dist/actions/delete-service.cjs +3 -3
  150. package/dist/actions/delete-service.cjs.map +1 -1
  151. package/dist/actions/delete-service.d.cts +4 -8
  152. package/dist/actions/delete-service.d.mts +4 -8
  153. package/dist/actions/delete-service.mjs +3 -3
  154. package/dist/actions/delete-service.mjs.map +1 -1
  155. package/dist/actions/delete-servicegroup.cjs +2 -2
  156. package/dist/actions/delete-servicegroup.cjs.map +1 -1
  157. package/dist/actions/delete-servicegroup.d.cts +3 -6
  158. package/dist/actions/delete-servicegroup.d.mts +3 -6
  159. package/dist/actions/delete-servicegroup.mjs +2 -2
  160. package/dist/actions/delete-servicegroup.mjs.map +1 -1
  161. package/dist/actions/delete-user.cjs +1 -1
  162. package/dist/actions/delete-user.cjs.map +1 -1
  163. package/dist/actions/delete-user.d.cts +2 -5
  164. package/dist/actions/delete-user.d.mts +2 -5
  165. package/dist/actions/delete-user.mjs +1 -1
  166. package/dist/actions/delete-user.mjs.map +1 -1
  167. package/dist/actions/delete-usermapping.cjs +2 -2
  168. package/dist/actions/delete-usermapping.cjs.map +1 -1
  169. package/dist/actions/delete-usermapping.d.cts +3 -6
  170. package/dist/actions/delete-usermapping.d.mts +3 -6
  171. package/dist/actions/delete-usermapping.mjs +2 -2
  172. package/dist/actions/delete-usermapping.mjs.map +1 -1
  173. package/dist/actions/delete-voucher.cjs +1 -1
  174. package/dist/actions/delete-voucher.cjs.map +1 -1
  175. package/dist/actions/delete-voucher.d.cts +2 -5
  176. package/dist/actions/delete-voucher.d.mts +2 -5
  177. package/dist/actions/delete-voucher.mjs +1 -1
  178. package/dist/actions/delete-voucher.mjs.map +1 -1
  179. package/dist/actions/delete-webhook.cjs +2 -2
  180. package/dist/actions/delete-webhook.cjs.map +1 -1
  181. package/dist/actions/delete-webhook.d.cts +3 -6
  182. package/dist/actions/delete-webhook.d.mts +3 -6
  183. package/dist/actions/delete-webhook.mjs +2 -2
  184. package/dist/actions/delete-webhook.mjs.map +1 -1
  185. package/dist/actions/delete-working-times-date.cjs +2 -2
  186. package/dist/actions/delete-working-times-date.cjs.map +1 -1
  187. package/dist/actions/delete-working-times-date.d.cts +3 -6
  188. package/dist/actions/delete-working-times-date.d.mts +3 -6
  189. package/dist/actions/delete-working-times-date.mjs +2 -2
  190. package/dist/actions/delete-working-times-date.mjs.map +1 -1
  191. package/dist/actions/delete-working-times.cjs +2 -2
  192. package/dist/actions/delete-working-times.cjs.map +1 -1
  193. package/dist/actions/delete-working-times.d.cts +3 -6
  194. package/dist/actions/delete-working-times.d.mts +3 -6
  195. package/dist/actions/delete-working-times.mjs +2 -2
  196. package/dist/actions/delete-working-times.mjs.map +1 -1
  197. package/dist/actions/get-absences.cjs +7 -7
  198. package/dist/actions/get-absences.cjs.map +1 -1
  199. package/dist/actions/get-absences.d.cts +8 -18
  200. package/dist/actions/get-absences.d.mts +8 -18
  201. package/dist/actions/get-absences.mjs +7 -7
  202. package/dist/actions/get-absences.mjs.map +1 -1
  203. package/dist/actions/get-anchortime-date.cjs +5 -5
  204. package/dist/actions/get-anchortime-date.cjs.map +1 -1
  205. package/dist/actions/get-anchortime-date.d.cts +6 -15
  206. package/dist/actions/get-anchortime-date.d.mts +6 -15
  207. package/dist/actions/get-anchortime-date.mjs +5 -5
  208. package/dist/actions/get-anchortime-date.mjs.map +1 -1
  209. package/dist/actions/get-anchortimes.cjs +5 -5
  210. package/dist/actions/get-anchortimes.cjs.map +1 -1
  211. package/dist/actions/get-anchortimes.d.cts +6 -15
  212. package/dist/actions/get-anchortimes.d.mts +6 -15
  213. package/dist/actions/get-anchortimes.mjs +5 -5
  214. package/dist/actions/get-anchortimes.mjs.map +1 -1
  215. package/dist/actions/get-appointment-sync.cjs +73 -73
  216. package/dist/actions/get-appointment-sync.cjs.map +1 -1
  217. package/dist/actions/get-appointment-sync.d.cts +74 -151
  218. package/dist/actions/get-appointment-sync.d.mts +74 -151
  219. package/dist/actions/get-appointment-sync.mjs +73 -73
  220. package/dist/actions/get-appointment-sync.mjs.map +1 -1
  221. package/dist/actions/get-bookingpage-logs.cjs +5 -5
  222. package/dist/actions/get-bookingpage-logs.cjs.map +1 -1
  223. package/dist/actions/get-bookingpage-logs.d.cts +6 -14
  224. package/dist/actions/get-bookingpage-logs.d.mts +6 -14
  225. package/dist/actions/get-bookingpage-logs.mjs +5 -5
  226. package/dist/actions/get-bookingpage-logs.mjs.map +1 -1
  227. package/dist/actions/get-calendar-return-time.cjs +9 -9
  228. package/dist/actions/get-calendar-return-time.cjs.map +1 -1
  229. package/dist/actions/get-calendar-return-time.d.cts +10 -22
  230. package/dist/actions/get-calendar-return-time.d.mts +10 -22
  231. package/dist/actions/get-calendar-return-time.mjs +9 -9
  232. package/dist/actions/get-calendar-return-time.mjs.map +1 -1
  233. package/dist/actions/get-calendars.cjs +5 -5
  234. package/dist/actions/get-calendars.cjs.map +1 -1
  235. package/dist/actions/get-calendars.d.cts +6 -17
  236. package/dist/actions/get-calendars.d.cts.map +1 -1
  237. package/dist/actions/get-calendars.d.mts +6 -17
  238. package/dist/actions/get-calendars.d.mts.map +1 -1
  239. package/dist/actions/get-calendars.mjs +5 -5
  240. package/dist/actions/get-calendars.mjs.map +1 -1
  241. package/dist/actions/get-calendarservice.cjs +3 -3
  242. package/dist/actions/get-calendarservice.cjs.map +1 -1
  243. package/dist/actions/get-calendarservice.d.cts +4 -11
  244. package/dist/actions/get-calendarservice.d.mts +4 -11
  245. package/dist/actions/get-calendarservice.mjs +3 -3
  246. package/dist/actions/get-calendarservice.mjs.map +1 -1
  247. package/dist/actions/get-company.cjs +19 -19
  248. package/dist/actions/get-company.cjs.map +1 -1
  249. package/dist/actions/get-company.d.cts +20 -43
  250. package/dist/actions/get-company.d.cts.map +1 -1
  251. package/dist/actions/get-company.d.mts +20 -43
  252. package/dist/actions/get-company.d.mts.map +1 -1
  253. package/dist/actions/get-company.mjs +19 -19
  254. package/dist/actions/get-company.mjs.map +1 -1
  255. package/dist/actions/get-contact-by-id.cjs +49 -49
  256. package/dist/actions/get-contact-by-id.cjs.map +1 -1
  257. package/dist/actions/get-contact-by-id.d.cts +50 -103
  258. package/dist/actions/get-contact-by-id.d.mts +50 -103
  259. package/dist/actions/get-contact-by-id.mjs +49 -49
  260. package/dist/actions/get-contact-by-id.mjs.map +1 -1
  261. package/dist/actions/get-contacts.cjs +49 -49
  262. package/dist/actions/get-contacts.cjs.map +1 -1
  263. package/dist/actions/get-contacts.d.cts +50 -103
  264. package/dist/actions/get-contacts.d.cts.map +1 -1
  265. package/dist/actions/get-contacts.d.mts +50 -103
  266. package/dist/actions/get-contacts.d.mts.map +1 -1
  267. package/dist/actions/get-contacts.mjs +49 -49
  268. package/dist/actions/get-contacts.mjs.map +1 -1
  269. package/dist/actions/get-deleted-appointments.cjs +18 -18
  270. package/dist/actions/get-deleted-appointments.cjs.map +1 -1
  271. package/dist/actions/get-deleted-appointments.d.cts +19 -41
  272. package/dist/actions/get-deleted-appointments.d.mts +19 -41
  273. package/dist/actions/get-deleted-appointments.mjs +18 -18
  274. package/dist/actions/get-deleted-appointments.mjs.map +1 -1
  275. package/dist/actions/get-message-logs.cjs +9 -9
  276. package/dist/actions/get-message-logs.cjs.map +1 -1
  277. package/dist/actions/get-message-logs.d.cts +10 -22
  278. package/dist/actions/get-message-logs.d.mts +10 -22
  279. package/dist/actions/get-message-logs.mjs +9 -9
  280. package/dist/actions/get-message-logs.mjs.map +1 -1
  281. package/dist/actions/get-rating.cjs +11 -11
  282. package/dist/actions/get-rating.cjs.map +1 -1
  283. package/dist/actions/get-rating.d.cts +12 -27
  284. package/dist/actions/get-rating.d.cts.map +1 -1
  285. package/dist/actions/get-rating.d.mts +12 -27
  286. package/dist/actions/get-rating.d.mts.map +1 -1
  287. package/dist/actions/get-rating.mjs +11 -11
  288. package/dist/actions/get-rating.mjs.map +1 -1
  289. package/dist/actions/get-service-by-id.cjs +4 -4
  290. package/dist/actions/get-service-by-id.cjs.map +1 -1
  291. package/dist/actions/get-service-by-id.d.cts +5 -22
  292. package/dist/actions/get-service-by-id.d.mts +5 -22
  293. package/dist/actions/get-service-by-id.mjs +4 -4
  294. package/dist/actions/get-service-by-id.mjs.map +1 -1
  295. package/dist/actions/get-service-calendar.d.cts +1 -6
  296. package/dist/actions/get-service-calendar.d.mts +1 -6
  297. package/dist/actions/get-servicegroup.cjs +25 -25
  298. package/dist/actions/get-servicegroup.cjs.map +1 -1
  299. package/dist/actions/get-servicegroup.d.cts +26 -55
  300. package/dist/actions/get-servicegroup.d.mts +26 -55
  301. package/dist/actions/get-servicegroup.mjs +25 -25
  302. package/dist/actions/get-servicegroup.mjs.map +1 -1
  303. package/dist/actions/get-services.cjs +4 -4
  304. package/dist/actions/get-services.cjs.map +1 -1
  305. package/dist/actions/get-services.d.cts +5 -22
  306. package/dist/actions/get-services.d.cts.map +1 -1
  307. package/dist/actions/get-services.d.mts +5 -22
  308. package/dist/actions/get-services.d.mts.map +1 -1
  309. package/dist/actions/get-services.mjs +4 -4
  310. package/dist/actions/get-services.mjs.map +1 -1
  311. package/dist/actions/get-survey-results.cjs +6 -6
  312. package/dist/actions/get-survey-results.cjs.map +1 -1
  313. package/dist/actions/get-survey-results.d.cts +7 -16
  314. package/dist/actions/get-survey-results.d.mts +7 -16
  315. package/dist/actions/get-survey-results.mjs +6 -6
  316. package/dist/actions/get-survey-results.mjs.map +1 -1
  317. package/dist/actions/get-timeslots.cjs +4 -4
  318. package/dist/actions/get-timeslots.cjs.map +1 -1
  319. package/dist/actions/get-timeslots.d.cts +5 -13
  320. package/dist/actions/get-timeslots.d.mts +5 -13
  321. package/dist/actions/get-timeslots.mjs +4 -4
  322. package/dist/actions/get-timeslots.mjs.map +1 -1
  323. package/dist/actions/get-usermapping.cjs +7 -7
  324. package/dist/actions/get-usermapping.cjs.map +1 -1
  325. package/dist/actions/get-usermapping.d.cts +8 -19
  326. package/dist/actions/get-usermapping.d.mts +8 -19
  327. package/dist/actions/get-usermapping.mjs +7 -7
  328. package/dist/actions/get-usermapping.mjs.map +1 -1
  329. package/dist/actions/get-users.cjs +26 -26
  330. package/dist/actions/get-users.cjs.map +1 -1
  331. package/dist/actions/get-users.d.cts +27 -58
  332. package/dist/actions/get-users.d.cts.map +1 -1
  333. package/dist/actions/get-users.d.mts +27 -58
  334. package/dist/actions/get-users.d.mts.map +1 -1
  335. package/dist/actions/get-users.mjs +26 -26
  336. package/dist/actions/get-users.mjs.map +1 -1
  337. package/dist/actions/get-working-times-date.cjs +1 -1
  338. package/dist/actions/get-working-times-date.cjs.map +1 -1
  339. package/dist/actions/get-working-times-date.d.cts +2 -11
  340. package/dist/actions/get-working-times-date.d.mts +2 -11
  341. package/dist/actions/get-working-times-date.mjs +1 -1
  342. package/dist/actions/get-working-times-date.mjs.map +1 -1
  343. package/dist/actions/get-working-times.cjs +1 -1
  344. package/dist/actions/get-working-times.cjs.map +1 -1
  345. package/dist/actions/get-working-times.d.cts +2 -12
  346. package/dist/actions/get-working-times.d.mts +2 -12
  347. package/dist/actions/get-working-times.mjs +1 -1
  348. package/dist/actions/get-working-times.mjs.map +1 -1
  349. package/dist/actions/list-appointments.cjs +19 -19
  350. package/dist/actions/list-appointments.cjs.map +1 -1
  351. package/dist/actions/list-appointments.d.cts +20 -43
  352. package/dist/actions/list-appointments.d.mts +20 -43
  353. package/dist/actions/list-appointments.mjs +19 -19
  354. package/dist/actions/list-appointments.mjs.map +1 -1
  355. package/dist/actions/list-vouchers.cjs +19 -19
  356. package/dist/actions/list-vouchers.cjs.map +1 -1
  357. package/dist/actions/list-vouchers.d.cts +20 -41
  358. package/dist/actions/list-vouchers.d.cts.map +1 -1
  359. package/dist/actions/list-vouchers.d.mts +20 -41
  360. package/dist/actions/list-vouchers.d.mts.map +1 -1
  361. package/dist/actions/list-vouchers.mjs +19 -19
  362. package/dist/actions/list-vouchers.mjs.map +1 -1
  363. package/dist/actions/list-webhooks.d.cts +1 -3
  364. package/dist/actions/list-webhooks.d.cts.map +1 -1
  365. package/dist/actions/list-webhooks.d.mts +1 -3
  366. package/dist/actions/list-webhooks.d.mts.map +1 -1
  367. package/dist/actions/put-service.cjs +3 -3
  368. package/dist/actions/put-service.cjs.map +1 -1
  369. package/dist/actions/put-service.d.cts +4 -8
  370. package/dist/actions/put-service.d.mts +4 -8
  371. package/dist/actions/put-service.mjs +3 -3
  372. package/dist/actions/put-service.mjs.map +1 -1
  373. package/dist/actions/update-absence.cjs +1 -1
  374. package/dist/actions/update-absence.cjs.map +1 -1
  375. package/dist/actions/update-absence.d.cts +2 -6
  376. package/dist/actions/update-absence.d.mts +2 -6
  377. package/dist/actions/update-absence.mjs +1 -1
  378. package/dist/actions/update-absence.mjs.map +1 -1
  379. package/dist/actions/update-anchortime-by-date.cjs +1 -1
  380. package/dist/actions/update-anchortime-by-date.cjs.map +1 -1
  381. package/dist/actions/update-anchortime-by-date.d.cts +2 -5
  382. package/dist/actions/update-anchortime-by-date.d.mts +2 -5
  383. package/dist/actions/update-anchortime-by-date.mjs +1 -1
  384. package/dist/actions/update-anchortime-by-date.mjs.map +1 -1
  385. package/dist/actions/update-anchortime.cjs +2 -2
  386. package/dist/actions/update-anchortime.cjs.map +1 -1
  387. package/dist/actions/update-anchortime.d.cts +3 -8
  388. package/dist/actions/update-anchortime.d.mts +3 -8
  389. package/dist/actions/update-anchortime.mjs +2 -2
  390. package/dist/actions/update-anchortime.mjs.map +1 -1
  391. package/dist/actions/update-appointment.d.cts +1 -4
  392. package/dist/actions/update-appointment.d.mts +1 -4
  393. package/dist/actions/update-calendar-return-time.cjs +1 -1
  394. package/dist/actions/update-calendar-return-time.cjs.map +1 -1
  395. package/dist/actions/update-calendar-return-time.d.cts +2 -6
  396. package/dist/actions/update-calendar-return-time.d.mts +2 -6
  397. package/dist/actions/update-calendar-return-time.mjs +1 -1
  398. package/dist/actions/update-calendar-return-time.mjs.map +1 -1
  399. package/dist/actions/update-calendar.cjs +2 -2
  400. package/dist/actions/update-calendar.cjs.map +1 -1
  401. package/dist/actions/update-calendar.d.cts +3 -8
  402. package/dist/actions/update-calendar.d.mts +3 -8
  403. package/dist/actions/update-calendar.mjs +2 -2
  404. package/dist/actions/update-calendar.mjs.map +1 -1
  405. package/dist/actions/update-contact.cjs +3 -3
  406. package/dist/actions/update-contact.cjs.map +1 -1
  407. package/dist/actions/update-contact.d.cts +4 -10
  408. package/dist/actions/update-contact.d.mts +4 -10
  409. package/dist/actions/update-contact.mjs +3 -3
  410. package/dist/actions/update-contact.mjs.map +1 -1
  411. package/dist/actions/update-resource.cjs +1 -1
  412. package/dist/actions/update-resource.cjs.map +1 -1
  413. package/dist/actions/update-resource.d.cts +2 -7
  414. package/dist/actions/update-resource.d.mts +2 -7
  415. package/dist/actions/update-resource.mjs +1 -1
  416. package/dist/actions/update-resource.mjs.map +1 -1
  417. package/dist/actions/update-service-group.d.cts +1 -4
  418. package/dist/actions/update-service-group.d.mts +1 -4
  419. package/dist/actions/update-service.d.cts +1 -3
  420. package/dist/actions/update-service.d.cts.map +1 -1
  421. package/dist/actions/update-service.d.mts +1 -3
  422. package/dist/actions/update-service.d.mts.map +1 -1
  423. package/dist/actions/update-sync-appointment.cjs +1 -1
  424. package/dist/actions/update-sync-appointment.cjs.map +1 -1
  425. package/dist/actions/update-sync-appointment.d.cts +2 -6
  426. package/dist/actions/update-sync-appointment.d.mts +2 -6
  427. package/dist/actions/update-sync-appointment.mjs +1 -1
  428. package/dist/actions/update-sync-appointment.mjs.map +1 -1
  429. package/dist/actions/update-usermapping.cjs +2 -2
  430. package/dist/actions/update-usermapping.cjs.map +1 -1
  431. package/dist/actions/update-usermapping.d.cts +3 -6
  432. package/dist/actions/update-usermapping.d.mts +3 -6
  433. package/dist/actions/update-usermapping.mjs +2 -2
  434. package/dist/actions/update-usermapping.mjs.map +1 -1
  435. package/dist/actions/update-voucher.d.cts +1 -6
  436. package/dist/actions/update-voucher.d.mts +1 -6
  437. package/dist/actions/update-webhook.cjs +2 -2
  438. package/dist/actions/update-webhook.cjs.map +1 -1
  439. package/dist/actions/update-webhook.d.cts +3 -7
  440. package/dist/actions/update-webhook.d.cts.map +1 -1
  441. package/dist/actions/update-webhook.d.mts +3 -7
  442. package/dist/actions/update-webhook.d.mts.map +1 -1
  443. package/dist/actions/update-webhook.mjs +2 -2
  444. package/dist/actions/update-webhook.mjs.map +1 -1
  445. package/dist/actions/update-working-times-date.cjs +2 -2
  446. package/dist/actions/update-working-times-date.cjs.map +1 -1
  447. package/dist/actions/update-working-times-date.d.cts +3 -6
  448. package/dist/actions/update-working-times-date.d.mts +3 -6
  449. package/dist/actions/update-working-times-date.mjs +2 -2
  450. package/dist/actions/update-working-times-date.mjs.map +1 -1
  451. package/dist/actions/update-working-times.cjs +2 -2
  452. package/dist/actions/update-working-times.cjs.map +1 -1
  453. package/dist/actions/update-working-times.d.cts +3 -6
  454. package/dist/actions/update-working-times.d.mts +3 -6
  455. package/dist/actions/update-working-times.mjs +2 -2
  456. package/dist/actions/update-working-times.mjs.map +1 -1
  457. package/package.json +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"create-webhook.d.cts","names":[],"sources":["../../src/actions/create-webhook.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;cASzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;cAO1B,oBAAA,gCAAoB,wBAAA;;;;;;;;;;;;gBAM/B,MAAA;AAAA"}
1
+ {"version":3,"file":"create-webhook.d.cts","names":[],"sources":["../../src/actions/create-webhook.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;cASzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;cAO1B,oBAAA,gCAAoB,wBAAA"}
@@ -13,8 +13,8 @@ declare const EterminCreateWebhookInput: z.ZodObject<{
13
13
  declare const EterminCreateWebhookOutput: z.ZodObject<{
14
14
  message: z.ZodNullable<z.ZodString>;
15
15
  success: z.ZodNullable<z.ZodBoolean>;
16
- lastError: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
17
- webhookData: z.ZodPreprocess<z.ZodOptional<z.ZodObject<{}, z.core.$strip>>>;
16
+ lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
+ webhookData: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
18
18
  }, z.core.$strip>;
19
19
  declare const eterminCreateWebhook: import("@keystrokehq/action").WorkflowActionDefinition<{
20
20
  url: string;
@@ -24,12 +24,7 @@ declare const eterminCreateWebhook: import("@keystrokehq/action").WorkflowAction
24
24
  headerName?: string | undefined;
25
25
  headerValue?: string | undefined;
26
26
  use_form_encoding?: boolean | undefined;
27
- }, {
28
- message: string | null;
29
- success: boolean | null;
30
- lastError?: string | undefined;
31
- webhookData?: Record<string, never> | undefined;
32
- }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
27
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
33
28
  //#endregion
34
29
  export { eterminCreateWebhook };
35
30
  //# sourceMappingURL=create-webhook.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-webhook.d.mts","names":[],"sources":["../../src/actions/create-webhook.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;cASzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;cAO1B,oBAAA,gCAAoB,wBAAA;;;;;;;;;;;;gBAM/B,MAAA;AAAA"}
1
+ {"version":3,"file":"create-webhook.d.mts","names":[],"sources":["../../src/actions/create-webhook.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;cASzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;cAO1B,oBAAA,gCAAoB,wBAAA"}
@@ -16,8 +16,8 @@ const eterminCreateWebhook = action("ETERMIN_CREATE_WEBHOOK", {
16
16
  output: z.object({
17
17
  message: z.string().describe("Status message describing the result. If creation is not supported via API, this will contain instructions to use the eTermin web UI instead.").nullable(),
18
18
  success: z.boolean().describe("Whether the webhook was successfully created via API.").nullable(),
19
- lastError: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Details of the last error encountered when trying API endpoints.").optional()),
20
- webhookData: z.preprocess((value) => value === null ? void 0 : value, z.object({}).describe("Webhook configuration data returned by the API if creation was successful.").optional())
19
+ lastError: z.string().describe("Details of the last error encountered when trying API endpoints.").nullable().optional(),
20
+ webhookData: z.object({}).describe("Webhook configuration data returned by the API if creation was successful.").nullable().optional()
21
21
  }).describe("Response model for creating a webhook in eTermin.\n\nContains the API response when successful, or a graceful message when\nwebhook creation via API is not supported for the current tenant.")
22
22
  });
23
23
  //#endregion
@@ -1 +1 @@
1
- {"version":3,"file":"create-webhook.mjs","names":[],"sources":["../../src/actions/create-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminCreateWebhookInput = z.object({\n url: z.string().describe(\"The webhook URL where eTermin will send notifications when events occur. Must be a valid HTTPS URL that can receive POST requests. Example: 'https://your-app.com/webhooks/etermin'\"),\n active: z.boolean().default(true).describe(\"Whether the webhook should be active immediately after creation.\").optional(),\n format: z.string().default(\"json\").describe(\"Format for webhook payload: 'json' (all fields always included) or 'variables' (only filled fields). Defaults to 'json'.\").optional(),\n secretKey: z.string().describe(\"Optional secret hash key for webhook signature verification. If provided, eTermin will include this in webhook requests for authentication.\").optional(),\n headerName: z.string().describe(\"Optional custom HTTP header name for webhook authentication. Use with header_value to add custom authentication headers.\").optional(),\n headerValue: z.string().describe(\"Optional custom HTTP header value for webhook authentication. Use with header_name to add custom authentication headers.\").optional(),\n use_form_encoding: z.boolean().default(false).describe(\"Advanced option: Send payload as application/x-www-form-urlencoded instead of JSON. Only use if specifically required by your tenant.\").optional(),\n}).describe(\"Request model for creating a new webhook (web push notification) in eTermin.\\n\\nNOTE: eTermin webhook/web push configuration is typically done through the web UI\\n(API > API & Web Push menu). This action attempts to create a webhook via API\\nbut will return a helpful message if API-based creation is not supported for your tenant.\");\nexport const EterminCreateWebhookOutput = z.object({\n message: z.string().describe(\"Status message describing the result. If creation is not supported via API, this will contain instructions to use the eTermin web UI instead.\").nullable(),\n success: z.boolean().describe(\"Whether the webhook was successfully created via API.\").nullable(),\n lastError: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Details of the last error encountered when trying API endpoints.\").optional()),\n webhookData: z.preprocess((value) => (value === null ? undefined : value), z.object({}).describe(\"Webhook configuration data returned by the API if creation was successful.\").optional()),\n}).describe(\"Response model for creating a webhook in eTermin.\\n\\nContains the API response when successful, or a graceful message when\\nwebhook creation via API is not supported for the current tenant.\");\n\nexport const eterminCreateWebhook = action(\"ETERMIN_CREATE_WEBHOOK\", {\n slug: \"etermin-create-webhook\",\n name: \"Create Webhook\",\n description: \"Creates a webhook (web push notification) in eTermin to receive real-time updates about appointments. IMPORTANT: eTermin webhook configuration is typically managed through the web UI at API > API & Web Push. This action attempts API-based creation but will return a helpful message with UI instructions if the API endpoint is not available for your tenant. Webhooks can notify your application when appointments are created, modified, or deleted. Configure the webhook URL, optional authentication headers, and secret key for signature verification.\",\n input: EterminCreateWebhookInput,\n output: EterminCreateWebhookOutput,\n});\n"],"mappings":";;AAoBA,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OApBuC,EAAE,OAAO;EAChD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,qLAAqL;EAC9M,QAAQ,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;EACxH,QAAQ,EAAE,OAAO,CAAC,CAAC,QAAQ,MAAM,CAAC,CAAC,SAAS,0HAA0H,CAAC,CAAC,SAAS;EACjL,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,6IAA6I,CAAC,CAAC,SAAS;EACvL,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,0HAA0H,CAAC,CAAC,SAAS;EACrK,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,0HAA0H,CAAC,CAAC,SAAS;EACtK,mBAAmB,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,uIAAuI,CAAC,CAAC,SAAS;CAC3M,CAAC,CAAC,CAAC,SAAS,6UAYH;CACP,QAZwC,EAAE,OAAO;EACjD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,+IAA+I,CAAC,CAAC,SAAS;EACvL,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;EAChG,WAAW,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC;EAC3K,aAAa,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS,CAAC;CAC3L,CAAC,CAAC,CAAC,SAAS,+LAOF;AACV,CAAC"}
1
+ {"version":3,"file":"create-webhook.mjs","names":[],"sources":["../../src/actions/create-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminCreateWebhookInput = z.object({\n url: z.string().describe(\"The webhook URL where eTermin will send notifications when events occur. Must be a valid HTTPS URL that can receive POST requests. Example: 'https://your-app.com/webhooks/etermin'\"),\n active: z.boolean().default(true).describe(\"Whether the webhook should be active immediately after creation.\").optional(),\n format: z.string().default(\"json\").describe(\"Format for webhook payload: 'json' (all fields always included) or 'variables' (only filled fields). Defaults to 'json'.\").optional(),\n secretKey: z.string().describe(\"Optional secret hash key for webhook signature verification. If provided, eTermin will include this in webhook requests for authentication.\").optional(),\n headerName: z.string().describe(\"Optional custom HTTP header name for webhook authentication. Use with header_value to add custom authentication headers.\").optional(),\n headerValue: z.string().describe(\"Optional custom HTTP header value for webhook authentication. Use with header_name to add custom authentication headers.\").optional(),\n use_form_encoding: z.boolean().default(false).describe(\"Advanced option: Send payload as application/x-www-form-urlencoded instead of JSON. Only use if specifically required by your tenant.\").optional(),\n}).describe(\"Request model for creating a new webhook (web push notification) in eTermin.\\n\\nNOTE: eTermin webhook/web push configuration is typically done through the web UI\\n(API > API & Web Push menu). This action attempts to create a webhook via API\\nbut will return a helpful message if API-based creation is not supported for your tenant.\");\nexport const EterminCreateWebhookOutput = z.object({\n message: z.string().describe(\"Status message describing the result. If creation is not supported via API, this will contain instructions to use the eTermin web UI instead.\").nullable(),\n success: z.boolean().describe(\"Whether the webhook was successfully created via API.\").nullable(),\n lastError: z.string().describe(\"Details of the last error encountered when trying API endpoints.\").nullable().optional(),\n webhookData: z.object({}).describe(\"Webhook configuration data returned by the API if creation was successful.\").nullable().optional(),\n}).describe(\"Response model for creating a webhook in eTermin.\\n\\nContains the API response when successful, or a graceful message when\\nwebhook creation via API is not supported for the current tenant.\");\n\nexport const eterminCreateWebhook = action(\"ETERMIN_CREATE_WEBHOOK\", {\n slug: \"etermin-create-webhook\",\n name: \"Create Webhook\",\n description: \"Creates a webhook (web push notification) in eTermin to receive real-time updates about appointments. IMPORTANT: eTermin webhook configuration is typically managed through the web UI at API > API & Web Push. This action attempts API-based creation but will return a helpful message with UI instructions if the API endpoint is not available for your tenant. Webhooks can notify your application when appointments are created, modified, or deleted. Configure the webhook URL, optional authentication headers, and secret key for signature verification.\",\n input: EterminCreateWebhookInput,\n output: EterminCreateWebhookOutput,\n});\n"],"mappings":";;AAoBA,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OApBuC,EAAE,OAAO;EAChD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,qLAAqL;EAC9M,QAAQ,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;EACxH,QAAQ,EAAE,OAAO,CAAC,CAAC,QAAQ,MAAM,CAAC,CAAC,SAAS,0HAA0H,CAAC,CAAC,SAAS;EACjL,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,6IAA6I,CAAC,CAAC,SAAS;EACvL,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,0HAA0H,CAAC,CAAC,SAAS;EACrK,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,0HAA0H,CAAC,CAAC,SAAS;EACtK,mBAAmB,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,uIAAuI,CAAC,CAAC,SAAS;CAC3M,CAAC,CAAC,CAAC,SAAS,6UAYH;CACP,QAZwC,EAAE,OAAO;EACjD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,+IAA+I,CAAC,CAAC,SAAS;EACvL,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;EAChG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvH,aAAa,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvI,CAAC,CAAC,CAAC,SAAS,+LAOF;AACV,CAAC"}
@@ -32,10 +32,7 @@ declare const eterminCreateWorkingTime: import("@keystrokehq/action").WorkflowAc
32
32
  calendarintervalid?: number | undefined;
33
33
  validwithserviceid?: string | undefined;
34
34
  allserviceidsrequired?: number | undefined;
35
- }, {
36
- status: number | null;
37
- statusmsg: string | null;
38
- }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
35
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
39
36
  //#endregion
40
37
  export { eterminCreateWorkingTime };
41
38
  //# sourceMappingURL=create-working-time.d.cts.map
@@ -32,10 +32,7 @@ declare const eterminCreateWorkingTime: import("@keystrokehq/action").WorkflowAc
32
32
  calendarintervalid?: number | undefined;
33
33
  validwithserviceid?: string | undefined;
34
34
  allserviceidsrequired?: number | undefined;
35
- }, {
36
- status: number | null;
37
- statusmsg: string | null;
38
- }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
35
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
39
36
  //#endregion
40
37
  export { eterminCreateWorkingTime };
41
38
  //# sourceMappingURL=create-working-time.d.mts.map
@@ -17,9 +17,9 @@ const EterminCreateWorkingTimesDateInput = zod.z.object({
17
17
  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()
18
18
  }).describe("Request model for creating a working times date slot.");
19
19
  const EterminCreateWorkingTimesDateOutput = zod.z.object({
20
- ID: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.number().int().describe("Unique identifier of the created working time slot").optional()),
21
- Status: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.number().int().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 describing the result").optional())
20
+ ID: zod.z.number().int().describe("Unique identifier of the created working time slot").nullable().optional(),
21
+ Status: zod.z.number().int().describe("HTTP status code of the response").nullable().optional(),
22
+ StatusMsg: zod.z.string().describe("Status message describing the result").nullable().optional()
23
23
  }).describe("Response model after creating a working times date slot.");
24
24
  const eterminCreateWorkingTimesDate = require_action.action("ETERMIN_CREATE_WORKING_TIMES_DATE", {
25
25
  slug: "etermin-create-working-times-date",
@@ -1 +1 @@
1
- {"version":3,"file":"create-working-times-date.cjs","names":["z","action"],"sources":["../../src/actions/create-working-times-date.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminCreateWorkingTimesDateInput = z.object({\n end: z.string().describe(\"End date/time of working time in format YYYY-MM-DD HH:MM (e.g., 2026-03-15 18:00)\"),\n start: z.string().describe(\"Start date/time of working time in format YYYY-MM-DD HH:MM (e.g., 2026-03-15 09:00)\"),\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 to create the working time slot for\"),\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 creating a working times date slot.\");\nexport const EterminCreateWorkingTimesDateOutput = z.object({\n ID: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"Unique identifier of the created working time slot\").optional()),\n Status: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"HTTP status code of the response\").optional()),\n StatusMsg: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Status message describing the result\").optional()),\n}).describe(\"Response model after creating a working times date slot.\");\n\nexport const eterminCreateWorkingTimesDate = action(\"ETERMIN_CREATE_WORKING_TIMES_DATE\", {\n slug: \"etermin-create-working-times-date\",\n name: \"Create Working Times Date\",\n description: \"Tool to create a working times date slot for a calendar. Use when you need to define available time slots for appointments.\",\n input: EterminCreateWorkingTimesDateInput,\n output: EterminCreateWorkingTimesDateOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF;CAC5G,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF;CAChH,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;CAC9H,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,kHAAkH,CAAC,CAAC,SAAS;CAC1J,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,wDAAwD;CAC9F,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,gFAAgF,CAAC,CAAC,SAAS;CAC7H,cAAcA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CACxG,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,uDAAuD;AACnE,MAAa,sCAAsCA,IAAAA,EAAE,OAAO;CAC1D,IAAIA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC;CAC5J,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,sCAAsC,CAAC,CAAC,SAAS,CAAC;AACjJ,CAAC,CAAC,CAAC,SAAS,0DAA0D;AAEtE,MAAa,gCAAgCC,eAAAA,OAAO,qCAAqC;CACvF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"create-working-times-date.cjs","names":["z","action"],"sources":["../../src/actions/create-working-times-date.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminCreateWorkingTimesDateInput = z.object({\n end: z.string().describe(\"End date/time of working time in format YYYY-MM-DD HH:MM (e.g., 2026-03-15 18:00)\"),\n start: z.string().describe(\"Start date/time of working time in format YYYY-MM-DD HH:MM (e.g., 2026-03-15 09:00)\"),\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 to create the working time slot for\"),\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 creating a working times date slot.\");\nexport const EterminCreateWorkingTimesDateOutput = z.object({\n ID: z.number().int().describe(\"Unique identifier of the created working time slot\").nullable().optional(),\n Status: z.number().int().describe(\"HTTP status code of the response\").nullable().optional(),\n StatusMsg: z.string().describe(\"Status message describing the result\").nullable().optional(),\n}).describe(\"Response model after creating a working times date slot.\");\n\nexport const eterminCreateWorkingTimesDate = action(\"ETERMIN_CREATE_WORKING_TIMES_DATE\", {\n slug: \"etermin-create-working-times-date\",\n name: \"Create Working Times Date\",\n description: \"Tool to create a working times date slot for a calendar. Use when you need to define available time slots for appointments.\",\n input: EterminCreateWorkingTimesDateInput,\n output: EterminCreateWorkingTimesDateOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF;CAC5G,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF;CAChH,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;CAC9H,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,kHAAkH,CAAC,CAAC,SAAS;CAC1J,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,wDAAwD;CAC9F,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,gFAAgF,CAAC,CAAC,SAAS;CAC7H,cAAcA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CACxG,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,uDAAuD;AACnE,MAAa,sCAAsCA,IAAAA,EAAE,OAAO;CAC1D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,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,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7F,CAAC,CAAC,CAAC,SAAS,0DAA0D;AAEtE,MAAa,gCAAgCC,eAAAA,OAAO,qCAAqC;CACvF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -17,9 +17,9 @@ declare const EterminCreateWorkingTimesDateInput: z.ZodObject<{
17
17
  allserviceidsrequired: z.ZodOptional<z.ZodNumber>;
18
18
  }, z.core.$strip>;
19
19
  declare const EterminCreateWorkingTimesDateOutput: z.ZodObject<{
20
- ID: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
21
- Status: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
22
- StatusMsg: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
20
+ ID: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
21
+ Status: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
22
+ StatusMsg: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
23
  }, z.core.$strip>;
24
24
  declare const eterminCreateWorkingTimesDate: import("@keystrokehq/action").WorkflowActionDefinition<{
25
25
  end: string;
@@ -35,11 +35,7 @@ declare const eterminCreateWorkingTimesDate: import("@keystrokehq/action").Workf
35
35
  overwriteday?: boolean | undefined;
36
36
  validwithserviceid?: string | undefined;
37
37
  allserviceidsrequired?: number | undefined;
38
- }, {
39
- ID?: number | undefined;
40
- Status?: number | undefined;
41
- StatusMsg?: string | undefined;
42
- }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
38
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
43
39
  //#endregion
44
40
  export { eterminCreateWorkingTimesDate };
45
41
  //# sourceMappingURL=create-working-times-date.d.cts.map
@@ -17,9 +17,9 @@ declare const EterminCreateWorkingTimesDateInput: z.ZodObject<{
17
17
  allserviceidsrequired: z.ZodOptional<z.ZodNumber>;
18
18
  }, z.core.$strip>;
19
19
  declare const EterminCreateWorkingTimesDateOutput: z.ZodObject<{
20
- ID: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
21
- Status: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
22
- StatusMsg: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
20
+ ID: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
21
+ Status: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
22
+ StatusMsg: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
23
  }, z.core.$strip>;
24
24
  declare const eterminCreateWorkingTimesDate: import("@keystrokehq/action").WorkflowActionDefinition<{
25
25
  end: string;
@@ -35,11 +35,7 @@ declare const eterminCreateWorkingTimesDate: import("@keystrokehq/action").Workf
35
35
  overwriteday?: boolean | undefined;
36
36
  validwithserviceid?: string | undefined;
37
37
  allserviceidsrequired?: number | undefined;
38
- }, {
39
- ID?: number | undefined;
40
- Status?: number | undefined;
41
- StatusMsg?: string | undefined;
42
- }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
38
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
43
39
  //#endregion
44
40
  export { eterminCreateWorkingTimesDate };
45
41
  //# sourceMappingURL=create-working-times-date.d.mts.map
@@ -20,9 +20,9 @@ const eterminCreateWorkingTimesDate = action("ETERMIN_CREATE_WORKING_TIMES_DATE"
20
20
  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()
21
21
  }).describe("Request model for creating a working times date slot."),
22
22
  output: z.object({
23
- ID: z.preprocess((value) => value === null ? void 0 : value, z.number().int().describe("Unique identifier of the created working time slot").optional()),
24
- Status: z.preprocess((value) => value === null ? void 0 : value, z.number().int().describe("HTTP status code of the response").optional()),
25
- StatusMsg: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Status message describing the result").optional())
23
+ ID: z.number().int().describe("Unique identifier of the created working time slot").nullable().optional(),
24
+ Status: z.number().int().describe("HTTP status code of the response").nullable().optional(),
25
+ StatusMsg: z.string().describe("Status message describing the result").nullable().optional()
26
26
  }).describe("Response model after creating a working times date slot.")
27
27
  });
28
28
  //#endregion
@@ -1 +1 @@
1
- {"version":3,"file":"create-working-times-date.mjs","names":[],"sources":["../../src/actions/create-working-times-date.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminCreateWorkingTimesDateInput = z.object({\n end: z.string().describe(\"End date/time of working time in format YYYY-MM-DD HH:MM (e.g., 2026-03-15 18:00)\"),\n start: z.string().describe(\"Start date/time of working time in format YYYY-MM-DD HH:MM (e.g., 2026-03-15 09:00)\"),\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 to create the working time slot for\"),\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 creating a working times date slot.\");\nexport const EterminCreateWorkingTimesDateOutput = z.object({\n ID: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"Unique identifier of the created working time slot\").optional()),\n Status: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"HTTP status code of the response\").optional()),\n StatusMsg: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Status message describing the result\").optional()),\n}).describe(\"Response model after creating a working times date slot.\");\n\nexport const eterminCreateWorkingTimesDate = action(\"ETERMIN_CREATE_WORKING_TIMES_DATE\", {\n slug: \"etermin-create-working-times-date\",\n name: \"Create Working Times Date\",\n description: \"Tool to create a working times date slot for a calendar. Use when you need to define available time slots for appointments.\",\n input: EterminCreateWorkingTimesDateInput,\n output: EterminCreateWorkingTimesDateOutput,\n});\n"],"mappings":";;AAyBA,MAAa,gCAAgC,OAAO,qCAAqC;CACvF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAzBgD,EAAE,OAAO;EACzD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF;EAC5G,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF;EAChH,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;EAC9H,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,kHAAkH,CAAC,CAAC,SAAS;EAC1J,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,wDAAwD;EAC9F,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,gFAAgF,CAAC,CAAC,SAAS;EAC7H,cAAc,EAAE,QAAQ,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;EACxG,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,uDAWH;CACP,QAXiD,EAAE,OAAO;EAC1D,IAAI,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC;EAC5J,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,sCAAsC,CAAC,CAAC,SAAS,CAAC;CACjJ,CAAC,CAAC,CAAC,SAAS,0DAOF;AACV,CAAC"}
1
+ {"version":3,"file":"create-working-times-date.mjs","names":[],"sources":["../../src/actions/create-working-times-date.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminCreateWorkingTimesDateInput = z.object({\n end: z.string().describe(\"End date/time of working time in format YYYY-MM-DD HH:MM (e.g., 2026-03-15 18:00)\"),\n start: z.string().describe(\"Start date/time of working time in format YYYY-MM-DD HH:MM (e.g., 2026-03-15 09:00)\"),\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 to create the working time slot for\"),\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 creating a working times date slot.\");\nexport const EterminCreateWorkingTimesDateOutput = z.object({\n ID: z.number().int().describe(\"Unique identifier of the created working time slot\").nullable().optional(),\n Status: z.number().int().describe(\"HTTP status code of the response\").nullable().optional(),\n StatusMsg: z.string().describe(\"Status message describing the result\").nullable().optional(),\n}).describe(\"Response model after creating a working times date slot.\");\n\nexport const eterminCreateWorkingTimesDate = action(\"ETERMIN_CREATE_WORKING_TIMES_DATE\", {\n slug: \"etermin-create-working-times-date\",\n name: \"Create Working Times Date\",\n description: \"Tool to create a working times date slot for a calendar. Use when you need to define available time slots for appointments.\",\n input: EterminCreateWorkingTimesDateInput,\n output: EterminCreateWorkingTimesDateOutput,\n});\n"],"mappings":";;AAyBA,MAAa,gCAAgC,OAAO,qCAAqC;CACvF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAzBgD,EAAE,OAAO;EACzD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF;EAC5G,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF;EAChH,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;EAC9H,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,kHAAkH,CAAC,CAAC,SAAS;EAC1J,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,wDAAwD;EAC9F,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,gFAAgF,CAAC,CAAC,SAAS;EAC7H,cAAc,EAAE,QAAQ,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;EACxG,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,uDAWH;CACP,QAXiD,EAAE,OAAO;EAC1D,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxG,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,CAAC,CAAC,CAAC,SAAS,0DAOF;AACV,CAAC"}
@@ -4,7 +4,7 @@ let zod = require("zod");
4
4
  const EterminDeleteAbsenceInput = zod.z.object({ id: zod.z.number().int().describe("The unique identifier of the absence to delete. Use ETERMIN_GET_ABSENCES to retrieve absence IDs for a calendar.") }).describe("Request model for deleting an absence (non-working time) from eTermin.");
5
5
  const EterminDeleteAbsenceOutput = zod.z.object({
6
6
  id: zod.z.number().int().describe("The ID of the absence that was deleted").nullable(),
7
- message: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Status message from the API, if any").optional()),
7
+ message: zod.z.string().describe("Status message from the API, if any").nullable().optional(),
8
8
  success: zod.z.boolean().describe("Whether the delete operation was successful").nullable()
9
9
  }).describe("Response model for delete absence operation.");
10
10
  const eterminDeleteAbsence = require_action.action("ETERMIN_DELETE_ABSENCE", {
@@ -1 +1 @@
1
- {"version":3,"file":"delete-absence.cjs","names":["z","action"],"sources":["../../src/actions/delete-absence.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminDeleteAbsenceInput = z.object({\n id: z.number().int().describe(\"The unique identifier of the absence to delete. Use ETERMIN_GET_ABSENCES to retrieve absence IDs for a calendar.\"),\n}).describe(\"Request model for deleting an absence (non-working time) from eTermin.\");\nexport const EterminDeleteAbsenceOutput = z.object({\n id: z.number().int().describe(\"The ID of the absence that was deleted\").nullable(),\n message: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Status message from the API, if any\").optional()),\n success: z.boolean().describe(\"Whether the delete operation was successful\").nullable(),\n}).describe(\"Response model for delete absence operation.\");\n\nexport const eterminDeleteAbsence = action(\"ETERMIN_DELETE_ABSENCE\", {\n slug: \"etermin-delete-absence\",\n name: \"Delete Absence\",\n description: \"Tool to delete an absence (non-working time) from a calendar. Use when you need to remove a blocked time period from a calendar's availability.\",\n input: EterminDeleteAbsenceInput,\n output: EterminDeleteAbsenceOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,EAChD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kHAAkH,EAClJ,CAAC,CAAC,CAAC,SAAS,wEAAwE;AACpF,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CACjF,SAASA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC;CAC5I,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;AACxF,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":"delete-absence.cjs","names":["z","action"],"sources":["../../src/actions/delete-absence.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminDeleteAbsenceInput = z.object({\n id: z.number().int().describe(\"The unique identifier of the absence to delete. Use ETERMIN_GET_ABSENCES to retrieve absence IDs for a calendar.\"),\n}).describe(\"Request model for deleting an absence (non-working time) from eTermin.\");\nexport const EterminDeleteAbsenceOutput = z.object({\n id: z.number().int().describe(\"The ID of the absence that was deleted\").nullable(),\n message: z.string().describe(\"Status message from the API, if any\").nullable().optional(),\n success: z.boolean().describe(\"Whether the delete operation was successful\").nullable(),\n}).describe(\"Response model for delete absence operation.\");\n\nexport const eterminDeleteAbsence = action(\"ETERMIN_DELETE_ABSENCE\", {\n slug: \"etermin-delete-absence\",\n name: \"Delete Absence\",\n description: \"Tool to delete an absence (non-working time) from a calendar. Use when you need to remove a blocked time period from a calendar's availability.\",\n input: EterminDeleteAbsenceInput,\n output: EterminDeleteAbsenceOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,EAChD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kHAAkH,EAClJ,CAAC,CAAC,CAAC,SAAS,wEAAwE;AACpF,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CACjF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;AACxF,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAE1D,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -6,16 +6,12 @@ declare const EterminDeleteAbsenceInput: z.ZodObject<{
6
6
  }, z.core.$strip>;
7
7
  declare const EterminDeleteAbsenceOutput: z.ZodObject<{
8
8
  id: z.ZodNullable<z.ZodNumber>;
9
- message: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
9
+ message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10
10
  success: z.ZodNullable<z.ZodBoolean>;
11
11
  }, z.core.$strip>;
12
12
  declare const eterminDeleteAbsence: import("@keystrokehq/action").WorkflowActionDefinition<{
13
13
  id: number;
14
- }, {
15
- id: number | null;
16
- success: boolean | null;
17
- message?: string | undefined;
18
- }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
14
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
19
15
  //#endregion
20
16
  export { eterminDeleteAbsence };
21
17
  //# sourceMappingURL=delete-absence.d.cts.map
@@ -6,16 +6,12 @@ declare const EterminDeleteAbsenceInput: z.ZodObject<{
6
6
  }, z.core.$strip>;
7
7
  declare const EterminDeleteAbsenceOutput: z.ZodObject<{
8
8
  id: z.ZodNullable<z.ZodNumber>;
9
- message: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
9
+ message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10
10
  success: z.ZodNullable<z.ZodBoolean>;
11
11
  }, z.core.$strip>;
12
12
  declare const eterminDeleteAbsence: import("@keystrokehq/action").WorkflowActionDefinition<{
13
13
  id: number;
14
- }, {
15
- id: number | null;
16
- success: boolean | null;
17
- message?: string | undefined;
18
- }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
14
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
19
15
  //#endregion
20
16
  export { eterminDeleteAbsence };
21
17
  //# sourceMappingURL=delete-absence.d.mts.map
@@ -7,7 +7,7 @@ const eterminDeleteAbsence = action("ETERMIN_DELETE_ABSENCE", {
7
7
  input: z.object({ id: z.number().int().describe("The unique identifier of the absence to delete. Use ETERMIN_GET_ABSENCES to retrieve absence IDs for a calendar.") }).describe("Request model for deleting an absence (non-working time) from eTermin."),
8
8
  output: z.object({
9
9
  id: z.number().int().describe("The ID of the absence that was deleted").nullable(),
10
- message: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Status message from the API, if any").optional()),
10
+ message: z.string().describe("Status message from the API, if any").nullable().optional(),
11
11
  success: z.boolean().describe("Whether the delete operation was successful").nullable()
12
12
  }).describe("Response model for delete absence operation.")
13
13
  });
@@ -1 +1 @@
1
- {"version":3,"file":"delete-absence.mjs","names":[],"sources":["../../src/actions/delete-absence.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminDeleteAbsenceInput = z.object({\n id: z.number().int().describe(\"The unique identifier of the absence to delete. Use ETERMIN_GET_ABSENCES to retrieve absence IDs for a calendar.\"),\n}).describe(\"Request model for deleting an absence (non-working time) from eTermin.\");\nexport const EterminDeleteAbsenceOutput = z.object({\n id: z.number().int().describe(\"The ID of the absence that was deleted\").nullable(),\n message: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Status message from the API, if any\").optional()),\n success: z.boolean().describe(\"Whether the delete operation was successful\").nullable(),\n}).describe(\"Response model for delete absence operation.\");\n\nexport const eterminDeleteAbsence = action(\"ETERMIN_DELETE_ABSENCE\", {\n slug: \"etermin-delete-absence\",\n name: \"Delete Absence\",\n description: \"Tool to delete an absence (non-working time) from a calendar. Use when you need to remove a blocked time period from a calendar's availability.\",\n input: EterminDeleteAbsenceInput,\n output: EterminDeleteAbsenceOutput,\n});\n"],"mappings":";;AAaA,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAbuC,EAAE,OAAO,EAChD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kHAAkH,EAClJ,CAAC,CAAC,CAAC,SAAS,wEAWH;CACP,QAXwC,EAAE,OAAO;EACjD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;EACjF,SAAS,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC;EAC5I,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACxF,CAAC,CAAC,CAAC,SAAS,8CAOF;AACV,CAAC"}
1
+ {"version":3,"file":"delete-absence.mjs","names":[],"sources":["../../src/actions/delete-absence.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminDeleteAbsenceInput = z.object({\n id: z.number().int().describe(\"The unique identifier of the absence to delete. Use ETERMIN_GET_ABSENCES to retrieve absence IDs for a calendar.\"),\n}).describe(\"Request model for deleting an absence (non-working time) from eTermin.\");\nexport const EterminDeleteAbsenceOutput = z.object({\n id: z.number().int().describe(\"The ID of the absence that was deleted\").nullable(),\n message: z.string().describe(\"Status message from the API, if any\").nullable().optional(),\n success: z.boolean().describe(\"Whether the delete operation was successful\").nullable(),\n}).describe(\"Response model for delete absence operation.\");\n\nexport const eterminDeleteAbsence = action(\"ETERMIN_DELETE_ABSENCE\", {\n slug: \"etermin-delete-absence\",\n name: \"Delete Absence\",\n description: \"Tool to delete an absence (non-working time) from a calendar. Use when you need to remove a blocked time period from a calendar's availability.\",\n input: EterminDeleteAbsenceInput,\n output: EterminDeleteAbsenceOutput,\n});\n"],"mappings":";;AAaA,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAbuC,EAAE,OAAO,EAChD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kHAAkH,EAClJ,CAAC,CAAC,CAAC,SAAS,wEAWH;CACP,QAXwC,EAAE,OAAO;EACjD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;EACjF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxF,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACxF,CAAC,CAAC,CAAC,SAAS,8CAOF;AACV,CAAC"}
@@ -3,8 +3,8 @@ let zod = require("zod");
3
3
  //#region src/actions/delete-anchortime-by-date.ts
4
4
  const EterminDeleteAnchortimeByDateInput = zod.z.object({ id: zod.z.number().int().describe("ID of the anchortime by date to delete. This ID can be obtained from listing anchortimes.") }).describe("Request parameters for deleting an anchortime by date from eTermin.");
5
5
  const EterminDeleteAnchortimeByDateOutput = zod.z.object({
6
- data: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.object({}).describe("Additional response data from the API, if any. Typically null for DELETE operations.").optional()),
7
- error: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Error message if the operation failed, otherwise null.").optional()),
6
+ data: zod.z.object({}).describe("Additional response data from the API, if any. Typically null for DELETE operations.").nullable().optional(),
7
+ error: zod.z.string().describe("Error message if the operation failed, otherwise null.").nullable().optional(),
8
8
  successfull: zod.z.boolean().describe("Indicates whether the delete operation was successful. Note: API uses 'successfull' (with two 'l's).").nullable()
9
9
  }).describe("Response schema for delete anchortime by date action.\nThe API returns a standardized response format with success indicator and optional error message.");
10
10
  const eterminDeleteAnchortimeByDate = require_action.action("ETERMIN_DELETE_ANCHORTIME_BY_DATE", {
@@ -1 +1 @@
1
- {"version":3,"file":"delete-anchortime-by-date.cjs","names":["z","action"],"sources":["../../src/actions/delete-anchortime-by-date.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminDeleteAnchortimeByDateInput = z.object({\n id: z.number().int().describe(\"ID of the anchortime by date to delete. This ID can be obtained from listing anchortimes.\"),\n}).describe(\"Request parameters for deleting an anchortime by date from eTermin.\");\nexport const EterminDeleteAnchortimeByDateOutput = z.object({\n data: z.preprocess((value) => (value === null ? undefined : value), z.object({}).describe(\"Additional response data from the API, if any. Typically null for DELETE operations.\").optional()),\n error: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Error message if the operation failed, otherwise null.\").optional()),\n successfull: z.boolean().describe(\"Indicates whether the delete operation was successful. Note: API uses 'successfull' (with two 'l's).\").nullable(),\n}).describe(\"Response schema for delete anchortime by date action.\\nThe API returns a standardized response format with success indicator and optional error message.\");\n\nexport const eterminDeleteAnchortimeByDate = action(\"ETERMIN_DELETE_ANCHORTIME_BY_DATE\", {\n slug: \"etermin-delete-anchortime-by-date\",\n name: \"Delete Anchortime By Date\",\n description: \"Delete an anchortime by date using its ID. Use when you need to remove a specific anchortime entry by date. Returns a success indicator along with any error messages if the deletion fails.\",\n input: EterminDeleteAnchortimeByDateInput,\n output: EterminDeleteAnchortimeByDateOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAqCA,IAAAA,EAAE,OAAO,EACzD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2FAA2F,EAC3H,CAAC,CAAC,CAAC,SAAS,qEAAqE;AACjF,MAAa,sCAAsCA,IAAAA,EAAE,OAAO;CAC1D,MAAMA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS,CAAC;CAC5L,OAAOA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC;CAC7J,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,sGAAsG,CAAC,CAAC,SAAS;AACrJ,CAAC,CAAC,CAAC,SAAS,0JAA0J;AAEtK,MAAa,gCAAgCC,eAAAA,OAAO,qCAAqC;CACvF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"delete-anchortime-by-date.cjs","names":["z","action"],"sources":["../../src/actions/delete-anchortime-by-date.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminDeleteAnchortimeByDateInput = z.object({\n id: z.number().int().describe(\"ID of the anchortime by date to delete. This ID can be obtained from listing anchortimes.\"),\n}).describe(\"Request parameters for deleting an anchortime by date from eTermin.\");\nexport const EterminDeleteAnchortimeByDateOutput = z.object({\n data: z.object({}).describe(\"Additional response data from the API, if any. Typically null for DELETE operations.\").nullable().optional(),\n error: z.string().describe(\"Error message if the operation failed, otherwise null.\").nullable().optional(),\n successfull: z.boolean().describe(\"Indicates whether the delete operation was successful. Note: API uses 'successfull' (with two 'l's).\").nullable(),\n}).describe(\"Response schema for delete anchortime by date action.\\nThe API returns a standardized response format with success indicator and optional error message.\");\n\nexport const eterminDeleteAnchortimeByDate = action(\"ETERMIN_DELETE_ANCHORTIME_BY_DATE\", {\n slug: \"etermin-delete-anchortime-by-date\",\n name: \"Delete Anchortime By Date\",\n description: \"Delete an anchortime by date using its ID. Use when you need to remove a specific anchortime entry by date. Returns a success indicator along with any error messages if the deletion fails.\",\n input: EterminDeleteAnchortimeByDateInput,\n output: EterminDeleteAnchortimeByDateOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAqCA,IAAAA,EAAE,OAAO,EACzD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2FAA2F,EAC3H,CAAC,CAAC,CAAC,SAAS,qEAAqE;AACjF,MAAa,sCAAsCA,IAAAA,EAAE,OAAO;CAC1D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxI,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,sGAAsG,CAAC,CAAC,SAAS;AACrJ,CAAC,CAAC,CAAC,SAAS,0JAA0J;AAEtK,MAAa,gCAAgCC,eAAAA,OAAO,qCAAqC;CACvF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -5,17 +5,13 @@ declare const EterminDeleteAnchortimeByDateInput: z.ZodObject<{
5
5
  id: z.ZodNumber;
6
6
  }, z.core.$strip>;
7
7
  declare const EterminDeleteAnchortimeByDateOutput: z.ZodObject<{
8
- data: z.ZodPreprocess<z.ZodOptional<z.ZodObject<{}, z.core.$strip>>>;
9
- error: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
8
+ data: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
9
+ error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10
10
  successfull: z.ZodNullable<z.ZodBoolean>;
11
11
  }, z.core.$strip>;
12
12
  declare const eterminDeleteAnchortimeByDate: import("@keystrokehq/action").WorkflowActionDefinition<{
13
13
  id: number;
14
- }, {
15
- successfull: boolean | null;
16
- data?: Record<string, never> | undefined;
17
- error?: string | undefined;
18
- }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
14
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
19
15
  //#endregion
20
16
  export { eterminDeleteAnchortimeByDate };
21
17
  //# sourceMappingURL=delete-anchortime-by-date.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"delete-anchortime-by-date.d.cts","names":[],"sources":["../../src/actions/delete-anchortime-by-date.ts"],"mappings":";;;cAIa,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;cAGlC,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;cAMnC,6BAAA,gCAA6B,wBAAA;;;;SAMxC,MAAA"}
1
+ {"version":3,"file":"delete-anchortime-by-date.d.cts","names":[],"sources":["../../src/actions/delete-anchortime-by-date.ts"],"mappings":";;;cAIa,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;cAGlC,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;cAMnC,6BAAA,gCAA6B,wBAAA"}
@@ -5,17 +5,13 @@ declare const EterminDeleteAnchortimeByDateInput: z.ZodObject<{
5
5
  id: z.ZodNumber;
6
6
  }, z.core.$strip>;
7
7
  declare const EterminDeleteAnchortimeByDateOutput: z.ZodObject<{
8
- data: z.ZodPreprocess<z.ZodOptional<z.ZodObject<{}, z.core.$strip>>>;
9
- error: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
8
+ data: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
9
+ error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10
10
  successfull: z.ZodNullable<z.ZodBoolean>;
11
11
  }, z.core.$strip>;
12
12
  declare const eterminDeleteAnchortimeByDate: import("@keystrokehq/action").WorkflowActionDefinition<{
13
13
  id: number;
14
- }, {
15
- successfull: boolean | null;
16
- data?: Record<string, never> | undefined;
17
- error?: string | undefined;
18
- }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
14
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
19
15
  //#endregion
20
16
  export { eterminDeleteAnchortimeByDate };
21
17
  //# sourceMappingURL=delete-anchortime-by-date.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"delete-anchortime-by-date.d.mts","names":[],"sources":["../../src/actions/delete-anchortime-by-date.ts"],"mappings":";;;cAIa,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;cAGlC,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;cAMnC,6BAAA,gCAA6B,wBAAA;;;;SAMxC,MAAA"}
1
+ {"version":3,"file":"delete-anchortime-by-date.d.mts","names":[],"sources":["../../src/actions/delete-anchortime-by-date.ts"],"mappings":";;;cAIa,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;cAGlC,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;cAMnC,6BAAA,gCAA6B,wBAAA"}
@@ -6,8 +6,8 @@ const eterminDeleteAnchortimeByDate = action("ETERMIN_DELETE_ANCHORTIME_BY_DATE"
6
6
  description: "Delete an anchortime by date using its ID. Use when you need to remove a specific anchortime entry by date. Returns a success indicator along with any error messages if the deletion fails.",
7
7
  input: z.object({ id: z.number().int().describe("ID of the anchortime by date to delete. This ID can be obtained from listing anchortimes.") }).describe("Request parameters for deleting an anchortime by date from eTermin."),
8
8
  output: z.object({
9
- data: z.preprocess((value) => value === null ? void 0 : value, z.object({}).describe("Additional response data from the API, if any. Typically null for DELETE operations.").optional()),
10
- error: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Error message if the operation failed, otherwise null.").optional()),
9
+ data: z.object({}).describe("Additional response data from the API, if any. Typically null for DELETE operations.").nullable().optional(),
10
+ error: z.string().describe("Error message if the operation failed, otherwise null.").nullable().optional(),
11
11
  successfull: z.boolean().describe("Indicates whether the delete operation was successful. Note: API uses 'successfull' (with two 'l's).").nullable()
12
12
  }).describe("Response schema for delete anchortime by date action.\nThe API returns a standardized response format with success indicator and optional error message.")
13
13
  });
@@ -1 +1 @@
1
- {"version":3,"file":"delete-anchortime-by-date.mjs","names":[],"sources":["../../src/actions/delete-anchortime-by-date.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminDeleteAnchortimeByDateInput = z.object({\n id: z.number().int().describe(\"ID of the anchortime by date to delete. This ID can be obtained from listing anchortimes.\"),\n}).describe(\"Request parameters for deleting an anchortime by date from eTermin.\");\nexport const EterminDeleteAnchortimeByDateOutput = z.object({\n data: z.preprocess((value) => (value === null ? undefined : value), z.object({}).describe(\"Additional response data from the API, if any. Typically null for DELETE operations.\").optional()),\n error: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Error message if the operation failed, otherwise null.\").optional()),\n successfull: z.boolean().describe(\"Indicates whether the delete operation was successful. Note: API uses 'successfull' (with two 'l's).\").nullable(),\n}).describe(\"Response schema for delete anchortime by date action.\\nThe API returns a standardized response format with success indicator and optional error message.\");\n\nexport const eterminDeleteAnchortimeByDate = action(\"ETERMIN_DELETE_ANCHORTIME_BY_DATE\", {\n slug: \"etermin-delete-anchortime-by-date\",\n name: \"Delete Anchortime By Date\",\n description: \"Delete an anchortime by date using its ID. Use when you need to remove a specific anchortime entry by date. Returns a success indicator along with any error messages if the deletion fails.\",\n input: EterminDeleteAnchortimeByDateInput,\n output: EterminDeleteAnchortimeByDateOutput,\n});\n"],"mappings":";;AAaA,MAAa,gCAAgC,OAAO,qCAAqC;CACvF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAbgD,EAAE,OAAO,EACzD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2FAA2F,EAC3H,CAAC,CAAC,CAAC,SAAS,qEAWH;CACP,QAXiD,EAAE,OAAO;EAC1D,MAAM,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS,CAAC;EAC5L,OAAO,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC;EAC7J,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,sGAAsG,CAAC,CAAC,SAAS;CACrJ,CAAC,CAAC,CAAC,SAAS,0JAOF;AACV,CAAC"}
1
+ {"version":3,"file":"delete-anchortime-by-date.mjs","names":[],"sources":["../../src/actions/delete-anchortime-by-date.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminDeleteAnchortimeByDateInput = z.object({\n id: z.number().int().describe(\"ID of the anchortime by date to delete. This ID can be obtained from listing anchortimes.\"),\n}).describe(\"Request parameters for deleting an anchortime by date from eTermin.\");\nexport const EterminDeleteAnchortimeByDateOutput = z.object({\n data: z.object({}).describe(\"Additional response data from the API, if any. Typically null for DELETE operations.\").nullable().optional(),\n error: z.string().describe(\"Error message if the operation failed, otherwise null.\").nullable().optional(),\n successfull: z.boolean().describe(\"Indicates whether the delete operation was successful. Note: API uses 'successfull' (with two 'l's).\").nullable(),\n}).describe(\"Response schema for delete anchortime by date action.\\nThe API returns a standardized response format with success indicator and optional error message.\");\n\nexport const eterminDeleteAnchortimeByDate = action(\"ETERMIN_DELETE_ANCHORTIME_BY_DATE\", {\n slug: \"etermin-delete-anchortime-by-date\",\n name: \"Delete Anchortime By Date\",\n description: \"Delete an anchortime by date using its ID. Use when you need to remove a specific anchortime entry by date. Returns a success indicator along with any error messages if the deletion fails.\",\n input: EterminDeleteAnchortimeByDateInput,\n output: EterminDeleteAnchortimeByDateOutput,\n});\n"],"mappings":";;AAaA,MAAa,gCAAgC,OAAO,qCAAqC;CACvF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAbgD,EAAE,OAAO,EACzD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2FAA2F,EAC3H,CAAC,CAAC,CAAC,SAAS,qEAWH;CACP,QAXiD,EAAE,OAAO;EAC1D,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxI,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzG,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,sGAAsG,CAAC,CAAC,SAAS;CACrJ,CAAC,CAAC,CAAC,SAAS,0JAOF;AACV,CAAC"}
@@ -3,7 +3,7 @@ let zod = require("zod");
3
3
  //#region src/actions/delete-anchortime.ts
4
4
  const EterminDeleteAnchortimeInput = zod.z.object({ id: zod.z.number().int().describe("ID of the anchortime to delete. Use this to identify which anchortime record should be removed from the system.") }).describe("Request parameters for deleting an anchortime from eTermin.");
5
5
  const EterminDeleteAnchortimeOutput = zod.z.object({
6
- message: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().default("").describe("Additional message about the deletion result").optional()),
6
+ message: zod.z.string().default("").describe("Additional message about the deletion result").nullable().optional(),
7
7
  success: zod.z.boolean().describe("Whether the anchortime was successfully deleted").nullable()
8
8
  }).describe("Response schema for delete anchortime action.");
9
9
  const eterminDeleteAnchortime = require_action.action("ETERMIN_DELETE_ANCHORTIME", {
@@ -1 +1 @@
1
- {"version":3,"file":"delete-anchortime.cjs","names":["z","action"],"sources":["../../src/actions/delete-anchortime.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminDeleteAnchortimeInput = z.object({\n id: z.number().int().describe(\"ID of the anchortime to delete. Use this to identify which anchortime record should be removed from the system.\"),\n}).describe(\"Request parameters for deleting an anchortime from eTermin.\");\nexport const EterminDeleteAnchortimeOutput = z.object({\n message: z.preprocess((value) => (value === null ? undefined : value), z.string().default(\"\").describe(\"Additional message about the deletion result\").optional()),\n success: z.boolean().describe(\"Whether the anchortime was successfully deleted\").nullable(),\n}).describe(\"Response schema for delete anchortime action.\");\n\nexport const eterminDeleteAnchortime = action(\"ETERMIN_DELETE_ANCHORTIME\", {\n slug: \"etermin-delete-anchortime\",\n name: \"Delete Anchortime\",\n description: \"Delete an anchortime from eTermin by its ID. Use this when you need to permanently remove an anchortime entry from the system. Note: This action is irreversible.\",\n input: EterminDeleteAnchortimeInput,\n output: EterminDeleteAnchortimeOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO,EACnD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iHAAiH,EACjJ,CAAC,CAAC,CAAC,SAAS,6DAA6D;AACzE,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,SAASA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC;CACjK,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;AAC5F,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAE3D,MAAa,0BAA0BC,eAAAA,OAAO,6BAA6B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"delete-anchortime.cjs","names":["z","action"],"sources":["../../src/actions/delete-anchortime.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminDeleteAnchortimeInput = z.object({\n id: z.number().int().describe(\"ID of the anchortime to delete. Use this to identify which anchortime record should be removed from the system.\"),\n}).describe(\"Request parameters for deleting an anchortime from eTermin.\");\nexport const EterminDeleteAnchortimeOutput = z.object({\n message: z.string().default(\"\").describe(\"Additional message about the deletion result\").nullable().optional(),\n success: z.boolean().describe(\"Whether the anchortime was successfully deleted\").nullable(),\n}).describe(\"Response schema for delete anchortime action.\");\n\nexport const eterminDeleteAnchortime = action(\"ETERMIN_DELETE_ANCHORTIME\", {\n slug: \"etermin-delete-anchortime\",\n name: \"Delete Anchortime\",\n description: \"Delete an anchortime from eTermin by its ID. Use this when you need to permanently remove an anchortime entry from the system. Note: This action is irreversible.\",\n input: EterminDeleteAnchortimeInput,\n output: EterminDeleteAnchortimeOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO,EACnD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iHAAiH,EACjJ,CAAC,CAAC,CAAC,SAAS,6DAA6D;AACzE,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;AAC5F,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAE3D,MAAa,0BAA0BC,eAAAA,OAAO,6BAA6B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -5,15 +5,12 @@ declare const EterminDeleteAnchortimeInput: z.ZodObject<{
5
5
  id: z.ZodNumber;
6
6
  }, z.core.$strip>;
7
7
  declare const EterminDeleteAnchortimeOutput: z.ZodObject<{
8
- message: z.ZodPreprocess<z.ZodOptional<z.ZodDefault<z.ZodString>>>;
8
+ message: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>;
9
9
  success: z.ZodNullable<z.ZodBoolean>;
10
10
  }, z.core.$strip>;
11
11
  declare const eterminDeleteAnchortime: import("@keystrokehq/action").WorkflowActionDefinition<{
12
12
  id: number;
13
- }, {
14
- success: boolean | null;
15
- message?: string | undefined;
16
- }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
13
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
17
14
  //#endregion
18
15
  export { eterminDeleteAnchortime };
19
16
  //# sourceMappingURL=delete-anchortime.d.cts.map
@@ -5,15 +5,12 @@ declare const EterminDeleteAnchortimeInput: z.ZodObject<{
5
5
  id: z.ZodNumber;
6
6
  }, z.core.$strip>;
7
7
  declare const EterminDeleteAnchortimeOutput: z.ZodObject<{
8
- message: z.ZodPreprocess<z.ZodOptional<z.ZodDefault<z.ZodString>>>;
8
+ message: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>;
9
9
  success: z.ZodNullable<z.ZodBoolean>;
10
10
  }, z.core.$strip>;
11
11
  declare const eterminDeleteAnchortime: import("@keystrokehq/action").WorkflowActionDefinition<{
12
12
  id: number;
13
- }, {
14
- success: boolean | null;
15
- message?: string | undefined;
16
- }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
13
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
17
14
  //#endregion
18
15
  export { eterminDeleteAnchortime };
19
16
  //# sourceMappingURL=delete-anchortime.d.mts.map
@@ -6,7 +6,7 @@ const eterminDeleteAnchortime = action("ETERMIN_DELETE_ANCHORTIME", {
6
6
  description: "Delete an anchortime from eTermin by its ID. Use this when you need to permanently remove an anchortime entry from the system. Note: This action is irreversible.",
7
7
  input: z.object({ id: z.number().int().describe("ID of the anchortime to delete. Use this to identify which anchortime record should be removed from the system.") }).describe("Request parameters for deleting an anchortime from eTermin."),
8
8
  output: z.object({
9
- message: z.preprocess((value) => value === null ? void 0 : value, z.string().default("").describe("Additional message about the deletion result").optional()),
9
+ message: z.string().default("").describe("Additional message about the deletion result").nullable().optional(),
10
10
  success: z.boolean().describe("Whether the anchortime was successfully deleted").nullable()
11
11
  }).describe("Response schema for delete anchortime action.")
12
12
  });
@@ -1 +1 @@
1
- {"version":3,"file":"delete-anchortime.mjs","names":[],"sources":["../../src/actions/delete-anchortime.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminDeleteAnchortimeInput = z.object({\n id: z.number().int().describe(\"ID of the anchortime to delete. Use this to identify which anchortime record should be removed from the system.\"),\n}).describe(\"Request parameters for deleting an anchortime from eTermin.\");\nexport const EterminDeleteAnchortimeOutput = z.object({\n message: z.preprocess((value) => (value === null ? undefined : value), z.string().default(\"\").describe(\"Additional message about the deletion result\").optional()),\n success: z.boolean().describe(\"Whether the anchortime was successfully deleted\").nullable(),\n}).describe(\"Response schema for delete anchortime action.\");\n\nexport const eterminDeleteAnchortime = action(\"ETERMIN_DELETE_ANCHORTIME\", {\n slug: \"etermin-delete-anchortime\",\n name: \"Delete Anchortime\",\n description: \"Delete an anchortime from eTermin by its ID. Use this when you need to permanently remove an anchortime entry from the system. Note: This action is irreversible.\",\n input: EterminDeleteAnchortimeInput,\n output: EterminDeleteAnchortimeOutput,\n});\n"],"mappings":";;AAYA,MAAa,0BAA0B,OAAO,6BAA6B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZ0C,EAAE,OAAO,EACnD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iHAAiH,EACjJ,CAAC,CAAC,CAAC,SAAS,6DAUH;CACP,QAV2C,EAAE,OAAO;EACpD,SAAS,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC;EACjK,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CAC5F,CAAC,CAAC,CAAC,SAAS,+CAOF;AACV,CAAC"}
1
+ {"version":3,"file":"delete-anchortime.mjs","names":[],"sources":["../../src/actions/delete-anchortime.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminDeleteAnchortimeInput = z.object({\n id: z.number().int().describe(\"ID of the anchortime to delete. Use this to identify which anchortime record should be removed from the system.\"),\n}).describe(\"Request parameters for deleting an anchortime from eTermin.\");\nexport const EterminDeleteAnchortimeOutput = z.object({\n message: z.string().default(\"\").describe(\"Additional message about the deletion result\").nullable().optional(),\n success: z.boolean().describe(\"Whether the anchortime was successfully deleted\").nullable(),\n}).describe(\"Response schema for delete anchortime action.\");\n\nexport const eterminDeleteAnchortime = action(\"ETERMIN_DELETE_ANCHORTIME\", {\n slug: \"etermin-delete-anchortime\",\n name: \"Delete Anchortime\",\n description: \"Delete an anchortime from eTermin by its ID. Use this when you need to permanently remove an anchortime entry from the system. Note: This action is irreversible.\",\n input: EterminDeleteAnchortimeInput,\n output: EterminDeleteAnchortimeOutput,\n});\n"],"mappings":";;AAYA,MAAa,0BAA0B,OAAO,6BAA6B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZ0C,EAAE,OAAO,EACnD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iHAAiH,EACjJ,CAAC,CAAC,CAAC,SAAS,6DAUH;CACP,QAV2C,EAAE,OAAO;EACpD,SAAS,EAAE,OAAO,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7G,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CAC5F,CAAC,CAAC,CAAC,SAAS,+CAOF;AACV,CAAC"}
@@ -9,7 +9,7 @@ const EterminDeleteAppointmentSyncInput = zod.z.object({
9
9
  const EterminDeleteAppointmentSyncOutput = zod.z.object({
10
10
  message: zod.z.string().describe("Response message from the API, typically in format 'N record(s) deleted'.").nullable(),
11
11
  success: zod.z.boolean().describe("Indicates whether the delete operation was successful.").nullable(),
12
- records_deleted: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.number().int().describe("Number of appointment records that were deleted.").optional())
12
+ records_deleted: zod.z.number().int().describe("Number of appointment records that were deleted.").nullable().optional()
13
13
  }).describe("Response model for appointment sync deletion.\nThe API returns a simple message indicating how many records were deleted.");
14
14
  const eterminDeleteAppointmentSync = require_action.action("ETERMIN_DELETE_APPOINTMENT_SYNC", {
15
15
  slug: "etermin-delete-appointment-sync",
@@ -1 +1 @@
1
- {"version":3,"file":"delete-appointment-sync.cjs","names":["z","action"],"sources":["../../src/actions/delete-appointment-sync.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminDeleteAppointmentSyncInput = z.object({\n end: z.string().describe(\"End date of the appointments to delete. Can be used with 'start' to delete appointments in a date range. Format: yyyyMMdd HHmmss\").optional(),\n start: z.string().describe(\"Start date of the appointments to delete. Can be used with 'end' to delete appointments in a date range. Format: yyyyMMdd HHmmss\").optional(),\n appointmentid: z.string().describe(\"ID of the specific appointment to delete. Use this to delete a single appointment by its unique identifier.\").optional(),\n}).describe(\"Request model for deleting appointments via the sync endpoint.\\nAt least one parameter must be provided to identify which appointment(s) to delete.\");\nexport const EterminDeleteAppointmentSyncOutput = z.object({\n message: z.string().describe(\"Response message from the API, typically in format 'N record(s) deleted'.\").nullable(),\n success: z.boolean().describe(\"Indicates whether the delete operation was successful.\").nullable(),\n records_deleted: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"Number of appointment records that were deleted.\").optional()),\n}).describe(\"Response model for appointment sync deletion.\\nThe API returns a simple message indicating how many records were deleted.\");\n\nexport const eterminDeleteAppointmentSync = action(\"ETERMIN_DELETE_APPOINTMENT_SYNC\", {\n slug: \"etermin-delete-appointment-sync\",\n name: \"Delete Appointment via Sync\",\n description: \"Tool to delete appointments via the sync endpoint. Use when you need to delete one or more appointments by ID or date range. Provide either an appointmentid for single deletion, or start/end dates for bulk deletion within a time range.\",\n input: EterminDeleteAppointmentSyncInput,\n output: EterminDeleteAppointmentSyncOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kIAAkI,CAAC,CAAC,SAAS;CACtK,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kIAAkI,CAAC,CAAC,SAAS;CACxK,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6GAA6G,CAAC,CAAC,SAAS;AAC7J,CAAC,CAAC,CAAC,SAAS,qJAAqJ;AACjK,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;CACnH,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CACjG,iBAAiBA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC;AACzK,CAAC,CAAC,CAAC,SAAS,2HAA2H;AAEvI,MAAa,+BAA+BC,eAAAA,OAAO,mCAAmC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"delete-appointment-sync.cjs","names":["z","action"],"sources":["../../src/actions/delete-appointment-sync.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminDeleteAppointmentSyncInput = z.object({\n end: z.string().describe(\"End date of the appointments to delete. Can be used with 'start' to delete appointments in a date range. Format: yyyyMMdd HHmmss\").optional(),\n start: z.string().describe(\"Start date of the appointments to delete. Can be used with 'end' to delete appointments in a date range. Format: yyyyMMdd HHmmss\").optional(),\n appointmentid: z.string().describe(\"ID of the specific appointment to delete. Use this to delete a single appointment by its unique identifier.\").optional(),\n}).describe(\"Request model for deleting appointments via the sync endpoint.\\nAt least one parameter must be provided to identify which appointment(s) to delete.\");\nexport const EterminDeleteAppointmentSyncOutput = z.object({\n message: z.string().describe(\"Response message from the API, typically in format 'N record(s) deleted'.\").nullable(),\n success: z.boolean().describe(\"Indicates whether the delete operation was successful.\").nullable(),\n records_deleted: z.number().int().describe(\"Number of appointment records that were deleted.\").nullable().optional(),\n}).describe(\"Response model for appointment sync deletion.\\nThe API returns a simple message indicating how many records were deleted.\");\n\nexport const eterminDeleteAppointmentSync = action(\"ETERMIN_DELETE_APPOINTMENT_SYNC\", {\n slug: \"etermin-delete-appointment-sync\",\n name: \"Delete Appointment via Sync\",\n description: \"Tool to delete appointments via the sync endpoint. Use when you need to delete one or more appointments by ID or date range. Provide either an appointmentid for single deletion, or start/end dates for bulk deletion within a time range.\",\n input: EterminDeleteAppointmentSyncInput,\n output: EterminDeleteAppointmentSyncOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kIAAkI,CAAC,CAAC,SAAS;CACtK,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kIAAkI,CAAC,CAAC,SAAS;CACxK,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6GAA6G,CAAC,CAAC,SAAS;AAC7J,CAAC,CAAC,CAAC,SAAS,qJAAqJ;AACjK,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;CACnH,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CACjG,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrH,CAAC,CAAC,CAAC,SAAS,2HAA2H;AAEvI,MAAa,+BAA+BC,eAAAA,OAAO,mCAAmC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -9,17 +9,13 @@ declare const EterminDeleteAppointmentSyncInput: z.ZodObject<{
9
9
  declare const EterminDeleteAppointmentSyncOutput: z.ZodObject<{
10
10
  message: z.ZodNullable<z.ZodString>;
11
11
  success: z.ZodNullable<z.ZodBoolean>;
12
- records_deleted: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
12
+ records_deleted: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
13
13
  }, z.core.$strip>;
14
14
  declare const eterminDeleteAppointmentSync: import("@keystrokehq/action").WorkflowActionDefinition<{
15
15
  end?: string | undefined;
16
16
  start?: string | undefined;
17
17
  appointmentid?: string | undefined;
18
- }, {
19
- message: string | null;
20
- success: boolean | null;
21
- records_deleted?: number | undefined;
22
- }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
18
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
23
19
  //#endregion
24
20
  export { eterminDeleteAppointmentSync };
25
21
  //# sourceMappingURL=delete-appointment-sync.d.cts.map