@greensecurity/javascript-sdk 0.35.1 → 0.35.7

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 (635) hide show
  1. package/FUNCTIONS.md +5 -22
  2. package/README.md +53 -57
  3. package/bin/mcp-server.js +1080 -361
  4. package/bin/mcp-server.js.map +75 -63
  5. package/dist/commonjs/__tests__/invoices.test.d.ts +2 -0
  6. package/dist/commonjs/__tests__/invoices.test.d.ts.map +1 -0
  7. package/dist/commonjs/__tests__/invoices.test.js +25 -0
  8. package/dist/commonjs/__tests__/invoices.test.js.map +1 -0
  9. package/dist/commonjs/__tests__/vendors.test.js +54 -10
  10. package/dist/commonjs/__tests__/vendors.test.js.map +1 -1
  11. package/dist/commonjs/__tests__/webhooks.test.js +1 -1
  12. package/dist/commonjs/__tests__/webhooks.test.js.map +1 -1
  13. package/dist/commonjs/__tests__/zones.test.js +8 -7
  14. package/dist/commonjs/__tests__/zones.test.js.map +1 -1
  15. package/dist/commonjs/funcs/companiesListOrSearchCompanies.d.ts +1 -1
  16. package/dist/commonjs/funcs/companiesListOrSearchCompanies.d.ts.map +1 -1
  17. package/dist/commonjs/funcs/companiesListOrSearchCompanies.js.map +1 -1
  18. package/dist/commonjs/funcs/dataRequestsAddDataRequestFile.d.ts +1 -1
  19. package/dist/commonjs/funcs/dataRequestsAddDataRequestFile.d.ts.map +1 -1
  20. package/dist/commonjs/funcs/dataRequestsAddDataRequestFile.js.map +1 -1
  21. package/dist/commonjs/funcs/dataRequestsDeleteDataRequestFile.d.ts +1 -1
  22. package/dist/commonjs/funcs/dataRequestsDeleteDataRequestFile.d.ts.map +1 -1
  23. package/dist/commonjs/funcs/dataRequestsDeleteDataRequestFile.js.map +1 -1
  24. package/dist/commonjs/funcs/dataRequestsUpdateDataRequest.d.ts +1 -1
  25. package/dist/commonjs/funcs/dataRequestsUpdateDataRequest.d.ts.map +1 -1
  26. package/dist/commonjs/funcs/dataRequestsUpdateDataRequest.js.map +1 -1
  27. package/dist/commonjs/funcs/invoicesMakePayment.d.ts +17 -0
  28. package/dist/commonjs/funcs/invoicesMakePayment.d.ts.map +1 -0
  29. package/dist/commonjs/funcs/invoicesMakePayment.js +123 -0
  30. package/dist/commonjs/funcs/invoicesMakePayment.js.map +1 -0
  31. package/dist/commonjs/funcs/organizationsGetFacility.d.ts +1 -1
  32. package/dist/commonjs/funcs/organizationsGetFacility.d.ts.map +1 -1
  33. package/dist/commonjs/funcs/organizationsGetFacility.js.map +1 -1
  34. package/dist/commonjs/funcs/organizationsListOrSearchFacilities.d.ts +1 -1
  35. package/dist/commonjs/funcs/organizationsListOrSearchFacilities.d.ts.map +1 -1
  36. package/dist/commonjs/funcs/organizationsListOrSearchFacilities.js.map +1 -1
  37. package/dist/commonjs/funcs/supportArticlesGetSupportArticle.d.ts +1 -1
  38. package/dist/commonjs/funcs/supportArticlesGetSupportArticle.d.ts.map +1 -1
  39. package/dist/commonjs/funcs/supportArticlesGetSupportArticle.js.map +1 -1
  40. package/dist/commonjs/funcs/supportArticlesListOrSearchSupportArticles.d.ts +1 -1
  41. package/dist/commonjs/funcs/supportArticlesListOrSearchSupportArticles.d.ts.map +1 -1
  42. package/dist/commonjs/funcs/supportArticlesListOrSearchSupportArticles.js.map +1 -1
  43. package/dist/commonjs/funcs/usersChangePassword.d.ts +1 -1
  44. package/dist/commonjs/funcs/usersChangePassword.d.ts.map +1 -1
  45. package/dist/commonjs/funcs/usersChangePassword.js.map +1 -1
  46. package/dist/commonjs/funcs/usersGetCurrentUser.d.ts +1 -1
  47. package/dist/commonjs/funcs/usersGetCurrentUser.d.ts.map +1 -1
  48. package/dist/commonjs/funcs/usersGetCurrentUser.js.map +1 -1
  49. package/dist/commonjs/funcs/usersGetUserById.d.ts +1 -1
  50. package/dist/commonjs/funcs/usersGetUserById.d.ts.map +1 -1
  51. package/dist/commonjs/funcs/usersGetUserById.js.map +1 -1
  52. package/dist/commonjs/funcs/usersMagiclink.d.ts +1 -1
  53. package/dist/commonjs/funcs/usersMagiclink.d.ts.map +1 -1
  54. package/dist/commonjs/funcs/usersMagiclink.js.map +1 -1
  55. package/dist/commonjs/funcs/usersPassword.d.ts +1 -1
  56. package/dist/commonjs/funcs/usersPassword.d.ts.map +1 -1
  57. package/dist/commonjs/funcs/usersPassword.js.map +1 -1
  58. package/dist/commonjs/funcs/usersPasswordResetRequest.d.ts +1 -1
  59. package/dist/commonjs/funcs/usersPasswordResetRequest.d.ts.map +1 -1
  60. package/dist/commonjs/funcs/usersPasswordResetRequest.js.map +1 -1
  61. package/dist/commonjs/funcs/usersPostAuthenticate.d.ts +1 -1
  62. package/dist/commonjs/funcs/usersPostAuthenticate.d.ts.map +1 -1
  63. package/dist/commonjs/funcs/usersPostAuthenticate.js.map +1 -1
  64. package/dist/commonjs/funcs/vendorScansVendorScanOut.d.ts +1 -1
  65. package/dist/commonjs/funcs/vendorScansVendorScanOut.d.ts.map +1 -1
  66. package/dist/commonjs/funcs/vendorScansVendorScanOut.js.map +1 -1
  67. package/dist/commonjs/funcs/vendorsAddVendorCredentialFile.d.ts +1 -1
  68. package/dist/commonjs/funcs/vendorsAddVendorCredentialFile.d.ts.map +1 -1
  69. package/dist/commonjs/funcs/vendorsAddVendorCredentialFile.js.map +1 -1
  70. package/dist/commonjs/funcs/vendorsAddVendorManagedByCompany.d.ts +1 -1
  71. package/dist/commonjs/funcs/vendorsAddVendorManagedByCompany.d.ts.map +1 -1
  72. package/dist/commonjs/funcs/vendorsAddVendorManagedByCompany.js.map +1 -1
  73. package/dist/commonjs/funcs/vendorsCheckDownloadCode.d.ts +17 -0
  74. package/dist/commonjs/funcs/vendorsCheckDownloadCode.d.ts.map +1 -0
  75. package/dist/commonjs/funcs/vendorsCheckDownloadCode.js +123 -0
  76. package/dist/commonjs/funcs/vendorsCheckDownloadCode.js.map +1 -0
  77. package/dist/commonjs/funcs/vendorsCreateNewVendorCredentialVersion.d.ts +1 -1
  78. package/dist/commonjs/funcs/vendorsCreateNewVendorCredentialVersion.d.ts.map +1 -1
  79. package/dist/commonjs/funcs/vendorsCreateNewVendorCredentialVersion.js.map +1 -1
  80. package/dist/commonjs/funcs/vendorsCreateOrUpdateBcr.d.ts +1 -1
  81. package/dist/commonjs/funcs/vendorsCreateOrUpdateBcr.d.ts.map +1 -1
  82. package/dist/commonjs/funcs/vendorsCreateOrUpdateBcr.js.map +1 -1
  83. package/dist/commonjs/funcs/vendorsCreateVendorCompany.d.ts +1 -1
  84. package/dist/commonjs/funcs/vendorsCreateVendorCompany.d.ts.map +1 -1
  85. package/dist/commonjs/funcs/vendorsCreateVendorCompany.js.map +1 -1
  86. package/dist/commonjs/funcs/vendorsCreateVendorRegistration.d.ts +1 -1
  87. package/dist/commonjs/funcs/vendorsCreateVendorRegistration.d.ts.map +1 -1
  88. package/dist/commonjs/funcs/vendorsCreateVendorRegistration.js.map +1 -1
  89. package/dist/commonjs/funcs/vendorsDeclineVendorCredential.d.ts +1 -1
  90. package/dist/commonjs/funcs/vendorsDeclineVendorCredential.d.ts.map +1 -1
  91. package/dist/commonjs/funcs/vendorsDeclineVendorCredential.js.map +1 -1
  92. package/dist/commonjs/funcs/vendorsDeleteVendorCredentialFile.d.ts +1 -1
  93. package/dist/commonjs/funcs/vendorsDeleteVendorCredentialFile.d.ts.map +1 -1
  94. package/dist/commonjs/funcs/vendorsDeleteVendorCredentialFile.js.map +1 -1
  95. package/dist/commonjs/funcs/vendorsDeleteVendorManagedByCompany.d.ts +1 -1
  96. package/dist/commonjs/funcs/vendorsDeleteVendorManagedByCompany.d.ts.map +1 -1
  97. package/dist/commonjs/funcs/vendorsDeleteVendorManagedByCompany.js.map +1 -1
  98. package/dist/commonjs/funcs/vendorsExpediteTimeRemaining.d.ts +1 -1
  99. package/dist/commonjs/funcs/vendorsExpediteTimeRemaining.d.ts.map +1 -1
  100. package/dist/commonjs/funcs/vendorsExpediteTimeRemaining.js.map +1 -1
  101. package/dist/commonjs/funcs/vendorsGetVendorCredentialDetails.d.ts +1 -1
  102. package/dist/commonjs/funcs/vendorsGetVendorCredentialDetails.d.ts.map +1 -1
  103. package/dist/commonjs/funcs/vendorsGetVendorCredentialDetails.js.map +1 -1
  104. package/dist/commonjs/funcs/vendorsGetVendorCredentialFile.d.ts +1 -1
  105. package/dist/commonjs/funcs/vendorsGetVendorCredentialFile.d.ts.map +1 -1
  106. package/dist/commonjs/funcs/vendorsGetVendorCredentialFile.js.map +1 -1
  107. package/dist/commonjs/funcs/vendorsGetVendorInvoiceDetails.d.ts +1 -1
  108. package/dist/commonjs/funcs/vendorsGetVendorInvoiceDetails.d.ts.map +1 -1
  109. package/dist/commonjs/funcs/vendorsGetVendorInvoiceDetails.js.map +1 -1
  110. package/dist/commonjs/funcs/vendorsGetVendorLegalName.d.ts +1 -1
  111. package/dist/commonjs/funcs/vendorsGetVendorLegalName.d.ts.map +1 -1
  112. package/dist/commonjs/funcs/vendorsGetVendorLegalName.js.map +1 -1
  113. package/dist/commonjs/funcs/vendorsGetVendorsDetails.d.ts +1 -1
  114. package/dist/commonjs/funcs/vendorsGetVendorsDetails.d.ts.map +1 -1
  115. package/dist/commonjs/funcs/vendorsGetVendorsDetails.js.map +1 -1
  116. package/dist/commonjs/funcs/vendorsListVendorAdditionalFacilityFields.d.ts +1 -1
  117. package/dist/commonjs/funcs/vendorsListVendorAdditionalFacilityFields.d.ts.map +1 -1
  118. package/dist/commonjs/funcs/vendorsListVendorAdditionalFacilityFields.js.map +1 -1
  119. package/dist/commonjs/funcs/vendorsListVendorCredentialDataRequests.d.ts +1 -1
  120. package/dist/commonjs/funcs/vendorsListVendorCredentialDataRequests.d.ts.map +1 -1
  121. package/dist/commonjs/funcs/vendorsListVendorCredentialDataRequests.js.map +1 -1
  122. package/dist/commonjs/funcs/vendorsListVendorCredentialFiles.d.ts +1 -1
  123. package/dist/commonjs/funcs/vendorsListVendorCredentialFiles.d.ts.map +1 -1
  124. package/dist/commonjs/funcs/vendorsListVendorCredentialFiles.js.map +1 -1
  125. package/dist/commonjs/funcs/vendorsListVendorCredentialHistory.d.ts +1 -1
  126. package/dist/commonjs/funcs/vendorsListVendorCredentialHistory.d.ts.map +1 -1
  127. package/dist/commonjs/funcs/vendorsListVendorCredentialHistory.js.map +1 -1
  128. package/dist/commonjs/funcs/vendorsListVendorCredentials.d.ts +1 -1
  129. package/dist/commonjs/funcs/vendorsListVendorCredentials.d.ts.map +1 -1
  130. package/dist/commonjs/funcs/vendorsListVendorCredentials.js.map +1 -1
  131. package/dist/commonjs/funcs/vendorsListVendorCredits.d.ts +1 -1
  132. package/dist/commonjs/funcs/vendorsListVendorCredits.d.ts.map +1 -1
  133. package/dist/commonjs/funcs/vendorsListVendorCredits.js.map +1 -1
  134. package/dist/commonjs/funcs/vendorsListVendorFacilityStatuses.d.ts +1 -1
  135. package/dist/commonjs/funcs/vendorsListVendorFacilityStatuses.d.ts.map +1 -1
  136. package/dist/commonjs/funcs/vendorsListVendorFacilityStatuses.js.map +1 -1
  137. package/dist/commonjs/funcs/vendorsListVendorInvoices.d.ts +1 -1
  138. package/dist/commonjs/funcs/vendorsListVendorInvoices.d.ts.map +1 -1
  139. package/dist/commonjs/funcs/vendorsListVendorInvoices.js.map +1 -1
  140. package/dist/commonjs/funcs/vendorsListVendorJobTitles.d.ts +1 -1
  141. package/dist/commonjs/funcs/vendorsListVendorJobTitles.d.ts.map +1 -1
  142. package/dist/commonjs/funcs/vendorsListVendorJobTitles.js.map +1 -1
  143. package/dist/commonjs/funcs/vendorsListVendorManagedByCompanies.d.ts +1 -1
  144. package/dist/commonjs/funcs/vendorsListVendorManagedByCompanies.d.ts.map +1 -1
  145. package/dist/commonjs/funcs/vendorsListVendorManagedByCompanies.js.map +1 -1
  146. package/dist/commonjs/funcs/vendorsListVendorScrubDetails.d.ts +1 -1
  147. package/dist/commonjs/funcs/vendorsListVendorScrubDetails.d.ts.map +1 -1
  148. package/dist/commonjs/funcs/vendorsListVendorScrubDetails.js.map +1 -1
  149. package/dist/commonjs/funcs/vendorsListVendorScrubPackages.d.ts +1 -1
  150. package/dist/commonjs/funcs/vendorsListVendorScrubPackages.d.ts.map +1 -1
  151. package/dist/commonjs/funcs/vendorsListVendorScrubPackages.js.map +1 -1
  152. package/dist/commonjs/funcs/vendorsListVendorScrubPurchases.d.ts +1 -1
  153. package/dist/commonjs/funcs/vendorsListVendorScrubPurchases.d.ts.map +1 -1
  154. package/dist/commonjs/funcs/vendorsListVendorScrubPurchases.js.map +1 -1
  155. package/dist/commonjs/funcs/vendorsPurchaseScrubCredits.d.ts +1 -1
  156. package/dist/commonjs/funcs/vendorsPurchaseScrubCredits.d.ts.map +1 -1
  157. package/dist/commonjs/funcs/vendorsPurchaseScrubCredits.js.map +1 -1
  158. package/dist/commonjs/funcs/vendorsSendDownloadCode.d.ts +17 -0
  159. package/dist/commonjs/funcs/vendorsSendDownloadCode.d.ts.map +1 -0
  160. package/dist/commonjs/funcs/vendorsSendDownloadCode.js +121 -0
  161. package/dist/commonjs/funcs/vendorsSendDownloadCode.js.map +1 -0
  162. package/dist/commonjs/funcs/vendorsSubmitVendorCredential.d.ts +1 -1
  163. package/dist/commonjs/funcs/vendorsSubmitVendorCredential.d.ts.map +1 -1
  164. package/dist/commonjs/funcs/vendorsSubmitVendorCredential.js.map +1 -1
  165. package/dist/commonjs/funcs/vendorsUpdateVendorCredentialData.d.ts +17 -0
  166. package/dist/commonjs/funcs/vendorsUpdateVendorCredentialData.d.ts.map +1 -0
  167. package/dist/commonjs/funcs/vendorsUpdateVendorCredentialData.js +128 -0
  168. package/dist/commonjs/funcs/vendorsUpdateVendorCredentialData.js.map +1 -0
  169. package/dist/commonjs/funcs/vendorsUpdateVendorCredentialFile.d.ts +1 -1
  170. package/dist/commonjs/funcs/vendorsUpdateVendorCredentialFile.d.ts.map +1 -1
  171. package/dist/commonjs/funcs/vendorsUpdateVendorCredentialFile.js.map +1 -1
  172. package/dist/commonjs/funcs/vendorsUpdateVendorDetails.d.ts +1 -1
  173. package/dist/commonjs/funcs/vendorsUpdateVendorDetails.d.ts.map +1 -1
  174. package/dist/commonjs/funcs/vendorsUpdateVendorDetails.js.map +1 -1
  175. package/dist/commonjs/funcs/vendorsUpdateVendorManagedByCompany.d.ts +1 -1
  176. package/dist/commonjs/funcs/vendorsUpdateVendorManagedByCompany.d.ts.map +1 -1
  177. package/dist/commonjs/funcs/vendorsUpdateVendorManagedByCompany.js.map +1 -1
  178. package/dist/commonjs/funcs/vendorsUpdateVendorScrubDetails.d.ts +1 -1
  179. package/dist/commonjs/funcs/vendorsUpdateVendorScrubDetails.d.ts.map +1 -1
  180. package/dist/commonjs/funcs/vendorsUpdateVendorScrubDetails.js.map +1 -1
  181. package/dist/commonjs/funcs/webhooksGetWebhookEndpoint.d.ts +1 -1
  182. package/dist/commonjs/funcs/webhooksGetWebhookEndpoint.d.ts.map +1 -1
  183. package/dist/commonjs/funcs/webhooksGetWebhookEndpoint.js.map +1 -1
  184. package/dist/commonjs/funcs/webhooksListAllWebhookEndpoints.d.ts +1 -1
  185. package/dist/commonjs/funcs/webhooksListAllWebhookEndpoints.d.ts.map +1 -1
  186. package/dist/commonjs/funcs/webhooksListAllWebhookEndpoints.js.map +1 -1
  187. package/dist/commonjs/funcs/webhooksUpdatesTheWebhookEndpointWithTheGivenId.d.ts +1 -1
  188. package/dist/commonjs/funcs/webhooksUpdatesTheWebhookEndpointWithTheGivenId.d.ts.map +1 -1
  189. package/dist/commonjs/funcs/webhooksUpdatesTheWebhookEndpointWithTheGivenId.js.map +1 -1
  190. package/dist/commonjs/funcs/zonesSecurityZoneCheckin.d.ts +1 -1
  191. package/dist/commonjs/funcs/zonesSecurityZoneCheckin.d.ts.map +1 -1
  192. package/dist/commonjs/funcs/zonesSecurityZoneCheckin.js.map +1 -1
  193. package/dist/commonjs/lib/config.d.ts +3 -3
  194. package/dist/commonjs/lib/config.js +3 -3
  195. package/dist/commonjs/mcp-server/mcp-server.js +1 -1
  196. package/dist/commonjs/mcp-server/server.d.ts.map +1 -1
  197. package/dist/commonjs/mcp-server/server.js +9 -1
  198. package/dist/commonjs/mcp-server/server.js.map +1 -1
  199. package/dist/commonjs/mcp-server/tools/invoicesMakePayment.d.ts +8 -0
  200. package/dist/commonjs/mcp-server/tools/invoicesMakePayment.d.ts.map +1 -0
  201. package/dist/commonjs/mcp-server/tools/invoicesMakePayment.js +64 -0
  202. package/dist/commonjs/mcp-server/tools/invoicesMakePayment.js.map +1 -0
  203. package/dist/commonjs/mcp-server/tools/vendorsCheckDownloadCode.d.ts +8 -0
  204. package/dist/commonjs/mcp-server/tools/vendorsCheckDownloadCode.d.ts.map +1 -0
  205. package/dist/commonjs/mcp-server/tools/vendorsCheckDownloadCode.js +64 -0
  206. package/dist/commonjs/mcp-server/tools/vendorsCheckDownloadCode.js.map +1 -0
  207. package/dist/commonjs/mcp-server/tools/vendorsSendDownloadCode.d.ts +8 -0
  208. package/dist/commonjs/mcp-server/tools/vendorsSendDownloadCode.d.ts.map +1 -0
  209. package/dist/commonjs/mcp-server/tools/vendorsSendDownloadCode.js +64 -0
  210. package/dist/commonjs/mcp-server/tools/vendorsSendDownloadCode.js.map +1 -0
  211. package/dist/commonjs/mcp-server/tools/vendorsUpdateVendorCredentialData.d.ts +8 -0
  212. package/dist/commonjs/mcp-server/tools/vendorsUpdateVendorCredentialData.d.ts.map +1 -0
  213. package/dist/commonjs/mcp-server/tools/vendorsUpdateVendorCredentialData.js +64 -0
  214. package/dist/commonjs/mcp-server/tools/vendorsUpdateVendorCredentialData.js.map +1 -0
  215. package/dist/commonjs/models/components/credential.d.ts +4 -0
  216. package/dist/commonjs/models/components/credential.d.ts.map +1 -1
  217. package/dist/commonjs/models/components/credential.js +8 -0
  218. package/dist/commonjs/models/components/credential.js.map +1 -1
  219. package/dist/commonjs/models/errors/apierror.d.ts +14 -2
  220. package/dist/commonjs/models/errors/apierror.d.ts.map +1 -1
  221. package/dist/commonjs/models/errors/apierror.js +1 -1
  222. package/dist/commonjs/models/errors/apierror.js.map +1 -1
  223. package/dist/commonjs/models/operations/checkdownloadcode.d.ts +65 -0
  224. package/dist/commonjs/models/operations/checkdownloadcode.d.ts.map +1 -0
  225. package/dist/commonjs/models/operations/checkdownloadcode.js +107 -0
  226. package/dist/commonjs/models/operations/checkdownloadcode.js.map +1 -0
  227. package/dist/commonjs/models/operations/index.d.ts +4 -0
  228. package/dist/commonjs/models/operations/index.d.ts.map +1 -1
  229. package/dist/commonjs/models/operations/index.js +4 -0
  230. package/dist/commonjs/models/operations/index.js.map +1 -1
  231. package/dist/commonjs/models/operations/makepayment.d.ts +91 -0
  232. package/dist/commonjs/models/operations/makepayment.d.ts.map +1 -0
  233. package/dist/commonjs/models/operations/makepayment.js +146 -0
  234. package/dist/commonjs/models/operations/makepayment.js.map +1 -0
  235. package/dist/commonjs/models/operations/senddownloadcode.d.ts +85 -0
  236. package/dist/commonjs/models/operations/senddownloadcode.d.ts.map +1 -0
  237. package/dist/commonjs/models/operations/senddownloadcode.js +128 -0
  238. package/dist/commonjs/models/operations/senddownloadcode.js.map +1 -0
  239. package/dist/commonjs/models/operations/updatevendorcredentialdata.d.ts +186 -0
  240. package/dist/commonjs/models/operations/updatevendorcredentialdata.d.ts.map +1 -0
  241. package/dist/commonjs/models/operations/updatevendorcredentialdata.js +217 -0
  242. package/dist/commonjs/models/operations/updatevendorcredentialdata.js.map +1 -0
  243. package/dist/commonjs/react-query/_types.d.ts +16 -3
  244. package/dist/commonjs/react-query/_types.d.ts.map +1 -1
  245. package/dist/commonjs/react-query/index.d.ts +4 -0
  246. package/dist/commonjs/react-query/index.d.ts.map +1 -1
  247. package/dist/commonjs/react-query/index.js +4 -0
  248. package/dist/commonjs/react-query/index.js.map +1 -1
  249. package/dist/commonjs/react-query/invoicesMakePayment.d.ts +23 -0
  250. package/dist/commonjs/react-query/invoicesMakePayment.d.ts.map +1 -0
  251. package/dist/commonjs/react-query/invoicesMakePayment.js +47 -0
  252. package/dist/commonjs/react-query/invoicesMakePayment.js.map +1 -0
  253. package/dist/commonjs/react-query/vendorsCheckDownloadCode.d.ts +42 -0
  254. package/dist/commonjs/react-query/vendorsCheckDownloadCode.d.ts.map +1 -0
  255. package/dist/commonjs/react-query/vendorsCheckDownloadCode.js +95 -0
  256. package/dist/commonjs/react-query/vendorsCheckDownloadCode.js.map +1 -0
  257. package/dist/commonjs/react-query/vendorsSendDownloadCode.d.ts +23 -0
  258. package/dist/commonjs/react-query/vendorsSendDownloadCode.d.ts.map +1 -0
  259. package/dist/commonjs/react-query/vendorsSendDownloadCode.js +47 -0
  260. package/dist/commonjs/react-query/vendorsSendDownloadCode.js.map +1 -0
  261. package/dist/commonjs/react-query/vendorsUpdateVendorCredentialData.d.ts +23 -0
  262. package/dist/commonjs/react-query/vendorsUpdateVendorCredentialData.d.ts.map +1 -0
  263. package/dist/commonjs/react-query/vendorsUpdateVendorCredentialData.js +51 -0
  264. package/dist/commonjs/react-query/vendorsUpdateVendorCredentialData.js.map +1 -0
  265. package/dist/commonjs/sdk/invoices.d.ts +12 -0
  266. package/dist/commonjs/sdk/invoices.d.ts.map +1 -0
  267. package/dist/commonjs/sdk/invoices.js +22 -0
  268. package/dist/commonjs/sdk/invoices.js.map +1 -0
  269. package/dist/commonjs/sdk/sdk.d.ts +3 -0
  270. package/dist/commonjs/sdk/sdk.d.ts.map +1 -1
  271. package/dist/commonjs/sdk/sdk.js +4 -0
  272. package/dist/commonjs/sdk/sdk.js.map +1 -1
  273. package/dist/commonjs/sdk/vendors.d.ts +21 -0
  274. package/dist/commonjs/sdk/vendors.d.ts.map +1 -1
  275. package/dist/commonjs/sdk/vendors.js +30 -0
  276. package/dist/commonjs/sdk/vendors.js.map +1 -1
  277. package/dist/esm/__tests__/invoices.test.d.ts +2 -0
  278. package/dist/esm/__tests__/invoices.test.d.ts.map +1 -0
  279. package/dist/esm/__tests__/invoices.test.js +23 -0
  280. package/dist/esm/__tests__/invoices.test.js.map +1 -0
  281. package/dist/esm/__tests__/vendors.test.js +54 -10
  282. package/dist/esm/__tests__/vendors.test.js.map +1 -1
  283. package/dist/esm/__tests__/webhooks.test.js +1 -1
  284. package/dist/esm/__tests__/webhooks.test.js.map +1 -1
  285. package/dist/esm/__tests__/zones.test.js +8 -7
  286. package/dist/esm/__tests__/zones.test.js.map +1 -1
  287. package/dist/esm/funcs/companiesListOrSearchCompanies.d.ts +1 -1
  288. package/dist/esm/funcs/companiesListOrSearchCompanies.d.ts.map +1 -1
  289. package/dist/esm/funcs/companiesListOrSearchCompanies.js.map +1 -1
  290. package/dist/esm/funcs/dataRequestsAddDataRequestFile.d.ts +1 -1
  291. package/dist/esm/funcs/dataRequestsAddDataRequestFile.d.ts.map +1 -1
  292. package/dist/esm/funcs/dataRequestsAddDataRequestFile.js.map +1 -1
  293. package/dist/esm/funcs/dataRequestsDeleteDataRequestFile.d.ts +1 -1
  294. package/dist/esm/funcs/dataRequestsDeleteDataRequestFile.d.ts.map +1 -1
  295. package/dist/esm/funcs/dataRequestsDeleteDataRequestFile.js.map +1 -1
  296. package/dist/esm/funcs/dataRequestsUpdateDataRequest.d.ts +1 -1
  297. package/dist/esm/funcs/dataRequestsUpdateDataRequest.d.ts.map +1 -1
  298. package/dist/esm/funcs/dataRequestsUpdateDataRequest.js.map +1 -1
  299. package/dist/esm/funcs/invoicesMakePayment.d.ts +17 -0
  300. package/dist/esm/funcs/invoicesMakePayment.d.ts.map +1 -0
  301. package/dist/esm/funcs/invoicesMakePayment.js +87 -0
  302. package/dist/esm/funcs/invoicesMakePayment.js.map +1 -0
  303. package/dist/esm/funcs/organizationsGetFacility.d.ts +1 -1
  304. package/dist/esm/funcs/organizationsGetFacility.d.ts.map +1 -1
  305. package/dist/esm/funcs/organizationsGetFacility.js.map +1 -1
  306. package/dist/esm/funcs/organizationsListOrSearchFacilities.d.ts +1 -1
  307. package/dist/esm/funcs/organizationsListOrSearchFacilities.d.ts.map +1 -1
  308. package/dist/esm/funcs/organizationsListOrSearchFacilities.js.map +1 -1
  309. package/dist/esm/funcs/supportArticlesGetSupportArticle.d.ts +1 -1
  310. package/dist/esm/funcs/supportArticlesGetSupportArticle.d.ts.map +1 -1
  311. package/dist/esm/funcs/supportArticlesGetSupportArticle.js.map +1 -1
  312. package/dist/esm/funcs/supportArticlesListOrSearchSupportArticles.d.ts +1 -1
  313. package/dist/esm/funcs/supportArticlesListOrSearchSupportArticles.d.ts.map +1 -1
  314. package/dist/esm/funcs/supportArticlesListOrSearchSupportArticles.js.map +1 -1
  315. package/dist/esm/funcs/usersChangePassword.d.ts +1 -1
  316. package/dist/esm/funcs/usersChangePassword.d.ts.map +1 -1
  317. package/dist/esm/funcs/usersChangePassword.js.map +1 -1
  318. package/dist/esm/funcs/usersGetCurrentUser.d.ts +1 -1
  319. package/dist/esm/funcs/usersGetCurrentUser.d.ts.map +1 -1
  320. package/dist/esm/funcs/usersGetCurrentUser.js.map +1 -1
  321. package/dist/esm/funcs/usersGetUserById.d.ts +1 -1
  322. package/dist/esm/funcs/usersGetUserById.d.ts.map +1 -1
  323. package/dist/esm/funcs/usersGetUserById.js.map +1 -1
  324. package/dist/esm/funcs/usersMagiclink.d.ts +1 -1
  325. package/dist/esm/funcs/usersMagiclink.d.ts.map +1 -1
  326. package/dist/esm/funcs/usersMagiclink.js.map +1 -1
  327. package/dist/esm/funcs/usersPassword.d.ts +1 -1
  328. package/dist/esm/funcs/usersPassword.d.ts.map +1 -1
  329. package/dist/esm/funcs/usersPassword.js.map +1 -1
  330. package/dist/esm/funcs/usersPasswordResetRequest.d.ts +1 -1
  331. package/dist/esm/funcs/usersPasswordResetRequest.d.ts.map +1 -1
  332. package/dist/esm/funcs/usersPasswordResetRequest.js.map +1 -1
  333. package/dist/esm/funcs/usersPostAuthenticate.d.ts +1 -1
  334. package/dist/esm/funcs/usersPostAuthenticate.d.ts.map +1 -1
  335. package/dist/esm/funcs/usersPostAuthenticate.js.map +1 -1
  336. package/dist/esm/funcs/vendorScansVendorScanOut.d.ts +1 -1
  337. package/dist/esm/funcs/vendorScansVendorScanOut.d.ts.map +1 -1
  338. package/dist/esm/funcs/vendorScansVendorScanOut.js.map +1 -1
  339. package/dist/esm/funcs/vendorsAddVendorCredentialFile.d.ts +1 -1
  340. package/dist/esm/funcs/vendorsAddVendorCredentialFile.d.ts.map +1 -1
  341. package/dist/esm/funcs/vendorsAddVendorCredentialFile.js.map +1 -1
  342. package/dist/esm/funcs/vendorsAddVendorManagedByCompany.d.ts +1 -1
  343. package/dist/esm/funcs/vendorsAddVendorManagedByCompany.d.ts.map +1 -1
  344. package/dist/esm/funcs/vendorsAddVendorManagedByCompany.js.map +1 -1
  345. package/dist/esm/funcs/vendorsCheckDownloadCode.d.ts +17 -0
  346. package/dist/esm/funcs/vendorsCheckDownloadCode.d.ts.map +1 -0
  347. package/dist/esm/funcs/vendorsCheckDownloadCode.js +87 -0
  348. package/dist/esm/funcs/vendorsCheckDownloadCode.js.map +1 -0
  349. package/dist/esm/funcs/vendorsCreateNewVendorCredentialVersion.d.ts +1 -1
  350. package/dist/esm/funcs/vendorsCreateNewVendorCredentialVersion.d.ts.map +1 -1
  351. package/dist/esm/funcs/vendorsCreateNewVendorCredentialVersion.js.map +1 -1
  352. package/dist/esm/funcs/vendorsCreateOrUpdateBcr.d.ts +1 -1
  353. package/dist/esm/funcs/vendorsCreateOrUpdateBcr.d.ts.map +1 -1
  354. package/dist/esm/funcs/vendorsCreateOrUpdateBcr.js.map +1 -1
  355. package/dist/esm/funcs/vendorsCreateVendorCompany.d.ts +1 -1
  356. package/dist/esm/funcs/vendorsCreateVendorCompany.d.ts.map +1 -1
  357. package/dist/esm/funcs/vendorsCreateVendorCompany.js.map +1 -1
  358. package/dist/esm/funcs/vendorsCreateVendorRegistration.d.ts +1 -1
  359. package/dist/esm/funcs/vendorsCreateVendorRegistration.d.ts.map +1 -1
  360. package/dist/esm/funcs/vendorsCreateVendorRegistration.js.map +1 -1
  361. package/dist/esm/funcs/vendorsDeclineVendorCredential.d.ts +1 -1
  362. package/dist/esm/funcs/vendorsDeclineVendorCredential.d.ts.map +1 -1
  363. package/dist/esm/funcs/vendorsDeclineVendorCredential.js.map +1 -1
  364. package/dist/esm/funcs/vendorsDeleteVendorCredentialFile.d.ts +1 -1
  365. package/dist/esm/funcs/vendorsDeleteVendorCredentialFile.d.ts.map +1 -1
  366. package/dist/esm/funcs/vendorsDeleteVendorCredentialFile.js.map +1 -1
  367. package/dist/esm/funcs/vendorsDeleteVendorManagedByCompany.d.ts +1 -1
  368. package/dist/esm/funcs/vendorsDeleteVendorManagedByCompany.d.ts.map +1 -1
  369. package/dist/esm/funcs/vendorsDeleteVendorManagedByCompany.js.map +1 -1
  370. package/dist/esm/funcs/vendorsExpediteTimeRemaining.d.ts +1 -1
  371. package/dist/esm/funcs/vendorsExpediteTimeRemaining.d.ts.map +1 -1
  372. package/dist/esm/funcs/vendorsExpediteTimeRemaining.js.map +1 -1
  373. package/dist/esm/funcs/vendorsGetVendorCredentialDetails.d.ts +1 -1
  374. package/dist/esm/funcs/vendorsGetVendorCredentialDetails.d.ts.map +1 -1
  375. package/dist/esm/funcs/vendorsGetVendorCredentialDetails.js.map +1 -1
  376. package/dist/esm/funcs/vendorsGetVendorCredentialFile.d.ts +1 -1
  377. package/dist/esm/funcs/vendorsGetVendorCredentialFile.d.ts.map +1 -1
  378. package/dist/esm/funcs/vendorsGetVendorCredentialFile.js.map +1 -1
  379. package/dist/esm/funcs/vendorsGetVendorInvoiceDetails.d.ts +1 -1
  380. package/dist/esm/funcs/vendorsGetVendorInvoiceDetails.d.ts.map +1 -1
  381. package/dist/esm/funcs/vendorsGetVendorInvoiceDetails.js.map +1 -1
  382. package/dist/esm/funcs/vendorsGetVendorLegalName.d.ts +1 -1
  383. package/dist/esm/funcs/vendorsGetVendorLegalName.d.ts.map +1 -1
  384. package/dist/esm/funcs/vendorsGetVendorLegalName.js.map +1 -1
  385. package/dist/esm/funcs/vendorsGetVendorsDetails.d.ts +1 -1
  386. package/dist/esm/funcs/vendorsGetVendorsDetails.d.ts.map +1 -1
  387. package/dist/esm/funcs/vendorsGetVendorsDetails.js.map +1 -1
  388. package/dist/esm/funcs/vendorsListVendorAdditionalFacilityFields.d.ts +1 -1
  389. package/dist/esm/funcs/vendorsListVendorAdditionalFacilityFields.d.ts.map +1 -1
  390. package/dist/esm/funcs/vendorsListVendorAdditionalFacilityFields.js.map +1 -1
  391. package/dist/esm/funcs/vendorsListVendorCredentialDataRequests.d.ts +1 -1
  392. package/dist/esm/funcs/vendorsListVendorCredentialDataRequests.d.ts.map +1 -1
  393. package/dist/esm/funcs/vendorsListVendorCredentialDataRequests.js.map +1 -1
  394. package/dist/esm/funcs/vendorsListVendorCredentialFiles.d.ts +1 -1
  395. package/dist/esm/funcs/vendorsListVendorCredentialFiles.d.ts.map +1 -1
  396. package/dist/esm/funcs/vendorsListVendorCredentialFiles.js.map +1 -1
  397. package/dist/esm/funcs/vendorsListVendorCredentialHistory.d.ts +1 -1
  398. package/dist/esm/funcs/vendorsListVendorCredentialHistory.d.ts.map +1 -1
  399. package/dist/esm/funcs/vendorsListVendorCredentialHistory.js.map +1 -1
  400. package/dist/esm/funcs/vendorsListVendorCredentials.d.ts +1 -1
  401. package/dist/esm/funcs/vendorsListVendorCredentials.d.ts.map +1 -1
  402. package/dist/esm/funcs/vendorsListVendorCredentials.js.map +1 -1
  403. package/dist/esm/funcs/vendorsListVendorCredits.d.ts +1 -1
  404. package/dist/esm/funcs/vendorsListVendorCredits.d.ts.map +1 -1
  405. package/dist/esm/funcs/vendorsListVendorCredits.js.map +1 -1
  406. package/dist/esm/funcs/vendorsListVendorFacilityStatuses.d.ts +1 -1
  407. package/dist/esm/funcs/vendorsListVendorFacilityStatuses.d.ts.map +1 -1
  408. package/dist/esm/funcs/vendorsListVendorFacilityStatuses.js.map +1 -1
  409. package/dist/esm/funcs/vendorsListVendorInvoices.d.ts +1 -1
  410. package/dist/esm/funcs/vendorsListVendorInvoices.d.ts.map +1 -1
  411. package/dist/esm/funcs/vendorsListVendorInvoices.js.map +1 -1
  412. package/dist/esm/funcs/vendorsListVendorJobTitles.d.ts +1 -1
  413. package/dist/esm/funcs/vendorsListVendorJobTitles.d.ts.map +1 -1
  414. package/dist/esm/funcs/vendorsListVendorJobTitles.js.map +1 -1
  415. package/dist/esm/funcs/vendorsListVendorManagedByCompanies.d.ts +1 -1
  416. package/dist/esm/funcs/vendorsListVendorManagedByCompanies.d.ts.map +1 -1
  417. package/dist/esm/funcs/vendorsListVendorManagedByCompanies.js.map +1 -1
  418. package/dist/esm/funcs/vendorsListVendorScrubDetails.d.ts +1 -1
  419. package/dist/esm/funcs/vendorsListVendorScrubDetails.d.ts.map +1 -1
  420. package/dist/esm/funcs/vendorsListVendorScrubDetails.js.map +1 -1
  421. package/dist/esm/funcs/vendorsListVendorScrubPackages.d.ts +1 -1
  422. package/dist/esm/funcs/vendorsListVendorScrubPackages.d.ts.map +1 -1
  423. package/dist/esm/funcs/vendorsListVendorScrubPackages.js.map +1 -1
  424. package/dist/esm/funcs/vendorsListVendorScrubPurchases.d.ts +1 -1
  425. package/dist/esm/funcs/vendorsListVendorScrubPurchases.d.ts.map +1 -1
  426. package/dist/esm/funcs/vendorsListVendorScrubPurchases.js.map +1 -1
  427. package/dist/esm/funcs/vendorsPurchaseScrubCredits.d.ts +1 -1
  428. package/dist/esm/funcs/vendorsPurchaseScrubCredits.d.ts.map +1 -1
  429. package/dist/esm/funcs/vendorsPurchaseScrubCredits.js.map +1 -1
  430. package/dist/esm/funcs/vendorsSendDownloadCode.d.ts +17 -0
  431. package/dist/esm/funcs/vendorsSendDownloadCode.d.ts.map +1 -0
  432. package/dist/esm/funcs/vendorsSendDownloadCode.js +85 -0
  433. package/dist/esm/funcs/vendorsSendDownloadCode.js.map +1 -0
  434. package/dist/esm/funcs/vendorsSubmitVendorCredential.d.ts +1 -1
  435. package/dist/esm/funcs/vendorsSubmitVendorCredential.d.ts.map +1 -1
  436. package/dist/esm/funcs/vendorsSubmitVendorCredential.js.map +1 -1
  437. package/dist/esm/funcs/vendorsUpdateVendorCredentialData.d.ts +17 -0
  438. package/dist/esm/funcs/vendorsUpdateVendorCredentialData.d.ts.map +1 -0
  439. package/dist/esm/funcs/vendorsUpdateVendorCredentialData.js +92 -0
  440. package/dist/esm/funcs/vendorsUpdateVendorCredentialData.js.map +1 -0
  441. package/dist/esm/funcs/vendorsUpdateVendorCredentialFile.d.ts +1 -1
  442. package/dist/esm/funcs/vendorsUpdateVendorCredentialFile.d.ts.map +1 -1
  443. package/dist/esm/funcs/vendorsUpdateVendorCredentialFile.js.map +1 -1
  444. package/dist/esm/funcs/vendorsUpdateVendorDetails.d.ts +1 -1
  445. package/dist/esm/funcs/vendorsUpdateVendorDetails.d.ts.map +1 -1
  446. package/dist/esm/funcs/vendorsUpdateVendorDetails.js.map +1 -1
  447. package/dist/esm/funcs/vendorsUpdateVendorManagedByCompany.d.ts +1 -1
  448. package/dist/esm/funcs/vendorsUpdateVendorManagedByCompany.d.ts.map +1 -1
  449. package/dist/esm/funcs/vendorsUpdateVendorManagedByCompany.js.map +1 -1
  450. package/dist/esm/funcs/vendorsUpdateVendorScrubDetails.d.ts +1 -1
  451. package/dist/esm/funcs/vendorsUpdateVendorScrubDetails.d.ts.map +1 -1
  452. package/dist/esm/funcs/vendorsUpdateVendorScrubDetails.js.map +1 -1
  453. package/dist/esm/funcs/webhooksGetWebhookEndpoint.d.ts +1 -1
  454. package/dist/esm/funcs/webhooksGetWebhookEndpoint.d.ts.map +1 -1
  455. package/dist/esm/funcs/webhooksGetWebhookEndpoint.js.map +1 -1
  456. package/dist/esm/funcs/webhooksListAllWebhookEndpoints.d.ts +1 -1
  457. package/dist/esm/funcs/webhooksListAllWebhookEndpoints.d.ts.map +1 -1
  458. package/dist/esm/funcs/webhooksListAllWebhookEndpoints.js.map +1 -1
  459. package/dist/esm/funcs/webhooksUpdatesTheWebhookEndpointWithTheGivenId.d.ts +1 -1
  460. package/dist/esm/funcs/webhooksUpdatesTheWebhookEndpointWithTheGivenId.d.ts.map +1 -1
  461. package/dist/esm/funcs/webhooksUpdatesTheWebhookEndpointWithTheGivenId.js.map +1 -1
  462. package/dist/esm/funcs/zonesSecurityZoneCheckin.d.ts +1 -1
  463. package/dist/esm/funcs/zonesSecurityZoneCheckin.d.ts.map +1 -1
  464. package/dist/esm/funcs/zonesSecurityZoneCheckin.js.map +1 -1
  465. package/dist/esm/lib/config.d.ts +3 -3
  466. package/dist/esm/lib/config.js +3 -3
  467. package/dist/esm/mcp-server/mcp-server.js +1 -1
  468. package/dist/esm/mcp-server/server.d.ts.map +1 -1
  469. package/dist/esm/mcp-server/server.js +9 -1
  470. package/dist/esm/mcp-server/server.js.map +1 -1
  471. package/dist/esm/mcp-server/tools/invoicesMakePayment.d.ts +8 -0
  472. package/dist/esm/mcp-server/tools/invoicesMakePayment.d.ts.map +1 -0
  473. package/dist/esm/mcp-server/tools/invoicesMakePayment.js +28 -0
  474. package/dist/esm/mcp-server/tools/invoicesMakePayment.js.map +1 -0
  475. package/dist/esm/mcp-server/tools/vendorsCheckDownloadCode.d.ts +8 -0
  476. package/dist/esm/mcp-server/tools/vendorsCheckDownloadCode.d.ts.map +1 -0
  477. package/dist/esm/mcp-server/tools/vendorsCheckDownloadCode.js +28 -0
  478. package/dist/esm/mcp-server/tools/vendorsCheckDownloadCode.js.map +1 -0
  479. package/dist/esm/mcp-server/tools/vendorsSendDownloadCode.d.ts +8 -0
  480. package/dist/esm/mcp-server/tools/vendorsSendDownloadCode.d.ts.map +1 -0
  481. package/dist/esm/mcp-server/tools/vendorsSendDownloadCode.js +28 -0
  482. package/dist/esm/mcp-server/tools/vendorsSendDownloadCode.js.map +1 -0
  483. package/dist/esm/mcp-server/tools/vendorsUpdateVendorCredentialData.d.ts +8 -0
  484. package/dist/esm/mcp-server/tools/vendorsUpdateVendorCredentialData.d.ts.map +1 -0
  485. package/dist/esm/mcp-server/tools/vendorsUpdateVendorCredentialData.js +28 -0
  486. package/dist/esm/mcp-server/tools/vendorsUpdateVendorCredentialData.js.map +1 -0
  487. package/dist/esm/models/components/credential.d.ts +4 -0
  488. package/dist/esm/models/components/credential.d.ts.map +1 -1
  489. package/dist/esm/models/components/credential.js +8 -0
  490. package/dist/esm/models/components/credential.js.map +1 -1
  491. package/dist/esm/models/errors/apierror.d.ts +14 -2
  492. package/dist/esm/models/errors/apierror.d.ts.map +1 -1
  493. package/dist/esm/models/errors/apierror.js +1 -1
  494. package/dist/esm/models/errors/apierror.js.map +1 -1
  495. package/dist/esm/models/operations/checkdownloadcode.d.ts +65 -0
  496. package/dist/esm/models/operations/checkdownloadcode.d.ts.map +1 -0
  497. package/dist/esm/models/operations/checkdownloadcode.js +67 -0
  498. package/dist/esm/models/operations/checkdownloadcode.js.map +1 -0
  499. package/dist/esm/models/operations/index.d.ts +4 -0
  500. package/dist/esm/models/operations/index.d.ts.map +1 -1
  501. package/dist/esm/models/operations/index.js +4 -0
  502. package/dist/esm/models/operations/index.js.map +1 -1
  503. package/dist/esm/models/operations/makepayment.d.ts +91 -0
  504. package/dist/esm/models/operations/makepayment.d.ts.map +1 -0
  505. package/dist/esm/models/operations/makepayment.js +104 -0
  506. package/dist/esm/models/operations/makepayment.js.map +1 -0
  507. package/dist/esm/models/operations/senddownloadcode.d.ts +85 -0
  508. package/dist/esm/models/operations/senddownloadcode.d.ts.map +1 -0
  509. package/dist/esm/models/operations/senddownloadcode.js +88 -0
  510. package/dist/esm/models/operations/senddownloadcode.js.map +1 -0
  511. package/dist/esm/models/operations/updatevendorcredentialdata.d.ts +186 -0
  512. package/dist/esm/models/operations/updatevendorcredentialdata.d.ts.map +1 -0
  513. package/dist/esm/models/operations/updatevendorcredentialdata.js +177 -0
  514. package/dist/esm/models/operations/updatevendorcredentialdata.js.map +1 -0
  515. package/dist/esm/react-query/_types.d.ts +16 -3
  516. package/dist/esm/react-query/_types.d.ts.map +1 -1
  517. package/dist/esm/react-query/index.d.ts +4 -0
  518. package/dist/esm/react-query/index.d.ts.map +1 -1
  519. package/dist/esm/react-query/index.js +4 -0
  520. package/dist/esm/react-query/index.js.map +1 -1
  521. package/dist/esm/react-query/invoicesMakePayment.d.ts +23 -0
  522. package/dist/esm/react-query/invoicesMakePayment.d.ts.map +1 -0
  523. package/dist/esm/react-query/invoicesMakePayment.js +42 -0
  524. package/dist/esm/react-query/invoicesMakePayment.js.map +1 -0
  525. package/dist/esm/react-query/vendorsCheckDownloadCode.d.ts +42 -0
  526. package/dist/esm/react-query/vendorsCheckDownloadCode.d.ts.map +1 -0
  527. package/dist/esm/react-query/vendorsCheckDownloadCode.js +85 -0
  528. package/dist/esm/react-query/vendorsCheckDownloadCode.js.map +1 -0
  529. package/dist/esm/react-query/vendorsSendDownloadCode.d.ts +23 -0
  530. package/dist/esm/react-query/vendorsSendDownloadCode.d.ts.map +1 -0
  531. package/dist/esm/react-query/vendorsSendDownloadCode.js +42 -0
  532. package/dist/esm/react-query/vendorsSendDownloadCode.js.map +1 -0
  533. package/dist/esm/react-query/vendorsUpdateVendorCredentialData.d.ts +23 -0
  534. package/dist/esm/react-query/vendorsUpdateVendorCredentialData.d.ts.map +1 -0
  535. package/dist/esm/react-query/vendorsUpdateVendorCredentialData.js +46 -0
  536. package/dist/esm/react-query/vendorsUpdateVendorCredentialData.js.map +1 -0
  537. package/dist/esm/sdk/invoices.d.ts +12 -0
  538. package/dist/esm/sdk/invoices.d.ts.map +1 -0
  539. package/dist/esm/sdk/invoices.js +18 -0
  540. package/dist/esm/sdk/invoices.js.map +1 -0
  541. package/dist/esm/sdk/sdk.d.ts +3 -0
  542. package/dist/esm/sdk/sdk.d.ts.map +1 -1
  543. package/dist/esm/sdk/sdk.js +4 -0
  544. package/dist/esm/sdk/sdk.js.map +1 -1
  545. package/dist/esm/sdk/vendors.d.ts +21 -0
  546. package/dist/esm/sdk/vendors.d.ts.map +1 -1
  547. package/dist/esm/sdk/vendors.js +30 -0
  548. package/dist/esm/sdk/vendors.js.map +1 -1
  549. package/jsr.json +1 -1
  550. package/package.json +1 -1
  551. package/src/__tests__/invoices.test.ts +26 -0
  552. package/src/__tests__/vendors.test.ts +63 -10
  553. package/src/__tests__/webhooks.test.ts +1 -1
  554. package/src/__tests__/zones.test.ts +8 -7
  555. package/src/funcs/companiesListOrSearchCompanies.ts +0 -4
  556. package/src/funcs/dataRequestsAddDataRequestFile.ts +0 -3
  557. package/src/funcs/dataRequestsDeleteDataRequestFile.ts +0 -3
  558. package/src/funcs/dataRequestsUpdateDataRequest.ts +0 -3
  559. package/src/funcs/invoicesMakePayment.ts +172 -0
  560. package/src/funcs/organizationsGetFacility.ts +0 -3
  561. package/src/funcs/organizationsListOrSearchFacilities.ts +0 -4
  562. package/src/funcs/supportArticlesGetSupportArticle.ts +0 -3
  563. package/src/funcs/supportArticlesListOrSearchSupportArticles.ts +0 -4
  564. package/src/funcs/usersChangePassword.ts +0 -3
  565. package/src/funcs/usersGetCurrentUser.ts +0 -3
  566. package/src/funcs/usersGetUserById.ts +0 -3
  567. package/src/funcs/usersMagiclink.ts +0 -3
  568. package/src/funcs/usersPassword.ts +0 -3
  569. package/src/funcs/usersPasswordResetRequest.ts +0 -3
  570. package/src/funcs/usersPostAuthenticate.ts +0 -3
  571. package/src/funcs/vendorScansVendorScanOut.ts +0 -3
  572. package/src/funcs/vendorsAddVendorCredentialFile.ts +0 -3
  573. package/src/funcs/vendorsAddVendorManagedByCompany.ts +0 -3
  574. package/src/funcs/vendorsCheckDownloadCode.ts +179 -0
  575. package/src/funcs/vendorsCreateNewVendorCredentialVersion.ts +0 -3
  576. package/src/funcs/vendorsCreateOrUpdateBcr.ts +0 -3
  577. package/src/funcs/vendorsCreateVendorCompany.ts +0 -3
  578. package/src/funcs/vendorsCreateVendorRegistration.ts +0 -3
  579. package/src/funcs/vendorsDeclineVendorCredential.ts +0 -3
  580. package/src/funcs/vendorsDeleteVendorCredentialFile.ts +0 -3
  581. package/src/funcs/vendorsDeleteVendorManagedByCompany.ts +0 -3
  582. package/src/funcs/vendorsExpediteTimeRemaining.ts +0 -3
  583. package/src/funcs/vendorsGetVendorCredentialDetails.ts +0 -3
  584. package/src/funcs/vendorsGetVendorCredentialFile.ts +0 -3
  585. package/src/funcs/vendorsGetVendorInvoiceDetails.ts +0 -3
  586. package/src/funcs/vendorsGetVendorLegalName.ts +0 -3
  587. package/src/funcs/vendorsGetVendorsDetails.ts +0 -3
  588. package/src/funcs/vendorsListVendorAdditionalFacilityFields.ts +0 -4
  589. package/src/funcs/vendorsListVendorCredentialDataRequests.ts +0 -3
  590. package/src/funcs/vendorsListVendorCredentialFiles.ts +0 -3
  591. package/src/funcs/vendorsListVendorCredentialHistory.ts +0 -4
  592. package/src/funcs/vendorsListVendorCredentials.ts +0 -4
  593. package/src/funcs/vendorsListVendorCredits.ts +0 -4
  594. package/src/funcs/vendorsListVendorFacilityStatuses.ts +0 -4
  595. package/src/funcs/vendorsListVendorInvoices.ts +0 -4
  596. package/src/funcs/vendorsListVendorJobTitles.ts +0 -4
  597. package/src/funcs/vendorsListVendorManagedByCompanies.ts +0 -4
  598. package/src/funcs/vendorsListVendorScrubDetails.ts +0 -3
  599. package/src/funcs/vendorsListVendorScrubPackages.ts +0 -4
  600. package/src/funcs/vendorsListVendorScrubPurchases.ts +0 -4
  601. package/src/funcs/vendorsPurchaseScrubCredits.ts +0 -3
  602. package/src/funcs/vendorsSendDownloadCode.ts +176 -0
  603. package/src/funcs/vendorsSubmitVendorCredential.ts +0 -3
  604. package/src/funcs/vendorsUpdateVendorCredentialData.ts +180 -0
  605. package/src/funcs/vendorsUpdateVendorCredentialFile.ts +0 -3
  606. package/src/funcs/vendorsUpdateVendorDetails.ts +0 -3
  607. package/src/funcs/vendorsUpdateVendorManagedByCompany.ts +0 -3
  608. package/src/funcs/vendorsUpdateVendorScrubDetails.ts +0 -3
  609. package/src/funcs/webhooksGetWebhookEndpoint.ts +0 -3
  610. package/src/funcs/webhooksListAllWebhookEndpoints.ts +0 -3
  611. package/src/funcs/webhooksUpdatesTheWebhookEndpointWithTheGivenId.ts +0 -3
  612. package/src/funcs/zonesSecurityZoneCheckin.ts +0 -3
  613. package/src/lib/config.ts +3 -3
  614. package/src/mcp-server/mcp-server.ts +1 -1
  615. package/src/mcp-server/server.ts +9 -1
  616. package/src/mcp-server/tools/invoicesMakePayment.ts +37 -0
  617. package/src/mcp-server/tools/vendorsCheckDownloadCode.ts +37 -0
  618. package/src/mcp-server/tools/vendorsSendDownloadCode.ts +37 -0
  619. package/src/mcp-server/tools/vendorsUpdateVendorCredentialData.ts +39 -0
  620. package/src/models/components/credential.ts +12 -0
  621. package/src/models/errors/apierror.ts +18 -3
  622. package/src/models/operations/checkdownloadcode.ts +148 -0
  623. package/src/models/operations/index.ts +4 -0
  624. package/src/models/operations/makepayment.ts +217 -0
  625. package/src/models/operations/senddownloadcode.ts +169 -0
  626. package/src/models/operations/updatevendorcredentialdata.ts +305 -0
  627. package/src/react-query/_types.ts +75 -4
  628. package/src/react-query/index.ts +4 -0
  629. package/src/react-query/invoicesMakePayment.ts +89 -0
  630. package/src/react-query/vendorsCheckDownloadCode.ts +170 -0
  631. package/src/react-query/vendorsSendDownloadCode.ts +88 -0
  632. package/src/react-query/vendorsUpdateVendorCredentialData.ts +92 -0
  633. package/src/sdk/invoices.ts +27 -0
  634. package/src/sdk/sdk.ts +6 -0
  635. package/src/sdk/vendors.ts +54 -0
package/bin/mcp-server.js CHANGED
@@ -34236,9 +34236,9 @@ var init_config = __esm(() => {
34236
34236
  SDK_METADATA = {
34237
34237
  language: "typescript",
34238
34238
  openapiDocVersion: "0.0.3",
34239
- sdkVersion: "0.35.1",
34240
- genVersion: "2.618.0",
34241
- userAgent: "speakeasy-sdk/typescript 0.35.1 2.618.0 0.0.3 @greensecurity/javascript-sdk"
34239
+ sdkVersion: "0.35.7",
34240
+ genVersion: "2.620.2",
34241
+ userAgent: "speakeasy-sdk/typescript 0.35.7 2.620.2 0.0.3 @greensecurity/javascript-sdk"
34242
34242
  };
34243
34243
  });
34244
34244
 
@@ -35222,18 +35222,18 @@ var init_tools = __esm(() => {
35222
35222
  var APIError;
35223
35223
  var init_apierror = __esm(() => {
35224
35224
  APIError = class APIError extends Error {
35225
- rawResponse;
35226
- body;
35227
35225
  statusCode;
35228
35226
  contentType;
35227
+ body;
35228
+ rawResponse;
35229
35229
  constructor(message, rawResponse, body = "") {
35230
35230
  const statusCode = rawResponse.status;
35231
35231
  const contentType2 = rawResponse.headers.get("content-type") || "";
35232
35232
  const bodyString = body.length > 0 ? `
35233
35233
  ${body}` : "";
35234
35234
  super(`${message}: Status ${statusCode} Content-Type ${contentType2} Body ${bodyString}`);
35235
- this.rawResponse = rawResponse;
35236
35235
  this.body = body;
35236
+ this.rawResponse = rawResponse;
35237
35237
  this.statusCode = statusCode;
35238
35238
  this.contentType = contentType2;
35239
35239
  this.name = "APIError";
@@ -36494,6 +36494,8 @@ var init_credential = __esm(() => {
36494
36494
  ui_schema: nullableType(stringType()).optional(),
36495
36495
  behavior: nullableType(stringType()).optional(),
36496
36496
  require_electronic_signature: booleanType().optional(),
36497
+ accept_text: nullableType(stringType()).optional(),
36498
+ accept_submitting_text: nullableType(stringType()).optional(),
36497
36499
  decline_submitting_text: nullableType(stringType()).optional(),
36498
36500
  decline_description: nullableType(stringType()).optional(),
36499
36501
  require_decline_file: booleanType().optional(),
@@ -36509,6 +36511,8 @@ var init_credential = __esm(() => {
36509
36511
  js_schema: "jsSchema",
36510
36512
  ui_schema: "uiSchema",
36511
36513
  require_electronic_signature: "requireElectronicSignature",
36514
+ accept_text: "acceptText",
36515
+ accept_submitting_text: "acceptSubmittingText",
36512
36516
  decline_submitting_text: "declineSubmittingText",
36513
36517
  decline_description: "declineDescription",
36514
36518
  require_decline_file: "requireDeclineFile",
@@ -36530,6 +36534,8 @@ var init_credential = __esm(() => {
36530
36534
  uiSchema: nullableType(stringType()).optional(),
36531
36535
  behavior: nullableType(stringType()).optional(),
36532
36536
  requireElectronicSignature: booleanType().optional(),
36537
+ acceptText: nullableType(stringType()).optional(),
36538
+ acceptSubmittingText: nullableType(stringType()).optional(),
36533
36539
  declineSubmittingText: nullableType(stringType()).optional(),
36534
36540
  declineDescription: nullableType(stringType()).optional(),
36535
36541
  requireDeclineFile: booleanType().optional(),
@@ -36545,6 +36551,8 @@ var init_credential = __esm(() => {
36545
36551
  jsSchema: "js_schema",
36546
36552
  uiSchema: "ui_schema",
36547
36553
  requireElectronicSignature: "require_electronic_signature",
36554
+ acceptText: "accept_text",
36555
+ acceptSubmittingText: "accept_submitting_text",
36548
36556
  declineSubmittingText: "decline_submitting_text",
36549
36557
  declineDescription: "decline_description",
36550
36558
  requireDeclineFile: "require_decline_file",
@@ -40421,6 +40429,43 @@ var init_changepassword = __esm(() => {
40421
40429
  })(ChangePasswordChangePasswordOk$ ||= {});
40422
40430
  });
40423
40431
 
40432
+ // src/models/operations/checkdownloadcode.ts
40433
+ var CheckDownloadCodeRequest$inboundSchema, CheckDownloadCodeRequest$outboundSchema, CheckDownloadCodeRequest$, CheckDownloadCodeResponseBody$inboundSchema, CheckDownloadCodeResponseBody$outboundSchema, CheckDownloadCodeResponseBody$;
40434
+ var init_checkdownloadcode = __esm(() => {
40435
+ init_esm();
40436
+ init_primitives();
40437
+ CheckDownloadCodeRequest$inboundSchema = objectType({
40438
+ vendor_credential_id: numberType().int(),
40439
+ code: stringType().optional()
40440
+ }).transform((v2) => {
40441
+ return remap(v2, {
40442
+ vendor_credential_id: "vendorCredentialId"
40443
+ });
40444
+ });
40445
+ CheckDownloadCodeRequest$outboundSchema = objectType({
40446
+ vendorCredentialId: numberType().int(),
40447
+ code: stringType().optional()
40448
+ }).transform((v2) => {
40449
+ return remap(v2, {
40450
+ vendorCredentialId: "vendor_credential_id"
40451
+ });
40452
+ });
40453
+ ((CheckDownloadCodeRequest$) => {
40454
+ CheckDownloadCodeRequest$.inboundSchema = CheckDownloadCodeRequest$inboundSchema;
40455
+ CheckDownloadCodeRequest$.outboundSchema = CheckDownloadCodeRequest$outboundSchema;
40456
+ })(CheckDownloadCodeRequest$ ||= {});
40457
+ CheckDownloadCodeResponseBody$inboundSchema = objectType({
40458
+ urls: arrayType(stringType()).optional()
40459
+ });
40460
+ CheckDownloadCodeResponseBody$outboundSchema = objectType({
40461
+ urls: arrayType(stringType()).optional()
40462
+ });
40463
+ ((CheckDownloadCodeResponseBody$) => {
40464
+ CheckDownloadCodeResponseBody$.inboundSchema = CheckDownloadCodeResponseBody$inboundSchema;
40465
+ CheckDownloadCodeResponseBody$.outboundSchema = CheckDownloadCodeResponseBody$outboundSchema;
40466
+ })(CheckDownloadCodeResponseBody$ ||= {});
40467
+ });
40468
+
40424
40469
  // src/models/operations/createnewvendorcredentialversion.ts
40425
40470
  var CreateNewVendorCredentialVersionRequestBody$inboundSchema, CreateNewVendorCredentialVersionRequestBody$outboundSchema, CreateNewVendorCredentialVersionRequestBody$, CreateNewVendorCredentialVersionResponseBody$inboundSchema, CreateNewVendorCredentialVersionResponseBody$outboundSchema, CreateNewVendorCredentialVersionResponseBody$;
40426
40471
  var init_createnewvendorcredentialversion = __esm(() => {
@@ -42273,6 +42318,65 @@ var init_magiclink = __esm(() => {
42273
42318
  })(MagiclinkMagiclinkOk$ ||= {});
42274
42319
  });
42275
42320
 
42321
+ // src/models/operations/makepayment.ts
42322
+ var MakePaymentRequestBody$inboundSchema, MakePaymentRequestBody$outboundSchema, MakePaymentRequestBody$, MakePaymentRequest$inboundSchema, MakePaymentRequest$outboundSchema, MakePaymentRequest$, MakePaymentResponseBody$inboundSchema, MakePaymentResponseBody$outboundSchema, MakePaymentResponseBody$;
42323
+ var init_makepayment = __esm(() => {
42324
+ init_esm();
42325
+ init_primitives();
42326
+ MakePaymentRequestBody$inboundSchema = objectType({
42327
+ amount: numberType().optional(),
42328
+ use_credits: booleanType().optional()
42329
+ }).transform((v2) => {
42330
+ return remap(v2, {
42331
+ use_credits: "useCredits"
42332
+ });
42333
+ });
42334
+ MakePaymentRequestBody$outboundSchema = objectType({
42335
+ amount: numberType().optional(),
42336
+ useCredits: booleanType().optional()
42337
+ }).transform((v2) => {
42338
+ return remap(v2, {
42339
+ useCredits: "use_credits"
42340
+ });
42341
+ });
42342
+ ((MakePaymentRequestBody$) => {
42343
+ MakePaymentRequestBody$.inboundSchema = MakePaymentRequestBody$inboundSchema;
42344
+ MakePaymentRequestBody$.outboundSchema = MakePaymentRequestBody$outboundSchema;
42345
+ })(MakePaymentRequestBody$ ||= {});
42346
+ MakePaymentRequest$inboundSchema = objectType({
42347
+ id: numberType().int(),
42348
+ RequestBody: lazyType(() => MakePaymentRequestBody$inboundSchema)
42349
+ }).transform((v2) => {
42350
+ return remap(v2, {
42351
+ RequestBody: "requestBody"
42352
+ });
42353
+ });
42354
+ MakePaymentRequest$outboundSchema = objectType({
42355
+ id: numberType().int(),
42356
+ requestBody: lazyType(() => MakePaymentRequestBody$outboundSchema)
42357
+ }).transform((v2) => {
42358
+ return remap(v2, {
42359
+ requestBody: "RequestBody"
42360
+ });
42361
+ });
42362
+ ((MakePaymentRequest$) => {
42363
+ MakePaymentRequest$.inboundSchema = MakePaymentRequest$inboundSchema;
42364
+ MakePaymentRequest$.outboundSchema = MakePaymentRequest$outboundSchema;
42365
+ })(MakePaymentRequest$ ||= {});
42366
+ MakePaymentResponseBody$inboundSchema = objectType({
42367
+ success: booleanType().optional(),
42368
+ error: stringType().optional()
42369
+ });
42370
+ MakePaymentResponseBody$outboundSchema = objectType({
42371
+ success: booleanType().optional(),
42372
+ error: stringType().optional()
42373
+ });
42374
+ ((MakePaymentResponseBody$) => {
42375
+ MakePaymentResponseBody$.inboundSchema = MakePaymentResponseBody$inboundSchema;
42376
+ MakePaymentResponseBody$.outboundSchema = MakePaymentResponseBody$outboundSchema;
42377
+ })(MakePaymentResponseBody$ ||= {});
42378
+ });
42379
+
42276
42380
  // src/models/operations/password.ts
42277
42381
  var PasswordRequestBody$inboundSchema, PasswordRequestBody$outboundSchema, PasswordRequestBody$, PasswordPasswordOk$inboundSchema, PasswordPasswordOk$outboundSchema, PasswordPasswordOk$;
42278
42382
  var init_password = __esm(() => {
@@ -42740,6 +42844,55 @@ var init_securityzonecheckin = __esm(() => {
42740
42844
  })(SecurityZoneCheckinResponseBody$ ||= {});
42741
42845
  });
42742
42846
 
42847
+ // src/models/operations/senddownloadcode.ts
42848
+ var Via, Via$inboundSchema, Via$outboundSchema, Via$, SendDownloadCodeRequestBody$inboundSchema, SendDownloadCodeRequestBody$outboundSchema, SendDownloadCodeRequestBody$, SendDownloadCodeRequest$inboundSchema, SendDownloadCodeRequest$outboundSchema, SendDownloadCodeRequest$;
42849
+ var init_senddownloadcode = __esm(() => {
42850
+ init_esm();
42851
+ init_primitives();
42852
+ Via = {
42853
+ Text: "text",
42854
+ Email: "email"
42855
+ };
42856
+ Via$inboundSchema = nativeEnumType(Via);
42857
+ Via$outboundSchema = Via$inboundSchema;
42858
+ ((Via$) => {
42859
+ Via$.inboundSchema = Via$inboundSchema;
42860
+ Via$.outboundSchema = Via$outboundSchema;
42861
+ })(Via$ ||= {});
42862
+ SendDownloadCodeRequestBody$inboundSchema = objectType({
42863
+ via: Via$inboundSchema
42864
+ });
42865
+ SendDownloadCodeRequestBody$outboundSchema = objectType({
42866
+ via: Via$outboundSchema
42867
+ });
42868
+ ((SendDownloadCodeRequestBody$) => {
42869
+ SendDownloadCodeRequestBody$.inboundSchema = SendDownloadCodeRequestBody$inboundSchema;
42870
+ SendDownloadCodeRequestBody$.outboundSchema = SendDownloadCodeRequestBody$outboundSchema;
42871
+ })(SendDownloadCodeRequestBody$ ||= {});
42872
+ SendDownloadCodeRequest$inboundSchema = objectType({
42873
+ vendor_credential_id: numberType().int(),
42874
+ RequestBody: lazyType(() => SendDownloadCodeRequestBody$inboundSchema)
42875
+ }).transform((v2) => {
42876
+ return remap(v2, {
42877
+ vendor_credential_id: "vendorCredentialId",
42878
+ RequestBody: "requestBody"
42879
+ });
42880
+ });
42881
+ SendDownloadCodeRequest$outboundSchema = objectType({
42882
+ vendorCredentialId: numberType().int(),
42883
+ requestBody: lazyType(() => SendDownloadCodeRequestBody$outboundSchema)
42884
+ }).transform((v2) => {
42885
+ return remap(v2, {
42886
+ vendorCredentialId: "vendor_credential_id",
42887
+ requestBody: "RequestBody"
42888
+ });
42889
+ });
42890
+ ((SendDownloadCodeRequest$) => {
42891
+ SendDownloadCodeRequest$.inboundSchema = SendDownloadCodeRequest$inboundSchema;
42892
+ SendDownloadCodeRequest$.outboundSchema = SendDownloadCodeRequest$outboundSchema;
42893
+ })(SendDownloadCodeRequest$ ||= {});
42894
+ });
42895
+
42743
42896
  // src/models/operations/submitvendorcredential.ts
42744
42897
  var SubmitVendorCredentialRequestBody$inboundSchema, SubmitVendorCredentialRequestBody$outboundSchema, SubmitVendorCredentialRequestBody$, SubmitVendorCredentialRequest$inboundSchema, SubmitVendorCredentialRequest$outboundSchema, SubmitVendorCredentialRequest$;
42745
42898
  var init_submitvendorcredential = __esm(() => {
@@ -42854,6 +43007,125 @@ var init_updatesthewebhookendpointwiththegivenid = __esm(() => {
42854
43007
  })(UpdatesTheWebhookEndpointWithTheGivenIdRequest$ ||= {});
42855
43008
  });
42856
43009
 
43010
+ // src/models/operations/updatevendorcredentialdata.ts
43011
+ var Status2, BcpOrderStatus, BcpResultStatus, Status$inboundSchema2, Status$outboundSchema2, Status$2, BcpOrderStatus$inboundSchema, BcpOrderStatus$outboundSchema, BcpOrderStatus$, BcpResultStatus$inboundSchema, BcpResultStatus$outboundSchema, BcpResultStatus$, UpdateVendorCredentialDataRequestBody$inboundSchema, UpdateVendorCredentialDataRequestBody$outboundSchema, UpdateVendorCredentialDataRequestBody$, UpdateVendorCredentialDataRequest$inboundSchema, UpdateVendorCredentialDataRequest$outboundSchema, UpdateVendorCredentialDataRequest$;
43012
+ var init_updatevendorcredentialdata = __esm(() => {
43013
+ init_esm();
43014
+ init_primitives();
43015
+ Status2 = {
43016
+ PendingVendor: "Pending Vendor",
43017
+ PendingApproval: "Pending Approval",
43018
+ Approved: "Approved",
43019
+ Declined: "Declined",
43020
+ Denied: "Denied",
43021
+ Expired: "Expired",
43022
+ Suspended: "Suspended"
43023
+ };
43024
+ BcpOrderStatus = {
43025
+ PendingGreen: "Pending Green",
43026
+ PendingBCP: "Pending BCP",
43027
+ Processed: "Processed"
43028
+ };
43029
+ BcpResultStatus = {
43030
+ Pending: "Pending",
43031
+ Processing: "Processing",
43032
+ Clear: "Clear",
43033
+ Hit: "Hit",
43034
+ Unknown: "Unknown",
43035
+ Review: "Review"
43036
+ };
43037
+ Status$inboundSchema2 = nativeEnumType(Status2);
43038
+ Status$outboundSchema2 = Status$inboundSchema2;
43039
+ ((Status$) => {
43040
+ Status$.inboundSchema = Status$inboundSchema2;
43041
+ Status$.outboundSchema = Status$outboundSchema2;
43042
+ })(Status$2 ||= {});
43043
+ BcpOrderStatus$inboundSchema = nativeEnumType(BcpOrderStatus);
43044
+ BcpOrderStatus$outboundSchema = BcpOrderStatus$inboundSchema;
43045
+ ((BcpOrderStatus$) => {
43046
+ BcpOrderStatus$.inboundSchema = BcpOrderStatus$inboundSchema;
43047
+ BcpOrderStatus$.outboundSchema = BcpOrderStatus$outboundSchema;
43048
+ })(BcpOrderStatus$ ||= {});
43049
+ BcpResultStatus$inboundSchema = nativeEnumType(BcpResultStatus);
43050
+ BcpResultStatus$outboundSchema = BcpResultStatus$inboundSchema;
43051
+ ((BcpResultStatus$) => {
43052
+ BcpResultStatus$.inboundSchema = BcpResultStatus$inboundSchema;
43053
+ BcpResultStatus$.outboundSchema = BcpResultStatus$outboundSchema;
43054
+ })(BcpResultStatus$ ||= {});
43055
+ UpdateVendorCredentialDataRequestBody$inboundSchema = objectType({
43056
+ json_data: stringType().optional(),
43057
+ auto_approve: booleanType().optional(),
43058
+ status: Status$inboundSchema2.optional(),
43059
+ bcp_order_id: stringType().optional(),
43060
+ bcp_order_status: BcpOrderStatus$inboundSchema.optional(),
43061
+ bcp_result_status: BcpResultStatus$inboundSchema.optional(),
43062
+ bcp_notes: stringType().optional(),
43063
+ background_check_provider_id: numberType().int().optional(),
43064
+ bcp_turnaround_time: numberType().int().optional()
43065
+ }).transform((v2) => {
43066
+ return remap(v2, {
43067
+ json_data: "jsonData",
43068
+ auto_approve: "autoApprove",
43069
+ bcp_order_id: "bcpOrderId",
43070
+ bcp_order_status: "bcpOrderStatus",
43071
+ bcp_result_status: "bcpResultStatus",
43072
+ bcp_notes: "bcpNotes",
43073
+ background_check_provider_id: "backgroundCheckProviderId",
43074
+ bcp_turnaround_time: "bcpTurnaroundTime"
43075
+ });
43076
+ });
43077
+ UpdateVendorCredentialDataRequestBody$outboundSchema = objectType({
43078
+ jsonData: stringType().optional(),
43079
+ autoApprove: booleanType().optional(),
43080
+ status: Status$outboundSchema2.optional(),
43081
+ bcpOrderId: stringType().optional(),
43082
+ bcpOrderStatus: BcpOrderStatus$outboundSchema.optional(),
43083
+ bcpResultStatus: BcpResultStatus$outboundSchema.optional(),
43084
+ bcpNotes: stringType().optional(),
43085
+ backgroundCheckProviderId: numberType().int().optional(),
43086
+ bcpTurnaroundTime: numberType().int().optional()
43087
+ }).transform((v2) => {
43088
+ return remap(v2, {
43089
+ jsonData: "json_data",
43090
+ autoApprove: "auto_approve",
43091
+ bcpOrderId: "bcp_order_id",
43092
+ bcpOrderStatus: "bcp_order_status",
43093
+ bcpResultStatus: "bcp_result_status",
43094
+ bcpNotes: "bcp_notes",
43095
+ backgroundCheckProviderId: "background_check_provider_id",
43096
+ bcpTurnaroundTime: "bcp_turnaround_time"
43097
+ });
43098
+ });
43099
+ ((UpdateVendorCredentialDataRequestBody$) => {
43100
+ UpdateVendorCredentialDataRequestBody$.inboundSchema = UpdateVendorCredentialDataRequestBody$inboundSchema;
43101
+ UpdateVendorCredentialDataRequestBody$.outboundSchema = UpdateVendorCredentialDataRequestBody$outboundSchema;
43102
+ })(UpdateVendorCredentialDataRequestBody$ ||= {});
43103
+ UpdateVendorCredentialDataRequest$inboundSchema = objectType({
43104
+ vendor_id_or_me: stringType(),
43105
+ id: numberType().int(),
43106
+ RequestBody: lazyType(() => UpdateVendorCredentialDataRequestBody$inboundSchema)
43107
+ }).transform((v2) => {
43108
+ return remap(v2, {
43109
+ vendor_id_or_me: "vendorIdOrMe",
43110
+ RequestBody: "requestBody"
43111
+ });
43112
+ });
43113
+ UpdateVendorCredentialDataRequest$outboundSchema = objectType({
43114
+ vendorIdOrMe: stringType(),
43115
+ id: numberType().int(),
43116
+ requestBody: lazyType(() => UpdateVendorCredentialDataRequestBody$outboundSchema)
43117
+ }).transform((v2) => {
43118
+ return remap(v2, {
43119
+ vendorIdOrMe: "vendor_id_or_me",
43120
+ requestBody: "RequestBody"
43121
+ });
43122
+ });
43123
+ ((UpdateVendorCredentialDataRequest$) => {
43124
+ UpdateVendorCredentialDataRequest$.inboundSchema = UpdateVendorCredentialDataRequest$inboundSchema;
43125
+ UpdateVendorCredentialDataRequest$.outboundSchema = UpdateVendorCredentialDataRequest$outboundSchema;
43126
+ })(UpdateVendorCredentialDataRequest$ ||= {});
43127
+ });
43128
+
42857
43129
  // src/models/operations/updatevendorcredentialfile.ts
42858
43130
  var UpdateVendorCredentialFileRequestBody$inboundSchema, UpdateVendorCredentialFileRequestBody$outboundSchema, UpdateVendorCredentialFileRequestBody$, UpdateVendorCredentialFileRequest$inboundSchema, UpdateVendorCredentialFileRequest$outboundSchema, UpdateVendorCredentialFileRequest$;
42859
43131
  var init_updatevendorcredentialfile = __esm(() => {
@@ -43190,6 +43462,7 @@ var init_operations = __esm(() => {
43190
43462
  init_addvendorcredentialfile();
43191
43463
  init_addvendormanagedbycompany();
43192
43464
  init_changepassword();
43465
+ init_checkdownloadcode();
43193
43466
  init_createnewvendorcredentialversion();
43194
43467
  init_createorupdatebcr();
43195
43468
  init_createvendorcompany();
@@ -43227,14 +43500,17 @@ var init_operations = __esm(() => {
43227
43500
  init_listvendorscrubpackages();
43228
43501
  init_listvendorscrubpurchases();
43229
43502
  init_magiclink();
43503
+ init_makepayment();
43230
43504
  init_password();
43231
43505
  init_passwordresetrequest();
43232
43506
  init_postauthenticate();
43233
43507
  init_purchasescrubcredits();
43234
43508
  init_securityzonecheckin();
43509
+ init_senddownloadcode();
43235
43510
  init_submitvendorcredential();
43236
43511
  init_updatedatarequest();
43237
43512
  init_updatesthewebhookendpointwiththegivenid();
43513
+ init_updatevendorcredentialdata();
43238
43514
  init_updatevendorcredentialfile();
43239
43515
  init_updatevendordetails();
43240
43516
  init_updatevendormanagedbycompany();
@@ -43767,11 +44043,119 @@ It will update the vendor credential data request attributes`,
43767
44043
  };
43768
44044
  });
43769
44045
 
43770
- // src/funcs/organizationsGetFacility.ts
43771
- function organizationsGetFacility(client, request, options) {
44046
+ // src/funcs/invoicesMakePayment.ts
44047
+ function invoicesMakePayment(client, request, options) {
43772
44048
  return new APIPromise($do5(client, request, options));
43773
44049
  }
43774
44050
  async function $do5(client, request, options) {
44051
+ const parsed = safeParse(request, (value) => MakePaymentRequest$outboundSchema.parse(value), "Input validation failed");
44052
+ if (!parsed.ok) {
44053
+ return [parsed, { status: "invalid" }];
44054
+ }
44055
+ const payload = parsed.value;
44056
+ const body = encodeJSON("body", payload.RequestBody, { explode: true });
44057
+ const pathParams = {
44058
+ id: encodeSimple("id", payload.id, {
44059
+ explode: false,
44060
+ charEncoding: "percent"
44061
+ })
44062
+ };
44063
+ const path = pathToFunc("/invoices/{id}/payment")(pathParams);
44064
+ const headers = new Headers(compactMap({
44065
+ "Content-Type": "application/json",
44066
+ Accept: "application/json"
44067
+ }));
44068
+ const securityInput = await extractSecurity(client._options.security);
44069
+ const requestSecurity = resolveGlobalSecurity(securityInput);
44070
+ const context = {
44071
+ options: client._options,
44072
+ baseURL: options?.serverURL ?? client._baseURL ?? "",
44073
+ operationID: "makePayment",
44074
+ oAuth2Scopes: [],
44075
+ resolvedSecurity: requestSecurity,
44076
+ securitySource: client._options.security,
44077
+ retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
44078
+ retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
44079
+ };
44080
+ const requestRes = client._createRequest(context, {
44081
+ security: requestSecurity,
44082
+ method: "POST",
44083
+ baseURL: options?.serverURL,
44084
+ path,
44085
+ headers,
44086
+ body,
44087
+ userAgent: client._options.userAgent,
44088
+ timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
44089
+ }, options);
44090
+ if (!requestRes.ok) {
44091
+ return [requestRes, { status: "invalid" }];
44092
+ }
44093
+ const req = requestRes.value;
44094
+ const doResult = await client._do(req, {
44095
+ context,
44096
+ errorCodes: ["400", "401", "403", "404", "4XX", "500", "5XX"],
44097
+ retryConfig: context.retryConfig,
44098
+ retryCodes: context.retryCodes
44099
+ });
44100
+ if (!doResult.ok) {
44101
+ return [doResult, { status: "request-error", request: req }];
44102
+ }
44103
+ const response = doResult.value;
44104
+ const responseFields = {
44105
+ HttpMeta: { Response: response, Request: req }
44106
+ };
44107
+ const [result] = await match(json(200, MakePaymentResponseBody$inboundSchema), jsonErr([400, 401, 403, 404], ApiErrorResponse$inboundSchema), jsonErr(500, ApiErrorResponse$inboundSchema), fail("4XX"), fail("5XX"))(response, { extraFields: responseFields });
44108
+ if (!result.ok) {
44109
+ return [result, { status: "complete", request: req, response }];
44110
+ }
44111
+ return [result, { status: "complete", request: req, response }];
44112
+ }
44113
+ var init_invoicesMakePayment = __esm(() => {
44114
+ init_encodings();
44115
+ init_matchers();
44116
+ init_primitives();
44117
+ init_schemas();
44118
+ init_security();
44119
+ init_url();
44120
+ init_errors2();
44121
+ init_operations();
44122
+ init_async();
44123
+ });
44124
+
44125
+ // src/mcp-server/tools/invoicesMakePayment.ts
44126
+ var args5, tool$invoicesMakePayment;
44127
+ var init_invoicesMakePayment2 = __esm(() => {
44128
+ init_invoicesMakePayment();
44129
+ init_operations();
44130
+ init_tools();
44131
+ args5 = {
44132
+ request: MakePaymentRequest$inboundSchema
44133
+ };
44134
+ tool$invoicesMakePayment = {
44135
+ name: "invoices-make-payment",
44136
+ description: `Make payment for the invoice
44137
+
44138
+ Make payment for the invoice`,
44139
+ args: args5,
44140
+ tool: async (client, args6, ctx) => {
44141
+ const [result, apiCall] = await invoicesMakePayment(client, args6.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
44142
+ if (!result.ok) {
44143
+ return {
44144
+ content: [{ type: "text", text: result.error.message }],
44145
+ isError: true
44146
+ };
44147
+ }
44148
+ const value = result.value;
44149
+ return formatResult(value, apiCall);
44150
+ }
44151
+ };
44152
+ });
44153
+
44154
+ // src/funcs/organizationsGetFacility.ts
44155
+ function organizationsGetFacility(client, request, options) {
44156
+ return new APIPromise($do6(client, request, options));
44157
+ }
44158
+ async function $do6(client, request, options) {
43775
44159
  const parsed = safeParse(request, (value) => GetFacilityRequest$outboundSchema.parse(value), "Input validation failed");
43776
44160
  if (!parsed.ok) {
43777
44161
  return [parsed, { status: "invalid" }];
@@ -43847,12 +44231,12 @@ var init_organizationsGetFacility = __esm(() => {
43847
44231
  });
43848
44232
 
43849
44233
  // src/mcp-server/tools/organizationsGetFacility.ts
43850
- var args5, tool$organizationsGetFacility;
44234
+ var args6, tool$organizationsGetFacility;
43851
44235
  var init_organizationsGetFacility2 = __esm(() => {
43852
44236
  init_organizationsGetFacility();
43853
44237
  init_operations();
43854
44238
  init_tools();
43855
- args5 = {
44239
+ args6 = {
43856
44240
  request: GetFacilityRequest$inboundSchema
43857
44241
  };
43858
44242
  tool$organizationsGetFacility = {
@@ -43860,9 +44244,9 @@ var init_organizationsGetFacility2 = __esm(() => {
43860
44244
  description: `Get facility
43861
44245
 
43862
44246
  Retrieve an individual facility.`,
43863
- args: args5,
43864
- tool: async (client, args6, ctx) => {
43865
- const [result, apiCall] = await organizationsGetFacility(client, args6.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
44247
+ args: args6,
44248
+ tool: async (client, args7, ctx) => {
44249
+ const [result, apiCall] = await organizationsGetFacility(client, args7.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
43866
44250
  if (!result.ok) {
43867
44251
  return {
43868
44252
  content: [{ type: "text", text: result.error.message }],
@@ -43877,9 +44261,9 @@ Retrieve an individual facility.`,
43877
44261
 
43878
44262
  // src/funcs/organizationsListOrSearchFacilities.ts
43879
44263
  function organizationsListOrSearchFacilities(client, request, options) {
43880
- return new APIPromise($do6(client, request, options));
44264
+ return new APIPromise($do7(client, request, options));
43881
44265
  }
43882
- async function $do6(client, request, options) {
44266
+ async function $do7(client, request, options) {
43883
44267
  const parsed = safeParse(request, (value) => ListOrSearchFacilitiesRequest$outboundSchema.parse(value), "Input validation failed");
43884
44268
  if (!parsed.ok) {
43885
44269
  return [haltIterator(parsed), { status: "invalid" }];
@@ -43995,12 +44379,12 @@ var init_organizationsListOrSearchFacilities = __esm(() => {
43995
44379
  });
43996
44380
 
43997
44381
  // src/mcp-server/tools/organizationsListOrSearchFacilities.ts
43998
- var args6, tool$organizationsListOrSearchFacilities;
44382
+ var args7, tool$organizationsListOrSearchFacilities;
43999
44383
  var init_organizationsListOrSearchFacilities2 = __esm(() => {
44000
44384
  init_organizationsListOrSearchFacilities();
44001
44385
  init_operations();
44002
44386
  init_tools();
44003
- args6 = {
44387
+ args7 = {
44004
44388
  request: ListOrSearchFacilitiesRequest$inboundSchema
44005
44389
  };
44006
44390
  tool$organizationsListOrSearchFacilities = {
@@ -44021,9 +44405,9 @@ Available \`expand\` scopes are:
44021
44405
  - facility.vendor_policy
44022
44406
  - facility.visitor_policy
44023
44407
  - facility.workflow`,
44024
- args: args6,
44025
- tool: async (client, args7, ctx) => {
44026
- const [result, apiCall] = await organizationsListOrSearchFacilities(client, args7.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
44408
+ args: args7,
44409
+ tool: async (client, args8, ctx) => {
44410
+ const [result, apiCall] = await organizationsListOrSearchFacilities(client, args8.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
44027
44411
  if (!result.ok) {
44028
44412
  return {
44029
44413
  content: [{ type: "text", text: result.error.message }],
@@ -44038,9 +44422,9 @@ Available \`expand\` scopes are:
44038
44422
 
44039
44423
  // src/funcs/supportArticlesGetSupportArticle.ts
44040
44424
  function supportArticlesGetSupportArticle(client, request, options) {
44041
- return new APIPromise($do7(client, request, options));
44425
+ return new APIPromise($do8(client, request, options));
44042
44426
  }
44043
- async function $do7(client, request, options) {
44427
+ async function $do8(client, request, options) {
44044
44428
  const parsed = safeParse(request, (value) => GetSupportArticleRequest$outboundSchema.parse(value), "Input validation failed");
44045
44429
  if (!parsed.ok) {
44046
44430
  return [parsed, { status: "invalid" }];
@@ -44120,12 +44504,12 @@ var init_supportArticlesGetSupportArticle = __esm(() => {
44120
44504
  });
44121
44505
 
44122
44506
  // src/mcp-server/tools/supportArticlesGetSupportArticle.ts
44123
- var args7, tool$supportArticlesGetSupportArticle;
44507
+ var args8, tool$supportArticlesGetSupportArticle;
44124
44508
  var init_supportArticlesGetSupportArticle2 = __esm(() => {
44125
44509
  init_supportArticlesGetSupportArticle();
44126
44510
  init_operations();
44127
44511
  init_tools();
44128
- args7 = {
44512
+ args8 = {
44129
44513
  request: GetSupportArticleRequest$inboundSchema
44130
44514
  };
44131
44515
  tool$supportArticlesGetSupportArticle = {
@@ -44140,9 +44524,9 @@ Available \`expand\` scopes are:
44140
44524
  - support_article.published
44141
44525
  - support_article.notes
44142
44526
  - support_article.support_category`,
44143
- args: args7,
44144
- tool: async (client, args8, ctx) => {
44145
- const [result, apiCall] = await supportArticlesGetSupportArticle(client, args8.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
44527
+ args: args8,
44528
+ tool: async (client, args9, ctx) => {
44529
+ const [result, apiCall] = await supportArticlesGetSupportArticle(client, args9.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
44146
44530
  if (!result.ok) {
44147
44531
  return {
44148
44532
  content: [{ type: "text", text: result.error.message }],
@@ -44157,9 +44541,9 @@ Available \`expand\` scopes are:
44157
44541
 
44158
44542
  // src/funcs/supportArticlesListOrSearchSupportArticles.ts
44159
44543
  function supportArticlesListOrSearchSupportArticles(client, request, options) {
44160
- return new APIPromise($do8(client, request, options));
44544
+ return new APIPromise($do9(client, request, options));
44161
44545
  }
44162
- async function $do8(client, request, options) {
44546
+ async function $do9(client, request, options) {
44163
44547
  const parsed = safeParse(request, (value) => ListOrSearchSupportArticlesRequest$outboundSchema.parse(value), "Input validation failed");
44164
44548
  if (!parsed.ok) {
44165
44549
  return [haltIterator(parsed), { status: "invalid" }];
@@ -44269,12 +44653,12 @@ var init_supportArticlesListOrSearchSupportArticles = __esm(() => {
44269
44653
  });
44270
44654
 
44271
44655
  // src/mcp-server/tools/supportArticlesListOrSearchSupportArticles.ts
44272
- var args8, tool$supportArticlesListOrSearchSupportArticles;
44656
+ var args9, tool$supportArticlesListOrSearchSupportArticles;
44273
44657
  var init_supportArticlesListOrSearchSupportArticles2 = __esm(() => {
44274
44658
  init_supportArticlesListOrSearchSupportArticles();
44275
44659
  init_operations();
44276
44660
  init_tools();
44277
- args8 = {
44661
+ args9 = {
44278
44662
  request: ListOrSearchSupportArticlesRequest$inboundSchema
44279
44663
  };
44280
44664
  tool$supportArticlesListOrSearchSupportArticles = {
@@ -44282,9 +44666,9 @@ var init_supportArticlesListOrSearchSupportArticles2 = __esm(() => {
44282
44666
  description: `List or search support articles
44283
44667
 
44284
44668
  List or search support articles for FAQ.`,
44285
- args: args8,
44286
- tool: async (client, args9, ctx) => {
44287
- const [result, apiCall] = await supportArticlesListOrSearchSupportArticles(client, args9.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
44669
+ args: args9,
44670
+ tool: async (client, args10, ctx) => {
44671
+ const [result, apiCall] = await supportArticlesListOrSearchSupportArticles(client, args10.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
44288
44672
  if (!result.ok) {
44289
44673
  return {
44290
44674
  content: [{ type: "text", text: result.error.message }],
@@ -44299,9 +44683,9 @@ List or search support articles for FAQ.`,
44299
44683
 
44300
44684
  // src/funcs/usersChangePassword.ts
44301
44685
  function usersChangePassword(client, request, options) {
44302
- return new APIPromise($do9(client, request, options));
44686
+ return new APIPromise($do10(client, request, options));
44303
44687
  }
44304
- async function $do9(client, request, options) {
44688
+ async function $do10(client, request, options) {
44305
44689
  const parsed = safeParse(request, (value) => ChangePasswordRequest$outboundSchema.parse(value), "Input validation failed");
44306
44690
  if (!parsed.ok) {
44307
44691
  return [parsed, { status: "invalid" }];
@@ -44377,12 +44761,12 @@ var init_usersChangePassword = __esm(() => {
44377
44761
  });
44378
44762
 
44379
44763
  // src/mcp-server/tools/usersChangePassword.ts
44380
- var args9, tool$usersChangePassword;
44764
+ var args10, tool$usersChangePassword;
44381
44765
  var init_usersChangePassword2 = __esm(() => {
44382
44766
  init_usersChangePassword();
44383
44767
  init_operations();
44384
44768
  init_tools();
44385
- args9 = {
44769
+ args10 = {
44386
44770
  request: ChangePasswordRequest$inboundSchema
44387
44771
  };
44388
44772
  tool$usersChangePassword = {
@@ -44390,9 +44774,9 @@ var init_usersChangePassword2 = __esm(() => {
44390
44774
  description: `Change password
44391
44775
 
44392
44776
  Change the user's password to the new passed as parameter`,
44393
- args: args9,
44394
- tool: async (client, args10, ctx) => {
44395
- const [result, apiCall] = await usersChangePassword(client, args10.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
44777
+ args: args10,
44778
+ tool: async (client, args11, ctx) => {
44779
+ const [result, apiCall] = await usersChangePassword(client, args11.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
44396
44780
  if (!result.ok) {
44397
44781
  return {
44398
44782
  content: [{ type: "text", text: result.error.message }],
@@ -44407,9 +44791,9 @@ Change the user's password to the new passed as parameter`,
44407
44791
 
44408
44792
  // src/funcs/usersGetCurrentUser.ts
44409
44793
  function usersGetCurrentUser(client, options) {
44410
- return new APIPromise($do10(client, options));
44794
+ return new APIPromise($do11(client, options));
44411
44795
  }
44412
- async function $do10(client, options) {
44796
+ async function $do11(client, options) {
44413
44797
  const path = pathToFunc("/users/me")();
44414
44798
  const headers = new Headers(compactMap({
44415
44799
  Accept: "application/json"
@@ -44494,9 +44878,9 @@ Returns a user object for the user represented by the authorization token`,
44494
44878
 
44495
44879
  // src/funcs/usersGetUserById.ts
44496
44880
  function usersGetUserById(client, request, options) {
44497
- return new APIPromise($do11(client, request, options));
44881
+ return new APIPromise($do12(client, request, options));
44498
44882
  }
44499
- async function $do11(client, request, options) {
44883
+ async function $do12(client, request, options) {
44500
44884
  const parsed = safeParse(request, (value) => GetUserByIdRequest$outboundSchema.parse(value), "Input validation failed");
44501
44885
  if (!parsed.ok) {
44502
44886
  return [parsed, { status: "invalid" }];
@@ -44572,12 +44956,12 @@ var init_usersGetUserById = __esm(() => {
44572
44956
  });
44573
44957
 
44574
44958
  // src/mcp-server/tools/usersGetUserById.ts
44575
- var args10, tool$usersGetUserById;
44959
+ var args11, tool$usersGetUserById;
44576
44960
  var init_usersGetUserById2 = __esm(() => {
44577
44961
  init_usersGetUserById();
44578
44962
  init_operations();
44579
44963
  init_tools();
44580
- args10 = {
44964
+ args11 = {
44581
44965
  request: GetUserByIdRequest$inboundSchema
44582
44966
  };
44583
44967
  tool$usersGetUserById = {
@@ -44585,9 +44969,9 @@ var init_usersGetUserById2 = __esm(() => {
44585
44969
  description: `Get user by id
44586
44970
 
44587
44971
  Returns a user object for the user represented by the identifier in the path.`,
44588
- args: args10,
44589
- tool: async (client, args11, ctx) => {
44590
- const [result, apiCall] = await usersGetUserById(client, args11.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
44972
+ args: args11,
44973
+ tool: async (client, args12, ctx) => {
44974
+ const [result, apiCall] = await usersGetUserById(client, args12.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
44591
44975
  if (!result.ok) {
44592
44976
  return {
44593
44977
  content: [{ type: "text", text: result.error.message }],
@@ -44602,9 +44986,9 @@ Returns a user object for the user represented by the identifier in the path.`,
44602
44986
 
44603
44987
  // src/funcs/usersMagiclink.ts
44604
44988
  function usersMagiclink(client, request, options) {
44605
- return new APIPromise($do12(client, request, options));
44989
+ return new APIPromise($do13(client, request, options));
44606
44990
  }
44607
- async function $do12(client, request, options) {
44991
+ async function $do13(client, request, options) {
44608
44992
  const parsed = safeParse(request, (value) => MagiclinkRequestBody$outboundSchema.parse(value), "Input validation failed");
44609
44993
  if (!parsed.ok) {
44610
44994
  return [parsed, { status: "invalid" }];
@@ -44674,12 +45058,12 @@ var init_usersMagiclink = __esm(() => {
44674
45058
  });
44675
45059
 
44676
45060
  // src/mcp-server/tools/usersMagiclink.ts
44677
- var args11, tool$usersMagiclink;
45061
+ var args12, tool$usersMagiclink;
44678
45062
  var init_usersMagiclink2 = __esm(() => {
44679
45063
  init_usersMagiclink();
44680
45064
  init_operations();
44681
45065
  init_tools();
44682
- args11 = {
45066
+ args12 = {
44683
45067
  request: MagiclinkRequestBody$inboundSchema
44684
45068
  };
44685
45069
  tool$usersMagiclink = {
@@ -44687,9 +45071,9 @@ var init_usersMagiclink2 = __esm(() => {
44687
45071
  description: `Magic link
44688
45072
 
44689
45073
  It sends an email with a magic link to allow the user to log in.`,
44690
- args: args11,
44691
- tool: async (client, args12, ctx) => {
44692
- const [result, apiCall] = await usersMagiclink(client, args12.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
45074
+ args: args12,
45075
+ tool: async (client, args13, ctx) => {
45076
+ const [result, apiCall] = await usersMagiclink(client, args13.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
44693
45077
  if (!result.ok) {
44694
45078
  return {
44695
45079
  content: [{ type: "text", text: result.error.message }],
@@ -44704,9 +45088,9 @@ It sends an email with a magic link to allow the user to log in.`,
44704
45088
 
44705
45089
  // src/funcs/usersPassword.ts
44706
45090
  function usersPassword(client, request, options) {
44707
- return new APIPromise($do13(client, request, options));
45091
+ return new APIPromise($do14(client, request, options));
44708
45092
  }
44709
- async function $do13(client, request, options) {
45093
+ async function $do14(client, request, options) {
44710
45094
  const parsed = safeParse(request, (value) => PasswordRequestBody$outboundSchema.parse(value), "Input validation failed");
44711
45095
  if (!parsed.ok) {
44712
45096
  return [parsed, { status: "invalid" }];
@@ -44776,12 +45160,12 @@ var init_usersPassword = __esm(() => {
44776
45160
  });
44777
45161
 
44778
45162
  // src/mcp-server/tools/usersPassword.ts
44779
- var args12, tool$usersPassword;
45163
+ var args13, tool$usersPassword;
44780
45164
  var init_usersPassword2 = __esm(() => {
44781
45165
  init_usersPassword();
44782
45166
  init_operations();
44783
45167
  init_tools();
44784
- args12 = {
45168
+ args13 = {
44785
45169
  request: PasswordRequestBody$inboundSchema
44786
45170
  };
44787
45171
  tool$usersPassword = {
@@ -44790,9 +45174,9 @@ var init_usersPassword2 = __esm(() => {
44790
45174
 
44791
45175
  Resets the a user's password using a password_reset_id that was sent to them via email.
44792
45176
  See /users/passwordresetrequest to initiate a password reset flow.`,
44793
- args: args12,
44794
- tool: async (client, args13, ctx) => {
44795
- const [result, apiCall] = await usersPassword(client, args13.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
45177
+ args: args13,
45178
+ tool: async (client, args14, ctx) => {
45179
+ const [result, apiCall] = await usersPassword(client, args14.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
44796
45180
  if (!result.ok) {
44797
45181
  return {
44798
45182
  content: [{ type: "text", text: result.error.message }],
@@ -44807,9 +45191,9 @@ See /users/passwordresetrequest to initiate a password reset flow.`,
44807
45191
 
44808
45192
  // src/funcs/usersPasswordResetRequest.ts
44809
45193
  function usersPasswordResetRequest(client, request, options) {
44810
- return new APIPromise($do14(client, request, options));
45194
+ return new APIPromise($do15(client, request, options));
44811
45195
  }
44812
- async function $do14(client, request, options) {
45196
+ async function $do15(client, request, options) {
44813
45197
  const parsed = safeParse(request, (value) => PasswordResetRequestRequestBody$outboundSchema.parse(value), "Input validation failed");
44814
45198
  if (!parsed.ok) {
44815
45199
  return [parsed, { status: "invalid" }];
@@ -44879,12 +45263,12 @@ var init_usersPasswordResetRequest = __esm(() => {
44879
45263
  });
44880
45264
 
44881
45265
  // src/mcp-server/tools/usersPasswordResetRequest.ts
44882
- var args13, tool$usersPasswordResetRequest;
45266
+ var args14, tool$usersPasswordResetRequest;
44883
45267
  var init_usersPasswordResetRequest2 = __esm(() => {
44884
45268
  init_usersPasswordResetRequest();
44885
45269
  init_operations();
44886
45270
  init_tools();
44887
- args13 = {
45271
+ args14 = {
44888
45272
  request: PasswordResetRequestRequestBody$inboundSchema
44889
45273
  };
44890
45274
  tool$usersPasswordResetRequest = {
@@ -44892,9 +45276,9 @@ var init_usersPasswordResetRequest2 = __esm(() => {
44892
45276
  description: `Password reset request
44893
45277
 
44894
45278
  It sends an email with a link for resetting a user's password.`,
44895
- args: args13,
44896
- tool: async (client, args14, ctx) => {
44897
- const [result, apiCall] = await usersPasswordResetRequest(client, args14.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
45279
+ args: args14,
45280
+ tool: async (client, args15, ctx) => {
45281
+ const [result, apiCall] = await usersPasswordResetRequest(client, args15.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
44898
45282
  if (!result.ok) {
44899
45283
  return {
44900
45284
  content: [{ type: "text", text: result.error.message }],
@@ -44909,9 +45293,9 @@ It sends an email with a link for resetting a user's password.`,
44909
45293
 
44910
45294
  // src/funcs/usersPostAuthenticate.ts
44911
45295
  function usersPostAuthenticate(client, request, options) {
44912
- return new APIPromise($do15(client, request, options));
45296
+ return new APIPromise($do16(client, request, options));
44913
45297
  }
44914
- async function $do15(client, request, options) {
45298
+ async function $do16(client, request, options) {
44915
45299
  const parsed = safeParse(request, (value) => PostAuthenticateRequestBody$outboundSchema.parse(value), "Input validation failed");
44916
45300
  if (!parsed.ok) {
44917
45301
  return [parsed, { status: "invalid" }];
@@ -44977,12 +45361,12 @@ var init_usersPostAuthenticate = __esm(() => {
44977
45361
  });
44978
45362
 
44979
45363
  // src/mcp-server/tools/usersPostAuthenticate.ts
44980
- var args14, tool$usersPostAuthenticate;
45364
+ var args15, tool$usersPostAuthenticate;
44981
45365
  var init_usersPostAuthenticate2 = __esm(() => {
44982
45366
  init_usersPostAuthenticate();
44983
45367
  init_operations();
44984
45368
  init_tools();
44985
- args14 = {
45369
+ args15 = {
44986
45370
  request: PostAuthenticateRequestBody$inboundSchema
44987
45371
  };
44988
45372
  tool$usersPostAuthenticate = {
@@ -45020,9 +45404,9 @@ Requires: \`saml_login\`
45020
45404
  3. Site redirects to your selected \`return_url\`
45021
45405
  4. The \`user_token\` will be appended as a query string parameter to your \`return_url\` - you must parse this token and store it
45022
45406
  5. Fetch the user object from \`/users/me\` using the token`,
45023
- args: args14,
45024
- tool: async (client, args15, ctx) => {
45025
- const [result, apiCall] = await usersPostAuthenticate(client, args15.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
45407
+ args: args15,
45408
+ tool: async (client, args16, ctx) => {
45409
+ const [result, apiCall] = await usersPostAuthenticate(client, args16.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
45026
45410
  if (!result.ok) {
45027
45411
  return {
45028
45412
  content: [{ type: "text", text: result.error.message }],
@@ -45037,9 +45421,9 @@ Requires: \`saml_login\`
45037
45421
 
45038
45422
  // src/funcs/vendorsAddVendorCredentialFile.ts
45039
45423
  function vendorsAddVendorCredentialFile(client, request, options) {
45040
- return new APIPromise($do16(client, request, options));
45424
+ return new APIPromise($do17(client, request, options));
45041
45425
  }
45042
- async function $do16(client, request, options) {
45426
+ async function $do17(client, request, options) {
45043
45427
  const parsed = safeParse(request, (value) => AddVendorCredentialFileRequest$outboundSchema.parse(value), "Input validation failed");
45044
45428
  if (!parsed.ok) {
45045
45429
  return [parsed, { status: "invalid" }];
@@ -45112,12 +45496,12 @@ var init_vendorsAddVendorCredentialFile = __esm(() => {
45112
45496
  });
45113
45497
 
45114
45498
  // src/mcp-server/tools/vendorsAddVendorCredentialFile.ts
45115
- var args15, tool$vendorsAddVendorCredentialFile;
45499
+ var args16, tool$vendorsAddVendorCredentialFile;
45116
45500
  var init_vendorsAddVendorCredentialFile2 = __esm(() => {
45117
45501
  init_vendorsAddVendorCredentialFile();
45118
45502
  init_operations();
45119
45503
  init_tools();
45120
- args15 = {
45504
+ args16 = {
45121
45505
  request: AddVendorCredentialFileRequest$inboundSchema
45122
45506
  };
45123
45507
  tool$vendorsAddVendorCredentialFile = {
@@ -45125,9 +45509,9 @@ var init_vendorsAddVendorCredentialFile2 = __esm(() => {
45125
45509
  description: `Add vendor credential file
45126
45510
 
45127
45511
  It will add a new vendor credential file`,
45128
- args: args15,
45129
- tool: async (client, args16, ctx) => {
45130
- const [result, apiCall] = await vendorsAddVendorCredentialFile(client, args16.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
45512
+ args: args16,
45513
+ tool: async (client, args17, ctx) => {
45514
+ const [result, apiCall] = await vendorsAddVendorCredentialFile(client, args17.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
45131
45515
  if (!result.ok) {
45132
45516
  return {
45133
45517
  content: [{ type: "text", text: result.error.message }],
@@ -45142,9 +45526,9 @@ It will add a new vendor credential file`,
45142
45526
 
45143
45527
  // src/funcs/vendorsAddVendorManagedByCompany.ts
45144
45528
  function vendorsAddVendorManagedByCompany(client, request, options) {
45145
- return new APIPromise($do17(client, request, options));
45529
+ return new APIPromise($do18(client, request, options));
45146
45530
  }
45147
- async function $do17(client, request, options) {
45531
+ async function $do18(client, request, options) {
45148
45532
  const parsed = safeParse(request, (value) => AddVendorManagedByCompanyRequest$outboundSchema.parse(value), "Input validation failed");
45149
45533
  if (!parsed.ok) {
45150
45534
  return [parsed, { status: "invalid" }];
@@ -45220,12 +45604,12 @@ var init_vendorsAddVendorManagedByCompany = __esm(() => {
45220
45604
  });
45221
45605
 
45222
45606
  // src/mcp-server/tools/vendorsAddVendorManagedByCompany.ts
45223
- var args16, tool$vendorsAddVendorManagedByCompany;
45607
+ var args17, tool$vendorsAddVendorManagedByCompany;
45224
45608
  var init_vendorsAddVendorManagedByCompany2 = __esm(() => {
45225
45609
  init_vendorsAddVendorManagedByCompany();
45226
45610
  init_operations();
45227
45611
  init_tools();
45228
- args16 = {
45612
+ args17 = {
45229
45613
  request: AddVendorManagedByCompanyRequest$inboundSchema
45230
45614
  };
45231
45615
  tool$vendorsAddVendorManagedByCompany = {
@@ -45233,9 +45617,9 @@ var init_vendorsAddVendorManagedByCompany2 = __esm(() => {
45233
45617
  description: `Add vendor managed by company
45234
45618
 
45235
45619
  It will add a vendor managed by company`,
45236
- args: args16,
45237
- tool: async (client, args17, ctx) => {
45238
- const [result, apiCall] = await vendorsAddVendorManagedByCompany(client, args17.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
45620
+ args: args17,
45621
+ tool: async (client, args18, ctx) => {
45622
+ const [result, apiCall] = await vendorsAddVendorManagedByCompany(client, args18.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
45239
45623
  if (!result.ok) {
45240
45624
  return {
45241
45625
  content: [{ type: "text", text: result.error.message }],
@@ -45250,9 +45634,9 @@ It will add a vendor managed by company`,
45250
45634
 
45251
45635
  // src/funcs/vendorScansVendorScanOut.ts
45252
45636
  function vendorScansVendorScanOut(client, request, options) {
45253
- return new APIPromise($do18(client, request, options));
45637
+ return new APIPromise($do19(client, request, options));
45254
45638
  }
45255
- async function $do18(client, request, options) {
45639
+ async function $do19(client, request, options) {
45256
45640
  const parsed = safeParse(request, (value) => VendorScanOutRequest$outboundSchema.parse(value), "Input validation failed");
45257
45641
  if (!parsed.ok) {
45258
45642
  return [parsed, { status: "invalid" }];
@@ -45327,12 +45711,12 @@ var init_vendorScansVendorScanOut = __esm(() => {
45327
45711
  });
45328
45712
 
45329
45713
  // src/mcp-server/tools/vendorScansVendorScanOut.ts
45330
- var args17, tool$vendorScansVendorScanOut;
45714
+ var args18, tool$vendorScansVendorScanOut;
45331
45715
  var init_vendorScansVendorScanOut2 = __esm(() => {
45332
45716
  init_vendorScansVendorScanOut();
45333
45717
  init_operations();
45334
45718
  init_tools();
45335
- args17 = {
45719
+ args18 = {
45336
45720
  request: VendorScanOutRequest$inboundSchema
45337
45721
  };
45338
45722
  tool$vendorScansVendorScanOut = {
@@ -45340,9 +45724,117 @@ var init_vendorScansVendorScanOut2 = __esm(() => {
45340
45724
  description: `Vendor scan out
45341
45725
 
45342
45726
  It scans out vendor from facility`,
45343
- args: args17,
45344
- tool: async (client, args18, ctx) => {
45345
- const [result, apiCall] = await vendorScansVendorScanOut(client, args18.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
45727
+ args: args18,
45728
+ tool: async (client, args19, ctx) => {
45729
+ const [result, apiCall] = await vendorScansVendorScanOut(client, args19.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
45730
+ if (!result.ok) {
45731
+ return {
45732
+ content: [{ type: "text", text: result.error.message }],
45733
+ isError: true
45734
+ };
45735
+ }
45736
+ const value = result.value;
45737
+ return formatResult(value, apiCall);
45738
+ }
45739
+ };
45740
+ });
45741
+
45742
+ // src/funcs/vendorsCheckDownloadCode.ts
45743
+ function vendorsCheckDownloadCode(client, request, options) {
45744
+ return new APIPromise($do20(client, request, options));
45745
+ }
45746
+ async function $do20(client, request, options) {
45747
+ const parsed = safeParse(request, (value) => CheckDownloadCodeRequest$outboundSchema.parse(value), "Input validation failed");
45748
+ if (!parsed.ok) {
45749
+ return [parsed, { status: "invalid" }];
45750
+ }
45751
+ const payload = parsed.value;
45752
+ const body = null;
45753
+ const pathParams = {
45754
+ vendor_credential_id: encodeSimple("vendor_credential_id", payload.vendor_credential_id, { explode: false, charEncoding: "percent" })
45755
+ };
45756
+ const path = pathToFunc("/vendors/credentials/{vendor_credential_id}/code")(pathParams);
45757
+ const query = encodeFormQuery({
45758
+ code: payload.code
45759
+ });
45760
+ const headers = new Headers(compactMap({
45761
+ Accept: "application/json"
45762
+ }));
45763
+ const securityInput = await extractSecurity(client._options.security);
45764
+ const requestSecurity = resolveGlobalSecurity(securityInput);
45765
+ const context = {
45766
+ options: client._options,
45767
+ baseURL: options?.serverURL ?? client._baseURL ?? "",
45768
+ operationID: "checkDownloadCode",
45769
+ oAuth2Scopes: [],
45770
+ resolvedSecurity: requestSecurity,
45771
+ securitySource: client._options.security,
45772
+ retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
45773
+ retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
45774
+ };
45775
+ const requestRes = client._createRequest(context, {
45776
+ security: requestSecurity,
45777
+ method: "GET",
45778
+ baseURL: options?.serverURL,
45779
+ path,
45780
+ headers,
45781
+ query,
45782
+ body,
45783
+ userAgent: client._options.userAgent,
45784
+ timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
45785
+ }, options);
45786
+ if (!requestRes.ok) {
45787
+ return [requestRes, { status: "invalid" }];
45788
+ }
45789
+ const req = requestRes.value;
45790
+ const doResult = await client._do(req, {
45791
+ context,
45792
+ errorCodes: ["400", "401", "403", "404", "4XX", "500", "5XX"],
45793
+ retryConfig: context.retryConfig,
45794
+ retryCodes: context.retryCodes
45795
+ });
45796
+ if (!doResult.ok) {
45797
+ return [doResult, { status: "request-error", request: req }];
45798
+ }
45799
+ const response = doResult.value;
45800
+ const responseFields = {
45801
+ HttpMeta: { Response: response, Request: req }
45802
+ };
45803
+ const [result] = await match(json(200, CheckDownloadCodeResponseBody$inboundSchema), jsonErr([400, 401, 403, 404], ApiErrorResponse$inboundSchema), jsonErr(500, ApiErrorResponse$inboundSchema), fail("4XX"), fail("5XX"))(response, { extraFields: responseFields });
45804
+ if (!result.ok) {
45805
+ return [result, { status: "complete", request: req, response }];
45806
+ }
45807
+ return [result, { status: "complete", request: req, response }];
45808
+ }
45809
+ var init_vendorsCheckDownloadCode = __esm(() => {
45810
+ init_encodings();
45811
+ init_matchers();
45812
+ init_primitives();
45813
+ init_schemas();
45814
+ init_security();
45815
+ init_url();
45816
+ init_errors2();
45817
+ init_operations();
45818
+ init_async();
45819
+ });
45820
+
45821
+ // src/mcp-server/tools/vendorsCheckDownloadCode.ts
45822
+ var args19, tool$vendorsCheckDownloadCode;
45823
+ var init_vendorsCheckDownloadCode2 = __esm(() => {
45824
+ init_vendorsCheckDownloadCode();
45825
+ init_operations();
45826
+ init_tools();
45827
+ args19 = {
45828
+ request: CheckDownloadCodeRequest$inboundSchema
45829
+ };
45830
+ tool$vendorsCheckDownloadCode = {
45831
+ name: "vendors-check-download-code",
45832
+ description: `Check download code for vendor credential
45833
+
45834
+ It will check download code for vendor credential`,
45835
+ args: args19,
45836
+ tool: async (client, args20, ctx) => {
45837
+ const [result, apiCall] = await vendorsCheckDownloadCode(client, args20.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
45346
45838
  if (!result.ok) {
45347
45839
  return {
45348
45840
  content: [{ type: "text", text: result.error.message }],
@@ -45357,9 +45849,9 @@ It scans out vendor from facility`,
45357
45849
 
45358
45850
  // src/funcs/vendorsCreateNewVendorCredentialVersion.ts
45359
45851
  function vendorsCreateNewVendorCredentialVersion(client, request, options) {
45360
- return new APIPromise($do19(client, request, options));
45852
+ return new APIPromise($do21(client, request, options));
45361
45853
  }
45362
- async function $do19(client, request, options) {
45854
+ async function $do21(client, request, options) {
45363
45855
  const parsed = safeParse(request, (value) => CreateNewVendorCredentialVersionRequestBody$outboundSchema.parse(value), "Input validation failed");
45364
45856
  if (!parsed.ok) {
45365
45857
  return [parsed, { status: "invalid" }];
@@ -45429,12 +45921,12 @@ var init_vendorsCreateNewVendorCredentialVersion = __esm(() => {
45429
45921
  });
45430
45922
 
45431
45923
  // src/mcp-server/tools/vendorsCreateNewVendorCredentialVersion.ts
45432
- var args18, tool$vendorsCreateNewVendorCredentialVersion;
45924
+ var args20, tool$vendorsCreateNewVendorCredentialVersion;
45433
45925
  var init_vendorsCreateNewVendorCredentialVersion2 = __esm(() => {
45434
45926
  init_vendorsCreateNewVendorCredentialVersion();
45435
45927
  init_operations();
45436
45928
  init_tools();
45437
- args18 = {
45929
+ args20 = {
45438
45930
  request: CreateNewVendorCredentialVersionRequestBody$inboundSchema
45439
45931
  };
45440
45932
  tool$vendorsCreateNewVendorCredentialVersion = {
@@ -45442,9 +45934,9 @@ var init_vendorsCreateNewVendorCredentialVersion2 = __esm(() => {
45442
45934
  description: `Create new vendor credential version
45443
45935
 
45444
45936
  It will submit vendor credential`,
45445
- args: args18,
45446
- tool: async (client, args19, ctx) => {
45447
- const [result, apiCall] = await vendorsCreateNewVendorCredentialVersion(client, args19.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
45937
+ args: args20,
45938
+ tool: async (client, args21, ctx) => {
45939
+ const [result, apiCall] = await vendorsCreateNewVendorCredentialVersion(client, args21.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
45448
45940
  if (!result.ok) {
45449
45941
  return {
45450
45942
  content: [{ type: "text", text: result.error.message }],
@@ -45459,9 +45951,9 @@ It will submit vendor credential`,
45459
45951
 
45460
45952
  // src/funcs/vendorsCreateOrUpdateBcr.ts
45461
45953
  function vendorsCreateOrUpdateBcr(client, request, options) {
45462
- return new APIPromise($do20(client, request, options));
45954
+ return new APIPromise($do22(client, request, options));
45463
45955
  }
45464
- async function $do20(client, request, options) {
45956
+ async function $do22(client, request, options) {
45465
45957
  const parsed = safeParse(request, (value) => CreateOrUpdateBcrRequest$outboundSchema.parse(value), "Input validation failed");
45466
45958
  if (!parsed.ok) {
45467
45959
  return [parsed, { status: "invalid" }];
@@ -45535,12 +46027,12 @@ var init_vendorsCreateOrUpdateBcr = __esm(() => {
45535
46027
  });
45536
46028
 
45537
46029
  // src/mcp-server/tools/vendorsCreateOrUpdateBcr.ts
45538
- var args19, tool$vendorsCreateOrUpdateBcr;
46030
+ var args21, tool$vendorsCreateOrUpdateBcr;
45539
46031
  var init_vendorsCreateOrUpdateBcr2 = __esm(() => {
45540
46032
  init_vendorsCreateOrUpdateBcr();
45541
46033
  init_operations();
45542
46034
  init_tools();
45543
- args19 = {
46035
+ args21 = {
45544
46036
  request: CreateOrUpdateBcrRequest$inboundSchema
45545
46037
  };
45546
46038
  tool$vendorsCreateOrUpdateBcr = {
@@ -45548,9 +46040,9 @@ var init_vendorsCreateOrUpdateBcr2 = __esm(() => {
45548
46040
  description: `Create or update BackgroundCheckResults
45549
46041
 
45550
46042
  It will create or update BackgroundCheckResults`,
45551
- args: args19,
45552
- tool: async (client, args20, ctx) => {
45553
- const [result, apiCall] = await vendorsCreateOrUpdateBcr(client, args20.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
46043
+ args: args21,
46044
+ tool: async (client, args22, ctx) => {
46045
+ const [result, apiCall] = await vendorsCreateOrUpdateBcr(client, args22.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
45554
46046
  if (!result.ok) {
45555
46047
  return {
45556
46048
  content: [{ type: "text", text: result.error.message }],
@@ -45565,9 +46057,9 @@ It will create or update BackgroundCheckResults`,
45565
46057
 
45566
46058
  // src/funcs/vendorsCreateVendorCompany.ts
45567
46059
  function vendorsCreateVendorCompany(client, request, options) {
45568
- return new APIPromise($do21(client, request, options));
46060
+ return new APIPromise($do23(client, request, options));
45569
46061
  }
45570
- async function $do21(client, request, options) {
46062
+ async function $do23(client, request, options) {
45571
46063
  const parsed = safeParse(request, (value) => CreateVendorCompanyRequest$outboundSchema.parse(value), "Input validation failed");
45572
46064
  if (!parsed.ok) {
45573
46065
  return [parsed, { status: "invalid" }];
@@ -45643,12 +46135,12 @@ var init_vendorsCreateVendorCompany = __esm(() => {
45643
46135
  });
45644
46136
 
45645
46137
  // src/mcp-server/tools/vendorsCreateVendorCompany.ts
45646
- var args20, tool$vendorsCreateVendorCompany;
46138
+ var args22, tool$vendorsCreateVendorCompany;
45647
46139
  var init_vendorsCreateVendorCompany2 = __esm(() => {
45648
46140
  init_vendorsCreateVendorCompany();
45649
46141
  init_operations();
45650
46142
  init_tools();
45651
- args20 = {
46143
+ args22 = {
45652
46144
  request: CreateVendorCompanyRequest$inboundSchema
45653
46145
  };
45654
46146
  tool$vendorsCreateVendorCompany = {
@@ -45656,9 +46148,9 @@ var init_vendorsCreateVendorCompany2 = __esm(() => {
45656
46148
  description: `Create vendor company
45657
46149
 
45658
46150
  Create vendor company`,
45659
- args: args20,
45660
- tool: async (client, args21, ctx) => {
45661
- const [result, apiCall] = await vendorsCreateVendorCompany(client, args21.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
46151
+ args: args22,
46152
+ tool: async (client, args23, ctx) => {
46153
+ const [result, apiCall] = await vendorsCreateVendorCompany(client, args23.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
45662
46154
  if (!result.ok) {
45663
46155
  return {
45664
46156
  content: [{ type: "text", text: result.error.message }],
@@ -45673,9 +46165,9 @@ Create vendor company`,
45673
46165
 
45674
46166
  // src/funcs/vendorsCreateVendorRegistration.ts
45675
46167
  function vendorsCreateVendorRegistration(client, request, options) {
45676
- return new APIPromise($do22(client, request, options));
46168
+ return new APIPromise($do24(client, request, options));
45677
46169
  }
45678
- async function $do22(client, request, options) {
46170
+ async function $do24(client, request, options) {
45679
46171
  const parsed = safeParse(request, (value) => CreateVendorRegistrationRequestBody$outboundSchema.parse(value), "Input validation failed");
45680
46172
  if (!parsed.ok) {
45681
46173
  return [parsed, { status: "invalid" }];
@@ -45742,12 +46234,12 @@ var init_vendorsCreateVendorRegistration = __esm(() => {
45742
46234
  });
45743
46235
 
45744
46236
  // src/mcp-server/tools/vendorsCreateVendorRegistration.ts
45745
- var args21, tool$vendorsCreateVendorRegistration;
46237
+ var args23, tool$vendorsCreateVendorRegistration;
45746
46238
  var init_vendorsCreateVendorRegistration2 = __esm(() => {
45747
46239
  init_vendorsCreateVendorRegistration();
45748
46240
  init_operations();
45749
46241
  init_tools();
45750
- args21 = {
46242
+ args23 = {
45751
46243
  request: CreateVendorRegistrationRequestBody$inboundSchema
45752
46244
  };
45753
46245
  tool$vendorsCreateVendorRegistration = {
@@ -45755,9 +46247,9 @@ var init_vendorsCreateVendorRegistration2 = __esm(() => {
45755
46247
  description: `Create vendor registration
45756
46248
 
45757
46249
  Create an initial vendor registration. Once successful, the vendor will be able to continue to filling out the rest of their onboarding profile.`,
45758
- args: args21,
45759
- tool: async (client, args22, ctx) => {
45760
- const [result, apiCall] = await vendorsCreateVendorRegistration(client, args22.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
46250
+ args: args23,
46251
+ tool: async (client, args24, ctx) => {
46252
+ const [result, apiCall] = await vendorsCreateVendorRegistration(client, args24.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
45761
46253
  if (!result.ok) {
45762
46254
  return {
45763
46255
  content: [{ type: "text", text: result.error.message }],
@@ -45772,9 +46264,9 @@ Create an initial vendor registration. Once successful, the vendor will be able
45772
46264
 
45773
46265
  // src/funcs/vendorsDeclineVendorCredential.ts
45774
46266
  function vendorsDeclineVendorCredential(client, request, options) {
45775
- return new APIPromise($do23(client, request, options));
46267
+ return new APIPromise($do25(client, request, options));
45776
46268
  }
45777
- async function $do23(client, request, options) {
46269
+ async function $do25(client, request, options) {
45778
46270
  const parsed = safeParse(request, (value) => DeclineVendorCredentialRequest$outboundSchema.parse(value), "Input validation failed");
45779
46271
  if (!parsed.ok) {
45780
46272
  return [parsed, { status: "invalid" }];
@@ -45847,12 +46339,12 @@ var init_vendorsDeclineVendorCredential = __esm(() => {
45847
46339
  });
45848
46340
 
45849
46341
  // src/mcp-server/tools/vendorsDeclineVendorCredential.ts
45850
- var args22, tool$vendorsDeclineVendorCredential;
46342
+ var args24, tool$vendorsDeclineVendorCredential;
45851
46343
  var init_vendorsDeclineVendorCredential2 = __esm(() => {
45852
46344
  init_vendorsDeclineVendorCredential();
45853
46345
  init_operations();
45854
46346
  init_tools();
45855
- args22 = {
46347
+ args24 = {
45856
46348
  request: DeclineVendorCredentialRequest$inboundSchema
45857
46349
  };
45858
46350
  tool$vendorsDeclineVendorCredential = {
@@ -45860,9 +46352,9 @@ var init_vendorsDeclineVendorCredential2 = __esm(() => {
45860
46352
  description: `Decline vendor credential
45861
46353
 
45862
46354
  It will decline vendor credential`,
45863
- args: args22,
45864
- tool: async (client, args23, ctx) => {
45865
- const [result, apiCall] = await vendorsDeclineVendorCredential(client, args23.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
46355
+ args: args24,
46356
+ tool: async (client, args25, ctx) => {
46357
+ const [result, apiCall] = await vendorsDeclineVendorCredential(client, args25.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
45866
46358
  if (!result.ok) {
45867
46359
  return {
45868
46360
  content: [{ type: "text", text: result.error.message }],
@@ -45877,9 +46369,9 @@ It will decline vendor credential`,
45877
46369
 
45878
46370
  // src/funcs/vendorsDeleteVendorCredentialFile.ts
45879
46371
  function vendorsDeleteVendorCredentialFile(client, request, options) {
45880
- return new APIPromise($do24(client, request, options));
46372
+ return new APIPromise($do26(client, request, options));
45881
46373
  }
45882
- async function $do24(client, request, options) {
46374
+ async function $do26(client, request, options) {
45883
46375
  const parsed = safeParse(request, (value) => DeleteVendorCredentialFileRequest$outboundSchema.parse(value), "Input validation failed");
45884
46376
  if (!parsed.ok) {
45885
46377
  return [parsed, { status: "invalid" }];
@@ -45956,12 +46448,12 @@ var init_vendorsDeleteVendorCredentialFile = __esm(() => {
45956
46448
  });
45957
46449
 
45958
46450
  // src/mcp-server/tools/vendorsDeleteVendorCredentialFile.ts
45959
- var args23, tool$vendorsDeleteVendorCredentialFile;
46451
+ var args25, tool$vendorsDeleteVendorCredentialFile;
45960
46452
  var init_vendorsDeleteVendorCredentialFile2 = __esm(() => {
45961
46453
  init_vendorsDeleteVendorCredentialFile();
45962
46454
  init_operations();
45963
46455
  init_tools();
45964
- args23 = {
46456
+ args25 = {
45965
46457
  request: DeleteVendorCredentialFileRequest$inboundSchema
45966
46458
  };
45967
46459
  tool$vendorsDeleteVendorCredentialFile = {
@@ -45969,9 +46461,9 @@ var init_vendorsDeleteVendorCredentialFile2 = __esm(() => {
45969
46461
  description: `Delete vendor credential file
45970
46462
 
45971
46463
  It will delete the vendor credential file`,
45972
- args: args23,
45973
- tool: async (client, args24, ctx) => {
45974
- const [result, apiCall] = await vendorsDeleteVendorCredentialFile(client, args24.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
46464
+ args: args25,
46465
+ tool: async (client, args26, ctx) => {
46466
+ const [result, apiCall] = await vendorsDeleteVendorCredentialFile(client, args26.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
45975
46467
  if (!result.ok) {
45976
46468
  return {
45977
46469
  content: [{ type: "text", text: result.error.message }],
@@ -45986,9 +46478,9 @@ It will delete the vendor credential file`,
45986
46478
 
45987
46479
  // src/funcs/vendorsDeleteVendorManagedByCompany.ts
45988
46480
  function vendorsDeleteVendorManagedByCompany(client, request, options) {
45989
- return new APIPromise($do25(client, request, options));
46481
+ return new APIPromise($do27(client, request, options));
45990
46482
  }
45991
- async function $do25(client, request, options) {
46483
+ async function $do27(client, request, options) {
45992
46484
  const parsed = safeParse(request, (value) => DeleteVendorManagedByCompanyRequest$outboundSchema.parse(value), "Input validation failed");
45993
46485
  if (!parsed.ok) {
45994
46486
  return [parsed, { status: "invalid" }];
@@ -46064,12 +46556,12 @@ var init_vendorsDeleteVendorManagedByCompany = __esm(() => {
46064
46556
  });
46065
46557
 
46066
46558
  // src/mcp-server/tools/vendorsDeleteVendorManagedByCompany.ts
46067
- var args24, tool$vendorsDeleteVendorManagedByCompany;
46559
+ var args26, tool$vendorsDeleteVendorManagedByCompany;
46068
46560
  var init_vendorsDeleteVendorManagedByCompany2 = __esm(() => {
46069
46561
  init_vendorsDeleteVendorManagedByCompany();
46070
46562
  init_operations();
46071
46563
  init_tools();
46072
- args24 = {
46564
+ args26 = {
46073
46565
  request: DeleteVendorManagedByCompanyRequest$inboundSchema
46074
46566
  };
46075
46567
  tool$vendorsDeleteVendorManagedByCompany = {
@@ -46077,9 +46569,9 @@ var init_vendorsDeleteVendorManagedByCompany2 = __esm(() => {
46077
46569
  description: `Delete vendor managed by company
46078
46570
 
46079
46571
  It will delete the vendor managed by company`,
46080
- args: args24,
46081
- tool: async (client, args25, ctx) => {
46082
- const [result, apiCall] = await vendorsDeleteVendorManagedByCompany(client, args25.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
46572
+ args: args26,
46573
+ tool: async (client, args27, ctx) => {
46574
+ const [result, apiCall] = await vendorsDeleteVendorManagedByCompany(client, args27.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
46083
46575
  if (!result.ok) {
46084
46576
  return {
46085
46577
  content: [{ type: "text", text: result.error.message }],
@@ -46094,9 +46586,9 @@ It will delete the vendor managed by company`,
46094
46586
 
46095
46587
  // src/funcs/vendorsExpediteTimeRemaining.ts
46096
46588
  function vendorsExpediteTimeRemaining(client, request, options) {
46097
- return new APIPromise($do26(client, request, options));
46589
+ return new APIPromise($do28(client, request, options));
46098
46590
  }
46099
- async function $do26(client, request, options) {
46591
+ async function $do28(client, request, options) {
46100
46592
  const parsed = safeParse(request, (value) => ExpediteTimeRemainingRequest$outboundSchema.parse(value), "Input validation failed");
46101
46593
  if (!parsed.ok) {
46102
46594
  return [parsed, { status: "invalid" }];
@@ -46171,12 +46663,12 @@ var init_vendorsExpediteTimeRemaining = __esm(() => {
46171
46663
  });
46172
46664
 
46173
46665
  // src/mcp-server/tools/vendorsExpediteTimeRemaining.ts
46174
- var args25, tool$vendorsExpediteTimeRemaining;
46666
+ var args27, tool$vendorsExpediteTimeRemaining;
46175
46667
  var init_vendorsExpediteTimeRemaining2 = __esm(() => {
46176
46668
  init_vendorsExpediteTimeRemaining();
46177
46669
  init_operations();
46178
46670
  init_tools();
46179
- args25 = {
46671
+ args27 = {
46180
46672
  request: ExpediteTimeRemainingRequest$inboundSchema
46181
46673
  };
46182
46674
  tool$vendorsExpediteTimeRemaining = {
@@ -46184,9 +46676,9 @@ var init_vendorsExpediteTimeRemaining2 = __esm(() => {
46184
46676
  description: `Expedite time remaining
46185
46677
 
46186
46678
  For vendors who have a paid 24-hour expedite credentials invoice, get the remaining time (in seconds) for which submitted credentials will be expedited.`,
46187
- args: args25,
46188
- tool: async (client, args26, ctx) => {
46189
- const [result, apiCall] = await vendorsExpediteTimeRemaining(client, args26.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
46679
+ args: args27,
46680
+ tool: async (client, args28, ctx) => {
46681
+ const [result, apiCall] = await vendorsExpediteTimeRemaining(client, args28.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
46190
46682
  if (!result.ok) {
46191
46683
  return {
46192
46684
  content: [{ type: "text", text: result.error.message }],
@@ -46201,9 +46693,9 @@ For vendors who have a paid 24-hour expedite credentials invoice, get the remain
46201
46693
 
46202
46694
  // src/funcs/vendorsGetVendorCredentialDetails.ts
46203
46695
  function vendorsGetVendorCredentialDetails(client, request, options) {
46204
- return new APIPromise($do27(client, request, options));
46696
+ return new APIPromise($do29(client, request, options));
46205
46697
  }
46206
- async function $do27(client, request, options) {
46698
+ async function $do29(client, request, options) {
46207
46699
  const parsed = safeParse(request, (value) => GetVendorCredentialDetailsRequest$outboundSchema.parse(value), "Input validation failed");
46208
46700
  if (!parsed.ok) {
46209
46701
  return [parsed, { status: "invalid" }];
@@ -46286,12 +46778,12 @@ var init_vendorsGetVendorCredentialDetails = __esm(() => {
46286
46778
  });
46287
46779
 
46288
46780
  // src/mcp-server/tools/vendorsGetVendorCredentialDetails.ts
46289
- var args26, tool$vendorsGetVendorCredentialDetails;
46781
+ var args28, tool$vendorsGetVendorCredentialDetails;
46290
46782
  var init_vendorsGetVendorCredentialDetails2 = __esm(() => {
46291
46783
  init_vendorsGetVendorCredentialDetails();
46292
46784
  init_operations();
46293
46785
  init_tools();
46294
- args26 = {
46786
+ args28 = {
46295
46787
  request: GetVendorCredentialDetailsRequest$inboundSchema
46296
46788
  };
46297
46789
  tool$vendorsGetVendorCredentialDetails = {
@@ -46316,9 +46808,9 @@ Available \`expand\` scopes are:
46316
46808
  - vendor_credential.vendor_credential_data_requests
46317
46809
  - vendor_credential.credential_variants
46318
46810
  - vendor_credential.targets_chop`,
46319
- args: args26,
46320
- tool: async (client, args27, ctx) => {
46321
- const [result, apiCall] = await vendorsGetVendorCredentialDetails(client, args27.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
46811
+ args: args28,
46812
+ tool: async (client, args29, ctx) => {
46813
+ const [result, apiCall] = await vendorsGetVendorCredentialDetails(client, args29.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
46322
46814
  if (!result.ok) {
46323
46815
  return {
46324
46816
  content: [{ type: "text", text: result.error.message }],
@@ -46333,9 +46825,9 @@ Available \`expand\` scopes are:
46333
46825
 
46334
46826
  // src/funcs/vendorsGetVendorCredentialFile.ts
46335
46827
  function vendorsGetVendorCredentialFile(client, request, options) {
46336
- return new APIPromise($do28(client, request, options));
46828
+ return new APIPromise($do30(client, request, options));
46337
46829
  }
46338
- async function $do28(client, request, options) {
46830
+ async function $do30(client, request, options) {
46339
46831
  const parsed = safeParse(request, (value) => GetVendorCredentialFileRequest$outboundSchema.parse(value), "Input validation failed");
46340
46832
  if (!parsed.ok) {
46341
46833
  return [parsed, { status: "invalid" }];
@@ -46416,12 +46908,12 @@ var init_vendorsGetVendorCredentialFile = __esm(() => {
46416
46908
  });
46417
46909
 
46418
46910
  // src/mcp-server/tools/vendorsGetVendorCredentialFile.ts
46419
- var args27, tool$vendorsGetVendorCredentialFile;
46911
+ var args29, tool$vendorsGetVendorCredentialFile;
46420
46912
  var init_vendorsGetVendorCredentialFile2 = __esm(() => {
46421
46913
  init_vendorsGetVendorCredentialFile();
46422
46914
  init_operations();
46423
46915
  init_tools();
46424
- args27 = {
46916
+ args29 = {
46425
46917
  request: GetVendorCredentialFileRequest$inboundSchema
46426
46918
  };
46427
46919
  tool$vendorsGetVendorCredentialFile = {
@@ -46434,9 +46926,9 @@ Available \`expand\` scopes are:
46434
46926
 
46435
46927
  - vendor_credential_file.vendor_credential
46436
46928
  - vendor_credential_file.credential_document`,
46437
- args: args27,
46438
- tool: async (client, args28, ctx) => {
46439
- const [result, apiCall] = await vendorsGetVendorCredentialFile(client, args28.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
46929
+ args: args29,
46930
+ tool: async (client, args30, ctx) => {
46931
+ const [result, apiCall] = await vendorsGetVendorCredentialFile(client, args30.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
46440
46932
  if (!result.ok) {
46441
46933
  return {
46442
46934
  content: [{ type: "text", text: result.error.message }],
@@ -46451,9 +46943,9 @@ Available \`expand\` scopes are:
46451
46943
 
46452
46944
  // src/funcs/vendorsGetVendorInvoiceDetails.ts
46453
46945
  function vendorsGetVendorInvoiceDetails(client, request, options) {
46454
- return new APIPromise($do29(client, request, options));
46946
+ return new APIPromise($do31(client, request, options));
46455
46947
  }
46456
- async function $do29(client, request, options) {
46948
+ async function $do31(client, request, options) {
46457
46949
  const parsed = safeParse(request, (value) => GetVendorInvoiceDetailsRequest$outboundSchema.parse(value), "Input validation failed");
46458
46950
  if (!parsed.ok) {
46459
46951
  return [parsed, { status: "invalid" }];
@@ -46533,12 +47025,12 @@ var init_vendorsGetVendorInvoiceDetails = __esm(() => {
46533
47025
  });
46534
47026
 
46535
47027
  // src/mcp-server/tools/vendorsGetVendorInvoiceDetails.ts
46536
- var args28, tool$vendorsGetVendorInvoiceDetails;
47028
+ var args30, tool$vendorsGetVendorInvoiceDetails;
46537
47029
  var init_vendorsGetVendorInvoiceDetails2 = __esm(() => {
46538
47030
  init_vendorsGetVendorInvoiceDetails();
46539
47031
  init_operations();
46540
47032
  init_tools();
46541
- args28 = {
47033
+ args30 = {
46542
47034
  request: GetVendorInvoiceDetailsRequest$inboundSchema
46543
47035
  };
46544
47036
  tool$vendorsGetVendorInvoiceDetails = {
@@ -46551,9 +47043,9 @@ Available \`expand\` scopes are:
46551
47043
 
46552
47044
  invoice.line_items
46553
47045
  invoice.invoice_transactions`,
46554
- args: args28,
46555
- tool: async (client, args29, ctx) => {
46556
- const [result, apiCall] = await vendorsGetVendorInvoiceDetails(client, args29.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47046
+ args: args30,
47047
+ tool: async (client, args31, ctx) => {
47048
+ const [result, apiCall] = await vendorsGetVendorInvoiceDetails(client, args31.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
46557
47049
  if (!result.ok) {
46558
47050
  return {
46559
47051
  content: [{ type: "text", text: result.error.message }],
@@ -46568,9 +47060,9 @@ invoice.invoice_transactions`,
46568
47060
 
46569
47061
  // src/funcs/vendorsGetVendorLegalName.ts
46570
47062
  function vendorsGetVendorLegalName(client, request, options) {
46571
- return new APIPromise($do30(client, request, options));
47063
+ return new APIPromise($do32(client, request, options));
46572
47064
  }
46573
- async function $do30(client, request, options) {
47065
+ async function $do32(client, request, options) {
46574
47066
  const parsed = safeParse(request, (value) => GetVendorLegalNameRequest$outboundSchema.parse(value), "Input validation failed");
46575
47067
  if (!parsed.ok) {
46576
47068
  return [parsed, { status: "invalid" }];
@@ -46645,12 +47137,12 @@ var init_vendorsGetVendorLegalName = __esm(() => {
46645
47137
  });
46646
47138
 
46647
47139
  // src/mcp-server/tools/vendorsGetVendorLegalName.ts
46648
- var args29, tool$vendorsGetVendorLegalName;
47140
+ var args31, tool$vendorsGetVendorLegalName;
46649
47141
  var init_vendorsGetVendorLegalName2 = __esm(() => {
46650
47142
  init_vendorsGetVendorLegalName();
46651
47143
  init_operations();
46652
47144
  init_tools();
46653
- args29 = {
47145
+ args31 = {
46654
47146
  request: GetVendorLegalNameRequest$inboundSchema
46655
47147
  };
46656
47148
  tool$vendorsGetVendorLegalName = {
@@ -46658,9 +47150,9 @@ var init_vendorsGetVendorLegalName2 = __esm(() => {
46658
47150
  description: `Get Vendor legal name
46659
47151
 
46660
47152
  Get vendor legal name`,
46661
- args: args29,
46662
- tool: async (client, args30, ctx) => {
46663
- const [result, apiCall] = await vendorsGetVendorLegalName(client, args30.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47153
+ args: args31,
47154
+ tool: async (client, args32, ctx) => {
47155
+ const [result, apiCall] = await vendorsGetVendorLegalName(client, args32.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
46664
47156
  if (!result.ok) {
46665
47157
  return {
46666
47158
  content: [{ type: "text", text: result.error.message }],
@@ -46675,9 +47167,9 @@ Get vendor legal name`,
46675
47167
 
46676
47168
  // src/funcs/vendorsGetVendorsDetails.ts
46677
47169
  function vendorsGetVendorsDetails(client, request, options) {
46678
- return new APIPromise($do31(client, request, options));
47170
+ return new APIPromise($do33(client, request, options));
46679
47171
  }
46680
- async function $do31(client, request, options) {
47172
+ async function $do33(client, request, options) {
46681
47173
  const parsed = safeParse(request, (value) => GetVendorsDetailsRequest$outboundSchema.parse(value), "Input validation failed");
46682
47174
  if (!parsed.ok) {
46683
47175
  return [parsed, { status: "invalid" }];
@@ -46757,12 +47249,12 @@ var init_vendorsGetVendorsDetails = __esm(() => {
46757
47249
  });
46758
47250
 
46759
47251
  // src/mcp-server/tools/vendorsGetVendorsDetails.ts
46760
- var args30, tool$vendorsGetVendorsDetails;
47252
+ var args32, tool$vendorsGetVendorsDetails;
46761
47253
  var init_vendorsGetVendorsDetails2 = __esm(() => {
46762
47254
  init_vendorsGetVendorsDetails();
46763
47255
  init_operations();
46764
47256
  init_tools();
46765
- args30 = {
47257
+ args32 = {
46766
47258
  request: GetVendorsDetailsRequest$inboundSchema
46767
47259
  };
46768
47260
  tool$vendorsGetVendorsDetails = {
@@ -46787,9 +47279,9 @@ vendor.payment_responsibility
46787
47279
  vendor.background_check_date_expires
46788
47280
  vendor.registration_data
46789
47281
  vendor.registration_finished`,
46790
- args: args30,
46791
- tool: async (client, args31, ctx) => {
46792
- const [result, apiCall] = await vendorsGetVendorsDetails(client, args31.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47282
+ args: args32,
47283
+ tool: async (client, args33, ctx) => {
47284
+ const [result, apiCall] = await vendorsGetVendorsDetails(client, args33.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
46793
47285
  if (!result.ok) {
46794
47286
  return {
46795
47287
  content: [{ type: "text", text: result.error.message }],
@@ -46804,9 +47296,9 @@ vendor.registration_finished`,
46804
47296
 
46805
47297
  // src/funcs/vendorsListVendorAdditionalFacilityFields.ts
46806
47298
  function vendorsListVendorAdditionalFacilityFields(client, request, options) {
46807
- return new APIPromise($do32(client, request, options));
47299
+ return new APIPromise($do34(client, request, options));
46808
47300
  }
46809
- async function $do32(client, request, options) {
47301
+ async function $do34(client, request, options) {
46810
47302
  const parsed = safeParse(request, (value) => ListVendorAdditionalFacilityFieldsRequest$outboundSchema.parse(value), "Input validation failed");
46811
47303
  if (!parsed.ok) {
46812
47304
  return [haltIterator(parsed), { status: "invalid" }];
@@ -46918,12 +47410,12 @@ var init_vendorsListVendorAdditionalFacilityFields = __esm(() => {
46918
47410
  });
46919
47411
 
46920
47412
  // src/mcp-server/tools/vendorsListVendorAdditionalFacilityFields.ts
46921
- var args31, tool$vendorsListVendorAdditionalFacilityFields;
47413
+ var args33, tool$vendorsListVendorAdditionalFacilityFields;
46922
47414
  var init_vendorsListVendorAdditionalFacilityFields2 = __esm(() => {
46923
47415
  init_vendorsListVendorAdditionalFacilityFields();
46924
47416
  init_operations();
46925
47417
  init_tools();
46926
- args31 = {
47418
+ args33 = {
46927
47419
  request: ListVendorAdditionalFacilityFieldsRequest$inboundSchema
46928
47420
  };
46929
47421
  tool$vendorsListVendorAdditionalFacilityFields = {
@@ -46931,9 +47423,9 @@ var init_vendorsListVendorAdditionalFacilityFields2 = __esm(() => {
46931
47423
  description: `List of vendor's additional facility fields
46932
47424
 
46933
47425
  List of vendor's additional facility fields`,
46934
- args: args31,
46935
- tool: async (client, args32, ctx) => {
46936
- const [result, apiCall] = await vendorsListVendorAdditionalFacilityFields(client, args32.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47426
+ args: args33,
47427
+ tool: async (client, args34, ctx) => {
47428
+ const [result, apiCall] = await vendorsListVendorAdditionalFacilityFields(client, args34.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
46937
47429
  if (!result.ok) {
46938
47430
  return {
46939
47431
  content: [{ type: "text", text: result.error.message }],
@@ -46948,9 +47440,9 @@ List of vendor's additional facility fields`,
46948
47440
 
46949
47441
  // src/funcs/vendorsListVendorCredentialDataRequests.ts
46950
47442
  function vendorsListVendorCredentialDataRequests(client, request, options) {
46951
- return new APIPromise($do33(client, request, options));
47443
+ return new APIPromise($do35(client, request, options));
46952
47444
  }
46953
- async function $do33(client, request, options) {
47445
+ async function $do35(client, request, options) {
46954
47446
  const parsed = safeParse(request, (value) => ListVendorCredentialDataRequestsRequest$outboundSchema.parse(value), "Input validation failed");
46955
47447
  if (!parsed.ok) {
46956
47448
  return [parsed, { status: "invalid" }];
@@ -47033,12 +47525,12 @@ var init_vendorsListVendorCredentialDataRequests = __esm(() => {
47033
47525
  });
47034
47526
 
47035
47527
  // src/mcp-server/tools/vendorsListVendorCredentialDataRequests.ts
47036
- var args32, tool$vendorsListVendorCredentialDataRequests;
47528
+ var args34, tool$vendorsListVendorCredentialDataRequests;
47037
47529
  var init_vendorsListVendorCredentialDataRequests2 = __esm(() => {
47038
47530
  init_vendorsListVendorCredentialDataRequests();
47039
47531
  init_operations();
47040
47532
  init_tools();
47041
- args32 = {
47533
+ args34 = {
47042
47534
  request: ListVendorCredentialDataRequestsRequest$inboundSchema
47043
47535
  };
47044
47536
  tool$vendorsListVendorCredentialDataRequests = {
@@ -47051,9 +47543,9 @@ Available \`expand\` scopes are:
47051
47543
 
47052
47544
  - vendor_credential_data_request.vendor_credential
47053
47545
  - vendor_credential_data_request.data_request`,
47054
- args: args32,
47055
- tool: async (client, args33, ctx) => {
47056
- const [result, apiCall] = await vendorsListVendorCredentialDataRequests(client, args33.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47546
+ args: args34,
47547
+ tool: async (client, args35, ctx) => {
47548
+ const [result, apiCall] = await vendorsListVendorCredentialDataRequests(client, args35.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47057
47549
  if (!result.ok) {
47058
47550
  return {
47059
47551
  content: [{ type: "text", text: result.error.message }],
@@ -47068,9 +47560,9 @@ Available \`expand\` scopes are:
47068
47560
 
47069
47561
  // src/funcs/vendorsListVendorCredentialFiles.ts
47070
47562
  function vendorsListVendorCredentialFiles(client, request, options) {
47071
- return new APIPromise($do34(client, request, options));
47563
+ return new APIPromise($do36(client, request, options));
47072
47564
  }
47073
- async function $do34(client, request, options) {
47565
+ async function $do36(client, request, options) {
47074
47566
  const parsed = safeParse(request, (value) => ListVendorCredentialFilesRequest$outboundSchema.parse(value), "Input validation failed");
47075
47567
  if (!parsed.ok) {
47076
47568
  return [parsed, { status: "invalid" }];
@@ -47153,12 +47645,12 @@ var init_vendorsListVendorCredentialFiles = __esm(() => {
47153
47645
  });
47154
47646
 
47155
47647
  // src/mcp-server/tools/vendorsListVendorCredentialFiles.ts
47156
- var args33, tool$vendorsListVendorCredentialFiles;
47648
+ var args35, tool$vendorsListVendorCredentialFiles;
47157
47649
  var init_vendorsListVendorCredentialFiles2 = __esm(() => {
47158
47650
  init_vendorsListVendorCredentialFiles();
47159
47651
  init_operations();
47160
47652
  init_tools();
47161
- args33 = {
47653
+ args35 = {
47162
47654
  request: ListVendorCredentialFilesRequest$inboundSchema
47163
47655
  };
47164
47656
  tool$vendorsListVendorCredentialFiles = {
@@ -47171,9 +47663,9 @@ Available \`expand\` scopes are:
47171
47663
 
47172
47664
  - vendor_credential_file.vendor_credential
47173
47665
  - vendor_credential_file.credential_document`,
47174
- args: args33,
47175
- tool: async (client, args34, ctx) => {
47176
- const [result, apiCall] = await vendorsListVendorCredentialFiles(client, args34.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47666
+ args: args35,
47667
+ tool: async (client, args36, ctx) => {
47668
+ const [result, apiCall] = await vendorsListVendorCredentialFiles(client, args36.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47177
47669
  if (!result.ok) {
47178
47670
  return {
47179
47671
  content: [{ type: "text", text: result.error.message }],
@@ -47188,9 +47680,9 @@ Available \`expand\` scopes are:
47188
47680
 
47189
47681
  // src/funcs/vendorsListVendorCredentialHistory.ts
47190
47682
  function vendorsListVendorCredentialHistory(client, request, options) {
47191
- return new APIPromise($do35(client, request, options));
47683
+ return new APIPromise($do37(client, request, options));
47192
47684
  }
47193
- async function $do35(client, request, options) {
47685
+ async function $do37(client, request, options) {
47194
47686
  const parsed = safeParse(request, (value) => ListVendorCredentialHistoryRequest$outboundSchema.parse(value), "Input validation failed");
47195
47687
  if (!parsed.ok) {
47196
47688
  return [haltIterator(parsed), { status: "invalid" }];
@@ -47305,12 +47797,12 @@ var init_vendorsListVendorCredentialHistory = __esm(() => {
47305
47797
  });
47306
47798
 
47307
47799
  // src/mcp-server/tools/vendorsListVendorCredentialHistory.ts
47308
- var args34, tool$vendorsListVendorCredentialHistory;
47800
+ var args36, tool$vendorsListVendorCredentialHistory;
47309
47801
  var init_vendorsListVendorCredentialHistory2 = __esm(() => {
47310
47802
  init_vendorsListVendorCredentialHistory();
47311
47803
  init_operations();
47312
47804
  init_tools();
47313
- args34 = {
47805
+ args36 = {
47314
47806
  request: ListVendorCredentialHistoryRequest$inboundSchema
47315
47807
  };
47316
47808
  tool$vendorsListVendorCredentialHistory = {
@@ -47318,9 +47810,9 @@ var init_vendorsListVendorCredentialHistory2 = __esm(() => {
47318
47810
  description: `List Vendor Credential History
47319
47811
 
47320
47812
  Lists vendor credentials history`,
47321
- args: args34,
47322
- tool: async (client, args35, ctx) => {
47323
- const [result, apiCall] = await vendorsListVendorCredentialHistory(client, args35.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47813
+ args: args36,
47814
+ tool: async (client, args37, ctx) => {
47815
+ const [result, apiCall] = await vendorsListVendorCredentialHistory(client, args37.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47324
47816
  if (!result.ok) {
47325
47817
  return {
47326
47818
  content: [{ type: "text", text: result.error.message }],
@@ -47335,9 +47827,9 @@ Lists vendor credentials history`,
47335
47827
 
47336
47828
  // src/funcs/vendorsListVendorCredentials.ts
47337
47829
  function vendorsListVendorCredentials(client, request, options) {
47338
- return new APIPromise($do36(client, request, options));
47830
+ return new APIPromise($do38(client, request, options));
47339
47831
  }
47340
- async function $do36(client, request, options) {
47832
+ async function $do38(client, request, options) {
47341
47833
  const parsed = safeParse(request, (value) => ListVendorCredentialsRequest$outboundSchema.parse(value), "Input validation failed");
47342
47834
  if (!parsed.ok) {
47343
47835
  return [haltIterator(parsed), { status: "invalid" }];
@@ -47457,12 +47949,12 @@ var init_vendorsListVendorCredentials = __esm(() => {
47457
47949
  });
47458
47950
 
47459
47951
  // src/mcp-server/tools/vendorsListVendorCredentials.ts
47460
- var args35, tool$vendorsListVendorCredentials;
47952
+ var args37, tool$vendorsListVendorCredentials;
47461
47953
  var init_vendorsListVendorCredentials2 = __esm(() => {
47462
47954
  init_vendorsListVendorCredentials();
47463
47955
  init_operations();
47464
47956
  init_tools();
47465
- args35 = {
47957
+ args37 = {
47466
47958
  request: ListVendorCredentialsRequest$inboundSchema
47467
47959
  };
47468
47960
  tool$vendorsListVendorCredentials = {
@@ -47470,9 +47962,9 @@ var init_vendorsListVendorCredentials2 = __esm(() => {
47470
47962
  description: `List Vendor Credentials
47471
47963
 
47472
47964
  Lists vendor credentials, required credentials, and company credentials. Utilized in Vendor Dashboard.`,
47473
- args: args35,
47474
- tool: async (client, args36, ctx) => {
47475
- const [result, apiCall] = await vendorsListVendorCredentials(client, args36.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47965
+ args: args37,
47966
+ tool: async (client, args38, ctx) => {
47967
+ const [result, apiCall] = await vendorsListVendorCredentials(client, args38.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47476
47968
  if (!result.ok) {
47477
47969
  return {
47478
47970
  content: [{ type: "text", text: result.error.message }],
@@ -47487,9 +47979,9 @@ Lists vendor credentials, required credentials, and company credentials. Utilize
47487
47979
 
47488
47980
  // src/funcs/vendorsListVendorCredits.ts
47489
47981
  function vendorsListVendorCredits(client, request, options) {
47490
- return new APIPromise($do37(client, request, options));
47982
+ return new APIPromise($do39(client, request, options));
47491
47983
  }
47492
- async function $do37(client, request, options) {
47984
+ async function $do39(client, request, options) {
47493
47985
  const parsed = safeParse(request, (value) => ListVendorCreditsRequest$outboundSchema.parse(value), "Input validation failed");
47494
47986
  if (!parsed.ok) {
47495
47987
  return [haltIterator(parsed), { status: "invalid" }];
@@ -47603,12 +48095,12 @@ var init_vendorsListVendorCredits = __esm(() => {
47603
48095
  });
47604
48096
 
47605
48097
  // src/mcp-server/tools/vendorsListVendorCredits.ts
47606
- var args36, tool$vendorsListVendorCredits;
48098
+ var args38, tool$vendorsListVendorCredits;
47607
48099
  var init_vendorsListVendorCredits2 = __esm(() => {
47608
48100
  init_vendorsListVendorCredits();
47609
48101
  init_operations();
47610
48102
  init_tools();
47611
- args36 = {
48103
+ args38 = {
47612
48104
  request: ListVendorCreditsRequest$inboundSchema
47613
48105
  };
47614
48106
  tool$vendorsListVendorCredits = {
@@ -47616,9 +48108,9 @@ var init_vendorsListVendorCredits2 = __esm(() => {
47616
48108
  description: `List vendor credits
47617
48109
 
47618
48110
  List the credits for the vendor`,
47619
- args: args36,
47620
- tool: async (client, args37, ctx) => {
47621
- const [result, apiCall] = await vendorsListVendorCredits(client, args37.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48111
+ args: args38,
48112
+ tool: async (client, args39, ctx) => {
48113
+ const [result, apiCall] = await vendorsListVendorCredits(client, args39.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47622
48114
  if (!result.ok) {
47623
48115
  return {
47624
48116
  content: [{ type: "text", text: result.error.message }],
@@ -47633,9 +48125,9 @@ List the credits for the vendor`,
47633
48125
 
47634
48126
  // src/funcs/vendorsListVendorFacilityStatuses.ts
47635
48127
  function vendorsListVendorFacilityStatuses(client, request, options) {
47636
- return new APIPromise($do38(client, request, options));
48128
+ return new APIPromise($do40(client, request, options));
47637
48129
  }
47638
- async function $do38(client, request, options) {
48130
+ async function $do40(client, request, options) {
47639
48131
  const parsed = safeParse(request, (value) => ListVendorFacilityStatusesRequest$outboundSchema.parse(value), "Input validation failed");
47640
48132
  if (!parsed.ok) {
47641
48133
  return [haltIterator(parsed), { status: "invalid" }];
@@ -47745,12 +48237,12 @@ var init_vendorsListVendorFacilityStatuses = __esm(() => {
47745
48237
  });
47746
48238
 
47747
48239
  // src/mcp-server/tools/vendorsListVendorFacilityStatuses.ts
47748
- var args37, tool$vendorsListVendorFacilityStatuses;
48240
+ var args39, tool$vendorsListVendorFacilityStatuses;
47749
48241
  var init_vendorsListVendorFacilityStatuses2 = __esm(() => {
47750
48242
  init_vendorsListVendorFacilityStatuses();
47751
48243
  init_operations();
47752
48244
  init_tools();
47753
- args37 = {
48245
+ args39 = {
47754
48246
  request: ListVendorFacilityStatusesRequest$inboundSchema
47755
48247
  };
47756
48248
  tool$vendorsListVendorFacilityStatuses = {
@@ -47758,9 +48250,9 @@ var init_vendorsListVendorFacilityStatuses2 = __esm(() => {
47758
48250
  description: `List vendor facility statuses
47759
48251
 
47760
48252
  List the facilities for the vendor`,
47761
- args: args37,
47762
- tool: async (client, args38, ctx) => {
47763
- const [result, apiCall] = await vendorsListVendorFacilityStatuses(client, args38.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48253
+ args: args39,
48254
+ tool: async (client, args40, ctx) => {
48255
+ const [result, apiCall] = await vendorsListVendorFacilityStatuses(client, args40.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47764
48256
  if (!result.ok) {
47765
48257
  return {
47766
48258
  content: [{ type: "text", text: result.error.message }],
@@ -47775,9 +48267,9 @@ List the facilities for the vendor`,
47775
48267
 
47776
48268
  // src/funcs/vendorsListVendorInvoices.ts
47777
48269
  function vendorsListVendorInvoices(client, request, options) {
47778
- return new APIPromise($do39(client, request, options));
48270
+ return new APIPromise($do41(client, request, options));
47779
48271
  }
47780
- async function $do39(client, request, options) {
48272
+ async function $do41(client, request, options) {
47781
48273
  const parsed = safeParse(request, (value) => ListVendorInvoicesRequest$outboundSchema.parse(value), "Input validation failed");
47782
48274
  if (!parsed.ok) {
47783
48275
  return [haltIterator(parsed), { status: "invalid" }];
@@ -47895,12 +48387,12 @@ var init_vendorsListVendorInvoices = __esm(() => {
47895
48387
  });
47896
48388
 
47897
48389
  // src/mcp-server/tools/vendorsListVendorInvoices.ts
47898
- var args38, tool$vendorsListVendorInvoices;
48390
+ var args40, tool$vendorsListVendorInvoices;
47899
48391
  var init_vendorsListVendorInvoices2 = __esm(() => {
47900
48392
  init_vendorsListVendorInvoices();
47901
48393
  init_operations();
47902
48394
  init_tools();
47903
- args38 = {
48395
+ args40 = {
47904
48396
  request: ListVendorInvoicesRequest$inboundSchema
47905
48397
  };
47906
48398
  tool$vendorsListVendorInvoices = {
@@ -47912,9 +48404,9 @@ List invoices for Vendors
47912
48404
  Available \`expand\` scopes are:
47913
48405
 
47914
48406
  invoice.line_items`,
47915
- args: args38,
47916
- tool: async (client, args39, ctx) => {
47917
- const [result, apiCall] = await vendorsListVendorInvoices(client, args39.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48407
+ args: args40,
48408
+ tool: async (client, args41, ctx) => {
48409
+ const [result, apiCall] = await vendorsListVendorInvoices(client, args41.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47918
48410
  if (!result.ok) {
47919
48411
  return {
47920
48412
  content: [{ type: "text", text: result.error.message }],
@@ -47929,9 +48421,9 @@ invoice.line_items`,
47929
48421
 
47930
48422
  // src/funcs/vendorsListVendorJobTitles.ts
47931
48423
  function vendorsListVendorJobTitles(client, request, options) {
47932
- return new APIPromise($do40(client, request, options));
48424
+ return new APIPromise($do42(client, request, options));
47933
48425
  }
47934
- async function $do40(client, request, options) {
48426
+ async function $do42(client, request, options) {
47935
48427
  const parsed = safeParse(request, (value) => ListVendorJobTitlesRequest$outboundSchema.parse(value), "Input validation failed");
47936
48428
  if (!parsed.ok) {
47937
48429
  return [haltIterator(parsed), { status: "invalid" }];
@@ -48040,12 +48532,12 @@ var init_vendorsListVendorJobTitles = __esm(() => {
48040
48532
  });
48041
48533
 
48042
48534
  // src/mcp-server/tools/vendorsListVendorJobTitles.ts
48043
- var args39, tool$vendorsListVendorJobTitles;
48535
+ var args41, tool$vendorsListVendorJobTitles;
48044
48536
  var init_vendorsListVendorJobTitles2 = __esm(() => {
48045
48537
  init_vendorsListVendorJobTitles();
48046
48538
  init_operations();
48047
48539
  init_tools();
48048
- args39 = {
48540
+ args41 = {
48049
48541
  request: ListVendorJobTitlesRequest$inboundSchema
48050
48542
  };
48051
48543
  tool$vendorsListVendorJobTitles = {
@@ -48053,9 +48545,9 @@ var init_vendorsListVendorJobTitles2 = __esm(() => {
48053
48545
  description: `List vendor job titles
48054
48546
 
48055
48547
  List valid job titles for Vendors. This can be used during sign up or in a filter.`,
48056
- args: args39,
48057
- tool: async (client, args40, ctx) => {
48058
- const [result, apiCall] = await vendorsListVendorJobTitles(client, args40.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48548
+ args: args41,
48549
+ tool: async (client, args42, ctx) => {
48550
+ const [result, apiCall] = await vendorsListVendorJobTitles(client, args42.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48059
48551
  if (!result.ok) {
48060
48552
  return {
48061
48553
  content: [{ type: "text", text: result.error.message }],
@@ -48070,9 +48562,9 @@ List valid job titles for Vendors. This can be used during sign up or in a filte
48070
48562
 
48071
48563
  // src/funcs/vendorsListVendorManagedByCompanies.ts
48072
48564
  function vendorsListVendorManagedByCompanies(client, request, options) {
48073
- return new APIPromise($do41(client, request, options));
48565
+ return new APIPromise($do43(client, request, options));
48074
48566
  }
48075
- async function $do41(client, request, options) {
48567
+ async function $do43(client, request, options) {
48076
48568
  const parsed = safeParse(request, (value) => ListVendorManagedByCompaniesRequest$outboundSchema.parse(value), "Input validation failed");
48077
48569
  if (!parsed.ok) {
48078
48570
  return [haltIterator(parsed), { status: "invalid" }];
@@ -48186,12 +48678,12 @@ var init_vendorsListVendorManagedByCompanies = __esm(() => {
48186
48678
  });
48187
48679
 
48188
48680
  // src/mcp-server/tools/vendorsListVendorManagedByCompanies.ts
48189
- var args40, tool$vendorsListVendorManagedByCompanies;
48681
+ var args42, tool$vendorsListVendorManagedByCompanies;
48190
48682
  var init_vendorsListVendorManagedByCompanies2 = __esm(() => {
48191
48683
  init_vendorsListVendorManagedByCompanies();
48192
48684
  init_operations();
48193
48685
  init_tools();
48194
- args40 = {
48686
+ args42 = {
48195
48687
  request: ListVendorManagedByCompaniesRequest$inboundSchema
48196
48688
  };
48197
48689
  tool$vendorsListVendorManagedByCompanies = {
@@ -48199,9 +48691,9 @@ var init_vendorsListVendorManagedByCompanies2 = __esm(() => {
48199
48691
  description: `List of companies managing the vendor
48200
48692
 
48201
48693
  List of companies managing the vendor`,
48202
- args: args40,
48203
- tool: async (client, args41, ctx) => {
48204
- const [result, apiCall] = await vendorsListVendorManagedByCompanies(client, args41.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48694
+ args: args42,
48695
+ tool: async (client, args43, ctx) => {
48696
+ const [result, apiCall] = await vendorsListVendorManagedByCompanies(client, args43.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48205
48697
  if (!result.ok) {
48206
48698
  return {
48207
48699
  content: [{ type: "text", text: result.error.message }],
@@ -48216,9 +48708,9 @@ List of companies managing the vendor`,
48216
48708
 
48217
48709
  // src/funcs/vendorsListVendorScrubDetails.ts
48218
48710
  function vendorsListVendorScrubDetails(client, request, options) {
48219
- return new APIPromise($do42(client, request, options));
48711
+ return new APIPromise($do44(client, request, options));
48220
48712
  }
48221
- async function $do42(client, request, options) {
48713
+ async function $do44(client, request, options) {
48222
48714
  const parsed = safeParse(request, (value) => ListVendorScrubDetailsRequest$outboundSchema.parse(value), "Input validation failed");
48223
48715
  if (!parsed.ok) {
48224
48716
  return [parsed, { status: "invalid" }];
@@ -48294,12 +48786,12 @@ var init_vendorsListVendorScrubDetails = __esm(() => {
48294
48786
  });
48295
48787
 
48296
48788
  // src/mcp-server/tools/vendorsListVendorScrubDetails.ts
48297
- var args41, tool$vendorsListVendorScrubDetails;
48789
+ var args43, tool$vendorsListVendorScrubDetails;
48298
48790
  var init_vendorsListVendorScrubDetails2 = __esm(() => {
48299
48791
  init_vendorsListVendorScrubDetails();
48300
48792
  init_operations();
48301
48793
  init_tools();
48302
- args41 = {
48794
+ args43 = {
48303
48795
  request: ListVendorScrubDetailsRequest$inboundSchema
48304
48796
  };
48305
48797
  tool$vendorsListVendorScrubDetails = {
@@ -48307,9 +48799,9 @@ var init_vendorsListVendorScrubDetails2 = __esm(() => {
48307
48799
  description: `List vendor scrub details
48308
48800
 
48309
48801
  List vendor scrub details`,
48310
- args: args41,
48311
- tool: async (client, args42, ctx) => {
48312
- const [result, apiCall] = await vendorsListVendorScrubDetails(client, args42.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48802
+ args: args43,
48803
+ tool: async (client, args44, ctx) => {
48804
+ const [result, apiCall] = await vendorsListVendorScrubDetails(client, args44.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48313
48805
  if (!result.ok) {
48314
48806
  return {
48315
48807
  content: [{ type: "text", text: result.error.message }],
@@ -48324,9 +48816,9 @@ List vendor scrub details`,
48324
48816
 
48325
48817
  // src/funcs/vendorsListVendorScrubPackages.ts
48326
48818
  function vendorsListVendorScrubPackages(client, request, options) {
48327
- return new APIPromise($do43(client, request, options));
48819
+ return new APIPromise($do45(client, request, options));
48328
48820
  }
48329
- async function $do43(client, request, options) {
48821
+ async function $do45(client, request, options) {
48330
48822
  const parsed = safeParse(request, (value) => ListVendorScrubPackagesRequest$outboundSchema.parse(value), "Input validation failed");
48331
48823
  if (!parsed.ok) {
48332
48824
  return [haltIterator(parsed), { status: "invalid" }];
@@ -48440,12 +48932,12 @@ var init_vendorsListVendorScrubPackages = __esm(() => {
48440
48932
  });
48441
48933
 
48442
48934
  // src/mcp-server/tools/vendorsListVendorScrubPackages.ts
48443
- var args42, tool$vendorsListVendorScrubPackages;
48935
+ var args44, tool$vendorsListVendorScrubPackages;
48444
48936
  var init_vendorsListVendorScrubPackages2 = __esm(() => {
48445
48937
  init_vendorsListVendorScrubPackages();
48446
48938
  init_operations();
48447
48939
  init_tools();
48448
- args42 = {
48940
+ args44 = {
48449
48941
  request: ListVendorScrubPackagesRequest$inboundSchema
48450
48942
  };
48451
48943
  tool$vendorsListVendorScrubPackages = {
@@ -48453,9 +48945,9 @@ var init_vendorsListVendorScrubPackages2 = __esm(() => {
48453
48945
  description: `List vendor scrub packages
48454
48946
 
48455
48947
  List vendor scrub packages`,
48456
- args: args42,
48457
- tool: async (client, args43, ctx) => {
48458
- const [result, apiCall] = await vendorsListVendorScrubPackages(client, args43.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48948
+ args: args44,
48949
+ tool: async (client, args45, ctx) => {
48950
+ const [result, apiCall] = await vendorsListVendorScrubPackages(client, args45.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48459
48951
  if (!result.ok) {
48460
48952
  return {
48461
48953
  content: [{ type: "text", text: result.error.message }],
@@ -48470,9 +48962,9 @@ List vendor scrub packages`,
48470
48962
 
48471
48963
  // src/funcs/vendorsListVendorScrubPurchases.ts
48472
48964
  function vendorsListVendorScrubPurchases(client, request, options) {
48473
- return new APIPromise($do44(client, request, options));
48965
+ return new APIPromise($do46(client, request, options));
48474
48966
  }
48475
- async function $do44(client, request, options) {
48967
+ async function $do46(client, request, options) {
48476
48968
  const parsed = safeParse(request, (value) => ListVendorScrubPurchasesRequest$outboundSchema.parse(value), "Input validation failed");
48477
48969
  if (!parsed.ok) {
48478
48970
  return [haltIterator(parsed), { status: "invalid" }];
@@ -48586,12 +49078,12 @@ var init_vendorsListVendorScrubPurchases = __esm(() => {
48586
49078
  });
48587
49079
 
48588
49080
  // src/mcp-server/tools/vendorsListVendorScrubPurchases.ts
48589
- var args43, tool$vendorsListVendorScrubPurchases;
49081
+ var args45, tool$vendorsListVendorScrubPurchases;
48590
49082
  var init_vendorsListVendorScrubPurchases2 = __esm(() => {
48591
49083
  init_vendorsListVendorScrubPurchases();
48592
49084
  init_operations();
48593
49085
  init_tools();
48594
- args43 = {
49086
+ args45 = {
48595
49087
  request: ListVendorScrubPurchasesRequest$inboundSchema
48596
49088
  };
48597
49089
  tool$vendorsListVendorScrubPurchases = {
@@ -48599,9 +49091,9 @@ var init_vendorsListVendorScrubPurchases2 = __esm(() => {
48599
49091
  description: `List vendor scrub purchases
48600
49092
 
48601
49093
  List vendor scrub purchases`,
48602
- args: args43,
48603
- tool: async (client, args44, ctx) => {
48604
- const [result, apiCall] = await vendorsListVendorScrubPurchases(client, args44.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
49094
+ args: args45,
49095
+ tool: async (client, args46, ctx) => {
49096
+ const [result, apiCall] = await vendorsListVendorScrubPurchases(client, args46.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48605
49097
  if (!result.ok) {
48606
49098
  return {
48607
49099
  content: [{ type: "text", text: result.error.message }],
@@ -48616,9 +49108,9 @@ List vendor scrub purchases`,
48616
49108
 
48617
49109
  // src/funcs/vendorsPurchaseScrubCredits.ts
48618
49110
  function vendorsPurchaseScrubCredits(client, request, options) {
48619
- return new APIPromise($do45(client, request, options));
49111
+ return new APIPromise($do47(client, request, options));
48620
49112
  }
48621
- async function $do45(client, request, options) {
49113
+ async function $do47(client, request, options) {
48622
49114
  const parsed = safeParse(request, (value) => PurchaseScrubCreditsRequest$outboundSchema.parse(value), "Input validation failed");
48623
49115
  if (!parsed.ok) {
48624
49116
  return [parsed, { status: "invalid" }];
@@ -48694,12 +49186,12 @@ var init_vendorsPurchaseScrubCredits = __esm(() => {
48694
49186
  });
48695
49187
 
48696
49188
  // src/mcp-server/tools/vendorsPurchaseScrubCredits.ts
48697
- var args44, tool$vendorsPurchaseScrubCredits;
49189
+ var args46, tool$vendorsPurchaseScrubCredits;
48698
49190
  var init_vendorsPurchaseScrubCredits2 = __esm(() => {
48699
49191
  init_vendorsPurchaseScrubCredits();
48700
49192
  init_operations();
48701
49193
  init_tools();
48702
- args44 = {
49194
+ args46 = {
48703
49195
  request: PurchaseScrubCreditsRequest$inboundSchema
48704
49196
  };
48705
49197
  tool$vendorsPurchaseScrubCredits = {
@@ -48707,9 +49199,115 @@ var init_vendorsPurchaseScrubCredits2 = __esm(() => {
48707
49199
  description: `Purchase scrub credits
48708
49200
 
48709
49201
  Purchase scrub credits`,
48710
- args: args44,
48711
- tool: async (client, args45, ctx) => {
48712
- const [result, apiCall] = await vendorsPurchaseScrubCredits(client, args45.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
49202
+ args: args46,
49203
+ tool: async (client, args47, ctx) => {
49204
+ const [result, apiCall] = await vendorsPurchaseScrubCredits(client, args47.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
49205
+ if (!result.ok) {
49206
+ return {
49207
+ content: [{ type: "text", text: result.error.message }],
49208
+ isError: true
49209
+ };
49210
+ }
49211
+ const value = result.value;
49212
+ return formatResult(value, apiCall);
49213
+ }
49214
+ };
49215
+ });
49216
+
49217
+ // src/funcs/vendorsSendDownloadCode.ts
49218
+ function vendorsSendDownloadCode(client, request, options) {
49219
+ return new APIPromise($do48(client, request, options));
49220
+ }
49221
+ async function $do48(client, request, options) {
49222
+ const parsed = safeParse(request, (value) => SendDownloadCodeRequest$outboundSchema.parse(value), "Input validation failed");
49223
+ if (!parsed.ok) {
49224
+ return [parsed, { status: "invalid" }];
49225
+ }
49226
+ const payload = parsed.value;
49227
+ const body = encodeJSON("body", payload.RequestBody, { explode: true });
49228
+ const pathParams = {
49229
+ vendor_credential_id: encodeSimple("vendor_credential_id", payload.vendor_credential_id, { explode: false, charEncoding: "percent" })
49230
+ };
49231
+ const path = pathToFunc("/vendors/credentials/{vendor_credential_id}/code")(pathParams);
49232
+ const headers = new Headers(compactMap({
49233
+ "Content-Type": "application/json",
49234
+ Accept: "application/json"
49235
+ }));
49236
+ const securityInput = await extractSecurity(client._options.security);
49237
+ const requestSecurity = resolveGlobalSecurity(securityInput);
49238
+ const context = {
49239
+ options: client._options,
49240
+ baseURL: options?.serverURL ?? client._baseURL ?? "",
49241
+ operationID: "sendDownloadCode",
49242
+ oAuth2Scopes: [],
49243
+ resolvedSecurity: requestSecurity,
49244
+ securitySource: client._options.security,
49245
+ retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
49246
+ retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
49247
+ };
49248
+ const requestRes = client._createRequest(context, {
49249
+ security: requestSecurity,
49250
+ method: "POST",
49251
+ baseURL: options?.serverURL,
49252
+ path,
49253
+ headers,
49254
+ body,
49255
+ userAgent: client._options.userAgent,
49256
+ timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
49257
+ }, options);
49258
+ if (!requestRes.ok) {
49259
+ return [requestRes, { status: "invalid" }];
49260
+ }
49261
+ const req = requestRes.value;
49262
+ const doResult = await client._do(req, {
49263
+ context,
49264
+ errorCodes: ["400", "401", "403", "404", "4XX", "500", "5XX"],
49265
+ retryConfig: context.retryConfig,
49266
+ retryCodes: context.retryCodes
49267
+ });
49268
+ if (!doResult.ok) {
49269
+ return [doResult, { status: "request-error", request: req }];
49270
+ }
49271
+ const response = doResult.value;
49272
+ const responseFields = {
49273
+ HttpMeta: { Response: response, Request: req }
49274
+ };
49275
+ const [result] = await match(json(200, booleanType()), jsonErr([400, 401, 403, 404], ApiErrorResponse$inboundSchema), jsonErr(500, ApiErrorResponse$inboundSchema), fail("4XX"), fail("5XX"))(response, { extraFields: responseFields });
49276
+ if (!result.ok) {
49277
+ return [result, { status: "complete", request: req, response }];
49278
+ }
49279
+ return [result, { status: "complete", request: req, response }];
49280
+ }
49281
+ var init_vendorsSendDownloadCode = __esm(() => {
49282
+ init_esm();
49283
+ init_encodings();
49284
+ init_matchers();
49285
+ init_primitives();
49286
+ init_schemas();
49287
+ init_security();
49288
+ init_url();
49289
+ init_errors2();
49290
+ init_operations();
49291
+ init_async();
49292
+ });
49293
+
49294
+ // src/mcp-server/tools/vendorsSendDownloadCode.ts
49295
+ var args47, tool$vendorsSendDownloadCode;
49296
+ var init_vendorsSendDownloadCode2 = __esm(() => {
49297
+ init_vendorsSendDownloadCode();
49298
+ init_operations();
49299
+ init_tools();
49300
+ args47 = {
49301
+ request: SendDownloadCodeRequest$inboundSchema
49302
+ };
49303
+ tool$vendorsSendDownloadCode = {
49304
+ name: "vendors-send-download-code",
49305
+ description: `Send download code for vendor credential
49306
+
49307
+ It will send download code for vendor credential`,
49308
+ args: args47,
49309
+ tool: async (client, args48, ctx) => {
49310
+ const [result, apiCall] = await vendorsSendDownloadCode(client, args48.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48713
49311
  if (!result.ok) {
48714
49312
  return {
48715
49313
  content: [{ type: "text", text: result.error.message }],
@@ -48724,9 +49322,9 @@ Purchase scrub credits`,
48724
49322
 
48725
49323
  // src/funcs/vendorsSubmitVendorCredential.ts
48726
49324
  function vendorsSubmitVendorCredential(client, request, options) {
48727
- return new APIPromise($do46(client, request, options));
49325
+ return new APIPromise($do49(client, request, options));
48728
49326
  }
48729
- async function $do46(client, request, options) {
49327
+ async function $do49(client, request, options) {
48730
49328
  const parsed = safeParse(request, (value) => SubmitVendorCredentialRequest$outboundSchema.parse(value), "Input validation failed");
48731
49329
  if (!parsed.ok) {
48732
49330
  return [parsed, { status: "invalid" }];
@@ -48800,12 +49398,12 @@ var init_vendorsSubmitVendorCredential = __esm(() => {
48800
49398
  });
48801
49399
 
48802
49400
  // src/mcp-server/tools/vendorsSubmitVendorCredential.ts
48803
- var args45, tool$vendorsSubmitVendorCredential;
49401
+ var args48, tool$vendorsSubmitVendorCredential;
48804
49402
  var init_vendorsSubmitVendorCredential2 = __esm(() => {
48805
49403
  init_vendorsSubmitVendorCredential();
48806
49404
  init_operations();
48807
49405
  init_tools();
48808
- args45 = {
49406
+ args48 = {
48809
49407
  request: SubmitVendorCredentialRequest$inboundSchema
48810
49408
  };
48811
49409
  tool$vendorsSubmitVendorCredential = {
@@ -48813,9 +49411,122 @@ var init_vendorsSubmitVendorCredential2 = __esm(() => {
48813
49411
  description: `Submit vendor credential
48814
49412
 
48815
49413
  It will submit vendor credential`,
48816
- args: args45,
48817
- tool: async (client, args46, ctx) => {
48818
- const [result, apiCall] = await vendorsSubmitVendorCredential(client, args46.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
49414
+ args: args48,
49415
+ tool: async (client, args49, ctx) => {
49416
+ const [result, apiCall] = await vendorsSubmitVendorCredential(client, args49.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
49417
+ if (!result.ok) {
49418
+ return {
49419
+ content: [{ type: "text", text: result.error.message }],
49420
+ isError: true
49421
+ };
49422
+ }
49423
+ const value = result.value;
49424
+ return formatResult(value, apiCall);
49425
+ }
49426
+ };
49427
+ });
49428
+
49429
+ // src/funcs/vendorsUpdateVendorCredentialData.ts
49430
+ function vendorsUpdateVendorCredentialData(client, request, options) {
49431
+ return new APIPromise($do50(client, request, options));
49432
+ }
49433
+ async function $do50(client, request, options) {
49434
+ const parsed = safeParse(request, (value) => UpdateVendorCredentialDataRequest$outboundSchema.parse(value), "Input validation failed");
49435
+ if (!parsed.ok) {
49436
+ return [parsed, { status: "invalid" }];
49437
+ }
49438
+ const payload = parsed.value;
49439
+ const body = encodeJSON("body", payload.RequestBody, { explode: true });
49440
+ const pathParams = {
49441
+ id: encodeSimple("id", payload.id, {
49442
+ explode: false,
49443
+ charEncoding: "percent"
49444
+ }),
49445
+ vendor_id_or_me: encodeSimple("vendor_id_or_me", payload.vendor_id_or_me, {
49446
+ explode: false,
49447
+ charEncoding: "percent"
49448
+ })
49449
+ };
49450
+ const path = pathToFunc("/vendors/{vendor_id_or_me}/credentials/{id}")(pathParams);
49451
+ const headers = new Headers(compactMap({
49452
+ "Content-Type": "application/json",
49453
+ Accept: "application/json"
49454
+ }));
49455
+ const securityInput = await extractSecurity(client._options.security);
49456
+ const requestSecurity = resolveGlobalSecurity(securityInput);
49457
+ const context = {
49458
+ options: client._options,
49459
+ baseURL: options?.serverURL ?? client._baseURL ?? "",
49460
+ operationID: "updateVendorCredentialData",
49461
+ oAuth2Scopes: [],
49462
+ resolvedSecurity: requestSecurity,
49463
+ securitySource: client._options.security,
49464
+ retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
49465
+ retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
49466
+ };
49467
+ const requestRes = client._createRequest(context, {
49468
+ security: requestSecurity,
49469
+ method: "PUT",
49470
+ baseURL: options?.serverURL,
49471
+ path,
49472
+ headers,
49473
+ body,
49474
+ userAgent: client._options.userAgent,
49475
+ timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
49476
+ }, options);
49477
+ if (!requestRes.ok) {
49478
+ return [requestRes, { status: "invalid" }];
49479
+ }
49480
+ const req = requestRes.value;
49481
+ const doResult = await client._do(req, {
49482
+ context,
49483
+ errorCodes: ["400", "401", "403", "404", "4XX", "500", "5XX"],
49484
+ retryConfig: context.retryConfig,
49485
+ retryCodes: context.retryCodes
49486
+ });
49487
+ if (!doResult.ok) {
49488
+ return [doResult, { status: "request-error", request: req }];
49489
+ }
49490
+ const response = doResult.value;
49491
+ const responseFields = {
49492
+ HttpMeta: { Response: response, Request: req }
49493
+ };
49494
+ const [result] = await match(json(200, booleanType()), jsonErr([400, 401, 403, 404], ApiErrorResponse$inboundSchema), jsonErr(500, ApiErrorResponse$inboundSchema), fail("4XX"), fail("5XX"))(response, { extraFields: responseFields });
49495
+ if (!result.ok) {
49496
+ return [result, { status: "complete", request: req, response }];
49497
+ }
49498
+ return [result, { status: "complete", request: req, response }];
49499
+ }
49500
+ var init_vendorsUpdateVendorCredentialData = __esm(() => {
49501
+ init_esm();
49502
+ init_encodings();
49503
+ init_matchers();
49504
+ init_primitives();
49505
+ init_schemas();
49506
+ init_security();
49507
+ init_url();
49508
+ init_errors2();
49509
+ init_operations();
49510
+ init_async();
49511
+ });
49512
+
49513
+ // src/mcp-server/tools/vendorsUpdateVendorCredentialData.ts
49514
+ var args49, tool$vendorsUpdateVendorCredentialData;
49515
+ var init_vendorsUpdateVendorCredentialData2 = __esm(() => {
49516
+ init_vendorsUpdateVendorCredentialData();
49517
+ init_operations();
49518
+ init_tools();
49519
+ args49 = {
49520
+ request: UpdateVendorCredentialDataRequest$inboundSchema
49521
+ };
49522
+ tool$vendorsUpdateVendorCredentialData = {
49523
+ name: "vendors-update-vendor-credential-data",
49524
+ description: `Update vendor credential data
49525
+
49526
+ Update vendor credential data`,
49527
+ args: args49,
49528
+ tool: async (client, args50, ctx) => {
49529
+ const [result, apiCall] = await vendorsUpdateVendorCredentialData(client, args50.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48819
49530
  if (!result.ok) {
48820
49531
  return {
48821
49532
  content: [{ type: "text", text: result.error.message }],
@@ -48830,9 +49541,9 @@ It will submit vendor credential`,
48830
49541
 
48831
49542
  // src/funcs/vendorsUpdateVendorCredentialFile.ts
48832
49543
  function vendorsUpdateVendorCredentialFile(client, request, options) {
48833
- return new APIPromise($do47(client, request, options));
49544
+ return new APIPromise($do51(client, request, options));
48834
49545
  }
48835
- async function $do47(client, request, options) {
49546
+ async function $do51(client, request, options) {
48836
49547
  const parsed = safeParse(request, (value) => UpdateVendorCredentialFileRequest$outboundSchema.parse(value), "Input validation failed");
48837
49548
  if (!parsed.ok) {
48838
49549
  return [parsed, { status: "invalid" }];
@@ -48910,12 +49621,12 @@ var init_vendorsUpdateVendorCredentialFile = __esm(() => {
48910
49621
  });
48911
49622
 
48912
49623
  // src/mcp-server/tools/vendorsUpdateVendorCredentialFile.ts
48913
- var args46, tool$vendorsUpdateVendorCredentialFile;
49624
+ var args50, tool$vendorsUpdateVendorCredentialFile;
48914
49625
  var init_vendorsUpdateVendorCredentialFile2 = __esm(() => {
48915
49626
  init_vendorsUpdateVendorCredentialFile();
48916
49627
  init_operations();
48917
49628
  init_tools();
48918
- args46 = {
49629
+ args50 = {
48919
49630
  request: UpdateVendorCredentialFileRequest$inboundSchema
48920
49631
  };
48921
49632
  tool$vendorsUpdateVendorCredentialFile = {
@@ -48923,9 +49634,9 @@ var init_vendorsUpdateVendorCredentialFile2 = __esm(() => {
48923
49634
  description: `Update vendor credential file
48924
49635
 
48925
49636
  It will update the vendor credential file properties`,
48926
- args: args46,
48927
- tool: async (client, args47, ctx) => {
48928
- const [result, apiCall] = await vendorsUpdateVendorCredentialFile(client, args47.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
49637
+ args: args50,
49638
+ tool: async (client, args51, ctx) => {
49639
+ const [result, apiCall] = await vendorsUpdateVendorCredentialFile(client, args51.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48929
49640
  if (!result.ok) {
48930
49641
  return {
48931
49642
  content: [{ type: "text", text: result.error.message }],
@@ -48940,9 +49651,9 @@ It will update the vendor credential file properties`,
48940
49651
 
48941
49652
  // src/funcs/vendorsUpdateVendorDetails.ts
48942
49653
  function vendorsUpdateVendorDetails(client, request, options) {
48943
- return new APIPromise($do48(client, request, options));
49654
+ return new APIPromise($do52(client, request, options));
48944
49655
  }
48945
- async function $do48(client, request, options) {
49656
+ async function $do52(client, request, options) {
48946
49657
  const parsed = safeParse(request, (value) => UpdateVendorDetailsRequest$outboundSchema.parse(value), "Input validation failed");
48947
49658
  if (!parsed.ok) {
48948
49659
  return [parsed, { status: "invalid" }];
@@ -49019,12 +49730,12 @@ var init_vendorsUpdateVendorDetails = __esm(() => {
49019
49730
  });
49020
49731
 
49021
49732
  // src/mcp-server/tools/vendorsUpdateVendorDetails.ts
49022
- var args47, tool$vendorsUpdateVendorDetails;
49733
+ var args51, tool$vendorsUpdateVendorDetails;
49023
49734
  var init_vendorsUpdateVendorDetails2 = __esm(() => {
49024
49735
  init_vendorsUpdateVendorDetails();
49025
49736
  init_operations();
49026
49737
  init_tools();
49027
- args47 = {
49738
+ args51 = {
49028
49739
  request: UpdateVendorDetailsRequest$inboundSchema
49029
49740
  };
49030
49741
  tool$vendorsUpdateVendorDetails = {
@@ -49032,9 +49743,9 @@ var init_vendorsUpdateVendorDetails2 = __esm(() => {
49032
49743
  description: `Update vendor details
49033
49744
 
49034
49745
  It will update the vendor details`,
49035
- args: args47,
49036
- tool: async (client, args48, ctx) => {
49037
- const [result, apiCall] = await vendorsUpdateVendorDetails(client, args48.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
49746
+ args: args51,
49747
+ tool: async (client, args52, ctx) => {
49748
+ const [result, apiCall] = await vendorsUpdateVendorDetails(client, args52.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
49038
49749
  if (!result.ok) {
49039
49750
  return {
49040
49751
  content: [{ type: "text", text: result.error.message }],
@@ -49049,9 +49760,9 @@ It will update the vendor details`,
49049
49760
 
49050
49761
  // src/funcs/vendorsUpdateVendorManagedByCompany.ts
49051
49762
  function vendorsUpdateVendorManagedByCompany(client, request, options) {
49052
- return new APIPromise($do49(client, request, options));
49763
+ return new APIPromise($do53(client, request, options));
49053
49764
  }
49054
- async function $do49(client, request, options) {
49765
+ async function $do53(client, request, options) {
49055
49766
  const parsed = safeParse(request, (value) => UpdateVendorManagedByCompanyRequest$outboundSchema.parse(value), "Input validation failed");
49056
49767
  if (!parsed.ok) {
49057
49768
  return [parsed, { status: "invalid" }];
@@ -49127,12 +49838,12 @@ var init_vendorsUpdateVendorManagedByCompany = __esm(() => {
49127
49838
  });
49128
49839
 
49129
49840
  // src/mcp-server/tools/vendorsUpdateVendorManagedByCompany.ts
49130
- var args48, tool$vendorsUpdateVendorManagedByCompany;
49841
+ var args52, tool$vendorsUpdateVendorManagedByCompany;
49131
49842
  var init_vendorsUpdateVendorManagedByCompany2 = __esm(() => {
49132
49843
  init_vendorsUpdateVendorManagedByCompany();
49133
49844
  init_operations();
49134
49845
  init_tools();
49135
- args48 = {
49846
+ args52 = {
49136
49847
  request: UpdateVendorManagedByCompanyRequest$inboundSchema
49137
49848
  };
49138
49849
  tool$vendorsUpdateVendorManagedByCompany = {
@@ -49140,9 +49851,9 @@ var init_vendorsUpdateVendorManagedByCompany2 = __esm(() => {
49140
49851
  description: `Update vendor managed by company access rights
49141
49852
 
49142
49853
  It will update the vendor managed by company access rights`,
49143
- args: args48,
49144
- tool: async (client, args49, ctx) => {
49145
- const [result, apiCall] = await vendorsUpdateVendorManagedByCompany(client, args49.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
49854
+ args: args52,
49855
+ tool: async (client, args53, ctx) => {
49856
+ const [result, apiCall] = await vendorsUpdateVendorManagedByCompany(client, args53.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
49146
49857
  if (!result.ok) {
49147
49858
  return {
49148
49859
  content: [{ type: "text", text: result.error.message }],
@@ -49157,9 +49868,9 @@ It will update the vendor managed by company access rights`,
49157
49868
 
49158
49869
  // src/funcs/vendorsUpdateVendorScrubDetails.ts
49159
49870
  function vendorsUpdateVendorScrubDetails(client, request, options) {
49160
- return new APIPromise($do50(client, request, options));
49871
+ return new APIPromise($do54(client, request, options));
49161
49872
  }
49162
- async function $do50(client, request, options) {
49873
+ async function $do54(client, request, options) {
49163
49874
  const parsed = safeParse(request, (value) => UpdateVendorScrubDetailsRequest$outboundSchema.parse(value), "Input validation failed");
49164
49875
  if (!parsed.ok) {
49165
49876
  return [parsed, { status: "invalid" }];
@@ -49236,12 +49947,12 @@ var init_vendorsUpdateVendorScrubDetails = __esm(() => {
49236
49947
  });
49237
49948
 
49238
49949
  // src/mcp-server/tools/vendorsUpdateVendorScrubDetails.ts
49239
- var args49, tool$vendorsUpdateVendorScrubDetails;
49950
+ var args53, tool$vendorsUpdateVendorScrubDetails;
49240
49951
  var init_vendorsUpdateVendorScrubDetails2 = __esm(() => {
49241
49952
  init_vendorsUpdateVendorScrubDetails();
49242
49953
  init_operations();
49243
49954
  init_tools();
49244
- args49 = {
49955
+ args53 = {
49245
49956
  request: UpdateVendorScrubDetailsRequest$inboundSchema
49246
49957
  };
49247
49958
  tool$vendorsUpdateVendorScrubDetails = {
@@ -49249,9 +49960,9 @@ var init_vendorsUpdateVendorScrubDetails2 = __esm(() => {
49249
49960
  description: `Update vendor scrub details
49250
49961
 
49251
49962
  Update vendor scrub details`,
49252
- args: args49,
49253
- tool: async (client, args50, ctx) => {
49254
- const [result, apiCall] = await vendorsUpdateVendorScrubDetails(client, args50.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
49963
+ args: args53,
49964
+ tool: async (client, args54, ctx) => {
49965
+ const [result, apiCall] = await vendorsUpdateVendorScrubDetails(client, args54.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
49255
49966
  if (!result.ok) {
49256
49967
  return {
49257
49968
  content: [{ type: "text", text: result.error.message }],
@@ -49266,9 +49977,9 @@ Update vendor scrub details`,
49266
49977
 
49267
49978
  // src/funcs/webhooksGetWebhookEndpoint.ts
49268
49979
  function webhooksGetWebhookEndpoint(client, request, options) {
49269
- return new APIPromise($do51(client, request, options));
49980
+ return new APIPromise($do55(client, request, options));
49270
49981
  }
49271
- async function $do51(client, request, options) {
49982
+ async function $do55(client, request, options) {
49272
49983
  const parsed = safeParse(request, (value) => GetWebhookEndpointRequest$outboundSchema.parse(value), "Input validation failed");
49273
49984
  if (!parsed.ok) {
49274
49985
  return [parsed, { status: "invalid" }];
@@ -49344,12 +50055,12 @@ var init_webhooksGetWebhookEndpoint = __esm(() => {
49344
50055
  });
49345
50056
 
49346
50057
  // src/mcp-server/tools/webhooksGetWebhookEndpoint.ts
49347
- var args50, tool$webhooksGetWebhookEndpoint;
50058
+ var args54, tool$webhooksGetWebhookEndpoint;
49348
50059
  var init_webhooksGetWebhookEndpoint2 = __esm(() => {
49349
50060
  init_webhooksGetWebhookEndpoint();
49350
50061
  init_operations();
49351
50062
  init_tools();
49352
- args50 = {
50063
+ args54 = {
49353
50064
  request: GetWebhookEndpointRequest$inboundSchema
49354
50065
  };
49355
50066
  tool$webhooksGetWebhookEndpoint = {
@@ -49357,9 +50068,9 @@ var init_webhooksGetWebhookEndpoint2 = __esm(() => {
49357
50068
  description: `Retrieves the webhook endpoint with the given ID.
49358
50069
 
49359
50070
  Returns the definition of a webhook endpoint by ID.`,
49360
- args: args50,
49361
- tool: async (client, args51, ctx) => {
49362
- const [result, apiCall] = await webhooksGetWebhookEndpoint(client, args51.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
50071
+ args: args54,
50072
+ tool: async (client, args55, ctx) => {
50073
+ const [result, apiCall] = await webhooksGetWebhookEndpoint(client, args55.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
49363
50074
  if (!result.ok) {
49364
50075
  return {
49365
50076
  content: [{ type: "text", text: result.error.message }],
@@ -49374,9 +50085,9 @@ Returns the definition of a webhook endpoint by ID.`,
49374
50085
 
49375
50086
  // src/funcs/webhooksListAllWebhookEndpoints.ts
49376
50087
  function webhooksListAllWebhookEndpoints(client, request, options) {
49377
- return new APIPromise($do52(client, request, options));
50088
+ return new APIPromise($do56(client, request, options));
49378
50089
  }
49379
- async function $do52(client, request, options) {
50090
+ async function $do56(client, request, options) {
49380
50091
  const parsed = safeParse(request, (value) => ListAllWebhookEndpointsRequest$outboundSchema.parse(value), "Input validation failed");
49381
50092
  if (!parsed.ok) {
49382
50093
  return [parsed, { status: "invalid" }];
@@ -49452,12 +50163,12 @@ var init_webhooksListAllWebhookEndpoints = __esm(() => {
49452
50163
  });
49453
50164
 
49454
50165
  // src/mcp-server/tools/webhooksListAllWebhookEndpoints.ts
49455
- var args51, tool$webhooksListAllWebhookEndpoints;
50166
+ var args55, tool$webhooksListAllWebhookEndpoints;
49456
50167
  var init_webhooksListAllWebhookEndpoints2 = __esm(() => {
49457
50168
  init_webhooksListAllWebhookEndpoints();
49458
50169
  init_operations();
49459
50170
  init_tools();
49460
- args51 = {
50171
+ args55 = {
49461
50172
  request: ListAllWebhookEndpointsRequest$inboundSchema
49462
50173
  };
49463
50174
  tool$webhooksListAllWebhookEndpoints = {
@@ -49465,9 +50176,9 @@ var init_webhooksListAllWebhookEndpoints2 = __esm(() => {
49465
50176
  description: `List all webhook endpoints
49466
50177
 
49467
50178
  Returns a list of your webhook endpoints.`,
49468
- args: args51,
49469
- tool: async (client, args52, ctx) => {
49470
- const [result, apiCall] = await webhooksListAllWebhookEndpoints(client, args52.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
50179
+ args: args55,
50180
+ tool: async (client, args56, ctx) => {
50181
+ const [result, apiCall] = await webhooksListAllWebhookEndpoints(client, args56.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
49471
50182
  if (!result.ok) {
49472
50183
  return {
49473
50184
  content: [{ type: "text", text: result.error.message }],
@@ -49482,9 +50193,9 @@ Returns a list of your webhook endpoints.`,
49482
50193
 
49483
50194
  // src/funcs/webhooksUpdatesTheWebhookEndpointWithTheGivenId.ts
49484
50195
  function webhooksUpdatesTheWebhookEndpointWithTheGivenId(client, request, options) {
49485
- return new APIPromise($do53(client, request, options));
50196
+ return new APIPromise($do57(client, request, options));
49486
50197
  }
49487
- async function $do53(client, request, options) {
50198
+ async function $do57(client, request, options) {
49488
50199
  const parsed = safeParse(request, (value) => UpdatesTheWebhookEndpointWithTheGivenIdRequest$outboundSchema.parse(value), "Input validation failed");
49489
50200
  if (!parsed.ok) {
49490
50201
  return [parsed, { status: "invalid" }];
@@ -49561,12 +50272,12 @@ var init_webhooksUpdatesTheWebhookEndpointWithTheGivenId = __esm(() => {
49561
50272
  });
49562
50273
 
49563
50274
  // src/mcp-server/tools/webhooksUpdatesTheWebhookEndpointWithTheGivenId.ts
49564
- var args52, tool$webhooksUpdatesTheWebhookEndpointWithTheGivenId;
50275
+ var args56, tool$webhooksUpdatesTheWebhookEndpointWithTheGivenId;
49565
50276
  var init_webhooksUpdatesTheWebhookEndpointWithTheGivenId2 = __esm(() => {
49566
50277
  init_webhooksUpdatesTheWebhookEndpointWithTheGivenId();
49567
50278
  init_operations();
49568
50279
  init_tools();
49569
- args52 = {
50280
+ args56 = {
49570
50281
  request: UpdatesTheWebhookEndpointWithTheGivenIdRequest$inboundSchema
49571
50282
  };
49572
50283
  tool$webhooksUpdatesTheWebhookEndpointWithTheGivenId = {
@@ -49574,9 +50285,9 @@ var init_webhooksUpdatesTheWebhookEndpointWithTheGivenId2 = __esm(() => {
49574
50285
  description: `Updates the webhook endpoint with the given ID.
49575
50286
 
49576
50287
  Updates the webhook endpoint with the given ID.`,
49577
- args: args52,
49578
- tool: async (client, args53, ctx) => {
49579
- const [result, apiCall] = await webhooksUpdatesTheWebhookEndpointWithTheGivenId(client, args53.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
50288
+ args: args56,
50289
+ tool: async (client, args57, ctx) => {
50290
+ const [result, apiCall] = await webhooksUpdatesTheWebhookEndpointWithTheGivenId(client, args57.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
49580
50291
  if (!result.ok) {
49581
50292
  return {
49582
50293
  content: [{ type: "text", text: result.error.message }],
@@ -49591,9 +50302,9 @@ Updates the webhook endpoint with the given ID.`,
49591
50302
 
49592
50303
  // src/funcs/zonesListOrSearchSecurityZones.ts
49593
50304
  function zonesListOrSearchSecurityZones(client, request, options) {
49594
- return new APIPromise($do54(client, request, options));
50305
+ return new APIPromise($do58(client, request, options));
49595
50306
  }
49596
- async function $do54(client, request, options) {
50307
+ async function $do58(client, request, options) {
49597
50308
  const parsed = safeParse(request, (value) => ListOrSearchSecurityZonesRequest$outboundSchema.parse(value), "Input validation failed");
49598
50309
  if (!parsed.ok) {
49599
50310
  return [haltIterator(parsed), { status: "invalid" }];
@@ -49707,12 +50418,12 @@ var init_zonesListOrSearchSecurityZones = __esm(() => {
49707
50418
  });
49708
50419
 
49709
50420
  // src/mcp-server/tools/zonesListOrSearchSecurityZones.ts
49710
- var args53, tool$zonesListOrSearchSecurityZones;
50421
+ var args57, tool$zonesListOrSearchSecurityZones;
49711
50422
  var init_zonesListOrSearchSecurityZones2 = __esm(() => {
49712
50423
  init_zonesListOrSearchSecurityZones();
49713
50424
  init_operations();
49714
50425
  init_tools();
49715
- args53 = {
50426
+ args57 = {
49716
50427
  request: ListOrSearchSecurityZonesRequest$inboundSchema
49717
50428
  };
49718
50429
  tool$zonesListOrSearchSecurityZones = {
@@ -49720,9 +50431,9 @@ var init_zonesListOrSearchSecurityZones2 = __esm(() => {
49720
50431
  description: `List or search security zones
49721
50432
 
49722
50433
  List or search security zones`,
49723
- args: args53,
49724
- tool: async (client, args54, ctx) => {
49725
- const [result, apiCall] = await zonesListOrSearchSecurityZones(client, args54.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
50434
+ args: args57,
50435
+ tool: async (client, args58, ctx) => {
50436
+ const [result, apiCall] = await zonesListOrSearchSecurityZones(client, args58.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
49726
50437
  if (!result.ok) {
49727
50438
  return {
49728
50439
  content: [{ type: "text", text: result.error.message }],
@@ -49737,9 +50448,9 @@ List or search security zones`,
49737
50448
 
49738
50449
  // src/funcs/zonesSecurityZoneCheckin.ts
49739
50450
  function zonesSecurityZoneCheckin(client, request, options) {
49740
- return new APIPromise($do55(client, request, options));
50451
+ return new APIPromise($do59(client, request, options));
49741
50452
  }
49742
- async function $do55(client, request, options) {
50453
+ async function $do59(client, request, options) {
49743
50454
  const parsed = safeParse(request, (value) => SecurityZoneCheckinRequestBody$outboundSchema.parse(value), "Input validation failed");
49744
50455
  if (!parsed.ok) {
49745
50456
  return [parsed, { status: "invalid" }];
@@ -49809,12 +50520,12 @@ var init_zonesSecurityZoneCheckin = __esm(() => {
49809
50520
  });
49810
50521
 
49811
50522
  // src/mcp-server/tools/zonesSecurityZoneCheckin.ts
49812
- var args54, tool$zonesSecurityZoneCheckin;
50523
+ var args58, tool$zonesSecurityZoneCheckin;
49813
50524
  var init_zonesSecurityZoneCheckin2 = __esm(() => {
49814
50525
  init_zonesSecurityZoneCheckin();
49815
50526
  init_operations();
49816
50527
  init_tools();
49817
- args54 = {
50528
+ args58 = {
49818
50529
  request: SecurityZoneCheckinRequestBody$inboundSchema
49819
50530
  };
49820
50531
  tool$zonesSecurityZoneCheckin = {
@@ -49822,9 +50533,9 @@ var init_zonesSecurityZoneCheckin2 = __esm(() => {
49822
50533
  description: `Security zone checkin request
49823
50534
 
49824
50535
  Security zone checkin request`,
49825
- args: args54,
49826
- tool: async (client, args55, ctx) => {
49827
- const [result, apiCall] = await zonesSecurityZoneCheckin(client, args55.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
50536
+ args: args58,
50537
+ tool: async (client, args59, ctx) => {
50538
+ const [result, apiCall] = await zonesSecurityZoneCheckin(client, args59.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
49828
50539
  if (!result.ok) {
49829
50540
  return {
49830
50541
  content: [{ type: "text", text: result.error.message }],
@@ -49841,7 +50552,7 @@ Security zone checkin request`,
49841
50552
  function createMCPServer(deps) {
49842
50553
  const server = new McpServer({
49843
50554
  name: "GreenSecurity",
49844
- version: "0.35.1"
50555
+ version: "0.35.7"
49845
50556
  });
49846
50557
  const client = new GreenSecurityCore({
49847
50558
  security: deps.security,
@@ -49859,11 +50570,14 @@ function createMCPServer(deps) {
49859
50570
  tool(tool$vendorsListVendorJobTitles);
49860
50571
  tool(tool$vendorsListVendorCredentials);
49861
50572
  tool(tool$vendorsGetVendorCredentialDetails);
50573
+ tool(tool$vendorsUpdateVendorCredentialData);
49862
50574
  tool(tool$vendorsGetVendorCredentialFile);
49863
50575
  tool(tool$vendorsUpdateVendorCredentialFile);
49864
50576
  tool(tool$vendorsDeleteVendorCredentialFile);
49865
50577
  tool(tool$vendorsGetVendorLegalName);
49866
50578
  tool(tool$vendorsDeclineVendorCredential);
50579
+ tool(tool$vendorsCheckDownloadCode);
50580
+ tool(tool$vendorsSendDownloadCode);
49867
50581
  tool(tool$vendorsListVendorCredentialFiles);
49868
50582
  tool(tool$vendorsAddVendorCredentialFile);
49869
50583
  tool(tool$vendorsSubmitVendorCredential);
@@ -49910,6 +50624,7 @@ function createMCPServer(deps) {
49910
50624
  tool(tool$dataRequestsAddDataRequestFile);
49911
50625
  tool(tool$dataRequestsDeleteDataRequestFile);
49912
50626
  tool(tool$dataRequestsUpdateDataRequest);
50627
+ tool(tool$invoicesMakePayment);
49913
50628
  return server;
49914
50629
  }
49915
50630
  var init_server2 = __esm(() => {
@@ -49921,6 +50636,7 @@ var init_server2 = __esm(() => {
49921
50636
  init_dataRequestsAddDataRequestFile2();
49922
50637
  init_dataRequestsDeleteDataRequestFile2();
49923
50638
  init_dataRequestsUpdateDataRequest2();
50639
+ init_invoicesMakePayment2();
49924
50640
  init_organizationsGetFacility2();
49925
50641
  init_organizationsListOrSearchFacilities2();
49926
50642
  init_supportArticlesGetSupportArticle2();
@@ -49935,6 +50651,7 @@ var init_server2 = __esm(() => {
49935
50651
  init_vendorsAddVendorCredentialFile2();
49936
50652
  init_vendorsAddVendorManagedByCompany2();
49937
50653
  init_vendorScansVendorScanOut2();
50654
+ init_vendorsCheckDownloadCode2();
49938
50655
  init_vendorsCreateNewVendorCredentialVersion2();
49939
50656
  init_vendorsCreateOrUpdateBcr2();
49940
50657
  init_vendorsCreateVendorCompany2();
@@ -49962,7 +50679,9 @@ var init_server2 = __esm(() => {
49962
50679
  init_vendorsListVendorScrubPackages2();
49963
50680
  init_vendorsListVendorScrubPurchases2();
49964
50681
  init_vendorsPurchaseScrubCredits2();
50682
+ init_vendorsSendDownloadCode2();
49965
50683
  init_vendorsSubmitVendorCredential2();
50684
+ init_vendorsUpdateVendorCredentialData2();
49966
50685
  init_vendorsUpdateVendorCredentialFile2();
49967
50686
  init_vendorsUpdateVendorDetails2();
49968
50687
  init_vendorsUpdateVendorManagedByCompany2();
@@ -51176,7 +51895,7 @@ var routes = an({
51176
51895
  var app = He(routes, {
51177
51896
  name: "mcp",
51178
51897
  versionInfo: {
51179
- currentVersion: "0.35.1"
51898
+ currentVersion: "0.35.7"
51180
51899
  }
51181
51900
  });
51182
51901
  zt(app, process3.argv.slice(2), buildContext(process3));
@@ -51184,5 +51903,5 @@ export {
51184
51903
  app
51185
51904
  };
51186
51905
 
51187
- //# debugId=932350E8F54D5FE864756E2164756E21
51906
+ //# debugId=F940261BBB1F88AB64756E2164756E21
51188
51907
  //# sourceMappingURL=mcp-server.js.map