@greensecurity/javascript-sdk 0.37.12 → 0.38.2

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 (194) hide show
  1. package/README.md +6 -0
  2. package/bin/mcp-server.js +858 -436
  3. package/bin/mcp-server.js.map +18 -10
  4. package/dist/commonjs/__tests__/organizations.test.js +42 -0
  5. package/dist/commonjs/__tests__/organizations.test.js.map +1 -1
  6. package/dist/commonjs/__tests__/vendors.test.js +16 -0
  7. package/dist/commonjs/__tests__/vendors.test.js.map +1 -1
  8. package/dist/commonjs/__tests__/zones.test.js +4 -19
  9. package/dist/commonjs/__tests__/zones.test.js.map +1 -1
  10. package/dist/commonjs/funcs/organizationsListOrSearchDepartmentContacts.d.ts +26 -0
  11. package/dist/commonjs/funcs/organizationsListOrSearchDepartmentContacts.d.ts.map +1 -0
  12. package/dist/commonjs/funcs/organizationsListOrSearchDepartmentContacts.js +168 -0
  13. package/dist/commonjs/funcs/organizationsListOrSearchDepartmentContacts.js.map +1 -0
  14. package/dist/commonjs/funcs/vendorsGetVendorInvoiceReceipt.d.ts +18 -0
  15. package/dist/commonjs/funcs/vendorsGetVendorInvoiceReceipt.d.ts.map +1 -0
  16. package/dist/commonjs/funcs/vendorsGetVendorInvoiceReceipt.js +125 -0
  17. package/dist/commonjs/funcs/vendorsGetVendorInvoiceReceipt.js.map +1 -0
  18. package/dist/commonjs/lib/config.d.ts +3 -3
  19. package/dist/commonjs/lib/config.js +3 -3
  20. package/dist/commonjs/lib/config.js.map +1 -1
  21. package/dist/commonjs/mcp-server/mcp-server.js +1 -1
  22. package/dist/commonjs/mcp-server/mcp-server.js.map +1 -1
  23. package/dist/commonjs/mcp-server/server.d.ts.map +1 -1
  24. package/dist/commonjs/mcp-server/server.js +5 -1
  25. package/dist/commonjs/mcp-server/server.js.map +1 -1
  26. package/dist/commonjs/mcp-server/tools/organizationsListOrSearchDepartmentContacts.d.ts +8 -0
  27. package/dist/commonjs/mcp-server/tools/organizationsListOrSearchDepartmentContacts.d.ts.map +1 -0
  28. package/dist/commonjs/mcp-server/tools/organizationsListOrSearchDepartmentContacts.js +69 -0
  29. package/dist/commonjs/mcp-server/tools/organizationsListOrSearchDepartmentContacts.js.map +1 -0
  30. package/dist/commonjs/mcp-server/tools/vendorsGetVendorInvoiceReceipt.d.ts +8 -0
  31. package/dist/commonjs/mcp-server/tools/vendorsGetVendorInvoiceReceipt.d.ts.map +1 -0
  32. package/dist/commonjs/mcp-server/tools/vendorsGetVendorInvoiceReceipt.js +64 -0
  33. package/dist/commonjs/mcp-server/tools/vendorsGetVendorInvoiceReceipt.js.map +1 -0
  34. package/dist/commonjs/models/components/contact.d.ts +30 -4
  35. package/dist/commonjs/models/components/contact.d.ts.map +1 -1
  36. package/dist/commonjs/models/components/contact.js +35 -5
  37. package/dist/commonjs/models/components/contact.js.map +1 -1
  38. package/dist/commonjs/models/components/departmentmembership.d.ts +80 -0
  39. package/dist/commonjs/models/components/departmentmembership.d.ts.map +1 -0
  40. package/dist/commonjs/models/components/departmentmembership.js +123 -0
  41. package/dist/commonjs/models/components/departmentmembership.js.map +1 -0
  42. package/dist/commonjs/models/components/expand.d.ts +6 -0
  43. package/dist/commonjs/models/components/expand.d.ts.map +1 -1
  44. package/dist/commonjs/models/components/expand.js +2 -0
  45. package/dist/commonjs/models/components/expand.js.map +1 -1
  46. package/dist/commonjs/models/components/index.d.ts +2 -0
  47. package/dist/commonjs/models/components/index.d.ts.map +1 -1
  48. package/dist/commonjs/models/components/index.js +2 -0
  49. package/dist/commonjs/models/components/index.js.map +1 -1
  50. package/dist/commonjs/models/components/usersummary.d.ts +34 -0
  51. package/dist/commonjs/models/components/usersummary.d.ts.map +1 -0
  52. package/dist/commonjs/models/components/usersummary.js +71 -0
  53. package/dist/commonjs/models/components/usersummary.js.map +1 -0
  54. package/dist/commonjs/models/operations/getvendorinvoicereceipt.d.ts +32 -0
  55. package/dist/commonjs/models/operations/getvendorinvoicereceipt.d.ts.map +1 -0
  56. package/dist/commonjs/models/operations/getvendorinvoicereceipt.js +69 -0
  57. package/dist/commonjs/models/operations/getvendorinvoicereceipt.js.map +1 -0
  58. package/dist/commonjs/models/operations/index.d.ts +2 -0
  59. package/dist/commonjs/models/operations/index.d.ts.map +1 -1
  60. package/dist/commonjs/models/operations/index.js +2 -0
  61. package/dist/commonjs/models/operations/index.js.map +1 -1
  62. package/dist/commonjs/models/operations/listorsearchdepartmentcontacts.d.ts +121 -0
  63. package/dist/commonjs/models/operations/listorsearchdepartmentcontacts.d.ts.map +1 -0
  64. package/dist/commonjs/models/operations/listorsearchdepartmentcontacts.js +155 -0
  65. package/dist/commonjs/models/operations/listorsearchdepartmentcontacts.js.map +1 -0
  66. package/dist/commonjs/react-query/index.d.ts +2 -0
  67. package/dist/commonjs/react-query/index.d.ts.map +1 -1
  68. package/dist/commonjs/react-query/index.js +2 -0
  69. package/dist/commonjs/react-query/index.js.map +1 -1
  70. package/dist/commonjs/react-query/organizationsListOrSearchDepartmentContacts.d.ts +103 -0
  71. package/dist/commonjs/react-query/organizationsListOrSearchDepartmentContacts.d.ts.map +1 -0
  72. package/dist/commonjs/react-query/organizationsListOrSearchDepartmentContacts.js +184 -0
  73. package/dist/commonjs/react-query/organizationsListOrSearchDepartmentContacts.js.map +1 -0
  74. package/dist/commonjs/react-query/vendorsGetVendorInvoiceReceipt.d.ts +30 -0
  75. package/dist/commonjs/react-query/vendorsGetVendorInvoiceReceipt.d.ts.map +1 -0
  76. package/dist/commonjs/react-query/vendorsGetVendorInvoiceReceipt.js +96 -0
  77. package/dist/commonjs/react-query/vendorsGetVendorInvoiceReceipt.js.map +1 -0
  78. package/dist/commonjs/sdk/organizations.d.ts +14 -0
  79. package/dist/commonjs/sdk/organizations.d.ts.map +1 -1
  80. package/dist/commonjs/sdk/organizations.js +15 -0
  81. package/dist/commonjs/sdk/organizations.js.map +1 -1
  82. package/dist/commonjs/sdk/vendors.d.ts +7 -0
  83. package/dist/commonjs/sdk/vendors.d.ts.map +1 -1
  84. package/dist/commonjs/sdk/vendors.js +10 -0
  85. package/dist/commonjs/sdk/vendors.js.map +1 -1
  86. package/dist/esm/__tests__/organizations.test.js +42 -0
  87. package/dist/esm/__tests__/organizations.test.js.map +1 -1
  88. package/dist/esm/__tests__/vendors.test.js +16 -0
  89. package/dist/esm/__tests__/vendors.test.js.map +1 -1
  90. package/dist/esm/__tests__/zones.test.js +4 -19
  91. package/dist/esm/__tests__/zones.test.js.map +1 -1
  92. package/dist/esm/funcs/organizationsListOrSearchDepartmentContacts.d.ts +26 -0
  93. package/dist/esm/funcs/organizationsListOrSearchDepartmentContacts.d.ts.map +1 -0
  94. package/dist/esm/funcs/organizationsListOrSearchDepartmentContacts.js +132 -0
  95. package/dist/esm/funcs/organizationsListOrSearchDepartmentContacts.js.map +1 -0
  96. package/dist/esm/funcs/vendorsGetVendorInvoiceReceipt.d.ts +18 -0
  97. package/dist/esm/funcs/vendorsGetVendorInvoiceReceipt.d.ts.map +1 -0
  98. package/dist/esm/funcs/vendorsGetVendorInvoiceReceipt.js +89 -0
  99. package/dist/esm/funcs/vendorsGetVendorInvoiceReceipt.js.map +1 -0
  100. package/dist/esm/lib/config.d.ts +3 -3
  101. package/dist/esm/lib/config.js +3 -3
  102. package/dist/esm/lib/config.js.map +1 -1
  103. package/dist/esm/mcp-server/mcp-server.js +1 -1
  104. package/dist/esm/mcp-server/mcp-server.js.map +1 -1
  105. package/dist/esm/mcp-server/server.d.ts.map +1 -1
  106. package/dist/esm/mcp-server/server.js +5 -1
  107. package/dist/esm/mcp-server/server.js.map +1 -1
  108. package/dist/esm/mcp-server/tools/organizationsListOrSearchDepartmentContacts.d.ts +8 -0
  109. package/dist/esm/mcp-server/tools/organizationsListOrSearchDepartmentContacts.d.ts.map +1 -0
  110. package/dist/esm/mcp-server/tools/organizationsListOrSearchDepartmentContacts.js +33 -0
  111. package/dist/esm/mcp-server/tools/organizationsListOrSearchDepartmentContacts.js.map +1 -0
  112. package/dist/esm/mcp-server/tools/vendorsGetVendorInvoiceReceipt.d.ts +8 -0
  113. package/dist/esm/mcp-server/tools/vendorsGetVendorInvoiceReceipt.d.ts.map +1 -0
  114. package/dist/esm/mcp-server/tools/vendorsGetVendorInvoiceReceipt.js +28 -0
  115. package/dist/esm/mcp-server/tools/vendorsGetVendorInvoiceReceipt.js.map +1 -0
  116. package/dist/esm/models/components/contact.d.ts +30 -4
  117. package/dist/esm/models/components/contact.d.ts.map +1 -1
  118. package/dist/esm/models/components/contact.js +32 -4
  119. package/dist/esm/models/components/contact.js.map +1 -1
  120. package/dist/esm/models/components/departmentmembership.d.ts +80 -0
  121. package/dist/esm/models/components/departmentmembership.d.ts.map +1 -0
  122. package/dist/esm/models/components/departmentmembership.js +81 -0
  123. package/dist/esm/models/components/departmentmembership.js.map +1 -0
  124. package/dist/esm/models/components/expand.d.ts +6 -0
  125. package/dist/esm/models/components/expand.d.ts.map +1 -1
  126. package/dist/esm/models/components/expand.js +2 -0
  127. package/dist/esm/models/components/expand.js.map +1 -1
  128. package/dist/esm/models/components/index.d.ts +2 -0
  129. package/dist/esm/models/components/index.d.ts.map +1 -1
  130. package/dist/esm/models/components/index.js +2 -0
  131. package/dist/esm/models/components/index.js.map +1 -1
  132. package/dist/esm/models/components/usersummary.d.ts +34 -0
  133. package/dist/esm/models/components/usersummary.d.ts.map +1 -0
  134. package/dist/esm/models/components/usersummary.js +33 -0
  135. package/dist/esm/models/components/usersummary.js.map +1 -0
  136. package/dist/esm/models/operations/getvendorinvoicereceipt.d.ts +32 -0
  137. package/dist/esm/models/operations/getvendorinvoicereceipt.d.ts.map +1 -0
  138. package/dist/esm/models/operations/getvendorinvoicereceipt.js +31 -0
  139. package/dist/esm/models/operations/getvendorinvoicereceipt.js.map +1 -0
  140. package/dist/esm/models/operations/index.d.ts +2 -0
  141. package/dist/esm/models/operations/index.d.ts.map +1 -1
  142. package/dist/esm/models/operations/index.js +2 -0
  143. package/dist/esm/models/operations/index.js.map +1 -1
  144. package/dist/esm/models/operations/listorsearchdepartmentcontacts.d.ts +121 -0
  145. package/dist/esm/models/operations/listorsearchdepartmentcontacts.d.ts.map +1 -0
  146. package/dist/esm/models/operations/listorsearchdepartmentcontacts.js +113 -0
  147. package/dist/esm/models/operations/listorsearchdepartmentcontacts.js.map +1 -0
  148. package/dist/esm/react-query/index.d.ts +2 -0
  149. package/dist/esm/react-query/index.d.ts.map +1 -1
  150. package/dist/esm/react-query/index.js +2 -0
  151. package/dist/esm/react-query/index.js.map +1 -1
  152. package/dist/esm/react-query/organizationsListOrSearchDepartmentContacts.d.ts +103 -0
  153. package/dist/esm/react-query/organizationsListOrSearchDepartmentContacts.d.ts.map +1 -0
  154. package/dist/esm/react-query/organizationsListOrSearchDepartmentContacts.js +171 -0
  155. package/dist/esm/react-query/organizationsListOrSearchDepartmentContacts.js.map +1 -0
  156. package/dist/esm/react-query/vendorsGetVendorInvoiceReceipt.d.ts +30 -0
  157. package/dist/esm/react-query/vendorsGetVendorInvoiceReceipt.d.ts.map +1 -0
  158. package/dist/esm/react-query/vendorsGetVendorInvoiceReceipt.js +86 -0
  159. package/dist/esm/react-query/vendorsGetVendorInvoiceReceipt.js.map +1 -0
  160. package/dist/esm/sdk/organizations.d.ts +14 -0
  161. package/dist/esm/sdk/organizations.d.ts.map +1 -1
  162. package/dist/esm/sdk/organizations.js +15 -0
  163. package/dist/esm/sdk/organizations.js.map +1 -1
  164. package/dist/esm/sdk/vendors.d.ts +7 -0
  165. package/dist/esm/sdk/vendors.d.ts.map +1 -1
  166. package/dist/esm/sdk/vendors.js +10 -0
  167. package/dist/esm/sdk/vendors.js.map +1 -1
  168. package/examples/package-lock.json +1 -1
  169. package/examples/vendorsCreateVendorRegistration.example.ts +2 -0
  170. package/jsr.json +1 -1
  171. package/package.json +1 -1
  172. package/src/__tests__/organizations.test.ts +45 -0
  173. package/src/__tests__/vendors.test.ts +21 -0
  174. package/src/__tests__/zones.test.ts +4 -19
  175. package/src/funcs/organizationsListOrSearchDepartmentContacts.ts +270 -0
  176. package/src/funcs/vendorsGetVendorInvoiceReceipt.ts +179 -0
  177. package/src/lib/config.ts +3 -3
  178. package/src/mcp-server/mcp-server.ts +1 -1
  179. package/src/mcp-server/server.ts +5 -1
  180. package/src/mcp-server/tools/organizationsListOrSearchDepartmentContacts.ts +44 -0
  181. package/src/mcp-server/tools/vendorsGetVendorInvoiceReceipt.ts +38 -0
  182. package/src/models/components/contact.ts +74 -8
  183. package/src/models/components/departmentmembership.ts +201 -0
  184. package/src/models/components/expand.ts +2 -0
  185. package/src/models/components/index.ts +2 -0
  186. package/src/models/components/usersummary.ts +69 -0
  187. package/src/models/operations/getvendorinvoicereceipt.ts +71 -0
  188. package/src/models/operations/index.ts +2 -0
  189. package/src/models/operations/listorsearchdepartmentcontacts.ts +280 -0
  190. package/src/react-query/index.ts +2 -0
  191. package/src/react-query/organizationsListOrSearchDepartmentContacts.ts +386 -0
  192. package/src/react-query/vendorsGetVendorInvoiceReceipt.ts +167 -0
  193. package/src/sdk/organizations.ts +28 -0
  194. package/src/sdk/vendors.ts +18 -0
package/bin/mcp-server.js CHANGED
@@ -34160,9 +34160,9 @@ var init_config = __esm(() => {
34160
34160
  SDK_METADATA = {
34161
34161
  language: "typescript",
34162
34162
  openapiDocVersion: "0.0.3",
34163
- sdkVersion: "0.37.12",
34164
- genVersion: "2.656.5",
34165
- userAgent: "speakeasy-sdk/typescript 0.37.12 2.656.5 0.0.3 @greensecurity/javascript-sdk"
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"
34166
34166
  };
34167
34167
  });
34168
34168
 
@@ -35317,6 +35317,9 @@ 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
+ }
35320
35323
  function fail(codes) {
35321
35324
  return { enc: "fail", codes };
35322
35325
  }
@@ -36556,13 +36559,32 @@ var init_systemsummary = __esm(() => {
36556
36559
  })(SystemSummary$ ||= {});
36557
36560
  });
36558
36561
 
36562
+ // src/models/components/usersummary.ts
36563
+ var UserSummary$inboundSchema, UserSummary$outboundSchema, UserSummary$;
36564
+ var init_usersummary = __esm(() => {
36565
+ init_esm();
36566
+ UserSummary$inboundSchema = objectType({
36567
+ id: numberType().int(),
36568
+ name: stringType()
36569
+ });
36570
+ UserSummary$outboundSchema = objectType({
36571
+ id: numberType().int(),
36572
+ name: stringType()
36573
+ });
36574
+ ((UserSummary$) => {
36575
+ UserSummary$.inboundSchema = UserSummary$inboundSchema;
36576
+ UserSummary$.outboundSchema = UserSummary$outboundSchema;
36577
+ })(UserSummary$ ||= {});
36578
+ });
36579
+
36559
36580
  // src/models/components/contact.ts
36560
- var Status, ContactFacility$inboundSchema, ContactFacility$outboundSchema, ContactFacility$, System$inboundSchema, System$outboundSchema, System$, Status$inboundSchema, Status$outboundSchema, Status$, ContactDepartment$inboundSchema, ContactDepartment$outboundSchema, ContactDepartment$, Contact$inboundSchema, Contact$outboundSchema, Contact$;
36581
+ var Status, ContactFacility$inboundSchema, ContactFacility$outboundSchema, ContactFacility$, System$inboundSchema, System$outboundSchema, System$, ContactUser$inboundSchema, ContactUser$outboundSchema, ContactUser$, Status$inboundSchema, Status$outboundSchema, Status$, ContactDepartment$inboundSchema, ContactDepartment$outboundSchema, ContactDepartment$, Contact$inboundSchema, Contact$outboundSchema, Contact$;
36561
36582
  var init_contact = __esm(() => {
36562
36583
  init_esm();
36563
36584
  init_departmentsummary();
36564
36585
  init_facilitysummary();
36565
36586
  init_systemsummary();
36587
+ init_usersummary();
36566
36588
  Status = {
36567
36589
  Active: "Active",
36568
36590
  Inactive: "Inactive",
@@ -36580,6 +36602,12 @@ var init_contact = __esm(() => {
36580
36602
  System$.inboundSchema = System$inboundSchema;
36581
36603
  System$.outboundSchema = System$outboundSchema;
36582
36604
  })(System$ ||= {});
36605
+ ContactUser$inboundSchema = unionType([UserSummary$inboundSchema, numberType().int()]);
36606
+ ContactUser$outboundSchema = unionType([UserSummary$outboundSchema, numberType().int()]);
36607
+ ((ContactUser$) => {
36608
+ ContactUser$.inboundSchema = ContactUser$inboundSchema;
36609
+ ContactUser$.outboundSchema = ContactUser$outboundSchema;
36610
+ })(ContactUser$ ||= {});
36583
36611
  Status$inboundSchema = nativeEnumType(Status);
36584
36612
  Status$outboundSchema = Status$inboundSchema;
36585
36613
  ((Status$) => {
@@ -36593,15 +36621,19 @@ var init_contact = __esm(() => {
36593
36621
  ContactDepartment$.outboundSchema = ContactDepartment$outboundSchema;
36594
36622
  })(ContactDepartment$ ||= {});
36595
36623
  Contact$inboundSchema = objectType({
36596
- facility: unionType([FacilitySummary$inboundSchema, numberType().int()]).optional(),
36597
- system: unionType([SystemSummary$inboundSchema, numberType().int()]).optional(),
36624
+ id: numberType().int().optional(),
36625
+ facility: nullableType(unionType([FacilitySummary$inboundSchema, numberType().int()])).optional(),
36626
+ system: nullableType(unionType([SystemSummary$inboundSchema, numberType().int()])).optional(),
36627
+ user: nullableType(unionType([UserSummary$inboundSchema, numberType().int()])).optional(),
36598
36628
  status: Status$inboundSchema,
36599
36629
  position: nullableType(stringType()).optional(),
36600
36630
  department: nullableType(unionType([DepartmentSummary$inboundSchema, numberType().int()])).optional()
36601
36631
  });
36602
36632
  Contact$outboundSchema = objectType({
36603
- facility: unionType([FacilitySummary$outboundSchema, numberType().int()]).optional(),
36604
- system: unionType([SystemSummary$outboundSchema, numberType().int()]).optional(),
36633
+ id: numberType().int().optional(),
36634
+ facility: nullableType(unionType([FacilitySummary$outboundSchema, numberType().int()])).optional(),
36635
+ system: nullableType(unionType([SystemSummary$outboundSchema, numberType().int()])).optional(),
36636
+ user: nullableType(unionType([UserSummary$outboundSchema, numberType().int()])).optional(),
36605
36637
  status: Status$outboundSchema,
36606
36638
  position: nullableType(stringType()).optional(),
36607
36639
  department: nullableType(unionType([DepartmentSummary$outboundSchema, numberType().int()])).optional()
@@ -37068,6 +37100,40 @@ var init_department = __esm(() => {
37068
37100
  })(Department$ ||= {});
37069
37101
  });
37070
37102
 
37103
+ // src/models/components/departmentmembership.ts
37104
+ var DepartmentMembershipDepartment$inboundSchema, DepartmentMembershipDepartment$outboundSchema, DepartmentMembershipDepartment$, DepartmentMembershipContact$inboundSchema, DepartmentMembershipContact$outboundSchema, DepartmentMembershipContact$, DepartmentMembership$inboundSchema, DepartmentMembership$outboundSchema, DepartmentMembership$;
37105
+ var init_departmentmembership = __esm(() => {
37106
+ init_esm();
37107
+ init_contact();
37108
+ init_departmentsummary();
37109
+ DepartmentMembershipDepartment$inboundSchema = unionType([DepartmentSummary$inboundSchema, numberType().int()]);
37110
+ DepartmentMembershipDepartment$outboundSchema = unionType([DepartmentSummary$outboundSchema, numberType().int()]);
37111
+ ((DepartmentMembershipDepartment$) => {
37112
+ DepartmentMembershipDepartment$.inboundSchema = DepartmentMembershipDepartment$inboundSchema;
37113
+ DepartmentMembershipDepartment$.outboundSchema = DepartmentMembershipDepartment$outboundSchema;
37114
+ })(DepartmentMembershipDepartment$ ||= {});
37115
+ DepartmentMembershipContact$inboundSchema = unionType([Contact$inboundSchema, numberType().int()]);
37116
+ DepartmentMembershipContact$outboundSchema = unionType([Contact$outboundSchema, numberType().int()]);
37117
+ ((DepartmentMembershipContact$) => {
37118
+ DepartmentMembershipContact$.inboundSchema = DepartmentMembershipContact$inboundSchema;
37119
+ DepartmentMembershipContact$.outboundSchema = DepartmentMembershipContact$outboundSchema;
37120
+ })(DepartmentMembershipContact$ ||= {});
37121
+ DepartmentMembership$inboundSchema = objectType({
37122
+ id: numberType().int(),
37123
+ department: nullableType(unionType([DepartmentSummary$inboundSchema, numberType().int()])).optional(),
37124
+ contact: nullableType(unionType([Contact$inboundSchema, numberType().int()])).optional()
37125
+ });
37126
+ DepartmentMembership$outboundSchema = objectType({
37127
+ id: numberType().int(),
37128
+ department: nullableType(unionType([DepartmentSummary$outboundSchema, numberType().int()])).optional(),
37129
+ contact: nullableType(unionType([Contact$outboundSchema, numberType().int()])).optional()
37130
+ });
37131
+ ((DepartmentMembership$) => {
37132
+ DepartmentMembership$.inboundSchema = DepartmentMembership$inboundSchema;
37133
+ DepartmentMembership$.outboundSchema = DepartmentMembership$outboundSchema;
37134
+ })(DepartmentMembership$ ||= {});
37135
+ });
37136
+
37071
37137
  // src/models/components/desc.ts
37072
37138
  var Desc$inboundSchema, Desc$outboundSchema, Desc$;
37073
37139
  var init_desc = __esm(() => {
@@ -37147,7 +37213,9 @@ var init_expand = __esm(() => {
37147
37213
  ZoneDepartment: "zone.department",
37148
37214
  ZoneRules: "zone.rules",
37149
37215
  SystemFacilities: "system.facilities",
37150
- SubscriptionExpeditedOffer: "subscription.expedited_offer"
37216
+ SubscriptionExpeditedOffer: "subscription.expedited_offer",
37217
+ DepartmentMembershipContact: "department_membership.contact",
37218
+ DepartmentMembershipDepartment: "department_membership.department"
37151
37219
  };
37152
37220
  Expand$inboundSchema = nativeEnumType(Expand);
37153
37221
  Expand$outboundSchema = Expand$inboundSchema;
@@ -40534,6 +40602,7 @@ var init_components = __esm(() => {
40534
40602
  init_credit();
40535
40603
  init_datarequest();
40536
40604
  init_department();
40605
+ init_departmentmembership();
40537
40606
  init_departmentsummary();
40538
40607
  init_desc();
40539
40608
  init_expand();
@@ -40566,6 +40635,7 @@ var init_components = __esm(() => {
40566
40635
  init_systemsummary();
40567
40636
  init_user();
40568
40637
  init_userlocation();
40638
+ init_usersummary();
40569
40639
  init_vendor();
40570
40640
  init_vendoradditionalfacilityfields();
40571
40641
  init_vendorcredentialdatarequest();
@@ -41944,6 +42014,22 @@ var init_getvendorinvoicedetails = __esm(() => {
41944
42014
  })(GetVendorInvoiceDetailsRequest$ ||= {});
41945
42015
  });
41946
42016
 
42017
+ // src/models/operations/getvendorinvoicereceipt.ts
42018
+ var GetVendorInvoiceReceiptRequest$inboundSchema, GetVendorInvoiceReceiptRequest$outboundSchema, GetVendorInvoiceReceiptRequest$;
42019
+ var init_getvendorinvoicereceipt = __esm(() => {
42020
+ init_esm();
42021
+ GetVendorInvoiceReceiptRequest$inboundSchema = objectType({
42022
+ id: numberType().int()
42023
+ });
42024
+ GetVendorInvoiceReceiptRequest$outboundSchema = objectType({
42025
+ id: numberType().int()
42026
+ });
42027
+ ((GetVendorInvoiceReceiptRequest$) => {
42028
+ GetVendorInvoiceReceiptRequest$.inboundSchema = GetVendorInvoiceReceiptRequest$inboundSchema;
42029
+ GetVendorInvoiceReceiptRequest$.outboundSchema = GetVendorInvoiceReceiptRequest$outboundSchema;
42030
+ })(GetVendorInvoiceReceiptRequest$ ||= {});
42031
+ });
42032
+
41947
42033
  // src/models/operations/getvendorlegalname.ts
41948
42034
  var GetVendorLegalNameRequest$inboundSchema, GetVendorLegalNameRequest$outboundSchema, GetVendorLegalNameRequest$, GetVendorLegalNameResponseBody$inboundSchema, GetVendorLegalNameResponseBody$outboundSchema, GetVendorLegalNameResponseBody$;
41949
42035
  var init_getvendorlegalname = __esm(() => {
@@ -42149,6 +42235,74 @@ var init_listorsearchcompanies = __esm(() => {
42149
42235
  })(ListOrSearchCompaniesResponse$ ||= {});
42150
42236
  });
42151
42237
 
42238
+ // src/models/operations/listorsearchdepartmentcontacts.ts
42239
+ var ListOrSearchDepartmentContactsRequest$inboundSchema, ListOrSearchDepartmentContactsRequest$outboundSchema, ListOrSearchDepartmentContactsRequest$, ListOrSearchDepartmentContactsResponseBody$inboundSchema, ListOrSearchDepartmentContactsResponseBody$outboundSchema, ListOrSearchDepartmentContactsResponseBody$, ListOrSearchDepartmentContactsResponse$inboundSchema, ListOrSearchDepartmentContactsResponse$outboundSchema, ListOrSearchDepartmentContactsResponse$;
42240
+ var init_listorsearchdepartmentcontacts = __esm(() => {
42241
+ init_esm();
42242
+ init_primitives();
42243
+ init_components();
42244
+ ListOrSearchDepartmentContactsRequest$inboundSchema = objectType({
42245
+ id: numberType().int(),
42246
+ sort: nullableType(stringType()).optional(),
42247
+ desc: Desc$inboundSchema.optional(),
42248
+ page: numberType().int().optional(),
42249
+ items_per_page: numberType().int().optional(),
42250
+ search: stringType().optional(),
42251
+ expand: arrayType(Expand$inboundSchema).optional()
42252
+ }).transform((v2) => {
42253
+ return remap(v2, {
42254
+ items_per_page: "itemsPerPage"
42255
+ });
42256
+ });
42257
+ ListOrSearchDepartmentContactsRequest$outboundSchema = objectType({
42258
+ id: numberType().int(),
42259
+ sort: nullableType(stringType()).optional(),
42260
+ desc: Desc$outboundSchema.optional(),
42261
+ page: numberType().int().optional(),
42262
+ itemsPerPage: numberType().int().optional(),
42263
+ search: stringType().optional(),
42264
+ expand: arrayType(Expand$outboundSchema).optional()
42265
+ }).transform((v2) => {
42266
+ return remap(v2, {
42267
+ itemsPerPage: "items_per_page"
42268
+ });
42269
+ });
42270
+ ((ListOrSearchDepartmentContactsRequest$) => {
42271
+ ListOrSearchDepartmentContactsRequest$.inboundSchema = ListOrSearchDepartmentContactsRequest$inboundSchema;
42272
+ ListOrSearchDepartmentContactsRequest$.outboundSchema = ListOrSearchDepartmentContactsRequest$outboundSchema;
42273
+ })(ListOrSearchDepartmentContactsRequest$ ||= {});
42274
+ ListOrSearchDepartmentContactsResponseBody$inboundSchema = objectType({
42275
+ pager: Pager$inboundSchema,
42276
+ items: arrayType(nullableType(DepartmentMembership$inboundSchema))
42277
+ });
42278
+ ListOrSearchDepartmentContactsResponseBody$outboundSchema = objectType({
42279
+ pager: Pager$outboundSchema,
42280
+ items: arrayType(nullableType(DepartmentMembership$outboundSchema))
42281
+ });
42282
+ ((ListOrSearchDepartmentContactsResponseBody$) => {
42283
+ ListOrSearchDepartmentContactsResponseBody$.inboundSchema = ListOrSearchDepartmentContactsResponseBody$inboundSchema;
42284
+ ListOrSearchDepartmentContactsResponseBody$.outboundSchema = ListOrSearchDepartmentContactsResponseBody$outboundSchema;
42285
+ })(ListOrSearchDepartmentContactsResponseBody$ ||= {});
42286
+ ListOrSearchDepartmentContactsResponse$inboundSchema = objectType({
42287
+ Result: lazyType(() => ListOrSearchDepartmentContactsResponseBody$inboundSchema)
42288
+ }).transform((v2) => {
42289
+ return remap(v2, {
42290
+ Result: "result"
42291
+ });
42292
+ });
42293
+ ListOrSearchDepartmentContactsResponse$outboundSchema = objectType({
42294
+ result: lazyType(() => ListOrSearchDepartmentContactsResponseBody$outboundSchema)
42295
+ }).transform((v2) => {
42296
+ return remap(v2, {
42297
+ result: "Result"
42298
+ });
42299
+ });
42300
+ ((ListOrSearchDepartmentContactsResponse$) => {
42301
+ ListOrSearchDepartmentContactsResponse$.inboundSchema = ListOrSearchDepartmentContactsResponse$inboundSchema;
42302
+ ListOrSearchDepartmentContactsResponse$.outboundSchema = ListOrSearchDepartmentContactsResponse$outboundSchema;
42303
+ })(ListOrSearchDepartmentContactsResponse$ ||= {});
42304
+ });
42305
+
42152
42306
  // src/models/operations/listorsearchdepartments.ts
42153
42307
  var ListOrSearchDepartmentsRequest$inboundSchema, ListOrSearchDepartmentsRequest$outboundSchema, ListOrSearchDepartmentsRequest$, ListOrSearchDepartmentsResponseBody$inboundSchema, ListOrSearchDepartmentsResponseBody$outboundSchema, ListOrSearchDepartmentsResponseBody$, ListOrSearchDepartmentsResponse$inboundSchema, ListOrSearchDepartmentsResponse$outboundSchema, ListOrSearchDepartmentsResponse$;
42154
42308
  var init_listorsearchdepartments = __esm(() => {
@@ -45031,11 +45185,13 @@ var init_operations = __esm(() => {
45031
45185
  init_getvendorcredentialdetails();
45032
45186
  init_getvendorcredentialfile();
45033
45187
  init_getvendorinvoicedetails();
45188
+ init_getvendorinvoicereceipt();
45034
45189
  init_getvendorlegalname();
45035
45190
  init_getvendorsdetails();
45036
45191
  init_getwebhookendpoint();
45037
45192
  init_listallwebhookendpoints();
45038
45193
  init_listorsearchcompanies();
45194
+ init_listorsearchdepartmentcontacts();
45039
45195
  init_listorsearchdepartments();
45040
45196
  init_listorsearchfacilities();
45041
45197
  init_listorsearchsecurityzones();
@@ -46046,11 +46202,163 @@ Retrieve an individual facility.`,
46046
46202
  };
46047
46203
  });
46048
46204
 
46049
- // src/funcs/organizationsListOrSearchDepartments.ts
46050
- function organizationsListOrSearchDepartments(client, request, options) {
46205
+ // src/funcs/organizationsListOrSearchDepartmentContacts.ts
46206
+ function organizationsListOrSearchDepartmentContacts(client, request, options) {
46051
46207
  return new APIPromise($do9(client, request, options));
46052
46208
  }
46053
46209
  async function $do9(client, request, options) {
46210
+ const parsed = safeParse(request, (value) => ListOrSearchDepartmentContactsRequest$outboundSchema.parse(value), "Input validation failed");
46211
+ if (!parsed.ok) {
46212
+ return [haltIterator(parsed), { status: "invalid" }];
46213
+ }
46214
+ const payload = parsed.value;
46215
+ const body = null;
46216
+ const pathParams = {
46217
+ id: encodeSimple("id", payload.id, {
46218
+ explode: false,
46219
+ charEncoding: "percent"
46220
+ })
46221
+ };
46222
+ const path = pathToFunc("/departments/{id}/contacts")(pathParams);
46223
+ const query = queryJoin(encodeFormQuery({
46224
+ expand: payload.expand
46225
+ }, { explode: false }), encodeFormQuery({
46226
+ desc: payload.desc,
46227
+ items_per_page: payload.items_per_page,
46228
+ page: payload.page,
46229
+ search: payload.search,
46230
+ sort: payload.sort
46231
+ }));
46232
+ const headers = new Headers(compactMap({
46233
+ Accept: "application/json"
46234
+ }));
46235
+ const securityInput = await extractSecurity(client._options.security);
46236
+ const requestSecurity = resolveGlobalSecurity(securityInput);
46237
+ const context = {
46238
+ options: client._options,
46239
+ baseURL: options?.serverURL ?? client._baseURL ?? "",
46240
+ operationID: "listOrSearchDepartmentContacts",
46241
+ oAuth2Scopes: [],
46242
+ resolvedSecurity: requestSecurity,
46243
+ securitySource: client._options.security,
46244
+ retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
46245
+ retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
46246
+ };
46247
+ const requestRes = client._createRequest(context, {
46248
+ security: requestSecurity,
46249
+ method: "GET",
46250
+ baseURL: options?.serverURL,
46251
+ path,
46252
+ headers,
46253
+ query,
46254
+ body,
46255
+ userAgent: client._options.userAgent,
46256
+ timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
46257
+ }, options);
46258
+ if (!requestRes.ok) {
46259
+ return [haltIterator(requestRes), { status: "invalid" }];
46260
+ }
46261
+ const req = requestRes.value;
46262
+ const doResult = await client._do(req, {
46263
+ context,
46264
+ errorCodes: ["400", "401", "403", "4XX", "500", "5XX"],
46265
+ retryConfig: context.retryConfig,
46266
+ retryCodes: context.retryCodes
46267
+ });
46268
+ if (!doResult.ok) {
46269
+ return [haltIterator(doResult), { status: "request-error", request: req }];
46270
+ }
46271
+ const response = doResult.value;
46272
+ const responseFields = {
46273
+ HttpMeta: { Response: response, Request: req }
46274
+ };
46275
+ const [result, raw] = await match(json(200, ListOrSearchDepartmentContactsResponse$inboundSchema, { key: "Result" }), jsonErr([400, 401, 403], ApiErrorResponse$inboundSchema), jsonErr(500, ApiErrorResponse$inboundSchema), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
46276
+ if (!result.ok) {
46277
+ return [haltIterator(result), {
46278
+ status: "complete",
46279
+ request: req,
46280
+ response
46281
+ }];
46282
+ }
46283
+ const nextFunc = (responseData) => {
46284
+ const page2 = request?.page ?? 1;
46285
+ const nextPage = page2 + 1;
46286
+ if (!responseData) {
46287
+ return { next: () => null };
46288
+ }
46289
+ const results = dlv(responseData, "items");
46290
+ if (!Array.isArray(results) || !results.length) {
46291
+ return { next: () => null };
46292
+ }
46293
+ const limit = request?.itemsPerPage ?? 0;
46294
+ if (results.length < limit) {
46295
+ return { next: () => null };
46296
+ }
46297
+ const nextVal = () => organizationsListOrSearchDepartmentContacts(client, {
46298
+ ...request,
46299
+ page: nextPage
46300
+ }, options);
46301
+ return { next: nextVal, "~next": { page: nextPage } };
46302
+ };
46303
+ const page = { ...result, ...nextFunc(raw) };
46304
+ return [{ ...page, ...createPageIterator(page, (v2) => !v2.ok) }, {
46305
+ status: "complete",
46306
+ request: req,
46307
+ response
46308
+ }];
46309
+ }
46310
+ var init_organizationsListOrSearchDepartmentContacts = __esm(() => {
46311
+ init_encodings();
46312
+ init_matchers();
46313
+ init_primitives();
46314
+ init_schemas();
46315
+ init_security();
46316
+ init_url();
46317
+ init_errors2();
46318
+ init_operations();
46319
+ init_async();
46320
+ init_operations2();
46321
+ });
46322
+
46323
+ // src/mcp-server/tools/organizationsListOrSearchDepartmentContacts.ts
46324
+ var args9, tool$organizationsListOrSearchDepartmentContacts;
46325
+ var init_organizationsListOrSearchDepartmentContacts2 = __esm(() => {
46326
+ init_organizationsListOrSearchDepartmentContacts();
46327
+ init_operations();
46328
+ init_tools();
46329
+ args9 = {
46330
+ request: ListOrSearchDepartmentContactsRequest$inboundSchema
46331
+ };
46332
+ tool$organizationsListOrSearchDepartmentContacts = {
46333
+ name: "organizations-list-or-search-department-contacts",
46334
+ description: `List or search department contacts
46335
+
46336
+ List or search department contacts.
46337
+
46338
+ Available \`expand\` scopes are:
46339
+
46340
+ - department_membership.contact
46341
+ - 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();
46345
+ if (!result.ok) {
46346
+ return {
46347
+ content: [{ type: "text", text: result.error.message }],
46348
+ isError: true
46349
+ };
46350
+ }
46351
+ const value = result.value.result;
46352
+ return formatResult(value, apiCall);
46353
+ }
46354
+ };
46355
+ });
46356
+
46357
+ // src/funcs/organizationsListOrSearchDepartments.ts
46358
+ function organizationsListOrSearchDepartments(client, request, options) {
46359
+ return new APIPromise($do10(client, request, options));
46360
+ }
46361
+ async function $do10(client, request, options) {
46054
46362
  const parsed = safeParse(request, (value) => ListOrSearchDepartmentsRequest$outboundSchema.parse(value), "Input validation failed");
46055
46363
  if (!parsed.ok) {
46056
46364
  return [haltIterator(parsed), { status: "invalid" }];
@@ -46165,12 +46473,12 @@ var init_organizationsListOrSearchDepartments = __esm(() => {
46165
46473
  });
46166
46474
 
46167
46475
  // src/mcp-server/tools/organizationsListOrSearchDepartments.ts
46168
- var args9, tool$organizationsListOrSearchDepartments;
46476
+ var args10, tool$organizationsListOrSearchDepartments;
46169
46477
  var init_organizationsListOrSearchDepartments2 = __esm(() => {
46170
46478
  init_organizationsListOrSearchDepartments();
46171
46479
  init_operations();
46172
46480
  init_tools();
46173
- args9 = {
46481
+ args10 = {
46174
46482
  request: ListOrSearchDepartmentsRequest$inboundSchema
46175
46483
  };
46176
46484
  tool$organizationsListOrSearchDepartments = {
@@ -46178,9 +46486,9 @@ var init_organizationsListOrSearchDepartments2 = __esm(() => {
46178
46486
  description: `List or search departments
46179
46487
 
46180
46488
  List or search departments.`,
46181
- args: args9,
46182
- tool: async (client, args10, ctx) => {
46183
- const [result, apiCall] = await organizationsListOrSearchDepartments(client, args10.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
46489
+ args: args10,
46490
+ tool: async (client, args11, ctx) => {
46491
+ const [result, apiCall] = await organizationsListOrSearchDepartments(client, args11.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
46184
46492
  if (!result.ok) {
46185
46493
  return {
46186
46494
  content: [{ type: "text", text: result.error.message }],
@@ -46195,9 +46503,9 @@ List or search departments.`,
46195
46503
 
46196
46504
  // src/funcs/organizationsListOrSearchFacilities.ts
46197
46505
  function organizationsListOrSearchFacilities(client, request, options) {
46198
- return new APIPromise($do10(client, request, options));
46506
+ return new APIPromise($do11(client, request, options));
46199
46507
  }
46200
- async function $do10(client, request, options) {
46508
+ async function $do11(client, request, options) {
46201
46509
  const parsed = safeParse(request, (value) => ListOrSearchFacilitiesRequest$outboundSchema.parse(value), "Input validation failed");
46202
46510
  if (!parsed.ok) {
46203
46511
  return [haltIterator(parsed), { status: "invalid" }];
@@ -46313,12 +46621,12 @@ var init_organizationsListOrSearchFacilities = __esm(() => {
46313
46621
  });
46314
46622
 
46315
46623
  // src/mcp-server/tools/organizationsListOrSearchFacilities.ts
46316
- var args10, tool$organizationsListOrSearchFacilities;
46624
+ var args11, tool$organizationsListOrSearchFacilities;
46317
46625
  var init_organizationsListOrSearchFacilities2 = __esm(() => {
46318
46626
  init_organizationsListOrSearchFacilities();
46319
46627
  init_operations();
46320
46628
  init_tools();
46321
- args10 = {
46629
+ args11 = {
46322
46630
  request: ListOrSearchFacilitiesRequest$inboundSchema
46323
46631
  };
46324
46632
  tool$organizationsListOrSearchFacilities = {
@@ -46339,9 +46647,9 @@ Available \`expand\` scopes are:
46339
46647
  - facility.vendor_policy
46340
46648
  - facility.visitor_policy
46341
46649
  - facility.workflow`,
46342
- args: args10,
46343
- tool: async (client, args11, ctx) => {
46344
- const [result, apiCall] = await organizationsListOrSearchFacilities(client, args11.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
46650
+ args: args11,
46651
+ tool: async (client, args12, ctx) => {
46652
+ const [result, apiCall] = await organizationsListOrSearchFacilities(client, args12.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
46345
46653
  if (!result.ok) {
46346
46654
  return {
46347
46655
  content: [{ type: "text", text: result.error.message }],
@@ -46356,9 +46664,9 @@ Available \`expand\` scopes are:
46356
46664
 
46357
46665
  // src/funcs/supportArticlesGetSupportArticle.ts
46358
46666
  function supportArticlesGetSupportArticle(client, request, options) {
46359
- return new APIPromise($do11(client, request, options));
46667
+ return new APIPromise($do12(client, request, options));
46360
46668
  }
46361
- async function $do11(client, request, options) {
46669
+ async function $do12(client, request, options) {
46362
46670
  const parsed = safeParse(request, (value) => GetSupportArticleRequest$outboundSchema.parse(value), "Input validation failed");
46363
46671
  if (!parsed.ok) {
46364
46672
  return [parsed, { status: "invalid" }];
@@ -46438,12 +46746,12 @@ var init_supportArticlesGetSupportArticle = __esm(() => {
46438
46746
  });
46439
46747
 
46440
46748
  // src/mcp-server/tools/supportArticlesGetSupportArticle.ts
46441
- var args11, tool$supportArticlesGetSupportArticle;
46749
+ var args12, tool$supportArticlesGetSupportArticle;
46442
46750
  var init_supportArticlesGetSupportArticle2 = __esm(() => {
46443
46751
  init_supportArticlesGetSupportArticle();
46444
46752
  init_operations();
46445
46753
  init_tools();
46446
- args11 = {
46754
+ args12 = {
46447
46755
  request: GetSupportArticleRequest$inboundSchema
46448
46756
  };
46449
46757
  tool$supportArticlesGetSupportArticle = {
@@ -46458,9 +46766,9 @@ Available \`expand\` scopes are:
46458
46766
  - support_article.published
46459
46767
  - support_article.notes
46460
46768
  - support_article.support_category`,
46461
- args: args11,
46462
- tool: async (client, args12, ctx) => {
46463
- const [result, apiCall] = await supportArticlesGetSupportArticle(client, args12.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
46769
+ args: args12,
46770
+ tool: async (client, args13, ctx) => {
46771
+ const [result, apiCall] = await supportArticlesGetSupportArticle(client, args13.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
46464
46772
  if (!result.ok) {
46465
46773
  return {
46466
46774
  content: [{ type: "text", text: result.error.message }],
@@ -46475,9 +46783,9 @@ Available \`expand\` scopes are:
46475
46783
 
46476
46784
  // src/funcs/supportArticlesListOrSearchSupportArticles.ts
46477
46785
  function supportArticlesListOrSearchSupportArticles(client, request, options) {
46478
- return new APIPromise($do12(client, request, options));
46786
+ return new APIPromise($do13(client, request, options));
46479
46787
  }
46480
- async function $do12(client, request, options) {
46788
+ async function $do13(client, request, options) {
46481
46789
  const parsed = safeParse(request, (value) => ListOrSearchSupportArticlesRequest$outboundSchema.parse(value), "Input validation failed");
46482
46790
  if (!parsed.ok) {
46483
46791
  return [haltIterator(parsed), { status: "invalid" }];
@@ -46587,12 +46895,12 @@ var init_supportArticlesListOrSearchSupportArticles = __esm(() => {
46587
46895
  });
46588
46896
 
46589
46897
  // src/mcp-server/tools/supportArticlesListOrSearchSupportArticles.ts
46590
- var args12, tool$supportArticlesListOrSearchSupportArticles;
46898
+ var args13, tool$supportArticlesListOrSearchSupportArticles;
46591
46899
  var init_supportArticlesListOrSearchSupportArticles2 = __esm(() => {
46592
46900
  init_supportArticlesListOrSearchSupportArticles();
46593
46901
  init_operations();
46594
46902
  init_tools();
46595
- args12 = {
46903
+ args13 = {
46596
46904
  request: ListOrSearchSupportArticlesRequest$inboundSchema
46597
46905
  };
46598
46906
  tool$supportArticlesListOrSearchSupportArticles = {
@@ -46600,9 +46908,9 @@ var init_supportArticlesListOrSearchSupportArticles2 = __esm(() => {
46600
46908
  description: `List or search support articles
46601
46909
 
46602
46910
  List or search support articles for FAQ.`,
46603
- args: args12,
46604
- tool: async (client, args13, ctx) => {
46605
- const [result, apiCall] = await supportArticlesListOrSearchSupportArticles(client, args13.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
46911
+ args: args13,
46912
+ tool: async (client, args14, ctx) => {
46913
+ const [result, apiCall] = await supportArticlesListOrSearchSupportArticles(client, args14.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
46606
46914
  if (!result.ok) {
46607
46915
  return {
46608
46916
  content: [{ type: "text", text: result.error.message }],
@@ -46617,9 +46925,9 @@ List or search support articles for FAQ.`,
46617
46925
 
46618
46926
  // src/funcs/systemsListSystems.ts
46619
46927
  function systemsListSystems(client, request, options) {
46620
- return new APIPromise($do13(client, request, options));
46928
+ return new APIPromise($do14(client, request, options));
46621
46929
  }
46622
- async function $do13(client, request, options) {
46930
+ async function $do14(client, request, options) {
46623
46931
  const parsed = safeParse(request, (value) => ListSystemsRequest$outboundSchema.parse(value), "Input validation failed");
46624
46932
  if (!parsed.ok) {
46625
46933
  return [haltIterator(parsed), { status: "invalid" }];
@@ -46730,12 +47038,12 @@ var init_systemsListSystems = __esm(() => {
46730
47038
  });
46731
47039
 
46732
47040
  // src/mcp-server/tools/systemsListSystems.ts
46733
- var args13, tool$systemsListSystems;
47041
+ var args14, tool$systemsListSystems;
46734
47042
  var init_systemsListSystems2 = __esm(() => {
46735
47043
  init_systemsListSystems();
46736
47044
  init_operations();
46737
47045
  init_tools();
46738
- args13 = {
47046
+ args14 = {
46739
47047
  request: ListSystemsRequest$inboundSchema
46740
47048
  };
46741
47049
  tool$systemsListSystems = {
@@ -46747,9 +47055,9 @@ List or search systems.
46747
47055
  Available \`expand\` scopes are:
46748
47056
 
46749
47057
  - system.facilities`,
46750
- args: args13,
46751
- tool: async (client, args14, ctx) => {
46752
- const [result, apiCall] = await systemsListSystems(client, args14.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47058
+ args: args14,
47059
+ tool: async (client, args15, ctx) => {
47060
+ const [result, apiCall] = await systemsListSystems(client, args15.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
46753
47061
  if (!result.ok) {
46754
47062
  return {
46755
47063
  content: [{ type: "text", text: result.error.message }],
@@ -46764,9 +47072,9 @@ Available \`expand\` scopes are:
46764
47072
 
46765
47073
  // src/funcs/usersChangePassword.ts
46766
47074
  function usersChangePassword(client, request, options) {
46767
- return new APIPromise($do14(client, request, options));
47075
+ return new APIPromise($do15(client, request, options));
46768
47076
  }
46769
- async function $do14(client, request, options) {
47077
+ async function $do15(client, request, options) {
46770
47078
  const parsed = safeParse(request, (value) => ChangePasswordRequest$outboundSchema.parse(value), "Input validation failed");
46771
47079
  if (!parsed.ok) {
46772
47080
  return [parsed, { status: "invalid" }];
@@ -46842,12 +47150,12 @@ var init_usersChangePassword = __esm(() => {
46842
47150
  });
46843
47151
 
46844
47152
  // src/mcp-server/tools/usersChangePassword.ts
46845
- var args14, tool$usersChangePassword;
47153
+ var args15, tool$usersChangePassword;
46846
47154
  var init_usersChangePassword2 = __esm(() => {
46847
47155
  init_usersChangePassword();
46848
47156
  init_operations();
46849
47157
  init_tools();
46850
- args14 = {
47158
+ args15 = {
46851
47159
  request: ChangePasswordRequest$inboundSchema
46852
47160
  };
46853
47161
  tool$usersChangePassword = {
@@ -46855,9 +47163,9 @@ var init_usersChangePassword2 = __esm(() => {
46855
47163
  description: `Change password
46856
47164
 
46857
47165
  Change the user's password to the new passed as parameter`,
46858
- args: args14,
46859
- tool: async (client, args15, ctx) => {
46860
- const [result, apiCall] = await usersChangePassword(client, args15.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47166
+ args: args15,
47167
+ tool: async (client, args16, ctx) => {
47168
+ const [result, apiCall] = await usersChangePassword(client, args16.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
46861
47169
  if (!result.ok) {
46862
47170
  return {
46863
47171
  content: [{ type: "text", text: result.error.message }],
@@ -46872,9 +47180,9 @@ Change the user's password to the new passed as parameter`,
46872
47180
 
46873
47181
  // src/funcs/usersGetCurrentUser.ts
46874
47182
  function usersGetCurrentUser(client, options) {
46875
- return new APIPromise($do15(client, options));
47183
+ return new APIPromise($do16(client, options));
46876
47184
  }
46877
- async function $do15(client, options) {
47185
+ async function $do16(client, options) {
46878
47186
  const path = pathToFunc("/users/me")();
46879
47187
  const headers = new Headers(compactMap({
46880
47188
  Accept: "application/json"
@@ -46959,9 +47267,9 @@ Returns a user object for the user represented by the authorization token`,
46959
47267
 
46960
47268
  // src/funcs/usersGetUserById.ts
46961
47269
  function usersGetUserById(client, request, options) {
46962
- return new APIPromise($do16(client, request, options));
47270
+ return new APIPromise($do17(client, request, options));
46963
47271
  }
46964
- async function $do16(client, request, options) {
47272
+ async function $do17(client, request, options) {
46965
47273
  const parsed = safeParse(request, (value) => GetUserByIdRequest$outboundSchema.parse(value), "Input validation failed");
46966
47274
  if (!parsed.ok) {
46967
47275
  return [parsed, { status: "invalid" }];
@@ -47037,12 +47345,12 @@ var init_usersGetUserById = __esm(() => {
47037
47345
  });
47038
47346
 
47039
47347
  // src/mcp-server/tools/usersGetUserById.ts
47040
- var args15, tool$usersGetUserById;
47348
+ var args16, tool$usersGetUserById;
47041
47349
  var init_usersGetUserById2 = __esm(() => {
47042
47350
  init_usersGetUserById();
47043
47351
  init_operations();
47044
47352
  init_tools();
47045
- args15 = {
47353
+ args16 = {
47046
47354
  request: GetUserByIdRequest$inboundSchema
47047
47355
  };
47048
47356
  tool$usersGetUserById = {
@@ -47050,9 +47358,9 @@ var init_usersGetUserById2 = __esm(() => {
47050
47358
  description: `Get user by id
47051
47359
 
47052
47360
  Returns a user object for the user represented by the identifier in the path.`,
47053
- args: args15,
47054
- tool: async (client, args16, ctx) => {
47055
- const [result, apiCall] = await usersGetUserById(client, args16.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47361
+ args: args16,
47362
+ tool: async (client, args17, ctx) => {
47363
+ const [result, apiCall] = await usersGetUserById(client, args17.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47056
47364
  if (!result.ok) {
47057
47365
  return {
47058
47366
  content: [{ type: "text", text: result.error.message }],
@@ -47067,9 +47375,9 @@ Returns a user object for the user represented by the identifier in the path.`,
47067
47375
 
47068
47376
  // src/funcs/usersMagiclink.ts
47069
47377
  function usersMagiclink(client, request, options) {
47070
- return new APIPromise($do17(client, request, options));
47378
+ return new APIPromise($do18(client, request, options));
47071
47379
  }
47072
- async function $do17(client, request, options) {
47380
+ async function $do18(client, request, options) {
47073
47381
  const parsed = safeParse(request, (value) => MagiclinkRequestBody$outboundSchema.parse(value), "Input validation failed");
47074
47382
  if (!parsed.ok) {
47075
47383
  return [parsed, { status: "invalid" }];
@@ -47139,12 +47447,12 @@ var init_usersMagiclink = __esm(() => {
47139
47447
  });
47140
47448
 
47141
47449
  // src/mcp-server/tools/usersMagiclink.ts
47142
- var args16, tool$usersMagiclink;
47450
+ var args17, tool$usersMagiclink;
47143
47451
  var init_usersMagiclink2 = __esm(() => {
47144
47452
  init_usersMagiclink();
47145
47453
  init_operations();
47146
47454
  init_tools();
47147
- args16 = {
47455
+ args17 = {
47148
47456
  request: MagiclinkRequestBody$inboundSchema
47149
47457
  };
47150
47458
  tool$usersMagiclink = {
@@ -47152,9 +47460,9 @@ var init_usersMagiclink2 = __esm(() => {
47152
47460
  description: `Magic link
47153
47461
 
47154
47462
  It sends an email with a magic link to allow the user to log in.`,
47155
- args: args16,
47156
- tool: async (client, args17, ctx) => {
47157
- const [result, apiCall] = await usersMagiclink(client, args17.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47463
+ args: args17,
47464
+ tool: async (client, args18, ctx) => {
47465
+ const [result, apiCall] = await usersMagiclink(client, args18.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47158
47466
  if (!result.ok) {
47159
47467
  return {
47160
47468
  content: [{ type: "text", text: result.error.message }],
@@ -47169,9 +47477,9 @@ It sends an email with a magic link to allow the user to log in.`,
47169
47477
 
47170
47478
  // src/funcs/usersPassword.ts
47171
47479
  function usersPassword(client, request, options) {
47172
- return new APIPromise($do18(client, request, options));
47480
+ return new APIPromise($do19(client, request, options));
47173
47481
  }
47174
- async function $do18(client, request, options) {
47482
+ async function $do19(client, request, options) {
47175
47483
  const parsed = safeParse(request, (value) => PasswordRequestBody$outboundSchema.parse(value), "Input validation failed");
47176
47484
  if (!parsed.ok) {
47177
47485
  return [parsed, { status: "invalid" }];
@@ -47241,12 +47549,12 @@ var init_usersPassword = __esm(() => {
47241
47549
  });
47242
47550
 
47243
47551
  // src/mcp-server/tools/usersPassword.ts
47244
- var args17, tool$usersPassword;
47552
+ var args18, tool$usersPassword;
47245
47553
  var init_usersPassword2 = __esm(() => {
47246
47554
  init_usersPassword();
47247
47555
  init_operations();
47248
47556
  init_tools();
47249
- args17 = {
47557
+ args18 = {
47250
47558
  request: PasswordRequestBody$inboundSchema
47251
47559
  };
47252
47560
  tool$usersPassword = {
@@ -47255,9 +47563,9 @@ var init_usersPassword2 = __esm(() => {
47255
47563
 
47256
47564
  Resets the a user's password using a password_reset_id that was sent to them via email.
47257
47565
  See /users/passwordresetrequest to initiate a password reset flow.`,
47258
- args: args17,
47259
- tool: async (client, args18, ctx) => {
47260
- const [result, apiCall] = await usersPassword(client, args18.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47566
+ args: args18,
47567
+ tool: async (client, args19, ctx) => {
47568
+ const [result, apiCall] = await usersPassword(client, args19.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47261
47569
  if (!result.ok) {
47262
47570
  return {
47263
47571
  content: [{ type: "text", text: result.error.message }],
@@ -47272,9 +47580,9 @@ See /users/passwordresetrequest to initiate a password reset flow.`,
47272
47580
 
47273
47581
  // src/funcs/usersPasswordResetRequest.ts
47274
47582
  function usersPasswordResetRequest(client, request, options) {
47275
- return new APIPromise($do19(client, request, options));
47583
+ return new APIPromise($do20(client, request, options));
47276
47584
  }
47277
- async function $do19(client, request, options) {
47585
+ async function $do20(client, request, options) {
47278
47586
  const parsed = safeParse(request, (value) => PasswordResetRequestRequestBody$outboundSchema.parse(value), "Input validation failed");
47279
47587
  if (!parsed.ok) {
47280
47588
  return [parsed, { status: "invalid" }];
@@ -47344,12 +47652,12 @@ var init_usersPasswordResetRequest = __esm(() => {
47344
47652
  });
47345
47653
 
47346
47654
  // src/mcp-server/tools/usersPasswordResetRequest.ts
47347
- var args18, tool$usersPasswordResetRequest;
47655
+ var args19, tool$usersPasswordResetRequest;
47348
47656
  var init_usersPasswordResetRequest2 = __esm(() => {
47349
47657
  init_usersPasswordResetRequest();
47350
47658
  init_operations();
47351
47659
  init_tools();
47352
- args18 = {
47660
+ args19 = {
47353
47661
  request: PasswordResetRequestRequestBody$inboundSchema
47354
47662
  };
47355
47663
  tool$usersPasswordResetRequest = {
@@ -47357,9 +47665,9 @@ var init_usersPasswordResetRequest2 = __esm(() => {
47357
47665
  description: `Password reset request
47358
47666
 
47359
47667
  It sends an email with a link for resetting a user's password.`,
47360
- args: args18,
47361
- tool: async (client, args19, ctx) => {
47362
- const [result, apiCall] = await usersPasswordResetRequest(client, args19.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47668
+ args: args19,
47669
+ tool: async (client, args20, ctx) => {
47670
+ const [result, apiCall] = await usersPasswordResetRequest(client, args20.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47363
47671
  if (!result.ok) {
47364
47672
  return {
47365
47673
  content: [{ type: "text", text: result.error.message }],
@@ -47374,9 +47682,9 @@ It sends an email with a link for resetting a user's password.`,
47374
47682
 
47375
47683
  // src/funcs/usersPostAuthenticate.ts
47376
47684
  function usersPostAuthenticate(client, request, options) {
47377
- return new APIPromise($do20(client, request, options));
47685
+ return new APIPromise($do21(client, request, options));
47378
47686
  }
47379
- async function $do20(client, request, options) {
47687
+ async function $do21(client, request, options) {
47380
47688
  const parsed = safeParse(request, (value) => PostAuthenticateRequestBody$outboundSchema.parse(value), "Input validation failed");
47381
47689
  if (!parsed.ok) {
47382
47690
  return [parsed, { status: "invalid" }];
@@ -47442,12 +47750,12 @@ var init_usersPostAuthenticate = __esm(() => {
47442
47750
  });
47443
47751
 
47444
47752
  // src/mcp-server/tools/usersPostAuthenticate.ts
47445
- var args19, tool$usersPostAuthenticate;
47753
+ var args20, tool$usersPostAuthenticate;
47446
47754
  var init_usersPostAuthenticate2 = __esm(() => {
47447
47755
  init_usersPostAuthenticate();
47448
47756
  init_operations();
47449
47757
  init_tools();
47450
- args19 = {
47758
+ args20 = {
47451
47759
  request: PostAuthenticateRequestBody$inboundSchema
47452
47760
  };
47453
47761
  tool$usersPostAuthenticate = {
@@ -47485,9 +47793,9 @@ Requires: \`saml_login\`
47485
47793
  3. Site redirects to your selected \`return_url\`
47486
47794
  4. The \`user_token\` will be appended as a query string parameter to your \`return_url\` - you must parse this token and store it
47487
47795
  5. Fetch the user object from \`/users/me\` using the token`,
47488
- args: args19,
47489
- tool: async (client, args20, ctx) => {
47490
- const [result, apiCall] = await usersPostAuthenticate(client, args20.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47796
+ args: args20,
47797
+ tool: async (client, args21, ctx) => {
47798
+ const [result, apiCall] = await usersPostAuthenticate(client, args21.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47491
47799
  if (!result.ok) {
47492
47800
  return {
47493
47801
  content: [{ type: "text", text: result.error.message }],
@@ -47502,9 +47810,9 @@ Requires: \`saml_login\`
47502
47810
 
47503
47811
  // src/funcs/usersRotateApiKey.ts
47504
47812
  function usersRotateApiKey(client, options) {
47505
- return new APIPromise($do21(client, options));
47813
+ return new APIPromise($do22(client, options));
47506
47814
  }
47507
- async function $do21(client, options) {
47815
+ async function $do22(client, options) {
47508
47816
  const path = pathToFunc("/users/api_key_rotator")();
47509
47817
  const headers = new Headers(compactMap({
47510
47818
  Accept: "application/json"
@@ -47589,9 +47897,9 @@ Allows an API user to rotate their own API key. Note, the key rotation happens i
47589
47897
 
47590
47898
  // src/funcs/vendorsAcceptVendorCredential.ts
47591
47899
  function vendorsAcceptVendorCredential(client, request, options) {
47592
- return new APIPromise($do22(client, request, options));
47900
+ return new APIPromise($do23(client, request, options));
47593
47901
  }
47594
- async function $do22(client, request, options) {
47902
+ async function $do23(client, request, options) {
47595
47903
  const parsed = safeParse(request, (value) => AcceptVendorCredentialRequest$outboundSchema.parse(value), "Input validation failed");
47596
47904
  if (!parsed.ok) {
47597
47905
  return [parsed, { status: "invalid" }];
@@ -47664,12 +47972,12 @@ var init_vendorsAcceptVendorCredential = __esm(() => {
47664
47972
  });
47665
47973
 
47666
47974
  // src/mcp-server/tools/vendorsAcceptVendorCredential.ts
47667
- var args20, tool$vendorsAcceptVendorCredential;
47975
+ var args21, tool$vendorsAcceptVendorCredential;
47668
47976
  var init_vendorsAcceptVendorCredential2 = __esm(() => {
47669
47977
  init_vendorsAcceptVendorCredential();
47670
47978
  init_operations();
47671
47979
  init_tools();
47672
- args20 = {
47980
+ args21 = {
47673
47981
  request: AcceptVendorCredentialRequest$inboundSchema
47674
47982
  };
47675
47983
  tool$vendorsAcceptVendorCredential = {
@@ -47677,9 +47985,9 @@ var init_vendorsAcceptVendorCredential2 = __esm(() => {
47677
47985
  description: `Accept vendor credential
47678
47986
 
47679
47987
  It will accept vendor credential`,
47680
- args: args20,
47681
- tool: async (client, args21, ctx) => {
47682
- const [result, apiCall] = await vendorsAcceptVendorCredential(client, args21.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47988
+ args: args21,
47989
+ tool: async (client, args22, ctx) => {
47990
+ const [result, apiCall] = await vendorsAcceptVendorCredential(client, args22.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47683
47991
  if (!result.ok) {
47684
47992
  return {
47685
47993
  content: [{ type: "text", text: result.error.message }],
@@ -47694,9 +48002,9 @@ It will accept vendor credential`,
47694
48002
 
47695
48003
  // src/funcs/vendorsAddVendorCredentialFile.ts
47696
48004
  function vendorsAddVendorCredentialFile(client, request, options) {
47697
- return new APIPromise($do23(client, request, options));
48005
+ return new APIPromise($do24(client, request, options));
47698
48006
  }
47699
- async function $do23(client, request, options) {
48007
+ async function $do24(client, request, options) {
47700
48008
  const parsed = safeParse(request, (value) => AddVendorCredentialFileRequest$outboundSchema.parse(value), "Input validation failed");
47701
48009
  if (!parsed.ok) {
47702
48010
  return [parsed, { status: "invalid" }];
@@ -47769,12 +48077,12 @@ var init_vendorsAddVendorCredentialFile = __esm(() => {
47769
48077
  });
47770
48078
 
47771
48079
  // src/mcp-server/tools/vendorsAddVendorCredentialFile.ts
47772
- var args21, tool$vendorsAddVendorCredentialFile;
48080
+ var args22, tool$vendorsAddVendorCredentialFile;
47773
48081
  var init_vendorsAddVendorCredentialFile2 = __esm(() => {
47774
48082
  init_vendorsAddVendorCredentialFile();
47775
48083
  init_operations();
47776
48084
  init_tools();
47777
- args21 = {
48085
+ args22 = {
47778
48086
  request: AddVendorCredentialFileRequest$inboundSchema
47779
48087
  };
47780
48088
  tool$vendorsAddVendorCredentialFile = {
@@ -47782,9 +48090,9 @@ var init_vendorsAddVendorCredentialFile2 = __esm(() => {
47782
48090
  description: `Add vendor credential file
47783
48091
 
47784
48092
  It will add a new vendor credential file`,
47785
- args: args21,
47786
- tool: async (client, args22, ctx) => {
47787
- const [result, apiCall] = await vendorsAddVendorCredentialFile(client, args22.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48093
+ args: args22,
48094
+ tool: async (client, args23, ctx) => {
48095
+ const [result, apiCall] = await vendorsAddVendorCredentialFile(client, args23.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47788
48096
  if (!result.ok) {
47789
48097
  return {
47790
48098
  content: [{ type: "text", text: result.error.message }],
@@ -47799,9 +48107,9 @@ It will add a new vendor credential file`,
47799
48107
 
47800
48108
  // src/funcs/vendorsAddVendorManagedByCompany.ts
47801
48109
  function vendorsAddVendorManagedByCompany(client, request, options) {
47802
- return new APIPromise($do24(client, request, options));
48110
+ return new APIPromise($do25(client, request, options));
47803
48111
  }
47804
- async function $do24(client, request, options) {
48112
+ async function $do25(client, request, options) {
47805
48113
  const parsed = safeParse(request, (value) => AddVendorManagedByCompanyRequest$outboundSchema.parse(value), "Input validation failed");
47806
48114
  if (!parsed.ok) {
47807
48115
  return [parsed, { status: "invalid" }];
@@ -47877,12 +48185,12 @@ var init_vendorsAddVendorManagedByCompany = __esm(() => {
47877
48185
  });
47878
48186
 
47879
48187
  // src/mcp-server/tools/vendorsAddVendorManagedByCompany.ts
47880
- var args22, tool$vendorsAddVendorManagedByCompany;
48188
+ var args23, tool$vendorsAddVendorManagedByCompany;
47881
48189
  var init_vendorsAddVendorManagedByCompany2 = __esm(() => {
47882
48190
  init_vendorsAddVendorManagedByCompany();
47883
48191
  init_operations();
47884
48192
  init_tools();
47885
- args22 = {
48193
+ args23 = {
47886
48194
  request: AddVendorManagedByCompanyRequest$inboundSchema
47887
48195
  };
47888
48196
  tool$vendorsAddVendorManagedByCompany = {
@@ -47890,9 +48198,9 @@ var init_vendorsAddVendorManagedByCompany2 = __esm(() => {
47890
48198
  description: `Add vendor managed by company
47891
48199
 
47892
48200
  It will add a vendor managed by company`,
47893
- args: args22,
47894
- tool: async (client, args23, ctx) => {
47895
- const [result, apiCall] = await vendorsAddVendorManagedByCompany(client, args23.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48201
+ args: args23,
48202
+ tool: async (client, args24, ctx) => {
48203
+ const [result, apiCall] = await vendorsAddVendorManagedByCompany(client, args24.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47896
48204
  if (!result.ok) {
47897
48205
  return {
47898
48206
  content: [{ type: "text", text: result.error.message }],
@@ -47907,9 +48215,9 @@ It will add a vendor managed by company`,
47907
48215
 
47908
48216
  // src/funcs/vendorsCalculateSubscriptionPrice.ts
47909
48217
  function vendorsCalculateSubscriptionPrice(client, request, options) {
47910
- return new APIPromise($do25(client, request, options));
48218
+ return new APIPromise($do26(client, request, options));
47911
48219
  }
47912
- async function $do25(client, request, options) {
48220
+ async function $do26(client, request, options) {
47913
48221
  const parsed = safeParse(request, (value) => CalculateSubscriptionPriceRequest$outboundSchema.parse(value), "Input validation failed");
47914
48222
  if (!parsed.ok) {
47915
48223
  return [parsed, { status: "invalid" }];
@@ -47985,12 +48293,12 @@ var init_vendorsCalculateSubscriptionPrice = __esm(() => {
47985
48293
  });
47986
48294
 
47987
48295
  // src/mcp-server/tools/vendorsCalculateSubscriptionPrice.ts
47988
- var args23, tool$vendorsCalculateSubscriptionPrice;
48296
+ var args24, tool$vendorsCalculateSubscriptionPrice;
47989
48297
  var init_vendorsCalculateSubscriptionPrice2 = __esm(() => {
47990
48298
  init_vendorsCalculateSubscriptionPrice();
47991
48299
  init_operations();
47992
48300
  init_tools();
47993
- args23 = {
48301
+ args24 = {
47994
48302
  request: CalculateSubscriptionPriceRequest$inboundSchema
47995
48303
  };
47996
48304
  tool$vendorsCalculateSubscriptionPrice = {
@@ -47998,9 +48306,9 @@ var init_vendorsCalculateSubscriptionPrice2 = __esm(() => {
47998
48306
  description: `Calculate subscription price
47999
48307
 
48000
48308
  Calculate subscription price`,
48001
- args: args23,
48002
- tool: async (client, args24, ctx) => {
48003
- const [result, apiCall] = await vendorsCalculateSubscriptionPrice(client, args24.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48309
+ args: args24,
48310
+ tool: async (client, args25, ctx) => {
48311
+ const [result, apiCall] = await vendorsCalculateSubscriptionPrice(client, args25.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48004
48312
  if (!result.ok) {
48005
48313
  return {
48006
48314
  content: [{ type: "text", text: result.error.message }],
@@ -48015,9 +48323,9 @@ Calculate subscription price`,
48015
48323
 
48016
48324
  // src/funcs/vendorScansVendorScanOut.ts
48017
48325
  function vendorScansVendorScanOut(client, request, options) {
48018
- return new APIPromise($do26(client, request, options));
48326
+ return new APIPromise($do27(client, request, options));
48019
48327
  }
48020
- async function $do26(client, request, options) {
48328
+ async function $do27(client, request, options) {
48021
48329
  const parsed = safeParse(request, (value) => VendorScanOutRequest$outboundSchema.parse(value), "Input validation failed");
48022
48330
  if (!parsed.ok) {
48023
48331
  return [parsed, { status: "invalid" }];
@@ -48092,12 +48400,12 @@ var init_vendorScansVendorScanOut = __esm(() => {
48092
48400
  });
48093
48401
 
48094
48402
  // src/mcp-server/tools/vendorScansVendorScanOut.ts
48095
- var args24, tool$vendorScansVendorScanOut;
48403
+ var args25, tool$vendorScansVendorScanOut;
48096
48404
  var init_vendorScansVendorScanOut2 = __esm(() => {
48097
48405
  init_vendorScansVendorScanOut();
48098
48406
  init_operations();
48099
48407
  init_tools();
48100
- args24 = {
48408
+ args25 = {
48101
48409
  request: VendorScanOutRequest$inboundSchema
48102
48410
  };
48103
48411
  tool$vendorScansVendorScanOut = {
@@ -48105,9 +48413,9 @@ var init_vendorScansVendorScanOut2 = __esm(() => {
48105
48413
  description: `Vendor scan out
48106
48414
 
48107
48415
  It scans out vendor from facility`,
48108
- args: args24,
48109
- tool: async (client, args25, ctx) => {
48110
- const [result, apiCall] = await vendorScansVendorScanOut(client, args25.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48416
+ args: args25,
48417
+ tool: async (client, args26, ctx) => {
48418
+ const [result, apiCall] = await vendorScansVendorScanOut(client, args26.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48111
48419
  if (!result.ok) {
48112
48420
  return {
48113
48421
  content: [{ type: "text", text: result.error.message }],
@@ -48122,9 +48430,9 @@ It scans out vendor from facility`,
48122
48430
 
48123
48431
  // src/funcs/vendorsChangeSubscription.ts
48124
48432
  function vendorsChangeSubscription(client, request, options) {
48125
- return new APIPromise($do27(client, request, options));
48433
+ return new APIPromise($do28(client, request, options));
48126
48434
  }
48127
- async function $do27(client, request, options) {
48435
+ async function $do28(client, request, options) {
48128
48436
  const parsed = safeParse(request, (value) => ChangeSubscriptionRequest$outboundSchema.parse(value), "Input validation failed");
48129
48437
  if (!parsed.ok) {
48130
48438
  return [parsed, { status: "invalid" }];
@@ -48200,12 +48508,12 @@ var init_vendorsChangeSubscription = __esm(() => {
48200
48508
  });
48201
48509
 
48202
48510
  // src/mcp-server/tools/vendorsChangeSubscription.ts
48203
- var args25, tool$vendorsChangeSubscription;
48511
+ var args26, tool$vendorsChangeSubscription;
48204
48512
  var init_vendorsChangeSubscription2 = __esm(() => {
48205
48513
  init_vendorsChangeSubscription();
48206
48514
  init_operations();
48207
48515
  init_tools();
48208
- args25 = {
48516
+ args26 = {
48209
48517
  request: ChangeSubscriptionRequest$inboundSchema
48210
48518
  };
48211
48519
  tool$vendorsChangeSubscription = {
@@ -48213,9 +48521,9 @@ var init_vendorsChangeSubscription2 = __esm(() => {
48213
48521
  description: `Change subscription
48214
48522
 
48215
48523
  Calculate subscription price`,
48216
- args: args25,
48217
- tool: async (client, args26, ctx) => {
48218
- const [result, apiCall] = await vendorsChangeSubscription(client, args26.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48524
+ args: args26,
48525
+ tool: async (client, args27, ctx) => {
48526
+ const [result, apiCall] = await vendorsChangeSubscription(client, args27.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48219
48527
  if (!result.ok) {
48220
48528
  return {
48221
48529
  content: [{ type: "text", text: result.error.message }],
@@ -48230,9 +48538,9 @@ Calculate subscription price`,
48230
48538
 
48231
48539
  // src/funcs/vendorsCheckDownloadCode.ts
48232
48540
  function vendorsCheckDownloadCode(client, request, options) {
48233
- return new APIPromise($do28(client, request, options));
48541
+ return new APIPromise($do29(client, request, options));
48234
48542
  }
48235
- async function $do28(client, request, options) {
48543
+ async function $do29(client, request, options) {
48236
48544
  const parsed = safeParse(request, (value) => CheckDownloadCodeRequest$outboundSchema.parse(value), "Input validation failed");
48237
48545
  if (!parsed.ok) {
48238
48546
  return [parsed, { status: "invalid" }];
@@ -48308,12 +48616,12 @@ var init_vendorsCheckDownloadCode = __esm(() => {
48308
48616
  });
48309
48617
 
48310
48618
  // src/mcp-server/tools/vendorsCheckDownloadCode.ts
48311
- var args26, tool$vendorsCheckDownloadCode;
48619
+ var args27, tool$vendorsCheckDownloadCode;
48312
48620
  var init_vendorsCheckDownloadCode2 = __esm(() => {
48313
48621
  init_vendorsCheckDownloadCode();
48314
48622
  init_operations();
48315
48623
  init_tools();
48316
- args26 = {
48624
+ args27 = {
48317
48625
  request: CheckDownloadCodeRequest$inboundSchema
48318
48626
  };
48319
48627
  tool$vendorsCheckDownloadCode = {
@@ -48321,9 +48629,9 @@ var init_vendorsCheckDownloadCode2 = __esm(() => {
48321
48629
  description: `Check download code for vendor credential
48322
48630
 
48323
48631
  It will check download code for vendor credential`,
48324
- args: args26,
48325
- tool: async (client, args27, ctx) => {
48326
- const [result, apiCall] = await vendorsCheckDownloadCode(client, args27.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48632
+ args: args27,
48633
+ tool: async (client, args28, ctx) => {
48634
+ const [result, apiCall] = await vendorsCheckDownloadCode(client, args28.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48327
48635
  if (!result.ok) {
48328
48636
  return {
48329
48637
  content: [{ type: "text", text: result.error.message }],
@@ -48338,9 +48646,9 @@ It will check download code for vendor credential`,
48338
48646
 
48339
48647
  // src/funcs/vendorsCreateNewVendorCredentialVersion.ts
48340
48648
  function vendorsCreateNewVendorCredentialVersion(client, request, options) {
48341
- return new APIPromise($do29(client, request, options));
48649
+ return new APIPromise($do30(client, request, options));
48342
48650
  }
48343
- async function $do29(client, request, options) {
48651
+ async function $do30(client, request, options) {
48344
48652
  const parsed = safeParse(request, (value) => CreateNewVendorCredentialVersionRequestBody$outboundSchema.parse(value), "Input validation failed");
48345
48653
  if (!parsed.ok) {
48346
48654
  return [parsed, { status: "invalid" }];
@@ -48410,12 +48718,12 @@ var init_vendorsCreateNewVendorCredentialVersion = __esm(() => {
48410
48718
  });
48411
48719
 
48412
48720
  // src/mcp-server/tools/vendorsCreateNewVendorCredentialVersion.ts
48413
- var args27, tool$vendorsCreateNewVendorCredentialVersion;
48721
+ var args28, tool$vendorsCreateNewVendorCredentialVersion;
48414
48722
  var init_vendorsCreateNewVendorCredentialVersion2 = __esm(() => {
48415
48723
  init_vendorsCreateNewVendorCredentialVersion();
48416
48724
  init_operations();
48417
48725
  init_tools();
48418
- args27 = {
48726
+ args28 = {
48419
48727
  request: CreateNewVendorCredentialVersionRequestBody$inboundSchema
48420
48728
  };
48421
48729
  tool$vendorsCreateNewVendorCredentialVersion = {
@@ -48423,9 +48731,9 @@ var init_vendorsCreateNewVendorCredentialVersion2 = __esm(() => {
48423
48731
  description: `Create new vendor credential version
48424
48732
 
48425
48733
  It will submit vendor credential`,
48426
- args: args27,
48427
- tool: async (client, args28, ctx) => {
48428
- const [result, apiCall] = await vendorsCreateNewVendorCredentialVersion(client, args28.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48734
+ args: args28,
48735
+ tool: async (client, args29, ctx) => {
48736
+ const [result, apiCall] = await vendorsCreateNewVendorCredentialVersion(client, args29.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48429
48737
  if (!result.ok) {
48430
48738
  return {
48431
48739
  content: [{ type: "text", text: result.error.message }],
@@ -48440,9 +48748,9 @@ It will submit vendor credential`,
48440
48748
 
48441
48749
  // src/funcs/vendorsCreateOrUpdateBcr.ts
48442
48750
  function vendorsCreateOrUpdateBcr(client, request, options) {
48443
- return new APIPromise($do30(client, request, options));
48751
+ return new APIPromise($do31(client, request, options));
48444
48752
  }
48445
- async function $do30(client, request, options) {
48753
+ async function $do31(client, request, options) {
48446
48754
  const parsed = safeParse(request, (value) => CreateOrUpdateBcrRequest$outboundSchema.parse(value), "Input validation failed");
48447
48755
  if (!parsed.ok) {
48448
48756
  return [parsed, { status: "invalid" }];
@@ -48516,12 +48824,12 @@ var init_vendorsCreateOrUpdateBcr = __esm(() => {
48516
48824
  });
48517
48825
 
48518
48826
  // src/mcp-server/tools/vendorsCreateOrUpdateBcr.ts
48519
- var args28, tool$vendorsCreateOrUpdateBcr;
48827
+ var args29, tool$vendorsCreateOrUpdateBcr;
48520
48828
  var init_vendorsCreateOrUpdateBcr2 = __esm(() => {
48521
48829
  init_vendorsCreateOrUpdateBcr();
48522
48830
  init_operations();
48523
48831
  init_tools();
48524
- args28 = {
48832
+ args29 = {
48525
48833
  request: CreateOrUpdateBcrRequest$inboundSchema
48526
48834
  };
48527
48835
  tool$vendorsCreateOrUpdateBcr = {
@@ -48529,9 +48837,9 @@ var init_vendorsCreateOrUpdateBcr2 = __esm(() => {
48529
48837
  description: `Create or update BackgroundCheckResults
48530
48838
 
48531
48839
  It will create or update BackgroundCheckResults`,
48532
- args: args28,
48533
- tool: async (client, args29, ctx) => {
48534
- const [result, apiCall] = await vendorsCreateOrUpdateBcr(client, args29.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48840
+ args: args29,
48841
+ tool: async (client, args30, ctx) => {
48842
+ const [result, apiCall] = await vendorsCreateOrUpdateBcr(client, args30.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48535
48843
  if (!result.ok) {
48536
48844
  return {
48537
48845
  content: [{ type: "text", text: result.error.message }],
@@ -48546,9 +48854,9 @@ It will create or update BackgroundCheckResults`,
48546
48854
 
48547
48855
  // src/funcs/vendorsCreateVendorCompany.ts
48548
48856
  function vendorsCreateVendorCompany(client, request, options) {
48549
- return new APIPromise($do31(client, request, options));
48857
+ return new APIPromise($do32(client, request, options));
48550
48858
  }
48551
- async function $do31(client, request, options) {
48859
+ async function $do32(client, request, options) {
48552
48860
  const parsed = safeParse(request, (value) => CreateVendorCompanyRequest$outboundSchema.parse(value), "Input validation failed");
48553
48861
  if (!parsed.ok) {
48554
48862
  return [parsed, { status: "invalid" }];
@@ -48624,12 +48932,12 @@ var init_vendorsCreateVendorCompany = __esm(() => {
48624
48932
  });
48625
48933
 
48626
48934
  // src/mcp-server/tools/vendorsCreateVendorCompany.ts
48627
- var args29, tool$vendorsCreateVendorCompany;
48935
+ var args30, tool$vendorsCreateVendorCompany;
48628
48936
  var init_vendorsCreateVendorCompany2 = __esm(() => {
48629
48937
  init_vendorsCreateVendorCompany();
48630
48938
  init_operations();
48631
48939
  init_tools();
48632
- args29 = {
48940
+ args30 = {
48633
48941
  request: CreateVendorCompanyRequest$inboundSchema
48634
48942
  };
48635
48943
  tool$vendorsCreateVendorCompany = {
@@ -48637,9 +48945,9 @@ var init_vendorsCreateVendorCompany2 = __esm(() => {
48637
48945
  description: `Create vendor company
48638
48946
 
48639
48947
  Create vendor company`,
48640
- args: args29,
48641
- tool: async (client, args30, ctx) => {
48642
- const [result, apiCall] = await vendorsCreateVendorCompany(client, args30.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48948
+ args: args30,
48949
+ tool: async (client, args31, ctx) => {
48950
+ const [result, apiCall] = await vendorsCreateVendorCompany(client, args31.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48643
48951
  if (!result.ok) {
48644
48952
  return {
48645
48953
  content: [{ type: "text", text: result.error.message }],
@@ -48654,9 +48962,9 @@ Create vendor company`,
48654
48962
 
48655
48963
  // src/funcs/vendorsCreateVendorRegistration.ts
48656
48964
  function vendorsCreateVendorRegistration(client, request, options) {
48657
- return new APIPromise($do32(client, request, options));
48965
+ return new APIPromise($do33(client, request, options));
48658
48966
  }
48659
- async function $do32(client, request, options) {
48967
+ async function $do33(client, request, options) {
48660
48968
  const parsed = safeParse(request, (value) => CreateVendorRegistrationRequestBody$outboundSchema.parse(value), "Input validation failed");
48661
48969
  if (!parsed.ok) {
48662
48970
  return [parsed, { status: "invalid" }];
@@ -48723,12 +49031,12 @@ var init_vendorsCreateVendorRegistration = __esm(() => {
48723
49031
  });
48724
49032
 
48725
49033
  // src/mcp-server/tools/vendorsCreateVendorRegistration.ts
48726
- var args30, tool$vendorsCreateVendorRegistration;
49034
+ var args31, tool$vendorsCreateVendorRegistration;
48727
49035
  var init_vendorsCreateVendorRegistration2 = __esm(() => {
48728
49036
  init_vendorsCreateVendorRegistration();
48729
49037
  init_operations();
48730
49038
  init_tools();
48731
- args30 = {
49039
+ args31 = {
48732
49040
  request: CreateVendorRegistrationRequestBody$inboundSchema
48733
49041
  };
48734
49042
  tool$vendorsCreateVendorRegistration = {
@@ -48736,9 +49044,9 @@ var init_vendorsCreateVendorRegistration2 = __esm(() => {
48736
49044
  description: `Create vendor registration
48737
49045
 
48738
49046
  Create an initial vendor registration. Once successful, the vendor will be able to continue to filling out the rest of their onboarding profile.`,
48739
- args: args30,
48740
- tool: async (client, args31, ctx) => {
48741
- const [result, apiCall] = await vendorsCreateVendorRegistration(client, args31.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
49047
+ args: args31,
49048
+ tool: async (client, args32, ctx) => {
49049
+ const [result, apiCall] = await vendorsCreateVendorRegistration(client, args32.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48742
49050
  if (!result.ok) {
48743
49051
  return {
48744
49052
  content: [{ type: "text", text: result.error.message }],
@@ -48753,9 +49061,9 @@ Create an initial vendor registration. Once successful, the vendor will be able
48753
49061
 
48754
49062
  // src/funcs/vendorsDeclineVendorCredential.ts
48755
49063
  function vendorsDeclineVendorCredential(client, request, options) {
48756
- return new APIPromise($do33(client, request, options));
49064
+ return new APIPromise($do34(client, request, options));
48757
49065
  }
48758
- async function $do33(client, request, options) {
49066
+ async function $do34(client, request, options) {
48759
49067
  const parsed = safeParse(request, (value) => DeclineVendorCredentialRequest$outboundSchema.parse(value), "Input validation failed");
48760
49068
  if (!parsed.ok) {
48761
49069
  return [parsed, { status: "invalid" }];
@@ -48828,12 +49136,12 @@ var init_vendorsDeclineVendorCredential = __esm(() => {
48828
49136
  });
48829
49137
 
48830
49138
  // src/mcp-server/tools/vendorsDeclineVendorCredential.ts
48831
- var args31, tool$vendorsDeclineVendorCredential;
49139
+ var args32, tool$vendorsDeclineVendorCredential;
48832
49140
  var init_vendorsDeclineVendorCredential2 = __esm(() => {
48833
49141
  init_vendorsDeclineVendorCredential();
48834
49142
  init_operations();
48835
49143
  init_tools();
48836
- args31 = {
49144
+ args32 = {
48837
49145
  request: DeclineVendorCredentialRequest$inboundSchema
48838
49146
  };
48839
49147
  tool$vendorsDeclineVendorCredential = {
@@ -48841,9 +49149,9 @@ var init_vendorsDeclineVendorCredential2 = __esm(() => {
48841
49149
  description: `Decline vendor credential
48842
49150
 
48843
49151
  It will decline vendor credential`,
48844
- args: args31,
48845
- tool: async (client, args32, ctx) => {
48846
- const [result, apiCall] = await vendorsDeclineVendorCredential(client, args32.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
49152
+ args: args32,
49153
+ tool: async (client, args33, ctx) => {
49154
+ const [result, apiCall] = await vendorsDeclineVendorCredential(client, args33.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48847
49155
  if (!result.ok) {
48848
49156
  return {
48849
49157
  content: [{ type: "text", text: result.error.message }],
@@ -48858,9 +49166,9 @@ It will decline vendor credential`,
48858
49166
 
48859
49167
  // src/funcs/vendorsDeleteVendorCredentialFile.ts
48860
49168
  function vendorsDeleteVendorCredentialFile(client, request, options) {
48861
- return new APIPromise($do34(client, request, options));
49169
+ return new APIPromise($do35(client, request, options));
48862
49170
  }
48863
- async function $do34(client, request, options) {
49171
+ async function $do35(client, request, options) {
48864
49172
  const parsed = safeParse(request, (value) => DeleteVendorCredentialFileRequest$outboundSchema.parse(value), "Input validation failed");
48865
49173
  if (!parsed.ok) {
48866
49174
  return [parsed, { status: "invalid" }];
@@ -48937,12 +49245,12 @@ var init_vendorsDeleteVendorCredentialFile = __esm(() => {
48937
49245
  });
48938
49246
 
48939
49247
  // src/mcp-server/tools/vendorsDeleteVendorCredentialFile.ts
48940
- var args32, tool$vendorsDeleteVendorCredentialFile;
49248
+ var args33, tool$vendorsDeleteVendorCredentialFile;
48941
49249
  var init_vendorsDeleteVendorCredentialFile2 = __esm(() => {
48942
49250
  init_vendorsDeleteVendorCredentialFile();
48943
49251
  init_operations();
48944
49252
  init_tools();
48945
- args32 = {
49253
+ args33 = {
48946
49254
  request: DeleteVendorCredentialFileRequest$inboundSchema
48947
49255
  };
48948
49256
  tool$vendorsDeleteVendorCredentialFile = {
@@ -48950,9 +49258,9 @@ var init_vendorsDeleteVendorCredentialFile2 = __esm(() => {
48950
49258
  description: `Delete vendor credential file
48951
49259
 
48952
49260
  It will delete the vendor credential file`,
48953
- args: args32,
48954
- tool: async (client, args33, ctx) => {
48955
- const [result, apiCall] = await vendorsDeleteVendorCredentialFile(client, args33.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
49261
+ args: args33,
49262
+ tool: async (client, args34, ctx) => {
49263
+ const [result, apiCall] = await vendorsDeleteVendorCredentialFile(client, args34.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48956
49264
  if (!result.ok) {
48957
49265
  return {
48958
49266
  content: [{ type: "text", text: result.error.message }],
@@ -48967,9 +49275,9 @@ It will delete the vendor credential file`,
48967
49275
 
48968
49276
  // src/funcs/vendorsDeleteVendorManagedByCompany.ts
48969
49277
  function vendorsDeleteVendorManagedByCompany(client, request, options) {
48970
- return new APIPromise($do35(client, request, options));
49278
+ return new APIPromise($do36(client, request, options));
48971
49279
  }
48972
- async function $do35(client, request, options) {
49280
+ async function $do36(client, request, options) {
48973
49281
  const parsed = safeParse(request, (value) => DeleteVendorManagedByCompanyRequest$outboundSchema.parse(value), "Input validation failed");
48974
49282
  if (!parsed.ok) {
48975
49283
  return [parsed, { status: "invalid" }];
@@ -49045,12 +49353,12 @@ var init_vendorsDeleteVendorManagedByCompany = __esm(() => {
49045
49353
  });
49046
49354
 
49047
49355
  // src/mcp-server/tools/vendorsDeleteVendorManagedByCompany.ts
49048
- var args33, tool$vendorsDeleteVendorManagedByCompany;
49356
+ var args34, tool$vendorsDeleteVendorManagedByCompany;
49049
49357
  var init_vendorsDeleteVendorManagedByCompany2 = __esm(() => {
49050
49358
  init_vendorsDeleteVendorManagedByCompany();
49051
49359
  init_operations();
49052
49360
  init_tools();
49053
- args33 = {
49361
+ args34 = {
49054
49362
  request: DeleteVendorManagedByCompanyRequest$inboundSchema
49055
49363
  };
49056
49364
  tool$vendorsDeleteVendorManagedByCompany = {
@@ -49058,9 +49366,9 @@ var init_vendorsDeleteVendorManagedByCompany2 = __esm(() => {
49058
49366
  description: `Delete vendor managed by company
49059
49367
 
49060
49368
  It will delete the vendor managed by company`,
49061
- args: args33,
49062
- tool: async (client, args34, ctx) => {
49063
- const [result, apiCall] = await vendorsDeleteVendorManagedByCompany(client, args34.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
49369
+ args: args34,
49370
+ tool: async (client, args35, ctx) => {
49371
+ const [result, apiCall] = await vendorsDeleteVendorManagedByCompany(client, args35.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
49064
49372
  if (!result.ok) {
49065
49373
  return {
49066
49374
  content: [{ type: "text", text: result.error.message }],
@@ -49075,9 +49383,9 @@ It will delete the vendor managed by company`,
49075
49383
 
49076
49384
  // src/funcs/vendorsExpediteTimeRemaining.ts
49077
49385
  function vendorsExpediteTimeRemaining(client, request, options) {
49078
- return new APIPromise($do36(client, request, options));
49386
+ return new APIPromise($do37(client, request, options));
49079
49387
  }
49080
- async function $do36(client, request, options) {
49388
+ async function $do37(client, request, options) {
49081
49389
  const parsed = safeParse(request, (value) => ExpediteTimeRemainingRequest$outboundSchema.parse(value), "Input validation failed");
49082
49390
  if (!parsed.ok) {
49083
49391
  return [parsed, { status: "invalid" }];
@@ -49152,12 +49460,12 @@ var init_vendorsExpediteTimeRemaining = __esm(() => {
49152
49460
  });
49153
49461
 
49154
49462
  // src/mcp-server/tools/vendorsExpediteTimeRemaining.ts
49155
- var args34, tool$vendorsExpediteTimeRemaining;
49463
+ var args35, tool$vendorsExpediteTimeRemaining;
49156
49464
  var init_vendorsExpediteTimeRemaining2 = __esm(() => {
49157
49465
  init_vendorsExpediteTimeRemaining();
49158
49466
  init_operations();
49159
49467
  init_tools();
49160
- args34 = {
49468
+ args35 = {
49161
49469
  request: ExpediteTimeRemainingRequest$inboundSchema
49162
49470
  };
49163
49471
  tool$vendorsExpediteTimeRemaining = {
@@ -49165,9 +49473,9 @@ var init_vendorsExpediteTimeRemaining2 = __esm(() => {
49165
49473
  description: `Expedite time remaining
49166
49474
 
49167
49475
  For vendors who have a paid 24-hour expedite credentials invoice, get the remaining time (in seconds) for which submitted credentials will be expedited.`,
49168
- args: args34,
49169
- tool: async (client, args35, ctx) => {
49170
- const [result, apiCall] = await vendorsExpediteTimeRemaining(client, args35.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
49476
+ args: args35,
49477
+ tool: async (client, args36, ctx) => {
49478
+ const [result, apiCall] = await vendorsExpediteTimeRemaining(client, args36.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
49171
49479
  if (!result.ok) {
49172
49480
  return {
49173
49481
  content: [{ type: "text", text: result.error.message }],
@@ -49182,9 +49490,9 @@ For vendors who have a paid 24-hour expedite credentials invoice, get the remain
49182
49490
 
49183
49491
  // src/funcs/vendorsGetSubscription.ts
49184
49492
  function vendorsGetSubscription(client, request, options) {
49185
- return new APIPromise($do37(client, request, options));
49493
+ return new APIPromise($do38(client, request, options));
49186
49494
  }
49187
- async function $do37(client, request, options) {
49495
+ async function $do38(client, request, options) {
49188
49496
  const parsed = safeParse(request, (value) => GetSubscriptionRequest$outboundSchema.parse(value), "Input validation failed");
49189
49497
  if (!parsed.ok) {
49190
49498
  return [parsed, { status: "invalid" }];
@@ -49263,12 +49571,12 @@ var init_vendorsGetSubscription = __esm(() => {
49263
49571
  });
49264
49572
 
49265
49573
  // src/mcp-server/tools/vendorsGetSubscription.ts
49266
- var args35, tool$vendorsGetSubscription;
49574
+ var args36, tool$vendorsGetSubscription;
49267
49575
  var init_vendorsGetSubscription2 = __esm(() => {
49268
49576
  init_vendorsGetSubscription();
49269
49577
  init_operations();
49270
49578
  init_tools();
49271
- args35 = {
49579
+ args36 = {
49272
49580
  request: GetSubscriptionRequest$inboundSchema
49273
49581
  };
49274
49582
  tool$vendorsGetSubscription = {
@@ -49280,9 +49588,9 @@ Get vendor subscription
49280
49588
  Available \`expand\` scopes are:
49281
49589
 
49282
49590
  subscription.expedited_offer`,
49283
- args: args35,
49284
- tool: async (client, args36, ctx) => {
49285
- const [result, apiCall] = await vendorsGetSubscription(client, args36.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
49591
+ args: args36,
49592
+ tool: async (client, args37, ctx) => {
49593
+ const [result, apiCall] = await vendorsGetSubscription(client, args37.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
49286
49594
  if (!result.ok) {
49287
49595
  return {
49288
49596
  content: [{ type: "text", text: result.error.message }],
@@ -49297,9 +49605,9 @@ subscription.expedited_offer`,
49297
49605
 
49298
49606
  // src/funcs/vendorsGetVendorCredentialDetails.ts
49299
49607
  function vendorsGetVendorCredentialDetails(client, request, options) {
49300
- return new APIPromise($do38(client, request, options));
49608
+ return new APIPromise($do39(client, request, options));
49301
49609
  }
49302
- async function $do38(client, request, options) {
49610
+ async function $do39(client, request, options) {
49303
49611
  const parsed = safeParse(request, (value) => GetVendorCredentialDetailsRequest$outboundSchema.parse(value), "Input validation failed");
49304
49612
  if (!parsed.ok) {
49305
49613
  return [parsed, { status: "invalid" }];
@@ -49382,12 +49690,12 @@ var init_vendorsGetVendorCredentialDetails = __esm(() => {
49382
49690
  });
49383
49691
 
49384
49692
  // src/mcp-server/tools/vendorsGetVendorCredentialDetails.ts
49385
- var args36, tool$vendorsGetVendorCredentialDetails;
49693
+ var args37, tool$vendorsGetVendorCredentialDetails;
49386
49694
  var init_vendorsGetVendorCredentialDetails2 = __esm(() => {
49387
49695
  init_vendorsGetVendorCredentialDetails();
49388
49696
  init_operations();
49389
49697
  init_tools();
49390
- args36 = {
49698
+ args37 = {
49391
49699
  request: GetVendorCredentialDetailsRequest$inboundSchema
49392
49700
  };
49393
49701
  tool$vendorsGetVendorCredentialDetails = {
@@ -49413,9 +49721,9 @@ Available \`expand\` scopes are:
49413
49721
  - vendor_credential.credential_variants
49414
49722
  - vendor_credential.targets_chop
49415
49723
  - vendor_credential.total_pending_credentials`,
49416
- args: args36,
49417
- tool: async (client, args37, ctx) => {
49418
- const [result, apiCall] = await vendorsGetVendorCredentialDetails(client, args37.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
49724
+ args: args37,
49725
+ tool: async (client, args38, ctx) => {
49726
+ const [result, apiCall] = await vendorsGetVendorCredentialDetails(client, args38.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
49419
49727
  if (!result.ok) {
49420
49728
  return {
49421
49729
  content: [{ type: "text", text: result.error.message }],
@@ -49430,9 +49738,9 @@ Available \`expand\` scopes are:
49430
49738
 
49431
49739
  // src/funcs/vendorsGetVendorCredentialFile.ts
49432
49740
  function vendorsGetVendorCredentialFile(client, request, options) {
49433
- return new APIPromise($do39(client, request, options));
49741
+ return new APIPromise($do40(client, request, options));
49434
49742
  }
49435
- async function $do39(client, request, options) {
49743
+ async function $do40(client, request, options) {
49436
49744
  const parsed = safeParse(request, (value) => GetVendorCredentialFileRequest$outboundSchema.parse(value), "Input validation failed");
49437
49745
  if (!parsed.ok) {
49438
49746
  return [parsed, { status: "invalid" }];
@@ -49513,12 +49821,12 @@ var init_vendorsGetVendorCredentialFile = __esm(() => {
49513
49821
  });
49514
49822
 
49515
49823
  // src/mcp-server/tools/vendorsGetVendorCredentialFile.ts
49516
- var args37, tool$vendorsGetVendorCredentialFile;
49824
+ var args38, tool$vendorsGetVendorCredentialFile;
49517
49825
  var init_vendorsGetVendorCredentialFile2 = __esm(() => {
49518
49826
  init_vendorsGetVendorCredentialFile();
49519
49827
  init_operations();
49520
49828
  init_tools();
49521
- args37 = {
49829
+ args38 = {
49522
49830
  request: GetVendorCredentialFileRequest$inboundSchema
49523
49831
  };
49524
49832
  tool$vendorsGetVendorCredentialFile = {
@@ -49531,9 +49839,9 @@ Available \`expand\` scopes are:
49531
49839
 
49532
49840
  - vendor_credential_file.vendor_credential
49533
49841
  - vendor_credential_file.credential_document`,
49534
- args: args37,
49535
- tool: async (client, args38, ctx) => {
49536
- const [result, apiCall] = await vendorsGetVendorCredentialFile(client, args38.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
49842
+ args: args38,
49843
+ tool: async (client, args39, ctx) => {
49844
+ const [result, apiCall] = await vendorsGetVendorCredentialFile(client, args39.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
49537
49845
  if (!result.ok) {
49538
49846
  return {
49539
49847
  content: [{ type: "text", text: result.error.message }],
@@ -49548,9 +49856,9 @@ Available \`expand\` scopes are:
49548
49856
 
49549
49857
  // src/funcs/vendorsGetVendorInvoiceDetails.ts
49550
49858
  function vendorsGetVendorInvoiceDetails(client, request, options) {
49551
- return new APIPromise($do40(client, request, options));
49859
+ return new APIPromise($do41(client, request, options));
49552
49860
  }
49553
- async function $do40(client, request, options) {
49861
+ async function $do41(client, request, options) {
49554
49862
  const parsed = safeParse(request, (value) => GetVendorInvoiceDetailsRequest$outboundSchema.parse(value), "Input validation failed");
49555
49863
  if (!parsed.ok) {
49556
49864
  return [parsed, { status: "invalid" }];
@@ -49630,12 +49938,12 @@ var init_vendorsGetVendorInvoiceDetails = __esm(() => {
49630
49938
  });
49631
49939
 
49632
49940
  // src/mcp-server/tools/vendorsGetVendorInvoiceDetails.ts
49633
- var args38, tool$vendorsGetVendorInvoiceDetails;
49941
+ var args39, tool$vendorsGetVendorInvoiceDetails;
49634
49942
  var init_vendorsGetVendorInvoiceDetails2 = __esm(() => {
49635
49943
  init_vendorsGetVendorInvoiceDetails();
49636
49944
  init_operations();
49637
49945
  init_tools();
49638
- args38 = {
49946
+ args39 = {
49639
49947
  request: GetVendorInvoiceDetailsRequest$inboundSchema
49640
49948
  };
49641
49949
  tool$vendorsGetVendorInvoiceDetails = {
@@ -49648,9 +49956,119 @@ Available \`expand\` scopes are:
49648
49956
 
49649
49957
  invoice.line_items
49650
49958
  invoice.invoice_transactions`,
49651
- args: args38,
49652
- tool: async (client, args39, ctx) => {
49653
- const [result, apiCall] = await vendorsGetVendorInvoiceDetails(client, args39.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
49959
+ args: args39,
49960
+ tool: async (client, args40, ctx) => {
49961
+ const [result, apiCall] = await vendorsGetVendorInvoiceDetails(client, args40.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
49962
+ if (!result.ok) {
49963
+ return {
49964
+ content: [{ type: "text", text: result.error.message }],
49965
+ isError: true
49966
+ };
49967
+ }
49968
+ const value = result.value;
49969
+ return formatResult(value, apiCall);
49970
+ }
49971
+ };
49972
+ });
49973
+
49974
+ // src/funcs/vendorsGetVendorInvoiceReceipt.ts
49975
+ function vendorsGetVendorInvoiceReceipt(client, request, options) {
49976
+ return new APIPromise($do42(client, request, options));
49977
+ }
49978
+ async function $do42(client, request, options) {
49979
+ const parsed = safeParse(request, (value) => GetVendorInvoiceReceiptRequest$outboundSchema.parse(value), "Input validation failed");
49980
+ if (!parsed.ok) {
49981
+ return [parsed, { status: "invalid" }];
49982
+ }
49983
+ const payload = parsed.value;
49984
+ const body = null;
49985
+ const pathParams = {
49986
+ id: encodeSimple("id", payload.id, {
49987
+ explode: false,
49988
+ charEncoding: "percent"
49989
+ })
49990
+ };
49991
+ const path = pathToFunc("/vendors/invoices/{id}/receipt")(pathParams);
49992
+ const headers = new Headers(compactMap({
49993
+ Accept: "application/pdf"
49994
+ }));
49995
+ const securityInput = await extractSecurity(client._options.security);
49996
+ const requestSecurity = resolveGlobalSecurity(securityInput);
49997
+ const context = {
49998
+ options: client._options,
49999
+ baseURL: options?.serverURL ?? client._baseURL ?? "",
50000
+ operationID: "getVendorInvoiceReceipt",
50001
+ oAuth2Scopes: [],
50002
+ resolvedSecurity: requestSecurity,
50003
+ securitySource: client._options.security,
50004
+ retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
50005
+ retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
50006
+ };
50007
+ const requestRes = client._createRequest(context, {
50008
+ security: requestSecurity,
50009
+ method: "GET",
50010
+ baseURL: options?.serverURL,
50011
+ path,
50012
+ headers,
50013
+ body,
50014
+ userAgent: client._options.userAgent,
50015
+ timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
50016
+ }, options);
50017
+ if (!requestRes.ok) {
50018
+ return [requestRes, { status: "invalid" }];
50019
+ }
50020
+ const req = requestRes.value;
50021
+ const doResult = await client._do(req, {
50022
+ context,
50023
+ errorCodes: ["400", "401", "403", "404", "4XX", "500", "5XX"],
50024
+ retryConfig: context.retryConfig,
50025
+ retryCodes: context.retryCodes
50026
+ });
50027
+ if (!doResult.ok) {
50028
+ return [doResult, { status: "request-error", request: req }];
50029
+ }
50030
+ const response = doResult.value;
50031
+ const responseFields = {
50032
+ HttpMeta: { Response: response, Request: req }
50033
+ };
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 });
50037
+ if (!result.ok) {
50038
+ return [result, { status: "complete", request: req, response }];
50039
+ }
50040
+ return [result, { status: "complete", request: req, response }];
50041
+ }
50042
+ var init_vendorsGetVendorInvoiceReceipt = __esm(() => {
50043
+ init_esm();
50044
+ init_encodings();
50045
+ init_matchers();
50046
+ init_primitives();
50047
+ init_schemas();
50048
+ init_security();
50049
+ init_url();
50050
+ init_errors2();
50051
+ init_operations();
50052
+ init_async();
50053
+ });
50054
+
50055
+ // src/mcp-server/tools/vendorsGetVendorInvoiceReceipt.ts
50056
+ var args40, tool$vendorsGetVendorInvoiceReceipt;
50057
+ var init_vendorsGetVendorInvoiceReceipt2 = __esm(() => {
50058
+ init_vendorsGetVendorInvoiceReceipt();
50059
+ init_operations();
50060
+ init_tools();
50061
+ args40 = {
50062
+ request: GetVendorInvoiceReceiptRequest$inboundSchema
50063
+ };
50064
+ tool$vendorsGetVendorInvoiceReceipt = {
50065
+ name: "vendors-get-vendor-invoice-receipt",
50066
+ description: `Get invoice receipt for vendor
50067
+
50068
+ 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();
49654
50072
  if (!result.ok) {
49655
50073
  return {
49656
50074
  content: [{ type: "text", text: result.error.message }],
@@ -49665,9 +50083,9 @@ invoice.invoice_transactions`,
49665
50083
 
49666
50084
  // src/funcs/vendorsGetVendorLegalName.ts
49667
50085
  function vendorsGetVendorLegalName(client, request, options) {
49668
- return new APIPromise($do41(client, request, options));
50086
+ return new APIPromise($do43(client, request, options));
49669
50087
  }
49670
- async function $do41(client, request, options) {
50088
+ async function $do43(client, request, options) {
49671
50089
  const parsed = safeParse(request, (value) => GetVendorLegalNameRequest$outboundSchema.parse(value), "Input validation failed");
49672
50090
  if (!parsed.ok) {
49673
50091
  return [parsed, { status: "invalid" }];
@@ -49742,12 +50160,12 @@ var init_vendorsGetVendorLegalName = __esm(() => {
49742
50160
  });
49743
50161
 
49744
50162
  // src/mcp-server/tools/vendorsGetVendorLegalName.ts
49745
- var args39, tool$vendorsGetVendorLegalName;
50163
+ var args41, tool$vendorsGetVendorLegalName;
49746
50164
  var init_vendorsGetVendorLegalName2 = __esm(() => {
49747
50165
  init_vendorsGetVendorLegalName();
49748
50166
  init_operations();
49749
50167
  init_tools();
49750
- args39 = {
50168
+ args41 = {
49751
50169
  request: GetVendorLegalNameRequest$inboundSchema
49752
50170
  };
49753
50171
  tool$vendorsGetVendorLegalName = {
@@ -49755,9 +50173,9 @@ var init_vendorsGetVendorLegalName2 = __esm(() => {
49755
50173
  description: `Get Vendor legal name
49756
50174
 
49757
50175
  Get vendor legal name`,
49758
- args: args39,
49759
- tool: async (client, args40, ctx) => {
49760
- const [result, apiCall] = await vendorsGetVendorLegalName(client, args40.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
50176
+ args: args41,
50177
+ tool: async (client, args42, ctx) => {
50178
+ const [result, apiCall] = await vendorsGetVendorLegalName(client, args42.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
49761
50179
  if (!result.ok) {
49762
50180
  return {
49763
50181
  content: [{ type: "text", text: result.error.message }],
@@ -49772,9 +50190,9 @@ Get vendor legal name`,
49772
50190
 
49773
50191
  // src/funcs/vendorsGetVendorsDetails.ts
49774
50192
  function vendorsGetVendorsDetails(client, request, options) {
49775
- return new APIPromise($do42(client, request, options));
50193
+ return new APIPromise($do44(client, request, options));
49776
50194
  }
49777
- async function $do42(client, request, options) {
50195
+ async function $do44(client, request, options) {
49778
50196
  const parsed = safeParse(request, (value) => GetVendorsDetailsRequest$outboundSchema.parse(value), "Input validation failed");
49779
50197
  if (!parsed.ok) {
49780
50198
  return [parsed, { status: "invalid" }];
@@ -49854,12 +50272,12 @@ var init_vendorsGetVendorsDetails = __esm(() => {
49854
50272
  });
49855
50273
 
49856
50274
  // src/mcp-server/tools/vendorsGetVendorsDetails.ts
49857
- var args40, tool$vendorsGetVendorsDetails;
50275
+ var args42, tool$vendorsGetVendorsDetails;
49858
50276
  var init_vendorsGetVendorsDetails2 = __esm(() => {
49859
50277
  init_vendorsGetVendorsDetails();
49860
50278
  init_operations();
49861
50279
  init_tools();
49862
- args40 = {
50280
+ args42 = {
49863
50281
  request: GetVendorsDetailsRequest$inboundSchema
49864
50282
  };
49865
50283
  tool$vendorsGetVendorsDetails = {
@@ -49888,9 +50306,9 @@ vendor.registration_finished
49888
50306
  vendor.target_facilities
49889
50307
  vendor.pending_invoice
49890
50308
  vendor.vendor_groups`,
49891
- args: args40,
49892
- tool: async (client, args41, ctx) => {
49893
- const [result, apiCall] = await vendorsGetVendorsDetails(client, args41.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
50309
+ args: args42,
50310
+ tool: async (client, args43, ctx) => {
50311
+ const [result, apiCall] = await vendorsGetVendorsDetails(client, args43.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
49894
50312
  if (!result.ok) {
49895
50313
  return {
49896
50314
  content: [{ type: "text", text: result.error.message }],
@@ -49905,9 +50323,9 @@ vendor.vendor_groups`,
49905
50323
 
49906
50324
  // src/funcs/vendorsListVendorAdditionalFacilityFields.ts
49907
50325
  function vendorsListVendorAdditionalFacilityFields(client, request, options) {
49908
- return new APIPromise($do43(client, request, options));
50326
+ return new APIPromise($do45(client, request, options));
49909
50327
  }
49910
- async function $do43(client, request, options) {
50328
+ async function $do45(client, request, options) {
49911
50329
  const parsed = safeParse(request, (value) => ListVendorAdditionalFacilityFieldsRequest$outboundSchema.parse(value), "Input validation failed");
49912
50330
  if (!parsed.ok) {
49913
50331
  return [haltIterator(parsed), { status: "invalid" }];
@@ -50019,12 +50437,12 @@ var init_vendorsListVendorAdditionalFacilityFields = __esm(() => {
50019
50437
  });
50020
50438
 
50021
50439
  // src/mcp-server/tools/vendorsListVendorAdditionalFacilityFields.ts
50022
- var args41, tool$vendorsListVendorAdditionalFacilityFields;
50440
+ var args43, tool$vendorsListVendorAdditionalFacilityFields;
50023
50441
  var init_vendorsListVendorAdditionalFacilityFields2 = __esm(() => {
50024
50442
  init_vendorsListVendorAdditionalFacilityFields();
50025
50443
  init_operations();
50026
50444
  init_tools();
50027
- args41 = {
50445
+ args43 = {
50028
50446
  request: ListVendorAdditionalFacilityFieldsRequest$inboundSchema
50029
50447
  };
50030
50448
  tool$vendorsListVendorAdditionalFacilityFields = {
@@ -50032,9 +50450,9 @@ var init_vendorsListVendorAdditionalFacilityFields2 = __esm(() => {
50032
50450
  description: `List of vendor's additional facility fields
50033
50451
 
50034
50452
  List of vendor's additional facility fields`,
50035
- args: args41,
50036
- tool: async (client, args42, ctx) => {
50037
- const [result, apiCall] = await vendorsListVendorAdditionalFacilityFields(client, args42.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
50453
+ args: args43,
50454
+ tool: async (client, args44, ctx) => {
50455
+ const [result, apiCall] = await vendorsListVendorAdditionalFacilityFields(client, args44.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
50038
50456
  if (!result.ok) {
50039
50457
  return {
50040
50458
  content: [{ type: "text", text: result.error.message }],
@@ -50049,9 +50467,9 @@ List of vendor's additional facility fields`,
50049
50467
 
50050
50468
  // src/funcs/vendorsListVendorCredentialDataRequests.ts
50051
50469
  function vendorsListVendorCredentialDataRequests(client, request, options) {
50052
- return new APIPromise($do44(client, request, options));
50470
+ return new APIPromise($do46(client, request, options));
50053
50471
  }
50054
- async function $do44(client, request, options) {
50472
+ async function $do46(client, request, options) {
50055
50473
  const parsed = safeParse(request, (value) => ListVendorCredentialDataRequestsRequest$outboundSchema.parse(value), "Input validation failed");
50056
50474
  if (!parsed.ok) {
50057
50475
  return [parsed, { status: "invalid" }];
@@ -50134,12 +50552,12 @@ var init_vendorsListVendorCredentialDataRequests = __esm(() => {
50134
50552
  });
50135
50553
 
50136
50554
  // src/mcp-server/tools/vendorsListVendorCredentialDataRequests.ts
50137
- var args42, tool$vendorsListVendorCredentialDataRequests;
50555
+ var args44, tool$vendorsListVendorCredentialDataRequests;
50138
50556
  var init_vendorsListVendorCredentialDataRequests2 = __esm(() => {
50139
50557
  init_vendorsListVendorCredentialDataRequests();
50140
50558
  init_operations();
50141
50559
  init_tools();
50142
- args42 = {
50560
+ args44 = {
50143
50561
  request: ListVendorCredentialDataRequestsRequest$inboundSchema
50144
50562
  };
50145
50563
  tool$vendorsListVendorCredentialDataRequests = {
@@ -50152,9 +50570,9 @@ Available \`expand\` scopes are:
50152
50570
 
50153
50571
  - vendor_credential_data_request.vendor_credential
50154
50572
  - vendor_credential_data_request.data_request`,
50155
- args: args42,
50156
- tool: async (client, args43, ctx) => {
50157
- const [result, apiCall] = await vendorsListVendorCredentialDataRequests(client, args43.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
50573
+ args: args44,
50574
+ tool: async (client, args45, ctx) => {
50575
+ const [result, apiCall] = await vendorsListVendorCredentialDataRequests(client, args45.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
50158
50576
  if (!result.ok) {
50159
50577
  return {
50160
50578
  content: [{ type: "text", text: result.error.message }],
@@ -50169,9 +50587,9 @@ Available \`expand\` scopes are:
50169
50587
 
50170
50588
  // src/funcs/vendorsListVendorCredentialFiles.ts
50171
50589
  function vendorsListVendorCredentialFiles(client, request, options) {
50172
- return new APIPromise($do45(client, request, options));
50590
+ return new APIPromise($do47(client, request, options));
50173
50591
  }
50174
- async function $do45(client, request, options) {
50592
+ async function $do47(client, request, options) {
50175
50593
  const parsed = safeParse(request, (value) => ListVendorCredentialFilesRequest$outboundSchema.parse(value), "Input validation failed");
50176
50594
  if (!parsed.ok) {
50177
50595
  return [parsed, { status: "invalid" }];
@@ -50254,12 +50672,12 @@ var init_vendorsListVendorCredentialFiles = __esm(() => {
50254
50672
  });
50255
50673
 
50256
50674
  // src/mcp-server/tools/vendorsListVendorCredentialFiles.ts
50257
- var args43, tool$vendorsListVendorCredentialFiles;
50675
+ var args45, tool$vendorsListVendorCredentialFiles;
50258
50676
  var init_vendorsListVendorCredentialFiles2 = __esm(() => {
50259
50677
  init_vendorsListVendorCredentialFiles();
50260
50678
  init_operations();
50261
50679
  init_tools();
50262
- args43 = {
50680
+ args45 = {
50263
50681
  request: ListVendorCredentialFilesRequest$inboundSchema
50264
50682
  };
50265
50683
  tool$vendorsListVendorCredentialFiles = {
@@ -50272,9 +50690,9 @@ Available \`expand\` scopes are:
50272
50690
 
50273
50691
  - vendor_credential_file.vendor_credential
50274
50692
  - vendor_credential_file.credential_document`,
50275
- args: args43,
50276
- tool: async (client, args44, ctx) => {
50277
- const [result, apiCall] = await vendorsListVendorCredentialFiles(client, args44.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
50693
+ args: args45,
50694
+ tool: async (client, args46, ctx) => {
50695
+ const [result, apiCall] = await vendorsListVendorCredentialFiles(client, args46.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
50278
50696
  if (!result.ok) {
50279
50697
  return {
50280
50698
  content: [{ type: "text", text: result.error.message }],
@@ -50289,9 +50707,9 @@ Available \`expand\` scopes are:
50289
50707
 
50290
50708
  // src/funcs/vendorsListVendorCredentialHistory.ts
50291
50709
  function vendorsListVendorCredentialHistory(client, request, options) {
50292
- return new APIPromise($do46(client, request, options));
50710
+ return new APIPromise($do48(client, request, options));
50293
50711
  }
50294
- async function $do46(client, request, options) {
50712
+ async function $do48(client, request, options) {
50295
50713
  const parsed = safeParse(request, (value) => ListVendorCredentialHistoryRequest$outboundSchema.parse(value), "Input validation failed");
50296
50714
  if (!parsed.ok) {
50297
50715
  return [haltIterator(parsed), { status: "invalid" }];
@@ -50406,12 +50824,12 @@ var init_vendorsListVendorCredentialHistory = __esm(() => {
50406
50824
  });
50407
50825
 
50408
50826
  // src/mcp-server/tools/vendorsListVendorCredentialHistory.ts
50409
- var args44, tool$vendorsListVendorCredentialHistory;
50827
+ var args46, tool$vendorsListVendorCredentialHistory;
50410
50828
  var init_vendorsListVendorCredentialHistory2 = __esm(() => {
50411
50829
  init_vendorsListVendorCredentialHistory();
50412
50830
  init_operations();
50413
50831
  init_tools();
50414
- args44 = {
50832
+ args46 = {
50415
50833
  request: ListVendorCredentialHistoryRequest$inboundSchema
50416
50834
  };
50417
50835
  tool$vendorsListVendorCredentialHistory = {
@@ -50419,9 +50837,9 @@ var init_vendorsListVendorCredentialHistory2 = __esm(() => {
50419
50837
  description: `List Vendor Credential History
50420
50838
 
50421
50839
  Lists vendor credentials history`,
50422
- args: args44,
50423
- tool: async (client, args45, ctx) => {
50424
- const [result, apiCall] = await vendorsListVendorCredentialHistory(client, args45.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
50840
+ args: args46,
50841
+ tool: async (client, args47, ctx) => {
50842
+ const [result, apiCall] = await vendorsListVendorCredentialHistory(client, args47.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
50425
50843
  if (!result.ok) {
50426
50844
  return {
50427
50845
  content: [{ type: "text", text: result.error.message }],
@@ -50436,9 +50854,9 @@ Lists vendor credentials history`,
50436
50854
 
50437
50855
  // src/funcs/vendorsListVendorCredentials.ts
50438
50856
  function vendorsListVendorCredentials(client, request, options) {
50439
- return new APIPromise($do47(client, request, options));
50857
+ return new APIPromise($do49(client, request, options));
50440
50858
  }
50441
- async function $do47(client, request, options) {
50859
+ async function $do49(client, request, options) {
50442
50860
  const parsed = safeParse(request, (value) => ListVendorCredentialsRequest$outboundSchema.parse(value), "Input validation failed");
50443
50861
  if (!parsed.ok) {
50444
50862
  return [haltIterator(parsed), { status: "invalid" }];
@@ -50558,12 +50976,12 @@ var init_vendorsListVendorCredentials = __esm(() => {
50558
50976
  });
50559
50977
 
50560
50978
  // src/mcp-server/tools/vendorsListVendorCredentials.ts
50561
- var args45, tool$vendorsListVendorCredentials;
50979
+ var args47, tool$vendorsListVendorCredentials;
50562
50980
  var init_vendorsListVendorCredentials2 = __esm(() => {
50563
50981
  init_vendorsListVendorCredentials();
50564
50982
  init_operations();
50565
50983
  init_tools();
50566
- args45 = {
50984
+ args47 = {
50567
50985
  request: ListVendorCredentialsRequest$inboundSchema
50568
50986
  };
50569
50987
  tool$vendorsListVendorCredentials = {
@@ -50571,9 +50989,9 @@ var init_vendorsListVendorCredentials2 = __esm(() => {
50571
50989
  description: `List Vendor Credentials
50572
50990
 
50573
50991
  Lists vendor credentials, required credentials, and company credentials. Utilized in Vendor Dashboard.`,
50574
- args: args45,
50575
- tool: async (client, args46, ctx) => {
50576
- const [result, apiCall] = await vendorsListVendorCredentials(client, args46.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
50992
+ args: args47,
50993
+ tool: async (client, args48, ctx) => {
50994
+ const [result, apiCall] = await vendorsListVendorCredentials(client, args48.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
50577
50995
  if (!result.ok) {
50578
50996
  return {
50579
50997
  content: [{ type: "text", text: result.error.message }],
@@ -50588,9 +51006,9 @@ Lists vendor credentials, required credentials, and company credentials. Utilize
50588
51006
 
50589
51007
  // src/funcs/vendorsListVendorCredits.ts
50590
51008
  function vendorsListVendorCredits(client, request, options) {
50591
- return new APIPromise($do48(client, request, options));
51009
+ return new APIPromise($do50(client, request, options));
50592
51010
  }
50593
- async function $do48(client, request, options) {
51011
+ async function $do50(client, request, options) {
50594
51012
  const parsed = safeParse(request, (value) => ListVendorCreditsRequest$outboundSchema.parse(value), "Input validation failed");
50595
51013
  if (!parsed.ok) {
50596
51014
  return [haltIterator(parsed), { status: "invalid" }];
@@ -50704,12 +51122,12 @@ var init_vendorsListVendorCredits = __esm(() => {
50704
51122
  });
50705
51123
 
50706
51124
  // src/mcp-server/tools/vendorsListVendorCredits.ts
50707
- var args46, tool$vendorsListVendorCredits;
51125
+ var args48, tool$vendorsListVendorCredits;
50708
51126
  var init_vendorsListVendorCredits2 = __esm(() => {
50709
51127
  init_vendorsListVendorCredits();
50710
51128
  init_operations();
50711
51129
  init_tools();
50712
- args46 = {
51130
+ args48 = {
50713
51131
  request: ListVendorCreditsRequest$inboundSchema
50714
51132
  };
50715
51133
  tool$vendorsListVendorCredits = {
@@ -50717,9 +51135,9 @@ var init_vendorsListVendorCredits2 = __esm(() => {
50717
51135
  description: `List vendor credits
50718
51136
 
50719
51137
  List the credits for the vendor`,
50720
- args: args46,
50721
- tool: async (client, args47, ctx) => {
50722
- const [result, apiCall] = await vendorsListVendorCredits(client, args47.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
51138
+ args: args48,
51139
+ tool: async (client, args49, ctx) => {
51140
+ const [result, apiCall] = await vendorsListVendorCredits(client, args49.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
50723
51141
  if (!result.ok) {
50724
51142
  return {
50725
51143
  content: [{ type: "text", text: result.error.message }],
@@ -50734,9 +51152,9 @@ List the credits for the vendor`,
50734
51152
 
50735
51153
  // src/funcs/vendorsListVendorFacilityStatuses.ts
50736
51154
  function vendorsListVendorFacilityStatuses(client, request, options) {
50737
- return new APIPromise($do49(client, request, options));
51155
+ return new APIPromise($do51(client, request, options));
50738
51156
  }
50739
- async function $do49(client, request, options) {
51157
+ async function $do51(client, request, options) {
50740
51158
  const parsed = safeParse(request, (value) => ListVendorFacilityStatusesRequest$outboundSchema.parse(value), "Input validation failed");
50741
51159
  if (!parsed.ok) {
50742
51160
  return [haltIterator(parsed), { status: "invalid" }];
@@ -50854,12 +51272,12 @@ var init_vendorsListVendorFacilityStatuses = __esm(() => {
50854
51272
  });
50855
51273
 
50856
51274
  // src/mcp-server/tools/vendorsListVendorFacilityStatuses.ts
50857
- var args47, tool$vendorsListVendorFacilityStatuses;
51275
+ var args49, tool$vendorsListVendorFacilityStatuses;
50858
51276
  var init_vendorsListVendorFacilityStatuses2 = __esm(() => {
50859
51277
  init_vendorsListVendorFacilityStatuses();
50860
51278
  init_operations();
50861
51279
  init_tools();
50862
- args47 = {
51280
+ args49 = {
50863
51281
  request: ListVendorFacilityStatusesRequest$inboundSchema
50864
51282
  };
50865
51283
  tool$vendorsListVendorFacilityStatuses = {
@@ -50867,9 +51285,9 @@ var init_vendorsListVendorFacilityStatuses2 = __esm(() => {
50867
51285
  description: `List vendor facility statuses
50868
51286
 
50869
51287
  List the facilities for the vendor`,
50870
- args: args47,
50871
- tool: async (client, args48, ctx) => {
50872
- const [result, apiCall] = await vendorsListVendorFacilityStatuses(client, args48.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
51288
+ args: args49,
51289
+ tool: async (client, args50, ctx) => {
51290
+ const [result, apiCall] = await vendorsListVendorFacilityStatuses(client, args50.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
50873
51291
  if (!result.ok) {
50874
51292
  return {
50875
51293
  content: [{ type: "text", text: result.error.message }],
@@ -50884,9 +51302,9 @@ List the facilities for the vendor`,
50884
51302
 
50885
51303
  // src/funcs/vendorsListVendorInvoices.ts
50886
51304
  function vendorsListVendorInvoices(client, request, options) {
50887
- return new APIPromise($do50(client, request, options));
51305
+ return new APIPromise($do52(client, request, options));
50888
51306
  }
50889
- async function $do50(client, request, options) {
51307
+ async function $do52(client, request, options) {
50890
51308
  const parsed = safeParse(request, (value) => ListVendorInvoicesRequest$outboundSchema.parse(value), "Input validation failed");
50891
51309
  if (!parsed.ok) {
50892
51310
  return [haltIterator(parsed), { status: "invalid" }];
@@ -51004,12 +51422,12 @@ var init_vendorsListVendorInvoices = __esm(() => {
51004
51422
  });
51005
51423
 
51006
51424
  // src/mcp-server/tools/vendorsListVendorInvoices.ts
51007
- var args48, tool$vendorsListVendorInvoices;
51425
+ var args50, tool$vendorsListVendorInvoices;
51008
51426
  var init_vendorsListVendorInvoices2 = __esm(() => {
51009
51427
  init_vendorsListVendorInvoices();
51010
51428
  init_operations();
51011
51429
  init_tools();
51012
- args48 = {
51430
+ args50 = {
51013
51431
  request: ListVendorInvoicesRequest$inboundSchema
51014
51432
  };
51015
51433
  tool$vendorsListVendorInvoices = {
@@ -51021,9 +51439,9 @@ List invoices for Vendors
51021
51439
  Available \`expand\` scopes are:
51022
51440
 
51023
51441
  invoice.line_items`,
51024
- args: args48,
51025
- tool: async (client, args49, ctx) => {
51026
- const [result, apiCall] = await vendorsListVendorInvoices(client, args49.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
51442
+ args: args50,
51443
+ tool: async (client, args51, ctx) => {
51444
+ const [result, apiCall] = await vendorsListVendorInvoices(client, args51.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
51027
51445
  if (!result.ok) {
51028
51446
  return {
51029
51447
  content: [{ type: "text", text: result.error.message }],
@@ -51038,9 +51456,9 @@ invoice.line_items`,
51038
51456
 
51039
51457
  // src/funcs/vendorsListVendorJobTitles.ts
51040
51458
  function vendorsListVendorJobTitles(client, request, options) {
51041
- return new APIPromise($do51(client, request, options));
51459
+ return new APIPromise($do53(client, request, options));
51042
51460
  }
51043
- async function $do51(client, request, options) {
51461
+ async function $do53(client, request, options) {
51044
51462
  const parsed = safeParse(request, (value) => ListVendorJobTitlesRequest$outboundSchema.parse(value), "Input validation failed");
51045
51463
  if (!parsed.ok) {
51046
51464
  return [haltIterator(parsed), { status: "invalid" }];
@@ -51149,12 +51567,12 @@ var init_vendorsListVendorJobTitles = __esm(() => {
51149
51567
  });
51150
51568
 
51151
51569
  // src/mcp-server/tools/vendorsListVendorJobTitles.ts
51152
- var args49, tool$vendorsListVendorJobTitles;
51570
+ var args51, tool$vendorsListVendorJobTitles;
51153
51571
  var init_vendorsListVendorJobTitles2 = __esm(() => {
51154
51572
  init_vendorsListVendorJobTitles();
51155
51573
  init_operations();
51156
51574
  init_tools();
51157
- args49 = {
51575
+ args51 = {
51158
51576
  request: ListVendorJobTitlesRequest$inboundSchema
51159
51577
  };
51160
51578
  tool$vendorsListVendorJobTitles = {
@@ -51162,9 +51580,9 @@ var init_vendorsListVendorJobTitles2 = __esm(() => {
51162
51580
  description: `List vendor job titles
51163
51581
 
51164
51582
  List valid job titles for Vendors. This can be used during sign up or in a filter.`,
51165
- args: args49,
51166
- tool: async (client, args50, ctx) => {
51167
- const [result, apiCall] = await vendorsListVendorJobTitles(client, args50.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
51583
+ args: args51,
51584
+ tool: async (client, args52, ctx) => {
51585
+ const [result, apiCall] = await vendorsListVendorJobTitles(client, args52.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
51168
51586
  if (!result.ok) {
51169
51587
  return {
51170
51588
  content: [{ type: "text", text: result.error.message }],
@@ -51179,9 +51597,9 @@ List valid job titles for Vendors. This can be used during sign up or in a filte
51179
51597
 
51180
51598
  // src/funcs/vendorsListVendorManagedByCompanies.ts
51181
51599
  function vendorsListVendorManagedByCompanies(client, request, options) {
51182
- return new APIPromise($do52(client, request, options));
51600
+ return new APIPromise($do54(client, request, options));
51183
51601
  }
51184
- async function $do52(client, request, options) {
51602
+ async function $do54(client, request, options) {
51185
51603
  const parsed = safeParse(request, (value) => ListVendorManagedByCompaniesRequest$outboundSchema.parse(value), "Input validation failed");
51186
51604
  if (!parsed.ok) {
51187
51605
  return [haltIterator(parsed), { status: "invalid" }];
@@ -51295,12 +51713,12 @@ var init_vendorsListVendorManagedByCompanies = __esm(() => {
51295
51713
  });
51296
51714
 
51297
51715
  // src/mcp-server/tools/vendorsListVendorManagedByCompanies.ts
51298
- var args50, tool$vendorsListVendorManagedByCompanies;
51716
+ var args52, tool$vendorsListVendorManagedByCompanies;
51299
51717
  var init_vendorsListVendorManagedByCompanies2 = __esm(() => {
51300
51718
  init_vendorsListVendorManagedByCompanies();
51301
51719
  init_operations();
51302
51720
  init_tools();
51303
- args50 = {
51721
+ args52 = {
51304
51722
  request: ListVendorManagedByCompaniesRequest$inboundSchema
51305
51723
  };
51306
51724
  tool$vendorsListVendorManagedByCompanies = {
@@ -51308,9 +51726,9 @@ var init_vendorsListVendorManagedByCompanies2 = __esm(() => {
51308
51726
  description: `List of companies managing the vendor
51309
51727
 
51310
51728
  List of companies managing the vendor`,
51311
- args: args50,
51312
- tool: async (client, args51, ctx) => {
51313
- const [result, apiCall] = await vendorsListVendorManagedByCompanies(client, args51.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
51729
+ args: args52,
51730
+ tool: async (client, args53, ctx) => {
51731
+ const [result, apiCall] = await vendorsListVendorManagedByCompanies(client, args53.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
51314
51732
  if (!result.ok) {
51315
51733
  return {
51316
51734
  content: [{ type: "text", text: result.error.message }],
@@ -51325,9 +51743,9 @@ List of companies managing the vendor`,
51325
51743
 
51326
51744
  // src/funcs/vendorsListVendorScrubDetails.ts
51327
51745
  function vendorsListVendorScrubDetails(client, request, options) {
51328
- return new APIPromise($do53(client, request, options));
51746
+ return new APIPromise($do55(client, request, options));
51329
51747
  }
51330
- async function $do53(client, request, options) {
51748
+ async function $do55(client, request, options) {
51331
51749
  const parsed = safeParse(request, (value) => ListVendorScrubDetailsRequest$outboundSchema.parse(value), "Input validation failed");
51332
51750
  if (!parsed.ok) {
51333
51751
  return [parsed, { status: "invalid" }];
@@ -51403,12 +51821,12 @@ var init_vendorsListVendorScrubDetails = __esm(() => {
51403
51821
  });
51404
51822
 
51405
51823
  // src/mcp-server/tools/vendorsListVendorScrubDetails.ts
51406
- var args51, tool$vendorsListVendorScrubDetails;
51824
+ var args53, tool$vendorsListVendorScrubDetails;
51407
51825
  var init_vendorsListVendorScrubDetails2 = __esm(() => {
51408
51826
  init_vendorsListVendorScrubDetails();
51409
51827
  init_operations();
51410
51828
  init_tools();
51411
- args51 = {
51829
+ args53 = {
51412
51830
  request: ListVendorScrubDetailsRequest$inboundSchema
51413
51831
  };
51414
51832
  tool$vendorsListVendorScrubDetails = {
@@ -51416,9 +51834,9 @@ var init_vendorsListVendorScrubDetails2 = __esm(() => {
51416
51834
  description: `List vendor scrub details
51417
51835
 
51418
51836
  List vendor scrub details`,
51419
- args: args51,
51420
- tool: async (client, args52, ctx) => {
51421
- const [result, apiCall] = await vendorsListVendorScrubDetails(client, args52.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
51837
+ args: args53,
51838
+ tool: async (client, args54, ctx) => {
51839
+ const [result, apiCall] = await vendorsListVendorScrubDetails(client, args54.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
51422
51840
  if (!result.ok) {
51423
51841
  return {
51424
51842
  content: [{ type: "text", text: result.error.message }],
@@ -51433,9 +51851,9 @@ List vendor scrub details`,
51433
51851
 
51434
51852
  // src/funcs/vendorsListVendorScrubPackages.ts
51435
51853
  function vendorsListVendorScrubPackages(client, request, options) {
51436
- return new APIPromise($do54(client, request, options));
51854
+ return new APIPromise($do56(client, request, options));
51437
51855
  }
51438
- async function $do54(client, request, options) {
51856
+ async function $do56(client, request, options) {
51439
51857
  const parsed = safeParse(request, (value) => ListVendorScrubPackagesRequest$outboundSchema.parse(value), "Input validation failed");
51440
51858
  if (!parsed.ok) {
51441
51859
  return [haltIterator(parsed), { status: "invalid" }];
@@ -51549,12 +51967,12 @@ var init_vendorsListVendorScrubPackages = __esm(() => {
51549
51967
  });
51550
51968
 
51551
51969
  // src/mcp-server/tools/vendorsListVendorScrubPackages.ts
51552
- var args52, tool$vendorsListVendorScrubPackages;
51970
+ var args54, tool$vendorsListVendorScrubPackages;
51553
51971
  var init_vendorsListVendorScrubPackages2 = __esm(() => {
51554
51972
  init_vendorsListVendorScrubPackages();
51555
51973
  init_operations();
51556
51974
  init_tools();
51557
- args52 = {
51975
+ args54 = {
51558
51976
  request: ListVendorScrubPackagesRequest$inboundSchema
51559
51977
  };
51560
51978
  tool$vendorsListVendorScrubPackages = {
@@ -51562,9 +51980,9 @@ var init_vendorsListVendorScrubPackages2 = __esm(() => {
51562
51980
  description: `List vendor scrub packages
51563
51981
 
51564
51982
  List vendor scrub packages`,
51565
- args: args52,
51566
- tool: async (client, args53, ctx) => {
51567
- const [result, apiCall] = await vendorsListVendorScrubPackages(client, args53.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
51983
+ args: args54,
51984
+ tool: async (client, args55, ctx) => {
51985
+ const [result, apiCall] = await vendorsListVendorScrubPackages(client, args55.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
51568
51986
  if (!result.ok) {
51569
51987
  return {
51570
51988
  content: [{ type: "text", text: result.error.message }],
@@ -51579,9 +51997,9 @@ List vendor scrub packages`,
51579
51997
 
51580
51998
  // src/funcs/vendorsListVendorScrubPurchases.ts
51581
51999
  function vendorsListVendorScrubPurchases(client, request, options) {
51582
- return new APIPromise($do55(client, request, options));
52000
+ return new APIPromise($do57(client, request, options));
51583
52001
  }
51584
- async function $do55(client, request, options) {
52002
+ async function $do57(client, request, options) {
51585
52003
  const parsed = safeParse(request, (value) => ListVendorScrubPurchasesRequest$outboundSchema.parse(value), "Input validation failed");
51586
52004
  if (!parsed.ok) {
51587
52005
  return [haltIterator(parsed), { status: "invalid" }];
@@ -51695,12 +52113,12 @@ var init_vendorsListVendorScrubPurchases = __esm(() => {
51695
52113
  });
51696
52114
 
51697
52115
  // src/mcp-server/tools/vendorsListVendorScrubPurchases.ts
51698
- var args53, tool$vendorsListVendorScrubPurchases;
52116
+ var args55, tool$vendorsListVendorScrubPurchases;
51699
52117
  var init_vendorsListVendorScrubPurchases2 = __esm(() => {
51700
52118
  init_vendorsListVendorScrubPurchases();
51701
52119
  init_operations();
51702
52120
  init_tools();
51703
- args53 = {
52121
+ args55 = {
51704
52122
  request: ListVendorScrubPurchasesRequest$inboundSchema
51705
52123
  };
51706
52124
  tool$vendorsListVendorScrubPurchases = {
@@ -51708,9 +52126,9 @@ var init_vendorsListVendorScrubPurchases2 = __esm(() => {
51708
52126
  description: `List vendor scrub purchases
51709
52127
 
51710
52128
  List vendor scrub purchases`,
51711
- args: args53,
51712
- tool: async (client, args54, ctx) => {
51713
- const [result, apiCall] = await vendorsListVendorScrubPurchases(client, args54.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
52129
+ args: args55,
52130
+ tool: async (client, args56, ctx) => {
52131
+ const [result, apiCall] = await vendorsListVendorScrubPurchases(client, args56.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
51714
52132
  if (!result.ok) {
51715
52133
  return {
51716
52134
  content: [{ type: "text", text: result.error.message }],
@@ -51725,9 +52143,9 @@ List vendor scrub purchases`,
51725
52143
 
51726
52144
  // src/funcs/vendorsListVendorTypes.ts
51727
52145
  function vendorsListVendorTypes(client, request, options) {
51728
- return new APIPromise($do56(client, request, options));
52146
+ return new APIPromise($do58(client, request, options));
51729
52147
  }
51730
- async function $do56(client, request, options) {
52148
+ async function $do58(client, request, options) {
51731
52149
  const parsed = safeParse(request, (value) => ListVendorTypesRequest$outboundSchema.parse(value), "Input validation failed");
51732
52150
  if (!parsed.ok) {
51733
52151
  return [haltIterator(parsed), { status: "invalid" }];
@@ -51835,12 +52253,12 @@ var init_vendorsListVendorTypes = __esm(() => {
51835
52253
  });
51836
52254
 
51837
52255
  // src/mcp-server/tools/vendorsListVendorTypes.ts
51838
- var args54, tool$vendorsListVendorTypes;
52256
+ var args56, tool$vendorsListVendorTypes;
51839
52257
  var init_vendorsListVendorTypes2 = __esm(() => {
51840
52258
  init_vendorsListVendorTypes();
51841
52259
  init_operations();
51842
52260
  init_tools();
51843
- args54 = {
52261
+ args56 = {
51844
52262
  request: ListVendorTypesRequest$inboundSchema
51845
52263
  };
51846
52264
  tool$vendorsListVendorTypes = {
@@ -51848,9 +52266,9 @@ var init_vendorsListVendorTypes2 = __esm(() => {
51848
52266
  description: `List vendor types
51849
52267
 
51850
52268
  List vendor types.`,
51851
- args: args54,
51852
- tool: async (client, args55, ctx) => {
51853
- const [result, apiCall] = await vendorsListVendorTypes(client, args55.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
52269
+ args: args56,
52270
+ tool: async (client, args57, ctx) => {
52271
+ const [result, apiCall] = await vendorsListVendorTypes(client, args57.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
51854
52272
  if (!result.ok) {
51855
52273
  return {
51856
52274
  content: [{ type: "text", text: result.error.message }],
@@ -51865,9 +52283,9 @@ List vendor types.`,
51865
52283
 
51866
52284
  // src/funcs/vendorsPurchaseScrubCredits.ts
51867
52285
  function vendorsPurchaseScrubCredits(client, request, options) {
51868
- return new APIPromise($do57(client, request, options));
52286
+ return new APIPromise($do59(client, request, options));
51869
52287
  }
51870
- async function $do57(client, request, options) {
52288
+ async function $do59(client, request, options) {
51871
52289
  const parsed = safeParse(request, (value) => PurchaseScrubCreditsRequest$outboundSchema.parse(value), "Input validation failed");
51872
52290
  if (!parsed.ok) {
51873
52291
  return [parsed, { status: "invalid" }];
@@ -51943,12 +52361,12 @@ var init_vendorsPurchaseScrubCredits = __esm(() => {
51943
52361
  });
51944
52362
 
51945
52363
  // src/mcp-server/tools/vendorsPurchaseScrubCredits.ts
51946
- var args55, tool$vendorsPurchaseScrubCredits;
52364
+ var args57, tool$vendorsPurchaseScrubCredits;
51947
52365
  var init_vendorsPurchaseScrubCredits2 = __esm(() => {
51948
52366
  init_vendorsPurchaseScrubCredits();
51949
52367
  init_operations();
51950
52368
  init_tools();
51951
- args55 = {
52369
+ args57 = {
51952
52370
  request: PurchaseScrubCreditsRequest$inboundSchema
51953
52371
  };
51954
52372
  tool$vendorsPurchaseScrubCredits = {
@@ -51956,9 +52374,9 @@ var init_vendorsPurchaseScrubCredits2 = __esm(() => {
51956
52374
  description: `Purchase scrub credits
51957
52375
 
51958
52376
  Purchase scrub credits`,
51959
- args: args55,
51960
- tool: async (client, args56, ctx) => {
51961
- const [result, apiCall] = await vendorsPurchaseScrubCredits(client, args56.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
52377
+ args: args57,
52378
+ tool: async (client, args58, ctx) => {
52379
+ const [result, apiCall] = await vendorsPurchaseScrubCredits(client, args58.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
51962
52380
  if (!result.ok) {
51963
52381
  return {
51964
52382
  content: [{ type: "text", text: result.error.message }],
@@ -51973,9 +52391,9 @@ Purchase scrub credits`,
51973
52391
 
51974
52392
  // src/funcs/vendorsSendDownloadCode.ts
51975
52393
  function vendorsSendDownloadCode(client, request, options) {
51976
- return new APIPromise($do58(client, request, options));
52394
+ return new APIPromise($do60(client, request, options));
51977
52395
  }
51978
- async function $do58(client, request, options) {
52396
+ async function $do60(client, request, options) {
51979
52397
  const parsed = safeParse(request, (value) => SendDownloadCodeRequest$outboundSchema.parse(value), "Input validation failed");
51980
52398
  if (!parsed.ok) {
51981
52399
  return [parsed, { status: "invalid" }];
@@ -52049,12 +52467,12 @@ var init_vendorsSendDownloadCode = __esm(() => {
52049
52467
  });
52050
52468
 
52051
52469
  // src/mcp-server/tools/vendorsSendDownloadCode.ts
52052
- var args56, tool$vendorsSendDownloadCode;
52470
+ var args58, tool$vendorsSendDownloadCode;
52053
52471
  var init_vendorsSendDownloadCode2 = __esm(() => {
52054
52472
  init_vendorsSendDownloadCode();
52055
52473
  init_operations();
52056
52474
  init_tools();
52057
- args56 = {
52475
+ args58 = {
52058
52476
  request: SendDownloadCodeRequest$inboundSchema
52059
52477
  };
52060
52478
  tool$vendorsSendDownloadCode = {
@@ -52062,9 +52480,9 @@ var init_vendorsSendDownloadCode2 = __esm(() => {
52062
52480
  description: `Send download code for vendor credential
52063
52481
 
52064
52482
  It will send download code for vendor credential`,
52065
- args: args56,
52066
- tool: async (client, args57, ctx) => {
52067
- const [result, apiCall] = await vendorsSendDownloadCode(client, args57.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
52483
+ args: args58,
52484
+ tool: async (client, args59, ctx) => {
52485
+ const [result, apiCall] = await vendorsSendDownloadCode(client, args59.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
52068
52486
  if (!result.ok) {
52069
52487
  return {
52070
52488
  content: [{ type: "text", text: result.error.message }],
@@ -52079,9 +52497,9 @@ It will send download code for vendor credential`,
52079
52497
 
52080
52498
  // src/funcs/vendorsSubmitVendorCredential.ts
52081
52499
  function vendorsSubmitVendorCredential(client, request, options) {
52082
- return new APIPromise($do59(client, request, options));
52500
+ return new APIPromise($do61(client, request, options));
52083
52501
  }
52084
- async function $do59(client, request, options) {
52502
+ async function $do61(client, request, options) {
52085
52503
  const parsed = safeParse(request, (value) => SubmitVendorCredentialRequest$outboundSchema.parse(value), "Input validation failed");
52086
52504
  if (!parsed.ok) {
52087
52505
  return [parsed, { status: "invalid" }];
@@ -52155,12 +52573,12 @@ var init_vendorsSubmitVendorCredential = __esm(() => {
52155
52573
  });
52156
52574
 
52157
52575
  // src/mcp-server/tools/vendorsSubmitVendorCredential.ts
52158
- var args57, tool$vendorsSubmitVendorCredential;
52576
+ var args59, tool$vendorsSubmitVendorCredential;
52159
52577
  var init_vendorsSubmitVendorCredential2 = __esm(() => {
52160
52578
  init_vendorsSubmitVendorCredential();
52161
52579
  init_operations();
52162
52580
  init_tools();
52163
- args57 = {
52581
+ args59 = {
52164
52582
  request: SubmitVendorCredentialRequest$inboundSchema
52165
52583
  };
52166
52584
  tool$vendorsSubmitVendorCredential = {
@@ -52168,9 +52586,9 @@ var init_vendorsSubmitVendorCredential2 = __esm(() => {
52168
52586
  description: `Submit vendor credential
52169
52587
 
52170
52588
  It will submit vendor credential`,
52171
- args: args57,
52172
- tool: async (client, args58, ctx) => {
52173
- const [result, apiCall] = await vendorsSubmitVendorCredential(client, args58.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
52589
+ args: args59,
52590
+ tool: async (client, args60, ctx) => {
52591
+ const [result, apiCall] = await vendorsSubmitVendorCredential(client, args60.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
52174
52592
  if (!result.ok) {
52175
52593
  return {
52176
52594
  content: [{ type: "text", text: result.error.message }],
@@ -52185,9 +52603,9 @@ It will submit vendor credential`,
52185
52603
 
52186
52604
  // src/funcs/vendorsUpdateVendorCredentialData.ts
52187
52605
  function vendorsUpdateVendorCredentialData(client, request, options) {
52188
- return new APIPromise($do60(client, request, options));
52606
+ return new APIPromise($do62(client, request, options));
52189
52607
  }
52190
- async function $do60(client, request, options) {
52608
+ async function $do62(client, request, options) {
52191
52609
  const parsed = safeParse(request, (value) => UpdateVendorCredentialDataRequest$outboundSchema.parse(value), "Input validation failed");
52192
52610
  if (!parsed.ok) {
52193
52611
  return [parsed, { status: "invalid" }];
@@ -52268,12 +52686,12 @@ var init_vendorsUpdateVendorCredentialData = __esm(() => {
52268
52686
  });
52269
52687
 
52270
52688
  // src/mcp-server/tools/vendorsUpdateVendorCredentialData.ts
52271
- var args58, tool$vendorsUpdateVendorCredentialData;
52689
+ var args60, tool$vendorsUpdateVendorCredentialData;
52272
52690
  var init_vendorsUpdateVendorCredentialData2 = __esm(() => {
52273
52691
  init_vendorsUpdateVendorCredentialData();
52274
52692
  init_operations();
52275
52693
  init_tools();
52276
- args58 = {
52694
+ args60 = {
52277
52695
  request: UpdateVendorCredentialDataRequest$inboundSchema
52278
52696
  };
52279
52697
  tool$vendorsUpdateVendorCredentialData = {
@@ -52281,9 +52699,9 @@ var init_vendorsUpdateVendorCredentialData2 = __esm(() => {
52281
52699
  description: `Update vendor credential data
52282
52700
 
52283
52701
  Update vendor credential data`,
52284
- args: args58,
52285
- tool: async (client, args59, ctx) => {
52286
- const [result, apiCall] = await vendorsUpdateVendorCredentialData(client, args59.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
52702
+ args: args60,
52703
+ tool: async (client, args61, ctx) => {
52704
+ const [result, apiCall] = await vendorsUpdateVendorCredentialData(client, args61.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
52287
52705
  if (!result.ok) {
52288
52706
  return {
52289
52707
  content: [{ type: "text", text: result.error.message }],
@@ -52298,9 +52716,9 @@ Update vendor credential data`,
52298
52716
 
52299
52717
  // src/funcs/vendorsUpdateVendorCredentialFile.ts
52300
52718
  function vendorsUpdateVendorCredentialFile(client, request, options) {
52301
- return new APIPromise($do61(client, request, options));
52719
+ return new APIPromise($do63(client, request, options));
52302
52720
  }
52303
- async function $do61(client, request, options) {
52721
+ async function $do63(client, request, options) {
52304
52722
  const parsed = safeParse(request, (value) => UpdateVendorCredentialFileRequest$outboundSchema.parse(value), "Input validation failed");
52305
52723
  if (!parsed.ok) {
52306
52724
  return [parsed, { status: "invalid" }];
@@ -52378,12 +52796,12 @@ var init_vendorsUpdateVendorCredentialFile = __esm(() => {
52378
52796
  });
52379
52797
 
52380
52798
  // src/mcp-server/tools/vendorsUpdateVendorCredentialFile.ts
52381
- var args59, tool$vendorsUpdateVendorCredentialFile;
52799
+ var args61, tool$vendorsUpdateVendorCredentialFile;
52382
52800
  var init_vendorsUpdateVendorCredentialFile2 = __esm(() => {
52383
52801
  init_vendorsUpdateVendorCredentialFile();
52384
52802
  init_operations();
52385
52803
  init_tools();
52386
- args59 = {
52804
+ args61 = {
52387
52805
  request: UpdateVendorCredentialFileRequest$inboundSchema
52388
52806
  };
52389
52807
  tool$vendorsUpdateVendorCredentialFile = {
@@ -52391,9 +52809,9 @@ var init_vendorsUpdateVendorCredentialFile2 = __esm(() => {
52391
52809
  description: `Update vendor credential file
52392
52810
 
52393
52811
  It will update the vendor credential file properties`,
52394
- args: args59,
52395
- tool: async (client, args60, ctx) => {
52396
- const [result, apiCall] = await vendorsUpdateVendorCredentialFile(client, args60.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
52812
+ args: args61,
52813
+ tool: async (client, args62, ctx) => {
52814
+ const [result, apiCall] = await vendorsUpdateVendorCredentialFile(client, args62.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
52397
52815
  if (!result.ok) {
52398
52816
  return {
52399
52817
  content: [{ type: "text", text: result.error.message }],
@@ -52408,9 +52826,9 @@ It will update the vendor credential file properties`,
52408
52826
 
52409
52827
  // src/funcs/vendorsUpdateVendorDetails.ts
52410
52828
  function vendorsUpdateVendorDetails(client, request, options) {
52411
- return new APIPromise($do62(client, request, options));
52829
+ return new APIPromise($do64(client, request, options));
52412
52830
  }
52413
- async function $do62(client, request, options) {
52831
+ async function $do64(client, request, options) {
52414
52832
  const parsed = safeParse(request, (value) => UpdateVendorDetailsRequest$outboundSchema.parse(value), "Input validation failed");
52415
52833
  if (!parsed.ok) {
52416
52834
  return [parsed, { status: "invalid" }];
@@ -52487,12 +52905,12 @@ var init_vendorsUpdateVendorDetails = __esm(() => {
52487
52905
  });
52488
52906
 
52489
52907
  // src/mcp-server/tools/vendorsUpdateVendorDetails.ts
52490
- var args60, tool$vendorsUpdateVendorDetails;
52908
+ var args62, tool$vendorsUpdateVendorDetails;
52491
52909
  var init_vendorsUpdateVendorDetails2 = __esm(() => {
52492
52910
  init_vendorsUpdateVendorDetails();
52493
52911
  init_operations();
52494
52912
  init_tools();
52495
- args60 = {
52913
+ args62 = {
52496
52914
  request: UpdateVendorDetailsRequest$inboundSchema
52497
52915
  };
52498
52916
  tool$vendorsUpdateVendorDetails = {
@@ -52500,9 +52918,9 @@ var init_vendorsUpdateVendorDetails2 = __esm(() => {
52500
52918
  description: `Update vendor details
52501
52919
 
52502
52920
  It will update the vendor details`,
52503
- args: args60,
52504
- tool: async (client, args61, ctx) => {
52505
- const [result, apiCall] = await vendorsUpdateVendorDetails(client, args61.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
52921
+ args: args62,
52922
+ tool: async (client, args63, ctx) => {
52923
+ const [result, apiCall] = await vendorsUpdateVendorDetails(client, args63.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
52506
52924
  if (!result.ok) {
52507
52925
  return {
52508
52926
  content: [{ type: "text", text: result.error.message }],
@@ -52517,9 +52935,9 @@ It will update the vendor details`,
52517
52935
 
52518
52936
  // src/funcs/vendorsUpdateVendorManagedByCompany.ts
52519
52937
  function vendorsUpdateVendorManagedByCompany(client, request, options) {
52520
- return new APIPromise($do63(client, request, options));
52938
+ return new APIPromise($do65(client, request, options));
52521
52939
  }
52522
- async function $do63(client, request, options) {
52940
+ async function $do65(client, request, options) {
52523
52941
  const parsed = safeParse(request, (value) => UpdateVendorManagedByCompanyRequest$outboundSchema.parse(value), "Input validation failed");
52524
52942
  if (!parsed.ok) {
52525
52943
  return [parsed, { status: "invalid" }];
@@ -52595,12 +53013,12 @@ var init_vendorsUpdateVendorManagedByCompany = __esm(() => {
52595
53013
  });
52596
53014
 
52597
53015
  // src/mcp-server/tools/vendorsUpdateVendorManagedByCompany.ts
52598
- var args61, tool$vendorsUpdateVendorManagedByCompany;
53016
+ var args63, tool$vendorsUpdateVendorManagedByCompany;
52599
53017
  var init_vendorsUpdateVendorManagedByCompany2 = __esm(() => {
52600
53018
  init_vendorsUpdateVendorManagedByCompany();
52601
53019
  init_operations();
52602
53020
  init_tools();
52603
- args61 = {
53021
+ args63 = {
52604
53022
  request: UpdateVendorManagedByCompanyRequest$inboundSchema
52605
53023
  };
52606
53024
  tool$vendorsUpdateVendorManagedByCompany = {
@@ -52608,9 +53026,9 @@ var init_vendorsUpdateVendorManagedByCompany2 = __esm(() => {
52608
53026
  description: `Update vendor managed by company access rights
52609
53027
 
52610
53028
  It will update the vendor managed by company access rights`,
52611
- args: args61,
52612
- tool: async (client, args62, ctx) => {
52613
- const [result, apiCall] = await vendorsUpdateVendorManagedByCompany(client, args62.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
53029
+ args: args63,
53030
+ tool: async (client, args64, ctx) => {
53031
+ const [result, apiCall] = await vendorsUpdateVendorManagedByCompany(client, args64.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
52614
53032
  if (!result.ok) {
52615
53033
  return {
52616
53034
  content: [{ type: "text", text: result.error.message }],
@@ -52625,9 +53043,9 @@ It will update the vendor managed by company access rights`,
52625
53043
 
52626
53044
  // src/funcs/vendorsUpdateVendorScrubDetails.ts
52627
53045
  function vendorsUpdateVendorScrubDetails(client, request, options) {
52628
- return new APIPromise($do64(client, request, options));
53046
+ return new APIPromise($do66(client, request, options));
52629
53047
  }
52630
- async function $do64(client, request, options) {
53048
+ async function $do66(client, request, options) {
52631
53049
  const parsed = safeParse(request, (value) => UpdateVendorScrubDetailsRequest$outboundSchema.parse(value), "Input validation failed");
52632
53050
  if (!parsed.ok) {
52633
53051
  return [parsed, { status: "invalid" }];
@@ -52704,12 +53122,12 @@ var init_vendorsUpdateVendorScrubDetails = __esm(() => {
52704
53122
  });
52705
53123
 
52706
53124
  // src/mcp-server/tools/vendorsUpdateVendorScrubDetails.ts
52707
- var args62, tool$vendorsUpdateVendorScrubDetails;
53125
+ var args64, tool$vendorsUpdateVendorScrubDetails;
52708
53126
  var init_vendorsUpdateVendorScrubDetails2 = __esm(() => {
52709
53127
  init_vendorsUpdateVendorScrubDetails();
52710
53128
  init_operations();
52711
53129
  init_tools();
52712
- args62 = {
53130
+ args64 = {
52713
53131
  request: UpdateVendorScrubDetailsRequest$inboundSchema
52714
53132
  };
52715
53133
  tool$vendorsUpdateVendorScrubDetails = {
@@ -52717,9 +53135,9 @@ var init_vendorsUpdateVendorScrubDetails2 = __esm(() => {
52717
53135
  description: `Update vendor scrub details
52718
53136
 
52719
53137
  Update vendor scrub details`,
52720
- args: args62,
52721
- tool: async (client, args63, ctx) => {
52722
- const [result, apiCall] = await vendorsUpdateVendorScrubDetails(client, args63.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
53138
+ args: args64,
53139
+ tool: async (client, args65, ctx) => {
53140
+ const [result, apiCall] = await vendorsUpdateVendorScrubDetails(client, args65.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
52723
53141
  if (!result.ok) {
52724
53142
  return {
52725
53143
  content: [{ type: "text", text: result.error.message }],
@@ -52734,9 +53152,9 @@ Update vendor scrub details`,
52734
53152
 
52735
53153
  // src/funcs/webhooksGetWebhookEndpoint.ts
52736
53154
  function webhooksGetWebhookEndpoint(client, request, options) {
52737
- return new APIPromise($do65(client, request, options));
53155
+ return new APIPromise($do67(client, request, options));
52738
53156
  }
52739
- async function $do65(client, request, options) {
53157
+ async function $do67(client, request, options) {
52740
53158
  const parsed = safeParse(request, (value) => GetWebhookEndpointRequest$outboundSchema.parse(value), "Input validation failed");
52741
53159
  if (!parsed.ok) {
52742
53160
  return [parsed, { status: "invalid" }];
@@ -52812,12 +53230,12 @@ var init_webhooksGetWebhookEndpoint = __esm(() => {
52812
53230
  });
52813
53231
 
52814
53232
  // src/mcp-server/tools/webhooksGetWebhookEndpoint.ts
52815
- var args63, tool$webhooksGetWebhookEndpoint;
53233
+ var args65, tool$webhooksGetWebhookEndpoint;
52816
53234
  var init_webhooksGetWebhookEndpoint2 = __esm(() => {
52817
53235
  init_webhooksGetWebhookEndpoint();
52818
53236
  init_operations();
52819
53237
  init_tools();
52820
- args63 = {
53238
+ args65 = {
52821
53239
  request: GetWebhookEndpointRequest$inboundSchema
52822
53240
  };
52823
53241
  tool$webhooksGetWebhookEndpoint = {
@@ -52825,9 +53243,9 @@ var init_webhooksGetWebhookEndpoint2 = __esm(() => {
52825
53243
  description: `Retrieves the webhook endpoint with the given ID.
52826
53244
 
52827
53245
  Returns the definition of a webhook endpoint by ID.`,
52828
- args: args63,
52829
- tool: async (client, args64, ctx) => {
52830
- const [result, apiCall] = await webhooksGetWebhookEndpoint(client, args64.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
53246
+ args: args65,
53247
+ tool: async (client, args66, ctx) => {
53248
+ const [result, apiCall] = await webhooksGetWebhookEndpoint(client, args66.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
52831
53249
  if (!result.ok) {
52832
53250
  return {
52833
53251
  content: [{ type: "text", text: result.error.message }],
@@ -52842,9 +53260,9 @@ Returns the definition of a webhook endpoint by ID.`,
52842
53260
 
52843
53261
  // src/funcs/webhooksListAllWebhookEndpoints.ts
52844
53262
  function webhooksListAllWebhookEndpoints(client, request, options) {
52845
- return new APIPromise($do66(client, request, options));
53263
+ return new APIPromise($do68(client, request, options));
52846
53264
  }
52847
- async function $do66(client, request, options) {
53265
+ async function $do68(client, request, options) {
52848
53266
  const parsed = safeParse(request, (value) => ListAllWebhookEndpointsRequest$outboundSchema.parse(value), "Input validation failed");
52849
53267
  if (!parsed.ok) {
52850
53268
  return [parsed, { status: "invalid" }];
@@ -52920,12 +53338,12 @@ var init_webhooksListAllWebhookEndpoints = __esm(() => {
52920
53338
  });
52921
53339
 
52922
53340
  // src/mcp-server/tools/webhooksListAllWebhookEndpoints.ts
52923
- var args64, tool$webhooksListAllWebhookEndpoints;
53341
+ var args66, tool$webhooksListAllWebhookEndpoints;
52924
53342
  var init_webhooksListAllWebhookEndpoints2 = __esm(() => {
52925
53343
  init_webhooksListAllWebhookEndpoints();
52926
53344
  init_operations();
52927
53345
  init_tools();
52928
- args64 = {
53346
+ args66 = {
52929
53347
  request: ListAllWebhookEndpointsRequest$inboundSchema
52930
53348
  };
52931
53349
  tool$webhooksListAllWebhookEndpoints = {
@@ -52933,9 +53351,9 @@ var init_webhooksListAllWebhookEndpoints2 = __esm(() => {
52933
53351
  description: `List all webhook endpoints
52934
53352
 
52935
53353
  Returns a list of your webhook endpoints.`,
52936
- args: args64,
52937
- tool: async (client, args65, ctx) => {
52938
- const [result, apiCall] = await webhooksListAllWebhookEndpoints(client, args65.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
53354
+ args: args66,
53355
+ tool: async (client, args67, ctx) => {
53356
+ const [result, apiCall] = await webhooksListAllWebhookEndpoints(client, args67.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
52939
53357
  if (!result.ok) {
52940
53358
  return {
52941
53359
  content: [{ type: "text", text: result.error.message }],
@@ -52950,9 +53368,9 @@ Returns a list of your webhook endpoints.`,
52950
53368
 
52951
53369
  // src/funcs/webhooksUpdatesTheWebhookEndpointWithTheGivenId.ts
52952
53370
  function webhooksUpdatesTheWebhookEndpointWithTheGivenId(client, request, options) {
52953
- return new APIPromise($do67(client, request, options));
53371
+ return new APIPromise($do69(client, request, options));
52954
53372
  }
52955
- async function $do67(client, request, options) {
53373
+ async function $do69(client, request, options) {
52956
53374
  const parsed = safeParse(request, (value) => UpdatesTheWebhookEndpointWithTheGivenIdRequest$outboundSchema.parse(value), "Input validation failed");
52957
53375
  if (!parsed.ok) {
52958
53376
  return [parsed, { status: "invalid" }];
@@ -53029,12 +53447,12 @@ var init_webhooksUpdatesTheWebhookEndpointWithTheGivenId = __esm(() => {
53029
53447
  });
53030
53448
 
53031
53449
  // src/mcp-server/tools/webhooksUpdatesTheWebhookEndpointWithTheGivenId.ts
53032
- var args65, tool$webhooksUpdatesTheWebhookEndpointWithTheGivenId;
53450
+ var args67, tool$webhooksUpdatesTheWebhookEndpointWithTheGivenId;
53033
53451
  var init_webhooksUpdatesTheWebhookEndpointWithTheGivenId2 = __esm(() => {
53034
53452
  init_webhooksUpdatesTheWebhookEndpointWithTheGivenId();
53035
53453
  init_operations();
53036
53454
  init_tools();
53037
- args65 = {
53455
+ args67 = {
53038
53456
  request: UpdatesTheWebhookEndpointWithTheGivenIdRequest$inboundSchema
53039
53457
  };
53040
53458
  tool$webhooksUpdatesTheWebhookEndpointWithTheGivenId = {
@@ -53042,9 +53460,9 @@ var init_webhooksUpdatesTheWebhookEndpointWithTheGivenId2 = __esm(() => {
53042
53460
  description: `Updates the webhook endpoint with the given ID.
53043
53461
 
53044
53462
  Updates the webhook endpoint with the given ID.`,
53045
- args: args65,
53046
- tool: async (client, args66, ctx) => {
53047
- const [result, apiCall] = await webhooksUpdatesTheWebhookEndpointWithTheGivenId(client, args66.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
53463
+ args: args67,
53464
+ tool: async (client, args68, ctx) => {
53465
+ const [result, apiCall] = await webhooksUpdatesTheWebhookEndpointWithTheGivenId(client, args68.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
53048
53466
  if (!result.ok) {
53049
53467
  return {
53050
53468
  content: [{ type: "text", text: result.error.message }],
@@ -53059,9 +53477,9 @@ Updates the webhook endpoint with the given ID.`,
53059
53477
 
53060
53478
  // src/funcs/zonesGetSecurityZone.ts
53061
53479
  function zonesGetSecurityZone(client, request, options) {
53062
- return new APIPromise($do68(client, request, options));
53480
+ return new APIPromise($do70(client, request, options));
53063
53481
  }
53064
- async function $do68(client, request, options) {
53482
+ async function $do70(client, request, options) {
53065
53483
  const parsed = safeParse(request, (value) => GetSecurityZoneRequest$outboundSchema.parse(value), "Input validation failed");
53066
53484
  if (!parsed.ok) {
53067
53485
  return [parsed, { status: "invalid" }];
@@ -53141,12 +53559,12 @@ var init_zonesGetSecurityZone = __esm(() => {
53141
53559
  });
53142
53560
 
53143
53561
  // src/mcp-server/tools/zonesGetSecurityZone.ts
53144
- var args66, tool$zonesGetSecurityZone;
53562
+ var args68, tool$zonesGetSecurityZone;
53145
53563
  var init_zonesGetSecurityZone2 = __esm(() => {
53146
53564
  init_zonesGetSecurityZone();
53147
53565
  init_operations();
53148
53566
  init_tools();
53149
- args66 = {
53567
+ args68 = {
53150
53568
  request: GetSecurityZoneRequest$inboundSchema
53151
53569
  };
53152
53570
  tool$zonesGetSecurityZone = {
@@ -53160,9 +53578,9 @@ Available \`expand\` scopes are:
53160
53578
  - zone.facility
53161
53579
  - zone.department
53162
53580
  - zone.rules`,
53163
- args: args66,
53164
- tool: async (client, args67, ctx) => {
53165
- const [result, apiCall] = await zonesGetSecurityZone(client, args67.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
53581
+ args: args68,
53582
+ tool: async (client, args69, ctx) => {
53583
+ const [result, apiCall] = await zonesGetSecurityZone(client, args69.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
53166
53584
  if (!result.ok) {
53167
53585
  return {
53168
53586
  content: [{ type: "text", text: result.error.message }],
@@ -53177,9 +53595,9 @@ Available \`expand\` scopes are:
53177
53595
 
53178
53596
  // src/funcs/zonesListOrSearchSecurityZones.ts
53179
53597
  function zonesListOrSearchSecurityZones(client, request, options) {
53180
- return new APIPromise($do69(client, request, options));
53598
+ return new APIPromise($do71(client, request, options));
53181
53599
  }
53182
- async function $do69(client, request, options) {
53600
+ async function $do71(client, request, options) {
53183
53601
  const parsed = safeParse(request, (value) => ListOrSearchSecurityZonesRequest$outboundSchema.parse(value), "Input validation failed");
53184
53602
  if (!parsed.ok) {
53185
53603
  return [haltIterator(parsed), { status: "invalid" }];
@@ -53293,12 +53711,12 @@ var init_zonesListOrSearchSecurityZones = __esm(() => {
53293
53711
  });
53294
53712
 
53295
53713
  // src/mcp-server/tools/zonesListOrSearchSecurityZones.ts
53296
- var args67, tool$zonesListOrSearchSecurityZones;
53714
+ var args69, tool$zonesListOrSearchSecurityZones;
53297
53715
  var init_zonesListOrSearchSecurityZones2 = __esm(() => {
53298
53716
  init_zonesListOrSearchSecurityZones();
53299
53717
  init_operations();
53300
53718
  init_tools();
53301
- args67 = {
53719
+ args69 = {
53302
53720
  request: ListOrSearchSecurityZonesRequest$inboundSchema
53303
53721
  };
53304
53722
  tool$zonesListOrSearchSecurityZones = {
@@ -53306,9 +53724,9 @@ var init_zonesListOrSearchSecurityZones2 = __esm(() => {
53306
53724
  description: `List or search security zones
53307
53725
 
53308
53726
  List or search security zones`,
53309
- args: args67,
53310
- tool: async (client, args68, ctx) => {
53311
- const [result, apiCall] = await zonesListOrSearchSecurityZones(client, args68.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
53727
+ args: args69,
53728
+ tool: async (client, args70, ctx) => {
53729
+ const [result, apiCall] = await zonesListOrSearchSecurityZones(client, args70.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
53312
53730
  if (!result.ok) {
53313
53731
  return {
53314
53732
  content: [{ type: "text", text: result.error.message }],
@@ -53323,9 +53741,9 @@ List or search security zones`,
53323
53741
 
53324
53742
  // src/funcs/zonesSecurityZoneCheckin.ts
53325
53743
  function zonesSecurityZoneCheckin(client, request, options) {
53326
- return new APIPromise($do70(client, request, options));
53744
+ return new APIPromise($do72(client, request, options));
53327
53745
  }
53328
- async function $do70(client, request, options) {
53746
+ async function $do72(client, request, options) {
53329
53747
  const parsed = safeParse(request, (value) => SecurityZoneCheckinRequestBody$outboundSchema.parse(value), "Input validation failed");
53330
53748
  if (!parsed.ok) {
53331
53749
  return [parsed, { status: "invalid" }];
@@ -53395,12 +53813,12 @@ var init_zonesSecurityZoneCheckin = __esm(() => {
53395
53813
  });
53396
53814
 
53397
53815
  // src/mcp-server/tools/zonesSecurityZoneCheckin.ts
53398
- var args68, tool$zonesSecurityZoneCheckin;
53816
+ var args70, tool$zonesSecurityZoneCheckin;
53399
53817
  var init_zonesSecurityZoneCheckin2 = __esm(() => {
53400
53818
  init_zonesSecurityZoneCheckin();
53401
53819
  init_operations();
53402
53820
  init_tools();
53403
- args68 = {
53821
+ args70 = {
53404
53822
  request: SecurityZoneCheckinRequestBody$inboundSchema
53405
53823
  };
53406
53824
  tool$zonesSecurityZoneCheckin = {
@@ -53408,9 +53826,9 @@ var init_zonesSecurityZoneCheckin2 = __esm(() => {
53408
53826
  description: `Security zone checkin request
53409
53827
 
53410
53828
  Security zone checkin request`,
53411
- args: args68,
53412
- tool: async (client, args69, ctx) => {
53413
- const [result, apiCall] = await zonesSecurityZoneCheckin(client, args69.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
53829
+ args: args70,
53830
+ tool: async (client, args71, ctx) => {
53831
+ const [result, apiCall] = await zonesSecurityZoneCheckin(client, args71.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
53414
53832
  if (!result.ok) {
53415
53833
  return {
53416
53834
  content: [{ type: "text", text: result.error.message }],
@@ -53427,7 +53845,7 @@ Security zone checkin request`,
53427
53845
  function createMCPServer(deps) {
53428
53846
  const server = new McpServer({
53429
53847
  name: "GreenSecurity",
53430
- version: "0.37.12"
53848
+ version: "0.38.2"
53431
53849
  });
53432
53850
  const client = new GreenSecurityCore({
53433
53851
  security: deps.security,
@@ -53466,6 +53884,7 @@ function createMCPServer(deps) {
53466
53884
  tool(tool$vendorsGetSubscription);
53467
53885
  tool(tool$vendorsChangeSubscription);
53468
53886
  tool(tool$vendorsListVendorInvoices);
53887
+ tool(tool$vendorsGetVendorInvoiceReceipt);
53469
53888
  tool(tool$vendorsGetVendorInvoiceDetails);
53470
53889
  tool(tool$vendorsListVendorFacilityStatuses);
53471
53890
  tool(tool$vendorsListVendorScrubPurchases);
@@ -53494,6 +53913,7 @@ function createMCPServer(deps) {
53494
53913
  tool(tool$organizationsListOrSearchFacilities);
53495
53914
  tool(tool$organizationsGetFacility);
53496
53915
  tool(tool$organizationsListOrSearchDepartments);
53916
+ tool(tool$organizationsListOrSearchDepartmentContacts);
53497
53917
  tool(tool$supportArticlesListOrSearchSupportArticles);
53498
53918
  tool(tool$supportArticlesGetSupportArticle);
53499
53919
  tool(tool$webhooksListAllWebhookEndpoints);
@@ -53526,6 +53946,7 @@ var init_server2 = __esm(() => {
53526
53946
  init_invoicesMakePayment2();
53527
53947
  init_invoicesUpdateInvoice2();
53528
53948
  init_organizationsGetFacility2();
53949
+ init_organizationsListOrSearchDepartmentContacts2();
53529
53950
  init_organizationsListOrSearchDepartments2();
53530
53951
  init_organizationsListOrSearchFacilities2();
53531
53952
  init_supportArticlesGetSupportArticle2();
@@ -53558,6 +53979,7 @@ var init_server2 = __esm(() => {
53558
53979
  init_vendorsGetVendorCredentialDetails2();
53559
53980
  init_vendorsGetVendorCredentialFile2();
53560
53981
  init_vendorsGetVendorInvoiceDetails2();
53982
+ init_vendorsGetVendorInvoiceReceipt2();
53561
53983
  init_vendorsGetVendorLegalName2();
53562
53984
  init_vendorsGetVendorsDetails2();
53563
53985
  init_vendorsListVendorAdditionalFacilityFields2();
@@ -54779,7 +55201,7 @@ var routes = rn({
54779
55201
  var app = Ve(routes, {
54780
55202
  name: "mcp",
54781
55203
  versionInfo: {
54782
- currentVersion: "0.37.12"
55204
+ currentVersion: "0.38.2"
54783
55205
  }
54784
55206
  });
54785
55207
  _t(app, process3.argv.slice(2), buildContext(process3));
@@ -54787,5 +55209,5 @@ export {
54787
55209
  app
54788
55210
  };
54789
55211
 
54790
- //# debugId=970885AD8C048A6364756E2164756E21
55212
+ //# debugId=E191511C7BFC326C64756E2164756E21
54791
55213
  //# sourceMappingURL=mcp-server.js.map