@greensecurity/javascript-sdk 0.37.10 → 0.37.12

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 (344) hide show
  1. package/README.md +13 -1
  2. package/bin/mcp-server.js +1427 -591
  3. package/bin/mcp-server.js.map +33 -21
  4. package/dist/commonjs/__tests__/systems.test.d.ts +2 -0
  5. package/dist/commonjs/__tests__/systems.test.d.ts.map +1 -0
  6. package/dist/commonjs/__tests__/systems.test.js +46 -0
  7. package/dist/commonjs/__tests__/systems.test.js.map +1 -0
  8. package/dist/commonjs/__tests__/vendors.test.js +49 -0
  9. package/dist/commonjs/__tests__/vendors.test.js.map +1 -1
  10. package/dist/commonjs/__tests__/zones.test.js +16 -4
  11. package/dist/commonjs/__tests__/zones.test.js.map +1 -1
  12. package/dist/commonjs/funcs/systemsListSystems.d.ts +25 -0
  13. package/dist/commonjs/funcs/systemsListSystems.d.ts.map +1 -0
  14. package/dist/commonjs/funcs/systemsListSystems.js +163 -0
  15. package/dist/commonjs/funcs/systemsListSystems.js.map +1 -0
  16. package/dist/commonjs/funcs/vendorsGetSubscription.d.ts +22 -0
  17. package/dist/commonjs/funcs/vendorsGetSubscription.d.ts.map +1 -0
  18. package/dist/commonjs/funcs/vendorsGetSubscription.js +130 -0
  19. package/dist/commonjs/funcs/vendorsGetSubscription.js.map +1 -0
  20. package/dist/commonjs/funcs/vendorsGetVendorsDetails.d.ts +3 -0
  21. package/dist/commonjs/funcs/vendorsGetVendorsDetails.d.ts.map +1 -1
  22. package/dist/commonjs/funcs/vendorsGetVendorsDetails.js +3 -0
  23. package/dist/commonjs/funcs/vendorsGetVendorsDetails.js.map +1 -1
  24. package/dist/commonjs/funcs/vendorsListVendorTypes.d.ts +21 -0
  25. package/dist/commonjs/funcs/vendorsListVendorTypes.d.ts.map +1 -0
  26. package/dist/commonjs/funcs/vendorsListVendorTypes.js +156 -0
  27. package/dist/commonjs/funcs/vendorsListVendorTypes.js.map +1 -0
  28. package/dist/commonjs/lib/config.d.ts +2 -2
  29. package/dist/commonjs/lib/config.js +2 -2
  30. package/dist/commonjs/mcp-server/mcp-server.js +1 -1
  31. package/dist/commonjs/mcp-server/server.d.ts.map +1 -1
  32. package/dist/commonjs/mcp-server/server.js +8 -2
  33. package/dist/commonjs/mcp-server/server.js.map +1 -1
  34. package/dist/commonjs/mcp-server/tools/systemsListSystems.d.ts +8 -0
  35. package/dist/commonjs/mcp-server/tools/systemsListSystems.d.ts.map +1 -0
  36. package/dist/commonjs/mcp-server/tools/systemsListSystems.js +68 -0
  37. package/dist/commonjs/mcp-server/tools/systemsListSystems.js.map +1 -0
  38. package/dist/commonjs/mcp-server/tools/vendorsGetSubscription.d.ts +8 -0
  39. package/dist/commonjs/mcp-server/tools/vendorsGetSubscription.d.ts.map +1 -0
  40. package/dist/commonjs/mcp-server/tools/vendorsGetSubscription.js +68 -0
  41. package/dist/commonjs/mcp-server/tools/vendorsGetSubscription.js.map +1 -0
  42. package/dist/commonjs/mcp-server/tools/vendorsGetVendorsDetails.d.ts.map +1 -1
  43. package/dist/commonjs/mcp-server/tools/vendorsGetVendorsDetails.js +4 -1
  44. package/dist/commonjs/mcp-server/tools/vendorsGetVendorsDetails.js.map +1 -1
  45. package/dist/commonjs/mcp-server/tools/vendorsListVendorTypes.d.ts +8 -0
  46. package/dist/commonjs/mcp-server/tools/vendorsListVendorTypes.d.ts.map +1 -0
  47. package/dist/commonjs/mcp-server/tools/vendorsListVendorTypes.js +64 -0
  48. package/dist/commonjs/mcp-server/tools/vendorsListVendorTypes.js.map +1 -0
  49. package/dist/commonjs/models/components/company.d.ts +3 -0
  50. package/dist/commonjs/models/components/company.d.ts.map +1 -1
  51. package/dist/commonjs/models/components/company.js +5 -0
  52. package/dist/commonjs/models/components/company.js.map +1 -1
  53. package/dist/commonjs/models/components/companyvendortyperestriction.d.ts +80 -0
  54. package/dist/commonjs/models/components/companyvendortyperestriction.d.ts.map +1 -0
  55. package/dist/commonjs/models/components/companyvendortyperestriction.js +132 -0
  56. package/dist/commonjs/models/components/companyvendortyperestriction.js.map +1 -0
  57. package/dist/commonjs/models/components/expand.d.ts +15 -0
  58. package/dist/commonjs/models/components/expand.d.ts.map +1 -1
  59. package/dist/commonjs/models/components/expand.js +5 -0
  60. package/dist/commonjs/models/components/expand.js.map +1 -1
  61. package/dist/commonjs/models/components/facility.d.ts +18 -18
  62. package/dist/commonjs/models/components/facility.d.ts.map +1 -1
  63. package/dist/commonjs/models/components/facility.js +21 -21
  64. package/dist/commonjs/models/components/facility.js.map +1 -1
  65. package/dist/commonjs/models/components/facilitysummary.d.ts +28 -0
  66. package/dist/commonjs/models/components/facilitysummary.d.ts.map +1 -1
  67. package/dist/commonjs/models/components/facilitysummary.js +50 -1
  68. package/dist/commonjs/models/components/facilitysummary.js.map +1 -1
  69. package/dist/commonjs/models/components/facilityvendortype.d.ts +71 -0
  70. package/dist/commonjs/models/components/facilityvendortype.d.ts.map +1 -0
  71. package/dist/commonjs/models/components/facilityvendortype.js +137 -0
  72. package/dist/commonjs/models/components/facilityvendortype.js.map +1 -0
  73. package/dist/commonjs/models/components/index.d.ts +3 -0
  74. package/dist/commonjs/models/components/index.d.ts.map +1 -1
  75. package/dist/commonjs/models/components/index.js +3 -0
  76. package/dist/commonjs/models/components/index.js.map +1 -1
  77. package/dist/commonjs/models/components/invoiceitem.d.ts +33 -0
  78. package/dist/commonjs/models/components/invoiceitem.d.ts.map +1 -1
  79. package/dist/commonjs/models/components/invoiceitem.js +48 -1
  80. package/dist/commonjs/models/components/invoiceitem.js.map +1 -1
  81. package/dist/commonjs/models/components/productvariant.d.ts +4 -4
  82. package/dist/commonjs/models/components/productvariant.d.ts.map +1 -1
  83. package/dist/commonjs/models/components/productvariant.js +4 -4
  84. package/dist/commonjs/models/components/productvariant.js.map +1 -1
  85. package/dist/commonjs/models/components/subscription.d.ts +3 -0
  86. package/dist/commonjs/models/components/subscription.d.ts.map +1 -1
  87. package/dist/commonjs/models/components/subscription.js +5 -0
  88. package/dist/commonjs/models/components/subscription.js.map +1 -1
  89. package/dist/commonjs/models/components/systemsummary.d.ts +3 -0
  90. package/dist/commonjs/models/components/systemsummary.d.ts.map +1 -1
  91. package/dist/commonjs/models/components/systemsummary.js +3 -0
  92. package/dist/commonjs/models/components/systemsummary.js.map +1 -1
  93. package/dist/commonjs/models/components/vendor.d.ts +56 -0
  94. package/dist/commonjs/models/components/vendor.d.ts.map +1 -1
  95. package/dist/commonjs/models/components/vendor.js +69 -1
  96. package/dist/commonjs/models/components/vendor.js.map +1 -1
  97. package/dist/commonjs/models/components/vendorgroup.d.ts +38 -0
  98. package/dist/commonjs/models/components/vendorgroup.d.ts.map +1 -0
  99. package/dist/commonjs/models/components/vendorgroup.js +84 -0
  100. package/dist/commonjs/models/components/vendorgroup.js.map +1 -0
  101. package/dist/commonjs/models/components/zoneconfig.d.ts +15 -15
  102. package/dist/commonjs/models/components/zoneconfig.d.ts.map +1 -1
  103. package/dist/commonjs/models/components/zoneconfig.js +18 -18
  104. package/dist/commonjs/models/components/zoneconfig.js.map +1 -1
  105. package/dist/commonjs/models/operations/getsubscription.d.ts +69 -0
  106. package/dist/commonjs/models/operations/getsubscription.d.ts.map +1 -0
  107. package/dist/commonjs/models/operations/getsubscription.js +108 -0
  108. package/dist/commonjs/models/operations/getsubscription.js.map +1 -0
  109. package/dist/commonjs/models/operations/index.d.ts +3 -0
  110. package/dist/commonjs/models/operations/index.d.ts.map +1 -1
  111. package/dist/commonjs/models/operations/index.js +3 -0
  112. package/dist/commonjs/models/operations/index.js.map +1 -1
  113. package/dist/commonjs/models/operations/listsystems.d.ts +116 -0
  114. package/dist/commonjs/models/operations/listsystems.d.ts.map +1 -0
  115. package/dist/commonjs/models/operations/listsystems.js +155 -0
  116. package/dist/commonjs/models/operations/listsystems.js.map +1 -0
  117. package/dist/commonjs/models/operations/listvendortypes.d.ts +106 -0
  118. package/dist/commonjs/models/operations/listvendortypes.d.ts.map +1 -0
  119. package/dist/commonjs/models/operations/listvendortypes.js +149 -0
  120. package/dist/commonjs/models/operations/listvendortypes.js.map +1 -0
  121. package/dist/commonjs/react-query/index.d.ts +3 -0
  122. package/dist/commonjs/react-query/index.d.ts.map +1 -1
  123. package/dist/commonjs/react-query/index.js +3 -0
  124. package/dist/commonjs/react-query/index.js.map +1 -1
  125. package/dist/commonjs/react-query/systemsListSystems.d.ts +97 -0
  126. package/dist/commonjs/react-query/systemsListSystems.d.ts.map +1 -0
  127. package/dist/commonjs/react-query/systemsListSystems.js +175 -0
  128. package/dist/commonjs/react-query/systemsListSystems.js.map +1 -0
  129. package/dist/commonjs/react-query/vendorsGetSubscription.d.ts +51 -0
  130. package/dist/commonjs/react-query/vendorsGetSubscription.d.ts.map +1 -0
  131. package/dist/commonjs/react-query/vendorsGetSubscription.js +103 -0
  132. package/dist/commonjs/react-query/vendorsGetSubscription.js.map +1 -0
  133. package/dist/commonjs/react-query/vendorsGetVendorsDetails.d.ts +6 -0
  134. package/dist/commonjs/react-query/vendorsGetVendorsDetails.d.ts.map +1 -1
  135. package/dist/commonjs/react-query/vendorsGetVendorsDetails.js +6 -0
  136. package/dist/commonjs/react-query/vendorsGetVendorsDetails.js.map +1 -1
  137. package/dist/commonjs/react-query/vendorsListVendorTypes.d.ts +75 -0
  138. package/dist/commonjs/react-query/vendorsListVendorTypes.d.ts.map +1 -0
  139. package/dist/commonjs/react-query/vendorsListVendorTypes.js +155 -0
  140. package/dist/commonjs/react-query/vendorsListVendorTypes.js.map +1 -0
  141. package/dist/commonjs/sdk/sdk.d.ts +3 -0
  142. package/dist/commonjs/sdk/sdk.d.ts.map +1 -1
  143. package/dist/commonjs/sdk/sdk.js +4 -0
  144. package/dist/commonjs/sdk/sdk.js.map +1 -1
  145. package/dist/commonjs/sdk/systems.d.ts +19 -0
  146. package/dist/commonjs/sdk/systems.d.ts.map +1 -0
  147. package/dist/commonjs/sdk/systems.js +26 -0
  148. package/dist/commonjs/sdk/systems.js.map +1 -0
  149. package/dist/commonjs/sdk/vendors.d.ts +30 -7
  150. package/dist/commonjs/sdk/vendors.d.ts.map +1 -1
  151. package/dist/commonjs/sdk/vendors.js +36 -9
  152. package/dist/commonjs/sdk/vendors.js.map +1 -1
  153. package/dist/esm/__tests__/systems.test.d.ts +2 -0
  154. package/dist/esm/__tests__/systems.test.d.ts.map +1 -0
  155. package/dist/esm/__tests__/systems.test.js +44 -0
  156. package/dist/esm/__tests__/systems.test.js.map +1 -0
  157. package/dist/esm/__tests__/vendors.test.js +49 -0
  158. package/dist/esm/__tests__/vendors.test.js.map +1 -1
  159. package/dist/esm/__tests__/zones.test.js +16 -4
  160. package/dist/esm/__tests__/zones.test.js.map +1 -1
  161. package/dist/esm/funcs/systemsListSystems.d.ts +25 -0
  162. package/dist/esm/funcs/systemsListSystems.d.ts.map +1 -0
  163. package/dist/esm/funcs/systemsListSystems.js +127 -0
  164. package/dist/esm/funcs/systemsListSystems.js.map +1 -0
  165. package/dist/esm/funcs/vendorsGetSubscription.d.ts +22 -0
  166. package/dist/esm/funcs/vendorsGetSubscription.d.ts.map +1 -0
  167. package/dist/esm/funcs/vendorsGetSubscription.js +94 -0
  168. package/dist/esm/funcs/vendorsGetSubscription.js.map +1 -0
  169. package/dist/esm/funcs/vendorsGetVendorsDetails.d.ts +3 -0
  170. package/dist/esm/funcs/vendorsGetVendorsDetails.d.ts.map +1 -1
  171. package/dist/esm/funcs/vendorsGetVendorsDetails.js +3 -0
  172. package/dist/esm/funcs/vendorsGetVendorsDetails.js.map +1 -1
  173. package/dist/esm/funcs/vendorsListVendorTypes.d.ts +21 -0
  174. package/dist/esm/funcs/vendorsListVendorTypes.d.ts.map +1 -0
  175. package/dist/esm/funcs/vendorsListVendorTypes.js +120 -0
  176. package/dist/esm/funcs/vendorsListVendorTypes.js.map +1 -0
  177. package/dist/esm/lib/config.d.ts +2 -2
  178. package/dist/esm/lib/config.js +2 -2
  179. package/dist/esm/mcp-server/mcp-server.js +1 -1
  180. package/dist/esm/mcp-server/server.d.ts.map +1 -1
  181. package/dist/esm/mcp-server/server.js +8 -2
  182. package/dist/esm/mcp-server/server.js.map +1 -1
  183. package/dist/esm/mcp-server/tools/systemsListSystems.d.ts +8 -0
  184. package/dist/esm/mcp-server/tools/systemsListSystems.d.ts.map +1 -0
  185. package/dist/esm/mcp-server/tools/systemsListSystems.js +32 -0
  186. package/dist/esm/mcp-server/tools/systemsListSystems.js.map +1 -0
  187. package/dist/esm/mcp-server/tools/vendorsGetSubscription.d.ts +8 -0
  188. package/dist/esm/mcp-server/tools/vendorsGetSubscription.d.ts.map +1 -0
  189. package/dist/esm/mcp-server/tools/vendorsGetSubscription.js +32 -0
  190. package/dist/esm/mcp-server/tools/vendorsGetSubscription.js.map +1 -0
  191. package/dist/esm/mcp-server/tools/vendorsGetVendorsDetails.d.ts.map +1 -1
  192. package/dist/esm/mcp-server/tools/vendorsGetVendorsDetails.js +4 -1
  193. package/dist/esm/mcp-server/tools/vendorsGetVendorsDetails.js.map +1 -1
  194. package/dist/esm/mcp-server/tools/vendorsListVendorTypes.d.ts +8 -0
  195. package/dist/esm/mcp-server/tools/vendorsListVendorTypes.d.ts.map +1 -0
  196. package/dist/esm/mcp-server/tools/vendorsListVendorTypes.js +28 -0
  197. package/dist/esm/mcp-server/tools/vendorsListVendorTypes.js.map +1 -0
  198. package/dist/esm/models/components/company.d.ts +3 -0
  199. package/dist/esm/models/components/company.d.ts.map +1 -1
  200. package/dist/esm/models/components/company.js +5 -0
  201. package/dist/esm/models/components/company.js.map +1 -1
  202. package/dist/esm/models/components/companyvendortyperestriction.d.ts +80 -0
  203. package/dist/esm/models/components/companyvendortyperestriction.d.ts.map +1 -0
  204. package/dist/esm/models/components/companyvendortyperestriction.js +90 -0
  205. package/dist/esm/models/components/companyvendortyperestriction.js.map +1 -0
  206. package/dist/esm/models/components/expand.d.ts +15 -0
  207. package/dist/esm/models/components/expand.d.ts.map +1 -1
  208. package/dist/esm/models/components/expand.js +5 -0
  209. package/dist/esm/models/components/expand.js.map +1 -1
  210. package/dist/esm/models/components/facility.d.ts +18 -18
  211. package/dist/esm/models/components/facility.d.ts.map +1 -1
  212. package/dist/esm/models/components/facility.js +18 -18
  213. package/dist/esm/models/components/facility.js.map +1 -1
  214. package/dist/esm/models/components/facilitysummary.d.ts +28 -0
  215. package/dist/esm/models/components/facilitysummary.d.ts.map +1 -1
  216. package/dist/esm/models/components/facilitysummary.js +47 -0
  217. package/dist/esm/models/components/facilitysummary.js.map +1 -1
  218. package/dist/esm/models/components/facilityvendortype.d.ts +71 -0
  219. package/dist/esm/models/components/facilityvendortype.d.ts.map +1 -0
  220. package/dist/esm/models/components/facilityvendortype.js +97 -0
  221. package/dist/esm/models/components/facilityvendortype.js.map +1 -0
  222. package/dist/esm/models/components/index.d.ts +3 -0
  223. package/dist/esm/models/components/index.d.ts.map +1 -1
  224. package/dist/esm/models/components/index.js +3 -0
  225. package/dist/esm/models/components/index.js.map +1 -1
  226. package/dist/esm/models/components/invoiceitem.d.ts +33 -0
  227. package/dist/esm/models/components/invoiceitem.d.ts.map +1 -1
  228. package/dist/esm/models/components/invoiceitem.js +45 -0
  229. package/dist/esm/models/components/invoiceitem.js.map +1 -1
  230. package/dist/esm/models/components/productvariant.d.ts +4 -4
  231. package/dist/esm/models/components/productvariant.d.ts.map +1 -1
  232. package/dist/esm/models/components/productvariant.js +4 -4
  233. package/dist/esm/models/components/productvariant.js.map +1 -1
  234. package/dist/esm/models/components/subscription.d.ts +3 -0
  235. package/dist/esm/models/components/subscription.d.ts.map +1 -1
  236. package/dist/esm/models/components/subscription.js +5 -0
  237. package/dist/esm/models/components/subscription.js.map +1 -1
  238. package/dist/esm/models/components/systemsummary.d.ts +3 -0
  239. package/dist/esm/models/components/systemsummary.d.ts.map +1 -1
  240. package/dist/esm/models/components/systemsummary.js +3 -0
  241. package/dist/esm/models/components/systemsummary.js.map +1 -1
  242. package/dist/esm/models/components/vendor.d.ts +56 -0
  243. package/dist/esm/models/components/vendor.d.ts.map +1 -1
  244. package/dist/esm/models/components/vendor.js +64 -0
  245. package/dist/esm/models/components/vendor.js.map +1 -1
  246. package/dist/esm/models/components/vendorgroup.d.ts +38 -0
  247. package/dist/esm/models/components/vendorgroup.d.ts.map +1 -0
  248. package/dist/esm/models/components/vendorgroup.js +46 -0
  249. package/dist/esm/models/components/vendorgroup.js.map +1 -0
  250. package/dist/esm/models/components/zoneconfig.d.ts +15 -15
  251. package/dist/esm/models/components/zoneconfig.d.ts.map +1 -1
  252. package/dist/esm/models/components/zoneconfig.js +15 -15
  253. package/dist/esm/models/components/zoneconfig.js.map +1 -1
  254. package/dist/esm/models/operations/getsubscription.d.ts +69 -0
  255. package/dist/esm/models/operations/getsubscription.d.ts.map +1 -0
  256. package/dist/esm/models/operations/getsubscription.js +68 -0
  257. package/dist/esm/models/operations/getsubscription.js.map +1 -0
  258. package/dist/esm/models/operations/index.d.ts +3 -0
  259. package/dist/esm/models/operations/index.d.ts.map +1 -1
  260. package/dist/esm/models/operations/index.js +3 -0
  261. package/dist/esm/models/operations/index.js.map +1 -1
  262. package/dist/esm/models/operations/listsystems.d.ts +116 -0
  263. package/dist/esm/models/operations/listsystems.d.ts.map +1 -0
  264. package/dist/esm/models/operations/listsystems.js +113 -0
  265. package/dist/esm/models/operations/listsystems.js.map +1 -0
  266. package/dist/esm/models/operations/listvendortypes.d.ts +106 -0
  267. package/dist/esm/models/operations/listvendortypes.d.ts.map +1 -0
  268. package/dist/esm/models/operations/listvendortypes.js +107 -0
  269. package/dist/esm/models/operations/listvendortypes.js.map +1 -0
  270. package/dist/esm/react-query/index.d.ts +3 -0
  271. package/dist/esm/react-query/index.d.ts.map +1 -1
  272. package/dist/esm/react-query/index.js +3 -0
  273. package/dist/esm/react-query/index.js.map +1 -1
  274. package/dist/esm/react-query/systemsListSystems.d.ts +97 -0
  275. package/dist/esm/react-query/systemsListSystems.d.ts.map +1 -0
  276. package/dist/esm/react-query/systemsListSystems.js +162 -0
  277. package/dist/esm/react-query/systemsListSystems.js.map +1 -0
  278. package/dist/esm/react-query/vendorsGetSubscription.d.ts +51 -0
  279. package/dist/esm/react-query/vendorsGetSubscription.d.ts.map +1 -0
  280. package/dist/esm/react-query/vendorsGetSubscription.js +93 -0
  281. package/dist/esm/react-query/vendorsGetSubscription.js.map +1 -0
  282. package/dist/esm/react-query/vendorsGetVendorsDetails.d.ts +6 -0
  283. package/dist/esm/react-query/vendorsGetVendorsDetails.d.ts.map +1 -1
  284. package/dist/esm/react-query/vendorsGetVendorsDetails.js +6 -0
  285. package/dist/esm/react-query/vendorsGetVendorsDetails.js.map +1 -1
  286. package/dist/esm/react-query/vendorsListVendorTypes.d.ts +75 -0
  287. package/dist/esm/react-query/vendorsListVendorTypes.d.ts.map +1 -0
  288. package/dist/esm/react-query/vendorsListVendorTypes.js +142 -0
  289. package/dist/esm/react-query/vendorsListVendorTypes.js.map +1 -0
  290. package/dist/esm/sdk/sdk.d.ts +3 -0
  291. package/dist/esm/sdk/sdk.d.ts.map +1 -1
  292. package/dist/esm/sdk/sdk.js +4 -0
  293. package/dist/esm/sdk/sdk.js.map +1 -1
  294. package/dist/esm/sdk/systems.d.ts +19 -0
  295. package/dist/esm/sdk/systems.d.ts.map +1 -0
  296. package/dist/esm/sdk/systems.js +22 -0
  297. package/dist/esm/sdk/systems.js.map +1 -0
  298. package/dist/esm/sdk/vendors.d.ts +30 -7
  299. package/dist/esm/sdk/vendors.d.ts.map +1 -1
  300. package/dist/esm/sdk/vendors.js +36 -9
  301. package/dist/esm/sdk/vendors.js.map +1 -1
  302. package/examples/package-lock.json +1 -1
  303. package/jsr.json +1 -1
  304. package/package.json +1 -1
  305. package/src/__tests__/systems.test.ts +47 -0
  306. package/src/__tests__/vendors.test.ts +55 -0
  307. package/src/__tests__/zones.test.ts +16 -4
  308. package/src/funcs/systemsListSystems.ts +257 -0
  309. package/src/funcs/vendorsGetSubscription.ts +186 -0
  310. package/src/funcs/vendorsGetVendorsDetails.ts +3 -0
  311. package/src/funcs/vendorsListVendorTypes.ts +247 -0
  312. package/src/lib/config.ts +2 -2
  313. package/src/mcp-server/mcp-server.ts +1 -1
  314. package/src/mcp-server/server.ts +8 -2
  315. package/src/mcp-server/tools/systemsListSystems.ts +41 -0
  316. package/src/mcp-server/tools/vendorsGetSubscription.ts +41 -0
  317. package/src/mcp-server/tools/vendorsGetVendorsDetails.ts +4 -1
  318. package/src/mcp-server/tools/vendorsListVendorTypes.ts +37 -0
  319. package/src/models/components/company.ts +22 -0
  320. package/src/models/components/companyvendortyperestriction.ts +221 -0
  321. package/src/models/components/expand.ts +5 -0
  322. package/src/models/components/facility.ts +38 -34
  323. package/src/models/components/facilitysummary.ts +83 -0
  324. package/src/models/components/facilityvendortype.ts +178 -0
  325. package/src/models/components/index.ts +3 -0
  326. package/src/models/components/invoiceitem.ts +79 -0
  327. package/src/models/components/productvariant.ts +8 -8
  328. package/src/models/components/subscription.ts +12 -0
  329. package/src/models/components/systemsummary.ts +10 -0
  330. package/src/models/components/vendor.ts +148 -0
  331. package/src/models/components/vendorgroup.ts +86 -0
  332. package/src/models/components/zoneconfig.ts +28 -24
  333. package/src/models/operations/getsubscription.ts +152 -0
  334. package/src/models/operations/index.ts +3 -0
  335. package/src/models/operations/listsystems.ts +250 -0
  336. package/src/models/operations/listvendortypes.ts +236 -0
  337. package/src/react-query/index.ts +3 -0
  338. package/src/react-query/systemsListSystems.ts +353 -0
  339. package/src/react-query/vendorsGetSubscription.ts +182 -0
  340. package/src/react-query/vendorsGetVendorsDetails.ts +6 -0
  341. package/src/react-query/vendorsListVendorTypes.ts +328 -0
  342. package/src/sdk/sdk.ts +6 -0
  343. package/src/sdk/systems.ts +31 -0
  344. package/src/sdk/vendors.ts +62 -17
package/bin/mcp-server.js CHANGED
@@ -34160,9 +34160,9 @@ var init_config = __esm(() => {
34160
34160
  SDK_METADATA = {
34161
34161
  language: "typescript",
34162
34162
  openapiDocVersion: "0.0.3",
34163
- sdkVersion: "0.37.10",
34163
+ sdkVersion: "0.37.12",
34164
34164
  genVersion: "2.656.5",
34165
- userAgent: "speakeasy-sdk/typescript 0.37.10 2.656.5 0.0.3 @greensecurity/javascript-sdk"
34165
+ userAgent: "speakeasy-sdk/typescript 0.37.12 2.656.5 0.0.3 @greensecurity/javascript-sdk"
34166
34166
  };
34167
34167
  });
34168
34168
 
@@ -35753,13 +35753,13 @@ var init_productvariant = __esm(() => {
35753
35753
  init_esm();
35754
35754
  ProductVariant$inboundSchema = objectType({
35755
35755
  id: numberType().int().optional(),
35756
- amount: numberType().int().optional(),
35757
- total: numberType().int().optional()
35756
+ price: numberType().int().optional(),
35757
+ title: nullableType(stringType()).optional()
35758
35758
  });
35759
35759
  ProductVariant$outboundSchema = objectType({
35760
35760
  id: numberType().int().optional(),
35761
- amount: numberType().int().optional(),
35762
- total: numberType().int().optional()
35761
+ price: numberType().int().optional(),
35762
+ title: nullableType(stringType()).optional()
35763
35763
  });
35764
35764
  ((ProductVariant$) => {
35765
35765
  ProductVariant$.inboundSchema = ProductVariant$inboundSchema;
@@ -35768,7 +35768,7 @@ var init_productvariant = __esm(() => {
35768
35768
  });
35769
35769
 
35770
35770
  // src/models/components/invoiceitem.ts
35771
- var Variant$inboundSchema, Variant$outboundSchema, Variant$, InvoiceItemProduct$inboundSchema, InvoiceItemProduct$outboundSchema, InvoiceItemProduct$, InvoiceItem$inboundSchema, InvoiceItem$outboundSchema, InvoiceItem$;
35771
+ var Variant$inboundSchema, Variant$outboundSchema, Variant$, InvoiceItemProduct$inboundSchema, InvoiceItemProduct$outboundSchema, InvoiceItemProduct$, Details$inboundSchema, Details$outboundSchema, Details$, InvoiceItem$inboundSchema, InvoiceItem$outboundSchema, InvoiceItem$;
35772
35772
  var init_invoiceitem = __esm(() => {
35773
35773
  init_esm();
35774
35774
  init_primitives();
@@ -35786,6 +35786,34 @@ var init_invoiceitem = __esm(() => {
35786
35786
  InvoiceItemProduct$.inboundSchema = InvoiceItemProduct$inboundSchema;
35787
35787
  InvoiceItemProduct$.outboundSchema = InvoiceItemProduct$outboundSchema;
35788
35788
  })(InvoiceItemProduct$ ||= {});
35789
+ Details$inboundSchema = objectType({
35790
+ total_days: nullableType(numberType().int()).optional(),
35791
+ unused_days: nullableType(numberType().int()).optional(),
35792
+ used_days: nullableType(numberType().int()).optional(),
35793
+ prorate: nullableType(numberType()).optional()
35794
+ }).transform((v2) => {
35795
+ return remap(v2, {
35796
+ total_days: "totalDays",
35797
+ unused_days: "unusedDays",
35798
+ used_days: "usedDays"
35799
+ });
35800
+ });
35801
+ Details$outboundSchema = objectType({
35802
+ totalDays: nullableType(numberType().int()).optional(),
35803
+ unusedDays: nullableType(numberType().int()).optional(),
35804
+ usedDays: nullableType(numberType().int()).optional(),
35805
+ prorate: nullableType(numberType()).optional()
35806
+ }).transform((v2) => {
35807
+ return remap(v2, {
35808
+ totalDays: "total_days",
35809
+ unusedDays: "unused_days",
35810
+ usedDays: "used_days"
35811
+ });
35812
+ });
35813
+ ((Details$) => {
35814
+ Details$.inboundSchema = Details$inboundSchema;
35815
+ Details$.outboundSchema = Details$outboundSchema;
35816
+ })(Details$ ||= {});
35789
35817
  InvoiceItem$inboundSchema = objectType({
35790
35818
  id: numberType().int().optional(),
35791
35819
  date_starts: nullableType(stringType()).optional(),
@@ -35797,7 +35825,8 @@ var init_invoiceitem = __esm(() => {
35797
35825
  unit_price: nullableType(numberType().int()).optional(),
35798
35826
  subtotal: nullableType(numberType().int()).optional(),
35799
35827
  variant: nullableType(unionType([ProductVariant$inboundSchema, numberType().int()])).optional(),
35800
- product: nullableType(unionType([Product$inboundSchema, numberType().int()])).optional()
35828
+ product: nullableType(unionType([Product$inboundSchema, numberType().int()])).optional(),
35829
+ details: nullableType(lazyType(() => Details$inboundSchema)).optional()
35801
35830
  }).transform((v2) => {
35802
35831
  return remap(v2, {
35803
35832
  date_starts: "dateStarts",
@@ -35818,7 +35847,8 @@ var init_invoiceitem = __esm(() => {
35818
35847
  unitPrice: nullableType(numberType().int()).optional(),
35819
35848
  subtotal: nullableType(numberType().int()).optional(),
35820
35849
  variant: nullableType(unionType([ProductVariant$outboundSchema, numberType().int()])).optional(),
35821
- product: nullableType(unionType([Product$outboundSchema, numberType().int()])).optional()
35850
+ product: nullableType(unionType([Product$outboundSchema, numberType().int()])).optional(),
35851
+ details: nullableType(lazyType(() => Details$outboundSchema)).optional()
35822
35852
  }).transform((v2) => {
35823
35853
  return remap(v2, {
35824
35854
  dateStarts: "date_starts",
@@ -36162,12 +36192,189 @@ var init_rfcdate = __esm(() => {
36162
36192
  dateRE = /^\d{4}-\d{2}-\d{2}$/;
36163
36193
  });
36164
36194
 
36195
+ // src/models/components/facilityvendortype.ts
36196
+ var AppliesTo$inboundSchema, AppliesTo$outboundSchema, AppliesTo$, FacilityVendorType$inboundSchema, FacilityVendorType$outboundSchema, FacilityVendorType$;
36197
+ var init_facilityvendortype = __esm(() => {
36198
+ init_esm();
36199
+ init_primitives();
36200
+ AppliesTo$inboundSchema = objectType({
36201
+ company_id: nullableType(numberType().int()).optional(),
36202
+ company_group_id: nullableType(numberType().int()).optional(),
36203
+ vendor_group_id: nullableType(numberType().int()).optional(),
36204
+ everyone_else: booleanType()
36205
+ }).transform((v2) => {
36206
+ return remap(v2, {
36207
+ company_id: "companyId",
36208
+ company_group_id: "companyGroupId",
36209
+ vendor_group_id: "vendorGroupId",
36210
+ everyone_else: "everyoneElse"
36211
+ });
36212
+ });
36213
+ AppliesTo$outboundSchema = objectType({
36214
+ companyId: nullableType(numberType().int()).optional(),
36215
+ companyGroupId: nullableType(numberType().int()).optional(),
36216
+ vendorGroupId: nullableType(numberType().int()).optional(),
36217
+ everyoneElse: booleanType()
36218
+ }).transform((v2) => {
36219
+ return remap(v2, {
36220
+ companyId: "company_id",
36221
+ companyGroupId: "company_group_id",
36222
+ vendorGroupId: "vendor_group_id",
36223
+ everyoneElse: "everyone_else"
36224
+ });
36225
+ });
36226
+ ((AppliesTo$) => {
36227
+ AppliesTo$.inboundSchema = AppliesTo$inboundSchema;
36228
+ AppliesTo$.outboundSchema = AppliesTo$outboundSchema;
36229
+ })(AppliesTo$ ||= {});
36230
+ FacilityVendorType$inboundSchema = objectType({
36231
+ id: numberType().int().optional(),
36232
+ name: stringType(),
36233
+ short_name: stringType(),
36234
+ sort_order: numberType().int(),
36235
+ applies_to: lazyType(() => AppliesTo$inboundSchema)
36236
+ }).transform((v2) => {
36237
+ return remap(v2, {
36238
+ short_name: "shortName",
36239
+ sort_order: "sortOrder",
36240
+ applies_to: "appliesTo"
36241
+ });
36242
+ });
36243
+ FacilityVendorType$outboundSchema = objectType({
36244
+ id: numberType().int().optional(),
36245
+ name: stringType(),
36246
+ shortName: stringType(),
36247
+ sortOrder: numberType().int(),
36248
+ appliesTo: lazyType(() => AppliesTo$outboundSchema)
36249
+ }).transform((v2) => {
36250
+ return remap(v2, {
36251
+ shortName: "short_name",
36252
+ sortOrder: "sort_order",
36253
+ appliesTo: "applies_to"
36254
+ });
36255
+ });
36256
+ ((FacilityVendorType$) => {
36257
+ FacilityVendorType$.inboundSchema = FacilityVendorType$inboundSchema;
36258
+ FacilityVendorType$.outboundSchema = FacilityVendorType$outboundSchema;
36259
+ })(FacilityVendorType$ ||= {});
36260
+ });
36261
+
36262
+ // src/models/components/facilitysummary.ts
36263
+ var VendorPolicy$inboundSchema, VendorPolicy$outboundSchema, VendorPolicy$, FacilitySummary$inboundSchema, FacilitySummary$outboundSchema, FacilitySummary$;
36264
+ var init_facilitysummary = __esm(() => {
36265
+ init_esm();
36266
+ init_primitives();
36267
+ init_facilityvendortype();
36268
+ VendorPolicy$inboundSchema = objectType({
36269
+ vendor_types: arrayType(FacilityVendorType$inboundSchema).optional()
36270
+ }).transform((v2) => {
36271
+ return remap(v2, {
36272
+ vendor_types: "vendorTypes"
36273
+ });
36274
+ });
36275
+ VendorPolicy$outboundSchema = objectType({
36276
+ vendorTypes: arrayType(FacilityVendorType$outboundSchema).optional()
36277
+ }).transform((v2) => {
36278
+ return remap(v2, {
36279
+ vendorTypes: "vendor_types"
36280
+ });
36281
+ });
36282
+ ((VendorPolicy$) => {
36283
+ VendorPolicy$.inboundSchema = VendorPolicy$inboundSchema;
36284
+ VendorPolicy$.outboundSchema = VendorPolicy$outboundSchema;
36285
+ })(VendorPolicy$ ||= {});
36286
+ FacilitySummary$inboundSchema = objectType({
36287
+ id: numberType().int().optional(),
36288
+ name: stringType().optional(),
36289
+ vendor_policy: nullableType(lazyType(() => VendorPolicy$inboundSchema)).optional()
36290
+ }).transform((v2) => {
36291
+ return remap(v2, {
36292
+ vendor_policy: "vendorPolicy"
36293
+ });
36294
+ });
36295
+ FacilitySummary$outboundSchema = objectType({
36296
+ id: numberType().int().optional(),
36297
+ name: stringType().optional(),
36298
+ vendorPolicy: nullableType(lazyType(() => VendorPolicy$outboundSchema)).optional()
36299
+ }).transform((v2) => {
36300
+ return remap(v2, {
36301
+ vendorPolicy: "vendor_policy"
36302
+ });
36303
+ });
36304
+ ((FacilitySummary$) => {
36305
+ FacilitySummary$.inboundSchema = FacilitySummary$inboundSchema;
36306
+ FacilitySummary$.outboundSchema = FacilitySummary$outboundSchema;
36307
+ })(FacilitySummary$ ||= {});
36308
+ });
36309
+
36310
+ // src/models/components/vendortype.ts
36311
+ var VendorType$inboundSchema, VendorType$outboundSchema, VendorType$;
36312
+ var init_vendortype = __esm(() => {
36313
+ init_esm();
36314
+ VendorType$inboundSchema = objectType({
36315
+ id: numberType().int().optional(),
36316
+ name: stringType().optional()
36317
+ });
36318
+ VendorType$outboundSchema = objectType({
36319
+ id: numberType().int().optional(),
36320
+ name: stringType().optional()
36321
+ });
36322
+ ((VendorType$) => {
36323
+ VendorType$.inboundSchema = VendorType$inboundSchema;
36324
+ VendorType$.outboundSchema = VendorType$outboundSchema;
36325
+ })(VendorType$ ||= {});
36326
+ });
36327
+
36328
+ // src/models/components/companyvendortyperestriction.ts
36329
+ var CompanyVendorTypeRestrictionFacility$inboundSchema, CompanyVendorTypeRestrictionFacility$outboundSchema, CompanyVendorTypeRestrictionFacility$, CompanyVendorTypeRestrictionVendorType$inboundSchema, CompanyVendorTypeRestrictionVendorType$outboundSchema, CompanyVendorTypeRestrictionVendorType$, CompanyVendorTypeRestriction$inboundSchema, CompanyVendorTypeRestriction$outboundSchema, CompanyVendorTypeRestriction$;
36330
+ var init_companyvendortyperestriction = __esm(() => {
36331
+ init_esm();
36332
+ init_primitives();
36333
+ init_facilitysummary();
36334
+ init_vendortype();
36335
+ CompanyVendorTypeRestrictionFacility$inboundSchema = unionType([FacilitySummary$inboundSchema, numberType().int()]);
36336
+ CompanyVendorTypeRestrictionFacility$outboundSchema = unionType([FacilitySummary$outboundSchema, numberType().int()]);
36337
+ ((CompanyVendorTypeRestrictionFacility$) => {
36338
+ CompanyVendorTypeRestrictionFacility$.inboundSchema = CompanyVendorTypeRestrictionFacility$inboundSchema;
36339
+ CompanyVendorTypeRestrictionFacility$.outboundSchema = CompanyVendorTypeRestrictionFacility$outboundSchema;
36340
+ })(CompanyVendorTypeRestrictionFacility$ ||= {});
36341
+ CompanyVendorTypeRestrictionVendorType$inboundSchema = unionType([VendorType$inboundSchema, numberType().int()]);
36342
+ CompanyVendorTypeRestrictionVendorType$outboundSchema = unionType([VendorType$outboundSchema, numberType().int()]);
36343
+ ((CompanyVendorTypeRestrictionVendorType$) => {
36344
+ CompanyVendorTypeRestrictionVendorType$.inboundSchema = CompanyVendorTypeRestrictionVendorType$inboundSchema;
36345
+ CompanyVendorTypeRestrictionVendorType$.outboundSchema = CompanyVendorTypeRestrictionVendorType$outboundSchema;
36346
+ })(CompanyVendorTypeRestrictionVendorType$ ||= {});
36347
+ CompanyVendorTypeRestriction$inboundSchema = objectType({
36348
+ id: numberType().int().optional(),
36349
+ facility: nullableType(unionType([FacilitySummary$inboundSchema, numberType().int()])).optional(),
36350
+ vendor_type: nullableType(unionType([VendorType$inboundSchema, numberType().int()])).optional()
36351
+ }).transform((v2) => {
36352
+ return remap(v2, {
36353
+ vendor_type: "vendorType"
36354
+ });
36355
+ });
36356
+ CompanyVendorTypeRestriction$outboundSchema = objectType({
36357
+ id: numberType().int().optional(),
36358
+ facility: nullableType(unionType([FacilitySummary$outboundSchema, numberType().int()])).optional(),
36359
+ vendorType: nullableType(unionType([VendorType$outboundSchema, numberType().int()])).optional()
36360
+ }).transform((v2) => {
36361
+ return remap(v2, {
36362
+ vendorType: "vendor_type"
36363
+ });
36364
+ });
36365
+ ((CompanyVendorTypeRestriction$) => {
36366
+ CompanyVendorTypeRestriction$.inboundSchema = CompanyVendorTypeRestriction$inboundSchema;
36367
+ CompanyVendorTypeRestriction$.outboundSchema = CompanyVendorTypeRestriction$outboundSchema;
36368
+ })(CompanyVendorTypeRestriction$ ||= {});
36369
+ });
36370
+
36165
36371
  // src/models/components/company.ts
36166
36372
  var CompanyLocation$inboundSchema, CompanyLocation$outboundSchema, CompanyLocation$, CompanyContact$inboundSchema, CompanyContact$outboundSchema, CompanyContact$, Tax$inboundSchema, Tax$outboundSchema, Tax$, Stats$inboundSchema, Stats$outboundSchema, Stats$, Company$inboundSchema, Company$outboundSchema, Company$;
36167
36373
  var init_company = __esm(() => {
36168
36374
  init_esm();
36169
36375
  init_primitives();
36170
36376
  init_rfcdate();
36377
+ init_companyvendortyperestriction();
36171
36378
  CompanyLocation$inboundSchema = objectType({
36172
36379
  address: nullableType(stringType()).optional(),
36173
36380
  phone: nullableType(stringType()).optional(),
@@ -36280,10 +36487,12 @@ var init_company = __esm(() => {
36280
36487
  location: nullableType(lazyType(() => CompanyLocation$inboundSchema)).optional(),
36281
36488
  contact: lazyType(() => CompanyContact$inboundSchema).optional(),
36282
36489
  tax: lazyType(() => Tax$inboundSchema).optional(),
36283
- stats: lazyType(() => Stats$inboundSchema).optional()
36490
+ stats: lazyType(() => Stats$inboundSchema).optional(),
36491
+ vendor_type_restrictions: nullableType(arrayType(nullableType(CompanyVendorTypeRestriction$inboundSchema))).optional()
36284
36492
  }).transform((v2) => {
36285
36493
  return remap(v2, {
36286
- credit_balance: "creditBalance"
36494
+ credit_balance: "creditBalance",
36495
+ vendor_type_restrictions: "vendorTypeRestrictions"
36287
36496
  });
36288
36497
  });
36289
36498
  Company$outboundSchema = objectType({
@@ -36294,10 +36503,12 @@ var init_company = __esm(() => {
36294
36503
  location: nullableType(lazyType(() => CompanyLocation$outboundSchema)).optional(),
36295
36504
  contact: lazyType(() => CompanyContact$outboundSchema).optional(),
36296
36505
  tax: lazyType(() => Tax$outboundSchema).optional(),
36297
- stats: lazyType(() => Stats$outboundSchema).optional()
36506
+ stats: lazyType(() => Stats$outboundSchema).optional(),
36507
+ vendorTypeRestrictions: nullableType(arrayType(nullableType(CompanyVendorTypeRestriction$outboundSchema))).optional()
36298
36508
  }).transform((v2) => {
36299
36509
  return remap(v2, {
36300
- creditBalance: "credit_balance"
36510
+ creditBalance: "credit_balance",
36511
+ vendorTypeRestrictions: "vendor_type_restrictions"
36301
36512
  });
36302
36513
  });
36303
36514
  ((Company$) => {
@@ -36324,35 +36535,20 @@ var init_departmentsummary = __esm(() => {
36324
36535
  })(DepartmentSummary$ ||= {});
36325
36536
  });
36326
36537
 
36327
- // src/models/components/facilitysummary.ts
36328
- var FacilitySummary$inboundSchema, FacilitySummary$outboundSchema, FacilitySummary$;
36329
- var init_facilitysummary = __esm(() => {
36330
- init_esm();
36331
- FacilitySummary$inboundSchema = objectType({
36332
- id: numberType().int().optional(),
36333
- name: stringType().optional()
36334
- });
36335
- FacilitySummary$outboundSchema = objectType({
36336
- id: numberType().int().optional(),
36337
- name: stringType().optional()
36338
- });
36339
- ((FacilitySummary$) => {
36340
- FacilitySummary$.inboundSchema = FacilitySummary$inboundSchema;
36341
- FacilitySummary$.outboundSchema = FacilitySummary$outboundSchema;
36342
- })(FacilitySummary$ ||= {});
36343
- });
36344
-
36345
36538
  // src/models/components/systemsummary.ts
36346
36539
  var SystemSummary$inboundSchema, SystemSummary$outboundSchema, SystemSummary$;
36347
36540
  var init_systemsummary = __esm(() => {
36348
36541
  init_esm();
36542
+ init_facilitysummary();
36349
36543
  SystemSummary$inboundSchema = objectType({
36350
36544
  id: numberType().int(),
36351
- name: stringType()
36545
+ name: stringType(),
36546
+ facilities: nullableType(arrayType(FacilitySummary$inboundSchema)).optional()
36352
36547
  });
36353
36548
  SystemSummary$outboundSchema = objectType({
36354
36549
  id: numberType().int(),
36355
- name: stringType()
36550
+ name: stringType(),
36551
+ facilities: nullableType(arrayType(FacilitySummary$outboundSchema)).optional()
36356
36552
  });
36357
36553
  ((SystemSummary$) => {
36358
36554
  SystemSummary$.inboundSchema = SystemSummary$inboundSchema;
@@ -36918,6 +37114,9 @@ var init_expand = __esm(() => {
36918
37114
  VendorCreditBalance: "vendor.credit_balance",
36919
37115
  VendorRegistrationData: "vendor.registration_data",
36920
37116
  VendorRegistrationFinished: "vendor.registration_finished",
37117
+ VendorTargetFacilities: "vendor.target_facilities",
37118
+ VendorPendingInvoice: "vendor.pending_invoice",
37119
+ VendorVendorGroups: "vendor.vendor_groups",
36921
37120
  SupportArticleDescription: "support_article.description",
36922
37121
  SupportArticlePublished: "support_article.published",
36923
37122
  SupportArticleNotes: "support_article.notes",
@@ -36946,7 +37145,9 @@ var init_expand = __esm(() => {
36946
37145
  VendorCredentialDataRequestDataRequest: "vendor_credential_data_request.data_request",
36947
37146
  ZoneFacility: "zone.facility",
36948
37147
  ZoneDepartment: "zone.department",
36949
- ZoneRules: "zone.rules"
37148
+ ZoneRules: "zone.rules",
37149
+ SystemFacilities: "system.facilities",
37150
+ SubscriptionExpeditedOffer: "subscription.expedited_offer"
36950
37151
  };
36951
37152
  Expand$inboundSchema = nativeEnumType(Expand);
36952
37153
  Expand$outboundSchema = Expand$inboundSchema;
@@ -36978,34 +37179,16 @@ var init_imageset = __esm(() => {
36978
37179
  })(ImageSet$ ||= {});
36979
37180
  });
36980
37181
 
36981
- // src/models/components/vendortype.ts
36982
- var VendorType$inboundSchema, VendorType$outboundSchema, VendorType$;
36983
- var init_vendortype = __esm(() => {
36984
- init_esm();
36985
- VendorType$inboundSchema = objectType({
36986
- id: numberType().int().optional(),
36987
- name: stringType().optional()
36988
- });
36989
- VendorType$outboundSchema = objectType({
36990
- id: numberType().int().optional(),
36991
- name: stringType().optional()
36992
- });
36993
- ((VendorType$) => {
36994
- VendorType$.inboundSchema = VendorType$inboundSchema;
36995
- VendorType$.outboundSchema = VendorType$outboundSchema;
36996
- })(VendorType$ ||= {});
36997
- });
36998
-
36999
37182
  // src/models/components/facility.ts
37000
- var VendorGuestLimitAndOr, AppointmentPolicy$inboundSchema, AppointmentPolicy$outboundSchema, AppointmentPolicy$, Contacts$inboundSchema, Contacts$outboundSchema, Contacts$, VendorCounts$inboundSchema, VendorCounts$outboundSchema, VendorCounts$, FacilityFluCredential$inboundSchema, FacilityFluCredential$outboundSchema, FacilityFluCredential$, FluCredential$inboundSchema, FluCredential$outboundSchema, FluCredential$, Location$inboundSchema, Location$outboundSchema, Location$, ScrubsPolicy$inboundSchema, ScrubsPolicy$outboundSchema, ScrubsPolicy$, FacilitySystem$inboundSchema, FacilitySystem$outboundSchema, FacilitySystem$, Uses$inboundSchema, Uses$outboundSchema, Uses$, VendorGuestLimitAndOr$inboundSchema, VendorGuestLimitAndOr$outboundSchema, VendorGuestLimitAndOr$, VendorGuestPolicy$inboundSchema, VendorGuestPolicy$outboundSchema, VendorGuestPolicy$, VendorPolicy$inboundSchema, VendorPolicy$outboundSchema, VendorPolicy$, VisitorPolicy$inboundSchema, VisitorPolicy$outboundSchema, VisitorPolicy$, WorkflowPolicy$inboundSchema, WorkflowPolicy$outboundSchema, WorkflowPolicy$, Facility$inboundSchema, Facility$outboundSchema, Facility$;
37183
+ var VendorGuestLimitAndOr, AppointmentPolicy$inboundSchema, AppointmentPolicy$outboundSchema, AppointmentPolicy$, Contacts$inboundSchema, Contacts$outboundSchema, Contacts$, VendorCounts$inboundSchema, VendorCounts$outboundSchema, VendorCounts$, FacilityFluCredential$inboundSchema, FacilityFluCredential$outboundSchema, FacilityFluCredential$, FluCredential$inboundSchema, FluCredential$outboundSchema, FluCredential$, Location$inboundSchema, Location$outboundSchema, Location$, ScrubsPolicy$inboundSchema, ScrubsPolicy$outboundSchema, ScrubsPolicy$, FacilitySystem$inboundSchema, FacilitySystem$outboundSchema, FacilitySystem$, Uses$inboundSchema, Uses$outboundSchema, Uses$, VendorGuestLimitAndOr$inboundSchema, VendorGuestLimitAndOr$outboundSchema, VendorGuestLimitAndOr$, VendorGuestPolicy$inboundSchema, VendorGuestPolicy$outboundSchema, VendorGuestPolicy$, FacilityVendorPolicy$inboundSchema, FacilityVendorPolicy$outboundSchema, FacilityVendorPolicy$, VisitorPolicy$inboundSchema, VisitorPolicy$outboundSchema, VisitorPolicy$, WorkflowPolicy$inboundSchema, WorkflowPolicy$outboundSchema, WorkflowPolicy$, Facility$inboundSchema, Facility$outboundSchema, Facility$;
37001
37184
  var init_facility = __esm(() => {
37002
37185
  init_esm();
37003
37186
  init_primitives();
37004
37187
  init_rfcdate();
37005
37188
  init_contact();
37189
+ init_facilityvendortype();
37006
37190
  init_imageset();
37007
37191
  init_systemsummary();
37008
- init_vendortype();
37009
37192
  VendorGuestLimitAndOr = {
37010
37193
  And: "and",
37011
37194
  Or: "or"
@@ -37304,14 +37487,14 @@ var init_facility = __esm(() => {
37304
37487
  VendorGuestPolicy$.inboundSchema = VendorGuestPolicy$inboundSchema;
37305
37488
  VendorGuestPolicy$.outboundSchema = VendorGuestPolicy$outboundSchema;
37306
37489
  })(VendorGuestPolicy$ ||= {});
37307
- VendorPolicy$inboundSchema = objectType({
37490
+ FacilityVendorPolicy$inboundSchema = objectType({
37308
37491
  allow_department_other: booleanType(),
37309
37492
  allow_food: booleanType(),
37310
37493
  allow_non_kiosk_checkouts: booleanType(),
37311
37494
  auto_scan_out_violation: booleanType(),
37312
37495
  contractor_guest_require_email: booleanType(),
37313
37496
  visitor_checkin_require_phone: booleanType(),
37314
- vendor_types: arrayType(nullableType(VendorType$inboundSchema))
37497
+ vendor_types: arrayType(FacilityVendorType$inboundSchema)
37315
37498
  }).transform((v2) => {
37316
37499
  return remap(v2, {
37317
37500
  allow_department_other: "allowDepartmentOther",
@@ -37323,14 +37506,14 @@ var init_facility = __esm(() => {
37323
37506
  vendor_types: "vendorTypes"
37324
37507
  });
37325
37508
  });
37326
- VendorPolicy$outboundSchema = objectType({
37509
+ FacilityVendorPolicy$outboundSchema = objectType({
37327
37510
  allowDepartmentOther: booleanType(),
37328
37511
  allowFood: booleanType(),
37329
37512
  allowNonKioskCheckouts: booleanType(),
37330
37513
  autoScanOutViolation: booleanType(),
37331
37514
  contractorGuestRequireEmail: booleanType(),
37332
37515
  visitorCheckinRequirePhone: booleanType(),
37333
- vendorTypes: arrayType(nullableType(VendorType$outboundSchema))
37516
+ vendorTypes: arrayType(FacilityVendorType$outboundSchema)
37334
37517
  }).transform((v2) => {
37335
37518
  return remap(v2, {
37336
37519
  allowDepartmentOther: "allow_department_other",
@@ -37342,10 +37525,10 @@ var init_facility = __esm(() => {
37342
37525
  vendorTypes: "vendor_types"
37343
37526
  });
37344
37527
  });
37345
- ((VendorPolicy$) => {
37346
- VendorPolicy$.inboundSchema = VendorPolicy$inboundSchema;
37347
- VendorPolicy$.outboundSchema = VendorPolicy$outboundSchema;
37348
- })(VendorPolicy$ ||= {});
37528
+ ((FacilityVendorPolicy$) => {
37529
+ FacilityVendorPolicy$.inboundSchema = FacilityVendorPolicy$inboundSchema;
37530
+ FacilityVendorPolicy$.outboundSchema = FacilityVendorPolicy$outboundSchema;
37531
+ })(FacilityVendorPolicy$ ||= {});
37349
37532
  VisitorPolicy$inboundSchema = objectType({
37350
37533
  auto_checkout_visitors: booleanType(),
37351
37534
  require_visit_request_zone: booleanType(),
@@ -37426,7 +37609,7 @@ var init_facility = __esm(() => {
37426
37609
  system: unionType([SystemSummary$inboundSchema, numberType().int()]).optional(),
37427
37610
  uses: lazyType(() => Uses$inboundSchema).optional(),
37428
37611
  vendor_guest_policy: nullableType(lazyType(() => VendorGuestPolicy$inboundSchema)).optional(),
37429
- vendor_policy: nullableType(lazyType(() => VendorPolicy$inboundSchema)).optional(),
37612
+ vendor_policy: nullableType(lazyType(() => FacilityVendorPolicy$inboundSchema)).optional(),
37430
37613
  visible: booleanType().optional(),
37431
37614
  visitor_policy: nullableType(lazyType(() => VisitorPolicy$inboundSchema)).optional(),
37432
37615
  workflow_policy: nullableType(lazyType(() => WorkflowPolicy$inboundSchema)).optional()
@@ -37461,7 +37644,7 @@ var init_facility = __esm(() => {
37461
37644
  system: unionType([SystemSummary$outboundSchema, numberType().int()]).optional(),
37462
37645
  uses: lazyType(() => Uses$outboundSchema).optional(),
37463
37646
  vendorGuestPolicy: nullableType(lazyType(() => VendorGuestPolicy$outboundSchema)).optional(),
37464
- vendorPolicy: nullableType(lazyType(() => VendorPolicy$outboundSchema)).optional(),
37647
+ vendorPolicy: nullableType(lazyType(() => FacilityVendorPolicy$outboundSchema)).optional(),
37465
37648
  visible: booleanType().optional(),
37466
37649
  visitorPolicy: nullableType(lazyType(() => VisitorPolicy$outboundSchema)).optional(),
37467
37650
  workflowPolicy: nullableType(lazyType(() => WorkflowPolicy$outboundSchema)).optional()
@@ -37534,7 +37717,7 @@ var init_financialstatus = __esm(() => {
37534
37717
  });
37535
37718
 
37536
37719
  // src/models/components/zoneconfig.ts
37537
- var VendorGroupId1$inboundSchema, VendorGroupId1$outboundSchema, VendorGroupId1$, VendorGroupId$inboundSchema, VendorGroupId$outboundSchema, VendorGroupId$, CompanyGroupId1$inboundSchema, CompanyGroupId1$outboundSchema, CompanyGroupId1$, CompanyGroupId$inboundSchema, CompanyGroupId$outboundSchema, CompanyGroupId$, AppliesTo$inboundSchema, AppliesTo$outboundSchema, AppliesTo$, ZoneConfigVendorPolicy$inboundSchema, ZoneConfigVendorPolicy$outboundSchema, ZoneConfigVendorPolicy$, VisitorCheckinPolicy$inboundSchema, VisitorCheckinPolicy$outboundSchema, VisitorCheckinPolicy$, VisitRequestPolicy$inboundSchema, VisitRequestPolicy$outboundSchema, VisitRequestPolicy$, ZoneConfig$inboundSchema, ZoneConfig$outboundSchema, ZoneConfig$;
37720
+ var VendorGroupId1$inboundSchema, VendorGroupId1$outboundSchema, VendorGroupId1$, VendorGroupId$inboundSchema, VendorGroupId$outboundSchema, VendorGroupId$, CompanyGroupId1$inboundSchema, CompanyGroupId1$outboundSchema, CompanyGroupId1$, CompanyGroupId$inboundSchema, CompanyGroupId$outboundSchema, CompanyGroupId$, ZoneConfigAppliesTo$inboundSchema, ZoneConfigAppliesTo$outboundSchema, ZoneConfigAppliesTo$, ZoneConfigVendorPolicy$inboundSchema, ZoneConfigVendorPolicy$outboundSchema, ZoneConfigVendorPolicy$, VisitorCheckinPolicy$inboundSchema, VisitorCheckinPolicy$outboundSchema, VisitorCheckinPolicy$, VisitRequestPolicy$inboundSchema, VisitRequestPolicy$outboundSchema, VisitRequestPolicy$, ZoneConfig$inboundSchema, ZoneConfig$outboundSchema, ZoneConfig$;
37538
37721
  var init_zoneconfig = __esm(() => {
37539
37722
  init_esm();
37540
37723
  init_primitives();
@@ -37582,7 +37765,7 @@ var init_zoneconfig = __esm(() => {
37582
37765
  CompanyGroupId$.inboundSchema = CompanyGroupId$inboundSchema;
37583
37766
  CompanyGroupId$.outboundSchema = CompanyGroupId$outboundSchema;
37584
37767
  })(CompanyGroupId$ ||= {});
37585
- AppliesTo$inboundSchema = objectType({
37768
+ ZoneConfigAppliesTo$inboundSchema = objectType({
37586
37769
  vendor_group_id: nullableType(unionType([lazyType(() => VendorGroupId1$inboundSchema), numberType().int()])).optional(),
37587
37770
  company_group_id: nullableType(unionType([lazyType(() => CompanyGroupId1$inboundSchema), numberType().int()])).optional(),
37588
37771
  visitor_type: nullableType(stringType()).optional(),
@@ -37595,7 +37778,7 @@ var init_zoneconfig = __esm(() => {
37595
37778
  visitor_subtype: "visitorSubtype"
37596
37779
  });
37597
37780
  });
37598
- AppliesTo$outboundSchema = objectType({
37781
+ ZoneConfigAppliesTo$outboundSchema = objectType({
37599
37782
  vendorGroupId: nullableType(unionType([lazyType(() => VendorGroupId1$outboundSchema), numberType().int()])).optional(),
37600
37783
  companyGroupId: nullableType(unionType([lazyType(() => CompanyGroupId1$outboundSchema), numberType().int()])).optional(),
37601
37784
  visitorType: nullableType(stringType()).optional(),
@@ -37608,10 +37791,10 @@ var init_zoneconfig = __esm(() => {
37608
37791
  visitorSubtype: "visitor_subtype"
37609
37792
  });
37610
37793
  });
37611
- ((AppliesTo$) => {
37612
- AppliesTo$.inboundSchema = AppliesTo$inboundSchema;
37613
- AppliesTo$.outboundSchema = AppliesTo$outboundSchema;
37614
- })(AppliesTo$ ||= {});
37794
+ ((ZoneConfigAppliesTo$) => {
37795
+ ZoneConfigAppliesTo$.inboundSchema = ZoneConfigAppliesTo$inboundSchema;
37796
+ ZoneConfigAppliesTo$.outboundSchema = ZoneConfigAppliesTo$outboundSchema;
37797
+ })(ZoneConfigAppliesTo$ ||= {});
37615
37798
  ZoneConfigVendorPolicy$inboundSchema = objectType({
37616
37799
  allow_vendor_scans: booleanType().optional(),
37617
37800
  print_vendor_badge: booleanType().optional(),
@@ -37764,7 +37947,7 @@ var init_zoneconfig = __esm(() => {
37764
37947
  id: numberType().int().optional(),
37765
37948
  zone_id: numberType().int().optional(),
37766
37949
  sort_order: nullableType(numberType().int()).optional(),
37767
- applies_to: lazyType(() => AppliesTo$inboundSchema).optional(),
37950
+ applies_to: lazyType(() => ZoneConfigAppliesTo$inboundSchema).optional(),
37768
37951
  vendor_policy: lazyType(() => ZoneConfigVendorPolicy$inboundSchema).optional(),
37769
37952
  visitor_checkin_policy: lazyType(() => VisitorCheckinPolicy$inboundSchema).optional(),
37770
37953
  visit_request_policy: lazyType(() => VisitRequestPolicy$inboundSchema).optional()
@@ -37782,7 +37965,7 @@ var init_zoneconfig = __esm(() => {
37782
37965
  id: numberType().int().optional(),
37783
37966
  zoneId: numberType().int().optional(),
37784
37967
  sortOrder: nullableType(numberType().int()).optional(),
37785
- appliesTo: lazyType(() => AppliesTo$outboundSchema).optional(),
37968
+ appliesTo: lazyType(() => ZoneConfigAppliesTo$outboundSchema).optional(),
37786
37969
  vendorPolicy: lazyType(() => ZoneConfigVendorPolicy$outboundSchema).optional(),
37787
37970
  visitorCheckinPolicy: lazyType(() => VisitorCheckinPolicy$outboundSchema).optional(),
37788
37971
  visitRequestPolicy: lazyType(() => VisitRequestPolicy$outboundSchema).optional()
@@ -38591,6 +38774,7 @@ var init_subscription = __esm(() => {
38591
38774
  init_primitives();
38592
38775
  init_financialstatus();
38593
38776
  init_invoiceitem();
38777
+ init_productvariant();
38594
38778
  Subscription$inboundSchema = objectType({
38595
38779
  id: nullableType(numberType().int()).optional(),
38596
38780
  date_started: nullableType(stringType()).optional(),
@@ -38601,7 +38785,8 @@ var init_subscription = __esm(() => {
38601
38785
  current_line_item: nullableType(InvoiceItem$inboundSchema).optional(),
38602
38786
  next_line_item: nullableType(InvoiceItem$inboundSchema).optional(),
38603
38787
  current_financial_status: nullableType(FinancialStatus$inboundSchema).optional(),
38604
- next_financial_status: nullableType(FinancialStatus$inboundSchema).optional()
38788
+ next_financial_status: nullableType(FinancialStatus$inboundSchema).optional(),
38789
+ expedited_offer: nullableType(ProductVariant$inboundSchema).optional()
38605
38790
  }).transform((v2) => {
38606
38791
  return remap(v2, {
38607
38792
  date_started: "dateStarted",
@@ -38610,7 +38795,8 @@ var init_subscription = __esm(() => {
38610
38795
  current_line_item: "currentLineItem",
38611
38796
  next_line_item: "nextLineItem",
38612
38797
  current_financial_status: "currentFinancialStatus",
38613
- next_financial_status: "nextFinancialStatus"
38798
+ next_financial_status: "nextFinancialStatus",
38799
+ expedited_offer: "expeditedOffer"
38614
38800
  });
38615
38801
  });
38616
38802
  Subscription$outboundSchema = objectType({
@@ -38623,7 +38809,8 @@ var init_subscription = __esm(() => {
38623
38809
  currentLineItem: nullableType(InvoiceItem$outboundSchema).optional(),
38624
38810
  nextLineItem: nullableType(InvoiceItem$outboundSchema).optional(),
38625
38811
  currentFinancialStatus: nullableType(FinancialStatus$outboundSchema).optional(),
38626
- nextFinancialStatus: nullableType(FinancialStatus$outboundSchema).optional()
38812
+ nextFinancialStatus: nullableType(FinancialStatus$outboundSchema).optional(),
38813
+ expeditedOffer: nullableType(ProductVariant$outboundSchema).optional()
38627
38814
  }).transform((v2) => {
38628
38815
  return remap(v2, {
38629
38816
  dateStarted: "date_started",
@@ -38632,7 +38819,8 @@ var init_subscription = __esm(() => {
38632
38819
  currentLineItem: "current_line_item",
38633
38820
  nextLineItem: "next_line_item",
38634
38821
  currentFinancialStatus: "current_financial_status",
38635
- nextFinancialStatus: "next_financial_status"
38822
+ nextFinancialStatus: "next_financial_status",
38823
+ expeditedOffer: "expedited_offer"
38636
38824
  });
38637
38825
  });
38638
38826
  ((Subscription$) => {
@@ -38905,6 +39093,37 @@ var init_userlocation = __esm(() => {
38905
39093
  })(UserLocation$ ||= {});
38906
39094
  });
38907
39095
 
39096
+ // src/models/components/vendorgroup.ts
39097
+ var VendorGroup$inboundSchema, VendorGroup$outboundSchema, VendorGroup$;
39098
+ var init_vendorgroup = __esm(() => {
39099
+ init_esm();
39100
+ init_primitives();
39101
+ VendorGroup$inboundSchema = objectType({
39102
+ id: numberType().int().optional(),
39103
+ name: stringType().optional(),
39104
+ description: nullableType(stringType()).optional(),
39105
+ vendor_type_ids: nullableType(stringType()).optional()
39106
+ }).transform((v2) => {
39107
+ return remap(v2, {
39108
+ vendor_type_ids: "vendorTypeIds"
39109
+ });
39110
+ });
39111
+ VendorGroup$outboundSchema = objectType({
39112
+ id: numberType().int().optional(),
39113
+ name: stringType().optional(),
39114
+ description: nullableType(stringType()).optional(),
39115
+ vendorTypeIds: nullableType(stringType()).optional()
39116
+ }).transform((v2) => {
39117
+ return remap(v2, {
39118
+ vendorTypeIds: "vendor_type_ids"
39119
+ });
39120
+ });
39121
+ ((VendorGroup$) => {
39122
+ VendorGroup$.inboundSchema = VendorGroup$inboundSchema;
39123
+ VendorGroup$.outboundSchema = VendorGroup$outboundSchema;
39124
+ })(VendorGroup$ ||= {});
39125
+ });
39126
+
38908
39127
  // src/models/components/vendorjobtitle.ts
38909
39128
  var VendorJobTitle$inboundSchema, VendorJobTitle$outboundSchema, VendorJobTitle$;
38910
39129
  var init_vendorjobtitle = __esm(() => {
@@ -38924,7 +39143,7 @@ var init_vendorjobtitle = __esm(() => {
38924
39143
  });
38925
39144
 
38926
39145
  // src/models/components/vendor.ts
38927
- var One$inboundSchema, One$outboundSchema, One$, VendorUser$inboundSchema, VendorUser$outboundSchema, VendorUser$, VendorJob$inboundSchema, VendorJob$outboundSchema, VendorJob$, VendorVendorType$inboundSchema, VendorVendorType$outboundSchema, VendorVendorType$, Vendor22$inboundSchema, Vendor22$outboundSchema, Vendor22$, VendorPaymentProfile2$inboundSchema, VendorPaymentProfile2$outboundSchema, VendorPaymentProfile2$, VendorPaymentProfile1$inboundSchema, VendorPaymentProfile1$outboundSchema, VendorPaymentProfile1$, PaymentProfilePaymentProfile$inboundSchema, PaymentProfilePaymentProfile$outboundSchema, PaymentProfilePaymentProfile$, VendorPaymentProfile$inboundSchema, VendorPaymentProfile$outboundSchema, VendorPaymentProfile$, PaymentResponsibility$inboundSchema, PaymentResponsibility$outboundSchema, PaymentResponsibility$, Vendor$inboundSchema, Vendor$outboundSchema, Vendor$;
39146
+ var One$inboundSchema, One$outboundSchema, One$, VendorUser$inboundSchema, VendorUser$outboundSchema, VendorUser$, VendorJob$inboundSchema, VendorJob$outboundSchema, VendorJob$, VendorVendorType$inboundSchema, VendorVendorType$outboundSchema, VendorVendorType$, Vendor22$inboundSchema, Vendor22$outboundSchema, Vendor22$, VendorPaymentProfile2$inboundSchema, VendorPaymentProfile2$outboundSchema, VendorPaymentProfile2$, VendorPaymentProfile1$inboundSchema, VendorPaymentProfile1$outboundSchema, VendorPaymentProfile1$, PaymentProfilePaymentProfile$inboundSchema, PaymentProfilePaymentProfile$outboundSchema, PaymentProfilePaymentProfile$, VendorPaymentProfile$inboundSchema, VendorPaymentProfile$outboundSchema, VendorPaymentProfile$, PaymentResponsibility$inboundSchema, PaymentResponsibility$outboundSchema, PaymentResponsibility$, TargetFacilities$inboundSchema, TargetFacilities$outboundSchema, TargetFacilities$, PendingInvoice$inboundSchema, PendingInvoice$outboundSchema, PendingInvoice$, Vendor$inboundSchema, Vendor$outboundSchema, Vendor$;
38928
39147
  var init_vendor = __esm(() => {
38929
39148
  init_esm();
38930
39149
  init_primitives();
@@ -38932,9 +39151,11 @@ var init_vendor = __esm(() => {
38932
39151
  init_department();
38933
39152
  init_facility();
38934
39153
  init_imageset();
39154
+ init_invoice();
38935
39155
  init_subscription();
38936
39156
  init_supervisor();
38937
39157
  init_userlocation();
39158
+ init_vendorgroup();
38938
39159
  init_vendorjobtitle();
38939
39160
  init_vendortype();
38940
39161
  One$inboundSchema = objectType({
@@ -39159,6 +39380,24 @@ var init_vendor = __esm(() => {
39159
39380
  PaymentResponsibility$.inboundSchema = PaymentResponsibility$inboundSchema;
39160
39381
  PaymentResponsibility$.outboundSchema = PaymentResponsibility$outboundSchema;
39161
39382
  })(PaymentResponsibility$ ||= {});
39383
+ TargetFacilities$inboundSchema = objectType({
39384
+ id: numberType().int().optional(),
39385
+ name: nullableType(stringType()).optional()
39386
+ });
39387
+ TargetFacilities$outboundSchema = objectType({
39388
+ id: numberType().int().optional(),
39389
+ name: nullableType(stringType()).optional()
39390
+ });
39391
+ ((TargetFacilities$) => {
39392
+ TargetFacilities$.inboundSchema = TargetFacilities$inboundSchema;
39393
+ TargetFacilities$.outboundSchema = TargetFacilities$outboundSchema;
39394
+ })(TargetFacilities$ ||= {});
39395
+ PendingInvoice$inboundSchema = unionType([Invoice$inboundSchema, numberType().int()]);
39396
+ PendingInvoice$outboundSchema = unionType([Invoice$outboundSchema, numberType().int()]);
39397
+ ((PendingInvoice$) => {
39398
+ PendingInvoice$.inboundSchema = PendingInvoice$inboundSchema;
39399
+ PendingInvoice$.outboundSchema = PendingInvoice$outboundSchema;
39400
+ })(PendingInvoice$ ||= {});
39162
39401
  Vendor$inboundSchema = objectType({
39163
39402
  id: numberType().int().optional(),
39164
39403
  email_recepient: nullableType(stringType()).optional(),
@@ -39188,7 +39427,10 @@ var init_vendor = __esm(() => {
39188
39427
  scrubs_subscription: nullableType(Subscription$inboundSchema).optional(),
39189
39428
  payment_responsibility: nullableType(lazyType(() => PaymentResponsibility$inboundSchema)).optional(),
39190
39429
  background_check_date_expires: nullableType(stringType()).optional(),
39191
- credit_balance: nullableType(numberType()).optional()
39430
+ credit_balance: nullableType(numberType()).optional(),
39431
+ target_facilities: nullableType(arrayType(lazyType(() => TargetFacilities$inboundSchema))).optional(),
39432
+ pending_invoice: nullableType(unionType([Invoice$inboundSchema, numberType().int()])).optional(),
39433
+ vendor_groups: nullableType(arrayType(nullableType(VendorGroup$inboundSchema))).optional()
39192
39434
  }).transform((v2) => {
39193
39435
  return remap(v2, {
39194
39436
  email_recepient: "emailRecepient",
@@ -39208,7 +39450,10 @@ var init_vendor = __esm(() => {
39208
39450
  scrubs_subscription: "scrubsSubscription",
39209
39451
  payment_responsibility: "paymentResponsibility",
39210
39452
  background_check_date_expires: "backgroundCheckDateExpires",
39211
- credit_balance: "creditBalance"
39453
+ credit_balance: "creditBalance",
39454
+ target_facilities: "targetFacilities",
39455
+ pending_invoice: "pendingInvoice",
39456
+ vendor_groups: "vendorGroups"
39212
39457
  });
39213
39458
  });
39214
39459
  Vendor$outboundSchema = objectType({
@@ -39240,7 +39485,10 @@ var init_vendor = __esm(() => {
39240
39485
  scrubsSubscription: nullableType(Subscription$outboundSchema).optional(),
39241
39486
  paymentResponsibility: nullableType(lazyType(() => PaymentResponsibility$outboundSchema)).optional(),
39242
39487
  backgroundCheckDateExpires: nullableType(stringType()).optional(),
39243
- creditBalance: nullableType(numberType()).optional()
39488
+ creditBalance: nullableType(numberType()).optional(),
39489
+ targetFacilities: nullableType(arrayType(lazyType(() => TargetFacilities$outboundSchema))).optional(),
39490
+ pendingInvoice: nullableType(unionType([Invoice$outboundSchema, numberType().int()])).optional(),
39491
+ vendorGroups: nullableType(arrayType(nullableType(VendorGroup$outboundSchema))).optional()
39244
39492
  }).transform((v2) => {
39245
39493
  return remap(v2, {
39246
39494
  emailRecepient: "email_recepient",
@@ -39260,7 +39508,10 @@ var init_vendor = __esm(() => {
39260
39508
  scrubsSubscription: "scrubs_subscription",
39261
39509
  paymentResponsibility: "payment_responsibility",
39262
39510
  backgroundCheckDateExpires: "background_check_date_expires",
39263
- creditBalance: "credit_balance"
39511
+ creditBalance: "credit_balance",
39512
+ targetFacilities: "target_facilities",
39513
+ pendingInvoice: "pending_invoice",
39514
+ vendorGroups: "vendor_groups"
39264
39515
  });
39265
39516
  });
39266
39517
  ((Vendor$) => {
@@ -40274,6 +40525,7 @@ var init_components = __esm(() => {
40274
40525
  init_activestatus();
40275
40526
  init_backgroundcheckresult();
40276
40527
  init_company();
40528
+ init_companyvendortyperestriction();
40277
40529
  init_contact();
40278
40530
  init_contenttype();
40279
40531
  init_credential();
@@ -40288,6 +40540,7 @@ var init_components = __esm(() => {
40288
40540
  init_facility();
40289
40541
  init_facilitystatus();
40290
40542
  init_facilitysummary();
40543
+ init_facilityvendortype();
40291
40544
  init_financialstatus();
40292
40545
  init_handoff();
40293
40546
  init_imageset();
@@ -40320,6 +40573,7 @@ var init_components = __esm(() => {
40320
40573
  init_vendorcredentialscontainer();
40321
40574
  init_vendorcredentialsummary();
40322
40575
  init_vendorfacilitystatusview();
40576
+ init_vendorgroup();
40323
40577
  init_vendorjobtitle();
40324
40578
  init_vendormanagedbycompany();
40325
40579
  init_vendorrequiredcredential();
@@ -41520,6 +41774,44 @@ var init_getsecurityzone = __esm(() => {
41520
41774
  })(GetSecurityZoneRequest$ ||= {});
41521
41775
  });
41522
41776
 
41777
+ // src/models/operations/getsubscription.ts
41778
+ var GetSubscriptionRequest$inboundSchema, GetSubscriptionRequest$outboundSchema, GetSubscriptionRequest$, GetSubscriptionResponseBody$inboundSchema, GetSubscriptionResponseBody$outboundSchema, GetSubscriptionResponseBody$;
41779
+ var init_getsubscription = __esm(() => {
41780
+ init_esm();
41781
+ init_primitives();
41782
+ init_components();
41783
+ GetSubscriptionRequest$inboundSchema = objectType({
41784
+ vendor_id_or_me: stringType(),
41785
+ expand: arrayType(Expand$inboundSchema).optional()
41786
+ }).transform((v2) => {
41787
+ return remap(v2, {
41788
+ vendor_id_or_me: "vendorIdOrMe"
41789
+ });
41790
+ });
41791
+ GetSubscriptionRequest$outboundSchema = objectType({
41792
+ vendorIdOrMe: stringType(),
41793
+ expand: arrayType(Expand$outboundSchema).optional()
41794
+ }).transform((v2) => {
41795
+ return remap(v2, {
41796
+ vendorIdOrMe: "vendor_id_or_me"
41797
+ });
41798
+ });
41799
+ ((GetSubscriptionRequest$) => {
41800
+ GetSubscriptionRequest$.inboundSchema = GetSubscriptionRequest$inboundSchema;
41801
+ GetSubscriptionRequest$.outboundSchema = GetSubscriptionRequest$outboundSchema;
41802
+ })(GetSubscriptionRequest$ ||= {});
41803
+ GetSubscriptionResponseBody$inboundSchema = objectType({
41804
+ subscription: nullableType(Subscription$inboundSchema).optional()
41805
+ });
41806
+ GetSubscriptionResponseBody$outboundSchema = objectType({
41807
+ subscription: nullableType(Subscription$outboundSchema).optional()
41808
+ });
41809
+ ((GetSubscriptionResponseBody$) => {
41810
+ GetSubscriptionResponseBody$.inboundSchema = GetSubscriptionResponseBody$inboundSchema;
41811
+ GetSubscriptionResponseBody$.outboundSchema = GetSubscriptionResponseBody$outboundSchema;
41812
+ })(GetSubscriptionResponseBody$ ||= {});
41813
+ });
41814
+
41523
41815
  // src/models/operations/getsupportarticle.ts
41524
41816
  var GetSupportArticleRequest$inboundSchema, GetSupportArticleRequest$outboundSchema, GetSupportArticleRequest$;
41525
41817
  var init_getsupportarticle = __esm(() => {
@@ -42157,47 +42449,115 @@ var init_listorsearchsupportarticles = __esm(() => {
42157
42449
  })(ListOrSearchSupportArticlesResponse$ ||= {});
42158
42450
  });
42159
42451
 
42160
- // src/models/operations/listvendoradditionalfacilityfields.ts
42161
- var ListVendorAdditionalFacilityFieldsRequest$inboundSchema, ListVendorAdditionalFacilityFieldsRequest$outboundSchema, ListVendorAdditionalFacilityFieldsRequest$, ListVendorAdditionalFacilityFieldsListVendorAdditionalFacilityFieldsOk$inboundSchema, ListVendorAdditionalFacilityFieldsListVendorAdditionalFacilityFieldsOk$outboundSchema, ListVendorAdditionalFacilityFieldsListVendorAdditionalFacilityFieldsOk$, ListVendorAdditionalFacilityFieldsResponse$inboundSchema, ListVendorAdditionalFacilityFieldsResponse$outboundSchema, ListVendorAdditionalFacilityFieldsResponse$;
42162
- var init_listvendoradditionalfacilityfields = __esm(() => {
42452
+ // src/models/operations/listsystems.ts
42453
+ var ListSystemsRequest$inboundSchema, ListSystemsRequest$outboundSchema, ListSystemsRequest$, ListSystemsResponseBody$inboundSchema, ListSystemsResponseBody$outboundSchema, ListSystemsResponseBody$, ListSystemsResponse$inboundSchema, ListSystemsResponse$outboundSchema, ListSystemsResponse$;
42454
+ var init_listsystems = __esm(() => {
42163
42455
  init_esm();
42164
42456
  init_primitives();
42165
42457
  init_components();
42166
- ListVendorAdditionalFacilityFieldsRequest$inboundSchema = objectType({
42458
+ ListSystemsRequest$inboundSchema = objectType({
42167
42459
  sort: nullableType(stringType()).optional(),
42168
42460
  desc: Desc$inboundSchema.optional(),
42169
42461
  page: numberType().int().optional(),
42170
42462
  items_per_page: numberType().int().optional(),
42171
- vendor_id_or_me: stringType()
42463
+ name_like: stringType().optional(),
42464
+ expand: arrayType(Expand$inboundSchema).optional()
42172
42465
  }).transform((v2) => {
42173
42466
  return remap(v2, {
42174
42467
  items_per_page: "itemsPerPage",
42175
- vendor_id_or_me: "vendorIdOrMe"
42468
+ name_like: "nameLike"
42176
42469
  });
42177
42470
  });
42178
- ListVendorAdditionalFacilityFieldsRequest$outboundSchema = objectType({
42471
+ ListSystemsRequest$outboundSchema = objectType({
42179
42472
  sort: nullableType(stringType()).optional(),
42180
42473
  desc: Desc$outboundSchema.optional(),
42181
42474
  page: numberType().int().optional(),
42182
42475
  itemsPerPage: numberType().int().optional(),
42183
- vendorIdOrMe: stringType()
42476
+ nameLike: stringType().optional(),
42477
+ expand: arrayType(Expand$outboundSchema).optional()
42184
42478
  }).transform((v2) => {
42185
42479
  return remap(v2, {
42186
42480
  itemsPerPage: "items_per_page",
42187
- vendorIdOrMe: "vendor_id_or_me"
42481
+ nameLike: "name_like"
42188
42482
  });
42189
42483
  });
42190
- ((ListVendorAdditionalFacilityFieldsRequest$) => {
42191
- ListVendorAdditionalFacilityFieldsRequest$.inboundSchema = ListVendorAdditionalFacilityFieldsRequest$inboundSchema;
42192
- ListVendorAdditionalFacilityFieldsRequest$.outboundSchema = ListVendorAdditionalFacilityFieldsRequest$outboundSchema;
42193
- })(ListVendorAdditionalFacilityFieldsRequest$ ||= {});
42194
- ListVendorAdditionalFacilityFieldsListVendorAdditionalFacilityFieldsOk$inboundSchema = objectType({
42195
- items: arrayType(VendorAdditionalFacilityFields$inboundSchema),
42196
- pager: Pager$inboundSchema
42484
+ ((ListSystemsRequest$) => {
42485
+ ListSystemsRequest$.inboundSchema = ListSystemsRequest$inboundSchema;
42486
+ ListSystemsRequest$.outboundSchema = ListSystemsRequest$outboundSchema;
42487
+ })(ListSystemsRequest$ ||= {});
42488
+ ListSystemsResponseBody$inboundSchema = objectType({
42489
+ pager: Pager$inboundSchema,
42490
+ items: arrayType(SystemSummary$inboundSchema)
42197
42491
  });
42198
- ListVendorAdditionalFacilityFieldsListVendorAdditionalFacilityFieldsOk$outboundSchema = objectType({
42199
- items: arrayType(VendorAdditionalFacilityFields$outboundSchema),
42200
- pager: Pager$outboundSchema
42492
+ ListSystemsResponseBody$outboundSchema = objectType({
42493
+ pager: Pager$outboundSchema,
42494
+ items: arrayType(SystemSummary$outboundSchema)
42495
+ });
42496
+ ((ListSystemsResponseBody$) => {
42497
+ ListSystemsResponseBody$.inboundSchema = ListSystemsResponseBody$inboundSchema;
42498
+ ListSystemsResponseBody$.outboundSchema = ListSystemsResponseBody$outboundSchema;
42499
+ })(ListSystemsResponseBody$ ||= {});
42500
+ ListSystemsResponse$inboundSchema = objectType({
42501
+ Result: lazyType(() => ListSystemsResponseBody$inboundSchema)
42502
+ }).transform((v2) => {
42503
+ return remap(v2, {
42504
+ Result: "result"
42505
+ });
42506
+ });
42507
+ ListSystemsResponse$outboundSchema = objectType({
42508
+ result: lazyType(() => ListSystemsResponseBody$outboundSchema)
42509
+ }).transform((v2) => {
42510
+ return remap(v2, {
42511
+ result: "Result"
42512
+ });
42513
+ });
42514
+ ((ListSystemsResponse$) => {
42515
+ ListSystemsResponse$.inboundSchema = ListSystemsResponse$inboundSchema;
42516
+ ListSystemsResponse$.outboundSchema = ListSystemsResponse$outboundSchema;
42517
+ })(ListSystemsResponse$ ||= {});
42518
+ });
42519
+
42520
+ // src/models/operations/listvendoradditionalfacilityfields.ts
42521
+ var ListVendorAdditionalFacilityFieldsRequest$inboundSchema, ListVendorAdditionalFacilityFieldsRequest$outboundSchema, ListVendorAdditionalFacilityFieldsRequest$, ListVendorAdditionalFacilityFieldsListVendorAdditionalFacilityFieldsOk$inboundSchema, ListVendorAdditionalFacilityFieldsListVendorAdditionalFacilityFieldsOk$outboundSchema, ListVendorAdditionalFacilityFieldsListVendorAdditionalFacilityFieldsOk$, ListVendorAdditionalFacilityFieldsResponse$inboundSchema, ListVendorAdditionalFacilityFieldsResponse$outboundSchema, ListVendorAdditionalFacilityFieldsResponse$;
42522
+ var init_listvendoradditionalfacilityfields = __esm(() => {
42523
+ init_esm();
42524
+ init_primitives();
42525
+ init_components();
42526
+ ListVendorAdditionalFacilityFieldsRequest$inboundSchema = objectType({
42527
+ sort: nullableType(stringType()).optional(),
42528
+ desc: Desc$inboundSchema.optional(),
42529
+ page: numberType().int().optional(),
42530
+ items_per_page: numberType().int().optional(),
42531
+ vendor_id_or_me: stringType()
42532
+ }).transform((v2) => {
42533
+ return remap(v2, {
42534
+ items_per_page: "itemsPerPage",
42535
+ vendor_id_or_me: "vendorIdOrMe"
42536
+ });
42537
+ });
42538
+ ListVendorAdditionalFacilityFieldsRequest$outboundSchema = objectType({
42539
+ sort: nullableType(stringType()).optional(),
42540
+ desc: Desc$outboundSchema.optional(),
42541
+ page: numberType().int().optional(),
42542
+ itemsPerPage: numberType().int().optional(),
42543
+ vendorIdOrMe: stringType()
42544
+ }).transform((v2) => {
42545
+ return remap(v2, {
42546
+ itemsPerPage: "items_per_page",
42547
+ vendorIdOrMe: "vendor_id_or_me"
42548
+ });
42549
+ });
42550
+ ((ListVendorAdditionalFacilityFieldsRequest$) => {
42551
+ ListVendorAdditionalFacilityFieldsRequest$.inboundSchema = ListVendorAdditionalFacilityFieldsRequest$inboundSchema;
42552
+ ListVendorAdditionalFacilityFieldsRequest$.outboundSchema = ListVendorAdditionalFacilityFieldsRequest$outboundSchema;
42553
+ })(ListVendorAdditionalFacilityFieldsRequest$ ||= {});
42554
+ ListVendorAdditionalFacilityFieldsListVendorAdditionalFacilityFieldsOk$inboundSchema = objectType({
42555
+ items: arrayType(VendorAdditionalFacilityFields$inboundSchema),
42556
+ pager: Pager$inboundSchema
42557
+ });
42558
+ ListVendorAdditionalFacilityFieldsListVendorAdditionalFacilityFieldsOk$outboundSchema = objectType({
42559
+ items: arrayType(VendorAdditionalFacilityFields$outboundSchema),
42560
+ pager: Pager$outboundSchema
42201
42561
  });
42202
42562
  ((ListVendorAdditionalFacilityFieldsListVendorAdditionalFacilityFieldsOk$) => {
42203
42563
  ListVendorAdditionalFacilityFieldsListVendorAdditionalFacilityFieldsOk$.inboundSchema = ListVendorAdditionalFacilityFieldsListVendorAdditionalFacilityFieldsOk$inboundSchema;
@@ -43016,6 +43376,68 @@ var init_listvendorscrubpurchases = __esm(() => {
43016
43376
  })(ListVendorScrubPurchasesResponse$ ||= {});
43017
43377
  });
43018
43378
 
43379
+ // src/models/operations/listvendortypes.ts
43380
+ var ListVendorTypesRequest$inboundSchema, ListVendorTypesRequest$outboundSchema, ListVendorTypesRequest$, ListVendorTypesResponseBody$inboundSchema, ListVendorTypesResponseBody$outboundSchema, ListVendorTypesResponseBody$, ListVendorTypesResponse$inboundSchema, ListVendorTypesResponse$outboundSchema, ListVendorTypesResponse$;
43381
+ var init_listvendortypes = __esm(() => {
43382
+ init_esm();
43383
+ init_primitives();
43384
+ init_components();
43385
+ ListVendorTypesRequest$inboundSchema = objectType({
43386
+ sort: nullableType(stringType()).optional(),
43387
+ desc: Desc$inboundSchema.optional(),
43388
+ page: numberType().int().optional(),
43389
+ items_per_page: numberType().int().optional()
43390
+ }).transform((v2) => {
43391
+ return remap(v2, {
43392
+ items_per_page: "itemsPerPage"
43393
+ });
43394
+ });
43395
+ ListVendorTypesRequest$outboundSchema = objectType({
43396
+ sort: nullableType(stringType()).optional(),
43397
+ desc: Desc$outboundSchema.optional(),
43398
+ page: numberType().int().optional(),
43399
+ itemsPerPage: numberType().int().optional()
43400
+ }).transform((v2) => {
43401
+ return remap(v2, {
43402
+ itemsPerPage: "items_per_page"
43403
+ });
43404
+ });
43405
+ ((ListVendorTypesRequest$) => {
43406
+ ListVendorTypesRequest$.inboundSchema = ListVendorTypesRequest$inboundSchema;
43407
+ ListVendorTypesRequest$.outboundSchema = ListVendorTypesRequest$outboundSchema;
43408
+ })(ListVendorTypesRequest$ ||= {});
43409
+ ListVendorTypesResponseBody$inboundSchema = objectType({
43410
+ pager: Pager$inboundSchema,
43411
+ items: arrayType(nullableType(VendorType$inboundSchema))
43412
+ });
43413
+ ListVendorTypesResponseBody$outboundSchema = objectType({
43414
+ pager: Pager$outboundSchema,
43415
+ items: arrayType(nullableType(VendorType$outboundSchema))
43416
+ });
43417
+ ((ListVendorTypesResponseBody$) => {
43418
+ ListVendorTypesResponseBody$.inboundSchema = ListVendorTypesResponseBody$inboundSchema;
43419
+ ListVendorTypesResponseBody$.outboundSchema = ListVendorTypesResponseBody$outboundSchema;
43420
+ })(ListVendorTypesResponseBody$ ||= {});
43421
+ ListVendorTypesResponse$inboundSchema = objectType({
43422
+ Result: lazyType(() => ListVendorTypesResponseBody$inboundSchema)
43423
+ }).transform((v2) => {
43424
+ return remap(v2, {
43425
+ Result: "result"
43426
+ });
43427
+ });
43428
+ ListVendorTypesResponse$outboundSchema = objectType({
43429
+ result: lazyType(() => ListVendorTypesResponseBody$outboundSchema)
43430
+ }).transform((v2) => {
43431
+ return remap(v2, {
43432
+ result: "Result"
43433
+ });
43434
+ });
43435
+ ((ListVendorTypesResponse$) => {
43436
+ ListVendorTypesResponse$.inboundSchema = ListVendorTypesResponse$inboundSchema;
43437
+ ListVendorTypesResponse$.outboundSchema = ListVendorTypesResponse$outboundSchema;
43438
+ })(ListVendorTypesResponse$ ||= {});
43439
+ });
43440
+
43019
43441
  // src/models/operations/magiclink.ts
43020
43442
  var MagiclinkRequestBody$inboundSchema, MagiclinkRequestBody$outboundSchema, MagiclinkRequestBody$, MagiclinkMagiclinkOk$inboundSchema, MagiclinkMagiclinkOk$outboundSchema, MagiclinkMagiclinkOk$;
43021
43443
  var init_magiclink = __esm(() => {
@@ -44603,6 +45025,7 @@ var init_operations = __esm(() => {
44603
45025
  init_expeditetimeremaining();
44604
45026
  init_getfacility();
44605
45027
  init_getsecurityzone();
45028
+ init_getsubscription();
44606
45029
  init_getsupportarticle();
44607
45030
  init_getuserbyid();
44608
45031
  init_getvendorcredentialdetails();
@@ -44617,6 +45040,7 @@ var init_operations = __esm(() => {
44617
45040
  init_listorsearchfacilities();
44618
45041
  init_listorsearchsecurityzones();
44619
45042
  init_listorsearchsupportarticles();
45043
+ init_listsystems();
44620
45044
  init_listvendoradditionalfacilityfields();
44621
45045
  init_listvendorcredentialdatarequests();
44622
45046
  init_listvendorcredentialfiles();
@@ -44630,6 +45054,7 @@ var init_operations = __esm(() => {
44630
45054
  init_listvendorscrubdetails();
44631
45055
  init_listvendorscrubpackages();
44632
45056
  init_listvendorscrubpurchases();
45057
+ init_listvendortypes();
44633
45058
  init_magiclink();
44634
45059
  init_makepayment();
44635
45060
  init_password();
@@ -46190,11 +46615,158 @@ List or search support articles for FAQ.`,
46190
46615
  };
46191
46616
  });
46192
46617
 
46193
- // src/funcs/usersChangePassword.ts
46194
- function usersChangePassword(client, request, options) {
46618
+ // src/funcs/systemsListSystems.ts
46619
+ function systemsListSystems(client, request, options) {
46195
46620
  return new APIPromise($do13(client, request, options));
46196
46621
  }
46197
46622
  async function $do13(client, request, options) {
46623
+ const parsed = safeParse(request, (value) => ListSystemsRequest$outboundSchema.parse(value), "Input validation failed");
46624
+ if (!parsed.ok) {
46625
+ return [haltIterator(parsed), { status: "invalid" }];
46626
+ }
46627
+ const payload = parsed.value;
46628
+ const body = null;
46629
+ const path = pathToFunc("/systems")();
46630
+ const query = queryJoin(encodeFormQuery({
46631
+ expand: payload.expand
46632
+ }, { explode: false }), encodeFormQuery({
46633
+ desc: payload.desc,
46634
+ items_per_page: payload.items_per_page,
46635
+ name_like: payload.name_like,
46636
+ page: payload.page,
46637
+ sort: payload.sort
46638
+ }));
46639
+ const headers = new Headers(compactMap({
46640
+ Accept: "application/json"
46641
+ }));
46642
+ const securityInput = await extractSecurity(client._options.security);
46643
+ const requestSecurity = resolveGlobalSecurity(securityInput);
46644
+ const context = {
46645
+ options: client._options,
46646
+ baseURL: options?.serverURL ?? client._baseURL ?? "",
46647
+ operationID: "listSystems",
46648
+ oAuth2Scopes: [],
46649
+ resolvedSecurity: requestSecurity,
46650
+ securitySource: client._options.security,
46651
+ retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
46652
+ retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
46653
+ };
46654
+ const requestRes = client._createRequest(context, {
46655
+ security: requestSecurity,
46656
+ method: "GET",
46657
+ baseURL: options?.serverURL,
46658
+ path,
46659
+ headers,
46660
+ query,
46661
+ body,
46662
+ userAgent: client._options.userAgent,
46663
+ timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
46664
+ }, options);
46665
+ if (!requestRes.ok) {
46666
+ return [haltIterator(requestRes), { status: "invalid" }];
46667
+ }
46668
+ const req = requestRes.value;
46669
+ const doResult = await client._do(req, {
46670
+ context,
46671
+ errorCodes: ["403", "4XX", "500", "5XX"],
46672
+ retryConfig: context.retryConfig,
46673
+ retryCodes: context.retryCodes
46674
+ });
46675
+ if (!doResult.ok) {
46676
+ return [haltIterator(doResult), { status: "request-error", request: req }];
46677
+ }
46678
+ const response = doResult.value;
46679
+ const responseFields = {
46680
+ HttpMeta: { Response: response, Request: req }
46681
+ };
46682
+ const [result, raw] = await match(json(200, ListSystemsResponse$inboundSchema, {
46683
+ key: "Result"
46684
+ }), jsonErr(403, ApiErrorResponse$inboundSchema), jsonErr(500, ApiErrorResponse$inboundSchema), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
46685
+ if (!result.ok) {
46686
+ return [haltIterator(result), {
46687
+ status: "complete",
46688
+ request: req,
46689
+ response
46690
+ }];
46691
+ }
46692
+ const nextFunc = (responseData) => {
46693
+ const page2 = request?.page ?? 1;
46694
+ const nextPage = page2 + 1;
46695
+ if (!responseData) {
46696
+ return { next: () => null };
46697
+ }
46698
+ const results = dlv(responseData, "items");
46699
+ if (!Array.isArray(results) || !results.length) {
46700
+ return { next: () => null };
46701
+ }
46702
+ const limit = request?.itemsPerPage ?? 0;
46703
+ if (results.length < limit) {
46704
+ return { next: () => null };
46705
+ }
46706
+ const nextVal = () => systemsListSystems(client, {
46707
+ ...request,
46708
+ page: nextPage
46709
+ }, options);
46710
+ return { next: nextVal, "~next": { page: nextPage } };
46711
+ };
46712
+ const page = { ...result, ...nextFunc(raw) };
46713
+ return [{ ...page, ...createPageIterator(page, (v2) => !v2.ok) }, {
46714
+ status: "complete",
46715
+ request: req,
46716
+ response
46717
+ }];
46718
+ }
46719
+ var init_systemsListSystems = __esm(() => {
46720
+ init_encodings();
46721
+ init_matchers();
46722
+ init_primitives();
46723
+ init_schemas();
46724
+ init_security();
46725
+ init_url();
46726
+ init_errors2();
46727
+ init_operations();
46728
+ init_async();
46729
+ init_operations2();
46730
+ });
46731
+
46732
+ // src/mcp-server/tools/systemsListSystems.ts
46733
+ var args13, tool$systemsListSystems;
46734
+ var init_systemsListSystems2 = __esm(() => {
46735
+ init_systemsListSystems();
46736
+ init_operations();
46737
+ init_tools();
46738
+ args13 = {
46739
+ request: ListSystemsRequest$inboundSchema
46740
+ };
46741
+ tool$systemsListSystems = {
46742
+ name: "systems-list-systems",
46743
+ description: `List systems
46744
+
46745
+ List or search systems.
46746
+
46747
+ Available \`expand\` scopes are:
46748
+
46749
+ - system.facilities`,
46750
+ args: args13,
46751
+ tool: async (client, args14, ctx) => {
46752
+ const [result, apiCall] = await systemsListSystems(client, args14.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
46753
+ if (!result.ok) {
46754
+ return {
46755
+ content: [{ type: "text", text: result.error.message }],
46756
+ isError: true
46757
+ };
46758
+ }
46759
+ const value = result.value.result;
46760
+ return formatResult(value, apiCall);
46761
+ }
46762
+ };
46763
+ });
46764
+
46765
+ // src/funcs/usersChangePassword.ts
46766
+ function usersChangePassword(client, request, options) {
46767
+ return new APIPromise($do14(client, request, options));
46768
+ }
46769
+ async function $do14(client, request, options) {
46198
46770
  const parsed = safeParse(request, (value) => ChangePasswordRequest$outboundSchema.parse(value), "Input validation failed");
46199
46771
  if (!parsed.ok) {
46200
46772
  return [parsed, { status: "invalid" }];
@@ -46270,12 +46842,12 @@ var init_usersChangePassword = __esm(() => {
46270
46842
  });
46271
46843
 
46272
46844
  // src/mcp-server/tools/usersChangePassword.ts
46273
- var args13, tool$usersChangePassword;
46845
+ var args14, tool$usersChangePassword;
46274
46846
  var init_usersChangePassword2 = __esm(() => {
46275
46847
  init_usersChangePassword();
46276
46848
  init_operations();
46277
46849
  init_tools();
46278
- args13 = {
46850
+ args14 = {
46279
46851
  request: ChangePasswordRequest$inboundSchema
46280
46852
  };
46281
46853
  tool$usersChangePassword = {
@@ -46283,9 +46855,9 @@ var init_usersChangePassword2 = __esm(() => {
46283
46855
  description: `Change password
46284
46856
 
46285
46857
  Change the user's password to the new passed as parameter`,
46286
- args: args13,
46287
- tool: async (client, args14, ctx) => {
46288
- const [result, apiCall] = await usersChangePassword(client, args14.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
46858
+ args: args14,
46859
+ tool: async (client, args15, ctx) => {
46860
+ const [result, apiCall] = await usersChangePassword(client, args15.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
46289
46861
  if (!result.ok) {
46290
46862
  return {
46291
46863
  content: [{ type: "text", text: result.error.message }],
@@ -46300,9 +46872,9 @@ Change the user's password to the new passed as parameter`,
46300
46872
 
46301
46873
  // src/funcs/usersGetCurrentUser.ts
46302
46874
  function usersGetCurrentUser(client, options) {
46303
- return new APIPromise($do14(client, options));
46875
+ return new APIPromise($do15(client, options));
46304
46876
  }
46305
- async function $do14(client, options) {
46877
+ async function $do15(client, options) {
46306
46878
  const path = pathToFunc("/users/me")();
46307
46879
  const headers = new Headers(compactMap({
46308
46880
  Accept: "application/json"
@@ -46387,9 +46959,9 @@ Returns a user object for the user represented by the authorization token`,
46387
46959
 
46388
46960
  // src/funcs/usersGetUserById.ts
46389
46961
  function usersGetUserById(client, request, options) {
46390
- return new APIPromise($do15(client, request, options));
46962
+ return new APIPromise($do16(client, request, options));
46391
46963
  }
46392
- async function $do15(client, request, options) {
46964
+ async function $do16(client, request, options) {
46393
46965
  const parsed = safeParse(request, (value) => GetUserByIdRequest$outboundSchema.parse(value), "Input validation failed");
46394
46966
  if (!parsed.ok) {
46395
46967
  return [parsed, { status: "invalid" }];
@@ -46465,12 +47037,12 @@ var init_usersGetUserById = __esm(() => {
46465
47037
  });
46466
47038
 
46467
47039
  // src/mcp-server/tools/usersGetUserById.ts
46468
- var args14, tool$usersGetUserById;
47040
+ var args15, tool$usersGetUserById;
46469
47041
  var init_usersGetUserById2 = __esm(() => {
46470
47042
  init_usersGetUserById();
46471
47043
  init_operations();
46472
47044
  init_tools();
46473
- args14 = {
47045
+ args15 = {
46474
47046
  request: GetUserByIdRequest$inboundSchema
46475
47047
  };
46476
47048
  tool$usersGetUserById = {
@@ -46478,9 +47050,9 @@ var init_usersGetUserById2 = __esm(() => {
46478
47050
  description: `Get user by id
46479
47051
 
46480
47052
  Returns a user object for the user represented by the identifier in the path.`,
46481
- args: args14,
46482
- tool: async (client, args15, ctx) => {
46483
- const [result, apiCall] = await usersGetUserById(client, args15.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47053
+ args: args15,
47054
+ tool: async (client, args16, ctx) => {
47055
+ const [result, apiCall] = await usersGetUserById(client, args16.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
46484
47056
  if (!result.ok) {
46485
47057
  return {
46486
47058
  content: [{ type: "text", text: result.error.message }],
@@ -46495,9 +47067,9 @@ Returns a user object for the user represented by the identifier in the path.`,
46495
47067
 
46496
47068
  // src/funcs/usersMagiclink.ts
46497
47069
  function usersMagiclink(client, request, options) {
46498
- return new APIPromise($do16(client, request, options));
47070
+ return new APIPromise($do17(client, request, options));
46499
47071
  }
46500
- async function $do16(client, request, options) {
47072
+ async function $do17(client, request, options) {
46501
47073
  const parsed = safeParse(request, (value) => MagiclinkRequestBody$outboundSchema.parse(value), "Input validation failed");
46502
47074
  if (!parsed.ok) {
46503
47075
  return [parsed, { status: "invalid" }];
@@ -46567,12 +47139,12 @@ var init_usersMagiclink = __esm(() => {
46567
47139
  });
46568
47140
 
46569
47141
  // src/mcp-server/tools/usersMagiclink.ts
46570
- var args15, tool$usersMagiclink;
47142
+ var args16, tool$usersMagiclink;
46571
47143
  var init_usersMagiclink2 = __esm(() => {
46572
47144
  init_usersMagiclink();
46573
47145
  init_operations();
46574
47146
  init_tools();
46575
- args15 = {
47147
+ args16 = {
46576
47148
  request: MagiclinkRequestBody$inboundSchema
46577
47149
  };
46578
47150
  tool$usersMagiclink = {
@@ -46580,9 +47152,9 @@ var init_usersMagiclink2 = __esm(() => {
46580
47152
  description: `Magic link
46581
47153
 
46582
47154
  It sends an email with a magic link to allow the user to log in.`,
46583
- args: args15,
46584
- tool: async (client, args16, ctx) => {
46585
- const [result, apiCall] = await usersMagiclink(client, args16.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47155
+ args: args16,
47156
+ tool: async (client, args17, ctx) => {
47157
+ const [result, apiCall] = await usersMagiclink(client, args17.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
46586
47158
  if (!result.ok) {
46587
47159
  return {
46588
47160
  content: [{ type: "text", text: result.error.message }],
@@ -46597,9 +47169,9 @@ It sends an email with a magic link to allow the user to log in.`,
46597
47169
 
46598
47170
  // src/funcs/usersPassword.ts
46599
47171
  function usersPassword(client, request, options) {
46600
- return new APIPromise($do17(client, request, options));
47172
+ return new APIPromise($do18(client, request, options));
46601
47173
  }
46602
- async function $do17(client, request, options) {
47174
+ async function $do18(client, request, options) {
46603
47175
  const parsed = safeParse(request, (value) => PasswordRequestBody$outboundSchema.parse(value), "Input validation failed");
46604
47176
  if (!parsed.ok) {
46605
47177
  return [parsed, { status: "invalid" }];
@@ -46669,12 +47241,12 @@ var init_usersPassword = __esm(() => {
46669
47241
  });
46670
47242
 
46671
47243
  // src/mcp-server/tools/usersPassword.ts
46672
- var args16, tool$usersPassword;
47244
+ var args17, tool$usersPassword;
46673
47245
  var init_usersPassword2 = __esm(() => {
46674
47246
  init_usersPassword();
46675
47247
  init_operations();
46676
47248
  init_tools();
46677
- args16 = {
47249
+ args17 = {
46678
47250
  request: PasswordRequestBody$inboundSchema
46679
47251
  };
46680
47252
  tool$usersPassword = {
@@ -46683,9 +47255,9 @@ var init_usersPassword2 = __esm(() => {
46683
47255
 
46684
47256
  Resets the a user's password using a password_reset_id that was sent to them via email.
46685
47257
  See /users/passwordresetrequest to initiate a password reset flow.`,
46686
- args: args16,
46687
- tool: async (client, args17, ctx) => {
46688
- const [result, apiCall] = await usersPassword(client, args17.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47258
+ args: args17,
47259
+ tool: async (client, args18, ctx) => {
47260
+ const [result, apiCall] = await usersPassword(client, args18.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
46689
47261
  if (!result.ok) {
46690
47262
  return {
46691
47263
  content: [{ type: "text", text: result.error.message }],
@@ -46700,9 +47272,9 @@ See /users/passwordresetrequest to initiate a password reset flow.`,
46700
47272
 
46701
47273
  // src/funcs/usersPasswordResetRequest.ts
46702
47274
  function usersPasswordResetRequest(client, request, options) {
46703
- return new APIPromise($do18(client, request, options));
47275
+ return new APIPromise($do19(client, request, options));
46704
47276
  }
46705
- async function $do18(client, request, options) {
47277
+ async function $do19(client, request, options) {
46706
47278
  const parsed = safeParse(request, (value) => PasswordResetRequestRequestBody$outboundSchema.parse(value), "Input validation failed");
46707
47279
  if (!parsed.ok) {
46708
47280
  return [parsed, { status: "invalid" }];
@@ -46772,12 +47344,12 @@ var init_usersPasswordResetRequest = __esm(() => {
46772
47344
  });
46773
47345
 
46774
47346
  // src/mcp-server/tools/usersPasswordResetRequest.ts
46775
- var args17, tool$usersPasswordResetRequest;
47347
+ var args18, tool$usersPasswordResetRequest;
46776
47348
  var init_usersPasswordResetRequest2 = __esm(() => {
46777
47349
  init_usersPasswordResetRequest();
46778
47350
  init_operations();
46779
47351
  init_tools();
46780
- args17 = {
47352
+ args18 = {
46781
47353
  request: PasswordResetRequestRequestBody$inboundSchema
46782
47354
  };
46783
47355
  tool$usersPasswordResetRequest = {
@@ -46785,9 +47357,9 @@ var init_usersPasswordResetRequest2 = __esm(() => {
46785
47357
  description: `Password reset request
46786
47358
 
46787
47359
  It sends an email with a link for resetting a user's password.`,
46788
- args: args17,
46789
- tool: async (client, args18, ctx) => {
46790
- const [result, apiCall] = await usersPasswordResetRequest(client, args18.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47360
+ args: args18,
47361
+ tool: async (client, args19, ctx) => {
47362
+ const [result, apiCall] = await usersPasswordResetRequest(client, args19.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
46791
47363
  if (!result.ok) {
46792
47364
  return {
46793
47365
  content: [{ type: "text", text: result.error.message }],
@@ -46802,9 +47374,9 @@ It sends an email with a link for resetting a user's password.`,
46802
47374
 
46803
47375
  // src/funcs/usersPostAuthenticate.ts
46804
47376
  function usersPostAuthenticate(client, request, options) {
46805
- return new APIPromise($do19(client, request, options));
47377
+ return new APIPromise($do20(client, request, options));
46806
47378
  }
46807
- async function $do19(client, request, options) {
47379
+ async function $do20(client, request, options) {
46808
47380
  const parsed = safeParse(request, (value) => PostAuthenticateRequestBody$outboundSchema.parse(value), "Input validation failed");
46809
47381
  if (!parsed.ok) {
46810
47382
  return [parsed, { status: "invalid" }];
@@ -46870,12 +47442,12 @@ var init_usersPostAuthenticate = __esm(() => {
46870
47442
  });
46871
47443
 
46872
47444
  // src/mcp-server/tools/usersPostAuthenticate.ts
46873
- var args18, tool$usersPostAuthenticate;
47445
+ var args19, tool$usersPostAuthenticate;
46874
47446
  var init_usersPostAuthenticate2 = __esm(() => {
46875
47447
  init_usersPostAuthenticate();
46876
47448
  init_operations();
46877
47449
  init_tools();
46878
- args18 = {
47450
+ args19 = {
46879
47451
  request: PostAuthenticateRequestBody$inboundSchema
46880
47452
  };
46881
47453
  tool$usersPostAuthenticate = {
@@ -46913,9 +47485,9 @@ Requires: \`saml_login\`
46913
47485
  3. Site redirects to your selected \`return_url\`
46914
47486
  4. The \`user_token\` will be appended as a query string parameter to your \`return_url\` - you must parse this token and store it
46915
47487
  5. Fetch the user object from \`/users/me\` using the token`,
46916
- args: args18,
46917
- tool: async (client, args19, ctx) => {
46918
- const [result, apiCall] = await usersPostAuthenticate(client, args19.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47488
+ args: args19,
47489
+ tool: async (client, args20, ctx) => {
47490
+ const [result, apiCall] = await usersPostAuthenticate(client, args20.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
46919
47491
  if (!result.ok) {
46920
47492
  return {
46921
47493
  content: [{ type: "text", text: result.error.message }],
@@ -46930,9 +47502,9 @@ Requires: \`saml_login\`
46930
47502
 
46931
47503
  // src/funcs/usersRotateApiKey.ts
46932
47504
  function usersRotateApiKey(client, options) {
46933
- return new APIPromise($do20(client, options));
47505
+ return new APIPromise($do21(client, options));
46934
47506
  }
46935
- async function $do20(client, options) {
47507
+ async function $do21(client, options) {
46936
47508
  const path = pathToFunc("/users/api_key_rotator")();
46937
47509
  const headers = new Headers(compactMap({
46938
47510
  Accept: "application/json"
@@ -47017,9 +47589,9 @@ Allows an API user to rotate their own API key. Note, the key rotation happens i
47017
47589
 
47018
47590
  // src/funcs/vendorsAcceptVendorCredential.ts
47019
47591
  function vendorsAcceptVendorCredential(client, request, options) {
47020
- return new APIPromise($do21(client, request, options));
47592
+ return new APIPromise($do22(client, request, options));
47021
47593
  }
47022
- async function $do21(client, request, options) {
47594
+ async function $do22(client, request, options) {
47023
47595
  const parsed = safeParse(request, (value) => AcceptVendorCredentialRequest$outboundSchema.parse(value), "Input validation failed");
47024
47596
  if (!parsed.ok) {
47025
47597
  return [parsed, { status: "invalid" }];
@@ -47092,12 +47664,12 @@ var init_vendorsAcceptVendorCredential = __esm(() => {
47092
47664
  });
47093
47665
 
47094
47666
  // src/mcp-server/tools/vendorsAcceptVendorCredential.ts
47095
- var args19, tool$vendorsAcceptVendorCredential;
47667
+ var args20, tool$vendorsAcceptVendorCredential;
47096
47668
  var init_vendorsAcceptVendorCredential2 = __esm(() => {
47097
47669
  init_vendorsAcceptVendorCredential();
47098
47670
  init_operations();
47099
47671
  init_tools();
47100
- args19 = {
47672
+ args20 = {
47101
47673
  request: AcceptVendorCredentialRequest$inboundSchema
47102
47674
  };
47103
47675
  tool$vendorsAcceptVendorCredential = {
@@ -47105,9 +47677,9 @@ var init_vendorsAcceptVendorCredential2 = __esm(() => {
47105
47677
  description: `Accept vendor credential
47106
47678
 
47107
47679
  It will accept vendor credential`,
47108
- args: args19,
47109
- tool: async (client, args20, ctx) => {
47110
- const [result, apiCall] = await vendorsAcceptVendorCredential(client, args20.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47680
+ args: args20,
47681
+ tool: async (client, args21, ctx) => {
47682
+ const [result, apiCall] = await vendorsAcceptVendorCredential(client, args21.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47111
47683
  if (!result.ok) {
47112
47684
  return {
47113
47685
  content: [{ type: "text", text: result.error.message }],
@@ -47122,9 +47694,9 @@ It will accept vendor credential`,
47122
47694
 
47123
47695
  // src/funcs/vendorsAddVendorCredentialFile.ts
47124
47696
  function vendorsAddVendorCredentialFile(client, request, options) {
47125
- return new APIPromise($do22(client, request, options));
47697
+ return new APIPromise($do23(client, request, options));
47126
47698
  }
47127
- async function $do22(client, request, options) {
47699
+ async function $do23(client, request, options) {
47128
47700
  const parsed = safeParse(request, (value) => AddVendorCredentialFileRequest$outboundSchema.parse(value), "Input validation failed");
47129
47701
  if (!parsed.ok) {
47130
47702
  return [parsed, { status: "invalid" }];
@@ -47197,12 +47769,12 @@ var init_vendorsAddVendorCredentialFile = __esm(() => {
47197
47769
  });
47198
47770
 
47199
47771
  // src/mcp-server/tools/vendorsAddVendorCredentialFile.ts
47200
- var args20, tool$vendorsAddVendorCredentialFile;
47772
+ var args21, tool$vendorsAddVendorCredentialFile;
47201
47773
  var init_vendorsAddVendorCredentialFile2 = __esm(() => {
47202
47774
  init_vendorsAddVendorCredentialFile();
47203
47775
  init_operations();
47204
47776
  init_tools();
47205
- args20 = {
47777
+ args21 = {
47206
47778
  request: AddVendorCredentialFileRequest$inboundSchema
47207
47779
  };
47208
47780
  tool$vendorsAddVendorCredentialFile = {
@@ -47210,9 +47782,9 @@ var init_vendorsAddVendorCredentialFile2 = __esm(() => {
47210
47782
  description: `Add vendor credential file
47211
47783
 
47212
47784
  It will add a new vendor credential file`,
47213
- args: args20,
47214
- tool: async (client, args21, ctx) => {
47215
- const [result, apiCall] = await vendorsAddVendorCredentialFile(client, args21.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47785
+ args: args21,
47786
+ tool: async (client, args22, ctx) => {
47787
+ const [result, apiCall] = await vendorsAddVendorCredentialFile(client, args22.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47216
47788
  if (!result.ok) {
47217
47789
  return {
47218
47790
  content: [{ type: "text", text: result.error.message }],
@@ -47227,9 +47799,9 @@ It will add a new vendor credential file`,
47227
47799
 
47228
47800
  // src/funcs/vendorsAddVendorManagedByCompany.ts
47229
47801
  function vendorsAddVendorManagedByCompany(client, request, options) {
47230
- return new APIPromise($do23(client, request, options));
47802
+ return new APIPromise($do24(client, request, options));
47231
47803
  }
47232
- async function $do23(client, request, options) {
47804
+ async function $do24(client, request, options) {
47233
47805
  const parsed = safeParse(request, (value) => AddVendorManagedByCompanyRequest$outboundSchema.parse(value), "Input validation failed");
47234
47806
  if (!parsed.ok) {
47235
47807
  return [parsed, { status: "invalid" }];
@@ -47305,12 +47877,12 @@ var init_vendorsAddVendorManagedByCompany = __esm(() => {
47305
47877
  });
47306
47878
 
47307
47879
  // src/mcp-server/tools/vendorsAddVendorManagedByCompany.ts
47308
- var args21, tool$vendorsAddVendorManagedByCompany;
47880
+ var args22, tool$vendorsAddVendorManagedByCompany;
47309
47881
  var init_vendorsAddVendorManagedByCompany2 = __esm(() => {
47310
47882
  init_vendorsAddVendorManagedByCompany();
47311
47883
  init_operations();
47312
47884
  init_tools();
47313
- args21 = {
47885
+ args22 = {
47314
47886
  request: AddVendorManagedByCompanyRequest$inboundSchema
47315
47887
  };
47316
47888
  tool$vendorsAddVendorManagedByCompany = {
@@ -47318,9 +47890,9 @@ var init_vendorsAddVendorManagedByCompany2 = __esm(() => {
47318
47890
  description: `Add vendor managed by company
47319
47891
 
47320
47892
  It will add a vendor managed by company`,
47321
- args: args21,
47322
- tool: async (client, args22, ctx) => {
47323
- const [result, apiCall] = await vendorsAddVendorManagedByCompany(client, args22.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47893
+ args: args22,
47894
+ tool: async (client, args23, ctx) => {
47895
+ const [result, apiCall] = await vendorsAddVendorManagedByCompany(client, args23.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47324
47896
  if (!result.ok) {
47325
47897
  return {
47326
47898
  content: [{ type: "text", text: result.error.message }],
@@ -47335,9 +47907,9 @@ It will add a vendor managed by company`,
47335
47907
 
47336
47908
  // src/funcs/vendorsCalculateSubscriptionPrice.ts
47337
47909
  function vendorsCalculateSubscriptionPrice(client, request, options) {
47338
- return new APIPromise($do24(client, request, options));
47910
+ return new APIPromise($do25(client, request, options));
47339
47911
  }
47340
- async function $do24(client, request, options) {
47912
+ async function $do25(client, request, options) {
47341
47913
  const parsed = safeParse(request, (value) => CalculateSubscriptionPriceRequest$outboundSchema.parse(value), "Input validation failed");
47342
47914
  if (!parsed.ok) {
47343
47915
  return [parsed, { status: "invalid" }];
@@ -47413,12 +47985,12 @@ var init_vendorsCalculateSubscriptionPrice = __esm(() => {
47413
47985
  });
47414
47986
 
47415
47987
  // src/mcp-server/tools/vendorsCalculateSubscriptionPrice.ts
47416
- var args22, tool$vendorsCalculateSubscriptionPrice;
47988
+ var args23, tool$vendorsCalculateSubscriptionPrice;
47417
47989
  var init_vendorsCalculateSubscriptionPrice2 = __esm(() => {
47418
47990
  init_vendorsCalculateSubscriptionPrice();
47419
47991
  init_operations();
47420
47992
  init_tools();
47421
- args22 = {
47993
+ args23 = {
47422
47994
  request: CalculateSubscriptionPriceRequest$inboundSchema
47423
47995
  };
47424
47996
  tool$vendorsCalculateSubscriptionPrice = {
@@ -47426,9 +47998,9 @@ var init_vendorsCalculateSubscriptionPrice2 = __esm(() => {
47426
47998
  description: `Calculate subscription price
47427
47999
 
47428
48000
  Calculate subscription price`,
47429
- args: args22,
47430
- tool: async (client, args23, ctx) => {
47431
- const [result, apiCall] = await vendorsCalculateSubscriptionPrice(client, args23.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48001
+ args: args23,
48002
+ tool: async (client, args24, ctx) => {
48003
+ const [result, apiCall] = await vendorsCalculateSubscriptionPrice(client, args24.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47432
48004
  if (!result.ok) {
47433
48005
  return {
47434
48006
  content: [{ type: "text", text: result.error.message }],
@@ -47443,9 +48015,9 @@ Calculate subscription price`,
47443
48015
 
47444
48016
  // src/funcs/vendorScansVendorScanOut.ts
47445
48017
  function vendorScansVendorScanOut(client, request, options) {
47446
- return new APIPromise($do25(client, request, options));
48018
+ return new APIPromise($do26(client, request, options));
47447
48019
  }
47448
- async function $do25(client, request, options) {
48020
+ async function $do26(client, request, options) {
47449
48021
  const parsed = safeParse(request, (value) => VendorScanOutRequest$outboundSchema.parse(value), "Input validation failed");
47450
48022
  if (!parsed.ok) {
47451
48023
  return [parsed, { status: "invalid" }];
@@ -47520,12 +48092,12 @@ var init_vendorScansVendorScanOut = __esm(() => {
47520
48092
  });
47521
48093
 
47522
48094
  // src/mcp-server/tools/vendorScansVendorScanOut.ts
47523
- var args23, tool$vendorScansVendorScanOut;
48095
+ var args24, tool$vendorScansVendorScanOut;
47524
48096
  var init_vendorScansVendorScanOut2 = __esm(() => {
47525
48097
  init_vendorScansVendorScanOut();
47526
48098
  init_operations();
47527
48099
  init_tools();
47528
- args23 = {
48100
+ args24 = {
47529
48101
  request: VendorScanOutRequest$inboundSchema
47530
48102
  };
47531
48103
  tool$vendorScansVendorScanOut = {
@@ -47533,9 +48105,9 @@ var init_vendorScansVendorScanOut2 = __esm(() => {
47533
48105
  description: `Vendor scan out
47534
48106
 
47535
48107
  It scans out vendor from facility`,
47536
- args: args23,
47537
- tool: async (client, args24, ctx) => {
47538
- const [result, apiCall] = await vendorScansVendorScanOut(client, args24.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48108
+ args: args24,
48109
+ tool: async (client, args25, ctx) => {
48110
+ const [result, apiCall] = await vendorScansVendorScanOut(client, args25.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47539
48111
  if (!result.ok) {
47540
48112
  return {
47541
48113
  content: [{ type: "text", text: result.error.message }],
@@ -47550,9 +48122,9 @@ It scans out vendor from facility`,
47550
48122
 
47551
48123
  // src/funcs/vendorsChangeSubscription.ts
47552
48124
  function vendorsChangeSubscription(client, request, options) {
47553
- return new APIPromise($do26(client, request, options));
48125
+ return new APIPromise($do27(client, request, options));
47554
48126
  }
47555
- async function $do26(client, request, options) {
48127
+ async function $do27(client, request, options) {
47556
48128
  const parsed = safeParse(request, (value) => ChangeSubscriptionRequest$outboundSchema.parse(value), "Input validation failed");
47557
48129
  if (!parsed.ok) {
47558
48130
  return [parsed, { status: "invalid" }];
@@ -47628,12 +48200,12 @@ var init_vendorsChangeSubscription = __esm(() => {
47628
48200
  });
47629
48201
 
47630
48202
  // src/mcp-server/tools/vendorsChangeSubscription.ts
47631
- var args24, tool$vendorsChangeSubscription;
48203
+ var args25, tool$vendorsChangeSubscription;
47632
48204
  var init_vendorsChangeSubscription2 = __esm(() => {
47633
48205
  init_vendorsChangeSubscription();
47634
48206
  init_operations();
47635
48207
  init_tools();
47636
- args24 = {
48208
+ args25 = {
47637
48209
  request: ChangeSubscriptionRequest$inboundSchema
47638
48210
  };
47639
48211
  tool$vendorsChangeSubscription = {
@@ -47641,9 +48213,9 @@ var init_vendorsChangeSubscription2 = __esm(() => {
47641
48213
  description: `Change subscription
47642
48214
 
47643
48215
  Calculate subscription price`,
47644
- args: args24,
47645
- tool: async (client, args25, ctx) => {
47646
- const [result, apiCall] = await vendorsChangeSubscription(client, args25.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48216
+ args: args25,
48217
+ tool: async (client, args26, ctx) => {
48218
+ const [result, apiCall] = await vendorsChangeSubscription(client, args26.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47647
48219
  if (!result.ok) {
47648
48220
  return {
47649
48221
  content: [{ type: "text", text: result.error.message }],
@@ -47658,9 +48230,9 @@ Calculate subscription price`,
47658
48230
 
47659
48231
  // src/funcs/vendorsCheckDownloadCode.ts
47660
48232
  function vendorsCheckDownloadCode(client, request, options) {
47661
- return new APIPromise($do27(client, request, options));
48233
+ return new APIPromise($do28(client, request, options));
47662
48234
  }
47663
- async function $do27(client, request, options) {
48235
+ async function $do28(client, request, options) {
47664
48236
  const parsed = safeParse(request, (value) => CheckDownloadCodeRequest$outboundSchema.parse(value), "Input validation failed");
47665
48237
  if (!parsed.ok) {
47666
48238
  return [parsed, { status: "invalid" }];
@@ -47736,12 +48308,12 @@ var init_vendorsCheckDownloadCode = __esm(() => {
47736
48308
  });
47737
48309
 
47738
48310
  // src/mcp-server/tools/vendorsCheckDownloadCode.ts
47739
- var args25, tool$vendorsCheckDownloadCode;
48311
+ var args26, tool$vendorsCheckDownloadCode;
47740
48312
  var init_vendorsCheckDownloadCode2 = __esm(() => {
47741
48313
  init_vendorsCheckDownloadCode();
47742
48314
  init_operations();
47743
48315
  init_tools();
47744
- args25 = {
48316
+ args26 = {
47745
48317
  request: CheckDownloadCodeRequest$inboundSchema
47746
48318
  };
47747
48319
  tool$vendorsCheckDownloadCode = {
@@ -47749,9 +48321,9 @@ var init_vendorsCheckDownloadCode2 = __esm(() => {
47749
48321
  description: `Check download code for vendor credential
47750
48322
 
47751
48323
  It will check download code for vendor credential`,
47752
- args: args25,
47753
- tool: async (client, args26, ctx) => {
47754
- const [result, apiCall] = await vendorsCheckDownloadCode(client, args26.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48324
+ args: args26,
48325
+ tool: async (client, args27, ctx) => {
48326
+ const [result, apiCall] = await vendorsCheckDownloadCode(client, args27.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47755
48327
  if (!result.ok) {
47756
48328
  return {
47757
48329
  content: [{ type: "text", text: result.error.message }],
@@ -47766,9 +48338,9 @@ It will check download code for vendor credential`,
47766
48338
 
47767
48339
  // src/funcs/vendorsCreateNewVendorCredentialVersion.ts
47768
48340
  function vendorsCreateNewVendorCredentialVersion(client, request, options) {
47769
- return new APIPromise($do28(client, request, options));
48341
+ return new APIPromise($do29(client, request, options));
47770
48342
  }
47771
- async function $do28(client, request, options) {
48343
+ async function $do29(client, request, options) {
47772
48344
  const parsed = safeParse(request, (value) => CreateNewVendorCredentialVersionRequestBody$outboundSchema.parse(value), "Input validation failed");
47773
48345
  if (!parsed.ok) {
47774
48346
  return [parsed, { status: "invalid" }];
@@ -47838,12 +48410,12 @@ var init_vendorsCreateNewVendorCredentialVersion = __esm(() => {
47838
48410
  });
47839
48411
 
47840
48412
  // src/mcp-server/tools/vendorsCreateNewVendorCredentialVersion.ts
47841
- var args26, tool$vendorsCreateNewVendorCredentialVersion;
48413
+ var args27, tool$vendorsCreateNewVendorCredentialVersion;
47842
48414
  var init_vendorsCreateNewVendorCredentialVersion2 = __esm(() => {
47843
48415
  init_vendorsCreateNewVendorCredentialVersion();
47844
48416
  init_operations();
47845
48417
  init_tools();
47846
- args26 = {
48418
+ args27 = {
47847
48419
  request: CreateNewVendorCredentialVersionRequestBody$inboundSchema
47848
48420
  };
47849
48421
  tool$vendorsCreateNewVendorCredentialVersion = {
@@ -47851,9 +48423,9 @@ var init_vendorsCreateNewVendorCredentialVersion2 = __esm(() => {
47851
48423
  description: `Create new vendor credential version
47852
48424
 
47853
48425
  It will submit vendor credential`,
47854
- args: args26,
47855
- tool: async (client, args27, ctx) => {
47856
- const [result, apiCall] = await vendorsCreateNewVendorCredentialVersion(client, args27.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48426
+ args: args27,
48427
+ tool: async (client, args28, ctx) => {
48428
+ const [result, apiCall] = await vendorsCreateNewVendorCredentialVersion(client, args28.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47857
48429
  if (!result.ok) {
47858
48430
  return {
47859
48431
  content: [{ type: "text", text: result.error.message }],
@@ -47868,9 +48440,9 @@ It will submit vendor credential`,
47868
48440
 
47869
48441
  // src/funcs/vendorsCreateOrUpdateBcr.ts
47870
48442
  function vendorsCreateOrUpdateBcr(client, request, options) {
47871
- return new APIPromise($do29(client, request, options));
48443
+ return new APIPromise($do30(client, request, options));
47872
48444
  }
47873
- async function $do29(client, request, options) {
48445
+ async function $do30(client, request, options) {
47874
48446
  const parsed = safeParse(request, (value) => CreateOrUpdateBcrRequest$outboundSchema.parse(value), "Input validation failed");
47875
48447
  if (!parsed.ok) {
47876
48448
  return [parsed, { status: "invalid" }];
@@ -47944,12 +48516,12 @@ var init_vendorsCreateOrUpdateBcr = __esm(() => {
47944
48516
  });
47945
48517
 
47946
48518
  // src/mcp-server/tools/vendorsCreateOrUpdateBcr.ts
47947
- var args27, tool$vendorsCreateOrUpdateBcr;
48519
+ var args28, tool$vendorsCreateOrUpdateBcr;
47948
48520
  var init_vendorsCreateOrUpdateBcr2 = __esm(() => {
47949
48521
  init_vendorsCreateOrUpdateBcr();
47950
48522
  init_operations();
47951
48523
  init_tools();
47952
- args27 = {
48524
+ args28 = {
47953
48525
  request: CreateOrUpdateBcrRequest$inboundSchema
47954
48526
  };
47955
48527
  tool$vendorsCreateOrUpdateBcr = {
@@ -47957,9 +48529,9 @@ var init_vendorsCreateOrUpdateBcr2 = __esm(() => {
47957
48529
  description: `Create or update BackgroundCheckResults
47958
48530
 
47959
48531
  It will create or update BackgroundCheckResults`,
47960
- args: args27,
47961
- tool: async (client, args28, ctx) => {
47962
- const [result, apiCall] = await vendorsCreateOrUpdateBcr(client, args28.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48532
+ args: args28,
48533
+ tool: async (client, args29, ctx) => {
48534
+ const [result, apiCall] = await vendorsCreateOrUpdateBcr(client, args29.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47963
48535
  if (!result.ok) {
47964
48536
  return {
47965
48537
  content: [{ type: "text", text: result.error.message }],
@@ -47974,9 +48546,9 @@ It will create or update BackgroundCheckResults`,
47974
48546
 
47975
48547
  // src/funcs/vendorsCreateVendorCompany.ts
47976
48548
  function vendorsCreateVendorCompany(client, request, options) {
47977
- return new APIPromise($do30(client, request, options));
48549
+ return new APIPromise($do31(client, request, options));
47978
48550
  }
47979
- async function $do30(client, request, options) {
48551
+ async function $do31(client, request, options) {
47980
48552
  const parsed = safeParse(request, (value) => CreateVendorCompanyRequest$outboundSchema.parse(value), "Input validation failed");
47981
48553
  if (!parsed.ok) {
47982
48554
  return [parsed, { status: "invalid" }];
@@ -48052,12 +48624,12 @@ var init_vendorsCreateVendorCompany = __esm(() => {
48052
48624
  });
48053
48625
 
48054
48626
  // src/mcp-server/tools/vendorsCreateVendorCompany.ts
48055
- var args28, tool$vendorsCreateVendorCompany;
48627
+ var args29, tool$vendorsCreateVendorCompany;
48056
48628
  var init_vendorsCreateVendorCompany2 = __esm(() => {
48057
48629
  init_vendorsCreateVendorCompany();
48058
48630
  init_operations();
48059
48631
  init_tools();
48060
- args28 = {
48632
+ args29 = {
48061
48633
  request: CreateVendorCompanyRequest$inboundSchema
48062
48634
  };
48063
48635
  tool$vendorsCreateVendorCompany = {
@@ -48065,9 +48637,9 @@ var init_vendorsCreateVendorCompany2 = __esm(() => {
48065
48637
  description: `Create vendor company
48066
48638
 
48067
48639
  Create vendor company`,
48068
- args: args28,
48069
- tool: async (client, args29, ctx) => {
48070
- const [result, apiCall] = await vendorsCreateVendorCompany(client, args29.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48640
+ args: args29,
48641
+ tool: async (client, args30, ctx) => {
48642
+ const [result, apiCall] = await vendorsCreateVendorCompany(client, args30.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48071
48643
  if (!result.ok) {
48072
48644
  return {
48073
48645
  content: [{ type: "text", text: result.error.message }],
@@ -48082,9 +48654,9 @@ Create vendor company`,
48082
48654
 
48083
48655
  // src/funcs/vendorsCreateVendorRegistration.ts
48084
48656
  function vendorsCreateVendorRegistration(client, request, options) {
48085
- return new APIPromise($do31(client, request, options));
48657
+ return new APIPromise($do32(client, request, options));
48086
48658
  }
48087
- async function $do31(client, request, options) {
48659
+ async function $do32(client, request, options) {
48088
48660
  const parsed = safeParse(request, (value) => CreateVendorRegistrationRequestBody$outboundSchema.parse(value), "Input validation failed");
48089
48661
  if (!parsed.ok) {
48090
48662
  return [parsed, { status: "invalid" }];
@@ -48151,12 +48723,12 @@ var init_vendorsCreateVendorRegistration = __esm(() => {
48151
48723
  });
48152
48724
 
48153
48725
  // src/mcp-server/tools/vendorsCreateVendorRegistration.ts
48154
- var args29, tool$vendorsCreateVendorRegistration;
48726
+ var args30, tool$vendorsCreateVendorRegistration;
48155
48727
  var init_vendorsCreateVendorRegistration2 = __esm(() => {
48156
48728
  init_vendorsCreateVendorRegistration();
48157
48729
  init_operations();
48158
48730
  init_tools();
48159
- args29 = {
48731
+ args30 = {
48160
48732
  request: CreateVendorRegistrationRequestBody$inboundSchema
48161
48733
  };
48162
48734
  tool$vendorsCreateVendorRegistration = {
@@ -48164,9 +48736,9 @@ var init_vendorsCreateVendorRegistration2 = __esm(() => {
48164
48736
  description: `Create vendor registration
48165
48737
 
48166
48738
  Create an initial vendor registration. Once successful, the vendor will be able to continue to filling out the rest of their onboarding profile.`,
48167
- args: args29,
48168
- tool: async (client, args30, ctx) => {
48169
- const [result, apiCall] = await vendorsCreateVendorRegistration(client, args30.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48739
+ args: args30,
48740
+ tool: async (client, args31, ctx) => {
48741
+ const [result, apiCall] = await vendorsCreateVendorRegistration(client, args31.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48170
48742
  if (!result.ok) {
48171
48743
  return {
48172
48744
  content: [{ type: "text", text: result.error.message }],
@@ -48181,9 +48753,9 @@ Create an initial vendor registration. Once successful, the vendor will be able
48181
48753
 
48182
48754
  // src/funcs/vendorsDeclineVendorCredential.ts
48183
48755
  function vendorsDeclineVendorCredential(client, request, options) {
48184
- return new APIPromise($do32(client, request, options));
48756
+ return new APIPromise($do33(client, request, options));
48185
48757
  }
48186
- async function $do32(client, request, options) {
48758
+ async function $do33(client, request, options) {
48187
48759
  const parsed = safeParse(request, (value) => DeclineVendorCredentialRequest$outboundSchema.parse(value), "Input validation failed");
48188
48760
  if (!parsed.ok) {
48189
48761
  return [parsed, { status: "invalid" }];
@@ -48256,12 +48828,12 @@ var init_vendorsDeclineVendorCredential = __esm(() => {
48256
48828
  });
48257
48829
 
48258
48830
  // src/mcp-server/tools/vendorsDeclineVendorCredential.ts
48259
- var args30, tool$vendorsDeclineVendorCredential;
48831
+ var args31, tool$vendorsDeclineVendorCredential;
48260
48832
  var init_vendorsDeclineVendorCredential2 = __esm(() => {
48261
48833
  init_vendorsDeclineVendorCredential();
48262
48834
  init_operations();
48263
48835
  init_tools();
48264
- args30 = {
48836
+ args31 = {
48265
48837
  request: DeclineVendorCredentialRequest$inboundSchema
48266
48838
  };
48267
48839
  tool$vendorsDeclineVendorCredential = {
@@ -48269,9 +48841,9 @@ var init_vendorsDeclineVendorCredential2 = __esm(() => {
48269
48841
  description: `Decline vendor credential
48270
48842
 
48271
48843
  It will decline vendor credential`,
48272
- args: args30,
48273
- tool: async (client, args31, ctx) => {
48274
- const [result, apiCall] = await vendorsDeclineVendorCredential(client, args31.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48844
+ args: args31,
48845
+ tool: async (client, args32, ctx) => {
48846
+ const [result, apiCall] = await vendorsDeclineVendorCredential(client, args32.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48275
48847
  if (!result.ok) {
48276
48848
  return {
48277
48849
  content: [{ type: "text", text: result.error.message }],
@@ -48286,9 +48858,9 @@ It will decline vendor credential`,
48286
48858
 
48287
48859
  // src/funcs/vendorsDeleteVendorCredentialFile.ts
48288
48860
  function vendorsDeleteVendorCredentialFile(client, request, options) {
48289
- return new APIPromise($do33(client, request, options));
48861
+ return new APIPromise($do34(client, request, options));
48290
48862
  }
48291
- async function $do33(client, request, options) {
48863
+ async function $do34(client, request, options) {
48292
48864
  const parsed = safeParse(request, (value) => DeleteVendorCredentialFileRequest$outboundSchema.parse(value), "Input validation failed");
48293
48865
  if (!parsed.ok) {
48294
48866
  return [parsed, { status: "invalid" }];
@@ -48365,12 +48937,12 @@ var init_vendorsDeleteVendorCredentialFile = __esm(() => {
48365
48937
  });
48366
48938
 
48367
48939
  // src/mcp-server/tools/vendorsDeleteVendorCredentialFile.ts
48368
- var args31, tool$vendorsDeleteVendorCredentialFile;
48940
+ var args32, tool$vendorsDeleteVendorCredentialFile;
48369
48941
  var init_vendorsDeleteVendorCredentialFile2 = __esm(() => {
48370
48942
  init_vendorsDeleteVendorCredentialFile();
48371
48943
  init_operations();
48372
48944
  init_tools();
48373
- args31 = {
48945
+ args32 = {
48374
48946
  request: DeleteVendorCredentialFileRequest$inboundSchema
48375
48947
  };
48376
48948
  tool$vendorsDeleteVendorCredentialFile = {
@@ -48378,9 +48950,9 @@ var init_vendorsDeleteVendorCredentialFile2 = __esm(() => {
48378
48950
  description: `Delete vendor credential file
48379
48951
 
48380
48952
  It will delete the vendor credential file`,
48381
- args: args31,
48382
- tool: async (client, args32, ctx) => {
48383
- const [result, apiCall] = await vendorsDeleteVendorCredentialFile(client, args32.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48953
+ args: args32,
48954
+ tool: async (client, args33, ctx) => {
48955
+ const [result, apiCall] = await vendorsDeleteVendorCredentialFile(client, args33.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48384
48956
  if (!result.ok) {
48385
48957
  return {
48386
48958
  content: [{ type: "text", text: result.error.message }],
@@ -48395,9 +48967,9 @@ It will delete the vendor credential file`,
48395
48967
 
48396
48968
  // src/funcs/vendorsDeleteVendorManagedByCompany.ts
48397
48969
  function vendorsDeleteVendorManagedByCompany(client, request, options) {
48398
- return new APIPromise($do34(client, request, options));
48970
+ return new APIPromise($do35(client, request, options));
48399
48971
  }
48400
- async function $do34(client, request, options) {
48972
+ async function $do35(client, request, options) {
48401
48973
  const parsed = safeParse(request, (value) => DeleteVendorManagedByCompanyRequest$outboundSchema.parse(value), "Input validation failed");
48402
48974
  if (!parsed.ok) {
48403
48975
  return [parsed, { status: "invalid" }];
@@ -48473,12 +49045,12 @@ var init_vendorsDeleteVendorManagedByCompany = __esm(() => {
48473
49045
  });
48474
49046
 
48475
49047
  // src/mcp-server/tools/vendorsDeleteVendorManagedByCompany.ts
48476
- var args32, tool$vendorsDeleteVendorManagedByCompany;
49048
+ var args33, tool$vendorsDeleteVendorManagedByCompany;
48477
49049
  var init_vendorsDeleteVendorManagedByCompany2 = __esm(() => {
48478
49050
  init_vendorsDeleteVendorManagedByCompany();
48479
49051
  init_operations();
48480
49052
  init_tools();
48481
- args32 = {
49053
+ args33 = {
48482
49054
  request: DeleteVendorManagedByCompanyRequest$inboundSchema
48483
49055
  };
48484
49056
  tool$vendorsDeleteVendorManagedByCompany = {
@@ -48486,9 +49058,9 @@ var init_vendorsDeleteVendorManagedByCompany2 = __esm(() => {
48486
49058
  description: `Delete vendor managed by company
48487
49059
 
48488
49060
  It will delete the vendor managed by company`,
48489
- args: args32,
48490
- tool: async (client, args33, ctx) => {
48491
- const [result, apiCall] = await vendorsDeleteVendorManagedByCompany(client, args33.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
49061
+ args: args33,
49062
+ tool: async (client, args34, ctx) => {
49063
+ const [result, apiCall] = await vendorsDeleteVendorManagedByCompany(client, args34.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48492
49064
  if (!result.ok) {
48493
49065
  return {
48494
49066
  content: [{ type: "text", text: result.error.message }],
@@ -48503,9 +49075,9 @@ It will delete the vendor managed by company`,
48503
49075
 
48504
49076
  // src/funcs/vendorsExpediteTimeRemaining.ts
48505
49077
  function vendorsExpediteTimeRemaining(client, request, options) {
48506
- return new APIPromise($do35(client, request, options));
49078
+ return new APIPromise($do36(client, request, options));
48507
49079
  }
48508
- async function $do35(client, request, options) {
49080
+ async function $do36(client, request, options) {
48509
49081
  const parsed = safeParse(request, (value) => ExpediteTimeRemainingRequest$outboundSchema.parse(value), "Input validation failed");
48510
49082
  if (!parsed.ok) {
48511
49083
  return [parsed, { status: "invalid" }];
@@ -48580,12 +49152,12 @@ var init_vendorsExpediteTimeRemaining = __esm(() => {
48580
49152
  });
48581
49153
 
48582
49154
  // src/mcp-server/tools/vendorsExpediteTimeRemaining.ts
48583
- var args33, tool$vendorsExpediteTimeRemaining;
49155
+ var args34, tool$vendorsExpediteTimeRemaining;
48584
49156
  var init_vendorsExpediteTimeRemaining2 = __esm(() => {
48585
49157
  init_vendorsExpediteTimeRemaining();
48586
49158
  init_operations();
48587
49159
  init_tools();
48588
- args33 = {
49160
+ args34 = {
48589
49161
  request: ExpediteTimeRemainingRequest$inboundSchema
48590
49162
  };
48591
49163
  tool$vendorsExpediteTimeRemaining = {
@@ -48593,9 +49165,9 @@ var init_vendorsExpediteTimeRemaining2 = __esm(() => {
48593
49165
  description: `Expedite time remaining
48594
49166
 
48595
49167
  For vendors who have a paid 24-hour expedite credentials invoice, get the remaining time (in seconds) for which submitted credentials will be expedited.`,
48596
- args: args33,
48597
- tool: async (client, args34, ctx) => {
48598
- const [result, apiCall] = await vendorsExpediteTimeRemaining(client, args34.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
49168
+ args: args34,
49169
+ tool: async (client, args35, ctx) => {
49170
+ const [result, apiCall] = await vendorsExpediteTimeRemaining(client, args35.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48599
49171
  if (!result.ok) {
48600
49172
  return {
48601
49173
  content: [{ type: "text", text: result.error.message }],
@@ -48608,28 +49180,24 @@ For vendors who have a paid 24-hour expedite credentials invoice, get the remain
48608
49180
  };
48609
49181
  });
48610
49182
 
48611
- // src/funcs/vendorsGetVendorCredentialDetails.ts
48612
- function vendorsGetVendorCredentialDetails(client, request, options) {
48613
- return new APIPromise($do36(client, request, options));
49183
+ // src/funcs/vendorsGetSubscription.ts
49184
+ function vendorsGetSubscription(client, request, options) {
49185
+ return new APIPromise($do37(client, request, options));
48614
49186
  }
48615
- async function $do36(client, request, options) {
48616
- const parsed = safeParse(request, (value) => GetVendorCredentialDetailsRequest$outboundSchema.parse(value), "Input validation failed");
49187
+ async function $do37(client, request, options) {
49188
+ const parsed = safeParse(request, (value) => GetSubscriptionRequest$outboundSchema.parse(value), "Input validation failed");
48617
49189
  if (!parsed.ok) {
48618
49190
  return [parsed, { status: "invalid" }];
48619
49191
  }
48620
49192
  const payload = parsed.value;
48621
49193
  const body = null;
48622
49194
  const pathParams = {
48623
- id: encodeSimple("id", payload.id, {
48624
- explode: false,
48625
- charEncoding: "percent"
48626
- }),
48627
49195
  vendor_id_or_me: encodeSimple("vendor_id_or_me", payload.vendor_id_or_me, {
48628
49196
  explode: false,
48629
49197
  charEncoding: "percent"
48630
49198
  })
48631
49199
  };
48632
- const path = pathToFunc("/vendors/{vendor_id_or_me}/credentials/{id}")(pathParams);
49200
+ const path = pathToFunc("/vendors/{vendor_id_or_me}/subscription")(pathParams);
48633
49201
  const query = encodeFormQuery({
48634
49202
  expand: payload.expand
48635
49203
  }, { explode: false });
@@ -48641,7 +49209,7 @@ async function $do36(client, request, options) {
48641
49209
  const context = {
48642
49210
  options: client._options,
48643
49211
  baseURL: options?.serverURL ?? client._baseURL ?? "",
48644
- operationID: "getVendorCredentialDetails",
49212
+ operationID: "getSubscription",
48645
49213
  oAuth2Scopes: [],
48646
49214
  resolvedSecurity: requestSecurity,
48647
49215
  securitySource: client._options.security,
@@ -48665,7 +49233,7 @@ async function $do36(client, request, options) {
48665
49233
  const req = requestRes.value;
48666
49234
  const doResult = await client._do(req, {
48667
49235
  context,
48668
- errorCodes: ["400", "401", "403", "4XX", "500", "5XX"],
49236
+ errorCodes: ["400", "401", "403", "404", "4XX", "500", "5XX"],
48669
49237
  retryConfig: context.retryConfig,
48670
49238
  retryCodes: context.retryCodes
48671
49239
  });
@@ -48676,13 +49244,13 @@ async function $do36(client, request, options) {
48676
49244
  const responseFields = {
48677
49245
  HttpMeta: { Response: response, Request: req }
48678
49246
  };
48679
- const [result] = await match(json(200, GetVendorCredentialDetailsResponseBody$inboundSchema), jsonErr([400, 401, 403], ApiErrorResponse$inboundSchema), jsonErr(500, ApiErrorResponse$inboundSchema), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
49247
+ const [result] = await match(json(200, GetSubscriptionResponseBody$inboundSchema), jsonErr([400, 401, 403, 404], ApiErrorResponse$inboundSchema), jsonErr(500, ApiErrorResponse$inboundSchema), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
48680
49248
  if (!result.ok) {
48681
49249
  return [result, { status: "complete", request: req, response }];
48682
49250
  }
48683
49251
  return [result, { status: "complete", request: req, response }];
48684
49252
  }
48685
- var init_vendorsGetVendorCredentialDetails = __esm(() => {
49253
+ var init_vendorsGetSubscription = __esm(() => {
48686
49254
  init_encodings();
48687
49255
  init_matchers();
48688
49256
  init_primitives();
@@ -48694,41 +49262,27 @@ var init_vendorsGetVendorCredentialDetails = __esm(() => {
48694
49262
  init_async();
48695
49263
  });
48696
49264
 
48697
- // src/mcp-server/tools/vendorsGetVendorCredentialDetails.ts
48698
- var args34, tool$vendorsGetVendorCredentialDetails;
48699
- var init_vendorsGetVendorCredentialDetails2 = __esm(() => {
48700
- init_vendorsGetVendorCredentialDetails();
49265
+ // src/mcp-server/tools/vendorsGetSubscription.ts
49266
+ var args35, tool$vendorsGetSubscription;
49267
+ var init_vendorsGetSubscription2 = __esm(() => {
49268
+ init_vendorsGetSubscription();
48701
49269
  init_operations();
48702
49270
  init_tools();
48703
- args34 = {
48704
- request: GetVendorCredentialDetailsRequest$inboundSchema
49271
+ args35 = {
49272
+ request: GetSubscriptionRequest$inboundSchema
48705
49273
  };
48706
- tool$vendorsGetVendorCredentialDetails = {
48707
- name: "vendors-get-vendor-credential-details",
48708
- description: `Get Vendor Credential details
49274
+ tool$vendorsGetSubscription = {
49275
+ name: "vendors-get-subscription",
49276
+ description: `Vendor subscription
48709
49277
 
48710
- Get Vendor Credential details
49278
+ Get vendor subscription
48711
49279
 
48712
49280
  Available \`expand\` scopes are:
48713
- - vendor_credential.credential
48714
- - vendor_credential.vendor
48715
- - vendor_credential.invoice
48716
- - vendor_credential.vendor_credential_files
48717
- - vendor_credential.latest_vendor_credential_id
48718
- - vendor_credential.previously_approved
48719
- - vendor_credential.unsatisfied_dependencies
48720
- - vendor_credential.allow_expediting
48721
- - vendor_credential.unpaid_expedited_invoice_id
48722
- - vendor_credential.expedited_offers
48723
- - vendor_credential.background_check_results
48724
- - vendor_credential.vendor_credential_default_status
48725
- - vendor_credential.vendor_credential_data_requests
48726
- - vendor_credential.credential_variants
48727
- - vendor_credential.targets_chop
48728
- - vendor_credential.total_pending_credentials`,
48729
- args: args34,
48730
- tool: async (client, args35, ctx) => {
48731
- const [result, apiCall] = await vendorsGetVendorCredentialDetails(client, args35.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
49281
+
49282
+ subscription.expedited_offer`,
49283
+ args: args35,
49284
+ tool: async (client, args36, ctx) => {
49285
+ const [result, apiCall] = await vendorsGetSubscription(client, args36.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48732
49286
  if (!result.ok) {
48733
49287
  return {
48734
49288
  content: [{ type: "text", text: result.error.message }],
@@ -48741,12 +49295,12 @@ Available \`expand\` scopes are:
48741
49295
  };
48742
49296
  });
48743
49297
 
48744
- // src/funcs/vendorsGetVendorCredentialFile.ts
48745
- function vendorsGetVendorCredentialFile(client, request, options) {
48746
- return new APIPromise($do37(client, request, options));
49298
+ // src/funcs/vendorsGetVendorCredentialDetails.ts
49299
+ function vendorsGetVendorCredentialDetails(client, request, options) {
49300
+ return new APIPromise($do38(client, request, options));
48747
49301
  }
48748
- async function $do37(client, request, options) {
48749
- const parsed = safeParse(request, (value) => GetVendorCredentialFileRequest$outboundSchema.parse(value), "Input validation failed");
49302
+ async function $do38(client, request, options) {
49303
+ const parsed = safeParse(request, (value) => GetVendorCredentialDetailsRequest$outboundSchema.parse(value), "Input validation failed");
48750
49304
  if (!parsed.ok) {
48751
49305
  return [parsed, { status: "invalid" }];
48752
49306
  }
@@ -48757,9 +49311,12 @@ async function $do37(client, request, options) {
48757
49311
  explode: false,
48758
49312
  charEncoding: "percent"
48759
49313
  }),
48760
- vendor_credential_id: encodeSimple("vendor_credential_id", payload.vendor_credential_id, { explode: false, charEncoding: "percent" })
49314
+ vendor_id_or_me: encodeSimple("vendor_id_or_me", payload.vendor_id_or_me, {
49315
+ explode: false,
49316
+ charEncoding: "percent"
49317
+ })
48761
49318
  };
48762
- const path = pathToFunc("/vendors/credentials/{vendor_credential_id}/files/{id}")(pathParams);
49319
+ const path = pathToFunc("/vendors/{vendor_id_or_me}/credentials/{id}")(pathParams);
48763
49320
  const query = encodeFormQuery({
48764
49321
  expand: payload.expand
48765
49322
  }, { explode: false });
@@ -48771,7 +49328,7 @@ async function $do37(client, request, options) {
48771
49328
  const context = {
48772
49329
  options: client._options,
48773
49330
  baseURL: options?.serverURL ?? client._baseURL ?? "",
48774
- operationID: "getVendorCredentialFile",
49331
+ operationID: "getVendorCredentialDetails",
48775
49332
  oAuth2Scopes: [],
48776
49333
  resolvedSecurity: requestSecurity,
48777
49334
  securitySource: client._options.security,
@@ -48795,7 +49352,7 @@ async function $do37(client, request, options) {
48795
49352
  const req = requestRes.value;
48796
49353
  const doResult = await client._do(req, {
48797
49354
  context,
48798
- errorCodes: ["400", "401", "403", "404", "4XX", "500", "5XX"],
49355
+ errorCodes: ["400", "401", "403", "4XX", "500", "5XX"],
48799
49356
  retryConfig: context.retryConfig,
48800
49357
  retryCodes: context.retryCodes
48801
49358
  });
@@ -48806,47 +49363,177 @@ async function $do37(client, request, options) {
48806
49363
  const responseFields = {
48807
49364
  HttpMeta: { Response: response, Request: req }
48808
49365
  };
48809
- const [result] = await match(json(200, VendorCredentialFile$inboundSchema), jsonErr([400, 401, 403, 404], ApiErrorResponse$inboundSchema), jsonErr(500, ApiErrorResponse$inboundSchema), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
49366
+ const [result] = await match(json(200, GetVendorCredentialDetailsResponseBody$inboundSchema), jsonErr([400, 401, 403], ApiErrorResponse$inboundSchema), jsonErr(500, ApiErrorResponse$inboundSchema), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
48810
49367
  if (!result.ok) {
48811
49368
  return [result, { status: "complete", request: req, response }];
48812
49369
  }
48813
49370
  return [result, { status: "complete", request: req, response }];
48814
49371
  }
48815
- var init_vendorsGetVendorCredentialFile = __esm(() => {
49372
+ var init_vendorsGetVendorCredentialDetails = __esm(() => {
48816
49373
  init_encodings();
48817
49374
  init_matchers();
48818
49375
  init_primitives();
48819
49376
  init_schemas();
48820
49377
  init_security();
48821
49378
  init_url();
48822
- init_components();
48823
49379
  init_errors2();
48824
49380
  init_operations();
48825
49381
  init_async();
48826
49382
  });
48827
49383
 
48828
- // src/mcp-server/tools/vendorsGetVendorCredentialFile.ts
48829
- var args35, tool$vendorsGetVendorCredentialFile;
48830
- var init_vendorsGetVendorCredentialFile2 = __esm(() => {
48831
- init_vendorsGetVendorCredentialFile();
49384
+ // src/mcp-server/tools/vendorsGetVendorCredentialDetails.ts
49385
+ var args36, tool$vendorsGetVendorCredentialDetails;
49386
+ var init_vendorsGetVendorCredentialDetails2 = __esm(() => {
49387
+ init_vendorsGetVendorCredentialDetails();
48832
49388
  init_operations();
48833
49389
  init_tools();
48834
- args35 = {
48835
- request: GetVendorCredentialFileRequest$inboundSchema
49390
+ args36 = {
49391
+ request: GetVendorCredentialDetailsRequest$inboundSchema
48836
49392
  };
48837
- tool$vendorsGetVendorCredentialFile = {
48838
- name: "vendors-get-vendor-credential-file",
48839
- description: `Get vendor credential file
49393
+ tool$vendorsGetVendorCredentialDetails = {
49394
+ name: "vendors-get-vendor-credential-details",
49395
+ description: `Get Vendor Credential details
48840
49396
 
48841
- Retrieve an individual vendor credential file.
49397
+ Get Vendor Credential details
49398
+
49399
+ Available \`expand\` scopes are:
49400
+ - vendor_credential.credential
49401
+ - vendor_credential.vendor
49402
+ - vendor_credential.invoice
49403
+ - vendor_credential.vendor_credential_files
49404
+ - vendor_credential.latest_vendor_credential_id
49405
+ - vendor_credential.previously_approved
49406
+ - vendor_credential.unsatisfied_dependencies
49407
+ - vendor_credential.allow_expediting
49408
+ - vendor_credential.unpaid_expedited_invoice_id
49409
+ - vendor_credential.expedited_offers
49410
+ - vendor_credential.background_check_results
49411
+ - vendor_credential.vendor_credential_default_status
49412
+ - vendor_credential.vendor_credential_data_requests
49413
+ - vendor_credential.credential_variants
49414
+ - vendor_credential.targets_chop
49415
+ - vendor_credential.total_pending_credentials`,
49416
+ args: args36,
49417
+ tool: async (client, args37, ctx) => {
49418
+ const [result, apiCall] = await vendorsGetVendorCredentialDetails(client, args37.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
49419
+ if (!result.ok) {
49420
+ return {
49421
+ content: [{ type: "text", text: result.error.message }],
49422
+ isError: true
49423
+ };
49424
+ }
49425
+ const value = result.value;
49426
+ return formatResult(value, apiCall);
49427
+ }
49428
+ };
49429
+ });
49430
+
49431
+ // src/funcs/vendorsGetVendorCredentialFile.ts
49432
+ function vendorsGetVendorCredentialFile(client, request, options) {
49433
+ return new APIPromise($do39(client, request, options));
49434
+ }
49435
+ async function $do39(client, request, options) {
49436
+ const parsed = safeParse(request, (value) => GetVendorCredentialFileRequest$outboundSchema.parse(value), "Input validation failed");
49437
+ if (!parsed.ok) {
49438
+ return [parsed, { status: "invalid" }];
49439
+ }
49440
+ const payload = parsed.value;
49441
+ const body = null;
49442
+ const pathParams = {
49443
+ id: encodeSimple("id", payload.id, {
49444
+ explode: false,
49445
+ charEncoding: "percent"
49446
+ }),
49447
+ vendor_credential_id: encodeSimple("vendor_credential_id", payload.vendor_credential_id, { explode: false, charEncoding: "percent" })
49448
+ };
49449
+ const path = pathToFunc("/vendors/credentials/{vendor_credential_id}/files/{id}")(pathParams);
49450
+ const query = encodeFormQuery({
49451
+ expand: payload.expand
49452
+ }, { explode: false });
49453
+ const headers = new Headers(compactMap({
49454
+ Accept: "application/json"
49455
+ }));
49456
+ const securityInput = await extractSecurity(client._options.security);
49457
+ const requestSecurity = resolveGlobalSecurity(securityInput);
49458
+ const context = {
49459
+ options: client._options,
49460
+ baseURL: options?.serverURL ?? client._baseURL ?? "",
49461
+ operationID: "getVendorCredentialFile",
49462
+ oAuth2Scopes: [],
49463
+ resolvedSecurity: requestSecurity,
49464
+ securitySource: client._options.security,
49465
+ retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
49466
+ retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
49467
+ };
49468
+ const requestRes = client._createRequest(context, {
49469
+ security: requestSecurity,
49470
+ method: "GET",
49471
+ baseURL: options?.serverURL,
49472
+ path,
49473
+ headers,
49474
+ query,
49475
+ body,
49476
+ userAgent: client._options.userAgent,
49477
+ timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
49478
+ }, options);
49479
+ if (!requestRes.ok) {
49480
+ return [requestRes, { status: "invalid" }];
49481
+ }
49482
+ const req = requestRes.value;
49483
+ const doResult = await client._do(req, {
49484
+ context,
49485
+ errorCodes: ["400", "401", "403", "404", "4XX", "500", "5XX"],
49486
+ retryConfig: context.retryConfig,
49487
+ retryCodes: context.retryCodes
49488
+ });
49489
+ if (!doResult.ok) {
49490
+ return [doResult, { status: "request-error", request: req }];
49491
+ }
49492
+ const response = doResult.value;
49493
+ const responseFields = {
49494
+ HttpMeta: { Response: response, Request: req }
49495
+ };
49496
+ const [result] = await match(json(200, VendorCredentialFile$inboundSchema), jsonErr([400, 401, 403, 404], ApiErrorResponse$inboundSchema), jsonErr(500, ApiErrorResponse$inboundSchema), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
49497
+ if (!result.ok) {
49498
+ return [result, { status: "complete", request: req, response }];
49499
+ }
49500
+ return [result, { status: "complete", request: req, response }];
49501
+ }
49502
+ var init_vendorsGetVendorCredentialFile = __esm(() => {
49503
+ init_encodings();
49504
+ init_matchers();
49505
+ init_primitives();
49506
+ init_schemas();
49507
+ init_security();
49508
+ init_url();
49509
+ init_components();
49510
+ init_errors2();
49511
+ init_operations();
49512
+ init_async();
49513
+ });
49514
+
49515
+ // src/mcp-server/tools/vendorsGetVendorCredentialFile.ts
49516
+ var args37, tool$vendorsGetVendorCredentialFile;
49517
+ var init_vendorsGetVendorCredentialFile2 = __esm(() => {
49518
+ init_vendorsGetVendorCredentialFile();
49519
+ init_operations();
49520
+ init_tools();
49521
+ args37 = {
49522
+ request: GetVendorCredentialFileRequest$inboundSchema
49523
+ };
49524
+ tool$vendorsGetVendorCredentialFile = {
49525
+ name: "vendors-get-vendor-credential-file",
49526
+ description: `Get vendor credential file
49527
+
49528
+ Retrieve an individual vendor credential file.
48842
49529
 
48843
49530
  Available \`expand\` scopes are:
48844
49531
 
48845
49532
  - vendor_credential_file.vendor_credential
48846
49533
  - vendor_credential_file.credential_document`,
48847
- args: args35,
48848
- tool: async (client, args36, ctx) => {
48849
- const [result, apiCall] = await vendorsGetVendorCredentialFile(client, args36.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
49534
+ args: args37,
49535
+ tool: async (client, args38, ctx) => {
49536
+ const [result, apiCall] = await vendorsGetVendorCredentialFile(client, args38.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48850
49537
  if (!result.ok) {
48851
49538
  return {
48852
49539
  content: [{ type: "text", text: result.error.message }],
@@ -48861,9 +49548,9 @@ Available \`expand\` scopes are:
48861
49548
 
48862
49549
  // src/funcs/vendorsGetVendorInvoiceDetails.ts
48863
49550
  function vendorsGetVendorInvoiceDetails(client, request, options) {
48864
- return new APIPromise($do38(client, request, options));
49551
+ return new APIPromise($do40(client, request, options));
48865
49552
  }
48866
- async function $do38(client, request, options) {
49553
+ async function $do40(client, request, options) {
48867
49554
  const parsed = safeParse(request, (value) => GetVendorInvoiceDetailsRequest$outboundSchema.parse(value), "Input validation failed");
48868
49555
  if (!parsed.ok) {
48869
49556
  return [parsed, { status: "invalid" }];
@@ -48943,12 +49630,12 @@ var init_vendorsGetVendorInvoiceDetails = __esm(() => {
48943
49630
  });
48944
49631
 
48945
49632
  // src/mcp-server/tools/vendorsGetVendorInvoiceDetails.ts
48946
- var args36, tool$vendorsGetVendorInvoiceDetails;
49633
+ var args38, tool$vendorsGetVendorInvoiceDetails;
48947
49634
  var init_vendorsGetVendorInvoiceDetails2 = __esm(() => {
48948
49635
  init_vendorsGetVendorInvoiceDetails();
48949
49636
  init_operations();
48950
49637
  init_tools();
48951
- args36 = {
49638
+ args38 = {
48952
49639
  request: GetVendorInvoiceDetailsRequest$inboundSchema
48953
49640
  };
48954
49641
  tool$vendorsGetVendorInvoiceDetails = {
@@ -48961,9 +49648,9 @@ Available \`expand\` scopes are:
48961
49648
 
48962
49649
  invoice.line_items
48963
49650
  invoice.invoice_transactions`,
48964
- args: args36,
48965
- tool: async (client, args37, ctx) => {
48966
- const [result, apiCall] = await vendorsGetVendorInvoiceDetails(client, args37.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
49651
+ args: args38,
49652
+ tool: async (client, args39, ctx) => {
49653
+ const [result, apiCall] = await vendorsGetVendorInvoiceDetails(client, args39.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48967
49654
  if (!result.ok) {
48968
49655
  return {
48969
49656
  content: [{ type: "text", text: result.error.message }],
@@ -48978,9 +49665,9 @@ invoice.invoice_transactions`,
48978
49665
 
48979
49666
  // src/funcs/vendorsGetVendorLegalName.ts
48980
49667
  function vendorsGetVendorLegalName(client, request, options) {
48981
- return new APIPromise($do39(client, request, options));
49668
+ return new APIPromise($do41(client, request, options));
48982
49669
  }
48983
- async function $do39(client, request, options) {
49670
+ async function $do41(client, request, options) {
48984
49671
  const parsed = safeParse(request, (value) => GetVendorLegalNameRequest$outboundSchema.parse(value), "Input validation failed");
48985
49672
  if (!parsed.ok) {
48986
49673
  return [parsed, { status: "invalid" }];
@@ -49055,12 +49742,12 @@ var init_vendorsGetVendorLegalName = __esm(() => {
49055
49742
  });
49056
49743
 
49057
49744
  // src/mcp-server/tools/vendorsGetVendorLegalName.ts
49058
- var args37, tool$vendorsGetVendorLegalName;
49745
+ var args39, tool$vendorsGetVendorLegalName;
49059
49746
  var init_vendorsGetVendorLegalName2 = __esm(() => {
49060
49747
  init_vendorsGetVendorLegalName();
49061
49748
  init_operations();
49062
49749
  init_tools();
49063
- args37 = {
49750
+ args39 = {
49064
49751
  request: GetVendorLegalNameRequest$inboundSchema
49065
49752
  };
49066
49753
  tool$vendorsGetVendorLegalName = {
@@ -49068,9 +49755,9 @@ var init_vendorsGetVendorLegalName2 = __esm(() => {
49068
49755
  description: `Get Vendor legal name
49069
49756
 
49070
49757
  Get vendor legal name`,
49071
- args: args37,
49072
- tool: async (client, args38, ctx) => {
49073
- const [result, apiCall] = await vendorsGetVendorLegalName(client, args38.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
49758
+ args: args39,
49759
+ tool: async (client, args40, ctx) => {
49760
+ const [result, apiCall] = await vendorsGetVendorLegalName(client, args40.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
49074
49761
  if (!result.ok) {
49075
49762
  return {
49076
49763
  content: [{ type: "text", text: result.error.message }],
@@ -49085,9 +49772,9 @@ Get vendor legal name`,
49085
49772
 
49086
49773
  // src/funcs/vendorsGetVendorsDetails.ts
49087
49774
  function vendorsGetVendorsDetails(client, request, options) {
49088
- return new APIPromise($do40(client, request, options));
49775
+ return new APIPromise($do42(client, request, options));
49089
49776
  }
49090
- async function $do40(client, request, options) {
49777
+ async function $do42(client, request, options) {
49091
49778
  const parsed = safeParse(request, (value) => GetVendorsDetailsRequest$outboundSchema.parse(value), "Input validation failed");
49092
49779
  if (!parsed.ok) {
49093
49780
  return [parsed, { status: "invalid" }];
@@ -49167,12 +49854,12 @@ var init_vendorsGetVendorsDetails = __esm(() => {
49167
49854
  });
49168
49855
 
49169
49856
  // src/mcp-server/tools/vendorsGetVendorsDetails.ts
49170
- var args38, tool$vendorsGetVendorsDetails;
49857
+ var args40, tool$vendorsGetVendorsDetails;
49171
49858
  var init_vendorsGetVendorsDetails2 = __esm(() => {
49172
49859
  init_vendorsGetVendorsDetails();
49173
49860
  init_operations();
49174
49861
  init_tools();
49175
- args38 = {
49862
+ args40 = {
49176
49863
  request: GetVendorsDetailsRequest$inboundSchema
49177
49864
  };
49178
49865
  tool$vendorsGetVendorsDetails = {
@@ -49197,10 +49884,13 @@ vendor.payment_responsibility
49197
49884
  vendor.background_check_date_expires
49198
49885
  vendor.credit_balance
49199
49886
  vendor.registration_data
49200
- vendor.registration_finished`,
49201
- args: args38,
49202
- tool: async (client, args39, ctx) => {
49203
- const [result, apiCall] = await vendorsGetVendorsDetails(client, args39.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
49887
+ vendor.registration_finished
49888
+ vendor.target_facilities
49889
+ vendor.pending_invoice
49890
+ vendor.vendor_groups`,
49891
+ args: args40,
49892
+ tool: async (client, args41, ctx) => {
49893
+ const [result, apiCall] = await vendorsGetVendorsDetails(client, args41.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
49204
49894
  if (!result.ok) {
49205
49895
  return {
49206
49896
  content: [{ type: "text", text: result.error.message }],
@@ -49215,9 +49905,9 @@ vendor.registration_finished`,
49215
49905
 
49216
49906
  // src/funcs/vendorsListVendorAdditionalFacilityFields.ts
49217
49907
  function vendorsListVendorAdditionalFacilityFields(client, request, options) {
49218
- return new APIPromise($do41(client, request, options));
49908
+ return new APIPromise($do43(client, request, options));
49219
49909
  }
49220
- async function $do41(client, request, options) {
49910
+ async function $do43(client, request, options) {
49221
49911
  const parsed = safeParse(request, (value) => ListVendorAdditionalFacilityFieldsRequest$outboundSchema.parse(value), "Input validation failed");
49222
49912
  if (!parsed.ok) {
49223
49913
  return [haltIterator(parsed), { status: "invalid" }];
@@ -49329,12 +50019,12 @@ var init_vendorsListVendorAdditionalFacilityFields = __esm(() => {
49329
50019
  });
49330
50020
 
49331
50021
  // src/mcp-server/tools/vendorsListVendorAdditionalFacilityFields.ts
49332
- var args39, tool$vendorsListVendorAdditionalFacilityFields;
50022
+ var args41, tool$vendorsListVendorAdditionalFacilityFields;
49333
50023
  var init_vendorsListVendorAdditionalFacilityFields2 = __esm(() => {
49334
50024
  init_vendorsListVendorAdditionalFacilityFields();
49335
50025
  init_operations();
49336
50026
  init_tools();
49337
- args39 = {
50027
+ args41 = {
49338
50028
  request: ListVendorAdditionalFacilityFieldsRequest$inboundSchema
49339
50029
  };
49340
50030
  tool$vendorsListVendorAdditionalFacilityFields = {
@@ -49342,9 +50032,9 @@ var init_vendorsListVendorAdditionalFacilityFields2 = __esm(() => {
49342
50032
  description: `List of vendor's additional facility fields
49343
50033
 
49344
50034
  List of vendor's additional facility fields`,
49345
- args: args39,
49346
- tool: async (client, args40, ctx) => {
49347
- const [result, apiCall] = await vendorsListVendorAdditionalFacilityFields(client, args40.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
50035
+ args: args41,
50036
+ tool: async (client, args42, ctx) => {
50037
+ const [result, apiCall] = await vendorsListVendorAdditionalFacilityFields(client, args42.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
49348
50038
  if (!result.ok) {
49349
50039
  return {
49350
50040
  content: [{ type: "text", text: result.error.message }],
@@ -49359,9 +50049,9 @@ List of vendor's additional facility fields`,
49359
50049
 
49360
50050
  // src/funcs/vendorsListVendorCredentialDataRequests.ts
49361
50051
  function vendorsListVendorCredentialDataRequests(client, request, options) {
49362
- return new APIPromise($do42(client, request, options));
50052
+ return new APIPromise($do44(client, request, options));
49363
50053
  }
49364
- async function $do42(client, request, options) {
50054
+ async function $do44(client, request, options) {
49365
50055
  const parsed = safeParse(request, (value) => ListVendorCredentialDataRequestsRequest$outboundSchema.parse(value), "Input validation failed");
49366
50056
  if (!parsed.ok) {
49367
50057
  return [parsed, { status: "invalid" }];
@@ -49444,12 +50134,12 @@ var init_vendorsListVendorCredentialDataRequests = __esm(() => {
49444
50134
  });
49445
50135
 
49446
50136
  // src/mcp-server/tools/vendorsListVendorCredentialDataRequests.ts
49447
- var args40, tool$vendorsListVendorCredentialDataRequests;
50137
+ var args42, tool$vendorsListVendorCredentialDataRequests;
49448
50138
  var init_vendorsListVendorCredentialDataRequests2 = __esm(() => {
49449
50139
  init_vendorsListVendorCredentialDataRequests();
49450
50140
  init_operations();
49451
50141
  init_tools();
49452
- args40 = {
50142
+ args42 = {
49453
50143
  request: ListVendorCredentialDataRequestsRequest$inboundSchema
49454
50144
  };
49455
50145
  tool$vendorsListVendorCredentialDataRequests = {
@@ -49462,9 +50152,9 @@ Available \`expand\` scopes are:
49462
50152
 
49463
50153
  - vendor_credential_data_request.vendor_credential
49464
50154
  - vendor_credential_data_request.data_request`,
49465
- args: args40,
49466
- tool: async (client, args41, ctx) => {
49467
- const [result, apiCall] = await vendorsListVendorCredentialDataRequests(client, args41.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
50155
+ args: args42,
50156
+ tool: async (client, args43, ctx) => {
50157
+ const [result, apiCall] = await vendorsListVendorCredentialDataRequests(client, args43.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
49468
50158
  if (!result.ok) {
49469
50159
  return {
49470
50160
  content: [{ type: "text", text: result.error.message }],
@@ -49479,9 +50169,9 @@ Available \`expand\` scopes are:
49479
50169
 
49480
50170
  // src/funcs/vendorsListVendorCredentialFiles.ts
49481
50171
  function vendorsListVendorCredentialFiles(client, request, options) {
49482
- return new APIPromise($do43(client, request, options));
50172
+ return new APIPromise($do45(client, request, options));
49483
50173
  }
49484
- async function $do43(client, request, options) {
50174
+ async function $do45(client, request, options) {
49485
50175
  const parsed = safeParse(request, (value) => ListVendorCredentialFilesRequest$outboundSchema.parse(value), "Input validation failed");
49486
50176
  if (!parsed.ok) {
49487
50177
  return [parsed, { status: "invalid" }];
@@ -49564,12 +50254,12 @@ var init_vendorsListVendorCredentialFiles = __esm(() => {
49564
50254
  });
49565
50255
 
49566
50256
  // src/mcp-server/tools/vendorsListVendorCredentialFiles.ts
49567
- var args41, tool$vendorsListVendorCredentialFiles;
50257
+ var args43, tool$vendorsListVendorCredentialFiles;
49568
50258
  var init_vendorsListVendorCredentialFiles2 = __esm(() => {
49569
50259
  init_vendorsListVendorCredentialFiles();
49570
50260
  init_operations();
49571
50261
  init_tools();
49572
- args41 = {
50262
+ args43 = {
49573
50263
  request: ListVendorCredentialFilesRequest$inboundSchema
49574
50264
  };
49575
50265
  tool$vendorsListVendorCredentialFiles = {
@@ -49582,9 +50272,9 @@ Available \`expand\` scopes are:
49582
50272
 
49583
50273
  - vendor_credential_file.vendor_credential
49584
50274
  - vendor_credential_file.credential_document`,
49585
- args: args41,
49586
- tool: async (client, args42, ctx) => {
49587
- const [result, apiCall] = await vendorsListVendorCredentialFiles(client, args42.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
50275
+ args: args43,
50276
+ tool: async (client, args44, ctx) => {
50277
+ const [result, apiCall] = await vendorsListVendorCredentialFiles(client, args44.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
49588
50278
  if (!result.ok) {
49589
50279
  return {
49590
50280
  content: [{ type: "text", text: result.error.message }],
@@ -49599,9 +50289,9 @@ Available \`expand\` scopes are:
49599
50289
 
49600
50290
  // src/funcs/vendorsListVendorCredentialHistory.ts
49601
50291
  function vendorsListVendorCredentialHistory(client, request, options) {
49602
- return new APIPromise($do44(client, request, options));
50292
+ return new APIPromise($do46(client, request, options));
49603
50293
  }
49604
- async function $do44(client, request, options) {
50294
+ async function $do46(client, request, options) {
49605
50295
  const parsed = safeParse(request, (value) => ListVendorCredentialHistoryRequest$outboundSchema.parse(value), "Input validation failed");
49606
50296
  if (!parsed.ok) {
49607
50297
  return [haltIterator(parsed), { status: "invalid" }];
@@ -49716,12 +50406,12 @@ var init_vendorsListVendorCredentialHistory = __esm(() => {
49716
50406
  });
49717
50407
 
49718
50408
  // src/mcp-server/tools/vendorsListVendorCredentialHistory.ts
49719
- var args42, tool$vendorsListVendorCredentialHistory;
50409
+ var args44, tool$vendorsListVendorCredentialHistory;
49720
50410
  var init_vendorsListVendorCredentialHistory2 = __esm(() => {
49721
50411
  init_vendorsListVendorCredentialHistory();
49722
50412
  init_operations();
49723
50413
  init_tools();
49724
- args42 = {
50414
+ args44 = {
49725
50415
  request: ListVendorCredentialHistoryRequest$inboundSchema
49726
50416
  };
49727
50417
  tool$vendorsListVendorCredentialHistory = {
@@ -49729,9 +50419,9 @@ var init_vendorsListVendorCredentialHistory2 = __esm(() => {
49729
50419
  description: `List Vendor Credential History
49730
50420
 
49731
50421
  Lists vendor credentials history`,
49732
- args: args42,
49733
- tool: async (client, args43, ctx) => {
49734
- const [result, apiCall] = await vendorsListVendorCredentialHistory(client, args43.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
50422
+ args: args44,
50423
+ tool: async (client, args45, ctx) => {
50424
+ const [result, apiCall] = await vendorsListVendorCredentialHistory(client, args45.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
49735
50425
  if (!result.ok) {
49736
50426
  return {
49737
50427
  content: [{ type: "text", text: result.error.message }],
@@ -49746,9 +50436,9 @@ Lists vendor credentials history`,
49746
50436
 
49747
50437
  // src/funcs/vendorsListVendorCredentials.ts
49748
50438
  function vendorsListVendorCredentials(client, request, options) {
49749
- return new APIPromise($do45(client, request, options));
50439
+ return new APIPromise($do47(client, request, options));
49750
50440
  }
49751
- async function $do45(client, request, options) {
50441
+ async function $do47(client, request, options) {
49752
50442
  const parsed = safeParse(request, (value) => ListVendorCredentialsRequest$outboundSchema.parse(value), "Input validation failed");
49753
50443
  if (!parsed.ok) {
49754
50444
  return [haltIterator(parsed), { status: "invalid" }];
@@ -49868,12 +50558,12 @@ var init_vendorsListVendorCredentials = __esm(() => {
49868
50558
  });
49869
50559
 
49870
50560
  // src/mcp-server/tools/vendorsListVendorCredentials.ts
49871
- var args43, tool$vendorsListVendorCredentials;
50561
+ var args45, tool$vendorsListVendorCredentials;
49872
50562
  var init_vendorsListVendorCredentials2 = __esm(() => {
49873
50563
  init_vendorsListVendorCredentials();
49874
50564
  init_operations();
49875
50565
  init_tools();
49876
- args43 = {
50566
+ args45 = {
49877
50567
  request: ListVendorCredentialsRequest$inboundSchema
49878
50568
  };
49879
50569
  tool$vendorsListVendorCredentials = {
@@ -49881,9 +50571,9 @@ var init_vendorsListVendorCredentials2 = __esm(() => {
49881
50571
  description: `List Vendor Credentials
49882
50572
 
49883
50573
  Lists vendor credentials, required credentials, and company credentials. Utilized in Vendor Dashboard.`,
49884
- args: args43,
49885
- tool: async (client, args44, ctx) => {
49886
- const [result, apiCall] = await vendorsListVendorCredentials(client, args44.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
50574
+ args: args45,
50575
+ tool: async (client, args46, ctx) => {
50576
+ const [result, apiCall] = await vendorsListVendorCredentials(client, args46.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
49887
50577
  if (!result.ok) {
49888
50578
  return {
49889
50579
  content: [{ type: "text", text: result.error.message }],
@@ -49898,9 +50588,9 @@ Lists vendor credentials, required credentials, and company credentials. Utilize
49898
50588
 
49899
50589
  // src/funcs/vendorsListVendorCredits.ts
49900
50590
  function vendorsListVendorCredits(client, request, options) {
49901
- return new APIPromise($do46(client, request, options));
50591
+ return new APIPromise($do48(client, request, options));
49902
50592
  }
49903
- async function $do46(client, request, options) {
50593
+ async function $do48(client, request, options) {
49904
50594
  const parsed = safeParse(request, (value) => ListVendorCreditsRequest$outboundSchema.parse(value), "Input validation failed");
49905
50595
  if (!parsed.ok) {
49906
50596
  return [haltIterator(parsed), { status: "invalid" }];
@@ -50014,12 +50704,12 @@ var init_vendorsListVendorCredits = __esm(() => {
50014
50704
  });
50015
50705
 
50016
50706
  // src/mcp-server/tools/vendorsListVendorCredits.ts
50017
- var args44, tool$vendorsListVendorCredits;
50707
+ var args46, tool$vendorsListVendorCredits;
50018
50708
  var init_vendorsListVendorCredits2 = __esm(() => {
50019
50709
  init_vendorsListVendorCredits();
50020
50710
  init_operations();
50021
50711
  init_tools();
50022
- args44 = {
50712
+ args46 = {
50023
50713
  request: ListVendorCreditsRequest$inboundSchema
50024
50714
  };
50025
50715
  tool$vendorsListVendorCredits = {
@@ -50027,9 +50717,9 @@ var init_vendorsListVendorCredits2 = __esm(() => {
50027
50717
  description: `List vendor credits
50028
50718
 
50029
50719
  List the credits for the vendor`,
50030
- args: args44,
50031
- tool: async (client, args45, ctx) => {
50032
- const [result, apiCall] = await vendorsListVendorCredits(client, args45.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
50720
+ args: args46,
50721
+ tool: async (client, args47, ctx) => {
50722
+ const [result, apiCall] = await vendorsListVendorCredits(client, args47.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
50033
50723
  if (!result.ok) {
50034
50724
  return {
50035
50725
  content: [{ type: "text", text: result.error.message }],
@@ -50044,9 +50734,9 @@ List the credits for the vendor`,
50044
50734
 
50045
50735
  // src/funcs/vendorsListVendorFacilityStatuses.ts
50046
50736
  function vendorsListVendorFacilityStatuses(client, request, options) {
50047
- return new APIPromise($do47(client, request, options));
50737
+ return new APIPromise($do49(client, request, options));
50048
50738
  }
50049
- async function $do47(client, request, options) {
50739
+ async function $do49(client, request, options) {
50050
50740
  const parsed = safeParse(request, (value) => ListVendorFacilityStatusesRequest$outboundSchema.parse(value), "Input validation failed");
50051
50741
  if (!parsed.ok) {
50052
50742
  return [haltIterator(parsed), { status: "invalid" }];
@@ -50164,12 +50854,12 @@ var init_vendorsListVendorFacilityStatuses = __esm(() => {
50164
50854
  });
50165
50855
 
50166
50856
  // src/mcp-server/tools/vendorsListVendorFacilityStatuses.ts
50167
- var args45, tool$vendorsListVendorFacilityStatuses;
50857
+ var args47, tool$vendorsListVendorFacilityStatuses;
50168
50858
  var init_vendorsListVendorFacilityStatuses2 = __esm(() => {
50169
50859
  init_vendorsListVendorFacilityStatuses();
50170
50860
  init_operations();
50171
50861
  init_tools();
50172
- args45 = {
50862
+ args47 = {
50173
50863
  request: ListVendorFacilityStatusesRequest$inboundSchema
50174
50864
  };
50175
50865
  tool$vendorsListVendorFacilityStatuses = {
@@ -50177,9 +50867,9 @@ var init_vendorsListVendorFacilityStatuses2 = __esm(() => {
50177
50867
  description: `List vendor facility statuses
50178
50868
 
50179
50869
  List the facilities for the vendor`,
50180
- args: args45,
50181
- tool: async (client, args46, ctx) => {
50182
- const [result, apiCall] = await vendorsListVendorFacilityStatuses(client, args46.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
50870
+ args: args47,
50871
+ tool: async (client, args48, ctx) => {
50872
+ const [result, apiCall] = await vendorsListVendorFacilityStatuses(client, args48.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
50183
50873
  if (!result.ok) {
50184
50874
  return {
50185
50875
  content: [{ type: "text", text: result.error.message }],
@@ -50194,9 +50884,9 @@ List the facilities for the vendor`,
50194
50884
 
50195
50885
  // src/funcs/vendorsListVendorInvoices.ts
50196
50886
  function vendorsListVendorInvoices(client, request, options) {
50197
- return new APIPromise($do48(client, request, options));
50887
+ return new APIPromise($do50(client, request, options));
50198
50888
  }
50199
- async function $do48(client, request, options) {
50889
+ async function $do50(client, request, options) {
50200
50890
  const parsed = safeParse(request, (value) => ListVendorInvoicesRequest$outboundSchema.parse(value), "Input validation failed");
50201
50891
  if (!parsed.ok) {
50202
50892
  return [haltIterator(parsed), { status: "invalid" }];
@@ -50314,12 +51004,12 @@ var init_vendorsListVendorInvoices = __esm(() => {
50314
51004
  });
50315
51005
 
50316
51006
  // src/mcp-server/tools/vendorsListVendorInvoices.ts
50317
- var args46, tool$vendorsListVendorInvoices;
51007
+ var args48, tool$vendorsListVendorInvoices;
50318
51008
  var init_vendorsListVendorInvoices2 = __esm(() => {
50319
51009
  init_vendorsListVendorInvoices();
50320
51010
  init_operations();
50321
51011
  init_tools();
50322
- args46 = {
51012
+ args48 = {
50323
51013
  request: ListVendorInvoicesRequest$inboundSchema
50324
51014
  };
50325
51015
  tool$vendorsListVendorInvoices = {
@@ -50331,9 +51021,9 @@ List invoices for Vendors
50331
51021
  Available \`expand\` scopes are:
50332
51022
 
50333
51023
  invoice.line_items`,
50334
- args: args46,
50335
- tool: async (client, args47, ctx) => {
50336
- const [result, apiCall] = await vendorsListVendorInvoices(client, args47.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
51024
+ args: args48,
51025
+ tool: async (client, args49, ctx) => {
51026
+ const [result, apiCall] = await vendorsListVendorInvoices(client, args49.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
50337
51027
  if (!result.ok) {
50338
51028
  return {
50339
51029
  content: [{ type: "text", text: result.error.message }],
@@ -50348,9 +51038,9 @@ invoice.line_items`,
50348
51038
 
50349
51039
  // src/funcs/vendorsListVendorJobTitles.ts
50350
51040
  function vendorsListVendorJobTitles(client, request, options) {
50351
- return new APIPromise($do49(client, request, options));
51041
+ return new APIPromise($do51(client, request, options));
50352
51042
  }
50353
- async function $do49(client, request, options) {
51043
+ async function $do51(client, request, options) {
50354
51044
  const parsed = safeParse(request, (value) => ListVendorJobTitlesRequest$outboundSchema.parse(value), "Input validation failed");
50355
51045
  if (!parsed.ok) {
50356
51046
  return [haltIterator(parsed), { status: "invalid" }];
@@ -50459,12 +51149,12 @@ var init_vendorsListVendorJobTitles = __esm(() => {
50459
51149
  });
50460
51150
 
50461
51151
  // src/mcp-server/tools/vendorsListVendorJobTitles.ts
50462
- var args47, tool$vendorsListVendorJobTitles;
51152
+ var args49, tool$vendorsListVendorJobTitles;
50463
51153
  var init_vendorsListVendorJobTitles2 = __esm(() => {
50464
51154
  init_vendorsListVendorJobTitles();
50465
51155
  init_operations();
50466
51156
  init_tools();
50467
- args47 = {
51157
+ args49 = {
50468
51158
  request: ListVendorJobTitlesRequest$inboundSchema
50469
51159
  };
50470
51160
  tool$vendorsListVendorJobTitles = {
@@ -50472,9 +51162,9 @@ var init_vendorsListVendorJobTitles2 = __esm(() => {
50472
51162
  description: `List vendor job titles
50473
51163
 
50474
51164
  List valid job titles for Vendors. This can be used during sign up or in a filter.`,
50475
- args: args47,
50476
- tool: async (client, args48, ctx) => {
50477
- const [result, apiCall] = await vendorsListVendorJobTitles(client, args48.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
51165
+ args: args49,
51166
+ tool: async (client, args50, ctx) => {
51167
+ const [result, apiCall] = await vendorsListVendorJobTitles(client, args50.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
50478
51168
  if (!result.ok) {
50479
51169
  return {
50480
51170
  content: [{ type: "text", text: result.error.message }],
@@ -50489,9 +51179,9 @@ List valid job titles for Vendors. This can be used during sign up or in a filte
50489
51179
 
50490
51180
  // src/funcs/vendorsListVendorManagedByCompanies.ts
50491
51181
  function vendorsListVendorManagedByCompanies(client, request, options) {
50492
- return new APIPromise($do50(client, request, options));
51182
+ return new APIPromise($do52(client, request, options));
50493
51183
  }
50494
- async function $do50(client, request, options) {
51184
+ async function $do52(client, request, options) {
50495
51185
  const parsed = safeParse(request, (value) => ListVendorManagedByCompaniesRequest$outboundSchema.parse(value), "Input validation failed");
50496
51186
  if (!parsed.ok) {
50497
51187
  return [haltIterator(parsed), { status: "invalid" }];
@@ -50605,12 +51295,12 @@ var init_vendorsListVendorManagedByCompanies = __esm(() => {
50605
51295
  });
50606
51296
 
50607
51297
  // src/mcp-server/tools/vendorsListVendorManagedByCompanies.ts
50608
- var args48, tool$vendorsListVendorManagedByCompanies;
51298
+ var args50, tool$vendorsListVendorManagedByCompanies;
50609
51299
  var init_vendorsListVendorManagedByCompanies2 = __esm(() => {
50610
51300
  init_vendorsListVendorManagedByCompanies();
50611
51301
  init_operations();
50612
51302
  init_tools();
50613
- args48 = {
51303
+ args50 = {
50614
51304
  request: ListVendorManagedByCompaniesRequest$inboundSchema
50615
51305
  };
50616
51306
  tool$vendorsListVendorManagedByCompanies = {
@@ -50618,9 +51308,9 @@ var init_vendorsListVendorManagedByCompanies2 = __esm(() => {
50618
51308
  description: `List of companies managing the vendor
50619
51309
 
50620
51310
  List of companies managing the vendor`,
50621
- args: args48,
50622
- tool: async (client, args49, ctx) => {
50623
- const [result, apiCall] = await vendorsListVendorManagedByCompanies(client, args49.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
51311
+ args: args50,
51312
+ tool: async (client, args51, ctx) => {
51313
+ const [result, apiCall] = await vendorsListVendorManagedByCompanies(client, args51.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
50624
51314
  if (!result.ok) {
50625
51315
  return {
50626
51316
  content: [{ type: "text", text: result.error.message }],
@@ -50635,9 +51325,9 @@ List of companies managing the vendor`,
50635
51325
 
50636
51326
  // src/funcs/vendorsListVendorScrubDetails.ts
50637
51327
  function vendorsListVendorScrubDetails(client, request, options) {
50638
- return new APIPromise($do51(client, request, options));
51328
+ return new APIPromise($do53(client, request, options));
50639
51329
  }
50640
- async function $do51(client, request, options) {
51330
+ async function $do53(client, request, options) {
50641
51331
  const parsed = safeParse(request, (value) => ListVendorScrubDetailsRequest$outboundSchema.parse(value), "Input validation failed");
50642
51332
  if (!parsed.ok) {
50643
51333
  return [parsed, { status: "invalid" }];
@@ -50693,60 +51383,206 @@ async function $do51(client, request, options) {
50693
51383
  const responseFields = {
50694
51384
  HttpMeta: { Response: response, Request: req }
50695
51385
  };
50696
- const [result] = await match(json(200, VendorScrubDetails$inboundSchema), jsonErr([400, 401, 403, 404], ApiErrorResponse$inboundSchema), jsonErr(500, ApiErrorResponse$inboundSchema), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
50697
- if (!result.ok) {
50698
- return [result, { status: "complete", request: req, response }];
50699
- }
50700
- return [result, { status: "complete", request: req, response }];
51386
+ const [result] = await match(json(200, VendorScrubDetails$inboundSchema), jsonErr([400, 401, 403, 404], ApiErrorResponse$inboundSchema), jsonErr(500, ApiErrorResponse$inboundSchema), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
51387
+ if (!result.ok) {
51388
+ return [result, { status: "complete", request: req, response }];
51389
+ }
51390
+ return [result, { status: "complete", request: req, response }];
51391
+ }
51392
+ var init_vendorsListVendorScrubDetails = __esm(() => {
51393
+ init_encodings();
51394
+ init_matchers();
51395
+ init_primitives();
51396
+ init_schemas();
51397
+ init_security();
51398
+ init_url();
51399
+ init_components();
51400
+ init_errors2();
51401
+ init_operations();
51402
+ init_async();
51403
+ });
51404
+
51405
+ // src/mcp-server/tools/vendorsListVendorScrubDetails.ts
51406
+ var args51, tool$vendorsListVendorScrubDetails;
51407
+ var init_vendorsListVendorScrubDetails2 = __esm(() => {
51408
+ init_vendorsListVendorScrubDetails();
51409
+ init_operations();
51410
+ init_tools();
51411
+ args51 = {
51412
+ request: ListVendorScrubDetailsRequest$inboundSchema
51413
+ };
51414
+ tool$vendorsListVendorScrubDetails = {
51415
+ name: "vendors-list-vendor-scrub-details",
51416
+ description: `List vendor scrub details
51417
+
51418
+ List vendor scrub details`,
51419
+ args: args51,
51420
+ tool: async (client, args52, ctx) => {
51421
+ const [result, apiCall] = await vendorsListVendorScrubDetails(client, args52.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
51422
+ if (!result.ok) {
51423
+ return {
51424
+ content: [{ type: "text", text: result.error.message }],
51425
+ isError: true
51426
+ };
51427
+ }
51428
+ const value = result.value;
51429
+ return formatResult(value, apiCall);
51430
+ }
51431
+ };
51432
+ });
51433
+
51434
+ // src/funcs/vendorsListVendorScrubPackages.ts
51435
+ function vendorsListVendorScrubPackages(client, request, options) {
51436
+ return new APIPromise($do54(client, request, options));
51437
+ }
51438
+ async function $do54(client, request, options) {
51439
+ const parsed = safeParse(request, (value) => ListVendorScrubPackagesRequest$outboundSchema.parse(value), "Input validation failed");
51440
+ if (!parsed.ok) {
51441
+ return [haltIterator(parsed), { status: "invalid" }];
51442
+ }
51443
+ const payload = parsed.value;
51444
+ const body = null;
51445
+ const pathParams = {
51446
+ vendor_id_or_me: encodeSimple("vendor_id_or_me", payload.vendor_id_or_me, {
51447
+ explode: false,
51448
+ charEncoding: "percent"
51449
+ })
51450
+ };
51451
+ const path = pathToFunc("/vendors/{vendor_id_or_me}/scrub_packages")(pathParams);
51452
+ const query = encodeFormQuery({
51453
+ desc: payload.desc,
51454
+ items_per_page: payload.items_per_page,
51455
+ page: payload.page,
51456
+ sort: payload.sort
51457
+ });
51458
+ const headers = new Headers(compactMap({
51459
+ Accept: "application/json"
51460
+ }));
51461
+ const securityInput = await extractSecurity(client._options.security);
51462
+ const requestSecurity = resolveGlobalSecurity(securityInput);
51463
+ const context = {
51464
+ options: client._options,
51465
+ baseURL: options?.serverURL ?? client._baseURL ?? "",
51466
+ operationID: "listVendorScrubPackages",
51467
+ oAuth2Scopes: [],
51468
+ resolvedSecurity: requestSecurity,
51469
+ securitySource: client._options.security,
51470
+ retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
51471
+ retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
51472
+ };
51473
+ const requestRes = client._createRequest(context, {
51474
+ security: requestSecurity,
51475
+ method: "GET",
51476
+ baseURL: options?.serverURL,
51477
+ path,
51478
+ headers,
51479
+ query,
51480
+ body,
51481
+ userAgent: client._options.userAgent,
51482
+ timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
51483
+ }, options);
51484
+ if (!requestRes.ok) {
51485
+ return [haltIterator(requestRes), { status: "invalid" }];
51486
+ }
51487
+ const req = requestRes.value;
51488
+ const doResult = await client._do(req, {
51489
+ context,
51490
+ errorCodes: ["400", "401", "403", "4XX", "500", "5XX"],
51491
+ retryConfig: context.retryConfig,
51492
+ retryCodes: context.retryCodes
51493
+ });
51494
+ if (!doResult.ok) {
51495
+ return [haltIterator(doResult), { status: "request-error", request: req }];
51496
+ }
51497
+ const response = doResult.value;
51498
+ const responseFields = {
51499
+ HttpMeta: { Response: response, Request: req }
51500
+ };
51501
+ const [result, raw] = await match(json(200, ListVendorScrubPackagesResponse$inboundSchema, {
51502
+ key: "Result"
51503
+ }), jsonErr([400, 401, 403], ApiErrorResponse$inboundSchema), jsonErr(500, ApiErrorResponse$inboundSchema), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
51504
+ if (!result.ok) {
51505
+ return [haltIterator(result), {
51506
+ status: "complete",
51507
+ request: req,
51508
+ response
51509
+ }];
51510
+ }
51511
+ const nextFunc = (responseData) => {
51512
+ const page2 = request?.page ?? 1;
51513
+ const nextPage = page2 + 1;
51514
+ if (!responseData) {
51515
+ return { next: () => null };
51516
+ }
51517
+ const results = dlv(responseData, "items");
51518
+ if (!Array.isArray(results) || !results.length) {
51519
+ return { next: () => null };
51520
+ }
51521
+ const limit = request?.itemsPerPage ?? 0;
51522
+ if (results.length < limit) {
51523
+ return { next: () => null };
51524
+ }
51525
+ const nextVal = () => vendorsListVendorScrubPackages(client, {
51526
+ ...request,
51527
+ page: nextPage
51528
+ }, options);
51529
+ return { next: nextVal, "~next": { page: nextPage } };
51530
+ };
51531
+ const page = { ...result, ...nextFunc(raw) };
51532
+ return [{ ...page, ...createPageIterator(page, (v2) => !v2.ok) }, {
51533
+ status: "complete",
51534
+ request: req,
51535
+ response
51536
+ }];
50701
51537
  }
50702
- var init_vendorsListVendorScrubDetails = __esm(() => {
51538
+ var init_vendorsListVendorScrubPackages = __esm(() => {
50703
51539
  init_encodings();
50704
51540
  init_matchers();
50705
51541
  init_primitives();
50706
51542
  init_schemas();
50707
51543
  init_security();
50708
51544
  init_url();
50709
- init_components();
50710
51545
  init_errors2();
50711
51546
  init_operations();
50712
51547
  init_async();
51548
+ init_operations2();
50713
51549
  });
50714
51550
 
50715
- // src/mcp-server/tools/vendorsListVendorScrubDetails.ts
50716
- var args49, tool$vendorsListVendorScrubDetails;
50717
- var init_vendorsListVendorScrubDetails2 = __esm(() => {
50718
- init_vendorsListVendorScrubDetails();
51551
+ // src/mcp-server/tools/vendorsListVendorScrubPackages.ts
51552
+ var args52, tool$vendorsListVendorScrubPackages;
51553
+ var init_vendorsListVendorScrubPackages2 = __esm(() => {
51554
+ init_vendorsListVendorScrubPackages();
50719
51555
  init_operations();
50720
51556
  init_tools();
50721
- args49 = {
50722
- request: ListVendorScrubDetailsRequest$inboundSchema
51557
+ args52 = {
51558
+ request: ListVendorScrubPackagesRequest$inboundSchema
50723
51559
  };
50724
- tool$vendorsListVendorScrubDetails = {
50725
- name: "vendors-list-vendor-scrub-details",
50726
- description: `List vendor scrub details
51560
+ tool$vendorsListVendorScrubPackages = {
51561
+ name: "vendors-list-vendor-scrub-packages",
51562
+ description: `List vendor scrub packages
50727
51563
 
50728
- List vendor scrub details`,
50729
- args: args49,
50730
- tool: async (client, args50, ctx) => {
50731
- const [result, apiCall] = await vendorsListVendorScrubDetails(client, args50.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
51564
+ List vendor scrub packages`,
51565
+ args: args52,
51566
+ tool: async (client, args53, ctx) => {
51567
+ const [result, apiCall] = await vendorsListVendorScrubPackages(client, args53.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
50732
51568
  if (!result.ok) {
50733
51569
  return {
50734
51570
  content: [{ type: "text", text: result.error.message }],
50735
51571
  isError: true
50736
51572
  };
50737
51573
  }
50738
- const value = result.value;
51574
+ const value = result.value.result;
50739
51575
  return formatResult(value, apiCall);
50740
51576
  }
50741
51577
  };
50742
51578
  });
50743
51579
 
50744
- // src/funcs/vendorsListVendorScrubPackages.ts
50745
- function vendorsListVendorScrubPackages(client, request, options) {
50746
- return new APIPromise($do52(client, request, options));
51580
+ // src/funcs/vendorsListVendorScrubPurchases.ts
51581
+ function vendorsListVendorScrubPurchases(client, request, options) {
51582
+ return new APIPromise($do55(client, request, options));
50747
51583
  }
50748
- async function $do52(client, request, options) {
50749
- const parsed = safeParse(request, (value) => ListVendorScrubPackagesRequest$outboundSchema.parse(value), "Input validation failed");
51584
+ async function $do55(client, request, options) {
51585
+ const parsed = safeParse(request, (value) => ListVendorScrubPurchasesRequest$outboundSchema.parse(value), "Input validation failed");
50750
51586
  if (!parsed.ok) {
50751
51587
  return [haltIterator(parsed), { status: "invalid" }];
50752
51588
  }
@@ -50758,7 +51594,7 @@ async function $do52(client, request, options) {
50758
51594
  charEncoding: "percent"
50759
51595
  })
50760
51596
  };
50761
- const path = pathToFunc("/vendors/{vendor_id_or_me}/scrub_packages")(pathParams);
51597
+ const path = pathToFunc("/vendors/{vendor_id_or_me}/scrub_purchases")(pathParams);
50762
51598
  const query = encodeFormQuery({
50763
51599
  desc: payload.desc,
50764
51600
  items_per_page: payload.items_per_page,
@@ -50773,7 +51609,7 @@ async function $do52(client, request, options) {
50773
51609
  const context = {
50774
51610
  options: client._options,
50775
51611
  baseURL: options?.serverURL ?? client._baseURL ?? "",
50776
- operationID: "listVendorScrubPackages",
51612
+ operationID: "listVendorScrubPurchases",
50777
51613
  oAuth2Scopes: [],
50778
51614
  resolvedSecurity: requestSecurity,
50779
51615
  securitySource: client._options.security,
@@ -50808,7 +51644,7 @@ async function $do52(client, request, options) {
50808
51644
  const responseFields = {
50809
51645
  HttpMeta: { Response: response, Request: req }
50810
51646
  };
50811
- const [result, raw] = await match(json(200, ListVendorScrubPackagesResponse$inboundSchema, {
51647
+ const [result, raw] = await match(json(200, ListVendorScrubPurchasesResponse$inboundSchema, {
50812
51648
  key: "Result"
50813
51649
  }), jsonErr([400, 401, 403], ApiErrorResponse$inboundSchema), jsonErr(500, ApiErrorResponse$inboundSchema), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
50814
51650
  if (!result.ok) {
@@ -50832,7 +51668,7 @@ async function $do52(client, request, options) {
50832
51668
  if (results.length < limit) {
50833
51669
  return { next: () => null };
50834
51670
  }
50835
- const nextVal = () => vendorsListVendorScrubPackages(client, {
51671
+ const nextVal = () => vendorsListVendorScrubPurchases(client, {
50836
51672
  ...request,
50837
51673
  page: nextPage
50838
51674
  }, options);
@@ -50845,7 +51681,7 @@ async function $do52(client, request, options) {
50845
51681
  response
50846
51682
  }];
50847
51683
  }
50848
- var init_vendorsListVendorScrubPackages = __esm(() => {
51684
+ var init_vendorsListVendorScrubPurchases = __esm(() => {
50849
51685
  init_encodings();
50850
51686
  init_matchers();
50851
51687
  init_primitives();
@@ -50858,23 +51694,23 @@ var init_vendorsListVendorScrubPackages = __esm(() => {
50858
51694
  init_operations2();
50859
51695
  });
50860
51696
 
50861
- // src/mcp-server/tools/vendorsListVendorScrubPackages.ts
50862
- var args50, tool$vendorsListVendorScrubPackages;
50863
- var init_vendorsListVendorScrubPackages2 = __esm(() => {
50864
- init_vendorsListVendorScrubPackages();
51697
+ // src/mcp-server/tools/vendorsListVendorScrubPurchases.ts
51698
+ var args53, tool$vendorsListVendorScrubPurchases;
51699
+ var init_vendorsListVendorScrubPurchases2 = __esm(() => {
51700
+ init_vendorsListVendorScrubPurchases();
50865
51701
  init_operations();
50866
51702
  init_tools();
50867
- args50 = {
50868
- request: ListVendorScrubPackagesRequest$inboundSchema
51703
+ args53 = {
51704
+ request: ListVendorScrubPurchasesRequest$inboundSchema
50869
51705
  };
50870
- tool$vendorsListVendorScrubPackages = {
50871
- name: "vendors-list-vendor-scrub-packages",
50872
- description: `List vendor scrub packages
51706
+ tool$vendorsListVendorScrubPurchases = {
51707
+ name: "vendors-list-vendor-scrub-purchases",
51708
+ description: `List vendor scrub purchases
50873
51709
 
50874
- List vendor scrub packages`,
50875
- args: args50,
50876
- tool: async (client, args51, ctx) => {
50877
- const [result, apiCall] = await vendorsListVendorScrubPackages(client, args51.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
51710
+ List vendor scrub purchases`,
51711
+ args: args53,
51712
+ tool: async (client, args54, ctx) => {
51713
+ const [result, apiCall] = await vendorsListVendorScrubPurchases(client, args54.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
50878
51714
  if (!result.ok) {
50879
51715
  return {
50880
51716
  content: [{ type: "text", text: result.error.message }],
@@ -50887,24 +51723,18 @@ List vendor scrub packages`,
50887
51723
  };
50888
51724
  });
50889
51725
 
50890
- // src/funcs/vendorsListVendorScrubPurchases.ts
50891
- function vendorsListVendorScrubPurchases(client, request, options) {
50892
- return new APIPromise($do53(client, request, options));
51726
+ // src/funcs/vendorsListVendorTypes.ts
51727
+ function vendorsListVendorTypes(client, request, options) {
51728
+ return new APIPromise($do56(client, request, options));
50893
51729
  }
50894
- async function $do53(client, request, options) {
50895
- const parsed = safeParse(request, (value) => ListVendorScrubPurchasesRequest$outboundSchema.parse(value), "Input validation failed");
51730
+ async function $do56(client, request, options) {
51731
+ const parsed = safeParse(request, (value) => ListVendorTypesRequest$outboundSchema.parse(value), "Input validation failed");
50896
51732
  if (!parsed.ok) {
50897
51733
  return [haltIterator(parsed), { status: "invalid" }];
50898
51734
  }
50899
51735
  const payload = parsed.value;
50900
51736
  const body = null;
50901
- const pathParams = {
50902
- vendor_id_or_me: encodeSimple("vendor_id_or_me", payload.vendor_id_or_me, {
50903
- explode: false,
50904
- charEncoding: "percent"
50905
- })
50906
- };
50907
- const path = pathToFunc("/vendors/{vendor_id_or_me}/scrub_purchases")(pathParams);
51737
+ const path = pathToFunc("/vendors/types")();
50908
51738
  const query = encodeFormQuery({
50909
51739
  desc: payload.desc,
50910
51740
  items_per_page: payload.items_per_page,
@@ -50919,7 +51749,7 @@ async function $do53(client, request, options) {
50919
51749
  const context = {
50920
51750
  options: client._options,
50921
51751
  baseURL: options?.serverURL ?? client._baseURL ?? "",
50922
- operationID: "listVendorScrubPurchases",
51752
+ operationID: "listVendorTypes",
50923
51753
  oAuth2Scopes: [],
50924
51754
  resolvedSecurity: requestSecurity,
50925
51755
  securitySource: client._options.security,
@@ -50943,7 +51773,7 @@ async function $do53(client, request, options) {
50943
51773
  const req = requestRes.value;
50944
51774
  const doResult = await client._do(req, {
50945
51775
  context,
50946
- errorCodes: ["400", "401", "403", "4XX", "500", "5XX"],
51776
+ errorCodes: ["403", "4XX", "500", "5XX"],
50947
51777
  retryConfig: context.retryConfig,
50948
51778
  retryCodes: context.retryCodes
50949
51779
  });
@@ -50954,9 +51784,9 @@ async function $do53(client, request, options) {
50954
51784
  const responseFields = {
50955
51785
  HttpMeta: { Response: response, Request: req }
50956
51786
  };
50957
- const [result, raw] = await match(json(200, ListVendorScrubPurchasesResponse$inboundSchema, {
51787
+ const [result, raw] = await match(json(200, ListVendorTypesResponse$inboundSchema, {
50958
51788
  key: "Result"
50959
- }), jsonErr([400, 401, 403], ApiErrorResponse$inboundSchema), jsonErr(500, ApiErrorResponse$inboundSchema), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
51789
+ }), jsonErr(403, ApiErrorResponse$inboundSchema), jsonErr(500, ApiErrorResponse$inboundSchema), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
50960
51790
  if (!result.ok) {
50961
51791
  return [haltIterator(result), {
50962
51792
  status: "complete",
@@ -50978,7 +51808,7 @@ async function $do53(client, request, options) {
50978
51808
  if (results.length < limit) {
50979
51809
  return { next: () => null };
50980
51810
  }
50981
- const nextVal = () => vendorsListVendorScrubPurchases(client, {
51811
+ const nextVal = () => vendorsListVendorTypes(client, {
50982
51812
  ...request,
50983
51813
  page: nextPage
50984
51814
  }, options);
@@ -50991,7 +51821,7 @@ async function $do53(client, request, options) {
50991
51821
  response
50992
51822
  }];
50993
51823
  }
50994
- var init_vendorsListVendorScrubPurchases = __esm(() => {
51824
+ var init_vendorsListVendorTypes = __esm(() => {
50995
51825
  init_encodings();
50996
51826
  init_matchers();
50997
51827
  init_primitives();
@@ -51004,23 +51834,23 @@ var init_vendorsListVendorScrubPurchases = __esm(() => {
51004
51834
  init_operations2();
51005
51835
  });
51006
51836
 
51007
- // src/mcp-server/tools/vendorsListVendorScrubPurchases.ts
51008
- var args51, tool$vendorsListVendorScrubPurchases;
51009
- var init_vendorsListVendorScrubPurchases2 = __esm(() => {
51010
- init_vendorsListVendorScrubPurchases();
51837
+ // src/mcp-server/tools/vendorsListVendorTypes.ts
51838
+ var args54, tool$vendorsListVendorTypes;
51839
+ var init_vendorsListVendorTypes2 = __esm(() => {
51840
+ init_vendorsListVendorTypes();
51011
51841
  init_operations();
51012
51842
  init_tools();
51013
- args51 = {
51014
- request: ListVendorScrubPurchasesRequest$inboundSchema
51843
+ args54 = {
51844
+ request: ListVendorTypesRequest$inboundSchema
51015
51845
  };
51016
- tool$vendorsListVendorScrubPurchases = {
51017
- name: "vendors-list-vendor-scrub-purchases",
51018
- description: `List vendor scrub purchases
51846
+ tool$vendorsListVendorTypes = {
51847
+ name: "vendors-list-vendor-types",
51848
+ description: `List vendor types
51019
51849
 
51020
- List vendor scrub purchases`,
51021
- args: args51,
51022
- tool: async (client, args52, ctx) => {
51023
- const [result, apiCall] = await vendorsListVendorScrubPurchases(client, args52.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
51850
+ List vendor types.`,
51851
+ args: args54,
51852
+ tool: async (client, args55, ctx) => {
51853
+ const [result, apiCall] = await vendorsListVendorTypes(client, args55.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
51024
51854
  if (!result.ok) {
51025
51855
  return {
51026
51856
  content: [{ type: "text", text: result.error.message }],
@@ -51035,9 +51865,9 @@ List vendor scrub purchases`,
51035
51865
 
51036
51866
  // src/funcs/vendorsPurchaseScrubCredits.ts
51037
51867
  function vendorsPurchaseScrubCredits(client, request, options) {
51038
- return new APIPromise($do54(client, request, options));
51868
+ return new APIPromise($do57(client, request, options));
51039
51869
  }
51040
- async function $do54(client, request, options) {
51870
+ async function $do57(client, request, options) {
51041
51871
  const parsed = safeParse(request, (value) => PurchaseScrubCreditsRequest$outboundSchema.parse(value), "Input validation failed");
51042
51872
  if (!parsed.ok) {
51043
51873
  return [parsed, { status: "invalid" }];
@@ -51113,12 +51943,12 @@ var init_vendorsPurchaseScrubCredits = __esm(() => {
51113
51943
  });
51114
51944
 
51115
51945
  // src/mcp-server/tools/vendorsPurchaseScrubCredits.ts
51116
- var args52, tool$vendorsPurchaseScrubCredits;
51946
+ var args55, tool$vendorsPurchaseScrubCredits;
51117
51947
  var init_vendorsPurchaseScrubCredits2 = __esm(() => {
51118
51948
  init_vendorsPurchaseScrubCredits();
51119
51949
  init_operations();
51120
51950
  init_tools();
51121
- args52 = {
51951
+ args55 = {
51122
51952
  request: PurchaseScrubCreditsRequest$inboundSchema
51123
51953
  };
51124
51954
  tool$vendorsPurchaseScrubCredits = {
@@ -51126,9 +51956,9 @@ var init_vendorsPurchaseScrubCredits2 = __esm(() => {
51126
51956
  description: `Purchase scrub credits
51127
51957
 
51128
51958
  Purchase scrub credits`,
51129
- args: args52,
51130
- tool: async (client, args53, ctx) => {
51131
- const [result, apiCall] = await vendorsPurchaseScrubCredits(client, args53.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
51959
+ args: args55,
51960
+ tool: async (client, args56, ctx) => {
51961
+ const [result, apiCall] = await vendorsPurchaseScrubCredits(client, args56.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
51132
51962
  if (!result.ok) {
51133
51963
  return {
51134
51964
  content: [{ type: "text", text: result.error.message }],
@@ -51143,9 +51973,9 @@ Purchase scrub credits`,
51143
51973
 
51144
51974
  // src/funcs/vendorsSendDownloadCode.ts
51145
51975
  function vendorsSendDownloadCode(client, request, options) {
51146
- return new APIPromise($do55(client, request, options));
51976
+ return new APIPromise($do58(client, request, options));
51147
51977
  }
51148
- async function $do55(client, request, options) {
51978
+ async function $do58(client, request, options) {
51149
51979
  const parsed = safeParse(request, (value) => SendDownloadCodeRequest$outboundSchema.parse(value), "Input validation failed");
51150
51980
  if (!parsed.ok) {
51151
51981
  return [parsed, { status: "invalid" }];
@@ -51219,12 +52049,12 @@ var init_vendorsSendDownloadCode = __esm(() => {
51219
52049
  });
51220
52050
 
51221
52051
  // src/mcp-server/tools/vendorsSendDownloadCode.ts
51222
- var args53, tool$vendorsSendDownloadCode;
52052
+ var args56, tool$vendorsSendDownloadCode;
51223
52053
  var init_vendorsSendDownloadCode2 = __esm(() => {
51224
52054
  init_vendorsSendDownloadCode();
51225
52055
  init_operations();
51226
52056
  init_tools();
51227
- args53 = {
52057
+ args56 = {
51228
52058
  request: SendDownloadCodeRequest$inboundSchema
51229
52059
  };
51230
52060
  tool$vendorsSendDownloadCode = {
@@ -51232,9 +52062,9 @@ var init_vendorsSendDownloadCode2 = __esm(() => {
51232
52062
  description: `Send download code for vendor credential
51233
52063
 
51234
52064
  It will send download code for vendor credential`,
51235
- args: args53,
51236
- tool: async (client, args54, ctx) => {
51237
- const [result, apiCall] = await vendorsSendDownloadCode(client, args54.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
52065
+ args: args56,
52066
+ tool: async (client, args57, ctx) => {
52067
+ const [result, apiCall] = await vendorsSendDownloadCode(client, args57.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
51238
52068
  if (!result.ok) {
51239
52069
  return {
51240
52070
  content: [{ type: "text", text: result.error.message }],
@@ -51249,9 +52079,9 @@ It will send download code for vendor credential`,
51249
52079
 
51250
52080
  // src/funcs/vendorsSubmitVendorCredential.ts
51251
52081
  function vendorsSubmitVendorCredential(client, request, options) {
51252
- return new APIPromise($do56(client, request, options));
52082
+ return new APIPromise($do59(client, request, options));
51253
52083
  }
51254
- async function $do56(client, request, options) {
52084
+ async function $do59(client, request, options) {
51255
52085
  const parsed = safeParse(request, (value) => SubmitVendorCredentialRequest$outboundSchema.parse(value), "Input validation failed");
51256
52086
  if (!parsed.ok) {
51257
52087
  return [parsed, { status: "invalid" }];
@@ -51325,12 +52155,12 @@ var init_vendorsSubmitVendorCredential = __esm(() => {
51325
52155
  });
51326
52156
 
51327
52157
  // src/mcp-server/tools/vendorsSubmitVendorCredential.ts
51328
- var args54, tool$vendorsSubmitVendorCredential;
52158
+ var args57, tool$vendorsSubmitVendorCredential;
51329
52159
  var init_vendorsSubmitVendorCredential2 = __esm(() => {
51330
52160
  init_vendorsSubmitVendorCredential();
51331
52161
  init_operations();
51332
52162
  init_tools();
51333
- args54 = {
52163
+ args57 = {
51334
52164
  request: SubmitVendorCredentialRequest$inboundSchema
51335
52165
  };
51336
52166
  tool$vendorsSubmitVendorCredential = {
@@ -51338,9 +52168,9 @@ var init_vendorsSubmitVendorCredential2 = __esm(() => {
51338
52168
  description: `Submit vendor credential
51339
52169
 
51340
52170
  It will submit vendor credential`,
51341
- args: args54,
51342
- tool: async (client, args55, ctx) => {
51343
- const [result, apiCall] = await vendorsSubmitVendorCredential(client, args55.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
52171
+ args: args57,
52172
+ tool: async (client, args58, ctx) => {
52173
+ const [result, apiCall] = await vendorsSubmitVendorCredential(client, args58.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
51344
52174
  if (!result.ok) {
51345
52175
  return {
51346
52176
  content: [{ type: "text", text: result.error.message }],
@@ -51355,9 +52185,9 @@ It will submit vendor credential`,
51355
52185
 
51356
52186
  // src/funcs/vendorsUpdateVendorCredentialData.ts
51357
52187
  function vendorsUpdateVendorCredentialData(client, request, options) {
51358
- return new APIPromise($do57(client, request, options));
52188
+ return new APIPromise($do60(client, request, options));
51359
52189
  }
51360
- async function $do57(client, request, options) {
52190
+ async function $do60(client, request, options) {
51361
52191
  const parsed = safeParse(request, (value) => UpdateVendorCredentialDataRequest$outboundSchema.parse(value), "Input validation failed");
51362
52192
  if (!parsed.ok) {
51363
52193
  return [parsed, { status: "invalid" }];
@@ -51438,12 +52268,12 @@ var init_vendorsUpdateVendorCredentialData = __esm(() => {
51438
52268
  });
51439
52269
 
51440
52270
  // src/mcp-server/tools/vendorsUpdateVendorCredentialData.ts
51441
- var args55, tool$vendorsUpdateVendorCredentialData;
52271
+ var args58, tool$vendorsUpdateVendorCredentialData;
51442
52272
  var init_vendorsUpdateVendorCredentialData2 = __esm(() => {
51443
52273
  init_vendorsUpdateVendorCredentialData();
51444
52274
  init_operations();
51445
52275
  init_tools();
51446
- args55 = {
52276
+ args58 = {
51447
52277
  request: UpdateVendorCredentialDataRequest$inboundSchema
51448
52278
  };
51449
52279
  tool$vendorsUpdateVendorCredentialData = {
@@ -51451,9 +52281,9 @@ var init_vendorsUpdateVendorCredentialData2 = __esm(() => {
51451
52281
  description: `Update vendor credential data
51452
52282
 
51453
52283
  Update vendor credential data`,
51454
- args: args55,
51455
- tool: async (client, args56, ctx) => {
51456
- const [result, apiCall] = await vendorsUpdateVendorCredentialData(client, args56.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
52284
+ args: args58,
52285
+ tool: async (client, args59, ctx) => {
52286
+ const [result, apiCall] = await vendorsUpdateVendorCredentialData(client, args59.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
51457
52287
  if (!result.ok) {
51458
52288
  return {
51459
52289
  content: [{ type: "text", text: result.error.message }],
@@ -51468,9 +52298,9 @@ Update vendor credential data`,
51468
52298
 
51469
52299
  // src/funcs/vendorsUpdateVendorCredentialFile.ts
51470
52300
  function vendorsUpdateVendorCredentialFile(client, request, options) {
51471
- return new APIPromise($do58(client, request, options));
52301
+ return new APIPromise($do61(client, request, options));
51472
52302
  }
51473
- async function $do58(client, request, options) {
52303
+ async function $do61(client, request, options) {
51474
52304
  const parsed = safeParse(request, (value) => UpdateVendorCredentialFileRequest$outboundSchema.parse(value), "Input validation failed");
51475
52305
  if (!parsed.ok) {
51476
52306
  return [parsed, { status: "invalid" }];
@@ -51548,12 +52378,12 @@ var init_vendorsUpdateVendorCredentialFile = __esm(() => {
51548
52378
  });
51549
52379
 
51550
52380
  // src/mcp-server/tools/vendorsUpdateVendorCredentialFile.ts
51551
- var args56, tool$vendorsUpdateVendorCredentialFile;
52381
+ var args59, tool$vendorsUpdateVendorCredentialFile;
51552
52382
  var init_vendorsUpdateVendorCredentialFile2 = __esm(() => {
51553
52383
  init_vendorsUpdateVendorCredentialFile();
51554
52384
  init_operations();
51555
52385
  init_tools();
51556
- args56 = {
52386
+ args59 = {
51557
52387
  request: UpdateVendorCredentialFileRequest$inboundSchema
51558
52388
  };
51559
52389
  tool$vendorsUpdateVendorCredentialFile = {
@@ -51561,9 +52391,9 @@ var init_vendorsUpdateVendorCredentialFile2 = __esm(() => {
51561
52391
  description: `Update vendor credential file
51562
52392
 
51563
52393
  It will update the vendor credential file properties`,
51564
- args: args56,
51565
- tool: async (client, args57, ctx) => {
51566
- const [result, apiCall] = await vendorsUpdateVendorCredentialFile(client, args57.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
52394
+ args: args59,
52395
+ tool: async (client, args60, ctx) => {
52396
+ const [result, apiCall] = await vendorsUpdateVendorCredentialFile(client, args60.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
51567
52397
  if (!result.ok) {
51568
52398
  return {
51569
52399
  content: [{ type: "text", text: result.error.message }],
@@ -51578,9 +52408,9 @@ It will update the vendor credential file properties`,
51578
52408
 
51579
52409
  // src/funcs/vendorsUpdateVendorDetails.ts
51580
52410
  function vendorsUpdateVendorDetails(client, request, options) {
51581
- return new APIPromise($do59(client, request, options));
52411
+ return new APIPromise($do62(client, request, options));
51582
52412
  }
51583
- async function $do59(client, request, options) {
52413
+ async function $do62(client, request, options) {
51584
52414
  const parsed = safeParse(request, (value) => UpdateVendorDetailsRequest$outboundSchema.parse(value), "Input validation failed");
51585
52415
  if (!parsed.ok) {
51586
52416
  return [parsed, { status: "invalid" }];
@@ -51657,12 +52487,12 @@ var init_vendorsUpdateVendorDetails = __esm(() => {
51657
52487
  });
51658
52488
 
51659
52489
  // src/mcp-server/tools/vendorsUpdateVendorDetails.ts
51660
- var args57, tool$vendorsUpdateVendorDetails;
52490
+ var args60, tool$vendorsUpdateVendorDetails;
51661
52491
  var init_vendorsUpdateVendorDetails2 = __esm(() => {
51662
52492
  init_vendorsUpdateVendorDetails();
51663
52493
  init_operations();
51664
52494
  init_tools();
51665
- args57 = {
52495
+ args60 = {
51666
52496
  request: UpdateVendorDetailsRequest$inboundSchema
51667
52497
  };
51668
52498
  tool$vendorsUpdateVendorDetails = {
@@ -51670,9 +52500,9 @@ var init_vendorsUpdateVendorDetails2 = __esm(() => {
51670
52500
  description: `Update vendor details
51671
52501
 
51672
52502
  It will update the vendor details`,
51673
- args: args57,
51674
- tool: async (client, args58, ctx) => {
51675
- const [result, apiCall] = await vendorsUpdateVendorDetails(client, args58.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
52503
+ args: args60,
52504
+ tool: async (client, args61, ctx) => {
52505
+ const [result, apiCall] = await vendorsUpdateVendorDetails(client, args61.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
51676
52506
  if (!result.ok) {
51677
52507
  return {
51678
52508
  content: [{ type: "text", text: result.error.message }],
@@ -51687,9 +52517,9 @@ It will update the vendor details`,
51687
52517
 
51688
52518
  // src/funcs/vendorsUpdateVendorManagedByCompany.ts
51689
52519
  function vendorsUpdateVendorManagedByCompany(client, request, options) {
51690
- return new APIPromise($do60(client, request, options));
52520
+ return new APIPromise($do63(client, request, options));
51691
52521
  }
51692
- async function $do60(client, request, options) {
52522
+ async function $do63(client, request, options) {
51693
52523
  const parsed = safeParse(request, (value) => UpdateVendorManagedByCompanyRequest$outboundSchema.parse(value), "Input validation failed");
51694
52524
  if (!parsed.ok) {
51695
52525
  return [parsed, { status: "invalid" }];
@@ -51765,12 +52595,12 @@ var init_vendorsUpdateVendorManagedByCompany = __esm(() => {
51765
52595
  });
51766
52596
 
51767
52597
  // src/mcp-server/tools/vendorsUpdateVendorManagedByCompany.ts
51768
- var args58, tool$vendorsUpdateVendorManagedByCompany;
52598
+ var args61, tool$vendorsUpdateVendorManagedByCompany;
51769
52599
  var init_vendorsUpdateVendorManagedByCompany2 = __esm(() => {
51770
52600
  init_vendorsUpdateVendorManagedByCompany();
51771
52601
  init_operations();
51772
52602
  init_tools();
51773
- args58 = {
52603
+ args61 = {
51774
52604
  request: UpdateVendorManagedByCompanyRequest$inboundSchema
51775
52605
  };
51776
52606
  tool$vendorsUpdateVendorManagedByCompany = {
@@ -51778,9 +52608,9 @@ var init_vendorsUpdateVendorManagedByCompany2 = __esm(() => {
51778
52608
  description: `Update vendor managed by company access rights
51779
52609
 
51780
52610
  It will update the vendor managed by company access rights`,
51781
- args: args58,
51782
- tool: async (client, args59, ctx) => {
51783
- const [result, apiCall] = await vendorsUpdateVendorManagedByCompany(client, args59.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
52611
+ args: args61,
52612
+ tool: async (client, args62, ctx) => {
52613
+ const [result, apiCall] = await vendorsUpdateVendorManagedByCompany(client, args62.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
51784
52614
  if (!result.ok) {
51785
52615
  return {
51786
52616
  content: [{ type: "text", text: result.error.message }],
@@ -51795,9 +52625,9 @@ It will update the vendor managed by company access rights`,
51795
52625
 
51796
52626
  // src/funcs/vendorsUpdateVendorScrubDetails.ts
51797
52627
  function vendorsUpdateVendorScrubDetails(client, request, options) {
51798
- return new APIPromise($do61(client, request, options));
52628
+ return new APIPromise($do64(client, request, options));
51799
52629
  }
51800
- async function $do61(client, request, options) {
52630
+ async function $do64(client, request, options) {
51801
52631
  const parsed = safeParse(request, (value) => UpdateVendorScrubDetailsRequest$outboundSchema.parse(value), "Input validation failed");
51802
52632
  if (!parsed.ok) {
51803
52633
  return [parsed, { status: "invalid" }];
@@ -51874,12 +52704,12 @@ var init_vendorsUpdateVendorScrubDetails = __esm(() => {
51874
52704
  });
51875
52705
 
51876
52706
  // src/mcp-server/tools/vendorsUpdateVendorScrubDetails.ts
51877
- var args59, tool$vendorsUpdateVendorScrubDetails;
52707
+ var args62, tool$vendorsUpdateVendorScrubDetails;
51878
52708
  var init_vendorsUpdateVendorScrubDetails2 = __esm(() => {
51879
52709
  init_vendorsUpdateVendorScrubDetails();
51880
52710
  init_operations();
51881
52711
  init_tools();
51882
- args59 = {
52712
+ args62 = {
51883
52713
  request: UpdateVendorScrubDetailsRequest$inboundSchema
51884
52714
  };
51885
52715
  tool$vendorsUpdateVendorScrubDetails = {
@@ -51887,9 +52717,9 @@ var init_vendorsUpdateVendorScrubDetails2 = __esm(() => {
51887
52717
  description: `Update vendor scrub details
51888
52718
 
51889
52719
  Update vendor scrub details`,
51890
- args: args59,
51891
- tool: async (client, args60, ctx) => {
51892
- const [result, apiCall] = await vendorsUpdateVendorScrubDetails(client, args60.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
52720
+ args: args62,
52721
+ tool: async (client, args63, ctx) => {
52722
+ const [result, apiCall] = await vendorsUpdateVendorScrubDetails(client, args63.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
51893
52723
  if (!result.ok) {
51894
52724
  return {
51895
52725
  content: [{ type: "text", text: result.error.message }],
@@ -51904,9 +52734,9 @@ Update vendor scrub details`,
51904
52734
 
51905
52735
  // src/funcs/webhooksGetWebhookEndpoint.ts
51906
52736
  function webhooksGetWebhookEndpoint(client, request, options) {
51907
- return new APIPromise($do62(client, request, options));
52737
+ return new APIPromise($do65(client, request, options));
51908
52738
  }
51909
- async function $do62(client, request, options) {
52739
+ async function $do65(client, request, options) {
51910
52740
  const parsed = safeParse(request, (value) => GetWebhookEndpointRequest$outboundSchema.parse(value), "Input validation failed");
51911
52741
  if (!parsed.ok) {
51912
52742
  return [parsed, { status: "invalid" }];
@@ -51982,12 +52812,12 @@ var init_webhooksGetWebhookEndpoint = __esm(() => {
51982
52812
  });
51983
52813
 
51984
52814
  // src/mcp-server/tools/webhooksGetWebhookEndpoint.ts
51985
- var args60, tool$webhooksGetWebhookEndpoint;
52815
+ var args63, tool$webhooksGetWebhookEndpoint;
51986
52816
  var init_webhooksGetWebhookEndpoint2 = __esm(() => {
51987
52817
  init_webhooksGetWebhookEndpoint();
51988
52818
  init_operations();
51989
52819
  init_tools();
51990
- args60 = {
52820
+ args63 = {
51991
52821
  request: GetWebhookEndpointRequest$inboundSchema
51992
52822
  };
51993
52823
  tool$webhooksGetWebhookEndpoint = {
@@ -51995,9 +52825,9 @@ var init_webhooksGetWebhookEndpoint2 = __esm(() => {
51995
52825
  description: `Retrieves the webhook endpoint with the given ID.
51996
52826
 
51997
52827
  Returns the definition of a webhook endpoint by ID.`,
51998
- args: args60,
51999
- tool: async (client, args61, ctx) => {
52000
- const [result, apiCall] = await webhooksGetWebhookEndpoint(client, args61.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
52828
+ args: args63,
52829
+ tool: async (client, args64, ctx) => {
52830
+ const [result, apiCall] = await webhooksGetWebhookEndpoint(client, args64.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
52001
52831
  if (!result.ok) {
52002
52832
  return {
52003
52833
  content: [{ type: "text", text: result.error.message }],
@@ -52012,9 +52842,9 @@ Returns the definition of a webhook endpoint by ID.`,
52012
52842
 
52013
52843
  // src/funcs/webhooksListAllWebhookEndpoints.ts
52014
52844
  function webhooksListAllWebhookEndpoints(client, request, options) {
52015
- return new APIPromise($do63(client, request, options));
52845
+ return new APIPromise($do66(client, request, options));
52016
52846
  }
52017
- async function $do63(client, request, options) {
52847
+ async function $do66(client, request, options) {
52018
52848
  const parsed = safeParse(request, (value) => ListAllWebhookEndpointsRequest$outboundSchema.parse(value), "Input validation failed");
52019
52849
  if (!parsed.ok) {
52020
52850
  return [parsed, { status: "invalid" }];
@@ -52090,12 +52920,12 @@ var init_webhooksListAllWebhookEndpoints = __esm(() => {
52090
52920
  });
52091
52921
 
52092
52922
  // src/mcp-server/tools/webhooksListAllWebhookEndpoints.ts
52093
- var args61, tool$webhooksListAllWebhookEndpoints;
52923
+ var args64, tool$webhooksListAllWebhookEndpoints;
52094
52924
  var init_webhooksListAllWebhookEndpoints2 = __esm(() => {
52095
52925
  init_webhooksListAllWebhookEndpoints();
52096
52926
  init_operations();
52097
52927
  init_tools();
52098
- args61 = {
52928
+ args64 = {
52099
52929
  request: ListAllWebhookEndpointsRequest$inboundSchema
52100
52930
  };
52101
52931
  tool$webhooksListAllWebhookEndpoints = {
@@ -52103,9 +52933,9 @@ var init_webhooksListAllWebhookEndpoints2 = __esm(() => {
52103
52933
  description: `List all webhook endpoints
52104
52934
 
52105
52935
  Returns a list of your webhook endpoints.`,
52106
- args: args61,
52107
- tool: async (client, args62, ctx) => {
52108
- const [result, apiCall] = await webhooksListAllWebhookEndpoints(client, args62.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
52936
+ args: args64,
52937
+ tool: async (client, args65, ctx) => {
52938
+ const [result, apiCall] = await webhooksListAllWebhookEndpoints(client, args65.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
52109
52939
  if (!result.ok) {
52110
52940
  return {
52111
52941
  content: [{ type: "text", text: result.error.message }],
@@ -52120,9 +52950,9 @@ Returns a list of your webhook endpoints.`,
52120
52950
 
52121
52951
  // src/funcs/webhooksUpdatesTheWebhookEndpointWithTheGivenId.ts
52122
52952
  function webhooksUpdatesTheWebhookEndpointWithTheGivenId(client, request, options) {
52123
- return new APIPromise($do64(client, request, options));
52953
+ return new APIPromise($do67(client, request, options));
52124
52954
  }
52125
- async function $do64(client, request, options) {
52955
+ async function $do67(client, request, options) {
52126
52956
  const parsed = safeParse(request, (value) => UpdatesTheWebhookEndpointWithTheGivenIdRequest$outboundSchema.parse(value), "Input validation failed");
52127
52957
  if (!parsed.ok) {
52128
52958
  return [parsed, { status: "invalid" }];
@@ -52199,12 +53029,12 @@ var init_webhooksUpdatesTheWebhookEndpointWithTheGivenId = __esm(() => {
52199
53029
  });
52200
53030
 
52201
53031
  // src/mcp-server/tools/webhooksUpdatesTheWebhookEndpointWithTheGivenId.ts
52202
- var args62, tool$webhooksUpdatesTheWebhookEndpointWithTheGivenId;
53032
+ var args65, tool$webhooksUpdatesTheWebhookEndpointWithTheGivenId;
52203
53033
  var init_webhooksUpdatesTheWebhookEndpointWithTheGivenId2 = __esm(() => {
52204
53034
  init_webhooksUpdatesTheWebhookEndpointWithTheGivenId();
52205
53035
  init_operations();
52206
53036
  init_tools();
52207
- args62 = {
53037
+ args65 = {
52208
53038
  request: UpdatesTheWebhookEndpointWithTheGivenIdRequest$inboundSchema
52209
53039
  };
52210
53040
  tool$webhooksUpdatesTheWebhookEndpointWithTheGivenId = {
@@ -52212,9 +53042,9 @@ var init_webhooksUpdatesTheWebhookEndpointWithTheGivenId2 = __esm(() => {
52212
53042
  description: `Updates the webhook endpoint with the given ID.
52213
53043
 
52214
53044
  Updates the webhook endpoint with the given ID.`,
52215
- args: args62,
52216
- tool: async (client, args63, ctx) => {
52217
- const [result, apiCall] = await webhooksUpdatesTheWebhookEndpointWithTheGivenId(client, args63.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
53045
+ args: args65,
53046
+ tool: async (client, args66, ctx) => {
53047
+ const [result, apiCall] = await webhooksUpdatesTheWebhookEndpointWithTheGivenId(client, args66.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
52218
53048
  if (!result.ok) {
52219
53049
  return {
52220
53050
  content: [{ type: "text", text: result.error.message }],
@@ -52229,9 +53059,9 @@ Updates the webhook endpoint with the given ID.`,
52229
53059
 
52230
53060
  // src/funcs/zonesGetSecurityZone.ts
52231
53061
  function zonesGetSecurityZone(client, request, options) {
52232
- return new APIPromise($do65(client, request, options));
53062
+ return new APIPromise($do68(client, request, options));
52233
53063
  }
52234
- async function $do65(client, request, options) {
53064
+ async function $do68(client, request, options) {
52235
53065
  const parsed = safeParse(request, (value) => GetSecurityZoneRequest$outboundSchema.parse(value), "Input validation failed");
52236
53066
  if (!parsed.ok) {
52237
53067
  return [parsed, { status: "invalid" }];
@@ -52311,12 +53141,12 @@ var init_zonesGetSecurityZone = __esm(() => {
52311
53141
  });
52312
53142
 
52313
53143
  // src/mcp-server/tools/zonesGetSecurityZone.ts
52314
- var args63, tool$zonesGetSecurityZone;
53144
+ var args66, tool$zonesGetSecurityZone;
52315
53145
  var init_zonesGetSecurityZone2 = __esm(() => {
52316
53146
  init_zonesGetSecurityZone();
52317
53147
  init_operations();
52318
53148
  init_tools();
52319
- args63 = {
53149
+ args66 = {
52320
53150
  request: GetSecurityZoneRequest$inboundSchema
52321
53151
  };
52322
53152
  tool$zonesGetSecurityZone = {
@@ -52330,9 +53160,9 @@ Available \`expand\` scopes are:
52330
53160
  - zone.facility
52331
53161
  - zone.department
52332
53162
  - zone.rules`,
52333
- args: args63,
52334
- tool: async (client, args64, ctx) => {
52335
- const [result, apiCall] = await zonesGetSecurityZone(client, args64.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
53163
+ args: args66,
53164
+ tool: async (client, args67, ctx) => {
53165
+ const [result, apiCall] = await zonesGetSecurityZone(client, args67.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
52336
53166
  if (!result.ok) {
52337
53167
  return {
52338
53168
  content: [{ type: "text", text: result.error.message }],
@@ -52347,9 +53177,9 @@ Available \`expand\` scopes are:
52347
53177
 
52348
53178
  // src/funcs/zonesListOrSearchSecurityZones.ts
52349
53179
  function zonesListOrSearchSecurityZones(client, request, options) {
52350
- return new APIPromise($do66(client, request, options));
53180
+ return new APIPromise($do69(client, request, options));
52351
53181
  }
52352
- async function $do66(client, request, options) {
53182
+ async function $do69(client, request, options) {
52353
53183
  const parsed = safeParse(request, (value) => ListOrSearchSecurityZonesRequest$outboundSchema.parse(value), "Input validation failed");
52354
53184
  if (!parsed.ok) {
52355
53185
  return [haltIterator(parsed), { status: "invalid" }];
@@ -52463,12 +53293,12 @@ var init_zonesListOrSearchSecurityZones = __esm(() => {
52463
53293
  });
52464
53294
 
52465
53295
  // src/mcp-server/tools/zonesListOrSearchSecurityZones.ts
52466
- var args64, tool$zonesListOrSearchSecurityZones;
53296
+ var args67, tool$zonesListOrSearchSecurityZones;
52467
53297
  var init_zonesListOrSearchSecurityZones2 = __esm(() => {
52468
53298
  init_zonesListOrSearchSecurityZones();
52469
53299
  init_operations();
52470
53300
  init_tools();
52471
- args64 = {
53301
+ args67 = {
52472
53302
  request: ListOrSearchSecurityZonesRequest$inboundSchema
52473
53303
  };
52474
53304
  tool$zonesListOrSearchSecurityZones = {
@@ -52476,9 +53306,9 @@ var init_zonesListOrSearchSecurityZones2 = __esm(() => {
52476
53306
  description: `List or search security zones
52477
53307
 
52478
53308
  List or search security zones`,
52479
- args: args64,
52480
- tool: async (client, args65, ctx) => {
52481
- const [result, apiCall] = await zonesListOrSearchSecurityZones(client, args65.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
53309
+ args: args67,
53310
+ tool: async (client, args68, ctx) => {
53311
+ const [result, apiCall] = await zonesListOrSearchSecurityZones(client, args68.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
52482
53312
  if (!result.ok) {
52483
53313
  return {
52484
53314
  content: [{ type: "text", text: result.error.message }],
@@ -52493,9 +53323,9 @@ List or search security zones`,
52493
53323
 
52494
53324
  // src/funcs/zonesSecurityZoneCheckin.ts
52495
53325
  function zonesSecurityZoneCheckin(client, request, options) {
52496
- return new APIPromise($do67(client, request, options));
53326
+ return new APIPromise($do70(client, request, options));
52497
53327
  }
52498
- async function $do67(client, request, options) {
53328
+ async function $do70(client, request, options) {
52499
53329
  const parsed = safeParse(request, (value) => SecurityZoneCheckinRequestBody$outboundSchema.parse(value), "Input validation failed");
52500
53330
  if (!parsed.ok) {
52501
53331
  return [parsed, { status: "invalid" }];
@@ -52565,12 +53395,12 @@ var init_zonesSecurityZoneCheckin = __esm(() => {
52565
53395
  });
52566
53396
 
52567
53397
  // src/mcp-server/tools/zonesSecurityZoneCheckin.ts
52568
- var args65, tool$zonesSecurityZoneCheckin;
53398
+ var args68, tool$zonesSecurityZoneCheckin;
52569
53399
  var init_zonesSecurityZoneCheckin2 = __esm(() => {
52570
53400
  init_zonesSecurityZoneCheckin();
52571
53401
  init_operations();
52572
53402
  init_tools();
52573
- args65 = {
53403
+ args68 = {
52574
53404
  request: SecurityZoneCheckinRequestBody$inboundSchema
52575
53405
  };
52576
53406
  tool$zonesSecurityZoneCheckin = {
@@ -52578,9 +53408,9 @@ var init_zonesSecurityZoneCheckin2 = __esm(() => {
52578
53408
  description: `Security zone checkin request
52579
53409
 
52580
53410
  Security zone checkin request`,
52581
- args: args65,
52582
- tool: async (client, args66, ctx) => {
52583
- const [result, apiCall] = await zonesSecurityZoneCheckin(client, args66.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
53411
+ args: args68,
53412
+ tool: async (client, args69, ctx) => {
53413
+ const [result, apiCall] = await zonesSecurityZoneCheckin(client, args69.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
52584
53414
  if (!result.ok) {
52585
53415
  return {
52586
53416
  content: [{ type: "text", text: result.error.message }],
@@ -52597,7 +53427,7 @@ Security zone checkin request`,
52597
53427
  function createMCPServer(deps) {
52598
53428
  const server = new McpServer({
52599
53429
  name: "GreenSecurity",
52600
- version: "0.37.10"
53430
+ version: "0.37.12"
52601
53431
  });
52602
53432
  const client = new GreenSecurityCore({
52603
53433
  security: deps.security,
@@ -52613,6 +53443,7 @@ function createMCPServer(deps) {
52613
53443
  const register = { tool, resource, resourceTemplate, prompt };
52614
53444
  tool(tool$vendorsCreateVendorRegistration);
52615
53445
  tool(tool$vendorsListVendorJobTitles);
53446
+ tool(tool$vendorsListVendorTypes);
52616
53447
  tool(tool$vendorsListVendorCredentials);
52617
53448
  tool(tool$vendorsGetVendorCredentialDetails);
52618
53449
  tool(tool$vendorsUpdateVendorCredentialData);
@@ -52632,6 +53463,8 @@ function createMCPServer(deps) {
52632
53463
  tool(tool$vendorsListVendorCredentialHistory);
52633
53464
  tool(tool$vendorsListVendorCredentialDataRequests);
52634
53465
  tool(tool$vendorsExpediteTimeRemaining);
53466
+ tool(tool$vendorsGetSubscription);
53467
+ tool(tool$vendorsChangeSubscription);
52635
53468
  tool(tool$vendorsListVendorInvoices);
52636
53469
  tool(tool$vendorsGetVendorInvoiceDetails);
52637
53470
  tool(tool$vendorsListVendorFacilityStatuses);
@@ -52650,7 +53483,6 @@ function createMCPServer(deps) {
52650
53483
  tool(tool$vendorsPurchaseScrubCredits);
52651
53484
  tool(tool$vendorsCreateVendorCompany);
52652
53485
  tool(tool$vendorsCalculateSubscriptionPrice);
52653
- tool(tool$vendorsChangeSubscription);
52654
53486
  tool(tool$usersGetCurrentUser);
52655
53487
  tool(tool$usersGetUserById);
52656
53488
  tool(tool$usersPostAuthenticate);
@@ -52678,6 +53510,7 @@ function createMCPServer(deps) {
52678
53510
  tool(tool$invoicesCreateInvoice);
52679
53511
  tool(tool$invoicesUpdateInvoice);
52680
53512
  tool(tool$invoicesMakePayment);
53513
+ tool(tool$systemsListSystems);
52681
53514
  return server;
52682
53515
  }
52683
53516
  var init_server2 = __esm(() => {
@@ -52697,6 +53530,7 @@ var init_server2 = __esm(() => {
52697
53530
  init_organizationsListOrSearchFacilities2();
52698
53531
  init_supportArticlesGetSupportArticle2();
52699
53532
  init_supportArticlesListOrSearchSupportArticles2();
53533
+ init_systemsListSystems2();
52700
53534
  init_usersChangePassword2();
52701
53535
  init_usersGetCurrentUser2();
52702
53536
  init_usersGetUserById2();
@@ -52720,6 +53554,7 @@ var init_server2 = __esm(() => {
52720
53554
  init_vendorsDeleteVendorCredentialFile2();
52721
53555
  init_vendorsDeleteVendorManagedByCompany2();
52722
53556
  init_vendorsExpediteTimeRemaining2();
53557
+ init_vendorsGetSubscription2();
52723
53558
  init_vendorsGetVendorCredentialDetails2();
52724
53559
  init_vendorsGetVendorCredentialFile2();
52725
53560
  init_vendorsGetVendorInvoiceDetails2();
@@ -52738,6 +53573,7 @@ var init_server2 = __esm(() => {
52738
53573
  init_vendorsListVendorScrubDetails2();
52739
53574
  init_vendorsListVendorScrubPackages2();
52740
53575
  init_vendorsListVendorScrubPurchases2();
53576
+ init_vendorsListVendorTypes2();
52741
53577
  init_vendorsPurchaseScrubCredits2();
52742
53578
  init_vendorsSendDownloadCode2();
52743
53579
  init_vendorsSubmitVendorCredential2();
@@ -53943,7 +54779,7 @@ var routes = rn({
53943
54779
  var app = Ve(routes, {
53944
54780
  name: "mcp",
53945
54781
  versionInfo: {
53946
- currentVersion: "0.37.10"
54782
+ currentVersion: "0.37.12"
53947
54783
  }
53948
54784
  });
53949
54785
  _t(app, process3.argv.slice(2), buildContext(process3));
@@ -53951,5 +54787,5 @@ export {
53951
54787
  app
53952
54788
  };
53953
54789
 
53954
- //# debugId=AE033C35D4E79E9A64756E2164756E21
54790
+ //# debugId=970885AD8C048A6364756E2164756E21
53955
54791
  //# sourceMappingURL=mcp-server.js.map