@keystrokehq/etermin 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (629) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/assign-calendar-service.cjs +3 -3
  4. package/dist/actions/assign-calendar-service.cjs.map +1 -1
  5. package/dist/actions/assign-calendar-service.d.cts +17 -3
  6. package/dist/actions/assign-calendar-service.d.cts.map +1 -1
  7. package/dist/actions/assign-calendar-service.d.mts +17 -3
  8. package/dist/actions/assign-calendar-service.d.mts.map +1 -1
  9. package/dist/actions/assign-calendar-service.mjs +3 -3
  10. package/dist/actions/assign-calendar-service.mjs.map +1 -1
  11. package/dist/actions/create-absence.cjs +3 -3
  12. package/dist/actions/create-absence.cjs.map +1 -1
  13. package/dist/actions/create-absence.d.cts +28 -3
  14. package/dist/actions/create-absence.d.cts.map +1 -1
  15. package/dist/actions/create-absence.d.mts +28 -3
  16. package/dist/actions/create-absence.d.mts.map +1 -1
  17. package/dist/actions/create-absence.mjs +3 -3
  18. package/dist/actions/create-absence.mjs.map +1 -1
  19. package/dist/actions/create-anchortime-by-date.cjs +2 -2
  20. package/dist/actions/create-anchortime-by-date.cjs.map +1 -1
  21. package/dist/actions/create-anchortime-by-date.d.cts +19 -3
  22. package/dist/actions/create-anchortime-by-date.d.cts.map +1 -1
  23. package/dist/actions/create-anchortime-by-date.d.mts +19 -3
  24. package/dist/actions/create-anchortime-by-date.d.mts.map +1 -1
  25. package/dist/actions/create-anchortime-by-date.mjs +2 -2
  26. package/dist/actions/create-anchortime-by-date.mjs.map +1 -1
  27. package/dist/actions/create-anchortime.cjs +2 -2
  28. package/dist/actions/create-anchortime.cjs.map +1 -1
  29. package/dist/actions/create-anchortime.d.cts +19 -3
  30. package/dist/actions/create-anchortime.d.cts.map +1 -1
  31. package/dist/actions/create-anchortime.d.mts +19 -3
  32. package/dist/actions/create-anchortime.d.mts.map +1 -1
  33. package/dist/actions/create-anchortime.mjs +2 -2
  34. package/dist/actions/create-anchortime.mjs.map +1 -1
  35. package/dist/actions/create-appointment-sync.cjs +3 -3
  36. package/dist/actions/create-appointment-sync.cjs.map +1 -1
  37. package/dist/actions/create-appointment-sync.d.cts +41 -3
  38. package/dist/actions/create-appointment-sync.d.cts.map +1 -1
  39. package/dist/actions/create-appointment-sync.d.mts +41 -3
  40. package/dist/actions/create-appointment-sync.d.mts.map +1 -1
  41. package/dist/actions/create-appointment-sync.mjs +3 -3
  42. package/dist/actions/create-appointment-sync.mjs.map +1 -1
  43. package/dist/actions/create-appointment.cjs +6 -6
  44. package/dist/actions/create-appointment.cjs.map +1 -1
  45. package/dist/actions/create-appointment.d.cts +163 -3
  46. package/dist/actions/create-appointment.d.cts.map +1 -1
  47. package/dist/actions/create-appointment.d.mts +163 -3
  48. package/dist/actions/create-appointment.d.mts.map +1 -1
  49. package/dist/actions/create-appointment.mjs +6 -6
  50. package/dist/actions/create-appointment.mjs.map +1 -1
  51. package/dist/actions/create-calendar-return-time.cjs +3 -3
  52. package/dist/actions/create-calendar-return-time.cjs.map +1 -1
  53. package/dist/actions/create-calendar-return-time.d.cts +23 -3
  54. package/dist/actions/create-calendar-return-time.d.cts.map +1 -1
  55. package/dist/actions/create-calendar-return-time.d.mts +23 -3
  56. package/dist/actions/create-calendar-return-time.d.mts.map +1 -1
  57. package/dist/actions/create-calendar-return-time.mjs +3 -3
  58. package/dist/actions/create-calendar-return-time.mjs.map +1 -1
  59. package/dist/actions/create-contact.cjs +5 -5
  60. package/dist/actions/create-contact.cjs.map +1 -1
  61. package/dist/actions/create-contact.d.cts +23 -3
  62. package/dist/actions/create-contact.d.cts.map +1 -1
  63. package/dist/actions/create-contact.d.mts +23 -3
  64. package/dist/actions/create-contact.d.mts.map +1 -1
  65. package/dist/actions/create-contact.mjs +5 -5
  66. package/dist/actions/create-contact.mjs.map +1 -1
  67. package/dist/actions/create-service-group.cjs +3 -3
  68. package/dist/actions/create-service-group.cjs.map +1 -1
  69. package/dist/actions/create-service-group.d.cts +56 -3
  70. package/dist/actions/create-service-group.d.cts.map +1 -1
  71. package/dist/actions/create-service-group.d.mts +56 -3
  72. package/dist/actions/create-service-group.d.mts.map +1 -1
  73. package/dist/actions/create-service-group.mjs +3 -3
  74. package/dist/actions/create-service-group.mjs.map +1 -1
  75. package/dist/actions/create-service.cjs +3 -3
  76. package/dist/actions/create-service.cjs.map +1 -1
  77. package/dist/actions/create-service.d.cts +237 -3
  78. package/dist/actions/create-service.d.cts.map +1 -1
  79. package/dist/actions/create-service.d.mts +237 -3
  80. package/dist/actions/create-service.d.mts.map +1 -1
  81. package/dist/actions/create-service.mjs +3 -3
  82. package/dist/actions/create-service.mjs.map +1 -1
  83. package/dist/actions/create-user.cjs +3 -3
  84. package/dist/actions/create-user.cjs.map +1 -1
  85. package/dist/actions/create-user.d.cts +31 -3
  86. package/dist/actions/create-user.d.cts.map +1 -1
  87. package/dist/actions/create-user.d.mts +31 -3
  88. package/dist/actions/create-user.d.mts.map +1 -1
  89. package/dist/actions/create-user.mjs +3 -3
  90. package/dist/actions/create-user.mjs.map +1 -1
  91. package/dist/actions/create-usermapping.cjs +3 -3
  92. package/dist/actions/create-usermapping.cjs.map +1 -1
  93. package/dist/actions/create-usermapping.d.cts +34 -3
  94. package/dist/actions/create-usermapping.d.cts.map +1 -1
  95. package/dist/actions/create-usermapping.d.mts +34 -3
  96. package/dist/actions/create-usermapping.d.mts.map +1 -1
  97. package/dist/actions/create-usermapping.mjs +3 -3
  98. package/dist/actions/create-usermapping.mjs.map +1 -1
  99. package/dist/actions/create-voucher.cjs +8 -8
  100. package/dist/actions/create-voucher.cjs.map +1 -1
  101. package/dist/actions/create-voucher.d.cts +36 -3
  102. package/dist/actions/create-voucher.d.cts.map +1 -1
  103. package/dist/actions/create-voucher.d.mts +36 -3
  104. package/dist/actions/create-voucher.d.mts.map +1 -1
  105. package/dist/actions/create-voucher.mjs +8 -8
  106. package/dist/actions/create-voucher.mjs.map +1 -1
  107. package/dist/actions/create-webhook.cjs +4 -4
  108. package/dist/actions/create-webhook.cjs.map +1 -1
  109. package/dist/actions/create-webhook.d.cts +29 -3
  110. package/dist/actions/create-webhook.d.cts.map +1 -1
  111. package/dist/actions/create-webhook.d.mts +29 -3
  112. package/dist/actions/create-webhook.d.mts.map +1 -1
  113. package/dist/actions/create-webhook.mjs +4 -4
  114. package/dist/actions/create-webhook.mjs.map +1 -1
  115. package/dist/actions/create-working-time.cjs +2 -2
  116. package/dist/actions/create-working-time.cjs.map +1 -1
  117. package/dist/actions/create-working-time.d.cts +35 -3
  118. package/dist/actions/create-working-time.d.cts.map +1 -1
  119. package/dist/actions/create-working-time.d.mts +35 -3
  120. package/dist/actions/create-working-time.d.mts.map +1 -1
  121. package/dist/actions/create-working-time.mjs +2 -2
  122. package/dist/actions/create-working-time.mjs.map +1 -1
  123. package/dist/actions/create-working-times-date.cjs +3 -3
  124. package/dist/actions/create-working-times-date.cjs.map +1 -1
  125. package/dist/actions/create-working-times-date.d.cts +39 -3
  126. package/dist/actions/create-working-times-date.d.cts.map +1 -1
  127. package/dist/actions/create-working-times-date.d.mts +39 -3
  128. package/dist/actions/create-working-times-date.d.mts.map +1 -1
  129. package/dist/actions/create-working-times-date.mjs +3 -3
  130. package/dist/actions/create-working-times-date.mjs.map +1 -1
  131. package/dist/actions/delete-absence.cjs +3 -3
  132. package/dist/actions/delete-absence.cjs.map +1 -1
  133. package/dist/actions/delete-absence.d.cts +15 -3
  134. package/dist/actions/delete-absence.d.cts.map +1 -1
  135. package/dist/actions/delete-absence.d.mts +15 -3
  136. package/dist/actions/delete-absence.d.mts.map +1 -1
  137. package/dist/actions/delete-absence.mjs +3 -3
  138. package/dist/actions/delete-absence.mjs.map +1 -1
  139. package/dist/actions/delete-anchortime-by-date.cjs +3 -3
  140. package/dist/actions/delete-anchortime-by-date.cjs.map +1 -1
  141. package/dist/actions/delete-anchortime-by-date.d.cts +15 -3
  142. package/dist/actions/delete-anchortime-by-date.d.cts.map +1 -1
  143. package/dist/actions/delete-anchortime-by-date.d.mts +15 -3
  144. package/dist/actions/delete-anchortime-by-date.d.mts.map +1 -1
  145. package/dist/actions/delete-anchortime-by-date.mjs +3 -3
  146. package/dist/actions/delete-anchortime-by-date.mjs.map +1 -1
  147. package/dist/actions/delete-anchortime.cjs +2 -2
  148. package/dist/actions/delete-anchortime.cjs.map +1 -1
  149. package/dist/actions/delete-anchortime.d.cts +13 -3
  150. package/dist/actions/delete-anchortime.d.cts.map +1 -1
  151. package/dist/actions/delete-anchortime.d.mts +13 -3
  152. package/dist/actions/delete-anchortime.d.mts.map +1 -1
  153. package/dist/actions/delete-anchortime.mjs +2 -2
  154. package/dist/actions/delete-anchortime.mjs.map +1 -1
  155. package/dist/actions/delete-appointment-sync.cjs +3 -3
  156. package/dist/actions/delete-appointment-sync.cjs.map +1 -1
  157. package/dist/actions/delete-appointment-sync.d.cts +19 -3
  158. package/dist/actions/delete-appointment-sync.d.cts.map +1 -1
  159. package/dist/actions/delete-appointment-sync.d.mts +19 -3
  160. package/dist/actions/delete-appointment-sync.d.mts.map +1 -1
  161. package/dist/actions/delete-appointment-sync.mjs +3 -3
  162. package/dist/actions/delete-appointment-sync.mjs.map +1 -1
  163. package/dist/actions/delete-appointment.cjs +3 -3
  164. package/dist/actions/delete-appointment.cjs.map +1 -1
  165. package/dist/actions/delete-appointment.d.cts +15 -3
  166. package/dist/actions/delete-appointment.d.cts.map +1 -1
  167. package/dist/actions/delete-appointment.d.mts +15 -3
  168. package/dist/actions/delete-appointment.d.mts.map +1 -1
  169. package/dist/actions/delete-appointment.mjs +3 -3
  170. package/dist/actions/delete-appointment.mjs.map +1 -1
  171. package/dist/actions/delete-calendar-return-time.cjs +2 -2
  172. package/dist/actions/delete-calendar-return-time.cjs.map +1 -1
  173. package/dist/actions/delete-calendar-return-time.d.cts +13 -3
  174. package/dist/actions/delete-calendar-return-time.d.cts.map +1 -1
  175. package/dist/actions/delete-calendar-return-time.d.mts +13 -3
  176. package/dist/actions/delete-calendar-return-time.d.mts.map +1 -1
  177. package/dist/actions/delete-calendar-return-time.mjs +2 -2
  178. package/dist/actions/delete-calendar-return-time.mjs.map +1 -1
  179. package/dist/actions/delete-calendar-service.cjs +2 -2
  180. package/dist/actions/delete-calendar-service.cjs.map +1 -1
  181. package/dist/actions/delete-calendar-service.d.cts +15 -3
  182. package/dist/actions/delete-calendar-service.d.cts.map +1 -1
  183. package/dist/actions/delete-calendar-service.d.mts +15 -3
  184. package/dist/actions/delete-calendar-service.d.mts.map +1 -1
  185. package/dist/actions/delete-calendar-service.mjs +2 -2
  186. package/dist/actions/delete-calendar-service.mjs.map +1 -1
  187. package/dist/actions/delete-calendar.cjs +3 -3
  188. package/dist/actions/delete-calendar.cjs.map +1 -1
  189. package/dist/actions/delete-calendar.d.cts +15 -3
  190. package/dist/actions/delete-calendar.d.cts.map +1 -1
  191. package/dist/actions/delete-calendar.d.mts +15 -3
  192. package/dist/actions/delete-calendar.d.mts.map +1 -1
  193. package/dist/actions/delete-calendar.mjs +3 -3
  194. package/dist/actions/delete-calendar.mjs.map +1 -1
  195. package/dist/actions/delete-contact.cjs +2 -2
  196. package/dist/actions/delete-contact.cjs.map +1 -1
  197. package/dist/actions/delete-contact.d.cts +13 -3
  198. package/dist/actions/delete-contact.d.cts.map +1 -1
  199. package/dist/actions/delete-contact.d.mts +13 -3
  200. package/dist/actions/delete-contact.d.mts.map +1 -1
  201. package/dist/actions/delete-contact.mjs +2 -2
  202. package/dist/actions/delete-contact.mjs.map +1 -1
  203. package/dist/actions/delete-resource.cjs +4 -4
  204. package/dist/actions/delete-resource.cjs.map +1 -1
  205. package/dist/actions/delete-resource.d.cts +19 -3
  206. package/dist/actions/delete-resource.d.cts.map +1 -1
  207. package/dist/actions/delete-resource.d.mts +19 -3
  208. package/dist/actions/delete-resource.d.mts.map +1 -1
  209. package/dist/actions/delete-resource.mjs +4 -4
  210. package/dist/actions/delete-resource.mjs.map +1 -1
  211. package/dist/actions/delete-service.cjs +3 -3
  212. package/dist/actions/delete-service.cjs.map +1 -1
  213. package/dist/actions/delete-service.d.cts +15 -3
  214. package/dist/actions/delete-service.d.cts.map +1 -1
  215. package/dist/actions/delete-service.d.mts +15 -3
  216. package/dist/actions/delete-service.d.mts.map +1 -1
  217. package/dist/actions/delete-service.mjs +3 -3
  218. package/dist/actions/delete-service.mjs.map +1 -1
  219. package/dist/actions/delete-servicegroup.cjs +2 -2
  220. package/dist/actions/delete-servicegroup.cjs.map +1 -1
  221. package/dist/actions/delete-servicegroup.d.cts +13 -3
  222. package/dist/actions/delete-servicegroup.d.cts.map +1 -1
  223. package/dist/actions/delete-servicegroup.d.mts +13 -3
  224. package/dist/actions/delete-servicegroup.d.mts.map +1 -1
  225. package/dist/actions/delete-servicegroup.mjs +2 -2
  226. package/dist/actions/delete-servicegroup.mjs.map +1 -1
  227. package/dist/actions/delete-user.cjs +2 -2
  228. package/dist/actions/delete-user.cjs.map +1 -1
  229. package/dist/actions/delete-user.d.cts +13 -3
  230. package/dist/actions/delete-user.d.cts.map +1 -1
  231. package/dist/actions/delete-user.d.mts +13 -3
  232. package/dist/actions/delete-user.d.mts.map +1 -1
  233. package/dist/actions/delete-user.mjs +2 -2
  234. package/dist/actions/delete-user.mjs.map +1 -1
  235. package/dist/actions/delete-usermapping.cjs +2 -2
  236. package/dist/actions/delete-usermapping.cjs.map +1 -1
  237. package/dist/actions/delete-usermapping.d.cts +13 -3
  238. package/dist/actions/delete-usermapping.d.cts.map +1 -1
  239. package/dist/actions/delete-usermapping.d.mts +13 -3
  240. package/dist/actions/delete-usermapping.d.mts.map +1 -1
  241. package/dist/actions/delete-usermapping.mjs +2 -2
  242. package/dist/actions/delete-usermapping.mjs.map +1 -1
  243. package/dist/actions/delete-voucher.cjs +2 -2
  244. package/dist/actions/delete-voucher.cjs.map +1 -1
  245. package/dist/actions/delete-voucher.d.cts +13 -3
  246. package/dist/actions/delete-voucher.d.cts.map +1 -1
  247. package/dist/actions/delete-voucher.d.mts +13 -3
  248. package/dist/actions/delete-voucher.d.mts.map +1 -1
  249. package/dist/actions/delete-voucher.mjs +2 -2
  250. package/dist/actions/delete-voucher.mjs.map +1 -1
  251. package/dist/actions/delete-webhook.cjs +2 -2
  252. package/dist/actions/delete-webhook.cjs.map +1 -1
  253. package/dist/actions/delete-webhook.d.cts +13 -3
  254. package/dist/actions/delete-webhook.d.cts.map +1 -1
  255. package/dist/actions/delete-webhook.d.mts +13 -3
  256. package/dist/actions/delete-webhook.d.mts.map +1 -1
  257. package/dist/actions/delete-webhook.mjs +2 -2
  258. package/dist/actions/delete-webhook.mjs.map +1 -1
  259. package/dist/actions/delete-working-times-date.cjs +2 -2
  260. package/dist/actions/delete-working-times-date.cjs.map +1 -1
  261. package/dist/actions/delete-working-times-date.d.cts +15 -3
  262. package/dist/actions/delete-working-times-date.d.cts.map +1 -1
  263. package/dist/actions/delete-working-times-date.d.mts +15 -3
  264. package/dist/actions/delete-working-times-date.d.mts.map +1 -1
  265. package/dist/actions/delete-working-times-date.mjs +2 -2
  266. package/dist/actions/delete-working-times-date.mjs.map +1 -1
  267. package/dist/actions/delete-working-times.cjs +2 -2
  268. package/dist/actions/delete-working-times.cjs.map +1 -1
  269. package/dist/actions/delete-working-times.d.cts +15 -3
  270. package/dist/actions/delete-working-times.d.cts.map +1 -1
  271. package/dist/actions/delete-working-times.d.mts +15 -3
  272. package/dist/actions/delete-working-times.d.mts.map +1 -1
  273. package/dist/actions/delete-working-times.mjs +2 -2
  274. package/dist/actions/delete-working-times.mjs.map +1 -1
  275. package/dist/actions/get-absences.cjs +7 -7
  276. package/dist/actions/get-absences.cjs.map +1 -1
  277. package/dist/actions/get-absences.d.cts +26 -3
  278. package/dist/actions/get-absences.d.cts.map +1 -1
  279. package/dist/actions/get-absences.d.mts +26 -3
  280. package/dist/actions/get-absences.d.mts.map +1 -1
  281. package/dist/actions/get-absences.mjs +7 -7
  282. package/dist/actions/get-absences.mjs.map +1 -1
  283. package/dist/actions/get-anchortime-date.cjs +5 -5
  284. package/dist/actions/get-anchortime-date.cjs.map +1 -1
  285. package/dist/actions/get-anchortime-date.d.cts +24 -3
  286. package/dist/actions/get-anchortime-date.d.cts.map +1 -1
  287. package/dist/actions/get-anchortime-date.d.mts +24 -3
  288. package/dist/actions/get-anchortime-date.d.mts.map +1 -1
  289. package/dist/actions/get-anchortime-date.mjs +5 -5
  290. package/dist/actions/get-anchortime-date.mjs.map +1 -1
  291. package/dist/actions/get-anchortimes.cjs +5 -5
  292. package/dist/actions/get-anchortimes.cjs.map +1 -1
  293. package/dist/actions/get-anchortimes.d.cts +24 -3
  294. package/dist/actions/get-anchortimes.d.cts.map +1 -1
  295. package/dist/actions/get-anchortimes.d.mts +24 -3
  296. package/dist/actions/get-anchortimes.d.mts.map +1 -1
  297. package/dist/actions/get-anchortimes.mjs +5 -5
  298. package/dist/actions/get-anchortimes.mjs.map +1 -1
  299. package/dist/actions/get-appointment-sync.cjs +73 -73
  300. package/dist/actions/get-appointment-sync.cjs.map +1 -1
  301. package/dist/actions/get-appointment-sync.d.cts +160 -3
  302. package/dist/actions/get-appointment-sync.d.cts.map +1 -1
  303. package/dist/actions/get-appointment-sync.d.mts +160 -3
  304. package/dist/actions/get-appointment-sync.d.mts.map +1 -1
  305. package/dist/actions/get-appointment-sync.mjs +73 -73
  306. package/dist/actions/get-appointment-sync.mjs.map +1 -1
  307. package/dist/actions/get-bookingpage-logs.cjs +5 -5
  308. package/dist/actions/get-bookingpage-logs.cjs.map +1 -1
  309. package/dist/actions/get-bookingpage-logs.d.cts +25 -3
  310. package/dist/actions/get-bookingpage-logs.d.cts.map +1 -1
  311. package/dist/actions/get-bookingpage-logs.d.mts +25 -3
  312. package/dist/actions/get-bookingpage-logs.d.mts.map +1 -1
  313. package/dist/actions/get-bookingpage-logs.mjs +5 -5
  314. package/dist/actions/get-bookingpage-logs.mjs.map +1 -1
  315. package/dist/actions/get-calendar-return-time.cjs +9 -9
  316. package/dist/actions/get-calendar-return-time.cjs.map +1 -1
  317. package/dist/actions/get-calendar-return-time.d.cts +30 -3
  318. package/dist/actions/get-calendar-return-time.d.cts.map +1 -1
  319. package/dist/actions/get-calendar-return-time.d.mts +30 -3
  320. package/dist/actions/get-calendar-return-time.d.mts.map +1 -1
  321. package/dist/actions/get-calendar-return-time.mjs +9 -9
  322. package/dist/actions/get-calendar-return-time.mjs.map +1 -1
  323. package/dist/actions/get-calendars.cjs +7 -7
  324. package/dist/actions/get-calendars.cjs.map +1 -1
  325. package/dist/actions/get-calendars.d.cts +24 -3
  326. package/dist/actions/get-calendars.d.cts.map +1 -1
  327. package/dist/actions/get-calendars.d.mts +24 -3
  328. package/dist/actions/get-calendars.d.mts.map +1 -1
  329. package/dist/actions/get-calendars.mjs +7 -7
  330. package/dist/actions/get-calendars.mjs.map +1 -1
  331. package/dist/actions/get-calendarservice.cjs +3 -3
  332. package/dist/actions/get-calendarservice.cjs.map +1 -1
  333. package/dist/actions/get-calendarservice.d.cts +20 -3
  334. package/dist/actions/get-calendarservice.d.cts.map +1 -1
  335. package/dist/actions/get-calendarservice.d.mts +20 -3
  336. package/dist/actions/get-calendarservice.d.mts.map +1 -1
  337. package/dist/actions/get-calendarservice.mjs +3 -3
  338. package/dist/actions/get-calendarservice.mjs.map +1 -1
  339. package/dist/actions/get-company.cjs +19 -19
  340. package/dist/actions/get-company.cjs.map +1 -1
  341. package/dist/actions/get-company.d.cts +48 -3
  342. package/dist/actions/get-company.d.cts.map +1 -1
  343. package/dist/actions/get-company.d.mts +48 -3
  344. package/dist/actions/get-company.d.mts.map +1 -1
  345. package/dist/actions/get-company.mjs +19 -19
  346. package/dist/actions/get-company.mjs.map +1 -1
  347. package/dist/actions/get-contact-by-id.cjs +50 -50
  348. package/dist/actions/get-contact-by-id.cjs.map +1 -1
  349. package/dist/actions/get-contact-by-id.d.cts +121 -3
  350. package/dist/actions/get-contact-by-id.d.cts.map +1 -1
  351. package/dist/actions/get-contact-by-id.d.mts +121 -3
  352. package/dist/actions/get-contact-by-id.d.mts.map +1 -1
  353. package/dist/actions/get-contact-by-id.mjs +50 -50
  354. package/dist/actions/get-contact-by-id.mjs.map +1 -1
  355. package/dist/actions/get-contacts.cjs +50 -50
  356. package/dist/actions/get-contacts.cjs.map +1 -1
  357. package/dist/actions/get-contacts.d.cts +109 -3
  358. package/dist/actions/get-contacts.d.cts.map +1 -1
  359. package/dist/actions/get-contacts.d.mts +109 -3
  360. package/dist/actions/get-contacts.d.mts.map +1 -1
  361. package/dist/actions/get-contacts.mjs +50 -50
  362. package/dist/actions/get-contacts.mjs.map +1 -1
  363. package/dist/actions/get-deleted-appointments.cjs +18 -18
  364. package/dist/actions/get-deleted-appointments.cjs.map +1 -1
  365. package/dist/actions/get-deleted-appointments.d.cts +52 -3
  366. package/dist/actions/get-deleted-appointments.d.cts.map +1 -1
  367. package/dist/actions/get-deleted-appointments.d.mts +52 -3
  368. package/dist/actions/get-deleted-appointments.d.mts.map +1 -1
  369. package/dist/actions/get-deleted-appointments.mjs +18 -18
  370. package/dist/actions/get-deleted-appointments.mjs.map +1 -1
  371. package/dist/actions/get-message-logs.cjs +9 -9
  372. package/dist/actions/get-message-logs.cjs.map +1 -1
  373. package/dist/actions/get-message-logs.d.cts +35 -3
  374. package/dist/actions/get-message-logs.d.cts.map +1 -1
  375. package/dist/actions/get-message-logs.d.mts +35 -3
  376. package/dist/actions/get-message-logs.d.mts.map +1 -1
  377. package/dist/actions/get-message-logs.mjs +9 -9
  378. package/dist/actions/get-message-logs.mjs.map +1 -1
  379. package/dist/actions/get-rating.cjs +11 -11
  380. package/dist/actions/get-rating.cjs.map +1 -1
  381. package/dist/actions/get-rating.d.cts +32 -3
  382. package/dist/actions/get-rating.d.cts.map +1 -1
  383. package/dist/actions/get-rating.d.mts +32 -3
  384. package/dist/actions/get-rating.d.mts.map +1 -1
  385. package/dist/actions/get-rating.mjs +11 -11
  386. package/dist/actions/get-rating.mjs.map +1 -1
  387. package/dist/actions/get-service-by-id.cjs +13 -13
  388. package/dist/actions/get-service-by-id.cjs.map +1 -1
  389. package/dist/actions/get-service-by-id.d.cts +40 -3
  390. package/dist/actions/get-service-by-id.d.cts.map +1 -1
  391. package/dist/actions/get-service-by-id.d.mts +40 -3
  392. package/dist/actions/get-service-by-id.d.mts.map +1 -1
  393. package/dist/actions/get-service-by-id.mjs +13 -13
  394. package/dist/actions/get-service-by-id.mjs.map +1 -1
  395. package/dist/actions/get-service-calendar.cjs +1 -1
  396. package/dist/actions/get-service-calendar.cjs.map +1 -1
  397. package/dist/actions/get-service-calendar.d.cts +16 -3
  398. package/dist/actions/get-service-calendar.d.cts.map +1 -1
  399. package/dist/actions/get-service-calendar.d.mts +16 -3
  400. package/dist/actions/get-service-calendar.d.mts.map +1 -1
  401. package/dist/actions/get-service-calendar.mjs +1 -1
  402. package/dist/actions/get-service-calendar.mjs.map +1 -1
  403. package/dist/actions/get-servicegroup.cjs +25 -25
  404. package/dist/actions/get-servicegroup.cjs.map +1 -1
  405. package/dist/actions/get-servicegroup.d.cts +66 -3
  406. package/dist/actions/get-servicegroup.d.cts.map +1 -1
  407. package/dist/actions/get-servicegroup.d.mts +66 -3
  408. package/dist/actions/get-servicegroup.d.mts.map +1 -1
  409. package/dist/actions/get-servicegroup.mjs +25 -25
  410. package/dist/actions/get-servicegroup.mjs.map +1 -1
  411. package/dist/actions/get-services.cjs +13 -13
  412. package/dist/actions/get-services.cjs.map +1 -1
  413. package/dist/actions/get-services.d.cts +36 -3
  414. package/dist/actions/get-services.d.cts.map +1 -1
  415. package/dist/actions/get-services.d.mts +36 -3
  416. package/dist/actions/get-services.d.mts.map +1 -1
  417. package/dist/actions/get-services.mjs +13 -13
  418. package/dist/actions/get-services.mjs.map +1 -1
  419. package/dist/actions/get-survey-results.cjs +6 -6
  420. package/dist/actions/get-survey-results.cjs.map +1 -1
  421. package/dist/actions/get-survey-results.d.cts +27 -3
  422. package/dist/actions/get-survey-results.d.cts.map +1 -1
  423. package/dist/actions/get-survey-results.d.mts +27 -3
  424. package/dist/actions/get-survey-results.d.mts.map +1 -1
  425. package/dist/actions/get-survey-results.mjs +6 -6
  426. package/dist/actions/get-survey-results.mjs.map +1 -1
  427. package/dist/actions/get-timeslots.cjs +4 -4
  428. package/dist/actions/get-timeslots.cjs.map +1 -1
  429. package/dist/actions/get-timeslots.d.cts +24 -3
  430. package/dist/actions/get-timeslots.d.cts.map +1 -1
  431. package/dist/actions/get-timeslots.d.mts +24 -3
  432. package/dist/actions/get-timeslots.d.mts.map +1 -1
  433. package/dist/actions/get-timeslots.mjs +4 -4
  434. package/dist/actions/get-timeslots.mjs.map +1 -1
  435. package/dist/actions/get-usermapping.cjs +7 -7
  436. package/dist/actions/get-usermapping.cjs.map +1 -1
  437. package/dist/actions/get-usermapping.d.cts +28 -3
  438. package/dist/actions/get-usermapping.d.cts.map +1 -1
  439. package/dist/actions/get-usermapping.d.mts +28 -3
  440. package/dist/actions/get-usermapping.d.mts.map +1 -1
  441. package/dist/actions/get-usermapping.mjs +7 -7
  442. package/dist/actions/get-usermapping.mjs.map +1 -1
  443. package/dist/actions/get-users.cjs +28 -28
  444. package/dist/actions/get-users.cjs.map +1 -1
  445. package/dist/actions/get-users.d.cts +65 -3
  446. package/dist/actions/get-users.d.cts.map +1 -1
  447. package/dist/actions/get-users.d.mts +65 -3
  448. package/dist/actions/get-users.d.mts.map +1 -1
  449. package/dist/actions/get-users.mjs +28 -28
  450. package/dist/actions/get-users.mjs.map +1 -1
  451. package/dist/actions/get-working-times-date.cjs +6 -6
  452. package/dist/actions/get-working-times-date.cjs.map +1 -1
  453. package/dist/actions/get-working-times-date.d.cts +24 -3
  454. package/dist/actions/get-working-times-date.d.cts.map +1 -1
  455. package/dist/actions/get-working-times-date.d.mts +24 -3
  456. package/dist/actions/get-working-times-date.d.mts.map +1 -1
  457. package/dist/actions/get-working-times-date.mjs +6 -6
  458. package/dist/actions/get-working-times-date.mjs.map +1 -1
  459. package/dist/actions/get-working-times.cjs +7 -7
  460. package/dist/actions/get-working-times.cjs.map +1 -1
  461. package/dist/actions/get-working-times.d.cts +26 -3
  462. package/dist/actions/get-working-times.d.cts.map +1 -1
  463. package/dist/actions/get-working-times.d.mts +26 -3
  464. package/dist/actions/get-working-times.d.mts.map +1 -1
  465. package/dist/actions/get-working-times.mjs +7 -7
  466. package/dist/actions/get-working-times.mjs.map +1 -1
  467. package/dist/actions/list-appointments.cjs +19 -19
  468. package/dist/actions/list-appointments.cjs.map +1 -1
  469. package/dist/actions/list-appointments.d.cts +76 -3
  470. package/dist/actions/list-appointments.d.cts.map +1 -1
  471. package/dist/actions/list-appointments.d.mts +76 -3
  472. package/dist/actions/list-appointments.d.mts.map +1 -1
  473. package/dist/actions/list-appointments.mjs +19 -19
  474. package/dist/actions/list-appointments.mjs.map +1 -1
  475. package/dist/actions/list-vouchers.cjs +19 -19
  476. package/dist/actions/list-vouchers.cjs.map +1 -1
  477. package/dist/actions/list-vouchers.d.cts +45 -3
  478. package/dist/actions/list-vouchers.d.cts.map +1 -1
  479. package/dist/actions/list-vouchers.d.mts +45 -3
  480. package/dist/actions/list-vouchers.d.mts.map +1 -1
  481. package/dist/actions/list-vouchers.mjs +19 -19
  482. package/dist/actions/list-vouchers.mjs.map +1 -1
  483. package/dist/actions/list-webhooks.cjs.map +1 -1
  484. package/dist/actions/list-webhooks.d.cts +7 -3
  485. package/dist/actions/list-webhooks.d.cts.map +1 -1
  486. package/dist/actions/list-webhooks.d.mts +7 -3
  487. package/dist/actions/list-webhooks.d.mts.map +1 -1
  488. package/dist/actions/list-webhooks.mjs.map +1 -1
  489. package/dist/actions/put-service.cjs +3 -3
  490. package/dist/actions/put-service.cjs.map +1 -1
  491. package/dist/actions/put-service.d.cts +239 -3
  492. package/dist/actions/put-service.d.cts.map +1 -1
  493. package/dist/actions/put-service.d.mts +239 -3
  494. package/dist/actions/put-service.d.mts.map +1 -1
  495. package/dist/actions/put-service.mjs +3 -3
  496. package/dist/actions/put-service.mjs.map +1 -1
  497. package/dist/actions/update-absence.cjs +3 -3
  498. package/dist/actions/update-absence.cjs.map +1 -1
  499. package/dist/actions/update-absence.d.cts +27 -3
  500. package/dist/actions/update-absence.d.cts.map +1 -1
  501. package/dist/actions/update-absence.d.mts +27 -3
  502. package/dist/actions/update-absence.d.mts.map +1 -1
  503. package/dist/actions/update-absence.mjs +3 -3
  504. package/dist/actions/update-absence.mjs.map +1 -1
  505. package/dist/actions/update-anchortime-by-date.cjs +2 -2
  506. package/dist/actions/update-anchortime-by-date.cjs.map +1 -1
  507. package/dist/actions/update-anchortime-by-date.d.cts +21 -3
  508. package/dist/actions/update-anchortime-by-date.d.cts.map +1 -1
  509. package/dist/actions/update-anchortime-by-date.d.mts +21 -3
  510. package/dist/actions/update-anchortime-by-date.d.mts.map +1 -1
  511. package/dist/actions/update-anchortime-by-date.mjs +2 -2
  512. package/dist/actions/update-anchortime-by-date.mjs.map +1 -1
  513. package/dist/actions/update-anchortime.cjs +4 -4
  514. package/dist/actions/update-anchortime.cjs.map +1 -1
  515. package/dist/actions/update-anchortime.d.cts +25 -3
  516. package/dist/actions/update-anchortime.d.cts.map +1 -1
  517. package/dist/actions/update-anchortime.d.mts +25 -3
  518. package/dist/actions/update-anchortime.d.mts.map +1 -1
  519. package/dist/actions/update-anchortime.mjs +4 -4
  520. package/dist/actions/update-anchortime.mjs.map +1 -1
  521. package/dist/actions/update-appointment.cjs +2 -2
  522. package/dist/actions/update-appointment.cjs.map +1 -1
  523. package/dist/actions/update-appointment.d.cts +121 -3
  524. package/dist/actions/update-appointment.d.cts.map +1 -1
  525. package/dist/actions/update-appointment.d.mts +121 -3
  526. package/dist/actions/update-appointment.d.mts.map +1 -1
  527. package/dist/actions/update-appointment.mjs +2 -2
  528. package/dist/actions/update-appointment.mjs.map +1 -1
  529. package/dist/actions/update-calendar-return-time.cjs +3 -3
  530. package/dist/actions/update-calendar-return-time.cjs.map +1 -1
  531. package/dist/actions/update-calendar-return-time.d.cts +25 -3
  532. package/dist/actions/update-calendar-return-time.d.cts.map +1 -1
  533. package/dist/actions/update-calendar-return-time.d.mts +25 -3
  534. package/dist/actions/update-calendar-return-time.d.mts.map +1 -1
  535. package/dist/actions/update-calendar-return-time.mjs +3 -3
  536. package/dist/actions/update-calendar-return-time.mjs.map +1 -1
  537. package/dist/actions/update-calendar.cjs +4 -4
  538. package/dist/actions/update-calendar.cjs.map +1 -1
  539. package/dist/actions/update-calendar.d.cts +35 -3
  540. package/dist/actions/update-calendar.d.cts.map +1 -1
  541. package/dist/actions/update-calendar.d.mts +35 -3
  542. package/dist/actions/update-calendar.d.mts.map +1 -1
  543. package/dist/actions/update-calendar.mjs +4 -4
  544. package/dist/actions/update-calendar.mjs.map +1 -1
  545. package/dist/actions/update-contact.cjs +5 -5
  546. package/dist/actions/update-contact.cjs.map +1 -1
  547. package/dist/actions/update-contact.d.cts +25 -3
  548. package/dist/actions/update-contact.d.cts.map +1 -1
  549. package/dist/actions/update-contact.d.mts +25 -3
  550. package/dist/actions/update-contact.d.mts.map +1 -1
  551. package/dist/actions/update-contact.mjs +5 -5
  552. package/dist/actions/update-contact.mjs.map +1 -1
  553. package/dist/actions/update-resource.cjs +4 -4
  554. package/dist/actions/update-resource.cjs.map +1 -1
  555. package/dist/actions/update-resource.d.cts +21 -3
  556. package/dist/actions/update-resource.d.cts.map +1 -1
  557. package/dist/actions/update-resource.d.mts +21 -3
  558. package/dist/actions/update-resource.d.mts.map +1 -1
  559. package/dist/actions/update-resource.mjs +4 -4
  560. package/dist/actions/update-resource.mjs.map +1 -1
  561. package/dist/actions/update-service-group.cjs +2 -2
  562. package/dist/actions/update-service-group.cjs.map +1 -1
  563. package/dist/actions/update-service-group.d.cts +61 -3
  564. package/dist/actions/update-service-group.d.cts.map +1 -1
  565. package/dist/actions/update-service-group.d.mts +61 -3
  566. package/dist/actions/update-service-group.d.mts.map +1 -1
  567. package/dist/actions/update-service-group.mjs +2 -2
  568. package/dist/actions/update-service-group.mjs.map +1 -1
  569. package/dist/actions/update-service.cjs.map +1 -1
  570. package/dist/actions/update-service.d.cts +21 -3
  571. package/dist/actions/update-service.d.cts.map +1 -1
  572. package/dist/actions/update-service.d.mts +21 -3
  573. package/dist/actions/update-service.d.mts.map +1 -1
  574. package/dist/actions/update-service.mjs.map +1 -1
  575. package/dist/actions/update-sync-appointment.cjs +3 -3
  576. package/dist/actions/update-sync-appointment.cjs.map +1 -1
  577. package/dist/actions/update-sync-appointment.d.cts +39 -3
  578. package/dist/actions/update-sync-appointment.d.cts.map +1 -1
  579. package/dist/actions/update-sync-appointment.d.mts +39 -3
  580. package/dist/actions/update-sync-appointment.d.mts.map +1 -1
  581. package/dist/actions/update-sync-appointment.mjs +3 -3
  582. package/dist/actions/update-sync-appointment.mjs.map +1 -1
  583. package/dist/actions/update-usermapping.cjs +2 -2
  584. package/dist/actions/update-usermapping.cjs.map +1 -1
  585. package/dist/actions/update-usermapping.d.cts +30 -3
  586. package/dist/actions/update-usermapping.d.cts.map +1 -1
  587. package/dist/actions/update-usermapping.d.mts +30 -3
  588. package/dist/actions/update-usermapping.d.mts.map +1 -1
  589. package/dist/actions/update-usermapping.mjs +2 -2
  590. package/dist/actions/update-usermapping.mjs.map +1 -1
  591. package/dist/actions/update-voucher.cjs +4 -4
  592. package/dist/actions/update-voucher.cjs.map +1 -1
  593. package/dist/actions/update-voucher.d.cts +19 -3
  594. package/dist/actions/update-voucher.d.cts.map +1 -1
  595. package/dist/actions/update-voucher.d.mts +19 -3
  596. package/dist/actions/update-voucher.d.mts.map +1 -1
  597. package/dist/actions/update-voucher.mjs +4 -4
  598. package/dist/actions/update-voucher.mjs.map +1 -1
  599. package/dist/actions/update-webhook.cjs +3 -3
  600. package/dist/actions/update-webhook.cjs.map +1 -1
  601. package/dist/actions/update-webhook.d.cts +17 -3
  602. package/dist/actions/update-webhook.d.cts.map +1 -1
  603. package/dist/actions/update-webhook.d.mts +17 -3
  604. package/dist/actions/update-webhook.d.mts.map +1 -1
  605. package/dist/actions/update-webhook.mjs +3 -3
  606. package/dist/actions/update-webhook.mjs.map +1 -1
  607. package/dist/actions/update-working-times-date.cjs +2 -2
  608. package/dist/actions/update-working-times-date.cjs.map +1 -1
  609. package/dist/actions/update-working-times-date.d.cts +39 -3
  610. package/dist/actions/update-working-times-date.d.cts.map +1 -1
  611. package/dist/actions/update-working-times-date.d.mts +39 -3
  612. package/dist/actions/update-working-times-date.d.mts.map +1 -1
  613. package/dist/actions/update-working-times-date.mjs +2 -2
  614. package/dist/actions/update-working-times-date.mjs.map +1 -1
  615. package/dist/actions/update-working-times.cjs +2 -2
  616. package/dist/actions/update-working-times.cjs.map +1 -1
  617. package/dist/actions/update-working-times.d.cts +61 -3
  618. package/dist/actions/update-working-times.d.cts.map +1 -1
  619. package/dist/actions/update-working-times.d.mts +61 -3
  620. package/dist/actions/update-working-times.d.mts.map +1 -1
  621. package/dist/actions/update-working-times.mjs +2 -2
  622. package/dist/actions/update-working-times.mjs.map +1 -1
  623. package/dist/catalog.cjs +24 -1
  624. package/dist/catalog.cjs.map +1 -1
  625. package/dist/catalog.d.cts +23 -0
  626. package/dist/catalog.d.mts +23 -0
  627. package/dist/catalog.mjs +24 -1
  628. package/dist/catalog.mjs.map +1 -1
  629. package/package.json +2 -2
@@ -1,9 +1,41 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-message-logs.d.ts
4
- declare const EterminGetMessageLogsInput: z.ZodTypeAny;
5
- declare const EterminGetMessageLogsOutput: z.ZodTypeAny;
6
- declare const eterminGetMessageLogs: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const EterminGetMessageLogsInput: z.ZodObject<{
5
+ id: z.ZodOptional<z.ZodNumber>;
6
+ appid: z.ZodOptional<z.ZodNumber>;
7
+ smsonly: z.ZodOptional<z.ZodBoolean>;
8
+ }, z.core.$strip>;
9
+ declare const EterminGetMessageLogsOutput: z.ZodObject<{
10
+ message_logs: z.ZodArray<z.ZodObject<{
11
+ id: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
12
+ rc: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
13
+ bcc: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
14
+ nrsms: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
15
+ status: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
16
+ msgtype: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
17
+ subject: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
18
+ datesent: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
19
+ receiver: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
20
+ }, z.core.$strip>>;
21
+ }, z.core.$strip>;
22
+ declare const eterminGetMessageLogs: import("@keystrokehq/action").WorkflowActionDefinition<{
23
+ id?: number | undefined;
24
+ appid?: number | undefined;
25
+ smsonly?: boolean | undefined;
26
+ }, {
27
+ message_logs: {
28
+ id?: number | undefined;
29
+ rc?: number | undefined;
30
+ bcc?: string | undefined;
31
+ nrsms?: number | undefined;
32
+ status?: number | undefined;
33
+ msgtype?: number | undefined;
34
+ subject?: string | undefined;
35
+ datesent?: string | undefined;
36
+ receiver?: string | undefined;
37
+ }[];
38
+ }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
39
  //#endregion
8
40
  export { eterminGetMessageLogs };
9
41
  //# sourceMappingURL=get-message-logs.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-message-logs.d.mts","names":[],"sources":["../../src/actions/get-message-logs.ts"],"mappings":";;;cAIa,0BAAA,EAA4B,CAAA,CAAE,UAIyD;AAAA,cAYvF,2BAAA,EAA6B,CAAA,CAAE,UAEiC;AAAA,cAEhE,qBAAA,gCAAqB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-message-logs.d.mts","names":[],"sources":["../../src/actions/get-message-logs.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;cAgB1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAI3B,qBAAA,gCAAqB,wBAAA"}
@@ -7,15 +7,15 @@ const EterminGetMessageLogsInput = z.object({
7
7
  smsonly: z.boolean().describe("When true, returns only the count of SMS sent this month and last month (not the actual list of SMS).").optional()
8
8
  }).describe("Request model for retrieving message logs from eTermin.\nAll parameters are optional.");
9
9
  const EterminGetMessageLogs_MessageLogSchema = z.object({
10
- id: z.number().int().describe("Unique identifier for the message log entry").nullable().optional(),
11
- rc: z.number().int().describe("Return code or internal reference").nullable().optional(),
12
- bcc: z.string().describe("BCC email addresses").nullable().optional(),
13
- nrsms: z.number().int().describe("Number of SMS messages sent").nullable().optional(),
14
- status: z.number().int().describe("Status of the message").nullable().optional(),
15
- msgtype: z.number().int().describe("Type of message sent (numeric code)").nullable().optional(),
16
- subject: z.string().describe("Subject line of the email").nullable().optional(),
17
- datesent: z.string().describe("Date and time when the message was sent (format: YYYY-MM-DDTHH:mm:ss)").nullable().optional(),
18
- receiver: z.string().describe("Email address or phone number of the message receiver").nullable().optional()
10
+ id: z.preprocess((value) => value === null ? void 0 : value, z.number().int().describe("Unique identifier for the message log entry").optional()),
11
+ rc: z.preprocess((value) => value === null ? void 0 : value, z.number().int().describe("Return code or internal reference").optional()),
12
+ bcc: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("BCC email addresses").optional()),
13
+ nrsms: z.preprocess((value) => value === null ? void 0 : value, z.number().int().describe("Number of SMS messages sent").optional()),
14
+ status: z.preprocess((value) => value === null ? void 0 : value, z.number().int().describe("Status of the message").optional()),
15
+ msgtype: z.preprocess((value) => value === null ? void 0 : value, z.number().int().describe("Type of message sent (numeric code)").optional()),
16
+ subject: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Subject line of the email").optional()),
17
+ datesent: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Date and time when the message was sent (format: YYYY-MM-DDTHH:mm:ss)").optional()),
18
+ receiver: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Email address or phone number of the message receiver").optional())
19
19
  }).describe("Model representing a message log entry in eTermin.");
20
20
  const eterminGetMessageLogs = action("ETERMIN_GET_MESSAGE_LOGS", {
21
21
  slug: "etermin-get-message-logs",
@@ -1 +1 @@
1
- {"version":3,"file":"get-message-logs.mjs","names":[],"sources":["../../src/actions/get-message-logs.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminGetMessageLogsInput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"ID of a messagelog entry. Returns the email text that was sent in this specific email.\").optional(),\n appid: z.number().int().describe(\"Numeric appointment ID (not externalid). Returns a list of all emails and SMS sent relating to this appointment.\").optional(),\n smsonly: z.boolean().describe(\"When true, returns only the count of SMS sent this month and last month (not the actual list of SMS).\").optional(),\n}).describe(\"Request model for retrieving message logs from eTermin.\\nAll parameters are optional.\");\nconst EterminGetMessageLogs_MessageLogSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier for the message log entry\").nullable().optional(),\n rc: z.number().int().describe(\"Return code or internal reference\").nullable().optional(),\n bcc: z.string().describe(\"BCC email addresses\").nullable().optional(),\n nrsms: z.number().int().describe(\"Number of SMS messages sent\").nullable().optional(),\n status: z.number().int().describe(\"Status of the message\").nullable().optional(),\n msgtype: z.number().int().describe(\"Type of message sent (numeric code)\").nullable().optional(),\n subject: z.string().describe(\"Subject line of the email\").nullable().optional(),\n datesent: z.string().describe(\"Date and time when the message was sent (format: YYYY-MM-DDTHH:mm:ss)\").nullable().optional(),\n receiver: z.string().describe(\"Email address or phone number of the message receiver\").nullable().optional(),\n}).describe(\"Model representing a message log entry in eTermin.\");\nexport const EterminGetMessageLogsOutput: z.ZodTypeAny = z.object({\n message_logs: z.array(EterminGetMessageLogs_MessageLogSchema).describe(\"List of message logs (emails and SMS)\"),\n}).describe(\"Response model containing a list of message logs from eTermin.\");\n\nexport const eterminGetMessageLogs = action(\"ETERMIN_GET_MESSAGE_LOGS\", {\n slug: \"etermin-get-message-logs\",\n name: \"Get Message Logs\",\n description: \"Tool to retrieve message logs from eTermin. Use when you need to view emails and SMS that have been sent through the system. Returns details about sent messages including receiver, subject, date sent, and message type.\",\n input: EterminGetMessageLogsInput,\n output: EterminGetMessageLogsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA2C,EAAE,OAAO;CAC/D,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS;CACjI,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kHAAkH,CAAC,CAAC,SAAS;CAC9J,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,uGAAuG,CAAC,CAAC,SAAS;AAClJ,CAAC,CAAC,CAAC,SAAS,uFAAuF;AACnG,MAAM,yCAAuD,EAAE,OAAO;CACpE,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3H,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7G,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAKhE,MAAa,wBAAwB,OAAO,4BAA4B;CACtE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATuD,EAAE,OAAO,EAChE,cAAc,EAAE,MAAM,sCAAsC,CAAC,CAAC,SAAS,uCAAuC,EAChH,CAAC,CAAC,CAAC,SAAS,gEAOF;AACV,CAAC"}
1
+ {"version":3,"file":"get-message-logs.mjs","names":[],"sources":["../../src/actions/get-message-logs.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminGetMessageLogsInput = z.object({\n id: z.number().int().describe(\"ID of a messagelog entry. Returns the email text that was sent in this specific email.\").optional(),\n appid: z.number().int().describe(\"Numeric appointment ID (not externalid). Returns a list of all emails and SMS sent relating to this appointment.\").optional(),\n smsonly: z.boolean().describe(\"When true, returns only the count of SMS sent this month and last month (not the actual list of SMS).\").optional(),\n}).describe(\"Request model for retrieving message logs from eTermin.\\nAll parameters are optional.\");\nconst EterminGetMessageLogs_MessageLogSchema = z.object({\n id: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"Unique identifier for the message log entry\").optional()),\n rc: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"Return code or internal reference\").optional()),\n bcc: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"BCC email addresses\").optional()),\n nrsms: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"Number of SMS messages sent\").optional()),\n status: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"Status of the message\").optional()),\n msgtype: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"Type of message sent (numeric code)\").optional()),\n subject: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Subject line of the email\").optional()),\n datesent: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Date and time when the message was sent (format: YYYY-MM-DDTHH:mm:ss)\").optional()),\n receiver: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Email address or phone number of the message receiver\").optional()),\n}).describe(\"Model representing a message log entry in eTermin.\");\nexport const EterminGetMessageLogsOutput = z.object({\n message_logs: z.array(EterminGetMessageLogs_MessageLogSchema).describe(\"List of message logs (emails and SMS)\"),\n}).describe(\"Response model containing a list of message logs from eTermin.\");\n\nexport const eterminGetMessageLogs = action(\"ETERMIN_GET_MESSAGE_LOGS\", {\n slug: \"etermin-get-message-logs\",\n name: \"Get Message Logs\",\n description: \"Tool to retrieve message logs from eTermin. Use when you need to view emails and SMS that have been sent through the system. Returns details about sent messages including receiver, subject, date sent, and message type.\",\n input: EterminGetMessageLogsInput,\n output: EterminGetMessageLogsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6B,EAAE,OAAO;CACjD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS;CACjI,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kHAAkH,CAAC,CAAC,SAAS;CAC9J,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,uGAAuG,CAAC,CAAC,SAAS;AAClJ,CAAC,CAAC,CAAC,SAAS,uFAAuF;AACnG,MAAM,yCAAyC,EAAE,OAAO;CACtD,IAAI,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC;CACrJ,IAAI,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC;CAC3I,KAAK,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC;CACxH,OAAO,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC;CACxI,QAAQ,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC;CACnI,SAAS,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC;CAClJ,SAAS,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC;CAClI,UAAU,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS,CAAC;CAC/K,UAAU,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC;AACjK,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAKhE,MAAa,wBAAwB,OAAO,4BAA4B;CACtE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATyC,EAAE,OAAO,EAClD,cAAc,EAAE,MAAM,sCAAsC,CAAC,CAAC,SAAS,uCAAuC,EAChH,CAAC,CAAC,CAAC,SAAS,gEAOF;AACV,CAAC"}
@@ -3,17 +3,17 @@ let zod = require("zod");
3
3
  //#region src/actions/get-rating.ts
4
4
  const EterminGetRatingInput = zod.z.object({}).describe("Request model for retrieving customer ratings from eTermin.\nNo parameters required - retrieves all customer ratings in the account.");
5
5
  const EterminGetRating_RatingSchema = zod.z.object({
6
- ID: zod.z.number().int().describe("Unique identifier for the rating").nullable().optional(),
7
- Reply: zod.z.string().describe("Response/reply to the customer feedback").nullable().optional(),
8
- Rating: zod.z.number().describe("Numeric rating value (e.g., 5.0)").nullable().optional(),
9
- Publish: zod.z.boolean().describe("Whether the rating is publicly visible").nullable().optional(),
10
- ServiceID: zod.z.string().describe("Comma-separated service identifiers").nullable().optional(),
11
- CalendarID: zod.z.number().int().describe("Associated calendar identifier").nullable().optional(),
12
- RatingDate: zod.z.string().describe("ISO 8601 timestamp of when rating was submitted").nullable().optional(),
13
- CalendarName: zod.z.string().describe("Name of the calendar/employee").nullable().optional(),
14
- CustomerInfo: zod.z.string().describe("Customer identification details (name, email)").nullable().optional(),
15
- CustomerFeedback: zod.z.string().describe("Text feedback provided by the customer").nullable().optional(),
16
- AppointmentExternalID: zod.z.string().describe("External ID linking to the appointment").nullable().optional()
6
+ ID: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.number().int().describe("Unique identifier for the rating").optional()),
7
+ Reply: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Response/reply to the customer feedback").optional()),
8
+ Rating: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.number().describe("Numeric rating value (e.g., 5.0)").optional()),
9
+ Publish: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.boolean().describe("Whether the rating is publicly visible").optional()),
10
+ ServiceID: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Comma-separated service identifiers").optional()),
11
+ CalendarID: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.number().int().describe("Associated calendar identifier").optional()),
12
+ RatingDate: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("ISO 8601 timestamp of when rating was submitted").optional()),
13
+ CalendarName: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Name of the calendar/employee").optional()),
14
+ CustomerInfo: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Customer identification details (name, email)").optional()),
15
+ CustomerFeedback: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Text feedback provided by the customer").optional()),
16
+ AppointmentExternalID: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("External ID linking to the appointment").optional())
17
17
  }).passthrough().describe("Model representing a customer rating in eTermin.");
18
18
  const EterminGetRatingOutput = zod.z.object({ ratings: zod.z.array(EterminGetRating_RatingSchema).describe("List of customer ratings in the eTermin account") }).describe("Response model containing a list of customer ratings from eTermin.");
19
19
  const eterminGetRating = require_action.action("ETERMIN_GET_RATING", {
@@ -1 +1 @@
1
- {"version":3,"file":"get-rating.cjs","names":["z","action"],"sources":["../../src/actions/get-rating.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminGetRatingInput: z.ZodTypeAny = z.object({}).describe(\"Request model for retrieving customer ratings from eTermin.\\nNo parameters required - retrieves all customer ratings in the account.\");\nconst EterminGetRating_RatingSchema: z.ZodTypeAny = z.object({\n ID: z.number().int().describe(\"Unique identifier for the rating\").nullable().optional(),\n Reply: z.string().describe(\"Response/reply to the customer feedback\").nullable().optional(),\n Rating: z.number().describe(\"Numeric rating value (e.g., 5.0)\").nullable().optional(),\n Publish: z.boolean().describe(\"Whether the rating is publicly visible\").nullable().optional(),\n ServiceID: z.string().describe(\"Comma-separated service identifiers\").nullable().optional(),\n CalendarID: z.number().int().describe(\"Associated calendar identifier\").nullable().optional(),\n RatingDate: z.string().describe(\"ISO 8601 timestamp of when rating was submitted\").nullable().optional(),\n CalendarName: z.string().describe(\"Name of the calendar/employee\").nullable().optional(),\n CustomerInfo: z.string().describe(\"Customer identification details (name, email)\").nullable().optional(),\n CustomerFeedback: z.string().describe(\"Text feedback provided by the customer\").nullable().optional(),\n AppointmentExternalID: z.string().describe(\"External ID linking to the appointment\").nullable().optional(),\n}).passthrough().describe(\"Model representing a customer rating in eTermin.\");\nexport const EterminGetRatingOutput: z.ZodTypeAny = z.object({\n ratings: z.array(EterminGetRating_RatingSchema).describe(\"List of customer ratings in the eTermin account\"),\n}).describe(\"Response model containing a list of customer ratings from eTermin.\");\n\nexport const eterminGetRating = action(\"ETERMIN_GET_RATING\", {\n slug: \"etermin-get-rating\",\n name: \"Get Customer Ratings\",\n description: \"Tool to retrieve a list of customer ratings from eTermin. Use when you need to get feedback and ratings from customers for appointments. Returns rating details including customer feedback, rating score, and reply status.\",\n input: EterminGetRatingInput,\n output: EterminGetRatingOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAsCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,sIAAsI;AAC/M,MAAM,gCAA8CA,IAAAA,EAAE,OAAO;CAC3D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,uBAAuBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAAkD;AAC5E,MAAa,yBAAuCA,IAAAA,EAAE,OAAO,EAC3D,SAASA,IAAAA,EAAE,MAAM,6BAA6B,CAAC,CAAC,SAAS,iDAAiD,EAC5G,CAAC,CAAC,CAAC,SAAS,oEAAoE;AAEhF,MAAa,mBAAmBC,eAAAA,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-rating.cjs","names":["z","action"],"sources":["../../src/actions/get-rating.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminGetRatingInput = z.object({}).describe(\"Request model for retrieving customer ratings from eTermin.\\nNo parameters required - retrieves all customer ratings in the account.\");\nconst EterminGetRating_RatingSchema = z.object({\n ID: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"Unique identifier for the rating\").optional()),\n Reply: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Response/reply to the customer feedback\").optional()),\n Rating: z.preprocess((value) => (value === null ? undefined : value), z.number().describe(\"Numeric rating value (e.g., 5.0)\").optional()),\n Publish: z.preprocess((value) => (value === null ? undefined : value), z.boolean().describe(\"Whether the rating is publicly visible\").optional()),\n ServiceID: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Comma-separated service identifiers\").optional()),\n CalendarID: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"Associated calendar identifier\").optional()),\n RatingDate: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"ISO 8601 timestamp of when rating was submitted\").optional()),\n CalendarName: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Name of the calendar/employee\").optional()),\n CustomerInfo: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Customer identification details (name, email)\").optional()),\n CustomerFeedback: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Text feedback provided by the customer\").optional()),\n AppointmentExternalID: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"External ID linking to the appointment\").optional()),\n}).passthrough().describe(\"Model representing a customer rating in eTermin.\");\nexport const EterminGetRatingOutput = z.object({\n ratings: z.array(EterminGetRating_RatingSchema).describe(\"List of customer ratings in the eTermin account\"),\n}).describe(\"Response model containing a list of customer ratings from eTermin.\");\n\nexport const eterminGetRating = action(\"ETERMIN_GET_RATING\", {\n slug: \"etermin-get-rating\",\n name: \"Get Customer Ratings\",\n description: \"Tool to retrieve a list of customer ratings from eTermin. Use when you need to get feedback and ratings from customers for appointments. Returns rating details including customer feedback, rating score, and reply status.\",\n input: EterminGetRatingInput,\n output: EterminGetRatingOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAwBA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,sIAAsI;AACjM,MAAM,gCAAgCA,IAAAA,EAAE,OAAO;CAC7C,IAAIA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC;CAC1I,OAAOA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC;CAC9I,QAAQA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC;CACxI,SAASA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC;CAChJ,WAAWA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC;CAC9I,YAAYA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC;CAChJ,YAAYA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC;CAC3J,cAAcA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC;CAC3I,cAAcA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC;CAC3J,kBAAkBA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC;CACxJ,uBAAuBA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC;AAC/J,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAAkD;AAC5E,MAAa,yBAAyBA,IAAAA,EAAE,OAAO,EAC7C,SAASA,IAAAA,EAAE,MAAM,6BAA6B,CAAC,CAAC,SAAS,iDAAiD,EAC5G,CAAC,CAAC,CAAC,SAAS,oEAAoE;AAEhF,MAAa,mBAAmBC,eAAAA,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,38 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-rating.d.ts
4
- declare const EterminGetRatingInput: z.ZodTypeAny;
5
- declare const EterminGetRatingOutput: z.ZodTypeAny;
6
- declare const eterminGetRating: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const EterminGetRatingInput: z.ZodObject<{}, z.core.$strip>;
5
+ declare const EterminGetRatingOutput: z.ZodObject<{
6
+ ratings: z.ZodArray<z.ZodObject<{
7
+ ID: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
8
+ Reply: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
9
+ Rating: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
10
+ Publish: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
11
+ ServiceID: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
12
+ CalendarID: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
13
+ RatingDate: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
14
+ CalendarName: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
15
+ CustomerInfo: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
16
+ CustomerFeedback: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
17
+ AppointmentExternalID: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
18
+ }, z.core.$loose>>;
19
+ }, z.core.$strip>;
20
+ declare const eterminGetRating: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, {
21
+ ratings: {
22
+ [x: string]: unknown;
23
+ ID?: number | undefined;
24
+ Reply?: string | undefined;
25
+ Rating?: number | undefined;
26
+ Publish?: boolean | undefined;
27
+ ServiceID?: string | undefined;
28
+ CalendarID?: number | undefined;
29
+ RatingDate?: string | undefined;
30
+ CalendarName?: string | undefined;
31
+ CustomerInfo?: string | undefined;
32
+ CustomerFeedback?: string | undefined;
33
+ AppointmentExternalID?: string | undefined;
34
+ }[];
35
+ }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
36
  //#endregion
8
37
  export { eterminGetRating };
9
38
  //# sourceMappingURL=get-rating.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-rating.d.cts","names":[],"sources":["../../src/actions/get-rating.ts"],"mappings":";;;cAIa,qBAAA,EAAuB,CAAA,CAAE,UAA0K;AAAA,cAcnM,sBAAA,EAAwB,CAAA,CAAE,UAE0C;AAAA,cAEpE,gBAAA,gCAAgB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-rating.d.cts","names":[],"sources":["../../src/actions/get-rating.ts"],"mappings":";;;cAIa,qBAAA,EAAqB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAcrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAItB,gBAAA,gCAAgB,wBAAA,CAAA,MAAA"}
@@ -1,9 +1,38 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-rating.d.ts
4
- declare const EterminGetRatingInput: z.ZodTypeAny;
5
- declare const EterminGetRatingOutput: z.ZodTypeAny;
6
- declare const eterminGetRating: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const EterminGetRatingInput: z.ZodObject<{}, z.core.$strip>;
5
+ declare const EterminGetRatingOutput: z.ZodObject<{
6
+ ratings: z.ZodArray<z.ZodObject<{
7
+ ID: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
8
+ Reply: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
9
+ Rating: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
10
+ Publish: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
11
+ ServiceID: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
12
+ CalendarID: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
13
+ RatingDate: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
14
+ CalendarName: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
15
+ CustomerInfo: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
16
+ CustomerFeedback: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
17
+ AppointmentExternalID: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
18
+ }, z.core.$loose>>;
19
+ }, z.core.$strip>;
20
+ declare const eterminGetRating: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, {
21
+ ratings: {
22
+ [x: string]: unknown;
23
+ ID?: number | undefined;
24
+ Reply?: string | undefined;
25
+ Rating?: number | undefined;
26
+ Publish?: boolean | undefined;
27
+ ServiceID?: string | undefined;
28
+ CalendarID?: number | undefined;
29
+ RatingDate?: string | undefined;
30
+ CalendarName?: string | undefined;
31
+ CustomerInfo?: string | undefined;
32
+ CustomerFeedback?: string | undefined;
33
+ AppointmentExternalID?: string | undefined;
34
+ }[];
35
+ }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
36
  //#endregion
8
37
  export { eterminGetRating };
9
38
  //# sourceMappingURL=get-rating.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-rating.d.mts","names":[],"sources":["../../src/actions/get-rating.ts"],"mappings":";;;cAIa,qBAAA,EAAuB,CAAA,CAAE,UAA0K;AAAA,cAcnM,sBAAA,EAAwB,CAAA,CAAE,UAE0C;AAAA,cAEpE,gBAAA,gCAAgB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-rating.d.mts","names":[],"sources":["../../src/actions/get-rating.ts"],"mappings":";;;cAIa,qBAAA,EAAqB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAcrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAItB,gBAAA,gCAAgB,wBAAA,CAAA,MAAA"}
@@ -3,17 +3,17 @@ import { z } from "zod";
3
3
  //#region src/actions/get-rating.ts
4
4
  const EterminGetRatingInput = z.object({}).describe("Request model for retrieving customer ratings from eTermin.\nNo parameters required - retrieves all customer ratings in the account.");
5
5
  const EterminGetRating_RatingSchema = z.object({
6
- ID: z.number().int().describe("Unique identifier for the rating").nullable().optional(),
7
- Reply: z.string().describe("Response/reply to the customer feedback").nullable().optional(),
8
- Rating: z.number().describe("Numeric rating value (e.g., 5.0)").nullable().optional(),
9
- Publish: z.boolean().describe("Whether the rating is publicly visible").nullable().optional(),
10
- ServiceID: z.string().describe("Comma-separated service identifiers").nullable().optional(),
11
- CalendarID: z.number().int().describe("Associated calendar identifier").nullable().optional(),
12
- RatingDate: z.string().describe("ISO 8601 timestamp of when rating was submitted").nullable().optional(),
13
- CalendarName: z.string().describe("Name of the calendar/employee").nullable().optional(),
14
- CustomerInfo: z.string().describe("Customer identification details (name, email)").nullable().optional(),
15
- CustomerFeedback: z.string().describe("Text feedback provided by the customer").nullable().optional(),
16
- AppointmentExternalID: z.string().describe("External ID linking to the appointment").nullable().optional()
6
+ ID: z.preprocess((value) => value === null ? void 0 : value, z.number().int().describe("Unique identifier for the rating").optional()),
7
+ Reply: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Response/reply to the customer feedback").optional()),
8
+ Rating: z.preprocess((value) => value === null ? void 0 : value, z.number().describe("Numeric rating value (e.g., 5.0)").optional()),
9
+ Publish: z.preprocess((value) => value === null ? void 0 : value, z.boolean().describe("Whether the rating is publicly visible").optional()),
10
+ ServiceID: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Comma-separated service identifiers").optional()),
11
+ CalendarID: z.preprocess((value) => value === null ? void 0 : value, z.number().int().describe("Associated calendar identifier").optional()),
12
+ RatingDate: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("ISO 8601 timestamp of when rating was submitted").optional()),
13
+ CalendarName: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Name of the calendar/employee").optional()),
14
+ CustomerInfo: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Customer identification details (name, email)").optional()),
15
+ CustomerFeedback: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Text feedback provided by the customer").optional()),
16
+ AppointmentExternalID: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("External ID linking to the appointment").optional())
17
17
  }).passthrough().describe("Model representing a customer rating in eTermin.");
18
18
  const eterminGetRating = action("ETERMIN_GET_RATING", {
19
19
  slug: "etermin-get-rating",
@@ -1 +1 @@
1
- {"version":3,"file":"get-rating.mjs","names":[],"sources":["../../src/actions/get-rating.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminGetRatingInput: z.ZodTypeAny = z.object({}).describe(\"Request model for retrieving customer ratings from eTermin.\\nNo parameters required - retrieves all customer ratings in the account.\");\nconst EterminGetRating_RatingSchema: z.ZodTypeAny = z.object({\n ID: z.number().int().describe(\"Unique identifier for the rating\").nullable().optional(),\n Reply: z.string().describe(\"Response/reply to the customer feedback\").nullable().optional(),\n Rating: z.number().describe(\"Numeric rating value (e.g., 5.0)\").nullable().optional(),\n Publish: z.boolean().describe(\"Whether the rating is publicly visible\").nullable().optional(),\n ServiceID: z.string().describe(\"Comma-separated service identifiers\").nullable().optional(),\n CalendarID: z.number().int().describe(\"Associated calendar identifier\").nullable().optional(),\n RatingDate: z.string().describe(\"ISO 8601 timestamp of when rating was submitted\").nullable().optional(),\n CalendarName: z.string().describe(\"Name of the calendar/employee\").nullable().optional(),\n CustomerInfo: z.string().describe(\"Customer identification details (name, email)\").nullable().optional(),\n CustomerFeedback: z.string().describe(\"Text feedback provided by the customer\").nullable().optional(),\n AppointmentExternalID: z.string().describe(\"External ID linking to the appointment\").nullable().optional(),\n}).passthrough().describe(\"Model representing a customer rating in eTermin.\");\nexport const EterminGetRatingOutput: z.ZodTypeAny = z.object({\n ratings: z.array(EterminGetRating_RatingSchema).describe(\"List of customer ratings in the eTermin account\"),\n}).describe(\"Response model containing a list of customer ratings from eTermin.\");\n\nexport const eterminGetRating = action(\"ETERMIN_GET_RATING\", {\n slug: \"etermin-get-rating\",\n name: \"Get Customer Ratings\",\n description: \"Tool to retrieve a list of customer ratings from eTermin. Use when you need to get feedback and ratings from customers for appointments. Returns rating details including customer feedback, rating score, and reply status.\",\n input: EterminGetRatingInput,\n output: EterminGetRatingOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAsC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,sIAAsI;AAC/M,MAAM,gCAA8C,EAAE,OAAO;CAC3D,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,uBAAuB,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAAkD;AAK5E,MAAa,mBAAmB,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATkD,EAAE,OAAO,EAC3D,SAAS,EAAE,MAAM,6BAA6B,CAAC,CAAC,SAAS,iDAAiD,EAC5G,CAAC,CAAC,CAAC,SAAS,oEAOF;AACV,CAAC"}
1
+ {"version":3,"file":"get-rating.mjs","names":[],"sources":["../../src/actions/get-rating.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminGetRatingInput = z.object({}).describe(\"Request model for retrieving customer ratings from eTermin.\\nNo parameters required - retrieves all customer ratings in the account.\");\nconst EterminGetRating_RatingSchema = z.object({\n ID: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"Unique identifier for the rating\").optional()),\n Reply: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Response/reply to the customer feedback\").optional()),\n Rating: z.preprocess((value) => (value === null ? undefined : value), z.number().describe(\"Numeric rating value (e.g., 5.0)\").optional()),\n Publish: z.preprocess((value) => (value === null ? undefined : value), z.boolean().describe(\"Whether the rating is publicly visible\").optional()),\n ServiceID: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Comma-separated service identifiers\").optional()),\n CalendarID: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"Associated calendar identifier\").optional()),\n RatingDate: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"ISO 8601 timestamp of when rating was submitted\").optional()),\n CalendarName: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Name of the calendar/employee\").optional()),\n CustomerInfo: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Customer identification details (name, email)\").optional()),\n CustomerFeedback: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Text feedback provided by the customer\").optional()),\n AppointmentExternalID: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"External ID linking to the appointment\").optional()),\n}).passthrough().describe(\"Model representing a customer rating in eTermin.\");\nexport const EterminGetRatingOutput = z.object({\n ratings: z.array(EterminGetRating_RatingSchema).describe(\"List of customer ratings in the eTermin account\"),\n}).describe(\"Response model containing a list of customer ratings from eTermin.\");\n\nexport const eterminGetRating = action(\"ETERMIN_GET_RATING\", {\n slug: \"etermin-get-rating\",\n name: \"Get Customer Ratings\",\n description: \"Tool to retrieve a list of customer ratings from eTermin. Use when you need to get feedback and ratings from customers for appointments. Returns rating details including customer feedback, rating score, and reply status.\",\n input: EterminGetRatingInput,\n output: EterminGetRatingOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAwB,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,sIAAsI;AACjM,MAAM,gCAAgC,EAAE,OAAO;CAC7C,IAAI,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC;CAC1I,OAAO,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC;CAC9I,QAAQ,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC;CACxI,SAAS,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC;CAChJ,WAAW,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC;CAC9I,YAAY,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC;CAChJ,YAAY,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC;CAC3J,cAAc,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC;CAC3I,cAAc,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC;CAC3J,kBAAkB,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC;CACxJ,uBAAuB,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC;AAC/J,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAAkD;AAK5E,MAAa,mBAAmB,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAToC,EAAE,OAAO,EAC7C,SAAS,EAAE,MAAM,6BAA6B,CAAC,CAAC,SAAS,iDAAiD,EAC5G,CAAC,CAAC,CAAC,SAAS,oEAOF;AACV,CAAC"}
@@ -3,19 +3,19 @@ let zod = require("zod");
3
3
  //#region src/actions/get-service-by-id.ts
4
4
  const EterminGetServiceByIdInput = zod.z.object({ service_id: zod.z.number().int().describe("The ID of the service to retrieve. Note: This parameter does not filter to a single service but is accepted by the API.").optional() }).describe("Request model for retrieving a specific service from eTermin.\nNote: The ServiceID parameter is optional and may return multiple services.");
5
5
  const EterminGetServiceById_ServiceSchema = zod.z.object({
6
- Price: zod.z.number().describe("Price of the service"),
7
- InfoDE: zod.z.string().describe("Service description/info in German").nullable().optional(),
8
- InfoEN: zod.z.string().describe("Service description/info in English").nullable().optional(),
9
- Enabled: zod.z.boolean().describe("Whether the service is currently enabled for booking"),
10
- Currency: zod.z.string().describe("Currency code for the price (e.g., EUR)"),
11
- ServiceDE: zod.z.string().describe("Service name in German").nullable().optional(),
12
- ServiceEN: zod.z.string().describe("Service name in English").nullable().optional(),
13
- ServiceID: zod.z.number().int().describe("Unique identifier for the service"),
14
- SortOrder: zod.z.number().int().describe("Sort order for displaying the service"),
15
- MaxCapacity: zod.z.number().int().describe("Maximum capacity for the service"),
16
- MinCapacity: zod.z.number().int().describe("Minimum capacity for the service"),
17
- ServiceGroupID: zod.z.number().int().describe("ID of the service group this service belongs to"),
18
- TimeSlotMinutes: zod.z.number().int().describe("Duration of the service in minutes")
6
+ Price: zod.z.number().describe("Price of the service").nullable(),
7
+ InfoDE: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Service description/info in German").optional()),
8
+ InfoEN: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Service description/info in English").optional()),
9
+ Enabled: zod.z.boolean().describe("Whether the service is currently enabled for booking").nullable(),
10
+ Currency: zod.z.string().describe("Currency code for the price (e.g., EUR)").nullable(),
11
+ ServiceDE: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Service name in German").optional()),
12
+ ServiceEN: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Service name in English").optional()),
13
+ ServiceID: zod.z.number().int().describe("Unique identifier for the service").nullable(),
14
+ SortOrder: zod.z.number().int().describe("Sort order for displaying the service").nullable(),
15
+ MaxCapacity: zod.z.number().int().describe("Maximum capacity for the service").nullable(),
16
+ MinCapacity: zod.z.number().int().describe("Minimum capacity for the service").nullable(),
17
+ ServiceGroupID: zod.z.number().int().describe("ID of the service group this service belongs to").nullable(),
18
+ TimeSlotMinutes: zod.z.number().int().describe("Duration of the service in minutes").nullable()
19
19
  }).passthrough().describe("Model representing a service in eTermin.");
20
20
  const EterminGetServiceByIdOutput = zod.z.object({ services: zod.z.array(EterminGetServiceById_ServiceSchema).describe("List of services matching the request criteria") }).describe("Response model containing the list of services from eTermin.\nEach service includes details like name, price, duration, and capacity settings.");
21
21
  const eterminGetServiceById = require_action.action("ETERMIN_GET_SERVICE_BY_ID", {
@@ -1 +1 @@
1
- {"version":3,"file":"get-service-by-id.cjs","names":["z","action"],"sources":["../../src/actions/get-service-by-id.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminGetServiceByIdInput: z.ZodTypeAny = z.object({\n service_id: z.number().int().describe(\"The ID of the service to retrieve. Note: This parameter does not filter to a single service but is accepted by the API.\").optional(),\n}).describe(\"Request model for retrieving a specific service from eTermin.\\nNote: The ServiceID parameter is optional and may return multiple services.\");\nconst EterminGetServiceById_ServiceSchema: z.ZodTypeAny = z.object({\n Price: z.number().describe(\"Price of the service\"),\n InfoDE: z.string().describe(\"Service description/info in German\").nullable().optional(),\n InfoEN: z.string().describe(\"Service description/info in English\").nullable().optional(),\n Enabled: z.boolean().describe(\"Whether the service is currently enabled for booking\"),\n Currency: z.string().describe(\"Currency code for the price (e.g., EUR)\"),\n ServiceDE: z.string().describe(\"Service name in German\").nullable().optional(),\n ServiceEN: z.string().describe(\"Service name in English\").nullable().optional(),\n ServiceID: z.number().int().describe(\"Unique identifier for the service\"),\n SortOrder: z.number().int().describe(\"Sort order for displaying the service\"),\n MaxCapacity: z.number().int().describe(\"Maximum capacity for the service\"),\n MinCapacity: z.number().int().describe(\"Minimum capacity for the service\"),\n ServiceGroupID: z.number().int().describe(\"ID of the service group this service belongs to\"),\n TimeSlotMinutes: z.number().int().describe(\"Duration of the service in minutes\"),\n}).passthrough().describe(\"Model representing a service in eTermin.\");\nexport const EterminGetServiceByIdOutput: z.ZodTypeAny = z.object({\n services: z.array(EterminGetServiceById_ServiceSchema).describe(\"List of services matching the request criteria\"),\n}).describe(\"Response model containing the list of services from eTermin.\\nEach service includes details like name, price, duration, and capacity settings.\");\n\nexport const eterminGetServiceById = action(\"ETERMIN_GET_SERVICE_BY_ID\", {\n slug: \"etermin-get-service-by-id\",\n name: \"Get Service By ID\",\n description: \"Tool to retrieve a specific service from eTermin. Use when you need to get service details by service ID.\",\n input: EterminGetServiceByIdInput,\n output: EterminGetServiceByIdOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA2CA,IAAAA,EAAE,OAAO,EAC/D,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yHAAyH,CAAC,CAAC,SAAS,EAC5K,CAAC,CAAC,CAAC,SAAS,4IAA4I;AACxJ,MAAM,sCAAoDA,IAAAA,EAAE,OAAO;CACjE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB;CACjD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,sDAAsD;CACpF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC;CACvE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC;CACxE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC;CAC5E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC;CACzE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC;CACzE,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD;CAC3F,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC;AACjF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AACpE,MAAa,8BAA4CA,IAAAA,EAAE,OAAO,EAChE,UAAUA,IAAAA,EAAE,MAAM,mCAAmC,CAAC,CAAC,SAAS,gDAAgD,EAClH,CAAC,CAAC,CAAC,SAAS,gJAAgJ;AAE5J,MAAa,wBAAwBC,eAAAA,OAAO,6BAA6B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-service-by-id.cjs","names":["z","action"],"sources":["../../src/actions/get-service-by-id.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminGetServiceByIdInput = z.object({\n service_id: z.number().int().describe(\"The ID of the service to retrieve. Note: This parameter does not filter to a single service but is accepted by the API.\").optional(),\n}).describe(\"Request model for retrieving a specific service from eTermin.\\nNote: The ServiceID parameter is optional and may return multiple services.\");\nconst EterminGetServiceById_ServiceSchema = z.object({\n Price: z.number().describe(\"Price of the service\").nullable(),\n InfoDE: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Service description/info in German\").optional()),\n InfoEN: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Service description/info in English\").optional()),\n Enabled: z.boolean().describe(\"Whether the service is currently enabled for booking\").nullable(),\n Currency: z.string().describe(\"Currency code for the price (e.g., EUR)\").nullable(),\n ServiceDE: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Service name in German\").optional()),\n ServiceEN: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Service name in English\").optional()),\n ServiceID: z.number().int().describe(\"Unique identifier for the service\").nullable(),\n SortOrder: z.number().int().describe(\"Sort order for displaying the service\").nullable(),\n MaxCapacity: z.number().int().describe(\"Maximum capacity for the service\").nullable(),\n MinCapacity: z.number().int().describe(\"Minimum capacity for the service\").nullable(),\n ServiceGroupID: z.number().int().describe(\"ID of the service group this service belongs to\").nullable(),\n TimeSlotMinutes: z.number().int().describe(\"Duration of the service in minutes\").nullable(),\n}).passthrough().describe(\"Model representing a service in eTermin.\");\nexport const EterminGetServiceByIdOutput = z.object({\n services: z.array(EterminGetServiceById_ServiceSchema).describe(\"List of services matching the request criteria\"),\n}).describe(\"Response model containing the list of services from eTermin.\\nEach service includes details like name, price, duration, and capacity settings.\");\n\nexport const eterminGetServiceById = action(\"ETERMIN_GET_SERVICE_BY_ID\", {\n slug: \"etermin-get-service-by-id\",\n name: \"Get Service By ID\",\n description: \"Tool to retrieve a specific service from eTermin. Use when you need to get service details by service ID.\",\n input: EterminGetServiceByIdInput,\n output: EterminGetServiceByIdOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,EACjD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yHAAyH,CAAC,CAAC,SAAS,EAC5K,CAAC,CAAC,CAAC,SAAS,4IAA4I;AACxJ,MAAM,sCAAsCA,IAAAA,EAAE,OAAO;CACnD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CAC5D,QAAQA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC;CAC1I,QAAQA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC;CAC3I,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CAC/F,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAClF,WAAWA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC;CACjI,WAAWA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC;CAClI,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACnF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CACvF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACpF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACpF,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CACtG,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;AAC5F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AACpE,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,EAClD,UAAUA,IAAAA,EAAE,MAAM,mCAAmC,CAAC,CAAC,SAAS,gDAAgD,EAClH,CAAC,CAAC,CAAC,SAAS,gJAAgJ;AAE5J,MAAa,wBAAwBC,eAAAA,OAAO,6BAA6B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,46 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-service-by-id.d.ts
4
- declare const EterminGetServiceByIdInput: z.ZodTypeAny;
5
- declare const EterminGetServiceByIdOutput: z.ZodTypeAny;
6
- declare const eterminGetServiceById: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const EterminGetServiceByIdInput: z.ZodObject<{
5
+ service_id: z.ZodOptional<z.ZodNumber>;
6
+ }, z.core.$strip>;
7
+ declare const EterminGetServiceByIdOutput: z.ZodObject<{
8
+ services: z.ZodArray<z.ZodObject<{
9
+ Price: z.ZodNullable<z.ZodNumber>;
10
+ InfoDE: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
11
+ InfoEN: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
12
+ Enabled: z.ZodNullable<z.ZodBoolean>;
13
+ Currency: z.ZodNullable<z.ZodString>;
14
+ ServiceDE: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
15
+ ServiceEN: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
16
+ ServiceID: z.ZodNullable<z.ZodNumber>;
17
+ SortOrder: z.ZodNullable<z.ZodNumber>;
18
+ MaxCapacity: z.ZodNullable<z.ZodNumber>;
19
+ MinCapacity: z.ZodNullable<z.ZodNumber>;
20
+ ServiceGroupID: z.ZodNullable<z.ZodNumber>;
21
+ TimeSlotMinutes: z.ZodNullable<z.ZodNumber>;
22
+ }, z.core.$loose>>;
23
+ }, z.core.$strip>;
24
+ declare const eterminGetServiceById: import("@keystrokehq/action").WorkflowActionDefinition<{
25
+ service_id?: number | undefined;
26
+ }, {
27
+ services: {
28
+ [x: string]: unknown;
29
+ Price: number | null;
30
+ Enabled: boolean | null;
31
+ Currency: string | null;
32
+ ServiceID: number | null;
33
+ SortOrder: number | null;
34
+ MaxCapacity: number | null;
35
+ MinCapacity: number | null;
36
+ ServiceGroupID: number | null;
37
+ TimeSlotMinutes: number | null;
38
+ InfoDE?: string | undefined;
39
+ InfoEN?: string | undefined;
40
+ ServiceDE?: string | undefined;
41
+ ServiceEN?: string | undefined;
42
+ }[];
43
+ }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
44
  //#endregion
8
45
  export { eterminGetServiceById };
9
46
  //# sourceMappingURL=get-service-by-id.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-service-by-id.d.cts","names":[],"sources":["../../src/actions/get-service-by-id.ts"],"mappings":";;;cAIa,0BAAA,EAA4B,CAAA,CAAE,UAE8G;AAAA,cAgB5I,2BAAA,EAA6B,CAAA,CAAE,UAEiH;AAAA,cAEhJ,qBAAA,gCAAqB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-service-by-id.d.cts","names":[],"sources":["../../src/actions/get-service-by-id.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;cAkB1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;cAI3B,qBAAA,gCAAqB,wBAAA"}
@@ -1,9 +1,46 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-service-by-id.d.ts
4
- declare const EterminGetServiceByIdInput: z.ZodTypeAny;
5
- declare const EterminGetServiceByIdOutput: z.ZodTypeAny;
6
- declare const eterminGetServiceById: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const EterminGetServiceByIdInput: z.ZodObject<{
5
+ service_id: z.ZodOptional<z.ZodNumber>;
6
+ }, z.core.$strip>;
7
+ declare const EterminGetServiceByIdOutput: z.ZodObject<{
8
+ services: z.ZodArray<z.ZodObject<{
9
+ Price: z.ZodNullable<z.ZodNumber>;
10
+ InfoDE: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
11
+ InfoEN: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
12
+ Enabled: z.ZodNullable<z.ZodBoolean>;
13
+ Currency: z.ZodNullable<z.ZodString>;
14
+ ServiceDE: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
15
+ ServiceEN: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
16
+ ServiceID: z.ZodNullable<z.ZodNumber>;
17
+ SortOrder: z.ZodNullable<z.ZodNumber>;
18
+ MaxCapacity: z.ZodNullable<z.ZodNumber>;
19
+ MinCapacity: z.ZodNullable<z.ZodNumber>;
20
+ ServiceGroupID: z.ZodNullable<z.ZodNumber>;
21
+ TimeSlotMinutes: z.ZodNullable<z.ZodNumber>;
22
+ }, z.core.$loose>>;
23
+ }, z.core.$strip>;
24
+ declare const eterminGetServiceById: import("@keystrokehq/action").WorkflowActionDefinition<{
25
+ service_id?: number | undefined;
26
+ }, {
27
+ services: {
28
+ [x: string]: unknown;
29
+ Price: number | null;
30
+ Enabled: boolean | null;
31
+ Currency: string | null;
32
+ ServiceID: number | null;
33
+ SortOrder: number | null;
34
+ MaxCapacity: number | null;
35
+ MinCapacity: number | null;
36
+ ServiceGroupID: number | null;
37
+ TimeSlotMinutes: number | null;
38
+ InfoDE?: string | undefined;
39
+ InfoEN?: string | undefined;
40
+ ServiceDE?: string | undefined;
41
+ ServiceEN?: string | undefined;
42
+ }[];
43
+ }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
44
  //#endregion
8
45
  export { eterminGetServiceById };
9
46
  //# sourceMappingURL=get-service-by-id.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-service-by-id.d.mts","names":[],"sources":["../../src/actions/get-service-by-id.ts"],"mappings":";;;cAIa,0BAAA,EAA4B,CAAA,CAAE,UAE8G;AAAA,cAgB5I,2BAAA,EAA6B,CAAA,CAAE,UAEiH;AAAA,cAEhJ,qBAAA,gCAAqB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-service-by-id.d.mts","names":[],"sources":["../../src/actions/get-service-by-id.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;cAkB1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;cAI3B,qBAAA,gCAAqB,wBAAA"}
@@ -3,19 +3,19 @@ import { z } from "zod";
3
3
  //#region src/actions/get-service-by-id.ts
4
4
  const EterminGetServiceByIdInput = z.object({ service_id: z.number().int().describe("The ID of the service to retrieve. Note: This parameter does not filter to a single service but is accepted by the API.").optional() }).describe("Request model for retrieving a specific service from eTermin.\nNote: The ServiceID parameter is optional and may return multiple services.");
5
5
  const EterminGetServiceById_ServiceSchema = z.object({
6
- Price: z.number().describe("Price of the service"),
7
- InfoDE: z.string().describe("Service description/info in German").nullable().optional(),
8
- InfoEN: z.string().describe("Service description/info in English").nullable().optional(),
9
- Enabled: z.boolean().describe("Whether the service is currently enabled for booking"),
10
- Currency: z.string().describe("Currency code for the price (e.g., EUR)"),
11
- ServiceDE: z.string().describe("Service name in German").nullable().optional(),
12
- ServiceEN: z.string().describe("Service name in English").nullable().optional(),
13
- ServiceID: z.number().int().describe("Unique identifier for the service"),
14
- SortOrder: z.number().int().describe("Sort order for displaying the service"),
15
- MaxCapacity: z.number().int().describe("Maximum capacity for the service"),
16
- MinCapacity: z.number().int().describe("Minimum capacity for the service"),
17
- ServiceGroupID: z.number().int().describe("ID of the service group this service belongs to"),
18
- TimeSlotMinutes: z.number().int().describe("Duration of the service in minutes")
6
+ Price: z.number().describe("Price of the service").nullable(),
7
+ InfoDE: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Service description/info in German").optional()),
8
+ InfoEN: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Service description/info in English").optional()),
9
+ Enabled: z.boolean().describe("Whether the service is currently enabled for booking").nullable(),
10
+ Currency: z.string().describe("Currency code for the price (e.g., EUR)").nullable(),
11
+ ServiceDE: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Service name in German").optional()),
12
+ ServiceEN: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Service name in English").optional()),
13
+ ServiceID: z.number().int().describe("Unique identifier for the service").nullable(),
14
+ SortOrder: z.number().int().describe("Sort order for displaying the service").nullable(),
15
+ MaxCapacity: z.number().int().describe("Maximum capacity for the service").nullable(),
16
+ MinCapacity: z.number().int().describe("Minimum capacity for the service").nullable(),
17
+ ServiceGroupID: z.number().int().describe("ID of the service group this service belongs to").nullable(),
18
+ TimeSlotMinutes: z.number().int().describe("Duration of the service in minutes").nullable()
19
19
  }).passthrough().describe("Model representing a service in eTermin.");
20
20
  const eterminGetServiceById = action("ETERMIN_GET_SERVICE_BY_ID", {
21
21
  slug: "etermin-get-service-by-id",
@@ -1 +1 @@
1
- {"version":3,"file":"get-service-by-id.mjs","names":[],"sources":["../../src/actions/get-service-by-id.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminGetServiceByIdInput: z.ZodTypeAny = z.object({\n service_id: z.number().int().describe(\"The ID of the service to retrieve. Note: This parameter does not filter to a single service but is accepted by the API.\").optional(),\n}).describe(\"Request model for retrieving a specific service from eTermin.\\nNote: The ServiceID parameter is optional and may return multiple services.\");\nconst EterminGetServiceById_ServiceSchema: z.ZodTypeAny = z.object({\n Price: z.number().describe(\"Price of the service\"),\n InfoDE: z.string().describe(\"Service description/info in German\").nullable().optional(),\n InfoEN: z.string().describe(\"Service description/info in English\").nullable().optional(),\n Enabled: z.boolean().describe(\"Whether the service is currently enabled for booking\"),\n Currency: z.string().describe(\"Currency code for the price (e.g., EUR)\"),\n ServiceDE: z.string().describe(\"Service name in German\").nullable().optional(),\n ServiceEN: z.string().describe(\"Service name in English\").nullable().optional(),\n ServiceID: z.number().int().describe(\"Unique identifier for the service\"),\n SortOrder: z.number().int().describe(\"Sort order for displaying the service\"),\n MaxCapacity: z.number().int().describe(\"Maximum capacity for the service\"),\n MinCapacity: z.number().int().describe(\"Minimum capacity for the service\"),\n ServiceGroupID: z.number().int().describe(\"ID of the service group this service belongs to\"),\n TimeSlotMinutes: z.number().int().describe(\"Duration of the service in minutes\"),\n}).passthrough().describe(\"Model representing a service in eTermin.\");\nexport const EterminGetServiceByIdOutput: z.ZodTypeAny = z.object({\n services: z.array(EterminGetServiceById_ServiceSchema).describe(\"List of services matching the request criteria\"),\n}).describe(\"Response model containing the list of services from eTermin.\\nEach service includes details like name, price, duration, and capacity settings.\");\n\nexport const eterminGetServiceById = action(\"ETERMIN_GET_SERVICE_BY_ID\", {\n slug: \"etermin-get-service-by-id\",\n name: \"Get Service By ID\",\n description: \"Tool to retrieve a specific service from eTermin. Use when you need to get service details by service ID.\",\n input: EterminGetServiceByIdInput,\n output: EterminGetServiceByIdOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA2C,EAAE,OAAO,EAC/D,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yHAAyH,CAAC,CAAC,SAAS,EAC5K,CAAC,CAAC,CAAC,SAAS,4IAA4I;AACxJ,MAAM,sCAAoD,EAAE,OAAO;CACjE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB;CACjD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,sDAAsD;CACpF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC;CACvE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC;CACxE,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC;CAC5E,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC;CACzE,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC;CACzE,gBAAgB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD;CAC3F,iBAAiB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC;AACjF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AAKpE,MAAa,wBAAwB,OAAO,6BAA6B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATuD,EAAE,OAAO,EAChE,UAAU,EAAE,MAAM,mCAAmC,CAAC,CAAC,SAAS,gDAAgD,EAClH,CAAC,CAAC,CAAC,SAAS,gJAOF;AACV,CAAC"}
1
+ {"version":3,"file":"get-service-by-id.mjs","names":[],"sources":["../../src/actions/get-service-by-id.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminGetServiceByIdInput = z.object({\n service_id: z.number().int().describe(\"The ID of the service to retrieve. Note: This parameter does not filter to a single service but is accepted by the API.\").optional(),\n}).describe(\"Request model for retrieving a specific service from eTermin.\\nNote: The ServiceID parameter is optional and may return multiple services.\");\nconst EterminGetServiceById_ServiceSchema = z.object({\n Price: z.number().describe(\"Price of the service\").nullable(),\n InfoDE: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Service description/info in German\").optional()),\n InfoEN: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Service description/info in English\").optional()),\n Enabled: z.boolean().describe(\"Whether the service is currently enabled for booking\").nullable(),\n Currency: z.string().describe(\"Currency code for the price (e.g., EUR)\").nullable(),\n ServiceDE: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Service name in German\").optional()),\n ServiceEN: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Service name in English\").optional()),\n ServiceID: z.number().int().describe(\"Unique identifier for the service\").nullable(),\n SortOrder: z.number().int().describe(\"Sort order for displaying the service\").nullable(),\n MaxCapacity: z.number().int().describe(\"Maximum capacity for the service\").nullable(),\n MinCapacity: z.number().int().describe(\"Minimum capacity for the service\").nullable(),\n ServiceGroupID: z.number().int().describe(\"ID of the service group this service belongs to\").nullable(),\n TimeSlotMinutes: z.number().int().describe(\"Duration of the service in minutes\").nullable(),\n}).passthrough().describe(\"Model representing a service in eTermin.\");\nexport const EterminGetServiceByIdOutput = z.object({\n services: z.array(EterminGetServiceById_ServiceSchema).describe(\"List of services matching the request criteria\"),\n}).describe(\"Response model containing the list of services from eTermin.\\nEach service includes details like name, price, duration, and capacity settings.\");\n\nexport const eterminGetServiceById = action(\"ETERMIN_GET_SERVICE_BY_ID\", {\n slug: \"etermin-get-service-by-id\",\n name: \"Get Service By ID\",\n description: \"Tool to retrieve a specific service from eTermin. Use when you need to get service details by service ID.\",\n input: EterminGetServiceByIdInput,\n output: EterminGetServiceByIdOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6B,EAAE,OAAO,EACjD,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yHAAyH,CAAC,CAAC,SAAS,EAC5K,CAAC,CAAC,CAAC,SAAS,4IAA4I;AACxJ,MAAM,sCAAsC,EAAE,OAAO;CACnD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CAC5D,QAAQ,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC;CAC1I,QAAQ,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC;CAC3I,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CAC/F,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAClF,WAAW,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC;CACjI,WAAW,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC;CAClI,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACnF,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CACvF,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACpF,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACpF,gBAAgB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CACtG,iBAAiB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;AAC5F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AAKpE,MAAa,wBAAwB,OAAO,6BAA6B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATyC,EAAE,OAAO,EAClD,UAAU,EAAE,MAAM,mCAAmC,CAAC,CAAC,SAAS,gDAAgD,EAClH,CAAC,CAAC,CAAC,SAAS,gJAOF;AACV,CAAC"}
@@ -2,7 +2,7 @@ const require_action = require("../action.cjs");
2
2
  let zod = require("zod");
3
3
  //#region src/actions/get-service-calendar.ts
4
4
  const EterminGetServiceCalendarInput = zod.z.object({ serviceid: zod.z.string().describe("ID of a service. Multiple service IDs can be separated with a comma (e.g., '45345,45346').") }).describe("Request model for retrieving calendars by service ID.");
5
- const EterminGetServiceCalendar_ServiceCalendarSchema = zod.z.object({ calendarid: zod.z.number().int().describe("Unique identifier for the calendar") }).passthrough().describe("Model representing a calendar associated with a service.");
5
+ const EterminGetServiceCalendar_ServiceCalendarSchema = zod.z.object({ calendarid: zod.z.number().int().describe("Unique identifier for the calendar").nullable() }).passthrough().describe("Model representing a calendar associated with a service.");
6
6
  const EterminGetServiceCalendarOutput = zod.z.object({ calendars: zod.z.array(EterminGetServiceCalendar_ServiceCalendarSchema).describe("List of calendars associated with the specified service ID(s)") }).describe("Response model containing the list of calendars associated with the specified service(s).");
7
7
  const eterminGetServiceCalendar = require_action.action("ETERMIN_GET_SERVICE_CALENDAR", {
8
8
  slug: "etermin-get-service-calendar",
@@ -1 +1 @@
1
- {"version":3,"file":"get-service-calendar.cjs","names":["z","action"],"sources":["../../src/actions/get-service-calendar.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminGetServiceCalendarInput: z.ZodTypeAny = z.object({\n serviceid: z.string().describe(\"ID of a service. Multiple service IDs can be separated with a comma (e.g., '45345,45346').\"),\n}).describe(\"Request model for retrieving calendars by service ID.\");\nconst EterminGetServiceCalendar_ServiceCalendarSchema: z.ZodTypeAny = z.object({\n calendarid: z.number().int().describe(\"Unique identifier for the calendar\"),\n}).passthrough().describe(\"Model representing a calendar associated with a service.\");\nexport const EterminGetServiceCalendarOutput: z.ZodTypeAny = z.object({\n calendars: z.array(EterminGetServiceCalendar_ServiceCalendarSchema).describe(\"List of calendars associated with the specified service ID(s)\"),\n}).describe(\"Response model containing the list of calendars associated with the specified service(s).\");\n\nexport const eterminGetServiceCalendar = action(\"ETERMIN_GET_SERVICE_CALENDAR\", {\n slug: \"etermin-get-service-calendar\",\n name: \"Get Service Calendar\",\n description: \"Tool to retrieve calendars for a specific service ID. Use when you need to find which calendars are associated with a particular service.\",\n input: EterminGetServiceCalendarInput,\n output: EterminGetServiceCalendarOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAA+CA,IAAAA,EAAE,OAAO,EACnE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4FAA4F,EAC7H,CAAC,CAAC,CAAC,SAAS,uDAAuD;AACnE,MAAM,kDAAgEA,IAAAA,EAAE,OAAO,EAC7E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,EAC5E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0DAA0D;AACpF,MAAa,kCAAgDA,IAAAA,EAAE,OAAO,EACpE,WAAWA,IAAAA,EAAE,MAAM,+CAA+C,CAAC,CAAC,SAAS,+DAA+D,EAC9I,CAAC,CAAC,CAAC,SAAS,2FAA2F;AAEvG,MAAa,4BAA4BC,eAAAA,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-service-calendar.cjs","names":["z","action"],"sources":["../../src/actions/get-service-calendar.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminGetServiceCalendarInput = z.object({\n serviceid: z.string().describe(\"ID of a service. Multiple service IDs can be separated with a comma (e.g., '45345,45346').\"),\n}).describe(\"Request model for retrieving calendars by service ID.\");\nconst EterminGetServiceCalendar_ServiceCalendarSchema = z.object({\n calendarid: z.number().int().describe(\"Unique identifier for the calendar\").nullable(),\n}).passthrough().describe(\"Model representing a calendar associated with a service.\");\nexport const EterminGetServiceCalendarOutput = z.object({\n calendars: z.array(EterminGetServiceCalendar_ServiceCalendarSchema).describe(\"List of calendars associated with the specified service ID(s)\"),\n}).describe(\"Response model containing the list of calendars associated with the specified service(s).\");\n\nexport const eterminGetServiceCalendar = action(\"ETERMIN_GET_SERVICE_CALENDAR\", {\n slug: \"etermin-get-service-calendar\",\n name: \"Get Service Calendar\",\n description: \"Tool to retrieve calendars for a specific service ID. Use when you need to find which calendars are associated with a particular service.\",\n input: EterminGetServiceCalendarInput,\n output: EterminGetServiceCalendarOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO,EACrD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4FAA4F,EAC7H,CAAC,CAAC,CAAC,SAAS,uDAAuD;AACnE,MAAM,kDAAkDA,IAAAA,EAAE,OAAO,EAC/D,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,EACvF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0DAA0D;AACpF,MAAa,kCAAkCA,IAAAA,EAAE,OAAO,EACtD,WAAWA,IAAAA,EAAE,MAAM,+CAA+C,CAAC,CAAC,SAAS,+DAA+D,EAC9I,CAAC,CAAC,CAAC,SAAS,2FAA2F;AAEvG,MAAa,4BAA4BC,eAAAA,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}