@greensecurity/javascript-sdk 0.39.12 → 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 (568) hide show
  1. package/README.md +12 -0
  2. package/bin/mcp-server.js +1786 -625
  3. package/bin/mcp-server.js.map +46 -31
  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__/zones.test.js +4 -16
  7. package/dist/commonjs/__tests__/zones.test.js.map +1 -1
  8. package/dist/commonjs/admin-funcs/doAdmin.d.ts +4 -0
  9. package/dist/commonjs/admin-funcs/doAdmin.d.ts.map +1 -1
  10. package/dist/commonjs/admin-funcs/doAdmin.js +62 -0
  11. package/dist/commonjs/admin-funcs/doAdmin.js.map +1 -1
  12. package/dist/commonjs/admin-funcs/subscriptionFinishInvoice.d.ts +7 -0
  13. package/dist/commonjs/admin-funcs/subscriptionFinishInvoice.d.ts.map +1 -0
  14. package/dist/commonjs/admin-funcs/subscriptionFinishInvoice.js +9 -0
  15. package/dist/commonjs/admin-funcs/subscriptionFinishInvoice.js.map +1 -0
  16. package/dist/commonjs/admin-funcs/subscriptionFinishScreeningQuestions.d.ts +6 -0
  17. package/dist/commonjs/admin-funcs/subscriptionFinishScreeningQuestions.d.ts.map +1 -0
  18. package/dist/commonjs/admin-funcs/subscriptionFinishScreeningQuestions.js +9 -0
  19. package/dist/commonjs/admin-funcs/subscriptionFinishScreeningQuestions.js.map +1 -0
  20. package/dist/commonjs/admin-funcs/subscriptionGetFacilities.d.ts +6 -0
  21. package/dist/commonjs/admin-funcs/subscriptionGetFacilities.d.ts.map +1 -0
  22. package/dist/commonjs/admin-funcs/subscriptionGetFacilities.js +9 -0
  23. package/dist/commonjs/admin-funcs/subscriptionGetFacilities.js.map +1 -0
  24. package/dist/commonjs/admin-funcs/subscriptionGetInvoice.d.ts +7 -0
  25. package/dist/commonjs/admin-funcs/subscriptionGetInvoice.d.ts.map +1 -0
  26. package/dist/commonjs/admin-funcs/subscriptionGetInvoice.js +9 -0
  27. package/dist/commonjs/admin-funcs/subscriptionGetInvoice.js.map +1 -0
  28. package/dist/commonjs/admin-funcs/subscriptionGetPaymentProfile.d.ts +6 -0
  29. package/dist/commonjs/admin-funcs/subscriptionGetPaymentProfile.d.ts.map +1 -0
  30. package/dist/commonjs/admin-funcs/subscriptionGetPaymentProfile.js +9 -0
  31. package/dist/commonjs/admin-funcs/subscriptionGetPaymentProfile.js.map +1 -0
  32. package/dist/commonjs/admin-funcs/subscriptionGetPlans.d.ts +6 -0
  33. package/dist/commonjs/admin-funcs/subscriptionGetPlans.d.ts.map +1 -0
  34. package/dist/commonjs/admin-funcs/subscriptionGetPlans.js +9 -0
  35. package/dist/commonjs/admin-funcs/subscriptionGetPlans.js.map +1 -0
  36. package/dist/commonjs/admin-funcs/subscriptionGetScreeningQuestionsNextQuestion.d.ts +7 -0
  37. package/dist/commonjs/admin-funcs/subscriptionGetScreeningQuestionsNextQuestion.d.ts.map +1 -0
  38. package/dist/commonjs/admin-funcs/subscriptionGetScreeningQuestionsNextQuestion.js +9 -0
  39. package/dist/commonjs/admin-funcs/subscriptionGetScreeningQuestionsNextQuestion.js.map +1 -0
  40. package/dist/commonjs/admin-funcs/subscriptionGetScreeningQuestionsPreviousQuestion.d.ts +7 -0
  41. package/dist/commonjs/admin-funcs/subscriptionGetScreeningQuestionsPreviousQuestion.d.ts.map +1 -0
  42. package/dist/commonjs/admin-funcs/subscriptionGetScreeningQuestionsPreviousQuestion.js +9 -0
  43. package/dist/commonjs/admin-funcs/subscriptionGetScreeningQuestionsPreviousQuestion.js.map +1 -0
  44. package/dist/commonjs/admin-funcs/subscriptionGetSummary.d.ts +6 -0
  45. package/dist/commonjs/admin-funcs/subscriptionGetSummary.d.ts.map +1 -0
  46. package/dist/commonjs/admin-funcs/subscriptionGetSummary.js +9 -0
  47. package/dist/commonjs/admin-funcs/subscriptionGetSummary.js.map +1 -0
  48. package/dist/commonjs/admin-funcs/subscriptionGetVendorTypes.d.ts +6 -0
  49. package/dist/commonjs/admin-funcs/subscriptionGetVendorTypes.d.ts.map +1 -0
  50. package/dist/commonjs/admin-funcs/subscriptionGetVendorTypes.js +9 -0
  51. package/dist/commonjs/admin-funcs/subscriptionGetVendorTypes.js.map +1 -0
  52. package/dist/commonjs/admin-funcs/subscriptionUpdateFacilities.d.ts +7 -0
  53. package/dist/commonjs/admin-funcs/subscriptionUpdateFacilities.d.ts.map +1 -0
  54. package/dist/commonjs/admin-funcs/subscriptionUpdateFacilities.js +9 -0
  55. package/dist/commonjs/admin-funcs/subscriptionUpdateFacilities.js.map +1 -0
  56. package/dist/commonjs/admin-funcs/subscriptionUpdatePaymentProfile.d.ts +23 -0
  57. package/dist/commonjs/admin-funcs/subscriptionUpdatePaymentProfile.d.ts.map +1 -0
  58. package/dist/commonjs/admin-funcs/subscriptionUpdatePaymentProfile.js +9 -0
  59. package/dist/commonjs/admin-funcs/subscriptionUpdatePaymentProfile.js.map +1 -0
  60. package/dist/commonjs/admin-funcs/subscriptionUpdatePlan.d.ts +7 -0
  61. package/dist/commonjs/admin-funcs/subscriptionUpdatePlan.d.ts.map +1 -0
  62. package/dist/commonjs/admin-funcs/subscriptionUpdatePlan.js +9 -0
  63. package/dist/commonjs/admin-funcs/subscriptionUpdatePlan.js.map +1 -0
  64. package/dist/commonjs/admin-funcs/subscriptionUpdateScreeningResponse.d.ts +10 -0
  65. package/dist/commonjs/admin-funcs/subscriptionUpdateScreeningResponse.d.ts.map +1 -0
  66. package/dist/commonjs/admin-funcs/subscriptionUpdateScreeningResponse.js +9 -0
  67. package/dist/commonjs/admin-funcs/subscriptionUpdateScreeningResponse.js.map +1 -0
  68. package/dist/commonjs/admin-funcs/subscriptionUpdateVendorType.d.ts +7 -0
  69. package/dist/commonjs/admin-funcs/subscriptionUpdateVendorType.d.ts.map +1 -0
  70. package/dist/commonjs/admin-funcs/subscriptionUpdateVendorType.js +9 -0
  71. package/dist/commonjs/admin-funcs/subscriptionUpdateVendorType.js.map +1 -0
  72. package/dist/commonjs/funcs/eventsListFeed.d.ts +21 -0
  73. package/dist/commonjs/funcs/eventsListFeed.d.ts.map +1 -0
  74. package/dist/commonjs/funcs/eventsListFeed.js +166 -0
  75. package/dist/commonjs/funcs/eventsListFeed.js.map +1 -0
  76. package/dist/commonjs/funcs/eventsListLocations.d.ts +21 -0
  77. package/dist/commonjs/funcs/eventsListLocations.d.ts.map +1 -0
  78. package/dist/commonjs/funcs/eventsListLocations.js +159 -0
  79. package/dist/commonjs/funcs/eventsListLocations.js.map +1 -0
  80. package/dist/commonjs/funcs/eventsListPendingInvitations.d.ts +21 -0
  81. package/dist/commonjs/funcs/eventsListPendingInvitations.d.ts.map +1 -0
  82. package/dist/commonjs/funcs/eventsListPendingInvitations.js +162 -0
  83. package/dist/commonjs/funcs/eventsListPendingInvitations.js.map +1 -0
  84. package/dist/commonjs/funcs/eventsListStandingAppointments.d.ts +21 -0
  85. package/dist/commonjs/funcs/eventsListStandingAppointments.d.ts.map +1 -0
  86. package/dist/commonjs/funcs/eventsListStandingAppointments.js +168 -0
  87. package/dist/commonjs/funcs/eventsListStandingAppointments.js.map +1 -0
  88. package/dist/commonjs/index.extras.d.ts +32 -0
  89. package/dist/commonjs/index.extras.d.ts.map +1 -1
  90. package/dist/commonjs/index.extras.js +34 -1
  91. package/dist/commonjs/index.extras.js.map +1 -1
  92. package/dist/commonjs/lib/config.d.ts +3 -3
  93. package/dist/commonjs/lib/config.js +3 -3
  94. package/dist/commonjs/mcp-server/mcp-server.js +1 -1
  95. package/dist/commonjs/mcp-server/server.d.ts.map +1 -1
  96. package/dist/commonjs/mcp-server/server.js +9 -1
  97. package/dist/commonjs/mcp-server/server.js.map +1 -1
  98. package/dist/commonjs/mcp-server/tools/eventsListFeed.d.ts +8 -0
  99. package/dist/commonjs/mcp-server/tools/eventsListFeed.d.ts.map +1 -0
  100. package/dist/commonjs/mcp-server/tools/eventsListFeed.js +64 -0
  101. package/dist/commonjs/mcp-server/tools/eventsListFeed.js.map +1 -0
  102. package/dist/commonjs/mcp-server/tools/eventsListLocations.d.ts +8 -0
  103. package/dist/commonjs/mcp-server/tools/eventsListLocations.d.ts.map +1 -0
  104. package/dist/commonjs/mcp-server/tools/eventsListLocations.js +64 -0
  105. package/dist/commonjs/mcp-server/tools/eventsListLocations.js.map +1 -0
  106. package/dist/commonjs/mcp-server/tools/eventsListPendingInvitations.d.ts +8 -0
  107. package/dist/commonjs/mcp-server/tools/eventsListPendingInvitations.d.ts.map +1 -0
  108. package/dist/commonjs/mcp-server/tools/eventsListPendingInvitations.js +64 -0
  109. package/dist/commonjs/mcp-server/tools/eventsListPendingInvitations.js.map +1 -0
  110. package/dist/commonjs/mcp-server/tools/eventsListStandingAppointments.d.ts +8 -0
  111. package/dist/commonjs/mcp-server/tools/eventsListStandingAppointments.d.ts.map +1 -0
  112. package/dist/commonjs/mcp-server/tools/eventsListStandingAppointments.js +64 -0
  113. package/dist/commonjs/mcp-server/tools/eventsListStandingAppointments.js.map +1 -0
  114. package/dist/commonjs/models/components/backgroundcheckresult.d.ts +27 -27
  115. package/dist/commonjs/models/components/backgroundcheckresult.d.ts.map +1 -1
  116. package/dist/commonjs/models/components/backgroundcheckresult.js.map +1 -1
  117. package/dist/commonjs/models/components/contact.d.ts +25 -25
  118. package/dist/commonjs/models/components/contact.d.ts.map +1 -1
  119. package/dist/commonjs/models/components/contact.js +17 -17
  120. package/dist/commonjs/models/components/contact.js.map +1 -1
  121. package/dist/commonjs/models/components/credential.d.ts +25 -25
  122. package/dist/commonjs/models/components/credential.d.ts.map +1 -1
  123. package/dist/commonjs/models/components/credential.js.map +1 -1
  124. package/dist/commonjs/models/components/credit.d.ts +10 -10
  125. package/dist/commonjs/models/components/credit.d.ts.map +1 -1
  126. package/dist/commonjs/models/components/credit.js.map +1 -1
  127. package/dist/commonjs/models/components/datarequest.d.ts +21 -21
  128. package/dist/commonjs/models/components/datarequest.d.ts.map +1 -1
  129. package/dist/commonjs/models/components/datarequest.js.map +1 -1
  130. package/dist/commonjs/models/components/facility.d.ts +25 -25
  131. package/dist/commonjs/models/components/facility.d.ts.map +1 -1
  132. package/dist/commonjs/models/components/facility.js +16 -16
  133. package/dist/commonjs/models/components/facility.js.map +1 -1
  134. package/dist/commonjs/models/components/feed.d.ts +42 -0
  135. package/dist/commonjs/models/components/feed.d.ts.map +1 -0
  136. package/dist/commonjs/models/components/feed.js +89 -0
  137. package/dist/commonjs/models/components/feed.js.map +1 -0
  138. package/dist/commonjs/models/components/index.d.ts +3 -0
  139. package/dist/commonjs/models/components/index.d.ts.map +1 -1
  140. package/dist/commonjs/models/components/index.js +3 -0
  141. package/dist/commonjs/models/components/index.js.map +1 -1
  142. package/dist/commonjs/models/components/mfarequiredresponse.d.ts +20 -20
  143. package/dist/commonjs/models/components/mfarequiredresponse.d.ts.map +1 -1
  144. package/dist/commonjs/models/components/mfarequiredresponse.js.map +1 -1
  145. package/dist/commonjs/models/components/passwordrequiredresponse.d.ts +11 -11
  146. package/dist/commonjs/models/components/passwordrequiredresponse.d.ts.map +1 -1
  147. package/dist/commonjs/models/components/passwordrequiredresponse.js.map +1 -1
  148. package/dist/commonjs/models/components/pendinginvitation.d.ts +80 -0
  149. package/dist/commonjs/models/components/pendinginvitation.d.ts.map +1 -0
  150. package/dist/commonjs/models/components/pendinginvitation.js +130 -0
  151. package/dist/commonjs/models/components/pendinginvitation.js.map +1 -0
  152. package/dist/commonjs/models/components/samlloginrequiredresponse.d.ts +18 -18
  153. package/dist/commonjs/models/components/samlloginrequiredresponse.d.ts.map +1 -1
  154. package/dist/commonjs/models/components/samlloginrequiredresponse.js.map +1 -1
  155. package/dist/commonjs/models/components/standingappointment.d.ts +46 -0
  156. package/dist/commonjs/models/components/standingappointment.d.ts.map +1 -0
  157. package/dist/commonjs/models/components/standingappointment.js +92 -0
  158. package/dist/commonjs/models/components/standingappointment.js.map +1 -0
  159. package/dist/commonjs/models/components/user.d.ts +65 -65
  160. package/dist/commonjs/models/components/user.d.ts.map +1 -1
  161. package/dist/commonjs/models/components/user.js +17 -17
  162. package/dist/commonjs/models/components/user.js.map +1 -1
  163. package/dist/commonjs/models/components/userlocation.d.ts +19 -19
  164. package/dist/commonjs/models/components/userlocation.d.ts.map +1 -1
  165. package/dist/commonjs/models/components/userlocation.js.map +1 -1
  166. package/dist/commonjs/models/components/vendor.d.ts +50 -5
  167. package/dist/commonjs/models/components/vendor.d.ts.map +1 -1
  168. package/dist/commonjs/models/components/vendor.js +67 -3
  169. package/dist/commonjs/models/components/vendor.js.map +1 -1
  170. package/dist/commonjs/models/components/vendorcredentialdatarequest.d.ts +22 -22
  171. package/dist/commonjs/models/components/vendorcredentialdatarequest.d.ts.map +1 -1
  172. package/dist/commonjs/models/components/vendorcredentialdatarequest.js +16 -16
  173. package/dist/commonjs/models/components/vendorcredentialdatarequest.js.map +1 -1
  174. package/dist/commonjs/models/components/webhookendpoint.d.ts +18 -18
  175. package/dist/commonjs/models/components/webhookendpoint.d.ts.map +1 -1
  176. package/dist/commonjs/models/components/webhookendpoint.js.map +1 -1
  177. package/dist/commonjs/models/operations/createinvoice.d.ts +106 -106
  178. package/dist/commonjs/models/operations/createinvoice.d.ts.map +1 -1
  179. package/dist/commonjs/models/operations/createinvoice.js +46 -46
  180. package/dist/commonjs/models/operations/createinvoice.js.map +1 -1
  181. package/dist/commonjs/models/operations/createorupdatebcr.d.ts +20 -20
  182. package/dist/commonjs/models/operations/createorupdatebcr.d.ts.map +1 -1
  183. package/dist/commonjs/models/operations/createorupdatebcr.js.map +1 -1
  184. package/dist/commonjs/models/operations/index.d.ts +4 -0
  185. package/dist/commonjs/models/operations/index.d.ts.map +1 -1
  186. package/dist/commonjs/models/operations/index.js +4 -0
  187. package/dist/commonjs/models/operations/index.js.map +1 -1
  188. package/dist/commonjs/models/operations/listfeed.d.ts +166 -0
  189. package/dist/commonjs/models/operations/listfeed.d.ts.map +1 -0
  190. package/dist/commonjs/models/operations/listfeed.js +197 -0
  191. package/dist/commonjs/models/operations/listfeed.js.map +1 -0
  192. package/dist/commonjs/models/operations/listlocations.d.ts +148 -0
  193. package/dist/commonjs/models/operations/listlocations.d.ts.map +1 -0
  194. package/dist/commonjs/models/operations/listlocations.js +191 -0
  195. package/dist/commonjs/models/operations/listlocations.js.map +1 -0
  196. package/dist/commonjs/models/operations/listpendinginvitations.d.ts +136 -0
  197. package/dist/commonjs/models/operations/listpendinginvitations.d.ts.map +1 -0
  198. package/dist/commonjs/models/operations/listpendinginvitations.js +173 -0
  199. package/dist/commonjs/models/operations/listpendinginvitations.js.map +1 -0
  200. package/dist/commonjs/models/operations/liststandingappointments.d.ts +166 -0
  201. package/dist/commonjs/models/operations/liststandingappointments.d.ts.map +1 -0
  202. package/dist/commonjs/models/operations/liststandingappointments.js +197 -0
  203. package/dist/commonjs/models/operations/liststandingappointments.js.map +1 -0
  204. package/dist/commonjs/models/operations/listvendorinvoices.d.ts +20 -20
  205. package/dist/commonjs/models/operations/listvendorinvoices.d.ts.map +1 -1
  206. package/dist/commonjs/models/operations/listvendorinvoices.js.map +1 -1
  207. package/dist/commonjs/models/operations/securityzonecheckin.d.ts +22 -22
  208. package/dist/commonjs/models/operations/securityzonecheckin.d.ts.map +1 -1
  209. package/dist/commonjs/models/operations/securityzonecheckin.js +17 -17
  210. package/dist/commonjs/models/operations/securityzonecheckin.js.map +1 -1
  211. package/dist/commonjs/models/operations/senddownloadcode.d.ts +10 -10
  212. package/dist/commonjs/models/operations/senddownloadcode.d.ts.map +1 -1
  213. package/dist/commonjs/models/operations/senddownloadcode.js.map +1 -1
  214. package/dist/commonjs/models/operations/updateinvoice.d.ts +106 -106
  215. package/dist/commonjs/models/operations/updateinvoice.d.ts.map +1 -1
  216. package/dist/commonjs/models/operations/updateinvoice.js +47 -47
  217. package/dist/commonjs/models/operations/updateinvoice.js.map +1 -1
  218. package/dist/commonjs/models/operations/updatevendorcredentialdata.d.ts +22 -22
  219. package/dist/commonjs/models/operations/updatevendorcredentialdata.d.ts.map +1 -1
  220. package/dist/commonjs/models/operations/updatevendorcredentialdata.js.map +1 -1
  221. package/dist/commonjs/models/operations/updatevendordetails.d.ts +24 -24
  222. package/dist/commonjs/models/operations/updatevendordetails.d.ts.map +1 -1
  223. package/dist/commonjs/models/operations/updatevendordetails.js.map +1 -1
  224. package/dist/commonjs/models/operations/updatevendorscrubdetails.d.ts +21 -21
  225. package/dist/commonjs/models/operations/updatevendorscrubdetails.d.ts.map +1 -1
  226. package/dist/commonjs/models/operations/updatevendorscrubdetails.js.map +1 -1
  227. package/dist/commonjs/react-query/eventsListFeed.d.ts +111 -0
  228. package/dist/commonjs/react-query/eventsListFeed.d.ts.map +1 -0
  229. package/dist/commonjs/react-query/eventsListFeed.js +174 -0
  230. package/dist/commonjs/react-query/eventsListFeed.js.map +1 -0
  231. package/dist/commonjs/react-query/eventsListLocations.d.ts +84 -0
  232. package/dist/commonjs/react-query/eventsListLocations.d.ts.map +1 -0
  233. package/dist/commonjs/react-query/eventsListLocations.js +161 -0
  234. package/dist/commonjs/react-query/eventsListLocations.js.map +1 -0
  235. package/dist/commonjs/react-query/eventsListPendingInvitations.d.ts +93 -0
  236. package/dist/commonjs/react-query/eventsListPendingInvitations.d.ts.map +1 -0
  237. package/dist/commonjs/react-query/eventsListPendingInvitations.js +171 -0
  238. package/dist/commonjs/react-query/eventsListPendingInvitations.js.map +1 -0
  239. package/dist/commonjs/react-query/eventsListStandingAppointments.d.ts +111 -0
  240. package/dist/commonjs/react-query/eventsListStandingAppointments.d.ts.map +1 -0
  241. package/dist/commonjs/react-query/eventsListStandingAppointments.js +183 -0
  242. package/dist/commonjs/react-query/eventsListStandingAppointments.js.map +1 -0
  243. package/dist/commonjs/react-query/index.d.ts +4 -0
  244. package/dist/commonjs/react-query/index.d.ts.map +1 -1
  245. package/dist/commonjs/react-query/index.js +4 -0
  246. package/dist/commonjs/react-query/index.js.map +1 -1
  247. package/dist/commonjs/sdk/events.d.ts +36 -0
  248. package/dist/commonjs/sdk/events.d.ts.map +1 -1
  249. package/dist/commonjs/sdk/events.js +40 -0
  250. package/dist/commonjs/sdk/events.js.map +1 -1
  251. package/dist/esm/__tests__/events.test.js +124 -0
  252. package/dist/esm/__tests__/events.test.js.map +1 -1
  253. package/dist/esm/__tests__/zones.test.js +4 -16
  254. package/dist/esm/__tests__/zones.test.js.map +1 -1
  255. package/dist/esm/admin-funcs/doAdmin.d.ts +4 -0
  256. package/dist/esm/admin-funcs/doAdmin.d.ts.map +1 -1
  257. package/dist/esm/admin-funcs/doAdmin.js +61 -0
  258. package/dist/esm/admin-funcs/doAdmin.js.map +1 -1
  259. package/dist/esm/admin-funcs/subscriptionFinishInvoice.d.ts +7 -0
  260. package/dist/esm/admin-funcs/subscriptionFinishInvoice.d.ts.map +1 -0
  261. package/dist/esm/admin-funcs/subscriptionFinishInvoice.js +6 -0
  262. package/dist/esm/admin-funcs/subscriptionFinishInvoice.js.map +1 -0
  263. package/dist/esm/admin-funcs/subscriptionFinishScreeningQuestions.d.ts +6 -0
  264. package/dist/esm/admin-funcs/subscriptionFinishScreeningQuestions.d.ts.map +1 -0
  265. package/dist/esm/admin-funcs/subscriptionFinishScreeningQuestions.js +6 -0
  266. package/dist/esm/admin-funcs/subscriptionFinishScreeningQuestions.js.map +1 -0
  267. package/dist/esm/admin-funcs/subscriptionGetFacilities.d.ts +6 -0
  268. package/dist/esm/admin-funcs/subscriptionGetFacilities.d.ts.map +1 -0
  269. package/dist/esm/admin-funcs/subscriptionGetFacilities.js +6 -0
  270. package/dist/esm/admin-funcs/subscriptionGetFacilities.js.map +1 -0
  271. package/dist/esm/admin-funcs/subscriptionGetInvoice.d.ts +7 -0
  272. package/dist/esm/admin-funcs/subscriptionGetInvoice.d.ts.map +1 -0
  273. package/dist/esm/admin-funcs/subscriptionGetInvoice.js +6 -0
  274. package/dist/esm/admin-funcs/subscriptionGetInvoice.js.map +1 -0
  275. package/dist/esm/admin-funcs/subscriptionGetPaymentProfile.d.ts +6 -0
  276. package/dist/esm/admin-funcs/subscriptionGetPaymentProfile.d.ts.map +1 -0
  277. package/dist/esm/admin-funcs/subscriptionGetPaymentProfile.js +6 -0
  278. package/dist/esm/admin-funcs/subscriptionGetPaymentProfile.js.map +1 -0
  279. package/dist/esm/admin-funcs/subscriptionGetPlans.d.ts +6 -0
  280. package/dist/esm/admin-funcs/subscriptionGetPlans.d.ts.map +1 -0
  281. package/dist/esm/admin-funcs/subscriptionGetPlans.js +6 -0
  282. package/dist/esm/admin-funcs/subscriptionGetPlans.js.map +1 -0
  283. package/dist/esm/admin-funcs/subscriptionGetScreeningQuestionsNextQuestion.d.ts +7 -0
  284. package/dist/esm/admin-funcs/subscriptionGetScreeningQuestionsNextQuestion.d.ts.map +1 -0
  285. package/dist/esm/admin-funcs/subscriptionGetScreeningQuestionsNextQuestion.js +6 -0
  286. package/dist/esm/admin-funcs/subscriptionGetScreeningQuestionsNextQuestion.js.map +1 -0
  287. package/dist/esm/admin-funcs/subscriptionGetScreeningQuestionsPreviousQuestion.d.ts +7 -0
  288. package/dist/esm/admin-funcs/subscriptionGetScreeningQuestionsPreviousQuestion.d.ts.map +1 -0
  289. package/dist/esm/admin-funcs/subscriptionGetScreeningQuestionsPreviousQuestion.js +6 -0
  290. package/dist/esm/admin-funcs/subscriptionGetScreeningQuestionsPreviousQuestion.js.map +1 -0
  291. package/dist/esm/admin-funcs/subscriptionGetSummary.d.ts +6 -0
  292. package/dist/esm/admin-funcs/subscriptionGetSummary.d.ts.map +1 -0
  293. package/dist/esm/admin-funcs/subscriptionGetSummary.js +6 -0
  294. package/dist/esm/admin-funcs/subscriptionGetSummary.js.map +1 -0
  295. package/dist/esm/admin-funcs/subscriptionGetVendorTypes.d.ts +6 -0
  296. package/dist/esm/admin-funcs/subscriptionGetVendorTypes.d.ts.map +1 -0
  297. package/dist/esm/admin-funcs/subscriptionGetVendorTypes.js +6 -0
  298. package/dist/esm/admin-funcs/subscriptionGetVendorTypes.js.map +1 -0
  299. package/dist/esm/admin-funcs/subscriptionUpdateFacilities.d.ts +7 -0
  300. package/dist/esm/admin-funcs/subscriptionUpdateFacilities.d.ts.map +1 -0
  301. package/dist/esm/admin-funcs/subscriptionUpdateFacilities.js +6 -0
  302. package/dist/esm/admin-funcs/subscriptionUpdateFacilities.js.map +1 -0
  303. package/dist/esm/admin-funcs/subscriptionUpdatePaymentProfile.d.ts +23 -0
  304. package/dist/esm/admin-funcs/subscriptionUpdatePaymentProfile.d.ts.map +1 -0
  305. package/dist/esm/admin-funcs/subscriptionUpdatePaymentProfile.js +6 -0
  306. package/dist/esm/admin-funcs/subscriptionUpdatePaymentProfile.js.map +1 -0
  307. package/dist/esm/admin-funcs/subscriptionUpdatePlan.d.ts +7 -0
  308. package/dist/esm/admin-funcs/subscriptionUpdatePlan.d.ts.map +1 -0
  309. package/dist/esm/admin-funcs/subscriptionUpdatePlan.js +6 -0
  310. package/dist/esm/admin-funcs/subscriptionUpdatePlan.js.map +1 -0
  311. package/dist/esm/admin-funcs/subscriptionUpdateScreeningResponse.d.ts +10 -0
  312. package/dist/esm/admin-funcs/subscriptionUpdateScreeningResponse.d.ts.map +1 -0
  313. package/dist/esm/admin-funcs/subscriptionUpdateScreeningResponse.js +6 -0
  314. package/dist/esm/admin-funcs/subscriptionUpdateScreeningResponse.js.map +1 -0
  315. package/dist/esm/admin-funcs/subscriptionUpdateVendorType.d.ts +7 -0
  316. package/dist/esm/admin-funcs/subscriptionUpdateVendorType.d.ts.map +1 -0
  317. package/dist/esm/admin-funcs/subscriptionUpdateVendorType.js +6 -0
  318. package/dist/esm/admin-funcs/subscriptionUpdateVendorType.js.map +1 -0
  319. package/dist/esm/funcs/eventsListFeed.d.ts +21 -0
  320. package/dist/esm/funcs/eventsListFeed.d.ts.map +1 -0
  321. package/dist/esm/funcs/eventsListFeed.js +130 -0
  322. package/dist/esm/funcs/eventsListFeed.js.map +1 -0
  323. package/dist/esm/funcs/eventsListLocations.d.ts +21 -0
  324. package/dist/esm/funcs/eventsListLocations.d.ts.map +1 -0
  325. package/dist/esm/funcs/eventsListLocations.js +123 -0
  326. package/dist/esm/funcs/eventsListLocations.js.map +1 -0
  327. package/dist/esm/funcs/eventsListPendingInvitations.d.ts +21 -0
  328. package/dist/esm/funcs/eventsListPendingInvitations.d.ts.map +1 -0
  329. package/dist/esm/funcs/eventsListPendingInvitations.js +126 -0
  330. package/dist/esm/funcs/eventsListPendingInvitations.js.map +1 -0
  331. package/dist/esm/funcs/eventsListStandingAppointments.d.ts +21 -0
  332. package/dist/esm/funcs/eventsListStandingAppointments.d.ts.map +1 -0
  333. package/dist/esm/funcs/eventsListStandingAppointments.js +132 -0
  334. package/dist/esm/funcs/eventsListStandingAppointments.js.map +1 -0
  335. package/dist/esm/index.extras.d.ts +32 -0
  336. package/dist/esm/index.extras.d.ts.map +1 -1
  337. package/dist/esm/index.extras.js +34 -1
  338. package/dist/esm/index.extras.js.map +1 -1
  339. package/dist/esm/lib/config.d.ts +3 -3
  340. package/dist/esm/lib/config.js +3 -3
  341. package/dist/esm/mcp-server/mcp-server.js +1 -1
  342. package/dist/esm/mcp-server/server.d.ts.map +1 -1
  343. package/dist/esm/mcp-server/server.js +9 -1
  344. package/dist/esm/mcp-server/server.js.map +1 -1
  345. package/dist/esm/mcp-server/tools/eventsListFeed.d.ts +8 -0
  346. package/dist/esm/mcp-server/tools/eventsListFeed.d.ts.map +1 -0
  347. package/dist/esm/mcp-server/tools/eventsListFeed.js +28 -0
  348. package/dist/esm/mcp-server/tools/eventsListFeed.js.map +1 -0
  349. package/dist/esm/mcp-server/tools/eventsListLocations.d.ts +8 -0
  350. package/dist/esm/mcp-server/tools/eventsListLocations.d.ts.map +1 -0
  351. package/dist/esm/mcp-server/tools/eventsListLocations.js +28 -0
  352. package/dist/esm/mcp-server/tools/eventsListLocations.js.map +1 -0
  353. package/dist/esm/mcp-server/tools/eventsListPendingInvitations.d.ts +8 -0
  354. package/dist/esm/mcp-server/tools/eventsListPendingInvitations.d.ts.map +1 -0
  355. package/dist/esm/mcp-server/tools/eventsListPendingInvitations.js +28 -0
  356. package/dist/esm/mcp-server/tools/eventsListPendingInvitations.js.map +1 -0
  357. package/dist/esm/mcp-server/tools/eventsListStandingAppointments.d.ts +8 -0
  358. package/dist/esm/mcp-server/tools/eventsListStandingAppointments.d.ts.map +1 -0
  359. package/dist/esm/mcp-server/tools/eventsListStandingAppointments.js +28 -0
  360. package/dist/esm/mcp-server/tools/eventsListStandingAppointments.js.map +1 -0
  361. package/dist/esm/models/components/backgroundcheckresult.d.ts +27 -27
  362. package/dist/esm/models/components/backgroundcheckresult.d.ts.map +1 -1
  363. package/dist/esm/models/components/backgroundcheckresult.js.map +1 -1
  364. package/dist/esm/models/components/contact.d.ts +25 -25
  365. package/dist/esm/models/components/contact.d.ts.map +1 -1
  366. package/dist/esm/models/components/contact.js +16 -16
  367. package/dist/esm/models/components/contact.js.map +1 -1
  368. package/dist/esm/models/components/credential.d.ts +25 -25
  369. package/dist/esm/models/components/credential.d.ts.map +1 -1
  370. package/dist/esm/models/components/credential.js.map +1 -1
  371. package/dist/esm/models/components/credit.d.ts +10 -10
  372. package/dist/esm/models/components/credit.d.ts.map +1 -1
  373. package/dist/esm/models/components/credit.js.map +1 -1
  374. package/dist/esm/models/components/datarequest.d.ts +21 -21
  375. package/dist/esm/models/components/datarequest.d.ts.map +1 -1
  376. package/dist/esm/models/components/datarequest.js.map +1 -1
  377. package/dist/esm/models/components/facility.d.ts +25 -25
  378. package/dist/esm/models/components/facility.d.ts.map +1 -1
  379. package/dist/esm/models/components/facility.js +15 -15
  380. package/dist/esm/models/components/facility.js.map +1 -1
  381. package/dist/esm/models/components/feed.d.ts +42 -0
  382. package/dist/esm/models/components/feed.d.ts.map +1 -0
  383. package/dist/esm/models/components/feed.js +51 -0
  384. package/dist/esm/models/components/feed.js.map +1 -0
  385. package/dist/esm/models/components/index.d.ts +3 -0
  386. package/dist/esm/models/components/index.d.ts.map +1 -1
  387. package/dist/esm/models/components/index.js +3 -0
  388. package/dist/esm/models/components/index.js.map +1 -1
  389. package/dist/esm/models/components/mfarequiredresponse.d.ts +20 -20
  390. package/dist/esm/models/components/mfarequiredresponse.d.ts.map +1 -1
  391. package/dist/esm/models/components/mfarequiredresponse.js.map +1 -1
  392. package/dist/esm/models/components/passwordrequiredresponse.d.ts +11 -11
  393. package/dist/esm/models/components/passwordrequiredresponse.d.ts.map +1 -1
  394. package/dist/esm/models/components/passwordrequiredresponse.js.map +1 -1
  395. package/dist/esm/models/components/pendinginvitation.d.ts +80 -0
  396. package/dist/esm/models/components/pendinginvitation.d.ts.map +1 -0
  397. package/dist/esm/models/components/pendinginvitation.js +90 -0
  398. package/dist/esm/models/components/pendinginvitation.js.map +1 -0
  399. package/dist/esm/models/components/samlloginrequiredresponse.d.ts +18 -18
  400. package/dist/esm/models/components/samlloginrequiredresponse.d.ts.map +1 -1
  401. package/dist/esm/models/components/samlloginrequiredresponse.js.map +1 -1
  402. package/dist/esm/models/components/standingappointment.d.ts +46 -0
  403. package/dist/esm/models/components/standingappointment.d.ts.map +1 -0
  404. package/dist/esm/models/components/standingappointment.js +54 -0
  405. package/dist/esm/models/components/standingappointment.js.map +1 -0
  406. package/dist/esm/models/components/user.d.ts +65 -65
  407. package/dist/esm/models/components/user.d.ts.map +1 -1
  408. package/dist/esm/models/components/user.js +16 -16
  409. package/dist/esm/models/components/user.js.map +1 -1
  410. package/dist/esm/models/components/userlocation.d.ts +19 -19
  411. package/dist/esm/models/components/userlocation.d.ts.map +1 -1
  412. package/dist/esm/models/components/userlocation.js.map +1 -1
  413. package/dist/esm/models/components/vendor.d.ts +50 -5
  414. package/dist/esm/models/components/vendor.d.ts.map +1 -1
  415. package/dist/esm/models/components/vendor.js +62 -2
  416. package/dist/esm/models/components/vendor.js.map +1 -1
  417. package/dist/esm/models/components/vendorcredentialdatarequest.d.ts +22 -22
  418. package/dist/esm/models/components/vendorcredentialdatarequest.d.ts.map +1 -1
  419. package/dist/esm/models/components/vendorcredentialdatarequest.js +15 -15
  420. package/dist/esm/models/components/vendorcredentialdatarequest.js.map +1 -1
  421. package/dist/esm/models/components/webhookendpoint.d.ts +18 -18
  422. package/dist/esm/models/components/webhookendpoint.d.ts.map +1 -1
  423. package/dist/esm/models/components/webhookendpoint.js.map +1 -1
  424. package/dist/esm/models/operations/createinvoice.d.ts +106 -106
  425. package/dist/esm/models/operations/createinvoice.d.ts.map +1 -1
  426. package/dist/esm/models/operations/createinvoice.js +45 -45
  427. package/dist/esm/models/operations/createinvoice.js.map +1 -1
  428. package/dist/esm/models/operations/createorupdatebcr.d.ts +20 -20
  429. package/dist/esm/models/operations/createorupdatebcr.d.ts.map +1 -1
  430. package/dist/esm/models/operations/createorupdatebcr.js.map +1 -1
  431. package/dist/esm/models/operations/index.d.ts +4 -0
  432. package/dist/esm/models/operations/index.d.ts.map +1 -1
  433. package/dist/esm/models/operations/index.js +4 -0
  434. package/dist/esm/models/operations/index.js.map +1 -1
  435. package/dist/esm/models/operations/listfeed.d.ts +166 -0
  436. package/dist/esm/models/operations/listfeed.d.ts.map +1 -0
  437. package/dist/esm/models/operations/listfeed.js +155 -0
  438. package/dist/esm/models/operations/listfeed.js.map +1 -0
  439. package/dist/esm/models/operations/listlocations.d.ts +148 -0
  440. package/dist/esm/models/operations/listlocations.d.ts.map +1 -0
  441. package/dist/esm/models/operations/listlocations.js +147 -0
  442. package/dist/esm/models/operations/listlocations.js.map +1 -0
  443. package/dist/esm/models/operations/listpendinginvitations.d.ts +136 -0
  444. package/dist/esm/models/operations/listpendinginvitations.d.ts.map +1 -0
  445. package/dist/esm/models/operations/listpendinginvitations.js +131 -0
  446. package/dist/esm/models/operations/listpendinginvitations.js.map +1 -0
  447. package/dist/esm/models/operations/liststandingappointments.d.ts +166 -0
  448. package/dist/esm/models/operations/liststandingappointments.d.ts.map +1 -0
  449. package/dist/esm/models/operations/liststandingappointments.js +155 -0
  450. package/dist/esm/models/operations/liststandingappointments.js.map +1 -0
  451. package/dist/esm/models/operations/listvendorinvoices.d.ts +20 -20
  452. package/dist/esm/models/operations/listvendorinvoices.d.ts.map +1 -1
  453. package/dist/esm/models/operations/listvendorinvoices.js.map +1 -1
  454. package/dist/esm/models/operations/securityzonecheckin.d.ts +22 -22
  455. package/dist/esm/models/operations/securityzonecheckin.d.ts.map +1 -1
  456. package/dist/esm/models/operations/securityzonecheckin.js +16 -16
  457. package/dist/esm/models/operations/securityzonecheckin.js.map +1 -1
  458. package/dist/esm/models/operations/senddownloadcode.d.ts +10 -10
  459. package/dist/esm/models/operations/senddownloadcode.d.ts.map +1 -1
  460. package/dist/esm/models/operations/senddownloadcode.js.map +1 -1
  461. package/dist/esm/models/operations/updateinvoice.d.ts +106 -106
  462. package/dist/esm/models/operations/updateinvoice.d.ts.map +1 -1
  463. package/dist/esm/models/operations/updateinvoice.js +46 -46
  464. package/dist/esm/models/operations/updateinvoice.js.map +1 -1
  465. package/dist/esm/models/operations/updatevendorcredentialdata.d.ts +22 -22
  466. package/dist/esm/models/operations/updatevendorcredentialdata.d.ts.map +1 -1
  467. package/dist/esm/models/operations/updatevendorcredentialdata.js.map +1 -1
  468. package/dist/esm/models/operations/updatevendordetails.d.ts +24 -24
  469. package/dist/esm/models/operations/updatevendordetails.d.ts.map +1 -1
  470. package/dist/esm/models/operations/updatevendordetails.js.map +1 -1
  471. package/dist/esm/models/operations/updatevendorscrubdetails.d.ts +21 -21
  472. package/dist/esm/models/operations/updatevendorscrubdetails.d.ts.map +1 -1
  473. package/dist/esm/models/operations/updatevendorscrubdetails.js.map +1 -1
  474. package/dist/esm/react-query/eventsListFeed.d.ts +111 -0
  475. package/dist/esm/react-query/eventsListFeed.d.ts.map +1 -0
  476. package/dist/esm/react-query/eventsListFeed.js +161 -0
  477. package/dist/esm/react-query/eventsListFeed.js.map +1 -0
  478. package/dist/esm/react-query/eventsListLocations.d.ts +84 -0
  479. package/dist/esm/react-query/eventsListLocations.d.ts.map +1 -0
  480. package/dist/esm/react-query/eventsListLocations.js +148 -0
  481. package/dist/esm/react-query/eventsListLocations.js.map +1 -0
  482. package/dist/esm/react-query/eventsListPendingInvitations.d.ts +93 -0
  483. package/dist/esm/react-query/eventsListPendingInvitations.d.ts.map +1 -0
  484. package/dist/esm/react-query/eventsListPendingInvitations.js +158 -0
  485. package/dist/esm/react-query/eventsListPendingInvitations.js.map +1 -0
  486. package/dist/esm/react-query/eventsListStandingAppointments.d.ts +111 -0
  487. package/dist/esm/react-query/eventsListStandingAppointments.d.ts.map +1 -0
  488. package/dist/esm/react-query/eventsListStandingAppointments.js +170 -0
  489. package/dist/esm/react-query/eventsListStandingAppointments.js.map +1 -0
  490. package/dist/esm/react-query/index.d.ts +4 -0
  491. package/dist/esm/react-query/index.d.ts.map +1 -1
  492. package/dist/esm/react-query/index.js +4 -0
  493. package/dist/esm/react-query/index.js.map +1 -1
  494. package/dist/esm/sdk/events.d.ts +36 -0
  495. package/dist/esm/sdk/events.d.ts.map +1 -1
  496. package/dist/esm/sdk/events.js +40 -0
  497. package/dist/esm/sdk/events.js.map +1 -1
  498. package/examples/package-lock.json +6 -5
  499. package/jsr.json +1 -1
  500. package/package.json +6 -6
  501. package/src/__tests__/events.test.ts +136 -0
  502. package/src/__tests__/zones.test.ts +4 -16
  503. package/src/admin-funcs/doAdmin.ts +111 -0
  504. package/src/admin-funcs/subscriptionFinishInvoice.ts +14 -0
  505. package/src/admin-funcs/subscriptionFinishScreeningQuestions.ts +13 -0
  506. package/src/admin-funcs/subscriptionGetFacilities.ts +13 -0
  507. package/src/admin-funcs/subscriptionGetInvoice.ts +14 -0
  508. package/src/admin-funcs/subscriptionGetPaymentProfile.ts +13 -0
  509. package/src/admin-funcs/subscriptionGetPlans.ts +13 -0
  510. package/src/admin-funcs/subscriptionGetScreeningQuestionsNextQuestion.ts +14 -0
  511. package/src/admin-funcs/subscriptionGetScreeningQuestionsPreviousQuestion.ts +14 -0
  512. package/src/admin-funcs/subscriptionGetSummary.ts +13 -0
  513. package/src/admin-funcs/subscriptionGetVendorTypes.ts +13 -0
  514. package/src/admin-funcs/subscriptionUpdateFacilities.ts +14 -0
  515. package/src/admin-funcs/subscriptionUpdatePaymentProfile.ts +30 -0
  516. package/src/admin-funcs/subscriptionUpdatePlan.ts +14 -0
  517. package/src/admin-funcs/subscriptionUpdateScreeningResponse.ts +17 -0
  518. package/src/admin-funcs/subscriptionUpdateVendorType.ts +14 -0
  519. package/src/funcs/eventsListFeed.ts +257 -0
  520. package/src/funcs/eventsListLocations.ts +250 -0
  521. package/src/funcs/eventsListPendingInvitations.ts +254 -0
  522. package/src/funcs/eventsListStandingAppointments.ts +260 -0
  523. package/src/index.extras.ts +36 -1
  524. package/src/lib/config.ts +3 -3
  525. package/src/mcp-server/mcp-server.ts +1 -1
  526. package/src/mcp-server/server.ts +9 -1
  527. package/src/mcp-server/tools/eventsListFeed.ts +37 -0
  528. package/src/mcp-server/tools/eventsListLocations.ts +37 -0
  529. package/src/mcp-server/tools/eventsListPendingInvitations.ts +37 -0
  530. package/src/mcp-server/tools/eventsListStandingAppointments.ts +38 -0
  531. package/src/models/components/backgroundcheckresult.ts +31 -31
  532. package/src/models/components/contact.ts +25 -25
  533. package/src/models/components/credential.ts +26 -26
  534. package/src/models/components/credit.ts +11 -11
  535. package/src/models/components/datarequest.ts +19 -19
  536. package/src/models/components/facility.ts +27 -27
  537. package/src/models/components/feed.ts +88 -0
  538. package/src/models/components/index.ts +3 -0
  539. package/src/models/components/mfarequiredresponse.ts +21 -21
  540. package/src/models/components/passwordrequiredresponse.ts +12 -12
  541. package/src/models/components/pendinginvitation.ts +176 -0
  542. package/src/models/components/samlloginrequiredresponse.ts +21 -21
  543. package/src/models/components/standingappointment.ts +106 -0
  544. package/src/models/components/user.ts +50 -50
  545. package/src/models/components/userlocation.ts +19 -19
  546. package/src/models/components/vendor.ts +124 -7
  547. package/src/models/components/vendorcredentialdatarequest.ts +28 -28
  548. package/src/models/components/webhookendpoint.ts +21 -21
  549. package/src/models/operations/createinvoice.ts +114 -114
  550. package/src/models/operations/createorupdatebcr.ts +21 -21
  551. package/src/models/operations/index.ts +4 -0
  552. package/src/models/operations/listfeed.ts +340 -0
  553. package/src/models/operations/listlocations.ts +316 -0
  554. package/src/models/operations/listpendinginvitations.ts +296 -0
  555. package/src/models/operations/liststandingappointments.ts +351 -0
  556. package/src/models/operations/listvendorinvoices.ts +21 -21
  557. package/src/models/operations/securityzonecheckin.ts +24 -24
  558. package/src/models/operations/senddownloadcode.ts +12 -12
  559. package/src/models/operations/updateinvoice.ts +124 -124
  560. package/src/models/operations/updatevendorcredentialdata.ts +24 -24
  561. package/src/models/operations/updatevendordetails.ts +21 -21
  562. package/src/models/operations/updatevendorscrubdetails.ts +23 -23
  563. package/src/react-query/eventsListFeed.ts +366 -0
  564. package/src/react-query/eventsListLocations.ts +342 -0
  565. package/src/react-query/eventsListPendingInvitations.ts +367 -0
  566. package/src/react-query/eventsListStandingAppointments.ts +400 -0
  567. package/src/react-query/index.ts +4 -0
  568. 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.12",
34164
- genVersion: "2.667.0",
34165
- userAgent: "speakeasy-sdk/typescript 0.39.12 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(() => {
@@ -39260,7 +39393,7 @@ var init_vendorjobtitle = __esm(() => {
39260
39393
  });
39261
39394
 
39262
39395
  // src/models/components/vendor.ts
39263
- var One$inboundSchema, One$outboundSchema, One$, VendorUser$inboundSchema, VendorUser$outboundSchema, VendorUser$, VendorJob$inboundSchema, VendorJob$outboundSchema, VendorJob$, VendorVendorType$inboundSchema, VendorVendorType$outboundSchema, VendorVendorType$, Vendor22$inboundSchema, Vendor22$outboundSchema, Vendor22$, VendorPaymentProfile2$inboundSchema, VendorPaymentProfile2$outboundSchema, VendorPaymentProfile2$, VendorPaymentProfile1$inboundSchema, VendorPaymentProfile1$outboundSchema, VendorPaymentProfile1$, PaymentProfilePaymentProfile$inboundSchema, PaymentProfilePaymentProfile$outboundSchema, PaymentProfilePaymentProfile$, VendorPaymentProfile$inboundSchema, VendorPaymentProfile$outboundSchema, VendorPaymentProfile$, PaymentResponsibility$inboundSchema, PaymentResponsibility$outboundSchema, PaymentResponsibility$, TargetFacilities$inboundSchema, TargetFacilities$outboundSchema, TargetFacilities$, PendingInvoice$inboundSchema, PendingInvoice$outboundSchema, PendingInvoice$, Vendor$inboundSchema, Vendor$outboundSchema, Vendor$;
39396
+ var One$inboundSchema, One$outboundSchema, One$, VendorUser$inboundSchema, VendorUser$outboundSchema, VendorUser$, VendorJob$inboundSchema, VendorJob$outboundSchema, VendorJob$, VendorVendorType$inboundSchema, VendorVendorType$outboundSchema, VendorVendorType$, Vendor22$inboundSchema, Vendor22$outboundSchema, Vendor22$, VendorPaymentProfile2$inboundSchema, VendorPaymentProfile2$outboundSchema, VendorPaymentProfile2$, VendorPaymentProfile1$inboundSchema, VendorPaymentProfile1$outboundSchema, VendorPaymentProfile1$, PaymentProfilePaymentProfile$inboundSchema, PaymentProfilePaymentProfile$outboundSchema, PaymentProfilePaymentProfile$, VendorPaymentProfile$inboundSchema, VendorPaymentProfile$outboundSchema, VendorPaymentProfile$, CompanySummary$inboundSchema, CompanySummary$outboundSchema, CompanySummary$, VendorCompany$inboundSchema, VendorCompany$outboundSchema, VendorCompany$, PaymentResponsibility$inboundSchema, PaymentResponsibility$outboundSchema, PaymentResponsibility$, TargetFacilities$inboundSchema, TargetFacilities$outboundSchema, TargetFacilities$, PendingInvoice$inboundSchema, PendingInvoice$outboundSchema, PendingInvoice$, Vendor$inboundSchema, Vendor$outboundSchema, Vendor$;
39264
39397
  var init_vendor = __esm(() => {
39265
39398
  init_esm();
39266
39399
  init_primitives();
@@ -39421,6 +39554,30 @@ var init_vendor = __esm(() => {
39421
39554
  VendorPaymentProfile$.inboundSchema = VendorPaymentProfile$inboundSchema;
39422
39555
  VendorPaymentProfile$.outboundSchema = VendorPaymentProfile$outboundSchema;
39423
39556
  })(VendorPaymentProfile$ ||= {});
39557
+ CompanySummary$inboundSchema = objectType({
39558
+ id: stringType(),
39559
+ name: stringType().optional()
39560
+ });
39561
+ CompanySummary$outboundSchema = objectType({
39562
+ id: stringType(),
39563
+ name: stringType().optional()
39564
+ });
39565
+ ((CompanySummary$) => {
39566
+ CompanySummary$.inboundSchema = CompanySummary$inboundSchema;
39567
+ CompanySummary$.outboundSchema = CompanySummary$outboundSchema;
39568
+ })(CompanySummary$ ||= {});
39569
+ VendorCompany$inboundSchema = unionType([
39570
+ Company$inboundSchema,
39571
+ lazyType(() => CompanySummary$inboundSchema)
39572
+ ]);
39573
+ VendorCompany$outboundSchema = unionType([
39574
+ Company$outboundSchema,
39575
+ lazyType(() => CompanySummary$outboundSchema)
39576
+ ]);
39577
+ ((VendorCompany$) => {
39578
+ VendorCompany$.inboundSchema = VendorCompany$inboundSchema;
39579
+ VendorCompany$.outboundSchema = VendorCompany$outboundSchema;
39580
+ })(VendorCompany$ ||= {});
39424
39581
  PaymentResponsibility$inboundSchema = objectType({
39425
39582
  id: nullableType(numberType().int()).optional(),
39426
39583
  company_manager_id: nullableType(numberType().int()).optional(),
@@ -39539,7 +39696,10 @@ var init_vendor = __esm(() => {
39539
39696
  ])).optional(),
39540
39697
  primary_facility: nullableType(Facility$inboundSchema).optional(),
39541
39698
  primary_department: nullableType(Department$inboundSchema).optional(),
39542
- company: nullableType(Company$inboundSchema).optional(),
39699
+ company: nullableType(unionType([
39700
+ Company$inboundSchema,
39701
+ lazyType(() => CompanySummary$inboundSchema)
39702
+ ])).optional(),
39543
39703
  credentialing_subscription: nullableType(Subscription$inboundSchema).optional(),
39544
39704
  scrubs_subscription: nullableType(Subscription$inboundSchema).optional(),
39545
39705
  payment_responsibility: nullableType(lazyType(() => PaymentResponsibility$inboundSchema)).optional(),
@@ -39597,7 +39757,10 @@ var init_vendor = __esm(() => {
39597
39757
  ])).optional(),
39598
39758
  primaryFacility: nullableType(Facility$outboundSchema).optional(),
39599
39759
  primaryDepartment: nullableType(Department$outboundSchema).optional(),
39600
- company: nullableType(Company$outboundSchema).optional(),
39760
+ company: nullableType(unionType([
39761
+ Company$outboundSchema,
39762
+ lazyType(() => CompanySummary$outboundSchema)
39763
+ ])).optional(),
39601
39764
  credentialingSubscription: nullableType(Subscription$outboundSchema).optional(),
39602
39765
  scrubsSubscription: nullableType(Subscription$outboundSchema).optional(),
39603
39766
  paymentResponsibility: nullableType(lazyType(() => PaymentResponsibility$outboundSchema)).optional(),
@@ -39638,7 +39801,7 @@ var init_vendor = __esm(() => {
39638
39801
  });
39639
39802
 
39640
39803
  // src/models/components/user.ts
39641
- 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$;
39642
39805
  var init_user = __esm(() => {
39643
39806
  init_esm();
39644
39807
  init_primitives();
@@ -39668,6 +39831,12 @@ var init_user = __esm(() => {
39668
39831
  UserType$.inboundSchema = UserType$inboundSchema;
39669
39832
  UserType$.outboundSchema = UserType$outboundSchema;
39670
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$ ||= {});
39671
39840
  UserUser$inboundSchema = objectType({
39672
39841
  id: numberType().int(),
39673
39842
  first_name: nullableType(stringType()).optional(),
@@ -39714,12 +39883,6 @@ var init_user = __esm(() => {
39714
39883
  UserUser$.inboundSchema = UserUser$inboundSchema;
39715
39884
  UserUser$.outboundSchema = UserUser$outboundSchema;
39716
39885
  })(UserUser$ ||= {});
39717
- TokenType$inboundSchema = nativeEnumType(TokenType);
39718
- TokenType$outboundSchema = TokenType$inboundSchema;
39719
- ((TokenType$) => {
39720
- TokenType$.inboundSchema = TokenType$inboundSchema;
39721
- TokenType$.outboundSchema = TokenType$outboundSchema;
39722
- })(TokenType$ ||= {});
39723
39886
  UserToken$inboundSchema = objectType({
39724
39887
  token: stringType(),
39725
39888
  token_type: TokenType$inboundSchema.default("permanent")
@@ -40114,7 +40277,7 @@ var init_vendorcredentialsummary = __esm(() => {
40114
40277
  });
40115
40278
 
40116
40279
  // src/models/components/vendorcredentialdatarequest.ts
40117
- 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$;
40118
40281
  var init_vendorcredentialdatarequest = __esm(() => {
40119
40282
  init_esm();
40120
40283
  init_primitives();
@@ -40124,6 +40287,12 @@ var init_vendorcredentialdatarequest = __esm(() => {
40124
40287
  Requested: "Requested",
40125
40288
  Submitted: "Submitted"
40126
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$ ||= {});
40127
40296
  VendorCredentialDataRequestVendorCredential$inboundSchema = unionType([
40128
40297
  lazyType(() => VendorCredentialSummary$inboundSchema),
40129
40298
  numberType().int()
@@ -40142,12 +40311,6 @@ var init_vendorcredentialdatarequest = __esm(() => {
40142
40311
  VendorCredentialDataRequestDataRequest$.inboundSchema = VendorCredentialDataRequestDataRequest$inboundSchema;
40143
40312
  VendorCredentialDataRequestDataRequest$.outboundSchema = VendorCredentialDataRequestDataRequest$outboundSchema;
40144
40313
  })(VendorCredentialDataRequestDataRequest$ ||= {});
40145
- VendorCredentialDataRequestStatus$inboundSchema = nativeEnumType(VendorCredentialDataRequestStatus);
40146
- VendorCredentialDataRequestStatus$outboundSchema = VendorCredentialDataRequestStatus$inboundSchema;
40147
- ((VendorCredentialDataRequestStatus$) => {
40148
- VendorCredentialDataRequestStatus$.inboundSchema = VendorCredentialDataRequestStatus$inboundSchema;
40149
- VendorCredentialDataRequestStatus$.outboundSchema = VendorCredentialDataRequestStatus$outboundSchema;
40150
- })(VendorCredentialDataRequestStatus$ ||= {});
40151
40314
  VendorCredentialDataRequestFile$inboundSchema = objectType({
40152
40315
  file_name: nullableType(stringType()).optional(),
40153
40316
  content_type: nullableType(stringType()).optional(),
@@ -40667,6 +40830,7 @@ var init_components = __esm(() => {
40667
40830
  init_facilitystatus();
40668
40831
  init_facilitysummary();
40669
40832
  init_facilityvendortype();
40833
+ init_feed();
40670
40834
  init_financialstatus();
40671
40835
  init_handoff();
40672
40836
  init_imageset();
@@ -40679,12 +40843,14 @@ var init_components = __esm(() => {
40679
40843
  init_pager();
40680
40844
  init_passwordrequiredresponse();
40681
40845
  init_paymentprofile();
40846
+ init_pendinginvitation();
40682
40847
  init_product();
40683
40848
  init_productvariant();
40684
40849
  init_samlloginrequiredresponse();
40685
40850
  init_scantype();
40686
40851
  init_screeningresponse();
40687
40852
  init_security2();
40853
+ init_standingappointment();
40688
40854
  init_state();
40689
40855
  init_subscription();
40690
40856
  init_supervisor();
@@ -41202,7 +41368,7 @@ var init_createevent = __esm(() => {
41202
41368
  });
41203
41369
 
41204
41370
  // src/models/operations/createinvoice.ts
41205
- 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$;
41206
41372
  var init_createinvoice = __esm(() => {
41207
41373
  init_esm();
41208
41374
  init_primitives();
@@ -41233,6 +41399,24 @@ var init_createinvoice = __esm(() => {
41233
41399
  CreateInvoiceRequestBodyInvoicesPaymentHandler$.inboundSchema = CreateInvoiceRequestBodyInvoicesPaymentHandler$inboundSchema;
41234
41400
  CreateInvoiceRequestBodyInvoicesPaymentHandler$.outboundSchema = CreateInvoiceRequestBodyInvoicesPaymentHandler$outboundSchema;
41235
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$ ||= {});
41236
41420
  CreateInvoiceRequestBodyInvoicesLines$inboundSchema = objectType({
41237
41421
  variant_id: numberType().int(),
41238
41422
  unit_price: numberType().optional(),
@@ -41301,12 +41485,6 @@ var init_createinvoice = __esm(() => {
41301
41485
  Four$.inboundSchema = Four$inboundSchema;
41302
41486
  Four$.outboundSchema = Four$outboundSchema;
41303
41487
  })(Four$ ||= {});
41304
- CreateInvoiceRequestBodyPaymentHandler$inboundSchema = nativeEnumType(CreateInvoiceRequestBodyPaymentHandler);
41305
- CreateInvoiceRequestBodyPaymentHandler$outboundSchema = CreateInvoiceRequestBodyPaymentHandler$inboundSchema;
41306
- ((CreateInvoiceRequestBodyPaymentHandler$) => {
41307
- CreateInvoiceRequestBodyPaymentHandler$.inboundSchema = CreateInvoiceRequestBodyPaymentHandler$inboundSchema;
41308
- CreateInvoiceRequestBodyPaymentHandler$.outboundSchema = CreateInvoiceRequestBodyPaymentHandler$outboundSchema;
41309
- })(CreateInvoiceRequestBodyPaymentHandler$ ||= {});
41310
41488
  CreateInvoiceRequestBodyLines$inboundSchema = objectType({
41311
41489
  variant_id: numberType().int(),
41312
41490
  unit_price: numberType().optional(),
@@ -41375,12 +41553,6 @@ var init_createinvoice = __esm(() => {
41375
41553
  Three$.inboundSchema = Three$inboundSchema;
41376
41554
  Three$.outboundSchema = Three$outboundSchema;
41377
41555
  })(Three$ ||= {});
41378
- RequestBodyPaymentHandler$inboundSchema = nativeEnumType(RequestBodyPaymentHandler);
41379
- RequestBodyPaymentHandler$outboundSchema = RequestBodyPaymentHandler$inboundSchema;
41380
- ((RequestBodyPaymentHandler$) => {
41381
- RequestBodyPaymentHandler$.inboundSchema = RequestBodyPaymentHandler$inboundSchema;
41382
- RequestBodyPaymentHandler$.outboundSchema = RequestBodyPaymentHandler$outboundSchema;
41383
- })(RequestBodyPaymentHandler$ ||= {});
41384
41556
  RequestBodyLines$inboundSchema = objectType({
41385
41557
  variant_id: numberType().int(),
41386
41558
  unit_price: numberType().optional(),
@@ -41449,12 +41621,6 @@ var init_createinvoice = __esm(() => {
41449
41621
  RequestBody2$.inboundSchema = RequestBody2$inboundSchema;
41450
41622
  RequestBody2$.outboundSchema = RequestBody2$outboundSchema;
41451
41623
  })(RequestBody2$ ||= {});
41452
- PaymentHandler$inboundSchema = nativeEnumType(PaymentHandler);
41453
- PaymentHandler$outboundSchema = PaymentHandler$inboundSchema;
41454
- ((PaymentHandler$) => {
41455
- PaymentHandler$.inboundSchema = PaymentHandler$inboundSchema;
41456
- PaymentHandler$.outboundSchema = PaymentHandler$outboundSchema;
41457
- })(PaymentHandler$ ||= {});
41458
41624
  Lines$inboundSchema = objectType({
41459
41625
  variant_id: numberType().int(),
41460
41626
  unit_price: numberType().optional(),
@@ -42409,6 +42575,202 @@ var init_listallwebhookendpoints = __esm(() => {
42409
42575
  })(ListAllWebhookEndpointsListAllWebhookEndpointsOk$ ||= {});
42410
42576
  });
42411
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
+
42412
42774
  // src/models/operations/listorsearchcompanies.ts
42413
42775
  var ListOrSearchCompaniesRequest$inboundSchema, ListOrSearchCompaniesRequest$outboundSchema, ListOrSearchCompaniesRequest$, ListOrSearchCompaniesListOrSearchCompaniesOK$inboundSchema, ListOrSearchCompaniesListOrSearchCompaniesOK$outboundSchema, ListOrSearchCompaniesListOrSearchCompaniesOK$, ListOrSearchCompaniesResponse$inboundSchema, ListOrSearchCompaniesResponse$outboundSchema, ListOrSearchCompaniesResponse$;
42414
42776
  var init_listorsearchcompanies = __esm(() => {
@@ -42909,32 +43271,228 @@ var init_listorsearchvendorinvitees = __esm(() => {
42909
43271
  })(ListOrSearchVendorInviteesResponse$ ||= {});
42910
43272
  });
42911
43273
 
42912
- // src/models/operations/listsystems.ts
42913
- var ListSystemsRequest$inboundSchema, ListSystemsRequest$outboundSchema, ListSystemsRequest$, ListSystemsResponseBody$inboundSchema, ListSystemsResponseBody$outboundSchema, ListSystemsResponseBody$, ListSystemsResponse$inboundSchema, ListSystemsResponse$outboundSchema, ListSystemsResponse$;
42914
- 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(() => {
42915
43277
  init_esm();
42916
43278
  init_primitives();
42917
43279
  init_components();
42918
- ListSystemsRequest$inboundSchema = objectType({
43280
+ ListPendingInvitationsRequest$inboundSchema = objectType({
42919
43281
  sort: nullableType(stringType()).optional(),
42920
43282
  desc: Desc$inboundSchema.optional(),
42921
43283
  page: numberType().int().optional(),
42922
43284
  items_per_page: numberType().int().optional(),
42923
- name_like: stringType().optional(),
42924
- 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()
42925
43291
  }).transform((v2) => {
42926
43292
  return remap(v2, {
42927
43293
  items_per_page: "itemsPerPage",
42928
- 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"
42929
43300
  });
42930
43301
  });
42931
- ListSystemsRequest$outboundSchema = objectType({
43302
+ ListPendingInvitationsRequest$outboundSchema = objectType({
42932
43303
  sort: nullableType(stringType()).optional(),
42933
43304
  desc: Desc$outboundSchema.optional(),
42934
43305
  page: numberType().int().optional(),
42935
43306
  itemsPerPage: numberType().int().optional(),
42936
- nameLike: stringType().optional(),
42937
- 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()
43313
+ }).transform((v2) => {
43314
+ return remap(v2, {
43315
+ itemsPerPage: "items_per_page",
43316
+ facilityId: "facility_id",
43317
+ departmentId: "department_id",
43318
+ userId: "user_id",
43319
+ facilityIds: "facility_ids",
43320
+ departmentIds: "department_ids",
43321
+ userIds: "user_ids"
43322
+ });
43323
+ });
43324
+ ((ListPendingInvitationsRequest$) => {
43325
+ ListPendingInvitationsRequest$.inboundSchema = ListPendingInvitationsRequest$inboundSchema;
43326
+ ListPendingInvitationsRequest$.outboundSchema = ListPendingInvitationsRequest$outboundSchema;
43327
+ })(ListPendingInvitationsRequest$ ||= {});
43328
+ ListPendingInvitationsResponseBody$inboundSchema = objectType({
43329
+ pager: Pager$inboundSchema,
43330
+ items: arrayType(nullableType(PendingInvitation$inboundSchema))
43331
+ });
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()
42938
43496
  }).transform((v2) => {
42939
43497
  return remap(v2, {
42940
43498
  itemsPerPage: "items_per_page",
@@ -44224,7 +44782,7 @@ var init_rotateapikey = __esm(() => {
44224
44782
  });
44225
44783
 
44226
44784
  // src/models/operations/securityzonecheckin.ts
44227
- 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$;
44228
44786
  var init_securityzonecheckin = __esm(() => {
44229
44787
  init_esm();
44230
44788
  init_primitives();
@@ -44232,6 +44790,12 @@ var init_securityzonecheckin = __esm(() => {
44232
44790
  Requires2 = {
44233
44791
  CompleteCheckin: "complete_checkin"
44234
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 ||= {});
44235
44799
  Two$inboundSchema2 = objectType({
44236
44800
  qr_code: stringType(),
44237
44801
  zone_id: numberType().int(),
@@ -44385,12 +44949,6 @@ var init_securityzonecheckin = __esm(() => {
44385
44949
  SecurityZoneCheckinRequestBody$.inboundSchema = SecurityZoneCheckinRequestBody$inboundSchema;
44386
44950
  SecurityZoneCheckinRequestBody$.outboundSchema = SecurityZoneCheckinRequestBody$outboundSchema;
44387
44951
  })(SecurityZoneCheckinRequestBody$ ||= {});
44388
- Requires$inboundSchema2 = nativeEnumType(Requires2);
44389
- Requires$outboundSchema2 = Requires$inboundSchema2;
44390
- ((Requires$) => {
44391
- Requires$.inboundSchema = Requires$inboundSchema2;
44392
- Requires$.outboundSchema = Requires$outboundSchema2;
44393
- })(Requires$2 ||= {});
44394
44952
  Results$inboundSchema = objectType({
44395
44953
  has_valid_payment_profile: booleanType().optional(),
44396
44954
  subscription_expires: nullableType(stringType()).optional(),
@@ -44680,7 +45238,7 @@ var init_updateevent = __esm(() => {
44680
45238
  });
44681
45239
 
44682
45240
  // src/models/operations/updateinvoice.ts
44683
- 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$;
44684
45242
  var init_updateinvoice = __esm(() => {
44685
45243
  init_esm();
44686
45244
  init_primitives();
@@ -44711,6 +45269,24 @@ var init_updateinvoice = __esm(() => {
44711
45269
  UpdateInvoiceRequestBodyInvoicesRequest4PaymentHandler$.inboundSchema = UpdateInvoiceRequestBodyInvoicesRequest4PaymentHandler$inboundSchema;
44712
45270
  UpdateInvoiceRequestBodyInvoicesRequest4PaymentHandler$.outboundSchema = UpdateInvoiceRequestBodyInvoicesRequest4PaymentHandler$outboundSchema;
44713
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$ ||= {});
44714
45290
  UpdateInvoiceRequestBodyInvoicesRequest4Lines$inboundSchema = objectType({
44715
45291
  variant_id: numberType().int(),
44716
45292
  unit_price: numberType().optional(),
@@ -44779,12 +45355,6 @@ var init_updateinvoice = __esm(() => {
44779
45355
  RequestBody4$.inboundSchema = RequestBody4$inboundSchema;
44780
45356
  RequestBody4$.outboundSchema = RequestBody4$outboundSchema;
44781
45357
  })(RequestBody4$ ||= {});
44782
- UpdateInvoiceRequestBodyInvoicesRequestPaymentHandler$inboundSchema = nativeEnumType(UpdateInvoiceRequestBodyInvoicesRequestPaymentHandler);
44783
- UpdateInvoiceRequestBodyInvoicesRequestPaymentHandler$outboundSchema = UpdateInvoiceRequestBodyInvoicesRequestPaymentHandler$inboundSchema;
44784
- ((UpdateInvoiceRequestBodyInvoicesRequestPaymentHandler$) => {
44785
- UpdateInvoiceRequestBodyInvoicesRequestPaymentHandler$.inboundSchema = UpdateInvoiceRequestBodyInvoicesRequestPaymentHandler$inboundSchema;
44786
- UpdateInvoiceRequestBodyInvoicesRequestPaymentHandler$.outboundSchema = UpdateInvoiceRequestBodyInvoicesRequestPaymentHandler$outboundSchema;
44787
- })(UpdateInvoiceRequestBodyInvoicesRequestPaymentHandler$ ||= {});
44788
45358
  UpdateInvoiceRequestBodyInvoicesRequestLines$inboundSchema = objectType({
44789
45359
  variant_id: numberType().int(),
44790
45360
  unit_price: numberType().optional(),
@@ -44853,12 +45423,6 @@ var init_updateinvoice = __esm(() => {
44853
45423
  RequestBody3$.inboundSchema = RequestBody3$inboundSchema;
44854
45424
  RequestBody3$.outboundSchema = RequestBody3$outboundSchema;
44855
45425
  })(RequestBody3$ ||= {});
44856
- UpdateInvoiceRequestBodyInvoicesPaymentHandler$inboundSchema = nativeEnumType(UpdateInvoiceRequestBodyInvoicesPaymentHandler);
44857
- UpdateInvoiceRequestBodyInvoicesPaymentHandler$outboundSchema = UpdateInvoiceRequestBodyInvoicesPaymentHandler$inboundSchema;
44858
- ((UpdateInvoiceRequestBodyInvoicesPaymentHandler$) => {
44859
- UpdateInvoiceRequestBodyInvoicesPaymentHandler$.inboundSchema = UpdateInvoiceRequestBodyInvoicesPaymentHandler$inboundSchema;
44860
- UpdateInvoiceRequestBodyInvoicesPaymentHandler$.outboundSchema = UpdateInvoiceRequestBodyInvoicesPaymentHandler$outboundSchema;
44861
- })(UpdateInvoiceRequestBodyInvoicesPaymentHandler$ ||= {});
44862
45426
  UpdateInvoiceRequestBodyInvoicesLines$inboundSchema = objectType({
44863
45427
  variant_id: numberType().int(),
44864
45428
  unit_price: numberType().optional(),
@@ -44927,12 +45491,6 @@ var init_updateinvoice = __esm(() => {
44927
45491
  UpdateInvoiceRequestBody2$.inboundSchema = UpdateInvoiceRequestBody2$inboundSchema;
44928
45492
  UpdateInvoiceRequestBody2$.outboundSchema = UpdateInvoiceRequestBody2$outboundSchema;
44929
45493
  })(UpdateInvoiceRequestBody2$ ||= {});
44930
- UpdateInvoiceRequestBodyPaymentHandler$inboundSchema = nativeEnumType(UpdateInvoiceRequestBodyPaymentHandler);
44931
- UpdateInvoiceRequestBodyPaymentHandler$outboundSchema = UpdateInvoiceRequestBodyPaymentHandler$inboundSchema;
44932
- ((UpdateInvoiceRequestBodyPaymentHandler$) => {
44933
- UpdateInvoiceRequestBodyPaymentHandler$.inboundSchema = UpdateInvoiceRequestBodyPaymentHandler$inboundSchema;
44934
- UpdateInvoiceRequestBodyPaymentHandler$.outboundSchema = UpdateInvoiceRequestBodyPaymentHandler$outboundSchema;
44935
- })(UpdateInvoiceRequestBodyPaymentHandler$ ||= {});
44936
45494
  UpdateInvoiceRequestBodyLines$inboundSchema = objectType({
44937
45495
  variant_id: numberType().int(),
44938
45496
  unit_price: numberType().optional(),
@@ -45567,6 +46125,8 @@ var init_operations = __esm(() => {
45567
46125
  init_getvendorsdetails();
45568
46126
  init_getwebhookendpoint();
45569
46127
  init_listallwebhookendpoints();
46128
+ init_listfeed();
46129
+ init_listlocations();
45570
46130
  init_listorsearchcompanies();
45571
46131
  init_listorsearchdepartmentcontacts();
45572
46132
  init_listorsearchdepartments();
@@ -45574,6 +46134,8 @@ var init_operations = __esm(() => {
45574
46134
  init_listorsearchsecurityzones();
45575
46135
  init_listorsearchsupportarticles();
45576
46136
  init_listorsearchvendorinvitees();
46137
+ init_listpendinginvitations();
46138
+ init_liststandingappointments();
45577
46139
  init_listsystems();
45578
46140
  init_listvendoradditionalfacilityfields();
45579
46141
  init_listvendorcredentialdatarequests();
@@ -46569,27 +47131,36 @@ Delete event for calendar`,
46569
47131
  };
46570
47132
  });
46571
47133
 
46572
- // src/funcs/eventsListOrSearchVendorInvitees.ts
46573
- function eventsListOrSearchVendorInvitees(client, request, options) {
47134
+ // src/funcs/eventsListFeed.ts
47135
+ function eventsListFeed(client, request, options) {
46574
47136
  return new APIPromise($do9(client, request, options));
46575
47137
  }
46576
47138
  async function $do9(client, request, options) {
46577
- 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");
46578
47140
  if (!parsed.ok) {
46579
47141
  return [haltIterator(parsed), { status: "invalid" }];
46580
47142
  }
46581
47143
  const payload = parsed.value;
46582
47144
  const body = null;
46583
- const path = pathToFunc("/events/vendor-invitees")();
46584
- const query = queryJoin(encodeFormQuery({
46585
- expand: payload.expand
46586
- }, { 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,
46587
47149
  desc: payload.desc,
47150
+ end_date: payload.end_date,
47151
+ facility_id: payload.facility_id,
47152
+ facility_ids: payload.facility_ids,
46588
47153
  items_per_page: payload.items_per_page,
46589
47154
  page: payload.page,
46590
- search: payload.search,
46591
- sort: payload.sort
46592
- }));
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
+ });
46593
47164
  const headers = new Headers(compactMap({
46594
47165
  Accept: "application/json"
46595
47166
  }));
@@ -46598,7 +47169,7 @@ async function $do9(client, request, options) {
46598
47169
  const context = {
46599
47170
  options: client._options,
46600
47171
  baseURL: options?.serverURL ?? client._baseURL ?? "",
46601
- operationID: "listOrSearchVendorInvitees",
47172
+ operationID: "listFeed",
46602
47173
  oAuth2Scopes: [],
46603
47174
  resolvedSecurity: requestSecurity,
46604
47175
  securitySource: client._options.security,
@@ -46622,7 +47193,7 @@ async function $do9(client, request, options) {
46622
47193
  const req = requestRes.value;
46623
47194
  const doResult = await client._do(req, {
46624
47195
  context,
46625
- errorCodes: ["400", "401", "403", "404", "4XX", "500", "5XX"],
47196
+ errorCodes: ["400", "401", "403", "4XX", "500", "5XX"],
46626
47197
  retryConfig: context.retryConfig,
46627
47198
  retryCodes: context.retryCodes
46628
47199
  });
@@ -46633,9 +47204,7 @@ async function $do9(client, request, options) {
46633
47204
  const responseFields = {
46634
47205
  HttpMeta: { Response: response, Request: req }
46635
47206
  };
46636
- const [result, raw] = await match(json(200, ListOrSearchVendorInviteesResponse$inboundSchema, {
46637
- key: "Result"
46638
- }), 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 });
46639
47208
  if (!result.ok) {
46640
47209
  return [haltIterator(result), {
46641
47210
  status: "complete",
@@ -46657,7 +47226,7 @@ async function $do9(client, request, options) {
46657
47226
  if (results.length < limit) {
46658
47227
  return { next: () => null };
46659
47228
  }
46660
- const nextVal = () => eventsListOrSearchVendorInvitees(client, {
47229
+ const nextVal = () => eventsListFeed(client, {
46661
47230
  ...request,
46662
47231
  page: nextPage
46663
47232
  }, options);
@@ -46670,7 +47239,7 @@ async function $do9(client, request, options) {
46670
47239
  response
46671
47240
  }];
46672
47241
  }
46673
- var init_eventsListOrSearchVendorInvitees = __esm(() => {
47242
+ var init_eventsListFeed = __esm(() => {
46674
47243
  init_encodings();
46675
47244
  init_matchers();
46676
47245
  init_primitives();
@@ -46683,30 +47252,23 @@ var init_eventsListOrSearchVendorInvitees = __esm(() => {
46683
47252
  init_operations2();
46684
47253
  });
46685
47254
 
46686
- // src/mcp-server/tools/eventsListOrSearchVendorInvitees.ts
46687
- var args9, tool$eventsListOrSearchVendorInvitees;
46688
- var init_eventsListOrSearchVendorInvitees2 = __esm(() => {
46689
- init_eventsListOrSearchVendorInvitees();
47255
+ // src/mcp-server/tools/eventsListFeed.ts
47256
+ var args9, tool$eventsListFeed;
47257
+ var init_eventsListFeed2 = __esm(() => {
47258
+ init_eventsListFeed();
46690
47259
  init_operations();
46691
47260
  init_tools();
46692
47261
  args9 = {
46693
- request: ListOrSearchVendorInviteesRequest$inboundSchema
47262
+ request: ListFeedRequest$inboundSchema
46694
47263
  };
46695
- tool$eventsListOrSearchVendorInvitees = {
46696
- name: "events-list-or-search-vendor-invitees",
46697
- description: `List or search vendor invitees
46698
-
46699
- List or search vendor invitees.
47264
+ tool$eventsListFeed = {
47265
+ name: "events-list-feed",
47266
+ description: `List events feed
46700
47267
 
46701
- Available \`expand\` scopes are:
46702
-
46703
- - contact.facility
46704
- - contact.system
46705
- - contact.department
46706
- - contact.user`,
47268
+ List events feed`,
46707
47269
  args: args9,
46708
47270
  tool: async (client, args10, ctx) => {
46709
- 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();
46710
47272
  if (!result.ok) {
46711
47273
  return {
46712
47274
  content: [{ type: "text", text: result.error.message }],
@@ -46719,26 +47281,28 @@ Available \`expand\` scopes are:
46719
47281
  };
46720
47282
  });
46721
47283
 
46722
- // src/funcs/eventsUpdateEvent.ts
46723
- function eventsUpdateEvent(client, request, options) {
47284
+ // src/funcs/eventsListLocations.ts
47285
+ function eventsListLocations(client, request, options) {
46724
47286
  return new APIPromise($do10(client, request, options));
46725
47287
  }
46726
47288
  async function $do10(client, request, options) {
46727
- 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");
46728
47290
  if (!parsed.ok) {
46729
- return [parsed, { status: "invalid" }];
47291
+ return [haltIterator(parsed), { status: "invalid" }];
46730
47292
  }
46731
47293
  const payload = parsed.value;
46732
- const body = encodeJSON("body", payload.RequestBody, { explode: true });
46733
- const pathParams = {
46734
- id: encodeSimple("id", payload.id, {
46735
- explode: false,
46736
- charEncoding: "percent"
46737
- })
46738
- };
46739
- 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
+ });
46740
47305
  const headers = new Headers(compactMap({
46741
- "Content-Type": "application/json",
46742
47306
  Accept: "application/json"
46743
47307
  }));
46744
47308
  const securityInput = await extractSecurity(client._options.security);
@@ -46746,7 +47310,7 @@ async function $do10(client, request, options) {
46746
47310
  const context = {
46747
47311
  options: client._options,
46748
47312
  baseURL: options?.serverURL ?? client._baseURL ?? "",
46749
- operationID: "updateEvent",
47313
+ operationID: "listLocations",
46750
47314
  oAuth2Scopes: [],
46751
47315
  resolvedSecurity: requestSecurity,
46752
47316
  securitySource: client._options.security,
@@ -46755,38 +47319,70 @@ async function $do10(client, request, options) {
46755
47319
  };
46756
47320
  const requestRes = client._createRequest(context, {
46757
47321
  security: requestSecurity,
46758
- method: "PUT",
47322
+ method: "GET",
46759
47323
  baseURL: options?.serverURL,
46760
47324
  path,
46761
47325
  headers,
47326
+ query,
46762
47327
  body,
46763
47328
  userAgent: client._options.userAgent,
46764
47329
  timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
46765
47330
  }, options);
46766
47331
  if (!requestRes.ok) {
46767
- return [requestRes, { status: "invalid" }];
47332
+ return [haltIterator(requestRes), { status: "invalid" }];
46768
47333
  }
46769
47334
  const req = requestRes.value;
46770
47335
  const doResult = await client._do(req, {
46771
47336
  context,
46772
- errorCodes: ["400", "401", "403", "404", "4XX", "500", "5XX"],
47337
+ errorCodes: ["400", "401", "403", "4XX", "500", "5XX"],
46773
47338
  retryConfig: context.retryConfig,
46774
47339
  retryCodes: context.retryCodes
46775
47340
  });
46776
47341
  if (!doResult.ok) {
46777
- return [doResult, { status: "request-error", request: req }];
47342
+ return [haltIterator(doResult), { status: "request-error", request: req }];
46778
47343
  }
46779
47344
  const response = doResult.value;
46780
47345
  const responseFields = {
46781
47346
  HttpMeta: { Response: response, Request: req }
46782
47347
  };
46783
- 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 });
46784
47351
  if (!result.ok) {
46785
- return [result, { status: "complete", request: req, response }];
47352
+ return [haltIterator(result), {
47353
+ status: "complete",
47354
+ request: req,
47355
+ response
47356
+ }];
46786
47357
  }
46787
- 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
+ }];
46788
47384
  }
46789
- var init_eventsUpdateEvent = __esm(() => {
47385
+ var init_eventsListLocations = __esm(() => {
46790
47386
  init_encodings();
46791
47387
  init_matchers();
46792
47388
  init_primitives();
@@ -46796,25 +47392,582 @@ var init_eventsUpdateEvent = __esm(() => {
46796
47392
  init_errors2();
46797
47393
  init_operations();
46798
47394
  init_async();
47395
+ init_operations2();
46799
47396
  });
46800
47397
 
46801
- // src/mcp-server/tools/eventsUpdateEvent.ts
46802
- var args10, tool$eventsUpdateEvent;
46803
- var init_eventsUpdateEvent2 = __esm(() => {
46804
- init_eventsUpdateEvent();
47398
+ // src/mcp-server/tools/eventsListLocations.ts
47399
+ var args10, tool$eventsListLocations;
47400
+ var init_eventsListLocations2 = __esm(() => {
47401
+ init_eventsListLocations();
46805
47402
  init_operations();
46806
47403
  init_tools();
46807
47404
  args10 = {
46808
- request: UpdateEventRequest$inboundSchema
47405
+ request: ListLocationsRequest$inboundSchema
46809
47406
  };
46810
- tool$eventsUpdateEvent = {
46811
- name: "events-update-event",
46812
- description: `Update event for calendar
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;
47956
+ var init_eventsUpdateEvent2 = __esm(() => {
47957
+ init_eventsUpdateEvent();
47958
+ init_operations();
47959
+ init_tools();
47960
+ args14 = {
47961
+ request: UpdateEventRequest$inboundSchema
47962
+ };
47963
+ tool$eventsUpdateEvent = {
47964
+ name: "events-update-event",
47965
+ description: `Update event for calendar
46813
47966
 
46814
47967
  Update event for calendar`,
46815
- args: args10,
46816
- tool: async (client, args11, ctx) => {
46817
- 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();
46818
47971
  if (!result.ok) {
46819
47972
  return {
46820
47973
  content: [{ type: "text", text: result.error.message }],
@@ -46829,9 +47982,9 @@ Update event for calendar`,
46829
47982
 
46830
47983
  // src/funcs/invoicesCreateInvoice.ts
46831
47984
  function invoicesCreateInvoice(client, request, options) {
46832
- return new APIPromise($do11(client, request, options));
47985
+ return new APIPromise($do15(client, request, options));
46833
47986
  }
46834
- async function $do11(client, request, options) {
47987
+ async function $do15(client, request, options) {
46835
47988
  const parsed = safeParse(request, (value) => CreateInvoiceRequestBody$outboundSchema.parse(value), "Input validation failed");
46836
47989
  if (!parsed.ok) {
46837
47990
  return [parsed, { status: "invalid" }];
@@ -46901,12 +48054,12 @@ var init_invoicesCreateInvoice = __esm(() => {
46901
48054
  });
46902
48055
 
46903
48056
  // src/mcp-server/tools/invoicesCreateInvoice.ts
46904
- var args11, tool$invoicesCreateInvoice;
48057
+ var args15, tool$invoicesCreateInvoice;
46905
48058
  var init_invoicesCreateInvoice2 = __esm(() => {
46906
48059
  init_invoicesCreateInvoice();
46907
48060
  init_operations();
46908
48061
  init_tools();
46909
- args11 = {
48062
+ args15 = {
46910
48063
  request: CreateInvoiceRequestBody$inboundSchema
46911
48064
  };
46912
48065
  tool$invoicesCreateInvoice = {
@@ -46923,9 +48076,9 @@ It will create an invoice based on the lines passed as parameter.
46923
48076
  - new_vendor_type_id: required, must be integer
46924
48077
  - old_facility_ids: required, must be an array of integers (can be empty)
46925
48078
  - new_facility_ids: required, must be array of integers`,
46926
- args: args11,
46927
- tool: async (client, args12, ctx) => {
46928
- 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();
46929
48082
  if (!result.ok) {
46930
48083
  return {
46931
48084
  content: [{ type: "text", text: result.error.message }],
@@ -46940,9 +48093,9 @@ It will create an invoice based on the lines passed as parameter.
46940
48093
 
46941
48094
  // src/funcs/invoicesMakePayment.ts
46942
48095
  function invoicesMakePayment(client, request, options) {
46943
- return new APIPromise($do12(client, request, options));
48096
+ return new APIPromise($do16(client, request, options));
46944
48097
  }
46945
- async function $do12(client, request, options) {
48098
+ async function $do16(client, request, options) {
46946
48099
  const parsed = safeParse(request, (value) => MakePaymentRequest$outboundSchema.parse(value), "Input validation failed");
46947
48100
  if (!parsed.ok) {
46948
48101
  return [parsed, { status: "invalid" }];
@@ -47018,12 +48171,12 @@ var init_invoicesMakePayment = __esm(() => {
47018
48171
  });
47019
48172
 
47020
48173
  // src/mcp-server/tools/invoicesMakePayment.ts
47021
- var args12, tool$invoicesMakePayment;
48174
+ var args16, tool$invoicesMakePayment;
47022
48175
  var init_invoicesMakePayment2 = __esm(() => {
47023
48176
  init_invoicesMakePayment();
47024
48177
  init_operations();
47025
48178
  init_tools();
47026
- args12 = {
48179
+ args16 = {
47027
48180
  request: MakePaymentRequest$inboundSchema
47028
48181
  };
47029
48182
  tool$invoicesMakePayment = {
@@ -47031,9 +48184,9 @@ var init_invoicesMakePayment2 = __esm(() => {
47031
48184
  description: `Make payment for the invoice
47032
48185
 
47033
48186
  Make payment for the invoice`,
47034
- args: args12,
47035
- tool: async (client, args13, ctx) => {
47036
- 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();
47037
48190
  if (!result.ok) {
47038
48191
  return {
47039
48192
  content: [{ type: "text", text: result.error.message }],
@@ -47048,9 +48201,9 @@ Make payment for the invoice`,
47048
48201
 
47049
48202
  // src/funcs/invoicesUpdateInvoice.ts
47050
48203
  function invoicesUpdateInvoice(client, request, options) {
47051
- return new APIPromise($do13(client, request, options));
48204
+ return new APIPromise($do17(client, request, options));
47052
48205
  }
47053
- async function $do13(client, request, options) {
48206
+ async function $do17(client, request, options) {
47054
48207
  const parsed = safeParse(request, (value) => UpdateInvoiceRequest$outboundSchema.parse(value), "Input validation failed");
47055
48208
  if (!parsed.ok) {
47056
48209
  return [parsed, { status: "invalid" }];
@@ -47127,12 +48280,12 @@ var init_invoicesUpdateInvoice = __esm(() => {
47127
48280
  });
47128
48281
 
47129
48282
  // src/mcp-server/tools/invoicesUpdateInvoice.ts
47130
- var args13, tool$invoicesUpdateInvoice;
48283
+ var args17, tool$invoicesUpdateInvoice;
47131
48284
  var init_invoicesUpdateInvoice2 = __esm(() => {
47132
48285
  init_invoicesUpdateInvoice();
47133
48286
  init_operations();
47134
48287
  init_tools();
47135
- args13 = {
48288
+ args17 = {
47136
48289
  request: UpdateInvoiceRequest$inboundSchema
47137
48290
  };
47138
48291
  tool$invoicesUpdateInvoice = {
@@ -47149,9 +48302,9 @@ It will replace all the lines with the lines passed as parameter
47149
48302
  - new_vendor_type_id: required, must be integer
47150
48303
  - old_facility_ids: required, must be an array of integers (can be empty)
47151
48304
  - new_facility_ids: required, must be array of integers`,
47152
- args: args13,
47153
- tool: async (client, args14, ctx) => {
47154
- 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();
47155
48308
  if (!result.ok) {
47156
48309
  return {
47157
48310
  content: [{ type: "text", text: result.error.message }],
@@ -47166,9 +48319,9 @@ It will replace all the lines with the lines passed as parameter
47166
48319
 
47167
48320
  // src/funcs/organizationsGetFacility.ts
47168
48321
  function organizationsGetFacility(client, request, options) {
47169
- return new APIPromise($do14(client, request, options));
48322
+ return new APIPromise($do18(client, request, options));
47170
48323
  }
47171
- async function $do14(client, request, options) {
48324
+ async function $do18(client, request, options) {
47172
48325
  const parsed = safeParse(request, (value) => GetFacilityRequest$outboundSchema.parse(value), "Input validation failed");
47173
48326
  if (!parsed.ok) {
47174
48327
  return [parsed, { status: "invalid" }];
@@ -47244,12 +48397,12 @@ var init_organizationsGetFacility = __esm(() => {
47244
48397
  });
47245
48398
 
47246
48399
  // src/mcp-server/tools/organizationsGetFacility.ts
47247
- var args14, tool$organizationsGetFacility;
48400
+ var args18, tool$organizationsGetFacility;
47248
48401
  var init_organizationsGetFacility2 = __esm(() => {
47249
48402
  init_organizationsGetFacility();
47250
48403
  init_operations();
47251
48404
  init_tools();
47252
- args14 = {
48405
+ args18 = {
47253
48406
  request: GetFacilityRequest$inboundSchema
47254
48407
  };
47255
48408
  tool$organizationsGetFacility = {
@@ -47257,9 +48410,9 @@ var init_organizationsGetFacility2 = __esm(() => {
47257
48410
  description: `Get facility
47258
48411
 
47259
48412
  Retrieve an individual facility.`,
47260
- args: args14,
47261
- tool: async (client, args15, ctx) => {
47262
- 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();
47263
48416
  if (!result.ok) {
47264
48417
  return {
47265
48418
  content: [{ type: "text", text: result.error.message }],
@@ -47274,9 +48427,9 @@ Retrieve an individual facility.`,
47274
48427
 
47275
48428
  // src/funcs/organizationsListOrSearchDepartmentContacts.ts
47276
48429
  function organizationsListOrSearchDepartmentContacts(client, request, options) {
47277
- return new APIPromise($do15(client, request, options));
48430
+ return new APIPromise($do19(client, request, options));
47278
48431
  }
47279
- async function $do15(client, request, options) {
48432
+ async function $do19(client, request, options) {
47280
48433
  const parsed = safeParse(request, (value) => ListOrSearchDepartmentContactsRequest$outboundSchema.parse(value), "Input validation failed");
47281
48434
  if (!parsed.ok) {
47282
48435
  return [haltIterator(parsed), { status: "invalid" }];
@@ -47391,12 +48544,12 @@ var init_organizationsListOrSearchDepartmentContacts = __esm(() => {
47391
48544
  });
47392
48545
 
47393
48546
  // src/mcp-server/tools/organizationsListOrSearchDepartmentContacts.ts
47394
- var args15, tool$organizationsListOrSearchDepartmentContacts;
48547
+ var args19, tool$organizationsListOrSearchDepartmentContacts;
47395
48548
  var init_organizationsListOrSearchDepartmentContacts2 = __esm(() => {
47396
48549
  init_organizationsListOrSearchDepartmentContacts();
47397
48550
  init_operations();
47398
48551
  init_tools();
47399
- args15 = {
48552
+ args19 = {
47400
48553
  request: ListOrSearchDepartmentContactsRequest$inboundSchema
47401
48554
  };
47402
48555
  tool$organizationsListOrSearchDepartmentContacts = {
@@ -47409,9 +48562,9 @@ Available \`expand\` scopes are:
47409
48562
 
47410
48563
  - department_membership.contact
47411
48564
  - department_membership.department`,
47412
- args: args15,
47413
- tool: async (client, args16, ctx) => {
47414
- 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();
47415
48568
  if (!result.ok) {
47416
48569
  return {
47417
48570
  content: [{ type: "text", text: result.error.message }],
@@ -47426,9 +48579,9 @@ Available \`expand\` scopes are:
47426
48579
 
47427
48580
  // src/funcs/organizationsListOrSearchDepartments.ts
47428
48581
  function organizationsListOrSearchDepartments(client, request, options) {
47429
- return new APIPromise($do16(client, request, options));
48582
+ return new APIPromise($do20(client, request, options));
47430
48583
  }
47431
- async function $do16(client, request, options) {
48584
+ async function $do20(client, request, options) {
47432
48585
  const parsed = safeParse(request, (value) => ListOrSearchDepartmentsRequest$outboundSchema.parse(value), "Input validation failed");
47433
48586
  if (!parsed.ok) {
47434
48587
  return [haltIterator(parsed), { status: "invalid" }];
@@ -47543,12 +48696,12 @@ var init_organizationsListOrSearchDepartments = __esm(() => {
47543
48696
  });
47544
48697
 
47545
48698
  // src/mcp-server/tools/organizationsListOrSearchDepartments.ts
47546
- var args16, tool$organizationsListOrSearchDepartments;
48699
+ var args20, tool$organizationsListOrSearchDepartments;
47547
48700
  var init_organizationsListOrSearchDepartments2 = __esm(() => {
47548
48701
  init_organizationsListOrSearchDepartments();
47549
48702
  init_operations();
47550
48703
  init_tools();
47551
- args16 = {
48704
+ args20 = {
47552
48705
  request: ListOrSearchDepartmentsRequest$inboundSchema
47553
48706
  };
47554
48707
  tool$organizationsListOrSearchDepartments = {
@@ -47556,9 +48709,9 @@ var init_organizationsListOrSearchDepartments2 = __esm(() => {
47556
48709
  description: `List or search departments
47557
48710
 
47558
48711
  List or search departments.`,
47559
- args: args16,
47560
- tool: async (client, args17, ctx) => {
47561
- 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();
47562
48715
  if (!result.ok) {
47563
48716
  return {
47564
48717
  content: [{ type: "text", text: result.error.message }],
@@ -47573,9 +48726,9 @@ List or search departments.`,
47573
48726
 
47574
48727
  // src/funcs/organizationsListOrSearchFacilities.ts
47575
48728
  function organizationsListOrSearchFacilities(client, request, options) {
47576
- return new APIPromise($do17(client, request, options));
48729
+ return new APIPromise($do21(client, request, options));
47577
48730
  }
47578
- async function $do17(client, request, options) {
48731
+ async function $do21(client, request, options) {
47579
48732
  const parsed = safeParse(request, (value) => ListOrSearchFacilitiesRequest$outboundSchema.parse(value), "Input validation failed");
47580
48733
  if (!parsed.ok) {
47581
48734
  return [haltIterator(parsed), { status: "invalid" }];
@@ -47691,12 +48844,12 @@ var init_organizationsListOrSearchFacilities = __esm(() => {
47691
48844
  });
47692
48845
 
47693
48846
  // src/mcp-server/tools/organizationsListOrSearchFacilities.ts
47694
- var args17, tool$organizationsListOrSearchFacilities;
48847
+ var args21, tool$organizationsListOrSearchFacilities;
47695
48848
  var init_organizationsListOrSearchFacilities2 = __esm(() => {
47696
48849
  init_organizationsListOrSearchFacilities();
47697
48850
  init_operations();
47698
48851
  init_tools();
47699
- args17 = {
48852
+ args21 = {
47700
48853
  request: ListOrSearchFacilitiesRequest$inboundSchema
47701
48854
  };
47702
48855
  tool$organizationsListOrSearchFacilities = {
@@ -47717,9 +48870,9 @@ Available \`expand\` scopes are:
47717
48870
  - facility.vendor_policy
47718
48871
  - facility.visitor_policy
47719
48872
  - facility.workflow`,
47720
- args: args17,
47721
- tool: async (client, args18, ctx) => {
47722
- 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();
47723
48876
  if (!result.ok) {
47724
48877
  return {
47725
48878
  content: [{ type: "text", text: result.error.message }],
@@ -47734,9 +48887,9 @@ Available \`expand\` scopes are:
47734
48887
 
47735
48888
  // src/funcs/supportArticlesGetSupportArticle.ts
47736
48889
  function supportArticlesGetSupportArticle(client, request, options) {
47737
- return new APIPromise($do18(client, request, options));
48890
+ return new APIPromise($do22(client, request, options));
47738
48891
  }
47739
- async function $do18(client, request, options) {
48892
+ async function $do22(client, request, options) {
47740
48893
  const parsed = safeParse(request, (value) => GetSupportArticleRequest$outboundSchema.parse(value), "Input validation failed");
47741
48894
  if (!parsed.ok) {
47742
48895
  return [parsed, { status: "invalid" }];
@@ -47816,12 +48969,12 @@ var init_supportArticlesGetSupportArticle = __esm(() => {
47816
48969
  });
47817
48970
 
47818
48971
  // src/mcp-server/tools/supportArticlesGetSupportArticle.ts
47819
- var args18, tool$supportArticlesGetSupportArticle;
48972
+ var args22, tool$supportArticlesGetSupportArticle;
47820
48973
  var init_supportArticlesGetSupportArticle2 = __esm(() => {
47821
48974
  init_supportArticlesGetSupportArticle();
47822
48975
  init_operations();
47823
48976
  init_tools();
47824
- args18 = {
48977
+ args22 = {
47825
48978
  request: GetSupportArticleRequest$inboundSchema
47826
48979
  };
47827
48980
  tool$supportArticlesGetSupportArticle = {
@@ -47836,9 +48989,9 @@ Available \`expand\` scopes are:
47836
48989
  - support_article.published
47837
48990
  - support_article.notes
47838
48991
  - support_article.support_category`,
47839
- args: args18,
47840
- tool: async (client, args19, ctx) => {
47841
- 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();
47842
48995
  if (!result.ok) {
47843
48996
  return {
47844
48997
  content: [{ type: "text", text: result.error.message }],
@@ -47853,9 +49006,9 @@ Available \`expand\` scopes are:
47853
49006
 
47854
49007
  // src/funcs/supportArticlesListOrSearchSupportArticles.ts
47855
49008
  function supportArticlesListOrSearchSupportArticles(client, request, options) {
47856
- return new APIPromise($do19(client, request, options));
49009
+ return new APIPromise($do23(client, request, options));
47857
49010
  }
47858
- async function $do19(client, request, options) {
49011
+ async function $do23(client, request, options) {
47859
49012
  const parsed = safeParse(request, (value) => ListOrSearchSupportArticlesRequest$outboundSchema.parse(value), "Input validation failed");
47860
49013
  if (!parsed.ok) {
47861
49014
  return [haltIterator(parsed), { status: "invalid" }];
@@ -47965,12 +49118,12 @@ var init_supportArticlesListOrSearchSupportArticles = __esm(() => {
47965
49118
  });
47966
49119
 
47967
49120
  // src/mcp-server/tools/supportArticlesListOrSearchSupportArticles.ts
47968
- var args19, tool$supportArticlesListOrSearchSupportArticles;
49121
+ var args23, tool$supportArticlesListOrSearchSupportArticles;
47969
49122
  var init_supportArticlesListOrSearchSupportArticles2 = __esm(() => {
47970
49123
  init_supportArticlesListOrSearchSupportArticles();
47971
49124
  init_operations();
47972
49125
  init_tools();
47973
- args19 = {
49126
+ args23 = {
47974
49127
  request: ListOrSearchSupportArticlesRequest$inboundSchema
47975
49128
  };
47976
49129
  tool$supportArticlesListOrSearchSupportArticles = {
@@ -47978,9 +49131,9 @@ var init_supportArticlesListOrSearchSupportArticles2 = __esm(() => {
47978
49131
  description: `List or search support articles
47979
49132
 
47980
49133
  List or search support articles for FAQ.`,
47981
- args: args19,
47982
- tool: async (client, args20, ctx) => {
47983
- 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();
47984
49137
  if (!result.ok) {
47985
49138
  return {
47986
49139
  content: [{ type: "text", text: result.error.message }],
@@ -47995,9 +49148,9 @@ List or search support articles for FAQ.`,
47995
49148
 
47996
49149
  // src/funcs/systemsListSystems.ts
47997
49150
  function systemsListSystems(client, request, options) {
47998
- return new APIPromise($do20(client, request, options));
49151
+ return new APIPromise($do24(client, request, options));
47999
49152
  }
48000
- async function $do20(client, request, options) {
49153
+ async function $do24(client, request, options) {
48001
49154
  const parsed = safeParse(request, (value) => ListSystemsRequest$outboundSchema.parse(value), "Input validation failed");
48002
49155
  if (!parsed.ok) {
48003
49156
  return [haltIterator(parsed), { status: "invalid" }];
@@ -48108,12 +49261,12 @@ var init_systemsListSystems = __esm(() => {
48108
49261
  });
48109
49262
 
48110
49263
  // src/mcp-server/tools/systemsListSystems.ts
48111
- var args20, tool$systemsListSystems;
49264
+ var args24, tool$systemsListSystems;
48112
49265
  var init_systemsListSystems2 = __esm(() => {
48113
49266
  init_systemsListSystems();
48114
49267
  init_operations();
48115
49268
  init_tools();
48116
- args20 = {
49269
+ args24 = {
48117
49270
  request: ListSystemsRequest$inboundSchema
48118
49271
  };
48119
49272
  tool$systemsListSystems = {
@@ -48125,9 +49278,9 @@ List or search systems.
48125
49278
  Available \`expand\` scopes are:
48126
49279
 
48127
49280
  - system.facilities`,
48128
- args: args20,
48129
- tool: async (client, args21, ctx) => {
48130
- 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();
48131
49284
  if (!result.ok) {
48132
49285
  return {
48133
49286
  content: [{ type: "text", text: result.error.message }],
@@ -48142,9 +49295,9 @@ Available \`expand\` scopes are:
48142
49295
 
48143
49296
  // src/funcs/usersChangePassword.ts
48144
49297
  function usersChangePassword(client, request, options) {
48145
- return new APIPromise($do21(client, request, options));
49298
+ return new APIPromise($do25(client, request, options));
48146
49299
  }
48147
- async function $do21(client, request, options) {
49300
+ async function $do25(client, request, options) {
48148
49301
  const parsed = safeParse(request, (value) => ChangePasswordRequest$outboundSchema.parse(value), "Input validation failed");
48149
49302
  if (!parsed.ok) {
48150
49303
  return [parsed, { status: "invalid" }];
@@ -48220,12 +49373,12 @@ var init_usersChangePassword = __esm(() => {
48220
49373
  });
48221
49374
 
48222
49375
  // src/mcp-server/tools/usersChangePassword.ts
48223
- var args21, tool$usersChangePassword;
49376
+ var args25, tool$usersChangePassword;
48224
49377
  var init_usersChangePassword2 = __esm(() => {
48225
49378
  init_usersChangePassword();
48226
49379
  init_operations();
48227
49380
  init_tools();
48228
- args21 = {
49381
+ args25 = {
48229
49382
  request: ChangePasswordRequest$inboundSchema
48230
49383
  };
48231
49384
  tool$usersChangePassword = {
@@ -48233,9 +49386,9 @@ var init_usersChangePassword2 = __esm(() => {
48233
49386
  description: `Change password
48234
49387
 
48235
49388
  Change the user's password to the new passed as parameter`,
48236
- args: args21,
48237
- tool: async (client, args22, ctx) => {
48238
- 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();
48239
49392
  if (!result.ok) {
48240
49393
  return {
48241
49394
  content: [{ type: "text", text: result.error.message }],
@@ -48250,9 +49403,9 @@ Change the user's password to the new passed as parameter`,
48250
49403
 
48251
49404
  // src/funcs/usersGetCurrentUser.ts
48252
49405
  function usersGetCurrentUser(client, options) {
48253
- return new APIPromise($do22(client, options));
49406
+ return new APIPromise($do26(client, options));
48254
49407
  }
48255
- async function $do22(client, options) {
49408
+ async function $do26(client, options) {
48256
49409
  const path = pathToFunc("/users/me")();
48257
49410
  const headers = new Headers(compactMap({
48258
49411
  Accept: "application/json"
@@ -48337,9 +49490,9 @@ Returns a user object for the user represented by the authorization token`,
48337
49490
 
48338
49491
  // src/funcs/usersGetUserById.ts
48339
49492
  function usersGetUserById(client, request, options) {
48340
- return new APIPromise($do23(client, request, options));
49493
+ return new APIPromise($do27(client, request, options));
48341
49494
  }
48342
- async function $do23(client, request, options) {
49495
+ async function $do27(client, request, options) {
48343
49496
  const parsed = safeParse(request, (value) => GetUserByIdRequest$outboundSchema.parse(value), "Input validation failed");
48344
49497
  if (!parsed.ok) {
48345
49498
  return [parsed, { status: "invalid" }];
@@ -48415,12 +49568,12 @@ var init_usersGetUserById = __esm(() => {
48415
49568
  });
48416
49569
 
48417
49570
  // src/mcp-server/tools/usersGetUserById.ts
48418
- var args22, tool$usersGetUserById;
49571
+ var args26, tool$usersGetUserById;
48419
49572
  var init_usersGetUserById2 = __esm(() => {
48420
49573
  init_usersGetUserById();
48421
49574
  init_operations();
48422
49575
  init_tools();
48423
- args22 = {
49576
+ args26 = {
48424
49577
  request: GetUserByIdRequest$inboundSchema
48425
49578
  };
48426
49579
  tool$usersGetUserById = {
@@ -48428,9 +49581,9 @@ var init_usersGetUserById2 = __esm(() => {
48428
49581
  description: `Get user by id
48429
49582
 
48430
49583
  Returns a user object for the user represented by the identifier in the path.`,
48431
- args: args22,
48432
- tool: async (client, args23, ctx) => {
48433
- 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();
48434
49587
  if (!result.ok) {
48435
49588
  return {
48436
49589
  content: [{ type: "text", text: result.error.message }],
@@ -48445,9 +49598,9 @@ Returns a user object for the user represented by the identifier in the path.`,
48445
49598
 
48446
49599
  // src/funcs/usersMagiclink.ts
48447
49600
  function usersMagiclink(client, request, options) {
48448
- return new APIPromise($do24(client, request, options));
49601
+ return new APIPromise($do28(client, request, options));
48449
49602
  }
48450
- async function $do24(client, request, options) {
49603
+ async function $do28(client, request, options) {
48451
49604
  const parsed = safeParse(request, (value) => MagiclinkRequestBody$outboundSchema.parse(value), "Input validation failed");
48452
49605
  if (!parsed.ok) {
48453
49606
  return [parsed, { status: "invalid" }];
@@ -48517,12 +49670,12 @@ var init_usersMagiclink = __esm(() => {
48517
49670
  });
48518
49671
 
48519
49672
  // src/mcp-server/tools/usersMagiclink.ts
48520
- var args23, tool$usersMagiclink;
49673
+ var args27, tool$usersMagiclink;
48521
49674
  var init_usersMagiclink2 = __esm(() => {
48522
49675
  init_usersMagiclink();
48523
49676
  init_operations();
48524
49677
  init_tools();
48525
- args23 = {
49678
+ args27 = {
48526
49679
  request: MagiclinkRequestBody$inboundSchema
48527
49680
  };
48528
49681
  tool$usersMagiclink = {
@@ -48530,9 +49683,9 @@ var init_usersMagiclink2 = __esm(() => {
48530
49683
  description: `Magic link
48531
49684
 
48532
49685
  It sends an email with a magic link to allow the user to log in.`,
48533
- args: args23,
48534
- tool: async (client, args24, ctx) => {
48535
- 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();
48536
49689
  if (!result.ok) {
48537
49690
  return {
48538
49691
  content: [{ type: "text", text: result.error.message }],
@@ -48547,9 +49700,9 @@ It sends an email with a magic link to allow the user to log in.`,
48547
49700
 
48548
49701
  // src/funcs/usersPassword.ts
48549
49702
  function usersPassword(client, request, options) {
48550
- return new APIPromise($do25(client, request, options));
49703
+ return new APIPromise($do29(client, request, options));
48551
49704
  }
48552
- async function $do25(client, request, options) {
49705
+ async function $do29(client, request, options) {
48553
49706
  const parsed = safeParse(request, (value) => PasswordRequestBody$outboundSchema.parse(value), "Input validation failed");
48554
49707
  if (!parsed.ok) {
48555
49708
  return [parsed, { status: "invalid" }];
@@ -48619,12 +49772,12 @@ var init_usersPassword = __esm(() => {
48619
49772
  });
48620
49773
 
48621
49774
  // src/mcp-server/tools/usersPassword.ts
48622
- var args24, tool$usersPassword;
49775
+ var args28, tool$usersPassword;
48623
49776
  var init_usersPassword2 = __esm(() => {
48624
49777
  init_usersPassword();
48625
49778
  init_operations();
48626
49779
  init_tools();
48627
- args24 = {
49780
+ args28 = {
48628
49781
  request: PasswordRequestBody$inboundSchema
48629
49782
  };
48630
49783
  tool$usersPassword = {
@@ -48633,9 +49786,9 @@ var init_usersPassword2 = __esm(() => {
48633
49786
 
48634
49787
  Resets the a user's password using a password_reset_id that was sent to them via email.
48635
49788
  See /users/passwordresetrequest to initiate a password reset flow.`,
48636
- args: args24,
48637
- tool: async (client, args25, ctx) => {
48638
- 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();
48639
49792
  if (!result.ok) {
48640
49793
  return {
48641
49794
  content: [{ type: "text", text: result.error.message }],
@@ -48650,9 +49803,9 @@ See /users/passwordresetrequest to initiate a password reset flow.`,
48650
49803
 
48651
49804
  // src/funcs/usersPasswordResetRequest.ts
48652
49805
  function usersPasswordResetRequest(client, request, options) {
48653
- return new APIPromise($do26(client, request, options));
49806
+ return new APIPromise($do30(client, request, options));
48654
49807
  }
48655
- async function $do26(client, request, options) {
49808
+ async function $do30(client, request, options) {
48656
49809
  const parsed = safeParse(request, (value) => PasswordResetRequestRequestBody$outboundSchema.parse(value), "Input validation failed");
48657
49810
  if (!parsed.ok) {
48658
49811
  return [parsed, { status: "invalid" }];
@@ -48722,12 +49875,12 @@ var init_usersPasswordResetRequest = __esm(() => {
48722
49875
  });
48723
49876
 
48724
49877
  // src/mcp-server/tools/usersPasswordResetRequest.ts
48725
- var args25, tool$usersPasswordResetRequest;
49878
+ var args29, tool$usersPasswordResetRequest;
48726
49879
  var init_usersPasswordResetRequest2 = __esm(() => {
48727
49880
  init_usersPasswordResetRequest();
48728
49881
  init_operations();
48729
49882
  init_tools();
48730
- args25 = {
49883
+ args29 = {
48731
49884
  request: PasswordResetRequestRequestBody$inboundSchema
48732
49885
  };
48733
49886
  tool$usersPasswordResetRequest = {
@@ -48735,9 +49888,9 @@ var init_usersPasswordResetRequest2 = __esm(() => {
48735
49888
  description: `Password reset request
48736
49889
 
48737
49890
  It sends an email with a link for resetting a user's password.`,
48738
- args: args25,
48739
- tool: async (client, args26, ctx) => {
48740
- 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();
48741
49894
  if (!result.ok) {
48742
49895
  return {
48743
49896
  content: [{ type: "text", text: result.error.message }],
@@ -48752,9 +49905,9 @@ It sends an email with a link for resetting a user's password.`,
48752
49905
 
48753
49906
  // src/funcs/usersPostAuthenticate.ts
48754
49907
  function usersPostAuthenticate(client, request, options) {
48755
- return new APIPromise($do27(client, request, options));
49908
+ return new APIPromise($do31(client, request, options));
48756
49909
  }
48757
- async function $do27(client, request, options) {
49910
+ async function $do31(client, request, options) {
48758
49911
  const parsed = safeParse(request, (value) => PostAuthenticateRequestBody$outboundSchema.parse(value), "Input validation failed");
48759
49912
  if (!parsed.ok) {
48760
49913
  return [parsed, { status: "invalid" }];
@@ -48820,12 +49973,12 @@ var init_usersPostAuthenticate = __esm(() => {
48820
49973
  });
48821
49974
 
48822
49975
  // src/mcp-server/tools/usersPostAuthenticate.ts
48823
- var args26, tool$usersPostAuthenticate;
49976
+ var args30, tool$usersPostAuthenticate;
48824
49977
  var init_usersPostAuthenticate2 = __esm(() => {
48825
49978
  init_usersPostAuthenticate();
48826
49979
  init_operations();
48827
49980
  init_tools();
48828
- args26 = {
49981
+ args30 = {
48829
49982
  request: PostAuthenticateRequestBody$inboundSchema
48830
49983
  };
48831
49984
  tool$usersPostAuthenticate = {
@@ -48863,9 +50016,9 @@ Requires: \`saml_login\`
48863
50016
  3. Site redirects to your selected \`return_url\`
48864
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
48865
50018
  5. Fetch the user object from \`/users/me\` using the token`,
48866
- args: args26,
48867
- tool: async (client, args27, ctx) => {
48868
- 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();
48869
50022
  if (!result.ok) {
48870
50023
  return {
48871
50024
  content: [{ type: "text", text: result.error.message }],
@@ -48880,9 +50033,9 @@ Requires: \`saml_login\`
48880
50033
 
48881
50034
  // src/funcs/usersRotateApiKey.ts
48882
50035
  function usersRotateApiKey(client, options) {
48883
- return new APIPromise($do28(client, options));
50036
+ return new APIPromise($do32(client, options));
48884
50037
  }
48885
- async function $do28(client, options) {
50038
+ async function $do32(client, options) {
48886
50039
  const path = pathToFunc("/users/api_key_rotator")();
48887
50040
  const headers = new Headers(compactMap({
48888
50041
  Accept: "application/json"
@@ -48967,9 +50120,9 @@ Allows an API user to rotate their own API key. Note, the key rotation happens i
48967
50120
 
48968
50121
  // src/funcs/vendorsAcceptVendorCredential.ts
48969
50122
  function vendorsAcceptVendorCredential(client, request, options) {
48970
- return new APIPromise($do29(client, request, options));
50123
+ return new APIPromise($do33(client, request, options));
48971
50124
  }
48972
- async function $do29(client, request, options) {
50125
+ async function $do33(client, request, options) {
48973
50126
  const parsed = safeParse(request, (value) => AcceptVendorCredentialRequest$outboundSchema.parse(value), "Input validation failed");
48974
50127
  if (!parsed.ok) {
48975
50128
  return [parsed, { status: "invalid" }];
@@ -49042,12 +50195,12 @@ var init_vendorsAcceptVendorCredential = __esm(() => {
49042
50195
  });
49043
50196
 
49044
50197
  // src/mcp-server/tools/vendorsAcceptVendorCredential.ts
49045
- var args27, tool$vendorsAcceptVendorCredential;
50198
+ var args31, tool$vendorsAcceptVendorCredential;
49046
50199
  var init_vendorsAcceptVendorCredential2 = __esm(() => {
49047
50200
  init_vendorsAcceptVendorCredential();
49048
50201
  init_operations();
49049
50202
  init_tools();
49050
- args27 = {
50203
+ args31 = {
49051
50204
  request: AcceptVendorCredentialRequest$inboundSchema
49052
50205
  };
49053
50206
  tool$vendorsAcceptVendorCredential = {
@@ -49055,9 +50208,9 @@ var init_vendorsAcceptVendorCredential2 = __esm(() => {
49055
50208
  description: `Accept vendor credential
49056
50209
 
49057
50210
  It will accept vendor credential`,
49058
- args: args27,
49059
- tool: async (client, args28, ctx) => {
49060
- 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();
49061
50214
  if (!result.ok) {
49062
50215
  return {
49063
50216
  content: [{ type: "text", text: result.error.message }],
@@ -49072,9 +50225,9 @@ It will accept vendor credential`,
49072
50225
 
49073
50226
  // src/funcs/vendorsAddVendorCredentialFile.ts
49074
50227
  function vendorsAddVendorCredentialFile(client, request, options) {
49075
- return new APIPromise($do30(client, request, options));
50228
+ return new APIPromise($do34(client, request, options));
49076
50229
  }
49077
- async function $do30(client, request, options) {
50230
+ async function $do34(client, request, options) {
49078
50231
  const parsed = safeParse(request, (value) => AddVendorCredentialFileRequest$outboundSchema.parse(value), "Input validation failed");
49079
50232
  if (!parsed.ok) {
49080
50233
  return [parsed, { status: "invalid" }];
@@ -49147,12 +50300,12 @@ var init_vendorsAddVendorCredentialFile = __esm(() => {
49147
50300
  });
49148
50301
 
49149
50302
  // src/mcp-server/tools/vendorsAddVendorCredentialFile.ts
49150
- var args28, tool$vendorsAddVendorCredentialFile;
50303
+ var args32, tool$vendorsAddVendorCredentialFile;
49151
50304
  var init_vendorsAddVendorCredentialFile2 = __esm(() => {
49152
50305
  init_vendorsAddVendorCredentialFile();
49153
50306
  init_operations();
49154
50307
  init_tools();
49155
- args28 = {
50308
+ args32 = {
49156
50309
  request: AddVendorCredentialFileRequest$inboundSchema
49157
50310
  };
49158
50311
  tool$vendorsAddVendorCredentialFile = {
@@ -49160,9 +50313,9 @@ var init_vendorsAddVendorCredentialFile2 = __esm(() => {
49160
50313
  description: `Add vendor credential file
49161
50314
 
49162
50315
  It will add a new vendor credential file`,
49163
- args: args28,
49164
- tool: async (client, args29, ctx) => {
49165
- 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();
49166
50319
  if (!result.ok) {
49167
50320
  return {
49168
50321
  content: [{ type: "text", text: result.error.message }],
@@ -49177,9 +50330,9 @@ It will add a new vendor credential file`,
49177
50330
 
49178
50331
  // src/funcs/vendorsAddVendorManagedByCompany.ts
49179
50332
  function vendorsAddVendorManagedByCompany(client, request, options) {
49180
- return new APIPromise($do31(client, request, options));
50333
+ return new APIPromise($do35(client, request, options));
49181
50334
  }
49182
- async function $do31(client, request, options) {
50335
+ async function $do35(client, request, options) {
49183
50336
  const parsed = safeParse(request, (value) => AddVendorManagedByCompanyRequest$outboundSchema.parse(value), "Input validation failed");
49184
50337
  if (!parsed.ok) {
49185
50338
  return [parsed, { status: "invalid" }];
@@ -49255,12 +50408,12 @@ var init_vendorsAddVendorManagedByCompany = __esm(() => {
49255
50408
  });
49256
50409
 
49257
50410
  // src/mcp-server/tools/vendorsAddVendorManagedByCompany.ts
49258
- var args29, tool$vendorsAddVendorManagedByCompany;
50411
+ var args33, tool$vendorsAddVendorManagedByCompany;
49259
50412
  var init_vendorsAddVendorManagedByCompany2 = __esm(() => {
49260
50413
  init_vendorsAddVendorManagedByCompany();
49261
50414
  init_operations();
49262
50415
  init_tools();
49263
- args29 = {
50416
+ args33 = {
49264
50417
  request: AddVendorManagedByCompanyRequest$inboundSchema
49265
50418
  };
49266
50419
  tool$vendorsAddVendorManagedByCompany = {
@@ -49268,9 +50421,9 @@ var init_vendorsAddVendorManagedByCompany2 = __esm(() => {
49268
50421
  description: `Add vendor managed by company
49269
50422
 
49270
50423
  It will add a vendor managed by company`,
49271
- args: args29,
49272
- tool: async (client, args30, ctx) => {
49273
- 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();
49274
50427
  if (!result.ok) {
49275
50428
  return {
49276
50429
  content: [{ type: "text", text: result.error.message }],
@@ -49285,9 +50438,9 @@ It will add a vendor managed by company`,
49285
50438
 
49286
50439
  // src/funcs/vendorsCalculateSubscriptionPrice.ts
49287
50440
  function vendorsCalculateSubscriptionPrice(client, request, options) {
49288
- return new APIPromise($do32(client, request, options));
50441
+ return new APIPromise($do36(client, request, options));
49289
50442
  }
49290
- async function $do32(client, request, options) {
50443
+ async function $do36(client, request, options) {
49291
50444
  const parsed = safeParse(request, (value) => CalculateSubscriptionPriceRequest$outboundSchema.parse(value), "Input validation failed");
49292
50445
  if (!parsed.ok) {
49293
50446
  return [parsed, { status: "invalid" }];
@@ -49363,12 +50516,12 @@ var init_vendorsCalculateSubscriptionPrice = __esm(() => {
49363
50516
  });
49364
50517
 
49365
50518
  // src/mcp-server/tools/vendorsCalculateSubscriptionPrice.ts
49366
- var args30, tool$vendorsCalculateSubscriptionPrice;
50519
+ var args34, tool$vendorsCalculateSubscriptionPrice;
49367
50520
  var init_vendorsCalculateSubscriptionPrice2 = __esm(() => {
49368
50521
  init_vendorsCalculateSubscriptionPrice();
49369
50522
  init_operations();
49370
50523
  init_tools();
49371
- args30 = {
50524
+ args34 = {
49372
50525
  request: CalculateSubscriptionPriceRequest$inboundSchema
49373
50526
  };
49374
50527
  tool$vendorsCalculateSubscriptionPrice = {
@@ -49376,9 +50529,9 @@ var init_vendorsCalculateSubscriptionPrice2 = __esm(() => {
49376
50529
  description: `Calculate subscription price
49377
50530
 
49378
50531
  Calculate subscription price`,
49379
- args: args30,
49380
- tool: async (client, args31, ctx) => {
49381
- 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();
49382
50535
  if (!result.ok) {
49383
50536
  return {
49384
50537
  content: [{ type: "text", text: result.error.message }],
@@ -49393,9 +50546,9 @@ Calculate subscription price`,
49393
50546
 
49394
50547
  // src/funcs/vendorScansVendorScanOut.ts
49395
50548
  function vendorScansVendorScanOut(client, request, options) {
49396
- return new APIPromise($do33(client, request, options));
50549
+ return new APIPromise($do37(client, request, options));
49397
50550
  }
49398
- async function $do33(client, request, options) {
50551
+ async function $do37(client, request, options) {
49399
50552
  const parsed = safeParse(request, (value) => VendorScanOutRequest$outboundSchema.parse(value), "Input validation failed");
49400
50553
  if (!parsed.ok) {
49401
50554
  return [parsed, { status: "invalid" }];
@@ -49470,12 +50623,12 @@ var init_vendorScansVendorScanOut = __esm(() => {
49470
50623
  });
49471
50624
 
49472
50625
  // src/mcp-server/tools/vendorScansVendorScanOut.ts
49473
- var args31, tool$vendorScansVendorScanOut;
50626
+ var args35, tool$vendorScansVendorScanOut;
49474
50627
  var init_vendorScansVendorScanOut2 = __esm(() => {
49475
50628
  init_vendorScansVendorScanOut();
49476
50629
  init_operations();
49477
50630
  init_tools();
49478
- args31 = {
50631
+ args35 = {
49479
50632
  request: VendorScanOutRequest$inboundSchema
49480
50633
  };
49481
50634
  tool$vendorScansVendorScanOut = {
@@ -49483,9 +50636,9 @@ var init_vendorScansVendorScanOut2 = __esm(() => {
49483
50636
  description: `Vendor scan out
49484
50637
 
49485
50638
  It scans out vendor from facility`,
49486
- args: args31,
49487
- tool: async (client, args32, ctx) => {
49488
- 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();
49489
50642
  if (!result.ok) {
49490
50643
  return {
49491
50644
  content: [{ type: "text", text: result.error.message }],
@@ -49500,9 +50653,9 @@ It scans out vendor from facility`,
49500
50653
 
49501
50654
  // src/funcs/vendorsChangeSubscription.ts
49502
50655
  function vendorsChangeSubscription(client, request, options) {
49503
- return new APIPromise($do34(client, request, options));
50656
+ return new APIPromise($do38(client, request, options));
49504
50657
  }
49505
- async function $do34(client, request, options) {
50658
+ async function $do38(client, request, options) {
49506
50659
  const parsed = safeParse(request, (value) => ChangeSubscriptionRequest$outboundSchema.parse(value), "Input validation failed");
49507
50660
  if (!parsed.ok) {
49508
50661
  return [parsed, { status: "invalid" }];
@@ -49578,12 +50731,12 @@ var init_vendorsChangeSubscription = __esm(() => {
49578
50731
  });
49579
50732
 
49580
50733
  // src/mcp-server/tools/vendorsChangeSubscription.ts
49581
- var args32, tool$vendorsChangeSubscription;
50734
+ var args36, tool$vendorsChangeSubscription;
49582
50735
  var init_vendorsChangeSubscription2 = __esm(() => {
49583
50736
  init_vendorsChangeSubscription();
49584
50737
  init_operations();
49585
50738
  init_tools();
49586
- args32 = {
50739
+ args36 = {
49587
50740
  request: ChangeSubscriptionRequest$inboundSchema
49588
50741
  };
49589
50742
  tool$vendorsChangeSubscription = {
@@ -49591,9 +50744,9 @@ var init_vendorsChangeSubscription2 = __esm(() => {
49591
50744
  description: `Change subscription
49592
50745
 
49593
50746
  Calculate subscription price`,
49594
- args: args32,
49595
- tool: async (client, args33, ctx) => {
49596
- 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();
49597
50750
  if (!result.ok) {
49598
50751
  return {
49599
50752
  content: [{ type: "text", text: result.error.message }],
@@ -49608,9 +50761,9 @@ Calculate subscription price`,
49608
50761
 
49609
50762
  // src/funcs/vendorsCheckDownloadCode.ts
49610
50763
  function vendorsCheckDownloadCode(client, request, options) {
49611
- return new APIPromise($do35(client, request, options));
50764
+ return new APIPromise($do39(client, request, options));
49612
50765
  }
49613
- async function $do35(client, request, options) {
50766
+ async function $do39(client, request, options) {
49614
50767
  const parsed = safeParse(request, (value) => CheckDownloadCodeRequest$outboundSchema.parse(value), "Input validation failed");
49615
50768
  if (!parsed.ok) {
49616
50769
  return [parsed, { status: "invalid" }];
@@ -49686,12 +50839,12 @@ var init_vendorsCheckDownloadCode = __esm(() => {
49686
50839
  });
49687
50840
 
49688
50841
  // src/mcp-server/tools/vendorsCheckDownloadCode.ts
49689
- var args33, tool$vendorsCheckDownloadCode;
50842
+ var args37, tool$vendorsCheckDownloadCode;
49690
50843
  var init_vendorsCheckDownloadCode2 = __esm(() => {
49691
50844
  init_vendorsCheckDownloadCode();
49692
50845
  init_operations();
49693
50846
  init_tools();
49694
- args33 = {
50847
+ args37 = {
49695
50848
  request: CheckDownloadCodeRequest$inboundSchema
49696
50849
  };
49697
50850
  tool$vendorsCheckDownloadCode = {
@@ -49699,9 +50852,9 @@ var init_vendorsCheckDownloadCode2 = __esm(() => {
49699
50852
  description: `Check download code for vendor credential
49700
50853
 
49701
50854
  It will check download code for vendor credential`,
49702
- args: args33,
49703
- tool: async (client, args34, ctx) => {
49704
- 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();
49705
50858
  if (!result.ok) {
49706
50859
  return {
49707
50860
  content: [{ type: "text", text: result.error.message }],
@@ -49716,9 +50869,9 @@ It will check download code for vendor credential`,
49716
50869
 
49717
50870
  // src/funcs/vendorsCreateNewVendorCredentialVersion.ts
49718
50871
  function vendorsCreateNewVendorCredentialVersion(client, request, options) {
49719
- return new APIPromise($do36(client, request, options));
50872
+ return new APIPromise($do40(client, request, options));
49720
50873
  }
49721
- async function $do36(client, request, options) {
50874
+ async function $do40(client, request, options) {
49722
50875
  const parsed = safeParse(request, (value) => CreateNewVendorCredentialVersionRequestBody$outboundSchema.parse(value), "Input validation failed");
49723
50876
  if (!parsed.ok) {
49724
50877
  return [parsed, { status: "invalid" }];
@@ -49788,12 +50941,12 @@ var init_vendorsCreateNewVendorCredentialVersion = __esm(() => {
49788
50941
  });
49789
50942
 
49790
50943
  // src/mcp-server/tools/vendorsCreateNewVendorCredentialVersion.ts
49791
- var args34, tool$vendorsCreateNewVendorCredentialVersion;
50944
+ var args38, tool$vendorsCreateNewVendorCredentialVersion;
49792
50945
  var init_vendorsCreateNewVendorCredentialVersion2 = __esm(() => {
49793
50946
  init_vendorsCreateNewVendorCredentialVersion();
49794
50947
  init_operations();
49795
50948
  init_tools();
49796
- args34 = {
50949
+ args38 = {
49797
50950
  request: CreateNewVendorCredentialVersionRequestBody$inboundSchema
49798
50951
  };
49799
50952
  tool$vendorsCreateNewVendorCredentialVersion = {
@@ -49801,9 +50954,9 @@ var init_vendorsCreateNewVendorCredentialVersion2 = __esm(() => {
49801
50954
  description: `Create new vendor credential version
49802
50955
 
49803
50956
  It will submit vendor credential`,
49804
- args: args34,
49805
- tool: async (client, args35, ctx) => {
49806
- 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();
49807
50960
  if (!result.ok) {
49808
50961
  return {
49809
50962
  content: [{ type: "text", text: result.error.message }],
@@ -49818,9 +50971,9 @@ It will submit vendor credential`,
49818
50971
 
49819
50972
  // src/funcs/vendorsCreateOrUpdateBcr.ts
49820
50973
  function vendorsCreateOrUpdateBcr(client, request, options) {
49821
- return new APIPromise($do37(client, request, options));
50974
+ return new APIPromise($do41(client, request, options));
49822
50975
  }
49823
- async function $do37(client, request, options) {
50976
+ async function $do41(client, request, options) {
49824
50977
  const parsed = safeParse(request, (value) => CreateOrUpdateBcrRequest$outboundSchema.parse(value), "Input validation failed");
49825
50978
  if (!parsed.ok) {
49826
50979
  return [parsed, { status: "invalid" }];
@@ -49894,12 +51047,12 @@ var init_vendorsCreateOrUpdateBcr = __esm(() => {
49894
51047
  });
49895
51048
 
49896
51049
  // src/mcp-server/tools/vendorsCreateOrUpdateBcr.ts
49897
- var args35, tool$vendorsCreateOrUpdateBcr;
51050
+ var args39, tool$vendorsCreateOrUpdateBcr;
49898
51051
  var init_vendorsCreateOrUpdateBcr2 = __esm(() => {
49899
51052
  init_vendorsCreateOrUpdateBcr();
49900
51053
  init_operations();
49901
51054
  init_tools();
49902
- args35 = {
51055
+ args39 = {
49903
51056
  request: CreateOrUpdateBcrRequest$inboundSchema
49904
51057
  };
49905
51058
  tool$vendorsCreateOrUpdateBcr = {
@@ -49907,9 +51060,9 @@ var init_vendorsCreateOrUpdateBcr2 = __esm(() => {
49907
51060
  description: `Create or update BackgroundCheckResults
49908
51061
 
49909
51062
  It will create or update BackgroundCheckResults`,
49910
- args: args35,
49911
- tool: async (client, args36, ctx) => {
49912
- 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();
49913
51066
  if (!result.ok) {
49914
51067
  return {
49915
51068
  content: [{ type: "text", text: result.error.message }],
@@ -49924,9 +51077,9 @@ It will create or update BackgroundCheckResults`,
49924
51077
 
49925
51078
  // src/funcs/vendorsCreateVendorCompany.ts
49926
51079
  function vendorsCreateVendorCompany(client, request, options) {
49927
- return new APIPromise($do38(client, request, options));
51080
+ return new APIPromise($do42(client, request, options));
49928
51081
  }
49929
- async function $do38(client, request, options) {
51082
+ async function $do42(client, request, options) {
49930
51083
  const parsed = safeParse(request, (value) => CreateVendorCompanyRequest$outboundSchema.parse(value), "Input validation failed");
49931
51084
  if (!parsed.ok) {
49932
51085
  return [parsed, { status: "invalid" }];
@@ -50002,12 +51155,12 @@ var init_vendorsCreateVendorCompany = __esm(() => {
50002
51155
  });
50003
51156
 
50004
51157
  // src/mcp-server/tools/vendorsCreateVendorCompany.ts
50005
- var args36, tool$vendorsCreateVendorCompany;
51158
+ var args40, tool$vendorsCreateVendorCompany;
50006
51159
  var init_vendorsCreateVendorCompany2 = __esm(() => {
50007
51160
  init_vendorsCreateVendorCompany();
50008
51161
  init_operations();
50009
51162
  init_tools();
50010
- args36 = {
51163
+ args40 = {
50011
51164
  request: CreateVendorCompanyRequest$inboundSchema
50012
51165
  };
50013
51166
  tool$vendorsCreateVendorCompany = {
@@ -50015,9 +51168,9 @@ var init_vendorsCreateVendorCompany2 = __esm(() => {
50015
51168
  description: `Create vendor company
50016
51169
 
50017
51170
  Create vendor company`,
50018
- args: args36,
50019
- tool: async (client, args37, ctx) => {
50020
- 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();
50021
51174
  if (!result.ok) {
50022
51175
  return {
50023
51176
  content: [{ type: "text", text: result.error.message }],
@@ -50032,9 +51185,9 @@ Create vendor company`,
50032
51185
 
50033
51186
  // src/funcs/vendorsCreateVendorRegistration.ts
50034
51187
  function vendorsCreateVendorRegistration(client, request, options) {
50035
- return new APIPromise($do39(client, request, options));
51188
+ return new APIPromise($do43(client, request, options));
50036
51189
  }
50037
- async function $do39(client, request, options) {
51190
+ async function $do43(client, request, options) {
50038
51191
  const parsed = safeParse(request, (value) => CreateVendorRegistrationRequestBody$outboundSchema.parse(value), "Input validation failed");
50039
51192
  if (!parsed.ok) {
50040
51193
  return [parsed, { status: "invalid" }];
@@ -50101,12 +51254,12 @@ var init_vendorsCreateVendorRegistration = __esm(() => {
50101
51254
  });
50102
51255
 
50103
51256
  // src/mcp-server/tools/vendorsCreateVendorRegistration.ts
50104
- var args37, tool$vendorsCreateVendorRegistration;
51257
+ var args41, tool$vendorsCreateVendorRegistration;
50105
51258
  var init_vendorsCreateVendorRegistration2 = __esm(() => {
50106
51259
  init_vendorsCreateVendorRegistration();
50107
51260
  init_operations();
50108
51261
  init_tools();
50109
- args37 = {
51262
+ args41 = {
50110
51263
  request: CreateVendorRegistrationRequestBody$inboundSchema
50111
51264
  };
50112
51265
  tool$vendorsCreateVendorRegistration = {
@@ -50114,9 +51267,9 @@ var init_vendorsCreateVendorRegistration2 = __esm(() => {
50114
51267
  description: `Create vendor registration
50115
51268
 
50116
51269
  Create an initial vendor registration. Once successful, the vendor will be able to continue to filling out the rest of their onboarding profile.`,
50117
- args: args37,
50118
- tool: async (client, args38, ctx) => {
50119
- 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();
50120
51273
  if (!result.ok) {
50121
51274
  return {
50122
51275
  content: [{ type: "text", text: result.error.message }],
@@ -50131,9 +51284,9 @@ Create an initial vendor registration. Once successful, the vendor will be able
50131
51284
 
50132
51285
  // src/funcs/vendorsDeclineVendorCredential.ts
50133
51286
  function vendorsDeclineVendorCredential(client, request, options) {
50134
- return new APIPromise($do40(client, request, options));
51287
+ return new APIPromise($do44(client, request, options));
50135
51288
  }
50136
- async function $do40(client, request, options) {
51289
+ async function $do44(client, request, options) {
50137
51290
  const parsed = safeParse(request, (value) => DeclineVendorCredentialRequest$outboundSchema.parse(value), "Input validation failed");
50138
51291
  if (!parsed.ok) {
50139
51292
  return [parsed, { status: "invalid" }];
@@ -50206,12 +51359,12 @@ var init_vendorsDeclineVendorCredential = __esm(() => {
50206
51359
  });
50207
51360
 
50208
51361
  // src/mcp-server/tools/vendorsDeclineVendorCredential.ts
50209
- var args38, tool$vendorsDeclineVendorCredential;
51362
+ var args42, tool$vendorsDeclineVendorCredential;
50210
51363
  var init_vendorsDeclineVendorCredential2 = __esm(() => {
50211
51364
  init_vendorsDeclineVendorCredential();
50212
51365
  init_operations();
50213
51366
  init_tools();
50214
- args38 = {
51367
+ args42 = {
50215
51368
  request: DeclineVendorCredentialRequest$inboundSchema
50216
51369
  };
50217
51370
  tool$vendorsDeclineVendorCredential = {
@@ -50219,9 +51372,9 @@ var init_vendorsDeclineVendorCredential2 = __esm(() => {
50219
51372
  description: `Decline vendor credential
50220
51373
 
50221
51374
  It will decline vendor credential`,
50222
- args: args38,
50223
- tool: async (client, args39, ctx) => {
50224
- 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();
50225
51378
  if (!result.ok) {
50226
51379
  return {
50227
51380
  content: [{ type: "text", text: result.error.message }],
@@ -50236,9 +51389,9 @@ It will decline vendor credential`,
50236
51389
 
50237
51390
  // src/funcs/vendorsDeleteVendorCredentialFile.ts
50238
51391
  function vendorsDeleteVendorCredentialFile(client, request, options) {
50239
- return new APIPromise($do41(client, request, options));
51392
+ return new APIPromise($do45(client, request, options));
50240
51393
  }
50241
- async function $do41(client, request, options) {
51394
+ async function $do45(client, request, options) {
50242
51395
  const parsed = safeParse(request, (value) => DeleteVendorCredentialFileRequest$outboundSchema.parse(value), "Input validation failed");
50243
51396
  if (!parsed.ok) {
50244
51397
  return [parsed, { status: "invalid" }];
@@ -50315,12 +51468,12 @@ var init_vendorsDeleteVendorCredentialFile = __esm(() => {
50315
51468
  });
50316
51469
 
50317
51470
  // src/mcp-server/tools/vendorsDeleteVendorCredentialFile.ts
50318
- var args39, tool$vendorsDeleteVendorCredentialFile;
51471
+ var args43, tool$vendorsDeleteVendorCredentialFile;
50319
51472
  var init_vendorsDeleteVendorCredentialFile2 = __esm(() => {
50320
51473
  init_vendorsDeleteVendorCredentialFile();
50321
51474
  init_operations();
50322
51475
  init_tools();
50323
- args39 = {
51476
+ args43 = {
50324
51477
  request: DeleteVendorCredentialFileRequest$inboundSchema
50325
51478
  };
50326
51479
  tool$vendorsDeleteVendorCredentialFile = {
@@ -50328,9 +51481,9 @@ var init_vendorsDeleteVendorCredentialFile2 = __esm(() => {
50328
51481
  description: `Delete vendor credential file
50329
51482
 
50330
51483
  It will delete the vendor credential file`,
50331
- args: args39,
50332
- tool: async (client, args40, ctx) => {
50333
- 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();
50334
51487
  if (!result.ok) {
50335
51488
  return {
50336
51489
  content: [{ type: "text", text: result.error.message }],
@@ -50345,9 +51498,9 @@ It will delete the vendor credential file`,
50345
51498
 
50346
51499
  // src/funcs/vendorsDeleteVendorManagedByCompany.ts
50347
51500
  function vendorsDeleteVendorManagedByCompany(client, request, options) {
50348
- return new APIPromise($do42(client, request, options));
51501
+ return new APIPromise($do46(client, request, options));
50349
51502
  }
50350
- async function $do42(client, request, options) {
51503
+ async function $do46(client, request, options) {
50351
51504
  const parsed = safeParse(request, (value) => DeleteVendorManagedByCompanyRequest$outboundSchema.parse(value), "Input validation failed");
50352
51505
  if (!parsed.ok) {
50353
51506
  return [parsed, { status: "invalid" }];
@@ -50423,12 +51576,12 @@ var init_vendorsDeleteVendorManagedByCompany = __esm(() => {
50423
51576
  });
50424
51577
 
50425
51578
  // src/mcp-server/tools/vendorsDeleteVendorManagedByCompany.ts
50426
- var args40, tool$vendorsDeleteVendorManagedByCompany;
51579
+ var args44, tool$vendorsDeleteVendorManagedByCompany;
50427
51580
  var init_vendorsDeleteVendorManagedByCompany2 = __esm(() => {
50428
51581
  init_vendorsDeleteVendorManagedByCompany();
50429
51582
  init_operations();
50430
51583
  init_tools();
50431
- args40 = {
51584
+ args44 = {
50432
51585
  request: DeleteVendorManagedByCompanyRequest$inboundSchema
50433
51586
  };
50434
51587
  tool$vendorsDeleteVendorManagedByCompany = {
@@ -50436,9 +51589,9 @@ var init_vendorsDeleteVendorManagedByCompany2 = __esm(() => {
50436
51589
  description: `Delete vendor managed by company
50437
51590
 
50438
51591
  It will delete the vendor managed by company`,
50439
- args: args40,
50440
- tool: async (client, args41, ctx) => {
50441
- 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();
50442
51595
  if (!result.ok) {
50443
51596
  return {
50444
51597
  content: [{ type: "text", text: result.error.message }],
@@ -50453,9 +51606,9 @@ It will delete the vendor managed by company`,
50453
51606
 
50454
51607
  // src/funcs/vendorsExpediteTimeRemaining.ts
50455
51608
  function vendorsExpediteTimeRemaining(client, request, options) {
50456
- return new APIPromise($do43(client, request, options));
51609
+ return new APIPromise($do47(client, request, options));
50457
51610
  }
50458
- async function $do43(client, request, options) {
51611
+ async function $do47(client, request, options) {
50459
51612
  const parsed = safeParse(request, (value) => ExpediteTimeRemainingRequest$outboundSchema.parse(value), "Input validation failed");
50460
51613
  if (!parsed.ok) {
50461
51614
  return [parsed, { status: "invalid" }];
@@ -50530,12 +51683,12 @@ var init_vendorsExpediteTimeRemaining = __esm(() => {
50530
51683
  });
50531
51684
 
50532
51685
  // src/mcp-server/tools/vendorsExpediteTimeRemaining.ts
50533
- var args41, tool$vendorsExpediteTimeRemaining;
51686
+ var args45, tool$vendorsExpediteTimeRemaining;
50534
51687
  var init_vendorsExpediteTimeRemaining2 = __esm(() => {
50535
51688
  init_vendorsExpediteTimeRemaining();
50536
51689
  init_operations();
50537
51690
  init_tools();
50538
- args41 = {
51691
+ args45 = {
50539
51692
  request: ExpediteTimeRemainingRequest$inboundSchema
50540
51693
  };
50541
51694
  tool$vendorsExpediteTimeRemaining = {
@@ -50543,9 +51696,9 @@ var init_vendorsExpediteTimeRemaining2 = __esm(() => {
50543
51696
  description: `Expedite time remaining
50544
51697
 
50545
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.`,
50546
- args: args41,
50547
- tool: async (client, args42, ctx) => {
50548
- 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();
50549
51702
  if (!result.ok) {
50550
51703
  return {
50551
51704
  content: [{ type: "text", text: result.error.message }],
@@ -50560,9 +51713,9 @@ For vendors who have a paid 24-hour expedite credentials invoice, get the remain
50560
51713
 
50561
51714
  // src/funcs/vendorsGetSubscription.ts
50562
51715
  function vendorsGetSubscription(client, request, options) {
50563
- return new APIPromise($do44(client, request, options));
51716
+ return new APIPromise($do48(client, request, options));
50564
51717
  }
50565
- async function $do44(client, request, options) {
51718
+ async function $do48(client, request, options) {
50566
51719
  const parsed = safeParse(request, (value) => GetSubscriptionRequest$outboundSchema.parse(value), "Input validation failed");
50567
51720
  if (!parsed.ok) {
50568
51721
  return [parsed, { status: "invalid" }];
@@ -50641,12 +51794,12 @@ var init_vendorsGetSubscription = __esm(() => {
50641
51794
  });
50642
51795
 
50643
51796
  // src/mcp-server/tools/vendorsGetSubscription.ts
50644
- var args42, tool$vendorsGetSubscription;
51797
+ var args46, tool$vendorsGetSubscription;
50645
51798
  var init_vendorsGetSubscription2 = __esm(() => {
50646
51799
  init_vendorsGetSubscription();
50647
51800
  init_operations();
50648
51801
  init_tools();
50649
- args42 = {
51802
+ args46 = {
50650
51803
  request: GetSubscriptionRequest$inboundSchema
50651
51804
  };
50652
51805
  tool$vendorsGetSubscription = {
@@ -50658,9 +51811,9 @@ Get vendor subscription
50658
51811
  Available \`expand\` scopes are:
50659
51812
 
50660
51813
  subscription.expedited_offer`,
50661
- args: args42,
50662
- tool: async (client, args43, ctx) => {
50663
- 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();
50664
51817
  if (!result.ok) {
50665
51818
  return {
50666
51819
  content: [{ type: "text", text: result.error.message }],
@@ -50675,9 +51828,9 @@ subscription.expedited_offer`,
50675
51828
 
50676
51829
  // src/funcs/vendorsGetVendorCredentialDetails.ts
50677
51830
  function vendorsGetVendorCredentialDetails(client, request, options) {
50678
- return new APIPromise($do45(client, request, options));
51831
+ return new APIPromise($do49(client, request, options));
50679
51832
  }
50680
- async function $do45(client, request, options) {
51833
+ async function $do49(client, request, options) {
50681
51834
  const parsed = safeParse(request, (value) => GetVendorCredentialDetailsRequest$outboundSchema.parse(value), "Input validation failed");
50682
51835
  if (!parsed.ok) {
50683
51836
  return [parsed, { status: "invalid" }];
@@ -50760,12 +51913,12 @@ var init_vendorsGetVendorCredentialDetails = __esm(() => {
50760
51913
  });
50761
51914
 
50762
51915
  // src/mcp-server/tools/vendorsGetVendorCredentialDetails.ts
50763
- var args43, tool$vendorsGetVendorCredentialDetails;
51916
+ var args47, tool$vendorsGetVendorCredentialDetails;
50764
51917
  var init_vendorsGetVendorCredentialDetails2 = __esm(() => {
50765
51918
  init_vendorsGetVendorCredentialDetails();
50766
51919
  init_operations();
50767
51920
  init_tools();
50768
- args43 = {
51921
+ args47 = {
50769
51922
  request: GetVendorCredentialDetailsRequest$inboundSchema
50770
51923
  };
50771
51924
  tool$vendorsGetVendorCredentialDetails = {
@@ -50791,9 +51944,9 @@ Available \`expand\` scopes are:
50791
51944
  - vendor_credential.credential_variants
50792
51945
  - vendor_credential.targets_chop
50793
51946
  - vendor_credential.total_pending_credentials`,
50794
- args: args43,
50795
- tool: async (client, args44, ctx) => {
50796
- 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();
50797
51950
  if (!result.ok) {
50798
51951
  return {
50799
51952
  content: [{ type: "text", text: result.error.message }],
@@ -50808,9 +51961,9 @@ Available \`expand\` scopes are:
50808
51961
 
50809
51962
  // src/funcs/vendorsGetVendorCredentialFile.ts
50810
51963
  function vendorsGetVendorCredentialFile(client, request, options) {
50811
- return new APIPromise($do46(client, request, options));
51964
+ return new APIPromise($do50(client, request, options));
50812
51965
  }
50813
- async function $do46(client, request, options) {
51966
+ async function $do50(client, request, options) {
50814
51967
  const parsed = safeParse(request, (value) => GetVendorCredentialFileRequest$outboundSchema.parse(value), "Input validation failed");
50815
51968
  if (!parsed.ok) {
50816
51969
  return [parsed, { status: "invalid" }];
@@ -50891,12 +52044,12 @@ var init_vendorsGetVendorCredentialFile = __esm(() => {
50891
52044
  });
50892
52045
 
50893
52046
  // src/mcp-server/tools/vendorsGetVendorCredentialFile.ts
50894
- var args44, tool$vendorsGetVendorCredentialFile;
52047
+ var args48, tool$vendorsGetVendorCredentialFile;
50895
52048
  var init_vendorsGetVendorCredentialFile2 = __esm(() => {
50896
52049
  init_vendorsGetVendorCredentialFile();
50897
52050
  init_operations();
50898
52051
  init_tools();
50899
- args44 = {
52052
+ args48 = {
50900
52053
  request: GetVendorCredentialFileRequest$inboundSchema
50901
52054
  };
50902
52055
  tool$vendorsGetVendorCredentialFile = {
@@ -50909,9 +52062,9 @@ Available \`expand\` scopes are:
50909
52062
 
50910
52063
  - vendor_credential_file.vendor_credential
50911
52064
  - vendor_credential_file.credential_document`,
50912
- args: args44,
50913
- tool: async (client, args45, ctx) => {
50914
- 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();
50915
52068
  if (!result.ok) {
50916
52069
  return {
50917
52070
  content: [{ type: "text", text: result.error.message }],
@@ -50926,9 +52079,9 @@ Available \`expand\` scopes are:
50926
52079
 
50927
52080
  // src/funcs/vendorsGetVendorInvoiceDetails.ts
50928
52081
  function vendorsGetVendorInvoiceDetails(client, request, options) {
50929
- return new APIPromise($do47(client, request, options));
52082
+ return new APIPromise($do51(client, request, options));
50930
52083
  }
50931
- async function $do47(client, request, options) {
52084
+ async function $do51(client, request, options) {
50932
52085
  const parsed = safeParse(request, (value) => GetVendorInvoiceDetailsRequest$outboundSchema.parse(value), "Input validation failed");
50933
52086
  if (!parsed.ok) {
50934
52087
  return [parsed, { status: "invalid" }];
@@ -51008,12 +52161,12 @@ var init_vendorsGetVendorInvoiceDetails = __esm(() => {
51008
52161
  });
51009
52162
 
51010
52163
  // src/mcp-server/tools/vendorsGetVendorInvoiceDetails.ts
51011
- var args45, tool$vendorsGetVendorInvoiceDetails;
52164
+ var args49, tool$vendorsGetVendorInvoiceDetails;
51012
52165
  var init_vendorsGetVendorInvoiceDetails2 = __esm(() => {
51013
52166
  init_vendorsGetVendorInvoiceDetails();
51014
52167
  init_operations();
51015
52168
  init_tools();
51016
- args45 = {
52169
+ args49 = {
51017
52170
  request: GetVendorInvoiceDetailsRequest$inboundSchema
51018
52171
  };
51019
52172
  tool$vendorsGetVendorInvoiceDetails = {
@@ -51026,9 +52179,9 @@ Available \`expand\` scopes are:
51026
52179
 
51027
52180
  invoice.line_items
51028
52181
  invoice.invoice_transactions`,
51029
- args: args45,
51030
- tool: async (client, args46, ctx) => {
51031
- 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();
51032
52185
  if (!result.ok) {
51033
52186
  return {
51034
52187
  content: [{ type: "text", text: result.error.message }],
@@ -51043,9 +52196,9 @@ invoice.invoice_transactions`,
51043
52196
 
51044
52197
  // src/funcs/vendorsGetVendorInvoiceReceipt.ts
51045
52198
  function vendorsGetVendorInvoiceReceipt(client, request, options) {
51046
- return new APIPromise($do48(client, request, options));
52199
+ return new APIPromise($do52(client, request, options));
51047
52200
  }
51048
- async function $do48(client, request, options) {
52201
+ async function $do52(client, request, options) {
51049
52202
  const parsed = safeParse(request, (value) => GetVendorInvoiceReceiptRequest$outboundSchema.parse(value), "Input validation failed");
51050
52203
  if (!parsed.ok) {
51051
52204
  return [parsed, { status: "invalid" }];
@@ -51120,12 +52273,12 @@ var init_vendorsGetVendorInvoiceReceipt = __esm(() => {
51120
52273
  });
51121
52274
 
51122
52275
  // src/mcp-server/tools/vendorsGetVendorInvoiceReceipt.ts
51123
- var args46, tool$vendorsGetVendorInvoiceReceipt;
52276
+ var args50, tool$vendorsGetVendorInvoiceReceipt;
51124
52277
  var init_vendorsGetVendorInvoiceReceipt2 = __esm(() => {
51125
52278
  init_vendorsGetVendorInvoiceReceipt();
51126
52279
  init_operations();
51127
52280
  init_tools();
51128
- args46 = {
52281
+ args50 = {
51129
52282
  request: GetVendorInvoiceReceiptRequest$inboundSchema
51130
52283
  };
51131
52284
  tool$vendorsGetVendorInvoiceReceipt = {
@@ -51133,9 +52286,9 @@ var init_vendorsGetVendorInvoiceReceipt2 = __esm(() => {
51133
52286
  description: `Get invoice receipt for vendor
51134
52287
 
51135
52288
  Get invoice receipt for vendor`,
51136
- args: args46,
51137
- tool: async (client, args47, ctx) => {
51138
- 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();
51139
52292
  if (!result.ok) {
51140
52293
  return {
51141
52294
  content: [{ type: "text", text: result.error.message }],
@@ -51150,9 +52303,9 @@ Get invoice receipt for vendor`,
51150
52303
 
51151
52304
  // src/funcs/vendorsGetVendorLegalName.ts
51152
52305
  function vendorsGetVendorLegalName(client, request, options) {
51153
- return new APIPromise($do49(client, request, options));
52306
+ return new APIPromise($do53(client, request, options));
51154
52307
  }
51155
- async function $do49(client, request, options) {
52308
+ async function $do53(client, request, options) {
51156
52309
  const parsed = safeParse(request, (value) => GetVendorLegalNameRequest$outboundSchema.parse(value), "Input validation failed");
51157
52310
  if (!parsed.ok) {
51158
52311
  return [parsed, { status: "invalid" }];
@@ -51227,12 +52380,12 @@ var init_vendorsGetVendorLegalName = __esm(() => {
51227
52380
  });
51228
52381
 
51229
52382
  // src/mcp-server/tools/vendorsGetVendorLegalName.ts
51230
- var args47, tool$vendorsGetVendorLegalName;
52383
+ var args51, tool$vendorsGetVendorLegalName;
51231
52384
  var init_vendorsGetVendorLegalName2 = __esm(() => {
51232
52385
  init_vendorsGetVendorLegalName();
51233
52386
  init_operations();
51234
52387
  init_tools();
51235
- args47 = {
52388
+ args51 = {
51236
52389
  request: GetVendorLegalNameRequest$inboundSchema
51237
52390
  };
51238
52391
  tool$vendorsGetVendorLegalName = {
@@ -51240,9 +52393,9 @@ var init_vendorsGetVendorLegalName2 = __esm(() => {
51240
52393
  description: `Get Vendor legal name
51241
52394
 
51242
52395
  Get vendor legal name`,
51243
- args: args47,
51244
- tool: async (client, args48, ctx) => {
51245
- 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();
51246
52399
  if (!result.ok) {
51247
52400
  return {
51248
52401
  content: [{ type: "text", text: result.error.message }],
@@ -51257,9 +52410,9 @@ Get vendor legal name`,
51257
52410
 
51258
52411
  // src/funcs/vendorsGetVendorsDetails.ts
51259
52412
  function vendorsGetVendorsDetails(client, request, options) {
51260
- return new APIPromise($do50(client, request, options));
52413
+ return new APIPromise($do54(client, request, options));
51261
52414
  }
51262
- async function $do50(client, request, options) {
52415
+ async function $do54(client, request, options) {
51263
52416
  const parsed = safeParse(request, (value) => GetVendorsDetailsRequest$outboundSchema.parse(value), "Input validation failed");
51264
52417
  if (!parsed.ok) {
51265
52418
  return [parsed, { status: "invalid" }];
@@ -51339,12 +52492,12 @@ var init_vendorsGetVendorsDetails = __esm(() => {
51339
52492
  });
51340
52493
 
51341
52494
  // src/mcp-server/tools/vendorsGetVendorsDetails.ts
51342
- var args48, tool$vendorsGetVendorsDetails;
52495
+ var args52, tool$vendorsGetVendorsDetails;
51343
52496
  var init_vendorsGetVendorsDetails2 = __esm(() => {
51344
52497
  init_vendorsGetVendorsDetails();
51345
52498
  init_operations();
51346
52499
  init_tools();
51347
- args48 = {
52500
+ args52 = {
51348
52501
  request: GetVendorsDetailsRequest$inboundSchema
51349
52502
  };
51350
52503
  tool$vendorsGetVendorsDetails = {
@@ -51373,9 +52526,9 @@ vendor.registration_finished
51373
52526
  vendor.target_facilities
51374
52527
  vendor.pending_invoice
51375
52528
  vendor.vendor_groups`,
51376
- args: args48,
51377
- tool: async (client, args49, ctx) => {
51378
- 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();
51379
52532
  if (!result.ok) {
51380
52533
  return {
51381
52534
  content: [{ type: "text", text: result.error.message }],
@@ -51390,9 +52543,9 @@ vendor.vendor_groups`,
51390
52543
 
51391
52544
  // src/funcs/vendorsListVendorAdditionalFacilityFields.ts
51392
52545
  function vendorsListVendorAdditionalFacilityFields(client, request, options) {
51393
- return new APIPromise($do51(client, request, options));
52546
+ return new APIPromise($do55(client, request, options));
51394
52547
  }
51395
- async function $do51(client, request, options) {
52548
+ async function $do55(client, request, options) {
51396
52549
  const parsed = safeParse(request, (value) => ListVendorAdditionalFacilityFieldsRequest$outboundSchema.parse(value), "Input validation failed");
51397
52550
  if (!parsed.ok) {
51398
52551
  return [haltIterator(parsed), { status: "invalid" }];
@@ -51504,12 +52657,12 @@ var init_vendorsListVendorAdditionalFacilityFields = __esm(() => {
51504
52657
  });
51505
52658
 
51506
52659
  // src/mcp-server/tools/vendorsListVendorAdditionalFacilityFields.ts
51507
- var args49, tool$vendorsListVendorAdditionalFacilityFields;
52660
+ var args53, tool$vendorsListVendorAdditionalFacilityFields;
51508
52661
  var init_vendorsListVendorAdditionalFacilityFields2 = __esm(() => {
51509
52662
  init_vendorsListVendorAdditionalFacilityFields();
51510
52663
  init_operations();
51511
52664
  init_tools();
51512
- args49 = {
52665
+ args53 = {
51513
52666
  request: ListVendorAdditionalFacilityFieldsRequest$inboundSchema
51514
52667
  };
51515
52668
  tool$vendorsListVendorAdditionalFacilityFields = {
@@ -51517,9 +52670,9 @@ var init_vendorsListVendorAdditionalFacilityFields2 = __esm(() => {
51517
52670
  description: `List of vendor's additional facility fields
51518
52671
 
51519
52672
  List of vendor's additional facility fields`,
51520
- args: args49,
51521
- tool: async (client, args50, ctx) => {
51522
- 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();
51523
52676
  if (!result.ok) {
51524
52677
  return {
51525
52678
  content: [{ type: "text", text: result.error.message }],
@@ -51534,9 +52687,9 @@ List of vendor's additional facility fields`,
51534
52687
 
51535
52688
  // src/funcs/vendorsListVendorCredentialDataRequests.ts
51536
52689
  function vendorsListVendorCredentialDataRequests(client, request, options) {
51537
- return new APIPromise($do52(client, request, options));
52690
+ return new APIPromise($do56(client, request, options));
51538
52691
  }
51539
- async function $do52(client, request, options) {
52692
+ async function $do56(client, request, options) {
51540
52693
  const parsed = safeParse(request, (value) => ListVendorCredentialDataRequestsRequest$outboundSchema.parse(value), "Input validation failed");
51541
52694
  if (!parsed.ok) {
51542
52695
  return [parsed, { status: "invalid" }];
@@ -51619,12 +52772,12 @@ var init_vendorsListVendorCredentialDataRequests = __esm(() => {
51619
52772
  });
51620
52773
 
51621
52774
  // src/mcp-server/tools/vendorsListVendorCredentialDataRequests.ts
51622
- var args50, tool$vendorsListVendorCredentialDataRequests;
52775
+ var args54, tool$vendorsListVendorCredentialDataRequests;
51623
52776
  var init_vendorsListVendorCredentialDataRequests2 = __esm(() => {
51624
52777
  init_vendorsListVendorCredentialDataRequests();
51625
52778
  init_operations();
51626
52779
  init_tools();
51627
- args50 = {
52780
+ args54 = {
51628
52781
  request: ListVendorCredentialDataRequestsRequest$inboundSchema
51629
52782
  };
51630
52783
  tool$vendorsListVendorCredentialDataRequests = {
@@ -51637,9 +52790,9 @@ Available \`expand\` scopes are:
51637
52790
 
51638
52791
  - vendor_credential_data_request.vendor_credential
51639
52792
  - vendor_credential_data_request.data_request`,
51640
- args: args50,
51641
- tool: async (client, args51, ctx) => {
51642
- 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();
51643
52796
  if (!result.ok) {
51644
52797
  return {
51645
52798
  content: [{ type: "text", text: result.error.message }],
@@ -51654,9 +52807,9 @@ Available \`expand\` scopes are:
51654
52807
 
51655
52808
  // src/funcs/vendorsListVendorCredentialFiles.ts
51656
52809
  function vendorsListVendorCredentialFiles(client, request, options) {
51657
- return new APIPromise($do53(client, request, options));
52810
+ return new APIPromise($do57(client, request, options));
51658
52811
  }
51659
- async function $do53(client, request, options) {
52812
+ async function $do57(client, request, options) {
51660
52813
  const parsed = safeParse(request, (value) => ListVendorCredentialFilesRequest$outboundSchema.parse(value), "Input validation failed");
51661
52814
  if (!parsed.ok) {
51662
52815
  return [parsed, { status: "invalid" }];
@@ -51739,12 +52892,12 @@ var init_vendorsListVendorCredentialFiles = __esm(() => {
51739
52892
  });
51740
52893
 
51741
52894
  // src/mcp-server/tools/vendorsListVendorCredentialFiles.ts
51742
- var args51, tool$vendorsListVendorCredentialFiles;
52895
+ var args55, tool$vendorsListVendorCredentialFiles;
51743
52896
  var init_vendorsListVendorCredentialFiles2 = __esm(() => {
51744
52897
  init_vendorsListVendorCredentialFiles();
51745
52898
  init_operations();
51746
52899
  init_tools();
51747
- args51 = {
52900
+ args55 = {
51748
52901
  request: ListVendorCredentialFilesRequest$inboundSchema
51749
52902
  };
51750
52903
  tool$vendorsListVendorCredentialFiles = {
@@ -51757,9 +52910,9 @@ Available \`expand\` scopes are:
51757
52910
 
51758
52911
  - vendor_credential_file.vendor_credential
51759
52912
  - vendor_credential_file.credential_document`,
51760
- args: args51,
51761
- tool: async (client, args52, ctx) => {
51762
- 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();
51763
52916
  if (!result.ok) {
51764
52917
  return {
51765
52918
  content: [{ type: "text", text: result.error.message }],
@@ -51774,9 +52927,9 @@ Available \`expand\` scopes are:
51774
52927
 
51775
52928
  // src/funcs/vendorsListVendorCredentialHistory.ts
51776
52929
  function vendorsListVendorCredentialHistory(client, request, options) {
51777
- return new APIPromise($do54(client, request, options));
52930
+ return new APIPromise($do58(client, request, options));
51778
52931
  }
51779
- async function $do54(client, request, options) {
52932
+ async function $do58(client, request, options) {
51780
52933
  const parsed = safeParse(request, (value) => ListVendorCredentialHistoryRequest$outboundSchema.parse(value), "Input validation failed");
51781
52934
  if (!parsed.ok) {
51782
52935
  return [haltIterator(parsed), { status: "invalid" }];
@@ -51891,12 +53044,12 @@ var init_vendorsListVendorCredentialHistory = __esm(() => {
51891
53044
  });
51892
53045
 
51893
53046
  // src/mcp-server/tools/vendorsListVendorCredentialHistory.ts
51894
- var args52, tool$vendorsListVendorCredentialHistory;
53047
+ var args56, tool$vendorsListVendorCredentialHistory;
51895
53048
  var init_vendorsListVendorCredentialHistory2 = __esm(() => {
51896
53049
  init_vendorsListVendorCredentialHistory();
51897
53050
  init_operations();
51898
53051
  init_tools();
51899
- args52 = {
53052
+ args56 = {
51900
53053
  request: ListVendorCredentialHistoryRequest$inboundSchema
51901
53054
  };
51902
53055
  tool$vendorsListVendorCredentialHistory = {
@@ -51904,9 +53057,9 @@ var init_vendorsListVendorCredentialHistory2 = __esm(() => {
51904
53057
  description: `List Vendor Credential History
51905
53058
 
51906
53059
  Lists vendor credentials history`,
51907
- args: args52,
51908
- tool: async (client, args53, ctx) => {
51909
- 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();
51910
53063
  if (!result.ok) {
51911
53064
  return {
51912
53065
  content: [{ type: "text", text: result.error.message }],
@@ -51921,9 +53074,9 @@ Lists vendor credentials history`,
51921
53074
 
51922
53075
  // src/funcs/vendorsListVendorCredentials.ts
51923
53076
  function vendorsListVendorCredentials(client, request, options) {
51924
- return new APIPromise($do55(client, request, options));
53077
+ return new APIPromise($do59(client, request, options));
51925
53078
  }
51926
- async function $do55(client, request, options) {
53079
+ async function $do59(client, request, options) {
51927
53080
  const parsed = safeParse(request, (value) => ListVendorCredentialsRequest$outboundSchema.parse(value), "Input validation failed");
51928
53081
  if (!parsed.ok) {
51929
53082
  return [haltIterator(parsed), { status: "invalid" }];
@@ -52043,12 +53196,12 @@ var init_vendorsListVendorCredentials = __esm(() => {
52043
53196
  });
52044
53197
 
52045
53198
  // src/mcp-server/tools/vendorsListVendorCredentials.ts
52046
- var args53, tool$vendorsListVendorCredentials;
53199
+ var args57, tool$vendorsListVendorCredentials;
52047
53200
  var init_vendorsListVendorCredentials2 = __esm(() => {
52048
53201
  init_vendorsListVendorCredentials();
52049
53202
  init_operations();
52050
53203
  init_tools();
52051
- args53 = {
53204
+ args57 = {
52052
53205
  request: ListVendorCredentialsRequest$inboundSchema
52053
53206
  };
52054
53207
  tool$vendorsListVendorCredentials = {
@@ -52056,9 +53209,9 @@ var init_vendorsListVendorCredentials2 = __esm(() => {
52056
53209
  description: `List Vendor Credentials
52057
53210
 
52058
53211
  Lists vendor credentials, required credentials, and company credentials. Utilized in Vendor Dashboard.`,
52059
- args: args53,
52060
- tool: async (client, args54, ctx) => {
52061
- 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();
52062
53215
  if (!result.ok) {
52063
53216
  return {
52064
53217
  content: [{ type: "text", text: result.error.message }],
@@ -52073,9 +53226,9 @@ Lists vendor credentials, required credentials, and company credentials. Utilize
52073
53226
 
52074
53227
  // src/funcs/vendorsListVendorCredits.ts
52075
53228
  function vendorsListVendorCredits(client, request, options) {
52076
- return new APIPromise($do56(client, request, options));
53229
+ return new APIPromise($do60(client, request, options));
52077
53230
  }
52078
- async function $do56(client, request, options) {
53231
+ async function $do60(client, request, options) {
52079
53232
  const parsed = safeParse(request, (value) => ListVendorCreditsRequest$outboundSchema.parse(value), "Input validation failed");
52080
53233
  if (!parsed.ok) {
52081
53234
  return [haltIterator(parsed), { status: "invalid" }];
@@ -52189,12 +53342,12 @@ var init_vendorsListVendorCredits = __esm(() => {
52189
53342
  });
52190
53343
 
52191
53344
  // src/mcp-server/tools/vendorsListVendorCredits.ts
52192
- var args54, tool$vendorsListVendorCredits;
53345
+ var args58, tool$vendorsListVendorCredits;
52193
53346
  var init_vendorsListVendorCredits2 = __esm(() => {
52194
53347
  init_vendorsListVendorCredits();
52195
53348
  init_operations();
52196
53349
  init_tools();
52197
- args54 = {
53350
+ args58 = {
52198
53351
  request: ListVendorCreditsRequest$inboundSchema
52199
53352
  };
52200
53353
  tool$vendorsListVendorCredits = {
@@ -52202,9 +53355,9 @@ var init_vendorsListVendorCredits2 = __esm(() => {
52202
53355
  description: `List vendor credits
52203
53356
 
52204
53357
  List the credits for the vendor`,
52205
- args: args54,
52206
- tool: async (client, args55, ctx) => {
52207
- 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();
52208
53361
  if (!result.ok) {
52209
53362
  return {
52210
53363
  content: [{ type: "text", text: result.error.message }],
@@ -52219,9 +53372,9 @@ List the credits for the vendor`,
52219
53372
 
52220
53373
  // src/funcs/vendorsListVendorFacilityStatuses.ts
52221
53374
  function vendorsListVendorFacilityStatuses(client, request, options) {
52222
- return new APIPromise($do57(client, request, options));
53375
+ return new APIPromise($do61(client, request, options));
52223
53376
  }
52224
- async function $do57(client, request, options) {
53377
+ async function $do61(client, request, options) {
52225
53378
  const parsed = safeParse(request, (value) => ListVendorFacilityStatusesRequest$outboundSchema.parse(value), "Input validation failed");
52226
53379
  if (!parsed.ok) {
52227
53380
  return [haltIterator(parsed), { status: "invalid" }];
@@ -52339,12 +53492,12 @@ var init_vendorsListVendorFacilityStatuses = __esm(() => {
52339
53492
  });
52340
53493
 
52341
53494
  // src/mcp-server/tools/vendorsListVendorFacilityStatuses.ts
52342
- var args55, tool$vendorsListVendorFacilityStatuses;
53495
+ var args59, tool$vendorsListVendorFacilityStatuses;
52343
53496
  var init_vendorsListVendorFacilityStatuses2 = __esm(() => {
52344
53497
  init_vendorsListVendorFacilityStatuses();
52345
53498
  init_operations();
52346
53499
  init_tools();
52347
- args55 = {
53500
+ args59 = {
52348
53501
  request: ListVendorFacilityStatusesRequest$inboundSchema
52349
53502
  };
52350
53503
  tool$vendorsListVendorFacilityStatuses = {
@@ -52352,9 +53505,9 @@ var init_vendorsListVendorFacilityStatuses2 = __esm(() => {
52352
53505
  description: `List vendor facility statuses
52353
53506
 
52354
53507
  List the facilities for the vendor`,
52355
- args: args55,
52356
- tool: async (client, args56, ctx) => {
52357
- 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();
52358
53511
  if (!result.ok) {
52359
53512
  return {
52360
53513
  content: [{ type: "text", text: result.error.message }],
@@ -52369,9 +53522,9 @@ List the facilities for the vendor`,
52369
53522
 
52370
53523
  // src/funcs/vendorsListVendorInvoices.ts
52371
53524
  function vendorsListVendorInvoices(client, request, options) {
52372
- return new APIPromise($do58(client, request, options));
53525
+ return new APIPromise($do62(client, request, options));
52373
53526
  }
52374
- async function $do58(client, request, options) {
53527
+ async function $do62(client, request, options) {
52375
53528
  const parsed = safeParse(request, (value) => ListVendorInvoicesRequest$outboundSchema.parse(value), "Input validation failed");
52376
53529
  if (!parsed.ok) {
52377
53530
  return [haltIterator(parsed), { status: "invalid" }];
@@ -52489,12 +53642,12 @@ var init_vendorsListVendorInvoices = __esm(() => {
52489
53642
  });
52490
53643
 
52491
53644
  // src/mcp-server/tools/vendorsListVendorInvoices.ts
52492
- var args56, tool$vendorsListVendorInvoices;
53645
+ var args60, tool$vendorsListVendorInvoices;
52493
53646
  var init_vendorsListVendorInvoices2 = __esm(() => {
52494
53647
  init_vendorsListVendorInvoices();
52495
53648
  init_operations();
52496
53649
  init_tools();
52497
- args56 = {
53650
+ args60 = {
52498
53651
  request: ListVendorInvoicesRequest$inboundSchema
52499
53652
  };
52500
53653
  tool$vendorsListVendorInvoices = {
@@ -52506,9 +53659,9 @@ List invoices for Vendors
52506
53659
  Available \`expand\` scopes are:
52507
53660
 
52508
53661
  invoice.line_items`,
52509
- args: args56,
52510
- tool: async (client, args57, ctx) => {
52511
- 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();
52512
53665
  if (!result.ok) {
52513
53666
  return {
52514
53667
  content: [{ type: "text", text: result.error.message }],
@@ -52523,9 +53676,9 @@ invoice.line_items`,
52523
53676
 
52524
53677
  // src/funcs/vendorsListVendorJobTitles.ts
52525
53678
  function vendorsListVendorJobTitles(client, request, options) {
52526
- return new APIPromise($do59(client, request, options));
53679
+ return new APIPromise($do63(client, request, options));
52527
53680
  }
52528
- async function $do59(client, request, options) {
53681
+ async function $do63(client, request, options) {
52529
53682
  const parsed = safeParse(request, (value) => ListVendorJobTitlesRequest$outboundSchema.parse(value), "Input validation failed");
52530
53683
  if (!parsed.ok) {
52531
53684
  return [haltIterator(parsed), { status: "invalid" }];
@@ -52634,12 +53787,12 @@ var init_vendorsListVendorJobTitles = __esm(() => {
52634
53787
  });
52635
53788
 
52636
53789
  // src/mcp-server/tools/vendorsListVendorJobTitles.ts
52637
- var args57, tool$vendorsListVendorJobTitles;
53790
+ var args61, tool$vendorsListVendorJobTitles;
52638
53791
  var init_vendorsListVendorJobTitles2 = __esm(() => {
52639
53792
  init_vendorsListVendorJobTitles();
52640
53793
  init_operations();
52641
53794
  init_tools();
52642
- args57 = {
53795
+ args61 = {
52643
53796
  request: ListVendorJobTitlesRequest$inboundSchema
52644
53797
  };
52645
53798
  tool$vendorsListVendorJobTitles = {
@@ -52647,9 +53800,9 @@ var init_vendorsListVendorJobTitles2 = __esm(() => {
52647
53800
  description: `List vendor job titles
52648
53801
 
52649
53802
  List valid job titles for Vendors. This can be used during sign up or in a filter.`,
52650
- args: args57,
52651
- tool: async (client, args58, ctx) => {
52652
- 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();
52653
53806
  if (!result.ok) {
52654
53807
  return {
52655
53808
  content: [{ type: "text", text: result.error.message }],
@@ -52664,9 +53817,9 @@ List valid job titles for Vendors. This can be used during sign up or in a filte
52664
53817
 
52665
53818
  // src/funcs/vendorsListVendorManagedByCompanies.ts
52666
53819
  function vendorsListVendorManagedByCompanies(client, request, options) {
52667
- return new APIPromise($do60(client, request, options));
53820
+ return new APIPromise($do64(client, request, options));
52668
53821
  }
52669
- async function $do60(client, request, options) {
53822
+ async function $do64(client, request, options) {
52670
53823
  const parsed = safeParse(request, (value) => ListVendorManagedByCompaniesRequest$outboundSchema.parse(value), "Input validation failed");
52671
53824
  if (!parsed.ok) {
52672
53825
  return [haltIterator(parsed), { status: "invalid" }];
@@ -52780,12 +53933,12 @@ var init_vendorsListVendorManagedByCompanies = __esm(() => {
52780
53933
  });
52781
53934
 
52782
53935
  // src/mcp-server/tools/vendorsListVendorManagedByCompanies.ts
52783
- var args58, tool$vendorsListVendorManagedByCompanies;
53936
+ var args62, tool$vendorsListVendorManagedByCompanies;
52784
53937
  var init_vendorsListVendorManagedByCompanies2 = __esm(() => {
52785
53938
  init_vendorsListVendorManagedByCompanies();
52786
53939
  init_operations();
52787
53940
  init_tools();
52788
- args58 = {
53941
+ args62 = {
52789
53942
  request: ListVendorManagedByCompaniesRequest$inboundSchema
52790
53943
  };
52791
53944
  tool$vendorsListVendorManagedByCompanies = {
@@ -52793,9 +53946,9 @@ var init_vendorsListVendorManagedByCompanies2 = __esm(() => {
52793
53946
  description: `List of companies managing the vendor
52794
53947
 
52795
53948
  List of companies managing the vendor`,
52796
- args: args58,
52797
- tool: async (client, args59, ctx) => {
52798
- 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();
52799
53952
  if (!result.ok) {
52800
53953
  return {
52801
53954
  content: [{ type: "text", text: result.error.message }],
@@ -52810,9 +53963,9 @@ List of companies managing the vendor`,
52810
53963
 
52811
53964
  // src/funcs/vendorsListVendorScrubDetails.ts
52812
53965
  function vendorsListVendorScrubDetails(client, request, options) {
52813
- return new APIPromise($do61(client, request, options));
53966
+ return new APIPromise($do65(client, request, options));
52814
53967
  }
52815
- async function $do61(client, request, options) {
53968
+ async function $do65(client, request, options) {
52816
53969
  const parsed = safeParse(request, (value) => ListVendorScrubDetailsRequest$outboundSchema.parse(value), "Input validation failed");
52817
53970
  if (!parsed.ok) {
52818
53971
  return [parsed, { status: "invalid" }];
@@ -52888,12 +54041,12 @@ var init_vendorsListVendorScrubDetails = __esm(() => {
52888
54041
  });
52889
54042
 
52890
54043
  // src/mcp-server/tools/vendorsListVendorScrubDetails.ts
52891
- var args59, tool$vendorsListVendorScrubDetails;
54044
+ var args63, tool$vendorsListVendorScrubDetails;
52892
54045
  var init_vendorsListVendorScrubDetails2 = __esm(() => {
52893
54046
  init_vendorsListVendorScrubDetails();
52894
54047
  init_operations();
52895
54048
  init_tools();
52896
- args59 = {
54049
+ args63 = {
52897
54050
  request: ListVendorScrubDetailsRequest$inboundSchema
52898
54051
  };
52899
54052
  tool$vendorsListVendorScrubDetails = {
@@ -52901,9 +54054,9 @@ var init_vendorsListVendorScrubDetails2 = __esm(() => {
52901
54054
  description: `List vendor scrub details
52902
54055
 
52903
54056
  List vendor scrub details`,
52904
- args: args59,
52905
- tool: async (client, args60, ctx) => {
52906
- 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();
52907
54060
  if (!result.ok) {
52908
54061
  return {
52909
54062
  content: [{ type: "text", text: result.error.message }],
@@ -52918,9 +54071,9 @@ List vendor scrub details`,
52918
54071
 
52919
54072
  // src/funcs/vendorsListVendorScrubPackages.ts
52920
54073
  function vendorsListVendorScrubPackages(client, request, options) {
52921
- return new APIPromise($do62(client, request, options));
54074
+ return new APIPromise($do66(client, request, options));
52922
54075
  }
52923
- async function $do62(client, request, options) {
54076
+ async function $do66(client, request, options) {
52924
54077
  const parsed = safeParse(request, (value) => ListVendorScrubPackagesRequest$outboundSchema.parse(value), "Input validation failed");
52925
54078
  if (!parsed.ok) {
52926
54079
  return [haltIterator(parsed), { status: "invalid" }];
@@ -53034,12 +54187,12 @@ var init_vendorsListVendorScrubPackages = __esm(() => {
53034
54187
  });
53035
54188
 
53036
54189
  // src/mcp-server/tools/vendorsListVendorScrubPackages.ts
53037
- var args60, tool$vendorsListVendorScrubPackages;
54190
+ var args64, tool$vendorsListVendorScrubPackages;
53038
54191
  var init_vendorsListVendorScrubPackages2 = __esm(() => {
53039
54192
  init_vendorsListVendorScrubPackages();
53040
54193
  init_operations();
53041
54194
  init_tools();
53042
- args60 = {
54195
+ args64 = {
53043
54196
  request: ListVendorScrubPackagesRequest$inboundSchema
53044
54197
  };
53045
54198
  tool$vendorsListVendorScrubPackages = {
@@ -53047,9 +54200,9 @@ var init_vendorsListVendorScrubPackages2 = __esm(() => {
53047
54200
  description: `List vendor scrub packages
53048
54201
 
53049
54202
  List vendor scrub packages`,
53050
- args: args60,
53051
- tool: async (client, args61, ctx) => {
53052
- 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();
53053
54206
  if (!result.ok) {
53054
54207
  return {
53055
54208
  content: [{ type: "text", text: result.error.message }],
@@ -53064,9 +54217,9 @@ List vendor scrub packages`,
53064
54217
 
53065
54218
  // src/funcs/vendorsListVendorScrubPurchases.ts
53066
54219
  function vendorsListVendorScrubPurchases(client, request, options) {
53067
- return new APIPromise($do63(client, request, options));
54220
+ return new APIPromise($do67(client, request, options));
53068
54221
  }
53069
- async function $do63(client, request, options) {
54222
+ async function $do67(client, request, options) {
53070
54223
  const parsed = safeParse(request, (value) => ListVendorScrubPurchasesRequest$outboundSchema.parse(value), "Input validation failed");
53071
54224
  if (!parsed.ok) {
53072
54225
  return [haltIterator(parsed), { status: "invalid" }];
@@ -53180,12 +54333,12 @@ var init_vendorsListVendorScrubPurchases = __esm(() => {
53180
54333
  });
53181
54334
 
53182
54335
  // src/mcp-server/tools/vendorsListVendorScrubPurchases.ts
53183
- var args61, tool$vendorsListVendorScrubPurchases;
54336
+ var args65, tool$vendorsListVendorScrubPurchases;
53184
54337
  var init_vendorsListVendorScrubPurchases2 = __esm(() => {
53185
54338
  init_vendorsListVendorScrubPurchases();
53186
54339
  init_operations();
53187
54340
  init_tools();
53188
- args61 = {
54341
+ args65 = {
53189
54342
  request: ListVendorScrubPurchasesRequest$inboundSchema
53190
54343
  };
53191
54344
  tool$vendorsListVendorScrubPurchases = {
@@ -53193,9 +54346,9 @@ var init_vendorsListVendorScrubPurchases2 = __esm(() => {
53193
54346
  description: `List vendor scrub purchases
53194
54347
 
53195
54348
  List vendor scrub purchases`,
53196
- args: args61,
53197
- tool: async (client, args62, ctx) => {
53198
- 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();
53199
54352
  if (!result.ok) {
53200
54353
  return {
53201
54354
  content: [{ type: "text", text: result.error.message }],
@@ -53210,9 +54363,9 @@ List vendor scrub purchases`,
53210
54363
 
53211
54364
  // src/funcs/vendorsListVendorTypes.ts
53212
54365
  function vendorsListVendorTypes(client, request, options) {
53213
- return new APIPromise($do64(client, request, options));
54366
+ return new APIPromise($do68(client, request, options));
53214
54367
  }
53215
- async function $do64(client, request, options) {
54368
+ async function $do68(client, request, options) {
53216
54369
  const parsed = safeParse(request, (value) => ListVendorTypesRequest$outboundSchema.parse(value), "Input validation failed");
53217
54370
  if (!parsed.ok) {
53218
54371
  return [haltIterator(parsed), { status: "invalid" }];
@@ -53320,12 +54473,12 @@ var init_vendorsListVendorTypes = __esm(() => {
53320
54473
  });
53321
54474
 
53322
54475
  // src/mcp-server/tools/vendorsListVendorTypes.ts
53323
- var args62, tool$vendorsListVendorTypes;
54476
+ var args66, tool$vendorsListVendorTypes;
53324
54477
  var init_vendorsListVendorTypes2 = __esm(() => {
53325
54478
  init_vendorsListVendorTypes();
53326
54479
  init_operations();
53327
54480
  init_tools();
53328
- args62 = {
54481
+ args66 = {
53329
54482
  request: ListVendorTypesRequest$inboundSchema
53330
54483
  };
53331
54484
  tool$vendorsListVendorTypes = {
@@ -53333,9 +54486,9 @@ var init_vendorsListVendorTypes2 = __esm(() => {
53333
54486
  description: `List vendor types
53334
54487
 
53335
54488
  List vendor types.`,
53336
- args: args62,
53337
- tool: async (client, args63, ctx) => {
53338
- 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();
53339
54492
  if (!result.ok) {
53340
54493
  return {
53341
54494
  content: [{ type: "text", text: result.error.message }],
@@ -53350,9 +54503,9 @@ List vendor types.`,
53350
54503
 
53351
54504
  // src/funcs/vendorsPurchaseScrubCredits.ts
53352
54505
  function vendorsPurchaseScrubCredits(client, request, options) {
53353
- return new APIPromise($do65(client, request, options));
54506
+ return new APIPromise($do69(client, request, options));
53354
54507
  }
53355
- async function $do65(client, request, options) {
54508
+ async function $do69(client, request, options) {
53356
54509
  const parsed = safeParse(request, (value) => PurchaseScrubCreditsRequest$outboundSchema.parse(value), "Input validation failed");
53357
54510
  if (!parsed.ok) {
53358
54511
  return [parsed, { status: "invalid" }];
@@ -53428,12 +54581,12 @@ var init_vendorsPurchaseScrubCredits = __esm(() => {
53428
54581
  });
53429
54582
 
53430
54583
  // src/mcp-server/tools/vendorsPurchaseScrubCredits.ts
53431
- var args63, tool$vendorsPurchaseScrubCredits;
54584
+ var args67, tool$vendorsPurchaseScrubCredits;
53432
54585
  var init_vendorsPurchaseScrubCredits2 = __esm(() => {
53433
54586
  init_vendorsPurchaseScrubCredits();
53434
54587
  init_operations();
53435
54588
  init_tools();
53436
- args63 = {
54589
+ args67 = {
53437
54590
  request: PurchaseScrubCreditsRequest$inboundSchema
53438
54591
  };
53439
54592
  tool$vendorsPurchaseScrubCredits = {
@@ -53441,9 +54594,9 @@ var init_vendorsPurchaseScrubCredits2 = __esm(() => {
53441
54594
  description: `Purchase scrub credits
53442
54595
 
53443
54596
  Purchase scrub credits`,
53444
- args: args63,
53445
- tool: async (client, args64, ctx) => {
53446
- 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();
53447
54600
  if (!result.ok) {
53448
54601
  return {
53449
54602
  content: [{ type: "text", text: result.error.message }],
@@ -53458,9 +54611,9 @@ Purchase scrub credits`,
53458
54611
 
53459
54612
  // src/funcs/vendorsSendDownloadCode.ts
53460
54613
  function vendorsSendDownloadCode(client, request, options) {
53461
- return new APIPromise($do66(client, request, options));
54614
+ return new APIPromise($do70(client, request, options));
53462
54615
  }
53463
- async function $do66(client, request, options) {
54616
+ async function $do70(client, request, options) {
53464
54617
  const parsed = safeParse(request, (value) => SendDownloadCodeRequest$outboundSchema.parse(value), "Input validation failed");
53465
54618
  if (!parsed.ok) {
53466
54619
  return [parsed, { status: "invalid" }];
@@ -53534,12 +54687,12 @@ var init_vendorsSendDownloadCode = __esm(() => {
53534
54687
  });
53535
54688
 
53536
54689
  // src/mcp-server/tools/vendorsSendDownloadCode.ts
53537
- var args64, tool$vendorsSendDownloadCode;
54690
+ var args68, tool$vendorsSendDownloadCode;
53538
54691
  var init_vendorsSendDownloadCode2 = __esm(() => {
53539
54692
  init_vendorsSendDownloadCode();
53540
54693
  init_operations();
53541
54694
  init_tools();
53542
- args64 = {
54695
+ args68 = {
53543
54696
  request: SendDownloadCodeRequest$inboundSchema
53544
54697
  };
53545
54698
  tool$vendorsSendDownloadCode = {
@@ -53547,9 +54700,9 @@ var init_vendorsSendDownloadCode2 = __esm(() => {
53547
54700
  description: `Send download code for vendor credential
53548
54701
 
53549
54702
  It will send download code for vendor credential`,
53550
- args: args64,
53551
- tool: async (client, args65, ctx) => {
53552
- 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();
53553
54706
  if (!result.ok) {
53554
54707
  return {
53555
54708
  content: [{ type: "text", text: result.error.message }],
@@ -53564,9 +54717,9 @@ It will send download code for vendor credential`,
53564
54717
 
53565
54718
  // src/funcs/vendorsSubmitVendorCredential.ts
53566
54719
  function vendorsSubmitVendorCredential(client, request, options) {
53567
- return new APIPromise($do67(client, request, options));
54720
+ return new APIPromise($do71(client, request, options));
53568
54721
  }
53569
- async function $do67(client, request, options) {
54722
+ async function $do71(client, request, options) {
53570
54723
  const parsed = safeParse(request, (value) => SubmitVendorCredentialRequest$outboundSchema.parse(value), "Input validation failed");
53571
54724
  if (!parsed.ok) {
53572
54725
  return [parsed, { status: "invalid" }];
@@ -53640,12 +54793,12 @@ var init_vendorsSubmitVendorCredential = __esm(() => {
53640
54793
  });
53641
54794
 
53642
54795
  // src/mcp-server/tools/vendorsSubmitVendorCredential.ts
53643
- var args65, tool$vendorsSubmitVendorCredential;
54796
+ var args69, tool$vendorsSubmitVendorCredential;
53644
54797
  var init_vendorsSubmitVendorCredential2 = __esm(() => {
53645
54798
  init_vendorsSubmitVendorCredential();
53646
54799
  init_operations();
53647
54800
  init_tools();
53648
- args65 = {
54801
+ args69 = {
53649
54802
  request: SubmitVendorCredentialRequest$inboundSchema
53650
54803
  };
53651
54804
  tool$vendorsSubmitVendorCredential = {
@@ -53653,9 +54806,9 @@ var init_vendorsSubmitVendorCredential2 = __esm(() => {
53653
54806
  description: `Submit vendor credential
53654
54807
 
53655
54808
  It will submit vendor credential`,
53656
- args: args65,
53657
- tool: async (client, args66, ctx) => {
53658
- 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();
53659
54812
  if (!result.ok) {
53660
54813
  return {
53661
54814
  content: [{ type: "text", text: result.error.message }],
@@ -53670,9 +54823,9 @@ It will submit vendor credential`,
53670
54823
 
53671
54824
  // src/funcs/vendorsUpdateVendorCredentialData.ts
53672
54825
  function vendorsUpdateVendorCredentialData(client, request, options) {
53673
- return new APIPromise($do68(client, request, options));
54826
+ return new APIPromise($do72(client, request, options));
53674
54827
  }
53675
- async function $do68(client, request, options) {
54828
+ async function $do72(client, request, options) {
53676
54829
  const parsed = safeParse(request, (value) => UpdateVendorCredentialDataRequest$outboundSchema.parse(value), "Input validation failed");
53677
54830
  if (!parsed.ok) {
53678
54831
  return [parsed, { status: "invalid" }];
@@ -53753,12 +54906,12 @@ var init_vendorsUpdateVendorCredentialData = __esm(() => {
53753
54906
  });
53754
54907
 
53755
54908
  // src/mcp-server/tools/vendorsUpdateVendorCredentialData.ts
53756
- var args66, tool$vendorsUpdateVendorCredentialData;
54909
+ var args70, tool$vendorsUpdateVendorCredentialData;
53757
54910
  var init_vendorsUpdateVendorCredentialData2 = __esm(() => {
53758
54911
  init_vendorsUpdateVendorCredentialData();
53759
54912
  init_operations();
53760
54913
  init_tools();
53761
- args66 = {
54914
+ args70 = {
53762
54915
  request: UpdateVendorCredentialDataRequest$inboundSchema
53763
54916
  };
53764
54917
  tool$vendorsUpdateVendorCredentialData = {
@@ -53766,9 +54919,9 @@ var init_vendorsUpdateVendorCredentialData2 = __esm(() => {
53766
54919
  description: `Update vendor credential data
53767
54920
 
53768
54921
  Update vendor credential data`,
53769
- args: args66,
53770
- tool: async (client, args67, ctx) => {
53771
- 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();
53772
54925
  if (!result.ok) {
53773
54926
  return {
53774
54927
  content: [{ type: "text", text: result.error.message }],
@@ -53783,9 +54936,9 @@ Update vendor credential data`,
53783
54936
 
53784
54937
  // src/funcs/vendorsUpdateVendorCredentialFile.ts
53785
54938
  function vendorsUpdateVendorCredentialFile(client, request, options) {
53786
- return new APIPromise($do69(client, request, options));
54939
+ return new APIPromise($do73(client, request, options));
53787
54940
  }
53788
- async function $do69(client, request, options) {
54941
+ async function $do73(client, request, options) {
53789
54942
  const parsed = safeParse(request, (value) => UpdateVendorCredentialFileRequest$outboundSchema.parse(value), "Input validation failed");
53790
54943
  if (!parsed.ok) {
53791
54944
  return [parsed, { status: "invalid" }];
@@ -53863,12 +55016,12 @@ var init_vendorsUpdateVendorCredentialFile = __esm(() => {
53863
55016
  });
53864
55017
 
53865
55018
  // src/mcp-server/tools/vendorsUpdateVendorCredentialFile.ts
53866
- var args67, tool$vendorsUpdateVendorCredentialFile;
55019
+ var args71, tool$vendorsUpdateVendorCredentialFile;
53867
55020
  var init_vendorsUpdateVendorCredentialFile2 = __esm(() => {
53868
55021
  init_vendorsUpdateVendorCredentialFile();
53869
55022
  init_operations();
53870
55023
  init_tools();
53871
- args67 = {
55024
+ args71 = {
53872
55025
  request: UpdateVendorCredentialFileRequest$inboundSchema
53873
55026
  };
53874
55027
  tool$vendorsUpdateVendorCredentialFile = {
@@ -53876,9 +55029,9 @@ var init_vendorsUpdateVendorCredentialFile2 = __esm(() => {
53876
55029
  description: `Update vendor credential file
53877
55030
 
53878
55031
  It will update the vendor credential file properties`,
53879
- args: args67,
53880
- tool: async (client, args68, ctx) => {
53881
- 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();
53882
55035
  if (!result.ok) {
53883
55036
  return {
53884
55037
  content: [{ type: "text", text: result.error.message }],
@@ -53893,9 +55046,9 @@ It will update the vendor credential file properties`,
53893
55046
 
53894
55047
  // src/funcs/vendorsUpdateVendorDetails.ts
53895
55048
  function vendorsUpdateVendorDetails(client, request, options) {
53896
- return new APIPromise($do70(client, request, options));
55049
+ return new APIPromise($do74(client, request, options));
53897
55050
  }
53898
- async function $do70(client, request, options) {
55051
+ async function $do74(client, request, options) {
53899
55052
  const parsed = safeParse(request, (value) => UpdateVendorDetailsRequest$outboundSchema.parse(value), "Input validation failed");
53900
55053
  if (!parsed.ok) {
53901
55054
  return [parsed, { status: "invalid" }];
@@ -53972,12 +55125,12 @@ var init_vendorsUpdateVendorDetails = __esm(() => {
53972
55125
  });
53973
55126
 
53974
55127
  // src/mcp-server/tools/vendorsUpdateVendorDetails.ts
53975
- var args68, tool$vendorsUpdateVendorDetails;
55128
+ var args72, tool$vendorsUpdateVendorDetails;
53976
55129
  var init_vendorsUpdateVendorDetails2 = __esm(() => {
53977
55130
  init_vendorsUpdateVendorDetails();
53978
55131
  init_operations();
53979
55132
  init_tools();
53980
- args68 = {
55133
+ args72 = {
53981
55134
  request: UpdateVendorDetailsRequest$inboundSchema
53982
55135
  };
53983
55136
  tool$vendorsUpdateVendorDetails = {
@@ -53985,9 +55138,9 @@ var init_vendorsUpdateVendorDetails2 = __esm(() => {
53985
55138
  description: `Update vendor details
53986
55139
 
53987
55140
  It will update the vendor details`,
53988
- args: args68,
53989
- tool: async (client, args69, ctx) => {
53990
- 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();
53991
55144
  if (!result.ok) {
53992
55145
  return {
53993
55146
  content: [{ type: "text", text: result.error.message }],
@@ -54002,9 +55155,9 @@ It will update the vendor details`,
54002
55155
 
54003
55156
  // src/funcs/vendorsUpdateVendorManagedByCompany.ts
54004
55157
  function vendorsUpdateVendorManagedByCompany(client, request, options) {
54005
- return new APIPromise($do71(client, request, options));
55158
+ return new APIPromise($do75(client, request, options));
54006
55159
  }
54007
- async function $do71(client, request, options) {
55160
+ async function $do75(client, request, options) {
54008
55161
  const parsed = safeParse(request, (value) => UpdateVendorManagedByCompanyRequest$outboundSchema.parse(value), "Input validation failed");
54009
55162
  if (!parsed.ok) {
54010
55163
  return [parsed, { status: "invalid" }];
@@ -54080,12 +55233,12 @@ var init_vendorsUpdateVendorManagedByCompany = __esm(() => {
54080
55233
  });
54081
55234
 
54082
55235
  // src/mcp-server/tools/vendorsUpdateVendorManagedByCompany.ts
54083
- var args69, tool$vendorsUpdateVendorManagedByCompany;
55236
+ var args73, tool$vendorsUpdateVendorManagedByCompany;
54084
55237
  var init_vendorsUpdateVendorManagedByCompany2 = __esm(() => {
54085
55238
  init_vendorsUpdateVendorManagedByCompany();
54086
55239
  init_operations();
54087
55240
  init_tools();
54088
- args69 = {
55241
+ args73 = {
54089
55242
  request: UpdateVendorManagedByCompanyRequest$inboundSchema
54090
55243
  };
54091
55244
  tool$vendorsUpdateVendorManagedByCompany = {
@@ -54093,9 +55246,9 @@ var init_vendorsUpdateVendorManagedByCompany2 = __esm(() => {
54093
55246
  description: `Update vendor managed by company access rights
54094
55247
 
54095
55248
  It will update the vendor managed by company access rights`,
54096
- args: args69,
54097
- tool: async (client, args70, ctx) => {
54098
- 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();
54099
55252
  if (!result.ok) {
54100
55253
  return {
54101
55254
  content: [{ type: "text", text: result.error.message }],
@@ -54110,9 +55263,9 @@ It will update the vendor managed by company access rights`,
54110
55263
 
54111
55264
  // src/funcs/vendorsUpdateVendorScrubDetails.ts
54112
55265
  function vendorsUpdateVendorScrubDetails(client, request, options) {
54113
- return new APIPromise($do72(client, request, options));
55266
+ return new APIPromise($do76(client, request, options));
54114
55267
  }
54115
- async function $do72(client, request, options) {
55268
+ async function $do76(client, request, options) {
54116
55269
  const parsed = safeParse(request, (value) => UpdateVendorScrubDetailsRequest$outboundSchema.parse(value), "Input validation failed");
54117
55270
  if (!parsed.ok) {
54118
55271
  return [parsed, { status: "invalid" }];
@@ -54189,12 +55342,12 @@ var init_vendorsUpdateVendorScrubDetails = __esm(() => {
54189
55342
  });
54190
55343
 
54191
55344
  // src/mcp-server/tools/vendorsUpdateVendorScrubDetails.ts
54192
- var args70, tool$vendorsUpdateVendorScrubDetails;
55345
+ var args74, tool$vendorsUpdateVendorScrubDetails;
54193
55346
  var init_vendorsUpdateVendorScrubDetails2 = __esm(() => {
54194
55347
  init_vendorsUpdateVendorScrubDetails();
54195
55348
  init_operations();
54196
55349
  init_tools();
54197
- args70 = {
55350
+ args74 = {
54198
55351
  request: UpdateVendorScrubDetailsRequest$inboundSchema
54199
55352
  };
54200
55353
  tool$vendorsUpdateVendorScrubDetails = {
@@ -54202,9 +55355,9 @@ var init_vendorsUpdateVendorScrubDetails2 = __esm(() => {
54202
55355
  description: `Update vendor scrub details
54203
55356
 
54204
55357
  Update vendor scrub details`,
54205
- args: args70,
54206
- tool: async (client, args71, ctx) => {
54207
- 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();
54208
55361
  if (!result.ok) {
54209
55362
  return {
54210
55363
  content: [{ type: "text", text: result.error.message }],
@@ -54219,9 +55372,9 @@ Update vendor scrub details`,
54219
55372
 
54220
55373
  // src/funcs/webhooksGetWebhookEndpoint.ts
54221
55374
  function webhooksGetWebhookEndpoint(client, request, options) {
54222
- return new APIPromise($do73(client, request, options));
55375
+ return new APIPromise($do77(client, request, options));
54223
55376
  }
54224
- async function $do73(client, request, options) {
55377
+ async function $do77(client, request, options) {
54225
55378
  const parsed = safeParse(request, (value) => GetWebhookEndpointRequest$outboundSchema.parse(value), "Input validation failed");
54226
55379
  if (!parsed.ok) {
54227
55380
  return [parsed, { status: "invalid" }];
@@ -54297,12 +55450,12 @@ var init_webhooksGetWebhookEndpoint = __esm(() => {
54297
55450
  });
54298
55451
 
54299
55452
  // src/mcp-server/tools/webhooksGetWebhookEndpoint.ts
54300
- var args71, tool$webhooksGetWebhookEndpoint;
55453
+ var args75, tool$webhooksGetWebhookEndpoint;
54301
55454
  var init_webhooksGetWebhookEndpoint2 = __esm(() => {
54302
55455
  init_webhooksGetWebhookEndpoint();
54303
55456
  init_operations();
54304
55457
  init_tools();
54305
- args71 = {
55458
+ args75 = {
54306
55459
  request: GetWebhookEndpointRequest$inboundSchema
54307
55460
  };
54308
55461
  tool$webhooksGetWebhookEndpoint = {
@@ -54310,9 +55463,9 @@ var init_webhooksGetWebhookEndpoint2 = __esm(() => {
54310
55463
  description: `Retrieves the webhook endpoint with the given ID.
54311
55464
 
54312
55465
  Returns the definition of a webhook endpoint by ID.`,
54313
- args: args71,
54314
- tool: async (client, args72, ctx) => {
54315
- 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();
54316
55469
  if (!result.ok) {
54317
55470
  return {
54318
55471
  content: [{ type: "text", text: result.error.message }],
@@ -54327,9 +55480,9 @@ Returns the definition of a webhook endpoint by ID.`,
54327
55480
 
54328
55481
  // src/funcs/webhooksListAllWebhookEndpoints.ts
54329
55482
  function webhooksListAllWebhookEndpoints(client, request, options) {
54330
- return new APIPromise($do74(client, request, options));
55483
+ return new APIPromise($do78(client, request, options));
54331
55484
  }
54332
- async function $do74(client, request, options) {
55485
+ async function $do78(client, request, options) {
54333
55486
  const parsed = safeParse(request, (value) => ListAllWebhookEndpointsRequest$outboundSchema.parse(value), "Input validation failed");
54334
55487
  if (!parsed.ok) {
54335
55488
  return [parsed, { status: "invalid" }];
@@ -54405,12 +55558,12 @@ var init_webhooksListAllWebhookEndpoints = __esm(() => {
54405
55558
  });
54406
55559
 
54407
55560
  // src/mcp-server/tools/webhooksListAllWebhookEndpoints.ts
54408
- var args72, tool$webhooksListAllWebhookEndpoints;
55561
+ var args76, tool$webhooksListAllWebhookEndpoints;
54409
55562
  var init_webhooksListAllWebhookEndpoints2 = __esm(() => {
54410
55563
  init_webhooksListAllWebhookEndpoints();
54411
55564
  init_operations();
54412
55565
  init_tools();
54413
- args72 = {
55566
+ args76 = {
54414
55567
  request: ListAllWebhookEndpointsRequest$inboundSchema
54415
55568
  };
54416
55569
  tool$webhooksListAllWebhookEndpoints = {
@@ -54418,9 +55571,9 @@ var init_webhooksListAllWebhookEndpoints2 = __esm(() => {
54418
55571
  description: `List all webhook endpoints
54419
55572
 
54420
55573
  Returns a list of your webhook endpoints.`,
54421
- args: args72,
54422
- tool: async (client, args73, ctx) => {
54423
- 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();
54424
55577
  if (!result.ok) {
54425
55578
  return {
54426
55579
  content: [{ type: "text", text: result.error.message }],
@@ -54435,9 +55588,9 @@ Returns a list of your webhook endpoints.`,
54435
55588
 
54436
55589
  // src/funcs/webhooksUpdatesTheWebhookEndpointWithTheGivenId.ts
54437
55590
  function webhooksUpdatesTheWebhookEndpointWithTheGivenId(client, request, options) {
54438
- return new APIPromise($do75(client, request, options));
55591
+ return new APIPromise($do79(client, request, options));
54439
55592
  }
54440
- async function $do75(client, request, options) {
55593
+ async function $do79(client, request, options) {
54441
55594
  const parsed = safeParse(request, (value) => UpdatesTheWebhookEndpointWithTheGivenIdRequest$outboundSchema.parse(value), "Input validation failed");
54442
55595
  if (!parsed.ok) {
54443
55596
  return [parsed, { status: "invalid" }];
@@ -54514,12 +55667,12 @@ var init_webhooksUpdatesTheWebhookEndpointWithTheGivenId = __esm(() => {
54514
55667
  });
54515
55668
 
54516
55669
  // src/mcp-server/tools/webhooksUpdatesTheWebhookEndpointWithTheGivenId.ts
54517
- var args73, tool$webhooksUpdatesTheWebhookEndpointWithTheGivenId;
55670
+ var args77, tool$webhooksUpdatesTheWebhookEndpointWithTheGivenId;
54518
55671
  var init_webhooksUpdatesTheWebhookEndpointWithTheGivenId2 = __esm(() => {
54519
55672
  init_webhooksUpdatesTheWebhookEndpointWithTheGivenId();
54520
55673
  init_operations();
54521
55674
  init_tools();
54522
- args73 = {
55675
+ args77 = {
54523
55676
  request: UpdatesTheWebhookEndpointWithTheGivenIdRequest$inboundSchema
54524
55677
  };
54525
55678
  tool$webhooksUpdatesTheWebhookEndpointWithTheGivenId = {
@@ -54527,9 +55680,9 @@ var init_webhooksUpdatesTheWebhookEndpointWithTheGivenId2 = __esm(() => {
54527
55680
  description: `Updates the webhook endpoint with the given ID.
54528
55681
 
54529
55682
  Updates the webhook endpoint with the given ID.`,
54530
- args: args73,
54531
- tool: async (client, args74, ctx) => {
54532
- 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();
54533
55686
  if (!result.ok) {
54534
55687
  return {
54535
55688
  content: [{ type: "text", text: result.error.message }],
@@ -54544,9 +55697,9 @@ Updates the webhook endpoint with the given ID.`,
54544
55697
 
54545
55698
  // src/funcs/zonesGetSecurityZone.ts
54546
55699
  function zonesGetSecurityZone(client, request, options) {
54547
- return new APIPromise($do76(client, request, options));
55700
+ return new APIPromise($do80(client, request, options));
54548
55701
  }
54549
- async function $do76(client, request, options) {
55702
+ async function $do80(client, request, options) {
54550
55703
  const parsed = safeParse(request, (value) => GetSecurityZoneRequest$outboundSchema.parse(value), "Input validation failed");
54551
55704
  if (!parsed.ok) {
54552
55705
  return [parsed, { status: "invalid" }];
@@ -54626,12 +55779,12 @@ var init_zonesGetSecurityZone = __esm(() => {
54626
55779
  });
54627
55780
 
54628
55781
  // src/mcp-server/tools/zonesGetSecurityZone.ts
54629
- var args74, tool$zonesGetSecurityZone;
55782
+ var args78, tool$zonesGetSecurityZone;
54630
55783
  var init_zonesGetSecurityZone2 = __esm(() => {
54631
55784
  init_zonesGetSecurityZone();
54632
55785
  init_operations();
54633
55786
  init_tools();
54634
- args74 = {
55787
+ args78 = {
54635
55788
  request: GetSecurityZoneRequest$inboundSchema
54636
55789
  };
54637
55790
  tool$zonesGetSecurityZone = {
@@ -54645,9 +55798,9 @@ Available \`expand\` scopes are:
54645
55798
  - zone.facility
54646
55799
  - zone.department
54647
55800
  - zone.rules`,
54648
- args: args74,
54649
- tool: async (client, args75, ctx) => {
54650
- 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();
54651
55804
  if (!result.ok) {
54652
55805
  return {
54653
55806
  content: [{ type: "text", text: result.error.message }],
@@ -54662,9 +55815,9 @@ Available \`expand\` scopes are:
54662
55815
 
54663
55816
  // src/funcs/zonesListOrSearchSecurityZones.ts
54664
55817
  function zonesListOrSearchSecurityZones(client, request, options) {
54665
- return new APIPromise($do77(client, request, options));
55818
+ return new APIPromise($do81(client, request, options));
54666
55819
  }
54667
- async function $do77(client, request, options) {
55820
+ async function $do81(client, request, options) {
54668
55821
  const parsed = safeParse(request, (value) => ListOrSearchSecurityZonesRequest$outboundSchema.parse(value), "Input validation failed");
54669
55822
  if (!parsed.ok) {
54670
55823
  return [haltIterator(parsed), { status: "invalid" }];
@@ -54778,12 +55931,12 @@ var init_zonesListOrSearchSecurityZones = __esm(() => {
54778
55931
  });
54779
55932
 
54780
55933
  // src/mcp-server/tools/zonesListOrSearchSecurityZones.ts
54781
- var args75, tool$zonesListOrSearchSecurityZones;
55934
+ var args79, tool$zonesListOrSearchSecurityZones;
54782
55935
  var init_zonesListOrSearchSecurityZones2 = __esm(() => {
54783
55936
  init_zonesListOrSearchSecurityZones();
54784
55937
  init_operations();
54785
55938
  init_tools();
54786
- args75 = {
55939
+ args79 = {
54787
55940
  request: ListOrSearchSecurityZonesRequest$inboundSchema
54788
55941
  };
54789
55942
  tool$zonesListOrSearchSecurityZones = {
@@ -54791,9 +55944,9 @@ var init_zonesListOrSearchSecurityZones2 = __esm(() => {
54791
55944
  description: `List or search security zones
54792
55945
 
54793
55946
  List or search security zones`,
54794
- args: args75,
54795
- tool: async (client, args76, ctx) => {
54796
- 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();
54797
55950
  if (!result.ok) {
54798
55951
  return {
54799
55952
  content: [{ type: "text", text: result.error.message }],
@@ -54808,9 +55961,9 @@ List or search security zones`,
54808
55961
 
54809
55962
  // src/funcs/zonesSecurityZoneCheckin.ts
54810
55963
  function zonesSecurityZoneCheckin(client, request, options) {
54811
- return new APIPromise($do78(client, request, options));
55964
+ return new APIPromise($do82(client, request, options));
54812
55965
  }
54813
- async function $do78(client, request, options) {
55966
+ async function $do82(client, request, options) {
54814
55967
  const parsed = safeParse(request, (value) => SecurityZoneCheckinRequestBody$outboundSchema.parse(value), "Input validation failed");
54815
55968
  if (!parsed.ok) {
54816
55969
  return [parsed, { status: "invalid" }];
@@ -54880,12 +56033,12 @@ var init_zonesSecurityZoneCheckin = __esm(() => {
54880
56033
  });
54881
56034
 
54882
56035
  // src/mcp-server/tools/zonesSecurityZoneCheckin.ts
54883
- var args76, tool$zonesSecurityZoneCheckin;
56036
+ var args80, tool$zonesSecurityZoneCheckin;
54884
56037
  var init_zonesSecurityZoneCheckin2 = __esm(() => {
54885
56038
  init_zonesSecurityZoneCheckin();
54886
56039
  init_operations();
54887
56040
  init_tools();
54888
- args76 = {
56041
+ args80 = {
54889
56042
  request: SecurityZoneCheckinRequestBody$inboundSchema
54890
56043
  };
54891
56044
  tool$zonesSecurityZoneCheckin = {
@@ -54893,9 +56046,9 @@ var init_zonesSecurityZoneCheckin2 = __esm(() => {
54893
56046
  description: `Security zone checkin request
54894
56047
 
54895
56048
  Security zone checkin request`,
54896
- args: args76,
54897
- tool: async (client, args77, ctx) => {
54898
- 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();
54899
56052
  if (!result.ok) {
54900
56053
  return {
54901
56054
  content: [{ type: "text", text: result.error.message }],
@@ -54912,7 +56065,7 @@ Security zone checkin request`,
54912
56065
  function createMCPServer(deps) {
54913
56066
  const server = new McpServer({
54914
56067
  name: "GreenSecurity",
54915
- version: "0.39.12"
56068
+ version: "0.39.39"
54916
56069
  });
54917
56070
  const client = new GreenSecurityCore({
54918
56071
  security: deps.security,
@@ -55003,6 +56156,10 @@ function createMCPServer(deps) {
55003
56156
  tool(tool$eventsAcceptInvitation);
55004
56157
  tool(tool$eventsDeclineInvitation);
55005
56158
  tool(tool$eventsListOrSearchVendorInvitees);
56159
+ tool(tool$eventsListLocations);
56160
+ tool(tool$eventsListPendingInvitations);
56161
+ tool(tool$eventsListFeed);
56162
+ tool(tool$eventsListStandingAppointments);
55006
56163
  tool(tool$systemsListSystems);
55007
56164
  return server;
55008
56165
  }
@@ -55019,7 +56176,11 @@ var init_server2 = __esm(() => {
55019
56176
  init_eventsCreateEvent2();
55020
56177
  init_eventsDeclineInvitation2();
55021
56178
  init_eventsDeleteEvent2();
56179
+ init_eventsListFeed2();
56180
+ init_eventsListLocations2();
55022
56181
  init_eventsListOrSearchVendorInvitees2();
56182
+ init_eventsListPendingInvitations2();
56183
+ init_eventsListStandingAppointments2();
55023
56184
  init_eventsUpdateEvent2();
55024
56185
  init_invoicesCreateInvoice2();
55025
56186
  init_invoicesMakePayment2();
@@ -56280,7 +57441,7 @@ var routes = rn({
56280
57441
  var app = Ve(routes, {
56281
57442
  name: "mcp",
56282
57443
  versionInfo: {
56283
- currentVersion: "0.39.12"
57444
+ currentVersion: "0.39.39"
56284
57445
  }
56285
57446
  });
56286
57447
  _t(app, process3.argv.slice(2), buildContext(process3));
@@ -56288,5 +57449,5 @@ export {
56288
57449
  app
56289
57450
  };
56290
57451
 
56291
- //# debugId=5FBCC566003D142264756E2164756E21
57452
+ //# debugId=EAB2F256DE18FD8564756E2164756E21
56292
57453
  //# sourceMappingURL=mcp-server.js.map