@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
package/README.md ADDED
@@ -0,0 +1,17 @@
1
+ # @keystrokehq/servicem8
2
+
3
+ Keystroke-managed integration.
4
+
5
+ **App:** `servicem8`
6
+ **Version:** `20260615_00`
7
+ **Actions:** 28
8
+
9
+ ```ts
10
+ import { defineAgent } from "@keystrokehq/keystroke/agent";
11
+ import { servicem8CreateJobNote } from "@keystrokehq/servicem8/actions";
12
+
13
+ export default defineAgent({
14
+ key: "servicem8-agent",
15
+ tools: [servicem8CreateJobNote],
16
+ });
17
+ ```
@@ -0,0 +1,21 @@
1
+ const require_app = require("./app.cjs");
2
+ const require_execute = require("./execute.cjs");
3
+ require("zod");
4
+ //#region src/action.ts
5
+ /** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */
6
+ function action(tool, def) {
7
+ return require_app.servicem8.action({
8
+ slug: def.slug,
9
+ name: def.name,
10
+ description: def.description,
11
+ input: def.input,
12
+ output: def.output,
13
+ async run(input) {
14
+ return def.output.parse(await require_execute.executeServicem8Tool(tool, input));
15
+ }
16
+ });
17
+ }
18
+ //#endregion
19
+ exports.action = action;
20
+
21
+ //# sourceMappingURL=action.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"action.cjs","names":["servicem8","executeServicem8Tool"],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { servicem8 } from \"./app\";\nimport { executeServicem8Tool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: z.ZodTypeAny;\n output: z.ZodTypeAny;\n },\n) {\n return servicem8.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output,\n async run(input) {\n return def.output.parse(await executeServicem8Tool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAOA,YAAAA,UAAU,OAAO;EACtB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAMC,gBAAAA,qBAAqB,MAAM,KAAgC,CAAC;EAC5F;CACF,CAAC;AACH"}
@@ -0,0 +1,21 @@
1
+ import { servicem8 } from "./app.mjs";
2
+ import { executeServicem8Tool } from "./execute.mjs";
3
+ import "zod";
4
+ //#region src/action.ts
5
+ /** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */
6
+ function action(tool, def) {
7
+ return servicem8.action({
8
+ slug: def.slug,
9
+ name: def.name,
10
+ description: def.description,
11
+ input: def.input,
12
+ output: def.output,
13
+ async run(input) {
14
+ return def.output.parse(await executeServicem8Tool(tool, input));
15
+ }
16
+ });
17
+ }
18
+ //#endregion
19
+ export { action };
20
+
21
+ //# sourceMappingURL=action.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { servicem8 } from \"./app\";\nimport { executeServicem8Tool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: z.ZodTypeAny;\n output: z.ZodTypeAny;\n },\n) {\n return servicem8.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output,\n async run(input) {\n return def.output.parse(await executeServicem8Tool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAO,UAAU,OAAO;EACtB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAM,qBAAqB,MAAM,KAAgC,CAAC;EAC5F;CACF,CAAC;AACH"}
@@ -0,0 +1,29 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/create-job-note.ts
4
+ const Servicem8CreateJobNoteInput = zod.z.object({
5
+ note: zod.z.string().describe("Content of the note."),
6
+ uuid: zod.z.string().describe("Unique identifier for this note record. If omitted, a UUID will be generated.").optional(),
7
+ active: zod.z.number().int().default(1).describe("Record active flag: 1 = active (default), 0 = deleted.").optional(),
8
+ create_date: zod.z.string().describe("Timestamp when the note was created (format: YYYY-MM-DD HH:MM:SS). Server sets automatically if omitted.").optional(),
9
+ related_object: zod.z.string().default("job").describe("Type of the related object. Defaults to 'job' for job notes. Other possible values may include 'company'.").optional(),
10
+ action_required: zod.z.string().describe("Optional follow-up action required description.").optional(),
11
+ related_object_uuid: zod.z.string().describe("UUID of the related job."),
12
+ action_completed_by_staff_uuid: zod.z.string().describe("UUID of staff member who completed the required action.").optional()
13
+ }).describe("Request model for creating a new ServiceM8 Job Note.");
14
+ const Servicem8CreateJobNoteOutput = zod.z.object({
15
+ message: zod.z.string().describe("API response message. Typically 'OK' on success.").nullable().optional(),
16
+ errorCode: zod.z.number().int().describe("API error code. 0 indicates success, non-zero indicates an error.").nullable().optional(),
17
+ record_uuid: zod.z.string().describe("UUID of the newly created note record (from x-record-uuid response header).")
18
+ }).describe("Response model for a newly created ServiceM8 Job Note.");
19
+ const servicem8CreateJobNote = require_action.action("SERVICEM8_CREATE_JOB_NOTE", {
20
+ slug: "servicem8-create-job-note",
21
+ name: "ServiceM8 Create Job Note",
22
+ description: "Create a new job note in ServiceM8. Requires the job's UUID (related_object_uuid) and the note content. Returns the UUID of the created note record. Use this to add comments, updates, or action items to a specific job.",
23
+ input: Servicem8CreateJobNoteInput,
24
+ output: Servicem8CreateJobNoteOutput
25
+ });
26
+ //#endregion
27
+ exports.servicem8CreateJobNote = servicem8CreateJobNote;
28
+
29
+ //# sourceMappingURL=create-job-note.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-job-note.cjs","names":["z","action"],"sources":["../../src/actions/create-job-note.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const Servicem8CreateJobNoteInput: z.ZodTypeAny = z.object({\n note: z.string().describe(\"Content of the note.\"),\n uuid: z.string().describe(\"Unique identifier for this note record. If omitted, a UUID will be generated.\").optional(),\n active: z.number().int().default(1).describe(\"Record active flag: 1 = active (default), 0 = deleted.\").optional(),\n create_date: z.string().describe(\"Timestamp when the note was created (format: YYYY-MM-DD HH:MM:SS). Server sets automatically if omitted.\").optional(),\n related_object: z.string().default(\"job\").describe(\"Type of the related object. Defaults to 'job' for job notes. Other possible values may include 'company'.\").optional(),\n action_required: z.string().describe(\"Optional follow-up action required description.\").optional(),\n related_object_uuid: z.string().describe(\"UUID of the related job.\"),\n action_completed_by_staff_uuid: z.string().describe(\"UUID of staff member who completed the required action.\").optional(),\n}).describe(\"Request model for creating a new ServiceM8 Job Note.\");\nexport const Servicem8CreateJobNoteOutput: z.ZodTypeAny = z.object({\n message: z.string().describe(\"API response message. Typically 'OK' on success.\").nullable().optional(),\n errorCode: z.number().int().describe(\"API error code. 0 indicates success, non-zero indicates an error.\").nullable().optional(),\n record_uuid: z.string().describe(\"UUID of the newly created note record (from x-record-uuid response header).\"),\n}).describe(\"Response model for a newly created ServiceM8 Job Note.\");\n\nexport const servicem8CreateJobNote = action(\"SERVICEM8_CREATE_JOB_NOTE\", {\n slug: \"servicem8-create-job-note\",\n name: \"ServiceM8 Create Job Note\",\n description: \"Create a new job note in ServiceM8. Requires the job's UUID (related_object_uuid) and the note content. Returns the UUID of the created note record. Use this to add comments, updates, or action items to a specific job.\",\n input: Servicem8CreateJobNoteInput,\n output: Servicem8CreateJobNoteOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA4CA,IAAAA,EAAE,OAAO;CAChE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB;CAChD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;CACpH,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CAChH,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0GAA0G,CAAC,CAAC,SAAS;CACtJ,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,2GAA2G,CAAC,CAAC,SAAS;CACzK,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CACjG,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B;CACnE,gCAAgCA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;AAC1H,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAa,+BAA6CA,IAAAA,EAAE,OAAO;CACjE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9H,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E;AAChH,CAAC,CAAC,CAAC,SAAS,wDAAwD;AAEpE,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/create-job-note.d.ts
4
+ declare const Servicem8CreateJobNoteInput: z.ZodTypeAny;
5
+ declare const Servicem8CreateJobNoteOutput: z.ZodTypeAny;
6
+ declare const servicem8CreateJobNote: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { servicem8CreateJobNote };
9
+ //# sourceMappingURL=create-job-note.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-job-note.d.cts","names":[],"sources":["../../src/actions/create-job-note.ts"],"mappings":";;;cAIa,2BAAA,EAA6B,CAAA,CAAE,UASuB;AAAA,cACtD,4BAAA,EAA8B,CAAA,CAAE,UAIwB;AAAA,cAExD,sBAAA,gCAAsB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/create-job-note.d.ts
4
+ declare const Servicem8CreateJobNoteInput: z.ZodTypeAny;
5
+ declare const Servicem8CreateJobNoteOutput: z.ZodTypeAny;
6
+ declare const servicem8CreateJobNote: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { servicem8CreateJobNote };
9
+ //# sourceMappingURL=create-job-note.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-job-note.d.mts","names":[],"sources":["../../src/actions/create-job-note.ts"],"mappings":";;;cAIa,2BAAA,EAA6B,CAAA,CAAE,UASuB;AAAA,cACtD,4BAAA,EAA8B,CAAA,CAAE,UAIwB;AAAA,cAExD,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 servicem8CreateJobNote = action("SERVICEM8_CREATE_JOB_NOTE", {
4
+ slug: "servicem8-create-job-note",
5
+ name: "ServiceM8 Create Job Note",
6
+ description: "Create a new job note in ServiceM8. Requires the job's UUID (related_object_uuid) and the note content. Returns the UUID of the created note record. Use this to add comments, updates, or action items to a specific job.",
7
+ input: z.object({
8
+ note: z.string().describe("Content of the note."),
9
+ uuid: z.string().describe("Unique identifier for this note record. If omitted, a UUID will be generated.").optional(),
10
+ active: z.number().int().default(1).describe("Record active flag: 1 = active (default), 0 = deleted.").optional(),
11
+ create_date: z.string().describe("Timestamp when the note was created (format: YYYY-MM-DD HH:MM:SS). Server sets automatically if omitted.").optional(),
12
+ related_object: z.string().default("job").describe("Type of the related object. Defaults to 'job' for job notes. Other possible values may include 'company'.").optional(),
13
+ action_required: z.string().describe("Optional follow-up action required description.").optional(),
14
+ related_object_uuid: z.string().describe("UUID of the related job."),
15
+ action_completed_by_staff_uuid: z.string().describe("UUID of staff member who completed the required action.").optional()
16
+ }).describe("Request model for creating a new ServiceM8 Job Note."),
17
+ output: z.object({
18
+ message: z.string().describe("API response message. Typically 'OK' on success.").nullable().optional(),
19
+ errorCode: z.number().int().describe("API error code. 0 indicates success, non-zero indicates an error.").nullable().optional(),
20
+ record_uuid: z.string().describe("UUID of the newly created note record (from x-record-uuid response header).")
21
+ }).describe("Response model for a newly created ServiceM8 Job Note.")
22
+ });
23
+ //#endregion
24
+ export { servicem8CreateJobNote };
25
+
26
+ //# sourceMappingURL=create-job-note.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-job-note.mjs","names":[],"sources":["../../src/actions/create-job-note.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const Servicem8CreateJobNoteInput: z.ZodTypeAny = z.object({\n note: z.string().describe(\"Content of the note.\"),\n uuid: z.string().describe(\"Unique identifier for this note record. If omitted, a UUID will be generated.\").optional(),\n active: z.number().int().default(1).describe(\"Record active flag: 1 = active (default), 0 = deleted.\").optional(),\n create_date: z.string().describe(\"Timestamp when the note was created (format: YYYY-MM-DD HH:MM:SS). Server sets automatically if omitted.\").optional(),\n related_object: z.string().default(\"job\").describe(\"Type of the related object. Defaults to 'job' for job notes. Other possible values may include 'company'.\").optional(),\n action_required: z.string().describe(\"Optional follow-up action required description.\").optional(),\n related_object_uuid: z.string().describe(\"UUID of the related job.\"),\n action_completed_by_staff_uuid: z.string().describe(\"UUID of staff member who completed the required action.\").optional(),\n}).describe(\"Request model for creating a new ServiceM8 Job Note.\");\nexport const Servicem8CreateJobNoteOutput: z.ZodTypeAny = z.object({\n message: z.string().describe(\"API response message. Typically 'OK' on success.\").nullable().optional(),\n errorCode: z.number().int().describe(\"API error code. 0 indicates success, non-zero indicates an error.\").nullable().optional(),\n record_uuid: z.string().describe(\"UUID of the newly created note record (from x-record-uuid response header).\"),\n}).describe(\"Response model for a newly created ServiceM8 Job Note.\");\n\nexport const servicem8CreateJobNote = action(\"SERVICEM8_CREATE_JOB_NOTE\", {\n slug: \"servicem8-create-job-note\",\n name: \"ServiceM8 Create Job Note\",\n description: \"Create a new job note in ServiceM8. Requires the job's UUID (related_object_uuid) and the note content. Returns the UUID of the created note record. Use this to add comments, updates, or action items to a specific job.\",\n input: Servicem8CreateJobNoteInput,\n output: Servicem8CreateJobNoteOutput,\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,sBAAsB;EAChD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;EACpH,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;EAChH,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,0GAA0G,CAAC,CAAC,SAAS;EACtJ,gBAAgB,EAAE,OAAO,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,2GAA2G,CAAC,CAAC,SAAS;EACzK,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;EACjG,qBAAqB,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B;EACnE,gCAAgC,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CAC1H,CAAC,CAAC,CAAC,SAAS,sDAWH;CACP,QAXwD,EAAE,OAAO;EACjE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrG,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9H,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E;CAChH,CAAC,CAAC,CAAC,SAAS,wDAOF;AACV,CAAC"}
@@ -0,0 +1,32 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/create-job-payment.ts
4
+ const Servicem8CreateJobPaymentInput = zod.z.object({
5
+ note: zod.z.string().describe("Additional notes or comments regarding the payment.").optional(),
6
+ uuid: zod.z.string().describe("Optional UUID for the payment record. If omitted, a UUID will be auto-generated by the server.").optional(),
7
+ active: zod.z.number().int().default(1).describe("Record active flag: 1 = active (default), 0 = archived/deleted.").optional(),
8
+ amount: zod.z.string().describe("Amount of the payment as a decimal string (e.g., '100.00', '50.50'). Use string format to preserve decimal precision."),
9
+ method: zod.z.string().describe("Payment method used. Common values: 'cash', 'credit_card', 'eftpos', 'cheque', 'bank_transfer', 'online'."),
10
+ job_uuid: zod.z.string().describe("UUID of the job to record the payment against. Obtain this from list_all_jobs or create_job actions."),
11
+ edit_date: zod.z.string().describe("Timestamp of last edit in 'YYYY-MM-DD HH:MM:SS' format. Usually auto-set by the server if omitted.").optional(),
12
+ timestamp: zod.z.string().describe("Timestamp when the payment was received in 'YYYY-MM-DD HH:MM:SS' format."),
13
+ is_deposit: zod.z.number().int().describe("Deposit flag: 1 = this payment is a deposit, 0 = regular payment (default if omitted).").optional(),
14
+ attachment_uuid: zod.z.string().describe("UUID of any attachment (e.g., receipt image) related to the payment.").optional(),
15
+ actioned_by_uuid: zod.z.string().describe("UUID of the staff member who recorded/processed the payment. Obtain from staff endpoints. If omitted, may default to the authenticated user.").optional()
16
+ }).describe("Request model for creating a new ServiceM8 Job Payment.");
17
+ const Servicem8CreateJobPaymentOutput = zod.z.object({
18
+ message: zod.z.string().describe("API response message. Typically 'OK' on success.").nullable().optional(),
19
+ errorCode: zod.z.number().int().describe("API error code. 0 indicates success.").nullable().optional(),
20
+ record_uuid: zod.z.string().describe("UUID of the newly created job payment record (from x-record-uuid response header).")
21
+ }).describe("Response model for a newly created ServiceM8 Job Payment.");
22
+ const servicem8CreateJobPayment = require_action.action("SERVICEM8_CREATE_JOB_PAYMENT", {
23
+ slug: "servicem8-create-job-payment",
24
+ name: "ServiceM8 Create Job Payment",
25
+ description: "Tool to create a new job payment in ServiceM8. Use when you have collected payment details and need to record payment against a job. Example: \"Create a 100.00 cash payment for job 123e4567-e89b-12d3-a456-426614174000 at 2023-01-01 13:00:00.\"",
26
+ input: Servicem8CreateJobPaymentInput,
27
+ output: Servicem8CreateJobPaymentOutput
28
+ });
29
+ //#endregion
30
+ exports.servicem8CreateJobPayment = servicem8CreateJobPayment;
31
+
32
+ //# sourceMappingURL=create-job-payment.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-job-payment.cjs","names":["z","action"],"sources":["../../src/actions/create-job-payment.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const Servicem8CreateJobPaymentInput: z.ZodTypeAny = z.object({\n note: z.string().describe(\"Additional notes or comments regarding the payment.\").optional(),\n uuid: z.string().describe(\"Optional UUID for the payment record. If omitted, a UUID will be auto-generated by the server.\").optional(),\n active: z.number().int().default(1).describe(\"Record active flag: 1 = active (default), 0 = archived/deleted.\").optional(),\n amount: z.string().describe(\"Amount of the payment as a decimal string (e.g., '100.00', '50.50'). Use string format to preserve decimal precision.\"),\n method: z.string().describe(\"Payment method used. Common values: 'cash', 'credit_card', 'eftpos', 'cheque', 'bank_transfer', 'online'.\"),\n job_uuid: z.string().describe(\"UUID of the job to record the payment against. Obtain this from list_all_jobs or create_job actions.\"),\n edit_date: z.string().describe(\"Timestamp of last edit in 'YYYY-MM-DD HH:MM:SS' format. Usually auto-set by the server if omitted.\").optional(),\n timestamp: z.string().describe(\"Timestamp when the payment was received in 'YYYY-MM-DD HH:MM:SS' format.\"),\n is_deposit: z.number().int().describe(\"Deposit flag: 1 = this payment is a deposit, 0 = regular payment (default if omitted).\").optional(),\n attachment_uuid: z.string().describe(\"UUID of any attachment (e.g., receipt image) related to the payment.\").optional(),\n actioned_by_uuid: z.string().describe(\"UUID of the staff member who recorded/processed the payment. Obtain from staff endpoints. If omitted, may default to the authenticated user.\").optional(),\n}).describe(\"Request model for creating a new ServiceM8 Job Payment.\");\nexport const Servicem8CreateJobPaymentOutput: z.ZodTypeAny = z.object({\n message: z.string().describe(\"API response message. Typically 'OK' on success.\").nullable().optional(),\n errorCode: z.number().int().describe(\"API error code. 0 indicates success.\").nullable().optional(),\n record_uuid: z.string().describe(\"UUID of the newly created job payment record (from x-record-uuid response header).\"),\n}).describe(\"Response model for a newly created ServiceM8 Job Payment.\");\n\nexport const servicem8CreateJobPayment = action(\"SERVICEM8_CREATE_JOB_PAYMENT\", {\n slug: \"servicem8-create-job-payment\",\n name: \"ServiceM8 Create Job Payment\",\n description: \"Tool to create a new job payment in ServiceM8. Use when you have collected payment details and need to record payment against a job. Example: \\\"Create a 100.00 cash payment for job 123e4567-e89b-12d3-a456-426614174000 at 2023-01-01 13:00:00.\\\"\",\n input: Servicem8CreateJobPaymentInput,\n output: Servicem8CreateJobPaymentOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAA+CA,IAAAA,EAAE,OAAO;CACnE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CAC1F,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gGAAgG,CAAC,CAAC,SAAS;CACrI,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;CACzH,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uHAAuH;CACnJ,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2GAA2G;CACvI,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sGAAsG;CACpI,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oGAAoG,CAAC,CAAC,SAAS;CAC9I,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E;CACzG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS;CACzI,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;CACtH,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8IAA8I,CAAC,CAAC,SAAS;AACjM,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrE,MAAa,kCAAgDA,IAAAA,EAAE,OAAO;CACpE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oFAAoF;AACvH,CAAC,CAAC,CAAC,SAAS,2DAA2D;AAEvE,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/create-job-payment.d.ts
4
+ declare const Servicem8CreateJobPaymentInput: z.ZodTypeAny;
5
+ declare const Servicem8CreateJobPaymentOutput: z.ZodTypeAny;
6
+ declare const servicem8CreateJobPayment: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { servicem8CreateJobPayment };
9
+ //# sourceMappingURL=create-job-payment.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-job-payment.d.cts","names":[],"sources":["../../src/actions/create-job-payment.ts"],"mappings":";;;cAIa,8BAAA,EAAgC,CAAA,CAAE,UAYuB;AAAA,cACzD,+BAAA,EAAiC,CAAA,CAAE,UAIwB;AAAA,cAE3D,yBAAA,gCAAyB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/create-job-payment.d.ts
4
+ declare const Servicem8CreateJobPaymentInput: z.ZodTypeAny;
5
+ declare const Servicem8CreateJobPaymentOutput: z.ZodTypeAny;
6
+ declare const servicem8CreateJobPayment: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { servicem8CreateJobPayment };
9
+ //# sourceMappingURL=create-job-payment.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-job-payment.d.mts","names":[],"sources":["../../src/actions/create-job-payment.ts"],"mappings":";;;cAIa,8BAAA,EAAgC,CAAA,CAAE,UAYuB;AAAA,cACzD,+BAAA,EAAiC,CAAA,CAAE,UAIwB;AAAA,cAE3D,yBAAA,gCAAyB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,29 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ const servicem8CreateJobPayment = action("SERVICEM8_CREATE_JOB_PAYMENT", {
4
+ slug: "servicem8-create-job-payment",
5
+ name: "ServiceM8 Create Job Payment",
6
+ description: "Tool to create a new job payment in ServiceM8. Use when you have collected payment details and need to record payment against a job. Example: \"Create a 100.00 cash payment for job 123e4567-e89b-12d3-a456-426614174000 at 2023-01-01 13:00:00.\"",
7
+ input: z.object({
8
+ note: z.string().describe("Additional notes or comments regarding the payment.").optional(),
9
+ uuid: z.string().describe("Optional UUID for the payment record. If omitted, a UUID will be auto-generated by the server.").optional(),
10
+ active: z.number().int().default(1).describe("Record active flag: 1 = active (default), 0 = archived/deleted.").optional(),
11
+ amount: z.string().describe("Amount of the payment as a decimal string (e.g., '100.00', '50.50'). Use string format to preserve decimal precision."),
12
+ method: z.string().describe("Payment method used. Common values: 'cash', 'credit_card', 'eftpos', 'cheque', 'bank_transfer', 'online'."),
13
+ job_uuid: z.string().describe("UUID of the job to record the payment against. Obtain this from list_all_jobs or create_job actions."),
14
+ edit_date: z.string().describe("Timestamp of last edit in 'YYYY-MM-DD HH:MM:SS' format. Usually auto-set by the server if omitted.").optional(),
15
+ timestamp: z.string().describe("Timestamp when the payment was received in 'YYYY-MM-DD HH:MM:SS' format."),
16
+ is_deposit: z.number().int().describe("Deposit flag: 1 = this payment is a deposit, 0 = regular payment (default if omitted).").optional(),
17
+ attachment_uuid: z.string().describe("UUID of any attachment (e.g., receipt image) related to the payment.").optional(),
18
+ actioned_by_uuid: z.string().describe("UUID of the staff member who recorded/processed the payment. Obtain from staff endpoints. If omitted, may default to the authenticated user.").optional()
19
+ }).describe("Request model for creating a new ServiceM8 Job Payment."),
20
+ output: z.object({
21
+ message: z.string().describe("API response message. Typically 'OK' on success.").nullable().optional(),
22
+ errorCode: z.number().int().describe("API error code. 0 indicates success.").nullable().optional(),
23
+ record_uuid: z.string().describe("UUID of the newly created job payment record (from x-record-uuid response header).")
24
+ }).describe("Response model for a newly created ServiceM8 Job Payment.")
25
+ });
26
+ //#endregion
27
+ export { servicem8CreateJobPayment };
28
+
29
+ //# sourceMappingURL=create-job-payment.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-job-payment.mjs","names":[],"sources":["../../src/actions/create-job-payment.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const Servicem8CreateJobPaymentInput: z.ZodTypeAny = z.object({\n note: z.string().describe(\"Additional notes or comments regarding the payment.\").optional(),\n uuid: z.string().describe(\"Optional UUID for the payment record. If omitted, a UUID will be auto-generated by the server.\").optional(),\n active: z.number().int().default(1).describe(\"Record active flag: 1 = active (default), 0 = archived/deleted.\").optional(),\n amount: z.string().describe(\"Amount of the payment as a decimal string (e.g., '100.00', '50.50'). Use string format to preserve decimal precision.\"),\n method: z.string().describe(\"Payment method used. Common values: 'cash', 'credit_card', 'eftpos', 'cheque', 'bank_transfer', 'online'.\"),\n job_uuid: z.string().describe(\"UUID of the job to record the payment against. Obtain this from list_all_jobs or create_job actions.\"),\n edit_date: z.string().describe(\"Timestamp of last edit in 'YYYY-MM-DD HH:MM:SS' format. Usually auto-set by the server if omitted.\").optional(),\n timestamp: z.string().describe(\"Timestamp when the payment was received in 'YYYY-MM-DD HH:MM:SS' format.\"),\n is_deposit: z.number().int().describe(\"Deposit flag: 1 = this payment is a deposit, 0 = regular payment (default if omitted).\").optional(),\n attachment_uuid: z.string().describe(\"UUID of any attachment (e.g., receipt image) related to the payment.\").optional(),\n actioned_by_uuid: z.string().describe(\"UUID of the staff member who recorded/processed the payment. Obtain from staff endpoints. If omitted, may default to the authenticated user.\").optional(),\n}).describe(\"Request model for creating a new ServiceM8 Job Payment.\");\nexport const Servicem8CreateJobPaymentOutput: z.ZodTypeAny = z.object({\n message: z.string().describe(\"API response message. Typically 'OK' on success.\").nullable().optional(),\n errorCode: z.number().int().describe(\"API error code. 0 indicates success.\").nullable().optional(),\n record_uuid: z.string().describe(\"UUID of the newly created job payment record (from x-record-uuid response header).\"),\n}).describe(\"Response model for a newly created ServiceM8 Job Payment.\");\n\nexport const servicem8CreateJobPayment = action(\"SERVICEM8_CREATE_JOB_PAYMENT\", {\n slug: \"servicem8-create-job-payment\",\n name: \"ServiceM8 Create Job Payment\",\n description: \"Tool to create a new job payment in ServiceM8. Use when you have collected payment details and need to record payment against a job. Example: \\\"Create a 100.00 cash payment for job 123e4567-e89b-12d3-a456-426614174000 at 2023-01-01 13:00:00.\\\"\",\n input: Servicem8CreateJobPaymentInput,\n output: Servicem8CreateJobPaymentOutput,\n});\n"],"mappings":";;AAuBA,MAAa,4BAA4B,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAvB0D,EAAE,OAAO;EACnE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;EAC1F,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gGAAgG,CAAC,CAAC,SAAS;EACrI,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;EACzH,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,uHAAuH;EACnJ,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,2GAA2G;EACvI,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,sGAAsG;EACpI,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,oGAAoG,CAAC,CAAC,SAAS;EAC9I,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E;EACzG,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS;EACzI,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;EACtH,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,8IAA8I,CAAC,CAAC,SAAS;CACjM,CAAC,CAAC,CAAC,SAAS,yDAWH;CACP,QAX2D,EAAE,OAAO;EACpE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrG,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,oFAAoF;CACvH,CAAC,CAAC,CAAC,SAAS,2DAOF;AACV,CAAC"}
@@ -0,0 +1,51 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/create-jobs.ts
4
+ const Servicem8CreateJobsInput = zod.z.object({
5
+ date: zod.z.string().describe("Date the job is scheduled or created (YYYY-MM-DD).").optional(),
6
+ active: zod.z.number().int().default(1).describe("Active flag (1 = active, 0 = deleted). Defaults to 1.").optional(),
7
+ badges: zod.z.array(zod.z.string()).describe("List of badge UUIDs to apply to this job.").optional(),
8
+ status: zod.z.enum([
9
+ "Quote",
10
+ "Work Order",
11
+ "Unsuccessful",
12
+ "Completed"
13
+ ]).describe("Current status of the job. Controls dispatch board placement."),
14
+ queue_uuid: zod.z.string().describe("UUID of the queue to assign this job to.").optional(),
15
+ job_address: zod.z.string().describe("Physical address where the job is to be performed."),
16
+ company_uuid: zod.z.string().describe("UUID of the customer/company associated with this job.").optional(),
17
+ category_uuid: zod.z.string().describe("UUID of the job category.").optional(),
18
+ job_description: zod.z.string().describe("Brief description of the work to be done.").optional(),
19
+ created_by_staff_uuid: zod.z.string().describe("UUID of the staff member creating this job.").optional(),
20
+ purchase_order_number: zod.z.string().describe("Client purchase order reference number.").optional()
21
+ }).describe("Request parameters for creating a new Job in ServiceM8.");
22
+ const Servicem8CreateJobs_JobSchema = zod.z.object({
23
+ date: zod.z.string().describe("Date the job was created or scheduled.").nullable().optional(),
24
+ uuid: zod.z.string().describe("Unique identifier for this job record."),
25
+ active: zod.z.number().int().describe("Active flag (1 = active, 0 = deleted)."),
26
+ status: zod.z.enum([
27
+ "Quote",
28
+ "Work Order",
29
+ "Unsuccessful",
30
+ "Completed"
31
+ ]).describe("Current status of the job."),
32
+ job_address: zod.z.string().describe("Address where the job is performed.").nullable().optional(),
33
+ company_uuid: zod.z.string().describe("UUID of the associated company.").nullable().optional(),
34
+ job_description: zod.z.string().describe("Description of the job.").nullable().optional(),
35
+ created_by_staff_uuid: zod.z.string().describe("UUID of the staff member who created the job.").nullable().optional()
36
+ }).passthrough().describe("Partial Schema for a ServiceM8 Job record.\nExtra fields are allowed.");
37
+ const Servicem8CreateJobsOutput = zod.z.object({
38
+ job: Servicem8CreateJobs_JobSchema.nullable(),
39
+ record_uuid: zod.z.string().describe("UUID of the newly created job record (from x-record-uuid header).")
40
+ }).describe("Response returned after creating a Job in ServiceM8.");
41
+ const servicem8CreateJobs = require_action.action("SERVICEM8_CREATE_JOBS", {
42
+ slug: "servicem8-create-jobs",
43
+ name: "Create a new Job",
44
+ description: "Tool to create a new Job in ServiceM8. Use when you have gathered all job details and need to push a record. Example: \"Create a Quote job for 123 Main St with PO #1234.\"",
45
+ input: Servicem8CreateJobsInput,
46
+ output: Servicem8CreateJobsOutput
47
+ });
48
+ //#endregion
49
+ exports.servicem8CreateJobs = servicem8CreateJobs;
50
+
51
+ //# sourceMappingURL=create-jobs.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-jobs.cjs","names":["z","action"],"sources":["../../src/actions/create-jobs.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const Servicem8CreateJobsInput: z.ZodTypeAny = z.object({\n date: z.string().describe(\"Date the job is scheduled or created (YYYY-MM-DD).\").optional(),\n active: z.number().int().default(1).describe(\"Active flag (1 = active, 0 = deleted). Defaults to 1.\").optional(),\n badges: z.array(z.string()).describe(\"List of badge UUIDs to apply to this job.\").optional(),\n status: z.enum([\"Quote\", \"Work Order\", \"Unsuccessful\", \"Completed\"]).describe(\"Current status of the job. Controls dispatch board placement.\"),\n queue_uuid: z.string().describe(\"UUID of the queue to assign this job to.\").optional(),\n job_address: z.string().describe(\"Physical address where the job is to be performed.\"),\n company_uuid: z.string().describe(\"UUID of the customer/company associated with this job.\").optional(),\n category_uuid: z.string().describe(\"UUID of the job category.\").optional(),\n job_description: z.string().describe(\"Brief description of the work to be done.\").optional(),\n created_by_staff_uuid: z.string().describe(\"UUID of the staff member creating this job.\").optional(),\n purchase_order_number: z.string().describe(\"Client purchase order reference number.\").optional(),\n}).describe(\"Request parameters for creating a new Job in ServiceM8.\");\nconst Servicem8CreateJobs_JobSchema: z.ZodTypeAny = z.object({\n date: z.string().describe(\"Date the job was created or scheduled.\").nullable().optional(),\n uuid: z.string().describe(\"Unique identifier for this job record.\"),\n active: z.number().int().describe(\"Active flag (1 = active, 0 = deleted).\"),\n status: z.enum([\"Quote\", \"Work Order\", \"Unsuccessful\", \"Completed\"]).describe(\"Current status of the job.\"),\n job_address: z.string().describe(\"Address where the job is performed.\").nullable().optional(),\n company_uuid: z.string().describe(\"UUID of the associated company.\").nullable().optional(),\n job_description: z.string().describe(\"Description of the job.\").nullable().optional(),\n created_by_staff_uuid: z.string().describe(\"UUID of the staff member who created the job.\").nullable().optional(),\n}).passthrough().describe(\"Partial Schema for a ServiceM8 Job record.\\nExtra fields are allowed.\");\nexport const Servicem8CreateJobsOutput: z.ZodTypeAny = z.object({\n job: Servicem8CreateJobs_JobSchema.nullable(),\n record_uuid: z.string().describe(\"UUID of the newly created job record (from x-record-uuid header).\"),\n}).describe(\"Response returned after creating a Job in ServiceM8.\");\n\nexport const servicem8CreateJobs = action(\"SERVICEM8_CREATE_JOBS\", {\n slug: \"servicem8-create-jobs\",\n name: \"Create a new Job\",\n description: \"Tool to create a new Job in ServiceM8. Use when you have gathered all job details and need to push a record. Example: \\\"Create a Quote job for 123 Main St with PO #1234.\\\"\",\n input: Servicem8CreateJobsInput,\n output: Servicem8CreateJobsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAAyCA,IAAAA,EAAE,OAAO;CAC7D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CACzF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CAC/G,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CAC3F,QAAQA,IAAAA,EAAE,KAAK;EAAC;EAAS;EAAc;EAAgB;CAAW,CAAC,CAAC,CAAC,SAAS,+DAA+D;CAC7I,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CACrF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD;CACrF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CACrG,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CACzE,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CAC3F,uBAAuBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACnG,uBAAuBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;AACjG,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrE,MAAM,gCAA8CA,IAAAA,EAAE,OAAO;CAC3D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC;CAClE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC;CAC1E,QAAQA,IAAAA,EAAE,KAAK;EAAC;EAAS;EAAc;EAAgB;CAAW,CAAC,CAAC,CAAC,SAAS,4BAA4B;CAC1G,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,uBAAuBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uEAAuE;AACjG,MAAa,4BAA0CA,IAAAA,EAAE,OAAO;CAC9D,KAAK,8BAA8B,SAAS;CAC5C,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE;AACtG,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAElE,MAAa,sBAAsBC,eAAAA,OAAO,yBAAyB;CACjE,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/create-jobs.d.ts
4
+ declare const Servicem8CreateJobsInput: z.ZodTypeAny;
5
+ declare const Servicem8CreateJobsOutput: z.ZodTypeAny;
6
+ declare const servicem8CreateJobs: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { servicem8CreateJobs };
9
+ //# sourceMappingURL=create-jobs.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-jobs.d.cts","names":[],"sources":["../../src/actions/create-jobs.ts"],"mappings":";;;cAIa,wBAAA,EAA0B,CAAA,CAAE,UAY6B;AAAA,cAWzD,yBAAA,EAA2B,CAAA,CAAE,UAGyB;AAAA,cAEtD,mBAAA,gCAAmB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/create-jobs.d.ts
4
+ declare const Servicem8CreateJobsInput: z.ZodTypeAny;
5
+ declare const Servicem8CreateJobsOutput: z.ZodTypeAny;
6
+ declare const servicem8CreateJobs: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { servicem8CreateJobs };
9
+ //# sourceMappingURL=create-jobs.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-jobs.d.mts","names":[],"sources":["../../src/actions/create-jobs.ts"],"mappings":";;;cAIa,wBAAA,EAA0B,CAAA,CAAE,UAY6B;AAAA,cAWzD,yBAAA,EAA2B,CAAA,CAAE,UAGyB;AAAA,cAEtD,mBAAA,gCAAmB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,50 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/create-jobs.ts
4
+ const Servicem8CreateJobsInput = z.object({
5
+ date: z.string().describe("Date the job is scheduled or created (YYYY-MM-DD).").optional(),
6
+ active: z.number().int().default(1).describe("Active flag (1 = active, 0 = deleted). Defaults to 1.").optional(),
7
+ badges: z.array(z.string()).describe("List of badge UUIDs to apply to this job.").optional(),
8
+ status: z.enum([
9
+ "Quote",
10
+ "Work Order",
11
+ "Unsuccessful",
12
+ "Completed"
13
+ ]).describe("Current status of the job. Controls dispatch board placement."),
14
+ queue_uuid: z.string().describe("UUID of the queue to assign this job to.").optional(),
15
+ job_address: z.string().describe("Physical address where the job is to be performed."),
16
+ company_uuid: z.string().describe("UUID of the customer/company associated with this job.").optional(),
17
+ category_uuid: z.string().describe("UUID of the job category.").optional(),
18
+ job_description: z.string().describe("Brief description of the work to be done.").optional(),
19
+ created_by_staff_uuid: z.string().describe("UUID of the staff member creating this job.").optional(),
20
+ purchase_order_number: z.string().describe("Client purchase order reference number.").optional()
21
+ }).describe("Request parameters for creating a new Job in ServiceM8.");
22
+ const Servicem8CreateJobs_JobSchema = z.object({
23
+ date: z.string().describe("Date the job was created or scheduled.").nullable().optional(),
24
+ uuid: z.string().describe("Unique identifier for this job record."),
25
+ active: z.number().int().describe("Active flag (1 = active, 0 = deleted)."),
26
+ status: z.enum([
27
+ "Quote",
28
+ "Work Order",
29
+ "Unsuccessful",
30
+ "Completed"
31
+ ]).describe("Current status of the job."),
32
+ job_address: z.string().describe("Address where the job is performed.").nullable().optional(),
33
+ company_uuid: z.string().describe("UUID of the associated company.").nullable().optional(),
34
+ job_description: z.string().describe("Description of the job.").nullable().optional(),
35
+ created_by_staff_uuid: z.string().describe("UUID of the staff member who created the job.").nullable().optional()
36
+ }).passthrough().describe("Partial Schema for a ServiceM8 Job record.\nExtra fields are allowed.");
37
+ const servicem8CreateJobs = action("SERVICEM8_CREATE_JOBS", {
38
+ slug: "servicem8-create-jobs",
39
+ name: "Create a new Job",
40
+ description: "Tool to create a new Job in ServiceM8. Use when you have gathered all job details and need to push a record. Example: \"Create a Quote job for 123 Main St with PO #1234.\"",
41
+ input: Servicem8CreateJobsInput,
42
+ output: z.object({
43
+ job: Servicem8CreateJobs_JobSchema.nullable(),
44
+ record_uuid: z.string().describe("UUID of the newly created job record (from x-record-uuid header).")
45
+ }).describe("Response returned after creating a Job in ServiceM8.")
46
+ });
47
+ //#endregion
48
+ export { servicem8CreateJobs };
49
+
50
+ //# sourceMappingURL=create-jobs.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-jobs.mjs","names":[],"sources":["../../src/actions/create-jobs.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const Servicem8CreateJobsInput: z.ZodTypeAny = z.object({\n date: z.string().describe(\"Date the job is scheduled or created (YYYY-MM-DD).\").optional(),\n active: z.number().int().default(1).describe(\"Active flag (1 = active, 0 = deleted). Defaults to 1.\").optional(),\n badges: z.array(z.string()).describe(\"List of badge UUIDs to apply to this job.\").optional(),\n status: z.enum([\"Quote\", \"Work Order\", \"Unsuccessful\", \"Completed\"]).describe(\"Current status of the job. Controls dispatch board placement.\"),\n queue_uuid: z.string().describe(\"UUID of the queue to assign this job to.\").optional(),\n job_address: z.string().describe(\"Physical address where the job is to be performed.\"),\n company_uuid: z.string().describe(\"UUID of the customer/company associated with this job.\").optional(),\n category_uuid: z.string().describe(\"UUID of the job category.\").optional(),\n job_description: z.string().describe(\"Brief description of the work to be done.\").optional(),\n created_by_staff_uuid: z.string().describe(\"UUID of the staff member creating this job.\").optional(),\n purchase_order_number: z.string().describe(\"Client purchase order reference number.\").optional(),\n}).describe(\"Request parameters for creating a new Job in ServiceM8.\");\nconst Servicem8CreateJobs_JobSchema: z.ZodTypeAny = z.object({\n date: z.string().describe(\"Date the job was created or scheduled.\").nullable().optional(),\n uuid: z.string().describe(\"Unique identifier for this job record.\"),\n active: z.number().int().describe(\"Active flag (1 = active, 0 = deleted).\"),\n status: z.enum([\"Quote\", \"Work Order\", \"Unsuccessful\", \"Completed\"]).describe(\"Current status of the job.\"),\n job_address: z.string().describe(\"Address where the job is performed.\").nullable().optional(),\n company_uuid: z.string().describe(\"UUID of the associated company.\").nullable().optional(),\n job_description: z.string().describe(\"Description of the job.\").nullable().optional(),\n created_by_staff_uuid: z.string().describe(\"UUID of the staff member who created the job.\").nullable().optional(),\n}).passthrough().describe(\"Partial Schema for a ServiceM8 Job record.\\nExtra fields are allowed.\");\nexport const Servicem8CreateJobsOutput: z.ZodTypeAny = z.object({\n job: Servicem8CreateJobs_JobSchema.nullable(),\n record_uuid: z.string().describe(\"UUID of the newly created job record (from x-record-uuid header).\"),\n}).describe(\"Response returned after creating a Job in ServiceM8.\");\n\nexport const servicem8CreateJobs = action(\"SERVICEM8_CREATE_JOBS\", {\n slug: \"servicem8-create-jobs\",\n name: \"Create a new Job\",\n description: \"Tool to create a new Job in ServiceM8. Use when you have gathered all job details and need to push a record. Example: \\\"Create a Quote job for 123 Main St with PO #1234.\\\"\",\n input: Servicem8CreateJobsInput,\n output: Servicem8CreateJobsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAAyC,EAAE,OAAO;CAC7D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CACzF,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CAC/G,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CAC3F,QAAQ,EAAE,KAAK;EAAC;EAAS;EAAc;EAAgB;CAAW,CAAC,CAAC,CAAC,SAAS,+DAA+D;CAC7I,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CACrF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD;CACrF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CACrG,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CACzE,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CAC3F,uBAAuB,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACnG,uBAAuB,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;AACjG,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrE,MAAM,gCAA8C,EAAE,OAAO;CAC3D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC;CAClE,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC;CAC1E,QAAQ,EAAE,KAAK;EAAC;EAAS;EAAc;EAAgB;CAAW,CAAC,CAAC,CAAC,SAAS,4BAA4B;CAC1G,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,uBAAuB,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uEAAuE;AAMjG,MAAa,sBAAsB,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVqD,EAAE,OAAO;EAC9D,KAAK,8BAA8B,SAAS;EAC5C,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE;CACtG,CAAC,CAAC,CAAC,SAAS,sDAOF;AACV,CAAC"}
@@ -0,0 +1,19 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/delete-custom-field.ts
4
+ const Servicem8DeleteCustomFieldInput = zod.z.object({ uuid: zod.z.string().describe("The UUID of the custom field to delete. Must be a valid UUID string.") }).describe("Request model for deleting a ServiceM8 Custom Field by UUID.");
5
+ const Servicem8DeleteCustomFieldOutput = zod.z.object({
6
+ message: zod.z.string().describe("API response message describing the result of the operation.").nullable().optional(),
7
+ errorCode: zod.z.number().int().describe("API error code. 0 indicates success, non-zero indicates an error. May be absent on 204 No Content responses.").nullable().optional()
8
+ }).describe("Response model for successful custom field deletion.");
9
+ const servicem8DeleteCustomField = require_action.action("SERVICEM8_DELETE_CUSTOM_FIELD", {
10
+ slug: "servicem8-delete-custom-field",
11
+ name: "Delete Custom Field",
12
+ description: "Delete a custom field in ServiceM8 by its UUID. Use this when you need to permanently remove a custom field definition from the system. This will remove the custom field and any associated data.",
13
+ input: Servicem8DeleteCustomFieldInput,
14
+ output: Servicem8DeleteCustomFieldOutput
15
+ });
16
+ //#endregion
17
+ exports.servicem8DeleteCustomField = servicem8DeleteCustomField;
18
+
19
+ //# sourceMappingURL=delete-custom-field.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"delete-custom-field.cjs","names":["z","action"],"sources":["../../src/actions/delete-custom-field.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const Servicem8DeleteCustomFieldInput: z.ZodTypeAny = z.object({\n uuid: z.string().describe(\"The UUID of the custom field to delete. Must be a valid UUID string.\"),\n}).describe(\"Request model for deleting a ServiceM8 Custom Field by UUID.\");\nexport const Servicem8DeleteCustomFieldOutput: z.ZodTypeAny = z.object({\n message: z.string().describe(\"API response message describing the result of the operation.\").nullable().optional(),\n errorCode: z.number().int().describe(\"API error code. 0 indicates success, non-zero indicates an error. May be absent on 204 No Content responses.\").nullable().optional(),\n}).describe(\"Response model for successful custom field deletion.\");\n\nexport const servicem8DeleteCustomField = action(\"SERVICEM8_DELETE_CUSTOM_FIELD\", {\n slug: \"servicem8-delete-custom-field\",\n name: \"Delete Custom Field\",\n description: \"Delete a custom field in ServiceM8 by its UUID. Use this when you need to permanently remove a custom field definition from the system. This will remove the custom field and any associated data.\",\n input: Servicem8DeleteCustomFieldInput,\n output: Servicem8DeleteCustomFieldOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAgDA,IAAAA,EAAE,OAAO,EACpE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,EAClG,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAC1E,MAAa,mCAAiDA,IAAAA,EAAE,OAAO;CACrE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8GAA8G,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3K,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAElE,MAAa,6BAA6BC,eAAAA,OAAO,iCAAiC;CAChF,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/delete-custom-field.d.ts
4
+ declare const Servicem8DeleteCustomFieldInput: z.ZodTypeAny;
5
+ declare const Servicem8DeleteCustomFieldOutput: z.ZodTypeAny;
6
+ declare const servicem8DeleteCustomField: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { servicem8DeleteCustomField };
9
+ //# sourceMappingURL=delete-custom-field.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"delete-custom-field.d.cts","names":[],"sources":["../../src/actions/delete-custom-field.ts"],"mappings":";;;cAIa,+BAAA,EAAiC,CAAA,CAAE,UAE2B;AAAA,cAC9D,gCAAA,EAAkC,CAAA,CAAE,UAGkB;AAAA,cAEtD,0BAAA,gCAA0B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/delete-custom-field.d.ts
4
+ declare const Servicem8DeleteCustomFieldInput: z.ZodTypeAny;
5
+ declare const Servicem8DeleteCustomFieldOutput: z.ZodTypeAny;
6
+ declare const servicem8DeleteCustomField: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { servicem8DeleteCustomField };
9
+ //# sourceMappingURL=delete-custom-field.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"delete-custom-field.d.mts","names":[],"sources":["../../src/actions/delete-custom-field.ts"],"mappings":";;;cAIa,+BAAA,EAAiC,CAAA,CAAE,UAE2B;AAAA,cAC9D,gCAAA,EAAkC,CAAA,CAAE,UAGkB;AAAA,cAEtD,0BAAA,gCAA0B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,16 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ const servicem8DeleteCustomField = action("SERVICEM8_DELETE_CUSTOM_FIELD", {
4
+ slug: "servicem8-delete-custom-field",
5
+ name: "Delete Custom Field",
6
+ description: "Delete a custom field in ServiceM8 by its UUID. Use this when you need to permanently remove a custom field definition from the system. This will remove the custom field and any associated data.",
7
+ input: z.object({ uuid: z.string().describe("The UUID of the custom field to delete. Must be a valid UUID string.") }).describe("Request model for deleting a ServiceM8 Custom Field by UUID."),
8
+ output: z.object({
9
+ message: z.string().describe("API response message describing the result of the operation.").nullable().optional(),
10
+ errorCode: z.number().int().describe("API error code. 0 indicates success, non-zero indicates an error. May be absent on 204 No Content responses.").nullable().optional()
11
+ }).describe("Response model for successful custom field deletion.")
12
+ });
13
+ //#endregion
14
+ export { servicem8DeleteCustomField };
15
+
16
+ //# sourceMappingURL=delete-custom-field.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"delete-custom-field.mjs","names":[],"sources":["../../src/actions/delete-custom-field.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const Servicem8DeleteCustomFieldInput: z.ZodTypeAny = z.object({\n uuid: z.string().describe(\"The UUID of the custom field to delete. Must be a valid UUID string.\"),\n}).describe(\"Request model for deleting a ServiceM8 Custom Field by UUID.\");\nexport const Servicem8DeleteCustomFieldOutput: z.ZodTypeAny = z.object({\n message: z.string().describe(\"API response message describing the result of the operation.\").nullable().optional(),\n errorCode: z.number().int().describe(\"API error code. 0 indicates success, non-zero indicates an error. May be absent on 204 No Content responses.\").nullable().optional(),\n}).describe(\"Response model for successful custom field deletion.\");\n\nexport const servicem8DeleteCustomField = action(\"SERVICEM8_DELETE_CUSTOM_FIELD\", {\n slug: \"servicem8-delete-custom-field\",\n name: \"Delete Custom Field\",\n description: \"Delete a custom field in ServiceM8 by its UUID. Use this when you need to permanently remove a custom field definition from the system. This will remove the custom field and any associated data.\",\n input: Servicem8DeleteCustomFieldInput,\n output: Servicem8DeleteCustomFieldOutput,\n});\n"],"mappings":";;AAYA,MAAa,6BAA6B,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZ2D,EAAE,OAAO,EACpE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,EAClG,CAAC,CAAC,CAAC,SAAS,8DAUH;CACP,QAV4D,EAAE,OAAO;EACrE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjH,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8GAA8G,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3K,CAAC,CAAC,CAAC,SAAS,sDAOF;AACV,CAAC"}
@@ -0,0 +1,24 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/delete-job-note.ts
4
+ const Servicem8DeleteJobNoteInput = zod.z.object({ uuid: zod.z.string().describe("UUID of the job note to delete. Example: '123e4567-e89b-12d3-a456-426614174000'") }).describe("Request model for deleting a specific ServiceM8 job note.");
5
+ const Servicem8DeleteJobNoteOutput = zod.z.object({
6
+ note: zod.z.string().describe("Content of the note, if available.").nullable().optional(),
7
+ uuid: zod.z.string().describe("Unique UUID of the deleted note."),
8
+ active: zod.z.number().int().default(0).describe("Record active flag: always 0 after deletion (archived).").nullable().optional(),
9
+ job_uuid: zod.z.string().describe("UUID of the associated job, if available.").nullable().optional(),
10
+ edit_date: zod.z.string().describe("Timestamp when the note was last modified (YYYY-MM-DD HH:MM:SS).").nullable().optional(),
11
+ created_at: zod.z.string().describe("Timestamp when the note was created (YYYY-MM-DD HH:MM:SS), if available.").nullable().optional(),
12
+ staff_uuid: zod.z.string().describe("UUID of the staff member who created the note, if available.").nullable().optional()
13
+ }).describe("Response model for a deleted ServiceM8 job note, with active set to 0.\nConfirms the note was archived (soft-deleted) successfully.");
14
+ const servicem8DeleteJobNote = require_action.action("SERVICEM8_DELETE_JOB_NOTE", {
15
+ slug: "servicem8-delete-job-note",
16
+ name: "Delete Job Note",
17
+ description: "Deletes (archives) a job note in ServiceM8 by its UUID. Use this tool when you need to remove a note from a job's diary. In ServiceM8, deletion is a soft-delete: the note is archived (active=0) rather than permanently removed, and can be restored later if needed. Prerequisites: You need the note's UUID, which can be obtained from the 'List All Job Notes' or 'Retrieve Job Note' actions.",
18
+ input: Servicem8DeleteJobNoteInput,
19
+ output: Servicem8DeleteJobNoteOutput
20
+ });
21
+ //#endregion
22
+ exports.servicem8DeleteJobNote = servicem8DeleteJobNote;
23
+
24
+ //# sourceMappingURL=delete-job-note.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"delete-job-note.cjs","names":["z","action"],"sources":["../../src/actions/delete-job-note.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const Servicem8DeleteJobNoteInput: z.ZodTypeAny = z.object({\n uuid: z.string().describe(\"UUID of the job note to delete. Example: '123e4567-e89b-12d3-a456-426614174000'\"),\n}).describe(\"Request model for deleting a specific ServiceM8 job note.\");\nexport const Servicem8DeleteJobNoteOutput: z.ZodTypeAny = z.object({\n note: z.string().describe(\"Content of the note, if available.\").nullable().optional(),\n uuid: z.string().describe(\"Unique UUID of the deleted note.\"),\n active: z.number().int().default(0).describe(\"Record active flag: always 0 after deletion (archived).\").nullable().optional(),\n job_uuid: z.string().describe(\"UUID of the associated job, if available.\").nullable().optional(),\n edit_date: z.string().describe(\"Timestamp when the note was last modified (YYYY-MM-DD HH:MM:SS).\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the note was created (YYYY-MM-DD HH:MM:SS), if available.\").nullable().optional(),\n staff_uuid: z.string().describe(\"UUID of the staff member who created the note, if available.\").nullable().optional(),\n}).describe(\"Response model for a deleted ServiceM8 job note, with active set to 0.\\nConfirms the note was archived (soft-deleted) successfully.\");\n\nexport const servicem8DeleteJobNote = action(\"SERVICEM8_DELETE_JOB_NOTE\", {\n slug: \"servicem8-delete-job-note\",\n name: \"Delete Job Note\",\n description: \"Deletes (archives) a job note in ServiceM8 by its UUID. Use this tool when you need to remove a note from a job's diary. In ServiceM8, deletion is a soft-delete: the note is archived (active=0) rather than permanently removed, and can be restored later if needed. Prerequisites: You need the note's UUID, which can be obtained from the 'List All Job Notes' or 'Retrieve Job Note' actions.\",\n input: Servicem8DeleteJobNoteInput,\n output: Servicem8DeleteJobNoteOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA4CA,IAAAA,EAAE,OAAO,EAChE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF,EAC7G,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAa,+BAA6CA,IAAAA,EAAE,OAAO;CACjE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;CAC5D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5H,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChI,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtH,CAAC,CAAC,CAAC,SAAS,qIAAqI;AAEjJ,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/delete-job-note.d.ts
4
+ declare const Servicem8DeleteJobNoteInput: z.ZodTypeAny;
5
+ declare const Servicem8DeleteJobNoteOutput: z.ZodTypeAny;
6
+ declare const servicem8DeleteJobNote: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { servicem8DeleteJobNote };
9
+ //# sourceMappingURL=delete-job-note.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"delete-job-note.d.cts","names":[],"sources":["../../src/actions/delete-job-note.ts"],"mappings":";;;cAIa,2BAAA,EAA6B,CAAA,CAAE,UAE4B;AAAA,cAC3D,4BAAA,EAA8B,CAAA,CAAE,UAQqG;AAAA,cAErI,sBAAA,gCAAsB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}