@greensecurity/javascript-sdk 0.30.55 → 0.31.3

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 (251) hide show
  1. package/README.md +11 -27
  2. package/bin/mcp-server.js +630 -277
  3. package/bin/mcp-server.js.map +21 -13
  4. package/dist/commonjs/__tests__/vendors.test.js +53 -9
  5. package/dist/commonjs/__tests__/vendors.test.js.map +1 -1
  6. package/dist/commonjs/__tests__/webhooks.test.js +1 -1
  7. package/dist/commonjs/__tests__/webhooks.test.js.map +1 -1
  8. package/dist/commonjs/__tests__/zones.test.js +61 -4
  9. package/dist/commonjs/__tests__/zones.test.js.map +1 -1
  10. package/dist/commonjs/admin-funcs/doAdmin.d.ts +21 -0
  11. package/dist/commonjs/admin-funcs/doAdmin.d.ts.map +1 -0
  12. package/dist/commonjs/admin-funcs/doAdmin.js +118 -0
  13. package/dist/commonjs/admin-funcs/doAdmin.js.map +1 -0
  14. package/dist/commonjs/admin-funcs/facilitiesGetInvoice.d.ts +14 -0
  15. package/dist/commonjs/admin-funcs/facilitiesGetInvoice.d.ts.map +1 -0
  16. package/dist/commonjs/admin-funcs/facilitiesGetInvoice.js +15 -0
  17. package/dist/commonjs/admin-funcs/facilitiesGetInvoice.js.map +1 -0
  18. package/dist/commonjs/funcs/vendorsDeclineVendorCredential.d.ts +17 -0
  19. package/dist/commonjs/funcs/vendorsDeclineVendorCredential.d.ts.map +1 -0
  20. package/dist/commonjs/funcs/vendorsDeclineVendorCredential.js +118 -0
  21. package/dist/commonjs/funcs/vendorsDeclineVendorCredential.js.map +1 -0
  22. package/dist/commonjs/funcs/vendorsListVendorCredentialFiles.d.ts +23 -0
  23. package/dist/commonjs/funcs/vendorsListVendorCredentialFiles.d.ts.map +1 -0
  24. package/dist/commonjs/funcs/vendorsListVendorCredentialFiles.js +133 -0
  25. package/dist/commonjs/funcs/vendorsListVendorCredentialFiles.js.map +1 -0
  26. package/dist/commonjs/funcs/vendorsListVendorJobTitles.d.ts +1 -1
  27. package/dist/commonjs/funcs/vendorsListVendorJobTitles.d.ts.map +1 -1
  28. package/dist/commonjs/funcs/vendorsListVendorJobTitles.js +8 -19
  29. package/dist/commonjs/funcs/vendorsListVendorJobTitles.js.map +1 -1
  30. package/dist/commonjs/index.d.ts +1 -0
  31. package/dist/commonjs/index.d.ts.map +1 -1
  32. package/dist/commonjs/index.extras.d.ts +5 -0
  33. package/dist/commonjs/index.extras.d.ts.map +1 -0
  34. package/dist/commonjs/index.extras.js +9 -0
  35. package/dist/commonjs/index.extras.js.map +1 -0
  36. package/dist/commonjs/index.js +1 -0
  37. package/dist/commonjs/index.js.map +1 -1
  38. package/dist/commonjs/lib/config.d.ts +3 -3
  39. package/dist/commonjs/lib/config.js +3 -3
  40. package/dist/commonjs/lib/config.js.map +1 -1
  41. package/dist/commonjs/mcp-server/mcp-server.js +1 -1
  42. package/dist/commonjs/mcp-server/mcp-server.js.map +1 -1
  43. package/dist/commonjs/mcp-server/server.d.ts.map +1 -1
  44. package/dist/commonjs/mcp-server/server.js +7 -1
  45. package/dist/commonjs/mcp-server/server.js.map +1 -1
  46. package/dist/commonjs/mcp-server/tools/vendorsDeclineVendorCredential.d.ts +8 -0
  47. package/dist/commonjs/mcp-server/tools/vendorsDeclineVendorCredential.d.ts.map +1 -0
  48. package/dist/commonjs/mcp-server/tools/vendorsDeclineVendorCredential.js +64 -0
  49. package/dist/commonjs/mcp-server/tools/vendorsDeclineVendorCredential.js.map +1 -0
  50. package/dist/commonjs/mcp-server/tools/vendorsListVendorCredentialFiles.d.ts +8 -0
  51. package/dist/commonjs/mcp-server/tools/vendorsListVendorCredentialFiles.d.ts.map +1 -0
  52. package/dist/commonjs/mcp-server/tools/vendorsListVendorCredentialFiles.js +69 -0
  53. package/dist/commonjs/mcp-server/tools/vendorsListVendorCredentialFiles.js.map +1 -0
  54. package/dist/commonjs/mcp-server/tools/vendorsListVendorJobTitles.d.ts +8 -0
  55. package/dist/commonjs/mcp-server/tools/vendorsListVendorJobTitles.d.ts.map +1 -0
  56. package/dist/commonjs/mcp-server/tools/vendorsListVendorJobTitles.js +64 -0
  57. package/dist/commonjs/mcp-server/tools/vendorsListVendorJobTitles.js.map +1 -0
  58. package/dist/commonjs/models/components/facility.d.ts +2 -2
  59. package/dist/commonjs/models/components/facility.d.ts.map +1 -1
  60. package/dist/commonjs/models/components/facility.js +2 -2
  61. package/dist/commonjs/models/components/facility.js.map +1 -1
  62. package/dist/commonjs/models/components/vendor.d.ts +5 -31
  63. package/dist/commonjs/models/components/vendor.d.ts.map +1 -1
  64. package/dist/commonjs/models/components/vendor.js +7 -34
  65. package/dist/commonjs/models/components/vendor.js.map +1 -1
  66. package/dist/commonjs/models/components/vendorcredentialsummary.d.ts +2 -2
  67. package/dist/commonjs/models/components/vendorcredentialsummary.js +2 -2
  68. package/dist/commonjs/models/components/vendortype.d.ts +4 -42
  69. package/dist/commonjs/models/components/vendortype.d.ts.map +1 -1
  70. package/dist/commonjs/models/components/vendortype.js +5 -69
  71. package/dist/commonjs/models/components/vendortype.js.map +1 -1
  72. package/dist/commonjs/models/components/zoneconfig.d.ts +15 -15
  73. package/dist/commonjs/models/components/zoneconfig.d.ts.map +1 -1
  74. package/dist/commonjs/models/components/zoneconfig.js +18 -18
  75. package/dist/commonjs/models/components/zoneconfig.js.map +1 -1
  76. package/dist/commonjs/models/operations/declinevendorcredential.d.ts +32 -0
  77. package/dist/commonjs/models/operations/declinevendorcredential.d.ts.map +1 -0
  78. package/dist/commonjs/models/operations/declinevendorcredential.js +78 -0
  79. package/dist/commonjs/models/operations/declinevendorcredential.js.map +1 -0
  80. package/dist/commonjs/models/operations/index.d.ts +2 -0
  81. package/dist/commonjs/models/operations/index.d.ts.map +1 -1
  82. package/dist/commonjs/models/operations/index.js +2 -0
  83. package/dist/commonjs/models/operations/index.js.map +1 -1
  84. package/dist/commonjs/models/operations/listvendorcredentialfiles.d.ts +58 -0
  85. package/dist/commonjs/models/operations/listvendorcredentialfiles.d.ts.map +1 -0
  86. package/dist/commonjs/models/operations/listvendorcredentialfiles.js +91 -0
  87. package/dist/commonjs/models/operations/listvendorcredentialfiles.js.map +1 -0
  88. package/dist/commonjs/models/operations/listvendorjobtitles.d.ts +0 -27
  89. package/dist/commonjs/models/operations/listvendorjobtitles.d.ts.map +1 -1
  90. package/dist/commonjs/models/operations/listvendorjobtitles.js +1 -38
  91. package/dist/commonjs/models/operations/listvendorjobtitles.js.map +1 -1
  92. package/dist/commonjs/react-query/index.d.ts +2 -0
  93. package/dist/commonjs/react-query/index.d.ts.map +1 -1
  94. package/dist/commonjs/react-query/index.js +2 -0
  95. package/dist/commonjs/react-query/index.js.map +1 -1
  96. package/dist/commonjs/react-query/vendorsDeclineVendorCredential.d.ts +23 -0
  97. package/dist/commonjs/react-query/vendorsDeclineVendorCredential.d.ts.map +1 -0
  98. package/dist/commonjs/react-query/vendorsDeclineVendorCredential.js +51 -0
  99. package/dist/commonjs/react-query/vendorsDeclineVendorCredential.js.map +1 -0
  100. package/dist/commonjs/react-query/vendorsListVendorCredentialFiles.d.ts +65 -0
  101. package/dist/commonjs/react-query/vendorsListVendorCredentialFiles.d.ts.map +1 -0
  102. package/dist/commonjs/react-query/vendorsListVendorCredentialFiles.js +113 -0
  103. package/dist/commonjs/react-query/vendorsListVendorCredentialFiles.js.map +1 -0
  104. package/dist/commonjs/react-query/vendorsListVendorJobTitles.d.ts +7 -7
  105. package/dist/commonjs/react-query/vendorsListVendorJobTitles.d.ts.map +1 -1
  106. package/dist/commonjs/react-query/vendorsListVendorJobTitles.js +15 -15
  107. package/dist/commonjs/react-query/vendorsListVendorJobTitles.js.map +1 -1
  108. package/dist/commonjs/sdk/vendors.d.ts +20 -1
  109. package/dist/commonjs/sdk/vendors.d.ts.map +1 -1
  110. package/dist/commonjs/sdk/vendors.js +27 -2
  111. package/dist/commonjs/sdk/vendors.js.map +1 -1
  112. package/dist/esm/__tests__/vendors.test.js +53 -9
  113. package/dist/esm/__tests__/vendors.test.js.map +1 -1
  114. package/dist/esm/__tests__/webhooks.test.js +1 -1
  115. package/dist/esm/__tests__/webhooks.test.js.map +1 -1
  116. package/dist/esm/__tests__/zones.test.js +61 -4
  117. package/dist/esm/__tests__/zones.test.js.map +1 -1
  118. package/dist/esm/admin-funcs/doAdmin.d.ts +21 -0
  119. package/dist/esm/admin-funcs/doAdmin.d.ts.map +1 -0
  120. package/dist/esm/admin-funcs/doAdmin.js +82 -0
  121. package/dist/esm/admin-funcs/doAdmin.js.map +1 -0
  122. package/dist/esm/admin-funcs/facilitiesGetInvoice.d.ts +14 -0
  123. package/dist/esm/admin-funcs/facilitiesGetInvoice.d.ts.map +1 -0
  124. package/dist/esm/admin-funcs/facilitiesGetInvoice.js +12 -0
  125. package/dist/esm/admin-funcs/facilitiesGetInvoice.js.map +1 -0
  126. package/dist/esm/funcs/vendorsDeclineVendorCredential.d.ts +17 -0
  127. package/dist/esm/funcs/vendorsDeclineVendorCredential.d.ts.map +1 -0
  128. package/dist/esm/funcs/vendorsDeclineVendorCredential.js +82 -0
  129. package/dist/esm/funcs/vendorsDeclineVendorCredential.js.map +1 -0
  130. package/dist/esm/funcs/vendorsListVendorCredentialFiles.d.ts +23 -0
  131. package/dist/esm/funcs/vendorsListVendorCredentialFiles.d.ts.map +1 -0
  132. package/dist/esm/funcs/vendorsListVendorCredentialFiles.js +97 -0
  133. package/dist/esm/funcs/vendorsListVendorCredentialFiles.js.map +1 -0
  134. package/dist/esm/funcs/vendorsListVendorJobTitles.d.ts +1 -1
  135. package/dist/esm/funcs/vendorsListVendorJobTitles.d.ts.map +1 -1
  136. package/dist/esm/funcs/vendorsListVendorJobTitles.js +9 -20
  137. package/dist/esm/funcs/vendorsListVendorJobTitles.js.map +1 -1
  138. package/dist/esm/index.d.ts +1 -0
  139. package/dist/esm/index.d.ts.map +1 -1
  140. package/dist/esm/index.extras.d.ts +5 -0
  141. package/dist/esm/index.extras.d.ts.map +1 -0
  142. package/dist/esm/index.extras.js +6 -0
  143. package/dist/esm/index.extras.js.map +1 -0
  144. package/dist/esm/index.js +1 -0
  145. package/dist/esm/index.js.map +1 -1
  146. package/dist/esm/lib/config.d.ts +3 -3
  147. package/dist/esm/lib/config.js +3 -3
  148. package/dist/esm/lib/config.js.map +1 -1
  149. package/dist/esm/mcp-server/mcp-server.js +1 -1
  150. package/dist/esm/mcp-server/mcp-server.js.map +1 -1
  151. package/dist/esm/mcp-server/server.d.ts.map +1 -1
  152. package/dist/esm/mcp-server/server.js +7 -1
  153. package/dist/esm/mcp-server/server.js.map +1 -1
  154. package/dist/esm/mcp-server/tools/vendorsDeclineVendorCredential.d.ts +8 -0
  155. package/dist/esm/mcp-server/tools/vendorsDeclineVendorCredential.d.ts.map +1 -0
  156. package/dist/esm/mcp-server/tools/vendorsDeclineVendorCredential.js +28 -0
  157. package/dist/esm/mcp-server/tools/vendorsDeclineVendorCredential.js.map +1 -0
  158. package/dist/esm/mcp-server/tools/vendorsListVendorCredentialFiles.d.ts +8 -0
  159. package/dist/esm/mcp-server/tools/vendorsListVendorCredentialFiles.d.ts.map +1 -0
  160. package/dist/esm/mcp-server/tools/vendorsListVendorCredentialFiles.js +33 -0
  161. package/dist/esm/mcp-server/tools/vendorsListVendorCredentialFiles.js.map +1 -0
  162. package/dist/esm/mcp-server/tools/vendorsListVendorJobTitles.d.ts +8 -0
  163. package/dist/esm/mcp-server/tools/vendorsListVendorJobTitles.d.ts.map +1 -0
  164. package/dist/esm/mcp-server/tools/vendorsListVendorJobTitles.js +28 -0
  165. package/dist/esm/mcp-server/tools/vendorsListVendorJobTitles.js.map +1 -0
  166. package/dist/esm/models/components/facility.d.ts +2 -2
  167. package/dist/esm/models/components/facility.d.ts.map +1 -1
  168. package/dist/esm/models/components/facility.js +2 -2
  169. package/dist/esm/models/components/facility.js.map +1 -1
  170. package/dist/esm/models/components/vendor.d.ts +5 -31
  171. package/dist/esm/models/components/vendor.d.ts.map +1 -1
  172. package/dist/esm/models/components/vendor.js +6 -31
  173. package/dist/esm/models/components/vendor.js.map +1 -1
  174. package/dist/esm/models/components/vendorcredentialsummary.d.ts +2 -2
  175. package/dist/esm/models/components/vendorcredentialsummary.js +2 -2
  176. package/dist/esm/models/components/vendortype.d.ts +4 -42
  177. package/dist/esm/models/components/vendortype.d.ts.map +1 -1
  178. package/dist/esm/models/components/vendortype.js +4 -66
  179. package/dist/esm/models/components/vendortype.js.map +1 -1
  180. package/dist/esm/models/components/zoneconfig.d.ts +15 -15
  181. package/dist/esm/models/components/zoneconfig.d.ts.map +1 -1
  182. package/dist/esm/models/components/zoneconfig.js +15 -15
  183. package/dist/esm/models/components/zoneconfig.js.map +1 -1
  184. package/dist/esm/models/operations/declinevendorcredential.d.ts +32 -0
  185. package/dist/esm/models/operations/declinevendorcredential.d.ts.map +1 -0
  186. package/dist/esm/models/operations/declinevendorcredential.js +40 -0
  187. package/dist/esm/models/operations/declinevendorcredential.js.map +1 -0
  188. package/dist/esm/models/operations/index.d.ts +2 -0
  189. package/dist/esm/models/operations/index.d.ts.map +1 -1
  190. package/dist/esm/models/operations/index.js +2 -0
  191. package/dist/esm/models/operations/index.js.map +1 -1
  192. package/dist/esm/models/operations/listvendorcredentialfiles.d.ts +58 -0
  193. package/dist/esm/models/operations/listvendorcredentialfiles.d.ts.map +1 -0
  194. package/dist/esm/models/operations/listvendorcredentialfiles.js +53 -0
  195. package/dist/esm/models/operations/listvendorcredentialfiles.js.map +1 -0
  196. package/dist/esm/models/operations/listvendorjobtitles.d.ts +0 -27
  197. package/dist/esm/models/operations/listvendorjobtitles.d.ts.map +1 -1
  198. package/dist/esm/models/operations/listvendorjobtitles.js +0 -35
  199. package/dist/esm/models/operations/listvendorjobtitles.js.map +1 -1
  200. package/dist/esm/react-query/index.d.ts +2 -0
  201. package/dist/esm/react-query/index.d.ts.map +1 -1
  202. package/dist/esm/react-query/index.js +2 -0
  203. package/dist/esm/react-query/index.js.map +1 -1
  204. package/dist/esm/react-query/vendorsDeclineVendorCredential.d.ts +23 -0
  205. package/dist/esm/react-query/vendorsDeclineVendorCredential.d.ts.map +1 -0
  206. package/dist/esm/react-query/vendorsDeclineVendorCredential.js +46 -0
  207. package/dist/esm/react-query/vendorsDeclineVendorCredential.js.map +1 -0
  208. package/dist/esm/react-query/vendorsListVendorCredentialFiles.d.ts +65 -0
  209. package/dist/esm/react-query/vendorsListVendorCredentialFiles.d.ts.map +1 -0
  210. package/dist/esm/react-query/vendorsListVendorCredentialFiles.js +103 -0
  211. package/dist/esm/react-query/vendorsListVendorCredentialFiles.js.map +1 -0
  212. package/dist/esm/react-query/vendorsListVendorJobTitles.d.ts +7 -7
  213. package/dist/esm/react-query/vendorsListVendorJobTitles.d.ts.map +1 -1
  214. package/dist/esm/react-query/vendorsListVendorJobTitles.js +15 -15
  215. package/dist/esm/react-query/vendorsListVendorJobTitles.js.map +1 -1
  216. package/dist/esm/sdk/vendors.d.ts +20 -1
  217. package/dist/esm/sdk/vendors.d.ts.map +1 -1
  218. package/dist/esm/sdk/vendors.js +27 -2
  219. package/dist/esm/sdk/vendors.js.map +1 -1
  220. package/jsr.json +1 -1
  221. package/package.json +1 -1
  222. package/src/__tests__/vendors.test.ts +59 -9
  223. package/src/__tests__/webhooks.test.ts +1 -1
  224. package/src/__tests__/zones.test.ts +61 -4
  225. package/src/admin-funcs/doAdmin.ts +164 -0
  226. package/src/admin-funcs/facilitiesGetInvoice.ts +28 -0
  227. package/src/funcs/vendorsDeclineVendorCredential.ts +177 -0
  228. package/src/funcs/vendorsListVendorCredentialFiles.ts +199 -0
  229. package/src/funcs/vendorsListVendorJobTitles.ts +5 -23
  230. package/src/index.extras.ts +8 -0
  231. package/src/index.ts +2 -0
  232. package/src/lib/config.ts +3 -3
  233. package/src/mcp-server/mcp-server.ts +1 -1
  234. package/src/mcp-server/server.ts +7 -1
  235. package/src/mcp-server/tools/vendorsDeclineVendorCredential.ts +38 -0
  236. package/src/mcp-server/tools/vendorsListVendorCredentialFiles.ts +44 -0
  237. package/src/mcp-server/tools/vendorsListVendorJobTitles.ts +37 -0
  238. package/src/models/components/facility.ts +4 -4
  239. package/src/models/components/vendor.ts +15 -68
  240. package/src/models/components/vendorcredentialsummary.ts +4 -4
  241. package/src/models/components/vendortype.ts +8 -112
  242. package/src/models/components/zoneconfig.ts +24 -28
  243. package/src/models/operations/declinevendorcredential.ts +80 -0
  244. package/src/models/operations/index.ts +2 -0
  245. package/src/models/operations/listvendorcredentialfiles.ts +118 -0
  246. package/src/models/operations/listvendorjobtitles.ts +0 -72
  247. package/src/react-query/index.ts +2 -0
  248. package/src/react-query/vendorsDeclineVendorCredential.ts +92 -0
  249. package/src/react-query/vendorsListVendorCredentialFiles.ts +217 -0
  250. package/src/react-query/vendorsListVendorJobTitles.ts +0 -15
  251. package/src/sdk/vendors.ts +41 -2
package/bin/mcp-server.js CHANGED
@@ -34192,9 +34192,9 @@ var init_config = __esm(() => {
34192
34192
  SDK_METADATA = {
34193
34193
  language: "typescript",
34194
34194
  openapiDocVersion: "0.0.3",
34195
- sdkVersion: "0.30.55",
34196
- genVersion: "2.605.0",
34197
- userAgent: "speakeasy-sdk/typescript 0.30.55 2.605.0 0.0.3 @greensecurity/javascript-sdk"
34195
+ sdkVersion: "0.31.3",
34196
+ genVersion: "2.605.6",
34197
+ userAgent: "speakeasy-sdk/typescript 0.31.3 2.605.6 0.0.3 @greensecurity/javascript-sdk"
34198
34198
  };
34199
34199
  });
34200
34200
 
@@ -36853,63 +36853,16 @@ var init_imageset = __esm(() => {
36853
36853
  });
36854
36854
 
36855
36855
  // src/models/components/vendortype.ts
36856
- var AppliesTo$inboundSchema, AppliesTo$outboundSchema, AppliesTo$, VendorType$inboundSchema, VendorType$outboundSchema, VendorType$;
36856
+ var VendorType$inboundSchema, VendorType$outboundSchema, VendorType$;
36857
36857
  var init_vendortype = __esm(() => {
36858
36858
  init_lib();
36859
- init_primitives();
36860
- AppliesTo$inboundSchema = objectType({
36861
- company_id: numberType().int().optional(),
36862
- company_group_id: numberType().int().optional(),
36863
- vendor_group_id: numberType().int().optional(),
36864
- everyone_else: booleanType()
36865
- }).transform((v2) => {
36866
- return remap(v2, {
36867
- company_id: "companyId",
36868
- company_group_id: "companyGroupId",
36869
- vendor_group_id: "vendorGroupId",
36870
- everyone_else: "everyoneElse"
36871
- });
36872
- });
36873
- AppliesTo$outboundSchema = objectType({
36874
- companyId: numberType().int().optional(),
36875
- companyGroupId: numberType().int().optional(),
36876
- vendorGroupId: numberType().int().optional(),
36877
- everyoneElse: booleanType()
36878
- }).transform((v2) => {
36879
- return remap(v2, {
36880
- companyId: "company_id",
36881
- companyGroupId: "company_group_id",
36882
- vendorGroupId: "vendor_group_id",
36883
- everyoneElse: "everyone_else"
36884
- });
36885
- });
36886
- ((AppliesTo$) => {
36887
- AppliesTo$.inboundSchema = AppliesTo$inboundSchema;
36888
- AppliesTo$.outboundSchema = AppliesTo$outboundSchema;
36889
- })(AppliesTo$ ||= {});
36890
36859
  VendorType$inboundSchema = objectType({
36891
- name: stringType(),
36892
- short_name: stringType(),
36893
- sort_order: numberType().int(),
36894
- applies_to: lazyType(() => AppliesTo$inboundSchema)
36895
- }).transform((v2) => {
36896
- return remap(v2, {
36897
- short_name: "shortName",
36898
- sort_order: "sortOrder",
36899
- applies_to: "appliesTo"
36900
- });
36860
+ id: numberType().int().optional(),
36861
+ name: stringType().optional()
36901
36862
  });
36902
36863
  VendorType$outboundSchema = objectType({
36903
- name: stringType(),
36904
- shortName: stringType(),
36905
- sortOrder: numberType().int(),
36906
- appliesTo: lazyType(() => AppliesTo$outboundSchema)
36907
- }).transform((v2) => {
36908
- return remap(v2, {
36909
- shortName: "short_name",
36910
- sortOrder: "sort_order",
36911
- appliesTo: "applies_to"
36912
- });
36864
+ id: numberType().int().optional(),
36865
+ name: stringType().optional()
36913
36866
  });
36914
36867
  ((VendorType$) => {
36915
36868
  VendorType$.inboundSchema = VendorType$inboundSchema;
@@ -37232,7 +37185,7 @@ var init_facility = __esm(() => {
37232
37185
  auto_scan_out_violation: booleanType(),
37233
37186
  contractor_guest_require_email: booleanType(),
37234
37187
  visitor_checkin_require_phone: booleanType(),
37235
- vendor_types: arrayType(VendorType$inboundSchema)
37188
+ vendor_types: arrayType(nullableType(VendorType$inboundSchema))
37236
37189
  }).transform((v2) => {
37237
37190
  return remap(v2, {
37238
37191
  allow_department_other: "allowDepartmentOther",
@@ -37251,7 +37204,7 @@ var init_facility = __esm(() => {
37251
37204
  autoScanOutViolation: booleanType(),
37252
37205
  contractorGuestRequireEmail: booleanType(),
37253
37206
  visitorCheckinRequirePhone: booleanType(),
37254
- vendorTypes: arrayType(VendorType$outboundSchema)
37207
+ vendorTypes: arrayType(nullableType(VendorType$outboundSchema))
37255
37208
  }).transform((v2) => {
37256
37209
  return remap(v2, {
37257
37210
  allowDepartmentOther: "allow_department_other",
@@ -37438,7 +37391,7 @@ var init_financialstatus = __esm(() => {
37438
37391
  });
37439
37392
 
37440
37393
  // src/models/components/zoneconfig.ts
37441
- 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$;
37394
+ 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$;
37442
37395
  var init_zoneconfig = __esm(() => {
37443
37396
  init_lib();
37444
37397
  init_primitives();
@@ -37486,7 +37439,7 @@ var init_zoneconfig = __esm(() => {
37486
37439
  CompanyGroupId$.inboundSchema = CompanyGroupId$inboundSchema;
37487
37440
  CompanyGroupId$.outboundSchema = CompanyGroupId$outboundSchema;
37488
37441
  })(CompanyGroupId$ ||= {});
37489
- ZoneConfigAppliesTo$inboundSchema = objectType({
37442
+ AppliesTo$inboundSchema = objectType({
37490
37443
  vendor_group_id: nullableType(unionType([lazyType(() => VendorGroupId1$inboundSchema), numberType().int()])).optional(),
37491
37444
  company_group_id: nullableType(unionType([lazyType(() => CompanyGroupId1$inboundSchema), numberType().int()])).optional(),
37492
37445
  visitor_type: nullableType(stringType()).optional(),
@@ -37499,7 +37452,7 @@ var init_zoneconfig = __esm(() => {
37499
37452
  visitor_subtype: "visitorSubtype"
37500
37453
  });
37501
37454
  });
37502
- ZoneConfigAppliesTo$outboundSchema = objectType({
37455
+ AppliesTo$outboundSchema = objectType({
37503
37456
  vendorGroupId: nullableType(unionType([lazyType(() => VendorGroupId1$outboundSchema), numberType().int()])).optional(),
37504
37457
  companyGroupId: nullableType(unionType([lazyType(() => CompanyGroupId1$outboundSchema), numberType().int()])).optional(),
37505
37458
  visitorType: nullableType(stringType()).optional(),
@@ -37512,10 +37465,10 @@ var init_zoneconfig = __esm(() => {
37512
37465
  visitorSubtype: "visitor_subtype"
37513
37466
  });
37514
37467
  });
37515
- ((ZoneConfigAppliesTo$) => {
37516
- ZoneConfigAppliesTo$.inboundSchema = ZoneConfigAppliesTo$inboundSchema;
37517
- ZoneConfigAppliesTo$.outboundSchema = ZoneConfigAppliesTo$outboundSchema;
37518
- })(ZoneConfigAppliesTo$ ||= {});
37468
+ ((AppliesTo$) => {
37469
+ AppliesTo$.inboundSchema = AppliesTo$inboundSchema;
37470
+ AppliesTo$.outboundSchema = AppliesTo$outboundSchema;
37471
+ })(AppliesTo$ ||= {});
37519
37472
  ZoneConfigVendorPolicy$inboundSchema = objectType({
37520
37473
  allow_vendor_scans: booleanType().optional(),
37521
37474
  print_vendor_badge: booleanType().optional(),
@@ -37668,7 +37621,7 @@ var init_zoneconfig = __esm(() => {
37668
37621
  id: numberType().int().optional(),
37669
37622
  zone_id: numberType().int().optional(),
37670
37623
  sort_order: nullableType(numberType().int()).optional(),
37671
- applies_to: lazyType(() => ZoneConfigAppliesTo$inboundSchema).optional(),
37624
+ applies_to: lazyType(() => AppliesTo$inboundSchema).optional(),
37672
37625
  vendor_policy: lazyType(() => ZoneConfigVendorPolicy$inboundSchema).optional(),
37673
37626
  visitor_checkin_policy: lazyType(() => VisitorCheckinPolicy$inboundSchema).optional(),
37674
37627
  visit_request_policy: lazyType(() => VisitRequestPolicy$inboundSchema).optional()
@@ -37686,7 +37639,7 @@ var init_zoneconfig = __esm(() => {
37686
37639
  id: numberType().int().optional(),
37687
37640
  zoneId: numberType().int().optional(),
37688
37641
  sortOrder: nullableType(numberType().int()).optional(),
37689
- appliesTo: lazyType(() => ZoneConfigAppliesTo$outboundSchema).optional(),
37642
+ appliesTo: lazyType(() => AppliesTo$outboundSchema).optional(),
37690
37643
  vendorPolicy: lazyType(() => ZoneConfigVendorPolicy$outboundSchema).optional(),
37691
37644
  visitorCheckinPolicy: lazyType(() => VisitorCheckinPolicy$outboundSchema).optional(),
37692
37645
  visitRequestPolicy: lazyType(() => VisitRequestPolicy$outboundSchema).optional()
@@ -38828,7 +38781,7 @@ var init_vendorjobtitle = __esm(() => {
38828
38781
  });
38829
38782
 
38830
38783
  // src/models/components/vendor.ts
38831
- var One$inboundSchema, One$outboundSchema, One$, VendorUser$inboundSchema, VendorUser$outboundSchema, VendorUser$, VendorJob$inboundSchema, VendorJob$outboundSchema, VendorJob$, VendorType1$inboundSchema, VendorType1$outboundSchema, VendorType1$, VendorVendorType$inboundSchema, VendorVendorType$outboundSchema, VendorVendorType$, Two2$inboundSchema, Two2$outboundSchema, Two2$, PaymentProfile2$inboundSchema, PaymentProfile2$outboundSchema, PaymentProfile2$, PaymentProfile1$inboundSchema, PaymentProfile1$outboundSchema, PaymentProfile1$, PaymentProfilePaymentProfile$inboundSchema, PaymentProfilePaymentProfile$outboundSchema, PaymentProfilePaymentProfile$, PaymentProfile$inboundSchema, PaymentProfile$outboundSchema, PaymentProfile$, PaymentResponsibility$inboundSchema, PaymentResponsibility$outboundSchema, PaymentResponsibility$, Vendor$inboundSchema, Vendor$outboundSchema, Vendor$;
38784
+ var One$inboundSchema, One$outboundSchema, One$, VendorUser$inboundSchema, VendorUser$outboundSchema, VendorUser$, VendorJob$inboundSchema, VendorJob$outboundSchema, VendorJob$, VendorVendorType$inboundSchema, VendorVendorType$outboundSchema, VendorVendorType$, Two2$inboundSchema, Two2$outboundSchema, Two2$, PaymentProfile2$inboundSchema, PaymentProfile2$outboundSchema, PaymentProfile2$, PaymentProfile1$inboundSchema, PaymentProfile1$outboundSchema, PaymentProfile1$, PaymentProfilePaymentProfile$inboundSchema, PaymentProfilePaymentProfile$outboundSchema, PaymentProfilePaymentProfile$, PaymentProfile$inboundSchema, PaymentProfile$outboundSchema, PaymentProfile$, PaymentResponsibility$inboundSchema, PaymentResponsibility$outboundSchema, PaymentResponsibility$, Vendor$inboundSchema, Vendor$outboundSchema, Vendor$;
38832
38785
  var init_vendor = __esm(() => {
38833
38786
  init_lib();
38834
38787
  init_primitives();
@@ -38840,6 +38793,7 @@ var init_vendor = __esm(() => {
38840
38793
  init_supervisor();
38841
38794
  init_userlocation();
38842
38795
  init_vendorjobtitle();
38796
+ init_vendortype();
38843
38797
  One$inboundSchema = objectType({
38844
38798
  id: numberType().int().optional(),
38845
38799
  first_name: nullableType(stringType()).optional(),
@@ -38902,20 +38856,8 @@ var init_vendor = __esm(() => {
38902
38856
  VendorJob$.inboundSchema = VendorJob$inboundSchema;
38903
38857
  VendorJob$.outboundSchema = VendorJob$outboundSchema;
38904
38858
  })(VendorJob$ ||= {});
38905
- VendorType1$inboundSchema = objectType({
38906
- id: numberType().int().optional(),
38907
- name: stringType().optional()
38908
- });
38909
- VendorType1$outboundSchema = objectType({
38910
- id: numberType().int().optional(),
38911
- name: stringType().optional()
38912
- });
38913
- ((VendorType1$) => {
38914
- VendorType1$.inboundSchema = VendorType1$inboundSchema;
38915
- VendorType1$.outboundSchema = VendorType1$outboundSchema;
38916
- })(VendorType1$ ||= {});
38917
- VendorVendorType$inboundSchema = unionType([lazyType(() => VendorType1$inboundSchema), numberType().int()]);
38918
- VendorVendorType$outboundSchema = unionType([lazyType(() => VendorType1$outboundSchema), numberType().int()]);
38859
+ VendorVendorType$inboundSchema = unionType([VendorType$inboundSchema, numberType().int()]);
38860
+ VendorVendorType$outboundSchema = unionType([VendorType$outboundSchema, numberType().int()]);
38919
38861
  ((VendorVendorType$) => {
38920
38862
  VendorVendorType$.inboundSchema = VendorVendorType$inboundSchema;
38921
38863
  VendorVendorType$.outboundSchema = VendorVendorType$outboundSchema;
@@ -39082,7 +39024,7 @@ var init_vendor = __esm(() => {
39082
39024
  user: unionType([lazyType(() => One$inboundSchema), numberType().int()]).optional(),
39083
39025
  registration_data: nullableType(recordType(anyType())).optional(),
39084
39026
  vendor_job: nullableType(unionType([VendorJobTitle$inboundSchema, numberType().int()])).optional(),
39085
- vendor_type: nullableType(unionType([lazyType(() => VendorType1$inboundSchema), numberType().int()])).optional(),
39027
+ vendor_type: nullableType(unionType([VendorType$inboundSchema, numberType().int()])).optional(),
39086
39028
  supervisor: nullableType(Supervisor$inboundSchema).optional(),
39087
39029
  qr_code: nullableType(stringType()).optional(),
39088
39030
  head_shot: nullableType(ImageSet$inboundSchema).optional(),
@@ -39130,7 +39072,7 @@ var init_vendor = __esm(() => {
39130
39072
  user: unionType([lazyType(() => One$outboundSchema), numberType().int()]).optional(),
39131
39073
  registrationData: nullableType(recordType(anyType())).optional(),
39132
39074
  vendorJob: nullableType(unionType([VendorJobTitle$outboundSchema, numberType().int()])).optional(),
39133
- vendorType: nullableType(unionType([lazyType(() => VendorType1$outboundSchema), numberType().int()])).optional(),
39075
+ vendorType: nullableType(unionType([VendorType$outboundSchema, numberType().int()])).optional(),
39134
39076
  supervisor: nullableType(Supervisor$outboundSchema).optional(),
39135
39077
  qrCode: nullableType(stringType()).optional(),
39136
39078
  headShot: nullableType(ImageSet$outboundSchema).optional(),
@@ -39517,7 +39459,7 @@ var init_vendorcredentialsummary = __esm(() => {
39517
39459
  ExpeditedOffers$inboundSchema = objectType({
39518
39460
  id: numberType().int().optional(),
39519
39461
  product_id: nullableType(numberType().int()).optional(),
39520
- price: nullableType(numberType()).optional(),
39462
+ price: nullableType(stringType()).optional(),
39521
39463
  option1: nullableType(stringType()).optional(),
39522
39464
  option2: nullableType(stringType()).optional(),
39523
39465
  option3: nullableType(stringType()).optional()
@@ -39529,7 +39471,7 @@ var init_vendorcredentialsummary = __esm(() => {
39529
39471
  ExpeditedOffers$outboundSchema = objectType({
39530
39472
  id: numberType().int().optional(),
39531
39473
  productId: nullableType(numberType().int()).optional(),
39532
- price: nullableType(numberType()).optional(),
39474
+ price: nullableType(stringType()).optional(),
39533
39475
  option1: nullableType(stringType()).optional(),
39534
39476
  option2: nullableType(stringType()).optional(),
39535
39477
  option3: nullableType(stringType()).optional()
@@ -40337,6 +40279,31 @@ var init_createvendorregistration = __esm(() => {
40337
40279
  })(CreateVendorRegistrationRequestBody$ ||= {});
40338
40280
  });
40339
40281
 
40282
+ // src/models/operations/declinevendorcredential.ts
40283
+ var DeclineVendorCredentialRequest$inboundSchema, DeclineVendorCredentialRequest$outboundSchema, DeclineVendorCredentialRequest$;
40284
+ var init_declinevendorcredential = __esm(() => {
40285
+ init_lib();
40286
+ init_primitives();
40287
+ DeclineVendorCredentialRequest$inboundSchema = objectType({
40288
+ vendor_credential_id: numberType().int()
40289
+ }).transform((v2) => {
40290
+ return remap(v2, {
40291
+ vendor_credential_id: "vendorCredentialId"
40292
+ });
40293
+ });
40294
+ DeclineVendorCredentialRequest$outboundSchema = objectType({
40295
+ vendorCredentialId: numberType().int()
40296
+ }).transform((v2) => {
40297
+ return remap(v2, {
40298
+ vendorCredentialId: "vendor_credential_id"
40299
+ });
40300
+ });
40301
+ ((DeclineVendorCredentialRequest$) => {
40302
+ DeclineVendorCredentialRequest$.inboundSchema = DeclineVendorCredentialRequest$inboundSchema;
40303
+ DeclineVendorCredentialRequest$.outboundSchema = DeclineVendorCredentialRequest$outboundSchema;
40304
+ })(DeclineVendorCredentialRequest$ ||= {});
40305
+ });
40306
+
40340
40307
  // src/models/operations/deletevendormanagedbycompany.ts
40341
40308
  var DeleteVendorManagedByCompanyRequestBody$inboundSchema, DeleteVendorManagedByCompanyRequestBody$outboundSchema, DeleteVendorManagedByCompanyRequestBody$, DeleteVendorManagedByCompanyRequest$inboundSchema, DeleteVendorManagedByCompanyRequest$outboundSchema, DeleteVendorManagedByCompanyRequest$, DeleteVendorManagedByCompanyDeleteVendorManagedByCompanyOk$inboundSchema, DeleteVendorManagedByCompanyDeleteVendorManagedByCompanyOk$outboundSchema, DeleteVendorManagedByCompanyDeleteVendorManagedByCompanyOk$;
40342
40309
  var init_deletevendormanagedbycompany = __esm(() => {
@@ -41037,6 +41004,44 @@ var init_listvendoradditionalfacilityfields = __esm(() => {
41037
41004
  })(ListVendorAdditionalFacilityFieldsResponse$ ||= {});
41038
41005
  });
41039
41006
 
41007
+ // src/models/operations/listvendorcredentialfiles.ts
41008
+ var ListVendorCredentialFilesRequest$inboundSchema, ListVendorCredentialFilesRequest$outboundSchema, ListVendorCredentialFilesRequest$;
41009
+ var init_listvendorcredentialfiles = __esm(() => {
41010
+ init_lib();
41011
+ init_primitives();
41012
+ init_components();
41013
+ ListVendorCredentialFilesRequest$inboundSchema = objectType({
41014
+ sort: nullableType(stringType()).optional(),
41015
+ desc: Desc$inboundSchema.optional(),
41016
+ page: numberType().int().optional(),
41017
+ items_per_page: numberType().int().optional(),
41018
+ vendor_credential_id: numberType().int(),
41019
+ expand: arrayType(Expand$inboundSchema).optional()
41020
+ }).transform((v2) => {
41021
+ return remap(v2, {
41022
+ items_per_page: "itemsPerPage",
41023
+ vendor_credential_id: "vendorCredentialId"
41024
+ });
41025
+ });
41026
+ ListVendorCredentialFilesRequest$outboundSchema = objectType({
41027
+ sort: nullableType(stringType()).optional(),
41028
+ desc: Desc$outboundSchema.optional(),
41029
+ page: numberType().int().optional(),
41030
+ itemsPerPage: numberType().int().optional(),
41031
+ vendorCredentialId: numberType().int(),
41032
+ expand: arrayType(Expand$outboundSchema).optional()
41033
+ }).transform((v2) => {
41034
+ return remap(v2, {
41035
+ itemsPerPage: "items_per_page",
41036
+ vendorCredentialId: "vendor_credential_id"
41037
+ });
41038
+ });
41039
+ ((ListVendorCredentialFilesRequest$) => {
41040
+ ListVendorCredentialFilesRequest$.inboundSchema = ListVendorCredentialFilesRequest$inboundSchema;
41041
+ ListVendorCredentialFilesRequest$.outboundSchema = ListVendorCredentialFilesRequest$outboundSchema;
41042
+ })(ListVendorCredentialFilesRequest$ ||= {});
41043
+ });
41044
+
41040
41045
  // src/models/operations/listvendorcredentials.ts
41041
41046
  var ListVendorCredentialsRequest$inboundSchema, ListVendorCredentialsRequest$outboundSchema, ListVendorCredentialsRequest$, Credentials$inboundSchema, Credentials$outboundSchema, Credentials$, Pager$inboundSchema2, Pager$outboundSchema2, Pager$2, ListVendorCredentialsGetCredentialsOk$inboundSchema, ListVendorCredentialsGetCredentialsOk$outboundSchema, ListVendorCredentialsGetCredentialsOk$, ListVendorCredentialsResponse$inboundSchema, ListVendorCredentialsResponse$outboundSchema, ListVendorCredentialsResponse$;
41042
41047
  var init_listvendorcredentials = __esm(() => {
@@ -41384,31 +41389,11 @@ var init_listvendorinvoices = __esm(() => {
41384
41389
  });
41385
41390
 
41386
41391
  // src/models/operations/listvendorjobtitles.ts
41387
- var ListVendorJobTitlesSecurity$inboundSchema, ListVendorJobTitlesSecurity$outboundSchema, ListVendorJobTitlesSecurity$, ListVendorJobTitlesRequest$inboundSchema, ListVendorJobTitlesRequest$outboundSchema, ListVendorJobTitlesRequest$, ListVendorJobTitlesListVendorJobTitlesOk$inboundSchema, ListVendorJobTitlesListVendorJobTitlesOk$outboundSchema, ListVendorJobTitlesListVendorJobTitlesOk$, ListVendorJobTitlesResponse$inboundSchema, ListVendorJobTitlesResponse$outboundSchema, ListVendorJobTitlesResponse$;
41392
+ var ListVendorJobTitlesRequest$inboundSchema, ListVendorJobTitlesRequest$outboundSchema, ListVendorJobTitlesRequest$, ListVendorJobTitlesListVendorJobTitlesOk$inboundSchema, ListVendorJobTitlesListVendorJobTitlesOk$outboundSchema, ListVendorJobTitlesListVendorJobTitlesOk$, ListVendorJobTitlesResponse$inboundSchema, ListVendorJobTitlesResponse$outboundSchema, ListVendorJobTitlesResponse$;
41388
41393
  var init_listvendorjobtitles = __esm(() => {
41389
41394
  init_lib();
41390
41395
  init_primitives();
41391
41396
  init_components();
41392
- ListVendorJobTitlesSecurity$inboundSchema = objectType({
41393
- BearerJwt: stringType().optional(),
41394
- token: stringType().optional()
41395
- }).transform((v2) => {
41396
- return remap(v2, {
41397
- BearerJwt: "bearerJwt"
41398
- });
41399
- });
41400
- ListVendorJobTitlesSecurity$outboundSchema = objectType({
41401
- bearerJwt: stringType().optional(),
41402
- token: stringType().optional()
41403
- }).transform((v2) => {
41404
- return remap(v2, {
41405
- bearerJwt: "BearerJwt"
41406
- });
41407
- });
41408
- ((ListVendorJobTitlesSecurity$) => {
41409
- ListVendorJobTitlesSecurity$.inboundSchema = ListVendorJobTitlesSecurity$inboundSchema;
41410
- ListVendorJobTitlesSecurity$.outboundSchema = ListVendorJobTitlesSecurity$outboundSchema;
41411
- })(ListVendorJobTitlesSecurity$ ||= {});
41412
41397
  ListVendorJobTitlesRequest$inboundSchema = objectType({
41413
41398
  sort: nullableType(stringType()).optional(),
41414
41399
  desc: Desc$inboundSchema.optional(),
@@ -42498,6 +42483,7 @@ var init_operations = __esm(() => {
42498
42483
  init_changepassword();
42499
42484
  init_createvendorcompany();
42500
42485
  init_createvendorregistration();
42486
+ init_declinevendorcredential();
42501
42487
  init_deletevendormanagedbycompany();
42502
42488
  init_expeditetimeremaining();
42503
42489
  init_getfacility();
@@ -42514,6 +42500,7 @@ var init_operations = __esm(() => {
42514
42500
  init_listorsearchsecurityzones();
42515
42501
  init_listorsearchsupportarticles();
42516
42502
  init_listvendoradditionalfacilityfields();
42503
+ init_listvendorcredentialfiles();
42517
42504
  init_listvendorcredentials();
42518
42505
  init_listvendorcredits();
42519
42506
  init_listvendorfacilitystatuses();
@@ -44393,11 +44380,114 @@ Create an initial vendor registration. Once successful, the vendor will be able
44393
44380
  };
44394
44381
  });
44395
44382
 
44396
- // src/funcs/vendorsDeleteVendorManagedByCompany.ts
44397
- function vendorsDeleteVendorManagedByCompany(client, request, options) {
44383
+ // src/funcs/vendorsDeclineVendorCredential.ts
44384
+ function vendorsDeclineVendorCredential(client, request, options) {
44398
44385
  return new APIPromise($do17(client, request, options));
44399
44386
  }
44400
44387
  async function $do17(client, request, options) {
44388
+ const parsed = safeParse(request, (value) => DeclineVendorCredentialRequest$outboundSchema.parse(value), "Input validation failed");
44389
+ if (!parsed.ok) {
44390
+ return [parsed, { status: "invalid" }];
44391
+ }
44392
+ const payload = parsed.value;
44393
+ const body = null;
44394
+ const pathParams = {
44395
+ vendor_credential_id: encodeSimple("vendor_credential_id", payload.vendor_credential_id, { explode: false, charEncoding: "percent" })
44396
+ };
44397
+ const path = pathToFunc("/vendors/credentials/{vendor_credential_id}/declination")(pathParams);
44398
+ const headers = new Headers(compactMap({
44399
+ Accept: "application/json"
44400
+ }));
44401
+ const securityInput = await extractSecurity(client._options.security);
44402
+ const requestSecurity = resolveGlobalSecurity(securityInput);
44403
+ const context = {
44404
+ baseURL: options?.serverURL ?? client._baseURL ?? "",
44405
+ operationID: "declineVendorCredential",
44406
+ oAuth2Scopes: [],
44407
+ resolvedSecurity: requestSecurity,
44408
+ securitySource: client._options.security,
44409
+ retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
44410
+ retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
44411
+ };
44412
+ const requestRes = client._createRequest(context, {
44413
+ security: requestSecurity,
44414
+ method: "POST",
44415
+ baseURL: options?.serverURL,
44416
+ path,
44417
+ headers,
44418
+ body,
44419
+ timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
44420
+ }, options);
44421
+ if (!requestRes.ok) {
44422
+ return [requestRes, { status: "invalid" }];
44423
+ }
44424
+ const req = requestRes.value;
44425
+ const doResult = await client._do(req, {
44426
+ context,
44427
+ errorCodes: ["400", "401", "403", "404", "4XX", "500", "5XX"],
44428
+ retryConfig: context.retryConfig,
44429
+ retryCodes: context.retryCodes
44430
+ });
44431
+ if (!doResult.ok) {
44432
+ return [doResult, { status: "request-error", request: req }];
44433
+ }
44434
+ const response = doResult.value;
44435
+ const responseFields = {
44436
+ HttpMeta: { Response: response, Request: req }
44437
+ };
44438
+ const [result] = await match(json(200, booleanType()), jsonErr([400, 401, 403, 404], ApiErrorResponse$inboundSchema), jsonErr(500, ApiErrorResponse$inboundSchema), fail("4XX"), fail("5XX"))(response, { extraFields: responseFields });
44439
+ if (!result.ok) {
44440
+ return [result, { status: "complete", request: req, response }];
44441
+ }
44442
+ return [result, { status: "complete", request: req, response }];
44443
+ }
44444
+ var init_vendorsDeclineVendorCredential = __esm(() => {
44445
+ init_lib();
44446
+ init_encodings();
44447
+ init_matchers();
44448
+ init_primitives();
44449
+ init_schemas();
44450
+ init_security();
44451
+ init_url();
44452
+ init_errors();
44453
+ init_operations();
44454
+ init_async();
44455
+ });
44456
+
44457
+ // src/mcp-server/tools/vendorsDeclineVendorCredential.ts
44458
+ var args16, tool$vendorsDeclineVendorCredential;
44459
+ var init_vendorsDeclineVendorCredential2 = __esm(() => {
44460
+ init_vendorsDeclineVendorCredential();
44461
+ init_operations();
44462
+ init_tools();
44463
+ args16 = {
44464
+ request: DeclineVendorCredentialRequest$inboundSchema
44465
+ };
44466
+ tool$vendorsDeclineVendorCredential = {
44467
+ name: "vendors-decline-vendor-credential",
44468
+ description: `Decline vendor credential
44469
+
44470
+ It will decline vendor credential`,
44471
+ args: args16,
44472
+ tool: async (client, args17, ctx) => {
44473
+ const [result, apiCall] = await vendorsDeclineVendorCredential(client, args17.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
44474
+ if (!result.ok) {
44475
+ return {
44476
+ content: [{ type: "text", text: result.error.message }],
44477
+ isError: true
44478
+ };
44479
+ }
44480
+ const value = result.value;
44481
+ return formatResult(value, apiCall);
44482
+ }
44483
+ };
44484
+ });
44485
+
44486
+ // src/funcs/vendorsDeleteVendorManagedByCompany.ts
44487
+ function vendorsDeleteVendorManagedByCompany(client, request, options) {
44488
+ return new APIPromise($do18(client, request, options));
44489
+ }
44490
+ async function $do18(client, request, options) {
44401
44491
  const parsed = safeParse(request, (value) => DeleteVendorManagedByCompanyRequest$outboundSchema.parse(value), "Input validation failed");
44402
44492
  if (!parsed.ok) {
44403
44493
  return [parsed, { status: "invalid" }];
@@ -44471,12 +44561,12 @@ var init_vendorsDeleteVendorManagedByCompany = __esm(() => {
44471
44561
  });
44472
44562
 
44473
44563
  // src/mcp-server/tools/vendorsDeleteVendorManagedByCompany.ts
44474
- var args16, tool$vendorsDeleteVendorManagedByCompany;
44564
+ var args17, tool$vendorsDeleteVendorManagedByCompany;
44475
44565
  var init_vendorsDeleteVendorManagedByCompany2 = __esm(() => {
44476
44566
  init_vendorsDeleteVendorManagedByCompany();
44477
44567
  init_operations();
44478
44568
  init_tools();
44479
- args16 = {
44569
+ args17 = {
44480
44570
  request: DeleteVendorManagedByCompanyRequest$inboundSchema
44481
44571
  };
44482
44572
  tool$vendorsDeleteVendorManagedByCompany = {
@@ -44484,9 +44574,9 @@ var init_vendorsDeleteVendorManagedByCompany2 = __esm(() => {
44484
44574
  description: `Delete vendor managed by company
44485
44575
 
44486
44576
  It will delete the vendor managed by company`,
44487
- args: args16,
44488
- tool: async (client, args17, ctx) => {
44489
- const [result, apiCall] = await vendorsDeleteVendorManagedByCompany(client, args17.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
44577
+ args: args17,
44578
+ tool: async (client, args18, ctx) => {
44579
+ const [result, apiCall] = await vendorsDeleteVendorManagedByCompany(client, args18.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
44490
44580
  if (!result.ok) {
44491
44581
  return {
44492
44582
  content: [{ type: "text", text: result.error.message }],
@@ -44501,9 +44591,9 @@ It will delete the vendor managed by company`,
44501
44591
 
44502
44592
  // src/funcs/vendorsExpediteTimeRemaining.ts
44503
44593
  function vendorsExpediteTimeRemaining(client, request, options) {
44504
- return new APIPromise($do18(client, request, options));
44594
+ return new APIPromise($do19(client, request, options));
44505
44595
  }
44506
- async function $do18(client, request, options) {
44596
+ async function $do19(client, request, options) {
44507
44597
  const parsed = safeParse(request, (value) => ExpediteTimeRemainingRequest$outboundSchema.parse(value), "Input validation failed");
44508
44598
  if (!parsed.ok) {
44509
44599
  return [parsed, { status: "invalid" }];
@@ -44576,12 +44666,12 @@ var init_vendorsExpediteTimeRemaining = __esm(() => {
44576
44666
  });
44577
44667
 
44578
44668
  // src/mcp-server/tools/vendorsExpediteTimeRemaining.ts
44579
- var args17, tool$vendorsExpediteTimeRemaining;
44669
+ var args18, tool$vendorsExpediteTimeRemaining;
44580
44670
  var init_vendorsExpediteTimeRemaining2 = __esm(() => {
44581
44671
  init_vendorsExpediteTimeRemaining();
44582
44672
  init_operations();
44583
44673
  init_tools();
44584
- args17 = {
44674
+ args18 = {
44585
44675
  request: ExpediteTimeRemainingRequest$inboundSchema
44586
44676
  };
44587
44677
  tool$vendorsExpediteTimeRemaining = {
@@ -44589,9 +44679,9 @@ var init_vendorsExpediteTimeRemaining2 = __esm(() => {
44589
44679
  description: `Expedite time remaining
44590
44680
 
44591
44681
  For vendors who have a paid 24-hour expedite credentials invoice, get the remaining time (in seconds) for which submitted credentials will be expedited.`,
44592
- args: args17,
44593
- tool: async (client, args18, ctx) => {
44594
- const [result, apiCall] = await vendorsExpediteTimeRemaining(client, args18.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
44682
+ args: args18,
44683
+ tool: async (client, args19, ctx) => {
44684
+ const [result, apiCall] = await vendorsExpediteTimeRemaining(client, args19.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
44595
44685
  if (!result.ok) {
44596
44686
  return {
44597
44687
  content: [{ type: "text", text: result.error.message }],
@@ -44606,9 +44696,9 @@ For vendors who have a paid 24-hour expedite credentials invoice, get the remain
44606
44696
 
44607
44697
  // src/funcs/vendorsGetVendorCredentialDetails.ts
44608
44698
  function vendorsGetVendorCredentialDetails(client, request, options) {
44609
- return new APIPromise($do19(client, request, options));
44699
+ return new APIPromise($do20(client, request, options));
44610
44700
  }
44611
- async function $do19(client, request, options) {
44701
+ async function $do20(client, request, options) {
44612
44702
  const parsed = safeParse(request, (value) => GetVendorCredentialDetailsRequest$outboundSchema.parse(value), "Input validation failed");
44613
44703
  if (!parsed.ok) {
44614
44704
  return [parsed, { status: "invalid" }];
@@ -44689,12 +44779,12 @@ var init_vendorsGetVendorCredentialDetails = __esm(() => {
44689
44779
  });
44690
44780
 
44691
44781
  // src/mcp-server/tools/vendorsGetVendorCredentialDetails.ts
44692
- var args18, tool$vendorsGetVendorCredentialDetails;
44782
+ var args19, tool$vendorsGetVendorCredentialDetails;
44693
44783
  var init_vendorsGetVendorCredentialDetails2 = __esm(() => {
44694
44784
  init_vendorsGetVendorCredentialDetails();
44695
44785
  init_operations();
44696
44786
  init_tools();
44697
- args18 = {
44787
+ args19 = {
44698
44788
  request: GetVendorCredentialDetailsRequest$inboundSchema
44699
44789
  };
44700
44790
  tool$vendorsGetVendorCredentialDetails = {
@@ -44719,9 +44809,9 @@ Available \`expand\` scopes are:
44719
44809
  - vendor_credential.vendor_credential_data_requests
44720
44810
  - vendor_credential.credential_variants
44721
44811
  - vendor_credential.targets_chop`,
44722
- args: args18,
44723
- tool: async (client, args19, ctx) => {
44724
- const [result, apiCall] = await vendorsGetVendorCredentialDetails(client, args19.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
44812
+ args: args19,
44813
+ tool: async (client, args20, ctx) => {
44814
+ const [result, apiCall] = await vendorsGetVendorCredentialDetails(client, args20.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
44725
44815
  if (!result.ok) {
44726
44816
  return {
44727
44817
  content: [{ type: "text", text: result.error.message }],
@@ -44736,9 +44826,9 @@ Available \`expand\` scopes are:
44736
44826
 
44737
44827
  // src/funcs/vendorsGetVendorCredentialFile.ts
44738
44828
  function vendorsGetVendorCredentialFile(client, request, options) {
44739
- return new APIPromise($do20(client, request, options));
44829
+ return new APIPromise($do21(client, request, options));
44740
44830
  }
44741
- async function $do20(client, request, options) {
44831
+ async function $do21(client, request, options) {
44742
44832
  const parsed = safeParse(request, (value) => GetVendorCredentialFileRequest$outboundSchema.parse(value), "Input validation failed");
44743
44833
  if (!parsed.ok) {
44744
44834
  return [parsed, { status: "invalid" }];
@@ -44817,12 +44907,12 @@ var init_vendorsGetVendorCredentialFile = __esm(() => {
44817
44907
  });
44818
44908
 
44819
44909
  // src/mcp-server/tools/vendorsGetVendorCredentialFile.ts
44820
- var args19, tool$vendorsGetVendorCredentialFile;
44910
+ var args20, tool$vendorsGetVendorCredentialFile;
44821
44911
  var init_vendorsGetVendorCredentialFile2 = __esm(() => {
44822
44912
  init_vendorsGetVendorCredentialFile();
44823
44913
  init_operations();
44824
44914
  init_tools();
44825
- args19 = {
44915
+ args20 = {
44826
44916
  request: GetVendorCredentialFileRequest$inboundSchema
44827
44917
  };
44828
44918
  tool$vendorsGetVendorCredentialFile = {
@@ -44835,9 +44925,9 @@ Available \`expand\` scopes are:
44835
44925
 
44836
44926
  - vendor_credential_file.vendor_credential
44837
44927
  - vendor_credential_file.credential_document`,
44838
- args: args19,
44839
- tool: async (client, args20, ctx) => {
44840
- const [result, apiCall] = await vendorsGetVendorCredentialFile(client, args20.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
44928
+ args: args20,
44929
+ tool: async (client, args21, ctx) => {
44930
+ const [result, apiCall] = await vendorsGetVendorCredentialFile(client, args21.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
44841
44931
  if (!result.ok) {
44842
44932
  return {
44843
44933
  content: [{ type: "text", text: result.error.message }],
@@ -44852,9 +44942,9 @@ Available \`expand\` scopes are:
44852
44942
 
44853
44943
  // src/funcs/vendorsGetVendorInvoiceDetails.ts
44854
44944
  function vendorsGetVendorInvoiceDetails(client, request, options) {
44855
- return new APIPromise($do21(client, request, options));
44945
+ return new APIPromise($do22(client, request, options));
44856
44946
  }
44857
- async function $do21(client, request, options) {
44947
+ async function $do22(client, request, options) {
44858
44948
  const parsed = safeParse(request, (value) => GetVendorInvoiceDetailsRequest$outboundSchema.parse(value), "Input validation failed");
44859
44949
  if (!parsed.ok) {
44860
44950
  return [parsed, { status: "invalid" }];
@@ -44932,12 +45022,12 @@ var init_vendorsGetVendorInvoiceDetails = __esm(() => {
44932
45022
  });
44933
45023
 
44934
45024
  // src/mcp-server/tools/vendorsGetVendorInvoiceDetails.ts
44935
- var args20, tool$vendorsGetVendorInvoiceDetails;
45025
+ var args21, tool$vendorsGetVendorInvoiceDetails;
44936
45026
  var init_vendorsGetVendorInvoiceDetails2 = __esm(() => {
44937
45027
  init_vendorsGetVendorInvoiceDetails();
44938
45028
  init_operations();
44939
45029
  init_tools();
44940
- args20 = {
45030
+ args21 = {
44941
45031
  request: GetVendorInvoiceDetailsRequest$inboundSchema
44942
45032
  };
44943
45033
  tool$vendorsGetVendorInvoiceDetails = {
@@ -44950,9 +45040,9 @@ Available \`expand\` scopes are:
44950
45040
 
44951
45041
  invoice.line_items
44952
45042
  invoice.invoice_transactions`,
44953
- args: args20,
44954
- tool: async (client, args21, ctx) => {
44955
- const [result, apiCall] = await vendorsGetVendorInvoiceDetails(client, args21.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
45043
+ args: args21,
45044
+ tool: async (client, args22, ctx) => {
45045
+ const [result, apiCall] = await vendorsGetVendorInvoiceDetails(client, args22.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
44956
45046
  if (!result.ok) {
44957
45047
  return {
44958
45048
  content: [{ type: "text", text: result.error.message }],
@@ -44967,9 +45057,9 @@ invoice.invoice_transactions`,
44967
45057
 
44968
45058
  // src/funcs/vendorsGetVendorsDetails.ts
44969
45059
  function vendorsGetVendorsDetails(client, request, options) {
44970
- return new APIPromise($do22(client, request, options));
45060
+ return new APIPromise($do23(client, request, options));
44971
45061
  }
44972
- async function $do22(client, request, options) {
45062
+ async function $do23(client, request, options) {
44973
45063
  const parsed = safeParse(request, (value) => GetVendorsDetailsRequest$outboundSchema.parse(value), "Input validation failed");
44974
45064
  if (!parsed.ok) {
44975
45065
  return [parsed, { status: "invalid" }];
@@ -45047,12 +45137,12 @@ var init_vendorsGetVendorsDetails = __esm(() => {
45047
45137
  });
45048
45138
 
45049
45139
  // src/mcp-server/tools/vendorsGetVendorsDetails.ts
45050
- var args21, tool$vendorsGetVendorsDetails;
45140
+ var args22, tool$vendorsGetVendorsDetails;
45051
45141
  var init_vendorsGetVendorsDetails2 = __esm(() => {
45052
45142
  init_vendorsGetVendorsDetails();
45053
45143
  init_operations();
45054
45144
  init_tools();
45055
- args21 = {
45145
+ args22 = {
45056
45146
  request: GetVendorsDetailsRequest$inboundSchema
45057
45147
  };
45058
45148
  tool$vendorsGetVendorsDetails = {
@@ -45076,9 +45166,9 @@ vendor.scrubs_subscription
45076
45166
  vendor.payment_responsibility
45077
45167
  vendor.background_check_date_expires
45078
45168
  vendor.registration_data`,
45079
- args: args21,
45080
- tool: async (client, args22, ctx) => {
45081
- const [result, apiCall] = await vendorsGetVendorsDetails(client, args22.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
45169
+ args: args22,
45170
+ tool: async (client, args23, ctx) => {
45171
+ const [result, apiCall] = await vendorsGetVendorsDetails(client, args23.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
45082
45172
  if (!result.ok) {
45083
45173
  return {
45084
45174
  content: [{ type: "text", text: result.error.message }],
@@ -45093,9 +45183,9 @@ vendor.registration_data`,
45093
45183
 
45094
45184
  // src/funcs/vendorsListVendorAdditionalFacilityFields.ts
45095
45185
  function vendorsListVendorAdditionalFacilityFields(client, request, options) {
45096
- return new APIPromise($do23(client, request, options));
45186
+ return new APIPromise($do24(client, request, options));
45097
45187
  }
45098
- async function $do23(client, request, options) {
45188
+ async function $do24(client, request, options) {
45099
45189
  const parsed = safeParse(request, (value) => ListVendorAdditionalFacilityFieldsRequest$outboundSchema.parse(value), "Input validation failed");
45100
45190
  if (!parsed.ok) {
45101
45191
  return [haltIterator(parsed), { status: "invalid" }];
@@ -45205,12 +45295,12 @@ var init_vendorsListVendorAdditionalFacilityFields = __esm(() => {
45205
45295
  });
45206
45296
 
45207
45297
  // src/mcp-server/tools/vendorsListVendorAdditionalFacilityFields.ts
45208
- var args22, tool$vendorsListVendorAdditionalFacilityFields;
45298
+ var args23, tool$vendorsListVendorAdditionalFacilityFields;
45209
45299
  var init_vendorsListVendorAdditionalFacilityFields2 = __esm(() => {
45210
45300
  init_vendorsListVendorAdditionalFacilityFields();
45211
45301
  init_operations();
45212
45302
  init_tools();
45213
- args22 = {
45303
+ args23 = {
45214
45304
  request: ListVendorAdditionalFacilityFieldsRequest$inboundSchema
45215
45305
  };
45216
45306
  tool$vendorsListVendorAdditionalFacilityFields = {
@@ -45218,9 +45308,9 @@ var init_vendorsListVendorAdditionalFacilityFields2 = __esm(() => {
45218
45308
  description: `List of vendor's additional facility fields
45219
45309
 
45220
45310
  List of vendor's additional facility fields`,
45221
- args: args22,
45222
- tool: async (client, args23, ctx) => {
45223
- const [result, apiCall] = await vendorsListVendorAdditionalFacilityFields(client, args23.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
45311
+ args: args23,
45312
+ tool: async (client, args24, ctx) => {
45313
+ const [result, apiCall] = await vendorsListVendorAdditionalFacilityFields(client, args24.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
45224
45314
  if (!result.ok) {
45225
45315
  return {
45226
45316
  content: [{ type: "text", text: result.error.message }],
@@ -45233,11 +45323,129 @@ List of vendor's additional facility fields`,
45233
45323
  };
45234
45324
  });
45235
45325
 
45326
+ // src/funcs/vendorsListVendorCredentialFiles.ts
45327
+ function vendorsListVendorCredentialFiles(client, request, options) {
45328
+ return new APIPromise($do25(client, request, options));
45329
+ }
45330
+ async function $do25(client, request, options) {
45331
+ const parsed = safeParse(request, (value) => ListVendorCredentialFilesRequest$outboundSchema.parse(value), "Input validation failed");
45332
+ if (!parsed.ok) {
45333
+ return [parsed, { status: "invalid" }];
45334
+ }
45335
+ const payload = parsed.value;
45336
+ const body = null;
45337
+ const pathParams = {
45338
+ vendor_credential_id: encodeSimple("vendor_credential_id", payload.vendor_credential_id, { explode: false, charEncoding: "percent" })
45339
+ };
45340
+ const path = pathToFunc("/vendors/credentials/{vendor_credential_id}/files")(pathParams);
45341
+ const query = queryJoin(encodeFormQuery({
45342
+ expand: payload.expand
45343
+ }, { explode: false }), encodeFormQuery({
45344
+ desc: payload.desc,
45345
+ items_per_page: payload.items_per_page,
45346
+ page: payload.page,
45347
+ sort: payload.sort
45348
+ }));
45349
+ const headers = new Headers(compactMap({
45350
+ Accept: "application/json"
45351
+ }));
45352
+ const securityInput = await extractSecurity(client._options.security);
45353
+ const requestSecurity = resolveGlobalSecurity(securityInput);
45354
+ const context = {
45355
+ baseURL: options?.serverURL ?? client._baseURL ?? "",
45356
+ operationID: "listVendorCredentialFiles",
45357
+ oAuth2Scopes: [],
45358
+ resolvedSecurity: requestSecurity,
45359
+ securitySource: client._options.security,
45360
+ retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
45361
+ retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
45362
+ };
45363
+ const requestRes = client._createRequest(context, {
45364
+ security: requestSecurity,
45365
+ method: "GET",
45366
+ baseURL: options?.serverURL,
45367
+ path,
45368
+ headers,
45369
+ query,
45370
+ body,
45371
+ timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
45372
+ }, options);
45373
+ if (!requestRes.ok) {
45374
+ return [requestRes, { status: "invalid" }];
45375
+ }
45376
+ const req = requestRes.value;
45377
+ const doResult = await client._do(req, {
45378
+ context,
45379
+ errorCodes: ["400", "401", "403", "404", "4XX", "500", "5XX"],
45380
+ retryConfig: context.retryConfig,
45381
+ retryCodes: context.retryCodes
45382
+ });
45383
+ if (!doResult.ok) {
45384
+ return [doResult, { status: "request-error", request: req }];
45385
+ }
45386
+ const response = doResult.value;
45387
+ const responseFields = {
45388
+ HttpMeta: { Response: response, Request: req }
45389
+ };
45390
+ const [result] = await match(json(200, arrayType(nullableType(VendorCredentialFile$inboundSchema))), jsonErr([400, 401, 403, 404], ApiErrorResponse$inboundSchema), jsonErr(500, ApiErrorResponse$inboundSchema), fail("4XX"), fail("5XX"))(response, { extraFields: responseFields });
45391
+ if (!result.ok) {
45392
+ return [result, { status: "complete", request: req, response }];
45393
+ }
45394
+ return [result, { status: "complete", request: req, response }];
45395
+ }
45396
+ var init_vendorsListVendorCredentialFiles = __esm(() => {
45397
+ init_lib();
45398
+ init_encodings();
45399
+ init_matchers();
45400
+ init_primitives();
45401
+ init_schemas();
45402
+ init_security();
45403
+ init_url();
45404
+ init_components();
45405
+ init_errors();
45406
+ init_operations();
45407
+ init_async();
45408
+ });
45409
+
45410
+ // src/mcp-server/tools/vendorsListVendorCredentialFiles.ts
45411
+ var args24, tool$vendorsListVendorCredentialFiles;
45412
+ var init_vendorsListVendorCredentialFiles2 = __esm(() => {
45413
+ init_vendorsListVendorCredentialFiles();
45414
+ init_operations();
45415
+ init_tools();
45416
+ args24 = {
45417
+ request: ListVendorCredentialFilesRequest$inboundSchema
45418
+ };
45419
+ tool$vendorsListVendorCredentialFiles = {
45420
+ name: "vendors-list-vendor-credential-files",
45421
+ description: `List Vendor Credential files
45422
+
45423
+ Retrieve an vendor credential files.
45424
+
45425
+ Available \`expand\` scopes are:
45426
+
45427
+ - vendor_credential_file.vendor_credential
45428
+ - vendor_credential_file.credential_document`,
45429
+ args: args24,
45430
+ tool: async (client, args25, ctx) => {
45431
+ const [result, apiCall] = await vendorsListVendorCredentialFiles(client, args25.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
45432
+ if (!result.ok) {
45433
+ return {
45434
+ content: [{ type: "text", text: result.error.message }],
45435
+ isError: true
45436
+ };
45437
+ }
45438
+ const value = result.value;
45439
+ return formatResult(value, apiCall);
45440
+ }
45441
+ };
45442
+ });
45443
+
45236
45444
  // src/funcs/vendorsListVendorCredentials.ts
45237
45445
  function vendorsListVendorCredentials(client, request, options) {
45238
- return new APIPromise($do24(client, request, options));
45446
+ return new APIPromise($do26(client, request, options));
45239
45447
  }
45240
- async function $do24(client, request, options) {
45448
+ async function $do26(client, request, options) {
45241
45449
  const parsed = safeParse(request, (value) => ListVendorCredentialsRequest$outboundSchema.parse(value), "Input validation failed");
45242
45450
  if (!parsed.ok) {
45243
45451
  return [haltIterator(parsed), { status: "invalid" }];
@@ -45355,12 +45563,12 @@ var init_vendorsListVendorCredentials = __esm(() => {
45355
45563
  });
45356
45564
 
45357
45565
  // src/mcp-server/tools/vendorsListVendorCredentials.ts
45358
- var args23, tool$vendorsListVendorCredentials;
45566
+ var args25, tool$vendorsListVendorCredentials;
45359
45567
  var init_vendorsListVendorCredentials2 = __esm(() => {
45360
45568
  init_vendorsListVendorCredentials();
45361
45569
  init_operations();
45362
45570
  init_tools();
45363
- args23 = {
45571
+ args25 = {
45364
45572
  request: ListVendorCredentialsRequest$inboundSchema
45365
45573
  };
45366
45574
  tool$vendorsListVendorCredentials = {
@@ -45368,9 +45576,9 @@ var init_vendorsListVendorCredentials2 = __esm(() => {
45368
45576
  description: `List Vendor Credentials
45369
45577
 
45370
45578
  Lists vendor credentials, required credentials, and company credentials. Utilized in Vendor Dashboard.`,
45371
- args: args23,
45372
- tool: async (client, args24, ctx) => {
45373
- const [result, apiCall] = await vendorsListVendorCredentials(client, args24.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
45579
+ args: args25,
45580
+ tool: async (client, args26, ctx) => {
45581
+ const [result, apiCall] = await vendorsListVendorCredentials(client, args26.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
45374
45582
  if (!result.ok) {
45375
45583
  return {
45376
45584
  content: [{ type: "text", text: result.error.message }],
@@ -45385,9 +45593,9 @@ Lists vendor credentials, required credentials, and company credentials. Utilize
45385
45593
 
45386
45594
  // src/funcs/vendorsListVendorCredits.ts
45387
45595
  function vendorsListVendorCredits(client, request, options) {
45388
- return new APIPromise($do25(client, request, options));
45596
+ return new APIPromise($do27(client, request, options));
45389
45597
  }
45390
- async function $do25(client, request, options) {
45598
+ async function $do27(client, request, options) {
45391
45599
  const parsed = safeParse(request, (value) => ListVendorCreditsRequest$outboundSchema.parse(value), "Input validation failed");
45392
45600
  if (!parsed.ok) {
45393
45601
  return [haltIterator(parsed), { status: "invalid" }];
@@ -45499,12 +45707,12 @@ var init_vendorsListVendorCredits = __esm(() => {
45499
45707
  });
45500
45708
 
45501
45709
  // src/mcp-server/tools/vendorsListVendorCredits.ts
45502
- var args24, tool$vendorsListVendorCredits;
45710
+ var args26, tool$vendorsListVendorCredits;
45503
45711
  var init_vendorsListVendorCredits2 = __esm(() => {
45504
45712
  init_vendorsListVendorCredits();
45505
45713
  init_operations();
45506
45714
  init_tools();
45507
- args24 = {
45715
+ args26 = {
45508
45716
  request: ListVendorCreditsRequest$inboundSchema
45509
45717
  };
45510
45718
  tool$vendorsListVendorCredits = {
@@ -45512,9 +45720,9 @@ var init_vendorsListVendorCredits2 = __esm(() => {
45512
45720
  description: `List vendor credits
45513
45721
 
45514
45722
  List the credits for the vendor`,
45515
- args: args24,
45516
- tool: async (client, args25, ctx) => {
45517
- const [result, apiCall] = await vendorsListVendorCredits(client, args25.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
45723
+ args: args26,
45724
+ tool: async (client, args27, ctx) => {
45725
+ const [result, apiCall] = await vendorsListVendorCredits(client, args27.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
45518
45726
  if (!result.ok) {
45519
45727
  return {
45520
45728
  content: [{ type: "text", text: result.error.message }],
@@ -45529,9 +45737,9 @@ List the credits for the vendor`,
45529
45737
 
45530
45738
  // src/funcs/vendorsListVendorFacilityStatuses.ts
45531
45739
  function vendorsListVendorFacilityStatuses(client, request, options) {
45532
- return new APIPromise($do26(client, request, options));
45740
+ return new APIPromise($do28(client, request, options));
45533
45741
  }
45534
- async function $do26(client, request, options) {
45742
+ async function $do28(client, request, options) {
45535
45743
  const parsed = safeParse(request, (value) => ListVendorFacilityStatusesRequest$outboundSchema.parse(value), "Input validation failed");
45536
45744
  if (!parsed.ok) {
45537
45745
  return [haltIterator(parsed), { status: "invalid" }];
@@ -45639,12 +45847,12 @@ var init_vendorsListVendorFacilityStatuses = __esm(() => {
45639
45847
  });
45640
45848
 
45641
45849
  // src/mcp-server/tools/vendorsListVendorFacilityStatuses.ts
45642
- var args25, tool$vendorsListVendorFacilityStatuses;
45850
+ var args27, tool$vendorsListVendorFacilityStatuses;
45643
45851
  var init_vendorsListVendorFacilityStatuses2 = __esm(() => {
45644
45852
  init_vendorsListVendorFacilityStatuses();
45645
45853
  init_operations();
45646
45854
  init_tools();
45647
- args25 = {
45855
+ args27 = {
45648
45856
  request: ListVendorFacilityStatusesRequest$inboundSchema
45649
45857
  };
45650
45858
  tool$vendorsListVendorFacilityStatuses = {
@@ -45652,9 +45860,9 @@ var init_vendorsListVendorFacilityStatuses2 = __esm(() => {
45652
45860
  description: `List vendor facility statuses
45653
45861
 
45654
45862
  List the facilities for the vendor`,
45655
- args: args25,
45656
- tool: async (client, args26, ctx) => {
45657
- const [result, apiCall] = await vendorsListVendorFacilityStatuses(client, args26.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
45863
+ args: args27,
45864
+ tool: async (client, args28, ctx) => {
45865
+ const [result, apiCall] = await vendorsListVendorFacilityStatuses(client, args28.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
45658
45866
  if (!result.ok) {
45659
45867
  return {
45660
45868
  content: [{ type: "text", text: result.error.message }],
@@ -45669,9 +45877,9 @@ List the facilities for the vendor`,
45669
45877
 
45670
45878
  // src/funcs/vendorsListVendorInvoices.ts
45671
45879
  function vendorsListVendorInvoices(client, request, options) {
45672
- return new APIPromise($do27(client, request, options));
45880
+ return new APIPromise($do29(client, request, options));
45673
45881
  }
45674
- async function $do27(client, request, options) {
45882
+ async function $do29(client, request, options) {
45675
45883
  const parsed = safeParse(request, (value) => ListVendorInvoicesRequest$outboundSchema.parse(value), "Input validation failed");
45676
45884
  if (!parsed.ok) {
45677
45885
  return [haltIterator(parsed), { status: "invalid" }];
@@ -45787,12 +45995,12 @@ var init_vendorsListVendorInvoices = __esm(() => {
45787
45995
  });
45788
45996
 
45789
45997
  // src/mcp-server/tools/vendorsListVendorInvoices.ts
45790
- var args26, tool$vendorsListVendorInvoices;
45998
+ var args28, tool$vendorsListVendorInvoices;
45791
45999
  var init_vendorsListVendorInvoices2 = __esm(() => {
45792
46000
  init_vendorsListVendorInvoices();
45793
46001
  init_operations();
45794
46002
  init_tools();
45795
- args26 = {
46003
+ args28 = {
45796
46004
  request: ListVendorInvoicesRequest$inboundSchema
45797
46005
  };
45798
46006
  tool$vendorsListVendorInvoices = {
@@ -45804,9 +46012,148 @@ List invoices for Vendors
45804
46012
  Available \`expand\` scopes are:
45805
46013
 
45806
46014
  invoice.line_items`,
45807
- args: args26,
45808
- tool: async (client, args27, ctx) => {
45809
- const [result, apiCall] = await vendorsListVendorInvoices(client, args27.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
46015
+ args: args28,
46016
+ tool: async (client, args29, ctx) => {
46017
+ const [result, apiCall] = await vendorsListVendorInvoices(client, args29.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
46018
+ if (!result.ok) {
46019
+ return {
46020
+ content: [{ type: "text", text: result.error.message }],
46021
+ isError: true
46022
+ };
46023
+ }
46024
+ const value = result.value.result;
46025
+ return formatResult(value, apiCall);
46026
+ }
46027
+ };
46028
+ });
46029
+
46030
+ // src/funcs/vendorsListVendorJobTitles.ts
46031
+ function vendorsListVendorJobTitles(client, request, options) {
46032
+ return new APIPromise($do30(client, request, options));
46033
+ }
46034
+ async function $do30(client, request, options) {
46035
+ const parsed = safeParse(request, (value) => ListVendorJobTitlesRequest$outboundSchema.parse(value), "Input validation failed");
46036
+ if (!parsed.ok) {
46037
+ return [haltIterator(parsed), { status: "invalid" }];
46038
+ }
46039
+ const payload = parsed.value;
46040
+ const body = null;
46041
+ const path = pathToFunc("/vendors/job_titles")();
46042
+ const query = encodeFormQuery({
46043
+ desc: payload.desc,
46044
+ items_per_page: payload.items_per_page,
46045
+ job_like: payload.job_like,
46046
+ page: payload.page,
46047
+ sort: payload.sort
46048
+ });
46049
+ const headers = new Headers(compactMap({
46050
+ Accept: "application/json"
46051
+ }));
46052
+ const securityInput = await extractSecurity(client._options.security);
46053
+ const requestSecurity = resolveGlobalSecurity(securityInput);
46054
+ const context = {
46055
+ baseURL: options?.serverURL ?? client._baseURL ?? "",
46056
+ operationID: "listVendorJobTitles",
46057
+ oAuth2Scopes: [],
46058
+ resolvedSecurity: requestSecurity,
46059
+ securitySource: client._options.security,
46060
+ retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
46061
+ retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
46062
+ };
46063
+ const requestRes = client._createRequest(context, {
46064
+ security: requestSecurity,
46065
+ method: "GET",
46066
+ baseURL: options?.serverURL,
46067
+ path,
46068
+ headers,
46069
+ query,
46070
+ body,
46071
+ timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
46072
+ }, options);
46073
+ if (!requestRes.ok) {
46074
+ return [haltIterator(requestRes), { status: "invalid" }];
46075
+ }
46076
+ const req = requestRes.value;
46077
+ const doResult = await client._do(req, {
46078
+ context,
46079
+ errorCodes: ["403", "4XX", "500", "5XX"],
46080
+ retryConfig: context.retryConfig,
46081
+ retryCodes: context.retryCodes
46082
+ });
46083
+ if (!doResult.ok) {
46084
+ return [haltIterator(doResult), { status: "request-error", request: req }];
46085
+ }
46086
+ const response = doResult.value;
46087
+ const responseFields = {
46088
+ HttpMeta: { Response: response, Request: req }
46089
+ };
46090
+ const [result, raw] = await match(json(200, ListVendorJobTitlesResponse$inboundSchema, {
46091
+ key: "Result"
46092
+ }), jsonErr(403, ApiErrorResponse$inboundSchema), jsonErr(500, ApiErrorResponse$inboundSchema), fail("4XX"), fail("5XX"))(response, { extraFields: responseFields });
46093
+ if (!result.ok) {
46094
+ return [haltIterator(result), {
46095
+ status: "complete",
46096
+ request: req,
46097
+ response
46098
+ }];
46099
+ }
46100
+ const nextFunc = (responseData) => {
46101
+ const page2 = request?.page ?? 1;
46102
+ const nextPage = page2 + 1;
46103
+ if (!responseData) {
46104
+ return { next: () => null };
46105
+ }
46106
+ const results = dlv(responseData, "items");
46107
+ if (!Array.isArray(results) || !results.length) {
46108
+ return { next: () => null };
46109
+ }
46110
+ const limit = request?.itemsPerPage ?? 0;
46111
+ if (results.length < limit) {
46112
+ return { next: () => null };
46113
+ }
46114
+ const nextVal = () => vendorsListVendorJobTitles(client, {
46115
+ ...request,
46116
+ page: nextPage
46117
+ }, options);
46118
+ return { next: nextVal, "~next": { page: nextPage } };
46119
+ };
46120
+ const page = { ...result, ...nextFunc(raw) };
46121
+ return [{ ...page, ...createPageIterator(page, (v2) => !v2.ok) }, {
46122
+ status: "complete",
46123
+ request: req,
46124
+ response
46125
+ }];
46126
+ }
46127
+ var init_vendorsListVendorJobTitles = __esm(() => {
46128
+ init_encodings();
46129
+ init_matchers();
46130
+ init_primitives();
46131
+ init_schemas();
46132
+ init_security();
46133
+ init_url();
46134
+ init_errors();
46135
+ init_operations();
46136
+ init_async();
46137
+ init_operations2();
46138
+ });
46139
+
46140
+ // src/mcp-server/tools/vendorsListVendorJobTitles.ts
46141
+ var args29, tool$vendorsListVendorJobTitles;
46142
+ var init_vendorsListVendorJobTitles2 = __esm(() => {
46143
+ init_vendorsListVendorJobTitles();
46144
+ init_operations();
46145
+ init_tools();
46146
+ args29 = {
46147
+ request: ListVendorJobTitlesRequest$inboundSchema
46148
+ };
46149
+ tool$vendorsListVendorJobTitles = {
46150
+ name: "vendors-list-vendor-job-titles",
46151
+ description: `List vendor job titles
46152
+
46153
+ List valid job titles for Vendors. This can be used during sign up or in a filter.`,
46154
+ args: args29,
46155
+ tool: async (client, args30, ctx) => {
46156
+ const [result, apiCall] = await vendorsListVendorJobTitles(client, args30.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
45810
46157
  if (!result.ok) {
45811
46158
  return {
45812
46159
  content: [{ type: "text", text: result.error.message }],
@@ -45821,9 +46168,9 @@ invoice.line_items`,
45821
46168
 
45822
46169
  // src/funcs/vendorsListVendorManagedByCompanies.ts
45823
46170
  function vendorsListVendorManagedByCompanies(client, request, options) {
45824
- return new APIPromise($do28(client, request, options));
46171
+ return new APIPromise($do31(client, request, options));
45825
46172
  }
45826
- async function $do28(client, request, options) {
46173
+ async function $do31(client, request, options) {
45827
46174
  const parsed = safeParse(request, (value) => ListVendorManagedByCompaniesRequest$outboundSchema.parse(value), "Input validation failed");
45828
46175
  if (!parsed.ok) {
45829
46176
  return [haltIterator(parsed), { status: "invalid" }];
@@ -45935,12 +46282,12 @@ var init_vendorsListVendorManagedByCompanies = __esm(() => {
45935
46282
  });
45936
46283
 
45937
46284
  // src/mcp-server/tools/vendorsListVendorManagedByCompanies.ts
45938
- var args27, tool$vendorsListVendorManagedByCompanies;
46285
+ var args30, tool$vendorsListVendorManagedByCompanies;
45939
46286
  var init_vendorsListVendorManagedByCompanies2 = __esm(() => {
45940
46287
  init_vendorsListVendorManagedByCompanies();
45941
46288
  init_operations();
45942
46289
  init_tools();
45943
- args27 = {
46290
+ args30 = {
45944
46291
  request: ListVendorManagedByCompaniesRequest$inboundSchema
45945
46292
  };
45946
46293
  tool$vendorsListVendorManagedByCompanies = {
@@ -45948,9 +46295,9 @@ var init_vendorsListVendorManagedByCompanies2 = __esm(() => {
45948
46295
  description: `List of companies managing the vendor
45949
46296
 
45950
46297
  List of companies managing the vendor`,
45951
- args: args27,
45952
- tool: async (client, args28, ctx) => {
45953
- const [result, apiCall] = await vendorsListVendorManagedByCompanies(client, args28.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
46298
+ args: args30,
46299
+ tool: async (client, args31, ctx) => {
46300
+ const [result, apiCall] = await vendorsListVendorManagedByCompanies(client, args31.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
45954
46301
  if (!result.ok) {
45955
46302
  return {
45956
46303
  content: [{ type: "text", text: result.error.message }],
@@ -45965,9 +46312,9 @@ List of companies managing the vendor`,
45965
46312
 
45966
46313
  // src/funcs/vendorsListVendorScrubDetails.ts
45967
46314
  function vendorsListVendorScrubDetails(client, request, options) {
45968
- return new APIPromise($do29(client, request, options));
46315
+ return new APIPromise($do32(client, request, options));
45969
46316
  }
45970
- async function $do29(client, request, options) {
46317
+ async function $do32(client, request, options) {
45971
46318
  const parsed = safeParse(request, (value) => ListVendorScrubDetailsRequest$outboundSchema.parse(value), "Input validation failed");
45972
46319
  if (!parsed.ok) {
45973
46320
  return [parsed, { status: "invalid" }];
@@ -46041,12 +46388,12 @@ var init_vendorsListVendorScrubDetails = __esm(() => {
46041
46388
  });
46042
46389
 
46043
46390
  // src/mcp-server/tools/vendorsListVendorScrubDetails.ts
46044
- var args28, tool$vendorsListVendorScrubDetails;
46391
+ var args31, tool$vendorsListVendorScrubDetails;
46045
46392
  var init_vendorsListVendorScrubDetails2 = __esm(() => {
46046
46393
  init_vendorsListVendorScrubDetails();
46047
46394
  init_operations();
46048
46395
  init_tools();
46049
- args28 = {
46396
+ args31 = {
46050
46397
  request: ListVendorScrubDetailsRequest$inboundSchema
46051
46398
  };
46052
46399
  tool$vendorsListVendorScrubDetails = {
@@ -46054,9 +46401,9 @@ var init_vendorsListVendorScrubDetails2 = __esm(() => {
46054
46401
  description: `List vendor scrub details
46055
46402
 
46056
46403
  List vendor scrub details`,
46057
- args: args28,
46058
- tool: async (client, args29, ctx) => {
46059
- const [result, apiCall] = await vendorsListVendorScrubDetails(client, args29.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
46404
+ args: args31,
46405
+ tool: async (client, args32, ctx) => {
46406
+ const [result, apiCall] = await vendorsListVendorScrubDetails(client, args32.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
46060
46407
  if (!result.ok) {
46061
46408
  return {
46062
46409
  content: [{ type: "text", text: result.error.message }],
@@ -46071,9 +46418,9 @@ List vendor scrub details`,
46071
46418
 
46072
46419
  // src/funcs/vendorsListVendorScrubPackages.ts
46073
46420
  function vendorsListVendorScrubPackages(client, request, options) {
46074
- return new APIPromise($do30(client, request, options));
46421
+ return new APIPromise($do33(client, request, options));
46075
46422
  }
46076
- async function $do30(client, request, options) {
46423
+ async function $do33(client, request, options) {
46077
46424
  const parsed = safeParse(request, (value) => ListVendorScrubPackagesRequest$outboundSchema.parse(value), "Input validation failed");
46078
46425
  if (!parsed.ok) {
46079
46426
  return [haltIterator(parsed), { status: "invalid" }];
@@ -46185,12 +46532,12 @@ var init_vendorsListVendorScrubPackages = __esm(() => {
46185
46532
  });
46186
46533
 
46187
46534
  // src/mcp-server/tools/vendorsListVendorScrubPackages.ts
46188
- var args29, tool$vendorsListVendorScrubPackages;
46535
+ var args32, tool$vendorsListVendorScrubPackages;
46189
46536
  var init_vendorsListVendorScrubPackages2 = __esm(() => {
46190
46537
  init_vendorsListVendorScrubPackages();
46191
46538
  init_operations();
46192
46539
  init_tools();
46193
- args29 = {
46540
+ args32 = {
46194
46541
  request: ListVendorScrubPackagesRequest$inboundSchema
46195
46542
  };
46196
46543
  tool$vendorsListVendorScrubPackages = {
@@ -46198,9 +46545,9 @@ var init_vendorsListVendorScrubPackages2 = __esm(() => {
46198
46545
  description: `List vendor scrub packages
46199
46546
 
46200
46547
  List vendor scrub packages`,
46201
- args: args29,
46202
- tool: async (client, args30, ctx) => {
46203
- const [result, apiCall] = await vendorsListVendorScrubPackages(client, args30.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
46548
+ args: args32,
46549
+ tool: async (client, args33, ctx) => {
46550
+ const [result, apiCall] = await vendorsListVendorScrubPackages(client, args33.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
46204
46551
  if (!result.ok) {
46205
46552
  return {
46206
46553
  content: [{ type: "text", text: result.error.message }],
@@ -46215,9 +46562,9 @@ List vendor scrub packages`,
46215
46562
 
46216
46563
  // src/funcs/vendorsListVendorScrubPurchases.ts
46217
46564
  function vendorsListVendorScrubPurchases(client, request, options) {
46218
- return new APIPromise($do31(client, request, options));
46565
+ return new APIPromise($do34(client, request, options));
46219
46566
  }
46220
- async function $do31(client, request, options) {
46567
+ async function $do34(client, request, options) {
46221
46568
  const parsed = safeParse(request, (value) => ListVendorScrubPurchasesRequest$outboundSchema.parse(value), "Input validation failed");
46222
46569
  if (!parsed.ok) {
46223
46570
  return [haltIterator(parsed), { status: "invalid" }];
@@ -46329,12 +46676,12 @@ var init_vendorsListVendorScrubPurchases = __esm(() => {
46329
46676
  });
46330
46677
 
46331
46678
  // src/mcp-server/tools/vendorsListVendorScrubPurchases.ts
46332
- var args30, tool$vendorsListVendorScrubPurchases;
46679
+ var args33, tool$vendorsListVendorScrubPurchases;
46333
46680
  var init_vendorsListVendorScrubPurchases2 = __esm(() => {
46334
46681
  init_vendorsListVendorScrubPurchases();
46335
46682
  init_operations();
46336
46683
  init_tools();
46337
- args30 = {
46684
+ args33 = {
46338
46685
  request: ListVendorScrubPurchasesRequest$inboundSchema
46339
46686
  };
46340
46687
  tool$vendorsListVendorScrubPurchases = {
@@ -46342,9 +46689,9 @@ var init_vendorsListVendorScrubPurchases2 = __esm(() => {
46342
46689
  description: `List vendor scrub purchases
46343
46690
 
46344
46691
  List vendor scrub purchases`,
46345
- args: args30,
46346
- tool: async (client, args31, ctx) => {
46347
- const [result, apiCall] = await vendorsListVendorScrubPurchases(client, args31.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
46692
+ args: args33,
46693
+ tool: async (client, args34, ctx) => {
46694
+ const [result, apiCall] = await vendorsListVendorScrubPurchases(client, args34.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
46348
46695
  if (!result.ok) {
46349
46696
  return {
46350
46697
  content: [{ type: "text", text: result.error.message }],
@@ -46359,9 +46706,9 @@ List vendor scrub purchases`,
46359
46706
 
46360
46707
  // src/funcs/vendorsPurchaseScrubCredits.ts
46361
46708
  function vendorsPurchaseScrubCredits(client, request, options) {
46362
- return new APIPromise($do32(client, request, options));
46709
+ return new APIPromise($do35(client, request, options));
46363
46710
  }
46364
- async function $do32(client, request, options) {
46711
+ async function $do35(client, request, options) {
46365
46712
  const parsed = safeParse(request, (value) => PurchaseScrubCreditsRequest$outboundSchema.parse(value), "Input validation failed");
46366
46713
  if (!parsed.ok) {
46367
46714
  return [parsed, { status: "invalid" }];
@@ -46435,12 +46782,12 @@ var init_vendorsPurchaseScrubCredits = __esm(() => {
46435
46782
  });
46436
46783
 
46437
46784
  // src/mcp-server/tools/vendorsPurchaseScrubCredits.ts
46438
- var args31, tool$vendorsPurchaseScrubCredits;
46785
+ var args34, tool$vendorsPurchaseScrubCredits;
46439
46786
  var init_vendorsPurchaseScrubCredits2 = __esm(() => {
46440
46787
  init_vendorsPurchaseScrubCredits();
46441
46788
  init_operations();
46442
46789
  init_tools();
46443
- args31 = {
46790
+ args34 = {
46444
46791
  request: PurchaseScrubCreditsRequest$inboundSchema
46445
46792
  };
46446
46793
  tool$vendorsPurchaseScrubCredits = {
@@ -46448,9 +46795,9 @@ var init_vendorsPurchaseScrubCredits2 = __esm(() => {
46448
46795
  description: `Purchase scrub credits
46449
46796
 
46450
46797
  Purchase scrub credits`,
46451
- args: args31,
46452
- tool: async (client, args32, ctx) => {
46453
- const [result, apiCall] = await vendorsPurchaseScrubCredits(client, args32.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
46798
+ args: args34,
46799
+ tool: async (client, args35, ctx) => {
46800
+ const [result, apiCall] = await vendorsPurchaseScrubCredits(client, args35.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
46454
46801
  if (!result.ok) {
46455
46802
  return {
46456
46803
  content: [{ type: "text", text: result.error.message }],
@@ -46465,9 +46812,9 @@ Purchase scrub credits`,
46465
46812
 
46466
46813
  // src/funcs/vendorsUpdateVendorDetails.ts
46467
46814
  function vendorsUpdateVendorDetails(client, request, options) {
46468
- return new APIPromise($do33(client, request, options));
46815
+ return new APIPromise($do36(client, request, options));
46469
46816
  }
46470
- async function $do33(client, request, options) {
46817
+ async function $do36(client, request, options) {
46471
46818
  const parsed = safeParse(request, (value) => UpdateVendorDetailsRequest$outboundSchema.parse(value), "Input validation failed");
46472
46819
  if (!parsed.ok) {
46473
46820
  return [parsed, { status: "invalid" }];
@@ -46542,12 +46889,12 @@ var init_vendorsUpdateVendorDetails = __esm(() => {
46542
46889
  });
46543
46890
 
46544
46891
  // src/mcp-server/tools/vendorsUpdateVendorDetails.ts
46545
- var args32, tool$vendorsUpdateVendorDetails;
46892
+ var args35, tool$vendorsUpdateVendorDetails;
46546
46893
  var init_vendorsUpdateVendorDetails2 = __esm(() => {
46547
46894
  init_vendorsUpdateVendorDetails();
46548
46895
  init_operations();
46549
46896
  init_tools();
46550
- args32 = {
46897
+ args35 = {
46551
46898
  request: UpdateVendorDetailsRequest$inboundSchema
46552
46899
  };
46553
46900
  tool$vendorsUpdateVendorDetails = {
@@ -46555,9 +46902,9 @@ var init_vendorsUpdateVendorDetails2 = __esm(() => {
46555
46902
  description: `Update vendor details
46556
46903
 
46557
46904
  It will update the vendor details`,
46558
- args: args32,
46559
- tool: async (client, args33, ctx) => {
46560
- const [result, apiCall] = await vendorsUpdateVendorDetails(client, args33.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
46905
+ args: args35,
46906
+ tool: async (client, args36, ctx) => {
46907
+ const [result, apiCall] = await vendorsUpdateVendorDetails(client, args36.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
46561
46908
  if (!result.ok) {
46562
46909
  return {
46563
46910
  content: [{ type: "text", text: result.error.message }],
@@ -46572,9 +46919,9 @@ It will update the vendor details`,
46572
46919
 
46573
46920
  // src/funcs/vendorsUpdateVendorManagedByCompany.ts
46574
46921
  function vendorsUpdateVendorManagedByCompany(client, request, options) {
46575
- return new APIPromise($do34(client, request, options));
46922
+ return new APIPromise($do37(client, request, options));
46576
46923
  }
46577
- async function $do34(client, request, options) {
46924
+ async function $do37(client, request, options) {
46578
46925
  const parsed = safeParse(request, (value) => UpdateVendorManagedByCompanyRequest$outboundSchema.parse(value), "Input validation failed");
46579
46926
  if (!parsed.ok) {
46580
46927
  return [parsed, { status: "invalid" }];
@@ -46648,12 +46995,12 @@ var init_vendorsUpdateVendorManagedByCompany = __esm(() => {
46648
46995
  });
46649
46996
 
46650
46997
  // src/mcp-server/tools/vendorsUpdateVendorManagedByCompany.ts
46651
- var args33, tool$vendorsUpdateVendorManagedByCompany;
46998
+ var args36, tool$vendorsUpdateVendorManagedByCompany;
46652
46999
  var init_vendorsUpdateVendorManagedByCompany2 = __esm(() => {
46653
47000
  init_vendorsUpdateVendorManagedByCompany();
46654
47001
  init_operations();
46655
47002
  init_tools();
46656
- args33 = {
47003
+ args36 = {
46657
47004
  request: UpdateVendorManagedByCompanyRequest$inboundSchema
46658
47005
  };
46659
47006
  tool$vendorsUpdateVendorManagedByCompany = {
@@ -46661,9 +47008,9 @@ var init_vendorsUpdateVendorManagedByCompany2 = __esm(() => {
46661
47008
  description: `Update vendor managed by company access rights
46662
47009
 
46663
47010
  It will update the vendor managed by company access rights`,
46664
- args: args33,
46665
- tool: async (client, args34, ctx) => {
46666
- const [result, apiCall] = await vendorsUpdateVendorManagedByCompany(client, args34.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47011
+ args: args36,
47012
+ tool: async (client, args37, ctx) => {
47013
+ const [result, apiCall] = await vendorsUpdateVendorManagedByCompany(client, args37.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
46667
47014
  if (!result.ok) {
46668
47015
  return {
46669
47016
  content: [{ type: "text", text: result.error.message }],
@@ -46678,9 +47025,9 @@ It will update the vendor managed by company access rights`,
46678
47025
 
46679
47026
  // src/funcs/vendorsUpdateVendorScrubDetails.ts
46680
47027
  function vendorsUpdateVendorScrubDetails(client, request, options) {
46681
- return new APIPromise($do35(client, request, options));
47028
+ return new APIPromise($do38(client, request, options));
46682
47029
  }
46683
- async function $do35(client, request, options) {
47030
+ async function $do38(client, request, options) {
46684
47031
  const parsed = safeParse(request, (value) => UpdateVendorScrubDetailsRequest$outboundSchema.parse(value), "Input validation failed");
46685
47032
  if (!parsed.ok) {
46686
47033
  return [parsed, { status: "invalid" }];
@@ -46755,12 +47102,12 @@ var init_vendorsUpdateVendorScrubDetails = __esm(() => {
46755
47102
  });
46756
47103
 
46757
47104
  // src/mcp-server/tools/vendorsUpdateVendorScrubDetails.ts
46758
- var args34, tool$vendorsUpdateVendorScrubDetails;
47105
+ var args37, tool$vendorsUpdateVendorScrubDetails;
46759
47106
  var init_vendorsUpdateVendorScrubDetails2 = __esm(() => {
46760
47107
  init_vendorsUpdateVendorScrubDetails();
46761
47108
  init_operations();
46762
47109
  init_tools();
46763
- args34 = {
47110
+ args37 = {
46764
47111
  request: UpdateVendorScrubDetailsRequest$inboundSchema
46765
47112
  };
46766
47113
  tool$vendorsUpdateVendorScrubDetails = {
@@ -46768,9 +47115,9 @@ var init_vendorsUpdateVendorScrubDetails2 = __esm(() => {
46768
47115
  description: `Update vendor scrub details
46769
47116
 
46770
47117
  Update vendor scrub details`,
46771
- args: args34,
46772
- tool: async (client, args35, ctx) => {
46773
- const [result, apiCall] = await vendorsUpdateVendorScrubDetails(client, args35.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47118
+ args: args37,
47119
+ tool: async (client, args38, ctx) => {
47120
+ const [result, apiCall] = await vendorsUpdateVendorScrubDetails(client, args38.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
46774
47121
  if (!result.ok) {
46775
47122
  return {
46776
47123
  content: [{ type: "text", text: result.error.message }],
@@ -46785,9 +47132,9 @@ Update vendor scrub details`,
46785
47132
 
46786
47133
  // src/funcs/webhooksGetWebhookEndpoint.ts
46787
47134
  function webhooksGetWebhookEndpoint(client, request, options) {
46788
- return new APIPromise($do36(client, request, options));
47135
+ return new APIPromise($do39(client, request, options));
46789
47136
  }
46790
- async function $do36(client, request, options) {
47137
+ async function $do39(client, request, options) {
46791
47138
  const parsed = safeParse(request, (value) => GetWebhookEndpointRequest$outboundSchema.parse(value), "Input validation failed");
46792
47139
  if (!parsed.ok) {
46793
47140
  return [parsed, { status: "invalid" }];
@@ -46861,12 +47208,12 @@ var init_webhooksGetWebhookEndpoint = __esm(() => {
46861
47208
  });
46862
47209
 
46863
47210
  // src/mcp-server/tools/webhooksGetWebhookEndpoint.ts
46864
- var args35, tool$webhooksGetWebhookEndpoint;
47211
+ var args38, tool$webhooksGetWebhookEndpoint;
46865
47212
  var init_webhooksGetWebhookEndpoint2 = __esm(() => {
46866
47213
  init_webhooksGetWebhookEndpoint();
46867
47214
  init_operations();
46868
47215
  init_tools();
46869
- args35 = {
47216
+ args38 = {
46870
47217
  request: GetWebhookEndpointRequest$inboundSchema
46871
47218
  };
46872
47219
  tool$webhooksGetWebhookEndpoint = {
@@ -46874,9 +47221,9 @@ var init_webhooksGetWebhookEndpoint2 = __esm(() => {
46874
47221
  description: `Retrieves the webhook endpoint with the given ID.
46875
47222
 
46876
47223
  Returns the definition of a webhook endpoint by ID.`,
46877
- args: args35,
46878
- tool: async (client, args36, ctx) => {
46879
- const [result, apiCall] = await webhooksGetWebhookEndpoint(client, args36.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47224
+ args: args38,
47225
+ tool: async (client, args39, ctx) => {
47226
+ const [result, apiCall] = await webhooksGetWebhookEndpoint(client, args39.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
46880
47227
  if (!result.ok) {
46881
47228
  return {
46882
47229
  content: [{ type: "text", text: result.error.message }],
@@ -46891,9 +47238,9 @@ Returns the definition of a webhook endpoint by ID.`,
46891
47238
 
46892
47239
  // src/funcs/webhooksListAllWebhookEndpoints.ts
46893
47240
  function webhooksListAllWebhookEndpoints(client, request, options) {
46894
- return new APIPromise($do37(client, request, options));
47241
+ return new APIPromise($do40(client, request, options));
46895
47242
  }
46896
- async function $do37(client, request, options) {
47243
+ async function $do40(client, request, options) {
46897
47244
  const parsed = safeParse(request, (value) => ListAllWebhookEndpointsRequest$outboundSchema.parse(value), "Input validation failed");
46898
47245
  if (!parsed.ok) {
46899
47246
  return [parsed, { status: "invalid" }];
@@ -46967,12 +47314,12 @@ var init_webhooksListAllWebhookEndpoints = __esm(() => {
46967
47314
  });
46968
47315
 
46969
47316
  // src/mcp-server/tools/webhooksListAllWebhookEndpoints.ts
46970
- var args36, tool$webhooksListAllWebhookEndpoints;
47317
+ var args39, tool$webhooksListAllWebhookEndpoints;
46971
47318
  var init_webhooksListAllWebhookEndpoints2 = __esm(() => {
46972
47319
  init_webhooksListAllWebhookEndpoints();
46973
47320
  init_operations();
46974
47321
  init_tools();
46975
- args36 = {
47322
+ args39 = {
46976
47323
  request: ListAllWebhookEndpointsRequest$inboundSchema
46977
47324
  };
46978
47325
  tool$webhooksListAllWebhookEndpoints = {
@@ -46980,9 +47327,9 @@ var init_webhooksListAllWebhookEndpoints2 = __esm(() => {
46980
47327
  description: `List all webhook endpoints
46981
47328
 
46982
47329
  Returns a list of your webhook endpoints.`,
46983
- args: args36,
46984
- tool: async (client, args37, ctx) => {
46985
- const [result, apiCall] = await webhooksListAllWebhookEndpoints(client, args37.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47330
+ args: args39,
47331
+ tool: async (client, args40, ctx) => {
47332
+ const [result, apiCall] = await webhooksListAllWebhookEndpoints(client, args40.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
46986
47333
  if (!result.ok) {
46987
47334
  return {
46988
47335
  content: [{ type: "text", text: result.error.message }],
@@ -46997,9 +47344,9 @@ Returns a list of your webhook endpoints.`,
46997
47344
 
46998
47345
  // src/funcs/webhooksUpdatesTheWebhookEndpointWithTheGivenId.ts
46999
47346
  function webhooksUpdatesTheWebhookEndpointWithTheGivenId(client, request, options) {
47000
- return new APIPromise($do38(client, request, options));
47347
+ return new APIPromise($do41(client, request, options));
47001
47348
  }
47002
- async function $do38(client, request, options) {
47349
+ async function $do41(client, request, options) {
47003
47350
  const parsed = safeParse(request, (value) => UpdatesTheWebhookEndpointWithTheGivenIdRequest$outboundSchema.parse(value), "Input validation failed");
47004
47351
  if (!parsed.ok) {
47005
47352
  return [parsed, { status: "invalid" }];
@@ -47074,12 +47421,12 @@ var init_webhooksUpdatesTheWebhookEndpointWithTheGivenId = __esm(() => {
47074
47421
  });
47075
47422
 
47076
47423
  // src/mcp-server/tools/webhooksUpdatesTheWebhookEndpointWithTheGivenId.ts
47077
- var args37, tool$webhooksUpdatesTheWebhookEndpointWithTheGivenId;
47424
+ var args40, tool$webhooksUpdatesTheWebhookEndpointWithTheGivenId;
47078
47425
  var init_webhooksUpdatesTheWebhookEndpointWithTheGivenId2 = __esm(() => {
47079
47426
  init_webhooksUpdatesTheWebhookEndpointWithTheGivenId();
47080
47427
  init_operations();
47081
47428
  init_tools();
47082
- args37 = {
47429
+ args40 = {
47083
47430
  request: UpdatesTheWebhookEndpointWithTheGivenIdRequest$inboundSchema
47084
47431
  };
47085
47432
  tool$webhooksUpdatesTheWebhookEndpointWithTheGivenId = {
@@ -47087,9 +47434,9 @@ var init_webhooksUpdatesTheWebhookEndpointWithTheGivenId2 = __esm(() => {
47087
47434
  description: `Updates the webhook endpoint with the given ID.
47088
47435
 
47089
47436
  Updates the webhook endpoint with the given ID.`,
47090
- args: args37,
47091
- tool: async (client, args38, ctx) => {
47092
- const [result, apiCall] = await webhooksUpdatesTheWebhookEndpointWithTheGivenId(client, args38.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47437
+ args: args40,
47438
+ tool: async (client, args41, ctx) => {
47439
+ const [result, apiCall] = await webhooksUpdatesTheWebhookEndpointWithTheGivenId(client, args41.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47093
47440
  if (!result.ok) {
47094
47441
  return {
47095
47442
  content: [{ type: "text", text: result.error.message }],
@@ -47104,9 +47451,9 @@ Updates the webhook endpoint with the given ID.`,
47104
47451
 
47105
47452
  // src/funcs/zonesListOrSearchSecurityZones.ts
47106
47453
  function zonesListOrSearchSecurityZones(client, request, options) {
47107
- return new APIPromise($do39(client, request, options));
47454
+ return new APIPromise($do42(client, request, options));
47108
47455
  }
47109
- async function $do39(client, request, options) {
47456
+ async function $do42(client, request, options) {
47110
47457
  const parsed = safeParse(request, (value) => ListOrSearchSecurityZonesRequest$outboundSchema.parse(value), "Input validation failed");
47111
47458
  if (!parsed.ok) {
47112
47459
  return [haltIterator(parsed), { status: "invalid" }];
@@ -47218,12 +47565,12 @@ var init_zonesListOrSearchSecurityZones = __esm(() => {
47218
47565
  });
47219
47566
 
47220
47567
  // src/mcp-server/tools/zonesListOrSearchSecurityZones.ts
47221
- var args38, tool$zonesListOrSearchSecurityZones;
47568
+ var args41, tool$zonesListOrSearchSecurityZones;
47222
47569
  var init_zonesListOrSearchSecurityZones2 = __esm(() => {
47223
47570
  init_zonesListOrSearchSecurityZones();
47224
47571
  init_operations();
47225
47572
  init_tools();
47226
- args38 = {
47573
+ args41 = {
47227
47574
  request: ListOrSearchSecurityZonesRequest$inboundSchema
47228
47575
  };
47229
47576
  tool$zonesListOrSearchSecurityZones = {
@@ -47231,9 +47578,9 @@ var init_zonesListOrSearchSecurityZones2 = __esm(() => {
47231
47578
  description: `List or search security zones
47232
47579
 
47233
47580
  List or search security zones`,
47234
- args: args38,
47235
- tool: async (client, args39, ctx) => {
47236
- const [result, apiCall] = await zonesListOrSearchSecurityZones(client, args39.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47581
+ args: args41,
47582
+ tool: async (client, args42, ctx) => {
47583
+ const [result, apiCall] = await zonesListOrSearchSecurityZones(client, args42.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47237
47584
  if (!result.ok) {
47238
47585
  return {
47239
47586
  content: [{ type: "text", text: result.error.message }],
@@ -47248,9 +47595,9 @@ List or search security zones`,
47248
47595
 
47249
47596
  // src/funcs/zonesSecurityZoneCheckin.ts
47250
47597
  function zonesSecurityZoneCheckin(client, request, options) {
47251
- return new APIPromise($do40(client, request, options));
47598
+ return new APIPromise($do43(client, request, options));
47252
47599
  }
47253
- async function $do40(client, request, options) {
47600
+ async function $do43(client, request, options) {
47254
47601
  const parsed = safeParse(request, (value) => SecurityZoneCheckinRequestBody$outboundSchema.parse(value), "Input validation failed");
47255
47602
  if (!parsed.ok) {
47256
47603
  return [parsed, { status: "invalid" }];
@@ -47318,12 +47665,12 @@ var init_zonesSecurityZoneCheckin = __esm(() => {
47318
47665
  });
47319
47666
 
47320
47667
  // src/mcp-server/tools/zonesSecurityZoneCheckin.ts
47321
- var args39, tool$zonesSecurityZoneCheckin;
47668
+ var args42, tool$zonesSecurityZoneCheckin;
47322
47669
  var init_zonesSecurityZoneCheckin2 = __esm(() => {
47323
47670
  init_zonesSecurityZoneCheckin();
47324
47671
  init_operations();
47325
47672
  init_tools();
47326
- args39 = {
47673
+ args42 = {
47327
47674
  request: SecurityZoneCheckinRequestBody$inboundSchema
47328
47675
  };
47329
47676
  tool$zonesSecurityZoneCheckin = {
@@ -47331,9 +47678,9 @@ var init_zonesSecurityZoneCheckin2 = __esm(() => {
47331
47678
  description: `Security zone checkin request
47332
47679
 
47333
47680
  Security zone checkin request`,
47334
- args: args39,
47335
- tool: async (client, args40, ctx) => {
47336
- const [result, apiCall] = await zonesSecurityZoneCheckin(client, args40.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47681
+ args: args42,
47682
+ tool: async (client, args43, ctx) => {
47683
+ const [result, apiCall] = await zonesSecurityZoneCheckin(client, args43.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47337
47684
  if (!result.ok) {
47338
47685
  return {
47339
47686
  content: [{ type: "text", text: result.error.message }],
@@ -47350,7 +47697,7 @@ Security zone checkin request`,
47350
47697
  function createMCPServer(deps) {
47351
47698
  const server = new McpServer({
47352
47699
  name: "GreenSecurity",
47353
- version: "0.30.55"
47700
+ version: "0.31.3"
47354
47701
  });
47355
47702
  const client = new GreenSecurityCore({
47356
47703
  security: deps.security,
@@ -47365,9 +47712,12 @@ function createMCPServer(deps) {
47365
47712
  const prompt = createRegisterPrompt(deps.logger, server, client, scopes);
47366
47713
  const register = { tool, resource, resourceTemplate, prompt };
47367
47714
  tool(tool$vendorsCreateVendorRegistration);
47715
+ tool(tool$vendorsListVendorJobTitles);
47368
47716
  tool(tool$vendorsListVendorCredentials);
47369
47717
  tool(tool$vendorsGetVendorCredentialDetails);
47370
47718
  tool(tool$vendorsGetVendorCredentialFile);
47719
+ tool(tool$vendorsDeclineVendorCredential);
47720
+ tool(tool$vendorsListVendorCredentialFiles);
47371
47721
  tool(tool$vendorsExpediteTimeRemaining);
47372
47722
  tool(tool$vendorsListVendorInvoices);
47373
47723
  tool(tool$vendorsGetVendorInvoiceDetails);
@@ -47427,6 +47777,7 @@ var init_server2 = __esm(() => {
47427
47777
  init_vendorScansVendorScanOut2();
47428
47778
  init_vendorsCreateVendorCompany2();
47429
47779
  init_vendorsCreateVendorRegistration2();
47780
+ init_vendorsDeclineVendorCredential2();
47430
47781
  init_vendorsDeleteVendorManagedByCompany2();
47431
47782
  init_vendorsExpediteTimeRemaining2();
47432
47783
  init_vendorsGetVendorCredentialDetails2();
@@ -47434,10 +47785,12 @@ var init_server2 = __esm(() => {
47434
47785
  init_vendorsGetVendorInvoiceDetails2();
47435
47786
  init_vendorsGetVendorsDetails2();
47436
47787
  init_vendorsListVendorAdditionalFacilityFields2();
47788
+ init_vendorsListVendorCredentialFiles2();
47437
47789
  init_vendorsListVendorCredentials2();
47438
47790
  init_vendorsListVendorCredits2();
47439
47791
  init_vendorsListVendorFacilityStatuses2();
47440
47792
  init_vendorsListVendorInvoices2();
47793
+ init_vendorsListVendorJobTitles2();
47441
47794
  init_vendorsListVendorManagedByCompanies2();
47442
47795
  init_vendorsListVendorScrubDetails2();
47443
47796
  init_vendorsListVendorScrubPackages2();
@@ -48655,7 +49008,7 @@ var routes = an({
48655
49008
  var app = He(routes, {
48656
49009
  name: "mcp",
48657
49010
  versionInfo: {
48658
- currentVersion: "0.30.55"
49011
+ currentVersion: "0.31.3"
48659
49012
  }
48660
49013
  });
48661
49014
  zt(app, process3.argv.slice(2), buildContext(process3));
@@ -48663,5 +49016,5 @@ export {
48663
49016
  app
48664
49017
  };
48665
49018
 
48666
- //# debugId=72134DD37CE7156164756E2164756E21
49019
+ //# debugId=76334AE9179E304D64756E2164756E21
48667
49020
  //# sourceMappingURL=mcp-server.js.map