@keystrokehq/servicem8 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 (258) 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/create-job-note.cjs +29 -0
  7. package/dist/actions/create-job-note.cjs.map +1 -0
  8. package/dist/actions/create-job-note.d.cts +9 -0
  9. package/dist/actions/create-job-note.d.cts.map +1 -0
  10. package/dist/actions/create-job-note.d.mts +9 -0
  11. package/dist/actions/create-job-note.d.mts.map +1 -0
  12. package/dist/actions/create-job-note.mjs +26 -0
  13. package/dist/actions/create-job-note.mjs.map +1 -0
  14. package/dist/actions/create-job-payment.cjs +32 -0
  15. package/dist/actions/create-job-payment.cjs.map +1 -0
  16. package/dist/actions/create-job-payment.d.cts +9 -0
  17. package/dist/actions/create-job-payment.d.cts.map +1 -0
  18. package/dist/actions/create-job-payment.d.mts +9 -0
  19. package/dist/actions/create-job-payment.d.mts.map +1 -0
  20. package/dist/actions/create-job-payment.mjs +29 -0
  21. package/dist/actions/create-job-payment.mjs.map +1 -0
  22. package/dist/actions/create-jobs.cjs +51 -0
  23. package/dist/actions/create-jobs.cjs.map +1 -0
  24. package/dist/actions/create-jobs.d.cts +9 -0
  25. package/dist/actions/create-jobs.d.cts.map +1 -0
  26. package/dist/actions/create-jobs.d.mts +9 -0
  27. package/dist/actions/create-jobs.d.mts.map +1 -0
  28. package/dist/actions/create-jobs.mjs +50 -0
  29. package/dist/actions/create-jobs.mjs.map +1 -0
  30. package/dist/actions/delete-custom-field.cjs +19 -0
  31. package/dist/actions/delete-custom-field.cjs.map +1 -0
  32. package/dist/actions/delete-custom-field.d.cts +9 -0
  33. package/dist/actions/delete-custom-field.d.cts.map +1 -0
  34. package/dist/actions/delete-custom-field.d.mts +9 -0
  35. package/dist/actions/delete-custom-field.d.mts.map +1 -0
  36. package/dist/actions/delete-custom-field.mjs +16 -0
  37. package/dist/actions/delete-custom-field.mjs.map +1 -0
  38. package/dist/actions/delete-job-note.cjs +24 -0
  39. package/dist/actions/delete-job-note.cjs.map +1 -0
  40. package/dist/actions/delete-job-note.d.cts +9 -0
  41. package/dist/actions/delete-job-note.d.cts.map +1 -0
  42. package/dist/actions/delete-job-note.d.mts +9 -0
  43. package/dist/actions/delete-job-note.d.mts.map +1 -0
  44. package/dist/actions/delete-job-note.mjs +21 -0
  45. package/dist/actions/delete-job-note.mjs.map +1 -0
  46. package/dist/actions/delete-job-payment.cjs +20 -0
  47. package/dist/actions/delete-job-payment.cjs.map +1 -0
  48. package/dist/actions/delete-job-payment.d.cts +9 -0
  49. package/dist/actions/delete-job-payment.d.cts.map +1 -0
  50. package/dist/actions/delete-job-payment.d.mts +9 -0
  51. package/dist/actions/delete-job-payment.d.mts.map +1 -0
  52. package/dist/actions/delete-job-payment.mjs +17 -0
  53. package/dist/actions/delete-job-payment.mjs.map +1 -0
  54. package/dist/actions/index.cjs +57 -0
  55. package/dist/actions/index.d.cts +29 -0
  56. package/dist/actions/index.d.mts +29 -0
  57. package/dist/actions/index.mjs +29 -0
  58. package/dist/actions/list-all-assets.cjs +16 -0
  59. package/dist/actions/list-all-assets.cjs.map +1 -0
  60. package/dist/actions/list-all-assets.d.cts +9 -0
  61. package/dist/actions/list-all-assets.d.cts.map +1 -0
  62. package/dist/actions/list-all-assets.d.mts +9 -0
  63. package/dist/actions/list-all-assets.d.mts.map +1 -0
  64. package/dist/actions/list-all-assets.mjs +13 -0
  65. package/dist/actions/list-all-assets.mjs.map +1 -0
  66. package/dist/actions/list-all-clients.cjs +16 -0
  67. package/dist/actions/list-all-clients.cjs.map +1 -0
  68. package/dist/actions/list-all-clients.d.cts +9 -0
  69. package/dist/actions/list-all-clients.d.cts.map +1 -0
  70. package/dist/actions/list-all-clients.d.mts +9 -0
  71. package/dist/actions/list-all-clients.d.mts.map +1 -0
  72. package/dist/actions/list-all-clients.mjs +13 -0
  73. package/dist/actions/list-all-clients.mjs.map +1 -0
  74. package/dist/actions/list-all-document-templates.cjs +19 -0
  75. package/dist/actions/list-all-document-templates.cjs.map +1 -0
  76. package/dist/actions/list-all-document-templates.d.cts +9 -0
  77. package/dist/actions/list-all-document-templates.d.cts.map +1 -0
  78. package/dist/actions/list-all-document-templates.d.mts +9 -0
  79. package/dist/actions/list-all-document-templates.d.mts.map +1 -0
  80. package/dist/actions/list-all-document-templates.mjs +16 -0
  81. package/dist/actions/list-all-document-templates.mjs.map +1 -0
  82. package/dist/actions/list-all-forms.cjs +16 -0
  83. package/dist/actions/list-all-forms.cjs.map +1 -0
  84. package/dist/actions/list-all-forms.d.cts +9 -0
  85. package/dist/actions/list-all-forms.d.cts.map +1 -0
  86. package/dist/actions/list-all-forms.d.mts +9 -0
  87. package/dist/actions/list-all-forms.d.mts.map +1 -0
  88. package/dist/actions/list-all-forms.mjs +13 -0
  89. package/dist/actions/list-all-forms.mjs.map +1 -0
  90. package/dist/actions/list-all-job-notes.cjs +32 -0
  91. package/dist/actions/list-all-job-notes.cjs.map +1 -0
  92. package/dist/actions/list-all-job-notes.d.cts +9 -0
  93. package/dist/actions/list-all-job-notes.d.cts.map +1 -0
  94. package/dist/actions/list-all-job-notes.d.mts +9 -0
  95. package/dist/actions/list-all-job-notes.d.mts.map +1 -0
  96. package/dist/actions/list-all-job-notes.mjs +31 -0
  97. package/dist/actions/list-all-job-notes.mjs.map +1 -0
  98. package/dist/actions/list-all-job-queues.cjs +16 -0
  99. package/dist/actions/list-all-job-queues.cjs.map +1 -0
  100. package/dist/actions/list-all-job-queues.d.cts +9 -0
  101. package/dist/actions/list-all-job-queues.d.cts.map +1 -0
  102. package/dist/actions/list-all-job-queues.d.mts +9 -0
  103. package/dist/actions/list-all-job-queues.d.mts.map +1 -0
  104. package/dist/actions/list-all-job-queues.mjs +13 -0
  105. package/dist/actions/list-all-job-queues.mjs.map +1 -0
  106. package/dist/actions/list-all-jobs.cjs +69 -0
  107. package/dist/actions/list-all-jobs.cjs.map +1 -0
  108. package/dist/actions/list-all-jobs.d.cts +9 -0
  109. package/dist/actions/list-all-jobs.d.cts.map +1 -0
  110. package/dist/actions/list-all-jobs.d.mts +9 -0
  111. package/dist/actions/list-all-jobs.d.mts.map +1 -0
  112. package/dist/actions/list-all-jobs.mjs +68 -0
  113. package/dist/actions/list-all-jobs.mjs.map +1 -0
  114. package/dist/actions/list-all-locations.cjs +16 -0
  115. package/dist/actions/list-all-locations.cjs.map +1 -0
  116. package/dist/actions/list-all-locations.d.cts +9 -0
  117. package/dist/actions/list-all-locations.d.cts.map +1 -0
  118. package/dist/actions/list-all-locations.d.mts +9 -0
  119. package/dist/actions/list-all-locations.d.mts.map +1 -0
  120. package/dist/actions/list-all-locations.mjs +13 -0
  121. package/dist/actions/list-all-locations.mjs.map +1 -0
  122. package/dist/actions/list-all-materials.cjs +16 -0
  123. package/dist/actions/list-all-materials.cjs.map +1 -0
  124. package/dist/actions/list-all-materials.d.cts +9 -0
  125. package/dist/actions/list-all-materials.d.cts.map +1 -0
  126. package/dist/actions/list-all-materials.d.mts +9 -0
  127. package/dist/actions/list-all-materials.d.mts.map +1 -0
  128. package/dist/actions/list-all-materials.mjs +13 -0
  129. package/dist/actions/list-all-materials.mjs.map +1 -0
  130. package/dist/actions/list-all-tasks.cjs +34 -0
  131. package/dist/actions/list-all-tasks.cjs.map +1 -0
  132. package/dist/actions/list-all-tasks.d.cts +9 -0
  133. package/dist/actions/list-all-tasks.d.cts.map +1 -0
  134. package/dist/actions/list-all-tasks.d.mts +9 -0
  135. package/dist/actions/list-all-tasks.d.mts.map +1 -0
  136. package/dist/actions/list-all-tasks.mjs +33 -0
  137. package/dist/actions/list-all-tasks.mjs.map +1 -0
  138. package/dist/actions/retrieve-client.cjs +41 -0
  139. package/dist/actions/retrieve-client.cjs.map +1 -0
  140. package/dist/actions/retrieve-client.d.cts +9 -0
  141. package/dist/actions/retrieve-client.d.cts.map +1 -0
  142. package/dist/actions/retrieve-client.d.mts +9 -0
  143. package/dist/actions/retrieve-client.d.mts.map +1 -0
  144. package/dist/actions/retrieve-client.mjs +38 -0
  145. package/dist/actions/retrieve-client.mjs.map +1 -0
  146. package/dist/actions/retrieve-form.cjs +22 -0
  147. package/dist/actions/retrieve-form.cjs.map +1 -0
  148. package/dist/actions/retrieve-form.d.cts +9 -0
  149. package/dist/actions/retrieve-form.d.cts.map +1 -0
  150. package/dist/actions/retrieve-form.d.mts +9 -0
  151. package/dist/actions/retrieve-form.d.mts.map +1 -0
  152. package/dist/actions/retrieve-form.mjs +19 -0
  153. package/dist/actions/retrieve-form.mjs.map +1 -0
  154. package/dist/actions/retrieve-job-activity.cjs +35 -0
  155. package/dist/actions/retrieve-job-activity.cjs.map +1 -0
  156. package/dist/actions/retrieve-job-activity.d.cts +9 -0
  157. package/dist/actions/retrieve-job-activity.d.cts.map +1 -0
  158. package/dist/actions/retrieve-job-activity.d.mts +9 -0
  159. package/dist/actions/retrieve-job-activity.d.mts.map +1 -0
  160. package/dist/actions/retrieve-job-activity.mjs +32 -0
  161. package/dist/actions/retrieve-job-activity.mjs.map +1 -0
  162. package/dist/actions/retrieve-job-note.cjs +25 -0
  163. package/dist/actions/retrieve-job-note.cjs.map +1 -0
  164. package/dist/actions/retrieve-job-note.d.cts +9 -0
  165. package/dist/actions/retrieve-job-note.d.cts.map +1 -0
  166. package/dist/actions/retrieve-job-note.d.mts +9 -0
  167. package/dist/actions/retrieve-job-note.d.mts.map +1 -0
  168. package/dist/actions/retrieve-job-note.mjs +22 -0
  169. package/dist/actions/retrieve-job-note.mjs.map +1 -0
  170. package/dist/actions/retrieve-job-payment.cjs +28 -0
  171. package/dist/actions/retrieve-job-payment.cjs.map +1 -0
  172. package/dist/actions/retrieve-job-payment.d.cts +9 -0
  173. package/dist/actions/retrieve-job-payment.d.cts.map +1 -0
  174. package/dist/actions/retrieve-job-payment.d.mts +9 -0
  175. package/dist/actions/retrieve-job-payment.d.mts.map +1 -0
  176. package/dist/actions/retrieve-job-payment.mjs +25 -0
  177. package/dist/actions/retrieve-job-payment.mjs.map +1 -0
  178. package/dist/actions/retrieve-job-queue.cjs +24 -0
  179. package/dist/actions/retrieve-job-queue.cjs.map +1 -0
  180. package/dist/actions/retrieve-job-queue.d.cts +9 -0
  181. package/dist/actions/retrieve-job-queue.d.cts.map +1 -0
  182. package/dist/actions/retrieve-job-queue.d.mts +9 -0
  183. package/dist/actions/retrieve-job-queue.d.mts.map +1 -0
  184. package/dist/actions/retrieve-job-queue.mjs +21 -0
  185. package/dist/actions/retrieve-job-queue.mjs.map +1 -0
  186. package/dist/actions/retrieve-job.cjs +68 -0
  187. package/dist/actions/retrieve-job.cjs.map +1 -0
  188. package/dist/actions/retrieve-job.d.cts +9 -0
  189. package/dist/actions/retrieve-job.d.cts.map +1 -0
  190. package/dist/actions/retrieve-job.d.mts +9 -0
  191. package/dist/actions/retrieve-job.d.mts.map +1 -0
  192. package/dist/actions/retrieve-job.mjs +65 -0
  193. package/dist/actions/retrieve-job.mjs.map +1 -0
  194. package/dist/actions/retrieve-location.cjs +31 -0
  195. package/dist/actions/retrieve-location.cjs.map +1 -0
  196. package/dist/actions/retrieve-location.d.cts +9 -0
  197. package/dist/actions/retrieve-location.d.cts.map +1 -0
  198. package/dist/actions/retrieve-location.d.mts +9 -0
  199. package/dist/actions/retrieve-location.d.mts.map +1 -0
  200. package/dist/actions/retrieve-location.mjs +28 -0
  201. package/dist/actions/retrieve-location.mjs.map +1 -0
  202. package/dist/actions/retrieve-material.cjs +31 -0
  203. package/dist/actions/retrieve-material.cjs.map +1 -0
  204. package/dist/actions/retrieve-material.d.cts +9 -0
  205. package/dist/actions/retrieve-material.d.cts.map +1 -0
  206. package/dist/actions/retrieve-material.d.mts +9 -0
  207. package/dist/actions/retrieve-material.d.mts.map +1 -0
  208. package/dist/actions/retrieve-material.mjs +28 -0
  209. package/dist/actions/retrieve-material.mjs.map +1 -0
  210. package/dist/actions/retrieve-staff-member.cjs +38 -0
  211. package/dist/actions/retrieve-staff-member.cjs.map +1 -0
  212. package/dist/actions/retrieve-staff-member.d.cts +9 -0
  213. package/dist/actions/retrieve-staff-member.d.cts.map +1 -0
  214. package/dist/actions/retrieve-staff-member.d.mts +9 -0
  215. package/dist/actions/retrieve-staff-member.d.mts.map +1 -0
  216. package/dist/actions/retrieve-staff-member.mjs +35 -0
  217. package/dist/actions/retrieve-staff-member.mjs.map +1 -0
  218. package/dist/actions/update-job-note.cjs +29 -0
  219. package/dist/actions/update-job-note.cjs.map +1 -0
  220. package/dist/actions/update-job-note.d.cts +9 -0
  221. package/dist/actions/update-job-note.d.cts.map +1 -0
  222. package/dist/actions/update-job-note.d.mts +9 -0
  223. package/dist/actions/update-job-note.d.mts.map +1 -0
  224. package/dist/actions/update-job-note.mjs +26 -0
  225. package/dist/actions/update-job-note.mjs.map +1 -0
  226. package/dist/actions/update-job-payment.cjs +36 -0
  227. package/dist/actions/update-job-payment.cjs.map +1 -0
  228. package/dist/actions/update-job-payment.d.cts +9 -0
  229. package/dist/actions/update-job-payment.d.cts.map +1 -0
  230. package/dist/actions/update-job-payment.d.mts +9 -0
  231. package/dist/actions/update-job-payment.d.mts.map +1 -0
  232. package/dist/actions/update-job-payment.mjs +33 -0
  233. package/dist/actions/update-job-payment.mjs.map +1 -0
  234. package/dist/app.cjs +9 -0
  235. package/dist/app.cjs.map +1 -0
  236. package/dist/app.d.cts +5 -0
  237. package/dist/app.d.cts.map +1 -0
  238. package/dist/app.d.mts +5 -0
  239. package/dist/app.d.mts.map +1 -0
  240. package/dist/app.mjs +10 -0
  241. package/dist/app.mjs.map +1 -0
  242. package/dist/catalog.cjs +15 -0
  243. package/dist/catalog.cjs.map +1 -0
  244. package/dist/catalog.d.cts +14 -0
  245. package/dist/catalog.d.cts.map +1 -0
  246. package/dist/catalog.d.mts +14 -0
  247. package/dist/catalog.d.mts.map +1 -0
  248. package/dist/catalog.mjs +15 -0
  249. package/dist/catalog.mjs.map +1 -0
  250. package/dist/execute.cjs +18 -0
  251. package/dist/execute.cjs.map +1 -0
  252. package/dist/execute.mjs +18 -0
  253. package/dist/execute.mjs.map +1 -0
  254. package/dist/index.cjs +62 -0
  255. package/dist/index.d.cts +31 -0
  256. package/dist/index.d.mts +31 -0
  257. package/dist/index.mjs +32 -0
  258. package/package.json +49 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"retrieve-material.cjs","names":["z","action"],"sources":["../../src/actions/retrieve-material.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const Servicem8RetrieveMaterialInput: z.ZodTypeAny = z.object({\n uuid: z.string().describe(\"UUID of the material to retrieve. Obtain this from the 'List All Materials' action or from job material records.\"),\n}).describe(\"Request model for retrieving a specific ServiceM8 material by UUID.\");\nexport const Servicem8RetrieveMaterialOutput: z.ZodTypeAny = z.object({\n cost: z.string().describe(\"Purchase/internal cost of the material in account currency (as string)\"),\n name: z.string().describe(\"Display name of the material, product, or labour rate\"),\n uuid: z.string().describe(\"Unique identifier (UUID) of the material record\"),\n price: z.string().describe(\"Selling price of the material in account currency (as string)\"),\n active: z.number().int().describe(\"Record status flag: 1 if active, 0 if soft-deleted (hidden in UI but accessible via API)\"),\n barcode: z.string().describe(\"Barcode/UPC identifier for the material\").nullable().optional(),\n edit_date: z.string().describe(\"ISO-8601 timestamp of last modification (e.g., '2023-05-01T15:20:30')\"),\n item_number: z.string().describe(\"Unique item/SKU code for the material used for lookups and imports\").nullable().optional(),\n tax_rate_uuid: z.string().describe(\"UUID of the default tax rate applied to this material\").nullable().optional(),\n item_description: z.string().describe(\"Detailed description of the material for display on forms or invoices\").nullable().optional(),\n quantity_in_stock: z.number().describe(\"Current inventory quantity available (only populated if inventory tracking is enabled)\").nullable().optional(),\n item_is_inventoried: z.number().int().describe(\"Inventory tracking flag: 1 if inventory tracking is enabled, 0 if disabled\").nullable().optional(),\n price_includes_taxes: z.number().int().describe(\"Tax inclusion flag: 1 if price includes taxes, 0 if price excludes taxes\").nullable().optional(),\n use_description_for_invoicing: z.string().describe(\"Alternative description text used specifically for invoicing (if different from item_description)\").nullable().optional(),\n}).describe(\"Response model for a ServiceM8 material record containing pricing, inventory, and identification details.\");\n\nexport const servicem8RetrieveMaterial = action(\"SERVICEM8_RETRIEVE_MATERIAL\", {\n slug: \"servicem8-retrieve-material\",\n name: \"Retrieve ServiceM8 Material\",\n description: \"Retrieve detailed information about a specific material/product/service by its UUID. Returns pricing, inventory levels, tax settings, and identification details. Use this when you have a material UUID from a job or list operation and need complete details like current stock levels or pricing information.\",\n input: Servicem8RetrieveMaterialInput,\n output: Servicem8RetrieveMaterialOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAA+CA,IAAAA,EAAE,OAAO,EACnE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kHAAkH,EAC9I,CAAC,CAAC,CAAC,SAAS,qEAAqE;AACjF,MAAa,kCAAgDA,IAAAA,EAAE,OAAO;CACpE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE;CAClG,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD;CACjF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;CAC3E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D;CAC1F,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0FAA0F;CAC5H,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE;CACtG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3H,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnI,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrJ,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjJ,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChJ,+BAA+BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mGAAmG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9K,CAAC,CAAC,CAAC,SAAS,2GAA2G;AAEvH,MAAa,4BAA4BC,eAAAA,OAAO,+BAA+B;CAC7E,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/retrieve-material.d.ts
4
+ declare const Servicem8RetrieveMaterialInput: z.ZodTypeAny;
5
+ declare const Servicem8RetrieveMaterialOutput: z.ZodTypeAny;
6
+ declare const servicem8RetrieveMaterial: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { servicem8RetrieveMaterial };
9
+ //# sourceMappingURL=retrieve-material.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"retrieve-material.d.cts","names":[],"sources":["../../src/actions/retrieve-material.ts"],"mappings":";;;cAIa,8BAAA,EAAgC,CAAA,CAAE,UAEmC;AAAA,cACrE,+BAAA,EAAiC,CAAA,CAAE,UAewE;AAAA,cAE3G,yBAAA,gCAAyB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/retrieve-material.d.ts
4
+ declare const Servicem8RetrieveMaterialInput: z.ZodTypeAny;
5
+ declare const Servicem8RetrieveMaterialOutput: z.ZodTypeAny;
6
+ declare const servicem8RetrieveMaterial: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { servicem8RetrieveMaterial };
9
+ //# sourceMappingURL=retrieve-material.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"retrieve-material.d.mts","names":[],"sources":["../../src/actions/retrieve-material.ts"],"mappings":";;;cAIa,8BAAA,EAAgC,CAAA,CAAE,UAEmC;AAAA,cACrE,+BAAA,EAAiC,CAAA,CAAE,UAewE;AAAA,cAE3G,yBAAA,gCAAyB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,28 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ const servicem8RetrieveMaterial = action("SERVICEM8_RETRIEVE_MATERIAL", {
4
+ slug: "servicem8-retrieve-material",
5
+ name: "Retrieve ServiceM8 Material",
6
+ description: "Retrieve detailed information about a specific material/product/service by its UUID. Returns pricing, inventory levels, tax settings, and identification details. Use this when you have a material UUID from a job or list operation and need complete details like current stock levels or pricing information.",
7
+ input: z.object({ uuid: z.string().describe("UUID of the material to retrieve. Obtain this from the 'List All Materials' action or from job material records.") }).describe("Request model for retrieving a specific ServiceM8 material by UUID."),
8
+ output: z.object({
9
+ cost: z.string().describe("Purchase/internal cost of the material in account currency (as string)"),
10
+ name: z.string().describe("Display name of the material, product, or labour rate"),
11
+ uuid: z.string().describe("Unique identifier (UUID) of the material record"),
12
+ price: z.string().describe("Selling price of the material in account currency (as string)"),
13
+ active: z.number().int().describe("Record status flag: 1 if active, 0 if soft-deleted (hidden in UI but accessible via API)"),
14
+ barcode: z.string().describe("Barcode/UPC identifier for the material").nullable().optional(),
15
+ edit_date: z.string().describe("ISO-8601 timestamp of last modification (e.g., '2023-05-01T15:20:30')"),
16
+ item_number: z.string().describe("Unique item/SKU code for the material used for lookups and imports").nullable().optional(),
17
+ tax_rate_uuid: z.string().describe("UUID of the default tax rate applied to this material").nullable().optional(),
18
+ item_description: z.string().describe("Detailed description of the material for display on forms or invoices").nullable().optional(),
19
+ quantity_in_stock: z.number().describe("Current inventory quantity available (only populated if inventory tracking is enabled)").nullable().optional(),
20
+ item_is_inventoried: z.number().int().describe("Inventory tracking flag: 1 if inventory tracking is enabled, 0 if disabled").nullable().optional(),
21
+ price_includes_taxes: z.number().int().describe("Tax inclusion flag: 1 if price includes taxes, 0 if price excludes taxes").nullable().optional(),
22
+ use_description_for_invoicing: z.string().describe("Alternative description text used specifically for invoicing (if different from item_description)").nullable().optional()
23
+ }).describe("Response model for a ServiceM8 material record containing pricing, inventory, and identification details.")
24
+ });
25
+ //#endregion
26
+ export { servicem8RetrieveMaterial };
27
+
28
+ //# sourceMappingURL=retrieve-material.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"retrieve-material.mjs","names":[],"sources":["../../src/actions/retrieve-material.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const Servicem8RetrieveMaterialInput: z.ZodTypeAny = z.object({\n uuid: z.string().describe(\"UUID of the material to retrieve. Obtain this from the 'List All Materials' action or from job material records.\"),\n}).describe(\"Request model for retrieving a specific ServiceM8 material by UUID.\");\nexport const Servicem8RetrieveMaterialOutput: z.ZodTypeAny = z.object({\n cost: z.string().describe(\"Purchase/internal cost of the material in account currency (as string)\"),\n name: z.string().describe(\"Display name of the material, product, or labour rate\"),\n uuid: z.string().describe(\"Unique identifier (UUID) of the material record\"),\n price: z.string().describe(\"Selling price of the material in account currency (as string)\"),\n active: z.number().int().describe(\"Record status flag: 1 if active, 0 if soft-deleted (hidden in UI but accessible via API)\"),\n barcode: z.string().describe(\"Barcode/UPC identifier for the material\").nullable().optional(),\n edit_date: z.string().describe(\"ISO-8601 timestamp of last modification (e.g., '2023-05-01T15:20:30')\"),\n item_number: z.string().describe(\"Unique item/SKU code for the material used for lookups and imports\").nullable().optional(),\n tax_rate_uuid: z.string().describe(\"UUID of the default tax rate applied to this material\").nullable().optional(),\n item_description: z.string().describe(\"Detailed description of the material for display on forms or invoices\").nullable().optional(),\n quantity_in_stock: z.number().describe(\"Current inventory quantity available (only populated if inventory tracking is enabled)\").nullable().optional(),\n item_is_inventoried: z.number().int().describe(\"Inventory tracking flag: 1 if inventory tracking is enabled, 0 if disabled\").nullable().optional(),\n price_includes_taxes: z.number().int().describe(\"Tax inclusion flag: 1 if price includes taxes, 0 if price excludes taxes\").nullable().optional(),\n use_description_for_invoicing: z.string().describe(\"Alternative description text used specifically for invoicing (if different from item_description)\").nullable().optional(),\n}).describe(\"Response model for a ServiceM8 material record containing pricing, inventory, and identification details.\");\n\nexport const servicem8RetrieveMaterial = action(\"SERVICEM8_RETRIEVE_MATERIAL\", {\n slug: \"servicem8-retrieve-material\",\n name: \"Retrieve ServiceM8 Material\",\n description: \"Retrieve detailed information about a specific material/product/service by its UUID. Returns pricing, inventory levels, tax settings, and identification details. Use this when you have a material UUID from a job or list operation and need complete details like current stock levels or pricing information.\",\n input: Servicem8RetrieveMaterialInput,\n output: Servicem8RetrieveMaterialOutput,\n});\n"],"mappings":";;AAwBA,MAAa,4BAA4B,OAAO,+BAA+B;CAC7E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAxB0D,EAAE,OAAO,EACnE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kHAAkH,EAC9I,CAAC,CAAC,CAAC,SAAS,qEAsBH;CACP,QAtB2D,EAAE,OAAO;EACpE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE;EAClG,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD;EACjF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;EAC3E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D;EAC1F,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0FAA0F;EAC5H,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE;EACtG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3H,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChH,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnI,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrJ,qBAAqB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjJ,sBAAsB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChJ,+BAA+B,EAAE,OAAO,CAAC,CAAC,SAAS,mGAAmG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9K,CAAC,CAAC,CAAC,SAAS,2GAOF;AACV,CAAC"}
@@ -0,0 +1,38 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/retrieve-staff-member.ts
4
+ const Servicem8RetrieveStaffMemberInput = zod.z.object({ uuid: zod.z.string().describe("The unique identifier (UUID) of the staff member to retrieve.") }).describe("Request parameters for retrieving a specific staff member.");
5
+ const Servicem8RetrieveStaffMemberOutput = zod.z.object({
6
+ lat: zod.z.number().describe("Latitude of last known location.").nullable().optional(),
7
+ lng: zod.z.number().describe("Longitude of last known location.").nullable().optional(),
8
+ last: zod.z.string().describe("Last name of the staff member (≤30 chars)."),
9
+ uuid: zod.z.string().describe("Unique identifier for this staff record."),
10
+ color: zod.z.string().describe("Hex color code for visual identification.").nullable().optional(),
11
+ email: zod.z.string().describe("Email address (also login name)."),
12
+ first: zod.z.string().describe("First name of the staff member (≤30 chars)."),
13
+ active: zod.z.number().int().describe("Active flag: 1=active, 0=archived."),
14
+ mobile: zod.z.string().describe("Mobile phone number of the staff member.").nullable().optional(),
15
+ edit_date: zod.z.string().describe("Timestamp when the record was last modified (YYYY-MM-DD HH:MM:SS).").nullable().optional(),
16
+ job_title: zod.z.string().describe("Job title or role.").nullable().optional(),
17
+ geo_timestamp: zod.z.string().describe("Timestamp when geographic location was last updated (YYYY-MM-DD HH:MM:SS).").nullable().optional(),
18
+ status_message: zod.z.string().describe("Short message summarising current status.").nullable().optional(),
19
+ custom_icon_url: zod.z.string().describe("DEPRECATED. Custom icon URL.").nullable().optional(),
20
+ hide_from_schedule: zod.z.number().int().describe("1 to hide from schedule view, 0 to show.").nullable().optional(),
21
+ security_role_uuid: zod.z.string().describe("UUID of the primary security role.").nullable().optional(),
22
+ navigating_timestamp: zod.z.string().describe("Timestamp when navigation to a job started (YYYY-MM-DD HH:MM:SS).").nullable().optional(),
23
+ navigating_to_job_uuid: zod.z.string().describe("UUID of the job the staff member is navigating to.").nullable().optional(),
24
+ status_message_timestamp: zod.z.string().describe("When status message was last updated (YYYY-MM-DD HH:MM:SS).").nullable().optional(),
25
+ navigating_expiry_timestamp: zod.z.string().describe("When navigation is expected to complete or expire (YYYY-MM-DD HH:MM:SS).").nullable().optional(),
26
+ can_receive_push_notification: zod.z.string().describe("Whether the staff can receive push notifications.").nullable().optional()
27
+ }).describe("Schema of a Staff Member record returned by ServiceM8.");
28
+ const servicem8RetrieveStaffMember = require_action.action("SERVICEM8_RETRIEVE_STAFF_MEMBER", {
29
+ slug: "servicem8-retrieve-staff-member",
30
+ name: "Retrieve Staff Member",
31
+ description: "Tool to retrieve details of a specific staff member by their UUID. Use when you need up-to-date staff information given a known staff UUID.",
32
+ input: Servicem8RetrieveStaffMemberInput,
33
+ output: Servicem8RetrieveStaffMemberOutput
34
+ });
35
+ //#endregion
36
+ exports.servicem8RetrieveStaffMember = servicem8RetrieveStaffMember;
37
+
38
+ //# sourceMappingURL=retrieve-staff-member.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"retrieve-staff-member.cjs","names":["z","action"],"sources":["../../src/actions/retrieve-staff-member.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const Servicem8RetrieveStaffMemberInput: z.ZodTypeAny = z.object({\n uuid: z.string().describe(\"The unique identifier (UUID) of the staff member to retrieve.\"),\n}).describe(\"Request parameters for retrieving a specific staff member.\");\nexport const Servicem8RetrieveStaffMemberOutput: z.ZodTypeAny = z.object({\n lat: z.number().describe(\"Latitude of last known location.\").nullable().optional(),\n lng: z.number().describe(\"Longitude of last known location.\").nullable().optional(),\n last: z.string().describe(\"Last name of the staff member (≤30 chars).\"),\n uuid: z.string().describe(\"Unique identifier for this staff record.\"),\n color: z.string().describe(\"Hex color code for visual identification.\").nullable().optional(),\n email: z.string().describe(\"Email address (also login name).\"),\n first: z.string().describe(\"First name of the staff member (≤30 chars).\"),\n active: z.number().int().describe(\"Active flag: 1=active, 0=archived.\"),\n mobile: z.string().describe(\"Mobile phone number of the staff member.\").nullable().optional(),\n edit_date: z.string().describe(\"Timestamp when the record was last modified (YYYY-MM-DD HH:MM:SS).\").nullable().optional(),\n job_title: z.string().describe(\"Job title or role.\").nullable().optional(),\n geo_timestamp: z.string().describe(\"Timestamp when geographic location was last updated (YYYY-MM-DD HH:MM:SS).\").nullable().optional(),\n status_message: z.string().describe(\"Short message summarising current status.\").nullable().optional(),\n custom_icon_url: z.string().describe(\"DEPRECATED. Custom icon URL.\").nullable().optional(),\n hide_from_schedule: z.number().int().describe(\"1 to hide from schedule view, 0 to show.\").nullable().optional(),\n security_role_uuid: z.string().describe(\"UUID of the primary security role.\").nullable().optional(),\n navigating_timestamp: z.string().describe(\"Timestamp when navigation to a job started (YYYY-MM-DD HH:MM:SS).\").nullable().optional(),\n navigating_to_job_uuid: z.string().describe(\"UUID of the job the staff member is navigating to.\").nullable().optional(),\n status_message_timestamp: z.string().describe(\"When status message was last updated (YYYY-MM-DD HH:MM:SS).\").nullable().optional(),\n navigating_expiry_timestamp: z.string().describe(\"When navigation is expected to complete or expire (YYYY-MM-DD HH:MM:SS).\").nullable().optional(),\n can_receive_push_notification: z.string().describe(\"Whether the staff can receive push notifications.\").nullable().optional(),\n}).describe(\"Schema of a Staff Member record returned by ServiceM8.\");\n\nexport const servicem8RetrieveStaffMember = action(\"SERVICEM8_RETRIEVE_STAFF_MEMBER\", {\n slug: \"servicem8-retrieve-staff-member\",\n name: \"Retrieve Staff Member\",\n description: \"Tool to retrieve details of a specific staff member by their UUID. Use when you need up-to-date staff information given a known staff UUID.\",\n input: Servicem8RetrieveStaffMemberInput,\n output: Servicem8RetrieveStaffMemberOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAkDA,IAAAA,EAAE,OAAO,EACtE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,EAC3F,CAAC,CAAC,CAAC,SAAS,4DAA4D;AACxE,MAAa,qCAAmDA,IAAAA,EAAE,OAAO;CACvE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;CACtE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C;CACpE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;CAC7D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C;CACxE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC;CACtE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzH,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrI,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnI,wBAAwBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,0BAA0BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjI,6BAA6BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjJ,+BAA+BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9H,CAAC,CAAC,CAAC,SAAS,wDAAwD;AAEpE,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/retrieve-staff-member.d.ts
4
+ declare const Servicem8RetrieveStaffMemberInput: z.ZodTypeAny;
5
+ declare const Servicem8RetrieveStaffMemberOutput: z.ZodTypeAny;
6
+ declare const servicem8RetrieveStaffMember: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { servicem8RetrieveStaffMember };
9
+ //# sourceMappingURL=retrieve-staff-member.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"retrieve-staff-member.d.cts","names":[],"sources":["../../src/actions/retrieve-staff-member.ts"],"mappings":";;;cAIa,iCAAA,EAAmC,CAAA,CAAE,UAEuB;AAAA,cAC5D,kCAAA,EAAoC,CAAA,CAAE,UAsBkB;AAAA,cAExD,4BAAA,gCAA4B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/retrieve-staff-member.d.ts
4
+ declare const Servicem8RetrieveStaffMemberInput: z.ZodTypeAny;
5
+ declare const Servicem8RetrieveStaffMemberOutput: z.ZodTypeAny;
6
+ declare const servicem8RetrieveStaffMember: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { servicem8RetrieveStaffMember };
9
+ //# sourceMappingURL=retrieve-staff-member.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"retrieve-staff-member.d.mts","names":[],"sources":["../../src/actions/retrieve-staff-member.ts"],"mappings":";;;cAIa,iCAAA,EAAmC,CAAA,CAAE,UAEuB;AAAA,cAC5D,kCAAA,EAAoC,CAAA,CAAE,UAsBkB;AAAA,cAExD,4BAAA,gCAA4B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,35 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ const servicem8RetrieveStaffMember = action("SERVICEM8_RETRIEVE_STAFF_MEMBER", {
4
+ slug: "servicem8-retrieve-staff-member",
5
+ name: "Retrieve Staff Member",
6
+ description: "Tool to retrieve details of a specific staff member by their UUID. Use when you need up-to-date staff information given a known staff UUID.",
7
+ input: z.object({ uuid: z.string().describe("The unique identifier (UUID) of the staff member to retrieve.") }).describe("Request parameters for retrieving a specific staff member."),
8
+ output: z.object({
9
+ lat: z.number().describe("Latitude of last known location.").nullable().optional(),
10
+ lng: z.number().describe("Longitude of last known location.").nullable().optional(),
11
+ last: z.string().describe("Last name of the staff member (≤30 chars)."),
12
+ uuid: z.string().describe("Unique identifier for this staff record."),
13
+ color: z.string().describe("Hex color code for visual identification.").nullable().optional(),
14
+ email: z.string().describe("Email address (also login name)."),
15
+ first: z.string().describe("First name of the staff member (≤30 chars)."),
16
+ active: z.number().int().describe("Active flag: 1=active, 0=archived."),
17
+ mobile: z.string().describe("Mobile phone number of the staff member.").nullable().optional(),
18
+ edit_date: z.string().describe("Timestamp when the record was last modified (YYYY-MM-DD HH:MM:SS).").nullable().optional(),
19
+ job_title: z.string().describe("Job title or role.").nullable().optional(),
20
+ geo_timestamp: z.string().describe("Timestamp when geographic location was last updated (YYYY-MM-DD HH:MM:SS).").nullable().optional(),
21
+ status_message: z.string().describe("Short message summarising current status.").nullable().optional(),
22
+ custom_icon_url: z.string().describe("DEPRECATED. Custom icon URL.").nullable().optional(),
23
+ hide_from_schedule: z.number().int().describe("1 to hide from schedule view, 0 to show.").nullable().optional(),
24
+ security_role_uuid: z.string().describe("UUID of the primary security role.").nullable().optional(),
25
+ navigating_timestamp: z.string().describe("Timestamp when navigation to a job started (YYYY-MM-DD HH:MM:SS).").nullable().optional(),
26
+ navigating_to_job_uuid: z.string().describe("UUID of the job the staff member is navigating to.").nullable().optional(),
27
+ status_message_timestamp: z.string().describe("When status message was last updated (YYYY-MM-DD HH:MM:SS).").nullable().optional(),
28
+ navigating_expiry_timestamp: z.string().describe("When navigation is expected to complete or expire (YYYY-MM-DD HH:MM:SS).").nullable().optional(),
29
+ can_receive_push_notification: z.string().describe("Whether the staff can receive push notifications.").nullable().optional()
30
+ }).describe("Schema of a Staff Member record returned by ServiceM8.")
31
+ });
32
+ //#endregion
33
+ export { servicem8RetrieveStaffMember };
34
+
35
+ //# sourceMappingURL=retrieve-staff-member.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"retrieve-staff-member.mjs","names":[],"sources":["../../src/actions/retrieve-staff-member.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const Servicem8RetrieveStaffMemberInput: z.ZodTypeAny = z.object({\n uuid: z.string().describe(\"The unique identifier (UUID) of the staff member to retrieve.\"),\n}).describe(\"Request parameters for retrieving a specific staff member.\");\nexport const Servicem8RetrieveStaffMemberOutput: z.ZodTypeAny = z.object({\n lat: z.number().describe(\"Latitude of last known location.\").nullable().optional(),\n lng: z.number().describe(\"Longitude of last known location.\").nullable().optional(),\n last: z.string().describe(\"Last name of the staff member (≤30 chars).\"),\n uuid: z.string().describe(\"Unique identifier for this staff record.\"),\n color: z.string().describe(\"Hex color code for visual identification.\").nullable().optional(),\n email: z.string().describe(\"Email address (also login name).\"),\n first: z.string().describe(\"First name of the staff member (≤30 chars).\"),\n active: z.number().int().describe(\"Active flag: 1=active, 0=archived.\"),\n mobile: z.string().describe(\"Mobile phone number of the staff member.\").nullable().optional(),\n edit_date: z.string().describe(\"Timestamp when the record was last modified (YYYY-MM-DD HH:MM:SS).\").nullable().optional(),\n job_title: z.string().describe(\"Job title or role.\").nullable().optional(),\n geo_timestamp: z.string().describe(\"Timestamp when geographic location was last updated (YYYY-MM-DD HH:MM:SS).\").nullable().optional(),\n status_message: z.string().describe(\"Short message summarising current status.\").nullable().optional(),\n custom_icon_url: z.string().describe(\"DEPRECATED. Custom icon URL.\").nullable().optional(),\n hide_from_schedule: z.number().int().describe(\"1 to hide from schedule view, 0 to show.\").nullable().optional(),\n security_role_uuid: z.string().describe(\"UUID of the primary security role.\").nullable().optional(),\n navigating_timestamp: z.string().describe(\"Timestamp when navigation to a job started (YYYY-MM-DD HH:MM:SS).\").nullable().optional(),\n navigating_to_job_uuid: z.string().describe(\"UUID of the job the staff member is navigating to.\").nullable().optional(),\n status_message_timestamp: z.string().describe(\"When status message was last updated (YYYY-MM-DD HH:MM:SS).\").nullable().optional(),\n navigating_expiry_timestamp: z.string().describe(\"When navigation is expected to complete or expire (YYYY-MM-DD HH:MM:SS).\").nullable().optional(),\n can_receive_push_notification: z.string().describe(\"Whether the staff can receive push notifications.\").nullable().optional(),\n}).describe(\"Schema of a Staff Member record returned by ServiceM8.\");\n\nexport const servicem8RetrieveStaffMember = action(\"SERVICEM8_RETRIEVE_STAFF_MEMBER\", {\n slug: \"servicem8-retrieve-staff-member\",\n name: \"Retrieve Staff Member\",\n description: \"Tool to retrieve details of a specific staff member by their UUID. Use when you need up-to-date staff information given a known staff UUID.\",\n input: Servicem8RetrieveStaffMemberInput,\n output: Servicem8RetrieveStaffMemberOutput,\n});\n"],"mappings":";;AA+BA,MAAa,+BAA+B,OAAO,mCAAmC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA/B6D,EAAE,OAAO,EACtE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,EAC3F,CAAC,CAAC,CAAC,SAAS,4DA6BH;CACP,QA7B8D,EAAE,OAAO;EACvE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjF,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;EACtE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C;EACpE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5F,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;EAC7D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C;EACxE,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC;EACtE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzH,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzE,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrI,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrG,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzF,oBAAoB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9G,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClG,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnI,wBAAwB,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtH,0BAA0B,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjI,6BAA6B,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjJ,+BAA+B,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9H,CAAC,CAAC,CAAC,SAAS,wDAOF;AACV,CAAC"}
@@ -0,0 +1,29 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/update-job-note.ts
4
+ const Servicem8UpdateJobNoteInput = zod.z.object({
5
+ note: zod.z.string().describe("New content for the job note").optional(),
6
+ uuid: zod.z.string().describe("UUID of the job note to update"),
7
+ active: zod.z.number().int().describe("Active flag: 1=active, 0=archived").optional(),
8
+ edit_date: zod.z.string().describe("Timestamp when the note was last edited in 'YYYY-MM-DD HH:MM:SS' format").optional()
9
+ }).describe("Request model for updating a ServiceM8 job note. Provide the note UUID and at least one field to modify.");
10
+ const Servicem8UpdateJobNoteOutput = zod.z.object({
11
+ note: zod.z.string().describe("Content of the job note"),
12
+ uuid: zod.z.string().describe("UUID of the updated job note"),
13
+ active: zod.z.number().int().describe("Active flag of the note: 1=active, 0=archived"),
14
+ job_uuid: zod.z.string().describe("UUID of the job this note is associated with"),
15
+ edit_date: zod.z.string().describe("Timestamp when the note was last edited (YYYY-MM-DD HH:MM:SS)"),
16
+ timestamp: zod.z.string().describe("Timestamp when the note was created (YYYY-MM-DD HH:MM:SS)"),
17
+ created_by_staff_uuid: zod.z.string().describe("UUID of the staff member who created the note")
18
+ }).describe("Response model for an updated ServiceM8 job note.");
19
+ const servicem8UpdateJobNote = require_action.action("SERVICEM8_UPDATE_JOB_NOTE", {
20
+ slug: "servicem8-update-job-note",
21
+ name: "Update a ServiceM8 Job Note",
22
+ description: "Tool to update details of an existing job note. Use when modifying a note after its creation.",
23
+ input: Servicem8UpdateJobNoteInput,
24
+ output: Servicem8UpdateJobNoteOutput
25
+ });
26
+ //#endregion
27
+ exports.servicem8UpdateJobNote = servicem8UpdateJobNote;
28
+
29
+ //# sourceMappingURL=update-job-note.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"update-job-note.cjs","names":["z","action"],"sources":["../../src/actions/update-job-note.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const Servicem8UpdateJobNoteInput: z.ZodTypeAny = z.object({\n note: z.string().describe(\"New content for the job note\").optional(),\n uuid: z.string().describe(\"UUID of the job note to update\"),\n active: z.number().int().describe(\"Active flag: 1=active, 0=archived\").optional(),\n edit_date: z.string().describe(\"Timestamp when the note was last edited in 'YYYY-MM-DD HH:MM:SS' format\").optional(),\n}).describe(\"Request model for updating a ServiceM8 job note. Provide the note UUID and at least one field to modify.\");\nexport const Servicem8UpdateJobNoteOutput: z.ZodTypeAny = z.object({\n note: z.string().describe(\"Content of the job note\"),\n uuid: z.string().describe(\"UUID of the updated job note\"),\n active: z.number().int().describe(\"Active flag of the note: 1=active, 0=archived\"),\n job_uuid: z.string().describe(\"UUID of the job this note is associated with\"),\n edit_date: z.string().describe(\"Timestamp when the note was last edited (YYYY-MM-DD HH:MM:SS)\"),\n timestamp: z.string().describe(\"Timestamp when the note was created (YYYY-MM-DD HH:MM:SS)\"),\n created_by_staff_uuid: z.string().describe(\"UUID of the staff member who created the note\"),\n}).describe(\"Response model for an updated ServiceM8 job note.\");\n\nexport const servicem8UpdateJobNote = action(\"SERVICEM8_UPDATE_JOB_NOTE\", {\n slug: \"servicem8-update-job-note\",\n name: \"Update a ServiceM8 Job Note\",\n description: \"Tool to update details of an existing job note. Use when modifying a note after its creation.\",\n input: Servicem8UpdateJobNoteInput,\n output: Servicem8UpdateJobNoteOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA4CA,IAAAA,EAAE,OAAO;CAChE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACnE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;CAC1D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CAChF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;AACrH,CAAC,CAAC,CAAC,SAAS,0GAA0G;AACtH,MAAa,+BAA6CA,IAAAA,EAAE,OAAO;CACjE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB;CACnD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B;CACxD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C;CACjF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;CAC5E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D;CAC9F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D;CAC1F,uBAAuBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;AAC5F,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAE/D,MAAa,yBAAyBC,eAAAA,OAAO,6BAA6B;CACxE,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/update-job-note.d.ts
4
+ declare const Servicem8UpdateJobNoteInput: z.ZodTypeAny;
5
+ declare const Servicem8UpdateJobNoteOutput: z.ZodTypeAny;
6
+ declare const servicem8UpdateJobNote: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { servicem8UpdateJobNote };
9
+ //# sourceMappingURL=update-job-note.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"update-job-note.d.cts","names":[],"sources":["../../src/actions/update-job-note.ts"],"mappings":";;;cAIa,2BAAA,EAA6B,CAAA,CAAE,UAK2E;AAAA,cAC1G,4BAAA,EAA8B,CAAA,CAAE,UAQmB;AAAA,cAEnD,sBAAA,gCAAsB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/update-job-note.d.ts
4
+ declare const Servicem8UpdateJobNoteInput: z.ZodTypeAny;
5
+ declare const Servicem8UpdateJobNoteOutput: z.ZodTypeAny;
6
+ declare const servicem8UpdateJobNote: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { servicem8UpdateJobNote };
9
+ //# sourceMappingURL=update-job-note.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"update-job-note.d.mts","names":[],"sources":["../../src/actions/update-job-note.ts"],"mappings":";;;cAIa,2BAAA,EAA6B,CAAA,CAAE,UAK2E;AAAA,cAC1G,4BAAA,EAA8B,CAAA,CAAE,UAQmB;AAAA,cAEnD,sBAAA,gCAAsB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,26 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ const servicem8UpdateJobNote = action("SERVICEM8_UPDATE_JOB_NOTE", {
4
+ slug: "servicem8-update-job-note",
5
+ name: "Update a ServiceM8 Job Note",
6
+ description: "Tool to update details of an existing job note. Use when modifying a note after its creation.",
7
+ input: z.object({
8
+ note: z.string().describe("New content for the job note").optional(),
9
+ uuid: z.string().describe("UUID of the job note to update"),
10
+ active: z.number().int().describe("Active flag: 1=active, 0=archived").optional(),
11
+ edit_date: z.string().describe("Timestamp when the note was last edited in 'YYYY-MM-DD HH:MM:SS' format").optional()
12
+ }).describe("Request model for updating a ServiceM8 job note. Provide the note UUID and at least one field to modify."),
13
+ output: z.object({
14
+ note: z.string().describe("Content of the job note"),
15
+ uuid: z.string().describe("UUID of the updated job note"),
16
+ active: z.number().int().describe("Active flag of the note: 1=active, 0=archived"),
17
+ job_uuid: z.string().describe("UUID of the job this note is associated with"),
18
+ edit_date: z.string().describe("Timestamp when the note was last edited (YYYY-MM-DD HH:MM:SS)"),
19
+ timestamp: z.string().describe("Timestamp when the note was created (YYYY-MM-DD HH:MM:SS)"),
20
+ created_by_staff_uuid: z.string().describe("UUID of the staff member who created the note")
21
+ }).describe("Response model for an updated ServiceM8 job note.")
22
+ });
23
+ //#endregion
24
+ export { servicem8UpdateJobNote };
25
+
26
+ //# sourceMappingURL=update-job-note.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"update-job-note.mjs","names":[],"sources":["../../src/actions/update-job-note.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const Servicem8UpdateJobNoteInput: z.ZodTypeAny = z.object({\n note: z.string().describe(\"New content for the job note\").optional(),\n uuid: z.string().describe(\"UUID of the job note to update\"),\n active: z.number().int().describe(\"Active flag: 1=active, 0=archived\").optional(),\n edit_date: z.string().describe(\"Timestamp when the note was last edited in 'YYYY-MM-DD HH:MM:SS' format\").optional(),\n}).describe(\"Request model for updating a ServiceM8 job note. Provide the note UUID and at least one field to modify.\");\nexport const Servicem8UpdateJobNoteOutput: z.ZodTypeAny = z.object({\n note: z.string().describe(\"Content of the job note\"),\n uuid: z.string().describe(\"UUID of the updated job note\"),\n active: z.number().int().describe(\"Active flag of the note: 1=active, 0=archived\"),\n job_uuid: z.string().describe(\"UUID of the job this note is associated with\"),\n edit_date: z.string().describe(\"Timestamp when the note was last edited (YYYY-MM-DD HH:MM:SS)\"),\n timestamp: z.string().describe(\"Timestamp when the note was created (YYYY-MM-DD HH:MM:SS)\"),\n created_by_staff_uuid: z.string().describe(\"UUID of the staff member who created the note\"),\n}).describe(\"Response model for an updated ServiceM8 job note.\");\n\nexport const servicem8UpdateJobNote = action(\"SERVICEM8_UPDATE_JOB_NOTE\", {\n slug: \"servicem8-update-job-note\",\n name: \"Update a ServiceM8 Job Note\",\n description: \"Tool to update details of an existing job note. Use when modifying a note after its creation.\",\n input: Servicem8UpdateJobNoteInput,\n output: Servicem8UpdateJobNoteOutput,\n});\n"],"mappings":";;AAoBA,MAAa,yBAAyB,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OApBuD,EAAE,OAAO;EAChE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;EACnE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;EAC1D,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;EAChF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;CACrH,CAAC,CAAC,CAAC,SAAS,0GAeH;CACP,QAfwD,EAAE,OAAO;EACjE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB;EACnD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B;EACxD,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C;EACjF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;EAC5E,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D;EAC9F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D;EAC1F,uBAAuB,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;CAC5F,CAAC,CAAC,CAAC,SAAS,mDAOF;AACV,CAAC"}
@@ -0,0 +1,36 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/update-job-payment.ts
4
+ const Servicem8UpdateJobPaymentInput = zod.z.object({
5
+ note: zod.z.string().describe("Note or memo for the payment").optional(),
6
+ uuid: zod.z.string().describe("UUID of the job payment record to update (required)"),
7
+ active: zod.z.number().int().describe("Active status: 1=active, 0=archived/deleted").optional(),
8
+ amount: zod.z.string().describe("New payment amount as a decimal string (e.g., '150.00')").optional(),
9
+ method: zod.z.string().describe("Payment method: 'cash', 'credit_card', 'eftpos', 'cheque', 'direct_deposit', or 'other'").optional(),
10
+ timestamp: zod.z.string().describe("Payment date/time in 'YYYY-MM-DD HH:MM:SS' format").optional(),
11
+ is_deposit: zod.z.number().int().describe("Whether this is a deposit: 1=deposit, 0=regular payment").optional(),
12
+ attachment_uuid: zod.z.string().describe("UUID of an attachment (e.g., receipt image) linked to this payment").optional(),
13
+ actioned_by_uuid: zod.z.string().describe("UUID of the staff member who recorded or updated the payment").optional()
14
+ }).describe("Request model for updating an existing ServiceM8 job payment record.\nThe payment UUID is required along with at least one field to update.");
15
+ const Servicem8UpdateJobPaymentOutput = zod.z.object({
16
+ note: zod.z.string().describe("Payment note or memo").nullable().optional(),
17
+ uuid: zod.z.string().describe("Unique identifier of the job payment record"),
18
+ active: zod.z.number().int().describe("Active status: 1=active, 0=archived").nullable().optional(),
19
+ amount: zod.z.string().describe("Payment amount as a decimal string"),
20
+ method: zod.z.string().describe("Payment method used"),
21
+ job_uuid: zod.z.string().describe("UUID of the job this payment is associated with"),
22
+ timestamp: zod.z.string().describe("Payment date/time in 'YYYY-MM-DD HH:MM:SS' format"),
23
+ is_deposit: zod.z.number().int().describe("Whether this is a deposit: 1=deposit, 0=regular payment").nullable().optional(),
24
+ actioned_by_uuid: zod.z.string().describe("UUID of staff member who recorded the payment").nullable().optional()
25
+ }).describe("Response model containing the updated job payment record details.");
26
+ const servicem8UpdateJobPayment = require_action.action("SERVICEM8_UPDATE_JOB_PAYMENT", {
27
+ slug: "servicem8-update-job-payment",
28
+ name: "Update Job Payment",
29
+ description: "Update an existing job payment record in ServiceM8. Use this to modify payment details such as amount, method, note, or status. Requires the payment UUID and at least one field to update.",
30
+ input: Servicem8UpdateJobPaymentInput,
31
+ output: Servicem8UpdateJobPaymentOutput
32
+ });
33
+ //#endregion
34
+ exports.servicem8UpdateJobPayment = servicem8UpdateJobPayment;
35
+
36
+ //# sourceMappingURL=update-job-payment.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"update-job-payment.cjs","names":["z","action"],"sources":["../../src/actions/update-job-payment.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const Servicem8UpdateJobPaymentInput: z.ZodTypeAny = z.object({\n note: z.string().describe(\"Note or memo for the payment\").optional(),\n uuid: z.string().describe(\"UUID of the job payment record to update (required)\"),\n active: z.number().int().describe(\"Active status: 1=active, 0=archived/deleted\").optional(),\n amount: z.string().describe(\"New payment amount as a decimal string (e.g., '150.00')\").optional(),\n method: z.string().describe(\"Payment method: 'cash', 'credit_card', 'eftpos', 'cheque', 'direct_deposit', or 'other'\").optional(),\n timestamp: z.string().describe(\"Payment date/time in 'YYYY-MM-DD HH:MM:SS' format\").optional(),\n is_deposit: z.number().int().describe(\"Whether this is a deposit: 1=deposit, 0=regular payment\").optional(),\n attachment_uuid: z.string().describe(\"UUID of an attachment (e.g., receipt image) linked to this payment\").optional(),\n actioned_by_uuid: z.string().describe(\"UUID of the staff member who recorded or updated the payment\").optional(),\n}).describe(\"Request model for updating an existing ServiceM8 job payment record.\\nThe payment UUID is required along with at least one field to update.\");\nexport const Servicem8UpdateJobPaymentOutput: z.ZodTypeAny = z.object({\n note: z.string().describe(\"Payment note or memo\").nullable().optional(),\n uuid: z.string().describe(\"Unique identifier of the job payment record\"),\n active: z.number().int().describe(\"Active status: 1=active, 0=archived\").nullable().optional(),\n amount: z.string().describe(\"Payment amount as a decimal string\"),\n method: z.string().describe(\"Payment method used\"),\n job_uuid: z.string().describe(\"UUID of the job this payment is associated with\"),\n timestamp: z.string().describe(\"Payment date/time in 'YYYY-MM-DD HH:MM:SS' format\"),\n is_deposit: z.number().int().describe(\"Whether this is a deposit: 1=deposit, 0=regular payment\").nullable().optional(),\n actioned_by_uuid: z.string().describe(\"UUID of staff member who recorded the payment\").nullable().optional(),\n}).describe(\"Response model containing the updated job payment record details.\");\n\nexport const servicem8UpdateJobPayment = action(\"SERVICEM8_UPDATE_JOB_PAYMENT\", {\n slug: \"servicem8-update-job-payment\",\n name: \"Update Job Payment\",\n description: \"Update an existing job payment record in ServiceM8. Use this to modify payment details such as amount, method, note, or status. Requires the payment UUID and at least one field to update.\",\n input: Servicem8UpdateJobPaymentInput,\n output: Servicem8UpdateJobPaymentOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAA+CA,IAAAA,EAAE,OAAO;CACnE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACnE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD;CAC/E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CAC1F,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CAChG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS;CAChI,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAC7F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CAC1G,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;CACpH,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;AACjH,CAAC,CAAC,CAAC,SAAS,6IAA6I;AACzJ,MAAa,kCAAgDA,IAAAA,EAAE,OAAO;CACpE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C;CACvE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;CAChE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB;CACjD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;CAC/E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD;CAClF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrH,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7G,CAAC,CAAC,CAAC,SAAS,mEAAmE;AAE/E,MAAa,4BAA4BC,eAAAA,OAAO,gCAAgC;CAC9E,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/update-job-payment.d.ts
4
+ declare const Servicem8UpdateJobPaymentInput: z.ZodTypeAny;
5
+ declare const Servicem8UpdateJobPaymentOutput: z.ZodTypeAny;
6
+ declare const servicem8UpdateJobPayment: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { servicem8UpdateJobPayment };
9
+ //# sourceMappingURL=update-job-payment.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"update-job-payment.d.cts","names":[],"sources":["../../src/actions/update-job-payment.ts"],"mappings":";;;cAIa,8BAAA,EAAgC,CAAA,CAAE,UAU2G;AAAA,cAC7I,+BAAA,EAAiC,CAAA,CAAE,UAUgC;AAAA,cAEnE,yBAAA,gCAAyB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/update-job-payment.d.ts
4
+ declare const Servicem8UpdateJobPaymentInput: z.ZodTypeAny;
5
+ declare const Servicem8UpdateJobPaymentOutput: z.ZodTypeAny;
6
+ declare const servicem8UpdateJobPayment: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { servicem8UpdateJobPayment };
9
+ //# sourceMappingURL=update-job-payment.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"update-job-payment.d.mts","names":[],"sources":["../../src/actions/update-job-payment.ts"],"mappings":";;;cAIa,8BAAA,EAAgC,CAAA,CAAE,UAU2G;AAAA,cAC7I,+BAAA,EAAiC,CAAA,CAAE,UAUgC;AAAA,cAEnE,yBAAA,gCAAyB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,33 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ const servicem8UpdateJobPayment = action("SERVICEM8_UPDATE_JOB_PAYMENT", {
4
+ slug: "servicem8-update-job-payment",
5
+ name: "Update Job Payment",
6
+ description: "Update an existing job payment record in ServiceM8. Use this to modify payment details such as amount, method, note, or status. Requires the payment UUID and at least one field to update.",
7
+ input: z.object({
8
+ note: z.string().describe("Note or memo for the payment").optional(),
9
+ uuid: z.string().describe("UUID of the job payment record to update (required)"),
10
+ active: z.number().int().describe("Active status: 1=active, 0=archived/deleted").optional(),
11
+ amount: z.string().describe("New payment amount as a decimal string (e.g., '150.00')").optional(),
12
+ method: z.string().describe("Payment method: 'cash', 'credit_card', 'eftpos', 'cheque', 'direct_deposit', or 'other'").optional(),
13
+ timestamp: z.string().describe("Payment date/time in 'YYYY-MM-DD HH:MM:SS' format").optional(),
14
+ is_deposit: z.number().int().describe("Whether this is a deposit: 1=deposit, 0=regular payment").optional(),
15
+ attachment_uuid: z.string().describe("UUID of an attachment (e.g., receipt image) linked to this payment").optional(),
16
+ actioned_by_uuid: z.string().describe("UUID of the staff member who recorded or updated the payment").optional()
17
+ }).describe("Request model for updating an existing ServiceM8 job payment record.\nThe payment UUID is required along with at least one field to update."),
18
+ output: z.object({
19
+ note: z.string().describe("Payment note or memo").nullable().optional(),
20
+ uuid: z.string().describe("Unique identifier of the job payment record"),
21
+ active: z.number().int().describe("Active status: 1=active, 0=archived").nullable().optional(),
22
+ amount: z.string().describe("Payment amount as a decimal string"),
23
+ method: z.string().describe("Payment method used"),
24
+ job_uuid: z.string().describe("UUID of the job this payment is associated with"),
25
+ timestamp: z.string().describe("Payment date/time in 'YYYY-MM-DD HH:MM:SS' format"),
26
+ is_deposit: z.number().int().describe("Whether this is a deposit: 1=deposit, 0=regular payment").nullable().optional(),
27
+ actioned_by_uuid: z.string().describe("UUID of staff member who recorded the payment").nullable().optional()
28
+ }).describe("Response model containing the updated job payment record details.")
29
+ });
30
+ //#endregion
31
+ export { servicem8UpdateJobPayment };
32
+
33
+ //# sourceMappingURL=update-job-payment.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"update-job-payment.mjs","names":[],"sources":["../../src/actions/update-job-payment.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const Servicem8UpdateJobPaymentInput: z.ZodTypeAny = z.object({\n note: z.string().describe(\"Note or memo for the payment\").optional(),\n uuid: z.string().describe(\"UUID of the job payment record to update (required)\"),\n active: z.number().int().describe(\"Active status: 1=active, 0=archived/deleted\").optional(),\n amount: z.string().describe(\"New payment amount as a decimal string (e.g., '150.00')\").optional(),\n method: z.string().describe(\"Payment method: 'cash', 'credit_card', 'eftpos', 'cheque', 'direct_deposit', or 'other'\").optional(),\n timestamp: z.string().describe(\"Payment date/time in 'YYYY-MM-DD HH:MM:SS' format\").optional(),\n is_deposit: z.number().int().describe(\"Whether this is a deposit: 1=deposit, 0=regular payment\").optional(),\n attachment_uuid: z.string().describe(\"UUID of an attachment (e.g., receipt image) linked to this payment\").optional(),\n actioned_by_uuid: z.string().describe(\"UUID of the staff member who recorded or updated the payment\").optional(),\n}).describe(\"Request model for updating an existing ServiceM8 job payment record.\\nThe payment UUID is required along with at least one field to update.\");\nexport const Servicem8UpdateJobPaymentOutput: z.ZodTypeAny = z.object({\n note: z.string().describe(\"Payment note or memo\").nullable().optional(),\n uuid: z.string().describe(\"Unique identifier of the job payment record\"),\n active: z.number().int().describe(\"Active status: 1=active, 0=archived\").nullable().optional(),\n amount: z.string().describe(\"Payment amount as a decimal string\"),\n method: z.string().describe(\"Payment method used\"),\n job_uuid: z.string().describe(\"UUID of the job this payment is associated with\"),\n timestamp: z.string().describe(\"Payment date/time in 'YYYY-MM-DD HH:MM:SS' format\"),\n is_deposit: z.number().int().describe(\"Whether this is a deposit: 1=deposit, 0=regular payment\").nullable().optional(),\n actioned_by_uuid: z.string().describe(\"UUID of staff member who recorded the payment\").nullable().optional(),\n}).describe(\"Response model containing the updated job payment record details.\");\n\nexport const servicem8UpdateJobPayment = action(\"SERVICEM8_UPDATE_JOB_PAYMENT\", {\n slug: \"servicem8-update-job-payment\",\n name: \"Update Job Payment\",\n description: \"Update an existing job payment record in ServiceM8. Use this to modify payment details such as amount, method, note, or status. Requires the payment UUID and at least one field to update.\",\n input: Servicem8UpdateJobPaymentInput,\n output: Servicem8UpdateJobPaymentOutput,\n});\n"],"mappings":";;AA2BA,MAAa,4BAA4B,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA3B0D,EAAE,OAAO;EACnE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;EACnE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD;EAC/E,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;EAC1F,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;EAChG,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS;EAChI,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;EAC7F,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;EAC1G,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;EACpH,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;CACjH,CAAC,CAAC,CAAC,SAAS,6IAiBH;CACP,QAjB2D,EAAE,OAAO;EACpE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C;EACvE,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7F,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;EAChE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB;EACjD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;EAC/E,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD;EAClF,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrH,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,CAAC,CAAC,CAAC,SAAS,mEAOF;AACV,CAAC"}
package/dist/app.cjs ADDED
@@ -0,0 +1,9 @@
1
+ //#region src/app.ts
2
+ const servicem8 = (0, require("@keystrokehq/keystroke/app").defineApp)({
3
+ slug: "servicem8",
4
+ auth: "keystroke"
5
+ });
6
+ //#endregion
7
+ exports.servicem8 = servicem8;
8
+
9
+ //# sourceMappingURL=app.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"app.cjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\n\nexport const servicem8 = defineApp({\n slug: \"servicem8\",\n auth: \"keystroke\",\n});\n"],"mappings":";AAEA,MAAa,aAAA,uCAAA,CAAA,CAAA,UAAA,CAAsB;CACjC,MAAM;CACN,MAAM;AACR,CAAC"}
package/dist/app.d.cts ADDED
@@ -0,0 +1,5 @@
1
+ //#region src/app.d.ts
2
+ declare const servicem8: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential>;
3
+ //#endregion
4
+ export { servicem8 };
5
+ //# sourceMappingURL=app.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";cAEa,SAAA,6BAAS,GAAA,+BAAA,UAAA"}
package/dist/app.d.mts ADDED
@@ -0,0 +1,5 @@
1
+ //#region src/app.d.ts
2
+ declare const servicem8: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential>;
3
+ //#endregion
4
+ export { servicem8 };
5
+ //# sourceMappingURL=app.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";cAEa,SAAA,6BAAS,GAAA,+BAAA,UAAA"}
package/dist/app.mjs ADDED
@@ -0,0 +1,10 @@
1
+ import { defineApp } from "@keystrokehq/keystroke/app";
2
+ //#region src/app.ts
3
+ const servicem8 = defineApp({
4
+ slug: "servicem8",
5
+ auth: "keystroke"
6
+ });
7
+ //#endregion
8
+ export { servicem8 };
9
+
10
+ //# sourceMappingURL=app.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"app.mjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\n\nexport const servicem8 = defineApp({\n slug: \"servicem8\",\n auth: \"keystroke\",\n});\n"],"mappings":";;AAEA,MAAa,YAAY,UAAU;CACjC,MAAM;CACN,MAAM;AACR,CAAC"}
@@ -0,0 +1,15 @@
1
+ //#region src/catalog.ts
2
+ /** Generated — kept in sync with src/app.ts. */
3
+ const servicem8Catalog = {
4
+ "slug": "servicem8",
5
+ "name": "Servicem8",
6
+ "description": "ServiceM8 helps field service businesses schedule jobs, send quotes, and manage invoices, offering staff mobile apps and real-time job status tracking",
7
+ "category": "Scheduling & Booking",
8
+ "logo": "https://logos.composio.dev/api/servicem8",
9
+ "authKind": "keystroke",
10
+ "oauthScopes": []
11
+ };
12
+ //#endregion
13
+ exports.servicem8Catalog = servicem8Catalog;
14
+
15
+ //# sourceMappingURL=catalog.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"catalog.cjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const servicem8Catalog = {\n \"slug\": \"servicem8\",\n \"name\": \"Servicem8\",\n \"description\": \"ServiceM8 helps field service businesses schedule jobs, send quotes, and manage invoices, offering staff mobile apps and real-time job status tracking\",\n \"category\": \"Scheduling & Booking\",\n \"logo\": \"https://logos.composio.dev/api/servicem8\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": []\n} as const;\n"],"mappings":";;AACA,MAAa,mBAAmB;CAC9B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;AAClB"}
@@ -0,0 +1,14 @@
1
+ //#region src/catalog.d.ts
2
+ /** Generated — kept in sync with src/app.ts. */
3
+ declare const servicem8Catalog: {
4
+ readonly slug: "servicem8";
5
+ readonly name: "Servicem8";
6
+ readonly description: "ServiceM8 helps field service businesses schedule jobs, send quotes, and manage invoices, offering staff mobile apps and real-time job status tracking";
7
+ readonly category: "Scheduling & Booking";
8
+ readonly logo: "https://logos.composio.dev/api/servicem8";
9
+ readonly authKind: "keystroke";
10
+ readonly oauthScopes: readonly [];
11
+ };
12
+ //#endregion
13
+ export { servicem8Catalog };
14
+ //# sourceMappingURL=catalog.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"catalog.d.cts","names":[],"sources":["../src/catalog.ts"],"mappings":";;cACa,gBAAA;EAAA"}
@@ -0,0 +1,14 @@
1
+ //#region src/catalog.d.ts
2
+ /** Generated — kept in sync with src/app.ts. */
3
+ declare const servicem8Catalog: {
4
+ readonly slug: "servicem8";
5
+ readonly name: "Servicem8";
6
+ readonly description: "ServiceM8 helps field service businesses schedule jobs, send quotes, and manage invoices, offering staff mobile apps and real-time job status tracking";
7
+ readonly category: "Scheduling & Booking";
8
+ readonly logo: "https://logos.composio.dev/api/servicem8";
9
+ readonly authKind: "keystroke";
10
+ readonly oauthScopes: readonly [];
11
+ };
12
+ //#endregion
13
+ export { servicem8Catalog };
14
+ //# sourceMappingURL=catalog.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"catalog.d.mts","names":[],"sources":["../src/catalog.ts"],"mappings":";;cACa,gBAAA;EAAA"}
@@ -0,0 +1,15 @@
1
+ //#region src/catalog.ts
2
+ /** Generated — kept in sync with src/app.ts. */
3
+ const servicem8Catalog = {
4
+ "slug": "servicem8",
5
+ "name": "Servicem8",
6
+ "description": "ServiceM8 helps field service businesses schedule jobs, send quotes, and manage invoices, offering staff mobile apps and real-time job status tracking",
7
+ "category": "Scheduling & Booking",
8
+ "logo": "https://logos.composio.dev/api/servicem8",
9
+ "authKind": "keystroke",
10
+ "oauthScopes": []
11
+ };
12
+ //#endregion
13
+ export { servicem8Catalog };
14
+
15
+ //# sourceMappingURL=catalog.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"catalog.mjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const servicem8Catalog = {\n \"slug\": \"servicem8\",\n \"name\": \"Servicem8\",\n \"description\": \"ServiceM8 helps field service businesses schedule jobs, send quotes, and manage invoices, offering staff mobile apps and real-time job status tracking\",\n \"category\": \"Scheduling & Booking\",\n \"logo\": \"https://logos.composio.dev/api/servicem8\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": []\n} as const;\n"],"mappings":";;AACA,MAAa,mBAAmB;CAC9B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;AAClB"}