@greensecurity/javascript-sdk 0.45.0-beta.8 → 0.45.0

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 (802) hide show
  1. package/README.md +13 -1
  2. package/dist/commonjs/__tests__/companies.test.js +17 -0
  3. package/dist/commonjs/__tests__/companies.test.js.map +1 -1
  4. package/dist/commonjs/__tests__/doAdmin.test.js +51 -0
  5. package/dist/commonjs/__tests__/doAdmin.test.js.map +1 -1
  6. package/dist/commonjs/__tests__/getAppVersionStatus.test.d.ts +2 -0
  7. package/dist/commonjs/__tests__/getAppVersionStatus.test.d.ts.map +1 -0
  8. package/dist/commonjs/__tests__/getAppVersionStatus.test.js +39 -0
  9. package/dist/commonjs/__tests__/getAppVersionStatus.test.js.map +1 -0
  10. package/dist/commonjs/__tests__/kiosk.test.d.ts +2 -0
  11. package/dist/commonjs/__tests__/kiosk.test.d.ts.map +1 -0
  12. package/dist/commonjs/__tests__/kiosk.test.js +123 -0
  13. package/dist/commonjs/__tests__/kiosk.test.js.map +1 -0
  14. package/dist/commonjs/__tests__/lookups.test.js +45 -0
  15. package/dist/commonjs/__tests__/lookups.test.js.map +1 -1
  16. package/dist/commonjs/__tests__/vendors.test.js +29 -1
  17. package/dist/commonjs/__tests__/vendors.test.js.map +1 -1
  18. package/dist/commonjs/__tests__/webhooks.test.js +1 -1
  19. package/dist/commonjs/__tests__/webhooks.test.js.map +1 -1
  20. package/dist/commonjs/__tests__/zones.test.js +9 -43
  21. package/dist/commonjs/__tests__/zones.test.js.map +1 -1
  22. package/dist/commonjs/admin-funcs/dismissCommunication.d.ts +3 -0
  23. package/dist/commonjs/admin-funcs/dismissCommunication.d.ts.map +1 -0
  24. package/dist/commonjs/admin-funcs/dismissCommunication.js +20 -0
  25. package/dist/commonjs/admin-funcs/dismissCommunication.js.map +1 -0
  26. package/dist/commonjs/admin-funcs/doAdmin.d.ts +4 -0
  27. package/dist/commonjs/admin-funcs/doAdmin.d.ts.map +1 -1
  28. package/dist/commonjs/admin-funcs/doAdmin.js +58 -0
  29. package/dist/commonjs/admin-funcs/doAdmin.js.map +1 -1
  30. package/dist/commonjs/admin-funcs/getAppVersionStatus.d.ts +4 -0
  31. package/dist/commonjs/admin-funcs/getAppVersionStatus.d.ts.map +1 -0
  32. package/dist/commonjs/admin-funcs/getAppVersionStatus.js +18 -0
  33. package/dist/commonjs/admin-funcs/getAppVersionStatus.js.map +1 -0
  34. package/dist/commonjs/admin-funcs/kioskCreateEvent.d.ts +3 -0
  35. package/dist/commonjs/admin-funcs/kioskCreateEvent.d.ts.map +1 -0
  36. package/dist/commonjs/admin-funcs/kioskCreateEvent.js +11 -0
  37. package/dist/commonjs/admin-funcs/kioskCreateEvent.js.map +1 -0
  38. package/dist/commonjs/admin-funcs/kioskCreateKioskDevice.d.ts +7 -0
  39. package/dist/commonjs/admin-funcs/kioskCreateKioskDevice.d.ts.map +1 -0
  40. package/dist/commonjs/admin-funcs/kioskCreateKioskDevice.js +11 -0
  41. package/dist/commonjs/admin-funcs/kioskCreateKioskDevice.js.map +1 -0
  42. package/dist/commonjs/admin-funcs/kioskCreateZoneDevice.d.ts +3 -0
  43. package/dist/commonjs/admin-funcs/kioskCreateZoneDevice.d.ts.map +1 -0
  44. package/dist/commonjs/admin-funcs/kioskCreateZoneDevice.js +11 -0
  45. package/dist/commonjs/admin-funcs/kioskCreateZoneDevice.js.map +1 -0
  46. package/dist/commonjs/admin-funcs/kioskGetKioskDevice.d.ts +3 -0
  47. package/dist/commonjs/admin-funcs/kioskGetKioskDevice.d.ts.map +1 -0
  48. package/dist/commonjs/admin-funcs/kioskGetKioskDevice.js +11 -0
  49. package/dist/commonjs/admin-funcs/kioskGetKioskDevice.js.map +1 -0
  50. package/dist/commonjs/admin-funcs/kioskHeartbeat.d.ts +8 -0
  51. package/dist/commonjs/admin-funcs/kioskHeartbeat.d.ts.map +1 -0
  52. package/dist/commonjs/admin-funcs/kioskHeartbeat.js +11 -0
  53. package/dist/commonjs/admin-funcs/kioskHeartbeat.js.map +1 -0
  54. package/dist/commonjs/admin-funcs/kioskPing2.d.ts +4 -0
  55. package/dist/commonjs/admin-funcs/kioskPing2.d.ts.map +1 -0
  56. package/dist/commonjs/admin-funcs/kioskPing2.js +10 -0
  57. package/dist/commonjs/admin-funcs/kioskPing2.js.map +1 -0
  58. package/dist/commonjs/admin-funcs/kioskUpdateKioskDevice.d.ts +9 -0
  59. package/dist/commonjs/admin-funcs/kioskUpdateKioskDevice.d.ts.map +1 -0
  60. package/dist/commonjs/admin-funcs/kioskUpdateKioskDevice.js +10 -0
  61. package/dist/commonjs/admin-funcs/kioskUpdateKioskDevice.js.map +1 -0
  62. package/dist/commonjs/admin-funcs/listCommunications.d.ts +3 -0
  63. package/dist/commonjs/admin-funcs/listCommunications.d.ts.map +1 -0
  64. package/dist/commonjs/admin-funcs/listCommunications.js +25 -0
  65. package/dist/commonjs/admin-funcs/listCommunications.js.map +1 -0
  66. package/dist/commonjs/funcs/companiesListCompanyManagerContacts.d.ts +20 -0
  67. package/dist/commonjs/funcs/companiesListCompanyManagerContacts.d.ts.map +1 -0
  68. package/dist/commonjs/funcs/companiesListCompanyManagerContacts.js +126 -0
  69. package/dist/commonjs/funcs/companiesListCompanyManagerContacts.js.map +1 -0
  70. package/dist/commonjs/funcs/lookupsLookupCompanyManagers.d.ts +18 -0
  71. package/dist/commonjs/funcs/lookupsLookupCompanyManagers.d.ts.map +1 -0
  72. package/dist/commonjs/funcs/lookupsLookupCompanyManagers.js +121 -0
  73. package/dist/commonjs/funcs/lookupsLookupCompanyManagers.js.map +1 -0
  74. package/dist/commonjs/funcs/lookupsLookupPostalCode.d.ts +35 -0
  75. package/dist/commonjs/funcs/lookupsLookupPostalCode.d.ts.map +1 -0
  76. package/dist/commonjs/funcs/lookupsLookupPostalCode.js +140 -0
  77. package/dist/commonjs/funcs/lookupsLookupPostalCode.js.map +1 -0
  78. package/dist/commonjs/funcs/organizationsExportCompanyTargetFacilities.js +4 -2
  79. package/dist/commonjs/funcs/organizationsExportCompanyTargetFacilities.js.map +1 -1
  80. package/dist/commonjs/funcs/organizationsListCompanyTargetFacilities.js +1 -0
  81. package/dist/commonjs/funcs/organizationsListCompanyTargetFacilities.js.map +1 -1
  82. package/dist/commonjs/funcs/reportsGetFullReport.d.ts +3 -3
  83. package/dist/commonjs/funcs/reportsGetFullReport.js +3 -3
  84. package/dist/commonjs/funcs/usersPostAuthenticate.d.ts +37 -0
  85. package/dist/commonjs/funcs/usersPostAuthenticate.d.ts.map +1 -1
  86. package/dist/commonjs/funcs/usersPostAuthenticate.js +37 -0
  87. package/dist/commonjs/funcs/usersPostAuthenticate.js.map +1 -1
  88. package/dist/commonjs/funcs/usersUpdateUser.d.ts +6 -0
  89. package/dist/commonjs/funcs/usersUpdateUser.d.ts.map +1 -1
  90. package/dist/commonjs/funcs/usersUpdateUser.js +6 -0
  91. package/dist/commonjs/funcs/usersUpdateUser.js.map +1 -1
  92. package/dist/commonjs/funcs/validateWebhook.d.ts +1 -1
  93. package/dist/commonjs/funcs/validateWebhook.d.ts.map +1 -1
  94. package/dist/commonjs/funcs/validateWebhook.js +3 -0
  95. package/dist/commonjs/funcs/validateWebhook.js.map +1 -1
  96. package/dist/commonjs/funcs/vendorsCreateVendor.d.ts +4 -0
  97. package/dist/commonjs/funcs/vendorsCreateVendor.d.ts.map +1 -1
  98. package/dist/commonjs/funcs/vendorsCreateVendor.js +4 -0
  99. package/dist/commonjs/funcs/vendorsCreateVendor.js.map +1 -1
  100. package/dist/commonjs/funcs/vendorsGetVendorInvoiceDetails.d.ts +1 -0
  101. package/dist/commonjs/funcs/vendorsGetVendorInvoiceDetails.d.ts.map +1 -1
  102. package/dist/commonjs/funcs/vendorsGetVendorInvoiceDetails.js +1 -0
  103. package/dist/commonjs/funcs/vendorsGetVendorInvoiceDetails.js.map +1 -1
  104. package/dist/commonjs/funcs/vendorsGetVendorScreeningQuestions.d.ts +18 -0
  105. package/dist/commonjs/funcs/vendorsGetVendorScreeningQuestions.d.ts.map +1 -0
  106. package/dist/commonjs/funcs/vendorsGetVendorScreeningQuestions.js +128 -0
  107. package/dist/commonjs/funcs/vendorsGetVendorScreeningQuestions.js.map +1 -0
  108. package/dist/commonjs/funcs/vendorsSendDownloadCode.js +1 -1
  109. package/dist/commonjs/funcs/vendorsSendDownloadCode.js.map +1 -1
  110. package/dist/commonjs/funcs/vendorsUpdateVendorDetails.d.ts +9 -1
  111. package/dist/commonjs/funcs/vendorsUpdateVendorDetails.d.ts.map +1 -1
  112. package/dist/commonjs/funcs/vendorsUpdateVendorDetails.js +9 -1
  113. package/dist/commonjs/funcs/vendorsUpdateVendorDetails.js.map +1 -1
  114. package/dist/commonjs/index.extras.d.ts +24 -0
  115. package/dist/commonjs/index.extras.d.ts.map +1 -1
  116. package/dist/commonjs/index.extras.js +26 -0
  117. package/dist/commonjs/index.extras.js.map +1 -1
  118. package/dist/commonjs/lib/config.d.ts +4 -4
  119. package/dist/commonjs/lib/config.js +4 -4
  120. package/dist/commonjs/lib/config.js.map +1 -1
  121. package/dist/commonjs/models/components/alert.d.ts +3 -2
  122. package/dist/commonjs/models/components/alert.d.ts.map +1 -1
  123. package/dist/commonjs/models/components/alert.js +2 -0
  124. package/dist/commonjs/models/components/alert.js.map +1 -1
  125. package/dist/commonjs/models/components/authenticatesuccessresponse.d.ts +91 -0
  126. package/dist/commonjs/models/components/authenticatesuccessresponse.d.ts.map +1 -0
  127. package/dist/commonjs/models/components/authenticatesuccessresponse.js +100 -0
  128. package/dist/commonjs/models/components/authenticatesuccessresponse.js.map +1 -0
  129. package/dist/commonjs/models/components/companymanagerlookup.d.ts +19 -0
  130. package/dist/commonjs/models/components/companymanagerlookup.d.ts.map +1 -0
  131. package/dist/commonjs/models/components/companymanagerlookup.js +60 -0
  132. package/dist/commonjs/models/components/companymanagerlookup.js.map +1 -0
  133. package/dist/commonjs/models/components/contact.d.ts +6 -6
  134. package/dist/commonjs/models/components/contact.d.ts.map +1 -1
  135. package/dist/commonjs/models/components/contact.js +9 -9
  136. package/dist/commonjs/models/components/contact.js.map +1 -1
  137. package/dist/commonjs/models/components/expand.d.ts +2 -0
  138. package/dist/commonjs/models/components/expand.d.ts.map +1 -1
  139. package/dist/commonjs/models/components/expand.js +2 -0
  140. package/dist/commonjs/models/components/expand.js.map +1 -1
  141. package/dist/commonjs/models/components/fullreport.d.ts +107 -0
  142. package/dist/commonjs/models/components/fullreport.d.ts.map +1 -0
  143. package/dist/commonjs/models/components/fullreport.js +125 -0
  144. package/dist/commonjs/models/components/fullreport.js.map +1 -0
  145. package/dist/commonjs/models/components/index.d.ts +6 -0
  146. package/dist/commonjs/models/components/index.d.ts.map +1 -1
  147. package/dist/commonjs/models/components/index.js +6 -0
  148. package/dist/commonjs/models/components/index.js.map +1 -1
  149. package/dist/commonjs/models/components/invoice.d.ts +30 -6
  150. package/dist/commonjs/models/components/invoice.d.ts.map +1 -1
  151. package/dist/commonjs/models/components/invoice.js +39 -1
  152. package/dist/commonjs/models/components/invoice.js.map +1 -1
  153. package/dist/commonjs/models/components/loginemailandpassword.d.ts +34 -0
  154. package/dist/commonjs/models/components/loginemailandpassword.d.ts.map +1 -1
  155. package/dist/commonjs/models/components/loginemailandpassword.js +2 -0
  156. package/dist/commonjs/models/components/loginemailandpassword.js.map +1 -1
  157. package/dist/commonjs/models/components/loginrequirementsfromemail.d.ts +34 -0
  158. package/dist/commonjs/models/components/loginrequirementsfromemail.d.ts.map +1 -1
  159. package/dist/commonjs/models/components/loginrequirementsfromemail.js +2 -0
  160. package/dist/commonjs/models/components/loginrequirementsfromemail.js.map +1 -1
  161. package/dist/commonjs/models/components/mfarequiredresponse.d.ts +33 -0
  162. package/dist/commonjs/models/components/mfarequiredresponse.d.ts.map +1 -1
  163. package/dist/commonjs/models/components/mfarequiredresponse.js +2 -0
  164. package/dist/commonjs/models/components/mfarequiredresponse.js.map +1 -1
  165. package/dist/commonjs/models/components/passwordnotsetresponse.d.ts +34 -1
  166. package/dist/commonjs/models/components/passwordnotsetresponse.d.ts.map +1 -1
  167. package/dist/commonjs/models/components/passwordnotsetresponse.js +2 -0
  168. package/dist/commonjs/models/components/passwordnotsetresponse.js.map +1 -1
  169. package/dist/commonjs/models/components/passwordrequiredresponse.d.ts +33 -0
  170. package/dist/commonjs/models/components/passwordrequiredresponse.d.ts.map +1 -1
  171. package/dist/commonjs/models/components/passwordrequiredresponse.js +6 -0
  172. package/dist/commonjs/models/components/passwordrequiredresponse.js.map +1 -1
  173. package/dist/commonjs/models/components/samlloginrequiredresponse.d.ts +33 -0
  174. package/dist/commonjs/models/components/samlloginrequiredresponse.d.ts.map +1 -1
  175. package/dist/commonjs/models/components/samlloginrequiredresponse.js +2 -0
  176. package/dist/commonjs/models/components/samlloginrequiredresponse.js.map +1 -1
  177. package/dist/commonjs/models/components/ssocontinuation.d.ts +44 -0
  178. package/dist/commonjs/models/components/ssocontinuation.d.ts.map +1 -0
  179. package/dist/commonjs/models/components/ssocontinuation.js +56 -0
  180. package/dist/commonjs/models/components/ssocontinuation.js.map +1 -0
  181. package/dist/commonjs/models/components/system.d.ts +18 -0
  182. package/dist/commonjs/models/components/system.d.ts.map +1 -0
  183. package/dist/commonjs/models/components/system.js +54 -0
  184. package/dist/commonjs/models/components/system.js.map +1 -0
  185. package/dist/commonjs/models/components/vendorcredentialsummary.d.ts +5 -2
  186. package/dist/commonjs/models/components/vendorcredentialsummary.d.ts.map +1 -1
  187. package/dist/commonjs/models/components/vendorcredentialsummary.js +2 -2
  188. package/dist/commonjs/models/components/vendorcredentialsummary.js.map +1 -1
  189. package/dist/commonjs/models/components/vendortargetfacility.d.ts +4 -0
  190. package/dist/commonjs/models/components/vendortargetfacility.d.ts.map +1 -1
  191. package/dist/commonjs/models/components/vendortargetfacility.js +2 -0
  192. package/dist/commonjs/models/components/vendortargetfacility.js.map +1 -1
  193. package/dist/commonjs/models/components/vendortargetfacilityscreeningresponse.d.ts +34 -0
  194. package/dist/commonjs/models/components/vendortargetfacilityscreeningresponse.d.ts.map +1 -0
  195. package/dist/commonjs/models/components/vendortargetfacilityscreeningresponse.js +64 -0
  196. package/dist/commonjs/models/components/vendortargetfacilityscreeningresponse.js.map +1 -0
  197. package/dist/commonjs/models/components/webhooksubscription.d.ts +3 -0
  198. package/dist/commonjs/models/components/webhooksubscription.d.ts.map +1 -1
  199. package/dist/commonjs/models/components/webhooksubscription.js +3 -0
  200. package/dist/commonjs/models/components/webhooksubscription.js.map +1 -1
  201. package/dist/commonjs/models/components/webhooksubscriptiondetail.d.ts +1 -0
  202. package/dist/commonjs/models/components/webhooksubscriptiondetail.d.ts.map +1 -1
  203. package/dist/commonjs/models/components/webhooksubscriptiondetail.js +1 -0
  204. package/dist/commonjs/models/components/webhooksubscriptiondetail.js.map +1 -1
  205. package/dist/commonjs/models/operations/createinvoice.d.ts +25 -0
  206. package/dist/commonjs/models/operations/createinvoice.d.ts.map +1 -1
  207. package/dist/commonjs/models/operations/createinvoice.js +5 -0
  208. package/dist/commonjs/models/operations/createinvoice.js.map +1 -1
  209. package/dist/commonjs/models/operations/createvendorcompany.d.ts +7 -1
  210. package/dist/commonjs/models/operations/createvendorcompany.d.ts.map +1 -1
  211. package/dist/commonjs/models/operations/createvendorcompany.js.map +1 -1
  212. package/dist/commonjs/models/operations/exportcompanytargetfacilities.d.ts +5 -0
  213. package/dist/commonjs/models/operations/exportcompanytargetfacilities.d.ts.map +1 -1
  214. package/dist/commonjs/models/operations/exportcompanytargetfacilities.js +2 -0
  215. package/dist/commonjs/models/operations/exportcompanytargetfacilities.js.map +1 -1
  216. package/dist/commonjs/models/operations/getvendorscreeningquestions.d.ts +46 -0
  217. package/dist/commonjs/models/operations/getvendorscreeningquestions.d.ts.map +1 -0
  218. package/dist/commonjs/models/operations/getvendorscreeningquestions.js +74 -0
  219. package/dist/commonjs/models/operations/getvendorscreeningquestions.js.map +1 -0
  220. package/dist/commonjs/models/operations/index.d.ts +4 -0
  221. package/dist/commonjs/models/operations/index.d.ts.map +1 -1
  222. package/dist/commonjs/models/operations/index.js +4 -0
  223. package/dist/commonjs/models/operations/index.js.map +1 -1
  224. package/dist/commonjs/models/operations/listcompanymanagercontacts.d.ts +27 -0
  225. package/dist/commonjs/models/operations/listcompanymanagercontacts.d.ts.map +1 -0
  226. package/dist/commonjs/models/operations/listcompanymanagercontacts.js +65 -0
  227. package/dist/commonjs/models/operations/listcompanymanagercontacts.js.map +1 -0
  228. package/dist/commonjs/models/operations/listcompanytargetfacilities.d.ts +5 -0
  229. package/dist/commonjs/models/operations/listcompanytargetfacilities.d.ts.map +1 -1
  230. package/dist/commonjs/models/operations/listcompanytargetfacilities.js +2 -0
  231. package/dist/commonjs/models/operations/listcompanytargetfacilities.js.map +1 -1
  232. package/dist/commonjs/models/operations/lookupcompanymanagers.d.ts +27 -0
  233. package/dist/commonjs/models/operations/lookupcompanymanagers.d.ts.map +1 -0
  234. package/dist/commonjs/models/operations/lookupcompanymanagers.js +64 -0
  235. package/dist/commonjs/models/operations/lookupcompanymanagers.js.map +1 -0
  236. package/dist/commonjs/models/operations/lookuppostalcode.d.ts +59 -0
  237. package/dist/commonjs/models/operations/lookuppostalcode.d.ts.map +1 -0
  238. package/dist/commonjs/models/operations/lookuppostalcode.js +81 -0
  239. package/dist/commonjs/models/operations/lookuppostalcode.js.map +1 -0
  240. package/dist/commonjs/models/operations/postauthenticate.d.ts +1 -1
  241. package/dist/commonjs/models/operations/postauthenticate.d.ts.map +1 -1
  242. package/dist/commonjs/models/operations/postauthenticate.js +1 -1
  243. package/dist/commonjs/models/operations/postauthenticate.js.map +1 -1
  244. package/dist/commonjs/models/webhooks/index.d.ts +3 -0
  245. package/dist/commonjs/models/webhooks/index.d.ts.map +1 -1
  246. package/dist/commonjs/models/webhooks/index.js +3 -0
  247. package/dist/commonjs/models/webhooks/index.js.map +1 -1
  248. package/dist/commonjs/models/webhooks/sendfullreportcreated.d.ts +42 -0
  249. package/dist/commonjs/models/webhooks/sendfullreportcreated.d.ts.map +1 -0
  250. package/dist/commonjs/models/webhooks/sendfullreportcreated.js +85 -0
  251. package/dist/commonjs/models/webhooks/sendfullreportcreated.js.map +1 -0
  252. package/dist/commonjs/models/webhooks/sendfullreportdestroyed.d.ts +42 -0
  253. package/dist/commonjs/models/webhooks/sendfullreportdestroyed.d.ts.map +1 -0
  254. package/dist/commonjs/models/webhooks/sendfullreportdestroyed.js +85 -0
  255. package/dist/commonjs/models/webhooks/sendfullreportdestroyed.js.map +1 -0
  256. package/dist/commonjs/models/webhooks/sendfullreportupdated.d.ts +42 -0
  257. package/dist/commonjs/models/webhooks/sendfullreportupdated.d.ts.map +1 -0
  258. package/dist/commonjs/models/webhooks/sendfullreportupdated.js +85 -0
  259. package/dist/commonjs/models/webhooks/sendfullreportupdated.js.map +1 -0
  260. package/dist/commonjs/react-query/companiesListCompanyManagerContacts.core.d.ts +12 -0
  261. package/dist/commonjs/react-query/companiesListCompanyManagerContacts.core.d.ts.map +1 -0
  262. package/dist/commonjs/react-query/companiesListCompanyManagerContacts.core.js +39 -0
  263. package/dist/commonjs/react-query/companiesListCompanyManagerContacts.core.js.map +1 -0
  264. package/dist/commonjs/react-query/companiesListCompanyManagerContacts.d.ts +33 -0
  265. package/dist/commonjs/react-query/companiesListCompanyManagerContacts.d.ts.map +1 -0
  266. package/dist/commonjs/react-query/companiesListCompanyManagerContacts.js +73 -0
  267. package/dist/commonjs/react-query/companiesListCompanyManagerContacts.js.map +1 -0
  268. package/dist/commonjs/react-query/index.d.ts +4 -0
  269. package/dist/commonjs/react-query/index.d.ts.map +1 -1
  270. package/dist/commonjs/react-query/index.js +4 -0
  271. package/dist/commonjs/react-query/index.js.map +1 -1
  272. package/dist/commonjs/react-query/lookupsLookupCompanyManagers.core.d.ts +14 -0
  273. package/dist/commonjs/react-query/lookupsLookupCompanyManagers.core.d.ts.map +1 -0
  274. package/dist/commonjs/react-query/lookupsLookupCompanyManagers.core.js +41 -0
  275. package/dist/commonjs/react-query/lookupsLookupCompanyManagers.core.js.map +1 -0
  276. package/dist/commonjs/react-query/lookupsLookupCompanyManagers.d.ts +33 -0
  277. package/dist/commonjs/react-query/lookupsLookupCompanyManagers.d.ts.map +1 -0
  278. package/dist/commonjs/react-query/lookupsLookupCompanyManagers.js +69 -0
  279. package/dist/commonjs/react-query/lookupsLookupCompanyManagers.js.map +1 -0
  280. package/dist/commonjs/react-query/lookupsLookupPostalCode.core.d.ts +16 -0
  281. package/dist/commonjs/react-query/lookupsLookupPostalCode.core.d.ts.map +1 -0
  282. package/dist/commonjs/react-query/lookupsLookupPostalCode.core.js +43 -0
  283. package/dist/commonjs/react-query/lookupsLookupPostalCode.core.js.map +1 -0
  284. package/dist/commonjs/react-query/lookupsLookupPostalCode.d.ts +71 -0
  285. package/dist/commonjs/react-query/lookupsLookupPostalCode.d.ts.map +1 -0
  286. package/dist/commonjs/react-query/lookupsLookupPostalCode.js +95 -0
  287. package/dist/commonjs/react-query/lookupsLookupPostalCode.js.map +1 -0
  288. package/dist/commonjs/react-query/organizationsExportCompanyTargetFacilities.core.d.ts +1 -0
  289. package/dist/commonjs/react-query/organizationsExportCompanyTargetFacilities.core.d.ts.map +1 -1
  290. package/dist/commonjs/react-query/organizationsExportCompanyTargetFacilities.core.js +1 -0
  291. package/dist/commonjs/react-query/organizationsExportCompanyTargetFacilities.core.js.map +1 -1
  292. package/dist/commonjs/react-query/organizationsExportCompanyTargetFacilities.d.ts +2 -0
  293. package/dist/commonjs/react-query/organizationsExportCompanyTargetFacilities.d.ts.map +1 -1
  294. package/dist/commonjs/react-query/organizationsExportCompanyTargetFacilities.js.map +1 -1
  295. package/dist/commonjs/react-query/organizationsListCompanyTargetFacilities.core.d.ts +2 -0
  296. package/dist/commonjs/react-query/organizationsListCompanyTargetFacilities.core.d.ts.map +1 -1
  297. package/dist/commonjs/react-query/organizationsListCompanyTargetFacilities.core.js +2 -0
  298. package/dist/commonjs/react-query/organizationsListCompanyTargetFacilities.core.js.map +1 -1
  299. package/dist/commonjs/react-query/organizationsListCompanyTargetFacilities.d.ts +2 -0
  300. package/dist/commonjs/react-query/organizationsListCompanyTargetFacilities.d.ts.map +1 -1
  301. package/dist/commonjs/react-query/organizationsListCompanyTargetFacilities.js.map +1 -1
  302. package/dist/commonjs/react-query/reportsGetFullReport.d.ts +6 -6
  303. package/dist/commonjs/react-query/reportsGetFullReport.js +6 -6
  304. package/dist/commonjs/react-query/usersPostAuthenticate.d.ts +37 -0
  305. package/dist/commonjs/react-query/usersPostAuthenticate.d.ts.map +1 -1
  306. package/dist/commonjs/react-query/usersPostAuthenticate.js +37 -0
  307. package/dist/commonjs/react-query/usersPostAuthenticate.js.map +1 -1
  308. package/dist/commonjs/react-query/usersUpdateUser.d.ts +6 -0
  309. package/dist/commonjs/react-query/usersUpdateUser.d.ts.map +1 -1
  310. package/dist/commonjs/react-query/usersUpdateUser.js +6 -0
  311. package/dist/commonjs/react-query/usersUpdateUser.js.map +1 -1
  312. package/dist/commonjs/react-query/vendorsCreateVendor.d.ts +4 -0
  313. package/dist/commonjs/react-query/vendorsCreateVendor.d.ts.map +1 -1
  314. package/dist/commonjs/react-query/vendorsCreateVendor.js +4 -0
  315. package/dist/commonjs/react-query/vendorsCreateVendor.js.map +1 -1
  316. package/dist/commonjs/react-query/vendorsGetVendorInvoiceDetails.d.ts +2 -0
  317. package/dist/commonjs/react-query/vendorsGetVendorInvoiceDetails.d.ts.map +1 -1
  318. package/dist/commonjs/react-query/vendorsGetVendorInvoiceDetails.js +2 -0
  319. package/dist/commonjs/react-query/vendorsGetVendorInvoiceDetails.js.map +1 -1
  320. package/dist/commonjs/react-query/vendorsGetVendorScreeningQuestions.core.d.ts +14 -0
  321. package/dist/commonjs/react-query/vendorsGetVendorScreeningQuestions.core.d.ts.map +1 -0
  322. package/dist/commonjs/react-query/vendorsGetVendorScreeningQuestions.core.js +42 -0
  323. package/dist/commonjs/react-query/vendorsGetVendorScreeningQuestions.core.js.map +1 -0
  324. package/dist/commonjs/react-query/vendorsGetVendorScreeningQuestions.d.ts +36 -0
  325. package/dist/commonjs/react-query/vendorsGetVendorScreeningQuestions.d.ts.map +1 -0
  326. package/dist/commonjs/react-query/vendorsGetVendorScreeningQuestions.js +69 -0
  327. package/dist/commonjs/react-query/vendorsGetVendorScreeningQuestions.js.map +1 -0
  328. package/dist/commonjs/react-query/vendorsUpdateVendorDetails.d.ts +9 -1
  329. package/dist/commonjs/react-query/vendorsUpdateVendorDetails.d.ts.map +1 -1
  330. package/dist/commonjs/react-query/vendorsUpdateVendorDetails.js +9 -1
  331. package/dist/commonjs/react-query/vendorsUpdateVendorDetails.js.map +1 -1
  332. package/dist/commonjs/sdk/companies.d.ts +9 -0
  333. package/dist/commonjs/sdk/companies.d.ts.map +1 -1
  334. package/dist/commonjs/sdk/companies.js +12 -0
  335. package/dist/commonjs/sdk/companies.js.map +1 -1
  336. package/dist/commonjs/sdk/lookups.d.ts +29 -0
  337. package/dist/commonjs/sdk/lookups.d.ts.map +1 -1
  338. package/dist/commonjs/sdk/lookups.js +35 -0
  339. package/dist/commonjs/sdk/lookups.js.map +1 -1
  340. package/dist/commonjs/sdk/reports.d.ts +3 -3
  341. package/dist/commonjs/sdk/reports.js +3 -3
  342. package/dist/commonjs/sdk/sdk.d.ts +3 -3
  343. package/dist/commonjs/sdk/sdk.d.ts.map +1 -1
  344. package/dist/commonjs/sdk/sdk.js +3 -3
  345. package/dist/commonjs/sdk/sdk.js.map +1 -1
  346. package/dist/commonjs/sdk/users.d.ts +43 -0
  347. package/dist/commonjs/sdk/users.d.ts.map +1 -1
  348. package/dist/commonjs/sdk/users.js +43 -0
  349. package/dist/commonjs/sdk/users.js.map +1 -1
  350. package/dist/commonjs/sdk/vendors.d.ts +21 -1
  351. package/dist/commonjs/sdk/vendors.d.ts.map +1 -1
  352. package/dist/commonjs/sdk/vendors.js +24 -1
  353. package/dist/commonjs/sdk/vendors.js.map +1 -1
  354. package/dist/esm/__tests__/companies.test.js +17 -0
  355. package/dist/esm/__tests__/companies.test.js.map +1 -1
  356. package/dist/esm/__tests__/doAdmin.test.js +53 -2
  357. package/dist/esm/__tests__/doAdmin.test.js.map +1 -1
  358. package/dist/esm/__tests__/getAppVersionStatus.test.d.ts +2 -0
  359. package/dist/esm/__tests__/getAppVersionStatus.test.d.ts.map +1 -0
  360. package/dist/esm/__tests__/getAppVersionStatus.test.js +37 -0
  361. package/dist/esm/__tests__/getAppVersionStatus.test.js.map +1 -0
  362. package/dist/esm/__tests__/kiosk.test.d.ts +2 -0
  363. package/dist/esm/__tests__/kiosk.test.d.ts.map +1 -0
  364. package/dist/esm/__tests__/kiosk.test.js +121 -0
  365. package/dist/esm/__tests__/kiosk.test.js.map +1 -0
  366. package/dist/esm/__tests__/lookups.test.js +45 -0
  367. package/dist/esm/__tests__/lookups.test.js.map +1 -1
  368. package/dist/esm/__tests__/vendors.test.js +29 -1
  369. package/dist/esm/__tests__/vendors.test.js.map +1 -1
  370. package/dist/esm/__tests__/webhooks.test.js +1 -1
  371. package/dist/esm/__tests__/webhooks.test.js.map +1 -1
  372. package/dist/esm/__tests__/zones.test.js +9 -43
  373. package/dist/esm/__tests__/zones.test.js.map +1 -1
  374. package/dist/esm/admin-funcs/dismissCommunication.d.ts +3 -0
  375. package/dist/esm/admin-funcs/dismissCommunication.d.ts.map +1 -0
  376. package/dist/esm/admin-funcs/dismissCommunication.js +17 -0
  377. package/dist/esm/admin-funcs/dismissCommunication.js.map +1 -0
  378. package/dist/esm/admin-funcs/doAdmin.d.ts +4 -0
  379. package/dist/esm/admin-funcs/doAdmin.d.ts.map +1 -1
  380. package/dist/esm/admin-funcs/doAdmin.js +57 -0
  381. package/dist/esm/admin-funcs/doAdmin.js.map +1 -1
  382. package/dist/esm/admin-funcs/getAppVersionStatus.d.ts +4 -0
  383. package/dist/esm/admin-funcs/getAppVersionStatus.d.ts.map +1 -0
  384. package/dist/esm/admin-funcs/getAppVersionStatus.js +15 -0
  385. package/dist/esm/admin-funcs/getAppVersionStatus.js.map +1 -0
  386. package/dist/esm/admin-funcs/kioskCreateEvent.d.ts +3 -0
  387. package/dist/esm/admin-funcs/kioskCreateEvent.d.ts.map +1 -0
  388. package/dist/esm/admin-funcs/kioskCreateEvent.js +8 -0
  389. package/dist/esm/admin-funcs/kioskCreateEvent.js.map +1 -0
  390. package/dist/esm/admin-funcs/kioskCreateKioskDevice.d.ts +7 -0
  391. package/dist/esm/admin-funcs/kioskCreateKioskDevice.d.ts.map +1 -0
  392. package/dist/esm/admin-funcs/kioskCreateKioskDevice.js +8 -0
  393. package/dist/esm/admin-funcs/kioskCreateKioskDevice.js.map +1 -0
  394. package/dist/esm/admin-funcs/kioskCreateZoneDevice.d.ts +3 -0
  395. package/dist/esm/admin-funcs/kioskCreateZoneDevice.d.ts.map +1 -0
  396. package/dist/esm/admin-funcs/kioskCreateZoneDevice.js +8 -0
  397. package/dist/esm/admin-funcs/kioskCreateZoneDevice.js.map +1 -0
  398. package/dist/esm/admin-funcs/kioskGetKioskDevice.d.ts +3 -0
  399. package/dist/esm/admin-funcs/kioskGetKioskDevice.d.ts.map +1 -0
  400. package/dist/esm/admin-funcs/kioskGetKioskDevice.js +8 -0
  401. package/dist/esm/admin-funcs/kioskGetKioskDevice.js.map +1 -0
  402. package/dist/esm/admin-funcs/kioskHeartbeat.d.ts +8 -0
  403. package/dist/esm/admin-funcs/kioskHeartbeat.d.ts.map +1 -0
  404. package/dist/esm/admin-funcs/kioskHeartbeat.js +8 -0
  405. package/dist/esm/admin-funcs/kioskHeartbeat.js.map +1 -0
  406. package/dist/esm/admin-funcs/kioskPing2.d.ts +4 -0
  407. package/dist/esm/admin-funcs/kioskPing2.d.ts.map +1 -0
  408. package/dist/esm/admin-funcs/kioskPing2.js +7 -0
  409. package/dist/esm/admin-funcs/kioskPing2.js.map +1 -0
  410. package/dist/esm/admin-funcs/kioskUpdateKioskDevice.d.ts +9 -0
  411. package/dist/esm/admin-funcs/kioskUpdateKioskDevice.d.ts.map +1 -0
  412. package/dist/esm/admin-funcs/kioskUpdateKioskDevice.js +7 -0
  413. package/dist/esm/admin-funcs/kioskUpdateKioskDevice.js.map +1 -0
  414. package/dist/esm/admin-funcs/listCommunications.d.ts +3 -0
  415. package/dist/esm/admin-funcs/listCommunications.d.ts.map +1 -0
  416. package/dist/esm/admin-funcs/listCommunications.js +22 -0
  417. package/dist/esm/admin-funcs/listCommunications.js.map +1 -0
  418. package/dist/esm/funcs/companiesListCompanyManagerContacts.d.ts +20 -0
  419. package/dist/esm/funcs/companiesListCompanyManagerContacts.d.ts.map +1 -0
  420. package/dist/esm/funcs/companiesListCompanyManagerContacts.js +90 -0
  421. package/dist/esm/funcs/companiesListCompanyManagerContacts.js.map +1 -0
  422. package/dist/esm/funcs/lookupsLookupCompanyManagers.d.ts +18 -0
  423. package/dist/esm/funcs/lookupsLookupCompanyManagers.d.ts.map +1 -0
  424. package/dist/esm/funcs/lookupsLookupCompanyManagers.js +85 -0
  425. package/dist/esm/funcs/lookupsLookupCompanyManagers.js.map +1 -0
  426. package/dist/esm/funcs/lookupsLookupPostalCode.d.ts +35 -0
  427. package/dist/esm/funcs/lookupsLookupPostalCode.d.ts.map +1 -0
  428. package/dist/esm/funcs/lookupsLookupPostalCode.js +104 -0
  429. package/dist/esm/funcs/lookupsLookupPostalCode.js.map +1 -0
  430. package/dist/esm/funcs/organizationsExportCompanyTargetFacilities.js +5 -3
  431. package/dist/esm/funcs/organizationsExportCompanyTargetFacilities.js.map +1 -1
  432. package/dist/esm/funcs/organizationsListCompanyTargetFacilities.js +1 -0
  433. package/dist/esm/funcs/organizationsListCompanyTargetFacilities.js.map +1 -1
  434. package/dist/esm/funcs/reportsGetFullReport.d.ts +3 -3
  435. package/dist/esm/funcs/reportsGetFullReport.js +3 -3
  436. package/dist/esm/funcs/usersPostAuthenticate.d.ts +37 -0
  437. package/dist/esm/funcs/usersPostAuthenticate.d.ts.map +1 -1
  438. package/dist/esm/funcs/usersPostAuthenticate.js +37 -0
  439. package/dist/esm/funcs/usersPostAuthenticate.js.map +1 -1
  440. package/dist/esm/funcs/usersUpdateUser.d.ts +6 -0
  441. package/dist/esm/funcs/usersUpdateUser.d.ts.map +1 -1
  442. package/dist/esm/funcs/usersUpdateUser.js +6 -0
  443. package/dist/esm/funcs/usersUpdateUser.js.map +1 -1
  444. package/dist/esm/funcs/validateWebhook.d.ts +1 -1
  445. package/dist/esm/funcs/validateWebhook.d.ts.map +1 -1
  446. package/dist/esm/funcs/validateWebhook.js +3 -0
  447. package/dist/esm/funcs/validateWebhook.js.map +1 -1
  448. package/dist/esm/funcs/vendorsCreateVendor.d.ts +4 -0
  449. package/dist/esm/funcs/vendorsCreateVendor.d.ts.map +1 -1
  450. package/dist/esm/funcs/vendorsCreateVendor.js +4 -0
  451. package/dist/esm/funcs/vendorsCreateVendor.js.map +1 -1
  452. package/dist/esm/funcs/vendorsGetVendorInvoiceDetails.d.ts +1 -0
  453. package/dist/esm/funcs/vendorsGetVendorInvoiceDetails.d.ts.map +1 -1
  454. package/dist/esm/funcs/vendorsGetVendorInvoiceDetails.js +1 -0
  455. package/dist/esm/funcs/vendorsGetVendorInvoiceDetails.js.map +1 -1
  456. package/dist/esm/funcs/vendorsGetVendorScreeningQuestions.d.ts +18 -0
  457. package/dist/esm/funcs/vendorsGetVendorScreeningQuestions.d.ts.map +1 -0
  458. package/dist/esm/funcs/vendorsGetVendorScreeningQuestions.js +92 -0
  459. package/dist/esm/funcs/vendorsGetVendorScreeningQuestions.js.map +1 -0
  460. package/dist/esm/funcs/vendorsSendDownloadCode.js +1 -1
  461. package/dist/esm/funcs/vendorsSendDownloadCode.js.map +1 -1
  462. package/dist/esm/funcs/vendorsUpdateVendorDetails.d.ts +9 -1
  463. package/dist/esm/funcs/vendorsUpdateVendorDetails.d.ts.map +1 -1
  464. package/dist/esm/funcs/vendorsUpdateVendorDetails.js +9 -1
  465. package/dist/esm/funcs/vendorsUpdateVendorDetails.js.map +1 -1
  466. package/dist/esm/index.extras.d.ts +24 -0
  467. package/dist/esm/index.extras.d.ts.map +1 -1
  468. package/dist/esm/index.extras.js +26 -0
  469. package/dist/esm/index.extras.js.map +1 -1
  470. package/dist/esm/lib/config.d.ts +4 -4
  471. package/dist/esm/lib/config.js +4 -4
  472. package/dist/esm/lib/config.js.map +1 -1
  473. package/dist/esm/models/components/alert.d.ts +3 -2
  474. package/dist/esm/models/components/alert.d.ts.map +1 -1
  475. package/dist/esm/models/components/alert.js +2 -0
  476. package/dist/esm/models/components/alert.js.map +1 -1
  477. package/dist/esm/models/components/authenticatesuccessresponse.d.ts +91 -0
  478. package/dist/esm/models/components/authenticatesuccessresponse.d.ts.map +1 -0
  479. package/dist/esm/models/components/authenticatesuccessresponse.js +61 -0
  480. package/dist/esm/models/components/authenticatesuccessresponse.js.map +1 -0
  481. package/dist/esm/models/components/companymanagerlookup.d.ts +19 -0
  482. package/dist/esm/models/components/companymanagerlookup.d.ts.map +1 -0
  483. package/dist/esm/models/components/companymanagerlookup.js +23 -0
  484. package/dist/esm/models/components/companymanagerlookup.js.map +1 -0
  485. package/dist/esm/models/components/contact.d.ts +6 -6
  486. package/dist/esm/models/components/contact.d.ts.map +1 -1
  487. package/dist/esm/models/components/contact.js +6 -6
  488. package/dist/esm/models/components/contact.js.map +1 -1
  489. package/dist/esm/models/components/expand.d.ts +2 -0
  490. package/dist/esm/models/components/expand.d.ts.map +1 -1
  491. package/dist/esm/models/components/expand.js +2 -0
  492. package/dist/esm/models/components/expand.js.map +1 -1
  493. package/dist/esm/models/components/fullreport.d.ts +107 -0
  494. package/dist/esm/models/components/fullreport.d.ts.map +1 -0
  495. package/dist/esm/models/components/fullreport.js +87 -0
  496. package/dist/esm/models/components/fullreport.js.map +1 -0
  497. package/dist/esm/models/components/index.d.ts +6 -0
  498. package/dist/esm/models/components/index.d.ts.map +1 -1
  499. package/dist/esm/models/components/index.js +6 -0
  500. package/dist/esm/models/components/index.js.map +1 -1
  501. package/dist/esm/models/components/invoice.d.ts +30 -6
  502. package/dist/esm/models/components/invoice.d.ts.map +1 -1
  503. package/dist/esm/models/components/invoice.js +36 -0
  504. package/dist/esm/models/components/invoice.js.map +1 -1
  505. package/dist/esm/models/components/loginemailandpassword.d.ts +34 -0
  506. package/dist/esm/models/components/loginemailandpassword.d.ts.map +1 -1
  507. package/dist/esm/models/components/loginemailandpassword.js +2 -0
  508. package/dist/esm/models/components/loginemailandpassword.js.map +1 -1
  509. package/dist/esm/models/components/loginrequirementsfromemail.d.ts +34 -0
  510. package/dist/esm/models/components/loginrequirementsfromemail.d.ts.map +1 -1
  511. package/dist/esm/models/components/loginrequirementsfromemail.js +2 -0
  512. package/dist/esm/models/components/loginrequirementsfromemail.js.map +1 -1
  513. package/dist/esm/models/components/mfarequiredresponse.d.ts +33 -0
  514. package/dist/esm/models/components/mfarequiredresponse.d.ts.map +1 -1
  515. package/dist/esm/models/components/mfarequiredresponse.js +2 -0
  516. package/dist/esm/models/components/mfarequiredresponse.js.map +1 -1
  517. package/dist/esm/models/components/passwordnotsetresponse.d.ts +34 -1
  518. package/dist/esm/models/components/passwordnotsetresponse.d.ts.map +1 -1
  519. package/dist/esm/models/components/passwordnotsetresponse.js +2 -0
  520. package/dist/esm/models/components/passwordnotsetresponse.js.map +1 -1
  521. package/dist/esm/models/components/passwordrequiredresponse.d.ts +33 -0
  522. package/dist/esm/models/components/passwordrequiredresponse.d.ts.map +1 -1
  523. package/dist/esm/models/components/passwordrequiredresponse.js +6 -0
  524. package/dist/esm/models/components/passwordrequiredresponse.js.map +1 -1
  525. package/dist/esm/models/components/samlloginrequiredresponse.d.ts +33 -0
  526. package/dist/esm/models/components/samlloginrequiredresponse.d.ts.map +1 -1
  527. package/dist/esm/models/components/samlloginrequiredresponse.js +2 -0
  528. package/dist/esm/models/components/samlloginrequiredresponse.js.map +1 -1
  529. package/dist/esm/models/components/ssocontinuation.d.ts +44 -0
  530. package/dist/esm/models/components/ssocontinuation.d.ts.map +1 -0
  531. package/dist/esm/models/components/ssocontinuation.js +19 -0
  532. package/dist/esm/models/components/ssocontinuation.js.map +1 -0
  533. package/dist/esm/models/components/system.d.ts +18 -0
  534. package/dist/esm/models/components/system.d.ts.map +1 -0
  535. package/dist/esm/models/components/system.js +17 -0
  536. package/dist/esm/models/components/system.js.map +1 -0
  537. package/dist/esm/models/components/vendorcredentialsummary.d.ts +5 -2
  538. package/dist/esm/models/components/vendorcredentialsummary.d.ts.map +1 -1
  539. package/dist/esm/models/components/vendorcredentialsummary.js +2 -2
  540. package/dist/esm/models/components/vendorcredentialsummary.js.map +1 -1
  541. package/dist/esm/models/components/vendortargetfacility.d.ts +4 -0
  542. package/dist/esm/models/components/vendortargetfacility.d.ts.map +1 -1
  543. package/dist/esm/models/components/vendortargetfacility.js +2 -0
  544. package/dist/esm/models/components/vendortargetfacility.js.map +1 -1
  545. package/dist/esm/models/components/vendortargetfacilityscreeningresponse.d.ts +34 -0
  546. package/dist/esm/models/components/vendortargetfacilityscreeningresponse.d.ts.map +1 -0
  547. package/dist/esm/models/components/vendortargetfacilityscreeningresponse.js +27 -0
  548. package/dist/esm/models/components/vendortargetfacilityscreeningresponse.js.map +1 -0
  549. package/dist/esm/models/components/webhooksubscription.d.ts +3 -0
  550. package/dist/esm/models/components/webhooksubscription.d.ts.map +1 -1
  551. package/dist/esm/models/components/webhooksubscription.js +3 -0
  552. package/dist/esm/models/components/webhooksubscription.js.map +1 -1
  553. package/dist/esm/models/components/webhooksubscriptiondetail.d.ts +1 -0
  554. package/dist/esm/models/components/webhooksubscriptiondetail.d.ts.map +1 -1
  555. package/dist/esm/models/components/webhooksubscriptiondetail.js +1 -0
  556. package/dist/esm/models/components/webhooksubscriptiondetail.js.map +1 -1
  557. package/dist/esm/models/operations/createinvoice.d.ts +25 -0
  558. package/dist/esm/models/operations/createinvoice.d.ts.map +1 -1
  559. package/dist/esm/models/operations/createinvoice.js +5 -0
  560. package/dist/esm/models/operations/createinvoice.js.map +1 -1
  561. package/dist/esm/models/operations/createvendorcompany.d.ts +7 -1
  562. package/dist/esm/models/operations/createvendorcompany.d.ts.map +1 -1
  563. package/dist/esm/models/operations/createvendorcompany.js.map +1 -1
  564. package/dist/esm/models/operations/exportcompanytargetfacilities.d.ts +5 -0
  565. package/dist/esm/models/operations/exportcompanytargetfacilities.d.ts.map +1 -1
  566. package/dist/esm/models/operations/exportcompanytargetfacilities.js +2 -0
  567. package/dist/esm/models/operations/exportcompanytargetfacilities.js.map +1 -1
  568. package/dist/esm/models/operations/getvendorscreeningquestions.d.ts +46 -0
  569. package/dist/esm/models/operations/getvendorscreeningquestions.d.ts.map +1 -0
  570. package/dist/esm/models/operations/getvendorscreeningquestions.js +36 -0
  571. package/dist/esm/models/operations/getvendorscreeningquestions.js.map +1 -0
  572. package/dist/esm/models/operations/index.d.ts +4 -0
  573. package/dist/esm/models/operations/index.d.ts.map +1 -1
  574. package/dist/esm/models/operations/index.js +4 -0
  575. package/dist/esm/models/operations/index.js.map +1 -1
  576. package/dist/esm/models/operations/listcompanymanagercontacts.d.ts +27 -0
  577. package/dist/esm/models/operations/listcompanymanagercontacts.d.ts.map +1 -0
  578. package/dist/esm/models/operations/listcompanymanagercontacts.js +27 -0
  579. package/dist/esm/models/operations/listcompanymanagercontacts.js.map +1 -0
  580. package/dist/esm/models/operations/listcompanytargetfacilities.d.ts +5 -0
  581. package/dist/esm/models/operations/listcompanytargetfacilities.d.ts.map +1 -1
  582. package/dist/esm/models/operations/listcompanytargetfacilities.js +2 -0
  583. package/dist/esm/models/operations/listcompanytargetfacilities.js.map +1 -1
  584. package/dist/esm/models/operations/lookupcompanymanagers.d.ts +27 -0
  585. package/dist/esm/models/operations/lookupcompanymanagers.d.ts.map +1 -0
  586. package/dist/esm/models/operations/lookupcompanymanagers.js +26 -0
  587. package/dist/esm/models/operations/lookupcompanymanagers.js.map +1 -0
  588. package/dist/esm/models/operations/lookuppostalcode.d.ts +59 -0
  589. package/dist/esm/models/operations/lookuppostalcode.d.ts.map +1 -0
  590. package/dist/esm/models/operations/lookuppostalcode.js +43 -0
  591. package/dist/esm/models/operations/lookuppostalcode.js.map +1 -0
  592. package/dist/esm/models/operations/postauthenticate.d.ts +1 -1
  593. package/dist/esm/models/operations/postauthenticate.d.ts.map +1 -1
  594. package/dist/esm/models/operations/postauthenticate.js +1 -1
  595. package/dist/esm/models/operations/postauthenticate.js.map +1 -1
  596. package/dist/esm/models/webhooks/index.d.ts +3 -0
  597. package/dist/esm/models/webhooks/index.d.ts.map +1 -1
  598. package/dist/esm/models/webhooks/index.js +3 -0
  599. package/dist/esm/models/webhooks/index.js.map +1 -1
  600. package/dist/esm/models/webhooks/sendfullreportcreated.d.ts +42 -0
  601. package/dist/esm/models/webhooks/sendfullreportcreated.d.ts.map +1 -0
  602. package/dist/esm/models/webhooks/sendfullreportcreated.js +47 -0
  603. package/dist/esm/models/webhooks/sendfullreportcreated.js.map +1 -0
  604. package/dist/esm/models/webhooks/sendfullreportdestroyed.d.ts +42 -0
  605. package/dist/esm/models/webhooks/sendfullreportdestroyed.d.ts.map +1 -0
  606. package/dist/esm/models/webhooks/sendfullreportdestroyed.js +47 -0
  607. package/dist/esm/models/webhooks/sendfullreportdestroyed.js.map +1 -0
  608. package/dist/esm/models/webhooks/sendfullreportupdated.d.ts +42 -0
  609. package/dist/esm/models/webhooks/sendfullreportupdated.d.ts.map +1 -0
  610. package/dist/esm/models/webhooks/sendfullreportupdated.js +47 -0
  611. package/dist/esm/models/webhooks/sendfullreportupdated.js.map +1 -0
  612. package/dist/esm/react-query/companiesListCompanyManagerContacts.core.d.ts +12 -0
  613. package/dist/esm/react-query/companiesListCompanyManagerContacts.core.d.ts.map +1 -0
  614. package/dist/esm/react-query/companiesListCompanyManagerContacts.core.js +34 -0
  615. package/dist/esm/react-query/companiesListCompanyManagerContacts.core.js.map +1 -0
  616. package/dist/esm/react-query/companiesListCompanyManagerContacts.d.ts +33 -0
  617. package/dist/esm/react-query/companiesListCompanyManagerContacts.d.ts.map +1 -0
  618. package/dist/esm/react-query/companiesListCompanyManagerContacts.js +63 -0
  619. package/dist/esm/react-query/companiesListCompanyManagerContacts.js.map +1 -0
  620. package/dist/esm/react-query/index.d.ts +4 -0
  621. package/dist/esm/react-query/index.d.ts.map +1 -1
  622. package/dist/esm/react-query/index.js +4 -0
  623. package/dist/esm/react-query/index.js.map +1 -1
  624. package/dist/esm/react-query/lookupsLookupCompanyManagers.core.d.ts +14 -0
  625. package/dist/esm/react-query/lookupsLookupCompanyManagers.core.d.ts.map +1 -0
  626. package/dist/esm/react-query/lookupsLookupCompanyManagers.core.js +36 -0
  627. package/dist/esm/react-query/lookupsLookupCompanyManagers.core.js.map +1 -0
  628. package/dist/esm/react-query/lookupsLookupCompanyManagers.d.ts +33 -0
  629. package/dist/esm/react-query/lookupsLookupCompanyManagers.d.ts.map +1 -0
  630. package/dist/esm/react-query/lookupsLookupCompanyManagers.js +59 -0
  631. package/dist/esm/react-query/lookupsLookupCompanyManagers.js.map +1 -0
  632. package/dist/esm/react-query/lookupsLookupPostalCode.core.d.ts +16 -0
  633. package/dist/esm/react-query/lookupsLookupPostalCode.core.d.ts.map +1 -0
  634. package/dist/esm/react-query/lookupsLookupPostalCode.core.js +38 -0
  635. package/dist/esm/react-query/lookupsLookupPostalCode.core.js.map +1 -0
  636. package/dist/esm/react-query/lookupsLookupPostalCode.d.ts +71 -0
  637. package/dist/esm/react-query/lookupsLookupPostalCode.d.ts.map +1 -0
  638. package/dist/esm/react-query/lookupsLookupPostalCode.js +85 -0
  639. package/dist/esm/react-query/lookupsLookupPostalCode.js.map +1 -0
  640. package/dist/esm/react-query/organizationsExportCompanyTargetFacilities.core.d.ts +1 -0
  641. package/dist/esm/react-query/organizationsExportCompanyTargetFacilities.core.d.ts.map +1 -1
  642. package/dist/esm/react-query/organizationsExportCompanyTargetFacilities.core.js +1 -0
  643. package/dist/esm/react-query/organizationsExportCompanyTargetFacilities.core.js.map +1 -1
  644. package/dist/esm/react-query/organizationsExportCompanyTargetFacilities.d.ts +2 -0
  645. package/dist/esm/react-query/organizationsExportCompanyTargetFacilities.d.ts.map +1 -1
  646. package/dist/esm/react-query/organizationsExportCompanyTargetFacilities.js.map +1 -1
  647. package/dist/esm/react-query/organizationsListCompanyTargetFacilities.core.d.ts +2 -0
  648. package/dist/esm/react-query/organizationsListCompanyTargetFacilities.core.d.ts.map +1 -1
  649. package/dist/esm/react-query/organizationsListCompanyTargetFacilities.core.js +2 -0
  650. package/dist/esm/react-query/organizationsListCompanyTargetFacilities.core.js.map +1 -1
  651. package/dist/esm/react-query/organizationsListCompanyTargetFacilities.d.ts +2 -0
  652. package/dist/esm/react-query/organizationsListCompanyTargetFacilities.d.ts.map +1 -1
  653. package/dist/esm/react-query/organizationsListCompanyTargetFacilities.js.map +1 -1
  654. package/dist/esm/react-query/reportsGetFullReport.d.ts +6 -6
  655. package/dist/esm/react-query/reportsGetFullReport.js +6 -6
  656. package/dist/esm/react-query/usersPostAuthenticate.d.ts +37 -0
  657. package/dist/esm/react-query/usersPostAuthenticate.d.ts.map +1 -1
  658. package/dist/esm/react-query/usersPostAuthenticate.js +37 -0
  659. package/dist/esm/react-query/usersPostAuthenticate.js.map +1 -1
  660. package/dist/esm/react-query/usersUpdateUser.d.ts +6 -0
  661. package/dist/esm/react-query/usersUpdateUser.d.ts.map +1 -1
  662. package/dist/esm/react-query/usersUpdateUser.js +6 -0
  663. package/dist/esm/react-query/usersUpdateUser.js.map +1 -1
  664. package/dist/esm/react-query/vendorsCreateVendor.d.ts +4 -0
  665. package/dist/esm/react-query/vendorsCreateVendor.d.ts.map +1 -1
  666. package/dist/esm/react-query/vendorsCreateVendor.js +4 -0
  667. package/dist/esm/react-query/vendorsCreateVendor.js.map +1 -1
  668. package/dist/esm/react-query/vendorsGetVendorInvoiceDetails.d.ts +2 -0
  669. package/dist/esm/react-query/vendorsGetVendorInvoiceDetails.d.ts.map +1 -1
  670. package/dist/esm/react-query/vendorsGetVendorInvoiceDetails.js +2 -0
  671. package/dist/esm/react-query/vendorsGetVendorInvoiceDetails.js.map +1 -1
  672. package/dist/esm/react-query/vendorsGetVendorScreeningQuestions.core.d.ts +14 -0
  673. package/dist/esm/react-query/vendorsGetVendorScreeningQuestions.core.d.ts.map +1 -0
  674. package/dist/esm/react-query/vendorsGetVendorScreeningQuestions.core.js +37 -0
  675. package/dist/esm/react-query/vendorsGetVendorScreeningQuestions.core.js.map +1 -0
  676. package/dist/esm/react-query/vendorsGetVendorScreeningQuestions.d.ts +36 -0
  677. package/dist/esm/react-query/vendorsGetVendorScreeningQuestions.d.ts.map +1 -0
  678. package/dist/esm/react-query/vendorsGetVendorScreeningQuestions.js +59 -0
  679. package/dist/esm/react-query/vendorsGetVendorScreeningQuestions.js.map +1 -0
  680. package/dist/esm/react-query/vendorsUpdateVendorDetails.d.ts +9 -1
  681. package/dist/esm/react-query/vendorsUpdateVendorDetails.d.ts.map +1 -1
  682. package/dist/esm/react-query/vendorsUpdateVendorDetails.js +9 -1
  683. package/dist/esm/react-query/vendorsUpdateVendorDetails.js.map +1 -1
  684. package/dist/esm/sdk/companies.d.ts +9 -0
  685. package/dist/esm/sdk/companies.d.ts.map +1 -1
  686. package/dist/esm/sdk/companies.js +12 -0
  687. package/dist/esm/sdk/companies.js.map +1 -1
  688. package/dist/esm/sdk/lookups.d.ts +29 -0
  689. package/dist/esm/sdk/lookups.d.ts.map +1 -1
  690. package/dist/esm/sdk/lookups.js +35 -0
  691. package/dist/esm/sdk/lookups.js.map +1 -1
  692. package/dist/esm/sdk/reports.d.ts +3 -3
  693. package/dist/esm/sdk/reports.js +3 -3
  694. package/dist/esm/sdk/sdk.d.ts +3 -3
  695. package/dist/esm/sdk/sdk.d.ts.map +1 -1
  696. package/dist/esm/sdk/sdk.js +3 -3
  697. package/dist/esm/sdk/sdk.js.map +1 -1
  698. package/dist/esm/sdk/users.d.ts +43 -0
  699. package/dist/esm/sdk/users.d.ts.map +1 -1
  700. package/dist/esm/sdk/users.js +43 -0
  701. package/dist/esm/sdk/users.js.map +1 -1
  702. package/dist/esm/sdk/vendors.d.ts +21 -1
  703. package/dist/esm/sdk/vendors.d.ts.map +1 -1
  704. package/dist/esm/sdk/vendors.js +24 -1
  705. package/dist/esm/sdk/vendors.js.map +1 -1
  706. package/jsr.json +1 -1
  707. package/package.json +1 -1
  708. package/src/__tests__/companies.test.ts +20 -0
  709. package/src/__tests__/doAdmin.test.ts +74 -1
  710. package/src/__tests__/getAppVersionStatus.test.ts +60 -0
  711. package/src/__tests__/kiosk.test.ts +163 -0
  712. package/src/__tests__/lookups.test.ts +51 -0
  713. package/src/__tests__/vendors.test.ts +32 -1
  714. package/src/__tests__/webhooks.test.ts +1 -1
  715. package/src/__tests__/zones.test.ts +9 -43
  716. package/src/admin-funcs/dismissCommunication.ts +20 -0
  717. package/src/admin-funcs/doAdmin.ts +107 -0
  718. package/src/admin-funcs/getAppVersionStatus.ts +21 -0
  719. package/src/admin-funcs/kioskCreateEvent.ts +18 -0
  720. package/src/admin-funcs/kioskCreateKioskDevice.ts +17 -0
  721. package/src/admin-funcs/kioskCreateZoneDevice.ts +17 -0
  722. package/src/admin-funcs/kioskGetKioskDevice.ts +16 -0
  723. package/src/admin-funcs/kioskHeartbeat.ts +23 -0
  724. package/src/admin-funcs/kioskPing2.ts +10 -0
  725. package/src/admin-funcs/kioskUpdateKioskDevice.ts +23 -0
  726. package/src/admin-funcs/listCommunications.ts +29 -0
  727. package/src/funcs/companiesListCompanyManagerContacts.ts +184 -0
  728. package/src/funcs/lookupsLookupCompanyManagers.ts +178 -0
  729. package/src/funcs/lookupsLookupPostalCode.ts +193 -0
  730. package/src/funcs/organizationsExportCompanyTargetFacilities.ts +20 -15
  731. package/src/funcs/organizationsListCompanyTargetFacilities.ts +1 -0
  732. package/src/funcs/reportsGetFullReport.ts +3 -3
  733. package/src/funcs/usersPostAuthenticate.ts +37 -0
  734. package/src/funcs/usersUpdateUser.ts +6 -0
  735. package/src/funcs/validateWebhook.ts +6 -0
  736. package/src/funcs/vendorsCreateVendor.ts +4 -0
  737. package/src/funcs/vendorsGetVendorInvoiceDetails.ts +1 -0
  738. package/src/funcs/vendorsGetVendorScreeningQuestions.ts +187 -0
  739. package/src/funcs/vendorsSendDownloadCode.ts +1 -0
  740. package/src/funcs/vendorsUpdateVendorDetails.ts +9 -1
  741. package/src/index.extras.ts +29 -0
  742. package/src/lib/config.ts +4 -4
  743. package/src/models/components/alert.ts +5 -2
  744. package/src/models/components/authenticatesuccessresponse.ts +189 -0
  745. package/src/models/components/companymanagerlookup.ts +50 -0
  746. package/src/models/components/contact.ts +16 -13
  747. package/src/models/components/expand.ts +3 -0
  748. package/src/models/components/fullreport.ts +193 -0
  749. package/src/models/components/index.ts +6 -0
  750. package/src/models/components/invoice.ts +89 -6
  751. package/src/models/components/loginemailandpassword.ts +36 -0
  752. package/src/models/components/loginrequirementsfromemail.ts +36 -0
  753. package/src/models/components/mfarequiredresponse.ts +35 -0
  754. package/src/models/components/passwordnotsetresponse.ts +36 -1
  755. package/src/models/components/passwordrequiredresponse.ts +39 -0
  756. package/src/models/components/samlloginrequiredresponse.ts +35 -0
  757. package/src/models/components/ssocontinuation.ts +71 -0
  758. package/src/models/components/system.ts +39 -0
  759. package/src/models/components/vendorcredentialsummary.ts +6 -3
  760. package/src/models/components/vendortargetfacility.ts +6 -0
  761. package/src/models/components/vendortargetfacilityscreeningresponse.ts +70 -0
  762. package/src/models/components/webhooksubscription.ts +3 -0
  763. package/src/models/components/webhooksubscriptiondetail.ts +1 -0
  764. package/src/models/operations/createinvoice.ts +30 -0
  765. package/src/models/operations/createvendorcompany.ts +7 -1
  766. package/src/models/operations/exportcompanytargetfacilities.ts +7 -0
  767. package/src/models/operations/getvendorscreeningquestions.ts +107 -0
  768. package/src/models/operations/index.ts +4 -0
  769. package/src/models/operations/listcompanymanagercontacts.ts +77 -0
  770. package/src/models/operations/listcompanytargetfacilities.ts +7 -0
  771. package/src/models/operations/lookupcompanymanagers.ts +78 -0
  772. package/src/models/operations/lookuppostalcode.ts +118 -0
  773. package/src/models/operations/postauthenticate.ts +2 -2
  774. package/src/models/webhooks/index.ts +3 -0
  775. package/src/models/webhooks/sendfullreportcreated.ts +104 -0
  776. package/src/models/webhooks/sendfullreportdestroyed.ts +104 -0
  777. package/src/models/webhooks/sendfullreportupdated.ts +104 -0
  778. package/src/react-query/companiesListCompanyManagerContacts.core.ts +78 -0
  779. package/src/react-query/companiesListCompanyManagerContacts.ts +154 -0
  780. package/src/react-query/index.ts +4 -0
  781. package/src/react-query/lookupsLookupCompanyManagers.core.ts +80 -0
  782. package/src/react-query/lookupsLookupCompanyManagers.ts +147 -0
  783. package/src/react-query/lookupsLookupPostalCode.core.ts +82 -0
  784. package/src/react-query/lookupsLookupPostalCode.ts +177 -0
  785. package/src/react-query/organizationsExportCompanyTargetFacilities.core.ts +2 -0
  786. package/src/react-query/organizationsExportCompanyTargetFacilities.ts +2 -0
  787. package/src/react-query/organizationsListCompanyTargetFacilities.core.ts +4 -0
  788. package/src/react-query/organizationsListCompanyTargetFacilities.ts +2 -0
  789. package/src/react-query/reportsGetFullReport.ts +6 -6
  790. package/src/react-query/usersPostAuthenticate.ts +37 -0
  791. package/src/react-query/usersUpdateUser.ts +6 -0
  792. package/src/react-query/vendorsCreateVendor.ts +4 -0
  793. package/src/react-query/vendorsGetVendorInvoiceDetails.ts +2 -0
  794. package/src/react-query/vendorsGetVendorScreeningQuestions.core.ts +82 -0
  795. package/src/react-query/vendorsGetVendorScreeningQuestions.ts +152 -0
  796. package/src/react-query/vendorsUpdateVendorDetails.ts +9 -1
  797. package/src/sdk/companies.ts +22 -0
  798. package/src/sdk/lookups.ts +51 -0
  799. package/src/sdk/reports.ts +3 -3
  800. package/src/sdk/sdk.ts +8 -5
  801. package/src/sdk/users.ts +43 -0
  802. package/src/sdk/vendors.ts +34 -1
@@ -69,9 +69,6 @@ export type InvoiceType = OpenEnum<typeof InvoiceType>;
69
69
  *
70
70
  * This is used exclusively to control the visibility of the "Make Payment" button in the UI.
71
71
  * It is not used for any other invoice logic or backend decision-making.
72
- *
73
- * Frontend should compare the logged-in user's ID (for vendors) or company_id (for company managers)
74
- * with these arrays to determine if the payment button should be shown.
75
72
  */
76
73
  export type MayPayInvoice = {
77
74
  /**
@@ -84,6 +81,16 @@ export type MayPayInvoice = {
84
81
  companies?: Array<number> | undefined;
85
82
  };
86
83
 
84
+ export type AssociatedCredentials = {
85
+ id: number;
86
+ vendorId: number | null;
87
+ companyId: number | null;
88
+ /**
89
+ * True when the credential's invoice is paid but its required info has not been submitted yet.
90
+ */
91
+ awaitingSubmission: boolean;
92
+ };
93
+
87
94
  /**
88
95
  * A simplified representation of an Invoice
89
96
  */
@@ -131,11 +138,15 @@ export type Invoice = {
131
138
  *
132
139
  * This is used exclusively to control the visibility of the "Make Payment" button in the UI.
133
140
  * It is not used for any other invoice logic or backend decision-making.
134
- *
135
- * Frontend should compare the logged-in user's ID (for vendors) or company_id (for company managers)
136
- * with these arrays to determine if the payment button should be shown.
137
141
  */
138
142
  mayPayInvoice?: MayPayInvoice | null | undefined;
143
+ /**
144
+ * Credentials this invoice pays for, including those on its child invoices, limited to the ones the caller can read. Only included when `invoice.associated_credentials` is requested in the expand parameter.
145
+ *
146
+ * @remarks
147
+ * Frontend should compare the logged-in user's ID (for vendors) or company_id (for company managers) with these arrays to determine if the payment button should be shown.
148
+ */
149
+ associatedCredentials?: Array<AssociatedCredentials> | null | undefined;
139
150
  };
140
151
 
141
152
  /** @internal */
@@ -243,6 +254,66 @@ export function mayPayInvoiceFromJSON(
243
254
  );
244
255
  }
245
256
 
257
+ /** @internal */
258
+ export const AssociatedCredentials$inboundSchema: z.ZodType<
259
+ AssociatedCredentials,
260
+ z.ZodTypeDef,
261
+ unknown
262
+ > = z.object({
263
+ id: types.number(),
264
+ vendor_id: types.nullable(types.number()),
265
+ company_id: types.nullable(types.number()),
266
+ awaiting_submission: types.boolean(),
267
+ }).transform((v) => {
268
+ return remap$(v, {
269
+ "vendor_id": "vendorId",
270
+ "company_id": "companyId",
271
+ "awaiting_submission": "awaitingSubmission",
272
+ });
273
+ });
274
+ /** @internal */
275
+ export type AssociatedCredentials$Outbound = {
276
+ id: number;
277
+ vendor_id: number | null;
278
+ company_id: number | null;
279
+ awaiting_submission: boolean;
280
+ };
281
+
282
+ /** @internal */
283
+ export const AssociatedCredentials$outboundSchema: z.ZodType<
284
+ AssociatedCredentials$Outbound,
285
+ z.ZodTypeDef,
286
+ AssociatedCredentials
287
+ > = z.object({
288
+ id: z.number().int(),
289
+ vendorId: z.nullable(z.number().int()),
290
+ companyId: z.nullable(z.number().int()),
291
+ awaitingSubmission: z.boolean(),
292
+ }).transform((v) => {
293
+ return remap$(v, {
294
+ vendorId: "vendor_id",
295
+ companyId: "company_id",
296
+ awaitingSubmission: "awaiting_submission",
297
+ });
298
+ });
299
+
300
+ export function associatedCredentialsToJSON(
301
+ associatedCredentials: AssociatedCredentials,
302
+ ): string {
303
+ return JSON.stringify(
304
+ AssociatedCredentials$outboundSchema.parse(associatedCredentials),
305
+ );
306
+ }
307
+ export function associatedCredentialsFromJSON(
308
+ jsonString: string,
309
+ ): SafeParseResult<AssociatedCredentials, SDKValidationError> {
310
+ return safeParse(
311
+ jsonString,
312
+ (x) => AssociatedCredentials$inboundSchema.parse(JSON.parse(x)),
313
+ `Failed to parse 'AssociatedCredentials' from JSON`,
314
+ );
315
+ }
316
+
246
317
  /** @internal */
247
318
  export const Invoice$inboundSchema: z.ZodType<Invoice, z.ZodTypeDef, unknown> =
248
319
  z.object({
@@ -269,6 +340,9 @@ export const Invoice$inboundSchema: z.ZodType<Invoice, z.ZodTypeDef, unknown> =
269
340
  invoice_type: types.optional(InvoiceType$inboundSchema),
270
341
  may_pay_invoice: z.nullable(z.lazy(() => MayPayInvoice$inboundSchema))
271
342
  .optional(),
343
+ associated_credentials: z.nullable(
344
+ z.array(z.lazy(() => AssociatedCredentials$inboundSchema)),
345
+ ).optional(),
272
346
  }).transform((v) => {
273
347
  return remap$(v, {
274
348
  "invoice_number": "invoiceNumber",
@@ -282,6 +356,7 @@ export const Invoice$inboundSchema: z.ZodType<Invoice, z.ZodTypeDef, unknown> =
282
356
  "custom_fields": "customFields",
283
357
  "invoice_type": "invoiceType",
284
358
  "may_pay_invoice": "mayPayInvoice",
359
+ "associated_credentials": "associatedCredentials",
285
360
  });
286
361
  });
287
362
  /** @internal */
@@ -305,6 +380,10 @@ export type Invoice$Outbound = {
305
380
  representative?: string | null | undefined;
306
381
  invoice_type?: string | undefined;
307
382
  may_pay_invoice?: MayPayInvoice$Outbound | null | undefined;
383
+ associated_credentials?:
384
+ | Array<AssociatedCredentials$Outbound>
385
+ | null
386
+ | undefined;
308
387
  };
309
388
 
310
389
  /** @internal */
@@ -335,6 +414,9 @@ export const Invoice$outboundSchema: z.ZodType<
335
414
  invoiceType: InvoiceType$outboundSchema.optional(),
336
415
  mayPayInvoice: z.nullable(z.lazy(() => MayPayInvoice$outboundSchema))
337
416
  .optional(),
417
+ associatedCredentials: z.nullable(
418
+ z.array(z.lazy(() => AssociatedCredentials$outboundSchema)),
419
+ ).optional(),
338
420
  }).transform((v) => {
339
421
  return remap$(v, {
340
422
  invoiceNumber: "invoice_number",
@@ -348,6 +430,7 @@ export const Invoice$outboundSchema: z.ZodType<
348
430
  customFields: "custom_fields",
349
431
  invoiceType: "invoice_type",
350
432
  mayPayInvoice: "may_pay_invoice",
433
+ associatedCredentials: "associated_credentials",
351
434
  });
352
435
  });
353
436
 
@@ -21,6 +21,39 @@ export type LoginEmailAndPassword = {
21
21
  * Password as entered by the user
22
22
  */
23
23
  password: string;
24
+ /**
25
+ * Opaque, signed state that Green Security issues when a third-party service
26
+ *
27
+ * @remarks
28
+ * provider starts a "Login with Green Security" SAML flow at
29
+ * `/saml/idp/sso`. The login screen receives it as the `sso_state` query
30
+ * string parameter and must pass it back, byte for byte, on every call to
31
+ * this endpoint for the remainder of the login journey — including the
32
+ * second call that carries an `mfa_code`.
33
+ *
34
+ * The blob is signed, not encrypted, and it expires five minutes after the
35
+ * service provider's request arrives. Do not parse it, shorten it, decode
36
+ * it, or re-encode it.
37
+ *
38
+ * **An invalid blob does not fail the login.** This is the opposite of what
39
+ * most integrators assume, so it is worth stating plainly: a forged, edited
40
+ * or expired `sso_state` is silently discarded, and the request then
41
+ * proceeds as an ordinary login. Valid credentials still authenticate and
42
+ * still return `200` — just with no `sso` object, leaving the user signed in
43
+ * to Green Security with no way back to the service provider that sent them.
44
+ * Never treat a `200` as proof that the SSO hand-off survived; check for
45
+ * `sso` explicitly.
46
+ *
47
+ * Every `202` response echoes the *verified* blob back in its own
48
+ * `sso_state` field. Always send back the value from the response you just
49
+ * received rather than the one you started with, so that a blob the server
50
+ * has already rejected is never resent, and so a client does not have to
51
+ * hold state of its own across the login journey.
52
+ *
53
+ * Omit this field entirely for an ordinary login that did not originate
54
+ * from a service provider.
55
+ */
56
+ ssoState?: string | undefined;
24
57
  };
25
58
 
26
59
  /** @internal */
@@ -28,6 +61,7 @@ export type LoginEmailAndPassword$Outbound = {
28
61
  email: string;
29
62
  mfa_code?: string | undefined;
30
63
  password: string;
64
+ sso_state?: string | undefined;
31
65
  };
32
66
 
33
67
  /** @internal */
@@ -39,9 +73,11 @@ export const LoginEmailAndPassword$outboundSchema: z.ZodType<
39
73
  email: z.string(),
40
74
  mfaCode: z.string().optional(),
41
75
  password: z.string(),
76
+ ssoState: z.string().optional(),
42
77
  }).transform((v) => {
43
78
  return remap$(v, {
44
79
  mfaCode: "mfa_code",
80
+ ssoState: "sso_state",
45
81
  });
46
82
  });
47
83
 
@@ -17,12 +17,46 @@ export type LoginRequirementsFromEmail = {
17
17
  * A proper URI where the user should be sent after completing a SAML login. This is encoded into the response you will get if the user requires a SAML login.
18
18
  */
19
19
  returnUrl: string;
20
+ /**
21
+ * Opaque, signed state that Green Security issues when a third-party service
22
+ *
23
+ * @remarks
24
+ * provider starts a "Login with Green Security" SAML flow at
25
+ * `/saml/idp/sso`. The login screen receives it as the `sso_state` query
26
+ * string parameter and must pass it back, byte for byte, on every call to
27
+ * this endpoint for the remainder of the login journey — including the
28
+ * second call that carries an `mfa_code`.
29
+ *
30
+ * The blob is signed, not encrypted, and it expires five minutes after the
31
+ * service provider's request arrives. Do not parse it, shorten it, decode
32
+ * it, or re-encode it.
33
+ *
34
+ * **An invalid blob does not fail the login.** This is the opposite of what
35
+ * most integrators assume, so it is worth stating plainly: a forged, edited
36
+ * or expired `sso_state` is silently discarded, and the request then
37
+ * proceeds as an ordinary login. Valid credentials still authenticate and
38
+ * still return `200` — just with no `sso` object, leaving the user signed in
39
+ * to Green Security with no way back to the service provider that sent them.
40
+ * Never treat a `200` as proof that the SSO hand-off survived; check for
41
+ * `sso` explicitly.
42
+ *
43
+ * Every `202` response echoes the *verified* blob back in its own
44
+ * `sso_state` field. Always send back the value from the response you just
45
+ * received rather than the one you started with, so that a blob the server
46
+ * has already rejected is never resent, and so a client does not have to
47
+ * hold state of its own across the login journey.
48
+ *
49
+ * Omit this field entirely for an ordinary login that did not originate
50
+ * from a service provider.
51
+ */
52
+ ssoState?: string | undefined;
20
53
  };
21
54
 
22
55
  /** @internal */
23
56
  export type LoginRequirementsFromEmail$Outbound = {
24
57
  email: string;
25
58
  return_url: string;
59
+ sso_state?: string | undefined;
26
60
  };
27
61
 
28
62
  /** @internal */
@@ -33,9 +67,11 @@ export const LoginRequirementsFromEmail$outboundSchema: z.ZodType<
33
67
  > = z.object({
34
68
  email: z.string(),
35
69
  returnUrl: z.string(),
70
+ ssoState: z.string().optional(),
36
71
  }).transform((v) => {
37
72
  return remap$(v, {
38
73
  returnUrl: "return_url",
74
+ ssoState: "sso_state",
39
75
  });
40
76
  });
41
77
 
@@ -36,6 +36,39 @@ export type MfaRequiredResponse = {
36
36
  */
37
37
  mobilePhone?: string | undefined;
38
38
  mfaMethod?: MfaMethod | undefined;
39
+ /**
40
+ * Opaque, signed state that Green Security issues when a third-party service
41
+ *
42
+ * @remarks
43
+ * provider starts a "Login with Green Security" SAML flow at
44
+ * `/saml/idp/sso`. The login screen receives it as the `sso_state` query
45
+ * string parameter and must pass it back, byte for byte, on every call to
46
+ * this endpoint for the remainder of the login journey — including the
47
+ * second call that carries an `mfa_code`.
48
+ *
49
+ * The blob is signed, not encrypted, and it expires five minutes after the
50
+ * service provider's request arrives. Do not parse it, shorten it, decode
51
+ * it, or re-encode it.
52
+ *
53
+ * **An invalid blob does not fail the login.** This is the opposite of what
54
+ * most integrators assume, so it is worth stating plainly: a forged, edited
55
+ * or expired `sso_state` is silently discarded, and the request then
56
+ * proceeds as an ordinary login. Valid credentials still authenticate and
57
+ * still return `200` — just with no `sso` object, leaving the user signed in
58
+ * to Green Security with no way back to the service provider that sent them.
59
+ * Never treat a `200` as proof that the SSO hand-off survived; check for
60
+ * `sso` explicitly.
61
+ *
62
+ * Every `202` response echoes the *verified* blob back in its own
63
+ * `sso_state` field. Always send back the value from the response you just
64
+ * received rather than the one you started with, so that a blob the server
65
+ * has already rejected is never resent, and so a client does not have to
66
+ * hold state of its own across the login journey.
67
+ *
68
+ * Omit this field entirely for an ordinary login that did not originate
69
+ * from a service provider.
70
+ */
71
+ ssoState?: string | undefined;
39
72
  };
40
73
 
41
74
  /** @internal */
@@ -56,10 +89,12 @@ export const MfaRequiredResponse$inboundSchema: z.ZodType<
56
89
  error: types.string(),
57
90
  mobile_phone: types.optional(types.string()),
58
91
  mfa_method: types.optional(MfaMethod$inboundSchema),
92
+ sso_state: types.optional(types.string()),
59
93
  }).transform((v) => {
60
94
  return remap$(v, {
61
95
  "mobile_phone": "mobilePhone",
62
96
  "mfa_method": "mfaMethod",
97
+ "sso_state": "ssoState",
63
98
  });
64
99
  });
65
100
 
@@ -20,9 +20,42 @@ export type PasswordNotSetResponse = {
20
20
  */
21
21
  error: string;
22
22
  /**
23
- * URL to redirect the user to set their password (forgot password flow). Includes return_url query param when provided in the request.
23
+ * URL to redirect the user to set their password (forgot password flow). Carries the `return_url` and `sso_state` query params when those were provided on the request, because the browser follows this redirect and leaves the JSON body behind.
24
24
  */
25
25
  redirectUrl: string;
26
+ /**
27
+ * Opaque, signed state that Green Security issues when a third-party service
28
+ *
29
+ * @remarks
30
+ * provider starts a "Login with Green Security" SAML flow at
31
+ * `/saml/idp/sso`. The login screen receives it as the `sso_state` query
32
+ * string parameter and must pass it back, byte for byte, on every call to
33
+ * this endpoint for the remainder of the login journey — including the
34
+ * second call that carries an `mfa_code`.
35
+ *
36
+ * The blob is signed, not encrypted, and it expires five minutes after the
37
+ * service provider's request arrives. Do not parse it, shorten it, decode
38
+ * it, or re-encode it.
39
+ *
40
+ * **An invalid blob does not fail the login.** This is the opposite of what
41
+ * most integrators assume, so it is worth stating plainly: a forged, edited
42
+ * or expired `sso_state` is silently discarded, and the request then
43
+ * proceeds as an ordinary login. Valid credentials still authenticate and
44
+ * still return `200` — just with no `sso` object, leaving the user signed in
45
+ * to Green Security with no way back to the service provider that sent them.
46
+ * Never treat a `200` as proof that the SSO hand-off survived; check for
47
+ * `sso` explicitly.
48
+ *
49
+ * Every `202` response echoes the *verified* blob back in its own
50
+ * `sso_state` field. Always send back the value from the response you just
51
+ * received rather than the one you started with, so that a blob the server
52
+ * has already rejected is never resent, and so a client does not have to
53
+ * hold state of its own across the login journey.
54
+ *
55
+ * Omit this field entirely for an ordinary login that did not originate
56
+ * from a service provider.
57
+ */
58
+ ssoState?: string | undefined;
26
59
  };
27
60
 
28
61
  /** @internal */
@@ -35,9 +68,11 @@ export const PasswordNotSetResponse$inboundSchema: z.ZodType<
35
68
  success: types.boolean(),
36
69
  error: types.string(),
37
70
  redirect_url: types.string(),
71
+ sso_state: types.optional(types.string()),
38
72
  }).transform((v) => {
39
73
  return remap$(v, {
40
74
  "redirect_url": "redirectUrl",
75
+ "sso_state": "ssoState",
41
76
  });
42
77
  });
43
78
 
@@ -3,6 +3,7 @@
3
3
  */
4
4
 
5
5
  import * as z from "zod/v3";
6
+ import { remap as remap$ } from "../../lib/primitives.js";
6
7
  import { safeParse } from "../../lib/schemas.js";
7
8
  import { Result as SafeParseResult } from "../../types/fp.js";
8
9
  import * as types from "../../types/primitives.js";
@@ -18,6 +19,39 @@ export type PasswordRequiredResponse = {
18
19
  * Error describing the exact condition of what further steps are needed to finish the login process.
19
20
  */
20
21
  error: string;
22
+ /**
23
+ * Opaque, signed state that Green Security issues when a third-party service
24
+ *
25
+ * @remarks
26
+ * provider starts a "Login with Green Security" SAML flow at
27
+ * `/saml/idp/sso`. The login screen receives it as the `sso_state` query
28
+ * string parameter and must pass it back, byte for byte, on every call to
29
+ * this endpoint for the remainder of the login journey — including the
30
+ * second call that carries an `mfa_code`.
31
+ *
32
+ * The blob is signed, not encrypted, and it expires five minutes after the
33
+ * service provider's request arrives. Do not parse it, shorten it, decode
34
+ * it, or re-encode it.
35
+ *
36
+ * **An invalid blob does not fail the login.** This is the opposite of what
37
+ * most integrators assume, so it is worth stating plainly: a forged, edited
38
+ * or expired `sso_state` is silently discarded, and the request then
39
+ * proceeds as an ordinary login. Valid credentials still authenticate and
40
+ * still return `200` — just with no `sso` object, leaving the user signed in
41
+ * to Green Security with no way back to the service provider that sent them.
42
+ * Never treat a `200` as proof that the SSO hand-off survived; check for
43
+ * `sso` explicitly.
44
+ *
45
+ * Every `202` response echoes the *verified* blob back in its own
46
+ * `sso_state` field. Always send back the value from the response you just
47
+ * received rather than the one you started with, so that a blob the server
48
+ * has already rejected is never resent, and so a client does not have to
49
+ * hold state of its own across the login journey.
50
+ *
51
+ * Omit this field entirely for an ordinary login that did not originate
52
+ * from a service provider.
53
+ */
54
+ ssoState?: string | undefined;
21
55
  };
22
56
 
23
57
  /** @internal */
@@ -29,6 +63,11 @@ export const PasswordRequiredResponse$inboundSchema: z.ZodType<
29
63
  requires: types.literal("password"),
30
64
  success: types.boolean(),
31
65
  error: types.string(),
66
+ sso_state: types.optional(types.string()),
67
+ }).transform((v) => {
68
+ return remap$(v, {
69
+ "sso_state": "ssoState",
70
+ });
32
71
  });
33
72
 
34
73
  export function passwordRequiredResponseFromJSON(
@@ -28,6 +28,39 @@ export type SamlLoginRequiredResponse = {
28
28
  * This is the URL that should be opened to initiate the SAML login flow
29
29
  */
30
30
  ssoUrl: string;
31
+ /**
32
+ * Opaque, signed state that Green Security issues when a third-party service
33
+ *
34
+ * @remarks
35
+ * provider starts a "Login with Green Security" SAML flow at
36
+ * `/saml/idp/sso`. The login screen receives it as the `sso_state` query
37
+ * string parameter and must pass it back, byte for byte, on every call to
38
+ * this endpoint for the remainder of the login journey — including the
39
+ * second call that carries an `mfa_code`.
40
+ *
41
+ * The blob is signed, not encrypted, and it expires five minutes after the
42
+ * service provider's request arrives. Do not parse it, shorten it, decode
43
+ * it, or re-encode it.
44
+ *
45
+ * **An invalid blob does not fail the login.** This is the opposite of what
46
+ * most integrators assume, so it is worth stating plainly: a forged, edited
47
+ * or expired `sso_state` is silently discarded, and the request then
48
+ * proceeds as an ordinary login. Valid credentials still authenticate and
49
+ * still return `200` — just with no `sso` object, leaving the user signed in
50
+ * to Green Security with no way back to the service provider that sent them.
51
+ * Never treat a `200` as proof that the SSO hand-off survived; check for
52
+ * `sso` explicitly.
53
+ *
54
+ * Every `202` response echoes the *verified* blob back in its own
55
+ * `sso_state` field. Always send back the value from the response you just
56
+ * received rather than the one you started with, so that a blob the server
57
+ * has already rejected is never resent, and so a client does not have to
58
+ * hold state of its own across the login journey.
59
+ *
60
+ * Omit this field entirely for an ordinary login that did not originate
61
+ * from a service provider.
62
+ */
63
+ ssoState?: string | undefined;
31
64
  };
32
65
 
33
66
  /** @internal */
@@ -41,10 +74,12 @@ export const SamlLoginRequiredResponse$inboundSchema: z.ZodType<
41
74
  error: types.string(),
42
75
  sso_instructions: types.optional(types.string()),
43
76
  sso_url: types.string(),
77
+ sso_state: types.optional(types.string()),
44
78
  }).transform((v) => {
45
79
  return remap$(v, {
46
80
  "sso_instructions": "ssoInstructions",
47
81
  "sso_url": "ssoUrl",
82
+ "sso_state": "ssoState",
48
83
  });
49
84
  });
50
85
 
@@ -0,0 +1,71 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod/v3";
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 types from "../../types/primitives.js";
10
+ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
11
+
12
+ /**
13
+ * Where to send the browser to finish a "Login with Green Security" flow.
14
+ *
15
+ * @remarks
16
+ *
17
+ * Present on a `200` from `POST /users/authenticate` only when the request
18
+ * carried a valid, unexpired `sso_state`. Its absence means the login
19
+ * succeeded but the SAML flow did not resume — treat the login as an
20
+ * ordinary one rather than retrying.
21
+ *
22
+ * This object is additive. The login itself is unaffected by it: the
23
+ * caller's own permanent token is in `user_token` exactly as it would be on
24
+ * any other successful authentication, and it is not the token embedded in
25
+ * `continue_url`.
26
+ */
27
+ export type SsoContinuation = {
28
+ /**
29
+ * An absolute, single-use URL on Green Security's domain. Navigate the
30
+ *
31
+ * @remarks
32
+ * browser to it (a full page navigation, not `fetch`); it answers with a
33
+ * self-submitting form that POSTs the signed `SAMLResponse` and the
34
+ * original `RelayState` to the service provider's assertion consumer
35
+ * service URL.
36
+ *
37
+ * The `token` in this URL is a separate **one-time** token that is
38
+ * consumed the first time the URL is followed, so the URL is good for
39
+ * exactly one navigation. It is not the caller's permanent token, which
40
+ * is returned unchanged in `user_token`. Treat the URL as a secret:
41
+ * whoever follows it first receives that user's assertion.
42
+ *
43
+ * Never fetch this URL from your own back end: the response is meant for
44
+ * the user's browser, and posting the assertion from anywhere else
45
+ * breaks the flow.
46
+ */
47
+ continueUrl: string;
48
+ };
49
+
50
+ /** @internal */
51
+ export const SsoContinuation$inboundSchema: z.ZodType<
52
+ SsoContinuation,
53
+ z.ZodTypeDef,
54
+ unknown
55
+ > = z.object({
56
+ continue_url: types.string(),
57
+ }).transform((v) => {
58
+ return remap$(v, {
59
+ "continue_url": "continueUrl",
60
+ });
61
+ });
62
+
63
+ export function ssoContinuationFromJSON(
64
+ jsonString: string,
65
+ ): SafeParseResult<SsoContinuation, SDKValidationError> {
66
+ return safeParse(
67
+ jsonString,
68
+ (x) => SsoContinuation$inboundSchema.parse(JSON.parse(x)),
69
+ `Failed to parse 'SsoContinuation' from JSON`,
70
+ );
71
+ }
@@ -0,0 +1,39 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod/v3";
6
+ import { safeParse } from "../../lib/schemas.js";
7
+ import { Result as SafeParseResult } from "../../types/fp.js";
8
+ import * as types from "../../types/primitives.js";
9
+ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
10
+
11
+ /**
12
+ * A simplified representation of a System, typically used in list views.
13
+ */
14
+ export type System = {
15
+ id: number;
16
+ name: string;
17
+ /**
18
+ * URL of the system's logo (thumbnail size), or null if none has been uploaded.
19
+ */
20
+ image?: string | null | undefined;
21
+ };
22
+
23
+ /** @internal */
24
+ export const System$inboundSchema: z.ZodType<System, z.ZodTypeDef, unknown> = z
25
+ .object({
26
+ id: types.number(),
27
+ name: types.string(),
28
+ image: z.nullable(types.string()).optional(),
29
+ });
30
+
31
+ export function systemFromJSON(
32
+ jsonString: string,
33
+ ): SafeParseResult<System, SDKValidationError> {
34
+ return safeParse(
35
+ jsonString,
36
+ (x) => System$inboundSchema.parse(JSON.parse(x)),
37
+ `Failed to parse 'System' from JSON`,
38
+ );
39
+ }
@@ -14,9 +14,9 @@ import {
14
14
  BackgroundCheckResult$inboundSchema,
15
15
  } from "./backgroundcheckresult.js";
16
16
  import { Company, Company$inboundSchema } from "./company.js";
17
- import { CompanyLookup, CompanyLookup$inboundSchema } from "./companylookup.js";
18
17
  import { Credential, Credential$inboundSchema } from "./credential.js";
19
18
  import { Invoice, Invoice$inboundSchema } from "./invoice.js";
19
+ import { System, System$inboundSchema } from "./system.js";
20
20
  import { Vendor, Vendor$inboundSchema } from "./vendor.js";
21
21
  import {
22
22
  VendorCredentialDataRequest,
@@ -88,6 +88,10 @@ export type VendorCredentialSummary = {
88
88
  appliesToCompany?: boolean | null | undefined;
89
89
  credential?: Credential | number | null | undefined;
90
90
  vendor?: Vendor | number | null | undefined;
91
+ /**
92
+ * The systems, among the company's active target facilities, that require this credential. Only present when the `vendor_credential.systems` expand scope is requested.
93
+ */
94
+ systems?: Array<System> | null | undefined;
91
95
  invoice?: Invoice | number | null | undefined;
92
96
  quote?: Invoice | number | null | undefined;
93
97
  vendorCredentialFiles?: Array<VendorCredentialFile | null> | undefined;
@@ -113,7 +117,6 @@ export type VendorCredentialSummary = {
113
117
  totalPendingCredentials?: number | null | undefined;
114
118
  backgroundCheckProviderId?: number | null | undefined;
115
119
  requiresAdminReview?: boolean | null | undefined;
116
- systems?: Array<CompanyLookup> | null | undefined;
117
120
  };
118
121
 
119
122
  /** @internal */
@@ -311,6 +314,7 @@ export const VendorCredentialSummary$inboundSchema: z.ZodType<
311
314
  .optional(),
312
315
  vendor: z.nullable(smartUnion([Vendor$inboundSchema, types.number()]))
313
316
  .optional(),
317
+ systems: z.nullable(z.array(System$inboundSchema)).optional(),
314
318
  invoice: z.nullable(smartUnion([Invoice$inboundSchema, types.number()]))
315
319
  .optional(),
316
320
  quote: z.nullable(smartUnion([Invoice$inboundSchema, types.number()]))
@@ -347,7 +351,6 @@ export const VendorCredentialSummary$inboundSchema: z.ZodType<
347
351
  total_pending_credentials: z.nullable(types.number()).optional(),
348
352
  background_check_provider_id: z.nullable(types.number()).optional(),
349
353
  requires_admin_review: z.nullable(types.boolean()).optional(),
350
- systems: z.nullable(z.array(CompanyLookup$inboundSchema)).optional(),
351
354
  }).transform((v) => {
352
355
  return remap$(v, {
353
356
  "date_due": "dateDue",
@@ -36,6 +36,10 @@ export type VendorTargetFacility = {
36
36
  * Whether all TIP 1 screening questions for this facility have been answered by the vendor.
37
37
  */
38
38
  questionsAnswered: boolean | null;
39
+ /**
40
+ * Whether the vendor has answered at least one target-facility screening question for this facility. Only present when `vendor_target_facility.has_screening_responses` is passed to `expand`. Combined with `questions_answered` it distinguishes "View" (answered some) from "None" (no questions answered) in the individual's subscription view.
41
+ */
42
+ hasScreeningResponses?: boolean | undefined;
39
43
  dateCreated?: Date | null | undefined;
40
44
  };
41
45
 
@@ -68,10 +72,12 @@ export const VendorTargetFacility$inboundSchema: z.ZodType<
68
72
  ),
69
73
  status: types.nullable(types.string()),
70
74
  questions_answered: types.nullable(types.boolean()),
75
+ has_screening_responses: types.optional(types.boolean()),
71
76
  date_created: z.nullable(types.date()).optional(),
72
77
  }).transform((v) => {
73
78
  return remap$(v, {
74
79
  "questions_answered": "questionsAnswered",
80
+ "has_screening_responses": "hasScreeningResponses",
75
81
  "date_created": "dateCreated",
76
82
  });
77
83
  });