@greensecurity/javascript-sdk 0.39.6 → 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 (238) hide show
  1. package/README.md +15 -0
  2. package/bin/mcp-server.js +1423 -591
  3. package/bin/mcp-server.js.map +22 -7
  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/operations/acceptinvitation.d.ts +92 -0
  55. package/dist/commonjs/models/operations/acceptinvitation.d.ts.map +1 -0
  56. package/dist/commonjs/models/operations/acceptinvitation.js +138 -0
  57. package/dist/commonjs/models/operations/acceptinvitation.js.map +1 -0
  58. package/dist/commonjs/models/operations/createevent.d.ts +99 -0
  59. package/dist/commonjs/models/operations/createevent.d.ts.map +1 -0
  60. package/dist/commonjs/models/operations/createevent.js +151 -0
  61. package/dist/commonjs/models/operations/createevent.js.map +1 -0
  62. package/dist/commonjs/models/operations/declineinvitation.d.ts +92 -0
  63. package/dist/commonjs/models/operations/declineinvitation.d.ts.map +1 -0
  64. package/dist/commonjs/models/operations/declineinvitation.js +138 -0
  65. package/dist/commonjs/models/operations/declineinvitation.js.map +1 -0
  66. package/dist/commonjs/models/operations/deleteevent.d.ts +60 -0
  67. package/dist/commonjs/models/operations/deleteevent.d.ts.map +1 -0
  68. package/dist/commonjs/models/operations/deleteevent.js +96 -0
  69. package/dist/commonjs/models/operations/deleteevent.js.map +1 -0
  70. package/dist/commonjs/models/operations/index.d.ts +5 -0
  71. package/dist/commonjs/models/operations/index.d.ts.map +1 -1
  72. package/dist/commonjs/models/operations/index.js +5 -0
  73. package/dist/commonjs/models/operations/index.js.map +1 -1
  74. package/dist/commonjs/models/operations/updateevent.d.ts +113 -0
  75. package/dist/commonjs/models/operations/updateevent.d.ts.map +1 -0
  76. package/dist/commonjs/models/operations/updateevent.js +154 -0
  77. package/dist/commonjs/models/operations/updateevent.js.map +1 -0
  78. package/dist/commonjs/react-query/eventsAcceptInvitation.d.ts +23 -0
  79. package/dist/commonjs/react-query/eventsAcceptInvitation.d.ts.map +1 -0
  80. package/dist/commonjs/react-query/eventsAcceptInvitation.js +47 -0
  81. package/dist/commonjs/react-query/eventsAcceptInvitation.js.map +1 -0
  82. package/dist/commonjs/react-query/eventsCreateEvent.d.ts +23 -0
  83. package/dist/commonjs/react-query/eventsCreateEvent.d.ts.map +1 -0
  84. package/dist/commonjs/react-query/eventsCreateEvent.js +47 -0
  85. package/dist/commonjs/react-query/eventsCreateEvent.js.map +1 -0
  86. package/dist/commonjs/react-query/eventsDeclineInvitation.d.ts +23 -0
  87. package/dist/commonjs/react-query/eventsDeclineInvitation.d.ts.map +1 -0
  88. package/dist/commonjs/react-query/eventsDeclineInvitation.js +47 -0
  89. package/dist/commonjs/react-query/eventsDeclineInvitation.js.map +1 -0
  90. package/dist/commonjs/react-query/eventsDeleteEvent.d.ts +23 -0
  91. package/dist/commonjs/react-query/eventsDeleteEvent.d.ts.map +1 -0
  92. package/dist/commonjs/react-query/eventsDeleteEvent.js +47 -0
  93. package/dist/commonjs/react-query/eventsDeleteEvent.js.map +1 -0
  94. package/dist/commonjs/react-query/eventsUpdateEvent.d.ts +23 -0
  95. package/dist/commonjs/react-query/eventsUpdateEvent.d.ts.map +1 -0
  96. package/dist/commonjs/react-query/eventsUpdateEvent.js +47 -0
  97. package/dist/commonjs/react-query/eventsUpdateEvent.js.map +1 -0
  98. package/dist/commonjs/react-query/index.d.ts +5 -0
  99. package/dist/commonjs/react-query/index.d.ts.map +1 -1
  100. package/dist/commonjs/react-query/index.js +5 -0
  101. package/dist/commonjs/react-query/index.js.map +1 -1
  102. package/dist/commonjs/sdk/events.d.ts +35 -0
  103. package/dist/commonjs/sdk/events.d.ts.map +1 -1
  104. package/dist/commonjs/sdk/events.js +51 -0
  105. package/dist/commonjs/sdk/events.js.map +1 -1
  106. package/dist/esm/__tests__/events.test.js +86 -0
  107. package/dist/esm/__tests__/events.test.js.map +1 -1
  108. package/dist/esm/__tests__/zones.test.js +16 -4
  109. package/dist/esm/__tests__/zones.test.js.map +1 -1
  110. package/dist/esm/funcs/eventsAcceptInvitation.d.ts +18 -0
  111. package/dist/esm/funcs/eventsAcceptInvitation.d.ts.map +1 -0
  112. package/dist/esm/funcs/eventsAcceptInvitation.js +91 -0
  113. package/dist/esm/funcs/eventsAcceptInvitation.js.map +1 -0
  114. package/dist/esm/funcs/eventsCreateEvent.d.ts +18 -0
  115. package/dist/esm/funcs/eventsCreateEvent.d.ts.map +1 -0
  116. package/dist/esm/funcs/eventsCreateEvent.js +81 -0
  117. package/dist/esm/funcs/eventsCreateEvent.js.map +1 -0
  118. package/dist/esm/funcs/eventsDeclineInvitation.d.ts +18 -0
  119. package/dist/esm/funcs/eventsDeclineInvitation.d.ts.map +1 -0
  120. package/dist/esm/funcs/eventsDeclineInvitation.js +91 -0
  121. package/dist/esm/funcs/eventsDeclineInvitation.js.map +1 -0
  122. package/dist/esm/funcs/eventsDeleteEvent.d.ts +18 -0
  123. package/dist/esm/funcs/eventsDeleteEvent.d.ts.map +1 -0
  124. package/dist/esm/funcs/eventsDeleteEvent.js +86 -0
  125. package/dist/esm/funcs/eventsDeleteEvent.js.map +1 -0
  126. package/dist/esm/funcs/eventsUpdateEvent.d.ts +18 -0
  127. package/dist/esm/funcs/eventsUpdateEvent.d.ts.map +1 -0
  128. package/dist/esm/funcs/eventsUpdateEvent.js +87 -0
  129. package/dist/esm/funcs/eventsUpdateEvent.js.map +1 -0
  130. package/dist/esm/lib/config.d.ts +3 -3
  131. package/dist/esm/lib/config.js +3 -3
  132. package/dist/esm/mcp-server/mcp-server.js +1 -1
  133. package/dist/esm/mcp-server/server.d.ts.map +1 -1
  134. package/dist/esm/mcp-server/server.js +11 -1
  135. package/dist/esm/mcp-server/server.js.map +1 -1
  136. package/dist/esm/mcp-server/tools/eventsAcceptInvitation.d.ts +8 -0
  137. package/dist/esm/mcp-server/tools/eventsAcceptInvitation.d.ts.map +1 -0
  138. package/dist/esm/mcp-server/tools/eventsAcceptInvitation.js +28 -0
  139. package/dist/esm/mcp-server/tools/eventsAcceptInvitation.js.map +1 -0
  140. package/dist/esm/mcp-server/tools/eventsCreateEvent.d.ts +8 -0
  141. package/dist/esm/mcp-server/tools/eventsCreateEvent.d.ts.map +1 -0
  142. package/dist/esm/mcp-server/tools/eventsCreateEvent.js +28 -0
  143. package/dist/esm/mcp-server/tools/eventsCreateEvent.js.map +1 -0
  144. package/dist/esm/mcp-server/tools/eventsDeclineInvitation.d.ts +8 -0
  145. package/dist/esm/mcp-server/tools/eventsDeclineInvitation.d.ts.map +1 -0
  146. package/dist/esm/mcp-server/tools/eventsDeclineInvitation.js +28 -0
  147. package/dist/esm/mcp-server/tools/eventsDeclineInvitation.js.map +1 -0
  148. package/dist/esm/mcp-server/tools/eventsDeleteEvent.d.ts +8 -0
  149. package/dist/esm/mcp-server/tools/eventsDeleteEvent.d.ts.map +1 -0
  150. package/dist/esm/mcp-server/tools/eventsDeleteEvent.js +28 -0
  151. package/dist/esm/mcp-server/tools/eventsDeleteEvent.js.map +1 -0
  152. package/dist/esm/mcp-server/tools/eventsUpdateEvent.d.ts +8 -0
  153. package/dist/esm/mcp-server/tools/eventsUpdateEvent.d.ts.map +1 -0
  154. package/dist/esm/mcp-server/tools/eventsUpdateEvent.js +28 -0
  155. package/dist/esm/mcp-server/tools/eventsUpdateEvent.js.map +1 -0
  156. package/dist/esm/models/operations/acceptinvitation.d.ts +92 -0
  157. package/dist/esm/models/operations/acceptinvitation.d.ts.map +1 -0
  158. package/dist/esm/models/operations/acceptinvitation.js +96 -0
  159. package/dist/esm/models/operations/acceptinvitation.js.map +1 -0
  160. package/dist/esm/models/operations/createevent.d.ts +99 -0
  161. package/dist/esm/models/operations/createevent.d.ts.map +1 -0
  162. package/dist/esm/models/operations/createevent.js +111 -0
  163. package/dist/esm/models/operations/createevent.js.map +1 -0
  164. package/dist/esm/models/operations/declineinvitation.d.ts +92 -0
  165. package/dist/esm/models/operations/declineinvitation.d.ts.map +1 -0
  166. package/dist/esm/models/operations/declineinvitation.js +96 -0
  167. package/dist/esm/models/operations/declineinvitation.js.map +1 -0
  168. package/dist/esm/models/operations/deleteevent.d.ts +60 -0
  169. package/dist/esm/models/operations/deleteevent.d.ts.map +1 -0
  170. package/dist/esm/models/operations/deleteevent.js +56 -0
  171. package/dist/esm/models/operations/deleteevent.js.map +1 -0
  172. package/dist/esm/models/operations/index.d.ts +5 -0
  173. package/dist/esm/models/operations/index.d.ts.map +1 -1
  174. package/dist/esm/models/operations/index.js +5 -0
  175. package/dist/esm/models/operations/index.js.map +1 -1
  176. package/dist/esm/models/operations/updateevent.d.ts +113 -0
  177. package/dist/esm/models/operations/updateevent.d.ts.map +1 -0
  178. package/dist/esm/models/operations/updateevent.js +112 -0
  179. package/dist/esm/models/operations/updateevent.js.map +1 -0
  180. package/dist/esm/react-query/eventsAcceptInvitation.d.ts +23 -0
  181. package/dist/esm/react-query/eventsAcceptInvitation.d.ts.map +1 -0
  182. package/dist/esm/react-query/eventsAcceptInvitation.js +42 -0
  183. package/dist/esm/react-query/eventsAcceptInvitation.js.map +1 -0
  184. package/dist/esm/react-query/eventsCreateEvent.d.ts +23 -0
  185. package/dist/esm/react-query/eventsCreateEvent.d.ts.map +1 -0
  186. package/dist/esm/react-query/eventsCreateEvent.js +42 -0
  187. package/dist/esm/react-query/eventsCreateEvent.js.map +1 -0
  188. package/dist/esm/react-query/eventsDeclineInvitation.d.ts +23 -0
  189. package/dist/esm/react-query/eventsDeclineInvitation.d.ts.map +1 -0
  190. package/dist/esm/react-query/eventsDeclineInvitation.js +42 -0
  191. package/dist/esm/react-query/eventsDeclineInvitation.js.map +1 -0
  192. package/dist/esm/react-query/eventsDeleteEvent.d.ts +23 -0
  193. package/dist/esm/react-query/eventsDeleteEvent.d.ts.map +1 -0
  194. package/dist/esm/react-query/eventsDeleteEvent.js +42 -0
  195. package/dist/esm/react-query/eventsDeleteEvent.js.map +1 -0
  196. package/dist/esm/react-query/eventsUpdateEvent.d.ts +23 -0
  197. package/dist/esm/react-query/eventsUpdateEvent.d.ts.map +1 -0
  198. package/dist/esm/react-query/eventsUpdateEvent.js +42 -0
  199. package/dist/esm/react-query/eventsUpdateEvent.js.map +1 -0
  200. package/dist/esm/react-query/index.d.ts +5 -0
  201. package/dist/esm/react-query/index.d.ts.map +1 -1
  202. package/dist/esm/react-query/index.js +5 -0
  203. package/dist/esm/react-query/index.js.map +1 -1
  204. package/dist/esm/sdk/events.d.ts +35 -0
  205. package/dist/esm/sdk/events.d.ts.map +1 -1
  206. package/dist/esm/sdk/events.js +51 -0
  207. package/dist/esm/sdk/events.js.map +1 -1
  208. package/examples/package-lock.json +1 -1
  209. package/jsr.json +1 -1
  210. package/package.json +1 -1
  211. package/src/__tests__/events.test.ts +101 -0
  212. package/src/__tests__/zones.test.ts +16 -4
  213. package/src/funcs/eventsAcceptInvitation.ts +182 -0
  214. package/src/funcs/eventsCreateEvent.ts +169 -0
  215. package/src/funcs/eventsDeclineInvitation.ts +182 -0
  216. package/src/funcs/eventsDeleteEvent.ts +175 -0
  217. package/src/funcs/eventsUpdateEvent.ts +176 -0
  218. package/src/lib/config.ts +3 -3
  219. package/src/mcp-server/mcp-server.ts +1 -1
  220. package/src/mcp-server/server.ts +11 -1
  221. package/src/mcp-server/tools/eventsAcceptInvitation.ts +37 -0
  222. package/src/mcp-server/tools/eventsCreateEvent.ts +37 -0
  223. package/src/mcp-server/tools/eventsDeclineInvitation.ts +37 -0
  224. package/src/mcp-server/tools/eventsDeleteEvent.ts +37 -0
  225. package/src/mcp-server/tools/eventsUpdateEvent.ts +37 -0
  226. package/src/models/operations/acceptinvitation.ts +214 -0
  227. package/src/models/operations/createevent.ts +224 -0
  228. package/src/models/operations/declineinvitation.ts +214 -0
  229. package/src/models/operations/deleteevent.ts +130 -0
  230. package/src/models/operations/index.ts +5 -0
  231. package/src/models/operations/updateevent.ts +247 -0
  232. package/src/react-query/eventsAcceptInvitation.ts +89 -0
  233. package/src/react-query/eventsCreateEvent.ts +88 -0
  234. package/src/react-query/eventsDeclineInvitation.ts +89 -0
  235. package/src/react-query/eventsDeleteEvent.ts +88 -0
  236. package/src/react-query/eventsUpdateEvent.ts +88 -0
  237. package/src/react-query/index.ts +5 -0
  238. 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.6",
34164
- genVersion: "2.664.0",
34165
- userAgent: "speakeasy-sdk/typescript 0.39.6 2.664.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(() => {
@@ -41069,6 +41120,87 @@ var init_checkdownloadcode = __esm(() => {
41069
41120
  })(CheckDownloadCodeResponseBody$ ||= {});
41070
41121
  });
41071
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
+
41072
41204
  // src/models/operations/createinvoice.ts
41073
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$;
41074
41206
  var init_createinvoice = __esm(() => {
@@ -41647,6 +41779,57 @@ var init_createvendorregistration = __esm(() => {
41647
41779
  })(CreateVendorRegistrationRequestBody$ ||= {});
41648
41780
  });
41649
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
+
41650
41833
  // src/models/operations/declinevendorcredential.ts
41651
41834
  var DeclineVendorCredentialRequest$inboundSchema, DeclineVendorCredentialRequest$outboundSchema, DeclineVendorCredentialRequest$;
41652
41835
  var init_declinevendorcredential = __esm(() => {
@@ -41688,6 +41871,32 @@ var init_deletedatarequestfile = __esm(() => {
41688
41871
  })(DeleteDataRequestFileRequest$ ||= {});
41689
41872
  });
41690
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
+
41691
41900
  // src/models/operations/deletevendorcredentialfile.ts
41692
41901
  var DeleteVendorCredentialFileRequest$inboundSchema, DeleteVendorCredentialFileRequest$outboundSchema, DeleteVendorCredentialFileRequest$;
41693
41902
  var init_deletevendorcredentialfile = __esm(() => {
@@ -44403,6 +44612,73 @@ var init_updatedatarequest = __esm(() => {
44403
44612
  })(UpdateDataRequestRequest$ ||= {});
44404
44613
  });
44405
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
+
44406
44682
  // src/models/operations/updateinvoice.ts
44407
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$;
44408
44684
  var init_updateinvoice = __esm(() => {
@@ -45256,6 +45532,7 @@ var init_vendorscanout = __esm(() => {
45256
45532
 
45257
45533
  // src/models/operations/index.ts
45258
45534
  var init_operations = __esm(() => {
45535
+ init_acceptinvitation();
45259
45536
  init_acceptvendorcredential();
45260
45537
  init_adddatarequestfile();
45261
45538
  init_addvendorcredentialfile();
@@ -45264,13 +45541,16 @@ var init_operations = __esm(() => {
45264
45541
  init_changepassword();
45265
45542
  init_changesubscription();
45266
45543
  init_checkdownloadcode();
45544
+ init_createevent();
45267
45545
  init_createinvoice();
45268
45546
  init_createnewvendorcredentialversion();
45269
45547
  init_createorupdatebcr();
45270
45548
  init_createvendorcompany();
45271
45549
  init_createvendorregistration();
45550
+ init_declineinvitation();
45272
45551
  init_declinevendorcredential();
45273
45552
  init_deletedatarequestfile();
45553
+ init_deleteevent();
45274
45554
  init_deletevendorcredentialfile();
45275
45555
  init_deletevendormanagedbycompany();
45276
45556
  init_expeditetimeremaining();
@@ -45320,6 +45600,7 @@ var init_operations = __esm(() => {
45320
45600
  init_senddownloadcode();
45321
45601
  init_submitvendorcredential();
45322
45602
  init_updatedatarequest();
45603
+ init_updateevent();
45323
45604
  init_updateinvoice();
45324
45605
  init_updatesthewebhookendpointwiththegivenid();
45325
45606
  init_updatevendorcredentialdata();
@@ -45855,28 +46136,30 @@ It will update the vendor credential data request attributes`,
45855
46136
  };
45856
46137
  });
45857
46138
 
45858
- // src/funcs/eventsListOrSearchVendorInvitees.ts
45859
- function eventsListOrSearchVendorInvitees(client, request, options) {
46139
+ // src/funcs/eventsAcceptInvitation.ts
46140
+ function eventsAcceptInvitation(client, request, options) {
45860
46141
  return new APIPromise($do5(client, request, options));
45861
46142
  }
45862
46143
  async function $do5(client, request, options) {
45863
- 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");
45864
46145
  if (!parsed.ok) {
45865
- return [haltIterator(parsed), { status: "invalid" }];
46146
+ return [parsed, { status: "invalid" }];
45866
46147
  }
45867
46148
  const payload = parsed.value;
45868
- const body = null;
45869
- const path = pathToFunc("/events/vendor-invitees")();
45870
- const query = queryJoin(encodeFormQuery({
45871
- expand: payload.expand
45872
- }, { explode: false }), encodeFormQuery({
45873
- desc: payload.desc,
45874
- items_per_page: payload.items_per_page,
45875
- page: payload.page,
45876
- search: payload.search,
45877
- sort: payload.sort
45878
- }));
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);
45879
46161
  const headers = new Headers(compactMap({
46162
+ "Content-Type": "application/json",
45880
46163
  Accept: "application/json"
45881
46164
  }));
45882
46165
  const securityInput = await extractSecurity(client._options.security);
@@ -45884,7 +46167,7 @@ async function $do5(client, request, options) {
45884
46167
  const context = {
45885
46168
  options: client._options,
45886
46169
  baseURL: options?.serverURL ?? client._baseURL ?? "",
45887
- operationID: "listOrSearchVendorInvitees",
46170
+ operationID: "acceptInvitation",
45888
46171
  oAuth2Scopes: [],
45889
46172
  resolvedSecurity: requestSecurity,
45890
46173
  securitySource: client._options.security,
@@ -45893,17 +46176,16 @@ async function $do5(client, request, options) {
45893
46176
  };
45894
46177
  const requestRes = client._createRequest(context, {
45895
46178
  security: requestSecurity,
45896
- method: "GET",
46179
+ method: "POST",
45897
46180
  baseURL: options?.serverURL,
45898
46181
  path,
45899
46182
  headers,
45900
- query,
45901
46183
  body,
45902
46184
  userAgent: client._options.userAgent,
45903
46185
  timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
45904
46186
  }, options);
45905
46187
  if (!requestRes.ok) {
45906
- return [haltIterator(requestRes), { status: "invalid" }];
46188
+ return [requestRes, { status: "invalid" }];
45907
46189
  }
45908
46190
  const req = requestRes.value;
45909
46191
  const doResult = await client._do(req, {
@@ -45913,50 +46195,19 @@ async function $do5(client, request, options) {
45913
46195
  retryCodes: context.retryCodes
45914
46196
  });
45915
46197
  if (!doResult.ok) {
45916
- return [haltIterator(doResult), { status: "request-error", request: req }];
46198
+ return [doResult, { status: "request-error", request: req }];
45917
46199
  }
45918
46200
  const response = doResult.value;
45919
46201
  const responseFields = {
45920
46202
  HttpMeta: { Response: response, Request: req }
45921
46203
  };
45922
- const [result, raw] = await match(json(200, ListOrSearchVendorInviteesResponse$inboundSchema, {
45923
- key: "Result"
45924
- }), 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 });
45925
46205
  if (!result.ok) {
45926
- return [haltIterator(result), {
45927
- status: "complete",
45928
- request: req,
45929
- response
45930
- }];
46206
+ return [result, { status: "complete", request: req, response }];
45931
46207
  }
45932
- const nextFunc = (responseData) => {
45933
- const page2 = request?.page ?? 1;
45934
- const nextPage = page2 + 1;
45935
- if (!responseData) {
45936
- return { next: () => null };
45937
- }
45938
- const results = dlv(responseData, "items");
45939
- if (!Array.isArray(results) || !results.length) {
45940
- return { next: () => null };
45941
- }
45942
- const limit = request?.itemsPerPage ?? 0;
45943
- if (results.length < limit) {
45944
- return { next: () => null };
45945
- }
45946
- const nextVal = () => eventsListOrSearchVendorInvitees(client, {
45947
- ...request,
45948
- page: nextPage
45949
- }, options);
45950
- return { next: nextVal, "~next": { page: nextPage } };
45951
- };
45952
- const page = { ...result, ...nextFunc(raw) };
45953
- return [{ ...page, ...createPageIterator(page, (v2) => !v2.ok) }, {
45954
- status: "complete",
45955
- request: req,
45956
- response
45957
- }];
46208
+ return [result, { status: "complete", request: req, response }];
45958
46209
  }
45959
- var init_eventsListOrSearchVendorInvitees = __esm(() => {
46210
+ var init_eventsAcceptInvitation = __esm(() => {
45960
46211
  init_encodings();
45961
46212
  init_matchers();
45962
46213
  init_primitives();
@@ -45966,57 +46217,49 @@ var init_eventsListOrSearchVendorInvitees = __esm(() => {
45966
46217
  init_errors2();
45967
46218
  init_operations();
45968
46219
  init_async();
45969
- init_operations2();
45970
46220
  });
45971
46221
 
45972
- // src/mcp-server/tools/eventsListOrSearchVendorInvitees.ts
45973
- var args5, tool$eventsListOrSearchVendorInvitees;
45974
- var init_eventsListOrSearchVendorInvitees2 = __esm(() => {
45975
- init_eventsListOrSearchVendorInvitees();
46222
+ // src/mcp-server/tools/eventsAcceptInvitation.ts
46223
+ var args5, tool$eventsAcceptInvitation;
46224
+ var init_eventsAcceptInvitation2 = __esm(() => {
46225
+ init_eventsAcceptInvitation();
45976
46226
  init_operations();
45977
46227
  init_tools();
45978
46228
  args5 = {
45979
- request: ListOrSearchVendorInviteesRequest$inboundSchema
46229
+ request: AcceptInvitationRequest$inboundSchema
45980
46230
  };
45981
- tool$eventsListOrSearchVendorInvitees = {
45982
- name: "events-list-or-search-vendor-invitees",
45983
- description: `List or search vendor invitees
45984
-
45985
- List or search vendor invitees.
46231
+ tool$eventsAcceptInvitation = {
46232
+ name: "events-accept-invitation",
46233
+ description: `Accept event invitation
45986
46234
 
45987
- Available \`expand\` scopes are:
45988
-
45989
- - contact.facility
45990
- - contact.system
45991
- - contact.department
45992
- - contact.user`,
46235
+ Accept event invitation`,
45993
46236
  args: args5,
45994
46237
  tool: async (client, args6, ctx) => {
45995
- 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();
45996
46239
  if (!result.ok) {
45997
46240
  return {
45998
46241
  content: [{ type: "text", text: result.error.message }],
45999
46242
  isError: true
46000
46243
  };
46001
46244
  }
46002
- const value = result.value.result;
46245
+ const value = result.value;
46003
46246
  return formatResult(value, apiCall);
46004
46247
  }
46005
46248
  };
46006
46249
  });
46007
46250
 
46008
- // src/funcs/invoicesCreateInvoice.ts
46009
- function invoicesCreateInvoice(client, request, options) {
46251
+ // src/funcs/eventsCreateEvent.ts
46252
+ function eventsCreateEvent(client, request, options) {
46010
46253
  return new APIPromise($do6(client, request, options));
46011
46254
  }
46012
46255
  async function $do6(client, request, options) {
46013
- 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");
46014
46257
  if (!parsed.ok) {
46015
46258
  return [parsed, { status: "invalid" }];
46016
46259
  }
46017
46260
  const payload = parsed.value;
46018
46261
  const body = encodeJSON("body", payload, { explode: true });
46019
- const path = pathToFunc("/invoices")();
46262
+ const path = pathToFunc("/events")();
46020
46263
  const headers = new Headers(compactMap({
46021
46264
  "Content-Type": "application/json",
46022
46265
  Accept: "application/json"
@@ -46026,7 +46269,7 @@ async function $do6(client, request, options) {
46026
46269
  const context = {
46027
46270
  options: client._options,
46028
46271
  baseURL: options?.serverURL ?? client._baseURL ?? "",
46029
- operationID: "createInvoice",
46272
+ operationID: "createEvent",
46030
46273
  oAuth2Scopes: [],
46031
46274
  resolvedSecurity: requestSecurity,
46032
46275
  securitySource: client._options.security,
@@ -46060,13 +46303,13 @@ async function $do6(client, request, options) {
46060
46303
  const responseFields = {
46061
46304
  HttpMeta: { Response: response, Request: req }
46062
46305
  };
46063
- 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 });
46064
46307
  if (!result.ok) {
46065
46308
  return [result, { status: "complete", request: req, response }];
46066
46309
  }
46067
46310
  return [result, { status: "complete", request: req, response }];
46068
46311
  }
46069
- var init_invoicesCreateInvoice = __esm(() => {
46312
+ var init_eventsCreateEvent = __esm(() => {
46070
46313
  init_encodings();
46071
46314
  init_matchers();
46072
46315
  init_primitives();
@@ -46078,32 +46321,23 @@ var init_invoicesCreateInvoice = __esm(() => {
46078
46321
  init_async();
46079
46322
  });
46080
46323
 
46081
- // src/mcp-server/tools/invoicesCreateInvoice.ts
46082
- var args6, tool$invoicesCreateInvoice;
46083
- var init_invoicesCreateInvoice2 = __esm(() => {
46084
- init_invoicesCreateInvoice();
46324
+ // src/mcp-server/tools/eventsCreateEvent.ts
46325
+ var args6, tool$eventsCreateEvent;
46326
+ var init_eventsCreateEvent2 = __esm(() => {
46327
+ init_eventsCreateEvent();
46085
46328
  init_operations();
46086
46329
  init_tools();
46087
46330
  args6 = {
46088
- request: CreateInvoiceRequestBody$inboundSchema
46331
+ request: CreateEventRequestBody$inboundSchema
46089
46332
  };
46090
- tool$invoicesCreateInvoice = {
46091
- name: "invoices-create-invoice",
46092
- description: `Create invoice
46333
+ tool$eventsCreateEvent = {
46334
+ name: "events-create-event",
46335
+ description: `Create a new event for calendar
46093
46336
 
46094
- It will create an invoice based on the lines passed as parameter.
46095
- - 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:
46096
- 1. for the 'vendor credential' and 'expedited credential' payment_handlers this should be a JSON
46097
- with a key 'vendor_credential_id' and value as integer
46098
- 2. for the 'credentialing subscription' payment handler this should be a JSON
46099
- with the following keys and values:
46100
- - old_vendor_type_id: required, must be nil or integer
46101
- - new_vendor_type_id: required, must be integer
46102
- - old_facility_ids: required, must be an array of integers (can be empty)
46103
- - new_facility_ids: required, must be array of integers`,
46337
+ Create a new event for calendar`,
46104
46338
  args: args6,
46105
46339
  tool: async (client, args7, ctx) => {
46106
- 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();
46107
46341
  if (!result.ok) {
46108
46342
  return {
46109
46343
  content: [{ type: "text", text: result.error.message }],
@@ -46116,24 +46350,28 @@ It will create an invoice based on the lines passed as parameter.
46116
46350
  };
46117
46351
  });
46118
46352
 
46119
- // src/funcs/invoicesMakePayment.ts
46120
- function invoicesMakePayment(client, request, options) {
46353
+ // src/funcs/eventsDeclineInvitation.ts
46354
+ function eventsDeclineInvitation(client, request, options) {
46121
46355
  return new APIPromise($do7(client, request, options));
46122
46356
  }
46123
46357
  async function $do7(client, request, options) {
46124
- 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");
46125
46359
  if (!parsed.ok) {
46126
46360
  return [parsed, { status: "invalid" }];
46127
46361
  }
46128
46362
  const payload = parsed.value;
46129
46363
  const body = encodeJSON("body", payload.RequestBody, { explode: true });
46130
46364
  const pathParams = {
46365
+ event_id: encodeSimple("event_id", payload.event_id, {
46366
+ explode: false,
46367
+ charEncoding: "percent"
46368
+ }),
46131
46369
  id: encodeSimple("id", payload.id, {
46132
46370
  explode: false,
46133
46371
  charEncoding: "percent"
46134
46372
  })
46135
46373
  };
46136
- const path = pathToFunc("/invoices/{id}/payment")(pathParams);
46374
+ const path = pathToFunc("/events/{event_id}/invites/{id}/declination")(pathParams);
46137
46375
  const headers = new Headers(compactMap({
46138
46376
  "Content-Type": "application/json",
46139
46377
  Accept: "application/json"
@@ -46143,7 +46381,7 @@ async function $do7(client, request, options) {
46143
46381
  const context = {
46144
46382
  options: client._options,
46145
46383
  baseURL: options?.serverURL ?? client._baseURL ?? "",
46146
- operationID: "makePayment",
46384
+ operationID: "declineInvitation",
46147
46385
  oAuth2Scopes: [],
46148
46386
  resolvedSecurity: requestSecurity,
46149
46387
  securitySource: client._options.security,
@@ -46177,13 +46415,13 @@ async function $do7(client, request, options) {
46177
46415
  const responseFields = {
46178
46416
  HttpMeta: { Response: response, Request: req }
46179
46417
  };
46180
- 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 });
46181
46419
  if (!result.ok) {
46182
46420
  return [result, { status: "complete", request: req, response }];
46183
46421
  }
46184
46422
  return [result, { status: "complete", request: req, response }];
46185
46423
  }
46186
- var init_invoicesMakePayment = __esm(() => {
46424
+ var init_eventsDeclineInvitation = __esm(() => {
46187
46425
  init_encodings();
46188
46426
  init_matchers();
46189
46427
  init_primitives();
@@ -46195,23 +46433,23 @@ var init_invoicesMakePayment = __esm(() => {
46195
46433
  init_async();
46196
46434
  });
46197
46435
 
46198
- // src/mcp-server/tools/invoicesMakePayment.ts
46199
- var args7, tool$invoicesMakePayment;
46200
- var init_invoicesMakePayment2 = __esm(() => {
46201
- init_invoicesMakePayment();
46436
+ // src/mcp-server/tools/eventsDeclineInvitation.ts
46437
+ var args7, tool$eventsDeclineInvitation;
46438
+ var init_eventsDeclineInvitation2 = __esm(() => {
46439
+ init_eventsDeclineInvitation();
46202
46440
  init_operations();
46203
46441
  init_tools();
46204
46442
  args7 = {
46205
- request: MakePaymentRequest$inboundSchema
46443
+ request: DeclineInvitationRequest$inboundSchema
46206
46444
  };
46207
- tool$invoicesMakePayment = {
46208
- name: "invoices-make-payment",
46209
- description: `Make payment for the invoice
46445
+ tool$eventsDeclineInvitation = {
46446
+ name: "events-decline-invitation",
46447
+ description: `Decline event invitation
46210
46448
 
46211
- Make payment for the invoice`,
46449
+ Decline event invitation`,
46212
46450
  args: args7,
46213
46451
  tool: async (client, args8, ctx) => {
46214
- 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();
46215
46453
  if (!result.ok) {
46216
46454
  return {
46217
46455
  content: [{ type: "text", text: result.error.message }],
@@ -46224,26 +46462,25 @@ Make payment for the invoice`,
46224
46462
  };
46225
46463
  });
46226
46464
 
46227
- // src/funcs/invoicesUpdateInvoice.ts
46228
- function invoicesUpdateInvoice(client, request, options) {
46465
+ // src/funcs/eventsDeleteEvent.ts
46466
+ function eventsDeleteEvent(client, request, options) {
46229
46467
  return new APIPromise($do8(client, request, options));
46230
46468
  }
46231
46469
  async function $do8(client, request, options) {
46232
- 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");
46233
46471
  if (!parsed.ok) {
46234
46472
  return [parsed, { status: "invalid" }];
46235
46473
  }
46236
46474
  const payload = parsed.value;
46237
- const body = encodeJSON("body", payload.RequestBody, { explode: true });
46475
+ const body = null;
46238
46476
  const pathParams = {
46239
46477
  id: encodeSimple("id", payload.id, {
46240
46478
  explode: false,
46241
46479
  charEncoding: "percent"
46242
46480
  })
46243
46481
  };
46244
- const path = pathToFunc("/invoices/{id}")(pathParams);
46482
+ const path = pathToFunc("/events/{id}")(pathParams);
46245
46483
  const headers = new Headers(compactMap({
46246
- "Content-Type": "application/json",
46247
46484
  Accept: "application/json"
46248
46485
  }));
46249
46486
  const securityInput = await extractSecurity(client._options.security);
@@ -46251,7 +46488,7 @@ async function $do8(client, request, options) {
46251
46488
  const context = {
46252
46489
  options: client._options,
46253
46490
  baseURL: options?.serverURL ?? client._baseURL ?? "",
46254
- operationID: "updateInvoice",
46491
+ operationID: "deleteEvent",
46255
46492
  oAuth2Scopes: [],
46256
46493
  resolvedSecurity: requestSecurity,
46257
46494
  securitySource: client._options.security,
@@ -46260,7 +46497,7 @@ async function $do8(client, request, options) {
46260
46497
  };
46261
46498
  const requestRes = client._createRequest(context, {
46262
46499
  security: requestSecurity,
46263
- method: "PUT",
46500
+ method: "DELETE",
46264
46501
  baseURL: options?.serverURL,
46265
46502
  path,
46266
46503
  headers,
@@ -46285,14 +46522,13 @@ async function $do8(client, request, options) {
46285
46522
  const responseFields = {
46286
46523
  HttpMeta: { Response: response, Request: req }
46287
46524
  };
46288
- 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 });
46289
46526
  if (!result.ok) {
46290
46527
  return [result, { status: "complete", request: req, response }];
46291
46528
  }
46292
46529
  return [result, { status: "complete", request: req, response }];
46293
46530
  }
46294
- var init_invoicesUpdateInvoice = __esm(() => {
46295
- init_esm();
46531
+ var init_eventsDeleteEvent = __esm(() => {
46296
46532
  init_encodings();
46297
46533
  init_matchers();
46298
46534
  init_primitives();
@@ -46304,20 +46540,606 @@ var init_invoicesUpdateInvoice = __esm(() => {
46304
46540
  init_async();
46305
46541
  });
46306
46542
 
46307
- // src/mcp-server/tools/invoicesUpdateInvoice.ts
46308
- var args8, tool$invoicesUpdateInvoice;
46309
- var init_invoicesUpdateInvoice2 = __esm(() => {
46310
- init_invoicesUpdateInvoice();
46543
+ // src/mcp-server/tools/eventsDeleteEvent.ts
46544
+ var args8, tool$eventsDeleteEvent;
46545
+ var init_eventsDeleteEvent2 = __esm(() => {
46546
+ init_eventsDeleteEvent();
46311
46547
  init_operations();
46312
46548
  init_tools();
46313
46549
  args8 = {
46314
- request: UpdateInvoiceRequest$inboundSchema
46550
+ request: DeleteEventRequest$inboundSchema
46315
46551
  };
46316
- tool$invoicesUpdateInvoice = {
46317
- name: "invoices-update-invoice",
46318
- description: `Update invoice
46552
+ tool$eventsDeleteEvent = {
46553
+ name: "events-delete-event",
46554
+ description: `Delete event for calendar
46319
46555
 
46320
- It will replace all the lines with the lines passed as parameter
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
47137
+ };
47138
+ tool$invoicesUpdateInvoice = {
47139
+ name: "invoices-update-invoice",
47140
+ description: `Update invoice
47141
+
47142
+ It will replace all the lines with the lines passed as parameter
46321
47143
  - 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:
46322
47144
  1. for the 'vendor credential' and 'expedited credential' payment_handlers this should be a JSON
46323
47145
  with a key 'vendor_credential_id' and value as integer
@@ -46327,9 +47149,9 @@ It will replace all the lines with the lines passed as parameter
46327
47149
  - new_vendor_type_id: required, must be integer
46328
47150
  - old_facility_ids: required, must be an array of integers (can be empty)
46329
47151
  - new_facility_ids: required, must be array of integers`,
46330
- args: args8,
46331
- tool: async (client, args9, ctx) => {
46332
- 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();
46333
47155
  if (!result.ok) {
46334
47156
  return {
46335
47157
  content: [{ type: "text", text: result.error.message }],
@@ -46344,9 +47166,9 @@ It will replace all the lines with the lines passed as parameter
46344
47166
 
46345
47167
  // src/funcs/organizationsGetFacility.ts
46346
47168
  function organizationsGetFacility(client, request, options) {
46347
- return new APIPromise($do9(client, request, options));
47169
+ return new APIPromise($do14(client, request, options));
46348
47170
  }
46349
- async function $do9(client, request, options) {
47171
+ async function $do14(client, request, options) {
46350
47172
  const parsed = safeParse(request, (value) => GetFacilityRequest$outboundSchema.parse(value), "Input validation failed");
46351
47173
  if (!parsed.ok) {
46352
47174
  return [parsed, { status: "invalid" }];
@@ -46422,12 +47244,12 @@ var init_organizationsGetFacility = __esm(() => {
46422
47244
  });
46423
47245
 
46424
47246
  // src/mcp-server/tools/organizationsGetFacility.ts
46425
- var args9, tool$organizationsGetFacility;
47247
+ var args14, tool$organizationsGetFacility;
46426
47248
  var init_organizationsGetFacility2 = __esm(() => {
46427
47249
  init_organizationsGetFacility();
46428
47250
  init_operations();
46429
47251
  init_tools();
46430
- args9 = {
47252
+ args14 = {
46431
47253
  request: GetFacilityRequest$inboundSchema
46432
47254
  };
46433
47255
  tool$organizationsGetFacility = {
@@ -46435,9 +47257,9 @@ var init_organizationsGetFacility2 = __esm(() => {
46435
47257
  description: `Get facility
46436
47258
 
46437
47259
  Retrieve an individual facility.`,
46438
- args: args9,
46439
- tool: async (client, args10, ctx) => {
46440
- 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();
46441
47263
  if (!result.ok) {
46442
47264
  return {
46443
47265
  content: [{ type: "text", text: result.error.message }],
@@ -46452,9 +47274,9 @@ Retrieve an individual facility.`,
46452
47274
 
46453
47275
  // src/funcs/organizationsListOrSearchDepartmentContacts.ts
46454
47276
  function organizationsListOrSearchDepartmentContacts(client, request, options) {
46455
- return new APIPromise($do10(client, request, options));
47277
+ return new APIPromise($do15(client, request, options));
46456
47278
  }
46457
- async function $do10(client, request, options) {
47279
+ async function $do15(client, request, options) {
46458
47280
  const parsed = safeParse(request, (value) => ListOrSearchDepartmentContactsRequest$outboundSchema.parse(value), "Input validation failed");
46459
47281
  if (!parsed.ok) {
46460
47282
  return [haltIterator(parsed), { status: "invalid" }];
@@ -46569,12 +47391,12 @@ var init_organizationsListOrSearchDepartmentContacts = __esm(() => {
46569
47391
  });
46570
47392
 
46571
47393
  // src/mcp-server/tools/organizationsListOrSearchDepartmentContacts.ts
46572
- var args10, tool$organizationsListOrSearchDepartmentContacts;
47394
+ var args15, tool$organizationsListOrSearchDepartmentContacts;
46573
47395
  var init_organizationsListOrSearchDepartmentContacts2 = __esm(() => {
46574
47396
  init_organizationsListOrSearchDepartmentContacts();
46575
47397
  init_operations();
46576
47398
  init_tools();
46577
- args10 = {
47399
+ args15 = {
46578
47400
  request: ListOrSearchDepartmentContactsRequest$inboundSchema
46579
47401
  };
46580
47402
  tool$organizationsListOrSearchDepartmentContacts = {
@@ -46587,9 +47409,9 @@ Available \`expand\` scopes are:
46587
47409
 
46588
47410
  - department_membership.contact
46589
47411
  - department_membership.department`,
46590
- args: args10,
46591
- tool: async (client, args11, ctx) => {
46592
- 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();
46593
47415
  if (!result.ok) {
46594
47416
  return {
46595
47417
  content: [{ type: "text", text: result.error.message }],
@@ -46604,9 +47426,9 @@ Available \`expand\` scopes are:
46604
47426
 
46605
47427
  // src/funcs/organizationsListOrSearchDepartments.ts
46606
47428
  function organizationsListOrSearchDepartments(client, request, options) {
46607
- return new APIPromise($do11(client, request, options));
47429
+ return new APIPromise($do16(client, request, options));
46608
47430
  }
46609
- async function $do11(client, request, options) {
47431
+ async function $do16(client, request, options) {
46610
47432
  const parsed = safeParse(request, (value) => ListOrSearchDepartmentsRequest$outboundSchema.parse(value), "Input validation failed");
46611
47433
  if (!parsed.ok) {
46612
47434
  return [haltIterator(parsed), { status: "invalid" }];
@@ -46721,12 +47543,12 @@ var init_organizationsListOrSearchDepartments = __esm(() => {
46721
47543
  });
46722
47544
 
46723
47545
  // src/mcp-server/tools/organizationsListOrSearchDepartments.ts
46724
- var args11, tool$organizationsListOrSearchDepartments;
47546
+ var args16, tool$organizationsListOrSearchDepartments;
46725
47547
  var init_organizationsListOrSearchDepartments2 = __esm(() => {
46726
47548
  init_organizationsListOrSearchDepartments();
46727
47549
  init_operations();
46728
47550
  init_tools();
46729
- args11 = {
47551
+ args16 = {
46730
47552
  request: ListOrSearchDepartmentsRequest$inboundSchema
46731
47553
  };
46732
47554
  tool$organizationsListOrSearchDepartments = {
@@ -46734,9 +47556,9 @@ var init_organizationsListOrSearchDepartments2 = __esm(() => {
46734
47556
  description: `List or search departments
46735
47557
 
46736
47558
  List or search departments.`,
46737
- args: args11,
46738
- tool: async (client, args12, ctx) => {
46739
- 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();
46740
47562
  if (!result.ok) {
46741
47563
  return {
46742
47564
  content: [{ type: "text", text: result.error.message }],
@@ -46751,9 +47573,9 @@ List or search departments.`,
46751
47573
 
46752
47574
  // src/funcs/organizationsListOrSearchFacilities.ts
46753
47575
  function organizationsListOrSearchFacilities(client, request, options) {
46754
- return new APIPromise($do12(client, request, options));
47576
+ return new APIPromise($do17(client, request, options));
46755
47577
  }
46756
- async function $do12(client, request, options) {
47578
+ async function $do17(client, request, options) {
46757
47579
  const parsed = safeParse(request, (value) => ListOrSearchFacilitiesRequest$outboundSchema.parse(value), "Input validation failed");
46758
47580
  if (!parsed.ok) {
46759
47581
  return [haltIterator(parsed), { status: "invalid" }];
@@ -46869,12 +47691,12 @@ var init_organizationsListOrSearchFacilities = __esm(() => {
46869
47691
  });
46870
47692
 
46871
47693
  // src/mcp-server/tools/organizationsListOrSearchFacilities.ts
46872
- var args12, tool$organizationsListOrSearchFacilities;
47694
+ var args17, tool$organizationsListOrSearchFacilities;
46873
47695
  var init_organizationsListOrSearchFacilities2 = __esm(() => {
46874
47696
  init_organizationsListOrSearchFacilities();
46875
47697
  init_operations();
46876
47698
  init_tools();
46877
- args12 = {
47699
+ args17 = {
46878
47700
  request: ListOrSearchFacilitiesRequest$inboundSchema
46879
47701
  };
46880
47702
  tool$organizationsListOrSearchFacilities = {
@@ -46895,9 +47717,9 @@ Available \`expand\` scopes are:
46895
47717
  - facility.vendor_policy
46896
47718
  - facility.visitor_policy
46897
47719
  - facility.workflow`,
46898
- args: args12,
46899
- tool: async (client, args13, ctx) => {
46900
- 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();
46901
47723
  if (!result.ok) {
46902
47724
  return {
46903
47725
  content: [{ type: "text", text: result.error.message }],
@@ -46912,9 +47734,9 @@ Available \`expand\` scopes are:
46912
47734
 
46913
47735
  // src/funcs/supportArticlesGetSupportArticle.ts
46914
47736
  function supportArticlesGetSupportArticle(client, request, options) {
46915
- return new APIPromise($do13(client, request, options));
47737
+ return new APIPromise($do18(client, request, options));
46916
47738
  }
46917
- async function $do13(client, request, options) {
47739
+ async function $do18(client, request, options) {
46918
47740
  const parsed = safeParse(request, (value) => GetSupportArticleRequest$outboundSchema.parse(value), "Input validation failed");
46919
47741
  if (!parsed.ok) {
46920
47742
  return [parsed, { status: "invalid" }];
@@ -46994,12 +47816,12 @@ var init_supportArticlesGetSupportArticle = __esm(() => {
46994
47816
  });
46995
47817
 
46996
47818
  // src/mcp-server/tools/supportArticlesGetSupportArticle.ts
46997
- var args13, tool$supportArticlesGetSupportArticle;
47819
+ var args18, tool$supportArticlesGetSupportArticle;
46998
47820
  var init_supportArticlesGetSupportArticle2 = __esm(() => {
46999
47821
  init_supportArticlesGetSupportArticle();
47000
47822
  init_operations();
47001
47823
  init_tools();
47002
- args13 = {
47824
+ args18 = {
47003
47825
  request: GetSupportArticleRequest$inboundSchema
47004
47826
  };
47005
47827
  tool$supportArticlesGetSupportArticle = {
@@ -47014,9 +47836,9 @@ Available \`expand\` scopes are:
47014
47836
  - support_article.published
47015
47837
  - support_article.notes
47016
47838
  - support_article.support_category`,
47017
- args: args13,
47018
- tool: async (client, args14, ctx) => {
47019
- 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();
47020
47842
  if (!result.ok) {
47021
47843
  return {
47022
47844
  content: [{ type: "text", text: result.error.message }],
@@ -47031,9 +47853,9 @@ Available \`expand\` scopes are:
47031
47853
 
47032
47854
  // src/funcs/supportArticlesListOrSearchSupportArticles.ts
47033
47855
  function supportArticlesListOrSearchSupportArticles(client, request, options) {
47034
- return new APIPromise($do14(client, request, options));
47856
+ return new APIPromise($do19(client, request, options));
47035
47857
  }
47036
- async function $do14(client, request, options) {
47858
+ async function $do19(client, request, options) {
47037
47859
  const parsed = safeParse(request, (value) => ListOrSearchSupportArticlesRequest$outboundSchema.parse(value), "Input validation failed");
47038
47860
  if (!parsed.ok) {
47039
47861
  return [haltIterator(parsed), { status: "invalid" }];
@@ -47143,12 +47965,12 @@ var init_supportArticlesListOrSearchSupportArticles = __esm(() => {
47143
47965
  });
47144
47966
 
47145
47967
  // src/mcp-server/tools/supportArticlesListOrSearchSupportArticles.ts
47146
- var args14, tool$supportArticlesListOrSearchSupportArticles;
47968
+ var args19, tool$supportArticlesListOrSearchSupportArticles;
47147
47969
  var init_supportArticlesListOrSearchSupportArticles2 = __esm(() => {
47148
47970
  init_supportArticlesListOrSearchSupportArticles();
47149
47971
  init_operations();
47150
47972
  init_tools();
47151
- args14 = {
47973
+ args19 = {
47152
47974
  request: ListOrSearchSupportArticlesRequest$inboundSchema
47153
47975
  };
47154
47976
  tool$supportArticlesListOrSearchSupportArticles = {
@@ -47156,9 +47978,9 @@ var init_supportArticlesListOrSearchSupportArticles2 = __esm(() => {
47156
47978
  description: `List or search support articles
47157
47979
 
47158
47980
  List or search support articles for FAQ.`,
47159
- args: args14,
47160
- tool: async (client, args15, ctx) => {
47161
- 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();
47162
47984
  if (!result.ok) {
47163
47985
  return {
47164
47986
  content: [{ type: "text", text: result.error.message }],
@@ -47173,9 +47995,9 @@ List or search support articles for FAQ.`,
47173
47995
 
47174
47996
  // src/funcs/systemsListSystems.ts
47175
47997
  function systemsListSystems(client, request, options) {
47176
- return new APIPromise($do15(client, request, options));
47998
+ return new APIPromise($do20(client, request, options));
47177
47999
  }
47178
- async function $do15(client, request, options) {
48000
+ async function $do20(client, request, options) {
47179
48001
  const parsed = safeParse(request, (value) => ListSystemsRequest$outboundSchema.parse(value), "Input validation failed");
47180
48002
  if (!parsed.ok) {
47181
48003
  return [haltIterator(parsed), { status: "invalid" }];
@@ -47286,12 +48108,12 @@ var init_systemsListSystems = __esm(() => {
47286
48108
  });
47287
48109
 
47288
48110
  // src/mcp-server/tools/systemsListSystems.ts
47289
- var args15, tool$systemsListSystems;
48111
+ var args20, tool$systemsListSystems;
47290
48112
  var init_systemsListSystems2 = __esm(() => {
47291
48113
  init_systemsListSystems();
47292
48114
  init_operations();
47293
48115
  init_tools();
47294
- args15 = {
48116
+ args20 = {
47295
48117
  request: ListSystemsRequest$inboundSchema
47296
48118
  };
47297
48119
  tool$systemsListSystems = {
@@ -47303,9 +48125,9 @@ List or search systems.
47303
48125
  Available \`expand\` scopes are:
47304
48126
 
47305
48127
  - system.facilities`,
47306
- args: args15,
47307
- tool: async (client, args16, ctx) => {
47308
- 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();
47309
48131
  if (!result.ok) {
47310
48132
  return {
47311
48133
  content: [{ type: "text", text: result.error.message }],
@@ -47320,9 +48142,9 @@ Available \`expand\` scopes are:
47320
48142
 
47321
48143
  // src/funcs/usersChangePassword.ts
47322
48144
  function usersChangePassword(client, request, options) {
47323
- return new APIPromise($do16(client, request, options));
48145
+ return new APIPromise($do21(client, request, options));
47324
48146
  }
47325
- async function $do16(client, request, options) {
48147
+ async function $do21(client, request, options) {
47326
48148
  const parsed = safeParse(request, (value) => ChangePasswordRequest$outboundSchema.parse(value), "Input validation failed");
47327
48149
  if (!parsed.ok) {
47328
48150
  return [parsed, { status: "invalid" }];
@@ -47398,12 +48220,12 @@ var init_usersChangePassword = __esm(() => {
47398
48220
  });
47399
48221
 
47400
48222
  // src/mcp-server/tools/usersChangePassword.ts
47401
- var args16, tool$usersChangePassword;
48223
+ var args21, tool$usersChangePassword;
47402
48224
  var init_usersChangePassword2 = __esm(() => {
47403
48225
  init_usersChangePassword();
47404
48226
  init_operations();
47405
48227
  init_tools();
47406
- args16 = {
48228
+ args21 = {
47407
48229
  request: ChangePasswordRequest$inboundSchema
47408
48230
  };
47409
48231
  tool$usersChangePassword = {
@@ -47411,9 +48233,9 @@ var init_usersChangePassword2 = __esm(() => {
47411
48233
  description: `Change password
47412
48234
 
47413
48235
  Change the user's password to the new passed as parameter`,
47414
- args: args16,
47415
- tool: async (client, args17, ctx) => {
47416
- 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();
47417
48239
  if (!result.ok) {
47418
48240
  return {
47419
48241
  content: [{ type: "text", text: result.error.message }],
@@ -47428,9 +48250,9 @@ Change the user's password to the new passed as parameter`,
47428
48250
 
47429
48251
  // src/funcs/usersGetCurrentUser.ts
47430
48252
  function usersGetCurrentUser(client, options) {
47431
- return new APIPromise($do17(client, options));
48253
+ return new APIPromise($do22(client, options));
47432
48254
  }
47433
- async function $do17(client, options) {
48255
+ async function $do22(client, options) {
47434
48256
  const path = pathToFunc("/users/me")();
47435
48257
  const headers = new Headers(compactMap({
47436
48258
  Accept: "application/json"
@@ -47515,9 +48337,9 @@ Returns a user object for the user represented by the authorization token`,
47515
48337
 
47516
48338
  // src/funcs/usersGetUserById.ts
47517
48339
  function usersGetUserById(client, request, options) {
47518
- return new APIPromise($do18(client, request, options));
48340
+ return new APIPromise($do23(client, request, options));
47519
48341
  }
47520
- async function $do18(client, request, options) {
48342
+ async function $do23(client, request, options) {
47521
48343
  const parsed = safeParse(request, (value) => GetUserByIdRequest$outboundSchema.parse(value), "Input validation failed");
47522
48344
  if (!parsed.ok) {
47523
48345
  return [parsed, { status: "invalid" }];
@@ -47593,12 +48415,12 @@ var init_usersGetUserById = __esm(() => {
47593
48415
  });
47594
48416
 
47595
48417
  // src/mcp-server/tools/usersGetUserById.ts
47596
- var args17, tool$usersGetUserById;
48418
+ var args22, tool$usersGetUserById;
47597
48419
  var init_usersGetUserById2 = __esm(() => {
47598
48420
  init_usersGetUserById();
47599
48421
  init_operations();
47600
48422
  init_tools();
47601
- args17 = {
48423
+ args22 = {
47602
48424
  request: GetUserByIdRequest$inboundSchema
47603
48425
  };
47604
48426
  tool$usersGetUserById = {
@@ -47606,9 +48428,9 @@ var init_usersGetUserById2 = __esm(() => {
47606
48428
  description: `Get user by id
47607
48429
 
47608
48430
  Returns a user object for the user represented by the identifier in the path.`,
47609
- args: args17,
47610
- tool: async (client, args18, ctx) => {
47611
- 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();
47612
48434
  if (!result.ok) {
47613
48435
  return {
47614
48436
  content: [{ type: "text", text: result.error.message }],
@@ -47623,9 +48445,9 @@ Returns a user object for the user represented by the identifier in the path.`,
47623
48445
 
47624
48446
  // src/funcs/usersMagiclink.ts
47625
48447
  function usersMagiclink(client, request, options) {
47626
- return new APIPromise($do19(client, request, options));
48448
+ return new APIPromise($do24(client, request, options));
47627
48449
  }
47628
- async function $do19(client, request, options) {
48450
+ async function $do24(client, request, options) {
47629
48451
  const parsed = safeParse(request, (value) => MagiclinkRequestBody$outboundSchema.parse(value), "Input validation failed");
47630
48452
  if (!parsed.ok) {
47631
48453
  return [parsed, { status: "invalid" }];
@@ -47695,12 +48517,12 @@ var init_usersMagiclink = __esm(() => {
47695
48517
  });
47696
48518
 
47697
48519
  // src/mcp-server/tools/usersMagiclink.ts
47698
- var args18, tool$usersMagiclink;
48520
+ var args23, tool$usersMagiclink;
47699
48521
  var init_usersMagiclink2 = __esm(() => {
47700
48522
  init_usersMagiclink();
47701
48523
  init_operations();
47702
48524
  init_tools();
47703
- args18 = {
48525
+ args23 = {
47704
48526
  request: MagiclinkRequestBody$inboundSchema
47705
48527
  };
47706
48528
  tool$usersMagiclink = {
@@ -47708,9 +48530,9 @@ var init_usersMagiclink2 = __esm(() => {
47708
48530
  description: `Magic link
47709
48531
 
47710
48532
  It sends an email with a magic link to allow the user to log in.`,
47711
- args: args18,
47712
- tool: async (client, args19, ctx) => {
47713
- 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();
47714
48536
  if (!result.ok) {
47715
48537
  return {
47716
48538
  content: [{ type: "text", text: result.error.message }],
@@ -47725,9 +48547,9 @@ It sends an email with a magic link to allow the user to log in.`,
47725
48547
 
47726
48548
  // src/funcs/usersPassword.ts
47727
48549
  function usersPassword(client, request, options) {
47728
- return new APIPromise($do20(client, request, options));
48550
+ return new APIPromise($do25(client, request, options));
47729
48551
  }
47730
- async function $do20(client, request, options) {
48552
+ async function $do25(client, request, options) {
47731
48553
  const parsed = safeParse(request, (value) => PasswordRequestBody$outboundSchema.parse(value), "Input validation failed");
47732
48554
  if (!parsed.ok) {
47733
48555
  return [parsed, { status: "invalid" }];
@@ -47797,12 +48619,12 @@ var init_usersPassword = __esm(() => {
47797
48619
  });
47798
48620
 
47799
48621
  // src/mcp-server/tools/usersPassword.ts
47800
- var args19, tool$usersPassword;
48622
+ var args24, tool$usersPassword;
47801
48623
  var init_usersPassword2 = __esm(() => {
47802
48624
  init_usersPassword();
47803
48625
  init_operations();
47804
48626
  init_tools();
47805
- args19 = {
48627
+ args24 = {
47806
48628
  request: PasswordRequestBody$inboundSchema
47807
48629
  };
47808
48630
  tool$usersPassword = {
@@ -47811,9 +48633,9 @@ var init_usersPassword2 = __esm(() => {
47811
48633
 
47812
48634
  Resets the a user's password using a password_reset_id that was sent to them via email.
47813
48635
  See /users/passwordresetrequest to initiate a password reset flow.`,
47814
- args: args19,
47815
- tool: async (client, args20, ctx) => {
47816
- 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();
47817
48639
  if (!result.ok) {
47818
48640
  return {
47819
48641
  content: [{ type: "text", text: result.error.message }],
@@ -47828,9 +48650,9 @@ See /users/passwordresetrequest to initiate a password reset flow.`,
47828
48650
 
47829
48651
  // src/funcs/usersPasswordResetRequest.ts
47830
48652
  function usersPasswordResetRequest(client, request, options) {
47831
- return new APIPromise($do21(client, request, options));
48653
+ return new APIPromise($do26(client, request, options));
47832
48654
  }
47833
- async function $do21(client, request, options) {
48655
+ async function $do26(client, request, options) {
47834
48656
  const parsed = safeParse(request, (value) => PasswordResetRequestRequestBody$outboundSchema.parse(value), "Input validation failed");
47835
48657
  if (!parsed.ok) {
47836
48658
  return [parsed, { status: "invalid" }];
@@ -47900,12 +48722,12 @@ var init_usersPasswordResetRequest = __esm(() => {
47900
48722
  });
47901
48723
 
47902
48724
  // src/mcp-server/tools/usersPasswordResetRequest.ts
47903
- var args20, tool$usersPasswordResetRequest;
48725
+ var args25, tool$usersPasswordResetRequest;
47904
48726
  var init_usersPasswordResetRequest2 = __esm(() => {
47905
48727
  init_usersPasswordResetRequest();
47906
48728
  init_operations();
47907
48729
  init_tools();
47908
- args20 = {
48730
+ args25 = {
47909
48731
  request: PasswordResetRequestRequestBody$inboundSchema
47910
48732
  };
47911
48733
  tool$usersPasswordResetRequest = {
@@ -47913,9 +48735,9 @@ var init_usersPasswordResetRequest2 = __esm(() => {
47913
48735
  description: `Password reset request
47914
48736
 
47915
48737
  It sends an email with a link for resetting a user's password.`,
47916
- args: args20,
47917
- tool: async (client, args21, ctx) => {
47918
- 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();
47919
48741
  if (!result.ok) {
47920
48742
  return {
47921
48743
  content: [{ type: "text", text: result.error.message }],
@@ -47930,9 +48752,9 @@ It sends an email with a link for resetting a user's password.`,
47930
48752
 
47931
48753
  // src/funcs/usersPostAuthenticate.ts
47932
48754
  function usersPostAuthenticate(client, request, options) {
47933
- return new APIPromise($do22(client, request, options));
48755
+ return new APIPromise($do27(client, request, options));
47934
48756
  }
47935
- async function $do22(client, request, options) {
48757
+ async function $do27(client, request, options) {
47936
48758
  const parsed = safeParse(request, (value) => PostAuthenticateRequestBody$outboundSchema.parse(value), "Input validation failed");
47937
48759
  if (!parsed.ok) {
47938
48760
  return [parsed, { status: "invalid" }];
@@ -47998,12 +48820,12 @@ var init_usersPostAuthenticate = __esm(() => {
47998
48820
  });
47999
48821
 
48000
48822
  // src/mcp-server/tools/usersPostAuthenticate.ts
48001
- var args21, tool$usersPostAuthenticate;
48823
+ var args26, tool$usersPostAuthenticate;
48002
48824
  var init_usersPostAuthenticate2 = __esm(() => {
48003
48825
  init_usersPostAuthenticate();
48004
48826
  init_operations();
48005
48827
  init_tools();
48006
- args21 = {
48828
+ args26 = {
48007
48829
  request: PostAuthenticateRequestBody$inboundSchema
48008
48830
  };
48009
48831
  tool$usersPostAuthenticate = {
@@ -48041,9 +48863,9 @@ Requires: \`saml_login\`
48041
48863
  3. Site redirects to your selected \`return_url\`
48042
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
48043
48865
  5. Fetch the user object from \`/users/me\` using the token`,
48044
- args: args21,
48045
- tool: async (client, args22, ctx) => {
48046
- 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();
48047
48869
  if (!result.ok) {
48048
48870
  return {
48049
48871
  content: [{ type: "text", text: result.error.message }],
@@ -48058,9 +48880,9 @@ Requires: \`saml_login\`
48058
48880
 
48059
48881
  // src/funcs/usersRotateApiKey.ts
48060
48882
  function usersRotateApiKey(client, options) {
48061
- return new APIPromise($do23(client, options));
48883
+ return new APIPromise($do28(client, options));
48062
48884
  }
48063
- async function $do23(client, options) {
48885
+ async function $do28(client, options) {
48064
48886
  const path = pathToFunc("/users/api_key_rotator")();
48065
48887
  const headers = new Headers(compactMap({
48066
48888
  Accept: "application/json"
@@ -48145,9 +48967,9 @@ Allows an API user to rotate their own API key. Note, the key rotation happens i
48145
48967
 
48146
48968
  // src/funcs/vendorsAcceptVendorCredential.ts
48147
48969
  function vendorsAcceptVendorCredential(client, request, options) {
48148
- return new APIPromise($do24(client, request, options));
48970
+ return new APIPromise($do29(client, request, options));
48149
48971
  }
48150
- async function $do24(client, request, options) {
48972
+ async function $do29(client, request, options) {
48151
48973
  const parsed = safeParse(request, (value) => AcceptVendorCredentialRequest$outboundSchema.parse(value), "Input validation failed");
48152
48974
  if (!parsed.ok) {
48153
48975
  return [parsed, { status: "invalid" }];
@@ -48220,12 +49042,12 @@ var init_vendorsAcceptVendorCredential = __esm(() => {
48220
49042
  });
48221
49043
 
48222
49044
  // src/mcp-server/tools/vendorsAcceptVendorCredential.ts
48223
- var args22, tool$vendorsAcceptVendorCredential;
49045
+ var args27, tool$vendorsAcceptVendorCredential;
48224
49046
  var init_vendorsAcceptVendorCredential2 = __esm(() => {
48225
49047
  init_vendorsAcceptVendorCredential();
48226
49048
  init_operations();
48227
49049
  init_tools();
48228
- args22 = {
49050
+ args27 = {
48229
49051
  request: AcceptVendorCredentialRequest$inboundSchema
48230
49052
  };
48231
49053
  tool$vendorsAcceptVendorCredential = {
@@ -48233,9 +49055,9 @@ var init_vendorsAcceptVendorCredential2 = __esm(() => {
48233
49055
  description: `Accept vendor credential
48234
49056
 
48235
49057
  It will accept vendor credential`,
48236
- args: args22,
48237
- tool: async (client, args23, ctx) => {
48238
- 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();
48239
49061
  if (!result.ok) {
48240
49062
  return {
48241
49063
  content: [{ type: "text", text: result.error.message }],
@@ -48250,9 +49072,9 @@ It will accept vendor credential`,
48250
49072
 
48251
49073
  // src/funcs/vendorsAddVendorCredentialFile.ts
48252
49074
  function vendorsAddVendorCredentialFile(client, request, options) {
48253
- return new APIPromise($do25(client, request, options));
49075
+ return new APIPromise($do30(client, request, options));
48254
49076
  }
48255
- async function $do25(client, request, options) {
49077
+ async function $do30(client, request, options) {
48256
49078
  const parsed = safeParse(request, (value) => AddVendorCredentialFileRequest$outboundSchema.parse(value), "Input validation failed");
48257
49079
  if (!parsed.ok) {
48258
49080
  return [parsed, { status: "invalid" }];
@@ -48325,12 +49147,12 @@ var init_vendorsAddVendorCredentialFile = __esm(() => {
48325
49147
  });
48326
49148
 
48327
49149
  // src/mcp-server/tools/vendorsAddVendorCredentialFile.ts
48328
- var args23, tool$vendorsAddVendorCredentialFile;
49150
+ var args28, tool$vendorsAddVendorCredentialFile;
48329
49151
  var init_vendorsAddVendorCredentialFile2 = __esm(() => {
48330
49152
  init_vendorsAddVendorCredentialFile();
48331
49153
  init_operations();
48332
49154
  init_tools();
48333
- args23 = {
49155
+ args28 = {
48334
49156
  request: AddVendorCredentialFileRequest$inboundSchema
48335
49157
  };
48336
49158
  tool$vendorsAddVendorCredentialFile = {
@@ -48338,9 +49160,9 @@ var init_vendorsAddVendorCredentialFile2 = __esm(() => {
48338
49160
  description: `Add vendor credential file
48339
49161
 
48340
49162
  It will add a new vendor credential file`,
48341
- args: args23,
48342
- tool: async (client, args24, ctx) => {
48343
- 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();
48344
49166
  if (!result.ok) {
48345
49167
  return {
48346
49168
  content: [{ type: "text", text: result.error.message }],
@@ -48355,9 +49177,9 @@ It will add a new vendor credential file`,
48355
49177
 
48356
49178
  // src/funcs/vendorsAddVendorManagedByCompany.ts
48357
49179
  function vendorsAddVendorManagedByCompany(client, request, options) {
48358
- return new APIPromise($do26(client, request, options));
49180
+ return new APIPromise($do31(client, request, options));
48359
49181
  }
48360
- async function $do26(client, request, options) {
49182
+ async function $do31(client, request, options) {
48361
49183
  const parsed = safeParse(request, (value) => AddVendorManagedByCompanyRequest$outboundSchema.parse(value), "Input validation failed");
48362
49184
  if (!parsed.ok) {
48363
49185
  return [parsed, { status: "invalid" }];
@@ -48433,12 +49255,12 @@ var init_vendorsAddVendorManagedByCompany = __esm(() => {
48433
49255
  });
48434
49256
 
48435
49257
  // src/mcp-server/tools/vendorsAddVendorManagedByCompany.ts
48436
- var args24, tool$vendorsAddVendorManagedByCompany;
49258
+ var args29, tool$vendorsAddVendorManagedByCompany;
48437
49259
  var init_vendorsAddVendorManagedByCompany2 = __esm(() => {
48438
49260
  init_vendorsAddVendorManagedByCompany();
48439
49261
  init_operations();
48440
49262
  init_tools();
48441
- args24 = {
49263
+ args29 = {
48442
49264
  request: AddVendorManagedByCompanyRequest$inboundSchema
48443
49265
  };
48444
49266
  tool$vendorsAddVendorManagedByCompany = {
@@ -48446,9 +49268,9 @@ var init_vendorsAddVendorManagedByCompany2 = __esm(() => {
48446
49268
  description: `Add vendor managed by company
48447
49269
 
48448
49270
  It will add a vendor managed by company`,
48449
- args: args24,
48450
- tool: async (client, args25, ctx) => {
48451
- 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();
48452
49274
  if (!result.ok) {
48453
49275
  return {
48454
49276
  content: [{ type: "text", text: result.error.message }],
@@ -48463,9 +49285,9 @@ It will add a vendor managed by company`,
48463
49285
 
48464
49286
  // src/funcs/vendorsCalculateSubscriptionPrice.ts
48465
49287
  function vendorsCalculateSubscriptionPrice(client, request, options) {
48466
- return new APIPromise($do27(client, request, options));
49288
+ return new APIPromise($do32(client, request, options));
48467
49289
  }
48468
- async function $do27(client, request, options) {
49290
+ async function $do32(client, request, options) {
48469
49291
  const parsed = safeParse(request, (value) => CalculateSubscriptionPriceRequest$outboundSchema.parse(value), "Input validation failed");
48470
49292
  if (!parsed.ok) {
48471
49293
  return [parsed, { status: "invalid" }];
@@ -48541,12 +49363,12 @@ var init_vendorsCalculateSubscriptionPrice = __esm(() => {
48541
49363
  });
48542
49364
 
48543
49365
  // src/mcp-server/tools/vendorsCalculateSubscriptionPrice.ts
48544
- var args25, tool$vendorsCalculateSubscriptionPrice;
49366
+ var args30, tool$vendorsCalculateSubscriptionPrice;
48545
49367
  var init_vendorsCalculateSubscriptionPrice2 = __esm(() => {
48546
49368
  init_vendorsCalculateSubscriptionPrice();
48547
49369
  init_operations();
48548
49370
  init_tools();
48549
- args25 = {
49371
+ args30 = {
48550
49372
  request: CalculateSubscriptionPriceRequest$inboundSchema
48551
49373
  };
48552
49374
  tool$vendorsCalculateSubscriptionPrice = {
@@ -48554,9 +49376,9 @@ var init_vendorsCalculateSubscriptionPrice2 = __esm(() => {
48554
49376
  description: `Calculate subscription price
48555
49377
 
48556
49378
  Calculate subscription price`,
48557
- args: args25,
48558
- tool: async (client, args26, ctx) => {
48559
- 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();
48560
49382
  if (!result.ok) {
48561
49383
  return {
48562
49384
  content: [{ type: "text", text: result.error.message }],
@@ -48571,9 +49393,9 @@ Calculate subscription price`,
48571
49393
 
48572
49394
  // src/funcs/vendorScansVendorScanOut.ts
48573
49395
  function vendorScansVendorScanOut(client, request, options) {
48574
- return new APIPromise($do28(client, request, options));
49396
+ return new APIPromise($do33(client, request, options));
48575
49397
  }
48576
- async function $do28(client, request, options) {
49398
+ async function $do33(client, request, options) {
48577
49399
  const parsed = safeParse(request, (value) => VendorScanOutRequest$outboundSchema.parse(value), "Input validation failed");
48578
49400
  if (!parsed.ok) {
48579
49401
  return [parsed, { status: "invalid" }];
@@ -48648,12 +49470,12 @@ var init_vendorScansVendorScanOut = __esm(() => {
48648
49470
  });
48649
49471
 
48650
49472
  // src/mcp-server/tools/vendorScansVendorScanOut.ts
48651
- var args26, tool$vendorScansVendorScanOut;
49473
+ var args31, tool$vendorScansVendorScanOut;
48652
49474
  var init_vendorScansVendorScanOut2 = __esm(() => {
48653
49475
  init_vendorScansVendorScanOut();
48654
49476
  init_operations();
48655
49477
  init_tools();
48656
- args26 = {
49478
+ args31 = {
48657
49479
  request: VendorScanOutRequest$inboundSchema
48658
49480
  };
48659
49481
  tool$vendorScansVendorScanOut = {
@@ -48661,9 +49483,9 @@ var init_vendorScansVendorScanOut2 = __esm(() => {
48661
49483
  description: `Vendor scan out
48662
49484
 
48663
49485
  It scans out vendor from facility`,
48664
- args: args26,
48665
- tool: async (client, args27, ctx) => {
48666
- 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();
48667
49489
  if (!result.ok) {
48668
49490
  return {
48669
49491
  content: [{ type: "text", text: result.error.message }],
@@ -48678,9 +49500,9 @@ It scans out vendor from facility`,
48678
49500
 
48679
49501
  // src/funcs/vendorsChangeSubscription.ts
48680
49502
  function vendorsChangeSubscription(client, request, options) {
48681
- return new APIPromise($do29(client, request, options));
49503
+ return new APIPromise($do34(client, request, options));
48682
49504
  }
48683
- async function $do29(client, request, options) {
49505
+ async function $do34(client, request, options) {
48684
49506
  const parsed = safeParse(request, (value) => ChangeSubscriptionRequest$outboundSchema.parse(value), "Input validation failed");
48685
49507
  if (!parsed.ok) {
48686
49508
  return [parsed, { status: "invalid" }];
@@ -48756,12 +49578,12 @@ var init_vendorsChangeSubscription = __esm(() => {
48756
49578
  });
48757
49579
 
48758
49580
  // src/mcp-server/tools/vendorsChangeSubscription.ts
48759
- var args27, tool$vendorsChangeSubscription;
49581
+ var args32, tool$vendorsChangeSubscription;
48760
49582
  var init_vendorsChangeSubscription2 = __esm(() => {
48761
49583
  init_vendorsChangeSubscription();
48762
49584
  init_operations();
48763
49585
  init_tools();
48764
- args27 = {
49586
+ args32 = {
48765
49587
  request: ChangeSubscriptionRequest$inboundSchema
48766
49588
  };
48767
49589
  tool$vendorsChangeSubscription = {
@@ -48769,9 +49591,9 @@ var init_vendorsChangeSubscription2 = __esm(() => {
48769
49591
  description: `Change subscription
48770
49592
 
48771
49593
  Calculate subscription price`,
48772
- args: args27,
48773
- tool: async (client, args28, ctx) => {
48774
- 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();
48775
49597
  if (!result.ok) {
48776
49598
  return {
48777
49599
  content: [{ type: "text", text: result.error.message }],
@@ -48786,9 +49608,9 @@ Calculate subscription price`,
48786
49608
 
48787
49609
  // src/funcs/vendorsCheckDownloadCode.ts
48788
49610
  function vendorsCheckDownloadCode(client, request, options) {
48789
- return new APIPromise($do30(client, request, options));
49611
+ return new APIPromise($do35(client, request, options));
48790
49612
  }
48791
- async function $do30(client, request, options) {
49613
+ async function $do35(client, request, options) {
48792
49614
  const parsed = safeParse(request, (value) => CheckDownloadCodeRequest$outboundSchema.parse(value), "Input validation failed");
48793
49615
  if (!parsed.ok) {
48794
49616
  return [parsed, { status: "invalid" }];
@@ -48864,12 +49686,12 @@ var init_vendorsCheckDownloadCode = __esm(() => {
48864
49686
  });
48865
49687
 
48866
49688
  // src/mcp-server/tools/vendorsCheckDownloadCode.ts
48867
- var args28, tool$vendorsCheckDownloadCode;
49689
+ var args33, tool$vendorsCheckDownloadCode;
48868
49690
  var init_vendorsCheckDownloadCode2 = __esm(() => {
48869
49691
  init_vendorsCheckDownloadCode();
48870
49692
  init_operations();
48871
49693
  init_tools();
48872
- args28 = {
49694
+ args33 = {
48873
49695
  request: CheckDownloadCodeRequest$inboundSchema
48874
49696
  };
48875
49697
  tool$vendorsCheckDownloadCode = {
@@ -48877,9 +49699,9 @@ var init_vendorsCheckDownloadCode2 = __esm(() => {
48877
49699
  description: `Check download code for vendor credential
48878
49700
 
48879
49701
  It will check download code for vendor credential`,
48880
- args: args28,
48881
- tool: async (client, args29, ctx) => {
48882
- 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();
48883
49705
  if (!result.ok) {
48884
49706
  return {
48885
49707
  content: [{ type: "text", text: result.error.message }],
@@ -48894,9 +49716,9 @@ It will check download code for vendor credential`,
48894
49716
 
48895
49717
  // src/funcs/vendorsCreateNewVendorCredentialVersion.ts
48896
49718
  function vendorsCreateNewVendorCredentialVersion(client, request, options) {
48897
- return new APIPromise($do31(client, request, options));
49719
+ return new APIPromise($do36(client, request, options));
48898
49720
  }
48899
- async function $do31(client, request, options) {
49721
+ async function $do36(client, request, options) {
48900
49722
  const parsed = safeParse(request, (value) => CreateNewVendorCredentialVersionRequestBody$outboundSchema.parse(value), "Input validation failed");
48901
49723
  if (!parsed.ok) {
48902
49724
  return [parsed, { status: "invalid" }];
@@ -48966,12 +49788,12 @@ var init_vendorsCreateNewVendorCredentialVersion = __esm(() => {
48966
49788
  });
48967
49789
 
48968
49790
  // src/mcp-server/tools/vendorsCreateNewVendorCredentialVersion.ts
48969
- var args29, tool$vendorsCreateNewVendorCredentialVersion;
49791
+ var args34, tool$vendorsCreateNewVendorCredentialVersion;
48970
49792
  var init_vendorsCreateNewVendorCredentialVersion2 = __esm(() => {
48971
49793
  init_vendorsCreateNewVendorCredentialVersion();
48972
49794
  init_operations();
48973
49795
  init_tools();
48974
- args29 = {
49796
+ args34 = {
48975
49797
  request: CreateNewVendorCredentialVersionRequestBody$inboundSchema
48976
49798
  };
48977
49799
  tool$vendorsCreateNewVendorCredentialVersion = {
@@ -48979,9 +49801,9 @@ var init_vendorsCreateNewVendorCredentialVersion2 = __esm(() => {
48979
49801
  description: `Create new vendor credential version
48980
49802
 
48981
49803
  It will submit vendor credential`,
48982
- args: args29,
48983
- tool: async (client, args30, ctx) => {
48984
- 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();
48985
49807
  if (!result.ok) {
48986
49808
  return {
48987
49809
  content: [{ type: "text", text: result.error.message }],
@@ -48996,9 +49818,9 @@ It will submit vendor credential`,
48996
49818
 
48997
49819
  // src/funcs/vendorsCreateOrUpdateBcr.ts
48998
49820
  function vendorsCreateOrUpdateBcr(client, request, options) {
48999
- return new APIPromise($do32(client, request, options));
49821
+ return new APIPromise($do37(client, request, options));
49000
49822
  }
49001
- async function $do32(client, request, options) {
49823
+ async function $do37(client, request, options) {
49002
49824
  const parsed = safeParse(request, (value) => CreateOrUpdateBcrRequest$outboundSchema.parse(value), "Input validation failed");
49003
49825
  if (!parsed.ok) {
49004
49826
  return [parsed, { status: "invalid" }];
@@ -49072,12 +49894,12 @@ var init_vendorsCreateOrUpdateBcr = __esm(() => {
49072
49894
  });
49073
49895
 
49074
49896
  // src/mcp-server/tools/vendorsCreateOrUpdateBcr.ts
49075
- var args30, tool$vendorsCreateOrUpdateBcr;
49897
+ var args35, tool$vendorsCreateOrUpdateBcr;
49076
49898
  var init_vendorsCreateOrUpdateBcr2 = __esm(() => {
49077
49899
  init_vendorsCreateOrUpdateBcr();
49078
49900
  init_operations();
49079
49901
  init_tools();
49080
- args30 = {
49902
+ args35 = {
49081
49903
  request: CreateOrUpdateBcrRequest$inboundSchema
49082
49904
  };
49083
49905
  tool$vendorsCreateOrUpdateBcr = {
@@ -49085,9 +49907,9 @@ var init_vendorsCreateOrUpdateBcr2 = __esm(() => {
49085
49907
  description: `Create or update BackgroundCheckResults
49086
49908
 
49087
49909
  It will create or update BackgroundCheckResults`,
49088
- args: args30,
49089
- tool: async (client, args31, ctx) => {
49090
- 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();
49091
49913
  if (!result.ok) {
49092
49914
  return {
49093
49915
  content: [{ type: "text", text: result.error.message }],
@@ -49102,9 +49924,9 @@ It will create or update BackgroundCheckResults`,
49102
49924
 
49103
49925
  // src/funcs/vendorsCreateVendorCompany.ts
49104
49926
  function vendorsCreateVendorCompany(client, request, options) {
49105
- return new APIPromise($do33(client, request, options));
49927
+ return new APIPromise($do38(client, request, options));
49106
49928
  }
49107
- async function $do33(client, request, options) {
49929
+ async function $do38(client, request, options) {
49108
49930
  const parsed = safeParse(request, (value) => CreateVendorCompanyRequest$outboundSchema.parse(value), "Input validation failed");
49109
49931
  if (!parsed.ok) {
49110
49932
  return [parsed, { status: "invalid" }];
@@ -49180,12 +50002,12 @@ var init_vendorsCreateVendorCompany = __esm(() => {
49180
50002
  });
49181
50003
 
49182
50004
  // src/mcp-server/tools/vendorsCreateVendorCompany.ts
49183
- var args31, tool$vendorsCreateVendorCompany;
50005
+ var args36, tool$vendorsCreateVendorCompany;
49184
50006
  var init_vendorsCreateVendorCompany2 = __esm(() => {
49185
50007
  init_vendorsCreateVendorCompany();
49186
50008
  init_operations();
49187
50009
  init_tools();
49188
- args31 = {
50010
+ args36 = {
49189
50011
  request: CreateVendorCompanyRequest$inboundSchema
49190
50012
  };
49191
50013
  tool$vendorsCreateVendorCompany = {
@@ -49193,9 +50015,9 @@ var init_vendorsCreateVendorCompany2 = __esm(() => {
49193
50015
  description: `Create vendor company
49194
50016
 
49195
50017
  Create vendor company`,
49196
- args: args31,
49197
- tool: async (client, args32, ctx) => {
49198
- 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();
49199
50021
  if (!result.ok) {
49200
50022
  return {
49201
50023
  content: [{ type: "text", text: result.error.message }],
@@ -49210,9 +50032,9 @@ Create vendor company`,
49210
50032
 
49211
50033
  // src/funcs/vendorsCreateVendorRegistration.ts
49212
50034
  function vendorsCreateVendorRegistration(client, request, options) {
49213
- return new APIPromise($do34(client, request, options));
50035
+ return new APIPromise($do39(client, request, options));
49214
50036
  }
49215
- async function $do34(client, request, options) {
50037
+ async function $do39(client, request, options) {
49216
50038
  const parsed = safeParse(request, (value) => CreateVendorRegistrationRequestBody$outboundSchema.parse(value), "Input validation failed");
49217
50039
  if (!parsed.ok) {
49218
50040
  return [parsed, { status: "invalid" }];
@@ -49279,12 +50101,12 @@ var init_vendorsCreateVendorRegistration = __esm(() => {
49279
50101
  });
49280
50102
 
49281
50103
  // src/mcp-server/tools/vendorsCreateVendorRegistration.ts
49282
- var args32, tool$vendorsCreateVendorRegistration;
50104
+ var args37, tool$vendorsCreateVendorRegistration;
49283
50105
  var init_vendorsCreateVendorRegistration2 = __esm(() => {
49284
50106
  init_vendorsCreateVendorRegistration();
49285
50107
  init_operations();
49286
50108
  init_tools();
49287
- args32 = {
50109
+ args37 = {
49288
50110
  request: CreateVendorRegistrationRequestBody$inboundSchema
49289
50111
  };
49290
50112
  tool$vendorsCreateVendorRegistration = {
@@ -49292,9 +50114,9 @@ var init_vendorsCreateVendorRegistration2 = __esm(() => {
49292
50114
  description: `Create vendor registration
49293
50115
 
49294
50116
  Create an initial vendor registration. Once successful, the vendor will be able to continue to filling out the rest of their onboarding profile.`,
49295
- args: args32,
49296
- tool: async (client, args33, ctx) => {
49297
- 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();
49298
50120
  if (!result.ok) {
49299
50121
  return {
49300
50122
  content: [{ type: "text", text: result.error.message }],
@@ -49309,9 +50131,9 @@ Create an initial vendor registration. Once successful, the vendor will be able
49309
50131
 
49310
50132
  // src/funcs/vendorsDeclineVendorCredential.ts
49311
50133
  function vendorsDeclineVendorCredential(client, request, options) {
49312
- return new APIPromise($do35(client, request, options));
50134
+ return new APIPromise($do40(client, request, options));
49313
50135
  }
49314
- async function $do35(client, request, options) {
50136
+ async function $do40(client, request, options) {
49315
50137
  const parsed = safeParse(request, (value) => DeclineVendorCredentialRequest$outboundSchema.parse(value), "Input validation failed");
49316
50138
  if (!parsed.ok) {
49317
50139
  return [parsed, { status: "invalid" }];
@@ -49384,12 +50206,12 @@ var init_vendorsDeclineVendorCredential = __esm(() => {
49384
50206
  });
49385
50207
 
49386
50208
  // src/mcp-server/tools/vendorsDeclineVendorCredential.ts
49387
- var args33, tool$vendorsDeclineVendorCredential;
50209
+ var args38, tool$vendorsDeclineVendorCredential;
49388
50210
  var init_vendorsDeclineVendorCredential2 = __esm(() => {
49389
50211
  init_vendorsDeclineVendorCredential();
49390
50212
  init_operations();
49391
50213
  init_tools();
49392
- args33 = {
50214
+ args38 = {
49393
50215
  request: DeclineVendorCredentialRequest$inboundSchema
49394
50216
  };
49395
50217
  tool$vendorsDeclineVendorCredential = {
@@ -49397,9 +50219,9 @@ var init_vendorsDeclineVendorCredential2 = __esm(() => {
49397
50219
  description: `Decline vendor credential
49398
50220
 
49399
50221
  It will decline vendor credential`,
49400
- args: args33,
49401
- tool: async (client, args34, ctx) => {
49402
- 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();
49403
50225
  if (!result.ok) {
49404
50226
  return {
49405
50227
  content: [{ type: "text", text: result.error.message }],
@@ -49414,9 +50236,9 @@ It will decline vendor credential`,
49414
50236
 
49415
50237
  // src/funcs/vendorsDeleteVendorCredentialFile.ts
49416
50238
  function vendorsDeleteVendorCredentialFile(client, request, options) {
49417
- return new APIPromise($do36(client, request, options));
50239
+ return new APIPromise($do41(client, request, options));
49418
50240
  }
49419
- async function $do36(client, request, options) {
50241
+ async function $do41(client, request, options) {
49420
50242
  const parsed = safeParse(request, (value) => DeleteVendorCredentialFileRequest$outboundSchema.parse(value), "Input validation failed");
49421
50243
  if (!parsed.ok) {
49422
50244
  return [parsed, { status: "invalid" }];
@@ -49493,12 +50315,12 @@ var init_vendorsDeleteVendorCredentialFile = __esm(() => {
49493
50315
  });
49494
50316
 
49495
50317
  // src/mcp-server/tools/vendorsDeleteVendorCredentialFile.ts
49496
- var args34, tool$vendorsDeleteVendorCredentialFile;
50318
+ var args39, tool$vendorsDeleteVendorCredentialFile;
49497
50319
  var init_vendorsDeleteVendorCredentialFile2 = __esm(() => {
49498
50320
  init_vendorsDeleteVendorCredentialFile();
49499
50321
  init_operations();
49500
50322
  init_tools();
49501
- args34 = {
50323
+ args39 = {
49502
50324
  request: DeleteVendorCredentialFileRequest$inboundSchema
49503
50325
  };
49504
50326
  tool$vendorsDeleteVendorCredentialFile = {
@@ -49506,9 +50328,9 @@ var init_vendorsDeleteVendorCredentialFile2 = __esm(() => {
49506
50328
  description: `Delete vendor credential file
49507
50329
 
49508
50330
  It will delete the vendor credential file`,
49509
- args: args34,
49510
- tool: async (client, args35, ctx) => {
49511
- 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();
49512
50334
  if (!result.ok) {
49513
50335
  return {
49514
50336
  content: [{ type: "text", text: result.error.message }],
@@ -49523,9 +50345,9 @@ It will delete the vendor credential file`,
49523
50345
 
49524
50346
  // src/funcs/vendorsDeleteVendorManagedByCompany.ts
49525
50347
  function vendorsDeleteVendorManagedByCompany(client, request, options) {
49526
- return new APIPromise($do37(client, request, options));
50348
+ return new APIPromise($do42(client, request, options));
49527
50349
  }
49528
- async function $do37(client, request, options) {
50350
+ async function $do42(client, request, options) {
49529
50351
  const parsed = safeParse(request, (value) => DeleteVendorManagedByCompanyRequest$outboundSchema.parse(value), "Input validation failed");
49530
50352
  if (!parsed.ok) {
49531
50353
  return [parsed, { status: "invalid" }];
@@ -49601,12 +50423,12 @@ var init_vendorsDeleteVendorManagedByCompany = __esm(() => {
49601
50423
  });
49602
50424
 
49603
50425
  // src/mcp-server/tools/vendorsDeleteVendorManagedByCompany.ts
49604
- var args35, tool$vendorsDeleteVendorManagedByCompany;
50426
+ var args40, tool$vendorsDeleteVendorManagedByCompany;
49605
50427
  var init_vendorsDeleteVendorManagedByCompany2 = __esm(() => {
49606
50428
  init_vendorsDeleteVendorManagedByCompany();
49607
50429
  init_operations();
49608
50430
  init_tools();
49609
- args35 = {
50431
+ args40 = {
49610
50432
  request: DeleteVendorManagedByCompanyRequest$inboundSchema
49611
50433
  };
49612
50434
  tool$vendorsDeleteVendorManagedByCompany = {
@@ -49614,9 +50436,9 @@ var init_vendorsDeleteVendorManagedByCompany2 = __esm(() => {
49614
50436
  description: `Delete vendor managed by company
49615
50437
 
49616
50438
  It will delete the vendor managed by company`,
49617
- args: args35,
49618
- tool: async (client, args36, ctx) => {
49619
- 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();
49620
50442
  if (!result.ok) {
49621
50443
  return {
49622
50444
  content: [{ type: "text", text: result.error.message }],
@@ -49631,9 +50453,9 @@ It will delete the vendor managed by company`,
49631
50453
 
49632
50454
  // src/funcs/vendorsExpediteTimeRemaining.ts
49633
50455
  function vendorsExpediteTimeRemaining(client, request, options) {
49634
- return new APIPromise($do38(client, request, options));
50456
+ return new APIPromise($do43(client, request, options));
49635
50457
  }
49636
- async function $do38(client, request, options) {
50458
+ async function $do43(client, request, options) {
49637
50459
  const parsed = safeParse(request, (value) => ExpediteTimeRemainingRequest$outboundSchema.parse(value), "Input validation failed");
49638
50460
  if (!parsed.ok) {
49639
50461
  return [parsed, { status: "invalid" }];
@@ -49708,12 +50530,12 @@ var init_vendorsExpediteTimeRemaining = __esm(() => {
49708
50530
  });
49709
50531
 
49710
50532
  // src/mcp-server/tools/vendorsExpediteTimeRemaining.ts
49711
- var args36, tool$vendorsExpediteTimeRemaining;
50533
+ var args41, tool$vendorsExpediteTimeRemaining;
49712
50534
  var init_vendorsExpediteTimeRemaining2 = __esm(() => {
49713
50535
  init_vendorsExpediteTimeRemaining();
49714
50536
  init_operations();
49715
50537
  init_tools();
49716
- args36 = {
50538
+ args41 = {
49717
50539
  request: ExpediteTimeRemainingRequest$inboundSchema
49718
50540
  };
49719
50541
  tool$vendorsExpediteTimeRemaining = {
@@ -49721,9 +50543,9 @@ var init_vendorsExpediteTimeRemaining2 = __esm(() => {
49721
50543
  description: `Expedite time remaining
49722
50544
 
49723
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.`,
49724
- args: args36,
49725
- tool: async (client, args37, ctx) => {
49726
- 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();
49727
50549
  if (!result.ok) {
49728
50550
  return {
49729
50551
  content: [{ type: "text", text: result.error.message }],
@@ -49738,9 +50560,9 @@ For vendors who have a paid 24-hour expedite credentials invoice, get the remain
49738
50560
 
49739
50561
  // src/funcs/vendorsGetSubscription.ts
49740
50562
  function vendorsGetSubscription(client, request, options) {
49741
- return new APIPromise($do39(client, request, options));
50563
+ return new APIPromise($do44(client, request, options));
49742
50564
  }
49743
- async function $do39(client, request, options) {
50565
+ async function $do44(client, request, options) {
49744
50566
  const parsed = safeParse(request, (value) => GetSubscriptionRequest$outboundSchema.parse(value), "Input validation failed");
49745
50567
  if (!parsed.ok) {
49746
50568
  return [parsed, { status: "invalid" }];
@@ -49819,12 +50641,12 @@ var init_vendorsGetSubscription = __esm(() => {
49819
50641
  });
49820
50642
 
49821
50643
  // src/mcp-server/tools/vendorsGetSubscription.ts
49822
- var args37, tool$vendorsGetSubscription;
50644
+ var args42, tool$vendorsGetSubscription;
49823
50645
  var init_vendorsGetSubscription2 = __esm(() => {
49824
50646
  init_vendorsGetSubscription();
49825
50647
  init_operations();
49826
50648
  init_tools();
49827
- args37 = {
50649
+ args42 = {
49828
50650
  request: GetSubscriptionRequest$inboundSchema
49829
50651
  };
49830
50652
  tool$vendorsGetSubscription = {
@@ -49836,9 +50658,9 @@ Get vendor subscription
49836
50658
  Available \`expand\` scopes are:
49837
50659
 
49838
50660
  subscription.expedited_offer`,
49839
- args: args37,
49840
- tool: async (client, args38, ctx) => {
49841
- 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();
49842
50664
  if (!result.ok) {
49843
50665
  return {
49844
50666
  content: [{ type: "text", text: result.error.message }],
@@ -49853,9 +50675,9 @@ subscription.expedited_offer`,
49853
50675
 
49854
50676
  // src/funcs/vendorsGetVendorCredentialDetails.ts
49855
50677
  function vendorsGetVendorCredentialDetails(client, request, options) {
49856
- return new APIPromise($do40(client, request, options));
50678
+ return new APIPromise($do45(client, request, options));
49857
50679
  }
49858
- async function $do40(client, request, options) {
50680
+ async function $do45(client, request, options) {
49859
50681
  const parsed = safeParse(request, (value) => GetVendorCredentialDetailsRequest$outboundSchema.parse(value), "Input validation failed");
49860
50682
  if (!parsed.ok) {
49861
50683
  return [parsed, { status: "invalid" }];
@@ -49938,12 +50760,12 @@ var init_vendorsGetVendorCredentialDetails = __esm(() => {
49938
50760
  });
49939
50761
 
49940
50762
  // src/mcp-server/tools/vendorsGetVendorCredentialDetails.ts
49941
- var args38, tool$vendorsGetVendorCredentialDetails;
50763
+ var args43, tool$vendorsGetVendorCredentialDetails;
49942
50764
  var init_vendorsGetVendorCredentialDetails2 = __esm(() => {
49943
50765
  init_vendorsGetVendorCredentialDetails();
49944
50766
  init_operations();
49945
50767
  init_tools();
49946
- args38 = {
50768
+ args43 = {
49947
50769
  request: GetVendorCredentialDetailsRequest$inboundSchema
49948
50770
  };
49949
50771
  tool$vendorsGetVendorCredentialDetails = {
@@ -49969,9 +50791,9 @@ Available \`expand\` scopes are:
49969
50791
  - vendor_credential.credential_variants
49970
50792
  - vendor_credential.targets_chop
49971
50793
  - vendor_credential.total_pending_credentials`,
49972
- args: args38,
49973
- tool: async (client, args39, ctx) => {
49974
- 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();
49975
50797
  if (!result.ok) {
49976
50798
  return {
49977
50799
  content: [{ type: "text", text: result.error.message }],
@@ -49986,9 +50808,9 @@ Available \`expand\` scopes are:
49986
50808
 
49987
50809
  // src/funcs/vendorsGetVendorCredentialFile.ts
49988
50810
  function vendorsGetVendorCredentialFile(client, request, options) {
49989
- return new APIPromise($do41(client, request, options));
50811
+ return new APIPromise($do46(client, request, options));
49990
50812
  }
49991
- async function $do41(client, request, options) {
50813
+ async function $do46(client, request, options) {
49992
50814
  const parsed = safeParse(request, (value) => GetVendorCredentialFileRequest$outboundSchema.parse(value), "Input validation failed");
49993
50815
  if (!parsed.ok) {
49994
50816
  return [parsed, { status: "invalid" }];
@@ -50069,12 +50891,12 @@ var init_vendorsGetVendorCredentialFile = __esm(() => {
50069
50891
  });
50070
50892
 
50071
50893
  // src/mcp-server/tools/vendorsGetVendorCredentialFile.ts
50072
- var args39, tool$vendorsGetVendorCredentialFile;
50894
+ var args44, tool$vendorsGetVendorCredentialFile;
50073
50895
  var init_vendorsGetVendorCredentialFile2 = __esm(() => {
50074
50896
  init_vendorsGetVendorCredentialFile();
50075
50897
  init_operations();
50076
50898
  init_tools();
50077
- args39 = {
50899
+ args44 = {
50078
50900
  request: GetVendorCredentialFileRequest$inboundSchema
50079
50901
  };
50080
50902
  tool$vendorsGetVendorCredentialFile = {
@@ -50087,9 +50909,9 @@ Available \`expand\` scopes are:
50087
50909
 
50088
50910
  - vendor_credential_file.vendor_credential
50089
50911
  - vendor_credential_file.credential_document`,
50090
- args: args39,
50091
- tool: async (client, args40, ctx) => {
50092
- 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();
50093
50915
  if (!result.ok) {
50094
50916
  return {
50095
50917
  content: [{ type: "text", text: result.error.message }],
@@ -50104,9 +50926,9 @@ Available \`expand\` scopes are:
50104
50926
 
50105
50927
  // src/funcs/vendorsGetVendorInvoiceDetails.ts
50106
50928
  function vendorsGetVendorInvoiceDetails(client, request, options) {
50107
- return new APIPromise($do42(client, request, options));
50929
+ return new APIPromise($do47(client, request, options));
50108
50930
  }
50109
- async function $do42(client, request, options) {
50931
+ async function $do47(client, request, options) {
50110
50932
  const parsed = safeParse(request, (value) => GetVendorInvoiceDetailsRequest$outboundSchema.parse(value), "Input validation failed");
50111
50933
  if (!parsed.ok) {
50112
50934
  return [parsed, { status: "invalid" }];
@@ -50186,12 +51008,12 @@ var init_vendorsGetVendorInvoiceDetails = __esm(() => {
50186
51008
  });
50187
51009
 
50188
51010
  // src/mcp-server/tools/vendorsGetVendorInvoiceDetails.ts
50189
- var args40, tool$vendorsGetVendorInvoiceDetails;
51011
+ var args45, tool$vendorsGetVendorInvoiceDetails;
50190
51012
  var init_vendorsGetVendorInvoiceDetails2 = __esm(() => {
50191
51013
  init_vendorsGetVendorInvoiceDetails();
50192
51014
  init_operations();
50193
51015
  init_tools();
50194
- args40 = {
51016
+ args45 = {
50195
51017
  request: GetVendorInvoiceDetailsRequest$inboundSchema
50196
51018
  };
50197
51019
  tool$vendorsGetVendorInvoiceDetails = {
@@ -50204,9 +51026,9 @@ Available \`expand\` scopes are:
50204
51026
 
50205
51027
  invoice.line_items
50206
51028
  invoice.invoice_transactions`,
50207
- args: args40,
50208
- tool: async (client, args41, ctx) => {
50209
- 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();
50210
51032
  if (!result.ok) {
50211
51033
  return {
50212
51034
  content: [{ type: "text", text: result.error.message }],
@@ -50221,9 +51043,9 @@ invoice.invoice_transactions`,
50221
51043
 
50222
51044
  // src/funcs/vendorsGetVendorInvoiceReceipt.ts
50223
51045
  function vendorsGetVendorInvoiceReceipt(client, request, options) {
50224
- return new APIPromise($do43(client, request, options));
51046
+ return new APIPromise($do48(client, request, options));
50225
51047
  }
50226
- async function $do43(client, request, options) {
51048
+ async function $do48(client, request, options) {
50227
51049
  const parsed = safeParse(request, (value) => GetVendorInvoiceReceiptRequest$outboundSchema.parse(value), "Input validation failed");
50228
51050
  if (!parsed.ok) {
50229
51051
  return [parsed, { status: "invalid" }];
@@ -50298,12 +51120,12 @@ var init_vendorsGetVendorInvoiceReceipt = __esm(() => {
50298
51120
  });
50299
51121
 
50300
51122
  // src/mcp-server/tools/vendorsGetVendorInvoiceReceipt.ts
50301
- var args41, tool$vendorsGetVendorInvoiceReceipt;
51123
+ var args46, tool$vendorsGetVendorInvoiceReceipt;
50302
51124
  var init_vendorsGetVendorInvoiceReceipt2 = __esm(() => {
50303
51125
  init_vendorsGetVendorInvoiceReceipt();
50304
51126
  init_operations();
50305
51127
  init_tools();
50306
- args41 = {
51128
+ args46 = {
50307
51129
  request: GetVendorInvoiceReceiptRequest$inboundSchema
50308
51130
  };
50309
51131
  tool$vendorsGetVendorInvoiceReceipt = {
@@ -50311,9 +51133,9 @@ var init_vendorsGetVendorInvoiceReceipt2 = __esm(() => {
50311
51133
  description: `Get invoice receipt for vendor
50312
51134
 
50313
51135
  Get invoice receipt for vendor`,
50314
- args: args41,
50315
- tool: async (client, args42, ctx) => {
50316
- 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();
50317
51139
  if (!result.ok) {
50318
51140
  return {
50319
51141
  content: [{ type: "text", text: result.error.message }],
@@ -50328,9 +51150,9 @@ Get invoice receipt for vendor`,
50328
51150
 
50329
51151
  // src/funcs/vendorsGetVendorLegalName.ts
50330
51152
  function vendorsGetVendorLegalName(client, request, options) {
50331
- return new APIPromise($do44(client, request, options));
51153
+ return new APIPromise($do49(client, request, options));
50332
51154
  }
50333
- async function $do44(client, request, options) {
51155
+ async function $do49(client, request, options) {
50334
51156
  const parsed = safeParse(request, (value) => GetVendorLegalNameRequest$outboundSchema.parse(value), "Input validation failed");
50335
51157
  if (!parsed.ok) {
50336
51158
  return [parsed, { status: "invalid" }];
@@ -50405,12 +51227,12 @@ var init_vendorsGetVendorLegalName = __esm(() => {
50405
51227
  });
50406
51228
 
50407
51229
  // src/mcp-server/tools/vendorsGetVendorLegalName.ts
50408
- var args42, tool$vendorsGetVendorLegalName;
51230
+ var args47, tool$vendorsGetVendorLegalName;
50409
51231
  var init_vendorsGetVendorLegalName2 = __esm(() => {
50410
51232
  init_vendorsGetVendorLegalName();
50411
51233
  init_operations();
50412
51234
  init_tools();
50413
- args42 = {
51235
+ args47 = {
50414
51236
  request: GetVendorLegalNameRequest$inboundSchema
50415
51237
  };
50416
51238
  tool$vendorsGetVendorLegalName = {
@@ -50418,9 +51240,9 @@ var init_vendorsGetVendorLegalName2 = __esm(() => {
50418
51240
  description: `Get Vendor legal name
50419
51241
 
50420
51242
  Get vendor legal name`,
50421
- args: args42,
50422
- tool: async (client, args43, ctx) => {
50423
- 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();
50424
51246
  if (!result.ok) {
50425
51247
  return {
50426
51248
  content: [{ type: "text", text: result.error.message }],
@@ -50435,9 +51257,9 @@ Get vendor legal name`,
50435
51257
 
50436
51258
  // src/funcs/vendorsGetVendorsDetails.ts
50437
51259
  function vendorsGetVendorsDetails(client, request, options) {
50438
- return new APIPromise($do45(client, request, options));
51260
+ return new APIPromise($do50(client, request, options));
50439
51261
  }
50440
- async function $do45(client, request, options) {
51262
+ async function $do50(client, request, options) {
50441
51263
  const parsed = safeParse(request, (value) => GetVendorsDetailsRequest$outboundSchema.parse(value), "Input validation failed");
50442
51264
  if (!parsed.ok) {
50443
51265
  return [parsed, { status: "invalid" }];
@@ -50517,12 +51339,12 @@ var init_vendorsGetVendorsDetails = __esm(() => {
50517
51339
  });
50518
51340
 
50519
51341
  // src/mcp-server/tools/vendorsGetVendorsDetails.ts
50520
- var args43, tool$vendorsGetVendorsDetails;
51342
+ var args48, tool$vendorsGetVendorsDetails;
50521
51343
  var init_vendorsGetVendorsDetails2 = __esm(() => {
50522
51344
  init_vendorsGetVendorsDetails();
50523
51345
  init_operations();
50524
51346
  init_tools();
50525
- args43 = {
51347
+ args48 = {
50526
51348
  request: GetVendorsDetailsRequest$inboundSchema
50527
51349
  };
50528
51350
  tool$vendorsGetVendorsDetails = {
@@ -50551,9 +51373,9 @@ vendor.registration_finished
50551
51373
  vendor.target_facilities
50552
51374
  vendor.pending_invoice
50553
51375
  vendor.vendor_groups`,
50554
- args: args43,
50555
- tool: async (client, args44, ctx) => {
50556
- 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();
50557
51379
  if (!result.ok) {
50558
51380
  return {
50559
51381
  content: [{ type: "text", text: result.error.message }],
@@ -50568,9 +51390,9 @@ vendor.vendor_groups`,
50568
51390
 
50569
51391
  // src/funcs/vendorsListVendorAdditionalFacilityFields.ts
50570
51392
  function vendorsListVendorAdditionalFacilityFields(client, request, options) {
50571
- return new APIPromise($do46(client, request, options));
51393
+ return new APIPromise($do51(client, request, options));
50572
51394
  }
50573
- async function $do46(client, request, options) {
51395
+ async function $do51(client, request, options) {
50574
51396
  const parsed = safeParse(request, (value) => ListVendorAdditionalFacilityFieldsRequest$outboundSchema.parse(value), "Input validation failed");
50575
51397
  if (!parsed.ok) {
50576
51398
  return [haltIterator(parsed), { status: "invalid" }];
@@ -50682,12 +51504,12 @@ var init_vendorsListVendorAdditionalFacilityFields = __esm(() => {
50682
51504
  });
50683
51505
 
50684
51506
  // src/mcp-server/tools/vendorsListVendorAdditionalFacilityFields.ts
50685
- var args44, tool$vendorsListVendorAdditionalFacilityFields;
51507
+ var args49, tool$vendorsListVendorAdditionalFacilityFields;
50686
51508
  var init_vendorsListVendorAdditionalFacilityFields2 = __esm(() => {
50687
51509
  init_vendorsListVendorAdditionalFacilityFields();
50688
51510
  init_operations();
50689
51511
  init_tools();
50690
- args44 = {
51512
+ args49 = {
50691
51513
  request: ListVendorAdditionalFacilityFieldsRequest$inboundSchema
50692
51514
  };
50693
51515
  tool$vendorsListVendorAdditionalFacilityFields = {
@@ -50695,9 +51517,9 @@ var init_vendorsListVendorAdditionalFacilityFields2 = __esm(() => {
50695
51517
  description: `List of vendor's additional facility fields
50696
51518
 
50697
51519
  List of vendor's additional facility fields`,
50698
- args: args44,
50699
- tool: async (client, args45, ctx) => {
50700
- 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();
50701
51523
  if (!result.ok) {
50702
51524
  return {
50703
51525
  content: [{ type: "text", text: result.error.message }],
@@ -50712,9 +51534,9 @@ List of vendor's additional facility fields`,
50712
51534
 
50713
51535
  // src/funcs/vendorsListVendorCredentialDataRequests.ts
50714
51536
  function vendorsListVendorCredentialDataRequests(client, request, options) {
50715
- return new APIPromise($do47(client, request, options));
51537
+ return new APIPromise($do52(client, request, options));
50716
51538
  }
50717
- async function $do47(client, request, options) {
51539
+ async function $do52(client, request, options) {
50718
51540
  const parsed = safeParse(request, (value) => ListVendorCredentialDataRequestsRequest$outboundSchema.parse(value), "Input validation failed");
50719
51541
  if (!parsed.ok) {
50720
51542
  return [parsed, { status: "invalid" }];
@@ -50797,12 +51619,12 @@ var init_vendorsListVendorCredentialDataRequests = __esm(() => {
50797
51619
  });
50798
51620
 
50799
51621
  // src/mcp-server/tools/vendorsListVendorCredentialDataRequests.ts
50800
- var args45, tool$vendorsListVendorCredentialDataRequests;
51622
+ var args50, tool$vendorsListVendorCredentialDataRequests;
50801
51623
  var init_vendorsListVendorCredentialDataRequests2 = __esm(() => {
50802
51624
  init_vendorsListVendorCredentialDataRequests();
50803
51625
  init_operations();
50804
51626
  init_tools();
50805
- args45 = {
51627
+ args50 = {
50806
51628
  request: ListVendorCredentialDataRequestsRequest$inboundSchema
50807
51629
  };
50808
51630
  tool$vendorsListVendorCredentialDataRequests = {
@@ -50815,9 +51637,9 @@ Available \`expand\` scopes are:
50815
51637
 
50816
51638
  - vendor_credential_data_request.vendor_credential
50817
51639
  - vendor_credential_data_request.data_request`,
50818
- args: args45,
50819
- tool: async (client, args46, ctx) => {
50820
- 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();
50821
51643
  if (!result.ok) {
50822
51644
  return {
50823
51645
  content: [{ type: "text", text: result.error.message }],
@@ -50832,9 +51654,9 @@ Available \`expand\` scopes are:
50832
51654
 
50833
51655
  // src/funcs/vendorsListVendorCredentialFiles.ts
50834
51656
  function vendorsListVendorCredentialFiles(client, request, options) {
50835
- return new APIPromise($do48(client, request, options));
51657
+ return new APIPromise($do53(client, request, options));
50836
51658
  }
50837
- async function $do48(client, request, options) {
51659
+ async function $do53(client, request, options) {
50838
51660
  const parsed = safeParse(request, (value) => ListVendorCredentialFilesRequest$outboundSchema.parse(value), "Input validation failed");
50839
51661
  if (!parsed.ok) {
50840
51662
  return [parsed, { status: "invalid" }];
@@ -50917,12 +51739,12 @@ var init_vendorsListVendorCredentialFiles = __esm(() => {
50917
51739
  });
50918
51740
 
50919
51741
  // src/mcp-server/tools/vendorsListVendorCredentialFiles.ts
50920
- var args46, tool$vendorsListVendorCredentialFiles;
51742
+ var args51, tool$vendorsListVendorCredentialFiles;
50921
51743
  var init_vendorsListVendorCredentialFiles2 = __esm(() => {
50922
51744
  init_vendorsListVendorCredentialFiles();
50923
51745
  init_operations();
50924
51746
  init_tools();
50925
- args46 = {
51747
+ args51 = {
50926
51748
  request: ListVendorCredentialFilesRequest$inboundSchema
50927
51749
  };
50928
51750
  tool$vendorsListVendorCredentialFiles = {
@@ -50935,9 +51757,9 @@ Available \`expand\` scopes are:
50935
51757
 
50936
51758
  - vendor_credential_file.vendor_credential
50937
51759
  - vendor_credential_file.credential_document`,
50938
- args: args46,
50939
- tool: async (client, args47, ctx) => {
50940
- 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();
50941
51763
  if (!result.ok) {
50942
51764
  return {
50943
51765
  content: [{ type: "text", text: result.error.message }],
@@ -50952,9 +51774,9 @@ Available \`expand\` scopes are:
50952
51774
 
50953
51775
  // src/funcs/vendorsListVendorCredentialHistory.ts
50954
51776
  function vendorsListVendorCredentialHistory(client, request, options) {
50955
- return new APIPromise($do49(client, request, options));
51777
+ return new APIPromise($do54(client, request, options));
50956
51778
  }
50957
- async function $do49(client, request, options) {
51779
+ async function $do54(client, request, options) {
50958
51780
  const parsed = safeParse(request, (value) => ListVendorCredentialHistoryRequest$outboundSchema.parse(value), "Input validation failed");
50959
51781
  if (!parsed.ok) {
50960
51782
  return [haltIterator(parsed), { status: "invalid" }];
@@ -51069,12 +51891,12 @@ var init_vendorsListVendorCredentialHistory = __esm(() => {
51069
51891
  });
51070
51892
 
51071
51893
  // src/mcp-server/tools/vendorsListVendorCredentialHistory.ts
51072
- var args47, tool$vendorsListVendorCredentialHistory;
51894
+ var args52, tool$vendorsListVendorCredentialHistory;
51073
51895
  var init_vendorsListVendorCredentialHistory2 = __esm(() => {
51074
51896
  init_vendorsListVendorCredentialHistory();
51075
51897
  init_operations();
51076
51898
  init_tools();
51077
- args47 = {
51899
+ args52 = {
51078
51900
  request: ListVendorCredentialHistoryRequest$inboundSchema
51079
51901
  };
51080
51902
  tool$vendorsListVendorCredentialHistory = {
@@ -51082,9 +51904,9 @@ var init_vendorsListVendorCredentialHistory2 = __esm(() => {
51082
51904
  description: `List Vendor Credential History
51083
51905
 
51084
51906
  Lists vendor credentials history`,
51085
- args: args47,
51086
- tool: async (client, args48, ctx) => {
51087
- 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();
51088
51910
  if (!result.ok) {
51089
51911
  return {
51090
51912
  content: [{ type: "text", text: result.error.message }],
@@ -51099,9 +51921,9 @@ Lists vendor credentials history`,
51099
51921
 
51100
51922
  // src/funcs/vendorsListVendorCredentials.ts
51101
51923
  function vendorsListVendorCredentials(client, request, options) {
51102
- return new APIPromise($do50(client, request, options));
51924
+ return new APIPromise($do55(client, request, options));
51103
51925
  }
51104
- async function $do50(client, request, options) {
51926
+ async function $do55(client, request, options) {
51105
51927
  const parsed = safeParse(request, (value) => ListVendorCredentialsRequest$outboundSchema.parse(value), "Input validation failed");
51106
51928
  if (!parsed.ok) {
51107
51929
  return [haltIterator(parsed), { status: "invalid" }];
@@ -51221,12 +52043,12 @@ var init_vendorsListVendorCredentials = __esm(() => {
51221
52043
  });
51222
52044
 
51223
52045
  // src/mcp-server/tools/vendorsListVendorCredentials.ts
51224
- var args48, tool$vendorsListVendorCredentials;
52046
+ var args53, tool$vendorsListVendorCredentials;
51225
52047
  var init_vendorsListVendorCredentials2 = __esm(() => {
51226
52048
  init_vendorsListVendorCredentials();
51227
52049
  init_operations();
51228
52050
  init_tools();
51229
- args48 = {
52051
+ args53 = {
51230
52052
  request: ListVendorCredentialsRequest$inboundSchema
51231
52053
  };
51232
52054
  tool$vendorsListVendorCredentials = {
@@ -51234,9 +52056,9 @@ var init_vendorsListVendorCredentials2 = __esm(() => {
51234
52056
  description: `List Vendor Credentials
51235
52057
 
51236
52058
  Lists vendor credentials, required credentials, and company credentials. Utilized in Vendor Dashboard.`,
51237
- args: args48,
51238
- tool: async (client, args49, ctx) => {
51239
- 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();
51240
52062
  if (!result.ok) {
51241
52063
  return {
51242
52064
  content: [{ type: "text", text: result.error.message }],
@@ -51251,9 +52073,9 @@ Lists vendor credentials, required credentials, and company credentials. Utilize
51251
52073
 
51252
52074
  // src/funcs/vendorsListVendorCredits.ts
51253
52075
  function vendorsListVendorCredits(client, request, options) {
51254
- return new APIPromise($do51(client, request, options));
52076
+ return new APIPromise($do56(client, request, options));
51255
52077
  }
51256
- async function $do51(client, request, options) {
52078
+ async function $do56(client, request, options) {
51257
52079
  const parsed = safeParse(request, (value) => ListVendorCreditsRequest$outboundSchema.parse(value), "Input validation failed");
51258
52080
  if (!parsed.ok) {
51259
52081
  return [haltIterator(parsed), { status: "invalid" }];
@@ -51367,12 +52189,12 @@ var init_vendorsListVendorCredits = __esm(() => {
51367
52189
  });
51368
52190
 
51369
52191
  // src/mcp-server/tools/vendorsListVendorCredits.ts
51370
- var args49, tool$vendorsListVendorCredits;
52192
+ var args54, tool$vendorsListVendorCredits;
51371
52193
  var init_vendorsListVendorCredits2 = __esm(() => {
51372
52194
  init_vendorsListVendorCredits();
51373
52195
  init_operations();
51374
52196
  init_tools();
51375
- args49 = {
52197
+ args54 = {
51376
52198
  request: ListVendorCreditsRequest$inboundSchema
51377
52199
  };
51378
52200
  tool$vendorsListVendorCredits = {
@@ -51380,9 +52202,9 @@ var init_vendorsListVendorCredits2 = __esm(() => {
51380
52202
  description: `List vendor credits
51381
52203
 
51382
52204
  List the credits for the vendor`,
51383
- args: args49,
51384
- tool: async (client, args50, ctx) => {
51385
- 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();
51386
52208
  if (!result.ok) {
51387
52209
  return {
51388
52210
  content: [{ type: "text", text: result.error.message }],
@@ -51397,9 +52219,9 @@ List the credits for the vendor`,
51397
52219
 
51398
52220
  // src/funcs/vendorsListVendorFacilityStatuses.ts
51399
52221
  function vendorsListVendorFacilityStatuses(client, request, options) {
51400
- return new APIPromise($do52(client, request, options));
52222
+ return new APIPromise($do57(client, request, options));
51401
52223
  }
51402
- async function $do52(client, request, options) {
52224
+ async function $do57(client, request, options) {
51403
52225
  const parsed = safeParse(request, (value) => ListVendorFacilityStatusesRequest$outboundSchema.parse(value), "Input validation failed");
51404
52226
  if (!parsed.ok) {
51405
52227
  return [haltIterator(parsed), { status: "invalid" }];
@@ -51517,12 +52339,12 @@ var init_vendorsListVendorFacilityStatuses = __esm(() => {
51517
52339
  });
51518
52340
 
51519
52341
  // src/mcp-server/tools/vendorsListVendorFacilityStatuses.ts
51520
- var args50, tool$vendorsListVendorFacilityStatuses;
52342
+ var args55, tool$vendorsListVendorFacilityStatuses;
51521
52343
  var init_vendorsListVendorFacilityStatuses2 = __esm(() => {
51522
52344
  init_vendorsListVendorFacilityStatuses();
51523
52345
  init_operations();
51524
52346
  init_tools();
51525
- args50 = {
52347
+ args55 = {
51526
52348
  request: ListVendorFacilityStatusesRequest$inboundSchema
51527
52349
  };
51528
52350
  tool$vendorsListVendorFacilityStatuses = {
@@ -51530,9 +52352,9 @@ var init_vendorsListVendorFacilityStatuses2 = __esm(() => {
51530
52352
  description: `List vendor facility statuses
51531
52353
 
51532
52354
  List the facilities for the vendor`,
51533
- args: args50,
51534
- tool: async (client, args51, ctx) => {
51535
- 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();
51536
52358
  if (!result.ok) {
51537
52359
  return {
51538
52360
  content: [{ type: "text", text: result.error.message }],
@@ -51547,9 +52369,9 @@ List the facilities for the vendor`,
51547
52369
 
51548
52370
  // src/funcs/vendorsListVendorInvoices.ts
51549
52371
  function vendorsListVendorInvoices(client, request, options) {
51550
- return new APIPromise($do53(client, request, options));
52372
+ return new APIPromise($do58(client, request, options));
51551
52373
  }
51552
- async function $do53(client, request, options) {
52374
+ async function $do58(client, request, options) {
51553
52375
  const parsed = safeParse(request, (value) => ListVendorInvoicesRequest$outboundSchema.parse(value), "Input validation failed");
51554
52376
  if (!parsed.ok) {
51555
52377
  return [haltIterator(parsed), { status: "invalid" }];
@@ -51667,12 +52489,12 @@ var init_vendorsListVendorInvoices = __esm(() => {
51667
52489
  });
51668
52490
 
51669
52491
  // src/mcp-server/tools/vendorsListVendorInvoices.ts
51670
- var args51, tool$vendorsListVendorInvoices;
52492
+ var args56, tool$vendorsListVendorInvoices;
51671
52493
  var init_vendorsListVendorInvoices2 = __esm(() => {
51672
52494
  init_vendorsListVendorInvoices();
51673
52495
  init_operations();
51674
52496
  init_tools();
51675
- args51 = {
52497
+ args56 = {
51676
52498
  request: ListVendorInvoicesRequest$inboundSchema
51677
52499
  };
51678
52500
  tool$vendorsListVendorInvoices = {
@@ -51684,9 +52506,9 @@ List invoices for Vendors
51684
52506
  Available \`expand\` scopes are:
51685
52507
 
51686
52508
  invoice.line_items`,
51687
- args: args51,
51688
- tool: async (client, args52, ctx) => {
51689
- 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();
51690
52512
  if (!result.ok) {
51691
52513
  return {
51692
52514
  content: [{ type: "text", text: result.error.message }],
@@ -51701,9 +52523,9 @@ invoice.line_items`,
51701
52523
 
51702
52524
  // src/funcs/vendorsListVendorJobTitles.ts
51703
52525
  function vendorsListVendorJobTitles(client, request, options) {
51704
- return new APIPromise($do54(client, request, options));
52526
+ return new APIPromise($do59(client, request, options));
51705
52527
  }
51706
- async function $do54(client, request, options) {
52528
+ async function $do59(client, request, options) {
51707
52529
  const parsed = safeParse(request, (value) => ListVendorJobTitlesRequest$outboundSchema.parse(value), "Input validation failed");
51708
52530
  if (!parsed.ok) {
51709
52531
  return [haltIterator(parsed), { status: "invalid" }];
@@ -51812,12 +52634,12 @@ var init_vendorsListVendorJobTitles = __esm(() => {
51812
52634
  });
51813
52635
 
51814
52636
  // src/mcp-server/tools/vendorsListVendorJobTitles.ts
51815
- var args52, tool$vendorsListVendorJobTitles;
52637
+ var args57, tool$vendorsListVendorJobTitles;
51816
52638
  var init_vendorsListVendorJobTitles2 = __esm(() => {
51817
52639
  init_vendorsListVendorJobTitles();
51818
52640
  init_operations();
51819
52641
  init_tools();
51820
- args52 = {
52642
+ args57 = {
51821
52643
  request: ListVendorJobTitlesRequest$inboundSchema
51822
52644
  };
51823
52645
  tool$vendorsListVendorJobTitles = {
@@ -51825,9 +52647,9 @@ var init_vendorsListVendorJobTitles2 = __esm(() => {
51825
52647
  description: `List vendor job titles
51826
52648
 
51827
52649
  List valid job titles for Vendors. This can be used during sign up or in a filter.`,
51828
- args: args52,
51829
- tool: async (client, args53, ctx) => {
51830
- 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();
51831
52653
  if (!result.ok) {
51832
52654
  return {
51833
52655
  content: [{ type: "text", text: result.error.message }],
@@ -51842,9 +52664,9 @@ List valid job titles for Vendors. This can be used during sign up or in a filte
51842
52664
 
51843
52665
  // src/funcs/vendorsListVendorManagedByCompanies.ts
51844
52666
  function vendorsListVendorManagedByCompanies(client, request, options) {
51845
- return new APIPromise($do55(client, request, options));
52667
+ return new APIPromise($do60(client, request, options));
51846
52668
  }
51847
- async function $do55(client, request, options) {
52669
+ async function $do60(client, request, options) {
51848
52670
  const parsed = safeParse(request, (value) => ListVendorManagedByCompaniesRequest$outboundSchema.parse(value), "Input validation failed");
51849
52671
  if (!parsed.ok) {
51850
52672
  return [haltIterator(parsed), { status: "invalid" }];
@@ -51958,12 +52780,12 @@ var init_vendorsListVendorManagedByCompanies = __esm(() => {
51958
52780
  });
51959
52781
 
51960
52782
  // src/mcp-server/tools/vendorsListVendorManagedByCompanies.ts
51961
- var args53, tool$vendorsListVendorManagedByCompanies;
52783
+ var args58, tool$vendorsListVendorManagedByCompanies;
51962
52784
  var init_vendorsListVendorManagedByCompanies2 = __esm(() => {
51963
52785
  init_vendorsListVendorManagedByCompanies();
51964
52786
  init_operations();
51965
52787
  init_tools();
51966
- args53 = {
52788
+ args58 = {
51967
52789
  request: ListVendorManagedByCompaniesRequest$inboundSchema
51968
52790
  };
51969
52791
  tool$vendorsListVendorManagedByCompanies = {
@@ -51971,9 +52793,9 @@ var init_vendorsListVendorManagedByCompanies2 = __esm(() => {
51971
52793
  description: `List of companies managing the vendor
51972
52794
 
51973
52795
  List of companies managing the vendor`,
51974
- args: args53,
51975
- tool: async (client, args54, ctx) => {
51976
- 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();
51977
52799
  if (!result.ok) {
51978
52800
  return {
51979
52801
  content: [{ type: "text", text: result.error.message }],
@@ -51988,9 +52810,9 @@ List of companies managing the vendor`,
51988
52810
 
51989
52811
  // src/funcs/vendorsListVendorScrubDetails.ts
51990
52812
  function vendorsListVendorScrubDetails(client, request, options) {
51991
- return new APIPromise($do56(client, request, options));
52813
+ return new APIPromise($do61(client, request, options));
51992
52814
  }
51993
- async function $do56(client, request, options) {
52815
+ async function $do61(client, request, options) {
51994
52816
  const parsed = safeParse(request, (value) => ListVendorScrubDetailsRequest$outboundSchema.parse(value), "Input validation failed");
51995
52817
  if (!parsed.ok) {
51996
52818
  return [parsed, { status: "invalid" }];
@@ -52066,12 +52888,12 @@ var init_vendorsListVendorScrubDetails = __esm(() => {
52066
52888
  });
52067
52889
 
52068
52890
  // src/mcp-server/tools/vendorsListVendorScrubDetails.ts
52069
- var args54, tool$vendorsListVendorScrubDetails;
52891
+ var args59, tool$vendorsListVendorScrubDetails;
52070
52892
  var init_vendorsListVendorScrubDetails2 = __esm(() => {
52071
52893
  init_vendorsListVendorScrubDetails();
52072
52894
  init_operations();
52073
52895
  init_tools();
52074
- args54 = {
52896
+ args59 = {
52075
52897
  request: ListVendorScrubDetailsRequest$inboundSchema
52076
52898
  };
52077
52899
  tool$vendorsListVendorScrubDetails = {
@@ -52079,9 +52901,9 @@ var init_vendorsListVendorScrubDetails2 = __esm(() => {
52079
52901
  description: `List vendor scrub details
52080
52902
 
52081
52903
  List vendor scrub details`,
52082
- args: args54,
52083
- tool: async (client, args55, ctx) => {
52084
- 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();
52085
52907
  if (!result.ok) {
52086
52908
  return {
52087
52909
  content: [{ type: "text", text: result.error.message }],
@@ -52096,9 +52918,9 @@ List vendor scrub details`,
52096
52918
 
52097
52919
  // src/funcs/vendorsListVendorScrubPackages.ts
52098
52920
  function vendorsListVendorScrubPackages(client, request, options) {
52099
- return new APIPromise($do57(client, request, options));
52921
+ return new APIPromise($do62(client, request, options));
52100
52922
  }
52101
- async function $do57(client, request, options) {
52923
+ async function $do62(client, request, options) {
52102
52924
  const parsed = safeParse(request, (value) => ListVendorScrubPackagesRequest$outboundSchema.parse(value), "Input validation failed");
52103
52925
  if (!parsed.ok) {
52104
52926
  return [haltIterator(parsed), { status: "invalid" }];
@@ -52212,12 +53034,12 @@ var init_vendorsListVendorScrubPackages = __esm(() => {
52212
53034
  });
52213
53035
 
52214
53036
  // src/mcp-server/tools/vendorsListVendorScrubPackages.ts
52215
- var args55, tool$vendorsListVendorScrubPackages;
53037
+ var args60, tool$vendorsListVendorScrubPackages;
52216
53038
  var init_vendorsListVendorScrubPackages2 = __esm(() => {
52217
53039
  init_vendorsListVendorScrubPackages();
52218
53040
  init_operations();
52219
53041
  init_tools();
52220
- args55 = {
53042
+ args60 = {
52221
53043
  request: ListVendorScrubPackagesRequest$inboundSchema
52222
53044
  };
52223
53045
  tool$vendorsListVendorScrubPackages = {
@@ -52225,9 +53047,9 @@ var init_vendorsListVendorScrubPackages2 = __esm(() => {
52225
53047
  description: `List vendor scrub packages
52226
53048
 
52227
53049
  List vendor scrub packages`,
52228
- args: args55,
52229
- tool: async (client, args56, ctx) => {
52230
- 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();
52231
53053
  if (!result.ok) {
52232
53054
  return {
52233
53055
  content: [{ type: "text", text: result.error.message }],
@@ -52242,9 +53064,9 @@ List vendor scrub packages`,
52242
53064
 
52243
53065
  // src/funcs/vendorsListVendorScrubPurchases.ts
52244
53066
  function vendorsListVendorScrubPurchases(client, request, options) {
52245
- return new APIPromise($do58(client, request, options));
53067
+ return new APIPromise($do63(client, request, options));
52246
53068
  }
52247
- async function $do58(client, request, options) {
53069
+ async function $do63(client, request, options) {
52248
53070
  const parsed = safeParse(request, (value) => ListVendorScrubPurchasesRequest$outboundSchema.parse(value), "Input validation failed");
52249
53071
  if (!parsed.ok) {
52250
53072
  return [haltIterator(parsed), { status: "invalid" }];
@@ -52358,12 +53180,12 @@ var init_vendorsListVendorScrubPurchases = __esm(() => {
52358
53180
  });
52359
53181
 
52360
53182
  // src/mcp-server/tools/vendorsListVendorScrubPurchases.ts
52361
- var args56, tool$vendorsListVendorScrubPurchases;
53183
+ var args61, tool$vendorsListVendorScrubPurchases;
52362
53184
  var init_vendorsListVendorScrubPurchases2 = __esm(() => {
52363
53185
  init_vendorsListVendorScrubPurchases();
52364
53186
  init_operations();
52365
53187
  init_tools();
52366
- args56 = {
53188
+ args61 = {
52367
53189
  request: ListVendorScrubPurchasesRequest$inboundSchema
52368
53190
  };
52369
53191
  tool$vendorsListVendorScrubPurchases = {
@@ -52371,9 +53193,9 @@ var init_vendorsListVendorScrubPurchases2 = __esm(() => {
52371
53193
  description: `List vendor scrub purchases
52372
53194
 
52373
53195
  List vendor scrub purchases`,
52374
- args: args56,
52375
- tool: async (client, args57, ctx) => {
52376
- 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();
52377
53199
  if (!result.ok) {
52378
53200
  return {
52379
53201
  content: [{ type: "text", text: result.error.message }],
@@ -52388,9 +53210,9 @@ List vendor scrub purchases`,
52388
53210
 
52389
53211
  // src/funcs/vendorsListVendorTypes.ts
52390
53212
  function vendorsListVendorTypes(client, request, options) {
52391
- return new APIPromise($do59(client, request, options));
53213
+ return new APIPromise($do64(client, request, options));
52392
53214
  }
52393
- async function $do59(client, request, options) {
53215
+ async function $do64(client, request, options) {
52394
53216
  const parsed = safeParse(request, (value) => ListVendorTypesRequest$outboundSchema.parse(value), "Input validation failed");
52395
53217
  if (!parsed.ok) {
52396
53218
  return [haltIterator(parsed), { status: "invalid" }];
@@ -52498,12 +53320,12 @@ var init_vendorsListVendorTypes = __esm(() => {
52498
53320
  });
52499
53321
 
52500
53322
  // src/mcp-server/tools/vendorsListVendorTypes.ts
52501
- var args57, tool$vendorsListVendorTypes;
53323
+ var args62, tool$vendorsListVendorTypes;
52502
53324
  var init_vendorsListVendorTypes2 = __esm(() => {
52503
53325
  init_vendorsListVendorTypes();
52504
53326
  init_operations();
52505
53327
  init_tools();
52506
- args57 = {
53328
+ args62 = {
52507
53329
  request: ListVendorTypesRequest$inboundSchema
52508
53330
  };
52509
53331
  tool$vendorsListVendorTypes = {
@@ -52511,9 +53333,9 @@ var init_vendorsListVendorTypes2 = __esm(() => {
52511
53333
  description: `List vendor types
52512
53334
 
52513
53335
  List vendor types.`,
52514
- args: args57,
52515
- tool: async (client, args58, ctx) => {
52516
- 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();
52517
53339
  if (!result.ok) {
52518
53340
  return {
52519
53341
  content: [{ type: "text", text: result.error.message }],
@@ -52528,9 +53350,9 @@ List vendor types.`,
52528
53350
 
52529
53351
  // src/funcs/vendorsPurchaseScrubCredits.ts
52530
53352
  function vendorsPurchaseScrubCredits(client, request, options) {
52531
- return new APIPromise($do60(client, request, options));
53353
+ return new APIPromise($do65(client, request, options));
52532
53354
  }
52533
- async function $do60(client, request, options) {
53355
+ async function $do65(client, request, options) {
52534
53356
  const parsed = safeParse(request, (value) => PurchaseScrubCreditsRequest$outboundSchema.parse(value), "Input validation failed");
52535
53357
  if (!parsed.ok) {
52536
53358
  return [parsed, { status: "invalid" }];
@@ -52606,12 +53428,12 @@ var init_vendorsPurchaseScrubCredits = __esm(() => {
52606
53428
  });
52607
53429
 
52608
53430
  // src/mcp-server/tools/vendorsPurchaseScrubCredits.ts
52609
- var args58, tool$vendorsPurchaseScrubCredits;
53431
+ var args63, tool$vendorsPurchaseScrubCredits;
52610
53432
  var init_vendorsPurchaseScrubCredits2 = __esm(() => {
52611
53433
  init_vendorsPurchaseScrubCredits();
52612
53434
  init_operations();
52613
53435
  init_tools();
52614
- args58 = {
53436
+ args63 = {
52615
53437
  request: PurchaseScrubCreditsRequest$inboundSchema
52616
53438
  };
52617
53439
  tool$vendorsPurchaseScrubCredits = {
@@ -52619,9 +53441,9 @@ var init_vendorsPurchaseScrubCredits2 = __esm(() => {
52619
53441
  description: `Purchase scrub credits
52620
53442
 
52621
53443
  Purchase scrub credits`,
52622
- args: args58,
52623
- tool: async (client, args59, ctx) => {
52624
- 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();
52625
53447
  if (!result.ok) {
52626
53448
  return {
52627
53449
  content: [{ type: "text", text: result.error.message }],
@@ -52636,9 +53458,9 @@ Purchase scrub credits`,
52636
53458
 
52637
53459
  // src/funcs/vendorsSendDownloadCode.ts
52638
53460
  function vendorsSendDownloadCode(client, request, options) {
52639
- return new APIPromise($do61(client, request, options));
53461
+ return new APIPromise($do66(client, request, options));
52640
53462
  }
52641
- async function $do61(client, request, options) {
53463
+ async function $do66(client, request, options) {
52642
53464
  const parsed = safeParse(request, (value) => SendDownloadCodeRequest$outboundSchema.parse(value), "Input validation failed");
52643
53465
  if (!parsed.ok) {
52644
53466
  return [parsed, { status: "invalid" }];
@@ -52712,12 +53534,12 @@ var init_vendorsSendDownloadCode = __esm(() => {
52712
53534
  });
52713
53535
 
52714
53536
  // src/mcp-server/tools/vendorsSendDownloadCode.ts
52715
- var args59, tool$vendorsSendDownloadCode;
53537
+ var args64, tool$vendorsSendDownloadCode;
52716
53538
  var init_vendorsSendDownloadCode2 = __esm(() => {
52717
53539
  init_vendorsSendDownloadCode();
52718
53540
  init_operations();
52719
53541
  init_tools();
52720
- args59 = {
53542
+ args64 = {
52721
53543
  request: SendDownloadCodeRequest$inboundSchema
52722
53544
  };
52723
53545
  tool$vendorsSendDownloadCode = {
@@ -52725,9 +53547,9 @@ var init_vendorsSendDownloadCode2 = __esm(() => {
52725
53547
  description: `Send download code for vendor credential
52726
53548
 
52727
53549
  It will send download code for vendor credential`,
52728
- args: args59,
52729
- tool: async (client, args60, ctx) => {
52730
- 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();
52731
53553
  if (!result.ok) {
52732
53554
  return {
52733
53555
  content: [{ type: "text", text: result.error.message }],
@@ -52742,9 +53564,9 @@ It will send download code for vendor credential`,
52742
53564
 
52743
53565
  // src/funcs/vendorsSubmitVendorCredential.ts
52744
53566
  function vendorsSubmitVendorCredential(client, request, options) {
52745
- return new APIPromise($do62(client, request, options));
53567
+ return new APIPromise($do67(client, request, options));
52746
53568
  }
52747
- async function $do62(client, request, options) {
53569
+ async function $do67(client, request, options) {
52748
53570
  const parsed = safeParse(request, (value) => SubmitVendorCredentialRequest$outboundSchema.parse(value), "Input validation failed");
52749
53571
  if (!parsed.ok) {
52750
53572
  return [parsed, { status: "invalid" }];
@@ -52818,12 +53640,12 @@ var init_vendorsSubmitVendorCredential = __esm(() => {
52818
53640
  });
52819
53641
 
52820
53642
  // src/mcp-server/tools/vendorsSubmitVendorCredential.ts
52821
- var args60, tool$vendorsSubmitVendorCredential;
53643
+ var args65, tool$vendorsSubmitVendorCredential;
52822
53644
  var init_vendorsSubmitVendorCredential2 = __esm(() => {
52823
53645
  init_vendorsSubmitVendorCredential();
52824
53646
  init_operations();
52825
53647
  init_tools();
52826
- args60 = {
53648
+ args65 = {
52827
53649
  request: SubmitVendorCredentialRequest$inboundSchema
52828
53650
  };
52829
53651
  tool$vendorsSubmitVendorCredential = {
@@ -52831,9 +53653,9 @@ var init_vendorsSubmitVendorCredential2 = __esm(() => {
52831
53653
  description: `Submit vendor credential
52832
53654
 
52833
53655
  It will submit vendor credential`,
52834
- args: args60,
52835
- tool: async (client, args61, ctx) => {
52836
- 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();
52837
53659
  if (!result.ok) {
52838
53660
  return {
52839
53661
  content: [{ type: "text", text: result.error.message }],
@@ -52848,9 +53670,9 @@ It will submit vendor credential`,
52848
53670
 
52849
53671
  // src/funcs/vendorsUpdateVendorCredentialData.ts
52850
53672
  function vendorsUpdateVendorCredentialData(client, request, options) {
52851
- return new APIPromise($do63(client, request, options));
53673
+ return new APIPromise($do68(client, request, options));
52852
53674
  }
52853
- async function $do63(client, request, options) {
53675
+ async function $do68(client, request, options) {
52854
53676
  const parsed = safeParse(request, (value) => UpdateVendorCredentialDataRequest$outboundSchema.parse(value), "Input validation failed");
52855
53677
  if (!parsed.ok) {
52856
53678
  return [parsed, { status: "invalid" }];
@@ -52931,12 +53753,12 @@ var init_vendorsUpdateVendorCredentialData = __esm(() => {
52931
53753
  });
52932
53754
 
52933
53755
  // src/mcp-server/tools/vendorsUpdateVendorCredentialData.ts
52934
- var args61, tool$vendorsUpdateVendorCredentialData;
53756
+ var args66, tool$vendorsUpdateVendorCredentialData;
52935
53757
  var init_vendorsUpdateVendorCredentialData2 = __esm(() => {
52936
53758
  init_vendorsUpdateVendorCredentialData();
52937
53759
  init_operations();
52938
53760
  init_tools();
52939
- args61 = {
53761
+ args66 = {
52940
53762
  request: UpdateVendorCredentialDataRequest$inboundSchema
52941
53763
  };
52942
53764
  tool$vendorsUpdateVendorCredentialData = {
@@ -52944,9 +53766,9 @@ var init_vendorsUpdateVendorCredentialData2 = __esm(() => {
52944
53766
  description: `Update vendor credential data
52945
53767
 
52946
53768
  Update vendor credential data`,
52947
- args: args61,
52948
- tool: async (client, args62, ctx) => {
52949
- 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();
52950
53772
  if (!result.ok) {
52951
53773
  return {
52952
53774
  content: [{ type: "text", text: result.error.message }],
@@ -52961,9 +53783,9 @@ Update vendor credential data`,
52961
53783
 
52962
53784
  // src/funcs/vendorsUpdateVendorCredentialFile.ts
52963
53785
  function vendorsUpdateVendorCredentialFile(client, request, options) {
52964
- return new APIPromise($do64(client, request, options));
53786
+ return new APIPromise($do69(client, request, options));
52965
53787
  }
52966
- async function $do64(client, request, options) {
53788
+ async function $do69(client, request, options) {
52967
53789
  const parsed = safeParse(request, (value) => UpdateVendorCredentialFileRequest$outboundSchema.parse(value), "Input validation failed");
52968
53790
  if (!parsed.ok) {
52969
53791
  return [parsed, { status: "invalid" }];
@@ -53041,12 +53863,12 @@ var init_vendorsUpdateVendorCredentialFile = __esm(() => {
53041
53863
  });
53042
53864
 
53043
53865
  // src/mcp-server/tools/vendorsUpdateVendorCredentialFile.ts
53044
- var args62, tool$vendorsUpdateVendorCredentialFile;
53866
+ var args67, tool$vendorsUpdateVendorCredentialFile;
53045
53867
  var init_vendorsUpdateVendorCredentialFile2 = __esm(() => {
53046
53868
  init_vendorsUpdateVendorCredentialFile();
53047
53869
  init_operations();
53048
53870
  init_tools();
53049
- args62 = {
53871
+ args67 = {
53050
53872
  request: UpdateVendorCredentialFileRequest$inboundSchema
53051
53873
  };
53052
53874
  tool$vendorsUpdateVendorCredentialFile = {
@@ -53054,9 +53876,9 @@ var init_vendorsUpdateVendorCredentialFile2 = __esm(() => {
53054
53876
  description: `Update vendor credential file
53055
53877
 
53056
53878
  It will update the vendor credential file properties`,
53057
- args: args62,
53058
- tool: async (client, args63, ctx) => {
53059
- 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();
53060
53882
  if (!result.ok) {
53061
53883
  return {
53062
53884
  content: [{ type: "text", text: result.error.message }],
@@ -53071,9 +53893,9 @@ It will update the vendor credential file properties`,
53071
53893
 
53072
53894
  // src/funcs/vendorsUpdateVendorDetails.ts
53073
53895
  function vendorsUpdateVendorDetails(client, request, options) {
53074
- return new APIPromise($do65(client, request, options));
53896
+ return new APIPromise($do70(client, request, options));
53075
53897
  }
53076
- async function $do65(client, request, options) {
53898
+ async function $do70(client, request, options) {
53077
53899
  const parsed = safeParse(request, (value) => UpdateVendorDetailsRequest$outboundSchema.parse(value), "Input validation failed");
53078
53900
  if (!parsed.ok) {
53079
53901
  return [parsed, { status: "invalid" }];
@@ -53150,12 +53972,12 @@ var init_vendorsUpdateVendorDetails = __esm(() => {
53150
53972
  });
53151
53973
 
53152
53974
  // src/mcp-server/tools/vendorsUpdateVendorDetails.ts
53153
- var args63, tool$vendorsUpdateVendorDetails;
53975
+ var args68, tool$vendorsUpdateVendorDetails;
53154
53976
  var init_vendorsUpdateVendorDetails2 = __esm(() => {
53155
53977
  init_vendorsUpdateVendorDetails();
53156
53978
  init_operations();
53157
53979
  init_tools();
53158
- args63 = {
53980
+ args68 = {
53159
53981
  request: UpdateVendorDetailsRequest$inboundSchema
53160
53982
  };
53161
53983
  tool$vendorsUpdateVendorDetails = {
@@ -53163,9 +53985,9 @@ var init_vendorsUpdateVendorDetails2 = __esm(() => {
53163
53985
  description: `Update vendor details
53164
53986
 
53165
53987
  It will update the vendor details`,
53166
- args: args63,
53167
- tool: async (client, args64, ctx) => {
53168
- 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();
53169
53991
  if (!result.ok) {
53170
53992
  return {
53171
53993
  content: [{ type: "text", text: result.error.message }],
@@ -53180,9 +54002,9 @@ It will update the vendor details`,
53180
54002
 
53181
54003
  // src/funcs/vendorsUpdateVendorManagedByCompany.ts
53182
54004
  function vendorsUpdateVendorManagedByCompany(client, request, options) {
53183
- return new APIPromise($do66(client, request, options));
54005
+ return new APIPromise($do71(client, request, options));
53184
54006
  }
53185
- async function $do66(client, request, options) {
54007
+ async function $do71(client, request, options) {
53186
54008
  const parsed = safeParse(request, (value) => UpdateVendorManagedByCompanyRequest$outboundSchema.parse(value), "Input validation failed");
53187
54009
  if (!parsed.ok) {
53188
54010
  return [parsed, { status: "invalid" }];
@@ -53258,12 +54080,12 @@ var init_vendorsUpdateVendorManagedByCompany = __esm(() => {
53258
54080
  });
53259
54081
 
53260
54082
  // src/mcp-server/tools/vendorsUpdateVendorManagedByCompany.ts
53261
- var args64, tool$vendorsUpdateVendorManagedByCompany;
54083
+ var args69, tool$vendorsUpdateVendorManagedByCompany;
53262
54084
  var init_vendorsUpdateVendorManagedByCompany2 = __esm(() => {
53263
54085
  init_vendorsUpdateVendorManagedByCompany();
53264
54086
  init_operations();
53265
54087
  init_tools();
53266
- args64 = {
54088
+ args69 = {
53267
54089
  request: UpdateVendorManagedByCompanyRequest$inboundSchema
53268
54090
  };
53269
54091
  tool$vendorsUpdateVendorManagedByCompany = {
@@ -53271,9 +54093,9 @@ var init_vendorsUpdateVendorManagedByCompany2 = __esm(() => {
53271
54093
  description: `Update vendor managed by company access rights
53272
54094
 
53273
54095
  It will update the vendor managed by company access rights`,
53274
- args: args64,
53275
- tool: async (client, args65, ctx) => {
53276
- 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();
53277
54099
  if (!result.ok) {
53278
54100
  return {
53279
54101
  content: [{ type: "text", text: result.error.message }],
@@ -53288,9 +54110,9 @@ It will update the vendor managed by company access rights`,
53288
54110
 
53289
54111
  // src/funcs/vendorsUpdateVendorScrubDetails.ts
53290
54112
  function vendorsUpdateVendorScrubDetails(client, request, options) {
53291
- return new APIPromise($do67(client, request, options));
54113
+ return new APIPromise($do72(client, request, options));
53292
54114
  }
53293
- async function $do67(client, request, options) {
54115
+ async function $do72(client, request, options) {
53294
54116
  const parsed = safeParse(request, (value) => UpdateVendorScrubDetailsRequest$outboundSchema.parse(value), "Input validation failed");
53295
54117
  if (!parsed.ok) {
53296
54118
  return [parsed, { status: "invalid" }];
@@ -53367,12 +54189,12 @@ var init_vendorsUpdateVendorScrubDetails = __esm(() => {
53367
54189
  });
53368
54190
 
53369
54191
  // src/mcp-server/tools/vendorsUpdateVendorScrubDetails.ts
53370
- var args65, tool$vendorsUpdateVendorScrubDetails;
54192
+ var args70, tool$vendorsUpdateVendorScrubDetails;
53371
54193
  var init_vendorsUpdateVendorScrubDetails2 = __esm(() => {
53372
54194
  init_vendorsUpdateVendorScrubDetails();
53373
54195
  init_operations();
53374
54196
  init_tools();
53375
- args65 = {
54197
+ args70 = {
53376
54198
  request: UpdateVendorScrubDetailsRequest$inboundSchema
53377
54199
  };
53378
54200
  tool$vendorsUpdateVendorScrubDetails = {
@@ -53380,9 +54202,9 @@ var init_vendorsUpdateVendorScrubDetails2 = __esm(() => {
53380
54202
  description: `Update vendor scrub details
53381
54203
 
53382
54204
  Update vendor scrub details`,
53383
- args: args65,
53384
- tool: async (client, args66, ctx) => {
53385
- 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();
53386
54208
  if (!result.ok) {
53387
54209
  return {
53388
54210
  content: [{ type: "text", text: result.error.message }],
@@ -53397,9 +54219,9 @@ Update vendor scrub details`,
53397
54219
 
53398
54220
  // src/funcs/webhooksGetWebhookEndpoint.ts
53399
54221
  function webhooksGetWebhookEndpoint(client, request, options) {
53400
- return new APIPromise($do68(client, request, options));
54222
+ return new APIPromise($do73(client, request, options));
53401
54223
  }
53402
- async function $do68(client, request, options) {
54224
+ async function $do73(client, request, options) {
53403
54225
  const parsed = safeParse(request, (value) => GetWebhookEndpointRequest$outboundSchema.parse(value), "Input validation failed");
53404
54226
  if (!parsed.ok) {
53405
54227
  return [parsed, { status: "invalid" }];
@@ -53475,12 +54297,12 @@ var init_webhooksGetWebhookEndpoint = __esm(() => {
53475
54297
  });
53476
54298
 
53477
54299
  // src/mcp-server/tools/webhooksGetWebhookEndpoint.ts
53478
- var args66, tool$webhooksGetWebhookEndpoint;
54300
+ var args71, tool$webhooksGetWebhookEndpoint;
53479
54301
  var init_webhooksGetWebhookEndpoint2 = __esm(() => {
53480
54302
  init_webhooksGetWebhookEndpoint();
53481
54303
  init_operations();
53482
54304
  init_tools();
53483
- args66 = {
54305
+ args71 = {
53484
54306
  request: GetWebhookEndpointRequest$inboundSchema
53485
54307
  };
53486
54308
  tool$webhooksGetWebhookEndpoint = {
@@ -53488,9 +54310,9 @@ var init_webhooksGetWebhookEndpoint2 = __esm(() => {
53488
54310
  description: `Retrieves the webhook endpoint with the given ID.
53489
54311
 
53490
54312
  Returns the definition of a webhook endpoint by ID.`,
53491
- args: args66,
53492
- tool: async (client, args67, ctx) => {
53493
- 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();
53494
54316
  if (!result.ok) {
53495
54317
  return {
53496
54318
  content: [{ type: "text", text: result.error.message }],
@@ -53505,9 +54327,9 @@ Returns the definition of a webhook endpoint by ID.`,
53505
54327
 
53506
54328
  // src/funcs/webhooksListAllWebhookEndpoints.ts
53507
54329
  function webhooksListAllWebhookEndpoints(client, request, options) {
53508
- return new APIPromise($do69(client, request, options));
54330
+ return new APIPromise($do74(client, request, options));
53509
54331
  }
53510
- async function $do69(client, request, options) {
54332
+ async function $do74(client, request, options) {
53511
54333
  const parsed = safeParse(request, (value) => ListAllWebhookEndpointsRequest$outboundSchema.parse(value), "Input validation failed");
53512
54334
  if (!parsed.ok) {
53513
54335
  return [parsed, { status: "invalid" }];
@@ -53583,12 +54405,12 @@ var init_webhooksListAllWebhookEndpoints = __esm(() => {
53583
54405
  });
53584
54406
 
53585
54407
  // src/mcp-server/tools/webhooksListAllWebhookEndpoints.ts
53586
- var args67, tool$webhooksListAllWebhookEndpoints;
54408
+ var args72, tool$webhooksListAllWebhookEndpoints;
53587
54409
  var init_webhooksListAllWebhookEndpoints2 = __esm(() => {
53588
54410
  init_webhooksListAllWebhookEndpoints();
53589
54411
  init_operations();
53590
54412
  init_tools();
53591
- args67 = {
54413
+ args72 = {
53592
54414
  request: ListAllWebhookEndpointsRequest$inboundSchema
53593
54415
  };
53594
54416
  tool$webhooksListAllWebhookEndpoints = {
@@ -53596,9 +54418,9 @@ var init_webhooksListAllWebhookEndpoints2 = __esm(() => {
53596
54418
  description: `List all webhook endpoints
53597
54419
 
53598
54420
  Returns a list of your webhook endpoints.`,
53599
- args: args67,
53600
- tool: async (client, args68, ctx) => {
53601
- 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();
53602
54424
  if (!result.ok) {
53603
54425
  return {
53604
54426
  content: [{ type: "text", text: result.error.message }],
@@ -53613,9 +54435,9 @@ Returns a list of your webhook endpoints.`,
53613
54435
 
53614
54436
  // src/funcs/webhooksUpdatesTheWebhookEndpointWithTheGivenId.ts
53615
54437
  function webhooksUpdatesTheWebhookEndpointWithTheGivenId(client, request, options) {
53616
- return new APIPromise($do70(client, request, options));
54438
+ return new APIPromise($do75(client, request, options));
53617
54439
  }
53618
- async function $do70(client, request, options) {
54440
+ async function $do75(client, request, options) {
53619
54441
  const parsed = safeParse(request, (value) => UpdatesTheWebhookEndpointWithTheGivenIdRequest$outboundSchema.parse(value), "Input validation failed");
53620
54442
  if (!parsed.ok) {
53621
54443
  return [parsed, { status: "invalid" }];
@@ -53692,12 +54514,12 @@ var init_webhooksUpdatesTheWebhookEndpointWithTheGivenId = __esm(() => {
53692
54514
  });
53693
54515
 
53694
54516
  // src/mcp-server/tools/webhooksUpdatesTheWebhookEndpointWithTheGivenId.ts
53695
- var args68, tool$webhooksUpdatesTheWebhookEndpointWithTheGivenId;
54517
+ var args73, tool$webhooksUpdatesTheWebhookEndpointWithTheGivenId;
53696
54518
  var init_webhooksUpdatesTheWebhookEndpointWithTheGivenId2 = __esm(() => {
53697
54519
  init_webhooksUpdatesTheWebhookEndpointWithTheGivenId();
53698
54520
  init_operations();
53699
54521
  init_tools();
53700
- args68 = {
54522
+ args73 = {
53701
54523
  request: UpdatesTheWebhookEndpointWithTheGivenIdRequest$inboundSchema
53702
54524
  };
53703
54525
  tool$webhooksUpdatesTheWebhookEndpointWithTheGivenId = {
@@ -53705,9 +54527,9 @@ var init_webhooksUpdatesTheWebhookEndpointWithTheGivenId2 = __esm(() => {
53705
54527
  description: `Updates the webhook endpoint with the given ID.
53706
54528
 
53707
54529
  Updates the webhook endpoint with the given ID.`,
53708
- args: args68,
53709
- tool: async (client, args69, ctx) => {
53710
- 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();
53711
54533
  if (!result.ok) {
53712
54534
  return {
53713
54535
  content: [{ type: "text", text: result.error.message }],
@@ -53722,9 +54544,9 @@ Updates the webhook endpoint with the given ID.`,
53722
54544
 
53723
54545
  // src/funcs/zonesGetSecurityZone.ts
53724
54546
  function zonesGetSecurityZone(client, request, options) {
53725
- return new APIPromise($do71(client, request, options));
54547
+ return new APIPromise($do76(client, request, options));
53726
54548
  }
53727
- async function $do71(client, request, options) {
54549
+ async function $do76(client, request, options) {
53728
54550
  const parsed = safeParse(request, (value) => GetSecurityZoneRequest$outboundSchema.parse(value), "Input validation failed");
53729
54551
  if (!parsed.ok) {
53730
54552
  return [parsed, { status: "invalid" }];
@@ -53804,12 +54626,12 @@ var init_zonesGetSecurityZone = __esm(() => {
53804
54626
  });
53805
54627
 
53806
54628
  // src/mcp-server/tools/zonesGetSecurityZone.ts
53807
- var args69, tool$zonesGetSecurityZone;
54629
+ var args74, tool$zonesGetSecurityZone;
53808
54630
  var init_zonesGetSecurityZone2 = __esm(() => {
53809
54631
  init_zonesGetSecurityZone();
53810
54632
  init_operations();
53811
54633
  init_tools();
53812
- args69 = {
54634
+ args74 = {
53813
54635
  request: GetSecurityZoneRequest$inboundSchema
53814
54636
  };
53815
54637
  tool$zonesGetSecurityZone = {
@@ -53823,9 +54645,9 @@ Available \`expand\` scopes are:
53823
54645
  - zone.facility
53824
54646
  - zone.department
53825
54647
  - zone.rules`,
53826
- args: args69,
53827
- tool: async (client, args70, ctx) => {
53828
- 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();
53829
54651
  if (!result.ok) {
53830
54652
  return {
53831
54653
  content: [{ type: "text", text: result.error.message }],
@@ -53840,9 +54662,9 @@ Available \`expand\` scopes are:
53840
54662
 
53841
54663
  // src/funcs/zonesListOrSearchSecurityZones.ts
53842
54664
  function zonesListOrSearchSecurityZones(client, request, options) {
53843
- return new APIPromise($do72(client, request, options));
54665
+ return new APIPromise($do77(client, request, options));
53844
54666
  }
53845
- async function $do72(client, request, options) {
54667
+ async function $do77(client, request, options) {
53846
54668
  const parsed = safeParse(request, (value) => ListOrSearchSecurityZonesRequest$outboundSchema.parse(value), "Input validation failed");
53847
54669
  if (!parsed.ok) {
53848
54670
  return [haltIterator(parsed), { status: "invalid" }];
@@ -53956,12 +54778,12 @@ var init_zonesListOrSearchSecurityZones = __esm(() => {
53956
54778
  });
53957
54779
 
53958
54780
  // src/mcp-server/tools/zonesListOrSearchSecurityZones.ts
53959
- var args70, tool$zonesListOrSearchSecurityZones;
54781
+ var args75, tool$zonesListOrSearchSecurityZones;
53960
54782
  var init_zonesListOrSearchSecurityZones2 = __esm(() => {
53961
54783
  init_zonesListOrSearchSecurityZones();
53962
54784
  init_operations();
53963
54785
  init_tools();
53964
- args70 = {
54786
+ args75 = {
53965
54787
  request: ListOrSearchSecurityZonesRequest$inboundSchema
53966
54788
  };
53967
54789
  tool$zonesListOrSearchSecurityZones = {
@@ -53969,9 +54791,9 @@ var init_zonesListOrSearchSecurityZones2 = __esm(() => {
53969
54791
  description: `List or search security zones
53970
54792
 
53971
54793
  List or search security zones`,
53972
- args: args70,
53973
- tool: async (client, args71, ctx) => {
53974
- 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();
53975
54797
  if (!result.ok) {
53976
54798
  return {
53977
54799
  content: [{ type: "text", text: result.error.message }],
@@ -53986,9 +54808,9 @@ List or search security zones`,
53986
54808
 
53987
54809
  // src/funcs/zonesSecurityZoneCheckin.ts
53988
54810
  function zonesSecurityZoneCheckin(client, request, options) {
53989
- return new APIPromise($do73(client, request, options));
54811
+ return new APIPromise($do78(client, request, options));
53990
54812
  }
53991
- async function $do73(client, request, options) {
54813
+ async function $do78(client, request, options) {
53992
54814
  const parsed = safeParse(request, (value) => SecurityZoneCheckinRequestBody$outboundSchema.parse(value), "Input validation failed");
53993
54815
  if (!parsed.ok) {
53994
54816
  return [parsed, { status: "invalid" }];
@@ -54058,12 +54880,12 @@ var init_zonesSecurityZoneCheckin = __esm(() => {
54058
54880
  });
54059
54881
 
54060
54882
  // src/mcp-server/tools/zonesSecurityZoneCheckin.ts
54061
- var args71, tool$zonesSecurityZoneCheckin;
54883
+ var args76, tool$zonesSecurityZoneCheckin;
54062
54884
  var init_zonesSecurityZoneCheckin2 = __esm(() => {
54063
54885
  init_zonesSecurityZoneCheckin();
54064
54886
  init_operations();
54065
54887
  init_tools();
54066
- args71 = {
54888
+ args76 = {
54067
54889
  request: SecurityZoneCheckinRequestBody$inboundSchema
54068
54890
  };
54069
54891
  tool$zonesSecurityZoneCheckin = {
@@ -54071,9 +54893,9 @@ var init_zonesSecurityZoneCheckin2 = __esm(() => {
54071
54893
  description: `Security zone checkin request
54072
54894
 
54073
54895
  Security zone checkin request`,
54074
- args: args71,
54075
- tool: async (client, args72, ctx) => {
54076
- 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();
54077
54899
  if (!result.ok) {
54078
54900
  return {
54079
54901
  content: [{ type: "text", text: result.error.message }],
@@ -54090,7 +54912,7 @@ Security zone checkin request`,
54090
54912
  function createMCPServer(deps) {
54091
54913
  const server = new McpServer({
54092
54914
  name: "GreenSecurity",
54093
- version: "0.39.6"
54915
+ version: "0.39.8"
54094
54916
  });
54095
54917
  const client = new GreenSecurityCore({
54096
54918
  security: deps.security,
@@ -54175,6 +54997,11 @@ function createMCPServer(deps) {
54175
54997
  tool(tool$invoicesCreateInvoice);
54176
54998
  tool(tool$invoicesUpdateInvoice);
54177
54999
  tool(tool$invoicesMakePayment);
55000
+ tool(tool$eventsCreateEvent);
55001
+ tool(tool$eventsUpdateEvent);
55002
+ tool(tool$eventsDeleteEvent);
55003
+ tool(tool$eventsAcceptInvitation);
55004
+ tool(tool$eventsDeclineInvitation);
54178
55005
  tool(tool$eventsListOrSearchVendorInvitees);
54179
55006
  tool(tool$systemsListSystems);
54180
55007
  return server;
@@ -54188,7 +55015,12 @@ var init_server2 = __esm(() => {
54188
55015
  init_dataRequestsAddDataRequestFile2();
54189
55016
  init_dataRequestsDeleteDataRequestFile2();
54190
55017
  init_dataRequestsUpdateDataRequest2();
55018
+ init_eventsAcceptInvitation2();
55019
+ init_eventsCreateEvent2();
55020
+ init_eventsDeclineInvitation2();
55021
+ init_eventsDeleteEvent2();
54191
55022
  init_eventsListOrSearchVendorInvitees2();
55023
+ init_eventsUpdateEvent2();
54192
55024
  init_invoicesCreateInvoice2();
54193
55025
  init_invoicesMakePayment2();
54194
55026
  init_invoicesUpdateInvoice2();
@@ -55448,7 +56280,7 @@ var routes = rn({
55448
56280
  var app = Ve(routes, {
55449
56281
  name: "mcp",
55450
56282
  versionInfo: {
55451
- currentVersion: "0.39.6"
56283
+ currentVersion: "0.39.8"
55452
56284
  }
55453
56285
  });
55454
56286
  _t(app, process3.argv.slice(2), buildContext(process3));
@@ -55456,5 +56288,5 @@ export {
55456
56288
  app
55457
56289
  };
55458
56290
 
55459
- //# debugId=7F327B2CEAB8784464756E2164756E21
56291
+ //# debugId=AD6CD2D9D26FD16F64756E2164756E21
55460
56292
  //# sourceMappingURL=mcp-server.js.map