@greensecurity/javascript-sdk 0.39.36 → 0.39.39

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 (406) hide show
  1. package/README.md +12 -0
  2. package/bin/mcp-server.js +1756 -625
  3. package/bin/mcp-server.js.map +45 -30
  4. package/dist/commonjs/__tests__/events.test.js +124 -0
  5. package/dist/commonjs/__tests__/events.test.js.map +1 -1
  6. package/dist/commonjs/__tests__/webhooks.test.js +1 -1
  7. package/dist/commonjs/__tests__/webhooks.test.js.map +1 -1
  8. package/dist/commonjs/funcs/eventsListFeed.d.ts +21 -0
  9. package/dist/commonjs/funcs/eventsListFeed.d.ts.map +1 -0
  10. package/dist/commonjs/funcs/eventsListFeed.js +166 -0
  11. package/dist/commonjs/funcs/eventsListFeed.js.map +1 -0
  12. package/dist/commonjs/funcs/eventsListLocations.d.ts +21 -0
  13. package/dist/commonjs/funcs/eventsListLocations.d.ts.map +1 -0
  14. package/dist/commonjs/funcs/eventsListLocations.js +159 -0
  15. package/dist/commonjs/funcs/eventsListLocations.js.map +1 -0
  16. package/dist/commonjs/funcs/eventsListPendingInvitations.d.ts +21 -0
  17. package/dist/commonjs/funcs/eventsListPendingInvitations.d.ts.map +1 -0
  18. package/dist/commonjs/funcs/eventsListPendingInvitations.js +162 -0
  19. package/dist/commonjs/funcs/eventsListPendingInvitations.js.map +1 -0
  20. package/dist/commonjs/funcs/eventsListStandingAppointments.d.ts +21 -0
  21. package/dist/commonjs/funcs/eventsListStandingAppointments.d.ts.map +1 -0
  22. package/dist/commonjs/funcs/eventsListStandingAppointments.js +168 -0
  23. package/dist/commonjs/funcs/eventsListStandingAppointments.js.map +1 -0
  24. package/dist/commonjs/lib/config.d.ts +3 -3
  25. package/dist/commonjs/lib/config.js +3 -3
  26. package/dist/commonjs/mcp-server/mcp-server.js +1 -1
  27. package/dist/commonjs/mcp-server/server.d.ts.map +1 -1
  28. package/dist/commonjs/mcp-server/server.js +9 -1
  29. package/dist/commonjs/mcp-server/server.js.map +1 -1
  30. package/dist/commonjs/mcp-server/tools/eventsListFeed.d.ts +8 -0
  31. package/dist/commonjs/mcp-server/tools/eventsListFeed.d.ts.map +1 -0
  32. package/dist/commonjs/mcp-server/tools/eventsListFeed.js +64 -0
  33. package/dist/commonjs/mcp-server/tools/eventsListFeed.js.map +1 -0
  34. package/dist/commonjs/mcp-server/tools/eventsListLocations.d.ts +8 -0
  35. package/dist/commonjs/mcp-server/tools/eventsListLocations.d.ts.map +1 -0
  36. package/dist/commonjs/mcp-server/tools/eventsListLocations.js +64 -0
  37. package/dist/commonjs/mcp-server/tools/eventsListLocations.js.map +1 -0
  38. package/dist/commonjs/mcp-server/tools/eventsListPendingInvitations.d.ts +8 -0
  39. package/dist/commonjs/mcp-server/tools/eventsListPendingInvitations.d.ts.map +1 -0
  40. package/dist/commonjs/mcp-server/tools/eventsListPendingInvitations.js +64 -0
  41. package/dist/commonjs/mcp-server/tools/eventsListPendingInvitations.js.map +1 -0
  42. package/dist/commonjs/mcp-server/tools/eventsListStandingAppointments.d.ts +8 -0
  43. package/dist/commonjs/mcp-server/tools/eventsListStandingAppointments.d.ts.map +1 -0
  44. package/dist/commonjs/mcp-server/tools/eventsListStandingAppointments.js +64 -0
  45. package/dist/commonjs/mcp-server/tools/eventsListStandingAppointments.js.map +1 -0
  46. package/dist/commonjs/models/components/backgroundcheckresult.d.ts +27 -27
  47. package/dist/commonjs/models/components/backgroundcheckresult.d.ts.map +1 -1
  48. package/dist/commonjs/models/components/backgroundcheckresult.js.map +1 -1
  49. package/dist/commonjs/models/components/contact.d.ts +25 -25
  50. package/dist/commonjs/models/components/contact.d.ts.map +1 -1
  51. package/dist/commonjs/models/components/contact.js +17 -17
  52. package/dist/commonjs/models/components/contact.js.map +1 -1
  53. package/dist/commonjs/models/components/credential.d.ts +25 -25
  54. package/dist/commonjs/models/components/credential.d.ts.map +1 -1
  55. package/dist/commonjs/models/components/credential.js.map +1 -1
  56. package/dist/commonjs/models/components/credit.d.ts +10 -10
  57. package/dist/commonjs/models/components/credit.d.ts.map +1 -1
  58. package/dist/commonjs/models/components/credit.js.map +1 -1
  59. package/dist/commonjs/models/components/datarequest.d.ts +21 -21
  60. package/dist/commonjs/models/components/datarequest.d.ts.map +1 -1
  61. package/dist/commonjs/models/components/datarequest.js.map +1 -1
  62. package/dist/commonjs/models/components/facility.d.ts +25 -25
  63. package/dist/commonjs/models/components/facility.d.ts.map +1 -1
  64. package/dist/commonjs/models/components/facility.js +16 -16
  65. package/dist/commonjs/models/components/facility.js.map +1 -1
  66. package/dist/commonjs/models/components/feed.d.ts +42 -0
  67. package/dist/commonjs/models/components/feed.d.ts.map +1 -0
  68. package/dist/commonjs/models/components/feed.js +89 -0
  69. package/dist/commonjs/models/components/feed.js.map +1 -0
  70. package/dist/commonjs/models/components/index.d.ts +3 -0
  71. package/dist/commonjs/models/components/index.d.ts.map +1 -1
  72. package/dist/commonjs/models/components/index.js +3 -0
  73. package/dist/commonjs/models/components/index.js.map +1 -1
  74. package/dist/commonjs/models/components/mfarequiredresponse.d.ts +20 -20
  75. package/dist/commonjs/models/components/mfarequiredresponse.d.ts.map +1 -1
  76. package/dist/commonjs/models/components/mfarequiredresponse.js.map +1 -1
  77. package/dist/commonjs/models/components/passwordrequiredresponse.d.ts +11 -11
  78. package/dist/commonjs/models/components/passwordrequiredresponse.d.ts.map +1 -1
  79. package/dist/commonjs/models/components/passwordrequiredresponse.js.map +1 -1
  80. package/dist/commonjs/models/components/pendinginvitation.d.ts +80 -0
  81. package/dist/commonjs/models/components/pendinginvitation.d.ts.map +1 -0
  82. package/dist/commonjs/models/components/pendinginvitation.js +130 -0
  83. package/dist/commonjs/models/components/pendinginvitation.js.map +1 -0
  84. package/dist/commonjs/models/components/samlloginrequiredresponse.d.ts +18 -18
  85. package/dist/commonjs/models/components/samlloginrequiredresponse.d.ts.map +1 -1
  86. package/dist/commonjs/models/components/samlloginrequiredresponse.js.map +1 -1
  87. package/dist/commonjs/models/components/standingappointment.d.ts +46 -0
  88. package/dist/commonjs/models/components/standingappointment.d.ts.map +1 -0
  89. package/dist/commonjs/models/components/standingappointment.js +92 -0
  90. package/dist/commonjs/models/components/standingappointment.js.map +1 -0
  91. package/dist/commonjs/models/components/user.d.ts +65 -65
  92. package/dist/commonjs/models/components/user.d.ts.map +1 -1
  93. package/dist/commonjs/models/components/user.js +17 -17
  94. package/dist/commonjs/models/components/user.js.map +1 -1
  95. package/dist/commonjs/models/components/userlocation.d.ts +19 -19
  96. package/dist/commonjs/models/components/userlocation.d.ts.map +1 -1
  97. package/dist/commonjs/models/components/userlocation.js.map +1 -1
  98. package/dist/commonjs/models/components/vendorcredentialdatarequest.d.ts +22 -22
  99. package/dist/commonjs/models/components/vendorcredentialdatarequest.d.ts.map +1 -1
  100. package/dist/commonjs/models/components/vendorcredentialdatarequest.js +16 -16
  101. package/dist/commonjs/models/components/vendorcredentialdatarequest.js.map +1 -1
  102. package/dist/commonjs/models/components/webhookendpoint.d.ts +18 -18
  103. package/dist/commonjs/models/components/webhookendpoint.d.ts.map +1 -1
  104. package/dist/commonjs/models/components/webhookendpoint.js.map +1 -1
  105. package/dist/commonjs/models/operations/createinvoice.d.ts +106 -106
  106. package/dist/commonjs/models/operations/createinvoice.d.ts.map +1 -1
  107. package/dist/commonjs/models/operations/createinvoice.js +46 -46
  108. package/dist/commonjs/models/operations/createinvoice.js.map +1 -1
  109. package/dist/commonjs/models/operations/createorupdatebcr.d.ts +20 -20
  110. package/dist/commonjs/models/operations/createorupdatebcr.d.ts.map +1 -1
  111. package/dist/commonjs/models/operations/createorupdatebcr.js.map +1 -1
  112. package/dist/commonjs/models/operations/index.d.ts +4 -0
  113. package/dist/commonjs/models/operations/index.d.ts.map +1 -1
  114. package/dist/commonjs/models/operations/index.js +4 -0
  115. package/dist/commonjs/models/operations/index.js.map +1 -1
  116. package/dist/commonjs/models/operations/listfeed.d.ts +166 -0
  117. package/dist/commonjs/models/operations/listfeed.d.ts.map +1 -0
  118. package/dist/commonjs/models/operations/listfeed.js +197 -0
  119. package/dist/commonjs/models/operations/listfeed.js.map +1 -0
  120. package/dist/commonjs/models/operations/listlocations.d.ts +148 -0
  121. package/dist/commonjs/models/operations/listlocations.d.ts.map +1 -0
  122. package/dist/commonjs/models/operations/listlocations.js +191 -0
  123. package/dist/commonjs/models/operations/listlocations.js.map +1 -0
  124. package/dist/commonjs/models/operations/listpendinginvitations.d.ts +136 -0
  125. package/dist/commonjs/models/operations/listpendinginvitations.d.ts.map +1 -0
  126. package/dist/commonjs/models/operations/listpendinginvitations.js +173 -0
  127. package/dist/commonjs/models/operations/listpendinginvitations.js.map +1 -0
  128. package/dist/commonjs/models/operations/liststandingappointments.d.ts +166 -0
  129. package/dist/commonjs/models/operations/liststandingappointments.d.ts.map +1 -0
  130. package/dist/commonjs/models/operations/liststandingappointments.js +197 -0
  131. package/dist/commonjs/models/operations/liststandingappointments.js.map +1 -0
  132. package/dist/commonjs/models/operations/listvendorinvoices.d.ts +20 -20
  133. package/dist/commonjs/models/operations/listvendorinvoices.d.ts.map +1 -1
  134. package/dist/commonjs/models/operations/listvendorinvoices.js.map +1 -1
  135. package/dist/commonjs/models/operations/securityzonecheckin.d.ts +22 -22
  136. package/dist/commonjs/models/operations/securityzonecheckin.d.ts.map +1 -1
  137. package/dist/commonjs/models/operations/securityzonecheckin.js +17 -17
  138. package/dist/commonjs/models/operations/securityzonecheckin.js.map +1 -1
  139. package/dist/commonjs/models/operations/senddownloadcode.d.ts +10 -10
  140. package/dist/commonjs/models/operations/senddownloadcode.d.ts.map +1 -1
  141. package/dist/commonjs/models/operations/senddownloadcode.js.map +1 -1
  142. package/dist/commonjs/models/operations/updateinvoice.d.ts +106 -106
  143. package/dist/commonjs/models/operations/updateinvoice.d.ts.map +1 -1
  144. package/dist/commonjs/models/operations/updateinvoice.js +47 -47
  145. package/dist/commonjs/models/operations/updateinvoice.js.map +1 -1
  146. package/dist/commonjs/models/operations/updatevendorcredentialdata.d.ts +22 -22
  147. package/dist/commonjs/models/operations/updatevendorcredentialdata.d.ts.map +1 -1
  148. package/dist/commonjs/models/operations/updatevendorcredentialdata.js.map +1 -1
  149. package/dist/commonjs/models/operations/updatevendordetails.d.ts +24 -24
  150. package/dist/commonjs/models/operations/updatevendordetails.d.ts.map +1 -1
  151. package/dist/commonjs/models/operations/updatevendordetails.js.map +1 -1
  152. package/dist/commonjs/models/operations/updatevendorscrubdetails.d.ts +21 -21
  153. package/dist/commonjs/models/operations/updatevendorscrubdetails.d.ts.map +1 -1
  154. package/dist/commonjs/models/operations/updatevendorscrubdetails.js.map +1 -1
  155. package/dist/commonjs/react-query/eventsListFeed.d.ts +111 -0
  156. package/dist/commonjs/react-query/eventsListFeed.d.ts.map +1 -0
  157. package/dist/commonjs/react-query/eventsListFeed.js +174 -0
  158. package/dist/commonjs/react-query/eventsListFeed.js.map +1 -0
  159. package/dist/commonjs/react-query/eventsListLocations.d.ts +84 -0
  160. package/dist/commonjs/react-query/eventsListLocations.d.ts.map +1 -0
  161. package/dist/commonjs/react-query/eventsListLocations.js +161 -0
  162. package/dist/commonjs/react-query/eventsListLocations.js.map +1 -0
  163. package/dist/commonjs/react-query/eventsListPendingInvitations.d.ts +93 -0
  164. package/dist/commonjs/react-query/eventsListPendingInvitations.d.ts.map +1 -0
  165. package/dist/commonjs/react-query/eventsListPendingInvitations.js +171 -0
  166. package/dist/commonjs/react-query/eventsListPendingInvitations.js.map +1 -0
  167. package/dist/commonjs/react-query/eventsListStandingAppointments.d.ts +111 -0
  168. package/dist/commonjs/react-query/eventsListStandingAppointments.d.ts.map +1 -0
  169. package/dist/commonjs/react-query/eventsListStandingAppointments.js +183 -0
  170. package/dist/commonjs/react-query/eventsListStandingAppointments.js.map +1 -0
  171. package/dist/commonjs/react-query/index.d.ts +4 -0
  172. package/dist/commonjs/react-query/index.d.ts.map +1 -1
  173. package/dist/commonjs/react-query/index.js +4 -0
  174. package/dist/commonjs/react-query/index.js.map +1 -1
  175. package/dist/commonjs/sdk/events.d.ts +36 -0
  176. package/dist/commonjs/sdk/events.d.ts.map +1 -1
  177. package/dist/commonjs/sdk/events.js +40 -0
  178. package/dist/commonjs/sdk/events.js.map +1 -1
  179. package/dist/esm/__tests__/events.test.js +124 -0
  180. package/dist/esm/__tests__/events.test.js.map +1 -1
  181. package/dist/esm/__tests__/webhooks.test.js +1 -1
  182. package/dist/esm/__tests__/webhooks.test.js.map +1 -1
  183. package/dist/esm/funcs/eventsListFeed.d.ts +21 -0
  184. package/dist/esm/funcs/eventsListFeed.d.ts.map +1 -0
  185. package/dist/esm/funcs/eventsListFeed.js +130 -0
  186. package/dist/esm/funcs/eventsListFeed.js.map +1 -0
  187. package/dist/esm/funcs/eventsListLocations.d.ts +21 -0
  188. package/dist/esm/funcs/eventsListLocations.d.ts.map +1 -0
  189. package/dist/esm/funcs/eventsListLocations.js +123 -0
  190. package/dist/esm/funcs/eventsListLocations.js.map +1 -0
  191. package/dist/esm/funcs/eventsListPendingInvitations.d.ts +21 -0
  192. package/dist/esm/funcs/eventsListPendingInvitations.d.ts.map +1 -0
  193. package/dist/esm/funcs/eventsListPendingInvitations.js +126 -0
  194. package/dist/esm/funcs/eventsListPendingInvitations.js.map +1 -0
  195. package/dist/esm/funcs/eventsListStandingAppointments.d.ts +21 -0
  196. package/dist/esm/funcs/eventsListStandingAppointments.d.ts.map +1 -0
  197. package/dist/esm/funcs/eventsListStandingAppointments.js +132 -0
  198. package/dist/esm/funcs/eventsListStandingAppointments.js.map +1 -0
  199. package/dist/esm/lib/config.d.ts +3 -3
  200. package/dist/esm/lib/config.js +3 -3
  201. package/dist/esm/mcp-server/mcp-server.js +1 -1
  202. package/dist/esm/mcp-server/server.d.ts.map +1 -1
  203. package/dist/esm/mcp-server/server.js +9 -1
  204. package/dist/esm/mcp-server/server.js.map +1 -1
  205. package/dist/esm/mcp-server/tools/eventsListFeed.d.ts +8 -0
  206. package/dist/esm/mcp-server/tools/eventsListFeed.d.ts.map +1 -0
  207. package/dist/esm/mcp-server/tools/eventsListFeed.js +28 -0
  208. package/dist/esm/mcp-server/tools/eventsListFeed.js.map +1 -0
  209. package/dist/esm/mcp-server/tools/eventsListLocations.d.ts +8 -0
  210. package/dist/esm/mcp-server/tools/eventsListLocations.d.ts.map +1 -0
  211. package/dist/esm/mcp-server/tools/eventsListLocations.js +28 -0
  212. package/dist/esm/mcp-server/tools/eventsListLocations.js.map +1 -0
  213. package/dist/esm/mcp-server/tools/eventsListPendingInvitations.d.ts +8 -0
  214. package/dist/esm/mcp-server/tools/eventsListPendingInvitations.d.ts.map +1 -0
  215. package/dist/esm/mcp-server/tools/eventsListPendingInvitations.js +28 -0
  216. package/dist/esm/mcp-server/tools/eventsListPendingInvitations.js.map +1 -0
  217. package/dist/esm/mcp-server/tools/eventsListStandingAppointments.d.ts +8 -0
  218. package/dist/esm/mcp-server/tools/eventsListStandingAppointments.d.ts.map +1 -0
  219. package/dist/esm/mcp-server/tools/eventsListStandingAppointments.js +28 -0
  220. package/dist/esm/mcp-server/tools/eventsListStandingAppointments.js.map +1 -0
  221. package/dist/esm/models/components/backgroundcheckresult.d.ts +27 -27
  222. package/dist/esm/models/components/backgroundcheckresult.d.ts.map +1 -1
  223. package/dist/esm/models/components/backgroundcheckresult.js.map +1 -1
  224. package/dist/esm/models/components/contact.d.ts +25 -25
  225. package/dist/esm/models/components/contact.d.ts.map +1 -1
  226. package/dist/esm/models/components/contact.js +16 -16
  227. package/dist/esm/models/components/contact.js.map +1 -1
  228. package/dist/esm/models/components/credential.d.ts +25 -25
  229. package/dist/esm/models/components/credential.d.ts.map +1 -1
  230. package/dist/esm/models/components/credential.js.map +1 -1
  231. package/dist/esm/models/components/credit.d.ts +10 -10
  232. package/dist/esm/models/components/credit.d.ts.map +1 -1
  233. package/dist/esm/models/components/credit.js.map +1 -1
  234. package/dist/esm/models/components/datarequest.d.ts +21 -21
  235. package/dist/esm/models/components/datarequest.d.ts.map +1 -1
  236. package/dist/esm/models/components/datarequest.js.map +1 -1
  237. package/dist/esm/models/components/facility.d.ts +25 -25
  238. package/dist/esm/models/components/facility.d.ts.map +1 -1
  239. package/dist/esm/models/components/facility.js +15 -15
  240. package/dist/esm/models/components/facility.js.map +1 -1
  241. package/dist/esm/models/components/feed.d.ts +42 -0
  242. package/dist/esm/models/components/feed.d.ts.map +1 -0
  243. package/dist/esm/models/components/feed.js +51 -0
  244. package/dist/esm/models/components/feed.js.map +1 -0
  245. package/dist/esm/models/components/index.d.ts +3 -0
  246. package/dist/esm/models/components/index.d.ts.map +1 -1
  247. package/dist/esm/models/components/index.js +3 -0
  248. package/dist/esm/models/components/index.js.map +1 -1
  249. package/dist/esm/models/components/mfarequiredresponse.d.ts +20 -20
  250. package/dist/esm/models/components/mfarequiredresponse.d.ts.map +1 -1
  251. package/dist/esm/models/components/mfarequiredresponse.js.map +1 -1
  252. package/dist/esm/models/components/passwordrequiredresponse.d.ts +11 -11
  253. package/dist/esm/models/components/passwordrequiredresponse.d.ts.map +1 -1
  254. package/dist/esm/models/components/passwordrequiredresponse.js.map +1 -1
  255. package/dist/esm/models/components/pendinginvitation.d.ts +80 -0
  256. package/dist/esm/models/components/pendinginvitation.d.ts.map +1 -0
  257. package/dist/esm/models/components/pendinginvitation.js +90 -0
  258. package/dist/esm/models/components/pendinginvitation.js.map +1 -0
  259. package/dist/esm/models/components/samlloginrequiredresponse.d.ts +18 -18
  260. package/dist/esm/models/components/samlloginrequiredresponse.d.ts.map +1 -1
  261. package/dist/esm/models/components/samlloginrequiredresponse.js.map +1 -1
  262. package/dist/esm/models/components/standingappointment.d.ts +46 -0
  263. package/dist/esm/models/components/standingappointment.d.ts.map +1 -0
  264. package/dist/esm/models/components/standingappointment.js +54 -0
  265. package/dist/esm/models/components/standingappointment.js.map +1 -0
  266. package/dist/esm/models/components/user.d.ts +65 -65
  267. package/dist/esm/models/components/user.d.ts.map +1 -1
  268. package/dist/esm/models/components/user.js +16 -16
  269. package/dist/esm/models/components/user.js.map +1 -1
  270. package/dist/esm/models/components/userlocation.d.ts +19 -19
  271. package/dist/esm/models/components/userlocation.d.ts.map +1 -1
  272. package/dist/esm/models/components/userlocation.js.map +1 -1
  273. package/dist/esm/models/components/vendorcredentialdatarequest.d.ts +22 -22
  274. package/dist/esm/models/components/vendorcredentialdatarequest.d.ts.map +1 -1
  275. package/dist/esm/models/components/vendorcredentialdatarequest.js +15 -15
  276. package/dist/esm/models/components/vendorcredentialdatarequest.js.map +1 -1
  277. package/dist/esm/models/components/webhookendpoint.d.ts +18 -18
  278. package/dist/esm/models/components/webhookendpoint.d.ts.map +1 -1
  279. package/dist/esm/models/components/webhookendpoint.js.map +1 -1
  280. package/dist/esm/models/operations/createinvoice.d.ts +106 -106
  281. package/dist/esm/models/operations/createinvoice.d.ts.map +1 -1
  282. package/dist/esm/models/operations/createinvoice.js +45 -45
  283. package/dist/esm/models/operations/createinvoice.js.map +1 -1
  284. package/dist/esm/models/operations/createorupdatebcr.d.ts +20 -20
  285. package/dist/esm/models/operations/createorupdatebcr.d.ts.map +1 -1
  286. package/dist/esm/models/operations/createorupdatebcr.js.map +1 -1
  287. package/dist/esm/models/operations/index.d.ts +4 -0
  288. package/dist/esm/models/operations/index.d.ts.map +1 -1
  289. package/dist/esm/models/operations/index.js +4 -0
  290. package/dist/esm/models/operations/index.js.map +1 -1
  291. package/dist/esm/models/operations/listfeed.d.ts +166 -0
  292. package/dist/esm/models/operations/listfeed.d.ts.map +1 -0
  293. package/dist/esm/models/operations/listfeed.js +155 -0
  294. package/dist/esm/models/operations/listfeed.js.map +1 -0
  295. package/dist/esm/models/operations/listlocations.d.ts +148 -0
  296. package/dist/esm/models/operations/listlocations.d.ts.map +1 -0
  297. package/dist/esm/models/operations/listlocations.js +147 -0
  298. package/dist/esm/models/operations/listlocations.js.map +1 -0
  299. package/dist/esm/models/operations/listpendinginvitations.d.ts +136 -0
  300. package/dist/esm/models/operations/listpendinginvitations.d.ts.map +1 -0
  301. package/dist/esm/models/operations/listpendinginvitations.js +131 -0
  302. package/dist/esm/models/operations/listpendinginvitations.js.map +1 -0
  303. package/dist/esm/models/operations/liststandingappointments.d.ts +166 -0
  304. package/dist/esm/models/operations/liststandingappointments.d.ts.map +1 -0
  305. package/dist/esm/models/operations/liststandingappointments.js +155 -0
  306. package/dist/esm/models/operations/liststandingappointments.js.map +1 -0
  307. package/dist/esm/models/operations/listvendorinvoices.d.ts +20 -20
  308. package/dist/esm/models/operations/listvendorinvoices.d.ts.map +1 -1
  309. package/dist/esm/models/operations/listvendorinvoices.js.map +1 -1
  310. package/dist/esm/models/operations/securityzonecheckin.d.ts +22 -22
  311. package/dist/esm/models/operations/securityzonecheckin.d.ts.map +1 -1
  312. package/dist/esm/models/operations/securityzonecheckin.js +16 -16
  313. package/dist/esm/models/operations/securityzonecheckin.js.map +1 -1
  314. package/dist/esm/models/operations/senddownloadcode.d.ts +10 -10
  315. package/dist/esm/models/operations/senddownloadcode.d.ts.map +1 -1
  316. package/dist/esm/models/operations/senddownloadcode.js.map +1 -1
  317. package/dist/esm/models/operations/updateinvoice.d.ts +106 -106
  318. package/dist/esm/models/operations/updateinvoice.d.ts.map +1 -1
  319. package/dist/esm/models/operations/updateinvoice.js +46 -46
  320. package/dist/esm/models/operations/updateinvoice.js.map +1 -1
  321. package/dist/esm/models/operations/updatevendorcredentialdata.d.ts +22 -22
  322. package/dist/esm/models/operations/updatevendorcredentialdata.d.ts.map +1 -1
  323. package/dist/esm/models/operations/updatevendorcredentialdata.js.map +1 -1
  324. package/dist/esm/models/operations/updatevendordetails.d.ts +24 -24
  325. package/dist/esm/models/operations/updatevendordetails.d.ts.map +1 -1
  326. package/dist/esm/models/operations/updatevendordetails.js.map +1 -1
  327. package/dist/esm/models/operations/updatevendorscrubdetails.d.ts +21 -21
  328. package/dist/esm/models/operations/updatevendorscrubdetails.d.ts.map +1 -1
  329. package/dist/esm/models/operations/updatevendorscrubdetails.js.map +1 -1
  330. package/dist/esm/react-query/eventsListFeed.d.ts +111 -0
  331. package/dist/esm/react-query/eventsListFeed.d.ts.map +1 -0
  332. package/dist/esm/react-query/eventsListFeed.js +161 -0
  333. package/dist/esm/react-query/eventsListFeed.js.map +1 -0
  334. package/dist/esm/react-query/eventsListLocations.d.ts +84 -0
  335. package/dist/esm/react-query/eventsListLocations.d.ts.map +1 -0
  336. package/dist/esm/react-query/eventsListLocations.js +148 -0
  337. package/dist/esm/react-query/eventsListLocations.js.map +1 -0
  338. package/dist/esm/react-query/eventsListPendingInvitations.d.ts +93 -0
  339. package/dist/esm/react-query/eventsListPendingInvitations.d.ts.map +1 -0
  340. package/dist/esm/react-query/eventsListPendingInvitations.js +158 -0
  341. package/dist/esm/react-query/eventsListPendingInvitations.js.map +1 -0
  342. package/dist/esm/react-query/eventsListStandingAppointments.d.ts +111 -0
  343. package/dist/esm/react-query/eventsListStandingAppointments.d.ts.map +1 -0
  344. package/dist/esm/react-query/eventsListStandingAppointments.js +170 -0
  345. package/dist/esm/react-query/eventsListStandingAppointments.js.map +1 -0
  346. package/dist/esm/react-query/index.d.ts +4 -0
  347. package/dist/esm/react-query/index.d.ts.map +1 -1
  348. package/dist/esm/react-query/index.js +4 -0
  349. package/dist/esm/react-query/index.js.map +1 -1
  350. package/dist/esm/sdk/events.d.ts +36 -0
  351. package/dist/esm/sdk/events.d.ts.map +1 -1
  352. package/dist/esm/sdk/events.js +40 -0
  353. package/dist/esm/sdk/events.js.map +1 -1
  354. package/examples/package-lock.json +6 -5
  355. package/jsr.json +1 -1
  356. package/package.json +6 -6
  357. package/src/__tests__/events.test.ts +136 -0
  358. package/src/__tests__/webhooks.test.ts +1 -1
  359. package/src/funcs/eventsListFeed.ts +257 -0
  360. package/src/funcs/eventsListLocations.ts +250 -0
  361. package/src/funcs/eventsListPendingInvitations.ts +254 -0
  362. package/src/funcs/eventsListStandingAppointments.ts +260 -0
  363. package/src/lib/config.ts +3 -3
  364. package/src/mcp-server/mcp-server.ts +1 -1
  365. package/src/mcp-server/server.ts +9 -1
  366. package/src/mcp-server/tools/eventsListFeed.ts +37 -0
  367. package/src/mcp-server/tools/eventsListLocations.ts +37 -0
  368. package/src/mcp-server/tools/eventsListPendingInvitations.ts +37 -0
  369. package/src/mcp-server/tools/eventsListStandingAppointments.ts +38 -0
  370. package/src/models/components/backgroundcheckresult.ts +31 -31
  371. package/src/models/components/contact.ts +25 -25
  372. package/src/models/components/credential.ts +26 -26
  373. package/src/models/components/credit.ts +11 -11
  374. package/src/models/components/datarequest.ts +19 -19
  375. package/src/models/components/facility.ts +27 -27
  376. package/src/models/components/feed.ts +88 -0
  377. package/src/models/components/index.ts +3 -0
  378. package/src/models/components/mfarequiredresponse.ts +21 -21
  379. package/src/models/components/passwordrequiredresponse.ts +12 -12
  380. package/src/models/components/pendinginvitation.ts +176 -0
  381. package/src/models/components/samlloginrequiredresponse.ts +21 -21
  382. package/src/models/components/standingappointment.ts +106 -0
  383. package/src/models/components/user.ts +50 -50
  384. package/src/models/components/userlocation.ts +19 -19
  385. package/src/models/components/vendorcredentialdatarequest.ts +28 -28
  386. package/src/models/components/webhookendpoint.ts +21 -21
  387. package/src/models/operations/createinvoice.ts +114 -114
  388. package/src/models/operations/createorupdatebcr.ts +21 -21
  389. package/src/models/operations/index.ts +4 -0
  390. package/src/models/operations/listfeed.ts +340 -0
  391. package/src/models/operations/listlocations.ts +316 -0
  392. package/src/models/operations/listpendinginvitations.ts +296 -0
  393. package/src/models/operations/liststandingappointments.ts +351 -0
  394. package/src/models/operations/listvendorinvoices.ts +21 -21
  395. package/src/models/operations/securityzonecheckin.ts +24 -24
  396. package/src/models/operations/senddownloadcode.ts +12 -12
  397. package/src/models/operations/updateinvoice.ts +124 -124
  398. package/src/models/operations/updatevendorcredentialdata.ts +24 -24
  399. package/src/models/operations/updatevendordetails.ts +21 -21
  400. package/src/models/operations/updatevendorscrubdetails.ts +23 -23
  401. package/src/react-query/eventsListFeed.ts +366 -0
  402. package/src/react-query/eventsListLocations.ts +342 -0
  403. package/src/react-query/eventsListPendingInvitations.ts +367 -0
  404. package/src/react-query/eventsListStandingAppointments.ts +400 -0
  405. package/src/react-query/index.ts +4 -0
  406. package/src/sdk/events.ts +76 -0
package/bin/mcp-server.js CHANGED
@@ -34160,9 +34160,9 @@ var init_config = __esm(() => {
34160
34160
  SDK_METADATA = {
34161
34161
  language: "typescript",
34162
34162
  openapiDocVersion: "0.0.3",
34163
- sdkVersion: "0.39.36",
34164
- genVersion: "2.667.0",
34165
- userAgent: "speakeasy-sdk/typescript 0.39.36 2.667.0 0.0.3 @greensecurity/javascript-sdk"
34163
+ sdkVersion: "0.39.39",
34164
+ genVersion: "2.670.3",
34165
+ userAgent: "speakeasy-sdk/typescript 0.39.39 2.670.3 0.0.3 @greensecurity/javascript-sdk"
34166
34166
  };
34167
34167
  });
34168
34168
 
@@ -36626,7 +36626,7 @@ var init_usersummary = __esm(() => {
36626
36626
  });
36627
36627
 
36628
36628
  // src/models/components/contact.ts
36629
- var Status, ContactFacility$inboundSchema, ContactFacility$outboundSchema, ContactFacility$, System$inboundSchema, System$outboundSchema, System$, ContactUser$inboundSchema, ContactUser$outboundSchema, ContactUser$, Status$inboundSchema, Status$outboundSchema, Status$, ContactDepartment$inboundSchema, ContactDepartment$outboundSchema, ContactDepartment$, Contact$inboundSchema, Contact$outboundSchema, Contact$;
36629
+ var Status, Status$inboundSchema, Status$outboundSchema, Status$, ContactFacility$inboundSchema, ContactFacility$outboundSchema, ContactFacility$, System$inboundSchema, System$outboundSchema, System$, ContactUser$inboundSchema, ContactUser$outboundSchema, ContactUser$, ContactDepartment$inboundSchema, ContactDepartment$outboundSchema, ContactDepartment$, Contact$inboundSchema, Contact$outboundSchema, Contact$;
36630
36630
  var init_contact = __esm(() => {
36631
36631
  init_esm();
36632
36632
  init_departmentsummary();
@@ -36638,6 +36638,12 @@ var init_contact = __esm(() => {
36638
36638
  Inactive: "Inactive",
36639
36639
  Deleted: "Deleted"
36640
36640
  };
36641
+ Status$inboundSchema = nativeEnumType(Status);
36642
+ Status$outboundSchema = Status$inboundSchema;
36643
+ ((Status$) => {
36644
+ Status$.inboundSchema = Status$inboundSchema;
36645
+ Status$.outboundSchema = Status$outboundSchema;
36646
+ })(Status$ ||= {});
36641
36647
  ContactFacility$inboundSchema = unionType([FacilitySummary$inboundSchema, numberType().int()]);
36642
36648
  ContactFacility$outboundSchema = unionType([FacilitySummary$outboundSchema, numberType().int()]);
36643
36649
  ((ContactFacility$) => {
@@ -36656,12 +36662,6 @@ var init_contact = __esm(() => {
36656
36662
  ContactUser$.inboundSchema = ContactUser$inboundSchema;
36657
36663
  ContactUser$.outboundSchema = ContactUser$outboundSchema;
36658
36664
  })(ContactUser$ ||= {});
36659
- Status$inboundSchema = nativeEnumType(Status);
36660
- Status$outboundSchema = Status$inboundSchema;
36661
- ((Status$) => {
36662
- Status$.inboundSchema = Status$inboundSchema;
36663
- Status$.outboundSchema = Status$outboundSchema;
36664
- })(Status$ ||= {});
36665
36665
  ContactDepartment$inboundSchema = unionType([DepartmentSummary$inboundSchema, numberType().int()]);
36666
36666
  ContactDepartment$outboundSchema = unionType([DepartmentSummary$outboundSchema, numberType().int()]);
36667
36667
  ((ContactDepartment$) => {
@@ -37297,7 +37297,7 @@ var init_imageset = __esm(() => {
37297
37297
  });
37298
37298
 
37299
37299
  // src/models/components/facility.ts
37300
- var VendorGuestLimitAndOr, AppointmentPolicy$inboundSchema, AppointmentPolicy$outboundSchema, AppointmentPolicy$, Contacts$inboundSchema, Contacts$outboundSchema, Contacts$, VendorCounts$inboundSchema, VendorCounts$outboundSchema, VendorCounts$, FacilityFluCredential$inboundSchema, FacilityFluCredential$outboundSchema, FacilityFluCredential$, FluCredential$inboundSchema, FluCredential$outboundSchema, FluCredential$, Location$inboundSchema, Location$outboundSchema, Location$, ScrubsPolicy$inboundSchema, ScrubsPolicy$outboundSchema, ScrubsPolicy$, FacilitySystem$inboundSchema, FacilitySystem$outboundSchema, FacilitySystem$, Uses$inboundSchema, Uses$outboundSchema, Uses$, VendorGuestLimitAndOr$inboundSchema, VendorGuestLimitAndOr$outboundSchema, VendorGuestLimitAndOr$, VendorGuestPolicy$inboundSchema, VendorGuestPolicy$outboundSchema, VendorGuestPolicy$, FacilityVendorPolicy$inboundSchema, FacilityVendorPolicy$outboundSchema, FacilityVendorPolicy$, VisitorPolicy$inboundSchema, VisitorPolicy$outboundSchema, VisitorPolicy$, WorkflowPolicy$inboundSchema, WorkflowPolicy$outboundSchema, WorkflowPolicy$, Facility$inboundSchema, Facility$outboundSchema, Facility$;
37300
+ var VendorGuestLimitAndOr, VendorGuestLimitAndOr$inboundSchema, VendorGuestLimitAndOr$outboundSchema, VendorGuestLimitAndOr$, AppointmentPolicy$inboundSchema, AppointmentPolicy$outboundSchema, AppointmentPolicy$, Contacts$inboundSchema, Contacts$outboundSchema, Contacts$, VendorCounts$inboundSchema, VendorCounts$outboundSchema, VendorCounts$, FacilityFluCredential$inboundSchema, FacilityFluCredential$outboundSchema, FacilityFluCredential$, FluCredential$inboundSchema, FluCredential$outboundSchema, FluCredential$, Location$inboundSchema, Location$outboundSchema, Location$, ScrubsPolicy$inboundSchema, ScrubsPolicy$outboundSchema, ScrubsPolicy$, FacilitySystem$inboundSchema, FacilitySystem$outboundSchema, FacilitySystem$, Uses$inboundSchema, Uses$outboundSchema, Uses$, VendorGuestPolicy$inboundSchema, VendorGuestPolicy$outboundSchema, VendorGuestPolicy$, FacilityVendorPolicy$inboundSchema, FacilityVendorPolicy$outboundSchema, FacilityVendorPolicy$, VisitorPolicy$inboundSchema, VisitorPolicy$outboundSchema, VisitorPolicy$, WorkflowPolicy$inboundSchema, WorkflowPolicy$outboundSchema, WorkflowPolicy$, Facility$inboundSchema, Facility$outboundSchema, Facility$;
37301
37301
  var init_facility = __esm(() => {
37302
37302
  init_esm();
37303
37303
  init_primitives();
@@ -37310,6 +37310,12 @@ var init_facility = __esm(() => {
37310
37310
  And: "and",
37311
37311
  Or: "or"
37312
37312
  };
37313
+ VendorGuestLimitAndOr$inboundSchema = nativeEnumType(VendorGuestLimitAndOr);
37314
+ VendorGuestLimitAndOr$outboundSchema = VendorGuestLimitAndOr$inboundSchema;
37315
+ ((VendorGuestLimitAndOr$) => {
37316
+ VendorGuestLimitAndOr$.inboundSchema = VendorGuestLimitAndOr$inboundSchema;
37317
+ VendorGuestLimitAndOr$.outboundSchema = VendorGuestLimitAndOr$outboundSchema;
37318
+ })(VendorGuestLimitAndOr$ ||= {});
37313
37319
  AppointmentPolicy$inboundSchema = objectType({
37314
37320
  standing_appt_period: stringType().optional(),
37315
37321
  appt_request_info: stringType().optional(),
@@ -37566,12 +37572,6 @@ var init_facility = __esm(() => {
37566
37572
  Uses$.inboundSchema = Uses$inboundSchema;
37567
37573
  Uses$.outboundSchema = Uses$outboundSchema;
37568
37574
  })(Uses$ ||= {});
37569
- VendorGuestLimitAndOr$inboundSchema = nativeEnumType(VendorGuestLimitAndOr);
37570
- VendorGuestLimitAndOr$outboundSchema = VendorGuestLimitAndOr$inboundSchema;
37571
- ((VendorGuestLimitAndOr$) => {
37572
- VendorGuestLimitAndOr$.inboundSchema = VendorGuestLimitAndOr$inboundSchema;
37573
- VendorGuestLimitAndOr$.outboundSchema = VendorGuestLimitAndOr$outboundSchema;
37574
- })(VendorGuestLimitAndOr$ ||= {});
37575
37575
  VendorGuestPolicy$inboundSchema = objectType({
37576
37576
  enabled: booleanType(),
37577
37577
  vendor_guest_limit: numberType().int().optional(),
@@ -37803,6 +37803,41 @@ var init_facilitystatus = __esm(() => {
37803
37803
  })(FacilityStatus$ ||= {});
37804
37804
  });
37805
37805
 
37806
+ // src/models/components/feed.ts
37807
+ var Feed$inboundSchema, Feed$outboundSchema, Feed$;
37808
+ var init_feed = __esm(() => {
37809
+ init_esm();
37810
+ init_primitives();
37811
+ Feed$inboundSchema = objectType({
37812
+ id: numberType().int().optional(),
37813
+ title: nullableType(stringType()).optional(),
37814
+ start: nullableType(stringType()).optional(),
37815
+ end: nullableType(stringType()).optional(),
37816
+ status: nullableType(stringType()).optional(),
37817
+ all_day: booleanType().optional()
37818
+ }).transform((v2) => {
37819
+ return remap(v2, {
37820
+ all_day: "allDay"
37821
+ });
37822
+ });
37823
+ Feed$outboundSchema = objectType({
37824
+ id: numberType().int().optional(),
37825
+ title: nullableType(stringType()).optional(),
37826
+ start: nullableType(stringType()).optional(),
37827
+ end: nullableType(stringType()).optional(),
37828
+ status: nullableType(stringType()).optional(),
37829
+ allDay: booleanType().optional()
37830
+ }).transform((v2) => {
37831
+ return remap(v2, {
37832
+ allDay: "all_day"
37833
+ });
37834
+ });
37835
+ ((Feed$) => {
37836
+ Feed$.inboundSchema = Feed$inboundSchema;
37837
+ Feed$.outboundSchema = Feed$outboundSchema;
37838
+ })(Feed$ ||= {});
37839
+ });
37840
+
37806
37841
  // src/models/components/financialstatus.ts
37807
37842
  var FinancialStatus, FinancialStatus$inboundSchema, FinancialStatus$outboundSchema, FinancialStatus$;
37808
37843
  var init_financialstatus = __esm(() => {
@@ -38668,6 +38703,65 @@ var init_passwordrequiredresponse = __esm(() => {
38668
38703
  })(PasswordRequiredResponse$ ||= {});
38669
38704
  });
38670
38705
 
38706
+ // src/models/components/pendinginvitation.ts
38707
+ var Event$inboundSchema, Event$outboundSchema, Event$, PendingInvitation$inboundSchema, PendingInvitation$outboundSchema, PendingInvitation$;
38708
+ var init_pendinginvitation = __esm(() => {
38709
+ init_esm();
38710
+ init_primitives();
38711
+ Event$inboundSchema = objectType({
38712
+ id: numberType().int().optional(),
38713
+ user_id: numberType().int().optional(),
38714
+ title: nullableType(stringType()).optional(),
38715
+ location: nullableType(stringType()).optional(),
38716
+ start: stringType().optional(),
38717
+ end: stringType().optional(),
38718
+ all_day: booleanType().optional(),
38719
+ standing_appt: booleanType().optional()
38720
+ }).transform((v2) => {
38721
+ return remap(v2, {
38722
+ user_id: "userId",
38723
+ all_day: "allDay",
38724
+ standing_appt: "standingAppt"
38725
+ });
38726
+ });
38727
+ Event$outboundSchema = objectType({
38728
+ id: numberType().int().optional(),
38729
+ userId: numberType().int().optional(),
38730
+ title: nullableType(stringType()).optional(),
38731
+ location: nullableType(stringType()).optional(),
38732
+ start: stringType().optional(),
38733
+ end: stringType().optional(),
38734
+ allDay: booleanType().optional(),
38735
+ standingAppt: booleanType().optional()
38736
+ }).transform((v2) => {
38737
+ return remap(v2, {
38738
+ userId: "user_id",
38739
+ allDay: "all_day",
38740
+ standingAppt: "standing_appt"
38741
+ });
38742
+ });
38743
+ ((Event$) => {
38744
+ Event$.inboundSchema = Event$inboundSchema;
38745
+ Event$.outboundSchema = Event$outboundSchema;
38746
+ })(Event$ ||= {});
38747
+ PendingInvitation$inboundSchema = objectType({
38748
+ id: numberType().int().optional(),
38749
+ from: nullableType(stringType()).optional(),
38750
+ to: nullableType(stringType()).optional(),
38751
+ event: lazyType(() => Event$inboundSchema).optional()
38752
+ });
38753
+ PendingInvitation$outboundSchema = objectType({
38754
+ id: numberType().int().optional(),
38755
+ from: nullableType(stringType()).optional(),
38756
+ to: nullableType(stringType()).optional(),
38757
+ event: lazyType(() => Event$outboundSchema).optional()
38758
+ });
38759
+ ((PendingInvitation$) => {
38760
+ PendingInvitation$.inboundSchema = PendingInvitation$inboundSchema;
38761
+ PendingInvitation$.outboundSchema = PendingInvitation$outboundSchema;
38762
+ })(PendingInvitation$ ||= {});
38763
+ });
38764
+
38671
38765
  // src/models/components/samlloginrequiredresponse.ts
38672
38766
  var SamlLoginRequiredResponseRequires, SamlLoginRequiredResponseRequires$inboundSchema, SamlLoginRequiredResponseRequires$outboundSchema, SamlLoginRequiredResponseRequires$, SamlLoginRequiredResponse$inboundSchema, SamlLoginRequiredResponse$outboundSchema, SamlLoginRequiredResponse$;
38673
38767
  var init_samlloginrequiredresponse = __esm(() => {
@@ -38819,6 +38913,45 @@ var init_security2 = __esm(() => {
38819
38913
  })(Security$ ||= {});
38820
38914
  });
38821
38915
 
38916
+ // src/models/components/standingappointment.ts
38917
+ var StandingAppointment$inboundSchema, StandingAppointment$outboundSchema, StandingAppointment$;
38918
+ var init_standingappointment = __esm(() => {
38919
+ init_esm();
38920
+ init_primitives();
38921
+ StandingAppointment$inboundSchema = objectType({
38922
+ id: numberType().int().optional(),
38923
+ title: nullableType(stringType()).optional(),
38924
+ location: nullableType(stringType()).optional(),
38925
+ attendees: arrayType(stringType()).optional(),
38926
+ start: nullableType(stringType()).optional(),
38927
+ end: nullableType(stringType()).optional(),
38928
+ class_name: nullableType(stringType()).optional(),
38929
+ status: nullableType(stringType()).optional()
38930
+ }).transform((v2) => {
38931
+ return remap(v2, {
38932
+ class_name: "className"
38933
+ });
38934
+ });
38935
+ StandingAppointment$outboundSchema = objectType({
38936
+ id: numberType().int().optional(),
38937
+ title: nullableType(stringType()).optional(),
38938
+ location: nullableType(stringType()).optional(),
38939
+ attendees: arrayType(stringType()).optional(),
38940
+ start: nullableType(stringType()).optional(),
38941
+ end: nullableType(stringType()).optional(),
38942
+ className: nullableType(stringType()).optional(),
38943
+ status: nullableType(stringType()).optional()
38944
+ }).transform((v2) => {
38945
+ return remap(v2, {
38946
+ className: "class_name"
38947
+ });
38948
+ });
38949
+ ((StandingAppointment$) => {
38950
+ StandingAppointment$.inboundSchema = StandingAppointment$inboundSchema;
38951
+ StandingAppointment$.outboundSchema = StandingAppointment$outboundSchema;
38952
+ })(StandingAppointment$ ||= {});
38953
+ });
38954
+
38822
38955
  // src/models/components/state.ts
38823
38956
  var State, State$inboundSchema, State$outboundSchema, State$;
38824
38957
  var init_state = __esm(() => {
@@ -39668,7 +39801,7 @@ var init_vendor = __esm(() => {
39668
39801
  });
39669
39802
 
39670
39803
  // src/models/components/user.ts
39671
- var UserType, TokenType, UserType$inboundSchema, UserType$outboundSchema, UserType$, UserUser$inboundSchema, UserUser$outboundSchema, UserUser$, TokenType$inboundSchema, TokenType$outboundSchema, TokenType$, UserToken$inboundSchema, UserToken$outboundSchema, UserToken$, InventoryManager$inboundSchema, InventoryManager$outboundSchema, InventoryManager$, User$inboundSchema, User$outboundSchema, User$;
39804
+ var UserType, TokenType, UserType$inboundSchema, UserType$outboundSchema, UserType$, TokenType$inboundSchema, TokenType$outboundSchema, TokenType$, UserUser$inboundSchema, UserUser$outboundSchema, UserUser$, UserToken$inboundSchema, UserToken$outboundSchema, UserToken$, InventoryManager$inboundSchema, InventoryManager$outboundSchema, InventoryManager$, User$inboundSchema, User$outboundSchema, User$;
39672
39805
  var init_user = __esm(() => {
39673
39806
  init_esm();
39674
39807
  init_primitives();
@@ -39698,6 +39831,12 @@ var init_user = __esm(() => {
39698
39831
  UserType$.inboundSchema = UserType$inboundSchema;
39699
39832
  UserType$.outboundSchema = UserType$outboundSchema;
39700
39833
  })(UserType$ ||= {});
39834
+ TokenType$inboundSchema = nativeEnumType(TokenType);
39835
+ TokenType$outboundSchema = TokenType$inboundSchema;
39836
+ ((TokenType$) => {
39837
+ TokenType$.inboundSchema = TokenType$inboundSchema;
39838
+ TokenType$.outboundSchema = TokenType$outboundSchema;
39839
+ })(TokenType$ ||= {});
39701
39840
  UserUser$inboundSchema = objectType({
39702
39841
  id: numberType().int(),
39703
39842
  first_name: nullableType(stringType()).optional(),
@@ -39744,12 +39883,6 @@ var init_user = __esm(() => {
39744
39883
  UserUser$.inboundSchema = UserUser$inboundSchema;
39745
39884
  UserUser$.outboundSchema = UserUser$outboundSchema;
39746
39885
  })(UserUser$ ||= {});
39747
- TokenType$inboundSchema = nativeEnumType(TokenType);
39748
- TokenType$outboundSchema = TokenType$inboundSchema;
39749
- ((TokenType$) => {
39750
- TokenType$.inboundSchema = TokenType$inboundSchema;
39751
- TokenType$.outboundSchema = TokenType$outboundSchema;
39752
- })(TokenType$ ||= {});
39753
39886
  UserToken$inboundSchema = objectType({
39754
39887
  token: stringType(),
39755
39888
  token_type: TokenType$inboundSchema.default("permanent")
@@ -40144,7 +40277,7 @@ var init_vendorcredentialsummary = __esm(() => {
40144
40277
  });
40145
40278
 
40146
40279
  // src/models/components/vendorcredentialdatarequest.ts
40147
- var VendorCredentialDataRequestStatus, VendorCredentialDataRequestVendorCredential$inboundSchema, VendorCredentialDataRequestVendorCredential$outboundSchema, VendorCredentialDataRequestVendorCredential$, VendorCredentialDataRequestDataRequest$inboundSchema, VendorCredentialDataRequestDataRequest$outboundSchema, VendorCredentialDataRequestDataRequest$, VendorCredentialDataRequestStatus$inboundSchema, VendorCredentialDataRequestStatus$outboundSchema, VendorCredentialDataRequestStatus$, VendorCredentialDataRequestFile$inboundSchema, VendorCredentialDataRequestFile$outboundSchema, VendorCredentialDataRequestFile$, VendorCredentialDataRequest$inboundSchema, VendorCredentialDataRequest$outboundSchema, VendorCredentialDataRequest$;
40280
+ var VendorCredentialDataRequestStatus, VendorCredentialDataRequestStatus$inboundSchema, VendorCredentialDataRequestStatus$outboundSchema, VendorCredentialDataRequestStatus$, VendorCredentialDataRequestVendorCredential$inboundSchema, VendorCredentialDataRequestVendorCredential$outboundSchema, VendorCredentialDataRequestVendorCredential$, VendorCredentialDataRequestDataRequest$inboundSchema, VendorCredentialDataRequestDataRequest$outboundSchema, VendorCredentialDataRequestDataRequest$, VendorCredentialDataRequestFile$inboundSchema, VendorCredentialDataRequestFile$outboundSchema, VendorCredentialDataRequestFile$, VendorCredentialDataRequest$inboundSchema, VendorCredentialDataRequest$outboundSchema, VendorCredentialDataRequest$;
40148
40281
  var init_vendorcredentialdatarequest = __esm(() => {
40149
40282
  init_esm();
40150
40283
  init_primitives();
@@ -40154,6 +40287,12 @@ var init_vendorcredentialdatarequest = __esm(() => {
40154
40287
  Requested: "Requested",
40155
40288
  Submitted: "Submitted"
40156
40289
  };
40290
+ VendorCredentialDataRequestStatus$inboundSchema = nativeEnumType(VendorCredentialDataRequestStatus);
40291
+ VendorCredentialDataRequestStatus$outboundSchema = VendorCredentialDataRequestStatus$inboundSchema;
40292
+ ((VendorCredentialDataRequestStatus$) => {
40293
+ VendorCredentialDataRequestStatus$.inboundSchema = VendorCredentialDataRequestStatus$inboundSchema;
40294
+ VendorCredentialDataRequestStatus$.outboundSchema = VendorCredentialDataRequestStatus$outboundSchema;
40295
+ })(VendorCredentialDataRequestStatus$ ||= {});
40157
40296
  VendorCredentialDataRequestVendorCredential$inboundSchema = unionType([
40158
40297
  lazyType(() => VendorCredentialSummary$inboundSchema),
40159
40298
  numberType().int()
@@ -40172,12 +40311,6 @@ var init_vendorcredentialdatarequest = __esm(() => {
40172
40311
  VendorCredentialDataRequestDataRequest$.inboundSchema = VendorCredentialDataRequestDataRequest$inboundSchema;
40173
40312
  VendorCredentialDataRequestDataRequest$.outboundSchema = VendorCredentialDataRequestDataRequest$outboundSchema;
40174
40313
  })(VendorCredentialDataRequestDataRequest$ ||= {});
40175
- VendorCredentialDataRequestStatus$inboundSchema = nativeEnumType(VendorCredentialDataRequestStatus);
40176
- VendorCredentialDataRequestStatus$outboundSchema = VendorCredentialDataRequestStatus$inboundSchema;
40177
- ((VendorCredentialDataRequestStatus$) => {
40178
- VendorCredentialDataRequestStatus$.inboundSchema = VendorCredentialDataRequestStatus$inboundSchema;
40179
- VendorCredentialDataRequestStatus$.outboundSchema = VendorCredentialDataRequestStatus$outboundSchema;
40180
- })(VendorCredentialDataRequestStatus$ ||= {});
40181
40314
  VendorCredentialDataRequestFile$inboundSchema = objectType({
40182
40315
  file_name: nullableType(stringType()).optional(),
40183
40316
  content_type: nullableType(stringType()).optional(),
@@ -40697,6 +40830,7 @@ var init_components = __esm(() => {
40697
40830
  init_facilitystatus();
40698
40831
  init_facilitysummary();
40699
40832
  init_facilityvendortype();
40833
+ init_feed();
40700
40834
  init_financialstatus();
40701
40835
  init_handoff();
40702
40836
  init_imageset();
@@ -40709,12 +40843,14 @@ var init_components = __esm(() => {
40709
40843
  init_pager();
40710
40844
  init_passwordrequiredresponse();
40711
40845
  init_paymentprofile();
40846
+ init_pendinginvitation();
40712
40847
  init_product();
40713
40848
  init_productvariant();
40714
40849
  init_samlloginrequiredresponse();
40715
40850
  init_scantype();
40716
40851
  init_screeningresponse();
40717
40852
  init_security2();
40853
+ init_standingappointment();
40718
40854
  init_state();
40719
40855
  init_subscription();
40720
40856
  init_supervisor();
@@ -41232,7 +41368,7 @@ var init_createevent = __esm(() => {
41232
41368
  });
41233
41369
 
41234
41370
  // src/models/operations/createinvoice.ts
41235
- var CreateInvoiceRequestBodyInvoicesPaymentHandler, CreateInvoiceRequestBodyPaymentHandler, RequestBodyPaymentHandler, PaymentHandler, CreateInvoiceRequestBodyInvoicesPaymentHandler$inboundSchema, CreateInvoiceRequestBodyInvoicesPaymentHandler$outboundSchema, CreateInvoiceRequestBodyInvoicesPaymentHandler$, CreateInvoiceRequestBodyInvoicesLines$inboundSchema, CreateInvoiceRequestBodyInvoicesLines$outboundSchema, CreateInvoiceRequestBodyInvoicesLines$, Four$inboundSchema, Four$outboundSchema, Four$, CreateInvoiceRequestBodyPaymentHandler$inboundSchema, CreateInvoiceRequestBodyPaymentHandler$outboundSchema, CreateInvoiceRequestBodyPaymentHandler$, CreateInvoiceRequestBodyLines$inboundSchema, CreateInvoiceRequestBodyLines$outboundSchema, CreateInvoiceRequestBodyLines$, Three$inboundSchema, Three$outboundSchema, Three$, RequestBodyPaymentHandler$inboundSchema, RequestBodyPaymentHandler$outboundSchema, RequestBodyPaymentHandler$, RequestBodyLines$inboundSchema, RequestBodyLines$outboundSchema, RequestBodyLines$, RequestBody2$inboundSchema, RequestBody2$outboundSchema, RequestBody2$, PaymentHandler$inboundSchema, PaymentHandler$outboundSchema, PaymentHandler$, Lines$inboundSchema, Lines$outboundSchema, Lines$, RequestBody1$inboundSchema, RequestBody1$outboundSchema, RequestBody1$, CreateInvoiceRequestBody$inboundSchema, CreateInvoiceRequestBody$outboundSchema, CreateInvoiceRequestBody$, CreateInvoiceResponseBody$inboundSchema, CreateInvoiceResponseBody$outboundSchema, CreateInvoiceResponseBody$;
41371
+ var CreateInvoiceRequestBodyInvoicesPaymentHandler, CreateInvoiceRequestBodyPaymentHandler, RequestBodyPaymentHandler, PaymentHandler, CreateInvoiceRequestBodyInvoicesPaymentHandler$inboundSchema, CreateInvoiceRequestBodyInvoicesPaymentHandler$outboundSchema, CreateInvoiceRequestBodyInvoicesPaymentHandler$, CreateInvoiceRequestBodyPaymentHandler$inboundSchema, CreateInvoiceRequestBodyPaymentHandler$outboundSchema, CreateInvoiceRequestBodyPaymentHandler$, RequestBodyPaymentHandler$inboundSchema, RequestBodyPaymentHandler$outboundSchema, RequestBodyPaymentHandler$, PaymentHandler$inboundSchema, PaymentHandler$outboundSchema, PaymentHandler$, CreateInvoiceRequestBodyInvoicesLines$inboundSchema, CreateInvoiceRequestBodyInvoicesLines$outboundSchema, CreateInvoiceRequestBodyInvoicesLines$, Four$inboundSchema, Four$outboundSchema, Four$, CreateInvoiceRequestBodyLines$inboundSchema, CreateInvoiceRequestBodyLines$outboundSchema, CreateInvoiceRequestBodyLines$, Three$inboundSchema, Three$outboundSchema, Three$, RequestBodyLines$inboundSchema, RequestBodyLines$outboundSchema, RequestBodyLines$, RequestBody2$inboundSchema, RequestBody2$outboundSchema, RequestBody2$, Lines$inboundSchema, Lines$outboundSchema, Lines$, RequestBody1$inboundSchema, RequestBody1$outboundSchema, RequestBody1$, CreateInvoiceRequestBody$inboundSchema, CreateInvoiceRequestBody$outboundSchema, CreateInvoiceRequestBody$, CreateInvoiceResponseBody$inboundSchema, CreateInvoiceResponseBody$outboundSchema, CreateInvoiceResponseBody$;
41236
41372
  var init_createinvoice = __esm(() => {
41237
41373
  init_esm();
41238
41374
  init_primitives();
@@ -41263,6 +41399,24 @@ var init_createinvoice = __esm(() => {
41263
41399
  CreateInvoiceRequestBodyInvoicesPaymentHandler$.inboundSchema = CreateInvoiceRequestBodyInvoicesPaymentHandler$inboundSchema;
41264
41400
  CreateInvoiceRequestBodyInvoicesPaymentHandler$.outboundSchema = CreateInvoiceRequestBodyInvoicesPaymentHandler$outboundSchema;
41265
41401
  })(CreateInvoiceRequestBodyInvoicesPaymentHandler$ ||= {});
41402
+ CreateInvoiceRequestBodyPaymentHandler$inboundSchema = nativeEnumType(CreateInvoiceRequestBodyPaymentHandler);
41403
+ CreateInvoiceRequestBodyPaymentHandler$outboundSchema = CreateInvoiceRequestBodyPaymentHandler$inboundSchema;
41404
+ ((CreateInvoiceRequestBodyPaymentHandler$) => {
41405
+ CreateInvoiceRequestBodyPaymentHandler$.inboundSchema = CreateInvoiceRequestBodyPaymentHandler$inboundSchema;
41406
+ CreateInvoiceRequestBodyPaymentHandler$.outboundSchema = CreateInvoiceRequestBodyPaymentHandler$outboundSchema;
41407
+ })(CreateInvoiceRequestBodyPaymentHandler$ ||= {});
41408
+ RequestBodyPaymentHandler$inboundSchema = nativeEnumType(RequestBodyPaymentHandler);
41409
+ RequestBodyPaymentHandler$outboundSchema = RequestBodyPaymentHandler$inboundSchema;
41410
+ ((RequestBodyPaymentHandler$) => {
41411
+ RequestBodyPaymentHandler$.inboundSchema = RequestBodyPaymentHandler$inboundSchema;
41412
+ RequestBodyPaymentHandler$.outboundSchema = RequestBodyPaymentHandler$outboundSchema;
41413
+ })(RequestBodyPaymentHandler$ ||= {});
41414
+ PaymentHandler$inboundSchema = nativeEnumType(PaymentHandler);
41415
+ PaymentHandler$outboundSchema = PaymentHandler$inboundSchema;
41416
+ ((PaymentHandler$) => {
41417
+ PaymentHandler$.inboundSchema = PaymentHandler$inboundSchema;
41418
+ PaymentHandler$.outboundSchema = PaymentHandler$outboundSchema;
41419
+ })(PaymentHandler$ ||= {});
41266
41420
  CreateInvoiceRequestBodyInvoicesLines$inboundSchema = objectType({
41267
41421
  variant_id: numberType().int(),
41268
41422
  unit_price: numberType().optional(),
@@ -41331,12 +41485,6 @@ var init_createinvoice = __esm(() => {
41331
41485
  Four$.inboundSchema = Four$inboundSchema;
41332
41486
  Four$.outboundSchema = Four$outboundSchema;
41333
41487
  })(Four$ ||= {});
41334
- CreateInvoiceRequestBodyPaymentHandler$inboundSchema = nativeEnumType(CreateInvoiceRequestBodyPaymentHandler);
41335
- CreateInvoiceRequestBodyPaymentHandler$outboundSchema = CreateInvoiceRequestBodyPaymentHandler$inboundSchema;
41336
- ((CreateInvoiceRequestBodyPaymentHandler$) => {
41337
- CreateInvoiceRequestBodyPaymentHandler$.inboundSchema = CreateInvoiceRequestBodyPaymentHandler$inboundSchema;
41338
- CreateInvoiceRequestBodyPaymentHandler$.outboundSchema = CreateInvoiceRequestBodyPaymentHandler$outboundSchema;
41339
- })(CreateInvoiceRequestBodyPaymentHandler$ ||= {});
41340
41488
  CreateInvoiceRequestBodyLines$inboundSchema = objectType({
41341
41489
  variant_id: numberType().int(),
41342
41490
  unit_price: numberType().optional(),
@@ -41405,12 +41553,6 @@ var init_createinvoice = __esm(() => {
41405
41553
  Three$.inboundSchema = Three$inboundSchema;
41406
41554
  Three$.outboundSchema = Three$outboundSchema;
41407
41555
  })(Three$ ||= {});
41408
- RequestBodyPaymentHandler$inboundSchema = nativeEnumType(RequestBodyPaymentHandler);
41409
- RequestBodyPaymentHandler$outboundSchema = RequestBodyPaymentHandler$inboundSchema;
41410
- ((RequestBodyPaymentHandler$) => {
41411
- RequestBodyPaymentHandler$.inboundSchema = RequestBodyPaymentHandler$inboundSchema;
41412
- RequestBodyPaymentHandler$.outboundSchema = RequestBodyPaymentHandler$outboundSchema;
41413
- })(RequestBodyPaymentHandler$ ||= {});
41414
41556
  RequestBodyLines$inboundSchema = objectType({
41415
41557
  variant_id: numberType().int(),
41416
41558
  unit_price: numberType().optional(),
@@ -41479,12 +41621,6 @@ var init_createinvoice = __esm(() => {
41479
41621
  RequestBody2$.inboundSchema = RequestBody2$inboundSchema;
41480
41622
  RequestBody2$.outboundSchema = RequestBody2$outboundSchema;
41481
41623
  })(RequestBody2$ ||= {});
41482
- PaymentHandler$inboundSchema = nativeEnumType(PaymentHandler);
41483
- PaymentHandler$outboundSchema = PaymentHandler$inboundSchema;
41484
- ((PaymentHandler$) => {
41485
- PaymentHandler$.inboundSchema = PaymentHandler$inboundSchema;
41486
- PaymentHandler$.outboundSchema = PaymentHandler$outboundSchema;
41487
- })(PaymentHandler$ ||= {});
41488
41624
  Lines$inboundSchema = objectType({
41489
41625
  variant_id: numberType().int(),
41490
41626
  unit_price: numberType().optional(),
@@ -42439,6 +42575,202 @@ var init_listallwebhookendpoints = __esm(() => {
42439
42575
  })(ListAllWebhookEndpointsListAllWebhookEndpointsOk$ ||= {});
42440
42576
  });
42441
42577
 
42578
+ // src/models/operations/listfeed.ts
42579
+ var ListFeedRequest$inboundSchema, ListFeedRequest$outboundSchema, ListFeedRequest$, ListFeedResponseBody$inboundSchema, ListFeedResponseBody$outboundSchema, ListFeedResponseBody$, ListFeedResponse$inboundSchema, ListFeedResponse$outboundSchema, ListFeedResponse$;
42580
+ var init_listfeed = __esm(() => {
42581
+ init_esm();
42582
+ init_primitives();
42583
+ init_components();
42584
+ ListFeedRequest$inboundSchema = objectType({
42585
+ sort: nullableType(stringType()).optional(),
42586
+ desc: Desc$inboundSchema.optional(),
42587
+ page: numberType().int().optional(),
42588
+ items_per_page: numberType().int().optional(),
42589
+ facility_id: numberType().int().optional(),
42590
+ department_id: numberType().int().optional(),
42591
+ user_id: numberType().int().optional(),
42592
+ facility_ids: stringType().optional(),
42593
+ department_ids: stringType().optional(),
42594
+ user_ids: stringType().optional(),
42595
+ start_date: numberType().int().optional(),
42596
+ end_date: numberType().int().optional(),
42597
+ status_pending_approver: booleanType().optional(),
42598
+ status_pending_invitee: booleanType().optional(),
42599
+ status_approved: booleanType().optional(),
42600
+ status_denied: booleanType().optional()
42601
+ }).transform((v2) => {
42602
+ return remap(v2, {
42603
+ items_per_page: "itemsPerPage",
42604
+ facility_id: "facilityId",
42605
+ department_id: "departmentId",
42606
+ user_id: "userId",
42607
+ facility_ids: "facilityIds",
42608
+ department_ids: "departmentIds",
42609
+ user_ids: "userIds",
42610
+ start_date: "startDate",
42611
+ end_date: "endDate",
42612
+ status_pending_approver: "statusPendingApprover",
42613
+ status_pending_invitee: "statusPendingInvitee",
42614
+ status_approved: "statusApproved",
42615
+ status_denied: "statusDenied"
42616
+ });
42617
+ });
42618
+ ListFeedRequest$outboundSchema = objectType({
42619
+ sort: nullableType(stringType()).optional(),
42620
+ desc: Desc$outboundSchema.optional(),
42621
+ page: numberType().int().optional(),
42622
+ itemsPerPage: numberType().int().optional(),
42623
+ facilityId: numberType().int().optional(),
42624
+ departmentId: numberType().int().optional(),
42625
+ userId: numberType().int().optional(),
42626
+ facilityIds: stringType().optional(),
42627
+ departmentIds: stringType().optional(),
42628
+ userIds: stringType().optional(),
42629
+ startDate: numberType().int().optional(),
42630
+ endDate: numberType().int().optional(),
42631
+ statusPendingApprover: booleanType().optional(),
42632
+ statusPendingInvitee: booleanType().optional(),
42633
+ statusApproved: booleanType().optional(),
42634
+ statusDenied: booleanType().optional()
42635
+ }).transform((v2) => {
42636
+ return remap(v2, {
42637
+ itemsPerPage: "items_per_page",
42638
+ facilityId: "facility_id",
42639
+ departmentId: "department_id",
42640
+ userId: "user_id",
42641
+ facilityIds: "facility_ids",
42642
+ departmentIds: "department_ids",
42643
+ userIds: "user_ids",
42644
+ startDate: "start_date",
42645
+ endDate: "end_date",
42646
+ statusPendingApprover: "status_pending_approver",
42647
+ statusPendingInvitee: "status_pending_invitee",
42648
+ statusApproved: "status_approved",
42649
+ statusDenied: "status_denied"
42650
+ });
42651
+ });
42652
+ ((ListFeedRequest$) => {
42653
+ ListFeedRequest$.inboundSchema = ListFeedRequest$inboundSchema;
42654
+ ListFeedRequest$.outboundSchema = ListFeedRequest$outboundSchema;
42655
+ })(ListFeedRequest$ ||= {});
42656
+ ListFeedResponseBody$inboundSchema = objectType({
42657
+ pager: Pager$inboundSchema,
42658
+ items: arrayType(nullableType(Feed$inboundSchema))
42659
+ });
42660
+ ListFeedResponseBody$outboundSchema = objectType({
42661
+ pager: Pager$outboundSchema,
42662
+ items: arrayType(nullableType(Feed$outboundSchema))
42663
+ });
42664
+ ((ListFeedResponseBody$) => {
42665
+ ListFeedResponseBody$.inboundSchema = ListFeedResponseBody$inboundSchema;
42666
+ ListFeedResponseBody$.outboundSchema = ListFeedResponseBody$outboundSchema;
42667
+ })(ListFeedResponseBody$ ||= {});
42668
+ ListFeedResponse$inboundSchema = objectType({
42669
+ Result: lazyType(() => ListFeedResponseBody$inboundSchema)
42670
+ }).transform((v2) => {
42671
+ return remap(v2, {
42672
+ Result: "result"
42673
+ });
42674
+ });
42675
+ ListFeedResponse$outboundSchema = objectType({
42676
+ result: lazyType(() => ListFeedResponseBody$outboundSchema)
42677
+ }).transform((v2) => {
42678
+ return remap(v2, {
42679
+ result: "Result"
42680
+ });
42681
+ });
42682
+ ((ListFeedResponse$) => {
42683
+ ListFeedResponse$.inboundSchema = ListFeedResponse$inboundSchema;
42684
+ ListFeedResponse$.outboundSchema = ListFeedResponse$outboundSchema;
42685
+ })(ListFeedResponse$ ||= {});
42686
+ });
42687
+
42688
+ // src/models/operations/listlocations.ts
42689
+ var ListLocationsRequest$inboundSchema, ListLocationsRequest$outboundSchema, ListLocationsRequest$, Items$inboundSchema, Items$outboundSchema, Items$, ListLocationsResponseBody$inboundSchema, ListLocationsResponseBody$outboundSchema, ListLocationsResponseBody$, ListLocationsResponse$inboundSchema, ListLocationsResponse$outboundSchema, ListLocationsResponse$;
42690
+ var init_listlocations = __esm(() => {
42691
+ init_esm();
42692
+ init_primitives();
42693
+ init_components();
42694
+ ListLocationsRequest$inboundSchema = objectType({
42695
+ sort: nullableType(stringType()).optional(),
42696
+ desc: Desc$inboundSchema.optional(),
42697
+ page: numberType().int().optional(),
42698
+ items_per_page: numberType().int().optional(),
42699
+ invitee_user_ids: stringType().optional(),
42700
+ invitee_department_ids: stringType().optional(),
42701
+ event_id: numberType().int().optional()
42702
+ }).transform((v2) => {
42703
+ return remap(v2, {
42704
+ items_per_page: "itemsPerPage",
42705
+ invitee_user_ids: "inviteeUserIds",
42706
+ invitee_department_ids: "inviteeDepartmentIds",
42707
+ event_id: "eventId"
42708
+ });
42709
+ });
42710
+ ListLocationsRequest$outboundSchema = objectType({
42711
+ sort: nullableType(stringType()).optional(),
42712
+ desc: Desc$outboundSchema.optional(),
42713
+ page: numberType().int().optional(),
42714
+ itemsPerPage: numberType().int().optional(),
42715
+ inviteeUserIds: stringType().optional(),
42716
+ inviteeDepartmentIds: stringType().optional(),
42717
+ eventId: numberType().int().optional()
42718
+ }).transform((v2) => {
42719
+ return remap(v2, {
42720
+ itemsPerPage: "items_per_page",
42721
+ inviteeUserIds: "invitee_user_ids",
42722
+ inviteeDepartmentIds: "invitee_department_ids",
42723
+ eventId: "event_id"
42724
+ });
42725
+ });
42726
+ ((ListLocationsRequest$) => {
42727
+ ListLocationsRequest$.inboundSchema = ListLocationsRequest$inboundSchema;
42728
+ ListLocationsRequest$.outboundSchema = ListLocationsRequest$outboundSchema;
42729
+ })(ListLocationsRequest$ ||= {});
42730
+ Items$inboundSchema = objectType({
42731
+ id: stringType().optional(),
42732
+ label: stringType().optional()
42733
+ });
42734
+ Items$outboundSchema = objectType({
42735
+ id: stringType().optional(),
42736
+ label: stringType().optional()
42737
+ });
42738
+ ((Items$) => {
42739
+ Items$.inboundSchema = Items$inboundSchema;
42740
+ Items$.outboundSchema = Items$outboundSchema;
42741
+ })(Items$ ||= {});
42742
+ ListLocationsResponseBody$inboundSchema = objectType({
42743
+ items: arrayType(lazyType(() => Items$inboundSchema)),
42744
+ pager: Pager$inboundSchema
42745
+ });
42746
+ ListLocationsResponseBody$outboundSchema = objectType({
42747
+ items: arrayType(lazyType(() => Items$outboundSchema)),
42748
+ pager: Pager$outboundSchema
42749
+ });
42750
+ ((ListLocationsResponseBody$) => {
42751
+ ListLocationsResponseBody$.inboundSchema = ListLocationsResponseBody$inboundSchema;
42752
+ ListLocationsResponseBody$.outboundSchema = ListLocationsResponseBody$outboundSchema;
42753
+ })(ListLocationsResponseBody$ ||= {});
42754
+ ListLocationsResponse$inboundSchema = objectType({
42755
+ Result: lazyType(() => ListLocationsResponseBody$inboundSchema)
42756
+ }).transform((v2) => {
42757
+ return remap(v2, {
42758
+ Result: "result"
42759
+ });
42760
+ });
42761
+ ListLocationsResponse$outboundSchema = objectType({
42762
+ result: lazyType(() => ListLocationsResponseBody$outboundSchema)
42763
+ }).transform((v2) => {
42764
+ return remap(v2, {
42765
+ result: "Result"
42766
+ });
42767
+ });
42768
+ ((ListLocationsResponse$) => {
42769
+ ListLocationsResponse$.inboundSchema = ListLocationsResponse$inboundSchema;
42770
+ ListLocationsResponse$.outboundSchema = ListLocationsResponse$outboundSchema;
42771
+ })(ListLocationsResponse$ ||= {});
42772
+ });
42773
+
42442
42774
  // src/models/operations/listorsearchcompanies.ts
42443
42775
  var ListOrSearchCompaniesRequest$inboundSchema, ListOrSearchCompaniesRequest$outboundSchema, ListOrSearchCompaniesRequest$, ListOrSearchCompaniesListOrSearchCompaniesOK$inboundSchema, ListOrSearchCompaniesListOrSearchCompaniesOK$outboundSchema, ListOrSearchCompaniesListOrSearchCompaniesOK$, ListOrSearchCompaniesResponse$inboundSchema, ListOrSearchCompaniesResponse$outboundSchema, ListOrSearchCompaniesResponse$;
42444
42776
  var init_listorsearchcompanies = __esm(() => {
@@ -42939,47 +43271,243 @@ var init_listorsearchvendorinvitees = __esm(() => {
42939
43271
  })(ListOrSearchVendorInviteesResponse$ ||= {});
42940
43272
  });
42941
43273
 
42942
- // src/models/operations/listsystems.ts
42943
- var ListSystemsRequest$inboundSchema, ListSystemsRequest$outboundSchema, ListSystemsRequest$, ListSystemsResponseBody$inboundSchema, ListSystemsResponseBody$outboundSchema, ListSystemsResponseBody$, ListSystemsResponse$inboundSchema, ListSystemsResponse$outboundSchema, ListSystemsResponse$;
42944
- var init_listsystems = __esm(() => {
43274
+ // src/models/operations/listpendinginvitations.ts
43275
+ var ListPendingInvitationsRequest$inboundSchema, ListPendingInvitationsRequest$outboundSchema, ListPendingInvitationsRequest$, ListPendingInvitationsResponseBody$inboundSchema, ListPendingInvitationsResponseBody$outboundSchema, ListPendingInvitationsResponseBody$, ListPendingInvitationsResponse$inboundSchema, ListPendingInvitationsResponse$outboundSchema, ListPendingInvitationsResponse$;
43276
+ var init_listpendinginvitations = __esm(() => {
42945
43277
  init_esm();
42946
43278
  init_primitives();
42947
43279
  init_components();
42948
- ListSystemsRequest$inboundSchema = objectType({
43280
+ ListPendingInvitationsRequest$inboundSchema = objectType({
42949
43281
  sort: nullableType(stringType()).optional(),
42950
43282
  desc: Desc$inboundSchema.optional(),
42951
43283
  page: numberType().int().optional(),
42952
43284
  items_per_page: numberType().int().optional(),
42953
- name_like: stringType().optional(),
42954
- expand: arrayType(Expand$inboundSchema).optional()
43285
+ facility_id: numberType().int().optional(),
43286
+ department_id: numberType().int().optional(),
43287
+ user_id: numberType().int().optional(),
43288
+ facility_ids: stringType().optional(),
43289
+ department_ids: stringType().optional(),
43290
+ user_ids: stringType().optional()
42955
43291
  }).transform((v2) => {
42956
43292
  return remap(v2, {
42957
43293
  items_per_page: "itemsPerPage",
42958
- name_like: "nameLike"
43294
+ facility_id: "facilityId",
43295
+ department_id: "departmentId",
43296
+ user_id: "userId",
43297
+ facility_ids: "facilityIds",
43298
+ department_ids: "departmentIds",
43299
+ user_ids: "userIds"
42959
43300
  });
42960
43301
  });
42961
- ListSystemsRequest$outboundSchema = objectType({
43302
+ ListPendingInvitationsRequest$outboundSchema = objectType({
42962
43303
  sort: nullableType(stringType()).optional(),
42963
43304
  desc: Desc$outboundSchema.optional(),
42964
43305
  page: numberType().int().optional(),
42965
43306
  itemsPerPage: numberType().int().optional(),
42966
- nameLike: stringType().optional(),
42967
- expand: arrayType(Expand$outboundSchema).optional()
43307
+ facilityId: numberType().int().optional(),
43308
+ departmentId: numberType().int().optional(),
43309
+ userId: numberType().int().optional(),
43310
+ facilityIds: stringType().optional(),
43311
+ departmentIds: stringType().optional(),
43312
+ userIds: stringType().optional()
42968
43313
  }).transform((v2) => {
42969
43314
  return remap(v2, {
42970
43315
  itemsPerPage: "items_per_page",
42971
- nameLike: "name_like"
43316
+ facilityId: "facility_id",
43317
+ departmentId: "department_id",
43318
+ userId: "user_id",
43319
+ facilityIds: "facility_ids",
43320
+ departmentIds: "department_ids",
43321
+ userIds: "user_ids"
42972
43322
  });
42973
43323
  });
42974
- ((ListSystemsRequest$) => {
42975
- ListSystemsRequest$.inboundSchema = ListSystemsRequest$inboundSchema;
42976
- ListSystemsRequest$.outboundSchema = ListSystemsRequest$outboundSchema;
42977
- })(ListSystemsRequest$ ||= {});
42978
- ListSystemsResponseBody$inboundSchema = objectType({
43324
+ ((ListPendingInvitationsRequest$) => {
43325
+ ListPendingInvitationsRequest$.inboundSchema = ListPendingInvitationsRequest$inboundSchema;
43326
+ ListPendingInvitationsRequest$.outboundSchema = ListPendingInvitationsRequest$outboundSchema;
43327
+ })(ListPendingInvitationsRequest$ ||= {});
43328
+ ListPendingInvitationsResponseBody$inboundSchema = objectType({
42979
43329
  pager: Pager$inboundSchema,
42980
- items: arrayType(SystemSummary$inboundSchema)
43330
+ items: arrayType(nullableType(PendingInvitation$inboundSchema))
42981
43331
  });
42982
- ListSystemsResponseBody$outboundSchema = objectType({
43332
+ ListPendingInvitationsResponseBody$outboundSchema = objectType({
43333
+ pager: Pager$outboundSchema,
43334
+ items: arrayType(nullableType(PendingInvitation$outboundSchema))
43335
+ });
43336
+ ((ListPendingInvitationsResponseBody$) => {
43337
+ ListPendingInvitationsResponseBody$.inboundSchema = ListPendingInvitationsResponseBody$inboundSchema;
43338
+ ListPendingInvitationsResponseBody$.outboundSchema = ListPendingInvitationsResponseBody$outboundSchema;
43339
+ })(ListPendingInvitationsResponseBody$ ||= {});
43340
+ ListPendingInvitationsResponse$inboundSchema = objectType({
43341
+ Result: lazyType(() => ListPendingInvitationsResponseBody$inboundSchema)
43342
+ }).transform((v2) => {
43343
+ return remap(v2, {
43344
+ Result: "result"
43345
+ });
43346
+ });
43347
+ ListPendingInvitationsResponse$outboundSchema = objectType({
43348
+ result: lazyType(() => ListPendingInvitationsResponseBody$outboundSchema)
43349
+ }).transform((v2) => {
43350
+ return remap(v2, {
43351
+ result: "Result"
43352
+ });
43353
+ });
43354
+ ((ListPendingInvitationsResponse$) => {
43355
+ ListPendingInvitationsResponse$.inboundSchema = ListPendingInvitationsResponse$inboundSchema;
43356
+ ListPendingInvitationsResponse$.outboundSchema = ListPendingInvitationsResponse$outboundSchema;
43357
+ })(ListPendingInvitationsResponse$ ||= {});
43358
+ });
43359
+
43360
+ // src/models/operations/liststandingappointments.ts
43361
+ var ListStandingAppointmentsRequest$inboundSchema, ListStandingAppointmentsRequest$outboundSchema, ListStandingAppointmentsRequest$, ListStandingAppointmentsResponseBody$inboundSchema, ListStandingAppointmentsResponseBody$outboundSchema, ListStandingAppointmentsResponseBody$, ListStandingAppointmentsResponse$inboundSchema, ListStandingAppointmentsResponse$outboundSchema, ListStandingAppointmentsResponse$;
43362
+ var init_liststandingappointments = __esm(() => {
43363
+ init_esm();
43364
+ init_primitives();
43365
+ init_components();
43366
+ ListStandingAppointmentsRequest$inboundSchema = objectType({
43367
+ sort: nullableType(stringType()).optional(),
43368
+ desc: Desc$inboundSchema.optional(),
43369
+ page: numberType().int().optional(),
43370
+ items_per_page: numberType().int().optional(),
43371
+ facility_id: numberType().int().optional(),
43372
+ department_id: numberType().int().optional(),
43373
+ user_id: numberType().int().optional(),
43374
+ facility_ids: stringType().optional(),
43375
+ department_ids: stringType().optional(),
43376
+ user_ids: stringType().optional(),
43377
+ start_date: numberType().int().optional(),
43378
+ end_date: numberType().int().optional(),
43379
+ status_pending_approver: booleanType().optional(),
43380
+ status_pending_invitee: booleanType().optional(),
43381
+ status_approved: booleanType().optional(),
43382
+ status_denied: booleanType().optional()
43383
+ }).transform((v2) => {
43384
+ return remap(v2, {
43385
+ items_per_page: "itemsPerPage",
43386
+ facility_id: "facilityId",
43387
+ department_id: "departmentId",
43388
+ user_id: "userId",
43389
+ facility_ids: "facilityIds",
43390
+ department_ids: "departmentIds",
43391
+ user_ids: "userIds",
43392
+ start_date: "startDate",
43393
+ end_date: "endDate",
43394
+ status_pending_approver: "statusPendingApprover",
43395
+ status_pending_invitee: "statusPendingInvitee",
43396
+ status_approved: "statusApproved",
43397
+ status_denied: "statusDenied"
43398
+ });
43399
+ });
43400
+ ListStandingAppointmentsRequest$outboundSchema = objectType({
43401
+ sort: nullableType(stringType()).optional(),
43402
+ desc: Desc$outboundSchema.optional(),
43403
+ page: numberType().int().optional(),
43404
+ itemsPerPage: numberType().int().optional(),
43405
+ facilityId: numberType().int().optional(),
43406
+ departmentId: numberType().int().optional(),
43407
+ userId: numberType().int().optional(),
43408
+ facilityIds: stringType().optional(),
43409
+ departmentIds: stringType().optional(),
43410
+ userIds: stringType().optional(),
43411
+ startDate: numberType().int().optional(),
43412
+ endDate: numberType().int().optional(),
43413
+ statusPendingApprover: booleanType().optional(),
43414
+ statusPendingInvitee: booleanType().optional(),
43415
+ statusApproved: booleanType().optional(),
43416
+ statusDenied: booleanType().optional()
43417
+ }).transform((v2) => {
43418
+ return remap(v2, {
43419
+ itemsPerPage: "items_per_page",
43420
+ facilityId: "facility_id",
43421
+ departmentId: "department_id",
43422
+ userId: "user_id",
43423
+ facilityIds: "facility_ids",
43424
+ departmentIds: "department_ids",
43425
+ userIds: "user_ids",
43426
+ startDate: "start_date",
43427
+ endDate: "end_date",
43428
+ statusPendingApprover: "status_pending_approver",
43429
+ statusPendingInvitee: "status_pending_invitee",
43430
+ statusApproved: "status_approved",
43431
+ statusDenied: "status_denied"
43432
+ });
43433
+ });
43434
+ ((ListStandingAppointmentsRequest$) => {
43435
+ ListStandingAppointmentsRequest$.inboundSchema = ListStandingAppointmentsRequest$inboundSchema;
43436
+ ListStandingAppointmentsRequest$.outboundSchema = ListStandingAppointmentsRequest$outboundSchema;
43437
+ })(ListStandingAppointmentsRequest$ ||= {});
43438
+ ListStandingAppointmentsResponseBody$inboundSchema = objectType({
43439
+ pager: Pager$inboundSchema,
43440
+ items: arrayType(nullableType(StandingAppointment$inboundSchema))
43441
+ });
43442
+ ListStandingAppointmentsResponseBody$outboundSchema = objectType({
43443
+ pager: Pager$outboundSchema,
43444
+ items: arrayType(nullableType(StandingAppointment$outboundSchema))
43445
+ });
43446
+ ((ListStandingAppointmentsResponseBody$) => {
43447
+ ListStandingAppointmentsResponseBody$.inboundSchema = ListStandingAppointmentsResponseBody$inboundSchema;
43448
+ ListStandingAppointmentsResponseBody$.outboundSchema = ListStandingAppointmentsResponseBody$outboundSchema;
43449
+ })(ListStandingAppointmentsResponseBody$ ||= {});
43450
+ ListStandingAppointmentsResponse$inboundSchema = objectType({
43451
+ Result: lazyType(() => ListStandingAppointmentsResponseBody$inboundSchema)
43452
+ }).transform((v2) => {
43453
+ return remap(v2, {
43454
+ Result: "result"
43455
+ });
43456
+ });
43457
+ ListStandingAppointmentsResponse$outboundSchema = objectType({
43458
+ result: lazyType(() => ListStandingAppointmentsResponseBody$outboundSchema)
43459
+ }).transform((v2) => {
43460
+ return remap(v2, {
43461
+ result: "Result"
43462
+ });
43463
+ });
43464
+ ((ListStandingAppointmentsResponse$) => {
43465
+ ListStandingAppointmentsResponse$.inboundSchema = ListStandingAppointmentsResponse$inboundSchema;
43466
+ ListStandingAppointmentsResponse$.outboundSchema = ListStandingAppointmentsResponse$outboundSchema;
43467
+ })(ListStandingAppointmentsResponse$ ||= {});
43468
+ });
43469
+
43470
+ // src/models/operations/listsystems.ts
43471
+ var ListSystemsRequest$inboundSchema, ListSystemsRequest$outboundSchema, ListSystemsRequest$, ListSystemsResponseBody$inboundSchema, ListSystemsResponseBody$outboundSchema, ListSystemsResponseBody$, ListSystemsResponse$inboundSchema, ListSystemsResponse$outboundSchema, ListSystemsResponse$;
43472
+ var init_listsystems = __esm(() => {
43473
+ init_esm();
43474
+ init_primitives();
43475
+ init_components();
43476
+ ListSystemsRequest$inboundSchema = objectType({
43477
+ sort: nullableType(stringType()).optional(),
43478
+ desc: Desc$inboundSchema.optional(),
43479
+ page: numberType().int().optional(),
43480
+ items_per_page: numberType().int().optional(),
43481
+ name_like: stringType().optional(),
43482
+ expand: arrayType(Expand$inboundSchema).optional()
43483
+ }).transform((v2) => {
43484
+ return remap(v2, {
43485
+ items_per_page: "itemsPerPage",
43486
+ name_like: "nameLike"
43487
+ });
43488
+ });
43489
+ ListSystemsRequest$outboundSchema = objectType({
43490
+ sort: nullableType(stringType()).optional(),
43491
+ desc: Desc$outboundSchema.optional(),
43492
+ page: numberType().int().optional(),
43493
+ itemsPerPage: numberType().int().optional(),
43494
+ nameLike: stringType().optional(),
43495
+ expand: arrayType(Expand$outboundSchema).optional()
43496
+ }).transform((v2) => {
43497
+ return remap(v2, {
43498
+ itemsPerPage: "items_per_page",
43499
+ nameLike: "name_like"
43500
+ });
43501
+ });
43502
+ ((ListSystemsRequest$) => {
43503
+ ListSystemsRequest$.inboundSchema = ListSystemsRequest$inboundSchema;
43504
+ ListSystemsRequest$.outboundSchema = ListSystemsRequest$outboundSchema;
43505
+ })(ListSystemsRequest$ ||= {});
43506
+ ListSystemsResponseBody$inboundSchema = objectType({
43507
+ pager: Pager$inboundSchema,
43508
+ items: arrayType(SystemSummary$inboundSchema)
43509
+ });
43510
+ ListSystemsResponseBody$outboundSchema = objectType({
42983
43511
  pager: Pager$outboundSchema,
42984
43512
  items: arrayType(SystemSummary$outboundSchema)
42985
43513
  });
@@ -44254,7 +44782,7 @@ var init_rotateapikey = __esm(() => {
44254
44782
  });
44255
44783
 
44256
44784
  // src/models/operations/securityzonecheckin.ts
44257
- var Requires2, Two$inboundSchema2, Two$outboundSchema2, Two$2, One$inboundSchema2, One$outboundSchema2, One$2, SecurityZoneCheckinRequestBody$inboundSchema, SecurityZoneCheckinRequestBody$outboundSchema, SecurityZoneCheckinRequestBody$, Requires$inboundSchema2, Requires$outboundSchema2, Requires$2, Results$inboundSchema, Results$outboundSchema, Results$, SecurityZoneCheckinResponseBody$inboundSchema, SecurityZoneCheckinResponseBody$outboundSchema, SecurityZoneCheckinResponseBody$;
44785
+ var Requires2, Requires$inboundSchema2, Requires$outboundSchema2, Requires$2, Two$inboundSchema2, Two$outboundSchema2, Two$2, One$inboundSchema2, One$outboundSchema2, One$2, SecurityZoneCheckinRequestBody$inboundSchema, SecurityZoneCheckinRequestBody$outboundSchema, SecurityZoneCheckinRequestBody$, Results$inboundSchema, Results$outboundSchema, Results$, SecurityZoneCheckinResponseBody$inboundSchema, SecurityZoneCheckinResponseBody$outboundSchema, SecurityZoneCheckinResponseBody$;
44258
44786
  var init_securityzonecheckin = __esm(() => {
44259
44787
  init_esm();
44260
44788
  init_primitives();
@@ -44262,6 +44790,12 @@ var init_securityzonecheckin = __esm(() => {
44262
44790
  Requires2 = {
44263
44791
  CompleteCheckin: "complete_checkin"
44264
44792
  };
44793
+ Requires$inboundSchema2 = nativeEnumType(Requires2);
44794
+ Requires$outboundSchema2 = Requires$inboundSchema2;
44795
+ ((Requires$) => {
44796
+ Requires$.inboundSchema = Requires$inboundSchema2;
44797
+ Requires$.outboundSchema = Requires$outboundSchema2;
44798
+ })(Requires$2 ||= {});
44265
44799
  Two$inboundSchema2 = objectType({
44266
44800
  qr_code: stringType(),
44267
44801
  zone_id: numberType().int(),
@@ -44415,12 +44949,6 @@ var init_securityzonecheckin = __esm(() => {
44415
44949
  SecurityZoneCheckinRequestBody$.inboundSchema = SecurityZoneCheckinRequestBody$inboundSchema;
44416
44950
  SecurityZoneCheckinRequestBody$.outboundSchema = SecurityZoneCheckinRequestBody$outboundSchema;
44417
44951
  })(SecurityZoneCheckinRequestBody$ ||= {});
44418
- Requires$inboundSchema2 = nativeEnumType(Requires2);
44419
- Requires$outboundSchema2 = Requires$inboundSchema2;
44420
- ((Requires$) => {
44421
- Requires$.inboundSchema = Requires$inboundSchema2;
44422
- Requires$.outboundSchema = Requires$outboundSchema2;
44423
- })(Requires$2 ||= {});
44424
44952
  Results$inboundSchema = objectType({
44425
44953
  has_valid_payment_profile: booleanType().optional(),
44426
44954
  subscription_expires: nullableType(stringType()).optional(),
@@ -44710,7 +45238,7 @@ var init_updateevent = __esm(() => {
44710
45238
  });
44711
45239
 
44712
45240
  // src/models/operations/updateinvoice.ts
44713
- var UpdateInvoiceRequestBodyInvoicesRequest4PaymentHandler, UpdateInvoiceRequestBodyInvoicesRequestPaymentHandler, UpdateInvoiceRequestBodyInvoicesPaymentHandler, UpdateInvoiceRequestBodyPaymentHandler, UpdateInvoiceRequestBodyInvoicesRequest4PaymentHandler$inboundSchema, UpdateInvoiceRequestBodyInvoicesRequest4PaymentHandler$outboundSchema, UpdateInvoiceRequestBodyInvoicesRequest4PaymentHandler$, UpdateInvoiceRequestBodyInvoicesRequest4Lines$inboundSchema, UpdateInvoiceRequestBodyInvoicesRequest4Lines$outboundSchema, UpdateInvoiceRequestBodyInvoicesRequest4Lines$, RequestBody4$inboundSchema, RequestBody4$outboundSchema, RequestBody4$, UpdateInvoiceRequestBodyInvoicesRequestPaymentHandler$inboundSchema, UpdateInvoiceRequestBodyInvoicesRequestPaymentHandler$outboundSchema, UpdateInvoiceRequestBodyInvoicesRequestPaymentHandler$, UpdateInvoiceRequestBodyInvoicesRequestLines$inboundSchema, UpdateInvoiceRequestBodyInvoicesRequestLines$outboundSchema, UpdateInvoiceRequestBodyInvoicesRequestLines$, RequestBody3$inboundSchema, RequestBody3$outboundSchema, RequestBody3$, UpdateInvoiceRequestBodyInvoicesPaymentHandler$inboundSchema, UpdateInvoiceRequestBodyInvoicesPaymentHandler$outboundSchema, UpdateInvoiceRequestBodyInvoicesPaymentHandler$, UpdateInvoiceRequestBodyInvoicesLines$inboundSchema, UpdateInvoiceRequestBodyInvoicesLines$outboundSchema, UpdateInvoiceRequestBodyInvoicesLines$, UpdateInvoiceRequestBody2$inboundSchema, UpdateInvoiceRequestBody2$outboundSchema, UpdateInvoiceRequestBody2$, UpdateInvoiceRequestBodyPaymentHandler$inboundSchema, UpdateInvoiceRequestBodyPaymentHandler$outboundSchema, UpdateInvoiceRequestBodyPaymentHandler$, UpdateInvoiceRequestBodyLines$inboundSchema, UpdateInvoiceRequestBodyLines$outboundSchema, UpdateInvoiceRequestBodyLines$, UpdateInvoiceRequestBody1$inboundSchema, UpdateInvoiceRequestBody1$outboundSchema, UpdateInvoiceRequestBody1$, UpdateInvoiceRequestBody$inboundSchema, UpdateInvoiceRequestBody$outboundSchema, UpdateInvoiceRequestBody$, UpdateInvoiceRequest$inboundSchema, UpdateInvoiceRequest$outboundSchema, UpdateInvoiceRequest$;
45241
+ var UpdateInvoiceRequestBodyInvoicesRequest4PaymentHandler, UpdateInvoiceRequestBodyInvoicesRequestPaymentHandler, UpdateInvoiceRequestBodyInvoicesPaymentHandler, UpdateInvoiceRequestBodyPaymentHandler, UpdateInvoiceRequestBodyInvoicesRequest4PaymentHandler$inboundSchema, UpdateInvoiceRequestBodyInvoicesRequest4PaymentHandler$outboundSchema, UpdateInvoiceRequestBodyInvoicesRequest4PaymentHandler$, UpdateInvoiceRequestBodyInvoicesRequestPaymentHandler$inboundSchema, UpdateInvoiceRequestBodyInvoicesRequestPaymentHandler$outboundSchema, UpdateInvoiceRequestBodyInvoicesRequestPaymentHandler$, UpdateInvoiceRequestBodyInvoicesPaymentHandler$inboundSchema, UpdateInvoiceRequestBodyInvoicesPaymentHandler$outboundSchema, UpdateInvoiceRequestBodyInvoicesPaymentHandler$, UpdateInvoiceRequestBodyPaymentHandler$inboundSchema, UpdateInvoiceRequestBodyPaymentHandler$outboundSchema, UpdateInvoiceRequestBodyPaymentHandler$, UpdateInvoiceRequestBodyInvoicesRequest4Lines$inboundSchema, UpdateInvoiceRequestBodyInvoicesRequest4Lines$outboundSchema, UpdateInvoiceRequestBodyInvoicesRequest4Lines$, RequestBody4$inboundSchema, RequestBody4$outboundSchema, RequestBody4$, UpdateInvoiceRequestBodyInvoicesRequestLines$inboundSchema, UpdateInvoiceRequestBodyInvoicesRequestLines$outboundSchema, UpdateInvoiceRequestBodyInvoicesRequestLines$, RequestBody3$inboundSchema, RequestBody3$outboundSchema, RequestBody3$, UpdateInvoiceRequestBodyInvoicesLines$inboundSchema, UpdateInvoiceRequestBodyInvoicesLines$outboundSchema, UpdateInvoiceRequestBodyInvoicesLines$, UpdateInvoiceRequestBody2$inboundSchema, UpdateInvoiceRequestBody2$outboundSchema, UpdateInvoiceRequestBody2$, UpdateInvoiceRequestBodyLines$inboundSchema, UpdateInvoiceRequestBodyLines$outboundSchema, UpdateInvoiceRequestBodyLines$, UpdateInvoiceRequestBody1$inboundSchema, UpdateInvoiceRequestBody1$outboundSchema, UpdateInvoiceRequestBody1$, UpdateInvoiceRequestBody$inboundSchema, UpdateInvoiceRequestBody$outboundSchema, UpdateInvoiceRequestBody$, UpdateInvoiceRequest$inboundSchema, UpdateInvoiceRequest$outboundSchema, UpdateInvoiceRequest$;
44714
45242
  var init_updateinvoice = __esm(() => {
44715
45243
  init_esm();
44716
45244
  init_primitives();
@@ -44741,6 +45269,24 @@ var init_updateinvoice = __esm(() => {
44741
45269
  UpdateInvoiceRequestBodyInvoicesRequest4PaymentHandler$.inboundSchema = UpdateInvoiceRequestBodyInvoicesRequest4PaymentHandler$inboundSchema;
44742
45270
  UpdateInvoiceRequestBodyInvoicesRequest4PaymentHandler$.outboundSchema = UpdateInvoiceRequestBodyInvoicesRequest4PaymentHandler$outboundSchema;
44743
45271
  })(UpdateInvoiceRequestBodyInvoicesRequest4PaymentHandler$ ||= {});
45272
+ UpdateInvoiceRequestBodyInvoicesRequestPaymentHandler$inboundSchema = nativeEnumType(UpdateInvoiceRequestBodyInvoicesRequestPaymentHandler);
45273
+ UpdateInvoiceRequestBodyInvoicesRequestPaymentHandler$outboundSchema = UpdateInvoiceRequestBodyInvoicesRequestPaymentHandler$inboundSchema;
45274
+ ((UpdateInvoiceRequestBodyInvoicesRequestPaymentHandler$) => {
45275
+ UpdateInvoiceRequestBodyInvoicesRequestPaymentHandler$.inboundSchema = UpdateInvoiceRequestBodyInvoicesRequestPaymentHandler$inboundSchema;
45276
+ UpdateInvoiceRequestBodyInvoicesRequestPaymentHandler$.outboundSchema = UpdateInvoiceRequestBodyInvoicesRequestPaymentHandler$outboundSchema;
45277
+ })(UpdateInvoiceRequestBodyInvoicesRequestPaymentHandler$ ||= {});
45278
+ UpdateInvoiceRequestBodyInvoicesPaymentHandler$inboundSchema = nativeEnumType(UpdateInvoiceRequestBodyInvoicesPaymentHandler);
45279
+ UpdateInvoiceRequestBodyInvoicesPaymentHandler$outboundSchema = UpdateInvoiceRequestBodyInvoicesPaymentHandler$inboundSchema;
45280
+ ((UpdateInvoiceRequestBodyInvoicesPaymentHandler$) => {
45281
+ UpdateInvoiceRequestBodyInvoicesPaymentHandler$.inboundSchema = UpdateInvoiceRequestBodyInvoicesPaymentHandler$inboundSchema;
45282
+ UpdateInvoiceRequestBodyInvoicesPaymentHandler$.outboundSchema = UpdateInvoiceRequestBodyInvoicesPaymentHandler$outboundSchema;
45283
+ })(UpdateInvoiceRequestBodyInvoicesPaymentHandler$ ||= {});
45284
+ UpdateInvoiceRequestBodyPaymentHandler$inboundSchema = nativeEnumType(UpdateInvoiceRequestBodyPaymentHandler);
45285
+ UpdateInvoiceRequestBodyPaymentHandler$outboundSchema = UpdateInvoiceRequestBodyPaymentHandler$inboundSchema;
45286
+ ((UpdateInvoiceRequestBodyPaymentHandler$) => {
45287
+ UpdateInvoiceRequestBodyPaymentHandler$.inboundSchema = UpdateInvoiceRequestBodyPaymentHandler$inboundSchema;
45288
+ UpdateInvoiceRequestBodyPaymentHandler$.outboundSchema = UpdateInvoiceRequestBodyPaymentHandler$outboundSchema;
45289
+ })(UpdateInvoiceRequestBodyPaymentHandler$ ||= {});
44744
45290
  UpdateInvoiceRequestBodyInvoicesRequest4Lines$inboundSchema = objectType({
44745
45291
  variant_id: numberType().int(),
44746
45292
  unit_price: numberType().optional(),
@@ -44809,12 +45355,6 @@ var init_updateinvoice = __esm(() => {
44809
45355
  RequestBody4$.inboundSchema = RequestBody4$inboundSchema;
44810
45356
  RequestBody4$.outboundSchema = RequestBody4$outboundSchema;
44811
45357
  })(RequestBody4$ ||= {});
44812
- UpdateInvoiceRequestBodyInvoicesRequestPaymentHandler$inboundSchema = nativeEnumType(UpdateInvoiceRequestBodyInvoicesRequestPaymentHandler);
44813
- UpdateInvoiceRequestBodyInvoicesRequestPaymentHandler$outboundSchema = UpdateInvoiceRequestBodyInvoicesRequestPaymentHandler$inboundSchema;
44814
- ((UpdateInvoiceRequestBodyInvoicesRequestPaymentHandler$) => {
44815
- UpdateInvoiceRequestBodyInvoicesRequestPaymentHandler$.inboundSchema = UpdateInvoiceRequestBodyInvoicesRequestPaymentHandler$inboundSchema;
44816
- UpdateInvoiceRequestBodyInvoicesRequestPaymentHandler$.outboundSchema = UpdateInvoiceRequestBodyInvoicesRequestPaymentHandler$outboundSchema;
44817
- })(UpdateInvoiceRequestBodyInvoicesRequestPaymentHandler$ ||= {});
44818
45358
  UpdateInvoiceRequestBodyInvoicesRequestLines$inboundSchema = objectType({
44819
45359
  variant_id: numberType().int(),
44820
45360
  unit_price: numberType().optional(),
@@ -44883,12 +45423,6 @@ var init_updateinvoice = __esm(() => {
44883
45423
  RequestBody3$.inboundSchema = RequestBody3$inboundSchema;
44884
45424
  RequestBody3$.outboundSchema = RequestBody3$outboundSchema;
44885
45425
  })(RequestBody3$ ||= {});
44886
- UpdateInvoiceRequestBodyInvoicesPaymentHandler$inboundSchema = nativeEnumType(UpdateInvoiceRequestBodyInvoicesPaymentHandler);
44887
- UpdateInvoiceRequestBodyInvoicesPaymentHandler$outboundSchema = UpdateInvoiceRequestBodyInvoicesPaymentHandler$inboundSchema;
44888
- ((UpdateInvoiceRequestBodyInvoicesPaymentHandler$) => {
44889
- UpdateInvoiceRequestBodyInvoicesPaymentHandler$.inboundSchema = UpdateInvoiceRequestBodyInvoicesPaymentHandler$inboundSchema;
44890
- UpdateInvoiceRequestBodyInvoicesPaymentHandler$.outboundSchema = UpdateInvoiceRequestBodyInvoicesPaymentHandler$outboundSchema;
44891
- })(UpdateInvoiceRequestBodyInvoicesPaymentHandler$ ||= {});
44892
45426
  UpdateInvoiceRequestBodyInvoicesLines$inboundSchema = objectType({
44893
45427
  variant_id: numberType().int(),
44894
45428
  unit_price: numberType().optional(),
@@ -44957,12 +45491,6 @@ var init_updateinvoice = __esm(() => {
44957
45491
  UpdateInvoiceRequestBody2$.inboundSchema = UpdateInvoiceRequestBody2$inboundSchema;
44958
45492
  UpdateInvoiceRequestBody2$.outboundSchema = UpdateInvoiceRequestBody2$outboundSchema;
44959
45493
  })(UpdateInvoiceRequestBody2$ ||= {});
44960
- UpdateInvoiceRequestBodyPaymentHandler$inboundSchema = nativeEnumType(UpdateInvoiceRequestBodyPaymentHandler);
44961
- UpdateInvoiceRequestBodyPaymentHandler$outboundSchema = UpdateInvoiceRequestBodyPaymentHandler$inboundSchema;
44962
- ((UpdateInvoiceRequestBodyPaymentHandler$) => {
44963
- UpdateInvoiceRequestBodyPaymentHandler$.inboundSchema = UpdateInvoiceRequestBodyPaymentHandler$inboundSchema;
44964
- UpdateInvoiceRequestBodyPaymentHandler$.outboundSchema = UpdateInvoiceRequestBodyPaymentHandler$outboundSchema;
44965
- })(UpdateInvoiceRequestBodyPaymentHandler$ ||= {});
44966
45494
  UpdateInvoiceRequestBodyLines$inboundSchema = objectType({
44967
45495
  variant_id: numberType().int(),
44968
45496
  unit_price: numberType().optional(),
@@ -45597,6 +46125,8 @@ var init_operations = __esm(() => {
45597
46125
  init_getvendorsdetails();
45598
46126
  init_getwebhookendpoint();
45599
46127
  init_listallwebhookendpoints();
46128
+ init_listfeed();
46129
+ init_listlocations();
45600
46130
  init_listorsearchcompanies();
45601
46131
  init_listorsearchdepartmentcontacts();
45602
46132
  init_listorsearchdepartments();
@@ -45604,6 +46134,8 @@ var init_operations = __esm(() => {
45604
46134
  init_listorsearchsecurityzones();
45605
46135
  init_listorsearchsupportarticles();
45606
46136
  init_listorsearchvendorinvitees();
46137
+ init_listpendinginvitations();
46138
+ init_liststandingappointments();
45607
46139
  init_listsystems();
45608
46140
  init_listvendoradditionalfacilityfields();
45609
46141
  init_listvendorcredentialdatarequests();
@@ -46599,27 +47131,36 @@ Delete event for calendar`,
46599
47131
  };
46600
47132
  });
46601
47133
 
46602
- // src/funcs/eventsListOrSearchVendorInvitees.ts
46603
- function eventsListOrSearchVendorInvitees(client, request, options) {
47134
+ // src/funcs/eventsListFeed.ts
47135
+ function eventsListFeed(client, request, options) {
46604
47136
  return new APIPromise($do9(client, request, options));
46605
47137
  }
46606
47138
  async function $do9(client, request, options) {
46607
- const parsed = safeParse(request, (value) => ListOrSearchVendorInviteesRequest$outboundSchema.parse(value), "Input validation failed");
47139
+ const parsed = safeParse(request, (value) => ListFeedRequest$outboundSchema.parse(value), "Input validation failed");
46608
47140
  if (!parsed.ok) {
46609
47141
  return [haltIterator(parsed), { status: "invalid" }];
46610
47142
  }
46611
47143
  const payload = parsed.value;
46612
47144
  const body = null;
46613
- const path = pathToFunc("/events/vendor-invitees")();
46614
- const query = queryJoin(encodeFormQuery({
46615
- expand: payload.expand
46616
- }, { explode: false }), encodeFormQuery({
47145
+ const path = pathToFunc("/events/feed")();
47146
+ const query = encodeFormQuery({
47147
+ department_id: payload.department_id,
47148
+ department_ids: payload.department_ids,
46617
47149
  desc: payload.desc,
47150
+ end_date: payload.end_date,
47151
+ facility_id: payload.facility_id,
47152
+ facility_ids: payload.facility_ids,
46618
47153
  items_per_page: payload.items_per_page,
46619
47154
  page: payload.page,
46620
- search: payload.search,
46621
- sort: payload.sort
46622
- }));
47155
+ sort: payload.sort,
47156
+ start_date: payload.start_date,
47157
+ status_approved: payload.status_approved,
47158
+ status_denied: payload.status_denied,
47159
+ status_pending_approver: payload.status_pending_approver,
47160
+ status_pending_invitee: payload.status_pending_invitee,
47161
+ user_id: payload.user_id,
47162
+ user_ids: payload.user_ids
47163
+ });
46623
47164
  const headers = new Headers(compactMap({
46624
47165
  Accept: "application/json"
46625
47166
  }));
@@ -46628,7 +47169,7 @@ async function $do9(client, request, options) {
46628
47169
  const context = {
46629
47170
  options: client._options,
46630
47171
  baseURL: options?.serverURL ?? client._baseURL ?? "",
46631
- operationID: "listOrSearchVendorInvitees",
47172
+ operationID: "listFeed",
46632
47173
  oAuth2Scopes: [],
46633
47174
  resolvedSecurity: requestSecurity,
46634
47175
  securitySource: client._options.security,
@@ -46652,7 +47193,7 @@ async function $do9(client, request, options) {
46652
47193
  const req = requestRes.value;
46653
47194
  const doResult = await client._do(req, {
46654
47195
  context,
46655
- errorCodes: ["400", "401", "403", "404", "4XX", "500", "5XX"],
47196
+ errorCodes: ["400", "401", "403", "4XX", "500", "5XX"],
46656
47197
  retryConfig: context.retryConfig,
46657
47198
  retryCodes: context.retryCodes
46658
47199
  });
@@ -46663,9 +47204,7 @@ async function $do9(client, request, options) {
46663
47204
  const responseFields = {
46664
47205
  HttpMeta: { Response: response, Request: req }
46665
47206
  };
46666
- const [result, raw] = await match(json(200, ListOrSearchVendorInviteesResponse$inboundSchema, {
46667
- key: "Result"
46668
- }), jsonErr([400, 401, 403, 404], ApiErrorResponse$inboundSchema), jsonErr(500, ApiErrorResponse$inboundSchema), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
47207
+ const [result, raw] = await match(json(200, ListFeedResponse$inboundSchema, { key: "Result" }), jsonErr([400, 401, 403], ApiErrorResponse$inboundSchema), jsonErr(500, ApiErrorResponse$inboundSchema), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
46669
47208
  if (!result.ok) {
46670
47209
  return [haltIterator(result), {
46671
47210
  status: "complete",
@@ -46687,7 +47226,7 @@ async function $do9(client, request, options) {
46687
47226
  if (results.length < limit) {
46688
47227
  return { next: () => null };
46689
47228
  }
46690
- const nextVal = () => eventsListOrSearchVendorInvitees(client, {
47229
+ const nextVal = () => eventsListFeed(client, {
46691
47230
  ...request,
46692
47231
  page: nextPage
46693
47232
  }, options);
@@ -46700,7 +47239,7 @@ async function $do9(client, request, options) {
46700
47239
  response
46701
47240
  }];
46702
47241
  }
46703
- var init_eventsListOrSearchVendorInvitees = __esm(() => {
47242
+ var init_eventsListFeed = __esm(() => {
46704
47243
  init_encodings();
46705
47244
  init_matchers();
46706
47245
  init_primitives();
@@ -46713,30 +47252,23 @@ var init_eventsListOrSearchVendorInvitees = __esm(() => {
46713
47252
  init_operations2();
46714
47253
  });
46715
47254
 
46716
- // src/mcp-server/tools/eventsListOrSearchVendorInvitees.ts
46717
- var args9, tool$eventsListOrSearchVendorInvitees;
46718
- var init_eventsListOrSearchVendorInvitees2 = __esm(() => {
46719
- init_eventsListOrSearchVendorInvitees();
47255
+ // src/mcp-server/tools/eventsListFeed.ts
47256
+ var args9, tool$eventsListFeed;
47257
+ var init_eventsListFeed2 = __esm(() => {
47258
+ init_eventsListFeed();
46720
47259
  init_operations();
46721
47260
  init_tools();
46722
47261
  args9 = {
46723
- request: ListOrSearchVendorInviteesRequest$inboundSchema
47262
+ request: ListFeedRequest$inboundSchema
46724
47263
  };
46725
- tool$eventsListOrSearchVendorInvitees = {
46726
- name: "events-list-or-search-vendor-invitees",
46727
- description: `List or search vendor invitees
46728
-
46729
- List or search vendor invitees.
47264
+ tool$eventsListFeed = {
47265
+ name: "events-list-feed",
47266
+ description: `List events feed
46730
47267
 
46731
- Available \`expand\` scopes are:
46732
-
46733
- - contact.facility
46734
- - contact.system
46735
- - contact.department
46736
- - contact.user`,
47268
+ List events feed`,
46737
47269
  args: args9,
46738
47270
  tool: async (client, args10, ctx) => {
46739
- const [result, apiCall] = await eventsListOrSearchVendorInvitees(client, args10.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47271
+ const [result, apiCall] = await eventsListFeed(client, args10.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
46740
47272
  if (!result.ok) {
46741
47273
  return {
46742
47274
  content: [{ type: "text", text: result.error.message }],
@@ -46749,26 +47281,28 @@ Available \`expand\` scopes are:
46749
47281
  };
46750
47282
  });
46751
47283
 
46752
- // src/funcs/eventsUpdateEvent.ts
46753
- function eventsUpdateEvent(client, request, options) {
47284
+ // src/funcs/eventsListLocations.ts
47285
+ function eventsListLocations(client, request, options) {
46754
47286
  return new APIPromise($do10(client, request, options));
46755
47287
  }
46756
47288
  async function $do10(client, request, options) {
46757
- const parsed = safeParse(request, (value) => UpdateEventRequest$outboundSchema.parse(value), "Input validation failed");
47289
+ const parsed = safeParse(request, (value) => ListLocationsRequest$outboundSchema.parse(value), "Input validation failed");
46758
47290
  if (!parsed.ok) {
46759
- return [parsed, { status: "invalid" }];
47291
+ return [haltIterator(parsed), { status: "invalid" }];
46760
47292
  }
46761
47293
  const payload = parsed.value;
46762
- const body = encodeJSON("body", payload.RequestBody, { explode: true });
46763
- const pathParams = {
46764
- id: encodeSimple("id", payload.id, {
46765
- explode: false,
46766
- charEncoding: "percent"
46767
- })
46768
- };
46769
- const path = pathToFunc("/events/{id}")(pathParams);
47294
+ const body = null;
47295
+ const path = pathToFunc("/events/locations")();
47296
+ const query = encodeFormQuery({
47297
+ desc: payload.desc,
47298
+ event_id: payload.event_id,
47299
+ invitee_department_ids: payload.invitee_department_ids,
47300
+ invitee_user_ids: payload.invitee_user_ids,
47301
+ items_per_page: payload.items_per_page,
47302
+ page: payload.page,
47303
+ sort: payload.sort
47304
+ });
46770
47305
  const headers = new Headers(compactMap({
46771
- "Content-Type": "application/json",
46772
47306
  Accept: "application/json"
46773
47307
  }));
46774
47308
  const securityInput = await extractSecurity(client._options.security);
@@ -46776,7 +47310,7 @@ async function $do10(client, request, options) {
46776
47310
  const context = {
46777
47311
  options: client._options,
46778
47312
  baseURL: options?.serverURL ?? client._baseURL ?? "",
46779
- operationID: "updateEvent",
47313
+ operationID: "listLocations",
46780
47314
  oAuth2Scopes: [],
46781
47315
  resolvedSecurity: requestSecurity,
46782
47316
  securitySource: client._options.security,
@@ -46785,38 +47319,70 @@ async function $do10(client, request, options) {
46785
47319
  };
46786
47320
  const requestRes = client._createRequest(context, {
46787
47321
  security: requestSecurity,
46788
- method: "PUT",
47322
+ method: "GET",
46789
47323
  baseURL: options?.serverURL,
46790
47324
  path,
46791
47325
  headers,
47326
+ query,
46792
47327
  body,
46793
47328
  userAgent: client._options.userAgent,
46794
47329
  timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
46795
47330
  }, options);
46796
47331
  if (!requestRes.ok) {
46797
- return [requestRes, { status: "invalid" }];
47332
+ return [haltIterator(requestRes), { status: "invalid" }];
46798
47333
  }
46799
47334
  const req = requestRes.value;
46800
47335
  const doResult = await client._do(req, {
46801
47336
  context,
46802
- errorCodes: ["400", "401", "403", "404", "4XX", "500", "5XX"],
47337
+ errorCodes: ["400", "401", "403", "4XX", "500", "5XX"],
46803
47338
  retryConfig: context.retryConfig,
46804
47339
  retryCodes: context.retryCodes
46805
47340
  });
46806
47341
  if (!doResult.ok) {
46807
- return [doResult, { status: "request-error", request: req }];
47342
+ return [haltIterator(doResult), { status: "request-error", request: req }];
46808
47343
  }
46809
47344
  const response = doResult.value;
46810
47345
  const responseFields = {
46811
47346
  HttpMeta: { Response: response, Request: req }
46812
47347
  };
46813
- const [result] = await match(json(200, UpdateEventResponseBody$inboundSchema), jsonErr([400, 401, 403, 404], ApiErrorResponse$inboundSchema), jsonErr(500, ApiErrorResponse$inboundSchema), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
47348
+ const [result, raw] = await match(json(200, ListLocationsResponse$inboundSchema, {
47349
+ key: "Result"
47350
+ }), jsonErr([400, 401, 403], ApiErrorResponse$inboundSchema), jsonErr(500, ApiErrorResponse$inboundSchema), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
46814
47351
  if (!result.ok) {
46815
- return [result, { status: "complete", request: req, response }];
47352
+ return [haltIterator(result), {
47353
+ status: "complete",
47354
+ request: req,
47355
+ response
47356
+ }];
46816
47357
  }
46817
- return [result, { status: "complete", request: req, response }];
47358
+ const nextFunc = (responseData) => {
47359
+ const page2 = request?.page ?? 1;
47360
+ const nextPage = page2 + 1;
47361
+ if (!responseData) {
47362
+ return { next: () => null };
47363
+ }
47364
+ const results = dlv(responseData, "items");
47365
+ if (!Array.isArray(results) || !results.length) {
47366
+ return { next: () => null };
47367
+ }
47368
+ const limit = request?.itemsPerPage ?? 0;
47369
+ if (results.length < limit) {
47370
+ return { next: () => null };
47371
+ }
47372
+ const nextVal = () => eventsListLocations(client, {
47373
+ ...request,
47374
+ page: nextPage
47375
+ }, options);
47376
+ return { next: nextVal, "~next": { page: nextPage } };
47377
+ };
47378
+ const page = { ...result, ...nextFunc(raw) };
47379
+ return [{ ...page, ...createPageIterator(page, (v2) => !v2.ok) }, {
47380
+ status: "complete",
47381
+ request: req,
47382
+ response
47383
+ }];
46818
47384
  }
46819
- var init_eventsUpdateEvent = __esm(() => {
47385
+ var init_eventsListLocations = __esm(() => {
46820
47386
  init_encodings();
46821
47387
  init_matchers();
46822
47388
  init_primitives();
@@ -46826,15 +47392,572 @@ var init_eventsUpdateEvent = __esm(() => {
46826
47392
  init_errors2();
46827
47393
  init_operations();
46828
47394
  init_async();
47395
+ init_operations2();
46829
47396
  });
46830
47397
 
46831
- // src/mcp-server/tools/eventsUpdateEvent.ts
46832
- var args10, tool$eventsUpdateEvent;
47398
+ // src/mcp-server/tools/eventsListLocations.ts
47399
+ var args10, tool$eventsListLocations;
47400
+ var init_eventsListLocations2 = __esm(() => {
47401
+ init_eventsListLocations();
47402
+ init_operations();
47403
+ init_tools();
47404
+ args10 = {
47405
+ request: ListLocationsRequest$inboundSchema
47406
+ };
47407
+ tool$eventsListLocations = {
47408
+ name: "events-list-locations",
47409
+ description: `List meeting locations for invitees or an event
47410
+
47411
+ List meeting locations for invitees or an event`,
47412
+ args: args10,
47413
+ tool: async (client, args11, ctx) => {
47414
+ const [result, apiCall] = await eventsListLocations(client, args11.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47415
+ if (!result.ok) {
47416
+ return {
47417
+ content: [{ type: "text", text: result.error.message }],
47418
+ isError: true
47419
+ };
47420
+ }
47421
+ const value = result.value.result;
47422
+ return formatResult(value, apiCall);
47423
+ }
47424
+ };
47425
+ });
47426
+
47427
+ // src/funcs/eventsListOrSearchVendorInvitees.ts
47428
+ function eventsListOrSearchVendorInvitees(client, request, options) {
47429
+ return new APIPromise($do11(client, request, options));
47430
+ }
47431
+ async function $do11(client, request, options) {
47432
+ const parsed = safeParse(request, (value) => ListOrSearchVendorInviteesRequest$outboundSchema.parse(value), "Input validation failed");
47433
+ if (!parsed.ok) {
47434
+ return [haltIterator(parsed), { status: "invalid" }];
47435
+ }
47436
+ const payload = parsed.value;
47437
+ const body = null;
47438
+ const path = pathToFunc("/events/vendor-invitees")();
47439
+ const query = queryJoin(encodeFormQuery({
47440
+ expand: payload.expand
47441
+ }, { explode: false }), encodeFormQuery({
47442
+ desc: payload.desc,
47443
+ items_per_page: payload.items_per_page,
47444
+ page: payload.page,
47445
+ search: payload.search,
47446
+ sort: payload.sort
47447
+ }));
47448
+ const headers = new Headers(compactMap({
47449
+ Accept: "application/json"
47450
+ }));
47451
+ const securityInput = await extractSecurity(client._options.security);
47452
+ const requestSecurity = resolveGlobalSecurity(securityInput);
47453
+ const context = {
47454
+ options: client._options,
47455
+ baseURL: options?.serverURL ?? client._baseURL ?? "",
47456
+ operationID: "listOrSearchVendorInvitees",
47457
+ oAuth2Scopes: [],
47458
+ resolvedSecurity: requestSecurity,
47459
+ securitySource: client._options.security,
47460
+ retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
47461
+ retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
47462
+ };
47463
+ const requestRes = client._createRequest(context, {
47464
+ security: requestSecurity,
47465
+ method: "GET",
47466
+ baseURL: options?.serverURL,
47467
+ path,
47468
+ headers,
47469
+ query,
47470
+ body,
47471
+ userAgent: client._options.userAgent,
47472
+ timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
47473
+ }, options);
47474
+ if (!requestRes.ok) {
47475
+ return [haltIterator(requestRes), { status: "invalid" }];
47476
+ }
47477
+ const req = requestRes.value;
47478
+ const doResult = await client._do(req, {
47479
+ context,
47480
+ errorCodes: ["400", "401", "403", "404", "4XX", "500", "5XX"],
47481
+ retryConfig: context.retryConfig,
47482
+ retryCodes: context.retryCodes
47483
+ });
47484
+ if (!doResult.ok) {
47485
+ return [haltIterator(doResult), { status: "request-error", request: req }];
47486
+ }
47487
+ const response = doResult.value;
47488
+ const responseFields = {
47489
+ HttpMeta: { Response: response, Request: req }
47490
+ };
47491
+ const [result, raw] = await match(json(200, ListOrSearchVendorInviteesResponse$inboundSchema, {
47492
+ key: "Result"
47493
+ }), jsonErr([400, 401, 403, 404], ApiErrorResponse$inboundSchema), jsonErr(500, ApiErrorResponse$inboundSchema), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
47494
+ if (!result.ok) {
47495
+ return [haltIterator(result), {
47496
+ status: "complete",
47497
+ request: req,
47498
+ response
47499
+ }];
47500
+ }
47501
+ const nextFunc = (responseData) => {
47502
+ const page2 = request?.page ?? 1;
47503
+ const nextPage = page2 + 1;
47504
+ if (!responseData) {
47505
+ return { next: () => null };
47506
+ }
47507
+ const results = dlv(responseData, "items");
47508
+ if (!Array.isArray(results) || !results.length) {
47509
+ return { next: () => null };
47510
+ }
47511
+ const limit = request?.itemsPerPage ?? 0;
47512
+ if (results.length < limit) {
47513
+ return { next: () => null };
47514
+ }
47515
+ const nextVal = () => eventsListOrSearchVendorInvitees(client, {
47516
+ ...request,
47517
+ page: nextPage
47518
+ }, options);
47519
+ return { next: nextVal, "~next": { page: nextPage } };
47520
+ };
47521
+ const page = { ...result, ...nextFunc(raw) };
47522
+ return [{ ...page, ...createPageIterator(page, (v2) => !v2.ok) }, {
47523
+ status: "complete",
47524
+ request: req,
47525
+ response
47526
+ }];
47527
+ }
47528
+ var init_eventsListOrSearchVendorInvitees = __esm(() => {
47529
+ init_encodings();
47530
+ init_matchers();
47531
+ init_primitives();
47532
+ init_schemas();
47533
+ init_security();
47534
+ init_url();
47535
+ init_errors2();
47536
+ init_operations();
47537
+ init_async();
47538
+ init_operations2();
47539
+ });
47540
+
47541
+ // src/mcp-server/tools/eventsListOrSearchVendorInvitees.ts
47542
+ var args11, tool$eventsListOrSearchVendorInvitees;
47543
+ var init_eventsListOrSearchVendorInvitees2 = __esm(() => {
47544
+ init_eventsListOrSearchVendorInvitees();
47545
+ init_operations();
47546
+ init_tools();
47547
+ args11 = {
47548
+ request: ListOrSearchVendorInviteesRequest$inboundSchema
47549
+ };
47550
+ tool$eventsListOrSearchVendorInvitees = {
47551
+ name: "events-list-or-search-vendor-invitees",
47552
+ description: `List or search vendor invitees
47553
+
47554
+ List or search vendor invitees.
47555
+
47556
+ Available \`expand\` scopes are:
47557
+
47558
+ - contact.facility
47559
+ - contact.system
47560
+ - contact.department
47561
+ - contact.user`,
47562
+ args: args11,
47563
+ tool: async (client, args12, ctx) => {
47564
+ const [result, apiCall] = await eventsListOrSearchVendorInvitees(client, args12.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47565
+ if (!result.ok) {
47566
+ return {
47567
+ content: [{ type: "text", text: result.error.message }],
47568
+ isError: true
47569
+ };
47570
+ }
47571
+ const value = result.value.result;
47572
+ return formatResult(value, apiCall);
47573
+ }
47574
+ };
47575
+ });
47576
+
47577
+ // src/funcs/eventsListPendingInvitations.ts
47578
+ function eventsListPendingInvitations(client, request, options) {
47579
+ return new APIPromise($do12(client, request, options));
47580
+ }
47581
+ async function $do12(client, request, options) {
47582
+ const parsed = safeParse(request, (value) => ListPendingInvitationsRequest$outboundSchema.parse(value), "Input validation failed");
47583
+ if (!parsed.ok) {
47584
+ return [haltIterator(parsed), { status: "invalid" }];
47585
+ }
47586
+ const payload = parsed.value;
47587
+ const body = null;
47588
+ const path = pathToFunc("/events/pending-invitations")();
47589
+ const query = encodeFormQuery({
47590
+ department_id: payload.department_id,
47591
+ department_ids: payload.department_ids,
47592
+ desc: payload.desc,
47593
+ facility_id: payload.facility_id,
47594
+ facility_ids: payload.facility_ids,
47595
+ items_per_page: payload.items_per_page,
47596
+ page: payload.page,
47597
+ sort: payload.sort,
47598
+ user_id: payload.user_id,
47599
+ user_ids: payload.user_ids
47600
+ });
47601
+ const headers = new Headers(compactMap({
47602
+ Accept: "application/json"
47603
+ }));
47604
+ const securityInput = await extractSecurity(client._options.security);
47605
+ const requestSecurity = resolveGlobalSecurity(securityInput);
47606
+ const context = {
47607
+ options: client._options,
47608
+ baseURL: options?.serverURL ?? client._baseURL ?? "",
47609
+ operationID: "listPendingInvitations",
47610
+ oAuth2Scopes: [],
47611
+ resolvedSecurity: requestSecurity,
47612
+ securitySource: client._options.security,
47613
+ retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
47614
+ retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
47615
+ };
47616
+ const requestRes = client._createRequest(context, {
47617
+ security: requestSecurity,
47618
+ method: "GET",
47619
+ baseURL: options?.serverURL,
47620
+ path,
47621
+ headers,
47622
+ query,
47623
+ body,
47624
+ userAgent: client._options.userAgent,
47625
+ timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
47626
+ }, options);
47627
+ if (!requestRes.ok) {
47628
+ return [haltIterator(requestRes), { status: "invalid" }];
47629
+ }
47630
+ const req = requestRes.value;
47631
+ const doResult = await client._do(req, {
47632
+ context,
47633
+ errorCodes: ["400", "401", "403", "4XX", "500", "5XX"],
47634
+ retryConfig: context.retryConfig,
47635
+ retryCodes: context.retryCodes
47636
+ });
47637
+ if (!doResult.ok) {
47638
+ return [haltIterator(doResult), { status: "request-error", request: req }];
47639
+ }
47640
+ const response = doResult.value;
47641
+ const responseFields = {
47642
+ HttpMeta: { Response: response, Request: req }
47643
+ };
47644
+ const [result, raw] = await match(json(200, ListPendingInvitationsResponse$inboundSchema, {
47645
+ key: "Result"
47646
+ }), jsonErr([400, 401, 403], ApiErrorResponse$inboundSchema), jsonErr(500, ApiErrorResponse$inboundSchema), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
47647
+ if (!result.ok) {
47648
+ return [haltIterator(result), {
47649
+ status: "complete",
47650
+ request: req,
47651
+ response
47652
+ }];
47653
+ }
47654
+ const nextFunc = (responseData) => {
47655
+ const page2 = request?.page ?? 1;
47656
+ const nextPage = page2 + 1;
47657
+ if (!responseData) {
47658
+ return { next: () => null };
47659
+ }
47660
+ const results = dlv(responseData, "items");
47661
+ if (!Array.isArray(results) || !results.length) {
47662
+ return { next: () => null };
47663
+ }
47664
+ const limit = request?.itemsPerPage ?? 0;
47665
+ if (results.length < limit) {
47666
+ return { next: () => null };
47667
+ }
47668
+ const nextVal = () => eventsListPendingInvitations(client, {
47669
+ ...request,
47670
+ page: nextPage
47671
+ }, options);
47672
+ return { next: nextVal, "~next": { page: nextPage } };
47673
+ };
47674
+ const page = { ...result, ...nextFunc(raw) };
47675
+ return [{ ...page, ...createPageIterator(page, (v2) => !v2.ok) }, {
47676
+ status: "complete",
47677
+ request: req,
47678
+ response
47679
+ }];
47680
+ }
47681
+ var init_eventsListPendingInvitations = __esm(() => {
47682
+ init_encodings();
47683
+ init_matchers();
47684
+ init_primitives();
47685
+ init_schemas();
47686
+ init_security();
47687
+ init_url();
47688
+ init_errors2();
47689
+ init_operations();
47690
+ init_async();
47691
+ init_operations2();
47692
+ });
47693
+
47694
+ // src/mcp-server/tools/eventsListPendingInvitations.ts
47695
+ var args12, tool$eventsListPendingInvitations;
47696
+ var init_eventsListPendingInvitations2 = __esm(() => {
47697
+ init_eventsListPendingInvitations();
47698
+ init_operations();
47699
+ init_tools();
47700
+ args12 = {
47701
+ request: ListPendingInvitationsRequest$inboundSchema
47702
+ };
47703
+ tool$eventsListPendingInvitations = {
47704
+ name: "events-list-pending-invitations",
47705
+ description: `List pending invitations
47706
+
47707
+ List pending invitations`,
47708
+ args: args12,
47709
+ tool: async (client, args13, ctx) => {
47710
+ const [result, apiCall] = await eventsListPendingInvitations(client, args13.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47711
+ if (!result.ok) {
47712
+ return {
47713
+ content: [{ type: "text", text: result.error.message }],
47714
+ isError: true
47715
+ };
47716
+ }
47717
+ const value = result.value.result;
47718
+ return formatResult(value, apiCall);
47719
+ }
47720
+ };
47721
+ });
47722
+
47723
+ // src/funcs/eventsListStandingAppointments.ts
47724
+ function eventsListStandingAppointments(client, request, options) {
47725
+ return new APIPromise($do13(client, request, options));
47726
+ }
47727
+ async function $do13(client, request, options) {
47728
+ const parsed = safeParse(request, (value) => ListStandingAppointmentsRequest$outboundSchema.parse(value), "Input validation failed");
47729
+ if (!parsed.ok) {
47730
+ return [haltIterator(parsed), { status: "invalid" }];
47731
+ }
47732
+ const payload = parsed.value;
47733
+ const body = null;
47734
+ const path = pathToFunc("/events/standing-appointments")();
47735
+ const query = encodeFormQuery({
47736
+ department_id: payload.department_id,
47737
+ department_ids: payload.department_ids,
47738
+ desc: payload.desc,
47739
+ end_date: payload.end_date,
47740
+ facility_id: payload.facility_id,
47741
+ facility_ids: payload.facility_ids,
47742
+ items_per_page: payload.items_per_page,
47743
+ page: payload.page,
47744
+ sort: payload.sort,
47745
+ start_date: payload.start_date,
47746
+ status_approved: payload.status_approved,
47747
+ status_denied: payload.status_denied,
47748
+ status_pending_approver: payload.status_pending_approver,
47749
+ status_pending_invitee: payload.status_pending_invitee,
47750
+ user_id: payload.user_id,
47751
+ user_ids: payload.user_ids
47752
+ });
47753
+ const headers = new Headers(compactMap({
47754
+ Accept: "application/json"
47755
+ }));
47756
+ const securityInput = await extractSecurity(client._options.security);
47757
+ const requestSecurity = resolveGlobalSecurity(securityInput);
47758
+ const context = {
47759
+ options: client._options,
47760
+ baseURL: options?.serverURL ?? client._baseURL ?? "",
47761
+ operationID: "listStandingAppointments",
47762
+ oAuth2Scopes: [],
47763
+ resolvedSecurity: requestSecurity,
47764
+ securitySource: client._options.security,
47765
+ retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
47766
+ retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
47767
+ };
47768
+ const requestRes = client._createRequest(context, {
47769
+ security: requestSecurity,
47770
+ method: "GET",
47771
+ baseURL: options?.serverURL,
47772
+ path,
47773
+ headers,
47774
+ query,
47775
+ body,
47776
+ userAgent: client._options.userAgent,
47777
+ timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
47778
+ }, options);
47779
+ if (!requestRes.ok) {
47780
+ return [haltIterator(requestRes), { status: "invalid" }];
47781
+ }
47782
+ const req = requestRes.value;
47783
+ const doResult = await client._do(req, {
47784
+ context,
47785
+ errorCodes: ["400", "401", "403", "4XX", "500", "5XX"],
47786
+ retryConfig: context.retryConfig,
47787
+ retryCodes: context.retryCodes
47788
+ });
47789
+ if (!doResult.ok) {
47790
+ return [haltIterator(doResult), { status: "request-error", request: req }];
47791
+ }
47792
+ const response = doResult.value;
47793
+ const responseFields = {
47794
+ HttpMeta: { Response: response, Request: req }
47795
+ };
47796
+ const [result, raw] = await match(json(200, ListStandingAppointmentsResponse$inboundSchema, {
47797
+ key: "Result"
47798
+ }), jsonErr([400, 401, 403], ApiErrorResponse$inboundSchema), jsonErr(500, ApiErrorResponse$inboundSchema), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
47799
+ if (!result.ok) {
47800
+ return [haltIterator(result), {
47801
+ status: "complete",
47802
+ request: req,
47803
+ response
47804
+ }];
47805
+ }
47806
+ const nextFunc = (responseData) => {
47807
+ const page2 = request?.page ?? 1;
47808
+ const nextPage = page2 + 1;
47809
+ if (!responseData) {
47810
+ return { next: () => null };
47811
+ }
47812
+ const results = dlv(responseData, "items");
47813
+ if (!Array.isArray(results) || !results.length) {
47814
+ return { next: () => null };
47815
+ }
47816
+ const limit = request?.itemsPerPage ?? 0;
47817
+ if (results.length < limit) {
47818
+ return { next: () => null };
47819
+ }
47820
+ const nextVal = () => eventsListStandingAppointments(client, {
47821
+ ...request,
47822
+ page: nextPage
47823
+ }, options);
47824
+ return { next: nextVal, "~next": { page: nextPage } };
47825
+ };
47826
+ const page = { ...result, ...nextFunc(raw) };
47827
+ return [{ ...page, ...createPageIterator(page, (v2) => !v2.ok) }, {
47828
+ status: "complete",
47829
+ request: req,
47830
+ response
47831
+ }];
47832
+ }
47833
+ var init_eventsListStandingAppointments = __esm(() => {
47834
+ init_encodings();
47835
+ init_matchers();
47836
+ init_primitives();
47837
+ init_schemas();
47838
+ init_security();
47839
+ init_url();
47840
+ init_errors2();
47841
+ init_operations();
47842
+ init_async();
47843
+ init_operations2();
47844
+ });
47845
+
47846
+ // src/mcp-server/tools/eventsListStandingAppointments.ts
47847
+ var args13, tool$eventsListStandingAppointments;
47848
+ var init_eventsListStandingAppointments2 = __esm(() => {
47849
+ init_eventsListStandingAppointments();
47850
+ init_operations();
47851
+ init_tools();
47852
+ args13 = {
47853
+ request: ListStandingAppointmentsRequest$inboundSchema
47854
+ };
47855
+ tool$eventsListStandingAppointments = {
47856
+ name: "events-list-standing-appointments",
47857
+ description: `List standing appointments
47858
+
47859
+ List standing appointment`,
47860
+ args: args13,
47861
+ tool: async (client, args14, ctx) => {
47862
+ const [result, apiCall] = await eventsListStandingAppointments(client, args14.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47863
+ if (!result.ok) {
47864
+ return {
47865
+ content: [{ type: "text", text: result.error.message }],
47866
+ isError: true
47867
+ };
47868
+ }
47869
+ const value = result.value.result;
47870
+ return formatResult(value, apiCall);
47871
+ }
47872
+ };
47873
+ });
47874
+
47875
+ // src/funcs/eventsUpdateEvent.ts
47876
+ function eventsUpdateEvent(client, request, options) {
47877
+ return new APIPromise($do14(client, request, options));
47878
+ }
47879
+ async function $do14(client, request, options) {
47880
+ const parsed = safeParse(request, (value) => UpdateEventRequest$outboundSchema.parse(value), "Input validation failed");
47881
+ if (!parsed.ok) {
47882
+ return [parsed, { status: "invalid" }];
47883
+ }
47884
+ const payload = parsed.value;
47885
+ const body = encodeJSON("body", payload.RequestBody, { explode: true });
47886
+ const pathParams = {
47887
+ id: encodeSimple("id", payload.id, {
47888
+ explode: false,
47889
+ charEncoding: "percent"
47890
+ })
47891
+ };
47892
+ const path = pathToFunc("/events/{id}")(pathParams);
47893
+ const headers = new Headers(compactMap({
47894
+ "Content-Type": "application/json",
47895
+ Accept: "application/json"
47896
+ }));
47897
+ const securityInput = await extractSecurity(client._options.security);
47898
+ const requestSecurity = resolveGlobalSecurity(securityInput);
47899
+ const context = {
47900
+ options: client._options,
47901
+ baseURL: options?.serverURL ?? client._baseURL ?? "",
47902
+ operationID: "updateEvent",
47903
+ oAuth2Scopes: [],
47904
+ resolvedSecurity: requestSecurity,
47905
+ securitySource: client._options.security,
47906
+ retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
47907
+ retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
47908
+ };
47909
+ const requestRes = client._createRequest(context, {
47910
+ security: requestSecurity,
47911
+ method: "PUT",
47912
+ baseURL: options?.serverURL,
47913
+ path,
47914
+ headers,
47915
+ body,
47916
+ userAgent: client._options.userAgent,
47917
+ timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
47918
+ }, options);
47919
+ if (!requestRes.ok) {
47920
+ return [requestRes, { status: "invalid" }];
47921
+ }
47922
+ const req = requestRes.value;
47923
+ const doResult = await client._do(req, {
47924
+ context,
47925
+ errorCodes: ["400", "401", "403", "404", "4XX", "500", "5XX"],
47926
+ retryConfig: context.retryConfig,
47927
+ retryCodes: context.retryCodes
47928
+ });
47929
+ if (!doResult.ok) {
47930
+ return [doResult, { status: "request-error", request: req }];
47931
+ }
47932
+ const response = doResult.value;
47933
+ const responseFields = {
47934
+ HttpMeta: { Response: response, Request: req }
47935
+ };
47936
+ const [result] = await match(json(200, UpdateEventResponseBody$inboundSchema), jsonErr([400, 401, 403, 404], ApiErrorResponse$inboundSchema), jsonErr(500, ApiErrorResponse$inboundSchema), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
47937
+ if (!result.ok) {
47938
+ return [result, { status: "complete", request: req, response }];
47939
+ }
47940
+ return [result, { status: "complete", request: req, response }];
47941
+ }
47942
+ var init_eventsUpdateEvent = __esm(() => {
47943
+ init_encodings();
47944
+ init_matchers();
47945
+ init_primitives();
47946
+ init_schemas();
47947
+ init_security();
47948
+ init_url();
47949
+ init_errors2();
47950
+ init_operations();
47951
+ init_async();
47952
+ });
47953
+
47954
+ // src/mcp-server/tools/eventsUpdateEvent.ts
47955
+ var args14, tool$eventsUpdateEvent;
46833
47956
  var init_eventsUpdateEvent2 = __esm(() => {
46834
47957
  init_eventsUpdateEvent();
46835
47958
  init_operations();
46836
47959
  init_tools();
46837
- args10 = {
47960
+ args14 = {
46838
47961
  request: UpdateEventRequest$inboundSchema
46839
47962
  };
46840
47963
  tool$eventsUpdateEvent = {
@@ -46842,9 +47965,9 @@ var init_eventsUpdateEvent2 = __esm(() => {
46842
47965
  description: `Update event for calendar
46843
47966
 
46844
47967
  Update event for calendar`,
46845
- args: args10,
46846
- tool: async (client, args11, ctx) => {
46847
- const [result, apiCall] = await eventsUpdateEvent(client, args11.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47968
+ args: args14,
47969
+ tool: async (client, args15, ctx) => {
47970
+ const [result, apiCall] = await eventsUpdateEvent(client, args15.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
46848
47971
  if (!result.ok) {
46849
47972
  return {
46850
47973
  content: [{ type: "text", text: result.error.message }],
@@ -46859,9 +47982,9 @@ Update event for calendar`,
46859
47982
 
46860
47983
  // src/funcs/invoicesCreateInvoice.ts
46861
47984
  function invoicesCreateInvoice(client, request, options) {
46862
- return new APIPromise($do11(client, request, options));
47985
+ return new APIPromise($do15(client, request, options));
46863
47986
  }
46864
- async function $do11(client, request, options) {
47987
+ async function $do15(client, request, options) {
46865
47988
  const parsed = safeParse(request, (value) => CreateInvoiceRequestBody$outboundSchema.parse(value), "Input validation failed");
46866
47989
  if (!parsed.ok) {
46867
47990
  return [parsed, { status: "invalid" }];
@@ -46931,12 +48054,12 @@ var init_invoicesCreateInvoice = __esm(() => {
46931
48054
  });
46932
48055
 
46933
48056
  // src/mcp-server/tools/invoicesCreateInvoice.ts
46934
- var args11, tool$invoicesCreateInvoice;
48057
+ var args15, tool$invoicesCreateInvoice;
46935
48058
  var init_invoicesCreateInvoice2 = __esm(() => {
46936
48059
  init_invoicesCreateInvoice();
46937
48060
  init_operations();
46938
48061
  init_tools();
46939
- args11 = {
48062
+ args15 = {
46940
48063
  request: CreateInvoiceRequestBody$inboundSchema
46941
48064
  };
46942
48065
  tool$invoicesCreateInvoice = {
@@ -46953,9 +48076,9 @@ It will create an invoice based on the lines passed as parameter.
46953
48076
  - new_vendor_type_id: required, must be integer
46954
48077
  - old_facility_ids: required, must be an array of integers (can be empty)
46955
48078
  - new_facility_ids: required, must be array of integers`,
46956
- args: args11,
46957
- tool: async (client, args12, ctx) => {
46958
- const [result, apiCall] = await invoicesCreateInvoice(client, args12.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48079
+ args: args15,
48080
+ tool: async (client, args16, ctx) => {
48081
+ const [result, apiCall] = await invoicesCreateInvoice(client, args16.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
46959
48082
  if (!result.ok) {
46960
48083
  return {
46961
48084
  content: [{ type: "text", text: result.error.message }],
@@ -46970,9 +48093,9 @@ It will create an invoice based on the lines passed as parameter.
46970
48093
 
46971
48094
  // src/funcs/invoicesMakePayment.ts
46972
48095
  function invoicesMakePayment(client, request, options) {
46973
- return new APIPromise($do12(client, request, options));
48096
+ return new APIPromise($do16(client, request, options));
46974
48097
  }
46975
- async function $do12(client, request, options) {
48098
+ async function $do16(client, request, options) {
46976
48099
  const parsed = safeParse(request, (value) => MakePaymentRequest$outboundSchema.parse(value), "Input validation failed");
46977
48100
  if (!parsed.ok) {
46978
48101
  return [parsed, { status: "invalid" }];
@@ -47048,12 +48171,12 @@ var init_invoicesMakePayment = __esm(() => {
47048
48171
  });
47049
48172
 
47050
48173
  // src/mcp-server/tools/invoicesMakePayment.ts
47051
- var args12, tool$invoicesMakePayment;
48174
+ var args16, tool$invoicesMakePayment;
47052
48175
  var init_invoicesMakePayment2 = __esm(() => {
47053
48176
  init_invoicesMakePayment();
47054
48177
  init_operations();
47055
48178
  init_tools();
47056
- args12 = {
48179
+ args16 = {
47057
48180
  request: MakePaymentRequest$inboundSchema
47058
48181
  };
47059
48182
  tool$invoicesMakePayment = {
@@ -47061,9 +48184,9 @@ var init_invoicesMakePayment2 = __esm(() => {
47061
48184
  description: `Make payment for the invoice
47062
48185
 
47063
48186
  Make payment for the invoice`,
47064
- args: args12,
47065
- tool: async (client, args13, ctx) => {
47066
- const [result, apiCall] = await invoicesMakePayment(client, args13.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48187
+ args: args16,
48188
+ tool: async (client, args17, ctx) => {
48189
+ const [result, apiCall] = await invoicesMakePayment(client, args17.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47067
48190
  if (!result.ok) {
47068
48191
  return {
47069
48192
  content: [{ type: "text", text: result.error.message }],
@@ -47078,9 +48201,9 @@ Make payment for the invoice`,
47078
48201
 
47079
48202
  // src/funcs/invoicesUpdateInvoice.ts
47080
48203
  function invoicesUpdateInvoice(client, request, options) {
47081
- return new APIPromise($do13(client, request, options));
48204
+ return new APIPromise($do17(client, request, options));
47082
48205
  }
47083
- async function $do13(client, request, options) {
48206
+ async function $do17(client, request, options) {
47084
48207
  const parsed = safeParse(request, (value) => UpdateInvoiceRequest$outboundSchema.parse(value), "Input validation failed");
47085
48208
  if (!parsed.ok) {
47086
48209
  return [parsed, { status: "invalid" }];
@@ -47157,12 +48280,12 @@ var init_invoicesUpdateInvoice = __esm(() => {
47157
48280
  });
47158
48281
 
47159
48282
  // src/mcp-server/tools/invoicesUpdateInvoice.ts
47160
- var args13, tool$invoicesUpdateInvoice;
48283
+ var args17, tool$invoicesUpdateInvoice;
47161
48284
  var init_invoicesUpdateInvoice2 = __esm(() => {
47162
48285
  init_invoicesUpdateInvoice();
47163
48286
  init_operations();
47164
48287
  init_tools();
47165
- args13 = {
48288
+ args17 = {
47166
48289
  request: UpdateInvoiceRequest$inboundSchema
47167
48290
  };
47168
48291
  tool$invoicesUpdateInvoice = {
@@ -47179,9 +48302,9 @@ It will replace all the lines with the lines passed as parameter
47179
48302
  - new_vendor_type_id: required, must be integer
47180
48303
  - old_facility_ids: required, must be an array of integers (can be empty)
47181
48304
  - new_facility_ids: required, must be array of integers`,
47182
- args: args13,
47183
- tool: async (client, args14, ctx) => {
47184
- const [result, apiCall] = await invoicesUpdateInvoice(client, args14.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48305
+ args: args17,
48306
+ tool: async (client, args18, ctx) => {
48307
+ const [result, apiCall] = await invoicesUpdateInvoice(client, args18.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47185
48308
  if (!result.ok) {
47186
48309
  return {
47187
48310
  content: [{ type: "text", text: result.error.message }],
@@ -47196,9 +48319,9 @@ It will replace all the lines with the lines passed as parameter
47196
48319
 
47197
48320
  // src/funcs/organizationsGetFacility.ts
47198
48321
  function organizationsGetFacility(client, request, options) {
47199
- return new APIPromise($do14(client, request, options));
48322
+ return new APIPromise($do18(client, request, options));
47200
48323
  }
47201
- async function $do14(client, request, options) {
48324
+ async function $do18(client, request, options) {
47202
48325
  const parsed = safeParse(request, (value) => GetFacilityRequest$outboundSchema.parse(value), "Input validation failed");
47203
48326
  if (!parsed.ok) {
47204
48327
  return [parsed, { status: "invalid" }];
@@ -47274,12 +48397,12 @@ var init_organizationsGetFacility = __esm(() => {
47274
48397
  });
47275
48398
 
47276
48399
  // src/mcp-server/tools/organizationsGetFacility.ts
47277
- var args14, tool$organizationsGetFacility;
48400
+ var args18, tool$organizationsGetFacility;
47278
48401
  var init_organizationsGetFacility2 = __esm(() => {
47279
48402
  init_organizationsGetFacility();
47280
48403
  init_operations();
47281
48404
  init_tools();
47282
- args14 = {
48405
+ args18 = {
47283
48406
  request: GetFacilityRequest$inboundSchema
47284
48407
  };
47285
48408
  tool$organizationsGetFacility = {
@@ -47287,9 +48410,9 @@ var init_organizationsGetFacility2 = __esm(() => {
47287
48410
  description: `Get facility
47288
48411
 
47289
48412
  Retrieve an individual facility.`,
47290
- args: args14,
47291
- tool: async (client, args15, ctx) => {
47292
- const [result, apiCall] = await organizationsGetFacility(client, args15.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48413
+ args: args18,
48414
+ tool: async (client, args19, ctx) => {
48415
+ const [result, apiCall] = await organizationsGetFacility(client, args19.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47293
48416
  if (!result.ok) {
47294
48417
  return {
47295
48418
  content: [{ type: "text", text: result.error.message }],
@@ -47304,9 +48427,9 @@ Retrieve an individual facility.`,
47304
48427
 
47305
48428
  // src/funcs/organizationsListOrSearchDepartmentContacts.ts
47306
48429
  function organizationsListOrSearchDepartmentContacts(client, request, options) {
47307
- return new APIPromise($do15(client, request, options));
48430
+ return new APIPromise($do19(client, request, options));
47308
48431
  }
47309
- async function $do15(client, request, options) {
48432
+ async function $do19(client, request, options) {
47310
48433
  const parsed = safeParse(request, (value) => ListOrSearchDepartmentContactsRequest$outboundSchema.parse(value), "Input validation failed");
47311
48434
  if (!parsed.ok) {
47312
48435
  return [haltIterator(parsed), { status: "invalid" }];
@@ -47421,12 +48544,12 @@ var init_organizationsListOrSearchDepartmentContacts = __esm(() => {
47421
48544
  });
47422
48545
 
47423
48546
  // src/mcp-server/tools/organizationsListOrSearchDepartmentContacts.ts
47424
- var args15, tool$organizationsListOrSearchDepartmentContacts;
48547
+ var args19, tool$organizationsListOrSearchDepartmentContacts;
47425
48548
  var init_organizationsListOrSearchDepartmentContacts2 = __esm(() => {
47426
48549
  init_organizationsListOrSearchDepartmentContacts();
47427
48550
  init_operations();
47428
48551
  init_tools();
47429
- args15 = {
48552
+ args19 = {
47430
48553
  request: ListOrSearchDepartmentContactsRequest$inboundSchema
47431
48554
  };
47432
48555
  tool$organizationsListOrSearchDepartmentContacts = {
@@ -47439,9 +48562,9 @@ Available \`expand\` scopes are:
47439
48562
 
47440
48563
  - department_membership.contact
47441
48564
  - department_membership.department`,
47442
- args: args15,
47443
- tool: async (client, args16, ctx) => {
47444
- const [result, apiCall] = await organizationsListOrSearchDepartmentContacts(client, args16.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48565
+ args: args19,
48566
+ tool: async (client, args20, ctx) => {
48567
+ const [result, apiCall] = await organizationsListOrSearchDepartmentContacts(client, args20.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47445
48568
  if (!result.ok) {
47446
48569
  return {
47447
48570
  content: [{ type: "text", text: result.error.message }],
@@ -47456,9 +48579,9 @@ Available \`expand\` scopes are:
47456
48579
 
47457
48580
  // src/funcs/organizationsListOrSearchDepartments.ts
47458
48581
  function organizationsListOrSearchDepartments(client, request, options) {
47459
- return new APIPromise($do16(client, request, options));
48582
+ return new APIPromise($do20(client, request, options));
47460
48583
  }
47461
- async function $do16(client, request, options) {
48584
+ async function $do20(client, request, options) {
47462
48585
  const parsed = safeParse(request, (value) => ListOrSearchDepartmentsRequest$outboundSchema.parse(value), "Input validation failed");
47463
48586
  if (!parsed.ok) {
47464
48587
  return [haltIterator(parsed), { status: "invalid" }];
@@ -47573,12 +48696,12 @@ var init_organizationsListOrSearchDepartments = __esm(() => {
47573
48696
  });
47574
48697
 
47575
48698
  // src/mcp-server/tools/organizationsListOrSearchDepartments.ts
47576
- var args16, tool$organizationsListOrSearchDepartments;
48699
+ var args20, tool$organizationsListOrSearchDepartments;
47577
48700
  var init_organizationsListOrSearchDepartments2 = __esm(() => {
47578
48701
  init_organizationsListOrSearchDepartments();
47579
48702
  init_operations();
47580
48703
  init_tools();
47581
- args16 = {
48704
+ args20 = {
47582
48705
  request: ListOrSearchDepartmentsRequest$inboundSchema
47583
48706
  };
47584
48707
  tool$organizationsListOrSearchDepartments = {
@@ -47586,9 +48709,9 @@ var init_organizationsListOrSearchDepartments2 = __esm(() => {
47586
48709
  description: `List or search departments
47587
48710
 
47588
48711
  List or search departments.`,
47589
- args: args16,
47590
- tool: async (client, args17, ctx) => {
47591
- const [result, apiCall] = await organizationsListOrSearchDepartments(client, args17.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48712
+ args: args20,
48713
+ tool: async (client, args21, ctx) => {
48714
+ const [result, apiCall] = await organizationsListOrSearchDepartments(client, args21.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47592
48715
  if (!result.ok) {
47593
48716
  return {
47594
48717
  content: [{ type: "text", text: result.error.message }],
@@ -47603,9 +48726,9 @@ List or search departments.`,
47603
48726
 
47604
48727
  // src/funcs/organizationsListOrSearchFacilities.ts
47605
48728
  function organizationsListOrSearchFacilities(client, request, options) {
47606
- return new APIPromise($do17(client, request, options));
48729
+ return new APIPromise($do21(client, request, options));
47607
48730
  }
47608
- async function $do17(client, request, options) {
48731
+ async function $do21(client, request, options) {
47609
48732
  const parsed = safeParse(request, (value) => ListOrSearchFacilitiesRequest$outboundSchema.parse(value), "Input validation failed");
47610
48733
  if (!parsed.ok) {
47611
48734
  return [haltIterator(parsed), { status: "invalid" }];
@@ -47721,12 +48844,12 @@ var init_organizationsListOrSearchFacilities = __esm(() => {
47721
48844
  });
47722
48845
 
47723
48846
  // src/mcp-server/tools/organizationsListOrSearchFacilities.ts
47724
- var args17, tool$organizationsListOrSearchFacilities;
48847
+ var args21, tool$organizationsListOrSearchFacilities;
47725
48848
  var init_organizationsListOrSearchFacilities2 = __esm(() => {
47726
48849
  init_organizationsListOrSearchFacilities();
47727
48850
  init_operations();
47728
48851
  init_tools();
47729
- args17 = {
48852
+ args21 = {
47730
48853
  request: ListOrSearchFacilitiesRequest$inboundSchema
47731
48854
  };
47732
48855
  tool$organizationsListOrSearchFacilities = {
@@ -47747,9 +48870,9 @@ Available \`expand\` scopes are:
47747
48870
  - facility.vendor_policy
47748
48871
  - facility.visitor_policy
47749
48872
  - facility.workflow`,
47750
- args: args17,
47751
- tool: async (client, args18, ctx) => {
47752
- const [result, apiCall] = await organizationsListOrSearchFacilities(client, args18.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48873
+ args: args21,
48874
+ tool: async (client, args22, ctx) => {
48875
+ const [result, apiCall] = await organizationsListOrSearchFacilities(client, args22.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47753
48876
  if (!result.ok) {
47754
48877
  return {
47755
48878
  content: [{ type: "text", text: result.error.message }],
@@ -47764,9 +48887,9 @@ Available \`expand\` scopes are:
47764
48887
 
47765
48888
  // src/funcs/supportArticlesGetSupportArticle.ts
47766
48889
  function supportArticlesGetSupportArticle(client, request, options) {
47767
- return new APIPromise($do18(client, request, options));
48890
+ return new APIPromise($do22(client, request, options));
47768
48891
  }
47769
- async function $do18(client, request, options) {
48892
+ async function $do22(client, request, options) {
47770
48893
  const parsed = safeParse(request, (value) => GetSupportArticleRequest$outboundSchema.parse(value), "Input validation failed");
47771
48894
  if (!parsed.ok) {
47772
48895
  return [parsed, { status: "invalid" }];
@@ -47846,12 +48969,12 @@ var init_supportArticlesGetSupportArticle = __esm(() => {
47846
48969
  });
47847
48970
 
47848
48971
  // src/mcp-server/tools/supportArticlesGetSupportArticle.ts
47849
- var args18, tool$supportArticlesGetSupportArticle;
48972
+ var args22, tool$supportArticlesGetSupportArticle;
47850
48973
  var init_supportArticlesGetSupportArticle2 = __esm(() => {
47851
48974
  init_supportArticlesGetSupportArticle();
47852
48975
  init_operations();
47853
48976
  init_tools();
47854
- args18 = {
48977
+ args22 = {
47855
48978
  request: GetSupportArticleRequest$inboundSchema
47856
48979
  };
47857
48980
  tool$supportArticlesGetSupportArticle = {
@@ -47866,9 +48989,9 @@ Available \`expand\` scopes are:
47866
48989
  - support_article.published
47867
48990
  - support_article.notes
47868
48991
  - support_article.support_category`,
47869
- args: args18,
47870
- tool: async (client, args19, ctx) => {
47871
- const [result, apiCall] = await supportArticlesGetSupportArticle(client, args19.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48992
+ args: args22,
48993
+ tool: async (client, args23, ctx) => {
48994
+ const [result, apiCall] = await supportArticlesGetSupportArticle(client, args23.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47872
48995
  if (!result.ok) {
47873
48996
  return {
47874
48997
  content: [{ type: "text", text: result.error.message }],
@@ -47883,9 +49006,9 @@ Available \`expand\` scopes are:
47883
49006
 
47884
49007
  // src/funcs/supportArticlesListOrSearchSupportArticles.ts
47885
49008
  function supportArticlesListOrSearchSupportArticles(client, request, options) {
47886
- return new APIPromise($do19(client, request, options));
49009
+ return new APIPromise($do23(client, request, options));
47887
49010
  }
47888
- async function $do19(client, request, options) {
49011
+ async function $do23(client, request, options) {
47889
49012
  const parsed = safeParse(request, (value) => ListOrSearchSupportArticlesRequest$outboundSchema.parse(value), "Input validation failed");
47890
49013
  if (!parsed.ok) {
47891
49014
  return [haltIterator(parsed), { status: "invalid" }];
@@ -47995,12 +49118,12 @@ var init_supportArticlesListOrSearchSupportArticles = __esm(() => {
47995
49118
  });
47996
49119
 
47997
49120
  // src/mcp-server/tools/supportArticlesListOrSearchSupportArticles.ts
47998
- var args19, tool$supportArticlesListOrSearchSupportArticles;
49121
+ var args23, tool$supportArticlesListOrSearchSupportArticles;
47999
49122
  var init_supportArticlesListOrSearchSupportArticles2 = __esm(() => {
48000
49123
  init_supportArticlesListOrSearchSupportArticles();
48001
49124
  init_operations();
48002
49125
  init_tools();
48003
- args19 = {
49126
+ args23 = {
48004
49127
  request: ListOrSearchSupportArticlesRequest$inboundSchema
48005
49128
  };
48006
49129
  tool$supportArticlesListOrSearchSupportArticles = {
@@ -48008,9 +49131,9 @@ var init_supportArticlesListOrSearchSupportArticles2 = __esm(() => {
48008
49131
  description: `List or search support articles
48009
49132
 
48010
49133
  List or search support articles for FAQ.`,
48011
- args: args19,
48012
- tool: async (client, args20, ctx) => {
48013
- const [result, apiCall] = await supportArticlesListOrSearchSupportArticles(client, args20.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
49134
+ args: args23,
49135
+ tool: async (client, args24, ctx) => {
49136
+ const [result, apiCall] = await supportArticlesListOrSearchSupportArticles(client, args24.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48014
49137
  if (!result.ok) {
48015
49138
  return {
48016
49139
  content: [{ type: "text", text: result.error.message }],
@@ -48025,9 +49148,9 @@ List or search support articles for FAQ.`,
48025
49148
 
48026
49149
  // src/funcs/systemsListSystems.ts
48027
49150
  function systemsListSystems(client, request, options) {
48028
- return new APIPromise($do20(client, request, options));
49151
+ return new APIPromise($do24(client, request, options));
48029
49152
  }
48030
- async function $do20(client, request, options) {
49153
+ async function $do24(client, request, options) {
48031
49154
  const parsed = safeParse(request, (value) => ListSystemsRequest$outboundSchema.parse(value), "Input validation failed");
48032
49155
  if (!parsed.ok) {
48033
49156
  return [haltIterator(parsed), { status: "invalid" }];
@@ -48138,12 +49261,12 @@ var init_systemsListSystems = __esm(() => {
48138
49261
  });
48139
49262
 
48140
49263
  // src/mcp-server/tools/systemsListSystems.ts
48141
- var args20, tool$systemsListSystems;
49264
+ var args24, tool$systemsListSystems;
48142
49265
  var init_systemsListSystems2 = __esm(() => {
48143
49266
  init_systemsListSystems();
48144
49267
  init_operations();
48145
49268
  init_tools();
48146
- args20 = {
49269
+ args24 = {
48147
49270
  request: ListSystemsRequest$inboundSchema
48148
49271
  };
48149
49272
  tool$systemsListSystems = {
@@ -48155,9 +49278,9 @@ List or search systems.
48155
49278
  Available \`expand\` scopes are:
48156
49279
 
48157
49280
  - system.facilities`,
48158
- args: args20,
48159
- tool: async (client, args21, ctx) => {
48160
- const [result, apiCall] = await systemsListSystems(client, args21.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
49281
+ args: args24,
49282
+ tool: async (client, args25, ctx) => {
49283
+ const [result, apiCall] = await systemsListSystems(client, args25.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48161
49284
  if (!result.ok) {
48162
49285
  return {
48163
49286
  content: [{ type: "text", text: result.error.message }],
@@ -48172,9 +49295,9 @@ Available \`expand\` scopes are:
48172
49295
 
48173
49296
  // src/funcs/usersChangePassword.ts
48174
49297
  function usersChangePassword(client, request, options) {
48175
- return new APIPromise($do21(client, request, options));
49298
+ return new APIPromise($do25(client, request, options));
48176
49299
  }
48177
- async function $do21(client, request, options) {
49300
+ async function $do25(client, request, options) {
48178
49301
  const parsed = safeParse(request, (value) => ChangePasswordRequest$outboundSchema.parse(value), "Input validation failed");
48179
49302
  if (!parsed.ok) {
48180
49303
  return [parsed, { status: "invalid" }];
@@ -48250,12 +49373,12 @@ var init_usersChangePassword = __esm(() => {
48250
49373
  });
48251
49374
 
48252
49375
  // src/mcp-server/tools/usersChangePassword.ts
48253
- var args21, tool$usersChangePassword;
49376
+ var args25, tool$usersChangePassword;
48254
49377
  var init_usersChangePassword2 = __esm(() => {
48255
49378
  init_usersChangePassword();
48256
49379
  init_operations();
48257
49380
  init_tools();
48258
- args21 = {
49381
+ args25 = {
48259
49382
  request: ChangePasswordRequest$inboundSchema
48260
49383
  };
48261
49384
  tool$usersChangePassword = {
@@ -48263,9 +49386,9 @@ var init_usersChangePassword2 = __esm(() => {
48263
49386
  description: `Change password
48264
49387
 
48265
49388
  Change the user's password to the new passed as parameter`,
48266
- args: args21,
48267
- tool: async (client, args22, ctx) => {
48268
- const [result, apiCall] = await usersChangePassword(client, args22.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
49389
+ args: args25,
49390
+ tool: async (client, args26, ctx) => {
49391
+ const [result, apiCall] = await usersChangePassword(client, args26.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48269
49392
  if (!result.ok) {
48270
49393
  return {
48271
49394
  content: [{ type: "text", text: result.error.message }],
@@ -48280,9 +49403,9 @@ Change the user's password to the new passed as parameter`,
48280
49403
 
48281
49404
  // src/funcs/usersGetCurrentUser.ts
48282
49405
  function usersGetCurrentUser(client, options) {
48283
- return new APIPromise($do22(client, options));
49406
+ return new APIPromise($do26(client, options));
48284
49407
  }
48285
- async function $do22(client, options) {
49408
+ async function $do26(client, options) {
48286
49409
  const path = pathToFunc("/users/me")();
48287
49410
  const headers = new Headers(compactMap({
48288
49411
  Accept: "application/json"
@@ -48367,9 +49490,9 @@ Returns a user object for the user represented by the authorization token`,
48367
49490
 
48368
49491
  // src/funcs/usersGetUserById.ts
48369
49492
  function usersGetUserById(client, request, options) {
48370
- return new APIPromise($do23(client, request, options));
49493
+ return new APIPromise($do27(client, request, options));
48371
49494
  }
48372
- async function $do23(client, request, options) {
49495
+ async function $do27(client, request, options) {
48373
49496
  const parsed = safeParse(request, (value) => GetUserByIdRequest$outboundSchema.parse(value), "Input validation failed");
48374
49497
  if (!parsed.ok) {
48375
49498
  return [parsed, { status: "invalid" }];
@@ -48445,12 +49568,12 @@ var init_usersGetUserById = __esm(() => {
48445
49568
  });
48446
49569
 
48447
49570
  // src/mcp-server/tools/usersGetUserById.ts
48448
- var args22, tool$usersGetUserById;
49571
+ var args26, tool$usersGetUserById;
48449
49572
  var init_usersGetUserById2 = __esm(() => {
48450
49573
  init_usersGetUserById();
48451
49574
  init_operations();
48452
49575
  init_tools();
48453
- args22 = {
49576
+ args26 = {
48454
49577
  request: GetUserByIdRequest$inboundSchema
48455
49578
  };
48456
49579
  tool$usersGetUserById = {
@@ -48458,9 +49581,9 @@ var init_usersGetUserById2 = __esm(() => {
48458
49581
  description: `Get user by id
48459
49582
 
48460
49583
  Returns a user object for the user represented by the identifier in the path.`,
48461
- args: args22,
48462
- tool: async (client, args23, ctx) => {
48463
- const [result, apiCall] = await usersGetUserById(client, args23.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
49584
+ args: args26,
49585
+ tool: async (client, args27, ctx) => {
49586
+ const [result, apiCall] = await usersGetUserById(client, args27.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48464
49587
  if (!result.ok) {
48465
49588
  return {
48466
49589
  content: [{ type: "text", text: result.error.message }],
@@ -48475,9 +49598,9 @@ Returns a user object for the user represented by the identifier in the path.`,
48475
49598
 
48476
49599
  // src/funcs/usersMagiclink.ts
48477
49600
  function usersMagiclink(client, request, options) {
48478
- return new APIPromise($do24(client, request, options));
49601
+ return new APIPromise($do28(client, request, options));
48479
49602
  }
48480
- async function $do24(client, request, options) {
49603
+ async function $do28(client, request, options) {
48481
49604
  const parsed = safeParse(request, (value) => MagiclinkRequestBody$outboundSchema.parse(value), "Input validation failed");
48482
49605
  if (!parsed.ok) {
48483
49606
  return [parsed, { status: "invalid" }];
@@ -48547,12 +49670,12 @@ var init_usersMagiclink = __esm(() => {
48547
49670
  });
48548
49671
 
48549
49672
  // src/mcp-server/tools/usersMagiclink.ts
48550
- var args23, tool$usersMagiclink;
49673
+ var args27, tool$usersMagiclink;
48551
49674
  var init_usersMagiclink2 = __esm(() => {
48552
49675
  init_usersMagiclink();
48553
49676
  init_operations();
48554
49677
  init_tools();
48555
- args23 = {
49678
+ args27 = {
48556
49679
  request: MagiclinkRequestBody$inboundSchema
48557
49680
  };
48558
49681
  tool$usersMagiclink = {
@@ -48560,9 +49683,9 @@ var init_usersMagiclink2 = __esm(() => {
48560
49683
  description: `Magic link
48561
49684
 
48562
49685
  It sends an email with a magic link to allow the user to log in.`,
48563
- args: args23,
48564
- tool: async (client, args24, ctx) => {
48565
- const [result, apiCall] = await usersMagiclink(client, args24.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
49686
+ args: args27,
49687
+ tool: async (client, args28, ctx) => {
49688
+ const [result, apiCall] = await usersMagiclink(client, args28.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48566
49689
  if (!result.ok) {
48567
49690
  return {
48568
49691
  content: [{ type: "text", text: result.error.message }],
@@ -48577,9 +49700,9 @@ It sends an email with a magic link to allow the user to log in.`,
48577
49700
 
48578
49701
  // src/funcs/usersPassword.ts
48579
49702
  function usersPassword(client, request, options) {
48580
- return new APIPromise($do25(client, request, options));
49703
+ return new APIPromise($do29(client, request, options));
48581
49704
  }
48582
- async function $do25(client, request, options) {
49705
+ async function $do29(client, request, options) {
48583
49706
  const parsed = safeParse(request, (value) => PasswordRequestBody$outboundSchema.parse(value), "Input validation failed");
48584
49707
  if (!parsed.ok) {
48585
49708
  return [parsed, { status: "invalid" }];
@@ -48649,12 +49772,12 @@ var init_usersPassword = __esm(() => {
48649
49772
  });
48650
49773
 
48651
49774
  // src/mcp-server/tools/usersPassword.ts
48652
- var args24, tool$usersPassword;
49775
+ var args28, tool$usersPassword;
48653
49776
  var init_usersPassword2 = __esm(() => {
48654
49777
  init_usersPassword();
48655
49778
  init_operations();
48656
49779
  init_tools();
48657
- args24 = {
49780
+ args28 = {
48658
49781
  request: PasswordRequestBody$inboundSchema
48659
49782
  };
48660
49783
  tool$usersPassword = {
@@ -48663,9 +49786,9 @@ var init_usersPassword2 = __esm(() => {
48663
49786
 
48664
49787
  Resets the a user's password using a password_reset_id that was sent to them via email.
48665
49788
  See /users/passwordresetrequest to initiate a password reset flow.`,
48666
- args: args24,
48667
- tool: async (client, args25, ctx) => {
48668
- const [result, apiCall] = await usersPassword(client, args25.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
49789
+ args: args28,
49790
+ tool: async (client, args29, ctx) => {
49791
+ const [result, apiCall] = await usersPassword(client, args29.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48669
49792
  if (!result.ok) {
48670
49793
  return {
48671
49794
  content: [{ type: "text", text: result.error.message }],
@@ -48680,9 +49803,9 @@ See /users/passwordresetrequest to initiate a password reset flow.`,
48680
49803
 
48681
49804
  // src/funcs/usersPasswordResetRequest.ts
48682
49805
  function usersPasswordResetRequest(client, request, options) {
48683
- return new APIPromise($do26(client, request, options));
49806
+ return new APIPromise($do30(client, request, options));
48684
49807
  }
48685
- async function $do26(client, request, options) {
49808
+ async function $do30(client, request, options) {
48686
49809
  const parsed = safeParse(request, (value) => PasswordResetRequestRequestBody$outboundSchema.parse(value), "Input validation failed");
48687
49810
  if (!parsed.ok) {
48688
49811
  return [parsed, { status: "invalid" }];
@@ -48752,12 +49875,12 @@ var init_usersPasswordResetRequest = __esm(() => {
48752
49875
  });
48753
49876
 
48754
49877
  // src/mcp-server/tools/usersPasswordResetRequest.ts
48755
- var args25, tool$usersPasswordResetRequest;
49878
+ var args29, tool$usersPasswordResetRequest;
48756
49879
  var init_usersPasswordResetRequest2 = __esm(() => {
48757
49880
  init_usersPasswordResetRequest();
48758
49881
  init_operations();
48759
49882
  init_tools();
48760
- args25 = {
49883
+ args29 = {
48761
49884
  request: PasswordResetRequestRequestBody$inboundSchema
48762
49885
  };
48763
49886
  tool$usersPasswordResetRequest = {
@@ -48765,9 +49888,9 @@ var init_usersPasswordResetRequest2 = __esm(() => {
48765
49888
  description: `Password reset request
48766
49889
 
48767
49890
  It sends an email with a link for resetting a user's password.`,
48768
- args: args25,
48769
- tool: async (client, args26, ctx) => {
48770
- const [result, apiCall] = await usersPasswordResetRequest(client, args26.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
49891
+ args: args29,
49892
+ tool: async (client, args30, ctx) => {
49893
+ const [result, apiCall] = await usersPasswordResetRequest(client, args30.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48771
49894
  if (!result.ok) {
48772
49895
  return {
48773
49896
  content: [{ type: "text", text: result.error.message }],
@@ -48782,9 +49905,9 @@ It sends an email with a link for resetting a user's password.`,
48782
49905
 
48783
49906
  // src/funcs/usersPostAuthenticate.ts
48784
49907
  function usersPostAuthenticate(client, request, options) {
48785
- return new APIPromise($do27(client, request, options));
49908
+ return new APIPromise($do31(client, request, options));
48786
49909
  }
48787
- async function $do27(client, request, options) {
49910
+ async function $do31(client, request, options) {
48788
49911
  const parsed = safeParse(request, (value) => PostAuthenticateRequestBody$outboundSchema.parse(value), "Input validation failed");
48789
49912
  if (!parsed.ok) {
48790
49913
  return [parsed, { status: "invalid" }];
@@ -48850,12 +49973,12 @@ var init_usersPostAuthenticate = __esm(() => {
48850
49973
  });
48851
49974
 
48852
49975
  // src/mcp-server/tools/usersPostAuthenticate.ts
48853
- var args26, tool$usersPostAuthenticate;
49976
+ var args30, tool$usersPostAuthenticate;
48854
49977
  var init_usersPostAuthenticate2 = __esm(() => {
48855
49978
  init_usersPostAuthenticate();
48856
49979
  init_operations();
48857
49980
  init_tools();
48858
- args26 = {
49981
+ args30 = {
48859
49982
  request: PostAuthenticateRequestBody$inboundSchema
48860
49983
  };
48861
49984
  tool$usersPostAuthenticate = {
@@ -48893,9 +50016,9 @@ Requires: \`saml_login\`
48893
50016
  3. Site redirects to your selected \`return_url\`
48894
50017
  4. The \`user_token\` will be appended as a query string parameter to your \`return_url\` - you must parse this token and store it
48895
50018
  5. Fetch the user object from \`/users/me\` using the token`,
48896
- args: args26,
48897
- tool: async (client, args27, ctx) => {
48898
- const [result, apiCall] = await usersPostAuthenticate(client, args27.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
50019
+ args: args30,
50020
+ tool: async (client, args31, ctx) => {
50021
+ const [result, apiCall] = await usersPostAuthenticate(client, args31.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48899
50022
  if (!result.ok) {
48900
50023
  return {
48901
50024
  content: [{ type: "text", text: result.error.message }],
@@ -48910,9 +50033,9 @@ Requires: \`saml_login\`
48910
50033
 
48911
50034
  // src/funcs/usersRotateApiKey.ts
48912
50035
  function usersRotateApiKey(client, options) {
48913
- return new APIPromise($do28(client, options));
50036
+ return new APIPromise($do32(client, options));
48914
50037
  }
48915
- async function $do28(client, options) {
50038
+ async function $do32(client, options) {
48916
50039
  const path = pathToFunc("/users/api_key_rotator")();
48917
50040
  const headers = new Headers(compactMap({
48918
50041
  Accept: "application/json"
@@ -48997,9 +50120,9 @@ Allows an API user to rotate their own API key. Note, the key rotation happens i
48997
50120
 
48998
50121
  // src/funcs/vendorsAcceptVendorCredential.ts
48999
50122
  function vendorsAcceptVendorCredential(client, request, options) {
49000
- return new APIPromise($do29(client, request, options));
50123
+ return new APIPromise($do33(client, request, options));
49001
50124
  }
49002
- async function $do29(client, request, options) {
50125
+ async function $do33(client, request, options) {
49003
50126
  const parsed = safeParse(request, (value) => AcceptVendorCredentialRequest$outboundSchema.parse(value), "Input validation failed");
49004
50127
  if (!parsed.ok) {
49005
50128
  return [parsed, { status: "invalid" }];
@@ -49072,12 +50195,12 @@ var init_vendorsAcceptVendorCredential = __esm(() => {
49072
50195
  });
49073
50196
 
49074
50197
  // src/mcp-server/tools/vendorsAcceptVendorCredential.ts
49075
- var args27, tool$vendorsAcceptVendorCredential;
50198
+ var args31, tool$vendorsAcceptVendorCredential;
49076
50199
  var init_vendorsAcceptVendorCredential2 = __esm(() => {
49077
50200
  init_vendorsAcceptVendorCredential();
49078
50201
  init_operations();
49079
50202
  init_tools();
49080
- args27 = {
50203
+ args31 = {
49081
50204
  request: AcceptVendorCredentialRequest$inboundSchema
49082
50205
  };
49083
50206
  tool$vendorsAcceptVendorCredential = {
@@ -49085,9 +50208,9 @@ var init_vendorsAcceptVendorCredential2 = __esm(() => {
49085
50208
  description: `Accept vendor credential
49086
50209
 
49087
50210
  It will accept vendor credential`,
49088
- args: args27,
49089
- tool: async (client, args28, ctx) => {
49090
- const [result, apiCall] = await vendorsAcceptVendorCredential(client, args28.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
50211
+ args: args31,
50212
+ tool: async (client, args32, ctx) => {
50213
+ const [result, apiCall] = await vendorsAcceptVendorCredential(client, args32.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
49091
50214
  if (!result.ok) {
49092
50215
  return {
49093
50216
  content: [{ type: "text", text: result.error.message }],
@@ -49102,9 +50225,9 @@ It will accept vendor credential`,
49102
50225
 
49103
50226
  // src/funcs/vendorsAddVendorCredentialFile.ts
49104
50227
  function vendorsAddVendorCredentialFile(client, request, options) {
49105
- return new APIPromise($do30(client, request, options));
50228
+ return new APIPromise($do34(client, request, options));
49106
50229
  }
49107
- async function $do30(client, request, options) {
50230
+ async function $do34(client, request, options) {
49108
50231
  const parsed = safeParse(request, (value) => AddVendorCredentialFileRequest$outboundSchema.parse(value), "Input validation failed");
49109
50232
  if (!parsed.ok) {
49110
50233
  return [parsed, { status: "invalid" }];
@@ -49177,12 +50300,12 @@ var init_vendorsAddVendorCredentialFile = __esm(() => {
49177
50300
  });
49178
50301
 
49179
50302
  // src/mcp-server/tools/vendorsAddVendorCredentialFile.ts
49180
- var args28, tool$vendorsAddVendorCredentialFile;
50303
+ var args32, tool$vendorsAddVendorCredentialFile;
49181
50304
  var init_vendorsAddVendorCredentialFile2 = __esm(() => {
49182
50305
  init_vendorsAddVendorCredentialFile();
49183
50306
  init_operations();
49184
50307
  init_tools();
49185
- args28 = {
50308
+ args32 = {
49186
50309
  request: AddVendorCredentialFileRequest$inboundSchema
49187
50310
  };
49188
50311
  tool$vendorsAddVendorCredentialFile = {
@@ -49190,9 +50313,9 @@ var init_vendorsAddVendorCredentialFile2 = __esm(() => {
49190
50313
  description: `Add vendor credential file
49191
50314
 
49192
50315
  It will add a new vendor credential file`,
49193
- args: args28,
49194
- tool: async (client, args29, ctx) => {
49195
- const [result, apiCall] = await vendorsAddVendorCredentialFile(client, args29.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
50316
+ args: args32,
50317
+ tool: async (client, args33, ctx) => {
50318
+ const [result, apiCall] = await vendorsAddVendorCredentialFile(client, args33.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
49196
50319
  if (!result.ok) {
49197
50320
  return {
49198
50321
  content: [{ type: "text", text: result.error.message }],
@@ -49207,9 +50330,9 @@ It will add a new vendor credential file`,
49207
50330
 
49208
50331
  // src/funcs/vendorsAddVendorManagedByCompany.ts
49209
50332
  function vendorsAddVendorManagedByCompany(client, request, options) {
49210
- return new APIPromise($do31(client, request, options));
50333
+ return new APIPromise($do35(client, request, options));
49211
50334
  }
49212
- async function $do31(client, request, options) {
50335
+ async function $do35(client, request, options) {
49213
50336
  const parsed = safeParse(request, (value) => AddVendorManagedByCompanyRequest$outboundSchema.parse(value), "Input validation failed");
49214
50337
  if (!parsed.ok) {
49215
50338
  return [parsed, { status: "invalid" }];
@@ -49285,12 +50408,12 @@ var init_vendorsAddVendorManagedByCompany = __esm(() => {
49285
50408
  });
49286
50409
 
49287
50410
  // src/mcp-server/tools/vendorsAddVendorManagedByCompany.ts
49288
- var args29, tool$vendorsAddVendorManagedByCompany;
50411
+ var args33, tool$vendorsAddVendorManagedByCompany;
49289
50412
  var init_vendorsAddVendorManagedByCompany2 = __esm(() => {
49290
50413
  init_vendorsAddVendorManagedByCompany();
49291
50414
  init_operations();
49292
50415
  init_tools();
49293
- args29 = {
50416
+ args33 = {
49294
50417
  request: AddVendorManagedByCompanyRequest$inboundSchema
49295
50418
  };
49296
50419
  tool$vendorsAddVendorManagedByCompany = {
@@ -49298,9 +50421,9 @@ var init_vendorsAddVendorManagedByCompany2 = __esm(() => {
49298
50421
  description: `Add vendor managed by company
49299
50422
 
49300
50423
  It will add a vendor managed by company`,
49301
- args: args29,
49302
- tool: async (client, args30, ctx) => {
49303
- const [result, apiCall] = await vendorsAddVendorManagedByCompany(client, args30.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
50424
+ args: args33,
50425
+ tool: async (client, args34, ctx) => {
50426
+ const [result, apiCall] = await vendorsAddVendorManagedByCompany(client, args34.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
49304
50427
  if (!result.ok) {
49305
50428
  return {
49306
50429
  content: [{ type: "text", text: result.error.message }],
@@ -49315,9 +50438,9 @@ It will add a vendor managed by company`,
49315
50438
 
49316
50439
  // src/funcs/vendorsCalculateSubscriptionPrice.ts
49317
50440
  function vendorsCalculateSubscriptionPrice(client, request, options) {
49318
- return new APIPromise($do32(client, request, options));
50441
+ return new APIPromise($do36(client, request, options));
49319
50442
  }
49320
- async function $do32(client, request, options) {
50443
+ async function $do36(client, request, options) {
49321
50444
  const parsed = safeParse(request, (value) => CalculateSubscriptionPriceRequest$outboundSchema.parse(value), "Input validation failed");
49322
50445
  if (!parsed.ok) {
49323
50446
  return [parsed, { status: "invalid" }];
@@ -49393,12 +50516,12 @@ var init_vendorsCalculateSubscriptionPrice = __esm(() => {
49393
50516
  });
49394
50517
 
49395
50518
  // src/mcp-server/tools/vendorsCalculateSubscriptionPrice.ts
49396
- var args30, tool$vendorsCalculateSubscriptionPrice;
50519
+ var args34, tool$vendorsCalculateSubscriptionPrice;
49397
50520
  var init_vendorsCalculateSubscriptionPrice2 = __esm(() => {
49398
50521
  init_vendorsCalculateSubscriptionPrice();
49399
50522
  init_operations();
49400
50523
  init_tools();
49401
- args30 = {
50524
+ args34 = {
49402
50525
  request: CalculateSubscriptionPriceRequest$inboundSchema
49403
50526
  };
49404
50527
  tool$vendorsCalculateSubscriptionPrice = {
@@ -49406,9 +50529,9 @@ var init_vendorsCalculateSubscriptionPrice2 = __esm(() => {
49406
50529
  description: `Calculate subscription price
49407
50530
 
49408
50531
  Calculate subscription price`,
49409
- args: args30,
49410
- tool: async (client, args31, ctx) => {
49411
- const [result, apiCall] = await vendorsCalculateSubscriptionPrice(client, args31.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
50532
+ args: args34,
50533
+ tool: async (client, args35, ctx) => {
50534
+ const [result, apiCall] = await vendorsCalculateSubscriptionPrice(client, args35.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
49412
50535
  if (!result.ok) {
49413
50536
  return {
49414
50537
  content: [{ type: "text", text: result.error.message }],
@@ -49423,9 +50546,9 @@ Calculate subscription price`,
49423
50546
 
49424
50547
  // src/funcs/vendorScansVendorScanOut.ts
49425
50548
  function vendorScansVendorScanOut(client, request, options) {
49426
- return new APIPromise($do33(client, request, options));
50549
+ return new APIPromise($do37(client, request, options));
49427
50550
  }
49428
- async function $do33(client, request, options) {
50551
+ async function $do37(client, request, options) {
49429
50552
  const parsed = safeParse(request, (value) => VendorScanOutRequest$outboundSchema.parse(value), "Input validation failed");
49430
50553
  if (!parsed.ok) {
49431
50554
  return [parsed, { status: "invalid" }];
@@ -49500,12 +50623,12 @@ var init_vendorScansVendorScanOut = __esm(() => {
49500
50623
  });
49501
50624
 
49502
50625
  // src/mcp-server/tools/vendorScansVendorScanOut.ts
49503
- var args31, tool$vendorScansVendorScanOut;
50626
+ var args35, tool$vendorScansVendorScanOut;
49504
50627
  var init_vendorScansVendorScanOut2 = __esm(() => {
49505
50628
  init_vendorScansVendorScanOut();
49506
50629
  init_operations();
49507
50630
  init_tools();
49508
- args31 = {
50631
+ args35 = {
49509
50632
  request: VendorScanOutRequest$inboundSchema
49510
50633
  };
49511
50634
  tool$vendorScansVendorScanOut = {
@@ -49513,9 +50636,9 @@ var init_vendorScansVendorScanOut2 = __esm(() => {
49513
50636
  description: `Vendor scan out
49514
50637
 
49515
50638
  It scans out vendor from facility`,
49516
- args: args31,
49517
- tool: async (client, args32, ctx) => {
49518
- const [result, apiCall] = await vendorScansVendorScanOut(client, args32.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
50639
+ args: args35,
50640
+ tool: async (client, args36, ctx) => {
50641
+ const [result, apiCall] = await vendorScansVendorScanOut(client, args36.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
49519
50642
  if (!result.ok) {
49520
50643
  return {
49521
50644
  content: [{ type: "text", text: result.error.message }],
@@ -49530,9 +50653,9 @@ It scans out vendor from facility`,
49530
50653
 
49531
50654
  // src/funcs/vendorsChangeSubscription.ts
49532
50655
  function vendorsChangeSubscription(client, request, options) {
49533
- return new APIPromise($do34(client, request, options));
50656
+ return new APIPromise($do38(client, request, options));
49534
50657
  }
49535
- async function $do34(client, request, options) {
50658
+ async function $do38(client, request, options) {
49536
50659
  const parsed = safeParse(request, (value) => ChangeSubscriptionRequest$outboundSchema.parse(value), "Input validation failed");
49537
50660
  if (!parsed.ok) {
49538
50661
  return [parsed, { status: "invalid" }];
@@ -49608,12 +50731,12 @@ var init_vendorsChangeSubscription = __esm(() => {
49608
50731
  });
49609
50732
 
49610
50733
  // src/mcp-server/tools/vendorsChangeSubscription.ts
49611
- var args32, tool$vendorsChangeSubscription;
50734
+ var args36, tool$vendorsChangeSubscription;
49612
50735
  var init_vendorsChangeSubscription2 = __esm(() => {
49613
50736
  init_vendorsChangeSubscription();
49614
50737
  init_operations();
49615
50738
  init_tools();
49616
- args32 = {
50739
+ args36 = {
49617
50740
  request: ChangeSubscriptionRequest$inboundSchema
49618
50741
  };
49619
50742
  tool$vendorsChangeSubscription = {
@@ -49621,9 +50744,9 @@ var init_vendorsChangeSubscription2 = __esm(() => {
49621
50744
  description: `Change subscription
49622
50745
 
49623
50746
  Calculate subscription price`,
49624
- args: args32,
49625
- tool: async (client, args33, ctx) => {
49626
- const [result, apiCall] = await vendorsChangeSubscription(client, args33.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
50747
+ args: args36,
50748
+ tool: async (client, args37, ctx) => {
50749
+ const [result, apiCall] = await vendorsChangeSubscription(client, args37.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
49627
50750
  if (!result.ok) {
49628
50751
  return {
49629
50752
  content: [{ type: "text", text: result.error.message }],
@@ -49638,9 +50761,9 @@ Calculate subscription price`,
49638
50761
 
49639
50762
  // src/funcs/vendorsCheckDownloadCode.ts
49640
50763
  function vendorsCheckDownloadCode(client, request, options) {
49641
- return new APIPromise($do35(client, request, options));
50764
+ return new APIPromise($do39(client, request, options));
49642
50765
  }
49643
- async function $do35(client, request, options) {
50766
+ async function $do39(client, request, options) {
49644
50767
  const parsed = safeParse(request, (value) => CheckDownloadCodeRequest$outboundSchema.parse(value), "Input validation failed");
49645
50768
  if (!parsed.ok) {
49646
50769
  return [parsed, { status: "invalid" }];
@@ -49716,12 +50839,12 @@ var init_vendorsCheckDownloadCode = __esm(() => {
49716
50839
  });
49717
50840
 
49718
50841
  // src/mcp-server/tools/vendorsCheckDownloadCode.ts
49719
- var args33, tool$vendorsCheckDownloadCode;
50842
+ var args37, tool$vendorsCheckDownloadCode;
49720
50843
  var init_vendorsCheckDownloadCode2 = __esm(() => {
49721
50844
  init_vendorsCheckDownloadCode();
49722
50845
  init_operations();
49723
50846
  init_tools();
49724
- args33 = {
50847
+ args37 = {
49725
50848
  request: CheckDownloadCodeRequest$inboundSchema
49726
50849
  };
49727
50850
  tool$vendorsCheckDownloadCode = {
@@ -49729,9 +50852,9 @@ var init_vendorsCheckDownloadCode2 = __esm(() => {
49729
50852
  description: `Check download code for vendor credential
49730
50853
 
49731
50854
  It will check download code for vendor credential`,
49732
- args: args33,
49733
- tool: async (client, args34, ctx) => {
49734
- const [result, apiCall] = await vendorsCheckDownloadCode(client, args34.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
50855
+ args: args37,
50856
+ tool: async (client, args38, ctx) => {
50857
+ const [result, apiCall] = await vendorsCheckDownloadCode(client, args38.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
49735
50858
  if (!result.ok) {
49736
50859
  return {
49737
50860
  content: [{ type: "text", text: result.error.message }],
@@ -49746,9 +50869,9 @@ It will check download code for vendor credential`,
49746
50869
 
49747
50870
  // src/funcs/vendorsCreateNewVendorCredentialVersion.ts
49748
50871
  function vendorsCreateNewVendorCredentialVersion(client, request, options) {
49749
- return new APIPromise($do36(client, request, options));
50872
+ return new APIPromise($do40(client, request, options));
49750
50873
  }
49751
- async function $do36(client, request, options) {
50874
+ async function $do40(client, request, options) {
49752
50875
  const parsed = safeParse(request, (value) => CreateNewVendorCredentialVersionRequestBody$outboundSchema.parse(value), "Input validation failed");
49753
50876
  if (!parsed.ok) {
49754
50877
  return [parsed, { status: "invalid" }];
@@ -49818,12 +50941,12 @@ var init_vendorsCreateNewVendorCredentialVersion = __esm(() => {
49818
50941
  });
49819
50942
 
49820
50943
  // src/mcp-server/tools/vendorsCreateNewVendorCredentialVersion.ts
49821
- var args34, tool$vendorsCreateNewVendorCredentialVersion;
50944
+ var args38, tool$vendorsCreateNewVendorCredentialVersion;
49822
50945
  var init_vendorsCreateNewVendorCredentialVersion2 = __esm(() => {
49823
50946
  init_vendorsCreateNewVendorCredentialVersion();
49824
50947
  init_operations();
49825
50948
  init_tools();
49826
- args34 = {
50949
+ args38 = {
49827
50950
  request: CreateNewVendorCredentialVersionRequestBody$inboundSchema
49828
50951
  };
49829
50952
  tool$vendorsCreateNewVendorCredentialVersion = {
@@ -49831,9 +50954,9 @@ var init_vendorsCreateNewVendorCredentialVersion2 = __esm(() => {
49831
50954
  description: `Create new vendor credential version
49832
50955
 
49833
50956
  It will submit vendor credential`,
49834
- args: args34,
49835
- tool: async (client, args35, ctx) => {
49836
- const [result, apiCall] = await vendorsCreateNewVendorCredentialVersion(client, args35.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
50957
+ args: args38,
50958
+ tool: async (client, args39, ctx) => {
50959
+ const [result, apiCall] = await vendorsCreateNewVendorCredentialVersion(client, args39.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
49837
50960
  if (!result.ok) {
49838
50961
  return {
49839
50962
  content: [{ type: "text", text: result.error.message }],
@@ -49848,9 +50971,9 @@ It will submit vendor credential`,
49848
50971
 
49849
50972
  // src/funcs/vendorsCreateOrUpdateBcr.ts
49850
50973
  function vendorsCreateOrUpdateBcr(client, request, options) {
49851
- return new APIPromise($do37(client, request, options));
50974
+ return new APIPromise($do41(client, request, options));
49852
50975
  }
49853
- async function $do37(client, request, options) {
50976
+ async function $do41(client, request, options) {
49854
50977
  const parsed = safeParse(request, (value) => CreateOrUpdateBcrRequest$outboundSchema.parse(value), "Input validation failed");
49855
50978
  if (!parsed.ok) {
49856
50979
  return [parsed, { status: "invalid" }];
@@ -49924,12 +51047,12 @@ var init_vendorsCreateOrUpdateBcr = __esm(() => {
49924
51047
  });
49925
51048
 
49926
51049
  // src/mcp-server/tools/vendorsCreateOrUpdateBcr.ts
49927
- var args35, tool$vendorsCreateOrUpdateBcr;
51050
+ var args39, tool$vendorsCreateOrUpdateBcr;
49928
51051
  var init_vendorsCreateOrUpdateBcr2 = __esm(() => {
49929
51052
  init_vendorsCreateOrUpdateBcr();
49930
51053
  init_operations();
49931
51054
  init_tools();
49932
- args35 = {
51055
+ args39 = {
49933
51056
  request: CreateOrUpdateBcrRequest$inboundSchema
49934
51057
  };
49935
51058
  tool$vendorsCreateOrUpdateBcr = {
@@ -49937,9 +51060,9 @@ var init_vendorsCreateOrUpdateBcr2 = __esm(() => {
49937
51060
  description: `Create or update BackgroundCheckResults
49938
51061
 
49939
51062
  It will create or update BackgroundCheckResults`,
49940
- args: args35,
49941
- tool: async (client, args36, ctx) => {
49942
- const [result, apiCall] = await vendorsCreateOrUpdateBcr(client, args36.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
51063
+ args: args39,
51064
+ tool: async (client, args40, ctx) => {
51065
+ const [result, apiCall] = await vendorsCreateOrUpdateBcr(client, args40.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
49943
51066
  if (!result.ok) {
49944
51067
  return {
49945
51068
  content: [{ type: "text", text: result.error.message }],
@@ -49954,9 +51077,9 @@ It will create or update BackgroundCheckResults`,
49954
51077
 
49955
51078
  // src/funcs/vendorsCreateVendorCompany.ts
49956
51079
  function vendorsCreateVendorCompany(client, request, options) {
49957
- return new APIPromise($do38(client, request, options));
51080
+ return new APIPromise($do42(client, request, options));
49958
51081
  }
49959
- async function $do38(client, request, options) {
51082
+ async function $do42(client, request, options) {
49960
51083
  const parsed = safeParse(request, (value) => CreateVendorCompanyRequest$outboundSchema.parse(value), "Input validation failed");
49961
51084
  if (!parsed.ok) {
49962
51085
  return [parsed, { status: "invalid" }];
@@ -50032,12 +51155,12 @@ var init_vendorsCreateVendorCompany = __esm(() => {
50032
51155
  });
50033
51156
 
50034
51157
  // src/mcp-server/tools/vendorsCreateVendorCompany.ts
50035
- var args36, tool$vendorsCreateVendorCompany;
51158
+ var args40, tool$vendorsCreateVendorCompany;
50036
51159
  var init_vendorsCreateVendorCompany2 = __esm(() => {
50037
51160
  init_vendorsCreateVendorCompany();
50038
51161
  init_operations();
50039
51162
  init_tools();
50040
- args36 = {
51163
+ args40 = {
50041
51164
  request: CreateVendorCompanyRequest$inboundSchema
50042
51165
  };
50043
51166
  tool$vendorsCreateVendorCompany = {
@@ -50045,9 +51168,9 @@ var init_vendorsCreateVendorCompany2 = __esm(() => {
50045
51168
  description: `Create vendor company
50046
51169
 
50047
51170
  Create vendor company`,
50048
- args: args36,
50049
- tool: async (client, args37, ctx) => {
50050
- const [result, apiCall] = await vendorsCreateVendorCompany(client, args37.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
51171
+ args: args40,
51172
+ tool: async (client, args41, ctx) => {
51173
+ const [result, apiCall] = await vendorsCreateVendorCompany(client, args41.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
50051
51174
  if (!result.ok) {
50052
51175
  return {
50053
51176
  content: [{ type: "text", text: result.error.message }],
@@ -50062,9 +51185,9 @@ Create vendor company`,
50062
51185
 
50063
51186
  // src/funcs/vendorsCreateVendorRegistration.ts
50064
51187
  function vendorsCreateVendorRegistration(client, request, options) {
50065
- return new APIPromise($do39(client, request, options));
51188
+ return new APIPromise($do43(client, request, options));
50066
51189
  }
50067
- async function $do39(client, request, options) {
51190
+ async function $do43(client, request, options) {
50068
51191
  const parsed = safeParse(request, (value) => CreateVendorRegistrationRequestBody$outboundSchema.parse(value), "Input validation failed");
50069
51192
  if (!parsed.ok) {
50070
51193
  return [parsed, { status: "invalid" }];
@@ -50131,12 +51254,12 @@ var init_vendorsCreateVendorRegistration = __esm(() => {
50131
51254
  });
50132
51255
 
50133
51256
  // src/mcp-server/tools/vendorsCreateVendorRegistration.ts
50134
- var args37, tool$vendorsCreateVendorRegistration;
51257
+ var args41, tool$vendorsCreateVendorRegistration;
50135
51258
  var init_vendorsCreateVendorRegistration2 = __esm(() => {
50136
51259
  init_vendorsCreateVendorRegistration();
50137
51260
  init_operations();
50138
51261
  init_tools();
50139
- args37 = {
51262
+ args41 = {
50140
51263
  request: CreateVendorRegistrationRequestBody$inboundSchema
50141
51264
  };
50142
51265
  tool$vendorsCreateVendorRegistration = {
@@ -50144,9 +51267,9 @@ var init_vendorsCreateVendorRegistration2 = __esm(() => {
50144
51267
  description: `Create vendor registration
50145
51268
 
50146
51269
  Create an initial vendor registration. Once successful, the vendor will be able to continue to filling out the rest of their onboarding profile.`,
50147
- args: args37,
50148
- tool: async (client, args38, ctx) => {
50149
- const [result, apiCall] = await vendorsCreateVendorRegistration(client, args38.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
51270
+ args: args41,
51271
+ tool: async (client, args42, ctx) => {
51272
+ const [result, apiCall] = await vendorsCreateVendorRegistration(client, args42.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
50150
51273
  if (!result.ok) {
50151
51274
  return {
50152
51275
  content: [{ type: "text", text: result.error.message }],
@@ -50161,9 +51284,9 @@ Create an initial vendor registration. Once successful, the vendor will be able
50161
51284
 
50162
51285
  // src/funcs/vendorsDeclineVendorCredential.ts
50163
51286
  function vendorsDeclineVendorCredential(client, request, options) {
50164
- return new APIPromise($do40(client, request, options));
51287
+ return new APIPromise($do44(client, request, options));
50165
51288
  }
50166
- async function $do40(client, request, options) {
51289
+ async function $do44(client, request, options) {
50167
51290
  const parsed = safeParse(request, (value) => DeclineVendorCredentialRequest$outboundSchema.parse(value), "Input validation failed");
50168
51291
  if (!parsed.ok) {
50169
51292
  return [parsed, { status: "invalid" }];
@@ -50236,12 +51359,12 @@ var init_vendorsDeclineVendorCredential = __esm(() => {
50236
51359
  });
50237
51360
 
50238
51361
  // src/mcp-server/tools/vendorsDeclineVendorCredential.ts
50239
- var args38, tool$vendorsDeclineVendorCredential;
51362
+ var args42, tool$vendorsDeclineVendorCredential;
50240
51363
  var init_vendorsDeclineVendorCredential2 = __esm(() => {
50241
51364
  init_vendorsDeclineVendorCredential();
50242
51365
  init_operations();
50243
51366
  init_tools();
50244
- args38 = {
51367
+ args42 = {
50245
51368
  request: DeclineVendorCredentialRequest$inboundSchema
50246
51369
  };
50247
51370
  tool$vendorsDeclineVendorCredential = {
@@ -50249,9 +51372,9 @@ var init_vendorsDeclineVendorCredential2 = __esm(() => {
50249
51372
  description: `Decline vendor credential
50250
51373
 
50251
51374
  It will decline vendor credential`,
50252
- args: args38,
50253
- tool: async (client, args39, ctx) => {
50254
- const [result, apiCall] = await vendorsDeclineVendorCredential(client, args39.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
51375
+ args: args42,
51376
+ tool: async (client, args43, ctx) => {
51377
+ const [result, apiCall] = await vendorsDeclineVendorCredential(client, args43.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
50255
51378
  if (!result.ok) {
50256
51379
  return {
50257
51380
  content: [{ type: "text", text: result.error.message }],
@@ -50266,9 +51389,9 @@ It will decline vendor credential`,
50266
51389
 
50267
51390
  // src/funcs/vendorsDeleteVendorCredentialFile.ts
50268
51391
  function vendorsDeleteVendorCredentialFile(client, request, options) {
50269
- return new APIPromise($do41(client, request, options));
51392
+ return new APIPromise($do45(client, request, options));
50270
51393
  }
50271
- async function $do41(client, request, options) {
51394
+ async function $do45(client, request, options) {
50272
51395
  const parsed = safeParse(request, (value) => DeleteVendorCredentialFileRequest$outboundSchema.parse(value), "Input validation failed");
50273
51396
  if (!parsed.ok) {
50274
51397
  return [parsed, { status: "invalid" }];
@@ -50345,12 +51468,12 @@ var init_vendorsDeleteVendorCredentialFile = __esm(() => {
50345
51468
  });
50346
51469
 
50347
51470
  // src/mcp-server/tools/vendorsDeleteVendorCredentialFile.ts
50348
- var args39, tool$vendorsDeleteVendorCredentialFile;
51471
+ var args43, tool$vendorsDeleteVendorCredentialFile;
50349
51472
  var init_vendorsDeleteVendorCredentialFile2 = __esm(() => {
50350
51473
  init_vendorsDeleteVendorCredentialFile();
50351
51474
  init_operations();
50352
51475
  init_tools();
50353
- args39 = {
51476
+ args43 = {
50354
51477
  request: DeleteVendorCredentialFileRequest$inboundSchema
50355
51478
  };
50356
51479
  tool$vendorsDeleteVendorCredentialFile = {
@@ -50358,9 +51481,9 @@ var init_vendorsDeleteVendorCredentialFile2 = __esm(() => {
50358
51481
  description: `Delete vendor credential file
50359
51482
 
50360
51483
  It will delete the vendor credential file`,
50361
- args: args39,
50362
- tool: async (client, args40, ctx) => {
50363
- const [result, apiCall] = await vendorsDeleteVendorCredentialFile(client, args40.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
51484
+ args: args43,
51485
+ tool: async (client, args44, ctx) => {
51486
+ const [result, apiCall] = await vendorsDeleteVendorCredentialFile(client, args44.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
50364
51487
  if (!result.ok) {
50365
51488
  return {
50366
51489
  content: [{ type: "text", text: result.error.message }],
@@ -50375,9 +51498,9 @@ It will delete the vendor credential file`,
50375
51498
 
50376
51499
  // src/funcs/vendorsDeleteVendorManagedByCompany.ts
50377
51500
  function vendorsDeleteVendorManagedByCompany(client, request, options) {
50378
- return new APIPromise($do42(client, request, options));
51501
+ return new APIPromise($do46(client, request, options));
50379
51502
  }
50380
- async function $do42(client, request, options) {
51503
+ async function $do46(client, request, options) {
50381
51504
  const parsed = safeParse(request, (value) => DeleteVendorManagedByCompanyRequest$outboundSchema.parse(value), "Input validation failed");
50382
51505
  if (!parsed.ok) {
50383
51506
  return [parsed, { status: "invalid" }];
@@ -50453,12 +51576,12 @@ var init_vendorsDeleteVendorManagedByCompany = __esm(() => {
50453
51576
  });
50454
51577
 
50455
51578
  // src/mcp-server/tools/vendorsDeleteVendorManagedByCompany.ts
50456
- var args40, tool$vendorsDeleteVendorManagedByCompany;
51579
+ var args44, tool$vendorsDeleteVendorManagedByCompany;
50457
51580
  var init_vendorsDeleteVendorManagedByCompany2 = __esm(() => {
50458
51581
  init_vendorsDeleteVendorManagedByCompany();
50459
51582
  init_operations();
50460
51583
  init_tools();
50461
- args40 = {
51584
+ args44 = {
50462
51585
  request: DeleteVendorManagedByCompanyRequest$inboundSchema
50463
51586
  };
50464
51587
  tool$vendorsDeleteVendorManagedByCompany = {
@@ -50466,9 +51589,9 @@ var init_vendorsDeleteVendorManagedByCompany2 = __esm(() => {
50466
51589
  description: `Delete vendor managed by company
50467
51590
 
50468
51591
  It will delete the vendor managed by company`,
50469
- args: args40,
50470
- tool: async (client, args41, ctx) => {
50471
- const [result, apiCall] = await vendorsDeleteVendorManagedByCompany(client, args41.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
51592
+ args: args44,
51593
+ tool: async (client, args45, ctx) => {
51594
+ const [result, apiCall] = await vendorsDeleteVendorManagedByCompany(client, args45.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
50472
51595
  if (!result.ok) {
50473
51596
  return {
50474
51597
  content: [{ type: "text", text: result.error.message }],
@@ -50483,9 +51606,9 @@ It will delete the vendor managed by company`,
50483
51606
 
50484
51607
  // src/funcs/vendorsExpediteTimeRemaining.ts
50485
51608
  function vendorsExpediteTimeRemaining(client, request, options) {
50486
- return new APIPromise($do43(client, request, options));
51609
+ return new APIPromise($do47(client, request, options));
50487
51610
  }
50488
- async function $do43(client, request, options) {
51611
+ async function $do47(client, request, options) {
50489
51612
  const parsed = safeParse(request, (value) => ExpediteTimeRemainingRequest$outboundSchema.parse(value), "Input validation failed");
50490
51613
  if (!parsed.ok) {
50491
51614
  return [parsed, { status: "invalid" }];
@@ -50560,12 +51683,12 @@ var init_vendorsExpediteTimeRemaining = __esm(() => {
50560
51683
  });
50561
51684
 
50562
51685
  // src/mcp-server/tools/vendorsExpediteTimeRemaining.ts
50563
- var args41, tool$vendorsExpediteTimeRemaining;
51686
+ var args45, tool$vendorsExpediteTimeRemaining;
50564
51687
  var init_vendorsExpediteTimeRemaining2 = __esm(() => {
50565
51688
  init_vendorsExpediteTimeRemaining();
50566
51689
  init_operations();
50567
51690
  init_tools();
50568
- args41 = {
51691
+ args45 = {
50569
51692
  request: ExpediteTimeRemainingRequest$inboundSchema
50570
51693
  };
50571
51694
  tool$vendorsExpediteTimeRemaining = {
@@ -50573,9 +51696,9 @@ var init_vendorsExpediteTimeRemaining2 = __esm(() => {
50573
51696
  description: `Expedite time remaining
50574
51697
 
50575
51698
  For vendors who have a paid 24-hour expedite credentials invoice, get the remaining time (in seconds) for which submitted credentials will be expedited.`,
50576
- args: args41,
50577
- tool: async (client, args42, ctx) => {
50578
- const [result, apiCall] = await vendorsExpediteTimeRemaining(client, args42.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
51699
+ args: args45,
51700
+ tool: async (client, args46, ctx) => {
51701
+ const [result, apiCall] = await vendorsExpediteTimeRemaining(client, args46.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
50579
51702
  if (!result.ok) {
50580
51703
  return {
50581
51704
  content: [{ type: "text", text: result.error.message }],
@@ -50590,9 +51713,9 @@ For vendors who have a paid 24-hour expedite credentials invoice, get the remain
50590
51713
 
50591
51714
  // src/funcs/vendorsGetSubscription.ts
50592
51715
  function vendorsGetSubscription(client, request, options) {
50593
- return new APIPromise($do44(client, request, options));
51716
+ return new APIPromise($do48(client, request, options));
50594
51717
  }
50595
- async function $do44(client, request, options) {
51718
+ async function $do48(client, request, options) {
50596
51719
  const parsed = safeParse(request, (value) => GetSubscriptionRequest$outboundSchema.parse(value), "Input validation failed");
50597
51720
  if (!parsed.ok) {
50598
51721
  return [parsed, { status: "invalid" }];
@@ -50671,12 +51794,12 @@ var init_vendorsGetSubscription = __esm(() => {
50671
51794
  });
50672
51795
 
50673
51796
  // src/mcp-server/tools/vendorsGetSubscription.ts
50674
- var args42, tool$vendorsGetSubscription;
51797
+ var args46, tool$vendorsGetSubscription;
50675
51798
  var init_vendorsGetSubscription2 = __esm(() => {
50676
51799
  init_vendorsGetSubscription();
50677
51800
  init_operations();
50678
51801
  init_tools();
50679
- args42 = {
51802
+ args46 = {
50680
51803
  request: GetSubscriptionRequest$inboundSchema
50681
51804
  };
50682
51805
  tool$vendorsGetSubscription = {
@@ -50688,9 +51811,9 @@ Get vendor subscription
50688
51811
  Available \`expand\` scopes are:
50689
51812
 
50690
51813
  subscription.expedited_offer`,
50691
- args: args42,
50692
- tool: async (client, args43, ctx) => {
50693
- const [result, apiCall] = await vendorsGetSubscription(client, args43.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
51814
+ args: args46,
51815
+ tool: async (client, args47, ctx) => {
51816
+ const [result, apiCall] = await vendorsGetSubscription(client, args47.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
50694
51817
  if (!result.ok) {
50695
51818
  return {
50696
51819
  content: [{ type: "text", text: result.error.message }],
@@ -50705,9 +51828,9 @@ subscription.expedited_offer`,
50705
51828
 
50706
51829
  // src/funcs/vendorsGetVendorCredentialDetails.ts
50707
51830
  function vendorsGetVendorCredentialDetails(client, request, options) {
50708
- return new APIPromise($do45(client, request, options));
51831
+ return new APIPromise($do49(client, request, options));
50709
51832
  }
50710
- async function $do45(client, request, options) {
51833
+ async function $do49(client, request, options) {
50711
51834
  const parsed = safeParse(request, (value) => GetVendorCredentialDetailsRequest$outboundSchema.parse(value), "Input validation failed");
50712
51835
  if (!parsed.ok) {
50713
51836
  return [parsed, { status: "invalid" }];
@@ -50790,12 +51913,12 @@ var init_vendorsGetVendorCredentialDetails = __esm(() => {
50790
51913
  });
50791
51914
 
50792
51915
  // src/mcp-server/tools/vendorsGetVendorCredentialDetails.ts
50793
- var args43, tool$vendorsGetVendorCredentialDetails;
51916
+ var args47, tool$vendorsGetVendorCredentialDetails;
50794
51917
  var init_vendorsGetVendorCredentialDetails2 = __esm(() => {
50795
51918
  init_vendorsGetVendorCredentialDetails();
50796
51919
  init_operations();
50797
51920
  init_tools();
50798
- args43 = {
51921
+ args47 = {
50799
51922
  request: GetVendorCredentialDetailsRequest$inboundSchema
50800
51923
  };
50801
51924
  tool$vendorsGetVendorCredentialDetails = {
@@ -50821,9 +51944,9 @@ Available \`expand\` scopes are:
50821
51944
  - vendor_credential.credential_variants
50822
51945
  - vendor_credential.targets_chop
50823
51946
  - vendor_credential.total_pending_credentials`,
50824
- args: args43,
50825
- tool: async (client, args44, ctx) => {
50826
- const [result, apiCall] = await vendorsGetVendorCredentialDetails(client, args44.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
51947
+ args: args47,
51948
+ tool: async (client, args48, ctx) => {
51949
+ const [result, apiCall] = await vendorsGetVendorCredentialDetails(client, args48.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
50827
51950
  if (!result.ok) {
50828
51951
  return {
50829
51952
  content: [{ type: "text", text: result.error.message }],
@@ -50838,9 +51961,9 @@ Available \`expand\` scopes are:
50838
51961
 
50839
51962
  // src/funcs/vendorsGetVendorCredentialFile.ts
50840
51963
  function vendorsGetVendorCredentialFile(client, request, options) {
50841
- return new APIPromise($do46(client, request, options));
51964
+ return new APIPromise($do50(client, request, options));
50842
51965
  }
50843
- async function $do46(client, request, options) {
51966
+ async function $do50(client, request, options) {
50844
51967
  const parsed = safeParse(request, (value) => GetVendorCredentialFileRequest$outboundSchema.parse(value), "Input validation failed");
50845
51968
  if (!parsed.ok) {
50846
51969
  return [parsed, { status: "invalid" }];
@@ -50921,12 +52044,12 @@ var init_vendorsGetVendorCredentialFile = __esm(() => {
50921
52044
  });
50922
52045
 
50923
52046
  // src/mcp-server/tools/vendorsGetVendorCredentialFile.ts
50924
- var args44, tool$vendorsGetVendorCredentialFile;
52047
+ var args48, tool$vendorsGetVendorCredentialFile;
50925
52048
  var init_vendorsGetVendorCredentialFile2 = __esm(() => {
50926
52049
  init_vendorsGetVendorCredentialFile();
50927
52050
  init_operations();
50928
52051
  init_tools();
50929
- args44 = {
52052
+ args48 = {
50930
52053
  request: GetVendorCredentialFileRequest$inboundSchema
50931
52054
  };
50932
52055
  tool$vendorsGetVendorCredentialFile = {
@@ -50939,9 +52062,9 @@ Available \`expand\` scopes are:
50939
52062
 
50940
52063
  - vendor_credential_file.vendor_credential
50941
52064
  - vendor_credential_file.credential_document`,
50942
- args: args44,
50943
- tool: async (client, args45, ctx) => {
50944
- const [result, apiCall] = await vendorsGetVendorCredentialFile(client, args45.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
52065
+ args: args48,
52066
+ tool: async (client, args49, ctx) => {
52067
+ const [result, apiCall] = await vendorsGetVendorCredentialFile(client, args49.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
50945
52068
  if (!result.ok) {
50946
52069
  return {
50947
52070
  content: [{ type: "text", text: result.error.message }],
@@ -50956,9 +52079,9 @@ Available \`expand\` scopes are:
50956
52079
 
50957
52080
  // src/funcs/vendorsGetVendorInvoiceDetails.ts
50958
52081
  function vendorsGetVendorInvoiceDetails(client, request, options) {
50959
- return new APIPromise($do47(client, request, options));
52082
+ return new APIPromise($do51(client, request, options));
50960
52083
  }
50961
- async function $do47(client, request, options) {
52084
+ async function $do51(client, request, options) {
50962
52085
  const parsed = safeParse(request, (value) => GetVendorInvoiceDetailsRequest$outboundSchema.parse(value), "Input validation failed");
50963
52086
  if (!parsed.ok) {
50964
52087
  return [parsed, { status: "invalid" }];
@@ -51038,12 +52161,12 @@ var init_vendorsGetVendorInvoiceDetails = __esm(() => {
51038
52161
  });
51039
52162
 
51040
52163
  // src/mcp-server/tools/vendorsGetVendorInvoiceDetails.ts
51041
- var args45, tool$vendorsGetVendorInvoiceDetails;
52164
+ var args49, tool$vendorsGetVendorInvoiceDetails;
51042
52165
  var init_vendorsGetVendorInvoiceDetails2 = __esm(() => {
51043
52166
  init_vendorsGetVendorInvoiceDetails();
51044
52167
  init_operations();
51045
52168
  init_tools();
51046
- args45 = {
52169
+ args49 = {
51047
52170
  request: GetVendorInvoiceDetailsRequest$inboundSchema
51048
52171
  };
51049
52172
  tool$vendorsGetVendorInvoiceDetails = {
@@ -51056,9 +52179,9 @@ Available \`expand\` scopes are:
51056
52179
 
51057
52180
  invoice.line_items
51058
52181
  invoice.invoice_transactions`,
51059
- args: args45,
51060
- tool: async (client, args46, ctx) => {
51061
- const [result, apiCall] = await vendorsGetVendorInvoiceDetails(client, args46.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
52182
+ args: args49,
52183
+ tool: async (client, args50, ctx) => {
52184
+ const [result, apiCall] = await vendorsGetVendorInvoiceDetails(client, args50.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
51062
52185
  if (!result.ok) {
51063
52186
  return {
51064
52187
  content: [{ type: "text", text: result.error.message }],
@@ -51073,9 +52196,9 @@ invoice.invoice_transactions`,
51073
52196
 
51074
52197
  // src/funcs/vendorsGetVendorInvoiceReceipt.ts
51075
52198
  function vendorsGetVendorInvoiceReceipt(client, request, options) {
51076
- return new APIPromise($do48(client, request, options));
52199
+ return new APIPromise($do52(client, request, options));
51077
52200
  }
51078
- async function $do48(client, request, options) {
52201
+ async function $do52(client, request, options) {
51079
52202
  const parsed = safeParse(request, (value) => GetVendorInvoiceReceiptRequest$outboundSchema.parse(value), "Input validation failed");
51080
52203
  if (!parsed.ok) {
51081
52204
  return [parsed, { status: "invalid" }];
@@ -51150,12 +52273,12 @@ var init_vendorsGetVendorInvoiceReceipt = __esm(() => {
51150
52273
  });
51151
52274
 
51152
52275
  // src/mcp-server/tools/vendorsGetVendorInvoiceReceipt.ts
51153
- var args46, tool$vendorsGetVendorInvoiceReceipt;
52276
+ var args50, tool$vendorsGetVendorInvoiceReceipt;
51154
52277
  var init_vendorsGetVendorInvoiceReceipt2 = __esm(() => {
51155
52278
  init_vendorsGetVendorInvoiceReceipt();
51156
52279
  init_operations();
51157
52280
  init_tools();
51158
- args46 = {
52281
+ args50 = {
51159
52282
  request: GetVendorInvoiceReceiptRequest$inboundSchema
51160
52283
  };
51161
52284
  tool$vendorsGetVendorInvoiceReceipt = {
@@ -51163,9 +52286,9 @@ var init_vendorsGetVendorInvoiceReceipt2 = __esm(() => {
51163
52286
  description: `Get invoice receipt for vendor
51164
52287
 
51165
52288
  Get invoice receipt for vendor`,
51166
- args: args46,
51167
- tool: async (client, args47, ctx) => {
51168
- const [result, apiCall] = await vendorsGetVendorInvoiceReceipt(client, args47.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
52289
+ args: args50,
52290
+ tool: async (client, args51, ctx) => {
52291
+ const [result, apiCall] = await vendorsGetVendorInvoiceReceipt(client, args51.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
51169
52292
  if (!result.ok) {
51170
52293
  return {
51171
52294
  content: [{ type: "text", text: result.error.message }],
@@ -51180,9 +52303,9 @@ Get invoice receipt for vendor`,
51180
52303
 
51181
52304
  // src/funcs/vendorsGetVendorLegalName.ts
51182
52305
  function vendorsGetVendorLegalName(client, request, options) {
51183
- return new APIPromise($do49(client, request, options));
52306
+ return new APIPromise($do53(client, request, options));
51184
52307
  }
51185
- async function $do49(client, request, options) {
52308
+ async function $do53(client, request, options) {
51186
52309
  const parsed = safeParse(request, (value) => GetVendorLegalNameRequest$outboundSchema.parse(value), "Input validation failed");
51187
52310
  if (!parsed.ok) {
51188
52311
  return [parsed, { status: "invalid" }];
@@ -51257,12 +52380,12 @@ var init_vendorsGetVendorLegalName = __esm(() => {
51257
52380
  });
51258
52381
 
51259
52382
  // src/mcp-server/tools/vendorsGetVendorLegalName.ts
51260
- var args47, tool$vendorsGetVendorLegalName;
52383
+ var args51, tool$vendorsGetVendorLegalName;
51261
52384
  var init_vendorsGetVendorLegalName2 = __esm(() => {
51262
52385
  init_vendorsGetVendorLegalName();
51263
52386
  init_operations();
51264
52387
  init_tools();
51265
- args47 = {
52388
+ args51 = {
51266
52389
  request: GetVendorLegalNameRequest$inboundSchema
51267
52390
  };
51268
52391
  tool$vendorsGetVendorLegalName = {
@@ -51270,9 +52393,9 @@ var init_vendorsGetVendorLegalName2 = __esm(() => {
51270
52393
  description: `Get Vendor legal name
51271
52394
 
51272
52395
  Get vendor legal name`,
51273
- args: args47,
51274
- tool: async (client, args48, ctx) => {
51275
- const [result, apiCall] = await vendorsGetVendorLegalName(client, args48.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
52396
+ args: args51,
52397
+ tool: async (client, args52, ctx) => {
52398
+ const [result, apiCall] = await vendorsGetVendorLegalName(client, args52.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
51276
52399
  if (!result.ok) {
51277
52400
  return {
51278
52401
  content: [{ type: "text", text: result.error.message }],
@@ -51287,9 +52410,9 @@ Get vendor legal name`,
51287
52410
 
51288
52411
  // src/funcs/vendorsGetVendorsDetails.ts
51289
52412
  function vendorsGetVendorsDetails(client, request, options) {
51290
- return new APIPromise($do50(client, request, options));
52413
+ return new APIPromise($do54(client, request, options));
51291
52414
  }
51292
- async function $do50(client, request, options) {
52415
+ async function $do54(client, request, options) {
51293
52416
  const parsed = safeParse(request, (value) => GetVendorsDetailsRequest$outboundSchema.parse(value), "Input validation failed");
51294
52417
  if (!parsed.ok) {
51295
52418
  return [parsed, { status: "invalid" }];
@@ -51369,12 +52492,12 @@ var init_vendorsGetVendorsDetails = __esm(() => {
51369
52492
  });
51370
52493
 
51371
52494
  // src/mcp-server/tools/vendorsGetVendorsDetails.ts
51372
- var args48, tool$vendorsGetVendorsDetails;
52495
+ var args52, tool$vendorsGetVendorsDetails;
51373
52496
  var init_vendorsGetVendorsDetails2 = __esm(() => {
51374
52497
  init_vendorsGetVendorsDetails();
51375
52498
  init_operations();
51376
52499
  init_tools();
51377
- args48 = {
52500
+ args52 = {
51378
52501
  request: GetVendorsDetailsRequest$inboundSchema
51379
52502
  };
51380
52503
  tool$vendorsGetVendorsDetails = {
@@ -51403,9 +52526,9 @@ vendor.registration_finished
51403
52526
  vendor.target_facilities
51404
52527
  vendor.pending_invoice
51405
52528
  vendor.vendor_groups`,
51406
- args: args48,
51407
- tool: async (client, args49, ctx) => {
51408
- const [result, apiCall] = await vendorsGetVendorsDetails(client, args49.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
52529
+ args: args52,
52530
+ tool: async (client, args53, ctx) => {
52531
+ const [result, apiCall] = await vendorsGetVendorsDetails(client, args53.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
51409
52532
  if (!result.ok) {
51410
52533
  return {
51411
52534
  content: [{ type: "text", text: result.error.message }],
@@ -51420,9 +52543,9 @@ vendor.vendor_groups`,
51420
52543
 
51421
52544
  // src/funcs/vendorsListVendorAdditionalFacilityFields.ts
51422
52545
  function vendorsListVendorAdditionalFacilityFields(client, request, options) {
51423
- return new APIPromise($do51(client, request, options));
52546
+ return new APIPromise($do55(client, request, options));
51424
52547
  }
51425
- async function $do51(client, request, options) {
52548
+ async function $do55(client, request, options) {
51426
52549
  const parsed = safeParse(request, (value) => ListVendorAdditionalFacilityFieldsRequest$outboundSchema.parse(value), "Input validation failed");
51427
52550
  if (!parsed.ok) {
51428
52551
  return [haltIterator(parsed), { status: "invalid" }];
@@ -51534,12 +52657,12 @@ var init_vendorsListVendorAdditionalFacilityFields = __esm(() => {
51534
52657
  });
51535
52658
 
51536
52659
  // src/mcp-server/tools/vendorsListVendorAdditionalFacilityFields.ts
51537
- var args49, tool$vendorsListVendorAdditionalFacilityFields;
52660
+ var args53, tool$vendorsListVendorAdditionalFacilityFields;
51538
52661
  var init_vendorsListVendorAdditionalFacilityFields2 = __esm(() => {
51539
52662
  init_vendorsListVendorAdditionalFacilityFields();
51540
52663
  init_operations();
51541
52664
  init_tools();
51542
- args49 = {
52665
+ args53 = {
51543
52666
  request: ListVendorAdditionalFacilityFieldsRequest$inboundSchema
51544
52667
  };
51545
52668
  tool$vendorsListVendorAdditionalFacilityFields = {
@@ -51547,9 +52670,9 @@ var init_vendorsListVendorAdditionalFacilityFields2 = __esm(() => {
51547
52670
  description: `List of vendor's additional facility fields
51548
52671
 
51549
52672
  List of vendor's additional facility fields`,
51550
- args: args49,
51551
- tool: async (client, args50, ctx) => {
51552
- const [result, apiCall] = await vendorsListVendorAdditionalFacilityFields(client, args50.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
52673
+ args: args53,
52674
+ tool: async (client, args54, ctx) => {
52675
+ const [result, apiCall] = await vendorsListVendorAdditionalFacilityFields(client, args54.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
51553
52676
  if (!result.ok) {
51554
52677
  return {
51555
52678
  content: [{ type: "text", text: result.error.message }],
@@ -51564,9 +52687,9 @@ List of vendor's additional facility fields`,
51564
52687
 
51565
52688
  // src/funcs/vendorsListVendorCredentialDataRequests.ts
51566
52689
  function vendorsListVendorCredentialDataRequests(client, request, options) {
51567
- return new APIPromise($do52(client, request, options));
52690
+ return new APIPromise($do56(client, request, options));
51568
52691
  }
51569
- async function $do52(client, request, options) {
52692
+ async function $do56(client, request, options) {
51570
52693
  const parsed = safeParse(request, (value) => ListVendorCredentialDataRequestsRequest$outboundSchema.parse(value), "Input validation failed");
51571
52694
  if (!parsed.ok) {
51572
52695
  return [parsed, { status: "invalid" }];
@@ -51649,12 +52772,12 @@ var init_vendorsListVendorCredentialDataRequests = __esm(() => {
51649
52772
  });
51650
52773
 
51651
52774
  // src/mcp-server/tools/vendorsListVendorCredentialDataRequests.ts
51652
- var args50, tool$vendorsListVendorCredentialDataRequests;
52775
+ var args54, tool$vendorsListVendorCredentialDataRequests;
51653
52776
  var init_vendorsListVendorCredentialDataRequests2 = __esm(() => {
51654
52777
  init_vendorsListVendorCredentialDataRequests();
51655
52778
  init_operations();
51656
52779
  init_tools();
51657
- args50 = {
52780
+ args54 = {
51658
52781
  request: ListVendorCredentialDataRequestsRequest$inboundSchema
51659
52782
  };
51660
52783
  tool$vendorsListVendorCredentialDataRequests = {
@@ -51667,9 +52790,9 @@ Available \`expand\` scopes are:
51667
52790
 
51668
52791
  - vendor_credential_data_request.vendor_credential
51669
52792
  - vendor_credential_data_request.data_request`,
51670
- args: args50,
51671
- tool: async (client, args51, ctx) => {
51672
- const [result, apiCall] = await vendorsListVendorCredentialDataRequests(client, args51.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
52793
+ args: args54,
52794
+ tool: async (client, args55, ctx) => {
52795
+ const [result, apiCall] = await vendorsListVendorCredentialDataRequests(client, args55.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
51673
52796
  if (!result.ok) {
51674
52797
  return {
51675
52798
  content: [{ type: "text", text: result.error.message }],
@@ -51684,9 +52807,9 @@ Available \`expand\` scopes are:
51684
52807
 
51685
52808
  // src/funcs/vendorsListVendorCredentialFiles.ts
51686
52809
  function vendorsListVendorCredentialFiles(client, request, options) {
51687
- return new APIPromise($do53(client, request, options));
52810
+ return new APIPromise($do57(client, request, options));
51688
52811
  }
51689
- async function $do53(client, request, options) {
52812
+ async function $do57(client, request, options) {
51690
52813
  const parsed = safeParse(request, (value) => ListVendorCredentialFilesRequest$outboundSchema.parse(value), "Input validation failed");
51691
52814
  if (!parsed.ok) {
51692
52815
  return [parsed, { status: "invalid" }];
@@ -51769,12 +52892,12 @@ var init_vendorsListVendorCredentialFiles = __esm(() => {
51769
52892
  });
51770
52893
 
51771
52894
  // src/mcp-server/tools/vendorsListVendorCredentialFiles.ts
51772
- var args51, tool$vendorsListVendorCredentialFiles;
52895
+ var args55, tool$vendorsListVendorCredentialFiles;
51773
52896
  var init_vendorsListVendorCredentialFiles2 = __esm(() => {
51774
52897
  init_vendorsListVendorCredentialFiles();
51775
52898
  init_operations();
51776
52899
  init_tools();
51777
- args51 = {
52900
+ args55 = {
51778
52901
  request: ListVendorCredentialFilesRequest$inboundSchema
51779
52902
  };
51780
52903
  tool$vendorsListVendorCredentialFiles = {
@@ -51787,9 +52910,9 @@ Available \`expand\` scopes are:
51787
52910
 
51788
52911
  - vendor_credential_file.vendor_credential
51789
52912
  - vendor_credential_file.credential_document`,
51790
- args: args51,
51791
- tool: async (client, args52, ctx) => {
51792
- const [result, apiCall] = await vendorsListVendorCredentialFiles(client, args52.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
52913
+ args: args55,
52914
+ tool: async (client, args56, ctx) => {
52915
+ const [result, apiCall] = await vendorsListVendorCredentialFiles(client, args56.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
51793
52916
  if (!result.ok) {
51794
52917
  return {
51795
52918
  content: [{ type: "text", text: result.error.message }],
@@ -51804,9 +52927,9 @@ Available \`expand\` scopes are:
51804
52927
 
51805
52928
  // src/funcs/vendorsListVendorCredentialHistory.ts
51806
52929
  function vendorsListVendorCredentialHistory(client, request, options) {
51807
- return new APIPromise($do54(client, request, options));
52930
+ return new APIPromise($do58(client, request, options));
51808
52931
  }
51809
- async function $do54(client, request, options) {
52932
+ async function $do58(client, request, options) {
51810
52933
  const parsed = safeParse(request, (value) => ListVendorCredentialHistoryRequest$outboundSchema.parse(value), "Input validation failed");
51811
52934
  if (!parsed.ok) {
51812
52935
  return [haltIterator(parsed), { status: "invalid" }];
@@ -51921,12 +53044,12 @@ var init_vendorsListVendorCredentialHistory = __esm(() => {
51921
53044
  });
51922
53045
 
51923
53046
  // src/mcp-server/tools/vendorsListVendorCredentialHistory.ts
51924
- var args52, tool$vendorsListVendorCredentialHistory;
53047
+ var args56, tool$vendorsListVendorCredentialHistory;
51925
53048
  var init_vendorsListVendorCredentialHistory2 = __esm(() => {
51926
53049
  init_vendorsListVendorCredentialHistory();
51927
53050
  init_operations();
51928
53051
  init_tools();
51929
- args52 = {
53052
+ args56 = {
51930
53053
  request: ListVendorCredentialHistoryRequest$inboundSchema
51931
53054
  };
51932
53055
  tool$vendorsListVendorCredentialHistory = {
@@ -51934,9 +53057,9 @@ var init_vendorsListVendorCredentialHistory2 = __esm(() => {
51934
53057
  description: `List Vendor Credential History
51935
53058
 
51936
53059
  Lists vendor credentials history`,
51937
- args: args52,
51938
- tool: async (client, args53, ctx) => {
51939
- const [result, apiCall] = await vendorsListVendorCredentialHistory(client, args53.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
53060
+ args: args56,
53061
+ tool: async (client, args57, ctx) => {
53062
+ const [result, apiCall] = await vendorsListVendorCredentialHistory(client, args57.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
51940
53063
  if (!result.ok) {
51941
53064
  return {
51942
53065
  content: [{ type: "text", text: result.error.message }],
@@ -51951,9 +53074,9 @@ Lists vendor credentials history`,
51951
53074
 
51952
53075
  // src/funcs/vendorsListVendorCredentials.ts
51953
53076
  function vendorsListVendorCredentials(client, request, options) {
51954
- return new APIPromise($do55(client, request, options));
53077
+ return new APIPromise($do59(client, request, options));
51955
53078
  }
51956
- async function $do55(client, request, options) {
53079
+ async function $do59(client, request, options) {
51957
53080
  const parsed = safeParse(request, (value) => ListVendorCredentialsRequest$outboundSchema.parse(value), "Input validation failed");
51958
53081
  if (!parsed.ok) {
51959
53082
  return [haltIterator(parsed), { status: "invalid" }];
@@ -52073,12 +53196,12 @@ var init_vendorsListVendorCredentials = __esm(() => {
52073
53196
  });
52074
53197
 
52075
53198
  // src/mcp-server/tools/vendorsListVendorCredentials.ts
52076
- var args53, tool$vendorsListVendorCredentials;
53199
+ var args57, tool$vendorsListVendorCredentials;
52077
53200
  var init_vendorsListVendorCredentials2 = __esm(() => {
52078
53201
  init_vendorsListVendorCredentials();
52079
53202
  init_operations();
52080
53203
  init_tools();
52081
- args53 = {
53204
+ args57 = {
52082
53205
  request: ListVendorCredentialsRequest$inboundSchema
52083
53206
  };
52084
53207
  tool$vendorsListVendorCredentials = {
@@ -52086,9 +53209,9 @@ var init_vendorsListVendorCredentials2 = __esm(() => {
52086
53209
  description: `List Vendor Credentials
52087
53210
 
52088
53211
  Lists vendor credentials, required credentials, and company credentials. Utilized in Vendor Dashboard.`,
52089
- args: args53,
52090
- tool: async (client, args54, ctx) => {
52091
- const [result, apiCall] = await vendorsListVendorCredentials(client, args54.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
53212
+ args: args57,
53213
+ tool: async (client, args58, ctx) => {
53214
+ const [result, apiCall] = await vendorsListVendorCredentials(client, args58.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
52092
53215
  if (!result.ok) {
52093
53216
  return {
52094
53217
  content: [{ type: "text", text: result.error.message }],
@@ -52103,9 +53226,9 @@ Lists vendor credentials, required credentials, and company credentials. Utilize
52103
53226
 
52104
53227
  // src/funcs/vendorsListVendorCredits.ts
52105
53228
  function vendorsListVendorCredits(client, request, options) {
52106
- return new APIPromise($do56(client, request, options));
53229
+ return new APIPromise($do60(client, request, options));
52107
53230
  }
52108
- async function $do56(client, request, options) {
53231
+ async function $do60(client, request, options) {
52109
53232
  const parsed = safeParse(request, (value) => ListVendorCreditsRequest$outboundSchema.parse(value), "Input validation failed");
52110
53233
  if (!parsed.ok) {
52111
53234
  return [haltIterator(parsed), { status: "invalid" }];
@@ -52219,12 +53342,12 @@ var init_vendorsListVendorCredits = __esm(() => {
52219
53342
  });
52220
53343
 
52221
53344
  // src/mcp-server/tools/vendorsListVendorCredits.ts
52222
- var args54, tool$vendorsListVendorCredits;
53345
+ var args58, tool$vendorsListVendorCredits;
52223
53346
  var init_vendorsListVendorCredits2 = __esm(() => {
52224
53347
  init_vendorsListVendorCredits();
52225
53348
  init_operations();
52226
53349
  init_tools();
52227
- args54 = {
53350
+ args58 = {
52228
53351
  request: ListVendorCreditsRequest$inboundSchema
52229
53352
  };
52230
53353
  tool$vendorsListVendorCredits = {
@@ -52232,9 +53355,9 @@ var init_vendorsListVendorCredits2 = __esm(() => {
52232
53355
  description: `List vendor credits
52233
53356
 
52234
53357
  List the credits for the vendor`,
52235
- args: args54,
52236
- tool: async (client, args55, ctx) => {
52237
- const [result, apiCall] = await vendorsListVendorCredits(client, args55.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
53358
+ args: args58,
53359
+ tool: async (client, args59, ctx) => {
53360
+ const [result, apiCall] = await vendorsListVendorCredits(client, args59.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
52238
53361
  if (!result.ok) {
52239
53362
  return {
52240
53363
  content: [{ type: "text", text: result.error.message }],
@@ -52249,9 +53372,9 @@ List the credits for the vendor`,
52249
53372
 
52250
53373
  // src/funcs/vendorsListVendorFacilityStatuses.ts
52251
53374
  function vendorsListVendorFacilityStatuses(client, request, options) {
52252
- return new APIPromise($do57(client, request, options));
53375
+ return new APIPromise($do61(client, request, options));
52253
53376
  }
52254
- async function $do57(client, request, options) {
53377
+ async function $do61(client, request, options) {
52255
53378
  const parsed = safeParse(request, (value) => ListVendorFacilityStatusesRequest$outboundSchema.parse(value), "Input validation failed");
52256
53379
  if (!parsed.ok) {
52257
53380
  return [haltIterator(parsed), { status: "invalid" }];
@@ -52369,12 +53492,12 @@ var init_vendorsListVendorFacilityStatuses = __esm(() => {
52369
53492
  });
52370
53493
 
52371
53494
  // src/mcp-server/tools/vendorsListVendorFacilityStatuses.ts
52372
- var args55, tool$vendorsListVendorFacilityStatuses;
53495
+ var args59, tool$vendorsListVendorFacilityStatuses;
52373
53496
  var init_vendorsListVendorFacilityStatuses2 = __esm(() => {
52374
53497
  init_vendorsListVendorFacilityStatuses();
52375
53498
  init_operations();
52376
53499
  init_tools();
52377
- args55 = {
53500
+ args59 = {
52378
53501
  request: ListVendorFacilityStatusesRequest$inboundSchema
52379
53502
  };
52380
53503
  tool$vendorsListVendorFacilityStatuses = {
@@ -52382,9 +53505,9 @@ var init_vendorsListVendorFacilityStatuses2 = __esm(() => {
52382
53505
  description: `List vendor facility statuses
52383
53506
 
52384
53507
  List the facilities for the vendor`,
52385
- args: args55,
52386
- tool: async (client, args56, ctx) => {
52387
- const [result, apiCall] = await vendorsListVendorFacilityStatuses(client, args56.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
53508
+ args: args59,
53509
+ tool: async (client, args60, ctx) => {
53510
+ const [result, apiCall] = await vendorsListVendorFacilityStatuses(client, args60.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
52388
53511
  if (!result.ok) {
52389
53512
  return {
52390
53513
  content: [{ type: "text", text: result.error.message }],
@@ -52399,9 +53522,9 @@ List the facilities for the vendor`,
52399
53522
 
52400
53523
  // src/funcs/vendorsListVendorInvoices.ts
52401
53524
  function vendorsListVendorInvoices(client, request, options) {
52402
- return new APIPromise($do58(client, request, options));
53525
+ return new APIPromise($do62(client, request, options));
52403
53526
  }
52404
- async function $do58(client, request, options) {
53527
+ async function $do62(client, request, options) {
52405
53528
  const parsed = safeParse(request, (value) => ListVendorInvoicesRequest$outboundSchema.parse(value), "Input validation failed");
52406
53529
  if (!parsed.ok) {
52407
53530
  return [haltIterator(parsed), { status: "invalid" }];
@@ -52519,12 +53642,12 @@ var init_vendorsListVendorInvoices = __esm(() => {
52519
53642
  });
52520
53643
 
52521
53644
  // src/mcp-server/tools/vendorsListVendorInvoices.ts
52522
- var args56, tool$vendorsListVendorInvoices;
53645
+ var args60, tool$vendorsListVendorInvoices;
52523
53646
  var init_vendorsListVendorInvoices2 = __esm(() => {
52524
53647
  init_vendorsListVendorInvoices();
52525
53648
  init_operations();
52526
53649
  init_tools();
52527
- args56 = {
53650
+ args60 = {
52528
53651
  request: ListVendorInvoicesRequest$inboundSchema
52529
53652
  };
52530
53653
  tool$vendorsListVendorInvoices = {
@@ -52536,9 +53659,9 @@ List invoices for Vendors
52536
53659
  Available \`expand\` scopes are:
52537
53660
 
52538
53661
  invoice.line_items`,
52539
- args: args56,
52540
- tool: async (client, args57, ctx) => {
52541
- const [result, apiCall] = await vendorsListVendorInvoices(client, args57.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
53662
+ args: args60,
53663
+ tool: async (client, args61, ctx) => {
53664
+ const [result, apiCall] = await vendorsListVendorInvoices(client, args61.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
52542
53665
  if (!result.ok) {
52543
53666
  return {
52544
53667
  content: [{ type: "text", text: result.error.message }],
@@ -52553,9 +53676,9 @@ invoice.line_items`,
52553
53676
 
52554
53677
  // src/funcs/vendorsListVendorJobTitles.ts
52555
53678
  function vendorsListVendorJobTitles(client, request, options) {
52556
- return new APIPromise($do59(client, request, options));
53679
+ return new APIPromise($do63(client, request, options));
52557
53680
  }
52558
- async function $do59(client, request, options) {
53681
+ async function $do63(client, request, options) {
52559
53682
  const parsed = safeParse(request, (value) => ListVendorJobTitlesRequest$outboundSchema.parse(value), "Input validation failed");
52560
53683
  if (!parsed.ok) {
52561
53684
  return [haltIterator(parsed), { status: "invalid" }];
@@ -52664,12 +53787,12 @@ var init_vendorsListVendorJobTitles = __esm(() => {
52664
53787
  });
52665
53788
 
52666
53789
  // src/mcp-server/tools/vendorsListVendorJobTitles.ts
52667
- var args57, tool$vendorsListVendorJobTitles;
53790
+ var args61, tool$vendorsListVendorJobTitles;
52668
53791
  var init_vendorsListVendorJobTitles2 = __esm(() => {
52669
53792
  init_vendorsListVendorJobTitles();
52670
53793
  init_operations();
52671
53794
  init_tools();
52672
- args57 = {
53795
+ args61 = {
52673
53796
  request: ListVendorJobTitlesRequest$inboundSchema
52674
53797
  };
52675
53798
  tool$vendorsListVendorJobTitles = {
@@ -52677,9 +53800,9 @@ var init_vendorsListVendorJobTitles2 = __esm(() => {
52677
53800
  description: `List vendor job titles
52678
53801
 
52679
53802
  List valid job titles for Vendors. This can be used during sign up or in a filter.`,
52680
- args: args57,
52681
- tool: async (client, args58, ctx) => {
52682
- const [result, apiCall] = await vendorsListVendorJobTitles(client, args58.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
53803
+ args: args61,
53804
+ tool: async (client, args62, ctx) => {
53805
+ const [result, apiCall] = await vendorsListVendorJobTitles(client, args62.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
52683
53806
  if (!result.ok) {
52684
53807
  return {
52685
53808
  content: [{ type: "text", text: result.error.message }],
@@ -52694,9 +53817,9 @@ List valid job titles for Vendors. This can be used during sign up or in a filte
52694
53817
 
52695
53818
  // src/funcs/vendorsListVendorManagedByCompanies.ts
52696
53819
  function vendorsListVendorManagedByCompanies(client, request, options) {
52697
- return new APIPromise($do60(client, request, options));
53820
+ return new APIPromise($do64(client, request, options));
52698
53821
  }
52699
- async function $do60(client, request, options) {
53822
+ async function $do64(client, request, options) {
52700
53823
  const parsed = safeParse(request, (value) => ListVendorManagedByCompaniesRequest$outboundSchema.parse(value), "Input validation failed");
52701
53824
  if (!parsed.ok) {
52702
53825
  return [haltIterator(parsed), { status: "invalid" }];
@@ -52810,12 +53933,12 @@ var init_vendorsListVendorManagedByCompanies = __esm(() => {
52810
53933
  });
52811
53934
 
52812
53935
  // src/mcp-server/tools/vendorsListVendorManagedByCompanies.ts
52813
- var args58, tool$vendorsListVendorManagedByCompanies;
53936
+ var args62, tool$vendorsListVendorManagedByCompanies;
52814
53937
  var init_vendorsListVendorManagedByCompanies2 = __esm(() => {
52815
53938
  init_vendorsListVendorManagedByCompanies();
52816
53939
  init_operations();
52817
53940
  init_tools();
52818
- args58 = {
53941
+ args62 = {
52819
53942
  request: ListVendorManagedByCompaniesRequest$inboundSchema
52820
53943
  };
52821
53944
  tool$vendorsListVendorManagedByCompanies = {
@@ -52823,9 +53946,9 @@ var init_vendorsListVendorManagedByCompanies2 = __esm(() => {
52823
53946
  description: `List of companies managing the vendor
52824
53947
 
52825
53948
  List of companies managing the vendor`,
52826
- args: args58,
52827
- tool: async (client, args59, ctx) => {
52828
- const [result, apiCall] = await vendorsListVendorManagedByCompanies(client, args59.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
53949
+ args: args62,
53950
+ tool: async (client, args63, ctx) => {
53951
+ const [result, apiCall] = await vendorsListVendorManagedByCompanies(client, args63.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
52829
53952
  if (!result.ok) {
52830
53953
  return {
52831
53954
  content: [{ type: "text", text: result.error.message }],
@@ -52840,9 +53963,9 @@ List of companies managing the vendor`,
52840
53963
 
52841
53964
  // src/funcs/vendorsListVendorScrubDetails.ts
52842
53965
  function vendorsListVendorScrubDetails(client, request, options) {
52843
- return new APIPromise($do61(client, request, options));
53966
+ return new APIPromise($do65(client, request, options));
52844
53967
  }
52845
- async function $do61(client, request, options) {
53968
+ async function $do65(client, request, options) {
52846
53969
  const parsed = safeParse(request, (value) => ListVendorScrubDetailsRequest$outboundSchema.parse(value), "Input validation failed");
52847
53970
  if (!parsed.ok) {
52848
53971
  return [parsed, { status: "invalid" }];
@@ -52918,12 +54041,12 @@ var init_vendorsListVendorScrubDetails = __esm(() => {
52918
54041
  });
52919
54042
 
52920
54043
  // src/mcp-server/tools/vendorsListVendorScrubDetails.ts
52921
- var args59, tool$vendorsListVendorScrubDetails;
54044
+ var args63, tool$vendorsListVendorScrubDetails;
52922
54045
  var init_vendorsListVendorScrubDetails2 = __esm(() => {
52923
54046
  init_vendorsListVendorScrubDetails();
52924
54047
  init_operations();
52925
54048
  init_tools();
52926
- args59 = {
54049
+ args63 = {
52927
54050
  request: ListVendorScrubDetailsRequest$inboundSchema
52928
54051
  };
52929
54052
  tool$vendorsListVendorScrubDetails = {
@@ -52931,9 +54054,9 @@ var init_vendorsListVendorScrubDetails2 = __esm(() => {
52931
54054
  description: `List vendor scrub details
52932
54055
 
52933
54056
  List vendor scrub details`,
52934
- args: args59,
52935
- tool: async (client, args60, ctx) => {
52936
- const [result, apiCall] = await vendorsListVendorScrubDetails(client, args60.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
54057
+ args: args63,
54058
+ tool: async (client, args64, ctx) => {
54059
+ const [result, apiCall] = await vendorsListVendorScrubDetails(client, args64.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
52937
54060
  if (!result.ok) {
52938
54061
  return {
52939
54062
  content: [{ type: "text", text: result.error.message }],
@@ -52948,9 +54071,9 @@ List vendor scrub details`,
52948
54071
 
52949
54072
  // src/funcs/vendorsListVendorScrubPackages.ts
52950
54073
  function vendorsListVendorScrubPackages(client, request, options) {
52951
- return new APIPromise($do62(client, request, options));
54074
+ return new APIPromise($do66(client, request, options));
52952
54075
  }
52953
- async function $do62(client, request, options) {
54076
+ async function $do66(client, request, options) {
52954
54077
  const parsed = safeParse(request, (value) => ListVendorScrubPackagesRequest$outboundSchema.parse(value), "Input validation failed");
52955
54078
  if (!parsed.ok) {
52956
54079
  return [haltIterator(parsed), { status: "invalid" }];
@@ -53064,12 +54187,12 @@ var init_vendorsListVendorScrubPackages = __esm(() => {
53064
54187
  });
53065
54188
 
53066
54189
  // src/mcp-server/tools/vendorsListVendorScrubPackages.ts
53067
- var args60, tool$vendorsListVendorScrubPackages;
54190
+ var args64, tool$vendorsListVendorScrubPackages;
53068
54191
  var init_vendorsListVendorScrubPackages2 = __esm(() => {
53069
54192
  init_vendorsListVendorScrubPackages();
53070
54193
  init_operations();
53071
54194
  init_tools();
53072
- args60 = {
54195
+ args64 = {
53073
54196
  request: ListVendorScrubPackagesRequest$inboundSchema
53074
54197
  };
53075
54198
  tool$vendorsListVendorScrubPackages = {
@@ -53077,9 +54200,9 @@ var init_vendorsListVendorScrubPackages2 = __esm(() => {
53077
54200
  description: `List vendor scrub packages
53078
54201
 
53079
54202
  List vendor scrub packages`,
53080
- args: args60,
53081
- tool: async (client, args61, ctx) => {
53082
- const [result, apiCall] = await vendorsListVendorScrubPackages(client, args61.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
54203
+ args: args64,
54204
+ tool: async (client, args65, ctx) => {
54205
+ const [result, apiCall] = await vendorsListVendorScrubPackages(client, args65.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
53083
54206
  if (!result.ok) {
53084
54207
  return {
53085
54208
  content: [{ type: "text", text: result.error.message }],
@@ -53094,9 +54217,9 @@ List vendor scrub packages`,
53094
54217
 
53095
54218
  // src/funcs/vendorsListVendorScrubPurchases.ts
53096
54219
  function vendorsListVendorScrubPurchases(client, request, options) {
53097
- return new APIPromise($do63(client, request, options));
54220
+ return new APIPromise($do67(client, request, options));
53098
54221
  }
53099
- async function $do63(client, request, options) {
54222
+ async function $do67(client, request, options) {
53100
54223
  const parsed = safeParse(request, (value) => ListVendorScrubPurchasesRequest$outboundSchema.parse(value), "Input validation failed");
53101
54224
  if (!parsed.ok) {
53102
54225
  return [haltIterator(parsed), { status: "invalid" }];
@@ -53210,12 +54333,12 @@ var init_vendorsListVendorScrubPurchases = __esm(() => {
53210
54333
  });
53211
54334
 
53212
54335
  // src/mcp-server/tools/vendorsListVendorScrubPurchases.ts
53213
- var args61, tool$vendorsListVendorScrubPurchases;
54336
+ var args65, tool$vendorsListVendorScrubPurchases;
53214
54337
  var init_vendorsListVendorScrubPurchases2 = __esm(() => {
53215
54338
  init_vendorsListVendorScrubPurchases();
53216
54339
  init_operations();
53217
54340
  init_tools();
53218
- args61 = {
54341
+ args65 = {
53219
54342
  request: ListVendorScrubPurchasesRequest$inboundSchema
53220
54343
  };
53221
54344
  tool$vendorsListVendorScrubPurchases = {
@@ -53223,9 +54346,9 @@ var init_vendorsListVendorScrubPurchases2 = __esm(() => {
53223
54346
  description: `List vendor scrub purchases
53224
54347
 
53225
54348
  List vendor scrub purchases`,
53226
- args: args61,
53227
- tool: async (client, args62, ctx) => {
53228
- const [result, apiCall] = await vendorsListVendorScrubPurchases(client, args62.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
54349
+ args: args65,
54350
+ tool: async (client, args66, ctx) => {
54351
+ const [result, apiCall] = await vendorsListVendorScrubPurchases(client, args66.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
53229
54352
  if (!result.ok) {
53230
54353
  return {
53231
54354
  content: [{ type: "text", text: result.error.message }],
@@ -53240,9 +54363,9 @@ List vendor scrub purchases`,
53240
54363
 
53241
54364
  // src/funcs/vendorsListVendorTypes.ts
53242
54365
  function vendorsListVendorTypes(client, request, options) {
53243
- return new APIPromise($do64(client, request, options));
54366
+ return new APIPromise($do68(client, request, options));
53244
54367
  }
53245
- async function $do64(client, request, options) {
54368
+ async function $do68(client, request, options) {
53246
54369
  const parsed = safeParse(request, (value) => ListVendorTypesRequest$outboundSchema.parse(value), "Input validation failed");
53247
54370
  if (!parsed.ok) {
53248
54371
  return [haltIterator(parsed), { status: "invalid" }];
@@ -53350,12 +54473,12 @@ var init_vendorsListVendorTypes = __esm(() => {
53350
54473
  });
53351
54474
 
53352
54475
  // src/mcp-server/tools/vendorsListVendorTypes.ts
53353
- var args62, tool$vendorsListVendorTypes;
54476
+ var args66, tool$vendorsListVendorTypes;
53354
54477
  var init_vendorsListVendorTypes2 = __esm(() => {
53355
54478
  init_vendorsListVendorTypes();
53356
54479
  init_operations();
53357
54480
  init_tools();
53358
- args62 = {
54481
+ args66 = {
53359
54482
  request: ListVendorTypesRequest$inboundSchema
53360
54483
  };
53361
54484
  tool$vendorsListVendorTypes = {
@@ -53363,9 +54486,9 @@ var init_vendorsListVendorTypes2 = __esm(() => {
53363
54486
  description: `List vendor types
53364
54487
 
53365
54488
  List vendor types.`,
53366
- args: args62,
53367
- tool: async (client, args63, ctx) => {
53368
- const [result, apiCall] = await vendorsListVendorTypes(client, args63.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
54489
+ args: args66,
54490
+ tool: async (client, args67, ctx) => {
54491
+ const [result, apiCall] = await vendorsListVendorTypes(client, args67.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
53369
54492
  if (!result.ok) {
53370
54493
  return {
53371
54494
  content: [{ type: "text", text: result.error.message }],
@@ -53380,9 +54503,9 @@ List vendor types.`,
53380
54503
 
53381
54504
  // src/funcs/vendorsPurchaseScrubCredits.ts
53382
54505
  function vendorsPurchaseScrubCredits(client, request, options) {
53383
- return new APIPromise($do65(client, request, options));
54506
+ return new APIPromise($do69(client, request, options));
53384
54507
  }
53385
- async function $do65(client, request, options) {
54508
+ async function $do69(client, request, options) {
53386
54509
  const parsed = safeParse(request, (value) => PurchaseScrubCreditsRequest$outboundSchema.parse(value), "Input validation failed");
53387
54510
  if (!parsed.ok) {
53388
54511
  return [parsed, { status: "invalid" }];
@@ -53458,12 +54581,12 @@ var init_vendorsPurchaseScrubCredits = __esm(() => {
53458
54581
  });
53459
54582
 
53460
54583
  // src/mcp-server/tools/vendorsPurchaseScrubCredits.ts
53461
- var args63, tool$vendorsPurchaseScrubCredits;
54584
+ var args67, tool$vendorsPurchaseScrubCredits;
53462
54585
  var init_vendorsPurchaseScrubCredits2 = __esm(() => {
53463
54586
  init_vendorsPurchaseScrubCredits();
53464
54587
  init_operations();
53465
54588
  init_tools();
53466
- args63 = {
54589
+ args67 = {
53467
54590
  request: PurchaseScrubCreditsRequest$inboundSchema
53468
54591
  };
53469
54592
  tool$vendorsPurchaseScrubCredits = {
@@ -53471,9 +54594,9 @@ var init_vendorsPurchaseScrubCredits2 = __esm(() => {
53471
54594
  description: `Purchase scrub credits
53472
54595
 
53473
54596
  Purchase scrub credits`,
53474
- args: args63,
53475
- tool: async (client, args64, ctx) => {
53476
- const [result, apiCall] = await vendorsPurchaseScrubCredits(client, args64.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
54597
+ args: args67,
54598
+ tool: async (client, args68, ctx) => {
54599
+ const [result, apiCall] = await vendorsPurchaseScrubCredits(client, args68.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
53477
54600
  if (!result.ok) {
53478
54601
  return {
53479
54602
  content: [{ type: "text", text: result.error.message }],
@@ -53488,9 +54611,9 @@ Purchase scrub credits`,
53488
54611
 
53489
54612
  // src/funcs/vendorsSendDownloadCode.ts
53490
54613
  function vendorsSendDownloadCode(client, request, options) {
53491
- return new APIPromise($do66(client, request, options));
54614
+ return new APIPromise($do70(client, request, options));
53492
54615
  }
53493
- async function $do66(client, request, options) {
54616
+ async function $do70(client, request, options) {
53494
54617
  const parsed = safeParse(request, (value) => SendDownloadCodeRequest$outboundSchema.parse(value), "Input validation failed");
53495
54618
  if (!parsed.ok) {
53496
54619
  return [parsed, { status: "invalid" }];
@@ -53564,12 +54687,12 @@ var init_vendorsSendDownloadCode = __esm(() => {
53564
54687
  });
53565
54688
 
53566
54689
  // src/mcp-server/tools/vendorsSendDownloadCode.ts
53567
- var args64, tool$vendorsSendDownloadCode;
54690
+ var args68, tool$vendorsSendDownloadCode;
53568
54691
  var init_vendorsSendDownloadCode2 = __esm(() => {
53569
54692
  init_vendorsSendDownloadCode();
53570
54693
  init_operations();
53571
54694
  init_tools();
53572
- args64 = {
54695
+ args68 = {
53573
54696
  request: SendDownloadCodeRequest$inboundSchema
53574
54697
  };
53575
54698
  tool$vendorsSendDownloadCode = {
@@ -53577,9 +54700,9 @@ var init_vendorsSendDownloadCode2 = __esm(() => {
53577
54700
  description: `Send download code for vendor credential
53578
54701
 
53579
54702
  It will send download code for vendor credential`,
53580
- args: args64,
53581
- tool: async (client, args65, ctx) => {
53582
- const [result, apiCall] = await vendorsSendDownloadCode(client, args65.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
54703
+ args: args68,
54704
+ tool: async (client, args69, ctx) => {
54705
+ const [result, apiCall] = await vendorsSendDownloadCode(client, args69.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
53583
54706
  if (!result.ok) {
53584
54707
  return {
53585
54708
  content: [{ type: "text", text: result.error.message }],
@@ -53594,9 +54717,9 @@ It will send download code for vendor credential`,
53594
54717
 
53595
54718
  // src/funcs/vendorsSubmitVendorCredential.ts
53596
54719
  function vendorsSubmitVendorCredential(client, request, options) {
53597
- return new APIPromise($do67(client, request, options));
54720
+ return new APIPromise($do71(client, request, options));
53598
54721
  }
53599
- async function $do67(client, request, options) {
54722
+ async function $do71(client, request, options) {
53600
54723
  const parsed = safeParse(request, (value) => SubmitVendorCredentialRequest$outboundSchema.parse(value), "Input validation failed");
53601
54724
  if (!parsed.ok) {
53602
54725
  return [parsed, { status: "invalid" }];
@@ -53670,12 +54793,12 @@ var init_vendorsSubmitVendorCredential = __esm(() => {
53670
54793
  });
53671
54794
 
53672
54795
  // src/mcp-server/tools/vendorsSubmitVendorCredential.ts
53673
- var args65, tool$vendorsSubmitVendorCredential;
54796
+ var args69, tool$vendorsSubmitVendorCredential;
53674
54797
  var init_vendorsSubmitVendorCredential2 = __esm(() => {
53675
54798
  init_vendorsSubmitVendorCredential();
53676
54799
  init_operations();
53677
54800
  init_tools();
53678
- args65 = {
54801
+ args69 = {
53679
54802
  request: SubmitVendorCredentialRequest$inboundSchema
53680
54803
  };
53681
54804
  tool$vendorsSubmitVendorCredential = {
@@ -53683,9 +54806,9 @@ var init_vendorsSubmitVendorCredential2 = __esm(() => {
53683
54806
  description: `Submit vendor credential
53684
54807
 
53685
54808
  It will submit vendor credential`,
53686
- args: args65,
53687
- tool: async (client, args66, ctx) => {
53688
- const [result, apiCall] = await vendorsSubmitVendorCredential(client, args66.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
54809
+ args: args69,
54810
+ tool: async (client, args70, ctx) => {
54811
+ const [result, apiCall] = await vendorsSubmitVendorCredential(client, args70.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
53689
54812
  if (!result.ok) {
53690
54813
  return {
53691
54814
  content: [{ type: "text", text: result.error.message }],
@@ -53700,9 +54823,9 @@ It will submit vendor credential`,
53700
54823
 
53701
54824
  // src/funcs/vendorsUpdateVendorCredentialData.ts
53702
54825
  function vendorsUpdateVendorCredentialData(client, request, options) {
53703
- return new APIPromise($do68(client, request, options));
54826
+ return new APIPromise($do72(client, request, options));
53704
54827
  }
53705
- async function $do68(client, request, options) {
54828
+ async function $do72(client, request, options) {
53706
54829
  const parsed = safeParse(request, (value) => UpdateVendorCredentialDataRequest$outboundSchema.parse(value), "Input validation failed");
53707
54830
  if (!parsed.ok) {
53708
54831
  return [parsed, { status: "invalid" }];
@@ -53783,12 +54906,12 @@ var init_vendorsUpdateVendorCredentialData = __esm(() => {
53783
54906
  });
53784
54907
 
53785
54908
  // src/mcp-server/tools/vendorsUpdateVendorCredentialData.ts
53786
- var args66, tool$vendorsUpdateVendorCredentialData;
54909
+ var args70, tool$vendorsUpdateVendorCredentialData;
53787
54910
  var init_vendorsUpdateVendorCredentialData2 = __esm(() => {
53788
54911
  init_vendorsUpdateVendorCredentialData();
53789
54912
  init_operations();
53790
54913
  init_tools();
53791
- args66 = {
54914
+ args70 = {
53792
54915
  request: UpdateVendorCredentialDataRequest$inboundSchema
53793
54916
  };
53794
54917
  tool$vendorsUpdateVendorCredentialData = {
@@ -53796,9 +54919,9 @@ var init_vendorsUpdateVendorCredentialData2 = __esm(() => {
53796
54919
  description: `Update vendor credential data
53797
54920
 
53798
54921
  Update vendor credential data`,
53799
- args: args66,
53800
- tool: async (client, args67, ctx) => {
53801
- const [result, apiCall] = await vendorsUpdateVendorCredentialData(client, args67.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
54922
+ args: args70,
54923
+ tool: async (client, args71, ctx) => {
54924
+ const [result, apiCall] = await vendorsUpdateVendorCredentialData(client, args71.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
53802
54925
  if (!result.ok) {
53803
54926
  return {
53804
54927
  content: [{ type: "text", text: result.error.message }],
@@ -53813,9 +54936,9 @@ Update vendor credential data`,
53813
54936
 
53814
54937
  // src/funcs/vendorsUpdateVendorCredentialFile.ts
53815
54938
  function vendorsUpdateVendorCredentialFile(client, request, options) {
53816
- return new APIPromise($do69(client, request, options));
54939
+ return new APIPromise($do73(client, request, options));
53817
54940
  }
53818
- async function $do69(client, request, options) {
54941
+ async function $do73(client, request, options) {
53819
54942
  const parsed = safeParse(request, (value) => UpdateVendorCredentialFileRequest$outboundSchema.parse(value), "Input validation failed");
53820
54943
  if (!parsed.ok) {
53821
54944
  return [parsed, { status: "invalid" }];
@@ -53893,12 +55016,12 @@ var init_vendorsUpdateVendorCredentialFile = __esm(() => {
53893
55016
  });
53894
55017
 
53895
55018
  // src/mcp-server/tools/vendorsUpdateVendorCredentialFile.ts
53896
- var args67, tool$vendorsUpdateVendorCredentialFile;
55019
+ var args71, tool$vendorsUpdateVendorCredentialFile;
53897
55020
  var init_vendorsUpdateVendorCredentialFile2 = __esm(() => {
53898
55021
  init_vendorsUpdateVendorCredentialFile();
53899
55022
  init_operations();
53900
55023
  init_tools();
53901
- args67 = {
55024
+ args71 = {
53902
55025
  request: UpdateVendorCredentialFileRequest$inboundSchema
53903
55026
  };
53904
55027
  tool$vendorsUpdateVendorCredentialFile = {
@@ -53906,9 +55029,9 @@ var init_vendorsUpdateVendorCredentialFile2 = __esm(() => {
53906
55029
  description: `Update vendor credential file
53907
55030
 
53908
55031
  It will update the vendor credential file properties`,
53909
- args: args67,
53910
- tool: async (client, args68, ctx) => {
53911
- const [result, apiCall] = await vendorsUpdateVendorCredentialFile(client, args68.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
55032
+ args: args71,
55033
+ tool: async (client, args72, ctx) => {
55034
+ const [result, apiCall] = await vendorsUpdateVendorCredentialFile(client, args72.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
53912
55035
  if (!result.ok) {
53913
55036
  return {
53914
55037
  content: [{ type: "text", text: result.error.message }],
@@ -53923,9 +55046,9 @@ It will update the vendor credential file properties`,
53923
55046
 
53924
55047
  // src/funcs/vendorsUpdateVendorDetails.ts
53925
55048
  function vendorsUpdateVendorDetails(client, request, options) {
53926
- return new APIPromise($do70(client, request, options));
55049
+ return new APIPromise($do74(client, request, options));
53927
55050
  }
53928
- async function $do70(client, request, options) {
55051
+ async function $do74(client, request, options) {
53929
55052
  const parsed = safeParse(request, (value) => UpdateVendorDetailsRequest$outboundSchema.parse(value), "Input validation failed");
53930
55053
  if (!parsed.ok) {
53931
55054
  return [parsed, { status: "invalid" }];
@@ -54002,12 +55125,12 @@ var init_vendorsUpdateVendorDetails = __esm(() => {
54002
55125
  });
54003
55126
 
54004
55127
  // src/mcp-server/tools/vendorsUpdateVendorDetails.ts
54005
- var args68, tool$vendorsUpdateVendorDetails;
55128
+ var args72, tool$vendorsUpdateVendorDetails;
54006
55129
  var init_vendorsUpdateVendorDetails2 = __esm(() => {
54007
55130
  init_vendorsUpdateVendorDetails();
54008
55131
  init_operations();
54009
55132
  init_tools();
54010
- args68 = {
55133
+ args72 = {
54011
55134
  request: UpdateVendorDetailsRequest$inboundSchema
54012
55135
  };
54013
55136
  tool$vendorsUpdateVendorDetails = {
@@ -54015,9 +55138,9 @@ var init_vendorsUpdateVendorDetails2 = __esm(() => {
54015
55138
  description: `Update vendor details
54016
55139
 
54017
55140
  It will update the vendor details`,
54018
- args: args68,
54019
- tool: async (client, args69, ctx) => {
54020
- const [result, apiCall] = await vendorsUpdateVendorDetails(client, args69.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
55141
+ args: args72,
55142
+ tool: async (client, args73, ctx) => {
55143
+ const [result, apiCall] = await vendorsUpdateVendorDetails(client, args73.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
54021
55144
  if (!result.ok) {
54022
55145
  return {
54023
55146
  content: [{ type: "text", text: result.error.message }],
@@ -54032,9 +55155,9 @@ It will update the vendor details`,
54032
55155
 
54033
55156
  // src/funcs/vendorsUpdateVendorManagedByCompany.ts
54034
55157
  function vendorsUpdateVendorManagedByCompany(client, request, options) {
54035
- return new APIPromise($do71(client, request, options));
55158
+ return new APIPromise($do75(client, request, options));
54036
55159
  }
54037
- async function $do71(client, request, options) {
55160
+ async function $do75(client, request, options) {
54038
55161
  const parsed = safeParse(request, (value) => UpdateVendorManagedByCompanyRequest$outboundSchema.parse(value), "Input validation failed");
54039
55162
  if (!parsed.ok) {
54040
55163
  return [parsed, { status: "invalid" }];
@@ -54110,12 +55233,12 @@ var init_vendorsUpdateVendorManagedByCompany = __esm(() => {
54110
55233
  });
54111
55234
 
54112
55235
  // src/mcp-server/tools/vendorsUpdateVendorManagedByCompany.ts
54113
- var args69, tool$vendorsUpdateVendorManagedByCompany;
55236
+ var args73, tool$vendorsUpdateVendorManagedByCompany;
54114
55237
  var init_vendorsUpdateVendorManagedByCompany2 = __esm(() => {
54115
55238
  init_vendorsUpdateVendorManagedByCompany();
54116
55239
  init_operations();
54117
55240
  init_tools();
54118
- args69 = {
55241
+ args73 = {
54119
55242
  request: UpdateVendorManagedByCompanyRequest$inboundSchema
54120
55243
  };
54121
55244
  tool$vendorsUpdateVendorManagedByCompany = {
@@ -54123,9 +55246,9 @@ var init_vendorsUpdateVendorManagedByCompany2 = __esm(() => {
54123
55246
  description: `Update vendor managed by company access rights
54124
55247
 
54125
55248
  It will update the vendor managed by company access rights`,
54126
- args: args69,
54127
- tool: async (client, args70, ctx) => {
54128
- const [result, apiCall] = await vendorsUpdateVendorManagedByCompany(client, args70.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
55249
+ args: args73,
55250
+ tool: async (client, args74, ctx) => {
55251
+ const [result, apiCall] = await vendorsUpdateVendorManagedByCompany(client, args74.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
54129
55252
  if (!result.ok) {
54130
55253
  return {
54131
55254
  content: [{ type: "text", text: result.error.message }],
@@ -54140,9 +55263,9 @@ It will update the vendor managed by company access rights`,
54140
55263
 
54141
55264
  // src/funcs/vendorsUpdateVendorScrubDetails.ts
54142
55265
  function vendorsUpdateVendorScrubDetails(client, request, options) {
54143
- return new APIPromise($do72(client, request, options));
55266
+ return new APIPromise($do76(client, request, options));
54144
55267
  }
54145
- async function $do72(client, request, options) {
55268
+ async function $do76(client, request, options) {
54146
55269
  const parsed = safeParse(request, (value) => UpdateVendorScrubDetailsRequest$outboundSchema.parse(value), "Input validation failed");
54147
55270
  if (!parsed.ok) {
54148
55271
  return [parsed, { status: "invalid" }];
@@ -54219,12 +55342,12 @@ var init_vendorsUpdateVendorScrubDetails = __esm(() => {
54219
55342
  });
54220
55343
 
54221
55344
  // src/mcp-server/tools/vendorsUpdateVendorScrubDetails.ts
54222
- var args70, tool$vendorsUpdateVendorScrubDetails;
55345
+ var args74, tool$vendorsUpdateVendorScrubDetails;
54223
55346
  var init_vendorsUpdateVendorScrubDetails2 = __esm(() => {
54224
55347
  init_vendorsUpdateVendorScrubDetails();
54225
55348
  init_operations();
54226
55349
  init_tools();
54227
- args70 = {
55350
+ args74 = {
54228
55351
  request: UpdateVendorScrubDetailsRequest$inboundSchema
54229
55352
  };
54230
55353
  tool$vendorsUpdateVendorScrubDetails = {
@@ -54232,9 +55355,9 @@ var init_vendorsUpdateVendorScrubDetails2 = __esm(() => {
54232
55355
  description: `Update vendor scrub details
54233
55356
 
54234
55357
  Update vendor scrub details`,
54235
- args: args70,
54236
- tool: async (client, args71, ctx) => {
54237
- const [result, apiCall] = await vendorsUpdateVendorScrubDetails(client, args71.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
55358
+ args: args74,
55359
+ tool: async (client, args75, ctx) => {
55360
+ const [result, apiCall] = await vendorsUpdateVendorScrubDetails(client, args75.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
54238
55361
  if (!result.ok) {
54239
55362
  return {
54240
55363
  content: [{ type: "text", text: result.error.message }],
@@ -54249,9 +55372,9 @@ Update vendor scrub details`,
54249
55372
 
54250
55373
  // src/funcs/webhooksGetWebhookEndpoint.ts
54251
55374
  function webhooksGetWebhookEndpoint(client, request, options) {
54252
- return new APIPromise($do73(client, request, options));
55375
+ return new APIPromise($do77(client, request, options));
54253
55376
  }
54254
- async function $do73(client, request, options) {
55377
+ async function $do77(client, request, options) {
54255
55378
  const parsed = safeParse(request, (value) => GetWebhookEndpointRequest$outboundSchema.parse(value), "Input validation failed");
54256
55379
  if (!parsed.ok) {
54257
55380
  return [parsed, { status: "invalid" }];
@@ -54327,12 +55450,12 @@ var init_webhooksGetWebhookEndpoint = __esm(() => {
54327
55450
  });
54328
55451
 
54329
55452
  // src/mcp-server/tools/webhooksGetWebhookEndpoint.ts
54330
- var args71, tool$webhooksGetWebhookEndpoint;
55453
+ var args75, tool$webhooksGetWebhookEndpoint;
54331
55454
  var init_webhooksGetWebhookEndpoint2 = __esm(() => {
54332
55455
  init_webhooksGetWebhookEndpoint();
54333
55456
  init_operations();
54334
55457
  init_tools();
54335
- args71 = {
55458
+ args75 = {
54336
55459
  request: GetWebhookEndpointRequest$inboundSchema
54337
55460
  };
54338
55461
  tool$webhooksGetWebhookEndpoint = {
@@ -54340,9 +55463,9 @@ var init_webhooksGetWebhookEndpoint2 = __esm(() => {
54340
55463
  description: `Retrieves the webhook endpoint with the given ID.
54341
55464
 
54342
55465
  Returns the definition of a webhook endpoint by ID.`,
54343
- args: args71,
54344
- tool: async (client, args72, ctx) => {
54345
- const [result, apiCall] = await webhooksGetWebhookEndpoint(client, args72.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
55466
+ args: args75,
55467
+ tool: async (client, args76, ctx) => {
55468
+ const [result, apiCall] = await webhooksGetWebhookEndpoint(client, args76.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
54346
55469
  if (!result.ok) {
54347
55470
  return {
54348
55471
  content: [{ type: "text", text: result.error.message }],
@@ -54357,9 +55480,9 @@ Returns the definition of a webhook endpoint by ID.`,
54357
55480
 
54358
55481
  // src/funcs/webhooksListAllWebhookEndpoints.ts
54359
55482
  function webhooksListAllWebhookEndpoints(client, request, options) {
54360
- return new APIPromise($do74(client, request, options));
55483
+ return new APIPromise($do78(client, request, options));
54361
55484
  }
54362
- async function $do74(client, request, options) {
55485
+ async function $do78(client, request, options) {
54363
55486
  const parsed = safeParse(request, (value) => ListAllWebhookEndpointsRequest$outboundSchema.parse(value), "Input validation failed");
54364
55487
  if (!parsed.ok) {
54365
55488
  return [parsed, { status: "invalid" }];
@@ -54435,12 +55558,12 @@ var init_webhooksListAllWebhookEndpoints = __esm(() => {
54435
55558
  });
54436
55559
 
54437
55560
  // src/mcp-server/tools/webhooksListAllWebhookEndpoints.ts
54438
- var args72, tool$webhooksListAllWebhookEndpoints;
55561
+ var args76, tool$webhooksListAllWebhookEndpoints;
54439
55562
  var init_webhooksListAllWebhookEndpoints2 = __esm(() => {
54440
55563
  init_webhooksListAllWebhookEndpoints();
54441
55564
  init_operations();
54442
55565
  init_tools();
54443
- args72 = {
55566
+ args76 = {
54444
55567
  request: ListAllWebhookEndpointsRequest$inboundSchema
54445
55568
  };
54446
55569
  tool$webhooksListAllWebhookEndpoints = {
@@ -54448,9 +55571,9 @@ var init_webhooksListAllWebhookEndpoints2 = __esm(() => {
54448
55571
  description: `List all webhook endpoints
54449
55572
 
54450
55573
  Returns a list of your webhook endpoints.`,
54451
- args: args72,
54452
- tool: async (client, args73, ctx) => {
54453
- const [result, apiCall] = await webhooksListAllWebhookEndpoints(client, args73.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
55574
+ args: args76,
55575
+ tool: async (client, args77, ctx) => {
55576
+ const [result, apiCall] = await webhooksListAllWebhookEndpoints(client, args77.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
54454
55577
  if (!result.ok) {
54455
55578
  return {
54456
55579
  content: [{ type: "text", text: result.error.message }],
@@ -54465,9 +55588,9 @@ Returns a list of your webhook endpoints.`,
54465
55588
 
54466
55589
  // src/funcs/webhooksUpdatesTheWebhookEndpointWithTheGivenId.ts
54467
55590
  function webhooksUpdatesTheWebhookEndpointWithTheGivenId(client, request, options) {
54468
- return new APIPromise($do75(client, request, options));
55591
+ return new APIPromise($do79(client, request, options));
54469
55592
  }
54470
- async function $do75(client, request, options) {
55593
+ async function $do79(client, request, options) {
54471
55594
  const parsed = safeParse(request, (value) => UpdatesTheWebhookEndpointWithTheGivenIdRequest$outboundSchema.parse(value), "Input validation failed");
54472
55595
  if (!parsed.ok) {
54473
55596
  return [parsed, { status: "invalid" }];
@@ -54544,12 +55667,12 @@ var init_webhooksUpdatesTheWebhookEndpointWithTheGivenId = __esm(() => {
54544
55667
  });
54545
55668
 
54546
55669
  // src/mcp-server/tools/webhooksUpdatesTheWebhookEndpointWithTheGivenId.ts
54547
- var args73, tool$webhooksUpdatesTheWebhookEndpointWithTheGivenId;
55670
+ var args77, tool$webhooksUpdatesTheWebhookEndpointWithTheGivenId;
54548
55671
  var init_webhooksUpdatesTheWebhookEndpointWithTheGivenId2 = __esm(() => {
54549
55672
  init_webhooksUpdatesTheWebhookEndpointWithTheGivenId();
54550
55673
  init_operations();
54551
55674
  init_tools();
54552
- args73 = {
55675
+ args77 = {
54553
55676
  request: UpdatesTheWebhookEndpointWithTheGivenIdRequest$inboundSchema
54554
55677
  };
54555
55678
  tool$webhooksUpdatesTheWebhookEndpointWithTheGivenId = {
@@ -54557,9 +55680,9 @@ var init_webhooksUpdatesTheWebhookEndpointWithTheGivenId2 = __esm(() => {
54557
55680
  description: `Updates the webhook endpoint with the given ID.
54558
55681
 
54559
55682
  Updates the webhook endpoint with the given ID.`,
54560
- args: args73,
54561
- tool: async (client, args74, ctx) => {
54562
- const [result, apiCall] = await webhooksUpdatesTheWebhookEndpointWithTheGivenId(client, args74.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
55683
+ args: args77,
55684
+ tool: async (client, args78, ctx) => {
55685
+ const [result, apiCall] = await webhooksUpdatesTheWebhookEndpointWithTheGivenId(client, args78.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
54563
55686
  if (!result.ok) {
54564
55687
  return {
54565
55688
  content: [{ type: "text", text: result.error.message }],
@@ -54574,9 +55697,9 @@ Updates the webhook endpoint with the given ID.`,
54574
55697
 
54575
55698
  // src/funcs/zonesGetSecurityZone.ts
54576
55699
  function zonesGetSecurityZone(client, request, options) {
54577
- return new APIPromise($do76(client, request, options));
55700
+ return new APIPromise($do80(client, request, options));
54578
55701
  }
54579
- async function $do76(client, request, options) {
55702
+ async function $do80(client, request, options) {
54580
55703
  const parsed = safeParse(request, (value) => GetSecurityZoneRequest$outboundSchema.parse(value), "Input validation failed");
54581
55704
  if (!parsed.ok) {
54582
55705
  return [parsed, { status: "invalid" }];
@@ -54656,12 +55779,12 @@ var init_zonesGetSecurityZone = __esm(() => {
54656
55779
  });
54657
55780
 
54658
55781
  // src/mcp-server/tools/zonesGetSecurityZone.ts
54659
- var args74, tool$zonesGetSecurityZone;
55782
+ var args78, tool$zonesGetSecurityZone;
54660
55783
  var init_zonesGetSecurityZone2 = __esm(() => {
54661
55784
  init_zonesGetSecurityZone();
54662
55785
  init_operations();
54663
55786
  init_tools();
54664
- args74 = {
55787
+ args78 = {
54665
55788
  request: GetSecurityZoneRequest$inboundSchema
54666
55789
  };
54667
55790
  tool$zonesGetSecurityZone = {
@@ -54675,9 +55798,9 @@ Available \`expand\` scopes are:
54675
55798
  - zone.facility
54676
55799
  - zone.department
54677
55800
  - zone.rules`,
54678
- args: args74,
54679
- tool: async (client, args75, ctx) => {
54680
- const [result, apiCall] = await zonesGetSecurityZone(client, args75.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
55801
+ args: args78,
55802
+ tool: async (client, args79, ctx) => {
55803
+ const [result, apiCall] = await zonesGetSecurityZone(client, args79.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
54681
55804
  if (!result.ok) {
54682
55805
  return {
54683
55806
  content: [{ type: "text", text: result.error.message }],
@@ -54692,9 +55815,9 @@ Available \`expand\` scopes are:
54692
55815
 
54693
55816
  // src/funcs/zonesListOrSearchSecurityZones.ts
54694
55817
  function zonesListOrSearchSecurityZones(client, request, options) {
54695
- return new APIPromise($do77(client, request, options));
55818
+ return new APIPromise($do81(client, request, options));
54696
55819
  }
54697
- async function $do77(client, request, options) {
55820
+ async function $do81(client, request, options) {
54698
55821
  const parsed = safeParse(request, (value) => ListOrSearchSecurityZonesRequest$outboundSchema.parse(value), "Input validation failed");
54699
55822
  if (!parsed.ok) {
54700
55823
  return [haltIterator(parsed), { status: "invalid" }];
@@ -54808,12 +55931,12 @@ var init_zonesListOrSearchSecurityZones = __esm(() => {
54808
55931
  });
54809
55932
 
54810
55933
  // src/mcp-server/tools/zonesListOrSearchSecurityZones.ts
54811
- var args75, tool$zonesListOrSearchSecurityZones;
55934
+ var args79, tool$zonesListOrSearchSecurityZones;
54812
55935
  var init_zonesListOrSearchSecurityZones2 = __esm(() => {
54813
55936
  init_zonesListOrSearchSecurityZones();
54814
55937
  init_operations();
54815
55938
  init_tools();
54816
- args75 = {
55939
+ args79 = {
54817
55940
  request: ListOrSearchSecurityZonesRequest$inboundSchema
54818
55941
  };
54819
55942
  tool$zonesListOrSearchSecurityZones = {
@@ -54821,9 +55944,9 @@ var init_zonesListOrSearchSecurityZones2 = __esm(() => {
54821
55944
  description: `List or search security zones
54822
55945
 
54823
55946
  List or search security zones`,
54824
- args: args75,
54825
- tool: async (client, args76, ctx) => {
54826
- const [result, apiCall] = await zonesListOrSearchSecurityZones(client, args76.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
55947
+ args: args79,
55948
+ tool: async (client, args80, ctx) => {
55949
+ const [result, apiCall] = await zonesListOrSearchSecurityZones(client, args80.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
54827
55950
  if (!result.ok) {
54828
55951
  return {
54829
55952
  content: [{ type: "text", text: result.error.message }],
@@ -54838,9 +55961,9 @@ List or search security zones`,
54838
55961
 
54839
55962
  // src/funcs/zonesSecurityZoneCheckin.ts
54840
55963
  function zonesSecurityZoneCheckin(client, request, options) {
54841
- return new APIPromise($do78(client, request, options));
55964
+ return new APIPromise($do82(client, request, options));
54842
55965
  }
54843
- async function $do78(client, request, options) {
55966
+ async function $do82(client, request, options) {
54844
55967
  const parsed = safeParse(request, (value) => SecurityZoneCheckinRequestBody$outboundSchema.parse(value), "Input validation failed");
54845
55968
  if (!parsed.ok) {
54846
55969
  return [parsed, { status: "invalid" }];
@@ -54910,12 +56033,12 @@ var init_zonesSecurityZoneCheckin = __esm(() => {
54910
56033
  });
54911
56034
 
54912
56035
  // src/mcp-server/tools/zonesSecurityZoneCheckin.ts
54913
- var args76, tool$zonesSecurityZoneCheckin;
56036
+ var args80, tool$zonesSecurityZoneCheckin;
54914
56037
  var init_zonesSecurityZoneCheckin2 = __esm(() => {
54915
56038
  init_zonesSecurityZoneCheckin();
54916
56039
  init_operations();
54917
56040
  init_tools();
54918
- args76 = {
56041
+ args80 = {
54919
56042
  request: SecurityZoneCheckinRequestBody$inboundSchema
54920
56043
  };
54921
56044
  tool$zonesSecurityZoneCheckin = {
@@ -54923,9 +56046,9 @@ var init_zonesSecurityZoneCheckin2 = __esm(() => {
54923
56046
  description: `Security zone checkin request
54924
56047
 
54925
56048
  Security zone checkin request`,
54926
- args: args76,
54927
- tool: async (client, args77, ctx) => {
54928
- const [result, apiCall] = await zonesSecurityZoneCheckin(client, args77.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
56049
+ args: args80,
56050
+ tool: async (client, args81, ctx) => {
56051
+ const [result, apiCall] = await zonesSecurityZoneCheckin(client, args81.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
54929
56052
  if (!result.ok) {
54930
56053
  return {
54931
56054
  content: [{ type: "text", text: result.error.message }],
@@ -54942,7 +56065,7 @@ Security zone checkin request`,
54942
56065
  function createMCPServer(deps) {
54943
56066
  const server = new McpServer({
54944
56067
  name: "GreenSecurity",
54945
- version: "0.39.36"
56068
+ version: "0.39.39"
54946
56069
  });
54947
56070
  const client = new GreenSecurityCore({
54948
56071
  security: deps.security,
@@ -55033,6 +56156,10 @@ function createMCPServer(deps) {
55033
56156
  tool(tool$eventsAcceptInvitation);
55034
56157
  tool(tool$eventsDeclineInvitation);
55035
56158
  tool(tool$eventsListOrSearchVendorInvitees);
56159
+ tool(tool$eventsListLocations);
56160
+ tool(tool$eventsListPendingInvitations);
56161
+ tool(tool$eventsListFeed);
56162
+ tool(tool$eventsListStandingAppointments);
55036
56163
  tool(tool$systemsListSystems);
55037
56164
  return server;
55038
56165
  }
@@ -55049,7 +56176,11 @@ var init_server2 = __esm(() => {
55049
56176
  init_eventsCreateEvent2();
55050
56177
  init_eventsDeclineInvitation2();
55051
56178
  init_eventsDeleteEvent2();
56179
+ init_eventsListFeed2();
56180
+ init_eventsListLocations2();
55052
56181
  init_eventsListOrSearchVendorInvitees2();
56182
+ init_eventsListPendingInvitations2();
56183
+ init_eventsListStandingAppointments2();
55053
56184
  init_eventsUpdateEvent2();
55054
56185
  init_invoicesCreateInvoice2();
55055
56186
  init_invoicesMakePayment2();
@@ -56310,7 +57441,7 @@ var routes = rn({
56310
57441
  var app = Ve(routes, {
56311
57442
  name: "mcp",
56312
57443
  versionInfo: {
56313
- currentVersion: "0.39.36"
57444
+ currentVersion: "0.39.39"
56314
57445
  }
56315
57446
  });
56316
57447
  _t(app, process3.argv.slice(2), buildContext(process3));
@@ -56318,5 +57449,5 @@ export {
56318
57449
  app
56319
57450
  };
56320
57451
 
56321
- //# debugId=3ABA2B6A9685BBEE64756E2164756E21
57452
+ //# debugId=EAB2F256DE18FD8564756E2164756E21
56322
57453
  //# sourceMappingURL=mcp-server.js.map