servicem8 0.3.16 → 0.3.17

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 (1071) hide show
  1. package/api.json +1243 -1196
  2. package/bin/mcp-server.js +494 -494
  3. package/bin/mcp-server.js.map +174 -174
  4. package/dist/commonjs/funcs/allocationWindowsCreateAllocationWindows.d.ts +1 -1
  5. package/dist/commonjs/funcs/allocationWindowsCreateAllocationWindows.js +1 -1
  6. package/dist/commonjs/funcs/allocationWindowsDeleteAllocationWindows.d.ts +1 -1
  7. package/dist/commonjs/funcs/allocationWindowsDeleteAllocationWindows.js +1 -1
  8. package/dist/commonjs/funcs/assetTypeFieldsCreateAssetTypeFields.d.ts +1 -1
  9. package/dist/commonjs/funcs/assetTypeFieldsCreateAssetTypeFields.js +1 -1
  10. package/dist/commonjs/funcs/assetTypeFieldsDeleteAssetTypeFields.d.ts +1 -1
  11. package/dist/commonjs/funcs/assetTypeFieldsDeleteAssetTypeFields.js +1 -1
  12. package/dist/commonjs/funcs/assetTypesCreateAssetTypes.d.ts +1 -1
  13. package/dist/commonjs/funcs/assetTypesCreateAssetTypes.js +1 -1
  14. package/dist/commonjs/funcs/assetTypesDeleteAssetTypes.d.ts +1 -1
  15. package/dist/commonjs/funcs/assetTypesDeleteAssetTypes.js +1 -1
  16. package/dist/commonjs/funcs/assetsDeleteAssets.d.ts +1 -1
  17. package/dist/commonjs/funcs/assetsDeleteAssets.js +1 -1
  18. package/dist/commonjs/funcs/attachmentsCreateAttachments.d.ts +1 -1
  19. package/dist/commonjs/funcs/attachmentsCreateAttachments.js +1 -1
  20. package/dist/commonjs/funcs/attachmentsDeleteAttachments.d.ts +1 -1
  21. package/dist/commonjs/funcs/attachmentsDeleteAttachments.js +1 -1
  22. package/dist/commonjs/funcs/badgesCreateBadges.d.ts +1 -1
  23. package/dist/commonjs/funcs/badgesCreateBadges.js +1 -1
  24. package/dist/commonjs/funcs/badgesDeleteBadges.d.ts +1 -1
  25. package/dist/commonjs/funcs/badgesDeleteBadges.js +1 -1
  26. package/dist/commonjs/funcs/bundlesCreateBundles.d.ts +1 -1
  27. package/dist/commonjs/funcs/bundlesCreateBundles.js +1 -1
  28. package/dist/commonjs/funcs/bundlesDeleteBundles.d.ts +1 -1
  29. package/dist/commonjs/funcs/bundlesDeleteBundles.js +1 -1
  30. package/dist/commonjs/funcs/categoriesCreateCategories.d.ts +1 -1
  31. package/dist/commonjs/funcs/categoriesCreateCategories.js +1 -1
  32. package/dist/commonjs/funcs/categoriesDeleteCategories.d.ts +1 -1
  33. package/dist/commonjs/funcs/categoriesDeleteCategories.js +1 -1
  34. package/dist/commonjs/funcs/clientsCreateClients.d.ts +1 -1
  35. package/dist/commonjs/funcs/clientsCreateClients.js +1 -1
  36. package/dist/commonjs/funcs/clientsDeleteClients.d.ts +1 -1
  37. package/dist/commonjs/funcs/clientsDeleteClients.js +1 -1
  38. package/dist/commonjs/funcs/companyContactsCreateCompanyContacts.d.ts +1 -1
  39. package/dist/commonjs/funcs/companyContactsCreateCompanyContacts.js +1 -1
  40. package/dist/commonjs/funcs/companyContactsDeleteCompanyContacts.d.ts +1 -1
  41. package/dist/commonjs/funcs/companyContactsDeleteCompanyContacts.js +1 -1
  42. package/dist/commonjs/funcs/emailTemplatesCreateEmailTemplates.d.ts +1 -1
  43. package/dist/commonjs/funcs/emailTemplatesCreateEmailTemplates.js +1 -1
  44. package/dist/commonjs/funcs/emailTemplatesDeleteEmailTemplates.d.ts +1 -1
  45. package/dist/commonjs/funcs/emailTemplatesDeleteEmailTemplates.js +1 -1
  46. package/dist/commonjs/funcs/feedbackCreateFeedback.d.ts +1 -1
  47. package/dist/commonjs/funcs/feedbackCreateFeedback.js +1 -1
  48. package/dist/commonjs/funcs/feedbackDeleteFeedback.d.ts +1 -1
  49. package/dist/commonjs/funcs/feedbackDeleteFeedback.js +1 -1
  50. package/dist/commonjs/funcs/formFieldsCreateFormFields.d.ts +1 -1
  51. package/dist/commonjs/funcs/formFieldsCreateFormFields.js +1 -1
  52. package/dist/commonjs/funcs/formFieldsDeleteFormFields.d.ts +1 -1
  53. package/dist/commonjs/funcs/formFieldsDeleteFormFields.js +1 -1
  54. package/dist/commonjs/funcs/formResponsesCreateFormResponses.d.ts +1 -1
  55. package/dist/commonjs/funcs/formResponsesCreateFormResponses.js +1 -1
  56. package/dist/commonjs/funcs/formResponsesDeleteFormResponses.d.ts +1 -1
  57. package/dist/commonjs/funcs/formResponsesDeleteFormResponses.js +1 -1
  58. package/dist/commonjs/funcs/formsCreateForms.d.ts +1 -1
  59. package/dist/commonjs/funcs/formsCreateForms.js +1 -1
  60. package/dist/commonjs/funcs/formsDeleteForms.d.ts +1 -1
  61. package/dist/commonjs/funcs/formsDeleteForms.js +1 -1
  62. package/dist/commonjs/funcs/jobActivitiesCreateJobActivities.d.ts +1 -1
  63. package/dist/commonjs/funcs/jobActivitiesCreateJobActivities.js +1 -1
  64. package/dist/commonjs/funcs/jobActivitiesDeleteJobActivities.d.ts +1 -1
  65. package/dist/commonjs/funcs/jobActivitiesDeleteJobActivities.js +1 -1
  66. package/dist/commonjs/funcs/jobAllocationsCreateJobAllocations.d.ts +1 -1
  67. package/dist/commonjs/funcs/jobAllocationsCreateJobAllocations.js +1 -1
  68. package/dist/commonjs/funcs/jobAllocationsDeleteJobAllocations.d.ts +1 -1
  69. package/dist/commonjs/funcs/jobAllocationsDeleteJobAllocations.js +1 -1
  70. package/dist/commonjs/funcs/jobChecklistsCreateJobChecklists.d.ts +1 -1
  71. package/dist/commonjs/funcs/jobChecklistsCreateJobChecklists.js +1 -1
  72. package/dist/commonjs/funcs/jobChecklistsDeleteJobChecklists.d.ts +1 -1
  73. package/dist/commonjs/funcs/jobChecklistsDeleteJobChecklists.js +1 -1
  74. package/dist/commonjs/funcs/jobContactsCreateJobContacts.d.ts +1 -1
  75. package/dist/commonjs/funcs/jobContactsCreateJobContacts.js +1 -1
  76. package/dist/commonjs/funcs/jobContactsDeleteJobContacts.d.ts +1 -1
  77. package/dist/commonjs/funcs/jobContactsDeleteJobContacts.js +1 -1
  78. package/dist/commonjs/funcs/jobMaterialBundlesCreateJobMaterialBundles.d.ts +1 -1
  79. package/dist/commonjs/funcs/jobMaterialBundlesCreateJobMaterialBundles.js +1 -1
  80. package/dist/commonjs/funcs/jobMaterialBundlesDeleteJobMaterialBundles.d.ts +1 -1
  81. package/dist/commonjs/funcs/jobMaterialBundlesDeleteJobMaterialBundles.js +1 -1
  82. package/dist/commonjs/funcs/jobMaterialsCreateJobMaterials.d.ts +1 -1
  83. package/dist/commonjs/funcs/jobMaterialsCreateJobMaterials.js +1 -1
  84. package/dist/commonjs/funcs/jobMaterialsDeleteJobMaterials.d.ts +1 -1
  85. package/dist/commonjs/funcs/jobMaterialsDeleteJobMaterials.js +1 -1
  86. package/dist/commonjs/funcs/jobPaymentsCreateJobPayments.d.ts +1 -1
  87. package/dist/commonjs/funcs/jobPaymentsCreateJobPayments.js +1 -1
  88. package/dist/commonjs/funcs/jobPaymentsDeleteJobPayments.d.ts +1 -1
  89. package/dist/commonjs/funcs/jobPaymentsDeleteJobPayments.js +1 -1
  90. package/dist/commonjs/funcs/jobQueuesCreateJobQueues.d.ts +1 -1
  91. package/dist/commonjs/funcs/jobQueuesCreateJobQueues.js +1 -1
  92. package/dist/commonjs/funcs/jobQueuesDeleteJobQueues.d.ts +1 -1
  93. package/dist/commonjs/funcs/jobQueuesDeleteJobQueues.js +1 -1
  94. package/dist/commonjs/funcs/jobsCreateJobs.d.ts +1 -1
  95. package/dist/commonjs/funcs/jobsCreateJobs.js +1 -1
  96. package/dist/commonjs/funcs/jobsDeleteJobs.d.ts +1 -1
  97. package/dist/commonjs/funcs/jobsDeleteJobs.js +1 -1
  98. package/dist/commonjs/funcs/knowledgeArticlesCreateKnowledgeArticles.d.ts +1 -1
  99. package/dist/commonjs/funcs/knowledgeArticlesCreateKnowledgeArticles.js +1 -1
  100. package/dist/commonjs/funcs/knowledgeArticlesDeleteKnowledgeArticles.d.ts +1 -1
  101. package/dist/commonjs/funcs/knowledgeArticlesDeleteKnowledgeArticles.js +1 -1
  102. package/dist/commonjs/funcs/locationsCreateLocations.d.ts +1 -1
  103. package/dist/commonjs/funcs/locationsCreateLocations.js +1 -1
  104. package/dist/commonjs/funcs/locationsDeleteLocations.d.ts +1 -1
  105. package/dist/commonjs/funcs/locationsDeleteLocations.js +1 -1
  106. package/dist/commonjs/funcs/materialsCreateMaterials.d.ts +1 -1
  107. package/dist/commonjs/funcs/materialsCreateMaterials.js +1 -1
  108. package/dist/commonjs/funcs/materialsDeleteMaterials.d.ts +1 -1
  109. package/dist/commonjs/funcs/materialsDeleteMaterials.js +1 -1
  110. package/dist/commonjs/funcs/notesCreateNotes.d.ts +1 -1
  111. package/dist/commonjs/funcs/notesCreateNotes.js +1 -1
  112. package/dist/commonjs/funcs/notesDeleteNotes.d.ts +1 -1
  113. package/dist/commonjs/funcs/notesDeleteNotes.js +1 -1
  114. package/dist/commonjs/funcs/securityRolesCreateSecurityRoles.d.ts +1 -1
  115. package/dist/commonjs/funcs/securityRolesCreateSecurityRoles.js +1 -1
  116. package/dist/commonjs/funcs/securityRolesDeleteSecurityRoles.d.ts +1 -1
  117. package/dist/commonjs/funcs/securityRolesDeleteSecurityRoles.js +1 -1
  118. package/dist/commonjs/funcs/smsTemplatesCreateSMSTemplates.d.ts +1 -1
  119. package/dist/commonjs/funcs/smsTemplatesCreateSMSTemplates.js +1 -1
  120. package/dist/commonjs/funcs/smsTemplatesDeleteSMSTemplates.d.ts +1 -1
  121. package/dist/commonjs/funcs/smsTemplatesDeleteSMSTemplates.js +1 -1
  122. package/dist/commonjs/funcs/staffMembersCreateStaffMembers.d.ts +1 -1
  123. package/dist/commonjs/funcs/staffMembersCreateStaffMembers.js +1 -1
  124. package/dist/commonjs/funcs/staffMembersDeleteStaffMembers.d.ts +1 -1
  125. package/dist/commonjs/funcs/staffMembersDeleteStaffMembers.js +1 -1
  126. package/dist/commonjs/funcs/staffMessagesCreateStaffMessages.d.ts +1 -1
  127. package/dist/commonjs/funcs/staffMessagesCreateStaffMessages.js +1 -1
  128. package/dist/commonjs/funcs/staffMessagesDeleteStaffMessages.d.ts +1 -1
  129. package/dist/commonjs/funcs/staffMessagesDeleteStaffMessages.js +1 -1
  130. package/dist/commonjs/funcs/tasksCreateTasks.d.ts +1 -1
  131. package/dist/commonjs/funcs/tasksCreateTasks.js +1 -1
  132. package/dist/commonjs/funcs/tasksDeleteTasks.d.ts +1 -1
  133. package/dist/commonjs/funcs/tasksDeleteTasks.js +1 -1
  134. package/dist/commonjs/funcs/taxRatesCreateTaxRates.d.ts +1 -1
  135. package/dist/commonjs/funcs/taxRatesCreateTaxRates.js +1 -1
  136. package/dist/commonjs/funcs/taxRatesDeleteTaxRates.d.ts +1 -1
  137. package/dist/commonjs/funcs/taxRatesDeleteTaxRates.js +1 -1
  138. package/dist/commonjs/lib/config.d.ts +2 -2
  139. package/dist/commonjs/lib/config.js +2 -2
  140. package/dist/commonjs/mcp-server/mcp-server.js +1 -1
  141. package/dist/commonjs/mcp-server/server.js +1 -1
  142. package/dist/commonjs/mcp-server/tools/allocationWindowsCreateAllocationWindows.js +1 -1
  143. package/dist/commonjs/mcp-server/tools/allocationWindowsDeleteAllocationWindows.js +1 -1
  144. package/dist/commonjs/mcp-server/tools/assetTypeFieldsCreateAssetTypeFields.js +1 -1
  145. package/dist/commonjs/mcp-server/tools/assetTypeFieldsDeleteAssetTypeFields.js +1 -1
  146. package/dist/commonjs/mcp-server/tools/assetTypesCreateAssetTypes.js +1 -1
  147. package/dist/commonjs/mcp-server/tools/assetTypesDeleteAssetTypes.js +1 -1
  148. package/dist/commonjs/mcp-server/tools/assetsDeleteAssets.js +1 -1
  149. package/dist/commonjs/mcp-server/tools/attachmentsCreateAttachments.js +1 -1
  150. package/dist/commonjs/mcp-server/tools/attachmentsDeleteAttachments.js +1 -1
  151. package/dist/commonjs/mcp-server/tools/badgesCreateBadges.js +1 -1
  152. package/dist/commonjs/mcp-server/tools/badgesDeleteBadges.js +1 -1
  153. package/dist/commonjs/mcp-server/tools/bundlesCreateBundles.js +1 -1
  154. package/dist/commonjs/mcp-server/tools/bundlesDeleteBundles.js +1 -1
  155. package/dist/commonjs/mcp-server/tools/categoriesCreateCategories.js +1 -1
  156. package/dist/commonjs/mcp-server/tools/categoriesDeleteCategories.js +1 -1
  157. package/dist/commonjs/mcp-server/tools/clientsCreateClients.js +1 -1
  158. package/dist/commonjs/mcp-server/tools/clientsDeleteClients.js +1 -1
  159. package/dist/commonjs/mcp-server/tools/companyContactsCreateCompanyContacts.js +1 -1
  160. package/dist/commonjs/mcp-server/tools/companyContactsDeleteCompanyContacts.js +1 -1
  161. package/dist/commonjs/mcp-server/tools/emailTemplatesCreateEmailTemplates.js +1 -1
  162. package/dist/commonjs/mcp-server/tools/emailTemplatesDeleteEmailTemplates.js +1 -1
  163. package/dist/commonjs/mcp-server/tools/feedbackCreateFeedback.js +1 -1
  164. package/dist/commonjs/mcp-server/tools/feedbackDeleteFeedback.js +1 -1
  165. package/dist/commonjs/mcp-server/tools/formFieldsCreateFormFields.js +1 -1
  166. package/dist/commonjs/mcp-server/tools/formFieldsDeleteFormFields.js +1 -1
  167. package/dist/commonjs/mcp-server/tools/formResponsesCreateFormResponses.js +1 -1
  168. package/dist/commonjs/mcp-server/tools/formResponsesDeleteFormResponses.js +1 -1
  169. package/dist/commonjs/mcp-server/tools/formsCreateForms.js +1 -1
  170. package/dist/commonjs/mcp-server/tools/formsDeleteForms.js +1 -1
  171. package/dist/commonjs/mcp-server/tools/jobActivitiesCreateJobActivities.js +1 -1
  172. package/dist/commonjs/mcp-server/tools/jobActivitiesDeleteJobActivities.js +1 -1
  173. package/dist/commonjs/mcp-server/tools/jobAllocationsCreateJobAllocations.js +1 -1
  174. package/dist/commonjs/mcp-server/tools/jobAllocationsDeleteJobAllocations.js +1 -1
  175. package/dist/commonjs/mcp-server/tools/jobChecklistsCreateJobChecklists.js +1 -1
  176. package/dist/commonjs/mcp-server/tools/jobChecklistsDeleteJobChecklists.js +1 -1
  177. package/dist/commonjs/mcp-server/tools/jobContactsCreateJobContacts.js +1 -1
  178. package/dist/commonjs/mcp-server/tools/jobContactsDeleteJobContacts.js +1 -1
  179. package/dist/commonjs/mcp-server/tools/jobMaterialBundlesCreateJobMaterialBundles.js +1 -1
  180. package/dist/commonjs/mcp-server/tools/jobMaterialBundlesDeleteJobMaterialBundles.js +1 -1
  181. package/dist/commonjs/mcp-server/tools/jobMaterialsCreateJobMaterials.js +1 -1
  182. package/dist/commonjs/mcp-server/tools/jobMaterialsDeleteJobMaterials.js +1 -1
  183. package/dist/commonjs/mcp-server/tools/jobPaymentsCreateJobPayments.js +1 -1
  184. package/dist/commonjs/mcp-server/tools/jobPaymentsDeleteJobPayments.js +1 -1
  185. package/dist/commonjs/mcp-server/tools/jobQueuesCreateJobQueues.js +1 -1
  186. package/dist/commonjs/mcp-server/tools/jobQueuesDeleteJobQueues.js +1 -1
  187. package/dist/commonjs/mcp-server/tools/jobsCreateJobs.js +1 -1
  188. package/dist/commonjs/mcp-server/tools/jobsDeleteJobs.js +1 -1
  189. package/dist/commonjs/mcp-server/tools/knowledgeArticlesCreateKnowledgeArticles.js +1 -1
  190. package/dist/commonjs/mcp-server/tools/knowledgeArticlesDeleteKnowledgeArticles.js +1 -1
  191. package/dist/commonjs/mcp-server/tools/locationsCreateLocations.js +1 -1
  192. package/dist/commonjs/mcp-server/tools/locationsDeleteLocations.js +1 -1
  193. package/dist/commonjs/mcp-server/tools/materialsCreateMaterials.js +1 -1
  194. package/dist/commonjs/mcp-server/tools/materialsDeleteMaterials.js +1 -1
  195. package/dist/commonjs/mcp-server/tools/notesCreateNotes.js +1 -1
  196. package/dist/commonjs/mcp-server/tools/notesDeleteNotes.js +1 -1
  197. package/dist/commonjs/mcp-server/tools/securityRolesCreateSecurityRoles.js +1 -1
  198. package/dist/commonjs/mcp-server/tools/securityRolesDeleteSecurityRoles.js +1 -1
  199. package/dist/commonjs/mcp-server/tools/smsTemplatesCreateSMSTemplates.js +1 -1
  200. package/dist/commonjs/mcp-server/tools/smsTemplatesDeleteSMSTemplates.js +1 -1
  201. package/dist/commonjs/mcp-server/tools/staffMembersCreateStaffMembers.js +1 -1
  202. package/dist/commonjs/mcp-server/tools/staffMembersDeleteStaffMembers.js +1 -1
  203. package/dist/commonjs/mcp-server/tools/staffMessagesCreateStaffMessages.js +1 -1
  204. package/dist/commonjs/mcp-server/tools/staffMessagesDeleteStaffMessages.js +1 -1
  205. package/dist/commonjs/mcp-server/tools/tasksCreateTasks.js +1 -1
  206. package/dist/commonjs/mcp-server/tools/tasksDeleteTasks.js +1 -1
  207. package/dist/commonjs/mcp-server/tools/taxRatesCreateTaxRates.js +1 -1
  208. package/dist/commonjs/mcp-server/tools/taxRatesDeleteTaxRates.js +1 -1
  209. package/dist/commonjs/models/components/allocationwindow.d.ts +9 -25
  210. package/dist/commonjs/models/components/allocationwindow.d.ts.map +1 -1
  211. package/dist/commonjs/models/components/allocationwindow.js +3 -7
  212. package/dist/commonjs/models/components/allocationwindow.js.map +1 -1
  213. package/dist/commonjs/models/components/asset.d.ts +19 -29
  214. package/dist/commonjs/models/components/asset.d.ts.map +1 -1
  215. package/dist/commonjs/models/components/asset.js +3 -7
  216. package/dist/commonjs/models/components/asset.js.map +1 -1
  217. package/dist/commonjs/models/components/assettype.d.ts +15 -25
  218. package/dist/commonjs/models/components/assettype.d.ts.map +1 -1
  219. package/dist/commonjs/models/components/assettype.js +3 -7
  220. package/dist/commonjs/models/components/assettype.js.map +1 -1
  221. package/dist/commonjs/models/components/assettypefield.d.ts +32 -27
  222. package/dist/commonjs/models/components/assettypefield.d.ts.map +1 -1
  223. package/dist/commonjs/models/components/assettypefield.js +3 -7
  224. package/dist/commonjs/models/components/assettypefield.js.map +1 -1
  225. package/dist/commonjs/models/components/attachment.d.ts +9 -25
  226. package/dist/commonjs/models/components/attachment.d.ts.map +1 -1
  227. package/dist/commonjs/models/components/attachment.js +3 -7
  228. package/dist/commonjs/models/components/attachment.js.map +1 -1
  229. package/dist/commonjs/models/components/badge.d.ts +17 -27
  230. package/dist/commonjs/models/components/badge.d.ts.map +1 -1
  231. package/dist/commonjs/models/components/badge.js +3 -7
  232. package/dist/commonjs/models/components/badge.js.map +1 -1
  233. package/dist/commonjs/models/components/category.d.ts +29 -33
  234. package/dist/commonjs/models/components/category.d.ts.map +1 -1
  235. package/dist/commonjs/models/components/category.js +11 -15
  236. package/dist/commonjs/models/components/category.js.map +1 -1
  237. package/dist/commonjs/models/components/company.d.ts +57 -57
  238. package/dist/commonjs/models/components/company.d.ts.map +1 -1
  239. package/dist/commonjs/models/components/company.js +33 -29
  240. package/dist/commonjs/models/components/company.js.map +1 -1
  241. package/dist/commonjs/models/components/companycontact.d.ts +9 -25
  242. package/dist/commonjs/models/components/companycontact.d.ts.map +1 -1
  243. package/dist/commonjs/models/components/companycontact.js +3 -7
  244. package/dist/commonjs/models/components/companycontact.js.map +1 -1
  245. package/dist/commonjs/models/components/emailtemplate.d.ts +9 -25
  246. package/dist/commonjs/models/components/emailtemplate.d.ts.map +1 -1
  247. package/dist/commonjs/models/components/emailtemplate.js +3 -7
  248. package/dist/commonjs/models/components/emailtemplate.js.map +1 -1
  249. package/dist/commonjs/models/components/feedback.d.ts +9 -25
  250. package/dist/commonjs/models/components/feedback.d.ts.map +1 -1
  251. package/dist/commonjs/models/components/feedback.js +3 -7
  252. package/dist/commonjs/models/components/feedback.js.map +1 -1
  253. package/dist/commonjs/models/components/form.d.ts +78 -64
  254. package/dist/commonjs/models/components/form.d.ts.map +1 -1
  255. package/dist/commonjs/models/components/form.js +33 -37
  256. package/dist/commonjs/models/components/form.js.map +1 -1
  257. package/dist/commonjs/models/components/formfield.d.ts +9 -25
  258. package/dist/commonjs/models/components/formfield.d.ts.map +1 -1
  259. package/dist/commonjs/models/components/formfield.js +3 -7
  260. package/dist/commonjs/models/components/formfield.js.map +1 -1
  261. package/dist/commonjs/models/components/formresponse.d.ts +9 -25
  262. package/dist/commonjs/models/components/formresponse.d.ts.map +1 -1
  263. package/dist/commonjs/models/components/formresponse.js +3 -7
  264. package/dist/commonjs/models/components/formresponse.js.map +1 -1
  265. package/dist/commonjs/models/components/job.d.ts +336 -148
  266. package/dist/commonjs/models/components/job.d.ts.map +1 -1
  267. package/dist/commonjs/models/components/job.js +146 -166
  268. package/dist/commonjs/models/components/job.js.map +1 -1
  269. package/dist/commonjs/models/components/jobactivity.d.ts +12 -28
  270. package/dist/commonjs/models/components/jobactivity.d.ts.map +1 -1
  271. package/dist/commonjs/models/components/jobactivity.js +5 -9
  272. package/dist/commonjs/models/components/jobactivity.js.map +1 -1
  273. package/dist/commonjs/models/components/joballocation.d.ts +9 -25
  274. package/dist/commonjs/models/components/joballocation.d.ts.map +1 -1
  275. package/dist/commonjs/models/components/joballocation.js +3 -7
  276. package/dist/commonjs/models/components/joballocation.js.map +1 -1
  277. package/dist/commonjs/models/components/jobchecklist.d.ts +86 -49
  278. package/dist/commonjs/models/components/jobchecklist.d.ts.map +1 -1
  279. package/dist/commonjs/models/components/jobchecklist.js +4 -12
  280. package/dist/commonjs/models/components/jobchecklist.js.map +1 -1
  281. package/dist/commonjs/models/components/jobcontact.d.ts +9 -25
  282. package/dist/commonjs/models/components/jobcontact.d.ts.map +1 -1
  283. package/dist/commonjs/models/components/jobcontact.js +3 -7
  284. package/dist/commonjs/models/components/jobcontact.js.map +1 -1
  285. package/dist/commonjs/models/components/jobmaterial.d.ts +9 -25
  286. package/dist/commonjs/models/components/jobmaterial.d.ts.map +1 -1
  287. package/dist/commonjs/models/components/jobmaterial.js +3 -7
  288. package/dist/commonjs/models/components/jobmaterial.js.map +1 -1
  289. package/dist/commonjs/models/components/jobmaterialbundle.d.ts +39 -25
  290. package/dist/commonjs/models/components/jobmaterialbundle.d.ts.map +1 -1
  291. package/dist/commonjs/models/components/jobmaterialbundle.js +3 -7
  292. package/dist/commonjs/models/components/jobmaterialbundle.js.map +1 -1
  293. package/dist/commonjs/models/components/jobpayment.d.ts +13 -45
  294. package/dist/commonjs/models/components/jobpayment.d.ts.map +1 -1
  295. package/dist/commonjs/models/components/jobpayment.js +4 -12
  296. package/dist/commonjs/models/components/jobpayment.js.map +1 -1
  297. package/dist/commonjs/models/components/knowledgearticle.d.ts +39 -25
  298. package/dist/commonjs/models/components/knowledgearticle.d.ts.map +1 -1
  299. package/dist/commonjs/models/components/knowledgearticle.js +3 -7
  300. package/dist/commonjs/models/components/knowledgearticle.js.map +1 -1
  301. package/dist/commonjs/models/components/location.d.ts +57 -37
  302. package/dist/commonjs/models/components/location.d.ts.map +1 -1
  303. package/dist/commonjs/models/components/location.js +13 -17
  304. package/dist/commonjs/models/components/location.js.map +1 -1
  305. package/dist/commonjs/models/components/material.d.ts +96 -92
  306. package/dist/commonjs/models/components/material.d.ts.map +1 -1
  307. package/dist/commonjs/models/components/material.js +54 -62
  308. package/dist/commonjs/models/components/material.js.map +1 -1
  309. package/dist/commonjs/models/components/materialbundle.d.ts +27 -25
  310. package/dist/commonjs/models/components/materialbundle.d.ts.map +1 -1
  311. package/dist/commonjs/models/components/materialbundle.js +3 -7
  312. package/dist/commonjs/models/components/materialbundle.js.map +1 -1
  313. package/dist/commonjs/models/components/note.d.ts +18 -34
  314. package/dist/commonjs/models/components/note.d.ts.map +1 -1
  315. package/dist/commonjs/models/components/note.js +9 -13
  316. package/dist/commonjs/models/components/note.js.map +1 -1
  317. package/dist/commonjs/models/components/queue.d.ts +31 -37
  318. package/dist/commonjs/models/components/queue.d.ts.map +1 -1
  319. package/dist/commonjs/models/components/queue.js +4 -10
  320. package/dist/commonjs/models/components/queue.js.map +1 -1
  321. package/dist/commonjs/models/components/securityrole.d.ts +26 -36
  322. package/dist/commonjs/models/components/securityrole.d.ts.map +1 -1
  323. package/dist/commonjs/models/components/securityrole.js +13 -17
  324. package/dist/commonjs/models/components/securityrole.js.map +1 -1
  325. package/dist/commonjs/models/components/smstemplate.d.ts +9 -25
  326. package/dist/commonjs/models/components/smstemplate.d.ts.map +1 -1
  327. package/dist/commonjs/models/components/smstemplate.js +3 -7
  328. package/dist/commonjs/models/components/smstemplate.js.map +1 -1
  329. package/dist/commonjs/models/components/staff.d.ts +127 -73
  330. package/dist/commonjs/models/components/staff.d.ts.map +1 -1
  331. package/dist/commonjs/models/components/staff.js +44 -50
  332. package/dist/commonjs/models/components/staff.js.map +1 -1
  333. package/dist/commonjs/models/components/staffmessage.d.ts +9 -25
  334. package/dist/commonjs/models/components/staffmessage.d.ts.map +1 -1
  335. package/dist/commonjs/models/components/staffmessage.js +3 -7
  336. package/dist/commonjs/models/components/staffmessage.js.map +1 -1
  337. package/dist/commonjs/models/components/task.d.ts +100 -50
  338. package/dist/commonjs/models/components/task.d.ts.map +1 -1
  339. package/dist/commonjs/models/components/task.js +25 -29
  340. package/dist/commonjs/models/components/task.js.map +1 -1
  341. package/dist/commonjs/models/components/taxrate.d.ts +13 -37
  342. package/dist/commonjs/models/components/taxrate.d.ts.map +1 -1
  343. package/dist/commonjs/models/components/taxrate.js +4 -10
  344. package/dist/commonjs/models/components/taxrate.js.map +1 -1
  345. package/dist/commonjs/models/components/vendor.d.ts +9 -25
  346. package/dist/commonjs/models/components/vendor.d.ts.map +1 -1
  347. package/dist/commonjs/models/components/vendor.js +3 -7
  348. package/dist/commonjs/models/components/vendor.js.map +1 -1
  349. package/dist/commonjs/sdk/allocationwindows.d.ts +2 -2
  350. package/dist/commonjs/sdk/allocationwindows.js +2 -2
  351. package/dist/commonjs/sdk/assets.d.ts +1 -1
  352. package/dist/commonjs/sdk/assets.js +1 -1
  353. package/dist/commonjs/sdk/assettypefields.d.ts +2 -2
  354. package/dist/commonjs/sdk/assettypefields.js +2 -2
  355. package/dist/commonjs/sdk/assettypes.d.ts +2 -2
  356. package/dist/commonjs/sdk/assettypes.js +2 -2
  357. package/dist/commonjs/sdk/attachments.d.ts +2 -2
  358. package/dist/commonjs/sdk/attachments.js +2 -2
  359. package/dist/commonjs/sdk/badges.d.ts +2 -2
  360. package/dist/commonjs/sdk/badges.js +2 -2
  361. package/dist/commonjs/sdk/bundles.d.ts +2 -2
  362. package/dist/commonjs/sdk/bundles.js +2 -2
  363. package/dist/commonjs/sdk/categories.d.ts +2 -2
  364. package/dist/commonjs/sdk/categories.js +2 -2
  365. package/dist/commonjs/sdk/clients.d.ts +2 -2
  366. package/dist/commonjs/sdk/clients.js +2 -2
  367. package/dist/commonjs/sdk/companycontacts.d.ts +2 -2
  368. package/dist/commonjs/sdk/companycontacts.js +2 -2
  369. package/dist/commonjs/sdk/emailtemplates.d.ts +2 -2
  370. package/dist/commonjs/sdk/emailtemplates.js +2 -2
  371. package/dist/commonjs/sdk/feedback.d.ts +2 -2
  372. package/dist/commonjs/sdk/feedback.js +2 -2
  373. package/dist/commonjs/sdk/formfields.d.ts +2 -2
  374. package/dist/commonjs/sdk/formfields.js +2 -2
  375. package/dist/commonjs/sdk/formresponses.d.ts +2 -2
  376. package/dist/commonjs/sdk/formresponses.js +2 -2
  377. package/dist/commonjs/sdk/forms.d.ts +2 -2
  378. package/dist/commonjs/sdk/forms.js +2 -2
  379. package/dist/commonjs/sdk/jobactivities.d.ts +2 -2
  380. package/dist/commonjs/sdk/jobactivities.js +2 -2
  381. package/dist/commonjs/sdk/joballocations.d.ts +2 -2
  382. package/dist/commonjs/sdk/joballocations.js +2 -2
  383. package/dist/commonjs/sdk/jobchecklists.d.ts +2 -2
  384. package/dist/commonjs/sdk/jobchecklists.js +2 -2
  385. package/dist/commonjs/sdk/jobcontacts.d.ts +2 -2
  386. package/dist/commonjs/sdk/jobcontacts.js +2 -2
  387. package/dist/commonjs/sdk/jobmaterialbundles.d.ts +2 -2
  388. package/dist/commonjs/sdk/jobmaterialbundles.js +2 -2
  389. package/dist/commonjs/sdk/jobmaterials.d.ts +2 -2
  390. package/dist/commonjs/sdk/jobmaterials.js +2 -2
  391. package/dist/commonjs/sdk/jobpayments.d.ts +2 -2
  392. package/dist/commonjs/sdk/jobpayments.js +2 -2
  393. package/dist/commonjs/sdk/jobqueues.d.ts +2 -2
  394. package/dist/commonjs/sdk/jobqueues.js +2 -2
  395. package/dist/commonjs/sdk/jobs.d.ts +2 -2
  396. package/dist/commonjs/sdk/jobs.js +2 -2
  397. package/dist/commonjs/sdk/knowledgearticles.d.ts +2 -2
  398. package/dist/commonjs/sdk/knowledgearticles.js +2 -2
  399. package/dist/commonjs/sdk/locations.d.ts +2 -2
  400. package/dist/commonjs/sdk/locations.js +2 -2
  401. package/dist/commonjs/sdk/materials.d.ts +2 -2
  402. package/dist/commonjs/sdk/materials.js +2 -2
  403. package/dist/commonjs/sdk/notes.d.ts +2 -2
  404. package/dist/commonjs/sdk/notes.js +2 -2
  405. package/dist/commonjs/sdk/securityroles.d.ts +2 -2
  406. package/dist/commonjs/sdk/securityroles.js +2 -2
  407. package/dist/commonjs/sdk/smstemplates.d.ts +2 -2
  408. package/dist/commonjs/sdk/smstemplates.js +2 -2
  409. package/dist/commonjs/sdk/staffmembers.d.ts +2 -2
  410. package/dist/commonjs/sdk/staffmembers.js +2 -2
  411. package/dist/commonjs/sdk/staffmessages.d.ts +2 -2
  412. package/dist/commonjs/sdk/staffmessages.js +2 -2
  413. package/dist/commonjs/sdk/tasks.d.ts +2 -2
  414. package/dist/commonjs/sdk/tasks.js +2 -2
  415. package/dist/commonjs/sdk/taxrates.d.ts +2 -2
  416. package/dist/commonjs/sdk/taxrates.js +2 -2
  417. package/dist/esm/funcs/allocationWindowsCreateAllocationWindows.d.ts +1 -1
  418. package/dist/esm/funcs/allocationWindowsCreateAllocationWindows.js +1 -1
  419. package/dist/esm/funcs/allocationWindowsDeleteAllocationWindows.d.ts +1 -1
  420. package/dist/esm/funcs/allocationWindowsDeleteAllocationWindows.js +1 -1
  421. package/dist/esm/funcs/assetTypeFieldsCreateAssetTypeFields.d.ts +1 -1
  422. package/dist/esm/funcs/assetTypeFieldsCreateAssetTypeFields.js +1 -1
  423. package/dist/esm/funcs/assetTypeFieldsDeleteAssetTypeFields.d.ts +1 -1
  424. package/dist/esm/funcs/assetTypeFieldsDeleteAssetTypeFields.js +1 -1
  425. package/dist/esm/funcs/assetTypesCreateAssetTypes.d.ts +1 -1
  426. package/dist/esm/funcs/assetTypesCreateAssetTypes.js +1 -1
  427. package/dist/esm/funcs/assetTypesDeleteAssetTypes.d.ts +1 -1
  428. package/dist/esm/funcs/assetTypesDeleteAssetTypes.js +1 -1
  429. package/dist/esm/funcs/assetsDeleteAssets.d.ts +1 -1
  430. package/dist/esm/funcs/assetsDeleteAssets.js +1 -1
  431. package/dist/esm/funcs/attachmentsCreateAttachments.d.ts +1 -1
  432. package/dist/esm/funcs/attachmentsCreateAttachments.js +1 -1
  433. package/dist/esm/funcs/attachmentsDeleteAttachments.d.ts +1 -1
  434. package/dist/esm/funcs/attachmentsDeleteAttachments.js +1 -1
  435. package/dist/esm/funcs/badgesCreateBadges.d.ts +1 -1
  436. package/dist/esm/funcs/badgesCreateBadges.js +1 -1
  437. package/dist/esm/funcs/badgesDeleteBadges.d.ts +1 -1
  438. package/dist/esm/funcs/badgesDeleteBadges.js +1 -1
  439. package/dist/esm/funcs/bundlesCreateBundles.d.ts +1 -1
  440. package/dist/esm/funcs/bundlesCreateBundles.js +1 -1
  441. package/dist/esm/funcs/bundlesDeleteBundles.d.ts +1 -1
  442. package/dist/esm/funcs/bundlesDeleteBundles.js +1 -1
  443. package/dist/esm/funcs/categoriesCreateCategories.d.ts +1 -1
  444. package/dist/esm/funcs/categoriesCreateCategories.js +1 -1
  445. package/dist/esm/funcs/categoriesDeleteCategories.d.ts +1 -1
  446. package/dist/esm/funcs/categoriesDeleteCategories.js +1 -1
  447. package/dist/esm/funcs/clientsCreateClients.d.ts +1 -1
  448. package/dist/esm/funcs/clientsCreateClients.js +1 -1
  449. package/dist/esm/funcs/clientsDeleteClients.d.ts +1 -1
  450. package/dist/esm/funcs/clientsDeleteClients.js +1 -1
  451. package/dist/esm/funcs/companyContactsCreateCompanyContacts.d.ts +1 -1
  452. package/dist/esm/funcs/companyContactsCreateCompanyContacts.js +1 -1
  453. package/dist/esm/funcs/companyContactsDeleteCompanyContacts.d.ts +1 -1
  454. package/dist/esm/funcs/companyContactsDeleteCompanyContacts.js +1 -1
  455. package/dist/esm/funcs/emailTemplatesCreateEmailTemplates.d.ts +1 -1
  456. package/dist/esm/funcs/emailTemplatesCreateEmailTemplates.js +1 -1
  457. package/dist/esm/funcs/emailTemplatesDeleteEmailTemplates.d.ts +1 -1
  458. package/dist/esm/funcs/emailTemplatesDeleteEmailTemplates.js +1 -1
  459. package/dist/esm/funcs/feedbackCreateFeedback.d.ts +1 -1
  460. package/dist/esm/funcs/feedbackCreateFeedback.js +1 -1
  461. package/dist/esm/funcs/feedbackDeleteFeedback.d.ts +1 -1
  462. package/dist/esm/funcs/feedbackDeleteFeedback.js +1 -1
  463. package/dist/esm/funcs/formFieldsCreateFormFields.d.ts +1 -1
  464. package/dist/esm/funcs/formFieldsCreateFormFields.js +1 -1
  465. package/dist/esm/funcs/formFieldsDeleteFormFields.d.ts +1 -1
  466. package/dist/esm/funcs/formFieldsDeleteFormFields.js +1 -1
  467. package/dist/esm/funcs/formResponsesCreateFormResponses.d.ts +1 -1
  468. package/dist/esm/funcs/formResponsesCreateFormResponses.js +1 -1
  469. package/dist/esm/funcs/formResponsesDeleteFormResponses.d.ts +1 -1
  470. package/dist/esm/funcs/formResponsesDeleteFormResponses.js +1 -1
  471. package/dist/esm/funcs/formsCreateForms.d.ts +1 -1
  472. package/dist/esm/funcs/formsCreateForms.js +1 -1
  473. package/dist/esm/funcs/formsDeleteForms.d.ts +1 -1
  474. package/dist/esm/funcs/formsDeleteForms.js +1 -1
  475. package/dist/esm/funcs/jobActivitiesCreateJobActivities.d.ts +1 -1
  476. package/dist/esm/funcs/jobActivitiesCreateJobActivities.js +1 -1
  477. package/dist/esm/funcs/jobActivitiesDeleteJobActivities.d.ts +1 -1
  478. package/dist/esm/funcs/jobActivitiesDeleteJobActivities.js +1 -1
  479. package/dist/esm/funcs/jobAllocationsCreateJobAllocations.d.ts +1 -1
  480. package/dist/esm/funcs/jobAllocationsCreateJobAllocations.js +1 -1
  481. package/dist/esm/funcs/jobAllocationsDeleteJobAllocations.d.ts +1 -1
  482. package/dist/esm/funcs/jobAllocationsDeleteJobAllocations.js +1 -1
  483. package/dist/esm/funcs/jobChecklistsCreateJobChecklists.d.ts +1 -1
  484. package/dist/esm/funcs/jobChecklistsCreateJobChecklists.js +1 -1
  485. package/dist/esm/funcs/jobChecklistsDeleteJobChecklists.d.ts +1 -1
  486. package/dist/esm/funcs/jobChecklistsDeleteJobChecklists.js +1 -1
  487. package/dist/esm/funcs/jobContactsCreateJobContacts.d.ts +1 -1
  488. package/dist/esm/funcs/jobContactsCreateJobContacts.js +1 -1
  489. package/dist/esm/funcs/jobContactsDeleteJobContacts.d.ts +1 -1
  490. package/dist/esm/funcs/jobContactsDeleteJobContacts.js +1 -1
  491. package/dist/esm/funcs/jobMaterialBundlesCreateJobMaterialBundles.d.ts +1 -1
  492. package/dist/esm/funcs/jobMaterialBundlesCreateJobMaterialBundles.js +1 -1
  493. package/dist/esm/funcs/jobMaterialBundlesDeleteJobMaterialBundles.d.ts +1 -1
  494. package/dist/esm/funcs/jobMaterialBundlesDeleteJobMaterialBundles.js +1 -1
  495. package/dist/esm/funcs/jobMaterialsCreateJobMaterials.d.ts +1 -1
  496. package/dist/esm/funcs/jobMaterialsCreateJobMaterials.js +1 -1
  497. package/dist/esm/funcs/jobMaterialsDeleteJobMaterials.d.ts +1 -1
  498. package/dist/esm/funcs/jobMaterialsDeleteJobMaterials.js +1 -1
  499. package/dist/esm/funcs/jobPaymentsCreateJobPayments.d.ts +1 -1
  500. package/dist/esm/funcs/jobPaymentsCreateJobPayments.js +1 -1
  501. package/dist/esm/funcs/jobPaymentsDeleteJobPayments.d.ts +1 -1
  502. package/dist/esm/funcs/jobPaymentsDeleteJobPayments.js +1 -1
  503. package/dist/esm/funcs/jobQueuesCreateJobQueues.d.ts +1 -1
  504. package/dist/esm/funcs/jobQueuesCreateJobQueues.js +1 -1
  505. package/dist/esm/funcs/jobQueuesDeleteJobQueues.d.ts +1 -1
  506. package/dist/esm/funcs/jobQueuesDeleteJobQueues.js +1 -1
  507. package/dist/esm/funcs/jobsCreateJobs.d.ts +1 -1
  508. package/dist/esm/funcs/jobsCreateJobs.js +1 -1
  509. package/dist/esm/funcs/jobsDeleteJobs.d.ts +1 -1
  510. package/dist/esm/funcs/jobsDeleteJobs.js +1 -1
  511. package/dist/esm/funcs/knowledgeArticlesCreateKnowledgeArticles.d.ts +1 -1
  512. package/dist/esm/funcs/knowledgeArticlesCreateKnowledgeArticles.js +1 -1
  513. package/dist/esm/funcs/knowledgeArticlesDeleteKnowledgeArticles.d.ts +1 -1
  514. package/dist/esm/funcs/knowledgeArticlesDeleteKnowledgeArticles.js +1 -1
  515. package/dist/esm/funcs/locationsCreateLocations.d.ts +1 -1
  516. package/dist/esm/funcs/locationsCreateLocations.js +1 -1
  517. package/dist/esm/funcs/locationsDeleteLocations.d.ts +1 -1
  518. package/dist/esm/funcs/locationsDeleteLocations.js +1 -1
  519. package/dist/esm/funcs/materialsCreateMaterials.d.ts +1 -1
  520. package/dist/esm/funcs/materialsCreateMaterials.js +1 -1
  521. package/dist/esm/funcs/materialsDeleteMaterials.d.ts +1 -1
  522. package/dist/esm/funcs/materialsDeleteMaterials.js +1 -1
  523. package/dist/esm/funcs/notesCreateNotes.d.ts +1 -1
  524. package/dist/esm/funcs/notesCreateNotes.js +1 -1
  525. package/dist/esm/funcs/notesDeleteNotes.d.ts +1 -1
  526. package/dist/esm/funcs/notesDeleteNotes.js +1 -1
  527. package/dist/esm/funcs/securityRolesCreateSecurityRoles.d.ts +1 -1
  528. package/dist/esm/funcs/securityRolesCreateSecurityRoles.js +1 -1
  529. package/dist/esm/funcs/securityRolesDeleteSecurityRoles.d.ts +1 -1
  530. package/dist/esm/funcs/securityRolesDeleteSecurityRoles.js +1 -1
  531. package/dist/esm/funcs/smsTemplatesCreateSMSTemplates.d.ts +1 -1
  532. package/dist/esm/funcs/smsTemplatesCreateSMSTemplates.js +1 -1
  533. package/dist/esm/funcs/smsTemplatesDeleteSMSTemplates.d.ts +1 -1
  534. package/dist/esm/funcs/smsTemplatesDeleteSMSTemplates.js +1 -1
  535. package/dist/esm/funcs/staffMembersCreateStaffMembers.d.ts +1 -1
  536. package/dist/esm/funcs/staffMembersCreateStaffMembers.js +1 -1
  537. package/dist/esm/funcs/staffMembersDeleteStaffMembers.d.ts +1 -1
  538. package/dist/esm/funcs/staffMembersDeleteStaffMembers.js +1 -1
  539. package/dist/esm/funcs/staffMessagesCreateStaffMessages.d.ts +1 -1
  540. package/dist/esm/funcs/staffMessagesCreateStaffMessages.js +1 -1
  541. package/dist/esm/funcs/staffMessagesDeleteStaffMessages.d.ts +1 -1
  542. package/dist/esm/funcs/staffMessagesDeleteStaffMessages.js +1 -1
  543. package/dist/esm/funcs/tasksCreateTasks.d.ts +1 -1
  544. package/dist/esm/funcs/tasksCreateTasks.js +1 -1
  545. package/dist/esm/funcs/tasksDeleteTasks.d.ts +1 -1
  546. package/dist/esm/funcs/tasksDeleteTasks.js +1 -1
  547. package/dist/esm/funcs/taxRatesCreateTaxRates.d.ts +1 -1
  548. package/dist/esm/funcs/taxRatesCreateTaxRates.js +1 -1
  549. package/dist/esm/funcs/taxRatesDeleteTaxRates.d.ts +1 -1
  550. package/dist/esm/funcs/taxRatesDeleteTaxRates.js +1 -1
  551. package/dist/esm/lib/config.d.ts +2 -2
  552. package/dist/esm/lib/config.js +2 -2
  553. package/dist/esm/mcp-server/mcp-server.js +1 -1
  554. package/dist/esm/mcp-server/server.js +1 -1
  555. package/dist/esm/mcp-server/tools/allocationWindowsCreateAllocationWindows.js +1 -1
  556. package/dist/esm/mcp-server/tools/allocationWindowsDeleteAllocationWindows.js +1 -1
  557. package/dist/esm/mcp-server/tools/assetTypeFieldsCreateAssetTypeFields.js +1 -1
  558. package/dist/esm/mcp-server/tools/assetTypeFieldsDeleteAssetTypeFields.js +1 -1
  559. package/dist/esm/mcp-server/tools/assetTypesCreateAssetTypes.js +1 -1
  560. package/dist/esm/mcp-server/tools/assetTypesDeleteAssetTypes.js +1 -1
  561. package/dist/esm/mcp-server/tools/assetsDeleteAssets.js +1 -1
  562. package/dist/esm/mcp-server/tools/attachmentsCreateAttachments.js +1 -1
  563. package/dist/esm/mcp-server/tools/attachmentsDeleteAttachments.js +1 -1
  564. package/dist/esm/mcp-server/tools/badgesCreateBadges.js +1 -1
  565. package/dist/esm/mcp-server/tools/badgesDeleteBadges.js +1 -1
  566. package/dist/esm/mcp-server/tools/bundlesCreateBundles.js +1 -1
  567. package/dist/esm/mcp-server/tools/bundlesDeleteBundles.js +1 -1
  568. package/dist/esm/mcp-server/tools/categoriesCreateCategories.js +1 -1
  569. package/dist/esm/mcp-server/tools/categoriesDeleteCategories.js +1 -1
  570. package/dist/esm/mcp-server/tools/clientsCreateClients.js +1 -1
  571. package/dist/esm/mcp-server/tools/clientsDeleteClients.js +1 -1
  572. package/dist/esm/mcp-server/tools/companyContactsCreateCompanyContacts.js +1 -1
  573. package/dist/esm/mcp-server/tools/companyContactsDeleteCompanyContacts.js +1 -1
  574. package/dist/esm/mcp-server/tools/emailTemplatesCreateEmailTemplates.js +1 -1
  575. package/dist/esm/mcp-server/tools/emailTemplatesDeleteEmailTemplates.js +1 -1
  576. package/dist/esm/mcp-server/tools/feedbackCreateFeedback.js +1 -1
  577. package/dist/esm/mcp-server/tools/feedbackDeleteFeedback.js +1 -1
  578. package/dist/esm/mcp-server/tools/formFieldsCreateFormFields.js +1 -1
  579. package/dist/esm/mcp-server/tools/formFieldsDeleteFormFields.js +1 -1
  580. package/dist/esm/mcp-server/tools/formResponsesCreateFormResponses.js +1 -1
  581. package/dist/esm/mcp-server/tools/formResponsesDeleteFormResponses.js +1 -1
  582. package/dist/esm/mcp-server/tools/formsCreateForms.js +1 -1
  583. package/dist/esm/mcp-server/tools/formsDeleteForms.js +1 -1
  584. package/dist/esm/mcp-server/tools/jobActivitiesCreateJobActivities.js +1 -1
  585. package/dist/esm/mcp-server/tools/jobActivitiesDeleteJobActivities.js +1 -1
  586. package/dist/esm/mcp-server/tools/jobAllocationsCreateJobAllocations.js +1 -1
  587. package/dist/esm/mcp-server/tools/jobAllocationsDeleteJobAllocations.js +1 -1
  588. package/dist/esm/mcp-server/tools/jobChecklistsCreateJobChecklists.js +1 -1
  589. package/dist/esm/mcp-server/tools/jobChecklistsDeleteJobChecklists.js +1 -1
  590. package/dist/esm/mcp-server/tools/jobContactsCreateJobContacts.js +1 -1
  591. package/dist/esm/mcp-server/tools/jobContactsDeleteJobContacts.js +1 -1
  592. package/dist/esm/mcp-server/tools/jobMaterialBundlesCreateJobMaterialBundles.js +1 -1
  593. package/dist/esm/mcp-server/tools/jobMaterialBundlesDeleteJobMaterialBundles.js +1 -1
  594. package/dist/esm/mcp-server/tools/jobMaterialsCreateJobMaterials.js +1 -1
  595. package/dist/esm/mcp-server/tools/jobMaterialsDeleteJobMaterials.js +1 -1
  596. package/dist/esm/mcp-server/tools/jobPaymentsCreateJobPayments.js +1 -1
  597. package/dist/esm/mcp-server/tools/jobPaymentsDeleteJobPayments.js +1 -1
  598. package/dist/esm/mcp-server/tools/jobQueuesCreateJobQueues.js +1 -1
  599. package/dist/esm/mcp-server/tools/jobQueuesDeleteJobQueues.js +1 -1
  600. package/dist/esm/mcp-server/tools/jobsCreateJobs.js +1 -1
  601. package/dist/esm/mcp-server/tools/jobsDeleteJobs.js +1 -1
  602. package/dist/esm/mcp-server/tools/knowledgeArticlesCreateKnowledgeArticles.js +1 -1
  603. package/dist/esm/mcp-server/tools/knowledgeArticlesDeleteKnowledgeArticles.js +1 -1
  604. package/dist/esm/mcp-server/tools/locationsCreateLocations.js +1 -1
  605. package/dist/esm/mcp-server/tools/locationsDeleteLocations.js +1 -1
  606. package/dist/esm/mcp-server/tools/materialsCreateMaterials.js +1 -1
  607. package/dist/esm/mcp-server/tools/materialsDeleteMaterials.js +1 -1
  608. package/dist/esm/mcp-server/tools/notesCreateNotes.js +1 -1
  609. package/dist/esm/mcp-server/tools/notesDeleteNotes.js +1 -1
  610. package/dist/esm/mcp-server/tools/securityRolesCreateSecurityRoles.js +1 -1
  611. package/dist/esm/mcp-server/tools/securityRolesDeleteSecurityRoles.js +1 -1
  612. package/dist/esm/mcp-server/tools/smsTemplatesCreateSMSTemplates.js +1 -1
  613. package/dist/esm/mcp-server/tools/smsTemplatesDeleteSMSTemplates.js +1 -1
  614. package/dist/esm/mcp-server/tools/staffMembersCreateStaffMembers.js +1 -1
  615. package/dist/esm/mcp-server/tools/staffMembersDeleteStaffMembers.js +1 -1
  616. package/dist/esm/mcp-server/tools/staffMessagesCreateStaffMessages.js +1 -1
  617. package/dist/esm/mcp-server/tools/staffMessagesDeleteStaffMessages.js +1 -1
  618. package/dist/esm/mcp-server/tools/tasksCreateTasks.js +1 -1
  619. package/dist/esm/mcp-server/tools/tasksDeleteTasks.js +1 -1
  620. package/dist/esm/mcp-server/tools/taxRatesCreateTaxRates.js +1 -1
  621. package/dist/esm/mcp-server/tools/taxRatesDeleteTaxRates.js +1 -1
  622. package/dist/esm/models/components/allocationwindow.d.ts +9 -25
  623. package/dist/esm/models/components/allocationwindow.d.ts.map +1 -1
  624. package/dist/esm/models/components/allocationwindow.js +3 -7
  625. package/dist/esm/models/components/allocationwindow.js.map +1 -1
  626. package/dist/esm/models/components/asset.d.ts +19 -29
  627. package/dist/esm/models/components/asset.d.ts.map +1 -1
  628. package/dist/esm/models/components/asset.js +3 -7
  629. package/dist/esm/models/components/asset.js.map +1 -1
  630. package/dist/esm/models/components/assettype.d.ts +15 -25
  631. package/dist/esm/models/components/assettype.d.ts.map +1 -1
  632. package/dist/esm/models/components/assettype.js +3 -7
  633. package/dist/esm/models/components/assettype.js.map +1 -1
  634. package/dist/esm/models/components/assettypefield.d.ts +32 -27
  635. package/dist/esm/models/components/assettypefield.d.ts.map +1 -1
  636. package/dist/esm/models/components/assettypefield.js +3 -7
  637. package/dist/esm/models/components/assettypefield.js.map +1 -1
  638. package/dist/esm/models/components/attachment.d.ts +9 -25
  639. package/dist/esm/models/components/attachment.d.ts.map +1 -1
  640. package/dist/esm/models/components/attachment.js +3 -7
  641. package/dist/esm/models/components/attachment.js.map +1 -1
  642. package/dist/esm/models/components/badge.d.ts +17 -27
  643. package/dist/esm/models/components/badge.d.ts.map +1 -1
  644. package/dist/esm/models/components/badge.js +3 -7
  645. package/dist/esm/models/components/badge.js.map +1 -1
  646. package/dist/esm/models/components/category.d.ts +29 -33
  647. package/dist/esm/models/components/category.d.ts.map +1 -1
  648. package/dist/esm/models/components/category.js +11 -15
  649. package/dist/esm/models/components/category.js.map +1 -1
  650. package/dist/esm/models/components/company.d.ts +57 -57
  651. package/dist/esm/models/components/company.d.ts.map +1 -1
  652. package/dist/esm/models/components/company.js +33 -29
  653. package/dist/esm/models/components/company.js.map +1 -1
  654. package/dist/esm/models/components/companycontact.d.ts +9 -25
  655. package/dist/esm/models/components/companycontact.d.ts.map +1 -1
  656. package/dist/esm/models/components/companycontact.js +3 -7
  657. package/dist/esm/models/components/companycontact.js.map +1 -1
  658. package/dist/esm/models/components/emailtemplate.d.ts +9 -25
  659. package/dist/esm/models/components/emailtemplate.d.ts.map +1 -1
  660. package/dist/esm/models/components/emailtemplate.js +3 -7
  661. package/dist/esm/models/components/emailtemplate.js.map +1 -1
  662. package/dist/esm/models/components/feedback.d.ts +9 -25
  663. package/dist/esm/models/components/feedback.d.ts.map +1 -1
  664. package/dist/esm/models/components/feedback.js +3 -7
  665. package/dist/esm/models/components/feedback.js.map +1 -1
  666. package/dist/esm/models/components/form.d.ts +78 -64
  667. package/dist/esm/models/components/form.d.ts.map +1 -1
  668. package/dist/esm/models/components/form.js +32 -36
  669. package/dist/esm/models/components/form.js.map +1 -1
  670. package/dist/esm/models/components/formfield.d.ts +9 -25
  671. package/dist/esm/models/components/formfield.d.ts.map +1 -1
  672. package/dist/esm/models/components/formfield.js +3 -7
  673. package/dist/esm/models/components/formfield.js.map +1 -1
  674. package/dist/esm/models/components/formresponse.d.ts +9 -25
  675. package/dist/esm/models/components/formresponse.d.ts.map +1 -1
  676. package/dist/esm/models/components/formresponse.js +3 -7
  677. package/dist/esm/models/components/formresponse.js.map +1 -1
  678. package/dist/esm/models/components/job.d.ts +336 -148
  679. package/dist/esm/models/components/job.d.ts.map +1 -1
  680. package/dist/esm/models/components/job.js +145 -163
  681. package/dist/esm/models/components/job.js.map +1 -1
  682. package/dist/esm/models/components/jobactivity.d.ts +12 -28
  683. package/dist/esm/models/components/jobactivity.d.ts.map +1 -1
  684. package/dist/esm/models/components/jobactivity.js +5 -9
  685. package/dist/esm/models/components/jobactivity.js.map +1 -1
  686. package/dist/esm/models/components/joballocation.d.ts +9 -25
  687. package/dist/esm/models/components/joballocation.d.ts.map +1 -1
  688. package/dist/esm/models/components/joballocation.js +3 -7
  689. package/dist/esm/models/components/joballocation.js.map +1 -1
  690. package/dist/esm/models/components/jobchecklist.d.ts +86 -49
  691. package/dist/esm/models/components/jobchecklist.d.ts.map +1 -1
  692. package/dist/esm/models/components/jobchecklist.js +4 -12
  693. package/dist/esm/models/components/jobchecklist.js.map +1 -1
  694. package/dist/esm/models/components/jobcontact.d.ts +9 -25
  695. package/dist/esm/models/components/jobcontact.d.ts.map +1 -1
  696. package/dist/esm/models/components/jobcontact.js +3 -7
  697. package/dist/esm/models/components/jobcontact.js.map +1 -1
  698. package/dist/esm/models/components/jobmaterial.d.ts +9 -25
  699. package/dist/esm/models/components/jobmaterial.d.ts.map +1 -1
  700. package/dist/esm/models/components/jobmaterial.js +3 -7
  701. package/dist/esm/models/components/jobmaterial.js.map +1 -1
  702. package/dist/esm/models/components/jobmaterialbundle.d.ts +39 -25
  703. package/dist/esm/models/components/jobmaterialbundle.d.ts.map +1 -1
  704. package/dist/esm/models/components/jobmaterialbundle.js +3 -7
  705. package/dist/esm/models/components/jobmaterialbundle.js.map +1 -1
  706. package/dist/esm/models/components/jobpayment.d.ts +13 -45
  707. package/dist/esm/models/components/jobpayment.d.ts.map +1 -1
  708. package/dist/esm/models/components/jobpayment.js +4 -12
  709. package/dist/esm/models/components/jobpayment.js.map +1 -1
  710. package/dist/esm/models/components/knowledgearticle.d.ts +39 -25
  711. package/dist/esm/models/components/knowledgearticle.d.ts.map +1 -1
  712. package/dist/esm/models/components/knowledgearticle.js +3 -7
  713. package/dist/esm/models/components/knowledgearticle.js.map +1 -1
  714. package/dist/esm/models/components/location.d.ts +57 -37
  715. package/dist/esm/models/components/location.d.ts.map +1 -1
  716. package/dist/esm/models/components/location.js +13 -17
  717. package/dist/esm/models/components/location.js.map +1 -1
  718. package/dist/esm/models/components/material.d.ts +96 -92
  719. package/dist/esm/models/components/material.d.ts.map +1 -1
  720. package/dist/esm/models/components/material.js +53 -61
  721. package/dist/esm/models/components/material.js.map +1 -1
  722. package/dist/esm/models/components/materialbundle.d.ts +27 -25
  723. package/dist/esm/models/components/materialbundle.d.ts.map +1 -1
  724. package/dist/esm/models/components/materialbundle.js +3 -7
  725. package/dist/esm/models/components/materialbundle.js.map +1 -1
  726. package/dist/esm/models/components/note.d.ts +18 -34
  727. package/dist/esm/models/components/note.d.ts.map +1 -1
  728. package/dist/esm/models/components/note.js +9 -13
  729. package/dist/esm/models/components/note.js.map +1 -1
  730. package/dist/esm/models/components/queue.d.ts +31 -37
  731. package/dist/esm/models/components/queue.d.ts.map +1 -1
  732. package/dist/esm/models/components/queue.js +4 -10
  733. package/dist/esm/models/components/queue.js.map +1 -1
  734. package/dist/esm/models/components/securityrole.d.ts +26 -36
  735. package/dist/esm/models/components/securityrole.d.ts.map +1 -1
  736. package/dist/esm/models/components/securityrole.js +13 -17
  737. package/dist/esm/models/components/securityrole.js.map +1 -1
  738. package/dist/esm/models/components/smstemplate.d.ts +9 -25
  739. package/dist/esm/models/components/smstemplate.d.ts.map +1 -1
  740. package/dist/esm/models/components/smstemplate.js +3 -7
  741. package/dist/esm/models/components/smstemplate.js.map +1 -1
  742. package/dist/esm/models/components/staff.d.ts +127 -73
  743. package/dist/esm/models/components/staff.d.ts.map +1 -1
  744. package/dist/esm/models/components/staff.js +43 -49
  745. package/dist/esm/models/components/staff.js.map +1 -1
  746. package/dist/esm/models/components/staffmessage.d.ts +9 -25
  747. package/dist/esm/models/components/staffmessage.d.ts.map +1 -1
  748. package/dist/esm/models/components/staffmessage.js +3 -7
  749. package/dist/esm/models/components/staffmessage.js.map +1 -1
  750. package/dist/esm/models/components/task.d.ts +100 -50
  751. package/dist/esm/models/components/task.d.ts.map +1 -1
  752. package/dist/esm/models/components/task.js +25 -29
  753. package/dist/esm/models/components/task.js.map +1 -1
  754. package/dist/esm/models/components/taxrate.d.ts +13 -37
  755. package/dist/esm/models/components/taxrate.d.ts.map +1 -1
  756. package/dist/esm/models/components/taxrate.js +4 -10
  757. package/dist/esm/models/components/taxrate.js.map +1 -1
  758. package/dist/esm/models/components/vendor.d.ts +9 -25
  759. package/dist/esm/models/components/vendor.d.ts.map +1 -1
  760. package/dist/esm/models/components/vendor.js +3 -7
  761. package/dist/esm/models/components/vendor.js.map +1 -1
  762. package/dist/esm/sdk/allocationwindows.d.ts +2 -2
  763. package/dist/esm/sdk/allocationwindows.js +2 -2
  764. package/dist/esm/sdk/assets.d.ts +1 -1
  765. package/dist/esm/sdk/assets.js +1 -1
  766. package/dist/esm/sdk/assettypefields.d.ts +2 -2
  767. package/dist/esm/sdk/assettypefields.js +2 -2
  768. package/dist/esm/sdk/assettypes.d.ts +2 -2
  769. package/dist/esm/sdk/assettypes.js +2 -2
  770. package/dist/esm/sdk/attachments.d.ts +2 -2
  771. package/dist/esm/sdk/attachments.js +2 -2
  772. package/dist/esm/sdk/badges.d.ts +2 -2
  773. package/dist/esm/sdk/badges.js +2 -2
  774. package/dist/esm/sdk/bundles.d.ts +2 -2
  775. package/dist/esm/sdk/bundles.js +2 -2
  776. package/dist/esm/sdk/categories.d.ts +2 -2
  777. package/dist/esm/sdk/categories.js +2 -2
  778. package/dist/esm/sdk/clients.d.ts +2 -2
  779. package/dist/esm/sdk/clients.js +2 -2
  780. package/dist/esm/sdk/companycontacts.d.ts +2 -2
  781. package/dist/esm/sdk/companycontacts.js +2 -2
  782. package/dist/esm/sdk/emailtemplates.d.ts +2 -2
  783. package/dist/esm/sdk/emailtemplates.js +2 -2
  784. package/dist/esm/sdk/feedback.d.ts +2 -2
  785. package/dist/esm/sdk/feedback.js +2 -2
  786. package/dist/esm/sdk/formfields.d.ts +2 -2
  787. package/dist/esm/sdk/formfields.js +2 -2
  788. package/dist/esm/sdk/formresponses.d.ts +2 -2
  789. package/dist/esm/sdk/formresponses.js +2 -2
  790. package/dist/esm/sdk/forms.d.ts +2 -2
  791. package/dist/esm/sdk/forms.js +2 -2
  792. package/dist/esm/sdk/jobactivities.d.ts +2 -2
  793. package/dist/esm/sdk/jobactivities.js +2 -2
  794. package/dist/esm/sdk/joballocations.d.ts +2 -2
  795. package/dist/esm/sdk/joballocations.js +2 -2
  796. package/dist/esm/sdk/jobchecklists.d.ts +2 -2
  797. package/dist/esm/sdk/jobchecklists.js +2 -2
  798. package/dist/esm/sdk/jobcontacts.d.ts +2 -2
  799. package/dist/esm/sdk/jobcontacts.js +2 -2
  800. package/dist/esm/sdk/jobmaterialbundles.d.ts +2 -2
  801. package/dist/esm/sdk/jobmaterialbundles.js +2 -2
  802. package/dist/esm/sdk/jobmaterials.d.ts +2 -2
  803. package/dist/esm/sdk/jobmaterials.js +2 -2
  804. package/dist/esm/sdk/jobpayments.d.ts +2 -2
  805. package/dist/esm/sdk/jobpayments.js +2 -2
  806. package/dist/esm/sdk/jobqueues.d.ts +2 -2
  807. package/dist/esm/sdk/jobqueues.js +2 -2
  808. package/dist/esm/sdk/jobs.d.ts +2 -2
  809. package/dist/esm/sdk/jobs.js +2 -2
  810. package/dist/esm/sdk/knowledgearticles.d.ts +2 -2
  811. package/dist/esm/sdk/knowledgearticles.js +2 -2
  812. package/dist/esm/sdk/locations.d.ts +2 -2
  813. package/dist/esm/sdk/locations.js +2 -2
  814. package/dist/esm/sdk/materials.d.ts +2 -2
  815. package/dist/esm/sdk/materials.js +2 -2
  816. package/dist/esm/sdk/notes.d.ts +2 -2
  817. package/dist/esm/sdk/notes.js +2 -2
  818. package/dist/esm/sdk/securityroles.d.ts +2 -2
  819. package/dist/esm/sdk/securityroles.js +2 -2
  820. package/dist/esm/sdk/smstemplates.d.ts +2 -2
  821. package/dist/esm/sdk/smstemplates.js +2 -2
  822. package/dist/esm/sdk/staffmembers.d.ts +2 -2
  823. package/dist/esm/sdk/staffmembers.js +2 -2
  824. package/dist/esm/sdk/staffmessages.d.ts +2 -2
  825. package/dist/esm/sdk/staffmessages.js +2 -2
  826. package/dist/esm/sdk/tasks.d.ts +2 -2
  827. package/dist/esm/sdk/tasks.js +2 -2
  828. package/dist/esm/sdk/taxrates.d.ts +2 -2
  829. package/dist/esm/sdk/taxrates.js +2 -2
  830. package/docs/sdks/allocationwindows/README.md +2 -2
  831. package/docs/sdks/assets/README.md +1 -1
  832. package/docs/sdks/assettypefields/README.md +2 -2
  833. package/docs/sdks/assettypes/README.md +2 -2
  834. package/docs/sdks/attachments/README.md +2 -2
  835. package/docs/sdks/badges/README.md +2 -2
  836. package/docs/sdks/bundles/README.md +2 -2
  837. package/docs/sdks/categories/README.md +6 -6
  838. package/docs/sdks/clients/README.md +6 -6
  839. package/docs/sdks/companycontacts/README.md +2 -2
  840. package/docs/sdks/emailtemplates/README.md +2 -2
  841. package/docs/sdks/feedback/README.md +2 -2
  842. package/docs/sdks/formfields/README.md +2 -2
  843. package/docs/sdks/formresponses/README.md +2 -2
  844. package/docs/sdks/forms/README.md +6 -6
  845. package/docs/sdks/jobactivities/README.md +2 -2
  846. package/docs/sdks/joballocations/README.md +2 -2
  847. package/docs/sdks/jobchecklists/README.md +2 -2
  848. package/docs/sdks/jobcontacts/README.md +2 -2
  849. package/docs/sdks/jobmaterialbundles/README.md +2 -2
  850. package/docs/sdks/jobmaterials/README.md +2 -2
  851. package/docs/sdks/jobpayments/README.md +2 -2
  852. package/docs/sdks/jobqueues/README.md +2 -2
  853. package/docs/sdks/jobs/README.md +22 -22
  854. package/docs/sdks/knowledgearticles/README.md +2 -2
  855. package/docs/sdks/locations/README.md +6 -6
  856. package/docs/sdks/materials/README.md +6 -6
  857. package/docs/sdks/notes/README.md +2 -2
  858. package/docs/sdks/securityroles/README.md +6 -6
  859. package/docs/sdks/smstemplates/README.md +2 -2
  860. package/docs/sdks/staffmembers/README.md +6 -6
  861. package/docs/sdks/staffmessages/README.md +2 -2
  862. package/docs/sdks/tasks/README.md +6 -6
  863. package/docs/sdks/taxrates/README.md +2 -2
  864. package/jsr.json +1 -1
  865. package/package.json +1 -1
  866. package/src/funcs/allocationWindowsCreateAllocationWindows.ts +1 -1
  867. package/src/funcs/allocationWindowsDeleteAllocationWindows.ts +1 -1
  868. package/src/funcs/assetTypeFieldsCreateAssetTypeFields.ts +1 -1
  869. package/src/funcs/assetTypeFieldsDeleteAssetTypeFields.ts +1 -1
  870. package/src/funcs/assetTypesCreateAssetTypes.ts +1 -1
  871. package/src/funcs/assetTypesDeleteAssetTypes.ts +1 -1
  872. package/src/funcs/assetsDeleteAssets.ts +1 -1
  873. package/src/funcs/attachmentsCreateAttachments.ts +1 -1
  874. package/src/funcs/attachmentsDeleteAttachments.ts +1 -1
  875. package/src/funcs/badgesCreateBadges.ts +1 -1
  876. package/src/funcs/badgesDeleteBadges.ts +1 -1
  877. package/src/funcs/bundlesCreateBundles.ts +1 -1
  878. package/src/funcs/bundlesDeleteBundles.ts +1 -1
  879. package/src/funcs/categoriesCreateCategories.ts +1 -1
  880. package/src/funcs/categoriesDeleteCategories.ts +1 -1
  881. package/src/funcs/clientsCreateClients.ts +1 -1
  882. package/src/funcs/clientsDeleteClients.ts +1 -1
  883. package/src/funcs/companyContactsCreateCompanyContacts.ts +1 -1
  884. package/src/funcs/companyContactsDeleteCompanyContacts.ts +1 -1
  885. package/src/funcs/emailTemplatesCreateEmailTemplates.ts +1 -1
  886. package/src/funcs/emailTemplatesDeleteEmailTemplates.ts +1 -1
  887. package/src/funcs/feedbackCreateFeedback.ts +1 -1
  888. package/src/funcs/feedbackDeleteFeedback.ts +1 -1
  889. package/src/funcs/formFieldsCreateFormFields.ts +1 -1
  890. package/src/funcs/formFieldsDeleteFormFields.ts +1 -1
  891. package/src/funcs/formResponsesCreateFormResponses.ts +1 -1
  892. package/src/funcs/formResponsesDeleteFormResponses.ts +1 -1
  893. package/src/funcs/formsCreateForms.ts +1 -1
  894. package/src/funcs/formsDeleteForms.ts +1 -1
  895. package/src/funcs/jobActivitiesCreateJobActivities.ts +1 -1
  896. package/src/funcs/jobActivitiesDeleteJobActivities.ts +1 -1
  897. package/src/funcs/jobAllocationsCreateJobAllocations.ts +1 -1
  898. package/src/funcs/jobAllocationsDeleteJobAllocations.ts +1 -1
  899. package/src/funcs/jobChecklistsCreateJobChecklists.ts +1 -1
  900. package/src/funcs/jobChecklistsDeleteJobChecklists.ts +1 -1
  901. package/src/funcs/jobContactsCreateJobContacts.ts +1 -1
  902. package/src/funcs/jobContactsDeleteJobContacts.ts +1 -1
  903. package/src/funcs/jobMaterialBundlesCreateJobMaterialBundles.ts +1 -1
  904. package/src/funcs/jobMaterialBundlesDeleteJobMaterialBundles.ts +1 -1
  905. package/src/funcs/jobMaterialsCreateJobMaterials.ts +1 -1
  906. package/src/funcs/jobMaterialsDeleteJobMaterials.ts +1 -1
  907. package/src/funcs/jobPaymentsCreateJobPayments.ts +1 -1
  908. package/src/funcs/jobPaymentsDeleteJobPayments.ts +1 -1
  909. package/src/funcs/jobQueuesCreateJobQueues.ts +1 -1
  910. package/src/funcs/jobQueuesDeleteJobQueues.ts +1 -1
  911. package/src/funcs/jobsCreateJobs.ts +1 -1
  912. package/src/funcs/jobsDeleteJobs.ts +1 -1
  913. package/src/funcs/knowledgeArticlesCreateKnowledgeArticles.ts +1 -1
  914. package/src/funcs/knowledgeArticlesDeleteKnowledgeArticles.ts +1 -1
  915. package/src/funcs/locationsCreateLocations.ts +1 -1
  916. package/src/funcs/locationsDeleteLocations.ts +1 -1
  917. package/src/funcs/materialsCreateMaterials.ts +1 -1
  918. package/src/funcs/materialsDeleteMaterials.ts +1 -1
  919. package/src/funcs/notesCreateNotes.ts +1 -1
  920. package/src/funcs/notesDeleteNotes.ts +1 -1
  921. package/src/funcs/securityRolesCreateSecurityRoles.ts +1 -1
  922. package/src/funcs/securityRolesDeleteSecurityRoles.ts +1 -1
  923. package/src/funcs/smsTemplatesCreateSMSTemplates.ts +1 -1
  924. package/src/funcs/smsTemplatesDeleteSMSTemplates.ts +1 -1
  925. package/src/funcs/staffMembersCreateStaffMembers.ts +1 -1
  926. package/src/funcs/staffMembersDeleteStaffMembers.ts +1 -1
  927. package/src/funcs/staffMessagesCreateStaffMessages.ts +1 -1
  928. package/src/funcs/staffMessagesDeleteStaffMessages.ts +1 -1
  929. package/src/funcs/tasksCreateTasks.ts +1 -1
  930. package/src/funcs/tasksDeleteTasks.ts +1 -1
  931. package/src/funcs/taxRatesCreateTaxRates.ts +1 -1
  932. package/src/funcs/taxRatesDeleteTaxRates.ts +1 -1
  933. package/src/lib/config.ts +2 -2
  934. package/src/mcp-server/mcp-server.ts +1 -1
  935. package/src/mcp-server/server.ts +1 -1
  936. package/src/mcp-server/tools/allocationWindowsCreateAllocationWindows.ts +1 -1
  937. package/src/mcp-server/tools/allocationWindowsDeleteAllocationWindows.ts +1 -1
  938. package/src/mcp-server/tools/assetTypeFieldsCreateAssetTypeFields.ts +1 -1
  939. package/src/mcp-server/tools/assetTypeFieldsDeleteAssetTypeFields.ts +1 -1
  940. package/src/mcp-server/tools/assetTypesCreateAssetTypes.ts +1 -1
  941. package/src/mcp-server/tools/assetTypesDeleteAssetTypes.ts +1 -1
  942. package/src/mcp-server/tools/assetsDeleteAssets.ts +1 -1
  943. package/src/mcp-server/tools/attachmentsCreateAttachments.ts +1 -1
  944. package/src/mcp-server/tools/attachmentsDeleteAttachments.ts +1 -1
  945. package/src/mcp-server/tools/badgesCreateBadges.ts +1 -1
  946. package/src/mcp-server/tools/badgesDeleteBadges.ts +1 -1
  947. package/src/mcp-server/tools/bundlesCreateBundles.ts +1 -1
  948. package/src/mcp-server/tools/bundlesDeleteBundles.ts +1 -1
  949. package/src/mcp-server/tools/categoriesCreateCategories.ts +1 -1
  950. package/src/mcp-server/tools/categoriesDeleteCategories.ts +1 -1
  951. package/src/mcp-server/tools/clientsCreateClients.ts +1 -1
  952. package/src/mcp-server/tools/clientsDeleteClients.ts +1 -1
  953. package/src/mcp-server/tools/companyContactsCreateCompanyContacts.ts +1 -1
  954. package/src/mcp-server/tools/companyContactsDeleteCompanyContacts.ts +1 -1
  955. package/src/mcp-server/tools/emailTemplatesCreateEmailTemplates.ts +1 -1
  956. package/src/mcp-server/tools/emailTemplatesDeleteEmailTemplates.ts +1 -1
  957. package/src/mcp-server/tools/feedbackCreateFeedback.ts +1 -1
  958. package/src/mcp-server/tools/feedbackDeleteFeedback.ts +1 -1
  959. package/src/mcp-server/tools/formFieldsCreateFormFields.ts +1 -1
  960. package/src/mcp-server/tools/formFieldsDeleteFormFields.ts +1 -1
  961. package/src/mcp-server/tools/formResponsesCreateFormResponses.ts +1 -1
  962. package/src/mcp-server/tools/formResponsesDeleteFormResponses.ts +1 -1
  963. package/src/mcp-server/tools/formsCreateForms.ts +1 -1
  964. package/src/mcp-server/tools/formsDeleteForms.ts +1 -1
  965. package/src/mcp-server/tools/jobActivitiesCreateJobActivities.ts +1 -1
  966. package/src/mcp-server/tools/jobActivitiesDeleteJobActivities.ts +1 -1
  967. package/src/mcp-server/tools/jobAllocationsCreateJobAllocations.ts +1 -1
  968. package/src/mcp-server/tools/jobAllocationsDeleteJobAllocations.ts +1 -1
  969. package/src/mcp-server/tools/jobChecklistsCreateJobChecklists.ts +1 -1
  970. package/src/mcp-server/tools/jobChecklistsDeleteJobChecklists.ts +1 -1
  971. package/src/mcp-server/tools/jobContactsCreateJobContacts.ts +1 -1
  972. package/src/mcp-server/tools/jobContactsDeleteJobContacts.ts +1 -1
  973. package/src/mcp-server/tools/jobMaterialBundlesCreateJobMaterialBundles.ts +1 -1
  974. package/src/mcp-server/tools/jobMaterialBundlesDeleteJobMaterialBundles.ts +1 -1
  975. package/src/mcp-server/tools/jobMaterialsCreateJobMaterials.ts +1 -1
  976. package/src/mcp-server/tools/jobMaterialsDeleteJobMaterials.ts +1 -1
  977. package/src/mcp-server/tools/jobPaymentsCreateJobPayments.ts +1 -1
  978. package/src/mcp-server/tools/jobPaymentsDeleteJobPayments.ts +1 -1
  979. package/src/mcp-server/tools/jobQueuesCreateJobQueues.ts +1 -1
  980. package/src/mcp-server/tools/jobQueuesDeleteJobQueues.ts +1 -1
  981. package/src/mcp-server/tools/jobsCreateJobs.ts +1 -1
  982. package/src/mcp-server/tools/jobsDeleteJobs.ts +1 -1
  983. package/src/mcp-server/tools/knowledgeArticlesCreateKnowledgeArticles.ts +1 -1
  984. package/src/mcp-server/tools/knowledgeArticlesDeleteKnowledgeArticles.ts +1 -1
  985. package/src/mcp-server/tools/locationsCreateLocations.ts +1 -1
  986. package/src/mcp-server/tools/locationsDeleteLocations.ts +1 -1
  987. package/src/mcp-server/tools/materialsCreateMaterials.ts +1 -1
  988. package/src/mcp-server/tools/materialsDeleteMaterials.ts +1 -1
  989. package/src/mcp-server/tools/notesCreateNotes.ts +1 -1
  990. package/src/mcp-server/tools/notesDeleteNotes.ts +1 -1
  991. package/src/mcp-server/tools/securityRolesCreateSecurityRoles.ts +1 -1
  992. package/src/mcp-server/tools/securityRolesDeleteSecurityRoles.ts +1 -1
  993. package/src/mcp-server/tools/smsTemplatesCreateSMSTemplates.ts +1 -1
  994. package/src/mcp-server/tools/smsTemplatesDeleteSMSTemplates.ts +1 -1
  995. package/src/mcp-server/tools/staffMembersCreateStaffMembers.ts +1 -1
  996. package/src/mcp-server/tools/staffMembersDeleteStaffMembers.ts +1 -1
  997. package/src/mcp-server/tools/staffMessagesCreateStaffMessages.ts +1 -1
  998. package/src/mcp-server/tools/staffMessagesDeleteStaffMessages.ts +1 -1
  999. package/src/mcp-server/tools/tasksCreateTasks.ts +1 -1
  1000. package/src/mcp-server/tools/tasksDeleteTasks.ts +1 -1
  1001. package/src/mcp-server/tools/taxRatesCreateTaxRates.ts +1 -1
  1002. package/src/mcp-server/tools/taxRatesDeleteTaxRates.ts +1 -1
  1003. package/src/models/components/allocationwindow.ts +11 -27
  1004. package/src/models/components/asset.ts +21 -31
  1005. package/src/models/components/assettype.ts +17 -27
  1006. package/src/models/components/assettypefield.ts +34 -29
  1007. package/src/models/components/attachment.ts +11 -27
  1008. package/src/models/components/badge.ts +19 -29
  1009. package/src/models/components/category.ts +39 -43
  1010. package/src/models/components/company.ts +90 -82
  1011. package/src/models/components/companycontact.ts +11 -27
  1012. package/src/models/components/emailtemplate.ts +11 -27
  1013. package/src/models/components/feedback.ts +11 -27
  1014. package/src/models/components/form.ts +91 -77
  1015. package/src/models/components/formfield.ts +11 -27
  1016. package/src/models/components/formresponse.ts +11 -27
  1017. package/src/models/components/job.ts +441 -312
  1018. package/src/models/components/jobactivity.ts +16 -32
  1019. package/src/models/components/joballocation.ts +11 -27
  1020. package/src/models/components/jobchecklist.ts +88 -51
  1021. package/src/models/components/jobcontact.ts +11 -27
  1022. package/src/models/components/jobmaterial.ts +11 -27
  1023. package/src/models/components/jobmaterialbundle.ts +41 -27
  1024. package/src/models/components/jobpayment.ts +15 -47
  1025. package/src/models/components/knowledgearticle.ts +41 -27
  1026. package/src/models/components/location.ts +70 -50
  1027. package/src/models/components/material.ts +135 -131
  1028. package/src/models/components/materialbundle.ts +29 -27
  1029. package/src/models/components/note.ts +26 -42
  1030. package/src/models/components/queue.ts +33 -39
  1031. package/src/models/components/securityrole.ts +39 -49
  1032. package/src/models/components/smstemplate.ts +11 -27
  1033. package/src/models/components/staff.ts +161 -107
  1034. package/src/models/components/staffmessage.ts +11 -27
  1035. package/src/models/components/task.ts +124 -74
  1036. package/src/models/components/taxrate.ts +15 -39
  1037. package/src/models/components/vendor.ts +11 -27
  1038. package/src/sdk/allocationwindows.ts +2 -2
  1039. package/src/sdk/assets.ts +1 -1
  1040. package/src/sdk/assettypefields.ts +2 -2
  1041. package/src/sdk/assettypes.ts +2 -2
  1042. package/src/sdk/attachments.ts +2 -2
  1043. package/src/sdk/badges.ts +2 -2
  1044. package/src/sdk/bundles.ts +2 -2
  1045. package/src/sdk/categories.ts +2 -2
  1046. package/src/sdk/clients.ts +2 -2
  1047. package/src/sdk/companycontacts.ts +2 -2
  1048. package/src/sdk/emailtemplates.ts +2 -2
  1049. package/src/sdk/feedback.ts +2 -2
  1050. package/src/sdk/formfields.ts +2 -2
  1051. package/src/sdk/formresponses.ts +2 -2
  1052. package/src/sdk/forms.ts +2 -2
  1053. package/src/sdk/jobactivities.ts +2 -2
  1054. package/src/sdk/joballocations.ts +2 -2
  1055. package/src/sdk/jobchecklists.ts +2 -2
  1056. package/src/sdk/jobcontacts.ts +2 -2
  1057. package/src/sdk/jobmaterialbundles.ts +2 -2
  1058. package/src/sdk/jobmaterials.ts +2 -2
  1059. package/src/sdk/jobpayments.ts +2 -2
  1060. package/src/sdk/jobqueues.ts +2 -2
  1061. package/src/sdk/jobs.ts +2 -2
  1062. package/src/sdk/knowledgearticles.ts +2 -2
  1063. package/src/sdk/locations.ts +2 -2
  1064. package/src/sdk/materials.ts +2 -2
  1065. package/src/sdk/notes.ts +2 -2
  1066. package/src/sdk/securityroles.ts +2 -2
  1067. package/src/sdk/smstemplates.ts +2 -2
  1068. package/src/sdk/staffmembers.ts +2 -2
  1069. package/src/sdk/staffmessages.ts +2 -2
  1070. package/src/sdk/tasks.ts +2 -2
  1071. package/src/sdk/taxrates.ts +2 -2
package/bin/mcp-server.js CHANGED
@@ -34190,9 +34190,9 @@ var init_config = __esm(() => {
34190
34190
  SDK_METADATA = {
34191
34191
  language: "typescript",
34192
34192
  openapiDocVersion: "1.0.0",
34193
- sdkVersion: "0.3.16",
34193
+ sdkVersion: "0.3.17",
34194
34194
  genVersion: "2.593.4",
34195
- userAgent: "speakeasy-sdk/typescript 0.3.16 2.593.4 1.0.0 servicem8"
34195
+ userAgent: "speakeasy-sdk/typescript 0.3.17 2.593.4 1.0.0 servicem8"
34196
34196
  };
34197
34197
  });
34198
34198
 
@@ -35605,7 +35605,7 @@ var init_allocationwindow = __esm(() => {
35605
35605
  AllocationWindow$inboundSchema = objectType({
35606
35606
  uuid: stringType().optional(),
35607
35607
  active: AllocationWindowActive$inboundSchema.default(1),
35608
- edit_date: stringType().optional(),
35608
+ edit_date: anyType().optional(),
35609
35609
  name: stringType().optional(),
35610
35610
  start_time: numberType().int().optional(),
35611
35611
  end_time: numberType().int().optional(),
@@ -35621,7 +35621,7 @@ var init_allocationwindow = __esm(() => {
35621
35621
  AllocationWindow$outboundSchema = objectType({
35622
35622
  uuid: stringType().optional(),
35623
35623
  active: AllocationWindowActive$outboundSchema.default(1),
35624
- editDate: stringType().optional(),
35624
+ editDate: anyType().optional(),
35625
35625
  name: stringType().optional(),
35626
35626
  startTime: numberType().int().optional(),
35627
35627
  endTime: numberType().int().optional(),
@@ -35708,7 +35708,7 @@ var init_asset = __esm(() => {
35708
35708
  Asset$inboundSchema = objectType({
35709
35709
  uuid: stringType().optional(),
35710
35710
  active: AssetActive$inboundSchema.default(1),
35711
- edit_date: stringType().optional(),
35711
+ edit_date: anyType().optional(),
35712
35712
  company_uuid: stringType().optional(),
35713
35713
  asset_code: stringType().optional(),
35714
35714
  asset_type_uuid: stringType().optional(),
@@ -35731,7 +35731,7 @@ var init_asset = __esm(() => {
35731
35731
  Asset$outboundSchema = objectType({
35732
35732
  uuid: stringType().optional(),
35733
35733
  active: AssetActive$outboundSchema.default(1),
35734
- editDate: stringType().optional(),
35734
+ editDate: anyType().optional(),
35735
35735
  companyUuid: stringType().optional(),
35736
35736
  assetCode: stringType().optional(),
35737
35737
  assetTypeUuid: stringType().optional(),
@@ -35821,7 +35821,7 @@ var init_assettype = __esm(() => {
35821
35821
  AssetType$inboundSchema = objectType({
35822
35822
  uuid: stringType().optional(),
35823
35823
  active: AssetTypeActive$inboundSchema.default(1),
35824
- edit_date: stringType().optional(),
35824
+ edit_date: anyType().optional(),
35825
35825
  name: stringType().optional()
35826
35826
  }).transform((v2) => {
35827
35827
  return remap(v2, {
@@ -35831,7 +35831,7 @@ var init_assettype = __esm(() => {
35831
35831
  AssetType$outboundSchema = objectType({
35832
35832
  uuid: stringType().optional(),
35833
35833
  active: AssetTypeActive$outboundSchema.default(1),
35834
- editDate: stringType().optional(),
35834
+ editDate: anyType().optional(),
35835
35835
  name: stringType().optional()
35836
35836
  }).transform((v2) => {
35837
35837
  return remap(v2, {
@@ -35902,7 +35902,7 @@ var init_assettypefield = __esm(() => {
35902
35902
  AssetTypeField$inboundSchema = objectType({
35903
35903
  uuid: stringType().optional(),
35904
35904
  active: AssetTypeFieldActive$inboundSchema.default(1),
35905
- edit_date: stringType().optional(),
35905
+ edit_date: anyType().optional(),
35906
35906
  asset_type_uuid: stringType().optional(),
35907
35907
  name: stringType(),
35908
35908
  field_data: lazyType(() => FieldData$inboundSchema).optional(),
@@ -35918,7 +35918,7 @@ var init_assettypefield = __esm(() => {
35918
35918
  AssetTypeField$outboundSchema = objectType({
35919
35919
  uuid: stringType().optional(),
35920
35920
  active: AssetTypeFieldActive$outboundSchema.default(1),
35921
- editDate: stringType().optional(),
35921
+ editDate: anyType().optional(),
35922
35922
  assetTypeUuid: stringType().optional(),
35923
35923
  name: stringType(),
35924
35924
  fieldData: lazyType(() => FieldData$outboundSchema).optional(),
@@ -35987,7 +35987,7 @@ var init_attachment = __esm(() => {
35987
35987
  Attachment$inboundSchema = objectType({
35988
35988
  uuid: stringType().optional(),
35989
35989
  active: AttachmentActive$inboundSchema.default(1),
35990
- edit_date: stringType().optional(),
35990
+ edit_date: anyType().optional(),
35991
35991
  related_object: stringType().optional(),
35992
35992
  related_object_uuid: stringType().optional(),
35993
35993
  attachment_name: stringType().optional(),
@@ -36023,7 +36023,7 @@ var init_attachment = __esm(() => {
36023
36023
  Attachment$outboundSchema = objectType({
36024
36024
  uuid: stringType().optional(),
36025
36025
  active: AttachmentActive$outboundSchema.default(1),
36026
- editDate: stringType().optional(),
36026
+ editDate: anyType().optional(),
36027
36027
  relatedObject: stringType().optional(),
36028
36028
  relatedObjectUuid: stringType().optional(),
36029
36029
  attachmentName: stringType().optional(),
@@ -36152,7 +36152,7 @@ var init_badge = __esm(() => {
36152
36152
  Badge$inboundSchema = objectType({
36153
36153
  uuid: stringType().optional(),
36154
36154
  active: BadgeActive$inboundSchema.default(1),
36155
- edit_date: stringType().optional(),
36155
+ edit_date: anyType().optional(),
36156
36156
  name: stringType(),
36157
36157
  automatically_allocated: stringType().optional(),
36158
36158
  file_name: stringType().optional(),
@@ -36170,7 +36170,7 @@ var init_badge = __esm(() => {
36170
36170
  Badge$outboundSchema = objectType({
36171
36171
  uuid: stringType().optional(),
36172
36172
  active: BadgeActive$outboundSchema.default(1),
36173
- editDate: stringType().optional(),
36173
+ editDate: anyType().optional(),
36174
36174
  name: stringType(),
36175
36175
  automaticallyAllocated: stringType().optional(),
36176
36176
  fileName: stringType().optional(),
@@ -36243,22 +36243,22 @@ var init_category = __esm(() => {
36243
36243
  CategoryActive$.outboundSchema = CategoryActive$outboundSchema;
36244
36244
  })(CategoryActive$ ||= {});
36245
36245
  Category$inboundSchema = objectType({
36246
+ name: stringType(),
36247
+ colour: stringType().optional(),
36246
36248
  uuid: stringType().optional(),
36247
36249
  active: CategoryActive$inboundSchema.default(1),
36248
- edit_date: stringType().optional(),
36249
- name: stringType(),
36250
- colour: stringType().optional()
36250
+ edit_date: anyType().optional()
36251
36251
  }).transform((v2) => {
36252
36252
  return remap(v2, {
36253
36253
  edit_date: "editDate"
36254
36254
  });
36255
36255
  });
36256
36256
  Category$outboundSchema = objectType({
36257
+ name: stringType(),
36258
+ colour: stringType().optional(),
36257
36259
  uuid: stringType().optional(),
36258
36260
  active: CategoryActive$outboundSchema.default(1),
36259
- editDate: stringType().optional(),
36260
- name: stringType(),
36261
- colour: stringType().optional()
36261
+ editDate: anyType().optional()
36262
36262
  }).transform((v2) => {
36263
36263
  return remap(v2, {
36264
36264
  editDate: "edit_date"
@@ -36269,16 +36269,16 @@ var init_category = __esm(() => {
36269
36269
  Category$.outboundSchema = Category$outboundSchema;
36270
36270
  })(Category$ ||= {});
36271
36271
  CategoryInput$inboundSchema = objectType({
36272
- uuid: stringType().optional(),
36273
- active: CategoryActive$inboundSchema.default(1),
36274
36272
  name: stringType(),
36275
- colour: stringType().optional()
36273
+ colour: stringType().optional(),
36274
+ uuid: stringType().optional(),
36275
+ active: CategoryActive$inboundSchema.default(1)
36276
36276
  });
36277
36277
  CategoryInput$outboundSchema = objectType({
36278
- uuid: stringType().optional(),
36279
- active: CategoryActive$outboundSchema.default(1),
36280
36278
  name: stringType(),
36281
- colour: stringType().optional()
36279
+ colour: stringType().optional(),
36280
+ uuid: stringType().optional(),
36281
+ active: CategoryActive$outboundSchema.default(1)
36282
36282
  });
36283
36283
  ((CategoryInput$) => {
36284
36284
  CategoryInput$.inboundSchema = CategoryInput$inboundSchema;
@@ -36302,12 +36302,15 @@ var init_company = __esm(() => {
36302
36302
  CompanyActive$.outboundSchema = CompanyActive$outboundSchema;
36303
36303
  })(CompanyActive$ ||= {});
36304
36304
  Company$inboundSchema = objectType({
36305
+ name: stringType(),
36306
+ abn_number: stringType().optional(),
36307
+ address: stringType().optional(),
36308
+ billing_address: stringType().optional(),
36309
+ parent_company_uuid: anyType().optional(),
36305
36310
  uuid: stringType().optional(),
36306
36311
  active: CompanyActive$inboundSchema.default(1),
36307
- edit_date: stringType().optional(),
36308
- name: stringType(),
36312
+ edit_date: anyType().optional(),
36309
36313
  website: stringType().optional(),
36310
- abn_number: stringType().optional(),
36311
36314
  is_individual: stringType().optional(),
36312
36315
  address_street: stringType().optional(),
36313
36316
  address_city: stringType().optional(),
@@ -36315,16 +36318,16 @@ var init_company = __esm(() => {
36315
36318
  address_postcode: stringType().optional(),
36316
36319
  address_country: stringType().optional(),
36317
36320
  fax_number: stringType().optional(),
36318
- address: stringType().optional(),
36319
- billing_address: stringType().optional(),
36320
36321
  badges: stringType().optional(),
36321
36322
  tax_rate_uuid: stringType().optional(),
36322
36323
  billing_attention: stringType().optional(),
36323
36324
  payment_terms: stringType().optional()
36324
36325
  }).transform((v2) => {
36325
36326
  return remap(v2, {
36326
- edit_date: "editDate",
36327
36327
  abn_number: "abnNumber",
36328
+ billing_address: "billingAddress",
36329
+ parent_company_uuid: "parentCompanyUuid",
36330
+ edit_date: "editDate",
36328
36331
  is_individual: "isIndividual",
36329
36332
  address_street: "addressStreet",
36330
36333
  address_city: "addressCity",
@@ -36332,19 +36335,21 @@ var init_company = __esm(() => {
36332
36335
  address_postcode: "addressPostcode",
36333
36336
  address_country: "addressCountry",
36334
36337
  fax_number: "faxNumber",
36335
- billing_address: "billingAddress",
36336
36338
  tax_rate_uuid: "taxRateUuid",
36337
36339
  billing_attention: "billingAttention",
36338
36340
  payment_terms: "paymentTerms"
36339
36341
  });
36340
36342
  });
36341
36343
  Company$outboundSchema = objectType({
36344
+ name: stringType(),
36345
+ abnNumber: stringType().optional(),
36346
+ address: stringType().optional(),
36347
+ billingAddress: stringType().optional(),
36348
+ parentCompanyUuid: anyType().optional(),
36342
36349
  uuid: stringType().optional(),
36343
36350
  active: CompanyActive$outboundSchema.default(1),
36344
- editDate: stringType().optional(),
36345
- name: stringType(),
36351
+ editDate: anyType().optional(),
36346
36352
  website: stringType().optional(),
36347
- abnNumber: stringType().optional(),
36348
36353
  isIndividual: stringType().optional(),
36349
36354
  addressStreet: stringType().optional(),
36350
36355
  addressCity: stringType().optional(),
@@ -36352,16 +36357,16 @@ var init_company = __esm(() => {
36352
36357
  addressPostcode: stringType().optional(),
36353
36358
  addressCountry: stringType().optional(),
36354
36359
  faxNumber: stringType().optional(),
36355
- address: stringType().optional(),
36356
- billingAddress: stringType().optional(),
36357
36360
  badges: stringType().optional(),
36358
36361
  taxRateUuid: stringType().optional(),
36359
36362
  billingAttention: stringType().optional(),
36360
36363
  paymentTerms: stringType().optional()
36361
36364
  }).transform((v2) => {
36362
36365
  return remap(v2, {
36363
- editDate: "edit_date",
36364
36366
  abnNumber: "abn_number",
36367
+ billingAddress: "billing_address",
36368
+ parentCompanyUuid: "parent_company_uuid",
36369
+ editDate: "edit_date",
36365
36370
  isIndividual: "is_individual",
36366
36371
  addressStreet: "address_street",
36367
36372
  addressCity: "address_city",
@@ -36369,7 +36374,6 @@ var init_company = __esm(() => {
36369
36374
  addressPostcode: "address_postcode",
36370
36375
  addressCountry: "address_country",
36371
36376
  faxNumber: "fax_number",
36372
- billingAddress: "billing_address",
36373
36377
  taxRateUuid: "tax_rate_uuid",
36374
36378
  billingAttention: "billing_attention",
36375
36379
  paymentTerms: "payment_terms"
@@ -36380,11 +36384,14 @@ var init_company = __esm(() => {
36380
36384
  Company$.outboundSchema = Company$outboundSchema;
36381
36385
  })(Company$ ||= {});
36382
36386
  CompanyInput$inboundSchema = objectType({
36387
+ name: stringType(),
36388
+ abn_number: stringType().optional(),
36389
+ address: stringType().optional(),
36390
+ billing_address: stringType().optional(),
36391
+ parent_company_uuid: anyType().optional(),
36383
36392
  uuid: stringType().optional(),
36384
36393
  active: CompanyActive$inboundSchema.default(1),
36385
- name: stringType(),
36386
36394
  website: stringType().optional(),
36387
- abn_number: stringType().optional(),
36388
36395
  is_individual: stringType().optional(),
36389
36396
  address_street: stringType().optional(),
36390
36397
  address_city: stringType().optional(),
@@ -36392,8 +36399,6 @@ var init_company = __esm(() => {
36392
36399
  address_postcode: stringType().optional(),
36393
36400
  address_country: stringType().optional(),
36394
36401
  fax_number: stringType().optional(),
36395
- address: stringType().optional(),
36396
- billing_address: stringType().optional(),
36397
36402
  badges: stringType().optional(),
36398
36403
  tax_rate_uuid: stringType().optional(),
36399
36404
  billing_attention: stringType().optional(),
@@ -36401,6 +36406,8 @@ var init_company = __esm(() => {
36401
36406
  }).transform((v2) => {
36402
36407
  return remap(v2, {
36403
36408
  abn_number: "abnNumber",
36409
+ billing_address: "billingAddress",
36410
+ parent_company_uuid: "parentCompanyUuid",
36404
36411
  is_individual: "isIndividual",
36405
36412
  address_street: "addressStreet",
36406
36413
  address_city: "addressCity",
@@ -36408,18 +36415,20 @@ var init_company = __esm(() => {
36408
36415
  address_postcode: "addressPostcode",
36409
36416
  address_country: "addressCountry",
36410
36417
  fax_number: "faxNumber",
36411
- billing_address: "billingAddress",
36412
36418
  tax_rate_uuid: "taxRateUuid",
36413
36419
  billing_attention: "billingAttention",
36414
36420
  payment_terms: "paymentTerms"
36415
36421
  });
36416
36422
  });
36417
36423
  CompanyInput$outboundSchema = objectType({
36424
+ name: stringType(),
36425
+ abnNumber: stringType().optional(),
36426
+ address: stringType().optional(),
36427
+ billingAddress: stringType().optional(),
36428
+ parentCompanyUuid: anyType().optional(),
36418
36429
  uuid: stringType().optional(),
36419
36430
  active: CompanyActive$outboundSchema.default(1),
36420
- name: stringType(),
36421
36431
  website: stringType().optional(),
36422
- abnNumber: stringType().optional(),
36423
36432
  isIndividual: stringType().optional(),
36424
36433
  addressStreet: stringType().optional(),
36425
36434
  addressCity: stringType().optional(),
@@ -36427,8 +36436,6 @@ var init_company = __esm(() => {
36427
36436
  addressPostcode: stringType().optional(),
36428
36437
  addressCountry: stringType().optional(),
36429
36438
  faxNumber: stringType().optional(),
36430
- address: stringType().optional(),
36431
- billingAddress: stringType().optional(),
36432
36439
  badges: stringType().optional(),
36433
36440
  taxRateUuid: stringType().optional(),
36434
36441
  billingAttention: stringType().optional(),
@@ -36436,6 +36443,8 @@ var init_company = __esm(() => {
36436
36443
  }).transform((v2) => {
36437
36444
  return remap(v2, {
36438
36445
  abnNumber: "abn_number",
36446
+ billingAddress: "billing_address",
36447
+ parentCompanyUuid: "parent_company_uuid",
36439
36448
  isIndividual: "is_individual",
36440
36449
  addressStreet: "address_street",
36441
36450
  addressCity: "address_city",
@@ -36443,7 +36452,6 @@ var init_company = __esm(() => {
36443
36452
  addressPostcode: "address_postcode",
36444
36453
  addressCountry: "address_country",
36445
36454
  faxNumber: "fax_number",
36446
- billingAddress: "billing_address",
36447
36455
  taxRateUuid: "tax_rate_uuid",
36448
36456
  billingAttention: "billing_attention",
36449
36457
  paymentTerms: "payment_terms"
@@ -36473,7 +36481,7 @@ var init_companycontact = __esm(() => {
36473
36481
  CompanyContact$inboundSchema = objectType({
36474
36482
  uuid: stringType().optional(),
36475
36483
  active: CompanyContactActive$inboundSchema.default(1),
36476
- edit_date: stringType().optional(),
36484
+ edit_date: anyType().optional(),
36477
36485
  company_uuid: stringType().optional(),
36478
36486
  first: stringType().optional(),
36479
36487
  last: stringType().optional(),
@@ -36492,7 +36500,7 @@ var init_companycontact = __esm(() => {
36492
36500
  CompanyContact$outboundSchema = objectType({
36493
36501
  uuid: stringType().optional(),
36494
36502
  active: CompanyContactActive$outboundSchema.default(1),
36495
- editDate: stringType().optional(),
36503
+ editDate: anyType().optional(),
36496
36504
  companyUuid: stringType().optional(),
36497
36505
  first: stringType().optional(),
36498
36506
  last: stringType().optional(),
@@ -36570,7 +36578,7 @@ var init_emailtemplate = __esm(() => {
36570
36578
  EmailTemplate$inboundSchema = objectType({
36571
36579
  uuid: stringType().optional(),
36572
36580
  active: EmailTemplateActive$inboundSchema.default(1),
36573
- edit_date: stringType().optional(),
36581
+ edit_date: anyType().optional(),
36574
36582
  name: stringType(),
36575
36583
  subject: stringType().optional(),
36576
36584
  message: stringType().optional()
@@ -36582,7 +36590,7 @@ var init_emailtemplate = __esm(() => {
36582
36590
  EmailTemplate$outboundSchema = objectType({
36583
36591
  uuid: stringType().optional(),
36584
36592
  active: EmailTemplateActive$outboundSchema.default(1),
36585
- editDate: stringType().optional(),
36593
+ editDate: anyType().optional(),
36586
36594
  name: stringType(),
36587
36595
  subject: stringType().optional(),
36588
36596
  message: stringType().optional()
@@ -36651,7 +36659,7 @@ var init_feedback = __esm(() => {
36651
36659
  Feedback$inboundSchema = objectType({
36652
36660
  uuid: stringType().optional(),
36653
36661
  active: FeedbackActive$inboundSchema.default(1),
36654
- edit_date: stringType().optional(),
36662
+ edit_date: anyType().optional(),
36655
36663
  timestamp: stringType().optional(),
36656
36664
  related_object: stringType().optional(),
36657
36665
  related_object_uuid: stringType().optional(),
@@ -36667,7 +36675,7 @@ var init_feedback = __esm(() => {
36667
36675
  Feedback$outboundSchema = objectType({
36668
36676
  uuid: stringType().optional(),
36669
36677
  active: FeedbackActive$outboundSchema.default(1),
36670
- editDate: stringType().optional(),
36678
+ editDate: anyType().optional(),
36671
36679
  timestamp: stringType().optional(),
36672
36680
  relatedObject: stringType().optional(),
36673
36681
  relatedObjectUuid: stringType().optional(),
@@ -36719,23 +36727,17 @@ var init_feedback = __esm(() => {
36719
36727
  });
36720
36728
 
36721
36729
  // src/models/components/form.ts
36722
- var FormActive, FormFieldType, FormActive$inboundSchema, FormActive$outboundSchema, FormActive$, FormFieldType$inboundSchema, FormFieldType$outboundSchema, FormFieldType$, TemplateField$inboundSchema, TemplateField$outboundSchema, TemplateField$, Form$inboundSchema, Form$outboundSchema, Form$, FormInput$inboundSchema, FormInput$outboundSchema, FormInput$;
36730
+ var FormFieldType, FormActive, FormFieldType$inboundSchema, FormFieldType$outboundSchema, FormFieldType$, TemplateField$inboundSchema, TemplateField$outboundSchema, TemplateField$, FormActive$inboundSchema, FormActive$outboundSchema, FormActive$, Form$inboundSchema, Form$outboundSchema, Form$, FormInput$inboundSchema, FormInput$outboundSchema, FormInput$;
36723
36731
  var init_form = __esm(() => {
36724
36732
  init_lib();
36725
36733
  init_primitives();
36734
+ FormFieldType = {
36735
+ Text: "Text"
36736
+ };
36726
36737
  FormActive = {
36727
36738
  Zero: 0,
36728
36739
  One: 1
36729
36740
  };
36730
- FormFieldType = {
36731
- Text: "Text"
36732
- };
36733
- FormActive$inboundSchema = nativeEnumType(FormActive);
36734
- FormActive$outboundSchema = FormActive$inboundSchema;
36735
- ((FormActive$) => {
36736
- FormActive$.inboundSchema = FormActive$inboundSchema;
36737
- FormActive$.outboundSchema = FormActive$outboundSchema;
36738
- })(FormActive$ ||= {});
36739
36741
  FormFieldType$inboundSchema = nativeEnumType(FormFieldType);
36740
36742
  FormFieldType$outboundSchema = FormFieldType$inboundSchema;
36741
36743
  ((FormFieldType$) => {
@@ -36758,40 +36760,46 @@ var init_form = __esm(() => {
36758
36760
  TemplateField$.inboundSchema = TemplateField$inboundSchema;
36759
36761
  TemplateField$.outboundSchema = TemplateField$outboundSchema;
36760
36762
  })(TemplateField$ ||= {});
36763
+ FormActive$inboundSchema = nativeEnumType(FormActive);
36764
+ FormActive$outboundSchema = FormActive$inboundSchema;
36765
+ ((FormActive$) => {
36766
+ FormActive$.inboundSchema = FormActive$inboundSchema;
36767
+ FormActive$.outboundSchema = FormActive$outboundSchema;
36768
+ })(FormActive$ ||= {});
36761
36769
  Form$inboundSchema = objectType({
36762
- uuid: stringType().optional(),
36763
- active: FormActive$inboundSchema.default(1),
36764
- edit_date: stringType().optional(),
36765
36770
  name: stringType().optional(),
36766
36771
  document_template_uuid: stringType().optional(),
36767
36772
  can_be_used_independently: stringType().optional(),
36768
36773
  badge_mandatory_state: stringType().optional(),
36769
- template_fields: arrayType(lazyType(() => TemplateField$inboundSchema)).optional()
36774
+ template_fields: arrayType(lazyType(() => TemplateField$inboundSchema)).optional(),
36775
+ uuid: stringType().optional(),
36776
+ active: FormActive$inboundSchema.default(1),
36777
+ edit_date: anyType().optional()
36770
36778
  }).transform((v2) => {
36771
36779
  return remap(v2, {
36772
- edit_date: "editDate",
36773
36780
  document_template_uuid: "documentTemplateUuid",
36774
36781
  can_be_used_independently: "canBeUsedIndependently",
36775
36782
  badge_mandatory_state: "badgeMandatoryState",
36776
- template_fields: "templateFields"
36783
+ template_fields: "templateFields",
36784
+ edit_date: "editDate"
36777
36785
  });
36778
36786
  });
36779
36787
  Form$outboundSchema = objectType({
36780
- uuid: stringType().optional(),
36781
- active: FormActive$outboundSchema.default(1),
36782
- editDate: stringType().optional(),
36783
36788
  name: stringType().optional(),
36784
36789
  documentTemplateUuid: stringType().optional(),
36785
36790
  canBeUsedIndependently: stringType().optional(),
36786
36791
  badgeMandatoryState: stringType().optional(),
36787
- templateFields: arrayType(lazyType(() => TemplateField$outboundSchema)).optional()
36792
+ templateFields: arrayType(lazyType(() => TemplateField$outboundSchema)).optional(),
36793
+ uuid: stringType().optional(),
36794
+ active: FormActive$outboundSchema.default(1),
36795
+ editDate: anyType().optional()
36788
36796
  }).transform((v2) => {
36789
36797
  return remap(v2, {
36790
- editDate: "edit_date",
36791
36798
  documentTemplateUuid: "document_template_uuid",
36792
36799
  canBeUsedIndependently: "can_be_used_independently",
36793
36800
  badgeMandatoryState: "badge_mandatory_state",
36794
- templateFields: "template_fields"
36801
+ templateFields: "template_fields",
36802
+ editDate: "edit_date"
36795
36803
  });
36796
36804
  });
36797
36805
  ((Form$) => {
@@ -36799,13 +36807,13 @@ var init_form = __esm(() => {
36799
36807
  Form$.outboundSchema = Form$outboundSchema;
36800
36808
  })(Form$ ||= {});
36801
36809
  FormInput$inboundSchema = objectType({
36802
- uuid: stringType().optional(),
36803
- active: FormActive$inboundSchema.default(1),
36804
36810
  name: stringType().optional(),
36805
36811
  document_template_uuid: stringType().optional(),
36806
36812
  can_be_used_independently: stringType().optional(),
36807
36813
  badge_mandatory_state: stringType().optional(),
36808
- template_fields: arrayType(lazyType(() => TemplateField$inboundSchema)).optional()
36814
+ template_fields: arrayType(lazyType(() => TemplateField$inboundSchema)).optional(),
36815
+ uuid: stringType().optional(),
36816
+ active: FormActive$inboundSchema.default(1)
36809
36817
  }).transform((v2) => {
36810
36818
  return remap(v2, {
36811
36819
  document_template_uuid: "documentTemplateUuid",
@@ -36815,13 +36823,13 @@ var init_form = __esm(() => {
36815
36823
  });
36816
36824
  });
36817
36825
  FormInput$outboundSchema = objectType({
36818
- uuid: stringType().optional(),
36819
- active: FormActive$outboundSchema.default(1),
36820
36826
  name: stringType().optional(),
36821
36827
  documentTemplateUuid: stringType().optional(),
36822
36828
  canBeUsedIndependently: stringType().optional(),
36823
36829
  badgeMandatoryState: stringType().optional(),
36824
- templateFields: arrayType(lazyType(() => TemplateField$outboundSchema)).optional()
36830
+ templateFields: arrayType(lazyType(() => TemplateField$outboundSchema)).optional(),
36831
+ uuid: stringType().optional(),
36832
+ active: FormActive$outboundSchema.default(1)
36825
36833
  }).transform((v2) => {
36826
36834
  return remap(v2, {
36827
36835
  documentTemplateUuid: "document_template_uuid",
@@ -36854,7 +36862,7 @@ var init_formfield = __esm(() => {
36854
36862
  FormField$inboundSchema = objectType({
36855
36863
  uuid: stringType().optional(),
36856
36864
  active: FormFieldActive$inboundSchema.default(1),
36857
- edit_date: stringType().optional(),
36865
+ edit_date: anyType().optional(),
36858
36866
  form_uuid: stringType().optional(),
36859
36867
  name: stringType().optional(),
36860
36868
  field_data_json: stringType().optional(),
@@ -36870,7 +36878,7 @@ var init_formfield = __esm(() => {
36870
36878
  FormField$outboundSchema = objectType({
36871
36879
  uuid: stringType().optional(),
36872
36880
  active: FormFieldActive$outboundSchema.default(1),
36873
- editDate: stringType().optional(),
36881
+ editDate: anyType().optional(),
36874
36882
  formUuid: stringType().optional(),
36875
36883
  name: stringType().optional(),
36876
36884
  fieldDataJson: stringType().optional(),
@@ -36939,7 +36947,7 @@ var init_formresponse = __esm(() => {
36939
36947
  FormResponse$inboundSchema = objectType({
36940
36948
  uuid: stringType().optional(),
36941
36949
  active: FormResponseActive$inboundSchema.default(1),
36942
- edit_date: stringType().optional(),
36950
+ edit_date: anyType().optional(),
36943
36951
  form_uuid: stringType().optional(),
36944
36952
  staff_uuid: stringType().optional(),
36945
36953
  regarding_object: stringType().optional(),
@@ -36965,7 +36973,7 @@ var init_formresponse = __esm(() => {
36965
36973
  FormResponse$outboundSchema = objectType({
36966
36974
  uuid: stringType().optional(),
36967
36975
  active: FormResponseActive$outboundSchema.default(1),
36968
- editDate: stringType().optional(),
36976
+ editDate: anyType().optional(),
36969
36977
  formUuid: stringType().optional(),
36970
36978
  staffUuid: stringType().optional(),
36971
36979
  regardingObject: stringType().optional(),
@@ -37047,80 +37055,62 @@ var init_formresponse = __esm(() => {
37047
37055
  });
37048
37056
 
37049
37057
  // src/models/components/job.ts
37050
- var JobActive, QuoteSent, JobActive$inboundSchema, JobActive$outboundSchema, JobActive$, QuoteSent$inboundSchema, QuoteSent$outboundSchema, QuoteSent$, RelatedKnowledgeArticle$inboundSchema, RelatedKnowledgeArticle$outboundSchema, RelatedKnowledgeArticle$, Job$inboundSchema, Job$outboundSchema, Job$, JobInput$inboundSchema, JobInput$outboundSchema, JobInput$;
37058
+ var Status, QuoteSent, JobActive, Status$inboundSchema, Status$outboundSchema, Status$, QuoteSent$inboundSchema, QuoteSent$outboundSchema, QuoteSent$, JobActive$inboundSchema, JobActive$outboundSchema, JobActive$, Job$inboundSchema, Job$outboundSchema, Job$, JobInput$inboundSchema, JobInput$outboundSchema, JobInput$;
37051
37059
  var init_job = __esm(() => {
37052
37060
  init_lib();
37053
37061
  init_primitives();
37054
- JobActive = {
37062
+ Status = {
37063
+ Quote: "Quote",
37064
+ WorkOrder: "Work Order",
37065
+ Unsuccessful: "Unsuccessful",
37066
+ Completed: "Completed"
37067
+ };
37068
+ QuoteSent = {
37055
37069
  Zero: 0,
37056
37070
  One: 1
37057
37071
  };
37058
- QuoteSent = {
37072
+ JobActive = {
37059
37073
  Zero: 0,
37060
37074
  One: 1
37061
37075
  };
37062
- JobActive$inboundSchema = nativeEnumType(JobActive);
37063
- JobActive$outboundSchema = JobActive$inboundSchema;
37064
- ((JobActive$) => {
37065
- JobActive$.inboundSchema = JobActive$inboundSchema;
37066
- JobActive$.outboundSchema = JobActive$outboundSchema;
37067
- })(JobActive$ ||= {});
37076
+ Status$inboundSchema = nativeEnumType(Status);
37077
+ Status$outboundSchema = Status$inboundSchema;
37078
+ ((Status$) => {
37079
+ Status$.inboundSchema = Status$inboundSchema;
37080
+ Status$.outboundSchema = Status$outboundSchema;
37081
+ })(Status$ ||= {});
37068
37082
  QuoteSent$inboundSchema = nativeEnumType(QuoteSent);
37069
37083
  QuoteSent$outboundSchema = QuoteSent$inboundSchema;
37070
37084
  ((QuoteSent$) => {
37071
37085
  QuoteSent$.inboundSchema = QuoteSent$inboundSchema;
37072
37086
  QuoteSent$.outboundSchema = QuoteSent$outboundSchema;
37073
37087
  })(QuoteSent$ ||= {});
37074
- RelatedKnowledgeArticle$inboundSchema = objectType({
37075
- knowledge_article_uuid: stringType(),
37076
- relevance: numberType()
37077
- }).transform((v2) => {
37078
- return remap(v2, {
37079
- knowledge_article_uuid: "knowledgeArticleUuid"
37080
- });
37081
- });
37082
- RelatedKnowledgeArticle$outboundSchema = objectType({
37083
- knowledgeArticleUuid: stringType(),
37084
- relevance: numberType()
37085
- }).transform((v2) => {
37086
- return remap(v2, {
37087
- knowledgeArticleUuid: "knowledge_article_uuid"
37088
- });
37089
- });
37090
- ((RelatedKnowledgeArticle$) => {
37091
- RelatedKnowledgeArticle$.inboundSchema = RelatedKnowledgeArticle$inboundSchema;
37092
- RelatedKnowledgeArticle$.outboundSchema = RelatedKnowledgeArticle$outboundSchema;
37093
- })(RelatedKnowledgeArticle$ ||= {});
37088
+ JobActive$inboundSchema = nativeEnumType(JobActive);
37089
+ JobActive$outboundSchema = JobActive$inboundSchema;
37090
+ ((JobActive$) => {
37091
+ JobActive$.inboundSchema = JobActive$inboundSchema;
37092
+ JobActive$.outboundSchema = JobActive$outboundSchema;
37093
+ })(JobActive$ ||= {});
37094
37094
  Job$inboundSchema = objectType({
37095
- uuid: stringType().optional(),
37096
- active: JobActive$inboundSchema.default(1),
37097
- edit_date: stringType().optional(),
37098
37095
  created_by_staff_uuid: stringType().optional(),
37099
37096
  date: stringType().optional(),
37100
37097
  company_uuid: stringType().optional(),
37101
- job_address: stringType().optional(),
37102
37098
  billing_address: stringType().optional(),
37103
- status: stringType(),
37104
- job_description: stringType().optional(),
37105
- work_done_description: stringType().optional(),
37099
+ status: Status$inboundSchema,
37106
37100
  lng: numberType().optional(),
37107
37101
  lat: numberType().optional(),
37108
- generated_job_id: stringType().optional(),
37109
37102
  payment_date: stringType().optional(),
37110
37103
  payment_actioned_by_uuid: stringType().optional(),
37111
37104
  payment_method: stringType().optional(),
37112
37105
  payment_amount: stringType().optional(),
37113
- total_invoice_amount: stringType().optional(),
37114
37106
  category_uuid: stringType().optional(),
37115
37107
  payment_note: stringType().optional(),
37116
37108
  geo_is_valid: stringType().optional(),
37117
37109
  purchase_order_number: stringType().optional(),
37118
37110
  invoice_sent: stringType().optional(),
37119
37111
  invoice_sent_stamp: stringType().optional(),
37120
- ready_to_invoice: stringType().optional(),
37121
- ready_to_invoice_stamp: stringType().optional(),
37122
- payment_processed: stringType().optional(),
37123
- payment_processed_stamp: stringType().optional(),
37112
+ ready_to_invoice: anyType().optional(),
37113
+ ready_to_invoice_stamp: anyType().optional(),
37124
37114
  geo_country: stringType().optional(),
37125
37115
  geo_postcode: stringType().optional(),
37126
37116
  geo_state: stringType().optional(),
@@ -37130,34 +37120,38 @@ var init_job = __esm(() => {
37130
37120
  queue_uuid: stringType().optional(),
37131
37121
  queue_expiry_date: stringType().optional(),
37132
37122
  queue_assigned_staff_uuid: stringType().optional(),
37133
- payment_received: stringType().optional(),
37134
- payment_received_stamp: stringType().optional(),
37135
37123
  badges: stringType().optional(),
37136
37124
  quote_date: stringType().optional(),
37137
37125
  quote_sent: QuoteSent$inboundSchema.optional(),
37138
37126
  quote_sent_stamp: stringType().optional(),
37139
37127
  work_order_date: stringType().optional(),
37128
+ active_network_request_uuid: anyType().optional(),
37129
+ related_knowledge_articles: anyType().optional(),
37130
+ uuid: stringType().optional(),
37131
+ active: JobActive$inboundSchema.default(1),
37132
+ edit_date: anyType().optional(),
37133
+ job_address: stringType().optional(),
37134
+ job_description: stringType().optional(),
37135
+ work_done_description: stringType().optional(),
37136
+ generated_job_id: stringType().optional(),
37137
+ total_invoice_amount: stringType().optional(),
37138
+ payment_processed: stringType().optional(),
37139
+ payment_processed_stamp: stringType().optional(),
37140
+ payment_received: stringType().optional(),
37141
+ payment_received_stamp: stringType().optional(),
37140
37142
  completion_date: stringType().optional(),
37141
37143
  completion_actioned_by_uuid: stringType().optional(),
37142
37144
  unsuccessful_date: stringType().optional(),
37143
- job_is_scheduled_until_stamp: stringType().optional(),
37144
- active_network_request_uuid: stringType().optional(),
37145
- related_knowledge_articles: arrayType(lazyType(() => RelatedKnowledgeArticle$inboundSchema)).optional()
37145
+ job_is_scheduled_until_stamp: stringType().optional()
37146
37146
  }).transform((v2) => {
37147
37147
  return remap(v2, {
37148
- edit_date: "editDate",
37149
37148
  created_by_staff_uuid: "createdByStaffUuid",
37150
37149
  company_uuid: "companyUuid",
37151
- job_address: "jobAddress",
37152
37150
  billing_address: "billingAddress",
37153
- job_description: "jobDescription",
37154
- work_done_description: "workDoneDescription",
37155
- generated_job_id: "generatedJobId",
37156
37151
  payment_date: "paymentDate",
37157
37152
  payment_actioned_by_uuid: "paymentActionedByUuid",
37158
37153
  payment_method: "paymentMethod",
37159
37154
  payment_amount: "paymentAmount",
37160
- total_invoice_amount: "totalInvoiceAmount",
37161
37155
  category_uuid: "categoryUuid",
37162
37156
  payment_note: "paymentNote",
37163
37157
  geo_is_valid: "geoIsValid",
@@ -37166,8 +37160,6 @@ var init_job = __esm(() => {
37166
37160
  invoice_sent_stamp: "invoiceSentStamp",
37167
37161
  ready_to_invoice: "readyToInvoice",
37168
37162
  ready_to_invoice_stamp: "readyToInvoiceStamp",
37169
- payment_processed: "paymentProcessed",
37170
- payment_processed_stamp: "paymentProcessedStamp",
37171
37163
  geo_country: "geoCountry",
37172
37164
  geo_postcode: "geoPostcode",
37173
37165
  geo_state: "geoState",
@@ -37177,50 +37169,48 @@ var init_job = __esm(() => {
37177
37169
  queue_uuid: "queueUuid",
37178
37170
  queue_expiry_date: "queueExpiryDate",
37179
37171
  queue_assigned_staff_uuid: "queueAssignedStaffUuid",
37180
- payment_received: "paymentReceived",
37181
- payment_received_stamp: "paymentReceivedStamp",
37182
37172
  quote_date: "quoteDate",
37183
37173
  quote_sent: "quoteSent",
37184
37174
  quote_sent_stamp: "quoteSentStamp",
37185
37175
  work_order_date: "workOrderDate",
37176
+ active_network_request_uuid: "activeNetworkRequestUuid",
37177
+ related_knowledge_articles: "relatedKnowledgeArticles",
37178
+ edit_date: "editDate",
37179
+ job_address: "jobAddress",
37180
+ job_description: "jobDescription",
37181
+ work_done_description: "workDoneDescription",
37182
+ generated_job_id: "generatedJobId",
37183
+ total_invoice_amount: "totalInvoiceAmount",
37184
+ payment_processed: "paymentProcessed",
37185
+ payment_processed_stamp: "paymentProcessedStamp",
37186
+ payment_received: "paymentReceived",
37187
+ payment_received_stamp: "paymentReceivedStamp",
37186
37188
  completion_date: "completionDate",
37187
37189
  completion_actioned_by_uuid: "completionActionedByUuid",
37188
37190
  unsuccessful_date: "unsuccessfulDate",
37189
- job_is_scheduled_until_stamp: "jobIsScheduledUntilStamp",
37190
- active_network_request_uuid: "activeNetworkRequestUuid",
37191
- related_knowledge_articles: "relatedKnowledgeArticles"
37191
+ job_is_scheduled_until_stamp: "jobIsScheduledUntilStamp"
37192
37192
  });
37193
37193
  });
37194
37194
  Job$outboundSchema = objectType({
37195
- uuid: stringType().optional(),
37196
- active: JobActive$outboundSchema.default(1),
37197
- editDate: stringType().optional(),
37198
37195
  createdByStaffUuid: stringType().optional(),
37199
37196
  date: stringType().optional(),
37200
37197
  companyUuid: stringType().optional(),
37201
- jobAddress: stringType().optional(),
37202
37198
  billingAddress: stringType().optional(),
37203
- status: stringType(),
37204
- jobDescription: stringType().optional(),
37205
- workDoneDescription: stringType().optional(),
37199
+ status: Status$outboundSchema,
37206
37200
  lng: numberType().optional(),
37207
37201
  lat: numberType().optional(),
37208
- generatedJobId: stringType().optional(),
37209
37202
  paymentDate: stringType().optional(),
37210
37203
  paymentActionedByUuid: stringType().optional(),
37211
37204
  paymentMethod: stringType().optional(),
37212
37205
  paymentAmount: stringType().optional(),
37213
- totalInvoiceAmount: stringType().optional(),
37214
37206
  categoryUuid: stringType().optional(),
37215
37207
  paymentNote: stringType().optional(),
37216
37208
  geoIsValid: stringType().optional(),
37217
37209
  purchaseOrderNumber: stringType().optional(),
37218
37210
  invoiceSent: stringType().optional(),
37219
37211
  invoiceSentStamp: stringType().optional(),
37220
- readyToInvoice: stringType().optional(),
37221
- readyToInvoiceStamp: stringType().optional(),
37222
- paymentProcessed: stringType().optional(),
37223
- paymentProcessedStamp: stringType().optional(),
37212
+ readyToInvoice: anyType().optional(),
37213
+ readyToInvoiceStamp: anyType().optional(),
37224
37214
  geoCountry: stringType().optional(),
37225
37215
  geoPostcode: stringType().optional(),
37226
37216
  geoState: stringType().optional(),
@@ -37230,34 +37220,38 @@ var init_job = __esm(() => {
37230
37220
  queueUuid: stringType().optional(),
37231
37221
  queueExpiryDate: stringType().optional(),
37232
37222
  queueAssignedStaffUuid: stringType().optional(),
37233
- paymentReceived: stringType().optional(),
37234
- paymentReceivedStamp: stringType().optional(),
37235
37223
  badges: stringType().optional(),
37236
37224
  quoteDate: stringType().optional(),
37237
37225
  quoteSent: QuoteSent$outboundSchema.optional(),
37238
37226
  quoteSentStamp: stringType().optional(),
37239
37227
  workOrderDate: stringType().optional(),
37228
+ activeNetworkRequestUuid: anyType().optional(),
37229
+ relatedKnowledgeArticles: anyType().optional(),
37230
+ uuid: stringType().optional(),
37231
+ active: JobActive$outboundSchema.default(1),
37232
+ editDate: anyType().optional(),
37233
+ jobAddress: stringType().optional(),
37234
+ jobDescription: stringType().optional(),
37235
+ workDoneDescription: stringType().optional(),
37236
+ generatedJobId: stringType().optional(),
37237
+ totalInvoiceAmount: stringType().optional(),
37238
+ paymentProcessed: stringType().optional(),
37239
+ paymentProcessedStamp: stringType().optional(),
37240
+ paymentReceived: stringType().optional(),
37241
+ paymentReceivedStamp: stringType().optional(),
37240
37242
  completionDate: stringType().optional(),
37241
37243
  completionActionedByUuid: stringType().optional(),
37242
37244
  unsuccessfulDate: stringType().optional(),
37243
- jobIsScheduledUntilStamp: stringType().optional(),
37244
- activeNetworkRequestUuid: stringType().optional(),
37245
- relatedKnowledgeArticles: arrayType(lazyType(() => RelatedKnowledgeArticle$outboundSchema)).optional()
37245
+ jobIsScheduledUntilStamp: stringType().optional()
37246
37246
  }).transform((v2) => {
37247
37247
  return remap(v2, {
37248
- editDate: "edit_date",
37249
37248
  createdByStaffUuid: "created_by_staff_uuid",
37250
37249
  companyUuid: "company_uuid",
37251
- jobAddress: "job_address",
37252
37250
  billingAddress: "billing_address",
37253
- jobDescription: "job_description",
37254
- workDoneDescription: "work_done_description",
37255
- generatedJobId: "generated_job_id",
37256
37251
  paymentDate: "payment_date",
37257
37252
  paymentActionedByUuid: "payment_actioned_by_uuid",
37258
37253
  paymentMethod: "payment_method",
37259
37254
  paymentAmount: "payment_amount",
37260
- totalInvoiceAmount: "total_invoice_amount",
37261
37255
  categoryUuid: "category_uuid",
37262
37256
  paymentNote: "payment_note",
37263
37257
  geoIsValid: "geo_is_valid",
@@ -37266,8 +37260,6 @@ var init_job = __esm(() => {
37266
37260
  invoiceSentStamp: "invoice_sent_stamp",
37267
37261
  readyToInvoice: "ready_to_invoice",
37268
37262
  readyToInvoiceStamp: "ready_to_invoice_stamp",
37269
- paymentProcessed: "payment_processed",
37270
- paymentProcessedStamp: "payment_processed_stamp",
37271
37263
  geoCountry: "geo_country",
37272
37264
  geoPostcode: "geo_postcode",
37273
37265
  geoState: "geo_state",
@@ -37277,18 +37269,26 @@ var init_job = __esm(() => {
37277
37269
  queueUuid: "queue_uuid",
37278
37270
  queueExpiryDate: "queue_expiry_date",
37279
37271
  queueAssignedStaffUuid: "queue_assigned_staff_uuid",
37280
- paymentReceived: "payment_received",
37281
- paymentReceivedStamp: "payment_received_stamp",
37282
37272
  quoteDate: "quote_date",
37283
37273
  quoteSent: "quote_sent",
37284
37274
  quoteSentStamp: "quote_sent_stamp",
37285
37275
  workOrderDate: "work_order_date",
37276
+ activeNetworkRequestUuid: "active_network_request_uuid",
37277
+ relatedKnowledgeArticles: "related_knowledge_articles",
37278
+ editDate: "edit_date",
37279
+ jobAddress: "job_address",
37280
+ jobDescription: "job_description",
37281
+ workDoneDescription: "work_done_description",
37282
+ generatedJobId: "generated_job_id",
37283
+ totalInvoiceAmount: "total_invoice_amount",
37284
+ paymentProcessed: "payment_processed",
37285
+ paymentProcessedStamp: "payment_processed_stamp",
37286
+ paymentReceived: "payment_received",
37287
+ paymentReceivedStamp: "payment_received_stamp",
37286
37288
  completionDate: "completion_date",
37287
37289
  completionActionedByUuid: "completion_actioned_by_uuid",
37288
37290
  unsuccessfulDate: "unsuccessful_date",
37289
- jobIsScheduledUntilStamp: "job_is_scheduled_until_stamp",
37290
- activeNetworkRequestUuid: "active_network_request_uuid",
37291
- relatedKnowledgeArticles: "related_knowledge_articles"
37291
+ jobIsScheduledUntilStamp: "job_is_scheduled_until_stamp"
37292
37292
  });
37293
37293
  });
37294
37294
  ((Job$) => {
@@ -37296,34 +37296,25 @@ var init_job = __esm(() => {
37296
37296
  Job$.outboundSchema = Job$outboundSchema;
37297
37297
  })(Job$ ||= {});
37298
37298
  JobInput$inboundSchema = objectType({
37299
- uuid: stringType().optional(),
37300
- active: JobActive$inboundSchema.default(1),
37301
37299
  created_by_staff_uuid: stringType().optional(),
37302
37300
  date: stringType().optional(),
37303
37301
  company_uuid: stringType().optional(),
37304
- job_address: stringType().optional(),
37305
37302
  billing_address: stringType().optional(),
37306
- status: stringType(),
37307
- job_description: stringType().optional(),
37308
- work_done_description: stringType().optional(),
37303
+ status: Status$inboundSchema,
37309
37304
  lng: numberType().optional(),
37310
37305
  lat: numberType().optional(),
37311
- generated_job_id: stringType().optional(),
37312
37306
  payment_date: stringType().optional(),
37313
37307
  payment_actioned_by_uuid: stringType().optional(),
37314
37308
  payment_method: stringType().optional(),
37315
37309
  payment_amount: stringType().optional(),
37316
- total_invoice_amount: stringType().optional(),
37317
37310
  category_uuid: stringType().optional(),
37318
37311
  payment_note: stringType().optional(),
37319
37312
  geo_is_valid: stringType().optional(),
37320
37313
  purchase_order_number: stringType().optional(),
37321
37314
  invoice_sent: stringType().optional(),
37322
37315
  invoice_sent_stamp: stringType().optional(),
37323
- ready_to_invoice: stringType().optional(),
37324
- ready_to_invoice_stamp: stringType().optional(),
37325
- payment_processed: stringType().optional(),
37326
- payment_processed_stamp: stringType().optional(),
37316
+ ready_to_invoice: anyType().optional(),
37317
+ ready_to_invoice_stamp: anyType().optional(),
37327
37318
  geo_country: stringType().optional(),
37328
37319
  geo_postcode: stringType().optional(),
37329
37320
  geo_state: stringType().optional(),
@@ -37333,33 +37324,37 @@ var init_job = __esm(() => {
37333
37324
  queue_uuid: stringType().optional(),
37334
37325
  queue_expiry_date: stringType().optional(),
37335
37326
  queue_assigned_staff_uuid: stringType().optional(),
37336
- payment_received: stringType().optional(),
37337
- payment_received_stamp: stringType().optional(),
37338
37327
  badges: stringType().optional(),
37339
37328
  quote_date: stringType().optional(),
37340
37329
  quote_sent: QuoteSent$inboundSchema.optional(),
37341
37330
  quote_sent_stamp: stringType().optional(),
37342
37331
  work_order_date: stringType().optional(),
37332
+ active_network_request_uuid: anyType().optional(),
37333
+ related_knowledge_articles: anyType().optional(),
37334
+ uuid: stringType().optional(),
37335
+ active: JobActive$inboundSchema.default(1),
37336
+ job_address: stringType().optional(),
37337
+ job_description: stringType().optional(),
37338
+ work_done_description: stringType().optional(),
37339
+ generated_job_id: stringType().optional(),
37340
+ total_invoice_amount: stringType().optional(),
37341
+ payment_processed: stringType().optional(),
37342
+ payment_processed_stamp: stringType().optional(),
37343
+ payment_received: stringType().optional(),
37344
+ payment_received_stamp: stringType().optional(),
37343
37345
  completion_date: stringType().optional(),
37344
37346
  completion_actioned_by_uuid: stringType().optional(),
37345
37347
  unsuccessful_date: stringType().optional(),
37346
- job_is_scheduled_until_stamp: stringType().optional(),
37347
- active_network_request_uuid: stringType().optional(),
37348
- related_knowledge_articles: arrayType(lazyType(() => RelatedKnowledgeArticle$inboundSchema)).optional()
37348
+ job_is_scheduled_until_stamp: stringType().optional()
37349
37349
  }).transform((v2) => {
37350
37350
  return remap(v2, {
37351
37351
  created_by_staff_uuid: "createdByStaffUuid",
37352
37352
  company_uuid: "companyUuid",
37353
- job_address: "jobAddress",
37354
37353
  billing_address: "billingAddress",
37355
- job_description: "jobDescription",
37356
- work_done_description: "workDoneDescription",
37357
- generated_job_id: "generatedJobId",
37358
37354
  payment_date: "paymentDate",
37359
37355
  payment_actioned_by_uuid: "paymentActionedByUuid",
37360
37356
  payment_method: "paymentMethod",
37361
37357
  payment_amount: "paymentAmount",
37362
- total_invoice_amount: "totalInvoiceAmount",
37363
37358
  category_uuid: "categoryUuid",
37364
37359
  payment_note: "paymentNote",
37365
37360
  geo_is_valid: "geoIsValid",
@@ -37368,8 +37363,6 @@ var init_job = __esm(() => {
37368
37363
  invoice_sent_stamp: "invoiceSentStamp",
37369
37364
  ready_to_invoice: "readyToInvoice",
37370
37365
  ready_to_invoice_stamp: "readyToInvoiceStamp",
37371
- payment_processed: "paymentProcessed",
37372
- payment_processed_stamp: "paymentProcessedStamp",
37373
37366
  geo_country: "geoCountry",
37374
37367
  geo_postcode: "geoPostcode",
37375
37368
  geo_state: "geoState",
@@ -37379,49 +37372,47 @@ var init_job = __esm(() => {
37379
37372
  queue_uuid: "queueUuid",
37380
37373
  queue_expiry_date: "queueExpiryDate",
37381
37374
  queue_assigned_staff_uuid: "queueAssignedStaffUuid",
37382
- payment_received: "paymentReceived",
37383
- payment_received_stamp: "paymentReceivedStamp",
37384
37375
  quote_date: "quoteDate",
37385
37376
  quote_sent: "quoteSent",
37386
37377
  quote_sent_stamp: "quoteSentStamp",
37387
37378
  work_order_date: "workOrderDate",
37379
+ active_network_request_uuid: "activeNetworkRequestUuid",
37380
+ related_knowledge_articles: "relatedKnowledgeArticles",
37381
+ job_address: "jobAddress",
37382
+ job_description: "jobDescription",
37383
+ work_done_description: "workDoneDescription",
37384
+ generated_job_id: "generatedJobId",
37385
+ total_invoice_amount: "totalInvoiceAmount",
37386
+ payment_processed: "paymentProcessed",
37387
+ payment_processed_stamp: "paymentProcessedStamp",
37388
+ payment_received: "paymentReceived",
37389
+ payment_received_stamp: "paymentReceivedStamp",
37388
37390
  completion_date: "completionDate",
37389
37391
  completion_actioned_by_uuid: "completionActionedByUuid",
37390
37392
  unsuccessful_date: "unsuccessfulDate",
37391
- job_is_scheduled_until_stamp: "jobIsScheduledUntilStamp",
37392
- active_network_request_uuid: "activeNetworkRequestUuid",
37393
- related_knowledge_articles: "relatedKnowledgeArticles"
37393
+ job_is_scheduled_until_stamp: "jobIsScheduledUntilStamp"
37394
37394
  });
37395
37395
  });
37396
37396
  JobInput$outboundSchema = objectType({
37397
- uuid: stringType().optional(),
37398
- active: JobActive$outboundSchema.default(1),
37399
37397
  createdByStaffUuid: stringType().optional(),
37400
37398
  date: stringType().optional(),
37401
37399
  companyUuid: stringType().optional(),
37402
- jobAddress: stringType().optional(),
37403
37400
  billingAddress: stringType().optional(),
37404
- status: stringType(),
37405
- jobDescription: stringType().optional(),
37406
- workDoneDescription: stringType().optional(),
37401
+ status: Status$outboundSchema,
37407
37402
  lng: numberType().optional(),
37408
37403
  lat: numberType().optional(),
37409
- generatedJobId: stringType().optional(),
37410
37404
  paymentDate: stringType().optional(),
37411
37405
  paymentActionedByUuid: stringType().optional(),
37412
37406
  paymentMethod: stringType().optional(),
37413
37407
  paymentAmount: stringType().optional(),
37414
- totalInvoiceAmount: stringType().optional(),
37415
37408
  categoryUuid: stringType().optional(),
37416
37409
  paymentNote: stringType().optional(),
37417
37410
  geoIsValid: stringType().optional(),
37418
37411
  purchaseOrderNumber: stringType().optional(),
37419
37412
  invoiceSent: stringType().optional(),
37420
37413
  invoiceSentStamp: stringType().optional(),
37421
- readyToInvoice: stringType().optional(),
37422
- readyToInvoiceStamp: stringType().optional(),
37423
- paymentProcessed: stringType().optional(),
37424
- paymentProcessedStamp: stringType().optional(),
37414
+ readyToInvoice: anyType().optional(),
37415
+ readyToInvoiceStamp: anyType().optional(),
37425
37416
  geoCountry: stringType().optional(),
37426
37417
  geoPostcode: stringType().optional(),
37427
37418
  geoState: stringType().optional(),
@@ -37431,33 +37422,37 @@ var init_job = __esm(() => {
37431
37422
  queueUuid: stringType().optional(),
37432
37423
  queueExpiryDate: stringType().optional(),
37433
37424
  queueAssignedStaffUuid: stringType().optional(),
37434
- paymentReceived: stringType().optional(),
37435
- paymentReceivedStamp: stringType().optional(),
37436
37425
  badges: stringType().optional(),
37437
37426
  quoteDate: stringType().optional(),
37438
37427
  quoteSent: QuoteSent$outboundSchema.optional(),
37439
37428
  quoteSentStamp: stringType().optional(),
37440
37429
  workOrderDate: stringType().optional(),
37430
+ activeNetworkRequestUuid: anyType().optional(),
37431
+ relatedKnowledgeArticles: anyType().optional(),
37432
+ uuid: stringType().optional(),
37433
+ active: JobActive$outboundSchema.default(1),
37434
+ jobAddress: stringType().optional(),
37435
+ jobDescription: stringType().optional(),
37436
+ workDoneDescription: stringType().optional(),
37437
+ generatedJobId: stringType().optional(),
37438
+ totalInvoiceAmount: stringType().optional(),
37439
+ paymentProcessed: stringType().optional(),
37440
+ paymentProcessedStamp: stringType().optional(),
37441
+ paymentReceived: stringType().optional(),
37442
+ paymentReceivedStamp: stringType().optional(),
37441
37443
  completionDate: stringType().optional(),
37442
37444
  completionActionedByUuid: stringType().optional(),
37443
37445
  unsuccessfulDate: stringType().optional(),
37444
- jobIsScheduledUntilStamp: stringType().optional(),
37445
- activeNetworkRequestUuid: stringType().optional(),
37446
- relatedKnowledgeArticles: arrayType(lazyType(() => RelatedKnowledgeArticle$outboundSchema)).optional()
37446
+ jobIsScheduledUntilStamp: stringType().optional()
37447
37447
  }).transform((v2) => {
37448
37448
  return remap(v2, {
37449
37449
  createdByStaffUuid: "created_by_staff_uuid",
37450
37450
  companyUuid: "company_uuid",
37451
- jobAddress: "job_address",
37452
37451
  billingAddress: "billing_address",
37453
- jobDescription: "job_description",
37454
- workDoneDescription: "work_done_description",
37455
- generatedJobId: "generated_job_id",
37456
37452
  paymentDate: "payment_date",
37457
37453
  paymentActionedByUuid: "payment_actioned_by_uuid",
37458
37454
  paymentMethod: "payment_method",
37459
37455
  paymentAmount: "payment_amount",
37460
- totalInvoiceAmount: "total_invoice_amount",
37461
37456
  categoryUuid: "category_uuid",
37462
37457
  paymentNote: "payment_note",
37463
37458
  geoIsValid: "geo_is_valid",
@@ -37466,8 +37461,6 @@ var init_job = __esm(() => {
37466
37461
  invoiceSentStamp: "invoice_sent_stamp",
37467
37462
  readyToInvoice: "ready_to_invoice",
37468
37463
  readyToInvoiceStamp: "ready_to_invoice_stamp",
37469
- paymentProcessed: "payment_processed",
37470
- paymentProcessedStamp: "payment_processed_stamp",
37471
37464
  geoCountry: "geo_country",
37472
37465
  geoPostcode: "geo_postcode",
37473
37466
  geoState: "geo_state",
@@ -37477,18 +37470,25 @@ var init_job = __esm(() => {
37477
37470
  queueUuid: "queue_uuid",
37478
37471
  queueExpiryDate: "queue_expiry_date",
37479
37472
  queueAssignedStaffUuid: "queue_assigned_staff_uuid",
37480
- paymentReceived: "payment_received",
37481
- paymentReceivedStamp: "payment_received_stamp",
37482
37473
  quoteDate: "quote_date",
37483
37474
  quoteSent: "quote_sent",
37484
37475
  quoteSentStamp: "quote_sent_stamp",
37485
37476
  workOrderDate: "work_order_date",
37477
+ activeNetworkRequestUuid: "active_network_request_uuid",
37478
+ relatedKnowledgeArticles: "related_knowledge_articles",
37479
+ jobAddress: "job_address",
37480
+ jobDescription: "job_description",
37481
+ workDoneDescription: "work_done_description",
37482
+ generatedJobId: "generated_job_id",
37483
+ totalInvoiceAmount: "total_invoice_amount",
37484
+ paymentProcessed: "payment_processed",
37485
+ paymentProcessedStamp: "payment_processed_stamp",
37486
+ paymentReceived: "payment_received",
37487
+ paymentReceivedStamp: "payment_received_stamp",
37486
37488
  completionDate: "completion_date",
37487
37489
  completionActionedByUuid: "completion_actioned_by_uuid",
37488
37490
  unsuccessfulDate: "unsuccessful_date",
37489
- jobIsScheduledUntilStamp: "job_is_scheduled_until_stamp",
37490
- activeNetworkRequestUuid: "active_network_request_uuid",
37491
- relatedKnowledgeArticles: "related_knowledge_articles"
37491
+ jobIsScheduledUntilStamp: "job_is_scheduled_until_stamp"
37492
37492
  });
37493
37493
  });
37494
37494
  ((JobInput$) => {
@@ -37515,7 +37515,7 @@ var init_jobactivity = __esm(() => {
37515
37515
  JobActivity$inboundSchema = objectType({
37516
37516
  uuid: stringType().optional(),
37517
37517
  active: JobActivityActive$inboundSchema.default(1),
37518
- edit_date: stringType().optional(),
37518
+ edit_date: anyType().optional(),
37519
37519
  job_uuid: stringType().optional(),
37520
37520
  staff_uuid: stringType().optional(),
37521
37521
  start_date: stringType().optional(),
@@ -37530,7 +37530,7 @@ var init_jobactivity = __esm(() => {
37530
37530
  allocated_by_staff_uuid: stringType().optional(),
37531
37531
  allocated_timestamp: stringType().optional(),
37532
37532
  material_uuid: stringType().optional(),
37533
- edit_by_staff_uuid: stringType().optional()
37533
+ edit_by_staff_uuid: anyType().optional()
37534
37534
  }).transform((v2) => {
37535
37535
  return remap(v2, {
37536
37536
  edit_date: "editDate",
@@ -37554,7 +37554,7 @@ var init_jobactivity = __esm(() => {
37554
37554
  JobActivity$outboundSchema = objectType({
37555
37555
  uuid: stringType().optional(),
37556
37556
  active: JobActivityActive$outboundSchema.default(1),
37557
- editDate: stringType().optional(),
37557
+ editDate: anyType().optional(),
37558
37558
  jobUuid: stringType().optional(),
37559
37559
  staffUuid: stringType().optional(),
37560
37560
  startDate: stringType().optional(),
@@ -37569,7 +37569,7 @@ var init_jobactivity = __esm(() => {
37569
37569
  allocatedByStaffUuid: stringType().optional(),
37570
37570
  allocatedTimestamp: stringType().optional(),
37571
37571
  materialUuid: stringType().optional(),
37572
- editByStaffUuid: stringType().optional()
37572
+ editByStaffUuid: anyType().optional()
37573
37573
  }).transform((v2) => {
37574
37574
  return remap(v2, {
37575
37575
  editDate: "edit_date",
@@ -37688,7 +37688,7 @@ var init_joballocation = __esm(() => {
37688
37688
  JobAllocation$inboundSchema = objectType({
37689
37689
  uuid: stringType().optional(),
37690
37690
  active: JobAllocationActive$inboundSchema.default(1),
37691
- edit_date: stringType().optional(),
37691
+ edit_date: anyType().optional(),
37692
37692
  job_uuid: stringType().optional(),
37693
37693
  queue_uuid: stringType().optional(),
37694
37694
  staff_uuid: stringType().optional(),
@@ -37729,7 +37729,7 @@ var init_joballocation = __esm(() => {
37729
37729
  JobAllocation$outboundSchema = objectType({
37730
37730
  uuid: stringType().optional(),
37731
37731
  active: JobAllocationActive$outboundSchema.default(1),
37732
- editDate: stringType().optional(),
37732
+ editDate: anyType().optional(),
37733
37733
  jobUuid: stringType().optional(),
37734
37734
  queueUuid: stringType().optional(),
37735
37735
  staffUuid: stringType().optional(),
@@ -37919,7 +37919,7 @@ var init_jobchecklist = __esm(() => {
37919
37919
  JobChecklist$inboundSchema = objectType({
37920
37920
  uuid: stringType().optional(),
37921
37921
  active: JobChecklistActive$inboundSchema.default(1),
37922
- edit_date: stringType().optional(),
37922
+ edit_date: anyType().optional(),
37923
37923
  job_uuid: stringType().optional(),
37924
37924
  name: stringType().optional(),
37925
37925
  section_name: stringType().optional(),
@@ -37966,7 +37966,7 @@ var init_jobchecklist = __esm(() => {
37966
37966
  JobChecklist$outboundSchema = objectType({
37967
37967
  uuid: stringType().optional(),
37968
37968
  active: JobChecklistActive$outboundSchema.default(1),
37969
- editDate: stringType().optional(),
37969
+ editDate: anyType().optional(),
37970
37970
  jobUuid: stringType().optional(),
37971
37971
  name: stringType().optional(),
37972
37972
  sectionName: stringType().optional(),
@@ -38128,7 +38128,7 @@ var init_jobcontact = __esm(() => {
38128
38128
  JobContact$inboundSchema = objectType({
38129
38129
  uuid: stringType().optional(),
38130
38130
  active: JobContactActive$inboundSchema.default(1),
38131
- edit_date: stringType().optional(),
38131
+ edit_date: anyType().optional(),
38132
38132
  job_uuid: stringType().optional(),
38133
38133
  first: stringType().optional(),
38134
38134
  last: stringType().optional(),
@@ -38147,7 +38147,7 @@ var init_jobcontact = __esm(() => {
38147
38147
  JobContact$outboundSchema = objectType({
38148
38148
  uuid: stringType().optional(),
38149
38149
  active: JobContactActive$outboundSchema.default(1),
38150
- editDate: stringType().optional(),
38150
+ editDate: anyType().optional(),
38151
38151
  jobUuid: stringType().optional(),
38152
38152
  first: stringType().optional(),
38153
38153
  last: stringType().optional(),
@@ -38225,7 +38225,7 @@ var init_jobmaterial = __esm(() => {
38225
38225
  JobMaterial$inboundSchema = objectType({
38226
38226
  uuid: stringType().optional(),
38227
38227
  active: JobMaterialActive$inboundSchema.default(1),
38228
- edit_date: stringType().optional(),
38228
+ edit_date: anyType().optional(),
38229
38229
  job_uuid: stringType().optional(),
38230
38230
  material_uuid: stringType().optional(),
38231
38231
  name: stringType().optional(),
@@ -38254,7 +38254,7 @@ var init_jobmaterial = __esm(() => {
38254
38254
  JobMaterial$outboundSchema = objectType({
38255
38255
  uuid: stringType().optional(),
38256
38256
  active: JobMaterialActive$outboundSchema.default(1),
38257
- editDate: stringType().optional(),
38257
+ editDate: anyType().optional(),
38258
38258
  jobUuid: stringType().optional(),
38259
38259
  materialUuid: stringType().optional(),
38260
38260
  name: stringType().optional(),
@@ -38362,7 +38362,7 @@ var init_jobmaterialbundle = __esm(() => {
38362
38362
  JobMaterialBundle$inboundSchema = objectType({
38363
38363
  uuid: stringType().optional(),
38364
38364
  active: JobMaterialBundleActive$inboundSchema.default(1),
38365
- edit_date: stringType().optional(),
38365
+ edit_date: anyType().optional(),
38366
38366
  item_number: stringType().optional(),
38367
38367
  name: stringType().optional(),
38368
38368
  quantity: stringType().optional(),
@@ -38381,7 +38381,7 @@ var init_jobmaterialbundle = __esm(() => {
38381
38381
  JobMaterialBundle$outboundSchema = objectType({
38382
38382
  uuid: stringType().optional(),
38383
38383
  active: JobMaterialBundleActive$outboundSchema.default(1),
38384
- editDate: stringType().optional(),
38384
+ editDate: anyType().optional(),
38385
38385
  itemNumber: stringType().optional(),
38386
38386
  name: stringType().optional(),
38387
38387
  quantity: stringType().optional(),
@@ -38469,7 +38469,7 @@ var init_jobpayment = __esm(() => {
38469
38469
  JobPayment$inboundSchema = objectType({
38470
38470
  uuid: stringType().optional(),
38471
38471
  active: JobPaymentActive$inboundSchema.default(1),
38472
- edit_date: stringType().optional(),
38472
+ edit_date: anyType().optional(),
38473
38473
  job_uuid: stringType().optional(),
38474
38474
  actioned_by_uuid: stringType().optional(),
38475
38475
  timestamp: stringType().optional(),
@@ -38490,7 +38490,7 @@ var init_jobpayment = __esm(() => {
38490
38490
  JobPayment$outboundSchema = objectType({
38491
38491
  uuid: stringType().optional(),
38492
38492
  active: JobPaymentActive$outboundSchema.default(1),
38493
- editDate: stringType().optional(),
38493
+ editDate: anyType().optional(),
38494
38494
  jobUuid: stringType().optional(),
38495
38495
  actionedByUuid: stringType().optional(),
38496
38496
  timestamp: stringType().optional(),
@@ -38614,7 +38614,7 @@ var init_knowledgearticle = __esm(() => {
38614
38614
  KnowledgeArticle$inboundSchema = objectType({
38615
38615
  uuid: stringType().optional(),
38616
38616
  active: KnowledgeArticleActive$inboundSchema.default(1),
38617
- edit_date: stringType().optional(),
38617
+ edit_date: anyType().optional(),
38618
38618
  name: stringType(),
38619
38619
  content: stringType().optional(),
38620
38620
  article_type: stringType().optional(),
@@ -38629,7 +38629,7 @@ var init_knowledgearticle = __esm(() => {
38629
38629
  KnowledgeArticle$outboundSchema = objectType({
38630
38630
  uuid: stringType().optional(),
38631
38631
  active: KnowledgeArticleActive$outboundSchema.default(1),
38632
- editDate: stringType().optional(),
38632
+ editDate: anyType().optional(),
38633
38633
  name: stringType(),
38634
38634
  content: stringType().optional(),
38635
38635
  articleType: stringType().optional(),
@@ -38693,9 +38693,6 @@ var init_location = __esm(() => {
38693
38693
  LocationActive$.outboundSchema = LocationActive$outboundSchema;
38694
38694
  })(LocationActive$ ||= {});
38695
38695
  Location$inboundSchema = objectType({
38696
- uuid: stringType().optional(),
38697
- active: LocationActive$inboundSchema.default(1),
38698
- edit_date: stringType().optional(),
38699
38696
  name: stringType(),
38700
38697
  line1: stringType().optional(),
38701
38698
  line2: stringType().optional(),
@@ -38706,18 +38703,18 @@ var init_location = __esm(() => {
38706
38703
  phone_1: stringType().optional(),
38707
38704
  state: stringType().optional(),
38708
38705
  lng: numberType().optional(),
38709
- lat: numberType().optional()
38706
+ lat: numberType().optional(),
38707
+ uuid: stringType().optional(),
38708
+ active: LocationActive$inboundSchema.default(1),
38709
+ edit_date: anyType().optional()
38710
38710
  }).transform((v2) => {
38711
38711
  return remap(v2, {
38712
- edit_date: "editDate",
38713
38712
  post_code: "postCode",
38714
- phone_1: "phone1"
38713
+ phone_1: "phone1",
38714
+ edit_date: "editDate"
38715
38715
  });
38716
38716
  });
38717
38717
  Location$outboundSchema = objectType({
38718
- uuid: stringType().optional(),
38719
- active: LocationActive$outboundSchema.default(1),
38720
- editDate: stringType().optional(),
38721
38718
  name: stringType(),
38722
38719
  line1: stringType().optional(),
38723
38720
  line2: stringType().optional(),
@@ -38728,12 +38725,15 @@ var init_location = __esm(() => {
38728
38725
  phone1: stringType().optional(),
38729
38726
  state: stringType().optional(),
38730
38727
  lng: numberType().optional(),
38731
- lat: numberType().optional()
38728
+ lat: numberType().optional(),
38729
+ uuid: stringType().optional(),
38730
+ active: LocationActive$outboundSchema.default(1),
38731
+ editDate: anyType().optional()
38732
38732
  }).transform((v2) => {
38733
38733
  return remap(v2, {
38734
- editDate: "edit_date",
38735
38734
  postCode: "post_code",
38736
- phone1: "phone_1"
38735
+ phone1: "phone_1",
38736
+ editDate: "edit_date"
38737
38737
  });
38738
38738
  });
38739
38739
  ((Location$) => {
@@ -38741,8 +38741,6 @@ var init_location = __esm(() => {
38741
38741
  Location$.outboundSchema = Location$outboundSchema;
38742
38742
  })(Location$ ||= {});
38743
38743
  LocationInput$inboundSchema = objectType({
38744
- uuid: stringType().optional(),
38745
- active: LocationActive$inboundSchema.default(1),
38746
38744
  name: stringType(),
38747
38745
  line1: stringType().optional(),
38748
38746
  line2: stringType().optional(),
@@ -38753,7 +38751,9 @@ var init_location = __esm(() => {
38753
38751
  phone_1: stringType().optional(),
38754
38752
  state: stringType().optional(),
38755
38753
  lng: numberType().optional(),
38756
- lat: numberType().optional()
38754
+ lat: numberType().optional(),
38755
+ uuid: stringType().optional(),
38756
+ active: LocationActive$inboundSchema.default(1)
38757
38757
  }).transform((v2) => {
38758
38758
  return remap(v2, {
38759
38759
  post_code: "postCode",
@@ -38761,8 +38761,6 @@ var init_location = __esm(() => {
38761
38761
  });
38762
38762
  });
38763
38763
  LocationInput$outboundSchema = objectType({
38764
- uuid: stringType().optional(),
38765
- active: LocationActive$outboundSchema.default(1),
38766
38764
  name: stringType(),
38767
38765
  line1: stringType().optional(),
38768
38766
  line2: stringType().optional(),
@@ -38773,7 +38771,9 @@ var init_location = __esm(() => {
38773
38771
  phone1: stringType().optional(),
38774
38772
  state: stringType().optional(),
38775
38773
  lng: numberType().optional(),
38776
- lat: numberType().optional()
38774
+ lat: numberType().optional(),
38775
+ uuid: stringType().optional(),
38776
+ active: LocationActive$outboundSchema.default(1)
38777
38777
  }).transform((v2) => {
38778
38778
  return remap(v2, {
38779
38779
  postCode: "post_code",
@@ -38787,28 +38787,22 @@ var init_location = __esm(() => {
38787
38787
  });
38788
38788
 
38789
38789
  // src/models/components/material.ts
38790
- var MaterialActive, PriceIncludesTaxes, ItemIsInventoried, MaterialActive$inboundSchema, MaterialActive$outboundSchema, MaterialActive$, PriceIncludesTaxes$inboundSchema, PriceIncludesTaxes$outboundSchema, PriceIncludesTaxes$, ItemIsInventoried$inboundSchema, ItemIsInventoried$outboundSchema, ItemIsInventoried$, Material$inboundSchema, Material$outboundSchema, Material$, MaterialInput$inboundSchema, MaterialInput$outboundSchema, MaterialInput$;
38790
+ var PriceIncludesTaxes, ItemIsInventoried, MaterialActive, PriceIncludesTaxes$inboundSchema, PriceIncludesTaxes$outboundSchema, PriceIncludesTaxes$, ItemIsInventoried$inboundSchema, ItemIsInventoried$outboundSchema, ItemIsInventoried$, MaterialActive$inboundSchema, MaterialActive$outboundSchema, MaterialActive$, Material$inboundSchema, Material$outboundSchema, Material$, MaterialInput$inboundSchema, MaterialInput$outboundSchema, MaterialInput$;
38791
38791
  var init_material = __esm(() => {
38792
38792
  init_lib();
38793
38793
  init_primitives();
38794
- MaterialActive = {
38794
+ PriceIncludesTaxes = {
38795
38795
  Zero: 0,
38796
38796
  One: 1
38797
38797
  };
38798
- PriceIncludesTaxes = {
38798
+ ItemIsInventoried = {
38799
38799
  Zero: 0,
38800
38800
  One: 1
38801
38801
  };
38802
- ItemIsInventoried = {
38802
+ MaterialActive = {
38803
38803
  Zero: 0,
38804
38804
  One: 1
38805
38805
  };
38806
- MaterialActive$inboundSchema = nativeEnumType(MaterialActive);
38807
- MaterialActive$outboundSchema = MaterialActive$inboundSchema;
38808
- ((MaterialActive$) => {
38809
- MaterialActive$.inboundSchema = MaterialActive$inboundSchema;
38810
- MaterialActive$.outboundSchema = MaterialActive$outboundSchema;
38811
- })(MaterialActive$ ||= {});
38812
38806
  PriceIncludesTaxes$inboundSchema = nativeEnumType(PriceIncludesTaxes);
38813
38807
  PriceIncludesTaxes$outboundSchema = PriceIncludesTaxes$inboundSchema;
38814
38808
  ((PriceIncludesTaxes$) => {
@@ -38821,58 +38815,64 @@ var init_material = __esm(() => {
38821
38815
  ItemIsInventoried$.inboundSchema = ItemIsInventoried$inboundSchema;
38822
38816
  ItemIsInventoried$.outboundSchema = ItemIsInventoried$outboundSchema;
38823
38817
  })(ItemIsInventoried$ ||= {});
38818
+ MaterialActive$inboundSchema = nativeEnumType(MaterialActive);
38819
+ MaterialActive$outboundSchema = MaterialActive$inboundSchema;
38820
+ ((MaterialActive$) => {
38821
+ MaterialActive$.inboundSchema = MaterialActive$inboundSchema;
38822
+ MaterialActive$.outboundSchema = MaterialActive$outboundSchema;
38823
+ })(MaterialActive$ ||= {});
38824
38824
  Material$inboundSchema = objectType({
38825
- uuid: stringType().optional(),
38826
- active: MaterialActive$inboundSchema.default(1),
38827
- edit_date: stringType().optional(),
38828
38825
  name: stringType(),
38829
38826
  item_number: stringType().optional(),
38830
38827
  price: stringType().optional(),
38831
38828
  cost: stringType().optional(),
38832
- item_description: stringType().optional(),
38833
38829
  quantity_in_stock: numberType().optional(),
38834
38830
  price_includes_taxes: PriceIncludesTaxes$inboundSchema.optional(),
38835
- use_description_for_invoicing: stringType().optional(),
38836
- tax_rate_uuid: stringType().optional(),
38837
38831
  barcode: stringType().optional(),
38838
- item_is_inventoried: ItemIsInventoried$inboundSchema.optional()
38832
+ item_is_inventoried: ItemIsInventoried$inboundSchema.optional(),
38833
+ uuid: stringType().optional(),
38834
+ active: MaterialActive$inboundSchema.default(1),
38835
+ edit_date: anyType().optional(),
38836
+ item_description: stringType().optional(),
38837
+ use_description_for_invoicing: stringType().optional(),
38838
+ tax_rate_uuid: stringType().optional()
38839
38839
  }).transform((v2) => {
38840
38840
  return remap(v2, {
38841
- edit_date: "editDate",
38842
38841
  item_number: "itemNumber",
38843
- item_description: "itemDescription",
38844
38842
  quantity_in_stock: "quantityInStock",
38845
38843
  price_includes_taxes: "priceIncludesTaxes",
38844
+ item_is_inventoried: "itemIsInventoried",
38845
+ edit_date: "editDate",
38846
+ item_description: "itemDescription",
38846
38847
  use_description_for_invoicing: "useDescriptionForInvoicing",
38847
- tax_rate_uuid: "taxRateUuid",
38848
- item_is_inventoried: "itemIsInventoried"
38848
+ tax_rate_uuid: "taxRateUuid"
38849
38849
  });
38850
38850
  });
38851
38851
  Material$outboundSchema = objectType({
38852
- uuid: stringType().optional(),
38853
- active: MaterialActive$outboundSchema.default(1),
38854
- editDate: stringType().optional(),
38855
38852
  name: stringType(),
38856
38853
  itemNumber: stringType().optional(),
38857
38854
  price: stringType().optional(),
38858
38855
  cost: stringType().optional(),
38859
- itemDescription: stringType().optional(),
38860
38856
  quantityInStock: numberType().optional(),
38861
38857
  priceIncludesTaxes: PriceIncludesTaxes$outboundSchema.optional(),
38862
- useDescriptionForInvoicing: stringType().optional(),
38863
- taxRateUuid: stringType().optional(),
38864
38858
  barcode: stringType().optional(),
38865
- itemIsInventoried: ItemIsInventoried$outboundSchema.optional()
38859
+ itemIsInventoried: ItemIsInventoried$outboundSchema.optional(),
38860
+ uuid: stringType().optional(),
38861
+ active: MaterialActive$outboundSchema.default(1),
38862
+ editDate: anyType().optional(),
38863
+ itemDescription: stringType().optional(),
38864
+ useDescriptionForInvoicing: stringType().optional(),
38865
+ taxRateUuid: stringType().optional()
38866
38866
  }).transform((v2) => {
38867
38867
  return remap(v2, {
38868
- editDate: "edit_date",
38869
38868
  itemNumber: "item_number",
38870
- itemDescription: "item_description",
38871
38869
  quantityInStock: "quantity_in_stock",
38872
38870
  priceIncludesTaxes: "price_includes_taxes",
38871
+ itemIsInventoried: "item_is_inventoried",
38872
+ editDate: "edit_date",
38873
+ itemDescription: "item_description",
38873
38874
  useDescriptionForInvoicing: "use_description_for_invoicing",
38874
- taxRateUuid: "tax_rate_uuid",
38875
- itemIsInventoried: "item_is_inventoried"
38875
+ taxRateUuid: "tax_rate_uuid"
38876
38876
  });
38877
38877
  });
38878
38878
  ((Material$) => {
@@ -38880,53 +38880,53 @@ var init_material = __esm(() => {
38880
38880
  Material$.outboundSchema = Material$outboundSchema;
38881
38881
  })(Material$ ||= {});
38882
38882
  MaterialInput$inboundSchema = objectType({
38883
- uuid: stringType().optional(),
38884
- active: MaterialActive$inboundSchema.default(1),
38885
38883
  name: stringType(),
38886
38884
  item_number: stringType().optional(),
38887
38885
  price: stringType().optional(),
38888
38886
  cost: stringType().optional(),
38889
- item_description: stringType().optional(),
38890
38887
  quantity_in_stock: numberType().optional(),
38891
38888
  price_includes_taxes: PriceIncludesTaxes$inboundSchema.optional(),
38892
- use_description_for_invoicing: stringType().optional(),
38893
- tax_rate_uuid: stringType().optional(),
38894
38889
  barcode: stringType().optional(),
38895
- item_is_inventoried: ItemIsInventoried$inboundSchema.optional()
38890
+ item_is_inventoried: ItemIsInventoried$inboundSchema.optional(),
38891
+ uuid: stringType().optional(),
38892
+ active: MaterialActive$inboundSchema.default(1),
38893
+ item_description: stringType().optional(),
38894
+ use_description_for_invoicing: stringType().optional(),
38895
+ tax_rate_uuid: stringType().optional()
38896
38896
  }).transform((v2) => {
38897
38897
  return remap(v2, {
38898
38898
  item_number: "itemNumber",
38899
- item_description: "itemDescription",
38900
38899
  quantity_in_stock: "quantityInStock",
38901
38900
  price_includes_taxes: "priceIncludesTaxes",
38901
+ item_is_inventoried: "itemIsInventoried",
38902
+ item_description: "itemDescription",
38902
38903
  use_description_for_invoicing: "useDescriptionForInvoicing",
38903
- tax_rate_uuid: "taxRateUuid",
38904
- item_is_inventoried: "itemIsInventoried"
38904
+ tax_rate_uuid: "taxRateUuid"
38905
38905
  });
38906
38906
  });
38907
38907
  MaterialInput$outboundSchema = objectType({
38908
- uuid: stringType().optional(),
38909
- active: MaterialActive$outboundSchema.default(1),
38910
38908
  name: stringType(),
38911
38909
  itemNumber: stringType().optional(),
38912
38910
  price: stringType().optional(),
38913
38911
  cost: stringType().optional(),
38914
- itemDescription: stringType().optional(),
38915
38912
  quantityInStock: numberType().optional(),
38916
38913
  priceIncludesTaxes: PriceIncludesTaxes$outboundSchema.optional(),
38917
- useDescriptionForInvoicing: stringType().optional(),
38918
- taxRateUuid: stringType().optional(),
38919
38914
  barcode: stringType().optional(),
38920
- itemIsInventoried: ItemIsInventoried$outboundSchema.optional()
38915
+ itemIsInventoried: ItemIsInventoried$outboundSchema.optional(),
38916
+ uuid: stringType().optional(),
38917
+ active: MaterialActive$outboundSchema.default(1),
38918
+ itemDescription: stringType().optional(),
38919
+ useDescriptionForInvoicing: stringType().optional(),
38920
+ taxRateUuid: stringType().optional()
38921
38921
  }).transform((v2) => {
38922
38922
  return remap(v2, {
38923
38923
  itemNumber: "item_number",
38924
- itemDescription: "item_description",
38925
38924
  quantityInStock: "quantity_in_stock",
38926
38925
  priceIncludesTaxes: "price_includes_taxes",
38926
+ itemIsInventoried: "item_is_inventoried",
38927
+ itemDescription: "item_description",
38927
38928
  useDescriptionForInvoicing: "use_description_for_invoicing",
38928
- taxRateUuid: "tax_rate_uuid",
38929
- itemIsInventoried: "item_is_inventoried"
38929
+ taxRateUuid: "tax_rate_uuid"
38930
38930
  });
38931
38931
  });
38932
38932
  ((MaterialInput$) => {
@@ -38965,7 +38965,7 @@ var init_materialbundle = __esm(() => {
38965
38965
  MaterialBundle$inboundSchema = objectType({
38966
38966
  uuid: stringType().optional(),
38967
38967
  active: MaterialBundleActive$inboundSchema.default(1),
38968
- edit_date: stringType().optional(),
38968
+ edit_date: anyType().optional(),
38969
38969
  item_number: stringType(),
38970
38970
  name: stringType().optional(),
38971
38971
  material_list: arrayType(lazyType(() => MaterialList$inboundSchema)).optional()
@@ -38979,7 +38979,7 @@ var init_materialbundle = __esm(() => {
38979
38979
  MaterialBundle$outboundSchema = objectType({
38980
38980
  uuid: stringType().optional(),
38981
38981
  active: MaterialBundleActive$outboundSchema.default(1),
38982
- editDate: stringType().optional(),
38982
+ editDate: anyType().optional(),
38983
38983
  itemNumber: stringType(),
38984
38984
  name: stringType().optional(),
38985
38985
  materialList: arrayType(lazyType(() => MaterialList$outboundSchema)).optional()
@@ -39042,14 +39042,14 @@ var init_note = __esm(() => {
39042
39042
  Note$inboundSchema = objectType({
39043
39043
  uuid: stringType().optional(),
39044
39044
  active: NoteActive$inboundSchema.default(1),
39045
- edit_date: stringType().optional(),
39045
+ edit_date: anyType().optional(),
39046
39046
  related_object: stringType().optional(),
39047
39047
  related_object_uuid: stringType().optional(),
39048
39048
  note: stringType().optional(),
39049
39049
  action_required: stringType().optional(),
39050
39050
  action_completed_by_staff_uuid: stringType().optional(),
39051
- edit_by_staff_uuid: stringType().optional(),
39052
- create_date: stringType().optional()
39051
+ edit_by_staff_uuid: anyType().optional(),
39052
+ create_date: anyType().optional()
39053
39053
  }).transform((v2) => {
39054
39054
  return remap(v2, {
39055
39055
  edit_date: "editDate",
@@ -39064,14 +39064,14 @@ var init_note = __esm(() => {
39064
39064
  Note$outboundSchema = objectType({
39065
39065
  uuid: stringType().optional(),
39066
39066
  active: NoteActive$outboundSchema.default(1),
39067
- editDate: stringType().optional(),
39067
+ editDate: anyType().optional(),
39068
39068
  relatedObject: stringType().optional(),
39069
39069
  relatedObjectUuid: stringType().optional(),
39070
39070
  note: stringType().optional(),
39071
39071
  actionRequired: stringType().optional(),
39072
39072
  actionCompletedByStaffUuid: stringType().optional(),
39073
- editByStaffUuid: stringType().optional(),
39074
- createDate: stringType().optional()
39073
+ editByStaffUuid: anyType().optional(),
39074
+ createDate: anyType().optional()
39075
39075
  }).transform((v2) => {
39076
39076
  return remap(v2, {
39077
39077
  editDate: "edit_date",
@@ -39095,7 +39095,7 @@ var init_note = __esm(() => {
39095
39095
  note: stringType().optional(),
39096
39096
  action_required: stringType().optional(),
39097
39097
  action_completed_by_staff_uuid: stringType().optional(),
39098
- create_date: stringType().optional()
39098
+ create_date: anyType().optional()
39099
39099
  }).transform((v2) => {
39100
39100
  return remap(v2, {
39101
39101
  related_object: "relatedObject",
@@ -39113,7 +39113,7 @@ var init_note = __esm(() => {
39113
39113
  note: stringType().optional(),
39114
39114
  actionRequired: stringType().optional(),
39115
39115
  actionCompletedByStaffUuid: stringType().optional(),
39116
- createDate: stringType().optional()
39116
+ createDate: anyType().optional()
39117
39117
  }).transform((v2) => {
39118
39118
  return remap(v2, {
39119
39119
  relatedObject: "related_object",
@@ -39157,7 +39157,7 @@ var init_queue = __esm(() => {
39157
39157
  Queue$inboundSchema = objectType({
39158
39158
  uuid: stringType().optional(),
39159
39159
  active: QueueActive$inboundSchema.default(1),
39160
- edit_date: stringType().optional(),
39160
+ edit_date: anyType().optional(),
39161
39161
  name: stringType().optional(),
39162
39162
  default_timeframe: numberType().int().optional(),
39163
39163
  subscribed_staff: stringType().optional(),
@@ -39173,7 +39173,7 @@ var init_queue = __esm(() => {
39173
39173
  Queue$outboundSchema = objectType({
39174
39174
  uuid: stringType().optional(),
39175
39175
  active: QueueActive$outboundSchema.default(1),
39176
- editDate: stringType().optional(),
39176
+ editDate: anyType().optional(),
39177
39177
  name: stringType().optional(),
39178
39178
  defaultTimeframe: numberType().int().optional(),
39179
39179
  subscribedStaff: stringType().optional(),
@@ -39276,27 +39276,27 @@ var init_securityrole = __esm(() => {
39276
39276
  SecurityRoleActive$.outboundSchema = SecurityRoleActive$outboundSchema;
39277
39277
  })(SecurityRoleActive$ ||= {});
39278
39278
  SecurityRole$inboundSchema = objectType({
39279
+ name: stringType(),
39280
+ role_description: stringType().optional(),
39279
39281
  uuid: stringType().optional(),
39280
39282
  active: SecurityRoleActive$inboundSchema.default(1),
39281
- edit_date: stringType().optional(),
39282
- name: stringType(),
39283
- role_description: stringType().optional()
39283
+ edit_date: anyType().optional()
39284
39284
  }).transform((v2) => {
39285
39285
  return remap(v2, {
39286
- edit_date: "editDate",
39287
- role_description: "roleDescription"
39286
+ role_description: "roleDescription",
39287
+ edit_date: "editDate"
39288
39288
  });
39289
39289
  });
39290
39290
  SecurityRole$outboundSchema = objectType({
39291
+ name: stringType(),
39292
+ roleDescription: stringType().optional(),
39291
39293
  uuid: stringType().optional(),
39292
39294
  active: SecurityRoleActive$outboundSchema.default(1),
39293
- editDate: stringType().optional(),
39294
- name: stringType(),
39295
- roleDescription: stringType().optional()
39295
+ editDate: anyType().optional()
39296
39296
  }).transform((v2) => {
39297
39297
  return remap(v2, {
39298
- editDate: "edit_date",
39299
- roleDescription: "role_description"
39298
+ roleDescription: "role_description",
39299
+ editDate: "edit_date"
39300
39300
  });
39301
39301
  });
39302
39302
  ((SecurityRole$) => {
@@ -39304,20 +39304,20 @@ var init_securityrole = __esm(() => {
39304
39304
  SecurityRole$.outboundSchema = SecurityRole$outboundSchema;
39305
39305
  })(SecurityRole$ ||= {});
39306
39306
  SecurityRoleInput$inboundSchema = objectType({
39307
- uuid: stringType().optional(),
39308
- active: SecurityRoleActive$inboundSchema.default(1),
39309
39307
  name: stringType(),
39310
- role_description: stringType().optional()
39308
+ role_description: stringType().optional(),
39309
+ uuid: stringType().optional(),
39310
+ active: SecurityRoleActive$inboundSchema.default(1)
39311
39311
  }).transform((v2) => {
39312
39312
  return remap(v2, {
39313
39313
  role_description: "roleDescription"
39314
39314
  });
39315
39315
  });
39316
39316
  SecurityRoleInput$outboundSchema = objectType({
39317
- uuid: stringType().optional(),
39318
- active: SecurityRoleActive$outboundSchema.default(1),
39319
39317
  name: stringType(),
39320
- roleDescription: stringType().optional()
39318
+ roleDescription: stringType().optional(),
39319
+ uuid: stringType().optional(),
39320
+ active: SecurityRoleActive$outboundSchema.default(1)
39321
39321
  }).transform((v2) => {
39322
39322
  return remap(v2, {
39323
39323
  roleDescription: "role_description"
@@ -39347,7 +39347,7 @@ var init_smstemplate = __esm(() => {
39347
39347
  SmsTemplate$inboundSchema = objectType({
39348
39348
  uuid: stringType().optional(),
39349
39349
  active: SmsTemplateActive$inboundSchema.default(1),
39350
- edit_date: stringType().optional(),
39350
+ edit_date: anyType().optional(),
39351
39351
  name: stringType(),
39352
39352
  message: stringType().optional()
39353
39353
  }).transform((v2) => {
@@ -39358,7 +39358,7 @@ var init_smstemplate = __esm(() => {
39358
39358
  SmsTemplate$outboundSchema = objectType({
39359
39359
  uuid: stringType().optional(),
39360
39360
  active: SmsTemplateActive$outboundSchema.default(1),
39361
- editDate: stringType().optional(),
39361
+ editDate: anyType().optional(),
39362
39362
  name: stringType(),
39363
39363
  message: stringType().optional()
39364
39364
  }).transform((v2) => {
@@ -39389,34 +39389,31 @@ var init_smstemplate = __esm(() => {
39389
39389
  });
39390
39390
 
39391
39391
  // src/models/components/staff.ts
39392
- var StaffActive, HideFromSchedule, StaffActive$inboundSchema, StaffActive$outboundSchema, StaffActive$, HideFromSchedule$inboundSchema, HideFromSchedule$outboundSchema, HideFromSchedule$, Staff$inboundSchema, Staff$outboundSchema, Staff$, StaffInput$inboundSchema, StaffInput$outboundSchema, StaffInput$;
39392
+ var HideFromSchedule, StaffActive, HideFromSchedule$inboundSchema, HideFromSchedule$outboundSchema, HideFromSchedule$, StaffActive$inboundSchema, StaffActive$outboundSchema, StaffActive$, Staff$inboundSchema, Staff$outboundSchema, Staff$, StaffInput$inboundSchema, StaffInput$outboundSchema, StaffInput$;
39393
39393
  var init_staff = __esm(() => {
39394
39394
  init_lib();
39395
39395
  init_primitives();
39396
- StaffActive = {
39396
+ HideFromSchedule = {
39397
39397
  Zero: 0,
39398
39398
  One: 1
39399
39399
  };
39400
- HideFromSchedule = {
39400
+ StaffActive = {
39401
39401
  Zero: 0,
39402
39402
  One: 1
39403
39403
  };
39404
- StaffActive$inboundSchema = nativeEnumType(StaffActive);
39405
- StaffActive$outboundSchema = StaffActive$inboundSchema;
39406
- ((StaffActive$) => {
39407
- StaffActive$.inboundSchema = StaffActive$inboundSchema;
39408
- StaffActive$.outboundSchema = StaffActive$outboundSchema;
39409
- })(StaffActive$ ||= {});
39410
39404
  HideFromSchedule$inboundSchema = nativeEnumType(HideFromSchedule);
39411
39405
  HideFromSchedule$outboundSchema = HideFromSchedule$inboundSchema;
39412
39406
  ((HideFromSchedule$) => {
39413
39407
  HideFromSchedule$.inboundSchema = HideFromSchedule$inboundSchema;
39414
39408
  HideFromSchedule$.outboundSchema = HideFromSchedule$outboundSchema;
39415
39409
  })(HideFromSchedule$ ||= {});
39410
+ StaffActive$inboundSchema = nativeEnumType(StaffActive);
39411
+ StaffActive$outboundSchema = StaffActive$inboundSchema;
39412
+ ((StaffActive$) => {
39413
+ StaffActive$.inboundSchema = StaffActive$inboundSchema;
39414
+ StaffActive$.outboundSchema = StaffActive$outboundSchema;
39415
+ })(StaffActive$ ||= {});
39416
39416
  Staff$inboundSchema = objectType({
39417
- uuid: stringType().optional(),
39418
- active: StaffActive$inboundSchema.default(1),
39419
- edit_date: stringType().optional(),
39420
39417
  first: stringType(),
39421
39418
  last: stringType(),
39422
39419
  email: stringType(),
@@ -39429,15 +39426,17 @@ var init_staff = __esm(() => {
39429
39426
  navigating_timestamp: stringType().optional(),
39430
39427
  navigating_expiry_timestamp: stringType().optional(),
39431
39428
  color: stringType().optional(),
39432
- custom_icon_url: stringType().optional(),
39429
+ custom_icon_url: anyType().optional(),
39433
39430
  status_message: stringType().optional(),
39434
39431
  status_message_timestamp: stringType().optional(),
39435
- can_receive_push_notification: stringType().optional(),
39436
39432
  hide_from_schedule: HideFromSchedule$inboundSchema.optional(),
39437
- security_role_uuid: stringType().optional()
39433
+ security_role_uuid: stringType().optional(),
39434
+ uuid: stringType().optional(),
39435
+ active: StaffActive$inboundSchema.default(1),
39436
+ edit_date: anyType().optional(),
39437
+ can_receive_push_notification: stringType().optional()
39438
39438
  }).transform((v2) => {
39439
39439
  return remap(v2, {
39440
- edit_date: "editDate",
39441
39440
  geo_timestamp: "geoTimestamp",
39442
39441
  job_title: "jobTitle",
39443
39442
  navigating_to_job_uuid: "navigatingToJobUuid",
@@ -39446,15 +39445,13 @@ var init_staff = __esm(() => {
39446
39445
  custom_icon_url: "customIconUrl",
39447
39446
  status_message: "statusMessage",
39448
39447
  status_message_timestamp: "statusMessageTimestamp",
39449
- can_receive_push_notification: "canReceivePushNotification",
39450
39448
  hide_from_schedule: "hideFromSchedule",
39451
- security_role_uuid: "securityRoleUuid"
39449
+ security_role_uuid: "securityRoleUuid",
39450
+ edit_date: "editDate",
39451
+ can_receive_push_notification: "canReceivePushNotification"
39452
39452
  });
39453
39453
  });
39454
39454
  Staff$outboundSchema = objectType({
39455
- uuid: stringType().optional(),
39456
- active: StaffActive$outboundSchema.default(1),
39457
- editDate: stringType().optional(),
39458
39455
  first: stringType(),
39459
39456
  last: stringType(),
39460
39457
  email: stringType(),
@@ -39467,15 +39464,17 @@ var init_staff = __esm(() => {
39467
39464
  navigatingTimestamp: stringType().optional(),
39468
39465
  navigatingExpiryTimestamp: stringType().optional(),
39469
39466
  color: stringType().optional(),
39470
- customIconUrl: stringType().optional(),
39467
+ customIconUrl: anyType().optional(),
39471
39468
  statusMessage: stringType().optional(),
39472
39469
  statusMessageTimestamp: stringType().optional(),
39473
- canReceivePushNotification: stringType().optional(),
39474
39470
  hideFromSchedule: HideFromSchedule$outboundSchema.optional(),
39475
- securityRoleUuid: stringType().optional()
39471
+ securityRoleUuid: stringType().optional(),
39472
+ uuid: stringType().optional(),
39473
+ active: StaffActive$outboundSchema.default(1),
39474
+ editDate: anyType().optional(),
39475
+ canReceivePushNotification: stringType().optional()
39476
39476
  }).transform((v2) => {
39477
39477
  return remap(v2, {
39478
- editDate: "edit_date",
39479
39478
  geoTimestamp: "geo_timestamp",
39480
39479
  jobTitle: "job_title",
39481
39480
  navigatingToJobUuid: "navigating_to_job_uuid",
@@ -39484,9 +39483,10 @@ var init_staff = __esm(() => {
39484
39483
  customIconUrl: "custom_icon_url",
39485
39484
  statusMessage: "status_message",
39486
39485
  statusMessageTimestamp: "status_message_timestamp",
39487
- canReceivePushNotification: "can_receive_push_notification",
39488
39486
  hideFromSchedule: "hide_from_schedule",
39489
- securityRoleUuid: "security_role_uuid"
39487
+ securityRoleUuid: "security_role_uuid",
39488
+ editDate: "edit_date",
39489
+ canReceivePushNotification: "can_receive_push_notification"
39490
39490
  });
39491
39491
  });
39492
39492
  ((Staff$) => {
@@ -39494,8 +39494,6 @@ var init_staff = __esm(() => {
39494
39494
  Staff$.outboundSchema = Staff$outboundSchema;
39495
39495
  })(Staff$ ||= {});
39496
39496
  StaffInput$inboundSchema = objectType({
39497
- uuid: stringType().optional(),
39498
- active: StaffActive$inboundSchema.default(1),
39499
39497
  first: stringType(),
39500
39498
  last: stringType(),
39501
39499
  email: stringType(),
@@ -39508,12 +39506,14 @@ var init_staff = __esm(() => {
39508
39506
  navigating_timestamp: stringType().optional(),
39509
39507
  navigating_expiry_timestamp: stringType().optional(),
39510
39508
  color: stringType().optional(),
39511
- custom_icon_url: stringType().optional(),
39509
+ custom_icon_url: anyType().optional(),
39512
39510
  status_message: stringType().optional(),
39513
39511
  status_message_timestamp: stringType().optional(),
39514
- can_receive_push_notification: stringType().optional(),
39515
39512
  hide_from_schedule: HideFromSchedule$inboundSchema.optional(),
39516
- security_role_uuid: stringType().optional()
39513
+ security_role_uuid: stringType().optional(),
39514
+ uuid: stringType().optional(),
39515
+ active: StaffActive$inboundSchema.default(1),
39516
+ can_receive_push_notification: stringType().optional()
39517
39517
  }).transform((v2) => {
39518
39518
  return remap(v2, {
39519
39519
  geo_timestamp: "geoTimestamp",
@@ -39524,14 +39524,12 @@ var init_staff = __esm(() => {
39524
39524
  custom_icon_url: "customIconUrl",
39525
39525
  status_message: "statusMessage",
39526
39526
  status_message_timestamp: "statusMessageTimestamp",
39527
- can_receive_push_notification: "canReceivePushNotification",
39528
39527
  hide_from_schedule: "hideFromSchedule",
39529
- security_role_uuid: "securityRoleUuid"
39528
+ security_role_uuid: "securityRoleUuid",
39529
+ can_receive_push_notification: "canReceivePushNotification"
39530
39530
  });
39531
39531
  });
39532
39532
  StaffInput$outboundSchema = objectType({
39533
- uuid: stringType().optional(),
39534
- active: StaffActive$outboundSchema.default(1),
39535
39533
  first: stringType(),
39536
39534
  last: stringType(),
39537
39535
  email: stringType(),
@@ -39544,12 +39542,14 @@ var init_staff = __esm(() => {
39544
39542
  navigatingTimestamp: stringType().optional(),
39545
39543
  navigatingExpiryTimestamp: stringType().optional(),
39546
39544
  color: stringType().optional(),
39547
- customIconUrl: stringType().optional(),
39545
+ customIconUrl: anyType().optional(),
39548
39546
  statusMessage: stringType().optional(),
39549
39547
  statusMessageTimestamp: stringType().optional(),
39550
- canReceivePushNotification: stringType().optional(),
39551
39548
  hideFromSchedule: HideFromSchedule$outboundSchema.optional(),
39552
- securityRoleUuid: stringType().optional()
39549
+ securityRoleUuid: stringType().optional(),
39550
+ uuid: stringType().optional(),
39551
+ active: StaffActive$outboundSchema.default(1),
39552
+ canReceivePushNotification: stringType().optional()
39553
39553
  }).transform((v2) => {
39554
39554
  return remap(v2, {
39555
39555
  geoTimestamp: "geo_timestamp",
@@ -39560,9 +39560,9 @@ var init_staff = __esm(() => {
39560
39560
  customIconUrl: "custom_icon_url",
39561
39561
  statusMessage: "status_message",
39562
39562
  statusMessageTimestamp: "status_message_timestamp",
39563
- canReceivePushNotification: "can_receive_push_notification",
39564
39563
  hideFromSchedule: "hide_from_schedule",
39565
- securityRoleUuid: "security_role_uuid"
39564
+ securityRoleUuid: "security_role_uuid",
39565
+ canReceivePushNotification: "can_receive_push_notification"
39566
39566
  });
39567
39567
  });
39568
39568
  ((StaffInput$) => {
@@ -39589,7 +39589,7 @@ var init_staffmessage = __esm(() => {
39589
39589
  StaffMessage$inboundSchema = objectType({
39590
39590
  uuid: stringType().optional(),
39591
39591
  active: StaffMessageActive$inboundSchema.default(1),
39592
- edit_date: stringType().optional(),
39592
+ edit_date: anyType().optional(),
39593
39593
  from_staff_uuid: stringType().optional(),
39594
39594
  to_staff_uuid: stringType().optional(),
39595
39595
  sent_timestamp: stringType().optional(),
@@ -39613,7 +39613,7 @@ var init_staffmessage = __esm(() => {
39613
39613
  StaffMessage$outboundSchema = objectType({
39614
39614
  uuid: stringType().optional(),
39615
39615
  active: StaffMessageActive$outboundSchema.default(1),
39616
- editDate: stringType().optional(),
39616
+ editDate: anyType().optional(),
39617
39617
  fromStaffUuid: stringType().optional(),
39618
39618
  toStaffUuid: stringType().optional(),
39619
39619
  sentTimestamp: stringType().optional(),
@@ -39704,9 +39704,6 @@ var init_task = __esm(() => {
39704
39704
  TaskActive$.outboundSchema = TaskActive$outboundSchema;
39705
39705
  })(TaskActive$ ||= {});
39706
39706
  Task$inboundSchema = objectType({
39707
- uuid: stringType().optional(),
39708
- active: TaskActive$inboundSchema.default(1),
39709
- edit_date: stringType().optional(),
39710
39707
  due_date: stringType().optional(),
39711
39708
  task_details: stringType().optional(),
39712
39709
  name: stringType(),
@@ -39716,13 +39713,15 @@ var init_task = __esm(() => {
39716
39713
  completed_timestamp: stringType().optional(),
39717
39714
  completed_by_staff_uuid: stringType().optional(),
39718
39715
  assigned_to_staff_uuid: stringType().optional(),
39719
- lng: numberType().optional(),
39720
- lat: numberType().optional(),
39716
+ lng: anyType().optional(),
39717
+ lat: anyType().optional(),
39718
+ uuid: stringType().optional(),
39719
+ active: TaskActive$inboundSchema.default(1),
39720
+ edit_date: anyType().optional(),
39721
39721
  created_by_staff_uuid: stringType().optional(),
39722
- create_date: stringType().optional()
39722
+ create_date: anyType().optional()
39723
39723
  }).transform((v2) => {
39724
39724
  return remap(v2, {
39725
- edit_date: "editDate",
39726
39725
  due_date: "dueDate",
39727
39726
  task_details: "taskDetails",
39728
39727
  related_object: "relatedObject",
@@ -39731,14 +39730,12 @@ var init_task = __esm(() => {
39731
39730
  completed_timestamp: "completedTimestamp",
39732
39731
  completed_by_staff_uuid: "completedByStaffUuid",
39733
39732
  assigned_to_staff_uuid: "assignedToStaffUuid",
39733
+ edit_date: "editDate",
39734
39734
  created_by_staff_uuid: "createdByStaffUuid",
39735
39735
  create_date: "createDate"
39736
39736
  });
39737
39737
  });
39738
39738
  Task$outboundSchema = objectType({
39739
- uuid: stringType().optional(),
39740
- active: TaskActive$outboundSchema.default(1),
39741
- editDate: stringType().optional(),
39742
39739
  dueDate: stringType().optional(),
39743
39740
  taskDetails: stringType().optional(),
39744
39741
  name: stringType(),
@@ -39748,13 +39745,15 @@ var init_task = __esm(() => {
39748
39745
  completedTimestamp: stringType().optional(),
39749
39746
  completedByStaffUuid: stringType().optional(),
39750
39747
  assignedToStaffUuid: stringType().optional(),
39751
- lng: numberType().optional(),
39752
- lat: numberType().optional(),
39748
+ lng: anyType().optional(),
39749
+ lat: anyType().optional(),
39750
+ uuid: stringType().optional(),
39751
+ active: TaskActive$outboundSchema.default(1),
39752
+ editDate: anyType().optional(),
39753
39753
  createdByStaffUuid: stringType().optional(),
39754
- createDate: stringType().optional()
39754
+ createDate: anyType().optional()
39755
39755
  }).transform((v2) => {
39756
39756
  return remap(v2, {
39757
- editDate: "edit_date",
39758
39757
  dueDate: "due_date",
39759
39758
  taskDetails: "task_details",
39760
39759
  relatedObject: "related_object",
@@ -39763,6 +39762,7 @@ var init_task = __esm(() => {
39763
39762
  completedTimestamp: "completed_timestamp",
39764
39763
  completedByStaffUuid: "completed_by_staff_uuid",
39765
39764
  assignedToStaffUuid: "assigned_to_staff_uuid",
39765
+ editDate: "edit_date",
39766
39766
  createdByStaffUuid: "created_by_staff_uuid",
39767
39767
  createDate: "create_date"
39768
39768
  });
@@ -39772,8 +39772,6 @@ var init_task = __esm(() => {
39772
39772
  Task$.outboundSchema = Task$outboundSchema;
39773
39773
  })(Task$ ||= {});
39774
39774
  TaskInput$inboundSchema = objectType({
39775
- uuid: stringType().optional(),
39776
- active: TaskActive$inboundSchema.default(1),
39777
39775
  due_date: stringType().optional(),
39778
39776
  task_details: stringType().optional(),
39779
39777
  name: stringType(),
@@ -39783,10 +39781,12 @@ var init_task = __esm(() => {
39783
39781
  completed_timestamp: stringType().optional(),
39784
39782
  completed_by_staff_uuid: stringType().optional(),
39785
39783
  assigned_to_staff_uuid: stringType().optional(),
39786
- lng: numberType().optional(),
39787
- lat: numberType().optional(),
39784
+ lng: anyType().optional(),
39785
+ lat: anyType().optional(),
39786
+ uuid: stringType().optional(),
39787
+ active: TaskActive$inboundSchema.default(1),
39788
39788
  created_by_staff_uuid: stringType().optional(),
39789
- create_date: stringType().optional()
39789
+ create_date: anyType().optional()
39790
39790
  }).transform((v2) => {
39791
39791
  return remap(v2, {
39792
39792
  due_date: "dueDate",
@@ -39802,8 +39802,6 @@ var init_task = __esm(() => {
39802
39802
  });
39803
39803
  });
39804
39804
  TaskInput$outboundSchema = objectType({
39805
- uuid: stringType().optional(),
39806
- active: TaskActive$outboundSchema.default(1),
39807
39805
  dueDate: stringType().optional(),
39808
39806
  taskDetails: stringType().optional(),
39809
39807
  name: stringType(),
@@ -39813,10 +39811,12 @@ var init_task = __esm(() => {
39813
39811
  completedTimestamp: stringType().optional(),
39814
39812
  completedByStaffUuid: stringType().optional(),
39815
39813
  assignedToStaffUuid: stringType().optional(),
39816
- lng: numberType().optional(),
39817
- lat: numberType().optional(),
39814
+ lng: anyType().optional(),
39815
+ lat: anyType().optional(),
39816
+ uuid: stringType().optional(),
39817
+ active: TaskActive$outboundSchema.default(1),
39818
39818
  createdByStaffUuid: stringType().optional(),
39819
- createDate: stringType().optional()
39819
+ createDate: anyType().optional()
39820
39820
  }).transform((v2) => {
39821
39821
  return remap(v2, {
39822
39822
  dueDate: "due_date",
@@ -39865,7 +39865,7 @@ var init_taxrate = __esm(() => {
39865
39865
  TaxRate$inboundSchema = objectType({
39866
39866
  uuid: stringType().optional(),
39867
39867
  active: TaxRateActive$inboundSchema.default(1),
39868
- edit_date: stringType().optional(),
39868
+ edit_date: anyType().optional(),
39869
39869
  name: stringType(),
39870
39870
  amount: stringType().optional(),
39871
39871
  is_default_tax_rate: IsDefaultTaxRate$inboundSchema.optional()
@@ -39878,7 +39878,7 @@ var init_taxrate = __esm(() => {
39878
39878
  TaxRate$outboundSchema = objectType({
39879
39879
  uuid: stringType().optional(),
39880
39880
  active: TaxRateActive$outboundSchema.default(1),
39881
- editDate: stringType().optional(),
39881
+ editDate: anyType().optional(),
39882
39882
  name: stringType(),
39883
39883
  amount: stringType().optional(),
39884
39884
  isDefaultTaxRate: IsDefaultTaxRate$outboundSchema.optional()
@@ -39938,7 +39938,7 @@ var init_vendor = __esm(() => {
39938
39938
  Vendor$inboundSchema = objectType({
39939
39939
  uuid: stringType().optional(),
39940
39940
  active: VendorActive$inboundSchema.default(1),
39941
- edit_date: stringType().optional(),
39941
+ edit_date: anyType().optional(),
39942
39942
  name: stringType(),
39943
39943
  abn_number: stringType().optional(),
39944
39944
  business_number: stringType().optional(),
@@ -39997,7 +39997,7 @@ var init_vendor = __esm(() => {
39997
39997
  Vendor$outboundSchema = objectType({
39998
39998
  uuid: stringType().optional(),
39999
39999
  active: VendorActive$outboundSchema.default(1),
40000
- editDate: stringType().optional(),
40000
+ editDate: anyType().optional(),
40001
40001
  name: stringType(),
40002
40002
  abnNumber: stringType().optional(),
40003
40003
  businessNumber: stringType().optional(),
@@ -45866,7 +45866,7 @@ var init_allocationWindowsCreateAllocationWindows2 = __esm(() => {
45866
45866
 
45867
45867
 
45868
45868
  #### Record UUID
45869
- 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 response header as x-record-uuid.
45869
+ 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.
45870
45870
 
45871
45871
  `,
45872
45872
  args,
@@ -45984,7 +45984,7 @@ var init_allocationWindowsDeleteAllocationWindows2 = __esm(() => {
45984
45984
 
45985
45985
 
45986
45986
 
45987
- In ServiceM8, records are never deleted, but are archived. Archived records will remain accessible via the API as (active = 0), however will no longer be visible in UI. Archived records can be restored to active by setting the record active field to 1.
45987
+ 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\`.
45988
45988
 
45989
45989
  `,
45990
45990
  args: args2,
@@ -46425,7 +46425,7 @@ var init_assetsDeleteAssets2 = __esm(() => {
46425
46425
 
46426
46426
 
46427
46427
 
46428
- In ServiceM8, records are never deleted, but are archived. Archived records will remain accessible via the API as (active = 0), however will no longer be visible in UI. Archived records can be restored to active by setting the record active field to 1.
46428
+ 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\`.
46429
46429
 
46430
46430
  `,
46431
46431
  args: args5,
@@ -46885,7 +46885,7 @@ This endpoint requires the following OAuth scope **manage_assets**.
46885
46885
 
46886
46886
 
46887
46887
  #### Record UUID
46888
- 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 response header as x-record-uuid.
46888
+ 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.
46889
46889
 
46890
46890
  `,
46891
46891
  args: args8,
@@ -47003,7 +47003,7 @@ var init_assetTypeFieldsDeleteAssetTypeFields2 = __esm(() => {
47003
47003
 
47004
47004
 
47005
47005
 
47006
- In ServiceM8, records are never deleted, but are archived. Archived records will remain accessible via the API as (active = 0), however will no longer be visible in UI. Archived records can be restored to active by setting the record active field to 1.
47006
+ 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\`.
47007
47007
 
47008
47008
  `,
47009
47009
  args: args9,
@@ -47463,7 +47463,7 @@ This endpoint requires the following OAuth scope **manage_assets**.
47463
47463
 
47464
47464
 
47465
47465
  #### Record UUID
47466
- 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 response header as x-record-uuid.
47466
+ 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.
47467
47467
 
47468
47468
  `,
47469
47469
  args: args12,
@@ -47581,7 +47581,7 @@ var init_assetTypesDeleteAssetTypes2 = __esm(() => {
47581
47581
 
47582
47582
 
47583
47583
 
47584
- In ServiceM8, records are never deleted, but are archived. Archived records will remain accessible via the API as (active = 0), however will no longer be visible in UI. Archived records can be restored to active by setting the record active field to 1.
47584
+ 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\`.
47585
47585
 
47586
47586
  `,
47587
47587
  args: args13,
@@ -48036,7 +48036,7 @@ var init_attachmentsCreateAttachments2 = __esm(() => {
48036
48036
 
48037
48037
 
48038
48038
  #### Record UUID
48039
- 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 response header as x-record-uuid.
48039
+ 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.
48040
48040
 
48041
48041
  `,
48042
48042
  args: args16,
@@ -48154,7 +48154,7 @@ var init_attachmentsDeleteAttachments2 = __esm(() => {
48154
48154
 
48155
48155
 
48156
48156
 
48157
- In ServiceM8, records are never deleted, but are archived. Archived records will remain accessible via the API as (active = 0), however will no longer be visible in UI. Archived records can be restored to active by setting the record active field to 1.
48157
+ 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\`.
48158
48158
 
48159
48159
  `,
48160
48160
  args: args17,
@@ -48602,7 +48602,7 @@ This endpoint requires the following OAuth scope **manage_badges**.
48602
48602
 
48603
48603
 
48604
48604
  #### Record UUID
48605
- 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 response header as x-record-uuid.
48605
+ 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.
48606
48606
 
48607
48607
  `,
48608
48608
  args: args20,
@@ -48720,7 +48720,7 @@ var init_badgesDeleteBadges2 = __esm(() => {
48720
48720
 
48721
48721
 
48722
48722
 
48723
- In ServiceM8, records are never deleted, but are archived. Archived records will remain accessible via the API as (active = 0), however will no longer be visible in UI. Archived records can be restored to active by setting the record active field to 1.
48723
+ 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\`.
48724
48724
 
48725
48725
  `,
48726
48726
  args: args21,
@@ -49175,7 +49175,7 @@ var init_bundlesCreateBundles2 = __esm(() => {
49175
49175
 
49176
49176
 
49177
49177
  #### Record UUID
49178
- 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 response header as x-record-uuid.
49178
+ 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.
49179
49179
 
49180
49180
  `,
49181
49181
  args: args24,
@@ -49293,7 +49293,7 @@ var init_bundlesDeleteBundles2 = __esm(() => {
49293
49293
 
49294
49294
 
49295
49295
 
49296
- In ServiceM8, records are never deleted, but are archived. Archived records will remain accessible via the API as (active = 0), however will no longer be visible in UI. Archived records can be restored to active by setting the record active field to 1.
49296
+ 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\`.
49297
49297
 
49298
49298
  `,
49299
49299
  args: args25,
@@ -49741,7 +49741,7 @@ This endpoint requires the following OAuth scope **manage_job_categories**.
49741
49741
 
49742
49742
 
49743
49743
  #### Record UUID
49744
- 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 response header as x-record-uuid.
49744
+ 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.
49745
49745
 
49746
49746
  `,
49747
49747
  args: args28,
@@ -49859,7 +49859,7 @@ var init_categoriesDeleteCategories2 = __esm(() => {
49859
49859
 
49860
49860
 
49861
49861
 
49862
- In ServiceM8, records are never deleted, but are archived. Archived records will remain accessible via the API as (active = 0), however will no longer be visible in UI. Archived records can be restored to active by setting the record active field to 1.
49862
+ 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\`.
49863
49863
 
49864
49864
 
49865
49865
 
@@ -50331,7 +50331,7 @@ This endpoint requires the following OAuth scope **manage_customers**.
50331
50331
 
50332
50332
 
50333
50333
  #### Record UUID
50334
- 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 response header as x-record-uuid.
50334
+ 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.
50335
50335
 
50336
50336
  `,
50337
50337
  args: args32,
@@ -50449,7 +50449,7 @@ var init_clientsDeleteClients2 = __esm(() => {
50449
50449
 
50450
50450
 
50451
50451
 
50452
- In ServiceM8, records are never deleted, but are archived. Archived records will remain accessible via the API as (active = 0), however will no longer be visible in UI. Archived records can be restored to active by setting the record active field to 1.
50452
+ 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\`.
50453
50453
 
50454
50454
 
50455
50455
 
@@ -50921,7 +50921,7 @@ This endpoint requires the following OAuth scope **manage_customer_contacts**.
50921
50921
 
50922
50922
 
50923
50923
  #### Record UUID
50924
- 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 response header as x-record-uuid.
50924
+ 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.
50925
50925
 
50926
50926
  `,
50927
50927
  args: args36,
@@ -51039,7 +51039,7 @@ var init_companyContactsDeleteCompanyContacts2 = __esm(() => {
51039
51039
 
51040
51040
 
51041
51041
 
51042
- In ServiceM8, records are never deleted, but are archived. Archived records will remain accessible via the API as (active = 0), however will no longer be visible in UI. Archived records can be restored to active by setting the record active field to 1.
51042
+ 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\`.
51043
51043
 
51044
51044
 
51045
51045
 
@@ -51506,7 +51506,7 @@ var init_emailTemplatesCreateEmailTemplates2 = __esm(() => {
51506
51506
 
51507
51507
 
51508
51508
  #### Record UUID
51509
- 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 response header as x-record-uuid.
51509
+ 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.
51510
51510
 
51511
51511
  `,
51512
51512
  args: args40,
@@ -51624,7 +51624,7 @@ var init_emailTemplatesDeleteEmailTemplates2 = __esm(() => {
51624
51624
 
51625
51625
 
51626
51626
 
51627
- In ServiceM8, records are never deleted, but are archived. Archived records will remain accessible via the API as (active = 0), however will no longer be visible in UI. Archived records can be restored to active by setting the record active field to 1.
51627
+ 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\`.
51628
51628
 
51629
51629
  `,
51630
51630
  args: args41,
@@ -52067,7 +52067,7 @@ var init_feedbackCreateFeedback2 = __esm(() => {
52067
52067
 
52068
52068
 
52069
52069
  #### Record UUID
52070
- 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 response header as x-record-uuid.
52070
+ 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.
52071
52071
 
52072
52072
  `,
52073
52073
  args: args44,
@@ -52185,7 +52185,7 @@ var init_feedbackDeleteFeedback2 = __esm(() => {
52185
52185
 
52186
52186
 
52187
52187
 
52188
- In ServiceM8, records are never deleted, but are archived. Archived records will remain accessible via the API as (active = 0), however will no longer be visible in UI. Archived records can be restored to active by setting the record active field to 1.
52188
+ 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\`.
52189
52189
 
52190
52190
  `,
52191
52191
  args: args45,
@@ -52628,7 +52628,7 @@ var init_formFieldsCreateFormFields2 = __esm(() => {
52628
52628
 
52629
52629
 
52630
52630
  #### Record UUID
52631
- 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 response header as x-record-uuid.
52631
+ 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.
52632
52632
 
52633
52633
  `,
52634
52634
  args: args48,
@@ -52746,7 +52746,7 @@ var init_formFieldsDeleteFormFields2 = __esm(() => {
52746
52746
 
52747
52747
 
52748
52748
 
52749
- In ServiceM8, records are never deleted, but are archived. Archived records will remain accessible via the API as (active = 0), however will no longer be visible in UI. Archived records can be restored to active by setting the record active field to 1.
52749
+ 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\`.
52750
52750
 
52751
52751
  `,
52752
52752
  args: args49,
@@ -53189,7 +53189,7 @@ var init_formResponsesCreateFormResponses2 = __esm(() => {
53189
53189
 
53190
53190
 
53191
53191
  #### Record UUID
53192
- 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 response header as x-record-uuid.
53192
+ 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.
53193
53193
 
53194
53194
  `,
53195
53195
  args: args52,
@@ -53307,7 +53307,7 @@ var init_formResponsesDeleteFormResponses2 = __esm(() => {
53307
53307
 
53308
53308
 
53309
53309
 
53310
- In ServiceM8, records are never deleted, but are archived. Archived records will remain accessible via the API as (active = 0), however will no longer be visible in UI. Archived records can be restored to active by setting the record active field to 1.
53310
+ 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\`.
53311
53311
 
53312
53312
  `,
53313
53313
  args: args53,
@@ -53750,7 +53750,7 @@ var init_formsCreateForms2 = __esm(() => {
53750
53750
 
53751
53751
 
53752
53752
  #### Record UUID
53753
- 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 response header as x-record-uuid.
53753
+ 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.
53754
53754
 
53755
53755
  `,
53756
53756
  args: args56,
@@ -53868,7 +53868,7 @@ var init_formsDeleteForms2 = __esm(() => {
53868
53868
 
53869
53869
 
53870
53870
 
53871
- In ServiceM8, records are never deleted, but are archived. Archived records will remain accessible via the API as (active = 0), however will no longer be visible in UI. Archived records can be restored to active by setting the record active field to 1.
53871
+ 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\`.
53872
53872
 
53873
53873
  `,
53874
53874
  args: args57,
@@ -54316,7 +54316,7 @@ This endpoint requires the following OAuth scope **manage_schedule**.
54316
54316
 
54317
54317
 
54318
54318
  #### Record UUID
54319
- 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 response header as x-record-uuid.
54319
+ 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.
54320
54320
 
54321
54321
  `,
54322
54322
  args: args60,
@@ -54434,7 +54434,7 @@ var init_jobActivitiesDeleteJobActivities2 = __esm(() => {
54434
54434
 
54435
54435
 
54436
54436
 
54437
- In ServiceM8, records are never deleted, but are archived. Archived records will remain accessible via the API as (active = 0), however will no longer be visible in UI. Archived records can be restored to active by setting the record active field to 1.
54437
+ 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\`.
54438
54438
 
54439
54439
 
54440
54440
 
@@ -54906,7 +54906,7 @@ This endpoint requires the following OAuth scope **manage_schedule**.
54906
54906
 
54907
54907
 
54908
54908
  #### Record UUID
54909
- 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 response header as x-record-uuid.
54909
+ 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.
54910
54910
 
54911
54911
  `,
54912
54912
  args: args64,
@@ -55024,7 +55024,7 @@ var init_jobAllocationsDeleteJobAllocations2 = __esm(() => {
55024
55024
 
55025
55025
 
55026
55026
 
55027
- In ServiceM8, records are never deleted, but are archived. Archived records will remain accessible via the API as (active = 0), however will no longer be visible in UI. Archived records can be restored to active by setting the record active field to 1.
55027
+ 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\`.
55028
55028
 
55029
55029
  `,
55030
55030
  args: args65,
@@ -55479,7 +55479,7 @@ var init_jobChecklistsCreateJobChecklists2 = __esm(() => {
55479
55479
 
55480
55480
 
55481
55481
  #### Record UUID
55482
- 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 response header as x-record-uuid.
55482
+ 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.
55483
55483
 
55484
55484
  `,
55485
55485
  args: args68,
@@ -55597,7 +55597,7 @@ var init_jobChecklistsDeleteJobChecklists2 = __esm(() => {
55597
55597
 
55598
55598
 
55599
55599
 
55600
- In ServiceM8, records are never deleted, but are archived. Archived records will remain accessible via the API as (active = 0), however will no longer be visible in UI. Archived records can be restored to active by setting the record active field to 1.
55600
+ 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\`.
55601
55601
 
55602
55602
  `,
55603
55603
  args: args69,
@@ -56045,7 +56045,7 @@ This endpoint requires the following OAuth scope **manage_job_contacts**.
56045
56045
 
56046
56046
 
56047
56047
  #### Record UUID
56048
- 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 response header as x-record-uuid.
56048
+ 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.
56049
56049
 
56050
56050
  `,
56051
56051
  args: args72,
@@ -56163,7 +56163,7 @@ var init_jobContactsDeleteJobContacts2 = __esm(() => {
56163
56163
 
56164
56164
 
56165
56165
 
56166
- In ServiceM8, records are never deleted, but are archived. Archived records will remain accessible via the API as (active = 0), however will no longer be visible in UI. Archived records can be restored to active by setting the record active field to 1.
56166
+ 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\`.
56167
56167
 
56168
56168
 
56169
56169
 
@@ -56628,7 +56628,7 @@ var init_jobMaterialBundlesCreateJobMaterialBundles2 = __esm(() => {
56628
56628
 
56629
56629
 
56630
56630
  #### Record UUID
56631
- 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 response header as x-record-uuid.
56631
+ 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.
56632
56632
 
56633
56633
  `,
56634
56634
  args: args76,
@@ -56746,7 +56746,7 @@ var init_jobMaterialBundlesDeleteJobMaterialBundles2 = __esm(() => {
56746
56746
 
56747
56747
 
56748
56748
 
56749
- In ServiceM8, records are never deleted, but are archived. Archived records will remain accessible via the API as (active = 0), however will no longer be visible in UI. Archived records can be restored to active by setting the record active field to 1.
56749
+ 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\`.
56750
56750
 
56751
56751
  `,
56752
56752
  args: args77,
@@ -57194,7 +57194,7 @@ This endpoint requires the following OAuth scope **manage_job_materials**.
57194
57194
 
57195
57195
 
57196
57196
  #### Record UUID
57197
- 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 response header as x-record-uuid.
57197
+ 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.
57198
57198
 
57199
57199
  `,
57200
57200
  args: args80,
@@ -57312,7 +57312,7 @@ var init_jobMaterialsDeleteJobMaterials2 = __esm(() => {
57312
57312
 
57313
57313
 
57314
57314
 
57315
- In ServiceM8, records are never deleted, but are archived. Archived records will remain accessible via the API as (active = 0), however will no longer be visible in UI. Archived records can be restored to active by setting the record active field to 1.
57315
+ 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\`.
57316
57316
 
57317
57317
 
57318
57318
 
@@ -57779,7 +57779,7 @@ var init_jobPaymentsCreateJobPayments2 = __esm(() => {
57779
57779
 
57780
57780
 
57781
57781
  #### Record UUID
57782
- 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 response header as x-record-uuid.
57782
+ 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.
57783
57783
 
57784
57784
  `,
57785
57785
  args: args84,
@@ -57897,7 +57897,7 @@ var init_jobPaymentsDeleteJobPayments2 = __esm(() => {
57897
57897
 
57898
57898
 
57899
57899
 
57900
- In ServiceM8, records are never deleted, but are archived. Archived records will remain accessible via the API as (active = 0), however will no longer be visible in UI. Archived records can be restored to active by setting the record active field to 1.
57900
+ 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\`.
57901
57901
 
57902
57902
  `,
57903
57903
  args: args85,
@@ -58345,7 +58345,7 @@ This endpoint requires the following OAuth scope **manage_job_queues**.
58345
58345
 
58346
58346
 
58347
58347
  #### Record UUID
58348
- 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 response header as x-record-uuid.
58348
+ 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.
58349
58349
 
58350
58350
  `,
58351
58351
  args: args88,
@@ -58463,7 +58463,7 @@ var init_jobQueuesDeleteJobQueues2 = __esm(() => {
58463
58463
 
58464
58464
 
58465
58465
 
58466
- In ServiceM8, records are never deleted, but are archived. Archived records will remain accessible via the API as (active = 0), however will no longer be visible in UI. Archived records can be restored to active by setting the record active field to 1.
58466
+ 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\`.
58467
58467
 
58468
58468
 
58469
58469
 
@@ -58935,7 +58935,7 @@ This endpoint requires the following OAuth scope **create_jobs**.
58935
58935
 
58936
58936
 
58937
58937
  #### Record UUID
58938
- 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 response header as x-record-uuid.
58938
+ 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.
58939
58939
 
58940
58940
  `,
58941
58941
  args: args92,
@@ -59053,7 +59053,7 @@ var init_jobsDeleteJobs2 = __esm(() => {
59053
59053
 
59054
59054
 
59055
59055
 
59056
- In ServiceM8, records are never deleted, but are archived. Archived records will remain accessible via the API as (active = 0), however will no longer be visible in UI. Archived records can be restored to active by setting the record active field to 1.
59056
+ 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\`.
59057
59057
 
59058
59058
 
59059
59059
 
@@ -59523,7 +59523,7 @@ This endpoint requires the following OAuth scope **manage_knowledge**.
59523
59523
 
59524
59524
 
59525
59525
  #### Record UUID
59526
- 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 response header as x-record-uuid.
59526
+ 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.
59527
59527
 
59528
59528
  `,
59529
59529
  args: args96,
@@ -59641,7 +59641,7 @@ var init_knowledgeArticlesDeleteKnowledgeArticles2 = __esm(() => {
59641
59641
 
59642
59642
 
59643
59643
 
59644
- In ServiceM8, records are never deleted, but are archived. Archived records will remain accessible via the API as (active = 0), however will no longer be visible in UI. Archived records can be restored to active by setting the record active field to 1.
59644
+ 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\`.
59645
59645
 
59646
59646
  `,
59647
59647
  args: args97,
@@ -60101,7 +60101,7 @@ This endpoint requires the following OAuth scope **manage_locations**.
60101
60101
 
60102
60102
 
60103
60103
  #### Record UUID
60104
- 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 response header as x-record-uuid.
60104
+ 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.
60105
60105
 
60106
60106
  `,
60107
60107
  args: args100,
@@ -60219,7 +60219,7 @@ var init_locationsDeleteLocations2 = __esm(() => {
60219
60219
 
60220
60220
 
60221
60221
 
60222
- In ServiceM8, records are never deleted, but are archived. Archived records will remain accessible via the API as (active = 0), however will no longer be visible in UI. Archived records can be restored to active by setting the record active field to 1.
60222
+ 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\`.
60223
60223
 
60224
60224
 
60225
60225
 
@@ -60691,7 +60691,7 @@ This endpoint requires the following OAuth scope **manage_inventory**.
60691
60691
 
60692
60692
 
60693
60693
  #### Record UUID
60694
- 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 response header as x-record-uuid.
60694
+ 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.
60695
60695
 
60696
60696
  `,
60697
60697
  args: args104,
@@ -60809,7 +60809,7 @@ var init_materialsDeleteMaterials2 = __esm(() => {
60809
60809
 
60810
60810
 
60811
60811
 
60812
- In ServiceM8, records are never deleted, but are archived. Archived records will remain accessible via the API as (active = 0), however will no longer be visible in UI. Archived records can be restored to active by setting the record active field to 1.
60812
+ 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\`.
60813
60813
 
60814
60814
 
60815
60815
 
@@ -61276,7 +61276,7 @@ var init_notesCreateNotes2 = __esm(() => {
61276
61276
 
61277
61277
 
61278
61278
  #### Record UUID
61279
- 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 response header as x-record-uuid.
61279
+ 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.
61280
61280
 
61281
61281
  `,
61282
61282
  args: args108,
@@ -61394,7 +61394,7 @@ var init_notesDeleteNotes2 = __esm(() => {
61394
61394
 
61395
61395
 
61396
61396
 
61397
- In ServiceM8, records are never deleted, but are archived. Archived records will remain accessible via the API as (active = 0), however will no longer be visible in UI. Archived records can be restored to active by setting the record active field to 1.
61397
+ 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\`.
61398
61398
 
61399
61399
  `,
61400
61400
  args: args109,
@@ -61837,7 +61837,7 @@ var init_securityRolesCreateSecurityRoles2 = __esm(() => {
61837
61837
 
61838
61838
 
61839
61839
  #### Record UUID
61840
- 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 response header as x-record-uuid.
61840
+ 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.
61841
61841
 
61842
61842
  `,
61843
61843
  args: args112,
@@ -61955,7 +61955,7 @@ var init_securityRolesDeleteSecurityRoles2 = __esm(() => {
61955
61955
 
61956
61956
 
61957
61957
 
61958
- In ServiceM8, records are never deleted, but are archived. Archived records will remain accessible via the API as (active = 0), however will no longer be visible in UI. Archived records can be restored to active by setting the record active field to 1.
61958
+ 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\`.
61959
61959
 
61960
61960
  `,
61961
61961
  args: args113,
@@ -62398,7 +62398,7 @@ var init_smsTemplatesCreateSMSTemplates2 = __esm(() => {
62398
62398
 
62399
62399
 
62400
62400
  #### Record UUID
62401
- 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 response header as x-record-uuid.
62401
+ 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.
62402
62402
 
62403
62403
  `,
62404
62404
  args: args116,
@@ -62516,7 +62516,7 @@ var init_smsTemplatesDeleteSMSTemplates2 = __esm(() => {
62516
62516
 
62517
62517
 
62518
62518
 
62519
- In ServiceM8, records are never deleted, but are archived. Archived records will remain accessible via the API as (active = 0), however will no longer be visible in UI. Archived records can be restored to active by setting the record active field to 1.
62519
+ 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\`.
62520
62520
 
62521
62521
  `,
62522
62522
  args: args117,
@@ -62964,7 +62964,7 @@ This endpoint requires the following OAuth scope **manage_staff**.
62964
62964
 
62965
62965
 
62966
62966
  #### Record UUID
62967
- 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 response header as x-record-uuid.
62967
+ 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.
62968
62968
 
62969
62969
  `,
62970
62970
  args: args120,
@@ -63082,7 +63082,7 @@ var init_staffMembersDeleteStaffMembers2 = __esm(() => {
63082
63082
 
63083
63083
 
63084
63084
 
63085
- In ServiceM8, records are never deleted, but are archived. Archived records will remain accessible via the API as (active = 0), however will no longer be visible in UI. Archived records can be restored to active by setting the record active field to 1.
63085
+ 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\`.
63086
63086
 
63087
63087
 
63088
63088
 
@@ -63549,7 +63549,7 @@ var init_staffMessagesCreateStaffMessages2 = __esm(() => {
63549
63549
 
63550
63550
 
63551
63551
  #### Record UUID
63552
- 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 response header as x-record-uuid.
63552
+ 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.
63553
63553
 
63554
63554
  `,
63555
63555
  args: args124,
@@ -63667,7 +63667,7 @@ var init_staffMessagesDeleteStaffMessages2 = __esm(() => {
63667
63667
 
63668
63668
 
63669
63669
 
63670
- In ServiceM8, records are never deleted, but are archived. Archived records will remain accessible via the API as (active = 0), however will no longer be visible in UI. Archived records can be restored to active by setting the record active field to 1.
63670
+ 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\`.
63671
63671
 
63672
63672
  `,
63673
63673
  args: args125,
@@ -64115,7 +64115,7 @@ This endpoint requires the following OAuth scope **manage_tasks**.
64115
64115
 
64116
64116
 
64117
64117
  #### Record UUID
64118
- 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 response header as x-record-uuid.
64118
+ 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.
64119
64119
 
64120
64120
  `,
64121
64121
  args: args128,
@@ -64233,7 +64233,7 @@ var init_tasksDeleteTasks2 = __esm(() => {
64233
64233
 
64234
64234
 
64235
64235
 
64236
- In ServiceM8, records are never deleted, but are archived. Archived records will remain accessible via the API as (active = 0), however will no longer be visible in UI. Archived records can be restored to active by setting the record active field to 1.
64236
+ 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\`.
64237
64237
 
64238
64238
 
64239
64239
 
@@ -64700,7 +64700,7 @@ var init_taxRatesCreateTaxRates2 = __esm(() => {
64700
64700
 
64701
64701
 
64702
64702
  #### Record UUID
64703
- 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 response header as x-record-uuid.
64703
+ 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.
64704
64704
 
64705
64705
  `,
64706
64706
  args: args132,
@@ -64818,7 +64818,7 @@ var init_taxRatesDeleteTaxRates2 = __esm(() => {
64818
64818
 
64819
64819
 
64820
64820
 
64821
- In ServiceM8, records are never deleted, but are archived. Archived records will remain accessible via the API as (active = 0), however will no longer be visible in UI. Archived records can be restored to active by setting the record active field to 1.
64821
+ 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\`.
64822
64822
 
64823
64823
  `,
64824
64824
  args: args133,
@@ -65506,7 +65506,7 @@ Vendor account information
65506
65506
  function createMCPServer(deps) {
65507
65507
  const server = new McpServer({
65508
65508
  name: "ServiceM8",
65509
- version: "0.3.16"
65509
+ version: "0.3.17"
65510
65510
  });
65511
65511
  const client = new ServiceM8Core({
65512
65512
  security: deps.security,
@@ -67069,7 +67069,7 @@ var routes = an({
67069
67069
  var app = He(routes, {
67070
67070
  name: "mcp",
67071
67071
  versionInfo: {
67072
- currentVersion: "0.3.16"
67072
+ currentVersion: "0.3.17"
67073
67073
  }
67074
67074
  });
67075
67075
  zt(app, process3.argv.slice(2), buildContext(process3));
@@ -67077,5 +67077,5 @@ export {
67077
67077
  app
67078
67078
  };
67079
67079
 
67080
- //# debugId=973C4A88DDC6543664756E2164756E21
67080
+ //# debugId=0EBA5319CF6F9EDE64756E2164756E21
67081
67081
  //# sourceMappingURL=mcp-server.js.map