@keystrokehq/repairshopr 0.1.0

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 (1210) hide show
  1. package/README.md +17 -0
  2. package/dist/action.cjs +21 -0
  3. package/dist/action.cjs.map +1 -0
  4. package/dist/action.mjs +21 -0
  5. package/dist/action.mjs.map +1 -0
  6. package/dist/actions/add-estimate-line-item.cjs +51 -0
  7. package/dist/actions/add-estimate-line-item.cjs.map +1 -0
  8. package/dist/actions/add-estimate-line-item.d.cts +9 -0
  9. package/dist/actions/add-estimate-line-item.d.cts.map +1 -0
  10. package/dist/actions/add-estimate-line-item.d.mts +9 -0
  11. package/dist/actions/add-estimate-line-item.d.mts.map +1 -0
  12. package/dist/actions/add-estimate-line-item.mjs +50 -0
  13. package/dist/actions/add-estimate-line-item.mjs.map +1 -0
  14. package/dist/actions/add-purchase-order-line-item.cjs +29 -0
  15. package/dist/actions/add-purchase-order-line-item.cjs.map +1 -0
  16. package/dist/actions/add-purchase-order-line-item.d.cts +9 -0
  17. package/dist/actions/add-purchase-order-line-item.d.cts.map +1 -0
  18. package/dist/actions/add-purchase-order-line-item.d.mts +9 -0
  19. package/dist/actions/add-purchase-order-line-item.d.mts.map +1 -0
  20. package/dist/actions/add-purchase-order-line-item.mjs +26 -0
  21. package/dist/actions/add-purchase-order-line-item.mjs.map +1 -0
  22. package/dist/actions/add-schedule-line-item.cjs +59 -0
  23. package/dist/actions/add-schedule-line-item.cjs.map +1 -0
  24. package/dist/actions/add-schedule-line-item.d.cts +9 -0
  25. package/dist/actions/add-schedule-line-item.d.cts.map +1 -0
  26. package/dist/actions/add-schedule-line-item.d.mts +9 -0
  27. package/dist/actions/add-schedule-line-item.d.mts.map +1 -0
  28. package/dist/actions/add-schedule-line-item.mjs +56 -0
  29. package/dist/actions/add-schedule-line-item.mjs.map +1 -0
  30. package/dist/actions/add-ticket-comment.cjs +34 -0
  31. package/dist/actions/add-ticket-comment.cjs.map +1 -0
  32. package/dist/actions/add-ticket-comment.d.cts +9 -0
  33. package/dist/actions/add-ticket-comment.d.cts.map +1 -0
  34. package/dist/actions/add-ticket-comment.d.mts +9 -0
  35. package/dist/actions/add-ticket-comment.d.mts.map +1 -0
  36. package/dist/actions/add-ticket-comment.mjs +31 -0
  37. package/dist/actions/add-ticket-comment.mjs.map +1 -0
  38. package/dist/actions/add-ticket-line-item.cjs +40 -0
  39. package/dist/actions/add-ticket-line-item.cjs.map +1 -0
  40. package/dist/actions/add-ticket-line-item.d.cts +9 -0
  41. package/dist/actions/add-ticket-line-item.d.cts.map +1 -0
  42. package/dist/actions/add-ticket-line-item.d.mts +9 -0
  43. package/dist/actions/add-ticket-line-item.d.mts.map +1 -0
  44. package/dist/actions/add-ticket-line-item.mjs +39 -0
  45. package/dist/actions/add-ticket-line-item.mjs.map +1 -0
  46. package/dist/actions/charge-ticket-timer.cjs +31 -0
  47. package/dist/actions/charge-ticket-timer.cjs.map +1 -0
  48. package/dist/actions/charge-ticket-timer.d.cts +9 -0
  49. package/dist/actions/charge-ticket-timer.d.cts.map +1 -0
  50. package/dist/actions/charge-ticket-timer.d.mts +9 -0
  51. package/dist/actions/charge-ticket-timer.d.mts.map +1 -0
  52. package/dist/actions/charge-ticket-timer.mjs +28 -0
  53. package/dist/actions/charge-ticket-timer.mjs.map +1 -0
  54. package/dist/actions/convert-estimate-to-invoice.cjs +60 -0
  55. package/dist/actions/convert-estimate-to-invoice.cjs.map +1 -0
  56. package/dist/actions/convert-estimate-to-invoice.d.cts +9 -0
  57. package/dist/actions/convert-estimate-to-invoice.d.cts.map +1 -0
  58. package/dist/actions/convert-estimate-to-invoice.d.mts +9 -0
  59. package/dist/actions/convert-estimate-to-invoice.d.mts.map +1 -0
  60. package/dist/actions/convert-estimate-to-invoice.mjs +59 -0
  61. package/dist/actions/convert-estimate-to-invoice.mjs.map +1 -0
  62. package/dist/actions/create-appointment-type.cjs +29 -0
  63. package/dist/actions/create-appointment-type.cjs.map +1 -0
  64. package/dist/actions/create-appointment-type.d.cts +9 -0
  65. package/dist/actions/create-appointment-type.d.cts.map +1 -0
  66. package/dist/actions/create-appointment-type.d.mts +9 -0
  67. package/dist/actions/create-appointment-type.d.mts.map +1 -0
  68. package/dist/actions/create-appointment-type.mjs +26 -0
  69. package/dist/actions/create-appointment-type.mjs.map +1 -0
  70. package/dist/actions/create-canned-response.cjs +29 -0
  71. package/dist/actions/create-canned-response.cjs.map +1 -0
  72. package/dist/actions/create-canned-response.d.cts +9 -0
  73. package/dist/actions/create-canned-response.d.cts.map +1 -0
  74. package/dist/actions/create-canned-response.d.mts +9 -0
  75. package/dist/actions/create-canned-response.d.mts.map +1 -0
  76. package/dist/actions/create-canned-response.mjs +26 -0
  77. package/dist/actions/create-canned-response.mjs.map +1 -0
  78. package/dist/actions/create-contact.cjs +56 -0
  79. package/dist/actions/create-contact.cjs.map +1 -0
  80. package/dist/actions/create-contact.d.cts +9 -0
  81. package/dist/actions/create-contact.d.cts.map +1 -0
  82. package/dist/actions/create-contact.d.mts +9 -0
  83. package/dist/actions/create-contact.d.mts.map +1 -0
  84. package/dist/actions/create-contact.mjs +53 -0
  85. package/dist/actions/create-contact.mjs.map +1 -0
  86. package/dist/actions/create-contract.cjs +43 -0
  87. package/dist/actions/create-contract.cjs.map +1 -0
  88. package/dist/actions/create-contract.d.cts +9 -0
  89. package/dist/actions/create-contract.d.cts.map +1 -0
  90. package/dist/actions/create-contract.d.mts +9 -0
  91. package/dist/actions/create-contract.d.mts.map +1 -0
  92. package/dist/actions/create-contract.mjs +40 -0
  93. package/dist/actions/create-contract.mjs.map +1 -0
  94. package/dist/actions/create-invoice-line-item.cjs +54 -0
  95. package/dist/actions/create-invoice-line-item.cjs.map +1 -0
  96. package/dist/actions/create-invoice-line-item.d.cts +9 -0
  97. package/dist/actions/create-invoice-line-item.d.cts.map +1 -0
  98. package/dist/actions/create-invoice-line-item.d.mts +9 -0
  99. package/dist/actions/create-invoice-line-item.d.mts.map +1 -0
  100. package/dist/actions/create-invoice-line-item.mjs +53 -0
  101. package/dist/actions/create-invoice-line-item.mjs.map +1 -0
  102. package/dist/actions/create-phone.cjs +29 -0
  103. package/dist/actions/create-phone.cjs.map +1 -0
  104. package/dist/actions/create-phone.d.cts +9 -0
  105. package/dist/actions/create-phone.d.cts.map +1 -0
  106. package/dist/actions/create-phone.d.mts +9 -0
  107. package/dist/actions/create-phone.d.mts.map +1 -0
  108. package/dist/actions/create-phone.mjs +26 -0
  109. package/dist/actions/create-phone.mjs.map +1 -0
  110. package/dist/actions/create-portal-user.cjs +31 -0
  111. package/dist/actions/create-portal-user.cjs.map +1 -0
  112. package/dist/actions/create-portal-user.d.cts +9 -0
  113. package/dist/actions/create-portal-user.d.cts.map +1 -0
  114. package/dist/actions/create-portal-user.d.mts +9 -0
  115. package/dist/actions/create-portal-user.d.mts.map +1 -0
  116. package/dist/actions/create-portal-user.mjs +28 -0
  117. package/dist/actions/create-portal-user.mjs.map +1 -0
  118. package/dist/actions/create-product-serial.cjs +31 -0
  119. package/dist/actions/create-product-serial.cjs.map +1 -0
  120. package/dist/actions/create-product-serial.d.cts +9 -0
  121. package/dist/actions/create-product-serial.d.cts.map +1 -0
  122. package/dist/actions/create-product-serial.d.mts +9 -0
  123. package/dist/actions/create-product-serial.d.mts.map +1 -0
  124. package/dist/actions/create-product-serial.mjs +28 -0
  125. package/dist/actions/create-product-serial.mjs.map +1 -0
  126. package/dist/actions/create-rmm-alert.cjs +48 -0
  127. package/dist/actions/create-rmm-alert.cjs.map +1 -0
  128. package/dist/actions/create-rmm-alert.d.cts +9 -0
  129. package/dist/actions/create-rmm-alert.d.cts.map +1 -0
  130. package/dist/actions/create-rmm-alert.d.mts +9 -0
  131. package/dist/actions/create-rmm-alert.d.mts.map +1 -0
  132. package/dist/actions/create-rmm-alert.mjs +47 -0
  133. package/dist/actions/create-rmm-alert.mjs.map +1 -0
  134. package/dist/actions/create-schedule.cjs +49 -0
  135. package/dist/actions/create-schedule.cjs.map +1 -0
  136. package/dist/actions/create-schedule.d.cts +9 -0
  137. package/dist/actions/create-schedule.d.cts.map +1 -0
  138. package/dist/actions/create-schedule.d.mts +9 -0
  139. package/dist/actions/create-schedule.d.mts.map +1 -0
  140. package/dist/actions/create-schedule.mjs +46 -0
  141. package/dist/actions/create-schedule.mjs.map +1 -0
  142. package/dist/actions/create-ticket-timer.cjs +43 -0
  143. package/dist/actions/create-ticket-timer.cjs.map +1 -0
  144. package/dist/actions/create-ticket-timer.d.cts +9 -0
  145. package/dist/actions/create-ticket-timer.d.cts.map +1 -0
  146. package/dist/actions/create-ticket-timer.d.mts +9 -0
  147. package/dist/actions/create-ticket-timer.d.mts.map +1 -0
  148. package/dist/actions/create-ticket-timer.mjs +40 -0
  149. package/dist/actions/create-ticket-timer.mjs.map +1 -0
  150. package/dist/actions/create-ticket.cjs +88 -0
  151. package/dist/actions/create-ticket.cjs.map +1 -0
  152. package/dist/actions/create-ticket.d.cts +9 -0
  153. package/dist/actions/create-ticket.d.cts.map +1 -0
  154. package/dist/actions/create-ticket.d.mts +9 -0
  155. package/dist/actions/create-ticket.d.mts.map +1 -0
  156. package/dist/actions/create-ticket.mjs +87 -0
  157. package/dist/actions/create-ticket.mjs.map +1 -0
  158. package/dist/actions/create-vendor.cjs +45 -0
  159. package/dist/actions/create-vendor.cjs.map +1 -0
  160. package/dist/actions/create-vendor.d.cts +9 -0
  161. package/dist/actions/create-vendor.d.cts.map +1 -0
  162. package/dist/actions/create-vendor.d.mts +9 -0
  163. package/dist/actions/create-vendor.d.mts.map +1 -0
  164. package/dist/actions/create-vendor.mjs +42 -0
  165. package/dist/actions/create-vendor.mjs.map +1 -0
  166. package/dist/actions/create-wiki-page.cjs +34 -0
  167. package/dist/actions/create-wiki-page.cjs.map +1 -0
  168. package/dist/actions/create-wiki-page.d.cts +9 -0
  169. package/dist/actions/create-wiki-page.d.cts.map +1 -0
  170. package/dist/actions/create-wiki-page.d.mts +9 -0
  171. package/dist/actions/create-wiki-page.d.mts.map +1 -0
  172. package/dist/actions/create-wiki-page.mjs +31 -0
  173. package/dist/actions/create-wiki-page.mjs.map +1 -0
  174. package/dist/actions/delete-appointment-type.cjs +16 -0
  175. package/dist/actions/delete-appointment-type.cjs.map +1 -0
  176. package/dist/actions/delete-appointment-type.d.cts +9 -0
  177. package/dist/actions/delete-appointment-type.d.cts.map +1 -0
  178. package/dist/actions/delete-appointment-type.d.mts +9 -0
  179. package/dist/actions/delete-appointment-type.d.mts.map +1 -0
  180. package/dist/actions/delete-appointment-type.mjs +13 -0
  181. package/dist/actions/delete-appointment-type.mjs.map +1 -0
  182. package/dist/actions/delete-appointment.cjs +16 -0
  183. package/dist/actions/delete-appointment.cjs.map +1 -0
  184. package/dist/actions/delete-appointment.d.cts +9 -0
  185. package/dist/actions/delete-appointment.d.cts.map +1 -0
  186. package/dist/actions/delete-appointment.d.mts +9 -0
  187. package/dist/actions/delete-appointment.d.mts.map +1 -0
  188. package/dist/actions/delete-appointment.mjs +13 -0
  189. package/dist/actions/delete-appointment.mjs.map +1 -0
  190. package/dist/actions/delete-canned-response.cjs +16 -0
  191. package/dist/actions/delete-canned-response.cjs.map +1 -0
  192. package/dist/actions/delete-canned-response.d.cts +9 -0
  193. package/dist/actions/delete-canned-response.d.cts.map +1 -0
  194. package/dist/actions/delete-canned-response.d.mts +9 -0
  195. package/dist/actions/delete-canned-response.d.mts.map +1 -0
  196. package/dist/actions/delete-canned-response.mjs +13 -0
  197. package/dist/actions/delete-canned-response.mjs.map +1 -0
  198. package/dist/actions/delete-contact.cjs +16 -0
  199. package/dist/actions/delete-contact.cjs.map +1 -0
  200. package/dist/actions/delete-contact.d.cts +9 -0
  201. package/dist/actions/delete-contact.d.cts.map +1 -0
  202. package/dist/actions/delete-contact.d.mts +9 -0
  203. package/dist/actions/delete-contact.d.mts.map +1 -0
  204. package/dist/actions/delete-contact.mjs +13 -0
  205. package/dist/actions/delete-contact.mjs.map +1 -0
  206. package/dist/actions/delete-contract.cjs +16 -0
  207. package/dist/actions/delete-contract.cjs.map +1 -0
  208. package/dist/actions/delete-contract.d.cts +9 -0
  209. package/dist/actions/delete-contract.d.cts.map +1 -0
  210. package/dist/actions/delete-contract.d.mts +9 -0
  211. package/dist/actions/delete-contract.d.mts.map +1 -0
  212. package/dist/actions/delete-contract.mjs +13 -0
  213. package/dist/actions/delete-contract.mjs.map +1 -0
  214. package/dist/actions/delete-customer.cjs +16 -0
  215. package/dist/actions/delete-customer.cjs.map +1 -0
  216. package/dist/actions/delete-customer.d.cts +9 -0
  217. package/dist/actions/delete-customer.d.cts.map +1 -0
  218. package/dist/actions/delete-customer.d.mts +9 -0
  219. package/dist/actions/delete-customer.d.mts.map +1 -0
  220. package/dist/actions/delete-customer.mjs +13 -0
  221. package/dist/actions/delete-customer.mjs.map +1 -0
  222. package/dist/actions/delete-estimate-line-item.cjs +35 -0
  223. package/dist/actions/delete-estimate-line-item.cjs.map +1 -0
  224. package/dist/actions/delete-estimate-line-item.d.cts +9 -0
  225. package/dist/actions/delete-estimate-line-item.d.cts.map +1 -0
  226. package/dist/actions/delete-estimate-line-item.d.mts +9 -0
  227. package/dist/actions/delete-estimate-line-item.d.mts.map +1 -0
  228. package/dist/actions/delete-estimate-line-item.mjs +32 -0
  229. package/dist/actions/delete-estimate-line-item.mjs.map +1 -0
  230. package/dist/actions/delete-estimate.cjs +16 -0
  231. package/dist/actions/delete-estimate.cjs.map +1 -0
  232. package/dist/actions/delete-estimate.d.cts +9 -0
  233. package/dist/actions/delete-estimate.d.cts.map +1 -0
  234. package/dist/actions/delete-estimate.d.mts +9 -0
  235. package/dist/actions/delete-estimate.d.mts.map +1 -0
  236. package/dist/actions/delete-estimate.mjs +13 -0
  237. package/dist/actions/delete-estimate.mjs.map +1 -0
  238. package/dist/actions/delete-invoice-line-item.cjs +35 -0
  239. package/dist/actions/delete-invoice-line-item.cjs.map +1 -0
  240. package/dist/actions/delete-invoice-line-item.d.cts +9 -0
  241. package/dist/actions/delete-invoice-line-item.d.cts.map +1 -0
  242. package/dist/actions/delete-invoice-line-item.d.mts +9 -0
  243. package/dist/actions/delete-invoice-line-item.d.mts.map +1 -0
  244. package/dist/actions/delete-invoice-line-item.mjs +34 -0
  245. package/dist/actions/delete-invoice-line-item.mjs.map +1 -0
  246. package/dist/actions/delete-invoice.cjs +16 -0
  247. package/dist/actions/delete-invoice.cjs.map +1 -0
  248. package/dist/actions/delete-invoice.d.cts +9 -0
  249. package/dist/actions/delete-invoice.d.cts.map +1 -0
  250. package/dist/actions/delete-invoice.d.mts +9 -0
  251. package/dist/actions/delete-invoice.d.mts.map +1 -0
  252. package/dist/actions/delete-invoice.mjs +13 -0
  253. package/dist/actions/delete-invoice.mjs.map +1 -0
  254. package/dist/actions/delete-phone.cjs +19 -0
  255. package/dist/actions/delete-phone.cjs.map +1 -0
  256. package/dist/actions/delete-phone.d.cts +9 -0
  257. package/dist/actions/delete-phone.d.cts.map +1 -0
  258. package/dist/actions/delete-phone.d.mts +9 -0
  259. package/dist/actions/delete-phone.d.mts.map +1 -0
  260. package/dist/actions/delete-phone.mjs +16 -0
  261. package/dist/actions/delete-phone.mjs.map +1 -0
  262. package/dist/actions/delete-portal-user.cjs +16 -0
  263. package/dist/actions/delete-portal-user.cjs.map +1 -0
  264. package/dist/actions/delete-portal-user.d.cts +9 -0
  265. package/dist/actions/delete-portal-user.d.cts.map +1 -0
  266. package/dist/actions/delete-portal-user.d.mts +9 -0
  267. package/dist/actions/delete-portal-user.d.mts.map +1 -0
  268. package/dist/actions/delete-portal-user.mjs +13 -0
  269. package/dist/actions/delete-portal-user.mjs.map +1 -0
  270. package/dist/actions/delete-rmm-alert.cjs +16 -0
  271. package/dist/actions/delete-rmm-alert.cjs.map +1 -0
  272. package/dist/actions/delete-rmm-alert.d.cts +9 -0
  273. package/dist/actions/delete-rmm-alert.d.cts.map +1 -0
  274. package/dist/actions/delete-rmm-alert.d.mts +9 -0
  275. package/dist/actions/delete-rmm-alert.d.mts.map +1 -0
  276. package/dist/actions/delete-rmm-alert.mjs +13 -0
  277. package/dist/actions/delete-rmm-alert.mjs.map +1 -0
  278. package/dist/actions/delete-schedule.cjs +16 -0
  279. package/dist/actions/delete-schedule.cjs.map +1 -0
  280. package/dist/actions/delete-schedule.d.cts +9 -0
  281. package/dist/actions/delete-schedule.d.cts.map +1 -0
  282. package/dist/actions/delete-schedule.d.mts +9 -0
  283. package/dist/actions/delete-schedule.d.mts.map +1 -0
  284. package/dist/actions/delete-schedule.mjs +13 -0
  285. package/dist/actions/delete-schedule.mjs.map +1 -0
  286. package/dist/actions/delete-ticket-timer.cjs +19 -0
  287. package/dist/actions/delete-ticket-timer.cjs.map +1 -0
  288. package/dist/actions/delete-ticket-timer.d.cts +9 -0
  289. package/dist/actions/delete-ticket-timer.d.cts.map +1 -0
  290. package/dist/actions/delete-ticket-timer.d.mts +9 -0
  291. package/dist/actions/delete-ticket-timer.d.mts.map +1 -0
  292. package/dist/actions/delete-ticket-timer.mjs +16 -0
  293. package/dist/actions/delete-ticket-timer.mjs.map +1 -0
  294. package/dist/actions/delete-ticket.cjs +16 -0
  295. package/dist/actions/delete-ticket.cjs.map +1 -0
  296. package/dist/actions/delete-ticket.d.cts +9 -0
  297. package/dist/actions/delete-ticket.d.cts.map +1 -0
  298. package/dist/actions/delete-ticket.d.mts +9 -0
  299. package/dist/actions/delete-ticket.d.mts.map +1 -0
  300. package/dist/actions/delete-ticket.mjs +13 -0
  301. package/dist/actions/delete-ticket.mjs.map +1 -0
  302. package/dist/actions/delete-wiki-page.cjs +16 -0
  303. package/dist/actions/delete-wiki-page.cjs.map +1 -0
  304. package/dist/actions/delete-wiki-page.d.cts +9 -0
  305. package/dist/actions/delete-wiki-page.d.cts.map +1 -0
  306. package/dist/actions/delete-wiki-page.d.mts +9 -0
  307. package/dist/actions/delete-wiki-page.d.mts.map +1 -0
  308. package/dist/actions/delete-wiki-page.mjs +13 -0
  309. package/dist/actions/delete-wiki-page.mjs.map +1 -0
  310. package/dist/actions/email-estimate.cjs +16 -0
  311. package/dist/actions/email-estimate.cjs.map +1 -0
  312. package/dist/actions/email-estimate.d.cts +9 -0
  313. package/dist/actions/email-estimate.d.cts.map +1 -0
  314. package/dist/actions/email-estimate.d.mts +9 -0
  315. package/dist/actions/email-estimate.d.mts.map +1 -0
  316. package/dist/actions/email-estimate.mjs +13 -0
  317. package/dist/actions/email-estimate.mjs.map +1 -0
  318. package/dist/actions/email-invoice.cjs +16 -0
  319. package/dist/actions/email-invoice.cjs.map +1 -0
  320. package/dist/actions/email-invoice.d.cts +9 -0
  321. package/dist/actions/email-invoice.d.cts.map +1 -0
  322. package/dist/actions/email-invoice.d.mts +9 -0
  323. package/dist/actions/email-invoice.d.mts.map +1 -0
  324. package/dist/actions/email-invoice.mjs +13 -0
  325. package/dist/actions/email-invoice.mjs.map +1 -0
  326. package/dist/actions/get-appointment-type.cjs +27 -0
  327. package/dist/actions/get-appointment-type.cjs.map +1 -0
  328. package/dist/actions/get-appointment-type.d.cts +9 -0
  329. package/dist/actions/get-appointment-type.d.cts.map +1 -0
  330. package/dist/actions/get-appointment-type.d.mts +9 -0
  331. package/dist/actions/get-appointment-type.d.mts.map +1 -0
  332. package/dist/actions/get-appointment-type.mjs +24 -0
  333. package/dist/actions/get-appointment-type.mjs.map +1 -0
  334. package/dist/actions/get-appointment.cjs +34 -0
  335. package/dist/actions/get-appointment.cjs.map +1 -0
  336. package/dist/actions/get-appointment.d.cts +9 -0
  337. package/dist/actions/get-appointment.d.cts.map +1 -0
  338. package/dist/actions/get-appointment.d.mts +9 -0
  339. package/dist/actions/get-appointment.d.mts.map +1 -0
  340. package/dist/actions/get-appointment.mjs +33 -0
  341. package/dist/actions/get-appointment.mjs.map +1 -0
  342. package/dist/actions/get-appointments.cjs +79 -0
  343. package/dist/actions/get-appointments.cjs.map +1 -0
  344. package/dist/actions/get-appointments.d.cts +9 -0
  345. package/dist/actions/get-appointments.d.cts.map +1 -0
  346. package/dist/actions/get-appointments.d.mts +9 -0
  347. package/dist/actions/get-appointments.d.mts.map +1 -0
  348. package/dist/actions/get-appointments.mjs +78 -0
  349. package/dist/actions/get-appointments.mjs.map +1 -0
  350. package/dist/actions/get-asset.cjs +99 -0
  351. package/dist/actions/get-asset.cjs.map +1 -0
  352. package/dist/actions/get-asset.d.cts +9 -0
  353. package/dist/actions/get-asset.d.cts.map +1 -0
  354. package/dist/actions/get-asset.d.mts +9 -0
  355. package/dist/actions/get-asset.d.mts.map +1 -0
  356. package/dist/actions/get-asset.mjs +98 -0
  357. package/dist/actions/get-asset.mjs.map +1 -0
  358. package/dist/actions/get-assets.cjs +114 -0
  359. package/dist/actions/get-assets.cjs.map +1 -0
  360. package/dist/actions/get-assets.d.cts +9 -0
  361. package/dist/actions/get-assets.d.cts.map +1 -0
  362. package/dist/actions/get-assets.d.mts +9 -0
  363. package/dist/actions/get-assets.d.mts.map +1 -0
  364. package/dist/actions/get-assets.mjs +113 -0
  365. package/dist/actions/get-assets.mjs.map +1 -0
  366. package/dist/actions/get-caller-id.cjs +23 -0
  367. package/dist/actions/get-caller-id.cjs.map +1 -0
  368. package/dist/actions/get-caller-id.d.cts +9 -0
  369. package/dist/actions/get-caller-id.d.cts.map +1 -0
  370. package/dist/actions/get-caller-id.d.mts +9 -0
  371. package/dist/actions/get-caller-id.d.mts.map +1 -0
  372. package/dist/actions/get-caller-id.mjs +22 -0
  373. package/dist/actions/get-caller-id.mjs.map +1 -0
  374. package/dist/actions/get-canned-response-setting.cjs +24 -0
  375. package/dist/actions/get-canned-response-setting.cjs.map +1 -0
  376. package/dist/actions/get-canned-response-setting.d.cts +9 -0
  377. package/dist/actions/get-canned-response-setting.d.cts.map +1 -0
  378. package/dist/actions/get-canned-response-setting.d.mts +9 -0
  379. package/dist/actions/get-canned-response-setting.d.mts.map +1 -0
  380. package/dist/actions/get-canned-response-setting.mjs +23 -0
  381. package/dist/actions/get-canned-response-setting.mjs.map +1 -0
  382. package/dist/actions/get-contact.cjs +38 -0
  383. package/dist/actions/get-contact.cjs.map +1 -0
  384. package/dist/actions/get-contact.d.cts +9 -0
  385. package/dist/actions/get-contact.d.cts.map +1 -0
  386. package/dist/actions/get-contact.d.mts +9 -0
  387. package/dist/actions/get-contact.d.mts.map +1 -0
  388. package/dist/actions/get-contact.mjs +35 -0
  389. package/dist/actions/get-contact.mjs.map +1 -0
  390. package/dist/actions/get-contacts.cjs +57 -0
  391. package/dist/actions/get-contacts.cjs.map +1 -0
  392. package/dist/actions/get-contacts.d.cts +9 -0
  393. package/dist/actions/get-contacts.d.cts.map +1 -0
  394. package/dist/actions/get-contacts.d.mts +9 -0
  395. package/dist/actions/get-contacts.d.mts.map +1 -0
  396. package/dist/actions/get-contacts.mjs +56 -0
  397. package/dist/actions/get-contacts.mjs.map +1 -0
  398. package/dist/actions/get-contract.cjs +32 -0
  399. package/dist/actions/get-contract.cjs.map +1 -0
  400. package/dist/actions/get-contract.d.cts +9 -0
  401. package/dist/actions/get-contract.d.cts.map +1 -0
  402. package/dist/actions/get-contract.d.mts +9 -0
  403. package/dist/actions/get-contract.d.mts.map +1 -0
  404. package/dist/actions/get-contract.mjs +29 -0
  405. package/dist/actions/get-contract.mjs.map +1 -0
  406. package/dist/actions/get-customer-payment-profiles.cjs +34 -0
  407. package/dist/actions/get-customer-payment-profiles.cjs.map +1 -0
  408. package/dist/actions/get-customer-payment-profiles.d.cts +9 -0
  409. package/dist/actions/get-customer-payment-profiles.d.cts.map +1 -0
  410. package/dist/actions/get-customer-payment-profiles.d.mts +9 -0
  411. package/dist/actions/get-customer-payment-profiles.d.mts.map +1 -0
  412. package/dist/actions/get-customer-payment-profiles.mjs +33 -0
  413. package/dist/actions/get-customer-payment-profiles.mjs.map +1 -0
  414. package/dist/actions/get-customer.cjs +30 -0
  415. package/dist/actions/get-customer.cjs.map +1 -0
  416. package/dist/actions/get-customer.d.cts +9 -0
  417. package/dist/actions/get-customer.d.cts.map +1 -0
  418. package/dist/actions/get-customer.d.mts +9 -0
  419. package/dist/actions/get-customer.d.mts.map +1 -0
  420. package/dist/actions/get-customer.mjs +27 -0
  421. package/dist/actions/get-customer.mjs.map +1 -0
  422. package/dist/actions/get-customers-autocomplete.cjs +28 -0
  423. package/dist/actions/get-customers-autocomplete.cjs.map +1 -0
  424. package/dist/actions/get-customers-autocomplete.d.cts +9 -0
  425. package/dist/actions/get-customers-autocomplete.d.cts.map +1 -0
  426. package/dist/actions/get-customers-autocomplete.d.mts +9 -0
  427. package/dist/actions/get-customers-autocomplete.d.mts.map +1 -0
  428. package/dist/actions/get-customers-autocomplete.mjs +27 -0
  429. package/dist/actions/get-customers-autocomplete.mjs.map +1 -0
  430. package/dist/actions/get-customers.cjs +74 -0
  431. package/dist/actions/get-customers.cjs.map +1 -0
  432. package/dist/actions/get-customers.d.cts +9 -0
  433. package/dist/actions/get-customers.d.cts.map +1 -0
  434. package/dist/actions/get-customers.d.mts +9 -0
  435. package/dist/actions/get-customers.d.mts.map +1 -0
  436. package/dist/actions/get-customers.mjs +73 -0
  437. package/dist/actions/get-customers.mjs.map +1 -0
  438. package/dist/actions/get-employee-time-clock.cjs +28 -0
  439. package/dist/actions/get-employee-time-clock.cjs.map +1 -0
  440. package/dist/actions/get-employee-time-clock.d.cts +9 -0
  441. package/dist/actions/get-employee-time-clock.d.cts.map +1 -0
  442. package/dist/actions/get-employee-time-clock.d.mts +9 -0
  443. package/dist/actions/get-employee-time-clock.d.mts.map +1 -0
  444. package/dist/actions/get-employee-time-clock.mjs +25 -0
  445. package/dist/actions/get-employee-time-clock.mjs.map +1 -0
  446. package/dist/actions/get-estimate.cjs +49 -0
  447. package/dist/actions/get-estimate.cjs.map +1 -0
  448. package/dist/actions/get-estimate.d.cts +9 -0
  449. package/dist/actions/get-estimate.d.cts.map +1 -0
  450. package/dist/actions/get-estimate.d.mts +9 -0
  451. package/dist/actions/get-estimate.d.mts.map +1 -0
  452. package/dist/actions/get-estimate.mjs +48 -0
  453. package/dist/actions/get-estimate.mjs.map +1 -0
  454. package/dist/actions/get-estimates.cjs +46 -0
  455. package/dist/actions/get-estimates.cjs.map +1 -0
  456. package/dist/actions/get-estimates.d.cts +9 -0
  457. package/dist/actions/get-estimates.d.cts.map +1 -0
  458. package/dist/actions/get-estimates.d.mts +9 -0
  459. package/dist/actions/get-estimates.d.mts.map +1 -0
  460. package/dist/actions/get-estimates.mjs +45 -0
  461. package/dist/actions/get-estimates.mjs.map +1 -0
  462. package/dist/actions/get-invoice-ticket.cjs +53 -0
  463. package/dist/actions/get-invoice-ticket.cjs.map +1 -0
  464. package/dist/actions/get-invoice-ticket.d.cts +9 -0
  465. package/dist/actions/get-invoice-ticket.d.cts.map +1 -0
  466. package/dist/actions/get-invoice-ticket.d.mts +9 -0
  467. package/dist/actions/get-invoice-ticket.d.mts.map +1 -0
  468. package/dist/actions/get-invoice-ticket.mjs +52 -0
  469. package/dist/actions/get-invoice-ticket.mjs.map +1 -0
  470. package/dist/actions/get-invoice.cjs +85 -0
  471. package/dist/actions/get-invoice.cjs.map +1 -0
  472. package/dist/actions/get-invoice.d.cts +9 -0
  473. package/dist/actions/get-invoice.d.cts.map +1 -0
  474. package/dist/actions/get-invoice.d.mts +9 -0
  475. package/dist/actions/get-invoice.d.mts.map +1 -0
  476. package/dist/actions/get-invoice.mjs +84 -0
  477. package/dist/actions/get-invoice.mjs.map +1 -0
  478. package/dist/actions/get-invoices.cjs +53 -0
  479. package/dist/actions/get-invoices.cjs.map +1 -0
  480. package/dist/actions/get-invoices.d.cts +9 -0
  481. package/dist/actions/get-invoices.d.cts.map +1 -0
  482. package/dist/actions/get-invoices.d.mts +9 -0
  483. package/dist/actions/get-invoices.d.mts.map +1 -0
  484. package/dist/actions/get-invoices.mjs +52 -0
  485. package/dist/actions/get-invoices.mjs.map +1 -0
  486. package/dist/actions/get-latest-customer.cjs +51 -0
  487. package/dist/actions/get-latest-customer.cjs.map +1 -0
  488. package/dist/actions/get-latest-customer.d.cts +9 -0
  489. package/dist/actions/get-latest-customer.d.cts.map +1 -0
  490. package/dist/actions/get-latest-customer.d.mts +9 -0
  491. package/dist/actions/get-latest-customer.d.mts.map +1 -0
  492. package/dist/actions/get-latest-customer.mjs +48 -0
  493. package/dist/actions/get-latest-customer.mjs.map +1 -0
  494. package/dist/actions/get-lead.cjs +43 -0
  495. package/dist/actions/get-lead.cjs.map +1 -0
  496. package/dist/actions/get-lead.d.cts +9 -0
  497. package/dist/actions/get-lead.d.cts.map +1 -0
  498. package/dist/actions/get-lead.d.mts +9 -0
  499. package/dist/actions/get-lead.d.mts.map +1 -0
  500. package/dist/actions/get-lead.mjs +40 -0
  501. package/dist/actions/get-lead.mjs.map +1 -0
  502. package/dist/actions/get-leads.cjs +53 -0
  503. package/dist/actions/get-leads.cjs.map +1 -0
  504. package/dist/actions/get-leads.d.cts +9 -0
  505. package/dist/actions/get-leads.d.cts.map +1 -0
  506. package/dist/actions/get-leads.d.mts +9 -0
  507. package/dist/actions/get-leads.d.mts.map +1 -0
  508. package/dist/actions/get-leads.mjs +52 -0
  509. package/dist/actions/get-leads.mjs.map +1 -0
  510. package/dist/actions/get-me.cjs +78 -0
  511. package/dist/actions/get-me.cjs.map +1 -0
  512. package/dist/actions/get-me.d.cts +9 -0
  513. package/dist/actions/get-me.d.cts.map +1 -0
  514. package/dist/actions/get-me.d.mts +9 -0
  515. package/dist/actions/get-me.d.mts.map +1 -0
  516. package/dist/actions/get-me.mjs +77 -0
  517. package/dist/actions/get-me.mjs.map +1 -0
  518. package/dist/actions/get-payment.cjs +36 -0
  519. package/dist/actions/get-payment.cjs.map +1 -0
  520. package/dist/actions/get-payment.d.cts +9 -0
  521. package/dist/actions/get-payment.d.cts.map +1 -0
  522. package/dist/actions/get-payment.d.mts +9 -0
  523. package/dist/actions/get-payment.d.mts.map +1 -0
  524. package/dist/actions/get-payment.mjs +35 -0
  525. package/dist/actions/get-payment.mjs.map +1 -0
  526. package/dist/actions/get-payments.cjs +78 -0
  527. package/dist/actions/get-payments.cjs.map +1 -0
  528. package/dist/actions/get-payments.d.cts +9 -0
  529. package/dist/actions/get-payments.d.cts.map +1 -0
  530. package/dist/actions/get-payments.d.mts +9 -0
  531. package/dist/actions/get-payments.d.mts.map +1 -0
  532. package/dist/actions/get-payments.mjs +77 -0
  533. package/dist/actions/get-payments.mjs.map +1 -0
  534. package/dist/actions/get-product-by-barcode.cjs +39 -0
  535. package/dist/actions/get-product-by-barcode.cjs.map +1 -0
  536. package/dist/actions/get-product-by-barcode.d.cts +9 -0
  537. package/dist/actions/get-product-by-barcode.d.cts.map +1 -0
  538. package/dist/actions/get-product-by-barcode.d.mts +9 -0
  539. package/dist/actions/get-product-by-barcode.d.mts.map +1 -0
  540. package/dist/actions/get-product-by-barcode.mjs +36 -0
  541. package/dist/actions/get-product-by-barcode.mjs.map +1 -0
  542. package/dist/actions/get-product-serials.cjs +24 -0
  543. package/dist/actions/get-product-serials.cjs.map +1 -0
  544. package/dist/actions/get-product-serials.d.cts +9 -0
  545. package/dist/actions/get-product-serials.d.cts.map +1 -0
  546. package/dist/actions/get-product-serials.d.mts +9 -0
  547. package/dist/actions/get-product-serials.d.mts.map +1 -0
  548. package/dist/actions/get-product-serials.mjs +23 -0
  549. package/dist/actions/get-product-serials.mjs.map +1 -0
  550. package/dist/actions/get-product.cjs +39 -0
  551. package/dist/actions/get-product.cjs.map +1 -0
  552. package/dist/actions/get-product.d.cts +9 -0
  553. package/dist/actions/get-product.d.cts.map +1 -0
  554. package/dist/actions/get-product.d.mts +9 -0
  555. package/dist/actions/get-product.d.mts.map +1 -0
  556. package/dist/actions/get-product.mjs +36 -0
  557. package/dist/actions/get-product.mjs.map +1 -0
  558. package/dist/actions/get-products-categories.cjs +25 -0
  559. package/dist/actions/get-products-categories.cjs.map +1 -0
  560. package/dist/actions/get-products-categories.d.cts +9 -0
  561. package/dist/actions/get-products-categories.d.cts.map +1 -0
  562. package/dist/actions/get-products-categories.d.mts +9 -0
  563. package/dist/actions/get-products-categories.d.mts.map +1 -0
  564. package/dist/actions/get-products-categories.mjs +24 -0
  565. package/dist/actions/get-products-categories.mjs.map +1 -0
  566. package/dist/actions/get-products.cjs +66 -0
  567. package/dist/actions/get-products.cjs.map +1 -0
  568. package/dist/actions/get-products.d.cts +9 -0
  569. package/dist/actions/get-products.d.cts.map +1 -0
  570. package/dist/actions/get-products.d.mts +9 -0
  571. package/dist/actions/get-products.d.mts.map +1 -0
  572. package/dist/actions/get-products.mjs +65 -0
  573. package/dist/actions/get-products.mjs.map +1 -0
  574. package/dist/actions/get-purchase-order.cjs +52 -0
  575. package/dist/actions/get-purchase-order.cjs.map +1 -0
  576. package/dist/actions/get-purchase-order.d.cts +9 -0
  577. package/dist/actions/get-purchase-order.d.cts.map +1 -0
  578. package/dist/actions/get-purchase-order.d.mts +9 -0
  579. package/dist/actions/get-purchase-order.d.mts.map +1 -0
  580. package/dist/actions/get-purchase-order.mjs +51 -0
  581. package/dist/actions/get-purchase-order.mjs.map +1 -0
  582. package/dist/actions/get-rmm-alert.cjs +34 -0
  583. package/dist/actions/get-rmm-alert.cjs.map +1 -0
  584. package/dist/actions/get-rmm-alert.d.cts +9 -0
  585. package/dist/actions/get-rmm-alert.d.cts.map +1 -0
  586. package/dist/actions/get-rmm-alert.d.mts +9 -0
  587. package/dist/actions/get-rmm-alert.d.mts.map +1 -0
  588. package/dist/actions/get-rmm-alert.mjs +33 -0
  589. package/dist/actions/get-rmm-alert.mjs.map +1 -0
  590. package/dist/actions/get-schedule.cjs +63 -0
  591. package/dist/actions/get-schedule.cjs.map +1 -0
  592. package/dist/actions/get-schedule.d.cts +9 -0
  593. package/dist/actions/get-schedule.d.cts.map +1 -0
  594. package/dist/actions/get-schedule.d.mts +9 -0
  595. package/dist/actions/get-schedule.d.mts.map +1 -0
  596. package/dist/actions/get-schedule.mjs +62 -0
  597. package/dist/actions/get-schedule.mjs.map +1 -0
  598. package/dist/actions/get-settings-printing.cjs +19 -0
  599. package/dist/actions/get-settings-printing.cjs.map +1 -0
  600. package/dist/actions/get-settings-printing.d.cts +9 -0
  601. package/dist/actions/get-settings-printing.d.cts.map +1 -0
  602. package/dist/actions/get-settings-printing.d.mts +9 -0
  603. package/dist/actions/get-settings-printing.d.mts.map +1 -0
  604. package/dist/actions/get-settings-printing.mjs +16 -0
  605. package/dist/actions/get-settings-printing.mjs.map +1 -0
  606. package/dist/actions/get-settings-tabs.cjs +43 -0
  607. package/dist/actions/get-settings-tabs.cjs.map +1 -0
  608. package/dist/actions/get-settings-tabs.d.cts +9 -0
  609. package/dist/actions/get-settings-tabs.d.cts.map +1 -0
  610. package/dist/actions/get-settings-tabs.d.mts +9 -0
  611. package/dist/actions/get-settings-tabs.d.mts.map +1 -0
  612. package/dist/actions/get-settings-tabs.mjs +42 -0
  613. package/dist/actions/get-settings-tabs.mjs.map +1 -0
  614. package/dist/actions/get-settings.cjs +16 -0
  615. package/dist/actions/get-settings.cjs.map +1 -0
  616. package/dist/actions/get-settings.d.cts +9 -0
  617. package/dist/actions/get-settings.d.cts.map +1 -0
  618. package/dist/actions/get-settings.d.mts +9 -0
  619. package/dist/actions/get-settings.d.mts.map +1 -0
  620. package/dist/actions/get-settings.mjs +13 -0
  621. package/dist/actions/get-settings.mjs.map +1 -0
  622. package/dist/actions/get-ticket.cjs +53 -0
  623. package/dist/actions/get-ticket.cjs.map +1 -0
  624. package/dist/actions/get-ticket.d.cts +9 -0
  625. package/dist/actions/get-ticket.d.cts.map +1 -0
  626. package/dist/actions/get-ticket.d.mts +9 -0
  627. package/dist/actions/get-ticket.d.mts.map +1 -0
  628. package/dist/actions/get-ticket.mjs +52 -0
  629. package/dist/actions/get-ticket.mjs.map +1 -0
  630. package/dist/actions/get-tickets-settings.cjs +46 -0
  631. package/dist/actions/get-tickets-settings.cjs.map +1 -0
  632. package/dist/actions/get-tickets-settings.d.cts +9 -0
  633. package/dist/actions/get-tickets-settings.d.cts.map +1 -0
  634. package/dist/actions/get-tickets-settings.d.mts +9 -0
  635. package/dist/actions/get-tickets-settings.d.mts.map +1 -0
  636. package/dist/actions/get-tickets-settings.mjs +45 -0
  637. package/dist/actions/get-tickets-settings.mjs.map +1 -0
  638. package/dist/actions/get-user-device.cjs +26 -0
  639. package/dist/actions/get-user-device.cjs.map +1 -0
  640. package/dist/actions/get-user-device.d.cts +9 -0
  641. package/dist/actions/get-user-device.d.cts.map +1 -0
  642. package/dist/actions/get-user-device.d.mts +9 -0
  643. package/dist/actions/get-user-device.d.mts.map +1 -0
  644. package/dist/actions/get-user-device.mjs +23 -0
  645. package/dist/actions/get-user-device.mjs.map +1 -0
  646. package/dist/actions/get-user.cjs +25 -0
  647. package/dist/actions/get-user.cjs.map +1 -0
  648. package/dist/actions/get-user.d.cts +9 -0
  649. package/dist/actions/get-user.d.cts.map +1 -0
  650. package/dist/actions/get-user.d.mts +9 -0
  651. package/dist/actions/get-user.d.mts.map +1 -0
  652. package/dist/actions/get-user.mjs +22 -0
  653. package/dist/actions/get-user.mjs.map +1 -0
  654. package/dist/actions/get-users.cjs +20 -0
  655. package/dist/actions/get-users.cjs.map +1 -0
  656. package/dist/actions/get-users.d.cts +9 -0
  657. package/dist/actions/get-users.d.cts.map +1 -0
  658. package/dist/actions/get-users.d.mts +9 -0
  659. package/dist/actions/get-users.d.mts.map +1 -0
  660. package/dist/actions/get-users.mjs +19 -0
  661. package/dist/actions/get-users.mjs.map +1 -0
  662. package/dist/actions/get-vendor.cjs +32 -0
  663. package/dist/actions/get-vendor.cjs.map +1 -0
  664. package/dist/actions/get-vendor.d.cts +9 -0
  665. package/dist/actions/get-vendor.d.cts.map +1 -0
  666. package/dist/actions/get-vendor.d.mts +9 -0
  667. package/dist/actions/get-vendor.d.mts.map +1 -0
  668. package/dist/actions/get-vendor.mjs +29 -0
  669. package/dist/actions/get-vendor.mjs.map +1 -0
  670. package/dist/actions/get-wiki-page.cjs +23 -0
  671. package/dist/actions/get-wiki-page.cjs.map +1 -0
  672. package/dist/actions/get-wiki-page.d.cts +9 -0
  673. package/dist/actions/get-wiki-page.d.cts.map +1 -0
  674. package/dist/actions/get-wiki-page.d.mts +9 -0
  675. package/dist/actions/get-wiki-page.d.mts.map +1 -0
  676. package/dist/actions/get-wiki-page.mjs +20 -0
  677. package/dist/actions/get-wiki-page.mjs.map +1 -0
  678. package/dist/actions/index.cjs +295 -0
  679. package/dist/actions/index.d.cts +148 -0
  680. package/dist/actions/index.d.mts +148 -0
  681. package/dist/actions/index.mjs +148 -0
  682. package/dist/actions/list-appointment-types.cjs +28 -0
  683. package/dist/actions/list-appointment-types.cjs.map +1 -0
  684. package/dist/actions/list-appointment-types.d.cts +9 -0
  685. package/dist/actions/list-appointment-types.d.cts.map +1 -0
  686. package/dist/actions/list-appointment-types.d.mts +9 -0
  687. package/dist/actions/list-appointment-types.d.mts.map +1 -0
  688. package/dist/actions/list-appointment-types.mjs +27 -0
  689. package/dist/actions/list-appointment-types.mjs.map +1 -0
  690. package/dist/actions/list-canned-responses.cjs +24 -0
  691. package/dist/actions/list-canned-responses.cjs.map +1 -0
  692. package/dist/actions/list-canned-responses.d.cts +9 -0
  693. package/dist/actions/list-canned-responses.d.cts.map +1 -0
  694. package/dist/actions/list-canned-responses.d.mts +9 -0
  695. package/dist/actions/list-canned-responses.d.mts.map +1 -0
  696. package/dist/actions/list-canned-responses.mjs +23 -0
  697. package/dist/actions/list-canned-responses.mjs.map +1 -0
  698. package/dist/actions/list-contracts.cjs +42 -0
  699. package/dist/actions/list-contracts.cjs.map +1 -0
  700. package/dist/actions/list-contracts.d.cts +9 -0
  701. package/dist/actions/list-contracts.d.cts.map +1 -0
  702. package/dist/actions/list-contracts.d.mts +9 -0
  703. package/dist/actions/list-contracts.d.mts.map +1 -0
  704. package/dist/actions/list-contracts.mjs +41 -0
  705. package/dist/actions/list-contracts.mjs.map +1 -0
  706. package/dist/actions/list-items.cjs +45 -0
  707. package/dist/actions/list-items.cjs.map +1 -0
  708. package/dist/actions/list-items.d.cts +9 -0
  709. package/dist/actions/list-items.d.cts.map +1 -0
  710. package/dist/actions/list-items.d.mts +9 -0
  711. package/dist/actions/list-items.d.mts.map +1 -0
  712. package/dist/actions/list-items.mjs +44 -0
  713. package/dist/actions/list-items.mjs.map +1 -0
  714. package/dist/actions/list-line-items.cjs +46 -0
  715. package/dist/actions/list-line-items.cjs.map +1 -0
  716. package/dist/actions/list-line-items.d.cts +9 -0
  717. package/dist/actions/list-line-items.d.cts.map +1 -0
  718. package/dist/actions/list-line-items.d.mts +9 -0
  719. package/dist/actions/list-line-items.d.mts.map +1 -0
  720. package/dist/actions/list-line-items.mjs +45 -0
  721. package/dist/actions/list-line-items.mjs.map +1 -0
  722. package/dist/actions/list-new-ticket-forms.cjs +33 -0
  723. package/dist/actions/list-new-ticket-forms.cjs.map +1 -0
  724. package/dist/actions/list-new-ticket-forms.d.cts +9 -0
  725. package/dist/actions/list-new-ticket-forms.d.cts.map +1 -0
  726. package/dist/actions/list-new-ticket-forms.d.mts +9 -0
  727. package/dist/actions/list-new-ticket-forms.d.mts.map +1 -0
  728. package/dist/actions/list-new-ticket-forms.mjs +32 -0
  729. package/dist/actions/list-new-ticket-forms.mjs.map +1 -0
  730. package/dist/actions/list-payment-methods.cjs +29 -0
  731. package/dist/actions/list-payment-methods.cjs.map +1 -0
  732. package/dist/actions/list-payment-methods.d.cts +9 -0
  733. package/dist/actions/list-payment-methods.d.cts.map +1 -0
  734. package/dist/actions/list-payment-methods.d.mts +9 -0
  735. package/dist/actions/list-payment-methods.d.mts.map +1 -0
  736. package/dist/actions/list-payment-methods.mjs +28 -0
  737. package/dist/actions/list-payment-methods.mjs.map +1 -0
  738. package/dist/actions/list-phones.cjs +37 -0
  739. package/dist/actions/list-phones.cjs.map +1 -0
  740. package/dist/actions/list-phones.d.cts +9 -0
  741. package/dist/actions/list-phones.d.cts.map +1 -0
  742. package/dist/actions/list-phones.d.mts +9 -0
  743. package/dist/actions/list-phones.d.mts.map +1 -0
  744. package/dist/actions/list-phones.mjs +36 -0
  745. package/dist/actions/list-phones.mjs.map +1 -0
  746. package/dist/actions/list-portal-users.cjs +38 -0
  747. package/dist/actions/list-portal-users.cjs.map +1 -0
  748. package/dist/actions/list-portal-users.d.cts +9 -0
  749. package/dist/actions/list-portal-users.d.cts.map +1 -0
  750. package/dist/actions/list-portal-users.d.mts +9 -0
  751. package/dist/actions/list-portal-users.d.mts.map +1 -0
  752. package/dist/actions/list-portal-users.mjs +37 -0
  753. package/dist/actions/list-portal-users.mjs.map +1 -0
  754. package/dist/actions/list-purchase-orders.cjs +58 -0
  755. package/dist/actions/list-purchase-orders.cjs.map +1 -0
  756. package/dist/actions/list-purchase-orders.d.cts +9 -0
  757. package/dist/actions/list-purchase-orders.d.cts.map +1 -0
  758. package/dist/actions/list-purchase-orders.d.mts +9 -0
  759. package/dist/actions/list-purchase-orders.d.mts.map +1 -0
  760. package/dist/actions/list-purchase-orders.mjs +57 -0
  761. package/dist/actions/list-purchase-orders.mjs.map +1 -0
  762. package/dist/actions/list-rmm-alerts.cjs +51 -0
  763. package/dist/actions/list-rmm-alerts.cjs.map +1 -0
  764. package/dist/actions/list-rmm-alerts.d.cts +9 -0
  765. package/dist/actions/list-rmm-alerts.d.cts.map +1 -0
  766. package/dist/actions/list-rmm-alerts.d.mts +9 -0
  767. package/dist/actions/list-rmm-alerts.d.mts.map +1 -0
  768. package/dist/actions/list-rmm-alerts.mjs +50 -0
  769. package/dist/actions/list-rmm-alerts.mjs.map +1 -0
  770. package/dist/actions/list-schedules.cjs +74 -0
  771. package/dist/actions/list-schedules.cjs.map +1 -0
  772. package/dist/actions/list-schedules.d.cts +9 -0
  773. package/dist/actions/list-schedules.d.cts.map +1 -0
  774. package/dist/actions/list-schedules.d.mts +9 -0
  775. package/dist/actions/list-schedules.d.mts.map +1 -0
  776. package/dist/actions/list-schedules.mjs +73 -0
  777. package/dist/actions/list-schedules.mjs.map +1 -0
  778. package/dist/actions/list-ticket-comments.cjs +51 -0
  779. package/dist/actions/list-ticket-comments.cjs.map +1 -0
  780. package/dist/actions/list-ticket-comments.d.cts +9 -0
  781. package/dist/actions/list-ticket-comments.d.cts.map +1 -0
  782. package/dist/actions/list-ticket-comments.d.mts +9 -0
  783. package/dist/actions/list-ticket-comments.d.mts.map +1 -0
  784. package/dist/actions/list-ticket-comments.mjs +50 -0
  785. package/dist/actions/list-ticket-comments.mjs.map +1 -0
  786. package/dist/actions/list-ticket-timers.cjs +34 -0
  787. package/dist/actions/list-ticket-timers.cjs.map +1 -0
  788. package/dist/actions/list-ticket-timers.d.cts +9 -0
  789. package/dist/actions/list-ticket-timers.d.cts.map +1 -0
  790. package/dist/actions/list-ticket-timers.d.mts +9 -0
  791. package/dist/actions/list-ticket-timers.d.mts.map +1 -0
  792. package/dist/actions/list-ticket-timers.mjs +33 -0
  793. package/dist/actions/list-ticket-timers.mjs.map +1 -0
  794. package/dist/actions/list-tickets.cjs +80 -0
  795. package/dist/actions/list-tickets.cjs.map +1 -0
  796. package/dist/actions/list-tickets.d.cts +9 -0
  797. package/dist/actions/list-tickets.d.cts.map +1 -0
  798. package/dist/actions/list-tickets.d.mts +9 -0
  799. package/dist/actions/list-tickets.d.mts.map +1 -0
  800. package/dist/actions/list-tickets.mjs +79 -0
  801. package/dist/actions/list-tickets.mjs.map +1 -0
  802. package/dist/actions/list-timelogs.cjs +30 -0
  803. package/dist/actions/list-timelogs.cjs.map +1 -0
  804. package/dist/actions/list-timelogs.d.cts +9 -0
  805. package/dist/actions/list-timelogs.d.cts.map +1 -0
  806. package/dist/actions/list-timelogs.d.mts +9 -0
  807. package/dist/actions/list-timelogs.d.mts.map +1 -0
  808. package/dist/actions/list-timelogs.mjs +29 -0
  809. package/dist/actions/list-timelogs.mjs.map +1 -0
  810. package/dist/actions/list-vendors.cjs +42 -0
  811. package/dist/actions/list-vendors.cjs.map +1 -0
  812. package/dist/actions/list-vendors.d.cts +9 -0
  813. package/dist/actions/list-vendors.d.cts.map +1 -0
  814. package/dist/actions/list-vendors.d.mts +9 -0
  815. package/dist/actions/list-vendors.d.mts.map +1 -0
  816. package/dist/actions/list-vendors.mjs +41 -0
  817. package/dist/actions/list-vendors.mjs.map +1 -0
  818. package/dist/actions/list-wiki-pages.cjs +39 -0
  819. package/dist/actions/list-wiki-pages.cjs.map +1 -0
  820. package/dist/actions/list-wiki-pages.d.cts +9 -0
  821. package/dist/actions/list-wiki-pages.d.cts.map +1 -0
  822. package/dist/actions/list-wiki-pages.d.mts +9 -0
  823. package/dist/actions/list-wiki-pages.d.mts.map +1 -0
  824. package/dist/actions/list-wiki-pages.mjs +38 -0
  825. package/dist/actions/list-wiki-pages.mjs.map +1 -0
  826. package/dist/actions/list-worksheet-results.cjs +37 -0
  827. package/dist/actions/list-worksheet-results.cjs.map +1 -0
  828. package/dist/actions/list-worksheet-results.d.cts +9 -0
  829. package/dist/actions/list-worksheet-results.d.cts.map +1 -0
  830. package/dist/actions/list-worksheet-results.d.mts +9 -0
  831. package/dist/actions/list-worksheet-results.d.mts.map +1 -0
  832. package/dist/actions/list-worksheet-results.mjs +36 -0
  833. package/dist/actions/list-worksheet-results.mjs.map +1 -0
  834. package/dist/actions/mute-rmm-alert.cjs +30 -0
  835. package/dist/actions/mute-rmm-alert.cjs.map +1 -0
  836. package/dist/actions/mute-rmm-alert.d.cts +9 -0
  837. package/dist/actions/mute-rmm-alert.d.cts.map +1 -0
  838. package/dist/actions/mute-rmm-alert.d.mts +9 -0
  839. package/dist/actions/mute-rmm-alert.d.mts.map +1 -0
  840. package/dist/actions/mute-rmm-alert.mjs +27 -0
  841. package/dist/actions/mute-rmm-alert.mjs.map +1 -0
  842. package/dist/actions/post-appointment.cjs +86 -0
  843. package/dist/actions/post-appointment.cjs.map +1 -0
  844. package/dist/actions/post-appointment.d.cts +9 -0
  845. package/dist/actions/post-appointment.d.cts.map +1 -0
  846. package/dist/actions/post-appointment.d.mts +9 -0
  847. package/dist/actions/post-appointment.d.mts.map +1 -0
  848. package/dist/actions/post-appointment.mjs +85 -0
  849. package/dist/actions/post-appointment.mjs.map +1 -0
  850. package/dist/actions/post-asset.cjs +106 -0
  851. package/dist/actions/post-asset.cjs.map +1 -0
  852. package/dist/actions/post-asset.d.cts +9 -0
  853. package/dist/actions/post-asset.d.cts.map +1 -0
  854. package/dist/actions/post-asset.d.mts +9 -0
  855. package/dist/actions/post-asset.d.mts.map +1 -0
  856. package/dist/actions/post-asset.mjs +105 -0
  857. package/dist/actions/post-asset.mjs.map +1 -0
  858. package/dist/actions/post-customer.cjs +66 -0
  859. package/dist/actions/post-customer.cjs.map +1 -0
  860. package/dist/actions/post-customer.d.cts +9 -0
  861. package/dist/actions/post-customer.d.cts.map +1 -0
  862. package/dist/actions/post-customer.d.mts +9 -0
  863. package/dist/actions/post-customer.d.mts.map +1 -0
  864. package/dist/actions/post-customer.mjs +63 -0
  865. package/dist/actions/post-customer.mjs.map +1 -0
  866. package/dist/actions/post-estimate.cjs +52 -0
  867. package/dist/actions/post-estimate.cjs.map +1 -0
  868. package/dist/actions/post-estimate.d.cts +9 -0
  869. package/dist/actions/post-estimate.d.cts.map +1 -0
  870. package/dist/actions/post-estimate.d.mts +9 -0
  871. package/dist/actions/post-estimate.d.mts.map +1 -0
  872. package/dist/actions/post-estimate.mjs +51 -0
  873. package/dist/actions/post-estimate.mjs.map +1 -0
  874. package/dist/actions/post-invoice.cjs +68 -0
  875. package/dist/actions/post-invoice.cjs.map +1 -0
  876. package/dist/actions/post-invoice.d.cts +9 -0
  877. package/dist/actions/post-invoice.d.cts.map +1 -0
  878. package/dist/actions/post-invoice.d.mts +9 -0
  879. package/dist/actions/post-invoice.d.mts.map +1 -0
  880. package/dist/actions/post-invoice.mjs +67 -0
  881. package/dist/actions/post-invoice.mjs.map +1 -0
  882. package/dist/actions/post-lead.cjs +55 -0
  883. package/dist/actions/post-lead.cjs.map +1 -0
  884. package/dist/actions/post-lead.d.cts +9 -0
  885. package/dist/actions/post-lead.d.cts.map +1 -0
  886. package/dist/actions/post-lead.d.mts +9 -0
  887. package/dist/actions/post-lead.d.mts.map +1 -0
  888. package/dist/actions/post-lead.mjs +52 -0
  889. package/dist/actions/post-lead.mjs.map +1 -0
  890. package/dist/actions/post-payment.cjs +58 -0
  891. package/dist/actions/post-payment.cjs.map +1 -0
  892. package/dist/actions/post-payment.d.cts +9 -0
  893. package/dist/actions/post-payment.d.cts.map +1 -0
  894. package/dist/actions/post-payment.d.mts +9 -0
  895. package/dist/actions/post-payment.d.mts.map +1 -0
  896. package/dist/actions/post-payment.mjs +57 -0
  897. package/dist/actions/post-payment.mjs.map +1 -0
  898. package/dist/actions/post-product-photo.cjs +22 -0
  899. package/dist/actions/post-product-photo.cjs.map +1 -0
  900. package/dist/actions/post-product-photo.d.cts +9 -0
  901. package/dist/actions/post-product-photo.d.cts.map +1 -0
  902. package/dist/actions/post-product-photo.d.mts +9 -0
  903. package/dist/actions/post-product-photo.d.mts.map +1 -0
  904. package/dist/actions/post-product-photo.mjs +19 -0
  905. package/dist/actions/post-product-photo.mjs.map +1 -0
  906. package/dist/actions/post-product.cjs +51 -0
  907. package/dist/actions/post-product.cjs.map +1 -0
  908. package/dist/actions/post-product.d.cts +9 -0
  909. package/dist/actions/post-product.d.cts.map +1 -0
  910. package/dist/actions/post-product.d.mts +9 -0
  911. package/dist/actions/post-product.d.mts.map +1 -0
  912. package/dist/actions/post-product.mjs +48 -0
  913. package/dist/actions/post-product.mjs.map +1 -0
  914. package/dist/actions/post-purchase-order.cjs +53 -0
  915. package/dist/actions/post-purchase-order.cjs.map +1 -0
  916. package/dist/actions/post-purchase-order.d.cts +9 -0
  917. package/dist/actions/post-purchase-order.d.cts.map +1 -0
  918. package/dist/actions/post-purchase-order.d.mts +9 -0
  919. package/dist/actions/post-purchase-order.d.mts.map +1 -0
  920. package/dist/actions/post-purchase-order.mjs +50 -0
  921. package/dist/actions/post-purchase-order.mjs.map +1 -0
  922. package/dist/actions/post-user-device.cjs +39 -0
  923. package/dist/actions/post-user-device.cjs.map +1 -0
  924. package/dist/actions/post-user-device.d.cts +9 -0
  925. package/dist/actions/post-user-device.d.cts.map +1 -0
  926. package/dist/actions/post-user-device.d.mts +9 -0
  927. package/dist/actions/post-user-device.d.mts.map +1 -0
  928. package/dist/actions/post-user-device.mjs +36 -0
  929. package/dist/actions/post-user-device.mjs.map +1 -0
  930. package/dist/actions/print-estimate.cjs +19 -0
  931. package/dist/actions/print-estimate.cjs.map +1 -0
  932. package/dist/actions/print-estimate.d.cts +9 -0
  933. package/dist/actions/print-estimate.d.cts.map +1 -0
  934. package/dist/actions/print-estimate.d.mts +9 -0
  935. package/dist/actions/print-estimate.d.mts.map +1 -0
  936. package/dist/actions/print-estimate.mjs +16 -0
  937. package/dist/actions/print-estimate.mjs.map +1 -0
  938. package/dist/actions/print-invoice.cjs +19 -0
  939. package/dist/actions/print-invoice.cjs.map +1 -0
  940. package/dist/actions/print-invoice.d.cts +9 -0
  941. package/dist/actions/print-invoice.d.cts.map +1 -0
  942. package/dist/actions/print-invoice.d.mts +9 -0
  943. package/dist/actions/print-invoice.d.mts.map +1 -0
  944. package/dist/actions/print-invoice.mjs +16 -0
  945. package/dist/actions/print-invoice.mjs.map +1 -0
  946. package/dist/actions/print-ticket.cjs +16 -0
  947. package/dist/actions/print-ticket.cjs.map +1 -0
  948. package/dist/actions/print-ticket.d.cts +9 -0
  949. package/dist/actions/print-ticket.d.cts.map +1 -0
  950. package/dist/actions/print-ticket.d.mts +9 -0
  951. package/dist/actions/print-ticket.d.mts.map +1 -0
  952. package/dist/actions/print-ticket.mjs +13 -0
  953. package/dist/actions/print-ticket.mjs.map +1 -0
  954. package/dist/actions/process-ticket-form.cjs +64 -0
  955. package/dist/actions/process-ticket-form.cjs.map +1 -0
  956. package/dist/actions/process-ticket-form.d.cts +9 -0
  957. package/dist/actions/process-ticket-form.d.cts.map +1 -0
  958. package/dist/actions/process-ticket-form.d.mts +9 -0
  959. package/dist/actions/process-ticket-form.d.mts.map +1 -0
  960. package/dist/actions/process-ticket-form.mjs +61 -0
  961. package/dist/actions/process-ticket-form.mjs.map +1 -0
  962. package/dist/actions/receive-purchase-order.cjs +42 -0
  963. package/dist/actions/receive-purchase-order.cjs.map +1 -0
  964. package/dist/actions/receive-purchase-order.d.cts +9 -0
  965. package/dist/actions/receive-purchase-order.d.cts.map +1 -0
  966. package/dist/actions/receive-purchase-order.d.mts +9 -0
  967. package/dist/actions/receive-purchase-order.d.mts.map +1 -0
  968. package/dist/actions/receive-purchase-order.mjs +39 -0
  969. package/dist/actions/receive-purchase-order.mjs.map +1 -0
  970. package/dist/actions/remove-ticket-line-item.cjs +19 -0
  971. package/dist/actions/remove-ticket-line-item.cjs.map +1 -0
  972. package/dist/actions/remove-ticket-line-item.d.cts +9 -0
  973. package/dist/actions/remove-ticket-line-item.d.cts.map +1 -0
  974. package/dist/actions/remove-ticket-line-item.d.mts +9 -0
  975. package/dist/actions/remove-ticket-line-item.d.mts.map +1 -0
  976. package/dist/actions/remove-ticket-line-item.mjs +16 -0
  977. package/dist/actions/remove-ticket-line-item.mjs.map +1 -0
  978. package/dist/actions/search-all.cjs +29 -0
  979. package/dist/actions/search-all.cjs.map +1 -0
  980. package/dist/actions/search-all.d.cts +9 -0
  981. package/dist/actions/search-all.d.cts.map +1 -0
  982. package/dist/actions/search-all.d.mts +9 -0
  983. package/dist/actions/search-all.d.mts.map +1 -0
  984. package/dist/actions/search-all.mjs +28 -0
  985. package/dist/actions/search-all.mjs.map +1 -0
  986. package/dist/actions/update-appointment-type.cjs +33 -0
  987. package/dist/actions/update-appointment-type.cjs.map +1 -0
  988. package/dist/actions/update-appointment-type.d.cts +9 -0
  989. package/dist/actions/update-appointment-type.d.cts.map +1 -0
  990. package/dist/actions/update-appointment-type.d.mts +9 -0
  991. package/dist/actions/update-appointment-type.d.mts.map +1 -0
  992. package/dist/actions/update-appointment-type.mjs +30 -0
  993. package/dist/actions/update-appointment-type.mjs.map +1 -0
  994. package/dist/actions/update-appointment.cjs +49 -0
  995. package/dist/actions/update-appointment.cjs.map +1 -0
  996. package/dist/actions/update-appointment.d.cts +9 -0
  997. package/dist/actions/update-appointment.d.cts.map +1 -0
  998. package/dist/actions/update-appointment.d.mts +9 -0
  999. package/dist/actions/update-appointment.d.mts.map +1 -0
  1000. package/dist/actions/update-appointment.mjs +48 -0
  1001. package/dist/actions/update-appointment.mjs.map +1 -0
  1002. package/dist/actions/update-asset.cjs +107 -0
  1003. package/dist/actions/update-asset.cjs.map +1 -0
  1004. package/dist/actions/update-asset.d.cts +9 -0
  1005. package/dist/actions/update-asset.d.cts.map +1 -0
  1006. package/dist/actions/update-asset.d.mts +9 -0
  1007. package/dist/actions/update-asset.d.mts.map +1 -0
  1008. package/dist/actions/update-asset.mjs +106 -0
  1009. package/dist/actions/update-asset.mjs.map +1 -0
  1010. package/dist/actions/update-canned-response.cjs +30 -0
  1011. package/dist/actions/update-canned-response.cjs.map +1 -0
  1012. package/dist/actions/update-canned-response.d.cts +9 -0
  1013. package/dist/actions/update-canned-response.d.cts.map +1 -0
  1014. package/dist/actions/update-canned-response.d.mts +9 -0
  1015. package/dist/actions/update-canned-response.d.mts.map +1 -0
  1016. package/dist/actions/update-canned-response.mjs +27 -0
  1017. package/dist/actions/update-canned-response.mjs.map +1 -0
  1018. package/dist/actions/update-contact.cjs +58 -0
  1019. package/dist/actions/update-contact.cjs.map +1 -0
  1020. package/dist/actions/update-contact.d.cts +9 -0
  1021. package/dist/actions/update-contact.d.cts.map +1 -0
  1022. package/dist/actions/update-contact.d.mts +9 -0
  1023. package/dist/actions/update-contact.d.mts.map +1 -0
  1024. package/dist/actions/update-contact.mjs +55 -0
  1025. package/dist/actions/update-contact.mjs.map +1 -0
  1026. package/dist/actions/update-contract.cjs +45 -0
  1027. package/dist/actions/update-contract.cjs.map +1 -0
  1028. package/dist/actions/update-contract.d.cts +9 -0
  1029. package/dist/actions/update-contract.d.cts.map +1 -0
  1030. package/dist/actions/update-contract.d.mts +9 -0
  1031. package/dist/actions/update-contract.d.mts.map +1 -0
  1032. package/dist/actions/update-contract.mjs +42 -0
  1033. package/dist/actions/update-contract.mjs.map +1 -0
  1034. package/dist/actions/update-customer.cjs +79 -0
  1035. package/dist/actions/update-customer.cjs.map +1 -0
  1036. package/dist/actions/update-customer.d.cts +9 -0
  1037. package/dist/actions/update-customer.d.cts.map +1 -0
  1038. package/dist/actions/update-customer.d.mts +9 -0
  1039. package/dist/actions/update-customer.d.mts.map +1 -0
  1040. package/dist/actions/update-customer.mjs +76 -0
  1041. package/dist/actions/update-customer.mjs.map +1 -0
  1042. package/dist/actions/update-estimate-line-item.cjs +52 -0
  1043. package/dist/actions/update-estimate-line-item.cjs.map +1 -0
  1044. package/dist/actions/update-estimate-line-item.d.cts +9 -0
  1045. package/dist/actions/update-estimate-line-item.d.cts.map +1 -0
  1046. package/dist/actions/update-estimate-line-item.d.mts +9 -0
  1047. package/dist/actions/update-estimate-line-item.d.mts.map +1 -0
  1048. package/dist/actions/update-estimate-line-item.mjs +51 -0
  1049. package/dist/actions/update-estimate-line-item.mjs.map +1 -0
  1050. package/dist/actions/update-estimate.cjs +50 -0
  1051. package/dist/actions/update-estimate.cjs.map +1 -0
  1052. package/dist/actions/update-estimate.d.cts +9 -0
  1053. package/dist/actions/update-estimate.d.cts.map +1 -0
  1054. package/dist/actions/update-estimate.d.mts +9 -0
  1055. package/dist/actions/update-estimate.d.mts.map +1 -0
  1056. package/dist/actions/update-estimate.mjs +47 -0
  1057. package/dist/actions/update-estimate.mjs.map +1 -0
  1058. package/dist/actions/update-invoice-line-item.cjs +55 -0
  1059. package/dist/actions/update-invoice-line-item.cjs.map +1 -0
  1060. package/dist/actions/update-invoice-line-item.d.cts +9 -0
  1061. package/dist/actions/update-invoice-line-item.d.cts.map +1 -0
  1062. package/dist/actions/update-invoice-line-item.d.mts +9 -0
  1063. package/dist/actions/update-invoice-line-item.d.mts.map +1 -0
  1064. package/dist/actions/update-invoice-line-item.mjs +54 -0
  1065. package/dist/actions/update-invoice-line-item.mjs.map +1 -0
  1066. package/dist/actions/update-invoice.cjs +59 -0
  1067. package/dist/actions/update-invoice.cjs.map +1 -0
  1068. package/dist/actions/update-invoice.d.cts +9 -0
  1069. package/dist/actions/update-invoice.d.cts.map +1 -0
  1070. package/dist/actions/update-invoice.d.mts +9 -0
  1071. package/dist/actions/update-invoice.d.mts.map +1 -0
  1072. package/dist/actions/update-invoice.mjs +58 -0
  1073. package/dist/actions/update-invoice.mjs.map +1 -0
  1074. package/dist/actions/update-lead.cjs +89 -0
  1075. package/dist/actions/update-lead.cjs.map +1 -0
  1076. package/dist/actions/update-lead.d.cts +9 -0
  1077. package/dist/actions/update-lead.d.cts.map +1 -0
  1078. package/dist/actions/update-lead.d.mts +9 -0
  1079. package/dist/actions/update-lead.d.mts.map +1 -0
  1080. package/dist/actions/update-lead.mjs +86 -0
  1081. package/dist/actions/update-lead.mjs.map +1 -0
  1082. package/dist/actions/update-phone.cjs +30 -0
  1083. package/dist/actions/update-phone.cjs.map +1 -0
  1084. package/dist/actions/update-phone.d.cts +9 -0
  1085. package/dist/actions/update-phone.d.cts.map +1 -0
  1086. package/dist/actions/update-phone.d.mts +9 -0
  1087. package/dist/actions/update-phone.d.mts.map +1 -0
  1088. package/dist/actions/update-phone.mjs +27 -0
  1089. package/dist/actions/update-phone.mjs.map +1 -0
  1090. package/dist/actions/update-portal-user.cjs +32 -0
  1091. package/dist/actions/update-portal-user.cjs.map +1 -0
  1092. package/dist/actions/update-portal-user.d.cts +9 -0
  1093. package/dist/actions/update-portal-user.d.cts.map +1 -0
  1094. package/dist/actions/update-portal-user.d.mts +9 -0
  1095. package/dist/actions/update-portal-user.d.mts.map +1 -0
  1096. package/dist/actions/update-portal-user.mjs +29 -0
  1097. package/dist/actions/update-portal-user.mjs.map +1 -0
  1098. package/dist/actions/update-product-serial.cjs +34 -0
  1099. package/dist/actions/update-product-serial.cjs.map +1 -0
  1100. package/dist/actions/update-product-serial.d.cts +9 -0
  1101. package/dist/actions/update-product-serial.d.cts.map +1 -0
  1102. package/dist/actions/update-product-serial.d.mts +9 -0
  1103. package/dist/actions/update-product-serial.d.mts.map +1 -0
  1104. package/dist/actions/update-product-serial.mjs +31 -0
  1105. package/dist/actions/update-product-serial.mjs.map +1 -0
  1106. package/dist/actions/update-product.cjs +64 -0
  1107. package/dist/actions/update-product.cjs.map +1 -0
  1108. package/dist/actions/update-product.d.cts +9 -0
  1109. package/dist/actions/update-product.d.cts.map +1 -0
  1110. package/dist/actions/update-product.d.mts +9 -0
  1111. package/dist/actions/update-product.d.mts.map +1 -0
  1112. package/dist/actions/update-product.mjs +61 -0
  1113. package/dist/actions/update-product.mjs.map +1 -0
  1114. package/dist/actions/update-schedule-line-item.cjs +60 -0
  1115. package/dist/actions/update-schedule-line-item.cjs.map +1 -0
  1116. package/dist/actions/update-schedule-line-item.d.cts +9 -0
  1117. package/dist/actions/update-schedule-line-item.d.cts.map +1 -0
  1118. package/dist/actions/update-schedule-line-item.d.mts +9 -0
  1119. package/dist/actions/update-schedule-line-item.d.mts.map +1 -0
  1120. package/dist/actions/update-schedule-line-item.mjs +57 -0
  1121. package/dist/actions/update-schedule-line-item.mjs.map +1 -0
  1122. package/dist/actions/update-schedule.cjs +86 -0
  1123. package/dist/actions/update-schedule.cjs.map +1 -0
  1124. package/dist/actions/update-schedule.d.cts +9 -0
  1125. package/dist/actions/update-schedule.d.cts.map +1 -0
  1126. package/dist/actions/update-schedule.d.mts +9 -0
  1127. package/dist/actions/update-schedule.d.mts.map +1 -0
  1128. package/dist/actions/update-schedule.mjs +85 -0
  1129. package/dist/actions/update-schedule.mjs.map +1 -0
  1130. package/dist/actions/update-ticket-line-item.cjs +41 -0
  1131. package/dist/actions/update-ticket-line-item.cjs.map +1 -0
  1132. package/dist/actions/update-ticket-line-item.d.cts +9 -0
  1133. package/dist/actions/update-ticket-line-item.d.cts.map +1 -0
  1134. package/dist/actions/update-ticket-line-item.d.mts +9 -0
  1135. package/dist/actions/update-ticket-line-item.d.mts.map +1 -0
  1136. package/dist/actions/update-ticket-line-item.mjs +40 -0
  1137. package/dist/actions/update-ticket-line-item.mjs.map +1 -0
  1138. package/dist/actions/update-ticket-timer.cjs +42 -0
  1139. package/dist/actions/update-ticket-timer.cjs.map +1 -0
  1140. package/dist/actions/update-ticket-timer.d.cts +9 -0
  1141. package/dist/actions/update-ticket-timer.d.cts.map +1 -0
  1142. package/dist/actions/update-ticket-timer.d.mts +9 -0
  1143. package/dist/actions/update-ticket-timer.d.mts.map +1 -0
  1144. package/dist/actions/update-ticket-timer.mjs +39 -0
  1145. package/dist/actions/update-ticket-timer.mjs.map +1 -0
  1146. package/dist/actions/update-ticket.cjs +89 -0
  1147. package/dist/actions/update-ticket.cjs.map +1 -0
  1148. package/dist/actions/update-ticket.d.cts +9 -0
  1149. package/dist/actions/update-ticket.d.cts.map +1 -0
  1150. package/dist/actions/update-ticket.d.mts +9 -0
  1151. package/dist/actions/update-ticket.d.mts.map +1 -0
  1152. package/dist/actions/update-ticket.mjs +88 -0
  1153. package/dist/actions/update-ticket.mjs.map +1 -0
  1154. package/dist/actions/update-timelog.cjs +36 -0
  1155. package/dist/actions/update-timelog.cjs.map +1 -0
  1156. package/dist/actions/update-timelog.d.cts +9 -0
  1157. package/dist/actions/update-timelog.d.cts.map +1 -0
  1158. package/dist/actions/update-timelog.d.mts +9 -0
  1159. package/dist/actions/update-timelog.d.mts.map +1 -0
  1160. package/dist/actions/update-timelog.mjs +33 -0
  1161. package/dist/actions/update-timelog.mjs.map +1 -0
  1162. package/dist/actions/update-user-device.cjs +35 -0
  1163. package/dist/actions/update-user-device.cjs.map +1 -0
  1164. package/dist/actions/update-user-device.d.cts +9 -0
  1165. package/dist/actions/update-user-device.d.cts.map +1 -0
  1166. package/dist/actions/update-user-device.d.mts +9 -0
  1167. package/dist/actions/update-user-device.d.mts.map +1 -0
  1168. package/dist/actions/update-user-device.mjs +32 -0
  1169. package/dist/actions/update-user-device.mjs.map +1 -0
  1170. package/dist/actions/update-vendor.cjs +46 -0
  1171. package/dist/actions/update-vendor.cjs.map +1 -0
  1172. package/dist/actions/update-vendor.d.cts +9 -0
  1173. package/dist/actions/update-vendor.d.cts.map +1 -0
  1174. package/dist/actions/update-vendor.d.mts +9 -0
  1175. package/dist/actions/update-vendor.d.mts.map +1 -0
  1176. package/dist/actions/update-vendor.mjs +43 -0
  1177. package/dist/actions/update-vendor.mjs.map +1 -0
  1178. package/dist/actions/update-wiki-page.cjs +37 -0
  1179. package/dist/actions/update-wiki-page.cjs.map +1 -0
  1180. package/dist/actions/update-wiki-page.d.cts +9 -0
  1181. package/dist/actions/update-wiki-page.d.cts.map +1 -0
  1182. package/dist/actions/update-wiki-page.d.mts +9 -0
  1183. package/dist/actions/update-wiki-page.d.mts.map +1 -0
  1184. package/dist/actions/update-wiki-page.mjs +34 -0
  1185. package/dist/actions/update-wiki-page.mjs.map +1 -0
  1186. package/dist/app.cjs +9 -0
  1187. package/dist/app.cjs.map +1 -0
  1188. package/dist/app.d.cts +5 -0
  1189. package/dist/app.d.cts.map +1 -0
  1190. package/dist/app.d.mts +5 -0
  1191. package/dist/app.d.mts.map +1 -0
  1192. package/dist/app.mjs +10 -0
  1193. package/dist/app.mjs.map +1 -0
  1194. package/dist/catalog.cjs +15 -0
  1195. package/dist/catalog.cjs.map +1 -0
  1196. package/dist/catalog.d.cts +14 -0
  1197. package/dist/catalog.d.cts.map +1 -0
  1198. package/dist/catalog.d.mts +14 -0
  1199. package/dist/catalog.d.mts.map +1 -0
  1200. package/dist/catalog.mjs +15 -0
  1201. package/dist/catalog.mjs.map +1 -0
  1202. package/dist/execute.cjs +18 -0
  1203. package/dist/execute.cjs.map +1 -0
  1204. package/dist/execute.mjs +18 -0
  1205. package/dist/execute.mjs.map +1 -0
  1206. package/dist/index.cjs +300 -0
  1207. package/dist/index.d.cts +150 -0
  1208. package/dist/index.d.mts +150 -0
  1209. package/dist/index.mjs +151 -0
  1210. package/package.json +49 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-invoice-ticket.mjs","names":[],"sources":["../../src/actions/get-invoice-ticket.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RepairshoprGetInvoiceTicketInput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"ID of the invoice whose associated ticket will be returned\"),\n}).describe(\"Path parameters for GET /invoices/{id}/ticket\");\nconst RepairshoprGetInvoiceTicket_GetInvoiceTicketResponseCommentSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Comment ID\"),\n body: z.string().describe(\"Text content of the comment\").nullable().optional(),\n tech: z.string().describe(\"Technician name if applicable\").nullable().optional(),\n hidden: z.boolean().describe(\"Whether the comment is hidden from customer\"),\n subject: z.string().describe(\"Subject of the comment\").nullable().optional(),\n user_id: z.number().int().describe(\"ID of the user who made the comment\").nullable().optional(),\n ticket_id: z.number().int().describe(\"ID of the ticket this comment belongs to\"),\n created_at: z.string().describe(\"Timestamp when the comment was added (ISO 8601)\"),\n updated_at: z.string().describe(\"Timestamp when the comment was last updated (ISO 8601)\"),\n}).describe(\"Comment object for ticket comments\");\nconst RepairshoprGetInvoiceTicket_GetInvoiceTicketResponseAttachmentSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Attachment ID\"),\n url: z.string().describe(\"URL to access the attachment\"),\n filename: z.string().describe(\"Name of the attached file\"),\n}).describe(\"Attachment object for ticket attachments\");\nexport const RepairshoprGetInvoiceTicketOutput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Ticket ID\"),\n number: z.number().int().describe(\"Ticket number for display\").nullable().optional(),\n status: z.string().describe(\"Current status of the ticket (e.g., New, In Progress, Waiting on Customer, Resolved)\"),\n pdf_url: z.string().describe(\"URL to the ticket PDF\").nullable().optional(),\n subject: z.string().describe(\"Subject or title of the ticket\"),\n user_id: z.number().int().describe(\"ID of the technician or staff assigned to the ticket\").nullable().optional(),\n comments: z.array(RepairshoprGetInvoiceTicket_GetInvoiceTicketResponseCommentSchema).describe(\"List of comments on the ticket\").nullable().optional(),\n due_date: z.string().describe(\"Due date for resolving the ticket (ISO 8601)\").nullable().optional(),\n priority: z.string().describe(\"Priority level of the ticket (e.g., 0 Urgent, 1 High, 2 Normal, 3 Low)\"),\n tag_list: z.array(z.string()).describe(\"Tags associated with the ticket\").nullable().optional(),\n contact_id: z.number().int().describe(\"ID of the primary contact for this ticket\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the ticket was created (ISO 8601)\"),\n updated_at: z.string().describe(\"Timestamp when the ticket was last updated (ISO 8601)\"),\n attachments: z.array(RepairshoprGetInvoiceTicket_GetInvoiceTicketResponseAttachmentSchema).describe(\"List of files attached to the ticket\").nullable().optional(),\n customer_id: z.number().int().describe(\"ID of the customer associated with the ticket\"),\n location_id: z.number().int().describe(\"Location ID if applicable\").nullable().optional(),\n resolved_at: z.string().describe(\"Timestamp when the ticket was resolved (ISO 8601)\").nullable().optional(),\n problem_type: z.string().describe(\"Type of problem (e.g., Remote Support, Network Project, Onboarding)\").nullable().optional(),\n billing_status: z.string().describe(\"Billing status (e.g., Billable, Non-Billable)\").nullable().optional(),\n customer_business_then_name: z.string().describe(\"Customer's business name or full name\").nullable().optional(),\n}).describe(\"Response schema for GET /invoices/{id}/ticket\");\n\nexport const repairshoprGetInvoiceTicket = action(\"REPAIRSHOPR_GET_INVOICE_TICKET\", {\n slug: \"repairshopr-get-invoice-ticket\",\n name: \"Get Invoice Ticket\",\n description: \"Tool to retrieve the associated ticket for a specific invoice. Use when you need ticket details linked to an invoice. Requires \\\"Invoices - View Details\\\" and \\\"Tickets - View Details\\\" permissions.\",\n input: RepairshoprGetInvoiceTicketInput,\n output: RepairshoprGetInvoiceTicketOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAiD,EAAE,OAAO,EACrE,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4DAA4D,EAC5F,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAC3D,MAAM,oEAAkF,EAAE,OAAO;CAC/F,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,YAAY;CAC1C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC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EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,CAAC,CAAC,CAAC,SAAS,+CAOF;AACV,CAAC"}
@@ -0,0 +1,85 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/get-invoice.ts
4
+ const RepairshoprGetInvoiceInput = zod.z.object({ id: zod.z.number().int().describe("ID or number of the invoice to retrieve") }).describe("Path parameters for GET /invoices/{id}");
5
+ const RepairshoprGetInvoice_GetInvoiceResponseCustomerContactSchema = zod.z.object({ email: zod.z.string().describe("Email address of the contact.") }).describe("Contact entry in invoice customer contacts list");
6
+ const RepairshoprGetInvoice_GetInvoiceResponseCustomerSchema = zod.z.object({
7
+ id: zod.z.number().int().describe("Unique identifier of the customer."),
8
+ zip: zod.z.string().describe("ZIP code of the customer address."),
9
+ city: zod.z.string().describe("City of the customer address."),
10
+ email: zod.z.string().describe("Email address of the customer."),
11
+ notes: zod.z.string().describe("Additional notes about the customer.").nullable().optional(),
12
+ phone: zod.z.string().describe("Phone number of the customer."),
13
+ state: zod.z.string().describe("State of the customer address."),
14
+ mobile: zod.z.string().describe("Mobile number of the customer.").nullable().optional(),
15
+ address: zod.z.string().describe("Street address of the customer."),
16
+ get_sms: zod.z.boolean().describe("Customer has SMS enabled."),
17
+ opt_out: zod.z.boolean().describe("Customer has opted out of marketing."),
18
+ pdf_url: zod.z.string().describe("PDF URL of the customer profile.").nullable().optional(),
19
+ contacts: zod.z.array(RepairshoprGetInvoice_GetInvoiceResponseCustomerContactSchema).describe("List of contact emails for the customer."),
20
+ disabled: zod.z.boolean().describe("Customer account is disabled."),
21
+ fullname: zod.z.string().describe("Full name of the customer."),
22
+ lastname: zod.z.string().describe("Last name of the customer."),
23
+ latitude: zod.z.string().describe("Latitude coordinate of the customer address.").nullable().optional(),
24
+ no_email: zod.z.boolean().describe("Customer will not receive emails."),
25
+ address_2: zod.z.string().describe("Secondary address line of the customer.").nullable().optional(),
26
+ firstname: zod.z.string().describe("First name of the customer."),
27
+ longitude: zod.z.string().describe("Longitude coordinate of the customer address.").nullable().optional(),
28
+ created_at: zod.z.string().describe("Record creation timestamp."),
29
+ properties: zod.z.object({}).describe("Additional properties as key-value pairs."),
30
+ updated_at: zod.z.string().describe("Record last updated timestamp."),
31
+ location_id: zod.z.number().int().describe("Location identifier of the customer.").nullable().optional(),
32
+ referred_by: zod.z.string().describe("Referrer for the customer.").nullable().optional(),
33
+ tax_rate_id: zod.z.number().int().describe("Tax rate identifier for the customer.").nullable().optional(),
34
+ business_name: zod.z.string().describe("Business name of the customer."),
35
+ location_name: zod.z.string().describe("Name of the customer's location.").nullable().optional(),
36
+ invoice_term_id: zod.z.number().int().describe("Payment term identifier for invoices.").nullable().optional(),
37
+ ref_customer_id: zod.z.number().int().describe("Original customer ID if referred.").nullable().optional(),
38
+ invoice_cc_emails: zod.z.string().describe("CC emails for invoices.").nullable().optional(),
39
+ business_then_name: zod.z.string().describe("Business then full name of the customer."),
40
+ notification_email: zod.z.string().describe("Notification email for the customer.").nullable().optional(),
41
+ online_profile_url: zod.z.string().describe("URL to the customer's online profile."),
42
+ business_and_full_name: zod.z.string().describe("Combined business and full name of the customer.")
43
+ }).describe("Customer object returned with invoice");
44
+ const RepairshoprGetInvoice_GetInvoiceResponsePaymentSchema = zod.z.object({ id: zod.z.number().int().describe("Identifier of the payment.") }).describe("Payment entry associated with the invoice");
45
+ const RepairshoprGetInvoice_GetInvoiceResponseLineItemSchema = zod.z.object({
46
+ item: zod.z.string().describe("Identifier or SKU of the line item."),
47
+ name: zod.z.string().describe("Display name of the line item.")
48
+ }).describe("Line item in the invoice");
49
+ const RepairshoprGetInvoiceOutput = zod.z.object({
50
+ id: zod.z.number().int().describe("Unique identifier of the invoice."),
51
+ tax: zod.z.string().describe("Tax amount as string."),
52
+ date: zod.z.string().describe("Issue date of the invoice (ISO 8601)."),
53
+ note: zod.z.string().describe("Additional notes on the invoice.").nullable().optional(),
54
+ total: zod.z.string().describe("Total amount as string."),
55
+ number: zod.z.string().describe("Invoice number."),
56
+ is_paid: zod.z.boolean().describe("Whether the invoice is fully paid."),
57
+ pdf_url: zod.z.string().describe("PDF URL for the invoice.").nullable().optional(),
58
+ user_id: zod.z.number().int().describe("User identifier who created the invoice.").nullable().optional(),
59
+ customer: RepairshoprGetInvoice_GetInvoiceResponseCustomerSchema.nullable(),
60
+ due_date: zod.z.string().describe("Due date of the invoice (YYYY-MM-DD)."),
61
+ payments: zod.z.array(RepairshoprGetInvoice_GetInvoiceResponsePaymentSchema).describe("List of payments applied to the invoice."),
62
+ subtotal: zod.z.string().describe("Subtotal amount as string."),
63
+ po_number: zod.z.string().describe("Purchase order number.").nullable().optional(),
64
+ ticket_id: zod.z.number().int().describe("Associated ticket identifier.").nullable().optional(),
65
+ contact_id: zod.z.number().int().describe("Primary contact identifier for the invoice.").nullable().optional(),
66
+ created_at: zod.z.string().describe("Creation timestamp of the invoice (ISO 8601)."),
67
+ line_items: zod.z.array(RepairshoprGetInvoice_GetInvoiceResponseLineItemSchema).describe("List of line items on the invoice."),
68
+ updated_at: zod.z.string().describe("Last update timestamp of the invoice (ISO 8601)."),
69
+ location_id: zod.z.number().int().describe("Location identifier for the invoice.").nullable().optional(),
70
+ hardwarecost: zod.z.number().describe("Hardware cost amount."),
71
+ date_received: zod.z.string().describe("Date the invoice was received (ISO 8601).").nullable().optional(),
72
+ verified_paid: zod.z.boolean().describe("Whether payment is verified."),
73
+ tech_marked_paid: zod.z.boolean().describe("Whether a technician marked the invoice as paid.")
74
+ }).describe("Response schema for GET /invoices/{id}");
75
+ const repairshoprGetInvoice = require_action.action("REPAIRSHOPR_GET_INVOICE", {
76
+ slug: "repairshopr-get-invoice",
77
+ name: "Get Invoice",
78
+ description: "Tool to retrieve details of a specific invoice by ID. Use after confirming the invoice exists. Example: \"Get invoice details for ID 456\".",
79
+ input: RepairshoprGetInvoiceInput,
80
+ output: RepairshoprGetInvoiceOutput
81
+ });
82
+ //#endregion
83
+ exports.repairshoprGetInvoice = repairshoprGetInvoice;
84
+
85
+ //# sourceMappingURL=get-invoice.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-invoice.cjs","names":["z","action"],"sources":["../../src/actions/get-invoice.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RepairshoprGetInvoiceInput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"ID or number of the invoice to retrieve\"),\n}).describe(\"Path parameters for GET /invoices/{id}\");\nconst RepairshoprGetInvoice_GetInvoiceResponseCustomerContactSchema: z.ZodTypeAny = z.object({\n email: z.string().describe(\"Email address of the contact.\"),\n}).describe(\"Contact entry in invoice customer contacts list\");\nconst RepairshoprGetInvoice_GetInvoiceResponseCustomerSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier of the customer.\"),\n zip: z.string().describe(\"ZIP code of the customer address.\"),\n city: z.string().describe(\"City of the customer address.\"),\n email: z.string().describe(\"Email address of the customer.\"),\n notes: z.string().describe(\"Additional notes about the customer.\").nullable().optional(),\n phone: z.string().describe(\"Phone number of the customer.\"),\n state: z.string().describe(\"State of the customer address.\"),\n mobile: z.string().describe(\"Mobile number of the customer.\").nullable().optional(),\n address: z.string().describe(\"Street address of the customer.\"),\n get_sms: z.boolean().describe(\"Customer has SMS enabled.\"),\n opt_out: z.boolean().describe(\"Customer has opted out of marketing.\"),\n pdf_url: z.string().describe(\"PDF URL of the customer profile.\").nullable().optional(),\n contacts: z.array(RepairshoprGetInvoice_GetInvoiceResponseCustomerContactSchema).describe(\"List of contact emails for the customer.\"),\n disabled: z.boolean().describe(\"Customer account is disabled.\"),\n fullname: z.string().describe(\"Full name of the customer.\"),\n lastname: z.string().describe(\"Last name of the customer.\"),\n latitude: z.string().describe(\"Latitude coordinate of the customer address.\").nullable().optional(),\n no_email: z.boolean().describe(\"Customer will not receive emails.\"),\n address_2: z.string().describe(\"Secondary address line of the customer.\").nullable().optional(),\n firstname: z.string().describe(\"First name of the customer.\"),\n longitude: z.string().describe(\"Longitude coordinate of the customer address.\").nullable().optional(),\n created_at: z.string().describe(\"Record creation timestamp.\"),\n properties: z.object({}).describe(\"Additional properties as key-value pairs.\"),\n updated_at: z.string().describe(\"Record last updated timestamp.\"),\n location_id: z.number().int().describe(\"Location identifier of the customer.\").nullable().optional(),\n referred_by: z.string().describe(\"Referrer for the customer.\").nullable().optional(),\n tax_rate_id: z.number().int().describe(\"Tax rate identifier for the customer.\").nullable().optional(),\n business_name: z.string().describe(\"Business name of the customer.\"),\n location_name: z.string().describe(\"Name of the customer's location.\").nullable().optional(),\n invoice_term_id: z.number().int().describe(\"Payment term identifier for invoices.\").nullable().optional(),\n ref_customer_id: z.number().int().describe(\"Original customer ID if referred.\").nullable().optional(),\n invoice_cc_emails: z.string().describe(\"CC emails for invoices.\").nullable().optional(),\n business_then_name: z.string().describe(\"Business then full name of the customer.\"),\n notification_email: z.string().describe(\"Notification email for the customer.\").nullable().optional(),\n online_profile_url: z.string().describe(\"URL to the customer's online profile.\"),\n business_and_full_name: z.string().describe(\"Combined business and full name of the customer.\"),\n}).describe(\"Customer object returned with invoice\");\nconst RepairshoprGetInvoice_GetInvoiceResponsePaymentSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Identifier of the payment.\"),\n}).describe(\"Payment entry associated with the invoice\");\nconst RepairshoprGetInvoice_GetInvoiceResponseLineItemSchema: z.ZodTypeAny = z.object({\n item: z.string().describe(\"Identifier or SKU of the line item.\"),\n name: z.string().describe(\"Display name of the line item.\"),\n}).describe(\"Line item in the invoice\");\nexport const RepairshoprGetInvoiceOutput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier of the invoice.\"),\n tax: z.string().describe(\"Tax amount as string.\"),\n date: z.string().describe(\"Issue date of the invoice (ISO 8601).\"),\n note: z.string().describe(\"Additional notes on the invoice.\").nullable().optional(),\n total: z.string().describe(\"Total amount as string.\"),\n number: z.string().describe(\"Invoice number.\"),\n is_paid: z.boolean().describe(\"Whether the invoice is fully paid.\"),\n pdf_url: z.string().describe(\"PDF URL for the invoice.\").nullable().optional(),\n user_id: z.number().int().describe(\"User identifier who created the invoice.\").nullable().optional(),\n customer: RepairshoprGetInvoice_GetInvoiceResponseCustomerSchema.nullable(),\n due_date: z.string().describe(\"Due date of the invoice (YYYY-MM-DD).\"),\n payments: z.array(RepairshoprGetInvoice_GetInvoiceResponsePaymentSchema).describe(\"List of payments applied to the invoice.\"),\n subtotal: z.string().describe(\"Subtotal amount as string.\"),\n po_number: z.string().describe(\"Purchase order number.\").nullable().optional(),\n ticket_id: z.number().int().describe(\"Associated ticket identifier.\").nullable().optional(),\n contact_id: z.number().int().describe(\"Primary contact identifier for the invoice.\").nullable().optional(),\n created_at: z.string().describe(\"Creation timestamp of the invoice (ISO 8601).\"),\n line_items: z.array(RepairshoprGetInvoice_GetInvoiceResponseLineItemSchema).describe(\"List of line items on the invoice.\"),\n updated_at: z.string().describe(\"Last update timestamp of the invoice (ISO 8601).\"),\n location_id: z.number().int().describe(\"Location identifier for the invoice.\").nullable().optional(),\n hardwarecost: z.number().describe(\"Hardware cost amount.\"),\n date_received: z.string().describe(\"Date the invoice was received (ISO 8601).\").nullable().optional(),\n verified_paid: z.boolean().describe(\"Whether payment is verified.\"),\n tech_marked_paid: z.boolean().describe(\"Whether a technician marked the invoice as paid.\"),\n}).describe(\"Response schema for GET /invoices/{id}\");\n\nexport const repairshoprGetInvoice = action(\"REPAIRSHOPR_GET_INVOICE\", {\n slug: \"repairshopr-get-invoice\",\n name: \"Get Invoice\",\n description: \"Tool to retrieve details of a specific invoice by ID. Use after confirming the invoice exists. Example: \\\"Get invoice details for ID 456\\\".\",\n input: RepairshoprGetInvoiceInput,\n output: RepairshoprGetInvoiceOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA2CA,IAAAA,EAAE,OAAO,EAC/D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAA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C,SAAS,CAAC,CAAC,SAAS;CACnG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB;CACzD,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,eAAeA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,8BAA8B;CAClE,kBAAkBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,kDAAkD;AAC3F,CAAC,CAAC,CAAC,SAAS,wCAAwC;AAEpD,MAAa,wBAAwBC,eAAAA,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-invoice.d.ts
4
+ declare const RepairshoprGetInvoiceInput: z.ZodTypeAny;
5
+ declare const RepairshoprGetInvoiceOutput: z.ZodTypeAny;
6
+ declare const repairshoprGetInvoice: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { repairshoprGetInvoice };
9
+ //# sourceMappingURL=get-invoice.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-invoice.d.cts","names":[],"sources":["../../src/actions/get-invoice.ts"],"mappings":";;;cAIa,0BAAA,EAA4B,CAAA,CAAE,UAEU;AAAA,cAiDxC,2BAAA,EAA6B,CAAA,CAAE,UAyBS;AAAA,cAExC,qBAAA,gCAAqB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-invoice.d.ts
4
+ declare const RepairshoprGetInvoiceInput: z.ZodTypeAny;
5
+ declare const RepairshoprGetInvoiceOutput: z.ZodTypeAny;
6
+ declare const repairshoprGetInvoice: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { repairshoprGetInvoice };
9
+ //# sourceMappingURL=get-invoice.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-invoice.d.mts","names":[],"sources":["../../src/actions/get-invoice.ts"],"mappings":";;;cAIa,0BAAA,EAA4B,CAAA,CAAE,UAEU;AAAA,cAiDxC,2BAAA,EAA6B,CAAA,CAAE,UAyBS;AAAA,cAExC,qBAAA,gCAAqB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,84 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/get-invoice.ts
4
+ const RepairshoprGetInvoiceInput = z.object({ id: z.number().int().describe("ID or number of the invoice to retrieve") }).describe("Path parameters for GET /invoices/{id}");
5
+ const RepairshoprGetInvoice_GetInvoiceResponseCustomerContactSchema = z.object({ email: z.string().describe("Email address of the contact.") }).describe("Contact entry in invoice customer contacts list");
6
+ const RepairshoprGetInvoice_GetInvoiceResponseCustomerSchema = z.object({
7
+ id: z.number().int().describe("Unique identifier of the customer."),
8
+ zip: z.string().describe("ZIP code of the customer address."),
9
+ city: z.string().describe("City of the customer address."),
10
+ email: z.string().describe("Email address of the customer."),
11
+ notes: z.string().describe("Additional notes about the customer.").nullable().optional(),
12
+ phone: z.string().describe("Phone number of the customer."),
13
+ state: z.string().describe("State of the customer address."),
14
+ mobile: z.string().describe("Mobile number of the customer.").nullable().optional(),
15
+ address: z.string().describe("Street address of the customer."),
16
+ get_sms: z.boolean().describe("Customer has SMS enabled."),
17
+ opt_out: z.boolean().describe("Customer has opted out of marketing."),
18
+ pdf_url: z.string().describe("PDF URL of the customer profile.").nullable().optional(),
19
+ contacts: z.array(RepairshoprGetInvoice_GetInvoiceResponseCustomerContactSchema).describe("List of contact emails for the customer."),
20
+ disabled: z.boolean().describe("Customer account is disabled."),
21
+ fullname: z.string().describe("Full name of the customer."),
22
+ lastname: z.string().describe("Last name of the customer."),
23
+ latitude: z.string().describe("Latitude coordinate of the customer address.").nullable().optional(),
24
+ no_email: z.boolean().describe("Customer will not receive emails."),
25
+ address_2: z.string().describe("Secondary address line of the customer.").nullable().optional(),
26
+ firstname: z.string().describe("First name of the customer."),
27
+ longitude: z.string().describe("Longitude coordinate of the customer address.").nullable().optional(),
28
+ created_at: z.string().describe("Record creation timestamp."),
29
+ properties: z.object({}).describe("Additional properties as key-value pairs."),
30
+ updated_at: z.string().describe("Record last updated timestamp."),
31
+ location_id: z.number().int().describe("Location identifier of the customer.").nullable().optional(),
32
+ referred_by: z.string().describe("Referrer for the customer.").nullable().optional(),
33
+ tax_rate_id: z.number().int().describe("Tax rate identifier for the customer.").nullable().optional(),
34
+ business_name: z.string().describe("Business name of the customer."),
35
+ location_name: z.string().describe("Name of the customer's location.").nullable().optional(),
36
+ invoice_term_id: z.number().int().describe("Payment term identifier for invoices.").nullable().optional(),
37
+ ref_customer_id: z.number().int().describe("Original customer ID if referred.").nullable().optional(),
38
+ invoice_cc_emails: z.string().describe("CC emails for invoices.").nullable().optional(),
39
+ business_then_name: z.string().describe("Business then full name of the customer."),
40
+ notification_email: z.string().describe("Notification email for the customer.").nullable().optional(),
41
+ online_profile_url: z.string().describe("URL to the customer's online profile."),
42
+ business_and_full_name: z.string().describe("Combined business and full name of the customer.")
43
+ }).describe("Customer object returned with invoice");
44
+ const RepairshoprGetInvoice_GetInvoiceResponsePaymentSchema = z.object({ id: z.number().int().describe("Identifier of the payment.") }).describe("Payment entry associated with the invoice");
45
+ const RepairshoprGetInvoice_GetInvoiceResponseLineItemSchema = z.object({
46
+ item: z.string().describe("Identifier or SKU of the line item."),
47
+ name: z.string().describe("Display name of the line item.")
48
+ }).describe("Line item in the invoice");
49
+ const repairshoprGetInvoice = action("REPAIRSHOPR_GET_INVOICE", {
50
+ slug: "repairshopr-get-invoice",
51
+ name: "Get Invoice",
52
+ description: "Tool to retrieve details of a specific invoice by ID. Use after confirming the invoice exists. Example: \"Get invoice details for ID 456\".",
53
+ input: RepairshoprGetInvoiceInput,
54
+ output: z.object({
55
+ id: z.number().int().describe("Unique identifier of the invoice."),
56
+ tax: z.string().describe("Tax amount as string."),
57
+ date: z.string().describe("Issue date of the invoice (ISO 8601)."),
58
+ note: z.string().describe("Additional notes on the invoice.").nullable().optional(),
59
+ total: z.string().describe("Total amount as string."),
60
+ number: z.string().describe("Invoice number."),
61
+ is_paid: z.boolean().describe("Whether the invoice is fully paid."),
62
+ pdf_url: z.string().describe("PDF URL for the invoice.").nullable().optional(),
63
+ user_id: z.number().int().describe("User identifier who created the invoice.").nullable().optional(),
64
+ customer: RepairshoprGetInvoice_GetInvoiceResponseCustomerSchema.nullable(),
65
+ due_date: z.string().describe("Due date of the invoice (YYYY-MM-DD)."),
66
+ payments: z.array(RepairshoprGetInvoice_GetInvoiceResponsePaymentSchema).describe("List of payments applied to the invoice."),
67
+ subtotal: z.string().describe("Subtotal amount as string."),
68
+ po_number: z.string().describe("Purchase order number.").nullable().optional(),
69
+ ticket_id: z.number().int().describe("Associated ticket identifier.").nullable().optional(),
70
+ contact_id: z.number().int().describe("Primary contact identifier for the invoice.").nullable().optional(),
71
+ created_at: z.string().describe("Creation timestamp of the invoice (ISO 8601)."),
72
+ line_items: z.array(RepairshoprGetInvoice_GetInvoiceResponseLineItemSchema).describe("List of line items on the invoice."),
73
+ updated_at: z.string().describe("Last update timestamp of the invoice (ISO 8601)."),
74
+ location_id: z.number().int().describe("Location identifier for the invoice.").nullable().optional(),
75
+ hardwarecost: z.number().describe("Hardware cost amount."),
76
+ date_received: z.string().describe("Date the invoice was received (ISO 8601).").nullable().optional(),
77
+ verified_paid: z.boolean().describe("Whether payment is verified."),
78
+ tech_marked_paid: z.boolean().describe("Whether a technician marked the invoice as paid.")
79
+ }).describe("Response schema for GET /invoices/{id}")
80
+ });
81
+ //#endregion
82
+ export { repairshoprGetInvoice };
83
+
84
+ //# sourceMappingURL=get-invoice.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-invoice.mjs","names":[],"sources":["../../src/actions/get-invoice.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RepairshoprGetInvoiceInput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"ID or number of the invoice to retrieve\"),\n}).describe(\"Path parameters for GET /invoices/{id}\");\nconst RepairshoprGetInvoice_GetInvoiceResponseCustomerContactSchema: z.ZodTypeAny = z.object({\n email: z.string().describe(\"Email address of the contact.\"),\n}).describe(\"Contact entry in invoice customer contacts list\");\nconst RepairshoprGetInvoice_GetInvoiceResponseCustomerSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier of the customer.\"),\n zip: z.string().describe(\"ZIP code of the customer address.\"),\n city: z.string().describe(\"City of the customer address.\"),\n email: z.string().describe(\"Email address of the customer.\"),\n notes: z.string().describe(\"Additional notes about the customer.\").nullable().optional(),\n phone: z.string().describe(\"Phone number of the customer.\"),\n state: z.string().describe(\"State of the customer address.\"),\n mobile: z.string().describe(\"Mobile number of the customer.\").nullable().optional(),\n address: z.string().describe(\"Street address of the customer.\"),\n get_sms: z.boolean().describe(\"Customer has SMS enabled.\"),\n opt_out: z.boolean().describe(\"Customer has opted out of marketing.\"),\n pdf_url: z.string().describe(\"PDF URL of the customer profile.\").nullable().optional(),\n contacts: z.array(RepairshoprGetInvoice_GetInvoiceResponseCustomerContactSchema).describe(\"List of contact emails for the customer.\"),\n disabled: z.boolean().describe(\"Customer account is disabled.\"),\n fullname: z.string().describe(\"Full name of the customer.\"),\n lastname: z.string().describe(\"Last name of the customer.\"),\n latitude: z.string().describe(\"Latitude coordinate of the customer address.\").nullable().optional(),\n no_email: z.boolean().describe(\"Customer will not receive emails.\"),\n address_2: z.string().describe(\"Secondary address line of the customer.\").nullable().optional(),\n firstname: z.string().describe(\"First name of the customer.\"),\n longitude: z.string().describe(\"Longitude coordinate of the customer address.\").nullable().optional(),\n created_at: z.string().describe(\"Record creation timestamp.\"),\n properties: z.object({}).describe(\"Additional properties as key-value pairs.\"),\n updated_at: z.string().describe(\"Record last updated timestamp.\"),\n location_id: z.number().int().describe(\"Location identifier of the customer.\").nullable().optional(),\n referred_by: z.string().describe(\"Referrer for the customer.\").nullable().optional(),\n tax_rate_id: z.number().int().describe(\"Tax rate identifier for the customer.\").nullable().optional(),\n business_name: z.string().describe(\"Business name of the customer.\"),\n location_name: z.string().describe(\"Name of the customer's location.\").nullable().optional(),\n invoice_term_id: z.number().int().describe(\"Payment term identifier for invoices.\").nullable().optional(),\n ref_customer_id: z.number().int().describe(\"Original customer ID if referred.\").nullable().optional(),\n invoice_cc_emails: z.string().describe(\"CC emails for invoices.\").nullable().optional(),\n business_then_name: z.string().describe(\"Business then full name of the customer.\"),\n notification_email: z.string().describe(\"Notification email for the customer.\").nullable().optional(),\n online_profile_url: z.string().describe(\"URL to the customer's online profile.\"),\n business_and_full_name: z.string().describe(\"Combined business and full name of the customer.\"),\n}).describe(\"Customer object returned with invoice\");\nconst RepairshoprGetInvoice_GetInvoiceResponsePaymentSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Identifier of the payment.\"),\n}).describe(\"Payment entry associated with the invoice\");\nconst RepairshoprGetInvoice_GetInvoiceResponseLineItemSchema: z.ZodTypeAny = z.object({\n item: z.string().describe(\"Identifier or SKU of the line item.\"),\n name: z.string().describe(\"Display name of the line item.\"),\n}).describe(\"Line item in the invoice\");\nexport const RepairshoprGetInvoiceOutput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier of the invoice.\"),\n tax: z.string().describe(\"Tax amount as string.\"),\n date: z.string().describe(\"Issue date of the invoice (ISO 8601).\"),\n note: z.string().describe(\"Additional notes on the invoice.\").nullable().optional(),\n total: z.string().describe(\"Total amount as string.\"),\n number: z.string().describe(\"Invoice number.\"),\n is_paid: z.boolean().describe(\"Whether the invoice is fully paid.\"),\n pdf_url: z.string().describe(\"PDF URL for the invoice.\").nullable().optional(),\n user_id: z.number().int().describe(\"User identifier who created the invoice.\").nullable().optional(),\n customer: RepairshoprGetInvoice_GetInvoiceResponseCustomerSchema.nullable(),\n due_date: z.string().describe(\"Due date of the invoice (YYYY-MM-DD).\"),\n payments: z.array(RepairshoprGetInvoice_GetInvoiceResponsePaymentSchema).describe(\"List of payments applied to the invoice.\"),\n subtotal: z.string().describe(\"Subtotal amount as string.\"),\n po_number: z.string().describe(\"Purchase order number.\").nullable().optional(),\n ticket_id: z.number().int().describe(\"Associated ticket identifier.\").nullable().optional(),\n contact_id: z.number().int().describe(\"Primary contact identifier for the invoice.\").nullable().optional(),\n created_at: z.string().describe(\"Creation timestamp of the invoice (ISO 8601).\"),\n line_items: z.array(RepairshoprGetInvoice_GetInvoiceResponseLineItemSchema).describe(\"List of line items on the invoice.\"),\n updated_at: z.string().describe(\"Last update timestamp of the invoice (ISO 8601).\"),\n location_id: z.number().int().describe(\"Location identifier for the invoice.\").nullable().optional(),\n hardwarecost: z.number().describe(\"Hardware cost amount.\"),\n date_received: z.string().describe(\"Date the invoice was received (ISO 8601).\").nullable().optional(),\n verified_paid: z.boolean().describe(\"Whether payment is verified.\"),\n tech_marked_paid: z.boolean().describe(\"Whether a technician marked the invoice as paid.\"),\n}).describe(\"Response schema for GET /invoices/{id}\");\n\nexport const repairshoprGetInvoice = action(\"REPAIRSHOPR_GET_INVOICE\", {\n slug: \"repairshopr-get-invoice\",\n name: \"Get Invoice\",\n description: \"Tool to retrieve details of a specific invoice by ID. Use after confirming the invoice exists. Example: \\\"Get invoice details for ID 456\\\".\",\n input: RepairshoprGetInvoiceInput,\n output: RepairshoprGetInvoiceOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA2C,EAAE,OAAO,EAC/D,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS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AAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnG,UAAU,uDAAuD,SAAS;EAC1E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;EACrE,UAAU,EAAE,MAAM,qDAAqD,CAAC,CAAC,SAAS,0CAA0C;EAC5H,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;EAC1D,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7E,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1F,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;EAC/E,YAAY,EAAE,MAAM,sDAAsD,CAAC,CAAC,SAAS,oCAAoC;EACzH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD;EAClF,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB;EACzD,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpG,eAAe,EAAE,QAAQ,CAAC,CAAC,SAAS,8BAA8B;EAClE,kBAAkB,EAAE,QAAQ,CAAC,CAAC,SAAS,kDAAkD;CAC3F,CAAC,CAAC,CAAC,SAAS,wCAOF;AACV,CAAC"}
@@ -0,0 +1,53 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/get-invoices.ts
4
+ const RepairshoprGetInvoicesInput = zod.z.object({
5
+ page: zod.z.number().int().describe("Returns provided page of results, each page contains 25 results").optional(),
6
+ paid: zod.z.boolean().describe("Whether or not the returned list of invoices has been marked as paid").optional(),
7
+ unpaid: zod.z.boolean().describe("Whether or not the returned list of invoices has been marked as unpaid").optional(),
8
+ ticket_id: zod.z.number().int().describe("Filter invoices attached to this Ticket ID").optional(),
9
+ since_updated_at: zod.z.string().describe("Return invoices updated since this date. Format 'YYYY-MM-DDTHH:MM:SSZ' (ISO 8601)").optional()
10
+ }).describe("Query parameters for GET /invoices to filter and paginate invoice listings.");
11
+ const RepairshoprGetInvoices_MetaSchema = zod.z.object({
12
+ page: zod.z.number().int().describe("Current page number returned"),
13
+ total_pages: zod.z.number().int().describe("Total number of pages available")
14
+ }).describe("Pagination metadata for invoice listings");
15
+ const RepairshoprGetInvoices_InvoiceSchema = zod.z.object({
16
+ id: zod.z.number().int().describe("Invoice ID"),
17
+ tax: zod.z.string().describe("Tax amount as string"),
18
+ date: zod.z.string().describe("Invoice date (ISO 8601)"),
19
+ note: zod.z.string().describe("Additional notes on the invoice").nullable().optional(),
20
+ total: zod.z.string().describe("Total amount as string"),
21
+ number: zod.z.string().describe("Invoice number"),
22
+ is_paid: zod.z.boolean().describe("Whether the invoice is fully paid"),
23
+ pdf_url: zod.z.string().describe("URL to the invoice PDF if generated").nullable().optional(),
24
+ user_id: zod.z.number().int().describe("User ID who created the invoice").nullable().optional(),
25
+ due_date: zod.z.string().describe("Invoice due date (ISO 8601)"),
26
+ subtotal: zod.z.string().describe("Subtotal amount as string"),
27
+ po_number: zod.z.string().describe("Purchase order number if provided").nullable().optional(),
28
+ ticket_id: zod.z.number().int().describe("Associated ticket ID if any").nullable().optional(),
29
+ contact_id: zod.z.number().int().describe("Primary contact ID for the invoice").nullable().optional(),
30
+ created_at: zod.z.string().describe("Timestamp when the invoice was created (ISO 8601)"),
31
+ updated_at: zod.z.string().describe("Timestamp when the invoice was last updated (ISO 8601)"),
32
+ customer_id: zod.z.number().int().describe("Associated customer ID"),
33
+ location_id: zod.z.number().int().describe("Location ID associated with the invoice").nullable().optional(),
34
+ hardwarecost: zod.z.number().describe("Hardware cost amount if any").nullable().optional(),
35
+ verified_paid: zod.z.boolean().describe("Whether payment is verified"),
36
+ tech_marked_paid: zod.z.boolean().describe("Whether a technician marked the invoice as paid"),
37
+ customer_business_then_name: zod.z.string().describe("Snapshot of customer's business and name at invoice creation")
38
+ }).describe("Invoice entry in listing response");
39
+ const RepairshoprGetInvoicesOutput = zod.z.object({
40
+ meta: RepairshoprGetInvoices_MetaSchema.nullable(),
41
+ invoices: zod.z.array(RepairshoprGetInvoices_InvoiceSchema).describe("List of invoices")
42
+ }).describe("Response schema for GET /invoices");
43
+ const repairshoprGetInvoices = require_action.action("REPAIRSHOPR_GET_INVOICES", {
44
+ slug: "repairshopr-get-invoices",
45
+ name: "Get Invoices",
46
+ description: "Tool to retrieve a paginated list of invoices. Use when you need to list invoices, optionally filtered by payment status, ticket association, or update date. Returns up to 25 invoices per page.",
47
+ input: RepairshoprGetInvoicesInput,
48
+ output: RepairshoprGetInvoicesOutput
49
+ });
50
+ //#endregion
51
+ exports.repairshoprGetInvoices = repairshoprGetInvoices;
52
+
53
+ //# sourceMappingURL=get-invoices.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-invoices.cjs","names":["z","action"],"sources":["../../src/actions/get-invoices.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RepairshoprGetInvoicesInput: z.ZodTypeAny = z.object({\n page: z.number().int().describe(\"Returns provided page of results, each page contains 25 results\").optional(),\n paid: z.boolean().describe(\"Whether or not the returned list of invoices has been marked as paid\").optional(),\n unpaid: z.boolean().describe(\"Whether or not the returned list of invoices has been marked as unpaid\").optional(),\n ticket_id: z.number().int().describe(\"Filter invoices attached to this Ticket ID\").optional(),\n since_updated_at: z.string().describe(\"Return invoices updated since this date. Format 'YYYY-MM-DDTHH:MM:SSZ' (ISO 8601)\").optional(),\n}).describe(\"Query parameters for GET /invoices to filter and paginate invoice listings.\");\nconst RepairshoprGetInvoices_MetaSchema: z.ZodTypeAny = z.object({\n page: z.number().int().describe(\"Current page number returned\"),\n total_pages: z.number().int().describe(\"Total number of pages available\"),\n}).describe(\"Pagination metadata for invoice listings\");\nconst RepairshoprGetInvoices_InvoiceSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Invoice ID\"),\n tax: z.string().describe(\"Tax amount as string\"),\n date: z.string().describe(\"Invoice date (ISO 8601)\"),\n note: z.string().describe(\"Additional notes on the invoice\").nullable().optional(),\n total: z.string().describe(\"Total amount as string\"),\n number: z.string().describe(\"Invoice number\"),\n is_paid: z.boolean().describe(\"Whether the invoice is fully paid\"),\n pdf_url: z.string().describe(\"URL to the invoice PDF if generated\").nullable().optional(),\n user_id: z.number().int().describe(\"User ID who created the invoice\").nullable().optional(),\n due_date: z.string().describe(\"Invoice due date (ISO 8601)\"),\n subtotal: z.string().describe(\"Subtotal amount as string\"),\n po_number: z.string().describe(\"Purchase order number if provided\").nullable().optional(),\n ticket_id: z.number().int().describe(\"Associated ticket ID if any\").nullable().optional(),\n contact_id: z.number().int().describe(\"Primary contact ID for the invoice\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the invoice was created (ISO 8601)\"),\n updated_at: z.string().describe(\"Timestamp when the invoice was last updated (ISO 8601)\"),\n customer_id: z.number().int().describe(\"Associated customer ID\"),\n location_id: z.number().int().describe(\"Location ID associated with the invoice\").nullable().optional(),\n hardwarecost: z.number().describe(\"Hardware cost amount if any\").nullable().optional(),\n verified_paid: z.boolean().describe(\"Whether payment is verified\"),\n tech_marked_paid: z.boolean().describe(\"Whether a technician marked the invoice as paid\"),\n customer_business_then_name: z.string().describe(\"Snapshot of customer's business and name at invoice creation\"),\n}).describe(\"Invoice entry in listing response\");\nexport const RepairshoprGetInvoicesOutput: z.ZodTypeAny = z.object({\n meta: RepairshoprGetInvoices_MetaSchema.nullable(),\n invoices: z.array(RepairshoprGetInvoices_InvoiceSchema).describe(\"List of invoices\"),\n}).describe(\"Response schema for GET /invoices\");\n\nexport const repairshoprGetInvoices = action(\"REPAIRSHOPR_GET_INVOICES\", {\n slug: \"repairshopr-get-invoices\",\n name: \"Get Invoices\",\n description: \"Tool to retrieve a paginated list of invoices. Use when you need to list invoices, optionally filtered by payment status, ticket association, or update date. Returns up to 25 invoices per page.\",\n input: RepairshoprGetInvoicesInput,\n output: RepairshoprGetInvoicesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA4CA,IAAAA,EAAE,OAAO;CAChE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;CAC5G,MAAMA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;CAC5G,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;CAChH,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CAC5F,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS;AACtI,CAAC,CAAC,CAAC,SAAS,6EAA6E;AACzF,MAAM,oCAAkDA,IAAAA,EAAE,OAAO;CAC/D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B;CAC9D,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC;AAC1E,CAAC,CAAC,CAAC,SAAS,0CAA0C;AACtD,MAAM,uCAAqDA,IAAAA,EAAE,OAAO;CAClE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,YAAY;CAC1C,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB;CAC/C,MAAMA,IAAAA,EAAE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,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,eAAeA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,6BAA6B;CACjE,kBAAkBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,iDAAiD;CACxF,6BAA6BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D;AACjH,CAAC,CAAC,CAAC,SAAS,mCAAmC;AAC/C,MAAa,+BAA6CA,IAAAA,EAAE,OAAO;CACjE,MAAM,kCAAkC,SAAS;CACjD,UAAUA,IAAAA,EAAE,MAAM,oCAAoC,CAAC,CAAC,SAAS,kBAAkB;AACrF,CAAC,CAAC,CAAC,SAAS,mCAAmC;AAE/C,MAAa,yBAAyBC,eAAAA,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-invoices.d.ts
4
+ declare const RepairshoprGetInvoicesInput: z.ZodTypeAny;
5
+ declare const RepairshoprGetInvoicesOutput: z.ZodTypeAny;
6
+ declare const repairshoprGetInvoices: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { repairshoprGetInvoices };
9
+ //# sourceMappingURL=get-invoices.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-invoices.d.cts","names":[],"sources":["../../src/actions/get-invoices.ts"],"mappings":";;;cAIa,2BAAA,EAA6B,CAAA,CAAE,UAM8C;AAAA,cA6B7E,4BAAA,EAA8B,CAAA,CAAE,UAGG;AAAA,cAEnC,sBAAA,gCAAsB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-invoices.d.ts
4
+ declare const RepairshoprGetInvoicesInput: z.ZodTypeAny;
5
+ declare const RepairshoprGetInvoicesOutput: z.ZodTypeAny;
6
+ declare const repairshoprGetInvoices: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { repairshoprGetInvoices };
9
+ //# sourceMappingURL=get-invoices.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-invoices.d.mts","names":[],"sources":["../../src/actions/get-invoices.ts"],"mappings":";;;cAIa,2BAAA,EAA6B,CAAA,CAAE,UAM8C;AAAA,cA6B7E,4BAAA,EAA8B,CAAA,CAAE,UAGG;AAAA,cAEnC,sBAAA,gCAAsB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,52 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/get-invoices.ts
4
+ const RepairshoprGetInvoicesInput = z.object({
5
+ page: z.number().int().describe("Returns provided page of results, each page contains 25 results").optional(),
6
+ paid: z.boolean().describe("Whether or not the returned list of invoices has been marked as paid").optional(),
7
+ unpaid: z.boolean().describe("Whether or not the returned list of invoices has been marked as unpaid").optional(),
8
+ ticket_id: z.number().int().describe("Filter invoices attached to this Ticket ID").optional(),
9
+ since_updated_at: z.string().describe("Return invoices updated since this date. Format 'YYYY-MM-DDTHH:MM:SSZ' (ISO 8601)").optional()
10
+ }).describe("Query parameters for GET /invoices to filter and paginate invoice listings.");
11
+ const RepairshoprGetInvoices_MetaSchema = z.object({
12
+ page: z.number().int().describe("Current page number returned"),
13
+ total_pages: z.number().int().describe("Total number of pages available")
14
+ }).describe("Pagination metadata for invoice listings");
15
+ const RepairshoprGetInvoices_InvoiceSchema = z.object({
16
+ id: z.number().int().describe("Invoice ID"),
17
+ tax: z.string().describe("Tax amount as string"),
18
+ date: z.string().describe("Invoice date (ISO 8601)"),
19
+ note: z.string().describe("Additional notes on the invoice").nullable().optional(),
20
+ total: z.string().describe("Total amount as string"),
21
+ number: z.string().describe("Invoice number"),
22
+ is_paid: z.boolean().describe("Whether the invoice is fully paid"),
23
+ pdf_url: z.string().describe("URL to the invoice PDF if generated").nullable().optional(),
24
+ user_id: z.number().int().describe("User ID who created the invoice").nullable().optional(),
25
+ due_date: z.string().describe("Invoice due date (ISO 8601)"),
26
+ subtotal: z.string().describe("Subtotal amount as string"),
27
+ po_number: z.string().describe("Purchase order number if provided").nullable().optional(),
28
+ ticket_id: z.number().int().describe("Associated ticket ID if any").nullable().optional(),
29
+ contact_id: z.number().int().describe("Primary contact ID for the invoice").nullable().optional(),
30
+ created_at: z.string().describe("Timestamp when the invoice was created (ISO 8601)"),
31
+ updated_at: z.string().describe("Timestamp when the invoice was last updated (ISO 8601)"),
32
+ customer_id: z.number().int().describe("Associated customer ID"),
33
+ location_id: z.number().int().describe("Location ID associated with the invoice").nullable().optional(),
34
+ hardwarecost: z.number().describe("Hardware cost amount if any").nullable().optional(),
35
+ verified_paid: z.boolean().describe("Whether payment is verified"),
36
+ tech_marked_paid: z.boolean().describe("Whether a technician marked the invoice as paid"),
37
+ customer_business_then_name: z.string().describe("Snapshot of customer's business and name at invoice creation")
38
+ }).describe("Invoice entry in listing response");
39
+ const repairshoprGetInvoices = action("REPAIRSHOPR_GET_INVOICES", {
40
+ slug: "repairshopr-get-invoices",
41
+ name: "Get Invoices",
42
+ description: "Tool to retrieve a paginated list of invoices. Use when you need to list invoices, optionally filtered by payment status, ticket association, or update date. Returns up to 25 invoices per page.",
43
+ input: RepairshoprGetInvoicesInput,
44
+ output: z.object({
45
+ meta: RepairshoprGetInvoices_MetaSchema.nullable(),
46
+ invoices: z.array(RepairshoprGetInvoices_InvoiceSchema).describe("List of invoices")
47
+ }).describe("Response schema for GET /invoices")
48
+ });
49
+ //#endregion
50
+ export { repairshoprGetInvoices };
51
+
52
+ //# sourceMappingURL=get-invoices.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-invoices.mjs","names":[],"sources":["../../src/actions/get-invoices.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RepairshoprGetInvoicesInput: z.ZodTypeAny = z.object({\n page: z.number().int().describe(\"Returns provided page of results, each page contains 25 results\").optional(),\n paid: z.boolean().describe(\"Whether or not the returned list of invoices has been marked as paid\").optional(),\n unpaid: z.boolean().describe(\"Whether or not the returned list of invoices has been marked as unpaid\").optional(),\n ticket_id: z.number().int().describe(\"Filter invoices attached to this Ticket ID\").optional(),\n since_updated_at: z.string().describe(\"Return invoices updated since this date. Format 'YYYY-MM-DDTHH:MM:SSZ' (ISO 8601)\").optional(),\n}).describe(\"Query parameters for GET /invoices to filter and paginate invoice listings.\");\nconst RepairshoprGetInvoices_MetaSchema: z.ZodTypeAny = z.object({\n page: z.number().int().describe(\"Current page number returned\"),\n total_pages: z.number().int().describe(\"Total number of pages available\"),\n}).describe(\"Pagination metadata for invoice listings\");\nconst RepairshoprGetInvoices_InvoiceSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Invoice ID\"),\n tax: z.string().describe(\"Tax amount as string\"),\n date: z.string().describe(\"Invoice date (ISO 8601)\"),\n note: z.string().describe(\"Additional notes on the invoice\").nullable().optional(),\n total: z.string().describe(\"Total amount as string\"),\n number: z.string().describe(\"Invoice number\"),\n is_paid: z.boolean().describe(\"Whether the invoice is fully paid\"),\n pdf_url: z.string().describe(\"URL to the invoice PDF if generated\").nullable().optional(),\n user_id: z.number().int().describe(\"User ID who created the invoice\").nullable().optional(),\n due_date: z.string().describe(\"Invoice due date (ISO 8601)\"),\n subtotal: z.string().describe(\"Subtotal amount as string\"),\n po_number: z.string().describe(\"Purchase order number if provided\").nullable().optional(),\n ticket_id: z.number().int().describe(\"Associated ticket ID if any\").nullable().optional(),\n contact_id: z.number().int().describe(\"Primary contact ID for the invoice\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the invoice was created (ISO 8601)\"),\n updated_at: z.string().describe(\"Timestamp when the invoice was last updated (ISO 8601)\"),\n customer_id: z.number().int().describe(\"Associated customer ID\"),\n location_id: z.number().int().describe(\"Location ID associated with the invoice\").nullable().optional(),\n hardwarecost: z.number().describe(\"Hardware cost amount if any\").nullable().optional(),\n verified_paid: z.boolean().describe(\"Whether payment is verified\"),\n tech_marked_paid: z.boolean().describe(\"Whether a technician marked the invoice as paid\"),\n customer_business_then_name: z.string().describe(\"Snapshot of customer's business and name at invoice creation\"),\n}).describe(\"Invoice entry in listing response\");\nexport const RepairshoprGetInvoicesOutput: z.ZodTypeAny = z.object({\n meta: RepairshoprGetInvoices_MetaSchema.nullable(),\n invoices: z.array(RepairshoprGetInvoices_InvoiceSchema).describe(\"List of invoices\"),\n}).describe(\"Response schema for GET /invoices\");\n\nexport const repairshoprGetInvoices = action(\"REPAIRSHOPR_GET_INVOICES\", {\n slug: \"repairshopr-get-invoices\",\n name: \"Get Invoices\",\n description: \"Tool to retrieve a paginated list of invoices. Use when you need to list invoices, optionally filtered by payment status, ticket association, or update date. Returns up to 25 invoices per page.\",\n input: RepairshoprGetInvoicesInput,\n output: RepairshoprGetInvoicesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA4C,EAAE,OAAO;CAChE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;CAC5G,MAAM,EAAE,QAAQ,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;CAC5G,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;CAChH,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CAC5F,kBAA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C,SAAS;CACxF,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD;CACnF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD;CACxF,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wBAAwB;CAC/D,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,eAAe,EAAE,QAAQ,CAAC,CAAC,SAAS,6BAA6B;CACjE,kBAAkB,EAAE,QAAQ,CAAC,CAAC,SAAS,iDAAiD;CACxF,6BAA6B,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D;AACjH,CAAC,CAAC,CAAC,SAAS,mCAAmC;AAM/C,MAAa,yBAAyB,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVwD,EAAE,OAAO;EACjE,MAAM,kCAAkC,SAAS;EACjD,UAAU,EAAE,MAAM,oCAAoC,CAAC,CAAC,SAAS,kBAAkB;CACrF,CAAC,CAAC,CAAC,SAAS,mCAOF;AACV,CAAC"}
@@ -0,0 +1,51 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/get-latest-customer.ts
4
+ const RepairshoprGetLatestCustomerInput = zod.z.object({}).describe("Request schema for GET /customers/latest - no parameters required");
5
+ const RepairshoprGetLatestCustomerOutput = zod.z.object({
6
+ id: zod.z.number().int().describe("Unique identifier of the customer."),
7
+ zip: zod.z.string().describe("ZIP code of the customer's address.").nullable().optional(),
8
+ city: zod.z.string().describe("City of the customer's address.").nullable().optional(),
9
+ email: zod.z.string().describe("Email address of the customer.").nullable().optional(),
10
+ notes: zod.z.string().describe("Additional notes about the customer.").nullable().optional(),
11
+ phone: zod.z.string().describe("Primary phone number of the customer.").nullable().optional(),
12
+ state: zod.z.string().describe("State of the customer's address.").nullable().optional(),
13
+ mobile: zod.z.string().describe("Mobile phone number of the customer.").nullable().optional(),
14
+ address: zod.z.string().describe("Street address of the customer.").nullable().optional(),
15
+ get_sms: zod.z.boolean().describe("Whether customer can receive SMS.").nullable().optional(),
16
+ opt_out: zod.z.boolean().describe("Whether customer has opted out of communications.").nullable().optional(),
17
+ pdf_url: zod.z.string().describe("URL to customer PDF, if available.").nullable().optional(),
18
+ disabled: zod.z.boolean().describe("Whether the customer is disabled.").nullable().optional(),
19
+ fullname: zod.z.string().describe("Full name of the customer."),
20
+ lastname: zod.z.string().describe("Last name of the customer."),
21
+ latitude: zod.z.number().describe("Latitude coordinate of the customer's address.").nullable().optional(),
22
+ no_email: zod.z.boolean().describe("Whether the customer receives no emails.").nullable().optional(),
23
+ address_2: zod.z.string().describe("Address line 2 of the customer.").nullable().optional(),
24
+ firstname: zod.z.string().describe("First name of the customer."),
25
+ longitude: zod.z.number().describe("Longitude coordinate of the customer's address.").nullable().optional(),
26
+ created_at: zod.z.string().describe("Date and time when the customer record was created."),
27
+ updated_at: zod.z.string().describe("Date and time when the customer record was last updated."),
28
+ location_id: zod.z.number().int().describe("ID of the customer's location.").nullable().optional(),
29
+ referred_by: zod.z.string().describe("Source or referral of the customer.").nullable().optional(),
30
+ tax_rate_id: zod.z.number().int().describe("Default tax rate ID for the customer.").nullable().optional(),
31
+ business_name: zod.z.string().describe("Business name associated with the customer, if applicable.").nullable().optional(),
32
+ location_name: zod.z.string().describe("Name of the customer's location.").nullable().optional(),
33
+ invoice_term_id: zod.z.number().int().describe("Default invoice term ID.").nullable().optional(),
34
+ ref_customer_id: zod.z.number().int().describe("Reference customer ID.").nullable().optional(),
35
+ invoice_cc_emails: zod.z.string().describe("CC emails for invoices.").nullable().optional(),
36
+ business_then_name: zod.z.string().describe("Business then full name display.").nullable().optional(),
37
+ notification_email: zod.z.string().describe("Email used for notifications.").nullable().optional(),
38
+ online_profile_url: zod.z.string().describe("URL to the customer's online profile.").nullable().optional(),
39
+ business_and_full_name: zod.z.string().describe("Combined business and full name.").nullable().optional()
40
+ }).describe("Response schema for GET /customers/latest");
41
+ const repairshoprGetLatestCustomer = require_action.action("REPAIRSHOPR_GET_LATEST_CUSTOMER", {
42
+ slug: "repairshopr-get-latest-customer",
43
+ name: "Get Latest Customer",
44
+ description: "Tool to retrieve the most recently created customer. Use when you need to access the latest customer record without knowing their ID. Requires Customers - Edit permission.",
45
+ input: RepairshoprGetLatestCustomerInput,
46
+ output: RepairshoprGetLatestCustomerOutput
47
+ });
48
+ //#endregion
49
+ exports.repairshoprGetLatestCustomer = repairshoprGetLatestCustomer;
50
+
51
+ //# sourceMappingURL=get-latest-customer.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-latest-customer.cjs","names":["z","action"],"sources":["../../src/actions/get-latest-customer.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RepairshoprGetLatestCustomerInput: z.ZodTypeAny = z.object({}).describe(\"Request schema for GET /customers/latest - no parameters required\");\nexport const RepairshoprGetLatestCustomerOutput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier of the customer.\"),\n zip: z.string().describe(\"ZIP code of the customer's address.\").nullable().optional(),\n city: z.string().describe(\"City of the customer's address.\").nullable().optional(),\n email: z.string().describe(\"Email address of the customer.\").nullable().optional(),\n notes: z.string().describe(\"Additional notes about the customer.\").nullable().optional(),\n phone: z.string().describe(\"Primary phone number of the customer.\").nullable().optional(),\n state: z.string().describe(\"State of the customer's address.\").nullable().optional(),\n mobile: z.string().describe(\"Mobile phone number of the customer.\").nullable().optional(),\n address: z.string().describe(\"Street address of the customer.\").nullable().optional(),\n get_sms: z.boolean().describe(\"Whether customer can receive SMS.\").nullable().optional(),\n opt_out: z.boolean().describe(\"Whether customer has opted out of communications.\").nullable().optional(),\n pdf_url: z.string().describe(\"URL to customer PDF, if available.\").nullable().optional(),\n disabled: z.boolean().describe(\"Whether the customer is disabled.\").nullable().optional(),\n fullname: z.string().describe(\"Full name of the customer.\"),\n lastname: z.string().describe(\"Last name of the customer.\"),\n latitude: z.number().describe(\"Latitude coordinate of the customer's address.\").nullable().optional(),\n no_email: z.boolean().describe(\"Whether the customer receives no emails.\").nullable().optional(),\n address_2: z.string().describe(\"Address line 2 of the customer.\").nullable().optional(),\n firstname: z.string().describe(\"First name of the customer.\"),\n longitude: z.number().describe(\"Longitude coordinate of the customer's address.\").nullable().optional(),\n created_at: z.string().describe(\"Date and time when the customer record was created.\"),\n updated_at: z.string().describe(\"Date and time when the customer record was last updated.\"),\n location_id: z.number().int().describe(\"ID of the customer's location.\").nullable().optional(),\n referred_by: z.string().describe(\"Source or referral of the customer.\").nullable().optional(),\n tax_rate_id: z.number().int().describe(\"Default tax rate ID for the customer.\").nullable().optional(),\n business_name: z.string().describe(\"Business name associated with the customer, if applicable.\").nullable().optional(),\n location_name: z.string().describe(\"Name of the customer's location.\").nullable().optional(),\n invoice_term_id: z.number().int().describe(\"Default invoice term ID.\").nullable().optional(),\n ref_customer_id: z.number().int().describe(\"Reference customer ID.\").nullable().optional(),\n invoice_cc_emails: z.string().describe(\"CC emails for invoices.\").nullable().optional(),\n business_then_name: z.string().describe(\"Business then full name display.\").nullable().optional(),\n notification_email: z.string().describe(\"Email used for notifications.\").nullable().optional(),\n online_profile_url: z.string().describe(\"URL to the customer's online profile.\").nullable().optional(),\n business_and_full_name: z.string().describe(\"Combined business and full name.\").nullable().optional(),\n}).describe(\"Response schema for GET /customers/latest\");\n\nexport const repairshoprGetLatestCustomer = action(\"REPAIRSHOPR_GET_LATEST_CUSTOMER\", {\n slug: \"repairshopr-get-latest-customer\",\n name: \"Get Latest Customer\",\n description: \"Tool to retrieve the most recently created customer. Use when you need to access the latest customer record without knowing their ID. Requires Customers - Edit permission.\",\n input: RepairshoprGetLatestCustomerInput,\n output: RepairshoprGetLatestCustomerOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAkDA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,mEAAmE;AACxJ,MAAa,qCAAmDA,IAAAA,EAAE,OAAO;CACvE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC;CAClE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,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A,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrH,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,wBAAwBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtG,CAAC,CAAC,CAAC,SAAS,2CAA2C;AAEvD,MAAa,+BAA+BC,eAAAA,OAAO,mCAAmC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-latest-customer.d.ts
4
+ declare const RepairshoprGetLatestCustomerInput: z.ZodTypeAny;
5
+ declare const RepairshoprGetLatestCustomerOutput: z.ZodTypeAny;
6
+ declare const repairshoprGetLatestCustomer: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { repairshoprGetLatestCustomer };
9
+ //# sourceMappingURL=get-latest-customer.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-latest-customer.d.cts","names":[],"sources":["../../src/actions/get-latest-customer.ts"],"mappings":";;;cAIa,iCAAA,EAAmC,CAAA,CAAE,UAAuG;AAAA,cAC5I,kCAAA,EAAoC,CAAA,CAAE,UAmCK;AAAA,cAE3C,4BAAA,gCAA4B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-latest-customer.d.ts
4
+ declare const RepairshoprGetLatestCustomerInput: z.ZodTypeAny;
5
+ declare const RepairshoprGetLatestCustomerOutput: z.ZodTypeAny;
6
+ declare const repairshoprGetLatestCustomer: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { repairshoprGetLatestCustomer };
9
+ //# sourceMappingURL=get-latest-customer.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-latest-customer.d.mts","names":[],"sources":["../../src/actions/get-latest-customer.ts"],"mappings":";;;cAIa,iCAAA,EAAmC,CAAA,CAAE,UAAuG;AAAA,cAC5I,kCAAA,EAAoC,CAAA,CAAE,UAmCK;AAAA,cAE3C,4BAAA,gCAA4B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}