@greensecurity/javascript-sdk 0.44.0-beta.1 → 0.44.0-beta.11

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 (628) hide show
  1. package/README.md +24 -0
  2. package/dist/commonjs/__tests__/companies.test.js +63 -0
  3. package/dist/commonjs/__tests__/companies.test.js.map +1 -1
  4. package/dist/commonjs/__tests__/organizations.test.js +75 -0
  5. package/dist/commonjs/__tests__/organizations.test.js.map +1 -1
  6. package/dist/commonjs/__tests__/vendors.test.js +51 -0
  7. package/dist/commonjs/__tests__/vendors.test.js.map +1 -1
  8. package/dist/commonjs/__tests__/zones.test.js +12 -14
  9. package/dist/commonjs/__tests__/zones.test.js.map +1 -1
  10. package/dist/commonjs/funcs/companiesListCompanyCredentials.d.ts +23 -0
  11. package/dist/commonjs/funcs/companiesListCompanyCredentials.d.ts.map +1 -0
  12. package/dist/commonjs/funcs/companiesListCompanyCredentials.js +170 -0
  13. package/dist/commonjs/funcs/companiesListCompanyCredentials.js.map +1 -0
  14. package/dist/commonjs/funcs/companiesListCompanyCredits.d.ts +23 -0
  15. package/dist/commonjs/funcs/companiesListCompanyCredits.d.ts.map +1 -0
  16. package/dist/commonjs/funcs/companiesListCompanyCredits.js +167 -0
  17. package/dist/commonjs/funcs/companiesListCompanyCredits.js.map +1 -0
  18. package/dist/commonjs/funcs/organizationsCreateCompanyTargetFacility.d.ts +34 -0
  19. package/dist/commonjs/funcs/organizationsCreateCompanyTargetFacility.d.ts.map +1 -0
  20. package/dist/commonjs/funcs/organizationsCreateCompanyTargetFacility.js +145 -0
  21. package/dist/commonjs/funcs/organizationsCreateCompanyTargetFacility.js.map +1 -0
  22. package/dist/commonjs/funcs/organizationsDeleteCompanyTargetFacility.d.ts +28 -0
  23. package/dist/commonjs/funcs/organizationsDeleteCompanyTargetFacility.d.ts.map +1 -0
  24. package/dist/commonjs/funcs/organizationsDeleteCompanyTargetFacility.js +138 -0
  25. package/dist/commonjs/funcs/organizationsDeleteCompanyTargetFacility.js.map +1 -0
  26. package/dist/commonjs/funcs/organizationsListCompanyTargetFacilities.d.ts +42 -0
  27. package/dist/commonjs/funcs/organizationsListCompanyTargetFacilities.d.ts.map +1 -0
  28. package/dist/commonjs/funcs/organizationsListCompanyTargetFacilities.js +194 -0
  29. package/dist/commonjs/funcs/organizationsListCompanyTargetFacilities.js.map +1 -0
  30. package/dist/commonjs/funcs/organizationsListOrSearchFacilities.js +1 -0
  31. package/dist/commonjs/funcs/organizationsListOrSearchFacilities.js.map +1 -1
  32. package/dist/commonjs/funcs/usersGetCurrentUser.d.ts +1 -0
  33. package/dist/commonjs/funcs/usersGetCurrentUser.d.ts.map +1 -1
  34. package/dist/commonjs/funcs/usersGetCurrentUser.js +1 -0
  35. package/dist/commonjs/funcs/usersGetCurrentUser.js.map +1 -1
  36. package/dist/commonjs/funcs/vendorScansGetVendorScan.d.ts +3 -0
  37. package/dist/commonjs/funcs/vendorScansGetVendorScan.d.ts.map +1 -1
  38. package/dist/commonjs/funcs/vendorScansGetVendorScan.js +3 -0
  39. package/dist/commonjs/funcs/vendorScansGetVendorScan.js.map +1 -1
  40. package/dist/commonjs/funcs/vendorsDownloadVendorsExport.d.ts +22 -0
  41. package/dist/commonjs/funcs/vendorsDownloadVendorsExport.d.ts.map +1 -0
  42. package/dist/commonjs/funcs/vendorsDownloadVendorsExport.js +128 -0
  43. package/dist/commonjs/funcs/vendorsDownloadVendorsExport.js.map +1 -0
  44. package/dist/commonjs/funcs/vendorsGetVendorsExportStatus.d.ts +21 -0
  45. package/dist/commonjs/funcs/vendorsGetVendorsExportStatus.d.ts.map +1 -0
  46. package/dist/commonjs/funcs/vendorsGetVendorsExportStatus.js +126 -0
  47. package/dist/commonjs/funcs/vendorsGetVendorsExportStatus.js.map +1 -0
  48. package/dist/commonjs/funcs/vendorsVendorsExport.d.ts +23 -0
  49. package/dist/commonjs/funcs/vendorsVendorsExport.d.ts.map +1 -0
  50. package/dist/commonjs/funcs/vendorsVendorsExport.js +152 -0
  51. package/dist/commonjs/funcs/vendorsVendorsExport.js.map +1 -0
  52. package/dist/commonjs/lib/config.d.ts +3 -3
  53. package/dist/commonjs/lib/config.js +3 -3
  54. package/dist/commonjs/lib/config.js.map +1 -1
  55. package/dist/commonjs/models/components/appointmentsummary.d.ts +25 -0
  56. package/dist/commonjs/models/components/appointmentsummary.d.ts.map +1 -0
  57. package/dist/commonjs/models/components/appointmentsummary.js +63 -0
  58. package/dist/commonjs/models/components/appointmentsummary.js.map +1 -0
  59. package/dist/commonjs/models/components/companycredentiallistitem.d.ts +32 -0
  60. package/dist/commonjs/models/components/companycredentiallistitem.d.ts.map +1 -0
  61. package/dist/commonjs/models/components/companycredentiallistitem.js +84 -0
  62. package/dist/commonjs/models/components/companycredentiallistitem.js.map +1 -0
  63. package/dist/commonjs/models/components/companytargetfacility.d.ts +54 -0
  64. package/dist/commonjs/models/components/companytargetfacility.d.ts.map +1 -0
  65. package/dist/commonjs/models/components/companytargetfacility.js +80 -0
  66. package/dist/commonjs/models/components/companytargetfacility.js.map +1 -0
  67. package/dist/commonjs/models/components/emailpreferences.d.ts +0 -18
  68. package/dist/commonjs/models/components/emailpreferences.d.ts.map +1 -1
  69. package/dist/commonjs/models/components/emailpreferences.js +0 -9
  70. package/dist/commonjs/models/components/emailpreferences.js.map +1 -1
  71. package/dist/commonjs/models/components/expand.d.ts +7 -0
  72. package/dist/commonjs/models/components/expand.d.ts.map +1 -1
  73. package/dist/commonjs/models/components/expand.js +7 -0
  74. package/dist/commonjs/models/components/expand.js.map +1 -1
  75. package/dist/commonjs/models/components/index.d.ts +4 -0
  76. package/dist/commonjs/models/components/index.d.ts.map +1 -1
  77. package/dist/commonjs/models/components/index.js +4 -0
  78. package/dist/commonjs/models/components/index.js.map +1 -1
  79. package/dist/commonjs/models/components/paymentprofile.d.ts +8 -8
  80. package/dist/commonjs/models/components/paymentprofile.d.ts.map +1 -1
  81. package/dist/commonjs/models/components/paymentprofile.js +12 -13
  82. package/dist/commonjs/models/components/paymentprofile.js.map +1 -1
  83. package/dist/commonjs/models/components/userdetails.d.ts +36 -0
  84. package/dist/commonjs/models/components/userdetails.d.ts.map +1 -1
  85. package/dist/commonjs/models/components/userdetails.js +50 -1
  86. package/dist/commonjs/models/components/userdetails.js.map +1 -1
  87. package/dist/commonjs/models/components/vendorcredentialsummary.d.ts +2 -0
  88. package/dist/commonjs/models/components/vendorcredentialsummary.d.ts.map +1 -1
  89. package/dist/commonjs/models/components/vendorcredentialsummary.js +2 -0
  90. package/dist/commonjs/models/components/vendorcredentialsummary.js.map +1 -1
  91. package/dist/commonjs/models/components/vendorscan.d.ts +47 -0
  92. package/dist/commonjs/models/components/vendorscan.d.ts.map +1 -1
  93. package/dist/commonjs/models/components/vendorscan.js +31 -1
  94. package/dist/commonjs/models/components/vendorscan.js.map +1 -1
  95. package/dist/commonjs/models/components/vendorscanscreeningresponse.d.ts +27 -0
  96. package/dist/commonjs/models/components/vendorscanscreeningresponse.d.ts.map +1 -0
  97. package/dist/commonjs/models/components/vendorscanscreeningresponse.js +63 -0
  98. package/dist/commonjs/models/components/vendorscanscreeningresponse.js.map +1 -0
  99. package/dist/commonjs/models/components/zone.d.ts +5 -5
  100. package/dist/commonjs/models/components/zone.d.ts.map +1 -1
  101. package/dist/commonjs/models/components/zone.js +10 -8
  102. package/dist/commonjs/models/components/zone.js.map +1 -1
  103. package/dist/commonjs/models/operations/createcompanytargetfacility.d.ts +50 -0
  104. package/dist/commonjs/models/operations/createcompanytargetfacility.d.ts.map +1 -0
  105. package/dist/commonjs/models/operations/createcompanytargetfacility.js +84 -0
  106. package/dist/commonjs/models/operations/createcompanytargetfacility.js.map +1 -0
  107. package/dist/commonjs/models/operations/createinvoice.d.ts +6 -6
  108. package/dist/commonjs/models/operations/createinvoice.d.ts.map +1 -1
  109. package/dist/commonjs/models/operations/createinvoice.js +6 -6
  110. package/dist/commonjs/models/operations/createinvoice.js.map +1 -1
  111. package/dist/commonjs/models/operations/deletecompanytargetfacility.d.ts +20 -0
  112. package/dist/commonjs/models/operations/deletecompanytargetfacility.d.ts.map +1 -0
  113. package/dist/commonjs/models/operations/deletecompanytargetfacility.js +55 -0
  114. package/dist/commonjs/models/operations/deletecompanytargetfacility.js.map +1 -0
  115. package/dist/commonjs/models/operations/downloadvendorsexport.d.ts +42 -0
  116. package/dist/commonjs/models/operations/downloadvendorsexport.d.ts.map +1 -0
  117. package/dist/commonjs/models/operations/downloadvendorsexport.js +75 -0
  118. package/dist/commonjs/models/operations/downloadvendorsexport.js.map +1 -0
  119. package/dist/commonjs/models/operations/getinvoice.d.ts +4 -4
  120. package/dist/commonjs/models/operations/getinvoice.d.ts.map +1 -1
  121. package/dist/commonjs/models/operations/getinvoice.js +4 -4
  122. package/dist/commonjs/models/operations/getinvoice.js.map +1 -1
  123. package/dist/commonjs/models/operations/getvendorsexportstatus.d.ts +53 -0
  124. package/dist/commonjs/models/operations/getvendorsexportstatus.d.ts.map +1 -0
  125. package/dist/commonjs/models/operations/getvendorsexportstatus.js +73 -0
  126. package/dist/commonjs/models/operations/getvendorsexportstatus.js.map +1 -0
  127. package/dist/commonjs/models/operations/index.d.ts +8 -0
  128. package/dist/commonjs/models/operations/index.d.ts.map +1 -1
  129. package/dist/commonjs/models/operations/index.js +8 -0
  130. package/dist/commonjs/models/operations/index.js.map +1 -1
  131. package/dist/commonjs/models/operations/invoicesexport.d.ts +8 -8
  132. package/dist/commonjs/models/operations/invoicesexport.d.ts.map +1 -1
  133. package/dist/commonjs/models/operations/invoicesexport.js +9 -8
  134. package/dist/commonjs/models/operations/invoicesexport.js.map +1 -1
  135. package/dist/commonjs/models/operations/listcompanycredentials.d.ts +93 -0
  136. package/dist/commonjs/models/operations/listcompanycredentials.d.ts.map +1 -0
  137. package/dist/commonjs/models/operations/listcompanycredentials.js +112 -0
  138. package/dist/commonjs/models/operations/listcompanycredentials.js.map +1 -0
  139. package/dist/commonjs/models/operations/listcompanycredits.d.ts +127 -0
  140. package/dist/commonjs/models/operations/listcompanycredits.d.ts.map +1 -0
  141. package/dist/commonjs/models/operations/listcompanycredits.js +128 -0
  142. package/dist/commonjs/models/operations/listcompanycredits.js.map +1 -0
  143. package/dist/commonjs/models/operations/listcompanytargetfacilities.d.ts +173 -0
  144. package/dist/commonjs/models/operations/listcompanytargetfacilities.d.ts.map +1 -0
  145. package/dist/commonjs/models/operations/listcompanytargetfacilities.js +149 -0
  146. package/dist/commonjs/models/operations/listcompanytargetfacilities.js.map +1 -0
  147. package/dist/commonjs/models/operations/listlookupsystems.d.ts +4 -4
  148. package/dist/commonjs/models/operations/listlookupsystems.d.ts.map +1 -1
  149. package/dist/commonjs/models/operations/listlookupsystems.js +4 -5
  150. package/dist/commonjs/models/operations/listlookupsystems.js.map +1 -1
  151. package/dist/commonjs/models/operations/listorsearchfacilities.d.ts +18 -0
  152. package/dist/commonjs/models/operations/listorsearchfacilities.d.ts.map +1 -1
  153. package/dist/commonjs/models/operations/listorsearchfacilities.js +11 -1
  154. package/dist/commonjs/models/operations/listorsearchfacilities.js.map +1 -1
  155. package/dist/commonjs/models/operations/securityzonecheckin.d.ts +18 -17
  156. package/dist/commonjs/models/operations/securityzonecheckin.d.ts.map +1 -1
  157. package/dist/commonjs/models/operations/securityzonecheckin.js +16 -15
  158. package/dist/commonjs/models/operations/securityzonecheckin.js.map +1 -1
  159. package/dist/commonjs/models/operations/vendorsexport.d.ts +184 -0
  160. package/dist/commonjs/models/operations/vendorsexport.d.ts.map +1 -0
  161. package/dist/commonjs/models/operations/vendorsexport.js +133 -0
  162. package/dist/commonjs/models/operations/vendorsexport.js.map +1 -0
  163. package/dist/commonjs/react-query/companiesListCompanyCredentials.core.d.ts +44 -0
  164. package/dist/commonjs/react-query/companiesListCompanyCredentials.core.d.ts.map +1 -0
  165. package/dist/commonjs/react-query/companiesListCompanyCredentials.core.js +101 -0
  166. package/dist/commonjs/react-query/companiesListCompanyCredentials.core.js.map +1 -0
  167. package/dist/commonjs/react-query/companiesListCompanyCredentials.d.ts +68 -0
  168. package/dist/commonjs/react-query/companiesListCompanyCredentials.d.ts.map +1 -0
  169. package/dist/commonjs/react-query/companiesListCompanyCredentials.js +104 -0
  170. package/dist/commonjs/react-query/companiesListCompanyCredentials.js.map +1 -0
  171. package/dist/commonjs/react-query/companiesListCompanyCredits.core.d.ts +38 -0
  172. package/dist/commonjs/react-query/companiesListCompanyCredits.core.d.ts.map +1 -0
  173. package/dist/commonjs/react-query/companiesListCompanyCredits.core.js +95 -0
  174. package/dist/commonjs/react-query/companiesListCompanyCredits.core.js.map +1 -0
  175. package/dist/commonjs/react-query/companiesListCompanyCredits.d.ts +62 -0
  176. package/dist/commonjs/react-query/companiesListCompanyCredits.d.ts.map +1 -0
  177. package/dist/commonjs/react-query/companiesListCompanyCredits.js +104 -0
  178. package/dist/commonjs/react-query/companiesListCompanyCredits.js.map +1 -0
  179. package/dist/commonjs/react-query/index.d.ts +8 -0
  180. package/dist/commonjs/react-query/index.d.ts.map +1 -1
  181. package/dist/commonjs/react-query/index.js +8 -0
  182. package/dist/commonjs/react-query/index.js.map +1 -1
  183. package/dist/commonjs/react-query/invoicesGetInvoice.core.d.ts +1 -1
  184. package/dist/commonjs/react-query/invoicesGetInvoice.core.d.ts.map +1 -1
  185. package/dist/commonjs/react-query/invoicesGetInvoice.d.ts +2 -2
  186. package/dist/commonjs/react-query/invoicesGetInvoice.d.ts.map +1 -1
  187. package/dist/commonjs/react-query/invoicesInvoicesExport.core.d.ts +1 -1
  188. package/dist/commonjs/react-query/invoicesInvoicesExport.core.d.ts.map +1 -1
  189. package/dist/commonjs/react-query/invoicesInvoicesExport.d.ts +2 -2
  190. package/dist/commonjs/react-query/invoicesInvoicesExport.d.ts.map +1 -1
  191. package/dist/commonjs/react-query/lookupsListLookupSystems.core.d.ts +1 -1
  192. package/dist/commonjs/react-query/lookupsListLookupSystems.core.d.ts.map +1 -1
  193. package/dist/commonjs/react-query/lookupsListLookupSystems.d.ts +2 -2
  194. package/dist/commonjs/react-query/lookupsListLookupSystems.d.ts.map +1 -1
  195. package/dist/commonjs/react-query/organizationsCreateCompanyTargetFacility.d.ts +43 -0
  196. package/dist/commonjs/react-query/organizationsCreateCompanyTargetFacility.d.ts.map +1 -0
  197. package/dist/commonjs/react-query/organizationsCreateCompanyTargetFacility.js +65 -0
  198. package/dist/commonjs/react-query/organizationsCreateCompanyTargetFacility.js.map +1 -0
  199. package/dist/commonjs/react-query/organizationsDeleteCompanyTargetFacility.d.ts +37 -0
  200. package/dist/commonjs/react-query/organizationsDeleteCompanyTargetFacility.d.ts.map +1 -0
  201. package/dist/commonjs/react-query/organizationsDeleteCompanyTargetFacility.js +59 -0
  202. package/dist/commonjs/react-query/organizationsDeleteCompanyTargetFacility.js.map +1 -0
  203. package/dist/commonjs/react-query/organizationsListCompanyTargetFacilities.core.d.ts +54 -0
  204. package/dist/commonjs/react-query/organizationsListCompanyTargetFacilities.core.d.ts.map +1 -0
  205. package/dist/commonjs/react-query/organizationsListCompanyTargetFacilities.core.js +111 -0
  206. package/dist/commonjs/react-query/organizationsListCompanyTargetFacilities.core.js.map +1 -0
  207. package/dist/commonjs/react-query/organizationsListCompanyTargetFacilities.d.ts +154 -0
  208. package/dist/commonjs/react-query/organizationsListCompanyTargetFacilities.d.ts.map +1 -0
  209. package/dist/commonjs/react-query/organizationsListCompanyTargetFacilities.js +180 -0
  210. package/dist/commonjs/react-query/organizationsListCompanyTargetFacilities.js.map +1 -0
  211. package/dist/commonjs/react-query/organizationsListOrSearchFacilities.core.d.ts +2 -0
  212. package/dist/commonjs/react-query/organizationsListOrSearchFacilities.core.d.ts.map +1 -1
  213. package/dist/commonjs/react-query/organizationsListOrSearchFacilities.core.js +2 -0
  214. package/dist/commonjs/react-query/organizationsListOrSearchFacilities.core.js.map +1 -1
  215. package/dist/commonjs/react-query/organizationsListOrSearchFacilities.d.ts +2 -0
  216. package/dist/commonjs/react-query/organizationsListOrSearchFacilities.d.ts.map +1 -1
  217. package/dist/commonjs/react-query/organizationsListOrSearchFacilities.js.map +1 -1
  218. package/dist/commonjs/react-query/usersGetCurrentUser.d.ts +2 -0
  219. package/dist/commonjs/react-query/usersGetCurrentUser.d.ts.map +1 -1
  220. package/dist/commonjs/react-query/usersGetCurrentUser.js +2 -0
  221. package/dist/commonjs/react-query/usersGetCurrentUser.js.map +1 -1
  222. package/dist/commonjs/react-query/vendorScansGetVendorScan.d.ts +6 -0
  223. package/dist/commonjs/react-query/vendorScansGetVendorScan.d.ts.map +1 -1
  224. package/dist/commonjs/react-query/vendorScansGetVendorScan.js +6 -0
  225. package/dist/commonjs/react-query/vendorScansGetVendorScan.js.map +1 -1
  226. package/dist/commonjs/react-query/vendorsDownloadVendorsExport.core.d.ts +12 -0
  227. package/dist/commonjs/react-query/vendorsDownloadVendorsExport.core.d.ts.map +1 -0
  228. package/dist/commonjs/react-query/vendorsDownloadVendorsExport.core.js +39 -0
  229. package/dist/commonjs/react-query/vendorsDownloadVendorsExport.core.js.map +1 -0
  230. package/dist/commonjs/react-query/vendorsDownloadVendorsExport.d.ts +33 -0
  231. package/dist/commonjs/react-query/vendorsDownloadVendorsExport.d.ts.map +1 -0
  232. package/dist/commonjs/react-query/vendorsDownloadVendorsExport.js +73 -0
  233. package/dist/commonjs/react-query/vendorsDownloadVendorsExport.js.map +1 -0
  234. package/dist/commonjs/react-query/vendorsGetVendorsExportStatus.core.d.ts +12 -0
  235. package/dist/commonjs/react-query/vendorsGetVendorsExportStatus.core.d.ts.map +1 -0
  236. package/dist/commonjs/react-query/vendorsGetVendorsExportStatus.core.js +39 -0
  237. package/dist/commonjs/react-query/vendorsGetVendorsExportStatus.core.js.map +1 -0
  238. package/dist/commonjs/react-query/vendorsGetVendorsExportStatus.d.ts +31 -0
  239. package/dist/commonjs/react-query/vendorsGetVendorsExportStatus.d.ts.map +1 -0
  240. package/dist/commonjs/react-query/vendorsGetVendorsExportStatus.js +71 -0
  241. package/dist/commonjs/react-query/vendorsGetVendorsExportStatus.js.map +1 -0
  242. package/dist/commonjs/react-query/vendorsVendorsExport.core.d.ts +40 -0
  243. package/dist/commonjs/react-query/vendorsVendorsExport.core.d.ts.map +1 -0
  244. package/dist/commonjs/react-query/vendorsVendorsExport.core.js +67 -0
  245. package/dist/commonjs/react-query/vendorsVendorsExport.core.js.map +1 -0
  246. package/dist/commonjs/react-query/vendorsVendorsExport.d.ts +95 -0
  247. package/dist/commonjs/react-query/vendorsVendorsExport.d.ts.map +1 -0
  248. package/dist/commonjs/react-query/vendorsVendorsExport.js +71 -0
  249. package/dist/commonjs/react-query/vendorsVendorsExport.js.map +1 -0
  250. package/dist/commonjs/sdk/companies.d.ts +18 -0
  251. package/dist/commonjs/sdk/companies.d.ts.map +1 -1
  252. package/dist/commonjs/sdk/companies.js +20 -0
  253. package/dist/commonjs/sdk/companies.js.map +1 -1
  254. package/dist/commonjs/sdk/organizations.d.ts +64 -0
  255. package/dist/commonjs/sdk/organizations.d.ts.map +1 -1
  256. package/dist/commonjs/sdk/organizations.js +71 -0
  257. package/dist/commonjs/sdk/organizations.js.map +1 -1
  258. package/dist/commonjs/sdk/users.d.ts +1 -0
  259. package/dist/commonjs/sdk/users.d.ts.map +1 -1
  260. package/dist/commonjs/sdk/users.js +1 -0
  261. package/dist/commonjs/sdk/users.js.map +1 -1
  262. package/dist/commonjs/sdk/vendors.d.ts +27 -0
  263. package/dist/commonjs/sdk/vendors.d.ts.map +1 -1
  264. package/dist/commonjs/sdk/vendors.js +36 -0
  265. package/dist/commonjs/sdk/vendors.js.map +1 -1
  266. package/dist/commonjs/sdk/vendorscans.d.ts +3 -0
  267. package/dist/commonjs/sdk/vendorscans.d.ts.map +1 -1
  268. package/dist/commonjs/sdk/vendorscans.js +3 -0
  269. package/dist/commonjs/sdk/vendorscans.js.map +1 -1
  270. package/dist/commonjs/types/async.d.ts.map +1 -1
  271. package/dist/commonjs/types/async.js +8 -7
  272. package/dist/commonjs/types/async.js.map +1 -1
  273. package/dist/commonjs/types/primitives.d.ts +0 -2
  274. package/dist/commonjs/types/primitives.d.ts.map +1 -1
  275. package/dist/commonjs/types/primitives.js +0 -23
  276. package/dist/commonjs/types/primitives.js.map +1 -1
  277. package/dist/esm/__tests__/companies.test.js +63 -0
  278. package/dist/esm/__tests__/companies.test.js.map +1 -1
  279. package/dist/esm/__tests__/organizations.test.js +75 -0
  280. package/dist/esm/__tests__/organizations.test.js.map +1 -1
  281. package/dist/esm/__tests__/vendors.test.js +51 -0
  282. package/dist/esm/__tests__/vendors.test.js.map +1 -1
  283. package/dist/esm/__tests__/zones.test.js +12 -14
  284. package/dist/esm/__tests__/zones.test.js.map +1 -1
  285. package/dist/esm/funcs/companiesListCompanyCredentials.d.ts +23 -0
  286. package/dist/esm/funcs/companiesListCompanyCredentials.d.ts.map +1 -0
  287. package/dist/esm/funcs/companiesListCompanyCredentials.js +134 -0
  288. package/dist/esm/funcs/companiesListCompanyCredentials.js.map +1 -0
  289. package/dist/esm/funcs/companiesListCompanyCredits.d.ts +23 -0
  290. package/dist/esm/funcs/companiesListCompanyCredits.d.ts.map +1 -0
  291. package/dist/esm/funcs/companiesListCompanyCredits.js +131 -0
  292. package/dist/esm/funcs/companiesListCompanyCredits.js.map +1 -0
  293. package/dist/esm/funcs/organizationsCreateCompanyTargetFacility.d.ts +34 -0
  294. package/dist/esm/funcs/organizationsCreateCompanyTargetFacility.d.ts.map +1 -0
  295. package/dist/esm/funcs/organizationsCreateCompanyTargetFacility.js +109 -0
  296. package/dist/esm/funcs/organizationsCreateCompanyTargetFacility.js.map +1 -0
  297. package/dist/esm/funcs/organizationsDeleteCompanyTargetFacility.d.ts +28 -0
  298. package/dist/esm/funcs/organizationsDeleteCompanyTargetFacility.d.ts.map +1 -0
  299. package/dist/esm/funcs/organizationsDeleteCompanyTargetFacility.js +102 -0
  300. package/dist/esm/funcs/organizationsDeleteCompanyTargetFacility.js.map +1 -0
  301. package/dist/esm/funcs/organizationsListCompanyTargetFacilities.d.ts +42 -0
  302. package/dist/esm/funcs/organizationsListCompanyTargetFacilities.d.ts.map +1 -0
  303. package/dist/esm/funcs/organizationsListCompanyTargetFacilities.js +158 -0
  304. package/dist/esm/funcs/organizationsListCompanyTargetFacilities.js.map +1 -0
  305. package/dist/esm/funcs/organizationsListOrSearchFacilities.js +1 -0
  306. package/dist/esm/funcs/organizationsListOrSearchFacilities.js.map +1 -1
  307. package/dist/esm/funcs/usersGetCurrentUser.d.ts +1 -0
  308. package/dist/esm/funcs/usersGetCurrentUser.d.ts.map +1 -1
  309. package/dist/esm/funcs/usersGetCurrentUser.js +1 -0
  310. package/dist/esm/funcs/usersGetCurrentUser.js.map +1 -1
  311. package/dist/esm/funcs/vendorScansGetVendorScan.d.ts +3 -0
  312. package/dist/esm/funcs/vendorScansGetVendorScan.d.ts.map +1 -1
  313. package/dist/esm/funcs/vendorScansGetVendorScan.js +3 -0
  314. package/dist/esm/funcs/vendorScansGetVendorScan.js.map +1 -1
  315. package/dist/esm/funcs/vendorsDownloadVendorsExport.d.ts +22 -0
  316. package/dist/esm/funcs/vendorsDownloadVendorsExport.d.ts.map +1 -0
  317. package/dist/esm/funcs/vendorsDownloadVendorsExport.js +92 -0
  318. package/dist/esm/funcs/vendorsDownloadVendorsExport.js.map +1 -0
  319. package/dist/esm/funcs/vendorsGetVendorsExportStatus.d.ts +21 -0
  320. package/dist/esm/funcs/vendorsGetVendorsExportStatus.d.ts.map +1 -0
  321. package/dist/esm/funcs/vendorsGetVendorsExportStatus.js +90 -0
  322. package/dist/esm/funcs/vendorsGetVendorsExportStatus.js.map +1 -0
  323. package/dist/esm/funcs/vendorsVendorsExport.d.ts +23 -0
  324. package/dist/esm/funcs/vendorsVendorsExport.d.ts.map +1 -0
  325. package/dist/esm/funcs/vendorsVendorsExport.js +116 -0
  326. package/dist/esm/funcs/vendorsVendorsExport.js.map +1 -0
  327. package/dist/esm/lib/config.d.ts +3 -3
  328. package/dist/esm/lib/config.js +3 -3
  329. package/dist/esm/lib/config.js.map +1 -1
  330. package/dist/esm/models/components/appointmentsummary.d.ts +25 -0
  331. package/dist/esm/models/components/appointmentsummary.d.ts.map +1 -0
  332. package/dist/esm/models/components/appointmentsummary.js +26 -0
  333. package/dist/esm/models/components/appointmentsummary.js.map +1 -0
  334. package/dist/esm/models/components/companycredentiallistitem.d.ts +32 -0
  335. package/dist/esm/models/components/companycredentiallistitem.d.ts.map +1 -0
  336. package/dist/esm/models/components/companycredentiallistitem.js +45 -0
  337. package/dist/esm/models/components/companycredentiallistitem.js.map +1 -0
  338. package/dist/esm/models/components/companytargetfacility.d.ts +54 -0
  339. package/dist/esm/models/components/companytargetfacility.d.ts.map +1 -0
  340. package/dist/esm/models/components/companytargetfacility.js +41 -0
  341. package/dist/esm/models/components/companytargetfacility.js.map +1 -0
  342. package/dist/esm/models/components/emailpreferences.d.ts +0 -18
  343. package/dist/esm/models/components/emailpreferences.d.ts.map +1 -1
  344. package/dist/esm/models/components/emailpreferences.js +0 -9
  345. package/dist/esm/models/components/emailpreferences.js.map +1 -1
  346. package/dist/esm/models/components/expand.d.ts +7 -0
  347. package/dist/esm/models/components/expand.d.ts.map +1 -1
  348. package/dist/esm/models/components/expand.js +7 -0
  349. package/dist/esm/models/components/expand.js.map +1 -1
  350. package/dist/esm/models/components/index.d.ts +4 -0
  351. package/dist/esm/models/components/index.d.ts.map +1 -1
  352. package/dist/esm/models/components/index.js +4 -0
  353. package/dist/esm/models/components/index.js.map +1 -1
  354. package/dist/esm/models/components/paymentprofile.d.ts +8 -8
  355. package/dist/esm/models/components/paymentprofile.d.ts.map +1 -1
  356. package/dist/esm/models/components/paymentprofile.js +9 -10
  357. package/dist/esm/models/components/paymentprofile.js.map +1 -1
  358. package/dist/esm/models/components/userdetails.d.ts +36 -0
  359. package/dist/esm/models/components/userdetails.d.ts.map +1 -1
  360. package/dist/esm/models/components/userdetails.js +45 -0
  361. package/dist/esm/models/components/userdetails.js.map +1 -1
  362. package/dist/esm/models/components/vendorcredentialsummary.d.ts +2 -0
  363. package/dist/esm/models/components/vendorcredentialsummary.d.ts.map +1 -1
  364. package/dist/esm/models/components/vendorcredentialsummary.js +2 -0
  365. package/dist/esm/models/components/vendorcredentialsummary.js.map +1 -1
  366. package/dist/esm/models/components/vendorscan.d.ts +47 -0
  367. package/dist/esm/models/components/vendorscan.d.ts.map +1 -1
  368. package/dist/esm/models/components/vendorscan.js +28 -0
  369. package/dist/esm/models/components/vendorscan.js.map +1 -1
  370. package/dist/esm/models/components/vendorscanscreeningresponse.d.ts +27 -0
  371. package/dist/esm/models/components/vendorscanscreeningresponse.d.ts.map +1 -0
  372. package/dist/esm/models/components/vendorscanscreeningresponse.js +26 -0
  373. package/dist/esm/models/components/vendorscanscreeningresponse.js.map +1 -0
  374. package/dist/esm/models/components/zone.d.ts +5 -5
  375. package/dist/esm/models/components/zone.d.ts.map +1 -1
  376. package/dist/esm/models/components/zone.js +8 -6
  377. package/dist/esm/models/components/zone.js.map +1 -1
  378. package/dist/esm/models/operations/createcompanytargetfacility.d.ts +50 -0
  379. package/dist/esm/models/operations/createcompanytargetfacility.d.ts.map +1 -0
  380. package/dist/esm/models/operations/createcompanytargetfacility.js +45 -0
  381. package/dist/esm/models/operations/createcompanytargetfacility.js.map +1 -0
  382. package/dist/esm/models/operations/createinvoice.d.ts +6 -6
  383. package/dist/esm/models/operations/createinvoice.d.ts.map +1 -1
  384. package/dist/esm/models/operations/createinvoice.js +4 -4
  385. package/dist/esm/models/operations/createinvoice.js.map +1 -1
  386. package/dist/esm/models/operations/deletecompanytargetfacility.d.ts +20 -0
  387. package/dist/esm/models/operations/deletecompanytargetfacility.d.ts.map +1 -0
  388. package/dist/esm/models/operations/deletecompanytargetfacility.js +18 -0
  389. package/dist/esm/models/operations/deletecompanytargetfacility.js.map +1 -0
  390. package/dist/esm/models/operations/downloadvendorsexport.d.ts +42 -0
  391. package/dist/esm/models/operations/downloadvendorsexport.d.ts.map +1 -0
  392. package/dist/esm/models/operations/downloadvendorsexport.js +36 -0
  393. package/dist/esm/models/operations/downloadvendorsexport.js.map +1 -0
  394. package/dist/esm/models/operations/getinvoice.d.ts +4 -4
  395. package/dist/esm/models/operations/getinvoice.d.ts.map +1 -1
  396. package/dist/esm/models/operations/getinvoice.js +3 -3
  397. package/dist/esm/models/operations/getinvoice.js.map +1 -1
  398. package/dist/esm/models/operations/getvendorsexportstatus.d.ts +53 -0
  399. package/dist/esm/models/operations/getvendorsexportstatus.d.ts.map +1 -0
  400. package/dist/esm/models/operations/getvendorsexportstatus.js +35 -0
  401. package/dist/esm/models/operations/getvendorsexportstatus.js.map +1 -0
  402. package/dist/esm/models/operations/index.d.ts +8 -0
  403. package/dist/esm/models/operations/index.d.ts.map +1 -1
  404. package/dist/esm/models/operations/index.js +8 -0
  405. package/dist/esm/models/operations/index.js.map +1 -1
  406. package/dist/esm/models/operations/invoicesexport.d.ts +8 -8
  407. package/dist/esm/models/operations/invoicesexport.d.ts.map +1 -1
  408. package/dist/esm/models/operations/invoicesexport.js +7 -6
  409. package/dist/esm/models/operations/invoicesexport.js.map +1 -1
  410. package/dist/esm/models/operations/listcompanycredentials.d.ts +93 -0
  411. package/dist/esm/models/operations/listcompanycredentials.d.ts.map +1 -0
  412. package/dist/esm/models/operations/listcompanycredentials.js +73 -0
  413. package/dist/esm/models/operations/listcompanycredentials.js.map +1 -0
  414. package/dist/esm/models/operations/listcompanycredits.d.ts +127 -0
  415. package/dist/esm/models/operations/listcompanycredits.d.ts.map +1 -0
  416. package/dist/esm/models/operations/listcompanycredits.js +88 -0
  417. package/dist/esm/models/operations/listcompanycredits.js.map +1 -0
  418. package/dist/esm/models/operations/listcompanytargetfacilities.d.ts +173 -0
  419. package/dist/esm/models/operations/listcompanytargetfacilities.d.ts.map +1 -0
  420. package/dist/esm/models/operations/listcompanytargetfacilities.js +110 -0
  421. package/dist/esm/models/operations/listcompanytargetfacilities.js.map +1 -0
  422. package/dist/esm/models/operations/listlookupsystems.d.ts +4 -4
  423. package/dist/esm/models/operations/listlookupsystems.d.ts.map +1 -1
  424. package/dist/esm/models/operations/listlookupsystems.js +3 -4
  425. package/dist/esm/models/operations/listlookupsystems.js.map +1 -1
  426. package/dist/esm/models/operations/listorsearchfacilities.d.ts +18 -0
  427. package/dist/esm/models/operations/listorsearchfacilities.d.ts.map +1 -1
  428. package/dist/esm/models/operations/listorsearchfacilities.js +10 -0
  429. package/dist/esm/models/operations/listorsearchfacilities.js.map +1 -1
  430. package/dist/esm/models/operations/securityzonecheckin.d.ts +18 -17
  431. package/dist/esm/models/operations/securityzonecheckin.d.ts.map +1 -1
  432. package/dist/esm/models/operations/securityzonecheckin.js +14 -13
  433. package/dist/esm/models/operations/securityzonecheckin.js.map +1 -1
  434. package/dist/esm/models/operations/vendorsexport.d.ts +184 -0
  435. package/dist/esm/models/operations/vendorsexport.d.ts.map +1 -0
  436. package/dist/esm/models/operations/vendorsexport.js +94 -0
  437. package/dist/esm/models/operations/vendorsexport.js.map +1 -0
  438. package/dist/esm/react-query/companiesListCompanyCredentials.core.d.ts +44 -0
  439. package/dist/esm/react-query/companiesListCompanyCredentials.core.d.ts.map +1 -0
  440. package/dist/esm/react-query/companiesListCompanyCredentials.core.js +93 -0
  441. package/dist/esm/react-query/companiesListCompanyCredentials.core.js.map +1 -0
  442. package/dist/esm/react-query/companiesListCompanyCredentials.d.ts +68 -0
  443. package/dist/esm/react-query/companiesListCompanyCredentials.d.ts.map +1 -0
  444. package/dist/esm/react-query/companiesListCompanyCredentials.js +89 -0
  445. package/dist/esm/react-query/companiesListCompanyCredentials.js.map +1 -0
  446. package/dist/esm/react-query/companiesListCompanyCredits.core.d.ts +38 -0
  447. package/dist/esm/react-query/companiesListCompanyCredits.core.d.ts.map +1 -0
  448. package/dist/esm/react-query/companiesListCompanyCredits.core.js +87 -0
  449. package/dist/esm/react-query/companiesListCompanyCredits.core.js.map +1 -0
  450. package/dist/esm/react-query/companiesListCompanyCredits.d.ts +62 -0
  451. package/dist/esm/react-query/companiesListCompanyCredits.d.ts.map +1 -0
  452. package/dist/esm/react-query/companiesListCompanyCredits.js +89 -0
  453. package/dist/esm/react-query/companiesListCompanyCredits.js.map +1 -0
  454. package/dist/esm/react-query/index.d.ts +8 -0
  455. package/dist/esm/react-query/index.d.ts.map +1 -1
  456. package/dist/esm/react-query/index.js +8 -0
  457. package/dist/esm/react-query/index.js.map +1 -1
  458. package/dist/esm/react-query/invoicesGetInvoice.core.d.ts +1 -1
  459. package/dist/esm/react-query/invoicesGetInvoice.core.d.ts.map +1 -1
  460. package/dist/esm/react-query/invoicesGetInvoice.d.ts +2 -2
  461. package/dist/esm/react-query/invoicesGetInvoice.d.ts.map +1 -1
  462. package/dist/esm/react-query/invoicesInvoicesExport.core.d.ts +1 -1
  463. package/dist/esm/react-query/invoicesInvoicesExport.core.d.ts.map +1 -1
  464. package/dist/esm/react-query/invoicesInvoicesExport.d.ts +2 -2
  465. package/dist/esm/react-query/invoicesInvoicesExport.d.ts.map +1 -1
  466. package/dist/esm/react-query/lookupsListLookupSystems.core.d.ts +1 -1
  467. package/dist/esm/react-query/lookupsListLookupSystems.core.d.ts.map +1 -1
  468. package/dist/esm/react-query/lookupsListLookupSystems.d.ts +2 -2
  469. package/dist/esm/react-query/lookupsListLookupSystems.d.ts.map +1 -1
  470. package/dist/esm/react-query/organizationsCreateCompanyTargetFacility.d.ts +43 -0
  471. package/dist/esm/react-query/organizationsCreateCompanyTargetFacility.d.ts.map +1 -0
  472. package/dist/esm/react-query/organizationsCreateCompanyTargetFacility.js +60 -0
  473. package/dist/esm/react-query/organizationsCreateCompanyTargetFacility.js.map +1 -0
  474. package/dist/esm/react-query/organizationsDeleteCompanyTargetFacility.d.ts +37 -0
  475. package/dist/esm/react-query/organizationsDeleteCompanyTargetFacility.d.ts.map +1 -0
  476. package/dist/esm/react-query/organizationsDeleteCompanyTargetFacility.js +54 -0
  477. package/dist/esm/react-query/organizationsDeleteCompanyTargetFacility.js.map +1 -0
  478. package/dist/esm/react-query/organizationsListCompanyTargetFacilities.core.d.ts +54 -0
  479. package/dist/esm/react-query/organizationsListCompanyTargetFacilities.core.d.ts.map +1 -0
  480. package/dist/esm/react-query/organizationsListCompanyTargetFacilities.core.js +103 -0
  481. package/dist/esm/react-query/organizationsListCompanyTargetFacilities.core.js.map +1 -0
  482. package/dist/esm/react-query/organizationsListCompanyTargetFacilities.d.ts +154 -0
  483. package/dist/esm/react-query/organizationsListCompanyTargetFacilities.d.ts.map +1 -0
  484. package/dist/esm/react-query/organizationsListCompanyTargetFacilities.js +165 -0
  485. package/dist/esm/react-query/organizationsListCompanyTargetFacilities.js.map +1 -0
  486. package/dist/esm/react-query/organizationsListOrSearchFacilities.core.d.ts +2 -0
  487. package/dist/esm/react-query/organizationsListOrSearchFacilities.core.d.ts.map +1 -1
  488. package/dist/esm/react-query/organizationsListOrSearchFacilities.core.js +2 -0
  489. package/dist/esm/react-query/organizationsListOrSearchFacilities.core.js.map +1 -1
  490. package/dist/esm/react-query/organizationsListOrSearchFacilities.d.ts +2 -0
  491. package/dist/esm/react-query/organizationsListOrSearchFacilities.d.ts.map +1 -1
  492. package/dist/esm/react-query/organizationsListOrSearchFacilities.js.map +1 -1
  493. package/dist/esm/react-query/usersGetCurrentUser.d.ts +2 -0
  494. package/dist/esm/react-query/usersGetCurrentUser.d.ts.map +1 -1
  495. package/dist/esm/react-query/usersGetCurrentUser.js +2 -0
  496. package/dist/esm/react-query/usersGetCurrentUser.js.map +1 -1
  497. package/dist/esm/react-query/vendorScansGetVendorScan.d.ts +6 -0
  498. package/dist/esm/react-query/vendorScansGetVendorScan.d.ts.map +1 -1
  499. package/dist/esm/react-query/vendorScansGetVendorScan.js +6 -0
  500. package/dist/esm/react-query/vendorScansGetVendorScan.js.map +1 -1
  501. package/dist/esm/react-query/vendorsDownloadVendorsExport.core.d.ts +12 -0
  502. package/dist/esm/react-query/vendorsDownloadVendorsExport.core.d.ts.map +1 -0
  503. package/dist/esm/react-query/vendorsDownloadVendorsExport.core.js +34 -0
  504. package/dist/esm/react-query/vendorsDownloadVendorsExport.core.js.map +1 -0
  505. package/dist/esm/react-query/vendorsDownloadVendorsExport.d.ts +33 -0
  506. package/dist/esm/react-query/vendorsDownloadVendorsExport.d.ts.map +1 -0
  507. package/dist/esm/react-query/vendorsDownloadVendorsExport.js +63 -0
  508. package/dist/esm/react-query/vendorsDownloadVendorsExport.js.map +1 -0
  509. package/dist/esm/react-query/vendorsGetVendorsExportStatus.core.d.ts +12 -0
  510. package/dist/esm/react-query/vendorsGetVendorsExportStatus.core.d.ts.map +1 -0
  511. package/dist/esm/react-query/vendorsGetVendorsExportStatus.core.js +34 -0
  512. package/dist/esm/react-query/vendorsGetVendorsExportStatus.core.js.map +1 -0
  513. package/dist/esm/react-query/vendorsGetVendorsExportStatus.d.ts +31 -0
  514. package/dist/esm/react-query/vendorsGetVendorsExportStatus.d.ts.map +1 -0
  515. package/dist/esm/react-query/vendorsGetVendorsExportStatus.js +61 -0
  516. package/dist/esm/react-query/vendorsGetVendorsExportStatus.js.map +1 -0
  517. package/dist/esm/react-query/vendorsVendorsExport.core.d.ts +40 -0
  518. package/dist/esm/react-query/vendorsVendorsExport.core.d.ts.map +1 -0
  519. package/dist/esm/react-query/vendorsVendorsExport.core.js +62 -0
  520. package/dist/esm/react-query/vendorsVendorsExport.core.js.map +1 -0
  521. package/dist/esm/react-query/vendorsVendorsExport.d.ts +95 -0
  522. package/dist/esm/react-query/vendorsVendorsExport.d.ts.map +1 -0
  523. package/dist/esm/react-query/vendorsVendorsExport.js +61 -0
  524. package/dist/esm/react-query/vendorsVendorsExport.js.map +1 -0
  525. package/dist/esm/sdk/companies.d.ts +18 -0
  526. package/dist/esm/sdk/companies.d.ts.map +1 -1
  527. package/dist/esm/sdk/companies.js +20 -0
  528. package/dist/esm/sdk/companies.js.map +1 -1
  529. package/dist/esm/sdk/organizations.d.ts +64 -0
  530. package/dist/esm/sdk/organizations.d.ts.map +1 -1
  531. package/dist/esm/sdk/organizations.js +71 -0
  532. package/dist/esm/sdk/organizations.js.map +1 -1
  533. package/dist/esm/sdk/users.d.ts +1 -0
  534. package/dist/esm/sdk/users.d.ts.map +1 -1
  535. package/dist/esm/sdk/users.js +1 -0
  536. package/dist/esm/sdk/users.js.map +1 -1
  537. package/dist/esm/sdk/vendors.d.ts +27 -0
  538. package/dist/esm/sdk/vendors.d.ts.map +1 -1
  539. package/dist/esm/sdk/vendors.js +36 -0
  540. package/dist/esm/sdk/vendors.js.map +1 -1
  541. package/dist/esm/sdk/vendorscans.d.ts +3 -0
  542. package/dist/esm/sdk/vendorscans.d.ts.map +1 -1
  543. package/dist/esm/sdk/vendorscans.js +3 -0
  544. package/dist/esm/sdk/vendorscans.js.map +1 -1
  545. package/dist/esm/types/async.d.ts.map +1 -1
  546. package/dist/esm/types/async.js +8 -7
  547. package/dist/esm/types/async.js.map +1 -1
  548. package/dist/esm/types/primitives.d.ts +0 -2
  549. package/dist/esm/types/primitives.d.ts.map +1 -1
  550. package/dist/esm/types/primitives.js +0 -21
  551. package/dist/esm/types/primitives.js.map +1 -1
  552. package/jsr.json +1 -1
  553. package/package.json +1 -1
  554. package/src/__tests__/companies.test.ts +69 -0
  555. package/src/__tests__/organizations.test.ts +84 -0
  556. package/src/__tests__/vendors.test.ts +60 -0
  557. package/src/__tests__/zones.test.ts +12 -14
  558. package/src/funcs/companiesListCompanyCredentials.ts +265 -0
  559. package/src/funcs/companiesListCompanyCredits.ts +261 -0
  560. package/src/funcs/organizationsCreateCompanyTargetFacility.ts +204 -0
  561. package/src/funcs/organizationsDeleteCompanyTargetFacility.ts +193 -0
  562. package/src/funcs/organizationsListCompanyTargetFacilities.ts +291 -0
  563. package/src/funcs/organizationsListOrSearchFacilities.ts +1 -0
  564. package/src/funcs/usersGetCurrentUser.ts +1 -0
  565. package/src/funcs/vendorScansGetVendorScan.ts +3 -0
  566. package/src/funcs/vendorsDownloadVendorsExport.ts +190 -0
  567. package/src/funcs/vendorsGetVendorsExportStatus.ts +179 -0
  568. package/src/funcs/vendorsVendorsExport.ts +207 -0
  569. package/src/lib/config.ts +3 -3
  570. package/src/models/components/appointmentsummary.ts +59 -0
  571. package/src/models/components/companycredentiallistitem.ts +110 -0
  572. package/src/models/components/companytargetfacility.ts +124 -0
  573. package/src/models/components/emailpreferences.ts +0 -18
  574. package/src/models/components/expand.ts +7 -0
  575. package/src/models/components/index.ts +4 -0
  576. package/src/models/components/paymentprofile.ts +22 -19
  577. package/src/models/components/userdetails.ts +116 -0
  578. package/src/models/components/vendorcredentialsummary.ts +3 -0
  579. package/src/models/components/vendorscan.ts +102 -0
  580. package/src/models/components/vendorscanscreeningresponse.ts +61 -0
  581. package/src/models/components/zone.ts +20 -14
  582. package/src/models/operations/createcompanytargetfacility.ts +132 -0
  583. package/src/models/operations/createinvoice.ts +14 -10
  584. package/src/models/operations/deletecompanytargetfacility.ts +47 -0
  585. package/src/models/operations/downloadvendorsexport.ts +107 -0
  586. package/src/models/operations/getinvoice.ts +9 -7
  587. package/src/models/operations/getvendorsexportstatus.ts +108 -0
  588. package/src/models/operations/index.ts +8 -0
  589. package/src/models/operations/invoicesexport.ts +15 -13
  590. package/src/models/operations/listcompanycredentials.ts +195 -0
  591. package/src/models/operations/listcompanycredits.ts +235 -0
  592. package/src/models/operations/listcompanytargetfacilities.ts +291 -0
  593. package/src/models/operations/listlookupsystems.ts +7 -6
  594. package/src/models/operations/listorsearchfacilities.ts +22 -0
  595. package/src/models/operations/securityzonecheckin.ts +37 -40
  596. package/src/models/operations/vendorsexport.ts +303 -0
  597. package/src/react-query/companiesListCompanyCredentials.core.ts +211 -0
  598. package/src/react-query/companiesListCompanyCredentials.ts +277 -0
  599. package/src/react-query/companiesListCompanyCredits.core.ts +197 -0
  600. package/src/react-query/companiesListCompanyCredits.ts +268 -0
  601. package/src/react-query/index.ts +8 -0
  602. package/src/react-query/invoicesGetInvoice.core.ts +1 -1
  603. package/src/react-query/invoicesGetInvoice.ts +2 -2
  604. package/src/react-query/invoicesInvoicesExport.core.ts +1 -1
  605. package/src/react-query/invoicesInvoicesExport.ts +2 -2
  606. package/src/react-query/lookupsListLookupSystems.core.ts +1 -1
  607. package/src/react-query/lookupsListLookupSystems.ts +2 -2
  608. package/src/react-query/organizationsCreateCompanyTargetFacility.ts +129 -0
  609. package/src/react-query/organizationsDeleteCompanyTargetFacility.ts +122 -0
  610. package/src/react-query/organizationsListCompanyTargetFacilities.core.ts +239 -0
  611. package/src/react-query/organizationsListCompanyTargetFacilities.ts +365 -0
  612. package/src/react-query/organizationsListOrSearchFacilities.core.ts +4 -0
  613. package/src/react-query/organizationsListOrSearchFacilities.ts +2 -0
  614. package/src/react-query/usersGetCurrentUser.ts +2 -0
  615. package/src/react-query/vendorScansGetVendorScan.ts +6 -0
  616. package/src/react-query/vendorsDownloadVendorsExport.core.ts +77 -0
  617. package/src/react-query/vendorsDownloadVendorsExport.ts +151 -0
  618. package/src/react-query/vendorsGetVendorsExportStatus.core.ts +76 -0
  619. package/src/react-query/vendorsGetVendorsExportStatus.ts +149 -0
  620. package/src/react-query/vendorsVendorsExport.core.ts +134 -0
  621. package/src/react-query/vendorsVendorsExport.ts +209 -0
  622. package/src/sdk/companies.ts +40 -0
  623. package/src/sdk/organizations.ts +102 -0
  624. package/src/sdk/users.ts +1 -0
  625. package/src/sdk/vendors.ts +60 -0
  626. package/src/sdk/vendorscans.ts +3 -0
  627. package/src/types/async.ts +8 -7
  628. package/src/types/primitives.ts +0 -24
@@ -0,0 +1,291 @@
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 { ClosedEnum } from "../../types/enums.js";
9
+ import { Result as SafeParseResult } from "../../types/fp.js";
10
+ import * as components from "../components/index.js";
11
+ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
12
+
13
+ /**
14
+ * Filter by link status.
15
+ */
16
+ export const QueryParamStatus = {
17
+ Pending: "pending",
18
+ Approved: "approved",
19
+ Denied: "denied",
20
+ } as const;
21
+ /**
22
+ * Filter by link status.
23
+ */
24
+ export type QueryParamStatus = ClosedEnum<typeof QueryParamStatus>;
25
+
26
+ /**
27
+ * `true` returns only facilities the company has at least one individual targeting; `false` returns only those with none.
28
+ */
29
+ export const HasIndividual = {
30
+ True: "true",
31
+ False: "false",
32
+ } as const;
33
+ /**
34
+ * `true` returns only facilities the company has at least one individual targeting; `false` returns only those with none.
35
+ */
36
+ export type HasIndividual = ClosedEnum<typeof HasIndividual>;
37
+
38
+ /**
39
+ * Like `has_individual`, but only counts individuals whose credentialing subscription is active.
40
+ */
41
+ export const HasActiveIndividual = {
42
+ True: "true",
43
+ False: "false",
44
+ } as const;
45
+ /**
46
+ * Like `has_individual`, but only counts individuals whose credentialing subscription is active.
47
+ */
48
+ export type HasActiveIndividual = ClosedEnum<typeof HasActiveIndividual>;
49
+
50
+ /**
51
+ * When `true`, returns ALL non-deleted facilities via LEFT JOIN. Targeted rows carry their CTF id and status; non-targeted rows have `id: null` and `status: "Not Targeted"`.
52
+ */
53
+ export const IncludePotentialTargets = {
54
+ True: "true",
55
+ False: "false",
56
+ } as const;
57
+ /**
58
+ * When `true`, returns ALL non-deleted facilities via LEFT JOIN. Targeted rows carry their CTF id and status; non-targeted rows have `id: null` and `status: "Not Targeted"`.
59
+ */
60
+ export type IncludePotentialTargets = ClosedEnum<
61
+ typeof IncludePotentialTargets
62
+ >;
63
+
64
+ /**
65
+ * Sort field (defaults to `facility_name`). When `include_potential_targets=true`, only `facility_name`, `system_name`, `city`, and `status` are applicable.
66
+ */
67
+ export const QueryParamSort = {
68
+ Id: "id",
69
+ FacilityName: "facility_name",
70
+ SystemName: "system_name",
71
+ Status: "status",
72
+ DateCreated: "date_created",
73
+ City: "city",
74
+ } as const;
75
+ /**
76
+ * Sort field (defaults to `facility_name`). When `include_potential_targets=true`, only `facility_name`, `system_name`, `city`, and `status` are applicable.
77
+ */
78
+ export type QueryParamSort = ClosedEnum<typeof QueryParamSort>;
79
+
80
+ export type ListCompanyTargetFacilitiesRequest = {
81
+ /**
82
+ * The company whose target facilities to list.
83
+ */
84
+ companyId: number;
85
+ /**
86
+ * An array-style parameter to identify which sections of an object to expand. See documentation for the endpoint for a list of valid expansion values.
87
+ */
88
+ expand?: Array<components.Expand> | undefined;
89
+ /**
90
+ * Filter by link status.
91
+ */
92
+ status?: QueryParamStatus | undefined;
93
+ /**
94
+ * `true` returns only facilities the company has at least one individual targeting; `false` returns only those with none.
95
+ */
96
+ hasIndividual?: HasIndividual | undefined;
97
+ /**
98
+ * Like `has_individual`, but only counts individuals whose credentialing subscription is active.
99
+ */
100
+ hasActiveIndividual?: HasActiveIndividual | undefined;
101
+ /**
102
+ * When `true`, returns ALL non-deleted facilities via LEFT JOIN. Targeted rows carry their CTF id and status; non-targeted rows have `id: null` and `status: "Not Targeted"`.
103
+ */
104
+ includePotentialTargets?: IncludePotentialTargets | undefined;
105
+ /**
106
+ * Case-insensitive partial match on facility name.
107
+ */
108
+ facilityNameLike?: string | undefined;
109
+ /**
110
+ * Case-insensitive partial match on facility city.
111
+ */
112
+ cityLike?: string | undefined;
113
+ /**
114
+ * Case-insensitive partial match on facility street address.
115
+ */
116
+ addressLike?: string | undefined;
117
+ /**
118
+ * Case-insensitive partial match on the facility's parent system name.
119
+ */
120
+ systemNameLike?: string | undefined;
121
+ /**
122
+ * Sort field (defaults to `facility_name`). When `include_potential_targets=true`, only `facility_name`, `system_name`, `city`, and `status` are applicable.
123
+ */
124
+ sort?: QueryParamSort | undefined;
125
+ /**
126
+ * Sort desc
127
+ */
128
+ desc?: components.Desc | undefined;
129
+ /**
130
+ * A 1-based offset for which page to request (defaults to 1)
131
+ */
132
+ page?: number | undefined;
133
+ /**
134
+ * Number of items to show in a given page
135
+ */
136
+ itemsPerPage?: number | undefined;
137
+ };
138
+
139
+ /**
140
+ * The request was successful, and the server has returned the requested resource in the response body.
141
+ */
142
+ export type ListCompanyTargetFacilitiesListCompanyTargetFacilitiesOk = {
143
+ /**
144
+ * Pagination information for a pageable list
145
+ */
146
+ pager: components.Pager;
147
+ items: Array<components.CompanyTargetFacility>;
148
+ };
149
+
150
+ export type ListCompanyTargetFacilitiesResponse = {
151
+ result: ListCompanyTargetFacilitiesListCompanyTargetFacilitiesOk;
152
+ };
153
+
154
+ /** @internal */
155
+ export const QueryParamStatus$outboundSchema: z.ZodNativeEnum<
156
+ typeof QueryParamStatus
157
+ > = z.nativeEnum(QueryParamStatus);
158
+
159
+ /** @internal */
160
+ export const HasIndividual$outboundSchema: z.ZodNativeEnum<
161
+ typeof HasIndividual
162
+ > = z.nativeEnum(HasIndividual);
163
+
164
+ /** @internal */
165
+ export const HasActiveIndividual$outboundSchema: z.ZodNativeEnum<
166
+ typeof HasActiveIndividual
167
+ > = z.nativeEnum(HasActiveIndividual);
168
+
169
+ /** @internal */
170
+ export const IncludePotentialTargets$outboundSchema: z.ZodNativeEnum<
171
+ typeof IncludePotentialTargets
172
+ > = z.nativeEnum(IncludePotentialTargets);
173
+
174
+ /** @internal */
175
+ export const QueryParamSort$outboundSchema: z.ZodNativeEnum<
176
+ typeof QueryParamSort
177
+ > = z.nativeEnum(QueryParamSort);
178
+
179
+ /** @internal */
180
+ export type ListCompanyTargetFacilitiesRequest$Outbound = {
181
+ company_id: number;
182
+ expand?: Array<string> | undefined;
183
+ status?: string | undefined;
184
+ has_individual?: string | undefined;
185
+ has_active_individual?: string | undefined;
186
+ include_potential_targets?: string | undefined;
187
+ facility_name_like?: string | undefined;
188
+ city_like?: string | undefined;
189
+ address_like?: string | undefined;
190
+ system_name_like?: string | undefined;
191
+ sort?: string | undefined;
192
+ desc?: components.Desc$Outbound | undefined;
193
+ page?: number | undefined;
194
+ items_per_page?: number | undefined;
195
+ };
196
+
197
+ /** @internal */
198
+ export const ListCompanyTargetFacilitiesRequest$outboundSchema: z.ZodType<
199
+ ListCompanyTargetFacilitiesRequest$Outbound,
200
+ z.ZodTypeDef,
201
+ ListCompanyTargetFacilitiesRequest
202
+ > = z.object({
203
+ companyId: z.number().int(),
204
+ expand: z.array(components.Expand$outboundSchema).optional(),
205
+ status: QueryParamStatus$outboundSchema.optional(),
206
+ hasIndividual: HasIndividual$outboundSchema.optional(),
207
+ hasActiveIndividual: HasActiveIndividual$outboundSchema.optional(),
208
+ includePotentialTargets: IncludePotentialTargets$outboundSchema.optional(),
209
+ facilityNameLike: z.string().optional(),
210
+ cityLike: z.string().optional(),
211
+ addressLike: z.string().optional(),
212
+ systemNameLike: z.string().optional(),
213
+ sort: QueryParamSort$outboundSchema.optional(),
214
+ desc: components.Desc$outboundSchema.optional(),
215
+ page: z.number().int().optional(),
216
+ itemsPerPage: z.number().int().optional(),
217
+ }).transform((v) => {
218
+ return remap$(v, {
219
+ companyId: "company_id",
220
+ hasIndividual: "has_individual",
221
+ hasActiveIndividual: "has_active_individual",
222
+ includePotentialTargets: "include_potential_targets",
223
+ facilityNameLike: "facility_name_like",
224
+ cityLike: "city_like",
225
+ addressLike: "address_like",
226
+ systemNameLike: "system_name_like",
227
+ itemsPerPage: "items_per_page",
228
+ });
229
+ });
230
+
231
+ export function listCompanyTargetFacilitiesRequestToJSON(
232
+ listCompanyTargetFacilitiesRequest: ListCompanyTargetFacilitiesRequest,
233
+ ): string {
234
+ return JSON.stringify(
235
+ ListCompanyTargetFacilitiesRequest$outboundSchema.parse(
236
+ listCompanyTargetFacilitiesRequest,
237
+ ),
238
+ );
239
+ }
240
+
241
+ /** @internal */
242
+ export const ListCompanyTargetFacilitiesListCompanyTargetFacilitiesOk$inboundSchema:
243
+ z.ZodType<
244
+ ListCompanyTargetFacilitiesListCompanyTargetFacilitiesOk,
245
+ z.ZodTypeDef,
246
+ unknown
247
+ > = z.object({
248
+ pager: components.Pager$inboundSchema,
249
+ items: z.array(components.CompanyTargetFacility$inboundSchema),
250
+ });
251
+
252
+ export function listCompanyTargetFacilitiesListCompanyTargetFacilitiesOkFromJSON(
253
+ jsonString: string,
254
+ ): SafeParseResult<
255
+ ListCompanyTargetFacilitiesListCompanyTargetFacilitiesOk,
256
+ SDKValidationError
257
+ > {
258
+ return safeParse(
259
+ jsonString,
260
+ (x) =>
261
+ ListCompanyTargetFacilitiesListCompanyTargetFacilitiesOk$inboundSchema
262
+ .parse(JSON.parse(x)),
263
+ `Failed to parse 'ListCompanyTargetFacilitiesListCompanyTargetFacilitiesOk' from JSON`,
264
+ );
265
+ }
266
+
267
+ /** @internal */
268
+ export const ListCompanyTargetFacilitiesResponse$inboundSchema: z.ZodType<
269
+ ListCompanyTargetFacilitiesResponse,
270
+ z.ZodTypeDef,
271
+ unknown
272
+ > = z.object({
273
+ Result: z.lazy(() =>
274
+ ListCompanyTargetFacilitiesListCompanyTargetFacilitiesOk$inboundSchema
275
+ ),
276
+ }).transform((v) => {
277
+ return remap$(v, {
278
+ "Result": "result",
279
+ });
280
+ });
281
+
282
+ export function listCompanyTargetFacilitiesResponseFromJSON(
283
+ jsonString: string,
284
+ ): SafeParseResult<ListCompanyTargetFacilitiesResponse, SDKValidationError> {
285
+ return safeParse(
286
+ jsonString,
287
+ (x) =>
288
+ ListCompanyTargetFacilitiesResponse$inboundSchema.parse(JSON.parse(x)),
289
+ `Failed to parse 'ListCompanyTargetFacilitiesResponse' from JSON`,
290
+ );
291
+ }
@@ -9,11 +9,11 @@ import { Result as SafeParseResult } from "../../types/fp.js";
9
9
  import * as components from "../components/index.js";
10
10
  import { SDKValidationError } from "../errors/sdkvalidationerror.js";
11
11
 
12
- export const Expand = {
12
+ export const QueryParamExpand = {
13
13
  SystemFacilities: "system.facilities",
14
14
  SystemLocation: "system.location",
15
15
  } as const;
16
- export type Expand = ClosedEnum<typeof Expand>;
16
+ export type QueryParamExpand = ClosedEnum<typeof QueryParamExpand>;
17
17
 
18
18
  /**
19
19
  * Filter systems to those with facilities of the given use type.
@@ -31,7 +31,7 @@ export type ListLookupSystemsRequest = {
31
31
  /**
32
32
  * Expand values to include in the response. Allowed: `system.facilities`, `system.location`
33
33
  */
34
- expand?: Array<Expand> | undefined;
34
+ expand?: Array<QueryParamExpand> | undefined;
35
35
  /**
36
36
  * Filter systems to those with facilities of the given use type.
37
37
  */
@@ -46,8 +46,9 @@ export type ListLookupSystemsResponseBody = {
46
46
  };
47
47
 
48
48
  /** @internal */
49
- export const Expand$outboundSchema: z.ZodNativeEnum<typeof Expand> = z
50
- .nativeEnum(Expand);
49
+ export const QueryParamExpand$outboundSchema: z.ZodNativeEnum<
50
+ typeof QueryParamExpand
51
+ > = z.nativeEnum(QueryParamExpand);
51
52
 
52
53
  /** @internal */
53
54
  export const Use$outboundSchema: z.ZodNativeEnum<typeof Use> = z.nativeEnum(
@@ -66,7 +67,7 @@ export const ListLookupSystemsRequest$outboundSchema: z.ZodType<
66
67
  z.ZodTypeDef,
67
68
  ListLookupSystemsRequest
68
69
  > = z.object({
69
- expand: z.array(Expand$outboundSchema).optional(),
70
+ expand: z.array(QueryParamExpand$outboundSchema).optional(),
70
71
  use: Use$outboundSchema.optional(),
71
72
  });
72
73
 
@@ -5,11 +5,23 @@
5
5
  import * as z from "zod/v3";
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";
9
10
  import * as types from "../../types/primitives.js";
10
11
  import * as components from "../components/index.js";
11
12
  import { SDKValidationError } from "../errors/sdkvalidationerror.js";
12
13
 
14
+ /**
15
+ * For Company Manager callers, filter facilities by whether the manager's company has already targeted them via a `CompanyTargetFacility` link. Only `false` is accepted — restricts the response to same-site facilities the company has not yet targeted (useful when discovering candidate facilities the company could newly target). The facilities a company already targets are available from `GET /api/companies/{company_id}/target-facilities`. Ignored for non-Company-Manager callers.
16
+ */
17
+ export const Targeted = {
18
+ False: "false",
19
+ } as const;
20
+ /**
21
+ * For Company Manager callers, filter facilities by whether the manager's company has already targeted them via a `CompanyTargetFacility` link. Only `false` is accepted — restricts the response to same-site facilities the company has not yet targeted (useful when discovering candidate facilities the company could newly target). The facilities a company already targets are available from `GET /api/companies/{company_id}/target-facilities`. Ignored for non-Company-Manager callers.
22
+ */
23
+ export type Targeted = ClosedEnum<typeof Targeted>;
24
+
13
25
  export type ListOrSearchFacilitiesRequest = {
14
26
  /**
15
27
  * A comma-separated list of object attributes to sort on.
@@ -59,6 +71,10 @@ export type ListOrSearchFacilitiesRequest = {
59
71
  * The longitude of the current Geo coordinates
60
72
  */
61
73
  longitude?: number | undefined;
74
+ /**
75
+ * For Company Manager callers, filter facilities by whether the manager's company has already targeted them via a `CompanyTargetFacility` link. Only `false` is accepted — restricts the response to same-site facilities the company has not yet targeted (useful when discovering candidate facilities the company could newly target). The facilities a company already targets are available from `GET /api/companies/{company_id}/target-facilities`. Ignored for non-Company-Manager callers.
76
+ */
77
+ targeted?: Targeted | undefined;
62
78
  };
63
79
 
64
80
  /**
@@ -76,6 +92,10 @@ export type ListOrSearchFacilitiesResponse = {
76
92
  result: ListOrSearchFacilitiesListOrSearchFacilitiesOk;
77
93
  };
78
94
 
95
+ /** @internal */
96
+ export const Targeted$outboundSchema: z.ZodNativeEnum<typeof Targeted> = z
97
+ .nativeEnum(Targeted);
98
+
79
99
  /** @internal */
80
100
  export type ListOrSearchFacilitiesRequest$Outbound = {
81
101
  sort?: string | null | undefined;
@@ -89,6 +109,7 @@ export type ListOrSearchFacilitiesRequest$Outbound = {
89
109
  status: string;
90
110
  latitude?: number | undefined;
91
111
  longitude?: number | undefined;
112
+ targeted?: string | undefined;
92
113
  };
93
114
 
94
115
  /** @internal */
@@ -108,6 +129,7 @@ export const ListOrSearchFacilitiesRequest$outboundSchema: z.ZodType<
108
129
  status: components.ActiveStatus$outboundSchema.default("Active"),
109
130
  latitude: z.number().optional(),
110
131
  longitude: z.number().optional(),
132
+ targeted: Targeted$outboundSchema.optional(),
111
133
  }).transform((v) => {
112
134
  return remap$(v, {
113
135
  itemsPerPage: "items_per_page",
@@ -5,19 +5,22 @@
5
5
  import * as z from "zod/v3";
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
+ import * as openEnums from "../../types/enums.js";
9
+ import { ClosedEnum, OpenEnum } from "../../types/enums.js";
9
10
  import { Result as SafeParseResult } from "../../types/fp.js";
10
11
  import * as types from "../../types/primitives.js";
11
12
  import { smartUnion } from "../../types/smartUnion.js";
12
13
  import * as components from "../components/index.js";
13
14
  import { SDKValidationError } from "../errors/sdkvalidationerror.js";
14
15
 
15
- export const RequestBodyExpand = {
16
+ export const SecurityZoneCheckinRequestBodyExpand = {
16
17
  VendorScanBadgeData: "vendor_scan.badge_data",
17
18
  } as const;
18
- export type RequestBodyExpand = ClosedEnum<typeof RequestBodyExpand>;
19
+ export type SecurityZoneCheckinRequestBodyExpand = ClosedEnum<
20
+ typeof SecurityZoneCheckinRequestBodyExpand
21
+ >;
19
22
 
20
- export type SecurityZoneCheckinRequestBody2 = {
23
+ export type RequestBody2 = {
21
24
  /**
22
25
  * The longitude of the current Geo coordinates
23
26
  */
@@ -46,15 +49,13 @@ export type SecurityZoneCheckinRequestBody2 = {
46
49
  scanType?: components.ScanType | undefined;
47
50
  recheckVendorScanId?: number | undefined;
48
51
  temperature?: number | undefined;
49
- expand?: Array<RequestBodyExpand> | undefined;
52
+ expand?: Array<SecurityZoneCheckinRequestBodyExpand> | undefined;
50
53
  };
51
54
 
52
- export const SecurityZoneCheckinRequestBodyExpand = {
55
+ export const RequestBodyExpand = {
53
56
  VendorScanBadgeData: "vendor_scan.badge_data",
54
57
  } as const;
55
- export type SecurityZoneCheckinRequestBodyExpand = ClosedEnum<
56
- typeof SecurityZoneCheckinRequestBodyExpand
57
- >;
58
+ export type RequestBodyExpand = ClosedEnum<typeof RequestBodyExpand>;
58
59
 
59
60
  export type One = {
60
61
  /**
@@ -85,17 +86,16 @@ export type One = {
85
86
  scanType?: components.ScanType | undefined;
86
87
  recheckVendorScanId?: number | undefined;
87
88
  temperature?: number | undefined;
88
- expand?: Array<SecurityZoneCheckinRequestBodyExpand> | undefined;
89
+ expand?: Array<RequestBodyExpand> | undefined;
89
90
  };
90
91
 
91
- export type SecurityZoneCheckinRequestBody =
92
- | One
93
- | SecurityZoneCheckinRequestBody2;
92
+ export type SecurityZoneCheckinRequestBody = One | RequestBody2;
94
93
 
95
94
  export const Requires = {
96
95
  CompleteCheckin: "complete_checkin",
96
+ AskScreeningQuestions: "ask_screening_questions",
97
97
  } as const;
98
- export type Requires = ClosedEnum<typeof Requires>;
98
+ export type Requires = OpenEnum<typeof Requires>;
99
99
 
100
100
  export type Handoff = components.Handoff | number;
101
101
 
@@ -133,12 +133,13 @@ export type SecurityZoneCheckinSecurityZoneCheckinOk = {
133
133
  };
134
134
 
135
135
  /** @internal */
136
- export const RequestBodyExpand$outboundSchema: z.ZodNativeEnum<
137
- typeof RequestBodyExpand
138
- > = z.nativeEnum(RequestBodyExpand);
136
+ export const SecurityZoneCheckinRequestBodyExpand$outboundSchema:
137
+ z.ZodNativeEnum<typeof SecurityZoneCheckinRequestBodyExpand> = z.nativeEnum(
138
+ SecurityZoneCheckinRequestBodyExpand,
139
+ );
139
140
 
140
141
  /** @internal */
141
- export type SecurityZoneCheckinRequestBody2$Outbound = {
142
+ export type RequestBody2$Outbound = {
142
143
  longitude?: number | undefined;
143
144
  latitude?: number | undefined;
144
145
  qr_code: string;
@@ -162,10 +163,10 @@ export type SecurityZoneCheckinRequestBody2$Outbound = {
162
163
  };
163
164
 
164
165
  /** @internal */
165
- export const SecurityZoneCheckinRequestBody2$outboundSchema: z.ZodType<
166
- SecurityZoneCheckinRequestBody2$Outbound,
166
+ export const RequestBody2$outboundSchema: z.ZodType<
167
+ RequestBody2$Outbound,
167
168
  z.ZodTypeDef,
168
- SecurityZoneCheckinRequestBody2
169
+ RequestBody2
169
170
  > = z.object({
170
171
  longitude: z.number().optional(),
171
172
  latitude: z.number().optional(),
@@ -186,7 +187,8 @@ export const SecurityZoneCheckinRequestBody2$outboundSchema: z.ZodType<
186
187
  scanType: components.ScanType$outboundSchema.optional(),
187
188
  recheckVendorScanId: z.number().int().optional(),
188
189
  temperature: z.number().optional(),
189
- expand: z.array(RequestBodyExpand$outboundSchema).optional(),
190
+ expand: z.array(SecurityZoneCheckinRequestBodyExpand$outboundSchema)
191
+ .optional(),
190
192
  }).transform((v) => {
191
193
  return remap$(v, {
192
194
  qrCode: "qr_code",
@@ -204,21 +206,14 @@ export const SecurityZoneCheckinRequestBody2$outboundSchema: z.ZodType<
204
206
  });
205
207
  });
206
208
 
207
- export function securityZoneCheckinRequestBody2ToJSON(
208
- securityZoneCheckinRequestBody2: SecurityZoneCheckinRequestBody2,
209
- ): string {
210
- return JSON.stringify(
211
- SecurityZoneCheckinRequestBody2$outboundSchema.parse(
212
- securityZoneCheckinRequestBody2,
213
- ),
214
- );
209
+ export function requestBody2ToJSON(requestBody2: RequestBody2): string {
210
+ return JSON.stringify(RequestBody2$outboundSchema.parse(requestBody2));
215
211
  }
216
212
 
217
213
  /** @internal */
218
- export const SecurityZoneCheckinRequestBodyExpand$outboundSchema:
219
- z.ZodNativeEnum<typeof SecurityZoneCheckinRequestBodyExpand> = z.nativeEnum(
220
- SecurityZoneCheckinRequestBodyExpand,
221
- );
214
+ export const RequestBodyExpand$outboundSchema: z.ZodNativeEnum<
215
+ typeof RequestBodyExpand
216
+ > = z.nativeEnum(RequestBodyExpand);
222
217
 
223
218
  /** @internal */
224
219
  export type One$Outbound = {
@@ -266,8 +261,7 @@ export const One$outboundSchema: z.ZodType<One$Outbound, z.ZodTypeDef, One> = z
266
261
  scanType: components.ScanType$outboundSchema.optional(),
267
262
  recheckVendorScanId: z.number().int().optional(),
268
263
  temperature: z.number().optional(),
269
- expand: z.array(SecurityZoneCheckinRequestBodyExpand$outboundSchema)
270
- .optional(),
264
+ expand: z.array(RequestBodyExpand$outboundSchema).optional(),
271
265
  }).transform((v) => {
272
266
  return remap$(v, {
273
267
  qrCode: "qr_code",
@@ -292,7 +286,7 @@ export function oneToJSON(one: One): string {
292
286
  /** @internal */
293
287
  export type SecurityZoneCheckinRequestBody$Outbound =
294
288
  | One$Outbound
295
- | SecurityZoneCheckinRequestBody2$Outbound;
289
+ | RequestBody2$Outbound;
296
290
 
297
291
  /** @internal */
298
292
  export const SecurityZoneCheckinRequestBody$outboundSchema: z.ZodType<
@@ -301,7 +295,7 @@ export const SecurityZoneCheckinRequestBody$outboundSchema: z.ZodType<
301
295
  SecurityZoneCheckinRequestBody
302
296
  > = smartUnion([
303
297
  z.lazy(() => One$outboundSchema),
304
- z.lazy(() => SecurityZoneCheckinRequestBody2$outboundSchema),
298
+ z.lazy(() => RequestBody2$outboundSchema),
305
299
  ]);
306
300
 
307
301
  export function securityZoneCheckinRequestBodyToJSON(
@@ -315,8 +309,11 @@ export function securityZoneCheckinRequestBodyToJSON(
315
309
  }
316
310
 
317
311
  /** @internal */
318
- export const Requires$inboundSchema: z.ZodNativeEnum<typeof Requires> = z
319
- .nativeEnum(Requires);
312
+ export const Requires$inboundSchema: z.ZodType<
313
+ Requires,
314
+ z.ZodTypeDef,
315
+ unknown
316
+ > = openEnums.inboundSchema(Requires);
320
317
 
321
318
  /** @internal */
322
319
  export const Handoff$inboundSchema: z.ZodType<Handoff, z.ZodTypeDef, unknown> =