@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
@@ -5,49 +5,199 @@
5
5
  import * as z from "zod";
6
6
  import { remap as remap$ } from "../../lib/primitives.js";
7
7
  import { safeParse } from "../../lib/schemas.js";
8
+ import { ClosedEnum } from "../../types/enums.js";
8
9
  import { Result as SafeParseResult } from "../../types/fp.js";
10
+ import * as components from "../components/index.js";
9
11
  import { SDKValidationError } from "../errors/sdkvalidationerror.js";
10
12
 
11
13
  export type Two = {
14
+ qrCode: string;
15
+ zoneId: number;
16
+ handoffId?: number | undefined;
17
+ vendorId?: number | undefined;
18
+ pin?: string | undefined;
19
+ email?: string | undefined;
20
+ password?: string | undefined;
21
+ deviceId?: number | undefined;
22
+ departmentId?: number | undefined;
23
+ departmentOther?: string | undefined;
24
+ checkoutTime?: string | undefined;
25
+ visitPurpose?: string | undefined;
26
+ visitContact?: string | undefined;
27
+ token?: string | undefined;
12
28
  /**
13
- * QR code representing an existing handoff
29
+ * Search for objects in the same scan_type as the search string
14
30
  */
15
- qrCode: string;
31
+ scanType?: any | undefined;
32
+ recheckVendorScanId?: number | undefined;
33
+ temperature?: number | undefined;
16
34
  };
17
35
 
18
36
  export type One = {
37
+ zoneId: number;
19
38
  /**
20
- * The ID of the zone
39
+ * The longitude of the current Geo coordinates
21
40
  */
22
- zoneId: number;
23
41
  longitude?: any | undefined;
42
+ /**
43
+ * The latitude of the current Geo coordinates
44
+ */
24
45
  latitude?: any | undefined;
46
+ handoffId?: number | undefined;
47
+ vendorId?: number | undefined;
48
+ pin?: string | undefined;
49
+ email?: string | undefined;
50
+ password?: string | undefined;
51
+ deviceId?: number | undefined;
52
+ departmentId?: number | undefined;
53
+ departmentOther?: string | undefined;
54
+ checkoutTime?: string | undefined;
55
+ visitPurpose?: string | undefined;
56
+ visitContact?: string | undefined;
57
+ token?: string | undefined;
58
+ /**
59
+ * Search for objects in the same scan_type as the search string
60
+ */
61
+ scanType?: any | undefined;
62
+ recheckVendorScanId?: number | undefined;
63
+ temperature?: number | undefined;
25
64
  };
26
65
 
27
66
  export type SecurityZoneCheckinRequestBody = Two | One;
28
67
 
68
+ export const Requires = {
69
+ CompleteCheckin: "complete_checkin",
70
+ } as const;
71
+ export type Requires = ClosedEnum<typeof Requires>;
72
+
73
+ export type Results = {
74
+ hasValidPaymentProfile?: boolean | undefined;
75
+ subscriptionExpires?: string | null | undefined;
76
+ subscriptionExpiresWithin30Days?: boolean | undefined;
77
+ qrToCredentials?: boolean | undefined;
78
+ dateExpires?: string | null | undefined;
79
+ dateLastScanned?: string | null | undefined;
80
+ dateLastIn?: string | null | undefined;
81
+ dateLastOut?: string | null | undefined;
82
+ height?: string | null | undefined;
83
+ eyeColor?: string | null | undefined;
84
+ isScannedIn?: boolean | undefined;
85
+ /**
86
+ * Reduced list of attributes of VendorScan record
87
+ */
88
+ scanInVendorScan?: components.VendorScan | null | undefined;
89
+ screeningResponses?: Array<components.ScreeningResponse | null> | undefined;
90
+ /**
91
+ * Reduced list of attributes of VendorScan record
92
+ */
93
+ vendorScan?: components.VendorScan | null | undefined;
94
+ };
95
+
96
+ /**
97
+ * The request was successful, and the server has returned the requested resource in the response body.
98
+ */
99
+ export type SecurityZoneCheckinResponseBody = {
100
+ success?: boolean | undefined;
101
+ requires?: Requires | undefined;
102
+ /**
103
+ * Reduced list of attributes of Handoff record
104
+ */
105
+ handoff?: components.Handoff | null | undefined;
106
+ results?: Results | undefined;
107
+ };
108
+
29
109
  /** @internal */
30
110
  export const Two$inboundSchema: z.ZodType<Two, z.ZodTypeDef, unknown> = z
31
111
  .object({
32
112
  qr_code: z.string(),
113
+ zone_id: z.number().int(),
114
+ handoff_id: z.number().int().optional(),
115
+ vendor_id: z.number().int().optional(),
116
+ pin: z.string().optional(),
117
+ email: z.string().optional(),
118
+ password: z.string().optional(),
119
+ device_id: z.number().int().optional(),
120
+ department_id: z.number().int().optional(),
121
+ department_other: z.string().optional(),
122
+ checkout_time: z.string().optional(),
123
+ visit_purpose: z.string().optional(),
124
+ visit_contact: z.string().optional(),
125
+ token: z.string().optional(),
126
+ scan_type: z.any().optional(),
127
+ recheck_vendor_scan_id: z.number().int().optional(),
128
+ temperature: z.number().optional(),
33
129
  }).transform((v) => {
34
130
  return remap$(v, {
35
131
  "qr_code": "qrCode",
132
+ "zone_id": "zoneId",
133
+ "handoff_id": "handoffId",
134
+ "vendor_id": "vendorId",
135
+ "device_id": "deviceId",
136
+ "department_id": "departmentId",
137
+ "department_other": "departmentOther",
138
+ "checkout_time": "checkoutTime",
139
+ "visit_purpose": "visitPurpose",
140
+ "visit_contact": "visitContact",
141
+ "scan_type": "scanType",
142
+ "recheck_vendor_scan_id": "recheckVendorScanId",
36
143
  });
37
144
  });
38
145
 
39
146
  /** @internal */
40
147
  export type Two$Outbound = {
41
148
  qr_code: string;
149
+ zone_id: number;
150
+ handoff_id?: number | undefined;
151
+ vendor_id?: number | undefined;
152
+ pin?: string | undefined;
153
+ email?: string | undefined;
154
+ password?: string | undefined;
155
+ device_id?: number | undefined;
156
+ department_id?: number | undefined;
157
+ department_other?: string | undefined;
158
+ checkout_time?: string | undefined;
159
+ visit_purpose?: string | undefined;
160
+ visit_contact?: string | undefined;
161
+ token?: string | undefined;
162
+ scan_type?: any | undefined;
163
+ recheck_vendor_scan_id?: number | undefined;
164
+ temperature?: number | undefined;
42
165
  };
43
166
 
44
167
  /** @internal */
45
168
  export const Two$outboundSchema: z.ZodType<Two$Outbound, z.ZodTypeDef, Two> = z
46
169
  .object({
47
170
  qrCode: z.string(),
171
+ zoneId: z.number().int(),
172
+ handoffId: z.number().int().optional(),
173
+ vendorId: z.number().int().optional(),
174
+ pin: z.string().optional(),
175
+ email: z.string().optional(),
176
+ password: z.string().optional(),
177
+ deviceId: z.number().int().optional(),
178
+ departmentId: z.number().int().optional(),
179
+ departmentOther: z.string().optional(),
180
+ checkoutTime: z.string().optional(),
181
+ visitPurpose: z.string().optional(),
182
+ visitContact: z.string().optional(),
183
+ token: z.string().optional(),
184
+ scanType: z.any().optional(),
185
+ recheckVendorScanId: z.number().int().optional(),
186
+ temperature: z.number().optional(),
48
187
  }).transform((v) => {
49
188
  return remap$(v, {
50
189
  qrCode: "qr_code",
190
+ zoneId: "zone_id",
191
+ handoffId: "handoff_id",
192
+ vendorId: "vendor_id",
193
+ deviceId: "device_id",
194
+ departmentId: "department_id",
195
+ departmentOther: "department_other",
196
+ checkoutTime: "checkout_time",
197
+ visitPurpose: "visit_purpose",
198
+ visitContact: "visit_contact",
199
+ scanType: "scan_type",
200
+ recheckVendorScanId: "recheck_vendor_scan_id",
51
201
  });
52
202
  });
53
203
 
@@ -84,9 +234,34 @@ export const One$inboundSchema: z.ZodType<One, z.ZodTypeDef, unknown> = z
84
234
  zone_id: z.number().int(),
85
235
  longitude: z.any().optional(),
86
236
  latitude: z.any().optional(),
237
+ handoff_id: z.number().int().optional(),
238
+ vendor_id: z.number().int().optional(),
239
+ pin: z.string().optional(),
240
+ email: z.string().optional(),
241
+ password: z.string().optional(),
242
+ device_id: z.number().int().optional(),
243
+ department_id: z.number().int().optional(),
244
+ department_other: z.string().optional(),
245
+ checkout_time: z.string().optional(),
246
+ visit_purpose: z.string().optional(),
247
+ visit_contact: z.string().optional(),
248
+ token: z.string().optional(),
249
+ scan_type: z.any().optional(),
250
+ recheck_vendor_scan_id: z.number().int().optional(),
251
+ temperature: z.number().optional(),
87
252
  }).transform((v) => {
88
253
  return remap$(v, {
89
254
  "zone_id": "zoneId",
255
+ "handoff_id": "handoffId",
256
+ "vendor_id": "vendorId",
257
+ "device_id": "deviceId",
258
+ "department_id": "departmentId",
259
+ "department_other": "departmentOther",
260
+ "checkout_time": "checkoutTime",
261
+ "visit_purpose": "visitPurpose",
262
+ "visit_contact": "visitContact",
263
+ "scan_type": "scanType",
264
+ "recheck_vendor_scan_id": "recheckVendorScanId",
90
265
  });
91
266
  });
92
267
 
@@ -95,6 +270,21 @@ export type One$Outbound = {
95
270
  zone_id: number;
96
271
  longitude?: any | undefined;
97
272
  latitude?: any | undefined;
273
+ handoff_id?: number | undefined;
274
+ vendor_id?: number | undefined;
275
+ pin?: string | undefined;
276
+ email?: string | undefined;
277
+ password?: string | undefined;
278
+ device_id?: number | undefined;
279
+ department_id?: number | undefined;
280
+ department_other?: string | undefined;
281
+ checkout_time?: string | undefined;
282
+ visit_purpose?: string | undefined;
283
+ visit_contact?: string | undefined;
284
+ token?: string | undefined;
285
+ scan_type?: any | undefined;
286
+ recheck_vendor_scan_id?: number | undefined;
287
+ temperature?: number | undefined;
98
288
  };
99
289
 
100
290
  /** @internal */
@@ -103,9 +293,34 @@ export const One$outboundSchema: z.ZodType<One$Outbound, z.ZodTypeDef, One> = z
103
293
  zoneId: z.number().int(),
104
294
  longitude: z.any().optional(),
105
295
  latitude: z.any().optional(),
296
+ handoffId: z.number().int().optional(),
297
+ vendorId: z.number().int().optional(),
298
+ pin: z.string().optional(),
299
+ email: z.string().optional(),
300
+ password: z.string().optional(),
301
+ deviceId: z.number().int().optional(),
302
+ departmentId: z.number().int().optional(),
303
+ departmentOther: z.string().optional(),
304
+ checkoutTime: z.string().optional(),
305
+ visitPurpose: z.string().optional(),
306
+ visitContact: z.string().optional(),
307
+ token: z.string().optional(),
308
+ scanType: z.any().optional(),
309
+ recheckVendorScanId: z.number().int().optional(),
310
+ temperature: z.number().optional(),
106
311
  }).transform((v) => {
107
312
  return remap$(v, {
108
313
  zoneId: "zone_id",
314
+ handoffId: "handoff_id",
315
+ vendorId: "vendor_id",
316
+ deviceId: "device_id",
317
+ departmentId: "department_id",
318
+ departmentOther: "department_other",
319
+ checkoutTime: "checkout_time",
320
+ visitPurpose: "visit_purpose",
321
+ visitContact: "visit_contact",
322
+ scanType: "scan_type",
323
+ recheckVendorScanId: "recheck_vendor_scan_id",
109
324
  });
110
325
  });
111
326
 
@@ -190,3 +405,212 @@ export function securityZoneCheckinRequestBodyFromJSON(
190
405
  `Failed to parse 'SecurityZoneCheckinRequestBody' from JSON`,
191
406
  );
192
407
  }
408
+
409
+ /** @internal */
410
+ export const Requires$inboundSchema: z.ZodNativeEnum<typeof Requires> = z
411
+ .nativeEnum(Requires);
412
+
413
+ /** @internal */
414
+ export const Requires$outboundSchema: z.ZodNativeEnum<typeof Requires> =
415
+ Requires$inboundSchema;
416
+
417
+ /**
418
+ * @internal
419
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
420
+ */
421
+ export namespace Requires$ {
422
+ /** @deprecated use `Requires$inboundSchema` instead. */
423
+ export const inboundSchema = Requires$inboundSchema;
424
+ /** @deprecated use `Requires$outboundSchema` instead. */
425
+ export const outboundSchema = Requires$outboundSchema;
426
+ }
427
+
428
+ /** @internal */
429
+ export const Results$inboundSchema: z.ZodType<Results, z.ZodTypeDef, unknown> =
430
+ z.object({
431
+ has_valid_payment_profile: z.boolean().optional(),
432
+ subscription_expires: z.nullable(z.string()).optional(),
433
+ subscription_expires_within_30_days: z.boolean().optional(),
434
+ qr_to_credentials: z.boolean().optional(),
435
+ date_expires: z.nullable(z.string()).optional(),
436
+ date_last_scanned: z.nullable(z.string()).optional(),
437
+ date_last_in: z.nullable(z.string()).optional(),
438
+ date_last_out: z.nullable(z.string()).optional(),
439
+ height: z.nullable(z.string()).optional(),
440
+ eye_color: z.nullable(z.string()).optional(),
441
+ is_scanned_in: z.boolean().optional(),
442
+ scan_in_vendor_scan: z.nullable(components.VendorScan$inboundSchema)
443
+ .optional(),
444
+ screening_responses: z.array(
445
+ z.nullable(components.ScreeningResponse$inboundSchema),
446
+ ).optional(),
447
+ vendor_scan: z.nullable(components.VendorScan$inboundSchema).optional(),
448
+ }).transform((v) => {
449
+ return remap$(v, {
450
+ "has_valid_payment_profile": "hasValidPaymentProfile",
451
+ "subscription_expires": "subscriptionExpires",
452
+ "subscription_expires_within_30_days": "subscriptionExpiresWithin30Days",
453
+ "qr_to_credentials": "qrToCredentials",
454
+ "date_expires": "dateExpires",
455
+ "date_last_scanned": "dateLastScanned",
456
+ "date_last_in": "dateLastIn",
457
+ "date_last_out": "dateLastOut",
458
+ "eye_color": "eyeColor",
459
+ "is_scanned_in": "isScannedIn",
460
+ "scan_in_vendor_scan": "scanInVendorScan",
461
+ "screening_responses": "screeningResponses",
462
+ "vendor_scan": "vendorScan",
463
+ });
464
+ });
465
+
466
+ /** @internal */
467
+ export type Results$Outbound = {
468
+ has_valid_payment_profile?: boolean | undefined;
469
+ subscription_expires?: string | null | undefined;
470
+ subscription_expires_within_30_days?: boolean | undefined;
471
+ qr_to_credentials?: boolean | undefined;
472
+ date_expires?: string | null | undefined;
473
+ date_last_scanned?: string | null | undefined;
474
+ date_last_in?: string | null | undefined;
475
+ date_last_out?: string | null | undefined;
476
+ height?: string | null | undefined;
477
+ eye_color?: string | null | undefined;
478
+ is_scanned_in?: boolean | undefined;
479
+ scan_in_vendor_scan?: components.VendorScan$Outbound | null | undefined;
480
+ screening_responses?:
481
+ | Array<components.ScreeningResponse$Outbound | null>
482
+ | undefined;
483
+ vendor_scan?: components.VendorScan$Outbound | null | undefined;
484
+ };
485
+
486
+ /** @internal */
487
+ export const Results$outboundSchema: z.ZodType<
488
+ Results$Outbound,
489
+ z.ZodTypeDef,
490
+ Results
491
+ > = z.object({
492
+ hasValidPaymentProfile: z.boolean().optional(),
493
+ subscriptionExpires: z.nullable(z.string()).optional(),
494
+ subscriptionExpiresWithin30Days: z.boolean().optional(),
495
+ qrToCredentials: z.boolean().optional(),
496
+ dateExpires: z.nullable(z.string()).optional(),
497
+ dateLastScanned: z.nullable(z.string()).optional(),
498
+ dateLastIn: z.nullable(z.string()).optional(),
499
+ dateLastOut: z.nullable(z.string()).optional(),
500
+ height: z.nullable(z.string()).optional(),
501
+ eyeColor: z.nullable(z.string()).optional(),
502
+ isScannedIn: z.boolean().optional(),
503
+ scanInVendorScan: z.nullable(components.VendorScan$outboundSchema).optional(),
504
+ screeningResponses: z.array(
505
+ z.nullable(components.ScreeningResponse$outboundSchema),
506
+ ).optional(),
507
+ vendorScan: z.nullable(components.VendorScan$outboundSchema).optional(),
508
+ }).transform((v) => {
509
+ return remap$(v, {
510
+ hasValidPaymentProfile: "has_valid_payment_profile",
511
+ subscriptionExpires: "subscription_expires",
512
+ subscriptionExpiresWithin30Days: "subscription_expires_within_30_days",
513
+ qrToCredentials: "qr_to_credentials",
514
+ dateExpires: "date_expires",
515
+ dateLastScanned: "date_last_scanned",
516
+ dateLastIn: "date_last_in",
517
+ dateLastOut: "date_last_out",
518
+ eyeColor: "eye_color",
519
+ isScannedIn: "is_scanned_in",
520
+ scanInVendorScan: "scan_in_vendor_scan",
521
+ screeningResponses: "screening_responses",
522
+ vendorScan: "vendor_scan",
523
+ });
524
+ });
525
+
526
+ /**
527
+ * @internal
528
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
529
+ */
530
+ export namespace Results$ {
531
+ /** @deprecated use `Results$inboundSchema` instead. */
532
+ export const inboundSchema = Results$inboundSchema;
533
+ /** @deprecated use `Results$outboundSchema` instead. */
534
+ export const outboundSchema = Results$outboundSchema;
535
+ /** @deprecated use `Results$Outbound` instead. */
536
+ export type Outbound = Results$Outbound;
537
+ }
538
+
539
+ export function resultsToJSON(results: Results): string {
540
+ return JSON.stringify(Results$outboundSchema.parse(results));
541
+ }
542
+
543
+ export function resultsFromJSON(
544
+ jsonString: string,
545
+ ): SafeParseResult<Results, SDKValidationError> {
546
+ return safeParse(
547
+ jsonString,
548
+ (x) => Results$inboundSchema.parse(JSON.parse(x)),
549
+ `Failed to parse 'Results' from JSON`,
550
+ );
551
+ }
552
+
553
+ /** @internal */
554
+ export const SecurityZoneCheckinResponseBody$inboundSchema: z.ZodType<
555
+ SecurityZoneCheckinResponseBody,
556
+ z.ZodTypeDef,
557
+ unknown
558
+ > = z.object({
559
+ success: z.boolean().optional(),
560
+ requires: Requires$inboundSchema.optional(),
561
+ handoff: z.nullable(components.Handoff$inboundSchema).optional(),
562
+ results: z.lazy(() => Results$inboundSchema).optional(),
563
+ });
564
+
565
+ /** @internal */
566
+ export type SecurityZoneCheckinResponseBody$Outbound = {
567
+ success?: boolean | undefined;
568
+ requires?: string | undefined;
569
+ handoff?: components.Handoff$Outbound | null | undefined;
570
+ results?: Results$Outbound | undefined;
571
+ };
572
+
573
+ /** @internal */
574
+ export const SecurityZoneCheckinResponseBody$outboundSchema: z.ZodType<
575
+ SecurityZoneCheckinResponseBody$Outbound,
576
+ z.ZodTypeDef,
577
+ SecurityZoneCheckinResponseBody
578
+ > = z.object({
579
+ success: z.boolean().optional(),
580
+ requires: Requires$outboundSchema.optional(),
581
+ handoff: z.nullable(components.Handoff$outboundSchema).optional(),
582
+ results: z.lazy(() => Results$outboundSchema).optional(),
583
+ });
584
+
585
+ /**
586
+ * @internal
587
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
588
+ */
589
+ export namespace SecurityZoneCheckinResponseBody$ {
590
+ /** @deprecated use `SecurityZoneCheckinResponseBody$inboundSchema` instead. */
591
+ export const inboundSchema = SecurityZoneCheckinResponseBody$inboundSchema;
592
+ /** @deprecated use `SecurityZoneCheckinResponseBody$outboundSchema` instead. */
593
+ export const outboundSchema = SecurityZoneCheckinResponseBody$outboundSchema;
594
+ /** @deprecated use `SecurityZoneCheckinResponseBody$Outbound` instead. */
595
+ export type Outbound = SecurityZoneCheckinResponseBody$Outbound;
596
+ }
597
+
598
+ export function securityZoneCheckinResponseBodyToJSON(
599
+ securityZoneCheckinResponseBody: SecurityZoneCheckinResponseBody,
600
+ ): string {
601
+ return JSON.stringify(
602
+ SecurityZoneCheckinResponseBody$outboundSchema.parse(
603
+ securityZoneCheckinResponseBody,
604
+ ),
605
+ );
606
+ }
607
+
608
+ export function securityZoneCheckinResponseBodyFromJSON(
609
+ jsonString: string,
610
+ ): SafeParseResult<SecurityZoneCheckinResponseBody, SDKValidationError> {
611
+ return safeParse(
612
+ jsonString,
613
+ (x) => SecurityZoneCheckinResponseBody$inboundSchema.parse(JSON.parse(x)),
614
+ `Failed to parse 'SecurityZoneCheckinResponseBody' from JSON`,
615
+ );
616
+ }
@@ -0,0 +1,97 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod";
6
+ import { remap as remap$ } from "../../lib/primitives.js";
7
+ import { safeParse } from "../../lib/schemas.js";
8
+ import { Result as SafeParseResult } from "../../types/fp.js";
9
+ import * as components from "../components/index.js";
10
+ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
11
+
12
+ export type UpdatesTheWebhookEndpointWithTheGivenIdRequest = {
13
+ /**
14
+ * The identifier of the object
15
+ */
16
+ id: number;
17
+ webhookEndpoint: components.WebhookEndpoint;
18
+ };
19
+
20
+ /** @internal */
21
+ export const UpdatesTheWebhookEndpointWithTheGivenIdRequest$inboundSchema:
22
+ z.ZodType<
23
+ UpdatesTheWebhookEndpointWithTheGivenIdRequest,
24
+ z.ZodTypeDef,
25
+ unknown
26
+ > = z.object({
27
+ id: z.number().int(),
28
+ WebhookEndpoint: components.WebhookEndpoint$inboundSchema,
29
+ }).transform((v) => {
30
+ return remap$(v, {
31
+ "WebhookEndpoint": "webhookEndpoint",
32
+ });
33
+ });
34
+
35
+ /** @internal */
36
+ export type UpdatesTheWebhookEndpointWithTheGivenIdRequest$Outbound = {
37
+ id: number;
38
+ WebhookEndpoint: components.WebhookEndpoint$Outbound;
39
+ };
40
+
41
+ /** @internal */
42
+ export const UpdatesTheWebhookEndpointWithTheGivenIdRequest$outboundSchema:
43
+ z.ZodType<
44
+ UpdatesTheWebhookEndpointWithTheGivenIdRequest$Outbound,
45
+ z.ZodTypeDef,
46
+ UpdatesTheWebhookEndpointWithTheGivenIdRequest
47
+ > = z.object({
48
+ id: z.number().int(),
49
+ webhookEndpoint: components.WebhookEndpoint$outboundSchema,
50
+ }).transform((v) => {
51
+ return remap$(v, {
52
+ webhookEndpoint: "WebhookEndpoint",
53
+ });
54
+ });
55
+
56
+ /**
57
+ * @internal
58
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
59
+ */
60
+ export namespace UpdatesTheWebhookEndpointWithTheGivenIdRequest$ {
61
+ /** @deprecated use `UpdatesTheWebhookEndpointWithTheGivenIdRequest$inboundSchema` instead. */
62
+ export const inboundSchema =
63
+ UpdatesTheWebhookEndpointWithTheGivenIdRequest$inboundSchema;
64
+ /** @deprecated use `UpdatesTheWebhookEndpointWithTheGivenIdRequest$outboundSchema` instead. */
65
+ export const outboundSchema =
66
+ UpdatesTheWebhookEndpointWithTheGivenIdRequest$outboundSchema;
67
+ /** @deprecated use `UpdatesTheWebhookEndpointWithTheGivenIdRequest$Outbound` instead. */
68
+ export type Outbound =
69
+ UpdatesTheWebhookEndpointWithTheGivenIdRequest$Outbound;
70
+ }
71
+
72
+ export function updatesTheWebhookEndpointWithTheGivenIdRequestToJSON(
73
+ updatesTheWebhookEndpointWithTheGivenIdRequest:
74
+ UpdatesTheWebhookEndpointWithTheGivenIdRequest,
75
+ ): string {
76
+ return JSON.stringify(
77
+ UpdatesTheWebhookEndpointWithTheGivenIdRequest$outboundSchema.parse(
78
+ updatesTheWebhookEndpointWithTheGivenIdRequest,
79
+ ),
80
+ );
81
+ }
82
+
83
+ export function updatesTheWebhookEndpointWithTheGivenIdRequestFromJSON(
84
+ jsonString: string,
85
+ ): SafeParseResult<
86
+ UpdatesTheWebhookEndpointWithTheGivenIdRequest,
87
+ SDKValidationError
88
+ > {
89
+ return safeParse(
90
+ jsonString,
91
+ (x) =>
92
+ UpdatesTheWebhookEndpointWithTheGivenIdRequest$inboundSchema.parse(
93
+ JSON.parse(x),
94
+ ),
95
+ `Failed to parse 'UpdatesTheWebhookEndpointWithTheGivenIdRequest' from JSON`,
96
+ );
97
+ }