@keystrokehq/etermin 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (629) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/assign-calendar-service.cjs +3 -3
  4. package/dist/actions/assign-calendar-service.cjs.map +1 -1
  5. package/dist/actions/assign-calendar-service.d.cts +17 -3
  6. package/dist/actions/assign-calendar-service.d.cts.map +1 -1
  7. package/dist/actions/assign-calendar-service.d.mts +17 -3
  8. package/dist/actions/assign-calendar-service.d.mts.map +1 -1
  9. package/dist/actions/assign-calendar-service.mjs +3 -3
  10. package/dist/actions/assign-calendar-service.mjs.map +1 -1
  11. package/dist/actions/create-absence.cjs +3 -3
  12. package/dist/actions/create-absence.cjs.map +1 -1
  13. package/dist/actions/create-absence.d.cts +28 -3
  14. package/dist/actions/create-absence.d.cts.map +1 -1
  15. package/dist/actions/create-absence.d.mts +28 -3
  16. package/dist/actions/create-absence.d.mts.map +1 -1
  17. package/dist/actions/create-absence.mjs +3 -3
  18. package/dist/actions/create-absence.mjs.map +1 -1
  19. package/dist/actions/create-anchortime-by-date.cjs +2 -2
  20. package/dist/actions/create-anchortime-by-date.cjs.map +1 -1
  21. package/dist/actions/create-anchortime-by-date.d.cts +19 -3
  22. package/dist/actions/create-anchortime-by-date.d.cts.map +1 -1
  23. package/dist/actions/create-anchortime-by-date.d.mts +19 -3
  24. package/dist/actions/create-anchortime-by-date.d.mts.map +1 -1
  25. package/dist/actions/create-anchortime-by-date.mjs +2 -2
  26. package/dist/actions/create-anchortime-by-date.mjs.map +1 -1
  27. package/dist/actions/create-anchortime.cjs +2 -2
  28. package/dist/actions/create-anchortime.cjs.map +1 -1
  29. package/dist/actions/create-anchortime.d.cts +19 -3
  30. package/dist/actions/create-anchortime.d.cts.map +1 -1
  31. package/dist/actions/create-anchortime.d.mts +19 -3
  32. package/dist/actions/create-anchortime.d.mts.map +1 -1
  33. package/dist/actions/create-anchortime.mjs +2 -2
  34. package/dist/actions/create-anchortime.mjs.map +1 -1
  35. package/dist/actions/create-appointment-sync.cjs +3 -3
  36. package/dist/actions/create-appointment-sync.cjs.map +1 -1
  37. package/dist/actions/create-appointment-sync.d.cts +41 -3
  38. package/dist/actions/create-appointment-sync.d.cts.map +1 -1
  39. package/dist/actions/create-appointment-sync.d.mts +41 -3
  40. package/dist/actions/create-appointment-sync.d.mts.map +1 -1
  41. package/dist/actions/create-appointment-sync.mjs +3 -3
  42. package/dist/actions/create-appointment-sync.mjs.map +1 -1
  43. package/dist/actions/create-appointment.cjs +6 -6
  44. package/dist/actions/create-appointment.cjs.map +1 -1
  45. package/dist/actions/create-appointment.d.cts +163 -3
  46. package/dist/actions/create-appointment.d.cts.map +1 -1
  47. package/dist/actions/create-appointment.d.mts +163 -3
  48. package/dist/actions/create-appointment.d.mts.map +1 -1
  49. package/dist/actions/create-appointment.mjs +6 -6
  50. package/dist/actions/create-appointment.mjs.map +1 -1
  51. package/dist/actions/create-calendar-return-time.cjs +3 -3
  52. package/dist/actions/create-calendar-return-time.cjs.map +1 -1
  53. package/dist/actions/create-calendar-return-time.d.cts +23 -3
  54. package/dist/actions/create-calendar-return-time.d.cts.map +1 -1
  55. package/dist/actions/create-calendar-return-time.d.mts +23 -3
  56. package/dist/actions/create-calendar-return-time.d.mts.map +1 -1
  57. package/dist/actions/create-calendar-return-time.mjs +3 -3
  58. package/dist/actions/create-calendar-return-time.mjs.map +1 -1
  59. package/dist/actions/create-contact.cjs +5 -5
  60. package/dist/actions/create-contact.cjs.map +1 -1
  61. package/dist/actions/create-contact.d.cts +23 -3
  62. package/dist/actions/create-contact.d.cts.map +1 -1
  63. package/dist/actions/create-contact.d.mts +23 -3
  64. package/dist/actions/create-contact.d.mts.map +1 -1
  65. package/dist/actions/create-contact.mjs +5 -5
  66. package/dist/actions/create-contact.mjs.map +1 -1
  67. package/dist/actions/create-service-group.cjs +3 -3
  68. package/dist/actions/create-service-group.cjs.map +1 -1
  69. package/dist/actions/create-service-group.d.cts +56 -3
  70. package/dist/actions/create-service-group.d.cts.map +1 -1
  71. package/dist/actions/create-service-group.d.mts +56 -3
  72. package/dist/actions/create-service-group.d.mts.map +1 -1
  73. package/dist/actions/create-service-group.mjs +3 -3
  74. package/dist/actions/create-service-group.mjs.map +1 -1
  75. package/dist/actions/create-service.cjs +3 -3
  76. package/dist/actions/create-service.cjs.map +1 -1
  77. package/dist/actions/create-service.d.cts +237 -3
  78. package/dist/actions/create-service.d.cts.map +1 -1
  79. package/dist/actions/create-service.d.mts +237 -3
  80. package/dist/actions/create-service.d.mts.map +1 -1
  81. package/dist/actions/create-service.mjs +3 -3
  82. package/dist/actions/create-service.mjs.map +1 -1
  83. package/dist/actions/create-user.cjs +3 -3
  84. package/dist/actions/create-user.cjs.map +1 -1
  85. package/dist/actions/create-user.d.cts +31 -3
  86. package/dist/actions/create-user.d.cts.map +1 -1
  87. package/dist/actions/create-user.d.mts +31 -3
  88. package/dist/actions/create-user.d.mts.map +1 -1
  89. package/dist/actions/create-user.mjs +3 -3
  90. package/dist/actions/create-user.mjs.map +1 -1
  91. package/dist/actions/create-usermapping.cjs +3 -3
  92. package/dist/actions/create-usermapping.cjs.map +1 -1
  93. package/dist/actions/create-usermapping.d.cts +34 -3
  94. package/dist/actions/create-usermapping.d.cts.map +1 -1
  95. package/dist/actions/create-usermapping.d.mts +34 -3
  96. package/dist/actions/create-usermapping.d.mts.map +1 -1
  97. package/dist/actions/create-usermapping.mjs +3 -3
  98. package/dist/actions/create-usermapping.mjs.map +1 -1
  99. package/dist/actions/create-voucher.cjs +8 -8
  100. package/dist/actions/create-voucher.cjs.map +1 -1
  101. package/dist/actions/create-voucher.d.cts +36 -3
  102. package/dist/actions/create-voucher.d.cts.map +1 -1
  103. package/dist/actions/create-voucher.d.mts +36 -3
  104. package/dist/actions/create-voucher.d.mts.map +1 -1
  105. package/dist/actions/create-voucher.mjs +8 -8
  106. package/dist/actions/create-voucher.mjs.map +1 -1
  107. package/dist/actions/create-webhook.cjs +4 -4
  108. package/dist/actions/create-webhook.cjs.map +1 -1
  109. package/dist/actions/create-webhook.d.cts +29 -3
  110. package/dist/actions/create-webhook.d.cts.map +1 -1
  111. package/dist/actions/create-webhook.d.mts +29 -3
  112. package/dist/actions/create-webhook.d.mts.map +1 -1
  113. package/dist/actions/create-webhook.mjs +4 -4
  114. package/dist/actions/create-webhook.mjs.map +1 -1
  115. package/dist/actions/create-working-time.cjs +2 -2
  116. package/dist/actions/create-working-time.cjs.map +1 -1
  117. package/dist/actions/create-working-time.d.cts +35 -3
  118. package/dist/actions/create-working-time.d.cts.map +1 -1
  119. package/dist/actions/create-working-time.d.mts +35 -3
  120. package/dist/actions/create-working-time.d.mts.map +1 -1
  121. package/dist/actions/create-working-time.mjs +2 -2
  122. package/dist/actions/create-working-time.mjs.map +1 -1
  123. package/dist/actions/create-working-times-date.cjs +3 -3
  124. package/dist/actions/create-working-times-date.cjs.map +1 -1
  125. package/dist/actions/create-working-times-date.d.cts +39 -3
  126. package/dist/actions/create-working-times-date.d.cts.map +1 -1
  127. package/dist/actions/create-working-times-date.d.mts +39 -3
  128. package/dist/actions/create-working-times-date.d.mts.map +1 -1
  129. package/dist/actions/create-working-times-date.mjs +3 -3
  130. package/dist/actions/create-working-times-date.mjs.map +1 -1
  131. package/dist/actions/delete-absence.cjs +3 -3
  132. package/dist/actions/delete-absence.cjs.map +1 -1
  133. package/dist/actions/delete-absence.d.cts +15 -3
  134. package/dist/actions/delete-absence.d.cts.map +1 -1
  135. package/dist/actions/delete-absence.d.mts +15 -3
  136. package/dist/actions/delete-absence.d.mts.map +1 -1
  137. package/dist/actions/delete-absence.mjs +3 -3
  138. package/dist/actions/delete-absence.mjs.map +1 -1
  139. package/dist/actions/delete-anchortime-by-date.cjs +3 -3
  140. package/dist/actions/delete-anchortime-by-date.cjs.map +1 -1
  141. package/dist/actions/delete-anchortime-by-date.d.cts +15 -3
  142. package/dist/actions/delete-anchortime-by-date.d.cts.map +1 -1
  143. package/dist/actions/delete-anchortime-by-date.d.mts +15 -3
  144. package/dist/actions/delete-anchortime-by-date.d.mts.map +1 -1
  145. package/dist/actions/delete-anchortime-by-date.mjs +3 -3
  146. package/dist/actions/delete-anchortime-by-date.mjs.map +1 -1
  147. package/dist/actions/delete-anchortime.cjs +2 -2
  148. package/dist/actions/delete-anchortime.cjs.map +1 -1
  149. package/dist/actions/delete-anchortime.d.cts +13 -3
  150. package/dist/actions/delete-anchortime.d.cts.map +1 -1
  151. package/dist/actions/delete-anchortime.d.mts +13 -3
  152. package/dist/actions/delete-anchortime.d.mts.map +1 -1
  153. package/dist/actions/delete-anchortime.mjs +2 -2
  154. package/dist/actions/delete-anchortime.mjs.map +1 -1
  155. package/dist/actions/delete-appointment-sync.cjs +3 -3
  156. package/dist/actions/delete-appointment-sync.cjs.map +1 -1
  157. package/dist/actions/delete-appointment-sync.d.cts +19 -3
  158. package/dist/actions/delete-appointment-sync.d.cts.map +1 -1
  159. package/dist/actions/delete-appointment-sync.d.mts +19 -3
  160. package/dist/actions/delete-appointment-sync.d.mts.map +1 -1
  161. package/dist/actions/delete-appointment-sync.mjs +3 -3
  162. package/dist/actions/delete-appointment-sync.mjs.map +1 -1
  163. package/dist/actions/delete-appointment.cjs +3 -3
  164. package/dist/actions/delete-appointment.cjs.map +1 -1
  165. package/dist/actions/delete-appointment.d.cts +15 -3
  166. package/dist/actions/delete-appointment.d.cts.map +1 -1
  167. package/dist/actions/delete-appointment.d.mts +15 -3
  168. package/dist/actions/delete-appointment.d.mts.map +1 -1
  169. package/dist/actions/delete-appointment.mjs +3 -3
  170. package/dist/actions/delete-appointment.mjs.map +1 -1
  171. package/dist/actions/delete-calendar-return-time.cjs +2 -2
  172. package/dist/actions/delete-calendar-return-time.cjs.map +1 -1
  173. package/dist/actions/delete-calendar-return-time.d.cts +13 -3
  174. package/dist/actions/delete-calendar-return-time.d.cts.map +1 -1
  175. package/dist/actions/delete-calendar-return-time.d.mts +13 -3
  176. package/dist/actions/delete-calendar-return-time.d.mts.map +1 -1
  177. package/dist/actions/delete-calendar-return-time.mjs +2 -2
  178. package/dist/actions/delete-calendar-return-time.mjs.map +1 -1
  179. package/dist/actions/delete-calendar-service.cjs +2 -2
  180. package/dist/actions/delete-calendar-service.cjs.map +1 -1
  181. package/dist/actions/delete-calendar-service.d.cts +15 -3
  182. package/dist/actions/delete-calendar-service.d.cts.map +1 -1
  183. package/dist/actions/delete-calendar-service.d.mts +15 -3
  184. package/dist/actions/delete-calendar-service.d.mts.map +1 -1
  185. package/dist/actions/delete-calendar-service.mjs +2 -2
  186. package/dist/actions/delete-calendar-service.mjs.map +1 -1
  187. package/dist/actions/delete-calendar.cjs +3 -3
  188. package/dist/actions/delete-calendar.cjs.map +1 -1
  189. package/dist/actions/delete-calendar.d.cts +15 -3
  190. package/dist/actions/delete-calendar.d.cts.map +1 -1
  191. package/dist/actions/delete-calendar.d.mts +15 -3
  192. package/dist/actions/delete-calendar.d.mts.map +1 -1
  193. package/dist/actions/delete-calendar.mjs +3 -3
  194. package/dist/actions/delete-calendar.mjs.map +1 -1
  195. package/dist/actions/delete-contact.cjs +2 -2
  196. package/dist/actions/delete-contact.cjs.map +1 -1
  197. package/dist/actions/delete-contact.d.cts +13 -3
  198. package/dist/actions/delete-contact.d.cts.map +1 -1
  199. package/dist/actions/delete-contact.d.mts +13 -3
  200. package/dist/actions/delete-contact.d.mts.map +1 -1
  201. package/dist/actions/delete-contact.mjs +2 -2
  202. package/dist/actions/delete-contact.mjs.map +1 -1
  203. package/dist/actions/delete-resource.cjs +4 -4
  204. package/dist/actions/delete-resource.cjs.map +1 -1
  205. package/dist/actions/delete-resource.d.cts +19 -3
  206. package/dist/actions/delete-resource.d.cts.map +1 -1
  207. package/dist/actions/delete-resource.d.mts +19 -3
  208. package/dist/actions/delete-resource.d.mts.map +1 -1
  209. package/dist/actions/delete-resource.mjs +4 -4
  210. package/dist/actions/delete-resource.mjs.map +1 -1
  211. package/dist/actions/delete-service.cjs +3 -3
  212. package/dist/actions/delete-service.cjs.map +1 -1
  213. package/dist/actions/delete-service.d.cts +15 -3
  214. package/dist/actions/delete-service.d.cts.map +1 -1
  215. package/dist/actions/delete-service.d.mts +15 -3
  216. package/dist/actions/delete-service.d.mts.map +1 -1
  217. package/dist/actions/delete-service.mjs +3 -3
  218. package/dist/actions/delete-service.mjs.map +1 -1
  219. package/dist/actions/delete-servicegroup.cjs +2 -2
  220. package/dist/actions/delete-servicegroup.cjs.map +1 -1
  221. package/dist/actions/delete-servicegroup.d.cts +13 -3
  222. package/dist/actions/delete-servicegroup.d.cts.map +1 -1
  223. package/dist/actions/delete-servicegroup.d.mts +13 -3
  224. package/dist/actions/delete-servicegroup.d.mts.map +1 -1
  225. package/dist/actions/delete-servicegroup.mjs +2 -2
  226. package/dist/actions/delete-servicegroup.mjs.map +1 -1
  227. package/dist/actions/delete-user.cjs +2 -2
  228. package/dist/actions/delete-user.cjs.map +1 -1
  229. package/dist/actions/delete-user.d.cts +13 -3
  230. package/dist/actions/delete-user.d.cts.map +1 -1
  231. package/dist/actions/delete-user.d.mts +13 -3
  232. package/dist/actions/delete-user.d.mts.map +1 -1
  233. package/dist/actions/delete-user.mjs +2 -2
  234. package/dist/actions/delete-user.mjs.map +1 -1
  235. package/dist/actions/delete-usermapping.cjs +2 -2
  236. package/dist/actions/delete-usermapping.cjs.map +1 -1
  237. package/dist/actions/delete-usermapping.d.cts +13 -3
  238. package/dist/actions/delete-usermapping.d.cts.map +1 -1
  239. package/dist/actions/delete-usermapping.d.mts +13 -3
  240. package/dist/actions/delete-usermapping.d.mts.map +1 -1
  241. package/dist/actions/delete-usermapping.mjs +2 -2
  242. package/dist/actions/delete-usermapping.mjs.map +1 -1
  243. package/dist/actions/delete-voucher.cjs +2 -2
  244. package/dist/actions/delete-voucher.cjs.map +1 -1
  245. package/dist/actions/delete-voucher.d.cts +13 -3
  246. package/dist/actions/delete-voucher.d.cts.map +1 -1
  247. package/dist/actions/delete-voucher.d.mts +13 -3
  248. package/dist/actions/delete-voucher.d.mts.map +1 -1
  249. package/dist/actions/delete-voucher.mjs +2 -2
  250. package/dist/actions/delete-voucher.mjs.map +1 -1
  251. package/dist/actions/delete-webhook.cjs +2 -2
  252. package/dist/actions/delete-webhook.cjs.map +1 -1
  253. package/dist/actions/delete-webhook.d.cts +13 -3
  254. package/dist/actions/delete-webhook.d.cts.map +1 -1
  255. package/dist/actions/delete-webhook.d.mts +13 -3
  256. package/dist/actions/delete-webhook.d.mts.map +1 -1
  257. package/dist/actions/delete-webhook.mjs +2 -2
  258. package/dist/actions/delete-webhook.mjs.map +1 -1
  259. package/dist/actions/delete-working-times-date.cjs +2 -2
  260. package/dist/actions/delete-working-times-date.cjs.map +1 -1
  261. package/dist/actions/delete-working-times-date.d.cts +15 -3
  262. package/dist/actions/delete-working-times-date.d.cts.map +1 -1
  263. package/dist/actions/delete-working-times-date.d.mts +15 -3
  264. package/dist/actions/delete-working-times-date.d.mts.map +1 -1
  265. package/dist/actions/delete-working-times-date.mjs +2 -2
  266. package/dist/actions/delete-working-times-date.mjs.map +1 -1
  267. package/dist/actions/delete-working-times.cjs +2 -2
  268. package/dist/actions/delete-working-times.cjs.map +1 -1
  269. package/dist/actions/delete-working-times.d.cts +15 -3
  270. package/dist/actions/delete-working-times.d.cts.map +1 -1
  271. package/dist/actions/delete-working-times.d.mts +15 -3
  272. package/dist/actions/delete-working-times.d.mts.map +1 -1
  273. package/dist/actions/delete-working-times.mjs +2 -2
  274. package/dist/actions/delete-working-times.mjs.map +1 -1
  275. package/dist/actions/get-absences.cjs +7 -7
  276. package/dist/actions/get-absences.cjs.map +1 -1
  277. package/dist/actions/get-absences.d.cts +26 -3
  278. package/dist/actions/get-absences.d.cts.map +1 -1
  279. package/dist/actions/get-absences.d.mts +26 -3
  280. package/dist/actions/get-absences.d.mts.map +1 -1
  281. package/dist/actions/get-absences.mjs +7 -7
  282. package/dist/actions/get-absences.mjs.map +1 -1
  283. package/dist/actions/get-anchortime-date.cjs +5 -5
  284. package/dist/actions/get-anchortime-date.cjs.map +1 -1
  285. package/dist/actions/get-anchortime-date.d.cts +24 -3
  286. package/dist/actions/get-anchortime-date.d.cts.map +1 -1
  287. package/dist/actions/get-anchortime-date.d.mts +24 -3
  288. package/dist/actions/get-anchortime-date.d.mts.map +1 -1
  289. package/dist/actions/get-anchortime-date.mjs +5 -5
  290. package/dist/actions/get-anchortime-date.mjs.map +1 -1
  291. package/dist/actions/get-anchortimes.cjs +5 -5
  292. package/dist/actions/get-anchortimes.cjs.map +1 -1
  293. package/dist/actions/get-anchortimes.d.cts +24 -3
  294. package/dist/actions/get-anchortimes.d.cts.map +1 -1
  295. package/dist/actions/get-anchortimes.d.mts +24 -3
  296. package/dist/actions/get-anchortimes.d.mts.map +1 -1
  297. package/dist/actions/get-anchortimes.mjs +5 -5
  298. package/dist/actions/get-anchortimes.mjs.map +1 -1
  299. package/dist/actions/get-appointment-sync.cjs +73 -73
  300. package/dist/actions/get-appointment-sync.cjs.map +1 -1
  301. package/dist/actions/get-appointment-sync.d.cts +160 -3
  302. package/dist/actions/get-appointment-sync.d.cts.map +1 -1
  303. package/dist/actions/get-appointment-sync.d.mts +160 -3
  304. package/dist/actions/get-appointment-sync.d.mts.map +1 -1
  305. package/dist/actions/get-appointment-sync.mjs +73 -73
  306. package/dist/actions/get-appointment-sync.mjs.map +1 -1
  307. package/dist/actions/get-bookingpage-logs.cjs +5 -5
  308. package/dist/actions/get-bookingpage-logs.cjs.map +1 -1
  309. package/dist/actions/get-bookingpage-logs.d.cts +25 -3
  310. package/dist/actions/get-bookingpage-logs.d.cts.map +1 -1
  311. package/dist/actions/get-bookingpage-logs.d.mts +25 -3
  312. package/dist/actions/get-bookingpage-logs.d.mts.map +1 -1
  313. package/dist/actions/get-bookingpage-logs.mjs +5 -5
  314. package/dist/actions/get-bookingpage-logs.mjs.map +1 -1
  315. package/dist/actions/get-calendar-return-time.cjs +9 -9
  316. package/dist/actions/get-calendar-return-time.cjs.map +1 -1
  317. package/dist/actions/get-calendar-return-time.d.cts +30 -3
  318. package/dist/actions/get-calendar-return-time.d.cts.map +1 -1
  319. package/dist/actions/get-calendar-return-time.d.mts +30 -3
  320. package/dist/actions/get-calendar-return-time.d.mts.map +1 -1
  321. package/dist/actions/get-calendar-return-time.mjs +9 -9
  322. package/dist/actions/get-calendar-return-time.mjs.map +1 -1
  323. package/dist/actions/get-calendars.cjs +7 -7
  324. package/dist/actions/get-calendars.cjs.map +1 -1
  325. package/dist/actions/get-calendars.d.cts +24 -3
  326. package/dist/actions/get-calendars.d.cts.map +1 -1
  327. package/dist/actions/get-calendars.d.mts +24 -3
  328. package/dist/actions/get-calendars.d.mts.map +1 -1
  329. package/dist/actions/get-calendars.mjs +7 -7
  330. package/dist/actions/get-calendars.mjs.map +1 -1
  331. package/dist/actions/get-calendarservice.cjs +3 -3
  332. package/dist/actions/get-calendarservice.cjs.map +1 -1
  333. package/dist/actions/get-calendarservice.d.cts +20 -3
  334. package/dist/actions/get-calendarservice.d.cts.map +1 -1
  335. package/dist/actions/get-calendarservice.d.mts +20 -3
  336. package/dist/actions/get-calendarservice.d.mts.map +1 -1
  337. package/dist/actions/get-calendarservice.mjs +3 -3
  338. package/dist/actions/get-calendarservice.mjs.map +1 -1
  339. package/dist/actions/get-company.cjs +19 -19
  340. package/dist/actions/get-company.cjs.map +1 -1
  341. package/dist/actions/get-company.d.cts +48 -3
  342. package/dist/actions/get-company.d.cts.map +1 -1
  343. package/dist/actions/get-company.d.mts +48 -3
  344. package/dist/actions/get-company.d.mts.map +1 -1
  345. package/dist/actions/get-company.mjs +19 -19
  346. package/dist/actions/get-company.mjs.map +1 -1
  347. package/dist/actions/get-contact-by-id.cjs +50 -50
  348. package/dist/actions/get-contact-by-id.cjs.map +1 -1
  349. package/dist/actions/get-contact-by-id.d.cts +121 -3
  350. package/dist/actions/get-contact-by-id.d.cts.map +1 -1
  351. package/dist/actions/get-contact-by-id.d.mts +121 -3
  352. package/dist/actions/get-contact-by-id.d.mts.map +1 -1
  353. package/dist/actions/get-contact-by-id.mjs +50 -50
  354. package/dist/actions/get-contact-by-id.mjs.map +1 -1
  355. package/dist/actions/get-contacts.cjs +50 -50
  356. package/dist/actions/get-contacts.cjs.map +1 -1
  357. package/dist/actions/get-contacts.d.cts +109 -3
  358. package/dist/actions/get-contacts.d.cts.map +1 -1
  359. package/dist/actions/get-contacts.d.mts +109 -3
  360. package/dist/actions/get-contacts.d.mts.map +1 -1
  361. package/dist/actions/get-contacts.mjs +50 -50
  362. package/dist/actions/get-contacts.mjs.map +1 -1
  363. package/dist/actions/get-deleted-appointments.cjs +18 -18
  364. package/dist/actions/get-deleted-appointments.cjs.map +1 -1
  365. package/dist/actions/get-deleted-appointments.d.cts +52 -3
  366. package/dist/actions/get-deleted-appointments.d.cts.map +1 -1
  367. package/dist/actions/get-deleted-appointments.d.mts +52 -3
  368. package/dist/actions/get-deleted-appointments.d.mts.map +1 -1
  369. package/dist/actions/get-deleted-appointments.mjs +18 -18
  370. package/dist/actions/get-deleted-appointments.mjs.map +1 -1
  371. package/dist/actions/get-message-logs.cjs +9 -9
  372. package/dist/actions/get-message-logs.cjs.map +1 -1
  373. package/dist/actions/get-message-logs.d.cts +35 -3
  374. package/dist/actions/get-message-logs.d.cts.map +1 -1
  375. package/dist/actions/get-message-logs.d.mts +35 -3
  376. package/dist/actions/get-message-logs.d.mts.map +1 -1
  377. package/dist/actions/get-message-logs.mjs +9 -9
  378. package/dist/actions/get-message-logs.mjs.map +1 -1
  379. package/dist/actions/get-rating.cjs +11 -11
  380. package/dist/actions/get-rating.cjs.map +1 -1
  381. package/dist/actions/get-rating.d.cts +32 -3
  382. package/dist/actions/get-rating.d.cts.map +1 -1
  383. package/dist/actions/get-rating.d.mts +32 -3
  384. package/dist/actions/get-rating.d.mts.map +1 -1
  385. package/dist/actions/get-rating.mjs +11 -11
  386. package/dist/actions/get-rating.mjs.map +1 -1
  387. package/dist/actions/get-service-by-id.cjs +13 -13
  388. package/dist/actions/get-service-by-id.cjs.map +1 -1
  389. package/dist/actions/get-service-by-id.d.cts +40 -3
  390. package/dist/actions/get-service-by-id.d.cts.map +1 -1
  391. package/dist/actions/get-service-by-id.d.mts +40 -3
  392. package/dist/actions/get-service-by-id.d.mts.map +1 -1
  393. package/dist/actions/get-service-by-id.mjs +13 -13
  394. package/dist/actions/get-service-by-id.mjs.map +1 -1
  395. package/dist/actions/get-service-calendar.cjs +1 -1
  396. package/dist/actions/get-service-calendar.cjs.map +1 -1
  397. package/dist/actions/get-service-calendar.d.cts +16 -3
  398. package/dist/actions/get-service-calendar.d.cts.map +1 -1
  399. package/dist/actions/get-service-calendar.d.mts +16 -3
  400. package/dist/actions/get-service-calendar.d.mts.map +1 -1
  401. package/dist/actions/get-service-calendar.mjs +1 -1
  402. package/dist/actions/get-service-calendar.mjs.map +1 -1
  403. package/dist/actions/get-servicegroup.cjs +25 -25
  404. package/dist/actions/get-servicegroup.cjs.map +1 -1
  405. package/dist/actions/get-servicegroup.d.cts +66 -3
  406. package/dist/actions/get-servicegroup.d.cts.map +1 -1
  407. package/dist/actions/get-servicegroup.d.mts +66 -3
  408. package/dist/actions/get-servicegroup.d.mts.map +1 -1
  409. package/dist/actions/get-servicegroup.mjs +25 -25
  410. package/dist/actions/get-servicegroup.mjs.map +1 -1
  411. package/dist/actions/get-services.cjs +13 -13
  412. package/dist/actions/get-services.cjs.map +1 -1
  413. package/dist/actions/get-services.d.cts +36 -3
  414. package/dist/actions/get-services.d.cts.map +1 -1
  415. package/dist/actions/get-services.d.mts +36 -3
  416. package/dist/actions/get-services.d.mts.map +1 -1
  417. package/dist/actions/get-services.mjs +13 -13
  418. package/dist/actions/get-services.mjs.map +1 -1
  419. package/dist/actions/get-survey-results.cjs +6 -6
  420. package/dist/actions/get-survey-results.cjs.map +1 -1
  421. package/dist/actions/get-survey-results.d.cts +27 -3
  422. package/dist/actions/get-survey-results.d.cts.map +1 -1
  423. package/dist/actions/get-survey-results.d.mts +27 -3
  424. package/dist/actions/get-survey-results.d.mts.map +1 -1
  425. package/dist/actions/get-survey-results.mjs +6 -6
  426. package/dist/actions/get-survey-results.mjs.map +1 -1
  427. package/dist/actions/get-timeslots.cjs +4 -4
  428. package/dist/actions/get-timeslots.cjs.map +1 -1
  429. package/dist/actions/get-timeslots.d.cts +24 -3
  430. package/dist/actions/get-timeslots.d.cts.map +1 -1
  431. package/dist/actions/get-timeslots.d.mts +24 -3
  432. package/dist/actions/get-timeslots.d.mts.map +1 -1
  433. package/dist/actions/get-timeslots.mjs +4 -4
  434. package/dist/actions/get-timeslots.mjs.map +1 -1
  435. package/dist/actions/get-usermapping.cjs +7 -7
  436. package/dist/actions/get-usermapping.cjs.map +1 -1
  437. package/dist/actions/get-usermapping.d.cts +28 -3
  438. package/dist/actions/get-usermapping.d.cts.map +1 -1
  439. package/dist/actions/get-usermapping.d.mts +28 -3
  440. package/dist/actions/get-usermapping.d.mts.map +1 -1
  441. package/dist/actions/get-usermapping.mjs +7 -7
  442. package/dist/actions/get-usermapping.mjs.map +1 -1
  443. package/dist/actions/get-users.cjs +28 -28
  444. package/dist/actions/get-users.cjs.map +1 -1
  445. package/dist/actions/get-users.d.cts +65 -3
  446. package/dist/actions/get-users.d.cts.map +1 -1
  447. package/dist/actions/get-users.d.mts +65 -3
  448. package/dist/actions/get-users.d.mts.map +1 -1
  449. package/dist/actions/get-users.mjs +28 -28
  450. package/dist/actions/get-users.mjs.map +1 -1
  451. package/dist/actions/get-working-times-date.cjs +6 -6
  452. package/dist/actions/get-working-times-date.cjs.map +1 -1
  453. package/dist/actions/get-working-times-date.d.cts +24 -3
  454. package/dist/actions/get-working-times-date.d.cts.map +1 -1
  455. package/dist/actions/get-working-times-date.d.mts +24 -3
  456. package/dist/actions/get-working-times-date.d.mts.map +1 -1
  457. package/dist/actions/get-working-times-date.mjs +6 -6
  458. package/dist/actions/get-working-times-date.mjs.map +1 -1
  459. package/dist/actions/get-working-times.cjs +7 -7
  460. package/dist/actions/get-working-times.cjs.map +1 -1
  461. package/dist/actions/get-working-times.d.cts +26 -3
  462. package/dist/actions/get-working-times.d.cts.map +1 -1
  463. package/dist/actions/get-working-times.d.mts +26 -3
  464. package/dist/actions/get-working-times.d.mts.map +1 -1
  465. package/dist/actions/get-working-times.mjs +7 -7
  466. package/dist/actions/get-working-times.mjs.map +1 -1
  467. package/dist/actions/list-appointments.cjs +19 -19
  468. package/dist/actions/list-appointments.cjs.map +1 -1
  469. package/dist/actions/list-appointments.d.cts +76 -3
  470. package/dist/actions/list-appointments.d.cts.map +1 -1
  471. package/dist/actions/list-appointments.d.mts +76 -3
  472. package/dist/actions/list-appointments.d.mts.map +1 -1
  473. package/dist/actions/list-appointments.mjs +19 -19
  474. package/dist/actions/list-appointments.mjs.map +1 -1
  475. package/dist/actions/list-vouchers.cjs +19 -19
  476. package/dist/actions/list-vouchers.cjs.map +1 -1
  477. package/dist/actions/list-vouchers.d.cts +45 -3
  478. package/dist/actions/list-vouchers.d.cts.map +1 -1
  479. package/dist/actions/list-vouchers.d.mts +45 -3
  480. package/dist/actions/list-vouchers.d.mts.map +1 -1
  481. package/dist/actions/list-vouchers.mjs +19 -19
  482. package/dist/actions/list-vouchers.mjs.map +1 -1
  483. package/dist/actions/list-webhooks.cjs.map +1 -1
  484. package/dist/actions/list-webhooks.d.cts +7 -3
  485. package/dist/actions/list-webhooks.d.cts.map +1 -1
  486. package/dist/actions/list-webhooks.d.mts +7 -3
  487. package/dist/actions/list-webhooks.d.mts.map +1 -1
  488. package/dist/actions/list-webhooks.mjs.map +1 -1
  489. package/dist/actions/put-service.cjs +3 -3
  490. package/dist/actions/put-service.cjs.map +1 -1
  491. package/dist/actions/put-service.d.cts +239 -3
  492. package/dist/actions/put-service.d.cts.map +1 -1
  493. package/dist/actions/put-service.d.mts +239 -3
  494. package/dist/actions/put-service.d.mts.map +1 -1
  495. package/dist/actions/put-service.mjs +3 -3
  496. package/dist/actions/put-service.mjs.map +1 -1
  497. package/dist/actions/update-absence.cjs +3 -3
  498. package/dist/actions/update-absence.cjs.map +1 -1
  499. package/dist/actions/update-absence.d.cts +27 -3
  500. package/dist/actions/update-absence.d.cts.map +1 -1
  501. package/dist/actions/update-absence.d.mts +27 -3
  502. package/dist/actions/update-absence.d.mts.map +1 -1
  503. package/dist/actions/update-absence.mjs +3 -3
  504. package/dist/actions/update-absence.mjs.map +1 -1
  505. package/dist/actions/update-anchortime-by-date.cjs +2 -2
  506. package/dist/actions/update-anchortime-by-date.cjs.map +1 -1
  507. package/dist/actions/update-anchortime-by-date.d.cts +21 -3
  508. package/dist/actions/update-anchortime-by-date.d.cts.map +1 -1
  509. package/dist/actions/update-anchortime-by-date.d.mts +21 -3
  510. package/dist/actions/update-anchortime-by-date.d.mts.map +1 -1
  511. package/dist/actions/update-anchortime-by-date.mjs +2 -2
  512. package/dist/actions/update-anchortime-by-date.mjs.map +1 -1
  513. package/dist/actions/update-anchortime.cjs +4 -4
  514. package/dist/actions/update-anchortime.cjs.map +1 -1
  515. package/dist/actions/update-anchortime.d.cts +25 -3
  516. package/dist/actions/update-anchortime.d.cts.map +1 -1
  517. package/dist/actions/update-anchortime.d.mts +25 -3
  518. package/dist/actions/update-anchortime.d.mts.map +1 -1
  519. package/dist/actions/update-anchortime.mjs +4 -4
  520. package/dist/actions/update-anchortime.mjs.map +1 -1
  521. package/dist/actions/update-appointment.cjs +2 -2
  522. package/dist/actions/update-appointment.cjs.map +1 -1
  523. package/dist/actions/update-appointment.d.cts +121 -3
  524. package/dist/actions/update-appointment.d.cts.map +1 -1
  525. package/dist/actions/update-appointment.d.mts +121 -3
  526. package/dist/actions/update-appointment.d.mts.map +1 -1
  527. package/dist/actions/update-appointment.mjs +2 -2
  528. package/dist/actions/update-appointment.mjs.map +1 -1
  529. package/dist/actions/update-calendar-return-time.cjs +3 -3
  530. package/dist/actions/update-calendar-return-time.cjs.map +1 -1
  531. package/dist/actions/update-calendar-return-time.d.cts +25 -3
  532. package/dist/actions/update-calendar-return-time.d.cts.map +1 -1
  533. package/dist/actions/update-calendar-return-time.d.mts +25 -3
  534. package/dist/actions/update-calendar-return-time.d.mts.map +1 -1
  535. package/dist/actions/update-calendar-return-time.mjs +3 -3
  536. package/dist/actions/update-calendar-return-time.mjs.map +1 -1
  537. package/dist/actions/update-calendar.cjs +4 -4
  538. package/dist/actions/update-calendar.cjs.map +1 -1
  539. package/dist/actions/update-calendar.d.cts +35 -3
  540. package/dist/actions/update-calendar.d.cts.map +1 -1
  541. package/dist/actions/update-calendar.d.mts +35 -3
  542. package/dist/actions/update-calendar.d.mts.map +1 -1
  543. package/dist/actions/update-calendar.mjs +4 -4
  544. package/dist/actions/update-calendar.mjs.map +1 -1
  545. package/dist/actions/update-contact.cjs +5 -5
  546. package/dist/actions/update-contact.cjs.map +1 -1
  547. package/dist/actions/update-contact.d.cts +25 -3
  548. package/dist/actions/update-contact.d.cts.map +1 -1
  549. package/dist/actions/update-contact.d.mts +25 -3
  550. package/dist/actions/update-contact.d.mts.map +1 -1
  551. package/dist/actions/update-contact.mjs +5 -5
  552. package/dist/actions/update-contact.mjs.map +1 -1
  553. package/dist/actions/update-resource.cjs +4 -4
  554. package/dist/actions/update-resource.cjs.map +1 -1
  555. package/dist/actions/update-resource.d.cts +21 -3
  556. package/dist/actions/update-resource.d.cts.map +1 -1
  557. package/dist/actions/update-resource.d.mts +21 -3
  558. package/dist/actions/update-resource.d.mts.map +1 -1
  559. package/dist/actions/update-resource.mjs +4 -4
  560. package/dist/actions/update-resource.mjs.map +1 -1
  561. package/dist/actions/update-service-group.cjs +2 -2
  562. package/dist/actions/update-service-group.cjs.map +1 -1
  563. package/dist/actions/update-service-group.d.cts +61 -3
  564. package/dist/actions/update-service-group.d.cts.map +1 -1
  565. package/dist/actions/update-service-group.d.mts +61 -3
  566. package/dist/actions/update-service-group.d.mts.map +1 -1
  567. package/dist/actions/update-service-group.mjs +2 -2
  568. package/dist/actions/update-service-group.mjs.map +1 -1
  569. package/dist/actions/update-service.cjs.map +1 -1
  570. package/dist/actions/update-service.d.cts +21 -3
  571. package/dist/actions/update-service.d.cts.map +1 -1
  572. package/dist/actions/update-service.d.mts +21 -3
  573. package/dist/actions/update-service.d.mts.map +1 -1
  574. package/dist/actions/update-service.mjs.map +1 -1
  575. package/dist/actions/update-sync-appointment.cjs +3 -3
  576. package/dist/actions/update-sync-appointment.cjs.map +1 -1
  577. package/dist/actions/update-sync-appointment.d.cts +39 -3
  578. package/dist/actions/update-sync-appointment.d.cts.map +1 -1
  579. package/dist/actions/update-sync-appointment.d.mts +39 -3
  580. package/dist/actions/update-sync-appointment.d.mts.map +1 -1
  581. package/dist/actions/update-sync-appointment.mjs +3 -3
  582. package/dist/actions/update-sync-appointment.mjs.map +1 -1
  583. package/dist/actions/update-usermapping.cjs +2 -2
  584. package/dist/actions/update-usermapping.cjs.map +1 -1
  585. package/dist/actions/update-usermapping.d.cts +30 -3
  586. package/dist/actions/update-usermapping.d.cts.map +1 -1
  587. package/dist/actions/update-usermapping.d.mts +30 -3
  588. package/dist/actions/update-usermapping.d.mts.map +1 -1
  589. package/dist/actions/update-usermapping.mjs +2 -2
  590. package/dist/actions/update-usermapping.mjs.map +1 -1
  591. package/dist/actions/update-voucher.cjs +4 -4
  592. package/dist/actions/update-voucher.cjs.map +1 -1
  593. package/dist/actions/update-voucher.d.cts +19 -3
  594. package/dist/actions/update-voucher.d.cts.map +1 -1
  595. package/dist/actions/update-voucher.d.mts +19 -3
  596. package/dist/actions/update-voucher.d.mts.map +1 -1
  597. package/dist/actions/update-voucher.mjs +4 -4
  598. package/dist/actions/update-voucher.mjs.map +1 -1
  599. package/dist/actions/update-webhook.cjs +3 -3
  600. package/dist/actions/update-webhook.cjs.map +1 -1
  601. package/dist/actions/update-webhook.d.cts +17 -3
  602. package/dist/actions/update-webhook.d.cts.map +1 -1
  603. package/dist/actions/update-webhook.d.mts +17 -3
  604. package/dist/actions/update-webhook.d.mts.map +1 -1
  605. package/dist/actions/update-webhook.mjs +3 -3
  606. package/dist/actions/update-webhook.mjs.map +1 -1
  607. package/dist/actions/update-working-times-date.cjs +2 -2
  608. package/dist/actions/update-working-times-date.cjs.map +1 -1
  609. package/dist/actions/update-working-times-date.d.cts +39 -3
  610. package/dist/actions/update-working-times-date.d.cts.map +1 -1
  611. package/dist/actions/update-working-times-date.d.mts +39 -3
  612. package/dist/actions/update-working-times-date.d.mts.map +1 -1
  613. package/dist/actions/update-working-times-date.mjs +2 -2
  614. package/dist/actions/update-working-times-date.mjs.map +1 -1
  615. package/dist/actions/update-working-times.cjs +2 -2
  616. package/dist/actions/update-working-times.cjs.map +1 -1
  617. package/dist/actions/update-working-times.d.cts +61 -3
  618. package/dist/actions/update-working-times.d.cts.map +1 -1
  619. package/dist/actions/update-working-times.d.mts +61 -3
  620. package/dist/actions/update-working-times.d.mts.map +1 -1
  621. package/dist/actions/update-working-times.mjs +2 -2
  622. package/dist/actions/update-working-times.mjs.map +1 -1
  623. package/dist/catalog.cjs +24 -1
  624. package/dist/catalog.cjs.map +1 -1
  625. package/dist/catalog.d.cts +23 -0
  626. package/dist/catalog.d.mts +23 -0
  627. package/dist/catalog.mjs +24 -1
  628. package/dist/catalog.mjs.map +1 -1
  629. package/package.json +2 -2
@@ -1,9 +1,19 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/delete-user.d.ts
4
- declare const EterminDeleteUserInput: z.ZodTypeAny;
5
- declare const EterminDeleteUserOutput: z.ZodTypeAny;
6
- declare const eterminDeleteUser: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const EterminDeleteUserInput: z.ZodObject<{
5
+ userId: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const EterminDeleteUserOutput: z.ZodObject<{
8
+ message: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
9
+ success: z.ZodNullable<z.ZodBoolean>;
10
+ }, z.core.$strip>;
11
+ declare const eterminDeleteUser: import("@keystrokehq/action").WorkflowActionDefinition<{
12
+ userId: string;
13
+ }, {
14
+ success: boolean | null;
15
+ message?: string | undefined;
16
+ }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
17
  //#endregion
8
18
  export { eterminDeleteUser };
9
19
  //# sourceMappingURL=delete-user.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"delete-user.d.mts","names":[],"sources":["../../src/actions/delete-user.ts"],"mappings":";;;cAIa,sBAAA,EAAwB,CAAA,CAAE,UAEuB;AAAA,cACjD,uBAAA,EAAyB,CAAA,CAAE,UAGQ;AAAA,cAEnC,iBAAA,gCAAiB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"delete-user.d.mts","names":[],"sources":["../../src/actions/delete-user.ts"],"mappings":";;;cAIa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;cAGtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;cAKvB,iBAAA,gCAAiB,wBAAA"}
@@ -6,8 +6,8 @@ const eterminDeleteUser = action("ETERMIN_DELETE_USER", {
6
6
  description: "Deletes an existing user from the eTermin account. Use the get_users action first to retrieve the user ID. The deletion is idempotent - deleting a non-existent user will not cause an error.",
7
7
  input: z.object({ userId: z.string().describe("The unique identifier (UUID) of the user to delete. Obtain this ID from the get_users action.") }).describe("Request model for deleting a user from eTermin."),
8
8
  output: z.object({
9
- message: z.string().describe("Response message from the API, if any.").nullable().optional(),
10
- success: z.boolean().describe("Indicates whether the user deletion was successful.")
9
+ message: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Response message from the API, if any.").optional()),
10
+ success: z.boolean().describe("Indicates whether the user deletion was successful.").nullable()
11
11
  }).describe("Response model for user deletion.")
12
12
  });
13
13
  //#endregion
@@ -1 +1 @@
1
- {"version":3,"file":"delete-user.mjs","names":[],"sources":["../../src/actions/delete-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminDeleteUserInput: z.ZodTypeAny = z.object({\n userId: z.string().describe(\"The unique identifier (UUID) of the user to delete. Obtain this ID from the get_users action.\"),\n}).describe(\"Request model for deleting a user from eTermin.\");\nexport const EterminDeleteUserOutput: z.ZodTypeAny = z.object({\n message: z.string().describe(\"Response message from the API, if any.\").nullable().optional(),\n success: z.boolean().describe(\"Indicates whether the user deletion was successful.\"),\n}).describe(\"Response model for user deletion.\");\n\nexport const eterminDeleteUser = action(\"ETERMIN_DELETE_USER\", {\n slug: \"etermin-delete-user\",\n name: \"Delete User\",\n description: \"Deletes an existing user from the eTermin account. Use the get_users action first to retrieve the user ID. The deletion is idempotent - deleting a non-existent user will not cause an error.\",\n input: EterminDeleteUserInput,\n output: EterminDeleteUserOutput,\n});\n"],"mappings":";;AAYA,MAAa,oBAAoB,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZkD,EAAE,OAAO,EAC3D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,+FAA+F,EAC7H,CAAC,CAAC,CAAC,SAAS,iDAUH;CACP,QAVmD,EAAE,OAAO;EAC5D,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3F,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,qDAAqD;CACrF,CAAC,CAAC,CAAC,SAAS,mCAOF;AACV,CAAC"}
1
+ {"version":3,"file":"delete-user.mjs","names":[],"sources":["../../src/actions/delete-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminDeleteUserInput = z.object({\n userId: z.string().describe(\"The unique identifier (UUID) of the user to delete. Obtain this ID from the get_users action.\"),\n}).describe(\"Request model for deleting a user from eTermin.\");\nexport const EterminDeleteUserOutput = z.object({\n message: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Response message from the API, if any.\").optional()),\n success: z.boolean().describe(\"Indicates whether the user deletion was successful.\").nullable(),\n}).describe(\"Response model for user deletion.\");\n\nexport const eterminDeleteUser = action(\"ETERMIN_DELETE_USER\", {\n slug: \"etermin-delete-user\",\n name: \"Delete User\",\n description: \"Deletes an existing user from the eTermin account. Use the get_users action first to retrieve the user ID. The deletion is idempotent - deleting a non-existent user will not cause an error.\",\n input: EterminDeleteUserInput,\n output: EterminDeleteUserOutput,\n});\n"],"mappings":";;AAYA,MAAa,oBAAoB,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZoC,EAAE,OAAO,EAC7C,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,+FAA+F,EAC7H,CAAC,CAAC,CAAC,SAAS,iDAUH;CACP,QAVqC,EAAE,OAAO;EAC9C,SAAS,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC;EAC/I,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CAChG,CAAC,CAAC,CAAC,SAAS,mCAOF;AACV,CAAC"}
@@ -3,8 +3,8 @@ let zod = require("zod");
3
3
  //#region src/actions/delete-usermapping.ts
4
4
  const EterminDeleteUsermappingInput = zod.z.object({ id: zod.z.number().int().describe("ID of the usermapping to delete. This ID can be obtained from the list usermappings endpoint.") }).describe("Request model for deleting a usermapping from eTermin.");
5
5
  const EterminDeleteUsermappingOutput = zod.z.object({
6
- status: zod.z.number().describe("HTTP status code of the delete operation").nullable().optional(),
7
- statusmsg: zod.z.string().describe("Status message indicating the result of the deletion, e.g., '1 records deleted!'").nullable().optional()
6
+ status: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.number().describe("HTTP status code of the delete operation").optional()),
7
+ statusmsg: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Status message indicating the result of the deletion, e.g., '1 records deleted!'").optional())
8
8
  }).describe("Response model for usermapping deletion from eTermin API.");
9
9
  const eterminDeleteUsermapping = require_action.action("ETERMIN_DELETE_USERMAPPING", {
10
10
  slug: "etermin-delete-usermapping",
@@ -1 +1 @@
1
- {"version":3,"file":"delete-usermapping.cjs","names":["z","action"],"sources":["../../src/actions/delete-usermapping.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminDeleteUsermappingInput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"ID of the usermapping to delete. This ID can be obtained from the list usermappings endpoint.\"),\n}).describe(\"Request model for deleting a usermapping from eTermin.\");\nexport const EterminDeleteUsermappingOutput: z.ZodTypeAny = z.object({\n status: z.number().describe(\"HTTP status code of the delete operation\").nullable().optional(),\n statusmsg: z.string().describe(\"Status message indicating the result of the deletion, e.g., '1 records deleted!'\").nullable().optional(),\n}).describe(\"Response model for usermapping deletion from eTermin API.\");\n\nexport const eterminDeleteUsermapping = action(\"ETERMIN_DELETE_USERMAPPING\", {\n slug: \"etermin-delete-usermapping\",\n name: \"Delete Usermapping\",\n description: \"Delete a usermapping by its ID. Use this action when you need to remove a usermapping from the eTermin system.\",\n input: EterminDeleteUsermappingInput,\n output: EterminDeleteUsermappingOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAA8CA,IAAAA,EAAE,OAAO,EAClE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+FAA+F,EAC/H,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACpE,MAAa,iCAA+CA,IAAAA,EAAE,OAAO;CACnE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzI,CAAC,CAAC,CAAC,SAAS,2DAA2D;AAEvE,MAAa,2BAA2BC,eAAAA,OAAO,8BAA8B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"delete-usermapping.cjs","names":["z","action"],"sources":["../../src/actions/delete-usermapping.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminDeleteUsermappingInput = z.object({\n id: z.number().int().describe(\"ID of the usermapping to delete. This ID can be obtained from the list usermappings endpoint.\"),\n}).describe(\"Request model for deleting a usermapping from eTermin.\");\nexport const EterminDeleteUsermappingOutput = z.object({\n status: z.preprocess((value) => (value === null ? undefined : value), z.number().describe(\"HTTP status code of the delete operation\").optional()),\n statusmsg: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Status message indicating the result of the deletion, e.g., '1 records deleted!'\").optional()),\n}).describe(\"Response model for usermapping deletion from eTermin API.\");\n\nexport const eterminDeleteUsermapping = action(\"ETERMIN_DELETE_USERMAPPING\", {\n slug: \"etermin-delete-usermapping\",\n name: \"Delete Usermapping\",\n description: \"Delete a usermapping by its ID. Use this action when you need to remove a usermapping from the eTermin system.\",\n input: EterminDeleteUsermappingInput,\n output: EterminDeleteUsermappingOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO,EACpD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+FAA+F,EAC/H,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACpE,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,QAAQA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC;CAChJ,WAAWA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS,CAAC;AAC7L,CAAC,CAAC,CAAC,SAAS,2DAA2D;AAEvE,MAAa,2BAA2BC,eAAAA,OAAO,8BAA8B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,19 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/delete-usermapping.d.ts
4
- declare const EterminDeleteUsermappingInput: z.ZodTypeAny;
5
- declare const EterminDeleteUsermappingOutput: z.ZodTypeAny;
6
- declare const eterminDeleteUsermapping: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const EterminDeleteUsermappingInput: z.ZodObject<{
5
+ id: z.ZodNumber;
6
+ }, z.core.$strip>;
7
+ declare const EterminDeleteUsermappingOutput: z.ZodObject<{
8
+ status: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
9
+ statusmsg: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
10
+ }, z.core.$strip>;
11
+ declare const eterminDeleteUsermapping: import("@keystrokehq/action").WorkflowActionDefinition<{
12
+ id: number;
13
+ }, {
14
+ status?: number | undefined;
15
+ statusmsg?: string | undefined;
16
+ }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
17
  //#endregion
8
18
  export { eterminDeleteUsermapping };
9
19
  //# sourceMappingURL=delete-usermapping.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"delete-usermapping.d.cts","names":[],"sources":["../../src/actions/delete-usermapping.ts"],"mappings":";;;cAIa,6BAAA,EAA+B,CAAA,CAAE,UAEuB;AAAA,cACxD,8BAAA,EAAgC,CAAA,CAAE,UAGyB;AAAA,cAE3D,wBAAA,gCAAwB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"delete-usermapping.d.cts","names":[],"sources":["../../src/actions/delete-usermapping.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;cAG7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;cAK9B,wBAAA,gCAAwB,wBAAA"}
@@ -1,9 +1,19 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/delete-usermapping.d.ts
4
- declare const EterminDeleteUsermappingInput: z.ZodTypeAny;
5
- declare const EterminDeleteUsermappingOutput: z.ZodTypeAny;
6
- declare const eterminDeleteUsermapping: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const EterminDeleteUsermappingInput: z.ZodObject<{
5
+ id: z.ZodNumber;
6
+ }, z.core.$strip>;
7
+ declare const EterminDeleteUsermappingOutput: z.ZodObject<{
8
+ status: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
9
+ statusmsg: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
10
+ }, z.core.$strip>;
11
+ declare const eterminDeleteUsermapping: import("@keystrokehq/action").WorkflowActionDefinition<{
12
+ id: number;
13
+ }, {
14
+ status?: number | undefined;
15
+ statusmsg?: string | undefined;
16
+ }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
17
  //#endregion
8
18
  export { eterminDeleteUsermapping };
9
19
  //# sourceMappingURL=delete-usermapping.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"delete-usermapping.d.mts","names":[],"sources":["../../src/actions/delete-usermapping.ts"],"mappings":";;;cAIa,6BAAA,EAA+B,CAAA,CAAE,UAEuB;AAAA,cACxD,8BAAA,EAAgC,CAAA,CAAE,UAGyB;AAAA,cAE3D,wBAAA,gCAAwB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"delete-usermapping.d.mts","names":[],"sources":["../../src/actions/delete-usermapping.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;cAG7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;cAK9B,wBAAA,gCAAwB,wBAAA"}
@@ -6,8 +6,8 @@ const eterminDeleteUsermapping = action("ETERMIN_DELETE_USERMAPPING", {
6
6
  description: "Delete a usermapping by its ID. Use this action when you need to remove a usermapping from the eTermin system.",
7
7
  input: z.object({ id: z.number().int().describe("ID of the usermapping to delete. This ID can be obtained from the list usermappings endpoint.") }).describe("Request model for deleting a usermapping from eTermin."),
8
8
  output: z.object({
9
- status: z.number().describe("HTTP status code of the delete operation").nullable().optional(),
10
- statusmsg: z.string().describe("Status message indicating the result of the deletion, e.g., '1 records deleted!'").nullable().optional()
9
+ status: z.preprocess((value) => value === null ? void 0 : value, z.number().describe("HTTP status code of the delete operation").optional()),
10
+ statusmsg: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Status message indicating the result of the deletion, e.g., '1 records deleted!'").optional())
11
11
  }).describe("Response model for usermapping deletion from eTermin API.")
12
12
  });
13
13
  //#endregion
@@ -1 +1 @@
1
- {"version":3,"file":"delete-usermapping.mjs","names":[],"sources":["../../src/actions/delete-usermapping.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminDeleteUsermappingInput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"ID of the usermapping to delete. This ID can be obtained from the list usermappings endpoint.\"),\n}).describe(\"Request model for deleting a usermapping from eTermin.\");\nexport const EterminDeleteUsermappingOutput: z.ZodTypeAny = z.object({\n status: z.number().describe(\"HTTP status code of the delete operation\").nullable().optional(),\n statusmsg: z.string().describe(\"Status message indicating the result of the deletion, e.g., '1 records deleted!'\").nullable().optional(),\n}).describe(\"Response model for usermapping deletion from eTermin API.\");\n\nexport const eterminDeleteUsermapping = action(\"ETERMIN_DELETE_USERMAPPING\", {\n slug: \"etermin-delete-usermapping\",\n name: \"Delete Usermapping\",\n description: \"Delete a usermapping by its ID. Use this action when you need to remove a usermapping from the eTermin system.\",\n input: EterminDeleteUsermappingInput,\n output: EterminDeleteUsermappingOutput,\n});\n"],"mappings":";;AAYA,MAAa,2BAA2B,OAAO,8BAA8B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZyD,EAAE,OAAO,EAClE,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+FAA+F,EAC/H,CAAC,CAAC,CAAC,SAAS,wDAUH;CACP,QAV0D,EAAE,OAAO;EACnE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzI,CAAC,CAAC,CAAC,SAAS,2DAOF;AACV,CAAC"}
1
+ {"version":3,"file":"delete-usermapping.mjs","names":[],"sources":["../../src/actions/delete-usermapping.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminDeleteUsermappingInput = z.object({\n id: z.number().int().describe(\"ID of the usermapping to delete. This ID can be obtained from the list usermappings endpoint.\"),\n}).describe(\"Request model for deleting a usermapping from eTermin.\");\nexport const EterminDeleteUsermappingOutput = z.object({\n status: z.preprocess((value) => (value === null ? undefined : value), z.number().describe(\"HTTP status code of the delete operation\").optional()),\n statusmsg: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Status message indicating the result of the deletion, e.g., '1 records deleted!'\").optional()),\n}).describe(\"Response model for usermapping deletion from eTermin API.\");\n\nexport const eterminDeleteUsermapping = action(\"ETERMIN_DELETE_USERMAPPING\", {\n slug: \"etermin-delete-usermapping\",\n name: \"Delete Usermapping\",\n description: \"Delete a usermapping by its ID. Use this action when you need to remove a usermapping from the eTermin system.\",\n input: EterminDeleteUsermappingInput,\n output: EterminDeleteUsermappingOutput,\n});\n"],"mappings":";;AAYA,MAAa,2BAA2B,OAAO,8BAA8B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZ2C,EAAE,OAAO,EACpD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+FAA+F,EAC/H,CAAC,CAAC,CAAC,SAAS,wDAUH;CACP,QAV4C,EAAE,OAAO;EACrD,QAAQ,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC;EAChJ,WAAW,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS,CAAC;CAC7L,CAAC,CAAC,CAAC,SAAS,2DAOF;AACV,CAAC"}
@@ -3,8 +3,8 @@ let zod = require("zod");
3
3
  //#region src/actions/delete-voucher.ts
4
4
  const EterminDeleteVoucherInput = zod.z.object({ voucherId: zod.z.string().describe("The voucher code to delete. This is the 'id' field from the voucher object (e.g., 'SUMMER20', 'DISCOUNT50'), not the numeric internal ID (iid).") }).describe("Request model for deleting a voucher in eTermin.");
5
5
  const EterminDeleteVoucherOutput = zod.z.object({
6
- success: zod.z.boolean().describe("Whether the delete operation was successful. Returns true even if the voucher did not exist (idempotent behavior)."),
7
- deleted_id: zod.z.string().describe("The voucher code that was deleted, if provided by the API.").nullable().optional()
6
+ success: zod.z.boolean().describe("Whether the delete operation was successful. Returns true even if the voucher did not exist (idempotent behavior).").nullable(),
7
+ deleted_id: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("The voucher code that was deleted, if provided by the API.").optional())
8
8
  }).describe("Response schema for delete voucher action.");
9
9
  const eterminDeleteVoucher = require_action.action("ETERMIN_DELETE_VOUCHER", {
10
10
  slug: "etermin-delete-voucher",
@@ -1 +1 @@
1
- {"version":3,"file":"delete-voucher.cjs","names":["z","action"],"sources":["../../src/actions/delete-voucher.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminDeleteVoucherInput: z.ZodTypeAny = z.object({\n voucherId: z.string().describe(\"The voucher code to delete. This is the 'id' field from the voucher object (e.g., 'SUMMER20', 'DISCOUNT50'), not the numeric internal ID (iid).\"),\n}).describe(\"Request model for deleting a voucher in eTermin.\");\nexport const EterminDeleteVoucherOutput: z.ZodTypeAny = z.object({\n success: z.boolean().describe(\"Whether the delete operation was successful. Returns true even if the voucher did not exist (idempotent behavior).\"),\n deleted_id: z.string().describe(\"The voucher code that was deleted, if provided by the API.\").nullable().optional(),\n}).describe(\"Response schema for delete voucher action.\");\n\nexport const eterminDeleteVoucher = action(\"ETERMIN_DELETE_VOUCHER\", {\n slug: \"etermin-delete-voucher\",\n name: \"Delete Voucher\",\n description: \"Permanently deletes a voucher from eTermin by its voucher code. The operation is idempotent - deleting a non-existent voucher will still return success. Use the List Vouchers action first to get valid voucher codes if needed.\",\n input: EterminDeleteVoucherInput,\n output: EterminDeleteVoucherOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA0CA,IAAAA,EAAE,OAAO,EAC9D,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iJAAiJ,EAClL,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAC9D,MAAa,6BAA2CA,IAAAA,EAAE,OAAO;CAC/D,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,oHAAoH;CAClJ,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpH,CAAC,CAAC,CAAC,SAAS,4CAA4C;AAExD,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"delete-voucher.cjs","names":["z","action"],"sources":["../../src/actions/delete-voucher.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminDeleteVoucherInput = z.object({\n voucherId: z.string().describe(\"The voucher code to delete. This is the 'id' field from the voucher object (e.g., 'SUMMER20', 'DISCOUNT50'), not the numeric internal ID (iid).\"),\n}).describe(\"Request model for deleting a voucher in eTermin.\");\nexport const EterminDeleteVoucherOutput = z.object({\n success: z.boolean().describe(\"Whether the delete operation was successful. Returns true even if the voucher did not exist (idempotent behavior).\").nullable(),\n deleted_id: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"The voucher code that was deleted, if provided by the API.\").optional()),\n}).describe(\"Response schema for delete voucher action.\");\n\nexport const eterminDeleteVoucher = action(\"ETERMIN_DELETE_VOUCHER\", {\n slug: \"etermin-delete-voucher\",\n name: \"Delete Voucher\",\n description: \"Permanently deletes a voucher from eTermin by its voucher code. The operation is idempotent - deleting a non-existent voucher will still return success. Use the List Vouchers action first to get valid voucher codes if needed.\",\n input: EterminDeleteVoucherInput,\n output: EterminDeleteVoucherOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,EAChD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iJAAiJ,EAClL,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAC9D,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,oHAAoH,CAAC,CAAC,SAAS;CAC7J,YAAYA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC;AACxK,CAAC,CAAC,CAAC,SAAS,4CAA4C;AAExD,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,19 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/delete-voucher.d.ts
4
- declare const EterminDeleteVoucherInput: z.ZodTypeAny;
5
- declare const EterminDeleteVoucherOutput: z.ZodTypeAny;
6
- declare const eterminDeleteVoucher: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const EterminDeleteVoucherInput: z.ZodObject<{
5
+ voucherId: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const EterminDeleteVoucherOutput: z.ZodObject<{
8
+ success: z.ZodNullable<z.ZodBoolean>;
9
+ deleted_id: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
10
+ }, z.core.$strip>;
11
+ declare const eterminDeleteVoucher: import("@keystrokehq/action").WorkflowActionDefinition<{
12
+ voucherId: string;
13
+ }, {
14
+ success: boolean | null;
15
+ deleted_id?: string | undefined;
16
+ }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
17
  //#endregion
8
18
  export { eterminDeleteVoucher };
9
19
  //# sourceMappingURL=delete-voucher.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"delete-voucher.d.cts","names":[],"sources":["../../src/actions/delete-voucher.ts"],"mappings":";;;cAIa,yBAAA,EAA2B,CAAA,CAAE,UAEqB;AAAA,cAClD,0BAAA,EAA4B,CAAA,CAAE,UAGc;AAAA,cAE5C,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"delete-voucher.d.cts","names":[],"sources":["../../src/actions/delete-voucher.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;cAGzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;cAK1B,oBAAA,gCAAoB,wBAAA"}
@@ -1,9 +1,19 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/delete-voucher.d.ts
4
- declare const EterminDeleteVoucherInput: z.ZodTypeAny;
5
- declare const EterminDeleteVoucherOutput: z.ZodTypeAny;
6
- declare const eterminDeleteVoucher: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const EterminDeleteVoucherInput: z.ZodObject<{
5
+ voucherId: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const EterminDeleteVoucherOutput: z.ZodObject<{
8
+ success: z.ZodNullable<z.ZodBoolean>;
9
+ deleted_id: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
10
+ }, z.core.$strip>;
11
+ declare const eterminDeleteVoucher: import("@keystrokehq/action").WorkflowActionDefinition<{
12
+ voucherId: string;
13
+ }, {
14
+ success: boolean | null;
15
+ deleted_id?: string | undefined;
16
+ }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
17
  //#endregion
8
18
  export { eterminDeleteVoucher };
9
19
  //# sourceMappingURL=delete-voucher.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"delete-voucher.d.mts","names":[],"sources":["../../src/actions/delete-voucher.ts"],"mappings":";;;cAIa,yBAAA,EAA2B,CAAA,CAAE,UAEqB;AAAA,cAClD,0BAAA,EAA4B,CAAA,CAAE,UAGc;AAAA,cAE5C,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"delete-voucher.d.mts","names":[],"sources":["../../src/actions/delete-voucher.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;cAGzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;cAK1B,oBAAA,gCAAoB,wBAAA"}
@@ -6,8 +6,8 @@ const eterminDeleteVoucher = action("ETERMIN_DELETE_VOUCHER", {
6
6
  description: "Permanently deletes a voucher from eTermin by its voucher code. The operation is idempotent - deleting a non-existent voucher will still return success. Use the List Vouchers action first to get valid voucher codes if needed.",
7
7
  input: z.object({ voucherId: z.string().describe("The voucher code to delete. This is the 'id' field from the voucher object (e.g., 'SUMMER20', 'DISCOUNT50'), not the numeric internal ID (iid).") }).describe("Request model for deleting a voucher in eTermin."),
8
8
  output: z.object({
9
- success: z.boolean().describe("Whether the delete operation was successful. Returns true even if the voucher did not exist (idempotent behavior)."),
10
- deleted_id: z.string().describe("The voucher code that was deleted, if provided by the API.").nullable().optional()
9
+ success: z.boolean().describe("Whether the delete operation was successful. Returns true even if the voucher did not exist (idempotent behavior).").nullable(),
10
+ deleted_id: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("The voucher code that was deleted, if provided by the API.").optional())
11
11
  }).describe("Response schema for delete voucher action.")
12
12
  });
13
13
  //#endregion
@@ -1 +1 @@
1
- {"version":3,"file":"delete-voucher.mjs","names":[],"sources":["../../src/actions/delete-voucher.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminDeleteVoucherInput: z.ZodTypeAny = z.object({\n voucherId: z.string().describe(\"The voucher code to delete. This is the 'id' field from the voucher object (e.g., 'SUMMER20', 'DISCOUNT50'), not the numeric internal ID (iid).\"),\n}).describe(\"Request model for deleting a voucher in eTermin.\");\nexport const EterminDeleteVoucherOutput: z.ZodTypeAny = z.object({\n success: z.boolean().describe(\"Whether the delete operation was successful. Returns true even if the voucher did not exist (idempotent behavior).\"),\n deleted_id: z.string().describe(\"The voucher code that was deleted, if provided by the API.\").nullable().optional(),\n}).describe(\"Response schema for delete voucher action.\");\n\nexport const eterminDeleteVoucher = action(\"ETERMIN_DELETE_VOUCHER\", {\n slug: \"etermin-delete-voucher\",\n name: \"Delete Voucher\",\n description: \"Permanently deletes a voucher from eTermin by its voucher code. The operation is idempotent - deleting a non-existent voucher will still return success. Use the List Vouchers action first to get valid voucher codes if needed.\",\n input: EterminDeleteVoucherInput,\n output: EterminDeleteVoucherOutput,\n});\n"],"mappings":";;AAYA,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZqD,EAAE,OAAO,EAC9D,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,iJAAiJ,EAClL,CAAC,CAAC,CAAC,SAAS,kDAUH;CACP,QAVsD,EAAE,OAAO;EAC/D,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,oHAAoH;EAClJ,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpH,CAAC,CAAC,CAAC,SAAS,4CAOF;AACV,CAAC"}
1
+ {"version":3,"file":"delete-voucher.mjs","names":[],"sources":["../../src/actions/delete-voucher.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminDeleteVoucherInput = z.object({\n voucherId: z.string().describe(\"The voucher code to delete. This is the 'id' field from the voucher object (e.g., 'SUMMER20', 'DISCOUNT50'), not the numeric internal ID (iid).\"),\n}).describe(\"Request model for deleting a voucher in eTermin.\");\nexport const EterminDeleteVoucherOutput = z.object({\n success: z.boolean().describe(\"Whether the delete operation was successful. Returns true even if the voucher did not exist (idempotent behavior).\").nullable(),\n deleted_id: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"The voucher code that was deleted, if provided by the API.\").optional()),\n}).describe(\"Response schema for delete voucher action.\");\n\nexport const eterminDeleteVoucher = action(\"ETERMIN_DELETE_VOUCHER\", {\n slug: \"etermin-delete-voucher\",\n name: \"Delete Voucher\",\n description: \"Permanently deletes a voucher from eTermin by its voucher code. The operation is idempotent - deleting a non-existent voucher will still return success. Use the List Vouchers action first to get valid voucher codes if needed.\",\n input: EterminDeleteVoucherInput,\n output: EterminDeleteVoucherOutput,\n});\n"],"mappings":";;AAYA,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZuC,EAAE,OAAO,EAChD,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,iJAAiJ,EAClL,CAAC,CAAC,CAAC,SAAS,kDAUH;CACP,QAVwC,EAAE,OAAO;EACjD,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,oHAAoH,CAAC,CAAC,SAAS;EAC7J,YAAY,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC;CACxK,CAAC,CAAC,CAAC,SAAS,4CAOF;AACV,CAAC"}
@@ -3,8 +3,8 @@ let zod = require("zod");
3
3
  //#region src/actions/delete-webhook.ts
4
4
  const EterminDeleteWebhookInput = zod.z.object({ webhookId: zod.z.string().describe("Unique identifier (UUID) of the webhook to delete. Obtain this ID from the List Webhooks action.") }).describe("Request model for deleting a webhook.");
5
5
  const EterminDeleteWebhookOutput = zod.z.object({
6
- message: zod.z.string().describe("Informational message about the deletion outcome. Present when deletion is not supported via API for the tenant.").nullable().optional(),
7
- success: zod.z.boolean().default(true).describe("Indicates whether the deletion was successful. True if deletion succeeded or if API limitation was gracefully handled.").nullable().optional()
6
+ message: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Informational message about the deletion outcome. Present when deletion is not supported via API for the tenant.").optional()),
7
+ success: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.boolean().default(true).describe("Indicates whether the deletion was successful. True if deletion succeeded or if API limitation was gracefully handled.").optional())
8
8
  }).describe("Response model for delete webhook operation.");
9
9
  const eterminDeleteWebhook = require_action.action("ETERMIN_DELETE_WEBHOOK", {
10
10
  slug: "etermin-delete-webhook",
@@ -1 +1 @@
1
- {"version":3,"file":"delete-webhook.cjs","names":["z","action"],"sources":["../../src/actions/delete-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminDeleteWebhookInput: z.ZodTypeAny = z.object({\n webhookId: z.string().describe(\"Unique identifier (UUID) of the webhook to delete. Obtain this ID from the List Webhooks action.\"),\n}).describe(\"Request model for deleting a webhook.\");\nexport const EterminDeleteWebhookOutput: z.ZodTypeAny = z.object({\n message: z.string().describe(\"Informational message about the deletion outcome. Present when deletion is not supported via API for the tenant.\").nullable().optional(),\n success: z.boolean().default(true).describe(\"Indicates whether the deletion was successful. True if deletion succeeded or if API limitation was gracefully handled.\").nullable().optional(),\n}).describe(\"Response model for delete webhook operation.\");\n\nexport const eterminDeleteWebhook = action(\"ETERMIN_DELETE_WEBHOOK\", {\n slug: \"etermin-delete-webhook\",\n name: \"Delete Webhook\",\n description: \"Delete an existing webhook by its unique identifier. Note: eTermin's webhook deletion endpoint is undocumented. This action attempts multiple candidate endpoints and returns a graceful message if webhook deletion is not supported via API for the tenant. In that case, users should manage webhooks through the eTermin web UI.\",\n input: EterminDeleteWebhookInput,\n output: EterminDeleteWebhookOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA0CA,IAAAA,EAAE,OAAO,EAC9D,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kGAAkG,EACnI,CAAC,CAAC,CAAC,SAAS,uCAAuC;AACnD,MAAa,6BAA2CA,IAAAA,EAAE,OAAO;CAC/D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kHAAkH,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrK,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,wHAAwH,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5L,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-webhook.cjs","names":["z","action"],"sources":["../../src/actions/delete-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminDeleteWebhookInput = z.object({\n webhookId: z.string().describe(\"Unique identifier (UUID) of the webhook to delete. Obtain this ID from the List Webhooks action.\"),\n}).describe(\"Request model for deleting a webhook.\");\nexport const EterminDeleteWebhookOutput = z.object({\n message: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Informational message about the deletion outcome. Present when deletion is not supported via API for the tenant.\").optional()),\n success: z.preprocess((value) => (value === null ? undefined : value), z.boolean().default(true).describe(\"Indicates whether the deletion was successful. True if deletion succeeded or if API limitation was gracefully handled.\").optional()),\n}).describe(\"Response model for delete webhook operation.\");\n\nexport const eterminDeleteWebhook = action(\"ETERMIN_DELETE_WEBHOOK\", {\n slug: \"etermin-delete-webhook\",\n name: \"Delete Webhook\",\n description: \"Delete an existing webhook by its unique identifier. Note: eTermin's webhook deletion endpoint is undocumented. This action attempts multiple candidate endpoints and returns a graceful message if webhook deletion is not supported via API for the tenant. In that case, users should manage webhooks through the eTermin web UI.\",\n input: EterminDeleteWebhookInput,\n output: EterminDeleteWebhookOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,EAChD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kGAAkG,EACnI,CAAC,CAAC,CAAC,SAAS,uCAAuC;AACnD,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,SAASA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kHAAkH,CAAC,CAAC,SAAS,CAAC;CACzN,SAASA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,wHAAwH,CAAC,CAAC,SAAS,CAAC;AAChP,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAE1D,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,19 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/delete-webhook.d.ts
4
- declare const EterminDeleteWebhookInput: z.ZodTypeAny;
5
- declare const EterminDeleteWebhookOutput: z.ZodTypeAny;
6
- declare const eterminDeleteWebhook: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const EterminDeleteWebhookInput: z.ZodObject<{
5
+ webhookId: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const EterminDeleteWebhookOutput: z.ZodObject<{
8
+ message: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
9
+ success: z.ZodPreprocess<z.ZodOptional<z.ZodDefault<z.ZodBoolean>>>;
10
+ }, z.core.$strip>;
11
+ declare const eterminDeleteWebhook: import("@keystrokehq/action").WorkflowActionDefinition<{
12
+ webhookId: string;
13
+ }, {
14
+ message?: string | undefined;
15
+ success?: boolean | undefined;
16
+ }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
17
  //#endregion
8
18
  export { eterminDeleteWebhook };
9
19
  //# sourceMappingURL=delete-webhook.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"delete-webhook.d.cts","names":[],"sources":["../../src/actions/delete-webhook.ts"],"mappings":";;;cAIa,yBAAA,EAA2B,CAAA,CAAE,UAEU;AAAA,cACvC,0BAAA,EAA4B,CAAA,CAAE,UAGgB;AAAA,cAE9C,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"delete-webhook.d.cts","names":[],"sources":["../../src/actions/delete-webhook.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;cAGzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;cAK1B,oBAAA,gCAAoB,wBAAA"}
@@ -1,9 +1,19 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/delete-webhook.d.ts
4
- declare const EterminDeleteWebhookInput: z.ZodTypeAny;
5
- declare const EterminDeleteWebhookOutput: z.ZodTypeAny;
6
- declare const eterminDeleteWebhook: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const EterminDeleteWebhookInput: z.ZodObject<{
5
+ webhookId: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const EterminDeleteWebhookOutput: z.ZodObject<{
8
+ message: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
9
+ success: z.ZodPreprocess<z.ZodOptional<z.ZodDefault<z.ZodBoolean>>>;
10
+ }, z.core.$strip>;
11
+ declare const eterminDeleteWebhook: import("@keystrokehq/action").WorkflowActionDefinition<{
12
+ webhookId: string;
13
+ }, {
14
+ message?: string | undefined;
15
+ success?: boolean | undefined;
16
+ }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
17
  //#endregion
8
18
  export { eterminDeleteWebhook };
9
19
  //# sourceMappingURL=delete-webhook.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"delete-webhook.d.mts","names":[],"sources":["../../src/actions/delete-webhook.ts"],"mappings":";;;cAIa,yBAAA,EAA2B,CAAA,CAAE,UAEU;AAAA,cACvC,0BAAA,EAA4B,CAAA,CAAE,UAGgB;AAAA,cAE9C,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"delete-webhook.d.mts","names":[],"sources":["../../src/actions/delete-webhook.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;cAGzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;cAK1B,oBAAA,gCAAoB,wBAAA"}
@@ -6,8 +6,8 @@ const eterminDeleteWebhook = action("ETERMIN_DELETE_WEBHOOK", {
6
6
  description: "Delete an existing webhook by its unique identifier. Note: eTermin's webhook deletion endpoint is undocumented. This action attempts multiple candidate endpoints and returns a graceful message if webhook deletion is not supported via API for the tenant. In that case, users should manage webhooks through the eTermin web UI.",
7
7
  input: z.object({ webhookId: z.string().describe("Unique identifier (UUID) of the webhook to delete. Obtain this ID from the List Webhooks action.") }).describe("Request model for deleting a webhook."),
8
8
  output: z.object({
9
- message: z.string().describe("Informational message about the deletion outcome. Present when deletion is not supported via API for the tenant.").nullable().optional(),
10
- success: z.boolean().default(true).describe("Indicates whether the deletion was successful. True if deletion succeeded or if API limitation was gracefully handled.").nullable().optional()
9
+ message: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Informational message about the deletion outcome. Present when deletion is not supported via API for the tenant.").optional()),
10
+ success: z.preprocess((value) => value === null ? void 0 : value, z.boolean().default(true).describe("Indicates whether the deletion was successful. True if deletion succeeded or if API limitation was gracefully handled.").optional())
11
11
  }).describe("Response model for delete webhook operation.")
12
12
  });
13
13
  //#endregion
@@ -1 +1 @@
1
- {"version":3,"file":"delete-webhook.mjs","names":[],"sources":["../../src/actions/delete-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminDeleteWebhookInput: z.ZodTypeAny = z.object({\n webhookId: z.string().describe(\"Unique identifier (UUID) of the webhook to delete. Obtain this ID from the List Webhooks action.\"),\n}).describe(\"Request model for deleting a webhook.\");\nexport const EterminDeleteWebhookOutput: z.ZodTypeAny = z.object({\n message: z.string().describe(\"Informational message about the deletion outcome. Present when deletion is not supported via API for the tenant.\").nullable().optional(),\n success: z.boolean().default(true).describe(\"Indicates whether the deletion was successful. True if deletion succeeded or if API limitation was gracefully handled.\").nullable().optional(),\n}).describe(\"Response model for delete webhook operation.\");\n\nexport const eterminDeleteWebhook = action(\"ETERMIN_DELETE_WEBHOOK\", {\n slug: \"etermin-delete-webhook\",\n name: \"Delete Webhook\",\n description: \"Delete an existing webhook by its unique identifier. Note: eTermin's webhook deletion endpoint is undocumented. This action attempts multiple candidate endpoints and returns a graceful message if webhook deletion is not supported via API for the tenant. In that case, users should manage webhooks through the eTermin web UI.\",\n input: EterminDeleteWebhookInput,\n output: EterminDeleteWebhookOutput,\n});\n"],"mappings":";;AAYA,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZqD,EAAE,OAAO,EAC9D,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,kGAAkG,EACnI,CAAC,CAAC,CAAC,SAAS,uCAUH;CACP,QAVsD,EAAE,OAAO;EAC/D,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,kHAAkH,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrK,SAAS,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,wHAAwH,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5L,CAAC,CAAC,CAAC,SAAS,8CAOF;AACV,CAAC"}
1
+ {"version":3,"file":"delete-webhook.mjs","names":[],"sources":["../../src/actions/delete-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminDeleteWebhookInput = z.object({\n webhookId: z.string().describe(\"Unique identifier (UUID) of the webhook to delete. Obtain this ID from the List Webhooks action.\"),\n}).describe(\"Request model for deleting a webhook.\");\nexport const EterminDeleteWebhookOutput = z.object({\n message: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Informational message about the deletion outcome. Present when deletion is not supported via API for the tenant.\").optional()),\n success: z.preprocess((value) => (value === null ? undefined : value), z.boolean().default(true).describe(\"Indicates whether the deletion was successful. True if deletion succeeded or if API limitation was gracefully handled.\").optional()),\n}).describe(\"Response model for delete webhook operation.\");\n\nexport const eterminDeleteWebhook = action(\"ETERMIN_DELETE_WEBHOOK\", {\n slug: \"etermin-delete-webhook\",\n name: \"Delete Webhook\",\n description: \"Delete an existing webhook by its unique identifier. Note: eTermin's webhook deletion endpoint is undocumented. This action attempts multiple candidate endpoints and returns a graceful message if webhook deletion is not supported via API for the tenant. In that case, users should manage webhooks through the eTermin web UI.\",\n input: EterminDeleteWebhookInput,\n output: EterminDeleteWebhookOutput,\n});\n"],"mappings":";;AAYA,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZuC,EAAE,OAAO,EAChD,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,kGAAkG,EACnI,CAAC,CAAC,CAAC,SAAS,uCAUH;CACP,QAVwC,EAAE,OAAO;EACjD,SAAS,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,kHAAkH,CAAC,CAAC,SAAS,CAAC;EACzN,SAAS,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,wHAAwH,CAAC,CAAC,SAAS,CAAC;CAChP,CAAC,CAAC,CAAC,SAAS,8CAOF;AACV,CAAC"}
@@ -6,8 +6,8 @@ const EterminDeleteWorkingTimesDateInput = zod.z.object({
6
6
  calendarid: zod.z.number().int().describe("ID of the calendar, every working slot for specific days will be deleted").optional()
7
7
  }).describe("Request model for deleting working times date entries.\nAt least one of calendarid or id must be provided.");
8
8
  const EterminDeleteWorkingTimesDateOutput = zod.z.object({
9
- status: zod.z.number().describe("HTTP status code of the response").nullable().optional(),
10
- statusmsg: zod.z.string().describe("Status message indicating the result of the deletion").nullable().optional()
9
+ status: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.number().describe("HTTP status code of the response").optional()),
10
+ statusmsg: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Status message indicating the result of the deletion").optional())
11
11
  }).describe("Response model for working times date deletion.");
12
12
  const eterminDeleteWorkingTimesDate = require_action.action("ETERMIN_DELETE_WORKING_TIMES_DATE", {
13
13
  slug: "etermin-delete-working-times-date",
@@ -1 +1 @@
1
- {"version":3,"file":"delete-working-times-date.cjs","names":["z","action"],"sources":["../../src/actions/delete-working-times-date.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminDeleteWorkingTimesDateInput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"ID of the working time that needs to be deleted\").optional(),\n calendarid: z.number().int().describe(\"ID of the calendar, every working slot for specific days will be deleted\").optional(),\n}).describe(\"Request model for deleting working times date entries.\\nAt least one of calendarid or id must be provided.\");\nexport const EterminDeleteWorkingTimesDateOutput: z.ZodTypeAny = z.object({\n status: z.number().describe(\"HTTP status code of the response\").nullable().optional(),\n statusmsg: z.string().describe(\"Status message indicating the result of the deletion\").nullable().optional(),\n}).describe(\"Response model for working times date deletion.\");\n\nexport const eterminDeleteWorkingTimesDate = action(\"ETERMIN_DELETE_WORKING_TIMES_DATE\", {\n slug: \"etermin-delete-working-times-date\",\n name: \"Delete Working Times Date\",\n description: \"Tool to delete working times date entries from eTermin. Use when removing working time slots by calendar or specific ID. Provide either calendarid to delete all working slots for a calendar, or id to delete a specific working time entry.\",\n input: EterminDeleteWorkingTimesDateInput,\n output: EterminDeleteWorkingTimesDateOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAmDA,IAAAA,EAAE,OAAO;CACvE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CAC1F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;AAC7H,CAAC,CAAC,CAAC,SAAS,4GAA4G;AACxH,MAAa,sCAAoDA,IAAAA,EAAE,OAAO;CACxE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7G,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAE7D,MAAa,gCAAgCC,eAAAA,OAAO,qCAAqC;CACvF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"delete-working-times-date.cjs","names":["z","action"],"sources":["../../src/actions/delete-working-times-date.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminDeleteWorkingTimesDateInput = z.object({\n id: z.number().int().describe(\"ID of the working time that needs to be deleted\").optional(),\n calendarid: z.number().int().describe(\"ID of the calendar, every working slot for specific days will be deleted\").optional(),\n}).describe(\"Request model for deleting working times date entries.\\nAt least one of calendarid or id must be provided.\");\nexport const EterminDeleteWorkingTimesDateOutput = z.object({\n status: z.preprocess((value) => (value === null ? undefined : value), z.number().describe(\"HTTP status code of the response\").optional()),\n statusmsg: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Status message indicating the result of the deletion\").optional()),\n}).describe(\"Response model for working times date deletion.\");\n\nexport const eterminDeleteWorkingTimesDate = action(\"ETERMIN_DELETE_WORKING_TIMES_DATE\", {\n slug: \"etermin-delete-working-times-date\",\n name: \"Delete Working Times Date\",\n description: \"Tool to delete working times date entries from eTermin. Use when removing working time slots by calendar or specific ID. Provide either calendarid to delete all working slots for a calendar, or id to delete a specific working time entry.\",\n input: EterminDeleteWorkingTimesDateInput,\n output: EterminDeleteWorkingTimesDateOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CAC1F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;AAC7H,CAAC,CAAC,CAAC,SAAS,4GAA4G;AACxH,MAAa,sCAAsCA,IAAAA,EAAE,OAAO;CAC1D,QAAQA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC;CACxI,WAAWA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC;AACjK,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAE7D,MAAa,gCAAgCC,eAAAA,OAAO,qCAAqC;CACvF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,21 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/delete-working-times-date.d.ts
4
- declare const EterminDeleteWorkingTimesDateInput: z.ZodTypeAny;
5
- declare const EterminDeleteWorkingTimesDateOutput: z.ZodTypeAny;
6
- declare const eterminDeleteWorkingTimesDate: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const EterminDeleteWorkingTimesDateInput: z.ZodObject<{
5
+ id: z.ZodOptional<z.ZodNumber>;
6
+ calendarid: z.ZodOptional<z.ZodNumber>;
7
+ }, z.core.$strip>;
8
+ declare const EterminDeleteWorkingTimesDateOutput: z.ZodObject<{
9
+ status: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
10
+ statusmsg: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
11
+ }, z.core.$strip>;
12
+ declare const eterminDeleteWorkingTimesDate: import("@keystrokehq/action").WorkflowActionDefinition<{
13
+ id?: number | undefined;
14
+ calendarid?: number | undefined;
15
+ }, {
16
+ status?: number | undefined;
17
+ statusmsg?: string | undefined;
18
+ }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
19
  //#endregion
8
20
  export { eterminDeleteWorkingTimesDate };
9
21
  //# sourceMappingURL=delete-working-times-date.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"delete-working-times-date.d.cts","names":[],"sources":["../../src/actions/delete-working-times-date.ts"],"mappings":";;;cAIa,kCAAA,EAAoC,CAAA,CAAE,UAGsE;AAAA,cAC5G,mCAAA,EAAqC,CAAA,CAAE,UAGU;AAAA,cAEjD,6BAAA,gCAA6B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"delete-working-times-date.d.cts","names":[],"sources":["../../src/actions/delete-working-times-date.ts"],"mappings":";;;cAIa,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;cAIlC,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;cAKnC,6BAAA,gCAA6B,wBAAA"}
@@ -1,9 +1,21 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/delete-working-times-date.d.ts
4
- declare const EterminDeleteWorkingTimesDateInput: z.ZodTypeAny;
5
- declare const EterminDeleteWorkingTimesDateOutput: z.ZodTypeAny;
6
- declare const eterminDeleteWorkingTimesDate: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const EterminDeleteWorkingTimesDateInput: z.ZodObject<{
5
+ id: z.ZodOptional<z.ZodNumber>;
6
+ calendarid: z.ZodOptional<z.ZodNumber>;
7
+ }, z.core.$strip>;
8
+ declare const EterminDeleteWorkingTimesDateOutput: z.ZodObject<{
9
+ status: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
10
+ statusmsg: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
11
+ }, z.core.$strip>;
12
+ declare const eterminDeleteWorkingTimesDate: import("@keystrokehq/action").WorkflowActionDefinition<{
13
+ id?: number | undefined;
14
+ calendarid?: number | undefined;
15
+ }, {
16
+ status?: number | undefined;
17
+ statusmsg?: string | undefined;
18
+ }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
19
  //#endregion
8
20
  export { eterminDeleteWorkingTimesDate };
9
21
  //# sourceMappingURL=delete-working-times-date.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"delete-working-times-date.d.mts","names":[],"sources":["../../src/actions/delete-working-times-date.ts"],"mappings":";;;cAIa,kCAAA,EAAoC,CAAA,CAAE,UAGsE;AAAA,cAC5G,mCAAA,EAAqC,CAAA,CAAE,UAGU;AAAA,cAEjD,6BAAA,gCAA6B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"delete-working-times-date.d.mts","names":[],"sources":["../../src/actions/delete-working-times-date.ts"],"mappings":";;;cAIa,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;cAIlC,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;cAKnC,6BAAA,gCAA6B,wBAAA"}
@@ -9,8 +9,8 @@ const eterminDeleteWorkingTimesDate = action("ETERMIN_DELETE_WORKING_TIMES_DATE"
9
9
  calendarid: z.number().int().describe("ID of the calendar, every working slot for specific days will be deleted").optional()
10
10
  }).describe("Request model for deleting working times date entries.\nAt least one of calendarid or id must be provided."),
11
11
  output: z.object({
12
- status: z.number().describe("HTTP status code of the response").nullable().optional(),
13
- statusmsg: z.string().describe("Status message indicating the result of the deletion").nullable().optional()
12
+ status: z.preprocess((value) => value === null ? void 0 : value, z.number().describe("HTTP status code of the response").optional()),
13
+ statusmsg: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Status message indicating the result of the deletion").optional())
14
14
  }).describe("Response model for working times date deletion.")
15
15
  });
16
16
  //#endregion
@@ -1 +1 @@
1
- {"version":3,"file":"delete-working-times-date.mjs","names":[],"sources":["../../src/actions/delete-working-times-date.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminDeleteWorkingTimesDateInput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"ID of the working time that needs to be deleted\").optional(),\n calendarid: z.number().int().describe(\"ID of the calendar, every working slot for specific days will be deleted\").optional(),\n}).describe(\"Request model for deleting working times date entries.\\nAt least one of calendarid or id must be provided.\");\nexport const EterminDeleteWorkingTimesDateOutput: z.ZodTypeAny = z.object({\n status: z.number().describe(\"HTTP status code of the response\").nullable().optional(),\n statusmsg: z.string().describe(\"Status message indicating the result of the deletion\").nullable().optional(),\n}).describe(\"Response model for working times date deletion.\");\n\nexport const eterminDeleteWorkingTimesDate = action(\"ETERMIN_DELETE_WORKING_TIMES_DATE\", {\n slug: \"etermin-delete-working-times-date\",\n name: \"Delete Working Times Date\",\n description: \"Tool to delete working times date entries from eTermin. Use when removing working time slots by calendar or specific ID. Provide either calendarid to delete all working slots for a calendar, or id to delete a specific working time entry.\",\n input: EterminDeleteWorkingTimesDateInput,\n output: EterminDeleteWorkingTimesDateOutput,\n});\n"],"mappings":";;AAaA,MAAa,gCAAgC,OAAO,qCAAqC;CACvF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAb8D,EAAE,OAAO;EACvE,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;EAC1F,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;CAC7H,CAAC,CAAC,CAAC,SAAS,4GAUH;CACP,QAV+D,EAAE,OAAO;EACxE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,CAAC,CAAC,CAAC,SAAS,iDAOF;AACV,CAAC"}
1
+ {"version":3,"file":"delete-working-times-date.mjs","names":[],"sources":["../../src/actions/delete-working-times-date.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminDeleteWorkingTimesDateInput = z.object({\n id: z.number().int().describe(\"ID of the working time that needs to be deleted\").optional(),\n calendarid: z.number().int().describe(\"ID of the calendar, every working slot for specific days will be deleted\").optional(),\n}).describe(\"Request model for deleting working times date entries.\\nAt least one of calendarid or id must be provided.\");\nexport const EterminDeleteWorkingTimesDateOutput = z.object({\n status: z.preprocess((value) => (value === null ? undefined : value), z.number().describe(\"HTTP status code of the response\").optional()),\n statusmsg: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Status message indicating the result of the deletion\").optional()),\n}).describe(\"Response model for working times date deletion.\");\n\nexport const eterminDeleteWorkingTimesDate = action(\"ETERMIN_DELETE_WORKING_TIMES_DATE\", {\n slug: \"etermin-delete-working-times-date\",\n name: \"Delete Working Times Date\",\n description: \"Tool to delete working times date entries from eTermin. Use when removing working time slots by calendar or specific ID. Provide either calendarid to delete all working slots for a calendar, or id to delete a specific working time entry.\",\n input: EterminDeleteWorkingTimesDateInput,\n output: EterminDeleteWorkingTimesDateOutput,\n});\n"],"mappings":";;AAaA,MAAa,gCAAgC,OAAO,qCAAqC;CACvF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAbgD,EAAE,OAAO;EACzD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;EAC1F,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;CAC7H,CAAC,CAAC,CAAC,SAAS,4GAUH;CACP,QAViD,EAAE,OAAO;EAC1D,QAAQ,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC;EACxI,WAAW,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC;CACjK,CAAC,CAAC,CAAC,SAAS,iDAOF;AACV,CAAC"}
@@ -6,8 +6,8 @@ const EterminDeleteWorkingTimesInput = zod.z.object({
6
6
  calendarid: zod.z.number().int().describe("ID of the calendar whose working times should be deleted")
7
7
  }).describe("Request model for deleting working times from a calendar.");
8
8
  const EterminDeleteWorkingTimesOutput = zod.z.object({
9
- status: zod.z.number().describe("HTTP status code of the operation").nullable().optional(),
10
- statusmsg: zod.z.string().describe("Status message describing the result of the delete operation").nullable().optional()
9
+ status: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.number().describe("HTTP status code of the operation").optional()),
10
+ statusmsg: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Status message describing the result of the delete operation").optional())
11
11
  }).describe("Response model for delete working times operation.");
12
12
  const eterminDeleteWorkingTimes = require_action.action("ETERMIN_DELETE_WORKING_TIMES", {
13
13
  slug: "etermin-delete-working-times",
@@ -1 +1 @@
1
- {"version":3,"file":"delete-working-times.cjs","names":["z","action"],"sources":["../../src/actions/delete-working-times.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminDeleteWorkingTimesInput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"ID of the specific working time slot to delete. If not provided, every working slot of the calendar will be deleted\").optional(),\n calendarid: z.number().int().describe(\"ID of the calendar whose working times should be deleted\"),\n}).describe(\"Request model for deleting working times from a calendar.\");\nexport const EterminDeleteWorkingTimesOutput: z.ZodTypeAny = z.object({\n status: z.number().describe(\"HTTP status code of the operation\").nullable().optional(),\n statusmsg: z.string().describe(\"Status message describing the result of the delete operation\").nullable().optional(),\n}).describe(\"Response model for delete working times operation.\");\n\nexport const eterminDeleteWorkingTimes = action(\"ETERMIN_DELETE_WORKING_TIMES\", {\n slug: \"etermin-delete-working-times\",\n name: \"Delete Working Times\",\n description: \"Tool to delete working times from a calendar. Use when removing time slots or clearing all working times from a calendar. If no specific working time ID is provided, all working slots for the calendar will be deleted.\",\n input: EterminDeleteWorkingTimesInput,\n output: EterminDeleteWorkingTimesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAA+CA,IAAAA,EAAE,OAAO;CACnE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qHAAqH,CAAC,CAAC,SAAS;CAC9J,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0DAA0D;AAClG,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAa,kCAAgDA,IAAAA,EAAE,OAAO;CACpE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrH,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAEhE,MAAa,4BAA4BC,eAAAA,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"delete-working-times.cjs","names":["z","action"],"sources":["../../src/actions/delete-working-times.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminDeleteWorkingTimesInput = z.object({\n id: z.number().int().describe(\"ID of the specific working time slot to delete. If not provided, every working slot of the calendar will be deleted\").optional(),\n calendarid: z.number().int().describe(\"ID of the calendar whose working times should be deleted\"),\n}).describe(\"Request model for deleting working times from a calendar.\");\nexport const EterminDeleteWorkingTimesOutput = z.object({\n status: z.preprocess((value) => (value === null ? undefined : value), z.number().describe(\"HTTP status code of the operation\").optional()),\n statusmsg: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Status message describing the result of the delete operation\").optional()),\n}).describe(\"Response model for delete working times operation.\");\n\nexport const eterminDeleteWorkingTimes = action(\"ETERMIN_DELETE_WORKING_TIMES\", {\n slug: \"etermin-delete-working-times\",\n name: \"Delete Working Times\",\n description: \"Tool to delete working times from a calendar. Use when removing time slots or clearing all working times from a calendar. If no specific working time ID is provided, all working slots for the calendar will be deleted.\",\n input: EterminDeleteWorkingTimesInput,\n output: EterminDeleteWorkingTimesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qHAAqH,CAAC,CAAC,SAAS;CAC9J,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0DAA0D;AAClG,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,QAAQA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC;CACzI,WAAWA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC;AACzK,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAEhE,MAAa,4BAA4BC,eAAAA,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,21 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/delete-working-times.d.ts
4
- declare const EterminDeleteWorkingTimesInput: z.ZodTypeAny;
5
- declare const EterminDeleteWorkingTimesOutput: z.ZodTypeAny;
6
- declare const eterminDeleteWorkingTimes: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const EterminDeleteWorkingTimesInput: z.ZodObject<{
5
+ id: z.ZodOptional<z.ZodNumber>;
6
+ calendarid: z.ZodNumber;
7
+ }, z.core.$strip>;
8
+ declare const EterminDeleteWorkingTimesOutput: z.ZodObject<{
9
+ status: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
10
+ statusmsg: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
11
+ }, z.core.$strip>;
12
+ declare const eterminDeleteWorkingTimes: import("@keystrokehq/action").WorkflowActionDefinition<{
13
+ calendarid: number;
14
+ id?: number | undefined;
15
+ }, {
16
+ status?: number | undefined;
17
+ statusmsg?: string | undefined;
18
+ }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
19
  //#endregion
8
20
  export { eterminDeleteWorkingTimes };
9
21
  //# sourceMappingURL=delete-working-times.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"delete-working-times.d.cts","names":[],"sources":["../../src/actions/delete-working-times.ts"],"mappings":";;;cAIa,8BAAA,EAAgC,CAAA,CAAE,UAGyB;AAAA,cAC3D,+BAAA,EAAiC,CAAA,CAAE,UAGiB;AAAA,cAEpD,yBAAA,gCAAyB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"delete-working-times.d.cts","names":[],"sources":["../../src/actions/delete-working-times.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;cAI9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;cAK/B,yBAAA,gCAAyB,wBAAA"}