servicem8 0.9.42 → 0.9.44

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 (218) hide show
  1. package/README.md +9 -1
  2. package/api.json +1002 -318
  3. package/bin/mcp-server.js +1483 -741
  4. package/bin/mcp-server.js.map +23 -11
  5. package/dist/commonjs/funcs/formResponsesCreateFormResponses.d.ts +24 -0
  6. package/dist/commonjs/funcs/formResponsesCreateFormResponses.d.ts.map +1 -0
  7. package/dist/commonjs/funcs/formResponsesCreateFormResponses.js +136 -0
  8. package/dist/commonjs/funcs/formResponsesCreateFormResponses.js.map +1 -0
  9. package/dist/commonjs/funcs/formResponsesDeleteFormResponses.d.ts +23 -0
  10. package/dist/commonjs/funcs/formResponsesDeleteFormResponses.d.ts.map +1 -0
  11. package/dist/commonjs/funcs/formResponsesDeleteFormResponses.js +137 -0
  12. package/dist/commonjs/funcs/formResponsesDeleteFormResponses.js.map +1 -0
  13. package/dist/commonjs/funcs/formResponsesUpdateFormResponses.d.ts +21 -0
  14. package/dist/commonjs/funcs/formResponsesUpdateFormResponses.d.ts.map +1 -0
  15. package/dist/commonjs/funcs/formResponsesUpdateFormResponses.js +136 -0
  16. package/dist/commonjs/funcs/formResponsesUpdateFormResponses.js.map +1 -0
  17. package/dist/commonjs/funcs/inboxCreateInboxMessage.d.ts +18 -0
  18. package/dist/commonjs/funcs/inboxCreateInboxMessage.d.ts.map +1 -0
  19. package/dist/commonjs/funcs/inboxCreateInboxMessage.js +127 -0
  20. package/dist/commonjs/funcs/inboxCreateInboxMessage.js.map +1 -0
  21. package/dist/commonjs/lib/config.d.ts +3 -3
  22. package/dist/commonjs/lib/config.js +3 -3
  23. package/dist/commonjs/mcp-server/mcp-server.js +1 -1
  24. package/dist/commonjs/mcp-server/server.d.ts.map +1 -1
  25. package/dist/commonjs/mcp-server/server.js +9 -1
  26. package/dist/commonjs/mcp-server/server.js.map +1 -1
  27. package/dist/commonjs/mcp-server/tools/formResponsesCreateFormResponses.d.ts +8 -0
  28. package/dist/commonjs/mcp-server/tools/formResponsesCreateFormResponses.d.ts.map +1 -0
  29. package/dist/commonjs/mcp-server/tools/formResponsesCreateFormResponses.js +74 -0
  30. package/dist/commonjs/mcp-server/tools/formResponsesCreateFormResponses.js.map +1 -0
  31. package/dist/commonjs/mcp-server/tools/formResponsesDeleteFormResponses.d.ts +8 -0
  32. package/dist/commonjs/mcp-server/tools/formResponsesDeleteFormResponses.d.ts.map +1 -0
  33. package/dist/commonjs/mcp-server/tools/formResponsesDeleteFormResponses.js +73 -0
  34. package/dist/commonjs/mcp-server/tools/formResponsesDeleteFormResponses.js.map +1 -0
  35. package/dist/commonjs/mcp-server/tools/formResponsesUpdateFormResponses.d.ts +8 -0
  36. package/dist/commonjs/mcp-server/tools/formResponsesUpdateFormResponses.d.ts.map +1 -0
  37. package/dist/commonjs/mcp-server/tools/formResponsesUpdateFormResponses.js +69 -0
  38. package/dist/commonjs/mcp-server/tools/formResponsesUpdateFormResponses.js.map +1 -0
  39. package/dist/commonjs/mcp-server/tools/inboxCreateInboxMessage.d.ts +8 -0
  40. package/dist/commonjs/mcp-server/tools/inboxCreateInboxMessage.d.ts.map +1 -0
  41. package/dist/commonjs/mcp-server/tools/inboxCreateInboxMessage.js +64 -0
  42. package/dist/commonjs/mcp-server/tools/inboxCreateInboxMessage.js.map +1 -0
  43. package/dist/commonjs/models/components/createinboxmessagerequest.d.ts +172 -0
  44. package/dist/commonjs/models/components/createinboxmessagerequest.d.ts.map +1 -0
  45. package/dist/commonjs/models/components/createinboxmessagerequest.js +189 -0
  46. package/dist/commonjs/models/components/createinboxmessagerequest.js.map +1 -0
  47. package/dist/commonjs/models/components/formresponse.d.ts +57 -0
  48. package/dist/commonjs/models/components/formresponse.d.ts.map +1 -1
  49. package/dist/commonjs/models/components/formresponse.js +70 -1
  50. package/dist/commonjs/models/components/formresponse.js.map +1 -1
  51. package/dist/commonjs/models/components/index.d.ts +1 -0
  52. package/dist/commonjs/models/components/index.d.ts.map +1 -1
  53. package/dist/commonjs/models/components/index.js +1 -0
  54. package/dist/commonjs/models/components/index.js.map +1 -1
  55. package/dist/commonjs/models/components/job.d.ts +22 -22
  56. package/dist/commonjs/models/components/job.js +2 -2
  57. package/dist/commonjs/models/components/vendor.d.ts +2 -2
  58. package/dist/commonjs/models/components/vendor.d.ts.map +1 -1
  59. package/dist/commonjs/models/operations/createformresponses.d.ts +36 -0
  60. package/dist/commonjs/models/operations/createformresponses.d.ts.map +1 -0
  61. package/dist/commonjs/models/operations/createformresponses.js +83 -0
  62. package/dist/commonjs/models/operations/createformresponses.js.map +1 -0
  63. package/dist/commonjs/models/operations/deleteformresponses.d.ts +32 -0
  64. package/dist/commonjs/models/operations/deleteformresponses.d.ts.map +1 -0
  65. package/dist/commonjs/models/operations/deleteformresponses.js +69 -0
  66. package/dist/commonjs/models/operations/deleteformresponses.js.map +1 -0
  67. package/dist/commonjs/models/operations/index.d.ts +3 -0
  68. package/dist/commonjs/models/operations/index.d.ts.map +1 -1
  69. package/dist/commonjs/models/operations/index.js +3 -0
  70. package/dist/commonjs/models/operations/index.js.map +1 -1
  71. package/dist/commonjs/models/operations/updateformresponses.d.ts +38 -0
  72. package/dist/commonjs/models/operations/updateformresponses.d.ts.map +1 -0
  73. package/dist/commonjs/models/operations/updateformresponses.js +81 -0
  74. package/dist/commonjs/models/operations/updateformresponses.js.map +1 -0
  75. package/dist/commonjs/sdk/formresponses.d.ts +32 -0
  76. package/dist/commonjs/sdk/formresponses.d.ts.map +1 -1
  77. package/dist/commonjs/sdk/formresponses.js +41 -0
  78. package/dist/commonjs/sdk/formresponses.js.map +1 -1
  79. package/dist/commonjs/sdk/inbox.d.ts +7 -0
  80. package/dist/commonjs/sdk/inbox.d.ts.map +1 -1
  81. package/dist/commonjs/sdk/inbox.js +10 -0
  82. package/dist/commonjs/sdk/inbox.js.map +1 -1
  83. package/dist/esm/funcs/formResponsesCreateFormResponses.d.ts +24 -0
  84. package/dist/esm/funcs/formResponsesCreateFormResponses.d.ts.map +1 -0
  85. package/dist/esm/funcs/formResponsesCreateFormResponses.js +100 -0
  86. package/dist/esm/funcs/formResponsesCreateFormResponses.js.map +1 -0
  87. package/dist/esm/funcs/formResponsesDeleteFormResponses.d.ts +23 -0
  88. package/dist/esm/funcs/formResponsesDeleteFormResponses.d.ts.map +1 -0
  89. package/dist/esm/funcs/formResponsesDeleteFormResponses.js +101 -0
  90. package/dist/esm/funcs/formResponsesDeleteFormResponses.js.map +1 -0
  91. package/dist/esm/funcs/formResponsesUpdateFormResponses.d.ts +21 -0
  92. package/dist/esm/funcs/formResponsesUpdateFormResponses.d.ts.map +1 -0
  93. package/dist/esm/funcs/formResponsesUpdateFormResponses.js +100 -0
  94. package/dist/esm/funcs/formResponsesUpdateFormResponses.js.map +1 -0
  95. package/dist/esm/funcs/inboxCreateInboxMessage.d.ts +18 -0
  96. package/dist/esm/funcs/inboxCreateInboxMessage.d.ts.map +1 -0
  97. package/dist/esm/funcs/inboxCreateInboxMessage.js +91 -0
  98. package/dist/esm/funcs/inboxCreateInboxMessage.js.map +1 -0
  99. package/dist/esm/lib/config.d.ts +3 -3
  100. package/dist/esm/lib/config.js +3 -3
  101. package/dist/esm/mcp-server/mcp-server.js +1 -1
  102. package/dist/esm/mcp-server/server.d.ts.map +1 -1
  103. package/dist/esm/mcp-server/server.js +9 -1
  104. package/dist/esm/mcp-server/server.js.map +1 -1
  105. package/dist/esm/mcp-server/tools/formResponsesCreateFormResponses.d.ts +8 -0
  106. package/dist/esm/mcp-server/tools/formResponsesCreateFormResponses.d.ts.map +1 -0
  107. package/dist/esm/mcp-server/tools/formResponsesCreateFormResponses.js +38 -0
  108. package/dist/esm/mcp-server/tools/formResponsesCreateFormResponses.js.map +1 -0
  109. package/dist/esm/mcp-server/tools/formResponsesDeleteFormResponses.d.ts +8 -0
  110. package/dist/esm/mcp-server/tools/formResponsesDeleteFormResponses.d.ts.map +1 -0
  111. package/dist/esm/mcp-server/tools/formResponsesDeleteFormResponses.js +37 -0
  112. package/dist/esm/mcp-server/tools/formResponsesDeleteFormResponses.js.map +1 -0
  113. package/dist/esm/mcp-server/tools/formResponsesUpdateFormResponses.d.ts +8 -0
  114. package/dist/esm/mcp-server/tools/formResponsesUpdateFormResponses.d.ts.map +1 -0
  115. package/dist/esm/mcp-server/tools/formResponsesUpdateFormResponses.js +33 -0
  116. package/dist/esm/mcp-server/tools/formResponsesUpdateFormResponses.js.map +1 -0
  117. package/dist/esm/mcp-server/tools/inboxCreateInboxMessage.d.ts +8 -0
  118. package/dist/esm/mcp-server/tools/inboxCreateInboxMessage.d.ts.map +1 -0
  119. package/dist/esm/mcp-server/tools/inboxCreateInboxMessage.js +28 -0
  120. package/dist/esm/mcp-server/tools/inboxCreateInboxMessage.js.map +1 -0
  121. package/dist/esm/models/components/createinboxmessagerequest.d.ts +172 -0
  122. package/dist/esm/models/components/createinboxmessagerequest.d.ts.map +1 -0
  123. package/dist/esm/models/components/createinboxmessagerequest.js +149 -0
  124. package/dist/esm/models/components/createinboxmessagerequest.js.map +1 -0
  125. package/dist/esm/models/components/formresponse.d.ts +57 -0
  126. package/dist/esm/models/components/formresponse.d.ts.map +1 -1
  127. package/dist/esm/models/components/formresponse.js +67 -0
  128. package/dist/esm/models/components/formresponse.js.map +1 -1
  129. package/dist/esm/models/components/index.d.ts +1 -0
  130. package/dist/esm/models/components/index.d.ts.map +1 -1
  131. package/dist/esm/models/components/index.js +1 -0
  132. package/dist/esm/models/components/index.js.map +1 -1
  133. package/dist/esm/models/components/job.d.ts +22 -22
  134. package/dist/esm/models/components/job.js +2 -2
  135. package/dist/esm/models/components/vendor.d.ts +2 -2
  136. package/dist/esm/models/components/vendor.d.ts.map +1 -1
  137. package/dist/esm/models/operations/createformresponses.d.ts +36 -0
  138. package/dist/esm/models/operations/createformresponses.d.ts.map +1 -0
  139. package/dist/esm/models/operations/createformresponses.js +45 -0
  140. package/dist/esm/models/operations/createformresponses.js.map +1 -0
  141. package/dist/esm/models/operations/deleteformresponses.d.ts +32 -0
  142. package/dist/esm/models/operations/deleteformresponses.d.ts.map +1 -0
  143. package/dist/esm/models/operations/deleteformresponses.js +31 -0
  144. package/dist/esm/models/operations/deleteformresponses.js.map +1 -0
  145. package/dist/esm/models/operations/index.d.ts +3 -0
  146. package/dist/esm/models/operations/index.d.ts.map +1 -1
  147. package/dist/esm/models/operations/index.js +3 -0
  148. package/dist/esm/models/operations/index.js.map +1 -1
  149. package/dist/esm/models/operations/updateformresponses.d.ts +38 -0
  150. package/dist/esm/models/operations/updateformresponses.d.ts.map +1 -0
  151. package/dist/esm/models/operations/updateformresponses.js +43 -0
  152. package/dist/esm/models/operations/updateformresponses.js.map +1 -0
  153. package/dist/esm/sdk/formresponses.d.ts +32 -0
  154. package/dist/esm/sdk/formresponses.d.ts.map +1 -1
  155. package/dist/esm/sdk/formresponses.js +41 -0
  156. package/dist/esm/sdk/formresponses.js.map +1 -1
  157. package/dist/esm/sdk/inbox.d.ts +7 -0
  158. package/dist/esm/sdk/inbox.d.ts.map +1 -1
  159. package/dist/esm/sdk/inbox.js +10 -0
  160. package/dist/esm/sdk/inbox.js.map +1 -1
  161. package/docs/sdks/allocationwindows/README.md +4 -4
  162. package/docs/sdks/assets/README.md +6 -6
  163. package/docs/sdks/assettypefields/README.md +8 -8
  164. package/docs/sdks/assettypes/README.md +4 -4
  165. package/docs/sdks/badges/README.md +12 -12
  166. package/docs/sdks/bundles/README.md +4 -4
  167. package/docs/sdks/categories/README.md +4 -4
  168. package/docs/sdks/clients/README.md +8 -8
  169. package/docs/sdks/companycontacts/README.md +8 -8
  170. package/docs/sdks/documenttemplates/README.md +4 -4
  171. package/docs/sdks/emailtemplates/README.md +4 -4
  172. package/docs/sdks/feedback/README.md +8 -8
  173. package/docs/sdks/formfields/README.md +8 -8
  174. package/docs/sdks/formresponses/README.md +309 -0
  175. package/docs/sdks/forms/README.md +8 -8
  176. package/docs/sdks/inbox/README.md +82 -0
  177. package/docs/sdks/jobactivities/README.md +20 -20
  178. package/docs/sdks/joballocations/README.md +24 -24
  179. package/docs/sdks/jobchecklists/README.md +32 -32
  180. package/docs/sdks/jobcontacts/README.md +8 -8
  181. package/docs/sdks/jobmaterialbundles/README.md +12 -12
  182. package/docs/sdks/jobmaterials/README.md +20 -20
  183. package/docs/sdks/jobpayments/README.md +16 -16
  184. package/docs/sdks/jobqueues/README.md +4 -4
  185. package/docs/sdks/jobs/README.md +32 -32
  186. package/docs/sdks/knowledgearticles/README.md +4 -4
  187. package/docs/sdks/locations/README.md +4 -4
  188. package/docs/sdks/materials/README.md +8 -8
  189. package/docs/sdks/smstemplates/README.md +4 -4
  190. package/docs/sdks/staffmembers/README.md +12 -12
  191. package/docs/sdks/staffmessages/README.md +16 -16
  192. package/docs/sdks/tasks/README.md +20 -20
  193. package/docs/sdks/taxrates/README.md +4 -4
  194. package/examples/package-lock.json +1 -1
  195. package/jsr.json +1 -1
  196. package/package.json +1 -1
  197. package/src/funcs/formResponsesCreateFormResponses.ts +200 -0
  198. package/src/funcs/formResponsesDeleteFormResponses.ts +207 -0
  199. package/src/funcs/formResponsesUpdateFormResponses.ts +206 -0
  200. package/src/funcs/inboxCreateInboxMessage.ts +179 -0
  201. package/src/lib/config.ts +3 -3
  202. package/src/mcp-server/mcp-server.ts +1 -1
  203. package/src/mcp-server/server.ts +9 -1
  204. package/src/mcp-server/tools/formResponsesCreateFormResponses.ts +49 -0
  205. package/src/mcp-server/tools/formResponsesDeleteFormResponses.ts +48 -0
  206. package/src/mcp-server/tools/formResponsesUpdateFormResponses.ts +44 -0
  207. package/src/mcp-server/tools/inboxCreateInboxMessage.ts +37 -0
  208. package/src/models/components/createinboxmessagerequest.ts +324 -0
  209. package/src/models/components/formresponse.ts +132 -0
  210. package/src/models/components/index.ts +1 -0
  211. package/src/models/components/job.ts +22 -22
  212. package/src/models/components/vendor.ts +2 -2
  213. package/src/models/operations/createformresponses.ts +84 -0
  214. package/src/models/operations/deleteformresponses.ts +69 -0
  215. package/src/models/operations/index.ts +3 -0
  216. package/src/models/operations/updateformresponses.ts +86 -0
  217. package/src/sdk/formresponses.ts +65 -0
  218. package/src/sdk/inbox.ts +18 -0
package/bin/mcp-server.js CHANGED
@@ -34205,9 +34205,9 @@ var init_config = __esm(() => {
34205
34205
  SDK_METADATA = {
34206
34206
  language: "typescript",
34207
34207
  openapiDocVersion: "1.0.0",
34208
- sdkVersion: "0.9.42",
34209
- genVersion: "2.684.0",
34210
- userAgent: "speakeasy-sdk/typescript 0.9.42 2.684.0 1.0.0 servicem8"
34208
+ sdkVersion: "0.9.44",
34209
+ genVersion: "2.687.1",
34210
+ userAgent: "speakeasy-sdk/typescript 0.9.44 2.687.1 1.0.0 servicem8"
34211
34211
  };
34212
34212
  });
34213
34213
 
@@ -36647,6 +36647,125 @@ var init_converttojobresponse = __esm(() => {
36647
36647
  })(ConvertToJobResponse$ ||= {});
36648
36648
  });
36649
36649
 
36650
+ // src/models/components/createinboxmessagerequest.ts
36651
+ var JobData$inboundSchema, JobData$outboundSchema, JobData$, CreateInboxMessageRequest$inboundSchema, CreateInboxMessageRequest$outboundSchema, CreateInboxMessageRequest$;
36652
+ var init_createinboxmessagerequest = __esm(() => {
36653
+ init_esm();
36654
+ init_primitives();
36655
+ JobData$inboundSchema = objectType({
36656
+ contact_first: stringType().optional(),
36657
+ contact_last: stringType().optional(),
36658
+ company_name: stringType().optional(),
36659
+ email: stringType().optional(),
36660
+ mobile: stringType().optional(),
36661
+ phone_1: stringType().optional(),
36662
+ phone_2: stringType().optional(),
36663
+ billing_contact_first: stringType().optional(),
36664
+ billing_contact_last: stringType().optional(),
36665
+ billing_email: stringType().optional(),
36666
+ billing_mobile: stringType().optional(),
36667
+ billing_attention: stringType().optional(),
36668
+ job_description: stringType().optional(),
36669
+ job_address: stringType().optional(),
36670
+ billing_address: stringType().optional(),
36671
+ work_done_description: stringType().optional()
36672
+ }).transform((v2) => {
36673
+ return remap(v2, {
36674
+ contact_first: "contactFirst",
36675
+ contact_last: "contactLast",
36676
+ company_name: "companyName",
36677
+ phone_1: "phone1",
36678
+ phone_2: "phone2",
36679
+ billing_contact_first: "billingContactFirst",
36680
+ billing_contact_last: "billingContactLast",
36681
+ billing_email: "billingEmail",
36682
+ billing_mobile: "billingMobile",
36683
+ billing_attention: "billingAttention",
36684
+ job_description: "jobDescription",
36685
+ job_address: "jobAddress",
36686
+ billing_address: "billingAddress",
36687
+ work_done_description: "workDoneDescription"
36688
+ });
36689
+ });
36690
+ JobData$outboundSchema = objectType({
36691
+ contactFirst: stringType().optional(),
36692
+ contactLast: stringType().optional(),
36693
+ companyName: stringType().optional(),
36694
+ email: stringType().optional(),
36695
+ mobile: stringType().optional(),
36696
+ phone1: stringType().optional(),
36697
+ phone2: stringType().optional(),
36698
+ billingContactFirst: stringType().optional(),
36699
+ billingContactLast: stringType().optional(),
36700
+ billingEmail: stringType().optional(),
36701
+ billingMobile: stringType().optional(),
36702
+ billingAttention: stringType().optional(),
36703
+ jobDescription: stringType().optional(),
36704
+ jobAddress: stringType().optional(),
36705
+ billingAddress: stringType().optional(),
36706
+ workDoneDescription: stringType().optional()
36707
+ }).transform((v2) => {
36708
+ return remap(v2, {
36709
+ contactFirst: "contact_first",
36710
+ contactLast: "contact_last",
36711
+ companyName: "company_name",
36712
+ phone1: "phone_1",
36713
+ phone2: "phone_2",
36714
+ billingContactFirst: "billing_contact_first",
36715
+ billingContactLast: "billing_contact_last",
36716
+ billingEmail: "billing_email",
36717
+ billingMobile: "billing_mobile",
36718
+ billingAttention: "billing_attention",
36719
+ jobDescription: "job_description",
36720
+ jobAddress: "job_address",
36721
+ billingAddress: "billing_address",
36722
+ workDoneDescription: "work_done_description"
36723
+ });
36724
+ });
36725
+ ((JobData$) => {
36726
+ JobData$.inboundSchema = JobData$inboundSchema;
36727
+ JobData$.outboundSchema = JobData$outboundSchema;
36728
+ })(JobData$ ||= {});
36729
+ CreateInboxMessageRequest$inboundSchema = objectType({
36730
+ subject: stringType(),
36731
+ message_text: stringType(),
36732
+ from_name: stringType().optional(),
36733
+ from_email: stringType().optional(),
36734
+ json_data: recordType(anyType()).optional(),
36735
+ jobData: lazyType(() => JobData$inboundSchema).optional(),
36736
+ regarding_company_uuid: stringType().optional()
36737
+ }).transform((v2) => {
36738
+ return remap(v2, {
36739
+ message_text: "messageText",
36740
+ from_name: "fromName",
36741
+ from_email: "fromEmail",
36742
+ json_data: "jsonData",
36743
+ regarding_company_uuid: "regardingCompanyUuid"
36744
+ });
36745
+ });
36746
+ CreateInboxMessageRequest$outboundSchema = objectType({
36747
+ subject: stringType(),
36748
+ messageText: stringType(),
36749
+ fromName: stringType().optional(),
36750
+ fromEmail: stringType().optional(),
36751
+ jsonData: recordType(anyType()).optional(),
36752
+ jobData: lazyType(() => JobData$outboundSchema).optional(),
36753
+ regardingCompanyUuid: stringType().optional()
36754
+ }).transform((v2) => {
36755
+ return remap(v2, {
36756
+ messageText: "message_text",
36757
+ fromName: "from_name",
36758
+ fromEmail: "from_email",
36759
+ jsonData: "json_data",
36760
+ regardingCompanyUuid: "regarding_company_uuid"
36761
+ });
36762
+ });
36763
+ ((CreateInboxMessageRequest$) => {
36764
+ CreateInboxMessageRequest$.inboundSchema = CreateInboxMessageRequest$inboundSchema;
36765
+ CreateInboxMessageRequest$.outboundSchema = CreateInboxMessageRequest$outboundSchema;
36766
+ })(CreateInboxMessageRequest$ ||= {});
36767
+ });
36768
+
36650
36769
  // src/models/components/documenttemplate.ts
36651
36770
  var DocumentTemplateActive, DocumentTemplateActive$inboundSchema, DocumentTemplateActive$outboundSchema, DocumentTemplateActive$, DocumentTemplate$inboundSchema, DocumentTemplate$outboundSchema, DocumentTemplate$, DocumentTemplateInput$inboundSchema, DocumentTemplateInput$outboundSchema, DocumentTemplateInput$;
36652
36771
  var init_documenttemplate = __esm(() => {
@@ -37146,7 +37265,7 @@ var init_formfield = __esm(() => {
37146
37265
  });
37147
37266
 
37148
37267
  // src/models/components/formresponse.ts
37149
- var FormResponseActive, FormResponseActive$inboundSchema, FormResponseActive$outboundSchema, FormResponseActive$, FormResponse$inboundSchema, FormResponse$outboundSchema, FormResponse$;
37268
+ var FormResponseActive, FormResponseActive$inboundSchema, FormResponseActive$outboundSchema, FormResponseActive$, FormResponse$inboundSchema, FormResponse$outboundSchema, FormResponse$, FormResponseInput$inboundSchema, FormResponseInput$outboundSchema, FormResponseInput$;
37150
37269
  var init_formresponse = __esm(() => {
37151
37270
  init_esm();
37152
37271
  init_primitives();
@@ -37216,6 +37335,58 @@ var init_formresponse = __esm(() => {
37216
37335
  FormResponse$.inboundSchema = FormResponse$inboundSchema;
37217
37336
  FormResponse$.outboundSchema = FormResponse$outboundSchema;
37218
37337
  })(FormResponse$ ||= {});
37338
+ FormResponseInput$inboundSchema = objectType({
37339
+ uuid: stringType().optional(),
37340
+ active: FormResponseActive$inboundSchema.default(1),
37341
+ form_uuid: stringType().optional(),
37342
+ staff_uuid: stringType().optional(),
37343
+ regarding_object: stringType().optional(),
37344
+ regarding_object_uuid: stringType().optional(),
37345
+ field_data: stringType().optional(),
37346
+ timestamp: stringType().optional(),
37347
+ form_by_staff_uuid: stringType().optional(),
37348
+ document_attachment_uuid: stringType().optional(),
37349
+ asset_uuid: stringType().optional()
37350
+ }).transform((v2) => {
37351
+ return remap(v2, {
37352
+ form_uuid: "formUuid",
37353
+ staff_uuid: "staffUuid",
37354
+ regarding_object: "regardingObject",
37355
+ regarding_object_uuid: "regardingObjectUuid",
37356
+ field_data: "fieldData",
37357
+ form_by_staff_uuid: "formByStaffUuid",
37358
+ document_attachment_uuid: "documentAttachmentUuid",
37359
+ asset_uuid: "assetUuid"
37360
+ });
37361
+ });
37362
+ FormResponseInput$outboundSchema = objectType({
37363
+ uuid: stringType().optional(),
37364
+ active: FormResponseActive$outboundSchema.default(1),
37365
+ formUuid: stringType().optional(),
37366
+ staffUuid: stringType().optional(),
37367
+ regardingObject: stringType().optional(),
37368
+ regardingObjectUuid: stringType().optional(),
37369
+ fieldData: stringType().optional(),
37370
+ timestamp: stringType().optional(),
37371
+ formByStaffUuid: stringType().optional(),
37372
+ documentAttachmentUuid: stringType().optional(),
37373
+ assetUuid: stringType().optional()
37374
+ }).transform((v2) => {
37375
+ return remap(v2, {
37376
+ formUuid: "form_uuid",
37377
+ staffUuid: "staff_uuid",
37378
+ regardingObject: "regarding_object",
37379
+ regardingObjectUuid: "regarding_object_uuid",
37380
+ fieldData: "field_data",
37381
+ formByStaffUuid: "form_by_staff_uuid",
37382
+ documentAttachmentUuid: "document_attachment_uuid",
37383
+ assetUuid: "asset_uuid"
37384
+ });
37385
+ });
37386
+ ((FormResponseInput$) => {
37387
+ FormResponseInput$.inboundSchema = FormResponseInput$inboundSchema;
37388
+ FormResponseInput$.outboundSchema = FormResponseInput$outboundSchema;
37389
+ })(FormResponseInput$ ||= {});
37219
37390
  });
37220
37391
 
37221
37392
  // src/models/components/inboxmessage.ts
@@ -40658,6 +40829,7 @@ var init_components = __esm(() => {
40658
40829
  init_companycontact();
40659
40830
  init_converttojobrequest();
40660
40831
  init_converttojobresponse();
40832
+ init_createinboxmessagerequest();
40661
40833
  init_documenttemplate();
40662
40834
  init_emailtemplate();
40663
40835
  init_embeddingsearchresponse();
@@ -41385,6 +41557,36 @@ var init_createformfields = __esm(() => {
41385
41557
  })(CreateFormFieldsResponse$ ||= {});
41386
41558
  });
41387
41559
 
41560
+ // src/models/operations/createformresponses.ts
41561
+ var CreateFormResponsesResponse$inboundSchema, CreateFormResponsesResponse$outboundSchema, CreateFormResponsesResponse$;
41562
+ var init_createformresponses = __esm(() => {
41563
+ init_esm();
41564
+ init_primitives();
41565
+ init_components();
41566
+ CreateFormResponsesResponse$inboundSchema = objectType({
41567
+ Headers: recordType(arrayType(stringType())),
41568
+ Result: Result$inboundSchema
41569
+ }).transform((v2) => {
41570
+ return remap(v2, {
41571
+ Headers: "headers",
41572
+ Result: "result"
41573
+ });
41574
+ });
41575
+ CreateFormResponsesResponse$outboundSchema = objectType({
41576
+ headers: recordType(arrayType(stringType())),
41577
+ result: Result$outboundSchema
41578
+ }).transform((v2) => {
41579
+ return remap(v2, {
41580
+ headers: "Headers",
41581
+ result: "Result"
41582
+ });
41583
+ });
41584
+ ((CreateFormResponsesResponse$) => {
41585
+ CreateFormResponsesResponse$.inboundSchema = CreateFormResponsesResponse$inboundSchema;
41586
+ CreateFormResponsesResponse$.outboundSchema = CreateFormResponsesResponse$outboundSchema;
41587
+ })(CreateFormResponsesResponse$ ||= {});
41588
+ });
41589
+
41388
41590
  // src/models/operations/createforms.ts
41389
41591
  var CreateFormsResponse$inboundSchema, CreateFormsResponse$outboundSchema, CreateFormsResponse$;
41390
41592
  var init_createforms = __esm(() => {
@@ -42197,6 +42399,22 @@ var init_deleteformfields = __esm(() => {
42197
42399
  })(DeleteFormFieldsRequest$ ||= {});
42198
42400
  });
42199
42401
 
42402
+ // src/models/operations/deleteformresponses.ts
42403
+ var DeleteFormResponsesRequest$inboundSchema, DeleteFormResponsesRequest$outboundSchema, DeleteFormResponsesRequest$;
42404
+ var init_deleteformresponses = __esm(() => {
42405
+ init_esm();
42406
+ DeleteFormResponsesRequest$inboundSchema = objectType({
42407
+ uuid: stringType()
42408
+ });
42409
+ DeleteFormResponsesRequest$outboundSchema = objectType({
42410
+ uuid: stringType()
42411
+ });
42412
+ ((DeleteFormResponsesRequest$) => {
42413
+ DeleteFormResponsesRequest$.inboundSchema = DeleteFormResponsesRequest$inboundSchema;
42414
+ DeleteFormResponsesRequest$.outboundSchema = DeleteFormResponsesRequest$outboundSchema;
42415
+ })(DeleteFormResponsesRequest$ ||= {});
42416
+ });
42417
+
42200
42418
  // src/models/operations/deleteforms.ts
42201
42419
  var DeleteFormsRequest$inboundSchema, DeleteFormsRequest$outboundSchema, DeleteFormsRequest$;
42202
42420
  var init_deleteforms = __esm(() => {
@@ -43586,6 +43804,34 @@ var init_updateformfields = __esm(() => {
43586
43804
  })(UpdateFormFieldsRequest$ ||= {});
43587
43805
  });
43588
43806
 
43807
+ // src/models/operations/updateformresponses.ts
43808
+ var UpdateFormResponsesRequest$inboundSchema, UpdateFormResponsesRequest$outboundSchema, UpdateFormResponsesRequest$;
43809
+ var init_updateformresponses = __esm(() => {
43810
+ init_esm();
43811
+ init_primitives();
43812
+ init_components();
43813
+ UpdateFormResponsesRequest$inboundSchema = objectType({
43814
+ uuid: stringType(),
43815
+ FormResponse: FormResponseInput$inboundSchema
43816
+ }).transform((v2) => {
43817
+ return remap(v2, {
43818
+ FormResponse: "formResponse"
43819
+ });
43820
+ });
43821
+ UpdateFormResponsesRequest$outboundSchema = objectType({
43822
+ uuid: stringType(),
43823
+ formResponse: FormResponseInput$outboundSchema
43824
+ }).transform((v2) => {
43825
+ return remap(v2, {
43826
+ formResponse: "FormResponse"
43827
+ });
43828
+ });
43829
+ ((UpdateFormResponsesRequest$) => {
43830
+ UpdateFormResponsesRequest$.inboundSchema = UpdateFormResponsesRequest$inboundSchema;
43831
+ UpdateFormResponsesRequest$.outboundSchema = UpdateFormResponsesRequest$outboundSchema;
43832
+ })(UpdateFormResponsesRequest$ ||= {});
43833
+ });
43834
+
43589
43835
  // src/models/operations/updateforms.ts
43590
43836
  var UpdateFormsRequest$inboundSchema, UpdateFormsRequest$outboundSchema, UpdateFormsRequest$;
43591
43837
  var init_updateforms = __esm(() => {
@@ -44108,6 +44354,7 @@ var init_operations = __esm(() => {
44108
44354
  init_createemailtemplates();
44109
44355
  init_createfeedback();
44110
44356
  init_createformfields();
44357
+ init_createformresponses();
44111
44358
  init_createforms();
44112
44359
  init_createjobactivities();
44113
44360
  init_createjoballocations();
@@ -44140,6 +44387,7 @@ var init_operations = __esm(() => {
44140
44387
  init_deleteemailtemplates();
44141
44388
  init_deletefeedback();
44142
44389
  init_deleteformfields();
44390
+ init_deleteformresponses();
44143
44391
  init_deleteforms();
44144
44392
  init_deletejobactivities();
44145
44393
  init_deletejoballocations();
@@ -44213,6 +44461,7 @@ var init_operations = __esm(() => {
44213
44461
  init_updateemailtemplates();
44214
44462
  init_updatefeedback();
44215
44463
  init_updateformfields();
44464
+ init_updateformresponses();
44216
44465
  init_updateforms();
44217
44466
  init_updatejobactivities();
44218
44467
  init_updatejoballocations();
@@ -51960,25 +52209,20 @@ This endpoint requires the following OAuth scope **manage_forms**.
51960
52209
  };
51961
52210
  });
51962
52211
 
51963
- // src/funcs/formResponsesGetFormResponses.ts
51964
- function formResponsesGetFormResponses(client, request, options) {
52212
+ // src/funcs/formResponsesCreateFormResponses.ts
52213
+ function formResponsesCreateFormResponses(client, request, options) {
51965
52214
  return new APIPromise($do65(client, request, options));
51966
52215
  }
51967
52216
  async function $do65(client, request, options) {
51968
- const parsed = safeParse(request, (value) => GetFormResponsesRequest$outboundSchema.parse(value), "Input validation failed");
52217
+ const parsed = safeParse(request, (value) => FormResponseInput$outboundSchema.parse(value), "Input validation failed");
51969
52218
  if (!parsed.ok) {
51970
52219
  return [parsed, { status: "invalid" }];
51971
52220
  }
51972
52221
  const payload = parsed.value;
51973
- const body = null;
51974
- const pathParams = {
51975
- uuid: encodeSimple("uuid", payload.uuid, {
51976
- explode: false,
51977
- charEncoding: "percent"
51978
- })
51979
- };
51980
- const path = pathToFunc("/formresponse/{uuid}.json")(pathParams);
52222
+ const body = encodeJSON("body", payload, { explode: true });
52223
+ const path = pathToFunc("/formresponse.json")();
51981
52224
  const headers = new Headers(compactMap({
52225
+ "Content-Type": "application/json",
51982
52226
  Accept: "application/json"
51983
52227
  }));
51984
52228
  const securityInput = await extractSecurity(client._options.security);
@@ -51986,7 +52230,7 @@ async function $do65(client, request, options) {
51986
52230
  const context = {
51987
52231
  options: client._options,
51988
52232
  baseURL: options?.serverURL ?? client._baseURL ?? "",
51989
- operationID: "getFormResponses",
52233
+ operationID: "createFormResponses",
51990
52234
  oAuth2Scopes: [],
51991
52235
  resolvedSecurity: requestSecurity,
51992
52236
  securitySource: client._options.security,
@@ -52004,7 +52248,7 @@ async function $do65(client, request, options) {
52004
52248
  };
52005
52249
  const requestRes = client._createRequest(context, {
52006
52250
  security: requestSecurity,
52007
- method: "GET",
52251
+ method: "POST",
52008
52252
  baseURL: options?.serverURL,
52009
52253
  path,
52010
52254
  headers,
@@ -52018,7 +52262,7 @@ async function $do65(client, request, options) {
52018
52262
  const req = requestRes.value;
52019
52263
  const doResult = await client._do(req, {
52020
52264
  context,
52021
- errorCodes: ["400", "401", "403", "404", "429", "4XX", "500", "5XX"],
52265
+ errorCodes: ["400", "401", "403", "429", "4XX", "500", "5XX"],
52022
52266
  retryConfig: context.retryConfig,
52023
52267
  retryCodes: context.retryCodes
52024
52268
  });
@@ -52029,13 +52273,16 @@ async function $do65(client, request, options) {
52029
52273
  const responseFields = {
52030
52274
  HttpMeta: { Response: response, Request: req }
52031
52275
  };
52032
- const [result2] = await match(json(200, FormResponse$inboundSchema), jsonErr(400, ErrorT$inboundSchema), jsonErr(401, AuthenticationError$inboundSchema), jsonErr(403, ForbiddenError$inboundSchema), jsonErr(404, NotFoundError$inboundSchema), jsonErr(429, RateLimitError$inboundSchema), jsonErr(500, ErrorT$inboundSchema), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
52276
+ const [result2] = await match(json(200, CreateFormResponsesResponse$inboundSchema, {
52277
+ hdrs: true,
52278
+ key: "Result"
52279
+ }), jsonErr(400, ErrorT$inboundSchema), jsonErr(401, AuthenticationError$inboundSchema), jsonErr(403, ForbiddenError$inboundSchema), jsonErr(429, RateLimitError$inboundSchema), jsonErr(500, ErrorT$inboundSchema), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
52033
52280
  if (!result2.ok) {
52034
52281
  return [result2, { status: "complete", request: req, response }];
52035
52282
  }
52036
52283
  return [result2, { status: "complete", request: req, response }];
52037
52284
  }
52038
- var init_formResponsesGetFormResponses = __esm(() => {
52285
+ var init_formResponsesCreateFormResponses = __esm(() => {
52039
52286
  init_encodings();
52040
52287
  init_matchers();
52041
52288
  init_primitives();
@@ -52048,46 +52295,63 @@ var init_formResponsesGetFormResponses = __esm(() => {
52048
52295
  init_async();
52049
52296
  });
52050
52297
 
52051
- // src/mcp-server/tools/formResponsesGetFormResponses.ts
52052
- var args52, tool$formResponsesGetFormResponses;
52053
- var init_formResponsesGetFormResponses2 = __esm(() => {
52054
- init_formResponsesGetFormResponses();
52055
- init_operations();
52298
+ // src/mcp-server/tools/formResponsesCreateFormResponses.ts
52299
+ var args52, tool$formResponsesCreateFormResponses;
52300
+ var init_formResponsesCreateFormResponses2 = __esm(() => {
52301
+ init_formResponsesCreateFormResponses();
52302
+ init_components();
52056
52303
  init_tools();
52057
52304
  args52 = {
52058
- request: GetFormResponsesRequest$inboundSchema
52305
+ request: FormResponseInput$inboundSchema
52059
52306
  };
52060
- tool$formResponsesGetFormResponses = {
52061
- name: "form-responses-get-form-responses",
52062
- description: `Retrieve a Form Response
52307
+ tool$formResponsesCreateFormResponses = {
52308
+ name: "form-responses-create-form-responses",
52309
+ description: `Create a new Form Response
52063
52310
 
52064
52311
 
52065
52312
 
52066
52313
  #### OAuth Scope
52067
- This endpoint requires the following OAuth scope **read_forms**.
52314
+ This endpoint requires the following OAuth scope **manage_forms**.
52315
+
52316
+
52317
+
52318
+ #### Record UUID
52319
+ UUID is optional for record creation. If no UUID is supplied, a UUID will be automatically generated for the new record and returned in the \`x-record-uuid\` response header.
52068
52320
 
52069
52321
  `,
52070
52322
  args: args52,
52071
52323
  tool: async (client, args53, ctx) => {
52072
- const [result2, apiCall] = await formResponsesGetFormResponses(client, args53.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
52324
+ const [result2, apiCall] = await formResponsesCreateFormResponses(client, args53.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
52073
52325
  if (!result2.ok) {
52074
52326
  return {
52075
52327
  content: [{ type: "text", text: result2.error.message }],
52076
52328
  isError: true
52077
52329
  };
52078
52330
  }
52079
- const value = result2.value;
52331
+ const value = result2.value.result;
52080
52332
  return formatResult(value, apiCall);
52081
52333
  }
52082
52334
  };
52083
52335
  });
52084
52336
 
52085
- // src/funcs/formResponsesListFormResponses.ts
52086
- function formResponsesListFormResponses(client, options) {
52087
- return new APIPromise($do66(client, options));
52337
+ // src/funcs/formResponsesDeleteFormResponses.ts
52338
+ function formResponsesDeleteFormResponses(client, request, options) {
52339
+ return new APIPromise($do66(client, request, options));
52088
52340
  }
52089
- async function $do66(client, options) {
52090
- const path = pathToFunc("/formresponse.json")();
52341
+ async function $do66(client, request, options) {
52342
+ const parsed = safeParse(request, (value) => DeleteFormResponsesRequest$outboundSchema.parse(value), "Input validation failed");
52343
+ if (!parsed.ok) {
52344
+ return [parsed, { status: "invalid" }];
52345
+ }
52346
+ const payload = parsed.value;
52347
+ const body = null;
52348
+ const pathParams = {
52349
+ uuid: encodeSimple("uuid", payload.uuid, {
52350
+ explode: false,
52351
+ charEncoding: "percent"
52352
+ })
52353
+ };
52354
+ const path = pathToFunc("/formresponse/{uuid}.json")(pathParams);
52091
52355
  const headers = new Headers(compactMap({
52092
52356
  Accept: "application/json"
52093
52357
  }));
@@ -52096,7 +52360,7 @@ async function $do66(client, options) {
52096
52360
  const context = {
52097
52361
  options: client._options,
52098
52362
  baseURL: options?.serverURL ?? client._baseURL ?? "",
52099
- operationID: "listFormResponses",
52363
+ operationID: "deleteFormResponses",
52100
52364
  oAuth2Scopes: [],
52101
52365
  resolvedSecurity: requestSecurity,
52102
52366
  securitySource: client._options.security,
@@ -52114,10 +52378,11 @@ async function $do66(client, options) {
52114
52378
  };
52115
52379
  const requestRes = client._createRequest(context, {
52116
52380
  security: requestSecurity,
52117
- method: "GET",
52381
+ method: "DELETE",
52118
52382
  baseURL: options?.serverURL,
52119
52383
  path,
52120
52384
  headers,
52385
+ body,
52121
52386
  userAgent: client._options.userAgent,
52122
52387
  timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
52123
52388
  }, options);
@@ -52127,7 +52392,7 @@ async function $do66(client, options) {
52127
52392
  const req = requestRes.value;
52128
52393
  const doResult = await client._do(req, {
52129
52394
  context,
52130
- errorCodes: ["400", "401", "403", "429", "4XX", "500", "5XX"],
52395
+ errorCodes: ["400", "401", "403", "404", "429", "4XX", "500", "5XX"],
52131
52396
  retryConfig: context.retryConfig,
52132
52397
  retryCodes: context.retryCodes
52133
52398
  });
@@ -52138,44 +52403,51 @@ async function $do66(client, options) {
52138
52403
  const responseFields = {
52139
52404
  HttpMeta: { Response: response, Request: req }
52140
52405
  };
52141
- const [result2] = await match(json(200, arrayType(FormResponse$inboundSchema)), jsonErr(400, ErrorT$inboundSchema), jsonErr(401, AuthenticationError$inboundSchema), jsonErr(403, ForbiddenError$inboundSchema), jsonErr(429, RateLimitError$inboundSchema), jsonErr(500, ErrorT$inboundSchema), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
52406
+ const [result2] = await match(json(200, Result$inboundSchema), jsonErr(400, ErrorT$inboundSchema), jsonErr(401, AuthenticationError$inboundSchema), jsonErr(403, ForbiddenError$inboundSchema), jsonErr(404, NotFoundError$inboundSchema), jsonErr(429, RateLimitError$inboundSchema), jsonErr(500, ErrorT$inboundSchema), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
52142
52407
  if (!result2.ok) {
52143
52408
  return [result2, { status: "complete", request: req, response }];
52144
52409
  }
52145
52410
  return [result2, { status: "complete", request: req, response }];
52146
52411
  }
52147
- var init_formResponsesListFormResponses = __esm(() => {
52148
- init_esm();
52412
+ var init_formResponsesDeleteFormResponses = __esm(() => {
52413
+ init_encodings();
52149
52414
  init_matchers();
52150
52415
  init_primitives();
52416
+ init_schemas();
52151
52417
  init_security();
52152
52418
  init_url();
52153
52419
  init_components();
52154
52420
  init_errors2();
52421
+ init_operations();
52155
52422
  init_async();
52156
52423
  });
52157
52424
 
52158
- // src/mcp-server/tools/formResponsesListFormResponses.ts
52159
- var tool$formResponsesListFormResponses;
52160
- var init_formResponsesListFormResponses2 = __esm(() => {
52161
- init_formResponsesListFormResponses();
52425
+ // src/mcp-server/tools/formResponsesDeleteFormResponses.ts
52426
+ var args53, tool$formResponsesDeleteFormResponses;
52427
+ var init_formResponsesDeleteFormResponses2 = __esm(() => {
52428
+ init_formResponsesDeleteFormResponses();
52429
+ init_operations();
52162
52430
  init_tools();
52163
- tool$formResponsesListFormResponses = {
52164
- name: "form-responses-list-form-responses",
52165
- description: `List all Form Responses
52431
+ args53 = {
52432
+ request: DeleteFormResponsesRequest$inboundSchema
52433
+ };
52434
+ tool$formResponsesDeleteFormResponses = {
52435
+ name: "form-responses-delete-form-responses",
52436
+ description: `Delete a Form Response
52166
52437
 
52167
52438
 
52168
52439
 
52169
- #### Filtering
52170
- This endpoint supports result filtering. For more information on how to filter this request, [go here](/docs/filtering).
52440
+ In ServiceM8, deleting a record sets its \`active\` field to \`0\`. Inactive records are still accessible on the API, but are hidden in the UI. Inactive records can be restored by setting their \`active\` field to \`1\`.
52441
+
52171
52442
 
52172
52443
 
52173
52444
  #### OAuth Scope
52174
- This endpoint requires the following OAuth scope **read_forms**.
52445
+ This endpoint requires the following OAuth scope **manage_forms**.
52175
52446
 
52176
52447
  `,
52177
- tool: async (client, ctx) => {
52178
- const [result2, apiCall] = await formResponsesListFormResponses(client, { fetchOptions: { signal: ctx.signal } }).$inspect();
52448
+ args: args53,
52449
+ tool: async (client, args54, ctx) => {
52450
+ const [result2, apiCall] = await formResponsesDeleteFormResponses(client, args54.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
52179
52451
  if (!result2.ok) {
52180
52452
  return {
52181
52453
  content: [{ type: "text", text: result2.error.message }],
@@ -52188,20 +52460,25 @@ This endpoint requires the following OAuth scope **read_forms**.
52188
52460
  };
52189
52461
  });
52190
52462
 
52191
- // src/funcs/formsCreateForms.ts
52192
- function formsCreateForms(client, request, options) {
52463
+ // src/funcs/formResponsesGetFormResponses.ts
52464
+ function formResponsesGetFormResponses(client, request, options) {
52193
52465
  return new APIPromise($do67(client, request, options));
52194
52466
  }
52195
52467
  async function $do67(client, request, options) {
52196
- const parsed = safeParse(request, (value) => FormInput$outboundSchema.parse(value), "Input validation failed");
52468
+ const parsed = safeParse(request, (value) => GetFormResponsesRequest$outboundSchema.parse(value), "Input validation failed");
52197
52469
  if (!parsed.ok) {
52198
52470
  return [parsed, { status: "invalid" }];
52199
52471
  }
52200
52472
  const payload = parsed.value;
52201
- const body = encodeJSON("body", payload, { explode: true });
52202
- const path = pathToFunc("/form.json")();
52473
+ const body = null;
52474
+ const pathParams = {
52475
+ uuid: encodeSimple("uuid", payload.uuid, {
52476
+ explode: false,
52477
+ charEncoding: "percent"
52478
+ })
52479
+ };
52480
+ const path = pathToFunc("/formresponse/{uuid}.json")(pathParams);
52203
52481
  const headers = new Headers(compactMap({
52204
- "Content-Type": "application/json",
52205
52482
  Accept: "application/json"
52206
52483
  }));
52207
52484
  const securityInput = await extractSecurity(client._options.security);
@@ -52209,7 +52486,353 @@ async function $do67(client, request, options) {
52209
52486
  const context = {
52210
52487
  options: client._options,
52211
52488
  baseURL: options?.serverURL ?? client._baseURL ?? "",
52212
- operationID: "createForms",
52489
+ operationID: "getFormResponses",
52490
+ oAuth2Scopes: [],
52491
+ resolvedSecurity: requestSecurity,
52492
+ securitySource: client._options.security,
52493
+ retryConfig: options?.retries || client._options.retryConfig || {
52494
+ strategy: "backoff",
52495
+ backoff: {
52496
+ initialInterval: 500,
52497
+ maxInterval: 60000,
52498
+ exponent: 1.5,
52499
+ maxElapsedTime: 3600000
52500
+ },
52501
+ retryConnectionErrors: true
52502
+ },
52503
+ retryCodes: options?.retryCodes || ["5XX", "429"]
52504
+ };
52505
+ const requestRes = client._createRequest(context, {
52506
+ security: requestSecurity,
52507
+ method: "GET",
52508
+ baseURL: options?.serverURL,
52509
+ path,
52510
+ headers,
52511
+ body,
52512
+ userAgent: client._options.userAgent,
52513
+ timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
52514
+ }, options);
52515
+ if (!requestRes.ok) {
52516
+ return [requestRes, { status: "invalid" }];
52517
+ }
52518
+ const req = requestRes.value;
52519
+ const doResult = await client._do(req, {
52520
+ context,
52521
+ errorCodes: ["400", "401", "403", "404", "429", "4XX", "500", "5XX"],
52522
+ retryConfig: context.retryConfig,
52523
+ retryCodes: context.retryCodes
52524
+ });
52525
+ if (!doResult.ok) {
52526
+ return [doResult, { status: "request-error", request: req }];
52527
+ }
52528
+ const response = doResult.value;
52529
+ const responseFields = {
52530
+ HttpMeta: { Response: response, Request: req }
52531
+ };
52532
+ const [result2] = await match(json(200, FormResponse$inboundSchema), jsonErr(400, ErrorT$inboundSchema), jsonErr(401, AuthenticationError$inboundSchema), jsonErr(403, ForbiddenError$inboundSchema), jsonErr(404, NotFoundError$inboundSchema), jsonErr(429, RateLimitError$inboundSchema), jsonErr(500, ErrorT$inboundSchema), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
52533
+ if (!result2.ok) {
52534
+ return [result2, { status: "complete", request: req, response }];
52535
+ }
52536
+ return [result2, { status: "complete", request: req, response }];
52537
+ }
52538
+ var init_formResponsesGetFormResponses = __esm(() => {
52539
+ init_encodings();
52540
+ init_matchers();
52541
+ init_primitives();
52542
+ init_schemas();
52543
+ init_security();
52544
+ init_url();
52545
+ init_components();
52546
+ init_errors2();
52547
+ init_operations();
52548
+ init_async();
52549
+ });
52550
+
52551
+ // src/mcp-server/tools/formResponsesGetFormResponses.ts
52552
+ var args54, tool$formResponsesGetFormResponses;
52553
+ var init_formResponsesGetFormResponses2 = __esm(() => {
52554
+ init_formResponsesGetFormResponses();
52555
+ init_operations();
52556
+ init_tools();
52557
+ args54 = {
52558
+ request: GetFormResponsesRequest$inboundSchema
52559
+ };
52560
+ tool$formResponsesGetFormResponses = {
52561
+ name: "form-responses-get-form-responses",
52562
+ description: `Retrieve a Form Response
52563
+
52564
+
52565
+
52566
+ #### OAuth Scope
52567
+ This endpoint requires the following OAuth scope **read_forms**.
52568
+
52569
+ `,
52570
+ args: args54,
52571
+ tool: async (client, args55, ctx) => {
52572
+ const [result2, apiCall] = await formResponsesGetFormResponses(client, args55.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
52573
+ if (!result2.ok) {
52574
+ return {
52575
+ content: [{ type: "text", text: result2.error.message }],
52576
+ isError: true
52577
+ };
52578
+ }
52579
+ const value = result2.value;
52580
+ return formatResult(value, apiCall);
52581
+ }
52582
+ };
52583
+ });
52584
+
52585
+ // src/funcs/formResponsesListFormResponses.ts
52586
+ function formResponsesListFormResponses(client, options) {
52587
+ return new APIPromise($do68(client, options));
52588
+ }
52589
+ async function $do68(client, options) {
52590
+ const path = pathToFunc("/formresponse.json")();
52591
+ const headers = new Headers(compactMap({
52592
+ Accept: "application/json"
52593
+ }));
52594
+ const securityInput = await extractSecurity(client._options.security);
52595
+ const requestSecurity = resolveGlobalSecurity(securityInput);
52596
+ const context = {
52597
+ options: client._options,
52598
+ baseURL: options?.serverURL ?? client._baseURL ?? "",
52599
+ operationID: "listFormResponses",
52600
+ oAuth2Scopes: [],
52601
+ resolvedSecurity: requestSecurity,
52602
+ securitySource: client._options.security,
52603
+ retryConfig: options?.retries || client._options.retryConfig || {
52604
+ strategy: "backoff",
52605
+ backoff: {
52606
+ initialInterval: 500,
52607
+ maxInterval: 60000,
52608
+ exponent: 1.5,
52609
+ maxElapsedTime: 3600000
52610
+ },
52611
+ retryConnectionErrors: true
52612
+ },
52613
+ retryCodes: options?.retryCodes || ["5XX", "429"]
52614
+ };
52615
+ const requestRes = client._createRequest(context, {
52616
+ security: requestSecurity,
52617
+ method: "GET",
52618
+ baseURL: options?.serverURL,
52619
+ path,
52620
+ headers,
52621
+ userAgent: client._options.userAgent,
52622
+ timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
52623
+ }, options);
52624
+ if (!requestRes.ok) {
52625
+ return [requestRes, { status: "invalid" }];
52626
+ }
52627
+ const req = requestRes.value;
52628
+ const doResult = await client._do(req, {
52629
+ context,
52630
+ errorCodes: ["400", "401", "403", "429", "4XX", "500", "5XX"],
52631
+ retryConfig: context.retryConfig,
52632
+ retryCodes: context.retryCodes
52633
+ });
52634
+ if (!doResult.ok) {
52635
+ return [doResult, { status: "request-error", request: req }];
52636
+ }
52637
+ const response = doResult.value;
52638
+ const responseFields = {
52639
+ HttpMeta: { Response: response, Request: req }
52640
+ };
52641
+ const [result2] = await match(json(200, arrayType(FormResponse$inboundSchema)), jsonErr(400, ErrorT$inboundSchema), jsonErr(401, AuthenticationError$inboundSchema), jsonErr(403, ForbiddenError$inboundSchema), jsonErr(429, RateLimitError$inboundSchema), jsonErr(500, ErrorT$inboundSchema), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
52642
+ if (!result2.ok) {
52643
+ return [result2, { status: "complete", request: req, response }];
52644
+ }
52645
+ return [result2, { status: "complete", request: req, response }];
52646
+ }
52647
+ var init_formResponsesListFormResponses = __esm(() => {
52648
+ init_esm();
52649
+ init_matchers();
52650
+ init_primitives();
52651
+ init_security();
52652
+ init_url();
52653
+ init_components();
52654
+ init_errors2();
52655
+ init_async();
52656
+ });
52657
+
52658
+ // src/mcp-server/tools/formResponsesListFormResponses.ts
52659
+ var tool$formResponsesListFormResponses;
52660
+ var init_formResponsesListFormResponses2 = __esm(() => {
52661
+ init_formResponsesListFormResponses();
52662
+ init_tools();
52663
+ tool$formResponsesListFormResponses = {
52664
+ name: "form-responses-list-form-responses",
52665
+ description: `List all Form Responses
52666
+
52667
+
52668
+
52669
+ #### Filtering
52670
+ This endpoint supports result filtering. For more information on how to filter this request, [go here](/docs/filtering).
52671
+
52672
+
52673
+ #### OAuth Scope
52674
+ This endpoint requires the following OAuth scope **read_forms**.
52675
+
52676
+ `,
52677
+ tool: async (client, ctx) => {
52678
+ const [result2, apiCall] = await formResponsesListFormResponses(client, { fetchOptions: { signal: ctx.signal } }).$inspect();
52679
+ if (!result2.ok) {
52680
+ return {
52681
+ content: [{ type: "text", text: result2.error.message }],
52682
+ isError: true
52683
+ };
52684
+ }
52685
+ const value = result2.value;
52686
+ return formatResult(value, apiCall);
52687
+ }
52688
+ };
52689
+ });
52690
+
52691
+ // src/funcs/formResponsesUpdateFormResponses.ts
52692
+ function formResponsesUpdateFormResponses(client, request, options) {
52693
+ return new APIPromise($do69(client, request, options));
52694
+ }
52695
+ async function $do69(client, request, options) {
52696
+ const parsed = safeParse(request, (value) => UpdateFormResponsesRequest$outboundSchema.parse(value), "Input validation failed");
52697
+ if (!parsed.ok) {
52698
+ return [parsed, { status: "invalid" }];
52699
+ }
52700
+ const payload = parsed.value;
52701
+ const body = encodeJSON("body", payload.FormResponse, { explode: true });
52702
+ const pathParams = {
52703
+ uuid: encodeSimple("uuid", payload.uuid, {
52704
+ explode: false,
52705
+ charEncoding: "percent"
52706
+ })
52707
+ };
52708
+ const path = pathToFunc("/formresponse/{uuid}.json")(pathParams);
52709
+ const headers = new Headers(compactMap({
52710
+ "Content-Type": "application/json",
52711
+ Accept: "application/json"
52712
+ }));
52713
+ const securityInput = await extractSecurity(client._options.security);
52714
+ const requestSecurity = resolveGlobalSecurity(securityInput);
52715
+ const context = {
52716
+ options: client._options,
52717
+ baseURL: options?.serverURL ?? client._baseURL ?? "",
52718
+ operationID: "updateFormResponses",
52719
+ oAuth2Scopes: [],
52720
+ resolvedSecurity: requestSecurity,
52721
+ securitySource: client._options.security,
52722
+ retryConfig: options?.retries || client._options.retryConfig || {
52723
+ strategy: "backoff",
52724
+ backoff: {
52725
+ initialInterval: 500,
52726
+ maxInterval: 60000,
52727
+ exponent: 1.5,
52728
+ maxElapsedTime: 3600000
52729
+ },
52730
+ retryConnectionErrors: true
52731
+ },
52732
+ retryCodes: options?.retryCodes || ["5XX", "429"]
52733
+ };
52734
+ const requestRes = client._createRequest(context, {
52735
+ security: requestSecurity,
52736
+ method: "POST",
52737
+ baseURL: options?.serverURL,
52738
+ path,
52739
+ headers,
52740
+ body,
52741
+ userAgent: client._options.userAgent,
52742
+ timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
52743
+ }, options);
52744
+ if (!requestRes.ok) {
52745
+ return [requestRes, { status: "invalid" }];
52746
+ }
52747
+ const req = requestRes.value;
52748
+ const doResult = await client._do(req, {
52749
+ context,
52750
+ errorCodes: ["400", "401", "403", "404", "429", "4XX", "500", "5XX"],
52751
+ retryConfig: context.retryConfig,
52752
+ retryCodes: context.retryCodes
52753
+ });
52754
+ if (!doResult.ok) {
52755
+ return [doResult, { status: "request-error", request: req }];
52756
+ }
52757
+ const response = doResult.value;
52758
+ const responseFields = {
52759
+ HttpMeta: { Response: response, Request: req }
52760
+ };
52761
+ const [result2] = await match(json(200, Result$inboundSchema), jsonErr(400, ErrorT$inboundSchema), jsonErr(401, AuthenticationError$inboundSchema), jsonErr(403, ForbiddenError$inboundSchema), jsonErr(404, NotFoundError$inboundSchema), jsonErr(429, RateLimitError$inboundSchema), jsonErr(500, ErrorT$inboundSchema), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
52762
+ if (!result2.ok) {
52763
+ return [result2, { status: "complete", request: req, response }];
52764
+ }
52765
+ return [result2, { status: "complete", request: req, response }];
52766
+ }
52767
+ var init_formResponsesUpdateFormResponses = __esm(() => {
52768
+ init_encodings();
52769
+ init_matchers();
52770
+ init_primitives();
52771
+ init_schemas();
52772
+ init_security();
52773
+ init_url();
52774
+ init_components();
52775
+ init_errors2();
52776
+ init_operations();
52777
+ init_async();
52778
+ });
52779
+
52780
+ // src/mcp-server/tools/formResponsesUpdateFormResponses.ts
52781
+ var args55, tool$formResponsesUpdateFormResponses;
52782
+ var init_formResponsesUpdateFormResponses2 = __esm(() => {
52783
+ init_formResponsesUpdateFormResponses();
52784
+ init_operations();
52785
+ init_tools();
52786
+ args55 = {
52787
+ request: UpdateFormResponsesRequest$inboundSchema
52788
+ };
52789
+ tool$formResponsesUpdateFormResponses = {
52790
+ name: "form-responses-update-form-responses",
52791
+ description: `Update a Form Response
52792
+
52793
+
52794
+
52795
+ #### OAuth Scope
52796
+ This endpoint requires the following OAuth scope **manage_forms**.
52797
+
52798
+ `,
52799
+ args: args55,
52800
+ tool: async (client, args56, ctx) => {
52801
+ const [result2, apiCall] = await formResponsesUpdateFormResponses(client, args56.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
52802
+ if (!result2.ok) {
52803
+ return {
52804
+ content: [{ type: "text", text: result2.error.message }],
52805
+ isError: true
52806
+ };
52807
+ }
52808
+ const value = result2.value;
52809
+ return formatResult(value, apiCall);
52810
+ }
52811
+ };
52812
+ });
52813
+
52814
+ // src/funcs/formsCreateForms.ts
52815
+ function formsCreateForms(client, request, options) {
52816
+ return new APIPromise($do70(client, request, options));
52817
+ }
52818
+ async function $do70(client, request, options) {
52819
+ const parsed = safeParse(request, (value) => FormInput$outboundSchema.parse(value), "Input validation failed");
52820
+ if (!parsed.ok) {
52821
+ return [parsed, { status: "invalid" }];
52822
+ }
52823
+ const payload = parsed.value;
52824
+ const body = encodeJSON("body", payload, { explode: true });
52825
+ const path = pathToFunc("/form.json")();
52826
+ const headers = new Headers(compactMap({
52827
+ "Content-Type": "application/json",
52828
+ Accept: "application/json"
52829
+ }));
52830
+ const securityInput = await extractSecurity(client._options.security);
52831
+ const requestSecurity = resolveGlobalSecurity(securityInput);
52832
+ const context = {
52833
+ options: client._options,
52834
+ baseURL: options?.serverURL ?? client._baseURL ?? "",
52835
+ operationID: "createForms",
52213
52836
  oAuth2Scopes: [],
52214
52837
  resolvedSecurity: requestSecurity,
52215
52838
  securitySource: client._options.security,
@@ -52275,12 +52898,12 @@ var init_formsCreateForms = __esm(() => {
52275
52898
  });
52276
52899
 
52277
52900
  // src/mcp-server/tools/formsCreateForms.ts
52278
- var args53, tool$formsCreateForms;
52901
+ var args56, tool$formsCreateForms;
52279
52902
  var init_formsCreateForms2 = __esm(() => {
52280
52903
  init_formsCreateForms();
52281
52904
  init_components();
52282
52905
  init_tools();
52283
- args53 = {
52906
+ args56 = {
52284
52907
  request: FormInput$inboundSchema
52285
52908
  };
52286
52909
  tool$formsCreateForms = {
@@ -52298,9 +52921,9 @@ This endpoint requires the following OAuth scope **manage_forms**.
52298
52921
  UUID is optional for record creation. If no UUID is supplied, a UUID will be automatically generated for the new record and returned in the \`x-record-uuid\` response header.
52299
52922
 
52300
52923
  `,
52301
- args: args53,
52302
- tool: async (client, args54, ctx) => {
52303
- const [result2, apiCall] = await formsCreateForms(client, args54.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
52924
+ args: args56,
52925
+ tool: async (client, args57, ctx) => {
52926
+ const [result2, apiCall] = await formsCreateForms(client, args57.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
52304
52927
  if (!result2.ok) {
52305
52928
  return {
52306
52929
  content: [{ type: "text", text: result2.error.message }],
@@ -52315,9 +52938,9 @@ UUID is optional for record creation. If no UUID is supplied, a UUID will be aut
52315
52938
 
52316
52939
  // src/funcs/formsDeleteForms.ts
52317
52940
  function formsDeleteForms(client, request, options) {
52318
- return new APIPromise($do68(client, request, options));
52941
+ return new APIPromise($do71(client, request, options));
52319
52942
  }
52320
- async function $do68(client, request, options) {
52943
+ async function $do71(client, request, options) {
52321
52944
  const parsed = safeParse(request, (value) => DeleteFormsRequest$outboundSchema.parse(value), "Input validation failed");
52322
52945
  if (!parsed.ok) {
52323
52946
  return [parsed, { status: "invalid" }];
@@ -52402,12 +53025,12 @@ var init_formsDeleteForms = __esm(() => {
52402
53025
  });
52403
53026
 
52404
53027
  // src/mcp-server/tools/formsDeleteForms.ts
52405
- var args54, tool$formsDeleteForms;
53028
+ var args57, tool$formsDeleteForms;
52406
53029
  var init_formsDeleteForms2 = __esm(() => {
52407
53030
  init_formsDeleteForms();
52408
53031
  init_operations();
52409
53032
  init_tools();
52410
- args54 = {
53033
+ args57 = {
52411
53034
  request: DeleteFormsRequest$inboundSchema
52412
53035
  };
52413
53036
  tool$formsDeleteForms = {
@@ -52424,9 +53047,9 @@ In ServiceM8, deleting a record sets its \`active\` field to \`0\`. Inactive rec
52424
53047
  This endpoint requires the following OAuth scope **manage_forms**.
52425
53048
 
52426
53049
  `,
52427
- args: args54,
52428
- tool: async (client, args55, ctx) => {
52429
- const [result2, apiCall] = await formsDeleteForms(client, args55.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
53050
+ args: args57,
53051
+ tool: async (client, args58, ctx) => {
53052
+ const [result2, apiCall] = await formsDeleteForms(client, args58.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
52430
53053
  if (!result2.ok) {
52431
53054
  return {
52432
53055
  content: [{ type: "text", text: result2.error.message }],
@@ -52441,9 +53064,9 @@ This endpoint requires the following OAuth scope **manage_forms**.
52441
53064
 
52442
53065
  // src/funcs/formsGetForms.ts
52443
53066
  function formsGetForms(client, request, options) {
52444
- return new APIPromise($do69(client, request, options));
53067
+ return new APIPromise($do72(client, request, options));
52445
53068
  }
52446
- async function $do69(client, request, options) {
53069
+ async function $do72(client, request, options) {
52447
53070
  const parsed = safeParse(request, (value) => GetFormsRequest$outboundSchema.parse(value), "Input validation failed");
52448
53071
  if (!parsed.ok) {
52449
53072
  return [parsed, { status: "invalid" }];
@@ -52528,12 +53151,12 @@ var init_formsGetForms = __esm(() => {
52528
53151
  });
52529
53152
 
52530
53153
  // src/mcp-server/tools/formsGetForms.ts
52531
- var args55, tool$formsGetForms;
53154
+ var args58, tool$formsGetForms;
52532
53155
  var init_formsGetForms2 = __esm(() => {
52533
53156
  init_formsGetForms();
52534
53157
  init_operations();
52535
53158
  init_tools();
52536
- args55 = {
53159
+ args58 = {
52537
53160
  request: GetFormsRequest$inboundSchema
52538
53161
  };
52539
53162
  tool$formsGetForms = {
@@ -52546,9 +53169,9 @@ var init_formsGetForms2 = __esm(() => {
52546
53169
  This endpoint requires the following OAuth scope **read_forms**.
52547
53170
 
52548
53171
  `,
52549
- args: args55,
52550
- tool: async (client, args56, ctx) => {
52551
- const [result2, apiCall] = await formsGetForms(client, args56.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
53172
+ args: args58,
53173
+ tool: async (client, args59, ctx) => {
53174
+ const [result2, apiCall] = await formsGetForms(client, args59.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
52552
53175
  if (!result2.ok) {
52553
53176
  return {
52554
53177
  content: [{ type: "text", text: result2.error.message }],
@@ -52563,9 +53186,9 @@ This endpoint requires the following OAuth scope **read_forms**.
52563
53186
 
52564
53187
  // src/funcs/formsListForms.ts
52565
53188
  function formsListForms(client, options) {
52566
- return new APIPromise($do70(client, options));
53189
+ return new APIPromise($do73(client, options));
52567
53190
  }
52568
- async function $do70(client, options) {
53191
+ async function $do73(client, options) {
52569
53192
  const path = pathToFunc("/form.json")();
52570
53193
  const headers = new Headers(compactMap({
52571
53194
  Accept: "application/json"
@@ -52669,9 +53292,9 @@ This endpoint requires the following OAuth scope **read_forms**.
52669
53292
 
52670
53293
  // src/funcs/formsUpdateForms.ts
52671
53294
  function formsUpdateForms(client, request, options) {
52672
- return new APIPromise($do71(client, request, options));
53295
+ return new APIPromise($do74(client, request, options));
52673
53296
  }
52674
- async function $do71(client, request, options) {
53297
+ async function $do74(client, request, options) {
52675
53298
  const parsed = safeParse(request, (value) => UpdateFormsRequest$outboundSchema.parse(value), "Input validation failed");
52676
53299
  if (!parsed.ok) {
52677
53300
  return [parsed, { status: "invalid" }];
@@ -52757,12 +53380,12 @@ var init_formsUpdateForms = __esm(() => {
52757
53380
  });
52758
53381
 
52759
53382
  // src/mcp-server/tools/formsUpdateForms.ts
52760
- var args56, tool$formsUpdateForms;
53383
+ var args59, tool$formsUpdateForms;
52761
53384
  var init_formsUpdateForms2 = __esm(() => {
52762
53385
  init_formsUpdateForms();
52763
53386
  init_operations();
52764
53387
  init_tools();
52765
- args56 = {
53388
+ args59 = {
52766
53389
  request: UpdateFormsRequest$inboundSchema
52767
53390
  };
52768
53391
  tool$formsUpdateForms = {
@@ -52775,9 +53398,9 @@ var init_formsUpdateForms2 = __esm(() => {
52775
53398
  This endpoint requires the following OAuth scope **manage_forms**.
52776
53399
 
52777
53400
  `,
52778
- args: args56,
52779
- tool: async (client, args57, ctx) => {
52780
- const [result2, apiCall] = await formsUpdateForms(client, args57.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
53401
+ args: args59,
53402
+ tool: async (client, args60, ctx) => {
53403
+ const [result2, apiCall] = await formsUpdateForms(client, args60.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
52781
53404
  if (!result2.ok) {
52782
53405
  return {
52783
53406
  content: [{ type: "text", text: result2.error.message }],
@@ -52792,9 +53415,9 @@ This endpoint requires the following OAuth scope **manage_forms**.
52792
53415
 
52793
53416
  // src/funcs/inboxAddNoteToInboxMessage.ts
52794
53417
  function inboxAddNoteToInboxMessage(client, request, options) {
52795
- return new APIPromise($do72(client, request, options));
53418
+ return new APIPromise($do75(client, request, options));
52796
53419
  }
52797
- async function $do72(client, request, options) {
53420
+ async function $do75(client, request, options) {
52798
53421
  const parsed = safeParse(request, (value) => AddNoteToInboxMessageRequest$outboundSchema.parse(value), "Input validation failed");
52799
53422
  if (!parsed.ok) {
52800
53423
  return [parsed, { status: "invalid" }];
@@ -52880,12 +53503,12 @@ var init_inboxAddNoteToInboxMessage = __esm(() => {
52880
53503
  });
52881
53504
 
52882
53505
  // src/mcp-server/tools/inboxAddNoteToInboxMessage.ts
52883
- var args57, tool$inboxAddNoteToInboxMessage;
53506
+ var args60, tool$inboxAddNoteToInboxMessage;
52884
53507
  var init_inboxAddNoteToInboxMessage2 = __esm(() => {
52885
53508
  init_inboxAddNoteToInboxMessage();
52886
53509
  init_operations();
52887
53510
  init_tools();
52888
- args57 = {
53511
+ args60 = {
52889
53512
  request: AddNoteToInboxMessageRequest$inboundSchema
52890
53513
  };
52891
53514
  tool$inboxAddNoteToInboxMessage = {
@@ -52893,9 +53516,9 @@ var init_inboxAddNoteToInboxMessage2 = __esm(() => {
52893
53516
  description: `Add note to message
52894
53517
 
52895
53518
  Adds a note to an inbox message`,
52896
- args: args57,
52897
- tool: async (client, args58, ctx) => {
52898
- const [result2, apiCall] = await inboxAddNoteToInboxMessage(client, args58.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
53519
+ args: args60,
53520
+ tool: async (client, args61, ctx) => {
53521
+ const [result2, apiCall] = await inboxAddNoteToInboxMessage(client, args61.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
52899
53522
  if (!result2.ok) {
52900
53523
  return {
52901
53524
  content: [{ type: "text", text: result2.error.message }],
@@ -52910,9 +53533,9 @@ Adds a note to an inbox message`,
52910
53533
 
52911
53534
  // src/funcs/inboxArchiveInboxMessage.ts
52912
53535
  function inboxArchiveInboxMessage(client, request, options) {
52913
- return new APIPromise($do73(client, request, options));
53536
+ return new APIPromise($do76(client, request, options));
52914
53537
  }
52915
- async function $do73(client, request, options) {
53538
+ async function $do76(client, request, options) {
52916
53539
  const parsed = safeParse(request, (value) => ArchiveInboxMessageRequest$outboundSchema.parse(value), "Input validation failed");
52917
53540
  if (!parsed.ok) {
52918
53541
  return [parsed, { status: "invalid" }];
@@ -52994,12 +53617,12 @@ var init_inboxArchiveInboxMessage = __esm(() => {
52994
53617
  });
52995
53618
 
52996
53619
  // src/mcp-server/tools/inboxArchiveInboxMessage.ts
52997
- var args58, tool$inboxArchiveInboxMessage;
53620
+ var args61, tool$inboxArchiveInboxMessage;
52998
53621
  var init_inboxArchiveInboxMessage2 = __esm(() => {
52999
53622
  init_inboxArchiveInboxMessage();
53000
53623
  init_operations();
53001
53624
  init_tools();
53002
- args58 = {
53625
+ args61 = {
53003
53626
  request: ArchiveInboxMessageRequest$inboundSchema
53004
53627
  };
53005
53628
  tool$inboxArchiveInboxMessage = {
@@ -53007,9 +53630,9 @@ var init_inboxArchiveInboxMessage2 = __esm(() => {
53007
53630
  description: `Archive or unarchive message
53008
53631
 
53009
53632
  Archives or unarchives an inbox message`,
53010
- args: args58,
53011
- tool: async (client, args59, ctx) => {
53012
- const [result2, apiCall] = await inboxArchiveInboxMessage(client, args59.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
53633
+ args: args61,
53634
+ tool: async (client, args62, ctx) => {
53635
+ const [result2, apiCall] = await inboxArchiveInboxMessage(client, args62.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
53013
53636
  if (!result2.ok) {
53014
53637
  return {
53015
53638
  content: [{ type: "text", text: result2.error.message }],
@@ -53024,9 +53647,9 @@ Archives or unarchives an inbox message`,
53024
53647
 
53025
53648
  // src/funcs/inboxAttachInboxMessageToJob.ts
53026
53649
  function inboxAttachInboxMessageToJob(client, request, options) {
53027
- return new APIPromise($do74(client, request, options));
53650
+ return new APIPromise($do77(client, request, options));
53028
53651
  }
53029
- async function $do74(client, request, options) {
53652
+ async function $do77(client, request, options) {
53030
53653
  const parsed = safeParse(request, (value) => AttachInboxMessageToJobRequest$outboundSchema.parse(value), "Input validation failed");
53031
53654
  if (!parsed.ok) {
53032
53655
  return [parsed, { status: "invalid" }];
@@ -53114,12 +53737,12 @@ var init_inboxAttachInboxMessageToJob = __esm(() => {
53114
53737
  });
53115
53738
 
53116
53739
  // src/mcp-server/tools/inboxAttachInboxMessageToJob.ts
53117
- var args59, tool$inboxAttachInboxMessageToJob;
53740
+ var args62, tool$inboxAttachInboxMessageToJob;
53118
53741
  var init_inboxAttachInboxMessageToJob2 = __esm(() => {
53119
53742
  init_inboxAttachInboxMessageToJob();
53120
53743
  init_operations();
53121
53744
  init_tools();
53122
- args59 = {
53745
+ args62 = {
53123
53746
  request: AttachInboxMessageToJobRequest$inboundSchema
53124
53747
  };
53125
53748
  tool$inboxAttachInboxMessageToJob = {
@@ -53127,9 +53750,125 @@ var init_inboxAttachInboxMessageToJob2 = __esm(() => {
53127
53750
  description: `Attach message to existing job
53128
53751
 
53129
53752
  Attaches an inbox message to an existing job`,
53130
- args: args59,
53131
- tool: async (client, args60, ctx) => {
53132
- const [result2, apiCall] = await inboxAttachInboxMessageToJob(client, args60.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
53753
+ args: args62,
53754
+ tool: async (client, args63, ctx) => {
53755
+ const [result2, apiCall] = await inboxAttachInboxMessageToJob(client, args63.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
53756
+ if (!result2.ok) {
53757
+ return {
53758
+ content: [{ type: "text", text: result2.error.message }],
53759
+ isError: true
53760
+ };
53761
+ }
53762
+ const value = result2.value;
53763
+ return formatResult(value, apiCall);
53764
+ }
53765
+ };
53766
+ });
53767
+
53768
+ // src/funcs/inboxConvertInboxMessageToJob.ts
53769
+ function inboxConvertInboxMessageToJob(client, request, options) {
53770
+ return new APIPromise($do78(client, request, options));
53771
+ }
53772
+ async function $do78(client, request, options) {
53773
+ const parsed = safeParse(request, (value) => ConvertInboxMessageToJobRequest$outboundSchema.parse(value), "Input validation failed");
53774
+ if (!parsed.ok) {
53775
+ return [parsed, { status: "invalid" }];
53776
+ }
53777
+ const payload = parsed.value;
53778
+ const body = encodeJSON("body", payload.ConvertToJobRequest, {
53779
+ explode: true
53780
+ });
53781
+ const pathParams = {
53782
+ uuid: encodeSimple("uuid", payload.uuid, {
53783
+ explode: false,
53784
+ charEncoding: "percent"
53785
+ })
53786
+ };
53787
+ const path = pathToFunc("/inboxmessage/{uuid}/convert-to-job.json")(pathParams);
53788
+ const headers = new Headers(compactMap({
53789
+ "Content-Type": "application/json",
53790
+ Accept: "application/json"
53791
+ }));
53792
+ const securityInput = await extractSecurity(client._options.security);
53793
+ const requestSecurity = resolveGlobalSecurity(securityInput);
53794
+ const context = {
53795
+ options: client._options,
53796
+ baseURL: options?.serverURL ?? client._baseURL ?? "",
53797
+ operationID: "convertInboxMessageToJob",
53798
+ oAuth2Scopes: [],
53799
+ resolvedSecurity: requestSecurity,
53800
+ securitySource: client._options.security,
53801
+ retryConfig: options?.retries || client._options.retryConfig || {
53802
+ strategy: "backoff",
53803
+ backoff: {
53804
+ initialInterval: 500,
53805
+ maxInterval: 60000,
53806
+ exponent: 1.5,
53807
+ maxElapsedTime: 3600000
53808
+ },
53809
+ retryConnectionErrors: true
53810
+ },
53811
+ retryCodes: options?.retryCodes || ["5XX", "429"]
53812
+ };
53813
+ const requestRes = client._createRequest(context, {
53814
+ security: requestSecurity,
53815
+ method: "POST",
53816
+ baseURL: options?.serverURL,
53817
+ path,
53818
+ headers,
53819
+ body,
53820
+ userAgent: client._options.userAgent,
53821
+ timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
53822
+ }, options);
53823
+ if (!requestRes.ok) {
53824
+ return [requestRes, { status: "invalid" }];
53825
+ }
53826
+ const req = requestRes.value;
53827
+ const doResult = await client._do(req, {
53828
+ context,
53829
+ errorCodes: ["4XX", "5XX"],
53830
+ retryConfig: context.retryConfig,
53831
+ retryCodes: context.retryCodes
53832
+ });
53833
+ if (!doResult.ok) {
53834
+ return [doResult, { status: "request-error", request: req }];
53835
+ }
53836
+ const response = doResult.value;
53837
+ const [result2] = await match(json(201, ConvertToJobResponse$inboundSchema), fail("4XX"), fail("5XX"))(response, req);
53838
+ if (!result2.ok) {
53839
+ return [result2, { status: "complete", request: req, response }];
53840
+ }
53841
+ return [result2, { status: "complete", request: req, response }];
53842
+ }
53843
+ var init_inboxConvertInboxMessageToJob = __esm(() => {
53844
+ init_encodings();
53845
+ init_matchers();
53846
+ init_primitives();
53847
+ init_schemas();
53848
+ init_security();
53849
+ init_url();
53850
+ init_components();
53851
+ init_operations();
53852
+ init_async();
53853
+ });
53854
+
53855
+ // src/mcp-server/tools/inboxConvertInboxMessageToJob.ts
53856
+ var args63, tool$inboxConvertInboxMessageToJob;
53857
+ var init_inboxConvertInboxMessageToJob2 = __esm(() => {
53858
+ init_inboxConvertInboxMessageToJob();
53859
+ init_operations();
53860
+ init_tools();
53861
+ args63 = {
53862
+ request: ConvertInboxMessageToJobRequest$inboundSchema
53863
+ };
53864
+ tool$inboxConvertInboxMessageToJob = {
53865
+ name: "inbox-convert-inbox-message-to-job",
53866
+ description: `Convert message to job
53867
+
53868
+ Converts an inbox message into a new job, optionally using a job template`,
53869
+ args: args63,
53870
+ tool: async (client, args64, ctx) => {
53871
+ const [result2, apiCall] = await inboxConvertInboxMessageToJob(client, args64.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
53133
53872
  if (!result2.ok) {
53134
53873
  return {
53135
53874
  content: [{ type: "text", text: result2.error.message }],
@@ -53142,26 +53881,18 @@ Attaches an inbox message to an existing job`,
53142
53881
  };
53143
53882
  });
53144
53883
 
53145
- // src/funcs/inboxConvertInboxMessageToJob.ts
53146
- function inboxConvertInboxMessageToJob(client, request, options) {
53147
- return new APIPromise($do75(client, request, options));
53884
+ // src/funcs/inboxCreateInboxMessage.ts
53885
+ function inboxCreateInboxMessage(client, request, options) {
53886
+ return new APIPromise($do79(client, request, options));
53148
53887
  }
53149
- async function $do75(client, request, options) {
53150
- const parsed = safeParse(request, (value) => ConvertInboxMessageToJobRequest$outboundSchema.parse(value), "Input validation failed");
53888
+ async function $do79(client, request, options) {
53889
+ const parsed = safeParse(request, (value) => CreateInboxMessageRequest$outboundSchema.parse(value), "Input validation failed");
53151
53890
  if (!parsed.ok) {
53152
53891
  return [parsed, { status: "invalid" }];
53153
53892
  }
53154
53893
  const payload = parsed.value;
53155
- const body = encodeJSON("body", payload.ConvertToJobRequest, {
53156
- explode: true
53157
- });
53158
- const pathParams = {
53159
- uuid: encodeSimple("uuid", payload.uuid, {
53160
- explode: false,
53161
- charEncoding: "percent"
53162
- })
53163
- };
53164
- const path = pathToFunc("/inboxmessage/{uuid}/convert-to-job.json")(pathParams);
53894
+ const body = encodeJSON("body", payload, { explode: true });
53895
+ const path = pathToFunc("/inboxmessage.json")();
53165
53896
  const headers = new Headers(compactMap({
53166
53897
  "Content-Type": "application/json",
53167
53898
  Accept: "application/json"
@@ -53171,7 +53902,7 @@ async function $do75(client, request, options) {
53171
53902
  const context = {
53172
53903
  options: client._options,
53173
53904
  baseURL: options?.serverURL ?? client._baseURL ?? "",
53174
- operationID: "convertInboxMessageToJob",
53905
+ operationID: "createInboxMessage",
53175
53906
  oAuth2Scopes: [],
53176
53907
  resolvedSecurity: requestSecurity,
53177
53908
  securitySource: client._options.security,
@@ -53203,7 +53934,7 @@ async function $do75(client, request, options) {
53203
53934
  const req = requestRes.value;
53204
53935
  const doResult = await client._do(req, {
53205
53936
  context,
53206
- errorCodes: ["4XX", "5XX"],
53937
+ errorCodes: ["400", "403", "404", "4XX", "500", "5XX"],
53207
53938
  retryConfig: context.retryConfig,
53208
53939
  retryCodes: context.retryCodes
53209
53940
  });
@@ -53211,13 +53942,16 @@ async function $do75(client, request, options) {
53211
53942
  return [doResult, { status: "request-error", request: req }];
53212
53943
  }
53213
53944
  const response = doResult.value;
53214
- const [result2] = await match(json(201, ConvertToJobResponse$inboundSchema), fail("4XX"), fail("5XX"))(response, req);
53945
+ const responseFields = {
53946
+ HttpMeta: { Response: response, Request: req }
53947
+ };
53948
+ const [result2] = await match(json(201, InboxMessageDetail$inboundSchema), jsonErr([400, 403, 404], ErrorT$inboundSchema), jsonErr(500, ErrorT$inboundSchema), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
53215
53949
  if (!result2.ok) {
53216
53950
  return [result2, { status: "complete", request: req, response }];
53217
53951
  }
53218
53952
  return [result2, { status: "complete", request: req, response }];
53219
53953
  }
53220
- var init_inboxConvertInboxMessageToJob = __esm(() => {
53954
+ var init_inboxCreateInboxMessage = __esm(() => {
53221
53955
  init_encodings();
53222
53956
  init_matchers();
53223
53957
  init_primitives();
@@ -53225,27 +53959,27 @@ var init_inboxConvertInboxMessageToJob = __esm(() => {
53225
53959
  init_security();
53226
53960
  init_url();
53227
53961
  init_components();
53228
- init_operations();
53962
+ init_errors2();
53229
53963
  init_async();
53230
53964
  });
53231
53965
 
53232
- // src/mcp-server/tools/inboxConvertInboxMessageToJob.ts
53233
- var args60, tool$inboxConvertInboxMessageToJob;
53234
- var init_inboxConvertInboxMessageToJob2 = __esm(() => {
53235
- init_inboxConvertInboxMessageToJob();
53236
- init_operations();
53966
+ // src/mcp-server/tools/inboxCreateInboxMessage.ts
53967
+ var args64, tool$inboxCreateInboxMessage;
53968
+ var init_inboxCreateInboxMessage2 = __esm(() => {
53969
+ init_inboxCreateInboxMessage();
53970
+ init_components();
53237
53971
  init_tools();
53238
- args60 = {
53239
- request: ConvertInboxMessageToJobRequest$inboundSchema
53972
+ args64 = {
53973
+ request: CreateInboxMessageRequest$inboundSchema
53240
53974
  };
53241
- tool$inboxConvertInboxMessageToJob = {
53242
- name: "inbox-convert-inbox-message-to-job",
53243
- description: `Convert message to job
53975
+ tool$inboxCreateInboxMessage = {
53976
+ name: "inbox-create-inbox-message",
53977
+ description: `Create a new inbox message
53244
53978
 
53245
- Converts an inbox message into a new job, optionally using a job template`,
53246
- args: args60,
53247
- tool: async (client, args61, ctx) => {
53248
- const [result2, apiCall] = await inboxConvertInboxMessageToJob(client, args61.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
53979
+ Creates a new inbox message that will appear in the inbox`,
53980
+ args: args64,
53981
+ tool: async (client, args65, ctx) => {
53982
+ const [result2, apiCall] = await inboxCreateInboxMessage(client, args65.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
53249
53983
  if (!result2.ok) {
53250
53984
  return {
53251
53985
  content: [{ type: "text", text: result2.error.message }],
@@ -53260,9 +53994,9 @@ Converts an inbox message into a new job, optionally using a job template`,
53260
53994
 
53261
53995
  // src/funcs/inboxGetInboxMessage.ts
53262
53996
  function inboxGetInboxMessage(client, request, options) {
53263
- return new APIPromise($do76(client, request, options));
53997
+ return new APIPromise($do80(client, request, options));
53264
53998
  }
53265
- async function $do76(client, request, options) {
53999
+ async function $do80(client, request, options) {
53266
54000
  const parsed = safeParse(request, (value) => GetInboxMessageRequest$outboundSchema.parse(value), "Input validation failed");
53267
54001
  if (!parsed.ok) {
53268
54002
  return [parsed, { status: "invalid" }];
@@ -53347,12 +54081,12 @@ var init_inboxGetInboxMessage = __esm(() => {
53347
54081
  });
53348
54082
 
53349
54083
  // src/mcp-server/tools/inboxGetInboxMessage.ts
53350
- var args61, tool$inboxGetInboxMessage;
54084
+ var args65, tool$inboxGetInboxMessage;
53351
54085
  var init_inboxGetInboxMessage2 = __esm(() => {
53352
54086
  init_inboxGetInboxMessage();
53353
54087
  init_operations();
53354
54088
  init_tools();
53355
- args61 = {
54089
+ args65 = {
53356
54090
  request: GetInboxMessageRequest$inboundSchema
53357
54091
  };
53358
54092
  tool$inboxGetInboxMessage = {
@@ -53360,9 +54094,9 @@ var init_inboxGetInboxMessage2 = __esm(() => {
53360
54094
  description: `Get inbox message details
53361
54095
 
53362
54096
  Retrieves detailed information about a specific inbox message including attachments and conversation history`,
53363
- args: args61,
53364
- tool: async (client, args62, ctx) => {
53365
- const [result2, apiCall] = await inboxGetInboxMessage(client, args62.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
54097
+ args: args65,
54098
+ tool: async (client, args66, ctx) => {
54099
+ const [result2, apiCall] = await inboxGetInboxMessage(client, args66.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
53366
54100
  if (!result2.ok) {
53367
54101
  return {
53368
54102
  content: [{ type: "text", text: result2.error.message }],
@@ -53377,9 +54111,9 @@ Retrieves detailed information about a specific inbox message including attachme
53377
54111
 
53378
54112
  // src/funcs/inboxListInboxMessages.ts
53379
54113
  function inboxListInboxMessages(client, request, options) {
53380
- return new APIPromise($do77(client, request, options));
54114
+ return new APIPromise($do81(client, request, options));
53381
54115
  }
53382
- async function $do77(client, request, options) {
54116
+ async function $do81(client, request, options) {
53383
54117
  const parsed = safeParse(request, (value) => ListInboxMessagesRequest$outboundSchema.parse(value), "Input validation failed");
53384
54118
  if (!parsed.ok) {
53385
54119
  return [parsed, { status: "invalid" }];
@@ -53465,12 +54199,12 @@ var init_inboxListInboxMessages = __esm(() => {
53465
54199
  });
53466
54200
 
53467
54201
  // src/mcp-server/tools/inboxListInboxMessages.ts
53468
- var args62, tool$inboxListInboxMessages;
54202
+ var args66, tool$inboxListInboxMessages;
53469
54203
  var init_inboxListInboxMessages2 = __esm(() => {
53470
54204
  init_inboxListInboxMessages();
53471
54205
  init_operations();
53472
54206
  init_tools();
53473
- args62 = {
54207
+ args66 = {
53474
54208
  request: ListInboxMessagesRequest$inboundSchema
53475
54209
  };
53476
54210
  tool$inboxListInboxMessages = {
@@ -53478,9 +54212,9 @@ var init_inboxListInboxMessages2 = __esm(() => {
53478
54212
  description: `List inbox messages
53479
54213
 
53480
54214
  Retrieves a paginated list of inbox messages with optional filtering`,
53481
- args: args62,
53482
- tool: async (client, args63, ctx) => {
53483
- const [result2, apiCall] = await inboxListInboxMessages(client, args63.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
54215
+ args: args66,
54216
+ tool: async (client, args67, ctx) => {
54217
+ const [result2, apiCall] = await inboxListInboxMessages(client, args67.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
53484
54218
  if (!result2.ok) {
53485
54219
  return {
53486
54220
  content: [{ type: "text", text: result2.error.message }],
@@ -53495,9 +54229,9 @@ Retrieves a paginated list of inbox messages with optional filtering`,
53495
54229
 
53496
54230
  // src/funcs/inboxMarkInboxMessageAsRead.ts
53497
54231
  function inboxMarkInboxMessageAsRead(client, request, options) {
53498
- return new APIPromise($do78(client, request, options));
54232
+ return new APIPromise($do82(client, request, options));
53499
54233
  }
53500
- async function $do78(client, request, options) {
54234
+ async function $do82(client, request, options) {
53501
54235
  const parsed = safeParse(request, (value) => MarkInboxMessageAsReadRequest$outboundSchema.parse(value), "Input validation failed");
53502
54236
  if (!parsed.ok) {
53503
54237
  return [parsed, { status: "invalid" }];
@@ -53582,12 +54316,12 @@ var init_inboxMarkInboxMessageAsRead = __esm(() => {
53582
54316
  });
53583
54317
 
53584
54318
  // src/mcp-server/tools/inboxMarkInboxMessageAsRead.ts
53585
- var args63, tool$inboxMarkInboxMessageAsRead;
54319
+ var args67, tool$inboxMarkInboxMessageAsRead;
53586
54320
  var init_inboxMarkInboxMessageAsRead2 = __esm(() => {
53587
54321
  init_inboxMarkInboxMessageAsRead();
53588
54322
  init_operations();
53589
54323
  init_tools();
53590
- args63 = {
54324
+ args67 = {
53591
54325
  request: MarkInboxMessageAsReadRequest$inboundSchema
53592
54326
  };
53593
54327
  tool$inboxMarkInboxMessageAsRead = {
@@ -53595,9 +54329,9 @@ var init_inboxMarkInboxMessageAsRead2 = __esm(() => {
53595
54329
  description: `Mark message as read
53596
54330
 
53597
54331
  Marks an inbox message as read`,
53598
- args: args63,
53599
- tool: async (client, args64, ctx) => {
53600
- const [result2, apiCall] = await inboxMarkInboxMessageAsRead(client, args64.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
54332
+ args: args67,
54333
+ tool: async (client, args68, ctx) => {
54334
+ const [result2, apiCall] = await inboxMarkInboxMessageAsRead(client, args68.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
53601
54335
  if (!result2.ok) {
53602
54336
  return {
53603
54337
  content: [{ type: "text", text: result2.error.message }],
@@ -53612,9 +54346,9 @@ Marks an inbox message as read`,
53612
54346
 
53613
54347
  // src/funcs/inboxSnoozeInboxMessage.ts
53614
54348
  function inboxSnoozeInboxMessage(client, request, options) {
53615
- return new APIPromise($do79(client, request, options));
54349
+ return new APIPromise($do83(client, request, options));
53616
54350
  }
53617
- async function $do79(client, request, options) {
54351
+ async function $do83(client, request, options) {
53618
54352
  const parsed = safeParse(request, (value) => SnoozeInboxMessageRequest$outboundSchema.parse(value), "Input validation failed");
53619
54353
  if (!parsed.ok) {
53620
54354
  return [parsed, { status: "invalid" }];
@@ -53700,12 +54434,12 @@ var init_inboxSnoozeInboxMessage = __esm(() => {
53700
54434
  });
53701
54435
 
53702
54436
  // src/mcp-server/tools/inboxSnoozeInboxMessage.ts
53703
- var args64, tool$inboxSnoozeInboxMessage;
54437
+ var args68, tool$inboxSnoozeInboxMessage;
53704
54438
  var init_inboxSnoozeInboxMessage2 = __esm(() => {
53705
54439
  init_inboxSnoozeInboxMessage();
53706
54440
  init_operations();
53707
54441
  init_tools();
53708
- args64 = {
54442
+ args68 = {
53709
54443
  request: SnoozeInboxMessageRequest$inboundSchema
53710
54444
  };
53711
54445
  tool$inboxSnoozeInboxMessage = {
@@ -53713,9 +54447,9 @@ var init_inboxSnoozeInboxMessage2 = __esm(() => {
53713
54447
  description: `Snooze or unsnooze message
53714
54448
 
53715
54449
  Snoozes a message until a specified date/time or unsnoozes it`,
53716
- args: args64,
53717
- tool: async (client, args65, ctx) => {
53718
- const [result2, apiCall] = await inboxSnoozeInboxMessage(client, args65.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
54450
+ args: args68,
54451
+ tool: async (client, args69, ctx) => {
54452
+ const [result2, apiCall] = await inboxSnoozeInboxMessage(client, args69.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
53719
54453
  if (!result2.ok) {
53720
54454
  return {
53721
54455
  content: [{ type: "text", text: result2.error.message }],
@@ -53730,9 +54464,9 @@ Snoozes a message until a specified date/time or unsnoozes it`,
53730
54464
 
53731
54465
  // src/funcs/jobActivitiesCreateJobActivities.ts
53732
54466
  function jobActivitiesCreateJobActivities(client, request, options) {
53733
- return new APIPromise($do80(client, request, options));
54467
+ return new APIPromise($do84(client, request, options));
53734
54468
  }
53735
- async function $do80(client, request, options) {
54469
+ async function $do84(client, request, options) {
53736
54470
  const parsed = safeParse(request, (value) => JobActivityInput$outboundSchema.parse(value), "Input validation failed");
53737
54471
  if (!parsed.ok) {
53738
54472
  return [parsed, { status: "invalid" }];
@@ -53815,12 +54549,12 @@ var init_jobActivitiesCreateJobActivities = __esm(() => {
53815
54549
  });
53816
54550
 
53817
54551
  // src/mcp-server/tools/jobActivitiesCreateJobActivities.ts
53818
- var args65, tool$jobActivitiesCreateJobActivities;
54552
+ var args69, tool$jobActivitiesCreateJobActivities;
53819
54553
  var init_jobActivitiesCreateJobActivities2 = __esm(() => {
53820
54554
  init_jobActivitiesCreateJobActivities();
53821
54555
  init_components();
53822
54556
  init_tools();
53823
- args65 = {
54557
+ args69 = {
53824
54558
  request: JobActivityInput$inboundSchema
53825
54559
  };
53826
54560
  tool$jobActivitiesCreateJobActivities = {
@@ -53838,9 +54572,9 @@ This endpoint requires the following OAuth scope **manage_schedule**.
53838
54572
  UUID is optional for record creation. If no UUID is supplied, a UUID will be automatically generated for the new record and returned in the \`x-record-uuid\` response header.
53839
54573
 
53840
54574
  `,
53841
- args: args65,
53842
- tool: async (client, args66, ctx) => {
53843
- const [result2, apiCall] = await jobActivitiesCreateJobActivities(client, args66.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
54575
+ args: args69,
54576
+ tool: async (client, args70, ctx) => {
54577
+ const [result2, apiCall] = await jobActivitiesCreateJobActivities(client, args70.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
53844
54578
  if (!result2.ok) {
53845
54579
  return {
53846
54580
  content: [{ type: "text", text: result2.error.message }],
@@ -53855,9 +54589,9 @@ UUID is optional for record creation. If no UUID is supplied, a UUID will be aut
53855
54589
 
53856
54590
  // src/funcs/jobActivitiesDeleteJobActivities.ts
53857
54591
  function jobActivitiesDeleteJobActivities(client, request, options) {
53858
- return new APIPromise($do81(client, request, options));
54592
+ return new APIPromise($do85(client, request, options));
53859
54593
  }
53860
- async function $do81(client, request, options) {
54594
+ async function $do85(client, request, options) {
53861
54595
  const parsed = safeParse(request, (value) => DeleteJobActivitiesRequest$outboundSchema.parse(value), "Input validation failed");
53862
54596
  if (!parsed.ok) {
53863
54597
  return [parsed, { status: "invalid" }];
@@ -53942,12 +54676,12 @@ var init_jobActivitiesDeleteJobActivities = __esm(() => {
53942
54676
  });
53943
54677
 
53944
54678
  // src/mcp-server/tools/jobActivitiesDeleteJobActivities.ts
53945
- var args66, tool$jobActivitiesDeleteJobActivities;
54679
+ var args70, tool$jobActivitiesDeleteJobActivities;
53946
54680
  var init_jobActivitiesDeleteJobActivities2 = __esm(() => {
53947
54681
  init_jobActivitiesDeleteJobActivities();
53948
54682
  init_operations();
53949
54683
  init_tools();
53950
- args66 = {
54684
+ args70 = {
53951
54685
  request: DeleteJobActivitiesRequest$inboundSchema
53952
54686
  };
53953
54687
  tool$jobActivitiesDeleteJobActivities = {
@@ -53964,9 +54698,9 @@ In ServiceM8, deleting a record sets its \`active\` field to \`0\`. Inactive rec
53964
54698
  This endpoint requires the following OAuth scope **manage_schedule**.
53965
54699
 
53966
54700
  `,
53967
- args: args66,
53968
- tool: async (client, args67, ctx) => {
53969
- const [result2, apiCall] = await jobActivitiesDeleteJobActivities(client, args67.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
54701
+ args: args70,
54702
+ tool: async (client, args71, ctx) => {
54703
+ const [result2, apiCall] = await jobActivitiesDeleteJobActivities(client, args71.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
53970
54704
  if (!result2.ok) {
53971
54705
  return {
53972
54706
  content: [{ type: "text", text: result2.error.message }],
@@ -53981,9 +54715,9 @@ This endpoint requires the following OAuth scope **manage_schedule**.
53981
54715
 
53982
54716
  // src/funcs/jobActivitiesGetJobActivities.ts
53983
54717
  function jobActivitiesGetJobActivities(client, request, options) {
53984
- return new APIPromise($do82(client, request, options));
54718
+ return new APIPromise($do86(client, request, options));
53985
54719
  }
53986
- async function $do82(client, request, options) {
54720
+ async function $do86(client, request, options) {
53987
54721
  const parsed = safeParse(request, (value) => GetJobActivitiesRequest$outboundSchema.parse(value), "Input validation failed");
53988
54722
  if (!parsed.ok) {
53989
54723
  return [parsed, { status: "invalid" }];
@@ -54068,12 +54802,12 @@ var init_jobActivitiesGetJobActivities = __esm(() => {
54068
54802
  });
54069
54803
 
54070
54804
  // src/mcp-server/tools/jobActivitiesGetJobActivities.ts
54071
- var args67, tool$jobActivitiesGetJobActivities;
54805
+ var args71, tool$jobActivitiesGetJobActivities;
54072
54806
  var init_jobActivitiesGetJobActivities2 = __esm(() => {
54073
54807
  init_jobActivitiesGetJobActivities();
54074
54808
  init_operations();
54075
54809
  init_tools();
54076
- args67 = {
54810
+ args71 = {
54077
54811
  request: GetJobActivitiesRequest$inboundSchema
54078
54812
  };
54079
54813
  tool$jobActivitiesGetJobActivities = {
@@ -54086,9 +54820,9 @@ var init_jobActivitiesGetJobActivities2 = __esm(() => {
54086
54820
  This endpoint requires the following OAuth scope **read_schedule**.
54087
54821
 
54088
54822
  `,
54089
- args: args67,
54090
- tool: async (client, args68, ctx) => {
54091
- const [result2, apiCall] = await jobActivitiesGetJobActivities(client, args68.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
54823
+ args: args71,
54824
+ tool: async (client, args72, ctx) => {
54825
+ const [result2, apiCall] = await jobActivitiesGetJobActivities(client, args72.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
54092
54826
  if (!result2.ok) {
54093
54827
  return {
54094
54828
  content: [{ type: "text", text: result2.error.message }],
@@ -54103,9 +54837,9 @@ This endpoint requires the following OAuth scope **read_schedule**.
54103
54837
 
54104
54838
  // src/funcs/jobActivitiesListJobActivities.ts
54105
54839
  function jobActivitiesListJobActivities(client, options) {
54106
- return new APIPromise($do83(client, options));
54840
+ return new APIPromise($do87(client, options));
54107
54841
  }
54108
- async function $do83(client, options) {
54842
+ async function $do87(client, options) {
54109
54843
  const path = pathToFunc("/jobactivity.json")();
54110
54844
  const headers = new Headers(compactMap({
54111
54845
  Accept: "application/json"
@@ -54209,9 +54943,9 @@ This endpoint requires the following OAuth scope **read_schedule**.
54209
54943
 
54210
54944
  // src/funcs/jobActivitiesUpdateJobActivities.ts
54211
54945
  function jobActivitiesUpdateJobActivities(client, request, options) {
54212
- return new APIPromise($do84(client, request, options));
54946
+ return new APIPromise($do88(client, request, options));
54213
54947
  }
54214
- async function $do84(client, request, options) {
54948
+ async function $do88(client, request, options) {
54215
54949
  const parsed = safeParse(request, (value) => UpdateJobActivitiesRequest$outboundSchema.parse(value), "Input validation failed");
54216
54950
  if (!parsed.ok) {
54217
54951
  return [parsed, { status: "invalid" }];
@@ -54297,12 +55031,12 @@ var init_jobActivitiesUpdateJobActivities = __esm(() => {
54297
55031
  });
54298
55032
 
54299
55033
  // src/mcp-server/tools/jobActivitiesUpdateJobActivities.ts
54300
- var args68, tool$jobActivitiesUpdateJobActivities;
55034
+ var args72, tool$jobActivitiesUpdateJobActivities;
54301
55035
  var init_jobActivitiesUpdateJobActivities2 = __esm(() => {
54302
55036
  init_jobActivitiesUpdateJobActivities();
54303
55037
  init_operations();
54304
55038
  init_tools();
54305
- args68 = {
55039
+ args72 = {
54306
55040
  request: UpdateJobActivitiesRequest$inboundSchema
54307
55041
  };
54308
55042
  tool$jobActivitiesUpdateJobActivities = {
@@ -54315,9 +55049,9 @@ var init_jobActivitiesUpdateJobActivities2 = __esm(() => {
54315
55049
  This endpoint requires the following OAuth scope **manage_schedule**.
54316
55050
 
54317
55051
  `,
54318
- args: args68,
54319
- tool: async (client, args69, ctx) => {
54320
- const [result2, apiCall] = await jobActivitiesUpdateJobActivities(client, args69.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
55052
+ args: args72,
55053
+ tool: async (client, args73, ctx) => {
55054
+ const [result2, apiCall] = await jobActivitiesUpdateJobActivities(client, args73.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
54321
55055
  if (!result2.ok) {
54322
55056
  return {
54323
55057
  content: [{ type: "text", text: result2.error.message }],
@@ -54332,9 +55066,9 @@ This endpoint requires the following OAuth scope **manage_schedule**.
54332
55066
 
54333
55067
  // src/funcs/jobAllocationsCreateJobAllocations.ts
54334
55068
  function jobAllocationsCreateJobAllocations(client, request, options) {
54335
- return new APIPromise($do85(client, request, options));
55069
+ return new APIPromise($do89(client, request, options));
54336
55070
  }
54337
- async function $do85(client, request, options) {
55071
+ async function $do89(client, request, options) {
54338
55072
  const parsed = safeParse(request, (value) => JobAllocationInput$outboundSchema.parse(value), "Input validation failed");
54339
55073
  if (!parsed.ok) {
54340
55074
  return [parsed, { status: "invalid" }];
@@ -54417,12 +55151,12 @@ var init_jobAllocationsCreateJobAllocations = __esm(() => {
54417
55151
  });
54418
55152
 
54419
55153
  // src/mcp-server/tools/jobAllocationsCreateJobAllocations.ts
54420
- var args69, tool$jobAllocationsCreateJobAllocations;
55154
+ var args73, tool$jobAllocationsCreateJobAllocations;
54421
55155
  var init_jobAllocationsCreateJobAllocations2 = __esm(() => {
54422
55156
  init_jobAllocationsCreateJobAllocations();
54423
55157
  init_components();
54424
55158
  init_tools();
54425
- args69 = {
55159
+ args73 = {
54426
55160
  request: JobAllocationInput$inboundSchema
54427
55161
  };
54428
55162
  tool$jobAllocationsCreateJobAllocations = {
@@ -54440,9 +55174,9 @@ This endpoint requires the following OAuth scope **manage_schedule**.
54440
55174
  UUID is optional for record creation. If no UUID is supplied, a UUID will be automatically generated for the new record and returned in the \`x-record-uuid\` response header.
54441
55175
 
54442
55176
  `,
54443
- args: args69,
54444
- tool: async (client, args70, ctx) => {
54445
- const [result2, apiCall] = await jobAllocationsCreateJobAllocations(client, args70.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
55177
+ args: args73,
55178
+ tool: async (client, args74, ctx) => {
55179
+ const [result2, apiCall] = await jobAllocationsCreateJobAllocations(client, args74.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
54446
55180
  if (!result2.ok) {
54447
55181
  return {
54448
55182
  content: [{ type: "text", text: result2.error.message }],
@@ -54457,9 +55191,9 @@ UUID is optional for record creation. If no UUID is supplied, a UUID will be aut
54457
55191
 
54458
55192
  // src/funcs/jobAllocationsDeleteJobAllocations.ts
54459
55193
  function jobAllocationsDeleteJobAllocations(client, request, options) {
54460
- return new APIPromise($do86(client, request, options));
55194
+ return new APIPromise($do90(client, request, options));
54461
55195
  }
54462
- async function $do86(client, request, options) {
55196
+ async function $do90(client, request, options) {
54463
55197
  const parsed = safeParse(request, (value) => DeleteJobAllocationsRequest$outboundSchema.parse(value), "Input validation failed");
54464
55198
  if (!parsed.ok) {
54465
55199
  return [parsed, { status: "invalid" }];
@@ -54544,12 +55278,12 @@ var init_jobAllocationsDeleteJobAllocations = __esm(() => {
54544
55278
  });
54545
55279
 
54546
55280
  // src/mcp-server/tools/jobAllocationsDeleteJobAllocations.ts
54547
- var args70, tool$jobAllocationsDeleteJobAllocations;
55281
+ var args74, tool$jobAllocationsDeleteJobAllocations;
54548
55282
  var init_jobAllocationsDeleteJobAllocations2 = __esm(() => {
54549
55283
  init_jobAllocationsDeleteJobAllocations();
54550
55284
  init_operations();
54551
55285
  init_tools();
54552
- args70 = {
55286
+ args74 = {
54553
55287
  request: DeleteJobAllocationsRequest$inboundSchema
54554
55288
  };
54555
55289
  tool$jobAllocationsDeleteJobAllocations = {
@@ -54566,9 +55300,9 @@ In ServiceM8, deleting a record sets its \`active\` field to \`0\`. Inactive rec
54566
55300
  This endpoint requires the following OAuth scope **manage_schedule**.
54567
55301
 
54568
55302
  `,
54569
- args: args70,
54570
- tool: async (client, args71, ctx) => {
54571
- const [result2, apiCall] = await jobAllocationsDeleteJobAllocations(client, args71.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
55303
+ args: args74,
55304
+ tool: async (client, args75, ctx) => {
55305
+ const [result2, apiCall] = await jobAllocationsDeleteJobAllocations(client, args75.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
54572
55306
  if (!result2.ok) {
54573
55307
  return {
54574
55308
  content: [{ type: "text", text: result2.error.message }],
@@ -54583,9 +55317,9 @@ This endpoint requires the following OAuth scope **manage_schedule**.
54583
55317
 
54584
55318
  // src/funcs/jobAllocationsGetJobAllocations.ts
54585
55319
  function jobAllocationsGetJobAllocations(client, request, options) {
54586
- return new APIPromise($do87(client, request, options));
55320
+ return new APIPromise($do91(client, request, options));
54587
55321
  }
54588
- async function $do87(client, request, options) {
55322
+ async function $do91(client, request, options) {
54589
55323
  const parsed = safeParse(request, (value) => GetJobAllocationsRequest$outboundSchema.parse(value), "Input validation failed");
54590
55324
  if (!parsed.ok) {
54591
55325
  return [parsed, { status: "invalid" }];
@@ -54670,12 +55404,12 @@ var init_jobAllocationsGetJobAllocations = __esm(() => {
54670
55404
  });
54671
55405
 
54672
55406
  // src/mcp-server/tools/jobAllocationsGetJobAllocations.ts
54673
- var args71, tool$jobAllocationsGetJobAllocations;
55407
+ var args75, tool$jobAllocationsGetJobAllocations;
54674
55408
  var init_jobAllocationsGetJobAllocations2 = __esm(() => {
54675
55409
  init_jobAllocationsGetJobAllocations();
54676
55410
  init_operations();
54677
55411
  init_tools();
54678
- args71 = {
55412
+ args75 = {
54679
55413
  request: GetJobAllocationsRequest$inboundSchema
54680
55414
  };
54681
55415
  tool$jobAllocationsGetJobAllocations = {
@@ -54688,9 +55422,9 @@ var init_jobAllocationsGetJobAllocations2 = __esm(() => {
54688
55422
  This endpoint requires the following OAuth scope **read_schedule**.
54689
55423
 
54690
55424
  `,
54691
- args: args71,
54692
- tool: async (client, args72, ctx) => {
54693
- const [result2, apiCall] = await jobAllocationsGetJobAllocations(client, args72.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
55425
+ args: args75,
55426
+ tool: async (client, args76, ctx) => {
55427
+ const [result2, apiCall] = await jobAllocationsGetJobAllocations(client, args76.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
54694
55428
  if (!result2.ok) {
54695
55429
  return {
54696
55430
  content: [{ type: "text", text: result2.error.message }],
@@ -54705,9 +55439,9 @@ This endpoint requires the following OAuth scope **read_schedule**.
54705
55439
 
54706
55440
  // src/funcs/jobAllocationsListJobAllocations.ts
54707
55441
  function jobAllocationsListJobAllocations(client, options) {
54708
- return new APIPromise($do88(client, options));
55442
+ return new APIPromise($do92(client, options));
54709
55443
  }
54710
- async function $do88(client, options) {
55444
+ async function $do92(client, options) {
54711
55445
  const path = pathToFunc("/joballocation.json")();
54712
55446
  const headers = new Headers(compactMap({
54713
55447
  Accept: "application/json"
@@ -54811,9 +55545,9 @@ This endpoint requires the following OAuth scope **read_schedule**.
54811
55545
 
54812
55546
  // src/funcs/jobAllocationsUpdateJobAllocations.ts
54813
55547
  function jobAllocationsUpdateJobAllocations(client, request, options) {
54814
- return new APIPromise($do89(client, request, options));
55548
+ return new APIPromise($do93(client, request, options));
54815
55549
  }
54816
- async function $do89(client, request, options) {
55550
+ async function $do93(client, request, options) {
54817
55551
  const parsed = safeParse(request, (value) => UpdateJobAllocationsRequest$outboundSchema.parse(value), "Input validation failed");
54818
55552
  if (!parsed.ok) {
54819
55553
  return [parsed, { status: "invalid" }];
@@ -54899,12 +55633,12 @@ var init_jobAllocationsUpdateJobAllocations = __esm(() => {
54899
55633
  });
54900
55634
 
54901
55635
  // src/mcp-server/tools/jobAllocationsUpdateJobAllocations.ts
54902
- var args72, tool$jobAllocationsUpdateJobAllocations;
55636
+ var args76, tool$jobAllocationsUpdateJobAllocations;
54903
55637
  var init_jobAllocationsUpdateJobAllocations2 = __esm(() => {
54904
55638
  init_jobAllocationsUpdateJobAllocations();
54905
55639
  init_operations();
54906
55640
  init_tools();
54907
- args72 = {
55641
+ args76 = {
54908
55642
  request: UpdateJobAllocationsRequest$inboundSchema
54909
55643
  };
54910
55644
  tool$jobAllocationsUpdateJobAllocations = {
@@ -54917,9 +55651,9 @@ var init_jobAllocationsUpdateJobAllocations2 = __esm(() => {
54917
55651
  This endpoint requires the following OAuth scope **manage_schedule**.
54918
55652
 
54919
55653
  `,
54920
- args: args72,
54921
- tool: async (client, args73, ctx) => {
54922
- const [result2, apiCall] = await jobAllocationsUpdateJobAllocations(client, args73.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
55654
+ args: args76,
55655
+ tool: async (client, args77, ctx) => {
55656
+ const [result2, apiCall] = await jobAllocationsUpdateJobAllocations(client, args77.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
54923
55657
  if (!result2.ok) {
54924
55658
  return {
54925
55659
  content: [{ type: "text", text: result2.error.message }],
@@ -54934,9 +55668,9 @@ This endpoint requires the following OAuth scope **manage_schedule**.
54934
55668
 
54935
55669
  // src/funcs/jobChecklistsCreateJobChecklists.ts
54936
55670
  function jobChecklistsCreateJobChecklists(client, request, options) {
54937
- return new APIPromise($do90(client, request, options));
55671
+ return new APIPromise($do94(client, request, options));
54938
55672
  }
54939
- async function $do90(client, request, options) {
55673
+ async function $do94(client, request, options) {
54940
55674
  const parsed = safeParse(request, (value) => JobChecklistInput$outboundSchema.parse(value), "Input validation failed");
54941
55675
  if (!parsed.ok) {
54942
55676
  return [parsed, { status: "invalid" }];
@@ -55019,12 +55753,12 @@ var init_jobChecklistsCreateJobChecklists = __esm(() => {
55019
55753
  });
55020
55754
 
55021
55755
  // src/mcp-server/tools/jobChecklistsCreateJobChecklists.ts
55022
- var args73, tool$jobChecklistsCreateJobChecklists;
55756
+ var args77, tool$jobChecklistsCreateJobChecklists;
55023
55757
  var init_jobChecklistsCreateJobChecklists2 = __esm(() => {
55024
55758
  init_jobChecklistsCreateJobChecklists();
55025
55759
  init_components();
55026
55760
  init_tools();
55027
- args73 = {
55761
+ args77 = {
55028
55762
  request: JobChecklistInput$inboundSchema
55029
55763
  };
55030
55764
  tool$jobChecklistsCreateJobChecklists = {
@@ -55042,9 +55776,9 @@ This endpoint requires the following OAuth scope **manage_job_checklists**.
55042
55776
  UUID is optional for record creation. If no UUID is supplied, a UUID will be automatically generated for the new record and returned in the \`x-record-uuid\` response header.
55043
55777
 
55044
55778
  `,
55045
- args: args73,
55046
- tool: async (client, args74, ctx) => {
55047
- const [result2, apiCall] = await jobChecklistsCreateJobChecklists(client, args74.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
55779
+ args: args77,
55780
+ tool: async (client, args78, ctx) => {
55781
+ const [result2, apiCall] = await jobChecklistsCreateJobChecklists(client, args78.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
55048
55782
  if (!result2.ok) {
55049
55783
  return {
55050
55784
  content: [{ type: "text", text: result2.error.message }],
@@ -55059,9 +55793,9 @@ UUID is optional for record creation. If no UUID is supplied, a UUID will be aut
55059
55793
 
55060
55794
  // src/funcs/jobChecklistsDeleteJobChecklists.ts
55061
55795
  function jobChecklistsDeleteJobChecklists(client, request, options) {
55062
- return new APIPromise($do91(client, request, options));
55796
+ return new APIPromise($do95(client, request, options));
55063
55797
  }
55064
- async function $do91(client, request, options) {
55798
+ async function $do95(client, request, options) {
55065
55799
  const parsed = safeParse(request, (value) => DeleteJobChecklistsRequest$outboundSchema.parse(value), "Input validation failed");
55066
55800
  if (!parsed.ok) {
55067
55801
  return [parsed, { status: "invalid" }];
@@ -55146,12 +55880,12 @@ var init_jobChecklistsDeleteJobChecklists = __esm(() => {
55146
55880
  });
55147
55881
 
55148
55882
  // src/mcp-server/tools/jobChecklistsDeleteJobChecklists.ts
55149
- var args74, tool$jobChecklistsDeleteJobChecklists;
55883
+ var args78, tool$jobChecklistsDeleteJobChecklists;
55150
55884
  var init_jobChecklistsDeleteJobChecklists2 = __esm(() => {
55151
55885
  init_jobChecklistsDeleteJobChecklists();
55152
55886
  init_operations();
55153
55887
  init_tools();
55154
- args74 = {
55888
+ args78 = {
55155
55889
  request: DeleteJobChecklistsRequest$inboundSchema
55156
55890
  };
55157
55891
  tool$jobChecklistsDeleteJobChecklists = {
@@ -55168,9 +55902,9 @@ In ServiceM8, deleting a record sets its \`active\` field to \`0\`. Inactive rec
55168
55902
  This endpoint requires the following OAuth scope **manage_job_checklists**.
55169
55903
 
55170
55904
  `,
55171
- args: args74,
55172
- tool: async (client, args75, ctx) => {
55173
- const [result2, apiCall] = await jobChecklistsDeleteJobChecklists(client, args75.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
55905
+ args: args78,
55906
+ tool: async (client, args79, ctx) => {
55907
+ const [result2, apiCall] = await jobChecklistsDeleteJobChecklists(client, args79.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
55174
55908
  if (!result2.ok) {
55175
55909
  return {
55176
55910
  content: [{ type: "text", text: result2.error.message }],
@@ -55185,9 +55919,9 @@ This endpoint requires the following OAuth scope **manage_job_checklists**.
55185
55919
 
55186
55920
  // src/funcs/jobChecklistsGetJobChecklists.ts
55187
55921
  function jobChecklistsGetJobChecklists(client, request, options) {
55188
- return new APIPromise($do92(client, request, options));
55922
+ return new APIPromise($do96(client, request, options));
55189
55923
  }
55190
- async function $do92(client, request, options) {
55924
+ async function $do96(client, request, options) {
55191
55925
  const parsed = safeParse(request, (value) => GetJobChecklistsRequest$outboundSchema.parse(value), "Input validation failed");
55192
55926
  if (!parsed.ok) {
55193
55927
  return [parsed, { status: "invalid" }];
@@ -55272,12 +56006,12 @@ var init_jobChecklistsGetJobChecklists = __esm(() => {
55272
56006
  });
55273
56007
 
55274
56008
  // src/mcp-server/tools/jobChecklistsGetJobChecklists.ts
55275
- var args75, tool$jobChecklistsGetJobChecklists;
56009
+ var args79, tool$jobChecklistsGetJobChecklists;
55276
56010
  var init_jobChecklistsGetJobChecklists2 = __esm(() => {
55277
56011
  init_jobChecklistsGetJobChecklists();
55278
56012
  init_operations();
55279
56013
  init_tools();
55280
- args75 = {
56014
+ args79 = {
55281
56015
  request: GetJobChecklistsRequest$inboundSchema
55282
56016
  };
55283
56017
  tool$jobChecklistsGetJobChecklists = {
@@ -55290,9 +56024,9 @@ var init_jobChecklistsGetJobChecklists2 = __esm(() => {
55290
56024
  This endpoint requires the following OAuth scope **read_job_checklists**.
55291
56025
 
55292
56026
  `,
55293
- args: args75,
55294
- tool: async (client, args76, ctx) => {
55295
- const [result2, apiCall] = await jobChecklistsGetJobChecklists(client, args76.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
56027
+ args: args79,
56028
+ tool: async (client, args80, ctx) => {
56029
+ const [result2, apiCall] = await jobChecklistsGetJobChecklists(client, args80.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
55296
56030
  if (!result2.ok) {
55297
56031
  return {
55298
56032
  content: [{ type: "text", text: result2.error.message }],
@@ -55307,9 +56041,9 @@ This endpoint requires the following OAuth scope **read_job_checklists**.
55307
56041
 
55308
56042
  // src/funcs/jobChecklistsListJobChecklists.ts
55309
56043
  function jobChecklistsListJobChecklists(client, options) {
55310
- return new APIPromise($do93(client, options));
56044
+ return new APIPromise($do97(client, options));
55311
56045
  }
55312
- async function $do93(client, options) {
56046
+ async function $do97(client, options) {
55313
56047
  const path = pathToFunc("/jobchecklist.json")();
55314
56048
  const headers = new Headers(compactMap({
55315
56049
  Accept: "application/json"
@@ -55413,9 +56147,9 @@ This endpoint requires the following OAuth scope **read_job_checklists**.
55413
56147
 
55414
56148
  // src/funcs/jobChecklistsUpdateJobChecklists.ts
55415
56149
  function jobChecklistsUpdateJobChecklists(client, request, options) {
55416
- return new APIPromise($do94(client, request, options));
56150
+ return new APIPromise($do98(client, request, options));
55417
56151
  }
55418
- async function $do94(client, request, options) {
56152
+ async function $do98(client, request, options) {
55419
56153
  const parsed = safeParse(request, (value) => UpdateJobChecklistsRequest$outboundSchema.parse(value), "Input validation failed");
55420
56154
  if (!parsed.ok) {
55421
56155
  return [parsed, { status: "invalid" }];
@@ -55501,12 +56235,12 @@ var init_jobChecklistsUpdateJobChecklists = __esm(() => {
55501
56235
  });
55502
56236
 
55503
56237
  // src/mcp-server/tools/jobChecklistsUpdateJobChecklists.ts
55504
- var args76, tool$jobChecklistsUpdateJobChecklists;
56238
+ var args80, tool$jobChecklistsUpdateJobChecklists;
55505
56239
  var init_jobChecklistsUpdateJobChecklists2 = __esm(() => {
55506
56240
  init_jobChecklistsUpdateJobChecklists();
55507
56241
  init_operations();
55508
56242
  init_tools();
55509
- args76 = {
56243
+ args80 = {
55510
56244
  request: UpdateJobChecklistsRequest$inboundSchema
55511
56245
  };
55512
56246
  tool$jobChecklistsUpdateJobChecklists = {
@@ -55519,9 +56253,9 @@ var init_jobChecklistsUpdateJobChecklists2 = __esm(() => {
55519
56253
  This endpoint requires the following OAuth scope **manage_job_checklists**.
55520
56254
 
55521
56255
  `,
55522
- args: args76,
55523
- tool: async (client, args77, ctx) => {
55524
- const [result2, apiCall] = await jobChecklistsUpdateJobChecklists(client, args77.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
56256
+ args: args80,
56257
+ tool: async (client, args81, ctx) => {
56258
+ const [result2, apiCall] = await jobChecklistsUpdateJobChecklists(client, args81.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
55525
56259
  if (!result2.ok) {
55526
56260
  return {
55527
56261
  content: [{ type: "text", text: result2.error.message }],
@@ -55536,9 +56270,9 @@ This endpoint requires the following OAuth scope **manage_job_checklists**.
55536
56270
 
55537
56271
  // src/funcs/jobContactsCreateJobContacts.ts
55538
56272
  function jobContactsCreateJobContacts(client, request, options) {
55539
- return new APIPromise($do95(client, request, options));
56273
+ return new APIPromise($do99(client, request, options));
55540
56274
  }
55541
- async function $do95(client, request, options) {
56275
+ async function $do99(client, request, options) {
55542
56276
  const parsed = safeParse(request, (value) => JobContactInput$outboundSchema.parse(value), "Input validation failed");
55543
56277
  if (!parsed.ok) {
55544
56278
  return [parsed, { status: "invalid" }];
@@ -55621,12 +56355,12 @@ var init_jobContactsCreateJobContacts = __esm(() => {
55621
56355
  });
55622
56356
 
55623
56357
  // src/mcp-server/tools/jobContactsCreateJobContacts.ts
55624
- var args77, tool$jobContactsCreateJobContacts;
56358
+ var args81, tool$jobContactsCreateJobContacts;
55625
56359
  var init_jobContactsCreateJobContacts2 = __esm(() => {
55626
56360
  init_jobContactsCreateJobContacts();
55627
56361
  init_components();
55628
56362
  init_tools();
55629
- args77 = {
56363
+ args81 = {
55630
56364
  request: JobContactInput$inboundSchema
55631
56365
  };
55632
56366
  tool$jobContactsCreateJobContacts = {
@@ -55644,9 +56378,9 @@ This endpoint requires the following OAuth scope **manage_job_contacts**.
55644
56378
  UUID is optional for record creation. If no UUID is supplied, a UUID will be automatically generated for the new record and returned in the \`x-record-uuid\` response header.
55645
56379
 
55646
56380
  `,
55647
- args: args77,
55648
- tool: async (client, args78, ctx) => {
55649
- const [result2, apiCall] = await jobContactsCreateJobContacts(client, args78.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
56381
+ args: args81,
56382
+ tool: async (client, args82, ctx) => {
56383
+ const [result2, apiCall] = await jobContactsCreateJobContacts(client, args82.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
55650
56384
  if (!result2.ok) {
55651
56385
  return {
55652
56386
  content: [{ type: "text", text: result2.error.message }],
@@ -55661,9 +56395,9 @@ UUID is optional for record creation. If no UUID is supplied, a UUID will be aut
55661
56395
 
55662
56396
  // src/funcs/jobContactsDeleteJobContacts.ts
55663
56397
  function jobContactsDeleteJobContacts(client, request, options) {
55664
- return new APIPromise($do96(client, request, options));
56398
+ return new APIPromise($do100(client, request, options));
55665
56399
  }
55666
- async function $do96(client, request, options) {
56400
+ async function $do100(client, request, options) {
55667
56401
  const parsed = safeParse(request, (value) => DeleteJobContactsRequest$outboundSchema.parse(value), "Input validation failed");
55668
56402
  if (!parsed.ok) {
55669
56403
  return [parsed, { status: "invalid" }];
@@ -55748,12 +56482,12 @@ var init_jobContactsDeleteJobContacts = __esm(() => {
55748
56482
  });
55749
56483
 
55750
56484
  // src/mcp-server/tools/jobContactsDeleteJobContacts.ts
55751
- var args78, tool$jobContactsDeleteJobContacts;
56485
+ var args82, tool$jobContactsDeleteJobContacts;
55752
56486
  var init_jobContactsDeleteJobContacts2 = __esm(() => {
55753
56487
  init_jobContactsDeleteJobContacts();
55754
56488
  init_operations();
55755
56489
  init_tools();
55756
- args78 = {
56490
+ args82 = {
55757
56491
  request: DeleteJobContactsRequest$inboundSchema
55758
56492
  };
55759
56493
  tool$jobContactsDeleteJobContacts = {
@@ -55770,9 +56504,9 @@ In ServiceM8, deleting a record sets its \`active\` field to \`0\`. Inactive rec
55770
56504
  This endpoint requires the following OAuth scope **manage_job_contacts**.
55771
56505
 
55772
56506
  `,
55773
- args: args78,
55774
- tool: async (client, args79, ctx) => {
55775
- const [result2, apiCall] = await jobContactsDeleteJobContacts(client, args79.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
56507
+ args: args82,
56508
+ tool: async (client, args83, ctx) => {
56509
+ const [result2, apiCall] = await jobContactsDeleteJobContacts(client, args83.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
55776
56510
  if (!result2.ok) {
55777
56511
  return {
55778
56512
  content: [{ type: "text", text: result2.error.message }],
@@ -55787,9 +56521,9 @@ This endpoint requires the following OAuth scope **manage_job_contacts**.
55787
56521
 
55788
56522
  // src/funcs/jobContactsGetJobContacts.ts
55789
56523
  function jobContactsGetJobContacts(client, request, options) {
55790
- return new APIPromise($do97(client, request, options));
56524
+ return new APIPromise($do101(client, request, options));
55791
56525
  }
55792
- async function $do97(client, request, options) {
56526
+ async function $do101(client, request, options) {
55793
56527
  const parsed = safeParse(request, (value) => GetJobContactsRequest$outboundSchema.parse(value), "Input validation failed");
55794
56528
  if (!parsed.ok) {
55795
56529
  return [parsed, { status: "invalid" }];
@@ -55874,12 +56608,12 @@ var init_jobContactsGetJobContacts = __esm(() => {
55874
56608
  });
55875
56609
 
55876
56610
  // src/mcp-server/tools/jobContactsGetJobContacts.ts
55877
- var args79, tool$jobContactsGetJobContacts;
56611
+ var args83, tool$jobContactsGetJobContacts;
55878
56612
  var init_jobContactsGetJobContacts2 = __esm(() => {
55879
56613
  init_jobContactsGetJobContacts();
55880
56614
  init_operations();
55881
56615
  init_tools();
55882
- args79 = {
56616
+ args83 = {
55883
56617
  request: GetJobContactsRequest$inboundSchema
55884
56618
  };
55885
56619
  tool$jobContactsGetJobContacts = {
@@ -55892,9 +56626,9 @@ var init_jobContactsGetJobContacts2 = __esm(() => {
55892
56626
  This endpoint requires the following OAuth scope **read_job_contacts**.
55893
56627
 
55894
56628
  `,
55895
- args: args79,
55896
- tool: async (client, args80, ctx) => {
55897
- const [result2, apiCall] = await jobContactsGetJobContacts(client, args80.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
56629
+ args: args83,
56630
+ tool: async (client, args84, ctx) => {
56631
+ const [result2, apiCall] = await jobContactsGetJobContacts(client, args84.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
55898
56632
  if (!result2.ok) {
55899
56633
  return {
55900
56634
  content: [{ type: "text", text: result2.error.message }],
@@ -55909,9 +56643,9 @@ This endpoint requires the following OAuth scope **read_job_contacts**.
55909
56643
 
55910
56644
  // src/funcs/jobContactsListJobContacts.ts
55911
56645
  function jobContactsListJobContacts(client, options) {
55912
- return new APIPromise($do98(client, options));
56646
+ return new APIPromise($do102(client, options));
55913
56647
  }
55914
- async function $do98(client, options) {
56648
+ async function $do102(client, options) {
55915
56649
  const path = pathToFunc("/jobcontact.json")();
55916
56650
  const headers = new Headers(compactMap({
55917
56651
  Accept: "application/json"
@@ -56015,9 +56749,9 @@ This endpoint requires the following OAuth scope **read_job_contacts**.
56015
56749
 
56016
56750
  // src/funcs/jobContactsUpdateJobContacts.ts
56017
56751
  function jobContactsUpdateJobContacts(client, request, options) {
56018
- return new APIPromise($do99(client, request, options));
56752
+ return new APIPromise($do103(client, request, options));
56019
56753
  }
56020
- async function $do99(client, request, options) {
56754
+ async function $do103(client, request, options) {
56021
56755
  const parsed = safeParse(request, (value) => UpdateJobContactsRequest$outboundSchema.parse(value), "Input validation failed");
56022
56756
  if (!parsed.ok) {
56023
56757
  return [parsed, { status: "invalid" }];
@@ -56103,12 +56837,12 @@ var init_jobContactsUpdateJobContacts = __esm(() => {
56103
56837
  });
56104
56838
 
56105
56839
  // src/mcp-server/tools/jobContactsUpdateJobContacts.ts
56106
- var args80, tool$jobContactsUpdateJobContacts;
56840
+ var args84, tool$jobContactsUpdateJobContacts;
56107
56841
  var init_jobContactsUpdateJobContacts2 = __esm(() => {
56108
56842
  init_jobContactsUpdateJobContacts();
56109
56843
  init_operations();
56110
56844
  init_tools();
56111
- args80 = {
56845
+ args84 = {
56112
56846
  request: UpdateJobContactsRequest$inboundSchema
56113
56847
  };
56114
56848
  tool$jobContactsUpdateJobContacts = {
@@ -56121,9 +56855,9 @@ var init_jobContactsUpdateJobContacts2 = __esm(() => {
56121
56855
  This endpoint requires the following OAuth scope **manage_job_contacts**.
56122
56856
 
56123
56857
  `,
56124
- args: args80,
56125
- tool: async (client, args81, ctx) => {
56126
- const [result2, apiCall] = await jobContactsUpdateJobContacts(client, args81.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
56858
+ args: args84,
56859
+ tool: async (client, args85, ctx) => {
56860
+ const [result2, apiCall] = await jobContactsUpdateJobContacts(client, args85.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
56127
56861
  if (!result2.ok) {
56128
56862
  return {
56129
56863
  content: [{ type: "text", text: result2.error.message }],
@@ -56138,9 +56872,9 @@ This endpoint requires the following OAuth scope **manage_job_contacts**.
56138
56872
 
56139
56873
  // src/funcs/jobMaterialBundlesCreateJobMaterialBundles.ts
56140
56874
  function jobMaterialBundlesCreateJobMaterialBundles(client, request, options) {
56141
- return new APIPromise($do100(client, request, options));
56875
+ return new APIPromise($do104(client, request, options));
56142
56876
  }
56143
- async function $do100(client, request, options) {
56877
+ async function $do104(client, request, options) {
56144
56878
  const parsed = safeParse(request, (value) => JobMaterialBundleInput$outboundSchema.parse(value), "Input validation failed");
56145
56879
  if (!parsed.ok) {
56146
56880
  return [parsed, { status: "invalid" }];
@@ -56223,12 +56957,12 @@ var init_jobMaterialBundlesCreateJobMaterialBundles = __esm(() => {
56223
56957
  });
56224
56958
 
56225
56959
  // src/mcp-server/tools/jobMaterialBundlesCreateJobMaterialBundles.ts
56226
- var args81, tool$jobMaterialBundlesCreateJobMaterialBundles;
56960
+ var args85, tool$jobMaterialBundlesCreateJobMaterialBundles;
56227
56961
  var init_jobMaterialBundlesCreateJobMaterialBundles2 = __esm(() => {
56228
56962
  init_jobMaterialBundlesCreateJobMaterialBundles();
56229
56963
  init_components();
56230
56964
  init_tools();
56231
- args81 = {
56965
+ args85 = {
56232
56966
  request: JobMaterialBundleInput$inboundSchema
56233
56967
  };
56234
56968
  tool$jobMaterialBundlesCreateJobMaterialBundles = {
@@ -56246,9 +56980,9 @@ This endpoint requires the following OAuth scope **manage_job_materials**.
56246
56980
  UUID is optional for record creation. If no UUID is supplied, a UUID will be automatically generated for the new record and returned in the \`x-record-uuid\` response header.
56247
56981
 
56248
56982
  `,
56249
- args: args81,
56250
- tool: async (client, args82, ctx) => {
56251
- const [result2, apiCall] = await jobMaterialBundlesCreateJobMaterialBundles(client, args82.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
56983
+ args: args85,
56984
+ tool: async (client, args86, ctx) => {
56985
+ const [result2, apiCall] = await jobMaterialBundlesCreateJobMaterialBundles(client, args86.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
56252
56986
  if (!result2.ok) {
56253
56987
  return {
56254
56988
  content: [{ type: "text", text: result2.error.message }],
@@ -56263,9 +56997,9 @@ UUID is optional for record creation. If no UUID is supplied, a UUID will be aut
56263
56997
 
56264
56998
  // src/funcs/jobMaterialBundlesDeleteJobMaterialBundles.ts
56265
56999
  function jobMaterialBundlesDeleteJobMaterialBundles(client, request, options) {
56266
- return new APIPromise($do101(client, request, options));
57000
+ return new APIPromise($do105(client, request, options));
56267
57001
  }
56268
- async function $do101(client, request, options) {
57002
+ async function $do105(client, request, options) {
56269
57003
  const parsed = safeParse(request, (value) => DeleteJobMaterialBundlesRequest$outboundSchema.parse(value), "Input validation failed");
56270
57004
  if (!parsed.ok) {
56271
57005
  return [parsed, { status: "invalid" }];
@@ -56350,12 +57084,12 @@ var init_jobMaterialBundlesDeleteJobMaterialBundles = __esm(() => {
56350
57084
  });
56351
57085
 
56352
57086
  // src/mcp-server/tools/jobMaterialBundlesDeleteJobMaterialBundles.ts
56353
- var args82, tool$jobMaterialBundlesDeleteJobMaterialBundles;
57087
+ var args86, tool$jobMaterialBundlesDeleteJobMaterialBundles;
56354
57088
  var init_jobMaterialBundlesDeleteJobMaterialBundles2 = __esm(() => {
56355
57089
  init_jobMaterialBundlesDeleteJobMaterialBundles();
56356
57090
  init_operations();
56357
57091
  init_tools();
56358
- args82 = {
57092
+ args86 = {
56359
57093
  request: DeleteJobMaterialBundlesRequest$inboundSchema
56360
57094
  };
56361
57095
  tool$jobMaterialBundlesDeleteJobMaterialBundles = {
@@ -56372,9 +57106,9 @@ In ServiceM8, deleting a record sets its \`active\` field to \`0\`. Inactive rec
56372
57106
  This endpoint requires the following OAuth scope **manage_job_materials**.
56373
57107
 
56374
57108
  `,
56375
- args: args82,
56376
- tool: async (client, args83, ctx) => {
56377
- const [result2, apiCall] = await jobMaterialBundlesDeleteJobMaterialBundles(client, args83.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
57109
+ args: args86,
57110
+ tool: async (client, args87, ctx) => {
57111
+ const [result2, apiCall] = await jobMaterialBundlesDeleteJobMaterialBundles(client, args87.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
56378
57112
  if (!result2.ok) {
56379
57113
  return {
56380
57114
  content: [{ type: "text", text: result2.error.message }],
@@ -56389,9 +57123,9 @@ This endpoint requires the following OAuth scope **manage_job_materials**.
56389
57123
 
56390
57124
  // src/funcs/jobMaterialBundlesGetJobMaterialBundles.ts
56391
57125
  function jobMaterialBundlesGetJobMaterialBundles(client, request, options) {
56392
- return new APIPromise($do102(client, request, options));
57126
+ return new APIPromise($do106(client, request, options));
56393
57127
  }
56394
- async function $do102(client, request, options) {
57128
+ async function $do106(client, request, options) {
56395
57129
  const parsed = safeParse(request, (value) => GetJobMaterialBundlesRequest$outboundSchema.parse(value), "Input validation failed");
56396
57130
  if (!parsed.ok) {
56397
57131
  return [parsed, { status: "invalid" }];
@@ -56476,12 +57210,12 @@ var init_jobMaterialBundlesGetJobMaterialBundles = __esm(() => {
56476
57210
  });
56477
57211
 
56478
57212
  // src/mcp-server/tools/jobMaterialBundlesGetJobMaterialBundles.ts
56479
- var args83, tool$jobMaterialBundlesGetJobMaterialBundles;
57213
+ var args87, tool$jobMaterialBundlesGetJobMaterialBundles;
56480
57214
  var init_jobMaterialBundlesGetJobMaterialBundles2 = __esm(() => {
56481
57215
  init_jobMaterialBundlesGetJobMaterialBundles();
56482
57216
  init_operations();
56483
57217
  init_tools();
56484
- args83 = {
57218
+ args87 = {
56485
57219
  request: GetJobMaterialBundlesRequest$inboundSchema
56486
57220
  };
56487
57221
  tool$jobMaterialBundlesGetJobMaterialBundles = {
@@ -56494,9 +57228,9 @@ var init_jobMaterialBundlesGetJobMaterialBundles2 = __esm(() => {
56494
57228
  This endpoint requires the following OAuth scope **read_job_materials**.
56495
57229
 
56496
57230
  `,
56497
- args: args83,
56498
- tool: async (client, args84, ctx) => {
56499
- const [result2, apiCall] = await jobMaterialBundlesGetJobMaterialBundles(client, args84.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
57231
+ args: args87,
57232
+ tool: async (client, args88, ctx) => {
57233
+ const [result2, apiCall] = await jobMaterialBundlesGetJobMaterialBundles(client, args88.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
56500
57234
  if (!result2.ok) {
56501
57235
  return {
56502
57236
  content: [{ type: "text", text: result2.error.message }],
@@ -56511,9 +57245,9 @@ This endpoint requires the following OAuth scope **read_job_materials**.
56511
57245
 
56512
57246
  // src/funcs/jobMaterialBundlesListJobMaterialBundles.ts
56513
57247
  function jobMaterialBundlesListJobMaterialBundles(client, options) {
56514
- return new APIPromise($do103(client, options));
57248
+ return new APIPromise($do107(client, options));
56515
57249
  }
56516
- async function $do103(client, options) {
57250
+ async function $do107(client, options) {
56517
57251
  const path = pathToFunc("/jobmaterialbundle.json")();
56518
57252
  const headers = new Headers(compactMap({
56519
57253
  Accept: "application/json"
@@ -56617,9 +57351,9 @@ This endpoint requires the following OAuth scope **read_job_materials**.
56617
57351
 
56618
57352
  // src/funcs/jobMaterialBundlesUpdateJobMaterialBundles.ts
56619
57353
  function jobMaterialBundlesUpdateJobMaterialBundles(client, request, options) {
56620
- return new APIPromise($do104(client, request, options));
57354
+ return new APIPromise($do108(client, request, options));
56621
57355
  }
56622
- async function $do104(client, request, options) {
57356
+ async function $do108(client, request, options) {
56623
57357
  const parsed = safeParse(request, (value) => UpdateJobMaterialBundlesRequest$outboundSchema.parse(value), "Input validation failed");
56624
57358
  if (!parsed.ok) {
56625
57359
  return [parsed, { status: "invalid" }];
@@ -56705,12 +57439,12 @@ var init_jobMaterialBundlesUpdateJobMaterialBundles = __esm(() => {
56705
57439
  });
56706
57440
 
56707
57441
  // src/mcp-server/tools/jobMaterialBundlesUpdateJobMaterialBundles.ts
56708
- var args84, tool$jobMaterialBundlesUpdateJobMaterialBundles;
57442
+ var args88, tool$jobMaterialBundlesUpdateJobMaterialBundles;
56709
57443
  var init_jobMaterialBundlesUpdateJobMaterialBundles2 = __esm(() => {
56710
57444
  init_jobMaterialBundlesUpdateJobMaterialBundles();
56711
57445
  init_operations();
56712
57446
  init_tools();
56713
- args84 = {
57447
+ args88 = {
56714
57448
  request: UpdateJobMaterialBundlesRequest$inboundSchema
56715
57449
  };
56716
57450
  tool$jobMaterialBundlesUpdateJobMaterialBundles = {
@@ -56723,9 +57457,9 @@ var init_jobMaterialBundlesUpdateJobMaterialBundles2 = __esm(() => {
56723
57457
  This endpoint requires the following OAuth scope **manage_job_materials**.
56724
57458
 
56725
57459
  `,
56726
- args: args84,
56727
- tool: async (client, args85, ctx) => {
56728
- const [result2, apiCall] = await jobMaterialBundlesUpdateJobMaterialBundles(client, args85.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
57460
+ args: args88,
57461
+ tool: async (client, args89, ctx) => {
57462
+ const [result2, apiCall] = await jobMaterialBundlesUpdateJobMaterialBundles(client, args89.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
56729
57463
  if (!result2.ok) {
56730
57464
  return {
56731
57465
  content: [{ type: "text", text: result2.error.message }],
@@ -56740,9 +57474,9 @@ This endpoint requires the following OAuth scope **manage_job_materials**.
56740
57474
 
56741
57475
  // src/funcs/jobMaterialsCreateJobMaterials.ts
56742
57476
  function jobMaterialsCreateJobMaterials(client, request, options) {
56743
- return new APIPromise($do105(client, request, options));
57477
+ return new APIPromise($do109(client, request, options));
56744
57478
  }
56745
- async function $do105(client, request, options) {
57479
+ async function $do109(client, request, options) {
56746
57480
  const parsed = safeParse(request, (value) => JobMaterialInput$outboundSchema.parse(value), "Input validation failed");
56747
57481
  if (!parsed.ok) {
56748
57482
  return [parsed, { status: "invalid" }];
@@ -56825,12 +57559,12 @@ var init_jobMaterialsCreateJobMaterials = __esm(() => {
56825
57559
  });
56826
57560
 
56827
57561
  // src/mcp-server/tools/jobMaterialsCreateJobMaterials.ts
56828
- var args85, tool$jobMaterialsCreateJobMaterials;
57562
+ var args89, tool$jobMaterialsCreateJobMaterials;
56829
57563
  var init_jobMaterialsCreateJobMaterials2 = __esm(() => {
56830
57564
  init_jobMaterialsCreateJobMaterials();
56831
57565
  init_components();
56832
57566
  init_tools();
56833
- args85 = {
57567
+ args89 = {
56834
57568
  request: JobMaterialInput$inboundSchema
56835
57569
  };
56836
57570
  tool$jobMaterialsCreateJobMaterials = {
@@ -56848,9 +57582,9 @@ This endpoint requires the following OAuth scope **manage_job_materials**.
56848
57582
  UUID is optional for record creation. If no UUID is supplied, a UUID will be automatically generated for the new record and returned in the \`x-record-uuid\` response header.
56849
57583
 
56850
57584
  `,
56851
- args: args85,
56852
- tool: async (client, args86, ctx) => {
56853
- const [result2, apiCall] = await jobMaterialsCreateJobMaterials(client, args86.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
57585
+ args: args89,
57586
+ tool: async (client, args90, ctx) => {
57587
+ const [result2, apiCall] = await jobMaterialsCreateJobMaterials(client, args90.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
56854
57588
  if (!result2.ok) {
56855
57589
  return {
56856
57590
  content: [{ type: "text", text: result2.error.message }],
@@ -56865,9 +57599,9 @@ UUID is optional for record creation. If no UUID is supplied, a UUID will be aut
56865
57599
 
56866
57600
  // src/funcs/jobMaterialsDeleteJobMaterials.ts
56867
57601
  function jobMaterialsDeleteJobMaterials(client, request, options) {
56868
- return new APIPromise($do106(client, request, options));
57602
+ return new APIPromise($do110(client, request, options));
56869
57603
  }
56870
- async function $do106(client, request, options) {
57604
+ async function $do110(client, request, options) {
56871
57605
  const parsed = safeParse(request, (value) => DeleteJobMaterialsRequest$outboundSchema.parse(value), "Input validation failed");
56872
57606
  if (!parsed.ok) {
56873
57607
  return [parsed, { status: "invalid" }];
@@ -56952,12 +57686,12 @@ var init_jobMaterialsDeleteJobMaterials = __esm(() => {
56952
57686
  });
56953
57687
 
56954
57688
  // src/mcp-server/tools/jobMaterialsDeleteJobMaterials.ts
56955
- var args86, tool$jobMaterialsDeleteJobMaterials;
57689
+ var args90, tool$jobMaterialsDeleteJobMaterials;
56956
57690
  var init_jobMaterialsDeleteJobMaterials2 = __esm(() => {
56957
57691
  init_jobMaterialsDeleteJobMaterials();
56958
57692
  init_operations();
56959
57693
  init_tools();
56960
- args86 = {
57694
+ args90 = {
56961
57695
  request: DeleteJobMaterialsRequest$inboundSchema
56962
57696
  };
56963
57697
  tool$jobMaterialsDeleteJobMaterials = {
@@ -56974,9 +57708,9 @@ In ServiceM8, deleting a record sets its \`active\` field to \`0\`. Inactive rec
56974
57708
  This endpoint requires the following OAuth scope **manage_job_materials**.
56975
57709
 
56976
57710
  `,
56977
- args: args86,
56978
- tool: async (client, args87, ctx) => {
56979
- const [result2, apiCall] = await jobMaterialsDeleteJobMaterials(client, args87.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
57711
+ args: args90,
57712
+ tool: async (client, args91, ctx) => {
57713
+ const [result2, apiCall] = await jobMaterialsDeleteJobMaterials(client, args91.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
56980
57714
  if (!result2.ok) {
56981
57715
  return {
56982
57716
  content: [{ type: "text", text: result2.error.message }],
@@ -56991,9 +57725,9 @@ This endpoint requires the following OAuth scope **manage_job_materials**.
56991
57725
 
56992
57726
  // src/funcs/jobMaterialsGetJobMaterials.ts
56993
57727
  function jobMaterialsGetJobMaterials(client, request, options) {
56994
- return new APIPromise($do107(client, request, options));
57728
+ return new APIPromise($do111(client, request, options));
56995
57729
  }
56996
- async function $do107(client, request, options) {
57730
+ async function $do111(client, request, options) {
56997
57731
  const parsed = safeParse(request, (value) => GetJobMaterialsRequest$outboundSchema.parse(value), "Input validation failed");
56998
57732
  if (!parsed.ok) {
56999
57733
  return [parsed, { status: "invalid" }];
@@ -57078,12 +57812,12 @@ var init_jobMaterialsGetJobMaterials = __esm(() => {
57078
57812
  });
57079
57813
 
57080
57814
  // src/mcp-server/tools/jobMaterialsGetJobMaterials.ts
57081
- var args87, tool$jobMaterialsGetJobMaterials;
57815
+ var args91, tool$jobMaterialsGetJobMaterials;
57082
57816
  var init_jobMaterialsGetJobMaterials2 = __esm(() => {
57083
57817
  init_jobMaterialsGetJobMaterials();
57084
57818
  init_operations();
57085
57819
  init_tools();
57086
- args87 = {
57820
+ args91 = {
57087
57821
  request: GetJobMaterialsRequest$inboundSchema
57088
57822
  };
57089
57823
  tool$jobMaterialsGetJobMaterials = {
@@ -57096,9 +57830,9 @@ var init_jobMaterialsGetJobMaterials2 = __esm(() => {
57096
57830
  This endpoint requires the following OAuth scope **read_job_materials**.
57097
57831
 
57098
57832
  `,
57099
- args: args87,
57100
- tool: async (client, args88, ctx) => {
57101
- const [result2, apiCall] = await jobMaterialsGetJobMaterials(client, args88.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
57833
+ args: args91,
57834
+ tool: async (client, args92, ctx) => {
57835
+ const [result2, apiCall] = await jobMaterialsGetJobMaterials(client, args92.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
57102
57836
  if (!result2.ok) {
57103
57837
  return {
57104
57838
  content: [{ type: "text", text: result2.error.message }],
@@ -57113,9 +57847,9 @@ This endpoint requires the following OAuth scope **read_job_materials**.
57113
57847
 
57114
57848
  // src/funcs/jobMaterialsListJobMaterials.ts
57115
57849
  function jobMaterialsListJobMaterials(client, options) {
57116
- return new APIPromise($do108(client, options));
57850
+ return new APIPromise($do112(client, options));
57117
57851
  }
57118
- async function $do108(client, options) {
57852
+ async function $do112(client, options) {
57119
57853
  const path = pathToFunc("/jobmaterial.json")();
57120
57854
  const headers = new Headers(compactMap({
57121
57855
  Accept: "application/json"
@@ -57219,9 +57953,9 @@ This endpoint requires the following OAuth scope **read_job_materials**.
57219
57953
 
57220
57954
  // src/funcs/jobMaterialsUpdateJobMaterials.ts
57221
57955
  function jobMaterialsUpdateJobMaterials(client, request, options) {
57222
- return new APIPromise($do109(client, request, options));
57956
+ return new APIPromise($do113(client, request, options));
57223
57957
  }
57224
- async function $do109(client, request, options) {
57958
+ async function $do113(client, request, options) {
57225
57959
  const parsed = safeParse(request, (value) => UpdateJobMaterialsRequest$outboundSchema.parse(value), "Input validation failed");
57226
57960
  if (!parsed.ok) {
57227
57961
  return [parsed, { status: "invalid" }];
@@ -57307,12 +58041,12 @@ var init_jobMaterialsUpdateJobMaterials = __esm(() => {
57307
58041
  });
57308
58042
 
57309
58043
  // src/mcp-server/tools/jobMaterialsUpdateJobMaterials.ts
57310
- var args88, tool$jobMaterialsUpdateJobMaterials;
58044
+ var args92, tool$jobMaterialsUpdateJobMaterials;
57311
58045
  var init_jobMaterialsUpdateJobMaterials2 = __esm(() => {
57312
58046
  init_jobMaterialsUpdateJobMaterials();
57313
58047
  init_operations();
57314
58048
  init_tools();
57315
- args88 = {
58049
+ args92 = {
57316
58050
  request: UpdateJobMaterialsRequest$inboundSchema
57317
58051
  };
57318
58052
  tool$jobMaterialsUpdateJobMaterials = {
@@ -57325,9 +58059,9 @@ var init_jobMaterialsUpdateJobMaterials2 = __esm(() => {
57325
58059
  This endpoint requires the following OAuth scope **manage_job_materials**.
57326
58060
 
57327
58061
  `,
57328
- args: args88,
57329
- tool: async (client, args89, ctx) => {
57330
- const [result2, apiCall] = await jobMaterialsUpdateJobMaterials(client, args89.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
58062
+ args: args92,
58063
+ tool: async (client, args93, ctx) => {
58064
+ const [result2, apiCall] = await jobMaterialsUpdateJobMaterials(client, args93.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
57331
58065
  if (!result2.ok) {
57332
58066
  return {
57333
58067
  content: [{ type: "text", text: result2.error.message }],
@@ -57342,9 +58076,9 @@ This endpoint requires the following OAuth scope **manage_job_materials**.
57342
58076
 
57343
58077
  // src/funcs/jobPaymentsCreateJobPayments.ts
57344
58078
  function jobPaymentsCreateJobPayments(client, request, options) {
57345
- return new APIPromise($do110(client, request, options));
58079
+ return new APIPromise($do114(client, request, options));
57346
58080
  }
57347
- async function $do110(client, request, options) {
58081
+ async function $do114(client, request, options) {
57348
58082
  const parsed = safeParse(request, (value) => JobPaymentInput$outboundSchema.parse(value), "Input validation failed");
57349
58083
  if (!parsed.ok) {
57350
58084
  return [parsed, { status: "invalid" }];
@@ -57427,12 +58161,12 @@ var init_jobPaymentsCreateJobPayments = __esm(() => {
57427
58161
  });
57428
58162
 
57429
58163
  // src/mcp-server/tools/jobPaymentsCreateJobPayments.ts
57430
- var args89, tool$jobPaymentsCreateJobPayments;
58164
+ var args93, tool$jobPaymentsCreateJobPayments;
57431
58165
  var init_jobPaymentsCreateJobPayments2 = __esm(() => {
57432
58166
  init_jobPaymentsCreateJobPayments();
57433
58167
  init_components();
57434
58168
  init_tools();
57435
- args89 = {
58169
+ args93 = {
57436
58170
  request: JobPaymentInput$inboundSchema
57437
58171
  };
57438
58172
  tool$jobPaymentsCreateJobPayments = {
@@ -57450,9 +58184,9 @@ This endpoint requires the following OAuth scope **manage_job_payments**.
57450
58184
  UUID is optional for record creation. If no UUID is supplied, a UUID will be automatically generated for the new record and returned in the \`x-record-uuid\` response header.
57451
58185
 
57452
58186
  `,
57453
- args: args89,
57454
- tool: async (client, args90, ctx) => {
57455
- const [result2, apiCall] = await jobPaymentsCreateJobPayments(client, args90.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
58187
+ args: args93,
58188
+ tool: async (client, args94, ctx) => {
58189
+ const [result2, apiCall] = await jobPaymentsCreateJobPayments(client, args94.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
57456
58190
  if (!result2.ok) {
57457
58191
  return {
57458
58192
  content: [{ type: "text", text: result2.error.message }],
@@ -57467,9 +58201,9 @@ UUID is optional for record creation. If no UUID is supplied, a UUID will be aut
57467
58201
 
57468
58202
  // src/funcs/jobPaymentsDeleteJobPayments.ts
57469
58203
  function jobPaymentsDeleteJobPayments(client, request, options) {
57470
- return new APIPromise($do111(client, request, options));
58204
+ return new APIPromise($do115(client, request, options));
57471
58205
  }
57472
- async function $do111(client, request, options) {
58206
+ async function $do115(client, request, options) {
57473
58207
  const parsed = safeParse(request, (value) => DeleteJobPaymentsRequest$outboundSchema.parse(value), "Input validation failed");
57474
58208
  if (!parsed.ok) {
57475
58209
  return [parsed, { status: "invalid" }];
@@ -57554,12 +58288,12 @@ var init_jobPaymentsDeleteJobPayments = __esm(() => {
57554
58288
  });
57555
58289
 
57556
58290
  // src/mcp-server/tools/jobPaymentsDeleteJobPayments.ts
57557
- var args90, tool$jobPaymentsDeleteJobPayments;
58291
+ var args94, tool$jobPaymentsDeleteJobPayments;
57558
58292
  var init_jobPaymentsDeleteJobPayments2 = __esm(() => {
57559
58293
  init_jobPaymentsDeleteJobPayments();
57560
58294
  init_operations();
57561
58295
  init_tools();
57562
- args90 = {
58296
+ args94 = {
57563
58297
  request: DeleteJobPaymentsRequest$inboundSchema
57564
58298
  };
57565
58299
  tool$jobPaymentsDeleteJobPayments = {
@@ -57576,9 +58310,9 @@ In ServiceM8, deleting a record sets its \`active\` field to \`0\`. Inactive rec
57576
58310
  This endpoint requires the following OAuth scope **manage_job_payments**.
57577
58311
 
57578
58312
  `,
57579
- args: args90,
57580
- tool: async (client, args91, ctx) => {
57581
- const [result2, apiCall] = await jobPaymentsDeleteJobPayments(client, args91.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
58313
+ args: args94,
58314
+ tool: async (client, args95, ctx) => {
58315
+ const [result2, apiCall] = await jobPaymentsDeleteJobPayments(client, args95.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
57582
58316
  if (!result2.ok) {
57583
58317
  return {
57584
58318
  content: [{ type: "text", text: result2.error.message }],
@@ -57593,9 +58327,9 @@ This endpoint requires the following OAuth scope **manage_job_payments**.
57593
58327
 
57594
58328
  // src/funcs/jobPaymentsGetJobPayments.ts
57595
58329
  function jobPaymentsGetJobPayments(client, request, options) {
57596
- return new APIPromise($do112(client, request, options));
58330
+ return new APIPromise($do116(client, request, options));
57597
58331
  }
57598
- async function $do112(client, request, options) {
58332
+ async function $do116(client, request, options) {
57599
58333
  const parsed = safeParse(request, (value) => GetJobPaymentsRequest$outboundSchema.parse(value), "Input validation failed");
57600
58334
  if (!parsed.ok) {
57601
58335
  return [parsed, { status: "invalid" }];
@@ -57680,12 +58414,12 @@ var init_jobPaymentsGetJobPayments = __esm(() => {
57680
58414
  });
57681
58415
 
57682
58416
  // src/mcp-server/tools/jobPaymentsGetJobPayments.ts
57683
- var args91, tool$jobPaymentsGetJobPayments;
58417
+ var args95, tool$jobPaymentsGetJobPayments;
57684
58418
  var init_jobPaymentsGetJobPayments2 = __esm(() => {
57685
58419
  init_jobPaymentsGetJobPayments();
57686
58420
  init_operations();
57687
58421
  init_tools();
57688
- args91 = {
58422
+ args95 = {
57689
58423
  request: GetJobPaymentsRequest$inboundSchema
57690
58424
  };
57691
58425
  tool$jobPaymentsGetJobPayments = {
@@ -57698,9 +58432,9 @@ var init_jobPaymentsGetJobPayments2 = __esm(() => {
57698
58432
  This endpoint requires the following OAuth scope **read_job_payments**.
57699
58433
 
57700
58434
  `,
57701
- args: args91,
57702
- tool: async (client, args92, ctx) => {
57703
- const [result2, apiCall] = await jobPaymentsGetJobPayments(client, args92.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
58435
+ args: args95,
58436
+ tool: async (client, args96, ctx) => {
58437
+ const [result2, apiCall] = await jobPaymentsGetJobPayments(client, args96.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
57704
58438
  if (!result2.ok) {
57705
58439
  return {
57706
58440
  content: [{ type: "text", text: result2.error.message }],
@@ -57715,9 +58449,9 @@ This endpoint requires the following OAuth scope **read_job_payments**.
57715
58449
 
57716
58450
  // src/funcs/jobPaymentsListJobPayments.ts
57717
58451
  function jobPaymentsListJobPayments(client, options) {
57718
- return new APIPromise($do113(client, options));
58452
+ return new APIPromise($do117(client, options));
57719
58453
  }
57720
- async function $do113(client, options) {
58454
+ async function $do117(client, options) {
57721
58455
  const path = pathToFunc("/jobpayment.json")();
57722
58456
  const headers = new Headers(compactMap({
57723
58457
  Accept: "application/json"
@@ -57821,9 +58555,9 @@ This endpoint requires the following OAuth scope **read_job_payments**.
57821
58555
 
57822
58556
  // src/funcs/jobPaymentsUpdateJobPayments.ts
57823
58557
  function jobPaymentsUpdateJobPayments(client, request, options) {
57824
- return new APIPromise($do114(client, request, options));
58558
+ return new APIPromise($do118(client, request, options));
57825
58559
  }
57826
- async function $do114(client, request, options) {
58560
+ async function $do118(client, request, options) {
57827
58561
  const parsed = safeParse(request, (value) => UpdateJobPaymentsRequest$outboundSchema.parse(value), "Input validation failed");
57828
58562
  if (!parsed.ok) {
57829
58563
  return [parsed, { status: "invalid" }];
@@ -57909,12 +58643,12 @@ var init_jobPaymentsUpdateJobPayments = __esm(() => {
57909
58643
  });
57910
58644
 
57911
58645
  // src/mcp-server/tools/jobPaymentsUpdateJobPayments.ts
57912
- var args92, tool$jobPaymentsUpdateJobPayments;
58646
+ var args96, tool$jobPaymentsUpdateJobPayments;
57913
58647
  var init_jobPaymentsUpdateJobPayments2 = __esm(() => {
57914
58648
  init_jobPaymentsUpdateJobPayments();
57915
58649
  init_operations();
57916
58650
  init_tools();
57917
- args92 = {
58651
+ args96 = {
57918
58652
  request: UpdateJobPaymentsRequest$inboundSchema
57919
58653
  };
57920
58654
  tool$jobPaymentsUpdateJobPayments = {
@@ -57927,9 +58661,9 @@ var init_jobPaymentsUpdateJobPayments2 = __esm(() => {
57927
58661
  This endpoint requires the following OAuth scope **manage_job_payments**.
57928
58662
 
57929
58663
  `,
57930
- args: args92,
57931
- tool: async (client, args93, ctx) => {
57932
- const [result2, apiCall] = await jobPaymentsUpdateJobPayments(client, args93.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
58664
+ args: args96,
58665
+ tool: async (client, args97, ctx) => {
58666
+ const [result2, apiCall] = await jobPaymentsUpdateJobPayments(client, args97.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
57933
58667
  if (!result2.ok) {
57934
58668
  return {
57935
58669
  content: [{ type: "text", text: result2.error.message }],
@@ -57944,9 +58678,9 @@ This endpoint requires the following OAuth scope **manage_job_payments**.
57944
58678
 
57945
58679
  // src/funcs/jobQueuesCreateJobQueues.ts
57946
58680
  function jobQueuesCreateJobQueues(client, request, options) {
57947
- return new APIPromise($do115(client, request, options));
58681
+ return new APIPromise($do119(client, request, options));
57948
58682
  }
57949
- async function $do115(client, request, options) {
58683
+ async function $do119(client, request, options) {
57950
58684
  const parsed = safeParse(request, (value) => QueueInput$outboundSchema.parse(value), "Input validation failed");
57951
58685
  if (!parsed.ok) {
57952
58686
  return [parsed, { status: "invalid" }];
@@ -58029,12 +58763,12 @@ var init_jobQueuesCreateJobQueues = __esm(() => {
58029
58763
  });
58030
58764
 
58031
58765
  // src/mcp-server/tools/jobQueuesCreateJobQueues.ts
58032
- var args93, tool$jobQueuesCreateJobQueues;
58766
+ var args97, tool$jobQueuesCreateJobQueues;
58033
58767
  var init_jobQueuesCreateJobQueues2 = __esm(() => {
58034
58768
  init_jobQueuesCreateJobQueues();
58035
58769
  init_components();
58036
58770
  init_tools();
58037
- args93 = {
58771
+ args97 = {
58038
58772
  request: QueueInput$inboundSchema
58039
58773
  };
58040
58774
  tool$jobQueuesCreateJobQueues = {
@@ -58052,9 +58786,9 @@ This endpoint requires the following OAuth scope **manage_job_queues**.
58052
58786
  UUID is optional for record creation. If no UUID is supplied, a UUID will be automatically generated for the new record and returned in the \`x-record-uuid\` response header.
58053
58787
 
58054
58788
  `,
58055
- args: args93,
58056
- tool: async (client, args94, ctx) => {
58057
- const [result2, apiCall] = await jobQueuesCreateJobQueues(client, args94.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
58789
+ args: args97,
58790
+ tool: async (client, args98, ctx) => {
58791
+ const [result2, apiCall] = await jobQueuesCreateJobQueues(client, args98.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
58058
58792
  if (!result2.ok) {
58059
58793
  return {
58060
58794
  content: [{ type: "text", text: result2.error.message }],
@@ -58069,9 +58803,9 @@ UUID is optional for record creation. If no UUID is supplied, a UUID will be aut
58069
58803
 
58070
58804
  // src/funcs/jobQueuesDeleteJobQueues.ts
58071
58805
  function jobQueuesDeleteJobQueues(client, request, options) {
58072
- return new APIPromise($do116(client, request, options));
58806
+ return new APIPromise($do120(client, request, options));
58073
58807
  }
58074
- async function $do116(client, request, options) {
58808
+ async function $do120(client, request, options) {
58075
58809
  const parsed = safeParse(request, (value) => DeleteJobQueuesRequest$outboundSchema.parse(value), "Input validation failed");
58076
58810
  if (!parsed.ok) {
58077
58811
  return [parsed, { status: "invalid" }];
@@ -58156,12 +58890,12 @@ var init_jobQueuesDeleteJobQueues = __esm(() => {
58156
58890
  });
58157
58891
 
58158
58892
  // src/mcp-server/tools/jobQueuesDeleteJobQueues.ts
58159
- var args94, tool$jobQueuesDeleteJobQueues;
58893
+ var args98, tool$jobQueuesDeleteJobQueues;
58160
58894
  var init_jobQueuesDeleteJobQueues2 = __esm(() => {
58161
58895
  init_jobQueuesDeleteJobQueues();
58162
58896
  init_operations();
58163
58897
  init_tools();
58164
- args94 = {
58898
+ args98 = {
58165
58899
  request: DeleteJobQueuesRequest$inboundSchema
58166
58900
  };
58167
58901
  tool$jobQueuesDeleteJobQueues = {
@@ -58178,9 +58912,9 @@ In ServiceM8, deleting a record sets its \`active\` field to \`0\`. Inactive rec
58178
58912
  This endpoint requires the following OAuth scope **manage_job_queues**.
58179
58913
 
58180
58914
  `,
58181
- args: args94,
58182
- tool: async (client, args95, ctx) => {
58183
- const [result2, apiCall] = await jobQueuesDeleteJobQueues(client, args95.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
58915
+ args: args98,
58916
+ tool: async (client, args99, ctx) => {
58917
+ const [result2, apiCall] = await jobQueuesDeleteJobQueues(client, args99.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
58184
58918
  if (!result2.ok) {
58185
58919
  return {
58186
58920
  content: [{ type: "text", text: result2.error.message }],
@@ -58195,9 +58929,9 @@ This endpoint requires the following OAuth scope **manage_job_queues**.
58195
58929
 
58196
58930
  // src/funcs/jobQueuesGetJobQueues.ts
58197
58931
  function jobQueuesGetJobQueues(client, request, options) {
58198
- return new APIPromise($do117(client, request, options));
58932
+ return new APIPromise($do121(client, request, options));
58199
58933
  }
58200
- async function $do117(client, request, options) {
58934
+ async function $do121(client, request, options) {
58201
58935
  const parsed = safeParse(request, (value) => GetJobQueuesRequest$outboundSchema.parse(value), "Input validation failed");
58202
58936
  if (!parsed.ok) {
58203
58937
  return [parsed, { status: "invalid" }];
@@ -58282,12 +59016,12 @@ var init_jobQueuesGetJobQueues = __esm(() => {
58282
59016
  });
58283
59017
 
58284
59018
  // src/mcp-server/tools/jobQueuesGetJobQueues.ts
58285
- var args95, tool$jobQueuesGetJobQueues;
59019
+ var args99, tool$jobQueuesGetJobQueues;
58286
59020
  var init_jobQueuesGetJobQueues2 = __esm(() => {
58287
59021
  init_jobQueuesGetJobQueues();
58288
59022
  init_operations();
58289
59023
  init_tools();
58290
- args95 = {
59024
+ args99 = {
58291
59025
  request: GetJobQueuesRequest$inboundSchema
58292
59026
  };
58293
59027
  tool$jobQueuesGetJobQueues = {
@@ -58300,9 +59034,9 @@ var init_jobQueuesGetJobQueues2 = __esm(() => {
58300
59034
  This endpoint requires the following OAuth scope **read_job_queues**.
58301
59035
 
58302
59036
  `,
58303
- args: args95,
58304
- tool: async (client, args96, ctx) => {
58305
- const [result2, apiCall] = await jobQueuesGetJobQueues(client, args96.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
59037
+ args: args99,
59038
+ tool: async (client, args100, ctx) => {
59039
+ const [result2, apiCall] = await jobQueuesGetJobQueues(client, args100.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
58306
59040
  if (!result2.ok) {
58307
59041
  return {
58308
59042
  content: [{ type: "text", text: result2.error.message }],
@@ -58317,9 +59051,9 @@ This endpoint requires the following OAuth scope **read_job_queues**.
58317
59051
 
58318
59052
  // src/funcs/jobQueuesListJobQueues.ts
58319
59053
  function jobQueuesListJobQueues(client, options) {
58320
- return new APIPromise($do118(client, options));
59054
+ return new APIPromise($do122(client, options));
58321
59055
  }
58322
- async function $do118(client, options) {
59056
+ async function $do122(client, options) {
58323
59057
  const path = pathToFunc("/queue.json")();
58324
59058
  const headers = new Headers(compactMap({
58325
59059
  Accept: "application/json"
@@ -58423,9 +59157,9 @@ This endpoint requires the following OAuth scope **read_job_queues**.
58423
59157
 
58424
59158
  // src/funcs/jobQueuesUpdateJobQueues.ts
58425
59159
  function jobQueuesUpdateJobQueues(client, request, options) {
58426
- return new APIPromise($do119(client, request, options));
59160
+ return new APIPromise($do123(client, request, options));
58427
59161
  }
58428
- async function $do119(client, request, options) {
59162
+ async function $do123(client, request, options) {
58429
59163
  const parsed = safeParse(request, (value) => UpdateJobQueuesRequest$outboundSchema.parse(value), "Input validation failed");
58430
59164
  if (!parsed.ok) {
58431
59165
  return [parsed, { status: "invalid" }];
@@ -58511,12 +59245,12 @@ var init_jobQueuesUpdateJobQueues = __esm(() => {
58511
59245
  });
58512
59246
 
58513
59247
  // src/mcp-server/tools/jobQueuesUpdateJobQueues.ts
58514
- var args96, tool$jobQueuesUpdateJobQueues;
59248
+ var args100, tool$jobQueuesUpdateJobQueues;
58515
59249
  var init_jobQueuesUpdateJobQueues2 = __esm(() => {
58516
59250
  init_jobQueuesUpdateJobQueues();
58517
59251
  init_operations();
58518
59252
  init_tools();
58519
- args96 = {
59253
+ args100 = {
58520
59254
  request: UpdateJobQueuesRequest$inboundSchema
58521
59255
  };
58522
59256
  tool$jobQueuesUpdateJobQueues = {
@@ -58529,9 +59263,9 @@ var init_jobQueuesUpdateJobQueues2 = __esm(() => {
58529
59263
  This endpoint requires the following OAuth scope **manage_job_queues**.
58530
59264
 
58531
59265
  `,
58532
- args: args96,
58533
- tool: async (client, args97, ctx) => {
58534
- const [result2, apiCall] = await jobQueuesUpdateJobQueues(client, args97.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
59266
+ args: args100,
59267
+ tool: async (client, args101, ctx) => {
59268
+ const [result2, apiCall] = await jobQueuesUpdateJobQueues(client, args101.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
58535
59269
  if (!result2.ok) {
58536
59270
  return {
58537
59271
  content: [{ type: "text", text: result2.error.message }],
@@ -58546,9 +59280,9 @@ This endpoint requires the following OAuth scope **manage_job_queues**.
58546
59280
 
58547
59281
  // src/funcs/jobsCreateJobs.ts
58548
59282
  function jobsCreateJobs(client, request, options) {
58549
- return new APIPromise($do120(client, request, options));
59283
+ return new APIPromise($do124(client, request, options));
58550
59284
  }
58551
- async function $do120(client, request, options) {
59285
+ async function $do124(client, request, options) {
58552
59286
  const parsed = safeParse(request, (value) => JobInput$outboundSchema.parse(value), "Input validation failed");
58553
59287
  if (!parsed.ok) {
58554
59288
  return [parsed, { status: "invalid" }];
@@ -58631,12 +59365,12 @@ var init_jobsCreateJobs = __esm(() => {
58631
59365
  });
58632
59366
 
58633
59367
  // src/mcp-server/tools/jobsCreateJobs.ts
58634
- var args97, tool$jobsCreateJobs;
59368
+ var args101, tool$jobsCreateJobs;
58635
59369
  var init_jobsCreateJobs2 = __esm(() => {
58636
59370
  init_jobsCreateJobs();
58637
59371
  init_components();
58638
59372
  init_tools();
58639
- args97 = {
59373
+ args101 = {
58640
59374
  request: JobInput$inboundSchema
58641
59375
  };
58642
59376
  tool$jobsCreateJobs = {
@@ -58654,9 +59388,9 @@ This endpoint requires the following OAuth scope **create_jobs**.
58654
59388
  UUID is optional for record creation. If no UUID is supplied, a UUID will be automatically generated for the new record and returned in the \`x-record-uuid\` response header.
58655
59389
 
58656
59390
  `,
58657
- args: args97,
58658
- tool: async (client, args98, ctx) => {
58659
- const [result2, apiCall] = await jobsCreateJobs(client, args98.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
59391
+ args: args101,
59392
+ tool: async (client, args102, ctx) => {
59393
+ const [result2, apiCall] = await jobsCreateJobs(client, args102.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
58660
59394
  if (!result2.ok) {
58661
59395
  return {
58662
59396
  content: [{ type: "text", text: result2.error.message }],
@@ -58671,9 +59405,9 @@ UUID is optional for record creation. If no UUID is supplied, a UUID will be aut
58671
59405
 
58672
59406
  // src/funcs/jobsDeleteJobs.ts
58673
59407
  function jobsDeleteJobs(client, request, options) {
58674
- return new APIPromise($do121(client, request, options));
59408
+ return new APIPromise($do125(client, request, options));
58675
59409
  }
58676
- async function $do121(client, request, options) {
59410
+ async function $do125(client, request, options) {
58677
59411
  const parsed = safeParse(request, (value) => DeleteJobsRequest$outboundSchema.parse(value), "Input validation failed");
58678
59412
  if (!parsed.ok) {
58679
59413
  return [parsed, { status: "invalid" }];
@@ -58758,12 +59492,12 @@ var init_jobsDeleteJobs = __esm(() => {
58758
59492
  });
58759
59493
 
58760
59494
  // src/mcp-server/tools/jobsDeleteJobs.ts
58761
- var args98, tool$jobsDeleteJobs;
59495
+ var args102, tool$jobsDeleteJobs;
58762
59496
  var init_jobsDeleteJobs2 = __esm(() => {
58763
59497
  init_jobsDeleteJobs();
58764
59498
  init_operations();
58765
59499
  init_tools();
58766
- args98 = {
59500
+ args102 = {
58767
59501
  request: DeleteJobsRequest$inboundSchema
58768
59502
  };
58769
59503
  tool$jobsDeleteJobs = {
@@ -58780,9 +59514,9 @@ In ServiceM8, deleting a record sets its \`active\` field to \`0\`. Inactive rec
58780
59514
  This endpoint requires the following OAuth scope **manage_jobs**.
58781
59515
 
58782
59516
  `,
58783
- args: args98,
58784
- tool: async (client, args99, ctx) => {
58785
- const [result2, apiCall] = await jobsDeleteJobs(client, args99.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
59517
+ args: args102,
59518
+ tool: async (client, args103, ctx) => {
59519
+ const [result2, apiCall] = await jobsDeleteJobs(client, args103.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
58786
59520
  if (!result2.ok) {
58787
59521
  return {
58788
59522
  content: [{ type: "text", text: result2.error.message }],
@@ -58797,9 +59531,9 @@ This endpoint requires the following OAuth scope **manage_jobs**.
58797
59531
 
58798
59532
  // src/funcs/jobsGetJobs.ts
58799
59533
  function jobsGetJobs(client, request, options) {
58800
- return new APIPromise($do122(client, request, options));
59534
+ return new APIPromise($do126(client, request, options));
58801
59535
  }
58802
- async function $do122(client, request, options) {
59536
+ async function $do126(client, request, options) {
58803
59537
  const parsed = safeParse(request, (value) => GetJobsRequest$outboundSchema.parse(value), "Input validation failed");
58804
59538
  if (!parsed.ok) {
58805
59539
  return [parsed, { status: "invalid" }];
@@ -58884,12 +59618,12 @@ var init_jobsGetJobs = __esm(() => {
58884
59618
  });
58885
59619
 
58886
59620
  // src/mcp-server/tools/jobsGetJobs.ts
58887
- var args99, tool$jobsGetJobs;
59621
+ var args103, tool$jobsGetJobs;
58888
59622
  var init_jobsGetJobs2 = __esm(() => {
58889
59623
  init_jobsGetJobs();
58890
59624
  init_operations();
58891
59625
  init_tools();
58892
- args99 = {
59626
+ args103 = {
58893
59627
  request: GetJobsRequest$inboundSchema
58894
59628
  };
58895
59629
  tool$jobsGetJobs = {
@@ -58902,9 +59636,9 @@ var init_jobsGetJobs2 = __esm(() => {
58902
59636
  This endpoint requires the following OAuth scope **read_jobs**.
58903
59637
 
58904
59638
  `,
58905
- args: args99,
58906
- tool: async (client, args100, ctx) => {
58907
- const [result2, apiCall] = await jobsGetJobs(client, args100.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
59639
+ args: args103,
59640
+ tool: async (client, args104, ctx) => {
59641
+ const [result2, apiCall] = await jobsGetJobs(client, args104.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
58908
59642
  if (!result2.ok) {
58909
59643
  return {
58910
59644
  content: [{ type: "text", text: result2.error.message }],
@@ -58919,9 +59653,9 @@ This endpoint requires the following OAuth scope **read_jobs**.
58919
59653
 
58920
59654
  // src/funcs/jobsListJobs.ts
58921
59655
  function jobsListJobs(client, options) {
58922
- return new APIPromise($do123(client, options));
59656
+ return new APIPromise($do127(client, options));
58923
59657
  }
58924
- async function $do123(client, options) {
59658
+ async function $do127(client, options) {
58925
59659
  const path = pathToFunc("/job.json")();
58926
59660
  const headers = new Headers(compactMap({
58927
59661
  Accept: "application/json"
@@ -59025,9 +59759,9 @@ This endpoint requires the following OAuth scope **read_jobs**.
59025
59759
 
59026
59760
  // src/funcs/jobsUpdateJobs.ts
59027
59761
  function jobsUpdateJobs(client, request, options) {
59028
- return new APIPromise($do124(client, request, options));
59762
+ return new APIPromise($do128(client, request, options));
59029
59763
  }
59030
- async function $do124(client, request, options) {
59764
+ async function $do128(client, request, options) {
59031
59765
  const parsed = safeParse(request, (value) => UpdateJobsRequest$outboundSchema.parse(value), "Input validation failed");
59032
59766
  if (!parsed.ok) {
59033
59767
  return [parsed, { status: "invalid" }];
@@ -59113,12 +59847,12 @@ var init_jobsUpdateJobs = __esm(() => {
59113
59847
  });
59114
59848
 
59115
59849
  // src/mcp-server/tools/jobsUpdateJobs.ts
59116
- var args100, tool$jobsUpdateJobs;
59850
+ var args104, tool$jobsUpdateJobs;
59117
59851
  var init_jobsUpdateJobs2 = __esm(() => {
59118
59852
  init_jobsUpdateJobs();
59119
59853
  init_operations();
59120
59854
  init_tools();
59121
- args100 = {
59855
+ args104 = {
59122
59856
  request: UpdateJobsRequest$inboundSchema
59123
59857
  };
59124
59858
  tool$jobsUpdateJobs = {
@@ -59131,9 +59865,9 @@ var init_jobsUpdateJobs2 = __esm(() => {
59131
59865
  This endpoint requires the following OAuth scope **manage_jobs**.
59132
59866
 
59133
59867
  `,
59134
- args: args100,
59135
- tool: async (client, args101, ctx) => {
59136
- const [result2, apiCall] = await jobsUpdateJobs(client, args101.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
59868
+ args: args104,
59869
+ tool: async (client, args105, ctx) => {
59870
+ const [result2, apiCall] = await jobsUpdateJobs(client, args105.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
59137
59871
  if (!result2.ok) {
59138
59872
  return {
59139
59873
  content: [{ type: "text", text: result2.error.message }],
@@ -59148,9 +59882,9 @@ This endpoint requires the following OAuth scope **manage_jobs**.
59148
59882
 
59149
59883
  // src/funcs/jobTemplatesCreateJobFromTemplate.ts
59150
59884
  function jobTemplatesCreateJobFromTemplate(client, request, options) {
59151
- return new APIPromise($do125(client, request, options));
59885
+ return new APIPromise($do129(client, request, options));
59152
59886
  }
59153
- async function $do125(client, request, options) {
59887
+ async function $do129(client, request, options) {
59154
59888
  const parsed = safeParse(request, (value) => CreateJobFromTemplateRequest$outboundSchema.parse(value), "Input validation failed");
59155
59889
  if (!parsed.ok) {
59156
59890
  return [parsed, { status: "invalid" }];
@@ -59239,12 +59973,12 @@ var init_jobTemplatesCreateJobFromTemplate = __esm(() => {
59239
59973
  });
59240
59974
 
59241
59975
  // src/mcp-server/tools/jobTemplatesCreateJobFromTemplate.ts
59242
- var args101, tool$jobTemplatesCreateJobFromTemplate;
59976
+ var args105, tool$jobTemplatesCreateJobFromTemplate;
59243
59977
  var init_jobTemplatesCreateJobFromTemplate2 = __esm(() => {
59244
59978
  init_jobTemplatesCreateJobFromTemplate();
59245
59979
  init_operations();
59246
59980
  init_tools();
59247
- args101 = {
59981
+ args105 = {
59248
59982
  request: CreateJobFromTemplateRequest$inboundSchema
59249
59983
  };
59250
59984
  tool$jobTemplatesCreateJobFromTemplate = {
@@ -59266,9 +60000,9 @@ Any other fields in the request body will be ignored.
59266
60000
 
59267
60001
  #### OAuth Scope
59268
60002
  This endpoint requires the following OAuth scope **create_jobs**.`,
59269
- args: args101,
59270
- tool: async (client, args102, ctx) => {
59271
- const [result2, apiCall] = await jobTemplatesCreateJobFromTemplate(client, args102.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
60003
+ args: args105,
60004
+ tool: async (client, args106, ctx) => {
60005
+ const [result2, apiCall] = await jobTemplatesCreateJobFromTemplate(client, args106.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
59272
60006
  if (!result2.ok) {
59273
60007
  return {
59274
60008
  content: [{ type: "text", text: result2.error.message }],
@@ -59283,9 +60017,9 @@ This endpoint requires the following OAuth scope **create_jobs**.`,
59283
60017
 
59284
60018
  // src/funcs/jobTemplatesGetJobTemplates.ts
59285
60019
  function jobTemplatesGetJobTemplates(client, request, options) {
59286
- return new APIPromise($do126(client, request, options));
60020
+ return new APIPromise($do130(client, request, options));
59287
60021
  }
59288
- async function $do126(client, request, options) {
60022
+ async function $do130(client, request, options) {
59289
60023
  const parsed = safeParse(request, (value) => GetJobTemplatesRequest$outboundSchema.parse(value), "Input validation failed");
59290
60024
  if (!parsed.ok) {
59291
60025
  return [parsed, { status: "invalid" }];
@@ -59370,12 +60104,12 @@ var init_jobTemplatesGetJobTemplates = __esm(() => {
59370
60104
  });
59371
60105
 
59372
60106
  // src/mcp-server/tools/jobTemplatesGetJobTemplates.ts
59373
- var args102, tool$jobTemplatesGetJobTemplates;
60107
+ var args106, tool$jobTemplatesGetJobTemplates;
59374
60108
  var init_jobTemplatesGetJobTemplates2 = __esm(() => {
59375
60109
  init_jobTemplatesGetJobTemplates();
59376
60110
  init_operations();
59377
60111
  init_tools();
59378
- args102 = {
60112
+ args106 = {
59379
60113
  request: GetJobTemplatesRequest$inboundSchema
59380
60114
  };
59381
60115
  tool$jobTemplatesGetJobTemplates = {
@@ -59388,9 +60122,9 @@ var init_jobTemplatesGetJobTemplates2 = __esm(() => {
59388
60122
  This endpoint requires the following OAuth scope **read_jobs**.
59389
60123
 
59390
60124
  `,
59391
- args: args102,
59392
- tool: async (client, args103, ctx) => {
59393
- const [result2, apiCall] = await jobTemplatesGetJobTemplates(client, args103.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
60125
+ args: args106,
60126
+ tool: async (client, args107, ctx) => {
60127
+ const [result2, apiCall] = await jobTemplatesGetJobTemplates(client, args107.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
59394
60128
  if (!result2.ok) {
59395
60129
  return {
59396
60130
  content: [{ type: "text", text: result2.error.message }],
@@ -59405,9 +60139,9 @@ This endpoint requires the following OAuth scope **read_jobs**.
59405
60139
 
59406
60140
  // src/funcs/jobTemplatesListJobTemplates.ts
59407
60141
  function jobTemplatesListJobTemplates(client, options) {
59408
- return new APIPromise($do127(client, options));
60142
+ return new APIPromise($do131(client, options));
59409
60143
  }
59410
- async function $do127(client, options) {
60144
+ async function $do131(client, options) {
59411
60145
  const path = pathToFunc("/jobtemplate.json")();
59412
60146
  const headers = new Headers(compactMap({
59413
60147
  Accept: "application/json"
@@ -59511,9 +60245,9 @@ This endpoint requires the following OAuth scope **read_jobs**.
59511
60245
 
59512
60246
  // src/funcs/knowledgeArticlesCreateKnowledgeArticles.ts
59513
60247
  function knowledgeArticlesCreateKnowledgeArticles(client, request, options) {
59514
- return new APIPromise($do128(client, request, options));
60248
+ return new APIPromise($do132(client, request, options));
59515
60249
  }
59516
- async function $do128(client, request, options) {
60250
+ async function $do132(client, request, options) {
59517
60251
  const parsed = safeParse(request, (value) => KnowledgeArticleInput$outboundSchema.parse(value), "Input validation failed");
59518
60252
  if (!parsed.ok) {
59519
60253
  return [parsed, { status: "invalid" }];
@@ -59596,12 +60330,12 @@ var init_knowledgeArticlesCreateKnowledgeArticles = __esm(() => {
59596
60330
  });
59597
60331
 
59598
60332
  // src/mcp-server/tools/knowledgeArticlesCreateKnowledgeArticles.ts
59599
- var args103, tool$knowledgeArticlesCreateKnowledgeArticles;
60333
+ var args107, tool$knowledgeArticlesCreateKnowledgeArticles;
59600
60334
  var init_knowledgeArticlesCreateKnowledgeArticles2 = __esm(() => {
59601
60335
  init_knowledgeArticlesCreateKnowledgeArticles();
59602
60336
  init_components();
59603
60337
  init_tools();
59604
- args103 = {
60338
+ args107 = {
59605
60339
  request: KnowledgeArticleInput$inboundSchema
59606
60340
  };
59607
60341
  tool$knowledgeArticlesCreateKnowledgeArticles = {
@@ -59619,9 +60353,9 @@ This endpoint requires the following OAuth scope **manage_knowledge**.
59619
60353
  UUID is optional for record creation. If no UUID is supplied, a UUID will be automatically generated for the new record and returned in the \`x-record-uuid\` response header.
59620
60354
 
59621
60355
  `,
59622
- args: args103,
59623
- tool: async (client, args104, ctx) => {
59624
- const [result2, apiCall] = await knowledgeArticlesCreateKnowledgeArticles(client, args104.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
60356
+ args: args107,
60357
+ tool: async (client, args108, ctx) => {
60358
+ const [result2, apiCall] = await knowledgeArticlesCreateKnowledgeArticles(client, args108.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
59625
60359
  if (!result2.ok) {
59626
60360
  return {
59627
60361
  content: [{ type: "text", text: result2.error.message }],
@@ -59636,9 +60370,9 @@ UUID is optional for record creation. If no UUID is supplied, a UUID will be aut
59636
60370
 
59637
60371
  // src/funcs/knowledgeArticlesDeleteKnowledgeArticles.ts
59638
60372
  function knowledgeArticlesDeleteKnowledgeArticles(client, request, options) {
59639
- return new APIPromise($do129(client, request, options));
60373
+ return new APIPromise($do133(client, request, options));
59640
60374
  }
59641
- async function $do129(client, request, options) {
60375
+ async function $do133(client, request, options) {
59642
60376
  const parsed = safeParse(request, (value) => DeleteKnowledgeArticlesRequest$outboundSchema.parse(value), "Input validation failed");
59643
60377
  if (!parsed.ok) {
59644
60378
  return [parsed, { status: "invalid" }];
@@ -59723,12 +60457,12 @@ var init_knowledgeArticlesDeleteKnowledgeArticles = __esm(() => {
59723
60457
  });
59724
60458
 
59725
60459
  // src/mcp-server/tools/knowledgeArticlesDeleteKnowledgeArticles.ts
59726
- var args104, tool$knowledgeArticlesDeleteKnowledgeArticles;
60460
+ var args108, tool$knowledgeArticlesDeleteKnowledgeArticles;
59727
60461
  var init_knowledgeArticlesDeleteKnowledgeArticles2 = __esm(() => {
59728
60462
  init_knowledgeArticlesDeleteKnowledgeArticles();
59729
60463
  init_operations();
59730
60464
  init_tools();
59731
- args104 = {
60465
+ args108 = {
59732
60466
  request: DeleteKnowledgeArticlesRequest$inboundSchema
59733
60467
  };
59734
60468
  tool$knowledgeArticlesDeleteKnowledgeArticles = {
@@ -59745,9 +60479,9 @@ In ServiceM8, deleting a record sets its \`active\` field to \`0\`. Inactive rec
59745
60479
  This endpoint requires the following OAuth scope **manage_knowledge**.
59746
60480
 
59747
60481
  `,
59748
- args: args104,
59749
- tool: async (client, args105, ctx) => {
59750
- const [result2, apiCall] = await knowledgeArticlesDeleteKnowledgeArticles(client, args105.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
60482
+ args: args108,
60483
+ tool: async (client, args109, ctx) => {
60484
+ const [result2, apiCall] = await knowledgeArticlesDeleteKnowledgeArticles(client, args109.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
59751
60485
  if (!result2.ok) {
59752
60486
  return {
59753
60487
  content: [{ type: "text", text: result2.error.message }],
@@ -59762,9 +60496,9 @@ This endpoint requires the following OAuth scope **manage_knowledge**.
59762
60496
 
59763
60497
  // src/funcs/knowledgeArticlesGetKnowledgeArticles.ts
59764
60498
  function knowledgeArticlesGetKnowledgeArticles(client, request, options) {
59765
- return new APIPromise($do130(client, request, options));
60499
+ return new APIPromise($do134(client, request, options));
59766
60500
  }
59767
- async function $do130(client, request, options) {
60501
+ async function $do134(client, request, options) {
59768
60502
  const parsed = safeParse(request, (value) => GetKnowledgeArticlesRequest$outboundSchema.parse(value), "Input validation failed");
59769
60503
  if (!parsed.ok) {
59770
60504
  return [parsed, { status: "invalid" }];
@@ -59849,12 +60583,12 @@ var init_knowledgeArticlesGetKnowledgeArticles = __esm(() => {
59849
60583
  });
59850
60584
 
59851
60585
  // src/mcp-server/tools/knowledgeArticlesGetKnowledgeArticles.ts
59852
- var args105, tool$knowledgeArticlesGetKnowledgeArticles;
60586
+ var args109, tool$knowledgeArticlesGetKnowledgeArticles;
59853
60587
  var init_knowledgeArticlesGetKnowledgeArticles2 = __esm(() => {
59854
60588
  init_knowledgeArticlesGetKnowledgeArticles();
59855
60589
  init_operations();
59856
60590
  init_tools();
59857
- args105 = {
60591
+ args109 = {
59858
60592
  request: GetKnowledgeArticlesRequest$inboundSchema
59859
60593
  };
59860
60594
  tool$knowledgeArticlesGetKnowledgeArticles = {
@@ -59867,9 +60601,9 @@ var init_knowledgeArticlesGetKnowledgeArticles2 = __esm(() => {
59867
60601
  This endpoint requires the following OAuth scope **read_knowledge**.
59868
60602
 
59869
60603
  `,
59870
- args: args105,
59871
- tool: async (client, args106, ctx) => {
59872
- const [result2, apiCall] = await knowledgeArticlesGetKnowledgeArticles(client, args106.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
60604
+ args: args109,
60605
+ tool: async (client, args110, ctx) => {
60606
+ const [result2, apiCall] = await knowledgeArticlesGetKnowledgeArticles(client, args110.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
59873
60607
  if (!result2.ok) {
59874
60608
  return {
59875
60609
  content: [{ type: "text", text: result2.error.message }],
@@ -59884,9 +60618,9 @@ This endpoint requires the following OAuth scope **read_knowledge**.
59884
60618
 
59885
60619
  // src/funcs/knowledgeArticlesListKnowledgeArticles.ts
59886
60620
  function knowledgeArticlesListKnowledgeArticles(client, options) {
59887
- return new APIPromise($do131(client, options));
60621
+ return new APIPromise($do135(client, options));
59888
60622
  }
59889
- async function $do131(client, options) {
60623
+ async function $do135(client, options) {
59890
60624
  const path = pathToFunc("/knowledgearticle.json")();
59891
60625
  const headers = new Headers(compactMap({
59892
60626
  Accept: "application/json"
@@ -59990,9 +60724,9 @@ This endpoint requires the following OAuth scope **read_knowledge**.
59990
60724
 
59991
60725
  // src/funcs/knowledgeArticlesUpdateKnowledgeArticles.ts
59992
60726
  function knowledgeArticlesUpdateKnowledgeArticles(client, request, options) {
59993
- return new APIPromise($do132(client, request, options));
60727
+ return new APIPromise($do136(client, request, options));
59994
60728
  }
59995
- async function $do132(client, request, options) {
60729
+ async function $do136(client, request, options) {
59996
60730
  const parsed = safeParse(request, (value) => UpdateKnowledgeArticlesRequest$outboundSchema.parse(value), "Input validation failed");
59997
60731
  if (!parsed.ok) {
59998
60732
  return [parsed, { status: "invalid" }];
@@ -60078,12 +60812,12 @@ var init_knowledgeArticlesUpdateKnowledgeArticles = __esm(() => {
60078
60812
  });
60079
60813
 
60080
60814
  // src/mcp-server/tools/knowledgeArticlesUpdateKnowledgeArticles.ts
60081
- var args106, tool$knowledgeArticlesUpdateKnowledgeArticles;
60815
+ var args110, tool$knowledgeArticlesUpdateKnowledgeArticles;
60082
60816
  var init_knowledgeArticlesUpdateKnowledgeArticles2 = __esm(() => {
60083
60817
  init_knowledgeArticlesUpdateKnowledgeArticles();
60084
60818
  init_operations();
60085
60819
  init_tools();
60086
- args106 = {
60820
+ args110 = {
60087
60821
  request: UpdateKnowledgeArticlesRequest$inboundSchema
60088
60822
  };
60089
60823
  tool$knowledgeArticlesUpdateKnowledgeArticles = {
@@ -60096,9 +60830,9 @@ var init_knowledgeArticlesUpdateKnowledgeArticles2 = __esm(() => {
60096
60830
  This endpoint requires the following OAuth scope **manage_knowledge**.
60097
60831
 
60098
60832
  `,
60099
- args: args106,
60100
- tool: async (client, args107, ctx) => {
60101
- const [result2, apiCall] = await knowledgeArticlesUpdateKnowledgeArticles(client, args107.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
60833
+ args: args110,
60834
+ tool: async (client, args111, ctx) => {
60835
+ const [result2, apiCall] = await knowledgeArticlesUpdateKnowledgeArticles(client, args111.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
60102
60836
  if (!result2.ok) {
60103
60837
  return {
60104
60838
  content: [{ type: "text", text: result2.error.message }],
@@ -60113,9 +60847,9 @@ This endpoint requires the following OAuth scope **manage_knowledge**.
60113
60847
 
60114
60848
  // src/funcs/locationsCreateLocations.ts
60115
60849
  function locationsCreateLocations(client, request, options) {
60116
- return new APIPromise($do133(client, request, options));
60850
+ return new APIPromise($do137(client, request, options));
60117
60851
  }
60118
- async function $do133(client, request, options) {
60852
+ async function $do137(client, request, options) {
60119
60853
  const parsed = safeParse(request, (value) => LocationInput$outboundSchema.parse(value), "Input validation failed");
60120
60854
  if (!parsed.ok) {
60121
60855
  return [parsed, { status: "invalid" }];
@@ -60198,12 +60932,12 @@ var init_locationsCreateLocations = __esm(() => {
60198
60932
  });
60199
60933
 
60200
60934
  // src/mcp-server/tools/locationsCreateLocations.ts
60201
- var args107, tool$locationsCreateLocations;
60935
+ var args111, tool$locationsCreateLocations;
60202
60936
  var init_locationsCreateLocations2 = __esm(() => {
60203
60937
  init_locationsCreateLocations();
60204
60938
  init_components();
60205
60939
  init_tools();
60206
- args107 = {
60940
+ args111 = {
60207
60941
  request: LocationInput$inboundSchema
60208
60942
  };
60209
60943
  tool$locationsCreateLocations = {
@@ -60221,9 +60955,9 @@ This endpoint requires the following OAuth scope **manage_locations**.
60221
60955
  UUID is optional for record creation. If no UUID is supplied, a UUID will be automatically generated for the new record and returned in the \`x-record-uuid\` response header.
60222
60956
 
60223
60957
  `,
60224
- args: args107,
60225
- tool: async (client, args108, ctx) => {
60226
- const [result2, apiCall] = await locationsCreateLocations(client, args108.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
60958
+ args: args111,
60959
+ tool: async (client, args112, ctx) => {
60960
+ const [result2, apiCall] = await locationsCreateLocations(client, args112.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
60227
60961
  if (!result2.ok) {
60228
60962
  return {
60229
60963
  content: [{ type: "text", text: result2.error.message }],
@@ -60238,9 +60972,9 @@ UUID is optional for record creation. If no UUID is supplied, a UUID will be aut
60238
60972
 
60239
60973
  // src/funcs/locationsDeleteLocations.ts
60240
60974
  function locationsDeleteLocations(client, request, options) {
60241
- return new APIPromise($do134(client, request, options));
60975
+ return new APIPromise($do138(client, request, options));
60242
60976
  }
60243
- async function $do134(client, request, options) {
60977
+ async function $do138(client, request, options) {
60244
60978
  const parsed = safeParse(request, (value) => DeleteLocationsRequest$outboundSchema.parse(value), "Input validation failed");
60245
60979
  if (!parsed.ok) {
60246
60980
  return [parsed, { status: "invalid" }];
@@ -60325,12 +61059,12 @@ var init_locationsDeleteLocations = __esm(() => {
60325
61059
  });
60326
61060
 
60327
61061
  // src/mcp-server/tools/locationsDeleteLocations.ts
60328
- var args108, tool$locationsDeleteLocations;
61062
+ var args112, tool$locationsDeleteLocations;
60329
61063
  var init_locationsDeleteLocations2 = __esm(() => {
60330
61064
  init_locationsDeleteLocations();
60331
61065
  init_operations();
60332
61066
  init_tools();
60333
- args108 = {
61067
+ args112 = {
60334
61068
  request: DeleteLocationsRequest$inboundSchema
60335
61069
  };
60336
61070
  tool$locationsDeleteLocations = {
@@ -60347,9 +61081,9 @@ In ServiceM8, deleting a record sets its \`active\` field to \`0\`. Inactive rec
60347
61081
  This endpoint requires the following OAuth scope **manage_locations**.
60348
61082
 
60349
61083
  `,
60350
- args: args108,
60351
- tool: async (client, args109, ctx) => {
60352
- const [result2, apiCall] = await locationsDeleteLocations(client, args109.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
61084
+ args: args112,
61085
+ tool: async (client, args113, ctx) => {
61086
+ const [result2, apiCall] = await locationsDeleteLocations(client, args113.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
60353
61087
  if (!result2.ok) {
60354
61088
  return {
60355
61089
  content: [{ type: "text", text: result2.error.message }],
@@ -60364,9 +61098,9 @@ This endpoint requires the following OAuth scope **manage_locations**.
60364
61098
 
60365
61099
  // src/funcs/locationsGetLocations.ts
60366
61100
  function locationsGetLocations(client, request, options) {
60367
- return new APIPromise($do135(client, request, options));
61101
+ return new APIPromise($do139(client, request, options));
60368
61102
  }
60369
- async function $do135(client, request, options) {
61103
+ async function $do139(client, request, options) {
60370
61104
  const parsed = safeParse(request, (value) => GetLocationsRequest$outboundSchema.parse(value), "Input validation failed");
60371
61105
  if (!parsed.ok) {
60372
61106
  return [parsed, { status: "invalid" }];
@@ -60451,12 +61185,12 @@ var init_locationsGetLocations = __esm(() => {
60451
61185
  });
60452
61186
 
60453
61187
  // src/mcp-server/tools/locationsGetLocations.ts
60454
- var args109, tool$locationsGetLocations;
61188
+ var args113, tool$locationsGetLocations;
60455
61189
  var init_locationsGetLocations2 = __esm(() => {
60456
61190
  init_locationsGetLocations();
60457
61191
  init_operations();
60458
61192
  init_tools();
60459
- args109 = {
61193
+ args113 = {
60460
61194
  request: GetLocationsRequest$inboundSchema
60461
61195
  };
60462
61196
  tool$locationsGetLocations = {
@@ -60469,9 +61203,9 @@ var init_locationsGetLocations2 = __esm(() => {
60469
61203
  This endpoint requires the following OAuth scope **read_locations**.
60470
61204
 
60471
61205
  `,
60472
- args: args109,
60473
- tool: async (client, args110, ctx) => {
60474
- const [result2, apiCall] = await locationsGetLocations(client, args110.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
61206
+ args: args113,
61207
+ tool: async (client, args114, ctx) => {
61208
+ const [result2, apiCall] = await locationsGetLocations(client, args114.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
60475
61209
  if (!result2.ok) {
60476
61210
  return {
60477
61211
  content: [{ type: "text", text: result2.error.message }],
@@ -60486,9 +61220,9 @@ This endpoint requires the following OAuth scope **read_locations**.
60486
61220
 
60487
61221
  // src/funcs/locationsListLocations.ts
60488
61222
  function locationsListLocations(client, options) {
60489
- return new APIPromise($do136(client, options));
61223
+ return new APIPromise($do140(client, options));
60490
61224
  }
60491
- async function $do136(client, options) {
61225
+ async function $do140(client, options) {
60492
61226
  const path = pathToFunc("/location.json")();
60493
61227
  const headers = new Headers(compactMap({
60494
61228
  Accept: "application/json"
@@ -60592,9 +61326,9 @@ This endpoint requires the following OAuth scope **read_locations**.
60592
61326
 
60593
61327
  // src/funcs/locationsUpdateLocations.ts
60594
61328
  function locationsUpdateLocations(client, request, options) {
60595
- return new APIPromise($do137(client, request, options));
61329
+ return new APIPromise($do141(client, request, options));
60596
61330
  }
60597
- async function $do137(client, request, options) {
61331
+ async function $do141(client, request, options) {
60598
61332
  const parsed = safeParse(request, (value) => UpdateLocationsRequest$outboundSchema.parse(value), "Input validation failed");
60599
61333
  if (!parsed.ok) {
60600
61334
  return [parsed, { status: "invalid" }];
@@ -60680,12 +61414,12 @@ var init_locationsUpdateLocations = __esm(() => {
60680
61414
  });
60681
61415
 
60682
61416
  // src/mcp-server/tools/locationsUpdateLocations.ts
60683
- var args110, tool$locationsUpdateLocations;
61417
+ var args114, tool$locationsUpdateLocations;
60684
61418
  var init_locationsUpdateLocations2 = __esm(() => {
60685
61419
  init_locationsUpdateLocations();
60686
61420
  init_operations();
60687
61421
  init_tools();
60688
- args110 = {
61422
+ args114 = {
60689
61423
  request: UpdateLocationsRequest$inboundSchema
60690
61424
  };
60691
61425
  tool$locationsUpdateLocations = {
@@ -60698,9 +61432,9 @@ var init_locationsUpdateLocations2 = __esm(() => {
60698
61432
  This endpoint requires the following OAuth scope **manage_locations**.
60699
61433
 
60700
61434
  `,
60701
- args: args110,
60702
- tool: async (client, args111, ctx) => {
60703
- const [result2, apiCall] = await locationsUpdateLocations(client, args111.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
61435
+ args: args114,
61436
+ tool: async (client, args115, ctx) => {
61437
+ const [result2, apiCall] = await locationsUpdateLocations(client, args115.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
60704
61438
  if (!result2.ok) {
60705
61439
  return {
60706
61440
  content: [{ type: "text", text: result2.error.message }],
@@ -60715,9 +61449,9 @@ This endpoint requires the following OAuth scope **manage_locations**.
60715
61449
 
60716
61450
  // src/funcs/materialsCreateMaterials.ts
60717
61451
  function materialsCreateMaterials(client, request, options) {
60718
- return new APIPromise($do138(client, request, options));
61452
+ return new APIPromise($do142(client, request, options));
60719
61453
  }
60720
- async function $do138(client, request, options) {
61454
+ async function $do142(client, request, options) {
60721
61455
  const parsed = safeParse(request, (value) => MaterialInput$outboundSchema.parse(value), "Input validation failed");
60722
61456
  if (!parsed.ok) {
60723
61457
  return [parsed, { status: "invalid" }];
@@ -60800,12 +61534,12 @@ var init_materialsCreateMaterials = __esm(() => {
60800
61534
  });
60801
61535
 
60802
61536
  // src/mcp-server/tools/materialsCreateMaterials.ts
60803
- var args111, tool$materialsCreateMaterials;
61537
+ var args115, tool$materialsCreateMaterials;
60804
61538
  var init_materialsCreateMaterials2 = __esm(() => {
60805
61539
  init_materialsCreateMaterials();
60806
61540
  init_components();
60807
61541
  init_tools();
60808
- args111 = {
61542
+ args115 = {
60809
61543
  request: MaterialInput$inboundSchema
60810
61544
  };
60811
61545
  tool$materialsCreateMaterials = {
@@ -60823,9 +61557,9 @@ This endpoint requires the following OAuth scope **manage_inventory**.
60823
61557
  UUID is optional for record creation. If no UUID is supplied, a UUID will be automatically generated for the new record and returned in the \`x-record-uuid\` response header.
60824
61558
 
60825
61559
  `,
60826
- args: args111,
60827
- tool: async (client, args112, ctx) => {
60828
- const [result2, apiCall] = await materialsCreateMaterials(client, args112.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
61560
+ args: args115,
61561
+ tool: async (client, args116, ctx) => {
61562
+ const [result2, apiCall] = await materialsCreateMaterials(client, args116.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
60829
61563
  if (!result2.ok) {
60830
61564
  return {
60831
61565
  content: [{ type: "text", text: result2.error.message }],
@@ -60840,9 +61574,9 @@ UUID is optional for record creation. If no UUID is supplied, a UUID will be aut
60840
61574
 
60841
61575
  // src/funcs/materialsDeleteMaterials.ts
60842
61576
  function materialsDeleteMaterials(client, request, options) {
60843
- return new APIPromise($do139(client, request, options));
61577
+ return new APIPromise($do143(client, request, options));
60844
61578
  }
60845
- async function $do139(client, request, options) {
61579
+ async function $do143(client, request, options) {
60846
61580
  const parsed = safeParse(request, (value) => DeleteMaterialsRequest$outboundSchema.parse(value), "Input validation failed");
60847
61581
  if (!parsed.ok) {
60848
61582
  return [parsed, { status: "invalid" }];
@@ -60927,12 +61661,12 @@ var init_materialsDeleteMaterials = __esm(() => {
60927
61661
  });
60928
61662
 
60929
61663
  // src/mcp-server/tools/materialsDeleteMaterials.ts
60930
- var args112, tool$materialsDeleteMaterials;
61664
+ var args116, tool$materialsDeleteMaterials;
60931
61665
  var init_materialsDeleteMaterials2 = __esm(() => {
60932
61666
  init_materialsDeleteMaterials();
60933
61667
  init_operations();
60934
61668
  init_tools();
60935
- args112 = {
61669
+ args116 = {
60936
61670
  request: DeleteMaterialsRequest$inboundSchema
60937
61671
  };
60938
61672
  tool$materialsDeleteMaterials = {
@@ -60949,9 +61683,9 @@ In ServiceM8, deleting a record sets its \`active\` field to \`0\`. Inactive rec
60949
61683
  This endpoint requires the following OAuth scope **manage_inventory**.
60950
61684
 
60951
61685
  `,
60952
- args: args112,
60953
- tool: async (client, args113, ctx) => {
60954
- const [result2, apiCall] = await materialsDeleteMaterials(client, args113.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
61686
+ args: args116,
61687
+ tool: async (client, args117, ctx) => {
61688
+ const [result2, apiCall] = await materialsDeleteMaterials(client, args117.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
60955
61689
  if (!result2.ok) {
60956
61690
  return {
60957
61691
  content: [{ type: "text", text: result2.error.message }],
@@ -60966,9 +61700,9 @@ This endpoint requires the following OAuth scope **manage_inventory**.
60966
61700
 
60967
61701
  // src/funcs/materialsGetMaterials.ts
60968
61702
  function materialsGetMaterials(client, request, options) {
60969
- return new APIPromise($do140(client, request, options));
61703
+ return new APIPromise($do144(client, request, options));
60970
61704
  }
60971
- async function $do140(client, request, options) {
61705
+ async function $do144(client, request, options) {
60972
61706
  const parsed = safeParse(request, (value) => GetMaterialsRequest$outboundSchema.parse(value), "Input validation failed");
60973
61707
  if (!parsed.ok) {
60974
61708
  return [parsed, { status: "invalid" }];
@@ -61053,12 +61787,12 @@ var init_materialsGetMaterials = __esm(() => {
61053
61787
  });
61054
61788
 
61055
61789
  // src/mcp-server/tools/materialsGetMaterials.ts
61056
- var args113, tool$materialsGetMaterials;
61790
+ var args117, tool$materialsGetMaterials;
61057
61791
  var init_materialsGetMaterials2 = __esm(() => {
61058
61792
  init_materialsGetMaterials();
61059
61793
  init_operations();
61060
61794
  init_tools();
61061
- args113 = {
61795
+ args117 = {
61062
61796
  request: GetMaterialsRequest$inboundSchema
61063
61797
  };
61064
61798
  tool$materialsGetMaterials = {
@@ -61071,9 +61805,9 @@ var init_materialsGetMaterials2 = __esm(() => {
61071
61805
  This endpoint requires the following OAuth scope **read_inventory**.
61072
61806
 
61073
61807
  `,
61074
- args: args113,
61075
- tool: async (client, args114, ctx) => {
61076
- const [result2, apiCall] = await materialsGetMaterials(client, args114.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
61808
+ args: args117,
61809
+ tool: async (client, args118, ctx) => {
61810
+ const [result2, apiCall] = await materialsGetMaterials(client, args118.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
61077
61811
  if (!result2.ok) {
61078
61812
  return {
61079
61813
  content: [{ type: "text", text: result2.error.message }],
@@ -61088,9 +61822,9 @@ This endpoint requires the following OAuth scope **read_inventory**.
61088
61822
 
61089
61823
  // src/funcs/materialsListMaterials.ts
61090
61824
  function materialsListMaterials(client, options) {
61091
- return new APIPromise($do141(client, options));
61825
+ return new APIPromise($do145(client, options));
61092
61826
  }
61093
- async function $do141(client, options) {
61827
+ async function $do145(client, options) {
61094
61828
  const path = pathToFunc("/material.json")();
61095
61829
  const headers = new Headers(compactMap({
61096
61830
  Accept: "application/json"
@@ -61194,9 +61928,9 @@ This endpoint requires the following OAuth scope **read_inventory**.
61194
61928
 
61195
61929
  // src/funcs/materialsUpdateMaterials.ts
61196
61930
  function materialsUpdateMaterials(client, request, options) {
61197
- return new APIPromise($do142(client, request, options));
61931
+ return new APIPromise($do146(client, request, options));
61198
61932
  }
61199
- async function $do142(client, request, options) {
61933
+ async function $do146(client, request, options) {
61200
61934
  const parsed = safeParse(request, (value) => UpdateMaterialsRequest$outboundSchema.parse(value), "Input validation failed");
61201
61935
  if (!parsed.ok) {
61202
61936
  return [parsed, { status: "invalid" }];
@@ -61282,12 +62016,12 @@ var init_materialsUpdateMaterials = __esm(() => {
61282
62016
  });
61283
62017
 
61284
62018
  // src/mcp-server/tools/materialsUpdateMaterials.ts
61285
- var args114, tool$materialsUpdateMaterials;
62019
+ var args118, tool$materialsUpdateMaterials;
61286
62020
  var init_materialsUpdateMaterials2 = __esm(() => {
61287
62021
  init_materialsUpdateMaterials();
61288
62022
  init_operations();
61289
62023
  init_tools();
61290
- args114 = {
62024
+ args118 = {
61291
62025
  request: UpdateMaterialsRequest$inboundSchema
61292
62026
  };
61293
62027
  tool$materialsUpdateMaterials = {
@@ -61300,9 +62034,9 @@ var init_materialsUpdateMaterials2 = __esm(() => {
61300
62034
  This endpoint requires the following OAuth scope **manage_inventory**.
61301
62035
 
61302
62036
  `,
61303
- args: args114,
61304
- tool: async (client, args115, ctx) => {
61305
- const [result2, apiCall] = await materialsUpdateMaterials(client, args115.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
62037
+ args: args118,
62038
+ tool: async (client, args119, ctx) => {
62039
+ const [result2, apiCall] = await materialsUpdateMaterials(client, args119.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
61306
62040
  if (!result2.ok) {
61307
62041
  return {
61308
62042
  content: [{ type: "text", text: result2.error.message }],
@@ -61317,9 +62051,9 @@ This endpoint requires the following OAuth scope **manage_inventory**.
61317
62051
 
61318
62052
  // src/funcs/searchGeneralSearch.ts
61319
62053
  function searchGeneralSearch(client, request, options) {
61320
- return new APIPromise($do143(client, request, options));
62054
+ return new APIPromise($do147(client, request, options));
61321
62055
  }
61322
- async function $do143(client, request, options) {
62056
+ async function $do147(client, request, options) {
61323
62057
  const parsed = safeParse(request, (value) => GeneralSearchRequest$outboundSchema.parse(value), "Input validation failed");
61324
62058
  if (!parsed.ok) {
61325
62059
  return [parsed, { status: "invalid" }];
@@ -61403,12 +62137,12 @@ var init_searchGeneralSearch = __esm(() => {
61403
62137
  });
61404
62138
 
61405
62139
  // src/mcp-server/tools/searchGeneralSearch.ts
61406
- var args115, tool$searchGeneralSearch;
62140
+ var args119, tool$searchGeneralSearch;
61407
62141
  var init_searchGeneralSearch2 = __esm(() => {
61408
62142
  init_searchGeneralSearch();
61409
62143
  init_operations();
61410
62144
  init_tools();
61411
- args115 = {
62145
+ args119 = {
61412
62146
  request: GeneralSearchRequest$inboundSchema
61413
62147
  };
61414
62148
  tool$searchGeneralSearch = {
@@ -61416,9 +62150,9 @@ var init_searchGeneralSearch2 = __esm(() => {
61416
62150
  description: `Search across multiple object types
61417
62151
 
61418
62152
  Performs a text search across jobs, companies, and materials. Returns combined results sorted by relevance.`,
61419
- args: args115,
61420
- tool: async (client, args116, ctx) => {
61421
- const [result2, apiCall] = await searchGeneralSearch(client, args116.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
62153
+ args: args119,
62154
+ tool: async (client, args120, ctx) => {
62155
+ const [result2, apiCall] = await searchGeneralSearch(client, args120.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
61422
62156
  if (!result2.ok) {
61423
62157
  return {
61424
62158
  content: [{ type: "text", text: result2.error.message }],
@@ -61433,9 +62167,9 @@ Performs a text search across jobs, companies, and materials. Returns combined r
61433
62167
 
61434
62168
  // src/funcs/searchJobEmbeddingSearch.ts
61435
62169
  function searchJobEmbeddingSearch(client, request, options) {
61436
- return new APIPromise($do144(client, request, options));
62170
+ return new APIPromise($do148(client, request, options));
61437
62171
  }
61438
- async function $do144(client, request, options) {
62172
+ async function $do148(client, request, options) {
61439
62173
  const parsed = safeParse(request, (value) => JobEmbeddingSearchRequest$outboundSchema.parse(value), "Input validation failed");
61440
62174
  if (!parsed.ok) {
61441
62175
  return [parsed, { status: "invalid" }];
@@ -61520,12 +62254,12 @@ var init_searchJobEmbeddingSearch = __esm(() => {
61520
62254
  });
61521
62255
 
61522
62256
  // src/mcp-server/tools/searchJobEmbeddingSearch.ts
61523
- var args116, tool$searchJobEmbeddingSearch;
62257
+ var args120, tool$searchJobEmbeddingSearch;
61524
62258
  var init_searchJobEmbeddingSearch2 = __esm(() => {
61525
62259
  init_searchJobEmbeddingSearch();
61526
62260
  init_operations();
61527
62261
  init_tools();
61528
- args116 = {
62262
+ args120 = {
61529
62263
  request: JobEmbeddingSearchRequest$inboundSchema
61530
62264
  };
61531
62265
  tool$searchJobEmbeddingSearch = {
@@ -61545,9 +62279,9 @@ Why this matters:
61545
62279
  - Uncover hidden patterns and connections in your job data that traditional search would miss
61546
62280
 
61547
62281
  This isn't just search—it's AI that truly understands what you're looking for and delivers the most relevant results, even when the exact words don't match.`,
61548
- args: args116,
61549
- tool: async (client, args117, ctx) => {
61550
- const [result2, apiCall] = await searchJobEmbeddingSearch(client, args117.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
62282
+ args: args120,
62283
+ tool: async (client, args121, ctx) => {
62284
+ const [result2, apiCall] = await searchJobEmbeddingSearch(client, args121.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
61551
62285
  if (!result2.ok) {
61552
62286
  return {
61553
62287
  content: [{ type: "text", text: result2.error.message }],
@@ -61562,9 +62296,9 @@ This isn't just search—it's AI that truly understands what you're looking for
61562
62296
 
61563
62297
  // src/funcs/searchObjectSearch.ts
61564
62298
  function searchObjectSearch(client, request, options) {
61565
- return new APIPromise($do145(client, request, options));
62299
+ return new APIPromise($do149(client, request, options));
61566
62300
  }
61567
- async function $do145(client, request, options) {
62301
+ async function $do149(client, request, options) {
61568
62302
  const parsed = safeParse(request, (value) => ObjectSearchRequest$outboundSchema.parse(value), "Input validation failed");
61569
62303
  if (!parsed.ok) {
61570
62304
  return [parsed, { status: "invalid" }];
@@ -61654,12 +62388,12 @@ var init_searchObjectSearch = __esm(() => {
61654
62388
  });
61655
62389
 
61656
62390
  // src/mcp-server/tools/searchObjectSearch.ts
61657
- var args117, tool$searchObjectSearch;
62391
+ var args121, tool$searchObjectSearch;
61658
62392
  var init_searchObjectSearch2 = __esm(() => {
61659
62393
  init_searchObjectSearch();
61660
62394
  init_operations();
61661
62395
  init_tools();
61662
- args117 = {
62396
+ args121 = {
61663
62397
  request: ObjectSearchRequest$inboundSchema
61664
62398
  };
61665
62399
  tool$searchObjectSearch = {
@@ -61667,9 +62401,9 @@ var init_searchObjectSearch2 = __esm(() => {
61667
62401
  description: `Search within a specific object type
61668
62402
 
61669
62403
  Performs a text search within a specific object type. Supported types: job, company, material, knowledgearticle, attachment, formresponse, asset, materialbundle`,
61670
- args: args117,
61671
- tool: async (client, args118, ctx) => {
61672
- const [result2, apiCall] = await searchObjectSearch(client, args118.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
62404
+ args: args121,
62405
+ tool: async (client, args122, ctx) => {
62406
+ const [result2, apiCall] = await searchObjectSearch(client, args122.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
61673
62407
  if (!result2.ok) {
61674
62408
  return {
61675
62409
  content: [{ type: "text", text: result2.error.message }],
@@ -61684,9 +62418,9 @@ Performs a text search within a specific object type. Supported types: job, comp
61684
62418
 
61685
62419
  // src/funcs/securityRolesGetSecurityRoles.ts
61686
62420
  function securityRolesGetSecurityRoles(client, request, options) {
61687
- return new APIPromise($do146(client, request, options));
62421
+ return new APIPromise($do150(client, request, options));
61688
62422
  }
61689
- async function $do146(client, request, options) {
62423
+ async function $do150(client, request, options) {
61690
62424
  const parsed = safeParse(request, (value) => GetSecurityRolesRequest$outboundSchema.parse(value), "Input validation failed");
61691
62425
  if (!parsed.ok) {
61692
62426
  return [parsed, { status: "invalid" }];
@@ -61771,12 +62505,12 @@ var init_securityRolesGetSecurityRoles = __esm(() => {
61771
62505
  });
61772
62506
 
61773
62507
  // src/mcp-server/tools/securityRolesGetSecurityRoles.ts
61774
- var args118, tool$securityRolesGetSecurityRoles;
62508
+ var args122, tool$securityRolesGetSecurityRoles;
61775
62509
  var init_securityRolesGetSecurityRoles2 = __esm(() => {
61776
62510
  init_securityRolesGetSecurityRoles();
61777
62511
  init_operations();
61778
62512
  init_tools();
61779
- args118 = {
62513
+ args122 = {
61780
62514
  request: GetSecurityRolesRequest$inboundSchema
61781
62515
  };
61782
62516
  tool$securityRolesGetSecurityRoles = {
@@ -61789,9 +62523,9 @@ var init_securityRolesGetSecurityRoles2 = __esm(() => {
61789
62523
  This endpoint requires the following OAuth scope **read_security_roles**.
61790
62524
 
61791
62525
  `,
61792
- args: args118,
61793
- tool: async (client, args119, ctx) => {
61794
- const [result2, apiCall] = await securityRolesGetSecurityRoles(client, args119.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
62526
+ args: args122,
62527
+ tool: async (client, args123, ctx) => {
62528
+ const [result2, apiCall] = await securityRolesGetSecurityRoles(client, args123.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
61795
62529
  if (!result2.ok) {
61796
62530
  return {
61797
62531
  content: [{ type: "text", text: result2.error.message }],
@@ -61806,9 +62540,9 @@ This endpoint requires the following OAuth scope **read_security_roles**.
61806
62540
 
61807
62541
  // src/funcs/securityRolesListSecurityRoles.ts
61808
62542
  function securityRolesListSecurityRoles(client, options) {
61809
- return new APIPromise($do147(client, options));
62543
+ return new APIPromise($do151(client, options));
61810
62544
  }
61811
- async function $do147(client, options) {
62545
+ async function $do151(client, options) {
61812
62546
  const path = pathToFunc("/securityrole.json")();
61813
62547
  const headers = new Headers(compactMap({
61814
62548
  Accept: "application/json"
@@ -61912,9 +62646,9 @@ This endpoint requires the following OAuth scope **read_security_roles**.
61912
62646
 
61913
62647
  // src/funcs/smsTemplatesCreateSMSTemplates.ts
61914
62648
  function smsTemplatesCreateSMSTemplates(client, request, options) {
61915
- return new APIPromise($do148(client, request, options));
62649
+ return new APIPromise($do152(client, request, options));
61916
62650
  }
61917
- async function $do148(client, request, options) {
62651
+ async function $do152(client, request, options) {
61918
62652
  const parsed = safeParse(request, (value) => SmsTemplateInput$outboundSchema.parse(value), "Input validation failed");
61919
62653
  if (!parsed.ok) {
61920
62654
  return [parsed, { status: "invalid" }];
@@ -61997,12 +62731,12 @@ var init_smsTemplatesCreateSMSTemplates = __esm(() => {
61997
62731
  });
61998
62732
 
61999
62733
  // src/mcp-server/tools/smsTemplatesCreateSMSTemplates.ts
62000
- var args119, tool$smsTemplatesCreateSMSTemplates;
62734
+ var args123, tool$smsTemplatesCreateSMSTemplates;
62001
62735
  var init_smsTemplatesCreateSMSTemplates2 = __esm(() => {
62002
62736
  init_smsTemplatesCreateSMSTemplates();
62003
62737
  init_components();
62004
62738
  init_tools();
62005
- args119 = {
62739
+ args123 = {
62006
62740
  request: SmsTemplateInput$inboundSchema
62007
62741
  };
62008
62742
  tool$smsTemplatesCreateSMSTemplates = {
@@ -62020,9 +62754,9 @@ This endpoint requires the following OAuth scope **manage_templates**.
62020
62754
  UUID is optional for record creation. If no UUID is supplied, a UUID will be automatically generated for the new record and returned in the \`x-record-uuid\` response header.
62021
62755
 
62022
62756
  `,
62023
- args: args119,
62024
- tool: async (client, args120, ctx) => {
62025
- const [result2, apiCall] = await smsTemplatesCreateSMSTemplates(client, args120.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
62757
+ args: args123,
62758
+ tool: async (client, args124, ctx) => {
62759
+ const [result2, apiCall] = await smsTemplatesCreateSMSTemplates(client, args124.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
62026
62760
  if (!result2.ok) {
62027
62761
  return {
62028
62762
  content: [{ type: "text", text: result2.error.message }],
@@ -62037,9 +62771,9 @@ UUID is optional for record creation. If no UUID is supplied, a UUID will be aut
62037
62771
 
62038
62772
  // src/funcs/smsTemplatesDeleteSMSTemplates.ts
62039
62773
  function smsTemplatesDeleteSMSTemplates(client, request, options) {
62040
- return new APIPromise($do149(client, request, options));
62774
+ return new APIPromise($do153(client, request, options));
62041
62775
  }
62042
- async function $do149(client, request, options) {
62776
+ async function $do153(client, request, options) {
62043
62777
  const parsed = safeParse(request, (value) => DeleteSMSTemplatesRequest$outboundSchema.parse(value), "Input validation failed");
62044
62778
  if (!parsed.ok) {
62045
62779
  return [parsed, { status: "invalid" }];
@@ -62124,12 +62858,12 @@ var init_smsTemplatesDeleteSMSTemplates = __esm(() => {
62124
62858
  });
62125
62859
 
62126
62860
  // src/mcp-server/tools/smsTemplatesDeleteSMSTemplates.ts
62127
- var args120, tool$smsTemplatesDeleteSMSTemplates;
62861
+ var args124, tool$smsTemplatesDeleteSMSTemplates;
62128
62862
  var init_smsTemplatesDeleteSMSTemplates2 = __esm(() => {
62129
62863
  init_smsTemplatesDeleteSMSTemplates();
62130
62864
  init_operations();
62131
62865
  init_tools();
62132
- args120 = {
62866
+ args124 = {
62133
62867
  request: DeleteSMSTemplatesRequest$inboundSchema
62134
62868
  };
62135
62869
  tool$smsTemplatesDeleteSMSTemplates = {
@@ -62146,9 +62880,9 @@ In ServiceM8, deleting a record sets its \`active\` field to \`0\`. Inactive rec
62146
62880
  This endpoint requires the following OAuth scope **manage_templates**.
62147
62881
 
62148
62882
  `,
62149
- args: args120,
62150
- tool: async (client, args121, ctx) => {
62151
- const [result2, apiCall] = await smsTemplatesDeleteSMSTemplates(client, args121.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
62883
+ args: args124,
62884
+ tool: async (client, args125, ctx) => {
62885
+ const [result2, apiCall] = await smsTemplatesDeleteSMSTemplates(client, args125.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
62152
62886
  if (!result2.ok) {
62153
62887
  return {
62154
62888
  content: [{ type: "text", text: result2.error.message }],
@@ -62163,9 +62897,9 @@ This endpoint requires the following OAuth scope **manage_templates**.
62163
62897
 
62164
62898
  // src/funcs/smsTemplatesGetSMSTemplates.ts
62165
62899
  function smsTemplatesGetSMSTemplates(client, request, options) {
62166
- return new APIPromise($do150(client, request, options));
62900
+ return new APIPromise($do154(client, request, options));
62167
62901
  }
62168
- async function $do150(client, request, options) {
62902
+ async function $do154(client, request, options) {
62169
62903
  const parsed = safeParse(request, (value) => GetSMSTemplatesRequest$outboundSchema.parse(value), "Input validation failed");
62170
62904
  if (!parsed.ok) {
62171
62905
  return [parsed, { status: "invalid" }];
@@ -62250,12 +62984,12 @@ var init_smsTemplatesGetSMSTemplates = __esm(() => {
62250
62984
  });
62251
62985
 
62252
62986
  // src/mcp-server/tools/smsTemplatesGetSMSTemplates.ts
62253
- var args121, tool$smsTemplatesGetSMSTemplates;
62987
+ var args125, tool$smsTemplatesGetSMSTemplates;
62254
62988
  var init_smsTemplatesGetSMSTemplates2 = __esm(() => {
62255
62989
  init_smsTemplatesGetSMSTemplates();
62256
62990
  init_operations();
62257
62991
  init_tools();
62258
- args121 = {
62992
+ args125 = {
62259
62993
  request: GetSMSTemplatesRequest$inboundSchema
62260
62994
  };
62261
62995
  tool$smsTemplatesGetSMSTemplates = {
@@ -62268,9 +63002,9 @@ var init_smsTemplatesGetSMSTemplates2 = __esm(() => {
62268
63002
  This endpoint requires the following OAuth scope **manage_templates**.
62269
63003
 
62270
63004
  `,
62271
- args: args121,
62272
- tool: async (client, args122, ctx) => {
62273
- const [result2, apiCall] = await smsTemplatesGetSMSTemplates(client, args122.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
63005
+ args: args125,
63006
+ tool: async (client, args126, ctx) => {
63007
+ const [result2, apiCall] = await smsTemplatesGetSMSTemplates(client, args126.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
62274
63008
  if (!result2.ok) {
62275
63009
  return {
62276
63010
  content: [{ type: "text", text: result2.error.message }],
@@ -62285,9 +63019,9 @@ This endpoint requires the following OAuth scope **manage_templates**.
62285
63019
 
62286
63020
  // src/funcs/smsTemplatesListSMSTemplates.ts
62287
63021
  function smsTemplatesListSMSTemplates(client, options) {
62288
- return new APIPromise($do151(client, options));
63022
+ return new APIPromise($do155(client, options));
62289
63023
  }
62290
- async function $do151(client, options) {
63024
+ async function $do155(client, options) {
62291
63025
  const path = pathToFunc("/smstemplate.json")();
62292
63026
  const headers = new Headers(compactMap({
62293
63027
  Accept: "application/json"
@@ -62391,9 +63125,9 @@ This endpoint requires the following OAuth scope **manage_templates**.
62391
63125
 
62392
63126
  // src/funcs/smsTemplatesUpdateSMSTemplates.ts
62393
63127
  function smsTemplatesUpdateSMSTemplates(client, request, options) {
62394
- return new APIPromise($do152(client, request, options));
63128
+ return new APIPromise($do156(client, request, options));
62395
63129
  }
62396
- async function $do152(client, request, options) {
63130
+ async function $do156(client, request, options) {
62397
63131
  const parsed = safeParse(request, (value) => UpdateSMSTemplatesRequest$outboundSchema.parse(value), "Input validation failed");
62398
63132
  if (!parsed.ok) {
62399
63133
  return [parsed, { status: "invalid" }];
@@ -62479,12 +63213,12 @@ var init_smsTemplatesUpdateSMSTemplates = __esm(() => {
62479
63213
  });
62480
63214
 
62481
63215
  // src/mcp-server/tools/smsTemplatesUpdateSMSTemplates.ts
62482
- var args122, tool$smsTemplatesUpdateSMSTemplates;
63216
+ var args126, tool$smsTemplatesUpdateSMSTemplates;
62483
63217
  var init_smsTemplatesUpdateSMSTemplates2 = __esm(() => {
62484
63218
  init_smsTemplatesUpdateSMSTemplates();
62485
63219
  init_operations();
62486
63220
  init_tools();
62487
- args122 = {
63221
+ args126 = {
62488
63222
  request: UpdateSMSTemplatesRequest$inboundSchema
62489
63223
  };
62490
63224
  tool$smsTemplatesUpdateSMSTemplates = {
@@ -62497,9 +63231,9 @@ var init_smsTemplatesUpdateSMSTemplates2 = __esm(() => {
62497
63231
  This endpoint requires the following OAuth scope **manage_templates**.
62498
63232
 
62499
63233
  `,
62500
- args: args122,
62501
- tool: async (client, args123, ctx) => {
62502
- const [result2, apiCall] = await smsTemplatesUpdateSMSTemplates(client, args123.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
63234
+ args: args126,
63235
+ tool: async (client, args127, ctx) => {
63236
+ const [result2, apiCall] = await smsTemplatesUpdateSMSTemplates(client, args127.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
62503
63237
  if (!result2.ok) {
62504
63238
  return {
62505
63239
  content: [{ type: "text", text: result2.error.message }],
@@ -62514,9 +63248,9 @@ This endpoint requires the following OAuth scope **manage_templates**.
62514
63248
 
62515
63249
  // src/funcs/staffMembersCreateStaffMembers.ts
62516
63250
  function staffMembersCreateStaffMembers(client, request, options) {
62517
- return new APIPromise($do153(client, request, options));
63251
+ return new APIPromise($do157(client, request, options));
62518
63252
  }
62519
- async function $do153(client, request, options) {
63253
+ async function $do157(client, request, options) {
62520
63254
  const parsed = safeParse(request, (value) => StaffInput$outboundSchema.parse(value), "Input validation failed");
62521
63255
  if (!parsed.ok) {
62522
63256
  return [parsed, { status: "invalid" }];
@@ -62599,12 +63333,12 @@ var init_staffMembersCreateStaffMembers = __esm(() => {
62599
63333
  });
62600
63334
 
62601
63335
  // src/mcp-server/tools/staffMembersCreateStaffMembers.ts
62602
- var args123, tool$staffMembersCreateStaffMembers;
63336
+ var args127, tool$staffMembersCreateStaffMembers;
62603
63337
  var init_staffMembersCreateStaffMembers2 = __esm(() => {
62604
63338
  init_staffMembersCreateStaffMembers();
62605
63339
  init_components();
62606
63340
  init_tools();
62607
- args123 = {
63341
+ args127 = {
62608
63342
  request: StaffInput$inboundSchema
62609
63343
  };
62610
63344
  tool$staffMembersCreateStaffMembers = {
@@ -62622,9 +63356,9 @@ This endpoint requires the following OAuth scope **manage_staff**.
62622
63356
  UUID is optional for record creation. If no UUID is supplied, a UUID will be automatically generated for the new record and returned in the \`x-record-uuid\` response header.
62623
63357
 
62624
63358
  `,
62625
- args: args123,
62626
- tool: async (client, args124, ctx) => {
62627
- const [result2, apiCall] = await staffMembersCreateStaffMembers(client, args124.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
63359
+ args: args127,
63360
+ tool: async (client, args128, ctx) => {
63361
+ const [result2, apiCall] = await staffMembersCreateStaffMembers(client, args128.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
62628
63362
  if (!result2.ok) {
62629
63363
  return {
62630
63364
  content: [{ type: "text", text: result2.error.message }],
@@ -62639,9 +63373,9 @@ UUID is optional for record creation. If no UUID is supplied, a UUID will be aut
62639
63373
 
62640
63374
  // src/funcs/staffMembersDeleteStaffMembers.ts
62641
63375
  function staffMembersDeleteStaffMembers(client, request, options) {
62642
- return new APIPromise($do154(client, request, options));
63376
+ return new APIPromise($do158(client, request, options));
62643
63377
  }
62644
- async function $do154(client, request, options) {
63378
+ async function $do158(client, request, options) {
62645
63379
  const parsed = safeParse(request, (value) => DeleteStaffMembersRequest$outboundSchema.parse(value), "Input validation failed");
62646
63380
  if (!parsed.ok) {
62647
63381
  return [parsed, { status: "invalid" }];
@@ -62726,12 +63460,12 @@ var init_staffMembersDeleteStaffMembers = __esm(() => {
62726
63460
  });
62727
63461
 
62728
63462
  // src/mcp-server/tools/staffMembersDeleteStaffMembers.ts
62729
- var args124, tool$staffMembersDeleteStaffMembers;
63463
+ var args128, tool$staffMembersDeleteStaffMembers;
62730
63464
  var init_staffMembersDeleteStaffMembers2 = __esm(() => {
62731
63465
  init_staffMembersDeleteStaffMembers();
62732
63466
  init_operations();
62733
63467
  init_tools();
62734
- args124 = {
63468
+ args128 = {
62735
63469
  request: DeleteStaffMembersRequest$inboundSchema
62736
63470
  };
62737
63471
  tool$staffMembersDeleteStaffMembers = {
@@ -62748,9 +63482,9 @@ In ServiceM8, deleting a record sets its \`active\` field to \`0\`. Inactive rec
62748
63482
  This endpoint requires the following OAuth scope **manage_staff**.
62749
63483
 
62750
63484
  `,
62751
- args: args124,
62752
- tool: async (client, args125, ctx) => {
62753
- const [result2, apiCall] = await staffMembersDeleteStaffMembers(client, args125.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
63485
+ args: args128,
63486
+ tool: async (client, args129, ctx) => {
63487
+ const [result2, apiCall] = await staffMembersDeleteStaffMembers(client, args129.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
62754
63488
  if (!result2.ok) {
62755
63489
  return {
62756
63490
  content: [{ type: "text", text: result2.error.message }],
@@ -62765,9 +63499,9 @@ This endpoint requires the following OAuth scope **manage_staff**.
62765
63499
 
62766
63500
  // src/funcs/staffMembersGetStaffMembers.ts
62767
63501
  function staffMembersGetStaffMembers(client, request, options) {
62768
- return new APIPromise($do155(client, request, options));
63502
+ return new APIPromise($do159(client, request, options));
62769
63503
  }
62770
- async function $do155(client, request, options) {
63504
+ async function $do159(client, request, options) {
62771
63505
  const parsed = safeParse(request, (value) => GetStaffMembersRequest$outboundSchema.parse(value), "Input validation failed");
62772
63506
  if (!parsed.ok) {
62773
63507
  return [parsed, { status: "invalid" }];
@@ -62852,12 +63586,12 @@ var init_staffMembersGetStaffMembers = __esm(() => {
62852
63586
  });
62853
63587
 
62854
63588
  // src/mcp-server/tools/staffMembersGetStaffMembers.ts
62855
- var args125, tool$staffMembersGetStaffMembers;
63589
+ var args129, tool$staffMembersGetStaffMembers;
62856
63590
  var init_staffMembersGetStaffMembers2 = __esm(() => {
62857
63591
  init_staffMembersGetStaffMembers();
62858
63592
  init_operations();
62859
63593
  init_tools();
62860
- args125 = {
63594
+ args129 = {
62861
63595
  request: GetStaffMembersRequest$inboundSchema
62862
63596
  };
62863
63597
  tool$staffMembersGetStaffMembers = {
@@ -62870,9 +63604,9 @@ var init_staffMembersGetStaffMembers2 = __esm(() => {
62870
63604
  This endpoint requires the following OAuth scope **read_staff**.
62871
63605
 
62872
63606
  `,
62873
- args: args125,
62874
- tool: async (client, args126, ctx) => {
62875
- const [result2, apiCall] = await staffMembersGetStaffMembers(client, args126.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
63607
+ args: args129,
63608
+ tool: async (client, args130, ctx) => {
63609
+ const [result2, apiCall] = await staffMembersGetStaffMembers(client, args130.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
62876
63610
  if (!result2.ok) {
62877
63611
  return {
62878
63612
  content: [{ type: "text", text: result2.error.message }],
@@ -62887,9 +63621,9 @@ This endpoint requires the following OAuth scope **read_staff**.
62887
63621
 
62888
63622
  // src/funcs/staffMembersListStaffMembers.ts
62889
63623
  function staffMembersListStaffMembers(client, options) {
62890
- return new APIPromise($do156(client, options));
63624
+ return new APIPromise($do160(client, options));
62891
63625
  }
62892
- async function $do156(client, options) {
63626
+ async function $do160(client, options) {
62893
63627
  const path = pathToFunc("/staff.json")();
62894
63628
  const headers = new Headers(compactMap({
62895
63629
  Accept: "application/json"
@@ -62993,9 +63727,9 @@ This endpoint requires the following OAuth scope **read_staff**.
62993
63727
 
62994
63728
  // src/funcs/staffMembersUpdateStaffMembers.ts
62995
63729
  function staffMembersUpdateStaffMembers(client, request, options) {
62996
- return new APIPromise($do157(client, request, options));
63730
+ return new APIPromise($do161(client, request, options));
62997
63731
  }
62998
- async function $do157(client, request, options) {
63732
+ async function $do161(client, request, options) {
62999
63733
  const parsed = safeParse(request, (value) => UpdateStaffMembersRequest$outboundSchema.parse(value), "Input validation failed");
63000
63734
  if (!parsed.ok) {
63001
63735
  return [parsed, { status: "invalid" }];
@@ -63081,12 +63815,12 @@ var init_staffMembersUpdateStaffMembers = __esm(() => {
63081
63815
  });
63082
63816
 
63083
63817
  // src/mcp-server/tools/staffMembersUpdateStaffMembers.ts
63084
- var args126, tool$staffMembersUpdateStaffMembers;
63818
+ var args130, tool$staffMembersUpdateStaffMembers;
63085
63819
  var init_staffMembersUpdateStaffMembers2 = __esm(() => {
63086
63820
  init_staffMembersUpdateStaffMembers();
63087
63821
  init_operations();
63088
63822
  init_tools();
63089
- args126 = {
63823
+ args130 = {
63090
63824
  request: UpdateStaffMembersRequest$inboundSchema
63091
63825
  };
63092
63826
  tool$staffMembersUpdateStaffMembers = {
@@ -63099,9 +63833,9 @@ var init_staffMembersUpdateStaffMembers2 = __esm(() => {
63099
63833
  This endpoint requires the following OAuth scope **manage_staff**.
63100
63834
 
63101
63835
  `,
63102
- args: args126,
63103
- tool: async (client, args127, ctx) => {
63104
- const [result2, apiCall] = await staffMembersUpdateStaffMembers(client, args127.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
63836
+ args: args130,
63837
+ tool: async (client, args131, ctx) => {
63838
+ const [result2, apiCall] = await staffMembersUpdateStaffMembers(client, args131.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
63105
63839
  if (!result2.ok) {
63106
63840
  return {
63107
63841
  content: [{ type: "text", text: result2.error.message }],
@@ -63116,9 +63850,9 @@ This endpoint requires the following OAuth scope **manage_staff**.
63116
63850
 
63117
63851
  // src/funcs/staffMessagesCreateStaffMessages.ts
63118
63852
  function staffMessagesCreateStaffMessages(client, request, options) {
63119
- return new APIPromise($do158(client, request, options));
63853
+ return new APIPromise($do162(client, request, options));
63120
63854
  }
63121
- async function $do158(client, request, options) {
63855
+ async function $do162(client, request, options) {
63122
63856
  const parsed = safeParse(request, (value) => StaffMessageInput$outboundSchema.parse(value), "Input validation failed");
63123
63857
  if (!parsed.ok) {
63124
63858
  return [parsed, { status: "invalid" }];
@@ -63201,12 +63935,12 @@ var init_staffMessagesCreateStaffMessages = __esm(() => {
63201
63935
  });
63202
63936
 
63203
63937
  // src/mcp-server/tools/staffMessagesCreateStaffMessages.ts
63204
- var args127, tool$staffMessagesCreateStaffMessages;
63938
+ var args131, tool$staffMessagesCreateStaffMessages;
63205
63939
  var init_staffMessagesCreateStaffMessages2 = __esm(() => {
63206
63940
  init_staffMessagesCreateStaffMessages();
63207
63941
  init_components();
63208
63942
  init_tools();
63209
- args127 = {
63943
+ args131 = {
63210
63944
  request: StaffMessageInput$inboundSchema
63211
63945
  };
63212
63946
  tool$staffMessagesCreateStaffMessages = {
@@ -63224,9 +63958,9 @@ This endpoint requires the following OAuth scope **publish_messages**.
63224
63958
  UUID is optional for record creation. If no UUID is supplied, a UUID will be automatically generated for the new record and returned in the \`x-record-uuid\` response header.
63225
63959
 
63226
63960
  `,
63227
- args: args127,
63228
- tool: async (client, args128, ctx) => {
63229
- const [result2, apiCall] = await staffMessagesCreateStaffMessages(client, args128.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
63961
+ args: args131,
63962
+ tool: async (client, args132, ctx) => {
63963
+ const [result2, apiCall] = await staffMessagesCreateStaffMessages(client, args132.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
63230
63964
  if (!result2.ok) {
63231
63965
  return {
63232
63966
  content: [{ type: "text", text: result2.error.message }],
@@ -63241,9 +63975,9 @@ UUID is optional for record creation. If no UUID is supplied, a UUID will be aut
63241
63975
 
63242
63976
  // src/funcs/staffMessagesDeleteStaffMessages.ts
63243
63977
  function staffMessagesDeleteStaffMessages(client, request, options) {
63244
- return new APIPromise($do159(client, request, options));
63978
+ return new APIPromise($do163(client, request, options));
63245
63979
  }
63246
- async function $do159(client, request, options) {
63980
+ async function $do163(client, request, options) {
63247
63981
  const parsed = safeParse(request, (value) => DeleteStaffMessagesRequest$outboundSchema.parse(value), "Input validation failed");
63248
63982
  if (!parsed.ok) {
63249
63983
  return [parsed, { status: "invalid" }];
@@ -63328,12 +64062,12 @@ var init_staffMessagesDeleteStaffMessages = __esm(() => {
63328
64062
  });
63329
64063
 
63330
64064
  // src/mcp-server/tools/staffMessagesDeleteStaffMessages.ts
63331
- var args128, tool$staffMessagesDeleteStaffMessages;
64065
+ var args132, tool$staffMessagesDeleteStaffMessages;
63332
64066
  var init_staffMessagesDeleteStaffMessages2 = __esm(() => {
63333
64067
  init_staffMessagesDeleteStaffMessages();
63334
64068
  init_operations();
63335
64069
  init_tools();
63336
- args128 = {
64070
+ args132 = {
63337
64071
  request: DeleteStaffMessagesRequest$inboundSchema
63338
64072
  };
63339
64073
  tool$staffMessagesDeleteStaffMessages = {
@@ -63350,9 +64084,9 @@ In ServiceM8, deleting a record sets its \`active\` field to \`0\`. Inactive rec
63350
64084
  This endpoint requires the following OAuth scope **publish_messages**.
63351
64085
 
63352
64086
  `,
63353
- args: args128,
63354
- tool: async (client, args129, ctx) => {
63355
- const [result2, apiCall] = await staffMessagesDeleteStaffMessages(client, args129.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
64087
+ args: args132,
64088
+ tool: async (client, args133, ctx) => {
64089
+ const [result2, apiCall] = await staffMessagesDeleteStaffMessages(client, args133.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
63356
64090
  if (!result2.ok) {
63357
64091
  return {
63358
64092
  content: [{ type: "text", text: result2.error.message }],
@@ -63367,9 +64101,9 @@ This endpoint requires the following OAuth scope **publish_messages**.
63367
64101
 
63368
64102
  // src/funcs/staffMessagesGetStaffMessages.ts
63369
64103
  function staffMessagesGetStaffMessages(client, request, options) {
63370
- return new APIPromise($do160(client, request, options));
64104
+ return new APIPromise($do164(client, request, options));
63371
64105
  }
63372
- async function $do160(client, request, options) {
64106
+ async function $do164(client, request, options) {
63373
64107
  const parsed = safeParse(request, (value) => GetStaffMessagesRequest$outboundSchema.parse(value), "Input validation failed");
63374
64108
  if (!parsed.ok) {
63375
64109
  return [parsed, { status: "invalid" }];
@@ -63454,12 +64188,12 @@ var init_staffMessagesGetStaffMessages = __esm(() => {
63454
64188
  });
63455
64189
 
63456
64190
  // src/mcp-server/tools/staffMessagesGetStaffMessages.ts
63457
- var args129, tool$staffMessagesGetStaffMessages;
64191
+ var args133, tool$staffMessagesGetStaffMessages;
63458
64192
  var init_staffMessagesGetStaffMessages2 = __esm(() => {
63459
64193
  init_staffMessagesGetStaffMessages();
63460
64194
  init_operations();
63461
64195
  init_tools();
63462
- args129 = {
64196
+ args133 = {
63463
64197
  request: GetStaffMessagesRequest$inboundSchema
63464
64198
  };
63465
64199
  tool$staffMessagesGetStaffMessages = {
@@ -63472,9 +64206,9 @@ var init_staffMessagesGetStaffMessages2 = __esm(() => {
63472
64206
  This endpoint requires the following OAuth scope **read_messages**.
63473
64207
 
63474
64208
  `,
63475
- args: args129,
63476
- tool: async (client, args130, ctx) => {
63477
- const [result2, apiCall] = await staffMessagesGetStaffMessages(client, args130.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
64209
+ args: args133,
64210
+ tool: async (client, args134, ctx) => {
64211
+ const [result2, apiCall] = await staffMessagesGetStaffMessages(client, args134.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
63478
64212
  if (!result2.ok) {
63479
64213
  return {
63480
64214
  content: [{ type: "text", text: result2.error.message }],
@@ -63489,9 +64223,9 @@ This endpoint requires the following OAuth scope **read_messages**.
63489
64223
 
63490
64224
  // src/funcs/staffMessagesListStaffMessages.ts
63491
64225
  function staffMessagesListStaffMessages(client, options) {
63492
- return new APIPromise($do161(client, options));
64226
+ return new APIPromise($do165(client, options));
63493
64227
  }
63494
- async function $do161(client, options) {
64228
+ async function $do165(client, options) {
63495
64229
  const path = pathToFunc("/staffmessage.json")();
63496
64230
  const headers = new Headers(compactMap({
63497
64231
  Accept: "application/json"
@@ -63595,9 +64329,9 @@ This endpoint requires the following OAuth scope **read_messages**.
63595
64329
 
63596
64330
  // src/funcs/staffMessagesUpdateStaffMessages.ts
63597
64331
  function staffMessagesUpdateStaffMessages(client, request, options) {
63598
- return new APIPromise($do162(client, request, options));
64332
+ return new APIPromise($do166(client, request, options));
63599
64333
  }
63600
- async function $do162(client, request, options) {
64334
+ async function $do166(client, request, options) {
63601
64335
  const parsed = safeParse(request, (value) => UpdateStaffMessagesRequest$outboundSchema.parse(value), "Input validation failed");
63602
64336
  if (!parsed.ok) {
63603
64337
  return [parsed, { status: "invalid" }];
@@ -63683,12 +64417,12 @@ var init_staffMessagesUpdateStaffMessages = __esm(() => {
63683
64417
  });
63684
64418
 
63685
64419
  // src/mcp-server/tools/staffMessagesUpdateStaffMessages.ts
63686
- var args130, tool$staffMessagesUpdateStaffMessages;
64420
+ var args134, tool$staffMessagesUpdateStaffMessages;
63687
64421
  var init_staffMessagesUpdateStaffMessages2 = __esm(() => {
63688
64422
  init_staffMessagesUpdateStaffMessages();
63689
64423
  init_operations();
63690
64424
  init_tools();
63691
- args130 = {
64425
+ args134 = {
63692
64426
  request: UpdateStaffMessagesRequest$inboundSchema
63693
64427
  };
63694
64428
  tool$staffMessagesUpdateStaffMessages = {
@@ -63701,9 +64435,9 @@ var init_staffMessagesUpdateStaffMessages2 = __esm(() => {
63701
64435
  This endpoint requires the following OAuth scope **publish_messages**.
63702
64436
 
63703
64437
  `,
63704
- args: args130,
63705
- tool: async (client, args131, ctx) => {
63706
- const [result2, apiCall] = await staffMessagesUpdateStaffMessages(client, args131.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
64438
+ args: args134,
64439
+ tool: async (client, args135, ctx) => {
64440
+ const [result2, apiCall] = await staffMessagesUpdateStaffMessages(client, args135.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
63707
64441
  if (!result2.ok) {
63708
64442
  return {
63709
64443
  content: [{ type: "text", text: result2.error.message }],
@@ -63718,9 +64452,9 @@ This endpoint requires the following OAuth scope **publish_messages**.
63718
64452
 
63719
64453
  // src/funcs/tasksCreateTasks.ts
63720
64454
  function tasksCreateTasks(client, request, options) {
63721
- return new APIPromise($do163(client, request, options));
64455
+ return new APIPromise($do167(client, request, options));
63722
64456
  }
63723
- async function $do163(client, request, options) {
64457
+ async function $do167(client, request, options) {
63724
64458
  const parsed = safeParse(request, (value) => TaskInput$outboundSchema.parse(value), "Input validation failed");
63725
64459
  if (!parsed.ok) {
63726
64460
  return [parsed, { status: "invalid" }];
@@ -63803,12 +64537,12 @@ var init_tasksCreateTasks = __esm(() => {
63803
64537
  });
63804
64538
 
63805
64539
  // src/mcp-server/tools/tasksCreateTasks.ts
63806
- var args131, tool$tasksCreateTasks;
64540
+ var args135, tool$tasksCreateTasks;
63807
64541
  var init_tasksCreateTasks2 = __esm(() => {
63808
64542
  init_tasksCreateTasks();
63809
64543
  init_components();
63810
64544
  init_tools();
63811
- args131 = {
64545
+ args135 = {
63812
64546
  request: TaskInput$inboundSchema
63813
64547
  };
63814
64548
  tool$tasksCreateTasks = {
@@ -63826,9 +64560,9 @@ This endpoint requires the following OAuth scope **manage_tasks**.
63826
64560
  UUID is optional for record creation. If no UUID is supplied, a UUID will be automatically generated for the new record and returned in the \`x-record-uuid\` response header.
63827
64561
 
63828
64562
  `,
63829
- args: args131,
63830
- tool: async (client, args132, ctx) => {
63831
- const [result2, apiCall] = await tasksCreateTasks(client, args132.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
64563
+ args: args135,
64564
+ tool: async (client, args136, ctx) => {
64565
+ const [result2, apiCall] = await tasksCreateTasks(client, args136.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
63832
64566
  if (!result2.ok) {
63833
64567
  return {
63834
64568
  content: [{ type: "text", text: result2.error.message }],
@@ -63843,9 +64577,9 @@ UUID is optional for record creation. If no UUID is supplied, a UUID will be aut
63843
64577
 
63844
64578
  // src/funcs/tasksDeleteTasks.ts
63845
64579
  function tasksDeleteTasks(client, request, options) {
63846
- return new APIPromise($do164(client, request, options));
64580
+ return new APIPromise($do168(client, request, options));
63847
64581
  }
63848
- async function $do164(client, request, options) {
64582
+ async function $do168(client, request, options) {
63849
64583
  const parsed = safeParse(request, (value) => DeleteTasksRequest$outboundSchema.parse(value), "Input validation failed");
63850
64584
  if (!parsed.ok) {
63851
64585
  return [parsed, { status: "invalid" }];
@@ -63930,12 +64664,12 @@ var init_tasksDeleteTasks = __esm(() => {
63930
64664
  });
63931
64665
 
63932
64666
  // src/mcp-server/tools/tasksDeleteTasks.ts
63933
- var args132, tool$tasksDeleteTasks;
64667
+ var args136, tool$tasksDeleteTasks;
63934
64668
  var init_tasksDeleteTasks2 = __esm(() => {
63935
64669
  init_tasksDeleteTasks();
63936
64670
  init_operations();
63937
64671
  init_tools();
63938
- args132 = {
64672
+ args136 = {
63939
64673
  request: DeleteTasksRequest$inboundSchema
63940
64674
  };
63941
64675
  tool$tasksDeleteTasks = {
@@ -63952,9 +64686,9 @@ In ServiceM8, deleting a record sets its \`active\` field to \`0\`. Inactive rec
63952
64686
  This endpoint requires the following OAuth scope **manage_tasks**.
63953
64687
 
63954
64688
  `,
63955
- args: args132,
63956
- tool: async (client, args133, ctx) => {
63957
- const [result2, apiCall] = await tasksDeleteTasks(client, args133.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
64689
+ args: args136,
64690
+ tool: async (client, args137, ctx) => {
64691
+ const [result2, apiCall] = await tasksDeleteTasks(client, args137.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
63958
64692
  if (!result2.ok) {
63959
64693
  return {
63960
64694
  content: [{ type: "text", text: result2.error.message }],
@@ -63969,9 +64703,9 @@ This endpoint requires the following OAuth scope **manage_tasks**.
63969
64703
 
63970
64704
  // src/funcs/tasksGetTasks.ts
63971
64705
  function tasksGetTasks(client, request, options) {
63972
- return new APIPromise($do165(client, request, options));
64706
+ return new APIPromise($do169(client, request, options));
63973
64707
  }
63974
- async function $do165(client, request, options) {
64708
+ async function $do169(client, request, options) {
63975
64709
  const parsed = safeParse(request, (value) => GetTasksRequest$outboundSchema.parse(value), "Input validation failed");
63976
64710
  if (!parsed.ok) {
63977
64711
  return [parsed, { status: "invalid" }];
@@ -64056,12 +64790,12 @@ var init_tasksGetTasks = __esm(() => {
64056
64790
  });
64057
64791
 
64058
64792
  // src/mcp-server/tools/tasksGetTasks.ts
64059
- var args133, tool$tasksGetTasks;
64793
+ var args137, tool$tasksGetTasks;
64060
64794
  var init_tasksGetTasks2 = __esm(() => {
64061
64795
  init_tasksGetTasks();
64062
64796
  init_operations();
64063
64797
  init_tools();
64064
- args133 = {
64798
+ args137 = {
64065
64799
  request: GetTasksRequest$inboundSchema
64066
64800
  };
64067
64801
  tool$tasksGetTasks = {
@@ -64074,9 +64808,9 @@ var init_tasksGetTasks2 = __esm(() => {
64074
64808
  This endpoint requires the following OAuth scope **read_tasks**.
64075
64809
 
64076
64810
  `,
64077
- args: args133,
64078
- tool: async (client, args134, ctx) => {
64079
- const [result2, apiCall] = await tasksGetTasks(client, args134.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
64811
+ args: args137,
64812
+ tool: async (client, args138, ctx) => {
64813
+ const [result2, apiCall] = await tasksGetTasks(client, args138.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
64080
64814
  if (!result2.ok) {
64081
64815
  return {
64082
64816
  content: [{ type: "text", text: result2.error.message }],
@@ -64091,9 +64825,9 @@ This endpoint requires the following OAuth scope **read_tasks**.
64091
64825
 
64092
64826
  // src/funcs/tasksListTasks.ts
64093
64827
  function tasksListTasks(client, options) {
64094
- return new APIPromise($do166(client, options));
64828
+ return new APIPromise($do170(client, options));
64095
64829
  }
64096
- async function $do166(client, options) {
64830
+ async function $do170(client, options) {
64097
64831
  const path = pathToFunc("/task.json")();
64098
64832
  const headers = new Headers(compactMap({
64099
64833
  Accept: "application/json"
@@ -64197,9 +64931,9 @@ This endpoint requires the following OAuth scope **read_tasks**.
64197
64931
 
64198
64932
  // src/funcs/tasksUpdateTasks.ts
64199
64933
  function tasksUpdateTasks(client, request, options) {
64200
- return new APIPromise($do167(client, request, options));
64934
+ return new APIPromise($do171(client, request, options));
64201
64935
  }
64202
- async function $do167(client, request, options) {
64936
+ async function $do171(client, request, options) {
64203
64937
  const parsed = safeParse(request, (value) => UpdateTasksRequest$outboundSchema.parse(value), "Input validation failed");
64204
64938
  if (!parsed.ok) {
64205
64939
  return [parsed, { status: "invalid" }];
@@ -64285,12 +65019,12 @@ var init_tasksUpdateTasks = __esm(() => {
64285
65019
  });
64286
65020
 
64287
65021
  // src/mcp-server/tools/tasksUpdateTasks.ts
64288
- var args134, tool$tasksUpdateTasks;
65022
+ var args138, tool$tasksUpdateTasks;
64289
65023
  var init_tasksUpdateTasks2 = __esm(() => {
64290
65024
  init_tasksUpdateTasks();
64291
65025
  init_operations();
64292
65026
  init_tools();
64293
- args134 = {
65027
+ args138 = {
64294
65028
  request: UpdateTasksRequest$inboundSchema
64295
65029
  };
64296
65030
  tool$tasksUpdateTasks = {
@@ -64303,9 +65037,9 @@ var init_tasksUpdateTasks2 = __esm(() => {
64303
65037
  This endpoint requires the following OAuth scope **manage_tasks**.
64304
65038
 
64305
65039
  `,
64306
- args: args134,
64307
- tool: async (client, args135, ctx) => {
64308
- const [result2, apiCall] = await tasksUpdateTasks(client, args135.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
65040
+ args: args138,
65041
+ tool: async (client, args139, ctx) => {
65042
+ const [result2, apiCall] = await tasksUpdateTasks(client, args139.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
64309
65043
  if (!result2.ok) {
64310
65044
  return {
64311
65045
  content: [{ type: "text", text: result2.error.message }],
@@ -64320,9 +65054,9 @@ This endpoint requires the following OAuth scope **manage_tasks**.
64320
65054
 
64321
65055
  // src/funcs/taxRatesCreateTaxRates.ts
64322
65056
  function taxRatesCreateTaxRates(client, request, options) {
64323
- return new APIPromise($do168(client, request, options));
65057
+ return new APIPromise($do172(client, request, options));
64324
65058
  }
64325
- async function $do168(client, request, options) {
65059
+ async function $do172(client, request, options) {
64326
65060
  const parsed = safeParse(request, (value) => TaxRateInput$outboundSchema.parse(value), "Input validation failed");
64327
65061
  if (!parsed.ok) {
64328
65062
  return [parsed, { status: "invalid" }];
@@ -64405,12 +65139,12 @@ var init_taxRatesCreateTaxRates = __esm(() => {
64405
65139
  });
64406
65140
 
64407
65141
  // src/mcp-server/tools/taxRatesCreateTaxRates.ts
64408
- var args135, tool$taxRatesCreateTaxRates;
65142
+ var args139, tool$taxRatesCreateTaxRates;
64409
65143
  var init_taxRatesCreateTaxRates2 = __esm(() => {
64410
65144
  init_taxRatesCreateTaxRates();
64411
65145
  init_components();
64412
65146
  init_tools();
64413
- args135 = {
65147
+ args139 = {
64414
65148
  request: TaxRateInput$inboundSchema
64415
65149
  };
64416
65150
  tool$taxRatesCreateTaxRates = {
@@ -64428,9 +65162,9 @@ This endpoint requires the following OAuth scope **manage_tax_rates**.
64428
65162
  UUID is optional for record creation. If no UUID is supplied, a UUID will be automatically generated for the new record and returned in the \`x-record-uuid\` response header.
64429
65163
 
64430
65164
  `,
64431
- args: args135,
64432
- tool: async (client, args136, ctx) => {
64433
- const [result2, apiCall] = await taxRatesCreateTaxRates(client, args136.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
65165
+ args: args139,
65166
+ tool: async (client, args140, ctx) => {
65167
+ const [result2, apiCall] = await taxRatesCreateTaxRates(client, args140.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
64434
65168
  if (!result2.ok) {
64435
65169
  return {
64436
65170
  content: [{ type: "text", text: result2.error.message }],
@@ -64445,9 +65179,9 @@ UUID is optional for record creation. If no UUID is supplied, a UUID will be aut
64445
65179
 
64446
65180
  // src/funcs/taxRatesDeleteTaxRates.ts
64447
65181
  function taxRatesDeleteTaxRates(client, request, options) {
64448
- return new APIPromise($do169(client, request, options));
65182
+ return new APIPromise($do173(client, request, options));
64449
65183
  }
64450
- async function $do169(client, request, options) {
65184
+ async function $do173(client, request, options) {
64451
65185
  const parsed = safeParse(request, (value) => DeleteTaxRatesRequest$outboundSchema.parse(value), "Input validation failed");
64452
65186
  if (!parsed.ok) {
64453
65187
  return [parsed, { status: "invalid" }];
@@ -64532,12 +65266,12 @@ var init_taxRatesDeleteTaxRates = __esm(() => {
64532
65266
  });
64533
65267
 
64534
65268
  // src/mcp-server/tools/taxRatesDeleteTaxRates.ts
64535
- var args136, tool$taxRatesDeleteTaxRates;
65269
+ var args140, tool$taxRatesDeleteTaxRates;
64536
65270
  var init_taxRatesDeleteTaxRates2 = __esm(() => {
64537
65271
  init_taxRatesDeleteTaxRates();
64538
65272
  init_operations();
64539
65273
  init_tools();
64540
- args136 = {
65274
+ args140 = {
64541
65275
  request: DeleteTaxRatesRequest$inboundSchema
64542
65276
  };
64543
65277
  tool$taxRatesDeleteTaxRates = {
@@ -64554,9 +65288,9 @@ In ServiceM8, deleting a record sets its \`active\` field to \`0\`. Inactive rec
64554
65288
  This endpoint requires the following OAuth scope **manage_tax_rates**.
64555
65289
 
64556
65290
  `,
64557
- args: args136,
64558
- tool: async (client, args137, ctx) => {
64559
- const [result2, apiCall] = await taxRatesDeleteTaxRates(client, args137.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
65291
+ args: args140,
65292
+ tool: async (client, args141, ctx) => {
65293
+ const [result2, apiCall] = await taxRatesDeleteTaxRates(client, args141.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
64560
65294
  if (!result2.ok) {
64561
65295
  return {
64562
65296
  content: [{ type: "text", text: result2.error.message }],
@@ -64571,9 +65305,9 @@ This endpoint requires the following OAuth scope **manage_tax_rates**.
64571
65305
 
64572
65306
  // src/funcs/taxRatesGetTaxRates.ts
64573
65307
  function taxRatesGetTaxRates(client, request, options) {
64574
- return new APIPromise($do170(client, request, options));
65308
+ return new APIPromise($do174(client, request, options));
64575
65309
  }
64576
- async function $do170(client, request, options) {
65310
+ async function $do174(client, request, options) {
64577
65311
  const parsed = safeParse(request, (value) => GetTaxRatesRequest$outboundSchema.parse(value), "Input validation failed");
64578
65312
  if (!parsed.ok) {
64579
65313
  return [parsed, { status: "invalid" }];
@@ -64658,12 +65392,12 @@ var init_taxRatesGetTaxRates = __esm(() => {
64658
65392
  });
64659
65393
 
64660
65394
  // src/mcp-server/tools/taxRatesGetTaxRates.ts
64661
- var args137, tool$taxRatesGetTaxRates;
65395
+ var args141, tool$taxRatesGetTaxRates;
64662
65396
  var init_taxRatesGetTaxRates2 = __esm(() => {
64663
65397
  init_taxRatesGetTaxRates();
64664
65398
  init_operations();
64665
65399
  init_tools();
64666
- args137 = {
65400
+ args141 = {
64667
65401
  request: GetTaxRatesRequest$inboundSchema
64668
65402
  };
64669
65403
  tool$taxRatesGetTaxRates = {
@@ -64676,9 +65410,9 @@ var init_taxRatesGetTaxRates2 = __esm(() => {
64676
65410
  This endpoint requires the following OAuth scope **read_tax_rates**.
64677
65411
 
64678
65412
  `,
64679
- args: args137,
64680
- tool: async (client, args138, ctx) => {
64681
- const [result2, apiCall] = await taxRatesGetTaxRates(client, args138.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
65413
+ args: args141,
65414
+ tool: async (client, args142, ctx) => {
65415
+ const [result2, apiCall] = await taxRatesGetTaxRates(client, args142.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
64682
65416
  if (!result2.ok) {
64683
65417
  return {
64684
65418
  content: [{ type: "text", text: result2.error.message }],
@@ -64693,9 +65427,9 @@ This endpoint requires the following OAuth scope **read_tax_rates**.
64693
65427
 
64694
65428
  // src/funcs/taxRatesListTaxRates.ts
64695
65429
  function taxRatesListTaxRates(client, options) {
64696
- return new APIPromise($do171(client, options));
65430
+ return new APIPromise($do175(client, options));
64697
65431
  }
64698
- async function $do171(client, options) {
65432
+ async function $do175(client, options) {
64699
65433
  const path = pathToFunc("/taxrate.json")();
64700
65434
  const headers = new Headers(compactMap({
64701
65435
  Accept: "application/json"
@@ -64799,9 +65533,9 @@ This endpoint requires the following OAuth scope **read_tax_rates**.
64799
65533
 
64800
65534
  // src/funcs/taxRatesUpdateTaxRates.ts
64801
65535
  function taxRatesUpdateTaxRates(client, request, options) {
64802
- return new APIPromise($do172(client, request, options));
65536
+ return new APIPromise($do176(client, request, options));
64803
65537
  }
64804
- async function $do172(client, request, options) {
65538
+ async function $do176(client, request, options) {
64805
65539
  const parsed = safeParse(request, (value) => UpdateTaxRatesRequest$outboundSchema.parse(value), "Input validation failed");
64806
65540
  if (!parsed.ok) {
64807
65541
  return [parsed, { status: "invalid" }];
@@ -64887,12 +65621,12 @@ var init_taxRatesUpdateTaxRates = __esm(() => {
64887
65621
  });
64888
65622
 
64889
65623
  // src/mcp-server/tools/taxRatesUpdateTaxRates.ts
64890
- var args138, tool$taxRatesUpdateTaxRates;
65624
+ var args142, tool$taxRatesUpdateTaxRates;
64891
65625
  var init_taxRatesUpdateTaxRates2 = __esm(() => {
64892
65626
  init_taxRatesUpdateTaxRates();
64893
65627
  init_operations();
64894
65628
  init_tools();
64895
- args138 = {
65629
+ args142 = {
64896
65630
  request: UpdateTaxRatesRequest$inboundSchema
64897
65631
  };
64898
65632
  tool$taxRatesUpdateTaxRates = {
@@ -64905,9 +65639,9 @@ var init_taxRatesUpdateTaxRates2 = __esm(() => {
64905
65639
  This endpoint requires the following OAuth scope **manage_tax_rates**.
64906
65640
 
64907
65641
  `,
64908
- args: args138,
64909
- tool: async (client, args139, ctx) => {
64910
- const [result2, apiCall] = await taxRatesUpdateTaxRates(client, args139.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
65642
+ args: args142,
65643
+ tool: async (client, args143, ctx) => {
65644
+ const [result2, apiCall] = await taxRatesUpdateTaxRates(client, args143.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
64911
65645
  if (!result2.ok) {
64912
65646
  return {
64913
65647
  content: [{ type: "text", text: result2.error.message }],
@@ -64922,9 +65656,9 @@ This endpoint requires the following OAuth scope **manage_tax_rates**.
64922
65656
 
64923
65657
  // src/funcs/vendorsGetVendors.ts
64924
65658
  function vendorsGetVendors(client, request, options) {
64925
- return new APIPromise($do173(client, request, options));
65659
+ return new APIPromise($do177(client, request, options));
64926
65660
  }
64927
- async function $do173(client, request, options) {
65661
+ async function $do177(client, request, options) {
64928
65662
  const parsed = safeParse(request, (value) => GetVendorsRequest$outboundSchema.parse(value), "Input validation failed");
64929
65663
  if (!parsed.ok) {
64930
65664
  return [parsed, { status: "invalid" }];
@@ -65009,12 +65743,12 @@ var init_vendorsGetVendors = __esm(() => {
65009
65743
  });
65010
65744
 
65011
65745
  // src/mcp-server/tools/vendorsGetVendors.ts
65012
- var args139, tool$vendorsGetVendors;
65746
+ var args143, tool$vendorsGetVendors;
65013
65747
  var init_vendorsGetVendors2 = __esm(() => {
65014
65748
  init_vendorsGetVendors();
65015
65749
  init_operations();
65016
65750
  init_tools();
65017
- args139 = {
65751
+ args143 = {
65018
65752
  request: GetVendorsRequest$inboundSchema
65019
65753
  };
65020
65754
  tool$vendorsGetVendors = {
@@ -65029,9 +65763,9 @@ Vendor account information
65029
65763
  This endpoint requires the following OAuth scope **vendor**.
65030
65764
 
65031
65765
  `,
65032
- args: args139,
65033
- tool: async (client, args140, ctx) => {
65034
- const [result2, apiCall] = await vendorsGetVendors(client, args140.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
65766
+ args: args143,
65767
+ tool: async (client, args144, ctx) => {
65768
+ const [result2, apiCall] = await vendorsGetVendors(client, args144.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
65035
65769
  if (!result2.ok) {
65036
65770
  return {
65037
65771
  content: [{ type: "text", text: result2.error.message }],
@@ -65046,9 +65780,9 @@ This endpoint requires the following OAuth scope **vendor**.
65046
65780
 
65047
65781
  // src/funcs/vendorsListVendors.ts
65048
65782
  function vendorsListVendors(client, options) {
65049
- return new APIPromise($do174(client, options));
65783
+ return new APIPromise($do178(client, options));
65050
65784
  }
65051
- async function $do174(client, options) {
65785
+ async function $do178(client, options) {
65052
65786
  const path = pathToFunc("/vendor.json")();
65053
65787
  const headers = new Headers(compactMap({
65054
65788
  Accept: "application/json"
@@ -65156,7 +65890,7 @@ This endpoint requires the following OAuth scope **vendor**.
65156
65890
  function createMCPServer(deps) {
65157
65891
  const server = new McpServer({
65158
65892
  name: "ServiceM8",
65159
- version: "0.9.42"
65893
+ version: "0.9.44"
65160
65894
  });
65161
65895
  const client = new ServiceM8Core({
65162
65896
  security: deps.security,
@@ -65235,7 +65969,10 @@ function createMCPServer(deps) {
65235
65969
  tool(tool$formFieldsUpdateFormFields);
65236
65970
  tool(tool$formFieldsDeleteFormFields);
65237
65971
  tool(tool$formResponsesListFormResponses);
65972
+ tool(tool$formResponsesCreateFormResponses);
65238
65973
  tool(tool$formResponsesGetFormResponses);
65974
+ tool(tool$formResponsesUpdateFormResponses);
65975
+ tool(tool$formResponsesDeleteFormResponses);
65239
65976
  tool(tool$jobsListJobs);
65240
65977
  tool(tool$jobsCreateJobs);
65241
65978
  tool(tool$jobsGetJobs);
@@ -65334,6 +66071,7 @@ function createMCPServer(deps) {
65334
66071
  tool(tool$vendorsListVendors);
65335
66072
  tool(tool$vendorsGetVendors);
65336
66073
  tool(tool$inboxListInboxMessages);
66074
+ tool(tool$inboxCreateInboxMessage);
65337
66075
  tool(tool$inboxGetInboxMessage);
65338
66076
  tool(tool$inboxMarkInboxMessageAsRead);
65339
66077
  tool(tool$inboxArchiveInboxMessage);
@@ -65415,8 +66153,11 @@ var init_server2 = __esm(() => {
65415
66153
  init_formFieldsGetFormFields2();
65416
66154
  init_formFieldsListFormFields2();
65417
66155
  init_formFieldsUpdateFormFields2();
66156
+ init_formResponsesCreateFormResponses2();
66157
+ init_formResponsesDeleteFormResponses2();
65418
66158
  init_formResponsesGetFormResponses2();
65419
66159
  init_formResponsesListFormResponses2();
66160
+ init_formResponsesUpdateFormResponses2();
65420
66161
  init_formsCreateForms2();
65421
66162
  init_formsDeleteForms2();
65422
66163
  init_formsGetForms2();
@@ -65426,6 +66167,7 @@ var init_server2 = __esm(() => {
65426
66167
  init_inboxArchiveInboxMessage2();
65427
66168
  init_inboxAttachInboxMessageToJob2();
65428
66169
  init_inboxConvertInboxMessageToJob2();
66170
+ init_inboxCreateInboxMessage2();
65429
66171
  init_inboxGetInboxMessage2();
65430
66172
  init_inboxListInboxMessages2();
65431
66173
  init_inboxMarkInboxMessageAsRead2();
@@ -66707,7 +67449,7 @@ var routes = an({
66707
67449
  var app = He(routes, {
66708
67450
  name: "mcp",
66709
67451
  versionInfo: {
66710
- currentVersion: "0.9.42"
67452
+ currentVersion: "0.9.44"
66711
67453
  }
66712
67454
  });
66713
67455
  zt(app, process3.argv.slice(2), buildContext(process3));
@@ -66715,5 +67457,5 @@ export {
66715
67457
  app
66716
67458
  };
66717
67459
 
66718
- //# debugId=4AC4A412EE24003564756E2164756E21
67460
+ //# debugId=6D3471D6D0279DBB64756E2164756E21
66719
67461
  //# sourceMappingURL=mcp-server.js.map