@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
@@ -0,0 +1,181 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod";
6
+ import { remap as remap$ } from "../../lib/primitives.js";
7
+ import { safeParse } from "../../lib/schemas.js";
8
+ import { Result as SafeParseResult } from "../../types/fp.js";
9
+ import * as components from "../components/index.js";
10
+ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
11
+
12
+ export type GetVendorCredentialDetailsRequest = {
13
+ /**
14
+ * Either the ID of the vendor rep or the keyword "me" to represent the current vendor.
15
+ */
16
+ vendorIdOrMe: string;
17
+ /**
18
+ * The identifier of the object
19
+ */
20
+ id: number;
21
+ /**
22
+ * An array-style parameter to identify which sections of an object to expand. See documentation for the endpoint for a list of valid expansion values.
23
+ */
24
+ expand?: Array<components.Expand> | undefined;
25
+ };
26
+
27
+ /**
28
+ * The request was successful, and the server has returned the requested resource in the response body.
29
+ */
30
+ export type GetVendorCredentialDetailsResponseBody = {
31
+ /**
32
+ * Reduced list of attributes of Vendor Credential record
33
+ */
34
+ vendorCredential?: components.VendorCredentialSummary | null | undefined;
35
+ };
36
+
37
+ /** @internal */
38
+ export const GetVendorCredentialDetailsRequest$inboundSchema: z.ZodType<
39
+ GetVendorCredentialDetailsRequest,
40
+ z.ZodTypeDef,
41
+ unknown
42
+ > = z.object({
43
+ vendor_id_or_me: z.string(),
44
+ id: z.number().int(),
45
+ expand: z.array(components.Expand$inboundSchema).optional(),
46
+ }).transform((v) => {
47
+ return remap$(v, {
48
+ "vendor_id_or_me": "vendorIdOrMe",
49
+ });
50
+ });
51
+
52
+ /** @internal */
53
+ export type GetVendorCredentialDetailsRequest$Outbound = {
54
+ vendor_id_or_me: string;
55
+ id: number;
56
+ expand?: Array<string> | undefined;
57
+ };
58
+
59
+ /** @internal */
60
+ export const GetVendorCredentialDetailsRequest$outboundSchema: z.ZodType<
61
+ GetVendorCredentialDetailsRequest$Outbound,
62
+ z.ZodTypeDef,
63
+ GetVendorCredentialDetailsRequest
64
+ > = z.object({
65
+ vendorIdOrMe: z.string(),
66
+ id: z.number().int(),
67
+ expand: z.array(components.Expand$outboundSchema).optional(),
68
+ }).transform((v) => {
69
+ return remap$(v, {
70
+ vendorIdOrMe: "vendor_id_or_me",
71
+ });
72
+ });
73
+
74
+ /**
75
+ * @internal
76
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
77
+ */
78
+ export namespace GetVendorCredentialDetailsRequest$ {
79
+ /** @deprecated use `GetVendorCredentialDetailsRequest$inboundSchema` instead. */
80
+ export const inboundSchema = GetVendorCredentialDetailsRequest$inboundSchema;
81
+ /** @deprecated use `GetVendorCredentialDetailsRequest$outboundSchema` instead. */
82
+ export const outboundSchema =
83
+ GetVendorCredentialDetailsRequest$outboundSchema;
84
+ /** @deprecated use `GetVendorCredentialDetailsRequest$Outbound` instead. */
85
+ export type Outbound = GetVendorCredentialDetailsRequest$Outbound;
86
+ }
87
+
88
+ export function getVendorCredentialDetailsRequestToJSON(
89
+ getVendorCredentialDetailsRequest: GetVendorCredentialDetailsRequest,
90
+ ): string {
91
+ return JSON.stringify(
92
+ GetVendorCredentialDetailsRequest$outboundSchema.parse(
93
+ getVendorCredentialDetailsRequest,
94
+ ),
95
+ );
96
+ }
97
+
98
+ export function getVendorCredentialDetailsRequestFromJSON(
99
+ jsonString: string,
100
+ ): SafeParseResult<GetVendorCredentialDetailsRequest, SDKValidationError> {
101
+ return safeParse(
102
+ jsonString,
103
+ (x) => GetVendorCredentialDetailsRequest$inboundSchema.parse(JSON.parse(x)),
104
+ `Failed to parse 'GetVendorCredentialDetailsRequest' from JSON`,
105
+ );
106
+ }
107
+
108
+ /** @internal */
109
+ export const GetVendorCredentialDetailsResponseBody$inboundSchema: z.ZodType<
110
+ GetVendorCredentialDetailsResponseBody,
111
+ z.ZodTypeDef,
112
+ unknown
113
+ > = z.object({
114
+ vendor_credential: z.nullable(
115
+ components.VendorCredentialSummary$inboundSchema,
116
+ ).optional(),
117
+ }).transform((v) => {
118
+ return remap$(v, {
119
+ "vendor_credential": "vendorCredential",
120
+ });
121
+ });
122
+
123
+ /** @internal */
124
+ export type GetVendorCredentialDetailsResponseBody$Outbound = {
125
+ vendor_credential?:
126
+ | components.VendorCredentialSummary$Outbound
127
+ | null
128
+ | undefined;
129
+ };
130
+
131
+ /** @internal */
132
+ export const GetVendorCredentialDetailsResponseBody$outboundSchema: z.ZodType<
133
+ GetVendorCredentialDetailsResponseBody$Outbound,
134
+ z.ZodTypeDef,
135
+ GetVendorCredentialDetailsResponseBody
136
+ > = z.object({
137
+ vendorCredential: z.nullable(
138
+ components.VendorCredentialSummary$outboundSchema,
139
+ ).optional(),
140
+ }).transform((v) => {
141
+ return remap$(v, {
142
+ vendorCredential: "vendor_credential",
143
+ });
144
+ });
145
+
146
+ /**
147
+ * @internal
148
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
149
+ */
150
+ export namespace GetVendorCredentialDetailsResponseBody$ {
151
+ /** @deprecated use `GetVendorCredentialDetailsResponseBody$inboundSchema` instead. */
152
+ export const inboundSchema =
153
+ GetVendorCredentialDetailsResponseBody$inboundSchema;
154
+ /** @deprecated use `GetVendorCredentialDetailsResponseBody$outboundSchema` instead. */
155
+ export const outboundSchema =
156
+ GetVendorCredentialDetailsResponseBody$outboundSchema;
157
+ /** @deprecated use `GetVendorCredentialDetailsResponseBody$Outbound` instead. */
158
+ export type Outbound = GetVendorCredentialDetailsResponseBody$Outbound;
159
+ }
160
+
161
+ export function getVendorCredentialDetailsResponseBodyToJSON(
162
+ getVendorCredentialDetailsResponseBody:
163
+ GetVendorCredentialDetailsResponseBody,
164
+ ): string {
165
+ return JSON.stringify(
166
+ GetVendorCredentialDetailsResponseBody$outboundSchema.parse(
167
+ getVendorCredentialDetailsResponseBody,
168
+ ),
169
+ );
170
+ }
171
+
172
+ export function getVendorCredentialDetailsResponseBodyFromJSON(
173
+ jsonString: string,
174
+ ): SafeParseResult<GetVendorCredentialDetailsResponseBody, SDKValidationError> {
175
+ return safeParse(
176
+ jsonString,
177
+ (x) =>
178
+ GetVendorCredentialDetailsResponseBody$inboundSchema.parse(JSON.parse(x)),
179
+ `Failed to parse 'GetVendorCredentialDetailsResponseBody' from JSON`,
180
+ );
181
+ }
@@ -11,6 +11,7 @@ export * from "./expeditetimeremaining.js";
11
11
  export * from "./getfacility.js";
12
12
  export * from "./getsupportarticle.js";
13
13
  export * from "./getuserbyid.js";
14
+ export * from "./getvendorcredentialdetails.js";
14
15
  export * from "./getvendorinvoicedetails.js";
15
16
  export * from "./getvendorsdetails.js";
16
17
  export * from "./getwebhookendpoint.js";
@@ -29,12 +30,13 @@ export * from "./listvendormanagedbycompanies.js";
29
30
  export * from "./listvendorscrubdetails.js";
30
31
  export * from "./listvendorscrubpackages.js";
31
32
  export * from "./listvendorscrubpurchases.js";
32
- export * from "./logsuserintothesystem.js";
33
33
  export * from "./magiclink.js";
34
34
  export * from "./password.js";
35
35
  export * from "./passwordresetrequest.js";
36
+ export * from "./postauthenticate.js";
36
37
  export * from "./purchasescrubcredits.js";
37
38
  export * from "./securityzonecheckin.js";
39
+ export * from "./updatesthewebhookendpointwiththegivenid.js";
38
40
  export * from "./updatevendordetails.js";
39
41
  export * from "./updatevendormanagedbycompany.js";
40
42
  export * from "./updatevendorscrubdetails.js";
@@ -31,7 +31,7 @@ export type ListAllWebhookEndpointsRequest = {
31
31
  /**
32
32
  * The request was successful, and the server has returned the requested resource in the response body.
33
33
  */
34
- export type ListAllWebhookEndpointsResponseBody = {
34
+ export type ListAllWebhookEndpointsListAllWebhookEndpointsOk = {
35
35
  /**
36
36
  * Pagination information for a pageable list
37
37
  */
@@ -113,63 +113,72 @@ export function listAllWebhookEndpointsRequestFromJSON(
113
113
  }
114
114
 
115
115
  /** @internal */
116
- export const ListAllWebhookEndpointsResponseBody$inboundSchema: z.ZodType<
117
- ListAllWebhookEndpointsResponseBody,
118
- z.ZodTypeDef,
119
- unknown
120
- > = z.object({
121
- pager: components.Pager$inboundSchema,
122
- items: z.array(components.WebhookEndpoint$inboundSchema),
123
- });
116
+ export const ListAllWebhookEndpointsListAllWebhookEndpointsOk$inboundSchema:
117
+ z.ZodType<
118
+ ListAllWebhookEndpointsListAllWebhookEndpointsOk,
119
+ z.ZodTypeDef,
120
+ unknown
121
+ > = z.object({
122
+ pager: components.Pager$inboundSchema,
123
+ items: z.array(components.WebhookEndpoint$inboundSchema),
124
+ });
124
125
 
125
126
  /** @internal */
126
- export type ListAllWebhookEndpointsResponseBody$Outbound = {
127
+ export type ListAllWebhookEndpointsListAllWebhookEndpointsOk$Outbound = {
127
128
  pager: components.Pager$Outbound;
128
129
  items: Array<components.WebhookEndpoint$Outbound>;
129
130
  };
130
131
 
131
132
  /** @internal */
132
- export const ListAllWebhookEndpointsResponseBody$outboundSchema: z.ZodType<
133
- ListAllWebhookEndpointsResponseBody$Outbound,
134
- z.ZodTypeDef,
135
- ListAllWebhookEndpointsResponseBody
136
- > = z.object({
137
- pager: components.Pager$outboundSchema,
138
- items: z.array(components.WebhookEndpoint$outboundSchema),
139
- });
133
+ export const ListAllWebhookEndpointsListAllWebhookEndpointsOk$outboundSchema:
134
+ z.ZodType<
135
+ ListAllWebhookEndpointsListAllWebhookEndpointsOk$Outbound,
136
+ z.ZodTypeDef,
137
+ ListAllWebhookEndpointsListAllWebhookEndpointsOk
138
+ > = z.object({
139
+ pager: components.Pager$outboundSchema,
140
+ items: z.array(components.WebhookEndpoint$outboundSchema),
141
+ });
140
142
 
141
143
  /**
142
144
  * @internal
143
145
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
144
146
  */
145
- export namespace ListAllWebhookEndpointsResponseBody$ {
146
- /** @deprecated use `ListAllWebhookEndpointsResponseBody$inboundSchema` instead. */
147
+ export namespace ListAllWebhookEndpointsListAllWebhookEndpointsOk$ {
148
+ /** @deprecated use `ListAllWebhookEndpointsListAllWebhookEndpointsOk$inboundSchema` instead. */
147
149
  export const inboundSchema =
148
- ListAllWebhookEndpointsResponseBody$inboundSchema;
149
- /** @deprecated use `ListAllWebhookEndpointsResponseBody$outboundSchema` instead. */
150
+ ListAllWebhookEndpointsListAllWebhookEndpointsOk$inboundSchema;
151
+ /** @deprecated use `ListAllWebhookEndpointsListAllWebhookEndpointsOk$outboundSchema` instead. */
150
152
  export const outboundSchema =
151
- ListAllWebhookEndpointsResponseBody$outboundSchema;
152
- /** @deprecated use `ListAllWebhookEndpointsResponseBody$Outbound` instead. */
153
- export type Outbound = ListAllWebhookEndpointsResponseBody$Outbound;
153
+ ListAllWebhookEndpointsListAllWebhookEndpointsOk$outboundSchema;
154
+ /** @deprecated use `ListAllWebhookEndpointsListAllWebhookEndpointsOk$Outbound` instead. */
155
+ export type Outbound =
156
+ ListAllWebhookEndpointsListAllWebhookEndpointsOk$Outbound;
154
157
  }
155
158
 
156
- export function listAllWebhookEndpointsResponseBodyToJSON(
157
- listAllWebhookEndpointsResponseBody: ListAllWebhookEndpointsResponseBody,
159
+ export function listAllWebhookEndpointsListAllWebhookEndpointsOkToJSON(
160
+ listAllWebhookEndpointsListAllWebhookEndpointsOk:
161
+ ListAllWebhookEndpointsListAllWebhookEndpointsOk,
158
162
  ): string {
159
163
  return JSON.stringify(
160
- ListAllWebhookEndpointsResponseBody$outboundSchema.parse(
161
- listAllWebhookEndpointsResponseBody,
164
+ ListAllWebhookEndpointsListAllWebhookEndpointsOk$outboundSchema.parse(
165
+ listAllWebhookEndpointsListAllWebhookEndpointsOk,
162
166
  ),
163
167
  );
164
168
  }
165
169
 
166
- export function listAllWebhookEndpointsResponseBodyFromJSON(
170
+ export function listAllWebhookEndpointsListAllWebhookEndpointsOkFromJSON(
167
171
  jsonString: string,
168
- ): SafeParseResult<ListAllWebhookEndpointsResponseBody, SDKValidationError> {
172
+ ): SafeParseResult<
173
+ ListAllWebhookEndpointsListAllWebhookEndpointsOk,
174
+ SDKValidationError
175
+ > {
169
176
  return safeParse(
170
177
  jsonString,
171
178
  (x) =>
172
- ListAllWebhookEndpointsResponseBody$inboundSchema.parse(JSON.parse(x)),
173
- `Failed to parse 'ListAllWebhookEndpointsResponseBody' from JSON`,
179
+ ListAllWebhookEndpointsListAllWebhookEndpointsOk$inboundSchema.parse(
180
+ JSON.parse(x),
181
+ ),
182
+ `Failed to parse 'ListAllWebhookEndpointsListAllWebhookEndpointsOk' from JSON`,
174
183
  );
175
184
  }
@@ -35,16 +35,18 @@ export type ListVendorAdditionalFacilityFieldsRequest = {
35
35
  /**
36
36
  * The request was successful, and the server has returned the requested resource in the response body.
37
37
  */
38
- export type ListVendorAdditionalFacilityFieldsResponseBody = {
39
- items: Array<components.VendorAdditionalFacilityFields>;
40
- /**
41
- * Pagination information for a pageable list
42
- */
43
- pager: components.Pager;
44
- };
38
+ export type ListVendorAdditionalFacilityFieldsListVendorAdditionalFacilityFieldsOk =
39
+ {
40
+ items: Array<components.VendorAdditionalFacilityFields>;
41
+ /**
42
+ * Pagination information for a pageable list
43
+ */
44
+ pager: components.Pager;
45
+ };
45
46
 
46
47
  export type ListVendorAdditionalFacilityFieldsResponse = {
47
- result: ListVendorAdditionalFacilityFieldsResponseBody;
48
+ result:
49
+ ListVendorAdditionalFacilityFieldsListVendorAdditionalFacilityFieldsOk;
48
50
  };
49
51
 
50
52
  /** @internal */
@@ -136,9 +138,9 @@ export function listVendorAdditionalFacilityFieldsRequestFromJSON(
136
138
  }
137
139
 
138
140
  /** @internal */
139
- export const ListVendorAdditionalFacilityFieldsResponseBody$inboundSchema:
141
+ export const ListVendorAdditionalFacilityFieldsListVendorAdditionalFacilityFieldsOk$inboundSchema:
140
142
  z.ZodType<
141
- ListVendorAdditionalFacilityFieldsResponseBody,
143
+ ListVendorAdditionalFacilityFieldsListVendorAdditionalFacilityFieldsOk,
142
144
  z.ZodTypeDef,
143
145
  unknown
144
146
  > = z.object({
@@ -147,17 +149,18 @@ export const ListVendorAdditionalFacilityFieldsResponseBody$inboundSchema:
147
149
  });
148
150
 
149
151
  /** @internal */
150
- export type ListVendorAdditionalFacilityFieldsResponseBody$Outbound = {
151
- items: Array<components.VendorAdditionalFacilityFields$Outbound>;
152
- pager: components.Pager$Outbound;
153
- };
152
+ export type ListVendorAdditionalFacilityFieldsListVendorAdditionalFacilityFieldsOk$Outbound =
153
+ {
154
+ items: Array<components.VendorAdditionalFacilityFields$Outbound>;
155
+ pager: components.Pager$Outbound;
156
+ };
154
157
 
155
158
  /** @internal */
156
- export const ListVendorAdditionalFacilityFieldsResponseBody$outboundSchema:
159
+ export const ListVendorAdditionalFacilityFieldsListVendorAdditionalFacilityFieldsOk$outboundSchema:
157
160
  z.ZodType<
158
- ListVendorAdditionalFacilityFieldsResponseBody$Outbound,
161
+ ListVendorAdditionalFacilityFieldsListVendorAdditionalFacilityFieldsOk$Outbound,
159
162
  z.ZodTypeDef,
160
- ListVendorAdditionalFacilityFieldsResponseBody
163
+ ListVendorAdditionalFacilityFieldsListVendorAdditionalFacilityFieldsOk
161
164
  > = z.object({
162
165
  items: z.array(components.VendorAdditionalFacilityFields$outboundSchema),
163
166
  pager: components.Pager$outboundSchema,
@@ -167,42 +170,42 @@ export const ListVendorAdditionalFacilityFieldsResponseBody$outboundSchema:
167
170
  * @internal
168
171
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
169
172
  */
170
- export namespace ListVendorAdditionalFacilityFieldsResponseBody$ {
171
- /** @deprecated use `ListVendorAdditionalFacilityFieldsResponseBody$inboundSchema` instead. */
173
+ export namespace ListVendorAdditionalFacilityFieldsListVendorAdditionalFacilityFieldsOk$ {
174
+ /** @deprecated use `ListVendorAdditionalFacilityFieldsListVendorAdditionalFacilityFieldsOk$inboundSchema` instead. */
172
175
  export const inboundSchema =
173
- ListVendorAdditionalFacilityFieldsResponseBody$inboundSchema;
174
- /** @deprecated use `ListVendorAdditionalFacilityFieldsResponseBody$outboundSchema` instead. */
176
+ ListVendorAdditionalFacilityFieldsListVendorAdditionalFacilityFieldsOk$inboundSchema;
177
+ /** @deprecated use `ListVendorAdditionalFacilityFieldsListVendorAdditionalFacilityFieldsOk$outboundSchema` instead. */
175
178
  export const outboundSchema =
176
- ListVendorAdditionalFacilityFieldsResponseBody$outboundSchema;
177
- /** @deprecated use `ListVendorAdditionalFacilityFieldsResponseBody$Outbound` instead. */
179
+ ListVendorAdditionalFacilityFieldsListVendorAdditionalFacilityFieldsOk$outboundSchema;
180
+ /** @deprecated use `ListVendorAdditionalFacilityFieldsListVendorAdditionalFacilityFieldsOk$Outbound` instead. */
178
181
  export type Outbound =
179
- ListVendorAdditionalFacilityFieldsResponseBody$Outbound;
182
+ ListVendorAdditionalFacilityFieldsListVendorAdditionalFacilityFieldsOk$Outbound;
180
183
  }
181
184
 
182
- export function listVendorAdditionalFacilityFieldsResponseBodyToJSON(
183
- listVendorAdditionalFacilityFieldsResponseBody:
184
- ListVendorAdditionalFacilityFieldsResponseBody,
185
+ export function listVendorAdditionalFacilityFieldsListVendorAdditionalFacilityFieldsOkToJSON(
186
+ listVendorAdditionalFacilityFieldsListVendorAdditionalFacilityFieldsOk:
187
+ ListVendorAdditionalFacilityFieldsListVendorAdditionalFacilityFieldsOk,
185
188
  ): string {
186
189
  return JSON.stringify(
187
- ListVendorAdditionalFacilityFieldsResponseBody$outboundSchema.parse(
188
- listVendorAdditionalFacilityFieldsResponseBody,
189
- ),
190
+ ListVendorAdditionalFacilityFieldsListVendorAdditionalFacilityFieldsOk$outboundSchema
191
+ .parse(
192
+ listVendorAdditionalFacilityFieldsListVendorAdditionalFacilityFieldsOk,
193
+ ),
190
194
  );
191
195
  }
192
196
 
193
- export function listVendorAdditionalFacilityFieldsResponseBodyFromJSON(
197
+ export function listVendorAdditionalFacilityFieldsListVendorAdditionalFacilityFieldsOkFromJSON(
194
198
  jsonString: string,
195
199
  ): SafeParseResult<
196
- ListVendorAdditionalFacilityFieldsResponseBody,
200
+ ListVendorAdditionalFacilityFieldsListVendorAdditionalFacilityFieldsOk,
197
201
  SDKValidationError
198
202
  > {
199
203
  return safeParse(
200
204
  jsonString,
201
205
  (x) =>
202
- ListVendorAdditionalFacilityFieldsResponseBody$inboundSchema.parse(
203
- JSON.parse(x),
204
- ),
205
- `Failed to parse 'ListVendorAdditionalFacilityFieldsResponseBody' from JSON`,
206
+ ListVendorAdditionalFacilityFieldsListVendorAdditionalFacilityFieldsOk$inboundSchema
207
+ .parse(JSON.parse(x)),
208
+ `Failed to parse 'ListVendorAdditionalFacilityFieldsListVendorAdditionalFacilityFieldsOk' from JSON`,
206
209
  );
207
210
  }
208
211
 
@@ -211,7 +214,7 @@ export const ListVendorAdditionalFacilityFieldsResponse$inboundSchema:
211
214
  z.ZodType<ListVendorAdditionalFacilityFieldsResponse, z.ZodTypeDef, unknown> =
212
215
  z.object({
213
216
  Result: z.lazy(() =>
214
- ListVendorAdditionalFacilityFieldsResponseBody$inboundSchema
217
+ ListVendorAdditionalFacilityFieldsListVendorAdditionalFacilityFieldsOk$inboundSchema
215
218
  ),
216
219
  }).transform((v) => {
217
220
  return remap$(v, {
@@ -221,7 +224,8 @@ export const ListVendorAdditionalFacilityFieldsResponse$inboundSchema:
221
224
 
222
225
  /** @internal */
223
226
  export type ListVendorAdditionalFacilityFieldsResponse$Outbound = {
224
- Result: ListVendorAdditionalFacilityFieldsResponseBody$Outbound;
227
+ Result:
228
+ ListVendorAdditionalFacilityFieldsListVendorAdditionalFacilityFieldsOk$Outbound;
225
229
  };
226
230
 
227
231
  /** @internal */
@@ -232,7 +236,7 @@ export const ListVendorAdditionalFacilityFieldsResponse$outboundSchema:
232
236
  ListVendorAdditionalFacilityFieldsResponse
233
237
  > = z.object({
234
238
  result: z.lazy(() =>
235
- ListVendorAdditionalFacilityFieldsResponseBody$outboundSchema
239
+ ListVendorAdditionalFacilityFieldsListVendorAdditionalFacilityFieldsOk$outboundSchema
236
240
  ),
237
241
  }).transform((v) => {
238
242
  return remap$(v, {
@@ -72,23 +72,18 @@ export type Pager = {
72
72
  /**
73
73
  * The request was successful, and the server has returned the requested resource in the response body.
74
74
  */
75
- export type ListVendorCredentialsResponseBody = {
75
+ export type ListVendorCredentialsGetCredentialsOk = {
76
76
  /**
77
77
  * A simplified representation of a VendorRequiredCredential, typically used in list views.
78
78
  */
79
- vendorRequiredCredentials?:
80
- | components.VendorRequiredCredential
81
- | null
82
- | undefined;
83
- credentials?: Array<Credentials> | undefined;
84
- vendorCredentials?:
85
- | { [k: string]: components.VendorCredentialsContainer }
86
- | undefined;
87
- pager?: Pager | null | undefined;
79
+ vendorRequiredCredentials: components.VendorRequiredCredential | null;
80
+ credentials: Array<Credentials>;
81
+ vendorCredentials: { [k: string]: components.VendorCredentialsContainer };
82
+ pager: Pager | null;
88
83
  };
89
84
 
90
85
  export type ListVendorCredentialsResponse = {
91
- result: ListVendorCredentialsResponseBody;
86
+ result: ListVendorCredentialsGetCredentialsOk;
92
87
  };
93
88
 
94
89
  /** @internal */
@@ -301,19 +296,19 @@ export function pagerFromJSON(
301
296
  }
302
297
 
303
298
  /** @internal */
304
- export const ListVendorCredentialsResponseBody$inboundSchema: z.ZodType<
305
- ListVendorCredentialsResponseBody,
299
+ export const ListVendorCredentialsGetCredentialsOk$inboundSchema: z.ZodType<
300
+ ListVendorCredentialsGetCredentialsOk,
306
301
  z.ZodTypeDef,
307
302
  unknown
308
303
  > = z.object({
309
304
  vendor_required_credentials: z.nullable(
310
305
  components.VendorRequiredCredential$inboundSchema,
311
- ).optional(),
312
- credentials: z.array(z.lazy(() => Credentials$inboundSchema)).optional(),
306
+ ),
307
+ credentials: z.array(z.lazy(() => Credentials$inboundSchema)),
313
308
  vendor_credentials: z.record(
314
309
  components.VendorCredentialsContainer$inboundSchema,
315
- ).optional(),
316
- pager: z.nullable(z.lazy(() => Pager$inboundSchema)).optional(),
310
+ ),
311
+ pager: z.nullable(z.lazy(() => Pager$inboundSchema)),
317
312
  }).transform((v) => {
318
313
  return remap$(v, {
319
314
  "vendor_required_credentials": "vendorRequiredCredentials",
@@ -322,32 +317,31 @@ export const ListVendorCredentialsResponseBody$inboundSchema: z.ZodType<
322
317
  });
323
318
 
324
319
  /** @internal */
325
- export type ListVendorCredentialsResponseBody$Outbound = {
326
- vendor_required_credentials?:
320
+ export type ListVendorCredentialsGetCredentialsOk$Outbound = {
321
+ vendor_required_credentials:
327
322
  | components.VendorRequiredCredential$Outbound
328
- | null
329
- | undefined;
330
- credentials?: Array<Credentials$Outbound> | undefined;
331
- vendor_credentials?: {
323
+ | null;
324
+ credentials: Array<Credentials$Outbound>;
325
+ vendor_credentials: {
332
326
  [k: string]: components.VendorCredentialsContainer$Outbound;
333
- } | undefined;
334
- pager?: Pager$Outbound | null | undefined;
327
+ };
328
+ pager: Pager$Outbound | null;
335
329
  };
336
330
 
337
331
  /** @internal */
338
- export const ListVendorCredentialsResponseBody$outboundSchema: z.ZodType<
339
- ListVendorCredentialsResponseBody$Outbound,
332
+ export const ListVendorCredentialsGetCredentialsOk$outboundSchema: z.ZodType<
333
+ ListVendorCredentialsGetCredentialsOk$Outbound,
340
334
  z.ZodTypeDef,
341
- ListVendorCredentialsResponseBody
335
+ ListVendorCredentialsGetCredentialsOk
342
336
  > = z.object({
343
337
  vendorRequiredCredentials: z.nullable(
344
338
  components.VendorRequiredCredential$outboundSchema,
345
- ).optional(),
346
- credentials: z.array(z.lazy(() => Credentials$outboundSchema)).optional(),
339
+ ),
340
+ credentials: z.array(z.lazy(() => Credentials$outboundSchema)),
347
341
  vendorCredentials: z.record(
348
342
  components.VendorCredentialsContainer$outboundSchema,
349
- ).optional(),
350
- pager: z.nullable(z.lazy(() => Pager$outboundSchema)).optional(),
343
+ ),
344
+ pager: z.nullable(z.lazy(() => Pager$outboundSchema)),
351
345
  }).transform((v) => {
352
346
  return remap$(v, {
353
347
  vendorRequiredCredentials: "vendor_required_credentials",
@@ -359,33 +353,35 @@ export const ListVendorCredentialsResponseBody$outboundSchema: z.ZodType<
359
353
  * @internal
360
354
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
361
355
  */
362
- export namespace ListVendorCredentialsResponseBody$ {
363
- /** @deprecated use `ListVendorCredentialsResponseBody$inboundSchema` instead. */
364
- export const inboundSchema = ListVendorCredentialsResponseBody$inboundSchema;
365
- /** @deprecated use `ListVendorCredentialsResponseBody$outboundSchema` instead. */
356
+ export namespace ListVendorCredentialsGetCredentialsOk$ {
357
+ /** @deprecated use `ListVendorCredentialsGetCredentialsOk$inboundSchema` instead. */
358
+ export const inboundSchema =
359
+ ListVendorCredentialsGetCredentialsOk$inboundSchema;
360
+ /** @deprecated use `ListVendorCredentialsGetCredentialsOk$outboundSchema` instead. */
366
361
  export const outboundSchema =
367
- ListVendorCredentialsResponseBody$outboundSchema;
368
- /** @deprecated use `ListVendorCredentialsResponseBody$Outbound` instead. */
369
- export type Outbound = ListVendorCredentialsResponseBody$Outbound;
362
+ ListVendorCredentialsGetCredentialsOk$outboundSchema;
363
+ /** @deprecated use `ListVendorCredentialsGetCredentialsOk$Outbound` instead. */
364
+ export type Outbound = ListVendorCredentialsGetCredentialsOk$Outbound;
370
365
  }
371
366
 
372
- export function listVendorCredentialsResponseBodyToJSON(
373
- listVendorCredentialsResponseBody: ListVendorCredentialsResponseBody,
367
+ export function listVendorCredentialsGetCredentialsOkToJSON(
368
+ listVendorCredentialsGetCredentialsOk: ListVendorCredentialsGetCredentialsOk,
374
369
  ): string {
375
370
  return JSON.stringify(
376
- ListVendorCredentialsResponseBody$outboundSchema.parse(
377
- listVendorCredentialsResponseBody,
371
+ ListVendorCredentialsGetCredentialsOk$outboundSchema.parse(
372
+ listVendorCredentialsGetCredentialsOk,
378
373
  ),
379
374
  );
380
375
  }
381
376
 
382
- export function listVendorCredentialsResponseBodyFromJSON(
377
+ export function listVendorCredentialsGetCredentialsOkFromJSON(
383
378
  jsonString: string,
384
- ): SafeParseResult<ListVendorCredentialsResponseBody, SDKValidationError> {
379
+ ): SafeParseResult<ListVendorCredentialsGetCredentialsOk, SDKValidationError> {
385
380
  return safeParse(
386
381
  jsonString,
387
- (x) => ListVendorCredentialsResponseBody$inboundSchema.parse(JSON.parse(x)),
388
- `Failed to parse 'ListVendorCredentialsResponseBody' from JSON`,
382
+ (x) =>
383
+ ListVendorCredentialsGetCredentialsOk$inboundSchema.parse(JSON.parse(x)),
384
+ `Failed to parse 'ListVendorCredentialsGetCredentialsOk' from JSON`,
389
385
  );
390
386
  }
391
387
 
@@ -395,7 +391,7 @@ export const ListVendorCredentialsResponse$inboundSchema: z.ZodType<
395
391
  z.ZodTypeDef,
396
392
  unknown
397
393
  > = z.object({
398
- Result: z.lazy(() => ListVendorCredentialsResponseBody$inboundSchema),
394
+ Result: z.lazy(() => ListVendorCredentialsGetCredentialsOk$inboundSchema),
399
395
  }).transform((v) => {
400
396
  return remap$(v, {
401
397
  "Result": "result",
@@ -404,7 +400,7 @@ export const ListVendorCredentialsResponse$inboundSchema: z.ZodType<
404
400
 
405
401
  /** @internal */
406
402
  export type ListVendorCredentialsResponse$Outbound = {
407
- Result: ListVendorCredentialsResponseBody$Outbound;
403
+ Result: ListVendorCredentialsGetCredentialsOk$Outbound;
408
404
  };
409
405
 
410
406
  /** @internal */
@@ -413,7 +409,7 @@ export const ListVendorCredentialsResponse$outboundSchema: z.ZodType<
413
409
  z.ZodTypeDef,
414
410
  ListVendorCredentialsResponse
415
411
  > = z.object({
416
- result: z.lazy(() => ListVendorCredentialsResponseBody$outboundSchema),
412
+ result: z.lazy(() => ListVendorCredentialsGetCredentialsOk$outboundSchema),
417
413
  }).transform((v) => {
418
414
  return remap$(v, {
419
415
  result: "Result",