@keystrokehq/etermin 0.1.1 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (497) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/assign-calendar-service.cjs +4 -4
  4. package/dist/actions/assign-calendar-service.cjs.map +1 -1
  5. package/dist/actions/assign-calendar-service.d.cts +5 -9
  6. package/dist/actions/assign-calendar-service.d.mts +5 -9
  7. package/dist/actions/assign-calendar-service.mjs +4 -4
  8. package/dist/actions/assign-calendar-service.mjs.map +1 -1
  9. package/dist/actions/create-absence.cjs +3 -3
  10. package/dist/actions/create-absence.cjs.map +1 -1
  11. package/dist/actions/create-absence.d.cts +4 -9
  12. package/dist/actions/create-absence.d.mts +4 -9
  13. package/dist/actions/create-absence.mjs +3 -3
  14. package/dist/actions/create-absence.mjs.map +1 -1
  15. package/dist/actions/create-anchortime-by-date.cjs +1 -1
  16. package/dist/actions/create-anchortime-by-date.cjs.map +1 -1
  17. package/dist/actions/create-anchortime-by-date.d.cts +2 -5
  18. package/dist/actions/create-anchortime-by-date.d.mts +2 -5
  19. package/dist/actions/create-anchortime-by-date.mjs +1 -1
  20. package/dist/actions/create-anchortime-by-date.mjs.map +1 -1
  21. package/dist/actions/create-anchortime.cjs +1 -1
  22. package/dist/actions/create-anchortime.cjs.map +1 -1
  23. package/dist/actions/create-anchortime.d.cts +3 -6
  24. package/dist/actions/create-anchortime.d.mts +3 -6
  25. package/dist/actions/create-anchortime.mjs +1 -1
  26. package/dist/actions/create-anchortime.mjs.map +1 -1
  27. package/dist/actions/create-appointment-sync.cjs +2 -2
  28. package/dist/actions/create-appointment-sync.cjs.map +1 -1
  29. package/dist/actions/create-appointment-sync.d.cts +3 -7
  30. package/dist/actions/create-appointment-sync.d.mts +3 -7
  31. package/dist/actions/create-appointment-sync.mjs +2 -2
  32. package/dist/actions/create-appointment-sync.mjs.map +1 -1
  33. package/dist/actions/create-appointment.cjs +7 -7
  34. package/dist/actions/create-appointment.cjs.map +1 -1
  35. package/dist/actions/create-appointment.d.cts +8 -15
  36. package/dist/actions/create-appointment.d.mts +8 -15
  37. package/dist/actions/create-appointment.mjs +7 -7
  38. package/dist/actions/create-appointment.mjs.map +1 -1
  39. package/dist/actions/create-calendar-return-time.cjs +2 -2
  40. package/dist/actions/create-calendar-return-time.cjs.map +1 -1
  41. package/dist/actions/create-calendar-return-time.d.cts +4 -8
  42. package/dist/actions/create-calendar-return-time.d.mts +4 -8
  43. package/dist/actions/create-calendar-return-time.mjs +2 -2
  44. package/dist/actions/create-calendar-return-time.mjs.map +1 -1
  45. package/dist/actions/create-contact.cjs +1 -1
  46. package/dist/actions/create-contact.cjs.map +1 -1
  47. package/dist/actions/create-contact.d.cts +2 -8
  48. package/dist/actions/create-contact.d.mts +2 -8
  49. package/dist/actions/create-contact.mjs +1 -1
  50. package/dist/actions/create-contact.mjs.map +1 -1
  51. package/dist/actions/create-service-group.cjs +4 -4
  52. package/dist/actions/create-service-group.cjs.map +1 -1
  53. package/dist/actions/create-service-group.d.cts +5 -9
  54. package/dist/actions/create-service-group.d.mts +5 -9
  55. package/dist/actions/create-service-group.mjs +4 -4
  56. package/dist/actions/create-service-group.mjs.map +1 -1
  57. package/dist/actions/create-service.cjs +4 -4
  58. package/dist/actions/create-service.cjs.map +1 -1
  59. package/dist/actions/create-service.d.cts +5 -9
  60. package/dist/actions/create-service.d.mts +5 -9
  61. package/dist/actions/create-service.mjs +4 -4
  62. package/dist/actions/create-service.mjs.map +1 -1
  63. package/dist/actions/create-user.cjs +2 -2
  64. package/dist/actions/create-user.cjs.map +1 -1
  65. package/dist/actions/create-user.d.cts +3 -7
  66. package/dist/actions/create-user.d.mts +3 -7
  67. package/dist/actions/create-user.mjs +2 -2
  68. package/dist/actions/create-user.mjs.map +1 -1
  69. package/dist/actions/create-usermapping.cjs +4 -4
  70. package/dist/actions/create-usermapping.cjs.map +1 -1
  71. package/dist/actions/create-usermapping.d.cts +5 -9
  72. package/dist/actions/create-usermapping.d.mts +5 -9
  73. package/dist/actions/create-usermapping.mjs +4 -4
  74. package/dist/actions/create-usermapping.mjs.map +1 -1
  75. package/dist/actions/create-voucher.cjs +3 -3
  76. package/dist/actions/create-voucher.cjs.map +1 -1
  77. package/dist/actions/create-voucher.d.cts +4 -13
  78. package/dist/actions/create-voucher.d.mts +4 -13
  79. package/dist/actions/create-voucher.mjs +3 -3
  80. package/dist/actions/create-voucher.mjs.map +1 -1
  81. package/dist/actions/create-webhook.cjs +3 -3
  82. package/dist/actions/create-webhook.cjs.map +1 -1
  83. package/dist/actions/create-webhook.d.cts +4 -9
  84. package/dist/actions/create-webhook.d.cts.map +1 -1
  85. package/dist/actions/create-webhook.d.mts +4 -9
  86. package/dist/actions/create-webhook.d.mts.map +1 -1
  87. package/dist/actions/create-webhook.mjs +3 -3
  88. package/dist/actions/create-webhook.mjs.map +1 -1
  89. package/dist/actions/create-working-time.cjs +1 -1
  90. package/dist/actions/create-working-time.cjs.map +1 -1
  91. package/dist/actions/create-working-time.d.cts +2 -5
  92. package/dist/actions/create-working-time.d.mts +2 -5
  93. package/dist/actions/create-working-time.mjs +1 -1
  94. package/dist/actions/create-working-time.mjs.map +1 -1
  95. package/dist/actions/create-working-times-date.cjs +4 -4
  96. package/dist/actions/create-working-times-date.cjs.map +1 -1
  97. package/dist/actions/create-working-times-date.d.cts +5 -9
  98. package/dist/actions/create-working-times-date.d.mts +5 -9
  99. package/dist/actions/create-working-times-date.mjs +4 -4
  100. package/dist/actions/create-working-times-date.mjs.map +1 -1
  101. package/dist/actions/delete-absence.cjs +2 -2
  102. package/dist/actions/delete-absence.cjs.map +1 -1
  103. package/dist/actions/delete-absence.d.cts +3 -7
  104. package/dist/actions/delete-absence.d.mts +3 -7
  105. package/dist/actions/delete-absence.mjs +2 -2
  106. package/dist/actions/delete-absence.mjs.map +1 -1
  107. package/dist/actions/delete-anchortime-by-date.cjs +3 -3
  108. package/dist/actions/delete-anchortime-by-date.cjs.map +1 -1
  109. package/dist/actions/delete-anchortime-by-date.d.cts +4 -8
  110. package/dist/actions/delete-anchortime-by-date.d.cts.map +1 -1
  111. package/dist/actions/delete-anchortime-by-date.d.mts +4 -8
  112. package/dist/actions/delete-anchortime-by-date.d.mts.map +1 -1
  113. package/dist/actions/delete-anchortime-by-date.mjs +3 -3
  114. package/dist/actions/delete-anchortime-by-date.mjs.map +1 -1
  115. package/dist/actions/delete-anchortime.cjs +2 -2
  116. package/dist/actions/delete-anchortime.cjs.map +1 -1
  117. package/dist/actions/delete-anchortime.d.cts +3 -6
  118. package/dist/actions/delete-anchortime.d.mts +3 -6
  119. package/dist/actions/delete-anchortime.mjs +2 -2
  120. package/dist/actions/delete-anchortime.mjs.map +1 -1
  121. package/dist/actions/delete-appointment-sync.cjs +2 -2
  122. package/dist/actions/delete-appointment-sync.cjs.map +1 -1
  123. package/dist/actions/delete-appointment-sync.d.cts +3 -7
  124. package/dist/actions/delete-appointment-sync.d.mts +3 -7
  125. package/dist/actions/delete-appointment-sync.mjs +2 -2
  126. package/dist/actions/delete-appointment-sync.mjs.map +1 -1
  127. package/dist/actions/delete-appointment.cjs +3 -3
  128. package/dist/actions/delete-appointment.cjs.map +1 -1
  129. package/dist/actions/delete-appointment.d.cts +4 -8
  130. package/dist/actions/delete-appointment.d.cts.map +1 -1
  131. package/dist/actions/delete-appointment.d.mts +4 -8
  132. package/dist/actions/delete-appointment.d.mts.map +1 -1
  133. package/dist/actions/delete-appointment.mjs +3 -3
  134. package/dist/actions/delete-appointment.mjs.map +1 -1
  135. package/dist/actions/delete-calendar-return-time.cjs +2 -2
  136. package/dist/actions/delete-calendar-return-time.cjs.map +1 -1
  137. package/dist/actions/delete-calendar-return-time.d.cts +3 -6
  138. package/dist/actions/delete-calendar-return-time.d.mts +3 -6
  139. package/dist/actions/delete-calendar-return-time.mjs +2 -2
  140. package/dist/actions/delete-calendar-return-time.mjs.map +1 -1
  141. package/dist/actions/delete-calendar-service.cjs +2 -2
  142. package/dist/actions/delete-calendar-service.cjs.map +1 -1
  143. package/dist/actions/delete-calendar-service.d.cts +3 -6
  144. package/dist/actions/delete-calendar-service.d.mts +3 -6
  145. package/dist/actions/delete-calendar-service.mjs +2 -2
  146. package/dist/actions/delete-calendar-service.mjs.map +1 -1
  147. package/dist/actions/delete-calendar.cjs +2 -2
  148. package/dist/actions/delete-calendar.cjs.map +1 -1
  149. package/dist/actions/delete-calendar.d.cts +3 -7
  150. package/dist/actions/delete-calendar.d.mts +3 -7
  151. package/dist/actions/delete-calendar.mjs +2 -2
  152. package/dist/actions/delete-calendar.mjs.map +1 -1
  153. package/dist/actions/delete-contact.cjs +2 -2
  154. package/dist/actions/delete-contact.cjs.map +1 -1
  155. package/dist/actions/delete-contact.d.cts +3 -6
  156. package/dist/actions/delete-contact.d.mts +3 -6
  157. package/dist/actions/delete-contact.mjs +2 -2
  158. package/dist/actions/delete-contact.mjs.map +1 -1
  159. package/dist/actions/delete-resource.cjs +2 -2
  160. package/dist/actions/delete-resource.cjs.map +1 -1
  161. package/dist/actions/delete-resource.d.cts +3 -8
  162. package/dist/actions/delete-resource.d.mts +3 -8
  163. package/dist/actions/delete-resource.mjs +2 -2
  164. package/dist/actions/delete-resource.mjs.map +1 -1
  165. package/dist/actions/delete-service.cjs +4 -4
  166. package/dist/actions/delete-service.cjs.map +1 -1
  167. package/dist/actions/delete-service.d.cts +5 -9
  168. package/dist/actions/delete-service.d.mts +5 -9
  169. package/dist/actions/delete-service.mjs +4 -4
  170. package/dist/actions/delete-service.mjs.map +1 -1
  171. package/dist/actions/delete-servicegroup.cjs +3 -3
  172. package/dist/actions/delete-servicegroup.cjs.map +1 -1
  173. package/dist/actions/delete-servicegroup.d.cts +4 -7
  174. package/dist/actions/delete-servicegroup.d.mts +4 -7
  175. package/dist/actions/delete-servicegroup.mjs +3 -3
  176. package/dist/actions/delete-servicegroup.mjs.map +1 -1
  177. package/dist/actions/delete-user.cjs +2 -2
  178. package/dist/actions/delete-user.cjs.map +1 -1
  179. package/dist/actions/delete-user.d.cts +3 -6
  180. package/dist/actions/delete-user.d.mts +3 -6
  181. package/dist/actions/delete-user.mjs +2 -2
  182. package/dist/actions/delete-user.mjs.map +1 -1
  183. package/dist/actions/delete-usermapping.cjs +3 -3
  184. package/dist/actions/delete-usermapping.cjs.map +1 -1
  185. package/dist/actions/delete-usermapping.d.cts +4 -7
  186. package/dist/actions/delete-usermapping.d.mts +4 -7
  187. package/dist/actions/delete-usermapping.mjs +3 -3
  188. package/dist/actions/delete-usermapping.mjs.map +1 -1
  189. package/dist/actions/delete-voucher.cjs +2 -2
  190. package/dist/actions/delete-voucher.cjs.map +1 -1
  191. package/dist/actions/delete-voucher.d.cts +3 -6
  192. package/dist/actions/delete-voucher.d.mts +3 -6
  193. package/dist/actions/delete-voucher.mjs +2 -2
  194. package/dist/actions/delete-voucher.mjs.map +1 -1
  195. package/dist/actions/delete-webhook.cjs +3 -3
  196. package/dist/actions/delete-webhook.cjs.map +1 -1
  197. package/dist/actions/delete-webhook.d.cts +4 -7
  198. package/dist/actions/delete-webhook.d.mts +4 -7
  199. package/dist/actions/delete-webhook.mjs +3 -3
  200. package/dist/actions/delete-webhook.mjs.map +1 -1
  201. package/dist/actions/delete-working-times-date.cjs +3 -3
  202. package/dist/actions/delete-working-times-date.cjs.map +1 -1
  203. package/dist/actions/delete-working-times-date.d.cts +4 -7
  204. package/dist/actions/delete-working-times-date.d.mts +4 -7
  205. package/dist/actions/delete-working-times-date.mjs +3 -3
  206. package/dist/actions/delete-working-times-date.mjs.map +1 -1
  207. package/dist/actions/delete-working-times.cjs +3 -3
  208. package/dist/actions/delete-working-times.cjs.map +1 -1
  209. package/dist/actions/delete-working-times.d.cts +4 -7
  210. package/dist/actions/delete-working-times.d.mts +4 -7
  211. package/dist/actions/delete-working-times.mjs +3 -3
  212. package/dist/actions/delete-working-times.mjs.map +1 -1
  213. package/dist/actions/get-absences.cjs +7 -7
  214. package/dist/actions/get-absences.cjs.map +1 -1
  215. package/dist/actions/get-absences.d.cts +9 -19
  216. package/dist/actions/get-absences.d.mts +9 -19
  217. package/dist/actions/get-absences.mjs +7 -7
  218. package/dist/actions/get-absences.mjs.map +1 -1
  219. package/dist/actions/get-anchortime-date.cjs +6 -6
  220. package/dist/actions/get-anchortime-date.cjs.map +1 -1
  221. package/dist/actions/get-anchortime-date.d.cts +7 -16
  222. package/dist/actions/get-anchortime-date.d.mts +7 -16
  223. package/dist/actions/get-anchortime-date.mjs +6 -6
  224. package/dist/actions/get-anchortime-date.mjs.map +1 -1
  225. package/dist/actions/get-anchortimes.cjs +6 -6
  226. package/dist/actions/get-anchortimes.cjs.map +1 -1
  227. package/dist/actions/get-anchortimes.d.cts +7 -16
  228. package/dist/actions/get-anchortimes.d.mts +7 -16
  229. package/dist/actions/get-anchortimes.mjs +6 -6
  230. package/dist/actions/get-anchortimes.mjs.map +1 -1
  231. package/dist/actions/get-appointment-sync.cjs +74 -74
  232. package/dist/actions/get-appointment-sync.cjs.map +1 -1
  233. package/dist/actions/get-appointment-sync.d.cts +75 -152
  234. package/dist/actions/get-appointment-sync.d.mts +75 -152
  235. package/dist/actions/get-appointment-sync.mjs +74 -74
  236. package/dist/actions/get-appointment-sync.mjs.map +1 -1
  237. package/dist/actions/get-bookingpage-logs.cjs +7 -7
  238. package/dist/actions/get-bookingpage-logs.cjs.map +1 -1
  239. package/dist/actions/get-bookingpage-logs.d.cts +8 -16
  240. package/dist/actions/get-bookingpage-logs.d.mts +8 -16
  241. package/dist/actions/get-bookingpage-logs.mjs +7 -7
  242. package/dist/actions/get-bookingpage-logs.mjs.map +1 -1
  243. package/dist/actions/get-calendar-return-time.cjs +9 -9
  244. package/dist/actions/get-calendar-return-time.cjs.map +1 -1
  245. package/dist/actions/get-calendar-return-time.d.cts +11 -23
  246. package/dist/actions/get-calendar-return-time.d.mts +11 -23
  247. package/dist/actions/get-calendar-return-time.mjs +9 -9
  248. package/dist/actions/get-calendar-return-time.mjs.map +1 -1
  249. package/dist/actions/get-calendars.cjs +6 -6
  250. package/dist/actions/get-calendars.cjs.map +1 -1
  251. package/dist/actions/get-calendars.d.cts +7 -18
  252. package/dist/actions/get-calendars.d.cts.map +1 -1
  253. package/dist/actions/get-calendars.d.mts +7 -18
  254. package/dist/actions/get-calendars.d.mts.map +1 -1
  255. package/dist/actions/get-calendars.mjs +6 -6
  256. package/dist/actions/get-calendars.mjs.map +1 -1
  257. package/dist/actions/get-calendarservice.cjs +4 -4
  258. package/dist/actions/get-calendarservice.cjs.map +1 -1
  259. package/dist/actions/get-calendarservice.d.cts +5 -12
  260. package/dist/actions/get-calendarservice.d.mts +5 -12
  261. package/dist/actions/get-calendarservice.mjs +4 -4
  262. package/dist/actions/get-calendarservice.mjs.map +1 -1
  263. package/dist/actions/get-company.cjs +20 -20
  264. package/dist/actions/get-company.cjs.map +1 -1
  265. package/dist/actions/get-company.d.cts +21 -44
  266. package/dist/actions/get-company.d.cts.map +1 -1
  267. package/dist/actions/get-company.d.mts +21 -44
  268. package/dist/actions/get-company.d.mts.map +1 -1
  269. package/dist/actions/get-company.mjs +20 -20
  270. package/dist/actions/get-company.mjs.map +1 -1
  271. package/dist/actions/get-contact-by-id.cjs +51 -51
  272. package/dist/actions/get-contact-by-id.cjs.map +1 -1
  273. package/dist/actions/get-contact-by-id.d.cts +52 -105
  274. package/dist/actions/get-contact-by-id.d.mts +52 -105
  275. package/dist/actions/get-contact-by-id.mjs +51 -51
  276. package/dist/actions/get-contact-by-id.mjs.map +1 -1
  277. package/dist/actions/get-contacts.cjs +51 -51
  278. package/dist/actions/get-contacts.cjs.map +1 -1
  279. package/dist/actions/get-contacts.d.cts +52 -105
  280. package/dist/actions/get-contacts.d.cts.map +1 -1
  281. package/dist/actions/get-contacts.d.mts +52 -105
  282. package/dist/actions/get-contacts.d.mts.map +1 -1
  283. package/dist/actions/get-contacts.mjs +51 -51
  284. package/dist/actions/get-contacts.mjs.map +1 -1
  285. package/dist/actions/get-deleted-appointments.cjs +19 -19
  286. package/dist/actions/get-deleted-appointments.cjs.map +1 -1
  287. package/dist/actions/get-deleted-appointments.d.cts +20 -42
  288. package/dist/actions/get-deleted-appointments.d.mts +20 -42
  289. package/dist/actions/get-deleted-appointments.mjs +19 -19
  290. package/dist/actions/get-deleted-appointments.mjs.map +1 -1
  291. package/dist/actions/get-message-logs.cjs +11 -11
  292. package/dist/actions/get-message-logs.cjs.map +1 -1
  293. package/dist/actions/get-message-logs.d.cts +12 -24
  294. package/dist/actions/get-message-logs.d.mts +12 -24
  295. package/dist/actions/get-message-logs.mjs +11 -11
  296. package/dist/actions/get-message-logs.mjs.map +1 -1
  297. package/dist/actions/get-rating.cjs +12 -12
  298. package/dist/actions/get-rating.cjs.map +1 -1
  299. package/dist/actions/get-rating.d.cts +13 -28
  300. package/dist/actions/get-rating.d.cts.map +1 -1
  301. package/dist/actions/get-rating.d.mts +13 -28
  302. package/dist/actions/get-rating.d.mts.map +1 -1
  303. package/dist/actions/get-rating.mjs +12 -12
  304. package/dist/actions/get-rating.mjs.map +1 -1
  305. package/dist/actions/get-service-by-id.cjs +5 -5
  306. package/dist/actions/get-service-by-id.cjs.map +1 -1
  307. package/dist/actions/get-service-by-id.d.cts +6 -23
  308. package/dist/actions/get-service-by-id.d.mts +6 -23
  309. package/dist/actions/get-service-by-id.mjs +5 -5
  310. package/dist/actions/get-service-by-id.mjs.map +1 -1
  311. package/dist/actions/get-service-calendar.cjs +1 -1
  312. package/dist/actions/get-service-calendar.cjs.map +1 -1
  313. package/dist/actions/get-service-calendar.d.cts +2 -7
  314. package/dist/actions/get-service-calendar.d.mts +2 -7
  315. package/dist/actions/get-service-calendar.mjs +1 -1
  316. package/dist/actions/get-service-calendar.mjs.map +1 -1
  317. package/dist/actions/get-servicegroup.cjs +26 -26
  318. package/dist/actions/get-servicegroup.cjs.map +1 -1
  319. package/dist/actions/get-servicegroup.d.cts +27 -56
  320. package/dist/actions/get-servicegroup.d.mts +27 -56
  321. package/dist/actions/get-servicegroup.mjs +26 -26
  322. package/dist/actions/get-servicegroup.mjs.map +1 -1
  323. package/dist/actions/get-services.cjs +5 -5
  324. package/dist/actions/get-services.cjs.map +1 -1
  325. package/dist/actions/get-services.d.cts +6 -23
  326. package/dist/actions/get-services.d.cts.map +1 -1
  327. package/dist/actions/get-services.d.mts +6 -23
  328. package/dist/actions/get-services.d.mts.map +1 -1
  329. package/dist/actions/get-services.mjs +5 -5
  330. package/dist/actions/get-services.mjs.map +1 -1
  331. package/dist/actions/get-survey-results.cjs +8 -8
  332. package/dist/actions/get-survey-results.cjs.map +1 -1
  333. package/dist/actions/get-survey-results.d.cts +9 -18
  334. package/dist/actions/get-survey-results.d.mts +9 -18
  335. package/dist/actions/get-survey-results.mjs +8 -8
  336. package/dist/actions/get-survey-results.mjs.map +1 -1
  337. package/dist/actions/get-timeslots.cjs +5 -5
  338. package/dist/actions/get-timeslots.cjs.map +1 -1
  339. package/dist/actions/get-timeslots.d.cts +6 -14
  340. package/dist/actions/get-timeslots.d.mts +6 -14
  341. package/dist/actions/get-timeslots.mjs +5 -5
  342. package/dist/actions/get-timeslots.mjs.map +1 -1
  343. package/dist/actions/get-usermapping.cjs +8 -8
  344. package/dist/actions/get-usermapping.cjs.map +1 -1
  345. package/dist/actions/get-usermapping.d.cts +9 -20
  346. package/dist/actions/get-usermapping.d.mts +9 -20
  347. package/dist/actions/get-usermapping.mjs +8 -8
  348. package/dist/actions/get-usermapping.mjs.map +1 -1
  349. package/dist/actions/get-users.cjs +28 -28
  350. package/dist/actions/get-users.cjs.map +1 -1
  351. package/dist/actions/get-users.d.cts +29 -60
  352. package/dist/actions/get-users.d.cts.map +1 -1
  353. package/dist/actions/get-users.d.mts +29 -60
  354. package/dist/actions/get-users.d.mts.map +1 -1
  355. package/dist/actions/get-users.mjs +28 -28
  356. package/dist/actions/get-users.mjs.map +1 -1
  357. package/dist/actions/get-working-times-date.cjs +1 -1
  358. package/dist/actions/get-working-times-date.cjs.map +1 -1
  359. package/dist/actions/get-working-times-date.d.cts +3 -12
  360. package/dist/actions/get-working-times-date.d.mts +3 -12
  361. package/dist/actions/get-working-times-date.mjs +1 -1
  362. package/dist/actions/get-working-times-date.mjs.map +1 -1
  363. package/dist/actions/get-working-times.cjs +1 -1
  364. package/dist/actions/get-working-times.cjs.map +1 -1
  365. package/dist/actions/get-working-times.d.cts +3 -13
  366. package/dist/actions/get-working-times.d.mts +3 -13
  367. package/dist/actions/get-working-times.mjs +1 -1
  368. package/dist/actions/get-working-times.mjs.map +1 -1
  369. package/dist/actions/list-appointments.cjs +20 -20
  370. package/dist/actions/list-appointments.cjs.map +1 -1
  371. package/dist/actions/list-appointments.d.cts +21 -44
  372. package/dist/actions/list-appointments.d.mts +21 -44
  373. package/dist/actions/list-appointments.mjs +20 -20
  374. package/dist/actions/list-appointments.mjs.map +1 -1
  375. package/dist/actions/list-vouchers.cjs +20 -20
  376. package/dist/actions/list-vouchers.cjs.map +1 -1
  377. package/dist/actions/list-vouchers.d.cts +22 -43
  378. package/dist/actions/list-vouchers.d.cts.map +1 -1
  379. package/dist/actions/list-vouchers.d.mts +22 -43
  380. package/dist/actions/list-vouchers.d.mts.map +1 -1
  381. package/dist/actions/list-vouchers.mjs +20 -20
  382. package/dist/actions/list-vouchers.mjs.map +1 -1
  383. package/dist/actions/list-webhooks.cjs +1 -1
  384. package/dist/actions/list-webhooks.cjs.map +1 -1
  385. package/dist/actions/list-webhooks.d.cts +2 -4
  386. package/dist/actions/list-webhooks.d.cts.map +1 -1
  387. package/dist/actions/list-webhooks.d.mts +2 -4
  388. package/dist/actions/list-webhooks.d.mts.map +1 -1
  389. package/dist/actions/list-webhooks.mjs +1 -1
  390. package/dist/actions/list-webhooks.mjs.map +1 -1
  391. package/dist/actions/put-service.cjs +4 -4
  392. package/dist/actions/put-service.cjs.map +1 -1
  393. package/dist/actions/put-service.d.cts +5 -9
  394. package/dist/actions/put-service.d.mts +5 -9
  395. package/dist/actions/put-service.mjs +4 -4
  396. package/dist/actions/put-service.mjs.map +1 -1
  397. package/dist/actions/update-absence.cjs +2 -2
  398. package/dist/actions/update-absence.cjs.map +1 -1
  399. package/dist/actions/update-absence.d.cts +3 -7
  400. package/dist/actions/update-absence.d.mts +3 -7
  401. package/dist/actions/update-absence.mjs +2 -2
  402. package/dist/actions/update-absence.mjs.map +1 -1
  403. package/dist/actions/update-anchortime-by-date.cjs +2 -2
  404. package/dist/actions/update-anchortime-by-date.cjs.map +1 -1
  405. package/dist/actions/update-anchortime-by-date.d.cts +3 -6
  406. package/dist/actions/update-anchortime-by-date.d.mts +3 -6
  407. package/dist/actions/update-anchortime-by-date.mjs +2 -2
  408. package/dist/actions/update-anchortime-by-date.mjs.map +1 -1
  409. package/dist/actions/update-anchortime.cjs +3 -3
  410. package/dist/actions/update-anchortime.cjs.map +1 -1
  411. package/dist/actions/update-anchortime.d.cts +4 -9
  412. package/dist/actions/update-anchortime.d.mts +4 -9
  413. package/dist/actions/update-anchortime.mjs +3 -3
  414. package/dist/actions/update-anchortime.mjs.map +1 -1
  415. package/dist/actions/update-appointment.cjs +1 -1
  416. package/dist/actions/update-appointment.cjs.map +1 -1
  417. package/dist/actions/update-appointment.d.cts +2 -5
  418. package/dist/actions/update-appointment.d.mts +2 -5
  419. package/dist/actions/update-appointment.mjs +1 -1
  420. package/dist/actions/update-appointment.mjs.map +1 -1
  421. package/dist/actions/update-calendar-return-time.cjs +2 -2
  422. package/dist/actions/update-calendar-return-time.cjs.map +1 -1
  423. package/dist/actions/update-calendar-return-time.d.cts +3 -7
  424. package/dist/actions/update-calendar-return-time.d.mts +3 -7
  425. package/dist/actions/update-calendar-return-time.mjs +2 -2
  426. package/dist/actions/update-calendar-return-time.mjs.map +1 -1
  427. package/dist/actions/update-calendar.cjs +3 -3
  428. package/dist/actions/update-calendar.cjs.map +1 -1
  429. package/dist/actions/update-calendar.d.cts +4 -9
  430. package/dist/actions/update-calendar.d.mts +4 -9
  431. package/dist/actions/update-calendar.mjs +3 -3
  432. package/dist/actions/update-calendar.mjs.map +1 -1
  433. package/dist/actions/update-contact.cjs +4 -4
  434. package/dist/actions/update-contact.cjs.map +1 -1
  435. package/dist/actions/update-contact.d.cts +5 -11
  436. package/dist/actions/update-contact.d.mts +5 -11
  437. package/dist/actions/update-contact.mjs +4 -4
  438. package/dist/actions/update-contact.mjs.map +1 -1
  439. package/dist/actions/update-resource.cjs +2 -2
  440. package/dist/actions/update-resource.cjs.map +1 -1
  441. package/dist/actions/update-resource.d.cts +3 -8
  442. package/dist/actions/update-resource.d.mts +3 -8
  443. package/dist/actions/update-resource.mjs +2 -2
  444. package/dist/actions/update-resource.mjs.map +1 -1
  445. package/dist/actions/update-service-group.cjs +1 -1
  446. package/dist/actions/update-service-group.cjs.map +1 -1
  447. package/dist/actions/update-service-group.d.cts +2 -5
  448. package/dist/actions/update-service-group.d.mts +2 -5
  449. package/dist/actions/update-service-group.mjs +1 -1
  450. package/dist/actions/update-service-group.mjs.map +1 -1
  451. package/dist/actions/update-service.cjs +1 -1
  452. package/dist/actions/update-service.cjs.map +1 -1
  453. package/dist/actions/update-service.d.cts +2 -4
  454. package/dist/actions/update-service.d.cts.map +1 -1
  455. package/dist/actions/update-service.d.mts +2 -4
  456. package/dist/actions/update-service.d.mts.map +1 -1
  457. package/dist/actions/update-service.mjs +1 -1
  458. package/dist/actions/update-service.mjs.map +1 -1
  459. package/dist/actions/update-sync-appointment.cjs +2 -2
  460. package/dist/actions/update-sync-appointment.cjs.map +1 -1
  461. package/dist/actions/update-sync-appointment.d.cts +3 -7
  462. package/dist/actions/update-sync-appointment.d.mts +3 -7
  463. package/dist/actions/update-sync-appointment.mjs +2 -2
  464. package/dist/actions/update-sync-appointment.mjs.map +1 -1
  465. package/dist/actions/update-usermapping.cjs +3 -3
  466. package/dist/actions/update-usermapping.cjs.map +1 -1
  467. package/dist/actions/update-usermapping.d.cts +4 -7
  468. package/dist/actions/update-usermapping.d.mts +4 -7
  469. package/dist/actions/update-usermapping.mjs +3 -3
  470. package/dist/actions/update-usermapping.mjs.map +1 -1
  471. package/dist/actions/update-voucher.cjs +2 -2
  472. package/dist/actions/update-voucher.cjs.map +1 -1
  473. package/dist/actions/update-voucher.d.cts +4 -9
  474. package/dist/actions/update-voucher.d.mts +4 -9
  475. package/dist/actions/update-voucher.mjs +2 -2
  476. package/dist/actions/update-voucher.mjs.map +1 -1
  477. package/dist/actions/update-webhook.cjs +4 -4
  478. package/dist/actions/update-webhook.cjs.map +1 -1
  479. package/dist/actions/update-webhook.d.cts +6 -10
  480. package/dist/actions/update-webhook.d.cts.map +1 -1
  481. package/dist/actions/update-webhook.d.mts +6 -10
  482. package/dist/actions/update-webhook.d.mts.map +1 -1
  483. package/dist/actions/update-webhook.mjs +4 -4
  484. package/dist/actions/update-webhook.mjs.map +1 -1
  485. package/dist/actions/update-working-times-date.cjs +3 -3
  486. package/dist/actions/update-working-times-date.cjs.map +1 -1
  487. package/dist/actions/update-working-times-date.d.cts +4 -7
  488. package/dist/actions/update-working-times-date.d.mts +4 -7
  489. package/dist/actions/update-working-times-date.mjs +3 -3
  490. package/dist/actions/update-working-times-date.mjs.map +1 -1
  491. package/dist/actions/update-working-times.cjs +3 -3
  492. package/dist/actions/update-working-times.cjs.map +1 -1
  493. package/dist/actions/update-working-times.d.cts +4 -7
  494. package/dist/actions/update-working-times.d.mts +4 -7
  495. package/dist/actions/update-working-times.mjs +3 -3
  496. package/dist/actions/update-working-times.mjs.map +1 -1
  497. package/package.json +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"delete-service.mjs","names":[],"sources":["../../src/actions/delete-service.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminDeleteServiceInput = z.object({\n service_id: z.string().describe(\"The unique numeric ID of the service to delete. Obtain service IDs using the Get Services action.\"),\n}).describe(\"Request model for deleting a service in eTermin.\");\nexport const EterminDeleteServiceOutput = z.object({\n status: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"HTTP status code (typically 200, 204, or error codes).\").optional()),\n message: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Optional message providing details about the delete operation result.\").optional()),\n success: z.preprocess((value) => (value === null ? undefined : value), z.boolean().describe(\"Indicates whether the delete operation was successful. Standard REST pattern for DELETE endpoints.\").optional()),\n}).describe(\"Response model for service deletion operation in eTermin.\");\n\nexport const eterminDeleteService = action(\"ETERMIN_DELETE_SERVICE\", {\n slug: \"etermin-delete-service\",\n name: \"Delete Service\",\n description: \"Permanently deletes a service from your eTermin account by its ID. Use this action to remove services that are no longer needed. The deletion is permanent and cannot be undone. Services with associated appointments may not be deletable. Before deleting, use the Get Services action to retrieve service IDs and verify which service you want to delete.\",\n input: EterminDeleteServiceInput,\n output: EterminDeleteServiceOutput,\n});\n"],"mappings":";;AAaA,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAbuC,EAAE,OAAO,EAChD,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,mGAAmG,EACrI,CAAC,CAAC,CAAC,SAAS,kDAWH;CACP,QAXwC,EAAE,OAAO;EACjD,QAAQ,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC;EACpK,SAAS,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS,CAAC;EAC9K,SAAS,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,oGAAoG,CAAC,CAAC,SAAS,CAAC;CAC9M,CAAC,CAAC,CAAC,SAAS,2DAOF;AACV,CAAC"}
1
+ {"version":3,"file":"delete-service.mjs","names":[],"sources":["../../src/actions/delete-service.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminDeleteServiceInput = z.object({\n service_id: z.string().describe(\"The unique numeric ID of the service to delete. Obtain service IDs using the Get Services action.\"),\n}).describe(\"Request model for deleting a service in eTermin.\");\nexport const EterminDeleteServiceOutput = z.object({\n status: z.number().int().describe(\"HTTP status code (typically 200, 204, or error codes).\").nullable().optional(),\n message: z.string().describe(\"Optional message providing details about the delete operation result.\").nullable().optional(),\n success: z.boolean().describe(\"Indicates whether the delete operation was successful. Standard REST pattern for DELETE endpoints.\").nullable().optional(),\n}).passthrough().describe(\"Response model for service deletion operation in eTermin.\");\n\nexport const eterminDeleteService = action(\"ETERMIN_DELETE_SERVICE\", {\n slug: \"etermin-delete-service\",\n name: \"Delete Service\",\n description: \"Permanently deletes a service from your eTermin account by its ID. Use this action to remove services that are no longer needed. The deletion is permanent and cannot be undone. Services with associated appointments may not be deletable. Before deleting, use the Get Services action to retrieve service IDs and verify which service you want to delete.\",\n input: EterminDeleteServiceInput,\n output: EterminDeleteServiceOutput,\n});\n"],"mappings":";;AAaA,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAbuC,EAAE,OAAO,EAChD,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,mGAAmG,EACrI,CAAC,CAAC,CAAC,SAAS,kDAWH;CACP,QAXwC,EAAE,OAAO;EACjD,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChH,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1H,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,oGAAoG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1J,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2DAOhB;AACV,CAAC"}
@@ -3,9 +3,9 @@ let zod = require("zod");
3
3
  //#region src/actions/delete-servicegroup.ts
4
4
  const EterminDeleteServicegroupInput = zod.z.object({ servicegroupid: zod.z.number().int().describe("ID of the service group that you want to delete. Use the appropriate action to retrieve service group IDs first.") }).describe("Request parameters for deleting a service group from eTermin.");
5
5
  const EterminDeleteServicegroupOutput = zod.z.object({
6
- Status: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.number().int().describe("HTTP status code returned by the API (typically 200 for success).").optional()),
7
- StatusMsg: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Message from the API describing the result of the deletion (e.g., '1 record(s) deleted').").optional())
8
- }).describe("Response schema for delete service group action.");
6
+ Status: zod.z.number().int().describe("HTTP status code returned by the API (typically 200 for success).").nullable().optional(),
7
+ StatusMsg: zod.z.string().describe("Message from the API describing the result of the deletion (e.g., '1 record(s) deleted').").nullable().optional()
8
+ }).passthrough().describe("Response schema for delete service group action.");
9
9
  const eterminDeleteServicegroup = require_action.action("ETERMIN_DELETE_SERVICEGROUP", {
10
10
  slug: "etermin-delete-servicegroup",
11
11
  name: "Delete Service Group",
@@ -1 +1 @@
1
- {"version":3,"file":"delete-servicegroup.cjs","names":["z","action"],"sources":["../../src/actions/delete-servicegroup.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminDeleteServicegroupInput = z.object({\n servicegroupid: z.number().int().describe(\"ID of the service group that you want to delete. Use the appropriate action to retrieve service group IDs first.\"),\n}).describe(\"Request parameters for deleting a service group from eTermin.\");\nexport const EterminDeleteServicegroupOutput = z.object({\n Status: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"HTTP status code returned by the API (typically 200 for success).\").optional()),\n StatusMsg: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Message from the API describing the result of the deletion (e.g., '1 record(s) deleted').\").optional()),\n}).describe(\"Response schema for delete service group action.\");\n\nexport const eterminDeleteServicegroup = action(\"ETERMIN_DELETE_SERVICEGROUP\", {\n slug: \"etermin-delete-servicegroup\",\n name: \"Delete Service Group\",\n description: \"Delete a service group from your eTermin account by its ID. Use this action when you need to permanently remove a service group from the system. The deletion is permanent and cannot be undone.\",\n input: EterminDeleteServicegroupInput,\n output: EterminDeleteServicegroupOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO,EACrD,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kHAAkH,EAC9J,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC3E,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,QAAQA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC;CAC/K,WAAWA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2FAA2F,CAAC,CAAC,SAAS,CAAC;AACtM,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAE9D,MAAa,4BAA4BC,eAAAA,OAAO,+BAA+B;CAC7E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"delete-servicegroup.cjs","names":["z","action"],"sources":["../../src/actions/delete-servicegroup.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminDeleteServicegroupInput = z.object({\n servicegroupid: z.number().int().describe(\"ID of the service group that you want to delete. Use the appropriate action to retrieve service group IDs first.\"),\n}).describe(\"Request parameters for deleting a service group from eTermin.\");\nexport const EterminDeleteServicegroupOutput = z.object({\n Status: z.number().int().describe(\"HTTP status code returned by the API (typically 200 for success).\").nullable().optional(),\n StatusMsg: z.string().describe(\"Message from the API describing the result of the deletion (e.g., '1 record(s) deleted').\").nullable().optional(),\n}).passthrough().describe(\"Response schema for delete service group action.\");\n\nexport const eterminDeleteServicegroup = action(\"ETERMIN_DELETE_SERVICEGROUP\", {\n slug: \"etermin-delete-servicegroup\",\n name: \"Delete Service Group\",\n description: \"Delete a service group from your eTermin account by its ID. Use this action when you need to permanently remove a service group from the system. The deletion is permanent and cannot be undone.\",\n input: EterminDeleteServicegroupInput,\n output: EterminDeleteServicegroupOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO,EACrD,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kHAAkH,EAC9J,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC3E,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3H,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2FAA2F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAAkD;AAE5E,MAAa,4BAA4BC,eAAAA,OAAO,+BAA+B;CAC7E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -5,15 +5,12 @@ declare const EterminDeleteServicegroupInput: z.ZodObject<{
5
5
  servicegroupid: z.ZodNumber;
6
6
  }, z.core.$strip>;
7
7
  declare const EterminDeleteServicegroupOutput: z.ZodObject<{
8
- Status: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
9
- StatusMsg: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
10
- }, z.core.$strip>;
8
+ Status: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
9
+ StatusMsg: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10
+ }, z.core.$loose>;
11
11
  declare const eterminDeleteServicegroup: import("@keystrokehq/action").WorkflowActionDefinition<{
12
12
  servicegroupid: 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]>;
13
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
17
14
  //#endregion
18
15
  export { eterminDeleteServicegroup };
19
16
  //# sourceMappingURL=delete-servicegroup.d.cts.map
@@ -5,15 +5,12 @@ declare const EterminDeleteServicegroupInput: z.ZodObject<{
5
5
  servicegroupid: z.ZodNumber;
6
6
  }, z.core.$strip>;
7
7
  declare const EterminDeleteServicegroupOutput: z.ZodObject<{
8
- Status: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
9
- StatusMsg: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
10
- }, z.core.$strip>;
8
+ Status: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
9
+ StatusMsg: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10
+ }, z.core.$loose>;
11
11
  declare const eterminDeleteServicegroup: import("@keystrokehq/action").WorkflowActionDefinition<{
12
12
  servicegroupid: 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]>;
13
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
17
14
  //#endregion
18
15
  export { eterminDeleteServicegroup };
19
16
  //# sourceMappingURL=delete-servicegroup.d.mts.map
@@ -6,9 +6,9 @@ const eterminDeleteServicegroup = action("ETERMIN_DELETE_SERVICEGROUP", {
6
6
  description: "Delete a service group from your eTermin account by its ID. Use this action when you need to permanently remove a service group from the system. The deletion is permanent and cannot be undone.",
7
7
  input: z.object({ servicegroupid: z.number().int().describe("ID of the service group that you want to delete. Use the appropriate action to retrieve service group IDs first.") }).describe("Request parameters for deleting a service group from eTermin."),
8
8
  output: z.object({
9
- Status: z.preprocess((value) => value === null ? void 0 : value, z.number().int().describe("HTTP status code returned by the API (typically 200 for success).").optional()),
10
- StatusMsg: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Message from the API describing the result of the deletion (e.g., '1 record(s) deleted').").optional())
11
- }).describe("Response schema for delete service group action.")
9
+ Status: z.number().int().describe("HTTP status code returned by the API (typically 200 for success).").nullable().optional(),
10
+ StatusMsg: z.string().describe("Message from the API describing the result of the deletion (e.g., '1 record(s) deleted').").nullable().optional()
11
+ }).passthrough().describe("Response schema for delete service group action.")
12
12
  });
13
13
  //#endregion
14
14
  export { eterminDeleteServicegroup };
@@ -1 +1 @@
1
- {"version":3,"file":"delete-servicegroup.mjs","names":[],"sources":["../../src/actions/delete-servicegroup.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminDeleteServicegroupInput = z.object({\n servicegroupid: z.number().int().describe(\"ID of the service group that you want to delete. Use the appropriate action to retrieve service group IDs first.\"),\n}).describe(\"Request parameters for deleting a service group from eTermin.\");\nexport const EterminDeleteServicegroupOutput = z.object({\n Status: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"HTTP status code returned by the API (typically 200 for success).\").optional()),\n StatusMsg: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Message from the API describing the result of the deletion (e.g., '1 record(s) deleted').\").optional()),\n}).describe(\"Response schema for delete service group action.\");\n\nexport const eterminDeleteServicegroup = action(\"ETERMIN_DELETE_SERVICEGROUP\", {\n slug: \"etermin-delete-servicegroup\",\n name: \"Delete Service Group\",\n description: \"Delete a service group from your eTermin account by its ID. Use this action when you need to permanently remove a service group from the system. The deletion is permanent and cannot be undone.\",\n input: EterminDeleteServicegroupInput,\n output: EterminDeleteServicegroupOutput,\n});\n"],"mappings":";;AAYA,MAAa,4BAA4B,OAAO,+BAA+B;CAC7E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZ4C,EAAE,OAAO,EACrD,gBAAgB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kHAAkH,EAC9J,CAAC,CAAC,CAAC,SAAS,+DAUH;CACP,QAV6C,EAAE,OAAO;EACtD,QAAQ,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC;EAC/K,WAAW,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,2FAA2F,CAAC,CAAC,SAAS,CAAC;CACtM,CAAC,CAAC,CAAC,SAAS,kDAOF;AACV,CAAC"}
1
+ {"version":3,"file":"delete-servicegroup.mjs","names":[],"sources":["../../src/actions/delete-servicegroup.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminDeleteServicegroupInput = z.object({\n servicegroupid: z.number().int().describe(\"ID of the service group that you want to delete. Use the appropriate action to retrieve service group IDs first.\"),\n}).describe(\"Request parameters for deleting a service group from eTermin.\");\nexport const EterminDeleteServicegroupOutput = z.object({\n Status: z.number().int().describe(\"HTTP status code returned by the API (typically 200 for success).\").nullable().optional(),\n StatusMsg: z.string().describe(\"Message from the API describing the result of the deletion (e.g., '1 record(s) deleted').\").nullable().optional(),\n}).passthrough().describe(\"Response schema for delete service group action.\");\n\nexport const eterminDeleteServicegroup = action(\"ETERMIN_DELETE_SERVICEGROUP\", {\n slug: \"etermin-delete-servicegroup\",\n name: \"Delete Service Group\",\n description: \"Delete a service group from your eTermin account by its ID. Use this action when you need to permanently remove a service group from the system. The deletion is permanent and cannot be undone.\",\n input: EterminDeleteServicegroupInput,\n output: EterminDeleteServicegroupOutput,\n});\n"],"mappings":";;AAYA,MAAa,4BAA4B,OAAO,+BAA+B;CAC7E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZ4C,EAAE,OAAO,EACrD,gBAAgB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kHAAkH,EAC9J,CAAC,CAAC,CAAC,SAAS,+DAUH;CACP,QAV6C,EAAE,OAAO;EACtD,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3H,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,2FAA2F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAOhB;AACV,CAAC"}
@@ -3,9 +3,9 @@ let zod = require("zod");
3
3
  //#region src/actions/delete-user.ts
4
4
  const EterminDeleteUserInput = zod.z.object({ userId: zod.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.");
5
5
  const EterminDeleteUserOutput = zod.z.object({
6
- message: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Response message from the API, if any.").optional()),
6
+ message: zod.z.string().describe("Response message from the API, if any.").nullable().optional(),
7
7
  success: zod.z.boolean().describe("Indicates whether the user deletion was successful.").nullable()
8
- }).describe("Response model for user deletion.");
8
+ }).passthrough().describe("Response model for user deletion.");
9
9
  const eterminDeleteUser = require_action.action("ETERMIN_DELETE_USER", {
10
10
  slug: "etermin-delete-user",
11
11
  name: "Delete User",
@@ -1 +1 @@
1
- {"version":3,"file":"delete-user.cjs","names":["z","action"],"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":";;;AAIA,MAAa,yBAAyBA,IAAAA,EAAE,OAAO,EAC7C,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+FAA+F,EAC7H,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAC7D,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,SAASA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC;CAC/I,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;AAChG,CAAC,CAAC,CAAC,SAAS,mCAAmC;AAE/C,MAAa,oBAAoBC,eAAAA,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"delete-user.cjs","names":["z","action"],"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.string().describe(\"Response message from the API, if any.\").nullable().optional(),\n success: z.boolean().describe(\"Indicates whether the user deletion was successful.\").nullable(),\n}).passthrough().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":";;;AAIA,MAAa,yBAAyBA,IAAAA,EAAE,OAAO,EAC7C,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+FAA+F,EAC7H,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAC7D,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;AAChG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mCAAmC;AAE7D,MAAa,oBAAoBC,eAAAA,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -5,15 +5,12 @@ declare const EterminDeleteUserInput: z.ZodObject<{
5
5
  userId: z.ZodString;
6
6
  }, z.core.$strip>;
7
7
  declare const EterminDeleteUserOutput: z.ZodObject<{
8
- message: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
8
+ message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9
9
  success: z.ZodNullable<z.ZodBoolean>;
10
- }, z.core.$strip>;
10
+ }, z.core.$loose>;
11
11
  declare const eterminDeleteUser: import("@keystrokehq/action").WorkflowActionDefinition<{
12
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]>;
13
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
17
14
  //#endregion
18
15
  export { eterminDeleteUser };
19
16
  //# sourceMappingURL=delete-user.d.cts.map
@@ -5,15 +5,12 @@ declare const EterminDeleteUserInput: z.ZodObject<{
5
5
  userId: z.ZodString;
6
6
  }, z.core.$strip>;
7
7
  declare const EterminDeleteUserOutput: z.ZodObject<{
8
- message: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
8
+ message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9
9
  success: z.ZodNullable<z.ZodBoolean>;
10
- }, z.core.$strip>;
10
+ }, z.core.$loose>;
11
11
  declare const eterminDeleteUser: import("@keystrokehq/action").WorkflowActionDefinition<{
12
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]>;
13
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
17
14
  //#endregion
18
15
  export { eterminDeleteUser };
19
16
  //# sourceMappingURL=delete-user.d.mts.map
@@ -6,9 +6,9 @@ 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.preprocess((value) => value === null ? void 0 : value, z.string().describe("Response message from the API, if any.").optional()),
9
+ message: z.string().describe("Response message from the API, if any.").nullable().optional(),
10
10
  success: z.boolean().describe("Indicates whether the user deletion was successful.").nullable()
11
- }).describe("Response model for user deletion.")
11
+ }).passthrough().describe("Response model for user deletion.")
12
12
  });
13
13
  //#endregion
14
14
  export { eterminDeleteUser };
@@ -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.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"}
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.string().describe(\"Response message from the API, if any.\").nullable().optional(),\n success: z.boolean().describe(\"Indicates whether the user deletion was successful.\").nullable(),\n}).passthrough().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,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3F,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CAChG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mCAOhB;AACV,CAAC"}
@@ -3,9 +3,9 @@ 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.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
- }).describe("Response model for usermapping deletion from eTermin API.");
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()
8
+ }).passthrough().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",
11
11
  name: "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.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
+ {"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.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}).passthrough().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,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,YAAY,CAAC,CAAC,SAAS,2DAA2D;AAErF,MAAa,2BAA2BC,eAAAA,OAAO,8BAA8B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -5,15 +5,12 @@ declare const EterminDeleteUsermappingInput: z.ZodObject<{
5
5
  id: z.ZodNumber;
6
6
  }, z.core.$strip>;
7
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>;
8
+ status: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
9
+ statusmsg: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10
+ }, z.core.$loose>;
11
11
  declare const eterminDeleteUsermapping: import("@keystrokehq/action").WorkflowActionDefinition<{
12
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]>;
13
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
17
14
  //#endregion
18
15
  export { eterminDeleteUsermapping };
19
16
  //# sourceMappingURL=delete-usermapping.d.cts.map
@@ -5,15 +5,12 @@ declare const EterminDeleteUsermappingInput: z.ZodObject<{
5
5
  id: z.ZodNumber;
6
6
  }, z.core.$strip>;
7
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>;
8
+ status: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
9
+ statusmsg: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10
+ }, z.core.$loose>;
11
11
  declare const eterminDeleteUsermapping: import("@keystrokehq/action").WorkflowActionDefinition<{
12
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]>;
13
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
17
14
  //#endregion
18
15
  export { eterminDeleteUsermapping };
19
16
  //# sourceMappingURL=delete-usermapping.d.mts.map
@@ -6,9 +6,9 @@ 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.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
- }).describe("Response model for usermapping deletion from eTermin API.")
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()
11
+ }).passthrough().describe("Response model for usermapping deletion from eTermin API.")
12
12
  });
13
13
  //#endregion
14
14
  export { eterminDeleteUsermapping };
@@ -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.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"}
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.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}).passthrough().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,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,YAAY,CAAC,CAAC,SAAS,2DAOhB;AACV,CAAC"}
@@ -4,8 +4,8 @@ let zod = require("zod");
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
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
- }).describe("Response schema for delete voucher action.");
7
+ deleted_id: zod.z.string().describe("The voucher code that was deleted, if provided by the API.").nullable().optional()
8
+ }).passthrough().describe("Response schema for delete voucher action.");
9
9
  const eterminDeleteVoucher = require_action.action("ETERMIN_DELETE_VOUCHER", {
10
10
  slug: "etermin-delete-voucher",
11
11
  name: "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.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
+ {"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.string().describe(\"The voucher code that was deleted, if provided by the API.\").nullable().optional(),\n}).passthrough().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,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AAEtE,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -6,14 +6,11 @@ declare const EterminDeleteVoucherInput: z.ZodObject<{
6
6
  }, z.core.$strip>;
7
7
  declare const EterminDeleteVoucherOutput: z.ZodObject<{
8
8
  success: z.ZodNullable<z.ZodBoolean>;
9
- deleted_id: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
10
- }, z.core.$strip>;
9
+ deleted_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10
+ }, z.core.$loose>;
11
11
  declare const eterminDeleteVoucher: import("@keystrokehq/action").WorkflowActionDefinition<{
12
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]>;
13
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
17
14
  //#endregion
18
15
  export { eterminDeleteVoucher };
19
16
  //# sourceMappingURL=delete-voucher.d.cts.map
@@ -6,14 +6,11 @@ declare const EterminDeleteVoucherInput: z.ZodObject<{
6
6
  }, z.core.$strip>;
7
7
  declare const EterminDeleteVoucherOutput: z.ZodObject<{
8
8
  success: z.ZodNullable<z.ZodBoolean>;
9
- deleted_id: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
10
- }, z.core.$strip>;
9
+ deleted_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10
+ }, z.core.$loose>;
11
11
  declare const eterminDeleteVoucher: import("@keystrokehq/action").WorkflowActionDefinition<{
12
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]>;
13
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
17
14
  //#endregion
18
15
  export { eterminDeleteVoucher };
19
16
  //# sourceMappingURL=delete-voucher.d.mts.map
@@ -7,8 +7,8 @@ const eterminDeleteVoucher = action("ETERMIN_DELETE_VOUCHER", {
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
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
- }).describe("Response schema for delete voucher action.")
10
+ deleted_id: z.string().describe("The voucher code that was deleted, if provided by the API.").nullable().optional()
11
+ }).passthrough().describe("Response schema for delete voucher action.")
12
12
  });
13
13
  //#endregion
14
14
  export { eterminDeleteVoucher };
@@ -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.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"}
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.string().describe(\"The voucher code that was deleted, if provided by the API.\").nullable().optional(),\n}).passthrough().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,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAOhB;AACV,CAAC"}
@@ -3,9 +3,9 @@ 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.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
- }).describe("Response model for delete webhook operation.");
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()
8
+ }).passthrough().describe("Response model for delete webhook operation.");
9
9
  const eterminDeleteWebhook = require_action.action("ETERMIN_DELETE_WEBHOOK", {
10
10
  slug: "etermin-delete-webhook",
11
11
  name: "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.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
+ {"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.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}).passthrough().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,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,YAAY,CAAC,CAAC,SAAS,8CAA8C;AAExE,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -5,15 +5,12 @@ declare const EterminDeleteWebhookInput: z.ZodObject<{
5
5
  webhookId: z.ZodString;
6
6
  }, z.core.$strip>;
7
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>;
8
+ message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9
+ success: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
10
+ }, z.core.$loose>;
11
11
  declare const eterminDeleteWebhook: import("@keystrokehq/action").WorkflowActionDefinition<{
12
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]>;
13
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
17
14
  //#endregion
18
15
  export { eterminDeleteWebhook };
19
16
  //# sourceMappingURL=delete-webhook.d.cts.map
@@ -5,15 +5,12 @@ declare const EterminDeleteWebhookInput: z.ZodObject<{
5
5
  webhookId: z.ZodString;
6
6
  }, z.core.$strip>;
7
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>;
8
+ message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9
+ success: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
10
+ }, z.core.$loose>;
11
11
  declare const eterminDeleteWebhook: import("@keystrokehq/action").WorkflowActionDefinition<{
12
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]>;
13
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
17
14
  //#endregion
18
15
  export { eterminDeleteWebhook };
19
16
  //# sourceMappingURL=delete-webhook.d.mts.map
@@ -6,9 +6,9 @@ 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.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
- }).describe("Response model for delete webhook operation.")
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()
11
+ }).passthrough().describe("Response model for delete webhook operation.")
12
12
  });
13
13
  //#endregion
14
14
  export { eterminDeleteWebhook };
@@ -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.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"}
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.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}).passthrough().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,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,YAAY,CAAC,CAAC,SAAS,8CAOhB;AACV,CAAC"}
@@ -6,9 +6,9 @@ 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.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
- }).describe("Response model for working times date deletion.");
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()
11
+ }).passthrough().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",
14
14
  name: "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.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
+ {"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.number().describe(\"HTTP status code of the response\").nullable().optional(),\n statusmsg: z.string().describe(\"Status message indicating the result of the deletion\").nullable().optional(),\n}).passthrough().describe(\"Response model for working times date deletion.\");\n\nexport const eterminDeleteWorkingTimesDate = action(\"ETERMIN_DELETE_WORKING_TIMES_DATE\", {\n slug: \"etermin-delete-working-times-date\",\n name: \"Delete Working Times Date\",\n description: \"Tool to delete working times date entries from eTermin. Use when removing working time slots by calendar or specific ID. Provide either calendarid to delete all working slots for a calendar, or id to delete a specific working time entry.\",\n input: EterminDeleteWorkingTimesDateInput,\n output: EterminDeleteWorkingTimesDateOutput,\n});\n"],"mappings":";;;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,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,YAAY,CAAC,CAAC,SAAS,iDAAiD;AAE3E,MAAa,gCAAgCC,eAAAA,OAAO,qCAAqC;CACvF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -6,16 +6,13 @@ declare const EterminDeleteWorkingTimesDateInput: z.ZodObject<{
6
6
  calendarid: z.ZodOptional<z.ZodNumber>;
7
7
  }, z.core.$strip>;
8
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>;
9
+ status: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
10
+ statusmsg: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
+ }, z.core.$loose>;
12
12
  declare const eterminDeleteWorkingTimesDate: import("@keystrokehq/action").WorkflowActionDefinition<{
13
13
  id?: number | undefined;
14
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]>;
15
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
19
16
  //#endregion
20
17
  export { eterminDeleteWorkingTimesDate };
21
18
  //# sourceMappingURL=delete-working-times-date.d.cts.map
@@ -6,16 +6,13 @@ declare const EterminDeleteWorkingTimesDateInput: z.ZodObject<{
6
6
  calendarid: z.ZodOptional<z.ZodNumber>;
7
7
  }, z.core.$strip>;
8
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>;
9
+ status: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
10
+ statusmsg: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
+ }, z.core.$loose>;
12
12
  declare const eterminDeleteWorkingTimesDate: import("@keystrokehq/action").WorkflowActionDefinition<{
13
13
  id?: number | undefined;
14
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]>;
15
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
19
16
  //#endregion
20
17
  export { eterminDeleteWorkingTimesDate };
21
18
  //# sourceMappingURL=delete-working-times-date.d.mts.map
@@ -9,9 +9,9 @@ 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.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
- }).describe("Response model for working times date deletion.")
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()
14
+ }).passthrough().describe("Response model for working times date deletion.")
15
15
  });
16
16
  //#endregion
17
17
  export { eterminDeleteWorkingTimesDate };