@keystrokehq/etermin 0.1.1 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (457) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/assign-calendar-service.cjs +3 -3
  4. package/dist/actions/assign-calendar-service.cjs.map +1 -1
  5. package/dist/actions/assign-calendar-service.d.cts +4 -8
  6. package/dist/actions/assign-calendar-service.d.mts +4 -8
  7. package/dist/actions/assign-calendar-service.mjs +3 -3
  8. package/dist/actions/assign-calendar-service.mjs.map +1 -1
  9. package/dist/actions/create-absence.cjs +3 -3
  10. package/dist/actions/create-absence.cjs.map +1 -1
  11. package/dist/actions/create-absence.d.cts +4 -9
  12. package/dist/actions/create-absence.d.mts +4 -9
  13. package/dist/actions/create-absence.mjs +3 -3
  14. package/dist/actions/create-absence.mjs.map +1 -1
  15. package/dist/actions/create-anchortime-by-date.d.cts +1 -4
  16. package/dist/actions/create-anchortime-by-date.d.mts +1 -4
  17. package/dist/actions/create-anchortime.d.cts +2 -5
  18. package/dist/actions/create-anchortime.d.mts +2 -5
  19. package/dist/actions/create-appointment-sync.cjs +1 -1
  20. package/dist/actions/create-appointment-sync.cjs.map +1 -1
  21. package/dist/actions/create-appointment-sync.d.cts +2 -6
  22. package/dist/actions/create-appointment-sync.d.mts +2 -6
  23. package/dist/actions/create-appointment-sync.mjs +1 -1
  24. package/dist/actions/create-appointment-sync.mjs.map +1 -1
  25. package/dist/actions/create-appointment.cjs +6 -6
  26. package/dist/actions/create-appointment.cjs.map +1 -1
  27. package/dist/actions/create-appointment.d.cts +7 -14
  28. package/dist/actions/create-appointment.d.mts +7 -14
  29. package/dist/actions/create-appointment.mjs +6 -6
  30. package/dist/actions/create-appointment.mjs.map +1 -1
  31. package/dist/actions/create-calendar-return-time.cjs +1 -1
  32. package/dist/actions/create-calendar-return-time.cjs.map +1 -1
  33. package/dist/actions/create-calendar-return-time.d.cts +3 -7
  34. package/dist/actions/create-calendar-return-time.d.mts +3 -7
  35. package/dist/actions/create-calendar-return-time.mjs +1 -1
  36. package/dist/actions/create-calendar-return-time.mjs.map +1 -1
  37. package/dist/actions/create-contact.d.cts +1 -7
  38. package/dist/actions/create-contact.d.mts +1 -7
  39. package/dist/actions/create-service-group.cjs +3 -3
  40. package/dist/actions/create-service-group.cjs.map +1 -1
  41. package/dist/actions/create-service-group.d.cts +4 -8
  42. package/dist/actions/create-service-group.d.mts +4 -8
  43. package/dist/actions/create-service-group.mjs +3 -3
  44. package/dist/actions/create-service-group.mjs.map +1 -1
  45. package/dist/actions/create-service.cjs +3 -3
  46. package/dist/actions/create-service.cjs.map +1 -1
  47. package/dist/actions/create-service.d.cts +4 -8
  48. package/dist/actions/create-service.d.mts +4 -8
  49. package/dist/actions/create-service.mjs +3 -3
  50. package/dist/actions/create-service.mjs.map +1 -1
  51. package/dist/actions/create-user.cjs +1 -1
  52. package/dist/actions/create-user.cjs.map +1 -1
  53. package/dist/actions/create-user.d.cts +2 -6
  54. package/dist/actions/create-user.d.mts +2 -6
  55. package/dist/actions/create-user.mjs +1 -1
  56. package/dist/actions/create-user.mjs.map +1 -1
  57. package/dist/actions/create-usermapping.cjs +3 -3
  58. package/dist/actions/create-usermapping.cjs.map +1 -1
  59. package/dist/actions/create-usermapping.d.cts +4 -8
  60. package/dist/actions/create-usermapping.d.mts +4 -8
  61. package/dist/actions/create-usermapping.mjs +3 -3
  62. package/dist/actions/create-usermapping.mjs.map +1 -1
  63. package/dist/actions/create-voucher.cjs +2 -2
  64. package/dist/actions/create-voucher.cjs.map +1 -1
  65. package/dist/actions/create-voucher.d.cts +3 -12
  66. package/dist/actions/create-voucher.d.mts +3 -12
  67. package/dist/actions/create-voucher.mjs +2 -2
  68. package/dist/actions/create-voucher.mjs.map +1 -1
  69. package/dist/actions/create-webhook.cjs +2 -2
  70. package/dist/actions/create-webhook.cjs.map +1 -1
  71. package/dist/actions/create-webhook.d.cts +3 -8
  72. package/dist/actions/create-webhook.d.cts.map +1 -1
  73. package/dist/actions/create-webhook.d.mts +3 -8
  74. package/dist/actions/create-webhook.d.mts.map +1 -1
  75. package/dist/actions/create-webhook.mjs +2 -2
  76. package/dist/actions/create-webhook.mjs.map +1 -1
  77. package/dist/actions/create-working-time.d.cts +1 -4
  78. package/dist/actions/create-working-time.d.mts +1 -4
  79. package/dist/actions/create-working-times-date.cjs +3 -3
  80. package/dist/actions/create-working-times-date.cjs.map +1 -1
  81. package/dist/actions/create-working-times-date.d.cts +4 -8
  82. package/dist/actions/create-working-times-date.d.mts +4 -8
  83. package/dist/actions/create-working-times-date.mjs +3 -3
  84. package/dist/actions/create-working-times-date.mjs.map +1 -1
  85. package/dist/actions/delete-absence.cjs +1 -1
  86. package/dist/actions/delete-absence.cjs.map +1 -1
  87. package/dist/actions/delete-absence.d.cts +2 -6
  88. package/dist/actions/delete-absence.d.mts +2 -6
  89. package/dist/actions/delete-absence.mjs +1 -1
  90. package/dist/actions/delete-absence.mjs.map +1 -1
  91. package/dist/actions/delete-anchortime-by-date.cjs +2 -2
  92. package/dist/actions/delete-anchortime-by-date.cjs.map +1 -1
  93. package/dist/actions/delete-anchortime-by-date.d.cts +3 -7
  94. package/dist/actions/delete-anchortime-by-date.d.cts.map +1 -1
  95. package/dist/actions/delete-anchortime-by-date.d.mts +3 -7
  96. package/dist/actions/delete-anchortime-by-date.d.mts.map +1 -1
  97. package/dist/actions/delete-anchortime-by-date.mjs +2 -2
  98. package/dist/actions/delete-anchortime-by-date.mjs.map +1 -1
  99. package/dist/actions/delete-anchortime.cjs +1 -1
  100. package/dist/actions/delete-anchortime.cjs.map +1 -1
  101. package/dist/actions/delete-anchortime.d.cts +2 -5
  102. package/dist/actions/delete-anchortime.d.mts +2 -5
  103. package/dist/actions/delete-anchortime.mjs +1 -1
  104. package/dist/actions/delete-anchortime.mjs.map +1 -1
  105. package/dist/actions/delete-appointment-sync.cjs +1 -1
  106. package/dist/actions/delete-appointment-sync.cjs.map +1 -1
  107. package/dist/actions/delete-appointment-sync.d.cts +2 -6
  108. package/dist/actions/delete-appointment-sync.d.mts +2 -6
  109. package/dist/actions/delete-appointment-sync.mjs +1 -1
  110. package/dist/actions/delete-appointment-sync.mjs.map +1 -1
  111. package/dist/actions/delete-appointment.cjs +2 -2
  112. package/dist/actions/delete-appointment.cjs.map +1 -1
  113. package/dist/actions/delete-appointment.d.cts +3 -7
  114. package/dist/actions/delete-appointment.d.cts.map +1 -1
  115. package/dist/actions/delete-appointment.d.mts +3 -7
  116. package/dist/actions/delete-appointment.d.mts.map +1 -1
  117. package/dist/actions/delete-appointment.mjs +2 -2
  118. package/dist/actions/delete-appointment.mjs.map +1 -1
  119. package/dist/actions/delete-calendar-return-time.cjs +1 -1
  120. package/dist/actions/delete-calendar-return-time.cjs.map +1 -1
  121. package/dist/actions/delete-calendar-return-time.d.cts +2 -5
  122. package/dist/actions/delete-calendar-return-time.d.mts +2 -5
  123. package/dist/actions/delete-calendar-return-time.mjs +1 -1
  124. package/dist/actions/delete-calendar-return-time.mjs.map +1 -1
  125. package/dist/actions/delete-calendar-service.cjs +1 -1
  126. package/dist/actions/delete-calendar-service.cjs.map +1 -1
  127. package/dist/actions/delete-calendar-service.d.cts +2 -5
  128. package/dist/actions/delete-calendar-service.d.mts +2 -5
  129. package/dist/actions/delete-calendar-service.mjs +1 -1
  130. package/dist/actions/delete-calendar-service.mjs.map +1 -1
  131. package/dist/actions/delete-calendar.cjs +1 -1
  132. package/dist/actions/delete-calendar.cjs.map +1 -1
  133. package/dist/actions/delete-calendar.d.cts +2 -6
  134. package/dist/actions/delete-calendar.d.mts +2 -6
  135. package/dist/actions/delete-calendar.mjs +1 -1
  136. package/dist/actions/delete-calendar.mjs.map +1 -1
  137. package/dist/actions/delete-contact.cjs +1 -1
  138. package/dist/actions/delete-contact.cjs.map +1 -1
  139. package/dist/actions/delete-contact.d.cts +2 -5
  140. package/dist/actions/delete-contact.d.mts +2 -5
  141. package/dist/actions/delete-contact.mjs +1 -1
  142. package/dist/actions/delete-contact.mjs.map +1 -1
  143. package/dist/actions/delete-resource.cjs +1 -1
  144. package/dist/actions/delete-resource.cjs.map +1 -1
  145. package/dist/actions/delete-resource.d.cts +2 -7
  146. package/dist/actions/delete-resource.d.mts +2 -7
  147. package/dist/actions/delete-resource.mjs +1 -1
  148. package/dist/actions/delete-resource.mjs.map +1 -1
  149. package/dist/actions/delete-service.cjs +3 -3
  150. package/dist/actions/delete-service.cjs.map +1 -1
  151. package/dist/actions/delete-service.d.cts +4 -8
  152. package/dist/actions/delete-service.d.mts +4 -8
  153. package/dist/actions/delete-service.mjs +3 -3
  154. package/dist/actions/delete-service.mjs.map +1 -1
  155. package/dist/actions/delete-servicegroup.cjs +2 -2
  156. package/dist/actions/delete-servicegroup.cjs.map +1 -1
  157. package/dist/actions/delete-servicegroup.d.cts +3 -6
  158. package/dist/actions/delete-servicegroup.d.mts +3 -6
  159. package/dist/actions/delete-servicegroup.mjs +2 -2
  160. package/dist/actions/delete-servicegroup.mjs.map +1 -1
  161. package/dist/actions/delete-user.cjs +1 -1
  162. package/dist/actions/delete-user.cjs.map +1 -1
  163. package/dist/actions/delete-user.d.cts +2 -5
  164. package/dist/actions/delete-user.d.mts +2 -5
  165. package/dist/actions/delete-user.mjs +1 -1
  166. package/dist/actions/delete-user.mjs.map +1 -1
  167. package/dist/actions/delete-usermapping.cjs +2 -2
  168. package/dist/actions/delete-usermapping.cjs.map +1 -1
  169. package/dist/actions/delete-usermapping.d.cts +3 -6
  170. package/dist/actions/delete-usermapping.d.mts +3 -6
  171. package/dist/actions/delete-usermapping.mjs +2 -2
  172. package/dist/actions/delete-usermapping.mjs.map +1 -1
  173. package/dist/actions/delete-voucher.cjs +1 -1
  174. package/dist/actions/delete-voucher.cjs.map +1 -1
  175. package/dist/actions/delete-voucher.d.cts +2 -5
  176. package/dist/actions/delete-voucher.d.mts +2 -5
  177. package/dist/actions/delete-voucher.mjs +1 -1
  178. package/dist/actions/delete-voucher.mjs.map +1 -1
  179. package/dist/actions/delete-webhook.cjs +2 -2
  180. package/dist/actions/delete-webhook.cjs.map +1 -1
  181. package/dist/actions/delete-webhook.d.cts +3 -6
  182. package/dist/actions/delete-webhook.d.mts +3 -6
  183. package/dist/actions/delete-webhook.mjs +2 -2
  184. package/dist/actions/delete-webhook.mjs.map +1 -1
  185. package/dist/actions/delete-working-times-date.cjs +2 -2
  186. package/dist/actions/delete-working-times-date.cjs.map +1 -1
  187. package/dist/actions/delete-working-times-date.d.cts +3 -6
  188. package/dist/actions/delete-working-times-date.d.mts +3 -6
  189. package/dist/actions/delete-working-times-date.mjs +2 -2
  190. package/dist/actions/delete-working-times-date.mjs.map +1 -1
  191. package/dist/actions/delete-working-times.cjs +2 -2
  192. package/dist/actions/delete-working-times.cjs.map +1 -1
  193. package/dist/actions/delete-working-times.d.cts +3 -6
  194. package/dist/actions/delete-working-times.d.mts +3 -6
  195. package/dist/actions/delete-working-times.mjs +2 -2
  196. package/dist/actions/delete-working-times.mjs.map +1 -1
  197. package/dist/actions/get-absences.cjs +7 -7
  198. package/dist/actions/get-absences.cjs.map +1 -1
  199. package/dist/actions/get-absences.d.cts +8 -18
  200. package/dist/actions/get-absences.d.mts +8 -18
  201. package/dist/actions/get-absences.mjs +7 -7
  202. package/dist/actions/get-absences.mjs.map +1 -1
  203. package/dist/actions/get-anchortime-date.cjs +5 -5
  204. package/dist/actions/get-anchortime-date.cjs.map +1 -1
  205. package/dist/actions/get-anchortime-date.d.cts +6 -15
  206. package/dist/actions/get-anchortime-date.d.mts +6 -15
  207. package/dist/actions/get-anchortime-date.mjs +5 -5
  208. package/dist/actions/get-anchortime-date.mjs.map +1 -1
  209. package/dist/actions/get-anchortimes.cjs +5 -5
  210. package/dist/actions/get-anchortimes.cjs.map +1 -1
  211. package/dist/actions/get-anchortimes.d.cts +6 -15
  212. package/dist/actions/get-anchortimes.d.mts +6 -15
  213. package/dist/actions/get-anchortimes.mjs +5 -5
  214. package/dist/actions/get-anchortimes.mjs.map +1 -1
  215. package/dist/actions/get-appointment-sync.cjs +73 -73
  216. package/dist/actions/get-appointment-sync.cjs.map +1 -1
  217. package/dist/actions/get-appointment-sync.d.cts +74 -151
  218. package/dist/actions/get-appointment-sync.d.mts +74 -151
  219. package/dist/actions/get-appointment-sync.mjs +73 -73
  220. package/dist/actions/get-appointment-sync.mjs.map +1 -1
  221. package/dist/actions/get-bookingpage-logs.cjs +5 -5
  222. package/dist/actions/get-bookingpage-logs.cjs.map +1 -1
  223. package/dist/actions/get-bookingpage-logs.d.cts +6 -14
  224. package/dist/actions/get-bookingpage-logs.d.mts +6 -14
  225. package/dist/actions/get-bookingpage-logs.mjs +5 -5
  226. package/dist/actions/get-bookingpage-logs.mjs.map +1 -1
  227. package/dist/actions/get-calendar-return-time.cjs +9 -9
  228. package/dist/actions/get-calendar-return-time.cjs.map +1 -1
  229. package/dist/actions/get-calendar-return-time.d.cts +10 -22
  230. package/dist/actions/get-calendar-return-time.d.mts +10 -22
  231. package/dist/actions/get-calendar-return-time.mjs +9 -9
  232. package/dist/actions/get-calendar-return-time.mjs.map +1 -1
  233. package/dist/actions/get-calendars.cjs +5 -5
  234. package/dist/actions/get-calendars.cjs.map +1 -1
  235. package/dist/actions/get-calendars.d.cts +6 -17
  236. package/dist/actions/get-calendars.d.cts.map +1 -1
  237. package/dist/actions/get-calendars.d.mts +6 -17
  238. package/dist/actions/get-calendars.d.mts.map +1 -1
  239. package/dist/actions/get-calendars.mjs +5 -5
  240. package/dist/actions/get-calendars.mjs.map +1 -1
  241. package/dist/actions/get-calendarservice.cjs +3 -3
  242. package/dist/actions/get-calendarservice.cjs.map +1 -1
  243. package/dist/actions/get-calendarservice.d.cts +4 -11
  244. package/dist/actions/get-calendarservice.d.mts +4 -11
  245. package/dist/actions/get-calendarservice.mjs +3 -3
  246. package/dist/actions/get-calendarservice.mjs.map +1 -1
  247. package/dist/actions/get-company.cjs +19 -19
  248. package/dist/actions/get-company.cjs.map +1 -1
  249. package/dist/actions/get-company.d.cts +20 -43
  250. package/dist/actions/get-company.d.cts.map +1 -1
  251. package/dist/actions/get-company.d.mts +20 -43
  252. package/dist/actions/get-company.d.mts.map +1 -1
  253. package/dist/actions/get-company.mjs +19 -19
  254. package/dist/actions/get-company.mjs.map +1 -1
  255. package/dist/actions/get-contact-by-id.cjs +49 -49
  256. package/dist/actions/get-contact-by-id.cjs.map +1 -1
  257. package/dist/actions/get-contact-by-id.d.cts +50 -103
  258. package/dist/actions/get-contact-by-id.d.mts +50 -103
  259. package/dist/actions/get-contact-by-id.mjs +49 -49
  260. package/dist/actions/get-contact-by-id.mjs.map +1 -1
  261. package/dist/actions/get-contacts.cjs +49 -49
  262. package/dist/actions/get-contacts.cjs.map +1 -1
  263. package/dist/actions/get-contacts.d.cts +50 -103
  264. package/dist/actions/get-contacts.d.cts.map +1 -1
  265. package/dist/actions/get-contacts.d.mts +50 -103
  266. package/dist/actions/get-contacts.d.mts.map +1 -1
  267. package/dist/actions/get-contacts.mjs +49 -49
  268. package/dist/actions/get-contacts.mjs.map +1 -1
  269. package/dist/actions/get-deleted-appointments.cjs +18 -18
  270. package/dist/actions/get-deleted-appointments.cjs.map +1 -1
  271. package/dist/actions/get-deleted-appointments.d.cts +19 -41
  272. package/dist/actions/get-deleted-appointments.d.mts +19 -41
  273. package/dist/actions/get-deleted-appointments.mjs +18 -18
  274. package/dist/actions/get-deleted-appointments.mjs.map +1 -1
  275. package/dist/actions/get-message-logs.cjs +9 -9
  276. package/dist/actions/get-message-logs.cjs.map +1 -1
  277. package/dist/actions/get-message-logs.d.cts +10 -22
  278. package/dist/actions/get-message-logs.d.mts +10 -22
  279. package/dist/actions/get-message-logs.mjs +9 -9
  280. package/dist/actions/get-message-logs.mjs.map +1 -1
  281. package/dist/actions/get-rating.cjs +11 -11
  282. package/dist/actions/get-rating.cjs.map +1 -1
  283. package/dist/actions/get-rating.d.cts +12 -27
  284. package/dist/actions/get-rating.d.cts.map +1 -1
  285. package/dist/actions/get-rating.d.mts +12 -27
  286. package/dist/actions/get-rating.d.mts.map +1 -1
  287. package/dist/actions/get-rating.mjs +11 -11
  288. package/dist/actions/get-rating.mjs.map +1 -1
  289. package/dist/actions/get-service-by-id.cjs +4 -4
  290. package/dist/actions/get-service-by-id.cjs.map +1 -1
  291. package/dist/actions/get-service-by-id.d.cts +5 -22
  292. package/dist/actions/get-service-by-id.d.mts +5 -22
  293. package/dist/actions/get-service-by-id.mjs +4 -4
  294. package/dist/actions/get-service-by-id.mjs.map +1 -1
  295. package/dist/actions/get-service-calendar.d.cts +1 -6
  296. package/dist/actions/get-service-calendar.d.mts +1 -6
  297. package/dist/actions/get-servicegroup.cjs +25 -25
  298. package/dist/actions/get-servicegroup.cjs.map +1 -1
  299. package/dist/actions/get-servicegroup.d.cts +26 -55
  300. package/dist/actions/get-servicegroup.d.mts +26 -55
  301. package/dist/actions/get-servicegroup.mjs +25 -25
  302. package/dist/actions/get-servicegroup.mjs.map +1 -1
  303. package/dist/actions/get-services.cjs +4 -4
  304. package/dist/actions/get-services.cjs.map +1 -1
  305. package/dist/actions/get-services.d.cts +5 -22
  306. package/dist/actions/get-services.d.cts.map +1 -1
  307. package/dist/actions/get-services.d.mts +5 -22
  308. package/dist/actions/get-services.d.mts.map +1 -1
  309. package/dist/actions/get-services.mjs +4 -4
  310. package/dist/actions/get-services.mjs.map +1 -1
  311. package/dist/actions/get-survey-results.cjs +6 -6
  312. package/dist/actions/get-survey-results.cjs.map +1 -1
  313. package/dist/actions/get-survey-results.d.cts +7 -16
  314. package/dist/actions/get-survey-results.d.mts +7 -16
  315. package/dist/actions/get-survey-results.mjs +6 -6
  316. package/dist/actions/get-survey-results.mjs.map +1 -1
  317. package/dist/actions/get-timeslots.cjs +4 -4
  318. package/dist/actions/get-timeslots.cjs.map +1 -1
  319. package/dist/actions/get-timeslots.d.cts +5 -13
  320. package/dist/actions/get-timeslots.d.mts +5 -13
  321. package/dist/actions/get-timeslots.mjs +4 -4
  322. package/dist/actions/get-timeslots.mjs.map +1 -1
  323. package/dist/actions/get-usermapping.cjs +7 -7
  324. package/dist/actions/get-usermapping.cjs.map +1 -1
  325. package/dist/actions/get-usermapping.d.cts +8 -19
  326. package/dist/actions/get-usermapping.d.mts +8 -19
  327. package/dist/actions/get-usermapping.mjs +7 -7
  328. package/dist/actions/get-usermapping.mjs.map +1 -1
  329. package/dist/actions/get-users.cjs +26 -26
  330. package/dist/actions/get-users.cjs.map +1 -1
  331. package/dist/actions/get-users.d.cts +27 -58
  332. package/dist/actions/get-users.d.cts.map +1 -1
  333. package/dist/actions/get-users.d.mts +27 -58
  334. package/dist/actions/get-users.d.mts.map +1 -1
  335. package/dist/actions/get-users.mjs +26 -26
  336. package/dist/actions/get-users.mjs.map +1 -1
  337. package/dist/actions/get-working-times-date.cjs +1 -1
  338. package/dist/actions/get-working-times-date.cjs.map +1 -1
  339. package/dist/actions/get-working-times-date.d.cts +2 -11
  340. package/dist/actions/get-working-times-date.d.mts +2 -11
  341. package/dist/actions/get-working-times-date.mjs +1 -1
  342. package/dist/actions/get-working-times-date.mjs.map +1 -1
  343. package/dist/actions/get-working-times.cjs +1 -1
  344. package/dist/actions/get-working-times.cjs.map +1 -1
  345. package/dist/actions/get-working-times.d.cts +2 -12
  346. package/dist/actions/get-working-times.d.mts +2 -12
  347. package/dist/actions/get-working-times.mjs +1 -1
  348. package/dist/actions/get-working-times.mjs.map +1 -1
  349. package/dist/actions/list-appointments.cjs +19 -19
  350. package/dist/actions/list-appointments.cjs.map +1 -1
  351. package/dist/actions/list-appointments.d.cts +20 -43
  352. package/dist/actions/list-appointments.d.mts +20 -43
  353. package/dist/actions/list-appointments.mjs +19 -19
  354. package/dist/actions/list-appointments.mjs.map +1 -1
  355. package/dist/actions/list-vouchers.cjs +19 -19
  356. package/dist/actions/list-vouchers.cjs.map +1 -1
  357. package/dist/actions/list-vouchers.d.cts +20 -41
  358. package/dist/actions/list-vouchers.d.cts.map +1 -1
  359. package/dist/actions/list-vouchers.d.mts +20 -41
  360. package/dist/actions/list-vouchers.d.mts.map +1 -1
  361. package/dist/actions/list-vouchers.mjs +19 -19
  362. package/dist/actions/list-vouchers.mjs.map +1 -1
  363. package/dist/actions/list-webhooks.d.cts +1 -3
  364. package/dist/actions/list-webhooks.d.cts.map +1 -1
  365. package/dist/actions/list-webhooks.d.mts +1 -3
  366. package/dist/actions/list-webhooks.d.mts.map +1 -1
  367. package/dist/actions/put-service.cjs +3 -3
  368. package/dist/actions/put-service.cjs.map +1 -1
  369. package/dist/actions/put-service.d.cts +4 -8
  370. package/dist/actions/put-service.d.mts +4 -8
  371. package/dist/actions/put-service.mjs +3 -3
  372. package/dist/actions/put-service.mjs.map +1 -1
  373. package/dist/actions/update-absence.cjs +1 -1
  374. package/dist/actions/update-absence.cjs.map +1 -1
  375. package/dist/actions/update-absence.d.cts +2 -6
  376. package/dist/actions/update-absence.d.mts +2 -6
  377. package/dist/actions/update-absence.mjs +1 -1
  378. package/dist/actions/update-absence.mjs.map +1 -1
  379. package/dist/actions/update-anchortime-by-date.cjs +1 -1
  380. package/dist/actions/update-anchortime-by-date.cjs.map +1 -1
  381. package/dist/actions/update-anchortime-by-date.d.cts +2 -5
  382. package/dist/actions/update-anchortime-by-date.d.mts +2 -5
  383. package/dist/actions/update-anchortime-by-date.mjs +1 -1
  384. package/dist/actions/update-anchortime-by-date.mjs.map +1 -1
  385. package/dist/actions/update-anchortime.cjs +2 -2
  386. package/dist/actions/update-anchortime.cjs.map +1 -1
  387. package/dist/actions/update-anchortime.d.cts +3 -8
  388. package/dist/actions/update-anchortime.d.mts +3 -8
  389. package/dist/actions/update-anchortime.mjs +2 -2
  390. package/dist/actions/update-anchortime.mjs.map +1 -1
  391. package/dist/actions/update-appointment.d.cts +1 -4
  392. package/dist/actions/update-appointment.d.mts +1 -4
  393. package/dist/actions/update-calendar-return-time.cjs +1 -1
  394. package/dist/actions/update-calendar-return-time.cjs.map +1 -1
  395. package/dist/actions/update-calendar-return-time.d.cts +2 -6
  396. package/dist/actions/update-calendar-return-time.d.mts +2 -6
  397. package/dist/actions/update-calendar-return-time.mjs +1 -1
  398. package/dist/actions/update-calendar-return-time.mjs.map +1 -1
  399. package/dist/actions/update-calendar.cjs +2 -2
  400. package/dist/actions/update-calendar.cjs.map +1 -1
  401. package/dist/actions/update-calendar.d.cts +3 -8
  402. package/dist/actions/update-calendar.d.mts +3 -8
  403. package/dist/actions/update-calendar.mjs +2 -2
  404. package/dist/actions/update-calendar.mjs.map +1 -1
  405. package/dist/actions/update-contact.cjs +3 -3
  406. package/dist/actions/update-contact.cjs.map +1 -1
  407. package/dist/actions/update-contact.d.cts +4 -10
  408. package/dist/actions/update-contact.d.mts +4 -10
  409. package/dist/actions/update-contact.mjs +3 -3
  410. package/dist/actions/update-contact.mjs.map +1 -1
  411. package/dist/actions/update-resource.cjs +1 -1
  412. package/dist/actions/update-resource.cjs.map +1 -1
  413. package/dist/actions/update-resource.d.cts +2 -7
  414. package/dist/actions/update-resource.d.mts +2 -7
  415. package/dist/actions/update-resource.mjs +1 -1
  416. package/dist/actions/update-resource.mjs.map +1 -1
  417. package/dist/actions/update-service-group.d.cts +1 -4
  418. package/dist/actions/update-service-group.d.mts +1 -4
  419. package/dist/actions/update-service.d.cts +1 -3
  420. package/dist/actions/update-service.d.cts.map +1 -1
  421. package/dist/actions/update-service.d.mts +1 -3
  422. package/dist/actions/update-service.d.mts.map +1 -1
  423. package/dist/actions/update-sync-appointment.cjs +1 -1
  424. package/dist/actions/update-sync-appointment.cjs.map +1 -1
  425. package/dist/actions/update-sync-appointment.d.cts +2 -6
  426. package/dist/actions/update-sync-appointment.d.mts +2 -6
  427. package/dist/actions/update-sync-appointment.mjs +1 -1
  428. package/dist/actions/update-sync-appointment.mjs.map +1 -1
  429. package/dist/actions/update-usermapping.cjs +2 -2
  430. package/dist/actions/update-usermapping.cjs.map +1 -1
  431. package/dist/actions/update-usermapping.d.cts +3 -6
  432. package/dist/actions/update-usermapping.d.mts +3 -6
  433. package/dist/actions/update-usermapping.mjs +2 -2
  434. package/dist/actions/update-usermapping.mjs.map +1 -1
  435. package/dist/actions/update-voucher.d.cts +1 -6
  436. package/dist/actions/update-voucher.d.mts +1 -6
  437. package/dist/actions/update-webhook.cjs +2 -2
  438. package/dist/actions/update-webhook.cjs.map +1 -1
  439. package/dist/actions/update-webhook.d.cts +3 -7
  440. package/dist/actions/update-webhook.d.cts.map +1 -1
  441. package/dist/actions/update-webhook.d.mts +3 -7
  442. package/dist/actions/update-webhook.d.mts.map +1 -1
  443. package/dist/actions/update-webhook.mjs +2 -2
  444. package/dist/actions/update-webhook.mjs.map +1 -1
  445. package/dist/actions/update-working-times-date.cjs +2 -2
  446. package/dist/actions/update-working-times-date.cjs.map +1 -1
  447. package/dist/actions/update-working-times-date.d.cts +3 -6
  448. package/dist/actions/update-working-times-date.d.mts +3 -6
  449. package/dist/actions/update-working-times-date.mjs +2 -2
  450. package/dist/actions/update-working-times-date.mjs.map +1 -1
  451. package/dist/actions/update-working-times.cjs +2 -2
  452. package/dist/actions/update-working-times.cjs.map +1 -1
  453. package/dist/actions/update-working-times.d.cts +3 -6
  454. package/dist/actions/update-working-times.d.mts +3 -6
  455. package/dist/actions/update-working-times.mjs +2 -2
  456. package/dist/actions/update-working-times.mjs.map +1 -1
  457. package/package.json +1 -1
@@ -6,31 +6,31 @@ const EterminGetServicegroupInput = zod.z.object({
6
6
  servicegroupid: zod.z.number().int().describe("ID of the specific service group to retrieve. If not provided, all service groups are returned.").optional()
7
7
  }).describe("Request model for retrieving service group details from eTermin.\nAll parameters are optional - can retrieve all service groups or filter by ID/language.");
8
8
  const EterminGetServicegroup_ServiceGroupSchema = zod.z.object({
9
- regex: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Regular expression for validation").optional()),
10
- Enabled: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.boolean().describe("Whether the service group is enabled").optional()),
11
- pageidx: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.number().int().describe("Page index").optional()),
12
- Collapse: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.boolean().describe("Whether the service group is collapsed").optional()),
13
- IsSimple: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.boolean().describe("Whether the service group is simple").optional()),
14
- ShowPrice: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.boolean().describe("Whether to show price").optional()),
15
- IsOptional: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.boolean().describe("Whether the service group is optional").optional()),
16
- ShowToggle: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.boolean().describe("Whether to show toggle").optional()),
17
- SelMinPrice: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.union([zod.z.string(), zod.z.number()]).optional()),
18
- ShowImgFull: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.boolean().describe("Whether to show full image").optional()),
19
- DisplayIndex: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.number().int().describe("Display order index").optional()),
20
- ShowDuration: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.boolean().describe("Whether to show duration").optional()),
21
- ShowInSummary: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.boolean().describe("Whether to show in summary").optional()),
22
- SelMinDuration: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.number().int().describe("Minimum duration in minutes for service selection").optional()),
23
- ServiceGroupDE: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Service group name in German").optional()),
24
- AnswerSelection: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.number().int().describe("Answer selection mode").optional()),
25
- AnswerSortOrder: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.number().int().describe("Sort order for answers").optional()),
26
- AdditionalTextDE: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Additional text in German").optional()),
27
- NrServiceColumns: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.number().int().describe("Number of service columns").optional()),
28
- ServiceGroupType: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.number().int().describe("Type of the service group").optional()),
29
- CountryLimitation: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Country codes where service group is available (e.g., 'de,at,ch')").optional()),
30
- AddTextDisplayMode: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.number().int().describe("Display mode for additional text").optional()),
31
- ShowInEmailSummary: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.boolean().describe("Whether to show in email summary").optional()),
32
- StandardAnswerIndex: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.number().int().describe("Index of the standard answer").optional()),
33
- ShowWhenCertainAnswerSelected: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Condition for showing when certain answer is selected").optional())
9
+ regex: zod.z.string().describe("Regular expression for validation").nullable().optional(),
10
+ Enabled: zod.z.boolean().describe("Whether the service group is enabled").nullable().optional(),
11
+ pageidx: zod.z.number().int().describe("Page index").nullable().optional(),
12
+ Collapse: zod.z.boolean().describe("Whether the service group is collapsed").nullable().optional(),
13
+ IsSimple: zod.z.boolean().describe("Whether the service group is simple").nullable().optional(),
14
+ ShowPrice: zod.z.boolean().describe("Whether to show price").nullable().optional(),
15
+ IsOptional: zod.z.boolean().describe("Whether the service group is optional").nullable().optional(),
16
+ ShowToggle: zod.z.boolean().describe("Whether to show toggle").nullable().optional(),
17
+ SelMinPrice: zod.z.union([zod.z.string(), zod.z.number()]).nullable().optional(),
18
+ ShowImgFull: zod.z.boolean().describe("Whether to show full image").nullable().optional(),
19
+ DisplayIndex: zod.z.number().int().describe("Display order index").nullable().optional(),
20
+ ShowDuration: zod.z.boolean().describe("Whether to show duration").nullable().optional(),
21
+ ShowInSummary: zod.z.boolean().describe("Whether to show in summary").nullable().optional(),
22
+ SelMinDuration: zod.z.number().int().describe("Minimum duration in minutes for service selection").nullable().optional(),
23
+ ServiceGroupDE: zod.z.string().describe("Service group name in German").nullable().optional(),
24
+ AnswerSelection: zod.z.number().int().describe("Answer selection mode").nullable().optional(),
25
+ AnswerSortOrder: zod.z.number().int().describe("Sort order for answers").nullable().optional(),
26
+ AdditionalTextDE: zod.z.string().describe("Additional text in German").nullable().optional(),
27
+ NrServiceColumns: zod.z.number().int().describe("Number of service columns").nullable().optional(),
28
+ ServiceGroupType: zod.z.number().int().describe("Type of the service group").nullable().optional(),
29
+ CountryLimitation: zod.z.string().describe("Country codes where service group is available (e.g., 'de,at,ch')").nullable().optional(),
30
+ AddTextDisplayMode: zod.z.number().int().describe("Display mode for additional text").nullable().optional(),
31
+ ShowInEmailSummary: zod.z.boolean().describe("Whether to show in email summary").nullable().optional(),
32
+ StandardAnswerIndex: zod.z.number().int().describe("Index of the standard answer").nullable().optional(),
33
+ ShowWhenCertainAnswerSelected: zod.z.string().describe("Condition for showing when certain answer is selected").nullable().optional()
34
34
  }).passthrough().describe("Model representing a service group in eTermin.");
35
35
  const EterminGetServicegroupOutput = zod.z.object({ servicegroups: zod.z.array(EterminGetServicegroup_ServiceGroupSchema).describe("List of service groups with their details and configuration") }).describe("Response model containing service group details from eTermin.\nReturns a list of service groups with their configurations and display settings.");
36
36
  const eterminGetServicegroup = require_action.action("ETERMIN_GET_SERVICEGROUP", {
@@ -1 +1 @@
1
- {"version":3,"file":"get-servicegroup.cjs","names":["z","action"],"sources":["../../src/actions/get-servicegroup.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminGetServicegroupInput = z.object({\n languageid: z.string().describe(\"Language code to filter service group information (e.g., 'DE', 'EN'). If not provided, all languages are included.\").optional(),\n servicegroupid: z.number().int().describe(\"ID of the specific service group to retrieve. If not provided, all service groups are returned.\").optional(),\n}).describe(\"Request model for retrieving service group details from eTermin.\\nAll parameters are optional - can retrieve all service groups or filter by ID/language.\");\nconst EterminGetServicegroup_ServiceGroupSchema = z.object({\n regex: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Regular expression for validation\").optional()),\n Enabled: z.preprocess((value) => (value === null ? undefined : value), z.boolean().describe(\"Whether the service group is enabled\").optional()),\n pageidx: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"Page index\").optional()),\n Collapse: z.preprocess((value) => (value === null ? undefined : value), z.boolean().describe(\"Whether the service group is collapsed\").optional()),\n IsSimple: z.preprocess((value) => (value === null ? undefined : value), z.boolean().describe(\"Whether the service group is simple\").optional()),\n ShowPrice: z.preprocess((value) => (value === null ? undefined : value), z.boolean().describe(\"Whether to show price\").optional()),\n IsOptional: z.preprocess((value) => (value === null ? undefined : value), z.boolean().describe(\"Whether the service group is optional\").optional()),\n ShowToggle: z.preprocess((value) => (value === null ? undefined : value), z.boolean().describe(\"Whether to show toggle\").optional()),\n SelMinPrice: z.preprocess((value) => (value === null ? undefined : value), z.union([z.string(), z.number()]).optional()),\n ShowImgFull: z.preprocess((value) => (value === null ? undefined : value), z.boolean().describe(\"Whether to show full image\").optional()),\n DisplayIndex: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"Display order index\").optional()),\n ShowDuration: z.preprocess((value) => (value === null ? undefined : value), z.boolean().describe(\"Whether to show duration\").optional()),\n ShowInSummary: z.preprocess((value) => (value === null ? undefined : value), z.boolean().describe(\"Whether to show in summary\").optional()),\n SelMinDuration: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"Minimum duration in minutes for service selection\").optional()),\n ServiceGroupDE: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Service group name in German\").optional()),\n AnswerSelection: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"Answer selection mode\").optional()),\n AnswerSortOrder: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"Sort order for answers\").optional()),\n AdditionalTextDE: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Additional text in German\").optional()),\n NrServiceColumns: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"Number of service columns\").optional()),\n ServiceGroupType: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"Type of the service group\").optional()),\n CountryLimitation: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Country codes where service group is available (e.g., 'de,at,ch')\").optional()),\n AddTextDisplayMode: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"Display mode for additional text\").optional()),\n ShowInEmailSummary: z.preprocess((value) => (value === null ? undefined : value), z.boolean().describe(\"Whether to show in email summary\").optional()),\n StandardAnswerIndex: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"Index of the standard answer\").optional()),\n ShowWhenCertainAnswerSelected: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Condition for showing when certain answer is selected\").optional()),\n}).passthrough().describe(\"Model representing a service group in eTermin.\");\nexport const EterminGetServicegroupOutput = z.object({\n servicegroups: z.array(EterminGetServicegroup_ServiceGroupSchema).describe(\"List of service groups with their details and configuration\"),\n}).describe(\"Response model containing service group details from eTermin.\\nReturns a list of service groups with their configurations and display settings.\");\n\nexport const eterminGetServicegroup = action(\"ETERMIN_GET_SERVICEGROUP\", {\n slug: \"etermin-get-servicegroup\",\n name: \"Get Service Group\",\n description: \"Tool to retrieve service group details from eTermin. Use when you need to list service groups or get specific service group information by ID or language.\",\n input: EterminGetServicegroupInput,\n output: EterminGetServicegroupOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oHAAoH,CAAC,CAAC,SAAS;CAC/J,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iGAAiG,CAAC,CAAC,SAAS;AACxJ,CAAC,CAAC,CAAC,SAAS,2JAA2J;AACvK,MAAM,4CAA4CA,IAAAA,EAAE,OAAO;CACzD,OAAOA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC;CACxI,SAASA,IAAAA,EAAE,YAAY,UAAW,U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N,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-servicegroup.cjs","names":["z","action"],"sources":["../../src/actions/get-servicegroup.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminGetServicegroupInput = z.object({\n languageid: z.string().describe(\"Language code to filter service group information (e.g., 'DE', 'EN'). If not provided, all languages are included.\").optional(),\n servicegroupid: z.number().int().describe(\"ID of the specific service group to retrieve. If not provided, all service groups are returned.\").optional(),\n}).describe(\"Request model for retrieving service group details from eTermin.\\nAll parameters are optional - can retrieve all service groups or filter by ID/language.\");\nconst EterminGetServicegroup_ServiceGroupSchema = z.object({\n regex: z.string().describe(\"Regular expression for validation\").nullable().optional(),\n Enabled: z.boolean().describe(\"Whether the service group is enabled\").nullable().optional(),\n pageidx: z.number().int().describe(\"Page index\").nullable().optional(),\n Collapse: z.boolean().describe(\"Whether the service group is collapsed\").nullable().optional(),\n IsSimple: z.boolean().describe(\"Whether the service group is simple\").nullable().optional(),\n ShowPrice: z.boolean().describe(\"Whether to show price\").nullable().optional(),\n IsOptional: z.boolean().describe(\"Whether the service group is optional\").nullable().optional(),\n ShowToggle: z.boolean().describe(\"Whether to show toggle\").nullable().optional(),\n SelMinPrice: z.union([z.string(), z.number()]).nullable().optional(),\n ShowImgFull: z.boolean().describe(\"Whether to show full image\").nullable().optional(),\n DisplayIndex: z.number().int().describe(\"Display order index\").nullable().optional(),\n ShowDuration: z.boolean().describe(\"Whether to show duration\").nullable().optional(),\n ShowInSummary: z.boolean().describe(\"Whether to show in summary\").nullable().optional(),\n SelMinDuration: z.number().int().describe(\"Minimum duration in minutes for service selection\").nullable().optional(),\n ServiceGroupDE: z.string().describe(\"Service group name in German\").nullable().optional(),\n AnswerSelection: z.number().int().describe(\"Answer selection mode\").nullable().optional(),\n AnswerSortOrder: z.number().int().describe(\"Sort order for answers\").nullable().optional(),\n AdditionalTextDE: z.string().describe(\"Additional text in German\").nullable().optional(),\n NrServiceColumns: z.number().int().describe(\"Number of service columns\").nullable().optional(),\n ServiceGroupType: z.number().int().describe(\"Type of the service group\").nullable().optional(),\n CountryLimitation: z.string().describe(\"Country codes where service group is available (e.g., 'de,at,ch')\").nullable().optional(),\n AddTextDisplayMode: z.number().int().describe(\"Display mode for additional text\").nullable().optional(),\n ShowInEmailSummary: z.boolean().describe(\"Whether to show in email summary\").nullable().optional(),\n StandardAnswerIndex: z.number().int().describe(\"Index of the standard answer\").nullable().optional(),\n ShowWhenCertainAnswerSelected: z.string().describe(\"Condition for showing when certain answer is selected\").nullable().optional(),\n}).passthrough().describe(\"Model representing a service group in eTermin.\");\nexport const EterminGetServicegroupOutput = z.object({\n servicegroups: z.array(EterminGetServicegroup_ServiceGroupSchema).describe(\"List of service groups with their details and configuration\"),\n}).describe(\"Response model containing service group details from eTermin.\\nReturns a list of service groups with their configurations and display settings.\");\n\nexport const eterminGetServicegroup = action(\"ETERMIN_GET_SERVICEGROUP\", {\n slug: \"etermin-get-servicegroup\",\n name: \"Get Service Group\",\n description: \"Tool to retrieve service group details from eTermin. Use when you need to list service groups or get specific service group information by ID or language.\",\n input: EterminGetServicegroupInput,\n output: EterminGetServicegroupOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oHAAoH,CAAC,CAAC,SAAS;CAC/J,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iGAAiG,CAAC,CAAC,SAAS;AACxJ,CAAC,CAAC,CAAC,SAAS,2JAA2J;AACvK,MAAM,4CAA4CA,IAAAA,EAAE,OAAO;CACzD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,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AC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAAgD;AAC1E,MAAa,+BAA+BA,IAAAA,EAAE,OAAO,EACnD,eAAeA,IAAAA,EAAE,MAAM,yCAAyC,CAAC,CAAC,SAAS,6DAA6D,EAC1I,CAAC,CAAC,CAAC,SAAS,iJAAiJ;AAE7J,MAAa,yBAAyBC,eAAAA,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -7,66 +7,37 @@ declare const EterminGetServicegroupInput: z.ZodObject<{
7
7
  }, z.core.$strip>;
8
8
  declare const EterminGetServicegroupOutput: z.ZodObject<{
9
9
  servicegroups: z.ZodArray<z.ZodObject<{
10
- regex: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
11
- Enabled: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
12
- pageidx: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
13
- Collapse: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
14
- IsSimple: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
15
- ShowPrice: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
16
- IsOptional: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
17
- ShowToggle: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
18
- SelMinPrice: z.ZodPreprocess<z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
19
- ShowImgFull: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
20
- DisplayIndex: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
21
- ShowDuration: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
22
- ShowInSummary: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
23
- SelMinDuration: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
24
- ServiceGroupDE: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
25
- AnswerSelection: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
26
- AnswerSortOrder: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
27
- AdditionalTextDE: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
28
- NrServiceColumns: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
29
- ServiceGroupType: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
30
- CountryLimitation: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
31
- AddTextDisplayMode: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
32
- ShowInEmailSummary: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
33
- StandardAnswerIndex: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
34
- ShowWhenCertainAnswerSelected: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
10
+ regex: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
+ Enabled: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
12
+ pageidx: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
13
+ Collapse: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
14
+ IsSimple: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
15
+ ShowPrice: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
16
+ IsOptional: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
17
+ ShowToggle: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
18
+ SelMinPrice: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
19
+ ShowImgFull: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
20
+ DisplayIndex: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
21
+ ShowDuration: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
22
+ ShowInSummary: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
23
+ SelMinDuration: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
24
+ ServiceGroupDE: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25
+ AnswerSelection: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
26
+ AnswerSortOrder: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
27
+ AdditionalTextDE: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28
+ NrServiceColumns: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
29
+ ServiceGroupType: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
30
+ CountryLimitation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31
+ AddTextDisplayMode: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
32
+ ShowInEmailSummary: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
33
+ StandardAnswerIndex: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
34
+ ShowWhenCertainAnswerSelected: z.ZodOptional<z.ZodNullable<z.ZodString>>;
35
35
  }, z.core.$loose>>;
36
36
  }, z.core.$strip>;
37
37
  declare const eterminGetServicegroup: import("@keystrokehq/action").WorkflowActionDefinition<{
38
38
  languageid?: string | undefined;
39
39
  servicegroupid?: number | undefined;
40
- }, {
41
- servicegroups: {
42
- [x: string]: unknown;
43
- regex?: string | undefined;
44
- Enabled?: boolean | undefined;
45
- pageidx?: number | undefined;
46
- Collapse?: boolean | undefined;
47
- IsSimple?: boolean | undefined;
48
- ShowPrice?: boolean | undefined;
49
- IsOptional?: boolean | undefined;
50
- ShowToggle?: boolean | undefined;
51
- SelMinPrice?: string | number | undefined;
52
- ShowImgFull?: boolean | undefined;
53
- DisplayIndex?: number | undefined;
54
- ShowDuration?: boolean | undefined;
55
- ShowInSummary?: boolean | undefined;
56
- SelMinDuration?: number | undefined;
57
- ServiceGroupDE?: string | undefined;
58
- AnswerSelection?: number | undefined;
59
- AnswerSortOrder?: number | undefined;
60
- AdditionalTextDE?: string | undefined;
61
- NrServiceColumns?: number | undefined;
62
- ServiceGroupType?: number | undefined;
63
- CountryLimitation?: string | undefined;
64
- AddTextDisplayMode?: number | undefined;
65
- ShowInEmailSummary?: boolean | undefined;
66
- StandardAnswerIndex?: number | undefined;
67
- ShowWhenCertainAnswerSelected?: string | undefined;
68
- }[];
69
- }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
40
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
70
41
  //#endregion
71
42
  export { eterminGetServicegroup };
72
43
  //# sourceMappingURL=get-servicegroup.d.cts.map
@@ -7,66 +7,37 @@ declare const EterminGetServicegroupInput: z.ZodObject<{
7
7
  }, z.core.$strip>;
8
8
  declare const EterminGetServicegroupOutput: z.ZodObject<{
9
9
  servicegroups: z.ZodArray<z.ZodObject<{
10
- regex: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
11
- Enabled: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
12
- pageidx: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
13
- Collapse: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
14
- IsSimple: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
15
- ShowPrice: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
16
- IsOptional: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
17
- ShowToggle: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
18
- SelMinPrice: z.ZodPreprocess<z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
19
- ShowImgFull: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
20
- DisplayIndex: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
21
- ShowDuration: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
22
- ShowInSummary: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
23
- SelMinDuration: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
24
- ServiceGroupDE: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
25
- AnswerSelection: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
26
- AnswerSortOrder: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
27
- AdditionalTextDE: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
28
- NrServiceColumns: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
29
- ServiceGroupType: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
30
- CountryLimitation: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
31
- AddTextDisplayMode: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
32
- ShowInEmailSummary: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
33
- StandardAnswerIndex: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
34
- ShowWhenCertainAnswerSelected: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
10
+ regex: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
+ Enabled: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
12
+ pageidx: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
13
+ Collapse: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
14
+ IsSimple: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
15
+ ShowPrice: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
16
+ IsOptional: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
17
+ ShowToggle: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
18
+ SelMinPrice: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
19
+ ShowImgFull: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
20
+ DisplayIndex: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
21
+ ShowDuration: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
22
+ ShowInSummary: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
23
+ SelMinDuration: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
24
+ ServiceGroupDE: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25
+ AnswerSelection: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
26
+ AnswerSortOrder: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
27
+ AdditionalTextDE: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28
+ NrServiceColumns: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
29
+ ServiceGroupType: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
30
+ CountryLimitation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31
+ AddTextDisplayMode: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
32
+ ShowInEmailSummary: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
33
+ StandardAnswerIndex: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
34
+ ShowWhenCertainAnswerSelected: z.ZodOptional<z.ZodNullable<z.ZodString>>;
35
35
  }, z.core.$loose>>;
36
36
  }, z.core.$strip>;
37
37
  declare const eterminGetServicegroup: import("@keystrokehq/action").WorkflowActionDefinition<{
38
38
  languageid?: string | undefined;
39
39
  servicegroupid?: number | undefined;
40
- }, {
41
- servicegroups: {
42
- [x: string]: unknown;
43
- regex?: string | undefined;
44
- Enabled?: boolean | undefined;
45
- pageidx?: number | undefined;
46
- Collapse?: boolean | undefined;
47
- IsSimple?: boolean | undefined;
48
- ShowPrice?: boolean | undefined;
49
- IsOptional?: boolean | undefined;
50
- ShowToggle?: boolean | undefined;
51
- SelMinPrice?: string | number | undefined;
52
- ShowImgFull?: boolean | undefined;
53
- DisplayIndex?: number | undefined;
54
- ShowDuration?: boolean | undefined;
55
- ShowInSummary?: boolean | undefined;
56
- SelMinDuration?: number | undefined;
57
- ServiceGroupDE?: string | undefined;
58
- AnswerSelection?: number | undefined;
59
- AnswerSortOrder?: number | undefined;
60
- AdditionalTextDE?: string | undefined;
61
- NrServiceColumns?: number | undefined;
62
- ServiceGroupType?: number | undefined;
63
- CountryLimitation?: string | undefined;
64
- AddTextDisplayMode?: number | undefined;
65
- ShowInEmailSummary?: boolean | undefined;
66
- StandardAnswerIndex?: number | undefined;
67
- ShowWhenCertainAnswerSelected?: string | undefined;
68
- }[];
69
- }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
40
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
70
41
  //#endregion
71
42
  export { eterminGetServicegroup };
72
43
  //# sourceMappingURL=get-servicegroup.d.mts.map
@@ -6,31 +6,31 @@ const EterminGetServicegroupInput = z.object({
6
6
  servicegroupid: z.number().int().describe("ID of the specific service group to retrieve. If not provided, all service groups are returned.").optional()
7
7
  }).describe("Request model for retrieving service group details from eTermin.\nAll parameters are optional - can retrieve all service groups or filter by ID/language.");
8
8
  const EterminGetServicegroup_ServiceGroupSchema = z.object({
9
- regex: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Regular expression for validation").optional()),
10
- Enabled: z.preprocess((value) => value === null ? void 0 : value, z.boolean().describe("Whether the service group is enabled").optional()),
11
- pageidx: z.preprocess((value) => value === null ? void 0 : value, z.number().int().describe("Page index").optional()),
12
- Collapse: z.preprocess((value) => value === null ? void 0 : value, z.boolean().describe("Whether the service group is collapsed").optional()),
13
- IsSimple: z.preprocess((value) => value === null ? void 0 : value, z.boolean().describe("Whether the service group is simple").optional()),
14
- ShowPrice: z.preprocess((value) => value === null ? void 0 : value, z.boolean().describe("Whether to show price").optional()),
15
- IsOptional: z.preprocess((value) => value === null ? void 0 : value, z.boolean().describe("Whether the service group is optional").optional()),
16
- ShowToggle: z.preprocess((value) => value === null ? void 0 : value, z.boolean().describe("Whether to show toggle").optional()),
17
- SelMinPrice: z.preprocess((value) => value === null ? void 0 : value, z.union([z.string(), z.number()]).optional()),
18
- ShowImgFull: z.preprocess((value) => value === null ? void 0 : value, z.boolean().describe("Whether to show full image").optional()),
19
- DisplayIndex: z.preprocess((value) => value === null ? void 0 : value, z.number().int().describe("Display order index").optional()),
20
- ShowDuration: z.preprocess((value) => value === null ? void 0 : value, z.boolean().describe("Whether to show duration").optional()),
21
- ShowInSummary: z.preprocess((value) => value === null ? void 0 : value, z.boolean().describe("Whether to show in summary").optional()),
22
- SelMinDuration: z.preprocess((value) => value === null ? void 0 : value, z.number().int().describe("Minimum duration in minutes for service selection").optional()),
23
- ServiceGroupDE: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Service group name in German").optional()),
24
- AnswerSelection: z.preprocess((value) => value === null ? void 0 : value, z.number().int().describe("Answer selection mode").optional()),
25
- AnswerSortOrder: z.preprocess((value) => value === null ? void 0 : value, z.number().int().describe("Sort order for answers").optional()),
26
- AdditionalTextDE: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Additional text in German").optional()),
27
- NrServiceColumns: z.preprocess((value) => value === null ? void 0 : value, z.number().int().describe("Number of service columns").optional()),
28
- ServiceGroupType: z.preprocess((value) => value === null ? void 0 : value, z.number().int().describe("Type of the service group").optional()),
29
- CountryLimitation: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Country codes where service group is available (e.g., 'de,at,ch')").optional()),
30
- AddTextDisplayMode: z.preprocess((value) => value === null ? void 0 : value, z.number().int().describe("Display mode for additional text").optional()),
31
- ShowInEmailSummary: z.preprocess((value) => value === null ? void 0 : value, z.boolean().describe("Whether to show in email summary").optional()),
32
- StandardAnswerIndex: z.preprocess((value) => value === null ? void 0 : value, z.number().int().describe("Index of the standard answer").optional()),
33
- ShowWhenCertainAnswerSelected: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Condition for showing when certain answer is selected").optional())
9
+ regex: z.string().describe("Regular expression for validation").nullable().optional(),
10
+ Enabled: z.boolean().describe("Whether the service group is enabled").nullable().optional(),
11
+ pageidx: z.number().int().describe("Page index").nullable().optional(),
12
+ Collapse: z.boolean().describe("Whether the service group is collapsed").nullable().optional(),
13
+ IsSimple: z.boolean().describe("Whether the service group is simple").nullable().optional(),
14
+ ShowPrice: z.boolean().describe("Whether to show price").nullable().optional(),
15
+ IsOptional: z.boolean().describe("Whether the service group is optional").nullable().optional(),
16
+ ShowToggle: z.boolean().describe("Whether to show toggle").nullable().optional(),
17
+ SelMinPrice: z.union([z.string(), z.number()]).nullable().optional(),
18
+ ShowImgFull: z.boolean().describe("Whether to show full image").nullable().optional(),
19
+ DisplayIndex: z.number().int().describe("Display order index").nullable().optional(),
20
+ ShowDuration: z.boolean().describe("Whether to show duration").nullable().optional(),
21
+ ShowInSummary: z.boolean().describe("Whether to show in summary").nullable().optional(),
22
+ SelMinDuration: z.number().int().describe("Minimum duration in minutes for service selection").nullable().optional(),
23
+ ServiceGroupDE: z.string().describe("Service group name in German").nullable().optional(),
24
+ AnswerSelection: z.number().int().describe("Answer selection mode").nullable().optional(),
25
+ AnswerSortOrder: z.number().int().describe("Sort order for answers").nullable().optional(),
26
+ AdditionalTextDE: z.string().describe("Additional text in German").nullable().optional(),
27
+ NrServiceColumns: z.number().int().describe("Number of service columns").nullable().optional(),
28
+ ServiceGroupType: z.number().int().describe("Type of the service group").nullable().optional(),
29
+ CountryLimitation: z.string().describe("Country codes where service group is available (e.g., 'de,at,ch')").nullable().optional(),
30
+ AddTextDisplayMode: z.number().int().describe("Display mode for additional text").nullable().optional(),
31
+ ShowInEmailSummary: z.boolean().describe("Whether to show in email summary").nullable().optional(),
32
+ StandardAnswerIndex: z.number().int().describe("Index of the standard answer").nullable().optional(),
33
+ ShowWhenCertainAnswerSelected: z.string().describe("Condition for showing when certain answer is selected").nullable().optional()
34
34
  }).passthrough().describe("Model representing a service group in eTermin.");
35
35
  const eterminGetServicegroup = action("ETERMIN_GET_SERVICEGROUP", {
36
36
  slug: "etermin-get-servicegroup",
@@ -1 +1 @@
1
- {"version":3,"file":"get-servicegroup.mjs","names":[],"sources":["../../src/actions/get-servicegroup.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminGetServicegroupInput = z.object({\n languageid: z.string().describe(\"Language code to filter service group information (e.g., 'DE', 'EN'). If not provided, all languages are included.\").optional(),\n servicegroupid: z.number().int().describe(\"ID of the specific service group to retrieve. If not provided, all service groups are returned.\").optional(),\n}).describe(\"Request model for retrieving service group details from eTermin.\\nAll parameters are optional - can retrieve all service groups or filter by ID/language.\");\nconst EterminGetServicegroup_ServiceGroupSchema = z.object({\n regex: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Regular expression for validation\").optional()),\n Enabled: z.preprocess((value) => (value === null ? undefined : value), z.boolean().describe(\"Whether the service group is enabled\").optional()),\n pageidx: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"Page index\").optional()),\n Collapse: z.preprocess((value) => (value === null ? undefined : value), z.boolean().describe(\"Whether the service group is collapsed\").optional()),\n IsSimple: z.preprocess((value) => (value === null ? undefined : value), z.boolean().describe(\"Whether the service group is simple\").optional()),\n ShowPrice: z.preprocess((value) => (value === null ? undefined : value), z.boolean().describe(\"Whether to show price\").optional()),\n IsOptional: z.preprocess((value) => (value === null ? undefined : value), z.boolean().describe(\"Whether the service group is optional\").optional()),\n ShowToggle: z.preprocess((value) => (value === null ? undefined : value), z.boolean().describe(\"Whether to show toggle\").optional()),\n SelMinPrice: z.preprocess((value) => (value === null ? undefined : value), z.union([z.string(), z.number()]).optional()),\n ShowImgFull: z.preprocess((value) => (value === null ? undefined : value), z.boolean().describe(\"Whether to show full image\").optional()),\n DisplayIndex: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"Display order index\").optional()),\n ShowDuration: z.preprocess((value) => (value === null ? undefined : value), z.boolean().describe(\"Whether to show duration\").optional()),\n ShowInSummary: z.preprocess((value) => (value === null ? undefined : value), z.boolean().describe(\"Whether to show in summary\").optional()),\n SelMinDuration: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"Minimum duration in minutes for service selection\").optional()),\n ServiceGroupDE: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Service group name in German\").optional()),\n AnswerSelection: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"Answer selection mode\").optional()),\n AnswerSortOrder: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"Sort order for answers\").optional()),\n AdditionalTextDE: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Additional text in German\").optional()),\n NrServiceColumns: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"Number of service columns\").optional()),\n ServiceGroupType: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"Type of the service group\").optional()),\n CountryLimitation: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Country codes where service group is available (e.g., 'de,at,ch')\").optional()),\n AddTextDisplayMode: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"Display mode for additional text\").optional()),\n ShowInEmailSummary: z.preprocess((value) => (value === null ? undefined : value), z.boolean().describe(\"Whether to show in email summary\").optional()),\n StandardAnswerIndex: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"Index of the standard answer\").optional()),\n ShowWhenCertainAnswerSelected: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Condition for showing when certain answer is selected\").optional()),\n}).passthrough().describe(\"Model representing a service group in eTermin.\");\nexport const EterminGetServicegroupOutput = z.object({\n servicegroups: z.array(EterminGetServicegroup_ServiceGroupSchema).describe(\"List of service groups with their details and configuration\"),\n}).describe(\"Response model containing service group details from eTermin.\\nReturns a list of service groups with their configurations and display settings.\");\n\nexport const eterminGetServicegroup = action(\"ETERMIN_GET_SERVICEGROUP\", {\n slug: \"etermin-get-servicegroup\",\n name: \"Get Service Group\",\n description: \"Tool to retrieve service group details from eTermin. Use when you need to list service groups or get specific service group information by ID or language.\",\n input: EterminGetServicegroupInput,\n output: EterminGetServicegroupOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8B,EAAE,OAAO;CAClD,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,oHAAoH,CAAC,CAAC,SAAS;CAC/J,gBAAgB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iGAAiG,CAAC,CAAC,SAAS;AACxJ,CAAC,CAAC,CAAC,SAAS,2JAA2J;AACvK,MAAM,4CAA4C,EAAE,OAAO;CACzD,OAAO,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC;CACxI,SAAS,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC;CAC9I,SAAS,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,YAAY,CAAC,CAAC,SAAS,CAAC;CACzH,UAAU,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC;CACjJ,UAAU,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC;CAC9I,WAAW,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC;CACjI,YAAY,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC;CAClJ,YAAY,EAAE,YAAY,UAAW,UAAU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nD,eAAe,EAAE,MAAM,yCAAyC,CAAC,CAAC,SAAS,6DAA6D,EAC1I,CAAC,CAAC,CAAC,SAAS,iJAOF;AACV,CAAC"}
1
+ {"version":3,"file":"get-servicegroup.mjs","names":[],"sources":["../../src/actions/get-servicegroup.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminGetServicegroupInput = z.object({\n languageid: z.string().describe(\"Language code to filter service group information (e.g., 'DE', 'EN'). If not provided, all languages are included.\").optional(),\n servicegroupid: z.number().int().describe(\"ID of the specific service group to retrieve. If not provided, all service groups are returned.\").optional(),\n}).describe(\"Request model for retrieving service group details from eTermin.\\nAll parameters are optional - can retrieve all service groups or filter by ID/language.\");\nconst EterminGetServicegroup_ServiceGroupSchema = z.object({\n regex: z.string().describe(\"Regular expression for validation\").nullable().optional(),\n Enabled: z.boolean().describe(\"Whether the service group is enabled\").nullable().optional(),\n pageidx: z.number().int().describe(\"Page index\").nullable().optional(),\n Collapse: z.boolean().describe(\"Whether the service group is collapsed\").nullable().optional(),\n IsSimple: z.boolean().describe(\"Whether the service group is simple\").nullable().optional(),\n ShowPrice: z.boolean().describe(\"Whether to show price\").nullable().optional(),\n IsOptional: z.boolean().describe(\"Whether the service group is optional\").nullable().optional(),\n ShowToggle: z.boolean().describe(\"Whether to show toggle\").nullable().optional(),\n SelMinPrice: z.union([z.string(), z.number()]).nullable().optional(),\n ShowImgFull: z.boolean().describe(\"Whether to show full image\").nullable().optional(),\n DisplayIndex: z.number().int().describe(\"Display order index\").nullable().optional(),\n ShowDuration: z.boolean().describe(\"Whether to show duration\").nullable().optional(),\n ShowInSummary: z.boolean().describe(\"Whether to show in summary\").nullable().optional(),\n SelMinDuration: z.number().int().describe(\"Minimum duration in minutes for service selection\").nullable().optional(),\n ServiceGroupDE: z.string().describe(\"Service group name in German\").nullable().optional(),\n AnswerSelection: z.number().int().describe(\"Answer selection mode\").nullable().optional(),\n AnswerSortOrder: z.number().int().describe(\"Sort order for answers\").nullable().optional(),\n AdditionalTextDE: z.string().describe(\"Additional text in German\").nullable().optional(),\n NrServiceColumns: z.number().int().describe(\"Number of service columns\").nullable().optional(),\n ServiceGroupType: z.number().int().describe(\"Type of the service group\").nullable().optional(),\n CountryLimitation: z.string().describe(\"Country codes where service group is available (e.g., 'de,at,ch')\").nullable().optional(),\n AddTextDisplayMode: z.number().int().describe(\"Display mode for additional text\").nullable().optional(),\n ShowInEmailSummary: z.boolean().describe(\"Whether to show in email summary\").nullable().optional(),\n StandardAnswerIndex: z.number().int().describe(\"Index of the standard answer\").nullable().optional(),\n ShowWhenCertainAnswerSelected: z.string().describe(\"Condition for showing when certain answer is selected\").nullable().optional(),\n}).passthrough().describe(\"Model representing a service group in eTermin.\");\nexport const EterminGetServicegroupOutput = z.object({\n servicegroups: z.array(EterminGetServicegroup_ServiceGroupSchema).describe(\"List of service groups with their details and configuration\"),\n}).describe(\"Response model containing service group details from eTermin.\\nReturns a list of service groups with their configurations and display settings.\");\n\nexport const eterminGetServicegroup = action(\"ETERMIN_GET_SERVICEGROUP\", {\n slug: \"etermin-get-servicegroup\",\n name: \"Get Service Group\",\n description: \"Tool to retrieve service group details from eTermin. Use when you need to list service groups or get specific service group information by ID or language.\",\n input: EterminGetServicegroupInput,\n output: EterminGetServicegroupOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8B,EAAE,OAAO;CAClD,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,oHAAoH,CAAC,CAAC,SAAS;CAC/J,gBAAgB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iGAAiG,CAAC,CAAC,SAAS;AACxJ,CAAC,CAAC,CAAC,SAAS,2JAA2J;AACvK,MAAM,4CAA4C,EAAE,OAAO;CACzD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,sCAAsC,CAAC,CA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DAA6D,EAC1I,CAAC,CAAC,CAAC,SAAS,iJAOF;AACV,CAAC"}
@@ -4,12 +4,12 @@ let zod = require("zod");
4
4
  const EterminGetServicesInput = zod.z.object({}).describe("Request model for retrieving all services from eTermin.\nNo parameters required - retrieves all services in the account.");
5
5
  const EterminGetServices_ServiceSchema = zod.z.object({
6
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()),
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
9
  Enabled: zod.z.boolean().describe("Whether the service is currently enabled for booking").nullable(),
10
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()),
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
13
  ServiceID: zod.z.number().int().describe("Unique identifier for the service").nullable(),
14
14
  SortOrder: zod.z.number().int().describe("Sort order for displaying the service").nullable(),
15
15
  MaxCapacity: zod.z.number().int().describe("Maximum capacity for the service").nullable(),
@@ -1 +1 @@
1
- {"version":3,"file":"get-services.cjs","names":["z","action"],"sources":["../../src/actions/get-services.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminGetServicesInput = z.object({}).describe(\"Request model for retrieving all services from eTermin.\\nNo parameters required - retrieves all services in the account.\");\nconst EterminGetServices_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 EterminGetServicesOutput = z.object({\n services: z.array(EterminGetServices_ServiceSchema).describe(\"List of all services configured in the eTermin account\"),\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 eterminGetServices = action(\"ETERMIN_GET_SERVICES\", {\n slug: \"etermin-get-services\",\n name: \"Get Services\",\n description: \"Tool to retrieve a list of services. Use when you need to list available services in your eTermin account.\",\n input: EterminGetServicesInput,\n output: EterminGetServicesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,0HAA0H;AACvL,MAAM,mCAAmCA,IAAAA,EAAE,OAAO;CAChD,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,oC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,2BAA2BA,IAAAA,EAAE,OAAO,EAC/C,UAAUA,IAAAA,EAAE,MAAM,gCAAgC,CAAC,CAAC,SAAS,wDAAwD,EACvH,CAAC,CAAC,CAAC,SAAS,gJAAgJ;AAE5J,MAAa,qBAAqBC,eAAAA,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-services.cjs","names":["z","action"],"sources":["../../src/actions/get-services.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminGetServicesInput = z.object({}).describe(\"Request model for retrieving all services from eTermin.\\nNo parameters required - retrieves all services in the account.\");\nconst EterminGetServices_ServiceSchema = z.object({\n Price: z.number().describe(\"Price of the service\").nullable(),\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\").nullable(),\n Currency: z.string().describe(\"Currency code for the price (e.g., EUR)\").nullable(),\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\").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 EterminGetServicesOutput = z.object({\n services: z.array(EterminGetServices_ServiceSchema).describe(\"List of all services configured in the eTermin account\"),\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 eterminGetServices = action(\"ETERMIN_GET_SERVICES\", {\n slug: \"etermin-get-services\",\n name: \"Get Services\",\n description: \"Tool to retrieve a list of services. Use when you need to list available services in your eTermin account.\",\n input: EterminGetServicesInput,\n output: EterminGetServicesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,0HAA0H;AACvL,MAAM,mCAAmCA,IAAAA,EAAE,OAAO;CAChD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CAC5D,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,CAAC,CAAC,SAAS;CAC/F,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAClF,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,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,2BAA2BA,IAAAA,EAAE,OAAO,EAC/C,UAAUA,IAAAA,EAAE,MAAM,gCAAgC,CAAC,CAAC,SAAS,wDAAwD,EACvH,CAAC,CAAC,CAAC,SAAS,gJAAgJ;AAE5J,MAAa,qBAAqBC,eAAAA,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -5,12 +5,12 @@ declare const EterminGetServicesInput: z.ZodObject<{}, z.core.$strip>;
5
5
  declare const EterminGetServicesOutput: z.ZodObject<{
6
6
  services: z.ZodArray<z.ZodObject<{
7
7
  Price: z.ZodNullable<z.ZodNumber>;
8
- InfoDE: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
9
- InfoEN: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
8
+ InfoDE: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9
+ InfoEN: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10
10
  Enabled: z.ZodNullable<z.ZodBoolean>;
11
11
  Currency: z.ZodNullable<z.ZodString>;
12
- ServiceDE: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
13
- ServiceEN: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
12
+ ServiceDE: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
+ ServiceEN: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
14
  ServiceID: z.ZodNullable<z.ZodNumber>;
15
15
  SortOrder: z.ZodNullable<z.ZodNumber>;
16
16
  MaxCapacity: z.ZodNullable<z.ZodNumber>;
@@ -19,24 +19,7 @@ declare const EterminGetServicesOutput: z.ZodObject<{
19
19
  TimeSlotMinutes: z.ZodNullable<z.ZodNumber>;
20
20
  }, z.core.$loose>>;
21
21
  }, z.core.$strip>;
22
- declare const eterminGetServices: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, {
23
- services: {
24
- [x: string]: unknown;
25
- Price: number | null;
26
- Enabled: boolean | null;
27
- Currency: string | null;
28
- ServiceID: number | null;
29
- SortOrder: number | null;
30
- MaxCapacity: number | null;
31
- MinCapacity: number | null;
32
- ServiceGroupID: number | null;
33
- TimeSlotMinutes: number | null;
34
- InfoDE?: string | undefined;
35
- InfoEN?: string | undefined;
36
- ServiceDE?: string | undefined;
37
- ServiceEN?: string | undefined;
38
- }[];
39
- }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
22
+ declare const eterminGetServices: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
40
23
  //#endregion
41
24
  export { eterminGetServices };
42
25
  //# sourceMappingURL=get-services.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-services.d.cts","names":[],"sources":["../../src/actions/get-services.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAgBvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;cAIxB,kBAAA,gCAAkB,wBAAA,CAAA,MAAA"}
1
+ {"version":3,"file":"get-services.d.cts","names":[],"sources":["../../src/actions/get-services.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAgBvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;cAIxB,kBAAA,gCAAkB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -5,12 +5,12 @@ declare const EterminGetServicesInput: z.ZodObject<{}, z.core.$strip>;
5
5
  declare const EterminGetServicesOutput: z.ZodObject<{
6
6
  services: z.ZodArray<z.ZodObject<{
7
7
  Price: z.ZodNullable<z.ZodNumber>;
8
- InfoDE: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
9
- InfoEN: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
8
+ InfoDE: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9
+ InfoEN: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10
10
  Enabled: z.ZodNullable<z.ZodBoolean>;
11
11
  Currency: z.ZodNullable<z.ZodString>;
12
- ServiceDE: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
13
- ServiceEN: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
12
+ ServiceDE: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
+ ServiceEN: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
14
  ServiceID: z.ZodNullable<z.ZodNumber>;
15
15
  SortOrder: z.ZodNullable<z.ZodNumber>;
16
16
  MaxCapacity: z.ZodNullable<z.ZodNumber>;
@@ -19,24 +19,7 @@ declare const EterminGetServicesOutput: z.ZodObject<{
19
19
  TimeSlotMinutes: z.ZodNullable<z.ZodNumber>;
20
20
  }, z.core.$loose>>;
21
21
  }, z.core.$strip>;
22
- declare const eterminGetServices: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, {
23
- services: {
24
- [x: string]: unknown;
25
- Price: number | null;
26
- Enabled: boolean | null;
27
- Currency: string | null;
28
- ServiceID: number | null;
29
- SortOrder: number | null;
30
- MaxCapacity: number | null;
31
- MinCapacity: number | null;
32
- ServiceGroupID: number | null;
33
- TimeSlotMinutes: number | null;
34
- InfoDE?: string | undefined;
35
- InfoEN?: string | undefined;
36
- ServiceDE?: string | undefined;
37
- ServiceEN?: string | undefined;
38
- }[];
39
- }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
22
+ declare const eterminGetServices: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
40
23
  //#endregion
41
24
  export { eterminGetServices };
42
25
  //# sourceMappingURL=get-services.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-services.d.mts","names":[],"sources":["../../src/actions/get-services.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAgBvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;cAIxB,kBAAA,gCAAkB,wBAAA,CAAA,MAAA"}
1
+ {"version":3,"file":"get-services.d.mts","names":[],"sources":["../../src/actions/get-services.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAgBvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;cAIxB,kBAAA,gCAAkB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -4,12 +4,12 @@ import { z } from "zod";
4
4
  const EterminGetServicesInput = z.object({}).describe("Request model for retrieving all services from eTermin.\nNo parameters required - retrieves all services in the account.");
5
5
  const EterminGetServices_ServiceSchema = z.object({
6
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()),
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
9
  Enabled: z.boolean().describe("Whether the service is currently enabled for booking").nullable(),
10
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()),
11
+ ServiceDE: z.string().describe("Service name in German").nullable().optional(),
12
+ ServiceEN: z.string().describe("Service name in English").nullable().optional(),
13
13
  ServiceID: z.number().int().describe("Unique identifier for the service").nullable(),
14
14
  SortOrder: z.number().int().describe("Sort order for displaying the service").nullable(),
15
15
  MaxCapacity: z.number().int().describe("Maximum capacity for the service").nullable(),
@@ -1 +1 @@
1
- {"version":3,"file":"get-services.mjs","names":[],"sources":["../../src/actions/get-services.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminGetServicesInput = z.object({}).describe(\"Request model for retrieving all services from eTermin.\\nNo parameters required - retrieves all services in the account.\");\nconst EterminGetServices_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 EterminGetServicesOutput = z.object({\n services: z.array(EterminGetServices_ServiceSchema).describe(\"List of all services configured in the eTermin account\"),\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 eterminGetServices = action(\"ETERMIN_GET_SERVICES\", {\n slug: \"etermin-get-services\",\n name: \"Get Services\",\n description: \"Tool to retrieve a list of services. Use when you need to list available services in your eTermin account.\",\n input: EterminGetServicesInput,\n output: EterminGetServicesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0B,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,0HAA0H;AACvL,MAAM,mCAAmC,EAAE,OAAO;CAChD,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,qBAAqB,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATsC,EAAE,OAAO,EAC/C,UAAU,EAAE,MAAM,gCAAgC,CAAC,CAAC,SAAS,wDAAwD,EACvH,CAAC,CAAC,CAAC,SAAS,gJAOF;AACV,CAAC"}
1
+ {"version":3,"file":"get-services.mjs","names":[],"sources":["../../src/actions/get-services.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminGetServicesInput = z.object({}).describe(\"Request model for retrieving all services from eTermin.\\nNo parameters required - retrieves all services in the account.\");\nconst EterminGetServices_ServiceSchema = z.object({\n Price: z.number().describe(\"Price of the service\").nullable(),\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\").nullable(),\n Currency: z.string().describe(\"Currency code for the price (e.g., EUR)\").nullable(),\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\").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 EterminGetServicesOutput = z.object({\n services: z.array(EterminGetServices_ServiceSchema).describe(\"List of all services configured in the eTermin account\"),\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 eterminGetServices = action(\"ETERMIN_GET_SERVICES\", {\n slug: \"etermin-get-services\",\n name: \"Get Services\",\n description: \"Tool to retrieve a list of services. Use when you need to list available services in your eTermin account.\",\n input: EterminGetServicesInput,\n output: EterminGetServicesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0B,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,0HAA0H;AACvL,MAAM,mCAAmC,EAAE,OAAO;CAChD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CAC5D,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,CAAC,CAAC,SAAS;CAC/F,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,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