@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
@@ -0,0 +1,274 @@
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 { ClosedEnum } from "../../types/enums.js";
9
+ import { Result as SafeParseResult } from "../../types/fp.js";
10
+ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
11
+
12
+ export const DataType = {
13
+ File: "File",
14
+ Url: "URL",
15
+ ShortText: "Short Text",
16
+ LongText: "Long Text",
17
+ Date: "Date",
18
+ } as const;
19
+ export type DataType = ClosedEnum<typeof DataType>;
20
+
21
+ export type Url = {
22
+ value?: string | null | undefined;
23
+ func?: string | null | undefined;
24
+ expires?: string | null | undefined;
25
+ daysValid?: number | null | undefined;
26
+ };
27
+
28
+ export type DataRequestFile = {
29
+ fileName?: string | null | undefined;
30
+ contentType?: string | null | undefined;
31
+ fileSize?: number | null | undefined;
32
+ updatedAt?: string | null | undefined;
33
+ url?: string | null | undefined;
34
+ };
35
+
36
+ export type DataRequest = {
37
+ id?: number | undefined;
38
+ dataType?: DataType | undefined;
39
+ name?: string | null | undefined;
40
+ description?: string | null | undefined;
41
+ url?: Url | null | undefined;
42
+ file?: DataRequestFile | null | undefined;
43
+ };
44
+
45
+ /** @internal */
46
+ export const DataType$inboundSchema: z.ZodNativeEnum<typeof DataType> = z
47
+ .nativeEnum(DataType);
48
+
49
+ /** @internal */
50
+ export const DataType$outboundSchema: z.ZodNativeEnum<typeof DataType> =
51
+ DataType$inboundSchema;
52
+
53
+ /**
54
+ * @internal
55
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
56
+ */
57
+ export namespace DataType$ {
58
+ /** @deprecated use `DataType$inboundSchema` instead. */
59
+ export const inboundSchema = DataType$inboundSchema;
60
+ /** @deprecated use `DataType$outboundSchema` instead. */
61
+ export const outboundSchema = DataType$outboundSchema;
62
+ }
63
+
64
+ /** @internal */
65
+ export const Url$inboundSchema: z.ZodType<Url, z.ZodTypeDef, unknown> = z
66
+ .object({
67
+ value: z.nullable(z.string()).optional(),
68
+ func: z.nullable(z.string()).optional(),
69
+ expires: z.nullable(z.string()).optional(),
70
+ days_valid: z.nullable(z.number().int()).optional(),
71
+ }).transform((v) => {
72
+ return remap$(v, {
73
+ "days_valid": "daysValid",
74
+ });
75
+ });
76
+
77
+ /** @internal */
78
+ export type Url$Outbound = {
79
+ value?: string | null | undefined;
80
+ func?: string | null | undefined;
81
+ expires?: string | null | undefined;
82
+ days_valid?: number | null | undefined;
83
+ };
84
+
85
+ /** @internal */
86
+ export const Url$outboundSchema: z.ZodType<Url$Outbound, z.ZodTypeDef, Url> = z
87
+ .object({
88
+ value: z.nullable(z.string()).optional(),
89
+ func: z.nullable(z.string()).optional(),
90
+ expires: z.nullable(z.string()).optional(),
91
+ daysValid: z.nullable(z.number().int()).optional(),
92
+ }).transform((v) => {
93
+ return remap$(v, {
94
+ daysValid: "days_valid",
95
+ });
96
+ });
97
+
98
+ /**
99
+ * @internal
100
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
101
+ */
102
+ export namespace Url$ {
103
+ /** @deprecated use `Url$inboundSchema` instead. */
104
+ export const inboundSchema = Url$inboundSchema;
105
+ /** @deprecated use `Url$outboundSchema` instead. */
106
+ export const outboundSchema = Url$outboundSchema;
107
+ /** @deprecated use `Url$Outbound` instead. */
108
+ export type Outbound = Url$Outbound;
109
+ }
110
+
111
+ export function urlToJSON(url: Url): string {
112
+ return JSON.stringify(Url$outboundSchema.parse(url));
113
+ }
114
+
115
+ export function urlFromJSON(
116
+ jsonString: string,
117
+ ): SafeParseResult<Url, SDKValidationError> {
118
+ return safeParse(
119
+ jsonString,
120
+ (x) => Url$inboundSchema.parse(JSON.parse(x)),
121
+ `Failed to parse 'Url' from JSON`,
122
+ );
123
+ }
124
+
125
+ /** @internal */
126
+ export const DataRequestFile$inboundSchema: z.ZodType<
127
+ DataRequestFile,
128
+ z.ZodTypeDef,
129
+ unknown
130
+ > = z.object({
131
+ file_name: z.nullable(z.string()).optional(),
132
+ content_type: z.nullable(z.string()).optional(),
133
+ file_size: z.nullable(z.number().int()).optional(),
134
+ updated_at: z.nullable(z.string()).optional(),
135
+ url: z.nullable(z.string()).optional(),
136
+ }).transform((v) => {
137
+ return remap$(v, {
138
+ "file_name": "fileName",
139
+ "content_type": "contentType",
140
+ "file_size": "fileSize",
141
+ "updated_at": "updatedAt",
142
+ });
143
+ });
144
+
145
+ /** @internal */
146
+ export type DataRequestFile$Outbound = {
147
+ file_name?: string | null | undefined;
148
+ content_type?: string | null | undefined;
149
+ file_size?: number | null | undefined;
150
+ updated_at?: string | null | undefined;
151
+ url?: string | null | undefined;
152
+ };
153
+
154
+ /** @internal */
155
+ export const DataRequestFile$outboundSchema: z.ZodType<
156
+ DataRequestFile$Outbound,
157
+ z.ZodTypeDef,
158
+ DataRequestFile
159
+ > = z.object({
160
+ fileName: z.nullable(z.string()).optional(),
161
+ contentType: z.nullable(z.string()).optional(),
162
+ fileSize: z.nullable(z.number().int()).optional(),
163
+ updatedAt: z.nullable(z.string()).optional(),
164
+ url: z.nullable(z.string()).optional(),
165
+ }).transform((v) => {
166
+ return remap$(v, {
167
+ fileName: "file_name",
168
+ contentType: "content_type",
169
+ fileSize: "file_size",
170
+ updatedAt: "updated_at",
171
+ });
172
+ });
173
+
174
+ /**
175
+ * @internal
176
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
177
+ */
178
+ export namespace DataRequestFile$ {
179
+ /** @deprecated use `DataRequestFile$inboundSchema` instead. */
180
+ export const inboundSchema = DataRequestFile$inboundSchema;
181
+ /** @deprecated use `DataRequestFile$outboundSchema` instead. */
182
+ export const outboundSchema = DataRequestFile$outboundSchema;
183
+ /** @deprecated use `DataRequestFile$Outbound` instead. */
184
+ export type Outbound = DataRequestFile$Outbound;
185
+ }
186
+
187
+ export function dataRequestFileToJSON(
188
+ dataRequestFile: DataRequestFile,
189
+ ): string {
190
+ return JSON.stringify(DataRequestFile$outboundSchema.parse(dataRequestFile));
191
+ }
192
+
193
+ export function dataRequestFileFromJSON(
194
+ jsonString: string,
195
+ ): SafeParseResult<DataRequestFile, SDKValidationError> {
196
+ return safeParse(
197
+ jsonString,
198
+ (x) => DataRequestFile$inboundSchema.parse(JSON.parse(x)),
199
+ `Failed to parse 'DataRequestFile' from JSON`,
200
+ );
201
+ }
202
+
203
+ /** @internal */
204
+ export const DataRequest$inboundSchema: z.ZodType<
205
+ DataRequest,
206
+ z.ZodTypeDef,
207
+ unknown
208
+ > = z.object({
209
+ id: z.number().int().optional(),
210
+ data_type: DataType$inboundSchema.optional(),
211
+ name: z.nullable(z.string()).optional(),
212
+ description: z.nullable(z.string()).optional(),
213
+ url: z.nullable(z.lazy(() => Url$inboundSchema)).optional(),
214
+ file: z.nullable(z.lazy(() => DataRequestFile$inboundSchema)).optional(),
215
+ }).transform((v) => {
216
+ return remap$(v, {
217
+ "data_type": "dataType",
218
+ });
219
+ });
220
+
221
+ /** @internal */
222
+ export type DataRequest$Outbound = {
223
+ id?: number | undefined;
224
+ data_type?: string | undefined;
225
+ name?: string | null | undefined;
226
+ description?: string | null | undefined;
227
+ url?: Url$Outbound | null | undefined;
228
+ file?: DataRequestFile$Outbound | null | undefined;
229
+ };
230
+
231
+ /** @internal */
232
+ export const DataRequest$outboundSchema: z.ZodType<
233
+ DataRequest$Outbound,
234
+ z.ZodTypeDef,
235
+ DataRequest
236
+ > = z.object({
237
+ id: z.number().int().optional(),
238
+ dataType: DataType$outboundSchema.optional(),
239
+ name: z.nullable(z.string()).optional(),
240
+ description: z.nullable(z.string()).optional(),
241
+ url: z.nullable(z.lazy(() => Url$outboundSchema)).optional(),
242
+ file: z.nullable(z.lazy(() => DataRequestFile$outboundSchema)).optional(),
243
+ }).transform((v) => {
244
+ return remap$(v, {
245
+ dataType: "data_type",
246
+ });
247
+ });
248
+
249
+ /**
250
+ * @internal
251
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
252
+ */
253
+ export namespace DataRequest$ {
254
+ /** @deprecated use `DataRequest$inboundSchema` instead. */
255
+ export const inboundSchema = DataRequest$inboundSchema;
256
+ /** @deprecated use `DataRequest$outboundSchema` instead. */
257
+ export const outboundSchema = DataRequest$outboundSchema;
258
+ /** @deprecated use `DataRequest$Outbound` instead. */
259
+ export type Outbound = DataRequest$Outbound;
260
+ }
261
+
262
+ export function dataRequestToJSON(dataRequest: DataRequest): string {
263
+ return JSON.stringify(DataRequest$outboundSchema.parse(dataRequest));
264
+ }
265
+
266
+ export function dataRequestFromJSON(
267
+ jsonString: string,
268
+ ): SafeParseResult<DataRequest, SDKValidationError> {
269
+ return safeParse(
270
+ jsonString,
271
+ (x) => DataRequest$inboundSchema.parse(JSON.parse(x)),
272
+ `Failed to parse 'DataRequest' from JSON`,
273
+ );
274
+ }
@@ -40,6 +40,28 @@ export const Expand = {
40
40
  SupportArticleSupportCategory: "support_article.support_category",
41
41
  InvoiceLineItems: "invoice.line_items",
42
42
  InvoiceInvoiceTransactions: "invoice.invoice_transactions",
43
+ VendorCredentialCredential: "vendor_credential.credential",
44
+ VendorCredentialVendor: "vendor_credential.vendor",
45
+ VendorCredentialInvoice: "vendor_credential.invoice",
46
+ VendorCredentialVendorCredentialFiles:
47
+ "vendor_credential.vendor_credential_files",
48
+ VendorCredentialLatestVendorCredentialId:
49
+ "vendor_credential.latest_vendor_credential_id",
50
+ VendorCredentialPreviouslyApproved: "vendor_credential.previously_approved",
51
+ VendorCredentialUnsatisfiedDependencies:
52
+ "vendor_credential.unsatisfied_dependencies",
53
+ VendorCredentialAllowExpediting: "vendor_credential.allow_expediting",
54
+ VendorCredentialUnpaidExpeditedInvoiceId:
55
+ "vendor_credential.unpaid_expedited_invoice_id",
56
+ VendorCredentialExpeditedOffers: "vendor_credential.expedited_offers",
57
+ VendorCredentialBackgroundCheckResults:
58
+ "vendor_credential.background_check_results",
59
+ VendorCredentialVendorCredentialDefaultStatus:
60
+ "vendor_credential.vendor_credential_default_status",
61
+ VendorCredentialVendorCredentialDataRequests:
62
+ "vendor_credential.vendor_credential_data_requests",
63
+ VendorCredentialCredentialVariants: "vendor_credential.credential_variants",
64
+ VendorCredentialTargetsChop: "vendor_credential.targets_chop",
43
65
  } as const;
44
66
  /**
45
67
  * An expansion scope that is valid for the object being requested.
@@ -48,23 +48,23 @@ export type Contacts = {
48
48
  /**
49
49
  * This object represents a contact at the system or facility level. Use it to verify vendors, create appointments, or check in visitors.
50
50
  */
51
- contact?: Contact | undefined;
51
+ contact?: Contact | null | undefined;
52
52
  /**
53
53
  * This object represents a contact at the system or facility level. Use it to verify vendors, create appointments, or check in visitors.
54
54
  */
55
- adminContact?: Contact | undefined;
55
+ adminContact?: Contact | null | undefined;
56
56
  /**
57
57
  * This object represents a contact at the system or facility level. Use it to verify vendors, create appointments, or check in visitors.
58
58
  */
59
- techContact?: Contact | undefined;
59
+ techContact?: Contact | null | undefined;
60
60
  /**
61
61
  * This object represents a contact at the system or facility level. Use it to verify vendors, create appointments, or check in visitors.
62
62
  */
63
- greenSecurityCsm?: Contact | undefined;
63
+ greenSecurityCsm?: Contact | null | undefined;
64
64
  /**
65
65
  * This object represents a contact at the system or facility level. Use it to verify vendors, create appointments, or check in visitors.
66
66
  */
67
- accountManager?: Contact | undefined;
67
+ accountManager?: Contact | null | undefined;
68
68
  };
69
69
 
70
70
  export type VendorCounts = {
@@ -282,11 +282,11 @@ export const Contacts$inboundSchema: z.ZodType<
282
282
  z.ZodTypeDef,
283
283
  unknown
284
284
  > = z.object({
285
- contact: Contact$inboundSchema.optional(),
286
- admin_contact: Contact$inboundSchema.optional(),
287
- tech_contact: Contact$inboundSchema.optional(),
288
- green_security_csm: Contact$inboundSchema.optional(),
289
- account_manager: Contact$inboundSchema.optional(),
285
+ contact: z.nullable(Contact$inboundSchema).optional(),
286
+ admin_contact: z.nullable(Contact$inboundSchema).optional(),
287
+ tech_contact: z.nullable(Contact$inboundSchema).optional(),
288
+ green_security_csm: z.nullable(Contact$inboundSchema).optional(),
289
+ account_manager: z.nullable(Contact$inboundSchema).optional(),
290
290
  }).transform((v) => {
291
291
  return remap$(v, {
292
292
  "admin_contact": "adminContact",
@@ -298,11 +298,11 @@ export const Contacts$inboundSchema: z.ZodType<
298
298
 
299
299
  /** @internal */
300
300
  export type Contacts$Outbound = {
301
- contact?: Contact$Outbound | undefined;
302
- admin_contact?: Contact$Outbound | undefined;
303
- tech_contact?: Contact$Outbound | undefined;
304
- green_security_csm?: Contact$Outbound | undefined;
305
- account_manager?: Contact$Outbound | undefined;
301
+ contact?: Contact$Outbound | null | undefined;
302
+ admin_contact?: Contact$Outbound | null | undefined;
303
+ tech_contact?: Contact$Outbound | null | undefined;
304
+ green_security_csm?: Contact$Outbound | null | undefined;
305
+ account_manager?: Contact$Outbound | null | undefined;
306
306
  };
307
307
 
308
308
  /** @internal */
@@ -311,11 +311,11 @@ export const Contacts$outboundSchema: z.ZodType<
311
311
  z.ZodTypeDef,
312
312
  Contacts
313
313
  > = z.object({
314
- contact: Contact$outboundSchema.optional(),
315
- adminContact: Contact$outboundSchema.optional(),
316
- techContact: Contact$outboundSchema.optional(),
317
- greenSecurityCsm: Contact$outboundSchema.optional(),
318
- accountManager: Contact$outboundSchema.optional(),
314
+ contact: z.nullable(Contact$outboundSchema).optional(),
315
+ adminContact: z.nullable(Contact$outboundSchema).optional(),
316
+ techContact: z.nullable(Contact$outboundSchema).optional(),
317
+ greenSecurityCsm: z.nullable(Contact$outboundSchema).optional(),
318
+ accountManager: z.nullable(Contact$outboundSchema).optional(),
319
319
  }).transform((v) => {
320
320
  return remap$(v, {
321
321
  adminContact: "admin_contact",
@@ -3,10 +3,14 @@
3
3
  */
4
4
 
5
5
  export * from "./activestatus.js";
6
+ export * from "./backgroundcheckresult.js";
6
7
  export * from "./company.js";
7
8
  export * from "./contact.js";
9
+ export * from "./credential.js";
10
+ export * from "./credentialdocument.js";
8
11
  export * from "./credentialstatus.js";
9
12
  export * from "./credit.js";
13
+ export * from "./datarequest.js";
10
14
  export * from "./department.js";
11
15
  export * from "./departmentsummary.js";
12
16
  export * from "./desc.js";
@@ -26,6 +30,7 @@ export * from "./passwordrequiredresponse.js";
26
30
  export * from "./productvariant.js";
27
31
  export * from "./samlloginrequiredresponse.js";
28
32
  export * from "./scantype.js";
33
+ export * from "./screeningresponse.js";
29
34
  export * from "./security.js";
30
35
  export * from "./state.js";
31
36
  export * from "./subscription.js";
@@ -36,12 +41,15 @@ export * from "./user.js";
36
41
  export * from "./userlocation.js";
37
42
  export * from "./vendor.js";
38
43
  export * from "./vendoradditionalfacilityfields.js";
44
+ export * from "./vendorcredentialdatarequest.js";
45
+ export * from "./vendorcredentialfile.js";
39
46
  export * from "./vendorcredentialscontainer.js";
40
47
  export * from "./vendorcredentialsummary.js";
41
48
  export * from "./vendorfacilitystatusview.js";
42
49
  export * from "./vendorjobtitle.js";
43
50
  export * from "./vendormanagedbycompany.js";
44
51
  export * from "./vendorrequiredcredential.js";
52
+ export * from "./vendorscan.js";
45
53
  export * from "./vendorscrubdetails.js";
46
54
  export * from "./vendorscrubpurchase.js";
47
55
  export * from "./vendortype.js";
@@ -0,0 +1,136 @@
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 { SDKValidationError } from "../errors/sdkvalidationerror.js";
10
+
11
+ /**
12
+ * Reduced list of attributes of ScreeningResponse record
13
+ */
14
+ export type ScreeningResponse = {
15
+ id?: number | undefined;
16
+ vendorId?: number | null | undefined;
17
+ vendorScanId?: number | null | undefined;
18
+ screeningQuestionId?: number | null | undefined;
19
+ screeningAnswerId?: number | null | undefined;
20
+ dateAnswered?: string | null | undefined;
21
+ customAnswer?: string | null | undefined;
22
+ multipleVendorAnswerIds?: string | null | undefined;
23
+ visitorCheckinId?: number | null | undefined;
24
+ contactId?: number | null | undefined;
25
+ visitRequestId?: number | null | undefined;
26
+ };
27
+
28
+ /** @internal */
29
+ export const ScreeningResponse$inboundSchema: z.ZodType<
30
+ ScreeningResponse,
31
+ z.ZodTypeDef,
32
+ unknown
33
+ > = z.object({
34
+ id: z.number().int().optional(),
35
+ vendor_id: z.nullable(z.number().int()).optional(),
36
+ vendor_scan_id: z.nullable(z.number().int()).optional(),
37
+ screening_question_id: z.nullable(z.number().int()).optional(),
38
+ screening_answer_id: z.nullable(z.number().int()).optional(),
39
+ date_answered: z.nullable(z.string()).optional(),
40
+ custom_answer: z.nullable(z.string()).optional(),
41
+ multiple_vendor_answer_ids: z.nullable(z.string()).optional(),
42
+ visitor_checkin_id: z.nullable(z.number().int()).optional(),
43
+ contact_id: z.nullable(z.number().int()).optional(),
44
+ visit_request_id: z.nullable(z.number().int()).optional(),
45
+ }).transform((v) => {
46
+ return remap$(v, {
47
+ "vendor_id": "vendorId",
48
+ "vendor_scan_id": "vendorScanId",
49
+ "screening_question_id": "screeningQuestionId",
50
+ "screening_answer_id": "screeningAnswerId",
51
+ "date_answered": "dateAnswered",
52
+ "custom_answer": "customAnswer",
53
+ "multiple_vendor_answer_ids": "multipleVendorAnswerIds",
54
+ "visitor_checkin_id": "visitorCheckinId",
55
+ "contact_id": "contactId",
56
+ "visit_request_id": "visitRequestId",
57
+ });
58
+ });
59
+
60
+ /** @internal */
61
+ export type ScreeningResponse$Outbound = {
62
+ id?: number | undefined;
63
+ vendor_id?: number | null | undefined;
64
+ vendor_scan_id?: number | null | undefined;
65
+ screening_question_id?: number | null | undefined;
66
+ screening_answer_id?: number | null | undefined;
67
+ date_answered?: string | null | undefined;
68
+ custom_answer?: string | null | undefined;
69
+ multiple_vendor_answer_ids?: string | null | undefined;
70
+ visitor_checkin_id?: number | null | undefined;
71
+ contact_id?: number | null | undefined;
72
+ visit_request_id?: number | null | undefined;
73
+ };
74
+
75
+ /** @internal */
76
+ export const ScreeningResponse$outboundSchema: z.ZodType<
77
+ ScreeningResponse$Outbound,
78
+ z.ZodTypeDef,
79
+ ScreeningResponse
80
+ > = z.object({
81
+ id: z.number().int().optional(),
82
+ vendorId: z.nullable(z.number().int()).optional(),
83
+ vendorScanId: z.nullable(z.number().int()).optional(),
84
+ screeningQuestionId: z.nullable(z.number().int()).optional(),
85
+ screeningAnswerId: z.nullable(z.number().int()).optional(),
86
+ dateAnswered: z.nullable(z.string()).optional(),
87
+ customAnswer: z.nullable(z.string()).optional(),
88
+ multipleVendorAnswerIds: z.nullable(z.string()).optional(),
89
+ visitorCheckinId: z.nullable(z.number().int()).optional(),
90
+ contactId: z.nullable(z.number().int()).optional(),
91
+ visitRequestId: z.nullable(z.number().int()).optional(),
92
+ }).transform((v) => {
93
+ return remap$(v, {
94
+ vendorId: "vendor_id",
95
+ vendorScanId: "vendor_scan_id",
96
+ screeningQuestionId: "screening_question_id",
97
+ screeningAnswerId: "screening_answer_id",
98
+ dateAnswered: "date_answered",
99
+ customAnswer: "custom_answer",
100
+ multipleVendorAnswerIds: "multiple_vendor_answer_ids",
101
+ visitorCheckinId: "visitor_checkin_id",
102
+ contactId: "contact_id",
103
+ visitRequestId: "visit_request_id",
104
+ });
105
+ });
106
+
107
+ /**
108
+ * @internal
109
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
110
+ */
111
+ export namespace ScreeningResponse$ {
112
+ /** @deprecated use `ScreeningResponse$inboundSchema` instead. */
113
+ export const inboundSchema = ScreeningResponse$inboundSchema;
114
+ /** @deprecated use `ScreeningResponse$outboundSchema` instead. */
115
+ export const outboundSchema = ScreeningResponse$outboundSchema;
116
+ /** @deprecated use `ScreeningResponse$Outbound` instead. */
117
+ export type Outbound = ScreeningResponse$Outbound;
118
+ }
119
+
120
+ export function screeningResponseToJSON(
121
+ screeningResponse: ScreeningResponse,
122
+ ): string {
123
+ return JSON.stringify(
124
+ ScreeningResponse$outboundSchema.parse(screeningResponse),
125
+ );
126
+ }
127
+
128
+ export function screeningResponseFromJSON(
129
+ jsonString: string,
130
+ ): SafeParseResult<ScreeningResponse, SDKValidationError> {
131
+ return safeParse(
132
+ jsonString,
133
+ (x) => ScreeningResponse$inboundSchema.parse(JSON.parse(x)),
134
+ `Failed to parse 'ScreeningResponse' from JSON`,
135
+ );
136
+ }
@@ -140,7 +140,7 @@ export type User = {
140
140
  /**
141
141
  * This object represents a contact at the system or facility level. Use it to verify vendors, create appointments, or check in visitors.
142
142
  */
143
- contact?: Contact | undefined;
143
+ contact?: Contact | null | undefined;
144
144
  /**
145
145
  * A simplified representation of a Company, typically used in list views.
146
146
  */
@@ -399,7 +399,7 @@ export const User$inboundSchema: z.ZodType<User, z.ZodTypeDef, unknown> = z
399
399
  user_token: z.lazy(() => UserToken$inboundSchema),
400
400
  vendor: Vendor$inboundSchema.optional(),
401
401
  inventory_manager: z.lazy(() => InventoryManager$inboundSchema).optional(),
402
- contact: Contact$inboundSchema.optional(),
402
+ contact: z.nullable(Contact$inboundSchema).optional(),
403
403
  company: z.nullable(Company$inboundSchema).optional(),
404
404
  }).transform((v) => {
405
405
  return remap$(v, {
@@ -417,7 +417,7 @@ export type User$Outbound = {
417
417
  user_token: UserToken$Outbound;
418
418
  vendor?: Vendor$Outbound | undefined;
419
419
  inventory_manager?: InventoryManager$Outbound | undefined;
420
- contact?: Contact$Outbound | undefined;
420
+ contact?: Contact$Outbound | null | undefined;
421
421
  company?: Company$Outbound | null | undefined;
422
422
  };
423
423
 
@@ -430,7 +430,7 @@ export const User$outboundSchema: z.ZodType<User$Outbound, z.ZodTypeDef, User> =
430
430
  userToken: z.lazy(() => UserToken$outboundSchema),
431
431
  vendor: Vendor$outboundSchema.optional(),
432
432
  inventoryManager: z.lazy(() => InventoryManager$outboundSchema).optional(),
433
- contact: Contact$outboundSchema.optional(),
433
+ contact: z.nullable(Contact$outboundSchema).optional(),
434
434
  company: z.nullable(Company$outboundSchema).optional(),
435
435
  }).transform((v) => {
436
436
  return remap$(v, {