@greensecurity/javascript-sdk 0.38.2 → 0.39.4

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 (151) hide show
  1. package/README.md +6 -0
  2. package/bin/mcp-server.js +720 -481
  3. package/bin/mcp-server.js.map +13 -10
  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/__tests__/vendors.test.js +3 -2
  9. package/dist/commonjs/__tests__/vendors.test.js.map +1 -1
  10. package/dist/commonjs/__tests__/zones.test.js +5 -2
  11. package/dist/commonjs/__tests__/zones.test.js.map +1 -1
  12. package/dist/commonjs/funcs/eventsListOrSearchVendorInvitees.d.ts +28 -0
  13. package/dist/commonjs/funcs/eventsListOrSearchVendorInvitees.d.ts.map +1 -0
  14. package/dist/commonjs/funcs/eventsListOrSearchVendorInvitees.js +166 -0
  15. package/dist/commonjs/funcs/eventsListOrSearchVendorInvitees.js.map +1 -0
  16. package/dist/commonjs/funcs/vendorsGetVendorInvoiceReceipt.d.ts +1 -1
  17. package/dist/commonjs/funcs/vendorsGetVendorInvoiceReceipt.d.ts.map +1 -1
  18. package/dist/commonjs/funcs/vendorsGetVendorInvoiceReceipt.js +2 -5
  19. package/dist/commonjs/funcs/vendorsGetVendorInvoiceReceipt.js.map +1 -1
  20. package/dist/commonjs/lib/config.d.ts +3 -3
  21. package/dist/commonjs/lib/config.js +3 -3
  22. package/dist/commonjs/mcp-server/mcp-server.js +1 -1
  23. package/dist/commonjs/mcp-server/server.d.ts.map +1 -1
  24. package/dist/commonjs/mcp-server/server.js +3 -1
  25. package/dist/commonjs/mcp-server/server.js.map +1 -1
  26. package/dist/commonjs/mcp-server/tools/eventsListOrSearchVendorInvitees.d.ts +8 -0
  27. package/dist/commonjs/mcp-server/tools/eventsListOrSearchVendorInvitees.d.ts.map +1 -0
  28. package/dist/commonjs/mcp-server/tools/eventsListOrSearchVendorInvitees.js +71 -0
  29. package/dist/commonjs/mcp-server/tools/eventsListOrSearchVendorInvitees.js.map +1 -0
  30. package/dist/commonjs/models/components/expand.d.ts +3 -0
  31. package/dist/commonjs/models/components/expand.d.ts.map +1 -1
  32. package/dist/commonjs/models/components/expand.js +1 -0
  33. package/dist/commonjs/models/components/expand.js.map +1 -1
  34. package/dist/commonjs/models/operations/getvendorinvoicereceipt.d.ts +41 -0
  35. package/dist/commonjs/models/operations/getvendorinvoicereceipt.d.ts.map +1 -1
  36. package/dist/commonjs/models/operations/getvendorinvoicereceipt.js +43 -1
  37. package/dist/commonjs/models/operations/getvendorinvoicereceipt.js.map +1 -1
  38. package/dist/commonjs/models/operations/index.d.ts +1 -0
  39. package/dist/commonjs/models/operations/index.d.ts.map +1 -1
  40. package/dist/commonjs/models/operations/index.js +1 -0
  41. package/dist/commonjs/models/operations/index.js.map +1 -1
  42. package/dist/commonjs/models/operations/listorsearchvendorinvitees.d.ts +116 -0
  43. package/dist/commonjs/models/operations/listorsearchvendorinvitees.d.ts.map +1 -0
  44. package/dist/commonjs/models/operations/listorsearchvendorinvitees.js +153 -0
  45. package/dist/commonjs/models/operations/listorsearchvendorinvitees.js.map +1 -0
  46. package/dist/commonjs/react-query/eventsListOrSearchVendorInvitees.d.ts +109 -0
  47. package/dist/commonjs/react-query/eventsListOrSearchVendorInvitees.d.ts.map +1 -0
  48. package/dist/commonjs/react-query/eventsListOrSearchVendorInvitees.js +191 -0
  49. package/dist/commonjs/react-query/eventsListOrSearchVendorInvitees.js.map +1 -0
  50. package/dist/commonjs/react-query/index.d.ts +1 -0
  51. package/dist/commonjs/react-query/index.d.ts.map +1 -1
  52. package/dist/commonjs/react-query/index.js +1 -0
  53. package/dist/commonjs/react-query/index.js.map +1 -1
  54. package/dist/commonjs/react-query/vendorsGetVendorInvoiceReceipt.d.ts +1 -1
  55. package/dist/commonjs/react-query/vendorsGetVendorInvoiceReceipt.d.ts.map +1 -1
  56. package/dist/commonjs/react-query/vendorsGetVendorInvoiceReceipt.js.map +1 -1
  57. package/dist/commonjs/sdk/events.d.ts +22 -0
  58. package/dist/commonjs/sdk/events.d.ts.map +1 -0
  59. package/dist/commonjs/sdk/events.js +29 -0
  60. package/dist/commonjs/sdk/events.js.map +1 -0
  61. package/dist/commonjs/sdk/sdk.d.ts +3 -0
  62. package/dist/commonjs/sdk/sdk.d.ts.map +1 -1
  63. package/dist/commonjs/sdk/sdk.js +4 -0
  64. package/dist/commonjs/sdk/sdk.js.map +1 -1
  65. package/dist/commonjs/sdk/vendors.d.ts +1 -1
  66. package/dist/commonjs/sdk/vendors.d.ts.map +1 -1
  67. package/dist/esm/__tests__/events.test.d.ts +2 -0
  68. package/dist/esm/__tests__/events.test.d.ts.map +1 -0
  69. package/dist/esm/__tests__/events.test.js +39 -0
  70. package/dist/esm/__tests__/events.test.js.map +1 -0
  71. package/dist/esm/__tests__/vendors.test.js +3 -2
  72. package/dist/esm/__tests__/vendors.test.js.map +1 -1
  73. package/dist/esm/__tests__/zones.test.js +5 -2
  74. package/dist/esm/__tests__/zones.test.js.map +1 -1
  75. package/dist/esm/funcs/eventsListOrSearchVendorInvitees.d.ts +28 -0
  76. package/dist/esm/funcs/eventsListOrSearchVendorInvitees.d.ts.map +1 -0
  77. package/dist/esm/funcs/eventsListOrSearchVendorInvitees.js +130 -0
  78. package/dist/esm/funcs/eventsListOrSearchVendorInvitees.js.map +1 -0
  79. package/dist/esm/funcs/vendorsGetVendorInvoiceReceipt.d.ts +1 -1
  80. package/dist/esm/funcs/vendorsGetVendorInvoiceReceipt.d.ts.map +1 -1
  81. package/dist/esm/funcs/vendorsGetVendorInvoiceReceipt.js +2 -5
  82. package/dist/esm/funcs/vendorsGetVendorInvoiceReceipt.js.map +1 -1
  83. package/dist/esm/lib/config.d.ts +3 -3
  84. package/dist/esm/lib/config.js +3 -3
  85. package/dist/esm/mcp-server/mcp-server.js +1 -1
  86. package/dist/esm/mcp-server/server.d.ts.map +1 -1
  87. package/dist/esm/mcp-server/server.js +3 -1
  88. package/dist/esm/mcp-server/server.js.map +1 -1
  89. package/dist/esm/mcp-server/tools/eventsListOrSearchVendorInvitees.d.ts +8 -0
  90. package/dist/esm/mcp-server/tools/eventsListOrSearchVendorInvitees.d.ts.map +1 -0
  91. package/dist/esm/mcp-server/tools/eventsListOrSearchVendorInvitees.js +35 -0
  92. package/dist/esm/mcp-server/tools/eventsListOrSearchVendorInvitees.js.map +1 -0
  93. package/dist/esm/models/components/expand.d.ts +3 -0
  94. package/dist/esm/models/components/expand.d.ts.map +1 -1
  95. package/dist/esm/models/components/expand.js +1 -0
  96. package/dist/esm/models/components/expand.js.map +1 -1
  97. package/dist/esm/models/operations/getvendorinvoicereceipt.d.ts +41 -0
  98. package/dist/esm/models/operations/getvendorinvoicereceipt.d.ts.map +1 -1
  99. package/dist/esm/models/operations/getvendorinvoicereceipt.js +40 -0
  100. package/dist/esm/models/operations/getvendorinvoicereceipt.js.map +1 -1
  101. package/dist/esm/models/operations/index.d.ts +1 -0
  102. package/dist/esm/models/operations/index.d.ts.map +1 -1
  103. package/dist/esm/models/operations/index.js +1 -0
  104. package/dist/esm/models/operations/index.js.map +1 -1
  105. package/dist/esm/models/operations/listorsearchvendorinvitees.d.ts +116 -0
  106. package/dist/esm/models/operations/listorsearchvendorinvitees.d.ts.map +1 -0
  107. package/dist/esm/models/operations/listorsearchvendorinvitees.js +111 -0
  108. package/dist/esm/models/operations/listorsearchvendorinvitees.js.map +1 -0
  109. package/dist/esm/react-query/eventsListOrSearchVendorInvitees.d.ts +109 -0
  110. package/dist/esm/react-query/eventsListOrSearchVendorInvitees.d.ts.map +1 -0
  111. package/dist/esm/react-query/eventsListOrSearchVendorInvitees.js +178 -0
  112. package/dist/esm/react-query/eventsListOrSearchVendorInvitees.js.map +1 -0
  113. package/dist/esm/react-query/index.d.ts +1 -0
  114. package/dist/esm/react-query/index.d.ts.map +1 -1
  115. package/dist/esm/react-query/index.js +1 -0
  116. package/dist/esm/react-query/index.js.map +1 -1
  117. package/dist/esm/react-query/vendorsGetVendorInvoiceReceipt.d.ts +1 -1
  118. package/dist/esm/react-query/vendorsGetVendorInvoiceReceipt.d.ts.map +1 -1
  119. package/dist/esm/react-query/vendorsGetVendorInvoiceReceipt.js.map +1 -1
  120. package/dist/esm/sdk/events.d.ts +22 -0
  121. package/dist/esm/sdk/events.d.ts.map +1 -0
  122. package/dist/esm/sdk/events.js +25 -0
  123. package/dist/esm/sdk/events.js.map +1 -0
  124. package/dist/esm/sdk/sdk.d.ts +3 -0
  125. package/dist/esm/sdk/sdk.d.ts.map +1 -1
  126. package/dist/esm/sdk/sdk.js +4 -0
  127. package/dist/esm/sdk/sdk.js.map +1 -1
  128. package/dist/esm/sdk/vendors.d.ts +1 -1
  129. package/dist/esm/sdk/vendors.d.ts.map +1 -1
  130. package/examples/package-lock.json +1 -1
  131. package/jsr.json +1 -1
  132. package/package.json +1 -1
  133. package/src/__tests__/events.test.ts +42 -0
  134. package/src/__tests__/vendors.test.ts +3 -4
  135. package/src/__tests__/zones.test.ts +5 -2
  136. package/src/funcs/eventsListOrSearchVendorInvitees.ts +261 -0
  137. package/src/funcs/vendorsGetVendorInvoiceReceipt.ts +5 -8
  138. package/src/lib/config.ts +3 -3
  139. package/src/mcp-server/mcp-server.ts +1 -1
  140. package/src/mcp-server/server.ts +3 -1
  141. package/src/mcp-server/tools/eventsListOrSearchVendorInvitees.ts +46 -0
  142. package/src/models/components/expand.ts +1 -0
  143. package/src/models/operations/getvendorinvoicereceipt.ts +94 -0
  144. package/src/models/operations/index.ts +1 -0
  145. package/src/models/operations/listorsearchvendorinvitees.ts +261 -0
  146. package/src/react-query/eventsListOrSearchVendorInvitees.ts +378 -0
  147. package/src/react-query/index.ts +1 -0
  148. package/src/react-query/vendorsGetVendorInvoiceReceipt.ts +2 -3
  149. package/src/sdk/events.ts +39 -0
  150. package/src/sdk/sdk.ts +6 -0
  151. package/src/sdk/vendors.ts +1 -1
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.38.2",
34164
- genVersion: "2.658.3",
34165
- userAgent: "speakeasy-sdk/typescript 0.38.2 2.658.3 0.0.3 @greensecurity/javascript-sdk"
34163
+ sdkVersion: "0.39.4",
34164
+ genVersion: "2.662.0",
34165
+ userAgent: "speakeasy-sdk/typescript 0.39.4 2.662.0 0.0.3 @greensecurity/javascript-sdk"
34166
34166
  };
34167
34167
  });
34168
34168
 
@@ -35317,9 +35317,6 @@ function jsonErr(codes, schema, options) {
35317
35317
  function json(codes, schema, options) {
35318
35318
  return { ...options, enc: "json", codes, schema };
35319
35319
  }
35320
- function stream(codes, schema, options) {
35321
- return { ...options, enc: "stream", codes, schema };
35322
- }
35323
35320
  function fail(codes) {
35324
35321
  return { enc: "fail", codes };
35325
35322
  }
@@ -37155,6 +37152,7 @@ var init_expand = __esm(() => {
37155
37152
  ContactFacility: "contact.facility",
37156
37153
  ContactSystem: "contact.system",
37157
37154
  ContactDepartment: "contact.department",
37155
+ ContactUser: "contact.user",
37158
37156
  FacilityAppointmentPolicy: "facility.appointment_policy",
37159
37157
  FacilityContacts: "facility.contacts",
37160
37158
  FacilityVendorCounts: "facility.vendor_counts",
@@ -42015,9 +42013,10 @@ var init_getvendorinvoicedetails = __esm(() => {
42015
42013
  });
42016
42014
 
42017
42015
  // src/models/operations/getvendorinvoicereceipt.ts
42018
- var GetVendorInvoiceReceiptRequest$inboundSchema, GetVendorInvoiceReceiptRequest$outboundSchema, GetVendorInvoiceReceiptRequest$;
42016
+ var GetVendorInvoiceReceiptRequest$inboundSchema, GetVendorInvoiceReceiptRequest$outboundSchema, GetVendorInvoiceReceiptRequest$, GetVendorInvoiceReceiptResponseBody$inboundSchema, GetVendorInvoiceReceiptResponseBody$outboundSchema, GetVendorInvoiceReceiptResponseBody$;
42019
42017
  var init_getvendorinvoicereceipt = __esm(() => {
42020
42018
  init_esm();
42019
+ init_primitives();
42021
42020
  GetVendorInvoiceReceiptRequest$inboundSchema = objectType({
42022
42021
  id: numberType().int()
42023
42022
  });
@@ -42028,6 +42027,30 @@ var init_getvendorinvoicereceipt = __esm(() => {
42028
42027
  GetVendorInvoiceReceiptRequest$.inboundSchema = GetVendorInvoiceReceiptRequest$inboundSchema;
42029
42028
  GetVendorInvoiceReceiptRequest$.outboundSchema = GetVendorInvoiceReceiptRequest$outboundSchema;
42030
42029
  })(GetVendorInvoiceReceiptRequest$ ||= {});
42030
+ GetVendorInvoiceReceiptResponseBody$inboundSchema = objectType({
42031
+ base64_pdf: stringType(),
42032
+ filename: stringType().optional(),
42033
+ content_type: stringType().optional()
42034
+ }).transform((v2) => {
42035
+ return remap(v2, {
42036
+ base64_pdf: "base64Pdf",
42037
+ content_type: "contentType"
42038
+ });
42039
+ });
42040
+ GetVendorInvoiceReceiptResponseBody$outboundSchema = objectType({
42041
+ base64Pdf: stringType(),
42042
+ filename: stringType().optional(),
42043
+ contentType: stringType().optional()
42044
+ }).transform((v2) => {
42045
+ return remap(v2, {
42046
+ base64Pdf: "base64_pdf",
42047
+ contentType: "content_type"
42048
+ });
42049
+ });
42050
+ ((GetVendorInvoiceReceiptResponseBody$) => {
42051
+ GetVendorInvoiceReceiptResponseBody$.inboundSchema = GetVendorInvoiceReceiptResponseBody$inboundSchema;
42052
+ GetVendorInvoiceReceiptResponseBody$.outboundSchema = GetVendorInvoiceReceiptResponseBody$outboundSchema;
42053
+ })(GetVendorInvoiceReceiptResponseBody$ ||= {});
42031
42054
  });
42032
42055
 
42033
42056
  // src/models/operations/getvendorlegalname.ts
@@ -42603,6 +42626,72 @@ var init_listorsearchsupportarticles = __esm(() => {
42603
42626
  })(ListOrSearchSupportArticlesResponse$ ||= {});
42604
42627
  });
42605
42628
 
42629
+ // src/models/operations/listorsearchvendorinvitees.ts
42630
+ var ListOrSearchVendorInviteesRequest$inboundSchema, ListOrSearchVendorInviteesRequest$outboundSchema, ListOrSearchVendorInviteesRequest$, ListOrSearchVendorInviteesResponseBody$inboundSchema, ListOrSearchVendorInviteesResponseBody$outboundSchema, ListOrSearchVendorInviteesResponseBody$, ListOrSearchVendorInviteesResponse$inboundSchema, ListOrSearchVendorInviteesResponse$outboundSchema, ListOrSearchVendorInviteesResponse$;
42631
+ var init_listorsearchvendorinvitees = __esm(() => {
42632
+ init_esm();
42633
+ init_primitives();
42634
+ init_components();
42635
+ ListOrSearchVendorInviteesRequest$inboundSchema = objectType({
42636
+ sort: nullableType(stringType()).optional(),
42637
+ desc: Desc$inboundSchema.optional(),
42638
+ page: numberType().int().optional(),
42639
+ items_per_page: numberType().int().optional(),
42640
+ expand: arrayType(Expand$inboundSchema).optional(),
42641
+ search: stringType().optional()
42642
+ }).transform((v2) => {
42643
+ return remap(v2, {
42644
+ items_per_page: "itemsPerPage"
42645
+ });
42646
+ });
42647
+ ListOrSearchVendorInviteesRequest$outboundSchema = objectType({
42648
+ sort: nullableType(stringType()).optional(),
42649
+ desc: Desc$outboundSchema.optional(),
42650
+ page: numberType().int().optional(),
42651
+ itemsPerPage: numberType().int().optional(),
42652
+ expand: arrayType(Expand$outboundSchema).optional(),
42653
+ search: stringType().optional()
42654
+ }).transform((v2) => {
42655
+ return remap(v2, {
42656
+ itemsPerPage: "items_per_page"
42657
+ });
42658
+ });
42659
+ ((ListOrSearchVendorInviteesRequest$) => {
42660
+ ListOrSearchVendorInviteesRequest$.inboundSchema = ListOrSearchVendorInviteesRequest$inboundSchema;
42661
+ ListOrSearchVendorInviteesRequest$.outboundSchema = ListOrSearchVendorInviteesRequest$outboundSchema;
42662
+ })(ListOrSearchVendorInviteesRequest$ ||= {});
42663
+ ListOrSearchVendorInviteesResponseBody$inboundSchema = objectType({
42664
+ pager: Pager$inboundSchema,
42665
+ items: arrayType(nullableType(Contact$inboundSchema))
42666
+ });
42667
+ ListOrSearchVendorInviteesResponseBody$outboundSchema = objectType({
42668
+ pager: Pager$outboundSchema,
42669
+ items: arrayType(nullableType(Contact$outboundSchema))
42670
+ });
42671
+ ((ListOrSearchVendorInviteesResponseBody$) => {
42672
+ ListOrSearchVendorInviteesResponseBody$.inboundSchema = ListOrSearchVendorInviteesResponseBody$inboundSchema;
42673
+ ListOrSearchVendorInviteesResponseBody$.outboundSchema = ListOrSearchVendorInviteesResponseBody$outboundSchema;
42674
+ })(ListOrSearchVendorInviteesResponseBody$ ||= {});
42675
+ ListOrSearchVendorInviteesResponse$inboundSchema = objectType({
42676
+ Result: lazyType(() => ListOrSearchVendorInviteesResponseBody$inboundSchema)
42677
+ }).transform((v2) => {
42678
+ return remap(v2, {
42679
+ Result: "result"
42680
+ });
42681
+ });
42682
+ ListOrSearchVendorInviteesResponse$outboundSchema = objectType({
42683
+ result: lazyType(() => ListOrSearchVendorInviteesResponseBody$outboundSchema)
42684
+ }).transform((v2) => {
42685
+ return remap(v2, {
42686
+ result: "Result"
42687
+ });
42688
+ });
42689
+ ((ListOrSearchVendorInviteesResponse$) => {
42690
+ ListOrSearchVendorInviteesResponse$.inboundSchema = ListOrSearchVendorInviteesResponse$inboundSchema;
42691
+ ListOrSearchVendorInviteesResponse$.outboundSchema = ListOrSearchVendorInviteesResponse$outboundSchema;
42692
+ })(ListOrSearchVendorInviteesResponse$ ||= {});
42693
+ });
42694
+
42606
42695
  // src/models/operations/listsystems.ts
42607
42696
  var ListSystemsRequest$inboundSchema, ListSystemsRequest$outboundSchema, ListSystemsRequest$, ListSystemsResponseBody$inboundSchema, ListSystemsResponseBody$outboundSchema, ListSystemsResponseBody$, ListSystemsResponse$inboundSchema, ListSystemsResponse$outboundSchema, ListSystemsResponse$;
42608
42697
  var init_listsystems = __esm(() => {
@@ -45196,6 +45285,7 @@ var init_operations = __esm(() => {
45196
45285
  init_listorsearchfacilities();
45197
45286
  init_listorsearchsecurityzones();
45198
45287
  init_listorsearchsupportarticles();
45288
+ init_listorsearchvendorinvitees();
45199
45289
  init_listsystems();
45200
45290
  init_listvendoradditionalfacilityfields();
45201
45291
  init_listvendorcredentialdatarequests();
@@ -45757,11 +45847,161 @@ It will update the vendor credential data request attributes`,
45757
45847
  };
45758
45848
  });
45759
45849
 
45760
- // src/funcs/invoicesCreateInvoice.ts
45761
- function invoicesCreateInvoice(client, request, options) {
45850
+ // src/funcs/eventsListOrSearchVendorInvitees.ts
45851
+ function eventsListOrSearchVendorInvitees(client, request, options) {
45762
45852
  return new APIPromise($do5(client, request, options));
45763
45853
  }
45764
45854
  async function $do5(client, request, options) {
45855
+ const parsed = safeParse(request, (value) => ListOrSearchVendorInviteesRequest$outboundSchema.parse(value), "Input validation failed");
45856
+ if (!parsed.ok) {
45857
+ return [haltIterator(parsed), { status: "invalid" }];
45858
+ }
45859
+ const payload = parsed.value;
45860
+ const body = null;
45861
+ const path = pathToFunc("/events/vendor-invitees")();
45862
+ const query = queryJoin(encodeFormQuery({
45863
+ expand: payload.expand
45864
+ }, { explode: false }), encodeFormQuery({
45865
+ desc: payload.desc,
45866
+ items_per_page: payload.items_per_page,
45867
+ page: payload.page,
45868
+ search: payload.search,
45869
+ sort: payload.sort
45870
+ }));
45871
+ const headers = new Headers(compactMap({
45872
+ Accept: "application/json"
45873
+ }));
45874
+ const securityInput = await extractSecurity(client._options.security);
45875
+ const requestSecurity = resolveGlobalSecurity(securityInput);
45876
+ const context = {
45877
+ options: client._options,
45878
+ baseURL: options?.serverURL ?? client._baseURL ?? "",
45879
+ operationID: "listOrSearchVendorInvitees",
45880
+ oAuth2Scopes: [],
45881
+ resolvedSecurity: requestSecurity,
45882
+ securitySource: client._options.security,
45883
+ retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
45884
+ retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
45885
+ };
45886
+ const requestRes = client._createRequest(context, {
45887
+ security: requestSecurity,
45888
+ method: "GET",
45889
+ baseURL: options?.serverURL,
45890
+ path,
45891
+ headers,
45892
+ query,
45893
+ body,
45894
+ userAgent: client._options.userAgent,
45895
+ timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
45896
+ }, options);
45897
+ if (!requestRes.ok) {
45898
+ return [haltIterator(requestRes), { status: "invalid" }];
45899
+ }
45900
+ const req = requestRes.value;
45901
+ const doResult = await client._do(req, {
45902
+ context,
45903
+ errorCodes: ["400", "401", "403", "404", "4XX", "500", "5XX"],
45904
+ retryConfig: context.retryConfig,
45905
+ retryCodes: context.retryCodes
45906
+ });
45907
+ if (!doResult.ok) {
45908
+ return [haltIterator(doResult), { status: "request-error", request: req }];
45909
+ }
45910
+ const response = doResult.value;
45911
+ const responseFields = {
45912
+ HttpMeta: { Response: response, Request: req }
45913
+ };
45914
+ const [result, raw] = await match(json(200, ListOrSearchVendorInviteesResponse$inboundSchema, {
45915
+ key: "Result"
45916
+ }), jsonErr([400, 401, 403, 404], ApiErrorResponse$inboundSchema), jsonErr(500, ApiErrorResponse$inboundSchema), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
45917
+ if (!result.ok) {
45918
+ return [haltIterator(result), {
45919
+ status: "complete",
45920
+ request: req,
45921
+ response
45922
+ }];
45923
+ }
45924
+ const nextFunc = (responseData) => {
45925
+ const page2 = request?.page ?? 1;
45926
+ const nextPage = page2 + 1;
45927
+ if (!responseData) {
45928
+ return { next: () => null };
45929
+ }
45930
+ const results = dlv(responseData, "items");
45931
+ if (!Array.isArray(results) || !results.length) {
45932
+ return { next: () => null };
45933
+ }
45934
+ const limit = request?.itemsPerPage ?? 0;
45935
+ if (results.length < limit) {
45936
+ return { next: () => null };
45937
+ }
45938
+ const nextVal = () => eventsListOrSearchVendorInvitees(client, {
45939
+ ...request,
45940
+ page: nextPage
45941
+ }, options);
45942
+ return { next: nextVal, "~next": { page: nextPage } };
45943
+ };
45944
+ const page = { ...result, ...nextFunc(raw) };
45945
+ return [{ ...page, ...createPageIterator(page, (v2) => !v2.ok) }, {
45946
+ status: "complete",
45947
+ request: req,
45948
+ response
45949
+ }];
45950
+ }
45951
+ var init_eventsListOrSearchVendorInvitees = __esm(() => {
45952
+ init_encodings();
45953
+ init_matchers();
45954
+ init_primitives();
45955
+ init_schemas();
45956
+ init_security();
45957
+ init_url();
45958
+ init_errors2();
45959
+ init_operations();
45960
+ init_async();
45961
+ init_operations2();
45962
+ });
45963
+
45964
+ // src/mcp-server/tools/eventsListOrSearchVendorInvitees.ts
45965
+ var args5, tool$eventsListOrSearchVendorInvitees;
45966
+ var init_eventsListOrSearchVendorInvitees2 = __esm(() => {
45967
+ init_eventsListOrSearchVendorInvitees();
45968
+ init_operations();
45969
+ init_tools();
45970
+ args5 = {
45971
+ request: ListOrSearchVendorInviteesRequest$inboundSchema
45972
+ };
45973
+ tool$eventsListOrSearchVendorInvitees = {
45974
+ name: "events-list-or-search-vendor-invitees",
45975
+ description: `List or search vendor invitees
45976
+
45977
+ List or search vendor invitees.
45978
+
45979
+ Available \`expand\` scopes are:
45980
+
45981
+ - contact.facility
45982
+ - contact.system
45983
+ - contact.department
45984
+ - contact.user`,
45985
+ args: args5,
45986
+ tool: async (client, args6, ctx) => {
45987
+ const [result, apiCall] = await eventsListOrSearchVendorInvitees(client, args6.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
45988
+ if (!result.ok) {
45989
+ return {
45990
+ content: [{ type: "text", text: result.error.message }],
45991
+ isError: true
45992
+ };
45993
+ }
45994
+ const value = result.value.result;
45995
+ return formatResult(value, apiCall);
45996
+ }
45997
+ };
45998
+ });
45999
+
46000
+ // src/funcs/invoicesCreateInvoice.ts
46001
+ function invoicesCreateInvoice(client, request, options) {
46002
+ return new APIPromise($do6(client, request, options));
46003
+ }
46004
+ async function $do6(client, request, options) {
45765
46005
  const parsed = safeParse(request, (value) => CreateInvoiceRequestBody$outboundSchema.parse(value), "Input validation failed");
45766
46006
  if (!parsed.ok) {
45767
46007
  return [parsed, { status: "invalid" }];
@@ -45831,12 +46071,12 @@ var init_invoicesCreateInvoice = __esm(() => {
45831
46071
  });
45832
46072
 
45833
46073
  // src/mcp-server/tools/invoicesCreateInvoice.ts
45834
- var args5, tool$invoicesCreateInvoice;
46074
+ var args6, tool$invoicesCreateInvoice;
45835
46075
  var init_invoicesCreateInvoice2 = __esm(() => {
45836
46076
  init_invoicesCreateInvoice();
45837
46077
  init_operations();
45838
46078
  init_tools();
45839
- args5 = {
46079
+ args6 = {
45840
46080
  request: CreateInvoiceRequestBody$inboundSchema
45841
46081
  };
45842
46082
  tool$invoicesCreateInvoice = {
@@ -45853,9 +46093,9 @@ It will create an invoice based on the lines passed as parameter.
45853
46093
  - new_vendor_type_id: required, must be integer
45854
46094
  - old_facility_ids: required, must be an array of integers (can be empty)
45855
46095
  - new_facility_ids: required, must be array of integers`,
45856
- args: args5,
45857
- tool: async (client, args6, ctx) => {
45858
- const [result, apiCall] = await invoicesCreateInvoice(client, args6.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
46096
+ args: args6,
46097
+ tool: async (client, args7, ctx) => {
46098
+ const [result, apiCall] = await invoicesCreateInvoice(client, args7.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
45859
46099
  if (!result.ok) {
45860
46100
  return {
45861
46101
  content: [{ type: "text", text: result.error.message }],
@@ -45870,9 +46110,9 @@ It will create an invoice based on the lines passed as parameter.
45870
46110
 
45871
46111
  // src/funcs/invoicesMakePayment.ts
45872
46112
  function invoicesMakePayment(client, request, options) {
45873
- return new APIPromise($do6(client, request, options));
46113
+ return new APIPromise($do7(client, request, options));
45874
46114
  }
45875
- async function $do6(client, request, options) {
46115
+ async function $do7(client, request, options) {
45876
46116
  const parsed = safeParse(request, (value) => MakePaymentRequest$outboundSchema.parse(value), "Input validation failed");
45877
46117
  if (!parsed.ok) {
45878
46118
  return [parsed, { status: "invalid" }];
@@ -45948,12 +46188,12 @@ var init_invoicesMakePayment = __esm(() => {
45948
46188
  });
45949
46189
 
45950
46190
  // src/mcp-server/tools/invoicesMakePayment.ts
45951
- var args6, tool$invoicesMakePayment;
46191
+ var args7, tool$invoicesMakePayment;
45952
46192
  var init_invoicesMakePayment2 = __esm(() => {
45953
46193
  init_invoicesMakePayment();
45954
46194
  init_operations();
45955
46195
  init_tools();
45956
- args6 = {
46196
+ args7 = {
45957
46197
  request: MakePaymentRequest$inboundSchema
45958
46198
  };
45959
46199
  tool$invoicesMakePayment = {
@@ -45961,9 +46201,9 @@ var init_invoicesMakePayment2 = __esm(() => {
45961
46201
  description: `Make payment for the invoice
45962
46202
 
45963
46203
  Make payment for the invoice`,
45964
- args: args6,
45965
- tool: async (client, args7, ctx) => {
45966
- const [result, apiCall] = await invoicesMakePayment(client, args7.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
46204
+ args: args7,
46205
+ tool: async (client, args8, ctx) => {
46206
+ const [result, apiCall] = await invoicesMakePayment(client, args8.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
45967
46207
  if (!result.ok) {
45968
46208
  return {
45969
46209
  content: [{ type: "text", text: result.error.message }],
@@ -45978,9 +46218,9 @@ Make payment for the invoice`,
45978
46218
 
45979
46219
  // src/funcs/invoicesUpdateInvoice.ts
45980
46220
  function invoicesUpdateInvoice(client, request, options) {
45981
- return new APIPromise($do7(client, request, options));
46221
+ return new APIPromise($do8(client, request, options));
45982
46222
  }
45983
- async function $do7(client, request, options) {
46223
+ async function $do8(client, request, options) {
45984
46224
  const parsed = safeParse(request, (value) => UpdateInvoiceRequest$outboundSchema.parse(value), "Input validation failed");
45985
46225
  if (!parsed.ok) {
45986
46226
  return [parsed, { status: "invalid" }];
@@ -46057,12 +46297,12 @@ var init_invoicesUpdateInvoice = __esm(() => {
46057
46297
  });
46058
46298
 
46059
46299
  // src/mcp-server/tools/invoicesUpdateInvoice.ts
46060
- var args7, tool$invoicesUpdateInvoice;
46300
+ var args8, tool$invoicesUpdateInvoice;
46061
46301
  var init_invoicesUpdateInvoice2 = __esm(() => {
46062
46302
  init_invoicesUpdateInvoice();
46063
46303
  init_operations();
46064
46304
  init_tools();
46065
- args7 = {
46305
+ args8 = {
46066
46306
  request: UpdateInvoiceRequest$inboundSchema
46067
46307
  };
46068
46308
  tool$invoicesUpdateInvoice = {
@@ -46079,9 +46319,9 @@ It will replace all the lines with the lines passed as parameter
46079
46319
  - new_vendor_type_id: required, must be integer
46080
46320
  - old_facility_ids: required, must be an array of integers (can be empty)
46081
46321
  - new_facility_ids: required, must be array of integers`,
46082
- args: args7,
46083
- tool: async (client, args8, ctx) => {
46084
- const [result, apiCall] = await invoicesUpdateInvoice(client, args8.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
46322
+ args: args8,
46323
+ tool: async (client, args9, ctx) => {
46324
+ const [result, apiCall] = await invoicesUpdateInvoice(client, args9.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
46085
46325
  if (!result.ok) {
46086
46326
  return {
46087
46327
  content: [{ type: "text", text: result.error.message }],
@@ -46096,9 +46336,9 @@ It will replace all the lines with the lines passed as parameter
46096
46336
 
46097
46337
  // src/funcs/organizationsGetFacility.ts
46098
46338
  function organizationsGetFacility(client, request, options) {
46099
- return new APIPromise($do8(client, request, options));
46339
+ return new APIPromise($do9(client, request, options));
46100
46340
  }
46101
- async function $do8(client, request, options) {
46341
+ async function $do9(client, request, options) {
46102
46342
  const parsed = safeParse(request, (value) => GetFacilityRequest$outboundSchema.parse(value), "Input validation failed");
46103
46343
  if (!parsed.ok) {
46104
46344
  return [parsed, { status: "invalid" }];
@@ -46174,12 +46414,12 @@ var init_organizationsGetFacility = __esm(() => {
46174
46414
  });
46175
46415
 
46176
46416
  // src/mcp-server/tools/organizationsGetFacility.ts
46177
- var args8, tool$organizationsGetFacility;
46417
+ var args9, tool$organizationsGetFacility;
46178
46418
  var init_organizationsGetFacility2 = __esm(() => {
46179
46419
  init_organizationsGetFacility();
46180
46420
  init_operations();
46181
46421
  init_tools();
46182
- args8 = {
46422
+ args9 = {
46183
46423
  request: GetFacilityRequest$inboundSchema
46184
46424
  };
46185
46425
  tool$organizationsGetFacility = {
@@ -46187,9 +46427,9 @@ var init_organizationsGetFacility2 = __esm(() => {
46187
46427
  description: `Get facility
46188
46428
 
46189
46429
  Retrieve an individual facility.`,
46190
- args: args8,
46191
- tool: async (client, args9, ctx) => {
46192
- const [result, apiCall] = await organizationsGetFacility(client, args9.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
46430
+ args: args9,
46431
+ tool: async (client, args10, ctx) => {
46432
+ const [result, apiCall] = await organizationsGetFacility(client, args10.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
46193
46433
  if (!result.ok) {
46194
46434
  return {
46195
46435
  content: [{ type: "text", text: result.error.message }],
@@ -46204,9 +46444,9 @@ Retrieve an individual facility.`,
46204
46444
 
46205
46445
  // src/funcs/organizationsListOrSearchDepartmentContacts.ts
46206
46446
  function organizationsListOrSearchDepartmentContacts(client, request, options) {
46207
- return new APIPromise($do9(client, request, options));
46447
+ return new APIPromise($do10(client, request, options));
46208
46448
  }
46209
- async function $do9(client, request, options) {
46449
+ async function $do10(client, request, options) {
46210
46450
  const parsed = safeParse(request, (value) => ListOrSearchDepartmentContactsRequest$outboundSchema.parse(value), "Input validation failed");
46211
46451
  if (!parsed.ok) {
46212
46452
  return [haltIterator(parsed), { status: "invalid" }];
@@ -46321,12 +46561,12 @@ var init_organizationsListOrSearchDepartmentContacts = __esm(() => {
46321
46561
  });
46322
46562
 
46323
46563
  // src/mcp-server/tools/organizationsListOrSearchDepartmentContacts.ts
46324
- var args9, tool$organizationsListOrSearchDepartmentContacts;
46564
+ var args10, tool$organizationsListOrSearchDepartmentContacts;
46325
46565
  var init_organizationsListOrSearchDepartmentContacts2 = __esm(() => {
46326
46566
  init_organizationsListOrSearchDepartmentContacts();
46327
46567
  init_operations();
46328
46568
  init_tools();
46329
- args9 = {
46569
+ args10 = {
46330
46570
  request: ListOrSearchDepartmentContactsRequest$inboundSchema
46331
46571
  };
46332
46572
  tool$organizationsListOrSearchDepartmentContacts = {
@@ -46339,9 +46579,9 @@ Available \`expand\` scopes are:
46339
46579
 
46340
46580
  - department_membership.contact
46341
46581
  - department_membership.department`,
46342
- args: args9,
46343
- tool: async (client, args10, ctx) => {
46344
- const [result, apiCall] = await organizationsListOrSearchDepartmentContacts(client, args10.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
46582
+ args: args10,
46583
+ tool: async (client, args11, ctx) => {
46584
+ const [result, apiCall] = await organizationsListOrSearchDepartmentContacts(client, args11.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
46345
46585
  if (!result.ok) {
46346
46586
  return {
46347
46587
  content: [{ type: "text", text: result.error.message }],
@@ -46356,9 +46596,9 @@ Available \`expand\` scopes are:
46356
46596
 
46357
46597
  // src/funcs/organizationsListOrSearchDepartments.ts
46358
46598
  function organizationsListOrSearchDepartments(client, request, options) {
46359
- return new APIPromise($do10(client, request, options));
46599
+ return new APIPromise($do11(client, request, options));
46360
46600
  }
46361
- async function $do10(client, request, options) {
46601
+ async function $do11(client, request, options) {
46362
46602
  const parsed = safeParse(request, (value) => ListOrSearchDepartmentsRequest$outboundSchema.parse(value), "Input validation failed");
46363
46603
  if (!parsed.ok) {
46364
46604
  return [haltIterator(parsed), { status: "invalid" }];
@@ -46473,12 +46713,12 @@ var init_organizationsListOrSearchDepartments = __esm(() => {
46473
46713
  });
46474
46714
 
46475
46715
  // src/mcp-server/tools/organizationsListOrSearchDepartments.ts
46476
- var args10, tool$organizationsListOrSearchDepartments;
46716
+ var args11, tool$organizationsListOrSearchDepartments;
46477
46717
  var init_organizationsListOrSearchDepartments2 = __esm(() => {
46478
46718
  init_organizationsListOrSearchDepartments();
46479
46719
  init_operations();
46480
46720
  init_tools();
46481
- args10 = {
46721
+ args11 = {
46482
46722
  request: ListOrSearchDepartmentsRequest$inboundSchema
46483
46723
  };
46484
46724
  tool$organizationsListOrSearchDepartments = {
@@ -46486,9 +46726,9 @@ var init_organizationsListOrSearchDepartments2 = __esm(() => {
46486
46726
  description: `List or search departments
46487
46727
 
46488
46728
  List or search departments.`,
46489
- args: args10,
46490
- tool: async (client, args11, ctx) => {
46491
- const [result, apiCall] = await organizationsListOrSearchDepartments(client, args11.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
46729
+ args: args11,
46730
+ tool: async (client, args12, ctx) => {
46731
+ const [result, apiCall] = await organizationsListOrSearchDepartments(client, args12.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
46492
46732
  if (!result.ok) {
46493
46733
  return {
46494
46734
  content: [{ type: "text", text: result.error.message }],
@@ -46503,9 +46743,9 @@ List or search departments.`,
46503
46743
 
46504
46744
  // src/funcs/organizationsListOrSearchFacilities.ts
46505
46745
  function organizationsListOrSearchFacilities(client, request, options) {
46506
- return new APIPromise($do11(client, request, options));
46746
+ return new APIPromise($do12(client, request, options));
46507
46747
  }
46508
- async function $do11(client, request, options) {
46748
+ async function $do12(client, request, options) {
46509
46749
  const parsed = safeParse(request, (value) => ListOrSearchFacilitiesRequest$outboundSchema.parse(value), "Input validation failed");
46510
46750
  if (!parsed.ok) {
46511
46751
  return [haltIterator(parsed), { status: "invalid" }];
@@ -46621,12 +46861,12 @@ var init_organizationsListOrSearchFacilities = __esm(() => {
46621
46861
  });
46622
46862
 
46623
46863
  // src/mcp-server/tools/organizationsListOrSearchFacilities.ts
46624
- var args11, tool$organizationsListOrSearchFacilities;
46864
+ var args12, tool$organizationsListOrSearchFacilities;
46625
46865
  var init_organizationsListOrSearchFacilities2 = __esm(() => {
46626
46866
  init_organizationsListOrSearchFacilities();
46627
46867
  init_operations();
46628
46868
  init_tools();
46629
- args11 = {
46869
+ args12 = {
46630
46870
  request: ListOrSearchFacilitiesRequest$inboundSchema
46631
46871
  };
46632
46872
  tool$organizationsListOrSearchFacilities = {
@@ -46647,9 +46887,9 @@ Available \`expand\` scopes are:
46647
46887
  - facility.vendor_policy
46648
46888
  - facility.visitor_policy
46649
46889
  - facility.workflow`,
46650
- args: args11,
46651
- tool: async (client, args12, ctx) => {
46652
- const [result, apiCall] = await organizationsListOrSearchFacilities(client, args12.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
46890
+ args: args12,
46891
+ tool: async (client, args13, ctx) => {
46892
+ const [result, apiCall] = await organizationsListOrSearchFacilities(client, args13.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
46653
46893
  if (!result.ok) {
46654
46894
  return {
46655
46895
  content: [{ type: "text", text: result.error.message }],
@@ -46664,9 +46904,9 @@ Available \`expand\` scopes are:
46664
46904
 
46665
46905
  // src/funcs/supportArticlesGetSupportArticle.ts
46666
46906
  function supportArticlesGetSupportArticle(client, request, options) {
46667
- return new APIPromise($do12(client, request, options));
46907
+ return new APIPromise($do13(client, request, options));
46668
46908
  }
46669
- async function $do12(client, request, options) {
46909
+ async function $do13(client, request, options) {
46670
46910
  const parsed = safeParse(request, (value) => GetSupportArticleRequest$outboundSchema.parse(value), "Input validation failed");
46671
46911
  if (!parsed.ok) {
46672
46912
  return [parsed, { status: "invalid" }];
@@ -46746,12 +46986,12 @@ var init_supportArticlesGetSupportArticle = __esm(() => {
46746
46986
  });
46747
46987
 
46748
46988
  // src/mcp-server/tools/supportArticlesGetSupportArticle.ts
46749
- var args12, tool$supportArticlesGetSupportArticle;
46989
+ var args13, tool$supportArticlesGetSupportArticle;
46750
46990
  var init_supportArticlesGetSupportArticle2 = __esm(() => {
46751
46991
  init_supportArticlesGetSupportArticle();
46752
46992
  init_operations();
46753
46993
  init_tools();
46754
- args12 = {
46994
+ args13 = {
46755
46995
  request: GetSupportArticleRequest$inboundSchema
46756
46996
  };
46757
46997
  tool$supportArticlesGetSupportArticle = {
@@ -46766,9 +47006,9 @@ Available \`expand\` scopes are:
46766
47006
  - support_article.published
46767
47007
  - support_article.notes
46768
47008
  - support_article.support_category`,
46769
- args: args12,
46770
- tool: async (client, args13, ctx) => {
46771
- const [result, apiCall] = await supportArticlesGetSupportArticle(client, args13.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47009
+ args: args13,
47010
+ tool: async (client, args14, ctx) => {
47011
+ const [result, apiCall] = await supportArticlesGetSupportArticle(client, args14.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
46772
47012
  if (!result.ok) {
46773
47013
  return {
46774
47014
  content: [{ type: "text", text: result.error.message }],
@@ -46783,9 +47023,9 @@ Available \`expand\` scopes are:
46783
47023
 
46784
47024
  // src/funcs/supportArticlesListOrSearchSupportArticles.ts
46785
47025
  function supportArticlesListOrSearchSupportArticles(client, request, options) {
46786
- return new APIPromise($do13(client, request, options));
47026
+ return new APIPromise($do14(client, request, options));
46787
47027
  }
46788
- async function $do13(client, request, options) {
47028
+ async function $do14(client, request, options) {
46789
47029
  const parsed = safeParse(request, (value) => ListOrSearchSupportArticlesRequest$outboundSchema.parse(value), "Input validation failed");
46790
47030
  if (!parsed.ok) {
46791
47031
  return [haltIterator(parsed), { status: "invalid" }];
@@ -46895,12 +47135,12 @@ var init_supportArticlesListOrSearchSupportArticles = __esm(() => {
46895
47135
  });
46896
47136
 
46897
47137
  // src/mcp-server/tools/supportArticlesListOrSearchSupportArticles.ts
46898
- var args13, tool$supportArticlesListOrSearchSupportArticles;
47138
+ var args14, tool$supportArticlesListOrSearchSupportArticles;
46899
47139
  var init_supportArticlesListOrSearchSupportArticles2 = __esm(() => {
46900
47140
  init_supportArticlesListOrSearchSupportArticles();
46901
47141
  init_operations();
46902
47142
  init_tools();
46903
- args13 = {
47143
+ args14 = {
46904
47144
  request: ListOrSearchSupportArticlesRequest$inboundSchema
46905
47145
  };
46906
47146
  tool$supportArticlesListOrSearchSupportArticles = {
@@ -46908,9 +47148,9 @@ var init_supportArticlesListOrSearchSupportArticles2 = __esm(() => {
46908
47148
  description: `List or search support articles
46909
47149
 
46910
47150
  List or search support articles for FAQ.`,
46911
- args: args13,
46912
- tool: async (client, args14, ctx) => {
46913
- const [result, apiCall] = await supportArticlesListOrSearchSupportArticles(client, args14.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47151
+ args: args14,
47152
+ tool: async (client, args15, ctx) => {
47153
+ const [result, apiCall] = await supportArticlesListOrSearchSupportArticles(client, args15.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
46914
47154
  if (!result.ok) {
46915
47155
  return {
46916
47156
  content: [{ type: "text", text: result.error.message }],
@@ -46925,9 +47165,9 @@ List or search support articles for FAQ.`,
46925
47165
 
46926
47166
  // src/funcs/systemsListSystems.ts
46927
47167
  function systemsListSystems(client, request, options) {
46928
- return new APIPromise($do14(client, request, options));
47168
+ return new APIPromise($do15(client, request, options));
46929
47169
  }
46930
- async function $do14(client, request, options) {
47170
+ async function $do15(client, request, options) {
46931
47171
  const parsed = safeParse(request, (value) => ListSystemsRequest$outboundSchema.parse(value), "Input validation failed");
46932
47172
  if (!parsed.ok) {
46933
47173
  return [haltIterator(parsed), { status: "invalid" }];
@@ -47038,12 +47278,12 @@ var init_systemsListSystems = __esm(() => {
47038
47278
  });
47039
47279
 
47040
47280
  // src/mcp-server/tools/systemsListSystems.ts
47041
- var args14, tool$systemsListSystems;
47281
+ var args15, tool$systemsListSystems;
47042
47282
  var init_systemsListSystems2 = __esm(() => {
47043
47283
  init_systemsListSystems();
47044
47284
  init_operations();
47045
47285
  init_tools();
47046
- args14 = {
47286
+ args15 = {
47047
47287
  request: ListSystemsRequest$inboundSchema
47048
47288
  };
47049
47289
  tool$systemsListSystems = {
@@ -47055,9 +47295,9 @@ List or search systems.
47055
47295
  Available \`expand\` scopes are:
47056
47296
 
47057
47297
  - system.facilities`,
47058
- args: args14,
47059
- tool: async (client, args15, ctx) => {
47060
- const [result, apiCall] = await systemsListSystems(client, args15.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47298
+ args: args15,
47299
+ tool: async (client, args16, ctx) => {
47300
+ const [result, apiCall] = await systemsListSystems(client, args16.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47061
47301
  if (!result.ok) {
47062
47302
  return {
47063
47303
  content: [{ type: "text", text: result.error.message }],
@@ -47072,9 +47312,9 @@ Available \`expand\` scopes are:
47072
47312
 
47073
47313
  // src/funcs/usersChangePassword.ts
47074
47314
  function usersChangePassword(client, request, options) {
47075
- return new APIPromise($do15(client, request, options));
47315
+ return new APIPromise($do16(client, request, options));
47076
47316
  }
47077
- async function $do15(client, request, options) {
47317
+ async function $do16(client, request, options) {
47078
47318
  const parsed = safeParse(request, (value) => ChangePasswordRequest$outboundSchema.parse(value), "Input validation failed");
47079
47319
  if (!parsed.ok) {
47080
47320
  return [parsed, { status: "invalid" }];
@@ -47150,12 +47390,12 @@ var init_usersChangePassword = __esm(() => {
47150
47390
  });
47151
47391
 
47152
47392
  // src/mcp-server/tools/usersChangePassword.ts
47153
- var args15, tool$usersChangePassword;
47393
+ var args16, tool$usersChangePassword;
47154
47394
  var init_usersChangePassword2 = __esm(() => {
47155
47395
  init_usersChangePassword();
47156
47396
  init_operations();
47157
47397
  init_tools();
47158
- args15 = {
47398
+ args16 = {
47159
47399
  request: ChangePasswordRequest$inboundSchema
47160
47400
  };
47161
47401
  tool$usersChangePassword = {
@@ -47163,9 +47403,9 @@ var init_usersChangePassword2 = __esm(() => {
47163
47403
  description: `Change password
47164
47404
 
47165
47405
  Change the user's password to the new passed as parameter`,
47166
- args: args15,
47167
- tool: async (client, args16, ctx) => {
47168
- const [result, apiCall] = await usersChangePassword(client, args16.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47406
+ args: args16,
47407
+ tool: async (client, args17, ctx) => {
47408
+ const [result, apiCall] = await usersChangePassword(client, args17.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47169
47409
  if (!result.ok) {
47170
47410
  return {
47171
47411
  content: [{ type: "text", text: result.error.message }],
@@ -47180,9 +47420,9 @@ Change the user's password to the new passed as parameter`,
47180
47420
 
47181
47421
  // src/funcs/usersGetCurrentUser.ts
47182
47422
  function usersGetCurrentUser(client, options) {
47183
- return new APIPromise($do16(client, options));
47423
+ return new APIPromise($do17(client, options));
47184
47424
  }
47185
- async function $do16(client, options) {
47425
+ async function $do17(client, options) {
47186
47426
  const path = pathToFunc("/users/me")();
47187
47427
  const headers = new Headers(compactMap({
47188
47428
  Accept: "application/json"
@@ -47267,9 +47507,9 @@ Returns a user object for the user represented by the authorization token`,
47267
47507
 
47268
47508
  // src/funcs/usersGetUserById.ts
47269
47509
  function usersGetUserById(client, request, options) {
47270
- return new APIPromise($do17(client, request, options));
47510
+ return new APIPromise($do18(client, request, options));
47271
47511
  }
47272
- async function $do17(client, request, options) {
47512
+ async function $do18(client, request, options) {
47273
47513
  const parsed = safeParse(request, (value) => GetUserByIdRequest$outboundSchema.parse(value), "Input validation failed");
47274
47514
  if (!parsed.ok) {
47275
47515
  return [parsed, { status: "invalid" }];
@@ -47345,12 +47585,12 @@ var init_usersGetUserById = __esm(() => {
47345
47585
  });
47346
47586
 
47347
47587
  // src/mcp-server/tools/usersGetUserById.ts
47348
- var args16, tool$usersGetUserById;
47588
+ var args17, tool$usersGetUserById;
47349
47589
  var init_usersGetUserById2 = __esm(() => {
47350
47590
  init_usersGetUserById();
47351
47591
  init_operations();
47352
47592
  init_tools();
47353
- args16 = {
47593
+ args17 = {
47354
47594
  request: GetUserByIdRequest$inboundSchema
47355
47595
  };
47356
47596
  tool$usersGetUserById = {
@@ -47358,9 +47598,9 @@ var init_usersGetUserById2 = __esm(() => {
47358
47598
  description: `Get user by id
47359
47599
 
47360
47600
  Returns a user object for the user represented by the identifier in the path.`,
47361
- args: args16,
47362
- tool: async (client, args17, ctx) => {
47363
- const [result, apiCall] = await usersGetUserById(client, args17.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47601
+ args: args17,
47602
+ tool: async (client, args18, ctx) => {
47603
+ const [result, apiCall] = await usersGetUserById(client, args18.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47364
47604
  if (!result.ok) {
47365
47605
  return {
47366
47606
  content: [{ type: "text", text: result.error.message }],
@@ -47375,9 +47615,9 @@ Returns a user object for the user represented by the identifier in the path.`,
47375
47615
 
47376
47616
  // src/funcs/usersMagiclink.ts
47377
47617
  function usersMagiclink(client, request, options) {
47378
- return new APIPromise($do18(client, request, options));
47618
+ return new APIPromise($do19(client, request, options));
47379
47619
  }
47380
- async function $do18(client, request, options) {
47620
+ async function $do19(client, request, options) {
47381
47621
  const parsed = safeParse(request, (value) => MagiclinkRequestBody$outboundSchema.parse(value), "Input validation failed");
47382
47622
  if (!parsed.ok) {
47383
47623
  return [parsed, { status: "invalid" }];
@@ -47447,12 +47687,12 @@ var init_usersMagiclink = __esm(() => {
47447
47687
  });
47448
47688
 
47449
47689
  // src/mcp-server/tools/usersMagiclink.ts
47450
- var args17, tool$usersMagiclink;
47690
+ var args18, tool$usersMagiclink;
47451
47691
  var init_usersMagiclink2 = __esm(() => {
47452
47692
  init_usersMagiclink();
47453
47693
  init_operations();
47454
47694
  init_tools();
47455
- args17 = {
47695
+ args18 = {
47456
47696
  request: MagiclinkRequestBody$inboundSchema
47457
47697
  };
47458
47698
  tool$usersMagiclink = {
@@ -47460,9 +47700,9 @@ var init_usersMagiclink2 = __esm(() => {
47460
47700
  description: `Magic link
47461
47701
 
47462
47702
  It sends an email with a magic link to allow the user to log in.`,
47463
- args: args17,
47464
- tool: async (client, args18, ctx) => {
47465
- const [result, apiCall] = await usersMagiclink(client, args18.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47703
+ args: args18,
47704
+ tool: async (client, args19, ctx) => {
47705
+ const [result, apiCall] = await usersMagiclink(client, args19.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47466
47706
  if (!result.ok) {
47467
47707
  return {
47468
47708
  content: [{ type: "text", text: result.error.message }],
@@ -47477,9 +47717,9 @@ It sends an email with a magic link to allow the user to log in.`,
47477
47717
 
47478
47718
  // src/funcs/usersPassword.ts
47479
47719
  function usersPassword(client, request, options) {
47480
- return new APIPromise($do19(client, request, options));
47720
+ return new APIPromise($do20(client, request, options));
47481
47721
  }
47482
- async function $do19(client, request, options) {
47722
+ async function $do20(client, request, options) {
47483
47723
  const parsed = safeParse(request, (value) => PasswordRequestBody$outboundSchema.parse(value), "Input validation failed");
47484
47724
  if (!parsed.ok) {
47485
47725
  return [parsed, { status: "invalid" }];
@@ -47549,12 +47789,12 @@ var init_usersPassword = __esm(() => {
47549
47789
  });
47550
47790
 
47551
47791
  // src/mcp-server/tools/usersPassword.ts
47552
- var args18, tool$usersPassword;
47792
+ var args19, tool$usersPassword;
47553
47793
  var init_usersPassword2 = __esm(() => {
47554
47794
  init_usersPassword();
47555
47795
  init_operations();
47556
47796
  init_tools();
47557
- args18 = {
47797
+ args19 = {
47558
47798
  request: PasswordRequestBody$inboundSchema
47559
47799
  };
47560
47800
  tool$usersPassword = {
@@ -47563,9 +47803,9 @@ var init_usersPassword2 = __esm(() => {
47563
47803
 
47564
47804
  Resets the a user's password using a password_reset_id that was sent to them via email.
47565
47805
  See /users/passwordresetrequest to initiate a password reset flow.`,
47566
- args: args18,
47567
- tool: async (client, args19, ctx) => {
47568
- const [result, apiCall] = await usersPassword(client, args19.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47806
+ args: args19,
47807
+ tool: async (client, args20, ctx) => {
47808
+ const [result, apiCall] = await usersPassword(client, args20.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47569
47809
  if (!result.ok) {
47570
47810
  return {
47571
47811
  content: [{ type: "text", text: result.error.message }],
@@ -47580,9 +47820,9 @@ See /users/passwordresetrequest to initiate a password reset flow.`,
47580
47820
 
47581
47821
  // src/funcs/usersPasswordResetRequest.ts
47582
47822
  function usersPasswordResetRequest(client, request, options) {
47583
- return new APIPromise($do20(client, request, options));
47823
+ return new APIPromise($do21(client, request, options));
47584
47824
  }
47585
- async function $do20(client, request, options) {
47825
+ async function $do21(client, request, options) {
47586
47826
  const parsed = safeParse(request, (value) => PasswordResetRequestRequestBody$outboundSchema.parse(value), "Input validation failed");
47587
47827
  if (!parsed.ok) {
47588
47828
  return [parsed, { status: "invalid" }];
@@ -47652,12 +47892,12 @@ var init_usersPasswordResetRequest = __esm(() => {
47652
47892
  });
47653
47893
 
47654
47894
  // src/mcp-server/tools/usersPasswordResetRequest.ts
47655
- var args19, tool$usersPasswordResetRequest;
47895
+ var args20, tool$usersPasswordResetRequest;
47656
47896
  var init_usersPasswordResetRequest2 = __esm(() => {
47657
47897
  init_usersPasswordResetRequest();
47658
47898
  init_operations();
47659
47899
  init_tools();
47660
- args19 = {
47900
+ args20 = {
47661
47901
  request: PasswordResetRequestRequestBody$inboundSchema
47662
47902
  };
47663
47903
  tool$usersPasswordResetRequest = {
@@ -47665,9 +47905,9 @@ var init_usersPasswordResetRequest2 = __esm(() => {
47665
47905
  description: `Password reset request
47666
47906
 
47667
47907
  It sends an email with a link for resetting a user's password.`,
47668
- args: args19,
47669
- tool: async (client, args20, ctx) => {
47670
- const [result, apiCall] = await usersPasswordResetRequest(client, args20.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47908
+ args: args20,
47909
+ tool: async (client, args21, ctx) => {
47910
+ const [result, apiCall] = await usersPasswordResetRequest(client, args21.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47671
47911
  if (!result.ok) {
47672
47912
  return {
47673
47913
  content: [{ type: "text", text: result.error.message }],
@@ -47682,9 +47922,9 @@ It sends an email with a link for resetting a user's password.`,
47682
47922
 
47683
47923
  // src/funcs/usersPostAuthenticate.ts
47684
47924
  function usersPostAuthenticate(client, request, options) {
47685
- return new APIPromise($do21(client, request, options));
47925
+ return new APIPromise($do22(client, request, options));
47686
47926
  }
47687
- async function $do21(client, request, options) {
47927
+ async function $do22(client, request, options) {
47688
47928
  const parsed = safeParse(request, (value) => PostAuthenticateRequestBody$outboundSchema.parse(value), "Input validation failed");
47689
47929
  if (!parsed.ok) {
47690
47930
  return [parsed, { status: "invalid" }];
@@ -47750,12 +47990,12 @@ var init_usersPostAuthenticate = __esm(() => {
47750
47990
  });
47751
47991
 
47752
47992
  // src/mcp-server/tools/usersPostAuthenticate.ts
47753
- var args20, tool$usersPostAuthenticate;
47993
+ var args21, tool$usersPostAuthenticate;
47754
47994
  var init_usersPostAuthenticate2 = __esm(() => {
47755
47995
  init_usersPostAuthenticate();
47756
47996
  init_operations();
47757
47997
  init_tools();
47758
- args20 = {
47998
+ args21 = {
47759
47999
  request: PostAuthenticateRequestBody$inboundSchema
47760
48000
  };
47761
48001
  tool$usersPostAuthenticate = {
@@ -47793,9 +48033,9 @@ Requires: \`saml_login\`
47793
48033
  3. Site redirects to your selected \`return_url\`
47794
48034
  4. The \`user_token\` will be appended as a query string parameter to your \`return_url\` - you must parse this token and store it
47795
48035
  5. Fetch the user object from \`/users/me\` using the token`,
47796
- args: args20,
47797
- tool: async (client, args21, ctx) => {
47798
- const [result, apiCall] = await usersPostAuthenticate(client, args21.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48036
+ args: args21,
48037
+ tool: async (client, args22, ctx) => {
48038
+ const [result, apiCall] = await usersPostAuthenticate(client, args22.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47799
48039
  if (!result.ok) {
47800
48040
  return {
47801
48041
  content: [{ type: "text", text: result.error.message }],
@@ -47810,9 +48050,9 @@ Requires: \`saml_login\`
47810
48050
 
47811
48051
  // src/funcs/usersRotateApiKey.ts
47812
48052
  function usersRotateApiKey(client, options) {
47813
- return new APIPromise($do22(client, options));
48053
+ return new APIPromise($do23(client, options));
47814
48054
  }
47815
- async function $do22(client, options) {
48055
+ async function $do23(client, options) {
47816
48056
  const path = pathToFunc("/users/api_key_rotator")();
47817
48057
  const headers = new Headers(compactMap({
47818
48058
  Accept: "application/json"
@@ -47897,9 +48137,9 @@ Allows an API user to rotate their own API key. Note, the key rotation happens i
47897
48137
 
47898
48138
  // src/funcs/vendorsAcceptVendorCredential.ts
47899
48139
  function vendorsAcceptVendorCredential(client, request, options) {
47900
- return new APIPromise($do23(client, request, options));
48140
+ return new APIPromise($do24(client, request, options));
47901
48141
  }
47902
- async function $do23(client, request, options) {
48142
+ async function $do24(client, request, options) {
47903
48143
  const parsed = safeParse(request, (value) => AcceptVendorCredentialRequest$outboundSchema.parse(value), "Input validation failed");
47904
48144
  if (!parsed.ok) {
47905
48145
  return [parsed, { status: "invalid" }];
@@ -47972,12 +48212,12 @@ var init_vendorsAcceptVendorCredential = __esm(() => {
47972
48212
  });
47973
48213
 
47974
48214
  // src/mcp-server/tools/vendorsAcceptVendorCredential.ts
47975
- var args21, tool$vendorsAcceptVendorCredential;
48215
+ var args22, tool$vendorsAcceptVendorCredential;
47976
48216
  var init_vendorsAcceptVendorCredential2 = __esm(() => {
47977
48217
  init_vendorsAcceptVendorCredential();
47978
48218
  init_operations();
47979
48219
  init_tools();
47980
- args21 = {
48220
+ args22 = {
47981
48221
  request: AcceptVendorCredentialRequest$inboundSchema
47982
48222
  };
47983
48223
  tool$vendorsAcceptVendorCredential = {
@@ -47985,9 +48225,9 @@ var init_vendorsAcceptVendorCredential2 = __esm(() => {
47985
48225
  description: `Accept vendor credential
47986
48226
 
47987
48227
  It will accept vendor credential`,
47988
- args: args21,
47989
- tool: async (client, args22, ctx) => {
47990
- const [result, apiCall] = await vendorsAcceptVendorCredential(client, args22.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48228
+ args: args22,
48229
+ tool: async (client, args23, ctx) => {
48230
+ const [result, apiCall] = await vendorsAcceptVendorCredential(client, args23.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47991
48231
  if (!result.ok) {
47992
48232
  return {
47993
48233
  content: [{ type: "text", text: result.error.message }],
@@ -48002,9 +48242,9 @@ It will accept vendor credential`,
48002
48242
 
48003
48243
  // src/funcs/vendorsAddVendorCredentialFile.ts
48004
48244
  function vendorsAddVendorCredentialFile(client, request, options) {
48005
- return new APIPromise($do24(client, request, options));
48245
+ return new APIPromise($do25(client, request, options));
48006
48246
  }
48007
- async function $do24(client, request, options) {
48247
+ async function $do25(client, request, options) {
48008
48248
  const parsed = safeParse(request, (value) => AddVendorCredentialFileRequest$outboundSchema.parse(value), "Input validation failed");
48009
48249
  if (!parsed.ok) {
48010
48250
  return [parsed, { status: "invalid" }];
@@ -48077,12 +48317,12 @@ var init_vendorsAddVendorCredentialFile = __esm(() => {
48077
48317
  });
48078
48318
 
48079
48319
  // src/mcp-server/tools/vendorsAddVendorCredentialFile.ts
48080
- var args22, tool$vendorsAddVendorCredentialFile;
48320
+ var args23, tool$vendorsAddVendorCredentialFile;
48081
48321
  var init_vendorsAddVendorCredentialFile2 = __esm(() => {
48082
48322
  init_vendorsAddVendorCredentialFile();
48083
48323
  init_operations();
48084
48324
  init_tools();
48085
- args22 = {
48325
+ args23 = {
48086
48326
  request: AddVendorCredentialFileRequest$inboundSchema
48087
48327
  };
48088
48328
  tool$vendorsAddVendorCredentialFile = {
@@ -48090,9 +48330,9 @@ var init_vendorsAddVendorCredentialFile2 = __esm(() => {
48090
48330
  description: `Add vendor credential file
48091
48331
 
48092
48332
  It will add a new vendor credential file`,
48093
- args: args22,
48094
- tool: async (client, args23, ctx) => {
48095
- const [result, apiCall] = await vendorsAddVendorCredentialFile(client, args23.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48333
+ args: args23,
48334
+ tool: async (client, args24, ctx) => {
48335
+ const [result, apiCall] = await vendorsAddVendorCredentialFile(client, args24.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48096
48336
  if (!result.ok) {
48097
48337
  return {
48098
48338
  content: [{ type: "text", text: result.error.message }],
@@ -48107,9 +48347,9 @@ It will add a new vendor credential file`,
48107
48347
 
48108
48348
  // src/funcs/vendorsAddVendorManagedByCompany.ts
48109
48349
  function vendorsAddVendorManagedByCompany(client, request, options) {
48110
- return new APIPromise($do25(client, request, options));
48350
+ return new APIPromise($do26(client, request, options));
48111
48351
  }
48112
- async function $do25(client, request, options) {
48352
+ async function $do26(client, request, options) {
48113
48353
  const parsed = safeParse(request, (value) => AddVendorManagedByCompanyRequest$outboundSchema.parse(value), "Input validation failed");
48114
48354
  if (!parsed.ok) {
48115
48355
  return [parsed, { status: "invalid" }];
@@ -48185,12 +48425,12 @@ var init_vendorsAddVendorManagedByCompany = __esm(() => {
48185
48425
  });
48186
48426
 
48187
48427
  // src/mcp-server/tools/vendorsAddVendorManagedByCompany.ts
48188
- var args23, tool$vendorsAddVendorManagedByCompany;
48428
+ var args24, tool$vendorsAddVendorManagedByCompany;
48189
48429
  var init_vendorsAddVendorManagedByCompany2 = __esm(() => {
48190
48430
  init_vendorsAddVendorManagedByCompany();
48191
48431
  init_operations();
48192
48432
  init_tools();
48193
- args23 = {
48433
+ args24 = {
48194
48434
  request: AddVendorManagedByCompanyRequest$inboundSchema
48195
48435
  };
48196
48436
  tool$vendorsAddVendorManagedByCompany = {
@@ -48198,9 +48438,9 @@ var init_vendorsAddVendorManagedByCompany2 = __esm(() => {
48198
48438
  description: `Add vendor managed by company
48199
48439
 
48200
48440
  It will add a vendor managed by company`,
48201
- args: args23,
48202
- tool: async (client, args24, ctx) => {
48203
- const [result, apiCall] = await vendorsAddVendorManagedByCompany(client, args24.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48441
+ args: args24,
48442
+ tool: async (client, args25, ctx) => {
48443
+ const [result, apiCall] = await vendorsAddVendorManagedByCompany(client, args25.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48204
48444
  if (!result.ok) {
48205
48445
  return {
48206
48446
  content: [{ type: "text", text: result.error.message }],
@@ -48215,9 +48455,9 @@ It will add a vendor managed by company`,
48215
48455
 
48216
48456
  // src/funcs/vendorsCalculateSubscriptionPrice.ts
48217
48457
  function vendorsCalculateSubscriptionPrice(client, request, options) {
48218
- return new APIPromise($do26(client, request, options));
48458
+ return new APIPromise($do27(client, request, options));
48219
48459
  }
48220
- async function $do26(client, request, options) {
48460
+ async function $do27(client, request, options) {
48221
48461
  const parsed = safeParse(request, (value) => CalculateSubscriptionPriceRequest$outboundSchema.parse(value), "Input validation failed");
48222
48462
  if (!parsed.ok) {
48223
48463
  return [parsed, { status: "invalid" }];
@@ -48293,12 +48533,12 @@ var init_vendorsCalculateSubscriptionPrice = __esm(() => {
48293
48533
  });
48294
48534
 
48295
48535
  // src/mcp-server/tools/vendorsCalculateSubscriptionPrice.ts
48296
- var args24, tool$vendorsCalculateSubscriptionPrice;
48536
+ var args25, tool$vendorsCalculateSubscriptionPrice;
48297
48537
  var init_vendorsCalculateSubscriptionPrice2 = __esm(() => {
48298
48538
  init_vendorsCalculateSubscriptionPrice();
48299
48539
  init_operations();
48300
48540
  init_tools();
48301
- args24 = {
48541
+ args25 = {
48302
48542
  request: CalculateSubscriptionPriceRequest$inboundSchema
48303
48543
  };
48304
48544
  tool$vendorsCalculateSubscriptionPrice = {
@@ -48306,9 +48546,9 @@ var init_vendorsCalculateSubscriptionPrice2 = __esm(() => {
48306
48546
  description: `Calculate subscription price
48307
48547
 
48308
48548
  Calculate subscription price`,
48309
- args: args24,
48310
- tool: async (client, args25, ctx) => {
48311
- const [result, apiCall] = await vendorsCalculateSubscriptionPrice(client, args25.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48549
+ args: args25,
48550
+ tool: async (client, args26, ctx) => {
48551
+ const [result, apiCall] = await vendorsCalculateSubscriptionPrice(client, args26.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48312
48552
  if (!result.ok) {
48313
48553
  return {
48314
48554
  content: [{ type: "text", text: result.error.message }],
@@ -48323,9 +48563,9 @@ Calculate subscription price`,
48323
48563
 
48324
48564
  // src/funcs/vendorScansVendorScanOut.ts
48325
48565
  function vendorScansVendorScanOut(client, request, options) {
48326
- return new APIPromise($do27(client, request, options));
48566
+ return new APIPromise($do28(client, request, options));
48327
48567
  }
48328
- async function $do27(client, request, options) {
48568
+ async function $do28(client, request, options) {
48329
48569
  const parsed = safeParse(request, (value) => VendorScanOutRequest$outboundSchema.parse(value), "Input validation failed");
48330
48570
  if (!parsed.ok) {
48331
48571
  return [parsed, { status: "invalid" }];
@@ -48400,12 +48640,12 @@ var init_vendorScansVendorScanOut = __esm(() => {
48400
48640
  });
48401
48641
 
48402
48642
  // src/mcp-server/tools/vendorScansVendorScanOut.ts
48403
- var args25, tool$vendorScansVendorScanOut;
48643
+ var args26, tool$vendorScansVendorScanOut;
48404
48644
  var init_vendorScansVendorScanOut2 = __esm(() => {
48405
48645
  init_vendorScansVendorScanOut();
48406
48646
  init_operations();
48407
48647
  init_tools();
48408
- args25 = {
48648
+ args26 = {
48409
48649
  request: VendorScanOutRequest$inboundSchema
48410
48650
  };
48411
48651
  tool$vendorScansVendorScanOut = {
@@ -48413,9 +48653,9 @@ var init_vendorScansVendorScanOut2 = __esm(() => {
48413
48653
  description: `Vendor scan out
48414
48654
 
48415
48655
  It scans out vendor from facility`,
48416
- args: args25,
48417
- tool: async (client, args26, ctx) => {
48418
- const [result, apiCall] = await vendorScansVendorScanOut(client, args26.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48656
+ args: args26,
48657
+ tool: async (client, args27, ctx) => {
48658
+ const [result, apiCall] = await vendorScansVendorScanOut(client, args27.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48419
48659
  if (!result.ok) {
48420
48660
  return {
48421
48661
  content: [{ type: "text", text: result.error.message }],
@@ -48430,9 +48670,9 @@ It scans out vendor from facility`,
48430
48670
 
48431
48671
  // src/funcs/vendorsChangeSubscription.ts
48432
48672
  function vendorsChangeSubscription(client, request, options) {
48433
- return new APIPromise($do28(client, request, options));
48673
+ return new APIPromise($do29(client, request, options));
48434
48674
  }
48435
- async function $do28(client, request, options) {
48675
+ async function $do29(client, request, options) {
48436
48676
  const parsed = safeParse(request, (value) => ChangeSubscriptionRequest$outboundSchema.parse(value), "Input validation failed");
48437
48677
  if (!parsed.ok) {
48438
48678
  return [parsed, { status: "invalid" }];
@@ -48508,12 +48748,12 @@ var init_vendorsChangeSubscription = __esm(() => {
48508
48748
  });
48509
48749
 
48510
48750
  // src/mcp-server/tools/vendorsChangeSubscription.ts
48511
- var args26, tool$vendorsChangeSubscription;
48751
+ var args27, tool$vendorsChangeSubscription;
48512
48752
  var init_vendorsChangeSubscription2 = __esm(() => {
48513
48753
  init_vendorsChangeSubscription();
48514
48754
  init_operations();
48515
48755
  init_tools();
48516
- args26 = {
48756
+ args27 = {
48517
48757
  request: ChangeSubscriptionRequest$inboundSchema
48518
48758
  };
48519
48759
  tool$vendorsChangeSubscription = {
@@ -48521,9 +48761,9 @@ var init_vendorsChangeSubscription2 = __esm(() => {
48521
48761
  description: `Change subscription
48522
48762
 
48523
48763
  Calculate subscription price`,
48524
- args: args26,
48525
- tool: async (client, args27, ctx) => {
48526
- const [result, apiCall] = await vendorsChangeSubscription(client, args27.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48764
+ args: args27,
48765
+ tool: async (client, args28, ctx) => {
48766
+ const [result, apiCall] = await vendorsChangeSubscription(client, args28.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48527
48767
  if (!result.ok) {
48528
48768
  return {
48529
48769
  content: [{ type: "text", text: result.error.message }],
@@ -48538,9 +48778,9 @@ Calculate subscription price`,
48538
48778
 
48539
48779
  // src/funcs/vendorsCheckDownloadCode.ts
48540
48780
  function vendorsCheckDownloadCode(client, request, options) {
48541
- return new APIPromise($do29(client, request, options));
48781
+ return new APIPromise($do30(client, request, options));
48542
48782
  }
48543
- async function $do29(client, request, options) {
48783
+ async function $do30(client, request, options) {
48544
48784
  const parsed = safeParse(request, (value) => CheckDownloadCodeRequest$outboundSchema.parse(value), "Input validation failed");
48545
48785
  if (!parsed.ok) {
48546
48786
  return [parsed, { status: "invalid" }];
@@ -48616,12 +48856,12 @@ var init_vendorsCheckDownloadCode = __esm(() => {
48616
48856
  });
48617
48857
 
48618
48858
  // src/mcp-server/tools/vendorsCheckDownloadCode.ts
48619
- var args27, tool$vendorsCheckDownloadCode;
48859
+ var args28, tool$vendorsCheckDownloadCode;
48620
48860
  var init_vendorsCheckDownloadCode2 = __esm(() => {
48621
48861
  init_vendorsCheckDownloadCode();
48622
48862
  init_operations();
48623
48863
  init_tools();
48624
- args27 = {
48864
+ args28 = {
48625
48865
  request: CheckDownloadCodeRequest$inboundSchema
48626
48866
  };
48627
48867
  tool$vendorsCheckDownloadCode = {
@@ -48629,9 +48869,9 @@ var init_vendorsCheckDownloadCode2 = __esm(() => {
48629
48869
  description: `Check download code for vendor credential
48630
48870
 
48631
48871
  It will check download code for vendor credential`,
48632
- args: args27,
48633
- tool: async (client, args28, ctx) => {
48634
- const [result, apiCall] = await vendorsCheckDownloadCode(client, args28.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48872
+ args: args28,
48873
+ tool: async (client, args29, ctx) => {
48874
+ const [result, apiCall] = await vendorsCheckDownloadCode(client, args29.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48635
48875
  if (!result.ok) {
48636
48876
  return {
48637
48877
  content: [{ type: "text", text: result.error.message }],
@@ -48646,9 +48886,9 @@ It will check download code for vendor credential`,
48646
48886
 
48647
48887
  // src/funcs/vendorsCreateNewVendorCredentialVersion.ts
48648
48888
  function vendorsCreateNewVendorCredentialVersion(client, request, options) {
48649
- return new APIPromise($do30(client, request, options));
48889
+ return new APIPromise($do31(client, request, options));
48650
48890
  }
48651
- async function $do30(client, request, options) {
48891
+ async function $do31(client, request, options) {
48652
48892
  const parsed = safeParse(request, (value) => CreateNewVendorCredentialVersionRequestBody$outboundSchema.parse(value), "Input validation failed");
48653
48893
  if (!parsed.ok) {
48654
48894
  return [parsed, { status: "invalid" }];
@@ -48718,12 +48958,12 @@ var init_vendorsCreateNewVendorCredentialVersion = __esm(() => {
48718
48958
  });
48719
48959
 
48720
48960
  // src/mcp-server/tools/vendorsCreateNewVendorCredentialVersion.ts
48721
- var args28, tool$vendorsCreateNewVendorCredentialVersion;
48961
+ var args29, tool$vendorsCreateNewVendorCredentialVersion;
48722
48962
  var init_vendorsCreateNewVendorCredentialVersion2 = __esm(() => {
48723
48963
  init_vendorsCreateNewVendorCredentialVersion();
48724
48964
  init_operations();
48725
48965
  init_tools();
48726
- args28 = {
48966
+ args29 = {
48727
48967
  request: CreateNewVendorCredentialVersionRequestBody$inboundSchema
48728
48968
  };
48729
48969
  tool$vendorsCreateNewVendorCredentialVersion = {
@@ -48731,9 +48971,9 @@ var init_vendorsCreateNewVendorCredentialVersion2 = __esm(() => {
48731
48971
  description: `Create new vendor credential version
48732
48972
 
48733
48973
  It will submit vendor credential`,
48734
- args: args28,
48735
- tool: async (client, args29, ctx) => {
48736
- const [result, apiCall] = await vendorsCreateNewVendorCredentialVersion(client, args29.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48974
+ args: args29,
48975
+ tool: async (client, args30, ctx) => {
48976
+ const [result, apiCall] = await vendorsCreateNewVendorCredentialVersion(client, args30.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48737
48977
  if (!result.ok) {
48738
48978
  return {
48739
48979
  content: [{ type: "text", text: result.error.message }],
@@ -48748,9 +48988,9 @@ It will submit vendor credential`,
48748
48988
 
48749
48989
  // src/funcs/vendorsCreateOrUpdateBcr.ts
48750
48990
  function vendorsCreateOrUpdateBcr(client, request, options) {
48751
- return new APIPromise($do31(client, request, options));
48991
+ return new APIPromise($do32(client, request, options));
48752
48992
  }
48753
- async function $do31(client, request, options) {
48993
+ async function $do32(client, request, options) {
48754
48994
  const parsed = safeParse(request, (value) => CreateOrUpdateBcrRequest$outboundSchema.parse(value), "Input validation failed");
48755
48995
  if (!parsed.ok) {
48756
48996
  return [parsed, { status: "invalid" }];
@@ -48824,12 +49064,12 @@ var init_vendorsCreateOrUpdateBcr = __esm(() => {
48824
49064
  });
48825
49065
 
48826
49066
  // src/mcp-server/tools/vendorsCreateOrUpdateBcr.ts
48827
- var args29, tool$vendorsCreateOrUpdateBcr;
49067
+ var args30, tool$vendorsCreateOrUpdateBcr;
48828
49068
  var init_vendorsCreateOrUpdateBcr2 = __esm(() => {
48829
49069
  init_vendorsCreateOrUpdateBcr();
48830
49070
  init_operations();
48831
49071
  init_tools();
48832
- args29 = {
49072
+ args30 = {
48833
49073
  request: CreateOrUpdateBcrRequest$inboundSchema
48834
49074
  };
48835
49075
  tool$vendorsCreateOrUpdateBcr = {
@@ -48837,9 +49077,9 @@ var init_vendorsCreateOrUpdateBcr2 = __esm(() => {
48837
49077
  description: `Create or update BackgroundCheckResults
48838
49078
 
48839
49079
  It will create or update BackgroundCheckResults`,
48840
- args: args29,
48841
- tool: async (client, args30, ctx) => {
48842
- const [result, apiCall] = await vendorsCreateOrUpdateBcr(client, args30.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
49080
+ args: args30,
49081
+ tool: async (client, args31, ctx) => {
49082
+ const [result, apiCall] = await vendorsCreateOrUpdateBcr(client, args31.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48843
49083
  if (!result.ok) {
48844
49084
  return {
48845
49085
  content: [{ type: "text", text: result.error.message }],
@@ -48854,9 +49094,9 @@ It will create or update BackgroundCheckResults`,
48854
49094
 
48855
49095
  // src/funcs/vendorsCreateVendorCompany.ts
48856
49096
  function vendorsCreateVendorCompany(client, request, options) {
48857
- return new APIPromise($do32(client, request, options));
49097
+ return new APIPromise($do33(client, request, options));
48858
49098
  }
48859
- async function $do32(client, request, options) {
49099
+ async function $do33(client, request, options) {
48860
49100
  const parsed = safeParse(request, (value) => CreateVendorCompanyRequest$outboundSchema.parse(value), "Input validation failed");
48861
49101
  if (!parsed.ok) {
48862
49102
  return [parsed, { status: "invalid" }];
@@ -48932,12 +49172,12 @@ var init_vendorsCreateVendorCompany = __esm(() => {
48932
49172
  });
48933
49173
 
48934
49174
  // src/mcp-server/tools/vendorsCreateVendorCompany.ts
48935
- var args30, tool$vendorsCreateVendorCompany;
49175
+ var args31, tool$vendorsCreateVendorCompany;
48936
49176
  var init_vendorsCreateVendorCompany2 = __esm(() => {
48937
49177
  init_vendorsCreateVendorCompany();
48938
49178
  init_operations();
48939
49179
  init_tools();
48940
- args30 = {
49180
+ args31 = {
48941
49181
  request: CreateVendorCompanyRequest$inboundSchema
48942
49182
  };
48943
49183
  tool$vendorsCreateVendorCompany = {
@@ -48945,9 +49185,9 @@ var init_vendorsCreateVendorCompany2 = __esm(() => {
48945
49185
  description: `Create vendor company
48946
49186
 
48947
49187
  Create vendor company`,
48948
- args: args30,
48949
- tool: async (client, args31, ctx) => {
48950
- const [result, apiCall] = await vendorsCreateVendorCompany(client, args31.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
49188
+ args: args31,
49189
+ tool: async (client, args32, ctx) => {
49190
+ const [result, apiCall] = await vendorsCreateVendorCompany(client, args32.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48951
49191
  if (!result.ok) {
48952
49192
  return {
48953
49193
  content: [{ type: "text", text: result.error.message }],
@@ -48962,9 +49202,9 @@ Create vendor company`,
48962
49202
 
48963
49203
  // src/funcs/vendorsCreateVendorRegistration.ts
48964
49204
  function vendorsCreateVendorRegistration(client, request, options) {
48965
- return new APIPromise($do33(client, request, options));
49205
+ return new APIPromise($do34(client, request, options));
48966
49206
  }
48967
- async function $do33(client, request, options) {
49207
+ async function $do34(client, request, options) {
48968
49208
  const parsed = safeParse(request, (value) => CreateVendorRegistrationRequestBody$outboundSchema.parse(value), "Input validation failed");
48969
49209
  if (!parsed.ok) {
48970
49210
  return [parsed, { status: "invalid" }];
@@ -49031,12 +49271,12 @@ var init_vendorsCreateVendorRegistration = __esm(() => {
49031
49271
  });
49032
49272
 
49033
49273
  // src/mcp-server/tools/vendorsCreateVendorRegistration.ts
49034
- var args31, tool$vendorsCreateVendorRegistration;
49274
+ var args32, tool$vendorsCreateVendorRegistration;
49035
49275
  var init_vendorsCreateVendorRegistration2 = __esm(() => {
49036
49276
  init_vendorsCreateVendorRegistration();
49037
49277
  init_operations();
49038
49278
  init_tools();
49039
- args31 = {
49279
+ args32 = {
49040
49280
  request: CreateVendorRegistrationRequestBody$inboundSchema
49041
49281
  };
49042
49282
  tool$vendorsCreateVendorRegistration = {
@@ -49044,9 +49284,9 @@ var init_vendorsCreateVendorRegistration2 = __esm(() => {
49044
49284
  description: `Create vendor registration
49045
49285
 
49046
49286
  Create an initial vendor registration. Once successful, the vendor will be able to continue to filling out the rest of their onboarding profile.`,
49047
- args: args31,
49048
- tool: async (client, args32, ctx) => {
49049
- const [result, apiCall] = await vendorsCreateVendorRegistration(client, args32.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
49287
+ args: args32,
49288
+ tool: async (client, args33, ctx) => {
49289
+ const [result, apiCall] = await vendorsCreateVendorRegistration(client, args33.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
49050
49290
  if (!result.ok) {
49051
49291
  return {
49052
49292
  content: [{ type: "text", text: result.error.message }],
@@ -49061,9 +49301,9 @@ Create an initial vendor registration. Once successful, the vendor will be able
49061
49301
 
49062
49302
  // src/funcs/vendorsDeclineVendorCredential.ts
49063
49303
  function vendorsDeclineVendorCredential(client, request, options) {
49064
- return new APIPromise($do34(client, request, options));
49304
+ return new APIPromise($do35(client, request, options));
49065
49305
  }
49066
- async function $do34(client, request, options) {
49306
+ async function $do35(client, request, options) {
49067
49307
  const parsed = safeParse(request, (value) => DeclineVendorCredentialRequest$outboundSchema.parse(value), "Input validation failed");
49068
49308
  if (!parsed.ok) {
49069
49309
  return [parsed, { status: "invalid" }];
@@ -49136,12 +49376,12 @@ var init_vendorsDeclineVendorCredential = __esm(() => {
49136
49376
  });
49137
49377
 
49138
49378
  // src/mcp-server/tools/vendorsDeclineVendorCredential.ts
49139
- var args32, tool$vendorsDeclineVendorCredential;
49379
+ var args33, tool$vendorsDeclineVendorCredential;
49140
49380
  var init_vendorsDeclineVendorCredential2 = __esm(() => {
49141
49381
  init_vendorsDeclineVendorCredential();
49142
49382
  init_operations();
49143
49383
  init_tools();
49144
- args32 = {
49384
+ args33 = {
49145
49385
  request: DeclineVendorCredentialRequest$inboundSchema
49146
49386
  };
49147
49387
  tool$vendorsDeclineVendorCredential = {
@@ -49149,9 +49389,9 @@ var init_vendorsDeclineVendorCredential2 = __esm(() => {
49149
49389
  description: `Decline vendor credential
49150
49390
 
49151
49391
  It will decline vendor credential`,
49152
- args: args32,
49153
- tool: async (client, args33, ctx) => {
49154
- const [result, apiCall] = await vendorsDeclineVendorCredential(client, args33.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
49392
+ args: args33,
49393
+ tool: async (client, args34, ctx) => {
49394
+ const [result, apiCall] = await vendorsDeclineVendorCredential(client, args34.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
49155
49395
  if (!result.ok) {
49156
49396
  return {
49157
49397
  content: [{ type: "text", text: result.error.message }],
@@ -49166,9 +49406,9 @@ It will decline vendor credential`,
49166
49406
 
49167
49407
  // src/funcs/vendorsDeleteVendorCredentialFile.ts
49168
49408
  function vendorsDeleteVendorCredentialFile(client, request, options) {
49169
- return new APIPromise($do35(client, request, options));
49409
+ return new APIPromise($do36(client, request, options));
49170
49410
  }
49171
- async function $do35(client, request, options) {
49411
+ async function $do36(client, request, options) {
49172
49412
  const parsed = safeParse(request, (value) => DeleteVendorCredentialFileRequest$outboundSchema.parse(value), "Input validation failed");
49173
49413
  if (!parsed.ok) {
49174
49414
  return [parsed, { status: "invalid" }];
@@ -49245,12 +49485,12 @@ var init_vendorsDeleteVendorCredentialFile = __esm(() => {
49245
49485
  });
49246
49486
 
49247
49487
  // src/mcp-server/tools/vendorsDeleteVendorCredentialFile.ts
49248
- var args33, tool$vendorsDeleteVendorCredentialFile;
49488
+ var args34, tool$vendorsDeleteVendorCredentialFile;
49249
49489
  var init_vendorsDeleteVendorCredentialFile2 = __esm(() => {
49250
49490
  init_vendorsDeleteVendorCredentialFile();
49251
49491
  init_operations();
49252
49492
  init_tools();
49253
- args33 = {
49493
+ args34 = {
49254
49494
  request: DeleteVendorCredentialFileRequest$inboundSchema
49255
49495
  };
49256
49496
  tool$vendorsDeleteVendorCredentialFile = {
@@ -49258,9 +49498,9 @@ var init_vendorsDeleteVendorCredentialFile2 = __esm(() => {
49258
49498
  description: `Delete vendor credential file
49259
49499
 
49260
49500
  It will delete the vendor credential file`,
49261
- args: args33,
49262
- tool: async (client, args34, ctx) => {
49263
- const [result, apiCall] = await vendorsDeleteVendorCredentialFile(client, args34.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
49501
+ args: args34,
49502
+ tool: async (client, args35, ctx) => {
49503
+ const [result, apiCall] = await vendorsDeleteVendorCredentialFile(client, args35.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
49264
49504
  if (!result.ok) {
49265
49505
  return {
49266
49506
  content: [{ type: "text", text: result.error.message }],
@@ -49275,9 +49515,9 @@ It will delete the vendor credential file`,
49275
49515
 
49276
49516
  // src/funcs/vendorsDeleteVendorManagedByCompany.ts
49277
49517
  function vendorsDeleteVendorManagedByCompany(client, request, options) {
49278
- return new APIPromise($do36(client, request, options));
49518
+ return new APIPromise($do37(client, request, options));
49279
49519
  }
49280
- async function $do36(client, request, options) {
49520
+ async function $do37(client, request, options) {
49281
49521
  const parsed = safeParse(request, (value) => DeleteVendorManagedByCompanyRequest$outboundSchema.parse(value), "Input validation failed");
49282
49522
  if (!parsed.ok) {
49283
49523
  return [parsed, { status: "invalid" }];
@@ -49353,12 +49593,12 @@ var init_vendorsDeleteVendorManagedByCompany = __esm(() => {
49353
49593
  });
49354
49594
 
49355
49595
  // src/mcp-server/tools/vendorsDeleteVendorManagedByCompany.ts
49356
- var args34, tool$vendorsDeleteVendorManagedByCompany;
49596
+ var args35, tool$vendorsDeleteVendorManagedByCompany;
49357
49597
  var init_vendorsDeleteVendorManagedByCompany2 = __esm(() => {
49358
49598
  init_vendorsDeleteVendorManagedByCompany();
49359
49599
  init_operations();
49360
49600
  init_tools();
49361
- args34 = {
49601
+ args35 = {
49362
49602
  request: DeleteVendorManagedByCompanyRequest$inboundSchema
49363
49603
  };
49364
49604
  tool$vendorsDeleteVendorManagedByCompany = {
@@ -49366,9 +49606,9 @@ var init_vendorsDeleteVendorManagedByCompany2 = __esm(() => {
49366
49606
  description: `Delete vendor managed by company
49367
49607
 
49368
49608
  It will delete the vendor managed by company`,
49369
- args: args34,
49370
- tool: async (client, args35, ctx) => {
49371
- const [result, apiCall] = await vendorsDeleteVendorManagedByCompany(client, args35.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
49609
+ args: args35,
49610
+ tool: async (client, args36, ctx) => {
49611
+ const [result, apiCall] = await vendorsDeleteVendorManagedByCompany(client, args36.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
49372
49612
  if (!result.ok) {
49373
49613
  return {
49374
49614
  content: [{ type: "text", text: result.error.message }],
@@ -49383,9 +49623,9 @@ It will delete the vendor managed by company`,
49383
49623
 
49384
49624
  // src/funcs/vendorsExpediteTimeRemaining.ts
49385
49625
  function vendorsExpediteTimeRemaining(client, request, options) {
49386
- return new APIPromise($do37(client, request, options));
49626
+ return new APIPromise($do38(client, request, options));
49387
49627
  }
49388
- async function $do37(client, request, options) {
49628
+ async function $do38(client, request, options) {
49389
49629
  const parsed = safeParse(request, (value) => ExpediteTimeRemainingRequest$outboundSchema.parse(value), "Input validation failed");
49390
49630
  if (!parsed.ok) {
49391
49631
  return [parsed, { status: "invalid" }];
@@ -49460,12 +49700,12 @@ var init_vendorsExpediteTimeRemaining = __esm(() => {
49460
49700
  });
49461
49701
 
49462
49702
  // src/mcp-server/tools/vendorsExpediteTimeRemaining.ts
49463
- var args35, tool$vendorsExpediteTimeRemaining;
49703
+ var args36, tool$vendorsExpediteTimeRemaining;
49464
49704
  var init_vendorsExpediteTimeRemaining2 = __esm(() => {
49465
49705
  init_vendorsExpediteTimeRemaining();
49466
49706
  init_operations();
49467
49707
  init_tools();
49468
- args35 = {
49708
+ args36 = {
49469
49709
  request: ExpediteTimeRemainingRequest$inboundSchema
49470
49710
  };
49471
49711
  tool$vendorsExpediteTimeRemaining = {
@@ -49473,9 +49713,9 @@ var init_vendorsExpediteTimeRemaining2 = __esm(() => {
49473
49713
  description: `Expedite time remaining
49474
49714
 
49475
49715
  For vendors who have a paid 24-hour expedite credentials invoice, get the remaining time (in seconds) for which submitted credentials will be expedited.`,
49476
- args: args35,
49477
- tool: async (client, args36, ctx) => {
49478
- const [result, apiCall] = await vendorsExpediteTimeRemaining(client, args36.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
49716
+ args: args36,
49717
+ tool: async (client, args37, ctx) => {
49718
+ const [result, apiCall] = await vendorsExpediteTimeRemaining(client, args37.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
49479
49719
  if (!result.ok) {
49480
49720
  return {
49481
49721
  content: [{ type: "text", text: result.error.message }],
@@ -49490,9 +49730,9 @@ For vendors who have a paid 24-hour expedite credentials invoice, get the remain
49490
49730
 
49491
49731
  // src/funcs/vendorsGetSubscription.ts
49492
49732
  function vendorsGetSubscription(client, request, options) {
49493
- return new APIPromise($do38(client, request, options));
49733
+ return new APIPromise($do39(client, request, options));
49494
49734
  }
49495
- async function $do38(client, request, options) {
49735
+ async function $do39(client, request, options) {
49496
49736
  const parsed = safeParse(request, (value) => GetSubscriptionRequest$outboundSchema.parse(value), "Input validation failed");
49497
49737
  if (!parsed.ok) {
49498
49738
  return [parsed, { status: "invalid" }];
@@ -49571,12 +49811,12 @@ var init_vendorsGetSubscription = __esm(() => {
49571
49811
  });
49572
49812
 
49573
49813
  // src/mcp-server/tools/vendorsGetSubscription.ts
49574
- var args36, tool$vendorsGetSubscription;
49814
+ var args37, tool$vendorsGetSubscription;
49575
49815
  var init_vendorsGetSubscription2 = __esm(() => {
49576
49816
  init_vendorsGetSubscription();
49577
49817
  init_operations();
49578
49818
  init_tools();
49579
- args36 = {
49819
+ args37 = {
49580
49820
  request: GetSubscriptionRequest$inboundSchema
49581
49821
  };
49582
49822
  tool$vendorsGetSubscription = {
@@ -49588,9 +49828,9 @@ Get vendor subscription
49588
49828
  Available \`expand\` scopes are:
49589
49829
 
49590
49830
  subscription.expedited_offer`,
49591
- args: args36,
49592
- tool: async (client, args37, ctx) => {
49593
- const [result, apiCall] = await vendorsGetSubscription(client, args37.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
49831
+ args: args37,
49832
+ tool: async (client, args38, ctx) => {
49833
+ const [result, apiCall] = await vendorsGetSubscription(client, args38.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
49594
49834
  if (!result.ok) {
49595
49835
  return {
49596
49836
  content: [{ type: "text", text: result.error.message }],
@@ -49605,9 +49845,9 @@ subscription.expedited_offer`,
49605
49845
 
49606
49846
  // src/funcs/vendorsGetVendorCredentialDetails.ts
49607
49847
  function vendorsGetVendorCredentialDetails(client, request, options) {
49608
- return new APIPromise($do39(client, request, options));
49848
+ return new APIPromise($do40(client, request, options));
49609
49849
  }
49610
- async function $do39(client, request, options) {
49850
+ async function $do40(client, request, options) {
49611
49851
  const parsed = safeParse(request, (value) => GetVendorCredentialDetailsRequest$outboundSchema.parse(value), "Input validation failed");
49612
49852
  if (!parsed.ok) {
49613
49853
  return [parsed, { status: "invalid" }];
@@ -49690,12 +49930,12 @@ var init_vendorsGetVendorCredentialDetails = __esm(() => {
49690
49930
  });
49691
49931
 
49692
49932
  // src/mcp-server/tools/vendorsGetVendorCredentialDetails.ts
49693
- var args37, tool$vendorsGetVendorCredentialDetails;
49933
+ var args38, tool$vendorsGetVendorCredentialDetails;
49694
49934
  var init_vendorsGetVendorCredentialDetails2 = __esm(() => {
49695
49935
  init_vendorsGetVendorCredentialDetails();
49696
49936
  init_operations();
49697
49937
  init_tools();
49698
- args37 = {
49938
+ args38 = {
49699
49939
  request: GetVendorCredentialDetailsRequest$inboundSchema
49700
49940
  };
49701
49941
  tool$vendorsGetVendorCredentialDetails = {
@@ -49721,9 +49961,9 @@ Available \`expand\` scopes are:
49721
49961
  - vendor_credential.credential_variants
49722
49962
  - vendor_credential.targets_chop
49723
49963
  - vendor_credential.total_pending_credentials`,
49724
- args: args37,
49725
- tool: async (client, args38, ctx) => {
49726
- const [result, apiCall] = await vendorsGetVendorCredentialDetails(client, args38.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
49964
+ args: args38,
49965
+ tool: async (client, args39, ctx) => {
49966
+ const [result, apiCall] = await vendorsGetVendorCredentialDetails(client, args39.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
49727
49967
  if (!result.ok) {
49728
49968
  return {
49729
49969
  content: [{ type: "text", text: result.error.message }],
@@ -49738,9 +49978,9 @@ Available \`expand\` scopes are:
49738
49978
 
49739
49979
  // src/funcs/vendorsGetVendorCredentialFile.ts
49740
49980
  function vendorsGetVendorCredentialFile(client, request, options) {
49741
- return new APIPromise($do40(client, request, options));
49981
+ return new APIPromise($do41(client, request, options));
49742
49982
  }
49743
- async function $do40(client, request, options) {
49983
+ async function $do41(client, request, options) {
49744
49984
  const parsed = safeParse(request, (value) => GetVendorCredentialFileRequest$outboundSchema.parse(value), "Input validation failed");
49745
49985
  if (!parsed.ok) {
49746
49986
  return [parsed, { status: "invalid" }];
@@ -49821,12 +50061,12 @@ var init_vendorsGetVendorCredentialFile = __esm(() => {
49821
50061
  });
49822
50062
 
49823
50063
  // src/mcp-server/tools/vendorsGetVendorCredentialFile.ts
49824
- var args38, tool$vendorsGetVendorCredentialFile;
50064
+ var args39, tool$vendorsGetVendorCredentialFile;
49825
50065
  var init_vendorsGetVendorCredentialFile2 = __esm(() => {
49826
50066
  init_vendorsGetVendorCredentialFile();
49827
50067
  init_operations();
49828
50068
  init_tools();
49829
- args38 = {
50069
+ args39 = {
49830
50070
  request: GetVendorCredentialFileRequest$inboundSchema
49831
50071
  };
49832
50072
  tool$vendorsGetVendorCredentialFile = {
@@ -49839,9 +50079,9 @@ Available \`expand\` scopes are:
49839
50079
 
49840
50080
  - vendor_credential_file.vendor_credential
49841
50081
  - vendor_credential_file.credential_document`,
49842
- args: args38,
49843
- tool: async (client, args39, ctx) => {
49844
- const [result, apiCall] = await vendorsGetVendorCredentialFile(client, args39.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
50082
+ args: args39,
50083
+ tool: async (client, args40, ctx) => {
50084
+ const [result, apiCall] = await vendorsGetVendorCredentialFile(client, args40.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
49845
50085
  if (!result.ok) {
49846
50086
  return {
49847
50087
  content: [{ type: "text", text: result.error.message }],
@@ -49856,9 +50096,9 @@ Available \`expand\` scopes are:
49856
50096
 
49857
50097
  // src/funcs/vendorsGetVendorInvoiceDetails.ts
49858
50098
  function vendorsGetVendorInvoiceDetails(client, request, options) {
49859
- return new APIPromise($do41(client, request, options));
50099
+ return new APIPromise($do42(client, request, options));
49860
50100
  }
49861
- async function $do41(client, request, options) {
50101
+ async function $do42(client, request, options) {
49862
50102
  const parsed = safeParse(request, (value) => GetVendorInvoiceDetailsRequest$outboundSchema.parse(value), "Input validation failed");
49863
50103
  if (!parsed.ok) {
49864
50104
  return [parsed, { status: "invalid" }];
@@ -49938,12 +50178,12 @@ var init_vendorsGetVendorInvoiceDetails = __esm(() => {
49938
50178
  });
49939
50179
 
49940
50180
  // src/mcp-server/tools/vendorsGetVendorInvoiceDetails.ts
49941
- var args39, tool$vendorsGetVendorInvoiceDetails;
50181
+ var args40, tool$vendorsGetVendorInvoiceDetails;
49942
50182
  var init_vendorsGetVendorInvoiceDetails2 = __esm(() => {
49943
50183
  init_vendorsGetVendorInvoiceDetails();
49944
50184
  init_operations();
49945
50185
  init_tools();
49946
- args39 = {
50186
+ args40 = {
49947
50187
  request: GetVendorInvoiceDetailsRequest$inboundSchema
49948
50188
  };
49949
50189
  tool$vendorsGetVendorInvoiceDetails = {
@@ -49956,9 +50196,9 @@ Available \`expand\` scopes are:
49956
50196
 
49957
50197
  invoice.line_items
49958
50198
  invoice.invoice_transactions`,
49959
- args: args39,
49960
- tool: async (client, args40, ctx) => {
49961
- const [result, apiCall] = await vendorsGetVendorInvoiceDetails(client, args40.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
50199
+ args: args40,
50200
+ tool: async (client, args41, ctx) => {
50201
+ const [result, apiCall] = await vendorsGetVendorInvoiceDetails(client, args41.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
49962
50202
  if (!result.ok) {
49963
50203
  return {
49964
50204
  content: [{ type: "text", text: result.error.message }],
@@ -49973,9 +50213,9 @@ invoice.invoice_transactions`,
49973
50213
 
49974
50214
  // src/funcs/vendorsGetVendorInvoiceReceipt.ts
49975
50215
  function vendorsGetVendorInvoiceReceipt(client, request, options) {
49976
- return new APIPromise($do42(client, request, options));
50216
+ return new APIPromise($do43(client, request, options));
49977
50217
  }
49978
- async function $do42(client, request, options) {
50218
+ async function $do43(client, request, options) {
49979
50219
  const parsed = safeParse(request, (value) => GetVendorInvoiceReceiptRequest$outboundSchema.parse(value), "Input validation failed");
49980
50220
  if (!parsed.ok) {
49981
50221
  return [parsed, { status: "invalid" }];
@@ -49990,7 +50230,7 @@ async function $do42(client, request, options) {
49990
50230
  };
49991
50231
  const path = pathToFunc("/vendors/invoices/{id}/receipt")(pathParams);
49992
50232
  const headers = new Headers(compactMap({
49993
- Accept: "application/pdf"
50233
+ Accept: "application/json"
49994
50234
  }));
49995
50235
  const securityInput = await extractSecurity(client._options.security);
49996
50236
  const requestSecurity = resolveGlobalSecurity(securityInput);
@@ -50031,16 +50271,13 @@ async function $do42(client, request, options) {
50031
50271
  const responseFields = {
50032
50272
  HttpMeta: { Response: response, Request: req }
50033
50273
  };
50034
- const [result] = await match(stream(200, instanceOfType(ReadableStream), {
50035
- ctype: "application/pdf"
50036
- }), jsonErr([400, 401, 403, 404], ApiErrorResponse$inboundSchema), jsonErr(500, ApiErrorResponse$inboundSchema), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
50274
+ const [result] = await match(json(200, GetVendorInvoiceReceiptResponseBody$inboundSchema), jsonErr([400, 401, 403, 404], ApiErrorResponse$inboundSchema), jsonErr(500, ApiErrorResponse$inboundSchema), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
50037
50275
  if (!result.ok) {
50038
50276
  return [result, { status: "complete", request: req, response }];
50039
50277
  }
50040
50278
  return [result, { status: "complete", request: req, response }];
50041
50279
  }
50042
50280
  var init_vendorsGetVendorInvoiceReceipt = __esm(() => {
50043
- init_esm();
50044
50281
  init_encodings();
50045
50282
  init_matchers();
50046
50283
  init_primitives();
@@ -50053,12 +50290,12 @@ var init_vendorsGetVendorInvoiceReceipt = __esm(() => {
50053
50290
  });
50054
50291
 
50055
50292
  // src/mcp-server/tools/vendorsGetVendorInvoiceReceipt.ts
50056
- var args40, tool$vendorsGetVendorInvoiceReceipt;
50293
+ var args41, tool$vendorsGetVendorInvoiceReceipt;
50057
50294
  var init_vendorsGetVendorInvoiceReceipt2 = __esm(() => {
50058
50295
  init_vendorsGetVendorInvoiceReceipt();
50059
50296
  init_operations();
50060
50297
  init_tools();
50061
- args40 = {
50298
+ args41 = {
50062
50299
  request: GetVendorInvoiceReceiptRequest$inboundSchema
50063
50300
  };
50064
50301
  tool$vendorsGetVendorInvoiceReceipt = {
@@ -50066,9 +50303,9 @@ var init_vendorsGetVendorInvoiceReceipt2 = __esm(() => {
50066
50303
  description: `Get invoice receipt for vendor
50067
50304
 
50068
50305
  Get invoice receipt for vendor`,
50069
- args: args40,
50070
- tool: async (client, args41, ctx) => {
50071
- const [result, apiCall] = await vendorsGetVendorInvoiceReceipt(client, args41.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
50306
+ args: args41,
50307
+ tool: async (client, args42, ctx) => {
50308
+ const [result, apiCall] = await vendorsGetVendorInvoiceReceipt(client, args42.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
50072
50309
  if (!result.ok) {
50073
50310
  return {
50074
50311
  content: [{ type: "text", text: result.error.message }],
@@ -50083,9 +50320,9 @@ Get invoice receipt for vendor`,
50083
50320
 
50084
50321
  // src/funcs/vendorsGetVendorLegalName.ts
50085
50322
  function vendorsGetVendorLegalName(client, request, options) {
50086
- return new APIPromise($do43(client, request, options));
50323
+ return new APIPromise($do44(client, request, options));
50087
50324
  }
50088
- async function $do43(client, request, options) {
50325
+ async function $do44(client, request, options) {
50089
50326
  const parsed = safeParse(request, (value) => GetVendorLegalNameRequest$outboundSchema.parse(value), "Input validation failed");
50090
50327
  if (!parsed.ok) {
50091
50328
  return [parsed, { status: "invalid" }];
@@ -50160,12 +50397,12 @@ var init_vendorsGetVendorLegalName = __esm(() => {
50160
50397
  });
50161
50398
 
50162
50399
  // src/mcp-server/tools/vendorsGetVendorLegalName.ts
50163
- var args41, tool$vendorsGetVendorLegalName;
50400
+ var args42, tool$vendorsGetVendorLegalName;
50164
50401
  var init_vendorsGetVendorLegalName2 = __esm(() => {
50165
50402
  init_vendorsGetVendorLegalName();
50166
50403
  init_operations();
50167
50404
  init_tools();
50168
- args41 = {
50405
+ args42 = {
50169
50406
  request: GetVendorLegalNameRequest$inboundSchema
50170
50407
  };
50171
50408
  tool$vendorsGetVendorLegalName = {
@@ -50173,9 +50410,9 @@ var init_vendorsGetVendorLegalName2 = __esm(() => {
50173
50410
  description: `Get Vendor legal name
50174
50411
 
50175
50412
  Get vendor legal name`,
50176
- args: args41,
50177
- tool: async (client, args42, ctx) => {
50178
- const [result, apiCall] = await vendorsGetVendorLegalName(client, args42.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
50413
+ args: args42,
50414
+ tool: async (client, args43, ctx) => {
50415
+ const [result, apiCall] = await vendorsGetVendorLegalName(client, args43.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
50179
50416
  if (!result.ok) {
50180
50417
  return {
50181
50418
  content: [{ type: "text", text: result.error.message }],
@@ -50190,9 +50427,9 @@ Get vendor legal name`,
50190
50427
 
50191
50428
  // src/funcs/vendorsGetVendorsDetails.ts
50192
50429
  function vendorsGetVendorsDetails(client, request, options) {
50193
- return new APIPromise($do44(client, request, options));
50430
+ return new APIPromise($do45(client, request, options));
50194
50431
  }
50195
- async function $do44(client, request, options) {
50432
+ async function $do45(client, request, options) {
50196
50433
  const parsed = safeParse(request, (value) => GetVendorsDetailsRequest$outboundSchema.parse(value), "Input validation failed");
50197
50434
  if (!parsed.ok) {
50198
50435
  return [parsed, { status: "invalid" }];
@@ -50272,12 +50509,12 @@ var init_vendorsGetVendorsDetails = __esm(() => {
50272
50509
  });
50273
50510
 
50274
50511
  // src/mcp-server/tools/vendorsGetVendorsDetails.ts
50275
- var args42, tool$vendorsGetVendorsDetails;
50512
+ var args43, tool$vendorsGetVendorsDetails;
50276
50513
  var init_vendorsGetVendorsDetails2 = __esm(() => {
50277
50514
  init_vendorsGetVendorsDetails();
50278
50515
  init_operations();
50279
50516
  init_tools();
50280
- args42 = {
50517
+ args43 = {
50281
50518
  request: GetVendorsDetailsRequest$inboundSchema
50282
50519
  };
50283
50520
  tool$vendorsGetVendorsDetails = {
@@ -50306,9 +50543,9 @@ vendor.registration_finished
50306
50543
  vendor.target_facilities
50307
50544
  vendor.pending_invoice
50308
50545
  vendor.vendor_groups`,
50309
- args: args42,
50310
- tool: async (client, args43, ctx) => {
50311
- const [result, apiCall] = await vendorsGetVendorsDetails(client, args43.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
50546
+ args: args43,
50547
+ tool: async (client, args44, ctx) => {
50548
+ const [result, apiCall] = await vendorsGetVendorsDetails(client, args44.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
50312
50549
  if (!result.ok) {
50313
50550
  return {
50314
50551
  content: [{ type: "text", text: result.error.message }],
@@ -50323,9 +50560,9 @@ vendor.vendor_groups`,
50323
50560
 
50324
50561
  // src/funcs/vendorsListVendorAdditionalFacilityFields.ts
50325
50562
  function vendorsListVendorAdditionalFacilityFields(client, request, options) {
50326
- return new APIPromise($do45(client, request, options));
50563
+ return new APIPromise($do46(client, request, options));
50327
50564
  }
50328
- async function $do45(client, request, options) {
50565
+ async function $do46(client, request, options) {
50329
50566
  const parsed = safeParse(request, (value) => ListVendorAdditionalFacilityFieldsRequest$outboundSchema.parse(value), "Input validation failed");
50330
50567
  if (!parsed.ok) {
50331
50568
  return [haltIterator(parsed), { status: "invalid" }];
@@ -50437,12 +50674,12 @@ var init_vendorsListVendorAdditionalFacilityFields = __esm(() => {
50437
50674
  });
50438
50675
 
50439
50676
  // src/mcp-server/tools/vendorsListVendorAdditionalFacilityFields.ts
50440
- var args43, tool$vendorsListVendorAdditionalFacilityFields;
50677
+ var args44, tool$vendorsListVendorAdditionalFacilityFields;
50441
50678
  var init_vendorsListVendorAdditionalFacilityFields2 = __esm(() => {
50442
50679
  init_vendorsListVendorAdditionalFacilityFields();
50443
50680
  init_operations();
50444
50681
  init_tools();
50445
- args43 = {
50682
+ args44 = {
50446
50683
  request: ListVendorAdditionalFacilityFieldsRequest$inboundSchema
50447
50684
  };
50448
50685
  tool$vendorsListVendorAdditionalFacilityFields = {
@@ -50450,9 +50687,9 @@ var init_vendorsListVendorAdditionalFacilityFields2 = __esm(() => {
50450
50687
  description: `List of vendor's additional facility fields
50451
50688
 
50452
50689
  List of vendor's additional facility fields`,
50453
- args: args43,
50454
- tool: async (client, args44, ctx) => {
50455
- const [result, apiCall] = await vendorsListVendorAdditionalFacilityFields(client, args44.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
50690
+ args: args44,
50691
+ tool: async (client, args45, ctx) => {
50692
+ const [result, apiCall] = await vendorsListVendorAdditionalFacilityFields(client, args45.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
50456
50693
  if (!result.ok) {
50457
50694
  return {
50458
50695
  content: [{ type: "text", text: result.error.message }],
@@ -50467,9 +50704,9 @@ List of vendor's additional facility fields`,
50467
50704
 
50468
50705
  // src/funcs/vendorsListVendorCredentialDataRequests.ts
50469
50706
  function vendorsListVendorCredentialDataRequests(client, request, options) {
50470
- return new APIPromise($do46(client, request, options));
50707
+ return new APIPromise($do47(client, request, options));
50471
50708
  }
50472
- async function $do46(client, request, options) {
50709
+ async function $do47(client, request, options) {
50473
50710
  const parsed = safeParse(request, (value) => ListVendorCredentialDataRequestsRequest$outboundSchema.parse(value), "Input validation failed");
50474
50711
  if (!parsed.ok) {
50475
50712
  return [parsed, { status: "invalid" }];
@@ -50552,12 +50789,12 @@ var init_vendorsListVendorCredentialDataRequests = __esm(() => {
50552
50789
  });
50553
50790
 
50554
50791
  // src/mcp-server/tools/vendorsListVendorCredentialDataRequests.ts
50555
- var args44, tool$vendorsListVendorCredentialDataRequests;
50792
+ var args45, tool$vendorsListVendorCredentialDataRequests;
50556
50793
  var init_vendorsListVendorCredentialDataRequests2 = __esm(() => {
50557
50794
  init_vendorsListVendorCredentialDataRequests();
50558
50795
  init_operations();
50559
50796
  init_tools();
50560
- args44 = {
50797
+ args45 = {
50561
50798
  request: ListVendorCredentialDataRequestsRequest$inboundSchema
50562
50799
  };
50563
50800
  tool$vendorsListVendorCredentialDataRequests = {
@@ -50570,9 +50807,9 @@ Available \`expand\` scopes are:
50570
50807
 
50571
50808
  - vendor_credential_data_request.vendor_credential
50572
50809
  - vendor_credential_data_request.data_request`,
50573
- args: args44,
50574
- tool: async (client, args45, ctx) => {
50575
- const [result, apiCall] = await vendorsListVendorCredentialDataRequests(client, args45.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
50810
+ args: args45,
50811
+ tool: async (client, args46, ctx) => {
50812
+ const [result, apiCall] = await vendorsListVendorCredentialDataRequests(client, args46.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
50576
50813
  if (!result.ok) {
50577
50814
  return {
50578
50815
  content: [{ type: "text", text: result.error.message }],
@@ -50587,9 +50824,9 @@ Available \`expand\` scopes are:
50587
50824
 
50588
50825
  // src/funcs/vendorsListVendorCredentialFiles.ts
50589
50826
  function vendorsListVendorCredentialFiles(client, request, options) {
50590
- return new APIPromise($do47(client, request, options));
50827
+ return new APIPromise($do48(client, request, options));
50591
50828
  }
50592
- async function $do47(client, request, options) {
50829
+ async function $do48(client, request, options) {
50593
50830
  const parsed = safeParse(request, (value) => ListVendorCredentialFilesRequest$outboundSchema.parse(value), "Input validation failed");
50594
50831
  if (!parsed.ok) {
50595
50832
  return [parsed, { status: "invalid" }];
@@ -50672,12 +50909,12 @@ var init_vendorsListVendorCredentialFiles = __esm(() => {
50672
50909
  });
50673
50910
 
50674
50911
  // src/mcp-server/tools/vendorsListVendorCredentialFiles.ts
50675
- var args45, tool$vendorsListVendorCredentialFiles;
50912
+ var args46, tool$vendorsListVendorCredentialFiles;
50676
50913
  var init_vendorsListVendorCredentialFiles2 = __esm(() => {
50677
50914
  init_vendorsListVendorCredentialFiles();
50678
50915
  init_operations();
50679
50916
  init_tools();
50680
- args45 = {
50917
+ args46 = {
50681
50918
  request: ListVendorCredentialFilesRequest$inboundSchema
50682
50919
  };
50683
50920
  tool$vendorsListVendorCredentialFiles = {
@@ -50690,9 +50927,9 @@ Available \`expand\` scopes are:
50690
50927
 
50691
50928
  - vendor_credential_file.vendor_credential
50692
50929
  - vendor_credential_file.credential_document`,
50693
- args: args45,
50694
- tool: async (client, args46, ctx) => {
50695
- const [result, apiCall] = await vendorsListVendorCredentialFiles(client, args46.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
50930
+ args: args46,
50931
+ tool: async (client, args47, ctx) => {
50932
+ const [result, apiCall] = await vendorsListVendorCredentialFiles(client, args47.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
50696
50933
  if (!result.ok) {
50697
50934
  return {
50698
50935
  content: [{ type: "text", text: result.error.message }],
@@ -50707,9 +50944,9 @@ Available \`expand\` scopes are:
50707
50944
 
50708
50945
  // src/funcs/vendorsListVendorCredentialHistory.ts
50709
50946
  function vendorsListVendorCredentialHistory(client, request, options) {
50710
- return new APIPromise($do48(client, request, options));
50947
+ return new APIPromise($do49(client, request, options));
50711
50948
  }
50712
- async function $do48(client, request, options) {
50949
+ async function $do49(client, request, options) {
50713
50950
  const parsed = safeParse(request, (value) => ListVendorCredentialHistoryRequest$outboundSchema.parse(value), "Input validation failed");
50714
50951
  if (!parsed.ok) {
50715
50952
  return [haltIterator(parsed), { status: "invalid" }];
@@ -50824,12 +51061,12 @@ var init_vendorsListVendorCredentialHistory = __esm(() => {
50824
51061
  });
50825
51062
 
50826
51063
  // src/mcp-server/tools/vendorsListVendorCredentialHistory.ts
50827
- var args46, tool$vendorsListVendorCredentialHistory;
51064
+ var args47, tool$vendorsListVendorCredentialHistory;
50828
51065
  var init_vendorsListVendorCredentialHistory2 = __esm(() => {
50829
51066
  init_vendorsListVendorCredentialHistory();
50830
51067
  init_operations();
50831
51068
  init_tools();
50832
- args46 = {
51069
+ args47 = {
50833
51070
  request: ListVendorCredentialHistoryRequest$inboundSchema
50834
51071
  };
50835
51072
  tool$vendorsListVendorCredentialHistory = {
@@ -50837,9 +51074,9 @@ var init_vendorsListVendorCredentialHistory2 = __esm(() => {
50837
51074
  description: `List Vendor Credential History
50838
51075
 
50839
51076
  Lists vendor credentials history`,
50840
- args: args46,
50841
- tool: async (client, args47, ctx) => {
50842
- const [result, apiCall] = await vendorsListVendorCredentialHistory(client, args47.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
51077
+ args: args47,
51078
+ tool: async (client, args48, ctx) => {
51079
+ const [result, apiCall] = await vendorsListVendorCredentialHistory(client, args48.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
50843
51080
  if (!result.ok) {
50844
51081
  return {
50845
51082
  content: [{ type: "text", text: result.error.message }],
@@ -50854,9 +51091,9 @@ Lists vendor credentials history`,
50854
51091
 
50855
51092
  // src/funcs/vendorsListVendorCredentials.ts
50856
51093
  function vendorsListVendorCredentials(client, request, options) {
50857
- return new APIPromise($do49(client, request, options));
51094
+ return new APIPromise($do50(client, request, options));
50858
51095
  }
50859
- async function $do49(client, request, options) {
51096
+ async function $do50(client, request, options) {
50860
51097
  const parsed = safeParse(request, (value) => ListVendorCredentialsRequest$outboundSchema.parse(value), "Input validation failed");
50861
51098
  if (!parsed.ok) {
50862
51099
  return [haltIterator(parsed), { status: "invalid" }];
@@ -50976,12 +51213,12 @@ var init_vendorsListVendorCredentials = __esm(() => {
50976
51213
  });
50977
51214
 
50978
51215
  // src/mcp-server/tools/vendorsListVendorCredentials.ts
50979
- var args47, tool$vendorsListVendorCredentials;
51216
+ var args48, tool$vendorsListVendorCredentials;
50980
51217
  var init_vendorsListVendorCredentials2 = __esm(() => {
50981
51218
  init_vendorsListVendorCredentials();
50982
51219
  init_operations();
50983
51220
  init_tools();
50984
- args47 = {
51221
+ args48 = {
50985
51222
  request: ListVendorCredentialsRequest$inboundSchema
50986
51223
  };
50987
51224
  tool$vendorsListVendorCredentials = {
@@ -50989,9 +51226,9 @@ var init_vendorsListVendorCredentials2 = __esm(() => {
50989
51226
  description: `List Vendor Credentials
50990
51227
 
50991
51228
  Lists vendor credentials, required credentials, and company credentials. Utilized in Vendor Dashboard.`,
50992
- args: args47,
50993
- tool: async (client, args48, ctx) => {
50994
- const [result, apiCall] = await vendorsListVendorCredentials(client, args48.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
51229
+ args: args48,
51230
+ tool: async (client, args49, ctx) => {
51231
+ const [result, apiCall] = await vendorsListVendorCredentials(client, args49.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
50995
51232
  if (!result.ok) {
50996
51233
  return {
50997
51234
  content: [{ type: "text", text: result.error.message }],
@@ -51006,9 +51243,9 @@ Lists vendor credentials, required credentials, and company credentials. Utilize
51006
51243
 
51007
51244
  // src/funcs/vendorsListVendorCredits.ts
51008
51245
  function vendorsListVendorCredits(client, request, options) {
51009
- return new APIPromise($do50(client, request, options));
51246
+ return new APIPromise($do51(client, request, options));
51010
51247
  }
51011
- async function $do50(client, request, options) {
51248
+ async function $do51(client, request, options) {
51012
51249
  const parsed = safeParse(request, (value) => ListVendorCreditsRequest$outboundSchema.parse(value), "Input validation failed");
51013
51250
  if (!parsed.ok) {
51014
51251
  return [haltIterator(parsed), { status: "invalid" }];
@@ -51122,12 +51359,12 @@ var init_vendorsListVendorCredits = __esm(() => {
51122
51359
  });
51123
51360
 
51124
51361
  // src/mcp-server/tools/vendorsListVendorCredits.ts
51125
- var args48, tool$vendorsListVendorCredits;
51362
+ var args49, tool$vendorsListVendorCredits;
51126
51363
  var init_vendorsListVendorCredits2 = __esm(() => {
51127
51364
  init_vendorsListVendorCredits();
51128
51365
  init_operations();
51129
51366
  init_tools();
51130
- args48 = {
51367
+ args49 = {
51131
51368
  request: ListVendorCreditsRequest$inboundSchema
51132
51369
  };
51133
51370
  tool$vendorsListVendorCredits = {
@@ -51135,9 +51372,9 @@ var init_vendorsListVendorCredits2 = __esm(() => {
51135
51372
  description: `List vendor credits
51136
51373
 
51137
51374
  List the credits for the vendor`,
51138
- args: args48,
51139
- tool: async (client, args49, ctx) => {
51140
- const [result, apiCall] = await vendorsListVendorCredits(client, args49.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
51375
+ args: args49,
51376
+ tool: async (client, args50, ctx) => {
51377
+ const [result, apiCall] = await vendorsListVendorCredits(client, args50.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
51141
51378
  if (!result.ok) {
51142
51379
  return {
51143
51380
  content: [{ type: "text", text: result.error.message }],
@@ -51152,9 +51389,9 @@ List the credits for the vendor`,
51152
51389
 
51153
51390
  // src/funcs/vendorsListVendorFacilityStatuses.ts
51154
51391
  function vendorsListVendorFacilityStatuses(client, request, options) {
51155
- return new APIPromise($do51(client, request, options));
51392
+ return new APIPromise($do52(client, request, options));
51156
51393
  }
51157
- async function $do51(client, request, options) {
51394
+ async function $do52(client, request, options) {
51158
51395
  const parsed = safeParse(request, (value) => ListVendorFacilityStatusesRequest$outboundSchema.parse(value), "Input validation failed");
51159
51396
  if (!parsed.ok) {
51160
51397
  return [haltIterator(parsed), { status: "invalid" }];
@@ -51272,12 +51509,12 @@ var init_vendorsListVendorFacilityStatuses = __esm(() => {
51272
51509
  });
51273
51510
 
51274
51511
  // src/mcp-server/tools/vendorsListVendorFacilityStatuses.ts
51275
- var args49, tool$vendorsListVendorFacilityStatuses;
51512
+ var args50, tool$vendorsListVendorFacilityStatuses;
51276
51513
  var init_vendorsListVendorFacilityStatuses2 = __esm(() => {
51277
51514
  init_vendorsListVendorFacilityStatuses();
51278
51515
  init_operations();
51279
51516
  init_tools();
51280
- args49 = {
51517
+ args50 = {
51281
51518
  request: ListVendorFacilityStatusesRequest$inboundSchema
51282
51519
  };
51283
51520
  tool$vendorsListVendorFacilityStatuses = {
@@ -51285,9 +51522,9 @@ var init_vendorsListVendorFacilityStatuses2 = __esm(() => {
51285
51522
  description: `List vendor facility statuses
51286
51523
 
51287
51524
  List the facilities for the vendor`,
51288
- args: args49,
51289
- tool: async (client, args50, ctx) => {
51290
- const [result, apiCall] = await vendorsListVendorFacilityStatuses(client, args50.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
51525
+ args: args50,
51526
+ tool: async (client, args51, ctx) => {
51527
+ const [result, apiCall] = await vendorsListVendorFacilityStatuses(client, args51.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
51291
51528
  if (!result.ok) {
51292
51529
  return {
51293
51530
  content: [{ type: "text", text: result.error.message }],
@@ -51302,9 +51539,9 @@ List the facilities for the vendor`,
51302
51539
 
51303
51540
  // src/funcs/vendorsListVendorInvoices.ts
51304
51541
  function vendorsListVendorInvoices(client, request, options) {
51305
- return new APIPromise($do52(client, request, options));
51542
+ return new APIPromise($do53(client, request, options));
51306
51543
  }
51307
- async function $do52(client, request, options) {
51544
+ async function $do53(client, request, options) {
51308
51545
  const parsed = safeParse(request, (value) => ListVendorInvoicesRequest$outboundSchema.parse(value), "Input validation failed");
51309
51546
  if (!parsed.ok) {
51310
51547
  return [haltIterator(parsed), { status: "invalid" }];
@@ -51422,12 +51659,12 @@ var init_vendorsListVendorInvoices = __esm(() => {
51422
51659
  });
51423
51660
 
51424
51661
  // src/mcp-server/tools/vendorsListVendorInvoices.ts
51425
- var args50, tool$vendorsListVendorInvoices;
51662
+ var args51, tool$vendorsListVendorInvoices;
51426
51663
  var init_vendorsListVendorInvoices2 = __esm(() => {
51427
51664
  init_vendorsListVendorInvoices();
51428
51665
  init_operations();
51429
51666
  init_tools();
51430
- args50 = {
51667
+ args51 = {
51431
51668
  request: ListVendorInvoicesRequest$inboundSchema
51432
51669
  };
51433
51670
  tool$vendorsListVendorInvoices = {
@@ -51439,9 +51676,9 @@ List invoices for Vendors
51439
51676
  Available \`expand\` scopes are:
51440
51677
 
51441
51678
  invoice.line_items`,
51442
- args: args50,
51443
- tool: async (client, args51, ctx) => {
51444
- const [result, apiCall] = await vendorsListVendorInvoices(client, args51.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
51679
+ args: args51,
51680
+ tool: async (client, args52, ctx) => {
51681
+ const [result, apiCall] = await vendorsListVendorInvoices(client, args52.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
51445
51682
  if (!result.ok) {
51446
51683
  return {
51447
51684
  content: [{ type: "text", text: result.error.message }],
@@ -51456,9 +51693,9 @@ invoice.line_items`,
51456
51693
 
51457
51694
  // src/funcs/vendorsListVendorJobTitles.ts
51458
51695
  function vendorsListVendorJobTitles(client, request, options) {
51459
- return new APIPromise($do53(client, request, options));
51696
+ return new APIPromise($do54(client, request, options));
51460
51697
  }
51461
- async function $do53(client, request, options) {
51698
+ async function $do54(client, request, options) {
51462
51699
  const parsed = safeParse(request, (value) => ListVendorJobTitlesRequest$outboundSchema.parse(value), "Input validation failed");
51463
51700
  if (!parsed.ok) {
51464
51701
  return [haltIterator(parsed), { status: "invalid" }];
@@ -51567,12 +51804,12 @@ var init_vendorsListVendorJobTitles = __esm(() => {
51567
51804
  });
51568
51805
 
51569
51806
  // src/mcp-server/tools/vendorsListVendorJobTitles.ts
51570
- var args51, tool$vendorsListVendorJobTitles;
51807
+ var args52, tool$vendorsListVendorJobTitles;
51571
51808
  var init_vendorsListVendorJobTitles2 = __esm(() => {
51572
51809
  init_vendorsListVendorJobTitles();
51573
51810
  init_operations();
51574
51811
  init_tools();
51575
- args51 = {
51812
+ args52 = {
51576
51813
  request: ListVendorJobTitlesRequest$inboundSchema
51577
51814
  };
51578
51815
  tool$vendorsListVendorJobTitles = {
@@ -51580,9 +51817,9 @@ var init_vendorsListVendorJobTitles2 = __esm(() => {
51580
51817
  description: `List vendor job titles
51581
51818
 
51582
51819
  List valid job titles for Vendors. This can be used during sign up or in a filter.`,
51583
- args: args51,
51584
- tool: async (client, args52, ctx) => {
51585
- const [result, apiCall] = await vendorsListVendorJobTitles(client, args52.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
51820
+ args: args52,
51821
+ tool: async (client, args53, ctx) => {
51822
+ const [result, apiCall] = await vendorsListVendorJobTitles(client, args53.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
51586
51823
  if (!result.ok) {
51587
51824
  return {
51588
51825
  content: [{ type: "text", text: result.error.message }],
@@ -51597,9 +51834,9 @@ List valid job titles for Vendors. This can be used during sign up or in a filte
51597
51834
 
51598
51835
  // src/funcs/vendorsListVendorManagedByCompanies.ts
51599
51836
  function vendorsListVendorManagedByCompanies(client, request, options) {
51600
- return new APIPromise($do54(client, request, options));
51837
+ return new APIPromise($do55(client, request, options));
51601
51838
  }
51602
- async function $do54(client, request, options) {
51839
+ async function $do55(client, request, options) {
51603
51840
  const parsed = safeParse(request, (value) => ListVendorManagedByCompaniesRequest$outboundSchema.parse(value), "Input validation failed");
51604
51841
  if (!parsed.ok) {
51605
51842
  return [haltIterator(parsed), { status: "invalid" }];
@@ -51713,12 +51950,12 @@ var init_vendorsListVendorManagedByCompanies = __esm(() => {
51713
51950
  });
51714
51951
 
51715
51952
  // src/mcp-server/tools/vendorsListVendorManagedByCompanies.ts
51716
- var args52, tool$vendorsListVendorManagedByCompanies;
51953
+ var args53, tool$vendorsListVendorManagedByCompanies;
51717
51954
  var init_vendorsListVendorManagedByCompanies2 = __esm(() => {
51718
51955
  init_vendorsListVendorManagedByCompanies();
51719
51956
  init_operations();
51720
51957
  init_tools();
51721
- args52 = {
51958
+ args53 = {
51722
51959
  request: ListVendorManagedByCompaniesRequest$inboundSchema
51723
51960
  };
51724
51961
  tool$vendorsListVendorManagedByCompanies = {
@@ -51726,9 +51963,9 @@ var init_vendorsListVendorManagedByCompanies2 = __esm(() => {
51726
51963
  description: `List of companies managing the vendor
51727
51964
 
51728
51965
  List of companies managing the vendor`,
51729
- args: args52,
51730
- tool: async (client, args53, ctx) => {
51731
- const [result, apiCall] = await vendorsListVendorManagedByCompanies(client, args53.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
51966
+ args: args53,
51967
+ tool: async (client, args54, ctx) => {
51968
+ const [result, apiCall] = await vendorsListVendorManagedByCompanies(client, args54.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
51732
51969
  if (!result.ok) {
51733
51970
  return {
51734
51971
  content: [{ type: "text", text: result.error.message }],
@@ -51743,9 +51980,9 @@ List of companies managing the vendor`,
51743
51980
 
51744
51981
  // src/funcs/vendorsListVendorScrubDetails.ts
51745
51982
  function vendorsListVendorScrubDetails(client, request, options) {
51746
- return new APIPromise($do55(client, request, options));
51983
+ return new APIPromise($do56(client, request, options));
51747
51984
  }
51748
- async function $do55(client, request, options) {
51985
+ async function $do56(client, request, options) {
51749
51986
  const parsed = safeParse(request, (value) => ListVendorScrubDetailsRequest$outboundSchema.parse(value), "Input validation failed");
51750
51987
  if (!parsed.ok) {
51751
51988
  return [parsed, { status: "invalid" }];
@@ -51821,12 +52058,12 @@ var init_vendorsListVendorScrubDetails = __esm(() => {
51821
52058
  });
51822
52059
 
51823
52060
  // src/mcp-server/tools/vendorsListVendorScrubDetails.ts
51824
- var args53, tool$vendorsListVendorScrubDetails;
52061
+ var args54, tool$vendorsListVendorScrubDetails;
51825
52062
  var init_vendorsListVendorScrubDetails2 = __esm(() => {
51826
52063
  init_vendorsListVendorScrubDetails();
51827
52064
  init_operations();
51828
52065
  init_tools();
51829
- args53 = {
52066
+ args54 = {
51830
52067
  request: ListVendorScrubDetailsRequest$inboundSchema
51831
52068
  };
51832
52069
  tool$vendorsListVendorScrubDetails = {
@@ -51834,9 +52071,9 @@ var init_vendorsListVendorScrubDetails2 = __esm(() => {
51834
52071
  description: `List vendor scrub details
51835
52072
 
51836
52073
  List vendor scrub details`,
51837
- args: args53,
51838
- tool: async (client, args54, ctx) => {
51839
- const [result, apiCall] = await vendorsListVendorScrubDetails(client, args54.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
52074
+ args: args54,
52075
+ tool: async (client, args55, ctx) => {
52076
+ const [result, apiCall] = await vendorsListVendorScrubDetails(client, args55.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
51840
52077
  if (!result.ok) {
51841
52078
  return {
51842
52079
  content: [{ type: "text", text: result.error.message }],
@@ -51851,9 +52088,9 @@ List vendor scrub details`,
51851
52088
 
51852
52089
  // src/funcs/vendorsListVendorScrubPackages.ts
51853
52090
  function vendorsListVendorScrubPackages(client, request, options) {
51854
- return new APIPromise($do56(client, request, options));
52091
+ return new APIPromise($do57(client, request, options));
51855
52092
  }
51856
- async function $do56(client, request, options) {
52093
+ async function $do57(client, request, options) {
51857
52094
  const parsed = safeParse(request, (value) => ListVendorScrubPackagesRequest$outboundSchema.parse(value), "Input validation failed");
51858
52095
  if (!parsed.ok) {
51859
52096
  return [haltIterator(parsed), { status: "invalid" }];
@@ -51967,12 +52204,12 @@ var init_vendorsListVendorScrubPackages = __esm(() => {
51967
52204
  });
51968
52205
 
51969
52206
  // src/mcp-server/tools/vendorsListVendorScrubPackages.ts
51970
- var args54, tool$vendorsListVendorScrubPackages;
52207
+ var args55, tool$vendorsListVendorScrubPackages;
51971
52208
  var init_vendorsListVendorScrubPackages2 = __esm(() => {
51972
52209
  init_vendorsListVendorScrubPackages();
51973
52210
  init_operations();
51974
52211
  init_tools();
51975
- args54 = {
52212
+ args55 = {
51976
52213
  request: ListVendorScrubPackagesRequest$inboundSchema
51977
52214
  };
51978
52215
  tool$vendorsListVendorScrubPackages = {
@@ -51980,9 +52217,9 @@ var init_vendorsListVendorScrubPackages2 = __esm(() => {
51980
52217
  description: `List vendor scrub packages
51981
52218
 
51982
52219
  List vendor scrub packages`,
51983
- args: args54,
51984
- tool: async (client, args55, ctx) => {
51985
- const [result, apiCall] = await vendorsListVendorScrubPackages(client, args55.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
52220
+ args: args55,
52221
+ tool: async (client, args56, ctx) => {
52222
+ const [result, apiCall] = await vendorsListVendorScrubPackages(client, args56.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
51986
52223
  if (!result.ok) {
51987
52224
  return {
51988
52225
  content: [{ type: "text", text: result.error.message }],
@@ -51997,9 +52234,9 @@ List vendor scrub packages`,
51997
52234
 
51998
52235
  // src/funcs/vendorsListVendorScrubPurchases.ts
51999
52236
  function vendorsListVendorScrubPurchases(client, request, options) {
52000
- return new APIPromise($do57(client, request, options));
52237
+ return new APIPromise($do58(client, request, options));
52001
52238
  }
52002
- async function $do57(client, request, options) {
52239
+ async function $do58(client, request, options) {
52003
52240
  const parsed = safeParse(request, (value) => ListVendorScrubPurchasesRequest$outboundSchema.parse(value), "Input validation failed");
52004
52241
  if (!parsed.ok) {
52005
52242
  return [haltIterator(parsed), { status: "invalid" }];
@@ -52113,12 +52350,12 @@ var init_vendorsListVendorScrubPurchases = __esm(() => {
52113
52350
  });
52114
52351
 
52115
52352
  // src/mcp-server/tools/vendorsListVendorScrubPurchases.ts
52116
- var args55, tool$vendorsListVendorScrubPurchases;
52353
+ var args56, tool$vendorsListVendorScrubPurchases;
52117
52354
  var init_vendorsListVendorScrubPurchases2 = __esm(() => {
52118
52355
  init_vendorsListVendorScrubPurchases();
52119
52356
  init_operations();
52120
52357
  init_tools();
52121
- args55 = {
52358
+ args56 = {
52122
52359
  request: ListVendorScrubPurchasesRequest$inboundSchema
52123
52360
  };
52124
52361
  tool$vendorsListVendorScrubPurchases = {
@@ -52126,9 +52363,9 @@ var init_vendorsListVendorScrubPurchases2 = __esm(() => {
52126
52363
  description: `List vendor scrub purchases
52127
52364
 
52128
52365
  List vendor scrub purchases`,
52129
- args: args55,
52130
- tool: async (client, args56, ctx) => {
52131
- const [result, apiCall] = await vendorsListVendorScrubPurchases(client, args56.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
52366
+ args: args56,
52367
+ tool: async (client, args57, ctx) => {
52368
+ const [result, apiCall] = await vendorsListVendorScrubPurchases(client, args57.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
52132
52369
  if (!result.ok) {
52133
52370
  return {
52134
52371
  content: [{ type: "text", text: result.error.message }],
@@ -52143,9 +52380,9 @@ List vendor scrub purchases`,
52143
52380
 
52144
52381
  // src/funcs/vendorsListVendorTypes.ts
52145
52382
  function vendorsListVendorTypes(client, request, options) {
52146
- return new APIPromise($do58(client, request, options));
52383
+ return new APIPromise($do59(client, request, options));
52147
52384
  }
52148
- async function $do58(client, request, options) {
52385
+ async function $do59(client, request, options) {
52149
52386
  const parsed = safeParse(request, (value) => ListVendorTypesRequest$outboundSchema.parse(value), "Input validation failed");
52150
52387
  if (!parsed.ok) {
52151
52388
  return [haltIterator(parsed), { status: "invalid" }];
@@ -52253,12 +52490,12 @@ var init_vendorsListVendorTypes = __esm(() => {
52253
52490
  });
52254
52491
 
52255
52492
  // src/mcp-server/tools/vendorsListVendorTypes.ts
52256
- var args56, tool$vendorsListVendorTypes;
52493
+ var args57, tool$vendorsListVendorTypes;
52257
52494
  var init_vendorsListVendorTypes2 = __esm(() => {
52258
52495
  init_vendorsListVendorTypes();
52259
52496
  init_operations();
52260
52497
  init_tools();
52261
- args56 = {
52498
+ args57 = {
52262
52499
  request: ListVendorTypesRequest$inboundSchema
52263
52500
  };
52264
52501
  tool$vendorsListVendorTypes = {
@@ -52266,9 +52503,9 @@ var init_vendorsListVendorTypes2 = __esm(() => {
52266
52503
  description: `List vendor types
52267
52504
 
52268
52505
  List vendor types.`,
52269
- args: args56,
52270
- tool: async (client, args57, ctx) => {
52271
- const [result, apiCall] = await vendorsListVendorTypes(client, args57.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
52506
+ args: args57,
52507
+ tool: async (client, args58, ctx) => {
52508
+ const [result, apiCall] = await vendorsListVendorTypes(client, args58.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
52272
52509
  if (!result.ok) {
52273
52510
  return {
52274
52511
  content: [{ type: "text", text: result.error.message }],
@@ -52283,9 +52520,9 @@ List vendor types.`,
52283
52520
 
52284
52521
  // src/funcs/vendorsPurchaseScrubCredits.ts
52285
52522
  function vendorsPurchaseScrubCredits(client, request, options) {
52286
- return new APIPromise($do59(client, request, options));
52523
+ return new APIPromise($do60(client, request, options));
52287
52524
  }
52288
- async function $do59(client, request, options) {
52525
+ async function $do60(client, request, options) {
52289
52526
  const parsed = safeParse(request, (value) => PurchaseScrubCreditsRequest$outboundSchema.parse(value), "Input validation failed");
52290
52527
  if (!parsed.ok) {
52291
52528
  return [parsed, { status: "invalid" }];
@@ -52361,12 +52598,12 @@ var init_vendorsPurchaseScrubCredits = __esm(() => {
52361
52598
  });
52362
52599
 
52363
52600
  // src/mcp-server/tools/vendorsPurchaseScrubCredits.ts
52364
- var args57, tool$vendorsPurchaseScrubCredits;
52601
+ var args58, tool$vendorsPurchaseScrubCredits;
52365
52602
  var init_vendorsPurchaseScrubCredits2 = __esm(() => {
52366
52603
  init_vendorsPurchaseScrubCredits();
52367
52604
  init_operations();
52368
52605
  init_tools();
52369
- args57 = {
52606
+ args58 = {
52370
52607
  request: PurchaseScrubCreditsRequest$inboundSchema
52371
52608
  };
52372
52609
  tool$vendorsPurchaseScrubCredits = {
@@ -52374,9 +52611,9 @@ var init_vendorsPurchaseScrubCredits2 = __esm(() => {
52374
52611
  description: `Purchase scrub credits
52375
52612
 
52376
52613
  Purchase scrub credits`,
52377
- args: args57,
52378
- tool: async (client, args58, ctx) => {
52379
- const [result, apiCall] = await vendorsPurchaseScrubCredits(client, args58.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
52614
+ args: args58,
52615
+ tool: async (client, args59, ctx) => {
52616
+ const [result, apiCall] = await vendorsPurchaseScrubCredits(client, args59.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
52380
52617
  if (!result.ok) {
52381
52618
  return {
52382
52619
  content: [{ type: "text", text: result.error.message }],
@@ -52391,9 +52628,9 @@ Purchase scrub credits`,
52391
52628
 
52392
52629
  // src/funcs/vendorsSendDownloadCode.ts
52393
52630
  function vendorsSendDownloadCode(client, request, options) {
52394
- return new APIPromise($do60(client, request, options));
52631
+ return new APIPromise($do61(client, request, options));
52395
52632
  }
52396
- async function $do60(client, request, options) {
52633
+ async function $do61(client, request, options) {
52397
52634
  const parsed = safeParse(request, (value) => SendDownloadCodeRequest$outboundSchema.parse(value), "Input validation failed");
52398
52635
  if (!parsed.ok) {
52399
52636
  return [parsed, { status: "invalid" }];
@@ -52467,12 +52704,12 @@ var init_vendorsSendDownloadCode = __esm(() => {
52467
52704
  });
52468
52705
 
52469
52706
  // src/mcp-server/tools/vendorsSendDownloadCode.ts
52470
- var args58, tool$vendorsSendDownloadCode;
52707
+ var args59, tool$vendorsSendDownloadCode;
52471
52708
  var init_vendorsSendDownloadCode2 = __esm(() => {
52472
52709
  init_vendorsSendDownloadCode();
52473
52710
  init_operations();
52474
52711
  init_tools();
52475
- args58 = {
52712
+ args59 = {
52476
52713
  request: SendDownloadCodeRequest$inboundSchema
52477
52714
  };
52478
52715
  tool$vendorsSendDownloadCode = {
@@ -52480,9 +52717,9 @@ var init_vendorsSendDownloadCode2 = __esm(() => {
52480
52717
  description: `Send download code for vendor credential
52481
52718
 
52482
52719
  It will send download code for vendor credential`,
52483
- args: args58,
52484
- tool: async (client, args59, ctx) => {
52485
- const [result, apiCall] = await vendorsSendDownloadCode(client, args59.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
52720
+ args: args59,
52721
+ tool: async (client, args60, ctx) => {
52722
+ const [result, apiCall] = await vendorsSendDownloadCode(client, args60.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
52486
52723
  if (!result.ok) {
52487
52724
  return {
52488
52725
  content: [{ type: "text", text: result.error.message }],
@@ -52497,9 +52734,9 @@ It will send download code for vendor credential`,
52497
52734
 
52498
52735
  // src/funcs/vendorsSubmitVendorCredential.ts
52499
52736
  function vendorsSubmitVendorCredential(client, request, options) {
52500
- return new APIPromise($do61(client, request, options));
52737
+ return new APIPromise($do62(client, request, options));
52501
52738
  }
52502
- async function $do61(client, request, options) {
52739
+ async function $do62(client, request, options) {
52503
52740
  const parsed = safeParse(request, (value) => SubmitVendorCredentialRequest$outboundSchema.parse(value), "Input validation failed");
52504
52741
  if (!parsed.ok) {
52505
52742
  return [parsed, { status: "invalid" }];
@@ -52573,12 +52810,12 @@ var init_vendorsSubmitVendorCredential = __esm(() => {
52573
52810
  });
52574
52811
 
52575
52812
  // src/mcp-server/tools/vendorsSubmitVendorCredential.ts
52576
- var args59, tool$vendorsSubmitVendorCredential;
52813
+ var args60, tool$vendorsSubmitVendorCredential;
52577
52814
  var init_vendorsSubmitVendorCredential2 = __esm(() => {
52578
52815
  init_vendorsSubmitVendorCredential();
52579
52816
  init_operations();
52580
52817
  init_tools();
52581
- args59 = {
52818
+ args60 = {
52582
52819
  request: SubmitVendorCredentialRequest$inboundSchema
52583
52820
  };
52584
52821
  tool$vendorsSubmitVendorCredential = {
@@ -52586,9 +52823,9 @@ var init_vendorsSubmitVendorCredential2 = __esm(() => {
52586
52823
  description: `Submit vendor credential
52587
52824
 
52588
52825
  It will submit vendor credential`,
52589
- args: args59,
52590
- tool: async (client, args60, ctx) => {
52591
- const [result, apiCall] = await vendorsSubmitVendorCredential(client, args60.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
52826
+ args: args60,
52827
+ tool: async (client, args61, ctx) => {
52828
+ const [result, apiCall] = await vendorsSubmitVendorCredential(client, args61.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
52592
52829
  if (!result.ok) {
52593
52830
  return {
52594
52831
  content: [{ type: "text", text: result.error.message }],
@@ -52603,9 +52840,9 @@ It will submit vendor credential`,
52603
52840
 
52604
52841
  // src/funcs/vendorsUpdateVendorCredentialData.ts
52605
52842
  function vendorsUpdateVendorCredentialData(client, request, options) {
52606
- return new APIPromise($do62(client, request, options));
52843
+ return new APIPromise($do63(client, request, options));
52607
52844
  }
52608
- async function $do62(client, request, options) {
52845
+ async function $do63(client, request, options) {
52609
52846
  const parsed = safeParse(request, (value) => UpdateVendorCredentialDataRequest$outboundSchema.parse(value), "Input validation failed");
52610
52847
  if (!parsed.ok) {
52611
52848
  return [parsed, { status: "invalid" }];
@@ -52686,12 +52923,12 @@ var init_vendorsUpdateVendorCredentialData = __esm(() => {
52686
52923
  });
52687
52924
 
52688
52925
  // src/mcp-server/tools/vendorsUpdateVendorCredentialData.ts
52689
- var args60, tool$vendorsUpdateVendorCredentialData;
52926
+ var args61, tool$vendorsUpdateVendorCredentialData;
52690
52927
  var init_vendorsUpdateVendorCredentialData2 = __esm(() => {
52691
52928
  init_vendorsUpdateVendorCredentialData();
52692
52929
  init_operations();
52693
52930
  init_tools();
52694
- args60 = {
52931
+ args61 = {
52695
52932
  request: UpdateVendorCredentialDataRequest$inboundSchema
52696
52933
  };
52697
52934
  tool$vendorsUpdateVendorCredentialData = {
@@ -52699,9 +52936,9 @@ var init_vendorsUpdateVendorCredentialData2 = __esm(() => {
52699
52936
  description: `Update vendor credential data
52700
52937
 
52701
52938
  Update vendor credential data`,
52702
- args: args60,
52703
- tool: async (client, args61, ctx) => {
52704
- const [result, apiCall] = await vendorsUpdateVendorCredentialData(client, args61.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
52939
+ args: args61,
52940
+ tool: async (client, args62, ctx) => {
52941
+ const [result, apiCall] = await vendorsUpdateVendorCredentialData(client, args62.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
52705
52942
  if (!result.ok) {
52706
52943
  return {
52707
52944
  content: [{ type: "text", text: result.error.message }],
@@ -52716,9 +52953,9 @@ Update vendor credential data`,
52716
52953
 
52717
52954
  // src/funcs/vendorsUpdateVendorCredentialFile.ts
52718
52955
  function vendorsUpdateVendorCredentialFile(client, request, options) {
52719
- return new APIPromise($do63(client, request, options));
52956
+ return new APIPromise($do64(client, request, options));
52720
52957
  }
52721
- async function $do63(client, request, options) {
52958
+ async function $do64(client, request, options) {
52722
52959
  const parsed = safeParse(request, (value) => UpdateVendorCredentialFileRequest$outboundSchema.parse(value), "Input validation failed");
52723
52960
  if (!parsed.ok) {
52724
52961
  return [parsed, { status: "invalid" }];
@@ -52796,12 +53033,12 @@ var init_vendorsUpdateVendorCredentialFile = __esm(() => {
52796
53033
  });
52797
53034
 
52798
53035
  // src/mcp-server/tools/vendorsUpdateVendorCredentialFile.ts
52799
- var args61, tool$vendorsUpdateVendorCredentialFile;
53036
+ var args62, tool$vendorsUpdateVendorCredentialFile;
52800
53037
  var init_vendorsUpdateVendorCredentialFile2 = __esm(() => {
52801
53038
  init_vendorsUpdateVendorCredentialFile();
52802
53039
  init_operations();
52803
53040
  init_tools();
52804
- args61 = {
53041
+ args62 = {
52805
53042
  request: UpdateVendorCredentialFileRequest$inboundSchema
52806
53043
  };
52807
53044
  tool$vendorsUpdateVendorCredentialFile = {
@@ -52809,9 +53046,9 @@ var init_vendorsUpdateVendorCredentialFile2 = __esm(() => {
52809
53046
  description: `Update vendor credential file
52810
53047
 
52811
53048
  It will update the vendor credential file properties`,
52812
- args: args61,
52813
- tool: async (client, args62, ctx) => {
52814
- const [result, apiCall] = await vendorsUpdateVendorCredentialFile(client, args62.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
53049
+ args: args62,
53050
+ tool: async (client, args63, ctx) => {
53051
+ const [result, apiCall] = await vendorsUpdateVendorCredentialFile(client, args63.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
52815
53052
  if (!result.ok) {
52816
53053
  return {
52817
53054
  content: [{ type: "text", text: result.error.message }],
@@ -52826,9 +53063,9 @@ It will update the vendor credential file properties`,
52826
53063
 
52827
53064
  // src/funcs/vendorsUpdateVendorDetails.ts
52828
53065
  function vendorsUpdateVendorDetails(client, request, options) {
52829
- return new APIPromise($do64(client, request, options));
53066
+ return new APIPromise($do65(client, request, options));
52830
53067
  }
52831
- async function $do64(client, request, options) {
53068
+ async function $do65(client, request, options) {
52832
53069
  const parsed = safeParse(request, (value) => UpdateVendorDetailsRequest$outboundSchema.parse(value), "Input validation failed");
52833
53070
  if (!parsed.ok) {
52834
53071
  return [parsed, { status: "invalid" }];
@@ -52905,12 +53142,12 @@ var init_vendorsUpdateVendorDetails = __esm(() => {
52905
53142
  });
52906
53143
 
52907
53144
  // src/mcp-server/tools/vendorsUpdateVendorDetails.ts
52908
- var args62, tool$vendorsUpdateVendorDetails;
53145
+ var args63, tool$vendorsUpdateVendorDetails;
52909
53146
  var init_vendorsUpdateVendorDetails2 = __esm(() => {
52910
53147
  init_vendorsUpdateVendorDetails();
52911
53148
  init_operations();
52912
53149
  init_tools();
52913
- args62 = {
53150
+ args63 = {
52914
53151
  request: UpdateVendorDetailsRequest$inboundSchema
52915
53152
  };
52916
53153
  tool$vendorsUpdateVendorDetails = {
@@ -52918,9 +53155,9 @@ var init_vendorsUpdateVendorDetails2 = __esm(() => {
52918
53155
  description: `Update vendor details
52919
53156
 
52920
53157
  It will update the vendor details`,
52921
- args: args62,
52922
- tool: async (client, args63, ctx) => {
52923
- const [result, apiCall] = await vendorsUpdateVendorDetails(client, args63.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
53158
+ args: args63,
53159
+ tool: async (client, args64, ctx) => {
53160
+ const [result, apiCall] = await vendorsUpdateVendorDetails(client, args64.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
52924
53161
  if (!result.ok) {
52925
53162
  return {
52926
53163
  content: [{ type: "text", text: result.error.message }],
@@ -52935,9 +53172,9 @@ It will update the vendor details`,
52935
53172
 
52936
53173
  // src/funcs/vendorsUpdateVendorManagedByCompany.ts
52937
53174
  function vendorsUpdateVendorManagedByCompany(client, request, options) {
52938
- return new APIPromise($do65(client, request, options));
53175
+ return new APIPromise($do66(client, request, options));
52939
53176
  }
52940
- async function $do65(client, request, options) {
53177
+ async function $do66(client, request, options) {
52941
53178
  const parsed = safeParse(request, (value) => UpdateVendorManagedByCompanyRequest$outboundSchema.parse(value), "Input validation failed");
52942
53179
  if (!parsed.ok) {
52943
53180
  return [parsed, { status: "invalid" }];
@@ -53013,12 +53250,12 @@ var init_vendorsUpdateVendorManagedByCompany = __esm(() => {
53013
53250
  });
53014
53251
 
53015
53252
  // src/mcp-server/tools/vendorsUpdateVendorManagedByCompany.ts
53016
- var args63, tool$vendorsUpdateVendorManagedByCompany;
53253
+ var args64, tool$vendorsUpdateVendorManagedByCompany;
53017
53254
  var init_vendorsUpdateVendorManagedByCompany2 = __esm(() => {
53018
53255
  init_vendorsUpdateVendorManagedByCompany();
53019
53256
  init_operations();
53020
53257
  init_tools();
53021
- args63 = {
53258
+ args64 = {
53022
53259
  request: UpdateVendorManagedByCompanyRequest$inboundSchema
53023
53260
  };
53024
53261
  tool$vendorsUpdateVendorManagedByCompany = {
@@ -53026,9 +53263,9 @@ var init_vendorsUpdateVendorManagedByCompany2 = __esm(() => {
53026
53263
  description: `Update vendor managed by company access rights
53027
53264
 
53028
53265
  It will update the vendor managed by company access rights`,
53029
- args: args63,
53030
- tool: async (client, args64, ctx) => {
53031
- const [result, apiCall] = await vendorsUpdateVendorManagedByCompany(client, args64.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
53266
+ args: args64,
53267
+ tool: async (client, args65, ctx) => {
53268
+ const [result, apiCall] = await vendorsUpdateVendorManagedByCompany(client, args65.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
53032
53269
  if (!result.ok) {
53033
53270
  return {
53034
53271
  content: [{ type: "text", text: result.error.message }],
@@ -53043,9 +53280,9 @@ It will update the vendor managed by company access rights`,
53043
53280
 
53044
53281
  // src/funcs/vendorsUpdateVendorScrubDetails.ts
53045
53282
  function vendorsUpdateVendorScrubDetails(client, request, options) {
53046
- return new APIPromise($do66(client, request, options));
53283
+ return new APIPromise($do67(client, request, options));
53047
53284
  }
53048
- async function $do66(client, request, options) {
53285
+ async function $do67(client, request, options) {
53049
53286
  const parsed = safeParse(request, (value) => UpdateVendorScrubDetailsRequest$outboundSchema.parse(value), "Input validation failed");
53050
53287
  if (!parsed.ok) {
53051
53288
  return [parsed, { status: "invalid" }];
@@ -53122,12 +53359,12 @@ var init_vendorsUpdateVendorScrubDetails = __esm(() => {
53122
53359
  });
53123
53360
 
53124
53361
  // src/mcp-server/tools/vendorsUpdateVendorScrubDetails.ts
53125
- var args64, tool$vendorsUpdateVendorScrubDetails;
53362
+ var args65, tool$vendorsUpdateVendorScrubDetails;
53126
53363
  var init_vendorsUpdateVendorScrubDetails2 = __esm(() => {
53127
53364
  init_vendorsUpdateVendorScrubDetails();
53128
53365
  init_operations();
53129
53366
  init_tools();
53130
- args64 = {
53367
+ args65 = {
53131
53368
  request: UpdateVendorScrubDetailsRequest$inboundSchema
53132
53369
  };
53133
53370
  tool$vendorsUpdateVendorScrubDetails = {
@@ -53135,9 +53372,9 @@ var init_vendorsUpdateVendorScrubDetails2 = __esm(() => {
53135
53372
  description: `Update vendor scrub details
53136
53373
 
53137
53374
  Update vendor scrub details`,
53138
- args: args64,
53139
- tool: async (client, args65, ctx) => {
53140
- const [result, apiCall] = await vendorsUpdateVendorScrubDetails(client, args65.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
53375
+ args: args65,
53376
+ tool: async (client, args66, ctx) => {
53377
+ const [result, apiCall] = await vendorsUpdateVendorScrubDetails(client, args66.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
53141
53378
  if (!result.ok) {
53142
53379
  return {
53143
53380
  content: [{ type: "text", text: result.error.message }],
@@ -53152,9 +53389,9 @@ Update vendor scrub details`,
53152
53389
 
53153
53390
  // src/funcs/webhooksGetWebhookEndpoint.ts
53154
53391
  function webhooksGetWebhookEndpoint(client, request, options) {
53155
- return new APIPromise($do67(client, request, options));
53392
+ return new APIPromise($do68(client, request, options));
53156
53393
  }
53157
- async function $do67(client, request, options) {
53394
+ async function $do68(client, request, options) {
53158
53395
  const parsed = safeParse(request, (value) => GetWebhookEndpointRequest$outboundSchema.parse(value), "Input validation failed");
53159
53396
  if (!parsed.ok) {
53160
53397
  return [parsed, { status: "invalid" }];
@@ -53230,12 +53467,12 @@ var init_webhooksGetWebhookEndpoint = __esm(() => {
53230
53467
  });
53231
53468
 
53232
53469
  // src/mcp-server/tools/webhooksGetWebhookEndpoint.ts
53233
- var args65, tool$webhooksGetWebhookEndpoint;
53470
+ var args66, tool$webhooksGetWebhookEndpoint;
53234
53471
  var init_webhooksGetWebhookEndpoint2 = __esm(() => {
53235
53472
  init_webhooksGetWebhookEndpoint();
53236
53473
  init_operations();
53237
53474
  init_tools();
53238
- args65 = {
53475
+ args66 = {
53239
53476
  request: GetWebhookEndpointRequest$inboundSchema
53240
53477
  };
53241
53478
  tool$webhooksGetWebhookEndpoint = {
@@ -53243,9 +53480,9 @@ var init_webhooksGetWebhookEndpoint2 = __esm(() => {
53243
53480
  description: `Retrieves the webhook endpoint with the given ID.
53244
53481
 
53245
53482
  Returns the definition of a webhook endpoint by ID.`,
53246
- args: args65,
53247
- tool: async (client, args66, ctx) => {
53248
- const [result, apiCall] = await webhooksGetWebhookEndpoint(client, args66.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
53483
+ args: args66,
53484
+ tool: async (client, args67, ctx) => {
53485
+ const [result, apiCall] = await webhooksGetWebhookEndpoint(client, args67.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
53249
53486
  if (!result.ok) {
53250
53487
  return {
53251
53488
  content: [{ type: "text", text: result.error.message }],
@@ -53260,9 +53497,9 @@ Returns the definition of a webhook endpoint by ID.`,
53260
53497
 
53261
53498
  // src/funcs/webhooksListAllWebhookEndpoints.ts
53262
53499
  function webhooksListAllWebhookEndpoints(client, request, options) {
53263
- return new APIPromise($do68(client, request, options));
53500
+ return new APIPromise($do69(client, request, options));
53264
53501
  }
53265
- async function $do68(client, request, options) {
53502
+ async function $do69(client, request, options) {
53266
53503
  const parsed = safeParse(request, (value) => ListAllWebhookEndpointsRequest$outboundSchema.parse(value), "Input validation failed");
53267
53504
  if (!parsed.ok) {
53268
53505
  return [parsed, { status: "invalid" }];
@@ -53338,12 +53575,12 @@ var init_webhooksListAllWebhookEndpoints = __esm(() => {
53338
53575
  });
53339
53576
 
53340
53577
  // src/mcp-server/tools/webhooksListAllWebhookEndpoints.ts
53341
- var args66, tool$webhooksListAllWebhookEndpoints;
53578
+ var args67, tool$webhooksListAllWebhookEndpoints;
53342
53579
  var init_webhooksListAllWebhookEndpoints2 = __esm(() => {
53343
53580
  init_webhooksListAllWebhookEndpoints();
53344
53581
  init_operations();
53345
53582
  init_tools();
53346
- args66 = {
53583
+ args67 = {
53347
53584
  request: ListAllWebhookEndpointsRequest$inboundSchema
53348
53585
  };
53349
53586
  tool$webhooksListAllWebhookEndpoints = {
@@ -53351,9 +53588,9 @@ var init_webhooksListAllWebhookEndpoints2 = __esm(() => {
53351
53588
  description: `List all webhook endpoints
53352
53589
 
53353
53590
  Returns a list of your webhook endpoints.`,
53354
- args: args66,
53355
- tool: async (client, args67, ctx) => {
53356
- const [result, apiCall] = await webhooksListAllWebhookEndpoints(client, args67.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
53591
+ args: args67,
53592
+ tool: async (client, args68, ctx) => {
53593
+ const [result, apiCall] = await webhooksListAllWebhookEndpoints(client, args68.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
53357
53594
  if (!result.ok) {
53358
53595
  return {
53359
53596
  content: [{ type: "text", text: result.error.message }],
@@ -53368,9 +53605,9 @@ Returns a list of your webhook endpoints.`,
53368
53605
 
53369
53606
  // src/funcs/webhooksUpdatesTheWebhookEndpointWithTheGivenId.ts
53370
53607
  function webhooksUpdatesTheWebhookEndpointWithTheGivenId(client, request, options) {
53371
- return new APIPromise($do69(client, request, options));
53608
+ return new APIPromise($do70(client, request, options));
53372
53609
  }
53373
- async function $do69(client, request, options) {
53610
+ async function $do70(client, request, options) {
53374
53611
  const parsed = safeParse(request, (value) => UpdatesTheWebhookEndpointWithTheGivenIdRequest$outboundSchema.parse(value), "Input validation failed");
53375
53612
  if (!parsed.ok) {
53376
53613
  return [parsed, { status: "invalid" }];
@@ -53447,12 +53684,12 @@ var init_webhooksUpdatesTheWebhookEndpointWithTheGivenId = __esm(() => {
53447
53684
  });
53448
53685
 
53449
53686
  // src/mcp-server/tools/webhooksUpdatesTheWebhookEndpointWithTheGivenId.ts
53450
- var args67, tool$webhooksUpdatesTheWebhookEndpointWithTheGivenId;
53687
+ var args68, tool$webhooksUpdatesTheWebhookEndpointWithTheGivenId;
53451
53688
  var init_webhooksUpdatesTheWebhookEndpointWithTheGivenId2 = __esm(() => {
53452
53689
  init_webhooksUpdatesTheWebhookEndpointWithTheGivenId();
53453
53690
  init_operations();
53454
53691
  init_tools();
53455
- args67 = {
53692
+ args68 = {
53456
53693
  request: UpdatesTheWebhookEndpointWithTheGivenIdRequest$inboundSchema
53457
53694
  };
53458
53695
  tool$webhooksUpdatesTheWebhookEndpointWithTheGivenId = {
@@ -53460,9 +53697,9 @@ var init_webhooksUpdatesTheWebhookEndpointWithTheGivenId2 = __esm(() => {
53460
53697
  description: `Updates the webhook endpoint with the given ID.
53461
53698
 
53462
53699
  Updates the webhook endpoint with the given ID.`,
53463
- args: args67,
53464
- tool: async (client, args68, ctx) => {
53465
- const [result, apiCall] = await webhooksUpdatesTheWebhookEndpointWithTheGivenId(client, args68.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
53700
+ args: args68,
53701
+ tool: async (client, args69, ctx) => {
53702
+ const [result, apiCall] = await webhooksUpdatesTheWebhookEndpointWithTheGivenId(client, args69.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
53466
53703
  if (!result.ok) {
53467
53704
  return {
53468
53705
  content: [{ type: "text", text: result.error.message }],
@@ -53477,9 +53714,9 @@ Updates the webhook endpoint with the given ID.`,
53477
53714
 
53478
53715
  // src/funcs/zonesGetSecurityZone.ts
53479
53716
  function zonesGetSecurityZone(client, request, options) {
53480
- return new APIPromise($do70(client, request, options));
53717
+ return new APIPromise($do71(client, request, options));
53481
53718
  }
53482
- async function $do70(client, request, options) {
53719
+ async function $do71(client, request, options) {
53483
53720
  const parsed = safeParse(request, (value) => GetSecurityZoneRequest$outboundSchema.parse(value), "Input validation failed");
53484
53721
  if (!parsed.ok) {
53485
53722
  return [parsed, { status: "invalid" }];
@@ -53559,12 +53796,12 @@ var init_zonesGetSecurityZone = __esm(() => {
53559
53796
  });
53560
53797
 
53561
53798
  // src/mcp-server/tools/zonesGetSecurityZone.ts
53562
- var args68, tool$zonesGetSecurityZone;
53799
+ var args69, tool$zonesGetSecurityZone;
53563
53800
  var init_zonesGetSecurityZone2 = __esm(() => {
53564
53801
  init_zonesGetSecurityZone();
53565
53802
  init_operations();
53566
53803
  init_tools();
53567
- args68 = {
53804
+ args69 = {
53568
53805
  request: GetSecurityZoneRequest$inboundSchema
53569
53806
  };
53570
53807
  tool$zonesGetSecurityZone = {
@@ -53578,9 +53815,9 @@ Available \`expand\` scopes are:
53578
53815
  - zone.facility
53579
53816
  - zone.department
53580
53817
  - zone.rules`,
53581
- args: args68,
53582
- tool: async (client, args69, ctx) => {
53583
- const [result, apiCall] = await zonesGetSecurityZone(client, args69.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
53818
+ args: args69,
53819
+ tool: async (client, args70, ctx) => {
53820
+ const [result, apiCall] = await zonesGetSecurityZone(client, args70.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
53584
53821
  if (!result.ok) {
53585
53822
  return {
53586
53823
  content: [{ type: "text", text: result.error.message }],
@@ -53595,9 +53832,9 @@ Available \`expand\` scopes are:
53595
53832
 
53596
53833
  // src/funcs/zonesListOrSearchSecurityZones.ts
53597
53834
  function zonesListOrSearchSecurityZones(client, request, options) {
53598
- return new APIPromise($do71(client, request, options));
53835
+ return new APIPromise($do72(client, request, options));
53599
53836
  }
53600
- async function $do71(client, request, options) {
53837
+ async function $do72(client, request, options) {
53601
53838
  const parsed = safeParse(request, (value) => ListOrSearchSecurityZonesRequest$outboundSchema.parse(value), "Input validation failed");
53602
53839
  if (!parsed.ok) {
53603
53840
  return [haltIterator(parsed), { status: "invalid" }];
@@ -53711,12 +53948,12 @@ var init_zonesListOrSearchSecurityZones = __esm(() => {
53711
53948
  });
53712
53949
 
53713
53950
  // src/mcp-server/tools/zonesListOrSearchSecurityZones.ts
53714
- var args69, tool$zonesListOrSearchSecurityZones;
53951
+ var args70, tool$zonesListOrSearchSecurityZones;
53715
53952
  var init_zonesListOrSearchSecurityZones2 = __esm(() => {
53716
53953
  init_zonesListOrSearchSecurityZones();
53717
53954
  init_operations();
53718
53955
  init_tools();
53719
- args69 = {
53956
+ args70 = {
53720
53957
  request: ListOrSearchSecurityZonesRequest$inboundSchema
53721
53958
  };
53722
53959
  tool$zonesListOrSearchSecurityZones = {
@@ -53724,9 +53961,9 @@ var init_zonesListOrSearchSecurityZones2 = __esm(() => {
53724
53961
  description: `List or search security zones
53725
53962
 
53726
53963
  List or search security zones`,
53727
- args: args69,
53728
- tool: async (client, args70, ctx) => {
53729
- const [result, apiCall] = await zonesListOrSearchSecurityZones(client, args70.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
53964
+ args: args70,
53965
+ tool: async (client, args71, ctx) => {
53966
+ const [result, apiCall] = await zonesListOrSearchSecurityZones(client, args71.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
53730
53967
  if (!result.ok) {
53731
53968
  return {
53732
53969
  content: [{ type: "text", text: result.error.message }],
@@ -53741,9 +53978,9 @@ List or search security zones`,
53741
53978
 
53742
53979
  // src/funcs/zonesSecurityZoneCheckin.ts
53743
53980
  function zonesSecurityZoneCheckin(client, request, options) {
53744
- return new APIPromise($do72(client, request, options));
53981
+ return new APIPromise($do73(client, request, options));
53745
53982
  }
53746
- async function $do72(client, request, options) {
53983
+ async function $do73(client, request, options) {
53747
53984
  const parsed = safeParse(request, (value) => SecurityZoneCheckinRequestBody$outboundSchema.parse(value), "Input validation failed");
53748
53985
  if (!parsed.ok) {
53749
53986
  return [parsed, { status: "invalid" }];
@@ -53813,12 +54050,12 @@ var init_zonesSecurityZoneCheckin = __esm(() => {
53813
54050
  });
53814
54051
 
53815
54052
  // src/mcp-server/tools/zonesSecurityZoneCheckin.ts
53816
- var args70, tool$zonesSecurityZoneCheckin;
54053
+ var args71, tool$zonesSecurityZoneCheckin;
53817
54054
  var init_zonesSecurityZoneCheckin2 = __esm(() => {
53818
54055
  init_zonesSecurityZoneCheckin();
53819
54056
  init_operations();
53820
54057
  init_tools();
53821
- args70 = {
54058
+ args71 = {
53822
54059
  request: SecurityZoneCheckinRequestBody$inboundSchema
53823
54060
  };
53824
54061
  tool$zonesSecurityZoneCheckin = {
@@ -53826,9 +54063,9 @@ var init_zonesSecurityZoneCheckin2 = __esm(() => {
53826
54063
  description: `Security zone checkin request
53827
54064
 
53828
54065
  Security zone checkin request`,
53829
- args: args70,
53830
- tool: async (client, args71, ctx) => {
53831
- const [result, apiCall] = await zonesSecurityZoneCheckin(client, args71.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
54066
+ args: args71,
54067
+ tool: async (client, args72, ctx) => {
54068
+ const [result, apiCall] = await zonesSecurityZoneCheckin(client, args72.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
53832
54069
  if (!result.ok) {
53833
54070
  return {
53834
54071
  content: [{ type: "text", text: result.error.message }],
@@ -53845,7 +54082,7 @@ Security zone checkin request`,
53845
54082
  function createMCPServer(deps) {
53846
54083
  const server = new McpServer({
53847
54084
  name: "GreenSecurity",
53848
- version: "0.38.2"
54085
+ version: "0.39.4"
53849
54086
  });
53850
54087
  const client = new GreenSecurityCore({
53851
54088
  security: deps.security,
@@ -53930,6 +54167,7 @@ function createMCPServer(deps) {
53930
54167
  tool(tool$invoicesCreateInvoice);
53931
54168
  tool(tool$invoicesUpdateInvoice);
53932
54169
  tool(tool$invoicesMakePayment);
54170
+ tool(tool$eventsListOrSearchVendorInvitees);
53933
54171
  tool(tool$systemsListSystems);
53934
54172
  return server;
53935
54173
  }
@@ -53942,6 +54180,7 @@ var init_server2 = __esm(() => {
53942
54180
  init_dataRequestsAddDataRequestFile2();
53943
54181
  init_dataRequestsDeleteDataRequestFile2();
53944
54182
  init_dataRequestsUpdateDataRequest2();
54183
+ init_eventsListOrSearchVendorInvitees2();
53945
54184
  init_invoicesCreateInvoice2();
53946
54185
  init_invoicesMakePayment2();
53947
54186
  init_invoicesUpdateInvoice2();
@@ -55201,7 +55440,7 @@ var routes = rn({
55201
55440
  var app = Ve(routes, {
55202
55441
  name: "mcp",
55203
55442
  versionInfo: {
55204
- currentVersion: "0.38.2"
55443
+ currentVersion: "0.39.4"
55205
55444
  }
55206
55445
  });
55207
55446
  _t(app, process3.argv.slice(2), buildContext(process3));
@@ -55209,5 +55448,5 @@ export {
55209
55448
  app
55210
55449
  };
55211
55450
 
55212
- //# debugId=E191511C7BFC326C64756E2164756E21
55451
+ //# debugId=6001BC7B5082BCAF64756E2164756E21
55213
55452
  //# sourceMappingURL=mcp-server.js.map