@greensecurity/javascript-sdk 0.39.1 → 0.39.6

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 (120) hide show
  1. package/README.md +6 -0
  2. package/bin/mcp-server.js +704 -476
  3. package/bin/mcp-server.js.map +12 -9
  4. package/dist/commonjs/__tests__/events.test.d.ts +2 -0
  5. package/dist/commonjs/__tests__/events.test.d.ts.map +1 -0
  6. package/dist/commonjs/__tests__/events.test.js +41 -0
  7. package/dist/commonjs/__tests__/events.test.js.map +1 -0
  8. package/dist/commonjs/funcs/eventsListOrSearchVendorInvitees.d.ts +28 -0
  9. package/dist/commonjs/funcs/eventsListOrSearchVendorInvitees.d.ts.map +1 -0
  10. package/dist/commonjs/funcs/eventsListOrSearchVendorInvitees.js +166 -0
  11. package/dist/commonjs/funcs/eventsListOrSearchVendorInvitees.js.map +1 -0
  12. package/dist/commonjs/lib/config.d.ts +3 -3
  13. package/dist/commonjs/lib/config.js +3 -3
  14. package/dist/commonjs/mcp-server/mcp-server.js +1 -1
  15. package/dist/commonjs/mcp-server/server.d.ts.map +1 -1
  16. package/dist/commonjs/mcp-server/server.js +3 -1
  17. package/dist/commonjs/mcp-server/server.js.map +1 -1
  18. package/dist/commonjs/mcp-server/tools/eventsListOrSearchVendorInvitees.d.ts +8 -0
  19. package/dist/commonjs/mcp-server/tools/eventsListOrSearchVendorInvitees.d.ts.map +1 -0
  20. package/dist/commonjs/mcp-server/tools/eventsListOrSearchVendorInvitees.js +71 -0
  21. package/dist/commonjs/mcp-server/tools/eventsListOrSearchVendorInvitees.js.map +1 -0
  22. package/dist/commonjs/models/components/expand.d.ts +3 -0
  23. package/dist/commonjs/models/components/expand.d.ts.map +1 -1
  24. package/dist/commonjs/models/components/expand.js +1 -0
  25. package/dist/commonjs/models/components/expand.js.map +1 -1
  26. package/dist/commonjs/models/components/vendorfacilitystatusview.d.ts +4 -0
  27. package/dist/commonjs/models/components/vendorfacilitystatusview.d.ts.map +1 -1
  28. package/dist/commonjs/models/components/vendorfacilitystatusview.js +8 -0
  29. package/dist/commonjs/models/components/vendorfacilitystatusview.js.map +1 -1
  30. package/dist/commonjs/models/operations/index.d.ts +1 -0
  31. package/dist/commonjs/models/operations/index.d.ts.map +1 -1
  32. package/dist/commonjs/models/operations/index.js +1 -0
  33. package/dist/commonjs/models/operations/index.js.map +1 -1
  34. package/dist/commonjs/models/operations/listorsearchvendorinvitees.d.ts +116 -0
  35. package/dist/commonjs/models/operations/listorsearchvendorinvitees.d.ts.map +1 -0
  36. package/dist/commonjs/models/operations/listorsearchvendorinvitees.js +153 -0
  37. package/dist/commonjs/models/operations/listorsearchvendorinvitees.js.map +1 -0
  38. package/dist/commonjs/react-query/eventsListOrSearchVendorInvitees.d.ts +109 -0
  39. package/dist/commonjs/react-query/eventsListOrSearchVendorInvitees.d.ts.map +1 -0
  40. package/dist/commonjs/react-query/eventsListOrSearchVendorInvitees.js +191 -0
  41. package/dist/commonjs/react-query/eventsListOrSearchVendorInvitees.js.map +1 -0
  42. package/dist/commonjs/react-query/index.d.ts +1 -0
  43. package/dist/commonjs/react-query/index.d.ts.map +1 -1
  44. package/dist/commonjs/react-query/index.js +1 -0
  45. package/dist/commonjs/react-query/index.js.map +1 -1
  46. package/dist/commonjs/sdk/events.d.ts +22 -0
  47. package/dist/commonjs/sdk/events.d.ts.map +1 -0
  48. package/dist/commonjs/sdk/events.js +29 -0
  49. package/dist/commonjs/sdk/events.js.map +1 -0
  50. package/dist/commonjs/sdk/sdk.d.ts +3 -0
  51. package/dist/commonjs/sdk/sdk.d.ts.map +1 -1
  52. package/dist/commonjs/sdk/sdk.js +4 -0
  53. package/dist/commonjs/sdk/sdk.js.map +1 -1
  54. package/dist/esm/__tests__/events.test.d.ts +2 -0
  55. package/dist/esm/__tests__/events.test.d.ts.map +1 -0
  56. package/dist/esm/__tests__/events.test.js +39 -0
  57. package/dist/esm/__tests__/events.test.js.map +1 -0
  58. package/dist/esm/funcs/eventsListOrSearchVendorInvitees.d.ts +28 -0
  59. package/dist/esm/funcs/eventsListOrSearchVendorInvitees.d.ts.map +1 -0
  60. package/dist/esm/funcs/eventsListOrSearchVendorInvitees.js +130 -0
  61. package/dist/esm/funcs/eventsListOrSearchVendorInvitees.js.map +1 -0
  62. package/dist/esm/lib/config.d.ts +3 -3
  63. package/dist/esm/lib/config.js +3 -3
  64. package/dist/esm/mcp-server/mcp-server.js +1 -1
  65. package/dist/esm/mcp-server/server.d.ts.map +1 -1
  66. package/dist/esm/mcp-server/server.js +3 -1
  67. package/dist/esm/mcp-server/server.js.map +1 -1
  68. package/dist/esm/mcp-server/tools/eventsListOrSearchVendorInvitees.d.ts +8 -0
  69. package/dist/esm/mcp-server/tools/eventsListOrSearchVendorInvitees.d.ts.map +1 -0
  70. package/dist/esm/mcp-server/tools/eventsListOrSearchVendorInvitees.js +35 -0
  71. package/dist/esm/mcp-server/tools/eventsListOrSearchVendorInvitees.js.map +1 -0
  72. package/dist/esm/models/components/expand.d.ts +3 -0
  73. package/dist/esm/models/components/expand.d.ts.map +1 -1
  74. package/dist/esm/models/components/expand.js +1 -0
  75. package/dist/esm/models/components/expand.js.map +1 -1
  76. package/dist/esm/models/components/vendorfacilitystatusview.d.ts +4 -0
  77. package/dist/esm/models/components/vendorfacilitystatusview.d.ts.map +1 -1
  78. package/dist/esm/models/components/vendorfacilitystatusview.js +8 -0
  79. package/dist/esm/models/components/vendorfacilitystatusview.js.map +1 -1
  80. package/dist/esm/models/operations/index.d.ts +1 -0
  81. package/dist/esm/models/operations/index.d.ts.map +1 -1
  82. package/dist/esm/models/operations/index.js +1 -0
  83. package/dist/esm/models/operations/index.js.map +1 -1
  84. package/dist/esm/models/operations/listorsearchvendorinvitees.d.ts +116 -0
  85. package/dist/esm/models/operations/listorsearchvendorinvitees.d.ts.map +1 -0
  86. package/dist/esm/models/operations/listorsearchvendorinvitees.js +111 -0
  87. package/dist/esm/models/operations/listorsearchvendorinvitees.js.map +1 -0
  88. package/dist/esm/react-query/eventsListOrSearchVendorInvitees.d.ts +109 -0
  89. package/dist/esm/react-query/eventsListOrSearchVendorInvitees.d.ts.map +1 -0
  90. package/dist/esm/react-query/eventsListOrSearchVendorInvitees.js +178 -0
  91. package/dist/esm/react-query/eventsListOrSearchVendorInvitees.js.map +1 -0
  92. package/dist/esm/react-query/index.d.ts +1 -0
  93. package/dist/esm/react-query/index.d.ts.map +1 -1
  94. package/dist/esm/react-query/index.js +1 -0
  95. package/dist/esm/react-query/index.js.map +1 -1
  96. package/dist/esm/sdk/events.d.ts +22 -0
  97. package/dist/esm/sdk/events.d.ts.map +1 -0
  98. package/dist/esm/sdk/events.js +25 -0
  99. package/dist/esm/sdk/events.js.map +1 -0
  100. package/dist/esm/sdk/sdk.d.ts +3 -0
  101. package/dist/esm/sdk/sdk.d.ts.map +1 -1
  102. package/dist/esm/sdk/sdk.js +4 -0
  103. package/dist/esm/sdk/sdk.js.map +1 -1
  104. package/examples/package-lock.json +1 -1
  105. package/jsr.json +1 -1
  106. package/package.json +1 -1
  107. package/src/__tests__/events.test.ts +42 -0
  108. package/src/funcs/eventsListOrSearchVendorInvitees.ts +261 -0
  109. package/src/lib/config.ts +3 -3
  110. package/src/mcp-server/mcp-server.ts +1 -1
  111. package/src/mcp-server/server.ts +3 -1
  112. package/src/mcp-server/tools/eventsListOrSearchVendorInvitees.ts +46 -0
  113. package/src/models/components/expand.ts +1 -0
  114. package/src/models/components/vendorfacilitystatusview.ts +12 -0
  115. package/src/models/operations/index.ts +1 -0
  116. package/src/models/operations/listorsearchvendorinvitees.ts +261 -0
  117. package/src/react-query/eventsListOrSearchVendorInvitees.ts +378 -0
  118. package/src/react-query/index.ts +1 -0
  119. package/src/sdk/events.ts +39 -0
  120. package/src/sdk/sdk.ts +6 -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.1",
34164
- genVersion: "2.660.0",
34165
- userAgent: "speakeasy-sdk/typescript 0.39.1 2.660.0 0.0.3 @greensecurity/javascript-sdk"
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"
34166
34166
  };
34167
34167
  });
34168
34168
 
@@ -37152,6 +37152,7 @@ var init_expand = __esm(() => {
37152
37152
  ContactFacility: "contact.facility",
37153
37153
  ContactSystem: "contact.system",
37154
37154
  ContactDepartment: "contact.department",
37155
+ ContactUser: "contact.user",
37155
37156
  FacilityAppointmentPolicy: "facility.appointment_policy",
37156
37157
  FacilityContacts: "facility.contacts",
37157
37158
  FacilityVendorCounts: "facility.vendor_counts",
@@ -40216,7 +40217,9 @@ var init_vendorfacilitystatusview = __esm(() => {
40216
40217
  facility_status: nullableType(stringType()).optional(),
40217
40218
  vendor_scan_id: nullableType(numberType().int()).optional(),
40218
40219
  vendor_scan_type: nullableType(numberType().int()).optional(),
40219
- date_scanned: nullableType(stringType()).optional()
40220
+ date_scanned: nullableType(stringType()).optional(),
40221
+ facility_city: nullableType(stringType()).optional(),
40222
+ facility_state: nullableType(stringType()).optional()
40220
40223
  }).transform((v2) => {
40221
40224
  return remap(v2, {
40222
40225
  vendor_id: "vendorId",
@@ -40225,7 +40228,9 @@ var init_vendorfacilitystatusview = __esm(() => {
40225
40228
  facility_status: "facilityStatus",
40226
40229
  vendor_scan_id: "vendorScanId",
40227
40230
  vendor_scan_type: "vendorScanType",
40228
- date_scanned: "dateScanned"
40231
+ date_scanned: "dateScanned",
40232
+ facility_city: "facilityCity",
40233
+ facility_state: "facilityState"
40229
40234
  });
40230
40235
  });
40231
40236
  VendorFacilityStatusView$outboundSchema = objectType({
@@ -40235,7 +40240,9 @@ var init_vendorfacilitystatusview = __esm(() => {
40235
40240
  facilityStatus: nullableType(stringType()).optional(),
40236
40241
  vendorScanId: nullableType(numberType().int()).optional(),
40237
40242
  vendorScanType: nullableType(numberType().int()).optional(),
40238
- dateScanned: nullableType(stringType()).optional()
40243
+ dateScanned: nullableType(stringType()).optional(),
40244
+ facilityCity: nullableType(stringType()).optional(),
40245
+ facilityState: nullableType(stringType()).optional()
40239
40246
  }).transform((v2) => {
40240
40247
  return remap(v2, {
40241
40248
  vendorId: "vendor_id",
@@ -40244,7 +40251,9 @@ var init_vendorfacilitystatusview = __esm(() => {
40244
40251
  facilityStatus: "facility_status",
40245
40252
  vendorScanId: "vendor_scan_id",
40246
40253
  vendorScanType: "vendor_scan_type",
40247
- dateScanned: "date_scanned"
40254
+ dateScanned: "date_scanned",
40255
+ facilityCity: "facility_city",
40256
+ facilityState: "facility_state"
40248
40257
  });
40249
40258
  });
40250
40259
  ((VendorFacilityStatusView$) => {
@@ -42625,6 +42634,72 @@ var init_listorsearchsupportarticles = __esm(() => {
42625
42634
  })(ListOrSearchSupportArticlesResponse$ ||= {});
42626
42635
  });
42627
42636
 
42637
+ // src/models/operations/listorsearchvendorinvitees.ts
42638
+ var ListOrSearchVendorInviteesRequest$inboundSchema, ListOrSearchVendorInviteesRequest$outboundSchema, ListOrSearchVendorInviteesRequest$, ListOrSearchVendorInviteesResponseBody$inboundSchema, ListOrSearchVendorInviteesResponseBody$outboundSchema, ListOrSearchVendorInviteesResponseBody$, ListOrSearchVendorInviteesResponse$inboundSchema, ListOrSearchVendorInviteesResponse$outboundSchema, ListOrSearchVendorInviteesResponse$;
42639
+ var init_listorsearchvendorinvitees = __esm(() => {
42640
+ init_esm();
42641
+ init_primitives();
42642
+ init_components();
42643
+ ListOrSearchVendorInviteesRequest$inboundSchema = objectType({
42644
+ sort: nullableType(stringType()).optional(),
42645
+ desc: Desc$inboundSchema.optional(),
42646
+ page: numberType().int().optional(),
42647
+ items_per_page: numberType().int().optional(),
42648
+ expand: arrayType(Expand$inboundSchema).optional(),
42649
+ search: stringType().optional()
42650
+ }).transform((v2) => {
42651
+ return remap(v2, {
42652
+ items_per_page: "itemsPerPage"
42653
+ });
42654
+ });
42655
+ ListOrSearchVendorInviteesRequest$outboundSchema = objectType({
42656
+ sort: nullableType(stringType()).optional(),
42657
+ desc: Desc$outboundSchema.optional(),
42658
+ page: numberType().int().optional(),
42659
+ itemsPerPage: numberType().int().optional(),
42660
+ expand: arrayType(Expand$outboundSchema).optional(),
42661
+ search: stringType().optional()
42662
+ }).transform((v2) => {
42663
+ return remap(v2, {
42664
+ itemsPerPage: "items_per_page"
42665
+ });
42666
+ });
42667
+ ((ListOrSearchVendorInviteesRequest$) => {
42668
+ ListOrSearchVendorInviteesRequest$.inboundSchema = ListOrSearchVendorInviteesRequest$inboundSchema;
42669
+ ListOrSearchVendorInviteesRequest$.outboundSchema = ListOrSearchVendorInviteesRequest$outboundSchema;
42670
+ })(ListOrSearchVendorInviteesRequest$ ||= {});
42671
+ ListOrSearchVendorInviteesResponseBody$inboundSchema = objectType({
42672
+ pager: Pager$inboundSchema,
42673
+ items: arrayType(nullableType(Contact$inboundSchema))
42674
+ });
42675
+ ListOrSearchVendorInviteesResponseBody$outboundSchema = objectType({
42676
+ pager: Pager$outboundSchema,
42677
+ items: arrayType(nullableType(Contact$outboundSchema))
42678
+ });
42679
+ ((ListOrSearchVendorInviteesResponseBody$) => {
42680
+ ListOrSearchVendorInviteesResponseBody$.inboundSchema = ListOrSearchVendorInviteesResponseBody$inboundSchema;
42681
+ ListOrSearchVendorInviteesResponseBody$.outboundSchema = ListOrSearchVendorInviteesResponseBody$outboundSchema;
42682
+ })(ListOrSearchVendorInviteesResponseBody$ ||= {});
42683
+ ListOrSearchVendorInviteesResponse$inboundSchema = objectType({
42684
+ Result: lazyType(() => ListOrSearchVendorInviteesResponseBody$inboundSchema)
42685
+ }).transform((v2) => {
42686
+ return remap(v2, {
42687
+ Result: "result"
42688
+ });
42689
+ });
42690
+ ListOrSearchVendorInviteesResponse$outboundSchema = objectType({
42691
+ result: lazyType(() => ListOrSearchVendorInviteesResponseBody$outboundSchema)
42692
+ }).transform((v2) => {
42693
+ return remap(v2, {
42694
+ result: "Result"
42695
+ });
42696
+ });
42697
+ ((ListOrSearchVendorInviteesResponse$) => {
42698
+ ListOrSearchVendorInviteesResponse$.inboundSchema = ListOrSearchVendorInviteesResponse$inboundSchema;
42699
+ ListOrSearchVendorInviteesResponse$.outboundSchema = ListOrSearchVendorInviteesResponse$outboundSchema;
42700
+ })(ListOrSearchVendorInviteesResponse$ ||= {});
42701
+ });
42702
+
42628
42703
  // src/models/operations/listsystems.ts
42629
42704
  var ListSystemsRequest$inboundSchema, ListSystemsRequest$outboundSchema, ListSystemsRequest$, ListSystemsResponseBody$inboundSchema, ListSystemsResponseBody$outboundSchema, ListSystemsResponseBody$, ListSystemsResponse$inboundSchema, ListSystemsResponse$outboundSchema, ListSystemsResponse$;
42630
42705
  var init_listsystems = __esm(() => {
@@ -45218,6 +45293,7 @@ var init_operations = __esm(() => {
45218
45293
  init_listorsearchfacilities();
45219
45294
  init_listorsearchsecurityzones();
45220
45295
  init_listorsearchsupportarticles();
45296
+ init_listorsearchvendorinvitees();
45221
45297
  init_listsystems();
45222
45298
  init_listvendoradditionalfacilityfields();
45223
45299
  init_listvendorcredentialdatarequests();
@@ -45779,11 +45855,161 @@ It will update the vendor credential data request attributes`,
45779
45855
  };
45780
45856
  });
45781
45857
 
45782
- // src/funcs/invoicesCreateInvoice.ts
45783
- function invoicesCreateInvoice(client, request, options) {
45858
+ // src/funcs/eventsListOrSearchVendorInvitees.ts
45859
+ function eventsListOrSearchVendorInvitees(client, request, options) {
45784
45860
  return new APIPromise($do5(client, request, options));
45785
45861
  }
45786
45862
  async function $do5(client, request, options) {
45863
+ const parsed = safeParse(request, (value) => ListOrSearchVendorInviteesRequest$outboundSchema.parse(value), "Input validation failed");
45864
+ if (!parsed.ok) {
45865
+ return [haltIterator(parsed), { status: "invalid" }];
45866
+ }
45867
+ 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
+ }));
45879
+ const headers = new Headers(compactMap({
45880
+ Accept: "application/json"
45881
+ }));
45882
+ const securityInput = await extractSecurity(client._options.security);
45883
+ const requestSecurity = resolveGlobalSecurity(securityInput);
45884
+ const context = {
45885
+ options: client._options,
45886
+ baseURL: options?.serverURL ?? client._baseURL ?? "",
45887
+ operationID: "listOrSearchVendorInvitees",
45888
+ oAuth2Scopes: [],
45889
+ resolvedSecurity: requestSecurity,
45890
+ securitySource: client._options.security,
45891
+ retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
45892
+ retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
45893
+ };
45894
+ const requestRes = client._createRequest(context, {
45895
+ security: requestSecurity,
45896
+ method: "GET",
45897
+ baseURL: options?.serverURL,
45898
+ path,
45899
+ headers,
45900
+ query,
45901
+ body,
45902
+ userAgent: client._options.userAgent,
45903
+ timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
45904
+ }, options);
45905
+ if (!requestRes.ok) {
45906
+ return [haltIterator(requestRes), { status: "invalid" }];
45907
+ }
45908
+ const req = requestRes.value;
45909
+ const doResult = await client._do(req, {
45910
+ context,
45911
+ errorCodes: ["400", "401", "403", "404", "4XX", "500", "5XX"],
45912
+ retryConfig: context.retryConfig,
45913
+ retryCodes: context.retryCodes
45914
+ });
45915
+ if (!doResult.ok) {
45916
+ return [haltIterator(doResult), { status: "request-error", request: req }];
45917
+ }
45918
+ const response = doResult.value;
45919
+ const responseFields = {
45920
+ HttpMeta: { Response: response, Request: req }
45921
+ };
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 });
45925
+ if (!result.ok) {
45926
+ return [haltIterator(result), {
45927
+ status: "complete",
45928
+ request: req,
45929
+ response
45930
+ }];
45931
+ }
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
+ }];
45958
+ }
45959
+ var init_eventsListOrSearchVendorInvitees = __esm(() => {
45960
+ init_encodings();
45961
+ init_matchers();
45962
+ init_primitives();
45963
+ init_schemas();
45964
+ init_security();
45965
+ init_url();
45966
+ init_errors2();
45967
+ init_operations();
45968
+ init_async();
45969
+ init_operations2();
45970
+ });
45971
+
45972
+ // src/mcp-server/tools/eventsListOrSearchVendorInvitees.ts
45973
+ var args5, tool$eventsListOrSearchVendorInvitees;
45974
+ var init_eventsListOrSearchVendorInvitees2 = __esm(() => {
45975
+ init_eventsListOrSearchVendorInvitees();
45976
+ init_operations();
45977
+ init_tools();
45978
+ args5 = {
45979
+ request: ListOrSearchVendorInviteesRequest$inboundSchema
45980
+ };
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.
45986
+
45987
+ Available \`expand\` scopes are:
45988
+
45989
+ - contact.facility
45990
+ - contact.system
45991
+ - contact.department
45992
+ - contact.user`,
45993
+ args: args5,
45994
+ tool: async (client, args6, ctx) => {
45995
+ const [result, apiCall] = await eventsListOrSearchVendorInvitees(client, args6.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
45996
+ if (!result.ok) {
45997
+ return {
45998
+ content: [{ type: "text", text: result.error.message }],
45999
+ isError: true
46000
+ };
46001
+ }
46002
+ const value = result.value.result;
46003
+ return formatResult(value, apiCall);
46004
+ }
46005
+ };
46006
+ });
46007
+
46008
+ // src/funcs/invoicesCreateInvoice.ts
46009
+ function invoicesCreateInvoice(client, request, options) {
46010
+ return new APIPromise($do6(client, request, options));
46011
+ }
46012
+ async function $do6(client, request, options) {
45787
46013
  const parsed = safeParse(request, (value) => CreateInvoiceRequestBody$outboundSchema.parse(value), "Input validation failed");
45788
46014
  if (!parsed.ok) {
45789
46015
  return [parsed, { status: "invalid" }];
@@ -45853,12 +46079,12 @@ var init_invoicesCreateInvoice = __esm(() => {
45853
46079
  });
45854
46080
 
45855
46081
  // src/mcp-server/tools/invoicesCreateInvoice.ts
45856
- var args5, tool$invoicesCreateInvoice;
46082
+ var args6, tool$invoicesCreateInvoice;
45857
46083
  var init_invoicesCreateInvoice2 = __esm(() => {
45858
46084
  init_invoicesCreateInvoice();
45859
46085
  init_operations();
45860
46086
  init_tools();
45861
- args5 = {
46087
+ args6 = {
45862
46088
  request: CreateInvoiceRequestBody$inboundSchema
45863
46089
  };
45864
46090
  tool$invoicesCreateInvoice = {
@@ -45875,9 +46101,9 @@ It will create an invoice based on the lines passed as parameter.
45875
46101
  - new_vendor_type_id: required, must be integer
45876
46102
  - old_facility_ids: required, must be an array of integers (can be empty)
45877
46103
  - new_facility_ids: required, must be array of integers`,
45878
- args: args5,
45879
- tool: async (client, args6, ctx) => {
45880
- const [result, apiCall] = await invoicesCreateInvoice(client, args6.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
46104
+ args: args6,
46105
+ tool: async (client, args7, ctx) => {
46106
+ const [result, apiCall] = await invoicesCreateInvoice(client, args7.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
45881
46107
  if (!result.ok) {
45882
46108
  return {
45883
46109
  content: [{ type: "text", text: result.error.message }],
@@ -45892,9 +46118,9 @@ It will create an invoice based on the lines passed as parameter.
45892
46118
 
45893
46119
  // src/funcs/invoicesMakePayment.ts
45894
46120
  function invoicesMakePayment(client, request, options) {
45895
- return new APIPromise($do6(client, request, options));
46121
+ return new APIPromise($do7(client, request, options));
45896
46122
  }
45897
- async function $do6(client, request, options) {
46123
+ async function $do7(client, request, options) {
45898
46124
  const parsed = safeParse(request, (value) => MakePaymentRequest$outboundSchema.parse(value), "Input validation failed");
45899
46125
  if (!parsed.ok) {
45900
46126
  return [parsed, { status: "invalid" }];
@@ -45970,12 +46196,12 @@ var init_invoicesMakePayment = __esm(() => {
45970
46196
  });
45971
46197
 
45972
46198
  // src/mcp-server/tools/invoicesMakePayment.ts
45973
- var args6, tool$invoicesMakePayment;
46199
+ var args7, tool$invoicesMakePayment;
45974
46200
  var init_invoicesMakePayment2 = __esm(() => {
45975
46201
  init_invoicesMakePayment();
45976
46202
  init_operations();
45977
46203
  init_tools();
45978
- args6 = {
46204
+ args7 = {
45979
46205
  request: MakePaymentRequest$inboundSchema
45980
46206
  };
45981
46207
  tool$invoicesMakePayment = {
@@ -45983,9 +46209,9 @@ var init_invoicesMakePayment2 = __esm(() => {
45983
46209
  description: `Make payment for the invoice
45984
46210
 
45985
46211
  Make payment for the invoice`,
45986
- args: args6,
45987
- tool: async (client, args7, ctx) => {
45988
- const [result, apiCall] = await invoicesMakePayment(client, args7.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
46212
+ args: args7,
46213
+ tool: async (client, args8, ctx) => {
46214
+ const [result, apiCall] = await invoicesMakePayment(client, args8.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
45989
46215
  if (!result.ok) {
45990
46216
  return {
45991
46217
  content: [{ type: "text", text: result.error.message }],
@@ -46000,9 +46226,9 @@ Make payment for the invoice`,
46000
46226
 
46001
46227
  // src/funcs/invoicesUpdateInvoice.ts
46002
46228
  function invoicesUpdateInvoice(client, request, options) {
46003
- return new APIPromise($do7(client, request, options));
46229
+ return new APIPromise($do8(client, request, options));
46004
46230
  }
46005
- async function $do7(client, request, options) {
46231
+ async function $do8(client, request, options) {
46006
46232
  const parsed = safeParse(request, (value) => UpdateInvoiceRequest$outboundSchema.parse(value), "Input validation failed");
46007
46233
  if (!parsed.ok) {
46008
46234
  return [parsed, { status: "invalid" }];
@@ -46079,12 +46305,12 @@ var init_invoicesUpdateInvoice = __esm(() => {
46079
46305
  });
46080
46306
 
46081
46307
  // src/mcp-server/tools/invoicesUpdateInvoice.ts
46082
- var args7, tool$invoicesUpdateInvoice;
46308
+ var args8, tool$invoicesUpdateInvoice;
46083
46309
  var init_invoicesUpdateInvoice2 = __esm(() => {
46084
46310
  init_invoicesUpdateInvoice();
46085
46311
  init_operations();
46086
46312
  init_tools();
46087
- args7 = {
46313
+ args8 = {
46088
46314
  request: UpdateInvoiceRequest$inboundSchema
46089
46315
  };
46090
46316
  tool$invoicesUpdateInvoice = {
@@ -46101,9 +46327,9 @@ It will replace all the lines with the lines passed as parameter
46101
46327
  - new_vendor_type_id: required, must be integer
46102
46328
  - old_facility_ids: required, must be an array of integers (can be empty)
46103
46329
  - new_facility_ids: required, must be array of integers`,
46104
- args: args7,
46105
- tool: async (client, args8, ctx) => {
46106
- const [result, apiCall] = await invoicesUpdateInvoice(client, args8.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
46330
+ args: args8,
46331
+ tool: async (client, args9, ctx) => {
46332
+ const [result, apiCall] = await invoicesUpdateInvoice(client, args9.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
46107
46333
  if (!result.ok) {
46108
46334
  return {
46109
46335
  content: [{ type: "text", text: result.error.message }],
@@ -46118,9 +46344,9 @@ It will replace all the lines with the lines passed as parameter
46118
46344
 
46119
46345
  // src/funcs/organizationsGetFacility.ts
46120
46346
  function organizationsGetFacility(client, request, options) {
46121
- return new APIPromise($do8(client, request, options));
46347
+ return new APIPromise($do9(client, request, options));
46122
46348
  }
46123
- async function $do8(client, request, options) {
46349
+ async function $do9(client, request, options) {
46124
46350
  const parsed = safeParse(request, (value) => GetFacilityRequest$outboundSchema.parse(value), "Input validation failed");
46125
46351
  if (!parsed.ok) {
46126
46352
  return [parsed, { status: "invalid" }];
@@ -46196,12 +46422,12 @@ var init_organizationsGetFacility = __esm(() => {
46196
46422
  });
46197
46423
 
46198
46424
  // src/mcp-server/tools/organizationsGetFacility.ts
46199
- var args8, tool$organizationsGetFacility;
46425
+ var args9, tool$organizationsGetFacility;
46200
46426
  var init_organizationsGetFacility2 = __esm(() => {
46201
46427
  init_organizationsGetFacility();
46202
46428
  init_operations();
46203
46429
  init_tools();
46204
- args8 = {
46430
+ args9 = {
46205
46431
  request: GetFacilityRequest$inboundSchema
46206
46432
  };
46207
46433
  tool$organizationsGetFacility = {
@@ -46209,9 +46435,9 @@ var init_organizationsGetFacility2 = __esm(() => {
46209
46435
  description: `Get facility
46210
46436
 
46211
46437
  Retrieve an individual facility.`,
46212
- args: args8,
46213
- tool: async (client, args9, ctx) => {
46214
- const [result, apiCall] = await organizationsGetFacility(client, args9.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
46438
+ args: args9,
46439
+ tool: async (client, args10, ctx) => {
46440
+ const [result, apiCall] = await organizationsGetFacility(client, args10.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
46215
46441
  if (!result.ok) {
46216
46442
  return {
46217
46443
  content: [{ type: "text", text: result.error.message }],
@@ -46226,9 +46452,9 @@ Retrieve an individual facility.`,
46226
46452
 
46227
46453
  // src/funcs/organizationsListOrSearchDepartmentContacts.ts
46228
46454
  function organizationsListOrSearchDepartmentContacts(client, request, options) {
46229
- return new APIPromise($do9(client, request, options));
46455
+ return new APIPromise($do10(client, request, options));
46230
46456
  }
46231
- async function $do9(client, request, options) {
46457
+ async function $do10(client, request, options) {
46232
46458
  const parsed = safeParse(request, (value) => ListOrSearchDepartmentContactsRequest$outboundSchema.parse(value), "Input validation failed");
46233
46459
  if (!parsed.ok) {
46234
46460
  return [haltIterator(parsed), { status: "invalid" }];
@@ -46343,12 +46569,12 @@ var init_organizationsListOrSearchDepartmentContacts = __esm(() => {
46343
46569
  });
46344
46570
 
46345
46571
  // src/mcp-server/tools/organizationsListOrSearchDepartmentContacts.ts
46346
- var args9, tool$organizationsListOrSearchDepartmentContacts;
46572
+ var args10, tool$organizationsListOrSearchDepartmentContacts;
46347
46573
  var init_organizationsListOrSearchDepartmentContacts2 = __esm(() => {
46348
46574
  init_organizationsListOrSearchDepartmentContacts();
46349
46575
  init_operations();
46350
46576
  init_tools();
46351
- args9 = {
46577
+ args10 = {
46352
46578
  request: ListOrSearchDepartmentContactsRequest$inboundSchema
46353
46579
  };
46354
46580
  tool$organizationsListOrSearchDepartmentContacts = {
@@ -46361,9 +46587,9 @@ Available \`expand\` scopes are:
46361
46587
 
46362
46588
  - department_membership.contact
46363
46589
  - department_membership.department`,
46364
- args: args9,
46365
- tool: async (client, args10, ctx) => {
46366
- const [result, apiCall] = await organizationsListOrSearchDepartmentContacts(client, args10.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
46590
+ args: args10,
46591
+ tool: async (client, args11, ctx) => {
46592
+ const [result, apiCall] = await organizationsListOrSearchDepartmentContacts(client, args11.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
46367
46593
  if (!result.ok) {
46368
46594
  return {
46369
46595
  content: [{ type: "text", text: result.error.message }],
@@ -46378,9 +46604,9 @@ Available \`expand\` scopes are:
46378
46604
 
46379
46605
  // src/funcs/organizationsListOrSearchDepartments.ts
46380
46606
  function organizationsListOrSearchDepartments(client, request, options) {
46381
- return new APIPromise($do10(client, request, options));
46607
+ return new APIPromise($do11(client, request, options));
46382
46608
  }
46383
- async function $do10(client, request, options) {
46609
+ async function $do11(client, request, options) {
46384
46610
  const parsed = safeParse(request, (value) => ListOrSearchDepartmentsRequest$outboundSchema.parse(value), "Input validation failed");
46385
46611
  if (!parsed.ok) {
46386
46612
  return [haltIterator(parsed), { status: "invalid" }];
@@ -46495,12 +46721,12 @@ var init_organizationsListOrSearchDepartments = __esm(() => {
46495
46721
  });
46496
46722
 
46497
46723
  // src/mcp-server/tools/organizationsListOrSearchDepartments.ts
46498
- var args10, tool$organizationsListOrSearchDepartments;
46724
+ var args11, tool$organizationsListOrSearchDepartments;
46499
46725
  var init_organizationsListOrSearchDepartments2 = __esm(() => {
46500
46726
  init_organizationsListOrSearchDepartments();
46501
46727
  init_operations();
46502
46728
  init_tools();
46503
- args10 = {
46729
+ args11 = {
46504
46730
  request: ListOrSearchDepartmentsRequest$inboundSchema
46505
46731
  };
46506
46732
  tool$organizationsListOrSearchDepartments = {
@@ -46508,9 +46734,9 @@ var init_organizationsListOrSearchDepartments2 = __esm(() => {
46508
46734
  description: `List or search departments
46509
46735
 
46510
46736
  List or search departments.`,
46511
- args: args10,
46512
- tool: async (client, args11, ctx) => {
46513
- const [result, apiCall] = await organizationsListOrSearchDepartments(client, args11.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
46737
+ args: args11,
46738
+ tool: async (client, args12, ctx) => {
46739
+ const [result, apiCall] = await organizationsListOrSearchDepartments(client, args12.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
46514
46740
  if (!result.ok) {
46515
46741
  return {
46516
46742
  content: [{ type: "text", text: result.error.message }],
@@ -46525,9 +46751,9 @@ List or search departments.`,
46525
46751
 
46526
46752
  // src/funcs/organizationsListOrSearchFacilities.ts
46527
46753
  function organizationsListOrSearchFacilities(client, request, options) {
46528
- return new APIPromise($do11(client, request, options));
46754
+ return new APIPromise($do12(client, request, options));
46529
46755
  }
46530
- async function $do11(client, request, options) {
46756
+ async function $do12(client, request, options) {
46531
46757
  const parsed = safeParse(request, (value) => ListOrSearchFacilitiesRequest$outboundSchema.parse(value), "Input validation failed");
46532
46758
  if (!parsed.ok) {
46533
46759
  return [haltIterator(parsed), { status: "invalid" }];
@@ -46643,12 +46869,12 @@ var init_organizationsListOrSearchFacilities = __esm(() => {
46643
46869
  });
46644
46870
 
46645
46871
  // src/mcp-server/tools/organizationsListOrSearchFacilities.ts
46646
- var args11, tool$organizationsListOrSearchFacilities;
46872
+ var args12, tool$organizationsListOrSearchFacilities;
46647
46873
  var init_organizationsListOrSearchFacilities2 = __esm(() => {
46648
46874
  init_organizationsListOrSearchFacilities();
46649
46875
  init_operations();
46650
46876
  init_tools();
46651
- args11 = {
46877
+ args12 = {
46652
46878
  request: ListOrSearchFacilitiesRequest$inboundSchema
46653
46879
  };
46654
46880
  tool$organizationsListOrSearchFacilities = {
@@ -46669,9 +46895,9 @@ Available \`expand\` scopes are:
46669
46895
  - facility.vendor_policy
46670
46896
  - facility.visitor_policy
46671
46897
  - facility.workflow`,
46672
- args: args11,
46673
- tool: async (client, args12, ctx) => {
46674
- const [result, apiCall] = await organizationsListOrSearchFacilities(client, args12.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
46898
+ args: args12,
46899
+ tool: async (client, args13, ctx) => {
46900
+ const [result, apiCall] = await organizationsListOrSearchFacilities(client, args13.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
46675
46901
  if (!result.ok) {
46676
46902
  return {
46677
46903
  content: [{ type: "text", text: result.error.message }],
@@ -46686,9 +46912,9 @@ Available \`expand\` scopes are:
46686
46912
 
46687
46913
  // src/funcs/supportArticlesGetSupportArticle.ts
46688
46914
  function supportArticlesGetSupportArticle(client, request, options) {
46689
- return new APIPromise($do12(client, request, options));
46915
+ return new APIPromise($do13(client, request, options));
46690
46916
  }
46691
- async function $do12(client, request, options) {
46917
+ async function $do13(client, request, options) {
46692
46918
  const parsed = safeParse(request, (value) => GetSupportArticleRequest$outboundSchema.parse(value), "Input validation failed");
46693
46919
  if (!parsed.ok) {
46694
46920
  return [parsed, { status: "invalid" }];
@@ -46768,12 +46994,12 @@ var init_supportArticlesGetSupportArticle = __esm(() => {
46768
46994
  });
46769
46995
 
46770
46996
  // src/mcp-server/tools/supportArticlesGetSupportArticle.ts
46771
- var args12, tool$supportArticlesGetSupportArticle;
46997
+ var args13, tool$supportArticlesGetSupportArticle;
46772
46998
  var init_supportArticlesGetSupportArticle2 = __esm(() => {
46773
46999
  init_supportArticlesGetSupportArticle();
46774
47000
  init_operations();
46775
47001
  init_tools();
46776
- args12 = {
47002
+ args13 = {
46777
47003
  request: GetSupportArticleRequest$inboundSchema
46778
47004
  };
46779
47005
  tool$supportArticlesGetSupportArticle = {
@@ -46788,9 +47014,9 @@ Available \`expand\` scopes are:
46788
47014
  - support_article.published
46789
47015
  - support_article.notes
46790
47016
  - support_article.support_category`,
46791
- args: args12,
46792
- tool: async (client, args13, ctx) => {
46793
- const [result, apiCall] = await supportArticlesGetSupportArticle(client, args13.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47017
+ args: args13,
47018
+ tool: async (client, args14, ctx) => {
47019
+ const [result, apiCall] = await supportArticlesGetSupportArticle(client, args14.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
46794
47020
  if (!result.ok) {
46795
47021
  return {
46796
47022
  content: [{ type: "text", text: result.error.message }],
@@ -46805,9 +47031,9 @@ Available \`expand\` scopes are:
46805
47031
 
46806
47032
  // src/funcs/supportArticlesListOrSearchSupportArticles.ts
46807
47033
  function supportArticlesListOrSearchSupportArticles(client, request, options) {
46808
- return new APIPromise($do13(client, request, options));
47034
+ return new APIPromise($do14(client, request, options));
46809
47035
  }
46810
- async function $do13(client, request, options) {
47036
+ async function $do14(client, request, options) {
46811
47037
  const parsed = safeParse(request, (value) => ListOrSearchSupportArticlesRequest$outboundSchema.parse(value), "Input validation failed");
46812
47038
  if (!parsed.ok) {
46813
47039
  return [haltIterator(parsed), { status: "invalid" }];
@@ -46917,12 +47143,12 @@ var init_supportArticlesListOrSearchSupportArticles = __esm(() => {
46917
47143
  });
46918
47144
 
46919
47145
  // src/mcp-server/tools/supportArticlesListOrSearchSupportArticles.ts
46920
- var args13, tool$supportArticlesListOrSearchSupportArticles;
47146
+ var args14, tool$supportArticlesListOrSearchSupportArticles;
46921
47147
  var init_supportArticlesListOrSearchSupportArticles2 = __esm(() => {
46922
47148
  init_supportArticlesListOrSearchSupportArticles();
46923
47149
  init_operations();
46924
47150
  init_tools();
46925
- args13 = {
47151
+ args14 = {
46926
47152
  request: ListOrSearchSupportArticlesRequest$inboundSchema
46927
47153
  };
46928
47154
  tool$supportArticlesListOrSearchSupportArticles = {
@@ -46930,9 +47156,9 @@ var init_supportArticlesListOrSearchSupportArticles2 = __esm(() => {
46930
47156
  description: `List or search support articles
46931
47157
 
46932
47158
  List or search support articles for FAQ.`,
46933
- args: args13,
46934
- tool: async (client, args14, ctx) => {
46935
- const [result, apiCall] = await supportArticlesListOrSearchSupportArticles(client, args14.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47159
+ args: args14,
47160
+ tool: async (client, args15, ctx) => {
47161
+ const [result, apiCall] = await supportArticlesListOrSearchSupportArticles(client, args15.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
46936
47162
  if (!result.ok) {
46937
47163
  return {
46938
47164
  content: [{ type: "text", text: result.error.message }],
@@ -46947,9 +47173,9 @@ List or search support articles for FAQ.`,
46947
47173
 
46948
47174
  // src/funcs/systemsListSystems.ts
46949
47175
  function systemsListSystems(client, request, options) {
46950
- return new APIPromise($do14(client, request, options));
47176
+ return new APIPromise($do15(client, request, options));
46951
47177
  }
46952
- async function $do14(client, request, options) {
47178
+ async function $do15(client, request, options) {
46953
47179
  const parsed = safeParse(request, (value) => ListSystemsRequest$outboundSchema.parse(value), "Input validation failed");
46954
47180
  if (!parsed.ok) {
46955
47181
  return [haltIterator(parsed), { status: "invalid" }];
@@ -47060,12 +47286,12 @@ var init_systemsListSystems = __esm(() => {
47060
47286
  });
47061
47287
 
47062
47288
  // src/mcp-server/tools/systemsListSystems.ts
47063
- var args14, tool$systemsListSystems;
47289
+ var args15, tool$systemsListSystems;
47064
47290
  var init_systemsListSystems2 = __esm(() => {
47065
47291
  init_systemsListSystems();
47066
47292
  init_operations();
47067
47293
  init_tools();
47068
- args14 = {
47294
+ args15 = {
47069
47295
  request: ListSystemsRequest$inboundSchema
47070
47296
  };
47071
47297
  tool$systemsListSystems = {
@@ -47077,9 +47303,9 @@ List or search systems.
47077
47303
  Available \`expand\` scopes are:
47078
47304
 
47079
47305
  - system.facilities`,
47080
- args: args14,
47081
- tool: async (client, args15, ctx) => {
47082
- const [result, apiCall] = await systemsListSystems(client, args15.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47306
+ args: args15,
47307
+ tool: async (client, args16, ctx) => {
47308
+ const [result, apiCall] = await systemsListSystems(client, args16.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47083
47309
  if (!result.ok) {
47084
47310
  return {
47085
47311
  content: [{ type: "text", text: result.error.message }],
@@ -47094,9 +47320,9 @@ Available \`expand\` scopes are:
47094
47320
 
47095
47321
  // src/funcs/usersChangePassword.ts
47096
47322
  function usersChangePassword(client, request, options) {
47097
- return new APIPromise($do15(client, request, options));
47323
+ return new APIPromise($do16(client, request, options));
47098
47324
  }
47099
- async function $do15(client, request, options) {
47325
+ async function $do16(client, request, options) {
47100
47326
  const parsed = safeParse(request, (value) => ChangePasswordRequest$outboundSchema.parse(value), "Input validation failed");
47101
47327
  if (!parsed.ok) {
47102
47328
  return [parsed, { status: "invalid" }];
@@ -47172,12 +47398,12 @@ var init_usersChangePassword = __esm(() => {
47172
47398
  });
47173
47399
 
47174
47400
  // src/mcp-server/tools/usersChangePassword.ts
47175
- var args15, tool$usersChangePassword;
47401
+ var args16, tool$usersChangePassword;
47176
47402
  var init_usersChangePassword2 = __esm(() => {
47177
47403
  init_usersChangePassword();
47178
47404
  init_operations();
47179
47405
  init_tools();
47180
- args15 = {
47406
+ args16 = {
47181
47407
  request: ChangePasswordRequest$inboundSchema
47182
47408
  };
47183
47409
  tool$usersChangePassword = {
@@ -47185,9 +47411,9 @@ var init_usersChangePassword2 = __esm(() => {
47185
47411
  description: `Change password
47186
47412
 
47187
47413
  Change the user's password to the new passed as parameter`,
47188
- args: args15,
47189
- tool: async (client, args16, ctx) => {
47190
- const [result, apiCall] = await usersChangePassword(client, args16.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47414
+ args: args16,
47415
+ tool: async (client, args17, ctx) => {
47416
+ const [result, apiCall] = await usersChangePassword(client, args17.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47191
47417
  if (!result.ok) {
47192
47418
  return {
47193
47419
  content: [{ type: "text", text: result.error.message }],
@@ -47202,9 +47428,9 @@ Change the user's password to the new passed as parameter`,
47202
47428
 
47203
47429
  // src/funcs/usersGetCurrentUser.ts
47204
47430
  function usersGetCurrentUser(client, options) {
47205
- return new APIPromise($do16(client, options));
47431
+ return new APIPromise($do17(client, options));
47206
47432
  }
47207
- async function $do16(client, options) {
47433
+ async function $do17(client, options) {
47208
47434
  const path = pathToFunc("/users/me")();
47209
47435
  const headers = new Headers(compactMap({
47210
47436
  Accept: "application/json"
@@ -47289,9 +47515,9 @@ Returns a user object for the user represented by the authorization token`,
47289
47515
 
47290
47516
  // src/funcs/usersGetUserById.ts
47291
47517
  function usersGetUserById(client, request, options) {
47292
- return new APIPromise($do17(client, request, options));
47518
+ return new APIPromise($do18(client, request, options));
47293
47519
  }
47294
- async function $do17(client, request, options) {
47520
+ async function $do18(client, request, options) {
47295
47521
  const parsed = safeParse(request, (value) => GetUserByIdRequest$outboundSchema.parse(value), "Input validation failed");
47296
47522
  if (!parsed.ok) {
47297
47523
  return [parsed, { status: "invalid" }];
@@ -47367,12 +47593,12 @@ var init_usersGetUserById = __esm(() => {
47367
47593
  });
47368
47594
 
47369
47595
  // src/mcp-server/tools/usersGetUserById.ts
47370
- var args16, tool$usersGetUserById;
47596
+ var args17, tool$usersGetUserById;
47371
47597
  var init_usersGetUserById2 = __esm(() => {
47372
47598
  init_usersGetUserById();
47373
47599
  init_operations();
47374
47600
  init_tools();
47375
- args16 = {
47601
+ args17 = {
47376
47602
  request: GetUserByIdRequest$inboundSchema
47377
47603
  };
47378
47604
  tool$usersGetUserById = {
@@ -47380,9 +47606,9 @@ var init_usersGetUserById2 = __esm(() => {
47380
47606
  description: `Get user by id
47381
47607
 
47382
47608
  Returns a user object for the user represented by the identifier in the path.`,
47383
- args: args16,
47384
- tool: async (client, args17, ctx) => {
47385
- const [result, apiCall] = await usersGetUserById(client, args17.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47609
+ args: args17,
47610
+ tool: async (client, args18, ctx) => {
47611
+ const [result, apiCall] = await usersGetUserById(client, args18.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47386
47612
  if (!result.ok) {
47387
47613
  return {
47388
47614
  content: [{ type: "text", text: result.error.message }],
@@ -47397,9 +47623,9 @@ Returns a user object for the user represented by the identifier in the path.`,
47397
47623
 
47398
47624
  // src/funcs/usersMagiclink.ts
47399
47625
  function usersMagiclink(client, request, options) {
47400
- return new APIPromise($do18(client, request, options));
47626
+ return new APIPromise($do19(client, request, options));
47401
47627
  }
47402
- async function $do18(client, request, options) {
47628
+ async function $do19(client, request, options) {
47403
47629
  const parsed = safeParse(request, (value) => MagiclinkRequestBody$outboundSchema.parse(value), "Input validation failed");
47404
47630
  if (!parsed.ok) {
47405
47631
  return [parsed, { status: "invalid" }];
@@ -47469,12 +47695,12 @@ var init_usersMagiclink = __esm(() => {
47469
47695
  });
47470
47696
 
47471
47697
  // src/mcp-server/tools/usersMagiclink.ts
47472
- var args17, tool$usersMagiclink;
47698
+ var args18, tool$usersMagiclink;
47473
47699
  var init_usersMagiclink2 = __esm(() => {
47474
47700
  init_usersMagiclink();
47475
47701
  init_operations();
47476
47702
  init_tools();
47477
- args17 = {
47703
+ args18 = {
47478
47704
  request: MagiclinkRequestBody$inboundSchema
47479
47705
  };
47480
47706
  tool$usersMagiclink = {
@@ -47482,9 +47708,9 @@ var init_usersMagiclink2 = __esm(() => {
47482
47708
  description: `Magic link
47483
47709
 
47484
47710
  It sends an email with a magic link to allow the user to log in.`,
47485
- args: args17,
47486
- tool: async (client, args18, ctx) => {
47487
- const [result, apiCall] = await usersMagiclink(client, args18.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47711
+ args: args18,
47712
+ tool: async (client, args19, ctx) => {
47713
+ const [result, apiCall] = await usersMagiclink(client, args19.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47488
47714
  if (!result.ok) {
47489
47715
  return {
47490
47716
  content: [{ type: "text", text: result.error.message }],
@@ -47499,9 +47725,9 @@ It sends an email with a magic link to allow the user to log in.`,
47499
47725
 
47500
47726
  // src/funcs/usersPassword.ts
47501
47727
  function usersPassword(client, request, options) {
47502
- return new APIPromise($do19(client, request, options));
47728
+ return new APIPromise($do20(client, request, options));
47503
47729
  }
47504
- async function $do19(client, request, options) {
47730
+ async function $do20(client, request, options) {
47505
47731
  const parsed = safeParse(request, (value) => PasswordRequestBody$outboundSchema.parse(value), "Input validation failed");
47506
47732
  if (!parsed.ok) {
47507
47733
  return [parsed, { status: "invalid" }];
@@ -47571,12 +47797,12 @@ var init_usersPassword = __esm(() => {
47571
47797
  });
47572
47798
 
47573
47799
  // src/mcp-server/tools/usersPassword.ts
47574
- var args18, tool$usersPassword;
47800
+ var args19, tool$usersPassword;
47575
47801
  var init_usersPassword2 = __esm(() => {
47576
47802
  init_usersPassword();
47577
47803
  init_operations();
47578
47804
  init_tools();
47579
- args18 = {
47805
+ args19 = {
47580
47806
  request: PasswordRequestBody$inboundSchema
47581
47807
  };
47582
47808
  tool$usersPassword = {
@@ -47585,9 +47811,9 @@ var init_usersPassword2 = __esm(() => {
47585
47811
 
47586
47812
  Resets the a user's password using a password_reset_id that was sent to them via email.
47587
47813
  See /users/passwordresetrequest to initiate a password reset flow.`,
47588
- args: args18,
47589
- tool: async (client, args19, ctx) => {
47590
- const [result, apiCall] = await usersPassword(client, args19.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47814
+ args: args19,
47815
+ tool: async (client, args20, ctx) => {
47816
+ const [result, apiCall] = await usersPassword(client, args20.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47591
47817
  if (!result.ok) {
47592
47818
  return {
47593
47819
  content: [{ type: "text", text: result.error.message }],
@@ -47602,9 +47828,9 @@ See /users/passwordresetrequest to initiate a password reset flow.`,
47602
47828
 
47603
47829
  // src/funcs/usersPasswordResetRequest.ts
47604
47830
  function usersPasswordResetRequest(client, request, options) {
47605
- return new APIPromise($do20(client, request, options));
47831
+ return new APIPromise($do21(client, request, options));
47606
47832
  }
47607
- async function $do20(client, request, options) {
47833
+ async function $do21(client, request, options) {
47608
47834
  const parsed = safeParse(request, (value) => PasswordResetRequestRequestBody$outboundSchema.parse(value), "Input validation failed");
47609
47835
  if (!parsed.ok) {
47610
47836
  return [parsed, { status: "invalid" }];
@@ -47674,12 +47900,12 @@ var init_usersPasswordResetRequest = __esm(() => {
47674
47900
  });
47675
47901
 
47676
47902
  // src/mcp-server/tools/usersPasswordResetRequest.ts
47677
- var args19, tool$usersPasswordResetRequest;
47903
+ var args20, tool$usersPasswordResetRequest;
47678
47904
  var init_usersPasswordResetRequest2 = __esm(() => {
47679
47905
  init_usersPasswordResetRequest();
47680
47906
  init_operations();
47681
47907
  init_tools();
47682
- args19 = {
47908
+ args20 = {
47683
47909
  request: PasswordResetRequestRequestBody$inboundSchema
47684
47910
  };
47685
47911
  tool$usersPasswordResetRequest = {
@@ -47687,9 +47913,9 @@ var init_usersPasswordResetRequest2 = __esm(() => {
47687
47913
  description: `Password reset request
47688
47914
 
47689
47915
  It sends an email with a link for resetting a user's password.`,
47690
- args: args19,
47691
- tool: async (client, args20, ctx) => {
47692
- const [result, apiCall] = await usersPasswordResetRequest(client, args20.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47916
+ args: args20,
47917
+ tool: async (client, args21, ctx) => {
47918
+ const [result, apiCall] = await usersPasswordResetRequest(client, args21.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47693
47919
  if (!result.ok) {
47694
47920
  return {
47695
47921
  content: [{ type: "text", text: result.error.message }],
@@ -47704,9 +47930,9 @@ It sends an email with a link for resetting a user's password.`,
47704
47930
 
47705
47931
  // src/funcs/usersPostAuthenticate.ts
47706
47932
  function usersPostAuthenticate(client, request, options) {
47707
- return new APIPromise($do21(client, request, options));
47933
+ return new APIPromise($do22(client, request, options));
47708
47934
  }
47709
- async function $do21(client, request, options) {
47935
+ async function $do22(client, request, options) {
47710
47936
  const parsed = safeParse(request, (value) => PostAuthenticateRequestBody$outboundSchema.parse(value), "Input validation failed");
47711
47937
  if (!parsed.ok) {
47712
47938
  return [parsed, { status: "invalid" }];
@@ -47772,12 +47998,12 @@ var init_usersPostAuthenticate = __esm(() => {
47772
47998
  });
47773
47999
 
47774
48000
  // src/mcp-server/tools/usersPostAuthenticate.ts
47775
- var args20, tool$usersPostAuthenticate;
48001
+ var args21, tool$usersPostAuthenticate;
47776
48002
  var init_usersPostAuthenticate2 = __esm(() => {
47777
48003
  init_usersPostAuthenticate();
47778
48004
  init_operations();
47779
48005
  init_tools();
47780
- args20 = {
48006
+ args21 = {
47781
48007
  request: PostAuthenticateRequestBody$inboundSchema
47782
48008
  };
47783
48009
  tool$usersPostAuthenticate = {
@@ -47815,9 +48041,9 @@ Requires: \`saml_login\`
47815
48041
  3. Site redirects to your selected \`return_url\`
47816
48042
  4. The \`user_token\` will be appended as a query string parameter to your \`return_url\` - you must parse this token and store it
47817
48043
  5. Fetch the user object from \`/users/me\` using the token`,
47818
- args: args20,
47819
- tool: async (client, args21, ctx) => {
47820
- const [result, apiCall] = await usersPostAuthenticate(client, args21.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48044
+ args: args21,
48045
+ tool: async (client, args22, ctx) => {
48046
+ const [result, apiCall] = await usersPostAuthenticate(client, args22.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47821
48047
  if (!result.ok) {
47822
48048
  return {
47823
48049
  content: [{ type: "text", text: result.error.message }],
@@ -47832,9 +48058,9 @@ Requires: \`saml_login\`
47832
48058
 
47833
48059
  // src/funcs/usersRotateApiKey.ts
47834
48060
  function usersRotateApiKey(client, options) {
47835
- return new APIPromise($do22(client, options));
48061
+ return new APIPromise($do23(client, options));
47836
48062
  }
47837
- async function $do22(client, options) {
48063
+ async function $do23(client, options) {
47838
48064
  const path = pathToFunc("/users/api_key_rotator")();
47839
48065
  const headers = new Headers(compactMap({
47840
48066
  Accept: "application/json"
@@ -47919,9 +48145,9 @@ Allows an API user to rotate their own API key. Note, the key rotation happens i
47919
48145
 
47920
48146
  // src/funcs/vendorsAcceptVendorCredential.ts
47921
48147
  function vendorsAcceptVendorCredential(client, request, options) {
47922
- return new APIPromise($do23(client, request, options));
48148
+ return new APIPromise($do24(client, request, options));
47923
48149
  }
47924
- async function $do23(client, request, options) {
48150
+ async function $do24(client, request, options) {
47925
48151
  const parsed = safeParse(request, (value) => AcceptVendorCredentialRequest$outboundSchema.parse(value), "Input validation failed");
47926
48152
  if (!parsed.ok) {
47927
48153
  return [parsed, { status: "invalid" }];
@@ -47994,12 +48220,12 @@ var init_vendorsAcceptVendorCredential = __esm(() => {
47994
48220
  });
47995
48221
 
47996
48222
  // src/mcp-server/tools/vendorsAcceptVendorCredential.ts
47997
- var args21, tool$vendorsAcceptVendorCredential;
48223
+ var args22, tool$vendorsAcceptVendorCredential;
47998
48224
  var init_vendorsAcceptVendorCredential2 = __esm(() => {
47999
48225
  init_vendorsAcceptVendorCredential();
48000
48226
  init_operations();
48001
48227
  init_tools();
48002
- args21 = {
48228
+ args22 = {
48003
48229
  request: AcceptVendorCredentialRequest$inboundSchema
48004
48230
  };
48005
48231
  tool$vendorsAcceptVendorCredential = {
@@ -48007,9 +48233,9 @@ var init_vendorsAcceptVendorCredential2 = __esm(() => {
48007
48233
  description: `Accept vendor credential
48008
48234
 
48009
48235
  It will accept vendor credential`,
48010
- args: args21,
48011
- tool: async (client, args22, ctx) => {
48012
- const [result, apiCall] = await vendorsAcceptVendorCredential(client, args22.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48236
+ args: args22,
48237
+ tool: async (client, args23, ctx) => {
48238
+ const [result, apiCall] = await vendorsAcceptVendorCredential(client, args23.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48013
48239
  if (!result.ok) {
48014
48240
  return {
48015
48241
  content: [{ type: "text", text: result.error.message }],
@@ -48024,9 +48250,9 @@ It will accept vendor credential`,
48024
48250
 
48025
48251
  // src/funcs/vendorsAddVendorCredentialFile.ts
48026
48252
  function vendorsAddVendorCredentialFile(client, request, options) {
48027
- return new APIPromise($do24(client, request, options));
48253
+ return new APIPromise($do25(client, request, options));
48028
48254
  }
48029
- async function $do24(client, request, options) {
48255
+ async function $do25(client, request, options) {
48030
48256
  const parsed = safeParse(request, (value) => AddVendorCredentialFileRequest$outboundSchema.parse(value), "Input validation failed");
48031
48257
  if (!parsed.ok) {
48032
48258
  return [parsed, { status: "invalid" }];
@@ -48099,12 +48325,12 @@ var init_vendorsAddVendorCredentialFile = __esm(() => {
48099
48325
  });
48100
48326
 
48101
48327
  // src/mcp-server/tools/vendorsAddVendorCredentialFile.ts
48102
- var args22, tool$vendorsAddVendorCredentialFile;
48328
+ var args23, tool$vendorsAddVendorCredentialFile;
48103
48329
  var init_vendorsAddVendorCredentialFile2 = __esm(() => {
48104
48330
  init_vendorsAddVendorCredentialFile();
48105
48331
  init_operations();
48106
48332
  init_tools();
48107
- args22 = {
48333
+ args23 = {
48108
48334
  request: AddVendorCredentialFileRequest$inboundSchema
48109
48335
  };
48110
48336
  tool$vendorsAddVendorCredentialFile = {
@@ -48112,9 +48338,9 @@ var init_vendorsAddVendorCredentialFile2 = __esm(() => {
48112
48338
  description: `Add vendor credential file
48113
48339
 
48114
48340
  It will add a new vendor credential file`,
48115
- args: args22,
48116
- tool: async (client, args23, ctx) => {
48117
- const [result, apiCall] = await vendorsAddVendorCredentialFile(client, args23.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48341
+ args: args23,
48342
+ tool: async (client, args24, ctx) => {
48343
+ const [result, apiCall] = await vendorsAddVendorCredentialFile(client, args24.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48118
48344
  if (!result.ok) {
48119
48345
  return {
48120
48346
  content: [{ type: "text", text: result.error.message }],
@@ -48129,9 +48355,9 @@ It will add a new vendor credential file`,
48129
48355
 
48130
48356
  // src/funcs/vendorsAddVendorManagedByCompany.ts
48131
48357
  function vendorsAddVendorManagedByCompany(client, request, options) {
48132
- return new APIPromise($do25(client, request, options));
48358
+ return new APIPromise($do26(client, request, options));
48133
48359
  }
48134
- async function $do25(client, request, options) {
48360
+ async function $do26(client, request, options) {
48135
48361
  const parsed = safeParse(request, (value) => AddVendorManagedByCompanyRequest$outboundSchema.parse(value), "Input validation failed");
48136
48362
  if (!parsed.ok) {
48137
48363
  return [parsed, { status: "invalid" }];
@@ -48207,12 +48433,12 @@ var init_vendorsAddVendorManagedByCompany = __esm(() => {
48207
48433
  });
48208
48434
 
48209
48435
  // src/mcp-server/tools/vendorsAddVendorManagedByCompany.ts
48210
- var args23, tool$vendorsAddVendorManagedByCompany;
48436
+ var args24, tool$vendorsAddVendorManagedByCompany;
48211
48437
  var init_vendorsAddVendorManagedByCompany2 = __esm(() => {
48212
48438
  init_vendorsAddVendorManagedByCompany();
48213
48439
  init_operations();
48214
48440
  init_tools();
48215
- args23 = {
48441
+ args24 = {
48216
48442
  request: AddVendorManagedByCompanyRequest$inboundSchema
48217
48443
  };
48218
48444
  tool$vendorsAddVendorManagedByCompany = {
@@ -48220,9 +48446,9 @@ var init_vendorsAddVendorManagedByCompany2 = __esm(() => {
48220
48446
  description: `Add vendor managed by company
48221
48447
 
48222
48448
  It will add a vendor managed by company`,
48223
- args: args23,
48224
- tool: async (client, args24, ctx) => {
48225
- const [result, apiCall] = await vendorsAddVendorManagedByCompany(client, args24.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48449
+ args: args24,
48450
+ tool: async (client, args25, ctx) => {
48451
+ const [result, apiCall] = await vendorsAddVendorManagedByCompany(client, args25.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48226
48452
  if (!result.ok) {
48227
48453
  return {
48228
48454
  content: [{ type: "text", text: result.error.message }],
@@ -48237,9 +48463,9 @@ It will add a vendor managed by company`,
48237
48463
 
48238
48464
  // src/funcs/vendorsCalculateSubscriptionPrice.ts
48239
48465
  function vendorsCalculateSubscriptionPrice(client, request, options) {
48240
- return new APIPromise($do26(client, request, options));
48466
+ return new APIPromise($do27(client, request, options));
48241
48467
  }
48242
- async function $do26(client, request, options) {
48468
+ async function $do27(client, request, options) {
48243
48469
  const parsed = safeParse(request, (value) => CalculateSubscriptionPriceRequest$outboundSchema.parse(value), "Input validation failed");
48244
48470
  if (!parsed.ok) {
48245
48471
  return [parsed, { status: "invalid" }];
@@ -48315,12 +48541,12 @@ var init_vendorsCalculateSubscriptionPrice = __esm(() => {
48315
48541
  });
48316
48542
 
48317
48543
  // src/mcp-server/tools/vendorsCalculateSubscriptionPrice.ts
48318
- var args24, tool$vendorsCalculateSubscriptionPrice;
48544
+ var args25, tool$vendorsCalculateSubscriptionPrice;
48319
48545
  var init_vendorsCalculateSubscriptionPrice2 = __esm(() => {
48320
48546
  init_vendorsCalculateSubscriptionPrice();
48321
48547
  init_operations();
48322
48548
  init_tools();
48323
- args24 = {
48549
+ args25 = {
48324
48550
  request: CalculateSubscriptionPriceRequest$inboundSchema
48325
48551
  };
48326
48552
  tool$vendorsCalculateSubscriptionPrice = {
@@ -48328,9 +48554,9 @@ var init_vendorsCalculateSubscriptionPrice2 = __esm(() => {
48328
48554
  description: `Calculate subscription price
48329
48555
 
48330
48556
  Calculate subscription price`,
48331
- args: args24,
48332
- tool: async (client, args25, ctx) => {
48333
- const [result, apiCall] = await vendorsCalculateSubscriptionPrice(client, args25.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48557
+ args: args25,
48558
+ tool: async (client, args26, ctx) => {
48559
+ const [result, apiCall] = await vendorsCalculateSubscriptionPrice(client, args26.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48334
48560
  if (!result.ok) {
48335
48561
  return {
48336
48562
  content: [{ type: "text", text: result.error.message }],
@@ -48345,9 +48571,9 @@ Calculate subscription price`,
48345
48571
 
48346
48572
  // src/funcs/vendorScansVendorScanOut.ts
48347
48573
  function vendorScansVendorScanOut(client, request, options) {
48348
- return new APIPromise($do27(client, request, options));
48574
+ return new APIPromise($do28(client, request, options));
48349
48575
  }
48350
- async function $do27(client, request, options) {
48576
+ async function $do28(client, request, options) {
48351
48577
  const parsed = safeParse(request, (value) => VendorScanOutRequest$outboundSchema.parse(value), "Input validation failed");
48352
48578
  if (!parsed.ok) {
48353
48579
  return [parsed, { status: "invalid" }];
@@ -48422,12 +48648,12 @@ var init_vendorScansVendorScanOut = __esm(() => {
48422
48648
  });
48423
48649
 
48424
48650
  // src/mcp-server/tools/vendorScansVendorScanOut.ts
48425
- var args25, tool$vendorScansVendorScanOut;
48651
+ var args26, tool$vendorScansVendorScanOut;
48426
48652
  var init_vendorScansVendorScanOut2 = __esm(() => {
48427
48653
  init_vendorScansVendorScanOut();
48428
48654
  init_operations();
48429
48655
  init_tools();
48430
- args25 = {
48656
+ args26 = {
48431
48657
  request: VendorScanOutRequest$inboundSchema
48432
48658
  };
48433
48659
  tool$vendorScansVendorScanOut = {
@@ -48435,9 +48661,9 @@ var init_vendorScansVendorScanOut2 = __esm(() => {
48435
48661
  description: `Vendor scan out
48436
48662
 
48437
48663
  It scans out vendor from facility`,
48438
- args: args25,
48439
- tool: async (client, args26, ctx) => {
48440
- const [result, apiCall] = await vendorScansVendorScanOut(client, args26.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48664
+ args: args26,
48665
+ tool: async (client, args27, ctx) => {
48666
+ const [result, apiCall] = await vendorScansVendorScanOut(client, args27.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48441
48667
  if (!result.ok) {
48442
48668
  return {
48443
48669
  content: [{ type: "text", text: result.error.message }],
@@ -48452,9 +48678,9 @@ It scans out vendor from facility`,
48452
48678
 
48453
48679
  // src/funcs/vendorsChangeSubscription.ts
48454
48680
  function vendorsChangeSubscription(client, request, options) {
48455
- return new APIPromise($do28(client, request, options));
48681
+ return new APIPromise($do29(client, request, options));
48456
48682
  }
48457
- async function $do28(client, request, options) {
48683
+ async function $do29(client, request, options) {
48458
48684
  const parsed = safeParse(request, (value) => ChangeSubscriptionRequest$outboundSchema.parse(value), "Input validation failed");
48459
48685
  if (!parsed.ok) {
48460
48686
  return [parsed, { status: "invalid" }];
@@ -48530,12 +48756,12 @@ var init_vendorsChangeSubscription = __esm(() => {
48530
48756
  });
48531
48757
 
48532
48758
  // src/mcp-server/tools/vendorsChangeSubscription.ts
48533
- var args26, tool$vendorsChangeSubscription;
48759
+ var args27, tool$vendorsChangeSubscription;
48534
48760
  var init_vendorsChangeSubscription2 = __esm(() => {
48535
48761
  init_vendorsChangeSubscription();
48536
48762
  init_operations();
48537
48763
  init_tools();
48538
- args26 = {
48764
+ args27 = {
48539
48765
  request: ChangeSubscriptionRequest$inboundSchema
48540
48766
  };
48541
48767
  tool$vendorsChangeSubscription = {
@@ -48543,9 +48769,9 @@ var init_vendorsChangeSubscription2 = __esm(() => {
48543
48769
  description: `Change subscription
48544
48770
 
48545
48771
  Calculate subscription price`,
48546
- args: args26,
48547
- tool: async (client, args27, ctx) => {
48548
- const [result, apiCall] = await vendorsChangeSubscription(client, args27.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48772
+ args: args27,
48773
+ tool: async (client, args28, ctx) => {
48774
+ const [result, apiCall] = await vendorsChangeSubscription(client, args28.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48549
48775
  if (!result.ok) {
48550
48776
  return {
48551
48777
  content: [{ type: "text", text: result.error.message }],
@@ -48560,9 +48786,9 @@ Calculate subscription price`,
48560
48786
 
48561
48787
  // src/funcs/vendorsCheckDownloadCode.ts
48562
48788
  function vendorsCheckDownloadCode(client, request, options) {
48563
- return new APIPromise($do29(client, request, options));
48789
+ return new APIPromise($do30(client, request, options));
48564
48790
  }
48565
- async function $do29(client, request, options) {
48791
+ async function $do30(client, request, options) {
48566
48792
  const parsed = safeParse(request, (value) => CheckDownloadCodeRequest$outboundSchema.parse(value), "Input validation failed");
48567
48793
  if (!parsed.ok) {
48568
48794
  return [parsed, { status: "invalid" }];
@@ -48638,12 +48864,12 @@ var init_vendorsCheckDownloadCode = __esm(() => {
48638
48864
  });
48639
48865
 
48640
48866
  // src/mcp-server/tools/vendorsCheckDownloadCode.ts
48641
- var args27, tool$vendorsCheckDownloadCode;
48867
+ var args28, tool$vendorsCheckDownloadCode;
48642
48868
  var init_vendorsCheckDownloadCode2 = __esm(() => {
48643
48869
  init_vendorsCheckDownloadCode();
48644
48870
  init_operations();
48645
48871
  init_tools();
48646
- args27 = {
48872
+ args28 = {
48647
48873
  request: CheckDownloadCodeRequest$inboundSchema
48648
48874
  };
48649
48875
  tool$vendorsCheckDownloadCode = {
@@ -48651,9 +48877,9 @@ var init_vendorsCheckDownloadCode2 = __esm(() => {
48651
48877
  description: `Check download code for vendor credential
48652
48878
 
48653
48879
  It will check download code for vendor credential`,
48654
- args: args27,
48655
- tool: async (client, args28, ctx) => {
48656
- const [result, apiCall] = await vendorsCheckDownloadCode(client, args28.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48880
+ args: args28,
48881
+ tool: async (client, args29, ctx) => {
48882
+ const [result, apiCall] = await vendorsCheckDownloadCode(client, args29.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48657
48883
  if (!result.ok) {
48658
48884
  return {
48659
48885
  content: [{ type: "text", text: result.error.message }],
@@ -48668,9 +48894,9 @@ It will check download code for vendor credential`,
48668
48894
 
48669
48895
  // src/funcs/vendorsCreateNewVendorCredentialVersion.ts
48670
48896
  function vendorsCreateNewVendorCredentialVersion(client, request, options) {
48671
- return new APIPromise($do30(client, request, options));
48897
+ return new APIPromise($do31(client, request, options));
48672
48898
  }
48673
- async function $do30(client, request, options) {
48899
+ async function $do31(client, request, options) {
48674
48900
  const parsed = safeParse(request, (value) => CreateNewVendorCredentialVersionRequestBody$outboundSchema.parse(value), "Input validation failed");
48675
48901
  if (!parsed.ok) {
48676
48902
  return [parsed, { status: "invalid" }];
@@ -48740,12 +48966,12 @@ var init_vendorsCreateNewVendorCredentialVersion = __esm(() => {
48740
48966
  });
48741
48967
 
48742
48968
  // src/mcp-server/tools/vendorsCreateNewVendorCredentialVersion.ts
48743
- var args28, tool$vendorsCreateNewVendorCredentialVersion;
48969
+ var args29, tool$vendorsCreateNewVendorCredentialVersion;
48744
48970
  var init_vendorsCreateNewVendorCredentialVersion2 = __esm(() => {
48745
48971
  init_vendorsCreateNewVendorCredentialVersion();
48746
48972
  init_operations();
48747
48973
  init_tools();
48748
- args28 = {
48974
+ args29 = {
48749
48975
  request: CreateNewVendorCredentialVersionRequestBody$inboundSchema
48750
48976
  };
48751
48977
  tool$vendorsCreateNewVendorCredentialVersion = {
@@ -48753,9 +48979,9 @@ var init_vendorsCreateNewVendorCredentialVersion2 = __esm(() => {
48753
48979
  description: `Create new vendor credential version
48754
48980
 
48755
48981
  It will submit vendor credential`,
48756
- args: args28,
48757
- tool: async (client, args29, ctx) => {
48758
- const [result, apiCall] = await vendorsCreateNewVendorCredentialVersion(client, args29.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48982
+ args: args29,
48983
+ tool: async (client, args30, ctx) => {
48984
+ const [result, apiCall] = await vendorsCreateNewVendorCredentialVersion(client, args30.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48759
48985
  if (!result.ok) {
48760
48986
  return {
48761
48987
  content: [{ type: "text", text: result.error.message }],
@@ -48770,9 +48996,9 @@ It will submit vendor credential`,
48770
48996
 
48771
48997
  // src/funcs/vendorsCreateOrUpdateBcr.ts
48772
48998
  function vendorsCreateOrUpdateBcr(client, request, options) {
48773
- return new APIPromise($do31(client, request, options));
48999
+ return new APIPromise($do32(client, request, options));
48774
49000
  }
48775
- async function $do31(client, request, options) {
49001
+ async function $do32(client, request, options) {
48776
49002
  const parsed = safeParse(request, (value) => CreateOrUpdateBcrRequest$outboundSchema.parse(value), "Input validation failed");
48777
49003
  if (!parsed.ok) {
48778
49004
  return [parsed, { status: "invalid" }];
@@ -48846,12 +49072,12 @@ var init_vendorsCreateOrUpdateBcr = __esm(() => {
48846
49072
  });
48847
49073
 
48848
49074
  // src/mcp-server/tools/vendorsCreateOrUpdateBcr.ts
48849
- var args29, tool$vendorsCreateOrUpdateBcr;
49075
+ var args30, tool$vendorsCreateOrUpdateBcr;
48850
49076
  var init_vendorsCreateOrUpdateBcr2 = __esm(() => {
48851
49077
  init_vendorsCreateOrUpdateBcr();
48852
49078
  init_operations();
48853
49079
  init_tools();
48854
- args29 = {
49080
+ args30 = {
48855
49081
  request: CreateOrUpdateBcrRequest$inboundSchema
48856
49082
  };
48857
49083
  tool$vendorsCreateOrUpdateBcr = {
@@ -48859,9 +49085,9 @@ var init_vendorsCreateOrUpdateBcr2 = __esm(() => {
48859
49085
  description: `Create or update BackgroundCheckResults
48860
49086
 
48861
49087
  It will create or update BackgroundCheckResults`,
48862
- args: args29,
48863
- tool: async (client, args30, ctx) => {
48864
- const [result, apiCall] = await vendorsCreateOrUpdateBcr(client, args30.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
49088
+ args: args30,
49089
+ tool: async (client, args31, ctx) => {
49090
+ const [result, apiCall] = await vendorsCreateOrUpdateBcr(client, args31.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48865
49091
  if (!result.ok) {
48866
49092
  return {
48867
49093
  content: [{ type: "text", text: result.error.message }],
@@ -48876,9 +49102,9 @@ It will create or update BackgroundCheckResults`,
48876
49102
 
48877
49103
  // src/funcs/vendorsCreateVendorCompany.ts
48878
49104
  function vendorsCreateVendorCompany(client, request, options) {
48879
- return new APIPromise($do32(client, request, options));
49105
+ return new APIPromise($do33(client, request, options));
48880
49106
  }
48881
- async function $do32(client, request, options) {
49107
+ async function $do33(client, request, options) {
48882
49108
  const parsed = safeParse(request, (value) => CreateVendorCompanyRequest$outboundSchema.parse(value), "Input validation failed");
48883
49109
  if (!parsed.ok) {
48884
49110
  return [parsed, { status: "invalid" }];
@@ -48954,12 +49180,12 @@ var init_vendorsCreateVendorCompany = __esm(() => {
48954
49180
  });
48955
49181
 
48956
49182
  // src/mcp-server/tools/vendorsCreateVendorCompany.ts
48957
- var args30, tool$vendorsCreateVendorCompany;
49183
+ var args31, tool$vendorsCreateVendorCompany;
48958
49184
  var init_vendorsCreateVendorCompany2 = __esm(() => {
48959
49185
  init_vendorsCreateVendorCompany();
48960
49186
  init_operations();
48961
49187
  init_tools();
48962
- args30 = {
49188
+ args31 = {
48963
49189
  request: CreateVendorCompanyRequest$inboundSchema
48964
49190
  };
48965
49191
  tool$vendorsCreateVendorCompany = {
@@ -48967,9 +49193,9 @@ var init_vendorsCreateVendorCompany2 = __esm(() => {
48967
49193
  description: `Create vendor company
48968
49194
 
48969
49195
  Create vendor company`,
48970
- args: args30,
48971
- tool: async (client, args31, ctx) => {
48972
- const [result, apiCall] = await vendorsCreateVendorCompany(client, args31.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
49196
+ args: args31,
49197
+ tool: async (client, args32, ctx) => {
49198
+ const [result, apiCall] = await vendorsCreateVendorCompany(client, args32.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48973
49199
  if (!result.ok) {
48974
49200
  return {
48975
49201
  content: [{ type: "text", text: result.error.message }],
@@ -48984,9 +49210,9 @@ Create vendor company`,
48984
49210
 
48985
49211
  // src/funcs/vendorsCreateVendorRegistration.ts
48986
49212
  function vendorsCreateVendorRegistration(client, request, options) {
48987
- return new APIPromise($do33(client, request, options));
49213
+ return new APIPromise($do34(client, request, options));
48988
49214
  }
48989
- async function $do33(client, request, options) {
49215
+ async function $do34(client, request, options) {
48990
49216
  const parsed = safeParse(request, (value) => CreateVendorRegistrationRequestBody$outboundSchema.parse(value), "Input validation failed");
48991
49217
  if (!parsed.ok) {
48992
49218
  return [parsed, { status: "invalid" }];
@@ -49053,12 +49279,12 @@ var init_vendorsCreateVendorRegistration = __esm(() => {
49053
49279
  });
49054
49280
 
49055
49281
  // src/mcp-server/tools/vendorsCreateVendorRegistration.ts
49056
- var args31, tool$vendorsCreateVendorRegistration;
49282
+ var args32, tool$vendorsCreateVendorRegistration;
49057
49283
  var init_vendorsCreateVendorRegistration2 = __esm(() => {
49058
49284
  init_vendorsCreateVendorRegistration();
49059
49285
  init_operations();
49060
49286
  init_tools();
49061
- args31 = {
49287
+ args32 = {
49062
49288
  request: CreateVendorRegistrationRequestBody$inboundSchema
49063
49289
  };
49064
49290
  tool$vendorsCreateVendorRegistration = {
@@ -49066,9 +49292,9 @@ var init_vendorsCreateVendorRegistration2 = __esm(() => {
49066
49292
  description: `Create vendor registration
49067
49293
 
49068
49294
  Create an initial vendor registration. Once successful, the vendor will be able to continue to filling out the rest of their onboarding profile.`,
49069
- args: args31,
49070
- tool: async (client, args32, ctx) => {
49071
- const [result, apiCall] = await vendorsCreateVendorRegistration(client, args32.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
49295
+ args: args32,
49296
+ tool: async (client, args33, ctx) => {
49297
+ const [result, apiCall] = await vendorsCreateVendorRegistration(client, args33.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
49072
49298
  if (!result.ok) {
49073
49299
  return {
49074
49300
  content: [{ type: "text", text: result.error.message }],
@@ -49083,9 +49309,9 @@ Create an initial vendor registration. Once successful, the vendor will be able
49083
49309
 
49084
49310
  // src/funcs/vendorsDeclineVendorCredential.ts
49085
49311
  function vendorsDeclineVendorCredential(client, request, options) {
49086
- return new APIPromise($do34(client, request, options));
49312
+ return new APIPromise($do35(client, request, options));
49087
49313
  }
49088
- async function $do34(client, request, options) {
49314
+ async function $do35(client, request, options) {
49089
49315
  const parsed = safeParse(request, (value) => DeclineVendorCredentialRequest$outboundSchema.parse(value), "Input validation failed");
49090
49316
  if (!parsed.ok) {
49091
49317
  return [parsed, { status: "invalid" }];
@@ -49158,12 +49384,12 @@ var init_vendorsDeclineVendorCredential = __esm(() => {
49158
49384
  });
49159
49385
 
49160
49386
  // src/mcp-server/tools/vendorsDeclineVendorCredential.ts
49161
- var args32, tool$vendorsDeclineVendorCredential;
49387
+ var args33, tool$vendorsDeclineVendorCredential;
49162
49388
  var init_vendorsDeclineVendorCredential2 = __esm(() => {
49163
49389
  init_vendorsDeclineVendorCredential();
49164
49390
  init_operations();
49165
49391
  init_tools();
49166
- args32 = {
49392
+ args33 = {
49167
49393
  request: DeclineVendorCredentialRequest$inboundSchema
49168
49394
  };
49169
49395
  tool$vendorsDeclineVendorCredential = {
@@ -49171,9 +49397,9 @@ var init_vendorsDeclineVendorCredential2 = __esm(() => {
49171
49397
  description: `Decline vendor credential
49172
49398
 
49173
49399
  It will decline vendor credential`,
49174
- args: args32,
49175
- tool: async (client, args33, ctx) => {
49176
- const [result, apiCall] = await vendorsDeclineVendorCredential(client, args33.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
49400
+ args: args33,
49401
+ tool: async (client, args34, ctx) => {
49402
+ const [result, apiCall] = await vendorsDeclineVendorCredential(client, args34.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
49177
49403
  if (!result.ok) {
49178
49404
  return {
49179
49405
  content: [{ type: "text", text: result.error.message }],
@@ -49188,9 +49414,9 @@ It will decline vendor credential`,
49188
49414
 
49189
49415
  // src/funcs/vendorsDeleteVendorCredentialFile.ts
49190
49416
  function vendorsDeleteVendorCredentialFile(client, request, options) {
49191
- return new APIPromise($do35(client, request, options));
49417
+ return new APIPromise($do36(client, request, options));
49192
49418
  }
49193
- async function $do35(client, request, options) {
49419
+ async function $do36(client, request, options) {
49194
49420
  const parsed = safeParse(request, (value) => DeleteVendorCredentialFileRequest$outboundSchema.parse(value), "Input validation failed");
49195
49421
  if (!parsed.ok) {
49196
49422
  return [parsed, { status: "invalid" }];
@@ -49267,12 +49493,12 @@ var init_vendorsDeleteVendorCredentialFile = __esm(() => {
49267
49493
  });
49268
49494
 
49269
49495
  // src/mcp-server/tools/vendorsDeleteVendorCredentialFile.ts
49270
- var args33, tool$vendorsDeleteVendorCredentialFile;
49496
+ var args34, tool$vendorsDeleteVendorCredentialFile;
49271
49497
  var init_vendorsDeleteVendorCredentialFile2 = __esm(() => {
49272
49498
  init_vendorsDeleteVendorCredentialFile();
49273
49499
  init_operations();
49274
49500
  init_tools();
49275
- args33 = {
49501
+ args34 = {
49276
49502
  request: DeleteVendorCredentialFileRequest$inboundSchema
49277
49503
  };
49278
49504
  tool$vendorsDeleteVendorCredentialFile = {
@@ -49280,9 +49506,9 @@ var init_vendorsDeleteVendorCredentialFile2 = __esm(() => {
49280
49506
  description: `Delete vendor credential file
49281
49507
 
49282
49508
  It will delete the vendor credential file`,
49283
- args: args33,
49284
- tool: async (client, args34, ctx) => {
49285
- const [result, apiCall] = await vendorsDeleteVendorCredentialFile(client, args34.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
49509
+ args: args34,
49510
+ tool: async (client, args35, ctx) => {
49511
+ const [result, apiCall] = await vendorsDeleteVendorCredentialFile(client, args35.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
49286
49512
  if (!result.ok) {
49287
49513
  return {
49288
49514
  content: [{ type: "text", text: result.error.message }],
@@ -49297,9 +49523,9 @@ It will delete the vendor credential file`,
49297
49523
 
49298
49524
  // src/funcs/vendorsDeleteVendorManagedByCompany.ts
49299
49525
  function vendorsDeleteVendorManagedByCompany(client, request, options) {
49300
- return new APIPromise($do36(client, request, options));
49526
+ return new APIPromise($do37(client, request, options));
49301
49527
  }
49302
- async function $do36(client, request, options) {
49528
+ async function $do37(client, request, options) {
49303
49529
  const parsed = safeParse(request, (value) => DeleteVendorManagedByCompanyRequest$outboundSchema.parse(value), "Input validation failed");
49304
49530
  if (!parsed.ok) {
49305
49531
  return [parsed, { status: "invalid" }];
@@ -49375,12 +49601,12 @@ var init_vendorsDeleteVendorManagedByCompany = __esm(() => {
49375
49601
  });
49376
49602
 
49377
49603
  // src/mcp-server/tools/vendorsDeleteVendorManagedByCompany.ts
49378
- var args34, tool$vendorsDeleteVendorManagedByCompany;
49604
+ var args35, tool$vendorsDeleteVendorManagedByCompany;
49379
49605
  var init_vendorsDeleteVendorManagedByCompany2 = __esm(() => {
49380
49606
  init_vendorsDeleteVendorManagedByCompany();
49381
49607
  init_operations();
49382
49608
  init_tools();
49383
- args34 = {
49609
+ args35 = {
49384
49610
  request: DeleteVendorManagedByCompanyRequest$inboundSchema
49385
49611
  };
49386
49612
  tool$vendorsDeleteVendorManagedByCompany = {
@@ -49388,9 +49614,9 @@ var init_vendorsDeleteVendorManagedByCompany2 = __esm(() => {
49388
49614
  description: `Delete vendor managed by company
49389
49615
 
49390
49616
  It will delete the vendor managed by company`,
49391
- args: args34,
49392
- tool: async (client, args35, ctx) => {
49393
- const [result, apiCall] = await vendorsDeleteVendorManagedByCompany(client, args35.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
49617
+ args: args35,
49618
+ tool: async (client, args36, ctx) => {
49619
+ const [result, apiCall] = await vendorsDeleteVendorManagedByCompany(client, args36.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
49394
49620
  if (!result.ok) {
49395
49621
  return {
49396
49622
  content: [{ type: "text", text: result.error.message }],
@@ -49405,9 +49631,9 @@ It will delete the vendor managed by company`,
49405
49631
 
49406
49632
  // src/funcs/vendorsExpediteTimeRemaining.ts
49407
49633
  function vendorsExpediteTimeRemaining(client, request, options) {
49408
- return new APIPromise($do37(client, request, options));
49634
+ return new APIPromise($do38(client, request, options));
49409
49635
  }
49410
- async function $do37(client, request, options) {
49636
+ async function $do38(client, request, options) {
49411
49637
  const parsed = safeParse(request, (value) => ExpediteTimeRemainingRequest$outboundSchema.parse(value), "Input validation failed");
49412
49638
  if (!parsed.ok) {
49413
49639
  return [parsed, { status: "invalid" }];
@@ -49482,12 +49708,12 @@ var init_vendorsExpediteTimeRemaining = __esm(() => {
49482
49708
  });
49483
49709
 
49484
49710
  // src/mcp-server/tools/vendorsExpediteTimeRemaining.ts
49485
- var args35, tool$vendorsExpediteTimeRemaining;
49711
+ var args36, tool$vendorsExpediteTimeRemaining;
49486
49712
  var init_vendorsExpediteTimeRemaining2 = __esm(() => {
49487
49713
  init_vendorsExpediteTimeRemaining();
49488
49714
  init_operations();
49489
49715
  init_tools();
49490
- args35 = {
49716
+ args36 = {
49491
49717
  request: ExpediteTimeRemainingRequest$inboundSchema
49492
49718
  };
49493
49719
  tool$vendorsExpediteTimeRemaining = {
@@ -49495,9 +49721,9 @@ var init_vendorsExpediteTimeRemaining2 = __esm(() => {
49495
49721
  description: `Expedite time remaining
49496
49722
 
49497
49723
  For vendors who have a paid 24-hour expedite credentials invoice, get the remaining time (in seconds) for which submitted credentials will be expedited.`,
49498
- args: args35,
49499
- tool: async (client, args36, ctx) => {
49500
- const [result, apiCall] = await vendorsExpediteTimeRemaining(client, args36.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
49724
+ args: args36,
49725
+ tool: async (client, args37, ctx) => {
49726
+ const [result, apiCall] = await vendorsExpediteTimeRemaining(client, args37.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
49501
49727
  if (!result.ok) {
49502
49728
  return {
49503
49729
  content: [{ type: "text", text: result.error.message }],
@@ -49512,9 +49738,9 @@ For vendors who have a paid 24-hour expedite credentials invoice, get the remain
49512
49738
 
49513
49739
  // src/funcs/vendorsGetSubscription.ts
49514
49740
  function vendorsGetSubscription(client, request, options) {
49515
- return new APIPromise($do38(client, request, options));
49741
+ return new APIPromise($do39(client, request, options));
49516
49742
  }
49517
- async function $do38(client, request, options) {
49743
+ async function $do39(client, request, options) {
49518
49744
  const parsed = safeParse(request, (value) => GetSubscriptionRequest$outboundSchema.parse(value), "Input validation failed");
49519
49745
  if (!parsed.ok) {
49520
49746
  return [parsed, { status: "invalid" }];
@@ -49593,12 +49819,12 @@ var init_vendorsGetSubscription = __esm(() => {
49593
49819
  });
49594
49820
 
49595
49821
  // src/mcp-server/tools/vendorsGetSubscription.ts
49596
- var args36, tool$vendorsGetSubscription;
49822
+ var args37, tool$vendorsGetSubscription;
49597
49823
  var init_vendorsGetSubscription2 = __esm(() => {
49598
49824
  init_vendorsGetSubscription();
49599
49825
  init_operations();
49600
49826
  init_tools();
49601
- args36 = {
49827
+ args37 = {
49602
49828
  request: GetSubscriptionRequest$inboundSchema
49603
49829
  };
49604
49830
  tool$vendorsGetSubscription = {
@@ -49610,9 +49836,9 @@ Get vendor subscription
49610
49836
  Available \`expand\` scopes are:
49611
49837
 
49612
49838
  subscription.expedited_offer`,
49613
- args: args36,
49614
- tool: async (client, args37, ctx) => {
49615
- const [result, apiCall] = await vendorsGetSubscription(client, args37.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
49839
+ args: args37,
49840
+ tool: async (client, args38, ctx) => {
49841
+ const [result, apiCall] = await vendorsGetSubscription(client, args38.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
49616
49842
  if (!result.ok) {
49617
49843
  return {
49618
49844
  content: [{ type: "text", text: result.error.message }],
@@ -49627,9 +49853,9 @@ subscription.expedited_offer`,
49627
49853
 
49628
49854
  // src/funcs/vendorsGetVendorCredentialDetails.ts
49629
49855
  function vendorsGetVendorCredentialDetails(client, request, options) {
49630
- return new APIPromise($do39(client, request, options));
49856
+ return new APIPromise($do40(client, request, options));
49631
49857
  }
49632
- async function $do39(client, request, options) {
49858
+ async function $do40(client, request, options) {
49633
49859
  const parsed = safeParse(request, (value) => GetVendorCredentialDetailsRequest$outboundSchema.parse(value), "Input validation failed");
49634
49860
  if (!parsed.ok) {
49635
49861
  return [parsed, { status: "invalid" }];
@@ -49712,12 +49938,12 @@ var init_vendorsGetVendorCredentialDetails = __esm(() => {
49712
49938
  });
49713
49939
 
49714
49940
  // src/mcp-server/tools/vendorsGetVendorCredentialDetails.ts
49715
- var args37, tool$vendorsGetVendorCredentialDetails;
49941
+ var args38, tool$vendorsGetVendorCredentialDetails;
49716
49942
  var init_vendorsGetVendorCredentialDetails2 = __esm(() => {
49717
49943
  init_vendorsGetVendorCredentialDetails();
49718
49944
  init_operations();
49719
49945
  init_tools();
49720
- args37 = {
49946
+ args38 = {
49721
49947
  request: GetVendorCredentialDetailsRequest$inboundSchema
49722
49948
  };
49723
49949
  tool$vendorsGetVendorCredentialDetails = {
@@ -49743,9 +49969,9 @@ Available \`expand\` scopes are:
49743
49969
  - vendor_credential.credential_variants
49744
49970
  - vendor_credential.targets_chop
49745
49971
  - vendor_credential.total_pending_credentials`,
49746
- args: args37,
49747
- tool: async (client, args38, ctx) => {
49748
- const [result, apiCall] = await vendorsGetVendorCredentialDetails(client, args38.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
49972
+ args: args38,
49973
+ tool: async (client, args39, ctx) => {
49974
+ const [result, apiCall] = await vendorsGetVendorCredentialDetails(client, args39.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
49749
49975
  if (!result.ok) {
49750
49976
  return {
49751
49977
  content: [{ type: "text", text: result.error.message }],
@@ -49760,9 +49986,9 @@ Available \`expand\` scopes are:
49760
49986
 
49761
49987
  // src/funcs/vendorsGetVendorCredentialFile.ts
49762
49988
  function vendorsGetVendorCredentialFile(client, request, options) {
49763
- return new APIPromise($do40(client, request, options));
49989
+ return new APIPromise($do41(client, request, options));
49764
49990
  }
49765
- async function $do40(client, request, options) {
49991
+ async function $do41(client, request, options) {
49766
49992
  const parsed = safeParse(request, (value) => GetVendorCredentialFileRequest$outboundSchema.parse(value), "Input validation failed");
49767
49993
  if (!parsed.ok) {
49768
49994
  return [parsed, { status: "invalid" }];
@@ -49843,12 +50069,12 @@ var init_vendorsGetVendorCredentialFile = __esm(() => {
49843
50069
  });
49844
50070
 
49845
50071
  // src/mcp-server/tools/vendorsGetVendorCredentialFile.ts
49846
- var args38, tool$vendorsGetVendorCredentialFile;
50072
+ var args39, tool$vendorsGetVendorCredentialFile;
49847
50073
  var init_vendorsGetVendorCredentialFile2 = __esm(() => {
49848
50074
  init_vendorsGetVendorCredentialFile();
49849
50075
  init_operations();
49850
50076
  init_tools();
49851
- args38 = {
50077
+ args39 = {
49852
50078
  request: GetVendorCredentialFileRequest$inboundSchema
49853
50079
  };
49854
50080
  tool$vendorsGetVendorCredentialFile = {
@@ -49861,9 +50087,9 @@ Available \`expand\` scopes are:
49861
50087
 
49862
50088
  - vendor_credential_file.vendor_credential
49863
50089
  - vendor_credential_file.credential_document`,
49864
- args: args38,
49865
- tool: async (client, args39, ctx) => {
49866
- const [result, apiCall] = await vendorsGetVendorCredentialFile(client, args39.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
50090
+ args: args39,
50091
+ tool: async (client, args40, ctx) => {
50092
+ const [result, apiCall] = await vendorsGetVendorCredentialFile(client, args40.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
49867
50093
  if (!result.ok) {
49868
50094
  return {
49869
50095
  content: [{ type: "text", text: result.error.message }],
@@ -49878,9 +50104,9 @@ Available \`expand\` scopes are:
49878
50104
 
49879
50105
  // src/funcs/vendorsGetVendorInvoiceDetails.ts
49880
50106
  function vendorsGetVendorInvoiceDetails(client, request, options) {
49881
- return new APIPromise($do41(client, request, options));
50107
+ return new APIPromise($do42(client, request, options));
49882
50108
  }
49883
- async function $do41(client, request, options) {
50109
+ async function $do42(client, request, options) {
49884
50110
  const parsed = safeParse(request, (value) => GetVendorInvoiceDetailsRequest$outboundSchema.parse(value), "Input validation failed");
49885
50111
  if (!parsed.ok) {
49886
50112
  return [parsed, { status: "invalid" }];
@@ -49960,12 +50186,12 @@ var init_vendorsGetVendorInvoiceDetails = __esm(() => {
49960
50186
  });
49961
50187
 
49962
50188
  // src/mcp-server/tools/vendorsGetVendorInvoiceDetails.ts
49963
- var args39, tool$vendorsGetVendorInvoiceDetails;
50189
+ var args40, tool$vendorsGetVendorInvoiceDetails;
49964
50190
  var init_vendorsGetVendorInvoiceDetails2 = __esm(() => {
49965
50191
  init_vendorsGetVendorInvoiceDetails();
49966
50192
  init_operations();
49967
50193
  init_tools();
49968
- args39 = {
50194
+ args40 = {
49969
50195
  request: GetVendorInvoiceDetailsRequest$inboundSchema
49970
50196
  };
49971
50197
  tool$vendorsGetVendorInvoiceDetails = {
@@ -49978,9 +50204,9 @@ Available \`expand\` scopes are:
49978
50204
 
49979
50205
  invoice.line_items
49980
50206
  invoice.invoice_transactions`,
49981
- args: args39,
49982
- tool: async (client, args40, ctx) => {
49983
- const [result, apiCall] = await vendorsGetVendorInvoiceDetails(client, args40.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
50207
+ args: args40,
50208
+ tool: async (client, args41, ctx) => {
50209
+ const [result, apiCall] = await vendorsGetVendorInvoiceDetails(client, args41.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
49984
50210
  if (!result.ok) {
49985
50211
  return {
49986
50212
  content: [{ type: "text", text: result.error.message }],
@@ -49995,9 +50221,9 @@ invoice.invoice_transactions`,
49995
50221
 
49996
50222
  // src/funcs/vendorsGetVendorInvoiceReceipt.ts
49997
50223
  function vendorsGetVendorInvoiceReceipt(client, request, options) {
49998
- return new APIPromise($do42(client, request, options));
50224
+ return new APIPromise($do43(client, request, options));
49999
50225
  }
50000
- async function $do42(client, request, options) {
50226
+ async function $do43(client, request, options) {
50001
50227
  const parsed = safeParse(request, (value) => GetVendorInvoiceReceiptRequest$outboundSchema.parse(value), "Input validation failed");
50002
50228
  if (!parsed.ok) {
50003
50229
  return [parsed, { status: "invalid" }];
@@ -50072,12 +50298,12 @@ var init_vendorsGetVendorInvoiceReceipt = __esm(() => {
50072
50298
  });
50073
50299
 
50074
50300
  // src/mcp-server/tools/vendorsGetVendorInvoiceReceipt.ts
50075
- var args40, tool$vendorsGetVendorInvoiceReceipt;
50301
+ var args41, tool$vendorsGetVendorInvoiceReceipt;
50076
50302
  var init_vendorsGetVendorInvoiceReceipt2 = __esm(() => {
50077
50303
  init_vendorsGetVendorInvoiceReceipt();
50078
50304
  init_operations();
50079
50305
  init_tools();
50080
- args40 = {
50306
+ args41 = {
50081
50307
  request: GetVendorInvoiceReceiptRequest$inboundSchema
50082
50308
  };
50083
50309
  tool$vendorsGetVendorInvoiceReceipt = {
@@ -50085,9 +50311,9 @@ var init_vendorsGetVendorInvoiceReceipt2 = __esm(() => {
50085
50311
  description: `Get invoice receipt for vendor
50086
50312
 
50087
50313
  Get invoice receipt for vendor`,
50088
- args: args40,
50089
- tool: async (client, args41, ctx) => {
50090
- const [result, apiCall] = await vendorsGetVendorInvoiceReceipt(client, args41.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
50314
+ args: args41,
50315
+ tool: async (client, args42, ctx) => {
50316
+ const [result, apiCall] = await vendorsGetVendorInvoiceReceipt(client, args42.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
50091
50317
  if (!result.ok) {
50092
50318
  return {
50093
50319
  content: [{ type: "text", text: result.error.message }],
@@ -50102,9 +50328,9 @@ Get invoice receipt for vendor`,
50102
50328
 
50103
50329
  // src/funcs/vendorsGetVendorLegalName.ts
50104
50330
  function vendorsGetVendorLegalName(client, request, options) {
50105
- return new APIPromise($do43(client, request, options));
50331
+ return new APIPromise($do44(client, request, options));
50106
50332
  }
50107
- async function $do43(client, request, options) {
50333
+ async function $do44(client, request, options) {
50108
50334
  const parsed = safeParse(request, (value) => GetVendorLegalNameRequest$outboundSchema.parse(value), "Input validation failed");
50109
50335
  if (!parsed.ok) {
50110
50336
  return [parsed, { status: "invalid" }];
@@ -50179,12 +50405,12 @@ var init_vendorsGetVendorLegalName = __esm(() => {
50179
50405
  });
50180
50406
 
50181
50407
  // src/mcp-server/tools/vendorsGetVendorLegalName.ts
50182
- var args41, tool$vendorsGetVendorLegalName;
50408
+ var args42, tool$vendorsGetVendorLegalName;
50183
50409
  var init_vendorsGetVendorLegalName2 = __esm(() => {
50184
50410
  init_vendorsGetVendorLegalName();
50185
50411
  init_operations();
50186
50412
  init_tools();
50187
- args41 = {
50413
+ args42 = {
50188
50414
  request: GetVendorLegalNameRequest$inboundSchema
50189
50415
  };
50190
50416
  tool$vendorsGetVendorLegalName = {
@@ -50192,9 +50418,9 @@ var init_vendorsGetVendorLegalName2 = __esm(() => {
50192
50418
  description: `Get Vendor legal name
50193
50419
 
50194
50420
  Get vendor legal name`,
50195
- args: args41,
50196
- tool: async (client, args42, ctx) => {
50197
- const [result, apiCall] = await vendorsGetVendorLegalName(client, args42.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
50421
+ args: args42,
50422
+ tool: async (client, args43, ctx) => {
50423
+ const [result, apiCall] = await vendorsGetVendorLegalName(client, args43.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
50198
50424
  if (!result.ok) {
50199
50425
  return {
50200
50426
  content: [{ type: "text", text: result.error.message }],
@@ -50209,9 +50435,9 @@ Get vendor legal name`,
50209
50435
 
50210
50436
  // src/funcs/vendorsGetVendorsDetails.ts
50211
50437
  function vendorsGetVendorsDetails(client, request, options) {
50212
- return new APIPromise($do44(client, request, options));
50438
+ return new APIPromise($do45(client, request, options));
50213
50439
  }
50214
- async function $do44(client, request, options) {
50440
+ async function $do45(client, request, options) {
50215
50441
  const parsed = safeParse(request, (value) => GetVendorsDetailsRequest$outboundSchema.parse(value), "Input validation failed");
50216
50442
  if (!parsed.ok) {
50217
50443
  return [parsed, { status: "invalid" }];
@@ -50291,12 +50517,12 @@ var init_vendorsGetVendorsDetails = __esm(() => {
50291
50517
  });
50292
50518
 
50293
50519
  // src/mcp-server/tools/vendorsGetVendorsDetails.ts
50294
- var args42, tool$vendorsGetVendorsDetails;
50520
+ var args43, tool$vendorsGetVendorsDetails;
50295
50521
  var init_vendorsGetVendorsDetails2 = __esm(() => {
50296
50522
  init_vendorsGetVendorsDetails();
50297
50523
  init_operations();
50298
50524
  init_tools();
50299
- args42 = {
50525
+ args43 = {
50300
50526
  request: GetVendorsDetailsRequest$inboundSchema
50301
50527
  };
50302
50528
  tool$vendorsGetVendorsDetails = {
@@ -50325,9 +50551,9 @@ vendor.registration_finished
50325
50551
  vendor.target_facilities
50326
50552
  vendor.pending_invoice
50327
50553
  vendor.vendor_groups`,
50328
- args: args42,
50329
- tool: async (client, args43, ctx) => {
50330
- const [result, apiCall] = await vendorsGetVendorsDetails(client, args43.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
50554
+ args: args43,
50555
+ tool: async (client, args44, ctx) => {
50556
+ const [result, apiCall] = await vendorsGetVendorsDetails(client, args44.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
50331
50557
  if (!result.ok) {
50332
50558
  return {
50333
50559
  content: [{ type: "text", text: result.error.message }],
@@ -50342,9 +50568,9 @@ vendor.vendor_groups`,
50342
50568
 
50343
50569
  // src/funcs/vendorsListVendorAdditionalFacilityFields.ts
50344
50570
  function vendorsListVendorAdditionalFacilityFields(client, request, options) {
50345
- return new APIPromise($do45(client, request, options));
50571
+ return new APIPromise($do46(client, request, options));
50346
50572
  }
50347
- async function $do45(client, request, options) {
50573
+ async function $do46(client, request, options) {
50348
50574
  const parsed = safeParse(request, (value) => ListVendorAdditionalFacilityFieldsRequest$outboundSchema.parse(value), "Input validation failed");
50349
50575
  if (!parsed.ok) {
50350
50576
  return [haltIterator(parsed), { status: "invalid" }];
@@ -50456,12 +50682,12 @@ var init_vendorsListVendorAdditionalFacilityFields = __esm(() => {
50456
50682
  });
50457
50683
 
50458
50684
  // src/mcp-server/tools/vendorsListVendorAdditionalFacilityFields.ts
50459
- var args43, tool$vendorsListVendorAdditionalFacilityFields;
50685
+ var args44, tool$vendorsListVendorAdditionalFacilityFields;
50460
50686
  var init_vendorsListVendorAdditionalFacilityFields2 = __esm(() => {
50461
50687
  init_vendorsListVendorAdditionalFacilityFields();
50462
50688
  init_operations();
50463
50689
  init_tools();
50464
- args43 = {
50690
+ args44 = {
50465
50691
  request: ListVendorAdditionalFacilityFieldsRequest$inboundSchema
50466
50692
  };
50467
50693
  tool$vendorsListVendorAdditionalFacilityFields = {
@@ -50469,9 +50695,9 @@ var init_vendorsListVendorAdditionalFacilityFields2 = __esm(() => {
50469
50695
  description: `List of vendor's additional facility fields
50470
50696
 
50471
50697
  List of vendor's additional facility fields`,
50472
- args: args43,
50473
- tool: async (client, args44, ctx) => {
50474
- const [result, apiCall] = await vendorsListVendorAdditionalFacilityFields(client, args44.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
50698
+ args: args44,
50699
+ tool: async (client, args45, ctx) => {
50700
+ const [result, apiCall] = await vendorsListVendorAdditionalFacilityFields(client, args45.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
50475
50701
  if (!result.ok) {
50476
50702
  return {
50477
50703
  content: [{ type: "text", text: result.error.message }],
@@ -50486,9 +50712,9 @@ List of vendor's additional facility fields`,
50486
50712
 
50487
50713
  // src/funcs/vendorsListVendorCredentialDataRequests.ts
50488
50714
  function vendorsListVendorCredentialDataRequests(client, request, options) {
50489
- return new APIPromise($do46(client, request, options));
50715
+ return new APIPromise($do47(client, request, options));
50490
50716
  }
50491
- async function $do46(client, request, options) {
50717
+ async function $do47(client, request, options) {
50492
50718
  const parsed = safeParse(request, (value) => ListVendorCredentialDataRequestsRequest$outboundSchema.parse(value), "Input validation failed");
50493
50719
  if (!parsed.ok) {
50494
50720
  return [parsed, { status: "invalid" }];
@@ -50571,12 +50797,12 @@ var init_vendorsListVendorCredentialDataRequests = __esm(() => {
50571
50797
  });
50572
50798
 
50573
50799
  // src/mcp-server/tools/vendorsListVendorCredentialDataRequests.ts
50574
- var args44, tool$vendorsListVendorCredentialDataRequests;
50800
+ var args45, tool$vendorsListVendorCredentialDataRequests;
50575
50801
  var init_vendorsListVendorCredentialDataRequests2 = __esm(() => {
50576
50802
  init_vendorsListVendorCredentialDataRequests();
50577
50803
  init_operations();
50578
50804
  init_tools();
50579
- args44 = {
50805
+ args45 = {
50580
50806
  request: ListVendorCredentialDataRequestsRequest$inboundSchema
50581
50807
  };
50582
50808
  tool$vendorsListVendorCredentialDataRequests = {
@@ -50589,9 +50815,9 @@ Available \`expand\` scopes are:
50589
50815
 
50590
50816
  - vendor_credential_data_request.vendor_credential
50591
50817
  - vendor_credential_data_request.data_request`,
50592
- args: args44,
50593
- tool: async (client, args45, ctx) => {
50594
- const [result, apiCall] = await vendorsListVendorCredentialDataRequests(client, args45.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
50818
+ args: args45,
50819
+ tool: async (client, args46, ctx) => {
50820
+ const [result, apiCall] = await vendorsListVendorCredentialDataRequests(client, args46.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
50595
50821
  if (!result.ok) {
50596
50822
  return {
50597
50823
  content: [{ type: "text", text: result.error.message }],
@@ -50606,9 +50832,9 @@ Available \`expand\` scopes are:
50606
50832
 
50607
50833
  // src/funcs/vendorsListVendorCredentialFiles.ts
50608
50834
  function vendorsListVendorCredentialFiles(client, request, options) {
50609
- return new APIPromise($do47(client, request, options));
50835
+ return new APIPromise($do48(client, request, options));
50610
50836
  }
50611
- async function $do47(client, request, options) {
50837
+ async function $do48(client, request, options) {
50612
50838
  const parsed = safeParse(request, (value) => ListVendorCredentialFilesRequest$outboundSchema.parse(value), "Input validation failed");
50613
50839
  if (!parsed.ok) {
50614
50840
  return [parsed, { status: "invalid" }];
@@ -50691,12 +50917,12 @@ var init_vendorsListVendorCredentialFiles = __esm(() => {
50691
50917
  });
50692
50918
 
50693
50919
  // src/mcp-server/tools/vendorsListVendorCredentialFiles.ts
50694
- var args45, tool$vendorsListVendorCredentialFiles;
50920
+ var args46, tool$vendorsListVendorCredentialFiles;
50695
50921
  var init_vendorsListVendorCredentialFiles2 = __esm(() => {
50696
50922
  init_vendorsListVendorCredentialFiles();
50697
50923
  init_operations();
50698
50924
  init_tools();
50699
- args45 = {
50925
+ args46 = {
50700
50926
  request: ListVendorCredentialFilesRequest$inboundSchema
50701
50927
  };
50702
50928
  tool$vendorsListVendorCredentialFiles = {
@@ -50709,9 +50935,9 @@ Available \`expand\` scopes are:
50709
50935
 
50710
50936
  - vendor_credential_file.vendor_credential
50711
50937
  - vendor_credential_file.credential_document`,
50712
- args: args45,
50713
- tool: async (client, args46, ctx) => {
50714
- const [result, apiCall] = await vendorsListVendorCredentialFiles(client, args46.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
50938
+ args: args46,
50939
+ tool: async (client, args47, ctx) => {
50940
+ const [result, apiCall] = await vendorsListVendorCredentialFiles(client, args47.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
50715
50941
  if (!result.ok) {
50716
50942
  return {
50717
50943
  content: [{ type: "text", text: result.error.message }],
@@ -50726,9 +50952,9 @@ Available \`expand\` scopes are:
50726
50952
 
50727
50953
  // src/funcs/vendorsListVendorCredentialHistory.ts
50728
50954
  function vendorsListVendorCredentialHistory(client, request, options) {
50729
- return new APIPromise($do48(client, request, options));
50955
+ return new APIPromise($do49(client, request, options));
50730
50956
  }
50731
- async function $do48(client, request, options) {
50957
+ async function $do49(client, request, options) {
50732
50958
  const parsed = safeParse(request, (value) => ListVendorCredentialHistoryRequest$outboundSchema.parse(value), "Input validation failed");
50733
50959
  if (!parsed.ok) {
50734
50960
  return [haltIterator(parsed), { status: "invalid" }];
@@ -50843,12 +51069,12 @@ var init_vendorsListVendorCredentialHistory = __esm(() => {
50843
51069
  });
50844
51070
 
50845
51071
  // src/mcp-server/tools/vendorsListVendorCredentialHistory.ts
50846
- var args46, tool$vendorsListVendorCredentialHistory;
51072
+ var args47, tool$vendorsListVendorCredentialHistory;
50847
51073
  var init_vendorsListVendorCredentialHistory2 = __esm(() => {
50848
51074
  init_vendorsListVendorCredentialHistory();
50849
51075
  init_operations();
50850
51076
  init_tools();
50851
- args46 = {
51077
+ args47 = {
50852
51078
  request: ListVendorCredentialHistoryRequest$inboundSchema
50853
51079
  };
50854
51080
  tool$vendorsListVendorCredentialHistory = {
@@ -50856,9 +51082,9 @@ var init_vendorsListVendorCredentialHistory2 = __esm(() => {
50856
51082
  description: `List Vendor Credential History
50857
51083
 
50858
51084
  Lists vendor credentials history`,
50859
- args: args46,
50860
- tool: async (client, args47, ctx) => {
50861
- const [result, apiCall] = await vendorsListVendorCredentialHistory(client, args47.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
51085
+ args: args47,
51086
+ tool: async (client, args48, ctx) => {
51087
+ const [result, apiCall] = await vendorsListVendorCredentialHistory(client, args48.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
50862
51088
  if (!result.ok) {
50863
51089
  return {
50864
51090
  content: [{ type: "text", text: result.error.message }],
@@ -50873,9 +51099,9 @@ Lists vendor credentials history`,
50873
51099
 
50874
51100
  // src/funcs/vendorsListVendorCredentials.ts
50875
51101
  function vendorsListVendorCredentials(client, request, options) {
50876
- return new APIPromise($do49(client, request, options));
51102
+ return new APIPromise($do50(client, request, options));
50877
51103
  }
50878
- async function $do49(client, request, options) {
51104
+ async function $do50(client, request, options) {
50879
51105
  const parsed = safeParse(request, (value) => ListVendorCredentialsRequest$outboundSchema.parse(value), "Input validation failed");
50880
51106
  if (!parsed.ok) {
50881
51107
  return [haltIterator(parsed), { status: "invalid" }];
@@ -50995,12 +51221,12 @@ var init_vendorsListVendorCredentials = __esm(() => {
50995
51221
  });
50996
51222
 
50997
51223
  // src/mcp-server/tools/vendorsListVendorCredentials.ts
50998
- var args47, tool$vendorsListVendorCredentials;
51224
+ var args48, tool$vendorsListVendorCredentials;
50999
51225
  var init_vendorsListVendorCredentials2 = __esm(() => {
51000
51226
  init_vendorsListVendorCredentials();
51001
51227
  init_operations();
51002
51228
  init_tools();
51003
- args47 = {
51229
+ args48 = {
51004
51230
  request: ListVendorCredentialsRequest$inboundSchema
51005
51231
  };
51006
51232
  tool$vendorsListVendorCredentials = {
@@ -51008,9 +51234,9 @@ var init_vendorsListVendorCredentials2 = __esm(() => {
51008
51234
  description: `List Vendor Credentials
51009
51235
 
51010
51236
  Lists vendor credentials, required credentials, and company credentials. Utilized in Vendor Dashboard.`,
51011
- args: args47,
51012
- tool: async (client, args48, ctx) => {
51013
- const [result, apiCall] = await vendorsListVendorCredentials(client, args48.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
51237
+ args: args48,
51238
+ tool: async (client, args49, ctx) => {
51239
+ const [result, apiCall] = await vendorsListVendorCredentials(client, args49.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
51014
51240
  if (!result.ok) {
51015
51241
  return {
51016
51242
  content: [{ type: "text", text: result.error.message }],
@@ -51025,9 +51251,9 @@ Lists vendor credentials, required credentials, and company credentials. Utilize
51025
51251
 
51026
51252
  // src/funcs/vendorsListVendorCredits.ts
51027
51253
  function vendorsListVendorCredits(client, request, options) {
51028
- return new APIPromise($do50(client, request, options));
51254
+ return new APIPromise($do51(client, request, options));
51029
51255
  }
51030
- async function $do50(client, request, options) {
51256
+ async function $do51(client, request, options) {
51031
51257
  const parsed = safeParse(request, (value) => ListVendorCreditsRequest$outboundSchema.parse(value), "Input validation failed");
51032
51258
  if (!parsed.ok) {
51033
51259
  return [haltIterator(parsed), { status: "invalid" }];
@@ -51141,12 +51367,12 @@ var init_vendorsListVendorCredits = __esm(() => {
51141
51367
  });
51142
51368
 
51143
51369
  // src/mcp-server/tools/vendorsListVendorCredits.ts
51144
- var args48, tool$vendorsListVendorCredits;
51370
+ var args49, tool$vendorsListVendorCredits;
51145
51371
  var init_vendorsListVendorCredits2 = __esm(() => {
51146
51372
  init_vendorsListVendorCredits();
51147
51373
  init_operations();
51148
51374
  init_tools();
51149
- args48 = {
51375
+ args49 = {
51150
51376
  request: ListVendorCreditsRequest$inboundSchema
51151
51377
  };
51152
51378
  tool$vendorsListVendorCredits = {
@@ -51154,9 +51380,9 @@ var init_vendorsListVendorCredits2 = __esm(() => {
51154
51380
  description: `List vendor credits
51155
51381
 
51156
51382
  List the credits for the vendor`,
51157
- args: args48,
51158
- tool: async (client, args49, ctx) => {
51159
- const [result, apiCall] = await vendorsListVendorCredits(client, args49.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
51383
+ args: args49,
51384
+ tool: async (client, args50, ctx) => {
51385
+ const [result, apiCall] = await vendorsListVendorCredits(client, args50.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
51160
51386
  if (!result.ok) {
51161
51387
  return {
51162
51388
  content: [{ type: "text", text: result.error.message }],
@@ -51171,9 +51397,9 @@ List the credits for the vendor`,
51171
51397
 
51172
51398
  // src/funcs/vendorsListVendorFacilityStatuses.ts
51173
51399
  function vendorsListVendorFacilityStatuses(client, request, options) {
51174
- return new APIPromise($do51(client, request, options));
51400
+ return new APIPromise($do52(client, request, options));
51175
51401
  }
51176
- async function $do51(client, request, options) {
51402
+ async function $do52(client, request, options) {
51177
51403
  const parsed = safeParse(request, (value) => ListVendorFacilityStatusesRequest$outboundSchema.parse(value), "Input validation failed");
51178
51404
  if (!parsed.ok) {
51179
51405
  return [haltIterator(parsed), { status: "invalid" }];
@@ -51291,12 +51517,12 @@ var init_vendorsListVendorFacilityStatuses = __esm(() => {
51291
51517
  });
51292
51518
 
51293
51519
  // src/mcp-server/tools/vendorsListVendorFacilityStatuses.ts
51294
- var args49, tool$vendorsListVendorFacilityStatuses;
51520
+ var args50, tool$vendorsListVendorFacilityStatuses;
51295
51521
  var init_vendorsListVendorFacilityStatuses2 = __esm(() => {
51296
51522
  init_vendorsListVendorFacilityStatuses();
51297
51523
  init_operations();
51298
51524
  init_tools();
51299
- args49 = {
51525
+ args50 = {
51300
51526
  request: ListVendorFacilityStatusesRequest$inboundSchema
51301
51527
  };
51302
51528
  tool$vendorsListVendorFacilityStatuses = {
@@ -51304,9 +51530,9 @@ var init_vendorsListVendorFacilityStatuses2 = __esm(() => {
51304
51530
  description: `List vendor facility statuses
51305
51531
 
51306
51532
  List the facilities for the vendor`,
51307
- args: args49,
51308
- tool: async (client, args50, ctx) => {
51309
- const [result, apiCall] = await vendorsListVendorFacilityStatuses(client, args50.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
51533
+ args: args50,
51534
+ tool: async (client, args51, ctx) => {
51535
+ const [result, apiCall] = await vendorsListVendorFacilityStatuses(client, args51.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
51310
51536
  if (!result.ok) {
51311
51537
  return {
51312
51538
  content: [{ type: "text", text: result.error.message }],
@@ -51321,9 +51547,9 @@ List the facilities for the vendor`,
51321
51547
 
51322
51548
  // src/funcs/vendorsListVendorInvoices.ts
51323
51549
  function vendorsListVendorInvoices(client, request, options) {
51324
- return new APIPromise($do52(client, request, options));
51550
+ return new APIPromise($do53(client, request, options));
51325
51551
  }
51326
- async function $do52(client, request, options) {
51552
+ async function $do53(client, request, options) {
51327
51553
  const parsed = safeParse(request, (value) => ListVendorInvoicesRequest$outboundSchema.parse(value), "Input validation failed");
51328
51554
  if (!parsed.ok) {
51329
51555
  return [haltIterator(parsed), { status: "invalid" }];
@@ -51441,12 +51667,12 @@ var init_vendorsListVendorInvoices = __esm(() => {
51441
51667
  });
51442
51668
 
51443
51669
  // src/mcp-server/tools/vendorsListVendorInvoices.ts
51444
- var args50, tool$vendorsListVendorInvoices;
51670
+ var args51, tool$vendorsListVendorInvoices;
51445
51671
  var init_vendorsListVendorInvoices2 = __esm(() => {
51446
51672
  init_vendorsListVendorInvoices();
51447
51673
  init_operations();
51448
51674
  init_tools();
51449
- args50 = {
51675
+ args51 = {
51450
51676
  request: ListVendorInvoicesRequest$inboundSchema
51451
51677
  };
51452
51678
  tool$vendorsListVendorInvoices = {
@@ -51458,9 +51684,9 @@ List invoices for Vendors
51458
51684
  Available \`expand\` scopes are:
51459
51685
 
51460
51686
  invoice.line_items`,
51461
- args: args50,
51462
- tool: async (client, args51, ctx) => {
51463
- const [result, apiCall] = await vendorsListVendorInvoices(client, args51.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
51687
+ args: args51,
51688
+ tool: async (client, args52, ctx) => {
51689
+ const [result, apiCall] = await vendorsListVendorInvoices(client, args52.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
51464
51690
  if (!result.ok) {
51465
51691
  return {
51466
51692
  content: [{ type: "text", text: result.error.message }],
@@ -51475,9 +51701,9 @@ invoice.line_items`,
51475
51701
 
51476
51702
  // src/funcs/vendorsListVendorJobTitles.ts
51477
51703
  function vendorsListVendorJobTitles(client, request, options) {
51478
- return new APIPromise($do53(client, request, options));
51704
+ return new APIPromise($do54(client, request, options));
51479
51705
  }
51480
- async function $do53(client, request, options) {
51706
+ async function $do54(client, request, options) {
51481
51707
  const parsed = safeParse(request, (value) => ListVendorJobTitlesRequest$outboundSchema.parse(value), "Input validation failed");
51482
51708
  if (!parsed.ok) {
51483
51709
  return [haltIterator(parsed), { status: "invalid" }];
@@ -51586,12 +51812,12 @@ var init_vendorsListVendorJobTitles = __esm(() => {
51586
51812
  });
51587
51813
 
51588
51814
  // src/mcp-server/tools/vendorsListVendorJobTitles.ts
51589
- var args51, tool$vendorsListVendorJobTitles;
51815
+ var args52, tool$vendorsListVendorJobTitles;
51590
51816
  var init_vendorsListVendorJobTitles2 = __esm(() => {
51591
51817
  init_vendorsListVendorJobTitles();
51592
51818
  init_operations();
51593
51819
  init_tools();
51594
- args51 = {
51820
+ args52 = {
51595
51821
  request: ListVendorJobTitlesRequest$inboundSchema
51596
51822
  };
51597
51823
  tool$vendorsListVendorJobTitles = {
@@ -51599,9 +51825,9 @@ var init_vendorsListVendorJobTitles2 = __esm(() => {
51599
51825
  description: `List vendor job titles
51600
51826
 
51601
51827
  List valid job titles for Vendors. This can be used during sign up or in a filter.`,
51602
- args: args51,
51603
- tool: async (client, args52, ctx) => {
51604
- const [result, apiCall] = await vendorsListVendorJobTitles(client, args52.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
51828
+ args: args52,
51829
+ tool: async (client, args53, ctx) => {
51830
+ const [result, apiCall] = await vendorsListVendorJobTitles(client, args53.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
51605
51831
  if (!result.ok) {
51606
51832
  return {
51607
51833
  content: [{ type: "text", text: result.error.message }],
@@ -51616,9 +51842,9 @@ List valid job titles for Vendors. This can be used during sign up or in a filte
51616
51842
 
51617
51843
  // src/funcs/vendorsListVendorManagedByCompanies.ts
51618
51844
  function vendorsListVendorManagedByCompanies(client, request, options) {
51619
- return new APIPromise($do54(client, request, options));
51845
+ return new APIPromise($do55(client, request, options));
51620
51846
  }
51621
- async function $do54(client, request, options) {
51847
+ async function $do55(client, request, options) {
51622
51848
  const parsed = safeParse(request, (value) => ListVendorManagedByCompaniesRequest$outboundSchema.parse(value), "Input validation failed");
51623
51849
  if (!parsed.ok) {
51624
51850
  return [haltIterator(parsed), { status: "invalid" }];
@@ -51732,12 +51958,12 @@ var init_vendorsListVendorManagedByCompanies = __esm(() => {
51732
51958
  });
51733
51959
 
51734
51960
  // src/mcp-server/tools/vendorsListVendorManagedByCompanies.ts
51735
- var args52, tool$vendorsListVendorManagedByCompanies;
51961
+ var args53, tool$vendorsListVendorManagedByCompanies;
51736
51962
  var init_vendorsListVendorManagedByCompanies2 = __esm(() => {
51737
51963
  init_vendorsListVendorManagedByCompanies();
51738
51964
  init_operations();
51739
51965
  init_tools();
51740
- args52 = {
51966
+ args53 = {
51741
51967
  request: ListVendorManagedByCompaniesRequest$inboundSchema
51742
51968
  };
51743
51969
  tool$vendorsListVendorManagedByCompanies = {
@@ -51745,9 +51971,9 @@ var init_vendorsListVendorManagedByCompanies2 = __esm(() => {
51745
51971
  description: `List of companies managing the vendor
51746
51972
 
51747
51973
  List of companies managing the vendor`,
51748
- args: args52,
51749
- tool: async (client, args53, ctx) => {
51750
- const [result, apiCall] = await vendorsListVendorManagedByCompanies(client, args53.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
51974
+ args: args53,
51975
+ tool: async (client, args54, ctx) => {
51976
+ const [result, apiCall] = await vendorsListVendorManagedByCompanies(client, args54.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
51751
51977
  if (!result.ok) {
51752
51978
  return {
51753
51979
  content: [{ type: "text", text: result.error.message }],
@@ -51762,9 +51988,9 @@ List of companies managing the vendor`,
51762
51988
 
51763
51989
  // src/funcs/vendorsListVendorScrubDetails.ts
51764
51990
  function vendorsListVendorScrubDetails(client, request, options) {
51765
- return new APIPromise($do55(client, request, options));
51991
+ return new APIPromise($do56(client, request, options));
51766
51992
  }
51767
- async function $do55(client, request, options) {
51993
+ async function $do56(client, request, options) {
51768
51994
  const parsed = safeParse(request, (value) => ListVendorScrubDetailsRequest$outboundSchema.parse(value), "Input validation failed");
51769
51995
  if (!parsed.ok) {
51770
51996
  return [parsed, { status: "invalid" }];
@@ -51840,12 +52066,12 @@ var init_vendorsListVendorScrubDetails = __esm(() => {
51840
52066
  });
51841
52067
 
51842
52068
  // src/mcp-server/tools/vendorsListVendorScrubDetails.ts
51843
- var args53, tool$vendorsListVendorScrubDetails;
52069
+ var args54, tool$vendorsListVendorScrubDetails;
51844
52070
  var init_vendorsListVendorScrubDetails2 = __esm(() => {
51845
52071
  init_vendorsListVendorScrubDetails();
51846
52072
  init_operations();
51847
52073
  init_tools();
51848
- args53 = {
52074
+ args54 = {
51849
52075
  request: ListVendorScrubDetailsRequest$inboundSchema
51850
52076
  };
51851
52077
  tool$vendorsListVendorScrubDetails = {
@@ -51853,9 +52079,9 @@ var init_vendorsListVendorScrubDetails2 = __esm(() => {
51853
52079
  description: `List vendor scrub details
51854
52080
 
51855
52081
  List vendor scrub details`,
51856
- args: args53,
51857
- tool: async (client, args54, ctx) => {
51858
- const [result, apiCall] = await vendorsListVendorScrubDetails(client, args54.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
52082
+ args: args54,
52083
+ tool: async (client, args55, ctx) => {
52084
+ const [result, apiCall] = await vendorsListVendorScrubDetails(client, args55.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
51859
52085
  if (!result.ok) {
51860
52086
  return {
51861
52087
  content: [{ type: "text", text: result.error.message }],
@@ -51870,9 +52096,9 @@ List vendor scrub details`,
51870
52096
 
51871
52097
  // src/funcs/vendorsListVendorScrubPackages.ts
51872
52098
  function vendorsListVendorScrubPackages(client, request, options) {
51873
- return new APIPromise($do56(client, request, options));
52099
+ return new APIPromise($do57(client, request, options));
51874
52100
  }
51875
- async function $do56(client, request, options) {
52101
+ async function $do57(client, request, options) {
51876
52102
  const parsed = safeParse(request, (value) => ListVendorScrubPackagesRequest$outboundSchema.parse(value), "Input validation failed");
51877
52103
  if (!parsed.ok) {
51878
52104
  return [haltIterator(parsed), { status: "invalid" }];
@@ -51986,12 +52212,12 @@ var init_vendorsListVendorScrubPackages = __esm(() => {
51986
52212
  });
51987
52213
 
51988
52214
  // src/mcp-server/tools/vendorsListVendorScrubPackages.ts
51989
- var args54, tool$vendorsListVendorScrubPackages;
52215
+ var args55, tool$vendorsListVendorScrubPackages;
51990
52216
  var init_vendorsListVendorScrubPackages2 = __esm(() => {
51991
52217
  init_vendorsListVendorScrubPackages();
51992
52218
  init_operations();
51993
52219
  init_tools();
51994
- args54 = {
52220
+ args55 = {
51995
52221
  request: ListVendorScrubPackagesRequest$inboundSchema
51996
52222
  };
51997
52223
  tool$vendorsListVendorScrubPackages = {
@@ -51999,9 +52225,9 @@ var init_vendorsListVendorScrubPackages2 = __esm(() => {
51999
52225
  description: `List vendor scrub packages
52000
52226
 
52001
52227
  List vendor scrub packages`,
52002
- args: args54,
52003
- tool: async (client, args55, ctx) => {
52004
- const [result, apiCall] = await vendorsListVendorScrubPackages(client, args55.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
52228
+ args: args55,
52229
+ tool: async (client, args56, ctx) => {
52230
+ const [result, apiCall] = await vendorsListVendorScrubPackages(client, args56.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
52005
52231
  if (!result.ok) {
52006
52232
  return {
52007
52233
  content: [{ type: "text", text: result.error.message }],
@@ -52016,9 +52242,9 @@ List vendor scrub packages`,
52016
52242
 
52017
52243
  // src/funcs/vendorsListVendorScrubPurchases.ts
52018
52244
  function vendorsListVendorScrubPurchases(client, request, options) {
52019
- return new APIPromise($do57(client, request, options));
52245
+ return new APIPromise($do58(client, request, options));
52020
52246
  }
52021
- async function $do57(client, request, options) {
52247
+ async function $do58(client, request, options) {
52022
52248
  const parsed = safeParse(request, (value) => ListVendorScrubPurchasesRequest$outboundSchema.parse(value), "Input validation failed");
52023
52249
  if (!parsed.ok) {
52024
52250
  return [haltIterator(parsed), { status: "invalid" }];
@@ -52132,12 +52358,12 @@ var init_vendorsListVendorScrubPurchases = __esm(() => {
52132
52358
  });
52133
52359
 
52134
52360
  // src/mcp-server/tools/vendorsListVendorScrubPurchases.ts
52135
- var args55, tool$vendorsListVendorScrubPurchases;
52361
+ var args56, tool$vendorsListVendorScrubPurchases;
52136
52362
  var init_vendorsListVendorScrubPurchases2 = __esm(() => {
52137
52363
  init_vendorsListVendorScrubPurchases();
52138
52364
  init_operations();
52139
52365
  init_tools();
52140
- args55 = {
52366
+ args56 = {
52141
52367
  request: ListVendorScrubPurchasesRequest$inboundSchema
52142
52368
  };
52143
52369
  tool$vendorsListVendorScrubPurchases = {
@@ -52145,9 +52371,9 @@ var init_vendorsListVendorScrubPurchases2 = __esm(() => {
52145
52371
  description: `List vendor scrub purchases
52146
52372
 
52147
52373
  List vendor scrub purchases`,
52148
- args: args55,
52149
- tool: async (client, args56, ctx) => {
52150
- const [result, apiCall] = await vendorsListVendorScrubPurchases(client, args56.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
52374
+ args: args56,
52375
+ tool: async (client, args57, ctx) => {
52376
+ const [result, apiCall] = await vendorsListVendorScrubPurchases(client, args57.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
52151
52377
  if (!result.ok) {
52152
52378
  return {
52153
52379
  content: [{ type: "text", text: result.error.message }],
@@ -52162,9 +52388,9 @@ List vendor scrub purchases`,
52162
52388
 
52163
52389
  // src/funcs/vendorsListVendorTypes.ts
52164
52390
  function vendorsListVendorTypes(client, request, options) {
52165
- return new APIPromise($do58(client, request, options));
52391
+ return new APIPromise($do59(client, request, options));
52166
52392
  }
52167
- async function $do58(client, request, options) {
52393
+ async function $do59(client, request, options) {
52168
52394
  const parsed = safeParse(request, (value) => ListVendorTypesRequest$outboundSchema.parse(value), "Input validation failed");
52169
52395
  if (!parsed.ok) {
52170
52396
  return [haltIterator(parsed), { status: "invalid" }];
@@ -52272,12 +52498,12 @@ var init_vendorsListVendorTypes = __esm(() => {
52272
52498
  });
52273
52499
 
52274
52500
  // src/mcp-server/tools/vendorsListVendorTypes.ts
52275
- var args56, tool$vendorsListVendorTypes;
52501
+ var args57, tool$vendorsListVendorTypes;
52276
52502
  var init_vendorsListVendorTypes2 = __esm(() => {
52277
52503
  init_vendorsListVendorTypes();
52278
52504
  init_operations();
52279
52505
  init_tools();
52280
- args56 = {
52506
+ args57 = {
52281
52507
  request: ListVendorTypesRequest$inboundSchema
52282
52508
  };
52283
52509
  tool$vendorsListVendorTypes = {
@@ -52285,9 +52511,9 @@ var init_vendorsListVendorTypes2 = __esm(() => {
52285
52511
  description: `List vendor types
52286
52512
 
52287
52513
  List vendor types.`,
52288
- args: args56,
52289
- tool: async (client, args57, ctx) => {
52290
- const [result, apiCall] = await vendorsListVendorTypes(client, args57.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
52514
+ args: args57,
52515
+ tool: async (client, args58, ctx) => {
52516
+ const [result, apiCall] = await vendorsListVendorTypes(client, args58.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
52291
52517
  if (!result.ok) {
52292
52518
  return {
52293
52519
  content: [{ type: "text", text: result.error.message }],
@@ -52302,9 +52528,9 @@ List vendor types.`,
52302
52528
 
52303
52529
  // src/funcs/vendorsPurchaseScrubCredits.ts
52304
52530
  function vendorsPurchaseScrubCredits(client, request, options) {
52305
- return new APIPromise($do59(client, request, options));
52531
+ return new APIPromise($do60(client, request, options));
52306
52532
  }
52307
- async function $do59(client, request, options) {
52533
+ async function $do60(client, request, options) {
52308
52534
  const parsed = safeParse(request, (value) => PurchaseScrubCreditsRequest$outboundSchema.parse(value), "Input validation failed");
52309
52535
  if (!parsed.ok) {
52310
52536
  return [parsed, { status: "invalid" }];
@@ -52380,12 +52606,12 @@ var init_vendorsPurchaseScrubCredits = __esm(() => {
52380
52606
  });
52381
52607
 
52382
52608
  // src/mcp-server/tools/vendorsPurchaseScrubCredits.ts
52383
- var args57, tool$vendorsPurchaseScrubCredits;
52609
+ var args58, tool$vendorsPurchaseScrubCredits;
52384
52610
  var init_vendorsPurchaseScrubCredits2 = __esm(() => {
52385
52611
  init_vendorsPurchaseScrubCredits();
52386
52612
  init_operations();
52387
52613
  init_tools();
52388
- args57 = {
52614
+ args58 = {
52389
52615
  request: PurchaseScrubCreditsRequest$inboundSchema
52390
52616
  };
52391
52617
  tool$vendorsPurchaseScrubCredits = {
@@ -52393,9 +52619,9 @@ var init_vendorsPurchaseScrubCredits2 = __esm(() => {
52393
52619
  description: `Purchase scrub credits
52394
52620
 
52395
52621
  Purchase scrub credits`,
52396
- args: args57,
52397
- tool: async (client, args58, ctx) => {
52398
- const [result, apiCall] = await vendorsPurchaseScrubCredits(client, args58.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
52622
+ args: args58,
52623
+ tool: async (client, args59, ctx) => {
52624
+ const [result, apiCall] = await vendorsPurchaseScrubCredits(client, args59.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
52399
52625
  if (!result.ok) {
52400
52626
  return {
52401
52627
  content: [{ type: "text", text: result.error.message }],
@@ -52410,9 +52636,9 @@ Purchase scrub credits`,
52410
52636
 
52411
52637
  // src/funcs/vendorsSendDownloadCode.ts
52412
52638
  function vendorsSendDownloadCode(client, request, options) {
52413
- return new APIPromise($do60(client, request, options));
52639
+ return new APIPromise($do61(client, request, options));
52414
52640
  }
52415
- async function $do60(client, request, options) {
52641
+ async function $do61(client, request, options) {
52416
52642
  const parsed = safeParse(request, (value) => SendDownloadCodeRequest$outboundSchema.parse(value), "Input validation failed");
52417
52643
  if (!parsed.ok) {
52418
52644
  return [parsed, { status: "invalid" }];
@@ -52486,12 +52712,12 @@ var init_vendorsSendDownloadCode = __esm(() => {
52486
52712
  });
52487
52713
 
52488
52714
  // src/mcp-server/tools/vendorsSendDownloadCode.ts
52489
- var args58, tool$vendorsSendDownloadCode;
52715
+ var args59, tool$vendorsSendDownloadCode;
52490
52716
  var init_vendorsSendDownloadCode2 = __esm(() => {
52491
52717
  init_vendorsSendDownloadCode();
52492
52718
  init_operations();
52493
52719
  init_tools();
52494
- args58 = {
52720
+ args59 = {
52495
52721
  request: SendDownloadCodeRequest$inboundSchema
52496
52722
  };
52497
52723
  tool$vendorsSendDownloadCode = {
@@ -52499,9 +52725,9 @@ var init_vendorsSendDownloadCode2 = __esm(() => {
52499
52725
  description: `Send download code for vendor credential
52500
52726
 
52501
52727
  It will send download code for vendor credential`,
52502
- args: args58,
52503
- tool: async (client, args59, ctx) => {
52504
- const [result, apiCall] = await vendorsSendDownloadCode(client, args59.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
52728
+ args: args59,
52729
+ tool: async (client, args60, ctx) => {
52730
+ const [result, apiCall] = await vendorsSendDownloadCode(client, args60.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
52505
52731
  if (!result.ok) {
52506
52732
  return {
52507
52733
  content: [{ type: "text", text: result.error.message }],
@@ -52516,9 +52742,9 @@ It will send download code for vendor credential`,
52516
52742
 
52517
52743
  // src/funcs/vendorsSubmitVendorCredential.ts
52518
52744
  function vendorsSubmitVendorCredential(client, request, options) {
52519
- return new APIPromise($do61(client, request, options));
52745
+ return new APIPromise($do62(client, request, options));
52520
52746
  }
52521
- async function $do61(client, request, options) {
52747
+ async function $do62(client, request, options) {
52522
52748
  const parsed = safeParse(request, (value) => SubmitVendorCredentialRequest$outboundSchema.parse(value), "Input validation failed");
52523
52749
  if (!parsed.ok) {
52524
52750
  return [parsed, { status: "invalid" }];
@@ -52592,12 +52818,12 @@ var init_vendorsSubmitVendorCredential = __esm(() => {
52592
52818
  });
52593
52819
 
52594
52820
  // src/mcp-server/tools/vendorsSubmitVendorCredential.ts
52595
- var args59, tool$vendorsSubmitVendorCredential;
52821
+ var args60, tool$vendorsSubmitVendorCredential;
52596
52822
  var init_vendorsSubmitVendorCredential2 = __esm(() => {
52597
52823
  init_vendorsSubmitVendorCredential();
52598
52824
  init_operations();
52599
52825
  init_tools();
52600
- args59 = {
52826
+ args60 = {
52601
52827
  request: SubmitVendorCredentialRequest$inboundSchema
52602
52828
  };
52603
52829
  tool$vendorsSubmitVendorCredential = {
@@ -52605,9 +52831,9 @@ var init_vendorsSubmitVendorCredential2 = __esm(() => {
52605
52831
  description: `Submit vendor credential
52606
52832
 
52607
52833
  It will submit vendor credential`,
52608
- args: args59,
52609
- tool: async (client, args60, ctx) => {
52610
- const [result, apiCall] = await vendorsSubmitVendorCredential(client, args60.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
52834
+ args: args60,
52835
+ tool: async (client, args61, ctx) => {
52836
+ const [result, apiCall] = await vendorsSubmitVendorCredential(client, args61.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
52611
52837
  if (!result.ok) {
52612
52838
  return {
52613
52839
  content: [{ type: "text", text: result.error.message }],
@@ -52622,9 +52848,9 @@ It will submit vendor credential`,
52622
52848
 
52623
52849
  // src/funcs/vendorsUpdateVendorCredentialData.ts
52624
52850
  function vendorsUpdateVendorCredentialData(client, request, options) {
52625
- return new APIPromise($do62(client, request, options));
52851
+ return new APIPromise($do63(client, request, options));
52626
52852
  }
52627
- async function $do62(client, request, options) {
52853
+ async function $do63(client, request, options) {
52628
52854
  const parsed = safeParse(request, (value) => UpdateVendorCredentialDataRequest$outboundSchema.parse(value), "Input validation failed");
52629
52855
  if (!parsed.ok) {
52630
52856
  return [parsed, { status: "invalid" }];
@@ -52705,12 +52931,12 @@ var init_vendorsUpdateVendorCredentialData = __esm(() => {
52705
52931
  });
52706
52932
 
52707
52933
  // src/mcp-server/tools/vendorsUpdateVendorCredentialData.ts
52708
- var args60, tool$vendorsUpdateVendorCredentialData;
52934
+ var args61, tool$vendorsUpdateVendorCredentialData;
52709
52935
  var init_vendorsUpdateVendorCredentialData2 = __esm(() => {
52710
52936
  init_vendorsUpdateVendorCredentialData();
52711
52937
  init_operations();
52712
52938
  init_tools();
52713
- args60 = {
52939
+ args61 = {
52714
52940
  request: UpdateVendorCredentialDataRequest$inboundSchema
52715
52941
  };
52716
52942
  tool$vendorsUpdateVendorCredentialData = {
@@ -52718,9 +52944,9 @@ var init_vendorsUpdateVendorCredentialData2 = __esm(() => {
52718
52944
  description: `Update vendor credential data
52719
52945
 
52720
52946
  Update vendor credential data`,
52721
- args: args60,
52722
- tool: async (client, args61, ctx) => {
52723
- const [result, apiCall] = await vendorsUpdateVendorCredentialData(client, args61.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
52947
+ args: args61,
52948
+ tool: async (client, args62, ctx) => {
52949
+ const [result, apiCall] = await vendorsUpdateVendorCredentialData(client, args62.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
52724
52950
  if (!result.ok) {
52725
52951
  return {
52726
52952
  content: [{ type: "text", text: result.error.message }],
@@ -52735,9 +52961,9 @@ Update vendor credential data`,
52735
52961
 
52736
52962
  // src/funcs/vendorsUpdateVendorCredentialFile.ts
52737
52963
  function vendorsUpdateVendorCredentialFile(client, request, options) {
52738
- return new APIPromise($do63(client, request, options));
52964
+ return new APIPromise($do64(client, request, options));
52739
52965
  }
52740
- async function $do63(client, request, options) {
52966
+ async function $do64(client, request, options) {
52741
52967
  const parsed = safeParse(request, (value) => UpdateVendorCredentialFileRequest$outboundSchema.parse(value), "Input validation failed");
52742
52968
  if (!parsed.ok) {
52743
52969
  return [parsed, { status: "invalid" }];
@@ -52815,12 +53041,12 @@ var init_vendorsUpdateVendorCredentialFile = __esm(() => {
52815
53041
  });
52816
53042
 
52817
53043
  // src/mcp-server/tools/vendorsUpdateVendorCredentialFile.ts
52818
- var args61, tool$vendorsUpdateVendorCredentialFile;
53044
+ var args62, tool$vendorsUpdateVendorCredentialFile;
52819
53045
  var init_vendorsUpdateVendorCredentialFile2 = __esm(() => {
52820
53046
  init_vendorsUpdateVendorCredentialFile();
52821
53047
  init_operations();
52822
53048
  init_tools();
52823
- args61 = {
53049
+ args62 = {
52824
53050
  request: UpdateVendorCredentialFileRequest$inboundSchema
52825
53051
  };
52826
53052
  tool$vendorsUpdateVendorCredentialFile = {
@@ -52828,9 +53054,9 @@ var init_vendorsUpdateVendorCredentialFile2 = __esm(() => {
52828
53054
  description: `Update vendor credential file
52829
53055
 
52830
53056
  It will update the vendor credential file properties`,
52831
- args: args61,
52832
- tool: async (client, args62, ctx) => {
52833
- const [result, apiCall] = await vendorsUpdateVendorCredentialFile(client, args62.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
53057
+ args: args62,
53058
+ tool: async (client, args63, ctx) => {
53059
+ const [result, apiCall] = await vendorsUpdateVendorCredentialFile(client, args63.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
52834
53060
  if (!result.ok) {
52835
53061
  return {
52836
53062
  content: [{ type: "text", text: result.error.message }],
@@ -52845,9 +53071,9 @@ It will update the vendor credential file properties`,
52845
53071
 
52846
53072
  // src/funcs/vendorsUpdateVendorDetails.ts
52847
53073
  function vendorsUpdateVendorDetails(client, request, options) {
52848
- return new APIPromise($do64(client, request, options));
53074
+ return new APIPromise($do65(client, request, options));
52849
53075
  }
52850
- async function $do64(client, request, options) {
53076
+ async function $do65(client, request, options) {
52851
53077
  const parsed = safeParse(request, (value) => UpdateVendorDetailsRequest$outboundSchema.parse(value), "Input validation failed");
52852
53078
  if (!parsed.ok) {
52853
53079
  return [parsed, { status: "invalid" }];
@@ -52924,12 +53150,12 @@ var init_vendorsUpdateVendorDetails = __esm(() => {
52924
53150
  });
52925
53151
 
52926
53152
  // src/mcp-server/tools/vendorsUpdateVendorDetails.ts
52927
- var args62, tool$vendorsUpdateVendorDetails;
53153
+ var args63, tool$vendorsUpdateVendorDetails;
52928
53154
  var init_vendorsUpdateVendorDetails2 = __esm(() => {
52929
53155
  init_vendorsUpdateVendorDetails();
52930
53156
  init_operations();
52931
53157
  init_tools();
52932
- args62 = {
53158
+ args63 = {
52933
53159
  request: UpdateVendorDetailsRequest$inboundSchema
52934
53160
  };
52935
53161
  tool$vendorsUpdateVendorDetails = {
@@ -52937,9 +53163,9 @@ var init_vendorsUpdateVendorDetails2 = __esm(() => {
52937
53163
  description: `Update vendor details
52938
53164
 
52939
53165
  It will update the vendor details`,
52940
- args: args62,
52941
- tool: async (client, args63, ctx) => {
52942
- const [result, apiCall] = await vendorsUpdateVendorDetails(client, args63.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
53166
+ args: args63,
53167
+ tool: async (client, args64, ctx) => {
53168
+ const [result, apiCall] = await vendorsUpdateVendorDetails(client, args64.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
52943
53169
  if (!result.ok) {
52944
53170
  return {
52945
53171
  content: [{ type: "text", text: result.error.message }],
@@ -52954,9 +53180,9 @@ It will update the vendor details`,
52954
53180
 
52955
53181
  // src/funcs/vendorsUpdateVendorManagedByCompany.ts
52956
53182
  function vendorsUpdateVendorManagedByCompany(client, request, options) {
52957
- return new APIPromise($do65(client, request, options));
53183
+ return new APIPromise($do66(client, request, options));
52958
53184
  }
52959
- async function $do65(client, request, options) {
53185
+ async function $do66(client, request, options) {
52960
53186
  const parsed = safeParse(request, (value) => UpdateVendorManagedByCompanyRequest$outboundSchema.parse(value), "Input validation failed");
52961
53187
  if (!parsed.ok) {
52962
53188
  return [parsed, { status: "invalid" }];
@@ -53032,12 +53258,12 @@ var init_vendorsUpdateVendorManagedByCompany = __esm(() => {
53032
53258
  });
53033
53259
 
53034
53260
  // src/mcp-server/tools/vendorsUpdateVendorManagedByCompany.ts
53035
- var args63, tool$vendorsUpdateVendorManagedByCompany;
53261
+ var args64, tool$vendorsUpdateVendorManagedByCompany;
53036
53262
  var init_vendorsUpdateVendorManagedByCompany2 = __esm(() => {
53037
53263
  init_vendorsUpdateVendorManagedByCompany();
53038
53264
  init_operations();
53039
53265
  init_tools();
53040
- args63 = {
53266
+ args64 = {
53041
53267
  request: UpdateVendorManagedByCompanyRequest$inboundSchema
53042
53268
  };
53043
53269
  tool$vendorsUpdateVendorManagedByCompany = {
@@ -53045,9 +53271,9 @@ var init_vendorsUpdateVendorManagedByCompany2 = __esm(() => {
53045
53271
  description: `Update vendor managed by company access rights
53046
53272
 
53047
53273
  It will update the vendor managed by company access rights`,
53048
- args: args63,
53049
- tool: async (client, args64, ctx) => {
53050
- const [result, apiCall] = await vendorsUpdateVendorManagedByCompany(client, args64.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
53274
+ args: args64,
53275
+ tool: async (client, args65, ctx) => {
53276
+ const [result, apiCall] = await vendorsUpdateVendorManagedByCompany(client, args65.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
53051
53277
  if (!result.ok) {
53052
53278
  return {
53053
53279
  content: [{ type: "text", text: result.error.message }],
@@ -53062,9 +53288,9 @@ It will update the vendor managed by company access rights`,
53062
53288
 
53063
53289
  // src/funcs/vendorsUpdateVendorScrubDetails.ts
53064
53290
  function vendorsUpdateVendorScrubDetails(client, request, options) {
53065
- return new APIPromise($do66(client, request, options));
53291
+ return new APIPromise($do67(client, request, options));
53066
53292
  }
53067
- async function $do66(client, request, options) {
53293
+ async function $do67(client, request, options) {
53068
53294
  const parsed = safeParse(request, (value) => UpdateVendorScrubDetailsRequest$outboundSchema.parse(value), "Input validation failed");
53069
53295
  if (!parsed.ok) {
53070
53296
  return [parsed, { status: "invalid" }];
@@ -53141,12 +53367,12 @@ var init_vendorsUpdateVendorScrubDetails = __esm(() => {
53141
53367
  });
53142
53368
 
53143
53369
  // src/mcp-server/tools/vendorsUpdateVendorScrubDetails.ts
53144
- var args64, tool$vendorsUpdateVendorScrubDetails;
53370
+ var args65, tool$vendorsUpdateVendorScrubDetails;
53145
53371
  var init_vendorsUpdateVendorScrubDetails2 = __esm(() => {
53146
53372
  init_vendorsUpdateVendorScrubDetails();
53147
53373
  init_operations();
53148
53374
  init_tools();
53149
- args64 = {
53375
+ args65 = {
53150
53376
  request: UpdateVendorScrubDetailsRequest$inboundSchema
53151
53377
  };
53152
53378
  tool$vendorsUpdateVendorScrubDetails = {
@@ -53154,9 +53380,9 @@ var init_vendorsUpdateVendorScrubDetails2 = __esm(() => {
53154
53380
  description: `Update vendor scrub details
53155
53381
 
53156
53382
  Update vendor scrub details`,
53157
- args: args64,
53158
- tool: async (client, args65, ctx) => {
53159
- const [result, apiCall] = await vendorsUpdateVendorScrubDetails(client, args65.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
53383
+ args: args65,
53384
+ tool: async (client, args66, ctx) => {
53385
+ const [result, apiCall] = await vendorsUpdateVendorScrubDetails(client, args66.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
53160
53386
  if (!result.ok) {
53161
53387
  return {
53162
53388
  content: [{ type: "text", text: result.error.message }],
@@ -53171,9 +53397,9 @@ Update vendor scrub details`,
53171
53397
 
53172
53398
  // src/funcs/webhooksGetWebhookEndpoint.ts
53173
53399
  function webhooksGetWebhookEndpoint(client, request, options) {
53174
- return new APIPromise($do67(client, request, options));
53400
+ return new APIPromise($do68(client, request, options));
53175
53401
  }
53176
- async function $do67(client, request, options) {
53402
+ async function $do68(client, request, options) {
53177
53403
  const parsed = safeParse(request, (value) => GetWebhookEndpointRequest$outboundSchema.parse(value), "Input validation failed");
53178
53404
  if (!parsed.ok) {
53179
53405
  return [parsed, { status: "invalid" }];
@@ -53249,12 +53475,12 @@ var init_webhooksGetWebhookEndpoint = __esm(() => {
53249
53475
  });
53250
53476
 
53251
53477
  // src/mcp-server/tools/webhooksGetWebhookEndpoint.ts
53252
- var args65, tool$webhooksGetWebhookEndpoint;
53478
+ var args66, tool$webhooksGetWebhookEndpoint;
53253
53479
  var init_webhooksGetWebhookEndpoint2 = __esm(() => {
53254
53480
  init_webhooksGetWebhookEndpoint();
53255
53481
  init_operations();
53256
53482
  init_tools();
53257
- args65 = {
53483
+ args66 = {
53258
53484
  request: GetWebhookEndpointRequest$inboundSchema
53259
53485
  };
53260
53486
  tool$webhooksGetWebhookEndpoint = {
@@ -53262,9 +53488,9 @@ var init_webhooksGetWebhookEndpoint2 = __esm(() => {
53262
53488
  description: `Retrieves the webhook endpoint with the given ID.
53263
53489
 
53264
53490
  Returns the definition of a webhook endpoint by ID.`,
53265
- args: args65,
53266
- tool: async (client, args66, ctx) => {
53267
- const [result, apiCall] = await webhooksGetWebhookEndpoint(client, args66.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
53491
+ args: args66,
53492
+ tool: async (client, args67, ctx) => {
53493
+ const [result, apiCall] = await webhooksGetWebhookEndpoint(client, args67.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
53268
53494
  if (!result.ok) {
53269
53495
  return {
53270
53496
  content: [{ type: "text", text: result.error.message }],
@@ -53279,9 +53505,9 @@ Returns the definition of a webhook endpoint by ID.`,
53279
53505
 
53280
53506
  // src/funcs/webhooksListAllWebhookEndpoints.ts
53281
53507
  function webhooksListAllWebhookEndpoints(client, request, options) {
53282
- return new APIPromise($do68(client, request, options));
53508
+ return new APIPromise($do69(client, request, options));
53283
53509
  }
53284
- async function $do68(client, request, options) {
53510
+ async function $do69(client, request, options) {
53285
53511
  const parsed = safeParse(request, (value) => ListAllWebhookEndpointsRequest$outboundSchema.parse(value), "Input validation failed");
53286
53512
  if (!parsed.ok) {
53287
53513
  return [parsed, { status: "invalid" }];
@@ -53357,12 +53583,12 @@ var init_webhooksListAllWebhookEndpoints = __esm(() => {
53357
53583
  });
53358
53584
 
53359
53585
  // src/mcp-server/tools/webhooksListAllWebhookEndpoints.ts
53360
- var args66, tool$webhooksListAllWebhookEndpoints;
53586
+ var args67, tool$webhooksListAllWebhookEndpoints;
53361
53587
  var init_webhooksListAllWebhookEndpoints2 = __esm(() => {
53362
53588
  init_webhooksListAllWebhookEndpoints();
53363
53589
  init_operations();
53364
53590
  init_tools();
53365
- args66 = {
53591
+ args67 = {
53366
53592
  request: ListAllWebhookEndpointsRequest$inboundSchema
53367
53593
  };
53368
53594
  tool$webhooksListAllWebhookEndpoints = {
@@ -53370,9 +53596,9 @@ var init_webhooksListAllWebhookEndpoints2 = __esm(() => {
53370
53596
  description: `List all webhook endpoints
53371
53597
 
53372
53598
  Returns a list of your webhook endpoints.`,
53373
- args: args66,
53374
- tool: async (client, args67, ctx) => {
53375
- const [result, apiCall] = await webhooksListAllWebhookEndpoints(client, args67.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
53599
+ args: args67,
53600
+ tool: async (client, args68, ctx) => {
53601
+ const [result, apiCall] = await webhooksListAllWebhookEndpoints(client, args68.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
53376
53602
  if (!result.ok) {
53377
53603
  return {
53378
53604
  content: [{ type: "text", text: result.error.message }],
@@ -53387,9 +53613,9 @@ Returns a list of your webhook endpoints.`,
53387
53613
 
53388
53614
  // src/funcs/webhooksUpdatesTheWebhookEndpointWithTheGivenId.ts
53389
53615
  function webhooksUpdatesTheWebhookEndpointWithTheGivenId(client, request, options) {
53390
- return new APIPromise($do69(client, request, options));
53616
+ return new APIPromise($do70(client, request, options));
53391
53617
  }
53392
- async function $do69(client, request, options) {
53618
+ async function $do70(client, request, options) {
53393
53619
  const parsed = safeParse(request, (value) => UpdatesTheWebhookEndpointWithTheGivenIdRequest$outboundSchema.parse(value), "Input validation failed");
53394
53620
  if (!parsed.ok) {
53395
53621
  return [parsed, { status: "invalid" }];
@@ -53466,12 +53692,12 @@ var init_webhooksUpdatesTheWebhookEndpointWithTheGivenId = __esm(() => {
53466
53692
  });
53467
53693
 
53468
53694
  // src/mcp-server/tools/webhooksUpdatesTheWebhookEndpointWithTheGivenId.ts
53469
- var args67, tool$webhooksUpdatesTheWebhookEndpointWithTheGivenId;
53695
+ var args68, tool$webhooksUpdatesTheWebhookEndpointWithTheGivenId;
53470
53696
  var init_webhooksUpdatesTheWebhookEndpointWithTheGivenId2 = __esm(() => {
53471
53697
  init_webhooksUpdatesTheWebhookEndpointWithTheGivenId();
53472
53698
  init_operations();
53473
53699
  init_tools();
53474
- args67 = {
53700
+ args68 = {
53475
53701
  request: UpdatesTheWebhookEndpointWithTheGivenIdRequest$inboundSchema
53476
53702
  };
53477
53703
  tool$webhooksUpdatesTheWebhookEndpointWithTheGivenId = {
@@ -53479,9 +53705,9 @@ var init_webhooksUpdatesTheWebhookEndpointWithTheGivenId2 = __esm(() => {
53479
53705
  description: `Updates the webhook endpoint with the given ID.
53480
53706
 
53481
53707
  Updates the webhook endpoint with the given ID.`,
53482
- args: args67,
53483
- tool: async (client, args68, ctx) => {
53484
- const [result, apiCall] = await webhooksUpdatesTheWebhookEndpointWithTheGivenId(client, args68.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
53708
+ args: args68,
53709
+ tool: async (client, args69, ctx) => {
53710
+ const [result, apiCall] = await webhooksUpdatesTheWebhookEndpointWithTheGivenId(client, args69.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
53485
53711
  if (!result.ok) {
53486
53712
  return {
53487
53713
  content: [{ type: "text", text: result.error.message }],
@@ -53496,9 +53722,9 @@ Updates the webhook endpoint with the given ID.`,
53496
53722
 
53497
53723
  // src/funcs/zonesGetSecurityZone.ts
53498
53724
  function zonesGetSecurityZone(client, request, options) {
53499
- return new APIPromise($do70(client, request, options));
53725
+ return new APIPromise($do71(client, request, options));
53500
53726
  }
53501
- async function $do70(client, request, options) {
53727
+ async function $do71(client, request, options) {
53502
53728
  const parsed = safeParse(request, (value) => GetSecurityZoneRequest$outboundSchema.parse(value), "Input validation failed");
53503
53729
  if (!parsed.ok) {
53504
53730
  return [parsed, { status: "invalid" }];
@@ -53578,12 +53804,12 @@ var init_zonesGetSecurityZone = __esm(() => {
53578
53804
  });
53579
53805
 
53580
53806
  // src/mcp-server/tools/zonesGetSecurityZone.ts
53581
- var args68, tool$zonesGetSecurityZone;
53807
+ var args69, tool$zonesGetSecurityZone;
53582
53808
  var init_zonesGetSecurityZone2 = __esm(() => {
53583
53809
  init_zonesGetSecurityZone();
53584
53810
  init_operations();
53585
53811
  init_tools();
53586
- args68 = {
53812
+ args69 = {
53587
53813
  request: GetSecurityZoneRequest$inboundSchema
53588
53814
  };
53589
53815
  tool$zonesGetSecurityZone = {
@@ -53597,9 +53823,9 @@ Available \`expand\` scopes are:
53597
53823
  - zone.facility
53598
53824
  - zone.department
53599
53825
  - zone.rules`,
53600
- args: args68,
53601
- tool: async (client, args69, ctx) => {
53602
- const [result, apiCall] = await zonesGetSecurityZone(client, args69.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
53826
+ args: args69,
53827
+ tool: async (client, args70, ctx) => {
53828
+ const [result, apiCall] = await zonesGetSecurityZone(client, args70.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
53603
53829
  if (!result.ok) {
53604
53830
  return {
53605
53831
  content: [{ type: "text", text: result.error.message }],
@@ -53614,9 +53840,9 @@ Available \`expand\` scopes are:
53614
53840
 
53615
53841
  // src/funcs/zonesListOrSearchSecurityZones.ts
53616
53842
  function zonesListOrSearchSecurityZones(client, request, options) {
53617
- return new APIPromise($do71(client, request, options));
53843
+ return new APIPromise($do72(client, request, options));
53618
53844
  }
53619
- async function $do71(client, request, options) {
53845
+ async function $do72(client, request, options) {
53620
53846
  const parsed = safeParse(request, (value) => ListOrSearchSecurityZonesRequest$outboundSchema.parse(value), "Input validation failed");
53621
53847
  if (!parsed.ok) {
53622
53848
  return [haltIterator(parsed), { status: "invalid" }];
@@ -53730,12 +53956,12 @@ var init_zonesListOrSearchSecurityZones = __esm(() => {
53730
53956
  });
53731
53957
 
53732
53958
  // src/mcp-server/tools/zonesListOrSearchSecurityZones.ts
53733
- var args69, tool$zonesListOrSearchSecurityZones;
53959
+ var args70, tool$zonesListOrSearchSecurityZones;
53734
53960
  var init_zonesListOrSearchSecurityZones2 = __esm(() => {
53735
53961
  init_zonesListOrSearchSecurityZones();
53736
53962
  init_operations();
53737
53963
  init_tools();
53738
- args69 = {
53964
+ args70 = {
53739
53965
  request: ListOrSearchSecurityZonesRequest$inboundSchema
53740
53966
  };
53741
53967
  tool$zonesListOrSearchSecurityZones = {
@@ -53743,9 +53969,9 @@ var init_zonesListOrSearchSecurityZones2 = __esm(() => {
53743
53969
  description: `List or search security zones
53744
53970
 
53745
53971
  List or search security zones`,
53746
- args: args69,
53747
- tool: async (client, args70, ctx) => {
53748
- const [result, apiCall] = await zonesListOrSearchSecurityZones(client, args70.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
53972
+ args: args70,
53973
+ tool: async (client, args71, ctx) => {
53974
+ const [result, apiCall] = await zonesListOrSearchSecurityZones(client, args71.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
53749
53975
  if (!result.ok) {
53750
53976
  return {
53751
53977
  content: [{ type: "text", text: result.error.message }],
@@ -53760,9 +53986,9 @@ List or search security zones`,
53760
53986
 
53761
53987
  // src/funcs/zonesSecurityZoneCheckin.ts
53762
53988
  function zonesSecurityZoneCheckin(client, request, options) {
53763
- return new APIPromise($do72(client, request, options));
53989
+ return new APIPromise($do73(client, request, options));
53764
53990
  }
53765
- async function $do72(client, request, options) {
53991
+ async function $do73(client, request, options) {
53766
53992
  const parsed = safeParse(request, (value) => SecurityZoneCheckinRequestBody$outboundSchema.parse(value), "Input validation failed");
53767
53993
  if (!parsed.ok) {
53768
53994
  return [parsed, { status: "invalid" }];
@@ -53832,12 +54058,12 @@ var init_zonesSecurityZoneCheckin = __esm(() => {
53832
54058
  });
53833
54059
 
53834
54060
  // src/mcp-server/tools/zonesSecurityZoneCheckin.ts
53835
- var args70, tool$zonesSecurityZoneCheckin;
54061
+ var args71, tool$zonesSecurityZoneCheckin;
53836
54062
  var init_zonesSecurityZoneCheckin2 = __esm(() => {
53837
54063
  init_zonesSecurityZoneCheckin();
53838
54064
  init_operations();
53839
54065
  init_tools();
53840
- args70 = {
54066
+ args71 = {
53841
54067
  request: SecurityZoneCheckinRequestBody$inboundSchema
53842
54068
  };
53843
54069
  tool$zonesSecurityZoneCheckin = {
@@ -53845,9 +54071,9 @@ var init_zonesSecurityZoneCheckin2 = __esm(() => {
53845
54071
  description: `Security zone checkin request
53846
54072
 
53847
54073
  Security zone checkin request`,
53848
- args: args70,
53849
- tool: async (client, args71, ctx) => {
53850
- const [result, apiCall] = await zonesSecurityZoneCheckin(client, args71.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
54074
+ args: args71,
54075
+ tool: async (client, args72, ctx) => {
54076
+ const [result, apiCall] = await zonesSecurityZoneCheckin(client, args72.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
53851
54077
  if (!result.ok) {
53852
54078
  return {
53853
54079
  content: [{ type: "text", text: result.error.message }],
@@ -53864,7 +54090,7 @@ Security zone checkin request`,
53864
54090
  function createMCPServer(deps) {
53865
54091
  const server = new McpServer({
53866
54092
  name: "GreenSecurity",
53867
- version: "0.39.1"
54093
+ version: "0.39.6"
53868
54094
  });
53869
54095
  const client = new GreenSecurityCore({
53870
54096
  security: deps.security,
@@ -53949,6 +54175,7 @@ function createMCPServer(deps) {
53949
54175
  tool(tool$invoicesCreateInvoice);
53950
54176
  tool(tool$invoicesUpdateInvoice);
53951
54177
  tool(tool$invoicesMakePayment);
54178
+ tool(tool$eventsListOrSearchVendorInvitees);
53952
54179
  tool(tool$systemsListSystems);
53953
54180
  return server;
53954
54181
  }
@@ -53961,6 +54188,7 @@ var init_server2 = __esm(() => {
53961
54188
  init_dataRequestsAddDataRequestFile2();
53962
54189
  init_dataRequestsDeleteDataRequestFile2();
53963
54190
  init_dataRequestsUpdateDataRequest2();
54191
+ init_eventsListOrSearchVendorInvitees2();
53964
54192
  init_invoicesCreateInvoice2();
53965
54193
  init_invoicesMakePayment2();
53966
54194
  init_invoicesUpdateInvoice2();
@@ -55220,7 +55448,7 @@ var routes = rn({
55220
55448
  var app = Ve(routes, {
55221
55449
  name: "mcp",
55222
55450
  versionInfo: {
55223
- currentVersion: "0.39.1"
55451
+ currentVersion: "0.39.6"
55224
55452
  }
55225
55453
  });
55226
55454
  _t(app, process3.argv.slice(2), buildContext(process3));
@@ -55228,5 +55456,5 @@ export {
55228
55456
  app
55229
55457
  };
55230
55458
 
55231
- //# debugId=32F25808AB0A9D4264756E2164756E21
55459
+ //# debugId=7F327B2CEAB8784464756E2164756E21
55232
55460
  //# sourceMappingURL=mcp-server.js.map