@greensecurity/javascript-sdk 0.30.42 → 0.30.46

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 (766) hide show
  1. package/REACT_QUERY.md +27 -11
  2. package/README.md +10 -4
  3. package/bin/mcp-server.js +2205 -760
  4. package/bin/mcp-server.js.map +78 -64
  5. package/dist/commonjs/__tests__/vendormanagedbycompanies.test.js +1 -1
  6. package/dist/commonjs/__tests__/vendormanagedbycompanies.test.js.map +1 -1
  7. package/dist/commonjs/__tests__/vendors.test.js +40 -2
  8. package/dist/commonjs/__tests__/vendors.test.js.map +1 -1
  9. package/dist/commonjs/__tests__/webhooks.test.js +44 -0
  10. package/dist/commonjs/__tests__/webhooks.test.js.map +1 -1
  11. package/dist/commonjs/__tests__/zones.test.js +86 -39
  12. package/dist/commonjs/__tests__/zones.test.js.map +1 -1
  13. package/dist/commonjs/funcs/organizationsGetFacility.js +2 -2
  14. package/dist/commonjs/funcs/organizationsGetFacility.js.map +1 -1
  15. package/dist/commonjs/funcs/organizationsListOrSearchFacilities.js +2 -2
  16. package/dist/commonjs/funcs/supportArticlesGetSupportArticle.d.ts +1 -1
  17. package/dist/commonjs/funcs/supportArticlesGetSupportArticle.d.ts.map +1 -1
  18. package/dist/commonjs/funcs/supportArticlesGetSupportArticle.js +2 -2
  19. package/dist/commonjs/funcs/supportArticlesGetSupportArticle.js.map +1 -1
  20. package/dist/commonjs/funcs/supportArticlesListOrSearchSupportArticles.d.ts +2 -1
  21. package/dist/commonjs/funcs/supportArticlesListOrSearchSupportArticles.d.ts.map +1 -1
  22. package/dist/commonjs/funcs/supportArticlesListOrSearchSupportArticles.js +3 -2
  23. package/dist/commonjs/funcs/supportArticlesListOrSearchSupportArticles.js.map +1 -1
  24. package/dist/commonjs/funcs/usersChangePassword.d.ts +1 -1
  25. package/dist/commonjs/funcs/usersChangePassword.d.ts.map +1 -1
  26. package/dist/commonjs/funcs/usersChangePassword.js +1 -1
  27. package/dist/commonjs/funcs/usersChangePassword.js.map +1 -1
  28. package/dist/commonjs/funcs/usersGetCurrentUser.d.ts +1 -1
  29. package/dist/commonjs/funcs/usersGetCurrentUser.d.ts.map +1 -1
  30. package/dist/commonjs/funcs/usersGetCurrentUser.js +2 -2
  31. package/dist/commonjs/funcs/usersGetCurrentUser.js.map +1 -1
  32. package/dist/commonjs/funcs/usersGetUserById.d.ts +1 -1
  33. package/dist/commonjs/funcs/usersGetUserById.d.ts.map +1 -1
  34. package/dist/commonjs/funcs/usersGetUserById.js +2 -2
  35. package/dist/commonjs/funcs/usersGetUserById.js.map +1 -1
  36. package/dist/commonjs/funcs/usersMagiclink.d.ts +1 -1
  37. package/dist/commonjs/funcs/usersMagiclink.d.ts.map +1 -1
  38. package/dist/commonjs/funcs/usersMagiclink.js +2 -2
  39. package/dist/commonjs/funcs/usersMagiclink.js.map +1 -1
  40. package/dist/commonjs/funcs/usersPassword.d.ts +1 -1
  41. package/dist/commonjs/funcs/usersPassword.d.ts.map +1 -1
  42. package/dist/commonjs/funcs/usersPassword.js +2 -2
  43. package/dist/commonjs/funcs/usersPassword.js.map +1 -1
  44. package/dist/commonjs/funcs/usersPasswordResetRequest.d.ts +1 -1
  45. package/dist/commonjs/funcs/usersPasswordResetRequest.d.ts.map +1 -1
  46. package/dist/commonjs/funcs/usersPasswordResetRequest.js +2 -2
  47. package/dist/commonjs/funcs/usersPasswordResetRequest.js.map +1 -1
  48. package/dist/commonjs/funcs/{usersLogsUserIntoTheSystem.d.ts → usersPostAuthenticate.d.ts} +2 -2
  49. package/dist/commonjs/funcs/usersPostAuthenticate.d.ts.map +1 -0
  50. package/dist/commonjs/funcs/{usersLogsUserIntoTheSystem.js → usersPostAuthenticate.js} +7 -7
  51. package/dist/commonjs/funcs/usersPostAuthenticate.js.map +1 -0
  52. package/dist/commonjs/funcs/vendorScansVendorScanOut.d.ts +1 -1
  53. package/dist/commonjs/funcs/vendorScansVendorScanOut.d.ts.map +1 -1
  54. package/dist/commonjs/funcs/vendorScansVendorScanOut.js +1 -1
  55. package/dist/commonjs/funcs/vendorScansVendorScanOut.js.map +1 -1
  56. package/dist/commonjs/funcs/vendorsAddVendorManagedByCompany.d.ts +1 -1
  57. package/dist/commonjs/funcs/vendorsAddVendorManagedByCompany.d.ts.map +1 -1
  58. package/dist/commonjs/funcs/vendorsAddVendorManagedByCompany.js +2 -1
  59. package/dist/commonjs/funcs/vendorsAddVendorManagedByCompany.js.map +1 -1
  60. package/dist/commonjs/funcs/vendorsDeleteVendorManagedByCompany.d.ts +1 -1
  61. package/dist/commonjs/funcs/vendorsDeleteVendorManagedByCompany.d.ts.map +1 -1
  62. package/dist/commonjs/funcs/vendorsDeleteVendorManagedByCompany.js +2 -1
  63. package/dist/commonjs/funcs/vendorsDeleteVendorManagedByCompany.js.map +1 -1
  64. package/dist/commonjs/funcs/vendorsExpediteTimeRemaining.d.ts +1 -1
  65. package/dist/commonjs/funcs/vendorsExpediteTimeRemaining.d.ts.map +1 -1
  66. package/dist/commonjs/funcs/vendorsExpediteTimeRemaining.js +2 -2
  67. package/dist/commonjs/funcs/vendorsExpediteTimeRemaining.js.map +1 -1
  68. package/dist/commonjs/funcs/vendorsGetVendorCredentialDetails.d.ts +34 -0
  69. package/dist/commonjs/funcs/vendorsGetVendorCredentialDetails.d.ts.map +1 -0
  70. package/dist/commonjs/funcs/vendorsGetVendorCredentialDetails.js +145 -0
  71. package/dist/commonjs/funcs/vendorsGetVendorCredentialDetails.js.map +1 -0
  72. package/dist/commonjs/funcs/vendorsGetVendorInvoiceDetails.d.ts +1 -1
  73. package/dist/commonjs/funcs/vendorsGetVendorInvoiceDetails.d.ts.map +1 -1
  74. package/dist/commonjs/funcs/vendorsGetVendorInvoiceDetails.js +2 -2
  75. package/dist/commonjs/funcs/vendorsGetVendorInvoiceDetails.js.map +1 -1
  76. package/dist/commonjs/funcs/vendorsGetVendorsDetails.js +2 -2
  77. package/dist/commonjs/funcs/vendorsGetVendorsDetails.js.map +1 -1
  78. package/dist/commonjs/funcs/vendorsListVendorAdditionalFacilityFields.js +2 -2
  79. package/dist/commonjs/funcs/vendorsListVendorAdditionalFacilityFields.js.map +1 -1
  80. package/dist/commonjs/funcs/vendorsListVendorCredentials.d.ts +2 -1
  81. package/dist/commonjs/funcs/vendorsListVendorCredentials.d.ts.map +1 -1
  82. package/dist/commonjs/funcs/vendorsListVendorCredentials.js +3 -2
  83. package/dist/commonjs/funcs/vendorsListVendorCredentials.js.map +1 -1
  84. package/dist/commonjs/funcs/vendorsListVendorCredits.js +2 -2
  85. package/dist/commonjs/funcs/vendorsListVendorCredits.js.map +1 -1
  86. package/dist/commonjs/funcs/vendorsListVendorFacilityStatuses.js +2 -2
  87. package/dist/commonjs/funcs/vendorsListVendorFacilityStatuses.js.map +1 -1
  88. package/dist/commonjs/funcs/vendorsListVendorInvoices.d.ts +1 -1
  89. package/dist/commonjs/funcs/vendorsListVendorInvoices.d.ts.map +1 -1
  90. package/dist/commonjs/funcs/vendorsListVendorInvoices.js +2 -2
  91. package/dist/commonjs/funcs/vendorsListVendorInvoices.js.map +1 -1
  92. package/dist/commonjs/funcs/vendorsListVendorManagedByCompanies.js +2 -2
  93. package/dist/commonjs/funcs/vendorsListVendorManagedByCompanies.js.map +1 -1
  94. package/dist/commonjs/funcs/vendorsListVendorScrubDetails.d.ts +1 -1
  95. package/dist/commonjs/funcs/vendorsListVendorScrubDetails.d.ts.map +1 -1
  96. package/dist/commonjs/funcs/vendorsListVendorScrubDetails.js +2 -2
  97. package/dist/commonjs/funcs/vendorsListVendorScrubDetails.js.map +1 -1
  98. package/dist/commonjs/funcs/vendorsListVendorScrubPurchases.d.ts +1 -1
  99. package/dist/commonjs/funcs/vendorsListVendorScrubPurchases.d.ts.map +1 -1
  100. package/dist/commonjs/funcs/vendorsListVendorScrubPurchases.js +2 -2
  101. package/dist/commonjs/funcs/vendorsListVendorScrubPurchases.js.map +1 -1
  102. package/dist/commonjs/funcs/vendorsUpdateVendorManagedByCompany.d.ts +1 -1
  103. package/dist/commonjs/funcs/vendorsUpdateVendorManagedByCompany.d.ts.map +1 -1
  104. package/dist/commonjs/funcs/vendorsUpdateVendorManagedByCompany.js +2 -1
  105. package/dist/commonjs/funcs/vendorsUpdateVendorManagedByCompany.js.map +1 -1
  106. package/dist/commonjs/funcs/webhooksGetWebhookEndpoint.js +2 -2
  107. package/dist/commonjs/funcs/webhooksGetWebhookEndpoint.js.map +1 -1
  108. package/dist/commonjs/funcs/webhooksListAllWebhookEndpoints.d.ts +1 -1
  109. package/dist/commonjs/funcs/webhooksListAllWebhookEndpoints.d.ts.map +1 -1
  110. package/dist/commonjs/funcs/webhooksListAllWebhookEndpoints.js +1 -1
  111. package/dist/commonjs/funcs/webhooksListAllWebhookEndpoints.js.map +1 -1
  112. package/dist/commonjs/funcs/webhooksUpdatesTheWebhookEndpointWithTheGivenId.d.ts +18 -0
  113. package/dist/commonjs/funcs/webhooksUpdatesTheWebhookEndpointWithTheGivenId.d.ts.map +1 -0
  114. package/dist/commonjs/funcs/webhooksUpdatesTheWebhookEndpointWithTheGivenId.js +123 -0
  115. package/dist/commonjs/funcs/webhooksUpdatesTheWebhookEndpointWithTheGivenId.js.map +1 -0
  116. package/dist/commonjs/funcs/zonesSecurityZoneCheckin.d.ts +2 -3
  117. package/dist/commonjs/funcs/zonesSecurityZoneCheckin.d.ts.map +1 -1
  118. package/dist/commonjs/funcs/zonesSecurityZoneCheckin.js +2 -3
  119. package/dist/commonjs/funcs/zonesSecurityZoneCheckin.js.map +1 -1
  120. package/dist/commonjs/lib/config.d.ts +3 -3
  121. package/dist/commonjs/lib/config.js +3 -3
  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 +152 -0
  145. package/dist/commonjs/models/components/credential.d.ts.map +1 -0
  146. package/dist/commonjs/models/components/credential.js +178 -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 +8 -0
  165. package/dist/commonjs/models/components/index.d.ts.map +1 -1
  166. package/dist/commonjs/models/components/index.js +8 -0
  167. package/dist/commonjs/models/components/index.js.map +1 -1
  168. package/dist/commonjs/models/components/screeningresponse.d.ts +52 -0
  169. package/dist/commonjs/models/components/screeningresponse.d.ts.map +1 -0
  170. package/dist/commonjs/models/components/screeningresponse.js +116 -0
  171. package/dist/commonjs/models/components/screeningresponse.js.map +1 -0
  172. package/dist/commonjs/models/components/user.d.ts +2 -2
  173. package/dist/commonjs/models/components/user.d.ts.map +1 -1
  174. package/dist/commonjs/models/components/user.js +2 -2
  175. package/dist/commonjs/models/components/user.js.map +1 -1
  176. package/dist/commonjs/models/components/vendor.d.ts +48 -6
  177. package/dist/commonjs/models/components/vendor.d.ts.map +1 -1
  178. package/dist/commonjs/models/components/vendor.js +69 -7
  179. package/dist/commonjs/models/components/vendor.js.map +1 -1
  180. package/dist/commonjs/models/components/vendorcredentialdatarequest.d.ts +148 -0
  181. package/dist/commonjs/models/components/vendorcredentialdatarequest.d.ts.map +1 -0
  182. package/dist/commonjs/models/components/vendorcredentialdatarequest.js +228 -0
  183. package/dist/commonjs/models/components/vendorcredentialdatarequest.js.map +1 -0
  184. package/dist/commonjs/models/components/vendorcredentialfile.d.ts +125 -0
  185. package/dist/commonjs/models/components/vendorcredentialfile.d.ts.map +1 -0
  186. package/dist/commonjs/models/components/vendorcredentialfile.js +211 -0
  187. package/dist/commonjs/models/components/vendorcredentialfile.js.map +1 -0
  188. package/dist/commonjs/models/components/vendorcredentialsummary.d.ts +170 -0
  189. package/dist/commonjs/models/components/vendorcredentialsummary.d.ts.map +1 -1
  190. package/dist/commonjs/models/components/vendorcredentialsummary.js +234 -1
  191. package/dist/commonjs/models/components/vendorcredentialsummary.js.map +1 -1
  192. package/dist/commonjs/models/components/vendorscan.d.ts +80 -0
  193. package/dist/commonjs/models/components/vendorscan.d.ts.map +1 -0
  194. package/dist/commonjs/models/components/vendorscan.js +144 -0
  195. package/dist/commonjs/models/components/vendorscan.js.map +1 -0
  196. package/dist/commonjs/models/operations/addvendormanagedbycompany.d.ts +13 -13
  197. package/dist/commonjs/models/operations/addvendormanagedbycompany.d.ts.map +1 -1
  198. package/dist/commonjs/models/operations/addvendormanagedbycompany.js +16 -16
  199. package/dist/commonjs/models/operations/addvendormanagedbycompany.js.map +1 -1
  200. package/dist/commonjs/models/operations/changepassword.d.ts +13 -13
  201. package/dist/commonjs/models/operations/changepassword.d.ts.map +1 -1
  202. package/dist/commonjs/models/operations/changepassword.js +16 -16
  203. package/dist/commonjs/models/operations/changepassword.js.map +1 -1
  204. package/dist/commonjs/models/operations/deletevendormanagedbycompany.d.ts +13 -13
  205. package/dist/commonjs/models/operations/deletevendormanagedbycompany.d.ts.map +1 -1
  206. package/dist/commonjs/models/operations/deletevendormanagedbycompany.js +18 -16
  207. package/dist/commonjs/models/operations/deletevendormanagedbycompany.js.map +1 -1
  208. package/dist/commonjs/models/operations/expeditetimeremaining.d.ts +13 -13
  209. package/dist/commonjs/models/operations/expeditetimeremaining.d.ts.map +1 -1
  210. package/dist/commonjs/models/operations/expeditetimeremaining.js +16 -16
  211. package/dist/commonjs/models/operations/expeditetimeremaining.js.map +1 -1
  212. package/dist/commonjs/models/operations/getvendorcredentialdetails.d.ts +74 -0
  213. package/dist/commonjs/models/operations/getvendorcredentialdetails.d.ts.map +1 -0
  214. package/dist/commonjs/models/operations/getvendorcredentialdetails.js +118 -0
  215. package/dist/commonjs/models/operations/getvendorcredentialdetails.js.map +1 -0
  216. package/dist/commonjs/models/operations/index.d.ts +3 -1
  217. package/dist/commonjs/models/operations/index.d.ts.map +1 -1
  218. package/dist/commonjs/models/operations/index.js +3 -1
  219. package/dist/commonjs/models/operations/index.js.map +1 -1
  220. package/dist/commonjs/models/operations/listallwebhookendpoints.d.ts +13 -13
  221. package/dist/commonjs/models/operations/listallwebhookendpoints.d.ts.map +1 -1
  222. package/dist/commonjs/models/operations/listallwebhookendpoints.js +16 -16
  223. package/dist/commonjs/models/operations/listallwebhookendpoints.js.map +1 -1
  224. package/dist/commonjs/models/operations/listvendoradditionalfacilityfields.d.ts +15 -15
  225. package/dist/commonjs/models/operations/listvendoradditionalfacilityfields.d.ts.map +1 -1
  226. package/dist/commonjs/models/operations/listvendoradditionalfacilityfields.js +20 -18
  227. package/dist/commonjs/models/operations/listvendoradditionalfacilityfields.js.map +1 -1
  228. package/dist/commonjs/models/operations/listvendorcredentials.d.ts +25 -25
  229. package/dist/commonjs/models/operations/listvendorcredentials.d.ts.map +1 -1
  230. package/dist/commonjs/models/operations/listvendorcredentials.js +26 -26
  231. package/dist/commonjs/models/operations/listvendorcredentials.js.map +1 -1
  232. package/dist/commonjs/models/operations/listvendorcredits.d.ts +15 -15
  233. package/dist/commonjs/models/operations/listvendorcredits.d.ts.map +1 -1
  234. package/dist/commonjs/models/operations/listvendorcredits.js +18 -18
  235. package/dist/commonjs/models/operations/listvendorcredits.js.map +1 -1
  236. package/dist/commonjs/models/operations/listvendorfacilitystatuses.d.ts +15 -15
  237. package/dist/commonjs/models/operations/listvendorfacilitystatuses.d.ts.map +1 -1
  238. package/dist/commonjs/models/operations/listvendorfacilitystatuses.js +19 -18
  239. package/dist/commonjs/models/operations/listvendorfacilitystatuses.js.map +1 -1
  240. package/dist/commonjs/models/operations/listvendorinvoices.d.ts +17 -17
  241. package/dist/commonjs/models/operations/listvendorinvoices.d.ts.map +1 -1
  242. package/dist/commonjs/models/operations/listvendorinvoices.js +20 -20
  243. package/dist/commonjs/models/operations/listvendorinvoices.js.map +1 -1
  244. package/dist/commonjs/models/operations/listvendormanagedbycompanies.d.ts +15 -15
  245. package/dist/commonjs/models/operations/listvendormanagedbycompanies.d.ts.map +1 -1
  246. package/dist/commonjs/models/operations/listvendormanagedbycompanies.js +20 -18
  247. package/dist/commonjs/models/operations/listvendormanagedbycompanies.js.map +1 -1
  248. package/dist/commonjs/models/operations/listvendorscrubpackages.d.ts +2 -2
  249. package/dist/commonjs/models/operations/listvendorscrubpackages.d.ts.map +1 -1
  250. package/dist/commonjs/models/operations/listvendorscrubpackages.js +2 -2
  251. package/dist/commonjs/models/operations/listvendorscrubpackages.js.map +1 -1
  252. package/dist/commonjs/models/operations/listvendorscrubpurchases.d.ts +15 -15
  253. package/dist/commonjs/models/operations/listvendorscrubpurchases.d.ts.map +1 -1
  254. package/dist/commonjs/models/operations/listvendorscrubpurchases.js +18 -18
  255. package/dist/commonjs/models/operations/listvendorscrubpurchases.js.map +1 -1
  256. package/dist/commonjs/models/operations/postauthenticate.d.ts +98 -0
  257. package/dist/commonjs/models/operations/postauthenticate.d.ts.map +1 -0
  258. package/dist/commonjs/models/operations/{logsuserintothesystem.js → postauthenticate.js} +47 -47
  259. package/dist/commonjs/models/operations/postauthenticate.js.map +1 -0
  260. package/dist/commonjs/models/operations/securityzonecheckin.d.ts +190 -4
  261. package/dist/commonjs/models/operations/securityzonecheckin.d.ts.map +1 -1
  262. package/dist/commonjs/models/operations/securityzonecheckin.js +244 -1
  263. package/dist/commonjs/models/operations/securityzonecheckin.js.map +1 -1
  264. package/dist/commonjs/models/operations/updatesthewebhookendpointwiththegivenid.d.ts +35 -0
  265. package/dist/commonjs/models/operations/updatesthewebhookendpointwiththegivenid.d.ts.map +1 -0
  266. package/dist/commonjs/models/operations/updatesthewebhookendpointwiththegivenid.js +81 -0
  267. package/dist/commonjs/models/operations/updatesthewebhookendpointwiththegivenid.js.map +1 -0
  268. package/dist/commonjs/models/operations/updatevendormanagedbycompany.d.ts +13 -13
  269. package/dist/commonjs/models/operations/updatevendormanagedbycompany.d.ts.map +1 -1
  270. package/dist/commonjs/models/operations/updatevendormanagedbycompany.js +18 -16
  271. package/dist/commonjs/models/operations/updatevendormanagedbycompany.js.map +1 -1
  272. package/dist/commonjs/models/operations/vendorscanout.d.ts +13 -13
  273. package/dist/commonjs/models/operations/vendorscanout.d.ts.map +1 -1
  274. package/dist/commonjs/models/operations/vendorscanout.js +16 -16
  275. package/dist/commonjs/models/operations/vendorscanout.js.map +1 -1
  276. package/dist/commonjs/react-query/index.d.ts +3 -1
  277. package/dist/commonjs/react-query/index.d.ts.map +1 -1
  278. package/dist/commonjs/react-query/index.js +3 -1
  279. package/dist/commonjs/react-query/index.js.map +1 -1
  280. package/dist/commonjs/react-query/usersChangePassword.d.ts +1 -1
  281. package/dist/commonjs/react-query/usersChangePassword.d.ts.map +1 -1
  282. package/dist/{esm/react-query/usersLogsUserIntoTheSystem.d.ts → commonjs/react-query/usersPostAuthenticate.d.ts} +8 -8
  283. package/dist/commonjs/react-query/usersPostAuthenticate.d.ts.map +1 -0
  284. package/dist/commonjs/react-query/{usersLogsUserIntoTheSystem.js → usersPostAuthenticate.js} +13 -13
  285. package/dist/commonjs/react-query/usersPostAuthenticate.js.map +1 -0
  286. package/dist/commonjs/react-query/vendorScansVendorScanOut.d.ts +1 -1
  287. package/dist/commonjs/react-query/vendorScansVendorScanOut.d.ts.map +1 -1
  288. package/dist/commonjs/react-query/vendorsAddVendorManagedByCompany.d.ts +1 -1
  289. package/dist/commonjs/react-query/vendorsAddVendorManagedByCompany.d.ts.map +1 -1
  290. package/dist/commonjs/react-query/vendorsDeleteVendorManagedByCompany.d.ts +1 -1
  291. package/dist/commonjs/react-query/vendorsDeleteVendorManagedByCompany.d.ts.map +1 -1
  292. package/dist/commonjs/react-query/vendorsExpediteTimeRemaining.d.ts +1 -1
  293. package/dist/commonjs/react-query/vendorsExpediteTimeRemaining.d.ts.map +1 -1
  294. package/dist/commonjs/react-query/vendorsGetVendorCredentialDetails.d.ts +79 -0
  295. package/dist/commonjs/react-query/vendorsGetVendorCredentialDetails.d.ts.map +1 -0
  296. package/dist/commonjs/react-query/vendorsGetVendorCredentialDetails.js +132 -0
  297. package/dist/commonjs/react-query/vendorsGetVendorCredentialDetails.js.map +1 -0
  298. package/dist/commonjs/react-query/vendorsUpdateVendorManagedByCompany.d.ts +1 -1
  299. package/dist/commonjs/react-query/vendorsUpdateVendorManagedByCompany.d.ts.map +1 -1
  300. package/dist/commonjs/react-query/webhooksListAllWebhookEndpoints.d.ts +1 -1
  301. package/dist/commonjs/react-query/webhooksListAllWebhookEndpoints.d.ts.map +1 -1
  302. package/dist/commonjs/react-query/webhooksUpdatesTheWebhookEndpointWithTheGivenId.d.ts +24 -0
  303. package/dist/commonjs/react-query/webhooksUpdatesTheWebhookEndpointWithTheGivenId.d.ts.map +1 -0
  304. package/dist/commonjs/react-query/webhooksUpdatesTheWebhookEndpointWithTheGivenId.js +51 -0
  305. package/dist/commonjs/react-query/webhooksUpdatesTheWebhookEndpointWithTheGivenId.js.map +1 -0
  306. package/dist/commonjs/react-query/zonesSecurityZoneCheckin.d.ts +2 -3
  307. package/dist/commonjs/react-query/zonesSecurityZoneCheckin.d.ts.map +1 -1
  308. package/dist/commonjs/react-query/zonesSecurityZoneCheckin.js +1 -1
  309. package/dist/commonjs/react-query/zonesSecurityZoneCheckin.js.map +1 -1
  310. package/dist/commonjs/sdk/users.d.ts +2 -2
  311. package/dist/commonjs/sdk/users.d.ts.map +1 -1
  312. package/dist/commonjs/sdk/users.js +3 -3
  313. package/dist/commonjs/sdk/users.js.map +1 -1
  314. package/dist/commonjs/sdk/vendors.d.ts +28 -4
  315. package/dist/commonjs/sdk/vendors.d.ts.map +1 -1
  316. package/dist/commonjs/sdk/vendors.js +27 -0
  317. package/dist/commonjs/sdk/vendors.js.map +1 -1
  318. package/dist/commonjs/sdk/vendorscans.d.ts +1 -1
  319. package/dist/commonjs/sdk/vendorscans.d.ts.map +1 -1
  320. package/dist/commonjs/sdk/webhooks.d.ts +8 -1
  321. package/dist/commonjs/sdk/webhooks.d.ts.map +1 -1
  322. package/dist/commonjs/sdk/webhooks.js +10 -0
  323. package/dist/commonjs/sdk/webhooks.js.map +1 -1
  324. package/dist/commonjs/sdk/zones.d.ts +2 -3
  325. package/dist/commonjs/sdk/zones.d.ts.map +1 -1
  326. package/dist/commonjs/sdk/zones.js +1 -1
  327. package/dist/commonjs/sdk/zones.js.map +1 -1
  328. package/dist/esm/__tests__/vendormanagedbycompanies.test.js +1 -1
  329. package/dist/esm/__tests__/vendormanagedbycompanies.test.js.map +1 -1
  330. package/dist/esm/__tests__/vendors.test.js +40 -2
  331. package/dist/esm/__tests__/vendors.test.js.map +1 -1
  332. package/dist/esm/__tests__/webhooks.test.js +44 -0
  333. package/dist/esm/__tests__/webhooks.test.js.map +1 -1
  334. package/dist/esm/__tests__/zones.test.js +86 -39
  335. package/dist/esm/__tests__/zones.test.js.map +1 -1
  336. package/dist/esm/funcs/organizationsGetFacility.js +2 -2
  337. package/dist/esm/funcs/organizationsGetFacility.js.map +1 -1
  338. package/dist/esm/funcs/organizationsListOrSearchFacilities.js +2 -2
  339. package/dist/esm/funcs/supportArticlesGetSupportArticle.d.ts +1 -1
  340. package/dist/esm/funcs/supportArticlesGetSupportArticle.d.ts.map +1 -1
  341. package/dist/esm/funcs/supportArticlesGetSupportArticle.js +2 -2
  342. package/dist/esm/funcs/supportArticlesGetSupportArticle.js.map +1 -1
  343. package/dist/esm/funcs/supportArticlesListOrSearchSupportArticles.d.ts +2 -1
  344. package/dist/esm/funcs/supportArticlesListOrSearchSupportArticles.d.ts.map +1 -1
  345. package/dist/esm/funcs/supportArticlesListOrSearchSupportArticles.js +3 -2
  346. package/dist/esm/funcs/supportArticlesListOrSearchSupportArticles.js.map +1 -1
  347. package/dist/esm/funcs/usersChangePassword.d.ts +1 -1
  348. package/dist/esm/funcs/usersChangePassword.d.ts.map +1 -1
  349. package/dist/esm/funcs/usersChangePassword.js +1 -1
  350. package/dist/esm/funcs/usersChangePassword.js.map +1 -1
  351. package/dist/esm/funcs/usersGetCurrentUser.d.ts +1 -1
  352. package/dist/esm/funcs/usersGetCurrentUser.d.ts.map +1 -1
  353. package/dist/esm/funcs/usersGetCurrentUser.js +2 -2
  354. package/dist/esm/funcs/usersGetCurrentUser.js.map +1 -1
  355. package/dist/esm/funcs/usersGetUserById.d.ts +1 -1
  356. package/dist/esm/funcs/usersGetUserById.d.ts.map +1 -1
  357. package/dist/esm/funcs/usersGetUserById.js +2 -2
  358. package/dist/esm/funcs/usersGetUserById.js.map +1 -1
  359. package/dist/esm/funcs/usersMagiclink.d.ts +1 -1
  360. package/dist/esm/funcs/usersMagiclink.d.ts.map +1 -1
  361. package/dist/esm/funcs/usersMagiclink.js +2 -2
  362. package/dist/esm/funcs/usersMagiclink.js.map +1 -1
  363. package/dist/esm/funcs/usersPassword.d.ts +1 -1
  364. package/dist/esm/funcs/usersPassword.d.ts.map +1 -1
  365. package/dist/esm/funcs/usersPassword.js +2 -2
  366. package/dist/esm/funcs/usersPassword.js.map +1 -1
  367. package/dist/esm/funcs/usersPasswordResetRequest.d.ts +1 -1
  368. package/dist/esm/funcs/usersPasswordResetRequest.d.ts.map +1 -1
  369. package/dist/esm/funcs/usersPasswordResetRequest.js +2 -2
  370. package/dist/esm/funcs/usersPasswordResetRequest.js.map +1 -1
  371. package/dist/esm/funcs/{usersLogsUserIntoTheSystem.d.ts → usersPostAuthenticate.d.ts} +2 -2
  372. package/dist/esm/funcs/usersPostAuthenticate.d.ts.map +1 -0
  373. package/dist/esm/funcs/{usersLogsUserIntoTheSystem.js → usersPostAuthenticate.js} +6 -6
  374. package/dist/esm/funcs/usersPostAuthenticate.js.map +1 -0
  375. package/dist/esm/funcs/vendorScansVendorScanOut.d.ts +1 -1
  376. package/dist/esm/funcs/vendorScansVendorScanOut.d.ts.map +1 -1
  377. package/dist/esm/funcs/vendorScansVendorScanOut.js +1 -1
  378. package/dist/esm/funcs/vendorScansVendorScanOut.js.map +1 -1
  379. package/dist/esm/funcs/vendorsAddVendorManagedByCompany.d.ts +1 -1
  380. package/dist/esm/funcs/vendorsAddVendorManagedByCompany.d.ts.map +1 -1
  381. package/dist/esm/funcs/vendorsAddVendorManagedByCompany.js +2 -1
  382. package/dist/esm/funcs/vendorsAddVendorManagedByCompany.js.map +1 -1
  383. package/dist/esm/funcs/vendorsDeleteVendorManagedByCompany.d.ts +1 -1
  384. package/dist/esm/funcs/vendorsDeleteVendorManagedByCompany.d.ts.map +1 -1
  385. package/dist/esm/funcs/vendorsDeleteVendorManagedByCompany.js +2 -1
  386. package/dist/esm/funcs/vendorsDeleteVendorManagedByCompany.js.map +1 -1
  387. package/dist/esm/funcs/vendorsExpediteTimeRemaining.d.ts +1 -1
  388. package/dist/esm/funcs/vendorsExpediteTimeRemaining.d.ts.map +1 -1
  389. package/dist/esm/funcs/vendorsExpediteTimeRemaining.js +2 -2
  390. package/dist/esm/funcs/vendorsExpediteTimeRemaining.js.map +1 -1
  391. package/dist/esm/funcs/vendorsGetVendorCredentialDetails.d.ts +34 -0
  392. package/dist/esm/funcs/vendorsGetVendorCredentialDetails.d.ts.map +1 -0
  393. package/dist/esm/funcs/vendorsGetVendorCredentialDetails.js +109 -0
  394. package/dist/esm/funcs/vendorsGetVendorCredentialDetails.js.map +1 -0
  395. package/dist/esm/funcs/vendorsGetVendorInvoiceDetails.d.ts +1 -1
  396. package/dist/esm/funcs/vendorsGetVendorInvoiceDetails.d.ts.map +1 -1
  397. package/dist/esm/funcs/vendorsGetVendorInvoiceDetails.js +2 -2
  398. package/dist/esm/funcs/vendorsGetVendorInvoiceDetails.js.map +1 -1
  399. package/dist/esm/funcs/vendorsGetVendorsDetails.js +2 -2
  400. package/dist/esm/funcs/vendorsGetVendorsDetails.js.map +1 -1
  401. package/dist/esm/funcs/vendorsListVendorAdditionalFacilityFields.js +2 -2
  402. package/dist/esm/funcs/vendorsListVendorAdditionalFacilityFields.js.map +1 -1
  403. package/dist/esm/funcs/vendorsListVendorCredentials.d.ts +2 -1
  404. package/dist/esm/funcs/vendorsListVendorCredentials.d.ts.map +1 -1
  405. package/dist/esm/funcs/vendorsListVendorCredentials.js +3 -2
  406. package/dist/esm/funcs/vendorsListVendorCredentials.js.map +1 -1
  407. package/dist/esm/funcs/vendorsListVendorCredits.js +2 -2
  408. package/dist/esm/funcs/vendorsListVendorCredits.js.map +1 -1
  409. package/dist/esm/funcs/vendorsListVendorFacilityStatuses.js +2 -2
  410. package/dist/esm/funcs/vendorsListVendorFacilityStatuses.js.map +1 -1
  411. package/dist/esm/funcs/vendorsListVendorInvoices.d.ts +1 -1
  412. package/dist/esm/funcs/vendorsListVendorInvoices.d.ts.map +1 -1
  413. package/dist/esm/funcs/vendorsListVendorInvoices.js +2 -2
  414. package/dist/esm/funcs/vendorsListVendorInvoices.js.map +1 -1
  415. package/dist/esm/funcs/vendorsListVendorManagedByCompanies.js +2 -2
  416. package/dist/esm/funcs/vendorsListVendorManagedByCompanies.js.map +1 -1
  417. package/dist/esm/funcs/vendorsListVendorScrubDetails.d.ts +1 -1
  418. package/dist/esm/funcs/vendorsListVendorScrubDetails.d.ts.map +1 -1
  419. package/dist/esm/funcs/vendorsListVendorScrubDetails.js +2 -2
  420. package/dist/esm/funcs/vendorsListVendorScrubDetails.js.map +1 -1
  421. package/dist/esm/funcs/vendorsListVendorScrubPurchases.d.ts +1 -1
  422. package/dist/esm/funcs/vendorsListVendorScrubPurchases.d.ts.map +1 -1
  423. package/dist/esm/funcs/vendorsListVendorScrubPurchases.js +2 -2
  424. package/dist/esm/funcs/vendorsListVendorScrubPurchases.js.map +1 -1
  425. package/dist/esm/funcs/vendorsUpdateVendorManagedByCompany.d.ts +1 -1
  426. package/dist/esm/funcs/vendorsUpdateVendorManagedByCompany.d.ts.map +1 -1
  427. package/dist/esm/funcs/vendorsUpdateVendorManagedByCompany.js +2 -1
  428. package/dist/esm/funcs/vendorsUpdateVendorManagedByCompany.js.map +1 -1
  429. package/dist/esm/funcs/webhooksGetWebhookEndpoint.js +2 -2
  430. package/dist/esm/funcs/webhooksGetWebhookEndpoint.js.map +1 -1
  431. package/dist/esm/funcs/webhooksListAllWebhookEndpoints.d.ts +1 -1
  432. package/dist/esm/funcs/webhooksListAllWebhookEndpoints.d.ts.map +1 -1
  433. package/dist/esm/funcs/webhooksListAllWebhookEndpoints.js +1 -1
  434. package/dist/esm/funcs/webhooksListAllWebhookEndpoints.js.map +1 -1
  435. package/dist/esm/funcs/webhooksUpdatesTheWebhookEndpointWithTheGivenId.d.ts +18 -0
  436. package/dist/esm/funcs/webhooksUpdatesTheWebhookEndpointWithTheGivenId.d.ts.map +1 -0
  437. package/dist/esm/funcs/webhooksUpdatesTheWebhookEndpointWithTheGivenId.js +87 -0
  438. package/dist/esm/funcs/webhooksUpdatesTheWebhookEndpointWithTheGivenId.js.map +1 -0
  439. package/dist/esm/funcs/zonesSecurityZoneCheckin.d.ts +2 -3
  440. package/dist/esm/funcs/zonesSecurityZoneCheckin.d.ts.map +1 -1
  441. package/dist/esm/funcs/zonesSecurityZoneCheckin.js +2 -3
  442. package/dist/esm/funcs/zonesSecurityZoneCheckin.js.map +1 -1
  443. package/dist/esm/lib/config.d.ts +3 -3
  444. package/dist/esm/lib/config.js +3 -3
  445. package/dist/esm/mcp-server/mcp-server.js +1 -1
  446. package/dist/esm/mcp-server/server.d.ts.map +1 -1
  447. package/dist/esm/mcp-server/server.js +7 -3
  448. package/dist/esm/mcp-server/server.js.map +1 -1
  449. package/dist/esm/mcp-server/tools/usersPostAuthenticate.d.ts +8 -0
  450. package/dist/esm/mcp-server/tools/usersPostAuthenticate.d.ts.map +1 -0
  451. package/dist/esm/mcp-server/tools/{usersLogsUserIntoTheSystem.js → usersPostAuthenticate.js} +6 -6
  452. package/dist/esm/mcp-server/tools/usersPostAuthenticate.js.map +1 -0
  453. package/dist/esm/mcp-server/tools/vendorsGetVendorCredentialDetails.d.ts +8 -0
  454. package/dist/esm/mcp-server/tools/vendorsGetVendorCredentialDetails.d.ts.map +1 -0
  455. package/dist/esm/mcp-server/tools/vendorsGetVendorCredentialDetails.js +45 -0
  456. package/dist/esm/mcp-server/tools/vendorsGetVendorCredentialDetails.js.map +1 -0
  457. package/dist/esm/mcp-server/tools/webhooksUpdatesTheWebhookEndpointWithTheGivenId.d.ts +8 -0
  458. package/dist/esm/mcp-server/tools/webhooksUpdatesTheWebhookEndpointWithTheGivenId.d.ts.map +1 -0
  459. package/dist/esm/mcp-server/tools/webhooksUpdatesTheWebhookEndpointWithTheGivenId.js +28 -0
  460. package/dist/esm/mcp-server/tools/webhooksUpdatesTheWebhookEndpointWithTheGivenId.js.map +1 -0
  461. package/dist/esm/mcp-server/tools/zonesSecurityZoneCheckin.js +1 -1
  462. package/dist/esm/mcp-server/tools/zonesSecurityZoneCheckin.js.map +1 -1
  463. package/dist/esm/models/components/backgroundcheckresult.d.ts +186 -0
  464. package/dist/esm/models/components/backgroundcheckresult.d.ts.map +1 -0
  465. package/dist/esm/models/components/backgroundcheckresult.js +197 -0
  466. package/dist/esm/models/components/backgroundcheckresult.js.map +1 -0
  467. package/dist/esm/models/components/credential.d.ts +152 -0
  468. package/dist/esm/models/components/credential.d.ts.map +1 -0
  469. package/dist/esm/models/components/credential.js +140 -0
  470. package/dist/esm/models/components/credential.js.map +1 -0
  471. package/dist/esm/models/components/credentialdocument.d.ts +95 -0
  472. package/dist/esm/models/components/credentialdocument.d.ts.map +1 -0
  473. package/dist/esm/models/components/credentialdocument.js +110 -0
  474. package/dist/esm/models/components/credentialdocument.js.map +1 -0
  475. package/dist/esm/models/components/datarequest.d.ts +138 -0
  476. package/dist/esm/models/components/datarequest.d.ts.map +1 -0
  477. package/dist/esm/models/components/datarequest.js +161 -0
  478. package/dist/esm/models/components/datarequest.js.map +1 -0
  479. package/dist/esm/models/components/expand.d.ts +45 -0
  480. package/dist/esm/models/components/expand.d.ts.map +1 -1
  481. package/dist/esm/models/components/expand.js +15 -0
  482. package/dist/esm/models/components/expand.js.map +1 -1
  483. package/dist/esm/models/components/facility.d.ts +10 -10
  484. package/dist/esm/models/components/facility.d.ts.map +1 -1
  485. package/dist/esm/models/components/facility.js +10 -10
  486. package/dist/esm/models/components/facility.js.map +1 -1
  487. package/dist/esm/models/components/index.d.ts +8 -0
  488. package/dist/esm/models/components/index.d.ts.map +1 -1
  489. package/dist/esm/models/components/index.js +8 -0
  490. package/dist/esm/models/components/index.js.map +1 -1
  491. package/dist/esm/models/components/screeningresponse.d.ts +52 -0
  492. package/dist/esm/models/components/screeningresponse.d.ts.map +1 -0
  493. package/dist/esm/models/components/screeningresponse.js +78 -0
  494. package/dist/esm/models/components/screeningresponse.js.map +1 -0
  495. package/dist/esm/models/components/user.d.ts +2 -2
  496. package/dist/esm/models/components/user.d.ts.map +1 -1
  497. package/dist/esm/models/components/user.js +2 -2
  498. package/dist/esm/models/components/user.js.map +1 -1
  499. package/dist/esm/models/components/vendor.d.ts +48 -6
  500. package/dist/esm/models/components/vendor.d.ts.map +1 -1
  501. package/dist/esm/models/components/vendor.js +64 -6
  502. package/dist/esm/models/components/vendor.js.map +1 -1
  503. package/dist/esm/models/components/vendorcredentialdatarequest.d.ts +148 -0
  504. package/dist/esm/models/components/vendorcredentialdatarequest.d.ts.map +1 -0
  505. package/dist/esm/models/components/vendorcredentialdatarequest.js +184 -0
  506. package/dist/esm/models/components/vendorcredentialdatarequest.js.map +1 -0
  507. package/dist/esm/models/components/vendorcredentialfile.d.ts +125 -0
  508. package/dist/esm/models/components/vendorcredentialfile.d.ts.map +1 -0
  509. package/dist/esm/models/components/vendorcredentialfile.js +167 -0
  510. package/dist/esm/models/components/vendorcredentialfile.js.map +1 -0
  511. package/dist/esm/models/components/vendorcredentialsummary.d.ts +170 -0
  512. package/dist/esm/models/components/vendorcredentialsummary.d.ts.map +1 -1
  513. package/dist/esm/models/components/vendorcredentialsummary.js +223 -0
  514. package/dist/esm/models/components/vendorcredentialsummary.js.map +1 -1
  515. package/dist/esm/models/components/vendorscan.d.ts +80 -0
  516. package/dist/esm/models/components/vendorscan.d.ts.map +1 -0
  517. package/dist/esm/models/components/vendorscan.js +104 -0
  518. package/dist/esm/models/components/vendorscan.js.map +1 -0
  519. package/dist/esm/models/operations/addvendormanagedbycompany.d.ts +13 -13
  520. package/dist/esm/models/operations/addvendormanagedbycompany.d.ts.map +1 -1
  521. package/dist/esm/models/operations/addvendormanagedbycompany.js +13 -13
  522. package/dist/esm/models/operations/addvendormanagedbycompany.js.map +1 -1
  523. package/dist/esm/models/operations/changepassword.d.ts +13 -13
  524. package/dist/esm/models/operations/changepassword.d.ts.map +1 -1
  525. package/dist/esm/models/operations/changepassword.js +13 -13
  526. package/dist/esm/models/operations/changepassword.js.map +1 -1
  527. package/dist/esm/models/operations/deletevendormanagedbycompany.d.ts +13 -13
  528. package/dist/esm/models/operations/deletevendormanagedbycompany.d.ts.map +1 -1
  529. package/dist/esm/models/operations/deletevendormanagedbycompany.js +15 -13
  530. package/dist/esm/models/operations/deletevendormanagedbycompany.js.map +1 -1
  531. package/dist/esm/models/operations/expeditetimeremaining.d.ts +13 -13
  532. package/dist/esm/models/operations/expeditetimeremaining.d.ts.map +1 -1
  533. package/dist/esm/models/operations/expeditetimeremaining.js +13 -13
  534. package/dist/esm/models/operations/expeditetimeremaining.js.map +1 -1
  535. package/dist/esm/models/operations/getvendorcredentialdetails.d.ts +74 -0
  536. package/dist/esm/models/operations/getvendorcredentialdetails.d.ts.map +1 -0
  537. package/dist/esm/models/operations/getvendorcredentialdetails.js +78 -0
  538. package/dist/esm/models/operations/getvendorcredentialdetails.js.map +1 -0
  539. package/dist/esm/models/operations/index.d.ts +3 -1
  540. package/dist/esm/models/operations/index.d.ts.map +1 -1
  541. package/dist/esm/models/operations/index.js +3 -1
  542. package/dist/esm/models/operations/index.js.map +1 -1
  543. package/dist/esm/models/operations/listallwebhookendpoints.d.ts +13 -13
  544. package/dist/esm/models/operations/listallwebhookendpoints.d.ts.map +1 -1
  545. package/dist/esm/models/operations/listallwebhookendpoints.js +13 -13
  546. package/dist/esm/models/operations/listallwebhookendpoints.js.map +1 -1
  547. package/dist/esm/models/operations/listvendoradditionalfacilityfields.d.ts +15 -15
  548. package/dist/esm/models/operations/listvendoradditionalfacilityfields.d.ts.map +1 -1
  549. package/dist/esm/models/operations/listvendoradditionalfacilityfields.js +17 -15
  550. package/dist/esm/models/operations/listvendoradditionalfacilityfields.js.map +1 -1
  551. package/dist/esm/models/operations/listvendorcredentials.d.ts +25 -25
  552. package/dist/esm/models/operations/listvendorcredentials.d.ts.map +1 -1
  553. package/dist/esm/models/operations/listvendorcredentials.js +23 -23
  554. package/dist/esm/models/operations/listvendorcredentials.js.map +1 -1
  555. package/dist/esm/models/operations/listvendorcredits.d.ts +15 -15
  556. package/dist/esm/models/operations/listvendorcredits.d.ts.map +1 -1
  557. package/dist/esm/models/operations/listvendorcredits.js +15 -15
  558. package/dist/esm/models/operations/listvendorcredits.js.map +1 -1
  559. package/dist/esm/models/operations/listvendorfacilitystatuses.d.ts +15 -15
  560. package/dist/esm/models/operations/listvendorfacilitystatuses.d.ts.map +1 -1
  561. package/dist/esm/models/operations/listvendorfacilitystatuses.js +16 -15
  562. package/dist/esm/models/operations/listvendorfacilitystatuses.js.map +1 -1
  563. package/dist/esm/models/operations/listvendorinvoices.d.ts +17 -17
  564. package/dist/esm/models/operations/listvendorinvoices.d.ts.map +1 -1
  565. package/dist/esm/models/operations/listvendorinvoices.js +17 -17
  566. package/dist/esm/models/operations/listvendorinvoices.js.map +1 -1
  567. package/dist/esm/models/operations/listvendormanagedbycompanies.d.ts +15 -15
  568. package/dist/esm/models/operations/listvendormanagedbycompanies.d.ts.map +1 -1
  569. package/dist/esm/models/operations/listvendormanagedbycompanies.js +17 -15
  570. package/dist/esm/models/operations/listvendormanagedbycompanies.js.map +1 -1
  571. package/dist/esm/models/operations/listvendorscrubpackages.d.ts +2 -2
  572. package/dist/esm/models/operations/listvendorscrubpackages.d.ts.map +1 -1
  573. package/dist/esm/models/operations/listvendorscrubpackages.js +2 -2
  574. package/dist/esm/models/operations/listvendorscrubpackages.js.map +1 -1
  575. package/dist/esm/models/operations/listvendorscrubpurchases.d.ts +15 -15
  576. package/dist/esm/models/operations/listvendorscrubpurchases.d.ts.map +1 -1
  577. package/dist/esm/models/operations/listvendorscrubpurchases.js +15 -15
  578. package/dist/esm/models/operations/listvendorscrubpurchases.js.map +1 -1
  579. package/dist/esm/models/operations/postauthenticate.d.ts +98 -0
  580. package/dist/esm/models/operations/postauthenticate.d.ts.map +1 -0
  581. package/dist/esm/models/operations/postauthenticate.js +122 -0
  582. package/dist/esm/models/operations/postauthenticate.js.map +1 -0
  583. package/dist/esm/models/operations/securityzonecheckin.d.ts +190 -4
  584. package/dist/esm/models/operations/securityzonecheckin.d.ts.map +1 -1
  585. package/dist/esm/models/operations/securityzonecheckin.js +239 -0
  586. package/dist/esm/models/operations/securityzonecheckin.js.map +1 -1
  587. package/dist/esm/models/operations/updatesthewebhookendpointwiththegivenid.d.ts +35 -0
  588. package/dist/esm/models/operations/updatesthewebhookendpointwiththegivenid.d.ts.map +1 -0
  589. package/dist/esm/models/operations/updatesthewebhookendpointwiththegivenid.js +43 -0
  590. package/dist/esm/models/operations/updatesthewebhookendpointwiththegivenid.js.map +1 -0
  591. package/dist/esm/models/operations/updatevendormanagedbycompany.d.ts +13 -13
  592. package/dist/esm/models/operations/updatevendormanagedbycompany.d.ts.map +1 -1
  593. package/dist/esm/models/operations/updatevendormanagedbycompany.js +15 -13
  594. package/dist/esm/models/operations/updatevendormanagedbycompany.js.map +1 -1
  595. package/dist/esm/models/operations/vendorscanout.d.ts +13 -13
  596. package/dist/esm/models/operations/vendorscanout.d.ts.map +1 -1
  597. package/dist/esm/models/operations/vendorscanout.js +13 -13
  598. package/dist/esm/models/operations/vendorscanout.js.map +1 -1
  599. package/dist/esm/react-query/index.d.ts +3 -1
  600. package/dist/esm/react-query/index.d.ts.map +1 -1
  601. package/dist/esm/react-query/index.js +3 -1
  602. package/dist/esm/react-query/index.js.map +1 -1
  603. package/dist/esm/react-query/usersChangePassword.d.ts +1 -1
  604. package/dist/esm/react-query/usersChangePassword.d.ts.map +1 -1
  605. package/dist/{commonjs/react-query/usersLogsUserIntoTheSystem.d.ts → esm/react-query/usersPostAuthenticate.d.ts} +8 -8
  606. package/dist/esm/react-query/usersPostAuthenticate.d.ts.map +1 -0
  607. package/dist/esm/react-query/{usersLogsUserIntoTheSystem.js → usersPostAuthenticate.js} +10 -10
  608. package/dist/esm/react-query/usersPostAuthenticate.js.map +1 -0
  609. package/dist/esm/react-query/vendorScansVendorScanOut.d.ts +1 -1
  610. package/dist/esm/react-query/vendorScansVendorScanOut.d.ts.map +1 -1
  611. package/dist/esm/react-query/vendorsAddVendorManagedByCompany.d.ts +1 -1
  612. package/dist/esm/react-query/vendorsAddVendorManagedByCompany.d.ts.map +1 -1
  613. package/dist/esm/react-query/vendorsDeleteVendorManagedByCompany.d.ts +1 -1
  614. package/dist/esm/react-query/vendorsDeleteVendorManagedByCompany.d.ts.map +1 -1
  615. package/dist/esm/react-query/vendorsExpediteTimeRemaining.d.ts +1 -1
  616. package/dist/esm/react-query/vendorsExpediteTimeRemaining.d.ts.map +1 -1
  617. package/dist/esm/react-query/vendorsGetVendorCredentialDetails.d.ts +79 -0
  618. package/dist/esm/react-query/vendorsGetVendorCredentialDetails.d.ts.map +1 -0
  619. package/dist/esm/react-query/vendorsGetVendorCredentialDetails.js +122 -0
  620. package/dist/esm/react-query/vendorsGetVendorCredentialDetails.js.map +1 -0
  621. package/dist/esm/react-query/vendorsUpdateVendorManagedByCompany.d.ts +1 -1
  622. package/dist/esm/react-query/vendorsUpdateVendorManagedByCompany.d.ts.map +1 -1
  623. package/dist/esm/react-query/webhooksListAllWebhookEndpoints.d.ts +1 -1
  624. package/dist/esm/react-query/webhooksListAllWebhookEndpoints.d.ts.map +1 -1
  625. package/dist/esm/react-query/webhooksUpdatesTheWebhookEndpointWithTheGivenId.d.ts +24 -0
  626. package/dist/esm/react-query/webhooksUpdatesTheWebhookEndpointWithTheGivenId.d.ts.map +1 -0
  627. package/dist/esm/react-query/webhooksUpdatesTheWebhookEndpointWithTheGivenId.js +46 -0
  628. package/dist/esm/react-query/webhooksUpdatesTheWebhookEndpointWithTheGivenId.js.map +1 -0
  629. package/dist/esm/react-query/zonesSecurityZoneCheckin.d.ts +2 -3
  630. package/dist/esm/react-query/zonesSecurityZoneCheckin.d.ts.map +1 -1
  631. package/dist/esm/react-query/zonesSecurityZoneCheckin.js +1 -1
  632. package/dist/esm/react-query/zonesSecurityZoneCheckin.js.map +1 -1
  633. package/dist/esm/sdk/users.d.ts +2 -2
  634. package/dist/esm/sdk/users.d.ts.map +1 -1
  635. package/dist/esm/sdk/users.js +3 -3
  636. package/dist/esm/sdk/users.js.map +1 -1
  637. package/dist/esm/sdk/vendors.d.ts +28 -4
  638. package/dist/esm/sdk/vendors.d.ts.map +1 -1
  639. package/dist/esm/sdk/vendors.js +27 -0
  640. package/dist/esm/sdk/vendors.js.map +1 -1
  641. package/dist/esm/sdk/vendorscans.d.ts +1 -1
  642. package/dist/esm/sdk/vendorscans.d.ts.map +1 -1
  643. package/dist/esm/sdk/webhooks.d.ts +8 -1
  644. package/dist/esm/sdk/webhooks.d.ts.map +1 -1
  645. package/dist/esm/sdk/webhooks.js +10 -0
  646. package/dist/esm/sdk/webhooks.js.map +1 -1
  647. package/dist/esm/sdk/zones.d.ts +2 -3
  648. package/dist/esm/sdk/zones.d.ts.map +1 -1
  649. package/dist/esm/sdk/zones.js +1 -1
  650. package/dist/esm/sdk/zones.js.map +1 -1
  651. package/jsr.json +1 -1
  652. package/package.json +1 -1
  653. package/src/__tests__/vendormanagedbycompanies.test.ts +1 -1
  654. package/src/__tests__/vendors.test.ts +43 -2
  655. package/src/__tests__/webhooks.test.ts +49 -0
  656. package/src/__tests__/zones.test.ts +86 -39
  657. package/src/funcs/organizationsGetFacility.ts +2 -2
  658. package/src/funcs/organizationsListOrSearchFacilities.ts +2 -2
  659. package/src/funcs/supportArticlesGetSupportArticle.ts +6 -2
  660. package/src/funcs/supportArticlesListOrSearchSupportArticles.ts +12 -1
  661. package/src/funcs/usersChangePassword.ts +4 -4
  662. package/src/funcs/usersGetCurrentUser.ts +5 -1
  663. package/src/funcs/usersGetUserById.ts +5 -1
  664. package/src/funcs/usersMagiclink.ts +5 -1
  665. package/src/funcs/usersPassword.ts +6 -2
  666. package/src/funcs/usersPasswordResetRequest.ts +6 -2
  667. package/src/funcs/{usersLogsUserIntoTheSystem.ts → usersPostAuthenticate.ts} +16 -12
  668. package/src/funcs/vendorScansVendorScanOut.ts +4 -4
  669. package/src/funcs/vendorsAddVendorManagedByCompany.ts +8 -4
  670. package/src/funcs/vendorsDeleteVendorManagedByCompany.ts +5 -4
  671. package/src/funcs/vendorsExpediteTimeRemaining.ts +13 -6
  672. package/src/funcs/vendorsGetVendorCredentialDetails.ts +204 -0
  673. package/src/funcs/vendorsGetVendorInvoiceDetails.ts +6 -2
  674. package/src/funcs/vendorsGetVendorsDetails.ts +2 -2
  675. package/src/funcs/vendorsListVendorAdditionalFacilityFields.ts +2 -2
  676. package/src/funcs/vendorsListVendorCredentials.ts +12 -1
  677. package/src/funcs/vendorsListVendorCredits.ts +2 -2
  678. package/src/funcs/vendorsListVendorFacilityStatuses.ts +2 -2
  679. package/src/funcs/vendorsListVendorInvoices.ts +7 -2
  680. package/src/funcs/vendorsListVendorManagedByCompanies.ts +2 -2
  681. package/src/funcs/vendorsListVendorScrubDetails.ts +6 -2
  682. package/src/funcs/vendorsListVendorScrubPurchases.ts +7 -2
  683. package/src/funcs/vendorsUpdateVendorManagedByCompany.ts +5 -4
  684. package/src/funcs/webhooksGetWebhookEndpoint.ts +2 -2
  685. package/src/funcs/webhooksListAllWebhookEndpoints.ts +7 -4
  686. package/src/funcs/webhooksUpdatesTheWebhookEndpointWithTheGivenId.ts +176 -0
  687. package/src/funcs/zonesSecurityZoneCheckin.ts +5 -6
  688. package/src/lib/config.ts +3 -3
  689. package/src/mcp-server/mcp-server.ts +1 -1
  690. package/src/mcp-server/server.ts +7 -3
  691. package/src/mcp-server/tools/{usersLogsUserIntoTheSystem.ts → usersPostAuthenticate.ts} +5 -5
  692. package/src/mcp-server/tools/vendorsGetVendorCredentialDetails.ts +56 -0
  693. package/src/mcp-server/tools/webhooksUpdatesTheWebhookEndpointWithTheGivenId.ts +40 -0
  694. package/src/mcp-server/tools/zonesSecurityZoneCheckin.ts +1 -1
  695. package/src/models/components/backgroundcheckresult.ts +378 -0
  696. package/src/models/components/credential.ts +227 -0
  697. package/src/models/components/credentialdocument.ts +231 -0
  698. package/src/models/components/datarequest.ts +274 -0
  699. package/src/models/components/expand.ts +22 -0
  700. package/src/models/components/facility.ts +20 -20
  701. package/src/models/components/index.ts +8 -0
  702. package/src/models/components/screeningresponse.ts +136 -0
  703. package/src/models/components/user.ts +4 -4
  704. package/src/models/components/vendor.ts +115 -9
  705. package/src/models/components/vendorcredentialdatarequest.ts +397 -0
  706. package/src/models/components/vendorcredentialfile.ts +354 -0
  707. package/src/models/components/vendorcredentialsummary.ts +495 -0
  708. package/src/models/components/vendorscan.ts +198 -0
  709. package/src/models/operations/addvendormanagedbycompany.ts +40 -31
  710. package/src/models/operations/changepassword.ts +23 -21
  711. package/src/models/operations/deletevendormanagedbycompany.ts +39 -37
  712. package/src/models/operations/expeditetimeremaining.ts +48 -37
  713. package/src/models/operations/getvendorcredentialdetails.ts +181 -0
  714. package/src/models/operations/index.ts +3 -1
  715. package/src/models/operations/listallwebhookendpoints.ts +42 -33
  716. package/src/models/operations/listvendoradditionalfacilityfields.ts +43 -39
  717. package/src/models/operations/listvendorcredentials.ts +46 -50
  718. package/src/models/operations/listvendorcredits.ts +29 -26
  719. package/src/models/operations/listvendorfacilitystatuses.ts +49 -38
  720. package/src/models/operations/listvendorinvoices.ts +34 -30
  721. package/src/models/operations/listvendormanagedbycompanies.ts +52 -44
  722. package/src/models/operations/listvendorscrubpackages.ts +4 -4
  723. package/src/models/operations/listvendorscrubpurchases.ts +50 -37
  724. package/src/models/operations/{logsuserintothesystem.ts → postauthenticate.ts} +65 -68
  725. package/src/models/operations/securityzonecheckin.ts +428 -4
  726. package/src/models/operations/updatesthewebhookendpointwiththegivenid.ts +97 -0
  727. package/src/models/operations/updatevendormanagedbycompany.ts +39 -37
  728. package/src/models/operations/vendorscanout.ts +23 -21
  729. package/src/react-query/index.ts +3 -1
  730. package/src/react-query/usersChangePassword.ts +1 -1
  731. package/src/react-query/{usersLogsUserIntoTheSystem.ts → usersPostAuthenticate.ts} +20 -20
  732. package/src/react-query/vendorScansVendorScanOut.ts +1 -1
  733. package/src/react-query/vendorsAddVendorManagedByCompany.ts +1 -1
  734. package/src/react-query/vendorsDeleteVendorManagedByCompany.ts +1 -1
  735. package/src/react-query/vendorsExpediteTimeRemaining.ts +1 -1
  736. package/src/react-query/vendorsGetVendorCredentialDetails.ts +223 -0
  737. package/src/react-query/vendorsUpdateVendorManagedByCompany.ts +1 -1
  738. package/src/react-query/webhooksListAllWebhookEndpoints.ts +1 -1
  739. package/src/react-query/webhooksUpdatesTheWebhookEndpointWithTheGivenId.ts +98 -0
  740. package/src/react-query/zonesSecurityZoneCheckin.ts +3 -3
  741. package/src/sdk/users.ts +6 -6
  742. package/src/sdk/vendors.ts +43 -4
  743. package/src/sdk/vendorscans.ts +1 -1
  744. package/src/sdk/webhooks.ts +19 -1
  745. package/src/sdk/zones.ts +2 -3
  746. package/dist/commonjs/funcs/usersLogsUserIntoTheSystem.d.ts.map +0 -1
  747. package/dist/commonjs/funcs/usersLogsUserIntoTheSystem.js.map +0 -1
  748. package/dist/commonjs/mcp-server/tools/usersLogsUserIntoTheSystem.d.ts +0 -8
  749. package/dist/commonjs/mcp-server/tools/usersLogsUserIntoTheSystem.d.ts.map +0 -1
  750. package/dist/commonjs/mcp-server/tools/usersLogsUserIntoTheSystem.js.map +0 -1
  751. package/dist/commonjs/models/operations/logsuserintothesystem.d.ts +0 -98
  752. package/dist/commonjs/models/operations/logsuserintothesystem.d.ts.map +0 -1
  753. package/dist/commonjs/models/operations/logsuserintothesystem.js.map +0 -1
  754. package/dist/commonjs/react-query/usersLogsUserIntoTheSystem.d.ts.map +0 -1
  755. package/dist/commonjs/react-query/usersLogsUserIntoTheSystem.js.map +0 -1
  756. package/dist/esm/funcs/usersLogsUserIntoTheSystem.d.ts.map +0 -1
  757. package/dist/esm/funcs/usersLogsUserIntoTheSystem.js.map +0 -1
  758. package/dist/esm/mcp-server/tools/usersLogsUserIntoTheSystem.d.ts +0 -8
  759. package/dist/esm/mcp-server/tools/usersLogsUserIntoTheSystem.d.ts.map +0 -1
  760. package/dist/esm/mcp-server/tools/usersLogsUserIntoTheSystem.js.map +0 -1
  761. package/dist/esm/models/operations/logsuserintothesystem.d.ts +0 -98
  762. package/dist/esm/models/operations/logsuserintothesystem.d.ts.map +0 -1
  763. package/dist/esm/models/operations/logsuserintothesystem.js +0 -122
  764. package/dist/esm/models/operations/logsuserintothesystem.js.map +0 -1
  765. package/dist/esm/react-query/usersLogsUserIntoTheSystem.d.ts.map +0 -1
  766. package/dist/esm/react-query/usersLogsUserIntoTheSystem.js.map +0 -1
@@ -7,12 +7,71 @@ import { remap as remap$ } from "../../lib/primitives.js";
7
7
  import { safeParse } from "../../lib/schemas.js";
8
8
  import { Result as SafeParseResult } from "../../types/fp.js";
9
9
  import { SDKValidationError } from "../errors/sdkvalidationerror.js";
10
+ import {
11
+ BackgroundCheckResult,
12
+ BackgroundCheckResult$inboundSchema,
13
+ BackgroundCheckResult$Outbound,
14
+ BackgroundCheckResult$outboundSchema,
15
+ } from "./backgroundcheckresult.js";
10
16
  import {
11
17
  Company,
12
18
  Company$inboundSchema,
13
19
  Company$Outbound,
14
20
  Company$outboundSchema,
15
21
  } from "./company.js";
22
+ import {
23
+ Credential,
24
+ Credential$inboundSchema,
25
+ Credential$Outbound,
26
+ Credential$outboundSchema,
27
+ } from "./credential.js";
28
+ import {
29
+ Invoice,
30
+ Invoice$inboundSchema,
31
+ Invoice$Outbound,
32
+ Invoice$outboundSchema,
33
+ } from "./invoice.js";
34
+ import {
35
+ Vendor,
36
+ Vendor$inboundSchema,
37
+ Vendor$Outbound,
38
+ Vendor$outboundSchema,
39
+ } from "./vendor.js";
40
+ import {
41
+ VendorCredentialDataRequest,
42
+ VendorCredentialDataRequest$inboundSchema,
43
+ VendorCredentialDataRequest$Outbound,
44
+ VendorCredentialDataRequest$outboundSchema,
45
+ } from "./vendorcredentialdatarequest.js";
46
+ import {
47
+ VendorCredentialFile,
48
+ VendorCredentialFile$inboundSchema,
49
+ VendorCredentialFile$Outbound,
50
+ VendorCredentialFile$outboundSchema,
51
+ } from "./vendorcredentialfile.js";
52
+
53
+ export type VendorCredentialSummaryCredential = Credential | number;
54
+
55
+ export type VendorCredentialSummaryVendor = Vendor | number;
56
+
57
+ export type VendorCredentialSummaryInvoice = Invoice | number;
58
+
59
+ export type UnsatisfiedDependencies = {
60
+ credentialId?: number | null | undefined;
61
+ dependsOnId?: number | null | undefined;
62
+ dependsOnName?: string | null | undefined;
63
+ requireApproved?: boolean | undefined;
64
+ vendorCredentialId?: number | null | undefined;
65
+ };
66
+
67
+ export type ExpeditedOffers = {
68
+ id?: number | undefined;
69
+ productId?: number | null | undefined;
70
+ price?: number | null | undefined;
71
+ option1?: string | null | undefined;
72
+ option2?: string | null | undefined;
73
+ option3?: string | null | undefined;
74
+ };
16
75
 
17
76
  /**
18
77
  * Reduced list of attributes of Vendor Credential record
@@ -28,8 +87,339 @@ export type VendorCredentialSummary = {
28
87
  dateExpires?: string | null | undefined;
29
88
  notes?: string | null | undefined;
30
89
  expedited?: boolean | undefined;
90
+ credential?: Credential | number | null | undefined;
91
+ vendor?: Vendor | number | null | undefined;
92
+ invoice?: Invoice | number | null | undefined;
93
+ vendorCredentialFiles?: Array<VendorCredentialFile | null> | undefined;
94
+ latestVendorCredentialId?: number | null | undefined;
95
+ previouslyApproved?: boolean | null | undefined;
96
+ unsatisfiedDependencies?: Array<UnsatisfiedDependencies> | null | undefined;
97
+ allowExpediting?: boolean | null | undefined;
98
+ unpaidExpeditedInvoiceId?: number | null | undefined;
99
+ expeditedOffers?: Array<ExpeditedOffers> | null | undefined;
100
+ /**
101
+ * Reduced list of attributes of Background Check Result record
102
+ */
103
+ backgroundCheckResults?: BackgroundCheckResult | null | undefined;
104
+ vendorCredentialDefaultStatus?: string | null | undefined;
105
+ vendorCredentialDataRequests?:
106
+ | Array<VendorCredentialDataRequest | null>
107
+ | null
108
+ | undefined;
109
+ credentialVariants?: Array<any> | null | undefined;
110
+ targetsChop?: boolean | null | undefined;
31
111
  };
32
112
 
113
+ /** @internal */
114
+ export const VendorCredentialSummaryCredential$inboundSchema: z.ZodType<
115
+ VendorCredentialSummaryCredential,
116
+ z.ZodTypeDef,
117
+ unknown
118
+ > = z.union([Credential$inboundSchema, z.number().int()]);
119
+
120
+ /** @internal */
121
+ export type VendorCredentialSummaryCredential$Outbound =
122
+ | Credential$Outbound
123
+ | number;
124
+
125
+ /** @internal */
126
+ export const VendorCredentialSummaryCredential$outboundSchema: z.ZodType<
127
+ VendorCredentialSummaryCredential$Outbound,
128
+ z.ZodTypeDef,
129
+ VendorCredentialSummaryCredential
130
+ > = z.union([Credential$outboundSchema, z.number().int()]);
131
+
132
+ /**
133
+ * @internal
134
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
135
+ */
136
+ export namespace VendorCredentialSummaryCredential$ {
137
+ /** @deprecated use `VendorCredentialSummaryCredential$inboundSchema` instead. */
138
+ export const inboundSchema = VendorCredentialSummaryCredential$inboundSchema;
139
+ /** @deprecated use `VendorCredentialSummaryCredential$outboundSchema` instead. */
140
+ export const outboundSchema =
141
+ VendorCredentialSummaryCredential$outboundSchema;
142
+ /** @deprecated use `VendorCredentialSummaryCredential$Outbound` instead. */
143
+ export type Outbound = VendorCredentialSummaryCredential$Outbound;
144
+ }
145
+
146
+ export function vendorCredentialSummaryCredentialToJSON(
147
+ vendorCredentialSummaryCredential: VendorCredentialSummaryCredential,
148
+ ): string {
149
+ return JSON.stringify(
150
+ VendorCredentialSummaryCredential$outboundSchema.parse(
151
+ vendorCredentialSummaryCredential,
152
+ ),
153
+ );
154
+ }
155
+
156
+ export function vendorCredentialSummaryCredentialFromJSON(
157
+ jsonString: string,
158
+ ): SafeParseResult<VendorCredentialSummaryCredential, SDKValidationError> {
159
+ return safeParse(
160
+ jsonString,
161
+ (x) => VendorCredentialSummaryCredential$inboundSchema.parse(JSON.parse(x)),
162
+ `Failed to parse 'VendorCredentialSummaryCredential' from JSON`,
163
+ );
164
+ }
165
+
166
+ /** @internal */
167
+ export const VendorCredentialSummaryVendor$inboundSchema: z.ZodType<
168
+ VendorCredentialSummaryVendor,
169
+ z.ZodTypeDef,
170
+ unknown
171
+ > = z.union([Vendor$inboundSchema, z.number().int()]);
172
+
173
+ /** @internal */
174
+ export type VendorCredentialSummaryVendor$Outbound = Vendor$Outbound | number;
175
+
176
+ /** @internal */
177
+ export const VendorCredentialSummaryVendor$outboundSchema: z.ZodType<
178
+ VendorCredentialSummaryVendor$Outbound,
179
+ z.ZodTypeDef,
180
+ VendorCredentialSummaryVendor
181
+ > = z.union([Vendor$outboundSchema, z.number().int()]);
182
+
183
+ /**
184
+ * @internal
185
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
186
+ */
187
+ export namespace VendorCredentialSummaryVendor$ {
188
+ /** @deprecated use `VendorCredentialSummaryVendor$inboundSchema` instead. */
189
+ export const inboundSchema = VendorCredentialSummaryVendor$inboundSchema;
190
+ /** @deprecated use `VendorCredentialSummaryVendor$outboundSchema` instead. */
191
+ export const outboundSchema = VendorCredentialSummaryVendor$outboundSchema;
192
+ /** @deprecated use `VendorCredentialSummaryVendor$Outbound` instead. */
193
+ export type Outbound = VendorCredentialSummaryVendor$Outbound;
194
+ }
195
+
196
+ export function vendorCredentialSummaryVendorToJSON(
197
+ vendorCredentialSummaryVendor: VendorCredentialSummaryVendor,
198
+ ): string {
199
+ return JSON.stringify(
200
+ VendorCredentialSummaryVendor$outboundSchema.parse(
201
+ vendorCredentialSummaryVendor,
202
+ ),
203
+ );
204
+ }
205
+
206
+ export function vendorCredentialSummaryVendorFromJSON(
207
+ jsonString: string,
208
+ ): SafeParseResult<VendorCredentialSummaryVendor, SDKValidationError> {
209
+ return safeParse(
210
+ jsonString,
211
+ (x) => VendorCredentialSummaryVendor$inboundSchema.parse(JSON.parse(x)),
212
+ `Failed to parse 'VendorCredentialSummaryVendor' from JSON`,
213
+ );
214
+ }
215
+
216
+ /** @internal */
217
+ export const VendorCredentialSummaryInvoice$inboundSchema: z.ZodType<
218
+ VendorCredentialSummaryInvoice,
219
+ z.ZodTypeDef,
220
+ unknown
221
+ > = z.union([Invoice$inboundSchema, z.number().int()]);
222
+
223
+ /** @internal */
224
+ export type VendorCredentialSummaryInvoice$Outbound = Invoice$Outbound | number;
225
+
226
+ /** @internal */
227
+ export const VendorCredentialSummaryInvoice$outboundSchema: z.ZodType<
228
+ VendorCredentialSummaryInvoice$Outbound,
229
+ z.ZodTypeDef,
230
+ VendorCredentialSummaryInvoice
231
+ > = z.union([Invoice$outboundSchema, z.number().int()]);
232
+
233
+ /**
234
+ * @internal
235
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
236
+ */
237
+ export namespace VendorCredentialSummaryInvoice$ {
238
+ /** @deprecated use `VendorCredentialSummaryInvoice$inboundSchema` instead. */
239
+ export const inboundSchema = VendorCredentialSummaryInvoice$inboundSchema;
240
+ /** @deprecated use `VendorCredentialSummaryInvoice$outboundSchema` instead. */
241
+ export const outboundSchema = VendorCredentialSummaryInvoice$outboundSchema;
242
+ /** @deprecated use `VendorCredentialSummaryInvoice$Outbound` instead. */
243
+ export type Outbound = VendorCredentialSummaryInvoice$Outbound;
244
+ }
245
+
246
+ export function vendorCredentialSummaryInvoiceToJSON(
247
+ vendorCredentialSummaryInvoice: VendorCredentialSummaryInvoice,
248
+ ): string {
249
+ return JSON.stringify(
250
+ VendorCredentialSummaryInvoice$outboundSchema.parse(
251
+ vendorCredentialSummaryInvoice,
252
+ ),
253
+ );
254
+ }
255
+
256
+ export function vendorCredentialSummaryInvoiceFromJSON(
257
+ jsonString: string,
258
+ ): SafeParseResult<VendorCredentialSummaryInvoice, SDKValidationError> {
259
+ return safeParse(
260
+ jsonString,
261
+ (x) => VendorCredentialSummaryInvoice$inboundSchema.parse(JSON.parse(x)),
262
+ `Failed to parse 'VendorCredentialSummaryInvoice' from JSON`,
263
+ );
264
+ }
265
+
266
+ /** @internal */
267
+ export const UnsatisfiedDependencies$inboundSchema: z.ZodType<
268
+ UnsatisfiedDependencies,
269
+ z.ZodTypeDef,
270
+ unknown
271
+ > = z.object({
272
+ credential_id: z.nullable(z.number().int()).optional(),
273
+ depends_on_id: z.nullable(z.number().int()).optional(),
274
+ depends_on_name: z.nullable(z.string()).optional(),
275
+ require_approved: z.boolean().optional(),
276
+ vendor_credential_id: z.nullable(z.number().int()).optional(),
277
+ }).transform((v) => {
278
+ return remap$(v, {
279
+ "credential_id": "credentialId",
280
+ "depends_on_id": "dependsOnId",
281
+ "depends_on_name": "dependsOnName",
282
+ "require_approved": "requireApproved",
283
+ "vendor_credential_id": "vendorCredentialId",
284
+ });
285
+ });
286
+
287
+ /** @internal */
288
+ export type UnsatisfiedDependencies$Outbound = {
289
+ credential_id?: number | null | undefined;
290
+ depends_on_id?: number | null | undefined;
291
+ depends_on_name?: string | null | undefined;
292
+ require_approved?: boolean | undefined;
293
+ vendor_credential_id?: number | null | undefined;
294
+ };
295
+
296
+ /** @internal */
297
+ export const UnsatisfiedDependencies$outboundSchema: z.ZodType<
298
+ UnsatisfiedDependencies$Outbound,
299
+ z.ZodTypeDef,
300
+ UnsatisfiedDependencies
301
+ > = z.object({
302
+ credentialId: z.nullable(z.number().int()).optional(),
303
+ dependsOnId: z.nullable(z.number().int()).optional(),
304
+ dependsOnName: z.nullable(z.string()).optional(),
305
+ requireApproved: z.boolean().optional(),
306
+ vendorCredentialId: z.nullable(z.number().int()).optional(),
307
+ }).transform((v) => {
308
+ return remap$(v, {
309
+ credentialId: "credential_id",
310
+ dependsOnId: "depends_on_id",
311
+ dependsOnName: "depends_on_name",
312
+ requireApproved: "require_approved",
313
+ vendorCredentialId: "vendor_credential_id",
314
+ });
315
+ });
316
+
317
+ /**
318
+ * @internal
319
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
320
+ */
321
+ export namespace UnsatisfiedDependencies$ {
322
+ /** @deprecated use `UnsatisfiedDependencies$inboundSchema` instead. */
323
+ export const inboundSchema = UnsatisfiedDependencies$inboundSchema;
324
+ /** @deprecated use `UnsatisfiedDependencies$outboundSchema` instead. */
325
+ export const outboundSchema = UnsatisfiedDependencies$outboundSchema;
326
+ /** @deprecated use `UnsatisfiedDependencies$Outbound` instead. */
327
+ export type Outbound = UnsatisfiedDependencies$Outbound;
328
+ }
329
+
330
+ export function unsatisfiedDependenciesToJSON(
331
+ unsatisfiedDependencies: UnsatisfiedDependencies,
332
+ ): string {
333
+ return JSON.stringify(
334
+ UnsatisfiedDependencies$outboundSchema.parse(unsatisfiedDependencies),
335
+ );
336
+ }
337
+
338
+ export function unsatisfiedDependenciesFromJSON(
339
+ jsonString: string,
340
+ ): SafeParseResult<UnsatisfiedDependencies, SDKValidationError> {
341
+ return safeParse(
342
+ jsonString,
343
+ (x) => UnsatisfiedDependencies$inboundSchema.parse(JSON.parse(x)),
344
+ `Failed to parse 'UnsatisfiedDependencies' from JSON`,
345
+ );
346
+ }
347
+
348
+ /** @internal */
349
+ export const ExpeditedOffers$inboundSchema: z.ZodType<
350
+ ExpeditedOffers,
351
+ z.ZodTypeDef,
352
+ unknown
353
+ > = z.object({
354
+ id: z.number().int().optional(),
355
+ product_id: z.nullable(z.number().int()).optional(),
356
+ price: z.nullable(z.number()).optional(),
357
+ option1: z.nullable(z.string()).optional(),
358
+ option2: z.nullable(z.string()).optional(),
359
+ option3: z.nullable(z.string()).optional(),
360
+ }).transform((v) => {
361
+ return remap$(v, {
362
+ "product_id": "productId",
363
+ });
364
+ });
365
+
366
+ /** @internal */
367
+ export type ExpeditedOffers$Outbound = {
368
+ id?: number | undefined;
369
+ product_id?: number | null | undefined;
370
+ price?: number | null | undefined;
371
+ option1?: string | null | undefined;
372
+ option2?: string | null | undefined;
373
+ option3?: string | null | undefined;
374
+ };
375
+
376
+ /** @internal */
377
+ export const ExpeditedOffers$outboundSchema: z.ZodType<
378
+ ExpeditedOffers$Outbound,
379
+ z.ZodTypeDef,
380
+ ExpeditedOffers
381
+ > = z.object({
382
+ id: z.number().int().optional(),
383
+ productId: z.nullable(z.number().int()).optional(),
384
+ price: z.nullable(z.number()).optional(),
385
+ option1: z.nullable(z.string()).optional(),
386
+ option2: z.nullable(z.string()).optional(),
387
+ option3: z.nullable(z.string()).optional(),
388
+ }).transform((v) => {
389
+ return remap$(v, {
390
+ productId: "product_id",
391
+ });
392
+ });
393
+
394
+ /**
395
+ * @internal
396
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
397
+ */
398
+ export namespace ExpeditedOffers$ {
399
+ /** @deprecated use `ExpeditedOffers$inboundSchema` instead. */
400
+ export const inboundSchema = ExpeditedOffers$inboundSchema;
401
+ /** @deprecated use `ExpeditedOffers$outboundSchema` instead. */
402
+ export const outboundSchema = ExpeditedOffers$outboundSchema;
403
+ /** @deprecated use `ExpeditedOffers$Outbound` instead. */
404
+ export type Outbound = ExpeditedOffers$Outbound;
405
+ }
406
+
407
+ export function expeditedOffersToJSON(
408
+ expeditedOffers: ExpeditedOffers,
409
+ ): string {
410
+ return JSON.stringify(ExpeditedOffers$outboundSchema.parse(expeditedOffers));
411
+ }
412
+
413
+ export function expeditedOffersFromJSON(
414
+ jsonString: string,
415
+ ): SafeParseResult<ExpeditedOffers, SDKValidationError> {
416
+ return safeParse(
417
+ jsonString,
418
+ (x) => ExpeditedOffers$inboundSchema.parse(JSON.parse(x)),
419
+ `Failed to parse 'ExpeditedOffers' from JSON`,
420
+ );
421
+ }
422
+
33
423
  /** @internal */
34
424
  export const VendorCredentialSummary$inboundSchema: z.ZodType<
35
425
  VendorCredentialSummary,
@@ -43,10 +433,51 @@ export const VendorCredentialSummary$inboundSchema: z.ZodType<
43
433
  date_expires: z.nullable(z.string()).optional(),
44
434
  notes: z.nullable(z.string()).optional(),
45
435
  expedited: z.boolean().optional(),
436
+ credential: z.nullable(z.union([Credential$inboundSchema, z.number().int()]))
437
+ .optional(),
438
+ vendor: z.nullable(z.union([Vendor$inboundSchema, z.number().int()]))
439
+ .optional(),
440
+ invoice: z.nullable(z.union([Invoice$inboundSchema, z.number().int()]))
441
+ .optional(),
442
+ vendor_credential_files: z.array(
443
+ z.nullable(z.lazy(() => VendorCredentialFile$inboundSchema)),
444
+ ).optional(),
445
+ latest_vendor_credential_id: z.nullable(z.number().int()).optional(),
446
+ previously_approved: z.nullable(z.boolean()).optional(),
447
+ unsatisfied_dependencies: z.nullable(
448
+ z.array(z.lazy(() => UnsatisfiedDependencies$inboundSchema)),
449
+ ).optional(),
450
+ allow_expediting: z.nullable(z.boolean()).optional(),
451
+ unpaid_expedited_invoice_id: z.nullable(z.number().int()).optional(),
452
+ expedited_offers: z.nullable(
453
+ z.array(z.lazy(() => ExpeditedOffers$inboundSchema)),
454
+ ).optional(),
455
+ background_check_results: z.nullable(BackgroundCheckResult$inboundSchema)
456
+ .optional(),
457
+ vendor_credential_default_status: z.nullable(z.string()).optional(),
458
+ vendor_credential_data_requests: z.nullable(
459
+ z.array(
460
+ z.nullable(z.lazy(() => VendorCredentialDataRequest$inboundSchema)),
461
+ ),
462
+ ).optional(),
463
+ credential_variants: z.nullable(z.array(z.any())).optional(),
464
+ targets_chop: z.nullable(z.boolean()).optional(),
46
465
  }).transform((v) => {
47
466
  return remap$(v, {
48
467
  "date_due": "dateDue",
49
468
  "date_expires": "dateExpires",
469
+ "vendor_credential_files": "vendorCredentialFiles",
470
+ "latest_vendor_credential_id": "latestVendorCredentialId",
471
+ "previously_approved": "previouslyApproved",
472
+ "unsatisfied_dependencies": "unsatisfiedDependencies",
473
+ "allow_expediting": "allowExpediting",
474
+ "unpaid_expedited_invoice_id": "unpaidExpeditedInvoiceId",
475
+ "expedited_offers": "expeditedOffers",
476
+ "background_check_results": "backgroundCheckResults",
477
+ "vendor_credential_default_status": "vendorCredentialDefaultStatus",
478
+ "vendor_credential_data_requests": "vendorCredentialDataRequests",
479
+ "credential_variants": "credentialVariants",
480
+ "targets_chop": "targetsChop",
50
481
  });
51
482
  });
52
483
 
@@ -59,6 +490,29 @@ export type VendorCredentialSummary$Outbound = {
59
490
  date_expires?: string | null | undefined;
60
491
  notes?: string | null | undefined;
61
492
  expedited?: boolean | undefined;
493
+ credential?: Credential$Outbound | number | null | undefined;
494
+ vendor?: Vendor$Outbound | number | null | undefined;
495
+ invoice?: Invoice$Outbound | number | null | undefined;
496
+ vendor_credential_files?:
497
+ | Array<VendorCredentialFile$Outbound | null>
498
+ | undefined;
499
+ latest_vendor_credential_id?: number | null | undefined;
500
+ previously_approved?: boolean | null | undefined;
501
+ unsatisfied_dependencies?:
502
+ | Array<UnsatisfiedDependencies$Outbound>
503
+ | null
504
+ | undefined;
505
+ allow_expediting?: boolean | null | undefined;
506
+ unpaid_expedited_invoice_id?: number | null | undefined;
507
+ expedited_offers?: Array<ExpeditedOffers$Outbound> | null | undefined;
508
+ background_check_results?: BackgroundCheckResult$Outbound | null | undefined;
509
+ vendor_credential_default_status?: string | null | undefined;
510
+ vendor_credential_data_requests?:
511
+ | Array<VendorCredentialDataRequest$Outbound | null>
512
+ | null
513
+ | undefined;
514
+ credential_variants?: Array<any> | null | undefined;
515
+ targets_chop?: boolean | null | undefined;
62
516
  };
63
517
 
64
518
  /** @internal */
@@ -74,10 +528,51 @@ export const VendorCredentialSummary$outboundSchema: z.ZodType<
74
528
  dateExpires: z.nullable(z.string()).optional(),
75
529
  notes: z.nullable(z.string()).optional(),
76
530
  expedited: z.boolean().optional(),
531
+ credential: z.nullable(z.union([Credential$outboundSchema, z.number().int()]))
532
+ .optional(),
533
+ vendor: z.nullable(z.union([Vendor$outboundSchema, z.number().int()]))
534
+ .optional(),
535
+ invoice: z.nullable(z.union([Invoice$outboundSchema, z.number().int()]))
536
+ .optional(),
537
+ vendorCredentialFiles: z.array(
538
+ z.nullable(z.lazy(() => VendorCredentialFile$outboundSchema)),
539
+ ).optional(),
540
+ latestVendorCredentialId: z.nullable(z.number().int()).optional(),
541
+ previouslyApproved: z.nullable(z.boolean()).optional(),
542
+ unsatisfiedDependencies: z.nullable(
543
+ z.array(z.lazy(() => UnsatisfiedDependencies$outboundSchema)),
544
+ ).optional(),
545
+ allowExpediting: z.nullable(z.boolean()).optional(),
546
+ unpaidExpeditedInvoiceId: z.nullable(z.number().int()).optional(),
547
+ expeditedOffers: z.nullable(
548
+ z.array(z.lazy(() => ExpeditedOffers$outboundSchema)),
549
+ ).optional(),
550
+ backgroundCheckResults: z.nullable(BackgroundCheckResult$outboundSchema)
551
+ .optional(),
552
+ vendorCredentialDefaultStatus: z.nullable(z.string()).optional(),
553
+ vendorCredentialDataRequests: z.nullable(
554
+ z.array(
555
+ z.nullable(z.lazy(() => VendorCredentialDataRequest$outboundSchema)),
556
+ ),
557
+ ).optional(),
558
+ credentialVariants: z.nullable(z.array(z.any())).optional(),
559
+ targetsChop: z.nullable(z.boolean()).optional(),
77
560
  }).transform((v) => {
78
561
  return remap$(v, {
79
562
  dateDue: "date_due",
80
563
  dateExpires: "date_expires",
564
+ vendorCredentialFiles: "vendor_credential_files",
565
+ latestVendorCredentialId: "latest_vendor_credential_id",
566
+ previouslyApproved: "previously_approved",
567
+ unsatisfiedDependencies: "unsatisfied_dependencies",
568
+ allowExpediting: "allow_expediting",
569
+ unpaidExpeditedInvoiceId: "unpaid_expedited_invoice_id",
570
+ expeditedOffers: "expedited_offers",
571
+ backgroundCheckResults: "background_check_results",
572
+ vendorCredentialDefaultStatus: "vendor_credential_default_status",
573
+ vendorCredentialDataRequests: "vendor_credential_data_requests",
574
+ credentialVariants: "credential_variants",
575
+ targetsChop: "targets_chop",
81
576
  });
82
577
  });
83
578