servicem8 0.9.24 → 0.9.26

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 (337) hide show
  1. package/api.json +313 -306
  2. package/bin/mcp-server.js +36 -28
  3. package/bin/mcp-server.js.map +45 -45
  4. package/dist/commonjs/lib/config.d.ts +3 -3
  5. package/dist/commonjs/lib/config.js +3 -3
  6. package/dist/commonjs/mcp-server/mcp-server.js +1 -1
  7. package/dist/commonjs/mcp-server/server.js +1 -1
  8. package/dist/commonjs/models/components/allocationwindow.d.ts +20 -20
  9. package/dist/commonjs/models/components/allocationwindow.d.ts.map +1 -1
  10. package/dist/commonjs/models/components/allocationwindow.js.map +1 -1
  11. package/dist/commonjs/models/components/asset.d.ts +20 -20
  12. package/dist/commonjs/models/components/asset.d.ts.map +1 -1
  13. package/dist/commonjs/models/components/asset.js.map +1 -1
  14. package/dist/commonjs/models/components/assettype.d.ts +20 -20
  15. package/dist/commonjs/models/components/assettype.d.ts.map +1 -1
  16. package/dist/commonjs/models/components/assettype.js.map +1 -1
  17. package/dist/commonjs/models/components/assettypefield.d.ts +44 -44
  18. package/dist/commonjs/models/components/assettypefield.d.ts.map +1 -1
  19. package/dist/commonjs/models/components/assettypefield.js.map +1 -1
  20. package/dist/commonjs/models/components/attachment.d.ts +20 -20
  21. package/dist/commonjs/models/components/attachment.d.ts.map +1 -1
  22. package/dist/commonjs/models/components/attachment.js.map +1 -1
  23. package/dist/commonjs/models/components/badge.d.ts +20 -20
  24. package/dist/commonjs/models/components/badge.d.ts.map +1 -1
  25. package/dist/commonjs/models/components/badge.js.map +1 -1
  26. package/dist/commonjs/models/components/category.d.ts +20 -20
  27. package/dist/commonjs/models/components/category.d.ts.map +1 -1
  28. package/dist/commonjs/models/components/category.js.map +1 -1
  29. package/dist/commonjs/models/components/company.d.ts +20 -20
  30. package/dist/commonjs/models/components/company.d.ts.map +1 -1
  31. package/dist/commonjs/models/components/company.js.map +1 -1
  32. package/dist/commonjs/models/components/companycontact.d.ts +26 -20
  33. package/dist/commonjs/models/components/companycontact.d.ts.map +1 -1
  34. package/dist/commonjs/models/components/companycontact.js.map +1 -1
  35. package/dist/commonjs/models/components/emailtemplate.d.ts +20 -20
  36. package/dist/commonjs/models/components/emailtemplate.d.ts.map +1 -1
  37. package/dist/commonjs/models/components/emailtemplate.js.map +1 -1
  38. package/dist/commonjs/models/components/feedback.d.ts +20 -20
  39. package/dist/commonjs/models/components/feedback.d.ts.map +1 -1
  40. package/dist/commonjs/models/components/feedback.js.map +1 -1
  41. package/dist/commonjs/models/components/form.d.ts +48 -44
  42. package/dist/commonjs/models/components/form.d.ts.map +1 -1
  43. package/dist/commonjs/models/components/form.js +25 -17
  44. package/dist/commonjs/models/components/form.js.map +1 -1
  45. package/dist/commonjs/models/components/formfield.d.ts +20 -20
  46. package/dist/commonjs/models/components/formfield.d.ts.map +1 -1
  47. package/dist/commonjs/models/components/formfield.js.map +1 -1
  48. package/dist/commonjs/models/components/formresponse.d.ts +20 -20
  49. package/dist/commonjs/models/components/formresponse.d.ts.map +1 -1
  50. package/dist/commonjs/models/components/formresponse.js.map +1 -1
  51. package/dist/commonjs/models/components/inboxmessage.d.ts +23 -23
  52. package/dist/commonjs/models/components/inboxmessage.d.ts.map +1 -1
  53. package/dist/commonjs/models/components/inboxmessage.js.map +1 -1
  54. package/dist/commonjs/models/components/inboxmessagedetail.d.ts +23 -23
  55. package/dist/commonjs/models/components/inboxmessagedetail.d.ts.map +1 -1
  56. package/dist/commonjs/models/components/inboxmessagedetail.js.map +1 -1
  57. package/dist/commonjs/models/components/job.d.ts +64 -64
  58. package/dist/commonjs/models/components/job.d.ts.map +1 -1
  59. package/dist/commonjs/models/components/job.js.map +1 -1
  60. package/dist/commonjs/models/components/jobactivity.d.ts +20 -20
  61. package/dist/commonjs/models/components/jobactivity.d.ts.map +1 -1
  62. package/dist/commonjs/models/components/jobactivity.js.map +1 -1
  63. package/dist/commonjs/models/components/joballocation.d.ts +20 -20
  64. package/dist/commonjs/models/components/joballocation.d.ts.map +1 -1
  65. package/dist/commonjs/models/components/joballocation.js.map +1 -1
  66. package/dist/commonjs/models/components/jobchecklist.d.ts +93 -93
  67. package/dist/commonjs/models/components/jobchecklist.d.ts.map +1 -1
  68. package/dist/commonjs/models/components/jobchecklist.js +17 -17
  69. package/dist/commonjs/models/components/jobchecklist.js.map +1 -1
  70. package/dist/commonjs/models/components/jobcontact.d.ts +20 -20
  71. package/dist/commonjs/models/components/jobcontact.d.ts.map +1 -1
  72. package/dist/commonjs/models/components/jobcontact.js.map +1 -1
  73. package/dist/commonjs/models/components/jobmaterial.d.ts +20 -20
  74. package/dist/commonjs/models/components/jobmaterial.d.ts.map +1 -1
  75. package/dist/commonjs/models/components/jobmaterial.js.map +1 -1
  76. package/dist/commonjs/models/components/jobmaterialbundle.d.ts +20 -20
  77. package/dist/commonjs/models/components/jobmaterialbundle.d.ts.map +1 -1
  78. package/dist/commonjs/models/components/jobmaterialbundle.js.map +1 -1
  79. package/dist/commonjs/models/components/jobpayment.d.ts +40 -40
  80. package/dist/commonjs/models/components/jobpayment.d.ts.map +1 -1
  81. package/dist/commonjs/models/components/jobpayment.js.map +1 -1
  82. package/dist/commonjs/models/components/jobtemplate.d.ts +20 -20
  83. package/dist/commonjs/models/components/jobtemplate.d.ts.map +1 -1
  84. package/dist/commonjs/models/components/jobtemplate.js.map +1 -1
  85. package/dist/commonjs/models/components/knowledgearticle.d.ts +40 -40
  86. package/dist/commonjs/models/components/knowledgearticle.d.ts.map +1 -1
  87. package/dist/commonjs/models/components/knowledgearticle.js.map +1 -1
  88. package/dist/commonjs/models/components/location.d.ts +20 -20
  89. package/dist/commonjs/models/components/location.d.ts.map +1 -1
  90. package/dist/commonjs/models/components/location.js.map +1 -1
  91. package/dist/commonjs/models/components/material.d.ts +60 -60
  92. package/dist/commonjs/models/components/material.d.ts.map +1 -1
  93. package/dist/commonjs/models/components/material.js.map +1 -1
  94. package/dist/commonjs/models/components/materialbundle.d.ts +20 -20
  95. package/dist/commonjs/models/components/materialbundle.d.ts.map +1 -1
  96. package/dist/commonjs/models/components/materialbundle.js.map +1 -1
  97. package/dist/commonjs/models/components/note.d.ts +20 -20
  98. package/dist/commonjs/models/components/note.d.ts.map +1 -1
  99. package/dist/commonjs/models/components/note.js.map +1 -1
  100. package/dist/commonjs/models/components/queue.d.ts +40 -40
  101. package/dist/commonjs/models/components/queue.d.ts.map +1 -1
  102. package/dist/commonjs/models/components/queue.js.map +1 -1
  103. package/dist/commonjs/models/components/securityrole.d.ts +20 -20
  104. package/dist/commonjs/models/components/securityrole.d.ts.map +1 -1
  105. package/dist/commonjs/models/components/securityrole.js.map +1 -1
  106. package/dist/commonjs/models/components/smstemplate.d.ts +20 -20
  107. package/dist/commonjs/models/components/smstemplate.d.ts.map +1 -1
  108. package/dist/commonjs/models/components/smstemplate.js.map +1 -1
  109. package/dist/commonjs/models/components/staff.d.ts +40 -40
  110. package/dist/commonjs/models/components/staff.d.ts.map +1 -1
  111. package/dist/commonjs/models/components/staff.js.map +1 -1
  112. package/dist/commonjs/models/components/staffmessage.d.ts +20 -20
  113. package/dist/commonjs/models/components/staffmessage.d.ts.map +1 -1
  114. package/dist/commonjs/models/components/staffmessage.js.map +1 -1
  115. package/dist/commonjs/models/components/task.d.ts +20 -20
  116. package/dist/commonjs/models/components/task.d.ts.map +1 -1
  117. package/dist/commonjs/models/components/task.js.map +1 -1
  118. package/dist/commonjs/models/components/taxrate.d.ts +36 -36
  119. package/dist/commonjs/models/components/taxrate.d.ts.map +1 -1
  120. package/dist/commonjs/models/components/taxrate.js.map +1 -1
  121. package/dist/commonjs/models/components/vendor.d.ts +20 -20
  122. package/dist/commonjs/models/components/vendor.d.ts.map +1 -1
  123. package/dist/commonjs/models/components/vendor.js.map +1 -1
  124. package/dist/commonjs/models/operations/listinboxmessages.d.ts +18 -18
  125. package/dist/commonjs/models/operations/listinboxmessages.d.ts.map +1 -1
  126. package/dist/commonjs/models/operations/listinboxmessages.js.map +1 -1
  127. package/dist/commonjs/models/operations/objectsearch.d.ts +14 -14
  128. package/dist/commonjs/models/operations/objectsearch.d.ts.map +1 -1
  129. package/dist/commonjs/models/operations/objectsearch.js.map +1 -1
  130. package/dist/esm/lib/config.d.ts +3 -3
  131. package/dist/esm/lib/config.js +3 -3
  132. package/dist/esm/mcp-server/mcp-server.js +1 -1
  133. package/dist/esm/mcp-server/server.js +1 -1
  134. package/dist/esm/models/components/allocationwindow.d.ts +20 -20
  135. package/dist/esm/models/components/allocationwindow.d.ts.map +1 -1
  136. package/dist/esm/models/components/allocationwindow.js.map +1 -1
  137. package/dist/esm/models/components/asset.d.ts +20 -20
  138. package/dist/esm/models/components/asset.d.ts.map +1 -1
  139. package/dist/esm/models/components/asset.js.map +1 -1
  140. package/dist/esm/models/components/assettype.d.ts +20 -20
  141. package/dist/esm/models/components/assettype.d.ts.map +1 -1
  142. package/dist/esm/models/components/assettype.js.map +1 -1
  143. package/dist/esm/models/components/assettypefield.d.ts +44 -44
  144. package/dist/esm/models/components/assettypefield.d.ts.map +1 -1
  145. package/dist/esm/models/components/assettypefield.js.map +1 -1
  146. package/dist/esm/models/components/attachment.d.ts +20 -20
  147. package/dist/esm/models/components/attachment.d.ts.map +1 -1
  148. package/dist/esm/models/components/attachment.js.map +1 -1
  149. package/dist/esm/models/components/badge.d.ts +20 -20
  150. package/dist/esm/models/components/badge.d.ts.map +1 -1
  151. package/dist/esm/models/components/badge.js.map +1 -1
  152. package/dist/esm/models/components/category.d.ts +20 -20
  153. package/dist/esm/models/components/category.d.ts.map +1 -1
  154. package/dist/esm/models/components/category.js.map +1 -1
  155. package/dist/esm/models/components/company.d.ts +20 -20
  156. package/dist/esm/models/components/company.d.ts.map +1 -1
  157. package/dist/esm/models/components/company.js.map +1 -1
  158. package/dist/esm/models/components/companycontact.d.ts +26 -20
  159. package/dist/esm/models/components/companycontact.d.ts.map +1 -1
  160. package/dist/esm/models/components/companycontact.js.map +1 -1
  161. package/dist/esm/models/components/emailtemplate.d.ts +20 -20
  162. package/dist/esm/models/components/emailtemplate.d.ts.map +1 -1
  163. package/dist/esm/models/components/emailtemplate.js.map +1 -1
  164. package/dist/esm/models/components/feedback.d.ts +20 -20
  165. package/dist/esm/models/components/feedback.d.ts.map +1 -1
  166. package/dist/esm/models/components/feedback.js.map +1 -1
  167. package/dist/esm/models/components/form.d.ts +48 -44
  168. package/dist/esm/models/components/form.d.ts.map +1 -1
  169. package/dist/esm/models/components/form.js +24 -16
  170. package/dist/esm/models/components/form.js.map +1 -1
  171. package/dist/esm/models/components/formfield.d.ts +20 -20
  172. package/dist/esm/models/components/formfield.d.ts.map +1 -1
  173. package/dist/esm/models/components/formfield.js.map +1 -1
  174. package/dist/esm/models/components/formresponse.d.ts +20 -20
  175. package/dist/esm/models/components/formresponse.d.ts.map +1 -1
  176. package/dist/esm/models/components/formresponse.js.map +1 -1
  177. package/dist/esm/models/components/inboxmessage.d.ts +23 -23
  178. package/dist/esm/models/components/inboxmessage.d.ts.map +1 -1
  179. package/dist/esm/models/components/inboxmessage.js.map +1 -1
  180. package/dist/esm/models/components/inboxmessagedetail.d.ts +23 -23
  181. package/dist/esm/models/components/inboxmessagedetail.d.ts.map +1 -1
  182. package/dist/esm/models/components/inboxmessagedetail.js.map +1 -1
  183. package/dist/esm/models/components/job.d.ts +64 -64
  184. package/dist/esm/models/components/job.d.ts.map +1 -1
  185. package/dist/esm/models/components/job.js.map +1 -1
  186. package/dist/esm/models/components/jobactivity.d.ts +20 -20
  187. package/dist/esm/models/components/jobactivity.d.ts.map +1 -1
  188. package/dist/esm/models/components/jobactivity.js.map +1 -1
  189. package/dist/esm/models/components/joballocation.d.ts +20 -20
  190. package/dist/esm/models/components/joballocation.d.ts.map +1 -1
  191. package/dist/esm/models/components/joballocation.js.map +1 -1
  192. package/dist/esm/models/components/jobchecklist.d.ts +93 -93
  193. package/dist/esm/models/components/jobchecklist.d.ts.map +1 -1
  194. package/dist/esm/models/components/jobchecklist.js +16 -16
  195. package/dist/esm/models/components/jobchecklist.js.map +1 -1
  196. package/dist/esm/models/components/jobcontact.d.ts +20 -20
  197. package/dist/esm/models/components/jobcontact.d.ts.map +1 -1
  198. package/dist/esm/models/components/jobcontact.js.map +1 -1
  199. package/dist/esm/models/components/jobmaterial.d.ts +20 -20
  200. package/dist/esm/models/components/jobmaterial.d.ts.map +1 -1
  201. package/dist/esm/models/components/jobmaterial.js.map +1 -1
  202. package/dist/esm/models/components/jobmaterialbundle.d.ts +20 -20
  203. package/dist/esm/models/components/jobmaterialbundle.d.ts.map +1 -1
  204. package/dist/esm/models/components/jobmaterialbundle.js.map +1 -1
  205. package/dist/esm/models/components/jobpayment.d.ts +40 -40
  206. package/dist/esm/models/components/jobpayment.d.ts.map +1 -1
  207. package/dist/esm/models/components/jobpayment.js.map +1 -1
  208. package/dist/esm/models/components/jobtemplate.d.ts +20 -20
  209. package/dist/esm/models/components/jobtemplate.d.ts.map +1 -1
  210. package/dist/esm/models/components/jobtemplate.js.map +1 -1
  211. package/dist/esm/models/components/knowledgearticle.d.ts +40 -40
  212. package/dist/esm/models/components/knowledgearticle.d.ts.map +1 -1
  213. package/dist/esm/models/components/knowledgearticle.js.map +1 -1
  214. package/dist/esm/models/components/location.d.ts +20 -20
  215. package/dist/esm/models/components/location.d.ts.map +1 -1
  216. package/dist/esm/models/components/location.js.map +1 -1
  217. package/dist/esm/models/components/material.d.ts +60 -60
  218. package/dist/esm/models/components/material.d.ts.map +1 -1
  219. package/dist/esm/models/components/material.js.map +1 -1
  220. package/dist/esm/models/components/materialbundle.d.ts +20 -20
  221. package/dist/esm/models/components/materialbundle.d.ts.map +1 -1
  222. package/dist/esm/models/components/materialbundle.js.map +1 -1
  223. package/dist/esm/models/components/note.d.ts +20 -20
  224. package/dist/esm/models/components/note.d.ts.map +1 -1
  225. package/dist/esm/models/components/note.js.map +1 -1
  226. package/dist/esm/models/components/queue.d.ts +40 -40
  227. package/dist/esm/models/components/queue.d.ts.map +1 -1
  228. package/dist/esm/models/components/queue.js.map +1 -1
  229. package/dist/esm/models/components/securityrole.d.ts +20 -20
  230. package/dist/esm/models/components/securityrole.d.ts.map +1 -1
  231. package/dist/esm/models/components/securityrole.js.map +1 -1
  232. package/dist/esm/models/components/smstemplate.d.ts +20 -20
  233. package/dist/esm/models/components/smstemplate.d.ts.map +1 -1
  234. package/dist/esm/models/components/smstemplate.js.map +1 -1
  235. package/dist/esm/models/components/staff.d.ts +40 -40
  236. package/dist/esm/models/components/staff.d.ts.map +1 -1
  237. package/dist/esm/models/components/staff.js.map +1 -1
  238. package/dist/esm/models/components/staffmessage.d.ts +20 -20
  239. package/dist/esm/models/components/staffmessage.d.ts.map +1 -1
  240. package/dist/esm/models/components/staffmessage.js.map +1 -1
  241. package/dist/esm/models/components/task.d.ts +20 -20
  242. package/dist/esm/models/components/task.d.ts.map +1 -1
  243. package/dist/esm/models/components/task.js.map +1 -1
  244. package/dist/esm/models/components/taxrate.d.ts +36 -36
  245. package/dist/esm/models/components/taxrate.d.ts.map +1 -1
  246. package/dist/esm/models/components/taxrate.js.map +1 -1
  247. package/dist/esm/models/components/vendor.d.ts +20 -20
  248. package/dist/esm/models/components/vendor.d.ts.map +1 -1
  249. package/dist/esm/models/components/vendor.js.map +1 -1
  250. package/dist/esm/models/operations/listinboxmessages.d.ts +18 -18
  251. package/dist/esm/models/operations/listinboxmessages.d.ts.map +1 -1
  252. package/dist/esm/models/operations/listinboxmessages.js.map +1 -1
  253. package/dist/esm/models/operations/objectsearch.d.ts +14 -14
  254. package/dist/esm/models/operations/objectsearch.d.ts.map +1 -1
  255. package/dist/esm/models/operations/objectsearch.js.map +1 -1
  256. package/docs/sdks/allocationwindows/README.md +4 -4
  257. package/docs/sdks/assets/README.md +6 -6
  258. package/docs/sdks/assettypefields/README.md +8 -8
  259. package/docs/sdks/assettypes/README.md +4 -4
  260. package/docs/sdks/attachments/README.md +12 -12
  261. package/docs/sdks/badges/README.md +12 -12
  262. package/docs/sdks/bundles/README.md +4 -4
  263. package/docs/sdks/categories/README.md +4 -4
  264. package/docs/sdks/clients/README.md +8 -8
  265. package/docs/sdks/companycontacts/README.md +8 -8
  266. package/docs/sdks/emailtemplates/README.md +4 -4
  267. package/docs/sdks/feedback/README.md +8 -8
  268. package/docs/sdks/formfields/README.md +8 -8
  269. package/docs/sdks/formresponses/README.md +28 -28
  270. package/docs/sdks/forms/README.md +8 -8
  271. package/docs/sdks/jobactivities/README.md +20 -20
  272. package/docs/sdks/joballocations/README.md +24 -24
  273. package/docs/sdks/jobchecklists/README.md +32 -32
  274. package/docs/sdks/jobcontacts/README.md +8 -8
  275. package/docs/sdks/jobmaterialbundles/README.md +12 -12
  276. package/docs/sdks/jobmaterials/README.md +20 -20
  277. package/docs/sdks/jobpayments/README.md +16 -16
  278. package/docs/sdks/jobqueues/README.md +4 -4
  279. package/docs/sdks/jobs/README.md +32 -32
  280. package/docs/sdks/jobtemplates/README.md +4 -4
  281. package/docs/sdks/knowledgearticles/README.md +4 -4
  282. package/docs/sdks/locations/README.md +4 -4
  283. package/docs/sdks/materials/README.md +8 -8
  284. package/docs/sdks/notes/README.md +12 -12
  285. package/docs/sdks/securityroles/README.md +4 -4
  286. package/docs/sdks/smstemplates/README.md +4 -4
  287. package/docs/sdks/staffmembers/README.md +12 -12
  288. package/docs/sdks/staffmessages/README.md +16 -16
  289. package/docs/sdks/tasks/README.md +20 -20
  290. package/docs/sdks/taxrates/README.md +4 -4
  291. package/docs/sdks/vendors/README.md +2 -2
  292. package/examples/package-lock.json +3 -3
  293. package/jsr.json +1 -1
  294. package/package.json +3 -3
  295. package/src/lib/config.ts +3 -3
  296. package/src/mcp-server/mcp-server.ts +1 -1
  297. package/src/mcp-server/server.ts +1 -1
  298. package/src/models/components/allocationwindow.ts +21 -21
  299. package/src/models/components/asset.ts +19 -19
  300. package/src/models/components/assettype.ts +21 -21
  301. package/src/models/components/assettypefield.ts +42 -42
  302. package/src/models/components/attachment.ts +21 -21
  303. package/src/models/components/badge.ts +19 -19
  304. package/src/models/components/category.ts +21 -21
  305. package/src/models/components/company.ts +21 -21
  306. package/src/models/components/companycontact.ts +27 -21
  307. package/src/models/components/emailtemplate.ts +21 -21
  308. package/src/models/components/feedback.ts +21 -21
  309. package/src/models/components/form.ts +59 -47
  310. package/src/models/components/formfield.ts +21 -21
  311. package/src/models/components/formresponse.ts +21 -21
  312. package/src/models/components/inboxmessage.ts +21 -21
  313. package/src/models/components/inboxmessagedetail.ts +21 -21
  314. package/src/models/components/job.ts +57 -57
  315. package/src/models/components/jobactivity.ts +21 -21
  316. package/src/models/components/joballocation.ts +21 -21
  317. package/src/models/components/jobchecklist.ts +91 -91
  318. package/src/models/components/jobcontact.ts +21 -21
  319. package/src/models/components/jobmaterial.ts +21 -21
  320. package/src/models/components/jobmaterialbundle.ts +21 -21
  321. package/src/models/components/jobpayment.ts +40 -40
  322. package/src/models/components/jobtemplate.ts +21 -21
  323. package/src/models/components/knowledgearticle.ts +40 -40
  324. package/src/models/components/location.ts +21 -21
  325. package/src/models/components/material.ts +63 -63
  326. package/src/models/components/materialbundle.ts +21 -21
  327. package/src/models/components/note.ts +19 -19
  328. package/src/models/components/queue.ts +40 -40
  329. package/src/models/components/securityrole.ts +21 -21
  330. package/src/models/components/smstemplate.ts +21 -21
  331. package/src/models/components/staff.ts +40 -40
  332. package/src/models/components/staffmessage.ts +21 -21
  333. package/src/models/components/task.ts +19 -19
  334. package/src/models/components/taxrate.ts +38 -38
  335. package/src/models/components/vendor.ts +19 -19
  336. package/src/models/operations/listinboxmessages.ts +19 -19
  337. package/src/models/operations/objectsearch.ts +15 -15
@@ -113,7 +113,7 @@ const serviceM8 = new ServiceM8({
113
113
 
114
114
  async function run() {
115
115
  const result = await serviceM8.taxRates.createTaxRates({
116
- uuid: "123e4567-bb32-4a97-a9b9-2312675e207b",
116
+ uuid: "123e4567-ccfb-4c77-86cc-23184abbdceb",
117
117
  name: "<value>",
118
118
  });
119
119
 
@@ -141,7 +141,7 @@ const serviceM8 = new ServiceM8Core({
141
141
 
142
142
  async function run() {
143
143
  const res = await taxRatesCreateTaxRates(serviceM8, {
144
- uuid: "123e4567-bb32-4a97-a9b9-2312675e207b",
144
+ uuid: "123e4567-ccfb-4c77-86cc-23184abbdceb",
145
145
  name: "<value>",
146
146
  });
147
147
  if (res.ok) {
@@ -273,7 +273,7 @@ async function run() {
273
273
  const result = await serviceM8.taxRates.updateTaxRates({
274
274
  uuid: "276d45f4-bf8b-41ae-82d4-264af7ec45cc",
275
275
  taxRate: {
276
- uuid: "123e4567-bb32-4a97-a9b9-2312675e207b",
276
+ uuid: "123e4567-ccfb-4c77-86cc-23184abbdceb",
277
277
  name: "<value>",
278
278
  },
279
279
  });
@@ -304,7 +304,7 @@ async function run() {
304
304
  const res = await taxRatesUpdateTaxRates(serviceM8, {
305
305
  uuid: "276d45f4-bf8b-41ae-82d4-264af7ec45cc",
306
306
  taxRate: {
307
- uuid: "123e4567-bb32-4a97-a9b9-2312675e207b",
307
+ uuid: "123e4567-ccfb-4c77-86cc-23184abbdceb",
308
308
  name: "<value>",
309
309
  },
310
310
  });
@@ -202,7 +202,7 @@ async function run() {
202
202
  const result = await serviceM8.vendors.updateVendors({
203
203
  uuid: "d90cffed-8677-4cbe-ab38-b734ac463633",
204
204
  vendor: {
205
- uuid: "123e4567-21df-4231-810c-23126fb2467b",
205
+ uuid: "123e4567-a3e6-4c33-909d-231849767bdb",
206
206
  name: "<value>",
207
207
  },
208
208
  });
@@ -233,7 +233,7 @@ async function run() {
233
233
  const res = await vendorsUpdateVendors(serviceM8, {
234
234
  uuid: "d90cffed-8677-4cbe-ab38-b734ac463633",
235
235
  vendor: {
236
- uuid: "123e4567-21df-4231-810c-23126fb2467b",
236
+ uuid: "123e4567-a3e6-4c33-909d-231849767bdb",
237
237
  name: "<value>",
238
238
  },
239
239
  });
@@ -18,7 +18,7 @@
18
18
  },
19
19
  "..": {
20
20
  "name": "servicem8",
21
- "version": "0.9.24",
21
+ "version": "0.9.26",
22
22
  "dependencies": {
23
23
  "zod": "^3.20.0"
24
24
  },
@@ -36,8 +36,8 @@
36
36
  "express": "^4.21.2",
37
37
  "globals": "^15.14.0",
38
38
  "tshy": "^2.0.0",
39
- "typescript": "^5.4.5",
40
- "typescript-eslint": "^8.22.0"
39
+ "typescript": "~5.8.3",
40
+ "typescript-eslint": "^8.26.0"
41
41
  },
42
42
  "peerDependencies": {
43
43
  "@modelcontextprotocol/sdk": ">=1.5.0 <1.10.0"
package/jsr.json CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  {
4
4
  "name": "servicem8",
5
- "version": "0.9.24",
5
+ "version": "0.9.26",
6
6
  "exports": {
7
7
  ".": "./src/index.ts",
8
8
  "./models/errors": "./src/models/errors/index.ts",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "servicem8",
3
- "version": "0.9.24",
3
+ "version": "0.9.26",
4
4
  "author": "ServiceM8",
5
5
  "type": "module",
6
6
  "bin": {
@@ -47,8 +47,8 @@
47
47
  "express": "^4.21.2",
48
48
  "globals": "^15.14.0",
49
49
  "tshy": "^2.0.0",
50
- "typescript": "^5.4.5",
51
- "typescript-eslint": "^8.22.0"
50
+ "typescript": "~5.8.3",
51
+ "typescript-eslint": "^8.26.0"
52
52
  },
53
53
  "dependencies": {
54
54
  "zod": "^3.20.0"
package/src/lib/config.ts CHANGED
@@ -65,7 +65,7 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
65
65
  export const SDK_METADATA = {
66
66
  language: "typescript",
67
67
  openapiDocVersion: "1.0.0",
68
- sdkVersion: "0.9.24",
69
- genVersion: "2.670.3",
70
- userAgent: "speakeasy-sdk/typescript 0.9.24 2.670.3 1.0.0 servicem8",
68
+ sdkVersion: "0.9.26",
69
+ genVersion: "2.674.3",
70
+ userAgent: "speakeasy-sdk/typescript 0.9.26 2.674.3 1.0.0 servicem8",
71
71
  } as const;
@@ -19,7 +19,7 @@ const routes = buildRouteMap({
19
19
  export const app = buildApplication(routes, {
20
20
  name: "mcp",
21
21
  versionInfo: {
22
- currentVersion: "0.9.24",
22
+ currentVersion: "0.9.26",
23
23
  },
24
24
  });
25
25
 
@@ -213,7 +213,7 @@ export function createMCPServer(deps: {
213
213
  }) {
214
214
  const server = new McpServer({
215
215
  name: "ServiceM8",
216
- version: "0.9.24",
216
+ version: "0.9.26",
217
217
  });
218
218
 
219
219
  const client = new ServiceM8Core({
@@ -21,27 +21,6 @@ export const AllocationWindowActive = {
21
21
  */
22
22
  export type AllocationWindowActive = ClosedEnum<typeof AllocationWindowActive>;
23
23
 
24
- /** @internal */
25
- export const AllocationWindowActive$inboundSchema: z.ZodNativeEnum<
26
- typeof AllocationWindowActive
27
- > = z.nativeEnum(AllocationWindowActive);
28
-
29
- /** @internal */
30
- export const AllocationWindowActive$outboundSchema: z.ZodNativeEnum<
31
- typeof AllocationWindowActive
32
- > = AllocationWindowActive$inboundSchema;
33
-
34
- /**
35
- * @internal
36
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
37
- */
38
- export namespace AllocationWindowActive$ {
39
- /** @deprecated use `AllocationWindowActive$inboundSchema` instead. */
40
- export const inboundSchema = AllocationWindowActive$inboundSchema;
41
- /** @deprecated use `AllocationWindowActive$outboundSchema` instead. */
42
- export const outboundSchema = AllocationWindowActive$outboundSchema;
43
- }
44
-
45
24
  export type AllocationWindow = {
46
25
  /**
47
26
  * Unique identifier for this record
@@ -76,6 +55,27 @@ export type AllocationWindowInput = {
76
55
  sortPriority?: number | undefined;
77
56
  };
78
57
 
58
+ /** @internal */
59
+ export const AllocationWindowActive$inboundSchema: z.ZodNativeEnum<
60
+ typeof AllocationWindowActive
61
+ > = z.nativeEnum(AllocationWindowActive);
62
+
63
+ /** @internal */
64
+ export const AllocationWindowActive$outboundSchema: z.ZodNativeEnum<
65
+ typeof AllocationWindowActive
66
+ > = AllocationWindowActive$inboundSchema;
67
+
68
+ /**
69
+ * @internal
70
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
71
+ */
72
+ export namespace AllocationWindowActive$ {
73
+ /** @deprecated use `AllocationWindowActive$inboundSchema` instead. */
74
+ export const inboundSchema = AllocationWindowActive$inboundSchema;
75
+ /** @deprecated use `AllocationWindowActive$outboundSchema` instead. */
76
+ export const outboundSchema = AllocationWindowActive$outboundSchema;
77
+ }
78
+
79
79
  /** @internal */
80
80
  export const AllocationWindow$inboundSchema: z.ZodType<
81
81
  AllocationWindow,
@@ -21,25 +21,6 @@ export const AssetActive = {
21
21
  */
22
22
  export type AssetActive = ClosedEnum<typeof AssetActive>;
23
23
 
24
- /** @internal */
25
- export const AssetActive$inboundSchema: z.ZodNativeEnum<typeof AssetActive> = z
26
- .nativeEnum(AssetActive);
27
-
28
- /** @internal */
29
- export const AssetActive$outboundSchema: z.ZodNativeEnum<typeof AssetActive> =
30
- AssetActive$inboundSchema;
31
-
32
- /**
33
- * @internal
34
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
35
- */
36
- export namespace AssetActive$ {
37
- /** @deprecated use `AssetActive$inboundSchema` instead. */
38
- export const inboundSchema = AssetActive$inboundSchema;
39
- /** @deprecated use `AssetActive$outboundSchema` instead. */
40
- export const outboundSchema = AssetActive$outboundSchema;
41
- }
42
-
43
24
  export type FieldDatum = {
44
25
  /**
45
26
  * Must be the UUID of an AssetTypeField
@@ -152,6 +133,25 @@ export type AssetInput = {
152
133
  fieldData?: Array<FieldDatum> | undefined;
153
134
  };
154
135
 
136
+ /** @internal */
137
+ export const AssetActive$inboundSchema: z.ZodNativeEnum<typeof AssetActive> = z
138
+ .nativeEnum(AssetActive);
139
+
140
+ /** @internal */
141
+ export const AssetActive$outboundSchema: z.ZodNativeEnum<typeof AssetActive> =
142
+ AssetActive$inboundSchema;
143
+
144
+ /**
145
+ * @internal
146
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
147
+ */
148
+ export namespace AssetActive$ {
149
+ /** @deprecated use `AssetActive$inboundSchema` instead. */
150
+ export const inboundSchema = AssetActive$inboundSchema;
151
+ /** @deprecated use `AssetActive$outboundSchema` instead. */
152
+ export const outboundSchema = AssetActive$outboundSchema;
153
+ }
154
+
155
155
  /** @internal */
156
156
  export const FieldDatum$inboundSchema: z.ZodType<
157
157
  FieldDatum,
@@ -21,27 +21,6 @@ export const AssetTypeActive = {
21
21
  */
22
22
  export type AssetTypeActive = ClosedEnum<typeof AssetTypeActive>;
23
23
 
24
- /** @internal */
25
- export const AssetTypeActive$inboundSchema: z.ZodNativeEnum<
26
- typeof AssetTypeActive
27
- > = z.nativeEnum(AssetTypeActive);
28
-
29
- /** @internal */
30
- export const AssetTypeActive$outboundSchema: z.ZodNativeEnum<
31
- typeof AssetTypeActive
32
- > = AssetTypeActive$inboundSchema;
33
-
34
- /**
35
- * @internal
36
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
37
- */
38
- export namespace AssetTypeActive$ {
39
- /** @deprecated use `AssetTypeActive$inboundSchema` instead. */
40
- export const inboundSchema = AssetTypeActive$inboundSchema;
41
- /** @deprecated use `AssetTypeActive$outboundSchema` instead. */
42
- export const outboundSchema = AssetTypeActive$outboundSchema;
43
- }
44
-
45
24
  export type AssetType = {
46
25
  /**
47
26
  * Unique identifier for this record
@@ -76,6 +55,27 @@ export type AssetTypeInput = {
76
55
  name?: string | undefined;
77
56
  };
78
57
 
58
+ /** @internal */
59
+ export const AssetTypeActive$inboundSchema: z.ZodNativeEnum<
60
+ typeof AssetTypeActive
61
+ > = z.nativeEnum(AssetTypeActive);
62
+
63
+ /** @internal */
64
+ export const AssetTypeActive$outboundSchema: z.ZodNativeEnum<
65
+ typeof AssetTypeActive
66
+ > = AssetTypeActive$inboundSchema;
67
+
68
+ /**
69
+ * @internal
70
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
71
+ */
72
+ export namespace AssetTypeActive$ {
73
+ /** @deprecated use `AssetTypeActive$inboundSchema` instead. */
74
+ export const inboundSchema = AssetTypeActive$inboundSchema;
75
+ /** @deprecated use `AssetTypeActive$outboundSchema` instead. */
76
+ export const outboundSchema = AssetTypeActive$outboundSchema;
77
+ }
78
+
79
79
  /** @internal */
80
80
  export const AssetType$inboundSchema: z.ZodType<
81
81
  AssetType,
@@ -31,48 +31,6 @@ export type AssetTypeFieldFieldType = ClosedEnum<
31
31
  typeof AssetTypeFieldFieldType
32
32
  >;
33
33
 
34
- /** @internal */
35
- export const AssetTypeFieldActive$inboundSchema: z.ZodNativeEnum<
36
- typeof AssetTypeFieldActive
37
- > = z.nativeEnum(AssetTypeFieldActive);
38
-
39
- /** @internal */
40
- export const AssetTypeFieldActive$outboundSchema: z.ZodNativeEnum<
41
- typeof AssetTypeFieldActive
42
- > = AssetTypeFieldActive$inboundSchema;
43
-
44
- /**
45
- * @internal
46
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
47
- */
48
- export namespace AssetTypeFieldActive$ {
49
- /** @deprecated use `AssetTypeFieldActive$inboundSchema` instead. */
50
- export const inboundSchema = AssetTypeFieldActive$inboundSchema;
51
- /** @deprecated use `AssetTypeFieldActive$outboundSchema` instead. */
52
- export const outboundSchema = AssetTypeFieldActive$outboundSchema;
53
- }
54
-
55
- /** @internal */
56
- export const AssetTypeFieldFieldType$inboundSchema: z.ZodNativeEnum<
57
- typeof AssetTypeFieldFieldType
58
- > = z.nativeEnum(AssetTypeFieldFieldType);
59
-
60
- /** @internal */
61
- export const AssetTypeFieldFieldType$outboundSchema: z.ZodNativeEnum<
62
- typeof AssetTypeFieldFieldType
63
- > = AssetTypeFieldFieldType$inboundSchema;
64
-
65
- /**
66
- * @internal
67
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
68
- */
69
- export namespace AssetTypeFieldFieldType$ {
70
- /** @deprecated use `AssetTypeFieldFieldType$inboundSchema` instead. */
71
- export const inboundSchema = AssetTypeFieldFieldType$inboundSchema;
72
- /** @deprecated use `AssetTypeFieldFieldType$outboundSchema` instead. */
73
- export const outboundSchema = AssetTypeFieldFieldType$outboundSchema;
74
- }
75
-
76
34
  /**
77
35
  * Configuration data for the field
78
36
  */
@@ -140,6 +98,48 @@ export type AssetTypeFieldInput = {
140
98
  sortOrder?: number | undefined;
141
99
  };
142
100
 
101
+ /** @internal */
102
+ export const AssetTypeFieldActive$inboundSchema: z.ZodNativeEnum<
103
+ typeof AssetTypeFieldActive
104
+ > = z.nativeEnum(AssetTypeFieldActive);
105
+
106
+ /** @internal */
107
+ export const AssetTypeFieldActive$outboundSchema: z.ZodNativeEnum<
108
+ typeof AssetTypeFieldActive
109
+ > = AssetTypeFieldActive$inboundSchema;
110
+
111
+ /**
112
+ * @internal
113
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
114
+ */
115
+ export namespace AssetTypeFieldActive$ {
116
+ /** @deprecated use `AssetTypeFieldActive$inboundSchema` instead. */
117
+ export const inboundSchema = AssetTypeFieldActive$inboundSchema;
118
+ /** @deprecated use `AssetTypeFieldActive$outboundSchema` instead. */
119
+ export const outboundSchema = AssetTypeFieldActive$outboundSchema;
120
+ }
121
+
122
+ /** @internal */
123
+ export const AssetTypeFieldFieldType$inboundSchema: z.ZodNativeEnum<
124
+ typeof AssetTypeFieldFieldType
125
+ > = z.nativeEnum(AssetTypeFieldFieldType);
126
+
127
+ /** @internal */
128
+ export const AssetTypeFieldFieldType$outboundSchema: z.ZodNativeEnum<
129
+ typeof AssetTypeFieldFieldType
130
+ > = AssetTypeFieldFieldType$inboundSchema;
131
+
132
+ /**
133
+ * @internal
134
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
135
+ */
136
+ export namespace AssetTypeFieldFieldType$ {
137
+ /** @deprecated use `AssetTypeFieldFieldType$inboundSchema` instead. */
138
+ export const inboundSchema = AssetTypeFieldFieldType$inboundSchema;
139
+ /** @deprecated use `AssetTypeFieldFieldType$outboundSchema` instead. */
140
+ export const outboundSchema = AssetTypeFieldFieldType$outboundSchema;
141
+ }
142
+
143
143
  /** @internal */
144
144
  export const FieldData$inboundSchema: z.ZodType<
145
145
  FieldData,
@@ -21,27 +21,6 @@ export const AttachmentActive = {
21
21
  */
22
22
  export type AttachmentActive = ClosedEnum<typeof AttachmentActive>;
23
23
 
24
- /** @internal */
25
- export const AttachmentActive$inboundSchema: z.ZodNativeEnum<
26
- typeof AttachmentActive
27
- > = z.nativeEnum(AttachmentActive);
28
-
29
- /** @internal */
30
- export const AttachmentActive$outboundSchema: z.ZodNativeEnum<
31
- typeof AttachmentActive
32
- > = AttachmentActive$inboundSchema;
33
-
34
- /**
35
- * @internal
36
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
37
- */
38
- export namespace AttachmentActive$ {
39
- /** @deprecated use `AttachmentActive$inboundSchema` instead. */
40
- export const inboundSchema = AttachmentActive$inboundSchema;
41
- /** @deprecated use `AttachmentActive$outboundSchema` instead. */
42
- export const outboundSchema = AttachmentActive$outboundSchema;
43
- }
44
-
45
24
  export type Attachment = {
46
25
  /**
47
26
  * Unique identifier for this record
@@ -112,6 +91,27 @@ export type AttachmentInput = {
112
91
  metadata?: string | undefined;
113
92
  };
114
93
 
94
+ /** @internal */
95
+ export const AttachmentActive$inboundSchema: z.ZodNativeEnum<
96
+ typeof AttachmentActive
97
+ > = z.nativeEnum(AttachmentActive);
98
+
99
+ /** @internal */
100
+ export const AttachmentActive$outboundSchema: z.ZodNativeEnum<
101
+ typeof AttachmentActive
102
+ > = AttachmentActive$inboundSchema;
103
+
104
+ /**
105
+ * @internal
106
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
107
+ */
108
+ export namespace AttachmentActive$ {
109
+ /** @deprecated use `AttachmentActive$inboundSchema` instead. */
110
+ export const inboundSchema = AttachmentActive$inboundSchema;
111
+ /** @deprecated use `AttachmentActive$outboundSchema` instead. */
112
+ export const outboundSchema = AttachmentActive$outboundSchema;
113
+ }
114
+
115
115
  /** @internal */
116
116
  export const Attachment$inboundSchema: z.ZodType<
117
117
  Attachment,
@@ -21,25 +21,6 @@ export const BadgeActive = {
21
21
  */
22
22
  export type BadgeActive = ClosedEnum<typeof BadgeActive>;
23
23
 
24
- /** @internal */
25
- export const BadgeActive$inboundSchema: z.ZodNativeEnum<typeof BadgeActive> = z
26
- .nativeEnum(BadgeActive);
27
-
28
- /** @internal */
29
- export const BadgeActive$outboundSchema: z.ZodNativeEnum<typeof BadgeActive> =
30
- BadgeActive$inboundSchema;
31
-
32
- /**
33
- * @internal
34
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
35
- */
36
- export namespace BadgeActive$ {
37
- /** @deprecated use `BadgeActive$inboundSchema` instead. */
38
- export const inboundSchema = BadgeActive$inboundSchema;
39
- /** @deprecated use `BadgeActive$outboundSchema` instead. */
40
- export const outboundSchema = BadgeActive$outboundSchema;
41
- }
42
-
43
24
  export type Badge = {
44
25
  /**
45
26
  * Unique identifier for this record
@@ -88,6 +69,25 @@ export type BadgeInput = {
88
69
  regardingAssetTypeUuid?: string | undefined;
89
70
  };
90
71
 
72
+ /** @internal */
73
+ export const BadgeActive$inboundSchema: z.ZodNativeEnum<typeof BadgeActive> = z
74
+ .nativeEnum(BadgeActive);
75
+
76
+ /** @internal */
77
+ export const BadgeActive$outboundSchema: z.ZodNativeEnum<typeof BadgeActive> =
78
+ BadgeActive$inboundSchema;
79
+
80
+ /**
81
+ * @internal
82
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
83
+ */
84
+ export namespace BadgeActive$ {
85
+ /** @deprecated use `BadgeActive$inboundSchema` instead. */
86
+ export const inboundSchema = BadgeActive$inboundSchema;
87
+ /** @deprecated use `BadgeActive$outboundSchema` instead. */
88
+ export const outboundSchema = BadgeActive$outboundSchema;
89
+ }
90
+
91
91
  /** @internal */
92
92
  export const Badge$inboundSchema: z.ZodType<Badge, z.ZodTypeDef, unknown> = z
93
93
  .object({
@@ -21,27 +21,6 @@ export const CategoryActive = {
21
21
  */
22
22
  export type CategoryActive = ClosedEnum<typeof CategoryActive>;
23
23
 
24
- /** @internal */
25
- export const CategoryActive$inboundSchema: z.ZodNativeEnum<
26
- typeof CategoryActive
27
- > = z.nativeEnum(CategoryActive);
28
-
29
- /** @internal */
30
- export const CategoryActive$outboundSchema: z.ZodNativeEnum<
31
- typeof CategoryActive
32
- > = CategoryActive$inboundSchema;
33
-
34
- /**
35
- * @internal
36
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
37
- */
38
- export namespace CategoryActive$ {
39
- /** @deprecated use `CategoryActive$inboundSchema` instead. */
40
- export const inboundSchema = CategoryActive$inboundSchema;
41
- /** @deprecated use `CategoryActive$outboundSchema` instead. */
42
- export const outboundSchema = CategoryActive$outboundSchema;
43
- }
44
-
45
24
  export type Category = {
46
25
  /**
47
26
  * The name of the job category. Used to classify and organize jobs.
@@ -84,6 +63,27 @@ export type CategoryInput = {
84
63
  active?: CategoryActive | undefined;
85
64
  };
86
65
 
66
+ /** @internal */
67
+ export const CategoryActive$inboundSchema: z.ZodNativeEnum<
68
+ typeof CategoryActive
69
+ > = z.nativeEnum(CategoryActive);
70
+
71
+ /** @internal */
72
+ export const CategoryActive$outboundSchema: z.ZodNativeEnum<
73
+ typeof CategoryActive
74
+ > = CategoryActive$inboundSchema;
75
+
76
+ /**
77
+ * @internal
78
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
79
+ */
80
+ export namespace CategoryActive$ {
81
+ /** @deprecated use `CategoryActive$inboundSchema` instead. */
82
+ export const inboundSchema = CategoryActive$inboundSchema;
83
+ /** @deprecated use `CategoryActive$outboundSchema` instead. */
84
+ export const outboundSchema = CategoryActive$outboundSchema;
85
+ }
86
+
87
87
  /** @internal */
88
88
  export const Category$inboundSchema: z.ZodType<
89
89
  Category,
@@ -21,27 +21,6 @@ export const CompanyActive = {
21
21
  */
22
22
  export type CompanyActive = ClosedEnum<typeof CompanyActive>;
23
23
 
24
- /** @internal */
25
- export const CompanyActive$inboundSchema: z.ZodNativeEnum<
26
- typeof CompanyActive
27
- > = z.nativeEnum(CompanyActive);
28
-
29
- /** @internal */
30
- export const CompanyActive$outboundSchema: z.ZodNativeEnum<
31
- typeof CompanyActive
32
- > = CompanyActive$inboundSchema;
33
-
34
- /**
35
- * @internal
36
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
37
- */
38
- export namespace CompanyActive$ {
39
- /** @deprecated use `CompanyActive$inboundSchema` instead. */
40
- export const inboundSchema = CompanyActive$inboundSchema;
41
- /** @deprecated use `CompanyActive$outboundSchema` instead. */
42
- export const outboundSchema = CompanyActive$outboundSchema;
43
- }
44
-
45
24
  export type Company = {
46
25
  /**
47
26
  * Company Name
@@ -132,6 +111,27 @@ export type CompanyInput = {
132
111
  paymentTerms?: string | undefined;
133
112
  };
134
113
 
114
+ /** @internal */
115
+ export const CompanyActive$inboundSchema: z.ZodNativeEnum<
116
+ typeof CompanyActive
117
+ > = z.nativeEnum(CompanyActive);
118
+
119
+ /** @internal */
120
+ export const CompanyActive$outboundSchema: z.ZodNativeEnum<
121
+ typeof CompanyActive
122
+ > = CompanyActive$inboundSchema;
123
+
124
+ /**
125
+ * @internal
126
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
127
+ */
128
+ export namespace CompanyActive$ {
129
+ /** @deprecated use `CompanyActive$inboundSchema` instead. */
130
+ export const inboundSchema = CompanyActive$inboundSchema;
131
+ /** @deprecated use `CompanyActive$outboundSchema` instead. */
132
+ export const outboundSchema = CompanyActive$outboundSchema;
133
+ }
134
+
135
135
  /** @internal */
136
136
  export const Company$inboundSchema: z.ZodType<Company, z.ZodTypeDef, unknown> =
137
137
  z.object({