@greensecurity/javascript-sdk 0.39.4 → 0.39.8

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 (247) hide show
  1. package/README.md +15 -0
  2. package/bin/mcp-server.js +1431 -591
  3. package/bin/mcp-server.js.map +23 -8
  4. package/dist/commonjs/__tests__/events.test.js +86 -0
  5. package/dist/commonjs/__tests__/events.test.js.map +1 -1
  6. package/dist/commonjs/__tests__/zones.test.js +16 -4
  7. package/dist/commonjs/__tests__/zones.test.js.map +1 -1
  8. package/dist/commonjs/funcs/eventsAcceptInvitation.d.ts +18 -0
  9. package/dist/commonjs/funcs/eventsAcceptInvitation.d.ts.map +1 -0
  10. package/dist/commonjs/funcs/eventsAcceptInvitation.js +127 -0
  11. package/dist/commonjs/funcs/eventsAcceptInvitation.js.map +1 -0
  12. package/dist/commonjs/funcs/eventsCreateEvent.d.ts +18 -0
  13. package/dist/commonjs/funcs/eventsCreateEvent.d.ts.map +1 -0
  14. package/dist/commonjs/funcs/eventsCreateEvent.js +117 -0
  15. package/dist/commonjs/funcs/eventsCreateEvent.js.map +1 -0
  16. package/dist/commonjs/funcs/eventsDeclineInvitation.d.ts +18 -0
  17. package/dist/commonjs/funcs/eventsDeclineInvitation.d.ts.map +1 -0
  18. package/dist/commonjs/funcs/eventsDeclineInvitation.js +127 -0
  19. package/dist/commonjs/funcs/eventsDeclineInvitation.js.map +1 -0
  20. package/dist/commonjs/funcs/eventsDeleteEvent.d.ts +18 -0
  21. package/dist/commonjs/funcs/eventsDeleteEvent.d.ts.map +1 -0
  22. package/dist/commonjs/funcs/eventsDeleteEvent.js +122 -0
  23. package/dist/commonjs/funcs/eventsDeleteEvent.js.map +1 -0
  24. package/dist/commonjs/funcs/eventsUpdateEvent.d.ts +18 -0
  25. package/dist/commonjs/funcs/eventsUpdateEvent.d.ts.map +1 -0
  26. package/dist/commonjs/funcs/eventsUpdateEvent.js +123 -0
  27. package/dist/commonjs/funcs/eventsUpdateEvent.js.map +1 -0
  28. package/dist/commonjs/lib/config.d.ts +3 -3
  29. package/dist/commonjs/lib/config.js +3 -3
  30. package/dist/commonjs/mcp-server/mcp-server.js +1 -1
  31. package/dist/commonjs/mcp-server/server.d.ts.map +1 -1
  32. package/dist/commonjs/mcp-server/server.js +11 -1
  33. package/dist/commonjs/mcp-server/server.js.map +1 -1
  34. package/dist/commonjs/mcp-server/tools/eventsAcceptInvitation.d.ts +8 -0
  35. package/dist/commonjs/mcp-server/tools/eventsAcceptInvitation.d.ts.map +1 -0
  36. package/dist/commonjs/mcp-server/tools/eventsAcceptInvitation.js +64 -0
  37. package/dist/commonjs/mcp-server/tools/eventsAcceptInvitation.js.map +1 -0
  38. package/dist/commonjs/mcp-server/tools/eventsCreateEvent.d.ts +8 -0
  39. package/dist/commonjs/mcp-server/tools/eventsCreateEvent.d.ts.map +1 -0
  40. package/dist/commonjs/mcp-server/tools/eventsCreateEvent.js +64 -0
  41. package/dist/commonjs/mcp-server/tools/eventsCreateEvent.js.map +1 -0
  42. package/dist/commonjs/mcp-server/tools/eventsDeclineInvitation.d.ts +8 -0
  43. package/dist/commonjs/mcp-server/tools/eventsDeclineInvitation.d.ts.map +1 -0
  44. package/dist/commonjs/mcp-server/tools/eventsDeclineInvitation.js +64 -0
  45. package/dist/commonjs/mcp-server/tools/eventsDeclineInvitation.js.map +1 -0
  46. package/dist/commonjs/mcp-server/tools/eventsDeleteEvent.d.ts +8 -0
  47. package/dist/commonjs/mcp-server/tools/eventsDeleteEvent.d.ts.map +1 -0
  48. package/dist/commonjs/mcp-server/tools/eventsDeleteEvent.js +64 -0
  49. package/dist/commonjs/mcp-server/tools/eventsDeleteEvent.js.map +1 -0
  50. package/dist/commonjs/mcp-server/tools/eventsUpdateEvent.d.ts +8 -0
  51. package/dist/commonjs/mcp-server/tools/eventsUpdateEvent.d.ts.map +1 -0
  52. package/dist/commonjs/mcp-server/tools/eventsUpdateEvent.js +64 -0
  53. package/dist/commonjs/mcp-server/tools/eventsUpdateEvent.js.map +1 -0
  54. package/dist/commonjs/models/components/vendorfacilitystatusview.d.ts +4 -0
  55. package/dist/commonjs/models/components/vendorfacilitystatusview.d.ts.map +1 -1
  56. package/dist/commonjs/models/components/vendorfacilitystatusview.js +8 -0
  57. package/dist/commonjs/models/components/vendorfacilitystatusview.js.map +1 -1
  58. package/dist/commonjs/models/operations/acceptinvitation.d.ts +92 -0
  59. package/dist/commonjs/models/operations/acceptinvitation.d.ts.map +1 -0
  60. package/dist/commonjs/models/operations/acceptinvitation.js +138 -0
  61. package/dist/commonjs/models/operations/acceptinvitation.js.map +1 -0
  62. package/dist/commonjs/models/operations/createevent.d.ts +99 -0
  63. package/dist/commonjs/models/operations/createevent.d.ts.map +1 -0
  64. package/dist/commonjs/models/operations/createevent.js +151 -0
  65. package/dist/commonjs/models/operations/createevent.js.map +1 -0
  66. package/dist/commonjs/models/operations/declineinvitation.d.ts +92 -0
  67. package/dist/commonjs/models/operations/declineinvitation.d.ts.map +1 -0
  68. package/dist/commonjs/models/operations/declineinvitation.js +138 -0
  69. package/dist/commonjs/models/operations/declineinvitation.js.map +1 -0
  70. package/dist/commonjs/models/operations/deleteevent.d.ts +60 -0
  71. package/dist/commonjs/models/operations/deleteevent.d.ts.map +1 -0
  72. package/dist/commonjs/models/operations/deleteevent.js +96 -0
  73. package/dist/commonjs/models/operations/deleteevent.js.map +1 -0
  74. package/dist/commonjs/models/operations/index.d.ts +5 -0
  75. package/dist/commonjs/models/operations/index.d.ts.map +1 -1
  76. package/dist/commonjs/models/operations/index.js +5 -0
  77. package/dist/commonjs/models/operations/index.js.map +1 -1
  78. package/dist/commonjs/models/operations/updateevent.d.ts +113 -0
  79. package/dist/commonjs/models/operations/updateevent.d.ts.map +1 -0
  80. package/dist/commonjs/models/operations/updateevent.js +154 -0
  81. package/dist/commonjs/models/operations/updateevent.js.map +1 -0
  82. package/dist/commonjs/react-query/eventsAcceptInvitation.d.ts +23 -0
  83. package/dist/commonjs/react-query/eventsAcceptInvitation.d.ts.map +1 -0
  84. package/dist/commonjs/react-query/eventsAcceptInvitation.js +47 -0
  85. package/dist/commonjs/react-query/eventsAcceptInvitation.js.map +1 -0
  86. package/dist/commonjs/react-query/eventsCreateEvent.d.ts +23 -0
  87. package/dist/commonjs/react-query/eventsCreateEvent.d.ts.map +1 -0
  88. package/dist/commonjs/react-query/eventsCreateEvent.js +47 -0
  89. package/dist/commonjs/react-query/eventsCreateEvent.js.map +1 -0
  90. package/dist/commonjs/react-query/eventsDeclineInvitation.d.ts +23 -0
  91. package/dist/commonjs/react-query/eventsDeclineInvitation.d.ts.map +1 -0
  92. package/dist/commonjs/react-query/eventsDeclineInvitation.js +47 -0
  93. package/dist/commonjs/react-query/eventsDeclineInvitation.js.map +1 -0
  94. package/dist/commonjs/react-query/eventsDeleteEvent.d.ts +23 -0
  95. package/dist/commonjs/react-query/eventsDeleteEvent.d.ts.map +1 -0
  96. package/dist/commonjs/react-query/eventsDeleteEvent.js +47 -0
  97. package/dist/commonjs/react-query/eventsDeleteEvent.js.map +1 -0
  98. package/dist/commonjs/react-query/eventsUpdateEvent.d.ts +23 -0
  99. package/dist/commonjs/react-query/eventsUpdateEvent.d.ts.map +1 -0
  100. package/dist/commonjs/react-query/eventsUpdateEvent.js +47 -0
  101. package/dist/commonjs/react-query/eventsUpdateEvent.js.map +1 -0
  102. package/dist/commonjs/react-query/index.d.ts +5 -0
  103. package/dist/commonjs/react-query/index.d.ts.map +1 -1
  104. package/dist/commonjs/react-query/index.js +5 -0
  105. package/dist/commonjs/react-query/index.js.map +1 -1
  106. package/dist/commonjs/sdk/events.d.ts +35 -0
  107. package/dist/commonjs/sdk/events.d.ts.map +1 -1
  108. package/dist/commonjs/sdk/events.js +51 -0
  109. package/dist/commonjs/sdk/events.js.map +1 -1
  110. package/dist/esm/__tests__/events.test.js +86 -0
  111. package/dist/esm/__tests__/events.test.js.map +1 -1
  112. package/dist/esm/__tests__/zones.test.js +16 -4
  113. package/dist/esm/__tests__/zones.test.js.map +1 -1
  114. package/dist/esm/funcs/eventsAcceptInvitation.d.ts +18 -0
  115. package/dist/esm/funcs/eventsAcceptInvitation.d.ts.map +1 -0
  116. package/dist/esm/funcs/eventsAcceptInvitation.js +91 -0
  117. package/dist/esm/funcs/eventsAcceptInvitation.js.map +1 -0
  118. package/dist/esm/funcs/eventsCreateEvent.d.ts +18 -0
  119. package/dist/esm/funcs/eventsCreateEvent.d.ts.map +1 -0
  120. package/dist/esm/funcs/eventsCreateEvent.js +81 -0
  121. package/dist/esm/funcs/eventsCreateEvent.js.map +1 -0
  122. package/dist/esm/funcs/eventsDeclineInvitation.d.ts +18 -0
  123. package/dist/esm/funcs/eventsDeclineInvitation.d.ts.map +1 -0
  124. package/dist/esm/funcs/eventsDeclineInvitation.js +91 -0
  125. package/dist/esm/funcs/eventsDeclineInvitation.js.map +1 -0
  126. package/dist/esm/funcs/eventsDeleteEvent.d.ts +18 -0
  127. package/dist/esm/funcs/eventsDeleteEvent.d.ts.map +1 -0
  128. package/dist/esm/funcs/eventsDeleteEvent.js +86 -0
  129. package/dist/esm/funcs/eventsDeleteEvent.js.map +1 -0
  130. package/dist/esm/funcs/eventsUpdateEvent.d.ts +18 -0
  131. package/dist/esm/funcs/eventsUpdateEvent.d.ts.map +1 -0
  132. package/dist/esm/funcs/eventsUpdateEvent.js +87 -0
  133. package/dist/esm/funcs/eventsUpdateEvent.js.map +1 -0
  134. package/dist/esm/lib/config.d.ts +3 -3
  135. package/dist/esm/lib/config.js +3 -3
  136. package/dist/esm/mcp-server/mcp-server.js +1 -1
  137. package/dist/esm/mcp-server/server.d.ts.map +1 -1
  138. package/dist/esm/mcp-server/server.js +11 -1
  139. package/dist/esm/mcp-server/server.js.map +1 -1
  140. package/dist/esm/mcp-server/tools/eventsAcceptInvitation.d.ts +8 -0
  141. package/dist/esm/mcp-server/tools/eventsAcceptInvitation.d.ts.map +1 -0
  142. package/dist/esm/mcp-server/tools/eventsAcceptInvitation.js +28 -0
  143. package/dist/esm/mcp-server/tools/eventsAcceptInvitation.js.map +1 -0
  144. package/dist/esm/mcp-server/tools/eventsCreateEvent.d.ts +8 -0
  145. package/dist/esm/mcp-server/tools/eventsCreateEvent.d.ts.map +1 -0
  146. package/dist/esm/mcp-server/tools/eventsCreateEvent.js +28 -0
  147. package/dist/esm/mcp-server/tools/eventsCreateEvent.js.map +1 -0
  148. package/dist/esm/mcp-server/tools/eventsDeclineInvitation.d.ts +8 -0
  149. package/dist/esm/mcp-server/tools/eventsDeclineInvitation.d.ts.map +1 -0
  150. package/dist/esm/mcp-server/tools/eventsDeclineInvitation.js +28 -0
  151. package/dist/esm/mcp-server/tools/eventsDeclineInvitation.js.map +1 -0
  152. package/dist/esm/mcp-server/tools/eventsDeleteEvent.d.ts +8 -0
  153. package/dist/esm/mcp-server/tools/eventsDeleteEvent.d.ts.map +1 -0
  154. package/dist/esm/mcp-server/tools/eventsDeleteEvent.js +28 -0
  155. package/dist/esm/mcp-server/tools/eventsDeleteEvent.js.map +1 -0
  156. package/dist/esm/mcp-server/tools/eventsUpdateEvent.d.ts +8 -0
  157. package/dist/esm/mcp-server/tools/eventsUpdateEvent.d.ts.map +1 -0
  158. package/dist/esm/mcp-server/tools/eventsUpdateEvent.js +28 -0
  159. package/dist/esm/mcp-server/tools/eventsUpdateEvent.js.map +1 -0
  160. package/dist/esm/models/components/vendorfacilitystatusview.d.ts +4 -0
  161. package/dist/esm/models/components/vendorfacilitystatusview.d.ts.map +1 -1
  162. package/dist/esm/models/components/vendorfacilitystatusview.js +8 -0
  163. package/dist/esm/models/components/vendorfacilitystatusview.js.map +1 -1
  164. package/dist/esm/models/operations/acceptinvitation.d.ts +92 -0
  165. package/dist/esm/models/operations/acceptinvitation.d.ts.map +1 -0
  166. package/dist/esm/models/operations/acceptinvitation.js +96 -0
  167. package/dist/esm/models/operations/acceptinvitation.js.map +1 -0
  168. package/dist/esm/models/operations/createevent.d.ts +99 -0
  169. package/dist/esm/models/operations/createevent.d.ts.map +1 -0
  170. package/dist/esm/models/operations/createevent.js +111 -0
  171. package/dist/esm/models/operations/createevent.js.map +1 -0
  172. package/dist/esm/models/operations/declineinvitation.d.ts +92 -0
  173. package/dist/esm/models/operations/declineinvitation.d.ts.map +1 -0
  174. package/dist/esm/models/operations/declineinvitation.js +96 -0
  175. package/dist/esm/models/operations/declineinvitation.js.map +1 -0
  176. package/dist/esm/models/operations/deleteevent.d.ts +60 -0
  177. package/dist/esm/models/operations/deleteevent.d.ts.map +1 -0
  178. package/dist/esm/models/operations/deleteevent.js +56 -0
  179. package/dist/esm/models/operations/deleteevent.js.map +1 -0
  180. package/dist/esm/models/operations/index.d.ts +5 -0
  181. package/dist/esm/models/operations/index.d.ts.map +1 -1
  182. package/dist/esm/models/operations/index.js +5 -0
  183. package/dist/esm/models/operations/index.js.map +1 -1
  184. package/dist/esm/models/operations/updateevent.d.ts +113 -0
  185. package/dist/esm/models/operations/updateevent.d.ts.map +1 -0
  186. package/dist/esm/models/operations/updateevent.js +112 -0
  187. package/dist/esm/models/operations/updateevent.js.map +1 -0
  188. package/dist/esm/react-query/eventsAcceptInvitation.d.ts +23 -0
  189. package/dist/esm/react-query/eventsAcceptInvitation.d.ts.map +1 -0
  190. package/dist/esm/react-query/eventsAcceptInvitation.js +42 -0
  191. package/dist/esm/react-query/eventsAcceptInvitation.js.map +1 -0
  192. package/dist/esm/react-query/eventsCreateEvent.d.ts +23 -0
  193. package/dist/esm/react-query/eventsCreateEvent.d.ts.map +1 -0
  194. package/dist/esm/react-query/eventsCreateEvent.js +42 -0
  195. package/dist/esm/react-query/eventsCreateEvent.js.map +1 -0
  196. package/dist/esm/react-query/eventsDeclineInvitation.d.ts +23 -0
  197. package/dist/esm/react-query/eventsDeclineInvitation.d.ts.map +1 -0
  198. package/dist/esm/react-query/eventsDeclineInvitation.js +42 -0
  199. package/dist/esm/react-query/eventsDeclineInvitation.js.map +1 -0
  200. package/dist/esm/react-query/eventsDeleteEvent.d.ts +23 -0
  201. package/dist/esm/react-query/eventsDeleteEvent.d.ts.map +1 -0
  202. package/dist/esm/react-query/eventsDeleteEvent.js +42 -0
  203. package/dist/esm/react-query/eventsDeleteEvent.js.map +1 -0
  204. package/dist/esm/react-query/eventsUpdateEvent.d.ts +23 -0
  205. package/dist/esm/react-query/eventsUpdateEvent.d.ts.map +1 -0
  206. package/dist/esm/react-query/eventsUpdateEvent.js +42 -0
  207. package/dist/esm/react-query/eventsUpdateEvent.js.map +1 -0
  208. package/dist/esm/react-query/index.d.ts +5 -0
  209. package/dist/esm/react-query/index.d.ts.map +1 -1
  210. package/dist/esm/react-query/index.js +5 -0
  211. package/dist/esm/react-query/index.js.map +1 -1
  212. package/dist/esm/sdk/events.d.ts +35 -0
  213. package/dist/esm/sdk/events.d.ts.map +1 -1
  214. package/dist/esm/sdk/events.js +51 -0
  215. package/dist/esm/sdk/events.js.map +1 -1
  216. package/examples/package-lock.json +1 -1
  217. package/jsr.json +1 -1
  218. package/package.json +1 -1
  219. package/src/__tests__/events.test.ts +101 -0
  220. package/src/__tests__/zones.test.ts +16 -4
  221. package/src/funcs/eventsAcceptInvitation.ts +182 -0
  222. package/src/funcs/eventsCreateEvent.ts +169 -0
  223. package/src/funcs/eventsDeclineInvitation.ts +182 -0
  224. package/src/funcs/eventsDeleteEvent.ts +175 -0
  225. package/src/funcs/eventsUpdateEvent.ts +176 -0
  226. package/src/lib/config.ts +3 -3
  227. package/src/mcp-server/mcp-server.ts +1 -1
  228. package/src/mcp-server/server.ts +11 -1
  229. package/src/mcp-server/tools/eventsAcceptInvitation.ts +37 -0
  230. package/src/mcp-server/tools/eventsCreateEvent.ts +37 -0
  231. package/src/mcp-server/tools/eventsDeclineInvitation.ts +37 -0
  232. package/src/mcp-server/tools/eventsDeleteEvent.ts +37 -0
  233. package/src/mcp-server/tools/eventsUpdateEvent.ts +37 -0
  234. package/src/models/components/vendorfacilitystatusview.ts +12 -0
  235. package/src/models/operations/acceptinvitation.ts +214 -0
  236. package/src/models/operations/createevent.ts +224 -0
  237. package/src/models/operations/declineinvitation.ts +214 -0
  238. package/src/models/operations/deleteevent.ts +130 -0
  239. package/src/models/operations/index.ts +5 -0
  240. package/src/models/operations/updateevent.ts +247 -0
  241. package/src/react-query/eventsAcceptInvitation.ts +89 -0
  242. package/src/react-query/eventsCreateEvent.ts +88 -0
  243. package/src/react-query/eventsDeclineInvitation.ts +89 -0
  244. package/src/react-query/eventsDeleteEvent.ts +88 -0
  245. package/src/react-query/eventsUpdateEvent.ts +88 -0
  246. package/src/react-query/index.ts +5 -0
  247. package/src/sdk/events.ts +91 -0
package/bin/mcp-server.js CHANGED
@@ -34160,9 +34160,9 @@ var init_config = __esm(() => {
34160
34160
  SDK_METADATA = {
34161
34161
  language: "typescript",
34162
34162
  openapiDocVersion: "0.0.3",
34163
- sdkVersion: "0.39.4",
34164
- genVersion: "2.662.0",
34165
- userAgent: "speakeasy-sdk/typescript 0.39.4 2.662.0 0.0.3 @greensecurity/javascript-sdk"
34163
+ sdkVersion: "0.39.8",
34164
+ genVersion: "2.666.0",
34165
+ userAgent: "speakeasy-sdk/typescript 0.39.8 2.666.0 0.0.3 @greensecurity/javascript-sdk"
34166
34166
  };
34167
34167
  });
34168
34168
 
@@ -35685,6 +35685,57 @@ var init_errors2 = __esm(() => {
35685
35685
  init_sdkvalidationerror();
35686
35686
  });
35687
35687
 
35688
+ // src/models/operations/acceptinvitation.ts
35689
+ var AcceptInvitationRequestBody$inboundSchema, AcceptInvitationRequestBody$outboundSchema, AcceptInvitationRequestBody$, AcceptInvitationRequest$inboundSchema, AcceptInvitationRequest$outboundSchema, AcceptInvitationRequest$, AcceptInvitationResponseBody$inboundSchema, AcceptInvitationResponseBody$outboundSchema, AcceptInvitationResponseBody$;
35690
+ var init_acceptinvitation = __esm(() => {
35691
+ init_esm();
35692
+ init_primitives();
35693
+ AcceptInvitationRequestBody$inboundSchema = objectType({
35694
+ notes: stringType().optional()
35695
+ });
35696
+ AcceptInvitationRequestBody$outboundSchema = objectType({
35697
+ notes: stringType().optional()
35698
+ });
35699
+ ((AcceptInvitationRequestBody$) => {
35700
+ AcceptInvitationRequestBody$.inboundSchema = AcceptInvitationRequestBody$inboundSchema;
35701
+ AcceptInvitationRequestBody$.outboundSchema = AcceptInvitationRequestBody$outboundSchema;
35702
+ })(AcceptInvitationRequestBody$ ||= {});
35703
+ AcceptInvitationRequest$inboundSchema = objectType({
35704
+ event_id: numberType().int(),
35705
+ id: numberType().int(),
35706
+ RequestBody: lazyType(() => AcceptInvitationRequestBody$inboundSchema)
35707
+ }).transform((v2) => {
35708
+ return remap(v2, {
35709
+ event_id: "eventId",
35710
+ RequestBody: "requestBody"
35711
+ });
35712
+ });
35713
+ AcceptInvitationRequest$outboundSchema = objectType({
35714
+ eventId: numberType().int(),
35715
+ id: numberType().int(),
35716
+ requestBody: lazyType(() => AcceptInvitationRequestBody$outboundSchema)
35717
+ }).transform((v2) => {
35718
+ return remap(v2, {
35719
+ eventId: "event_id",
35720
+ requestBody: "RequestBody"
35721
+ });
35722
+ });
35723
+ ((AcceptInvitationRequest$) => {
35724
+ AcceptInvitationRequest$.inboundSchema = AcceptInvitationRequest$inboundSchema;
35725
+ AcceptInvitationRequest$.outboundSchema = AcceptInvitationRequest$outboundSchema;
35726
+ })(AcceptInvitationRequest$ ||= {});
35727
+ AcceptInvitationResponseBody$inboundSchema = objectType({
35728
+ success: booleanType().optional()
35729
+ });
35730
+ AcceptInvitationResponseBody$outboundSchema = objectType({
35731
+ success: booleanType().optional()
35732
+ });
35733
+ ((AcceptInvitationResponseBody$) => {
35734
+ AcceptInvitationResponseBody$.inboundSchema = AcceptInvitationResponseBody$inboundSchema;
35735
+ AcceptInvitationResponseBody$.outboundSchema = AcceptInvitationResponseBody$outboundSchema;
35736
+ })(AcceptInvitationResponseBody$ ||= {});
35737
+ });
35738
+
35688
35739
  // src/models/operations/acceptvendorcredential.ts
35689
35740
  var AcceptVendorCredentialRequest$inboundSchema, AcceptVendorCredentialRequest$outboundSchema, AcceptVendorCredentialRequest$;
35690
35741
  var init_acceptvendorcredential = __esm(() => {
@@ -40217,7 +40268,9 @@ var init_vendorfacilitystatusview = __esm(() => {
40217
40268
  facility_status: nullableType(stringType()).optional(),
40218
40269
  vendor_scan_id: nullableType(numberType().int()).optional(),
40219
40270
  vendor_scan_type: nullableType(numberType().int()).optional(),
40220
- date_scanned: nullableType(stringType()).optional()
40271
+ date_scanned: nullableType(stringType()).optional(),
40272
+ facility_city: nullableType(stringType()).optional(),
40273
+ facility_state: nullableType(stringType()).optional()
40221
40274
  }).transform((v2) => {
40222
40275
  return remap(v2, {
40223
40276
  vendor_id: "vendorId",
@@ -40226,7 +40279,9 @@ var init_vendorfacilitystatusview = __esm(() => {
40226
40279
  facility_status: "facilityStatus",
40227
40280
  vendor_scan_id: "vendorScanId",
40228
40281
  vendor_scan_type: "vendorScanType",
40229
- date_scanned: "dateScanned"
40282
+ date_scanned: "dateScanned",
40283
+ facility_city: "facilityCity",
40284
+ facility_state: "facilityState"
40230
40285
  });
40231
40286
  });
40232
40287
  VendorFacilityStatusView$outboundSchema = objectType({
@@ -40236,7 +40291,9 @@ var init_vendorfacilitystatusview = __esm(() => {
40236
40291
  facilityStatus: nullableType(stringType()).optional(),
40237
40292
  vendorScanId: nullableType(numberType().int()).optional(),
40238
40293
  vendorScanType: nullableType(numberType().int()).optional(),
40239
- dateScanned: nullableType(stringType()).optional()
40294
+ dateScanned: nullableType(stringType()).optional(),
40295
+ facilityCity: nullableType(stringType()).optional(),
40296
+ facilityState: nullableType(stringType()).optional()
40240
40297
  }).transform((v2) => {
40241
40298
  return remap(v2, {
40242
40299
  vendorId: "vendor_id",
@@ -40245,7 +40302,9 @@ var init_vendorfacilitystatusview = __esm(() => {
40245
40302
  facilityStatus: "facility_status",
40246
40303
  vendorScanId: "vendor_scan_id",
40247
40304
  vendorScanType: "vendor_scan_type",
40248
- dateScanned: "date_scanned"
40305
+ dateScanned: "date_scanned",
40306
+ facilityCity: "facility_city",
40307
+ facilityState: "facility_state"
40249
40308
  });
40250
40309
  });
40251
40310
  ((VendorFacilityStatusView$) => {
@@ -41061,6 +41120,87 @@ var init_checkdownloadcode = __esm(() => {
41061
41120
  })(CheckDownloadCodeResponseBody$ ||= {});
41062
41121
  });
41063
41122
 
41123
+ // src/models/operations/createevent.ts
41124
+ var CreateEventRequestBody$inboundSchema, CreateEventRequestBody$outboundSchema, CreateEventRequestBody$, CreateEventResponseBody$inboundSchema, CreateEventResponseBody$outboundSchema, CreateEventResponseBody$;
41125
+ var init_createevent = __esm(() => {
41126
+ init_esm();
41127
+ init_primitives();
41128
+ CreateEventRequestBody$inboundSchema = objectType({
41129
+ name: stringType().optional(),
41130
+ facility_id: numberType().int().optional(),
41131
+ department_id: numberType().int().optional(),
41132
+ all_day: booleanType().optional(),
41133
+ standing_appt: booleanType().optional(),
41134
+ bringing_food: booleanType().optional(),
41135
+ begin_time: nullableType(stringType()).optional(),
41136
+ end_time: nullableType(stringType()).optional(),
41137
+ begin_date: stringType().optional(),
41138
+ end_date: stringType().optional(),
41139
+ invitee_user_ids: arrayType(numberType().int()).optional(),
41140
+ invitee_department_ids: arrayType(numberType().int()).optional(),
41141
+ notes: stringType().optional()
41142
+ }).transform((v2) => {
41143
+ return remap(v2, {
41144
+ facility_id: "facilityId",
41145
+ department_id: "departmentId",
41146
+ all_day: "allDay",
41147
+ standing_appt: "standingAppt",
41148
+ bringing_food: "bringingFood",
41149
+ begin_time: "beginTime",
41150
+ end_time: "endTime",
41151
+ begin_date: "beginDate",
41152
+ end_date: "endDate",
41153
+ invitee_user_ids: "inviteeUserIds",
41154
+ invitee_department_ids: "inviteeDepartmentIds"
41155
+ });
41156
+ });
41157
+ CreateEventRequestBody$outboundSchema = objectType({
41158
+ name: stringType().optional(),
41159
+ facilityId: numberType().int().optional(),
41160
+ departmentId: numberType().int().optional(),
41161
+ allDay: booleanType().optional(),
41162
+ standingAppt: booleanType().optional(),
41163
+ bringingFood: booleanType().optional(),
41164
+ beginTime: nullableType(stringType()).optional(),
41165
+ endTime: nullableType(stringType()).optional(),
41166
+ beginDate: stringType().optional(),
41167
+ endDate: stringType().optional(),
41168
+ inviteeUserIds: arrayType(numberType().int()).optional(),
41169
+ inviteeDepartmentIds: arrayType(numberType().int()).optional(),
41170
+ notes: stringType().optional()
41171
+ }).transform((v2) => {
41172
+ return remap(v2, {
41173
+ facilityId: "facility_id",
41174
+ departmentId: "department_id",
41175
+ allDay: "all_day",
41176
+ standingAppt: "standing_appt",
41177
+ bringingFood: "bringing_food",
41178
+ beginTime: "begin_time",
41179
+ endTime: "end_time",
41180
+ beginDate: "begin_date",
41181
+ endDate: "end_date",
41182
+ inviteeUserIds: "invitee_user_ids",
41183
+ inviteeDepartmentIds: "invitee_department_ids"
41184
+ });
41185
+ });
41186
+ ((CreateEventRequestBody$) => {
41187
+ CreateEventRequestBody$.inboundSchema = CreateEventRequestBody$inboundSchema;
41188
+ CreateEventRequestBody$.outboundSchema = CreateEventRequestBody$outboundSchema;
41189
+ })(CreateEventRequestBody$ ||= {});
41190
+ CreateEventResponseBody$inboundSchema = objectType({
41191
+ success: booleanType().optional(),
41192
+ id: numberType().int().optional()
41193
+ });
41194
+ CreateEventResponseBody$outboundSchema = objectType({
41195
+ success: booleanType().optional(),
41196
+ id: numberType().int().optional()
41197
+ });
41198
+ ((CreateEventResponseBody$) => {
41199
+ CreateEventResponseBody$.inboundSchema = CreateEventResponseBody$inboundSchema;
41200
+ CreateEventResponseBody$.outboundSchema = CreateEventResponseBody$outboundSchema;
41201
+ })(CreateEventResponseBody$ ||= {});
41202
+ });
41203
+
41064
41204
  // src/models/operations/createinvoice.ts
41065
41205
  var CreateInvoiceRequestBodyInvoicesPaymentHandler, CreateInvoiceRequestBodyPaymentHandler, RequestBodyPaymentHandler, PaymentHandler, CreateInvoiceRequestBodyInvoicesPaymentHandler$inboundSchema, CreateInvoiceRequestBodyInvoicesPaymentHandler$outboundSchema, CreateInvoiceRequestBodyInvoicesPaymentHandler$, CreateInvoiceRequestBodyInvoicesLines$inboundSchema, CreateInvoiceRequestBodyInvoicesLines$outboundSchema, CreateInvoiceRequestBodyInvoicesLines$, Four$inboundSchema, Four$outboundSchema, Four$, CreateInvoiceRequestBodyPaymentHandler$inboundSchema, CreateInvoiceRequestBodyPaymentHandler$outboundSchema, CreateInvoiceRequestBodyPaymentHandler$, CreateInvoiceRequestBodyLines$inboundSchema, CreateInvoiceRequestBodyLines$outboundSchema, CreateInvoiceRequestBodyLines$, Three$inboundSchema, Three$outboundSchema, Three$, RequestBodyPaymentHandler$inboundSchema, RequestBodyPaymentHandler$outboundSchema, RequestBodyPaymentHandler$, RequestBodyLines$inboundSchema, RequestBodyLines$outboundSchema, RequestBodyLines$, RequestBody2$inboundSchema, RequestBody2$outboundSchema, RequestBody2$, PaymentHandler$inboundSchema, PaymentHandler$outboundSchema, PaymentHandler$, Lines$inboundSchema, Lines$outboundSchema, Lines$, RequestBody1$inboundSchema, RequestBody1$outboundSchema, RequestBody1$, CreateInvoiceRequestBody$inboundSchema, CreateInvoiceRequestBody$outboundSchema, CreateInvoiceRequestBody$, CreateInvoiceResponseBody$inboundSchema, CreateInvoiceResponseBody$outboundSchema, CreateInvoiceResponseBody$;
41066
41206
  var init_createinvoice = __esm(() => {
@@ -41639,6 +41779,57 @@ var init_createvendorregistration = __esm(() => {
41639
41779
  })(CreateVendorRegistrationRequestBody$ ||= {});
41640
41780
  });
41641
41781
 
41782
+ // src/models/operations/declineinvitation.ts
41783
+ var DeclineInvitationRequestBody$inboundSchema, DeclineInvitationRequestBody$outboundSchema, DeclineInvitationRequestBody$, DeclineInvitationRequest$inboundSchema, DeclineInvitationRequest$outboundSchema, DeclineInvitationRequest$, DeclineInvitationResponseBody$inboundSchema, DeclineInvitationResponseBody$outboundSchema, DeclineInvitationResponseBody$;
41784
+ var init_declineinvitation = __esm(() => {
41785
+ init_esm();
41786
+ init_primitives();
41787
+ DeclineInvitationRequestBody$inboundSchema = objectType({
41788
+ notes: stringType().optional()
41789
+ });
41790
+ DeclineInvitationRequestBody$outboundSchema = objectType({
41791
+ notes: stringType().optional()
41792
+ });
41793
+ ((DeclineInvitationRequestBody$) => {
41794
+ DeclineInvitationRequestBody$.inboundSchema = DeclineInvitationRequestBody$inboundSchema;
41795
+ DeclineInvitationRequestBody$.outboundSchema = DeclineInvitationRequestBody$outboundSchema;
41796
+ })(DeclineInvitationRequestBody$ ||= {});
41797
+ DeclineInvitationRequest$inboundSchema = objectType({
41798
+ event_id: numberType().int(),
41799
+ id: numberType().int(),
41800
+ RequestBody: lazyType(() => DeclineInvitationRequestBody$inboundSchema)
41801
+ }).transform((v2) => {
41802
+ return remap(v2, {
41803
+ event_id: "eventId",
41804
+ RequestBody: "requestBody"
41805
+ });
41806
+ });
41807
+ DeclineInvitationRequest$outboundSchema = objectType({
41808
+ eventId: numberType().int(),
41809
+ id: numberType().int(),
41810
+ requestBody: lazyType(() => DeclineInvitationRequestBody$outboundSchema)
41811
+ }).transform((v2) => {
41812
+ return remap(v2, {
41813
+ eventId: "event_id",
41814
+ requestBody: "RequestBody"
41815
+ });
41816
+ });
41817
+ ((DeclineInvitationRequest$) => {
41818
+ DeclineInvitationRequest$.inboundSchema = DeclineInvitationRequest$inboundSchema;
41819
+ DeclineInvitationRequest$.outboundSchema = DeclineInvitationRequest$outboundSchema;
41820
+ })(DeclineInvitationRequest$ ||= {});
41821
+ DeclineInvitationResponseBody$inboundSchema = objectType({
41822
+ success: booleanType().optional()
41823
+ });
41824
+ DeclineInvitationResponseBody$outboundSchema = objectType({
41825
+ success: booleanType().optional()
41826
+ });
41827
+ ((DeclineInvitationResponseBody$) => {
41828
+ DeclineInvitationResponseBody$.inboundSchema = DeclineInvitationResponseBody$inboundSchema;
41829
+ DeclineInvitationResponseBody$.outboundSchema = DeclineInvitationResponseBody$outboundSchema;
41830
+ })(DeclineInvitationResponseBody$ ||= {});
41831
+ });
41832
+
41642
41833
  // src/models/operations/declinevendorcredential.ts
41643
41834
  var DeclineVendorCredentialRequest$inboundSchema, DeclineVendorCredentialRequest$outboundSchema, DeclineVendorCredentialRequest$;
41644
41835
  var init_declinevendorcredential = __esm(() => {
@@ -41680,6 +41871,32 @@ var init_deletedatarequestfile = __esm(() => {
41680
41871
  })(DeleteDataRequestFileRequest$ ||= {});
41681
41872
  });
41682
41873
 
41874
+ // src/models/operations/deleteevent.ts
41875
+ var DeleteEventRequest$inboundSchema, DeleteEventRequest$outboundSchema, DeleteEventRequest$, DeleteEventResponseBody$inboundSchema, DeleteEventResponseBody$outboundSchema, DeleteEventResponseBody$;
41876
+ var init_deleteevent = __esm(() => {
41877
+ init_esm();
41878
+ DeleteEventRequest$inboundSchema = objectType({
41879
+ id: numberType().int()
41880
+ });
41881
+ DeleteEventRequest$outboundSchema = objectType({
41882
+ id: numberType().int()
41883
+ });
41884
+ ((DeleteEventRequest$) => {
41885
+ DeleteEventRequest$.inboundSchema = DeleteEventRequest$inboundSchema;
41886
+ DeleteEventRequest$.outboundSchema = DeleteEventRequest$outboundSchema;
41887
+ })(DeleteEventRequest$ ||= {});
41888
+ DeleteEventResponseBody$inboundSchema = objectType({
41889
+ success: booleanType().optional()
41890
+ });
41891
+ DeleteEventResponseBody$outboundSchema = objectType({
41892
+ success: booleanType().optional()
41893
+ });
41894
+ ((DeleteEventResponseBody$) => {
41895
+ DeleteEventResponseBody$.inboundSchema = DeleteEventResponseBody$inboundSchema;
41896
+ DeleteEventResponseBody$.outboundSchema = DeleteEventResponseBody$outboundSchema;
41897
+ })(DeleteEventResponseBody$ ||= {});
41898
+ });
41899
+
41683
41900
  // src/models/operations/deletevendorcredentialfile.ts
41684
41901
  var DeleteVendorCredentialFileRequest$inboundSchema, DeleteVendorCredentialFileRequest$outboundSchema, DeleteVendorCredentialFileRequest$;
41685
41902
  var init_deletevendorcredentialfile = __esm(() => {
@@ -44395,6 +44612,73 @@ var init_updatedatarequest = __esm(() => {
44395
44612
  })(UpdateDataRequestRequest$ ||= {});
44396
44613
  });
44397
44614
 
44615
+ // src/models/operations/updateevent.ts
44616
+ var UpdateEventRequestBody$inboundSchema, UpdateEventRequestBody$outboundSchema, UpdateEventRequestBody$, UpdateEventRequest$inboundSchema, UpdateEventRequest$outboundSchema, UpdateEventRequest$, UpdateEventResponseBody$inboundSchema, UpdateEventResponseBody$outboundSchema, UpdateEventResponseBody$;
44617
+ var init_updateevent = __esm(() => {
44618
+ init_esm();
44619
+ init_primitives();
44620
+ UpdateEventRequestBody$inboundSchema = objectType({
44621
+ name: stringType().optional(),
44622
+ bringing_food: booleanType().optional(),
44623
+ begin_date: stringType().optional(),
44624
+ end_date: stringType().optional(),
44625
+ notes: stringType().optional()
44626
+ }).transform((v2) => {
44627
+ return remap(v2, {
44628
+ bringing_food: "bringingFood",
44629
+ begin_date: "beginDate",
44630
+ end_date: "endDate"
44631
+ });
44632
+ });
44633
+ UpdateEventRequestBody$outboundSchema = objectType({
44634
+ name: stringType().optional(),
44635
+ bringingFood: booleanType().optional(),
44636
+ beginDate: stringType().optional(),
44637
+ endDate: stringType().optional(),
44638
+ notes: stringType().optional()
44639
+ }).transform((v2) => {
44640
+ return remap(v2, {
44641
+ bringingFood: "bringing_food",
44642
+ beginDate: "begin_date",
44643
+ endDate: "end_date"
44644
+ });
44645
+ });
44646
+ ((UpdateEventRequestBody$) => {
44647
+ UpdateEventRequestBody$.inboundSchema = UpdateEventRequestBody$inboundSchema;
44648
+ UpdateEventRequestBody$.outboundSchema = UpdateEventRequestBody$outboundSchema;
44649
+ })(UpdateEventRequestBody$ ||= {});
44650
+ UpdateEventRequest$inboundSchema = objectType({
44651
+ id: numberType().int(),
44652
+ RequestBody: lazyType(() => UpdateEventRequestBody$inboundSchema)
44653
+ }).transform((v2) => {
44654
+ return remap(v2, {
44655
+ RequestBody: "requestBody"
44656
+ });
44657
+ });
44658
+ UpdateEventRequest$outboundSchema = objectType({
44659
+ id: numberType().int(),
44660
+ requestBody: lazyType(() => UpdateEventRequestBody$outboundSchema)
44661
+ }).transform((v2) => {
44662
+ return remap(v2, {
44663
+ requestBody: "RequestBody"
44664
+ });
44665
+ });
44666
+ ((UpdateEventRequest$) => {
44667
+ UpdateEventRequest$.inboundSchema = UpdateEventRequest$inboundSchema;
44668
+ UpdateEventRequest$.outboundSchema = UpdateEventRequest$outboundSchema;
44669
+ })(UpdateEventRequest$ ||= {});
44670
+ UpdateEventResponseBody$inboundSchema = objectType({
44671
+ success: booleanType().optional()
44672
+ });
44673
+ UpdateEventResponseBody$outboundSchema = objectType({
44674
+ success: booleanType().optional()
44675
+ });
44676
+ ((UpdateEventResponseBody$) => {
44677
+ UpdateEventResponseBody$.inboundSchema = UpdateEventResponseBody$inboundSchema;
44678
+ UpdateEventResponseBody$.outboundSchema = UpdateEventResponseBody$outboundSchema;
44679
+ })(UpdateEventResponseBody$ ||= {});
44680
+ });
44681
+
44398
44682
  // src/models/operations/updateinvoice.ts
44399
44683
  var UpdateInvoiceRequestBodyInvoicesRequest4PaymentHandler, UpdateInvoiceRequestBodyInvoicesRequestPaymentHandler, UpdateInvoiceRequestBodyInvoicesPaymentHandler, UpdateInvoiceRequestBodyPaymentHandler, UpdateInvoiceRequestBodyInvoicesRequest4PaymentHandler$inboundSchema, UpdateInvoiceRequestBodyInvoicesRequest4PaymentHandler$outboundSchema, UpdateInvoiceRequestBodyInvoicesRequest4PaymentHandler$, UpdateInvoiceRequestBodyInvoicesRequest4Lines$inboundSchema, UpdateInvoiceRequestBodyInvoicesRequest4Lines$outboundSchema, UpdateInvoiceRequestBodyInvoicesRequest4Lines$, RequestBody4$inboundSchema, RequestBody4$outboundSchema, RequestBody4$, UpdateInvoiceRequestBodyInvoicesRequestPaymentHandler$inboundSchema, UpdateInvoiceRequestBodyInvoicesRequestPaymentHandler$outboundSchema, UpdateInvoiceRequestBodyInvoicesRequestPaymentHandler$, UpdateInvoiceRequestBodyInvoicesRequestLines$inboundSchema, UpdateInvoiceRequestBodyInvoicesRequestLines$outboundSchema, UpdateInvoiceRequestBodyInvoicesRequestLines$, RequestBody3$inboundSchema, RequestBody3$outboundSchema, RequestBody3$, UpdateInvoiceRequestBodyInvoicesPaymentHandler$inboundSchema, UpdateInvoiceRequestBodyInvoicesPaymentHandler$outboundSchema, UpdateInvoiceRequestBodyInvoicesPaymentHandler$, UpdateInvoiceRequestBodyInvoicesLines$inboundSchema, UpdateInvoiceRequestBodyInvoicesLines$outboundSchema, UpdateInvoiceRequestBodyInvoicesLines$, UpdateInvoiceRequestBody2$inboundSchema, UpdateInvoiceRequestBody2$outboundSchema, UpdateInvoiceRequestBody2$, UpdateInvoiceRequestBodyPaymentHandler$inboundSchema, UpdateInvoiceRequestBodyPaymentHandler$outboundSchema, UpdateInvoiceRequestBodyPaymentHandler$, UpdateInvoiceRequestBodyLines$inboundSchema, UpdateInvoiceRequestBodyLines$outboundSchema, UpdateInvoiceRequestBodyLines$, UpdateInvoiceRequestBody1$inboundSchema, UpdateInvoiceRequestBody1$outboundSchema, UpdateInvoiceRequestBody1$, UpdateInvoiceRequestBody$inboundSchema, UpdateInvoiceRequestBody$outboundSchema, UpdateInvoiceRequestBody$, UpdateInvoiceRequest$inboundSchema, UpdateInvoiceRequest$outboundSchema, UpdateInvoiceRequest$;
44400
44684
  var init_updateinvoice = __esm(() => {
@@ -45248,6 +45532,7 @@ var init_vendorscanout = __esm(() => {
45248
45532
 
45249
45533
  // src/models/operations/index.ts
45250
45534
  var init_operations = __esm(() => {
45535
+ init_acceptinvitation();
45251
45536
  init_acceptvendorcredential();
45252
45537
  init_adddatarequestfile();
45253
45538
  init_addvendorcredentialfile();
@@ -45256,13 +45541,16 @@ var init_operations = __esm(() => {
45256
45541
  init_changepassword();
45257
45542
  init_changesubscription();
45258
45543
  init_checkdownloadcode();
45544
+ init_createevent();
45259
45545
  init_createinvoice();
45260
45546
  init_createnewvendorcredentialversion();
45261
45547
  init_createorupdatebcr();
45262
45548
  init_createvendorcompany();
45263
45549
  init_createvendorregistration();
45550
+ init_declineinvitation();
45264
45551
  init_declinevendorcredential();
45265
45552
  init_deletedatarequestfile();
45553
+ init_deleteevent();
45266
45554
  init_deletevendorcredentialfile();
45267
45555
  init_deletevendormanagedbycompany();
45268
45556
  init_expeditetimeremaining();
@@ -45312,6 +45600,7 @@ var init_operations = __esm(() => {
45312
45600
  init_senddownloadcode();
45313
45601
  init_submitvendorcredential();
45314
45602
  init_updatedatarequest();
45603
+ init_updateevent();
45315
45604
  init_updateinvoice();
45316
45605
  init_updatesthewebhookendpointwiththegivenid();
45317
45606
  init_updatevendorcredentialdata();
@@ -45847,28 +46136,30 @@ It will update the vendor credential data request attributes`,
45847
46136
  };
45848
46137
  });
45849
46138
 
45850
- // src/funcs/eventsListOrSearchVendorInvitees.ts
45851
- function eventsListOrSearchVendorInvitees(client, request, options) {
46139
+ // src/funcs/eventsAcceptInvitation.ts
46140
+ function eventsAcceptInvitation(client, request, options) {
45852
46141
  return new APIPromise($do5(client, request, options));
45853
46142
  }
45854
46143
  async function $do5(client, request, options) {
45855
- const parsed = safeParse(request, (value) => ListOrSearchVendorInviteesRequest$outboundSchema.parse(value), "Input validation failed");
46144
+ const parsed = safeParse(request, (value) => AcceptInvitationRequest$outboundSchema.parse(value), "Input validation failed");
45856
46145
  if (!parsed.ok) {
45857
- return [haltIterator(parsed), { status: "invalid" }];
46146
+ return [parsed, { status: "invalid" }];
45858
46147
  }
45859
46148
  const payload = parsed.value;
45860
- const body = null;
45861
- const path = pathToFunc("/events/vendor-invitees")();
45862
- const query = queryJoin(encodeFormQuery({
45863
- expand: payload.expand
45864
- }, { explode: false }), encodeFormQuery({
45865
- desc: payload.desc,
45866
- items_per_page: payload.items_per_page,
45867
- page: payload.page,
45868
- search: payload.search,
45869
- sort: payload.sort
45870
- }));
46149
+ const body = encodeJSON("body", payload.RequestBody, { explode: true });
46150
+ const pathParams = {
46151
+ event_id: encodeSimple("event_id", payload.event_id, {
46152
+ explode: false,
46153
+ charEncoding: "percent"
46154
+ }),
46155
+ id: encodeSimple("id", payload.id, {
46156
+ explode: false,
46157
+ charEncoding: "percent"
46158
+ })
46159
+ };
46160
+ const path = pathToFunc("/events/{event_id}/invites/{id}/acceptance")(pathParams);
45871
46161
  const headers = new Headers(compactMap({
46162
+ "Content-Type": "application/json",
45872
46163
  Accept: "application/json"
45873
46164
  }));
45874
46165
  const securityInput = await extractSecurity(client._options.security);
@@ -45876,7 +46167,7 @@ async function $do5(client, request, options) {
45876
46167
  const context = {
45877
46168
  options: client._options,
45878
46169
  baseURL: options?.serverURL ?? client._baseURL ?? "",
45879
- operationID: "listOrSearchVendorInvitees",
46170
+ operationID: "acceptInvitation",
45880
46171
  oAuth2Scopes: [],
45881
46172
  resolvedSecurity: requestSecurity,
45882
46173
  securitySource: client._options.security,
@@ -45885,17 +46176,16 @@ async function $do5(client, request, options) {
45885
46176
  };
45886
46177
  const requestRes = client._createRequest(context, {
45887
46178
  security: requestSecurity,
45888
- method: "GET",
46179
+ method: "POST",
45889
46180
  baseURL: options?.serverURL,
45890
46181
  path,
45891
46182
  headers,
45892
- query,
45893
46183
  body,
45894
46184
  userAgent: client._options.userAgent,
45895
46185
  timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
45896
46186
  }, options);
45897
46187
  if (!requestRes.ok) {
45898
- return [haltIterator(requestRes), { status: "invalid" }];
46188
+ return [requestRes, { status: "invalid" }];
45899
46189
  }
45900
46190
  const req = requestRes.value;
45901
46191
  const doResult = await client._do(req, {
@@ -45905,50 +46195,19 @@ async function $do5(client, request, options) {
45905
46195
  retryCodes: context.retryCodes
45906
46196
  });
45907
46197
  if (!doResult.ok) {
45908
- return [haltIterator(doResult), { status: "request-error", request: req }];
46198
+ return [doResult, { status: "request-error", request: req }];
45909
46199
  }
45910
46200
  const response = doResult.value;
45911
46201
  const responseFields = {
45912
46202
  HttpMeta: { Response: response, Request: req }
45913
46203
  };
45914
- const [result, raw] = await match(json(200, ListOrSearchVendorInviteesResponse$inboundSchema, {
45915
- key: "Result"
45916
- }), jsonErr([400, 401, 403, 404], ApiErrorResponse$inboundSchema), jsonErr(500, ApiErrorResponse$inboundSchema), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
46204
+ const [result] = await match(json(200, AcceptInvitationResponseBody$inboundSchema), jsonErr([400, 401, 403, 404], ApiErrorResponse$inboundSchema), jsonErr(500, ApiErrorResponse$inboundSchema), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
45917
46205
  if (!result.ok) {
45918
- return [haltIterator(result), {
45919
- status: "complete",
45920
- request: req,
45921
- response
45922
- }];
46206
+ return [result, { status: "complete", request: req, response }];
45923
46207
  }
45924
- const nextFunc = (responseData) => {
45925
- const page2 = request?.page ?? 1;
45926
- const nextPage = page2 + 1;
45927
- if (!responseData) {
45928
- return { next: () => null };
45929
- }
45930
- const results = dlv(responseData, "items");
45931
- if (!Array.isArray(results) || !results.length) {
45932
- return { next: () => null };
45933
- }
45934
- const limit = request?.itemsPerPage ?? 0;
45935
- if (results.length < limit) {
45936
- return { next: () => null };
45937
- }
45938
- const nextVal = () => eventsListOrSearchVendorInvitees(client, {
45939
- ...request,
45940
- page: nextPage
45941
- }, options);
45942
- return { next: nextVal, "~next": { page: nextPage } };
45943
- };
45944
- const page = { ...result, ...nextFunc(raw) };
45945
- return [{ ...page, ...createPageIterator(page, (v2) => !v2.ok) }, {
45946
- status: "complete",
45947
- request: req,
45948
- response
45949
- }];
46208
+ return [result, { status: "complete", request: req, response }];
45950
46209
  }
45951
- var init_eventsListOrSearchVendorInvitees = __esm(() => {
46210
+ var init_eventsAcceptInvitation = __esm(() => {
45952
46211
  init_encodings();
45953
46212
  init_matchers();
45954
46213
  init_primitives();
@@ -45958,57 +46217,49 @@ var init_eventsListOrSearchVendorInvitees = __esm(() => {
45958
46217
  init_errors2();
45959
46218
  init_operations();
45960
46219
  init_async();
45961
- init_operations2();
45962
46220
  });
45963
46221
 
45964
- // src/mcp-server/tools/eventsListOrSearchVendorInvitees.ts
45965
- var args5, tool$eventsListOrSearchVendorInvitees;
45966
- var init_eventsListOrSearchVendorInvitees2 = __esm(() => {
45967
- init_eventsListOrSearchVendorInvitees();
46222
+ // src/mcp-server/tools/eventsAcceptInvitation.ts
46223
+ var args5, tool$eventsAcceptInvitation;
46224
+ var init_eventsAcceptInvitation2 = __esm(() => {
46225
+ init_eventsAcceptInvitation();
45968
46226
  init_operations();
45969
46227
  init_tools();
45970
46228
  args5 = {
45971
- request: ListOrSearchVendorInviteesRequest$inboundSchema
46229
+ request: AcceptInvitationRequest$inboundSchema
45972
46230
  };
45973
- tool$eventsListOrSearchVendorInvitees = {
45974
- name: "events-list-or-search-vendor-invitees",
45975
- description: `List or search vendor invitees
45976
-
45977
- List or search vendor invitees.
46231
+ tool$eventsAcceptInvitation = {
46232
+ name: "events-accept-invitation",
46233
+ description: `Accept event invitation
45978
46234
 
45979
- Available \`expand\` scopes are:
45980
-
45981
- - contact.facility
45982
- - contact.system
45983
- - contact.department
45984
- - contact.user`,
46235
+ Accept event invitation`,
45985
46236
  args: args5,
45986
46237
  tool: async (client, args6, ctx) => {
45987
- const [result, apiCall] = await eventsListOrSearchVendorInvitees(client, args6.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
46238
+ const [result, apiCall] = await eventsAcceptInvitation(client, args6.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
45988
46239
  if (!result.ok) {
45989
46240
  return {
45990
46241
  content: [{ type: "text", text: result.error.message }],
45991
46242
  isError: true
45992
46243
  };
45993
46244
  }
45994
- const value = result.value.result;
46245
+ const value = result.value;
45995
46246
  return formatResult(value, apiCall);
45996
46247
  }
45997
46248
  };
45998
46249
  });
45999
46250
 
46000
- // src/funcs/invoicesCreateInvoice.ts
46001
- function invoicesCreateInvoice(client, request, options) {
46251
+ // src/funcs/eventsCreateEvent.ts
46252
+ function eventsCreateEvent(client, request, options) {
46002
46253
  return new APIPromise($do6(client, request, options));
46003
46254
  }
46004
46255
  async function $do6(client, request, options) {
46005
- const parsed = safeParse(request, (value) => CreateInvoiceRequestBody$outboundSchema.parse(value), "Input validation failed");
46256
+ const parsed = safeParse(request, (value) => CreateEventRequestBody$outboundSchema.parse(value), "Input validation failed");
46006
46257
  if (!parsed.ok) {
46007
46258
  return [parsed, { status: "invalid" }];
46008
46259
  }
46009
46260
  const payload = parsed.value;
46010
46261
  const body = encodeJSON("body", payload, { explode: true });
46011
- const path = pathToFunc("/invoices")();
46262
+ const path = pathToFunc("/events")();
46012
46263
  const headers = new Headers(compactMap({
46013
46264
  "Content-Type": "application/json",
46014
46265
  Accept: "application/json"
@@ -46018,7 +46269,7 @@ async function $do6(client, request, options) {
46018
46269
  const context = {
46019
46270
  options: client._options,
46020
46271
  baseURL: options?.serverURL ?? client._baseURL ?? "",
46021
- operationID: "createInvoice",
46272
+ operationID: "createEvent",
46022
46273
  oAuth2Scopes: [],
46023
46274
  resolvedSecurity: requestSecurity,
46024
46275
  securitySource: client._options.security,
@@ -46052,13 +46303,13 @@ async function $do6(client, request, options) {
46052
46303
  const responseFields = {
46053
46304
  HttpMeta: { Response: response, Request: req }
46054
46305
  };
46055
- const [result] = await match(json(200, CreateInvoiceResponseBody$inboundSchema), jsonErr([400, 401, 403, 404], ApiErrorResponse$inboundSchema), jsonErr(500, ApiErrorResponse$inboundSchema), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
46306
+ const [result] = await match(json(200, CreateEventResponseBody$inboundSchema), jsonErr([400, 401, 403, 404], ApiErrorResponse$inboundSchema), jsonErr(500, ApiErrorResponse$inboundSchema), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
46056
46307
  if (!result.ok) {
46057
46308
  return [result, { status: "complete", request: req, response }];
46058
46309
  }
46059
46310
  return [result, { status: "complete", request: req, response }];
46060
46311
  }
46061
- var init_invoicesCreateInvoice = __esm(() => {
46312
+ var init_eventsCreateEvent = __esm(() => {
46062
46313
  init_encodings();
46063
46314
  init_matchers();
46064
46315
  init_primitives();
@@ -46070,32 +46321,23 @@ var init_invoicesCreateInvoice = __esm(() => {
46070
46321
  init_async();
46071
46322
  });
46072
46323
 
46073
- // src/mcp-server/tools/invoicesCreateInvoice.ts
46074
- var args6, tool$invoicesCreateInvoice;
46075
- var init_invoicesCreateInvoice2 = __esm(() => {
46076
- init_invoicesCreateInvoice();
46324
+ // src/mcp-server/tools/eventsCreateEvent.ts
46325
+ var args6, tool$eventsCreateEvent;
46326
+ var init_eventsCreateEvent2 = __esm(() => {
46327
+ init_eventsCreateEvent();
46077
46328
  init_operations();
46078
46329
  init_tools();
46079
46330
  args6 = {
46080
- request: CreateInvoiceRequestBody$inboundSchema
46331
+ request: CreateEventRequestBody$inboundSchema
46081
46332
  };
46082
- tool$invoicesCreateInvoice = {
46083
- name: "invoices-create-invoice",
46084
- description: `Create invoice
46333
+ tool$eventsCreateEvent = {
46334
+ name: "events-create-event",
46335
+ description: `Create a new event for calendar
46085
46336
 
46086
- It will create an invoice based on the lines passed as parameter.
46087
- - Exactly one of vendor_id, company_id, facility_id, or system_id must be provided. - variant_id is required for the line - payment_handler_data must be set in the following format:
46088
- 1. for the 'vendor credential' and 'expedited credential' payment_handlers this should be a JSON
46089
- with a key 'vendor_credential_id' and value as integer
46090
- 2. for the 'credentialing subscription' payment handler this should be a JSON
46091
- with the following keys and values:
46092
- - old_vendor_type_id: required, must be nil or integer
46093
- - new_vendor_type_id: required, must be integer
46094
- - old_facility_ids: required, must be an array of integers (can be empty)
46095
- - new_facility_ids: required, must be array of integers`,
46337
+ Create a new event for calendar`,
46096
46338
  args: args6,
46097
46339
  tool: async (client, args7, ctx) => {
46098
- const [result, apiCall] = await invoicesCreateInvoice(client, args7.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
46340
+ const [result, apiCall] = await eventsCreateEvent(client, args7.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
46099
46341
  if (!result.ok) {
46100
46342
  return {
46101
46343
  content: [{ type: "text", text: result.error.message }],
@@ -46108,24 +46350,28 @@ It will create an invoice based on the lines passed as parameter.
46108
46350
  };
46109
46351
  });
46110
46352
 
46111
- // src/funcs/invoicesMakePayment.ts
46112
- function invoicesMakePayment(client, request, options) {
46353
+ // src/funcs/eventsDeclineInvitation.ts
46354
+ function eventsDeclineInvitation(client, request, options) {
46113
46355
  return new APIPromise($do7(client, request, options));
46114
46356
  }
46115
46357
  async function $do7(client, request, options) {
46116
- const parsed = safeParse(request, (value) => MakePaymentRequest$outboundSchema.parse(value), "Input validation failed");
46358
+ const parsed = safeParse(request, (value) => DeclineInvitationRequest$outboundSchema.parse(value), "Input validation failed");
46117
46359
  if (!parsed.ok) {
46118
46360
  return [parsed, { status: "invalid" }];
46119
46361
  }
46120
46362
  const payload = parsed.value;
46121
46363
  const body = encodeJSON("body", payload.RequestBody, { explode: true });
46122
46364
  const pathParams = {
46365
+ event_id: encodeSimple("event_id", payload.event_id, {
46366
+ explode: false,
46367
+ charEncoding: "percent"
46368
+ }),
46123
46369
  id: encodeSimple("id", payload.id, {
46124
46370
  explode: false,
46125
46371
  charEncoding: "percent"
46126
46372
  })
46127
46373
  };
46128
- const path = pathToFunc("/invoices/{id}/payment")(pathParams);
46374
+ const path = pathToFunc("/events/{event_id}/invites/{id}/declination")(pathParams);
46129
46375
  const headers = new Headers(compactMap({
46130
46376
  "Content-Type": "application/json",
46131
46377
  Accept: "application/json"
@@ -46135,7 +46381,7 @@ async function $do7(client, request, options) {
46135
46381
  const context = {
46136
46382
  options: client._options,
46137
46383
  baseURL: options?.serverURL ?? client._baseURL ?? "",
46138
- operationID: "makePayment",
46384
+ operationID: "declineInvitation",
46139
46385
  oAuth2Scopes: [],
46140
46386
  resolvedSecurity: requestSecurity,
46141
46387
  securitySource: client._options.security,
@@ -46169,13 +46415,13 @@ async function $do7(client, request, options) {
46169
46415
  const responseFields = {
46170
46416
  HttpMeta: { Response: response, Request: req }
46171
46417
  };
46172
- const [result] = await match(json(200, MakePaymentResponseBody$inboundSchema), jsonErr([400, 401, 403, 404], ApiErrorResponse$inboundSchema), jsonErr(500, ApiErrorResponse$inboundSchema), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
46418
+ const [result] = await match(json(200, DeclineInvitationResponseBody$inboundSchema), jsonErr([400, 401, 403, 404], ApiErrorResponse$inboundSchema), jsonErr(500, ApiErrorResponse$inboundSchema), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
46173
46419
  if (!result.ok) {
46174
46420
  return [result, { status: "complete", request: req, response }];
46175
46421
  }
46176
46422
  return [result, { status: "complete", request: req, response }];
46177
46423
  }
46178
- var init_invoicesMakePayment = __esm(() => {
46424
+ var init_eventsDeclineInvitation = __esm(() => {
46179
46425
  init_encodings();
46180
46426
  init_matchers();
46181
46427
  init_primitives();
@@ -46187,23 +46433,23 @@ var init_invoicesMakePayment = __esm(() => {
46187
46433
  init_async();
46188
46434
  });
46189
46435
 
46190
- // src/mcp-server/tools/invoicesMakePayment.ts
46191
- var args7, tool$invoicesMakePayment;
46192
- var init_invoicesMakePayment2 = __esm(() => {
46193
- init_invoicesMakePayment();
46436
+ // src/mcp-server/tools/eventsDeclineInvitation.ts
46437
+ var args7, tool$eventsDeclineInvitation;
46438
+ var init_eventsDeclineInvitation2 = __esm(() => {
46439
+ init_eventsDeclineInvitation();
46194
46440
  init_operations();
46195
46441
  init_tools();
46196
46442
  args7 = {
46197
- request: MakePaymentRequest$inboundSchema
46443
+ request: DeclineInvitationRequest$inboundSchema
46198
46444
  };
46199
- tool$invoicesMakePayment = {
46200
- name: "invoices-make-payment",
46201
- description: `Make payment for the invoice
46445
+ tool$eventsDeclineInvitation = {
46446
+ name: "events-decline-invitation",
46447
+ description: `Decline event invitation
46202
46448
 
46203
- Make payment for the invoice`,
46449
+ Decline event invitation`,
46204
46450
  args: args7,
46205
46451
  tool: async (client, args8, ctx) => {
46206
- const [result, apiCall] = await invoicesMakePayment(client, args8.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
46452
+ const [result, apiCall] = await eventsDeclineInvitation(client, args8.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
46207
46453
  if (!result.ok) {
46208
46454
  return {
46209
46455
  content: [{ type: "text", text: result.error.message }],
@@ -46216,26 +46462,25 @@ Make payment for the invoice`,
46216
46462
  };
46217
46463
  });
46218
46464
 
46219
- // src/funcs/invoicesUpdateInvoice.ts
46220
- function invoicesUpdateInvoice(client, request, options) {
46465
+ // src/funcs/eventsDeleteEvent.ts
46466
+ function eventsDeleteEvent(client, request, options) {
46221
46467
  return new APIPromise($do8(client, request, options));
46222
46468
  }
46223
46469
  async function $do8(client, request, options) {
46224
- const parsed = safeParse(request, (value) => UpdateInvoiceRequest$outboundSchema.parse(value), "Input validation failed");
46470
+ const parsed = safeParse(request, (value) => DeleteEventRequest$outboundSchema.parse(value), "Input validation failed");
46225
46471
  if (!parsed.ok) {
46226
46472
  return [parsed, { status: "invalid" }];
46227
46473
  }
46228
46474
  const payload = parsed.value;
46229
- const body = encodeJSON("body", payload.RequestBody, { explode: true });
46475
+ const body = null;
46230
46476
  const pathParams = {
46231
46477
  id: encodeSimple("id", payload.id, {
46232
46478
  explode: false,
46233
46479
  charEncoding: "percent"
46234
46480
  })
46235
46481
  };
46236
- const path = pathToFunc("/invoices/{id}")(pathParams);
46482
+ const path = pathToFunc("/events/{id}")(pathParams);
46237
46483
  const headers = new Headers(compactMap({
46238
- "Content-Type": "application/json",
46239
46484
  Accept: "application/json"
46240
46485
  }));
46241
46486
  const securityInput = await extractSecurity(client._options.security);
@@ -46243,7 +46488,7 @@ async function $do8(client, request, options) {
46243
46488
  const context = {
46244
46489
  options: client._options,
46245
46490
  baseURL: options?.serverURL ?? client._baseURL ?? "",
46246
- operationID: "updateInvoice",
46491
+ operationID: "deleteEvent",
46247
46492
  oAuth2Scopes: [],
46248
46493
  resolvedSecurity: requestSecurity,
46249
46494
  securitySource: client._options.security,
@@ -46252,7 +46497,7 @@ async function $do8(client, request, options) {
46252
46497
  };
46253
46498
  const requestRes = client._createRequest(context, {
46254
46499
  security: requestSecurity,
46255
- method: "PUT",
46500
+ method: "DELETE",
46256
46501
  baseURL: options?.serverURL,
46257
46502
  path,
46258
46503
  headers,
@@ -46277,14 +46522,13 @@ async function $do8(client, request, options) {
46277
46522
  const responseFields = {
46278
46523
  HttpMeta: { Response: response, Request: req }
46279
46524
  };
46280
- const [result] = await match(json(200, booleanType()), jsonErr([400, 401, 403, 404], ApiErrorResponse$inboundSchema), jsonErr(500, ApiErrorResponse$inboundSchema), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
46525
+ const [result] = await match(json(200, DeleteEventResponseBody$inboundSchema), jsonErr([400, 401, 403, 404], ApiErrorResponse$inboundSchema), jsonErr(500, ApiErrorResponse$inboundSchema), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
46281
46526
  if (!result.ok) {
46282
46527
  return [result, { status: "complete", request: req, response }];
46283
46528
  }
46284
46529
  return [result, { status: "complete", request: req, response }];
46285
46530
  }
46286
- var init_invoicesUpdateInvoice = __esm(() => {
46287
- init_esm();
46531
+ var init_eventsDeleteEvent = __esm(() => {
46288
46532
  init_encodings();
46289
46533
  init_matchers();
46290
46534
  init_primitives();
@@ -46296,14 +46540,600 @@ var init_invoicesUpdateInvoice = __esm(() => {
46296
46540
  init_async();
46297
46541
  });
46298
46542
 
46299
- // src/mcp-server/tools/invoicesUpdateInvoice.ts
46300
- var args8, tool$invoicesUpdateInvoice;
46301
- var init_invoicesUpdateInvoice2 = __esm(() => {
46302
- init_invoicesUpdateInvoice();
46543
+ // src/mcp-server/tools/eventsDeleteEvent.ts
46544
+ var args8, tool$eventsDeleteEvent;
46545
+ var init_eventsDeleteEvent2 = __esm(() => {
46546
+ init_eventsDeleteEvent();
46303
46547
  init_operations();
46304
46548
  init_tools();
46305
46549
  args8 = {
46306
- request: UpdateInvoiceRequest$inboundSchema
46550
+ request: DeleteEventRequest$inboundSchema
46551
+ };
46552
+ tool$eventsDeleteEvent = {
46553
+ name: "events-delete-event",
46554
+ description: `Delete event for calendar
46555
+
46556
+ Delete event for calendar`,
46557
+ args: args8,
46558
+ tool: async (client, args9, ctx) => {
46559
+ const [result, apiCall] = await eventsDeleteEvent(client, args9.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
46560
+ if (!result.ok) {
46561
+ return {
46562
+ content: [{ type: "text", text: result.error.message }],
46563
+ isError: true
46564
+ };
46565
+ }
46566
+ const value = result.value;
46567
+ return formatResult(value, apiCall);
46568
+ }
46569
+ };
46570
+ });
46571
+
46572
+ // src/funcs/eventsListOrSearchVendorInvitees.ts
46573
+ function eventsListOrSearchVendorInvitees(client, request, options) {
46574
+ return new APIPromise($do9(client, request, options));
46575
+ }
46576
+ async function $do9(client, request, options) {
46577
+ const parsed = safeParse(request, (value) => ListOrSearchVendorInviteesRequest$outboundSchema.parse(value), "Input validation failed");
46578
+ if (!parsed.ok) {
46579
+ return [haltIterator(parsed), { status: "invalid" }];
46580
+ }
46581
+ const payload = parsed.value;
46582
+ const body = null;
46583
+ const path = pathToFunc("/events/vendor-invitees")();
46584
+ const query = queryJoin(encodeFormQuery({
46585
+ expand: payload.expand
46586
+ }, { explode: false }), encodeFormQuery({
46587
+ desc: payload.desc,
46588
+ items_per_page: payload.items_per_page,
46589
+ page: payload.page,
46590
+ search: payload.search,
46591
+ sort: payload.sort
46592
+ }));
46593
+ const headers = new Headers(compactMap({
46594
+ Accept: "application/json"
46595
+ }));
46596
+ const securityInput = await extractSecurity(client._options.security);
46597
+ const requestSecurity = resolveGlobalSecurity(securityInput);
46598
+ const context = {
46599
+ options: client._options,
46600
+ baseURL: options?.serverURL ?? client._baseURL ?? "",
46601
+ operationID: "listOrSearchVendorInvitees",
46602
+ oAuth2Scopes: [],
46603
+ resolvedSecurity: requestSecurity,
46604
+ securitySource: client._options.security,
46605
+ retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
46606
+ retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
46607
+ };
46608
+ const requestRes = client._createRequest(context, {
46609
+ security: requestSecurity,
46610
+ method: "GET",
46611
+ baseURL: options?.serverURL,
46612
+ path,
46613
+ headers,
46614
+ query,
46615
+ body,
46616
+ userAgent: client._options.userAgent,
46617
+ timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
46618
+ }, options);
46619
+ if (!requestRes.ok) {
46620
+ return [haltIterator(requestRes), { status: "invalid" }];
46621
+ }
46622
+ const req = requestRes.value;
46623
+ const doResult = await client._do(req, {
46624
+ context,
46625
+ errorCodes: ["400", "401", "403", "404", "4XX", "500", "5XX"],
46626
+ retryConfig: context.retryConfig,
46627
+ retryCodes: context.retryCodes
46628
+ });
46629
+ if (!doResult.ok) {
46630
+ return [haltIterator(doResult), { status: "request-error", request: req }];
46631
+ }
46632
+ const response = doResult.value;
46633
+ const responseFields = {
46634
+ HttpMeta: { Response: response, Request: req }
46635
+ };
46636
+ const [result, raw] = await match(json(200, ListOrSearchVendorInviteesResponse$inboundSchema, {
46637
+ key: "Result"
46638
+ }), jsonErr([400, 401, 403, 404], ApiErrorResponse$inboundSchema), jsonErr(500, ApiErrorResponse$inboundSchema), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
46639
+ if (!result.ok) {
46640
+ return [haltIterator(result), {
46641
+ status: "complete",
46642
+ request: req,
46643
+ response
46644
+ }];
46645
+ }
46646
+ const nextFunc = (responseData) => {
46647
+ const page2 = request?.page ?? 1;
46648
+ const nextPage = page2 + 1;
46649
+ if (!responseData) {
46650
+ return { next: () => null };
46651
+ }
46652
+ const results = dlv(responseData, "items");
46653
+ if (!Array.isArray(results) || !results.length) {
46654
+ return { next: () => null };
46655
+ }
46656
+ const limit = request?.itemsPerPage ?? 0;
46657
+ if (results.length < limit) {
46658
+ return { next: () => null };
46659
+ }
46660
+ const nextVal = () => eventsListOrSearchVendorInvitees(client, {
46661
+ ...request,
46662
+ page: nextPage
46663
+ }, options);
46664
+ return { next: nextVal, "~next": { page: nextPage } };
46665
+ };
46666
+ const page = { ...result, ...nextFunc(raw) };
46667
+ return [{ ...page, ...createPageIterator(page, (v2) => !v2.ok) }, {
46668
+ status: "complete",
46669
+ request: req,
46670
+ response
46671
+ }];
46672
+ }
46673
+ var init_eventsListOrSearchVendorInvitees = __esm(() => {
46674
+ init_encodings();
46675
+ init_matchers();
46676
+ init_primitives();
46677
+ init_schemas();
46678
+ init_security();
46679
+ init_url();
46680
+ init_errors2();
46681
+ init_operations();
46682
+ init_async();
46683
+ init_operations2();
46684
+ });
46685
+
46686
+ // src/mcp-server/tools/eventsListOrSearchVendorInvitees.ts
46687
+ var args9, tool$eventsListOrSearchVendorInvitees;
46688
+ var init_eventsListOrSearchVendorInvitees2 = __esm(() => {
46689
+ init_eventsListOrSearchVendorInvitees();
46690
+ init_operations();
46691
+ init_tools();
46692
+ args9 = {
46693
+ request: ListOrSearchVendorInviteesRequest$inboundSchema
46694
+ };
46695
+ tool$eventsListOrSearchVendorInvitees = {
46696
+ name: "events-list-or-search-vendor-invitees",
46697
+ description: `List or search vendor invitees
46698
+
46699
+ List or search vendor invitees.
46700
+
46701
+ Available \`expand\` scopes are:
46702
+
46703
+ - contact.facility
46704
+ - contact.system
46705
+ - contact.department
46706
+ - contact.user`,
46707
+ args: args9,
46708
+ tool: async (client, args10, ctx) => {
46709
+ const [result, apiCall] = await eventsListOrSearchVendorInvitees(client, args10.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
46710
+ if (!result.ok) {
46711
+ return {
46712
+ content: [{ type: "text", text: result.error.message }],
46713
+ isError: true
46714
+ };
46715
+ }
46716
+ const value = result.value.result;
46717
+ return formatResult(value, apiCall);
46718
+ }
46719
+ };
46720
+ });
46721
+
46722
+ // src/funcs/eventsUpdateEvent.ts
46723
+ function eventsUpdateEvent(client, request, options) {
46724
+ return new APIPromise($do10(client, request, options));
46725
+ }
46726
+ async function $do10(client, request, options) {
46727
+ const parsed = safeParse(request, (value) => UpdateEventRequest$outboundSchema.parse(value), "Input validation failed");
46728
+ if (!parsed.ok) {
46729
+ return [parsed, { status: "invalid" }];
46730
+ }
46731
+ const payload = parsed.value;
46732
+ const body = encodeJSON("body", payload.RequestBody, { explode: true });
46733
+ const pathParams = {
46734
+ id: encodeSimple("id", payload.id, {
46735
+ explode: false,
46736
+ charEncoding: "percent"
46737
+ })
46738
+ };
46739
+ const path = pathToFunc("/events/{id}")(pathParams);
46740
+ const headers = new Headers(compactMap({
46741
+ "Content-Type": "application/json",
46742
+ Accept: "application/json"
46743
+ }));
46744
+ const securityInput = await extractSecurity(client._options.security);
46745
+ const requestSecurity = resolveGlobalSecurity(securityInput);
46746
+ const context = {
46747
+ options: client._options,
46748
+ baseURL: options?.serverURL ?? client._baseURL ?? "",
46749
+ operationID: "updateEvent",
46750
+ oAuth2Scopes: [],
46751
+ resolvedSecurity: requestSecurity,
46752
+ securitySource: client._options.security,
46753
+ retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
46754
+ retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
46755
+ };
46756
+ const requestRes = client._createRequest(context, {
46757
+ security: requestSecurity,
46758
+ method: "PUT",
46759
+ baseURL: options?.serverURL,
46760
+ path,
46761
+ headers,
46762
+ body,
46763
+ userAgent: client._options.userAgent,
46764
+ timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
46765
+ }, options);
46766
+ if (!requestRes.ok) {
46767
+ return [requestRes, { status: "invalid" }];
46768
+ }
46769
+ const req = requestRes.value;
46770
+ const doResult = await client._do(req, {
46771
+ context,
46772
+ errorCodes: ["400", "401", "403", "404", "4XX", "500", "5XX"],
46773
+ retryConfig: context.retryConfig,
46774
+ retryCodes: context.retryCodes
46775
+ });
46776
+ if (!doResult.ok) {
46777
+ return [doResult, { status: "request-error", request: req }];
46778
+ }
46779
+ const response = doResult.value;
46780
+ const responseFields = {
46781
+ HttpMeta: { Response: response, Request: req }
46782
+ };
46783
+ const [result] = await match(json(200, UpdateEventResponseBody$inboundSchema), jsonErr([400, 401, 403, 404], ApiErrorResponse$inboundSchema), jsonErr(500, ApiErrorResponse$inboundSchema), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
46784
+ if (!result.ok) {
46785
+ return [result, { status: "complete", request: req, response }];
46786
+ }
46787
+ return [result, { status: "complete", request: req, response }];
46788
+ }
46789
+ var init_eventsUpdateEvent = __esm(() => {
46790
+ init_encodings();
46791
+ init_matchers();
46792
+ init_primitives();
46793
+ init_schemas();
46794
+ init_security();
46795
+ init_url();
46796
+ init_errors2();
46797
+ init_operations();
46798
+ init_async();
46799
+ });
46800
+
46801
+ // src/mcp-server/tools/eventsUpdateEvent.ts
46802
+ var args10, tool$eventsUpdateEvent;
46803
+ var init_eventsUpdateEvent2 = __esm(() => {
46804
+ init_eventsUpdateEvent();
46805
+ init_operations();
46806
+ init_tools();
46807
+ args10 = {
46808
+ request: UpdateEventRequest$inboundSchema
46809
+ };
46810
+ tool$eventsUpdateEvent = {
46811
+ name: "events-update-event",
46812
+ description: `Update event for calendar
46813
+
46814
+ Update event for calendar`,
46815
+ args: args10,
46816
+ tool: async (client, args11, ctx) => {
46817
+ const [result, apiCall] = await eventsUpdateEvent(client, args11.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
46818
+ if (!result.ok) {
46819
+ return {
46820
+ content: [{ type: "text", text: result.error.message }],
46821
+ isError: true
46822
+ };
46823
+ }
46824
+ const value = result.value;
46825
+ return formatResult(value, apiCall);
46826
+ }
46827
+ };
46828
+ });
46829
+
46830
+ // src/funcs/invoicesCreateInvoice.ts
46831
+ function invoicesCreateInvoice(client, request, options) {
46832
+ return new APIPromise($do11(client, request, options));
46833
+ }
46834
+ async function $do11(client, request, options) {
46835
+ const parsed = safeParse(request, (value) => CreateInvoiceRequestBody$outboundSchema.parse(value), "Input validation failed");
46836
+ if (!parsed.ok) {
46837
+ return [parsed, { status: "invalid" }];
46838
+ }
46839
+ const payload = parsed.value;
46840
+ const body = encodeJSON("body", payload, { explode: true });
46841
+ const path = pathToFunc("/invoices")();
46842
+ const headers = new Headers(compactMap({
46843
+ "Content-Type": "application/json",
46844
+ Accept: "application/json"
46845
+ }));
46846
+ const securityInput = await extractSecurity(client._options.security);
46847
+ const requestSecurity = resolveGlobalSecurity(securityInput);
46848
+ const context = {
46849
+ options: client._options,
46850
+ baseURL: options?.serverURL ?? client._baseURL ?? "",
46851
+ operationID: "createInvoice",
46852
+ oAuth2Scopes: [],
46853
+ resolvedSecurity: requestSecurity,
46854
+ securitySource: client._options.security,
46855
+ retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
46856
+ retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
46857
+ };
46858
+ const requestRes = client._createRequest(context, {
46859
+ security: requestSecurity,
46860
+ method: "POST",
46861
+ baseURL: options?.serverURL,
46862
+ path,
46863
+ headers,
46864
+ body,
46865
+ userAgent: client._options.userAgent,
46866
+ timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
46867
+ }, options);
46868
+ if (!requestRes.ok) {
46869
+ return [requestRes, { status: "invalid" }];
46870
+ }
46871
+ const req = requestRes.value;
46872
+ const doResult = await client._do(req, {
46873
+ context,
46874
+ errorCodes: ["400", "401", "403", "404", "4XX", "500", "5XX"],
46875
+ retryConfig: context.retryConfig,
46876
+ retryCodes: context.retryCodes
46877
+ });
46878
+ if (!doResult.ok) {
46879
+ return [doResult, { status: "request-error", request: req }];
46880
+ }
46881
+ const response = doResult.value;
46882
+ const responseFields = {
46883
+ HttpMeta: { Response: response, Request: req }
46884
+ };
46885
+ const [result] = await match(json(200, CreateInvoiceResponseBody$inboundSchema), jsonErr([400, 401, 403, 404], ApiErrorResponse$inboundSchema), jsonErr(500, ApiErrorResponse$inboundSchema), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
46886
+ if (!result.ok) {
46887
+ return [result, { status: "complete", request: req, response }];
46888
+ }
46889
+ return [result, { status: "complete", request: req, response }];
46890
+ }
46891
+ var init_invoicesCreateInvoice = __esm(() => {
46892
+ init_encodings();
46893
+ init_matchers();
46894
+ init_primitives();
46895
+ init_schemas();
46896
+ init_security();
46897
+ init_url();
46898
+ init_errors2();
46899
+ init_operations();
46900
+ init_async();
46901
+ });
46902
+
46903
+ // src/mcp-server/tools/invoicesCreateInvoice.ts
46904
+ var args11, tool$invoicesCreateInvoice;
46905
+ var init_invoicesCreateInvoice2 = __esm(() => {
46906
+ init_invoicesCreateInvoice();
46907
+ init_operations();
46908
+ init_tools();
46909
+ args11 = {
46910
+ request: CreateInvoiceRequestBody$inboundSchema
46911
+ };
46912
+ tool$invoicesCreateInvoice = {
46913
+ name: "invoices-create-invoice",
46914
+ description: `Create invoice
46915
+
46916
+ It will create an invoice based on the lines passed as parameter.
46917
+ - Exactly one of vendor_id, company_id, facility_id, or system_id must be provided. - variant_id is required for the line - payment_handler_data must be set in the following format:
46918
+ 1. for the 'vendor credential' and 'expedited credential' payment_handlers this should be a JSON
46919
+ with a key 'vendor_credential_id' and value as integer
46920
+ 2. for the 'credentialing subscription' payment handler this should be a JSON
46921
+ with the following keys and values:
46922
+ - old_vendor_type_id: required, must be nil or integer
46923
+ - new_vendor_type_id: required, must be integer
46924
+ - old_facility_ids: required, must be an array of integers (can be empty)
46925
+ - new_facility_ids: required, must be array of integers`,
46926
+ args: args11,
46927
+ tool: async (client, args12, ctx) => {
46928
+ const [result, apiCall] = await invoicesCreateInvoice(client, args12.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
46929
+ if (!result.ok) {
46930
+ return {
46931
+ content: [{ type: "text", text: result.error.message }],
46932
+ isError: true
46933
+ };
46934
+ }
46935
+ const value = result.value;
46936
+ return formatResult(value, apiCall);
46937
+ }
46938
+ };
46939
+ });
46940
+
46941
+ // src/funcs/invoicesMakePayment.ts
46942
+ function invoicesMakePayment(client, request, options) {
46943
+ return new APIPromise($do12(client, request, options));
46944
+ }
46945
+ async function $do12(client, request, options) {
46946
+ const parsed = safeParse(request, (value) => MakePaymentRequest$outboundSchema.parse(value), "Input validation failed");
46947
+ if (!parsed.ok) {
46948
+ return [parsed, { status: "invalid" }];
46949
+ }
46950
+ const payload = parsed.value;
46951
+ const body = encodeJSON("body", payload.RequestBody, { explode: true });
46952
+ const pathParams = {
46953
+ id: encodeSimple("id", payload.id, {
46954
+ explode: false,
46955
+ charEncoding: "percent"
46956
+ })
46957
+ };
46958
+ const path = pathToFunc("/invoices/{id}/payment")(pathParams);
46959
+ const headers = new Headers(compactMap({
46960
+ "Content-Type": "application/json",
46961
+ Accept: "application/json"
46962
+ }));
46963
+ const securityInput = await extractSecurity(client._options.security);
46964
+ const requestSecurity = resolveGlobalSecurity(securityInput);
46965
+ const context = {
46966
+ options: client._options,
46967
+ baseURL: options?.serverURL ?? client._baseURL ?? "",
46968
+ operationID: "makePayment",
46969
+ oAuth2Scopes: [],
46970
+ resolvedSecurity: requestSecurity,
46971
+ securitySource: client._options.security,
46972
+ retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
46973
+ retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
46974
+ };
46975
+ const requestRes = client._createRequest(context, {
46976
+ security: requestSecurity,
46977
+ method: "POST",
46978
+ baseURL: options?.serverURL,
46979
+ path,
46980
+ headers,
46981
+ body,
46982
+ userAgent: client._options.userAgent,
46983
+ timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
46984
+ }, options);
46985
+ if (!requestRes.ok) {
46986
+ return [requestRes, { status: "invalid" }];
46987
+ }
46988
+ const req = requestRes.value;
46989
+ const doResult = await client._do(req, {
46990
+ context,
46991
+ errorCodes: ["400", "401", "403", "404", "4XX", "500", "5XX"],
46992
+ retryConfig: context.retryConfig,
46993
+ retryCodes: context.retryCodes
46994
+ });
46995
+ if (!doResult.ok) {
46996
+ return [doResult, { status: "request-error", request: req }];
46997
+ }
46998
+ const response = doResult.value;
46999
+ const responseFields = {
47000
+ HttpMeta: { Response: response, Request: req }
47001
+ };
47002
+ const [result] = await match(json(200, MakePaymentResponseBody$inboundSchema), jsonErr([400, 401, 403, 404], ApiErrorResponse$inboundSchema), jsonErr(500, ApiErrorResponse$inboundSchema), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
47003
+ if (!result.ok) {
47004
+ return [result, { status: "complete", request: req, response }];
47005
+ }
47006
+ return [result, { status: "complete", request: req, response }];
47007
+ }
47008
+ var init_invoicesMakePayment = __esm(() => {
47009
+ init_encodings();
47010
+ init_matchers();
47011
+ init_primitives();
47012
+ init_schemas();
47013
+ init_security();
47014
+ init_url();
47015
+ init_errors2();
47016
+ init_operations();
47017
+ init_async();
47018
+ });
47019
+
47020
+ // src/mcp-server/tools/invoicesMakePayment.ts
47021
+ var args12, tool$invoicesMakePayment;
47022
+ var init_invoicesMakePayment2 = __esm(() => {
47023
+ init_invoicesMakePayment();
47024
+ init_operations();
47025
+ init_tools();
47026
+ args12 = {
47027
+ request: MakePaymentRequest$inboundSchema
47028
+ };
47029
+ tool$invoicesMakePayment = {
47030
+ name: "invoices-make-payment",
47031
+ description: `Make payment for the invoice
47032
+
47033
+ Make payment for the invoice`,
47034
+ args: args12,
47035
+ tool: async (client, args13, ctx) => {
47036
+ const [result, apiCall] = await invoicesMakePayment(client, args13.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47037
+ if (!result.ok) {
47038
+ return {
47039
+ content: [{ type: "text", text: result.error.message }],
47040
+ isError: true
47041
+ };
47042
+ }
47043
+ const value = result.value;
47044
+ return formatResult(value, apiCall);
47045
+ }
47046
+ };
47047
+ });
47048
+
47049
+ // src/funcs/invoicesUpdateInvoice.ts
47050
+ function invoicesUpdateInvoice(client, request, options) {
47051
+ return new APIPromise($do13(client, request, options));
47052
+ }
47053
+ async function $do13(client, request, options) {
47054
+ const parsed = safeParse(request, (value) => UpdateInvoiceRequest$outboundSchema.parse(value), "Input validation failed");
47055
+ if (!parsed.ok) {
47056
+ return [parsed, { status: "invalid" }];
47057
+ }
47058
+ const payload = parsed.value;
47059
+ const body = encodeJSON("body", payload.RequestBody, { explode: true });
47060
+ const pathParams = {
47061
+ id: encodeSimple("id", payload.id, {
47062
+ explode: false,
47063
+ charEncoding: "percent"
47064
+ })
47065
+ };
47066
+ const path = pathToFunc("/invoices/{id}")(pathParams);
47067
+ const headers = new Headers(compactMap({
47068
+ "Content-Type": "application/json",
47069
+ Accept: "application/json"
47070
+ }));
47071
+ const securityInput = await extractSecurity(client._options.security);
47072
+ const requestSecurity = resolveGlobalSecurity(securityInput);
47073
+ const context = {
47074
+ options: client._options,
47075
+ baseURL: options?.serverURL ?? client._baseURL ?? "",
47076
+ operationID: "updateInvoice",
47077
+ oAuth2Scopes: [],
47078
+ resolvedSecurity: requestSecurity,
47079
+ securitySource: client._options.security,
47080
+ retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
47081
+ retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
47082
+ };
47083
+ const requestRes = client._createRequest(context, {
47084
+ security: requestSecurity,
47085
+ method: "PUT",
47086
+ baseURL: options?.serverURL,
47087
+ path,
47088
+ headers,
47089
+ body,
47090
+ userAgent: client._options.userAgent,
47091
+ timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
47092
+ }, options);
47093
+ if (!requestRes.ok) {
47094
+ return [requestRes, { status: "invalid" }];
47095
+ }
47096
+ const req = requestRes.value;
47097
+ const doResult = await client._do(req, {
47098
+ context,
47099
+ errorCodes: ["400", "401", "403", "404", "4XX", "500", "5XX"],
47100
+ retryConfig: context.retryConfig,
47101
+ retryCodes: context.retryCodes
47102
+ });
47103
+ if (!doResult.ok) {
47104
+ return [doResult, { status: "request-error", request: req }];
47105
+ }
47106
+ const response = doResult.value;
47107
+ const responseFields = {
47108
+ HttpMeta: { Response: response, Request: req }
47109
+ };
47110
+ const [result] = await match(json(200, booleanType()), jsonErr([400, 401, 403, 404], ApiErrorResponse$inboundSchema), jsonErr(500, ApiErrorResponse$inboundSchema), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
47111
+ if (!result.ok) {
47112
+ return [result, { status: "complete", request: req, response }];
47113
+ }
47114
+ return [result, { status: "complete", request: req, response }];
47115
+ }
47116
+ var init_invoicesUpdateInvoice = __esm(() => {
47117
+ init_esm();
47118
+ init_encodings();
47119
+ init_matchers();
47120
+ init_primitives();
47121
+ init_schemas();
47122
+ init_security();
47123
+ init_url();
47124
+ init_errors2();
47125
+ init_operations();
47126
+ init_async();
47127
+ });
47128
+
47129
+ // src/mcp-server/tools/invoicesUpdateInvoice.ts
47130
+ var args13, tool$invoicesUpdateInvoice;
47131
+ var init_invoicesUpdateInvoice2 = __esm(() => {
47132
+ init_invoicesUpdateInvoice();
47133
+ init_operations();
47134
+ init_tools();
47135
+ args13 = {
47136
+ request: UpdateInvoiceRequest$inboundSchema
46307
47137
  };
46308
47138
  tool$invoicesUpdateInvoice = {
46309
47139
  name: "invoices-update-invoice",
@@ -46319,9 +47149,9 @@ It will replace all the lines with the lines passed as parameter
46319
47149
  - new_vendor_type_id: required, must be integer
46320
47150
  - old_facility_ids: required, must be an array of integers (can be empty)
46321
47151
  - new_facility_ids: required, must be array of integers`,
46322
- args: args8,
46323
- tool: async (client, args9, ctx) => {
46324
- const [result, apiCall] = await invoicesUpdateInvoice(client, args9.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47152
+ args: args13,
47153
+ tool: async (client, args14, ctx) => {
47154
+ const [result, apiCall] = await invoicesUpdateInvoice(client, args14.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
46325
47155
  if (!result.ok) {
46326
47156
  return {
46327
47157
  content: [{ type: "text", text: result.error.message }],
@@ -46336,9 +47166,9 @@ It will replace all the lines with the lines passed as parameter
46336
47166
 
46337
47167
  // src/funcs/organizationsGetFacility.ts
46338
47168
  function organizationsGetFacility(client, request, options) {
46339
- return new APIPromise($do9(client, request, options));
47169
+ return new APIPromise($do14(client, request, options));
46340
47170
  }
46341
- async function $do9(client, request, options) {
47171
+ async function $do14(client, request, options) {
46342
47172
  const parsed = safeParse(request, (value) => GetFacilityRequest$outboundSchema.parse(value), "Input validation failed");
46343
47173
  if (!parsed.ok) {
46344
47174
  return [parsed, { status: "invalid" }];
@@ -46414,12 +47244,12 @@ var init_organizationsGetFacility = __esm(() => {
46414
47244
  });
46415
47245
 
46416
47246
  // src/mcp-server/tools/organizationsGetFacility.ts
46417
- var args9, tool$organizationsGetFacility;
47247
+ var args14, tool$organizationsGetFacility;
46418
47248
  var init_organizationsGetFacility2 = __esm(() => {
46419
47249
  init_organizationsGetFacility();
46420
47250
  init_operations();
46421
47251
  init_tools();
46422
- args9 = {
47252
+ args14 = {
46423
47253
  request: GetFacilityRequest$inboundSchema
46424
47254
  };
46425
47255
  tool$organizationsGetFacility = {
@@ -46427,9 +47257,9 @@ var init_organizationsGetFacility2 = __esm(() => {
46427
47257
  description: `Get facility
46428
47258
 
46429
47259
  Retrieve an individual facility.`,
46430
- args: args9,
46431
- tool: async (client, args10, ctx) => {
46432
- const [result, apiCall] = await organizationsGetFacility(client, args10.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47260
+ args: args14,
47261
+ tool: async (client, args15, ctx) => {
47262
+ const [result, apiCall] = await organizationsGetFacility(client, args15.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
46433
47263
  if (!result.ok) {
46434
47264
  return {
46435
47265
  content: [{ type: "text", text: result.error.message }],
@@ -46444,9 +47274,9 @@ Retrieve an individual facility.`,
46444
47274
 
46445
47275
  // src/funcs/organizationsListOrSearchDepartmentContacts.ts
46446
47276
  function organizationsListOrSearchDepartmentContacts(client, request, options) {
46447
- return new APIPromise($do10(client, request, options));
47277
+ return new APIPromise($do15(client, request, options));
46448
47278
  }
46449
- async function $do10(client, request, options) {
47279
+ async function $do15(client, request, options) {
46450
47280
  const parsed = safeParse(request, (value) => ListOrSearchDepartmentContactsRequest$outboundSchema.parse(value), "Input validation failed");
46451
47281
  if (!parsed.ok) {
46452
47282
  return [haltIterator(parsed), { status: "invalid" }];
@@ -46561,12 +47391,12 @@ var init_organizationsListOrSearchDepartmentContacts = __esm(() => {
46561
47391
  });
46562
47392
 
46563
47393
  // src/mcp-server/tools/organizationsListOrSearchDepartmentContacts.ts
46564
- var args10, tool$organizationsListOrSearchDepartmentContacts;
47394
+ var args15, tool$organizationsListOrSearchDepartmentContacts;
46565
47395
  var init_organizationsListOrSearchDepartmentContacts2 = __esm(() => {
46566
47396
  init_organizationsListOrSearchDepartmentContacts();
46567
47397
  init_operations();
46568
47398
  init_tools();
46569
- args10 = {
47399
+ args15 = {
46570
47400
  request: ListOrSearchDepartmentContactsRequest$inboundSchema
46571
47401
  };
46572
47402
  tool$organizationsListOrSearchDepartmentContacts = {
@@ -46579,9 +47409,9 @@ Available \`expand\` scopes are:
46579
47409
 
46580
47410
  - department_membership.contact
46581
47411
  - department_membership.department`,
46582
- args: args10,
46583
- tool: async (client, args11, ctx) => {
46584
- const [result, apiCall] = await organizationsListOrSearchDepartmentContacts(client, args11.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47412
+ args: args15,
47413
+ tool: async (client, args16, ctx) => {
47414
+ const [result, apiCall] = await organizationsListOrSearchDepartmentContacts(client, args16.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
46585
47415
  if (!result.ok) {
46586
47416
  return {
46587
47417
  content: [{ type: "text", text: result.error.message }],
@@ -46596,9 +47426,9 @@ Available \`expand\` scopes are:
46596
47426
 
46597
47427
  // src/funcs/organizationsListOrSearchDepartments.ts
46598
47428
  function organizationsListOrSearchDepartments(client, request, options) {
46599
- return new APIPromise($do11(client, request, options));
47429
+ return new APIPromise($do16(client, request, options));
46600
47430
  }
46601
- async function $do11(client, request, options) {
47431
+ async function $do16(client, request, options) {
46602
47432
  const parsed = safeParse(request, (value) => ListOrSearchDepartmentsRequest$outboundSchema.parse(value), "Input validation failed");
46603
47433
  if (!parsed.ok) {
46604
47434
  return [haltIterator(parsed), { status: "invalid" }];
@@ -46713,12 +47543,12 @@ var init_organizationsListOrSearchDepartments = __esm(() => {
46713
47543
  });
46714
47544
 
46715
47545
  // src/mcp-server/tools/organizationsListOrSearchDepartments.ts
46716
- var args11, tool$organizationsListOrSearchDepartments;
47546
+ var args16, tool$organizationsListOrSearchDepartments;
46717
47547
  var init_organizationsListOrSearchDepartments2 = __esm(() => {
46718
47548
  init_organizationsListOrSearchDepartments();
46719
47549
  init_operations();
46720
47550
  init_tools();
46721
- args11 = {
47551
+ args16 = {
46722
47552
  request: ListOrSearchDepartmentsRequest$inboundSchema
46723
47553
  };
46724
47554
  tool$organizationsListOrSearchDepartments = {
@@ -46726,9 +47556,9 @@ var init_organizationsListOrSearchDepartments2 = __esm(() => {
46726
47556
  description: `List or search departments
46727
47557
 
46728
47558
  List or search departments.`,
46729
- args: args11,
46730
- tool: async (client, args12, ctx) => {
46731
- const [result, apiCall] = await organizationsListOrSearchDepartments(client, args12.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47559
+ args: args16,
47560
+ tool: async (client, args17, ctx) => {
47561
+ const [result, apiCall] = await organizationsListOrSearchDepartments(client, args17.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
46732
47562
  if (!result.ok) {
46733
47563
  return {
46734
47564
  content: [{ type: "text", text: result.error.message }],
@@ -46743,9 +47573,9 @@ List or search departments.`,
46743
47573
 
46744
47574
  // src/funcs/organizationsListOrSearchFacilities.ts
46745
47575
  function organizationsListOrSearchFacilities(client, request, options) {
46746
- return new APIPromise($do12(client, request, options));
47576
+ return new APIPromise($do17(client, request, options));
46747
47577
  }
46748
- async function $do12(client, request, options) {
47578
+ async function $do17(client, request, options) {
46749
47579
  const parsed = safeParse(request, (value) => ListOrSearchFacilitiesRequest$outboundSchema.parse(value), "Input validation failed");
46750
47580
  if (!parsed.ok) {
46751
47581
  return [haltIterator(parsed), { status: "invalid" }];
@@ -46861,12 +47691,12 @@ var init_organizationsListOrSearchFacilities = __esm(() => {
46861
47691
  });
46862
47692
 
46863
47693
  // src/mcp-server/tools/organizationsListOrSearchFacilities.ts
46864
- var args12, tool$organizationsListOrSearchFacilities;
47694
+ var args17, tool$organizationsListOrSearchFacilities;
46865
47695
  var init_organizationsListOrSearchFacilities2 = __esm(() => {
46866
47696
  init_organizationsListOrSearchFacilities();
46867
47697
  init_operations();
46868
47698
  init_tools();
46869
- args12 = {
47699
+ args17 = {
46870
47700
  request: ListOrSearchFacilitiesRequest$inboundSchema
46871
47701
  };
46872
47702
  tool$organizationsListOrSearchFacilities = {
@@ -46887,9 +47717,9 @@ Available \`expand\` scopes are:
46887
47717
  - facility.vendor_policy
46888
47718
  - facility.visitor_policy
46889
47719
  - facility.workflow`,
46890
- args: args12,
46891
- tool: async (client, args13, ctx) => {
46892
- const [result, apiCall] = await organizationsListOrSearchFacilities(client, args13.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47720
+ args: args17,
47721
+ tool: async (client, args18, ctx) => {
47722
+ const [result, apiCall] = await organizationsListOrSearchFacilities(client, args18.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
46893
47723
  if (!result.ok) {
46894
47724
  return {
46895
47725
  content: [{ type: "text", text: result.error.message }],
@@ -46904,9 +47734,9 @@ Available \`expand\` scopes are:
46904
47734
 
46905
47735
  // src/funcs/supportArticlesGetSupportArticle.ts
46906
47736
  function supportArticlesGetSupportArticle(client, request, options) {
46907
- return new APIPromise($do13(client, request, options));
47737
+ return new APIPromise($do18(client, request, options));
46908
47738
  }
46909
- async function $do13(client, request, options) {
47739
+ async function $do18(client, request, options) {
46910
47740
  const parsed = safeParse(request, (value) => GetSupportArticleRequest$outboundSchema.parse(value), "Input validation failed");
46911
47741
  if (!parsed.ok) {
46912
47742
  return [parsed, { status: "invalid" }];
@@ -46986,12 +47816,12 @@ var init_supportArticlesGetSupportArticle = __esm(() => {
46986
47816
  });
46987
47817
 
46988
47818
  // src/mcp-server/tools/supportArticlesGetSupportArticle.ts
46989
- var args13, tool$supportArticlesGetSupportArticle;
47819
+ var args18, tool$supportArticlesGetSupportArticle;
46990
47820
  var init_supportArticlesGetSupportArticle2 = __esm(() => {
46991
47821
  init_supportArticlesGetSupportArticle();
46992
47822
  init_operations();
46993
47823
  init_tools();
46994
- args13 = {
47824
+ args18 = {
46995
47825
  request: GetSupportArticleRequest$inboundSchema
46996
47826
  };
46997
47827
  tool$supportArticlesGetSupportArticle = {
@@ -47006,9 +47836,9 @@ Available \`expand\` scopes are:
47006
47836
  - support_article.published
47007
47837
  - support_article.notes
47008
47838
  - support_article.support_category`,
47009
- args: args13,
47010
- tool: async (client, args14, ctx) => {
47011
- const [result, apiCall] = await supportArticlesGetSupportArticle(client, args14.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47839
+ args: args18,
47840
+ tool: async (client, args19, ctx) => {
47841
+ const [result, apiCall] = await supportArticlesGetSupportArticle(client, args19.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47012
47842
  if (!result.ok) {
47013
47843
  return {
47014
47844
  content: [{ type: "text", text: result.error.message }],
@@ -47023,9 +47853,9 @@ Available \`expand\` scopes are:
47023
47853
 
47024
47854
  // src/funcs/supportArticlesListOrSearchSupportArticles.ts
47025
47855
  function supportArticlesListOrSearchSupportArticles(client, request, options) {
47026
- return new APIPromise($do14(client, request, options));
47856
+ return new APIPromise($do19(client, request, options));
47027
47857
  }
47028
- async function $do14(client, request, options) {
47858
+ async function $do19(client, request, options) {
47029
47859
  const parsed = safeParse(request, (value) => ListOrSearchSupportArticlesRequest$outboundSchema.parse(value), "Input validation failed");
47030
47860
  if (!parsed.ok) {
47031
47861
  return [haltIterator(parsed), { status: "invalid" }];
@@ -47135,12 +47965,12 @@ var init_supportArticlesListOrSearchSupportArticles = __esm(() => {
47135
47965
  });
47136
47966
 
47137
47967
  // src/mcp-server/tools/supportArticlesListOrSearchSupportArticles.ts
47138
- var args14, tool$supportArticlesListOrSearchSupportArticles;
47968
+ var args19, tool$supportArticlesListOrSearchSupportArticles;
47139
47969
  var init_supportArticlesListOrSearchSupportArticles2 = __esm(() => {
47140
47970
  init_supportArticlesListOrSearchSupportArticles();
47141
47971
  init_operations();
47142
47972
  init_tools();
47143
- args14 = {
47973
+ args19 = {
47144
47974
  request: ListOrSearchSupportArticlesRequest$inboundSchema
47145
47975
  };
47146
47976
  tool$supportArticlesListOrSearchSupportArticles = {
@@ -47148,9 +47978,9 @@ var init_supportArticlesListOrSearchSupportArticles2 = __esm(() => {
47148
47978
  description: `List or search support articles
47149
47979
 
47150
47980
  List or search support articles for FAQ.`,
47151
- args: args14,
47152
- tool: async (client, args15, ctx) => {
47153
- const [result, apiCall] = await supportArticlesListOrSearchSupportArticles(client, args15.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47981
+ args: args19,
47982
+ tool: async (client, args20, ctx) => {
47983
+ const [result, apiCall] = await supportArticlesListOrSearchSupportArticles(client, args20.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47154
47984
  if (!result.ok) {
47155
47985
  return {
47156
47986
  content: [{ type: "text", text: result.error.message }],
@@ -47165,9 +47995,9 @@ List or search support articles for FAQ.`,
47165
47995
 
47166
47996
  // src/funcs/systemsListSystems.ts
47167
47997
  function systemsListSystems(client, request, options) {
47168
- return new APIPromise($do15(client, request, options));
47998
+ return new APIPromise($do20(client, request, options));
47169
47999
  }
47170
- async function $do15(client, request, options) {
48000
+ async function $do20(client, request, options) {
47171
48001
  const parsed = safeParse(request, (value) => ListSystemsRequest$outboundSchema.parse(value), "Input validation failed");
47172
48002
  if (!parsed.ok) {
47173
48003
  return [haltIterator(parsed), { status: "invalid" }];
@@ -47278,12 +48108,12 @@ var init_systemsListSystems = __esm(() => {
47278
48108
  });
47279
48109
 
47280
48110
  // src/mcp-server/tools/systemsListSystems.ts
47281
- var args15, tool$systemsListSystems;
48111
+ var args20, tool$systemsListSystems;
47282
48112
  var init_systemsListSystems2 = __esm(() => {
47283
48113
  init_systemsListSystems();
47284
48114
  init_operations();
47285
48115
  init_tools();
47286
- args15 = {
48116
+ args20 = {
47287
48117
  request: ListSystemsRequest$inboundSchema
47288
48118
  };
47289
48119
  tool$systemsListSystems = {
@@ -47295,9 +48125,9 @@ List or search systems.
47295
48125
  Available \`expand\` scopes are:
47296
48126
 
47297
48127
  - system.facilities`,
47298
- args: args15,
47299
- tool: async (client, args16, ctx) => {
47300
- const [result, apiCall] = await systemsListSystems(client, args16.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48128
+ args: args20,
48129
+ tool: async (client, args21, ctx) => {
48130
+ const [result, apiCall] = await systemsListSystems(client, args21.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47301
48131
  if (!result.ok) {
47302
48132
  return {
47303
48133
  content: [{ type: "text", text: result.error.message }],
@@ -47312,9 +48142,9 @@ Available \`expand\` scopes are:
47312
48142
 
47313
48143
  // src/funcs/usersChangePassword.ts
47314
48144
  function usersChangePassword(client, request, options) {
47315
- return new APIPromise($do16(client, request, options));
48145
+ return new APIPromise($do21(client, request, options));
47316
48146
  }
47317
- async function $do16(client, request, options) {
48147
+ async function $do21(client, request, options) {
47318
48148
  const parsed = safeParse(request, (value) => ChangePasswordRequest$outboundSchema.parse(value), "Input validation failed");
47319
48149
  if (!parsed.ok) {
47320
48150
  return [parsed, { status: "invalid" }];
@@ -47390,12 +48220,12 @@ var init_usersChangePassword = __esm(() => {
47390
48220
  });
47391
48221
 
47392
48222
  // src/mcp-server/tools/usersChangePassword.ts
47393
- var args16, tool$usersChangePassword;
48223
+ var args21, tool$usersChangePassword;
47394
48224
  var init_usersChangePassword2 = __esm(() => {
47395
48225
  init_usersChangePassword();
47396
48226
  init_operations();
47397
48227
  init_tools();
47398
- args16 = {
48228
+ args21 = {
47399
48229
  request: ChangePasswordRequest$inboundSchema
47400
48230
  };
47401
48231
  tool$usersChangePassword = {
@@ -47403,9 +48233,9 @@ var init_usersChangePassword2 = __esm(() => {
47403
48233
  description: `Change password
47404
48234
 
47405
48235
  Change the user's password to the new passed as parameter`,
47406
- args: args16,
47407
- tool: async (client, args17, ctx) => {
47408
- const [result, apiCall] = await usersChangePassword(client, args17.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48236
+ args: args21,
48237
+ tool: async (client, args22, ctx) => {
48238
+ const [result, apiCall] = await usersChangePassword(client, args22.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47409
48239
  if (!result.ok) {
47410
48240
  return {
47411
48241
  content: [{ type: "text", text: result.error.message }],
@@ -47420,9 +48250,9 @@ Change the user's password to the new passed as parameter`,
47420
48250
 
47421
48251
  // src/funcs/usersGetCurrentUser.ts
47422
48252
  function usersGetCurrentUser(client, options) {
47423
- return new APIPromise($do17(client, options));
48253
+ return new APIPromise($do22(client, options));
47424
48254
  }
47425
- async function $do17(client, options) {
48255
+ async function $do22(client, options) {
47426
48256
  const path = pathToFunc("/users/me")();
47427
48257
  const headers = new Headers(compactMap({
47428
48258
  Accept: "application/json"
@@ -47507,9 +48337,9 @@ Returns a user object for the user represented by the authorization token`,
47507
48337
 
47508
48338
  // src/funcs/usersGetUserById.ts
47509
48339
  function usersGetUserById(client, request, options) {
47510
- return new APIPromise($do18(client, request, options));
48340
+ return new APIPromise($do23(client, request, options));
47511
48341
  }
47512
- async function $do18(client, request, options) {
48342
+ async function $do23(client, request, options) {
47513
48343
  const parsed = safeParse(request, (value) => GetUserByIdRequest$outboundSchema.parse(value), "Input validation failed");
47514
48344
  if (!parsed.ok) {
47515
48345
  return [parsed, { status: "invalid" }];
@@ -47585,12 +48415,12 @@ var init_usersGetUserById = __esm(() => {
47585
48415
  });
47586
48416
 
47587
48417
  // src/mcp-server/tools/usersGetUserById.ts
47588
- var args17, tool$usersGetUserById;
48418
+ var args22, tool$usersGetUserById;
47589
48419
  var init_usersGetUserById2 = __esm(() => {
47590
48420
  init_usersGetUserById();
47591
48421
  init_operations();
47592
48422
  init_tools();
47593
- args17 = {
48423
+ args22 = {
47594
48424
  request: GetUserByIdRequest$inboundSchema
47595
48425
  };
47596
48426
  tool$usersGetUserById = {
@@ -47598,9 +48428,9 @@ var init_usersGetUserById2 = __esm(() => {
47598
48428
  description: `Get user by id
47599
48429
 
47600
48430
  Returns a user object for the user represented by the identifier in the path.`,
47601
- args: args17,
47602
- tool: async (client, args18, ctx) => {
47603
- const [result, apiCall] = await usersGetUserById(client, args18.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48431
+ args: args22,
48432
+ tool: async (client, args23, ctx) => {
48433
+ const [result, apiCall] = await usersGetUserById(client, args23.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47604
48434
  if (!result.ok) {
47605
48435
  return {
47606
48436
  content: [{ type: "text", text: result.error.message }],
@@ -47615,9 +48445,9 @@ Returns a user object for the user represented by the identifier in the path.`,
47615
48445
 
47616
48446
  // src/funcs/usersMagiclink.ts
47617
48447
  function usersMagiclink(client, request, options) {
47618
- return new APIPromise($do19(client, request, options));
48448
+ return new APIPromise($do24(client, request, options));
47619
48449
  }
47620
- async function $do19(client, request, options) {
48450
+ async function $do24(client, request, options) {
47621
48451
  const parsed = safeParse(request, (value) => MagiclinkRequestBody$outboundSchema.parse(value), "Input validation failed");
47622
48452
  if (!parsed.ok) {
47623
48453
  return [parsed, { status: "invalid" }];
@@ -47687,12 +48517,12 @@ var init_usersMagiclink = __esm(() => {
47687
48517
  });
47688
48518
 
47689
48519
  // src/mcp-server/tools/usersMagiclink.ts
47690
- var args18, tool$usersMagiclink;
48520
+ var args23, tool$usersMagiclink;
47691
48521
  var init_usersMagiclink2 = __esm(() => {
47692
48522
  init_usersMagiclink();
47693
48523
  init_operations();
47694
48524
  init_tools();
47695
- args18 = {
48525
+ args23 = {
47696
48526
  request: MagiclinkRequestBody$inboundSchema
47697
48527
  };
47698
48528
  tool$usersMagiclink = {
@@ -47700,9 +48530,9 @@ var init_usersMagiclink2 = __esm(() => {
47700
48530
  description: `Magic link
47701
48531
 
47702
48532
  It sends an email with a magic link to allow the user to log in.`,
47703
- args: args18,
47704
- tool: async (client, args19, ctx) => {
47705
- const [result, apiCall] = await usersMagiclink(client, args19.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48533
+ args: args23,
48534
+ tool: async (client, args24, ctx) => {
48535
+ const [result, apiCall] = await usersMagiclink(client, args24.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47706
48536
  if (!result.ok) {
47707
48537
  return {
47708
48538
  content: [{ type: "text", text: result.error.message }],
@@ -47717,9 +48547,9 @@ It sends an email with a magic link to allow the user to log in.`,
47717
48547
 
47718
48548
  // src/funcs/usersPassword.ts
47719
48549
  function usersPassword(client, request, options) {
47720
- return new APIPromise($do20(client, request, options));
48550
+ return new APIPromise($do25(client, request, options));
47721
48551
  }
47722
- async function $do20(client, request, options) {
48552
+ async function $do25(client, request, options) {
47723
48553
  const parsed = safeParse(request, (value) => PasswordRequestBody$outboundSchema.parse(value), "Input validation failed");
47724
48554
  if (!parsed.ok) {
47725
48555
  return [parsed, { status: "invalid" }];
@@ -47789,12 +48619,12 @@ var init_usersPassword = __esm(() => {
47789
48619
  });
47790
48620
 
47791
48621
  // src/mcp-server/tools/usersPassword.ts
47792
- var args19, tool$usersPassword;
48622
+ var args24, tool$usersPassword;
47793
48623
  var init_usersPassword2 = __esm(() => {
47794
48624
  init_usersPassword();
47795
48625
  init_operations();
47796
48626
  init_tools();
47797
- args19 = {
48627
+ args24 = {
47798
48628
  request: PasswordRequestBody$inboundSchema
47799
48629
  };
47800
48630
  tool$usersPassword = {
@@ -47803,9 +48633,9 @@ var init_usersPassword2 = __esm(() => {
47803
48633
 
47804
48634
  Resets the a user's password using a password_reset_id that was sent to them via email.
47805
48635
  See /users/passwordresetrequest to initiate a password reset flow.`,
47806
- args: args19,
47807
- tool: async (client, args20, ctx) => {
47808
- const [result, apiCall] = await usersPassword(client, args20.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48636
+ args: args24,
48637
+ tool: async (client, args25, ctx) => {
48638
+ const [result, apiCall] = await usersPassword(client, args25.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47809
48639
  if (!result.ok) {
47810
48640
  return {
47811
48641
  content: [{ type: "text", text: result.error.message }],
@@ -47820,9 +48650,9 @@ See /users/passwordresetrequest to initiate a password reset flow.`,
47820
48650
 
47821
48651
  // src/funcs/usersPasswordResetRequest.ts
47822
48652
  function usersPasswordResetRequest(client, request, options) {
47823
- return new APIPromise($do21(client, request, options));
48653
+ return new APIPromise($do26(client, request, options));
47824
48654
  }
47825
- async function $do21(client, request, options) {
48655
+ async function $do26(client, request, options) {
47826
48656
  const parsed = safeParse(request, (value) => PasswordResetRequestRequestBody$outboundSchema.parse(value), "Input validation failed");
47827
48657
  if (!parsed.ok) {
47828
48658
  return [parsed, { status: "invalid" }];
@@ -47892,12 +48722,12 @@ var init_usersPasswordResetRequest = __esm(() => {
47892
48722
  });
47893
48723
 
47894
48724
  // src/mcp-server/tools/usersPasswordResetRequest.ts
47895
- var args20, tool$usersPasswordResetRequest;
48725
+ var args25, tool$usersPasswordResetRequest;
47896
48726
  var init_usersPasswordResetRequest2 = __esm(() => {
47897
48727
  init_usersPasswordResetRequest();
47898
48728
  init_operations();
47899
48729
  init_tools();
47900
- args20 = {
48730
+ args25 = {
47901
48731
  request: PasswordResetRequestRequestBody$inboundSchema
47902
48732
  };
47903
48733
  tool$usersPasswordResetRequest = {
@@ -47905,9 +48735,9 @@ var init_usersPasswordResetRequest2 = __esm(() => {
47905
48735
  description: `Password reset request
47906
48736
 
47907
48737
  It sends an email with a link for resetting a user's password.`,
47908
- args: args20,
47909
- tool: async (client, args21, ctx) => {
47910
- const [result, apiCall] = await usersPasswordResetRequest(client, args21.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48738
+ args: args25,
48739
+ tool: async (client, args26, ctx) => {
48740
+ const [result, apiCall] = await usersPasswordResetRequest(client, args26.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47911
48741
  if (!result.ok) {
47912
48742
  return {
47913
48743
  content: [{ type: "text", text: result.error.message }],
@@ -47922,9 +48752,9 @@ It sends an email with a link for resetting a user's password.`,
47922
48752
 
47923
48753
  // src/funcs/usersPostAuthenticate.ts
47924
48754
  function usersPostAuthenticate(client, request, options) {
47925
- return new APIPromise($do22(client, request, options));
48755
+ return new APIPromise($do27(client, request, options));
47926
48756
  }
47927
- async function $do22(client, request, options) {
48757
+ async function $do27(client, request, options) {
47928
48758
  const parsed = safeParse(request, (value) => PostAuthenticateRequestBody$outboundSchema.parse(value), "Input validation failed");
47929
48759
  if (!parsed.ok) {
47930
48760
  return [parsed, { status: "invalid" }];
@@ -47990,12 +48820,12 @@ var init_usersPostAuthenticate = __esm(() => {
47990
48820
  });
47991
48821
 
47992
48822
  // src/mcp-server/tools/usersPostAuthenticate.ts
47993
- var args21, tool$usersPostAuthenticate;
48823
+ var args26, tool$usersPostAuthenticate;
47994
48824
  var init_usersPostAuthenticate2 = __esm(() => {
47995
48825
  init_usersPostAuthenticate();
47996
48826
  init_operations();
47997
48827
  init_tools();
47998
- args21 = {
48828
+ args26 = {
47999
48829
  request: PostAuthenticateRequestBody$inboundSchema
48000
48830
  };
48001
48831
  tool$usersPostAuthenticate = {
@@ -48033,9 +48863,9 @@ Requires: \`saml_login\`
48033
48863
  3. Site redirects to your selected \`return_url\`
48034
48864
  4. The \`user_token\` will be appended as a query string parameter to your \`return_url\` - you must parse this token and store it
48035
48865
  5. Fetch the user object from \`/users/me\` using the token`,
48036
- args: args21,
48037
- tool: async (client, args22, ctx) => {
48038
- const [result, apiCall] = await usersPostAuthenticate(client, args22.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48866
+ args: args26,
48867
+ tool: async (client, args27, ctx) => {
48868
+ const [result, apiCall] = await usersPostAuthenticate(client, args27.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48039
48869
  if (!result.ok) {
48040
48870
  return {
48041
48871
  content: [{ type: "text", text: result.error.message }],
@@ -48050,9 +48880,9 @@ Requires: \`saml_login\`
48050
48880
 
48051
48881
  // src/funcs/usersRotateApiKey.ts
48052
48882
  function usersRotateApiKey(client, options) {
48053
- return new APIPromise($do23(client, options));
48883
+ return new APIPromise($do28(client, options));
48054
48884
  }
48055
- async function $do23(client, options) {
48885
+ async function $do28(client, options) {
48056
48886
  const path = pathToFunc("/users/api_key_rotator")();
48057
48887
  const headers = new Headers(compactMap({
48058
48888
  Accept: "application/json"
@@ -48137,9 +48967,9 @@ Allows an API user to rotate their own API key. Note, the key rotation happens i
48137
48967
 
48138
48968
  // src/funcs/vendorsAcceptVendorCredential.ts
48139
48969
  function vendorsAcceptVendorCredential(client, request, options) {
48140
- return new APIPromise($do24(client, request, options));
48970
+ return new APIPromise($do29(client, request, options));
48141
48971
  }
48142
- async function $do24(client, request, options) {
48972
+ async function $do29(client, request, options) {
48143
48973
  const parsed = safeParse(request, (value) => AcceptVendorCredentialRequest$outboundSchema.parse(value), "Input validation failed");
48144
48974
  if (!parsed.ok) {
48145
48975
  return [parsed, { status: "invalid" }];
@@ -48212,12 +49042,12 @@ var init_vendorsAcceptVendorCredential = __esm(() => {
48212
49042
  });
48213
49043
 
48214
49044
  // src/mcp-server/tools/vendorsAcceptVendorCredential.ts
48215
- var args22, tool$vendorsAcceptVendorCredential;
49045
+ var args27, tool$vendorsAcceptVendorCredential;
48216
49046
  var init_vendorsAcceptVendorCredential2 = __esm(() => {
48217
49047
  init_vendorsAcceptVendorCredential();
48218
49048
  init_operations();
48219
49049
  init_tools();
48220
- args22 = {
49050
+ args27 = {
48221
49051
  request: AcceptVendorCredentialRequest$inboundSchema
48222
49052
  };
48223
49053
  tool$vendorsAcceptVendorCredential = {
@@ -48225,9 +49055,9 @@ var init_vendorsAcceptVendorCredential2 = __esm(() => {
48225
49055
  description: `Accept vendor credential
48226
49056
 
48227
49057
  It will accept vendor credential`,
48228
- args: args22,
48229
- tool: async (client, args23, ctx) => {
48230
- const [result, apiCall] = await vendorsAcceptVendorCredential(client, args23.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
49058
+ args: args27,
49059
+ tool: async (client, args28, ctx) => {
49060
+ const [result, apiCall] = await vendorsAcceptVendorCredential(client, args28.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48231
49061
  if (!result.ok) {
48232
49062
  return {
48233
49063
  content: [{ type: "text", text: result.error.message }],
@@ -48242,9 +49072,9 @@ It will accept vendor credential`,
48242
49072
 
48243
49073
  // src/funcs/vendorsAddVendorCredentialFile.ts
48244
49074
  function vendorsAddVendorCredentialFile(client, request, options) {
48245
- return new APIPromise($do25(client, request, options));
49075
+ return new APIPromise($do30(client, request, options));
48246
49076
  }
48247
- async function $do25(client, request, options) {
49077
+ async function $do30(client, request, options) {
48248
49078
  const parsed = safeParse(request, (value) => AddVendorCredentialFileRequest$outboundSchema.parse(value), "Input validation failed");
48249
49079
  if (!parsed.ok) {
48250
49080
  return [parsed, { status: "invalid" }];
@@ -48317,12 +49147,12 @@ var init_vendorsAddVendorCredentialFile = __esm(() => {
48317
49147
  });
48318
49148
 
48319
49149
  // src/mcp-server/tools/vendorsAddVendorCredentialFile.ts
48320
- var args23, tool$vendorsAddVendorCredentialFile;
49150
+ var args28, tool$vendorsAddVendorCredentialFile;
48321
49151
  var init_vendorsAddVendorCredentialFile2 = __esm(() => {
48322
49152
  init_vendorsAddVendorCredentialFile();
48323
49153
  init_operations();
48324
49154
  init_tools();
48325
- args23 = {
49155
+ args28 = {
48326
49156
  request: AddVendorCredentialFileRequest$inboundSchema
48327
49157
  };
48328
49158
  tool$vendorsAddVendorCredentialFile = {
@@ -48330,9 +49160,9 @@ var init_vendorsAddVendorCredentialFile2 = __esm(() => {
48330
49160
  description: `Add vendor credential file
48331
49161
 
48332
49162
  It will add a new vendor credential file`,
48333
- args: args23,
48334
- tool: async (client, args24, ctx) => {
48335
- const [result, apiCall] = await vendorsAddVendorCredentialFile(client, args24.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
49163
+ args: args28,
49164
+ tool: async (client, args29, ctx) => {
49165
+ const [result, apiCall] = await vendorsAddVendorCredentialFile(client, args29.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48336
49166
  if (!result.ok) {
48337
49167
  return {
48338
49168
  content: [{ type: "text", text: result.error.message }],
@@ -48347,9 +49177,9 @@ It will add a new vendor credential file`,
48347
49177
 
48348
49178
  // src/funcs/vendorsAddVendorManagedByCompany.ts
48349
49179
  function vendorsAddVendorManagedByCompany(client, request, options) {
48350
- return new APIPromise($do26(client, request, options));
49180
+ return new APIPromise($do31(client, request, options));
48351
49181
  }
48352
- async function $do26(client, request, options) {
49182
+ async function $do31(client, request, options) {
48353
49183
  const parsed = safeParse(request, (value) => AddVendorManagedByCompanyRequest$outboundSchema.parse(value), "Input validation failed");
48354
49184
  if (!parsed.ok) {
48355
49185
  return [parsed, { status: "invalid" }];
@@ -48425,12 +49255,12 @@ var init_vendorsAddVendorManagedByCompany = __esm(() => {
48425
49255
  });
48426
49256
 
48427
49257
  // src/mcp-server/tools/vendorsAddVendorManagedByCompany.ts
48428
- var args24, tool$vendorsAddVendorManagedByCompany;
49258
+ var args29, tool$vendorsAddVendorManagedByCompany;
48429
49259
  var init_vendorsAddVendorManagedByCompany2 = __esm(() => {
48430
49260
  init_vendorsAddVendorManagedByCompany();
48431
49261
  init_operations();
48432
49262
  init_tools();
48433
- args24 = {
49263
+ args29 = {
48434
49264
  request: AddVendorManagedByCompanyRequest$inboundSchema
48435
49265
  };
48436
49266
  tool$vendorsAddVendorManagedByCompany = {
@@ -48438,9 +49268,9 @@ var init_vendorsAddVendorManagedByCompany2 = __esm(() => {
48438
49268
  description: `Add vendor managed by company
48439
49269
 
48440
49270
  It will add a vendor managed by company`,
48441
- args: args24,
48442
- tool: async (client, args25, ctx) => {
48443
- const [result, apiCall] = await vendorsAddVendorManagedByCompany(client, args25.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
49271
+ args: args29,
49272
+ tool: async (client, args30, ctx) => {
49273
+ const [result, apiCall] = await vendorsAddVendorManagedByCompany(client, args30.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48444
49274
  if (!result.ok) {
48445
49275
  return {
48446
49276
  content: [{ type: "text", text: result.error.message }],
@@ -48455,9 +49285,9 @@ It will add a vendor managed by company`,
48455
49285
 
48456
49286
  // src/funcs/vendorsCalculateSubscriptionPrice.ts
48457
49287
  function vendorsCalculateSubscriptionPrice(client, request, options) {
48458
- return new APIPromise($do27(client, request, options));
49288
+ return new APIPromise($do32(client, request, options));
48459
49289
  }
48460
- async function $do27(client, request, options) {
49290
+ async function $do32(client, request, options) {
48461
49291
  const parsed = safeParse(request, (value) => CalculateSubscriptionPriceRequest$outboundSchema.parse(value), "Input validation failed");
48462
49292
  if (!parsed.ok) {
48463
49293
  return [parsed, { status: "invalid" }];
@@ -48533,12 +49363,12 @@ var init_vendorsCalculateSubscriptionPrice = __esm(() => {
48533
49363
  });
48534
49364
 
48535
49365
  // src/mcp-server/tools/vendorsCalculateSubscriptionPrice.ts
48536
- var args25, tool$vendorsCalculateSubscriptionPrice;
49366
+ var args30, tool$vendorsCalculateSubscriptionPrice;
48537
49367
  var init_vendorsCalculateSubscriptionPrice2 = __esm(() => {
48538
49368
  init_vendorsCalculateSubscriptionPrice();
48539
49369
  init_operations();
48540
49370
  init_tools();
48541
- args25 = {
49371
+ args30 = {
48542
49372
  request: CalculateSubscriptionPriceRequest$inboundSchema
48543
49373
  };
48544
49374
  tool$vendorsCalculateSubscriptionPrice = {
@@ -48546,9 +49376,9 @@ var init_vendorsCalculateSubscriptionPrice2 = __esm(() => {
48546
49376
  description: `Calculate subscription price
48547
49377
 
48548
49378
  Calculate subscription price`,
48549
- args: args25,
48550
- tool: async (client, args26, ctx) => {
48551
- const [result, apiCall] = await vendorsCalculateSubscriptionPrice(client, args26.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
49379
+ args: args30,
49380
+ tool: async (client, args31, ctx) => {
49381
+ const [result, apiCall] = await vendorsCalculateSubscriptionPrice(client, args31.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48552
49382
  if (!result.ok) {
48553
49383
  return {
48554
49384
  content: [{ type: "text", text: result.error.message }],
@@ -48563,9 +49393,9 @@ Calculate subscription price`,
48563
49393
 
48564
49394
  // src/funcs/vendorScansVendorScanOut.ts
48565
49395
  function vendorScansVendorScanOut(client, request, options) {
48566
- return new APIPromise($do28(client, request, options));
49396
+ return new APIPromise($do33(client, request, options));
48567
49397
  }
48568
- async function $do28(client, request, options) {
49398
+ async function $do33(client, request, options) {
48569
49399
  const parsed = safeParse(request, (value) => VendorScanOutRequest$outboundSchema.parse(value), "Input validation failed");
48570
49400
  if (!parsed.ok) {
48571
49401
  return [parsed, { status: "invalid" }];
@@ -48640,12 +49470,12 @@ var init_vendorScansVendorScanOut = __esm(() => {
48640
49470
  });
48641
49471
 
48642
49472
  // src/mcp-server/tools/vendorScansVendorScanOut.ts
48643
- var args26, tool$vendorScansVendorScanOut;
49473
+ var args31, tool$vendorScansVendorScanOut;
48644
49474
  var init_vendorScansVendorScanOut2 = __esm(() => {
48645
49475
  init_vendorScansVendorScanOut();
48646
49476
  init_operations();
48647
49477
  init_tools();
48648
- args26 = {
49478
+ args31 = {
48649
49479
  request: VendorScanOutRequest$inboundSchema
48650
49480
  };
48651
49481
  tool$vendorScansVendorScanOut = {
@@ -48653,9 +49483,9 @@ var init_vendorScansVendorScanOut2 = __esm(() => {
48653
49483
  description: `Vendor scan out
48654
49484
 
48655
49485
  It scans out vendor from facility`,
48656
- args: args26,
48657
- tool: async (client, args27, ctx) => {
48658
- const [result, apiCall] = await vendorScansVendorScanOut(client, args27.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
49486
+ args: args31,
49487
+ tool: async (client, args32, ctx) => {
49488
+ const [result, apiCall] = await vendorScansVendorScanOut(client, args32.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48659
49489
  if (!result.ok) {
48660
49490
  return {
48661
49491
  content: [{ type: "text", text: result.error.message }],
@@ -48670,9 +49500,9 @@ It scans out vendor from facility`,
48670
49500
 
48671
49501
  // src/funcs/vendorsChangeSubscription.ts
48672
49502
  function vendorsChangeSubscription(client, request, options) {
48673
- return new APIPromise($do29(client, request, options));
49503
+ return new APIPromise($do34(client, request, options));
48674
49504
  }
48675
- async function $do29(client, request, options) {
49505
+ async function $do34(client, request, options) {
48676
49506
  const parsed = safeParse(request, (value) => ChangeSubscriptionRequest$outboundSchema.parse(value), "Input validation failed");
48677
49507
  if (!parsed.ok) {
48678
49508
  return [parsed, { status: "invalid" }];
@@ -48748,12 +49578,12 @@ var init_vendorsChangeSubscription = __esm(() => {
48748
49578
  });
48749
49579
 
48750
49580
  // src/mcp-server/tools/vendorsChangeSubscription.ts
48751
- var args27, tool$vendorsChangeSubscription;
49581
+ var args32, tool$vendorsChangeSubscription;
48752
49582
  var init_vendorsChangeSubscription2 = __esm(() => {
48753
49583
  init_vendorsChangeSubscription();
48754
49584
  init_operations();
48755
49585
  init_tools();
48756
- args27 = {
49586
+ args32 = {
48757
49587
  request: ChangeSubscriptionRequest$inboundSchema
48758
49588
  };
48759
49589
  tool$vendorsChangeSubscription = {
@@ -48761,9 +49591,9 @@ var init_vendorsChangeSubscription2 = __esm(() => {
48761
49591
  description: `Change subscription
48762
49592
 
48763
49593
  Calculate subscription price`,
48764
- args: args27,
48765
- tool: async (client, args28, ctx) => {
48766
- const [result, apiCall] = await vendorsChangeSubscription(client, args28.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
49594
+ args: args32,
49595
+ tool: async (client, args33, ctx) => {
49596
+ const [result, apiCall] = await vendorsChangeSubscription(client, args33.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48767
49597
  if (!result.ok) {
48768
49598
  return {
48769
49599
  content: [{ type: "text", text: result.error.message }],
@@ -48778,9 +49608,9 @@ Calculate subscription price`,
48778
49608
 
48779
49609
  // src/funcs/vendorsCheckDownloadCode.ts
48780
49610
  function vendorsCheckDownloadCode(client, request, options) {
48781
- return new APIPromise($do30(client, request, options));
49611
+ return new APIPromise($do35(client, request, options));
48782
49612
  }
48783
- async function $do30(client, request, options) {
49613
+ async function $do35(client, request, options) {
48784
49614
  const parsed = safeParse(request, (value) => CheckDownloadCodeRequest$outboundSchema.parse(value), "Input validation failed");
48785
49615
  if (!parsed.ok) {
48786
49616
  return [parsed, { status: "invalid" }];
@@ -48856,12 +49686,12 @@ var init_vendorsCheckDownloadCode = __esm(() => {
48856
49686
  });
48857
49687
 
48858
49688
  // src/mcp-server/tools/vendorsCheckDownloadCode.ts
48859
- var args28, tool$vendorsCheckDownloadCode;
49689
+ var args33, tool$vendorsCheckDownloadCode;
48860
49690
  var init_vendorsCheckDownloadCode2 = __esm(() => {
48861
49691
  init_vendorsCheckDownloadCode();
48862
49692
  init_operations();
48863
49693
  init_tools();
48864
- args28 = {
49694
+ args33 = {
48865
49695
  request: CheckDownloadCodeRequest$inboundSchema
48866
49696
  };
48867
49697
  tool$vendorsCheckDownloadCode = {
@@ -48869,9 +49699,9 @@ var init_vendorsCheckDownloadCode2 = __esm(() => {
48869
49699
  description: `Check download code for vendor credential
48870
49700
 
48871
49701
  It will check download code for vendor credential`,
48872
- args: args28,
48873
- tool: async (client, args29, ctx) => {
48874
- const [result, apiCall] = await vendorsCheckDownloadCode(client, args29.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
49702
+ args: args33,
49703
+ tool: async (client, args34, ctx) => {
49704
+ const [result, apiCall] = await vendorsCheckDownloadCode(client, args34.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48875
49705
  if (!result.ok) {
48876
49706
  return {
48877
49707
  content: [{ type: "text", text: result.error.message }],
@@ -48886,9 +49716,9 @@ It will check download code for vendor credential`,
48886
49716
 
48887
49717
  // src/funcs/vendorsCreateNewVendorCredentialVersion.ts
48888
49718
  function vendorsCreateNewVendorCredentialVersion(client, request, options) {
48889
- return new APIPromise($do31(client, request, options));
49719
+ return new APIPromise($do36(client, request, options));
48890
49720
  }
48891
- async function $do31(client, request, options) {
49721
+ async function $do36(client, request, options) {
48892
49722
  const parsed = safeParse(request, (value) => CreateNewVendorCredentialVersionRequestBody$outboundSchema.parse(value), "Input validation failed");
48893
49723
  if (!parsed.ok) {
48894
49724
  return [parsed, { status: "invalid" }];
@@ -48958,12 +49788,12 @@ var init_vendorsCreateNewVendorCredentialVersion = __esm(() => {
48958
49788
  });
48959
49789
 
48960
49790
  // src/mcp-server/tools/vendorsCreateNewVendorCredentialVersion.ts
48961
- var args29, tool$vendorsCreateNewVendorCredentialVersion;
49791
+ var args34, tool$vendorsCreateNewVendorCredentialVersion;
48962
49792
  var init_vendorsCreateNewVendorCredentialVersion2 = __esm(() => {
48963
49793
  init_vendorsCreateNewVendorCredentialVersion();
48964
49794
  init_operations();
48965
49795
  init_tools();
48966
- args29 = {
49796
+ args34 = {
48967
49797
  request: CreateNewVendorCredentialVersionRequestBody$inboundSchema
48968
49798
  };
48969
49799
  tool$vendorsCreateNewVendorCredentialVersion = {
@@ -48971,9 +49801,9 @@ var init_vendorsCreateNewVendorCredentialVersion2 = __esm(() => {
48971
49801
  description: `Create new vendor credential version
48972
49802
 
48973
49803
  It will submit vendor credential`,
48974
- args: args29,
48975
- tool: async (client, args30, ctx) => {
48976
- const [result, apiCall] = await vendorsCreateNewVendorCredentialVersion(client, args30.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
49804
+ args: args34,
49805
+ tool: async (client, args35, ctx) => {
49806
+ const [result, apiCall] = await vendorsCreateNewVendorCredentialVersion(client, args35.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48977
49807
  if (!result.ok) {
48978
49808
  return {
48979
49809
  content: [{ type: "text", text: result.error.message }],
@@ -48988,9 +49818,9 @@ It will submit vendor credential`,
48988
49818
 
48989
49819
  // src/funcs/vendorsCreateOrUpdateBcr.ts
48990
49820
  function vendorsCreateOrUpdateBcr(client, request, options) {
48991
- return new APIPromise($do32(client, request, options));
49821
+ return new APIPromise($do37(client, request, options));
48992
49822
  }
48993
- async function $do32(client, request, options) {
49823
+ async function $do37(client, request, options) {
48994
49824
  const parsed = safeParse(request, (value) => CreateOrUpdateBcrRequest$outboundSchema.parse(value), "Input validation failed");
48995
49825
  if (!parsed.ok) {
48996
49826
  return [parsed, { status: "invalid" }];
@@ -49064,12 +49894,12 @@ var init_vendorsCreateOrUpdateBcr = __esm(() => {
49064
49894
  });
49065
49895
 
49066
49896
  // src/mcp-server/tools/vendorsCreateOrUpdateBcr.ts
49067
- var args30, tool$vendorsCreateOrUpdateBcr;
49897
+ var args35, tool$vendorsCreateOrUpdateBcr;
49068
49898
  var init_vendorsCreateOrUpdateBcr2 = __esm(() => {
49069
49899
  init_vendorsCreateOrUpdateBcr();
49070
49900
  init_operations();
49071
49901
  init_tools();
49072
- args30 = {
49902
+ args35 = {
49073
49903
  request: CreateOrUpdateBcrRequest$inboundSchema
49074
49904
  };
49075
49905
  tool$vendorsCreateOrUpdateBcr = {
@@ -49077,9 +49907,9 @@ var init_vendorsCreateOrUpdateBcr2 = __esm(() => {
49077
49907
  description: `Create or update BackgroundCheckResults
49078
49908
 
49079
49909
  It will create or update BackgroundCheckResults`,
49080
- args: args30,
49081
- tool: async (client, args31, ctx) => {
49082
- const [result, apiCall] = await vendorsCreateOrUpdateBcr(client, args31.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
49910
+ args: args35,
49911
+ tool: async (client, args36, ctx) => {
49912
+ const [result, apiCall] = await vendorsCreateOrUpdateBcr(client, args36.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
49083
49913
  if (!result.ok) {
49084
49914
  return {
49085
49915
  content: [{ type: "text", text: result.error.message }],
@@ -49094,9 +49924,9 @@ It will create or update BackgroundCheckResults`,
49094
49924
 
49095
49925
  // src/funcs/vendorsCreateVendorCompany.ts
49096
49926
  function vendorsCreateVendorCompany(client, request, options) {
49097
- return new APIPromise($do33(client, request, options));
49927
+ return new APIPromise($do38(client, request, options));
49098
49928
  }
49099
- async function $do33(client, request, options) {
49929
+ async function $do38(client, request, options) {
49100
49930
  const parsed = safeParse(request, (value) => CreateVendorCompanyRequest$outboundSchema.parse(value), "Input validation failed");
49101
49931
  if (!parsed.ok) {
49102
49932
  return [parsed, { status: "invalid" }];
@@ -49172,12 +50002,12 @@ var init_vendorsCreateVendorCompany = __esm(() => {
49172
50002
  });
49173
50003
 
49174
50004
  // src/mcp-server/tools/vendorsCreateVendorCompany.ts
49175
- var args31, tool$vendorsCreateVendorCompany;
50005
+ var args36, tool$vendorsCreateVendorCompany;
49176
50006
  var init_vendorsCreateVendorCompany2 = __esm(() => {
49177
50007
  init_vendorsCreateVendorCompany();
49178
50008
  init_operations();
49179
50009
  init_tools();
49180
- args31 = {
50010
+ args36 = {
49181
50011
  request: CreateVendorCompanyRequest$inboundSchema
49182
50012
  };
49183
50013
  tool$vendorsCreateVendorCompany = {
@@ -49185,9 +50015,9 @@ var init_vendorsCreateVendorCompany2 = __esm(() => {
49185
50015
  description: `Create vendor company
49186
50016
 
49187
50017
  Create vendor company`,
49188
- args: args31,
49189
- tool: async (client, args32, ctx) => {
49190
- const [result, apiCall] = await vendorsCreateVendorCompany(client, args32.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
50018
+ args: args36,
50019
+ tool: async (client, args37, ctx) => {
50020
+ const [result, apiCall] = await vendorsCreateVendorCompany(client, args37.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
49191
50021
  if (!result.ok) {
49192
50022
  return {
49193
50023
  content: [{ type: "text", text: result.error.message }],
@@ -49202,9 +50032,9 @@ Create vendor company`,
49202
50032
 
49203
50033
  // src/funcs/vendorsCreateVendorRegistration.ts
49204
50034
  function vendorsCreateVendorRegistration(client, request, options) {
49205
- return new APIPromise($do34(client, request, options));
50035
+ return new APIPromise($do39(client, request, options));
49206
50036
  }
49207
- async function $do34(client, request, options) {
50037
+ async function $do39(client, request, options) {
49208
50038
  const parsed = safeParse(request, (value) => CreateVendorRegistrationRequestBody$outboundSchema.parse(value), "Input validation failed");
49209
50039
  if (!parsed.ok) {
49210
50040
  return [parsed, { status: "invalid" }];
@@ -49271,12 +50101,12 @@ var init_vendorsCreateVendorRegistration = __esm(() => {
49271
50101
  });
49272
50102
 
49273
50103
  // src/mcp-server/tools/vendorsCreateVendorRegistration.ts
49274
- var args32, tool$vendorsCreateVendorRegistration;
50104
+ var args37, tool$vendorsCreateVendorRegistration;
49275
50105
  var init_vendorsCreateVendorRegistration2 = __esm(() => {
49276
50106
  init_vendorsCreateVendorRegistration();
49277
50107
  init_operations();
49278
50108
  init_tools();
49279
- args32 = {
50109
+ args37 = {
49280
50110
  request: CreateVendorRegistrationRequestBody$inboundSchema
49281
50111
  };
49282
50112
  tool$vendorsCreateVendorRegistration = {
@@ -49284,9 +50114,9 @@ var init_vendorsCreateVendorRegistration2 = __esm(() => {
49284
50114
  description: `Create vendor registration
49285
50115
 
49286
50116
  Create an initial vendor registration. Once successful, the vendor will be able to continue to filling out the rest of their onboarding profile.`,
49287
- args: args32,
49288
- tool: async (client, args33, ctx) => {
49289
- const [result, apiCall] = await vendorsCreateVendorRegistration(client, args33.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
50117
+ args: args37,
50118
+ tool: async (client, args38, ctx) => {
50119
+ const [result, apiCall] = await vendorsCreateVendorRegistration(client, args38.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
49290
50120
  if (!result.ok) {
49291
50121
  return {
49292
50122
  content: [{ type: "text", text: result.error.message }],
@@ -49301,9 +50131,9 @@ Create an initial vendor registration. Once successful, the vendor will be able
49301
50131
 
49302
50132
  // src/funcs/vendorsDeclineVendorCredential.ts
49303
50133
  function vendorsDeclineVendorCredential(client, request, options) {
49304
- return new APIPromise($do35(client, request, options));
50134
+ return new APIPromise($do40(client, request, options));
49305
50135
  }
49306
- async function $do35(client, request, options) {
50136
+ async function $do40(client, request, options) {
49307
50137
  const parsed = safeParse(request, (value) => DeclineVendorCredentialRequest$outboundSchema.parse(value), "Input validation failed");
49308
50138
  if (!parsed.ok) {
49309
50139
  return [parsed, { status: "invalid" }];
@@ -49376,12 +50206,12 @@ var init_vendorsDeclineVendorCredential = __esm(() => {
49376
50206
  });
49377
50207
 
49378
50208
  // src/mcp-server/tools/vendorsDeclineVendorCredential.ts
49379
- var args33, tool$vendorsDeclineVendorCredential;
50209
+ var args38, tool$vendorsDeclineVendorCredential;
49380
50210
  var init_vendorsDeclineVendorCredential2 = __esm(() => {
49381
50211
  init_vendorsDeclineVendorCredential();
49382
50212
  init_operations();
49383
50213
  init_tools();
49384
- args33 = {
50214
+ args38 = {
49385
50215
  request: DeclineVendorCredentialRequest$inboundSchema
49386
50216
  };
49387
50217
  tool$vendorsDeclineVendorCredential = {
@@ -49389,9 +50219,9 @@ var init_vendorsDeclineVendorCredential2 = __esm(() => {
49389
50219
  description: `Decline vendor credential
49390
50220
 
49391
50221
  It will decline vendor credential`,
49392
- args: args33,
49393
- tool: async (client, args34, ctx) => {
49394
- const [result, apiCall] = await vendorsDeclineVendorCredential(client, args34.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
50222
+ args: args38,
50223
+ tool: async (client, args39, ctx) => {
50224
+ const [result, apiCall] = await vendorsDeclineVendorCredential(client, args39.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
49395
50225
  if (!result.ok) {
49396
50226
  return {
49397
50227
  content: [{ type: "text", text: result.error.message }],
@@ -49406,9 +50236,9 @@ It will decline vendor credential`,
49406
50236
 
49407
50237
  // src/funcs/vendorsDeleteVendorCredentialFile.ts
49408
50238
  function vendorsDeleteVendorCredentialFile(client, request, options) {
49409
- return new APIPromise($do36(client, request, options));
50239
+ return new APIPromise($do41(client, request, options));
49410
50240
  }
49411
- async function $do36(client, request, options) {
50241
+ async function $do41(client, request, options) {
49412
50242
  const parsed = safeParse(request, (value) => DeleteVendorCredentialFileRequest$outboundSchema.parse(value), "Input validation failed");
49413
50243
  if (!parsed.ok) {
49414
50244
  return [parsed, { status: "invalid" }];
@@ -49485,12 +50315,12 @@ var init_vendorsDeleteVendorCredentialFile = __esm(() => {
49485
50315
  });
49486
50316
 
49487
50317
  // src/mcp-server/tools/vendorsDeleteVendorCredentialFile.ts
49488
- var args34, tool$vendorsDeleteVendorCredentialFile;
50318
+ var args39, tool$vendorsDeleteVendorCredentialFile;
49489
50319
  var init_vendorsDeleteVendorCredentialFile2 = __esm(() => {
49490
50320
  init_vendorsDeleteVendorCredentialFile();
49491
50321
  init_operations();
49492
50322
  init_tools();
49493
- args34 = {
50323
+ args39 = {
49494
50324
  request: DeleteVendorCredentialFileRequest$inboundSchema
49495
50325
  };
49496
50326
  tool$vendorsDeleteVendorCredentialFile = {
@@ -49498,9 +50328,9 @@ var init_vendorsDeleteVendorCredentialFile2 = __esm(() => {
49498
50328
  description: `Delete vendor credential file
49499
50329
 
49500
50330
  It will delete the vendor credential file`,
49501
- args: args34,
49502
- tool: async (client, args35, ctx) => {
49503
- const [result, apiCall] = await vendorsDeleteVendorCredentialFile(client, args35.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
50331
+ args: args39,
50332
+ tool: async (client, args40, ctx) => {
50333
+ const [result, apiCall] = await vendorsDeleteVendorCredentialFile(client, args40.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
49504
50334
  if (!result.ok) {
49505
50335
  return {
49506
50336
  content: [{ type: "text", text: result.error.message }],
@@ -49515,9 +50345,9 @@ It will delete the vendor credential file`,
49515
50345
 
49516
50346
  // src/funcs/vendorsDeleteVendorManagedByCompany.ts
49517
50347
  function vendorsDeleteVendorManagedByCompany(client, request, options) {
49518
- return new APIPromise($do37(client, request, options));
50348
+ return new APIPromise($do42(client, request, options));
49519
50349
  }
49520
- async function $do37(client, request, options) {
50350
+ async function $do42(client, request, options) {
49521
50351
  const parsed = safeParse(request, (value) => DeleteVendorManagedByCompanyRequest$outboundSchema.parse(value), "Input validation failed");
49522
50352
  if (!parsed.ok) {
49523
50353
  return [parsed, { status: "invalid" }];
@@ -49593,12 +50423,12 @@ var init_vendorsDeleteVendorManagedByCompany = __esm(() => {
49593
50423
  });
49594
50424
 
49595
50425
  // src/mcp-server/tools/vendorsDeleteVendorManagedByCompany.ts
49596
- var args35, tool$vendorsDeleteVendorManagedByCompany;
50426
+ var args40, tool$vendorsDeleteVendorManagedByCompany;
49597
50427
  var init_vendorsDeleteVendorManagedByCompany2 = __esm(() => {
49598
50428
  init_vendorsDeleteVendorManagedByCompany();
49599
50429
  init_operations();
49600
50430
  init_tools();
49601
- args35 = {
50431
+ args40 = {
49602
50432
  request: DeleteVendorManagedByCompanyRequest$inboundSchema
49603
50433
  };
49604
50434
  tool$vendorsDeleteVendorManagedByCompany = {
@@ -49606,9 +50436,9 @@ var init_vendorsDeleteVendorManagedByCompany2 = __esm(() => {
49606
50436
  description: `Delete vendor managed by company
49607
50437
 
49608
50438
  It will delete the vendor managed by company`,
49609
- args: args35,
49610
- tool: async (client, args36, ctx) => {
49611
- const [result, apiCall] = await vendorsDeleteVendorManagedByCompany(client, args36.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
50439
+ args: args40,
50440
+ tool: async (client, args41, ctx) => {
50441
+ const [result, apiCall] = await vendorsDeleteVendorManagedByCompany(client, args41.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
49612
50442
  if (!result.ok) {
49613
50443
  return {
49614
50444
  content: [{ type: "text", text: result.error.message }],
@@ -49623,9 +50453,9 @@ It will delete the vendor managed by company`,
49623
50453
 
49624
50454
  // src/funcs/vendorsExpediteTimeRemaining.ts
49625
50455
  function vendorsExpediteTimeRemaining(client, request, options) {
49626
- return new APIPromise($do38(client, request, options));
50456
+ return new APIPromise($do43(client, request, options));
49627
50457
  }
49628
- async function $do38(client, request, options) {
50458
+ async function $do43(client, request, options) {
49629
50459
  const parsed = safeParse(request, (value) => ExpediteTimeRemainingRequest$outboundSchema.parse(value), "Input validation failed");
49630
50460
  if (!parsed.ok) {
49631
50461
  return [parsed, { status: "invalid" }];
@@ -49700,12 +50530,12 @@ var init_vendorsExpediteTimeRemaining = __esm(() => {
49700
50530
  });
49701
50531
 
49702
50532
  // src/mcp-server/tools/vendorsExpediteTimeRemaining.ts
49703
- var args36, tool$vendorsExpediteTimeRemaining;
50533
+ var args41, tool$vendorsExpediteTimeRemaining;
49704
50534
  var init_vendorsExpediteTimeRemaining2 = __esm(() => {
49705
50535
  init_vendorsExpediteTimeRemaining();
49706
50536
  init_operations();
49707
50537
  init_tools();
49708
- args36 = {
50538
+ args41 = {
49709
50539
  request: ExpediteTimeRemainingRequest$inboundSchema
49710
50540
  };
49711
50541
  tool$vendorsExpediteTimeRemaining = {
@@ -49713,9 +50543,9 @@ var init_vendorsExpediteTimeRemaining2 = __esm(() => {
49713
50543
  description: `Expedite time remaining
49714
50544
 
49715
50545
  For vendors who have a paid 24-hour expedite credentials invoice, get the remaining time (in seconds) for which submitted credentials will be expedited.`,
49716
- args: args36,
49717
- tool: async (client, args37, ctx) => {
49718
- const [result, apiCall] = await vendorsExpediteTimeRemaining(client, args37.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
50546
+ args: args41,
50547
+ tool: async (client, args42, ctx) => {
50548
+ const [result, apiCall] = await vendorsExpediteTimeRemaining(client, args42.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
49719
50549
  if (!result.ok) {
49720
50550
  return {
49721
50551
  content: [{ type: "text", text: result.error.message }],
@@ -49730,9 +50560,9 @@ For vendors who have a paid 24-hour expedite credentials invoice, get the remain
49730
50560
 
49731
50561
  // src/funcs/vendorsGetSubscription.ts
49732
50562
  function vendorsGetSubscription(client, request, options) {
49733
- return new APIPromise($do39(client, request, options));
50563
+ return new APIPromise($do44(client, request, options));
49734
50564
  }
49735
- async function $do39(client, request, options) {
50565
+ async function $do44(client, request, options) {
49736
50566
  const parsed = safeParse(request, (value) => GetSubscriptionRequest$outboundSchema.parse(value), "Input validation failed");
49737
50567
  if (!parsed.ok) {
49738
50568
  return [parsed, { status: "invalid" }];
@@ -49811,12 +50641,12 @@ var init_vendorsGetSubscription = __esm(() => {
49811
50641
  });
49812
50642
 
49813
50643
  // src/mcp-server/tools/vendorsGetSubscription.ts
49814
- var args37, tool$vendorsGetSubscription;
50644
+ var args42, tool$vendorsGetSubscription;
49815
50645
  var init_vendorsGetSubscription2 = __esm(() => {
49816
50646
  init_vendorsGetSubscription();
49817
50647
  init_operations();
49818
50648
  init_tools();
49819
- args37 = {
50649
+ args42 = {
49820
50650
  request: GetSubscriptionRequest$inboundSchema
49821
50651
  };
49822
50652
  tool$vendorsGetSubscription = {
@@ -49828,9 +50658,9 @@ Get vendor subscription
49828
50658
  Available \`expand\` scopes are:
49829
50659
 
49830
50660
  subscription.expedited_offer`,
49831
- args: args37,
49832
- tool: async (client, args38, ctx) => {
49833
- const [result, apiCall] = await vendorsGetSubscription(client, args38.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
50661
+ args: args42,
50662
+ tool: async (client, args43, ctx) => {
50663
+ const [result, apiCall] = await vendorsGetSubscription(client, args43.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
49834
50664
  if (!result.ok) {
49835
50665
  return {
49836
50666
  content: [{ type: "text", text: result.error.message }],
@@ -49845,9 +50675,9 @@ subscription.expedited_offer`,
49845
50675
 
49846
50676
  // src/funcs/vendorsGetVendorCredentialDetails.ts
49847
50677
  function vendorsGetVendorCredentialDetails(client, request, options) {
49848
- return new APIPromise($do40(client, request, options));
50678
+ return new APIPromise($do45(client, request, options));
49849
50679
  }
49850
- async function $do40(client, request, options) {
50680
+ async function $do45(client, request, options) {
49851
50681
  const parsed = safeParse(request, (value) => GetVendorCredentialDetailsRequest$outboundSchema.parse(value), "Input validation failed");
49852
50682
  if (!parsed.ok) {
49853
50683
  return [parsed, { status: "invalid" }];
@@ -49930,12 +50760,12 @@ var init_vendorsGetVendorCredentialDetails = __esm(() => {
49930
50760
  });
49931
50761
 
49932
50762
  // src/mcp-server/tools/vendorsGetVendorCredentialDetails.ts
49933
- var args38, tool$vendorsGetVendorCredentialDetails;
50763
+ var args43, tool$vendorsGetVendorCredentialDetails;
49934
50764
  var init_vendorsGetVendorCredentialDetails2 = __esm(() => {
49935
50765
  init_vendorsGetVendorCredentialDetails();
49936
50766
  init_operations();
49937
50767
  init_tools();
49938
- args38 = {
50768
+ args43 = {
49939
50769
  request: GetVendorCredentialDetailsRequest$inboundSchema
49940
50770
  };
49941
50771
  tool$vendorsGetVendorCredentialDetails = {
@@ -49961,9 +50791,9 @@ Available \`expand\` scopes are:
49961
50791
  - vendor_credential.credential_variants
49962
50792
  - vendor_credential.targets_chop
49963
50793
  - vendor_credential.total_pending_credentials`,
49964
- args: args38,
49965
- tool: async (client, args39, ctx) => {
49966
- const [result, apiCall] = await vendorsGetVendorCredentialDetails(client, args39.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
50794
+ args: args43,
50795
+ tool: async (client, args44, ctx) => {
50796
+ const [result, apiCall] = await vendorsGetVendorCredentialDetails(client, args44.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
49967
50797
  if (!result.ok) {
49968
50798
  return {
49969
50799
  content: [{ type: "text", text: result.error.message }],
@@ -49978,9 +50808,9 @@ Available \`expand\` scopes are:
49978
50808
 
49979
50809
  // src/funcs/vendorsGetVendorCredentialFile.ts
49980
50810
  function vendorsGetVendorCredentialFile(client, request, options) {
49981
- return new APIPromise($do41(client, request, options));
50811
+ return new APIPromise($do46(client, request, options));
49982
50812
  }
49983
- async function $do41(client, request, options) {
50813
+ async function $do46(client, request, options) {
49984
50814
  const parsed = safeParse(request, (value) => GetVendorCredentialFileRequest$outboundSchema.parse(value), "Input validation failed");
49985
50815
  if (!parsed.ok) {
49986
50816
  return [parsed, { status: "invalid" }];
@@ -50061,12 +50891,12 @@ var init_vendorsGetVendorCredentialFile = __esm(() => {
50061
50891
  });
50062
50892
 
50063
50893
  // src/mcp-server/tools/vendorsGetVendorCredentialFile.ts
50064
- var args39, tool$vendorsGetVendorCredentialFile;
50894
+ var args44, tool$vendorsGetVendorCredentialFile;
50065
50895
  var init_vendorsGetVendorCredentialFile2 = __esm(() => {
50066
50896
  init_vendorsGetVendorCredentialFile();
50067
50897
  init_operations();
50068
50898
  init_tools();
50069
- args39 = {
50899
+ args44 = {
50070
50900
  request: GetVendorCredentialFileRequest$inboundSchema
50071
50901
  };
50072
50902
  tool$vendorsGetVendorCredentialFile = {
@@ -50079,9 +50909,9 @@ Available \`expand\` scopes are:
50079
50909
 
50080
50910
  - vendor_credential_file.vendor_credential
50081
50911
  - vendor_credential_file.credential_document`,
50082
- args: args39,
50083
- tool: async (client, args40, ctx) => {
50084
- const [result, apiCall] = await vendorsGetVendorCredentialFile(client, args40.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
50912
+ args: args44,
50913
+ tool: async (client, args45, ctx) => {
50914
+ const [result, apiCall] = await vendorsGetVendorCredentialFile(client, args45.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
50085
50915
  if (!result.ok) {
50086
50916
  return {
50087
50917
  content: [{ type: "text", text: result.error.message }],
@@ -50096,9 +50926,9 @@ Available \`expand\` scopes are:
50096
50926
 
50097
50927
  // src/funcs/vendorsGetVendorInvoiceDetails.ts
50098
50928
  function vendorsGetVendorInvoiceDetails(client, request, options) {
50099
- return new APIPromise($do42(client, request, options));
50929
+ return new APIPromise($do47(client, request, options));
50100
50930
  }
50101
- async function $do42(client, request, options) {
50931
+ async function $do47(client, request, options) {
50102
50932
  const parsed = safeParse(request, (value) => GetVendorInvoiceDetailsRequest$outboundSchema.parse(value), "Input validation failed");
50103
50933
  if (!parsed.ok) {
50104
50934
  return [parsed, { status: "invalid" }];
@@ -50178,12 +51008,12 @@ var init_vendorsGetVendorInvoiceDetails = __esm(() => {
50178
51008
  });
50179
51009
 
50180
51010
  // src/mcp-server/tools/vendorsGetVendorInvoiceDetails.ts
50181
- var args40, tool$vendorsGetVendorInvoiceDetails;
51011
+ var args45, tool$vendorsGetVendorInvoiceDetails;
50182
51012
  var init_vendorsGetVendorInvoiceDetails2 = __esm(() => {
50183
51013
  init_vendorsGetVendorInvoiceDetails();
50184
51014
  init_operations();
50185
51015
  init_tools();
50186
- args40 = {
51016
+ args45 = {
50187
51017
  request: GetVendorInvoiceDetailsRequest$inboundSchema
50188
51018
  };
50189
51019
  tool$vendorsGetVendorInvoiceDetails = {
@@ -50196,9 +51026,9 @@ Available \`expand\` scopes are:
50196
51026
 
50197
51027
  invoice.line_items
50198
51028
  invoice.invoice_transactions`,
50199
- args: args40,
50200
- tool: async (client, args41, ctx) => {
50201
- const [result, apiCall] = await vendorsGetVendorInvoiceDetails(client, args41.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
51029
+ args: args45,
51030
+ tool: async (client, args46, ctx) => {
51031
+ const [result, apiCall] = await vendorsGetVendorInvoiceDetails(client, args46.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
50202
51032
  if (!result.ok) {
50203
51033
  return {
50204
51034
  content: [{ type: "text", text: result.error.message }],
@@ -50213,9 +51043,9 @@ invoice.invoice_transactions`,
50213
51043
 
50214
51044
  // src/funcs/vendorsGetVendorInvoiceReceipt.ts
50215
51045
  function vendorsGetVendorInvoiceReceipt(client, request, options) {
50216
- return new APIPromise($do43(client, request, options));
51046
+ return new APIPromise($do48(client, request, options));
50217
51047
  }
50218
- async function $do43(client, request, options) {
51048
+ async function $do48(client, request, options) {
50219
51049
  const parsed = safeParse(request, (value) => GetVendorInvoiceReceiptRequest$outboundSchema.parse(value), "Input validation failed");
50220
51050
  if (!parsed.ok) {
50221
51051
  return [parsed, { status: "invalid" }];
@@ -50290,12 +51120,12 @@ var init_vendorsGetVendorInvoiceReceipt = __esm(() => {
50290
51120
  });
50291
51121
 
50292
51122
  // src/mcp-server/tools/vendorsGetVendorInvoiceReceipt.ts
50293
- var args41, tool$vendorsGetVendorInvoiceReceipt;
51123
+ var args46, tool$vendorsGetVendorInvoiceReceipt;
50294
51124
  var init_vendorsGetVendorInvoiceReceipt2 = __esm(() => {
50295
51125
  init_vendorsGetVendorInvoiceReceipt();
50296
51126
  init_operations();
50297
51127
  init_tools();
50298
- args41 = {
51128
+ args46 = {
50299
51129
  request: GetVendorInvoiceReceiptRequest$inboundSchema
50300
51130
  };
50301
51131
  tool$vendorsGetVendorInvoiceReceipt = {
@@ -50303,9 +51133,9 @@ var init_vendorsGetVendorInvoiceReceipt2 = __esm(() => {
50303
51133
  description: `Get invoice receipt for vendor
50304
51134
 
50305
51135
  Get invoice receipt for vendor`,
50306
- args: args41,
50307
- tool: async (client, args42, ctx) => {
50308
- const [result, apiCall] = await vendorsGetVendorInvoiceReceipt(client, args42.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
51136
+ args: args46,
51137
+ tool: async (client, args47, ctx) => {
51138
+ const [result, apiCall] = await vendorsGetVendorInvoiceReceipt(client, args47.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
50309
51139
  if (!result.ok) {
50310
51140
  return {
50311
51141
  content: [{ type: "text", text: result.error.message }],
@@ -50320,9 +51150,9 @@ Get invoice receipt for vendor`,
50320
51150
 
50321
51151
  // src/funcs/vendorsGetVendorLegalName.ts
50322
51152
  function vendorsGetVendorLegalName(client, request, options) {
50323
- return new APIPromise($do44(client, request, options));
51153
+ return new APIPromise($do49(client, request, options));
50324
51154
  }
50325
- async function $do44(client, request, options) {
51155
+ async function $do49(client, request, options) {
50326
51156
  const parsed = safeParse(request, (value) => GetVendorLegalNameRequest$outboundSchema.parse(value), "Input validation failed");
50327
51157
  if (!parsed.ok) {
50328
51158
  return [parsed, { status: "invalid" }];
@@ -50397,12 +51227,12 @@ var init_vendorsGetVendorLegalName = __esm(() => {
50397
51227
  });
50398
51228
 
50399
51229
  // src/mcp-server/tools/vendorsGetVendorLegalName.ts
50400
- var args42, tool$vendorsGetVendorLegalName;
51230
+ var args47, tool$vendorsGetVendorLegalName;
50401
51231
  var init_vendorsGetVendorLegalName2 = __esm(() => {
50402
51232
  init_vendorsGetVendorLegalName();
50403
51233
  init_operations();
50404
51234
  init_tools();
50405
- args42 = {
51235
+ args47 = {
50406
51236
  request: GetVendorLegalNameRequest$inboundSchema
50407
51237
  };
50408
51238
  tool$vendorsGetVendorLegalName = {
@@ -50410,9 +51240,9 @@ var init_vendorsGetVendorLegalName2 = __esm(() => {
50410
51240
  description: `Get Vendor legal name
50411
51241
 
50412
51242
  Get vendor legal name`,
50413
- args: args42,
50414
- tool: async (client, args43, ctx) => {
50415
- const [result, apiCall] = await vendorsGetVendorLegalName(client, args43.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
51243
+ args: args47,
51244
+ tool: async (client, args48, ctx) => {
51245
+ const [result, apiCall] = await vendorsGetVendorLegalName(client, args48.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
50416
51246
  if (!result.ok) {
50417
51247
  return {
50418
51248
  content: [{ type: "text", text: result.error.message }],
@@ -50427,9 +51257,9 @@ Get vendor legal name`,
50427
51257
 
50428
51258
  // src/funcs/vendorsGetVendorsDetails.ts
50429
51259
  function vendorsGetVendorsDetails(client, request, options) {
50430
- return new APIPromise($do45(client, request, options));
51260
+ return new APIPromise($do50(client, request, options));
50431
51261
  }
50432
- async function $do45(client, request, options) {
51262
+ async function $do50(client, request, options) {
50433
51263
  const parsed = safeParse(request, (value) => GetVendorsDetailsRequest$outboundSchema.parse(value), "Input validation failed");
50434
51264
  if (!parsed.ok) {
50435
51265
  return [parsed, { status: "invalid" }];
@@ -50509,12 +51339,12 @@ var init_vendorsGetVendorsDetails = __esm(() => {
50509
51339
  });
50510
51340
 
50511
51341
  // src/mcp-server/tools/vendorsGetVendorsDetails.ts
50512
- var args43, tool$vendorsGetVendorsDetails;
51342
+ var args48, tool$vendorsGetVendorsDetails;
50513
51343
  var init_vendorsGetVendorsDetails2 = __esm(() => {
50514
51344
  init_vendorsGetVendorsDetails();
50515
51345
  init_operations();
50516
51346
  init_tools();
50517
- args43 = {
51347
+ args48 = {
50518
51348
  request: GetVendorsDetailsRequest$inboundSchema
50519
51349
  };
50520
51350
  tool$vendorsGetVendorsDetails = {
@@ -50543,9 +51373,9 @@ vendor.registration_finished
50543
51373
  vendor.target_facilities
50544
51374
  vendor.pending_invoice
50545
51375
  vendor.vendor_groups`,
50546
- args: args43,
50547
- tool: async (client, args44, ctx) => {
50548
- const [result, apiCall] = await vendorsGetVendorsDetails(client, args44.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
51376
+ args: args48,
51377
+ tool: async (client, args49, ctx) => {
51378
+ const [result, apiCall] = await vendorsGetVendorsDetails(client, args49.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
50549
51379
  if (!result.ok) {
50550
51380
  return {
50551
51381
  content: [{ type: "text", text: result.error.message }],
@@ -50560,9 +51390,9 @@ vendor.vendor_groups`,
50560
51390
 
50561
51391
  // src/funcs/vendorsListVendorAdditionalFacilityFields.ts
50562
51392
  function vendorsListVendorAdditionalFacilityFields(client, request, options) {
50563
- return new APIPromise($do46(client, request, options));
51393
+ return new APIPromise($do51(client, request, options));
50564
51394
  }
50565
- async function $do46(client, request, options) {
51395
+ async function $do51(client, request, options) {
50566
51396
  const parsed = safeParse(request, (value) => ListVendorAdditionalFacilityFieldsRequest$outboundSchema.parse(value), "Input validation failed");
50567
51397
  if (!parsed.ok) {
50568
51398
  return [haltIterator(parsed), { status: "invalid" }];
@@ -50674,12 +51504,12 @@ var init_vendorsListVendorAdditionalFacilityFields = __esm(() => {
50674
51504
  });
50675
51505
 
50676
51506
  // src/mcp-server/tools/vendorsListVendorAdditionalFacilityFields.ts
50677
- var args44, tool$vendorsListVendorAdditionalFacilityFields;
51507
+ var args49, tool$vendorsListVendorAdditionalFacilityFields;
50678
51508
  var init_vendorsListVendorAdditionalFacilityFields2 = __esm(() => {
50679
51509
  init_vendorsListVendorAdditionalFacilityFields();
50680
51510
  init_operations();
50681
51511
  init_tools();
50682
- args44 = {
51512
+ args49 = {
50683
51513
  request: ListVendorAdditionalFacilityFieldsRequest$inboundSchema
50684
51514
  };
50685
51515
  tool$vendorsListVendorAdditionalFacilityFields = {
@@ -50687,9 +51517,9 @@ var init_vendorsListVendorAdditionalFacilityFields2 = __esm(() => {
50687
51517
  description: `List of vendor's additional facility fields
50688
51518
 
50689
51519
  List of vendor's additional facility fields`,
50690
- args: args44,
50691
- tool: async (client, args45, ctx) => {
50692
- const [result, apiCall] = await vendorsListVendorAdditionalFacilityFields(client, args45.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
51520
+ args: args49,
51521
+ tool: async (client, args50, ctx) => {
51522
+ const [result, apiCall] = await vendorsListVendorAdditionalFacilityFields(client, args50.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
50693
51523
  if (!result.ok) {
50694
51524
  return {
50695
51525
  content: [{ type: "text", text: result.error.message }],
@@ -50704,9 +51534,9 @@ List of vendor's additional facility fields`,
50704
51534
 
50705
51535
  // src/funcs/vendorsListVendorCredentialDataRequests.ts
50706
51536
  function vendorsListVendorCredentialDataRequests(client, request, options) {
50707
- return new APIPromise($do47(client, request, options));
51537
+ return new APIPromise($do52(client, request, options));
50708
51538
  }
50709
- async function $do47(client, request, options) {
51539
+ async function $do52(client, request, options) {
50710
51540
  const parsed = safeParse(request, (value) => ListVendorCredentialDataRequestsRequest$outboundSchema.parse(value), "Input validation failed");
50711
51541
  if (!parsed.ok) {
50712
51542
  return [parsed, { status: "invalid" }];
@@ -50789,12 +51619,12 @@ var init_vendorsListVendorCredentialDataRequests = __esm(() => {
50789
51619
  });
50790
51620
 
50791
51621
  // src/mcp-server/tools/vendorsListVendorCredentialDataRequests.ts
50792
- var args45, tool$vendorsListVendorCredentialDataRequests;
51622
+ var args50, tool$vendorsListVendorCredentialDataRequests;
50793
51623
  var init_vendorsListVendorCredentialDataRequests2 = __esm(() => {
50794
51624
  init_vendorsListVendorCredentialDataRequests();
50795
51625
  init_operations();
50796
51626
  init_tools();
50797
- args45 = {
51627
+ args50 = {
50798
51628
  request: ListVendorCredentialDataRequestsRequest$inboundSchema
50799
51629
  };
50800
51630
  tool$vendorsListVendorCredentialDataRequests = {
@@ -50807,9 +51637,9 @@ Available \`expand\` scopes are:
50807
51637
 
50808
51638
  - vendor_credential_data_request.vendor_credential
50809
51639
  - vendor_credential_data_request.data_request`,
50810
- args: args45,
50811
- tool: async (client, args46, ctx) => {
50812
- const [result, apiCall] = await vendorsListVendorCredentialDataRequests(client, args46.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
51640
+ args: args50,
51641
+ tool: async (client, args51, ctx) => {
51642
+ const [result, apiCall] = await vendorsListVendorCredentialDataRequests(client, args51.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
50813
51643
  if (!result.ok) {
50814
51644
  return {
50815
51645
  content: [{ type: "text", text: result.error.message }],
@@ -50824,9 +51654,9 @@ Available \`expand\` scopes are:
50824
51654
 
50825
51655
  // src/funcs/vendorsListVendorCredentialFiles.ts
50826
51656
  function vendorsListVendorCredentialFiles(client, request, options) {
50827
- return new APIPromise($do48(client, request, options));
51657
+ return new APIPromise($do53(client, request, options));
50828
51658
  }
50829
- async function $do48(client, request, options) {
51659
+ async function $do53(client, request, options) {
50830
51660
  const parsed = safeParse(request, (value) => ListVendorCredentialFilesRequest$outboundSchema.parse(value), "Input validation failed");
50831
51661
  if (!parsed.ok) {
50832
51662
  return [parsed, { status: "invalid" }];
@@ -50909,12 +51739,12 @@ var init_vendorsListVendorCredentialFiles = __esm(() => {
50909
51739
  });
50910
51740
 
50911
51741
  // src/mcp-server/tools/vendorsListVendorCredentialFiles.ts
50912
- var args46, tool$vendorsListVendorCredentialFiles;
51742
+ var args51, tool$vendorsListVendorCredentialFiles;
50913
51743
  var init_vendorsListVendorCredentialFiles2 = __esm(() => {
50914
51744
  init_vendorsListVendorCredentialFiles();
50915
51745
  init_operations();
50916
51746
  init_tools();
50917
- args46 = {
51747
+ args51 = {
50918
51748
  request: ListVendorCredentialFilesRequest$inboundSchema
50919
51749
  };
50920
51750
  tool$vendorsListVendorCredentialFiles = {
@@ -50927,9 +51757,9 @@ Available \`expand\` scopes are:
50927
51757
 
50928
51758
  - vendor_credential_file.vendor_credential
50929
51759
  - vendor_credential_file.credential_document`,
50930
- args: args46,
50931
- tool: async (client, args47, ctx) => {
50932
- const [result, apiCall] = await vendorsListVendorCredentialFiles(client, args47.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
51760
+ args: args51,
51761
+ tool: async (client, args52, ctx) => {
51762
+ const [result, apiCall] = await vendorsListVendorCredentialFiles(client, args52.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
50933
51763
  if (!result.ok) {
50934
51764
  return {
50935
51765
  content: [{ type: "text", text: result.error.message }],
@@ -50944,9 +51774,9 @@ Available \`expand\` scopes are:
50944
51774
 
50945
51775
  // src/funcs/vendorsListVendorCredentialHistory.ts
50946
51776
  function vendorsListVendorCredentialHistory(client, request, options) {
50947
- return new APIPromise($do49(client, request, options));
51777
+ return new APIPromise($do54(client, request, options));
50948
51778
  }
50949
- async function $do49(client, request, options) {
51779
+ async function $do54(client, request, options) {
50950
51780
  const parsed = safeParse(request, (value) => ListVendorCredentialHistoryRequest$outboundSchema.parse(value), "Input validation failed");
50951
51781
  if (!parsed.ok) {
50952
51782
  return [haltIterator(parsed), { status: "invalid" }];
@@ -51061,12 +51891,12 @@ var init_vendorsListVendorCredentialHistory = __esm(() => {
51061
51891
  });
51062
51892
 
51063
51893
  // src/mcp-server/tools/vendorsListVendorCredentialHistory.ts
51064
- var args47, tool$vendorsListVendorCredentialHistory;
51894
+ var args52, tool$vendorsListVendorCredentialHistory;
51065
51895
  var init_vendorsListVendorCredentialHistory2 = __esm(() => {
51066
51896
  init_vendorsListVendorCredentialHistory();
51067
51897
  init_operations();
51068
51898
  init_tools();
51069
- args47 = {
51899
+ args52 = {
51070
51900
  request: ListVendorCredentialHistoryRequest$inboundSchema
51071
51901
  };
51072
51902
  tool$vendorsListVendorCredentialHistory = {
@@ -51074,9 +51904,9 @@ var init_vendorsListVendorCredentialHistory2 = __esm(() => {
51074
51904
  description: `List Vendor Credential History
51075
51905
 
51076
51906
  Lists vendor credentials history`,
51077
- args: args47,
51078
- tool: async (client, args48, ctx) => {
51079
- const [result, apiCall] = await vendorsListVendorCredentialHistory(client, args48.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
51907
+ args: args52,
51908
+ tool: async (client, args53, ctx) => {
51909
+ const [result, apiCall] = await vendorsListVendorCredentialHistory(client, args53.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
51080
51910
  if (!result.ok) {
51081
51911
  return {
51082
51912
  content: [{ type: "text", text: result.error.message }],
@@ -51091,9 +51921,9 @@ Lists vendor credentials history`,
51091
51921
 
51092
51922
  // src/funcs/vendorsListVendorCredentials.ts
51093
51923
  function vendorsListVendorCredentials(client, request, options) {
51094
- return new APIPromise($do50(client, request, options));
51924
+ return new APIPromise($do55(client, request, options));
51095
51925
  }
51096
- async function $do50(client, request, options) {
51926
+ async function $do55(client, request, options) {
51097
51927
  const parsed = safeParse(request, (value) => ListVendorCredentialsRequest$outboundSchema.parse(value), "Input validation failed");
51098
51928
  if (!parsed.ok) {
51099
51929
  return [haltIterator(parsed), { status: "invalid" }];
@@ -51213,12 +52043,12 @@ var init_vendorsListVendorCredentials = __esm(() => {
51213
52043
  });
51214
52044
 
51215
52045
  // src/mcp-server/tools/vendorsListVendorCredentials.ts
51216
- var args48, tool$vendorsListVendorCredentials;
52046
+ var args53, tool$vendorsListVendorCredentials;
51217
52047
  var init_vendorsListVendorCredentials2 = __esm(() => {
51218
52048
  init_vendorsListVendorCredentials();
51219
52049
  init_operations();
51220
52050
  init_tools();
51221
- args48 = {
52051
+ args53 = {
51222
52052
  request: ListVendorCredentialsRequest$inboundSchema
51223
52053
  };
51224
52054
  tool$vendorsListVendorCredentials = {
@@ -51226,9 +52056,9 @@ var init_vendorsListVendorCredentials2 = __esm(() => {
51226
52056
  description: `List Vendor Credentials
51227
52057
 
51228
52058
  Lists vendor credentials, required credentials, and company credentials. Utilized in Vendor Dashboard.`,
51229
- args: args48,
51230
- tool: async (client, args49, ctx) => {
51231
- const [result, apiCall] = await vendorsListVendorCredentials(client, args49.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
52059
+ args: args53,
52060
+ tool: async (client, args54, ctx) => {
52061
+ const [result, apiCall] = await vendorsListVendorCredentials(client, args54.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
51232
52062
  if (!result.ok) {
51233
52063
  return {
51234
52064
  content: [{ type: "text", text: result.error.message }],
@@ -51243,9 +52073,9 @@ Lists vendor credentials, required credentials, and company credentials. Utilize
51243
52073
 
51244
52074
  // src/funcs/vendorsListVendorCredits.ts
51245
52075
  function vendorsListVendorCredits(client, request, options) {
51246
- return new APIPromise($do51(client, request, options));
52076
+ return new APIPromise($do56(client, request, options));
51247
52077
  }
51248
- async function $do51(client, request, options) {
52078
+ async function $do56(client, request, options) {
51249
52079
  const parsed = safeParse(request, (value) => ListVendorCreditsRequest$outboundSchema.parse(value), "Input validation failed");
51250
52080
  if (!parsed.ok) {
51251
52081
  return [haltIterator(parsed), { status: "invalid" }];
@@ -51359,12 +52189,12 @@ var init_vendorsListVendorCredits = __esm(() => {
51359
52189
  });
51360
52190
 
51361
52191
  // src/mcp-server/tools/vendorsListVendorCredits.ts
51362
- var args49, tool$vendorsListVendorCredits;
52192
+ var args54, tool$vendorsListVendorCredits;
51363
52193
  var init_vendorsListVendorCredits2 = __esm(() => {
51364
52194
  init_vendorsListVendorCredits();
51365
52195
  init_operations();
51366
52196
  init_tools();
51367
- args49 = {
52197
+ args54 = {
51368
52198
  request: ListVendorCreditsRequest$inboundSchema
51369
52199
  };
51370
52200
  tool$vendorsListVendorCredits = {
@@ -51372,9 +52202,9 @@ var init_vendorsListVendorCredits2 = __esm(() => {
51372
52202
  description: `List vendor credits
51373
52203
 
51374
52204
  List the credits for the vendor`,
51375
- args: args49,
51376
- tool: async (client, args50, ctx) => {
51377
- const [result, apiCall] = await vendorsListVendorCredits(client, args50.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
52205
+ args: args54,
52206
+ tool: async (client, args55, ctx) => {
52207
+ const [result, apiCall] = await vendorsListVendorCredits(client, args55.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
51378
52208
  if (!result.ok) {
51379
52209
  return {
51380
52210
  content: [{ type: "text", text: result.error.message }],
@@ -51389,9 +52219,9 @@ List the credits for the vendor`,
51389
52219
 
51390
52220
  // src/funcs/vendorsListVendorFacilityStatuses.ts
51391
52221
  function vendorsListVendorFacilityStatuses(client, request, options) {
51392
- return new APIPromise($do52(client, request, options));
52222
+ return new APIPromise($do57(client, request, options));
51393
52223
  }
51394
- async function $do52(client, request, options) {
52224
+ async function $do57(client, request, options) {
51395
52225
  const parsed = safeParse(request, (value) => ListVendorFacilityStatusesRequest$outboundSchema.parse(value), "Input validation failed");
51396
52226
  if (!parsed.ok) {
51397
52227
  return [haltIterator(parsed), { status: "invalid" }];
@@ -51509,12 +52339,12 @@ var init_vendorsListVendorFacilityStatuses = __esm(() => {
51509
52339
  });
51510
52340
 
51511
52341
  // src/mcp-server/tools/vendorsListVendorFacilityStatuses.ts
51512
- var args50, tool$vendorsListVendorFacilityStatuses;
52342
+ var args55, tool$vendorsListVendorFacilityStatuses;
51513
52343
  var init_vendorsListVendorFacilityStatuses2 = __esm(() => {
51514
52344
  init_vendorsListVendorFacilityStatuses();
51515
52345
  init_operations();
51516
52346
  init_tools();
51517
- args50 = {
52347
+ args55 = {
51518
52348
  request: ListVendorFacilityStatusesRequest$inboundSchema
51519
52349
  };
51520
52350
  tool$vendorsListVendorFacilityStatuses = {
@@ -51522,9 +52352,9 @@ var init_vendorsListVendorFacilityStatuses2 = __esm(() => {
51522
52352
  description: `List vendor facility statuses
51523
52353
 
51524
52354
  List the facilities for the vendor`,
51525
- args: args50,
51526
- tool: async (client, args51, ctx) => {
51527
- const [result, apiCall] = await vendorsListVendorFacilityStatuses(client, args51.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
52355
+ args: args55,
52356
+ tool: async (client, args56, ctx) => {
52357
+ const [result, apiCall] = await vendorsListVendorFacilityStatuses(client, args56.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
51528
52358
  if (!result.ok) {
51529
52359
  return {
51530
52360
  content: [{ type: "text", text: result.error.message }],
@@ -51539,9 +52369,9 @@ List the facilities for the vendor`,
51539
52369
 
51540
52370
  // src/funcs/vendorsListVendorInvoices.ts
51541
52371
  function vendorsListVendorInvoices(client, request, options) {
51542
- return new APIPromise($do53(client, request, options));
52372
+ return new APIPromise($do58(client, request, options));
51543
52373
  }
51544
- async function $do53(client, request, options) {
52374
+ async function $do58(client, request, options) {
51545
52375
  const parsed = safeParse(request, (value) => ListVendorInvoicesRequest$outboundSchema.parse(value), "Input validation failed");
51546
52376
  if (!parsed.ok) {
51547
52377
  return [haltIterator(parsed), { status: "invalid" }];
@@ -51659,12 +52489,12 @@ var init_vendorsListVendorInvoices = __esm(() => {
51659
52489
  });
51660
52490
 
51661
52491
  // src/mcp-server/tools/vendorsListVendorInvoices.ts
51662
- var args51, tool$vendorsListVendorInvoices;
52492
+ var args56, tool$vendorsListVendorInvoices;
51663
52493
  var init_vendorsListVendorInvoices2 = __esm(() => {
51664
52494
  init_vendorsListVendorInvoices();
51665
52495
  init_operations();
51666
52496
  init_tools();
51667
- args51 = {
52497
+ args56 = {
51668
52498
  request: ListVendorInvoicesRequest$inboundSchema
51669
52499
  };
51670
52500
  tool$vendorsListVendorInvoices = {
@@ -51676,9 +52506,9 @@ List invoices for Vendors
51676
52506
  Available \`expand\` scopes are:
51677
52507
 
51678
52508
  invoice.line_items`,
51679
- args: args51,
51680
- tool: async (client, args52, ctx) => {
51681
- const [result, apiCall] = await vendorsListVendorInvoices(client, args52.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
52509
+ args: args56,
52510
+ tool: async (client, args57, ctx) => {
52511
+ const [result, apiCall] = await vendorsListVendorInvoices(client, args57.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
51682
52512
  if (!result.ok) {
51683
52513
  return {
51684
52514
  content: [{ type: "text", text: result.error.message }],
@@ -51693,9 +52523,9 @@ invoice.line_items`,
51693
52523
 
51694
52524
  // src/funcs/vendorsListVendorJobTitles.ts
51695
52525
  function vendorsListVendorJobTitles(client, request, options) {
51696
- return new APIPromise($do54(client, request, options));
52526
+ return new APIPromise($do59(client, request, options));
51697
52527
  }
51698
- async function $do54(client, request, options) {
52528
+ async function $do59(client, request, options) {
51699
52529
  const parsed = safeParse(request, (value) => ListVendorJobTitlesRequest$outboundSchema.parse(value), "Input validation failed");
51700
52530
  if (!parsed.ok) {
51701
52531
  return [haltIterator(parsed), { status: "invalid" }];
@@ -51804,12 +52634,12 @@ var init_vendorsListVendorJobTitles = __esm(() => {
51804
52634
  });
51805
52635
 
51806
52636
  // src/mcp-server/tools/vendorsListVendorJobTitles.ts
51807
- var args52, tool$vendorsListVendorJobTitles;
52637
+ var args57, tool$vendorsListVendorJobTitles;
51808
52638
  var init_vendorsListVendorJobTitles2 = __esm(() => {
51809
52639
  init_vendorsListVendorJobTitles();
51810
52640
  init_operations();
51811
52641
  init_tools();
51812
- args52 = {
52642
+ args57 = {
51813
52643
  request: ListVendorJobTitlesRequest$inboundSchema
51814
52644
  };
51815
52645
  tool$vendorsListVendorJobTitles = {
@@ -51817,9 +52647,9 @@ var init_vendorsListVendorJobTitles2 = __esm(() => {
51817
52647
  description: `List vendor job titles
51818
52648
 
51819
52649
  List valid job titles for Vendors. This can be used during sign up or in a filter.`,
51820
- args: args52,
51821
- tool: async (client, args53, ctx) => {
51822
- const [result, apiCall] = await vendorsListVendorJobTitles(client, args53.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
52650
+ args: args57,
52651
+ tool: async (client, args58, ctx) => {
52652
+ const [result, apiCall] = await vendorsListVendorJobTitles(client, args58.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
51823
52653
  if (!result.ok) {
51824
52654
  return {
51825
52655
  content: [{ type: "text", text: result.error.message }],
@@ -51834,9 +52664,9 @@ List valid job titles for Vendors. This can be used during sign up or in a filte
51834
52664
 
51835
52665
  // src/funcs/vendorsListVendorManagedByCompanies.ts
51836
52666
  function vendorsListVendorManagedByCompanies(client, request, options) {
51837
- return new APIPromise($do55(client, request, options));
52667
+ return new APIPromise($do60(client, request, options));
51838
52668
  }
51839
- async function $do55(client, request, options) {
52669
+ async function $do60(client, request, options) {
51840
52670
  const parsed = safeParse(request, (value) => ListVendorManagedByCompaniesRequest$outboundSchema.parse(value), "Input validation failed");
51841
52671
  if (!parsed.ok) {
51842
52672
  return [haltIterator(parsed), { status: "invalid" }];
@@ -51950,12 +52780,12 @@ var init_vendorsListVendorManagedByCompanies = __esm(() => {
51950
52780
  });
51951
52781
 
51952
52782
  // src/mcp-server/tools/vendorsListVendorManagedByCompanies.ts
51953
- var args53, tool$vendorsListVendorManagedByCompanies;
52783
+ var args58, tool$vendorsListVendorManagedByCompanies;
51954
52784
  var init_vendorsListVendorManagedByCompanies2 = __esm(() => {
51955
52785
  init_vendorsListVendorManagedByCompanies();
51956
52786
  init_operations();
51957
52787
  init_tools();
51958
- args53 = {
52788
+ args58 = {
51959
52789
  request: ListVendorManagedByCompaniesRequest$inboundSchema
51960
52790
  };
51961
52791
  tool$vendorsListVendorManagedByCompanies = {
@@ -51963,9 +52793,9 @@ var init_vendorsListVendorManagedByCompanies2 = __esm(() => {
51963
52793
  description: `List of companies managing the vendor
51964
52794
 
51965
52795
  List of companies managing the vendor`,
51966
- args: args53,
51967
- tool: async (client, args54, ctx) => {
51968
- const [result, apiCall] = await vendorsListVendorManagedByCompanies(client, args54.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
52796
+ args: args58,
52797
+ tool: async (client, args59, ctx) => {
52798
+ const [result, apiCall] = await vendorsListVendorManagedByCompanies(client, args59.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
51969
52799
  if (!result.ok) {
51970
52800
  return {
51971
52801
  content: [{ type: "text", text: result.error.message }],
@@ -51980,9 +52810,9 @@ List of companies managing the vendor`,
51980
52810
 
51981
52811
  // src/funcs/vendorsListVendorScrubDetails.ts
51982
52812
  function vendorsListVendorScrubDetails(client, request, options) {
51983
- return new APIPromise($do56(client, request, options));
52813
+ return new APIPromise($do61(client, request, options));
51984
52814
  }
51985
- async function $do56(client, request, options) {
52815
+ async function $do61(client, request, options) {
51986
52816
  const parsed = safeParse(request, (value) => ListVendorScrubDetailsRequest$outboundSchema.parse(value), "Input validation failed");
51987
52817
  if (!parsed.ok) {
51988
52818
  return [parsed, { status: "invalid" }];
@@ -52058,12 +52888,12 @@ var init_vendorsListVendorScrubDetails = __esm(() => {
52058
52888
  });
52059
52889
 
52060
52890
  // src/mcp-server/tools/vendorsListVendorScrubDetails.ts
52061
- var args54, tool$vendorsListVendorScrubDetails;
52891
+ var args59, tool$vendorsListVendorScrubDetails;
52062
52892
  var init_vendorsListVendorScrubDetails2 = __esm(() => {
52063
52893
  init_vendorsListVendorScrubDetails();
52064
52894
  init_operations();
52065
52895
  init_tools();
52066
- args54 = {
52896
+ args59 = {
52067
52897
  request: ListVendorScrubDetailsRequest$inboundSchema
52068
52898
  };
52069
52899
  tool$vendorsListVendorScrubDetails = {
@@ -52071,9 +52901,9 @@ var init_vendorsListVendorScrubDetails2 = __esm(() => {
52071
52901
  description: `List vendor scrub details
52072
52902
 
52073
52903
  List vendor scrub details`,
52074
- args: args54,
52075
- tool: async (client, args55, ctx) => {
52076
- const [result, apiCall] = await vendorsListVendorScrubDetails(client, args55.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
52904
+ args: args59,
52905
+ tool: async (client, args60, ctx) => {
52906
+ const [result, apiCall] = await vendorsListVendorScrubDetails(client, args60.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
52077
52907
  if (!result.ok) {
52078
52908
  return {
52079
52909
  content: [{ type: "text", text: result.error.message }],
@@ -52088,9 +52918,9 @@ List vendor scrub details`,
52088
52918
 
52089
52919
  // src/funcs/vendorsListVendorScrubPackages.ts
52090
52920
  function vendorsListVendorScrubPackages(client, request, options) {
52091
- return new APIPromise($do57(client, request, options));
52921
+ return new APIPromise($do62(client, request, options));
52092
52922
  }
52093
- async function $do57(client, request, options) {
52923
+ async function $do62(client, request, options) {
52094
52924
  const parsed = safeParse(request, (value) => ListVendorScrubPackagesRequest$outboundSchema.parse(value), "Input validation failed");
52095
52925
  if (!parsed.ok) {
52096
52926
  return [haltIterator(parsed), { status: "invalid" }];
@@ -52204,12 +53034,12 @@ var init_vendorsListVendorScrubPackages = __esm(() => {
52204
53034
  });
52205
53035
 
52206
53036
  // src/mcp-server/tools/vendorsListVendorScrubPackages.ts
52207
- var args55, tool$vendorsListVendorScrubPackages;
53037
+ var args60, tool$vendorsListVendorScrubPackages;
52208
53038
  var init_vendorsListVendorScrubPackages2 = __esm(() => {
52209
53039
  init_vendorsListVendorScrubPackages();
52210
53040
  init_operations();
52211
53041
  init_tools();
52212
- args55 = {
53042
+ args60 = {
52213
53043
  request: ListVendorScrubPackagesRequest$inboundSchema
52214
53044
  };
52215
53045
  tool$vendorsListVendorScrubPackages = {
@@ -52217,9 +53047,9 @@ var init_vendorsListVendorScrubPackages2 = __esm(() => {
52217
53047
  description: `List vendor scrub packages
52218
53048
 
52219
53049
  List vendor scrub packages`,
52220
- args: args55,
52221
- tool: async (client, args56, ctx) => {
52222
- const [result, apiCall] = await vendorsListVendorScrubPackages(client, args56.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
53050
+ args: args60,
53051
+ tool: async (client, args61, ctx) => {
53052
+ const [result, apiCall] = await vendorsListVendorScrubPackages(client, args61.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
52223
53053
  if (!result.ok) {
52224
53054
  return {
52225
53055
  content: [{ type: "text", text: result.error.message }],
@@ -52234,9 +53064,9 @@ List vendor scrub packages`,
52234
53064
 
52235
53065
  // src/funcs/vendorsListVendorScrubPurchases.ts
52236
53066
  function vendorsListVendorScrubPurchases(client, request, options) {
52237
- return new APIPromise($do58(client, request, options));
53067
+ return new APIPromise($do63(client, request, options));
52238
53068
  }
52239
- async function $do58(client, request, options) {
53069
+ async function $do63(client, request, options) {
52240
53070
  const parsed = safeParse(request, (value) => ListVendorScrubPurchasesRequest$outboundSchema.parse(value), "Input validation failed");
52241
53071
  if (!parsed.ok) {
52242
53072
  return [haltIterator(parsed), { status: "invalid" }];
@@ -52350,12 +53180,12 @@ var init_vendorsListVendorScrubPurchases = __esm(() => {
52350
53180
  });
52351
53181
 
52352
53182
  // src/mcp-server/tools/vendorsListVendorScrubPurchases.ts
52353
- var args56, tool$vendorsListVendorScrubPurchases;
53183
+ var args61, tool$vendorsListVendorScrubPurchases;
52354
53184
  var init_vendorsListVendorScrubPurchases2 = __esm(() => {
52355
53185
  init_vendorsListVendorScrubPurchases();
52356
53186
  init_operations();
52357
53187
  init_tools();
52358
- args56 = {
53188
+ args61 = {
52359
53189
  request: ListVendorScrubPurchasesRequest$inboundSchema
52360
53190
  };
52361
53191
  tool$vendorsListVendorScrubPurchases = {
@@ -52363,9 +53193,9 @@ var init_vendorsListVendorScrubPurchases2 = __esm(() => {
52363
53193
  description: `List vendor scrub purchases
52364
53194
 
52365
53195
  List vendor scrub purchases`,
52366
- args: args56,
52367
- tool: async (client, args57, ctx) => {
52368
- const [result, apiCall] = await vendorsListVendorScrubPurchases(client, args57.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
53196
+ args: args61,
53197
+ tool: async (client, args62, ctx) => {
53198
+ const [result, apiCall] = await vendorsListVendorScrubPurchases(client, args62.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
52369
53199
  if (!result.ok) {
52370
53200
  return {
52371
53201
  content: [{ type: "text", text: result.error.message }],
@@ -52380,9 +53210,9 @@ List vendor scrub purchases`,
52380
53210
 
52381
53211
  // src/funcs/vendorsListVendorTypes.ts
52382
53212
  function vendorsListVendorTypes(client, request, options) {
52383
- return new APIPromise($do59(client, request, options));
53213
+ return new APIPromise($do64(client, request, options));
52384
53214
  }
52385
- async function $do59(client, request, options) {
53215
+ async function $do64(client, request, options) {
52386
53216
  const parsed = safeParse(request, (value) => ListVendorTypesRequest$outboundSchema.parse(value), "Input validation failed");
52387
53217
  if (!parsed.ok) {
52388
53218
  return [haltIterator(parsed), { status: "invalid" }];
@@ -52490,12 +53320,12 @@ var init_vendorsListVendorTypes = __esm(() => {
52490
53320
  });
52491
53321
 
52492
53322
  // src/mcp-server/tools/vendorsListVendorTypes.ts
52493
- var args57, tool$vendorsListVendorTypes;
53323
+ var args62, tool$vendorsListVendorTypes;
52494
53324
  var init_vendorsListVendorTypes2 = __esm(() => {
52495
53325
  init_vendorsListVendorTypes();
52496
53326
  init_operations();
52497
53327
  init_tools();
52498
- args57 = {
53328
+ args62 = {
52499
53329
  request: ListVendorTypesRequest$inboundSchema
52500
53330
  };
52501
53331
  tool$vendorsListVendorTypes = {
@@ -52503,9 +53333,9 @@ var init_vendorsListVendorTypes2 = __esm(() => {
52503
53333
  description: `List vendor types
52504
53334
 
52505
53335
  List vendor types.`,
52506
- args: args57,
52507
- tool: async (client, args58, ctx) => {
52508
- const [result, apiCall] = await vendorsListVendorTypes(client, args58.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
53336
+ args: args62,
53337
+ tool: async (client, args63, ctx) => {
53338
+ const [result, apiCall] = await vendorsListVendorTypes(client, args63.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
52509
53339
  if (!result.ok) {
52510
53340
  return {
52511
53341
  content: [{ type: "text", text: result.error.message }],
@@ -52520,9 +53350,9 @@ List vendor types.`,
52520
53350
 
52521
53351
  // src/funcs/vendorsPurchaseScrubCredits.ts
52522
53352
  function vendorsPurchaseScrubCredits(client, request, options) {
52523
- return new APIPromise($do60(client, request, options));
53353
+ return new APIPromise($do65(client, request, options));
52524
53354
  }
52525
- async function $do60(client, request, options) {
53355
+ async function $do65(client, request, options) {
52526
53356
  const parsed = safeParse(request, (value) => PurchaseScrubCreditsRequest$outboundSchema.parse(value), "Input validation failed");
52527
53357
  if (!parsed.ok) {
52528
53358
  return [parsed, { status: "invalid" }];
@@ -52598,12 +53428,12 @@ var init_vendorsPurchaseScrubCredits = __esm(() => {
52598
53428
  });
52599
53429
 
52600
53430
  // src/mcp-server/tools/vendorsPurchaseScrubCredits.ts
52601
- var args58, tool$vendorsPurchaseScrubCredits;
53431
+ var args63, tool$vendorsPurchaseScrubCredits;
52602
53432
  var init_vendorsPurchaseScrubCredits2 = __esm(() => {
52603
53433
  init_vendorsPurchaseScrubCredits();
52604
53434
  init_operations();
52605
53435
  init_tools();
52606
- args58 = {
53436
+ args63 = {
52607
53437
  request: PurchaseScrubCreditsRequest$inboundSchema
52608
53438
  };
52609
53439
  tool$vendorsPurchaseScrubCredits = {
@@ -52611,9 +53441,9 @@ var init_vendorsPurchaseScrubCredits2 = __esm(() => {
52611
53441
  description: `Purchase scrub credits
52612
53442
 
52613
53443
  Purchase scrub credits`,
52614
- args: args58,
52615
- tool: async (client, args59, ctx) => {
52616
- const [result, apiCall] = await vendorsPurchaseScrubCredits(client, args59.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
53444
+ args: args63,
53445
+ tool: async (client, args64, ctx) => {
53446
+ const [result, apiCall] = await vendorsPurchaseScrubCredits(client, args64.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
52617
53447
  if (!result.ok) {
52618
53448
  return {
52619
53449
  content: [{ type: "text", text: result.error.message }],
@@ -52628,9 +53458,9 @@ Purchase scrub credits`,
52628
53458
 
52629
53459
  // src/funcs/vendorsSendDownloadCode.ts
52630
53460
  function vendorsSendDownloadCode(client, request, options) {
52631
- return new APIPromise($do61(client, request, options));
53461
+ return new APIPromise($do66(client, request, options));
52632
53462
  }
52633
- async function $do61(client, request, options) {
53463
+ async function $do66(client, request, options) {
52634
53464
  const parsed = safeParse(request, (value) => SendDownloadCodeRequest$outboundSchema.parse(value), "Input validation failed");
52635
53465
  if (!parsed.ok) {
52636
53466
  return [parsed, { status: "invalid" }];
@@ -52704,12 +53534,12 @@ var init_vendorsSendDownloadCode = __esm(() => {
52704
53534
  });
52705
53535
 
52706
53536
  // src/mcp-server/tools/vendorsSendDownloadCode.ts
52707
- var args59, tool$vendorsSendDownloadCode;
53537
+ var args64, tool$vendorsSendDownloadCode;
52708
53538
  var init_vendorsSendDownloadCode2 = __esm(() => {
52709
53539
  init_vendorsSendDownloadCode();
52710
53540
  init_operations();
52711
53541
  init_tools();
52712
- args59 = {
53542
+ args64 = {
52713
53543
  request: SendDownloadCodeRequest$inboundSchema
52714
53544
  };
52715
53545
  tool$vendorsSendDownloadCode = {
@@ -52717,9 +53547,9 @@ var init_vendorsSendDownloadCode2 = __esm(() => {
52717
53547
  description: `Send download code for vendor credential
52718
53548
 
52719
53549
  It will send download code for vendor credential`,
52720
- args: args59,
52721
- tool: async (client, args60, ctx) => {
52722
- const [result, apiCall] = await vendorsSendDownloadCode(client, args60.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
53550
+ args: args64,
53551
+ tool: async (client, args65, ctx) => {
53552
+ const [result, apiCall] = await vendorsSendDownloadCode(client, args65.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
52723
53553
  if (!result.ok) {
52724
53554
  return {
52725
53555
  content: [{ type: "text", text: result.error.message }],
@@ -52734,9 +53564,9 @@ It will send download code for vendor credential`,
52734
53564
 
52735
53565
  // src/funcs/vendorsSubmitVendorCredential.ts
52736
53566
  function vendorsSubmitVendorCredential(client, request, options) {
52737
- return new APIPromise($do62(client, request, options));
53567
+ return new APIPromise($do67(client, request, options));
52738
53568
  }
52739
- async function $do62(client, request, options) {
53569
+ async function $do67(client, request, options) {
52740
53570
  const parsed = safeParse(request, (value) => SubmitVendorCredentialRequest$outboundSchema.parse(value), "Input validation failed");
52741
53571
  if (!parsed.ok) {
52742
53572
  return [parsed, { status: "invalid" }];
@@ -52810,12 +53640,12 @@ var init_vendorsSubmitVendorCredential = __esm(() => {
52810
53640
  });
52811
53641
 
52812
53642
  // src/mcp-server/tools/vendorsSubmitVendorCredential.ts
52813
- var args60, tool$vendorsSubmitVendorCredential;
53643
+ var args65, tool$vendorsSubmitVendorCredential;
52814
53644
  var init_vendorsSubmitVendorCredential2 = __esm(() => {
52815
53645
  init_vendorsSubmitVendorCredential();
52816
53646
  init_operations();
52817
53647
  init_tools();
52818
- args60 = {
53648
+ args65 = {
52819
53649
  request: SubmitVendorCredentialRequest$inboundSchema
52820
53650
  };
52821
53651
  tool$vendorsSubmitVendorCredential = {
@@ -52823,9 +53653,9 @@ var init_vendorsSubmitVendorCredential2 = __esm(() => {
52823
53653
  description: `Submit vendor credential
52824
53654
 
52825
53655
  It will submit vendor credential`,
52826
- args: args60,
52827
- tool: async (client, args61, ctx) => {
52828
- const [result, apiCall] = await vendorsSubmitVendorCredential(client, args61.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
53656
+ args: args65,
53657
+ tool: async (client, args66, ctx) => {
53658
+ const [result, apiCall] = await vendorsSubmitVendorCredential(client, args66.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
52829
53659
  if (!result.ok) {
52830
53660
  return {
52831
53661
  content: [{ type: "text", text: result.error.message }],
@@ -52840,9 +53670,9 @@ It will submit vendor credential`,
52840
53670
 
52841
53671
  // src/funcs/vendorsUpdateVendorCredentialData.ts
52842
53672
  function vendorsUpdateVendorCredentialData(client, request, options) {
52843
- return new APIPromise($do63(client, request, options));
53673
+ return new APIPromise($do68(client, request, options));
52844
53674
  }
52845
- async function $do63(client, request, options) {
53675
+ async function $do68(client, request, options) {
52846
53676
  const parsed = safeParse(request, (value) => UpdateVendorCredentialDataRequest$outboundSchema.parse(value), "Input validation failed");
52847
53677
  if (!parsed.ok) {
52848
53678
  return [parsed, { status: "invalid" }];
@@ -52923,12 +53753,12 @@ var init_vendorsUpdateVendorCredentialData = __esm(() => {
52923
53753
  });
52924
53754
 
52925
53755
  // src/mcp-server/tools/vendorsUpdateVendorCredentialData.ts
52926
- var args61, tool$vendorsUpdateVendorCredentialData;
53756
+ var args66, tool$vendorsUpdateVendorCredentialData;
52927
53757
  var init_vendorsUpdateVendorCredentialData2 = __esm(() => {
52928
53758
  init_vendorsUpdateVendorCredentialData();
52929
53759
  init_operations();
52930
53760
  init_tools();
52931
- args61 = {
53761
+ args66 = {
52932
53762
  request: UpdateVendorCredentialDataRequest$inboundSchema
52933
53763
  };
52934
53764
  tool$vendorsUpdateVendorCredentialData = {
@@ -52936,9 +53766,9 @@ var init_vendorsUpdateVendorCredentialData2 = __esm(() => {
52936
53766
  description: `Update vendor credential data
52937
53767
 
52938
53768
  Update vendor credential data`,
52939
- args: args61,
52940
- tool: async (client, args62, ctx) => {
52941
- const [result, apiCall] = await vendorsUpdateVendorCredentialData(client, args62.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
53769
+ args: args66,
53770
+ tool: async (client, args67, ctx) => {
53771
+ const [result, apiCall] = await vendorsUpdateVendorCredentialData(client, args67.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
52942
53772
  if (!result.ok) {
52943
53773
  return {
52944
53774
  content: [{ type: "text", text: result.error.message }],
@@ -52953,9 +53783,9 @@ Update vendor credential data`,
52953
53783
 
52954
53784
  // src/funcs/vendorsUpdateVendorCredentialFile.ts
52955
53785
  function vendorsUpdateVendorCredentialFile(client, request, options) {
52956
- return new APIPromise($do64(client, request, options));
53786
+ return new APIPromise($do69(client, request, options));
52957
53787
  }
52958
- async function $do64(client, request, options) {
53788
+ async function $do69(client, request, options) {
52959
53789
  const parsed = safeParse(request, (value) => UpdateVendorCredentialFileRequest$outboundSchema.parse(value), "Input validation failed");
52960
53790
  if (!parsed.ok) {
52961
53791
  return [parsed, { status: "invalid" }];
@@ -53033,12 +53863,12 @@ var init_vendorsUpdateVendorCredentialFile = __esm(() => {
53033
53863
  });
53034
53864
 
53035
53865
  // src/mcp-server/tools/vendorsUpdateVendorCredentialFile.ts
53036
- var args62, tool$vendorsUpdateVendorCredentialFile;
53866
+ var args67, tool$vendorsUpdateVendorCredentialFile;
53037
53867
  var init_vendorsUpdateVendorCredentialFile2 = __esm(() => {
53038
53868
  init_vendorsUpdateVendorCredentialFile();
53039
53869
  init_operations();
53040
53870
  init_tools();
53041
- args62 = {
53871
+ args67 = {
53042
53872
  request: UpdateVendorCredentialFileRequest$inboundSchema
53043
53873
  };
53044
53874
  tool$vendorsUpdateVendorCredentialFile = {
@@ -53046,9 +53876,9 @@ var init_vendorsUpdateVendorCredentialFile2 = __esm(() => {
53046
53876
  description: `Update vendor credential file
53047
53877
 
53048
53878
  It will update the vendor credential file properties`,
53049
- args: args62,
53050
- tool: async (client, args63, ctx) => {
53051
- const [result, apiCall] = await vendorsUpdateVendorCredentialFile(client, args63.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
53879
+ args: args67,
53880
+ tool: async (client, args68, ctx) => {
53881
+ const [result, apiCall] = await vendorsUpdateVendorCredentialFile(client, args68.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
53052
53882
  if (!result.ok) {
53053
53883
  return {
53054
53884
  content: [{ type: "text", text: result.error.message }],
@@ -53063,9 +53893,9 @@ It will update the vendor credential file properties`,
53063
53893
 
53064
53894
  // src/funcs/vendorsUpdateVendorDetails.ts
53065
53895
  function vendorsUpdateVendorDetails(client, request, options) {
53066
- return new APIPromise($do65(client, request, options));
53896
+ return new APIPromise($do70(client, request, options));
53067
53897
  }
53068
- async function $do65(client, request, options) {
53898
+ async function $do70(client, request, options) {
53069
53899
  const parsed = safeParse(request, (value) => UpdateVendorDetailsRequest$outboundSchema.parse(value), "Input validation failed");
53070
53900
  if (!parsed.ok) {
53071
53901
  return [parsed, { status: "invalid" }];
@@ -53142,12 +53972,12 @@ var init_vendorsUpdateVendorDetails = __esm(() => {
53142
53972
  });
53143
53973
 
53144
53974
  // src/mcp-server/tools/vendorsUpdateVendorDetails.ts
53145
- var args63, tool$vendorsUpdateVendorDetails;
53975
+ var args68, tool$vendorsUpdateVendorDetails;
53146
53976
  var init_vendorsUpdateVendorDetails2 = __esm(() => {
53147
53977
  init_vendorsUpdateVendorDetails();
53148
53978
  init_operations();
53149
53979
  init_tools();
53150
- args63 = {
53980
+ args68 = {
53151
53981
  request: UpdateVendorDetailsRequest$inboundSchema
53152
53982
  };
53153
53983
  tool$vendorsUpdateVendorDetails = {
@@ -53155,9 +53985,9 @@ var init_vendorsUpdateVendorDetails2 = __esm(() => {
53155
53985
  description: `Update vendor details
53156
53986
 
53157
53987
  It will update the vendor details`,
53158
- args: args63,
53159
- tool: async (client, args64, ctx) => {
53160
- const [result, apiCall] = await vendorsUpdateVendorDetails(client, args64.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
53988
+ args: args68,
53989
+ tool: async (client, args69, ctx) => {
53990
+ const [result, apiCall] = await vendorsUpdateVendorDetails(client, args69.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
53161
53991
  if (!result.ok) {
53162
53992
  return {
53163
53993
  content: [{ type: "text", text: result.error.message }],
@@ -53172,9 +54002,9 @@ It will update the vendor details`,
53172
54002
 
53173
54003
  // src/funcs/vendorsUpdateVendorManagedByCompany.ts
53174
54004
  function vendorsUpdateVendorManagedByCompany(client, request, options) {
53175
- return new APIPromise($do66(client, request, options));
54005
+ return new APIPromise($do71(client, request, options));
53176
54006
  }
53177
- async function $do66(client, request, options) {
54007
+ async function $do71(client, request, options) {
53178
54008
  const parsed = safeParse(request, (value) => UpdateVendorManagedByCompanyRequest$outboundSchema.parse(value), "Input validation failed");
53179
54009
  if (!parsed.ok) {
53180
54010
  return [parsed, { status: "invalid" }];
@@ -53250,12 +54080,12 @@ var init_vendorsUpdateVendorManagedByCompany = __esm(() => {
53250
54080
  });
53251
54081
 
53252
54082
  // src/mcp-server/tools/vendorsUpdateVendorManagedByCompany.ts
53253
- var args64, tool$vendorsUpdateVendorManagedByCompany;
54083
+ var args69, tool$vendorsUpdateVendorManagedByCompany;
53254
54084
  var init_vendorsUpdateVendorManagedByCompany2 = __esm(() => {
53255
54085
  init_vendorsUpdateVendorManagedByCompany();
53256
54086
  init_operations();
53257
54087
  init_tools();
53258
- args64 = {
54088
+ args69 = {
53259
54089
  request: UpdateVendorManagedByCompanyRequest$inboundSchema
53260
54090
  };
53261
54091
  tool$vendorsUpdateVendorManagedByCompany = {
@@ -53263,9 +54093,9 @@ var init_vendorsUpdateVendorManagedByCompany2 = __esm(() => {
53263
54093
  description: `Update vendor managed by company access rights
53264
54094
 
53265
54095
  It will update the vendor managed by company access rights`,
53266
- args: args64,
53267
- tool: async (client, args65, ctx) => {
53268
- const [result, apiCall] = await vendorsUpdateVendorManagedByCompany(client, args65.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
54096
+ args: args69,
54097
+ tool: async (client, args70, ctx) => {
54098
+ const [result, apiCall] = await vendorsUpdateVendorManagedByCompany(client, args70.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
53269
54099
  if (!result.ok) {
53270
54100
  return {
53271
54101
  content: [{ type: "text", text: result.error.message }],
@@ -53280,9 +54110,9 @@ It will update the vendor managed by company access rights`,
53280
54110
 
53281
54111
  // src/funcs/vendorsUpdateVendorScrubDetails.ts
53282
54112
  function vendorsUpdateVendorScrubDetails(client, request, options) {
53283
- return new APIPromise($do67(client, request, options));
54113
+ return new APIPromise($do72(client, request, options));
53284
54114
  }
53285
- async function $do67(client, request, options) {
54115
+ async function $do72(client, request, options) {
53286
54116
  const parsed = safeParse(request, (value) => UpdateVendorScrubDetailsRequest$outboundSchema.parse(value), "Input validation failed");
53287
54117
  if (!parsed.ok) {
53288
54118
  return [parsed, { status: "invalid" }];
@@ -53359,12 +54189,12 @@ var init_vendorsUpdateVendorScrubDetails = __esm(() => {
53359
54189
  });
53360
54190
 
53361
54191
  // src/mcp-server/tools/vendorsUpdateVendorScrubDetails.ts
53362
- var args65, tool$vendorsUpdateVendorScrubDetails;
54192
+ var args70, tool$vendorsUpdateVendorScrubDetails;
53363
54193
  var init_vendorsUpdateVendorScrubDetails2 = __esm(() => {
53364
54194
  init_vendorsUpdateVendorScrubDetails();
53365
54195
  init_operations();
53366
54196
  init_tools();
53367
- args65 = {
54197
+ args70 = {
53368
54198
  request: UpdateVendorScrubDetailsRequest$inboundSchema
53369
54199
  };
53370
54200
  tool$vendorsUpdateVendorScrubDetails = {
@@ -53372,9 +54202,9 @@ var init_vendorsUpdateVendorScrubDetails2 = __esm(() => {
53372
54202
  description: `Update vendor scrub details
53373
54203
 
53374
54204
  Update vendor scrub details`,
53375
- args: args65,
53376
- tool: async (client, args66, ctx) => {
53377
- const [result, apiCall] = await vendorsUpdateVendorScrubDetails(client, args66.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
54205
+ args: args70,
54206
+ tool: async (client, args71, ctx) => {
54207
+ const [result, apiCall] = await vendorsUpdateVendorScrubDetails(client, args71.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
53378
54208
  if (!result.ok) {
53379
54209
  return {
53380
54210
  content: [{ type: "text", text: result.error.message }],
@@ -53389,9 +54219,9 @@ Update vendor scrub details`,
53389
54219
 
53390
54220
  // src/funcs/webhooksGetWebhookEndpoint.ts
53391
54221
  function webhooksGetWebhookEndpoint(client, request, options) {
53392
- return new APIPromise($do68(client, request, options));
54222
+ return new APIPromise($do73(client, request, options));
53393
54223
  }
53394
- async function $do68(client, request, options) {
54224
+ async function $do73(client, request, options) {
53395
54225
  const parsed = safeParse(request, (value) => GetWebhookEndpointRequest$outboundSchema.parse(value), "Input validation failed");
53396
54226
  if (!parsed.ok) {
53397
54227
  return [parsed, { status: "invalid" }];
@@ -53467,12 +54297,12 @@ var init_webhooksGetWebhookEndpoint = __esm(() => {
53467
54297
  });
53468
54298
 
53469
54299
  // src/mcp-server/tools/webhooksGetWebhookEndpoint.ts
53470
- var args66, tool$webhooksGetWebhookEndpoint;
54300
+ var args71, tool$webhooksGetWebhookEndpoint;
53471
54301
  var init_webhooksGetWebhookEndpoint2 = __esm(() => {
53472
54302
  init_webhooksGetWebhookEndpoint();
53473
54303
  init_operations();
53474
54304
  init_tools();
53475
- args66 = {
54305
+ args71 = {
53476
54306
  request: GetWebhookEndpointRequest$inboundSchema
53477
54307
  };
53478
54308
  tool$webhooksGetWebhookEndpoint = {
@@ -53480,9 +54310,9 @@ var init_webhooksGetWebhookEndpoint2 = __esm(() => {
53480
54310
  description: `Retrieves the webhook endpoint with the given ID.
53481
54311
 
53482
54312
  Returns the definition of a webhook endpoint by ID.`,
53483
- args: args66,
53484
- tool: async (client, args67, ctx) => {
53485
- const [result, apiCall] = await webhooksGetWebhookEndpoint(client, args67.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
54313
+ args: args71,
54314
+ tool: async (client, args72, ctx) => {
54315
+ const [result, apiCall] = await webhooksGetWebhookEndpoint(client, args72.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
53486
54316
  if (!result.ok) {
53487
54317
  return {
53488
54318
  content: [{ type: "text", text: result.error.message }],
@@ -53497,9 +54327,9 @@ Returns the definition of a webhook endpoint by ID.`,
53497
54327
 
53498
54328
  // src/funcs/webhooksListAllWebhookEndpoints.ts
53499
54329
  function webhooksListAllWebhookEndpoints(client, request, options) {
53500
- return new APIPromise($do69(client, request, options));
54330
+ return new APIPromise($do74(client, request, options));
53501
54331
  }
53502
- async function $do69(client, request, options) {
54332
+ async function $do74(client, request, options) {
53503
54333
  const parsed = safeParse(request, (value) => ListAllWebhookEndpointsRequest$outboundSchema.parse(value), "Input validation failed");
53504
54334
  if (!parsed.ok) {
53505
54335
  return [parsed, { status: "invalid" }];
@@ -53575,12 +54405,12 @@ var init_webhooksListAllWebhookEndpoints = __esm(() => {
53575
54405
  });
53576
54406
 
53577
54407
  // src/mcp-server/tools/webhooksListAllWebhookEndpoints.ts
53578
- var args67, tool$webhooksListAllWebhookEndpoints;
54408
+ var args72, tool$webhooksListAllWebhookEndpoints;
53579
54409
  var init_webhooksListAllWebhookEndpoints2 = __esm(() => {
53580
54410
  init_webhooksListAllWebhookEndpoints();
53581
54411
  init_operations();
53582
54412
  init_tools();
53583
- args67 = {
54413
+ args72 = {
53584
54414
  request: ListAllWebhookEndpointsRequest$inboundSchema
53585
54415
  };
53586
54416
  tool$webhooksListAllWebhookEndpoints = {
@@ -53588,9 +54418,9 @@ var init_webhooksListAllWebhookEndpoints2 = __esm(() => {
53588
54418
  description: `List all webhook endpoints
53589
54419
 
53590
54420
  Returns a list of your webhook endpoints.`,
53591
- args: args67,
53592
- tool: async (client, args68, ctx) => {
53593
- const [result, apiCall] = await webhooksListAllWebhookEndpoints(client, args68.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
54421
+ args: args72,
54422
+ tool: async (client, args73, ctx) => {
54423
+ const [result, apiCall] = await webhooksListAllWebhookEndpoints(client, args73.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
53594
54424
  if (!result.ok) {
53595
54425
  return {
53596
54426
  content: [{ type: "text", text: result.error.message }],
@@ -53605,9 +54435,9 @@ Returns a list of your webhook endpoints.`,
53605
54435
 
53606
54436
  // src/funcs/webhooksUpdatesTheWebhookEndpointWithTheGivenId.ts
53607
54437
  function webhooksUpdatesTheWebhookEndpointWithTheGivenId(client, request, options) {
53608
- return new APIPromise($do70(client, request, options));
54438
+ return new APIPromise($do75(client, request, options));
53609
54439
  }
53610
- async function $do70(client, request, options) {
54440
+ async function $do75(client, request, options) {
53611
54441
  const parsed = safeParse(request, (value) => UpdatesTheWebhookEndpointWithTheGivenIdRequest$outboundSchema.parse(value), "Input validation failed");
53612
54442
  if (!parsed.ok) {
53613
54443
  return [parsed, { status: "invalid" }];
@@ -53684,12 +54514,12 @@ var init_webhooksUpdatesTheWebhookEndpointWithTheGivenId = __esm(() => {
53684
54514
  });
53685
54515
 
53686
54516
  // src/mcp-server/tools/webhooksUpdatesTheWebhookEndpointWithTheGivenId.ts
53687
- var args68, tool$webhooksUpdatesTheWebhookEndpointWithTheGivenId;
54517
+ var args73, tool$webhooksUpdatesTheWebhookEndpointWithTheGivenId;
53688
54518
  var init_webhooksUpdatesTheWebhookEndpointWithTheGivenId2 = __esm(() => {
53689
54519
  init_webhooksUpdatesTheWebhookEndpointWithTheGivenId();
53690
54520
  init_operations();
53691
54521
  init_tools();
53692
- args68 = {
54522
+ args73 = {
53693
54523
  request: UpdatesTheWebhookEndpointWithTheGivenIdRequest$inboundSchema
53694
54524
  };
53695
54525
  tool$webhooksUpdatesTheWebhookEndpointWithTheGivenId = {
@@ -53697,9 +54527,9 @@ var init_webhooksUpdatesTheWebhookEndpointWithTheGivenId2 = __esm(() => {
53697
54527
  description: `Updates the webhook endpoint with the given ID.
53698
54528
 
53699
54529
  Updates the webhook endpoint with the given ID.`,
53700
- args: args68,
53701
- tool: async (client, args69, ctx) => {
53702
- const [result, apiCall] = await webhooksUpdatesTheWebhookEndpointWithTheGivenId(client, args69.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
54530
+ args: args73,
54531
+ tool: async (client, args74, ctx) => {
54532
+ const [result, apiCall] = await webhooksUpdatesTheWebhookEndpointWithTheGivenId(client, args74.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
53703
54533
  if (!result.ok) {
53704
54534
  return {
53705
54535
  content: [{ type: "text", text: result.error.message }],
@@ -53714,9 +54544,9 @@ Updates the webhook endpoint with the given ID.`,
53714
54544
 
53715
54545
  // src/funcs/zonesGetSecurityZone.ts
53716
54546
  function zonesGetSecurityZone(client, request, options) {
53717
- return new APIPromise($do71(client, request, options));
54547
+ return new APIPromise($do76(client, request, options));
53718
54548
  }
53719
- async function $do71(client, request, options) {
54549
+ async function $do76(client, request, options) {
53720
54550
  const parsed = safeParse(request, (value) => GetSecurityZoneRequest$outboundSchema.parse(value), "Input validation failed");
53721
54551
  if (!parsed.ok) {
53722
54552
  return [parsed, { status: "invalid" }];
@@ -53796,12 +54626,12 @@ var init_zonesGetSecurityZone = __esm(() => {
53796
54626
  });
53797
54627
 
53798
54628
  // src/mcp-server/tools/zonesGetSecurityZone.ts
53799
- var args69, tool$zonesGetSecurityZone;
54629
+ var args74, tool$zonesGetSecurityZone;
53800
54630
  var init_zonesGetSecurityZone2 = __esm(() => {
53801
54631
  init_zonesGetSecurityZone();
53802
54632
  init_operations();
53803
54633
  init_tools();
53804
- args69 = {
54634
+ args74 = {
53805
54635
  request: GetSecurityZoneRequest$inboundSchema
53806
54636
  };
53807
54637
  tool$zonesGetSecurityZone = {
@@ -53815,9 +54645,9 @@ Available \`expand\` scopes are:
53815
54645
  - zone.facility
53816
54646
  - zone.department
53817
54647
  - zone.rules`,
53818
- args: args69,
53819
- tool: async (client, args70, ctx) => {
53820
- const [result, apiCall] = await zonesGetSecurityZone(client, args70.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
54648
+ args: args74,
54649
+ tool: async (client, args75, ctx) => {
54650
+ const [result, apiCall] = await zonesGetSecurityZone(client, args75.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
53821
54651
  if (!result.ok) {
53822
54652
  return {
53823
54653
  content: [{ type: "text", text: result.error.message }],
@@ -53832,9 +54662,9 @@ Available \`expand\` scopes are:
53832
54662
 
53833
54663
  // src/funcs/zonesListOrSearchSecurityZones.ts
53834
54664
  function zonesListOrSearchSecurityZones(client, request, options) {
53835
- return new APIPromise($do72(client, request, options));
54665
+ return new APIPromise($do77(client, request, options));
53836
54666
  }
53837
- async function $do72(client, request, options) {
54667
+ async function $do77(client, request, options) {
53838
54668
  const parsed = safeParse(request, (value) => ListOrSearchSecurityZonesRequest$outboundSchema.parse(value), "Input validation failed");
53839
54669
  if (!parsed.ok) {
53840
54670
  return [haltIterator(parsed), { status: "invalid" }];
@@ -53948,12 +54778,12 @@ var init_zonesListOrSearchSecurityZones = __esm(() => {
53948
54778
  });
53949
54779
 
53950
54780
  // src/mcp-server/tools/zonesListOrSearchSecurityZones.ts
53951
- var args70, tool$zonesListOrSearchSecurityZones;
54781
+ var args75, tool$zonesListOrSearchSecurityZones;
53952
54782
  var init_zonesListOrSearchSecurityZones2 = __esm(() => {
53953
54783
  init_zonesListOrSearchSecurityZones();
53954
54784
  init_operations();
53955
54785
  init_tools();
53956
- args70 = {
54786
+ args75 = {
53957
54787
  request: ListOrSearchSecurityZonesRequest$inboundSchema
53958
54788
  };
53959
54789
  tool$zonesListOrSearchSecurityZones = {
@@ -53961,9 +54791,9 @@ var init_zonesListOrSearchSecurityZones2 = __esm(() => {
53961
54791
  description: `List or search security zones
53962
54792
 
53963
54793
  List or search security zones`,
53964
- args: args70,
53965
- tool: async (client, args71, ctx) => {
53966
- const [result, apiCall] = await zonesListOrSearchSecurityZones(client, args71.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
54794
+ args: args75,
54795
+ tool: async (client, args76, ctx) => {
54796
+ const [result, apiCall] = await zonesListOrSearchSecurityZones(client, args76.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
53967
54797
  if (!result.ok) {
53968
54798
  return {
53969
54799
  content: [{ type: "text", text: result.error.message }],
@@ -53978,9 +54808,9 @@ List or search security zones`,
53978
54808
 
53979
54809
  // src/funcs/zonesSecurityZoneCheckin.ts
53980
54810
  function zonesSecurityZoneCheckin(client, request, options) {
53981
- return new APIPromise($do73(client, request, options));
54811
+ return new APIPromise($do78(client, request, options));
53982
54812
  }
53983
- async function $do73(client, request, options) {
54813
+ async function $do78(client, request, options) {
53984
54814
  const parsed = safeParse(request, (value) => SecurityZoneCheckinRequestBody$outboundSchema.parse(value), "Input validation failed");
53985
54815
  if (!parsed.ok) {
53986
54816
  return [parsed, { status: "invalid" }];
@@ -54050,12 +54880,12 @@ var init_zonesSecurityZoneCheckin = __esm(() => {
54050
54880
  });
54051
54881
 
54052
54882
  // src/mcp-server/tools/zonesSecurityZoneCheckin.ts
54053
- var args71, tool$zonesSecurityZoneCheckin;
54883
+ var args76, tool$zonesSecurityZoneCheckin;
54054
54884
  var init_zonesSecurityZoneCheckin2 = __esm(() => {
54055
54885
  init_zonesSecurityZoneCheckin();
54056
54886
  init_operations();
54057
54887
  init_tools();
54058
- args71 = {
54888
+ args76 = {
54059
54889
  request: SecurityZoneCheckinRequestBody$inboundSchema
54060
54890
  };
54061
54891
  tool$zonesSecurityZoneCheckin = {
@@ -54063,9 +54893,9 @@ var init_zonesSecurityZoneCheckin2 = __esm(() => {
54063
54893
  description: `Security zone checkin request
54064
54894
 
54065
54895
  Security zone checkin request`,
54066
- args: args71,
54067
- tool: async (client, args72, ctx) => {
54068
- const [result, apiCall] = await zonesSecurityZoneCheckin(client, args72.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
54896
+ args: args76,
54897
+ tool: async (client, args77, ctx) => {
54898
+ const [result, apiCall] = await zonesSecurityZoneCheckin(client, args77.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
54069
54899
  if (!result.ok) {
54070
54900
  return {
54071
54901
  content: [{ type: "text", text: result.error.message }],
@@ -54082,7 +54912,7 @@ Security zone checkin request`,
54082
54912
  function createMCPServer(deps) {
54083
54913
  const server = new McpServer({
54084
54914
  name: "GreenSecurity",
54085
- version: "0.39.4"
54915
+ version: "0.39.8"
54086
54916
  });
54087
54917
  const client = new GreenSecurityCore({
54088
54918
  security: deps.security,
@@ -54167,6 +54997,11 @@ function createMCPServer(deps) {
54167
54997
  tool(tool$invoicesCreateInvoice);
54168
54998
  tool(tool$invoicesUpdateInvoice);
54169
54999
  tool(tool$invoicesMakePayment);
55000
+ tool(tool$eventsCreateEvent);
55001
+ tool(tool$eventsUpdateEvent);
55002
+ tool(tool$eventsDeleteEvent);
55003
+ tool(tool$eventsAcceptInvitation);
55004
+ tool(tool$eventsDeclineInvitation);
54170
55005
  tool(tool$eventsListOrSearchVendorInvitees);
54171
55006
  tool(tool$systemsListSystems);
54172
55007
  return server;
@@ -54180,7 +55015,12 @@ var init_server2 = __esm(() => {
54180
55015
  init_dataRequestsAddDataRequestFile2();
54181
55016
  init_dataRequestsDeleteDataRequestFile2();
54182
55017
  init_dataRequestsUpdateDataRequest2();
55018
+ init_eventsAcceptInvitation2();
55019
+ init_eventsCreateEvent2();
55020
+ init_eventsDeclineInvitation2();
55021
+ init_eventsDeleteEvent2();
54183
55022
  init_eventsListOrSearchVendorInvitees2();
55023
+ init_eventsUpdateEvent2();
54184
55024
  init_invoicesCreateInvoice2();
54185
55025
  init_invoicesMakePayment2();
54186
55026
  init_invoicesUpdateInvoice2();
@@ -55440,7 +56280,7 @@ var routes = rn({
55440
56280
  var app = Ve(routes, {
55441
56281
  name: "mcp",
55442
56282
  versionInfo: {
55443
- currentVersion: "0.39.4"
56283
+ currentVersion: "0.39.8"
55444
56284
  }
55445
56285
  });
55446
56286
  _t(app, process3.argv.slice(2), buildContext(process3));
@@ -55448,5 +56288,5 @@ export {
55448
56288
  app
55449
56289
  };
55450
56290
 
55451
- //# debugId=6001BC7B5082BCAF64756E2164756E21
56291
+ //# debugId=AD6CD2D9D26FD16F64756E2164756E21
55452
56292
  //# sourceMappingURL=mcp-server.js.map