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

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 (482) hide show
  1. package/README.md +18 -9
  2. package/dist/commonjs/__tests__/invoices.test.js +3 -1
  3. package/dist/commonjs/__tests__/invoices.test.js.map +1 -1
  4. package/dist/commonjs/__tests__/organizations.test.js +34 -42
  5. package/dist/commonjs/__tests__/organizations.test.js.map +1 -1
  6. package/dist/commonjs/__tests__/vendors.test.js +3 -1
  7. package/dist/commonjs/__tests__/vendors.test.js.map +1 -1
  8. package/dist/commonjs/__tests__/vendorscans.test.js +57 -0
  9. package/dist/commonjs/__tests__/vendorscans.test.js.map +1 -1
  10. package/dist/commonjs/__tests__/webhooks.test.js +1 -1
  11. package/dist/commonjs/__tests__/webhooks.test.js.map +1 -1
  12. package/dist/commonjs/__tests__/zones.test.js +14 -11
  13. package/dist/commonjs/__tests__/zones.test.js.map +1 -1
  14. package/dist/commonjs/funcs/invoicesInvoicesExport.d.ts +2 -1
  15. package/dist/commonjs/funcs/invoicesInvoicesExport.d.ts.map +1 -1
  16. package/dist/commonjs/funcs/invoicesInvoicesExport.js +2 -1
  17. package/dist/commonjs/funcs/invoicesInvoicesExport.js.map +1 -1
  18. package/dist/commonjs/funcs/organizationsDownloadCompanyTargetFacilitiesExport.d.ts +21 -0
  19. package/dist/commonjs/funcs/organizationsDownloadCompanyTargetFacilitiesExport.d.ts.map +1 -0
  20. package/dist/commonjs/funcs/{organizationsDeleteCompanyTargetFacility.js → organizationsDownloadCompanyTargetFacilitiesExport.js} +12 -18
  21. package/dist/commonjs/funcs/organizationsDownloadCompanyTargetFacilitiesExport.js.map +1 -0
  22. package/dist/commonjs/funcs/organizationsExportCompanyTargetFacilities.d.ts +27 -0
  23. package/dist/commonjs/funcs/organizationsExportCompanyTargetFacilities.d.ts.map +1 -0
  24. package/dist/commonjs/funcs/{organizationsCreateCompanyTargetFacility.js → organizationsExportCompanyTargetFacilities.js} +24 -27
  25. package/dist/commonjs/funcs/organizationsExportCompanyTargetFacilities.js.map +1 -0
  26. package/dist/commonjs/funcs/organizationsGetCompanyTargetFacilitiesExportStatus.d.ts +21 -0
  27. package/dist/commonjs/funcs/organizationsGetCompanyTargetFacilitiesExportStatus.d.ts.map +1 -0
  28. package/dist/commonjs/funcs/{organizationsListCompanyTargetFacilities.js → organizationsGetCompanyTargetFacilitiesExportStatus.js} +21 -83
  29. package/dist/commonjs/funcs/organizationsGetCompanyTargetFacilitiesExportStatus.js.map +1 -0
  30. package/dist/commonjs/funcs/vendorScansDownloadVendorScansExport.d.ts +27 -0
  31. package/dist/commonjs/funcs/vendorScansDownloadVendorScansExport.d.ts.map +1 -0
  32. package/dist/commonjs/funcs/vendorScansDownloadVendorScansExport.js +134 -0
  33. package/dist/commonjs/funcs/vendorScansDownloadVendorScansExport.js.map +1 -0
  34. package/dist/commonjs/funcs/vendorScansExportVendorScans.d.ts +27 -0
  35. package/dist/commonjs/funcs/vendorScansExportVendorScans.d.ts.map +1 -0
  36. package/dist/commonjs/funcs/vendorScansExportVendorScans.js +141 -0
  37. package/dist/commonjs/funcs/vendorScansExportVendorScans.js.map +1 -0
  38. package/dist/commonjs/funcs/vendorScansGetVendorScansExportStatus.d.ts +21 -0
  39. package/dist/commonjs/funcs/vendorScansGetVendorScansExportStatus.d.ts.map +1 -0
  40. package/dist/commonjs/funcs/vendorScansGetVendorScansExportStatus.js +126 -0
  41. package/dist/commonjs/funcs/vendorScansGetVendorScansExportStatus.js.map +1 -0
  42. package/dist/commonjs/funcs/vendorsVendorsExport.d.ts +2 -1
  43. package/dist/commonjs/funcs/vendorsVendorsExport.d.ts.map +1 -1
  44. package/dist/commonjs/funcs/vendorsVendorsExport.js +2 -1
  45. package/dist/commonjs/funcs/vendorsVendorsExport.js.map +1 -1
  46. package/dist/commonjs/hooks/types.d.ts +1 -0
  47. package/dist/commonjs/hooks/types.d.ts.map +1 -1
  48. package/dist/commonjs/lib/config.d.ts +4 -4
  49. package/dist/commonjs/lib/config.js +4 -4
  50. package/dist/commonjs/lib/sdks.d.ts.map +1 -1
  51. package/dist/commonjs/lib/sdks.js +13 -4
  52. package/dist/commonjs/lib/sdks.js.map +1 -1
  53. package/dist/commonjs/models/components/csvexportenqueuedresponse.d.ts +27 -0
  54. package/dist/commonjs/models/components/csvexportenqueuedresponse.d.ts.map +1 -0
  55. package/dist/commonjs/models/{operations/deletecompanytargetfacility.js → components/csvexportenqueuedresponse.js} +14 -9
  56. package/dist/commonjs/models/components/csvexportenqueuedresponse.js.map +1 -0
  57. package/dist/commonjs/models/components/index.d.ts +1 -1
  58. package/dist/commonjs/models/components/index.d.ts.map +1 -1
  59. package/dist/commonjs/models/components/index.js +1 -1
  60. package/dist/commonjs/models/components/index.js.map +1 -1
  61. package/dist/commonjs/models/operations/downloadcompanytargetfacilitiesexport.d.ts +47 -0
  62. package/dist/commonjs/models/operations/downloadcompanytargetfacilitiesexport.d.ts.map +1 -0
  63. package/dist/commonjs/models/operations/downloadcompanytargetfacilitiesexport.js +80 -0
  64. package/dist/commonjs/models/operations/downloadcompanytargetfacilitiesexport.js.map +1 -0
  65. package/dist/commonjs/models/operations/downloadvendorscansexport.d.ts +46 -0
  66. package/dist/commonjs/models/operations/downloadvendorscansexport.d.ts.map +1 -0
  67. package/dist/commonjs/models/operations/downloadvendorscansexport.js +88 -0
  68. package/dist/commonjs/models/operations/downloadvendorscansexport.js.map +1 -0
  69. package/dist/commonjs/models/operations/exportcompanytargetfacilities.d.ts +144 -0
  70. package/dist/commonjs/models/operations/exportcompanytargetfacilities.d.ts.map +1 -0
  71. package/dist/commonjs/models/operations/{listcompanytargetfacilities.js → exportcompanytargetfacilities.js} +33 -47
  72. package/dist/commonjs/models/operations/exportcompanytargetfacilities.js.map +1 -0
  73. package/dist/commonjs/models/operations/exportvendorscans.d.ts +110 -0
  74. package/dist/commonjs/models/operations/exportvendorscans.d.ts.map +1 -0
  75. package/dist/commonjs/models/operations/exportvendorscans.js +98 -0
  76. package/dist/commonjs/models/operations/exportvendorscans.js.map +1 -0
  77. package/dist/commonjs/models/operations/getcompanytargetfacilitiesexportstatus.d.ts +58 -0
  78. package/dist/commonjs/models/operations/getcompanytargetfacilitiesexportstatus.d.ts.map +1 -0
  79. package/dist/commonjs/models/operations/getcompanytargetfacilitiesexportstatus.js +78 -0
  80. package/dist/commonjs/models/operations/getcompanytargetfacilitiesexportstatus.js.map +1 -0
  81. package/dist/commonjs/models/operations/getvendorscansexportstatus.d.ts +53 -0
  82. package/dist/commonjs/models/operations/getvendorscansexportstatus.d.ts.map +1 -0
  83. package/dist/commonjs/models/operations/getvendorscansexportstatus.js +73 -0
  84. package/dist/commonjs/models/operations/getvendorscansexportstatus.js.map +1 -0
  85. package/dist/commonjs/models/operations/index.d.ts +6 -3
  86. package/dist/commonjs/models/operations/index.d.ts.map +1 -1
  87. package/dist/commonjs/models/operations/index.js +6 -3
  88. package/dist/commonjs/models/operations/index.js.map +1 -1
  89. package/dist/commonjs/models/operations/invoicesexport.d.ts +4 -41
  90. package/dist/commonjs/models/operations/invoicesexport.d.ts.map +1 -1
  91. package/dist/commonjs/models/operations/invoicesexport.js +3 -34
  92. package/dist/commonjs/models/operations/invoicesexport.js.map +1 -1
  93. package/dist/commonjs/models/operations/vendorsexport.d.ts +4 -42
  94. package/dist/commonjs/models/operations/vendorsexport.d.ts.map +1 -1
  95. package/dist/commonjs/models/operations/vendorsexport.js +3 -33
  96. package/dist/commonjs/models/operations/vendorsexport.js.map +1 -1
  97. package/dist/commonjs/react-query/index.d.ts +6 -3
  98. package/dist/commonjs/react-query/index.d.ts.map +1 -1
  99. package/dist/commonjs/react-query/index.js +6 -3
  100. package/dist/commonjs/react-query/index.js.map +1 -1
  101. package/dist/commonjs/react-query/invoicesInvoicesExport.core.d.ts +3 -2
  102. package/dist/commonjs/react-query/invoicesInvoicesExport.core.d.ts.map +1 -1
  103. package/dist/commonjs/react-query/invoicesInvoicesExport.core.js.map +1 -1
  104. package/dist/commonjs/react-query/invoicesInvoicesExport.d.ts +3 -2
  105. package/dist/commonjs/react-query/invoicesInvoicesExport.d.ts.map +1 -1
  106. package/dist/commonjs/react-query/invoicesInvoicesExport.js.map +1 -1
  107. package/dist/commonjs/react-query/organizationsDownloadCompanyTargetFacilitiesExport.core.d.ts +12 -0
  108. package/dist/commonjs/react-query/organizationsDownloadCompanyTargetFacilitiesExport.core.d.ts.map +1 -0
  109. package/dist/commonjs/react-query/organizationsDownloadCompanyTargetFacilitiesExport.core.js +40 -0
  110. package/dist/commonjs/react-query/organizationsDownloadCompanyTargetFacilitiesExport.core.js.map +1 -0
  111. package/dist/commonjs/react-query/organizationsDownloadCompanyTargetFacilitiesExport.d.ts +31 -0
  112. package/dist/commonjs/react-query/organizationsDownloadCompanyTargetFacilitiesExport.d.ts.map +1 -0
  113. package/dist/commonjs/react-query/organizationsDownloadCompanyTargetFacilitiesExport.js +71 -0
  114. package/dist/commonjs/react-query/organizationsDownloadCompanyTargetFacilitiesExport.js.map +1 -0
  115. package/dist/commonjs/react-query/organizationsExportCompanyTargetFacilities.core.d.ts +20 -0
  116. package/dist/commonjs/react-query/organizationsExportCompanyTargetFacilities.core.d.ts.map +1 -0
  117. package/dist/commonjs/react-query/organizationsExportCompanyTargetFacilities.core.js +48 -0
  118. package/dist/commonjs/react-query/organizationsExportCompanyTargetFacilities.core.js.map +1 -0
  119. package/dist/commonjs/react-query/organizationsExportCompanyTargetFacilities.d.ts +65 -0
  120. package/dist/commonjs/react-query/organizationsExportCompanyTargetFacilities.d.ts.map +1 -0
  121. package/dist/commonjs/react-query/organizationsExportCompanyTargetFacilities.js +83 -0
  122. package/dist/commonjs/react-query/organizationsExportCompanyTargetFacilities.js.map +1 -0
  123. package/dist/commonjs/react-query/organizationsGetCompanyTargetFacilitiesExportStatus.core.d.ts +12 -0
  124. package/dist/commonjs/react-query/organizationsGetCompanyTargetFacilitiesExportStatus.core.d.ts.map +1 -0
  125. package/dist/commonjs/react-query/organizationsGetCompanyTargetFacilitiesExportStatus.core.js +40 -0
  126. package/dist/commonjs/react-query/organizationsGetCompanyTargetFacilitiesExportStatus.core.js.map +1 -0
  127. package/dist/commonjs/react-query/organizationsGetCompanyTargetFacilitiesExportStatus.d.ts +31 -0
  128. package/dist/commonjs/react-query/organizationsGetCompanyTargetFacilitiesExportStatus.d.ts.map +1 -0
  129. package/dist/commonjs/react-query/organizationsGetCompanyTargetFacilitiesExportStatus.js +71 -0
  130. package/dist/commonjs/react-query/organizationsGetCompanyTargetFacilitiesExportStatus.js.map +1 -0
  131. package/dist/commonjs/react-query/vendorScansDownloadVendorScansExport.core.d.ts +17 -0
  132. package/dist/commonjs/react-query/vendorScansDownloadVendorScansExport.core.d.ts.map +1 -0
  133. package/dist/commonjs/react-query/vendorScansDownloadVendorScansExport.core.js +39 -0
  134. package/dist/commonjs/react-query/vendorScansDownloadVendorScansExport.core.js.map +1 -0
  135. package/dist/commonjs/react-query/vendorScansDownloadVendorScansExport.d.ts +32 -0
  136. package/dist/commonjs/react-query/vendorScansDownloadVendorScansExport.d.ts.map +1 -0
  137. package/dist/commonjs/react-query/vendorScansDownloadVendorScansExport.js +73 -0
  138. package/dist/commonjs/react-query/vendorScansDownloadVendorScansExport.js.map +1 -0
  139. package/dist/commonjs/react-query/vendorScansExportVendorScans.core.d.ts +26 -0
  140. package/dist/commonjs/react-query/vendorScansExportVendorScans.core.d.ts.map +1 -0
  141. package/dist/commonjs/react-query/vendorScansExportVendorScans.core.js +52 -0
  142. package/dist/commonjs/react-query/vendorScansExportVendorScans.core.js.map +1 -0
  143. package/dist/commonjs/react-query/vendorScansExportVendorScans.d.ts +72 -0
  144. package/dist/commonjs/react-query/vendorScansExportVendorScans.d.ts.map +1 -0
  145. package/dist/commonjs/react-query/vendorScansExportVendorScans.js +81 -0
  146. package/dist/commonjs/react-query/vendorScansExportVendorScans.js.map +1 -0
  147. package/dist/commonjs/react-query/vendorScansGetVendorScansExportStatus.core.d.ts +12 -0
  148. package/dist/commonjs/react-query/vendorScansGetVendorScansExportStatus.core.d.ts.map +1 -0
  149. package/dist/commonjs/react-query/vendorScansGetVendorScansExportStatus.core.js +39 -0
  150. package/dist/commonjs/react-query/vendorScansGetVendorScansExportStatus.core.js.map +1 -0
  151. package/dist/commonjs/react-query/vendorScansGetVendorScansExportStatus.d.ts +31 -0
  152. package/dist/commonjs/react-query/vendorScansGetVendorScansExportStatus.d.ts.map +1 -0
  153. package/dist/commonjs/react-query/vendorScansGetVendorScansExportStatus.js +71 -0
  154. package/dist/commonjs/react-query/vendorScansGetVendorScansExportStatus.js.map +1 -0
  155. package/dist/commonjs/react-query/vendorsVendorsExport.core.d.ts +3 -2
  156. package/dist/commonjs/react-query/vendorsVendorsExport.core.d.ts.map +1 -1
  157. package/dist/commonjs/react-query/vendorsVendorsExport.core.js.map +1 -1
  158. package/dist/commonjs/react-query/vendorsVendorsExport.d.ts +3 -2
  159. package/dist/commonjs/react-query/vendorsVendorsExport.d.ts.map +1 -1
  160. package/dist/commonjs/react-query/vendorsVendorsExport.js.map +1 -1
  161. package/dist/commonjs/sdk/invoices.d.ts +1 -1
  162. package/dist/commonjs/sdk/invoices.d.ts.map +1 -1
  163. package/dist/commonjs/sdk/organizations.d.ts +16 -50
  164. package/dist/commonjs/sdk/organizations.d.ts.map +1 -1
  165. package/dist/commonjs/sdk/organizations.js +22 -54
  166. package/dist/commonjs/sdk/organizations.js.map +1 -1
  167. package/dist/commonjs/sdk/vendors.d.ts +1 -1
  168. package/dist/commonjs/sdk/vendorscans.d.ts +33 -0
  169. package/dist/commonjs/sdk/vendorscans.d.ts.map +1 -1
  170. package/dist/commonjs/sdk/vendorscans.js +41 -1
  171. package/dist/commonjs/sdk/vendorscans.js.map +1 -1
  172. package/dist/esm/__tests__/invoices.test.js +3 -1
  173. package/dist/esm/__tests__/invoices.test.js.map +1 -1
  174. package/dist/esm/__tests__/organizations.test.js +35 -43
  175. package/dist/esm/__tests__/organizations.test.js.map +1 -1
  176. package/dist/esm/__tests__/vendors.test.js +3 -1
  177. package/dist/esm/__tests__/vendors.test.js.map +1 -1
  178. package/dist/esm/__tests__/vendorscans.test.js +57 -0
  179. package/dist/esm/__tests__/vendorscans.test.js.map +1 -1
  180. package/dist/esm/__tests__/webhooks.test.js +1 -1
  181. package/dist/esm/__tests__/webhooks.test.js.map +1 -1
  182. package/dist/esm/__tests__/zones.test.js +14 -11
  183. package/dist/esm/__tests__/zones.test.js.map +1 -1
  184. package/dist/esm/funcs/invoicesInvoicesExport.d.ts +2 -1
  185. package/dist/esm/funcs/invoicesInvoicesExport.d.ts.map +1 -1
  186. package/dist/esm/funcs/invoicesInvoicesExport.js +2 -1
  187. package/dist/esm/funcs/invoicesInvoicesExport.js.map +1 -1
  188. package/dist/esm/funcs/organizationsDownloadCompanyTargetFacilitiesExport.d.ts +21 -0
  189. package/dist/esm/funcs/organizationsDownloadCompanyTargetFacilitiesExport.d.ts.map +1 -0
  190. package/dist/esm/funcs/{organizationsDeleteCompanyTargetFacility.js → organizationsDownloadCompanyTargetFacilitiesExport.js} +11 -17
  191. package/dist/esm/funcs/organizationsDownloadCompanyTargetFacilitiesExport.js.map +1 -0
  192. package/dist/esm/funcs/organizationsExportCompanyTargetFacilities.d.ts +27 -0
  193. package/dist/esm/funcs/organizationsExportCompanyTargetFacilities.d.ts.map +1 -0
  194. package/dist/esm/funcs/{organizationsCreateCompanyTargetFacility.js → organizationsExportCompanyTargetFacilities.js} +24 -27
  195. package/dist/esm/funcs/organizationsExportCompanyTargetFacilities.js.map +1 -0
  196. package/dist/esm/funcs/organizationsGetCompanyTargetFacilitiesExportStatus.d.ts +21 -0
  197. package/dist/esm/funcs/organizationsGetCompanyTargetFacilitiesExportStatus.d.ts.map +1 -0
  198. package/dist/esm/funcs/organizationsGetCompanyTargetFacilitiesExportStatus.js +96 -0
  199. package/dist/esm/funcs/organizationsGetCompanyTargetFacilitiesExportStatus.js.map +1 -0
  200. package/dist/esm/funcs/vendorScansDownloadVendorScansExport.d.ts +27 -0
  201. package/dist/esm/funcs/vendorScansDownloadVendorScansExport.d.ts.map +1 -0
  202. package/dist/esm/funcs/vendorScansDownloadVendorScansExport.js +97 -0
  203. package/dist/esm/funcs/vendorScansDownloadVendorScansExport.js.map +1 -0
  204. package/dist/esm/funcs/vendorScansExportVendorScans.d.ts +27 -0
  205. package/dist/esm/funcs/vendorScansExportVendorScans.d.ts.map +1 -0
  206. package/dist/esm/funcs/vendorScansExportVendorScans.js +105 -0
  207. package/dist/esm/funcs/vendorScansExportVendorScans.js.map +1 -0
  208. package/dist/esm/funcs/vendorScansGetVendorScansExportStatus.d.ts +21 -0
  209. package/dist/esm/funcs/vendorScansGetVendorScansExportStatus.d.ts.map +1 -0
  210. package/dist/esm/funcs/vendorScansGetVendorScansExportStatus.js +90 -0
  211. package/dist/esm/funcs/vendorScansGetVendorScansExportStatus.js.map +1 -0
  212. package/dist/esm/funcs/vendorsVendorsExport.d.ts +2 -1
  213. package/dist/esm/funcs/vendorsVendorsExport.d.ts.map +1 -1
  214. package/dist/esm/funcs/vendorsVendorsExport.js +2 -1
  215. package/dist/esm/funcs/vendorsVendorsExport.js.map +1 -1
  216. package/dist/esm/hooks/types.d.ts +1 -0
  217. package/dist/esm/hooks/types.d.ts.map +1 -1
  218. package/dist/esm/lib/config.d.ts +4 -4
  219. package/dist/esm/lib/config.js +4 -4
  220. package/dist/esm/lib/sdks.d.ts.map +1 -1
  221. package/dist/esm/lib/sdks.js +13 -4
  222. package/dist/esm/lib/sdks.js.map +1 -1
  223. package/dist/esm/models/components/csvexportenqueuedresponse.d.ts +27 -0
  224. package/dist/esm/models/components/csvexportenqueuedresponse.d.ts.map +1 -0
  225. package/dist/esm/models/components/csvexportenqueuedresponse.js +23 -0
  226. package/dist/esm/models/components/csvexportenqueuedresponse.js.map +1 -0
  227. package/dist/esm/models/components/index.d.ts +1 -1
  228. package/dist/esm/models/components/index.d.ts.map +1 -1
  229. package/dist/esm/models/components/index.js +1 -1
  230. package/dist/esm/models/components/index.js.map +1 -1
  231. package/dist/esm/models/operations/downloadcompanytargetfacilitiesexport.d.ts +47 -0
  232. package/dist/esm/models/operations/downloadcompanytargetfacilitiesexport.d.ts.map +1 -0
  233. package/dist/esm/models/operations/downloadcompanytargetfacilitiesexport.js +41 -0
  234. package/dist/esm/models/operations/downloadcompanytargetfacilitiesexport.js.map +1 -0
  235. package/dist/esm/models/operations/downloadvendorscansexport.d.ts +46 -0
  236. package/dist/esm/models/operations/downloadvendorscansexport.d.ts.map +1 -0
  237. package/dist/esm/models/operations/downloadvendorscansexport.js +48 -0
  238. package/dist/esm/models/operations/downloadvendorscansexport.js.map +1 -0
  239. package/dist/esm/models/operations/exportcompanytargetfacilities.d.ts +144 -0
  240. package/dist/esm/models/operations/exportcompanytargetfacilities.d.ts.map +1 -0
  241. package/dist/esm/models/operations/exportcompanytargetfacilities.js +96 -0
  242. package/dist/esm/models/operations/exportcompanytargetfacilities.js.map +1 -0
  243. package/dist/esm/models/operations/exportvendorscans.d.ts +110 -0
  244. package/dist/esm/models/operations/exportvendorscans.d.ts.map +1 -0
  245. package/dist/esm/models/operations/exportvendorscans.js +61 -0
  246. package/dist/esm/models/operations/exportvendorscans.js.map +1 -0
  247. package/dist/esm/models/operations/getcompanytargetfacilitiesexportstatus.d.ts +58 -0
  248. package/dist/esm/models/operations/getcompanytargetfacilitiesexportstatus.d.ts.map +1 -0
  249. package/dist/esm/models/operations/getcompanytargetfacilitiesexportstatus.js +40 -0
  250. package/dist/esm/models/operations/getcompanytargetfacilitiesexportstatus.js.map +1 -0
  251. package/dist/esm/models/operations/getvendorscansexportstatus.d.ts +53 -0
  252. package/dist/esm/models/operations/getvendorscansexportstatus.d.ts.map +1 -0
  253. package/dist/esm/models/operations/getvendorscansexportstatus.js +35 -0
  254. package/dist/esm/models/operations/getvendorscansexportstatus.js.map +1 -0
  255. package/dist/esm/models/operations/index.d.ts +6 -3
  256. package/dist/esm/models/operations/index.d.ts.map +1 -1
  257. package/dist/esm/models/operations/index.js +6 -3
  258. package/dist/esm/models/operations/index.js.map +1 -1
  259. package/dist/esm/models/operations/invoicesexport.d.ts +4 -41
  260. package/dist/esm/models/operations/invoicesexport.d.ts.map +1 -1
  261. package/dist/esm/models/operations/invoicesexport.js +2 -31
  262. package/dist/esm/models/operations/invoicesexport.js.map +1 -1
  263. package/dist/esm/models/operations/vendorsexport.d.ts +4 -42
  264. package/dist/esm/models/operations/vendorsexport.d.ts.map +1 -1
  265. package/dist/esm/models/operations/vendorsexport.js +2 -30
  266. package/dist/esm/models/operations/vendorsexport.js.map +1 -1
  267. package/dist/esm/react-query/index.d.ts +6 -3
  268. package/dist/esm/react-query/index.d.ts.map +1 -1
  269. package/dist/esm/react-query/index.js +6 -3
  270. package/dist/esm/react-query/index.js.map +1 -1
  271. package/dist/esm/react-query/invoicesInvoicesExport.core.d.ts +3 -2
  272. package/dist/esm/react-query/invoicesInvoicesExport.core.d.ts.map +1 -1
  273. package/dist/esm/react-query/invoicesInvoicesExport.core.js.map +1 -1
  274. package/dist/esm/react-query/invoicesInvoicesExport.d.ts +3 -2
  275. package/dist/esm/react-query/invoicesInvoicesExport.d.ts.map +1 -1
  276. package/dist/esm/react-query/invoicesInvoicesExport.js.map +1 -1
  277. package/dist/esm/react-query/organizationsDownloadCompanyTargetFacilitiesExport.core.d.ts +12 -0
  278. package/dist/esm/react-query/organizationsDownloadCompanyTargetFacilitiesExport.core.d.ts.map +1 -0
  279. package/dist/esm/react-query/organizationsDownloadCompanyTargetFacilitiesExport.core.js +35 -0
  280. package/dist/esm/react-query/organizationsDownloadCompanyTargetFacilitiesExport.core.js.map +1 -0
  281. package/dist/esm/react-query/organizationsDownloadCompanyTargetFacilitiesExport.d.ts +31 -0
  282. package/dist/esm/react-query/organizationsDownloadCompanyTargetFacilitiesExport.d.ts.map +1 -0
  283. package/dist/esm/react-query/organizationsDownloadCompanyTargetFacilitiesExport.js +61 -0
  284. package/dist/esm/react-query/organizationsDownloadCompanyTargetFacilitiesExport.js.map +1 -0
  285. package/dist/esm/react-query/organizationsExportCompanyTargetFacilities.core.d.ts +20 -0
  286. package/dist/esm/react-query/organizationsExportCompanyTargetFacilities.core.d.ts.map +1 -0
  287. package/dist/esm/react-query/organizationsExportCompanyTargetFacilities.core.js +43 -0
  288. package/dist/esm/react-query/organizationsExportCompanyTargetFacilities.core.js.map +1 -0
  289. package/dist/esm/react-query/organizationsExportCompanyTargetFacilities.d.ts +65 -0
  290. package/dist/esm/react-query/organizationsExportCompanyTargetFacilities.d.ts.map +1 -0
  291. package/dist/esm/react-query/organizationsExportCompanyTargetFacilities.js +73 -0
  292. package/dist/esm/react-query/organizationsExportCompanyTargetFacilities.js.map +1 -0
  293. package/dist/esm/react-query/organizationsGetCompanyTargetFacilitiesExportStatus.core.d.ts +12 -0
  294. package/dist/esm/react-query/organizationsGetCompanyTargetFacilitiesExportStatus.core.d.ts.map +1 -0
  295. package/dist/esm/react-query/organizationsGetCompanyTargetFacilitiesExportStatus.core.js +35 -0
  296. package/dist/esm/react-query/organizationsGetCompanyTargetFacilitiesExportStatus.core.js.map +1 -0
  297. package/dist/esm/react-query/organizationsGetCompanyTargetFacilitiesExportStatus.d.ts +31 -0
  298. package/dist/esm/react-query/organizationsGetCompanyTargetFacilitiesExportStatus.d.ts.map +1 -0
  299. package/dist/esm/react-query/organizationsGetCompanyTargetFacilitiesExportStatus.js +61 -0
  300. package/dist/esm/react-query/organizationsGetCompanyTargetFacilitiesExportStatus.js.map +1 -0
  301. package/dist/esm/react-query/vendorScansDownloadVendorScansExport.core.d.ts +17 -0
  302. package/dist/esm/react-query/vendorScansDownloadVendorScansExport.core.d.ts.map +1 -0
  303. package/dist/esm/react-query/vendorScansDownloadVendorScansExport.core.js +34 -0
  304. package/dist/esm/react-query/vendorScansDownloadVendorScansExport.core.js.map +1 -0
  305. package/dist/esm/react-query/vendorScansDownloadVendorScansExport.d.ts +32 -0
  306. package/dist/esm/react-query/vendorScansDownloadVendorScansExport.d.ts.map +1 -0
  307. package/dist/esm/react-query/vendorScansDownloadVendorScansExport.js +62 -0
  308. package/dist/esm/react-query/vendorScansDownloadVendorScansExport.js.map +1 -0
  309. package/dist/esm/react-query/vendorScansExportVendorScans.core.d.ts +26 -0
  310. package/dist/esm/react-query/vendorScansExportVendorScans.core.d.ts.map +1 -0
  311. package/dist/esm/react-query/vendorScansExportVendorScans.core.js +47 -0
  312. package/dist/esm/react-query/vendorScansExportVendorScans.core.js.map +1 -0
  313. package/dist/esm/react-query/vendorScansExportVendorScans.d.ts +72 -0
  314. package/dist/esm/react-query/vendorScansExportVendorScans.d.ts.map +1 -0
  315. package/dist/esm/react-query/vendorScansExportVendorScans.js +71 -0
  316. package/dist/esm/react-query/vendorScansExportVendorScans.js.map +1 -0
  317. package/dist/esm/react-query/vendorScansGetVendorScansExportStatus.core.d.ts +12 -0
  318. package/dist/esm/react-query/vendorScansGetVendorScansExportStatus.core.d.ts.map +1 -0
  319. package/dist/esm/react-query/vendorScansGetVendorScansExportStatus.core.js +34 -0
  320. package/dist/esm/react-query/vendorScansGetVendorScansExportStatus.core.js.map +1 -0
  321. package/dist/esm/react-query/vendorScansGetVendorScansExportStatus.d.ts +31 -0
  322. package/dist/esm/react-query/vendorScansGetVendorScansExportStatus.d.ts.map +1 -0
  323. package/dist/esm/react-query/vendorScansGetVendorScansExportStatus.js +61 -0
  324. package/dist/esm/react-query/vendorScansGetVendorScansExportStatus.js.map +1 -0
  325. package/dist/esm/react-query/vendorsVendorsExport.core.d.ts +3 -2
  326. package/dist/esm/react-query/vendorsVendorsExport.core.d.ts.map +1 -1
  327. package/dist/esm/react-query/vendorsVendorsExport.core.js.map +1 -1
  328. package/dist/esm/react-query/vendorsVendorsExport.d.ts +3 -2
  329. package/dist/esm/react-query/vendorsVendorsExport.d.ts.map +1 -1
  330. package/dist/esm/react-query/vendorsVendorsExport.js.map +1 -1
  331. package/dist/esm/sdk/invoices.d.ts +1 -1
  332. package/dist/esm/sdk/invoices.d.ts.map +1 -1
  333. package/dist/esm/sdk/organizations.d.ts +16 -50
  334. package/dist/esm/sdk/organizations.d.ts.map +1 -1
  335. package/dist/esm/sdk/organizations.js +22 -54
  336. package/dist/esm/sdk/organizations.js.map +1 -1
  337. package/dist/esm/sdk/vendors.d.ts +1 -1
  338. package/dist/esm/sdk/vendorscans.d.ts +33 -0
  339. package/dist/esm/sdk/vendorscans.d.ts.map +1 -1
  340. package/dist/esm/sdk/vendorscans.js +39 -0
  341. package/dist/esm/sdk/vendorscans.js.map +1 -1
  342. package/jsr.json +1 -1
  343. package/package.json +1 -1
  344. package/src/__tests__/invoices.test.ts +3 -1
  345. package/src/__tests__/organizations.test.ts +51 -46
  346. package/src/__tests__/vendors.test.ts +3 -1
  347. package/src/__tests__/vendorscans.test.ts +70 -0
  348. package/src/__tests__/webhooks.test.ts +1 -1
  349. package/src/__tests__/zones.test.ts +14 -11
  350. package/src/funcs/invoicesInvoicesExport.ts +5 -4
  351. package/src/funcs/organizationsDownloadCompanyTargetFacilitiesExport.ts +200 -0
  352. package/src/funcs/{organizationsCreateCompanyTargetFacility.ts → organizationsExportCompanyTargetFacilities.ts} +32 -33
  353. package/src/funcs/{organizationsDeleteCompanyTargetFacility.ts → organizationsGetCompanyTargetFacilitiesExportStatus.ts} +22 -25
  354. package/src/funcs/vendorScansDownloadVendorScansExport.ts +210 -0
  355. package/src/funcs/vendorScansExportVendorScans.ts +194 -0
  356. package/src/funcs/vendorScansGetVendorScansExportStatus.ts +182 -0
  357. package/src/funcs/vendorsVendorsExport.ts +5 -4
  358. package/src/hooks/types.ts +1 -0
  359. package/src/lib/config.ts +4 -4
  360. package/src/lib/sdks.ts +13 -4
  361. package/src/models/components/csvexportenqueuedresponse.ts +58 -0
  362. package/src/models/components/index.ts +1 -1
  363. package/src/models/operations/downloadcompanytargetfacilitiesexport.ts +135 -0
  364. package/src/models/operations/downloadvendorscansexport.ts +145 -0
  365. package/src/models/operations/exportcompanytargetfacilities.ts +242 -0
  366. package/src/models/operations/exportvendorscans.ts +163 -0
  367. package/src/models/operations/getcompanytargetfacilitiesexportstatus.ts +126 -0
  368. package/src/models/operations/getvendorscansexportstatus.ts +108 -0
  369. package/src/models/operations/index.ts +6 -3
  370. package/src/models/operations/invoicesexport.ts +5 -83
  371. package/src/models/operations/vendorsexport.ts +5 -82
  372. package/src/react-query/index.ts +6 -3
  373. package/src/react-query/invoicesInvoicesExport.core.ts +3 -2
  374. package/src/react-query/invoicesInvoicesExport.ts +3 -2
  375. package/src/react-query/organizationsDownloadCompanyTargetFacilitiesExport.core.ts +85 -0
  376. package/src/react-query/organizationsDownloadCompanyTargetFacilitiesExport.ts +153 -0
  377. package/src/react-query/organizationsExportCompanyTargetFacilities.core.ts +99 -0
  378. package/src/react-query/organizationsExportCompanyTargetFacilities.ts +189 -0
  379. package/src/react-query/organizationsGetCompanyTargetFacilitiesExportStatus.core.ts +84 -0
  380. package/src/react-query/organizationsGetCompanyTargetFacilitiesExportStatus.ts +153 -0
  381. package/src/react-query/vendorScansDownloadVendorScansExport.core.ts +86 -0
  382. package/src/react-query/vendorScansDownloadVendorScansExport.ts +154 -0
  383. package/src/react-query/vendorScansExportVendorScans.core.ts +105 -0
  384. package/src/react-query/vendorScansExportVendorScans.ts +190 -0
  385. package/src/react-query/vendorScansGetVendorScansExportStatus.core.ts +78 -0
  386. package/src/react-query/vendorScansGetVendorScansExportStatus.ts +152 -0
  387. package/src/react-query/vendorsVendorsExport.core.ts +3 -2
  388. package/src/react-query/vendorsVendorsExport.ts +3 -2
  389. package/src/sdk/invoices.ts +1 -1
  390. package/src/sdk/organizations.ts +30 -67
  391. package/src/sdk/vendors.ts +1 -1
  392. package/src/sdk/vendorscans.ts +69 -0
  393. package/dist/commonjs/funcs/organizationsCreateCompanyTargetFacility.d.ts +0 -34
  394. package/dist/commonjs/funcs/organizationsCreateCompanyTargetFacility.d.ts.map +0 -1
  395. package/dist/commonjs/funcs/organizationsCreateCompanyTargetFacility.js.map +0 -1
  396. package/dist/commonjs/funcs/organizationsDeleteCompanyTargetFacility.d.ts +0 -28
  397. package/dist/commonjs/funcs/organizationsDeleteCompanyTargetFacility.d.ts.map +0 -1
  398. package/dist/commonjs/funcs/organizationsDeleteCompanyTargetFacility.js.map +0 -1
  399. package/dist/commonjs/funcs/organizationsListCompanyTargetFacilities.d.ts +0 -42
  400. package/dist/commonjs/funcs/organizationsListCompanyTargetFacilities.d.ts.map +0 -1
  401. package/dist/commonjs/funcs/organizationsListCompanyTargetFacilities.js.map +0 -1
  402. package/dist/commonjs/models/components/companytargetfacility.d.ts +0 -54
  403. package/dist/commonjs/models/components/companytargetfacility.d.ts.map +0 -1
  404. package/dist/commonjs/models/components/companytargetfacility.js +0 -80
  405. package/dist/commonjs/models/components/companytargetfacility.js.map +0 -1
  406. package/dist/commonjs/models/operations/createcompanytargetfacility.d.ts +0 -50
  407. package/dist/commonjs/models/operations/createcompanytargetfacility.d.ts.map +0 -1
  408. package/dist/commonjs/models/operations/createcompanytargetfacility.js +0 -84
  409. package/dist/commonjs/models/operations/createcompanytargetfacility.js.map +0 -1
  410. package/dist/commonjs/models/operations/deletecompanytargetfacility.d.ts +0 -20
  411. package/dist/commonjs/models/operations/deletecompanytargetfacility.d.ts.map +0 -1
  412. package/dist/commonjs/models/operations/deletecompanytargetfacility.js.map +0 -1
  413. package/dist/commonjs/models/operations/listcompanytargetfacilities.d.ts +0 -173
  414. package/dist/commonjs/models/operations/listcompanytargetfacilities.d.ts.map +0 -1
  415. package/dist/commonjs/models/operations/listcompanytargetfacilities.js.map +0 -1
  416. package/dist/commonjs/react-query/organizationsCreateCompanyTargetFacility.d.ts +0 -43
  417. package/dist/commonjs/react-query/organizationsCreateCompanyTargetFacility.d.ts.map +0 -1
  418. package/dist/commonjs/react-query/organizationsCreateCompanyTargetFacility.js +0 -65
  419. package/dist/commonjs/react-query/organizationsCreateCompanyTargetFacility.js.map +0 -1
  420. package/dist/commonjs/react-query/organizationsDeleteCompanyTargetFacility.d.ts +0 -37
  421. package/dist/commonjs/react-query/organizationsDeleteCompanyTargetFacility.d.ts.map +0 -1
  422. package/dist/commonjs/react-query/organizationsDeleteCompanyTargetFacility.js +0 -59
  423. package/dist/commonjs/react-query/organizationsDeleteCompanyTargetFacility.js.map +0 -1
  424. package/dist/commonjs/react-query/organizationsListCompanyTargetFacilities.core.d.ts +0 -54
  425. package/dist/commonjs/react-query/organizationsListCompanyTargetFacilities.core.d.ts.map +0 -1
  426. package/dist/commonjs/react-query/organizationsListCompanyTargetFacilities.core.js +0 -111
  427. package/dist/commonjs/react-query/organizationsListCompanyTargetFacilities.core.js.map +0 -1
  428. package/dist/commonjs/react-query/organizationsListCompanyTargetFacilities.d.ts +0 -154
  429. package/dist/commonjs/react-query/organizationsListCompanyTargetFacilities.d.ts.map +0 -1
  430. package/dist/commonjs/react-query/organizationsListCompanyTargetFacilities.js +0 -180
  431. package/dist/commonjs/react-query/organizationsListCompanyTargetFacilities.js.map +0 -1
  432. package/dist/esm/funcs/organizationsCreateCompanyTargetFacility.d.ts +0 -34
  433. package/dist/esm/funcs/organizationsCreateCompanyTargetFacility.d.ts.map +0 -1
  434. package/dist/esm/funcs/organizationsCreateCompanyTargetFacility.js.map +0 -1
  435. package/dist/esm/funcs/organizationsDeleteCompanyTargetFacility.d.ts +0 -28
  436. package/dist/esm/funcs/organizationsDeleteCompanyTargetFacility.d.ts.map +0 -1
  437. package/dist/esm/funcs/organizationsDeleteCompanyTargetFacility.js.map +0 -1
  438. package/dist/esm/funcs/organizationsListCompanyTargetFacilities.d.ts +0 -42
  439. package/dist/esm/funcs/organizationsListCompanyTargetFacilities.d.ts.map +0 -1
  440. package/dist/esm/funcs/organizationsListCompanyTargetFacilities.js +0 -158
  441. package/dist/esm/funcs/organizationsListCompanyTargetFacilities.js.map +0 -1
  442. package/dist/esm/models/components/companytargetfacility.d.ts +0 -54
  443. package/dist/esm/models/components/companytargetfacility.d.ts.map +0 -1
  444. package/dist/esm/models/components/companytargetfacility.js +0 -41
  445. package/dist/esm/models/components/companytargetfacility.js.map +0 -1
  446. package/dist/esm/models/operations/createcompanytargetfacility.d.ts +0 -50
  447. package/dist/esm/models/operations/createcompanytargetfacility.d.ts.map +0 -1
  448. package/dist/esm/models/operations/createcompanytargetfacility.js +0 -45
  449. package/dist/esm/models/operations/createcompanytargetfacility.js.map +0 -1
  450. package/dist/esm/models/operations/deletecompanytargetfacility.d.ts +0 -20
  451. package/dist/esm/models/operations/deletecompanytargetfacility.d.ts.map +0 -1
  452. package/dist/esm/models/operations/deletecompanytargetfacility.js +0 -18
  453. package/dist/esm/models/operations/deletecompanytargetfacility.js.map +0 -1
  454. package/dist/esm/models/operations/listcompanytargetfacilities.d.ts +0 -173
  455. package/dist/esm/models/operations/listcompanytargetfacilities.d.ts.map +0 -1
  456. package/dist/esm/models/operations/listcompanytargetfacilities.js +0 -110
  457. package/dist/esm/models/operations/listcompanytargetfacilities.js.map +0 -1
  458. package/dist/esm/react-query/organizationsCreateCompanyTargetFacility.d.ts +0 -43
  459. package/dist/esm/react-query/organizationsCreateCompanyTargetFacility.d.ts.map +0 -1
  460. package/dist/esm/react-query/organizationsCreateCompanyTargetFacility.js +0 -60
  461. package/dist/esm/react-query/organizationsCreateCompanyTargetFacility.js.map +0 -1
  462. package/dist/esm/react-query/organizationsDeleteCompanyTargetFacility.d.ts +0 -37
  463. package/dist/esm/react-query/organizationsDeleteCompanyTargetFacility.d.ts.map +0 -1
  464. package/dist/esm/react-query/organizationsDeleteCompanyTargetFacility.js +0 -54
  465. package/dist/esm/react-query/organizationsDeleteCompanyTargetFacility.js.map +0 -1
  466. package/dist/esm/react-query/organizationsListCompanyTargetFacilities.core.d.ts +0 -54
  467. package/dist/esm/react-query/organizationsListCompanyTargetFacilities.core.d.ts.map +0 -1
  468. package/dist/esm/react-query/organizationsListCompanyTargetFacilities.core.js +0 -103
  469. package/dist/esm/react-query/organizationsListCompanyTargetFacilities.core.js.map +0 -1
  470. package/dist/esm/react-query/organizationsListCompanyTargetFacilities.d.ts +0 -154
  471. package/dist/esm/react-query/organizationsListCompanyTargetFacilities.d.ts.map +0 -1
  472. package/dist/esm/react-query/organizationsListCompanyTargetFacilities.js +0 -165
  473. package/dist/esm/react-query/organizationsListCompanyTargetFacilities.js.map +0 -1
  474. package/src/funcs/organizationsListCompanyTargetFacilities.ts +0 -291
  475. package/src/models/components/companytargetfacility.ts +0 -124
  476. package/src/models/operations/createcompanytargetfacility.ts +0 -132
  477. package/src/models/operations/deletecompanytargetfacility.ts +0 -47
  478. package/src/models/operations/listcompanytargetfacilities.ts +0 -291
  479. package/src/react-query/organizationsCreateCompanyTargetFacility.ts +0 -129
  480. package/src/react-query/organizationsDeleteCompanyTargetFacility.ts +0 -122
  481. package/src/react-query/organizationsListCompanyTargetFacilities.core.ts +0 -239
  482. package/src/react-query/organizationsListCompanyTargetFacilities.ts +0 -365
@@ -1,180 +0,0 @@
1
- "use strict";
2
- /*
3
- * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
4
- */
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.queryKeyOrganizationsListCompanyTargetFacilitiesInfinite = exports.queryKeyOrganizationsListCompanyTargetFacilities = exports.prefetchOrganizationsListCompanyTargetFacilitiesInfinite = exports.prefetchOrganizationsListCompanyTargetFacilities = exports.buildOrganizationsListCompanyTargetFacilitiesQuery = exports.buildOrganizationsListCompanyTargetFacilitiesInfiniteQuery = void 0;
7
- exports.useOrganizationsListCompanyTargetFacilities = useOrganizationsListCompanyTargetFacilities;
8
- exports.useOrganizationsListCompanyTargetFacilitiesSuspense = useOrganizationsListCompanyTargetFacilitiesSuspense;
9
- exports.useOrganizationsListCompanyTargetFacilitiesInfinite = useOrganizationsListCompanyTargetFacilitiesInfinite;
10
- exports.useOrganizationsListCompanyTargetFacilitiesInfiniteSuspense = useOrganizationsListCompanyTargetFacilitiesInfiniteSuspense;
11
- exports.setOrganizationsListCompanyTargetFacilitiesData = setOrganizationsListCompanyTargetFacilitiesData;
12
- exports.invalidateOrganizationsListCompanyTargetFacilities = invalidateOrganizationsListCompanyTargetFacilities;
13
- exports.invalidateAllOrganizationsListCompanyTargetFacilities = invalidateAllOrganizationsListCompanyTargetFacilities;
14
- const react_query_1 = require("@tanstack/react-query");
15
- const _context_js_1 = require("./_context.js");
16
- const organizationsListCompanyTargetFacilities_core_js_1 = require("./organizationsListCompanyTargetFacilities.core.js");
17
- Object.defineProperty(exports, "buildOrganizationsListCompanyTargetFacilitiesInfiniteQuery", { enumerable: true, get: function () { return organizationsListCompanyTargetFacilities_core_js_1.buildOrganizationsListCompanyTargetFacilitiesInfiniteQuery; } });
18
- Object.defineProperty(exports, "buildOrganizationsListCompanyTargetFacilitiesQuery", { enumerable: true, get: function () { return organizationsListCompanyTargetFacilities_core_js_1.buildOrganizationsListCompanyTargetFacilitiesQuery; } });
19
- Object.defineProperty(exports, "prefetchOrganizationsListCompanyTargetFacilities", { enumerable: true, get: function () { return organizationsListCompanyTargetFacilities_core_js_1.prefetchOrganizationsListCompanyTargetFacilities; } });
20
- Object.defineProperty(exports, "prefetchOrganizationsListCompanyTargetFacilitiesInfinite", { enumerable: true, get: function () { return organizationsListCompanyTargetFacilities_core_js_1.prefetchOrganizationsListCompanyTargetFacilitiesInfinite; } });
21
- Object.defineProperty(exports, "queryKeyOrganizationsListCompanyTargetFacilities", { enumerable: true, get: function () { return organizationsListCompanyTargetFacilities_core_js_1.queryKeyOrganizationsListCompanyTargetFacilities; } });
22
- Object.defineProperty(exports, "queryKeyOrganizationsListCompanyTargetFacilitiesInfinite", { enumerable: true, get: function () { return organizationsListCompanyTargetFacilities_core_js_1.queryKeyOrganizationsListCompanyTargetFacilitiesInfinite; } });
23
- /**
24
- * List company target facilities
25
- *
26
- * @remarks
27
- * Lists the CompanyTargetFacility links for a company — the facilities the
28
- * company is targeting. Each row carries the linked facility (with location
29
- * and parent system), the link status, and per-facility counts of the
30
- * company's individuals targeting it.
31
- *
32
- * When `include_potential_targets=true`, returns ALL non-deleted facilities
33
- * via a LEFT JOIN. Targeted rows carry their CTF `id` and `status`; non-targeted
34
- * rows have `id: null` and `status: "Not Targeted"`.
35
- *
36
- * Access control: the URL's `company_id` must be in the caller's read scope
37
- * for Company (a company manager's or vendor's own company, or a company
38
- * whose app is activated for the API user). Callers outside that scope
39
- * receive `404 Company not found`.
40
- *
41
- * Filter with `has_individual` / `has_active_individual` to drive the
42
- * facility roster views.
43
- *
44
- * Available `expand` scopes are:
45
- *
46
- * - company_target_facility.facility
47
- */
48
- function useOrganizationsListCompanyTargetFacilities(request, options) {
49
- const client = (0, _context_js_1.useGreenSecurityContext)();
50
- return (0, react_query_1.useQuery)({
51
- ...(0, organizationsListCompanyTargetFacilities_core_js_1.buildOrganizationsListCompanyTargetFacilitiesQuery)(client, request, options),
52
- ...options,
53
- });
54
- }
55
- /**
56
- * List company target facilities
57
- *
58
- * @remarks
59
- * Lists the CompanyTargetFacility links for a company — the facilities the
60
- * company is targeting. Each row carries the linked facility (with location
61
- * and parent system), the link status, and per-facility counts of the
62
- * company's individuals targeting it.
63
- *
64
- * When `include_potential_targets=true`, returns ALL non-deleted facilities
65
- * via a LEFT JOIN. Targeted rows carry their CTF `id` and `status`; non-targeted
66
- * rows have `id: null` and `status: "Not Targeted"`.
67
- *
68
- * Access control: the URL's `company_id` must be in the caller's read scope
69
- * for Company (a company manager's or vendor's own company, or a company
70
- * whose app is activated for the API user). Callers outside that scope
71
- * receive `404 Company not found`.
72
- *
73
- * Filter with `has_individual` / `has_active_individual` to drive the
74
- * facility roster views.
75
- *
76
- * Available `expand` scopes are:
77
- *
78
- * - company_target_facility.facility
79
- */
80
- function useOrganizationsListCompanyTargetFacilitiesSuspense(request, options) {
81
- const client = (0, _context_js_1.useGreenSecurityContext)();
82
- return (0, react_query_1.useSuspenseQuery)({
83
- ...(0, organizationsListCompanyTargetFacilities_core_js_1.buildOrganizationsListCompanyTargetFacilitiesQuery)(client, request, options),
84
- ...options,
85
- });
86
- }
87
- /**
88
- * List company target facilities
89
- *
90
- * @remarks
91
- * Lists the CompanyTargetFacility links for a company — the facilities the
92
- * company is targeting. Each row carries the linked facility (with location
93
- * and parent system), the link status, and per-facility counts of the
94
- * company's individuals targeting it.
95
- *
96
- * When `include_potential_targets=true`, returns ALL non-deleted facilities
97
- * via a LEFT JOIN. Targeted rows carry their CTF `id` and `status`; non-targeted
98
- * rows have `id: null` and `status: "Not Targeted"`.
99
- *
100
- * Access control: the URL's `company_id` must be in the caller's read scope
101
- * for Company (a company manager's or vendor's own company, or a company
102
- * whose app is activated for the API user). Callers outside that scope
103
- * receive `404 Company not found`.
104
- *
105
- * Filter with `has_individual` / `has_active_individual` to drive the
106
- * facility roster views.
107
- *
108
- * Available `expand` scopes are:
109
- *
110
- * - company_target_facility.facility
111
- */
112
- function useOrganizationsListCompanyTargetFacilitiesInfinite(request, options) {
113
- const client = (0, _context_js_1.useGreenSecurityContext)();
114
- return (0, react_query_1.useInfiniteQuery)({
115
- ...(0, organizationsListCompanyTargetFacilities_core_js_1.buildOrganizationsListCompanyTargetFacilitiesInfiniteQuery)(client, request, options),
116
- initialPageParam: options?.initialPageParam,
117
- getNextPageParam: (previousPage) => previousPage["~next"],
118
- ...options,
119
- });
120
- }
121
- /**
122
- * List company target facilities
123
- *
124
- * @remarks
125
- * Lists the CompanyTargetFacility links for a company — the facilities the
126
- * company is targeting. Each row carries the linked facility (with location
127
- * and parent system), the link status, and per-facility counts of the
128
- * company's individuals targeting it.
129
- *
130
- * When `include_potential_targets=true`, returns ALL non-deleted facilities
131
- * via a LEFT JOIN. Targeted rows carry their CTF `id` and `status`; non-targeted
132
- * rows have `id: null` and `status: "Not Targeted"`.
133
- *
134
- * Access control: the URL's `company_id` must be in the caller's read scope
135
- * for Company (a company manager's or vendor's own company, or a company
136
- * whose app is activated for the API user). Callers outside that scope
137
- * receive `404 Company not found`.
138
- *
139
- * Filter with `has_individual` / `has_active_individual` to drive the
140
- * facility roster views.
141
- *
142
- * Available `expand` scopes are:
143
- *
144
- * - company_target_facility.facility
145
- */
146
- function useOrganizationsListCompanyTargetFacilitiesInfiniteSuspense(request, options) {
147
- const client = (0, _context_js_1.useGreenSecurityContext)();
148
- return (0, react_query_1.useSuspenseInfiniteQuery)({
149
- ...(0, organizationsListCompanyTargetFacilities_core_js_1.buildOrganizationsListCompanyTargetFacilitiesInfiniteQuery)(client, request, options),
150
- initialPageParam: options?.initialPageParam,
151
- getNextPageParam: (previousPage) => previousPage["~next"],
152
- ...options,
153
- });
154
- }
155
- function setOrganizationsListCompanyTargetFacilitiesData(client, queryKeyBase, data) {
156
- const key = (0, organizationsListCompanyTargetFacilities_core_js_1.queryKeyOrganizationsListCompanyTargetFacilities)(...queryKeyBase);
157
- return client.setQueryData(key, data);
158
- }
159
- function invalidateOrganizationsListCompanyTargetFacilities(client, queryKeyBase, filters) {
160
- return client.invalidateQueries({
161
- ...filters,
162
- queryKey: [
163
- "@greensecurity/javascript-sdk",
164
- "organizations",
165
- "listCompanyTargetFacilities",
166
- ...queryKeyBase,
167
- ],
168
- });
169
- }
170
- function invalidateAllOrganizationsListCompanyTargetFacilities(client, filters) {
171
- return client.invalidateQueries({
172
- ...filters,
173
- queryKey: [
174
- "@greensecurity/javascript-sdk",
175
- "organizations",
176
- "listCompanyTargetFacilities",
177
- ],
178
- });
179
- }
180
- //# sourceMappingURL=organizationsListCompanyTargetFacilities.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"organizationsListCompanyTargetFacilities.js","sourceRoot":"","sources":["../../../src/react-query/organizationsListCompanyTargetFacilities.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAgGH,kGAmBC;AA2BD,kHAmBC;AA2BD,kHAiCC;AA2BD,kIAiCC;AAED,0GA4BC;AAED,gHAmCC;AAED,sHAYC;AAxWD,uDAa+B;AAc/B,+CAAwD;AAQxD,yHAU4D;AAE1D,2IAXA,6GAA0D,OAWA;AAC1D,mIAXA,qGAAkD,OAWA;AAIlD,iIAXA,mGAAgD,OAWA;AAChD,yIAXA,2GAAwD,OAWA;AACxD,iIAXA,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,gBAAgB,EAAE,OAAO,EAAE,gBAAgB;QAC3C,gBAAgB,EAAE,CAAC,YAAY,EAAE,EAAE,CAAC,YAAY,CAAC,OAAO,CAAC;QACzD,GAAG,OAAO;KACX,CAAC,CAAC;AACL,CAAC;AAED,SAAgB,+CAA+C,CAC7D,MAAmB,EACnB,YAiBC,EACD,IAAuD;IAEvD,MAAM,GAAG,GAAG,IAAA,mGAAgD,EAAC,GAAG,YAAY,CAAC,CAAC;IAE9E,OAAO,MAAM,CAAC,YAAY,CACxB,GAAG,EACH,IAAI,CACL,CAAC;AACJ,CAAC;AAED,SAAgB,kDAAkD,CAChE,MAAmB,EACnB,YAqBC,EACD,OAA0E;IAE1E,OAAO,MAAM,CAAC,iBAAiB,CAAC;QAC9B,GAAG,OAAO;QACV,QAAQ,EAAE;YACR,+BAA+B;YAC/B,eAAe;YACf,6BAA6B;YAC7B,GAAG,YAAY;SAChB;KACF,CAAC,CAAC;AACL,CAAC;AAED,SAAgB,qDAAqD,CACnE,MAAmB,EACnB,OAA0E;IAE1E,OAAO,MAAM,CAAC,iBAAiB,CAAC;QAC9B,GAAG,OAAO;QACV,QAAQ,EAAE;YACR,+BAA+B;YAC/B,eAAe;YACf,6BAA6B;SAC9B;KACF,CAAC,CAAC;AACL,CAAC"}
@@ -1,34 +0,0 @@
1
- import { GreenSecurityCore } from "../core.js";
2
- import { RequestOptions } from "../lib/sdks.js";
3
- import { GreenSecurityError } from "../models/errors/greensecurityerror.js";
4
- import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError } from "../models/errors/httpclienterrors.js";
5
- import * as errors from "../models/errors/index.js";
6
- import { ResponseValidationError } from "../models/errors/responsevalidationerror.js";
7
- import { SDKValidationError } from "../models/errors/sdkvalidationerror.js";
8
- import * as operations from "../models/operations/index.js";
9
- import { APIPromise } from "../types/async.js";
10
- import { Result } from "../types/fp.js";
11
- /**
12
- * Add a company target facility
13
- *
14
- * @remarks
15
- * Links the URL's company to an existing facility. The link is created with
16
- * status `Pending`. Only the link row is created — the Facility entity
17
- * itself is never created or modified by this endpoint.
18
- *
19
- * Access control: the URL's `company_id` must be in the caller's update
20
- * scope for Company, AND the `facility_id` must be in the caller's create
21
- * scope for Facility (a facility on the company's site, or a facility
22
- * reachable via the API user's site/system/facility-scoped activation).
23
- * Either being out of scope returns `404 Company not found` /
24
- * `404 Facility not found` respectively. Deleted facilities also return
25
- * `404 Facility not found`.
26
- *
27
- * Available `expand` scopes are:
28
- *
29
- * - company_target_facility.facility
30
- *
31
- * If set, this operation will use {@link Security.bearerJwt} from the global security.
32
- */
33
- export declare function organizationsCreateCompanyTargetFacility(client: GreenSecurityCore, request: operations.CreateCompanyTargetFacilityRequest, options?: RequestOptions): APIPromise<Result<operations.CreateCompanyTargetFacilityCreateCompanyTargetFacilityOk, errors.ApiErrorResponse | GreenSecurityError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError>>;
34
- //# sourceMappingURL=organizationsCreateCompanyTargetFacility.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"organizationsCreateCompanyTargetFacility.d.ts","sourceRoot":"","sources":["../../../src/funcs/organizationsCreateCompanyTargetFacility.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC;AAM/C,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAGhD,OAAO,EAAE,kBAAkB,EAAE,MAAM,wCAAwC,CAAC;AAC5E,OAAO,EACL,eAAe,EACf,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACtB,MAAM,sCAAsC,CAAC;AAC9C,OAAO,KAAK,MAAM,MAAM,2BAA2B,CAAC;AACpD,OAAO,EAAE,uBAAuB,EAAE,MAAM,6CAA6C,CAAC;AACtF,OAAO,EAAE,kBAAkB,EAAE,MAAM,wCAAwC,CAAC;AAC5E,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,OAAO,EAAW,UAAU,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAExC;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,wBAAgB,wCAAwC,CACtD,MAAM,EAAE,iBAAiB,EACzB,OAAO,EAAE,UAAU,CAAC,kCAAkC,EACtD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CACX,MAAM,CACJ,UAAU,CAAC,wDAAwD,EACjE,MAAM,CAAC,gBAAgB,GACvB,kBAAkB,GAClB,uBAAuB,GACvB,eAAe,GACf,mBAAmB,GACnB,mBAAmB,GACnB,mBAAmB,GACnB,qBAAqB,GACrB,kBAAkB,CACrB,CACF,CAMA"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"organizationsCreateCompanyTargetFacility.js","sourceRoot":"","sources":["../../../src/funcs/organizationsCreateCompanyTargetFacility.ts"],"names":[],"mappings":"AAAA;;GAEG;AAGH,OAAO,EAAE,eAAe,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAChF,OAAO,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC;AACjD,OAAO,KAAK,CAAC,MAAM,oBAAoB,CAAC;AACxC,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAE9C,OAAO,EAAE,eAAe,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AAC5E,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAS3C,OAAO,KAAK,MAAM,MAAM,2BAA2B,CAAC;AAGpD,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,OAAO,EAAW,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAGxD;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,MAAM,UAAU,wCAAwC,CACtD,MAAyB,EACzB,OAA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AAE,QAAQ,EAAE,CAAC,CAAC;AAClE,CAAC"}
@@ -1,28 +0,0 @@
1
- import { GreenSecurityCore } from "../core.js";
2
- import { RequestOptions } from "../lib/sdks.js";
3
- import { GreenSecurityError } from "../models/errors/greensecurityerror.js";
4
- import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError } from "../models/errors/httpclienterrors.js";
5
- import * as errors from "../models/errors/index.js";
6
- import { ResponseValidationError } from "../models/errors/responsevalidationerror.js";
7
- import { SDKValidationError } from "../models/errors/sdkvalidationerror.js";
8
- import * as operations from "../models/operations/index.js";
9
- import { APIPromise } from "../types/async.js";
10
- import { Result } from "../types/fp.js";
11
- /**
12
- * Remove a company target facility
13
- *
14
- * @remarks
15
- * Removes a CompanyTargetFacility link. Blocked when any of the company's
16
- * individuals still target the same facility (to avoid orphaning their
17
- * vendor-scoped target rows). Only the link row is removed — the Facility
18
- * entity itself is never touched.
19
- *
20
- * Access control: the URL's `company_id` must be in the caller's update
21
- * scope for Company (a company manager's or vendor's own company, or a
22
- * company whose app is activated for the API user). Callers outside that
23
- * scope receive `404 Company not found`.
24
- *
25
- * If set, this operation will use {@link Security.bearerJwt} from the global security.
26
- */
27
- export declare function organizationsDeleteCompanyTargetFacility(client: GreenSecurityCore, request: operations.DeleteCompanyTargetFacilityRequest, options?: RequestOptions): APIPromise<Result<boolean, errors.ApiErrorResponse | GreenSecurityError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError>>;
28
- //# sourceMappingURL=organizationsDeleteCompanyTargetFacility.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"organizationsDeleteCompanyTargetFacility.d.ts","sourceRoot":"","sources":["../../../src/funcs/organizationsDeleteCompanyTargetFacility.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC;AAM/C,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAGhD,OAAO,EAAE,kBAAkB,EAAE,MAAM,wCAAwC,CAAC;AAC5E,OAAO,EACL,eAAe,EACf,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACtB,MAAM,sCAAsC,CAAC;AAC9C,OAAO,KAAK,MAAM,MAAM,2BAA2B,CAAC;AACpD,OAAO,EAAE,uBAAuB,EAAE,MAAM,6CAA6C,CAAC;AACtF,OAAO,EAAE,kBAAkB,EAAE,MAAM,wCAAwC,CAAC;AAC5E,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,OAAO,EAAW,UAAU,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAGxC;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,wCAAwC,CACtD,MAAM,EAAE,iBAAiB,EACzB,OAAO,EAAE,UAAU,CAAC,kCAAkC,EACtD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CACX,MAAM,CACJ,OAAO,EACL,MAAM,CAAC,gBAAgB,GACvB,kBAAkB,GAClB,uBAAuB,GACvB,eAAe,GACf,mBAAmB,GACnB,mBAAmB,GACnB,mBAAmB,GACnB,qBAAqB,GACrB,kBAAkB,CACrB,CACF,CAMA"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"organizationsDeleteCompanyTargetFacility.js","sourceRoot":"","sources":["../../../src/funcs/organizationsDeleteCompanyTargetFacility.ts"],"names":[],"mappings":"AAAA;;GAEG;AAGH,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AACnD,OAAO,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC;AACjD,OAAO,KAAK,CAAC,MAAM,oBAAoB,CAAC;AACxC,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAE9C,OAAO,EAAE,eAAe,EAAE,qBAAqB,EAAE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,EAAE,CAAC;QACf,OAAO,CAAC,MAAM,EAAE,EAAE,MAAM,EAAE,UAAU,EAAE,OAAO,EAAE,GAAG,EAAE,QAAQ,EAAE,CAAC,CAAC;IAClE,CAAC;IAED,OAAO,CAAC,MAAM,EAAE,EAAE,MAAM,EAAE,UAAU,EAAE,OAAO,EAAE,GAAG,EAAE,QAAQ,EAAE,CAAC,CAAC;AAClE,CAAC"}
@@ -1,42 +0,0 @@
1
- import { GreenSecurityCore } from "../core.js";
2
- import { RequestOptions } from "../lib/sdks.js";
3
- import { GreenSecurityError } from "../models/errors/greensecurityerror.js";
4
- import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError } from "../models/errors/httpclienterrors.js";
5
- import * as errors from "../models/errors/index.js";
6
- import { ResponseValidationError } from "../models/errors/responsevalidationerror.js";
7
- import { SDKValidationError } from "../models/errors/sdkvalidationerror.js";
8
- import * as operations from "../models/operations/index.js";
9
- import { APIPromise } from "../types/async.js";
10
- import { Result } from "../types/fp.js";
11
- import { PageIterator } from "../types/operations.js";
12
- /**
13
- * List company target facilities
14
- *
15
- * @remarks
16
- * Lists the CompanyTargetFacility links for a company — the facilities the
17
- * company is targeting. Each row carries the linked facility (with location
18
- * and parent system), the link status, and per-facility counts of the
19
- * company's individuals targeting it.
20
- *
21
- * When `include_potential_targets=true`, returns ALL non-deleted facilities
22
- * via a LEFT JOIN. Targeted rows carry their CTF `id` and `status`; non-targeted
23
- * rows have `id: null` and `status: "Not Targeted"`.
24
- *
25
- * Access control: the URL's `company_id` must be in the caller's read scope
26
- * for Company (a company manager's or vendor's own company, or a company
27
- * whose app is activated for the API user). Callers outside that scope
28
- * receive `404 Company not found`.
29
- *
30
- * Filter with `has_individual` / `has_active_individual` to drive the
31
- * facility roster views.
32
- *
33
- * Available `expand` scopes are:
34
- *
35
- * - company_target_facility.facility
36
- *
37
- * If set, this operation will use {@link Security.bearerJwt} from the global security.
38
- */
39
- export declare function organizationsListCompanyTargetFacilities(client: GreenSecurityCore, request: operations.ListCompanyTargetFacilitiesRequest, options?: RequestOptions): APIPromise<PageIterator<Result<operations.ListCompanyTargetFacilitiesResponse, errors.ApiErrorResponse | GreenSecurityError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError>, {
40
- page: number;
41
- }>>;
42
- //# sourceMappingURL=organizationsListCompanyTargetFacilities.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"organizationsListCompanyTargetFacilities.d.ts","sourceRoot":"","sources":["../../../src/funcs/organizationsListCompanyTargetFacilities.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC;AAO/C,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAGhD,OAAO,EAAE,kBAAkB,EAAE,MAAM,wCAAwC,CAAC;AAC5E,OAAO,EACL,eAAe,EACf,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACtB,MAAM,sCAAsC,CAAC;AAC9C,OAAO,KAAK,MAAM,MAAM,2BAA2B,CAAC;AACpD,OAAO,EAAE,uBAAuB,EAAE,MAAM,6CAA6C,CAAC;AACtF,OAAO,EAAE,kBAAkB,EAAE,MAAM,wCAAwC,CAAC;AAC5E,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,OAAO,EAAW,UAAU,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AACxC,OAAO,EAGL,YAAY,EAEb,MAAM,wBAAwB,CAAC;AAEhC;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,wBAAgB,wCAAwC,CACtD,MAAM,EAAE,iBAAiB,EACzB,OAAO,EAAE,UAAU,CAAC,kCAAkC,EACtD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CACX,YAAY,CACV,MAAM,CACJ,UAAU,CAAC,mCAAmC,EAC5C,MAAM,CAAC,gBAAgB,GACvB,kBAAkB,GAClB,uBAAuB,GACvB,eAAe,GACf,mBAAmB,GACnB,mBAAmB,GACnB,mBAAmB,GACnB,qBAAqB,GACrB,kBAAkB,CACrB,EACD;IAAE,IAAI,EAAE,MAAM,CAAA;CAAE,CACjB,CACF,CAMA"}
@@ -1,158 +0,0 @@
1
- /*
2
- * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
- */
4
- import { dlv } from "../lib/dlv.js";
5
- import { encodeFormQuery, encodeSimple, queryJoin } from "../lib/encodings.js";
6
- import { matchStatusCode } from "../lib/http.js";
7
- import * as M from "../lib/matchers.js";
8
- import { compactMap } from "../lib/primitives.js";
9
- import { safeParse } from "../lib/schemas.js";
10
- import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js";
11
- import { pathToFunc } from "../lib/url.js";
12
- import * as errors from "../models/errors/index.js";
13
- import * as operations from "../models/operations/index.js";
14
- import { APIPromise } from "../types/async.js";
15
- import { createPageIterator, haltIterator, } from "../types/operations.js";
16
- /**
17
- * List company target facilities
18
- *
19
- * @remarks
20
- * Lists the CompanyTargetFacility links for a company — the facilities the
21
- * company is targeting. Each row carries the linked facility (with location
22
- * and parent system), the link status, and per-facility counts of the
23
- * company's individuals targeting it.
24
- *
25
- * When `include_potential_targets=true`, returns ALL non-deleted facilities
26
- * via a LEFT JOIN. Targeted rows carry their CTF `id` and `status`; non-targeted
27
- * rows have `id: null` and `status: "Not Targeted"`.
28
- *
29
- * Access control: the URL's `company_id` must be in the caller's read scope
30
- * for Company (a company manager's or vendor's own company, or a company
31
- * whose app is activated for the API user). Callers outside that scope
32
- * receive `404 Company not found`.
33
- *
34
- * Filter with `has_individual` / `has_active_individual` to drive the
35
- * facility roster views.
36
- *
37
- * Available `expand` scopes are:
38
- *
39
- * - company_target_facility.facility
40
- *
41
- * If set, this operation will use {@link Security.bearerJwt} from the global security.
42
- */
43
- export function organizationsListCompanyTargetFacilities(client, request, options) {
44
- return new APIPromise($do(client, request, options));
45
- }
46
- async function $do(client, request, options) {
47
- const parsed = safeParse(request, (value) => operations.ListCompanyTargetFacilitiesRequest$outboundSchema.parse(value), "Input validation failed");
48
- if (!parsed.ok) {
49
- return [haltIterator(parsed), { status: "invalid" }];
50
- }
51
- const payload = parsed.value;
52
- const body = null;
53
- const pathParams = {
54
- company_id: encodeSimple("company_id", payload.company_id, {
55
- explode: false,
56
- charEncoding: "percent",
57
- }),
58
- };
59
- const path = pathToFunc("/companies/{company_id}/target-facilities")(pathParams);
60
- const query = queryJoin(encodeFormQuery({
61
- "expand": payload.expand,
62
- }, { explode: false }), encodeFormQuery({
63
- "address_like": payload.address_like,
64
- "city_like": payload.city_like,
65
- "desc": payload.desc,
66
- "facility_name_like": payload.facility_name_like,
67
- "has_active_individual": payload.has_active_individual,
68
- "has_individual": payload.has_individual,
69
- "include_potential_targets": payload.include_potential_targets,
70
- "items_per_page": payload.items_per_page,
71
- "page": payload.page,
72
- "sort": payload.sort,
73
- "status": payload.status,
74
- "system_name_like": payload.system_name_like,
75
- }));
76
- const headers = new Headers(compactMap({
77
- Accept: "application/json",
78
- }));
79
- const securityInput = await extractSecurity(client._options.security);
80
- const requestSecurity = resolveGlobalSecurity(securityInput, [1]);
81
- const context = {
82
- options: client._options,
83
- baseURL: options?.serverURL ?? client._baseURL ?? "",
84
- operationID: "listCompanyTargetFacilities",
85
- oAuth2Scopes: null,
86
- resolvedSecurity: requestSecurity,
87
- securitySource: client._options.security,
88
- retryConfig: options?.retries
89
- || client._options.retryConfig
90
- || { strategy: "none" },
91
- retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
92
- };
93
- const requestRes = client._createRequest(context, {
94
- security: requestSecurity,
95
- method: "GET",
96
- baseURL: options?.serverURL,
97
- path: path,
98
- headers: headers,
99
- query: query,
100
- body: body,
101
- userAgent: client._options.userAgent,
102
- timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
103
- }, options);
104
- if (!requestRes.ok) {
105
- return [haltIterator(requestRes), { status: "invalid" }];
106
- }
107
- const req = requestRes.value;
108
- const doResult = await client._do(req, {
109
- context,
110
- isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
111
- retryConfig: context.retryConfig,
112
- retryCodes: context.retryCodes,
113
- });
114
- if (!doResult.ok) {
115
- return [haltIterator(doResult), { status: "request-error", request: req }];
116
- }
117
- const response = doResult.value;
118
- const responseFields = {
119
- HttpMeta: { Response: response, Request: req },
120
- };
121
- const [result, raw] = await M.match(M.json(200, operations.ListCompanyTargetFacilitiesResponse$inboundSchema, {
122
- key: "Result",
123
- }), M.jsonErr([400, 401, 403, 404, 422], errors.ApiErrorResponse$inboundSchema), M.fail("4XX"), M.fail([500, "5XX"]))(response, req, { extraFields: responseFields });
124
- if (!result.ok) {
125
- return [haltIterator(result), {
126
- status: "complete",
127
- request: req,
128
- response,
129
- }];
130
- }
131
- const nextFunc = (responseData) => {
132
- const page = request?.page ?? 1;
133
- const nextPage = page + 1;
134
- if (!responseData) {
135
- return { next: () => null };
136
- }
137
- const results = dlv(responseData, "items");
138
- if (!Array.isArray(results) || !results.length) {
139
- return { next: () => null };
140
- }
141
- const limit = request?.itemsPerPage ?? 0;
142
- if (results.length < limit) {
143
- return { next: () => null };
144
- }
145
- const nextVal = () => organizationsListCompanyTargetFacilities(client, {
146
- ...request,
147
- page: nextPage,
148
- }, options);
149
- return { next: nextVal, "~next": { page: nextPage } };
150
- };
151
- const page = { ...result, ...nextFunc(raw) };
152
- return [{ ...page, ...createPageIterator(page, (v) => !v.ok) }, {
153
- status: "complete",
154
- request: req,
155
- response,
156
- }];
157
- }
158
- //# sourceMappingURL=organizationsListCompanyTargetFacilities.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"organizationsListCompanyTargetFacilities.js","sourceRoot":"","sources":["../../../src/funcs/organizationsListCompanyTargetFacilities.ts"],"names":[],"mappings":"AAAA;;GAEG;AAGH,OAAO,EAAE,GAAG,EAAE,MAAM,eAAe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from "zod/v3";
2
- import { Result as SafeParseResult } from "../../types/fp.js";
3
- import { SDKValidationError } from "../errors/sdkvalidationerror.js";
4
- import { Facility } from "./facility.js";
5
- /**
6
- * The linked facility. Returns the facility ID by default; pass `company_target_facility.facility` to `expand` to receive the full facility object.
7
- */
8
- export type CompanyTargetFacilityFacility = Facility | number;
9
- /**
10
- * Per-facility counts of the company's individuals (vendors) currently targeting this facility.
11
- */
12
- export type IndividualCounts = {
13
- /**
14
- * Total individuals from the company targeting this facility.
15
- */
16
- total?: number | undefined;
17
- /**
18
- * Individuals targeting this facility whose credentialing subscription is active.
19
- */
20
- active?: number | undefined;
21
- };
22
- /**
23
- * Describes the facilities that a company would like to do business with. These are called "target facilities" for the company. A company may target/untarget any number of facilities which will kick off the process of becoming compliant with that facility's vendor policies.
24
- */
25
- export type CompanyTargetFacility = {
26
- /**
27
- * CompanyTargetFacility row ID. Null when returned via `include_potential_targets=true` for a facility not yet targeted by the company.
28
- */
29
- id: number | null;
30
- /**
31
- * The linked facility. Returns the facility ID by default; pass `company_target_facility.facility` to `expand` to receive the full facility object.
32
- */
33
- facility: Facility | number | null;
34
- /**
35
- * Link status (Approved, Pending, or Denied). This value is computed by the daily background job from the company's credential state — it is not directly settable through the API.
36
- */
37
- status: string | null;
38
- contracted?: boolean | undefined;
39
- dateCreated?: Date | null | undefined;
40
- /**
41
- * Per-facility counts of the company's individuals (vendors) currently targeting this facility.
42
- */
43
- individualCounts?: IndividualCounts | null | undefined;
44
- };
45
- /** @internal */
46
- export declare const CompanyTargetFacilityFacility$inboundSchema: z.ZodType<CompanyTargetFacilityFacility, z.ZodTypeDef, unknown>;
47
- export declare function companyTargetFacilityFacilityFromJSON(jsonString: string): SafeParseResult<CompanyTargetFacilityFacility, SDKValidationError>;
48
- /** @internal */
49
- export declare const IndividualCounts$inboundSchema: z.ZodType<IndividualCounts, z.ZodTypeDef, unknown>;
50
- export declare function individualCountsFromJSON(jsonString: string): SafeParseResult<IndividualCounts, SDKValidationError>;
51
- /** @internal */
52
- export declare const CompanyTargetFacility$inboundSchema: z.ZodType<CompanyTargetFacility, z.ZodTypeDef, unknown>;
53
- export declare function companyTargetFacilityFromJSON(jsonString: string): SafeParseResult<CompanyTargetFacility, SDKValidationError>;
54
- //# sourceMappingURL=companytargetfacility.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"companytargetfacility.d.ts","sourceRoot":"","sources":["../../../../src/models/components/companytargetfacility.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAG9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EAAE,QAAQ,EAA0B,MAAM,eAAe,CAAC;AAEjE;;GAEG;AACH,MAAM,MAAM,6BAA6B,GAAG,QAAQ,GAAG,MAAM,CAAC;AAE9D;;GAEG;AACH,MAAM,MAAM,gBAAgB,GAAG;IAC7B;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC3B;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC7B,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,qBAAqB,GAAG;IAClC;;OAEG;IACH,EAAE,EAAE,MAAM,GAAG,IAAI,CAAC;IAClB;;OAEG;IACH,QAAQ,EAAE,QAAQ,GAAG,MAAM,GAAG,IAAI,CAAC;IACnC;;OAEG;IACH,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,UAAU,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IACjC,WAAW,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,SAAS,CAAC;IACtC;;OAEG;IACH,gBAAgB,CAAC,EAAE,gBAAgB,GAAG,IAAI,GAAG,SAAS,CAAC;CACxD,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,2CAA2C,EAAE,CAAC,CAAC,OAAO,CACjE,6BAA6B,EAC7B,CAAC,CAAC,UAAU,EACZ,OAAO,CAC+C,CAAC;AAEzD,wBAAgB,qCAAqC,CACnD,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,6BAA6B,EAAE,kBAAkB,CAAC,CAMpE;AAED,gBAAgB;AAChB,eAAO,MAAM,8BAA8B,EAAE,CAAC,CAAC,OAAO,CACpD,gBAAgB,EAChB,CAAC,CAAC,UAAU,EACZ,OAAO,CAIP,CAAC;AAEH,wBAAgB,wBAAwB,CACtC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,gBAAgB,EAAE,kBAAkB,CAAC,CAMvD;AAED,gBAAgB;AAChB,eAAO,MAAM,mCAAmC,EAAE,CAAC,CAAC,OAAO,CACzD,qBAAqB,EACrB,CAAC,CAAC,UAAU,EACZ,OAAO,CAgBP,CAAC;AAEH,wBAAgB,6BAA6B,CAC3C,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,qBAAqB,EAAE,kBAAkB,CAAC,CAM5D"}
@@ -1,41 +0,0 @@
1
- /*
2
- * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
- */
4
- import * as z from "zod/v3";
5
- import { remap as remap$ } from "../../lib/primitives.js";
6
- import { safeParse } from "../../lib/schemas.js";
7
- import * as types from "../../types/primitives.js";
8
- import { smartUnion } from "../../types/smartUnion.js";
9
- import { Facility$inboundSchema } from "./facility.js";
10
- /** @internal */
11
- export const CompanyTargetFacilityFacility$inboundSchema = smartUnion([Facility$inboundSchema, types.number()]);
12
- export function companyTargetFacilityFacilityFromJSON(jsonString) {
13
- return safeParse(jsonString, (x) => CompanyTargetFacilityFacility$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CompanyTargetFacilityFacility' from JSON`);
14
- }
15
- /** @internal */
16
- export const IndividualCounts$inboundSchema = z.object({
17
- total: types.optional(types.number()),
18
- active: types.optional(types.number()),
19
- });
20
- export function individualCountsFromJSON(jsonString) {
21
- return safeParse(jsonString, (x) => IndividualCounts$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'IndividualCounts' from JSON`);
22
- }
23
- /** @internal */
24
- export const CompanyTargetFacility$inboundSchema = z.object({
25
- id: types.nullable(types.number()),
26
- facility: types.nullable(smartUnion([Facility$inboundSchema, types.number()])),
27
- status: types.nullable(types.string()),
28
- contracted: types.optional(types.boolean()),
29
- date_created: z.nullable(types.date()).optional(),
30
- individual_counts: z.nullable(z.lazy(() => IndividualCounts$inboundSchema))
31
- .optional(),
32
- }).transform((v) => {
33
- return remap$(v, {
34
- "date_created": "dateCreated",
35
- "individual_counts": "individualCounts",
36
- });
37
- });
38
- export function companyTargetFacilityFromJSON(jsonString) {
39
- return safeParse(jsonString, (x) => CompanyTargetFacility$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CompanyTargetFacility' from JSON`);
40
- }
41
- //# sourceMappingURL=companytargetfacility.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"companytargetfacility.js","sourceRoot":"","sources":["../../../../src/models/components/companytargetfacility.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,KAAK,IAAI,MAAM,EAAE,MAAM,yBAAyB,CAAC;AAC1D,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAEjD,OAAO,KAAK,KAAK,MAAM,2BAA2B,CAAC;AACnD,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AAEvD,OAAO,EAAY,sBAAsB,EAAE,MAAM,eAAe,CAAC;AA6CjE,gBAAgB;AAChB,MAAM,CAAC,MAAM,2CAA2C,GAIpD,UAAU,CAAC,CAAC,sBAAsB,EAAE,KAAK,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC;AAEzD,MAAM,UAAU,qCAAqC,CACnD,UAAkB;IAElB,OAAO,SAAS,CACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,2CAA2C,CAAC,KAAK,CA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