@keystrokehq/etermin 0.1.1 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (497) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/assign-calendar-service.cjs +4 -4
  4. package/dist/actions/assign-calendar-service.cjs.map +1 -1
  5. package/dist/actions/assign-calendar-service.d.cts +5 -9
  6. package/dist/actions/assign-calendar-service.d.mts +5 -9
  7. package/dist/actions/assign-calendar-service.mjs +4 -4
  8. package/dist/actions/assign-calendar-service.mjs.map +1 -1
  9. package/dist/actions/create-absence.cjs +3 -3
  10. package/dist/actions/create-absence.cjs.map +1 -1
  11. package/dist/actions/create-absence.d.cts +4 -9
  12. package/dist/actions/create-absence.d.mts +4 -9
  13. package/dist/actions/create-absence.mjs +3 -3
  14. package/dist/actions/create-absence.mjs.map +1 -1
  15. package/dist/actions/create-anchortime-by-date.cjs +1 -1
  16. package/dist/actions/create-anchortime-by-date.cjs.map +1 -1
  17. package/dist/actions/create-anchortime-by-date.d.cts +2 -5
  18. package/dist/actions/create-anchortime-by-date.d.mts +2 -5
  19. package/dist/actions/create-anchortime-by-date.mjs +1 -1
  20. package/dist/actions/create-anchortime-by-date.mjs.map +1 -1
  21. package/dist/actions/create-anchortime.cjs +1 -1
  22. package/dist/actions/create-anchortime.cjs.map +1 -1
  23. package/dist/actions/create-anchortime.d.cts +3 -6
  24. package/dist/actions/create-anchortime.d.mts +3 -6
  25. package/dist/actions/create-anchortime.mjs +1 -1
  26. package/dist/actions/create-anchortime.mjs.map +1 -1
  27. package/dist/actions/create-appointment-sync.cjs +2 -2
  28. package/dist/actions/create-appointment-sync.cjs.map +1 -1
  29. package/dist/actions/create-appointment-sync.d.cts +3 -7
  30. package/dist/actions/create-appointment-sync.d.mts +3 -7
  31. package/dist/actions/create-appointment-sync.mjs +2 -2
  32. package/dist/actions/create-appointment-sync.mjs.map +1 -1
  33. package/dist/actions/create-appointment.cjs +7 -7
  34. package/dist/actions/create-appointment.cjs.map +1 -1
  35. package/dist/actions/create-appointment.d.cts +8 -15
  36. package/dist/actions/create-appointment.d.mts +8 -15
  37. package/dist/actions/create-appointment.mjs +7 -7
  38. package/dist/actions/create-appointment.mjs.map +1 -1
  39. package/dist/actions/create-calendar-return-time.cjs +2 -2
  40. package/dist/actions/create-calendar-return-time.cjs.map +1 -1
  41. package/dist/actions/create-calendar-return-time.d.cts +4 -8
  42. package/dist/actions/create-calendar-return-time.d.mts +4 -8
  43. package/dist/actions/create-calendar-return-time.mjs +2 -2
  44. package/dist/actions/create-calendar-return-time.mjs.map +1 -1
  45. package/dist/actions/create-contact.cjs +1 -1
  46. package/dist/actions/create-contact.cjs.map +1 -1
  47. package/dist/actions/create-contact.d.cts +2 -8
  48. package/dist/actions/create-contact.d.mts +2 -8
  49. package/dist/actions/create-contact.mjs +1 -1
  50. package/dist/actions/create-contact.mjs.map +1 -1
  51. package/dist/actions/create-service-group.cjs +4 -4
  52. package/dist/actions/create-service-group.cjs.map +1 -1
  53. package/dist/actions/create-service-group.d.cts +5 -9
  54. package/dist/actions/create-service-group.d.mts +5 -9
  55. package/dist/actions/create-service-group.mjs +4 -4
  56. package/dist/actions/create-service-group.mjs.map +1 -1
  57. package/dist/actions/create-service.cjs +4 -4
  58. package/dist/actions/create-service.cjs.map +1 -1
  59. package/dist/actions/create-service.d.cts +5 -9
  60. package/dist/actions/create-service.d.mts +5 -9
  61. package/dist/actions/create-service.mjs +4 -4
  62. package/dist/actions/create-service.mjs.map +1 -1
  63. package/dist/actions/create-user.cjs +2 -2
  64. package/dist/actions/create-user.cjs.map +1 -1
  65. package/dist/actions/create-user.d.cts +3 -7
  66. package/dist/actions/create-user.d.mts +3 -7
  67. package/dist/actions/create-user.mjs +2 -2
  68. package/dist/actions/create-user.mjs.map +1 -1
  69. package/dist/actions/create-usermapping.cjs +4 -4
  70. package/dist/actions/create-usermapping.cjs.map +1 -1
  71. package/dist/actions/create-usermapping.d.cts +5 -9
  72. package/dist/actions/create-usermapping.d.mts +5 -9
  73. package/dist/actions/create-usermapping.mjs +4 -4
  74. package/dist/actions/create-usermapping.mjs.map +1 -1
  75. package/dist/actions/create-voucher.cjs +3 -3
  76. package/dist/actions/create-voucher.cjs.map +1 -1
  77. package/dist/actions/create-voucher.d.cts +4 -13
  78. package/dist/actions/create-voucher.d.mts +4 -13
  79. package/dist/actions/create-voucher.mjs +3 -3
  80. package/dist/actions/create-voucher.mjs.map +1 -1
  81. package/dist/actions/create-webhook.cjs +3 -3
  82. package/dist/actions/create-webhook.cjs.map +1 -1
  83. package/dist/actions/create-webhook.d.cts +4 -9
  84. package/dist/actions/create-webhook.d.cts.map +1 -1
  85. package/dist/actions/create-webhook.d.mts +4 -9
  86. package/dist/actions/create-webhook.d.mts.map +1 -1
  87. package/dist/actions/create-webhook.mjs +3 -3
  88. package/dist/actions/create-webhook.mjs.map +1 -1
  89. package/dist/actions/create-working-time.cjs +1 -1
  90. package/dist/actions/create-working-time.cjs.map +1 -1
  91. package/dist/actions/create-working-time.d.cts +2 -5
  92. package/dist/actions/create-working-time.d.mts +2 -5
  93. package/dist/actions/create-working-time.mjs +1 -1
  94. package/dist/actions/create-working-time.mjs.map +1 -1
  95. package/dist/actions/create-working-times-date.cjs +4 -4
  96. package/dist/actions/create-working-times-date.cjs.map +1 -1
  97. package/dist/actions/create-working-times-date.d.cts +5 -9
  98. package/dist/actions/create-working-times-date.d.mts +5 -9
  99. package/dist/actions/create-working-times-date.mjs +4 -4
  100. package/dist/actions/create-working-times-date.mjs.map +1 -1
  101. package/dist/actions/delete-absence.cjs +2 -2
  102. package/dist/actions/delete-absence.cjs.map +1 -1
  103. package/dist/actions/delete-absence.d.cts +3 -7
  104. package/dist/actions/delete-absence.d.mts +3 -7
  105. package/dist/actions/delete-absence.mjs +2 -2
  106. package/dist/actions/delete-absence.mjs.map +1 -1
  107. package/dist/actions/delete-anchortime-by-date.cjs +3 -3
  108. package/dist/actions/delete-anchortime-by-date.cjs.map +1 -1
  109. package/dist/actions/delete-anchortime-by-date.d.cts +4 -8
  110. package/dist/actions/delete-anchortime-by-date.d.cts.map +1 -1
  111. package/dist/actions/delete-anchortime-by-date.d.mts +4 -8
  112. package/dist/actions/delete-anchortime-by-date.d.mts.map +1 -1
  113. package/dist/actions/delete-anchortime-by-date.mjs +3 -3
  114. package/dist/actions/delete-anchortime-by-date.mjs.map +1 -1
  115. package/dist/actions/delete-anchortime.cjs +2 -2
  116. package/dist/actions/delete-anchortime.cjs.map +1 -1
  117. package/dist/actions/delete-anchortime.d.cts +3 -6
  118. package/dist/actions/delete-anchortime.d.mts +3 -6
  119. package/dist/actions/delete-anchortime.mjs +2 -2
  120. package/dist/actions/delete-anchortime.mjs.map +1 -1
  121. package/dist/actions/delete-appointment-sync.cjs +2 -2
  122. package/dist/actions/delete-appointment-sync.cjs.map +1 -1
  123. package/dist/actions/delete-appointment-sync.d.cts +3 -7
  124. package/dist/actions/delete-appointment-sync.d.mts +3 -7
  125. package/dist/actions/delete-appointment-sync.mjs +2 -2
  126. package/dist/actions/delete-appointment-sync.mjs.map +1 -1
  127. package/dist/actions/delete-appointment.cjs +3 -3
  128. package/dist/actions/delete-appointment.cjs.map +1 -1
  129. package/dist/actions/delete-appointment.d.cts +4 -8
  130. package/dist/actions/delete-appointment.d.cts.map +1 -1
  131. package/dist/actions/delete-appointment.d.mts +4 -8
  132. package/dist/actions/delete-appointment.d.mts.map +1 -1
  133. package/dist/actions/delete-appointment.mjs +3 -3
  134. package/dist/actions/delete-appointment.mjs.map +1 -1
  135. package/dist/actions/delete-calendar-return-time.cjs +2 -2
  136. package/dist/actions/delete-calendar-return-time.cjs.map +1 -1
  137. package/dist/actions/delete-calendar-return-time.d.cts +3 -6
  138. package/dist/actions/delete-calendar-return-time.d.mts +3 -6
  139. package/dist/actions/delete-calendar-return-time.mjs +2 -2
  140. package/dist/actions/delete-calendar-return-time.mjs.map +1 -1
  141. package/dist/actions/delete-calendar-service.cjs +2 -2
  142. package/dist/actions/delete-calendar-service.cjs.map +1 -1
  143. package/dist/actions/delete-calendar-service.d.cts +3 -6
  144. package/dist/actions/delete-calendar-service.d.mts +3 -6
  145. package/dist/actions/delete-calendar-service.mjs +2 -2
  146. package/dist/actions/delete-calendar-service.mjs.map +1 -1
  147. package/dist/actions/delete-calendar.cjs +2 -2
  148. package/dist/actions/delete-calendar.cjs.map +1 -1
  149. package/dist/actions/delete-calendar.d.cts +3 -7
  150. package/dist/actions/delete-calendar.d.mts +3 -7
  151. package/dist/actions/delete-calendar.mjs +2 -2
  152. package/dist/actions/delete-calendar.mjs.map +1 -1
  153. package/dist/actions/delete-contact.cjs +2 -2
  154. package/dist/actions/delete-contact.cjs.map +1 -1
  155. package/dist/actions/delete-contact.d.cts +3 -6
  156. package/dist/actions/delete-contact.d.mts +3 -6
  157. package/dist/actions/delete-contact.mjs +2 -2
  158. package/dist/actions/delete-contact.mjs.map +1 -1
  159. package/dist/actions/delete-resource.cjs +2 -2
  160. package/dist/actions/delete-resource.cjs.map +1 -1
  161. package/dist/actions/delete-resource.d.cts +3 -8
  162. package/dist/actions/delete-resource.d.mts +3 -8
  163. package/dist/actions/delete-resource.mjs +2 -2
  164. package/dist/actions/delete-resource.mjs.map +1 -1
  165. package/dist/actions/delete-service.cjs +4 -4
  166. package/dist/actions/delete-service.cjs.map +1 -1
  167. package/dist/actions/delete-service.d.cts +5 -9
  168. package/dist/actions/delete-service.d.mts +5 -9
  169. package/dist/actions/delete-service.mjs +4 -4
  170. package/dist/actions/delete-service.mjs.map +1 -1
  171. package/dist/actions/delete-servicegroup.cjs +3 -3
  172. package/dist/actions/delete-servicegroup.cjs.map +1 -1
  173. package/dist/actions/delete-servicegroup.d.cts +4 -7
  174. package/dist/actions/delete-servicegroup.d.mts +4 -7
  175. package/dist/actions/delete-servicegroup.mjs +3 -3
  176. package/dist/actions/delete-servicegroup.mjs.map +1 -1
  177. package/dist/actions/delete-user.cjs +2 -2
  178. package/dist/actions/delete-user.cjs.map +1 -1
  179. package/dist/actions/delete-user.d.cts +3 -6
  180. package/dist/actions/delete-user.d.mts +3 -6
  181. package/dist/actions/delete-user.mjs +2 -2
  182. package/dist/actions/delete-user.mjs.map +1 -1
  183. package/dist/actions/delete-usermapping.cjs +3 -3
  184. package/dist/actions/delete-usermapping.cjs.map +1 -1
  185. package/dist/actions/delete-usermapping.d.cts +4 -7
  186. package/dist/actions/delete-usermapping.d.mts +4 -7
  187. package/dist/actions/delete-usermapping.mjs +3 -3
  188. package/dist/actions/delete-usermapping.mjs.map +1 -1
  189. package/dist/actions/delete-voucher.cjs +2 -2
  190. package/dist/actions/delete-voucher.cjs.map +1 -1
  191. package/dist/actions/delete-voucher.d.cts +3 -6
  192. package/dist/actions/delete-voucher.d.mts +3 -6
  193. package/dist/actions/delete-voucher.mjs +2 -2
  194. package/dist/actions/delete-voucher.mjs.map +1 -1
  195. package/dist/actions/delete-webhook.cjs +3 -3
  196. package/dist/actions/delete-webhook.cjs.map +1 -1
  197. package/dist/actions/delete-webhook.d.cts +4 -7
  198. package/dist/actions/delete-webhook.d.mts +4 -7
  199. package/dist/actions/delete-webhook.mjs +3 -3
  200. package/dist/actions/delete-webhook.mjs.map +1 -1
  201. package/dist/actions/delete-working-times-date.cjs +3 -3
  202. package/dist/actions/delete-working-times-date.cjs.map +1 -1
  203. package/dist/actions/delete-working-times-date.d.cts +4 -7
  204. package/dist/actions/delete-working-times-date.d.mts +4 -7
  205. package/dist/actions/delete-working-times-date.mjs +3 -3
  206. package/dist/actions/delete-working-times-date.mjs.map +1 -1
  207. package/dist/actions/delete-working-times.cjs +3 -3
  208. package/dist/actions/delete-working-times.cjs.map +1 -1
  209. package/dist/actions/delete-working-times.d.cts +4 -7
  210. package/dist/actions/delete-working-times.d.mts +4 -7
  211. package/dist/actions/delete-working-times.mjs +3 -3
  212. package/dist/actions/delete-working-times.mjs.map +1 -1
  213. package/dist/actions/get-absences.cjs +7 -7
  214. package/dist/actions/get-absences.cjs.map +1 -1
  215. package/dist/actions/get-absences.d.cts +9 -19
  216. package/dist/actions/get-absences.d.mts +9 -19
  217. package/dist/actions/get-absences.mjs +7 -7
  218. package/dist/actions/get-absences.mjs.map +1 -1
  219. package/dist/actions/get-anchortime-date.cjs +6 -6
  220. package/dist/actions/get-anchortime-date.cjs.map +1 -1
  221. package/dist/actions/get-anchortime-date.d.cts +7 -16
  222. package/dist/actions/get-anchortime-date.d.mts +7 -16
  223. package/dist/actions/get-anchortime-date.mjs +6 -6
  224. package/dist/actions/get-anchortime-date.mjs.map +1 -1
  225. package/dist/actions/get-anchortimes.cjs +6 -6
  226. package/dist/actions/get-anchortimes.cjs.map +1 -1
  227. package/dist/actions/get-anchortimes.d.cts +7 -16
  228. package/dist/actions/get-anchortimes.d.mts +7 -16
  229. package/dist/actions/get-anchortimes.mjs +6 -6
  230. package/dist/actions/get-anchortimes.mjs.map +1 -1
  231. package/dist/actions/get-appointment-sync.cjs +74 -74
  232. package/dist/actions/get-appointment-sync.cjs.map +1 -1
  233. package/dist/actions/get-appointment-sync.d.cts +75 -152
  234. package/dist/actions/get-appointment-sync.d.mts +75 -152
  235. package/dist/actions/get-appointment-sync.mjs +74 -74
  236. package/dist/actions/get-appointment-sync.mjs.map +1 -1
  237. package/dist/actions/get-bookingpage-logs.cjs +7 -7
  238. package/dist/actions/get-bookingpage-logs.cjs.map +1 -1
  239. package/dist/actions/get-bookingpage-logs.d.cts +8 -16
  240. package/dist/actions/get-bookingpage-logs.d.mts +8 -16
  241. package/dist/actions/get-bookingpage-logs.mjs +7 -7
  242. package/dist/actions/get-bookingpage-logs.mjs.map +1 -1
  243. package/dist/actions/get-calendar-return-time.cjs +9 -9
  244. package/dist/actions/get-calendar-return-time.cjs.map +1 -1
  245. package/dist/actions/get-calendar-return-time.d.cts +11 -23
  246. package/dist/actions/get-calendar-return-time.d.mts +11 -23
  247. package/dist/actions/get-calendar-return-time.mjs +9 -9
  248. package/dist/actions/get-calendar-return-time.mjs.map +1 -1
  249. package/dist/actions/get-calendars.cjs +6 -6
  250. package/dist/actions/get-calendars.cjs.map +1 -1
  251. package/dist/actions/get-calendars.d.cts +7 -18
  252. package/dist/actions/get-calendars.d.cts.map +1 -1
  253. package/dist/actions/get-calendars.d.mts +7 -18
  254. package/dist/actions/get-calendars.d.mts.map +1 -1
  255. package/dist/actions/get-calendars.mjs +6 -6
  256. package/dist/actions/get-calendars.mjs.map +1 -1
  257. package/dist/actions/get-calendarservice.cjs +4 -4
  258. package/dist/actions/get-calendarservice.cjs.map +1 -1
  259. package/dist/actions/get-calendarservice.d.cts +5 -12
  260. package/dist/actions/get-calendarservice.d.mts +5 -12
  261. package/dist/actions/get-calendarservice.mjs +4 -4
  262. package/dist/actions/get-calendarservice.mjs.map +1 -1
  263. package/dist/actions/get-company.cjs +20 -20
  264. package/dist/actions/get-company.cjs.map +1 -1
  265. package/dist/actions/get-company.d.cts +21 -44
  266. package/dist/actions/get-company.d.cts.map +1 -1
  267. package/dist/actions/get-company.d.mts +21 -44
  268. package/dist/actions/get-company.d.mts.map +1 -1
  269. package/dist/actions/get-company.mjs +20 -20
  270. package/dist/actions/get-company.mjs.map +1 -1
  271. package/dist/actions/get-contact-by-id.cjs +51 -51
  272. package/dist/actions/get-contact-by-id.cjs.map +1 -1
  273. package/dist/actions/get-contact-by-id.d.cts +52 -105
  274. package/dist/actions/get-contact-by-id.d.mts +52 -105
  275. package/dist/actions/get-contact-by-id.mjs +51 -51
  276. package/dist/actions/get-contact-by-id.mjs.map +1 -1
  277. package/dist/actions/get-contacts.cjs +51 -51
  278. package/dist/actions/get-contacts.cjs.map +1 -1
  279. package/dist/actions/get-contacts.d.cts +52 -105
  280. package/dist/actions/get-contacts.d.cts.map +1 -1
  281. package/dist/actions/get-contacts.d.mts +52 -105
  282. package/dist/actions/get-contacts.d.mts.map +1 -1
  283. package/dist/actions/get-contacts.mjs +51 -51
  284. package/dist/actions/get-contacts.mjs.map +1 -1
  285. package/dist/actions/get-deleted-appointments.cjs +19 -19
  286. package/dist/actions/get-deleted-appointments.cjs.map +1 -1
  287. package/dist/actions/get-deleted-appointments.d.cts +20 -42
  288. package/dist/actions/get-deleted-appointments.d.mts +20 -42
  289. package/dist/actions/get-deleted-appointments.mjs +19 -19
  290. package/dist/actions/get-deleted-appointments.mjs.map +1 -1
  291. package/dist/actions/get-message-logs.cjs +11 -11
  292. package/dist/actions/get-message-logs.cjs.map +1 -1
  293. package/dist/actions/get-message-logs.d.cts +12 -24
  294. package/dist/actions/get-message-logs.d.mts +12 -24
  295. package/dist/actions/get-message-logs.mjs +11 -11
  296. package/dist/actions/get-message-logs.mjs.map +1 -1
  297. package/dist/actions/get-rating.cjs +12 -12
  298. package/dist/actions/get-rating.cjs.map +1 -1
  299. package/dist/actions/get-rating.d.cts +13 -28
  300. package/dist/actions/get-rating.d.cts.map +1 -1
  301. package/dist/actions/get-rating.d.mts +13 -28
  302. package/dist/actions/get-rating.d.mts.map +1 -1
  303. package/dist/actions/get-rating.mjs +12 -12
  304. package/dist/actions/get-rating.mjs.map +1 -1
  305. package/dist/actions/get-service-by-id.cjs +5 -5
  306. package/dist/actions/get-service-by-id.cjs.map +1 -1
  307. package/dist/actions/get-service-by-id.d.cts +6 -23
  308. package/dist/actions/get-service-by-id.d.mts +6 -23
  309. package/dist/actions/get-service-by-id.mjs +5 -5
  310. package/dist/actions/get-service-by-id.mjs.map +1 -1
  311. package/dist/actions/get-service-calendar.cjs +1 -1
  312. package/dist/actions/get-service-calendar.cjs.map +1 -1
  313. package/dist/actions/get-service-calendar.d.cts +2 -7
  314. package/dist/actions/get-service-calendar.d.mts +2 -7
  315. package/dist/actions/get-service-calendar.mjs +1 -1
  316. package/dist/actions/get-service-calendar.mjs.map +1 -1
  317. package/dist/actions/get-servicegroup.cjs +26 -26
  318. package/dist/actions/get-servicegroup.cjs.map +1 -1
  319. package/dist/actions/get-servicegroup.d.cts +27 -56
  320. package/dist/actions/get-servicegroup.d.mts +27 -56
  321. package/dist/actions/get-servicegroup.mjs +26 -26
  322. package/dist/actions/get-servicegroup.mjs.map +1 -1
  323. package/dist/actions/get-services.cjs +5 -5
  324. package/dist/actions/get-services.cjs.map +1 -1
  325. package/dist/actions/get-services.d.cts +6 -23
  326. package/dist/actions/get-services.d.cts.map +1 -1
  327. package/dist/actions/get-services.d.mts +6 -23
  328. package/dist/actions/get-services.d.mts.map +1 -1
  329. package/dist/actions/get-services.mjs +5 -5
  330. package/dist/actions/get-services.mjs.map +1 -1
  331. package/dist/actions/get-survey-results.cjs +8 -8
  332. package/dist/actions/get-survey-results.cjs.map +1 -1
  333. package/dist/actions/get-survey-results.d.cts +9 -18
  334. package/dist/actions/get-survey-results.d.mts +9 -18
  335. package/dist/actions/get-survey-results.mjs +8 -8
  336. package/dist/actions/get-survey-results.mjs.map +1 -1
  337. package/dist/actions/get-timeslots.cjs +5 -5
  338. package/dist/actions/get-timeslots.cjs.map +1 -1
  339. package/dist/actions/get-timeslots.d.cts +6 -14
  340. package/dist/actions/get-timeslots.d.mts +6 -14
  341. package/dist/actions/get-timeslots.mjs +5 -5
  342. package/dist/actions/get-timeslots.mjs.map +1 -1
  343. package/dist/actions/get-usermapping.cjs +8 -8
  344. package/dist/actions/get-usermapping.cjs.map +1 -1
  345. package/dist/actions/get-usermapping.d.cts +9 -20
  346. package/dist/actions/get-usermapping.d.mts +9 -20
  347. package/dist/actions/get-usermapping.mjs +8 -8
  348. package/dist/actions/get-usermapping.mjs.map +1 -1
  349. package/dist/actions/get-users.cjs +28 -28
  350. package/dist/actions/get-users.cjs.map +1 -1
  351. package/dist/actions/get-users.d.cts +29 -60
  352. package/dist/actions/get-users.d.cts.map +1 -1
  353. package/dist/actions/get-users.d.mts +29 -60
  354. package/dist/actions/get-users.d.mts.map +1 -1
  355. package/dist/actions/get-users.mjs +28 -28
  356. package/dist/actions/get-users.mjs.map +1 -1
  357. package/dist/actions/get-working-times-date.cjs +1 -1
  358. package/dist/actions/get-working-times-date.cjs.map +1 -1
  359. package/dist/actions/get-working-times-date.d.cts +3 -12
  360. package/dist/actions/get-working-times-date.d.mts +3 -12
  361. package/dist/actions/get-working-times-date.mjs +1 -1
  362. package/dist/actions/get-working-times-date.mjs.map +1 -1
  363. package/dist/actions/get-working-times.cjs +1 -1
  364. package/dist/actions/get-working-times.cjs.map +1 -1
  365. package/dist/actions/get-working-times.d.cts +3 -13
  366. package/dist/actions/get-working-times.d.mts +3 -13
  367. package/dist/actions/get-working-times.mjs +1 -1
  368. package/dist/actions/get-working-times.mjs.map +1 -1
  369. package/dist/actions/list-appointments.cjs +20 -20
  370. package/dist/actions/list-appointments.cjs.map +1 -1
  371. package/dist/actions/list-appointments.d.cts +21 -44
  372. package/dist/actions/list-appointments.d.mts +21 -44
  373. package/dist/actions/list-appointments.mjs +20 -20
  374. package/dist/actions/list-appointments.mjs.map +1 -1
  375. package/dist/actions/list-vouchers.cjs +20 -20
  376. package/dist/actions/list-vouchers.cjs.map +1 -1
  377. package/dist/actions/list-vouchers.d.cts +22 -43
  378. package/dist/actions/list-vouchers.d.cts.map +1 -1
  379. package/dist/actions/list-vouchers.d.mts +22 -43
  380. package/dist/actions/list-vouchers.d.mts.map +1 -1
  381. package/dist/actions/list-vouchers.mjs +20 -20
  382. package/dist/actions/list-vouchers.mjs.map +1 -1
  383. package/dist/actions/list-webhooks.cjs +1 -1
  384. package/dist/actions/list-webhooks.cjs.map +1 -1
  385. package/dist/actions/list-webhooks.d.cts +2 -4
  386. package/dist/actions/list-webhooks.d.cts.map +1 -1
  387. package/dist/actions/list-webhooks.d.mts +2 -4
  388. package/dist/actions/list-webhooks.d.mts.map +1 -1
  389. package/dist/actions/list-webhooks.mjs +1 -1
  390. package/dist/actions/list-webhooks.mjs.map +1 -1
  391. package/dist/actions/put-service.cjs +4 -4
  392. package/dist/actions/put-service.cjs.map +1 -1
  393. package/dist/actions/put-service.d.cts +5 -9
  394. package/dist/actions/put-service.d.mts +5 -9
  395. package/dist/actions/put-service.mjs +4 -4
  396. package/dist/actions/put-service.mjs.map +1 -1
  397. package/dist/actions/update-absence.cjs +2 -2
  398. package/dist/actions/update-absence.cjs.map +1 -1
  399. package/dist/actions/update-absence.d.cts +3 -7
  400. package/dist/actions/update-absence.d.mts +3 -7
  401. package/dist/actions/update-absence.mjs +2 -2
  402. package/dist/actions/update-absence.mjs.map +1 -1
  403. package/dist/actions/update-anchortime-by-date.cjs +2 -2
  404. package/dist/actions/update-anchortime-by-date.cjs.map +1 -1
  405. package/dist/actions/update-anchortime-by-date.d.cts +3 -6
  406. package/dist/actions/update-anchortime-by-date.d.mts +3 -6
  407. package/dist/actions/update-anchortime-by-date.mjs +2 -2
  408. package/dist/actions/update-anchortime-by-date.mjs.map +1 -1
  409. package/dist/actions/update-anchortime.cjs +3 -3
  410. package/dist/actions/update-anchortime.cjs.map +1 -1
  411. package/dist/actions/update-anchortime.d.cts +4 -9
  412. package/dist/actions/update-anchortime.d.mts +4 -9
  413. package/dist/actions/update-anchortime.mjs +3 -3
  414. package/dist/actions/update-anchortime.mjs.map +1 -1
  415. package/dist/actions/update-appointment.cjs +1 -1
  416. package/dist/actions/update-appointment.cjs.map +1 -1
  417. package/dist/actions/update-appointment.d.cts +2 -5
  418. package/dist/actions/update-appointment.d.mts +2 -5
  419. package/dist/actions/update-appointment.mjs +1 -1
  420. package/dist/actions/update-appointment.mjs.map +1 -1
  421. package/dist/actions/update-calendar-return-time.cjs +2 -2
  422. package/dist/actions/update-calendar-return-time.cjs.map +1 -1
  423. package/dist/actions/update-calendar-return-time.d.cts +3 -7
  424. package/dist/actions/update-calendar-return-time.d.mts +3 -7
  425. package/dist/actions/update-calendar-return-time.mjs +2 -2
  426. package/dist/actions/update-calendar-return-time.mjs.map +1 -1
  427. package/dist/actions/update-calendar.cjs +3 -3
  428. package/dist/actions/update-calendar.cjs.map +1 -1
  429. package/dist/actions/update-calendar.d.cts +4 -9
  430. package/dist/actions/update-calendar.d.mts +4 -9
  431. package/dist/actions/update-calendar.mjs +3 -3
  432. package/dist/actions/update-calendar.mjs.map +1 -1
  433. package/dist/actions/update-contact.cjs +4 -4
  434. package/dist/actions/update-contact.cjs.map +1 -1
  435. package/dist/actions/update-contact.d.cts +5 -11
  436. package/dist/actions/update-contact.d.mts +5 -11
  437. package/dist/actions/update-contact.mjs +4 -4
  438. package/dist/actions/update-contact.mjs.map +1 -1
  439. package/dist/actions/update-resource.cjs +2 -2
  440. package/dist/actions/update-resource.cjs.map +1 -1
  441. package/dist/actions/update-resource.d.cts +3 -8
  442. package/dist/actions/update-resource.d.mts +3 -8
  443. package/dist/actions/update-resource.mjs +2 -2
  444. package/dist/actions/update-resource.mjs.map +1 -1
  445. package/dist/actions/update-service-group.cjs +1 -1
  446. package/dist/actions/update-service-group.cjs.map +1 -1
  447. package/dist/actions/update-service-group.d.cts +2 -5
  448. package/dist/actions/update-service-group.d.mts +2 -5
  449. package/dist/actions/update-service-group.mjs +1 -1
  450. package/dist/actions/update-service-group.mjs.map +1 -1
  451. package/dist/actions/update-service.cjs +1 -1
  452. package/dist/actions/update-service.cjs.map +1 -1
  453. package/dist/actions/update-service.d.cts +2 -4
  454. package/dist/actions/update-service.d.cts.map +1 -1
  455. package/dist/actions/update-service.d.mts +2 -4
  456. package/dist/actions/update-service.d.mts.map +1 -1
  457. package/dist/actions/update-service.mjs +1 -1
  458. package/dist/actions/update-service.mjs.map +1 -1
  459. package/dist/actions/update-sync-appointment.cjs +2 -2
  460. package/dist/actions/update-sync-appointment.cjs.map +1 -1
  461. package/dist/actions/update-sync-appointment.d.cts +3 -7
  462. package/dist/actions/update-sync-appointment.d.mts +3 -7
  463. package/dist/actions/update-sync-appointment.mjs +2 -2
  464. package/dist/actions/update-sync-appointment.mjs.map +1 -1
  465. package/dist/actions/update-usermapping.cjs +3 -3
  466. package/dist/actions/update-usermapping.cjs.map +1 -1
  467. package/dist/actions/update-usermapping.d.cts +4 -7
  468. package/dist/actions/update-usermapping.d.mts +4 -7
  469. package/dist/actions/update-usermapping.mjs +3 -3
  470. package/dist/actions/update-usermapping.mjs.map +1 -1
  471. package/dist/actions/update-voucher.cjs +2 -2
  472. package/dist/actions/update-voucher.cjs.map +1 -1
  473. package/dist/actions/update-voucher.d.cts +4 -9
  474. package/dist/actions/update-voucher.d.mts +4 -9
  475. package/dist/actions/update-voucher.mjs +2 -2
  476. package/dist/actions/update-voucher.mjs.map +1 -1
  477. package/dist/actions/update-webhook.cjs +4 -4
  478. package/dist/actions/update-webhook.cjs.map +1 -1
  479. package/dist/actions/update-webhook.d.cts +6 -10
  480. package/dist/actions/update-webhook.d.cts.map +1 -1
  481. package/dist/actions/update-webhook.d.mts +6 -10
  482. package/dist/actions/update-webhook.d.mts.map +1 -1
  483. package/dist/actions/update-webhook.mjs +4 -4
  484. package/dist/actions/update-webhook.mjs.map +1 -1
  485. package/dist/actions/update-working-times-date.cjs +3 -3
  486. package/dist/actions/update-working-times-date.cjs.map +1 -1
  487. package/dist/actions/update-working-times-date.d.cts +4 -7
  488. package/dist/actions/update-working-times-date.d.mts +4 -7
  489. package/dist/actions/update-working-times-date.mjs +3 -3
  490. package/dist/actions/update-working-times-date.mjs.map +1 -1
  491. package/dist/actions/update-working-times.cjs +3 -3
  492. package/dist/actions/update-working-times.cjs.map +1 -1
  493. package/dist/actions/update-working-times.d.cts +4 -7
  494. package/dist/actions/update-working-times.d.mts +4 -7
  495. package/dist/actions/update-working-times.mjs +3 -3
  496. package/dist/actions/update-working-times.mjs.map +1 -1
  497. package/package.json +1 -1
@@ -6,29 +6,18 @@ declare const EterminGetUsermappingInput: z.ZodObject<{
6
6
  }, z.core.$strip>;
7
7
  declare const EterminGetUsermappingOutput: z.ZodObject<{
8
8
  usermappings: z.ZodArray<z.ZodObject<{
9
- id: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
10
- value: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
11
- valueto: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
12
- valuefrom: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
13
- valuetype: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
14
- calendarid: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
15
- servicegroupid: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
9
+ id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
10
+ value: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
11
+ valueto: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
12
+ valuefrom: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
13
+ valuetype: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
14
+ calendarid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
+ servicegroupid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
16
  }, z.core.$loose>>;
17
- }, z.core.$strip>;
17
+ }, z.core.$loose>;
18
18
  declare const eterminGetUsermapping: import("@keystrokehq/action").WorkflowActionDefinition<{
19
19
  searchvalue?: number | undefined;
20
- }, {
21
- usermappings: {
22
- [x: string]: unknown;
23
- id?: number | undefined;
24
- value?: number | undefined;
25
- valueto?: number | undefined;
26
- valuefrom?: number | undefined;
27
- valuetype?: number | undefined;
28
- calendarid?: string | undefined;
29
- servicegroupid?: string | undefined;
30
- }[];
31
- }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
20
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
32
21
  //#endregion
33
22
  export { eterminGetUsermapping };
34
23
  //# sourceMappingURL=get-usermapping.d.mts.map
@@ -3,20 +3,20 @@ import { z } from "zod";
3
3
  //#region src/actions/get-usermapping.ts
4
4
  const EterminGetUsermappingInput = z.object({ searchvalue: z.number().int().describe("Value that needs to be validated by the number search. Omit this parameter to get all usermappings.").optional() }).describe("Request model for retrieving usermapping information from eTermin.\nOptionally filter by a specific search value.");
5
5
  const EterminGetUsermapping_UsermappingSchema = z.object({
6
- id: z.preprocess((value) => value === null ? void 0 : value, z.number().int().describe("Unique identifier for the usermapping").optional()),
7
- value: z.preprocess((value) => value === null ? void 0 : value, z.number().int().describe("Value for the usermapping").optional()),
8
- valueto: z.preprocess((value) => value === null ? void 0 : value, z.number().int().describe("Ending value for the range").optional()),
9
- valuefrom: z.preprocess((value) => value === null ? void 0 : value, z.number().int().describe("Starting value for the range").optional()),
10
- valuetype: z.preprocess((value) => value === null ? void 0 : value, z.number().int().describe("Type of value (e.g., 0 for default type)").optional()),
11
- calendarid: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Calendar ID associated with this usermapping").optional()),
12
- servicegroupid: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Service group ID(s) associated with this usermapping (comma-separated)").optional())
6
+ id: z.number().int().describe("Unique identifier for the usermapping").nullable().optional(),
7
+ value: z.number().int().describe("Value for the usermapping").nullable().optional(),
8
+ valueto: z.number().int().describe("Ending value for the range").nullable().optional(),
9
+ valuefrom: z.number().int().describe("Starting value for the range").nullable().optional(),
10
+ valuetype: z.number().int().describe("Type of value (e.g., 0 for default type)").nullable().optional(),
11
+ calendarid: z.string().describe("Calendar ID associated with this usermapping").nullable().optional(),
12
+ servicegroupid: z.string().describe("Service group ID(s) associated with this usermapping (comma-separated)").nullable().optional()
13
13
  }).passthrough().describe("Model representing a usermapping entry in eTermin.");
14
14
  const eterminGetUsermapping = action("ETERMIN_GET_USERMAPPING", {
15
15
  slug: "etermin-get-usermapping",
16
16
  name: "Get Usermapping",
17
17
  description: "Tool to retrieve usermapping information. Use when you need to get usermapping details or validate number search values.",
18
18
  input: EterminGetUsermappingInput,
19
- output: z.object({ usermappings: z.array(EterminGetUsermapping_UsermappingSchema).describe("List of usermapping entries returned by the eTermin API") }).describe("Response model containing the list of usermapping entries from eTermin.")
19
+ output: z.object({ usermappings: z.array(EterminGetUsermapping_UsermappingSchema).describe("List of usermapping entries returned by the eTermin API") }).passthrough().describe("Response model containing the list of usermapping entries from eTermin.")
20
20
  });
21
21
  //#endregion
22
22
  export { eterminGetUsermapping };
@@ -1 +1 @@
1
- {"version":3,"file":"get-usermapping.mjs","names":[],"sources":["../../src/actions/get-usermapping.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminGetUsermappingInput = z.object({\n searchvalue: z.number().int().describe(\"Value that needs to be validated by the number search. Omit this parameter to get all usermappings.\").optional(),\n}).describe(\"Request model for retrieving usermapping information from eTermin.\\nOptionally filter by a specific search value.\");\nconst EterminGetUsermapping_UsermappingSchema = z.object({\n id: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"Unique identifier for the usermapping\").optional()),\n value: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"Value for the usermapping\").optional()),\n valueto: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"Ending value for the range\").optional()),\n valuefrom: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"Starting value for the range\").optional()),\n valuetype: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"Type of value (e.g., 0 for default type)\").optional()),\n calendarid: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Calendar ID associated with this usermapping\").optional()),\n servicegroupid: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Service group ID(s) associated with this usermapping (comma-separated)\").optional()),\n}).passthrough().describe(\"Model representing a usermapping entry in eTermin.\");\nexport const EterminGetUsermappingOutput = z.object({\n usermappings: z.array(EterminGetUsermapping_UsermappingSchema).describe(\"List of usermapping entries returned by the eTermin API\"),\n}).describe(\"Response model containing the list of usermapping entries from eTermin.\");\n\nexport const eterminGetUsermapping = action(\"ETERMIN_GET_USERMAPPING\", {\n slug: \"etermin-get-usermapping\",\n name: \"Get Usermapping\",\n description: \"Tool to retrieve usermapping information. Use when you need to get usermapping details or validate number search values.\",\n input: EterminGetUsermappingInput,\n output: EterminGetUsermappingOutput,\n});\n"],"mappings":";;;AA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,aAAa;CACb,OAAO;CACP,QATyC,EAAE,OAAO,EAClD,cAAc,EAAE,MAAM,uCAAuC,CAAC,CAAC,SAAS,yDAAyD,EACnI,CAAC,CAAC,CAAC,SAAS,yEAOF;AACV,CAAC"}
1
+ {"version":3,"file":"get-usermapping.mjs","names":[],"sources":["../../src/actions/get-usermapping.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminGetUsermappingInput = z.object({\n searchvalue: z.number().int().describe(\"Value that needs to be validated by the number search. Omit this parameter to get all usermappings.\").optional(),\n}).describe(\"Request model for retrieving usermapping information from eTermin.\\nOptionally filter by a specific search value.\");\nconst EterminGetUsermapping_UsermappingSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the usermapping\").nullable().optional(),\n value: z.number().int().describe(\"Value for the usermapping\").nullable().optional(),\n valueto: z.number().int().describe(\"Ending value for the range\").nullable().optional(),\n valuefrom: z.number().int().describe(\"Starting value for the range\").nullable().optional(),\n valuetype: z.number().int().describe(\"Type of value (e.g., 0 for default type)\").nullable().optional(),\n calendarid: z.string().describe(\"Calendar ID associated with this usermapping\").nullable().optional(),\n servicegroupid: z.string().describe(\"Service group ID(s) associated with this usermapping (comma-separated)\").nullable().optional(),\n}).passthrough().describe(\"Model representing a usermapping entry in eTermin.\");\nexport const EterminGetUsermappingOutput = z.object({\n usermappings: z.array(EterminGetUsermapping_UsermappingSchema).describe(\"List of usermapping entries returned by the eTermin API\"),\n}).passthrough().describe(\"Response model containing the list of usermapping entries from eTermin.\");\n\nexport const eterminGetUsermapping = action(\"ETERMIN_GET_USERMAPPING\", {\n slug: \"etermin-get-usermapping\",\n name: \"Get Usermapping\",\n description: \"Tool to retrieve usermapping information. Use when you need to get usermapping details or validate number search values.\",\n input: EterminGetUsermappingInput,\n output: EterminGetUsermappingOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6B,EAAE,OAAO,EACjD,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS,EACzJ,CAAC,CAAC,CAAC,SAAS,mHAAmH;AAC/H,MAAM,0CAA0C,EAAE,OAAO;CACvD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAAoD;AAK9E,MAAa,wBAAwB,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATyC,EAAE,OAAO,EAClD,cAAc,EAAE,MAAM,uCAAuC,CAAC,CAAC,SAAS,yDAAyD,EACnI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yEAOhB;AACV,CAAC"}
@@ -4,35 +4,35 @@ let zod = require("zod");
4
4
  const EterminGetUsersInput = zod.z.object({}).describe("Request model for retrieving the list of users from eTermin. No parameters required.");
5
5
  const EterminGetUsers_UserSchema = zod.z.object({
6
6
  id: zod.z.string().describe("Unique identifier (UUID) of the user").nullable(),
7
- ll: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Last login timestamp in ISO 8601 format").optional()),
8
- ccs: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.boolean().default(false).describe("Whether the user has CCS permissions").optional()),
9
- crm: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.boolean().default(false).describe("Whether the user has CRM access").optional()),
10
- ilo: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.boolean().default(false).describe("Whether the user is currently logged in").optional()),
11
- sso: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.boolean().default(false).describe("Whether the user has single sign-on enabled").optional()),
12
- admin: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.boolean().default(false).describe("Whether the user has administrator privileges").optional()),
7
+ ll: zod.z.string().describe("Last login timestamp in ISO 8601 format").nullable().optional(),
8
+ ccs: zod.z.boolean().default(false).describe("Whether the user has CCS permissions").nullable().optional(),
9
+ crm: zod.z.boolean().default(false).describe("Whether the user has CRM access").nullable().optional(),
10
+ ilo: zod.z.boolean().default(false).describe("Whether the user is currently logged in").nullable().optional(),
11
+ sso: zod.z.boolean().default(false).describe("Whether the user has single sign-on enabled").nullable().optional(),
12
+ admin: zod.z.boolean().default(false).describe("Whether the user has administrator privileges").nullable().optional(),
13
13
  email: zod.z.string().describe("Email address of the user").nullable(),
14
- "export": zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.boolean().default(false).describe("Whether the user can export data").optional()),
15
- manage: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.boolean().default(false).describe("Whether the user has management permissions").optional()),
16
- comment: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Optional comment or note about the user").optional()),
17
- service: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.boolean().default(false).describe("Whether the user has service permissions").optional()),
18
- calendar: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.boolean().default(false).describe("Whether the user has calendar access").optional()),
19
- settings: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.boolean().default(false).describe("Whether the user can modify settings").optional()),
20
- crmsearch: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.boolean().default(false).describe("Whether the user can search in CRM").optional()),
21
- loginpage: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.number().int().default(0).describe("Login page identifier").optional()),
22
- marketing: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.boolean().default(false).describe("Whether the user has marketing permissions").optional()),
23
- logouttime: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.number().int().default(60).describe("Session timeout in minutes before automatic logout").optional()),
24
- statistics: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.boolean().default(false).describe("Whether the user can view statistics").optional()),
25
- calendaradd: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.boolean().default(false).describe("Whether the user can add calendar entries").optional()),
26
- settingscal: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.boolean().default(false).describe("Whether the user has calendar-specific settings access").optional()),
27
- workingtimes: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.boolean().default(false).describe("Whether the user can manage working times").optional()),
28
- calendarnobulk: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.boolean().default(false).describe("Whether the user is restricted from bulk calendar operations").optional()),
29
- calendarapponly: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.boolean().default(false).describe("Whether the user can only access calendar app").optional()),
30
- calendarreadonly: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.boolean().default(false).describe("Whether the user has read-only calendar access").optional()),
31
- calendarsettings: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.boolean().default(false).describe("Whether the user can modify calendar settings").optional()),
32
- settingssynconly: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.boolean().default(false).describe("Whether the user can only sync settings").optional()),
33
- calendarwriteonly: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.boolean().default(false).describe("Whether the user has write-only calendar access").optional())
34
- }).describe("Represents a user in the eTermin system with their permissions and settings.");
35
- const EterminGetUsersOutput = zod.z.object({ users: zod.z.array(EterminGetUsers_UserSchema).describe("List of user objects with their permissions and settings") }).describe("Response model containing the list of users in the eTermin account.");
14
+ "export": zod.z.boolean().default(false).describe("Whether the user can export data").nullable().optional(),
15
+ manage: zod.z.boolean().default(false).describe("Whether the user has management permissions").nullable().optional(),
16
+ comment: zod.z.string().describe("Optional comment or note about the user").nullable().optional(),
17
+ service: zod.z.boolean().default(false).describe("Whether the user has service permissions").nullable().optional(),
18
+ calendar: zod.z.boolean().default(false).describe("Whether the user has calendar access").nullable().optional(),
19
+ settings: zod.z.boolean().default(false).describe("Whether the user can modify settings").nullable().optional(),
20
+ crmsearch: zod.z.boolean().default(false).describe("Whether the user can search in CRM").nullable().optional(),
21
+ loginpage: zod.z.number().int().default(0).describe("Login page identifier").nullable().optional(),
22
+ marketing: zod.z.boolean().default(false).describe("Whether the user has marketing permissions").nullable().optional(),
23
+ logouttime: zod.z.number().int().default(60).describe("Session timeout in minutes before automatic logout").nullable().optional(),
24
+ statistics: zod.z.boolean().default(false).describe("Whether the user can view statistics").nullable().optional(),
25
+ calendaradd: zod.z.boolean().default(false).describe("Whether the user can add calendar entries").nullable().optional(),
26
+ settingscal: zod.z.boolean().default(false).describe("Whether the user has calendar-specific settings access").nullable().optional(),
27
+ workingtimes: zod.z.boolean().default(false).describe("Whether the user can manage working times").nullable().optional(),
28
+ calendarnobulk: zod.z.boolean().default(false).describe("Whether the user is restricted from bulk calendar operations").nullable().optional(),
29
+ calendarapponly: zod.z.boolean().default(false).describe("Whether the user can only access calendar app").nullable().optional(),
30
+ calendarreadonly: zod.z.boolean().default(false).describe("Whether the user has read-only calendar access").nullable().optional(),
31
+ calendarsettings: zod.z.boolean().default(false).describe("Whether the user can modify calendar settings").nullable().optional(),
32
+ settingssynconly: zod.z.boolean().default(false).describe("Whether the user can only sync settings").nullable().optional(),
33
+ calendarwriteonly: zod.z.boolean().default(false).describe("Whether the user has write-only calendar access").nullable().optional()
34
+ }).passthrough().describe("Represents a user in the eTermin system with their permissions and settings.");
35
+ const EterminGetUsersOutput = zod.z.object({ users: zod.z.array(EterminGetUsers_UserSchema).describe("List of user objects with their permissions and settings") }).passthrough().describe("Response model containing the list of users in the eTermin account.");
36
36
  const eterminGetUsers = require_action.action("ETERMIN_GET_USERS", {
37
37
  slug: "etermin-get-users",
38
38
  name: "Get Users",
@@ -1 +1 @@
1
- {"version":3,"file":"get-users.cjs","names":["z","action"],"sources":["../../src/actions/get-users.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminGetUsersInput = z.object({}).describe(\"Request model for retrieving the list of users from eTermin. No parameters required.\");\nconst EterminGetUsers_UserSchema = z.object({\n id: z.string().describe(\"Unique identifier (UUID) of the user\").nullable(),\n ll: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Last login timestamp in ISO 8601 format\").optional()),\n ccs: z.preprocess((value) => (value === null ? undefined : value), z.boolean().default(false).describe(\"Whether the user has CCS permissions\").optional()),\n crm: z.preprocess((value) => (value === null ? undefined : value), z.boolean().default(false).describe(\"Whether the user has CRM access\").optional()),\n ilo: z.preprocess((value) => (value === null ? undefined : value), z.boolean().default(false).describe(\"Whether the user is currently logged in\").optional()),\n sso: z.preprocess((value) => (value === null ? undefined : value), z.boolean().default(false).describe(\"Whether the user has single sign-on enabled\").optional()),\n admin: z.preprocess((value) => (value === null ? undefined : value), z.boolean().default(false).describe(\"Whether the user has administrator privileges\").optional()),\n email: z.string().describe(\"Email address of the user\").nullable(),\n \"export\": z.preprocess((value) => (value === null ? undefined : value), z.boolean().default(false).describe(\"Whether the user can export data\").optional()),\n manage: z.preprocess((value) => (value === null ? undefined : value), z.boolean().default(false).describe(\"Whether the user has management permissions\").optional()),\n comment: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Optional comment or note about the user\").optional()),\n service: z.preprocess((value) => (value === null ? undefined : value), z.boolean().default(false).describe(\"Whether the user has service permissions\").optional()),\n calendar: z.preprocess((value) => (value === null ? undefined : value), z.boolean().default(false).describe(\"Whether the user has calendar access\").optional()),\n settings: z.preprocess((value) => (value === null ? undefined : value), z.boolean().default(false).describe(\"Whether the user can modify settings\").optional()),\n crmsearch: z.preprocess((value) => (value === null ? undefined : value), z.boolean().default(false).describe(\"Whether the user can search in CRM\").optional()),\n loginpage: z.preprocess((value) => (value === null ? undefined : value), z.number().int().default(0).describe(\"Login page identifier\").optional()),\n marketing: z.preprocess((value) => (value === null ? undefined : value), z.boolean().default(false).describe(\"Whether the user has marketing permissions\").optional()),\n logouttime: z.preprocess((value) => (value === null ? undefined : value), z.number().int().default(60).describe(\"Session timeout in minutes before automatic logout\").optional()),\n statistics: z.preprocess((value) => (value === null ? undefined : value), z.boolean().default(false).describe(\"Whether the user can view statistics\").optional()),\n calendaradd: z.preprocess((value) => (value === null ? undefined : value), z.boolean().default(false).describe(\"Whether the user can add calendar entries\").optional()),\n settingscal: z.preprocess((value) => (value === null ? undefined : value), z.boolean().default(false).describe(\"Whether the user has calendar-specific settings access\").optional()),\n workingtimes: z.preprocess((value) => (value === null ? undefined : value), z.boolean().default(false).describe(\"Whether the user can manage working times\").optional()),\n calendarnobulk: z.preprocess((value) => (value === null ? undefined : value), z.boolean().default(false).describe(\"Whether the user is restricted from bulk calendar operations\").optional()),\n calendarapponly: z.preprocess((value) => (value === null ? undefined : value), z.boolean().default(false).describe(\"Whether the user can only access calendar app\").optional()),\n calendarreadonly: z.preprocess((value) => (value === null ? undefined : value), z.boolean().default(false).describe(\"Whether the user has read-only calendar access\").optional()),\n calendarsettings: z.preprocess((value) => (value === null ? undefined : value), z.boolean().default(false).describe(\"Whether the user can modify calendar settings\").optional()),\n settingssynconly: z.preprocess((value) => (value === null ? undefined : value), z.boolean().default(false).describe(\"Whether the user can only sync settings\").optional()),\n calendarwriteonly: z.preprocess((value) => (value === null ? undefined : value), z.boolean().default(false).describe(\"Whether the user has write-only calendar access\").optional()),\n}).describe(\"Represents a user in the eTermin system with their permissions and settings.\");\nexport const EterminGetUsersOutput = z.object({\n users: z.array(EterminGetUsers_UserSchema).describe(\"List of user objects with their permissions and settings\"),\n}).describe(\"Response model containing the list of users in the eTermin account.\");\n\nexport const eterminGetUsers = action(\"ETERMIN_GET_USERS\", {\n slug: \"etermin-get-users\",\n name: \"Get Users\",\n description: \"Tool to retrieve a list of users. Use when you need to list all users in your eTermin account.\",\n input: EterminGetUsersInput,\n output: EterminGetUsersOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uBAAuBA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,sFAAsF;AAChJ,MAAM,6BAA6BA,IAAAA,EAAE,OAAO;CAC1C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CACzE,IAAIA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC;CAC3I,KAAKA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC;CACzJ,KAAKA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC;CACpJ,KAAKA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC;CAC5J,KAAKA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,QAA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EAChH,CAAC,CAAC,CAAC,SAAS,qEAAqE;AAEjF,MAAa,kBAAkBC,eAAAA,OAAO,qBAAqB;CACzD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-users.cjs","names":["z","action"],"sources":["../../src/actions/get-users.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminGetUsersInput = z.object({}).describe(\"Request model for retrieving the list of users from eTermin. No parameters required.\");\nconst EterminGetUsers_UserSchema = z.object({\n id: z.string().describe(\"Unique identifier (UUID) of the user\").nullable(),\n ll: z.string().describe(\"Last login timestamp in ISO 8601 format\").nullable().optional(),\n ccs: z.boolean().default(false).describe(\"Whether the user has CCS permissions\").nullable().optional(),\n crm: z.boolean().default(false).describe(\"Whether the user has CRM access\").nullable().optional(),\n ilo: z.boolean().default(false).describe(\"Whether the user is currently logged in\").nullable().optional(),\n sso: z.boolean().default(false).describe(\"Whether the user has single sign-on enabled\").nullable().optional(),\n admin: z.boolean().default(false).describe(\"Whether the user has administrator privileges\").nullable().optional(),\n email: z.string().describe(\"Email address of the user\").nullable(),\n \"export\": z.boolean().default(false).describe(\"Whether the user can export data\").nullable().optional(),\n manage: z.boolean().default(false).describe(\"Whether the user has management permissions\").nullable().optional(),\n comment: z.string().describe(\"Optional comment or note about the user\").nullable().optional(),\n service: z.boolean().default(false).describe(\"Whether the user has service permissions\").nullable().optional(),\n calendar: z.boolean().default(false).describe(\"Whether the user has calendar access\").nullable().optional(),\n settings: z.boolean().default(false).describe(\"Whether the user can modify settings\").nullable().optional(),\n crmsearch: z.boolean().default(false).describe(\"Whether the user can search in CRM\").nullable().optional(),\n loginpage: z.number().int().default(0).describe(\"Login page identifier\").nullable().optional(),\n marketing: z.boolean().default(false).describe(\"Whether the user has marketing permissions\").nullable().optional(),\n logouttime: z.number().int().default(60).describe(\"Session timeout in minutes before automatic logout\").nullable().optional(),\n statistics: z.boolean().default(false).describe(\"Whether the user can view statistics\").nullable().optional(),\n calendaradd: z.boolean().default(false).describe(\"Whether the user can add calendar entries\").nullable().optional(),\n settingscal: z.boolean().default(false).describe(\"Whether the user has calendar-specific settings access\").nullable().optional(),\n workingtimes: z.boolean().default(false).describe(\"Whether the user can manage working times\").nullable().optional(),\n calendarnobulk: z.boolean().default(false).describe(\"Whether the user is restricted from bulk calendar operations\").nullable().optional(),\n calendarapponly: z.boolean().default(false).describe(\"Whether the user can only access calendar app\").nullable().optional(),\n calendarreadonly: z.boolean().default(false).describe(\"Whether the user has read-only calendar access\").nullable().optional(),\n calendarsettings: z.boolean().default(false).describe(\"Whether the user can modify calendar settings\").nullable().optional(),\n settingssynconly: z.boolean().default(false).describe(\"Whether the user can only sync settings\").nullable().optional(),\n calendarwriteonly: z.boolean().default(false).describe(\"Whether the user has write-only calendar access\").nullable().optional(),\n}).passthrough().describe(\"Represents a user in the eTermin system with their permissions and settings.\");\nexport const EterminGetUsersOutput = z.object({\n users: z.array(EterminGetUsers_UserSchema).describe(\"List of user objects with their permissions and settings\"),\n}).passthrough().describe(\"Response model containing the list of users in the eTermin account.\");\n\nexport const eterminGetUsers = action(\"ETERMIN_GET_USERS\", {\n slug: \"etermin-get-users\",\n name: \"Get Users\",\n description: \"Tool to retrieve a list of users. Use when you need to list all users in your eTermin account.\",\n input: EterminGetUsersInput,\n output: EterminGetUsersOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uBAAuBA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,sFAAsF;AAChJ,MAAM,6BAA6BA,IAAAA,EAAE,OAAO;CAC1C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CACzE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,KAAKA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK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AAS;CACxI,iBAAiBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1H,kBAAkBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5H,kBAAkBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3H,kBAAkBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrH,mBAAmBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8EAA8E;AACxG,MAAa,wBAAwBA,IAAAA,EAAE,OAAO,EAC5C,OAAOA,IAAAA,EAAE,MAAM,0BAA0B,CAAC,CAAC,SAAS,0DAA0D,EAChH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qEAAqE;AAE/F,MAAa,kBAAkBC,eAAAA,OAAO,qBAAqB;CACzD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -5,67 +5,36 @@ declare const EterminGetUsersInput: z.ZodObject<{}, z.core.$strip>;
5
5
  declare const EterminGetUsersOutput: z.ZodObject<{
6
6
  users: z.ZodArray<z.ZodObject<{
7
7
  id: z.ZodNullable<z.ZodString>;
8
- ll: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
9
- ccs: z.ZodPreprocess<z.ZodOptional<z.ZodDefault<z.ZodBoolean>>>;
10
- crm: z.ZodPreprocess<z.ZodOptional<z.ZodDefault<z.ZodBoolean>>>;
11
- ilo: z.ZodPreprocess<z.ZodOptional<z.ZodDefault<z.ZodBoolean>>>;
12
- sso: z.ZodPreprocess<z.ZodOptional<z.ZodDefault<z.ZodBoolean>>>;
13
- admin: z.ZodPreprocess<z.ZodOptional<z.ZodDefault<z.ZodBoolean>>>;
8
+ ll: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9
+ ccs: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
10
+ crm: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
11
+ ilo: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
12
+ sso: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
13
+ admin: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
14
14
  email: z.ZodNullable<z.ZodString>;
15
- export: z.ZodPreprocess<z.ZodOptional<z.ZodDefault<z.ZodBoolean>>>;
16
- manage: z.ZodPreprocess<z.ZodOptional<z.ZodDefault<z.ZodBoolean>>>;
17
- comment: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
18
- service: z.ZodPreprocess<z.ZodOptional<z.ZodDefault<z.ZodBoolean>>>;
19
- calendar: z.ZodPreprocess<z.ZodOptional<z.ZodDefault<z.ZodBoolean>>>;
20
- settings: z.ZodPreprocess<z.ZodOptional<z.ZodDefault<z.ZodBoolean>>>;
21
- crmsearch: z.ZodPreprocess<z.ZodOptional<z.ZodDefault<z.ZodBoolean>>>;
22
- loginpage: z.ZodPreprocess<z.ZodOptional<z.ZodDefault<z.ZodNumber>>>;
23
- marketing: z.ZodPreprocess<z.ZodOptional<z.ZodDefault<z.ZodBoolean>>>;
24
- logouttime: z.ZodPreprocess<z.ZodOptional<z.ZodDefault<z.ZodNumber>>>;
25
- statistics: z.ZodPreprocess<z.ZodOptional<z.ZodDefault<z.ZodBoolean>>>;
26
- calendaradd: z.ZodPreprocess<z.ZodOptional<z.ZodDefault<z.ZodBoolean>>>;
27
- settingscal: z.ZodPreprocess<z.ZodOptional<z.ZodDefault<z.ZodBoolean>>>;
28
- workingtimes: z.ZodPreprocess<z.ZodOptional<z.ZodDefault<z.ZodBoolean>>>;
29
- calendarnobulk: z.ZodPreprocess<z.ZodOptional<z.ZodDefault<z.ZodBoolean>>>;
30
- calendarapponly: z.ZodPreprocess<z.ZodOptional<z.ZodDefault<z.ZodBoolean>>>;
31
- calendarreadonly: z.ZodPreprocess<z.ZodOptional<z.ZodDefault<z.ZodBoolean>>>;
32
- calendarsettings: z.ZodPreprocess<z.ZodOptional<z.ZodDefault<z.ZodBoolean>>>;
33
- settingssynconly: z.ZodPreprocess<z.ZodOptional<z.ZodDefault<z.ZodBoolean>>>;
34
- calendarwriteonly: z.ZodPreprocess<z.ZodOptional<z.ZodDefault<z.ZodBoolean>>>;
35
- }, z.core.$strip>>;
36
- }, z.core.$strip>;
37
- declare const eterminGetUsers: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, {
38
- users: {
39
- id: string | null;
40
- email: string | null;
41
- ll?: string | undefined;
42
- ccs?: boolean | undefined;
43
- crm?: boolean | undefined;
44
- ilo?: boolean | undefined;
45
- sso?: boolean | undefined;
46
- admin?: boolean | undefined;
47
- export?: boolean | undefined;
48
- manage?: boolean | undefined;
49
- comment?: string | undefined;
50
- service?: boolean | undefined;
51
- calendar?: boolean | undefined;
52
- settings?: boolean | undefined;
53
- crmsearch?: boolean | undefined;
54
- loginpage?: number | undefined;
55
- marketing?: boolean | undefined;
56
- logouttime?: number | undefined;
57
- statistics?: boolean | undefined;
58
- calendaradd?: boolean | undefined;
59
- settingscal?: boolean | undefined;
60
- workingtimes?: boolean | undefined;
61
- calendarnobulk?: boolean | undefined;
62
- calendarapponly?: boolean | undefined;
63
- calendarreadonly?: boolean | undefined;
64
- calendarsettings?: boolean | undefined;
65
- settingssynconly?: boolean | undefined;
66
- calendarwriteonly?: boolean | undefined;
67
- }[];
68
- }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
15
+ export: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
16
+ manage: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
17
+ comment: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
+ service: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
19
+ calendar: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
20
+ settings: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
21
+ crmsearch: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
22
+ loginpage: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>;
23
+ marketing: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
24
+ logouttime: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>;
25
+ statistics: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
26
+ calendaradd: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
27
+ settingscal: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
28
+ workingtimes: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
29
+ calendarnobulk: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
30
+ calendarapponly: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
31
+ calendarreadonly: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
32
+ calendarsettings: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
33
+ settingssynconly: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
34
+ calendarwriteonly: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
35
+ }, z.core.$loose>>;
36
+ }, z.core.$loose>;
37
+ declare const eterminGetUsers: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
69
38
  //#endregion
70
39
  export { eterminGetUsers };
71
40
  //# sourceMappingURL=get-users.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-users.d.cts","names":[],"sources":["../../src/actions/get-users.ts"],"mappings":";;;cAIa,oBAAA,EAAoB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cA+BpB,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAIrB,eAAA,gCAAe,wBAAA,CAAA,MAAA"}
1
+ {"version":3,"file":"get-users.d.cts","names":[],"sources":["../../src/actions/get-users.ts"],"mappings":";;;cAIa,oBAAA,EAAoB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cA+BpB,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAIrB,eAAA,gCAAe,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -5,67 +5,36 @@ declare const EterminGetUsersInput: z.ZodObject<{}, z.core.$strip>;
5
5
  declare const EterminGetUsersOutput: z.ZodObject<{
6
6
  users: z.ZodArray<z.ZodObject<{
7
7
  id: z.ZodNullable<z.ZodString>;
8
- ll: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
9
- ccs: z.ZodPreprocess<z.ZodOptional<z.ZodDefault<z.ZodBoolean>>>;
10
- crm: z.ZodPreprocess<z.ZodOptional<z.ZodDefault<z.ZodBoolean>>>;
11
- ilo: z.ZodPreprocess<z.ZodOptional<z.ZodDefault<z.ZodBoolean>>>;
12
- sso: z.ZodPreprocess<z.ZodOptional<z.ZodDefault<z.ZodBoolean>>>;
13
- admin: z.ZodPreprocess<z.ZodOptional<z.ZodDefault<z.ZodBoolean>>>;
8
+ ll: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9
+ ccs: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
10
+ crm: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
11
+ ilo: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
12
+ sso: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
13
+ admin: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
14
14
  email: z.ZodNullable<z.ZodString>;
15
- export: z.ZodPreprocess<z.ZodOptional<z.ZodDefault<z.ZodBoolean>>>;
16
- manage: z.ZodPreprocess<z.ZodOptional<z.ZodDefault<z.ZodBoolean>>>;
17
- comment: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
18
- service: z.ZodPreprocess<z.ZodOptional<z.ZodDefault<z.ZodBoolean>>>;
19
- calendar: z.ZodPreprocess<z.ZodOptional<z.ZodDefault<z.ZodBoolean>>>;
20
- settings: z.ZodPreprocess<z.ZodOptional<z.ZodDefault<z.ZodBoolean>>>;
21
- crmsearch: z.ZodPreprocess<z.ZodOptional<z.ZodDefault<z.ZodBoolean>>>;
22
- loginpage: z.ZodPreprocess<z.ZodOptional<z.ZodDefault<z.ZodNumber>>>;
23
- marketing: z.ZodPreprocess<z.ZodOptional<z.ZodDefault<z.ZodBoolean>>>;
24
- logouttime: z.ZodPreprocess<z.ZodOptional<z.ZodDefault<z.ZodNumber>>>;
25
- statistics: z.ZodPreprocess<z.ZodOptional<z.ZodDefault<z.ZodBoolean>>>;
26
- calendaradd: z.ZodPreprocess<z.ZodOptional<z.ZodDefault<z.ZodBoolean>>>;
27
- settingscal: z.ZodPreprocess<z.ZodOptional<z.ZodDefault<z.ZodBoolean>>>;
28
- workingtimes: z.ZodPreprocess<z.ZodOptional<z.ZodDefault<z.ZodBoolean>>>;
29
- calendarnobulk: z.ZodPreprocess<z.ZodOptional<z.ZodDefault<z.ZodBoolean>>>;
30
- calendarapponly: z.ZodPreprocess<z.ZodOptional<z.ZodDefault<z.ZodBoolean>>>;
31
- calendarreadonly: z.ZodPreprocess<z.ZodOptional<z.ZodDefault<z.ZodBoolean>>>;
32
- calendarsettings: z.ZodPreprocess<z.ZodOptional<z.ZodDefault<z.ZodBoolean>>>;
33
- settingssynconly: z.ZodPreprocess<z.ZodOptional<z.ZodDefault<z.ZodBoolean>>>;
34
- calendarwriteonly: z.ZodPreprocess<z.ZodOptional<z.ZodDefault<z.ZodBoolean>>>;
35
- }, z.core.$strip>>;
36
- }, z.core.$strip>;
37
- declare const eterminGetUsers: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, {
38
- users: {
39
- id: string | null;
40
- email: string | null;
41
- ll?: string | undefined;
42
- ccs?: boolean | undefined;
43
- crm?: boolean | undefined;
44
- ilo?: boolean | undefined;
45
- sso?: boolean | undefined;
46
- admin?: boolean | undefined;
47
- export?: boolean | undefined;
48
- manage?: boolean | undefined;
49
- comment?: string | undefined;
50
- service?: boolean | undefined;
51
- calendar?: boolean | undefined;
52
- settings?: boolean | undefined;
53
- crmsearch?: boolean | undefined;
54
- loginpage?: number | undefined;
55
- marketing?: boolean | undefined;
56
- logouttime?: number | undefined;
57
- statistics?: boolean | undefined;
58
- calendaradd?: boolean | undefined;
59
- settingscal?: boolean | undefined;
60
- workingtimes?: boolean | undefined;
61
- calendarnobulk?: boolean | undefined;
62
- calendarapponly?: boolean | undefined;
63
- calendarreadonly?: boolean | undefined;
64
- calendarsettings?: boolean | undefined;
65
- settingssynconly?: boolean | undefined;
66
- calendarwriteonly?: boolean | undefined;
67
- }[];
68
- }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
15
+ export: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
16
+ manage: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
17
+ comment: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
+ service: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
19
+ calendar: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
20
+ settings: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
21
+ crmsearch: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
22
+ loginpage: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>;
23
+ marketing: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
24
+ logouttime: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>;
25
+ statistics: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
26
+ calendaradd: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
27
+ settingscal: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
28
+ workingtimes: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
29
+ calendarnobulk: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
30
+ calendarapponly: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
31
+ calendarreadonly: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
32
+ calendarsettings: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
33
+ settingssynconly: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
34
+ calendarwriteonly: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
35
+ }, z.core.$loose>>;
36
+ }, z.core.$loose>;
37
+ declare const eterminGetUsers: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
69
38
  //#endregion
70
39
  export { eterminGetUsers };
71
40
  //# sourceMappingURL=get-users.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-users.d.mts","names":[],"sources":["../../src/actions/get-users.ts"],"mappings":";;;cAIa,oBAAA,EAAoB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cA+BpB,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAIrB,eAAA,gCAAe,wBAAA,CAAA,MAAA"}
1
+ {"version":3,"file":"get-users.d.mts","names":[],"sources":["../../src/actions/get-users.ts"],"mappings":";;;cAIa,oBAAA,EAAoB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cA+BpB,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAIrB,eAAA,gCAAe,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -4,40 +4,40 @@ import { z } from "zod";
4
4
  const EterminGetUsersInput = z.object({}).describe("Request model for retrieving the list of users from eTermin. No parameters required.");
5
5
  const EterminGetUsers_UserSchema = z.object({
6
6
  id: z.string().describe("Unique identifier (UUID) of the user").nullable(),
7
- ll: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Last login timestamp in ISO 8601 format").optional()),
8
- ccs: z.preprocess((value) => value === null ? void 0 : value, z.boolean().default(false).describe("Whether the user has CCS permissions").optional()),
9
- crm: z.preprocess((value) => value === null ? void 0 : value, z.boolean().default(false).describe("Whether the user has CRM access").optional()),
10
- ilo: z.preprocess((value) => value === null ? void 0 : value, z.boolean().default(false).describe("Whether the user is currently logged in").optional()),
11
- sso: z.preprocess((value) => value === null ? void 0 : value, z.boolean().default(false).describe("Whether the user has single sign-on enabled").optional()),
12
- admin: z.preprocess((value) => value === null ? void 0 : value, z.boolean().default(false).describe("Whether the user has administrator privileges").optional()),
7
+ ll: z.string().describe("Last login timestamp in ISO 8601 format").nullable().optional(),
8
+ ccs: z.boolean().default(false).describe("Whether the user has CCS permissions").nullable().optional(),
9
+ crm: z.boolean().default(false).describe("Whether the user has CRM access").nullable().optional(),
10
+ ilo: z.boolean().default(false).describe("Whether the user is currently logged in").nullable().optional(),
11
+ sso: z.boolean().default(false).describe("Whether the user has single sign-on enabled").nullable().optional(),
12
+ admin: z.boolean().default(false).describe("Whether the user has administrator privileges").nullable().optional(),
13
13
  email: z.string().describe("Email address of the user").nullable(),
14
- "export": z.preprocess((value) => value === null ? void 0 : value, z.boolean().default(false).describe("Whether the user can export data").optional()),
15
- manage: z.preprocess((value) => value === null ? void 0 : value, z.boolean().default(false).describe("Whether the user has management permissions").optional()),
16
- comment: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Optional comment or note about the user").optional()),
17
- service: z.preprocess((value) => value === null ? void 0 : value, z.boolean().default(false).describe("Whether the user has service permissions").optional()),
18
- calendar: z.preprocess((value) => value === null ? void 0 : value, z.boolean().default(false).describe("Whether the user has calendar access").optional()),
19
- settings: z.preprocess((value) => value === null ? void 0 : value, z.boolean().default(false).describe("Whether the user can modify settings").optional()),
20
- crmsearch: z.preprocess((value) => value === null ? void 0 : value, z.boolean().default(false).describe("Whether the user can search in CRM").optional()),
21
- loginpage: z.preprocess((value) => value === null ? void 0 : value, z.number().int().default(0).describe("Login page identifier").optional()),
22
- marketing: z.preprocess((value) => value === null ? void 0 : value, z.boolean().default(false).describe("Whether the user has marketing permissions").optional()),
23
- logouttime: z.preprocess((value) => value === null ? void 0 : value, z.number().int().default(60).describe("Session timeout in minutes before automatic logout").optional()),
24
- statistics: z.preprocess((value) => value === null ? void 0 : value, z.boolean().default(false).describe("Whether the user can view statistics").optional()),
25
- calendaradd: z.preprocess((value) => value === null ? void 0 : value, z.boolean().default(false).describe("Whether the user can add calendar entries").optional()),
26
- settingscal: z.preprocess((value) => value === null ? void 0 : value, z.boolean().default(false).describe("Whether the user has calendar-specific settings access").optional()),
27
- workingtimes: z.preprocess((value) => value === null ? void 0 : value, z.boolean().default(false).describe("Whether the user can manage working times").optional()),
28
- calendarnobulk: z.preprocess((value) => value === null ? void 0 : value, z.boolean().default(false).describe("Whether the user is restricted from bulk calendar operations").optional()),
29
- calendarapponly: z.preprocess((value) => value === null ? void 0 : value, z.boolean().default(false).describe("Whether the user can only access calendar app").optional()),
30
- calendarreadonly: z.preprocess((value) => value === null ? void 0 : value, z.boolean().default(false).describe("Whether the user has read-only calendar access").optional()),
31
- calendarsettings: z.preprocess((value) => value === null ? void 0 : value, z.boolean().default(false).describe("Whether the user can modify calendar settings").optional()),
32
- settingssynconly: z.preprocess((value) => value === null ? void 0 : value, z.boolean().default(false).describe("Whether the user can only sync settings").optional()),
33
- calendarwriteonly: z.preprocess((value) => value === null ? void 0 : value, z.boolean().default(false).describe("Whether the user has write-only calendar access").optional())
34
- }).describe("Represents a user in the eTermin system with their permissions and settings.");
14
+ "export": z.boolean().default(false).describe("Whether the user can export data").nullable().optional(),
15
+ manage: z.boolean().default(false).describe("Whether the user has management permissions").nullable().optional(),
16
+ comment: z.string().describe("Optional comment or note about the user").nullable().optional(),
17
+ service: z.boolean().default(false).describe("Whether the user has service permissions").nullable().optional(),
18
+ calendar: z.boolean().default(false).describe("Whether the user has calendar access").nullable().optional(),
19
+ settings: z.boolean().default(false).describe("Whether the user can modify settings").nullable().optional(),
20
+ crmsearch: z.boolean().default(false).describe("Whether the user can search in CRM").nullable().optional(),
21
+ loginpage: z.number().int().default(0).describe("Login page identifier").nullable().optional(),
22
+ marketing: z.boolean().default(false).describe("Whether the user has marketing permissions").nullable().optional(),
23
+ logouttime: z.number().int().default(60).describe("Session timeout in minutes before automatic logout").nullable().optional(),
24
+ statistics: z.boolean().default(false).describe("Whether the user can view statistics").nullable().optional(),
25
+ calendaradd: z.boolean().default(false).describe("Whether the user can add calendar entries").nullable().optional(),
26
+ settingscal: z.boolean().default(false).describe("Whether the user has calendar-specific settings access").nullable().optional(),
27
+ workingtimes: z.boolean().default(false).describe("Whether the user can manage working times").nullable().optional(),
28
+ calendarnobulk: z.boolean().default(false).describe("Whether the user is restricted from bulk calendar operations").nullable().optional(),
29
+ calendarapponly: z.boolean().default(false).describe("Whether the user can only access calendar app").nullable().optional(),
30
+ calendarreadonly: z.boolean().default(false).describe("Whether the user has read-only calendar access").nullable().optional(),
31
+ calendarsettings: z.boolean().default(false).describe("Whether the user can modify calendar settings").nullable().optional(),
32
+ settingssynconly: z.boolean().default(false).describe("Whether the user can only sync settings").nullable().optional(),
33
+ calendarwriteonly: z.boolean().default(false).describe("Whether the user has write-only calendar access").nullable().optional()
34
+ }).passthrough().describe("Represents a user in the eTermin system with their permissions and settings.");
35
35
  const eterminGetUsers = action("ETERMIN_GET_USERS", {
36
36
  slug: "etermin-get-users",
37
37
  name: "Get Users",
38
38
  description: "Tool to retrieve a list of users. Use when you need to list all users in your eTermin account.",
39
39
  input: EterminGetUsersInput,
40
- output: z.object({ users: z.array(EterminGetUsers_UserSchema).describe("List of user objects with their permissions and settings") }).describe("Response model containing the list of users in the eTermin account.")
40
+ output: z.object({ users: z.array(EterminGetUsers_UserSchema).describe("List of user objects with their permissions and settings") }).passthrough().describe("Response model containing the list of users in the eTermin account.")
41
41
  });
42
42
  //#endregion
43
43
  export { eterminGetUsers };
@@ -1 +1 @@
1
- {"version":3,"file":"get-users.mjs","names":[],"sources":["../../src/actions/get-users.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminGetUsersInput = z.object({}).describe(\"Request model for retrieving the list of users from eTermin. No parameters required.\");\nconst EterminGetUsers_UserSchema = z.object({\n id: z.string().describe(\"Unique identifier (UUID) of the user\").nullable(),\n ll: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Last login timestamp in ISO 8601 format\").optional()),\n ccs: z.preprocess((value) => (value === null ? undefined : value), z.boolean().default(false).describe(\"Whether the user has CCS permissions\").optional()),\n crm: z.preprocess((value) => (value === null ? undefined : value), z.boolean().default(false).describe(\"Whether the user has CRM access\").optional()),\n ilo: z.preprocess((value) => (value === null ? undefined : value), z.boolean().default(false).describe(\"Whether the user is currently logged in\").optional()),\n sso: z.preprocess((value) => (value === null ? undefined : value), z.boolean().default(false).describe(\"Whether the user has single sign-on enabled\").optional()),\n admin: z.preprocess((value) => (value === null ? undefined : value), z.boolean().default(false).describe(\"Whether the user has administrator privileges\").optional()),\n email: z.string().describe(\"Email address of the user\").nullable(),\n \"export\": z.preprocess((value) => (value === null ? undefined : value), z.boolean().default(false).describe(\"Whether the user can export data\").optional()),\n manage: z.preprocess((value) => (value === null ? undefined : value), z.boolean().default(false).describe(\"Whether the user has management permissions\").optional()),\n comment: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Optional comment or note about the user\").optional()),\n service: z.preprocess((value) => (value === null ? undefined : value), z.boolean().default(false).describe(\"Whether the user has service permissions\").optional()),\n calendar: z.preprocess((value) => (value === null ? undefined : value), z.boolean().default(false).describe(\"Whether the user has calendar access\").optional()),\n settings: z.preprocess((value) => (value === null ? undefined : value), z.boolean().default(false).describe(\"Whether the user can modify settings\").optional()),\n crmsearch: z.preprocess((value) => (value === null ? undefined : value), z.boolean().default(false).describe(\"Whether the user can search in CRM\").optional()),\n loginpage: z.preprocess((value) => (value === null ? undefined : value), z.number().int().default(0).describe(\"Login page identifier\").optional()),\n marketing: z.preprocess((value) => (value === null ? undefined : value), z.boolean().default(false).describe(\"Whether the user has marketing permissions\").optional()),\n logouttime: z.preprocess((value) => (value === null ? undefined : value), z.number().int().default(60).describe(\"Session timeout in minutes before automatic logout\").optional()),\n statistics: z.preprocess((value) => (value === null ? undefined : value), z.boolean().default(false).describe(\"Whether the user can view statistics\").optional()),\n calendaradd: z.preprocess((value) => (value === null ? undefined : value), z.boolean().default(false).describe(\"Whether the user can add calendar entries\").optional()),\n settingscal: z.preprocess((value) => (value === null ? undefined : value), z.boolean().default(false).describe(\"Whether the user has calendar-specific settings access\").optional()),\n workingtimes: z.preprocess((value) => (value === null ? undefined : value), z.boolean().default(false).describe(\"Whether the user can manage working times\").optional()),\n calendarnobulk: z.preprocess((value) => (value === null ? undefined : value), z.boolean().default(false).describe(\"Whether the user is restricted from bulk calendar operations\").optional()),\n calendarapponly: z.preprocess((value) => (value === null ? undefined : value), z.boolean().default(false).describe(\"Whether the user can only access calendar app\").optional()),\n calendarreadonly: z.preprocess((value) => (value === null ? undefined : value), z.boolean().default(false).describe(\"Whether the user has read-only calendar access\").optional()),\n calendarsettings: z.preprocess((value) => (value === null ? undefined : value), z.boolean().default(false).describe(\"Whether the user can modify calendar settings\").optional()),\n settingssynconly: z.preprocess((value) => (value === null ? undefined : value), z.boolean().default(false).describe(\"Whether the user can only sync settings\").optional()),\n calendarwriteonly: z.preprocess((value) => (value === null ? undefined : value), z.boolean().default(false).describe(\"Whether the user has write-only calendar access\").optional()),\n}).describe(\"Represents a user in the eTermin system with their permissions and settings.\");\nexport const EterminGetUsersOutput = z.object({\n users: z.array(EterminGetUsers_UserSchema).describe(\"List of user objects with their permissions and settings\"),\n}).describe(\"Response model containing the list of users in the eTermin account.\");\n\nexport const eterminGetUsers = action(\"ETERMIN_GET_USERS\", {\n slug: \"etermin-get-users\",\n name: \"Get Users\",\n description: \"Tool to retrieve a list of users. Use when you need to list all users in your eTermin account.\",\n input: EterminGetUsersInput,\n output: EterminGetUsersOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uBAAuB,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,sFAAsF;AAChJ,MAAM,6BAA6B,EAAE,OAAO;CAC1C,IAAI,EAAE,OAAO,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AS,yCAAyC,CAAC,CAAC,SAAS,CAAC;CACzK,mBAAmB,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC;AACpL,CAAC,CAAC,CAAC,SAAS,8EAA8E;AAK1F,MAAa,kBAAkB,OAAO,qBAAqB;CACzD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATmC,EAAE,OAAO,EAC5C,OAAO,EAAE,MAAM,0BAA0B,CAAC,CAAC,SAAS,0DAA0D,EAChH,CAAC,CAAC,CAAC,SAAS,qEAOF;AACV,CAAC"}
1
+ {"version":3,"file":"get-users.mjs","names":[],"sources":["../../src/actions/get-users.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminGetUsersInput = z.object({}).describe(\"Request model for retrieving the list of users from eTermin. No parameters required.\");\nconst EterminGetUsers_UserSchema = z.object({\n id: z.string().describe(\"Unique identifier (UUID) of the user\").nullable(),\n ll: z.string().describe(\"Last login timestamp in ISO 8601 format\").nullable().optional(),\n ccs: z.boolean().default(false).describe(\"Whether the user has CCS permissions\").nullable().optional(),\n crm: z.boolean().default(false).describe(\"Whether the user has CRM access\").nullable().optional(),\n ilo: z.boolean().default(false).describe(\"Whether the user is currently logged in\").nullable().optional(),\n sso: z.boolean().default(false).describe(\"Whether the user has single sign-on enabled\").nullable().optional(),\n admin: z.boolean().default(false).describe(\"Whether the user has administrator privileges\").nullable().optional(),\n email: z.string().describe(\"Email address of the user\").nullable(),\n \"export\": z.boolean().default(false).describe(\"Whether the user can export data\").nullable().optional(),\n manage: z.boolean().default(false).describe(\"Whether the user has management permissions\").nullable().optional(),\n comment: z.string().describe(\"Optional comment or note about the user\").nullable().optional(),\n service: z.boolean().default(false).describe(\"Whether the user has service permissions\").nullable().optional(),\n calendar: z.boolean().default(false).describe(\"Whether the user has calendar access\").nullable().optional(),\n settings: z.boolean().default(false).describe(\"Whether the user can modify settings\").nullable().optional(),\n crmsearch: z.boolean().default(false).describe(\"Whether the user can search in CRM\").nullable().optional(),\n loginpage: z.number().int().default(0).describe(\"Login page identifier\").nullable().optional(),\n marketing: z.boolean().default(false).describe(\"Whether the user has marketing permissions\").nullable().optional(),\n logouttime: z.number().int().default(60).describe(\"Session timeout in minutes before automatic logout\").nullable().optional(),\n statistics: z.boolean().default(false).describe(\"Whether the user can view statistics\").nullable().optional(),\n calendaradd: z.boolean().default(false).describe(\"Whether the user can add calendar entries\").nullable().optional(),\n settingscal: z.boolean().default(false).describe(\"Whether the user has calendar-specific settings access\").nullable().optional(),\n workingtimes: z.boolean().default(false).describe(\"Whether the user can manage working times\").nullable().optional(),\n calendarnobulk: z.boolean().default(false).describe(\"Whether the user is restricted from bulk calendar operations\").nullable().optional(),\n calendarapponly: z.boolean().default(false).describe(\"Whether the user can only access calendar app\").nullable().optional(),\n calendarreadonly: z.boolean().default(false).describe(\"Whether the user has read-only calendar access\").nullable().optional(),\n calendarsettings: z.boolean().default(false).describe(\"Whether the user can modify calendar settings\").nullable().optional(),\n settingssynconly: z.boolean().default(false).describe(\"Whether the user can only sync settings\").nullable().optional(),\n calendarwriteonly: z.boolean().default(false).describe(\"Whether the user has write-only calendar access\").nullable().optional(),\n}).passthrough().describe(\"Represents a user in the eTermin system with their permissions and settings.\");\nexport const EterminGetUsersOutput = z.object({\n users: z.array(EterminGetUsers_UserSchema).describe(\"List of user objects with their permissions and settings\"),\n}).passthrough().describe(\"Response model containing the list of users in the eTermin account.\");\n\nexport const eterminGetUsers = action(\"ETERMIN_GET_USERS\", {\n slug: \"etermin-get-users\",\n name: \"Get Users\",\n description: \"Tool to retrieve a list of users. Use when you need to list all users in your eTermin account.\",\n input: EterminGetUsersInput,\n output: EterminGetUsersOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uBAAuB,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,sFAAsF;AACh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QAAQ,KAAK,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxI,iBAAiB,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1H,kBAAkB,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5H,kBAAkB,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3H,kBAAkB,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrH,mBAAmB,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8EAA8E;AAKxG,MAAa,kBAAkB,OAAO,qBAAqB;CACzD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATmC,EAAE,OAAO,EAC5C,OAAO,EAAE,MAAM,0BAA0B,CAAC,CAAC,SAAS,0DAA0D,EAChH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qEAOhB;AACV,CAAC"}
@@ -9,7 +9,7 @@ const EterminGetWorkingTimesDate_WorkingTimeDateSchema = zod.z.object({
9
9
  StartDate: zod.z.string().describe("Start date and time for this working time period (ISO 8601 format)").nullable(),
10
10
  CalendarID: zod.z.number().int().describe("Calendar identifier this entry belongs to").nullable()
11
11
  }).passthrough().describe("Model representing a single working time entry for a specific date.");
12
- const EterminGetWorkingTimesDateOutput = zod.z.object({ details: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.array(EterminGetWorkingTimesDate_WorkingTimeDateSchema).describe("List of working time entries for the specified calendar on the requested date").optional()) }).describe("Response model containing working time entries for a specific date.");
12
+ const EterminGetWorkingTimesDateOutput = zod.z.object({ details: zod.z.array(EterminGetWorkingTimesDate_WorkingTimeDateSchema).describe("List of working time entries for the specified calendar on the requested date").nullable().optional() }).passthrough().describe("Response model containing working time entries for a specific date.");
13
13
  const eterminGetWorkingTimesDate = require_action.action("ETERMIN_GET_WORKING_TIMES_DATE", {
14
14
  slug: "etermin-get-working-times-date",
15
15
  name: "Get Working Times Date",
@@ -1 +1 @@
1
- {"version":3,"file":"get-working-times-date.cjs","names":["z","action"],"sources":["../../src/actions/get-working-times-date.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminGetWorkingTimesDateInput = z.object({\n calendarid: z.number().int().describe(\"Identifier of the calendar to retrieve working times for\"),\n}).describe(\"Request model for retrieving working times for a specific date.\");\nconst EterminGetWorkingTimesDate_WorkingTimeDateSchema = z.object({\n ID: z.number().int().describe(\"Unique identifier of the working time entry\").nullable(),\n Reason: z.string().describe(\"Reason or description for this working time entry\").nullable(),\n EndDate: z.string().describe(\"End date and time for this working time period (ISO 8601 format)\").nullable(),\n StartDate: z.string().describe(\"Start date and time for this working time period (ISO 8601 format)\").nullable(),\n CalendarID: z.number().int().describe(\"Calendar identifier this entry belongs to\").nullable(),\n}).passthrough().describe(\"Model representing a single working time entry for a specific date.\");\nexport const EterminGetWorkingTimesDateOutput = z.object({\n details: z.preprocess((value) => (value === null ? undefined : value), z.array(EterminGetWorkingTimesDate_WorkingTimeDateSchema).describe(\"List of working time entries for the specified calendar on the requested date\").optional()),\n}).describe(\"Response model containing working time entries for a specific date.\");\n\nexport const eterminGetWorkingTimesDate = action(\"ETERMIN_GET_WORKING_TIMES_DATE\", {\n slug: \"etermin-get-working-times-date\",\n name: \"Get Working Times Date\",\n description: \"Tool to retrieve working times for a specific calendar on a specific date. Use when checking available time slots for a particular date before booking appointments.\",\n input: EterminGetWorkingTimesDateInput,\n output: EterminGetWorkingTimesDateOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO,EACtD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0DAA0D,EAClG,CAAC,CAAC,CAAC,SAAS,iEAAiE;AAC7E,MAAM,mDAAmDA,IAAAA,EAAE,OAAO;CAChE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACtF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAC1F,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;CAC1G,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;CAC9G,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;AAC9F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qEAAqE;AAC/F,MAAa,mCAAmCA,IAAAA,EAAE,OAAO,EACvD,SAASA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,MAAM,gDAAgD,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS,CAAC,EACvO,CAAC,CAAC,CAAC,SAAS,qEAAqE;AAEjF,MAAa,6BAA6BC,eAAAA,OAAO,kCAAkC;CACjF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-working-times-date.cjs","names":["z","action"],"sources":["../../src/actions/get-working-times-date.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EterminGetWorkingTimesDateInput = z.object({\n calendarid: z.number().int().describe(\"Identifier of the calendar to retrieve working times for\"),\n}).describe(\"Request model for retrieving working times for a specific date.\");\nconst EterminGetWorkingTimesDate_WorkingTimeDateSchema = z.object({\n ID: z.number().int().describe(\"Unique identifier of the working time entry\").nullable(),\n Reason: z.string().describe(\"Reason or description for this working time entry\").nullable(),\n EndDate: z.string().describe(\"End date and time for this working time period (ISO 8601 format)\").nullable(),\n StartDate: z.string().describe(\"Start date and time for this working time period (ISO 8601 format)\").nullable(),\n CalendarID: z.number().int().describe(\"Calendar identifier this entry belongs to\").nullable(),\n}).passthrough().describe(\"Model representing a single working time entry for a specific date.\");\nexport const EterminGetWorkingTimesDateOutput = z.object({\n details: z.array(EterminGetWorkingTimesDate_WorkingTimeDateSchema).describe(\"List of working time entries for the specified calendar on the requested date\").nullable().optional(),\n}).passthrough().describe(\"Response model containing working time entries for a specific date.\");\n\nexport const eterminGetWorkingTimesDate = action(\"ETERMIN_GET_WORKING_TIMES_DATE\", {\n slug: \"etermin-get-working-times-date\",\n name: \"Get Working Times Date\",\n description: \"Tool to retrieve working times for a specific calendar on a specific date. Use when checking available time slots for a particular date before booking appointments.\",\n input: EterminGetWorkingTimesDateInput,\n output: EterminGetWorkingTimesDateOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO,EACtD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0DAA0D,EAClG,CAAC,CAAC,CAAC,SAAS,iEAAiE;AAC7E,MAAM,mDAAmDA,IAAAA,EAAE,OAAO;CAChE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACtF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAC1F,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;CAC1G,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;CAC9G,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;AAC9F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qEAAqE;AAC/F,MAAa,mCAAmCA,IAAAA,EAAE,OAAO,EACvD,SAASA,IAAAA,EAAE,MAAM,gDAAgD,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACnL,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qEAAqE;AAE/F,MAAa,6BAA6BC,eAAAA,OAAO,kCAAkC;CACjF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}