@greensecurity/javascript-sdk 0.30.44 → 0.30.48

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 (789) hide show
  1. package/REACT_QUERY.md +27 -11
  2. package/README.md +10 -4
  3. package/bin/mcp-server.js +2262 -770
  4. package/bin/mcp-server.js.map +80 -65
  5. package/dist/commonjs/__tests__/vendormanagedbycompanies.test.js +1 -1
  6. package/dist/commonjs/__tests__/vendors.test.js +40 -2
  7. package/dist/commonjs/__tests__/vendors.test.js.map +1 -1
  8. package/dist/commonjs/__tests__/webhooks.test.js +45 -1
  9. package/dist/commonjs/__tests__/webhooks.test.js.map +1 -1
  10. package/dist/commonjs/__tests__/zones.test.js +5 -87
  11. package/dist/commonjs/__tests__/zones.test.js.map +1 -1
  12. package/dist/commonjs/funcs/organizationsGetFacility.js +2 -2
  13. package/dist/commonjs/funcs/organizationsGetFacility.js.map +1 -1
  14. package/dist/commonjs/funcs/organizationsListOrSearchFacilities.js +2 -2
  15. package/dist/commonjs/funcs/supportArticlesGetSupportArticle.d.ts +1 -1
  16. package/dist/commonjs/funcs/supportArticlesGetSupportArticle.d.ts.map +1 -1
  17. package/dist/commonjs/funcs/supportArticlesGetSupportArticle.js +2 -2
  18. package/dist/commonjs/funcs/supportArticlesGetSupportArticle.js.map +1 -1
  19. package/dist/commonjs/funcs/supportArticlesListOrSearchSupportArticles.d.ts +2 -1
  20. package/dist/commonjs/funcs/supportArticlesListOrSearchSupportArticles.d.ts.map +1 -1
  21. package/dist/commonjs/funcs/supportArticlesListOrSearchSupportArticles.js +3 -2
  22. package/dist/commonjs/funcs/supportArticlesListOrSearchSupportArticles.js.map +1 -1
  23. package/dist/commonjs/funcs/usersChangePassword.d.ts +1 -1
  24. package/dist/commonjs/funcs/usersChangePassword.d.ts.map +1 -1
  25. package/dist/commonjs/funcs/usersChangePassword.js +1 -1
  26. package/dist/commonjs/funcs/usersChangePassword.js.map +1 -1
  27. package/dist/commonjs/funcs/usersGetCurrentUser.d.ts +1 -1
  28. package/dist/commonjs/funcs/usersGetCurrentUser.d.ts.map +1 -1
  29. package/dist/commonjs/funcs/usersGetCurrentUser.js +2 -2
  30. package/dist/commonjs/funcs/usersGetCurrentUser.js.map +1 -1
  31. package/dist/commonjs/funcs/usersGetUserById.d.ts +1 -1
  32. package/dist/commonjs/funcs/usersGetUserById.d.ts.map +1 -1
  33. package/dist/commonjs/funcs/usersGetUserById.js +2 -2
  34. package/dist/commonjs/funcs/usersGetUserById.js.map +1 -1
  35. package/dist/commonjs/funcs/usersMagiclink.d.ts +1 -1
  36. package/dist/commonjs/funcs/usersMagiclink.d.ts.map +1 -1
  37. package/dist/commonjs/funcs/usersMagiclink.js +2 -2
  38. package/dist/commonjs/funcs/usersMagiclink.js.map +1 -1
  39. package/dist/commonjs/funcs/usersPassword.d.ts +1 -1
  40. package/dist/commonjs/funcs/usersPassword.d.ts.map +1 -1
  41. package/dist/commonjs/funcs/usersPassword.js +2 -2
  42. package/dist/commonjs/funcs/usersPassword.js.map +1 -1
  43. package/dist/commonjs/funcs/usersPasswordResetRequest.d.ts +1 -1
  44. package/dist/commonjs/funcs/usersPasswordResetRequest.d.ts.map +1 -1
  45. package/dist/commonjs/funcs/usersPasswordResetRequest.js +2 -2
  46. package/dist/commonjs/funcs/usersPasswordResetRequest.js.map +1 -1
  47. package/dist/commonjs/funcs/{usersLogsUserIntoTheSystem.d.ts → usersPostAuthenticate.d.ts} +2 -2
  48. package/dist/commonjs/funcs/usersPostAuthenticate.d.ts.map +1 -0
  49. package/dist/commonjs/funcs/{usersLogsUserIntoTheSystem.js → usersPostAuthenticate.js} +7 -7
  50. package/dist/commonjs/funcs/usersPostAuthenticate.js.map +1 -0
  51. package/dist/commonjs/funcs/vendorScansVendorScanOut.d.ts +1 -1
  52. package/dist/commonjs/funcs/vendorScansVendorScanOut.d.ts.map +1 -1
  53. package/dist/commonjs/funcs/vendorScansVendorScanOut.js +1 -1
  54. package/dist/commonjs/funcs/vendorScansVendorScanOut.js.map +1 -1
  55. package/dist/commonjs/funcs/vendorsAddVendorManagedByCompany.d.ts +1 -1
  56. package/dist/commonjs/funcs/vendorsAddVendorManagedByCompany.d.ts.map +1 -1
  57. package/dist/commonjs/funcs/vendorsAddVendorManagedByCompany.js +2 -1
  58. package/dist/commonjs/funcs/vendorsAddVendorManagedByCompany.js.map +1 -1
  59. package/dist/commonjs/funcs/vendorsDeleteVendorManagedByCompany.d.ts +1 -1
  60. package/dist/commonjs/funcs/vendorsDeleteVendorManagedByCompany.d.ts.map +1 -1
  61. package/dist/commonjs/funcs/vendorsDeleteVendorManagedByCompany.js +2 -1
  62. package/dist/commonjs/funcs/vendorsDeleteVendorManagedByCompany.js.map +1 -1
  63. package/dist/commonjs/funcs/vendorsExpediteTimeRemaining.d.ts +1 -1
  64. package/dist/commonjs/funcs/vendorsExpediteTimeRemaining.d.ts.map +1 -1
  65. package/dist/commonjs/funcs/vendorsExpediteTimeRemaining.js +2 -2
  66. package/dist/commonjs/funcs/vendorsExpediteTimeRemaining.js.map +1 -1
  67. package/dist/commonjs/funcs/vendorsGetVendorCredentialDetails.d.ts +34 -0
  68. package/dist/commonjs/funcs/vendorsGetVendorCredentialDetails.d.ts.map +1 -0
  69. package/dist/commonjs/funcs/vendorsGetVendorCredentialDetails.js +145 -0
  70. package/dist/commonjs/funcs/vendorsGetVendorCredentialDetails.js.map +1 -0
  71. package/dist/commonjs/funcs/vendorsGetVendorInvoiceDetails.d.ts +1 -1
  72. package/dist/commonjs/funcs/vendorsGetVendorInvoiceDetails.d.ts.map +1 -1
  73. package/dist/commonjs/funcs/vendorsGetVendorInvoiceDetails.js +2 -2
  74. package/dist/commonjs/funcs/vendorsGetVendorInvoiceDetails.js.map +1 -1
  75. package/dist/commonjs/funcs/vendorsGetVendorsDetails.js +2 -2
  76. package/dist/commonjs/funcs/vendorsGetVendorsDetails.js.map +1 -1
  77. package/dist/commonjs/funcs/vendorsListVendorAdditionalFacilityFields.js +2 -2
  78. package/dist/commonjs/funcs/vendorsListVendorAdditionalFacilityFields.js.map +1 -1
  79. package/dist/commonjs/funcs/vendorsListVendorCredentials.d.ts +2 -1
  80. package/dist/commonjs/funcs/vendorsListVendorCredentials.d.ts.map +1 -1
  81. package/dist/commonjs/funcs/vendorsListVendorCredentials.js +3 -2
  82. package/dist/commonjs/funcs/vendorsListVendorCredentials.js.map +1 -1
  83. package/dist/commonjs/funcs/vendorsListVendorCredits.js +2 -2
  84. package/dist/commonjs/funcs/vendorsListVendorCredits.js.map +1 -1
  85. package/dist/commonjs/funcs/vendorsListVendorFacilityStatuses.js +2 -2
  86. package/dist/commonjs/funcs/vendorsListVendorFacilityStatuses.js.map +1 -1
  87. package/dist/commonjs/funcs/vendorsListVendorInvoices.d.ts +1 -1
  88. package/dist/commonjs/funcs/vendorsListVendorInvoices.d.ts.map +1 -1
  89. package/dist/commonjs/funcs/vendorsListVendorInvoices.js +2 -2
  90. package/dist/commonjs/funcs/vendorsListVendorInvoices.js.map +1 -1
  91. package/dist/commonjs/funcs/vendorsListVendorManagedByCompanies.js +2 -2
  92. package/dist/commonjs/funcs/vendorsListVendorManagedByCompanies.js.map +1 -1
  93. package/dist/commonjs/funcs/vendorsListVendorScrubDetails.d.ts +1 -1
  94. package/dist/commonjs/funcs/vendorsListVendorScrubDetails.d.ts.map +1 -1
  95. package/dist/commonjs/funcs/vendorsListVendorScrubDetails.js +2 -2
  96. package/dist/commonjs/funcs/vendorsListVendorScrubDetails.js.map +1 -1
  97. package/dist/commonjs/funcs/vendorsListVendorScrubPurchases.d.ts +1 -1
  98. package/dist/commonjs/funcs/vendorsListVendorScrubPurchases.d.ts.map +1 -1
  99. package/dist/commonjs/funcs/vendorsListVendorScrubPurchases.js +2 -2
  100. package/dist/commonjs/funcs/vendorsListVendorScrubPurchases.js.map +1 -1
  101. package/dist/commonjs/funcs/vendorsUpdateVendorManagedByCompany.d.ts +1 -1
  102. package/dist/commonjs/funcs/vendorsUpdateVendorManagedByCompany.d.ts.map +1 -1
  103. package/dist/commonjs/funcs/vendorsUpdateVendorManagedByCompany.js +2 -1
  104. package/dist/commonjs/funcs/vendorsUpdateVendorManagedByCompany.js.map +1 -1
  105. package/dist/commonjs/funcs/webhooksGetWebhookEndpoint.js +2 -2
  106. package/dist/commonjs/funcs/webhooksGetWebhookEndpoint.js.map +1 -1
  107. package/dist/commonjs/funcs/webhooksListAllWebhookEndpoints.d.ts +1 -1
  108. package/dist/commonjs/funcs/webhooksListAllWebhookEndpoints.d.ts.map +1 -1
  109. package/dist/commonjs/funcs/webhooksListAllWebhookEndpoints.js +1 -1
  110. package/dist/commonjs/funcs/webhooksListAllWebhookEndpoints.js.map +1 -1
  111. package/dist/commonjs/funcs/webhooksUpdatesTheWebhookEndpointWithTheGivenId.d.ts +18 -0
  112. package/dist/commonjs/funcs/webhooksUpdatesTheWebhookEndpointWithTheGivenId.d.ts.map +1 -0
  113. package/dist/commonjs/funcs/webhooksUpdatesTheWebhookEndpointWithTheGivenId.js +123 -0
  114. package/dist/commonjs/funcs/webhooksUpdatesTheWebhookEndpointWithTheGivenId.js.map +1 -0
  115. package/dist/commonjs/funcs/zonesSecurityZoneCheckin.d.ts +2 -3
  116. package/dist/commonjs/funcs/zonesSecurityZoneCheckin.d.ts.map +1 -1
  117. package/dist/commonjs/funcs/zonesSecurityZoneCheckin.js +2 -3
  118. package/dist/commonjs/funcs/zonesSecurityZoneCheckin.js.map +1 -1
  119. package/dist/commonjs/lib/config.d.ts +3 -3
  120. package/dist/commonjs/lib/config.js +3 -3
  121. package/dist/commonjs/lib/config.js.map +1 -1
  122. package/dist/commonjs/mcp-server/mcp-server.js +1 -1
  123. package/dist/commonjs/mcp-server/server.d.ts.map +1 -1
  124. package/dist/commonjs/mcp-server/server.js +7 -3
  125. package/dist/commonjs/mcp-server/server.js.map +1 -1
  126. package/dist/commonjs/mcp-server/tools/usersPostAuthenticate.d.ts +8 -0
  127. package/dist/commonjs/mcp-server/tools/usersPostAuthenticate.d.ts.map +1 -0
  128. package/dist/commonjs/mcp-server/tools/{usersLogsUserIntoTheSystem.js → usersPostAuthenticate.js} +7 -7
  129. package/dist/commonjs/mcp-server/tools/usersPostAuthenticate.js.map +1 -0
  130. package/dist/commonjs/mcp-server/tools/vendorsGetVendorCredentialDetails.d.ts +8 -0
  131. package/dist/commonjs/mcp-server/tools/vendorsGetVendorCredentialDetails.d.ts.map +1 -0
  132. package/dist/commonjs/mcp-server/tools/vendorsGetVendorCredentialDetails.js +81 -0
  133. package/dist/commonjs/mcp-server/tools/vendorsGetVendorCredentialDetails.js.map +1 -0
  134. package/dist/commonjs/mcp-server/tools/webhooksUpdatesTheWebhookEndpointWithTheGivenId.d.ts +8 -0
  135. package/dist/commonjs/mcp-server/tools/webhooksUpdatesTheWebhookEndpointWithTheGivenId.d.ts.map +1 -0
  136. package/dist/commonjs/mcp-server/tools/webhooksUpdatesTheWebhookEndpointWithTheGivenId.js +64 -0
  137. package/dist/commonjs/mcp-server/tools/webhooksUpdatesTheWebhookEndpointWithTheGivenId.js.map +1 -0
  138. package/dist/commonjs/mcp-server/tools/zonesSecurityZoneCheckin.js +1 -1
  139. package/dist/commonjs/mcp-server/tools/zonesSecurityZoneCheckin.js.map +1 -1
  140. package/dist/commonjs/models/components/backgroundcheckresult.d.ts +186 -0
  141. package/dist/commonjs/models/components/backgroundcheckresult.d.ts.map +1 -0
  142. package/dist/commonjs/models/components/backgroundcheckresult.js +241 -0
  143. package/dist/commonjs/models/components/backgroundcheckresult.js.map +1 -0
  144. package/dist/commonjs/models/components/credential.d.ts +156 -0
  145. package/dist/commonjs/models/components/credential.d.ts.map +1 -0
  146. package/dist/commonjs/models/components/credential.js +186 -0
  147. package/dist/commonjs/models/components/credential.js.map +1 -0
  148. package/dist/commonjs/models/components/credentialdocument.d.ts +95 -0
  149. package/dist/commonjs/models/components/credentialdocument.d.ts.map +1 -0
  150. package/dist/commonjs/models/components/credentialdocument.js +152 -0
  151. package/dist/commonjs/models/components/credentialdocument.js.map +1 -0
  152. package/dist/commonjs/models/components/datarequest.d.ts +138 -0
  153. package/dist/commonjs/models/components/datarequest.d.ts.map +1 -0
  154. package/dist/commonjs/models/components/datarequest.js +203 -0
  155. package/dist/commonjs/models/components/datarequest.js.map +1 -0
  156. package/dist/commonjs/models/components/expand.d.ts +45 -0
  157. package/dist/commonjs/models/components/expand.d.ts.map +1 -1
  158. package/dist/commonjs/models/components/expand.js +15 -0
  159. package/dist/commonjs/models/components/expand.js.map +1 -1
  160. package/dist/commonjs/models/components/facility.d.ts +10 -10
  161. package/dist/commonjs/models/components/facility.d.ts.map +1 -1
  162. package/dist/commonjs/models/components/facility.js +10 -10
  163. package/dist/commonjs/models/components/facility.js.map +1 -1
  164. package/dist/commonjs/models/components/index.d.ts +9 -0
  165. package/dist/commonjs/models/components/index.d.ts.map +1 -1
  166. package/dist/commonjs/models/components/index.js +9 -0
  167. package/dist/commonjs/models/components/index.js.map +1 -1
  168. package/dist/commonjs/models/components/invoice.d.ts +2 -2
  169. package/dist/commonjs/models/components/invoice.js +2 -2
  170. package/dist/commonjs/models/components/invoiceitem.d.ts +52 -4
  171. package/dist/commonjs/models/components/invoiceitem.d.ts.map +1 -1
  172. package/dist/commonjs/models/components/invoiceitem.js +60 -9
  173. package/dist/commonjs/models/components/invoiceitem.js.map +1 -1
  174. package/dist/commonjs/models/components/product.d.ts +36 -0
  175. package/dist/commonjs/models/components/product.d.ts.map +1 -0
  176. package/dist/commonjs/models/components/product.js +73 -0
  177. package/dist/commonjs/models/components/product.js.map +1 -0
  178. package/dist/commonjs/models/components/screeningresponse.d.ts +52 -0
  179. package/dist/commonjs/models/components/screeningresponse.d.ts.map +1 -0
  180. package/dist/commonjs/models/components/screeningresponse.js +116 -0
  181. package/dist/commonjs/models/components/screeningresponse.js.map +1 -0
  182. package/dist/commonjs/models/components/user.d.ts +2 -2
  183. package/dist/commonjs/models/components/user.d.ts.map +1 -1
  184. package/dist/commonjs/models/components/user.js +2 -2
  185. package/dist/commonjs/models/components/user.js.map +1 -1
  186. package/dist/commonjs/models/components/vendor.d.ts +48 -6
  187. package/dist/commonjs/models/components/vendor.d.ts.map +1 -1
  188. package/dist/commonjs/models/components/vendor.js +69 -7
  189. package/dist/commonjs/models/components/vendor.js.map +1 -1
  190. package/dist/commonjs/models/components/vendorcredentialdatarequest.d.ts +148 -0
  191. package/dist/commonjs/models/components/vendorcredentialdatarequest.d.ts.map +1 -0
  192. package/dist/commonjs/models/components/vendorcredentialdatarequest.js +228 -0
  193. package/dist/commonjs/models/components/vendorcredentialdatarequest.js.map +1 -0
  194. package/dist/commonjs/models/components/vendorcredentialfile.d.ts +125 -0
  195. package/dist/commonjs/models/components/vendorcredentialfile.d.ts.map +1 -0
  196. package/dist/commonjs/models/components/vendorcredentialfile.js +211 -0
  197. package/dist/commonjs/models/components/vendorcredentialfile.js.map +1 -0
  198. package/dist/commonjs/models/components/vendorcredentialsummary.d.ts +172 -0
  199. package/dist/commonjs/models/components/vendorcredentialsummary.d.ts.map +1 -1
  200. package/dist/commonjs/models/components/vendorcredentialsummary.js +238 -1
  201. package/dist/commonjs/models/components/vendorcredentialsummary.js.map +1 -1
  202. package/dist/commonjs/models/components/vendorscan.d.ts +80 -0
  203. package/dist/commonjs/models/components/vendorscan.d.ts.map +1 -0
  204. package/dist/commonjs/models/components/vendorscan.js +144 -0
  205. package/dist/commonjs/models/components/vendorscan.js.map +1 -0
  206. package/dist/commonjs/models/operations/addvendormanagedbycompany.d.ts +13 -13
  207. package/dist/commonjs/models/operations/addvendormanagedbycompany.d.ts.map +1 -1
  208. package/dist/commonjs/models/operations/addvendormanagedbycompany.js +16 -16
  209. package/dist/commonjs/models/operations/addvendormanagedbycompany.js.map +1 -1
  210. package/dist/commonjs/models/operations/changepassword.d.ts +13 -13
  211. package/dist/commonjs/models/operations/changepassword.d.ts.map +1 -1
  212. package/dist/commonjs/models/operations/changepassword.js +16 -16
  213. package/dist/commonjs/models/operations/changepassword.js.map +1 -1
  214. package/dist/commonjs/models/operations/deletevendormanagedbycompany.d.ts +13 -13
  215. package/dist/commonjs/models/operations/deletevendormanagedbycompany.d.ts.map +1 -1
  216. package/dist/commonjs/models/operations/deletevendormanagedbycompany.js +18 -16
  217. package/dist/commonjs/models/operations/deletevendormanagedbycompany.js.map +1 -1
  218. package/dist/commonjs/models/operations/expeditetimeremaining.d.ts +13 -13
  219. package/dist/commonjs/models/operations/expeditetimeremaining.d.ts.map +1 -1
  220. package/dist/commonjs/models/operations/expeditetimeremaining.js +16 -16
  221. package/dist/commonjs/models/operations/expeditetimeremaining.js.map +1 -1
  222. package/dist/commonjs/models/operations/getvendorcredentialdetails.d.ts +74 -0
  223. package/dist/commonjs/models/operations/getvendorcredentialdetails.d.ts.map +1 -0
  224. package/dist/commonjs/models/operations/getvendorcredentialdetails.js +118 -0
  225. package/dist/commonjs/models/operations/getvendorcredentialdetails.js.map +1 -0
  226. package/dist/commonjs/models/operations/index.d.ts +3 -1
  227. package/dist/commonjs/models/operations/index.d.ts.map +1 -1
  228. package/dist/commonjs/models/operations/index.js +3 -1
  229. package/dist/commonjs/models/operations/index.js.map +1 -1
  230. package/dist/commonjs/models/operations/listallwebhookendpoints.d.ts +13 -13
  231. package/dist/commonjs/models/operations/listallwebhookendpoints.d.ts.map +1 -1
  232. package/dist/commonjs/models/operations/listallwebhookendpoints.js +16 -16
  233. package/dist/commonjs/models/operations/listallwebhookendpoints.js.map +1 -1
  234. package/dist/commonjs/models/operations/listvendoradditionalfacilityfields.d.ts +15 -15
  235. package/dist/commonjs/models/operations/listvendoradditionalfacilityfields.d.ts.map +1 -1
  236. package/dist/commonjs/models/operations/listvendoradditionalfacilityfields.js +20 -18
  237. package/dist/commonjs/models/operations/listvendoradditionalfacilityfields.js.map +1 -1
  238. package/dist/commonjs/models/operations/listvendorcredentials.d.ts +25 -25
  239. package/dist/commonjs/models/operations/listvendorcredentials.d.ts.map +1 -1
  240. package/dist/commonjs/models/operations/listvendorcredentials.js +26 -26
  241. package/dist/commonjs/models/operations/listvendorcredentials.js.map +1 -1
  242. package/dist/commonjs/models/operations/listvendorcredits.d.ts +15 -15
  243. package/dist/commonjs/models/operations/listvendorcredits.d.ts.map +1 -1
  244. package/dist/commonjs/models/operations/listvendorcredits.js +18 -18
  245. package/dist/commonjs/models/operations/listvendorcredits.js.map +1 -1
  246. package/dist/commonjs/models/operations/listvendorfacilitystatuses.d.ts +15 -15
  247. package/dist/commonjs/models/operations/listvendorfacilitystatuses.d.ts.map +1 -1
  248. package/dist/commonjs/models/operations/listvendorfacilitystatuses.js +19 -18
  249. package/dist/commonjs/models/operations/listvendorfacilitystatuses.js.map +1 -1
  250. package/dist/commonjs/models/operations/listvendorinvoices.d.ts +17 -17
  251. package/dist/commonjs/models/operations/listvendorinvoices.d.ts.map +1 -1
  252. package/dist/commonjs/models/operations/listvendorinvoices.js +20 -20
  253. package/dist/commonjs/models/operations/listvendorinvoices.js.map +1 -1
  254. package/dist/commonjs/models/operations/listvendormanagedbycompanies.d.ts +15 -15
  255. package/dist/commonjs/models/operations/listvendormanagedbycompanies.d.ts.map +1 -1
  256. package/dist/commonjs/models/operations/listvendormanagedbycompanies.js +20 -18
  257. package/dist/commonjs/models/operations/listvendormanagedbycompanies.js.map +1 -1
  258. package/dist/commonjs/models/operations/listvendorscrubpackages.d.ts +2 -2
  259. package/dist/commonjs/models/operations/listvendorscrubpackages.d.ts.map +1 -1
  260. package/dist/commonjs/models/operations/listvendorscrubpackages.js +2 -2
  261. package/dist/commonjs/models/operations/listvendorscrubpackages.js.map +1 -1
  262. package/dist/commonjs/models/operations/listvendorscrubpurchases.d.ts +15 -15
  263. package/dist/commonjs/models/operations/listvendorscrubpurchases.d.ts.map +1 -1
  264. package/dist/commonjs/models/operations/listvendorscrubpurchases.js +18 -18
  265. package/dist/commonjs/models/operations/listvendorscrubpurchases.js.map +1 -1
  266. package/dist/commonjs/models/operations/postauthenticate.d.ts +98 -0
  267. package/dist/commonjs/models/operations/postauthenticate.d.ts.map +1 -0
  268. package/dist/commonjs/models/operations/{logsuserintothesystem.js → postauthenticate.js} +47 -47
  269. package/dist/commonjs/models/operations/postauthenticate.js.map +1 -0
  270. package/dist/commonjs/models/operations/securityzonecheckin.d.ts +190 -4
  271. package/dist/commonjs/models/operations/securityzonecheckin.d.ts.map +1 -1
  272. package/dist/commonjs/models/operations/securityzonecheckin.js +244 -1
  273. package/dist/commonjs/models/operations/securityzonecheckin.js.map +1 -1
  274. package/dist/commonjs/models/operations/updatesthewebhookendpointwiththegivenid.d.ts +35 -0
  275. package/dist/commonjs/models/operations/updatesthewebhookendpointwiththegivenid.d.ts.map +1 -0
  276. package/dist/commonjs/models/operations/updatesthewebhookendpointwiththegivenid.js +81 -0
  277. package/dist/commonjs/models/operations/updatesthewebhookendpointwiththegivenid.js.map +1 -0
  278. package/dist/commonjs/models/operations/updatevendormanagedbycompany.d.ts +13 -13
  279. package/dist/commonjs/models/operations/updatevendormanagedbycompany.d.ts.map +1 -1
  280. package/dist/commonjs/models/operations/updatevendormanagedbycompany.js +18 -16
  281. package/dist/commonjs/models/operations/updatevendormanagedbycompany.js.map +1 -1
  282. package/dist/commonjs/models/operations/vendorscanout.d.ts +13 -13
  283. package/dist/commonjs/models/operations/vendorscanout.d.ts.map +1 -1
  284. package/dist/commonjs/models/operations/vendorscanout.js +16 -16
  285. package/dist/commonjs/models/operations/vendorscanout.js.map +1 -1
  286. package/dist/commonjs/react-query/index.d.ts +3 -1
  287. package/dist/commonjs/react-query/index.d.ts.map +1 -1
  288. package/dist/commonjs/react-query/index.js +3 -1
  289. package/dist/commonjs/react-query/index.js.map +1 -1
  290. package/dist/commonjs/react-query/usersChangePassword.d.ts +1 -1
  291. package/dist/commonjs/react-query/usersChangePassword.d.ts.map +1 -1
  292. package/dist/{esm/react-query/usersLogsUserIntoTheSystem.d.ts → commonjs/react-query/usersPostAuthenticate.d.ts} +8 -8
  293. package/dist/commonjs/react-query/usersPostAuthenticate.d.ts.map +1 -0
  294. package/dist/commonjs/react-query/{usersLogsUserIntoTheSystem.js → usersPostAuthenticate.js} +13 -13
  295. package/dist/commonjs/react-query/usersPostAuthenticate.js.map +1 -0
  296. package/dist/commonjs/react-query/vendorScansVendorScanOut.d.ts +1 -1
  297. package/dist/commonjs/react-query/vendorScansVendorScanOut.d.ts.map +1 -1
  298. package/dist/commonjs/react-query/vendorsAddVendorManagedByCompany.d.ts +1 -1
  299. package/dist/commonjs/react-query/vendorsAddVendorManagedByCompany.d.ts.map +1 -1
  300. package/dist/commonjs/react-query/vendorsDeleteVendorManagedByCompany.d.ts +1 -1
  301. package/dist/commonjs/react-query/vendorsDeleteVendorManagedByCompany.d.ts.map +1 -1
  302. package/dist/commonjs/react-query/vendorsExpediteTimeRemaining.d.ts +1 -1
  303. package/dist/commonjs/react-query/vendorsExpediteTimeRemaining.d.ts.map +1 -1
  304. package/dist/commonjs/react-query/vendorsGetVendorCredentialDetails.d.ts +79 -0
  305. package/dist/commonjs/react-query/vendorsGetVendorCredentialDetails.d.ts.map +1 -0
  306. package/dist/commonjs/react-query/vendorsGetVendorCredentialDetails.js +132 -0
  307. package/dist/commonjs/react-query/vendorsGetVendorCredentialDetails.js.map +1 -0
  308. package/dist/commonjs/react-query/vendorsUpdateVendorManagedByCompany.d.ts +1 -1
  309. package/dist/commonjs/react-query/vendorsUpdateVendorManagedByCompany.d.ts.map +1 -1
  310. package/dist/commonjs/react-query/webhooksListAllWebhookEndpoints.d.ts +1 -1
  311. package/dist/commonjs/react-query/webhooksListAllWebhookEndpoints.d.ts.map +1 -1
  312. package/dist/commonjs/react-query/webhooksUpdatesTheWebhookEndpointWithTheGivenId.d.ts +24 -0
  313. package/dist/commonjs/react-query/webhooksUpdatesTheWebhookEndpointWithTheGivenId.d.ts.map +1 -0
  314. package/dist/commonjs/react-query/webhooksUpdatesTheWebhookEndpointWithTheGivenId.js +51 -0
  315. package/dist/commonjs/react-query/webhooksUpdatesTheWebhookEndpointWithTheGivenId.js.map +1 -0
  316. package/dist/commonjs/react-query/zonesSecurityZoneCheckin.d.ts +2 -3
  317. package/dist/commonjs/react-query/zonesSecurityZoneCheckin.d.ts.map +1 -1
  318. package/dist/commonjs/react-query/zonesSecurityZoneCheckin.js +1 -1
  319. package/dist/commonjs/react-query/zonesSecurityZoneCheckin.js.map +1 -1
  320. package/dist/commonjs/sdk/users.d.ts +2 -2
  321. package/dist/commonjs/sdk/users.d.ts.map +1 -1
  322. package/dist/commonjs/sdk/users.js +3 -3
  323. package/dist/commonjs/sdk/users.js.map +1 -1
  324. package/dist/commonjs/sdk/vendors.d.ts +28 -4
  325. package/dist/commonjs/sdk/vendors.d.ts.map +1 -1
  326. package/dist/commonjs/sdk/vendors.js +27 -0
  327. package/dist/commonjs/sdk/vendors.js.map +1 -1
  328. package/dist/commonjs/sdk/vendorscans.d.ts +1 -1
  329. package/dist/commonjs/sdk/vendorscans.d.ts.map +1 -1
  330. package/dist/commonjs/sdk/webhooks.d.ts +8 -1
  331. package/dist/commonjs/sdk/webhooks.d.ts.map +1 -1
  332. package/dist/commonjs/sdk/webhooks.js +10 -0
  333. package/dist/commonjs/sdk/webhooks.js.map +1 -1
  334. package/dist/commonjs/sdk/zones.d.ts +2 -3
  335. package/dist/commonjs/sdk/zones.d.ts.map +1 -1
  336. package/dist/commonjs/sdk/zones.js +1 -1
  337. package/dist/commonjs/sdk/zones.js.map +1 -1
  338. package/dist/esm/__tests__/vendormanagedbycompanies.test.js +1 -1
  339. package/dist/esm/__tests__/vendors.test.js +40 -2
  340. package/dist/esm/__tests__/vendors.test.js.map +1 -1
  341. package/dist/esm/__tests__/webhooks.test.js +45 -1
  342. package/dist/esm/__tests__/webhooks.test.js.map +1 -1
  343. package/dist/esm/__tests__/zones.test.js +5 -87
  344. package/dist/esm/__tests__/zones.test.js.map +1 -1
  345. package/dist/esm/funcs/organizationsGetFacility.js +2 -2
  346. package/dist/esm/funcs/organizationsGetFacility.js.map +1 -1
  347. package/dist/esm/funcs/organizationsListOrSearchFacilities.js +2 -2
  348. package/dist/esm/funcs/supportArticlesGetSupportArticle.d.ts +1 -1
  349. package/dist/esm/funcs/supportArticlesGetSupportArticle.d.ts.map +1 -1
  350. package/dist/esm/funcs/supportArticlesGetSupportArticle.js +2 -2
  351. package/dist/esm/funcs/supportArticlesGetSupportArticle.js.map +1 -1
  352. package/dist/esm/funcs/supportArticlesListOrSearchSupportArticles.d.ts +2 -1
  353. package/dist/esm/funcs/supportArticlesListOrSearchSupportArticles.d.ts.map +1 -1
  354. package/dist/esm/funcs/supportArticlesListOrSearchSupportArticles.js +3 -2
  355. package/dist/esm/funcs/supportArticlesListOrSearchSupportArticles.js.map +1 -1
  356. package/dist/esm/funcs/usersChangePassword.d.ts +1 -1
  357. package/dist/esm/funcs/usersChangePassword.d.ts.map +1 -1
  358. package/dist/esm/funcs/usersChangePassword.js +1 -1
  359. package/dist/esm/funcs/usersChangePassword.js.map +1 -1
  360. package/dist/esm/funcs/usersGetCurrentUser.d.ts +1 -1
  361. package/dist/esm/funcs/usersGetCurrentUser.d.ts.map +1 -1
  362. package/dist/esm/funcs/usersGetCurrentUser.js +2 -2
  363. package/dist/esm/funcs/usersGetCurrentUser.js.map +1 -1
  364. package/dist/esm/funcs/usersGetUserById.d.ts +1 -1
  365. package/dist/esm/funcs/usersGetUserById.d.ts.map +1 -1
  366. package/dist/esm/funcs/usersGetUserById.js +2 -2
  367. package/dist/esm/funcs/usersGetUserById.js.map +1 -1
  368. package/dist/esm/funcs/usersMagiclink.d.ts +1 -1
  369. package/dist/esm/funcs/usersMagiclink.d.ts.map +1 -1
  370. package/dist/esm/funcs/usersMagiclink.js +2 -2
  371. package/dist/esm/funcs/usersMagiclink.js.map +1 -1
  372. package/dist/esm/funcs/usersPassword.d.ts +1 -1
  373. package/dist/esm/funcs/usersPassword.d.ts.map +1 -1
  374. package/dist/esm/funcs/usersPassword.js +2 -2
  375. package/dist/esm/funcs/usersPassword.js.map +1 -1
  376. package/dist/esm/funcs/usersPasswordResetRequest.d.ts +1 -1
  377. package/dist/esm/funcs/usersPasswordResetRequest.d.ts.map +1 -1
  378. package/dist/esm/funcs/usersPasswordResetRequest.js +2 -2
  379. package/dist/esm/funcs/usersPasswordResetRequest.js.map +1 -1
  380. package/dist/esm/funcs/{usersLogsUserIntoTheSystem.d.ts → usersPostAuthenticate.d.ts} +2 -2
  381. package/dist/esm/funcs/usersPostAuthenticate.d.ts.map +1 -0
  382. package/dist/esm/funcs/{usersLogsUserIntoTheSystem.js → usersPostAuthenticate.js} +6 -6
  383. package/dist/esm/funcs/usersPostAuthenticate.js.map +1 -0
  384. package/dist/esm/funcs/vendorScansVendorScanOut.d.ts +1 -1
  385. package/dist/esm/funcs/vendorScansVendorScanOut.d.ts.map +1 -1
  386. package/dist/esm/funcs/vendorScansVendorScanOut.js +1 -1
  387. package/dist/esm/funcs/vendorScansVendorScanOut.js.map +1 -1
  388. package/dist/esm/funcs/vendorsAddVendorManagedByCompany.d.ts +1 -1
  389. package/dist/esm/funcs/vendorsAddVendorManagedByCompany.d.ts.map +1 -1
  390. package/dist/esm/funcs/vendorsAddVendorManagedByCompany.js +2 -1
  391. package/dist/esm/funcs/vendorsAddVendorManagedByCompany.js.map +1 -1
  392. package/dist/esm/funcs/vendorsDeleteVendorManagedByCompany.d.ts +1 -1
  393. package/dist/esm/funcs/vendorsDeleteVendorManagedByCompany.d.ts.map +1 -1
  394. package/dist/esm/funcs/vendorsDeleteVendorManagedByCompany.js +2 -1
  395. package/dist/esm/funcs/vendorsDeleteVendorManagedByCompany.js.map +1 -1
  396. package/dist/esm/funcs/vendorsExpediteTimeRemaining.d.ts +1 -1
  397. package/dist/esm/funcs/vendorsExpediteTimeRemaining.d.ts.map +1 -1
  398. package/dist/esm/funcs/vendorsExpediteTimeRemaining.js +2 -2
  399. package/dist/esm/funcs/vendorsExpediteTimeRemaining.js.map +1 -1
  400. package/dist/esm/funcs/vendorsGetVendorCredentialDetails.d.ts +34 -0
  401. package/dist/esm/funcs/vendorsGetVendorCredentialDetails.d.ts.map +1 -0
  402. package/dist/esm/funcs/vendorsGetVendorCredentialDetails.js +109 -0
  403. package/dist/esm/funcs/vendorsGetVendorCredentialDetails.js.map +1 -0
  404. package/dist/esm/funcs/vendorsGetVendorInvoiceDetails.d.ts +1 -1
  405. package/dist/esm/funcs/vendorsGetVendorInvoiceDetails.d.ts.map +1 -1
  406. package/dist/esm/funcs/vendorsGetVendorInvoiceDetails.js +2 -2
  407. package/dist/esm/funcs/vendorsGetVendorInvoiceDetails.js.map +1 -1
  408. package/dist/esm/funcs/vendorsGetVendorsDetails.js +2 -2
  409. package/dist/esm/funcs/vendorsGetVendorsDetails.js.map +1 -1
  410. package/dist/esm/funcs/vendorsListVendorAdditionalFacilityFields.js +2 -2
  411. package/dist/esm/funcs/vendorsListVendorAdditionalFacilityFields.js.map +1 -1
  412. package/dist/esm/funcs/vendorsListVendorCredentials.d.ts +2 -1
  413. package/dist/esm/funcs/vendorsListVendorCredentials.d.ts.map +1 -1
  414. package/dist/esm/funcs/vendorsListVendorCredentials.js +3 -2
  415. package/dist/esm/funcs/vendorsListVendorCredentials.js.map +1 -1
  416. package/dist/esm/funcs/vendorsListVendorCredits.js +2 -2
  417. package/dist/esm/funcs/vendorsListVendorCredits.js.map +1 -1
  418. package/dist/esm/funcs/vendorsListVendorFacilityStatuses.js +2 -2
  419. package/dist/esm/funcs/vendorsListVendorFacilityStatuses.js.map +1 -1
  420. package/dist/esm/funcs/vendorsListVendorInvoices.d.ts +1 -1
  421. package/dist/esm/funcs/vendorsListVendorInvoices.d.ts.map +1 -1
  422. package/dist/esm/funcs/vendorsListVendorInvoices.js +2 -2
  423. package/dist/esm/funcs/vendorsListVendorInvoices.js.map +1 -1
  424. package/dist/esm/funcs/vendorsListVendorManagedByCompanies.js +2 -2
  425. package/dist/esm/funcs/vendorsListVendorManagedByCompanies.js.map +1 -1
  426. package/dist/esm/funcs/vendorsListVendorScrubDetails.d.ts +1 -1
  427. package/dist/esm/funcs/vendorsListVendorScrubDetails.d.ts.map +1 -1
  428. package/dist/esm/funcs/vendorsListVendorScrubDetails.js +2 -2
  429. package/dist/esm/funcs/vendorsListVendorScrubDetails.js.map +1 -1
  430. package/dist/esm/funcs/vendorsListVendorScrubPurchases.d.ts +1 -1
  431. package/dist/esm/funcs/vendorsListVendorScrubPurchases.d.ts.map +1 -1
  432. package/dist/esm/funcs/vendorsListVendorScrubPurchases.js +2 -2
  433. package/dist/esm/funcs/vendorsListVendorScrubPurchases.js.map +1 -1
  434. package/dist/esm/funcs/vendorsUpdateVendorManagedByCompany.d.ts +1 -1
  435. package/dist/esm/funcs/vendorsUpdateVendorManagedByCompany.d.ts.map +1 -1
  436. package/dist/esm/funcs/vendorsUpdateVendorManagedByCompany.js +2 -1
  437. package/dist/esm/funcs/vendorsUpdateVendorManagedByCompany.js.map +1 -1
  438. package/dist/esm/funcs/webhooksGetWebhookEndpoint.js +2 -2
  439. package/dist/esm/funcs/webhooksGetWebhookEndpoint.js.map +1 -1
  440. package/dist/esm/funcs/webhooksListAllWebhookEndpoints.d.ts +1 -1
  441. package/dist/esm/funcs/webhooksListAllWebhookEndpoints.d.ts.map +1 -1
  442. package/dist/esm/funcs/webhooksListAllWebhookEndpoints.js +1 -1
  443. package/dist/esm/funcs/webhooksListAllWebhookEndpoints.js.map +1 -1
  444. package/dist/esm/funcs/webhooksUpdatesTheWebhookEndpointWithTheGivenId.d.ts +18 -0
  445. package/dist/esm/funcs/webhooksUpdatesTheWebhookEndpointWithTheGivenId.d.ts.map +1 -0
  446. package/dist/esm/funcs/webhooksUpdatesTheWebhookEndpointWithTheGivenId.js +87 -0
  447. package/dist/esm/funcs/webhooksUpdatesTheWebhookEndpointWithTheGivenId.js.map +1 -0
  448. package/dist/esm/funcs/zonesSecurityZoneCheckin.d.ts +2 -3
  449. package/dist/esm/funcs/zonesSecurityZoneCheckin.d.ts.map +1 -1
  450. package/dist/esm/funcs/zonesSecurityZoneCheckin.js +2 -3
  451. package/dist/esm/funcs/zonesSecurityZoneCheckin.js.map +1 -1
  452. package/dist/esm/lib/config.d.ts +3 -3
  453. package/dist/esm/lib/config.js +3 -3
  454. package/dist/esm/lib/config.js.map +1 -1
  455. package/dist/esm/mcp-server/mcp-server.js +1 -1
  456. package/dist/esm/mcp-server/server.d.ts.map +1 -1
  457. package/dist/esm/mcp-server/server.js +7 -3
  458. package/dist/esm/mcp-server/server.js.map +1 -1
  459. package/dist/esm/mcp-server/tools/usersPostAuthenticate.d.ts +8 -0
  460. package/dist/esm/mcp-server/tools/usersPostAuthenticate.d.ts.map +1 -0
  461. package/dist/esm/mcp-server/tools/{usersLogsUserIntoTheSystem.js → usersPostAuthenticate.js} +6 -6
  462. package/dist/esm/mcp-server/tools/usersPostAuthenticate.js.map +1 -0
  463. package/dist/esm/mcp-server/tools/vendorsGetVendorCredentialDetails.d.ts +8 -0
  464. package/dist/esm/mcp-server/tools/vendorsGetVendorCredentialDetails.d.ts.map +1 -0
  465. package/dist/esm/mcp-server/tools/vendorsGetVendorCredentialDetails.js +45 -0
  466. package/dist/esm/mcp-server/tools/vendorsGetVendorCredentialDetails.js.map +1 -0
  467. package/dist/esm/mcp-server/tools/webhooksUpdatesTheWebhookEndpointWithTheGivenId.d.ts +8 -0
  468. package/dist/esm/mcp-server/tools/webhooksUpdatesTheWebhookEndpointWithTheGivenId.d.ts.map +1 -0
  469. package/dist/esm/mcp-server/tools/webhooksUpdatesTheWebhookEndpointWithTheGivenId.js +28 -0
  470. package/dist/esm/mcp-server/tools/webhooksUpdatesTheWebhookEndpointWithTheGivenId.js.map +1 -0
  471. package/dist/esm/mcp-server/tools/zonesSecurityZoneCheckin.js +1 -1
  472. package/dist/esm/mcp-server/tools/zonesSecurityZoneCheckin.js.map +1 -1
  473. package/dist/esm/models/components/backgroundcheckresult.d.ts +186 -0
  474. package/dist/esm/models/components/backgroundcheckresult.d.ts.map +1 -0
  475. package/dist/esm/models/components/backgroundcheckresult.js +197 -0
  476. package/dist/esm/models/components/backgroundcheckresult.js.map +1 -0
  477. package/dist/esm/models/components/credential.d.ts +156 -0
  478. package/dist/esm/models/components/credential.d.ts.map +1 -0
  479. package/dist/esm/models/components/credential.js +148 -0
  480. package/dist/esm/models/components/credential.js.map +1 -0
  481. package/dist/esm/models/components/credentialdocument.d.ts +95 -0
  482. package/dist/esm/models/components/credentialdocument.d.ts.map +1 -0
  483. package/dist/esm/models/components/credentialdocument.js +110 -0
  484. package/dist/esm/models/components/credentialdocument.js.map +1 -0
  485. package/dist/esm/models/components/datarequest.d.ts +138 -0
  486. package/dist/esm/models/components/datarequest.d.ts.map +1 -0
  487. package/dist/esm/models/components/datarequest.js +161 -0
  488. package/dist/esm/models/components/datarequest.js.map +1 -0
  489. package/dist/esm/models/components/expand.d.ts +45 -0
  490. package/dist/esm/models/components/expand.d.ts.map +1 -1
  491. package/dist/esm/models/components/expand.js +15 -0
  492. package/dist/esm/models/components/expand.js.map +1 -1
  493. package/dist/esm/models/components/facility.d.ts +10 -10
  494. package/dist/esm/models/components/facility.d.ts.map +1 -1
  495. package/dist/esm/models/components/facility.js +10 -10
  496. package/dist/esm/models/components/facility.js.map +1 -1
  497. package/dist/esm/models/components/index.d.ts +9 -0
  498. package/dist/esm/models/components/index.d.ts.map +1 -1
  499. package/dist/esm/models/components/index.js +9 -0
  500. package/dist/esm/models/components/index.js.map +1 -1
  501. package/dist/esm/models/components/invoice.d.ts +2 -2
  502. package/dist/esm/models/components/invoice.js +2 -2
  503. package/dist/esm/models/components/invoiceitem.d.ts +52 -4
  504. package/dist/esm/models/components/invoiceitem.d.ts.map +1 -1
  505. package/dist/esm/models/components/invoiceitem.js +55 -8
  506. package/dist/esm/models/components/invoiceitem.js.map +1 -1
  507. package/dist/esm/models/components/product.d.ts +36 -0
  508. package/dist/esm/models/components/product.d.ts.map +1 -0
  509. package/dist/esm/models/components/product.js +35 -0
  510. package/dist/esm/models/components/product.js.map +1 -0
  511. package/dist/esm/models/components/screeningresponse.d.ts +52 -0
  512. package/dist/esm/models/components/screeningresponse.d.ts.map +1 -0
  513. package/dist/esm/models/components/screeningresponse.js +78 -0
  514. package/dist/esm/models/components/screeningresponse.js.map +1 -0
  515. package/dist/esm/models/components/user.d.ts +2 -2
  516. package/dist/esm/models/components/user.d.ts.map +1 -1
  517. package/dist/esm/models/components/user.js +2 -2
  518. package/dist/esm/models/components/user.js.map +1 -1
  519. package/dist/esm/models/components/vendor.d.ts +48 -6
  520. package/dist/esm/models/components/vendor.d.ts.map +1 -1
  521. package/dist/esm/models/components/vendor.js +64 -6
  522. package/dist/esm/models/components/vendor.js.map +1 -1
  523. package/dist/esm/models/components/vendorcredentialdatarequest.d.ts +148 -0
  524. package/dist/esm/models/components/vendorcredentialdatarequest.d.ts.map +1 -0
  525. package/dist/esm/models/components/vendorcredentialdatarequest.js +184 -0
  526. package/dist/esm/models/components/vendorcredentialdatarequest.js.map +1 -0
  527. package/dist/esm/models/components/vendorcredentialfile.d.ts +125 -0
  528. package/dist/esm/models/components/vendorcredentialfile.d.ts.map +1 -0
  529. package/dist/esm/models/components/vendorcredentialfile.js +167 -0
  530. package/dist/esm/models/components/vendorcredentialfile.js.map +1 -0
  531. package/dist/esm/models/components/vendorcredentialsummary.d.ts +172 -0
  532. package/dist/esm/models/components/vendorcredentialsummary.d.ts.map +1 -1
  533. package/dist/esm/models/components/vendorcredentialsummary.js +227 -0
  534. package/dist/esm/models/components/vendorcredentialsummary.js.map +1 -1
  535. package/dist/esm/models/components/vendorscan.d.ts +80 -0
  536. package/dist/esm/models/components/vendorscan.d.ts.map +1 -0
  537. package/dist/esm/models/components/vendorscan.js +104 -0
  538. package/dist/esm/models/components/vendorscan.js.map +1 -0
  539. package/dist/esm/models/operations/addvendormanagedbycompany.d.ts +13 -13
  540. package/dist/esm/models/operations/addvendormanagedbycompany.d.ts.map +1 -1
  541. package/dist/esm/models/operations/addvendormanagedbycompany.js +13 -13
  542. package/dist/esm/models/operations/addvendormanagedbycompany.js.map +1 -1
  543. package/dist/esm/models/operations/changepassword.d.ts +13 -13
  544. package/dist/esm/models/operations/changepassword.d.ts.map +1 -1
  545. package/dist/esm/models/operations/changepassword.js +13 -13
  546. package/dist/esm/models/operations/changepassword.js.map +1 -1
  547. package/dist/esm/models/operations/deletevendormanagedbycompany.d.ts +13 -13
  548. package/dist/esm/models/operations/deletevendormanagedbycompany.d.ts.map +1 -1
  549. package/dist/esm/models/operations/deletevendormanagedbycompany.js +15 -13
  550. package/dist/esm/models/operations/deletevendormanagedbycompany.js.map +1 -1
  551. package/dist/esm/models/operations/expeditetimeremaining.d.ts +13 -13
  552. package/dist/esm/models/operations/expeditetimeremaining.d.ts.map +1 -1
  553. package/dist/esm/models/operations/expeditetimeremaining.js +13 -13
  554. package/dist/esm/models/operations/expeditetimeremaining.js.map +1 -1
  555. package/dist/esm/models/operations/getvendorcredentialdetails.d.ts +74 -0
  556. package/dist/esm/models/operations/getvendorcredentialdetails.d.ts.map +1 -0
  557. package/dist/esm/models/operations/getvendorcredentialdetails.js +78 -0
  558. package/dist/esm/models/operations/getvendorcredentialdetails.js.map +1 -0
  559. package/dist/esm/models/operations/index.d.ts +3 -1
  560. package/dist/esm/models/operations/index.d.ts.map +1 -1
  561. package/dist/esm/models/operations/index.js +3 -1
  562. package/dist/esm/models/operations/index.js.map +1 -1
  563. package/dist/esm/models/operations/listallwebhookendpoints.d.ts +13 -13
  564. package/dist/esm/models/operations/listallwebhookendpoints.d.ts.map +1 -1
  565. package/dist/esm/models/operations/listallwebhookendpoints.js +13 -13
  566. package/dist/esm/models/operations/listallwebhookendpoints.js.map +1 -1
  567. package/dist/esm/models/operations/listvendoradditionalfacilityfields.d.ts +15 -15
  568. package/dist/esm/models/operations/listvendoradditionalfacilityfields.d.ts.map +1 -1
  569. package/dist/esm/models/operations/listvendoradditionalfacilityfields.js +17 -15
  570. package/dist/esm/models/operations/listvendoradditionalfacilityfields.js.map +1 -1
  571. package/dist/esm/models/operations/listvendorcredentials.d.ts +25 -25
  572. package/dist/esm/models/operations/listvendorcredentials.d.ts.map +1 -1
  573. package/dist/esm/models/operations/listvendorcredentials.js +23 -23
  574. package/dist/esm/models/operations/listvendorcredentials.js.map +1 -1
  575. package/dist/esm/models/operations/listvendorcredits.d.ts +15 -15
  576. package/dist/esm/models/operations/listvendorcredits.d.ts.map +1 -1
  577. package/dist/esm/models/operations/listvendorcredits.js +15 -15
  578. package/dist/esm/models/operations/listvendorcredits.js.map +1 -1
  579. package/dist/esm/models/operations/listvendorfacilitystatuses.d.ts +15 -15
  580. package/dist/esm/models/operations/listvendorfacilitystatuses.d.ts.map +1 -1
  581. package/dist/esm/models/operations/listvendorfacilitystatuses.js +16 -15
  582. package/dist/esm/models/operations/listvendorfacilitystatuses.js.map +1 -1
  583. package/dist/esm/models/operations/listvendorinvoices.d.ts +17 -17
  584. package/dist/esm/models/operations/listvendorinvoices.d.ts.map +1 -1
  585. package/dist/esm/models/operations/listvendorinvoices.js +17 -17
  586. package/dist/esm/models/operations/listvendorinvoices.js.map +1 -1
  587. package/dist/esm/models/operations/listvendormanagedbycompanies.d.ts +15 -15
  588. package/dist/esm/models/operations/listvendormanagedbycompanies.d.ts.map +1 -1
  589. package/dist/esm/models/operations/listvendormanagedbycompanies.js +17 -15
  590. package/dist/esm/models/operations/listvendormanagedbycompanies.js.map +1 -1
  591. package/dist/esm/models/operations/listvendorscrubpackages.d.ts +2 -2
  592. package/dist/esm/models/operations/listvendorscrubpackages.d.ts.map +1 -1
  593. package/dist/esm/models/operations/listvendorscrubpackages.js +2 -2
  594. package/dist/esm/models/operations/listvendorscrubpackages.js.map +1 -1
  595. package/dist/esm/models/operations/listvendorscrubpurchases.d.ts +15 -15
  596. package/dist/esm/models/operations/listvendorscrubpurchases.d.ts.map +1 -1
  597. package/dist/esm/models/operations/listvendorscrubpurchases.js +15 -15
  598. package/dist/esm/models/operations/listvendorscrubpurchases.js.map +1 -1
  599. package/dist/esm/models/operations/postauthenticate.d.ts +98 -0
  600. package/dist/esm/models/operations/postauthenticate.d.ts.map +1 -0
  601. package/dist/esm/models/operations/postauthenticate.js +122 -0
  602. package/dist/esm/models/operations/postauthenticate.js.map +1 -0
  603. package/dist/esm/models/operations/securityzonecheckin.d.ts +190 -4
  604. package/dist/esm/models/operations/securityzonecheckin.d.ts.map +1 -1
  605. package/dist/esm/models/operations/securityzonecheckin.js +239 -0
  606. package/dist/esm/models/operations/securityzonecheckin.js.map +1 -1
  607. package/dist/esm/models/operations/updatesthewebhookendpointwiththegivenid.d.ts +35 -0
  608. package/dist/esm/models/operations/updatesthewebhookendpointwiththegivenid.d.ts.map +1 -0
  609. package/dist/esm/models/operations/updatesthewebhookendpointwiththegivenid.js +43 -0
  610. package/dist/esm/models/operations/updatesthewebhookendpointwiththegivenid.js.map +1 -0
  611. package/dist/esm/models/operations/updatevendormanagedbycompany.d.ts +13 -13
  612. package/dist/esm/models/operations/updatevendormanagedbycompany.d.ts.map +1 -1
  613. package/dist/esm/models/operations/updatevendormanagedbycompany.js +15 -13
  614. package/dist/esm/models/operations/updatevendormanagedbycompany.js.map +1 -1
  615. package/dist/esm/models/operations/vendorscanout.d.ts +13 -13
  616. package/dist/esm/models/operations/vendorscanout.d.ts.map +1 -1
  617. package/dist/esm/models/operations/vendorscanout.js +13 -13
  618. package/dist/esm/models/operations/vendorscanout.js.map +1 -1
  619. package/dist/esm/react-query/index.d.ts +3 -1
  620. package/dist/esm/react-query/index.d.ts.map +1 -1
  621. package/dist/esm/react-query/index.js +3 -1
  622. package/dist/esm/react-query/index.js.map +1 -1
  623. package/dist/esm/react-query/usersChangePassword.d.ts +1 -1
  624. package/dist/esm/react-query/usersChangePassword.d.ts.map +1 -1
  625. package/dist/{commonjs/react-query/usersLogsUserIntoTheSystem.d.ts → esm/react-query/usersPostAuthenticate.d.ts} +8 -8
  626. package/dist/esm/react-query/usersPostAuthenticate.d.ts.map +1 -0
  627. package/dist/esm/react-query/{usersLogsUserIntoTheSystem.js → usersPostAuthenticate.js} +10 -10
  628. package/dist/esm/react-query/usersPostAuthenticate.js.map +1 -0
  629. package/dist/esm/react-query/vendorScansVendorScanOut.d.ts +1 -1
  630. package/dist/esm/react-query/vendorScansVendorScanOut.d.ts.map +1 -1
  631. package/dist/esm/react-query/vendorsAddVendorManagedByCompany.d.ts +1 -1
  632. package/dist/esm/react-query/vendorsAddVendorManagedByCompany.d.ts.map +1 -1
  633. package/dist/esm/react-query/vendorsDeleteVendorManagedByCompany.d.ts +1 -1
  634. package/dist/esm/react-query/vendorsDeleteVendorManagedByCompany.d.ts.map +1 -1
  635. package/dist/esm/react-query/vendorsExpediteTimeRemaining.d.ts +1 -1
  636. package/dist/esm/react-query/vendorsExpediteTimeRemaining.d.ts.map +1 -1
  637. package/dist/esm/react-query/vendorsGetVendorCredentialDetails.d.ts +79 -0
  638. package/dist/esm/react-query/vendorsGetVendorCredentialDetails.d.ts.map +1 -0
  639. package/dist/esm/react-query/vendorsGetVendorCredentialDetails.js +122 -0
  640. package/dist/esm/react-query/vendorsGetVendorCredentialDetails.js.map +1 -0
  641. package/dist/esm/react-query/vendorsUpdateVendorManagedByCompany.d.ts +1 -1
  642. package/dist/esm/react-query/vendorsUpdateVendorManagedByCompany.d.ts.map +1 -1
  643. package/dist/esm/react-query/webhooksListAllWebhookEndpoints.d.ts +1 -1
  644. package/dist/esm/react-query/webhooksListAllWebhookEndpoints.d.ts.map +1 -1
  645. package/dist/esm/react-query/webhooksUpdatesTheWebhookEndpointWithTheGivenId.d.ts +24 -0
  646. package/dist/esm/react-query/webhooksUpdatesTheWebhookEndpointWithTheGivenId.d.ts.map +1 -0
  647. package/dist/esm/react-query/webhooksUpdatesTheWebhookEndpointWithTheGivenId.js +46 -0
  648. package/dist/esm/react-query/webhooksUpdatesTheWebhookEndpointWithTheGivenId.js.map +1 -0
  649. package/dist/esm/react-query/zonesSecurityZoneCheckin.d.ts +2 -3
  650. package/dist/esm/react-query/zonesSecurityZoneCheckin.d.ts.map +1 -1
  651. package/dist/esm/react-query/zonesSecurityZoneCheckin.js +1 -1
  652. package/dist/esm/react-query/zonesSecurityZoneCheckin.js.map +1 -1
  653. package/dist/esm/sdk/users.d.ts +2 -2
  654. package/dist/esm/sdk/users.d.ts.map +1 -1
  655. package/dist/esm/sdk/users.js +3 -3
  656. package/dist/esm/sdk/users.js.map +1 -1
  657. package/dist/esm/sdk/vendors.d.ts +28 -4
  658. package/dist/esm/sdk/vendors.d.ts.map +1 -1
  659. package/dist/esm/sdk/vendors.js +27 -0
  660. package/dist/esm/sdk/vendors.js.map +1 -1
  661. package/dist/esm/sdk/vendorscans.d.ts +1 -1
  662. package/dist/esm/sdk/vendorscans.d.ts.map +1 -1
  663. package/dist/esm/sdk/webhooks.d.ts +8 -1
  664. package/dist/esm/sdk/webhooks.d.ts.map +1 -1
  665. package/dist/esm/sdk/webhooks.js +10 -0
  666. package/dist/esm/sdk/webhooks.js.map +1 -1
  667. package/dist/esm/sdk/zones.d.ts +2 -3
  668. package/dist/esm/sdk/zones.d.ts.map +1 -1
  669. package/dist/esm/sdk/zones.js +1 -1
  670. package/dist/esm/sdk/zones.js.map +1 -1
  671. package/jsr.json +1 -1
  672. package/package.json +1 -1
  673. package/src/__tests__/vendormanagedbycompanies.test.ts +1 -1
  674. package/src/__tests__/vendors.test.ts +43 -2
  675. package/src/__tests__/webhooks.test.ts +50 -1
  676. package/src/__tests__/zones.test.ts +5 -87
  677. package/src/funcs/organizationsGetFacility.ts +2 -2
  678. package/src/funcs/organizationsListOrSearchFacilities.ts +2 -2
  679. package/src/funcs/supportArticlesGetSupportArticle.ts +6 -2
  680. package/src/funcs/supportArticlesListOrSearchSupportArticles.ts +12 -1
  681. package/src/funcs/usersChangePassword.ts +4 -4
  682. package/src/funcs/usersGetCurrentUser.ts +5 -1
  683. package/src/funcs/usersGetUserById.ts +5 -1
  684. package/src/funcs/usersMagiclink.ts +5 -1
  685. package/src/funcs/usersPassword.ts +6 -2
  686. package/src/funcs/usersPasswordResetRequest.ts +6 -2
  687. package/src/funcs/{usersLogsUserIntoTheSystem.ts → usersPostAuthenticate.ts} +16 -12
  688. package/src/funcs/vendorScansVendorScanOut.ts +4 -4
  689. package/src/funcs/vendorsAddVendorManagedByCompany.ts +8 -4
  690. package/src/funcs/vendorsDeleteVendorManagedByCompany.ts +5 -4
  691. package/src/funcs/vendorsExpediteTimeRemaining.ts +13 -6
  692. package/src/funcs/vendorsGetVendorCredentialDetails.ts +204 -0
  693. package/src/funcs/vendorsGetVendorInvoiceDetails.ts +6 -2
  694. package/src/funcs/vendorsGetVendorsDetails.ts +2 -2
  695. package/src/funcs/vendorsListVendorAdditionalFacilityFields.ts +2 -2
  696. package/src/funcs/vendorsListVendorCredentials.ts +12 -1
  697. package/src/funcs/vendorsListVendorCredits.ts +2 -2
  698. package/src/funcs/vendorsListVendorFacilityStatuses.ts +2 -2
  699. package/src/funcs/vendorsListVendorInvoices.ts +7 -2
  700. package/src/funcs/vendorsListVendorManagedByCompanies.ts +2 -2
  701. package/src/funcs/vendorsListVendorScrubDetails.ts +6 -2
  702. package/src/funcs/vendorsListVendorScrubPurchases.ts +7 -2
  703. package/src/funcs/vendorsUpdateVendorManagedByCompany.ts +5 -4
  704. package/src/funcs/webhooksGetWebhookEndpoint.ts +2 -2
  705. package/src/funcs/webhooksListAllWebhookEndpoints.ts +7 -4
  706. package/src/funcs/webhooksUpdatesTheWebhookEndpointWithTheGivenId.ts +176 -0
  707. package/src/funcs/zonesSecurityZoneCheckin.ts +5 -6
  708. package/src/lib/config.ts +3 -3
  709. package/src/mcp-server/mcp-server.ts +1 -1
  710. package/src/mcp-server/server.ts +7 -3
  711. package/src/mcp-server/tools/{usersLogsUserIntoTheSystem.ts → usersPostAuthenticate.ts} +5 -5
  712. package/src/mcp-server/tools/vendorsGetVendorCredentialDetails.ts +56 -0
  713. package/src/mcp-server/tools/webhooksUpdatesTheWebhookEndpointWithTheGivenId.ts +40 -0
  714. package/src/mcp-server/tools/zonesSecurityZoneCheckin.ts +1 -1
  715. package/src/models/components/backgroundcheckresult.ts +378 -0
  716. package/src/models/components/credential.ts +239 -0
  717. package/src/models/components/credentialdocument.ts +231 -0
  718. package/src/models/components/datarequest.ts +274 -0
  719. package/src/models/components/expand.ts +22 -0
  720. package/src/models/components/facility.ts +20 -20
  721. package/src/models/components/index.ts +9 -0
  722. package/src/models/components/invoice.ts +4 -4
  723. package/src/models/components/invoiceitem.ts +126 -12
  724. package/src/models/components/product.ts +70 -0
  725. package/src/models/components/screeningresponse.ts +136 -0
  726. package/src/models/components/user.ts +4 -4
  727. package/src/models/components/vendor.ts +115 -9
  728. package/src/models/components/vendorcredentialdatarequest.ts +397 -0
  729. package/src/models/components/vendorcredentialfile.ts +354 -0
  730. package/src/models/components/vendorcredentialsummary.ts +501 -0
  731. package/src/models/components/vendorscan.ts +198 -0
  732. package/src/models/operations/addvendormanagedbycompany.ts +40 -31
  733. package/src/models/operations/changepassword.ts +23 -21
  734. package/src/models/operations/deletevendormanagedbycompany.ts +39 -37
  735. package/src/models/operations/expeditetimeremaining.ts +48 -37
  736. package/src/models/operations/getvendorcredentialdetails.ts +181 -0
  737. package/src/models/operations/index.ts +3 -1
  738. package/src/models/operations/listallwebhookendpoints.ts +42 -33
  739. package/src/models/operations/listvendoradditionalfacilityfields.ts +43 -39
  740. package/src/models/operations/listvendorcredentials.ts +46 -50
  741. package/src/models/operations/listvendorcredits.ts +29 -26
  742. package/src/models/operations/listvendorfacilitystatuses.ts +49 -38
  743. package/src/models/operations/listvendorinvoices.ts +34 -30
  744. package/src/models/operations/listvendormanagedbycompanies.ts +52 -44
  745. package/src/models/operations/listvendorscrubpackages.ts +4 -4
  746. package/src/models/operations/listvendorscrubpurchases.ts +50 -37
  747. package/src/models/operations/{logsuserintothesystem.ts → postauthenticate.ts} +65 -68
  748. package/src/models/operations/securityzonecheckin.ts +428 -4
  749. package/src/models/operations/updatesthewebhookendpointwiththegivenid.ts +97 -0
  750. package/src/models/operations/updatevendormanagedbycompany.ts +39 -37
  751. package/src/models/operations/vendorscanout.ts +23 -21
  752. package/src/react-query/index.ts +3 -1
  753. package/src/react-query/usersChangePassword.ts +1 -1
  754. package/src/react-query/{usersLogsUserIntoTheSystem.ts → usersPostAuthenticate.ts} +20 -20
  755. package/src/react-query/vendorScansVendorScanOut.ts +1 -1
  756. package/src/react-query/vendorsAddVendorManagedByCompany.ts +1 -1
  757. package/src/react-query/vendorsDeleteVendorManagedByCompany.ts +1 -1
  758. package/src/react-query/vendorsExpediteTimeRemaining.ts +1 -1
  759. package/src/react-query/vendorsGetVendorCredentialDetails.ts +223 -0
  760. package/src/react-query/vendorsUpdateVendorManagedByCompany.ts +1 -1
  761. package/src/react-query/webhooksListAllWebhookEndpoints.ts +1 -1
  762. package/src/react-query/webhooksUpdatesTheWebhookEndpointWithTheGivenId.ts +98 -0
  763. package/src/react-query/zonesSecurityZoneCheckin.ts +3 -3
  764. package/src/sdk/users.ts +6 -6
  765. package/src/sdk/vendors.ts +43 -4
  766. package/src/sdk/vendorscans.ts +1 -1
  767. package/src/sdk/webhooks.ts +19 -1
  768. package/src/sdk/zones.ts +2 -3
  769. package/dist/commonjs/funcs/usersLogsUserIntoTheSystem.d.ts.map +0 -1
  770. package/dist/commonjs/funcs/usersLogsUserIntoTheSystem.js.map +0 -1
  771. package/dist/commonjs/mcp-server/tools/usersLogsUserIntoTheSystem.d.ts +0 -8
  772. package/dist/commonjs/mcp-server/tools/usersLogsUserIntoTheSystem.d.ts.map +0 -1
  773. package/dist/commonjs/mcp-server/tools/usersLogsUserIntoTheSystem.js.map +0 -1
  774. package/dist/commonjs/models/operations/logsuserintothesystem.d.ts +0 -98
  775. package/dist/commonjs/models/operations/logsuserintothesystem.d.ts.map +0 -1
  776. package/dist/commonjs/models/operations/logsuserintothesystem.js.map +0 -1
  777. package/dist/commonjs/react-query/usersLogsUserIntoTheSystem.d.ts.map +0 -1
  778. package/dist/commonjs/react-query/usersLogsUserIntoTheSystem.js.map +0 -1
  779. package/dist/esm/funcs/usersLogsUserIntoTheSystem.d.ts.map +0 -1
  780. package/dist/esm/funcs/usersLogsUserIntoTheSystem.js.map +0 -1
  781. package/dist/esm/mcp-server/tools/usersLogsUserIntoTheSystem.d.ts +0 -8
  782. package/dist/esm/mcp-server/tools/usersLogsUserIntoTheSystem.d.ts.map +0 -1
  783. package/dist/esm/mcp-server/tools/usersLogsUserIntoTheSystem.js.map +0 -1
  784. package/dist/esm/models/operations/logsuserintothesystem.d.ts +0 -98
  785. package/dist/esm/models/operations/logsuserintothesystem.d.ts.map +0 -1
  786. package/dist/esm/models/operations/logsuserintothesystem.js +0 -122
  787. package/dist/esm/models/operations/logsuserintothesystem.js.map +0 -1
  788. package/dist/esm/react-query/usersLogsUserIntoTheSystem.d.ts.map +0 -1
  789. package/dist/esm/react-query/usersLogsUserIntoTheSystem.js.map +0 -1
package/bin/mcp-server.js CHANGED
@@ -34192,9 +34192,9 @@ var init_config = __esm(() => {
34192
34192
  SDK_METADATA = {
34193
34193
  language: "typescript",
34194
34194
  openapiDocVersion: "0.0.3",
34195
- sdkVersion: "0.30.44",
34196
- genVersion: "2.598.21",
34197
- userAgent: "speakeasy-sdk/typescript 0.30.44 2.598.21 0.0.3 @greensecurity/javascript-sdk"
34195
+ sdkVersion: "0.30.48",
34196
+ genVersion: "2.604.4",
34197
+ userAgent: "speakeasy-sdk/typescript 0.30.48 2.604.4 0.0.3 @greensecurity/javascript-sdk"
34198
34198
  };
34199
34199
  });
34200
34200
 
@@ -35632,7 +35632,7 @@ var init_errors = __esm(() => {
35632
35632
  });
35633
35633
 
35634
35634
  // src/models/operations/addvendormanagedbycompany.ts
35635
- var AddVendorManagedByCompanyRequestBody$inboundSchema, AddVendorManagedByCompanyRequestBody$outboundSchema, AddVendorManagedByCompanyRequestBody$, AddVendorManagedByCompanyRequest$inboundSchema, AddVendorManagedByCompanyRequest$outboundSchema, AddVendorManagedByCompanyRequest$, AddVendorManagedByCompanyResponseBody$inboundSchema, AddVendorManagedByCompanyResponseBody$outboundSchema, AddVendorManagedByCompanyResponseBody$;
35635
+ var AddVendorManagedByCompanyRequestBody$inboundSchema, AddVendorManagedByCompanyRequestBody$outboundSchema, AddVendorManagedByCompanyRequestBody$, AddVendorManagedByCompanyRequest$inboundSchema, AddVendorManagedByCompanyRequest$outboundSchema, AddVendorManagedByCompanyRequest$, AddVendorManagedByCompanyAddVendorManagedByCompanyOk$inboundSchema, AddVendorManagedByCompanyAddVendorManagedByCompanyOk$outboundSchema, AddVendorManagedByCompanyAddVendorManagedByCompanyOk$;
35636
35636
  var init_addvendormanagedbycompany = __esm(() => {
35637
35637
  init_lib();
35638
35638
  init_primitives();
@@ -35676,20 +35676,20 @@ var init_addvendormanagedbycompany = __esm(() => {
35676
35676
  AddVendorManagedByCompanyRequest$.inboundSchema = AddVendorManagedByCompanyRequest$inboundSchema;
35677
35677
  AddVendorManagedByCompanyRequest$.outboundSchema = AddVendorManagedByCompanyRequest$outboundSchema;
35678
35678
  })(AddVendorManagedByCompanyRequest$ ||= {});
35679
- AddVendorManagedByCompanyResponseBody$inboundSchema = objectType({
35679
+ AddVendorManagedByCompanyAddVendorManagedByCompanyOk$inboundSchema = objectType({
35680
35680
  success: booleanType()
35681
35681
  });
35682
- AddVendorManagedByCompanyResponseBody$outboundSchema = objectType({
35682
+ AddVendorManagedByCompanyAddVendorManagedByCompanyOk$outboundSchema = objectType({
35683
35683
  success: booleanType()
35684
35684
  });
35685
- ((AddVendorManagedByCompanyResponseBody$) => {
35686
- AddVendorManagedByCompanyResponseBody$.inboundSchema = AddVendorManagedByCompanyResponseBody$inboundSchema;
35687
- AddVendorManagedByCompanyResponseBody$.outboundSchema = AddVendorManagedByCompanyResponseBody$outboundSchema;
35688
- })(AddVendorManagedByCompanyResponseBody$ ||= {});
35685
+ ((AddVendorManagedByCompanyAddVendorManagedByCompanyOk$) => {
35686
+ AddVendorManagedByCompanyAddVendorManagedByCompanyOk$.inboundSchema = AddVendorManagedByCompanyAddVendorManagedByCompanyOk$inboundSchema;
35687
+ AddVendorManagedByCompanyAddVendorManagedByCompanyOk$.outboundSchema = AddVendorManagedByCompanyAddVendorManagedByCompanyOk$outboundSchema;
35688
+ })(AddVendorManagedByCompanyAddVendorManagedByCompanyOk$ ||= {});
35689
35689
  });
35690
35690
 
35691
35691
  // src/models/operations/changepassword.ts
35692
- var ChangePasswordRequestBody$inboundSchema, ChangePasswordRequestBody$outboundSchema, ChangePasswordRequestBody$, ChangePasswordRequest$inboundSchema, ChangePasswordRequest$outboundSchema, ChangePasswordRequest$, ChangePasswordResponseBody$inboundSchema, ChangePasswordResponseBody$outboundSchema, ChangePasswordResponseBody$;
35692
+ var ChangePasswordRequestBody$inboundSchema, ChangePasswordRequestBody$outboundSchema, ChangePasswordRequestBody$, ChangePasswordRequest$inboundSchema, ChangePasswordRequest$outboundSchema, ChangePasswordRequest$, ChangePasswordChangePasswordOk$inboundSchema, ChangePasswordChangePasswordOk$outboundSchema, ChangePasswordChangePasswordOk$;
35693
35693
  var init_changepassword = __esm(() => {
35694
35694
  init_lib();
35695
35695
  init_primitives();
@@ -35737,16 +35737,16 @@ var init_changepassword = __esm(() => {
35737
35737
  ChangePasswordRequest$.inboundSchema = ChangePasswordRequest$inboundSchema;
35738
35738
  ChangePasswordRequest$.outboundSchema = ChangePasswordRequest$outboundSchema;
35739
35739
  })(ChangePasswordRequest$ ||= {});
35740
- ChangePasswordResponseBody$inboundSchema = objectType({
35740
+ ChangePasswordChangePasswordOk$inboundSchema = objectType({
35741
35741
  success: booleanType()
35742
35742
  });
35743
- ChangePasswordResponseBody$outboundSchema = objectType({
35743
+ ChangePasswordChangePasswordOk$outboundSchema = objectType({
35744
35744
  success: booleanType()
35745
35745
  });
35746
- ((ChangePasswordResponseBody$) => {
35747
- ChangePasswordResponseBody$.inboundSchema = ChangePasswordResponseBody$inboundSchema;
35748
- ChangePasswordResponseBody$.outboundSchema = ChangePasswordResponseBody$outboundSchema;
35749
- })(ChangePasswordResponseBody$ ||= {});
35746
+ ((ChangePasswordChangePasswordOk$) => {
35747
+ ChangePasswordChangePasswordOk$.inboundSchema = ChangePasswordChangePasswordOk$inboundSchema;
35748
+ ChangePasswordChangePasswordOk$.outboundSchema = ChangePasswordChangePasswordOk$outboundSchema;
35749
+ })(ChangePasswordChangePasswordOk$ ||= {});
35750
35750
  });
35751
35751
 
35752
35752
  // src/models/components/activestatus.ts
@@ -35766,6 +35766,330 @@ var init_activestatus = __esm(() => {
35766
35766
  })(ActiveStatus$ ||= {});
35767
35767
  });
35768
35768
 
35769
+ // src/models/components/product.ts
35770
+ var Product$inboundSchema, Product$outboundSchema, Product$;
35771
+ var init_product = __esm(() => {
35772
+ init_lib();
35773
+ Product$inboundSchema = objectType({
35774
+ id: numberType().int().optional(),
35775
+ title: nullableType(stringType()).optional(),
35776
+ description: nullableType(stringType()).optional()
35777
+ });
35778
+ Product$outboundSchema = objectType({
35779
+ id: numberType().int().optional(),
35780
+ title: nullableType(stringType()).optional(),
35781
+ description: nullableType(stringType()).optional()
35782
+ });
35783
+ ((Product$) => {
35784
+ Product$.inboundSchema = Product$inboundSchema;
35785
+ Product$.outboundSchema = Product$outboundSchema;
35786
+ })(Product$ ||= {});
35787
+ });
35788
+
35789
+ // src/models/components/productvariant.ts
35790
+ var ProductVariant$inboundSchema, ProductVariant$outboundSchema, ProductVariant$;
35791
+ var init_productvariant = __esm(() => {
35792
+ init_lib();
35793
+ ProductVariant$inboundSchema = objectType({
35794
+ id: numberType().int().optional(),
35795
+ amount: numberType().int().optional(),
35796
+ total: numberType().int().optional()
35797
+ });
35798
+ ProductVariant$outboundSchema = objectType({
35799
+ id: numberType().int().optional(),
35800
+ amount: numberType().int().optional(),
35801
+ total: numberType().int().optional()
35802
+ });
35803
+ ((ProductVariant$) => {
35804
+ ProductVariant$.inboundSchema = ProductVariant$inboundSchema;
35805
+ ProductVariant$.outboundSchema = ProductVariant$outboundSchema;
35806
+ })(ProductVariant$ ||= {});
35807
+ });
35808
+
35809
+ // src/models/components/invoiceitem.ts
35810
+ var Variant$inboundSchema, Variant$outboundSchema, Variant$, InvoiceItemProduct$inboundSchema, InvoiceItemProduct$outboundSchema, InvoiceItemProduct$, InvoiceItem$inboundSchema, InvoiceItem$outboundSchema, InvoiceItem$;
35811
+ var init_invoiceitem = __esm(() => {
35812
+ init_lib();
35813
+ init_primitives();
35814
+ init_product();
35815
+ init_productvariant();
35816
+ Variant$inboundSchema = unionType([ProductVariant$inboundSchema, numberType().int()]);
35817
+ Variant$outboundSchema = unionType([ProductVariant$outboundSchema, numberType().int()]);
35818
+ ((Variant$) => {
35819
+ Variant$.inboundSchema = Variant$inboundSchema;
35820
+ Variant$.outboundSchema = Variant$outboundSchema;
35821
+ })(Variant$ ||= {});
35822
+ InvoiceItemProduct$inboundSchema = unionType([Product$inboundSchema, numberType().int()]);
35823
+ InvoiceItemProduct$outboundSchema = unionType([Product$outboundSchema, numberType().int()]);
35824
+ ((InvoiceItemProduct$) => {
35825
+ InvoiceItemProduct$.inboundSchema = InvoiceItemProduct$inboundSchema;
35826
+ InvoiceItemProduct$.outboundSchema = InvoiceItemProduct$outboundSchema;
35827
+ })(InvoiceItemProduct$ ||= {});
35828
+ InvoiceItem$inboundSchema = objectType({
35829
+ id: numberType().int().optional(),
35830
+ date_starts: nullableType(stringType()).optional(),
35831
+ date_ends: nullableType(stringType()).optional(),
35832
+ is_subscription: nullableType(booleanType()).optional(),
35833
+ product_title: nullableType(stringType()).optional(),
35834
+ title: nullableType(stringType()).optional(),
35835
+ quantity: nullableType(numberType()).optional(),
35836
+ unit_price: nullableType(numberType().int()).optional(),
35837
+ subtotal: nullableType(numberType().int()).optional(),
35838
+ variant: nullableType(unionType([ProductVariant$inboundSchema, numberType().int()])).optional(),
35839
+ product: nullableType(unionType([Product$inboundSchema, numberType().int()])).optional()
35840
+ }).transform((v2) => {
35841
+ return remap(v2, {
35842
+ date_starts: "dateStarts",
35843
+ date_ends: "dateEnds",
35844
+ is_subscription: "isSubscription",
35845
+ product_title: "productTitle",
35846
+ unit_price: "unitPrice"
35847
+ });
35848
+ });
35849
+ InvoiceItem$outboundSchema = objectType({
35850
+ id: numberType().int().optional(),
35851
+ dateStarts: nullableType(stringType()).optional(),
35852
+ dateEnds: nullableType(stringType()).optional(),
35853
+ isSubscription: nullableType(booleanType()).optional(),
35854
+ productTitle: nullableType(stringType()).optional(),
35855
+ title: nullableType(stringType()).optional(),
35856
+ quantity: nullableType(numberType()).optional(),
35857
+ unitPrice: nullableType(numberType().int()).optional(),
35858
+ subtotal: nullableType(numberType().int()).optional(),
35859
+ variant: nullableType(unionType([ProductVariant$outboundSchema, numberType().int()])).optional(),
35860
+ product: nullableType(unionType([Product$outboundSchema, numberType().int()])).optional()
35861
+ }).transform((v2) => {
35862
+ return remap(v2, {
35863
+ dateStarts: "date_starts",
35864
+ dateEnds: "date_ends",
35865
+ isSubscription: "is_subscription",
35866
+ productTitle: "product_title",
35867
+ unitPrice: "unit_price"
35868
+ });
35869
+ });
35870
+ ((InvoiceItem$) => {
35871
+ InvoiceItem$.inboundSchema = InvoiceItem$inboundSchema;
35872
+ InvoiceItem$.outboundSchema = InvoiceItem$outboundSchema;
35873
+ })(InvoiceItem$ ||= {});
35874
+ });
35875
+
35876
+ // src/models/components/invoicetransaction.ts
35877
+ var InvoiceTransaction$inboundSchema, InvoiceTransaction$outboundSchema, InvoiceTransaction$;
35878
+ var init_invoicetransaction = __esm(() => {
35879
+ init_lib();
35880
+ init_primitives();
35881
+ InvoiceTransaction$inboundSchema = objectType({
35882
+ date_processed: nullableType(stringType()).optional(),
35883
+ payee: nullableType(stringType()).optional(),
35884
+ amount: nullableType(numberType().int()).optional(),
35885
+ credit_id: nullableType(numberType().int()).optional(),
35886
+ transaction_id: nullableType(stringType()).optional(),
35887
+ success: nullableType(booleanType()).optional(),
35888
+ card_last4: nullableType(stringType()).optional()
35889
+ }).transform((v2) => {
35890
+ return remap(v2, {
35891
+ date_processed: "dateProcessed",
35892
+ credit_id: "creditId",
35893
+ transaction_id: "transactionId",
35894
+ card_last4: "cardLast4"
35895
+ });
35896
+ });
35897
+ InvoiceTransaction$outboundSchema = objectType({
35898
+ dateProcessed: nullableType(stringType()).optional(),
35899
+ payee: nullableType(stringType()).optional(),
35900
+ amount: nullableType(numberType().int()).optional(),
35901
+ creditId: nullableType(numberType().int()).optional(),
35902
+ transactionId: nullableType(stringType()).optional(),
35903
+ success: nullableType(booleanType()).optional(),
35904
+ cardLast4: nullableType(stringType()).optional()
35905
+ }).transform((v2) => {
35906
+ return remap(v2, {
35907
+ dateProcessed: "date_processed",
35908
+ creditId: "credit_id",
35909
+ transactionId: "transaction_id",
35910
+ cardLast4: "card_last4"
35911
+ });
35912
+ });
35913
+ ((InvoiceTransaction$) => {
35914
+ InvoiceTransaction$.inboundSchema = InvoiceTransaction$inboundSchema;
35915
+ InvoiceTransaction$.outboundSchema = InvoiceTransaction$outboundSchema;
35916
+ })(InvoiceTransaction$ ||= {});
35917
+ });
35918
+
35919
+ // src/models/components/invoice.ts
35920
+ var Invoice$inboundSchema, Invoice$outboundSchema, Invoice$;
35921
+ var init_invoice = __esm(() => {
35922
+ init_lib();
35923
+ init_primitives();
35924
+ init_invoiceitem();
35925
+ init_invoicetransaction();
35926
+ Invoice$inboundSchema = objectType({
35927
+ id: numberType().int(),
35928
+ invoice_number: nullableType(stringType()).optional(),
35929
+ date_processed: nullableType(stringType()).optional(),
35930
+ amount: nullableType(numberType().int()).optional(),
35931
+ status: nullableType(stringType()).optional(),
35932
+ financial_status: nullableType(stringType()).optional(),
35933
+ amount_not_paid: nullableType(numberType().int()).optional(),
35934
+ tax: nullableType(numberType().int()).optional(),
35935
+ convenience_fee: nullableType(numberType()).optional(),
35936
+ shipping: nullableType(numberType().int()).optional(),
35937
+ discount: numberType().int().optional(),
35938
+ lines: nullableType(arrayType(InvoiceItem$inboundSchema)).optional(),
35939
+ transactions: nullableType(arrayType(InvoiceTransaction$inboundSchema)).optional()
35940
+ }).transform((v2) => {
35941
+ return remap(v2, {
35942
+ invoice_number: "invoiceNumber",
35943
+ date_processed: "dateProcessed",
35944
+ financial_status: "financialStatus",
35945
+ amount_not_paid: "amountNotPaid",
35946
+ convenience_fee: "convenienceFee"
35947
+ });
35948
+ });
35949
+ Invoice$outboundSchema = objectType({
35950
+ id: numberType().int(),
35951
+ invoiceNumber: nullableType(stringType()).optional(),
35952
+ dateProcessed: nullableType(stringType()).optional(),
35953
+ amount: nullableType(numberType().int()).optional(),
35954
+ status: nullableType(stringType()).optional(),
35955
+ financialStatus: nullableType(stringType()).optional(),
35956
+ amountNotPaid: nullableType(numberType().int()).optional(),
35957
+ tax: nullableType(numberType().int()).optional(),
35958
+ convenienceFee: nullableType(numberType()).optional(),
35959
+ shipping: nullableType(numberType().int()).optional(),
35960
+ discount: numberType().int().optional(),
35961
+ lines: nullableType(arrayType(InvoiceItem$outboundSchema)).optional(),
35962
+ transactions: nullableType(arrayType(InvoiceTransaction$outboundSchema)).optional()
35963
+ }).transform((v2) => {
35964
+ return remap(v2, {
35965
+ invoiceNumber: "invoice_number",
35966
+ dateProcessed: "date_processed",
35967
+ financialStatus: "financial_status",
35968
+ amountNotPaid: "amount_not_paid",
35969
+ convenienceFee: "convenience_fee"
35970
+ });
35971
+ });
35972
+ ((Invoice$) => {
35973
+ Invoice$.inboundSchema = Invoice$inboundSchema;
35974
+ Invoice$.outboundSchema = Invoice$outboundSchema;
35975
+ })(Invoice$ ||= {});
35976
+ });
35977
+
35978
+ // src/models/components/backgroundcheckresult.ts
35979
+ var BackgroundCheckResultStatus, DeliveryMethod, BackgroundCheckResultStatus$inboundSchema, BackgroundCheckResultStatus$outboundSchema, BackgroundCheckResultStatus$, DeliveryMethod$inboundSchema, DeliveryMethod$outboundSchema, DeliveryMethod$, BackgroundCheckResultInvoice$inboundSchema, BackgroundCheckResultInvoice$outboundSchema, BackgroundCheckResultInvoice$, Bcp$inboundSchema, Bcp$outboundSchema, Bcp$, BackgroundCheckResultLocation$inboundSchema, BackgroundCheckResultLocation$outboundSchema, BackgroundCheckResultLocation$, BackgroundCheckResult$inboundSchema, BackgroundCheckResult$outboundSchema, BackgroundCheckResult$;
35980
+ var init_backgroundcheckresult = __esm(() => {
35981
+ init_lib();
35982
+ init_primitives();
35983
+ init_invoice();
35984
+ BackgroundCheckResultStatus = {
35985
+ Pending: "Pending",
35986
+ Requested: "Requested",
35987
+ Available: "Available"
35988
+ };
35989
+ DeliveryMethod = {
35990
+ Email: "email",
35991
+ Mail: "mail"
35992
+ };
35993
+ BackgroundCheckResultStatus$inboundSchema = nativeEnumType(BackgroundCheckResultStatus);
35994
+ BackgroundCheckResultStatus$outboundSchema = BackgroundCheckResultStatus$inboundSchema;
35995
+ ((BackgroundCheckResultStatus$) => {
35996
+ BackgroundCheckResultStatus$.inboundSchema = BackgroundCheckResultStatus$inboundSchema;
35997
+ BackgroundCheckResultStatus$.outboundSchema = BackgroundCheckResultStatus$outboundSchema;
35998
+ })(BackgroundCheckResultStatus$ ||= {});
35999
+ DeliveryMethod$inboundSchema = nativeEnumType(DeliveryMethod);
36000
+ DeliveryMethod$outboundSchema = DeliveryMethod$inboundSchema;
36001
+ ((DeliveryMethod$) => {
36002
+ DeliveryMethod$.inboundSchema = DeliveryMethod$inboundSchema;
36003
+ DeliveryMethod$.outboundSchema = DeliveryMethod$outboundSchema;
36004
+ })(DeliveryMethod$ ||= {});
36005
+ BackgroundCheckResultInvoice$inboundSchema = unionType([Invoice$inboundSchema, numberType().int()]);
36006
+ BackgroundCheckResultInvoice$outboundSchema = unionType([Invoice$outboundSchema, numberType().int()]);
36007
+ ((BackgroundCheckResultInvoice$) => {
36008
+ BackgroundCheckResultInvoice$.inboundSchema = BackgroundCheckResultInvoice$inboundSchema;
36009
+ BackgroundCheckResultInvoice$.outboundSchema = BackgroundCheckResultInvoice$outboundSchema;
36010
+ })(BackgroundCheckResultInvoice$ ||= {});
36011
+ Bcp$inboundSchema = objectType({
36012
+ order_id: nullableType(numberType().int()).optional(),
36013
+ order_status: nullableType(stringType()).optional(),
36014
+ notes: nullableType(stringType()).optional(),
36015
+ date_sent: nullableType(stringType()).optional(),
36016
+ date_received: nullableType(stringType()).optional()
36017
+ }).transform((v2) => {
36018
+ return remap(v2, {
36019
+ order_id: "orderId",
36020
+ order_status: "orderStatus",
36021
+ date_sent: "dateSent",
36022
+ date_received: "dateReceived"
36023
+ });
36024
+ });
36025
+ Bcp$outboundSchema = objectType({
36026
+ orderId: nullableType(numberType().int()).optional(),
36027
+ orderStatus: nullableType(stringType()).optional(),
36028
+ notes: nullableType(stringType()).optional(),
36029
+ dateSent: nullableType(stringType()).optional(),
36030
+ dateReceived: nullableType(stringType()).optional()
36031
+ }).transform((v2) => {
36032
+ return remap(v2, {
36033
+ orderId: "order_id",
36034
+ orderStatus: "order_status",
36035
+ dateSent: "date_sent",
36036
+ dateReceived: "date_received"
36037
+ });
36038
+ });
36039
+ ((Bcp$) => {
36040
+ Bcp$.inboundSchema = Bcp$inboundSchema;
36041
+ Bcp$.outboundSchema = Bcp$outboundSchema;
36042
+ })(Bcp$ ||= {});
36043
+ BackgroundCheckResultLocation$inboundSchema = objectType({
36044
+ address1: nullableType(stringType()).optional(),
36045
+ address2: nullableType(stringType()).optional(),
36046
+ city: nullableType(stringType()).optional(),
36047
+ state: nullableType(stringType()).optional(),
36048
+ zip: nullableType(stringType()).optional()
36049
+ });
36050
+ BackgroundCheckResultLocation$outboundSchema = objectType({
36051
+ address1: nullableType(stringType()).optional(),
36052
+ address2: nullableType(stringType()).optional(),
36053
+ city: nullableType(stringType()).optional(),
36054
+ state: nullableType(stringType()).optional(),
36055
+ zip: nullableType(stringType()).optional()
36056
+ });
36057
+ ((BackgroundCheckResultLocation$) => {
36058
+ BackgroundCheckResultLocation$.inboundSchema = BackgroundCheckResultLocation$inboundSchema;
36059
+ BackgroundCheckResultLocation$.outboundSchema = BackgroundCheckResultLocation$outboundSchema;
36060
+ })(BackgroundCheckResultLocation$ ||= {});
36061
+ BackgroundCheckResult$inboundSchema = objectType({
36062
+ id: numberType().int().optional(),
36063
+ status: BackgroundCheckResultStatus$inboundSchema.optional(),
36064
+ delivery_method: nullableType(DeliveryMethod$inboundSchema).optional(),
36065
+ invoice: nullableType(unionType([Invoice$inboundSchema, numberType().int()])).optional(),
36066
+ email: nullableType(stringType()).optional(),
36067
+ bcp: lazyType(() => Bcp$inboundSchema).optional(),
36068
+ location: nullableType(lazyType(() => BackgroundCheckResultLocation$inboundSchema)).optional()
36069
+ }).transform((v2) => {
36070
+ return remap(v2, {
36071
+ delivery_method: "deliveryMethod"
36072
+ });
36073
+ });
36074
+ BackgroundCheckResult$outboundSchema = objectType({
36075
+ id: numberType().int().optional(),
36076
+ status: BackgroundCheckResultStatus$outboundSchema.optional(),
36077
+ deliveryMethod: nullableType(DeliveryMethod$outboundSchema).optional(),
36078
+ invoice: nullableType(unionType([Invoice$outboundSchema, numberType().int()])).optional(),
36079
+ email: nullableType(stringType()).optional(),
36080
+ bcp: lazyType(() => Bcp$outboundSchema).optional(),
36081
+ location: nullableType(lazyType(() => BackgroundCheckResultLocation$outboundSchema)).optional()
36082
+ }).transform((v2) => {
36083
+ return remap(v2, {
36084
+ deliveryMethod: "delivery_method"
36085
+ });
36086
+ });
36087
+ ((BackgroundCheckResult$) => {
36088
+ BackgroundCheckResult$.inboundSchema = BackgroundCheckResult$inboundSchema;
36089
+ BackgroundCheckResult$.outboundSchema = BackgroundCheckResult$outboundSchema;
36090
+ })(BackgroundCheckResult$ ||= {});
36091
+ });
36092
+
35769
36093
  // src/types/rfcdate.ts
35770
36094
  class RFCDate {
35771
36095
  serialized;
@@ -36051,6 +36375,175 @@ var init_contact = __esm(() => {
36051
36375
  })(Contact$ ||= {});
36052
36376
  });
36053
36377
 
36378
+ // src/models/components/credentialdocument.ts
36379
+ var CredentialDocumentCredential$inboundSchema, CredentialDocumentCredential$outboundSchema, CredentialDocumentCredential$, FileT$inboundSchema, FileT$outboundSchema, FileT$, CredentialDocument$inboundSchema, CredentialDocument$outboundSchema, CredentialDocument$;
36380
+ var init_credentialdocument = __esm(() => {
36381
+ init_lib();
36382
+ init_primitives();
36383
+ init_credential();
36384
+ CredentialDocumentCredential$inboundSchema = unionType([lazyType(() => Credential$inboundSchema), numberType().int()]);
36385
+ CredentialDocumentCredential$outboundSchema = unionType([lazyType(() => Credential$outboundSchema), numberType().int()]);
36386
+ ((CredentialDocumentCredential$) => {
36387
+ CredentialDocumentCredential$.inboundSchema = CredentialDocumentCredential$inboundSchema;
36388
+ CredentialDocumentCredential$.outboundSchema = CredentialDocumentCredential$outboundSchema;
36389
+ })(CredentialDocumentCredential$ ||= {});
36390
+ FileT$inboundSchema = objectType({
36391
+ file_name: nullableType(stringType()).optional(),
36392
+ content_type: nullableType(stringType()).optional(),
36393
+ file_size: nullableType(numberType().int()).optional(),
36394
+ updated_at: nullableType(stringType()).optional(),
36395
+ url: nullableType(stringType()).optional()
36396
+ }).transform((v2) => {
36397
+ return remap(v2, {
36398
+ file_name: "fileName",
36399
+ content_type: "contentType",
36400
+ file_size: "fileSize",
36401
+ updated_at: "updatedAt"
36402
+ });
36403
+ });
36404
+ FileT$outboundSchema = objectType({
36405
+ fileName: nullableType(stringType()).optional(),
36406
+ contentType: nullableType(stringType()).optional(),
36407
+ fileSize: nullableType(numberType().int()).optional(),
36408
+ updatedAt: nullableType(stringType()).optional(),
36409
+ url: nullableType(stringType()).optional()
36410
+ }).transform((v2) => {
36411
+ return remap(v2, {
36412
+ fileName: "file_name",
36413
+ contentType: "content_type",
36414
+ fileSize: "file_size",
36415
+ updatedAt: "updated_at"
36416
+ });
36417
+ });
36418
+ ((FileT$) => {
36419
+ FileT$.inboundSchema = FileT$inboundSchema;
36420
+ FileT$.outboundSchema = FileT$outboundSchema;
36421
+ })(FileT$ ||= {});
36422
+ CredentialDocument$inboundSchema = objectType({
36423
+ id: numberType().int(),
36424
+ credential: nullableType(unionType([lazyType(() => Credential$inboundSchema), numberType().int()])).optional(),
36425
+ name: nullableType(stringType()).optional(),
36426
+ description: nullableType(stringType()).optional(),
36427
+ file: nullableType(lazyType(() => FileT$inboundSchema)).optional()
36428
+ });
36429
+ CredentialDocument$outboundSchema = objectType({
36430
+ id: numberType().int(),
36431
+ credential: nullableType(unionType([lazyType(() => Credential$outboundSchema), numberType().int()])).optional(),
36432
+ name: nullableType(stringType()).optional(),
36433
+ description: nullableType(stringType()).optional(),
36434
+ file: nullableType(lazyType(() => FileT$outboundSchema)).optional()
36435
+ });
36436
+ ((CredentialDocument$) => {
36437
+ CredentialDocument$.inboundSchema = CredentialDocument$inboundSchema;
36438
+ CredentialDocument$.outboundSchema = CredentialDocument$outboundSchema;
36439
+ })(CredentialDocument$ ||= {});
36440
+ });
36441
+
36442
+ // src/models/components/credential.ts
36443
+ var CredentialType, ValidFor, CredentialStatus1, CredentialType$inboundSchema, CredentialType$outboundSchema, CredentialType$, ValidFor$inboundSchema, ValidFor$outboundSchema, ValidFor$, CredentialStatus1$inboundSchema, CredentialStatus1$outboundSchema, CredentialStatus1$, Credential$inboundSchema, Credential$outboundSchema, Credential$;
36444
+ var init_credential = __esm(() => {
36445
+ init_lib();
36446
+ init_primitives();
36447
+ init_credentialdocument();
36448
+ CredentialType = {
36449
+ Zero: "0",
36450
+ One: "1",
36451
+ Two: "2",
36452
+ Three: "3",
36453
+ Four: "4"
36454
+ };
36455
+ ValidFor = {
36456
+ Ongoing: "Ongoing",
36457
+ Variable: "Variable",
36458
+ Custom: "Custom",
36459
+ EndOfYear: "End of Year",
36460
+ DayOfYear: "Day of Year"
36461
+ };
36462
+ CredentialStatus1 = {
36463
+ Active: "Active",
36464
+ Inactive: "Inactive",
36465
+ Deleted: "Deleted"
36466
+ };
36467
+ CredentialType$inboundSchema = nativeEnumType(CredentialType);
36468
+ CredentialType$outboundSchema = CredentialType$inboundSchema;
36469
+ ((CredentialType$) => {
36470
+ CredentialType$.inboundSchema = CredentialType$inboundSchema;
36471
+ CredentialType$.outboundSchema = CredentialType$outboundSchema;
36472
+ })(CredentialType$ ||= {});
36473
+ ValidFor$inboundSchema = nativeEnumType(ValidFor);
36474
+ ValidFor$outboundSchema = ValidFor$inboundSchema;
36475
+ ((ValidFor$) => {
36476
+ ValidFor$.inboundSchema = ValidFor$inboundSchema;
36477
+ ValidFor$.outboundSchema = ValidFor$outboundSchema;
36478
+ })(ValidFor$ ||= {});
36479
+ CredentialStatus1$inboundSchema = nativeEnumType(CredentialStatus1);
36480
+ CredentialStatus1$outboundSchema = CredentialStatus1$inboundSchema;
36481
+ ((CredentialStatus1$) => {
36482
+ CredentialStatus1$.inboundSchema = CredentialStatus1$inboundSchema;
36483
+ CredentialStatus1$.outboundSchema = CredentialStatus1$outboundSchema;
36484
+ })(CredentialStatus1$ ||= {});
36485
+ Credential$inboundSchema = objectType({
36486
+ id: numberType().int(),
36487
+ name: nullableType(stringType()).optional(),
36488
+ description: nullableType(stringType()).optional(),
36489
+ credential_type: CredentialType$inboundSchema.optional(),
36490
+ valid_for: ValidFor$inboundSchema.optional(),
36491
+ status: CredentialStatus1$inboundSchema.optional(),
36492
+ has_pricing: booleanType().optional(),
36493
+ allow_decline: booleanType().optional(),
36494
+ js_schema: nullableType(stringType()).optional(),
36495
+ ui_schema: nullableType(stringType()).optional(),
36496
+ behavior: nullableType(stringType()).optional(),
36497
+ credential_documents: arrayType(nullableType(lazyType(() => CredentialDocument$inboundSchema))).optional(),
36498
+ file_url: nullableType(stringType()).optional(),
36499
+ decline_file_url: nullableType(stringType()).optional()
36500
+ }).transform((v2) => {
36501
+ return remap(v2, {
36502
+ credential_type: "credentialType",
36503
+ valid_for: "validFor",
36504
+ has_pricing: "hasPricing",
36505
+ allow_decline: "allowDecline",
36506
+ js_schema: "jsSchema",
36507
+ ui_schema: "uiSchema",
36508
+ credential_documents: "credentialDocuments",
36509
+ file_url: "fileUrl",
36510
+ decline_file_url: "declineFileUrl"
36511
+ });
36512
+ });
36513
+ Credential$outboundSchema = objectType({
36514
+ id: numberType().int(),
36515
+ name: nullableType(stringType()).optional(),
36516
+ description: nullableType(stringType()).optional(),
36517
+ credentialType: CredentialType$outboundSchema.optional(),
36518
+ validFor: ValidFor$outboundSchema.optional(),
36519
+ status: CredentialStatus1$outboundSchema.optional(),
36520
+ hasPricing: booleanType().optional(),
36521
+ allowDecline: booleanType().optional(),
36522
+ jsSchema: nullableType(stringType()).optional(),
36523
+ uiSchema: nullableType(stringType()).optional(),
36524
+ behavior: nullableType(stringType()).optional(),
36525
+ credentialDocuments: arrayType(nullableType(lazyType(() => CredentialDocument$outboundSchema))).optional(),
36526
+ fileUrl: nullableType(stringType()).optional(),
36527
+ declineFileUrl: nullableType(stringType()).optional()
36528
+ }).transform((v2) => {
36529
+ return remap(v2, {
36530
+ credentialType: "credential_type",
36531
+ validFor: "valid_for",
36532
+ hasPricing: "has_pricing",
36533
+ allowDecline: "allow_decline",
36534
+ jsSchema: "js_schema",
36535
+ uiSchema: "ui_schema",
36536
+ credentialDocuments: "credential_documents",
36537
+ fileUrl: "file_url",
36538
+ declineFileUrl: "decline_file_url"
36539
+ });
36540
+ });
36541
+ ((Credential$) => {
36542
+ Credential$.inboundSchema = Credential$inboundSchema;
36543
+ Credential$.outboundSchema = Credential$outboundSchema;
36544
+ })(Credential$ ||= {});
36545
+ });
36546
+
36054
36547
  // src/models/components/credentialstatus.ts
36055
36548
  var CredentialStatus, CredentialStatus$inboundSchema, CredentialStatus$outboundSchema, CredentialStatus$;
36056
36549
  var init_credentialstatus = __esm(() => {
@@ -36123,6 +36616,110 @@ var init_credit = __esm(() => {
36123
36616
  })(Credit$ ||= {});
36124
36617
  });
36125
36618
 
36619
+ // src/models/components/datarequest.ts
36620
+ var DataType, DataType$inboundSchema, DataType$outboundSchema, DataType$, Url$inboundSchema, Url$outboundSchema, Url$, DataRequestFile$inboundSchema, DataRequestFile$outboundSchema, DataRequestFile$, DataRequest$inboundSchema, DataRequest$outboundSchema, DataRequest$;
36621
+ var init_datarequest = __esm(() => {
36622
+ init_lib();
36623
+ init_primitives();
36624
+ DataType = {
36625
+ File: "File",
36626
+ Url: "URL",
36627
+ ShortText: "Short Text",
36628
+ LongText: "Long Text",
36629
+ Date: "Date"
36630
+ };
36631
+ DataType$inboundSchema = nativeEnumType(DataType);
36632
+ DataType$outboundSchema = DataType$inboundSchema;
36633
+ ((DataType$) => {
36634
+ DataType$.inboundSchema = DataType$inboundSchema;
36635
+ DataType$.outboundSchema = DataType$outboundSchema;
36636
+ })(DataType$ ||= {});
36637
+ Url$inboundSchema = objectType({
36638
+ value: nullableType(stringType()).optional(),
36639
+ func: nullableType(stringType()).optional(),
36640
+ expires: nullableType(stringType()).optional(),
36641
+ days_valid: nullableType(numberType().int()).optional()
36642
+ }).transform((v2) => {
36643
+ return remap(v2, {
36644
+ days_valid: "daysValid"
36645
+ });
36646
+ });
36647
+ Url$outboundSchema = objectType({
36648
+ value: nullableType(stringType()).optional(),
36649
+ func: nullableType(stringType()).optional(),
36650
+ expires: nullableType(stringType()).optional(),
36651
+ daysValid: nullableType(numberType().int()).optional()
36652
+ }).transform((v2) => {
36653
+ return remap(v2, {
36654
+ daysValid: "days_valid"
36655
+ });
36656
+ });
36657
+ ((Url$) => {
36658
+ Url$.inboundSchema = Url$inboundSchema;
36659
+ Url$.outboundSchema = Url$outboundSchema;
36660
+ })(Url$ ||= {});
36661
+ DataRequestFile$inboundSchema = objectType({
36662
+ file_name: nullableType(stringType()).optional(),
36663
+ content_type: nullableType(stringType()).optional(),
36664
+ file_size: nullableType(numberType().int()).optional(),
36665
+ updated_at: nullableType(stringType()).optional(),
36666
+ url: nullableType(stringType()).optional()
36667
+ }).transform((v2) => {
36668
+ return remap(v2, {
36669
+ file_name: "fileName",
36670
+ content_type: "contentType",
36671
+ file_size: "fileSize",
36672
+ updated_at: "updatedAt"
36673
+ });
36674
+ });
36675
+ DataRequestFile$outboundSchema = objectType({
36676
+ fileName: nullableType(stringType()).optional(),
36677
+ contentType: nullableType(stringType()).optional(),
36678
+ fileSize: nullableType(numberType().int()).optional(),
36679
+ updatedAt: nullableType(stringType()).optional(),
36680
+ url: nullableType(stringType()).optional()
36681
+ }).transform((v2) => {
36682
+ return remap(v2, {
36683
+ fileName: "file_name",
36684
+ contentType: "content_type",
36685
+ fileSize: "file_size",
36686
+ updatedAt: "updated_at"
36687
+ });
36688
+ });
36689
+ ((DataRequestFile$) => {
36690
+ DataRequestFile$.inboundSchema = DataRequestFile$inboundSchema;
36691
+ DataRequestFile$.outboundSchema = DataRequestFile$outboundSchema;
36692
+ })(DataRequestFile$ ||= {});
36693
+ DataRequest$inboundSchema = objectType({
36694
+ id: numberType().int().optional(),
36695
+ data_type: DataType$inboundSchema.optional(),
36696
+ name: nullableType(stringType()).optional(),
36697
+ description: nullableType(stringType()).optional(),
36698
+ url: nullableType(lazyType(() => Url$inboundSchema)).optional(),
36699
+ file: nullableType(lazyType(() => DataRequestFile$inboundSchema)).optional()
36700
+ }).transform((v2) => {
36701
+ return remap(v2, {
36702
+ data_type: "dataType"
36703
+ });
36704
+ });
36705
+ DataRequest$outboundSchema = objectType({
36706
+ id: numberType().int().optional(),
36707
+ dataType: DataType$outboundSchema.optional(),
36708
+ name: nullableType(stringType()).optional(),
36709
+ description: nullableType(stringType()).optional(),
36710
+ url: nullableType(lazyType(() => Url$outboundSchema)).optional(),
36711
+ file: nullableType(lazyType(() => DataRequestFile$outboundSchema)).optional()
36712
+ }).transform((v2) => {
36713
+ return remap(v2, {
36714
+ dataType: "data_type"
36715
+ });
36716
+ });
36717
+ ((DataRequest$) => {
36718
+ DataRequest$.inboundSchema = DataRequest$inboundSchema;
36719
+ DataRequest$.outboundSchema = DataRequest$outboundSchema;
36720
+ })(DataRequest$ ||= {});
36721
+ });
36722
+
36126
36723
  // src/models/components/department.ts
36127
36724
  var Department$inboundSchema, Department$outboundSchema, Department$;
36128
36725
  var init_department = __esm(() => {
@@ -36188,7 +36785,22 @@ var init_expand = __esm(() => {
36188
36785
  SupportArticleNotes: "support_article.notes",
36189
36786
  SupportArticleSupportCategory: "support_article.support_category",
36190
36787
  InvoiceLineItems: "invoice.line_items",
36191
- InvoiceInvoiceTransactions: "invoice.invoice_transactions"
36788
+ InvoiceInvoiceTransactions: "invoice.invoice_transactions",
36789
+ VendorCredentialCredential: "vendor_credential.credential",
36790
+ VendorCredentialVendor: "vendor_credential.vendor",
36791
+ VendorCredentialInvoice: "vendor_credential.invoice",
36792
+ VendorCredentialVendorCredentialFiles: "vendor_credential.vendor_credential_files",
36793
+ VendorCredentialLatestVendorCredentialId: "vendor_credential.latest_vendor_credential_id",
36794
+ VendorCredentialPreviouslyApproved: "vendor_credential.previously_approved",
36795
+ VendorCredentialUnsatisfiedDependencies: "vendor_credential.unsatisfied_dependencies",
36796
+ VendorCredentialAllowExpediting: "vendor_credential.allow_expediting",
36797
+ VendorCredentialUnpaidExpeditedInvoiceId: "vendor_credential.unpaid_expedited_invoice_id",
36798
+ VendorCredentialExpeditedOffers: "vendor_credential.expedited_offers",
36799
+ VendorCredentialBackgroundCheckResults: "vendor_credential.background_check_results",
36800
+ VendorCredentialVendorCredentialDefaultStatus: "vendor_credential.vendor_credential_default_status",
36801
+ VendorCredentialVendorCredentialDataRequests: "vendor_credential.vendor_credential_data_requests",
36802
+ VendorCredentialCredentialVariants: "vendor_credential.credential_variants",
36803
+ VendorCredentialTargetsChop: "vendor_credential.targets_chop"
36192
36804
  };
36193
36805
  Expand$inboundSchema = nativeEnumType(Expand);
36194
36806
  Expand$outboundSchema = Expand$inboundSchema;
@@ -36342,11 +36954,11 @@ var init_facility = __esm(() => {
36342
36954
  AppointmentPolicy$.outboundSchema = AppointmentPolicy$outboundSchema;
36343
36955
  })(AppointmentPolicy$ ||= {});
36344
36956
  Contacts$inboundSchema = objectType({
36345
- contact: Contact$inboundSchema.optional(),
36346
- admin_contact: Contact$inboundSchema.optional(),
36347
- tech_contact: Contact$inboundSchema.optional(),
36348
- green_security_csm: Contact$inboundSchema.optional(),
36349
- account_manager: Contact$inboundSchema.optional()
36957
+ contact: nullableType(Contact$inboundSchema).optional(),
36958
+ admin_contact: nullableType(Contact$inboundSchema).optional(),
36959
+ tech_contact: nullableType(Contact$inboundSchema).optional(),
36960
+ green_security_csm: nullableType(Contact$inboundSchema).optional(),
36961
+ account_manager: nullableType(Contact$inboundSchema).optional()
36350
36962
  }).transform((v2) => {
36351
36963
  return remap(v2, {
36352
36964
  admin_contact: "adminContact",
@@ -36356,11 +36968,11 @@ var init_facility = __esm(() => {
36356
36968
  });
36357
36969
  });
36358
36970
  Contacts$outboundSchema = objectType({
36359
- contact: Contact$outboundSchema.optional(),
36360
- adminContact: Contact$outboundSchema.optional(),
36361
- techContact: Contact$outboundSchema.optional(),
36362
- greenSecurityCsm: Contact$outboundSchema.optional(),
36363
- accountManager: Contact$outboundSchema.optional()
36971
+ contact: nullableType(Contact$outboundSchema).optional(),
36972
+ adminContact: nullableType(Contact$outboundSchema).optional(),
36973
+ techContact: nullableType(Contact$outboundSchema).optional(),
36974
+ greenSecurityCsm: nullableType(Contact$outboundSchema).optional(),
36975
+ accountManager: nullableType(Contact$outboundSchema).optional()
36364
36976
  }).transform((v2) => {
36365
36977
  return remap(v2, {
36366
36978
  adminContact: "admin_contact",
@@ -37347,232 +37959,77 @@ var init_zone = __esm(() => {
37347
37959
  description: nullableType(stringType()).optional(),
37348
37960
  status: nullableType(stringType()).optional(),
37349
37961
  notes: nullableType(stringType()).optional(),
37350
- rules: nullableType(arrayType(nullableType(ZoneConfig$outboundSchema))).optional(),
37351
- location: lazyType(() => ZoneLocation$outboundSchema).optional(),
37352
- kioskOfflineNotification: lazyType(() => KioskOfflineNotification$outboundSchema).optional(),
37353
- vendorPolicy: lazyType(() => ZoneVendorPolicy$outboundSchema).optional(),
37354
- visitorCheckinPolicy: lazyType(() => ZoneVisitorCheckinPolicy$outboundSchema).optional(),
37355
- visitRequestPolicy: lazyType(() => ZoneVisitRequestPolicy$outboundSchema).optional(),
37356
- printerConfig: lazyType(() => PrinterConfig$outboundSchema).optional(),
37357
- gpsCheckinPolicy: lazyType(() => GpsCheckinPolicy$outboundSchema).optional()
37358
- }).transform((v2) => {
37359
- return remap(v2, {
37360
- shortName: "short_name",
37361
- kioskOfflineNotification: "kiosk_offline_notification",
37362
- vendorPolicy: "vendor_policy",
37363
- visitorCheckinPolicy: "visitor_checkin_policy",
37364
- visitRequestPolicy: "visit_request_policy",
37365
- printerConfig: "printer_config",
37366
- gpsCheckinPolicy: "gps_checkin_policy"
37367
- });
37368
- });
37369
- ((Zone$) => {
37370
- Zone$.inboundSchema = Zone$inboundSchema;
37371
- Zone$.outboundSchema = Zone$outboundSchema;
37372
- })(Zone$ ||= {});
37373
- });
37374
-
37375
- // src/models/components/handoff.ts
37376
- var Handoff$inboundSchema, Handoff$outboundSchema, Handoff$;
37377
- var init_handoff = __esm(() => {
37378
- init_lib();
37379
- init_primitives();
37380
- init_zone();
37381
- Handoff$inboundSchema = objectType({
37382
- id: numberType().int().optional(),
37383
- zone: Zone$inboundSchema.optional(),
37384
- qr_code: nullableType(stringType()).optional(),
37385
- date_created: nullableType(stringType()).optional(),
37386
- date_received: nullableType(stringType()).optional(),
37387
- date_completed: nullableType(stringType()).optional(),
37388
- status: nullableType(stringType()).optional(),
37389
- gps_checkin: booleanType().optional()
37390
- }).transform((v2) => {
37391
- return remap(v2, {
37392
- qr_code: "qrCode",
37393
- date_created: "dateCreated",
37394
- date_received: "dateReceived",
37395
- date_completed: "dateCompleted",
37396
- gps_checkin: "gpsCheckin"
37397
- });
37398
- });
37399
- Handoff$outboundSchema = objectType({
37400
- id: numberType().int().optional(),
37401
- zone: Zone$outboundSchema.optional(),
37402
- qrCode: nullableType(stringType()).optional(),
37403
- dateCreated: nullableType(stringType()).optional(),
37404
- dateReceived: nullableType(stringType()).optional(),
37405
- dateCompleted: nullableType(stringType()).optional(),
37406
- status: nullableType(stringType()).optional(),
37407
- gpsCheckin: booleanType().optional()
37408
- }).transform((v2) => {
37409
- return remap(v2, {
37410
- qrCode: "qr_code",
37411
- dateCreated: "date_created",
37412
- dateReceived: "date_received",
37413
- dateCompleted: "date_completed",
37414
- gpsCheckin: "gps_checkin"
37415
- });
37416
- });
37417
- ((Handoff$) => {
37418
- Handoff$.inboundSchema = Handoff$inboundSchema;
37419
- Handoff$.outboundSchema = Handoff$outboundSchema;
37420
- })(Handoff$ ||= {});
37421
- });
37422
-
37423
- // src/models/components/invoiceitem.ts
37424
- var InvoiceItem$inboundSchema, InvoiceItem$outboundSchema, InvoiceItem$;
37425
- var init_invoiceitem = __esm(() => {
37426
- init_lib();
37427
- init_primitives();
37428
- InvoiceItem$inboundSchema = objectType({
37429
- item_id: numberType().int().optional(),
37430
- date_starts: nullableType(stringType()).optional(),
37431
- date_ends: nullableType(stringType()).optional(),
37432
- is_subscription: nullableType(booleanType()).optional(),
37433
- product_title: nullableType(stringType()).optional(),
37434
- item_title: nullableType(stringType()).optional(),
37435
- quantity: nullableType(numberType()).optional(),
37436
- unit_price: nullableType(numberType().int()).optional(),
37437
- subtotal: nullableType(numberType().int()).optional()
37438
- }).transform((v2) => {
37439
- return remap(v2, {
37440
- item_id: "itemId",
37441
- date_starts: "dateStarts",
37442
- date_ends: "dateEnds",
37443
- is_subscription: "isSubscription",
37444
- product_title: "productTitle",
37445
- item_title: "itemTitle",
37446
- unit_price: "unitPrice"
37447
- });
37448
- });
37449
- InvoiceItem$outboundSchema = objectType({
37450
- itemId: numberType().int().optional(),
37451
- dateStarts: nullableType(stringType()).optional(),
37452
- dateEnds: nullableType(stringType()).optional(),
37453
- isSubscription: nullableType(booleanType()).optional(),
37454
- productTitle: nullableType(stringType()).optional(),
37455
- itemTitle: nullableType(stringType()).optional(),
37456
- quantity: nullableType(numberType()).optional(),
37457
- unitPrice: nullableType(numberType().int()).optional(),
37458
- subtotal: nullableType(numberType().int()).optional()
37459
- }).transform((v2) => {
37460
- return remap(v2, {
37461
- itemId: "item_id",
37462
- dateStarts: "date_starts",
37463
- dateEnds: "date_ends",
37464
- isSubscription: "is_subscription",
37465
- productTitle: "product_title",
37466
- itemTitle: "item_title",
37467
- unitPrice: "unit_price"
37468
- });
37469
- });
37470
- ((InvoiceItem$) => {
37471
- InvoiceItem$.inboundSchema = InvoiceItem$inboundSchema;
37472
- InvoiceItem$.outboundSchema = InvoiceItem$outboundSchema;
37473
- })(InvoiceItem$ ||= {});
37474
- });
37475
-
37476
- // src/models/components/invoicetransaction.ts
37477
- var InvoiceTransaction$inboundSchema, InvoiceTransaction$outboundSchema, InvoiceTransaction$;
37478
- var init_invoicetransaction = __esm(() => {
37479
- init_lib();
37480
- init_primitives();
37481
- InvoiceTransaction$inboundSchema = objectType({
37482
- date_processed: nullableType(stringType()).optional(),
37483
- payee: nullableType(stringType()).optional(),
37484
- amount: nullableType(numberType().int()).optional(),
37485
- credit_id: nullableType(numberType().int()).optional(),
37486
- transaction_id: nullableType(stringType()).optional(),
37487
- success: nullableType(booleanType()).optional(),
37488
- card_last4: nullableType(stringType()).optional()
37489
- }).transform((v2) => {
37490
- return remap(v2, {
37491
- date_processed: "dateProcessed",
37492
- credit_id: "creditId",
37493
- transaction_id: "transactionId",
37494
- card_last4: "cardLast4"
37495
- });
37496
- });
37497
- InvoiceTransaction$outboundSchema = objectType({
37498
- dateProcessed: nullableType(stringType()).optional(),
37499
- payee: nullableType(stringType()).optional(),
37500
- amount: nullableType(numberType().int()).optional(),
37501
- creditId: nullableType(numberType().int()).optional(),
37502
- transactionId: nullableType(stringType()).optional(),
37503
- success: nullableType(booleanType()).optional(),
37504
- cardLast4: nullableType(stringType()).optional()
37962
+ rules: nullableType(arrayType(nullableType(ZoneConfig$outboundSchema))).optional(),
37963
+ location: lazyType(() => ZoneLocation$outboundSchema).optional(),
37964
+ kioskOfflineNotification: lazyType(() => KioskOfflineNotification$outboundSchema).optional(),
37965
+ vendorPolicy: lazyType(() => ZoneVendorPolicy$outboundSchema).optional(),
37966
+ visitorCheckinPolicy: lazyType(() => ZoneVisitorCheckinPolicy$outboundSchema).optional(),
37967
+ visitRequestPolicy: lazyType(() => ZoneVisitRequestPolicy$outboundSchema).optional(),
37968
+ printerConfig: lazyType(() => PrinterConfig$outboundSchema).optional(),
37969
+ gpsCheckinPolicy: lazyType(() => GpsCheckinPolicy$outboundSchema).optional()
37505
37970
  }).transform((v2) => {
37506
37971
  return remap(v2, {
37507
- dateProcessed: "date_processed",
37508
- creditId: "credit_id",
37509
- transactionId: "transaction_id",
37510
- cardLast4: "card_last4"
37972
+ shortName: "short_name",
37973
+ kioskOfflineNotification: "kiosk_offline_notification",
37974
+ vendorPolicy: "vendor_policy",
37975
+ visitorCheckinPolicy: "visitor_checkin_policy",
37976
+ visitRequestPolicy: "visit_request_policy",
37977
+ printerConfig: "printer_config",
37978
+ gpsCheckinPolicy: "gps_checkin_policy"
37511
37979
  });
37512
37980
  });
37513
- ((InvoiceTransaction$) => {
37514
- InvoiceTransaction$.inboundSchema = InvoiceTransaction$inboundSchema;
37515
- InvoiceTransaction$.outboundSchema = InvoiceTransaction$outboundSchema;
37516
- })(InvoiceTransaction$ ||= {});
37981
+ ((Zone$) => {
37982
+ Zone$.inboundSchema = Zone$inboundSchema;
37983
+ Zone$.outboundSchema = Zone$outboundSchema;
37984
+ })(Zone$ ||= {});
37517
37985
  });
37518
37986
 
37519
- // src/models/components/invoice.ts
37520
- var Invoice$inboundSchema, Invoice$outboundSchema, Invoice$;
37521
- var init_invoice = __esm(() => {
37987
+ // src/models/components/handoff.ts
37988
+ var Handoff$inboundSchema, Handoff$outboundSchema, Handoff$;
37989
+ var init_handoff = __esm(() => {
37522
37990
  init_lib();
37523
37991
  init_primitives();
37524
- init_invoiceitem();
37525
- init_invoicetransaction();
37526
- Invoice$inboundSchema = objectType({
37527
- id: numberType().int(),
37528
- invoice_number: nullableType(stringType()).optional(),
37529
- date_processed: nullableType(stringType()).optional(),
37530
- amount: nullableType(numberType().int()).optional(),
37992
+ init_zone();
37993
+ Handoff$inboundSchema = objectType({
37994
+ id: numberType().int().optional(),
37995
+ zone: Zone$inboundSchema.optional(),
37996
+ qr_code: nullableType(stringType()).optional(),
37997
+ date_created: nullableType(stringType()).optional(),
37998
+ date_received: nullableType(stringType()).optional(),
37999
+ date_completed: nullableType(stringType()).optional(),
37531
38000
  status: nullableType(stringType()).optional(),
37532
- financial_status: nullableType(stringType()).optional(),
37533
- amount_not_paid: nullableType(numberType().int()).optional(),
37534
- tax: nullableType(numberType().int()).optional(),
37535
- convenience_fee: nullableType(numberType()).optional(),
37536
- shipping: nullableType(numberType().int()).optional(),
37537
- discount: numberType().int().optional(),
37538
- items: nullableType(arrayType(InvoiceItem$inboundSchema)).optional(),
37539
- transactions: nullableType(arrayType(InvoiceTransaction$inboundSchema)).optional()
38001
+ gps_checkin: booleanType().optional()
37540
38002
  }).transform((v2) => {
37541
38003
  return remap(v2, {
37542
- invoice_number: "invoiceNumber",
37543
- date_processed: "dateProcessed",
37544
- financial_status: "financialStatus",
37545
- amount_not_paid: "amountNotPaid",
37546
- convenience_fee: "convenienceFee"
38004
+ qr_code: "qrCode",
38005
+ date_created: "dateCreated",
38006
+ date_received: "dateReceived",
38007
+ date_completed: "dateCompleted",
38008
+ gps_checkin: "gpsCheckin"
37547
38009
  });
37548
38010
  });
37549
- Invoice$outboundSchema = objectType({
37550
- id: numberType().int(),
37551
- invoiceNumber: nullableType(stringType()).optional(),
37552
- dateProcessed: nullableType(stringType()).optional(),
37553
- amount: nullableType(numberType().int()).optional(),
38011
+ Handoff$outboundSchema = objectType({
38012
+ id: numberType().int().optional(),
38013
+ zone: Zone$outboundSchema.optional(),
38014
+ qrCode: nullableType(stringType()).optional(),
38015
+ dateCreated: nullableType(stringType()).optional(),
38016
+ dateReceived: nullableType(stringType()).optional(),
38017
+ dateCompleted: nullableType(stringType()).optional(),
37554
38018
  status: nullableType(stringType()).optional(),
37555
- financialStatus: nullableType(stringType()).optional(),
37556
- amountNotPaid: nullableType(numberType().int()).optional(),
37557
- tax: nullableType(numberType().int()).optional(),
37558
- convenienceFee: nullableType(numberType()).optional(),
37559
- shipping: nullableType(numberType().int()).optional(),
37560
- discount: numberType().int().optional(),
37561
- items: nullableType(arrayType(InvoiceItem$outboundSchema)).optional(),
37562
- transactions: nullableType(arrayType(InvoiceTransaction$outboundSchema)).optional()
38019
+ gpsCheckin: booleanType().optional()
37563
38020
  }).transform((v2) => {
37564
38021
  return remap(v2, {
37565
- invoiceNumber: "invoice_number",
37566
- dateProcessed: "date_processed",
37567
- financialStatus: "financial_status",
37568
- amountNotPaid: "amount_not_paid",
37569
- convenienceFee: "convenience_fee"
38022
+ qrCode: "qr_code",
38023
+ dateCreated: "date_created",
38024
+ dateReceived: "date_received",
38025
+ dateCompleted: "date_completed",
38026
+ gpsCheckin: "gps_checkin"
37570
38027
  });
37571
38028
  });
37572
- ((Invoice$) => {
37573
- Invoice$.inboundSchema = Invoice$inboundSchema;
37574
- Invoice$.outboundSchema = Invoice$outboundSchema;
37575
- })(Invoice$ ||= {});
38029
+ ((Handoff$) => {
38030
+ Handoff$.inboundSchema = Handoff$inboundSchema;
38031
+ Handoff$.outboundSchema = Handoff$outboundSchema;
38032
+ })(Handoff$ ||= {});
37576
38033
  });
37577
38034
 
37578
38035
  // src/models/components/loginemailandpassword.ts
@@ -37757,26 +38214,6 @@ var init_passwordrequiredresponse = __esm(() => {
37757
38214
  })(PasswordRequiredResponse$ ||= {});
37758
38215
  });
37759
38216
 
37760
- // src/models/components/productvariant.ts
37761
- var ProductVariant$inboundSchema, ProductVariant$outboundSchema, ProductVariant$;
37762
- var init_productvariant = __esm(() => {
37763
- init_lib();
37764
- ProductVariant$inboundSchema = objectType({
37765
- id: numberType().int().optional(),
37766
- amount: numberType().int().optional(),
37767
- total: numberType().int().optional()
37768
- });
37769
- ProductVariant$outboundSchema = objectType({
37770
- id: numberType().int().optional(),
37771
- amount: numberType().int().optional(),
37772
- total: numberType().int().optional()
37773
- });
37774
- ((ProductVariant$) => {
37775
- ProductVariant$.inboundSchema = ProductVariant$inboundSchema;
37776
- ProductVariant$.outboundSchema = ProductVariant$outboundSchema;
37777
- })(ProductVariant$ ||= {});
37778
- });
37779
-
37780
38217
  // src/models/components/samlloginrequiredresponse.ts
37781
38218
  var SamlLoginRequiredResponseRequires, SamlLoginRequiredResponseRequires$inboundSchema, SamlLoginRequiredResponseRequires$outboundSchema, SamlLoginRequiredResponseRequires$, SamlLoginRequiredResponse$inboundSchema, SamlLoginRequiredResponse$outboundSchema, SamlLoginRequiredResponse$;
37782
38219
  var init_samlloginrequiredresponse = __esm(() => {
@@ -37838,6 +38275,69 @@ var init_scantype = __esm(() => {
37838
38275
  })(ScanType$ ||= {});
37839
38276
  });
37840
38277
 
38278
+ // src/models/components/screeningresponse.ts
38279
+ var ScreeningResponse$inboundSchema, ScreeningResponse$outboundSchema, ScreeningResponse$;
38280
+ var init_screeningresponse = __esm(() => {
38281
+ init_lib();
38282
+ init_primitives();
38283
+ ScreeningResponse$inboundSchema = objectType({
38284
+ id: numberType().int().optional(),
38285
+ vendor_id: nullableType(numberType().int()).optional(),
38286
+ vendor_scan_id: nullableType(numberType().int()).optional(),
38287
+ screening_question_id: nullableType(numberType().int()).optional(),
38288
+ screening_answer_id: nullableType(numberType().int()).optional(),
38289
+ date_answered: nullableType(stringType()).optional(),
38290
+ custom_answer: nullableType(stringType()).optional(),
38291
+ multiple_vendor_answer_ids: nullableType(stringType()).optional(),
38292
+ visitor_checkin_id: nullableType(numberType().int()).optional(),
38293
+ contact_id: nullableType(numberType().int()).optional(),
38294
+ visit_request_id: nullableType(numberType().int()).optional()
38295
+ }).transform((v2) => {
38296
+ return remap(v2, {
38297
+ vendor_id: "vendorId",
38298
+ vendor_scan_id: "vendorScanId",
38299
+ screening_question_id: "screeningQuestionId",
38300
+ screening_answer_id: "screeningAnswerId",
38301
+ date_answered: "dateAnswered",
38302
+ custom_answer: "customAnswer",
38303
+ multiple_vendor_answer_ids: "multipleVendorAnswerIds",
38304
+ visitor_checkin_id: "visitorCheckinId",
38305
+ contact_id: "contactId",
38306
+ visit_request_id: "visitRequestId"
38307
+ });
38308
+ });
38309
+ ScreeningResponse$outboundSchema = objectType({
38310
+ id: numberType().int().optional(),
38311
+ vendorId: nullableType(numberType().int()).optional(),
38312
+ vendorScanId: nullableType(numberType().int()).optional(),
38313
+ screeningQuestionId: nullableType(numberType().int()).optional(),
38314
+ screeningAnswerId: nullableType(numberType().int()).optional(),
38315
+ dateAnswered: nullableType(stringType()).optional(),
38316
+ customAnswer: nullableType(stringType()).optional(),
38317
+ multipleVendorAnswerIds: nullableType(stringType()).optional(),
38318
+ visitorCheckinId: nullableType(numberType().int()).optional(),
38319
+ contactId: nullableType(numberType().int()).optional(),
38320
+ visitRequestId: nullableType(numberType().int()).optional()
38321
+ }).transform((v2) => {
38322
+ return remap(v2, {
38323
+ vendorId: "vendor_id",
38324
+ vendorScanId: "vendor_scan_id",
38325
+ screeningQuestionId: "screening_question_id",
38326
+ screeningAnswerId: "screening_answer_id",
38327
+ dateAnswered: "date_answered",
38328
+ customAnswer: "custom_answer",
38329
+ multipleVendorAnswerIds: "multiple_vendor_answer_ids",
38330
+ visitorCheckinId: "visitor_checkin_id",
38331
+ contactId: "contact_id",
38332
+ visitRequestId: "visit_request_id"
38333
+ });
38334
+ });
38335
+ ((ScreeningResponse$) => {
38336
+ ScreeningResponse$.inboundSchema = ScreeningResponse$inboundSchema;
38337
+ ScreeningResponse$.outboundSchema = ScreeningResponse$outboundSchema;
38338
+ })(ScreeningResponse$ ||= {});
38339
+ });
38340
+
37841
38341
  // src/models/components/security.ts
37842
38342
  var Security$inboundSchema, Security$outboundSchema, Security$;
37843
38343
  var init_security2 = __esm(() => {
@@ -38234,7 +38734,7 @@ var init_userlocation = __esm(() => {
38234
38734
  });
38235
38735
 
38236
38736
  // src/models/components/vendor.ts
38237
- var One$inboundSchema, One$outboundSchema, One$, VendorUser$inboundSchema, VendorUser$outboundSchema, VendorUser$, VendorType1$inboundSchema, VendorType1$outboundSchema, VendorType1$, VendorVendorType$inboundSchema, VendorVendorType$outboundSchema, VendorVendorType$, PaymentProfile1$inboundSchema, PaymentProfile1$outboundSchema, PaymentProfile1$, PaymentProfilePaymentProfile$inboundSchema, PaymentProfilePaymentProfile$outboundSchema, PaymentProfilePaymentProfile$, PaymentProfile$inboundSchema, PaymentProfile$outboundSchema, PaymentProfile$, PaymentResponsibility$inboundSchema, PaymentResponsibility$outboundSchema, PaymentResponsibility$, Vendor$inboundSchema, Vendor$outboundSchema, Vendor$;
38737
+ var One$inboundSchema, One$outboundSchema, One$, VendorUser$inboundSchema, VendorUser$outboundSchema, VendorUser$, VendorType1$inboundSchema, VendorType1$outboundSchema, VendorType1$, VendorVendorType$inboundSchema, VendorVendorType$outboundSchema, VendorVendorType$, Two2$inboundSchema, Two2$outboundSchema, Two2$, PaymentProfile2$inboundSchema, PaymentProfile2$outboundSchema, PaymentProfile2$, PaymentProfile1$inboundSchema, PaymentProfile1$outboundSchema, PaymentProfile1$, PaymentProfilePaymentProfile$inboundSchema, PaymentProfilePaymentProfile$outboundSchema, PaymentProfilePaymentProfile$, PaymentProfile$inboundSchema, PaymentProfile$outboundSchema, PaymentProfile$, PaymentResponsibility$inboundSchema, PaymentResponsibility$outboundSchema, PaymentResponsibility$, Vendor$inboundSchema, Vendor$outboundSchema, Vendor$;
38238
38738
  var init_vendor = __esm(() => {
38239
38739
  init_lib();
38240
38740
  init_primitives();
@@ -38319,6 +38819,18 @@ var init_vendor = __esm(() => {
38319
38819
  VendorVendorType$.inboundSchema = VendorVendorType$inboundSchema;
38320
38820
  VendorVendorType$.outboundSchema = VendorVendorType$outboundSchema;
38321
38821
  })(VendorVendorType$ ||= {});
38822
+ Two2$inboundSchema = objectType({});
38823
+ Two2$outboundSchema = objectType({});
38824
+ ((Two2$) => {
38825
+ Two2$.inboundSchema = Two2$inboundSchema;
38826
+ Two2$.outboundSchema = Two2$outboundSchema;
38827
+ })(Two2$ ||= {});
38828
+ PaymentProfile2$inboundSchema = unionType([lazyType(() => Two2$inboundSchema), numberType().int()]);
38829
+ PaymentProfile2$outboundSchema = unionType([lazyType(() => Two2$outboundSchema), numberType().int()]);
38830
+ ((PaymentProfile2$) => {
38831
+ PaymentProfile2$.inboundSchema = PaymentProfile2$inboundSchema;
38832
+ PaymentProfile2$.outboundSchema = PaymentProfile2$outboundSchema;
38833
+ })(PaymentProfile2$ ||= {});
38322
38834
  PaymentProfile1$inboundSchema = objectType({
38323
38835
  id: numberType().int().optional(),
38324
38836
  is_valid: nullableType(booleanType()).optional(),
@@ -38355,18 +38867,30 @@ var init_vendor = __esm(() => {
38355
38867
  PaymentProfile1$.inboundSchema = PaymentProfile1$inboundSchema;
38356
38868
  PaymentProfile1$.outboundSchema = PaymentProfile1$outboundSchema;
38357
38869
  })(PaymentProfile1$ ||= {});
38358
- PaymentProfilePaymentProfile$inboundSchema = unionType([lazyType(() => PaymentProfile1$inboundSchema), numberType().int()]);
38359
- PaymentProfilePaymentProfile$outboundSchema = unionType([lazyType(() => PaymentProfile1$outboundSchema), numberType().int()]);
38870
+ PaymentProfilePaymentProfile$inboundSchema = unionType([
38871
+ lazyType(() => PaymentProfile1$inboundSchema),
38872
+ unionType([lazyType(() => Two2$inboundSchema), numberType().int()])
38873
+ ]);
38874
+ PaymentProfilePaymentProfile$outboundSchema = unionType([
38875
+ lazyType(() => PaymentProfile1$outboundSchema),
38876
+ unionType([lazyType(() => Two2$outboundSchema), numberType().int()])
38877
+ ]);
38360
38878
  ((PaymentProfilePaymentProfile$) => {
38361
38879
  PaymentProfilePaymentProfile$.inboundSchema = PaymentProfilePaymentProfile$inboundSchema;
38362
38880
  PaymentProfilePaymentProfile$.outboundSchema = PaymentProfilePaymentProfile$outboundSchema;
38363
38881
  })(PaymentProfilePaymentProfile$ ||= {});
38364
38882
  PaymentProfile$inboundSchema = unionType([
38365
- unionType([lazyType(() => PaymentProfile1$inboundSchema), numberType().int()]),
38883
+ unionType([
38884
+ lazyType(() => PaymentProfile1$inboundSchema),
38885
+ unionType([lazyType(() => Two2$inboundSchema), numberType().int()])
38886
+ ]),
38366
38887
  numberType().int()
38367
38888
  ]);
38368
38889
  PaymentProfile$outboundSchema = unionType([
38369
- unionType([lazyType(() => PaymentProfile1$outboundSchema), numberType().int()]),
38890
+ unionType([
38891
+ lazyType(() => PaymentProfile1$outboundSchema),
38892
+ unionType([lazyType(() => Two2$outboundSchema), numberType().int()])
38893
+ ]),
38370
38894
  numberType().int()
38371
38895
  ]);
38372
38896
  ((PaymentProfile$) => {
@@ -38464,7 +38988,7 @@ var init_vendor = __esm(() => {
38464
38988
  payment_profile: nullableType(unionType([
38465
38989
  unionType([
38466
38990
  lazyType(() => PaymentProfile1$inboundSchema),
38467
- numberType().int()
38991
+ unionType([lazyType(() => Two2$inboundSchema), numberType().int()])
38468
38992
  ]),
38469
38993
  numberType().int()
38470
38994
  ])).optional(),
@@ -38506,7 +39030,10 @@ var init_vendor = __esm(() => {
38506
39030
  driversLicense: nullableType(ImageSet$outboundSchema).optional(),
38507
39031
  imageUrls: nullableType(ImageSet$outboundSchema).optional(),
38508
39032
  paymentProfile: nullableType(unionType([
38509
- unionType([lazyType(() => PaymentProfile1$outboundSchema), numberType().int()]),
39033
+ unionType([
39034
+ lazyType(() => PaymentProfile1$outboundSchema),
39035
+ unionType([lazyType(() => Two2$outboundSchema), numberType().int()])
39036
+ ]),
38510
39037
  numberType().int()
38511
39038
  ])).optional(),
38512
39039
  primaryFacility: nullableType(Facility$outboundSchema).optional(),
@@ -38656,7 +39183,7 @@ var init_user = __esm(() => {
38656
39183
  user_token: lazyType(() => UserToken$inboundSchema),
38657
39184
  vendor: Vendor$inboundSchema.optional(),
38658
39185
  inventory_manager: lazyType(() => InventoryManager$inboundSchema).optional(),
38659
- contact: Contact$inboundSchema.optional(),
39186
+ contact: nullableType(Contact$inboundSchema).optional(),
38660
39187
  company: nullableType(Company$inboundSchema).optional()
38661
39188
  }).transform((v2) => {
38662
39189
  return remap(v2, {
@@ -38672,7 +39199,7 @@ var init_user = __esm(() => {
38672
39199
  userToken: lazyType(() => UserToken$outboundSchema),
38673
39200
  vendor: Vendor$outboundSchema.optional(),
38674
39201
  inventoryManager: lazyType(() => InventoryManager$outboundSchema).optional(),
38675
- contact: Contact$outboundSchema.optional(),
39202
+ contact: nullableType(Contact$outboundSchema).optional(),
38676
39203
  company: nullableType(Company$outboundSchema).optional()
38677
39204
  }).transform((v2) => {
38678
39205
  return remap(v2, {
@@ -38711,12 +39238,205 @@ var init_vendoradditionalfacilityfields = __esm(() => {
38711
39238
  })(VendorAdditionalFacilityFields$ ||= {});
38712
39239
  });
38713
39240
 
39241
+ // src/models/components/vendorcredentialfile.ts
39242
+ var VendorCredential$inboundSchema, VendorCredential$outboundSchema, VendorCredential$, VendorCredentialFileFile$inboundSchema, VendorCredentialFileFile$outboundSchema, VendorCredentialFileFile$, VendorCredentialFileCredentialDocument$inboundSchema, VendorCredentialFileCredentialDocument$outboundSchema, VendorCredentialFileCredentialDocument$, VendorCredentialFile$inboundSchema, VendorCredentialFile$outboundSchema, VendorCredentialFile$;
39243
+ var init_vendorcredentialfile = __esm(() => {
39244
+ init_lib();
39245
+ init_primitives();
39246
+ init_credentialdocument();
39247
+ init_vendorcredentialsummary();
39248
+ VendorCredential$inboundSchema = unionType([
39249
+ lazyType(() => VendorCredentialSummary$inboundSchema),
39250
+ numberType().int()
39251
+ ]);
39252
+ VendorCredential$outboundSchema = unionType([
39253
+ lazyType(() => VendorCredentialSummary$outboundSchema),
39254
+ numberType().int()
39255
+ ]);
39256
+ ((VendorCredential$) => {
39257
+ VendorCredential$.inboundSchema = VendorCredential$inboundSchema;
39258
+ VendorCredential$.outboundSchema = VendorCredential$outboundSchema;
39259
+ })(VendorCredential$ ||= {});
39260
+ VendorCredentialFileFile$inboundSchema = objectType({
39261
+ file_name: nullableType(stringType()).optional(),
39262
+ content_type: nullableType(stringType()).optional(),
39263
+ file_size: nullableType(numberType().int()).optional(),
39264
+ updated_at: nullableType(stringType()).optional(),
39265
+ url: nullableType(stringType()).optional()
39266
+ }).transform((v2) => {
39267
+ return remap(v2, {
39268
+ file_name: "fileName",
39269
+ content_type: "contentType",
39270
+ file_size: "fileSize",
39271
+ updated_at: "updatedAt"
39272
+ });
39273
+ });
39274
+ VendorCredentialFileFile$outboundSchema = objectType({
39275
+ fileName: nullableType(stringType()).optional(),
39276
+ contentType: nullableType(stringType()).optional(),
39277
+ fileSize: nullableType(numberType().int()).optional(),
39278
+ updatedAt: nullableType(stringType()).optional(),
39279
+ url: nullableType(stringType()).optional()
39280
+ }).transform((v2) => {
39281
+ return remap(v2, {
39282
+ fileName: "file_name",
39283
+ contentType: "content_type",
39284
+ fileSize: "file_size",
39285
+ updatedAt: "updated_at"
39286
+ });
39287
+ });
39288
+ ((VendorCredentialFileFile$) => {
39289
+ VendorCredentialFileFile$.inboundSchema = VendorCredentialFileFile$inboundSchema;
39290
+ VendorCredentialFileFile$.outboundSchema = VendorCredentialFileFile$outboundSchema;
39291
+ })(VendorCredentialFileFile$ ||= {});
39292
+ VendorCredentialFileCredentialDocument$inboundSchema = unionType([CredentialDocument$inboundSchema, numberType().int()]);
39293
+ VendorCredentialFileCredentialDocument$outboundSchema = unionType([CredentialDocument$outboundSchema, numberType().int()]);
39294
+ ((VendorCredentialFileCredentialDocument$) => {
39295
+ VendorCredentialFileCredentialDocument$.inboundSchema = VendorCredentialFileCredentialDocument$inboundSchema;
39296
+ VendorCredentialFileCredentialDocument$.outboundSchema = VendorCredentialFileCredentialDocument$outboundSchema;
39297
+ })(VendorCredentialFileCredentialDocument$ ||= {});
39298
+ VendorCredentialFile$inboundSchema = objectType({
39299
+ id: numberType().int().optional(),
39300
+ vendor_credential: nullableType(unionType([
39301
+ lazyType(() => VendorCredentialSummary$inboundSchema),
39302
+ numberType().int()
39303
+ ])).optional(),
39304
+ date_uploaded: nullableType(stringType()).optional(),
39305
+ uploaded_by_id: nullableType(numberType().int()).optional(),
39306
+ is_decline: nullableType(booleanType()).optional(),
39307
+ file: lazyType(() => VendorCredentialFileFile$inboundSchema).optional(),
39308
+ processed: booleanType().optional(),
39309
+ name: nullableType(stringType()).optional(),
39310
+ credential_document: nullableType(unionType([CredentialDocument$inboundSchema, numberType().int()])).optional()
39311
+ }).transform((v2) => {
39312
+ return remap(v2, {
39313
+ vendor_credential: "vendorCredential",
39314
+ date_uploaded: "dateUploaded",
39315
+ uploaded_by_id: "uploadedById",
39316
+ is_decline: "isDecline",
39317
+ credential_document: "credentialDocument"
39318
+ });
39319
+ });
39320
+ VendorCredentialFile$outboundSchema = objectType({
39321
+ id: numberType().int().optional(),
39322
+ vendorCredential: nullableType(unionType([
39323
+ lazyType(() => VendorCredentialSummary$outboundSchema),
39324
+ numberType().int()
39325
+ ])).optional(),
39326
+ dateUploaded: nullableType(stringType()).optional(),
39327
+ uploadedById: nullableType(numberType().int()).optional(),
39328
+ isDecline: nullableType(booleanType()).optional(),
39329
+ file: lazyType(() => VendorCredentialFileFile$outboundSchema).optional(),
39330
+ processed: booleanType().optional(),
39331
+ name: nullableType(stringType()).optional(),
39332
+ credentialDocument: nullableType(unionType([CredentialDocument$outboundSchema, numberType().int()])).optional()
39333
+ }).transform((v2) => {
39334
+ return remap(v2, {
39335
+ vendorCredential: "vendor_credential",
39336
+ dateUploaded: "date_uploaded",
39337
+ uploadedById: "uploaded_by_id",
39338
+ isDecline: "is_decline",
39339
+ credentialDocument: "credential_document"
39340
+ });
39341
+ });
39342
+ ((VendorCredentialFile$) => {
39343
+ VendorCredentialFile$.inboundSchema = VendorCredentialFile$inboundSchema;
39344
+ VendorCredentialFile$.outboundSchema = VendorCredentialFile$outboundSchema;
39345
+ })(VendorCredentialFile$ ||= {});
39346
+ });
39347
+
38714
39348
  // src/models/components/vendorcredentialsummary.ts
38715
- var VendorCredentialSummary$inboundSchema, VendorCredentialSummary$outboundSchema, VendorCredentialSummary$;
39349
+ var VendorCredentialSummaryCredential$inboundSchema, VendorCredentialSummaryCredential$outboundSchema, VendorCredentialSummaryCredential$, VendorCredentialSummaryVendor$inboundSchema, VendorCredentialSummaryVendor$outboundSchema, VendorCredentialSummaryVendor$, VendorCredentialSummaryInvoice$inboundSchema, VendorCredentialSummaryInvoice$outboundSchema, VendorCredentialSummaryInvoice$, UnsatisfiedDependencies$inboundSchema, UnsatisfiedDependencies$outboundSchema, UnsatisfiedDependencies$, ExpeditedOffers$inboundSchema, ExpeditedOffers$outboundSchema, ExpeditedOffers$, VendorCredentialSummary$inboundSchema, VendorCredentialSummary$outboundSchema, VendorCredentialSummary$;
38716
39350
  var init_vendorcredentialsummary = __esm(() => {
38717
39351
  init_lib();
38718
39352
  init_primitives();
39353
+ init_backgroundcheckresult();
38719
39354
  init_company();
39355
+ init_credential();
39356
+ init_invoice();
39357
+ init_vendor();
39358
+ init_vendorcredentialdatarequest();
39359
+ init_vendorcredentialfile();
39360
+ VendorCredentialSummaryCredential$inboundSchema = unionType([Credential$inboundSchema, numberType().int()]);
39361
+ VendorCredentialSummaryCredential$outboundSchema = unionType([Credential$outboundSchema, numberType().int()]);
39362
+ ((VendorCredentialSummaryCredential$) => {
39363
+ VendorCredentialSummaryCredential$.inboundSchema = VendorCredentialSummaryCredential$inboundSchema;
39364
+ VendorCredentialSummaryCredential$.outboundSchema = VendorCredentialSummaryCredential$outboundSchema;
39365
+ })(VendorCredentialSummaryCredential$ ||= {});
39366
+ VendorCredentialSummaryVendor$inboundSchema = unionType([Vendor$inboundSchema, numberType().int()]);
39367
+ VendorCredentialSummaryVendor$outboundSchema = unionType([Vendor$outboundSchema, numberType().int()]);
39368
+ ((VendorCredentialSummaryVendor$) => {
39369
+ VendorCredentialSummaryVendor$.inboundSchema = VendorCredentialSummaryVendor$inboundSchema;
39370
+ VendorCredentialSummaryVendor$.outboundSchema = VendorCredentialSummaryVendor$outboundSchema;
39371
+ })(VendorCredentialSummaryVendor$ ||= {});
39372
+ VendorCredentialSummaryInvoice$inboundSchema = unionType([Invoice$inboundSchema, numberType().int()]);
39373
+ VendorCredentialSummaryInvoice$outboundSchema = unionType([Invoice$outboundSchema, numberType().int()]);
39374
+ ((VendorCredentialSummaryInvoice$) => {
39375
+ VendorCredentialSummaryInvoice$.inboundSchema = VendorCredentialSummaryInvoice$inboundSchema;
39376
+ VendorCredentialSummaryInvoice$.outboundSchema = VendorCredentialSummaryInvoice$outboundSchema;
39377
+ })(VendorCredentialSummaryInvoice$ ||= {});
39378
+ UnsatisfiedDependencies$inboundSchema = objectType({
39379
+ credential_id: nullableType(numberType().int()).optional(),
39380
+ depends_on_id: nullableType(numberType().int()).optional(),
39381
+ depends_on_name: nullableType(stringType()).optional(),
39382
+ require_approved: booleanType().optional(),
39383
+ vendor_credential_id: nullableType(numberType().int()).optional()
39384
+ }).transform((v2) => {
39385
+ return remap(v2, {
39386
+ credential_id: "credentialId",
39387
+ depends_on_id: "dependsOnId",
39388
+ depends_on_name: "dependsOnName",
39389
+ require_approved: "requireApproved",
39390
+ vendor_credential_id: "vendorCredentialId"
39391
+ });
39392
+ });
39393
+ UnsatisfiedDependencies$outboundSchema = objectType({
39394
+ credentialId: nullableType(numberType().int()).optional(),
39395
+ dependsOnId: nullableType(numberType().int()).optional(),
39396
+ dependsOnName: nullableType(stringType()).optional(),
39397
+ requireApproved: booleanType().optional(),
39398
+ vendorCredentialId: nullableType(numberType().int()).optional()
39399
+ }).transform((v2) => {
39400
+ return remap(v2, {
39401
+ credentialId: "credential_id",
39402
+ dependsOnId: "depends_on_id",
39403
+ dependsOnName: "depends_on_name",
39404
+ requireApproved: "require_approved",
39405
+ vendorCredentialId: "vendor_credential_id"
39406
+ });
39407
+ });
39408
+ ((UnsatisfiedDependencies$) => {
39409
+ UnsatisfiedDependencies$.inboundSchema = UnsatisfiedDependencies$inboundSchema;
39410
+ UnsatisfiedDependencies$.outboundSchema = UnsatisfiedDependencies$outboundSchema;
39411
+ })(UnsatisfiedDependencies$ ||= {});
39412
+ ExpeditedOffers$inboundSchema = objectType({
39413
+ id: numberType().int().optional(),
39414
+ product_id: nullableType(numberType().int()).optional(),
39415
+ price: nullableType(numberType()).optional(),
39416
+ option1: nullableType(stringType()).optional(),
39417
+ option2: nullableType(stringType()).optional(),
39418
+ option3: nullableType(stringType()).optional()
39419
+ }).transform((v2) => {
39420
+ return remap(v2, {
39421
+ product_id: "productId"
39422
+ });
39423
+ });
39424
+ ExpeditedOffers$outboundSchema = objectType({
39425
+ id: numberType().int().optional(),
39426
+ productId: nullableType(numberType().int()).optional(),
39427
+ price: nullableType(numberType()).optional(),
39428
+ option1: nullableType(stringType()).optional(),
39429
+ option2: nullableType(stringType()).optional(),
39430
+ option3: nullableType(stringType()).optional()
39431
+ }).transform((v2) => {
39432
+ return remap(v2, {
39433
+ productId: "product_id"
39434
+ });
39435
+ });
39436
+ ((ExpeditedOffers$) => {
39437
+ ExpeditedOffers$.inboundSchema = ExpeditedOffers$inboundSchema;
39438
+ ExpeditedOffers$.outboundSchema = ExpeditedOffers$outboundSchema;
39439
+ })(ExpeditedOffers$ ||= {});
38720
39440
  VendorCredentialSummary$inboundSchema = objectType({
38721
39441
  id: numberType().int(),
38722
39442
  status: nullableType(stringType()).optional(),
@@ -38724,11 +39444,40 @@ var init_vendorcredentialsummary = __esm(() => {
38724
39444
  date_due: nullableType(stringType()).optional(),
38725
39445
  date_expires: nullableType(stringType()).optional(),
38726
39446
  notes: nullableType(stringType()).optional(),
38727
- expedited: booleanType().optional()
39447
+ expedited: booleanType().optional(),
39448
+ json_data: nullableType(stringType()).optional(),
39449
+ credential: nullableType(unionType([Credential$inboundSchema, numberType().int()])).optional(),
39450
+ vendor: nullableType(unionType([Vendor$inboundSchema, numberType().int()])).optional(),
39451
+ invoice: nullableType(unionType([Invoice$inboundSchema, numberType().int()])).optional(),
39452
+ vendor_credential_files: arrayType(nullableType(lazyType(() => VendorCredentialFile$inboundSchema))).optional(),
39453
+ latest_vendor_credential_id: nullableType(numberType().int()).optional(),
39454
+ previously_approved: nullableType(booleanType()).optional(),
39455
+ unsatisfied_dependencies: nullableType(arrayType(lazyType(() => UnsatisfiedDependencies$inboundSchema))).optional(),
39456
+ allow_expediting: nullableType(booleanType()).optional(),
39457
+ unpaid_expedited_invoice_id: nullableType(numberType().int()).optional(),
39458
+ expedited_offers: nullableType(arrayType(lazyType(() => ExpeditedOffers$inboundSchema))).optional(),
39459
+ background_check_results: nullableType(BackgroundCheckResult$inboundSchema).optional(),
39460
+ vendor_credential_default_status: nullableType(stringType()).optional(),
39461
+ vendor_credential_data_requests: nullableType(arrayType(nullableType(lazyType(() => VendorCredentialDataRequest$inboundSchema)))).optional(),
39462
+ credential_variants: nullableType(arrayType(anyType())).optional(),
39463
+ targets_chop: nullableType(booleanType()).optional()
38728
39464
  }).transform((v2) => {
38729
39465
  return remap(v2, {
38730
39466
  date_due: "dateDue",
38731
- date_expires: "dateExpires"
39467
+ date_expires: "dateExpires",
39468
+ json_data: "jsonData",
39469
+ vendor_credential_files: "vendorCredentialFiles",
39470
+ latest_vendor_credential_id: "latestVendorCredentialId",
39471
+ previously_approved: "previouslyApproved",
39472
+ unsatisfied_dependencies: "unsatisfiedDependencies",
39473
+ allow_expediting: "allowExpediting",
39474
+ unpaid_expedited_invoice_id: "unpaidExpeditedInvoiceId",
39475
+ expedited_offers: "expeditedOffers",
39476
+ background_check_results: "backgroundCheckResults",
39477
+ vendor_credential_default_status: "vendorCredentialDefaultStatus",
39478
+ vendor_credential_data_requests: "vendorCredentialDataRequests",
39479
+ credential_variants: "credentialVariants",
39480
+ targets_chop: "targetsChop"
38732
39481
  });
38733
39482
  });
38734
39483
  VendorCredentialSummary$outboundSchema = objectType({
@@ -38738,11 +39487,40 @@ var init_vendorcredentialsummary = __esm(() => {
38738
39487
  dateDue: nullableType(stringType()).optional(),
38739
39488
  dateExpires: nullableType(stringType()).optional(),
38740
39489
  notes: nullableType(stringType()).optional(),
38741
- expedited: booleanType().optional()
39490
+ expedited: booleanType().optional(),
39491
+ jsonData: nullableType(stringType()).optional(),
39492
+ credential: nullableType(unionType([Credential$outboundSchema, numberType().int()])).optional(),
39493
+ vendor: nullableType(unionType([Vendor$outboundSchema, numberType().int()])).optional(),
39494
+ invoice: nullableType(unionType([Invoice$outboundSchema, numberType().int()])).optional(),
39495
+ vendorCredentialFiles: arrayType(nullableType(lazyType(() => VendorCredentialFile$outboundSchema))).optional(),
39496
+ latestVendorCredentialId: nullableType(numberType().int()).optional(),
39497
+ previouslyApproved: nullableType(booleanType()).optional(),
39498
+ unsatisfiedDependencies: nullableType(arrayType(lazyType(() => UnsatisfiedDependencies$outboundSchema))).optional(),
39499
+ allowExpediting: nullableType(booleanType()).optional(),
39500
+ unpaidExpeditedInvoiceId: nullableType(numberType().int()).optional(),
39501
+ expeditedOffers: nullableType(arrayType(lazyType(() => ExpeditedOffers$outboundSchema))).optional(),
39502
+ backgroundCheckResults: nullableType(BackgroundCheckResult$outboundSchema).optional(),
39503
+ vendorCredentialDefaultStatus: nullableType(stringType()).optional(),
39504
+ vendorCredentialDataRequests: nullableType(arrayType(nullableType(lazyType(() => VendorCredentialDataRequest$outboundSchema)))).optional(),
39505
+ credentialVariants: nullableType(arrayType(anyType())).optional(),
39506
+ targetsChop: nullableType(booleanType()).optional()
38742
39507
  }).transform((v2) => {
38743
39508
  return remap(v2, {
38744
39509
  dateDue: "date_due",
38745
- dateExpires: "date_expires"
39510
+ dateExpires: "date_expires",
39511
+ jsonData: "json_data",
39512
+ vendorCredentialFiles: "vendor_credential_files",
39513
+ latestVendorCredentialId: "latest_vendor_credential_id",
39514
+ previouslyApproved: "previously_approved",
39515
+ unsatisfiedDependencies: "unsatisfied_dependencies",
39516
+ allowExpediting: "allow_expediting",
39517
+ unpaidExpeditedInvoiceId: "unpaid_expedited_invoice_id",
39518
+ expeditedOffers: "expedited_offers",
39519
+ backgroundCheckResults: "background_check_results",
39520
+ vendorCredentialDefaultStatus: "vendor_credential_default_status",
39521
+ vendorCredentialDataRequests: "vendor_credential_data_requests",
39522
+ credentialVariants: "credential_variants",
39523
+ targetsChop: "targets_chop"
38746
39524
  });
38747
39525
  });
38748
39526
  ((VendorCredentialSummary$) => {
@@ -38751,6 +39529,121 @@ var init_vendorcredentialsummary = __esm(() => {
38751
39529
  })(VendorCredentialSummary$ ||= {});
38752
39530
  });
38753
39531
 
39532
+ // src/models/components/vendorcredentialdatarequest.ts
39533
+ var VendorCredentialDataRequestStatus, VendorCredentialDataRequestVendorCredential$inboundSchema, VendorCredentialDataRequestVendorCredential$outboundSchema, VendorCredentialDataRequestVendorCredential$, VendorCredentialDataRequestDataRequest$inboundSchema, VendorCredentialDataRequestDataRequest$outboundSchema, VendorCredentialDataRequestDataRequest$, VendorCredentialDataRequestStatus$inboundSchema, VendorCredentialDataRequestStatus$outboundSchema, VendorCredentialDataRequestStatus$, VendorCredentialDataRequestFile$inboundSchema, VendorCredentialDataRequestFile$outboundSchema, VendorCredentialDataRequestFile$, VendorCredentialDataRequest$inboundSchema, VendorCredentialDataRequest$outboundSchema, VendorCredentialDataRequest$;
39534
+ var init_vendorcredentialdatarequest = __esm(() => {
39535
+ init_lib();
39536
+ init_primitives();
39537
+ init_datarequest();
39538
+ init_vendorcredentialsummary();
39539
+ VendorCredentialDataRequestStatus = {
39540
+ Requested: "Requested",
39541
+ Submitted: "Submitted"
39542
+ };
39543
+ VendorCredentialDataRequestVendorCredential$inboundSchema = unionType([
39544
+ lazyType(() => VendorCredentialSummary$inboundSchema),
39545
+ numberType().int()
39546
+ ]);
39547
+ VendorCredentialDataRequestVendorCredential$outboundSchema = unionType([
39548
+ lazyType(() => VendorCredentialSummary$outboundSchema),
39549
+ numberType().int()
39550
+ ]);
39551
+ ((VendorCredentialDataRequestVendorCredential$) => {
39552
+ VendorCredentialDataRequestVendorCredential$.inboundSchema = VendorCredentialDataRequestVendorCredential$inboundSchema;
39553
+ VendorCredentialDataRequestVendorCredential$.outboundSchema = VendorCredentialDataRequestVendorCredential$outboundSchema;
39554
+ })(VendorCredentialDataRequestVendorCredential$ ||= {});
39555
+ VendorCredentialDataRequestDataRequest$inboundSchema = unionType([DataRequest$inboundSchema, numberType().int()]);
39556
+ VendorCredentialDataRequestDataRequest$outboundSchema = unionType([DataRequest$outboundSchema, numberType().int()]);
39557
+ ((VendorCredentialDataRequestDataRequest$) => {
39558
+ VendorCredentialDataRequestDataRequest$.inboundSchema = VendorCredentialDataRequestDataRequest$inboundSchema;
39559
+ VendorCredentialDataRequestDataRequest$.outboundSchema = VendorCredentialDataRequestDataRequest$outboundSchema;
39560
+ })(VendorCredentialDataRequestDataRequest$ ||= {});
39561
+ VendorCredentialDataRequestStatus$inboundSchema = nativeEnumType(VendorCredentialDataRequestStatus);
39562
+ VendorCredentialDataRequestStatus$outboundSchema = VendorCredentialDataRequestStatus$inboundSchema;
39563
+ ((VendorCredentialDataRequestStatus$) => {
39564
+ VendorCredentialDataRequestStatus$.inboundSchema = VendorCredentialDataRequestStatus$inboundSchema;
39565
+ VendorCredentialDataRequestStatus$.outboundSchema = VendorCredentialDataRequestStatus$outboundSchema;
39566
+ })(VendorCredentialDataRequestStatus$ ||= {});
39567
+ VendorCredentialDataRequestFile$inboundSchema = objectType({
39568
+ file_name: nullableType(stringType()).optional(),
39569
+ content_type: nullableType(stringType()).optional(),
39570
+ file_size: nullableType(numberType().int()).optional(),
39571
+ updated_at: nullableType(stringType()).optional(),
39572
+ url: nullableType(stringType()).optional(),
39573
+ url_expires: nullableType(stringType()).optional()
39574
+ }).transform((v2) => {
39575
+ return remap(v2, {
39576
+ file_name: "fileName",
39577
+ content_type: "contentType",
39578
+ file_size: "fileSize",
39579
+ updated_at: "updatedAt",
39580
+ url_expires: "urlExpires"
39581
+ });
39582
+ });
39583
+ VendorCredentialDataRequestFile$outboundSchema = objectType({
39584
+ fileName: nullableType(stringType()).optional(),
39585
+ contentType: nullableType(stringType()).optional(),
39586
+ fileSize: nullableType(numberType().int()).optional(),
39587
+ updatedAt: nullableType(stringType()).optional(),
39588
+ url: nullableType(stringType()).optional(),
39589
+ urlExpires: nullableType(stringType()).optional()
39590
+ }).transform((v2) => {
39591
+ return remap(v2, {
39592
+ fileName: "file_name",
39593
+ contentType: "content_type",
39594
+ fileSize: "file_size",
39595
+ updatedAt: "updated_at",
39596
+ urlExpires: "url_expires"
39597
+ });
39598
+ });
39599
+ ((VendorCredentialDataRequestFile$) => {
39600
+ VendorCredentialDataRequestFile$.inboundSchema = VendorCredentialDataRequestFile$inboundSchema;
39601
+ VendorCredentialDataRequestFile$.outboundSchema = VendorCredentialDataRequestFile$outboundSchema;
39602
+ })(VendorCredentialDataRequestFile$ ||= {});
39603
+ VendorCredentialDataRequest$inboundSchema = objectType({
39604
+ id: numberType().int().optional(),
39605
+ vendor_credential: nullableType(unionType([
39606
+ lazyType(() => VendorCredentialSummary$inboundSchema),
39607
+ numberType().int()
39608
+ ])).optional(),
39609
+ data_request: nullableType(unionType([DataRequest$inboundSchema, numberType().int()])).optional(),
39610
+ date_requested: nullableType(stringType()).optional(),
39611
+ value: nullableType(stringType()).optional(),
39612
+ status: VendorCredentialDataRequestStatus$inboundSchema.optional(),
39613
+ processed: booleanType().optional(),
39614
+ file: lazyType(() => VendorCredentialDataRequestFile$inboundSchema).optional()
39615
+ }).transform((v2) => {
39616
+ return remap(v2, {
39617
+ vendor_credential: "vendorCredential",
39618
+ data_request: "dataRequest",
39619
+ date_requested: "dateRequested"
39620
+ });
39621
+ });
39622
+ VendorCredentialDataRequest$outboundSchema = objectType({
39623
+ id: numberType().int().optional(),
39624
+ vendorCredential: nullableType(unionType([
39625
+ lazyType(() => VendorCredentialSummary$outboundSchema),
39626
+ numberType().int()
39627
+ ])).optional(),
39628
+ dataRequest: nullableType(unionType([DataRequest$outboundSchema, numberType().int()])).optional(),
39629
+ dateRequested: nullableType(stringType()).optional(),
39630
+ value: nullableType(stringType()).optional(),
39631
+ status: VendorCredentialDataRequestStatus$outboundSchema.optional(),
39632
+ processed: booleanType().optional(),
39633
+ file: lazyType(() => VendorCredentialDataRequestFile$outboundSchema).optional()
39634
+ }).transform((v2) => {
39635
+ return remap(v2, {
39636
+ vendorCredential: "vendor_credential",
39637
+ dataRequest: "data_request",
39638
+ dateRequested: "date_requested"
39639
+ });
39640
+ });
39641
+ ((VendorCredentialDataRequest$) => {
39642
+ VendorCredentialDataRequest$.inboundSchema = VendorCredentialDataRequest$inboundSchema;
39643
+ VendorCredentialDataRequest$.outboundSchema = VendorCredentialDataRequest$outboundSchema;
39644
+ })(VendorCredentialDataRequest$ ||= {});
39645
+ });
39646
+
38754
39647
  // src/models/components/vendorcredentialscontainer.ts
38755
39648
  var VendorCredentialsContainer$inboundSchema, VendorCredentialsContainer$outboundSchema, VendorCredentialsContainer$;
38756
39649
  var init_vendorcredentialscontainer = __esm(() => {
@@ -38937,17 +39830,89 @@ var init_vendorrequiredcredential = __esm(() => {
38937
39830
  companyCredentialIds: nullableType(stringType()).optional()
38938
39831
  }).transform((v2) => {
38939
39832
  return remap(v2, {
38940
- vendorId: "vendor_id",
38941
- facilityId: "facility_id",
38942
- credentialIds: "credential_ids",
38943
- dateCalculated: "date_calculated",
38944
- companyCredentialIds: "company_credential_ids"
39833
+ vendorId: "vendor_id",
39834
+ facilityId: "facility_id",
39835
+ credentialIds: "credential_ids",
39836
+ dateCalculated: "date_calculated",
39837
+ companyCredentialIds: "company_credential_ids"
39838
+ });
39839
+ });
39840
+ ((VendorRequiredCredential$) => {
39841
+ VendorRequiredCredential$.inboundSchema = VendorRequiredCredential$inboundSchema;
39842
+ VendorRequiredCredential$.outboundSchema = VendorRequiredCredential$outboundSchema;
39843
+ })(VendorRequiredCredential$ ||= {});
39844
+ });
39845
+
39846
+ // src/models/components/vendorscan.ts
39847
+ var VendorScanDepartment$inboundSchema, VendorScanDepartment$outboundSchema, VendorScanDepartment$, VendorScan$inboundSchema, VendorScan$outboundSchema, VendorScan$;
39848
+ var init_vendorscan = __esm(() => {
39849
+ init_lib();
39850
+ init_primitives();
39851
+ init_department();
39852
+ VendorScanDepartment$inboundSchema = unionType([Department$inboundSchema, numberType().int()]);
39853
+ VendorScanDepartment$outboundSchema = unionType([Department$outboundSchema, numberType().int()]);
39854
+ ((VendorScanDepartment$) => {
39855
+ VendorScanDepartment$.inboundSchema = VendorScanDepartment$inboundSchema;
39856
+ VendorScanDepartment$.outboundSchema = VendorScanDepartment$outboundSchema;
39857
+ })(VendorScanDepartment$ ||= {});
39858
+ VendorScan$inboundSchema = objectType({
39859
+ id: nullableType(numberType().int()).optional(),
39860
+ qr_code: nullableType(stringType()).optional(),
39861
+ date_scanned: nullableType(stringType()).optional(),
39862
+ scan_error: nullableType(stringType()).optional(),
39863
+ reason: nullableType(stringType()).optional(),
39864
+ scan_success: booleanType().optional(),
39865
+ scan_type: nullableType(numberType().int()).optional(),
39866
+ notes: nullableType(stringType()).optional(),
39867
+ vendor: anyType().optional(),
39868
+ zone: anyType().optional(),
39869
+ department: nullableType(unionType([Department$inboundSchema, numberType().int()])).optional(),
39870
+ scan_in_vendor_scan_id: nullableType(numberType().int()).optional(),
39871
+ scan_out_vendor_scan_id: nullableType(numberType().int()).optional(),
39872
+ auto_scan_out: booleanType().optional()
39873
+ }).transform((v2) => {
39874
+ return remap(v2, {
39875
+ qr_code: "qrCode",
39876
+ date_scanned: "dateScanned",
39877
+ scan_error: "scanError",
39878
+ scan_success: "scanSuccess",
39879
+ scan_type: "scanType",
39880
+ scan_in_vendor_scan_id: "scanInVendorScanId",
39881
+ scan_out_vendor_scan_id: "scanOutVendorScanId",
39882
+ auto_scan_out: "autoScanOut"
39883
+ });
39884
+ });
39885
+ VendorScan$outboundSchema = objectType({
39886
+ id: nullableType(numberType().int()).optional(),
39887
+ qrCode: nullableType(stringType()).optional(),
39888
+ dateScanned: nullableType(stringType()).optional(),
39889
+ scanError: nullableType(stringType()).optional(),
39890
+ reason: nullableType(stringType()).optional(),
39891
+ scanSuccess: booleanType().optional(),
39892
+ scanType: nullableType(numberType().int()).optional(),
39893
+ notes: nullableType(stringType()).optional(),
39894
+ vendor: anyType().optional(),
39895
+ zone: anyType().optional(),
39896
+ department: nullableType(unionType([Department$outboundSchema, numberType().int()])).optional(),
39897
+ scanInVendorScanId: nullableType(numberType().int()).optional(),
39898
+ scanOutVendorScanId: nullableType(numberType().int()).optional(),
39899
+ autoScanOut: booleanType().optional()
39900
+ }).transform((v2) => {
39901
+ return remap(v2, {
39902
+ qrCode: "qr_code",
39903
+ dateScanned: "date_scanned",
39904
+ scanError: "scan_error",
39905
+ scanSuccess: "scan_success",
39906
+ scanType: "scan_type",
39907
+ scanInVendorScanId: "scan_in_vendor_scan_id",
39908
+ scanOutVendorScanId: "scan_out_vendor_scan_id",
39909
+ autoScanOut: "auto_scan_out"
38945
39910
  });
38946
39911
  });
38947
- ((VendorRequiredCredential$) => {
38948
- VendorRequiredCredential$.inboundSchema = VendorRequiredCredential$inboundSchema;
38949
- VendorRequiredCredential$.outboundSchema = VendorRequiredCredential$outboundSchema;
38950
- })(VendorRequiredCredential$ ||= {});
39912
+ ((VendorScan$) => {
39913
+ VendorScan$.inboundSchema = VendorScan$inboundSchema;
39914
+ VendorScan$.outboundSchema = VendorScan$outboundSchema;
39915
+ })(VendorScan$ ||= {});
38951
39916
  });
38952
39917
 
38953
39918
  // src/models/components/vendorscrubdetails.ts
@@ -39105,10 +40070,14 @@ var init_webhookendpoint = __esm(() => {
39105
40070
  // src/models/components/index.ts
39106
40071
  var init_components = __esm(() => {
39107
40072
  init_activestatus();
40073
+ init_backgroundcheckresult();
39108
40074
  init_company();
39109
40075
  init_contact();
40076
+ init_credential();
40077
+ init_credentialdocument();
39110
40078
  init_credentialstatus();
39111
40079
  init_credit();
40080
+ init_datarequest();
39112
40081
  init_department();
39113
40082
  init_departmentsummary();
39114
40083
  init_desc();
@@ -39125,9 +40094,11 @@ var init_components = __esm(() => {
39125
40094
  init_mfarequiredresponse();
39126
40095
  init_pager();
39127
40096
  init_passwordrequiredresponse();
40097
+ init_product();
39128
40098
  init_productvariant();
39129
40099
  init_samlloginrequiredresponse();
39130
40100
  init_scantype();
40101
+ init_screeningresponse();
39131
40102
  init_security2();
39132
40103
  init_state();
39133
40104
  init_subscription();
@@ -39138,12 +40109,15 @@ var init_components = __esm(() => {
39138
40109
  init_userlocation();
39139
40110
  init_vendor();
39140
40111
  init_vendoradditionalfacilityfields();
40112
+ init_vendorcredentialdatarequest();
40113
+ init_vendorcredentialfile();
39141
40114
  init_vendorcredentialscontainer();
39142
40115
  init_vendorcredentialsummary();
39143
40116
  init_vendorfacilitystatusview();
39144
40117
  init_vendorjobtitle();
39145
40118
  init_vendormanagedbycompany();
39146
40119
  init_vendorrequiredcredential();
40120
+ init_vendorscan();
39147
40121
  init_vendorscrubdetails();
39148
40122
  init_vendorscrubpurchase();
39149
40123
  init_vendortype();
@@ -39268,7 +40242,7 @@ var init_createvendorregistration = __esm(() => {
39268
40242
  });
39269
40243
 
39270
40244
  // src/models/operations/deletevendormanagedbycompany.ts
39271
- var DeleteVendorManagedByCompanyRequestBody$inboundSchema, DeleteVendorManagedByCompanyRequestBody$outboundSchema, DeleteVendorManagedByCompanyRequestBody$, DeleteVendorManagedByCompanyRequest$inboundSchema, DeleteVendorManagedByCompanyRequest$outboundSchema, DeleteVendorManagedByCompanyRequest$, DeleteVendorManagedByCompanyResponseBody$inboundSchema, DeleteVendorManagedByCompanyResponseBody$outboundSchema, DeleteVendorManagedByCompanyResponseBody$;
40245
+ var DeleteVendorManagedByCompanyRequestBody$inboundSchema, DeleteVendorManagedByCompanyRequestBody$outboundSchema, DeleteVendorManagedByCompanyRequestBody$, DeleteVendorManagedByCompanyRequest$inboundSchema, DeleteVendorManagedByCompanyRequest$outboundSchema, DeleteVendorManagedByCompanyRequest$, DeleteVendorManagedByCompanyDeleteVendorManagedByCompanyOk$inboundSchema, DeleteVendorManagedByCompanyDeleteVendorManagedByCompanyOk$outboundSchema, DeleteVendorManagedByCompanyDeleteVendorManagedByCompanyOk$;
39272
40246
  var init_deletevendormanagedbycompany = __esm(() => {
39273
40247
  init_lib();
39274
40248
  init_primitives();
@@ -39312,20 +40286,20 @@ var init_deletevendormanagedbycompany = __esm(() => {
39312
40286
  DeleteVendorManagedByCompanyRequest$.inboundSchema = DeleteVendorManagedByCompanyRequest$inboundSchema;
39313
40287
  DeleteVendorManagedByCompanyRequest$.outboundSchema = DeleteVendorManagedByCompanyRequest$outboundSchema;
39314
40288
  })(DeleteVendorManagedByCompanyRequest$ ||= {});
39315
- DeleteVendorManagedByCompanyResponseBody$inboundSchema = objectType({
40289
+ DeleteVendorManagedByCompanyDeleteVendorManagedByCompanyOk$inboundSchema = objectType({
39316
40290
  success: booleanType()
39317
40291
  });
39318
- DeleteVendorManagedByCompanyResponseBody$outboundSchema = objectType({
40292
+ DeleteVendorManagedByCompanyDeleteVendorManagedByCompanyOk$outboundSchema = objectType({
39319
40293
  success: booleanType()
39320
40294
  });
39321
- ((DeleteVendorManagedByCompanyResponseBody$) => {
39322
- DeleteVendorManagedByCompanyResponseBody$.inboundSchema = DeleteVendorManagedByCompanyResponseBody$inboundSchema;
39323
- DeleteVendorManagedByCompanyResponseBody$.outboundSchema = DeleteVendorManagedByCompanyResponseBody$outboundSchema;
39324
- })(DeleteVendorManagedByCompanyResponseBody$ ||= {});
40295
+ ((DeleteVendorManagedByCompanyDeleteVendorManagedByCompanyOk$) => {
40296
+ DeleteVendorManagedByCompanyDeleteVendorManagedByCompanyOk$.inboundSchema = DeleteVendorManagedByCompanyDeleteVendorManagedByCompanyOk$inboundSchema;
40297
+ DeleteVendorManagedByCompanyDeleteVendorManagedByCompanyOk$.outboundSchema = DeleteVendorManagedByCompanyDeleteVendorManagedByCompanyOk$outboundSchema;
40298
+ })(DeleteVendorManagedByCompanyDeleteVendorManagedByCompanyOk$ ||= {});
39325
40299
  });
39326
40300
 
39327
40301
  // src/models/operations/expeditetimeremaining.ts
39328
- var ExpediteTimeRemainingRequest$inboundSchema, ExpediteTimeRemainingRequest$outboundSchema, ExpediteTimeRemainingRequest$, ExpediteTimeRemainingResponseBody$inboundSchema, ExpediteTimeRemainingResponseBody$outboundSchema, ExpediteTimeRemainingResponseBody$;
40302
+ var ExpediteTimeRemainingRequest$inboundSchema, ExpediteTimeRemainingRequest$outboundSchema, ExpediteTimeRemainingRequest$, ExpediteTimeRemainingGetExpediteTimeRemainingOk$inboundSchema, ExpediteTimeRemainingGetExpediteTimeRemainingOk$outboundSchema, ExpediteTimeRemainingGetExpediteTimeRemainingOk$;
39329
40303
  var init_expeditetimeremaining = __esm(() => {
39330
40304
  init_lib();
39331
40305
  init_primitives();
@@ -39347,24 +40321,24 @@ var init_expeditetimeremaining = __esm(() => {
39347
40321
  ExpediteTimeRemainingRequest$.inboundSchema = ExpediteTimeRemainingRequest$inboundSchema;
39348
40322
  ExpediteTimeRemainingRequest$.outboundSchema = ExpediteTimeRemainingRequest$outboundSchema;
39349
40323
  })(ExpediteTimeRemainingRequest$ ||= {});
39350
- ExpediteTimeRemainingResponseBody$inboundSchema = objectType({
40324
+ ExpediteTimeRemainingGetExpediteTimeRemainingOk$inboundSchema = objectType({
39351
40325
  seconds_remaining: numberType().int()
39352
40326
  }).transform((v2) => {
39353
40327
  return remap(v2, {
39354
40328
  seconds_remaining: "secondsRemaining"
39355
40329
  });
39356
40330
  });
39357
- ExpediteTimeRemainingResponseBody$outboundSchema = objectType({
40331
+ ExpediteTimeRemainingGetExpediteTimeRemainingOk$outboundSchema = objectType({
39358
40332
  secondsRemaining: numberType().int()
39359
40333
  }).transform((v2) => {
39360
40334
  return remap(v2, {
39361
40335
  secondsRemaining: "seconds_remaining"
39362
40336
  });
39363
40337
  });
39364
- ((ExpediteTimeRemainingResponseBody$) => {
39365
- ExpediteTimeRemainingResponseBody$.inboundSchema = ExpediteTimeRemainingResponseBody$inboundSchema;
39366
- ExpediteTimeRemainingResponseBody$.outboundSchema = ExpediteTimeRemainingResponseBody$outboundSchema;
39367
- })(ExpediteTimeRemainingResponseBody$ ||= {});
40338
+ ((ExpediteTimeRemainingGetExpediteTimeRemainingOk$) => {
40339
+ ExpediteTimeRemainingGetExpediteTimeRemainingOk$.inboundSchema = ExpediteTimeRemainingGetExpediteTimeRemainingOk$inboundSchema;
40340
+ ExpediteTimeRemainingGetExpediteTimeRemainingOk$.outboundSchema = ExpediteTimeRemainingGetExpediteTimeRemainingOk$outboundSchema;
40341
+ })(ExpediteTimeRemainingGetExpediteTimeRemainingOk$ ||= {});
39368
40342
  });
39369
40343
 
39370
40344
  // src/models/operations/getfacility.ts
@@ -39418,6 +40392,54 @@ var init_getuserbyid = __esm(() => {
39418
40392
  })(GetUserByIdRequest$ ||= {});
39419
40393
  });
39420
40394
 
40395
+ // src/models/operations/getvendorcredentialdetails.ts
40396
+ var GetVendorCredentialDetailsRequest$inboundSchema, GetVendorCredentialDetailsRequest$outboundSchema, GetVendorCredentialDetailsRequest$, GetVendorCredentialDetailsResponseBody$inboundSchema, GetVendorCredentialDetailsResponseBody$outboundSchema, GetVendorCredentialDetailsResponseBody$;
40397
+ var init_getvendorcredentialdetails = __esm(() => {
40398
+ init_lib();
40399
+ init_primitives();
40400
+ init_components();
40401
+ GetVendorCredentialDetailsRequest$inboundSchema = objectType({
40402
+ vendor_id_or_me: stringType(),
40403
+ id: numberType().int(),
40404
+ expand: arrayType(Expand$inboundSchema).optional()
40405
+ }).transform((v2) => {
40406
+ return remap(v2, {
40407
+ vendor_id_or_me: "vendorIdOrMe"
40408
+ });
40409
+ });
40410
+ GetVendorCredentialDetailsRequest$outboundSchema = objectType({
40411
+ vendorIdOrMe: stringType(),
40412
+ id: numberType().int(),
40413
+ expand: arrayType(Expand$outboundSchema).optional()
40414
+ }).transform((v2) => {
40415
+ return remap(v2, {
40416
+ vendorIdOrMe: "vendor_id_or_me"
40417
+ });
40418
+ });
40419
+ ((GetVendorCredentialDetailsRequest$) => {
40420
+ GetVendorCredentialDetailsRequest$.inboundSchema = GetVendorCredentialDetailsRequest$inboundSchema;
40421
+ GetVendorCredentialDetailsRequest$.outboundSchema = GetVendorCredentialDetailsRequest$outboundSchema;
40422
+ })(GetVendorCredentialDetailsRequest$ ||= {});
40423
+ GetVendorCredentialDetailsResponseBody$inboundSchema = objectType({
40424
+ vendor_credential: nullableType(VendorCredentialSummary$inboundSchema).optional()
40425
+ }).transform((v2) => {
40426
+ return remap(v2, {
40427
+ vendor_credential: "vendorCredential"
40428
+ });
40429
+ });
40430
+ GetVendorCredentialDetailsResponseBody$outboundSchema = objectType({
40431
+ vendorCredential: nullableType(VendorCredentialSummary$outboundSchema).optional()
40432
+ }).transform((v2) => {
40433
+ return remap(v2, {
40434
+ vendorCredential: "vendor_credential"
40435
+ });
40436
+ });
40437
+ ((GetVendorCredentialDetailsResponseBody$) => {
40438
+ GetVendorCredentialDetailsResponseBody$.inboundSchema = GetVendorCredentialDetailsResponseBody$inboundSchema;
40439
+ GetVendorCredentialDetailsResponseBody$.outboundSchema = GetVendorCredentialDetailsResponseBody$outboundSchema;
40440
+ })(GetVendorCredentialDetailsResponseBody$ ||= {});
40441
+ });
40442
+
39421
40443
  // src/models/operations/getvendorinvoicedetails.ts
39422
40444
  var GetVendorInvoiceDetailsRequest$inboundSchema, GetVendorInvoiceDetailsRequest$outboundSchema, GetVendorInvoiceDetailsRequest$;
39423
40445
  var init_getvendorinvoicedetails = __esm(() => {
@@ -39482,7 +40504,7 @@ var init_getwebhookendpoint = __esm(() => {
39482
40504
  });
39483
40505
 
39484
40506
  // src/models/operations/listallwebhookendpoints.ts
39485
- var ListAllWebhookEndpointsRequest$inboundSchema, ListAllWebhookEndpointsRequest$outboundSchema, ListAllWebhookEndpointsRequest$, ListAllWebhookEndpointsResponseBody$inboundSchema, ListAllWebhookEndpointsResponseBody$outboundSchema, ListAllWebhookEndpointsResponseBody$;
40507
+ var ListAllWebhookEndpointsRequest$inboundSchema, ListAllWebhookEndpointsRequest$outboundSchema, ListAllWebhookEndpointsRequest$, ListAllWebhookEndpointsListAllWebhookEndpointsOk$inboundSchema, ListAllWebhookEndpointsListAllWebhookEndpointsOk$outboundSchema, ListAllWebhookEndpointsListAllWebhookEndpointsOk$;
39486
40508
  var init_listallwebhookendpoints = __esm(() => {
39487
40509
  init_lib();
39488
40510
  init_primitives();
@@ -39511,18 +40533,18 @@ var init_listallwebhookendpoints = __esm(() => {
39511
40533
  ListAllWebhookEndpointsRequest$.inboundSchema = ListAllWebhookEndpointsRequest$inboundSchema;
39512
40534
  ListAllWebhookEndpointsRequest$.outboundSchema = ListAllWebhookEndpointsRequest$outboundSchema;
39513
40535
  })(ListAllWebhookEndpointsRequest$ ||= {});
39514
- ListAllWebhookEndpointsResponseBody$inboundSchema = objectType({
40536
+ ListAllWebhookEndpointsListAllWebhookEndpointsOk$inboundSchema = objectType({
39515
40537
  pager: Pager$inboundSchema,
39516
40538
  items: arrayType(WebhookEndpoint$inboundSchema)
39517
40539
  });
39518
- ListAllWebhookEndpointsResponseBody$outboundSchema = objectType({
40540
+ ListAllWebhookEndpointsListAllWebhookEndpointsOk$outboundSchema = objectType({
39519
40541
  pager: Pager$outboundSchema,
39520
40542
  items: arrayType(WebhookEndpoint$outboundSchema)
39521
40543
  });
39522
- ((ListAllWebhookEndpointsResponseBody$) => {
39523
- ListAllWebhookEndpointsResponseBody$.inboundSchema = ListAllWebhookEndpointsResponseBody$inboundSchema;
39524
- ListAllWebhookEndpointsResponseBody$.outboundSchema = ListAllWebhookEndpointsResponseBody$outboundSchema;
39525
- })(ListAllWebhookEndpointsResponseBody$ ||= {});
40544
+ ((ListAllWebhookEndpointsListAllWebhookEndpointsOk$) => {
40545
+ ListAllWebhookEndpointsListAllWebhookEndpointsOk$.inboundSchema = ListAllWebhookEndpointsListAllWebhookEndpointsOk$inboundSchema;
40546
+ ListAllWebhookEndpointsListAllWebhookEndpointsOk$.outboundSchema = ListAllWebhookEndpointsListAllWebhookEndpointsOk$outboundSchema;
40547
+ })(ListAllWebhookEndpointsListAllWebhookEndpointsOk$ ||= {});
39526
40548
  });
39527
40549
 
39528
40550
  // src/models/operations/listorsearchcompanies.ts
@@ -39824,7 +40846,7 @@ var init_listorsearchsupportarticles = __esm(() => {
39824
40846
  });
39825
40847
 
39826
40848
  // src/models/operations/listvendoradditionalfacilityfields.ts
39827
- var ListVendorAdditionalFacilityFieldsRequest$inboundSchema, ListVendorAdditionalFacilityFieldsRequest$outboundSchema, ListVendorAdditionalFacilityFieldsRequest$, ListVendorAdditionalFacilityFieldsResponseBody$inboundSchema, ListVendorAdditionalFacilityFieldsResponseBody$outboundSchema, ListVendorAdditionalFacilityFieldsResponseBody$, ListVendorAdditionalFacilityFieldsResponse$inboundSchema, ListVendorAdditionalFacilityFieldsResponse$outboundSchema, ListVendorAdditionalFacilityFieldsResponse$;
40849
+ var ListVendorAdditionalFacilityFieldsRequest$inboundSchema, ListVendorAdditionalFacilityFieldsRequest$outboundSchema, ListVendorAdditionalFacilityFieldsRequest$, ListVendorAdditionalFacilityFieldsListVendorAdditionalFacilityFieldsOk$inboundSchema, ListVendorAdditionalFacilityFieldsListVendorAdditionalFacilityFieldsOk$outboundSchema, ListVendorAdditionalFacilityFieldsListVendorAdditionalFacilityFieldsOk$, ListVendorAdditionalFacilityFieldsResponse$inboundSchema, ListVendorAdditionalFacilityFieldsResponse$outboundSchema, ListVendorAdditionalFacilityFieldsResponse$;
39828
40850
  var init_listvendoradditionalfacilityfields = __esm(() => {
39829
40851
  init_lib();
39830
40852
  init_primitives();
@@ -39857,27 +40879,27 @@ var init_listvendoradditionalfacilityfields = __esm(() => {
39857
40879
  ListVendorAdditionalFacilityFieldsRequest$.inboundSchema = ListVendorAdditionalFacilityFieldsRequest$inboundSchema;
39858
40880
  ListVendorAdditionalFacilityFieldsRequest$.outboundSchema = ListVendorAdditionalFacilityFieldsRequest$outboundSchema;
39859
40881
  })(ListVendorAdditionalFacilityFieldsRequest$ ||= {});
39860
- ListVendorAdditionalFacilityFieldsResponseBody$inboundSchema = objectType({
40882
+ ListVendorAdditionalFacilityFieldsListVendorAdditionalFacilityFieldsOk$inboundSchema = objectType({
39861
40883
  items: arrayType(VendorAdditionalFacilityFields$inboundSchema),
39862
40884
  pager: Pager$inboundSchema
39863
40885
  });
39864
- ListVendorAdditionalFacilityFieldsResponseBody$outboundSchema = objectType({
40886
+ ListVendorAdditionalFacilityFieldsListVendorAdditionalFacilityFieldsOk$outboundSchema = objectType({
39865
40887
  items: arrayType(VendorAdditionalFacilityFields$outboundSchema),
39866
40888
  pager: Pager$outboundSchema
39867
40889
  });
39868
- ((ListVendorAdditionalFacilityFieldsResponseBody$) => {
39869
- ListVendorAdditionalFacilityFieldsResponseBody$.inboundSchema = ListVendorAdditionalFacilityFieldsResponseBody$inboundSchema;
39870
- ListVendorAdditionalFacilityFieldsResponseBody$.outboundSchema = ListVendorAdditionalFacilityFieldsResponseBody$outboundSchema;
39871
- })(ListVendorAdditionalFacilityFieldsResponseBody$ ||= {});
40890
+ ((ListVendorAdditionalFacilityFieldsListVendorAdditionalFacilityFieldsOk$) => {
40891
+ ListVendorAdditionalFacilityFieldsListVendorAdditionalFacilityFieldsOk$.inboundSchema = ListVendorAdditionalFacilityFieldsListVendorAdditionalFacilityFieldsOk$inboundSchema;
40892
+ ListVendorAdditionalFacilityFieldsListVendorAdditionalFacilityFieldsOk$.outboundSchema = ListVendorAdditionalFacilityFieldsListVendorAdditionalFacilityFieldsOk$outboundSchema;
40893
+ })(ListVendorAdditionalFacilityFieldsListVendorAdditionalFacilityFieldsOk$ ||= {});
39872
40894
  ListVendorAdditionalFacilityFieldsResponse$inboundSchema = objectType({
39873
- Result: lazyType(() => ListVendorAdditionalFacilityFieldsResponseBody$inboundSchema)
40895
+ Result: lazyType(() => ListVendorAdditionalFacilityFieldsListVendorAdditionalFacilityFieldsOk$inboundSchema)
39874
40896
  }).transform((v2) => {
39875
40897
  return remap(v2, {
39876
40898
  Result: "result"
39877
40899
  });
39878
40900
  });
39879
40901
  ListVendorAdditionalFacilityFieldsResponse$outboundSchema = objectType({
39880
- result: lazyType(() => ListVendorAdditionalFacilityFieldsResponseBody$outboundSchema)
40902
+ result: lazyType(() => ListVendorAdditionalFacilityFieldsListVendorAdditionalFacilityFieldsOk$outboundSchema)
39881
40903
  }).transform((v2) => {
39882
40904
  return remap(v2, {
39883
40905
  result: "Result"
@@ -39890,7 +40912,7 @@ var init_listvendoradditionalfacilityfields = __esm(() => {
39890
40912
  });
39891
40913
 
39892
40914
  // src/models/operations/listvendorcredentials.ts
39893
- var ListVendorCredentialsRequest$inboundSchema, ListVendorCredentialsRequest$outboundSchema, ListVendorCredentialsRequest$, Credentials$inboundSchema, Credentials$outboundSchema, Credentials$, Pager$inboundSchema2, Pager$outboundSchema2, Pager$2, ListVendorCredentialsResponseBody$inboundSchema, ListVendorCredentialsResponseBody$outboundSchema, ListVendorCredentialsResponseBody$, ListVendorCredentialsResponse$inboundSchema, ListVendorCredentialsResponse$outboundSchema, ListVendorCredentialsResponse$;
40915
+ var ListVendorCredentialsRequest$inboundSchema, ListVendorCredentialsRequest$outboundSchema, ListVendorCredentialsRequest$, Credentials$inboundSchema, Credentials$outboundSchema, Credentials$, Pager$inboundSchema2, Pager$outboundSchema2, Pager$2, ListVendorCredentialsGetCredentialsOk$inboundSchema, ListVendorCredentialsGetCredentialsOk$outboundSchema, ListVendorCredentialsGetCredentialsOk$, ListVendorCredentialsResponse$inboundSchema, ListVendorCredentialsResponse$outboundSchema, ListVendorCredentialsResponse$;
39894
40916
  var init_listvendorcredentials = __esm(() => {
39895
40917
  init_lib();
39896
40918
  init_primitives();
@@ -39967,41 +40989,41 @@ var init_listvendorcredentials = __esm(() => {
39967
40989
  Pager$.inboundSchema = Pager$inboundSchema2;
39968
40990
  Pager$.outboundSchema = Pager$outboundSchema2;
39969
40991
  })(Pager$2 ||= {});
39970
- ListVendorCredentialsResponseBody$inboundSchema = objectType({
39971
- vendor_required_credentials: nullableType(VendorRequiredCredential$inboundSchema).optional(),
39972
- credentials: arrayType(lazyType(() => Credentials$inboundSchema)).optional(),
39973
- vendor_credentials: recordType(VendorCredentialsContainer$inboundSchema).optional(),
39974
- pager: nullableType(lazyType(() => Pager$inboundSchema2)).optional()
40992
+ ListVendorCredentialsGetCredentialsOk$inboundSchema = objectType({
40993
+ vendor_required_credentials: nullableType(VendorRequiredCredential$inboundSchema),
40994
+ credentials: arrayType(lazyType(() => Credentials$inboundSchema)),
40995
+ vendor_credentials: recordType(VendorCredentialsContainer$inboundSchema),
40996
+ pager: nullableType(lazyType(() => Pager$inboundSchema2))
39975
40997
  }).transform((v2) => {
39976
40998
  return remap(v2, {
39977
40999
  vendor_required_credentials: "vendorRequiredCredentials",
39978
41000
  vendor_credentials: "vendorCredentials"
39979
41001
  });
39980
41002
  });
39981
- ListVendorCredentialsResponseBody$outboundSchema = objectType({
39982
- vendorRequiredCredentials: nullableType(VendorRequiredCredential$outboundSchema).optional(),
39983
- credentials: arrayType(lazyType(() => Credentials$outboundSchema)).optional(),
39984
- vendorCredentials: recordType(VendorCredentialsContainer$outboundSchema).optional(),
39985
- pager: nullableType(lazyType(() => Pager$outboundSchema2)).optional()
41003
+ ListVendorCredentialsGetCredentialsOk$outboundSchema = objectType({
41004
+ vendorRequiredCredentials: nullableType(VendorRequiredCredential$outboundSchema),
41005
+ credentials: arrayType(lazyType(() => Credentials$outboundSchema)),
41006
+ vendorCredentials: recordType(VendorCredentialsContainer$outboundSchema),
41007
+ pager: nullableType(lazyType(() => Pager$outboundSchema2))
39986
41008
  }).transform((v2) => {
39987
41009
  return remap(v2, {
39988
41010
  vendorRequiredCredentials: "vendor_required_credentials",
39989
41011
  vendorCredentials: "vendor_credentials"
39990
41012
  });
39991
41013
  });
39992
- ((ListVendorCredentialsResponseBody$) => {
39993
- ListVendorCredentialsResponseBody$.inboundSchema = ListVendorCredentialsResponseBody$inboundSchema;
39994
- ListVendorCredentialsResponseBody$.outboundSchema = ListVendorCredentialsResponseBody$outboundSchema;
39995
- })(ListVendorCredentialsResponseBody$ ||= {});
41014
+ ((ListVendorCredentialsGetCredentialsOk$) => {
41015
+ ListVendorCredentialsGetCredentialsOk$.inboundSchema = ListVendorCredentialsGetCredentialsOk$inboundSchema;
41016
+ ListVendorCredentialsGetCredentialsOk$.outboundSchema = ListVendorCredentialsGetCredentialsOk$outboundSchema;
41017
+ })(ListVendorCredentialsGetCredentialsOk$ ||= {});
39996
41018
  ListVendorCredentialsResponse$inboundSchema = objectType({
39997
- Result: lazyType(() => ListVendorCredentialsResponseBody$inboundSchema)
41019
+ Result: lazyType(() => ListVendorCredentialsGetCredentialsOk$inboundSchema)
39998
41020
  }).transform((v2) => {
39999
41021
  return remap(v2, {
40000
41022
  Result: "result"
40001
41023
  });
40002
41024
  });
40003
41025
  ListVendorCredentialsResponse$outboundSchema = objectType({
40004
- result: lazyType(() => ListVendorCredentialsResponseBody$outboundSchema)
41026
+ result: lazyType(() => ListVendorCredentialsGetCredentialsOk$outboundSchema)
40005
41027
  }).transform((v2) => {
40006
41028
  return remap(v2, {
40007
41029
  result: "Result"
@@ -40014,7 +41036,7 @@ var init_listvendorcredentials = __esm(() => {
40014
41036
  });
40015
41037
 
40016
41038
  // src/models/operations/listvendorcredits.ts
40017
- var ListVendorCreditsRequest$inboundSchema, ListVendorCreditsRequest$outboundSchema, ListVendorCreditsRequest$, ListVendorCreditsResponseBody$inboundSchema, ListVendorCreditsResponseBody$outboundSchema, ListVendorCreditsResponseBody$, ListVendorCreditsResponse$inboundSchema, ListVendorCreditsResponse$outboundSchema, ListVendorCreditsResponse$;
41039
+ var ListVendorCreditsRequest$inboundSchema, ListVendorCreditsRequest$outboundSchema, ListVendorCreditsRequest$, ListVendorCreditsListVendorCreditsOk$inboundSchema, ListVendorCreditsListVendorCreditsOk$outboundSchema, ListVendorCreditsListVendorCreditsOk$, ListVendorCreditsResponse$inboundSchema, ListVendorCreditsResponse$outboundSchema, ListVendorCreditsResponse$;
40018
41040
  var init_listvendorcredits = __esm(() => {
40019
41041
  init_lib();
40020
41042
  init_primitives();
@@ -40047,27 +41069,27 @@ var init_listvendorcredits = __esm(() => {
40047
41069
  ListVendorCreditsRequest$.inboundSchema = ListVendorCreditsRequest$inboundSchema;
40048
41070
  ListVendorCreditsRequest$.outboundSchema = ListVendorCreditsRequest$outboundSchema;
40049
41071
  })(ListVendorCreditsRequest$ ||= {});
40050
- ListVendorCreditsResponseBody$inboundSchema = objectType({
41072
+ ListVendorCreditsListVendorCreditsOk$inboundSchema = objectType({
40051
41073
  items: arrayType(Credit$inboundSchema),
40052
41074
  pager: Pager$inboundSchema
40053
41075
  });
40054
- ListVendorCreditsResponseBody$outboundSchema = objectType({
41076
+ ListVendorCreditsListVendorCreditsOk$outboundSchema = objectType({
40055
41077
  items: arrayType(Credit$outboundSchema),
40056
41078
  pager: Pager$outboundSchema
40057
41079
  });
40058
- ((ListVendorCreditsResponseBody$) => {
40059
- ListVendorCreditsResponseBody$.inboundSchema = ListVendorCreditsResponseBody$inboundSchema;
40060
- ListVendorCreditsResponseBody$.outboundSchema = ListVendorCreditsResponseBody$outboundSchema;
40061
- })(ListVendorCreditsResponseBody$ ||= {});
41080
+ ((ListVendorCreditsListVendorCreditsOk$) => {
41081
+ ListVendorCreditsListVendorCreditsOk$.inboundSchema = ListVendorCreditsListVendorCreditsOk$inboundSchema;
41082
+ ListVendorCreditsListVendorCreditsOk$.outboundSchema = ListVendorCreditsListVendorCreditsOk$outboundSchema;
41083
+ })(ListVendorCreditsListVendorCreditsOk$ ||= {});
40062
41084
  ListVendorCreditsResponse$inboundSchema = objectType({
40063
- Result: lazyType(() => ListVendorCreditsResponseBody$inboundSchema)
41085
+ Result: lazyType(() => ListVendorCreditsListVendorCreditsOk$inboundSchema)
40064
41086
  }).transform((v2) => {
40065
41087
  return remap(v2, {
40066
41088
  Result: "result"
40067
41089
  });
40068
41090
  });
40069
41091
  ListVendorCreditsResponse$outboundSchema = objectType({
40070
- result: lazyType(() => ListVendorCreditsResponseBody$outboundSchema)
41092
+ result: lazyType(() => ListVendorCreditsListVendorCreditsOk$outboundSchema)
40071
41093
  }).transform((v2) => {
40072
41094
  return remap(v2, {
40073
41095
  result: "Result"
@@ -40080,7 +41102,7 @@ var init_listvendorcredits = __esm(() => {
40080
41102
  });
40081
41103
 
40082
41104
  // src/models/operations/listvendorfacilitystatuses.ts
40083
- var ListVendorFacilityStatusesRequest$inboundSchema, ListVendorFacilityStatusesRequest$outboundSchema, ListVendorFacilityStatusesRequest$, ListVendorFacilityStatusesResponseBody$inboundSchema, ListVendorFacilityStatusesResponseBody$outboundSchema, ListVendorFacilityStatusesResponseBody$, ListVendorFacilityStatusesResponse$inboundSchema, ListVendorFacilityStatusesResponse$outboundSchema, ListVendorFacilityStatusesResponse$;
41105
+ var ListVendorFacilityStatusesRequest$inboundSchema, ListVendorFacilityStatusesRequest$outboundSchema, ListVendorFacilityStatusesRequest$, ListVendorFacilityStatusesListVendorFacilityStatusesOk$inboundSchema, ListVendorFacilityStatusesListVendorFacilityStatusesOk$outboundSchema, ListVendorFacilityStatusesListVendorFacilityStatusesOk$, ListVendorFacilityStatusesResponse$inboundSchema, ListVendorFacilityStatusesResponse$outboundSchema, ListVendorFacilityStatusesResponse$;
40084
41106
  var init_listvendorfacilitystatuses = __esm(() => {
40085
41107
  init_lib();
40086
41108
  init_primitives();
@@ -40117,27 +41139,27 @@ var init_listvendorfacilitystatuses = __esm(() => {
40117
41139
  ListVendorFacilityStatusesRequest$.inboundSchema = ListVendorFacilityStatusesRequest$inboundSchema;
40118
41140
  ListVendorFacilityStatusesRequest$.outboundSchema = ListVendorFacilityStatusesRequest$outboundSchema;
40119
41141
  })(ListVendorFacilityStatusesRequest$ ||= {});
40120
- ListVendorFacilityStatusesResponseBody$inboundSchema = objectType({
41142
+ ListVendorFacilityStatusesListVendorFacilityStatusesOk$inboundSchema = objectType({
40121
41143
  items: arrayType(VendorFacilityStatusView$inboundSchema),
40122
41144
  pager: Pager$inboundSchema
40123
41145
  });
40124
- ListVendorFacilityStatusesResponseBody$outboundSchema = objectType({
41146
+ ListVendorFacilityStatusesListVendorFacilityStatusesOk$outboundSchema = objectType({
40125
41147
  items: arrayType(VendorFacilityStatusView$outboundSchema),
40126
41148
  pager: Pager$outboundSchema
40127
41149
  });
40128
- ((ListVendorFacilityStatusesResponseBody$) => {
40129
- ListVendorFacilityStatusesResponseBody$.inboundSchema = ListVendorFacilityStatusesResponseBody$inboundSchema;
40130
- ListVendorFacilityStatusesResponseBody$.outboundSchema = ListVendorFacilityStatusesResponseBody$outboundSchema;
40131
- })(ListVendorFacilityStatusesResponseBody$ ||= {});
41150
+ ((ListVendorFacilityStatusesListVendorFacilityStatusesOk$) => {
41151
+ ListVendorFacilityStatusesListVendorFacilityStatusesOk$.inboundSchema = ListVendorFacilityStatusesListVendorFacilityStatusesOk$inboundSchema;
41152
+ ListVendorFacilityStatusesListVendorFacilityStatusesOk$.outboundSchema = ListVendorFacilityStatusesListVendorFacilityStatusesOk$outboundSchema;
41153
+ })(ListVendorFacilityStatusesListVendorFacilityStatusesOk$ ||= {});
40132
41154
  ListVendorFacilityStatusesResponse$inboundSchema = objectType({
40133
- Result: lazyType(() => ListVendorFacilityStatusesResponseBody$inboundSchema)
41155
+ Result: lazyType(() => ListVendorFacilityStatusesListVendorFacilityStatusesOk$inboundSchema)
40134
41156
  }).transform((v2) => {
40135
41157
  return remap(v2, {
40136
41158
  Result: "result"
40137
41159
  });
40138
41160
  });
40139
41161
  ListVendorFacilityStatusesResponse$outboundSchema = objectType({
40140
- result: lazyType(() => ListVendorFacilityStatusesResponseBody$outboundSchema)
41162
+ result: lazyType(() => ListVendorFacilityStatusesListVendorFacilityStatusesOk$outboundSchema)
40141
41163
  }).transform((v2) => {
40142
41164
  return remap(v2, {
40143
41165
  result: "Result"
@@ -40150,7 +41172,7 @@ var init_listvendorfacilitystatuses = __esm(() => {
40150
41172
  });
40151
41173
 
40152
41174
  // src/models/operations/listvendorinvoices.ts
40153
- var InvoiceFinancialStatus, InvoiceFinancialStatus$inboundSchema, InvoiceFinancialStatus$outboundSchema, InvoiceFinancialStatus$, ListVendorInvoicesRequest$inboundSchema, ListVendorInvoicesRequest$outboundSchema, ListVendorInvoicesRequest$, ListVendorInvoicesResponseBody$inboundSchema, ListVendorInvoicesResponseBody$outboundSchema, ListVendorInvoicesResponseBody$, ListVendorInvoicesResponse$inboundSchema, ListVendorInvoicesResponse$outboundSchema, ListVendorInvoicesResponse$;
41175
+ var InvoiceFinancialStatus, InvoiceFinancialStatus$inboundSchema, InvoiceFinancialStatus$outboundSchema, InvoiceFinancialStatus$, ListVendorInvoicesRequest$inboundSchema, ListVendorInvoicesRequest$outboundSchema, ListVendorInvoicesRequest$, ListVendorInvoicesListVendorInvoicesOk$inboundSchema, ListVendorInvoicesListVendorInvoicesOk$outboundSchema, ListVendorInvoicesListVendorInvoicesOk$, ListVendorInvoicesResponse$inboundSchema, ListVendorInvoicesResponse$outboundSchema, ListVendorInvoicesResponse$;
40154
41176
  var init_listvendorinvoices = __esm(() => {
40155
41177
  init_lib();
40156
41178
  init_primitives();
@@ -40203,27 +41225,27 @@ var init_listvendorinvoices = __esm(() => {
40203
41225
  ListVendorInvoicesRequest$.inboundSchema = ListVendorInvoicesRequest$inboundSchema;
40204
41226
  ListVendorInvoicesRequest$.outboundSchema = ListVendorInvoicesRequest$outboundSchema;
40205
41227
  })(ListVendorInvoicesRequest$ ||= {});
40206
- ListVendorInvoicesResponseBody$inboundSchema = objectType({
40207
- items: arrayType(Invoice$inboundSchema),
41228
+ ListVendorInvoicesListVendorInvoicesOk$inboundSchema = objectType({
41229
+ items: arrayType(nullableType(Invoice$inboundSchema)),
40208
41230
  pager: Pager$inboundSchema
40209
41231
  });
40210
- ListVendorInvoicesResponseBody$outboundSchema = objectType({
40211
- items: arrayType(Invoice$outboundSchema),
41232
+ ListVendorInvoicesListVendorInvoicesOk$outboundSchema = objectType({
41233
+ items: arrayType(nullableType(Invoice$outboundSchema)),
40212
41234
  pager: Pager$outboundSchema
40213
41235
  });
40214
- ((ListVendorInvoicesResponseBody$) => {
40215
- ListVendorInvoicesResponseBody$.inboundSchema = ListVendorInvoicesResponseBody$inboundSchema;
40216
- ListVendorInvoicesResponseBody$.outboundSchema = ListVendorInvoicesResponseBody$outboundSchema;
40217
- })(ListVendorInvoicesResponseBody$ ||= {});
41236
+ ((ListVendorInvoicesListVendorInvoicesOk$) => {
41237
+ ListVendorInvoicesListVendorInvoicesOk$.inboundSchema = ListVendorInvoicesListVendorInvoicesOk$inboundSchema;
41238
+ ListVendorInvoicesListVendorInvoicesOk$.outboundSchema = ListVendorInvoicesListVendorInvoicesOk$outboundSchema;
41239
+ })(ListVendorInvoicesListVendorInvoicesOk$ ||= {});
40218
41240
  ListVendorInvoicesResponse$inboundSchema = objectType({
40219
- Result: lazyType(() => ListVendorInvoicesResponseBody$inboundSchema)
41241
+ Result: lazyType(() => ListVendorInvoicesListVendorInvoicesOk$inboundSchema)
40220
41242
  }).transform((v2) => {
40221
41243
  return remap(v2, {
40222
41244
  Result: "result"
40223
41245
  });
40224
41246
  });
40225
41247
  ListVendorInvoicesResponse$outboundSchema = objectType({
40226
- result: lazyType(() => ListVendorInvoicesResponseBody$outboundSchema)
41248
+ result: lazyType(() => ListVendorInvoicesListVendorInvoicesOk$outboundSchema)
40227
41249
  }).transform((v2) => {
40228
41250
  return remap(v2, {
40229
41251
  result: "Result"
@@ -40322,7 +41344,7 @@ var init_listvendorjobtitles = __esm(() => {
40322
41344
  });
40323
41345
 
40324
41346
  // src/models/operations/listvendormanagedbycompanies.ts
40325
- var ListVendorManagedByCompaniesRequest$inboundSchema, ListVendorManagedByCompaniesRequest$outboundSchema, ListVendorManagedByCompaniesRequest$, ListVendorManagedByCompaniesResponseBody$inboundSchema, ListVendorManagedByCompaniesResponseBody$outboundSchema, ListVendorManagedByCompaniesResponseBody$, ListVendorManagedByCompaniesResponse$inboundSchema, ListVendorManagedByCompaniesResponse$outboundSchema, ListVendorManagedByCompaniesResponse$;
41347
+ var ListVendorManagedByCompaniesRequest$inboundSchema, ListVendorManagedByCompaniesRequest$outboundSchema, ListVendorManagedByCompaniesRequest$, ListVendorManagedByCompaniesListVendorManagedByCompaniesOk$inboundSchema, ListVendorManagedByCompaniesListVendorManagedByCompaniesOk$outboundSchema, ListVendorManagedByCompaniesListVendorManagedByCompaniesOk$, ListVendorManagedByCompaniesResponse$inboundSchema, ListVendorManagedByCompaniesResponse$outboundSchema, ListVendorManagedByCompaniesResponse$;
40326
41348
  var init_listvendormanagedbycompanies = __esm(() => {
40327
41349
  init_lib();
40328
41350
  init_primitives();
@@ -40355,27 +41377,27 @@ var init_listvendormanagedbycompanies = __esm(() => {
40355
41377
  ListVendorManagedByCompaniesRequest$.inboundSchema = ListVendorManagedByCompaniesRequest$inboundSchema;
40356
41378
  ListVendorManagedByCompaniesRequest$.outboundSchema = ListVendorManagedByCompaniesRequest$outboundSchema;
40357
41379
  })(ListVendorManagedByCompaniesRequest$ ||= {});
40358
- ListVendorManagedByCompaniesResponseBody$inboundSchema = objectType({
41380
+ ListVendorManagedByCompaniesListVendorManagedByCompaniesOk$inboundSchema = objectType({
40359
41381
  items: arrayType(nullableType(VendorManagedByCompany$inboundSchema)),
40360
41382
  pager: Pager$inboundSchema
40361
41383
  });
40362
- ListVendorManagedByCompaniesResponseBody$outboundSchema = objectType({
41384
+ ListVendorManagedByCompaniesListVendorManagedByCompaniesOk$outboundSchema = objectType({
40363
41385
  items: arrayType(nullableType(VendorManagedByCompany$outboundSchema)),
40364
41386
  pager: Pager$outboundSchema
40365
41387
  });
40366
- ((ListVendorManagedByCompaniesResponseBody$) => {
40367
- ListVendorManagedByCompaniesResponseBody$.inboundSchema = ListVendorManagedByCompaniesResponseBody$inboundSchema;
40368
- ListVendorManagedByCompaniesResponseBody$.outboundSchema = ListVendorManagedByCompaniesResponseBody$outboundSchema;
40369
- })(ListVendorManagedByCompaniesResponseBody$ ||= {});
41388
+ ((ListVendorManagedByCompaniesListVendorManagedByCompaniesOk$) => {
41389
+ ListVendorManagedByCompaniesListVendorManagedByCompaniesOk$.inboundSchema = ListVendorManagedByCompaniesListVendorManagedByCompaniesOk$inboundSchema;
41390
+ ListVendorManagedByCompaniesListVendorManagedByCompaniesOk$.outboundSchema = ListVendorManagedByCompaniesListVendorManagedByCompaniesOk$outboundSchema;
41391
+ })(ListVendorManagedByCompaniesListVendorManagedByCompaniesOk$ ||= {});
40370
41392
  ListVendorManagedByCompaniesResponse$inboundSchema = objectType({
40371
- Result: lazyType(() => ListVendorManagedByCompaniesResponseBody$inboundSchema)
41393
+ Result: lazyType(() => ListVendorManagedByCompaniesListVendorManagedByCompaniesOk$inboundSchema)
40372
41394
  }).transform((v2) => {
40373
41395
  return remap(v2, {
40374
41396
  Result: "result"
40375
41397
  });
40376
41398
  });
40377
41399
  ListVendorManagedByCompaniesResponse$outboundSchema = objectType({
40378
- result: lazyType(() => ListVendorManagedByCompaniesResponseBody$outboundSchema)
41400
+ result: lazyType(() => ListVendorManagedByCompaniesListVendorManagedByCompaniesOk$outboundSchema)
40379
41401
  }).transform((v2) => {
40380
41402
  return remap(v2, {
40381
41403
  result: "Result"
@@ -40448,11 +41470,11 @@ var init_listvendorscrubpackages = __esm(() => {
40448
41470
  })(ListVendorScrubPackagesRequest$ ||= {});
40449
41471
  ListVendorScrubPackagesResponseBody$inboundSchema = objectType({
40450
41472
  pager: Pager$inboundSchema,
40451
- items: arrayType(ProductVariant$inboundSchema)
41473
+ items: arrayType(nullableType(ProductVariant$inboundSchema))
40452
41474
  });
40453
41475
  ListVendorScrubPackagesResponseBody$outboundSchema = objectType({
40454
41476
  pager: Pager$outboundSchema,
40455
- items: arrayType(ProductVariant$outboundSchema)
41477
+ items: arrayType(nullableType(ProductVariant$outboundSchema))
40456
41478
  });
40457
41479
  ((ListVendorScrubPackagesResponseBody$) => {
40458
41480
  ListVendorScrubPackagesResponseBody$.inboundSchema = ListVendorScrubPackagesResponseBody$inboundSchema;
@@ -40479,7 +41501,7 @@ var init_listvendorscrubpackages = __esm(() => {
40479
41501
  });
40480
41502
 
40481
41503
  // src/models/operations/listvendorscrubpurchases.ts
40482
- var ListVendorScrubPurchasesRequest$inboundSchema, ListVendorScrubPurchasesRequest$outboundSchema, ListVendorScrubPurchasesRequest$, ListVendorScrubPurchasesResponseBody$inboundSchema, ListVendorScrubPurchasesResponseBody$outboundSchema, ListVendorScrubPurchasesResponseBody$, ListVendorScrubPurchasesResponse$inboundSchema, ListVendorScrubPurchasesResponse$outboundSchema, ListVendorScrubPurchasesResponse$;
41504
+ var ListVendorScrubPurchasesRequest$inboundSchema, ListVendorScrubPurchasesRequest$outboundSchema, ListVendorScrubPurchasesRequest$, ListVendorScrubPurchasesListVendorScrubPurchasesOk$inboundSchema, ListVendorScrubPurchasesListVendorScrubPurchasesOk$outboundSchema, ListVendorScrubPurchasesListVendorScrubPurchasesOk$, ListVendorScrubPurchasesResponse$inboundSchema, ListVendorScrubPurchasesResponse$outboundSchema, ListVendorScrubPurchasesResponse$;
40483
41505
  var init_listvendorscrubpurchases = __esm(() => {
40484
41506
  init_lib();
40485
41507
  init_primitives();
@@ -40512,27 +41534,27 @@ var init_listvendorscrubpurchases = __esm(() => {
40512
41534
  ListVendorScrubPurchasesRequest$.inboundSchema = ListVendorScrubPurchasesRequest$inboundSchema;
40513
41535
  ListVendorScrubPurchasesRequest$.outboundSchema = ListVendorScrubPurchasesRequest$outboundSchema;
40514
41536
  })(ListVendorScrubPurchasesRequest$ ||= {});
40515
- ListVendorScrubPurchasesResponseBody$inboundSchema = objectType({
41537
+ ListVendorScrubPurchasesListVendorScrubPurchasesOk$inboundSchema = objectType({
40516
41538
  pager: Pager$inboundSchema,
40517
41539
  items: arrayType(VendorScrubPurchase$inboundSchema)
40518
41540
  });
40519
- ListVendorScrubPurchasesResponseBody$outboundSchema = objectType({
41541
+ ListVendorScrubPurchasesListVendorScrubPurchasesOk$outboundSchema = objectType({
40520
41542
  pager: Pager$outboundSchema,
40521
41543
  items: arrayType(VendorScrubPurchase$outboundSchema)
40522
41544
  });
40523
- ((ListVendorScrubPurchasesResponseBody$) => {
40524
- ListVendorScrubPurchasesResponseBody$.inboundSchema = ListVendorScrubPurchasesResponseBody$inboundSchema;
40525
- ListVendorScrubPurchasesResponseBody$.outboundSchema = ListVendorScrubPurchasesResponseBody$outboundSchema;
40526
- })(ListVendorScrubPurchasesResponseBody$ ||= {});
41545
+ ((ListVendorScrubPurchasesListVendorScrubPurchasesOk$) => {
41546
+ ListVendorScrubPurchasesListVendorScrubPurchasesOk$.inboundSchema = ListVendorScrubPurchasesListVendorScrubPurchasesOk$inboundSchema;
41547
+ ListVendorScrubPurchasesListVendorScrubPurchasesOk$.outboundSchema = ListVendorScrubPurchasesListVendorScrubPurchasesOk$outboundSchema;
41548
+ })(ListVendorScrubPurchasesListVendorScrubPurchasesOk$ ||= {});
40527
41549
  ListVendorScrubPurchasesResponse$inboundSchema = objectType({
40528
- Result: lazyType(() => ListVendorScrubPurchasesResponseBody$inboundSchema)
41550
+ Result: lazyType(() => ListVendorScrubPurchasesListVendorScrubPurchasesOk$inboundSchema)
40529
41551
  }).transform((v2) => {
40530
41552
  return remap(v2, {
40531
41553
  Result: "result"
40532
41554
  });
40533
41555
  });
40534
41556
  ListVendorScrubPurchasesResponse$outboundSchema = objectType({
40535
- result: lazyType(() => ListVendorScrubPurchasesResponseBody$outboundSchema)
41557
+ result: lazyType(() => ListVendorScrubPurchasesListVendorScrubPurchasesOk$outboundSchema)
40536
41558
  }).transform((v2) => {
40537
41559
  return remap(v2, {
40538
41560
  result: "Result"
@@ -40544,83 +41566,6 @@ var init_listvendorscrubpurchases = __esm(() => {
40544
41566
  })(ListVendorScrubPurchasesResponse$ ||= {});
40545
41567
  });
40546
41568
 
40547
- // src/models/operations/logsuserintothesystem.ts
40548
- var LogsUserIntoTheSystemRequestBody$inboundSchema, LogsUserIntoTheSystemRequestBody$outboundSchema, LogsUserIntoTheSystemRequestBody$, LogsUserIntoTheSystemResponseBody$inboundSchema, LogsUserIntoTheSystemResponseBody$outboundSchema, LogsUserIntoTheSystemResponseBody$, LogsUserIntoTheSystemResponse$inboundSchema, LogsUserIntoTheSystemResponse$outboundSchema, LogsUserIntoTheSystemResponse$;
40549
- var init_logsuserintothesystem = __esm(() => {
40550
- init_lib();
40551
- init_components();
40552
- LogsUserIntoTheSystemRequestBody$inboundSchema = unionType([
40553
- LoginRequirementsFromEmail$inboundSchema,
40554
- LoginEmailAndPassword$inboundSchema
40555
- ]);
40556
- LogsUserIntoTheSystemRequestBody$outboundSchema = unionType([
40557
- LoginRequirementsFromEmail$outboundSchema,
40558
- LoginEmailAndPassword$outboundSchema
40559
- ]);
40560
- ((LogsUserIntoTheSystemRequestBody$) => {
40561
- LogsUserIntoTheSystemRequestBody$.inboundSchema = LogsUserIntoTheSystemRequestBody$inboundSchema;
40562
- LogsUserIntoTheSystemRequestBody$.outboundSchema = LogsUserIntoTheSystemRequestBody$outboundSchema;
40563
- })(LogsUserIntoTheSystemRequestBody$ ||= {});
40564
- LogsUserIntoTheSystemResponseBody$inboundSchema = unionType([
40565
- PasswordRequiredResponse$inboundSchema.and(objectType({ requires: literalType("password") }).transform((v2) => ({
40566
- requires: v2.requires
40567
- }))),
40568
- MfaRequiredResponse$inboundSchema.and(objectType({ requires: literalType("mfa_code") }).transform((v2) => ({
40569
- requires: v2.requires
40570
- }))),
40571
- SamlLoginRequiredResponse$inboundSchema.and(objectType({ requires: literalType("saml_login") }).transform((v2) => ({
40572
- requires: v2.requires
40573
- })))
40574
- ]);
40575
- LogsUserIntoTheSystemResponseBody$outboundSchema = unionType([
40576
- PasswordRequiredResponse$outboundSchema.and(objectType({ requires: literalType("password") }).transform((v2) => ({
40577
- requires: v2.requires
40578
- }))),
40579
- MfaRequiredResponse$outboundSchema.and(objectType({ requires: literalType("mfa_code") }).transform((v2) => ({
40580
- requires: v2.requires
40581
- }))),
40582
- SamlLoginRequiredResponse$outboundSchema.and(objectType({ requires: literalType("saml_login") }).transform((v2) => ({
40583
- requires: v2.requires
40584
- })))
40585
- ]);
40586
- ((LogsUserIntoTheSystemResponseBody$) => {
40587
- LogsUserIntoTheSystemResponseBody$.inboundSchema = LogsUserIntoTheSystemResponseBody$inboundSchema;
40588
- LogsUserIntoTheSystemResponseBody$.outboundSchema = LogsUserIntoTheSystemResponseBody$outboundSchema;
40589
- })(LogsUserIntoTheSystemResponseBody$ ||= {});
40590
- LogsUserIntoTheSystemResponse$inboundSchema = unionType([
40591
- User$inboundSchema,
40592
- unionType([
40593
- PasswordRequiredResponse$inboundSchema.and(objectType({ requires: literalType("password") }).transform((v2) => ({
40594
- requires: v2.requires
40595
- }))),
40596
- MfaRequiredResponse$inboundSchema.and(objectType({ requires: literalType("mfa_code") }).transform((v2) => ({
40597
- requires: v2.requires
40598
- }))),
40599
- SamlLoginRequiredResponse$inboundSchema.and(objectType({ requires: literalType("saml_login") }).transform((v2) => ({
40600
- requires: v2.requires
40601
- })))
40602
- ])
40603
- ]);
40604
- LogsUserIntoTheSystemResponse$outboundSchema = unionType([
40605
- User$outboundSchema,
40606
- unionType([
40607
- PasswordRequiredResponse$outboundSchema.and(objectType({ requires: literalType("password") }).transform((v2) => ({
40608
- requires: v2.requires
40609
- }))),
40610
- MfaRequiredResponse$outboundSchema.and(objectType({ requires: literalType("mfa_code") }).transform((v2) => ({
40611
- requires: v2.requires
40612
- }))),
40613
- SamlLoginRequiredResponse$outboundSchema.and(objectType({ requires: literalType("saml_login") }).transform((v2) => ({
40614
- requires: v2.requires
40615
- })))
40616
- ])
40617
- ]);
40618
- ((LogsUserIntoTheSystemResponse$) => {
40619
- LogsUserIntoTheSystemResponse$.inboundSchema = LogsUserIntoTheSystemResponse$inboundSchema;
40620
- LogsUserIntoTheSystemResponse$.outboundSchema = LogsUserIntoTheSystemResponse$outboundSchema;
40621
- })(LogsUserIntoTheSystemResponse$ ||= {});
40622
- });
40623
-
40624
41569
  // src/models/operations/magiclink.ts
40625
41570
  var MagiclinkRequestBody$inboundSchema, MagiclinkRequestBody$outboundSchema, MagiclinkRequestBody$, MagiclinkMagiclinkOk$inboundSchema, MagiclinkMagiclinkOk$outboundSchema, MagiclinkMagiclinkOk$;
40626
41571
  var init_magiclink = __esm(() => {
@@ -40710,6 +41655,83 @@ var init_passwordresetrequest = __esm(() => {
40710
41655
  })(PasswordResetRequestPasswordResetRequestOk$ ||= {});
40711
41656
  });
40712
41657
 
41658
+ // src/models/operations/postauthenticate.ts
41659
+ var PostAuthenticateRequestBody$inboundSchema, PostAuthenticateRequestBody$outboundSchema, PostAuthenticateRequestBody$, PostAuthenticateResponseBody$inboundSchema, PostAuthenticateResponseBody$outboundSchema, PostAuthenticateResponseBody$, PostAuthenticateResponse$inboundSchema, PostAuthenticateResponse$outboundSchema, PostAuthenticateResponse$;
41660
+ var init_postauthenticate = __esm(() => {
41661
+ init_lib();
41662
+ init_components();
41663
+ PostAuthenticateRequestBody$inboundSchema = unionType([
41664
+ LoginRequirementsFromEmail$inboundSchema,
41665
+ LoginEmailAndPassword$inboundSchema
41666
+ ]);
41667
+ PostAuthenticateRequestBody$outboundSchema = unionType([
41668
+ LoginRequirementsFromEmail$outboundSchema,
41669
+ LoginEmailAndPassword$outboundSchema
41670
+ ]);
41671
+ ((PostAuthenticateRequestBody$) => {
41672
+ PostAuthenticateRequestBody$.inboundSchema = PostAuthenticateRequestBody$inboundSchema;
41673
+ PostAuthenticateRequestBody$.outboundSchema = PostAuthenticateRequestBody$outboundSchema;
41674
+ })(PostAuthenticateRequestBody$ ||= {});
41675
+ PostAuthenticateResponseBody$inboundSchema = unionType([
41676
+ PasswordRequiredResponse$inboundSchema.and(objectType({ requires: literalType("password") }).transform((v2) => ({
41677
+ requires: v2.requires
41678
+ }))),
41679
+ MfaRequiredResponse$inboundSchema.and(objectType({ requires: literalType("mfa_code") }).transform((v2) => ({
41680
+ requires: v2.requires
41681
+ }))),
41682
+ SamlLoginRequiredResponse$inboundSchema.and(objectType({ requires: literalType("saml_login") }).transform((v2) => ({
41683
+ requires: v2.requires
41684
+ })))
41685
+ ]);
41686
+ PostAuthenticateResponseBody$outboundSchema = unionType([
41687
+ PasswordRequiredResponse$outboundSchema.and(objectType({ requires: literalType("password") }).transform((v2) => ({
41688
+ requires: v2.requires
41689
+ }))),
41690
+ MfaRequiredResponse$outboundSchema.and(objectType({ requires: literalType("mfa_code") }).transform((v2) => ({
41691
+ requires: v2.requires
41692
+ }))),
41693
+ SamlLoginRequiredResponse$outboundSchema.and(objectType({ requires: literalType("saml_login") }).transform((v2) => ({
41694
+ requires: v2.requires
41695
+ })))
41696
+ ]);
41697
+ ((PostAuthenticateResponseBody$) => {
41698
+ PostAuthenticateResponseBody$.inboundSchema = PostAuthenticateResponseBody$inboundSchema;
41699
+ PostAuthenticateResponseBody$.outboundSchema = PostAuthenticateResponseBody$outboundSchema;
41700
+ })(PostAuthenticateResponseBody$ ||= {});
41701
+ PostAuthenticateResponse$inboundSchema = unionType([
41702
+ User$inboundSchema,
41703
+ unionType([
41704
+ PasswordRequiredResponse$inboundSchema.and(objectType({ requires: literalType("password") }).transform((v2) => ({
41705
+ requires: v2.requires
41706
+ }))),
41707
+ MfaRequiredResponse$inboundSchema.and(objectType({ requires: literalType("mfa_code") }).transform((v2) => ({
41708
+ requires: v2.requires
41709
+ }))),
41710
+ SamlLoginRequiredResponse$inboundSchema.and(objectType({ requires: literalType("saml_login") }).transform((v2) => ({
41711
+ requires: v2.requires
41712
+ })))
41713
+ ])
41714
+ ]);
41715
+ PostAuthenticateResponse$outboundSchema = unionType([
41716
+ User$outboundSchema,
41717
+ unionType([
41718
+ PasswordRequiredResponse$outboundSchema.and(objectType({ requires: literalType("password") }).transform((v2) => ({
41719
+ requires: v2.requires
41720
+ }))),
41721
+ MfaRequiredResponse$outboundSchema.and(objectType({ requires: literalType("mfa_code") }).transform((v2) => ({
41722
+ requires: v2.requires
41723
+ }))),
41724
+ SamlLoginRequiredResponse$outboundSchema.and(objectType({ requires: literalType("saml_login") }).transform((v2) => ({
41725
+ requires: v2.requires
41726
+ })))
41727
+ ])
41728
+ ]);
41729
+ ((PostAuthenticateResponse$) => {
41730
+ PostAuthenticateResponse$.inboundSchema = PostAuthenticateResponse$inboundSchema;
41731
+ PostAuthenticateResponse$.outboundSchema = PostAuthenticateResponse$outboundSchema;
41732
+ })(PostAuthenticateResponse$ ||= {});
41733
+ });
41734
+
40713
41735
  // src/models/operations/purchasescrubcredits.ts
40714
41736
  var PurchaseScrubCreditsRequestBody$inboundSchema, PurchaseScrubCreditsRequestBody$outboundSchema, PurchaseScrubCreditsRequestBody$, PurchaseScrubCreditsRequest$inboundSchema, PurchaseScrubCreditsRequest$outboundSchema, PurchaseScrubCreditsRequest$, PurchaseScrubCreditsResponseBody$inboundSchema, PurchaseScrubCreditsResponseBody$outboundSchema, PurchaseScrubCreditsResponseBody$;
40715
41737
  var init_purchasescrubcredits = __esm(() => {
@@ -40784,22 +41806,80 @@ var init_purchasescrubcredits = __esm(() => {
40784
41806
  });
40785
41807
 
40786
41808
  // src/models/operations/securityzonecheckin.ts
40787
- var Two$inboundSchema2, Two$outboundSchema2, Two$2, One$inboundSchema2, One$outboundSchema2, One$2, SecurityZoneCheckinRequestBody$inboundSchema, SecurityZoneCheckinRequestBody$outboundSchema, SecurityZoneCheckinRequestBody$;
41809
+ var Requires2, Two$inboundSchema2, Two$outboundSchema2, Two$2, One$inboundSchema2, One$outboundSchema2, One$2, SecurityZoneCheckinRequestBody$inboundSchema, SecurityZoneCheckinRequestBody$outboundSchema, SecurityZoneCheckinRequestBody$, Requires$inboundSchema2, Requires$outboundSchema2, Requires$2, Results$inboundSchema, Results$outboundSchema, Results$, SecurityZoneCheckinResponseBody$inboundSchema, SecurityZoneCheckinResponseBody$outboundSchema, SecurityZoneCheckinResponseBody$;
40788
41810
  var init_securityzonecheckin = __esm(() => {
40789
41811
  init_lib();
40790
41812
  init_primitives();
41813
+ init_components();
41814
+ Requires2 = {
41815
+ CompleteCheckin: "complete_checkin"
41816
+ };
40791
41817
  Two$inboundSchema2 = objectType({
40792
- qr_code: stringType()
41818
+ qr_code: stringType(),
41819
+ zone_id: numberType().int(),
41820
+ handoff_id: numberType().int().optional(),
41821
+ vendor_id: numberType().int().optional(),
41822
+ pin: stringType().optional(),
41823
+ email: stringType().optional(),
41824
+ password: stringType().optional(),
41825
+ device_id: numberType().int().optional(),
41826
+ department_id: numberType().int().optional(),
41827
+ department_other: stringType().optional(),
41828
+ checkout_time: stringType().optional(),
41829
+ visit_purpose: stringType().optional(),
41830
+ visit_contact: stringType().optional(),
41831
+ token: stringType().optional(),
41832
+ scan_type: anyType().optional(),
41833
+ recheck_vendor_scan_id: numberType().int().optional(),
41834
+ temperature: numberType().optional()
40793
41835
  }).transform((v2) => {
40794
41836
  return remap(v2, {
40795
- qr_code: "qrCode"
41837
+ qr_code: "qrCode",
41838
+ zone_id: "zoneId",
41839
+ handoff_id: "handoffId",
41840
+ vendor_id: "vendorId",
41841
+ device_id: "deviceId",
41842
+ department_id: "departmentId",
41843
+ department_other: "departmentOther",
41844
+ checkout_time: "checkoutTime",
41845
+ visit_purpose: "visitPurpose",
41846
+ visit_contact: "visitContact",
41847
+ scan_type: "scanType",
41848
+ recheck_vendor_scan_id: "recheckVendorScanId"
40796
41849
  });
40797
41850
  });
40798
41851
  Two$outboundSchema2 = objectType({
40799
- qrCode: stringType()
41852
+ qrCode: stringType(),
41853
+ zoneId: numberType().int(),
41854
+ handoffId: numberType().int().optional(),
41855
+ vendorId: numberType().int().optional(),
41856
+ pin: stringType().optional(),
41857
+ email: stringType().optional(),
41858
+ password: stringType().optional(),
41859
+ deviceId: numberType().int().optional(),
41860
+ departmentId: numberType().int().optional(),
41861
+ departmentOther: stringType().optional(),
41862
+ checkoutTime: stringType().optional(),
41863
+ visitPurpose: stringType().optional(),
41864
+ visitContact: stringType().optional(),
41865
+ token: stringType().optional(),
41866
+ scanType: anyType().optional(),
41867
+ recheckVendorScanId: numberType().int().optional(),
41868
+ temperature: numberType().optional()
40800
41869
  }).transform((v2) => {
40801
41870
  return remap(v2, {
40802
- qrCode: "qr_code"
41871
+ qrCode: "qr_code",
41872
+ zoneId: "zone_id",
41873
+ handoffId: "handoff_id",
41874
+ vendorId: "vendor_id",
41875
+ deviceId: "device_id",
41876
+ departmentId: "department_id",
41877
+ departmentOther: "department_other",
41878
+ checkoutTime: "checkout_time",
41879
+ visitPurpose: "visit_purpose",
41880
+ visitContact: "visit_contact",
41881
+ scanType: "scan_type",
41882
+ recheckVendorScanId: "recheck_vendor_scan_id"
40803
41883
  });
40804
41884
  });
40805
41885
  ((Two$) => {
@@ -40809,19 +41889,69 @@ var init_securityzonecheckin = __esm(() => {
40809
41889
  One$inboundSchema2 = objectType({
40810
41890
  zone_id: numberType().int(),
40811
41891
  longitude: anyType().optional(),
40812
- latitude: anyType().optional()
41892
+ latitude: anyType().optional(),
41893
+ handoff_id: numberType().int().optional(),
41894
+ vendor_id: numberType().int().optional(),
41895
+ pin: stringType().optional(),
41896
+ email: stringType().optional(),
41897
+ password: stringType().optional(),
41898
+ device_id: numberType().int().optional(),
41899
+ department_id: numberType().int().optional(),
41900
+ department_other: stringType().optional(),
41901
+ checkout_time: stringType().optional(),
41902
+ visit_purpose: stringType().optional(),
41903
+ visit_contact: stringType().optional(),
41904
+ token: stringType().optional(),
41905
+ scan_type: anyType().optional(),
41906
+ recheck_vendor_scan_id: numberType().int().optional(),
41907
+ temperature: numberType().optional()
40813
41908
  }).transform((v2) => {
40814
41909
  return remap(v2, {
40815
- zone_id: "zoneId"
41910
+ zone_id: "zoneId",
41911
+ handoff_id: "handoffId",
41912
+ vendor_id: "vendorId",
41913
+ device_id: "deviceId",
41914
+ department_id: "departmentId",
41915
+ department_other: "departmentOther",
41916
+ checkout_time: "checkoutTime",
41917
+ visit_purpose: "visitPurpose",
41918
+ visit_contact: "visitContact",
41919
+ scan_type: "scanType",
41920
+ recheck_vendor_scan_id: "recheckVendorScanId"
40816
41921
  });
40817
41922
  });
40818
41923
  One$outboundSchema2 = objectType({
40819
41924
  zoneId: numberType().int(),
40820
41925
  longitude: anyType().optional(),
40821
- latitude: anyType().optional()
41926
+ latitude: anyType().optional(),
41927
+ handoffId: numberType().int().optional(),
41928
+ vendorId: numberType().int().optional(),
41929
+ pin: stringType().optional(),
41930
+ email: stringType().optional(),
41931
+ password: stringType().optional(),
41932
+ deviceId: numberType().int().optional(),
41933
+ departmentId: numberType().int().optional(),
41934
+ departmentOther: stringType().optional(),
41935
+ checkoutTime: stringType().optional(),
41936
+ visitPurpose: stringType().optional(),
41937
+ visitContact: stringType().optional(),
41938
+ token: stringType().optional(),
41939
+ scanType: anyType().optional(),
41940
+ recheckVendorScanId: numberType().int().optional(),
41941
+ temperature: numberType().optional()
40822
41942
  }).transform((v2) => {
40823
41943
  return remap(v2, {
40824
- zoneId: "zone_id"
41944
+ zoneId: "zone_id",
41945
+ handoffId: "handoff_id",
41946
+ vendorId: "vendor_id",
41947
+ deviceId: "device_id",
41948
+ departmentId: "department_id",
41949
+ departmentOther: "department_other",
41950
+ checkoutTime: "checkout_time",
41951
+ visitPurpose: "visit_purpose",
41952
+ visitContact: "visit_contact",
41953
+ scanType: "scan_type",
41954
+ recheckVendorScanId: "recheck_vendor_scan_id"
40825
41955
  });
40826
41956
  });
40827
41957
  ((One$) => {
@@ -40837,6 +41967,124 @@ var init_securityzonecheckin = __esm(() => {
40837
41967
  SecurityZoneCheckinRequestBody$.inboundSchema = SecurityZoneCheckinRequestBody$inboundSchema;
40838
41968
  SecurityZoneCheckinRequestBody$.outboundSchema = SecurityZoneCheckinRequestBody$outboundSchema;
40839
41969
  })(SecurityZoneCheckinRequestBody$ ||= {});
41970
+ Requires$inboundSchema2 = nativeEnumType(Requires2);
41971
+ Requires$outboundSchema2 = Requires$inboundSchema2;
41972
+ ((Requires$) => {
41973
+ Requires$.inboundSchema = Requires$inboundSchema2;
41974
+ Requires$.outboundSchema = Requires$outboundSchema2;
41975
+ })(Requires$2 ||= {});
41976
+ Results$inboundSchema = objectType({
41977
+ has_valid_payment_profile: booleanType().optional(),
41978
+ subscription_expires: nullableType(stringType()).optional(),
41979
+ subscription_expires_within_30_days: booleanType().optional(),
41980
+ qr_to_credentials: booleanType().optional(),
41981
+ date_expires: nullableType(stringType()).optional(),
41982
+ date_last_scanned: nullableType(stringType()).optional(),
41983
+ date_last_in: nullableType(stringType()).optional(),
41984
+ date_last_out: nullableType(stringType()).optional(),
41985
+ height: nullableType(stringType()).optional(),
41986
+ eye_color: nullableType(stringType()).optional(),
41987
+ is_scanned_in: booleanType().optional(),
41988
+ scan_in_vendor_scan: nullableType(VendorScan$inboundSchema).optional(),
41989
+ screening_responses: arrayType(nullableType(ScreeningResponse$inboundSchema)).optional(),
41990
+ vendor_scan: nullableType(VendorScan$inboundSchema).optional()
41991
+ }).transform((v2) => {
41992
+ return remap(v2, {
41993
+ has_valid_payment_profile: "hasValidPaymentProfile",
41994
+ subscription_expires: "subscriptionExpires",
41995
+ subscription_expires_within_30_days: "subscriptionExpiresWithin30Days",
41996
+ qr_to_credentials: "qrToCredentials",
41997
+ date_expires: "dateExpires",
41998
+ date_last_scanned: "dateLastScanned",
41999
+ date_last_in: "dateLastIn",
42000
+ date_last_out: "dateLastOut",
42001
+ eye_color: "eyeColor",
42002
+ is_scanned_in: "isScannedIn",
42003
+ scan_in_vendor_scan: "scanInVendorScan",
42004
+ screening_responses: "screeningResponses",
42005
+ vendor_scan: "vendorScan"
42006
+ });
42007
+ });
42008
+ Results$outboundSchema = objectType({
42009
+ hasValidPaymentProfile: booleanType().optional(),
42010
+ subscriptionExpires: nullableType(stringType()).optional(),
42011
+ subscriptionExpiresWithin30Days: booleanType().optional(),
42012
+ qrToCredentials: booleanType().optional(),
42013
+ dateExpires: nullableType(stringType()).optional(),
42014
+ dateLastScanned: nullableType(stringType()).optional(),
42015
+ dateLastIn: nullableType(stringType()).optional(),
42016
+ dateLastOut: nullableType(stringType()).optional(),
42017
+ height: nullableType(stringType()).optional(),
42018
+ eyeColor: nullableType(stringType()).optional(),
42019
+ isScannedIn: booleanType().optional(),
42020
+ scanInVendorScan: nullableType(VendorScan$outboundSchema).optional(),
42021
+ screeningResponses: arrayType(nullableType(ScreeningResponse$outboundSchema)).optional(),
42022
+ vendorScan: nullableType(VendorScan$outboundSchema).optional()
42023
+ }).transform((v2) => {
42024
+ return remap(v2, {
42025
+ hasValidPaymentProfile: "has_valid_payment_profile",
42026
+ subscriptionExpires: "subscription_expires",
42027
+ subscriptionExpiresWithin30Days: "subscription_expires_within_30_days",
42028
+ qrToCredentials: "qr_to_credentials",
42029
+ dateExpires: "date_expires",
42030
+ dateLastScanned: "date_last_scanned",
42031
+ dateLastIn: "date_last_in",
42032
+ dateLastOut: "date_last_out",
42033
+ eyeColor: "eye_color",
42034
+ isScannedIn: "is_scanned_in",
42035
+ scanInVendorScan: "scan_in_vendor_scan",
42036
+ screeningResponses: "screening_responses",
42037
+ vendorScan: "vendor_scan"
42038
+ });
42039
+ });
42040
+ ((Results$) => {
42041
+ Results$.inboundSchema = Results$inboundSchema;
42042
+ Results$.outboundSchema = Results$outboundSchema;
42043
+ })(Results$ ||= {});
42044
+ SecurityZoneCheckinResponseBody$inboundSchema = objectType({
42045
+ success: booleanType().optional(),
42046
+ requires: Requires$inboundSchema2.optional(),
42047
+ handoff: nullableType(Handoff$inboundSchema).optional(),
42048
+ results: lazyType(() => Results$inboundSchema).optional()
42049
+ });
42050
+ SecurityZoneCheckinResponseBody$outboundSchema = objectType({
42051
+ success: booleanType().optional(),
42052
+ requires: Requires$outboundSchema2.optional(),
42053
+ handoff: nullableType(Handoff$outboundSchema).optional(),
42054
+ results: lazyType(() => Results$outboundSchema).optional()
42055
+ });
42056
+ ((SecurityZoneCheckinResponseBody$) => {
42057
+ SecurityZoneCheckinResponseBody$.inboundSchema = SecurityZoneCheckinResponseBody$inboundSchema;
42058
+ SecurityZoneCheckinResponseBody$.outboundSchema = SecurityZoneCheckinResponseBody$outboundSchema;
42059
+ })(SecurityZoneCheckinResponseBody$ ||= {});
42060
+ });
42061
+
42062
+ // src/models/operations/updatesthewebhookendpointwiththegivenid.ts
42063
+ var UpdatesTheWebhookEndpointWithTheGivenIdRequest$inboundSchema, UpdatesTheWebhookEndpointWithTheGivenIdRequest$outboundSchema, UpdatesTheWebhookEndpointWithTheGivenIdRequest$;
42064
+ var init_updatesthewebhookendpointwiththegivenid = __esm(() => {
42065
+ init_lib();
42066
+ init_primitives();
42067
+ init_components();
42068
+ UpdatesTheWebhookEndpointWithTheGivenIdRequest$inboundSchema = objectType({
42069
+ id: numberType().int(),
42070
+ WebhookEndpoint: WebhookEndpoint$inboundSchema
42071
+ }).transform((v2) => {
42072
+ return remap(v2, {
42073
+ WebhookEndpoint: "webhookEndpoint"
42074
+ });
42075
+ });
42076
+ UpdatesTheWebhookEndpointWithTheGivenIdRequest$outboundSchema = objectType({
42077
+ id: numberType().int(),
42078
+ webhookEndpoint: WebhookEndpoint$outboundSchema
42079
+ }).transform((v2) => {
42080
+ return remap(v2, {
42081
+ webhookEndpoint: "WebhookEndpoint"
42082
+ });
42083
+ });
42084
+ ((UpdatesTheWebhookEndpointWithTheGivenIdRequest$) => {
42085
+ UpdatesTheWebhookEndpointWithTheGivenIdRequest$.inboundSchema = UpdatesTheWebhookEndpointWithTheGivenIdRequest$inboundSchema;
42086
+ UpdatesTheWebhookEndpointWithTheGivenIdRequest$.outboundSchema = UpdatesTheWebhookEndpointWithTheGivenIdRequest$outboundSchema;
42087
+ })(UpdatesTheWebhookEndpointWithTheGivenIdRequest$ ||= {});
40840
42088
  });
40841
42089
 
40842
42090
  // src/models/operations/updatevendordetails.ts
@@ -40914,7 +42162,7 @@ var init_updatevendordetails = __esm(() => {
40914
42162
  });
40915
42163
 
40916
42164
  // src/models/operations/updatevendormanagedbycompany.ts
40917
- var UpdateVendorManagedByCompanyRequestBody$inboundSchema, UpdateVendorManagedByCompanyRequestBody$outboundSchema, UpdateVendorManagedByCompanyRequestBody$, UpdateVendorManagedByCompanyRequest$inboundSchema, UpdateVendorManagedByCompanyRequest$outboundSchema, UpdateVendorManagedByCompanyRequest$, UpdateVendorManagedByCompanyResponseBody$inboundSchema, UpdateVendorManagedByCompanyResponseBody$outboundSchema, UpdateVendorManagedByCompanyResponseBody$;
42165
+ var UpdateVendorManagedByCompanyRequestBody$inboundSchema, UpdateVendorManagedByCompanyRequestBody$outboundSchema, UpdateVendorManagedByCompanyRequestBody$, UpdateVendorManagedByCompanyRequest$inboundSchema, UpdateVendorManagedByCompanyRequest$outboundSchema, UpdateVendorManagedByCompanyRequest$, UpdateVendorManagedByCompanyUpdateVendorManagedByCompanyOk$inboundSchema, UpdateVendorManagedByCompanyUpdateVendorManagedByCompanyOk$outboundSchema, UpdateVendorManagedByCompanyUpdateVendorManagedByCompanyOk$;
40918
42166
  var init_updatevendormanagedbycompany = __esm(() => {
40919
42167
  init_lib();
40920
42168
  init_primitives();
@@ -40986,16 +42234,16 @@ var init_updatevendormanagedbycompany = __esm(() => {
40986
42234
  UpdateVendorManagedByCompanyRequest$.inboundSchema = UpdateVendorManagedByCompanyRequest$inboundSchema;
40987
42235
  UpdateVendorManagedByCompanyRequest$.outboundSchema = UpdateVendorManagedByCompanyRequest$outboundSchema;
40988
42236
  })(UpdateVendorManagedByCompanyRequest$ ||= {});
40989
- UpdateVendorManagedByCompanyResponseBody$inboundSchema = objectType({
42237
+ UpdateVendorManagedByCompanyUpdateVendorManagedByCompanyOk$inboundSchema = objectType({
40990
42238
  success: booleanType()
40991
42239
  });
40992
- UpdateVendorManagedByCompanyResponseBody$outboundSchema = objectType({
42240
+ UpdateVendorManagedByCompanyUpdateVendorManagedByCompanyOk$outboundSchema = objectType({
40993
42241
  success: booleanType()
40994
42242
  });
40995
- ((UpdateVendorManagedByCompanyResponseBody$) => {
40996
- UpdateVendorManagedByCompanyResponseBody$.inboundSchema = UpdateVendorManagedByCompanyResponseBody$inboundSchema;
40997
- UpdateVendorManagedByCompanyResponseBody$.outboundSchema = UpdateVendorManagedByCompanyResponseBody$outboundSchema;
40998
- })(UpdateVendorManagedByCompanyResponseBody$ ||= {});
42243
+ ((UpdateVendorManagedByCompanyUpdateVendorManagedByCompanyOk$) => {
42244
+ UpdateVendorManagedByCompanyUpdateVendorManagedByCompanyOk$.inboundSchema = UpdateVendorManagedByCompanyUpdateVendorManagedByCompanyOk$inboundSchema;
42245
+ UpdateVendorManagedByCompanyUpdateVendorManagedByCompanyOk$.outboundSchema = UpdateVendorManagedByCompanyUpdateVendorManagedByCompanyOk$outboundSchema;
42246
+ })(UpdateVendorManagedByCompanyUpdateVendorManagedByCompanyOk$ ||= {});
40999
42247
  });
41000
42248
 
41001
42249
  // src/models/operations/updatevendorscrubdetails.ts
@@ -41089,7 +42337,7 @@ var init_updatevendorscrubdetails = __esm(() => {
41089
42337
  });
41090
42338
 
41091
42339
  // src/models/operations/vendorscanout.ts
41092
- var VendorScanOutRequest$inboundSchema, VendorScanOutRequest$outboundSchema, VendorScanOutRequest$, VendorScanOutResponseBody$inboundSchema, VendorScanOutResponseBody$outboundSchema, VendorScanOutResponseBody$;
42340
+ var VendorScanOutRequest$inboundSchema, VendorScanOutRequest$outboundSchema, VendorScanOutRequest$, VendorScanOutVendorScanOutOk$inboundSchema, VendorScanOutVendorScanOutOk$outboundSchema, VendorScanOutVendorScanOutOk$;
41093
42341
  var init_vendorscanout = __esm(() => {
41094
42342
  init_lib();
41095
42343
  VendorScanOutRequest$inboundSchema = objectType({
@@ -41102,20 +42350,20 @@ var init_vendorscanout = __esm(() => {
41102
42350
  VendorScanOutRequest$.inboundSchema = VendorScanOutRequest$inboundSchema;
41103
42351
  VendorScanOutRequest$.outboundSchema = VendorScanOutRequest$outboundSchema;
41104
42352
  })(VendorScanOutRequest$ ||= {});
41105
- VendorScanOutResponseBody$inboundSchema = objectType({
42353
+ VendorScanOutVendorScanOutOk$inboundSchema = objectType({
41106
42354
  error: nullableType(stringType()).optional(),
41107
42355
  reason: nullableType(stringType()).optional(),
41108
42356
  success: booleanType()
41109
42357
  });
41110
- VendorScanOutResponseBody$outboundSchema = objectType({
42358
+ VendorScanOutVendorScanOutOk$outboundSchema = objectType({
41111
42359
  error: nullableType(stringType()).optional(),
41112
42360
  reason: nullableType(stringType()).optional(),
41113
42361
  success: booleanType()
41114
42362
  });
41115
- ((VendorScanOutResponseBody$) => {
41116
- VendorScanOutResponseBody$.inboundSchema = VendorScanOutResponseBody$inboundSchema;
41117
- VendorScanOutResponseBody$.outboundSchema = VendorScanOutResponseBody$outboundSchema;
41118
- })(VendorScanOutResponseBody$ ||= {});
42363
+ ((VendorScanOutVendorScanOutOk$) => {
42364
+ VendorScanOutVendorScanOutOk$.inboundSchema = VendorScanOutVendorScanOutOk$inboundSchema;
42365
+ VendorScanOutVendorScanOutOk$.outboundSchema = VendorScanOutVendorScanOutOk$outboundSchema;
42366
+ })(VendorScanOutVendorScanOutOk$ ||= {});
41119
42367
  });
41120
42368
 
41121
42369
  // src/models/operations/index.ts
@@ -41129,6 +42377,7 @@ var init_operations = __esm(() => {
41129
42377
  init_getfacility();
41130
42378
  init_getsupportarticle();
41131
42379
  init_getuserbyid();
42380
+ init_getvendorcredentialdetails();
41132
42381
  init_getvendorinvoicedetails();
41133
42382
  init_getvendorsdetails();
41134
42383
  init_getwebhookendpoint();
@@ -41147,12 +42396,13 @@ var init_operations = __esm(() => {
41147
42396
  init_listvendorscrubdetails();
41148
42397
  init_listvendorscrubpackages();
41149
42398
  init_listvendorscrubpurchases();
41150
- init_logsuserintothesystem();
41151
42399
  init_magiclink();
41152
42400
  init_password();
41153
42401
  init_passwordresetrequest();
42402
+ init_postauthenticate();
41154
42403
  init_purchasescrubcredits();
41155
42404
  init_securityzonecheckin();
42405
+ init_updatesthewebhookendpointwiththegivenid();
41156
42406
  init_updatevendordetails();
41157
42407
  init_updatevendormanagedbycompany();
41158
42408
  init_updatevendorscrubdetails();
@@ -41403,7 +42653,7 @@ async function $do2(client, request, options) {
41403
42653
  const req = requestRes.value;
41404
42654
  const doResult = await client._do(req, {
41405
42655
  context,
41406
- errorCodes: ["401", "403", "404", "4XX", "500", "5XX"],
42656
+ errorCodes: ["400", "401", "403", "404", "4XX", "500", "5XX"],
41407
42657
  retryConfig: context.retryConfig,
41408
42658
  retryCodes: context.retryCodes
41409
42659
  });
@@ -41414,7 +42664,7 @@ async function $do2(client, request, options) {
41414
42664
  const responseFields = {
41415
42665
  HttpMeta: { Response: response, Request: req }
41416
42666
  };
41417
- const [result] = await match(json(200, Facility$inboundSchema), jsonErr([401, 403, 404], ApiErrorResponse$inboundSchema), jsonErr(500, ApiErrorResponse$inboundSchema), fail("4XX"), fail("5XX"))(response, { extraFields: responseFields });
42667
+ const [result] = await match(json(200, Facility$inboundSchema), jsonErr([400, 401, 403, 404], ApiErrorResponse$inboundSchema), jsonErr(500, ApiErrorResponse$inboundSchema), fail("4XX"), fail("5XX"))(response, { extraFields: responseFields });
41418
42668
  if (!result.ok) {
41419
42669
  return [result, { status: "complete", request: req, response }];
41420
42670
  }
@@ -41518,7 +42768,7 @@ async function $do3(client, request, options) {
41518
42768
  const req = requestRes.value;
41519
42769
  const doResult = await client._do(req, {
41520
42770
  context,
41521
- errorCodes: ["401", "403", "404", "4XX", "500", "5XX"],
42771
+ errorCodes: ["400", "401", "403", "4XX", "500", "5XX"],
41522
42772
  retryConfig: context.retryConfig,
41523
42773
  retryCodes: context.retryCodes
41524
42774
  });
@@ -41531,7 +42781,7 @@ async function $do3(client, request, options) {
41531
42781
  };
41532
42782
  const [result, raw] = await match(json(200, ListOrSearchFacilitiesResponse$inboundSchema, {
41533
42783
  key: "Result"
41534
- }), jsonErr([401, 403, 404], ApiErrorResponse$inboundSchema), jsonErr(500, ApiErrorResponse$inboundSchema), fail("4XX"), fail("5XX"))(response, { extraFields: responseFields });
42784
+ }), jsonErr([400, 401, 403], ApiErrorResponse$inboundSchema), jsonErr(500, ApiErrorResponse$inboundSchema), fail("4XX"), fail("5XX"))(response, { extraFields: responseFields });
41535
42785
  if (!result.ok) {
41536
42786
  return [haltIterator(result), {
41537
42787
  status: "complete",
@@ -41672,7 +42922,7 @@ async function $do4(client, request, options) {
41672
42922
  const req = requestRes.value;
41673
42923
  const doResult = await client._do(req, {
41674
42924
  context,
41675
- errorCodes: ["404", "4XX", "5XX"],
42925
+ errorCodes: ["400", "401", "403", "404", "4XX", "500", "5XX"],
41676
42926
  retryConfig: context.retryConfig,
41677
42927
  retryCodes: context.retryCodes
41678
42928
  });
@@ -41683,7 +42933,7 @@ async function $do4(client, request, options) {
41683
42933
  const responseFields = {
41684
42934
  HttpMeta: { Response: response, Request: req }
41685
42935
  };
41686
- const [result] = await match(json(200, SupportArticle$inboundSchema), jsonErr(404, ApiErrorResponse$inboundSchema), fail("4XX"), fail("5XX"))(response, { extraFields: responseFields });
42936
+ const [result] = await match(json(200, SupportArticle$inboundSchema), jsonErr([400, 401, 403, 404], ApiErrorResponse$inboundSchema), jsonErr(500, ApiErrorResponse$inboundSchema), fail("4XX"), fail("5XX"))(response, { extraFields: responseFields });
41687
42937
  if (!result.ok) {
41688
42938
  return [result, { status: "complete", request: req, response }];
41689
42939
  }
@@ -41788,7 +43038,7 @@ async function $do5(client, request, options) {
41788
43038
  const req = requestRes.value;
41789
43039
  const doResult = await client._do(req, {
41790
43040
  context,
41791
- errorCodes: ["4XX", "5XX"],
43041
+ errorCodes: ["400", "401", "403", "4XX", "500", "5XX"],
41792
43042
  retryConfig: context.retryConfig,
41793
43043
  retryCodes: context.retryCodes
41794
43044
  });
@@ -41801,7 +43051,7 @@ async function $do5(client, request, options) {
41801
43051
  };
41802
43052
  const [result, raw] = await match(json(200, ListOrSearchSupportArticlesResponse$inboundSchema, {
41803
43053
  key: "Result"
41804
- }), fail("4XX"), fail("5XX"))(response, { extraFields: responseFields });
43054
+ }), jsonErr([400, 401, 403], ApiErrorResponse$inboundSchema), jsonErr(500, ApiErrorResponse$inboundSchema), fail("4XX"), fail("5XX"))(response, { extraFields: responseFields });
41805
43055
  if (!result.ok) {
41806
43056
  return [haltIterator(result), {
41807
43057
  status: "complete",
@@ -41843,6 +43093,7 @@ var init_supportArticlesListOrSearchSupportArticles = __esm(() => {
41843
43093
  init_schemas();
41844
43094
  init_security();
41845
43095
  init_url();
43096
+ init_errors();
41846
43097
  init_operations();
41847
43098
  init_async();
41848
43099
  init_operations2();
@@ -41936,7 +43187,7 @@ async function $do6(client, request, options) {
41936
43187
  const responseFields = {
41937
43188
  HttpMeta: { Response: response, Request: req }
41938
43189
  };
41939
- const [result] = await match(json(200, ChangePasswordResponseBody$inboundSchema), jsonErr([400, 401, 403], ApiErrorResponse$inboundSchema), jsonErr(500, ApiErrorResponse$inboundSchema), fail("4XX"), fail("5XX"))(response, { extraFields: responseFields });
43190
+ const [result] = await match(json(200, ChangePasswordChangePasswordOk$inboundSchema), jsonErr([400, 401, 403], ApiErrorResponse$inboundSchema), jsonErr(500, ApiErrorResponse$inboundSchema), fail("4XX"), fail("5XX"))(response, { extraFields: responseFields });
41940
43191
  if (!result.ok) {
41941
43192
  return [result, { status: "complete", request: req, response }];
41942
43193
  }
@@ -42017,7 +43268,7 @@ async function $do7(client, options) {
42017
43268
  const req = requestRes.value;
42018
43269
  const doResult = await client._do(req, {
42019
43270
  context,
42020
- errorCodes: ["400", "401", "403", "404", "4XX", "5XX"],
43271
+ errorCodes: ["400", "401", "403", "404", "4XX", "500", "5XX"],
42021
43272
  retryConfig: context.retryConfig,
42022
43273
  retryCodes: context.retryCodes
42023
43274
  });
@@ -42028,7 +43279,7 @@ async function $do7(client, options) {
42028
43279
  const responseFields = {
42029
43280
  HttpMeta: { Response: response, Request: req }
42030
43281
  };
42031
- const [result] = await match(json(200, User$inboundSchema), jsonErr([400, 401, 403, 404], ApiErrorResponse$inboundSchema), fail("4XX"), fail("5XX"))(response, { extraFields: responseFields });
43282
+ const [result] = await match(json(200, User$inboundSchema), jsonErr([400, 401, 403, 404], ApiErrorResponse$inboundSchema), jsonErr(500, ApiErrorResponse$inboundSchema), fail("4XX"), fail("5XX"))(response, { extraFields: responseFields });
42032
43283
  if (!result.ok) {
42033
43284
  return [result, { status: "complete", request: req, response }];
42034
43285
  }
@@ -42115,7 +43366,7 @@ async function $do8(client, request, options) {
42115
43366
  const req = requestRes.value;
42116
43367
  const doResult = await client._do(req, {
42117
43368
  context,
42118
- errorCodes: ["400", "401", "403", "404", "4XX", "5XX"],
43369
+ errorCodes: ["400", "401", "403", "404", "4XX", "500", "5XX"],
42119
43370
  retryConfig: context.retryConfig,
42120
43371
  retryCodes: context.retryCodes
42121
43372
  });
@@ -42126,7 +43377,7 @@ async function $do8(client, request, options) {
42126
43377
  const responseFields = {
42127
43378
  HttpMeta: { Response: response, Request: req }
42128
43379
  };
42129
- const [result] = await match(json(200, User$inboundSchema), jsonErr([400, 401, 403, 404], ApiErrorResponse$inboundSchema), fail("4XX"), fail("5XX"))(response, { extraFields: responseFields });
43380
+ const [result] = await match(json(200, User$inboundSchema), jsonErr([400, 401, 403, 404], ApiErrorResponse$inboundSchema), jsonErr(500, ApiErrorResponse$inboundSchema), fail("4XX"), fail("5XX"))(response, { extraFields: responseFields });
42130
43381
  if (!result.ok) {
42131
43382
  return [result, { status: "complete", request: req, response }];
42132
43383
  }
@@ -42174,32 +43425,35 @@ Returns a user object for the user represented by the identifier in the path.`,
42174
43425
  };
42175
43426
  });
42176
43427
 
42177
- // src/funcs/usersLogsUserIntoTheSystem.ts
42178
- function usersLogsUserIntoTheSystem(client, request, options) {
43428
+ // src/funcs/usersMagiclink.ts
43429
+ function usersMagiclink(client, request, options) {
42179
43430
  return new APIPromise($do9(client, request, options));
42180
43431
  }
42181
43432
  async function $do9(client, request, options) {
42182
- const parsed = safeParse(request, (value) => LogsUserIntoTheSystemRequestBody$outboundSchema.parse(value), "Input validation failed");
43433
+ const parsed = safeParse(request, (value) => MagiclinkRequestBody$outboundSchema.parse(value), "Input validation failed");
42183
43434
  if (!parsed.ok) {
42184
43435
  return [parsed, { status: "invalid" }];
42185
43436
  }
42186
43437
  const payload = parsed.value;
42187
43438
  const body = encodeJSON("body", payload, { explode: true });
42188
- const path = pathToFunc("/users/authenticate")();
43439
+ const path = pathToFunc("/users/magiclink")();
42189
43440
  const headers = new Headers(compactMap({
42190
43441
  "Content-Type": "application/json",
42191
43442
  Accept: "application/json"
42192
43443
  }));
43444
+ const securityInput = await extractSecurity(client._options.security);
43445
+ const requestSecurity = resolveGlobalSecurity(securityInput);
42193
43446
  const context = {
42194
43447
  baseURL: options?.serverURL ?? client._baseURL ?? "",
42195
- operationID: "logsUserIntoTheSystem",
43448
+ operationID: "magiclink",
42196
43449
  oAuth2Scopes: [],
42197
- resolvedSecurity: null,
42198
- securitySource: null,
43450
+ resolvedSecurity: requestSecurity,
43451
+ securitySource: client._options.security,
42199
43452
  retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
42200
43453
  retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
42201
43454
  };
42202
43455
  const requestRes = client._createRequest(context, {
43456
+ security: requestSecurity,
42203
43457
  method: "POST",
42204
43458
  baseURL: options?.serverURL,
42205
43459
  path,
@@ -42213,7 +43467,7 @@ async function $do9(client, request, options) {
42213
43467
  const req = requestRes.value;
42214
43468
  const doResult = await client._do(req, {
42215
43469
  context,
42216
- errorCodes: ["400", "401", "404", "4XX", "5XX"],
43470
+ errorCodes: ["404", "4XX", "500", "5XX"],
42217
43471
  retryConfig: context.retryConfig,
42218
43472
  retryCodes: context.retryCodes
42219
43473
  });
@@ -42224,70 +43478,41 @@ async function $do9(client, request, options) {
42224
43478
  const responseFields = {
42225
43479
  HttpMeta: { Response: response, Request: req }
42226
43480
  };
42227
- const [result] = await match(json(200, LogsUserIntoTheSystemResponse$inboundSchema), json(202, LogsUserIntoTheSystemResponse$inboundSchema), jsonErr([400, 401, 404], ApiErrorResponse$inboundSchema), fail("4XX"), fail("5XX"))(response, { extraFields: responseFields });
43481
+ const [result] = await match(json(200, MagiclinkMagiclinkOk$inboundSchema), jsonErr(404, ApiErrorResponse$inboundSchema), jsonErr(500, ApiErrorResponse$inboundSchema), fail("4XX"), fail("5XX"))(response, { extraFields: responseFields });
42228
43482
  if (!result.ok) {
42229
43483
  return [result, { status: "complete", request: req, response }];
42230
43484
  }
42231
43485
  return [result, { status: "complete", request: req, response }];
42232
43486
  }
42233
- var init_usersLogsUserIntoTheSystem = __esm(() => {
43487
+ var init_usersMagiclink = __esm(() => {
42234
43488
  init_encodings();
42235
43489
  init_matchers();
42236
43490
  init_primitives();
42237
43491
  init_schemas();
43492
+ init_security();
42238
43493
  init_url();
42239
43494
  init_errors();
42240
43495
  init_operations();
42241
43496
  init_async();
42242
43497
  });
42243
43498
 
42244
- // src/mcp-server/tools/usersLogsUserIntoTheSystem.ts
42245
- var args8, tool$usersLogsUserIntoTheSystem;
42246
- var init_usersLogsUserIntoTheSystem2 = __esm(() => {
42247
- init_usersLogsUserIntoTheSystem();
43499
+ // src/mcp-server/tools/usersMagiclink.ts
43500
+ var args8, tool$usersMagiclink;
43501
+ var init_usersMagiclink2 = __esm(() => {
43502
+ init_usersMagiclink();
42248
43503
  init_operations();
42249
43504
  init_tools();
42250
43505
  args8 = {
42251
- request: LogsUserIntoTheSystemRequestBody$inboundSchema
43506
+ request: MagiclinkRequestBody$inboundSchema
42252
43507
  };
42253
- tool$usersLogsUserIntoTheSystem = {
42254
- name: "users-logs-user-into-the-system",
42255
- description: `Logs user into the system
42256
-
42257
- This endpoint allows a user to authenticate themselves and retrieve a permanent token for access.
42258
-
42259
- Permanent tokens should only ever be stored in an encrypted storage because they represent a fully logged in user.
42260
-
42261
- Users may log in with \`email/password\`, \`SAML\`, \`magic link\` or \`mfa\`. The application should handle all of the above as equally valid login methods.
42262
-
42263
- The most common way to authenticate a user is to log in with an email and password. If the user provides valid credentials, the server will either respond with a full user object including the token.
42264
-
42265
- When the user's account is protected via MFA, the server will send a 6 digit code to the user via their default MFA provider. You should collect that code and resend the email, password and mfa_code together to get a successful authentication.
42266
-
42267
- The ideal flow for a login sequence is the following:
42268
-
42269
- 1. Present an email address field only and allow the user to submit
42270
- 2. Send \`email\` and \`return_url\` payload to this endpoint
42271
- 3. Follow the flow based on the response \`requires\` field
42272
-
42273
- Requires: \`password\`
42274
-
42275
- 1. Show a password field for the user to fill out
42276
- 2. Submit the \`email\` and \`password\` to this endpoint
42277
- 3. If the response is \`200\`, the login is done. If the response is \`201\`, then check if \`requires: mfa_code\` is returned and show MFA flow
42278
- 4. Submit \`email\`, \`password\`, \`mfa_code\` to this endpoint
42279
- 5. If the response is \`200\`, the login is done. Otherwise, show the appropriate error to the user and go back to step 1 or 3 depending on the error.
42280
-
42281
- Requires: \`saml_login\`
43508
+ tool$usersMagiclink = {
43509
+ name: "users-magiclink",
43510
+ description: `Magic link
42282
43511
 
42283
- 1. [Open a browser](https://docs.expo.dev/versions/latest/sdk/webbrowser/#webbrowseropenauthsessionasyncurl-redirecturl-options) to the url returned in \`sso_url\`
42284
- 2. User completes sign-in using their configured SAML IdP
42285
- 3. Site redirects to your selected \`return_url\`
42286
- 4. The \`user_token\` will be appended as a query string parameter to your \`return_url\` - you must parse this token and store it
42287
- 5. Fetch the user object from \`/users/me\` using the token`,
43512
+ It sends an email with a magic link to allow the user to log in.`,
42288
43513
  args: args8,
42289
43514
  tool: async (client, args9, ctx) => {
42290
- const [result, apiCall] = await usersLogsUserIntoTheSystem(client, args9.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
43515
+ const [result, apiCall] = await usersMagiclink(client, args9.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
42291
43516
  if (!result.ok) {
42292
43517
  return {
42293
43518
  content: [{ type: "text", text: result.error.message }],
@@ -42300,18 +43525,18 @@ Requires: \`saml_login\`
42300
43525
  };
42301
43526
  });
42302
43527
 
42303
- // src/funcs/usersMagiclink.ts
42304
- function usersMagiclink(client, request, options) {
43528
+ // src/funcs/usersPassword.ts
43529
+ function usersPassword(client, request, options) {
42305
43530
  return new APIPromise($do10(client, request, options));
42306
43531
  }
42307
43532
  async function $do10(client, request, options) {
42308
- const parsed = safeParse(request, (value) => MagiclinkRequestBody$outboundSchema.parse(value), "Input validation failed");
43533
+ const parsed = safeParse(request, (value) => PasswordRequestBody$outboundSchema.parse(value), "Input validation failed");
42309
43534
  if (!parsed.ok) {
42310
43535
  return [parsed, { status: "invalid" }];
42311
43536
  }
42312
43537
  const payload = parsed.value;
42313
43538
  const body = encodeJSON("body", payload, { explode: true });
42314
- const path = pathToFunc("/users/magiclink")();
43539
+ const path = pathToFunc("/users/password")();
42315
43540
  const headers = new Headers(compactMap({
42316
43541
  "Content-Type": "application/json",
42317
43542
  Accept: "application/json"
@@ -42320,7 +43545,7 @@ async function $do10(client, request, options) {
42320
43545
  const requestSecurity = resolveGlobalSecurity(securityInput);
42321
43546
  const context = {
42322
43547
  baseURL: options?.serverURL ?? client._baseURL ?? "",
42323
- operationID: "magiclink",
43548
+ operationID: "password",
42324
43549
  oAuth2Scopes: [],
42325
43550
  resolvedSecurity: requestSecurity,
42326
43551
  securitySource: client._options.security,
@@ -42342,7 +43567,7 @@ async function $do10(client, request, options) {
42342
43567
  const req = requestRes.value;
42343
43568
  const doResult = await client._do(req, {
42344
43569
  context,
42345
- errorCodes: ["404", "4XX", "5XX"],
43570
+ errorCodes: ["400", "401", "403", "4XX", "500", "5XX"],
42346
43571
  retryConfig: context.retryConfig,
42347
43572
  retryCodes: context.retryCodes
42348
43573
  });
@@ -42353,13 +43578,13 @@ async function $do10(client, request, options) {
42353
43578
  const responseFields = {
42354
43579
  HttpMeta: { Response: response, Request: req }
42355
43580
  };
42356
- const [result] = await match(json(200, MagiclinkMagiclinkOk$inboundSchema), jsonErr(404, ApiErrorResponse$inboundSchema), fail("4XX"), fail("5XX"))(response, { extraFields: responseFields });
43581
+ const [result] = await match(json(200, PasswordPasswordOk$inboundSchema), jsonErr([400, 401, 403], ApiErrorResponse$inboundSchema), jsonErr(500, ApiErrorResponse$inboundSchema), fail("4XX"), fail("5XX"))(response, { extraFields: responseFields });
42357
43582
  if (!result.ok) {
42358
43583
  return [result, { status: "complete", request: req, response }];
42359
43584
  }
42360
43585
  return [result, { status: "complete", request: req, response }];
42361
43586
  }
42362
- var init_usersMagiclink = __esm(() => {
43587
+ var init_usersPassword = __esm(() => {
42363
43588
  init_encodings();
42364
43589
  init_matchers();
42365
43590
  init_primitives();
@@ -42371,23 +43596,24 @@ var init_usersMagiclink = __esm(() => {
42371
43596
  init_async();
42372
43597
  });
42373
43598
 
42374
- // src/mcp-server/tools/usersMagiclink.ts
42375
- var args9, tool$usersMagiclink;
42376
- var init_usersMagiclink2 = __esm(() => {
42377
- init_usersMagiclink();
43599
+ // src/mcp-server/tools/usersPassword.ts
43600
+ var args9, tool$usersPassword;
43601
+ var init_usersPassword2 = __esm(() => {
43602
+ init_usersPassword();
42378
43603
  init_operations();
42379
43604
  init_tools();
42380
43605
  args9 = {
42381
- request: MagiclinkRequestBody$inboundSchema
43606
+ request: PasswordRequestBody$inboundSchema
42382
43607
  };
42383
- tool$usersMagiclink = {
42384
- name: "users-magiclink",
42385
- description: `Magic link
43608
+ tool$usersPassword = {
43609
+ name: "users-password",
43610
+ description: `Password reset
42386
43611
 
42387
- It sends an email with a magic link to allow the user to log in.`,
43612
+ Resets the a user's password using a password_reset_id that was sent to them via email.
43613
+ See /users/passwordresetrequest to initiate a password reset flow.`,
42388
43614
  args: args9,
42389
43615
  tool: async (client, args10, ctx) => {
42390
- const [result, apiCall] = await usersMagiclink(client, args10.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
43616
+ const [result, apiCall] = await usersPassword(client, args10.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
42391
43617
  if (!result.ok) {
42392
43618
  return {
42393
43619
  content: [{ type: "text", text: result.error.message }],
@@ -42400,18 +43626,18 @@ It sends an email with a magic link to allow the user to log in.`,
42400
43626
  };
42401
43627
  });
42402
43628
 
42403
- // src/funcs/usersPassword.ts
42404
- function usersPassword(client, request, options) {
43629
+ // src/funcs/usersPasswordResetRequest.ts
43630
+ function usersPasswordResetRequest(client, request, options) {
42405
43631
  return new APIPromise($do11(client, request, options));
42406
43632
  }
42407
43633
  async function $do11(client, request, options) {
42408
- const parsed = safeParse(request, (value) => PasswordRequestBody$outboundSchema.parse(value), "Input validation failed");
43634
+ const parsed = safeParse(request, (value) => PasswordResetRequestRequestBody$outboundSchema.parse(value), "Input validation failed");
42409
43635
  if (!parsed.ok) {
42410
43636
  return [parsed, { status: "invalid" }];
42411
43637
  }
42412
43638
  const payload = parsed.value;
42413
43639
  const body = encodeJSON("body", payload, { explode: true });
42414
- const path = pathToFunc("/users/password")();
43640
+ const path = pathToFunc("/users/passwordresetrequest")();
42415
43641
  const headers = new Headers(compactMap({
42416
43642
  "Content-Type": "application/json",
42417
43643
  Accept: "application/json"
@@ -42420,7 +43646,7 @@ async function $do11(client, request, options) {
42420
43646
  const requestSecurity = resolveGlobalSecurity(securityInput);
42421
43647
  const context = {
42422
43648
  baseURL: options?.serverURL ?? client._baseURL ?? "",
42423
- operationID: "password",
43649
+ operationID: "passwordResetRequest",
42424
43650
  oAuth2Scopes: [],
42425
43651
  resolvedSecurity: requestSecurity,
42426
43652
  securitySource: client._options.security,
@@ -42442,7 +43668,7 @@ async function $do11(client, request, options) {
42442
43668
  const req = requestRes.value;
42443
43669
  const doResult = await client._do(req, {
42444
43670
  context,
42445
- errorCodes: ["404", "4XX", "5XX"],
43671
+ errorCodes: ["400", "404", "4XX", "500", "5XX"],
42446
43672
  retryConfig: context.retryConfig,
42447
43673
  retryCodes: context.retryCodes
42448
43674
  });
@@ -42453,13 +43679,13 @@ async function $do11(client, request, options) {
42453
43679
  const responseFields = {
42454
43680
  HttpMeta: { Response: response, Request: req }
42455
43681
  };
42456
- const [result] = await match(json(200, PasswordPasswordOk$inboundSchema), jsonErr(404, ApiErrorResponse$inboundSchema), fail("4XX"), fail("5XX"))(response, { extraFields: responseFields });
43682
+ const [result] = await match(json(200, PasswordResetRequestPasswordResetRequestOk$inboundSchema), jsonErr([400, 404], ApiErrorResponse$inboundSchema), jsonErr(500, ApiErrorResponse$inboundSchema), fail("4XX"), fail("5XX"))(response, { extraFields: responseFields });
42457
43683
  if (!result.ok) {
42458
43684
  return [result, { status: "complete", request: req, response }];
42459
43685
  }
42460
43686
  return [result, { status: "complete", request: req, response }];
42461
43687
  }
42462
- var init_usersPassword = __esm(() => {
43688
+ var init_usersPasswordResetRequest = __esm(() => {
42463
43689
  init_encodings();
42464
43690
  init_matchers();
42465
43691
  init_primitives();
@@ -42471,24 +43697,23 @@ var init_usersPassword = __esm(() => {
42471
43697
  init_async();
42472
43698
  });
42473
43699
 
42474
- // src/mcp-server/tools/usersPassword.ts
42475
- var args10, tool$usersPassword;
42476
- var init_usersPassword2 = __esm(() => {
42477
- init_usersPassword();
43700
+ // src/mcp-server/tools/usersPasswordResetRequest.ts
43701
+ var args10, tool$usersPasswordResetRequest;
43702
+ var init_usersPasswordResetRequest2 = __esm(() => {
43703
+ init_usersPasswordResetRequest();
42478
43704
  init_operations();
42479
43705
  init_tools();
42480
43706
  args10 = {
42481
- request: PasswordRequestBody$inboundSchema
43707
+ request: PasswordResetRequestRequestBody$inboundSchema
42482
43708
  };
42483
- tool$usersPassword = {
42484
- name: "users-password",
42485
- description: `Password reset
43709
+ tool$usersPasswordResetRequest = {
43710
+ name: "users-password-reset-request",
43711
+ description: `Password reset request
42486
43712
 
42487
- Resets the a user's password using a password_reset_id that was sent to them via email.
42488
- See /users/passwordresetrequest to initiate a password reset flow.`,
43713
+ It sends an email with a link for resetting a user's password.`,
42489
43714
  args: args10,
42490
43715
  tool: async (client, args11, ctx) => {
42491
- const [result, apiCall] = await usersPassword(client, args11.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
43716
+ const [result, apiCall] = await usersPasswordResetRequest(client, args11.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
42492
43717
  if (!result.ok) {
42493
43718
  return {
42494
43719
  content: [{ type: "text", text: result.error.message }],
@@ -42501,35 +43726,32 @@ See /users/passwordresetrequest to initiate a password reset flow.`,
42501
43726
  };
42502
43727
  });
42503
43728
 
42504
- // src/funcs/usersPasswordResetRequest.ts
42505
- function usersPasswordResetRequest(client, request, options) {
43729
+ // src/funcs/usersPostAuthenticate.ts
43730
+ function usersPostAuthenticate(client, request, options) {
42506
43731
  return new APIPromise($do12(client, request, options));
42507
43732
  }
42508
43733
  async function $do12(client, request, options) {
42509
- const parsed = safeParse(request, (value) => PasswordResetRequestRequestBody$outboundSchema.parse(value), "Input validation failed");
43734
+ const parsed = safeParse(request, (value) => PostAuthenticateRequestBody$outboundSchema.parse(value), "Input validation failed");
42510
43735
  if (!parsed.ok) {
42511
43736
  return [parsed, { status: "invalid" }];
42512
43737
  }
42513
43738
  const payload = parsed.value;
42514
43739
  const body = encodeJSON("body", payload, { explode: true });
42515
- const path = pathToFunc("/users/passwordresetrequest")();
43740
+ const path = pathToFunc("/users/authenticate")();
42516
43741
  const headers = new Headers(compactMap({
42517
43742
  "Content-Type": "application/json",
42518
43743
  Accept: "application/json"
42519
43744
  }));
42520
- const securityInput = await extractSecurity(client._options.security);
42521
- const requestSecurity = resolveGlobalSecurity(securityInput);
42522
43745
  const context = {
42523
43746
  baseURL: options?.serverURL ?? client._baseURL ?? "",
42524
- operationID: "passwordResetRequest",
43747
+ operationID: "postAuthenticate",
42525
43748
  oAuth2Scopes: [],
42526
- resolvedSecurity: requestSecurity,
42527
- securitySource: client._options.security,
43749
+ resolvedSecurity: null,
43750
+ securitySource: null,
42528
43751
  retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
42529
43752
  retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
42530
43753
  };
42531
43754
  const requestRes = client._createRequest(context, {
42532
- security: requestSecurity,
42533
43755
  method: "POST",
42534
43756
  baseURL: options?.serverURL,
42535
43757
  path,
@@ -42543,7 +43765,7 @@ async function $do12(client, request, options) {
42543
43765
  const req = requestRes.value;
42544
43766
  const doResult = await client._do(req, {
42545
43767
  context,
42546
- errorCodes: ["404", "4XX", "5XX"],
43768
+ errorCodes: ["400", "401", "403", "404", "4XX", "500", "5XX"],
42547
43769
  retryConfig: context.retryConfig,
42548
43770
  retryCodes: context.retryCodes
42549
43771
  });
@@ -42554,41 +43776,70 @@ async function $do12(client, request, options) {
42554
43776
  const responseFields = {
42555
43777
  HttpMeta: { Response: response, Request: req }
42556
43778
  };
42557
- const [result] = await match(json(200, PasswordResetRequestPasswordResetRequestOk$inboundSchema), jsonErr(404, ApiErrorResponse$inboundSchema), fail("4XX"), fail("5XX"))(response, { extraFields: responseFields });
43779
+ const [result] = await match(json(200, PostAuthenticateResponse$inboundSchema), json(202, PostAuthenticateResponse$inboundSchema), jsonErr([400, 401, 403, 404], ApiErrorResponse$inboundSchema), jsonErr(500, ApiErrorResponse$inboundSchema), fail("4XX"), fail("5XX"))(response, { extraFields: responseFields });
42558
43780
  if (!result.ok) {
42559
43781
  return [result, { status: "complete", request: req, response }];
42560
43782
  }
42561
43783
  return [result, { status: "complete", request: req, response }];
42562
43784
  }
42563
- var init_usersPasswordResetRequest = __esm(() => {
43785
+ var init_usersPostAuthenticate = __esm(() => {
42564
43786
  init_encodings();
42565
43787
  init_matchers();
42566
43788
  init_primitives();
42567
43789
  init_schemas();
42568
- init_security();
42569
43790
  init_url();
42570
43791
  init_errors();
42571
43792
  init_operations();
42572
43793
  init_async();
42573
43794
  });
42574
43795
 
42575
- // src/mcp-server/tools/usersPasswordResetRequest.ts
42576
- var args11, tool$usersPasswordResetRequest;
42577
- var init_usersPasswordResetRequest2 = __esm(() => {
42578
- init_usersPasswordResetRequest();
43796
+ // src/mcp-server/tools/usersPostAuthenticate.ts
43797
+ var args11, tool$usersPostAuthenticate;
43798
+ var init_usersPostAuthenticate2 = __esm(() => {
43799
+ init_usersPostAuthenticate();
42579
43800
  init_operations();
42580
43801
  init_tools();
42581
43802
  args11 = {
42582
- request: PasswordResetRequestRequestBody$inboundSchema
43803
+ request: PostAuthenticateRequestBody$inboundSchema
42583
43804
  };
42584
- tool$usersPasswordResetRequest = {
42585
- name: "users-password-reset-request",
42586
- description: `Password reset request
43805
+ tool$usersPostAuthenticate = {
43806
+ name: "users-post-authenticate",
43807
+ description: `Logs user into the system
42587
43808
 
42588
- It sends an email with a link for resetting a user's password.`,
43809
+ This endpoint allows a user to authenticate themselves and retrieve a permanent token for access.
43810
+
43811
+ Permanent tokens should only ever be stored in an encrypted storage because they represent a fully logged in user.
43812
+
43813
+ Users may log in with \`email/password\`, \`SAML\`, \`magic link\` or \`mfa\`. The application should handle all of the above as equally valid login methods.
43814
+
43815
+ The most common way to authenticate a user is to log in with an email and password. If the user provides valid credentials, the server will either respond with a full user object including the token.
43816
+
43817
+ When the user's account is protected via MFA, the server will send a 6 digit code to the user via their default MFA provider. You should collect that code and resend the email, password and mfa_code together to get a successful authentication.
43818
+
43819
+ The ideal flow for a login sequence is the following:
43820
+
43821
+ 1. Present an email address field only and allow the user to submit
43822
+ 2. Send \`email\` and \`return_url\` payload to this endpoint
43823
+ 3. Follow the flow based on the response \`requires\` field
43824
+
43825
+ Requires: \`password\`
43826
+
43827
+ 1. Show a password field for the user to fill out
43828
+ 2. Submit the \`email\` and \`password\` to this endpoint
43829
+ 3. If the response is \`200\`, the login is done. If the response is \`201\`, then check if \`requires: mfa_code\` is returned and show MFA flow
43830
+ 4. Submit \`email\`, \`password\`, \`mfa_code\` to this endpoint
43831
+ 5. If the response is \`200\`, the login is done. Otherwise, show the appropriate error to the user and go back to step 1 or 3 depending on the error.
43832
+
43833
+ Requires: \`saml_login\`
43834
+
43835
+ 1. [Open a browser](https://docs.expo.dev/versions/latest/sdk/webbrowser/#webbrowseropenauthsessionasyncurl-redirecturl-options) to the url returned in \`sso_url\`
43836
+ 2. User completes sign-in using their configured SAML IdP
43837
+ 3. Site redirects to your selected \`return_url\`
43838
+ 4. The \`user_token\` will be appended as a query string parameter to your \`return_url\` - you must parse this token and store it
43839
+ 5. Fetch the user object from \`/users/me\` using the token`,
42589
43840
  args: args11,
42590
43841
  tool: async (client, args12, ctx) => {
42591
- const [result, apiCall] = await usersPasswordResetRequest(client, args12.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
43842
+ const [result, apiCall] = await usersPostAuthenticate(client, args12.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
42592
43843
  if (!result.ok) {
42593
43844
  return {
42594
43845
  content: [{ type: "text", text: result.error.message }],
@@ -42660,7 +43911,7 @@ async function $do13(client, request, options) {
42660
43911
  const responseFields = {
42661
43912
  HttpMeta: { Response: response, Request: req }
42662
43913
  };
42663
- const [result] = await match(json(200, AddVendorManagedByCompanyResponseBody$inboundSchema), jsonErr([400, 401, 403, 404], ApiErrorResponse$inboundSchema), jsonErr(500, ApiErrorResponse$inboundSchema), fail("4XX"), fail("5XX"))(response, { extraFields: responseFields });
43914
+ const [result] = await match(json(200, AddVendorManagedByCompanyAddVendorManagedByCompanyOk$inboundSchema), jsonErr([400, 401, 403, 404], ApiErrorResponse$inboundSchema), jsonErr(500, ApiErrorResponse$inboundSchema), fail("4XX"), fail("5XX"))(response, { extraFields: responseFields });
42664
43915
  if (!result.ok) {
42665
43916
  return [result, { status: "complete", request: req, response }];
42666
43917
  }
@@ -42765,7 +44016,7 @@ async function $do14(client, request, options) {
42765
44016
  const responseFields = {
42766
44017
  HttpMeta: { Response: response, Request: req }
42767
44018
  };
42768
- const [result] = await match(json(200, VendorScanOutResponseBody$inboundSchema), jsonErr([400, 401, 403, 404], ApiErrorResponse$inboundSchema), jsonErr(500, ApiErrorResponse$inboundSchema), fail("4XX"), fail("5XX"))(response, { extraFields: responseFields });
44019
+ const [result] = await match(json(200, VendorScanOutVendorScanOutOk$inboundSchema), jsonErr([400, 401, 403, 404], ApiErrorResponse$inboundSchema), jsonErr(500, ApiErrorResponse$inboundSchema), fail("4XX"), fail("5XX"))(response, { extraFields: responseFields });
42769
44020
  if (!result.ok) {
42770
44021
  return [result, { status: "complete", request: req, response }];
42771
44022
  }
@@ -43074,7 +44325,7 @@ async function $do17(client, request, options) {
43074
44325
  const responseFields = {
43075
44326
  HttpMeta: { Response: response, Request: req }
43076
44327
  };
43077
- const [result] = await match(json(200, DeleteVendorManagedByCompanyResponseBody$inboundSchema), jsonErr([400, 401, 403, 404], ApiErrorResponse$inboundSchema), jsonErr(500, ApiErrorResponse$inboundSchema), fail("4XX"), fail("5XX"))(response, { extraFields: responseFields });
44328
+ const [result] = await match(json(200, DeleteVendorManagedByCompanyDeleteVendorManagedByCompanyOk$inboundSchema), jsonErr([400, 401, 403, 404], ApiErrorResponse$inboundSchema), jsonErr(500, ApiErrorResponse$inboundSchema), fail("4XX"), fail("5XX"))(response, { extraFields: responseFields });
43078
44329
  if (!result.ok) {
43079
44330
  return [result, { status: "complete", request: req, response }];
43080
44331
  }
@@ -43168,7 +44419,7 @@ async function $do18(client, request, options) {
43168
44419
  const req = requestRes.value;
43169
44420
  const doResult = await client._do(req, {
43170
44421
  context,
43171
- errorCodes: ["400", "401", "4XX", "5XX"],
44422
+ errorCodes: ["400", "401", "403", "404", "4XX", "500", "5XX"],
43172
44423
  retryConfig: context.retryConfig,
43173
44424
  retryCodes: context.retryCodes
43174
44425
  });
@@ -43179,7 +44430,7 @@ async function $do18(client, request, options) {
43179
44430
  const responseFields = {
43180
44431
  HttpMeta: { Response: response, Request: req }
43181
44432
  };
43182
- const [result] = await match(json(200, ExpediteTimeRemainingResponseBody$inboundSchema), jsonErr([400, 401], ApiErrorResponse$inboundSchema), fail("4XX"), fail("5XX"))(response, { extraFields: responseFields });
44433
+ const [result] = await match(json(200, ExpediteTimeRemainingGetExpediteTimeRemainingOk$inboundSchema), jsonErr([400, 401, 403, 404], ApiErrorResponse$inboundSchema), jsonErr(500, ApiErrorResponse$inboundSchema), fail("4XX"), fail("5XX"))(response, { extraFields: responseFields });
43183
44434
  if (!result.ok) {
43184
44435
  return [result, { status: "complete", request: req, response }];
43185
44436
  }
@@ -43226,11 +44477,141 @@ For vendors who have a paid 24-hour expedite credentials invoice, get the remain
43226
44477
  };
43227
44478
  });
43228
44479
 
43229
- // src/funcs/vendorsGetVendorInvoiceDetails.ts
43230
- function vendorsGetVendorInvoiceDetails(client, request, options) {
44480
+ // src/funcs/vendorsGetVendorCredentialDetails.ts
44481
+ function vendorsGetVendorCredentialDetails(client, request, options) {
43231
44482
  return new APIPromise($do19(client, request, options));
43232
44483
  }
43233
44484
  async function $do19(client, request, options) {
44485
+ const parsed = safeParse(request, (value) => GetVendorCredentialDetailsRequest$outboundSchema.parse(value), "Input validation failed");
44486
+ if (!parsed.ok) {
44487
+ return [parsed, { status: "invalid" }];
44488
+ }
44489
+ const payload = parsed.value;
44490
+ const body = null;
44491
+ const pathParams = {
44492
+ id: encodeSimple("id", payload.id, {
44493
+ explode: false,
44494
+ charEncoding: "percent"
44495
+ }),
44496
+ vendor_id_or_me: encodeSimple("vendor_id_or_me", payload.vendor_id_or_me, {
44497
+ explode: false,
44498
+ charEncoding: "percent"
44499
+ })
44500
+ };
44501
+ const path = pathToFunc("/vendors/{vendor_id_or_me}/credentials/{id}")(pathParams);
44502
+ const query = encodeFormQuery({
44503
+ expand: payload.expand
44504
+ }, { explode: false });
44505
+ const headers = new Headers(compactMap({
44506
+ Accept: "application/json"
44507
+ }));
44508
+ const securityInput = await extractSecurity(client._options.security);
44509
+ const requestSecurity = resolveGlobalSecurity(securityInput);
44510
+ const context = {
44511
+ baseURL: options?.serverURL ?? client._baseURL ?? "",
44512
+ operationID: "getVendorCredentialDetails",
44513
+ oAuth2Scopes: [],
44514
+ resolvedSecurity: requestSecurity,
44515
+ securitySource: client._options.security,
44516
+ retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
44517
+ retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
44518
+ };
44519
+ const requestRes = client._createRequest(context, {
44520
+ security: requestSecurity,
44521
+ method: "GET",
44522
+ baseURL: options?.serverURL,
44523
+ path,
44524
+ headers,
44525
+ query,
44526
+ body,
44527
+ timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
44528
+ }, options);
44529
+ if (!requestRes.ok) {
44530
+ return [requestRes, { status: "invalid" }];
44531
+ }
44532
+ const req = requestRes.value;
44533
+ const doResult = await client._do(req, {
44534
+ context,
44535
+ errorCodes: ["400", "401", "403", "4XX", "500", "5XX"],
44536
+ retryConfig: context.retryConfig,
44537
+ retryCodes: context.retryCodes
44538
+ });
44539
+ if (!doResult.ok) {
44540
+ return [doResult, { status: "request-error", request: req }];
44541
+ }
44542
+ const response = doResult.value;
44543
+ const responseFields = {
44544
+ HttpMeta: { Response: response, Request: req }
44545
+ };
44546
+ const [result] = await match(json(200, GetVendorCredentialDetailsResponseBody$inboundSchema), jsonErr([400, 401, 403], ApiErrorResponse$inboundSchema), jsonErr(500, ApiErrorResponse$inboundSchema), fail("4XX"), fail("5XX"))(response, { extraFields: responseFields });
44547
+ if (!result.ok) {
44548
+ return [result, { status: "complete", request: req, response }];
44549
+ }
44550
+ return [result, { status: "complete", request: req, response }];
44551
+ }
44552
+ var init_vendorsGetVendorCredentialDetails = __esm(() => {
44553
+ init_encodings();
44554
+ init_matchers();
44555
+ init_primitives();
44556
+ init_schemas();
44557
+ init_security();
44558
+ init_url();
44559
+ init_errors();
44560
+ init_operations();
44561
+ init_async();
44562
+ });
44563
+
44564
+ // src/mcp-server/tools/vendorsGetVendorCredentialDetails.ts
44565
+ var args18, tool$vendorsGetVendorCredentialDetails;
44566
+ var init_vendorsGetVendorCredentialDetails2 = __esm(() => {
44567
+ init_vendorsGetVendorCredentialDetails();
44568
+ init_operations();
44569
+ init_tools();
44570
+ args18 = {
44571
+ request: GetVendorCredentialDetailsRequest$inboundSchema
44572
+ };
44573
+ tool$vendorsGetVendorCredentialDetails = {
44574
+ name: "vendors-get-vendor-credential-details",
44575
+ description: `Get Vendor Credential details
44576
+
44577
+ Get Vendor Credential details
44578
+
44579
+ Available \`expand\` scopes are:
44580
+ - vendor_credential.credential
44581
+ - vendor_credential.vendor
44582
+ - vendor_credential.invoice
44583
+ - vendor_credential.vendor_credential_files
44584
+ - vendor_credential.latest_vendor_credential_id
44585
+ - vendor_credential.previously_approved
44586
+ - vendor_credential.unsatisfied_dependencies
44587
+ - vendor_credential.allow_expediting
44588
+ - vendor_credential.unpaid_expedited_invoice_id
44589
+ - vendor_credential.expedited_offers
44590
+ - vendor_credential.background_check_results
44591
+ - vendor_credential.vendor_credential_default_status
44592
+ - vendor_credential.vendor_credential_data_requests
44593
+ - vendor_credential.credential_variants
44594
+ - vendor_credential.targets_chop`,
44595
+ args: args18,
44596
+ tool: async (client, args19, ctx) => {
44597
+ const [result, apiCall] = await vendorsGetVendorCredentialDetails(client, args19.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
44598
+ if (!result.ok) {
44599
+ return {
44600
+ content: [{ type: "text", text: result.error.message }],
44601
+ isError: true
44602
+ };
44603
+ }
44604
+ const value = result.value;
44605
+ return formatResult(value, apiCall);
44606
+ }
44607
+ };
44608
+ });
44609
+
44610
+ // src/funcs/vendorsGetVendorInvoiceDetails.ts
44611
+ function vendorsGetVendorInvoiceDetails(client, request, options) {
44612
+ return new APIPromise($do20(client, request, options));
44613
+ }
44614
+ async function $do20(client, request, options) {
43234
44615
  const parsed = safeParse(request, (value) => GetVendorInvoiceDetailsRequest$outboundSchema.parse(value), "Input validation failed");
43235
44616
  if (!parsed.ok) {
43236
44617
  return [parsed, { status: "invalid" }];
@@ -43277,7 +44658,7 @@ async function $do19(client, request, options) {
43277
44658
  const req = requestRes.value;
43278
44659
  const doResult = await client._do(req, {
43279
44660
  context,
43280
- errorCodes: ["401", "404", "4XX", "5XX"],
44661
+ errorCodes: ["400", "401", "403", "404", "4XX", "500", "5XX"],
43281
44662
  retryConfig: context.retryConfig,
43282
44663
  retryCodes: context.retryCodes
43283
44664
  });
@@ -43288,7 +44669,7 @@ async function $do19(client, request, options) {
43288
44669
  const responseFields = {
43289
44670
  HttpMeta: { Response: response, Request: req }
43290
44671
  };
43291
- const [result] = await match(json(200, Invoice$inboundSchema), jsonErr([401, 404], ApiErrorResponse$inboundSchema), fail("4XX"), fail("5XX"))(response, { extraFields: responseFields });
44672
+ const [result] = await match(json(200, Invoice$inboundSchema), jsonErr([400, 401, 403, 404], ApiErrorResponse$inboundSchema), jsonErr(500, ApiErrorResponse$inboundSchema), fail("4XX"), fail("5XX"))(response, { extraFields: responseFields });
43292
44673
  if (!result.ok) {
43293
44674
  return [result, { status: "complete", request: req, response }];
43294
44675
  }
@@ -43308,12 +44689,12 @@ var init_vendorsGetVendorInvoiceDetails = __esm(() => {
43308
44689
  });
43309
44690
 
43310
44691
  // src/mcp-server/tools/vendorsGetVendorInvoiceDetails.ts
43311
- var args18, tool$vendorsGetVendorInvoiceDetails;
44692
+ var args19, tool$vendorsGetVendorInvoiceDetails;
43312
44693
  var init_vendorsGetVendorInvoiceDetails2 = __esm(() => {
43313
44694
  init_vendorsGetVendorInvoiceDetails();
43314
44695
  init_operations();
43315
44696
  init_tools();
43316
- args18 = {
44697
+ args19 = {
43317
44698
  request: GetVendorInvoiceDetailsRequest$inboundSchema
43318
44699
  };
43319
44700
  tool$vendorsGetVendorInvoiceDetails = {
@@ -43326,9 +44707,9 @@ Available \`expand\` scopes are:
43326
44707
 
43327
44708
  invoice.line_items
43328
44709
  invoice.invoice_transactions`,
43329
- args: args18,
43330
- tool: async (client, args19, ctx) => {
43331
- const [result, apiCall] = await vendorsGetVendorInvoiceDetails(client, args19.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
44710
+ args: args19,
44711
+ tool: async (client, args20, ctx) => {
44712
+ const [result, apiCall] = await vendorsGetVendorInvoiceDetails(client, args20.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
43332
44713
  if (!result.ok) {
43333
44714
  return {
43334
44715
  content: [{ type: "text", text: result.error.message }],
@@ -43343,9 +44724,9 @@ invoice.invoice_transactions`,
43343
44724
 
43344
44725
  // src/funcs/vendorsGetVendorsDetails.ts
43345
44726
  function vendorsGetVendorsDetails(client, request, options) {
43346
- return new APIPromise($do20(client, request, options));
44727
+ return new APIPromise($do21(client, request, options));
43347
44728
  }
43348
- async function $do20(client, request, options) {
44729
+ async function $do21(client, request, options) {
43349
44730
  const parsed = safeParse(request, (value) => GetVendorsDetailsRequest$outboundSchema.parse(value), "Input validation failed");
43350
44731
  if (!parsed.ok) {
43351
44732
  return [parsed, { status: "invalid" }];
@@ -43392,7 +44773,7 @@ async function $do20(client, request, options) {
43392
44773
  const req = requestRes.value;
43393
44774
  const doResult = await client._do(req, {
43394
44775
  context,
43395
- errorCodes: ["400", "401", "403", "4XX", "500", "5XX"],
44776
+ errorCodes: ["400", "401", "403", "404", "4XX", "500", "5XX"],
43396
44777
  retryConfig: context.retryConfig,
43397
44778
  retryCodes: context.retryCodes
43398
44779
  });
@@ -43403,7 +44784,7 @@ async function $do20(client, request, options) {
43403
44784
  const responseFields = {
43404
44785
  HttpMeta: { Response: response, Request: req }
43405
44786
  };
43406
- const [result] = await match(json(200, Vendor$inboundSchema), jsonErr([400, 401, 403], ApiErrorResponse$inboundSchema), jsonErr(500, ApiErrorResponse$inboundSchema), fail("4XX"), fail("5XX"))(response, { extraFields: responseFields });
44787
+ const [result] = await match(json(200, Vendor$inboundSchema), jsonErr([400, 401, 403, 404], ApiErrorResponse$inboundSchema), jsonErr(500, ApiErrorResponse$inboundSchema), fail("4XX"), fail("5XX"))(response, { extraFields: responseFields });
43407
44788
  if (!result.ok) {
43408
44789
  return [result, { status: "complete", request: req, response }];
43409
44790
  }
@@ -43423,12 +44804,12 @@ var init_vendorsGetVendorsDetails = __esm(() => {
43423
44804
  });
43424
44805
 
43425
44806
  // src/mcp-server/tools/vendorsGetVendorsDetails.ts
43426
- var args19, tool$vendorsGetVendorsDetails;
44807
+ var args20, tool$vendorsGetVendorsDetails;
43427
44808
  var init_vendorsGetVendorsDetails2 = __esm(() => {
43428
44809
  init_vendorsGetVendorsDetails();
43429
44810
  init_operations();
43430
44811
  init_tools();
43431
- args19 = {
44812
+ args20 = {
43432
44813
  request: GetVendorsDetailsRequest$inboundSchema
43433
44814
  };
43434
44815
  tool$vendorsGetVendorsDetails = {
@@ -43450,9 +44831,9 @@ vendor.credentialing_subscription
43450
44831
  vendor.scrubs_subscription
43451
44832
  vendor.payment_responsibility
43452
44833
  vendor.background_check_date_expires`,
43453
- args: args19,
43454
- tool: async (client, args20, ctx) => {
43455
- const [result, apiCall] = await vendorsGetVendorsDetails(client, args20.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
44834
+ args: args20,
44835
+ tool: async (client, args21, ctx) => {
44836
+ const [result, apiCall] = await vendorsGetVendorsDetails(client, args21.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
43456
44837
  if (!result.ok) {
43457
44838
  return {
43458
44839
  content: [{ type: "text", text: result.error.message }],
@@ -43467,9 +44848,9 @@ vendor.background_check_date_expires`,
43467
44848
 
43468
44849
  // src/funcs/vendorsListVendorAdditionalFacilityFields.ts
43469
44850
  function vendorsListVendorAdditionalFacilityFields(client, request, options) {
43470
- return new APIPromise($do21(client, request, options));
44851
+ return new APIPromise($do22(client, request, options));
43471
44852
  }
43472
- async function $do21(client, request, options) {
44853
+ async function $do22(client, request, options) {
43473
44854
  const parsed = safeParse(request, (value) => ListVendorAdditionalFacilityFieldsRequest$outboundSchema.parse(value), "Input validation failed");
43474
44855
  if (!parsed.ok) {
43475
44856
  return [haltIterator(parsed), { status: "invalid" }];
@@ -43519,7 +44900,7 @@ async function $do21(client, request, options) {
43519
44900
  const req = requestRes.value;
43520
44901
  const doResult = await client._do(req, {
43521
44902
  context,
43522
- errorCodes: ["400", "401", "4XX", "500", "5XX"],
44903
+ errorCodes: ["400", "401", "403", "404", "4XX", "500", "5XX"],
43523
44904
  retryConfig: context.retryConfig,
43524
44905
  retryCodes: context.retryCodes
43525
44906
  });
@@ -43530,7 +44911,7 @@ async function $do21(client, request, options) {
43530
44911
  const responseFields = {
43531
44912
  HttpMeta: { Response: response, Request: req }
43532
44913
  };
43533
- const [result, raw] = await match(json(200, ListVendorAdditionalFacilityFieldsResponse$inboundSchema, { key: "Result" }), jsonErr([400, 401], ApiErrorResponse$inboundSchema), jsonErr(500, ApiErrorResponse$inboundSchema), fail("4XX"), fail("5XX"))(response, { extraFields: responseFields });
44914
+ const [result, raw] = await match(json(200, ListVendorAdditionalFacilityFieldsResponse$inboundSchema, { key: "Result" }), jsonErr([400, 401, 403, 404], ApiErrorResponse$inboundSchema), jsonErr(500, ApiErrorResponse$inboundSchema), fail("4XX"), fail("5XX"))(response, { extraFields: responseFields });
43534
44915
  if (!result.ok) {
43535
44916
  return [haltIterator(result), {
43536
44917
  status: "complete",
@@ -43579,12 +44960,12 @@ var init_vendorsListVendorAdditionalFacilityFields = __esm(() => {
43579
44960
  });
43580
44961
 
43581
44962
  // src/mcp-server/tools/vendorsListVendorAdditionalFacilityFields.ts
43582
- var args20, tool$vendorsListVendorAdditionalFacilityFields;
44963
+ var args21, tool$vendorsListVendorAdditionalFacilityFields;
43583
44964
  var init_vendorsListVendorAdditionalFacilityFields2 = __esm(() => {
43584
44965
  init_vendorsListVendorAdditionalFacilityFields();
43585
44966
  init_operations();
43586
44967
  init_tools();
43587
- args20 = {
44968
+ args21 = {
43588
44969
  request: ListVendorAdditionalFacilityFieldsRequest$inboundSchema
43589
44970
  };
43590
44971
  tool$vendorsListVendorAdditionalFacilityFields = {
@@ -43592,9 +44973,9 @@ var init_vendorsListVendorAdditionalFacilityFields2 = __esm(() => {
43592
44973
  description: `List of vendor's additional facility fields
43593
44974
 
43594
44975
  List of vendor's additional facility fields`,
43595
- args: args20,
43596
- tool: async (client, args21, ctx) => {
43597
- const [result, apiCall] = await vendorsListVendorAdditionalFacilityFields(client, args21.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
44976
+ args: args21,
44977
+ tool: async (client, args22, ctx) => {
44978
+ const [result, apiCall] = await vendorsListVendorAdditionalFacilityFields(client, args22.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
43598
44979
  if (!result.ok) {
43599
44980
  return {
43600
44981
  content: [{ type: "text", text: result.error.message }],
@@ -43609,9 +44990,9 @@ List of vendor's additional facility fields`,
43609
44990
 
43610
44991
  // src/funcs/vendorsListVendorCredentials.ts
43611
44992
  function vendorsListVendorCredentials(client, request, options) {
43612
- return new APIPromise($do22(client, request, options));
44993
+ return new APIPromise($do23(client, request, options));
43613
44994
  }
43614
- async function $do22(client, request, options) {
44995
+ async function $do23(client, request, options) {
43615
44996
  const parsed = safeParse(request, (value) => ListVendorCredentialsRequest$outboundSchema.parse(value), "Input validation failed");
43616
44997
  if (!parsed.ok) {
43617
44998
  return [haltIterator(parsed), { status: "invalid" }];
@@ -43667,7 +45048,7 @@ async function $do22(client, request, options) {
43667
45048
  const req = requestRes.value;
43668
45049
  const doResult = await client._do(req, {
43669
45050
  context,
43670
- errorCodes: ["4XX", "5XX"],
45051
+ errorCodes: ["400", "401", "403", "404", "4XX", "500", "5XX"],
43671
45052
  retryConfig: context.retryConfig,
43672
45053
  retryCodes: context.retryCodes
43673
45054
  });
@@ -43680,7 +45061,7 @@ async function $do22(client, request, options) {
43680
45061
  };
43681
45062
  const [result, raw] = await match(json(200, ListVendorCredentialsResponse$inboundSchema, {
43682
45063
  key: "Result"
43683
- }), fail("4XX"), fail("5XX"))(response, { extraFields: responseFields });
45064
+ }), jsonErr([400, 401, 403, 404], ApiErrorResponse$inboundSchema), jsonErr(500, ApiErrorResponse$inboundSchema), fail("4XX"), fail("5XX"))(response, { extraFields: responseFields });
43684
45065
  if (!result.ok) {
43685
45066
  return [haltIterator(result), {
43686
45067
  status: "complete",
@@ -43722,18 +45103,19 @@ var init_vendorsListVendorCredentials = __esm(() => {
43722
45103
  init_schemas();
43723
45104
  init_security();
43724
45105
  init_url();
45106
+ init_errors();
43725
45107
  init_operations();
43726
45108
  init_async();
43727
45109
  init_operations2();
43728
45110
  });
43729
45111
 
43730
45112
  // src/mcp-server/tools/vendorsListVendorCredentials.ts
43731
- var args21, tool$vendorsListVendorCredentials;
45113
+ var args22, tool$vendorsListVendorCredentials;
43732
45114
  var init_vendorsListVendorCredentials2 = __esm(() => {
43733
45115
  init_vendorsListVendorCredentials();
43734
45116
  init_operations();
43735
45117
  init_tools();
43736
- args21 = {
45118
+ args22 = {
43737
45119
  request: ListVendorCredentialsRequest$inboundSchema
43738
45120
  };
43739
45121
  tool$vendorsListVendorCredentials = {
@@ -43741,9 +45123,9 @@ var init_vendorsListVendorCredentials2 = __esm(() => {
43741
45123
  description: `List Vendor Credentials
43742
45124
 
43743
45125
  Lists vendor credentials, required credentials, and company credentials. Utilized in Vendor Dashboard.`,
43744
- args: args21,
43745
- tool: async (client, args22, ctx) => {
43746
- const [result, apiCall] = await vendorsListVendorCredentials(client, args22.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
45126
+ args: args22,
45127
+ tool: async (client, args23, ctx) => {
45128
+ const [result, apiCall] = await vendorsListVendorCredentials(client, args23.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
43747
45129
  if (!result.ok) {
43748
45130
  return {
43749
45131
  content: [{ type: "text", text: result.error.message }],
@@ -43758,9 +45140,9 @@ Lists vendor credentials, required credentials, and company credentials. Utilize
43758
45140
 
43759
45141
  // src/funcs/vendorsListVendorCredits.ts
43760
45142
  function vendorsListVendorCredits(client, request, options) {
43761
- return new APIPromise($do23(client, request, options));
45143
+ return new APIPromise($do24(client, request, options));
43762
45144
  }
43763
- async function $do23(client, request, options) {
45145
+ async function $do24(client, request, options) {
43764
45146
  const parsed = safeParse(request, (value) => ListVendorCreditsRequest$outboundSchema.parse(value), "Input validation failed");
43765
45147
  if (!parsed.ok) {
43766
45148
  return [haltIterator(parsed), { status: "invalid" }];
@@ -43810,7 +45192,7 @@ async function $do23(client, request, options) {
43810
45192
  const req = requestRes.value;
43811
45193
  const doResult = await client._do(req, {
43812
45194
  context,
43813
- errorCodes: ["400", "401", "4XX", "500", "5XX"],
45195
+ errorCodes: ["400", "401", "403", "404", "4XX", "500", "5XX"],
43814
45196
  retryConfig: context.retryConfig,
43815
45197
  retryCodes: context.retryCodes
43816
45198
  });
@@ -43823,7 +45205,7 @@ async function $do23(client, request, options) {
43823
45205
  };
43824
45206
  const [result, raw] = await match(json(200, ListVendorCreditsResponse$inboundSchema, {
43825
45207
  key: "Result"
43826
- }), jsonErr([400, 401], ApiErrorResponse$inboundSchema), jsonErr(500, ApiErrorResponse$inboundSchema), fail("4XX"), fail("5XX"))(response, { extraFields: responseFields });
45208
+ }), jsonErr([400, 401, 403, 404], ApiErrorResponse$inboundSchema), jsonErr(500, ApiErrorResponse$inboundSchema), fail("4XX"), fail("5XX"))(response, { extraFields: responseFields });
43827
45209
  if (!result.ok) {
43828
45210
  return [haltIterator(result), {
43829
45211
  status: "complete",
@@ -43872,12 +45254,12 @@ var init_vendorsListVendorCredits = __esm(() => {
43872
45254
  });
43873
45255
 
43874
45256
  // src/mcp-server/tools/vendorsListVendorCredits.ts
43875
- var args22, tool$vendorsListVendorCredits;
45257
+ var args23, tool$vendorsListVendorCredits;
43876
45258
  var init_vendorsListVendorCredits2 = __esm(() => {
43877
45259
  init_vendorsListVendorCredits();
43878
45260
  init_operations();
43879
45261
  init_tools();
43880
- args22 = {
45262
+ args23 = {
43881
45263
  request: ListVendorCreditsRequest$inboundSchema
43882
45264
  };
43883
45265
  tool$vendorsListVendorCredits = {
@@ -43885,9 +45267,9 @@ var init_vendorsListVendorCredits2 = __esm(() => {
43885
45267
  description: `List vendor credits
43886
45268
 
43887
45269
  List the credits for the vendor`,
43888
- args: args22,
43889
- tool: async (client, args23, ctx) => {
43890
- const [result, apiCall] = await vendorsListVendorCredits(client, args23.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
45270
+ args: args23,
45271
+ tool: async (client, args24, ctx) => {
45272
+ const [result, apiCall] = await vendorsListVendorCredits(client, args24.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
43891
45273
  if (!result.ok) {
43892
45274
  return {
43893
45275
  content: [{ type: "text", text: result.error.message }],
@@ -43902,9 +45284,9 @@ List the credits for the vendor`,
43902
45284
 
43903
45285
  // src/funcs/vendorsListVendorFacilityStatuses.ts
43904
45286
  function vendorsListVendorFacilityStatuses(client, request, options) {
43905
- return new APIPromise($do24(client, request, options));
45287
+ return new APIPromise($do25(client, request, options));
43906
45288
  }
43907
- async function $do24(client, request, options) {
45289
+ async function $do25(client, request, options) {
43908
45290
  const parsed = safeParse(request, (value) => ListVendorFacilityStatusesRequest$outboundSchema.parse(value), "Input validation failed");
43909
45291
  if (!parsed.ok) {
43910
45292
  return [haltIterator(parsed), { status: "invalid" }];
@@ -43950,7 +45332,7 @@ async function $do24(client, request, options) {
43950
45332
  const req = requestRes.value;
43951
45333
  const doResult = await client._do(req, {
43952
45334
  context,
43953
- errorCodes: ["401", "4XX", "500", "5XX"],
45335
+ errorCodes: ["400", "401", "403", "4XX", "500", "5XX"],
43954
45336
  retryConfig: context.retryConfig,
43955
45337
  retryCodes: context.retryCodes
43956
45338
  });
@@ -43963,7 +45345,7 @@ async function $do24(client, request, options) {
43963
45345
  };
43964
45346
  const [result, raw] = await match(json(200, ListVendorFacilityStatusesResponse$inboundSchema, {
43965
45347
  key: "Result"
43966
- }), jsonErr(401, ApiErrorResponse$inboundSchema), jsonErr(500, ApiErrorResponse$inboundSchema), fail("4XX"), fail("5XX"))(response, { extraFields: responseFields });
45348
+ }), jsonErr([400, 401, 403], ApiErrorResponse$inboundSchema), jsonErr(500, ApiErrorResponse$inboundSchema), fail("4XX"), fail("5XX"))(response, { extraFields: responseFields });
43967
45349
  if (!result.ok) {
43968
45350
  return [haltIterator(result), {
43969
45351
  status: "complete",
@@ -44012,12 +45394,12 @@ var init_vendorsListVendorFacilityStatuses = __esm(() => {
44012
45394
  });
44013
45395
 
44014
45396
  // src/mcp-server/tools/vendorsListVendorFacilityStatuses.ts
44015
- var args23, tool$vendorsListVendorFacilityStatuses;
45397
+ var args24, tool$vendorsListVendorFacilityStatuses;
44016
45398
  var init_vendorsListVendorFacilityStatuses2 = __esm(() => {
44017
45399
  init_vendorsListVendorFacilityStatuses();
44018
45400
  init_operations();
44019
45401
  init_tools();
44020
- args23 = {
45402
+ args24 = {
44021
45403
  request: ListVendorFacilityStatusesRequest$inboundSchema
44022
45404
  };
44023
45405
  tool$vendorsListVendorFacilityStatuses = {
@@ -44025,9 +45407,9 @@ var init_vendorsListVendorFacilityStatuses2 = __esm(() => {
44025
45407
  description: `List vendor facility statuses
44026
45408
 
44027
45409
  List the facilities for the vendor`,
44028
- args: args23,
44029
- tool: async (client, args24, ctx) => {
44030
- const [result, apiCall] = await vendorsListVendorFacilityStatuses(client, args24.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
45410
+ args: args24,
45411
+ tool: async (client, args25, ctx) => {
45412
+ const [result, apiCall] = await vendorsListVendorFacilityStatuses(client, args25.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
44031
45413
  if (!result.ok) {
44032
45414
  return {
44033
45415
  content: [{ type: "text", text: result.error.message }],
@@ -44042,9 +45424,9 @@ List the facilities for the vendor`,
44042
45424
 
44043
45425
  // src/funcs/vendorsListVendorInvoices.ts
44044
45426
  function vendorsListVendorInvoices(client, request, options) {
44045
- return new APIPromise($do25(client, request, options));
45427
+ return new APIPromise($do26(client, request, options));
44046
45428
  }
44047
- async function $do25(client, request, options) {
45429
+ async function $do26(client, request, options) {
44048
45430
  const parsed = safeParse(request, (value) => ListVendorInvoicesRequest$outboundSchema.parse(value), "Input validation failed");
44049
45431
  if (!parsed.ok) {
44050
45432
  return [haltIterator(parsed), { status: "invalid" }];
@@ -44098,7 +45480,7 @@ async function $do25(client, request, options) {
44098
45480
  const req = requestRes.value;
44099
45481
  const doResult = await client._do(req, {
44100
45482
  context,
44101
- errorCodes: ["400", "401", "403", "4XX", "5XX"],
45483
+ errorCodes: ["400", "401", "403", "404", "4XX", "500", "5XX"],
44102
45484
  retryConfig: context.retryConfig,
44103
45485
  retryCodes: context.retryCodes
44104
45486
  });
@@ -44111,7 +45493,7 @@ async function $do25(client, request, options) {
44111
45493
  };
44112
45494
  const [result, raw] = await match(json(200, ListVendorInvoicesResponse$inboundSchema, {
44113
45495
  key: "Result"
44114
- }), jsonErr([400, 401, 403], ApiErrorResponse$inboundSchema), fail("4XX"), fail("5XX"))(response, { extraFields: responseFields });
45496
+ }), jsonErr([400, 401, 403, 404], ApiErrorResponse$inboundSchema), jsonErr(500, ApiErrorResponse$inboundSchema), fail("4XX"), fail("5XX"))(response, { extraFields: responseFields });
44115
45497
  if (!result.ok) {
44116
45498
  return [haltIterator(result), {
44117
45499
  status: "complete",
@@ -44160,12 +45542,12 @@ var init_vendorsListVendorInvoices = __esm(() => {
44160
45542
  });
44161
45543
 
44162
45544
  // src/mcp-server/tools/vendorsListVendorInvoices.ts
44163
- var args24, tool$vendorsListVendorInvoices;
45545
+ var args25, tool$vendorsListVendorInvoices;
44164
45546
  var init_vendorsListVendorInvoices2 = __esm(() => {
44165
45547
  init_vendorsListVendorInvoices();
44166
45548
  init_operations();
44167
45549
  init_tools();
44168
- args24 = {
45550
+ args25 = {
44169
45551
  request: ListVendorInvoicesRequest$inboundSchema
44170
45552
  };
44171
45553
  tool$vendorsListVendorInvoices = {
@@ -44177,9 +45559,9 @@ List invoices for Vendors
44177
45559
  Available \`expand\` scopes are:
44178
45560
 
44179
45561
  invoice.line_items`,
44180
- args: args24,
44181
- tool: async (client, args25, ctx) => {
44182
- const [result, apiCall] = await vendorsListVendorInvoices(client, args25.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
45562
+ args: args25,
45563
+ tool: async (client, args26, ctx) => {
45564
+ const [result, apiCall] = await vendorsListVendorInvoices(client, args26.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
44183
45565
  if (!result.ok) {
44184
45566
  return {
44185
45567
  content: [{ type: "text", text: result.error.message }],
@@ -44194,9 +45576,9 @@ invoice.line_items`,
44194
45576
 
44195
45577
  // src/funcs/vendorsListVendorManagedByCompanies.ts
44196
45578
  function vendorsListVendorManagedByCompanies(client, request, options) {
44197
- return new APIPromise($do26(client, request, options));
45579
+ return new APIPromise($do27(client, request, options));
44198
45580
  }
44199
- async function $do26(client, request, options) {
45581
+ async function $do27(client, request, options) {
44200
45582
  const parsed = safeParse(request, (value) => ListVendorManagedByCompaniesRequest$outboundSchema.parse(value), "Input validation failed");
44201
45583
  if (!parsed.ok) {
44202
45584
  return [haltIterator(parsed), { status: "invalid" }];
@@ -44246,7 +45628,7 @@ async function $do26(client, request, options) {
44246
45628
  const req = requestRes.value;
44247
45629
  const doResult = await client._do(req, {
44248
45630
  context,
44249
- errorCodes: ["400", "401", "4XX", "500", "5XX"],
45631
+ errorCodes: ["400", "401", "403", "404", "4XX", "500", "5XX"],
44250
45632
  retryConfig: context.retryConfig,
44251
45633
  retryCodes: context.retryCodes
44252
45634
  });
@@ -44259,7 +45641,7 @@ async function $do26(client, request, options) {
44259
45641
  };
44260
45642
  const [result, raw] = await match(json(200, ListVendorManagedByCompaniesResponse$inboundSchema, {
44261
45643
  key: "Result"
44262
- }), jsonErr([400, 401], ApiErrorResponse$inboundSchema), jsonErr(500, ApiErrorResponse$inboundSchema), fail("4XX"), fail("5XX"))(response, { extraFields: responseFields });
45644
+ }), jsonErr([400, 401, 403, 404], ApiErrorResponse$inboundSchema), jsonErr(500, ApiErrorResponse$inboundSchema), fail("4XX"), fail("5XX"))(response, { extraFields: responseFields });
44263
45645
  if (!result.ok) {
44264
45646
  return [haltIterator(result), {
44265
45647
  status: "complete",
@@ -44308,12 +45690,12 @@ var init_vendorsListVendorManagedByCompanies = __esm(() => {
44308
45690
  });
44309
45691
 
44310
45692
  // src/mcp-server/tools/vendorsListVendorManagedByCompanies.ts
44311
- var args25, tool$vendorsListVendorManagedByCompanies;
45693
+ var args26, tool$vendorsListVendorManagedByCompanies;
44312
45694
  var init_vendorsListVendorManagedByCompanies2 = __esm(() => {
44313
45695
  init_vendorsListVendorManagedByCompanies();
44314
45696
  init_operations();
44315
45697
  init_tools();
44316
- args25 = {
45698
+ args26 = {
44317
45699
  request: ListVendorManagedByCompaniesRequest$inboundSchema
44318
45700
  };
44319
45701
  tool$vendorsListVendorManagedByCompanies = {
@@ -44321,9 +45703,9 @@ var init_vendorsListVendorManagedByCompanies2 = __esm(() => {
44321
45703
  description: `List of companies managing the vendor
44322
45704
 
44323
45705
  List of companies managing the vendor`,
44324
- args: args25,
44325
- tool: async (client, args26, ctx) => {
44326
- const [result, apiCall] = await vendorsListVendorManagedByCompanies(client, args26.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
45706
+ args: args26,
45707
+ tool: async (client, args27, ctx) => {
45708
+ const [result, apiCall] = await vendorsListVendorManagedByCompanies(client, args27.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
44327
45709
  if (!result.ok) {
44328
45710
  return {
44329
45711
  content: [{ type: "text", text: result.error.message }],
@@ -44338,9 +45720,9 @@ List of companies managing the vendor`,
44338
45720
 
44339
45721
  // src/funcs/vendorsListVendorScrubDetails.ts
44340
45722
  function vendorsListVendorScrubDetails(client, request, options) {
44341
- return new APIPromise($do27(client, request, options));
45723
+ return new APIPromise($do28(client, request, options));
44342
45724
  }
44343
- async function $do27(client, request, options) {
45725
+ async function $do28(client, request, options) {
44344
45726
  const parsed = safeParse(request, (value) => ListVendorScrubDetailsRequest$outboundSchema.parse(value), "Input validation failed");
44345
45727
  if (!parsed.ok) {
44346
45728
  return [parsed, { status: "invalid" }];
@@ -44383,7 +45765,7 @@ async function $do27(client, request, options) {
44383
45765
  const req = requestRes.value;
44384
45766
  const doResult = await client._do(req, {
44385
45767
  context,
44386
- errorCodes: ["400", "401", "4XX", "5XX"],
45768
+ errorCodes: ["400", "401", "403", "404", "4XX", "500", "5XX"],
44387
45769
  retryConfig: context.retryConfig,
44388
45770
  retryCodes: context.retryCodes
44389
45771
  });
@@ -44394,7 +45776,7 @@ async function $do27(client, request, options) {
44394
45776
  const responseFields = {
44395
45777
  HttpMeta: { Response: response, Request: req }
44396
45778
  };
44397
- const [result] = await match(json(200, VendorScrubDetails$inboundSchema), jsonErr([400, 401], ApiErrorResponse$inboundSchema), fail("4XX"), fail("5XX"))(response, { extraFields: responseFields });
45779
+ const [result] = await match(json(200, VendorScrubDetails$inboundSchema), jsonErr([400, 401, 403, 404], ApiErrorResponse$inboundSchema), jsonErr(500, ApiErrorResponse$inboundSchema), fail("4XX"), fail("5XX"))(response, { extraFields: responseFields });
44398
45780
  if (!result.ok) {
44399
45781
  return [result, { status: "complete", request: req, response }];
44400
45782
  }
@@ -44414,12 +45796,12 @@ var init_vendorsListVendorScrubDetails = __esm(() => {
44414
45796
  });
44415
45797
 
44416
45798
  // src/mcp-server/tools/vendorsListVendorScrubDetails.ts
44417
- var args26, tool$vendorsListVendorScrubDetails;
45799
+ var args27, tool$vendorsListVendorScrubDetails;
44418
45800
  var init_vendorsListVendorScrubDetails2 = __esm(() => {
44419
45801
  init_vendorsListVendorScrubDetails();
44420
45802
  init_operations();
44421
45803
  init_tools();
44422
- args26 = {
45804
+ args27 = {
44423
45805
  request: ListVendorScrubDetailsRequest$inboundSchema
44424
45806
  };
44425
45807
  tool$vendorsListVendorScrubDetails = {
@@ -44427,9 +45809,9 @@ var init_vendorsListVendorScrubDetails2 = __esm(() => {
44427
45809
  description: `List vendor scrub details
44428
45810
 
44429
45811
  List vendor scrub details`,
44430
- args: args26,
44431
- tool: async (client, args27, ctx) => {
44432
- const [result, apiCall] = await vendorsListVendorScrubDetails(client, args27.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
45812
+ args: args27,
45813
+ tool: async (client, args28, ctx) => {
45814
+ const [result, apiCall] = await vendorsListVendorScrubDetails(client, args28.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
44433
45815
  if (!result.ok) {
44434
45816
  return {
44435
45817
  content: [{ type: "text", text: result.error.message }],
@@ -44444,9 +45826,9 @@ List vendor scrub details`,
44444
45826
 
44445
45827
  // src/funcs/vendorsListVendorScrubPackages.ts
44446
45828
  function vendorsListVendorScrubPackages(client, request, options) {
44447
- return new APIPromise($do28(client, request, options));
45829
+ return new APIPromise($do29(client, request, options));
44448
45830
  }
44449
- async function $do28(client, request, options) {
45831
+ async function $do29(client, request, options) {
44450
45832
  const parsed = safeParse(request, (value) => ListVendorScrubPackagesRequest$outboundSchema.parse(value), "Input validation failed");
44451
45833
  if (!parsed.ok) {
44452
45834
  return [haltIterator(parsed), { status: "invalid" }];
@@ -44558,12 +45940,12 @@ var init_vendorsListVendorScrubPackages = __esm(() => {
44558
45940
  });
44559
45941
 
44560
45942
  // src/mcp-server/tools/vendorsListVendorScrubPackages.ts
44561
- var args27, tool$vendorsListVendorScrubPackages;
45943
+ var args28, tool$vendorsListVendorScrubPackages;
44562
45944
  var init_vendorsListVendorScrubPackages2 = __esm(() => {
44563
45945
  init_vendorsListVendorScrubPackages();
44564
45946
  init_operations();
44565
45947
  init_tools();
44566
- args27 = {
45948
+ args28 = {
44567
45949
  request: ListVendorScrubPackagesRequest$inboundSchema
44568
45950
  };
44569
45951
  tool$vendorsListVendorScrubPackages = {
@@ -44571,9 +45953,9 @@ var init_vendorsListVendorScrubPackages2 = __esm(() => {
44571
45953
  description: `List vendor scrub packages
44572
45954
 
44573
45955
  List vendor scrub packages`,
44574
- args: args27,
44575
- tool: async (client, args28, ctx) => {
44576
- const [result, apiCall] = await vendorsListVendorScrubPackages(client, args28.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
45956
+ args: args28,
45957
+ tool: async (client, args29, ctx) => {
45958
+ const [result, apiCall] = await vendorsListVendorScrubPackages(client, args29.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
44577
45959
  if (!result.ok) {
44578
45960
  return {
44579
45961
  content: [{ type: "text", text: result.error.message }],
@@ -44588,9 +45970,9 @@ List vendor scrub packages`,
44588
45970
 
44589
45971
  // src/funcs/vendorsListVendorScrubPurchases.ts
44590
45972
  function vendorsListVendorScrubPurchases(client, request, options) {
44591
- return new APIPromise($do29(client, request, options));
45973
+ return new APIPromise($do30(client, request, options));
44592
45974
  }
44593
- async function $do29(client, request, options) {
45975
+ async function $do30(client, request, options) {
44594
45976
  const parsed = safeParse(request, (value) => ListVendorScrubPurchasesRequest$outboundSchema.parse(value), "Input validation failed");
44595
45977
  if (!parsed.ok) {
44596
45978
  return [haltIterator(parsed), { status: "invalid" }];
@@ -44640,7 +46022,7 @@ async function $do29(client, request, options) {
44640
46022
  const req = requestRes.value;
44641
46023
  const doResult = await client._do(req, {
44642
46024
  context,
44643
- errorCodes: ["400", "401", "4XX", "5XX"],
46025
+ errorCodes: ["400", "401", "403", "4XX", "500", "5XX"],
44644
46026
  retryConfig: context.retryConfig,
44645
46027
  retryCodes: context.retryCodes
44646
46028
  });
@@ -44653,7 +46035,7 @@ async function $do29(client, request, options) {
44653
46035
  };
44654
46036
  const [result, raw] = await match(json(200, ListVendorScrubPurchasesResponse$inboundSchema, {
44655
46037
  key: "Result"
44656
- }), jsonErr([400, 401], ApiErrorResponse$inboundSchema), fail("4XX"), fail("5XX"))(response, { extraFields: responseFields });
46038
+ }), jsonErr([400, 401, 403], ApiErrorResponse$inboundSchema), jsonErr(500, ApiErrorResponse$inboundSchema), fail("4XX"), fail("5XX"))(response, { extraFields: responseFields });
44657
46039
  if (!result.ok) {
44658
46040
  return [haltIterator(result), {
44659
46041
  status: "complete",
@@ -44702,12 +46084,12 @@ var init_vendorsListVendorScrubPurchases = __esm(() => {
44702
46084
  });
44703
46085
 
44704
46086
  // src/mcp-server/tools/vendorsListVendorScrubPurchases.ts
44705
- var args28, tool$vendorsListVendorScrubPurchases;
46087
+ var args29, tool$vendorsListVendorScrubPurchases;
44706
46088
  var init_vendorsListVendorScrubPurchases2 = __esm(() => {
44707
46089
  init_vendorsListVendorScrubPurchases();
44708
46090
  init_operations();
44709
46091
  init_tools();
44710
- args28 = {
46092
+ args29 = {
44711
46093
  request: ListVendorScrubPurchasesRequest$inboundSchema
44712
46094
  };
44713
46095
  tool$vendorsListVendorScrubPurchases = {
@@ -44715,9 +46097,9 @@ var init_vendorsListVendorScrubPurchases2 = __esm(() => {
44715
46097
  description: `List vendor scrub purchases
44716
46098
 
44717
46099
  List vendor scrub purchases`,
44718
- args: args28,
44719
- tool: async (client, args29, ctx) => {
44720
- const [result, apiCall] = await vendorsListVendorScrubPurchases(client, args29.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
46100
+ args: args29,
46101
+ tool: async (client, args30, ctx) => {
46102
+ const [result, apiCall] = await vendorsListVendorScrubPurchases(client, args30.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
44721
46103
  if (!result.ok) {
44722
46104
  return {
44723
46105
  content: [{ type: "text", text: result.error.message }],
@@ -44732,9 +46114,9 @@ List vendor scrub purchases`,
44732
46114
 
44733
46115
  // src/funcs/vendorsPurchaseScrubCredits.ts
44734
46116
  function vendorsPurchaseScrubCredits(client, request, options) {
44735
- return new APIPromise($do30(client, request, options));
46117
+ return new APIPromise($do31(client, request, options));
44736
46118
  }
44737
- async function $do30(client, request, options) {
46119
+ async function $do31(client, request, options) {
44738
46120
  const parsed = safeParse(request, (value) => PurchaseScrubCreditsRequest$outboundSchema.parse(value), "Input validation failed");
44739
46121
  if (!parsed.ok) {
44740
46122
  return [parsed, { status: "invalid" }];
@@ -44808,12 +46190,12 @@ var init_vendorsPurchaseScrubCredits = __esm(() => {
44808
46190
  });
44809
46191
 
44810
46192
  // src/mcp-server/tools/vendorsPurchaseScrubCredits.ts
44811
- var args29, tool$vendorsPurchaseScrubCredits;
46193
+ var args30, tool$vendorsPurchaseScrubCredits;
44812
46194
  var init_vendorsPurchaseScrubCredits2 = __esm(() => {
44813
46195
  init_vendorsPurchaseScrubCredits();
44814
46196
  init_operations();
44815
46197
  init_tools();
44816
- args29 = {
46198
+ args30 = {
44817
46199
  request: PurchaseScrubCreditsRequest$inboundSchema
44818
46200
  };
44819
46201
  tool$vendorsPurchaseScrubCredits = {
@@ -44821,9 +46203,9 @@ var init_vendorsPurchaseScrubCredits2 = __esm(() => {
44821
46203
  description: `Purchase scrub credits
44822
46204
 
44823
46205
  Purchase scrub credits`,
44824
- args: args29,
44825
- tool: async (client, args30, ctx) => {
44826
- const [result, apiCall] = await vendorsPurchaseScrubCredits(client, args30.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
46206
+ args: args30,
46207
+ tool: async (client, args31, ctx) => {
46208
+ const [result, apiCall] = await vendorsPurchaseScrubCredits(client, args31.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
44827
46209
  if (!result.ok) {
44828
46210
  return {
44829
46211
  content: [{ type: "text", text: result.error.message }],
@@ -44838,9 +46220,9 @@ Purchase scrub credits`,
44838
46220
 
44839
46221
  // src/funcs/vendorsUpdateVendorDetails.ts
44840
46222
  function vendorsUpdateVendorDetails(client, request, options) {
44841
- return new APIPromise($do31(client, request, options));
46223
+ return new APIPromise($do32(client, request, options));
44842
46224
  }
44843
- async function $do31(client, request, options) {
46225
+ async function $do32(client, request, options) {
44844
46226
  const parsed = safeParse(request, (value) => UpdateVendorDetailsRequest$outboundSchema.parse(value), "Input validation failed");
44845
46227
  if (!parsed.ok) {
44846
46228
  return [parsed, { status: "invalid" }];
@@ -44915,12 +46297,12 @@ var init_vendorsUpdateVendorDetails = __esm(() => {
44915
46297
  });
44916
46298
 
44917
46299
  // src/mcp-server/tools/vendorsUpdateVendorDetails.ts
44918
- var args30, tool$vendorsUpdateVendorDetails;
46300
+ var args31, tool$vendorsUpdateVendorDetails;
44919
46301
  var init_vendorsUpdateVendorDetails2 = __esm(() => {
44920
46302
  init_vendorsUpdateVendorDetails();
44921
46303
  init_operations();
44922
46304
  init_tools();
44923
- args30 = {
46305
+ args31 = {
44924
46306
  request: UpdateVendorDetailsRequest$inboundSchema
44925
46307
  };
44926
46308
  tool$vendorsUpdateVendorDetails = {
@@ -44928,9 +46310,9 @@ var init_vendorsUpdateVendorDetails2 = __esm(() => {
44928
46310
  description: `Update vendor details
44929
46311
 
44930
46312
  It will update the vendor details`,
44931
- args: args30,
44932
- tool: async (client, args31, ctx) => {
44933
- const [result, apiCall] = await vendorsUpdateVendorDetails(client, args31.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
46313
+ args: args31,
46314
+ tool: async (client, args32, ctx) => {
46315
+ const [result, apiCall] = await vendorsUpdateVendorDetails(client, args32.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
44934
46316
  if (!result.ok) {
44935
46317
  return {
44936
46318
  content: [{ type: "text", text: result.error.message }],
@@ -44945,9 +46327,9 @@ It will update the vendor details`,
44945
46327
 
44946
46328
  // src/funcs/vendorsUpdateVendorManagedByCompany.ts
44947
46329
  function vendorsUpdateVendorManagedByCompany(client, request, options) {
44948
- return new APIPromise($do32(client, request, options));
46330
+ return new APIPromise($do33(client, request, options));
44949
46331
  }
44950
- async function $do32(client, request, options) {
46332
+ async function $do33(client, request, options) {
44951
46333
  const parsed = safeParse(request, (value) => UpdateVendorManagedByCompanyRequest$outboundSchema.parse(value), "Input validation failed");
44952
46334
  if (!parsed.ok) {
44953
46335
  return [parsed, { status: "invalid" }];
@@ -45002,7 +46384,7 @@ async function $do32(client, request, options) {
45002
46384
  const responseFields = {
45003
46385
  HttpMeta: { Response: response, Request: req }
45004
46386
  };
45005
- const [result] = await match(json(200, UpdateVendorManagedByCompanyResponseBody$inboundSchema), jsonErr([400, 401, 403, 404], ApiErrorResponse$inboundSchema), jsonErr(500, ApiErrorResponse$inboundSchema), fail("4XX"), fail("5XX"))(response, { extraFields: responseFields });
46387
+ const [result] = await match(json(200, UpdateVendorManagedByCompanyUpdateVendorManagedByCompanyOk$inboundSchema), jsonErr([400, 401, 403, 404], ApiErrorResponse$inboundSchema), jsonErr(500, ApiErrorResponse$inboundSchema), fail("4XX"), fail("5XX"))(response, { extraFields: responseFields });
45006
46388
  if (!result.ok) {
45007
46389
  return [result, { status: "complete", request: req, response }];
45008
46390
  }
@@ -45021,12 +46403,12 @@ var init_vendorsUpdateVendorManagedByCompany = __esm(() => {
45021
46403
  });
45022
46404
 
45023
46405
  // src/mcp-server/tools/vendorsUpdateVendorManagedByCompany.ts
45024
- var args31, tool$vendorsUpdateVendorManagedByCompany;
46406
+ var args32, tool$vendorsUpdateVendorManagedByCompany;
45025
46407
  var init_vendorsUpdateVendorManagedByCompany2 = __esm(() => {
45026
46408
  init_vendorsUpdateVendorManagedByCompany();
45027
46409
  init_operations();
45028
46410
  init_tools();
45029
- args31 = {
46411
+ args32 = {
45030
46412
  request: UpdateVendorManagedByCompanyRequest$inboundSchema
45031
46413
  };
45032
46414
  tool$vendorsUpdateVendorManagedByCompany = {
@@ -45034,9 +46416,9 @@ var init_vendorsUpdateVendorManagedByCompany2 = __esm(() => {
45034
46416
  description: `Update vendor managed by company access rights
45035
46417
 
45036
46418
  It will update the vendor managed by company access rights`,
45037
- args: args31,
45038
- tool: async (client, args32, ctx) => {
45039
- const [result, apiCall] = await vendorsUpdateVendorManagedByCompany(client, args32.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
46419
+ args: args32,
46420
+ tool: async (client, args33, ctx) => {
46421
+ const [result, apiCall] = await vendorsUpdateVendorManagedByCompany(client, args33.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
45040
46422
  if (!result.ok) {
45041
46423
  return {
45042
46424
  content: [{ type: "text", text: result.error.message }],
@@ -45051,9 +46433,9 @@ It will update the vendor managed by company access rights`,
45051
46433
 
45052
46434
  // src/funcs/vendorsUpdateVendorScrubDetails.ts
45053
46435
  function vendorsUpdateVendorScrubDetails(client, request, options) {
45054
- return new APIPromise($do33(client, request, options));
46436
+ return new APIPromise($do34(client, request, options));
45055
46437
  }
45056
- async function $do33(client, request, options) {
46438
+ async function $do34(client, request, options) {
45057
46439
  const parsed = safeParse(request, (value) => UpdateVendorScrubDetailsRequest$outboundSchema.parse(value), "Input validation failed");
45058
46440
  if (!parsed.ok) {
45059
46441
  return [parsed, { status: "invalid" }];
@@ -45128,12 +46510,12 @@ var init_vendorsUpdateVendorScrubDetails = __esm(() => {
45128
46510
  });
45129
46511
 
45130
46512
  // src/mcp-server/tools/vendorsUpdateVendorScrubDetails.ts
45131
- var args32, tool$vendorsUpdateVendorScrubDetails;
46513
+ var args33, tool$vendorsUpdateVendorScrubDetails;
45132
46514
  var init_vendorsUpdateVendorScrubDetails2 = __esm(() => {
45133
46515
  init_vendorsUpdateVendorScrubDetails();
45134
46516
  init_operations();
45135
46517
  init_tools();
45136
- args32 = {
46518
+ args33 = {
45137
46519
  request: UpdateVendorScrubDetailsRequest$inboundSchema
45138
46520
  };
45139
46521
  tool$vendorsUpdateVendorScrubDetails = {
@@ -45141,9 +46523,9 @@ var init_vendorsUpdateVendorScrubDetails2 = __esm(() => {
45141
46523
  description: `Update vendor scrub details
45142
46524
 
45143
46525
  Update vendor scrub details`,
45144
- args: args32,
45145
- tool: async (client, args33, ctx) => {
45146
- const [result, apiCall] = await vendorsUpdateVendorScrubDetails(client, args33.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
46526
+ args: args33,
46527
+ tool: async (client, args34, ctx) => {
46528
+ const [result, apiCall] = await vendorsUpdateVendorScrubDetails(client, args34.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
45147
46529
  if (!result.ok) {
45148
46530
  return {
45149
46531
  content: [{ type: "text", text: result.error.message }],
@@ -45158,9 +46540,9 @@ Update vendor scrub details`,
45158
46540
 
45159
46541
  // src/funcs/webhooksGetWebhookEndpoint.ts
45160
46542
  function webhooksGetWebhookEndpoint(client, request, options) {
45161
- return new APIPromise($do34(client, request, options));
46543
+ return new APIPromise($do35(client, request, options));
45162
46544
  }
45163
- async function $do34(client, request, options) {
46545
+ async function $do35(client, request, options) {
45164
46546
  const parsed = safeParse(request, (value) => GetWebhookEndpointRequest$outboundSchema.parse(value), "Input validation failed");
45165
46547
  if (!parsed.ok) {
45166
46548
  return [parsed, { status: "invalid" }];
@@ -45203,7 +46585,7 @@ async function $do34(client, request, options) {
45203
46585
  const req = requestRes.value;
45204
46586
  const doResult = await client._do(req, {
45205
46587
  context,
45206
- errorCodes: ["400", "401", "403", "4XX", "500", "5XX"],
46588
+ errorCodes: ["400", "401", "403", "404", "4XX", "500", "5XX"],
45207
46589
  retryConfig: context.retryConfig,
45208
46590
  retryCodes: context.retryCodes
45209
46591
  });
@@ -45214,7 +46596,7 @@ async function $do34(client, request, options) {
45214
46596
  const responseFields = {
45215
46597
  HttpMeta: { Response: response, Request: req }
45216
46598
  };
45217
- const [result] = await match(json(200, WebhookEndpoint$inboundSchema), jsonErr([400, 401, 403], ApiErrorResponse$inboundSchema), jsonErr(500, ApiErrorResponse$inboundSchema), fail("4XX"), fail("5XX"))(response, { extraFields: responseFields });
46599
+ const [result] = await match(json(200, WebhookEndpoint$inboundSchema), jsonErr([400, 401, 403, 404], ApiErrorResponse$inboundSchema), jsonErr(500, ApiErrorResponse$inboundSchema), fail("4XX"), fail("5XX"))(response, { extraFields: responseFields });
45218
46600
  if (!result.ok) {
45219
46601
  return [result, { status: "complete", request: req, response }];
45220
46602
  }
@@ -45234,12 +46616,12 @@ var init_webhooksGetWebhookEndpoint = __esm(() => {
45234
46616
  });
45235
46617
 
45236
46618
  // src/mcp-server/tools/webhooksGetWebhookEndpoint.ts
45237
- var args33, tool$webhooksGetWebhookEndpoint;
46619
+ var args34, tool$webhooksGetWebhookEndpoint;
45238
46620
  var init_webhooksGetWebhookEndpoint2 = __esm(() => {
45239
46621
  init_webhooksGetWebhookEndpoint();
45240
46622
  init_operations();
45241
46623
  init_tools();
45242
- args33 = {
46624
+ args34 = {
45243
46625
  request: GetWebhookEndpointRequest$inboundSchema
45244
46626
  };
45245
46627
  tool$webhooksGetWebhookEndpoint = {
@@ -45247,9 +46629,9 @@ var init_webhooksGetWebhookEndpoint2 = __esm(() => {
45247
46629
  description: `Retrieves the webhook endpoint with the given ID.
45248
46630
 
45249
46631
  Returns the definition of a webhook endpoint by ID.`,
45250
- args: args33,
45251
- tool: async (client, args34, ctx) => {
45252
- const [result, apiCall] = await webhooksGetWebhookEndpoint(client, args34.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
46632
+ args: args34,
46633
+ tool: async (client, args35, ctx) => {
46634
+ const [result, apiCall] = await webhooksGetWebhookEndpoint(client, args35.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
45253
46635
  if (!result.ok) {
45254
46636
  return {
45255
46637
  content: [{ type: "text", text: result.error.message }],
@@ -45264,9 +46646,9 @@ Returns the definition of a webhook endpoint by ID.`,
45264
46646
 
45265
46647
  // src/funcs/webhooksListAllWebhookEndpoints.ts
45266
46648
  function webhooksListAllWebhookEndpoints(client, request, options) {
45267
- return new APIPromise($do35(client, request, options));
46649
+ return new APIPromise($do36(client, request, options));
45268
46650
  }
45269
- async function $do35(client, request, options) {
46651
+ async function $do36(client, request, options) {
45270
46652
  const parsed = safeParse(request, (value) => ListAllWebhookEndpointsRequest$outboundSchema.parse(value), "Input validation failed");
45271
46653
  if (!parsed.ok) {
45272
46654
  return [parsed, { status: "invalid" }];
@@ -45321,7 +46703,7 @@ async function $do35(client, request, options) {
45321
46703
  const responseFields = {
45322
46704
  HttpMeta: { Response: response, Request: req }
45323
46705
  };
45324
- const [result] = await match(json(200, ListAllWebhookEndpointsResponseBody$inboundSchema), jsonErr([400, 401, 403], ApiErrorResponse$inboundSchema), jsonErr(500, ApiErrorResponse$inboundSchema), fail("4XX"), fail("5XX"))(response, { extraFields: responseFields });
46706
+ const [result] = await match(json(200, ListAllWebhookEndpointsListAllWebhookEndpointsOk$inboundSchema), jsonErr([400, 401, 403], ApiErrorResponse$inboundSchema), jsonErr(500, ApiErrorResponse$inboundSchema), fail("4XX"), fail("5XX"))(response, { extraFields: responseFields });
45325
46707
  if (!result.ok) {
45326
46708
  return [result, { status: "complete", request: req, response }];
45327
46709
  }
@@ -45340,12 +46722,12 @@ var init_webhooksListAllWebhookEndpoints = __esm(() => {
45340
46722
  });
45341
46723
 
45342
46724
  // src/mcp-server/tools/webhooksListAllWebhookEndpoints.ts
45343
- var args34, tool$webhooksListAllWebhookEndpoints;
46725
+ var args35, tool$webhooksListAllWebhookEndpoints;
45344
46726
  var init_webhooksListAllWebhookEndpoints2 = __esm(() => {
45345
46727
  init_webhooksListAllWebhookEndpoints();
45346
46728
  init_operations();
45347
46729
  init_tools();
45348
- args34 = {
46730
+ args35 = {
45349
46731
  request: ListAllWebhookEndpointsRequest$inboundSchema
45350
46732
  };
45351
46733
  tool$webhooksListAllWebhookEndpoints = {
@@ -45353,9 +46735,116 @@ var init_webhooksListAllWebhookEndpoints2 = __esm(() => {
45353
46735
  description: `List all webhook endpoints
45354
46736
 
45355
46737
  Returns a list of your webhook endpoints.`,
45356
- args: args34,
45357
- tool: async (client, args35, ctx) => {
45358
- const [result, apiCall] = await webhooksListAllWebhookEndpoints(client, args35.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
46738
+ args: args35,
46739
+ tool: async (client, args36, ctx) => {
46740
+ const [result, apiCall] = await webhooksListAllWebhookEndpoints(client, args36.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
46741
+ if (!result.ok) {
46742
+ return {
46743
+ content: [{ type: "text", text: result.error.message }],
46744
+ isError: true
46745
+ };
46746
+ }
46747
+ const value = result.value;
46748
+ return formatResult(value, apiCall);
46749
+ }
46750
+ };
46751
+ });
46752
+
46753
+ // src/funcs/webhooksUpdatesTheWebhookEndpointWithTheGivenId.ts
46754
+ function webhooksUpdatesTheWebhookEndpointWithTheGivenId(client, request, options) {
46755
+ return new APIPromise($do37(client, request, options));
46756
+ }
46757
+ async function $do37(client, request, options) {
46758
+ const parsed = safeParse(request, (value) => UpdatesTheWebhookEndpointWithTheGivenIdRequest$outboundSchema.parse(value), "Input validation failed");
46759
+ if (!parsed.ok) {
46760
+ return [parsed, { status: "invalid" }];
46761
+ }
46762
+ const payload = parsed.value;
46763
+ const body = encodeJSON("body", payload.WebhookEndpoint, { explode: true });
46764
+ const pathParams = {
46765
+ id: encodeSimple("id", payload.id, {
46766
+ explode: false,
46767
+ charEncoding: "percent"
46768
+ })
46769
+ };
46770
+ const path = pathToFunc("/webhooks/{id}")(pathParams);
46771
+ const headers = new Headers(compactMap({
46772
+ "Content-Type": "application/json",
46773
+ Accept: "application/json"
46774
+ }));
46775
+ const securityInput = await extractSecurity(client._options.security);
46776
+ const requestSecurity = resolveGlobalSecurity(securityInput);
46777
+ const context = {
46778
+ baseURL: options?.serverURL ?? client._baseURL ?? "",
46779
+ operationID: "updatesTheWebhookEndpointWithTheGivenId",
46780
+ oAuth2Scopes: [],
46781
+ resolvedSecurity: requestSecurity,
46782
+ securitySource: client._options.security,
46783
+ retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
46784
+ retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
46785
+ };
46786
+ const requestRes = client._createRequest(context, {
46787
+ security: requestSecurity,
46788
+ method: "PUT",
46789
+ baseURL: options?.serverURL,
46790
+ path,
46791
+ headers,
46792
+ body,
46793
+ timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
46794
+ }, options);
46795
+ if (!requestRes.ok) {
46796
+ return [requestRes, { status: "invalid" }];
46797
+ }
46798
+ const req = requestRes.value;
46799
+ const doResult = await client._do(req, {
46800
+ context,
46801
+ errorCodes: ["400", "401", "403", "404", "4XX", "500", "5XX"],
46802
+ retryConfig: context.retryConfig,
46803
+ retryCodes: context.retryCodes
46804
+ });
46805
+ if (!doResult.ok) {
46806
+ return [doResult, { status: "request-error", request: req }];
46807
+ }
46808
+ const response = doResult.value;
46809
+ const responseFields = {
46810
+ HttpMeta: { Response: response, Request: req }
46811
+ };
46812
+ const [result] = await match(json(200, WebhookEndpoint$inboundSchema), jsonErr([400, 401, 403, 404], ApiErrorResponse$inboundSchema), jsonErr(500, ApiErrorResponse$inboundSchema), fail("4XX"), fail("5XX"))(response, { extraFields: responseFields });
46813
+ if (!result.ok) {
46814
+ return [result, { status: "complete", request: req, response }];
46815
+ }
46816
+ return [result, { status: "complete", request: req, response }];
46817
+ }
46818
+ var init_webhooksUpdatesTheWebhookEndpointWithTheGivenId = __esm(() => {
46819
+ init_encodings();
46820
+ init_matchers();
46821
+ init_primitives();
46822
+ init_schemas();
46823
+ init_security();
46824
+ init_url();
46825
+ init_components();
46826
+ init_errors();
46827
+ init_operations();
46828
+ init_async();
46829
+ });
46830
+
46831
+ // src/mcp-server/tools/webhooksUpdatesTheWebhookEndpointWithTheGivenId.ts
46832
+ var args36, tool$webhooksUpdatesTheWebhookEndpointWithTheGivenId;
46833
+ var init_webhooksUpdatesTheWebhookEndpointWithTheGivenId2 = __esm(() => {
46834
+ init_webhooksUpdatesTheWebhookEndpointWithTheGivenId();
46835
+ init_operations();
46836
+ init_tools();
46837
+ args36 = {
46838
+ request: UpdatesTheWebhookEndpointWithTheGivenIdRequest$inboundSchema
46839
+ };
46840
+ tool$webhooksUpdatesTheWebhookEndpointWithTheGivenId = {
46841
+ name: "webhooks-updates-the-webhook-endpoint-with-the-given-id",
46842
+ description: `Updates the webhook endpoint with the given ID.
46843
+
46844
+ Updates the webhook endpoint with the given ID.`,
46845
+ args: args36,
46846
+ tool: async (client, args37, ctx) => {
46847
+ const [result, apiCall] = await webhooksUpdatesTheWebhookEndpointWithTheGivenId(client, args37.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
45359
46848
  if (!result.ok) {
45360
46849
  return {
45361
46850
  content: [{ type: "text", text: result.error.message }],
@@ -45370,9 +46859,9 @@ Returns a list of your webhook endpoints.`,
45370
46859
 
45371
46860
  // src/funcs/zonesListOrSearchSecurityZones.ts
45372
46861
  function zonesListOrSearchSecurityZones(client, request, options) {
45373
- return new APIPromise($do36(client, request, options));
46862
+ return new APIPromise($do38(client, request, options));
45374
46863
  }
45375
- async function $do36(client, request, options) {
46864
+ async function $do38(client, request, options) {
45376
46865
  const parsed = safeParse(request, (value) => ListOrSearchSecurityZonesRequest$outboundSchema.parse(value), "Input validation failed");
45377
46866
  if (!parsed.ok) {
45378
46867
  return [haltIterator(parsed), { status: "invalid" }];
@@ -45484,12 +46973,12 @@ var init_zonesListOrSearchSecurityZones = __esm(() => {
45484
46973
  });
45485
46974
 
45486
46975
  // src/mcp-server/tools/zonesListOrSearchSecurityZones.ts
45487
- var args35, tool$zonesListOrSearchSecurityZones;
46976
+ var args37, tool$zonesListOrSearchSecurityZones;
45488
46977
  var init_zonesListOrSearchSecurityZones2 = __esm(() => {
45489
46978
  init_zonesListOrSearchSecurityZones();
45490
46979
  init_operations();
45491
46980
  init_tools();
45492
- args35 = {
46981
+ args37 = {
45493
46982
  request: ListOrSearchSecurityZonesRequest$inboundSchema
45494
46983
  };
45495
46984
  tool$zonesListOrSearchSecurityZones = {
@@ -45497,9 +46986,9 @@ var init_zonesListOrSearchSecurityZones2 = __esm(() => {
45497
46986
  description: `List or search security zones
45498
46987
 
45499
46988
  List or search security zones`,
45500
- args: args35,
45501
- tool: async (client, args36, ctx) => {
45502
- const [result, apiCall] = await zonesListOrSearchSecurityZones(client, args36.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
46989
+ args: args37,
46990
+ tool: async (client, args38, ctx) => {
46991
+ const [result, apiCall] = await zonesListOrSearchSecurityZones(client, args38.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
45503
46992
  if (!result.ok) {
45504
46993
  return {
45505
46994
  content: [{ type: "text", text: result.error.message }],
@@ -45514,9 +47003,9 @@ List or search security zones`,
45514
47003
 
45515
47004
  // src/funcs/zonesSecurityZoneCheckin.ts
45516
47005
  function zonesSecurityZoneCheckin(client, request, options) {
45517
- return new APIPromise($do37(client, request, options));
47006
+ return new APIPromise($do39(client, request, options));
45518
47007
  }
45519
- async function $do37(client, request, options) {
47008
+ async function $do39(client, request, options) {
45520
47009
  const parsed = safeParse(request, (value) => SecurityZoneCheckinRequestBody$outboundSchema.parse(value), "Input validation failed");
45521
47010
  if (!parsed.ok) {
45522
47011
  return [parsed, { status: "invalid" }];
@@ -45565,7 +47054,7 @@ async function $do37(client, request, options) {
45565
47054
  const responseFields = {
45566
47055
  HttpMeta: { Response: response, Request: req }
45567
47056
  };
45568
- const [result] = await match(json(200, Handoff$inboundSchema), jsonErr([400, 401, 403, 404], ApiErrorResponse$inboundSchema), jsonErr(500, ApiErrorResponse$inboundSchema), fail("4XX"), fail("5XX"))(response, { extraFields: responseFields });
47057
+ const [result] = await match(json(200, SecurityZoneCheckinResponseBody$inboundSchema), jsonErr([400, 401, 403, 404], ApiErrorResponse$inboundSchema), jsonErr(500, ApiErrorResponse$inboundSchema), fail("4XX"), fail("5XX"))(response, { extraFields: responseFields });
45569
47058
  if (!result.ok) {
45570
47059
  return [result, { status: "complete", request: req, response }];
45571
47060
  }
@@ -45578,29 +47067,28 @@ var init_zonesSecurityZoneCheckin = __esm(() => {
45578
47067
  init_schemas();
45579
47068
  init_security();
45580
47069
  init_url();
45581
- init_components();
45582
47070
  init_errors();
45583
47071
  init_operations();
45584
47072
  init_async();
45585
47073
  });
45586
47074
 
45587
47075
  // src/mcp-server/tools/zonesSecurityZoneCheckin.ts
45588
- var args36, tool$zonesSecurityZoneCheckin;
47076
+ var args38, tool$zonesSecurityZoneCheckin;
45589
47077
  var init_zonesSecurityZoneCheckin2 = __esm(() => {
45590
47078
  init_zonesSecurityZoneCheckin();
45591
47079
  init_operations();
45592
47080
  init_tools();
45593
- args36 = {
47081
+ args38 = {
45594
47082
  request: SecurityZoneCheckinRequestBody$inboundSchema
45595
47083
  };
45596
47084
  tool$zonesSecurityZoneCheckin = {
45597
47085
  name: "zones-security-zone-checkin",
45598
47086
  description: `Security zone checkin request
45599
47087
 
45600
- It will create a handoff record in the db for security zone check in request`,
45601
- args: args36,
45602
- tool: async (client, args37, ctx) => {
45603
- const [result, apiCall] = await zonesSecurityZoneCheckin(client, args37.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47088
+ Security zone checkin request`,
47089
+ args: args38,
47090
+ tool: async (client, args39, ctx) => {
47091
+ const [result, apiCall] = await zonesSecurityZoneCheckin(client, args39.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
45604
47092
  if (!result.ok) {
45605
47093
  return {
45606
47094
  content: [{ type: "text", text: result.error.message }],
@@ -45617,7 +47105,7 @@ It will create a handoff record in the db for security zone check in request`,
45617
47105
  function createMCPServer(deps) {
45618
47106
  const server = new McpServer({
45619
47107
  name: "GreenSecurity",
45620
- version: "0.30.44"
47108
+ version: "0.30.48"
45621
47109
  });
45622
47110
  const client = new GreenSecurityCore({
45623
47111
  security: deps.security,
@@ -45633,6 +47121,7 @@ function createMCPServer(deps) {
45633
47121
  const register = { tool, resource, resourceTemplate, prompt };
45634
47122
  tool(tool$vendorsCreateVendorRegistration);
45635
47123
  tool(tool$vendorsListVendorCredentials);
47124
+ tool(tool$vendorsGetVendorCredentialDetails);
45636
47125
  tool(tool$vendorsExpediteTimeRemaining);
45637
47126
  tool(tool$vendorsListVendorInvoices);
45638
47127
  tool(tool$vendorsGetVendorInvoiceDetails);
@@ -45653,7 +47142,7 @@ function createMCPServer(deps) {
45653
47142
  tool(tool$vendorsCreateVendorCompany);
45654
47143
  tool(tool$usersGetCurrentUser);
45655
47144
  tool(tool$usersGetUserById);
45656
- tool(tool$usersLogsUserIntoTheSystem);
47145
+ tool(tool$usersPostAuthenticate);
45657
47146
  tool(tool$usersMagiclink);
45658
47147
  tool(tool$usersPasswordResetRequest);
45659
47148
  tool(tool$usersPassword);
@@ -45664,6 +47153,7 @@ function createMCPServer(deps) {
45664
47153
  tool(tool$supportArticlesGetSupportArticle);
45665
47154
  tool(tool$webhooksListAllWebhookEndpoints);
45666
47155
  tool(tool$webhooksGetWebhookEndpoint);
47156
+ tool(tool$webhooksUpdatesTheWebhookEndpointWithTheGivenId);
45667
47157
  tool(tool$vendorScansVendorScanOut);
45668
47158
  tool(tool$companiesListOrSearchCompanies);
45669
47159
  tool(tool$zonesListOrSearchSecurityZones);
@@ -45683,16 +47173,17 @@ var init_server2 = __esm(() => {
45683
47173
  init_usersChangePassword2();
45684
47174
  init_usersGetCurrentUser2();
45685
47175
  init_usersGetUserById2();
45686
- init_usersLogsUserIntoTheSystem2();
45687
47176
  init_usersMagiclink2();
45688
47177
  init_usersPassword2();
45689
47178
  init_usersPasswordResetRequest2();
47179
+ init_usersPostAuthenticate2();
45690
47180
  init_vendorsAddVendorManagedByCompany2();
45691
47181
  init_vendorScansVendorScanOut2();
45692
47182
  init_vendorsCreateVendorCompany2();
45693
47183
  init_vendorsCreateVendorRegistration2();
45694
47184
  init_vendorsDeleteVendorManagedByCompany2();
45695
47185
  init_vendorsExpediteTimeRemaining2();
47186
+ init_vendorsGetVendorCredentialDetails2();
45696
47187
  init_vendorsGetVendorInvoiceDetails2();
45697
47188
  init_vendorsGetVendorsDetails2();
45698
47189
  init_vendorsListVendorAdditionalFacilityFields2();
@@ -45710,6 +47201,7 @@ var init_server2 = __esm(() => {
45710
47201
  init_vendorsUpdateVendorScrubDetails2();
45711
47202
  init_webhooksGetWebhookEndpoint2();
45712
47203
  init_webhooksListAllWebhookEndpoints2();
47204
+ init_webhooksUpdatesTheWebhookEndpointWithTheGivenId2();
45713
47205
  init_zonesListOrSearchSecurityZones2();
45714
47206
  init_zonesSecurityZoneCheckin2();
45715
47207
  });
@@ -46910,7 +48402,7 @@ var routes = an({
46910
48402
  var app = He(routes, {
46911
48403
  name: "mcp",
46912
48404
  versionInfo: {
46913
- currentVersion: "0.30.44"
48405
+ currentVersion: "0.30.48"
46914
48406
  }
46915
48407
  });
46916
48408
  zt(app, process3.argv.slice(2), buildContext(process3));
@@ -46918,5 +48410,5 @@ export {
46918
48410
  app
46919
48411
  };
46920
48412
 
46921
- //# debugId=21B01C4F7BEF0C4E64756E2164756E21
48413
+ //# debugId=31033EEF507B162264756E2164756E21
46922
48414
  //# sourceMappingURL=mcp-server.js.map