@keystrokehq/servicem8 0.1.0 → 0.1.3

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 (213) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/create-job-note.cjs +2 -2
  4. package/dist/actions/create-job-note.cjs.map +1 -1
  5. package/dist/actions/create-job-note.d.cts +25 -3
  6. package/dist/actions/create-job-note.d.cts.map +1 -1
  7. package/dist/actions/create-job-note.d.mts +25 -3
  8. package/dist/actions/create-job-note.d.mts.map +1 -1
  9. package/dist/actions/create-job-note.mjs +2 -2
  10. package/dist/actions/create-job-note.mjs.map +1 -1
  11. package/dist/actions/create-job-payment.cjs +2 -2
  12. package/dist/actions/create-job-payment.cjs.map +1 -1
  13. package/dist/actions/create-job-payment.d.cts +31 -3
  14. package/dist/actions/create-job-payment.d.cts.map +1 -1
  15. package/dist/actions/create-job-payment.d.mts +31 -3
  16. package/dist/actions/create-job-payment.d.mts.map +1 -1
  17. package/dist/actions/create-job-payment.mjs +2 -2
  18. package/dist/actions/create-job-payment.mjs.map +1 -1
  19. package/dist/actions/create-jobs.cjs +5 -5
  20. package/dist/actions/create-jobs.cjs.map +1 -1
  21. package/dist/actions/create-jobs.d.cts +49 -3
  22. package/dist/actions/create-jobs.d.cts.map +1 -1
  23. package/dist/actions/create-jobs.d.mts +49 -3
  24. package/dist/actions/create-jobs.d.mts.map +1 -1
  25. package/dist/actions/create-jobs.mjs +5 -5
  26. package/dist/actions/create-jobs.mjs.map +1 -1
  27. package/dist/actions/delete-custom-field.cjs +1 -1
  28. package/dist/actions/delete-custom-field.cjs.map +1 -1
  29. package/dist/actions/delete-custom-field.d.cts +10 -3
  30. package/dist/actions/delete-custom-field.d.cts.map +1 -1
  31. package/dist/actions/delete-custom-field.d.mts +10 -3
  32. package/dist/actions/delete-custom-field.d.mts.map +1 -1
  33. package/dist/actions/delete-custom-field.mjs +1 -1
  34. package/dist/actions/delete-custom-field.mjs.map +1 -1
  35. package/dist/actions/delete-job-note.cjs +2 -2
  36. package/dist/actions/delete-job-note.cjs.map +1 -1
  37. package/dist/actions/delete-job-note.d.cts +15 -3
  38. package/dist/actions/delete-job-note.d.cts.map +1 -1
  39. package/dist/actions/delete-job-note.d.mts +15 -3
  40. package/dist/actions/delete-job-note.d.mts.map +1 -1
  41. package/dist/actions/delete-job-note.mjs +2 -2
  42. package/dist/actions/delete-job-note.mjs.map +1 -1
  43. package/dist/actions/delete-job-payment.cjs +4 -4
  44. package/dist/actions/delete-job-payment.cjs.map +1 -1
  45. package/dist/actions/delete-job-payment.d.cts +11 -3
  46. package/dist/actions/delete-job-payment.d.cts.map +1 -1
  47. package/dist/actions/delete-job-payment.d.mts +11 -3
  48. package/dist/actions/delete-job-payment.d.mts.map +1 -1
  49. package/dist/actions/delete-job-payment.mjs +4 -4
  50. package/dist/actions/delete-job-payment.mjs.map +1 -1
  51. package/dist/actions/list-all-assets.cjs.map +1 -1
  52. package/dist/actions/list-all-assets.d.cts +7 -3
  53. package/dist/actions/list-all-assets.d.cts.map +1 -1
  54. package/dist/actions/list-all-assets.d.mts +7 -3
  55. package/dist/actions/list-all-assets.d.mts.map +1 -1
  56. package/dist/actions/list-all-assets.mjs.map +1 -1
  57. package/dist/actions/list-all-clients.cjs.map +1 -1
  58. package/dist/actions/list-all-clients.d.cts +7 -3
  59. package/dist/actions/list-all-clients.d.cts.map +1 -1
  60. package/dist/actions/list-all-clients.d.mts +7 -3
  61. package/dist/actions/list-all-clients.d.mts.map +1 -1
  62. package/dist/actions/list-all-clients.mjs.map +1 -1
  63. package/dist/actions/list-all-document-templates.cjs.map +1 -1
  64. package/dist/actions/list-all-document-templates.d.cts +9 -3
  65. package/dist/actions/list-all-document-templates.d.cts.map +1 -1
  66. package/dist/actions/list-all-document-templates.d.mts +9 -3
  67. package/dist/actions/list-all-document-templates.d.mts.map +1 -1
  68. package/dist/actions/list-all-document-templates.mjs.map +1 -1
  69. package/dist/actions/list-all-forms.cjs.map +1 -1
  70. package/dist/actions/list-all-forms.d.cts +7 -3
  71. package/dist/actions/list-all-forms.d.cts.map +1 -1
  72. package/dist/actions/list-all-forms.d.mts +7 -3
  73. package/dist/actions/list-all-forms.d.mts.map +1 -1
  74. package/dist/actions/list-all-forms.mjs.map +1 -1
  75. package/dist/actions/list-all-job-notes.cjs +7 -7
  76. package/dist/actions/list-all-job-notes.cjs.map +1 -1
  77. package/dist/actions/list-all-job-notes.d.cts +21 -3
  78. package/dist/actions/list-all-job-notes.d.cts.map +1 -1
  79. package/dist/actions/list-all-job-notes.d.mts +21 -3
  80. package/dist/actions/list-all-job-notes.d.mts.map +1 -1
  81. package/dist/actions/list-all-job-notes.mjs +7 -7
  82. package/dist/actions/list-all-job-notes.mjs.map +1 -1
  83. package/dist/actions/list-all-job-queues.cjs.map +1 -1
  84. package/dist/actions/list-all-job-queues.d.cts +3 -3
  85. package/dist/actions/list-all-job-queues.d.cts.map +1 -1
  86. package/dist/actions/list-all-job-queues.d.mts +3 -3
  87. package/dist/actions/list-all-job-queues.d.mts.map +1 -1
  88. package/dist/actions/list-all-job-queues.mjs.map +1 -1
  89. package/dist/actions/list-all-jobs.cjs +6 -6
  90. package/dist/actions/list-all-jobs.cjs.map +1 -1
  91. package/dist/actions/list-all-jobs.d.cts +61 -3
  92. package/dist/actions/list-all-jobs.d.cts.map +1 -1
  93. package/dist/actions/list-all-jobs.d.mts +61 -3
  94. package/dist/actions/list-all-jobs.d.mts.map +1 -1
  95. package/dist/actions/list-all-jobs.mjs +6 -6
  96. package/dist/actions/list-all-jobs.mjs.map +1 -1
  97. package/dist/actions/list-all-locations.cjs.map +1 -1
  98. package/dist/actions/list-all-locations.d.cts +7 -3
  99. package/dist/actions/list-all-locations.d.cts.map +1 -1
  100. package/dist/actions/list-all-locations.d.mts +7 -3
  101. package/dist/actions/list-all-locations.d.mts.map +1 -1
  102. package/dist/actions/list-all-locations.mjs.map +1 -1
  103. package/dist/actions/list-all-materials.cjs.map +1 -1
  104. package/dist/actions/list-all-materials.d.cts +7 -3
  105. package/dist/actions/list-all-materials.d.cts.map +1 -1
  106. package/dist/actions/list-all-materials.d.mts +7 -3
  107. package/dist/actions/list-all-materials.d.mts.map +1 -1
  108. package/dist/actions/list-all-materials.mjs.map +1 -1
  109. package/dist/actions/list-all-tasks.cjs +1 -1
  110. package/dist/actions/list-all-tasks.cjs.map +1 -1
  111. package/dist/actions/list-all-tasks.d.cts +23 -3
  112. package/dist/actions/list-all-tasks.d.cts.map +1 -1
  113. package/dist/actions/list-all-tasks.d.mts +23 -3
  114. package/dist/actions/list-all-tasks.d.mts.map +1 -1
  115. package/dist/actions/list-all-tasks.mjs +1 -1
  116. package/dist/actions/list-all-tasks.mjs.map +1 -1
  117. package/dist/actions/retrieve-client.cjs +4 -4
  118. package/dist/actions/retrieve-client.cjs.map +1 -1
  119. package/dist/actions/retrieve-client.d.cts +32 -3
  120. package/dist/actions/retrieve-client.d.cts.map +1 -1
  121. package/dist/actions/retrieve-client.d.mts +32 -3
  122. package/dist/actions/retrieve-client.d.mts.map +1 -1
  123. package/dist/actions/retrieve-client.mjs +4 -4
  124. package/dist/actions/retrieve-client.mjs.map +1 -1
  125. package/dist/actions/retrieve-form.cjs +1 -1
  126. package/dist/actions/retrieve-form.cjs.map +1 -1
  127. package/dist/actions/retrieve-form.d.cts +13 -3
  128. package/dist/actions/retrieve-form.d.cts.map +1 -1
  129. package/dist/actions/retrieve-form.d.mts +13 -3
  130. package/dist/actions/retrieve-form.d.mts.map +1 -1
  131. package/dist/actions/retrieve-form.mjs +1 -1
  132. package/dist/actions/retrieve-form.mjs.map +1 -1
  133. package/dist/actions/retrieve-job-activity.cjs +5 -5
  134. package/dist/actions/retrieve-job-activity.cjs.map +1 -1
  135. package/dist/actions/retrieve-job-activity.d.cts +26 -3
  136. package/dist/actions/retrieve-job-activity.d.cts.map +1 -1
  137. package/dist/actions/retrieve-job-activity.d.mts +26 -3
  138. package/dist/actions/retrieve-job-activity.d.mts.map +1 -1
  139. package/dist/actions/retrieve-job-activity.mjs +5 -5
  140. package/dist/actions/retrieve-job-activity.mjs.map +1 -1
  141. package/dist/actions/retrieve-job-note.cjs +3 -3
  142. package/dist/actions/retrieve-job-note.cjs.map +1 -1
  143. package/dist/actions/retrieve-job-note.d.cts +16 -3
  144. package/dist/actions/retrieve-job-note.d.cts.map +1 -1
  145. package/dist/actions/retrieve-job-note.d.mts +16 -3
  146. package/dist/actions/retrieve-job-note.d.mts.map +1 -1
  147. package/dist/actions/retrieve-job-note.mjs +3 -3
  148. package/dist/actions/retrieve-job-note.mjs.map +1 -1
  149. package/dist/actions/retrieve-job-payment.cjs +6 -6
  150. package/dist/actions/retrieve-job-payment.cjs.map +1 -1
  151. package/dist/actions/retrieve-job-payment.d.cts +19 -3
  152. package/dist/actions/retrieve-job-payment.d.cts.map +1 -1
  153. package/dist/actions/retrieve-job-payment.d.mts +19 -3
  154. package/dist/actions/retrieve-job-payment.d.mts.map +1 -1
  155. package/dist/actions/retrieve-job-payment.mjs +6 -6
  156. package/dist/actions/retrieve-job-payment.mjs.map +1 -1
  157. package/dist/actions/retrieve-job-queue.cjs +7 -7
  158. package/dist/actions/retrieve-job-queue.cjs.map +1 -1
  159. package/dist/actions/retrieve-job-queue.d.cts +15 -3
  160. package/dist/actions/retrieve-job-queue.d.cts.map +1 -1
  161. package/dist/actions/retrieve-job-queue.d.mts +15 -3
  162. package/dist/actions/retrieve-job-queue.d.mts.map +1 -1
  163. package/dist/actions/retrieve-job-queue.mjs +7 -7
  164. package/dist/actions/retrieve-job-queue.mjs.map +1 -1
  165. package/dist/actions/retrieve-job.cjs +7 -7
  166. package/dist/actions/retrieve-job.cjs.map +1 -1
  167. package/dist/actions/retrieve-job.d.cts +59 -3
  168. package/dist/actions/retrieve-job.d.cts.map +1 -1
  169. package/dist/actions/retrieve-job.d.mts +59 -3
  170. package/dist/actions/retrieve-job.d.mts.map +1 -1
  171. package/dist/actions/retrieve-job.mjs +7 -7
  172. package/dist/actions/retrieve-job.mjs.map +1 -1
  173. package/dist/actions/retrieve-location.cjs +2 -2
  174. package/dist/actions/retrieve-location.cjs.map +1 -1
  175. package/dist/actions/retrieve-location.d.cts +22 -3
  176. package/dist/actions/retrieve-location.d.cts.map +1 -1
  177. package/dist/actions/retrieve-location.d.mts +22 -3
  178. package/dist/actions/retrieve-location.d.mts.map +1 -1
  179. package/dist/actions/retrieve-location.mjs +2 -2
  180. package/dist/actions/retrieve-location.mjs.map +1 -1
  181. package/dist/actions/retrieve-material.cjs +7 -7
  182. package/dist/actions/retrieve-material.cjs.map +1 -1
  183. package/dist/actions/retrieve-material.d.cts +22 -3
  184. package/dist/actions/retrieve-material.d.cts.map +1 -1
  185. package/dist/actions/retrieve-material.d.mts +22 -3
  186. package/dist/actions/retrieve-material.d.mts.map +1 -1
  187. package/dist/actions/retrieve-material.mjs +7 -7
  188. package/dist/actions/retrieve-material.mjs.map +1 -1
  189. package/dist/actions/retrieve-staff-member.cjs +6 -6
  190. package/dist/actions/retrieve-staff-member.cjs.map +1 -1
  191. package/dist/actions/retrieve-staff-member.d.cts +29 -3
  192. package/dist/actions/retrieve-staff-member.d.cts.map +1 -1
  193. package/dist/actions/retrieve-staff-member.d.mts +29 -3
  194. package/dist/actions/retrieve-staff-member.d.mts.map +1 -1
  195. package/dist/actions/retrieve-staff-member.mjs +6 -6
  196. package/dist/actions/retrieve-staff-member.mjs.map +1 -1
  197. package/dist/actions/update-job-note.cjs +8 -8
  198. package/dist/actions/update-job-note.cjs.map +1 -1
  199. package/dist/actions/update-job-note.d.cts +21 -3
  200. package/dist/actions/update-job-note.d.cts.map +1 -1
  201. package/dist/actions/update-job-note.d.mts +21 -3
  202. package/dist/actions/update-job-note.d.mts.map +1 -1
  203. package/dist/actions/update-job-note.mjs +8 -8
  204. package/dist/actions/update-job-note.mjs.map +1 -1
  205. package/dist/actions/update-job-payment.cjs +6 -6
  206. package/dist/actions/update-job-payment.cjs.map +1 -1
  207. package/dist/actions/update-job-payment.d.cts +33 -3
  208. package/dist/actions/update-job-payment.d.cts.map +1 -1
  209. package/dist/actions/update-job-payment.d.mts +33 -3
  210. package/dist/actions/update-job-payment.d.mts.map +1 -1
  211. package/dist/actions/update-job-payment.mjs +6 -6
  212. package/dist/actions/update-job-payment.mjs.map +1 -1
  213. package/package.json +2 -2
@@ -1,9 +1,16 @@
1
1
  import { z } from "zod";
2
2
 
3
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]>;
4
+ declare const Servicem8DeleteCustomFieldInput: z.ZodObject<{
5
+ uuid: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const Servicem8DeleteCustomFieldOutput: z.ZodObject<{
8
+ message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9
+ errorCode: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
10
+ }, z.core.$loose>;
11
+ declare const servicem8DeleteCustomField: import("@keystrokehq/action").WorkflowActionDefinition<{
12
+ uuid: string;
13
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
14
  //#endregion
8
15
  export { servicem8DeleteCustomField };
9
16
  //# sourceMappingURL=delete-custom-field.d.cts.map
@@ -1 +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"}
1
+ {"version":3,"file":"delete-custom-field.d.cts","names":[],"sources":["../../src/actions/delete-custom-field.ts"],"mappings":";;;cAIa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;cAG/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;cAKhC,0BAAA,gCAA0B,wBAAA"}
@@ -1,9 +1,16 @@
1
1
  import { z } from "zod";
2
2
 
3
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]>;
4
+ declare const Servicem8DeleteCustomFieldInput: z.ZodObject<{
5
+ uuid: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const Servicem8DeleteCustomFieldOutput: z.ZodObject<{
8
+ message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9
+ errorCode: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
10
+ }, z.core.$loose>;
11
+ declare const servicem8DeleteCustomField: import("@keystrokehq/action").WorkflowActionDefinition<{
12
+ uuid: string;
13
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
14
  //#endregion
8
15
  export { servicem8DeleteCustomField };
9
16
  //# sourceMappingURL=delete-custom-field.d.mts.map
@@ -1 +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"}
1
+ {"version":3,"file":"delete-custom-field.d.mts","names":[],"sources":["../../src/actions/delete-custom-field.ts"],"mappings":";;;cAIa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;cAG/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;cAKhC,0BAAA,gCAA0B,wBAAA"}
@@ -8,7 +8,7 @@ const servicem8DeleteCustomField = action("SERVICEM8_DELETE_CUSTOM_FIELD", {
8
8
  output: z.object({
9
9
  message: z.string().describe("API response message describing the result of the operation.").nullable().optional(),
10
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.")
11
+ }).passthrough().describe("Response model for successful custom field deletion.")
12
12
  });
13
13
  //#endregion
14
14
  export { servicem8DeleteCustomField };
@@ -1 +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"}
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.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.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}).passthrough().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,OAZ6C,EAAE,OAAO,EACtD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,EAClG,CAAC,CAAC,CAAC,SAAS,8DAUH;CACP,QAV8C,EAAE,OAAO;EACvD,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,YAAY,CAAC,CAAC,SAAS,sDAOhB;AACV,CAAC"}
@@ -4,13 +4,13 @@ let zod = require("zod");
4
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
5
  const Servicem8DeleteJobNoteOutput = zod.z.object({
6
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."),
7
+ uuid: zod.z.string().describe("Unique UUID of the deleted note.").nullable(),
8
8
  active: zod.z.number().int().default(0).describe("Record active flag: always 0 after deletion (archived).").nullable().optional(),
9
9
  job_uuid: zod.z.string().describe("UUID of the associated job, if available.").nullable().optional(),
10
10
  edit_date: zod.z.string().describe("Timestamp when the note was last modified (YYYY-MM-DD HH:MM:SS).").nullable().optional(),
11
11
  created_at: zod.z.string().describe("Timestamp when the note was created (YYYY-MM-DD HH:MM:SS), if available.").nullable().optional(),
12
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.");
13
+ }).passthrough().describe("Response model for a deleted ServiceM8 job note, with active set to 0.\nConfirms the note was archived (soft-deleted) successfully.");
14
14
  const servicem8DeleteJobNote = require_action.action("SERVICEM8_DELETE_JOB_NOTE", {
15
15
  slug: "servicem8-delete-job-note",
16
16
  name: "Delete Job Note",
@@ -1 +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"}
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.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.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.\").nullable(),\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}).passthrough().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,8BAA8BA,IAAAA,EAAE,OAAO,EAClD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF,EAC7G,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACvE,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,YAAY,CAAC,CAAC,SAAS,qIAAqI;AAE/J,MAAa,yBAAyBC,eAAAA,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,21 @@
1
1
  import { z } from "zod";
2
2
 
3
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]>;
4
+ declare const Servicem8DeleteJobNoteInput: z.ZodObject<{
5
+ uuid: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const Servicem8DeleteJobNoteOutput: z.ZodObject<{
8
+ note: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9
+ uuid: z.ZodNullable<z.ZodString>;
10
+ active: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>;
11
+ job_uuid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
+ edit_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
+ staff_uuid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
+ }, z.core.$loose>;
16
+ declare const servicem8DeleteJobNote: import("@keystrokehq/action").WorkflowActionDefinition<{
17
+ uuid: string;
18
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
19
  //#endregion
8
20
  export { servicem8DeleteJobNote };
9
21
  //# sourceMappingURL=delete-job-note.d.cts.map
@@ -1 +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"}
1
+ {"version":3,"file":"delete-job-note.d.cts","names":[],"sources":["../../src/actions/delete-job-note.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;cAG3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;cAU5B,sBAAA,gCAAsB,wBAAA"}
@@ -1,9 +1,21 @@
1
1
  import { z } from "zod";
2
2
 
3
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]>;
4
+ declare const Servicem8DeleteJobNoteInput: z.ZodObject<{
5
+ uuid: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const Servicem8DeleteJobNoteOutput: z.ZodObject<{
8
+ note: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9
+ uuid: z.ZodNullable<z.ZodString>;
10
+ active: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>;
11
+ job_uuid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
+ edit_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
+ staff_uuid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
+ }, z.core.$loose>;
16
+ declare const servicem8DeleteJobNote: import("@keystrokehq/action").WorkflowActionDefinition<{
17
+ uuid: string;
18
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
19
  //#endregion
8
20
  export { servicem8DeleteJobNote };
9
21
  //# sourceMappingURL=delete-job-note.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"delete-job-note.d.mts","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"}
1
+ {"version":3,"file":"delete-job-note.d.mts","names":[],"sources":["../../src/actions/delete-job-note.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;cAG3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;cAU5B,sBAAA,gCAAsB,wBAAA"}
@@ -7,13 +7,13 @@ const servicem8DeleteJobNote = action("SERVICEM8_DELETE_JOB_NOTE", {
7
7
  input: z.object({ uuid: 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."),
8
8
  output: z.object({
9
9
  note: z.string().describe("Content of the note, if available.").nullable().optional(),
10
- uuid: z.string().describe("Unique UUID of the deleted note."),
10
+ uuid: z.string().describe("Unique UUID of the deleted note.").nullable(),
11
11
  active: z.number().int().default(0).describe("Record active flag: always 0 after deletion (archived).").nullable().optional(),
12
12
  job_uuid: z.string().describe("UUID of the associated job, if available.").nullable().optional(),
13
13
  edit_date: z.string().describe("Timestamp when the note was last modified (YYYY-MM-DD HH:MM:SS).").nullable().optional(),
14
14
  created_at: z.string().describe("Timestamp when the note was created (YYYY-MM-DD HH:MM:SS), if available.").nullable().optional(),
15
15
  staff_uuid: z.string().describe("UUID of the staff member who created the note, if available.").nullable().optional()
16
- }).describe("Response model for a deleted ServiceM8 job note, with active set to 0.\nConfirms the note was archived (soft-deleted) successfully.")
16
+ }).passthrough().describe("Response model for a deleted ServiceM8 job note, with active set to 0.\nConfirms the note was archived (soft-deleted) successfully.")
17
17
  });
18
18
  //#endregion
19
19
  export { servicem8DeleteJobNote };
@@ -1 +1 @@
1
- {"version":3,"file":"delete-job-note.mjs","names":[],"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":";;AAiBA,MAAa,yBAAyB,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAjBuD,EAAE,OAAO,EAChE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF,EAC7G,CAAC,CAAC,CAAC,SAAS,2DAeH;CACP,QAfwD,EAAE,OAAO;EACjE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;EAC5D,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5H,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChI,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,CAAC,CAAC,CAAC,SAAS,qIAOF;AACV,CAAC"}
1
+ {"version":3,"file":"delete-job-note.mjs","names":[],"sources":["../../src/actions/delete-job-note.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const Servicem8DeleteJobNoteInput = 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.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.\").nullable(),\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}).passthrough().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":";;AAiBA,MAAa,yBAAyB,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAjByC,EAAE,OAAO,EAClD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF,EAC7G,CAAC,CAAC,CAAC,SAAS,2DAeH;CACP,QAf0C,EAAE,OAAO;EACnD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;EACvE,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5H,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChI,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qIAOhB;AACV,CAAC"}
@@ -3,10 +3,10 @@ let zod = require("zod");
3
3
  //#region src/actions/delete-job-payment.ts
4
4
  const Servicem8DeleteJobPaymentInput = zod.z.object({ uuid: zod.z.string().describe("The UUID of the job payment to delete (archive). In ServiceM8, deletion is a soft delete that sets the record's active field to 0, hiding it from the UI but keeping it accessible via API.") }).describe("Request model for deleting (archiving) a ServiceM8 Job Payment by UUID.");
5
5
  const Servicem8DeleteJobPaymentOutput = zod.z.object({
6
- uuid: zod.z.string().describe("UUID of the job payment that was archived."),
7
- message: zod.z.string().describe("Human-readable message describing the result of the operation."),
8
- success: zod.z.boolean().describe("True if the job payment was successfully archived.")
9
- }).describe("Response model confirming the job payment was successfully archived.");
6
+ uuid: zod.z.string().describe("UUID of the job payment that was archived.").nullable(),
7
+ message: zod.z.string().describe("Human-readable message describing the result of the operation.").nullable(),
8
+ success: zod.z.boolean().describe("True if the job payment was successfully archived.").nullable()
9
+ }).passthrough().describe("Response model confirming the job payment was successfully archived.");
10
10
  const servicem8DeleteJobPayment = require_action.action("SERVICEM8_DELETE_JOB_PAYMENT", {
11
11
  slug: "servicem8-delete-job-payment",
12
12
  name: "Delete Job Payment",
@@ -1 +1 @@
1
- {"version":3,"file":"delete-job-payment.cjs","names":["z","action"],"sources":["../../src/actions/delete-job-payment.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const Servicem8DeleteJobPaymentInput: z.ZodTypeAny = z.object({\n uuid: z.string().describe(\"The UUID of the job payment to delete (archive). In ServiceM8, deletion is a soft delete that sets the record's active field to 0, hiding it from the UI but keeping it accessible via API.\"),\n}).describe(\"Request model for deleting (archiving) a ServiceM8 Job Payment by UUID.\");\nexport const Servicem8DeleteJobPaymentOutput: z.ZodTypeAny = z.object({\n uuid: z.string().describe(\"UUID of the job payment that was archived.\"),\n message: z.string().describe(\"Human-readable message describing the result of the operation.\"),\n success: z.boolean().describe(\"True if the job payment was successfully archived.\"),\n}).describe(\"Response model confirming the job payment was successfully archived.\");\n\nexport const servicem8DeleteJobPayment = action(\"SERVICEM8_DELETE_JOB_PAYMENT\", {\n slug: \"servicem8-delete-job-payment\",\n name: \"Delete Job Payment\",\n description: \"Archives (soft-deletes) a job payment record in ServiceM8 by its UUID. In ServiceM8, records are never permanently deleted. Instead, deletion sets the record's 'active' field to 0, which hides it from the UI but keeps it accessible via the API. Archived records can be restored by setting their 'active' field back to 1. Use this tool when you need to remove a payment record from active use, such as when a payment was recorded in error or needs to be voided. Requires the 'manage_job_payments' OAuth scope.\",\n input: Servicem8DeleteJobPaymentInput,\n output: Servicem8DeleteJobPaymentOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAA+CA,IAAAA,EAAE,OAAO,EACnE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6LAA6L,EACzN,CAAC,CAAC,CAAC,SAAS,yEAAyE;AACrF,MAAa,kCAAgDA,IAAAA,EAAE,OAAO;CACpE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;CACtE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE;CAC7F,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,oDAAoD;AACpF,CAAC,CAAC,CAAC,SAAS,sEAAsE;AAElF,MAAa,4BAA4BC,eAAAA,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"delete-job-payment.cjs","names":["z","action"],"sources":["../../src/actions/delete-job-payment.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const Servicem8DeleteJobPaymentInput = z.object({\n uuid: z.string().describe(\"The UUID of the job payment to delete (archive). In ServiceM8, deletion is a soft delete that sets the record's active field to 0, hiding it from the UI but keeping it accessible via API.\"),\n}).describe(\"Request model for deleting (archiving) a ServiceM8 Job Payment by UUID.\");\nexport const Servicem8DeleteJobPaymentOutput = z.object({\n uuid: z.string().describe(\"UUID of the job payment that was archived.\").nullable(),\n message: z.string().describe(\"Human-readable message describing the result of the operation.\").nullable(),\n success: z.boolean().describe(\"True if the job payment was successfully archived.\").nullable(),\n}).passthrough().describe(\"Response model confirming the job payment was successfully archived.\");\n\nexport const servicem8DeleteJobPayment = action(\"SERVICEM8_DELETE_JOB_PAYMENT\", {\n slug: \"servicem8-delete-job-payment\",\n name: \"Delete Job Payment\",\n description: \"Archives (soft-deletes) a job payment record in ServiceM8 by its UUID. In ServiceM8, records are never permanently deleted. Instead, deletion sets the record's 'active' field to 0, which hides it from the UI but keeps it accessible via the API. Archived records can be restored by setting their 'active' field back to 1. Use this tool when you need to remove a payment record from active use, such as when a payment was recorded in error or needs to be voided. Requires the 'manage_job_payments' OAuth scope.\",\n input: Servicem8DeleteJobPaymentInput,\n output: Servicem8DeleteJobPaymentOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO,EACrD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6LAA6L,EACzN,CAAC,CAAC,CAAC,SAAS,yEAAyE;AACrF,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACjF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;CACxG,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;AAC/F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sEAAsE;AAEhG,MAAa,4BAA4BC,eAAAA,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,17 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/delete-job-payment.d.ts
4
- declare const Servicem8DeleteJobPaymentInput: z.ZodTypeAny;
5
- declare const Servicem8DeleteJobPaymentOutput: z.ZodTypeAny;
6
- declare const servicem8DeleteJobPayment: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const Servicem8DeleteJobPaymentInput: z.ZodObject<{
5
+ uuid: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const Servicem8DeleteJobPaymentOutput: z.ZodObject<{
8
+ uuid: z.ZodNullable<z.ZodString>;
9
+ message: z.ZodNullable<z.ZodString>;
10
+ success: z.ZodNullable<z.ZodBoolean>;
11
+ }, z.core.$loose>;
12
+ declare const servicem8DeleteJobPayment: import("@keystrokehq/action").WorkflowActionDefinition<{
13
+ uuid: string;
14
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
15
  //#endregion
8
16
  export { servicem8DeleteJobPayment };
9
17
  //# sourceMappingURL=delete-job-payment.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"delete-job-payment.d.cts","names":[],"sources":["../../src/actions/delete-job-payment.ts"],"mappings":";;;cAIa,8BAAA,EAAgC,CAAA,CAAE,UAEuC;AAAA,cACzE,+BAAA,EAAiC,CAAA,CAAE,UAImC;AAAA,cAEtE,yBAAA,gCAAyB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"delete-job-payment.d.cts","names":[],"sources":["../../src/actions/delete-job-payment.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;cAG9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;cAM/B,yBAAA,gCAAyB,wBAAA"}
@@ -1,9 +1,17 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/delete-job-payment.d.ts
4
- declare const Servicem8DeleteJobPaymentInput: z.ZodTypeAny;
5
- declare const Servicem8DeleteJobPaymentOutput: z.ZodTypeAny;
6
- declare const servicem8DeleteJobPayment: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const Servicem8DeleteJobPaymentInput: z.ZodObject<{
5
+ uuid: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const Servicem8DeleteJobPaymentOutput: z.ZodObject<{
8
+ uuid: z.ZodNullable<z.ZodString>;
9
+ message: z.ZodNullable<z.ZodString>;
10
+ success: z.ZodNullable<z.ZodBoolean>;
11
+ }, z.core.$loose>;
12
+ declare const servicem8DeleteJobPayment: import("@keystrokehq/action").WorkflowActionDefinition<{
13
+ uuid: string;
14
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
15
  //#endregion
8
16
  export { servicem8DeleteJobPayment };
9
17
  //# sourceMappingURL=delete-job-payment.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"delete-job-payment.d.mts","names":[],"sources":["../../src/actions/delete-job-payment.ts"],"mappings":";;;cAIa,8BAAA,EAAgC,CAAA,CAAE,UAEuC;AAAA,cACzE,+BAAA,EAAiC,CAAA,CAAE,UAImC;AAAA,cAEtE,yBAAA,gCAAyB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"delete-job-payment.d.mts","names":[],"sources":["../../src/actions/delete-job-payment.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;cAG9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;cAM/B,yBAAA,gCAAyB,wBAAA"}
@@ -6,10 +6,10 @@ const servicem8DeleteJobPayment = action("SERVICEM8_DELETE_JOB_PAYMENT", {
6
6
  description: "Archives (soft-deletes) a job payment record in ServiceM8 by its UUID. In ServiceM8, records are never permanently deleted. Instead, deletion sets the record's 'active' field to 0, which hides it from the UI but keeps it accessible via the API. Archived records can be restored by setting their 'active' field back to 1. Use this tool when you need to remove a payment record from active use, such as when a payment was recorded in error or needs to be voided. Requires the 'manage_job_payments' OAuth scope.",
7
7
  input: z.object({ uuid: z.string().describe("The UUID of the job payment to delete (archive). In ServiceM8, deletion is a soft delete that sets the record's active field to 0, hiding it from the UI but keeping it accessible via API.") }).describe("Request model for deleting (archiving) a ServiceM8 Job Payment by UUID."),
8
8
  output: z.object({
9
- uuid: z.string().describe("UUID of the job payment that was archived."),
10
- message: z.string().describe("Human-readable message describing the result of the operation."),
11
- success: z.boolean().describe("True if the job payment was successfully archived.")
12
- }).describe("Response model confirming the job payment was successfully archived.")
9
+ uuid: z.string().describe("UUID of the job payment that was archived.").nullable(),
10
+ message: z.string().describe("Human-readable message describing the result of the operation.").nullable(),
11
+ success: z.boolean().describe("True if the job payment was successfully archived.").nullable()
12
+ }).passthrough().describe("Response model confirming the job payment was successfully archived.")
13
13
  });
14
14
  //#endregion
15
15
  export { servicem8DeleteJobPayment };
@@ -1 +1 @@
1
- {"version":3,"file":"delete-job-payment.mjs","names":[],"sources":["../../src/actions/delete-job-payment.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const Servicem8DeleteJobPaymentInput: z.ZodTypeAny = z.object({\n uuid: z.string().describe(\"The UUID of the job payment to delete (archive). In ServiceM8, deletion is a soft delete that sets the record's active field to 0, hiding it from the UI but keeping it accessible via API.\"),\n}).describe(\"Request model for deleting (archiving) a ServiceM8 Job Payment by UUID.\");\nexport const Servicem8DeleteJobPaymentOutput: z.ZodTypeAny = z.object({\n uuid: z.string().describe(\"UUID of the job payment that was archived.\"),\n message: z.string().describe(\"Human-readable message describing the result of the operation.\"),\n success: z.boolean().describe(\"True if the job payment was successfully archived.\"),\n}).describe(\"Response model confirming the job payment was successfully archived.\");\n\nexport const servicem8DeleteJobPayment = action(\"SERVICEM8_DELETE_JOB_PAYMENT\", {\n slug: \"servicem8-delete-job-payment\",\n name: \"Delete Job Payment\",\n description: \"Archives (soft-deletes) a job payment record in ServiceM8 by its UUID. In ServiceM8, records are never permanently deleted. Instead, deletion sets the record's 'active' field to 0, which hides it from the UI but keeps it accessible via the API. Archived records can be restored by setting their 'active' field back to 1. Use this tool when you need to remove a payment record from active use, such as when a payment was recorded in error or needs to be voided. Requires the 'manage_job_payments' OAuth scope.\",\n input: Servicem8DeleteJobPaymentInput,\n output: Servicem8DeleteJobPaymentOutput,\n});\n"],"mappings":";;AAaA,MAAa,4BAA4B,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAb0D,EAAE,OAAO,EACnE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6LAA6L,EACzN,CAAC,CAAC,CAAC,SAAS,yEAWH;CACP,QAX2D,EAAE,OAAO;EACpE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;EACtE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE;EAC7F,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,oDAAoD;CACpF,CAAC,CAAC,CAAC,SAAS,sEAOF;AACV,CAAC"}
1
+ {"version":3,"file":"delete-job-payment.mjs","names":[],"sources":["../../src/actions/delete-job-payment.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const Servicem8DeleteJobPaymentInput = z.object({\n uuid: z.string().describe(\"The UUID of the job payment to delete (archive). In ServiceM8, deletion is a soft delete that sets the record's active field to 0, hiding it from the UI but keeping it accessible via API.\"),\n}).describe(\"Request model for deleting (archiving) a ServiceM8 Job Payment by UUID.\");\nexport const Servicem8DeleteJobPaymentOutput = z.object({\n uuid: z.string().describe(\"UUID of the job payment that was archived.\").nullable(),\n message: z.string().describe(\"Human-readable message describing the result of the operation.\").nullable(),\n success: z.boolean().describe(\"True if the job payment was successfully archived.\").nullable(),\n}).passthrough().describe(\"Response model confirming the job payment was successfully archived.\");\n\nexport const servicem8DeleteJobPayment = action(\"SERVICEM8_DELETE_JOB_PAYMENT\", {\n slug: \"servicem8-delete-job-payment\",\n name: \"Delete Job Payment\",\n description: \"Archives (soft-deletes) a job payment record in ServiceM8 by its UUID. In ServiceM8, records are never permanently deleted. Instead, deletion sets the record's 'active' field to 0, which hides it from the UI but keeps it accessible via the API. Archived records can be restored by setting their 'active' field back to 1. Use this tool when you need to remove a payment record from active use, such as when a payment was recorded in error or needs to be voided. Requires the 'manage_job_payments' OAuth scope.\",\n input: Servicem8DeleteJobPaymentInput,\n output: Servicem8DeleteJobPaymentOutput,\n});\n"],"mappings":";;AAaA,MAAa,4BAA4B,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAb4C,EAAE,OAAO,EACrD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6LAA6L,EACzN,CAAC,CAAC,CAAC,SAAS,yEAWH;CACP,QAX6C,EAAE,OAAO;EACtD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;EACjF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;EACxG,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CAC/F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sEAOhB;AACV,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"list-all-assets.cjs","names":["z","action"],"sources":["../../src/actions/list-all-assets.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const Servicem8ListAllAssetsInput: z.ZodTypeAny = z.object({\n filter: z.string().describe(\"OData-style filter expression to narrow down assets. Supported operators: eq (equal), ne (not equal), gt (greater than), lt (less than). Multiple conditions can be combined with 'and'. Examples: 'active eq 1', 'name eq \\\\'Pump Model X\\\\''. String values must be wrapped in single quotes.\").optional(),\n}).describe(\"Request model for listing all ServiceM8 assets. Supports optional filtering.\");\nexport const Servicem8ListAllAssetsOutput: z.ZodTypeAny = z.unknown();\n\nexport const servicem8ListAllAssets = action(\"SERVICEM8_LIST_ALL_ASSETS\", {\n slug: \"servicem8-list-all-assets\",\n name: \"List All Assets\",\n description: \"Tool to list all ServiceM8 assets. Use when you need a comprehensive asset registry, including custom fields, for inventory or reporting.\",\n input: Servicem8ListAllAssetsInput,\n output: Servicem8ListAllAssetsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA4CA,IAAAA,EAAE,OAAO,EAChE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iSAAiS,CAAC,CAAC,SAAS,EAC1U,CAAC,CAAC,CAAC,SAAS,8EAA8E;AAC1F,MAAa,+BAA6CA,IAAAA,EAAE,QAAQ;AAEpE,MAAa,yBAAyBC,eAAAA,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"list-all-assets.cjs","names":["z","action"],"sources":["../../src/actions/list-all-assets.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const Servicem8ListAllAssetsInput = z.object({\n filter: z.string().describe(\"OData-style filter expression to narrow down assets. Supported operators: eq (equal), ne (not equal), gt (greater than), lt (less than). Multiple conditions can be combined with 'and'. Examples: 'active eq 1', 'name eq \\\\'Pump Model X\\\\''. String values must be wrapped in single quotes.\").optional(),\n}).describe(\"Request model for listing all ServiceM8 assets. Supports optional filtering.\");\nexport const Servicem8ListAllAssetsOutput = z.unknown();\n\nexport const servicem8ListAllAssets = action(\"SERVICEM8_LIST_ALL_ASSETS\", {\n slug: \"servicem8-list-all-assets\",\n name: \"List All Assets\",\n description: \"Tool to list all ServiceM8 assets. Use when you need a comprehensive asset registry, including custom fields, for inventory or reporting.\",\n input: Servicem8ListAllAssetsInput,\n output: Servicem8ListAllAssetsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,EAClD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iSAAiS,CAAC,CAAC,SAAS,EAC1U,CAAC,CAAC,CAAC,SAAS,8EAA8E;AAC1F,MAAa,+BAA+BA,IAAAA,EAAE,QAAQ;AAEtD,MAAa,yBAAyBC,eAAAA,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,13 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/list-all-assets.d.ts
4
- declare const Servicem8ListAllAssetsInput: z.ZodTypeAny;
5
- declare const Servicem8ListAllAssetsOutput: z.ZodTypeAny;
6
- declare const servicem8ListAllAssets: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const Servicem8ListAllAssetsInput: z.ZodObject<{
5
+ filter: z.ZodOptional<z.ZodString>;
6
+ }, z.core.$strip>;
7
+ declare const Servicem8ListAllAssetsOutput: z.ZodUnknown;
8
+ declare const servicem8ListAllAssets: import("@keystrokehq/action").WorkflowActionDefinition<{
9
+ filter?: string | undefined;
10
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
11
  //#endregion
8
12
  export { servicem8ListAllAssets };
9
13
  //# sourceMappingURL=list-all-assets.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-all-assets.d.cts","names":[],"sources":["../../src/actions/list-all-assets.ts"],"mappings":";;;cAIa,2BAAA,EAA6B,CAAA,CAAE,UAE+C;AAAA,cAC9E,4BAAA,EAA8B,CAAA,CAAE,UAAwB;AAAA,cAExD,sBAAA,gCAAsB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"list-all-assets.d.cts","names":[],"sources":["../../src/actions/list-all-assets.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;cAG3B,4BAAA,EAA4B,CAAA,CAAA,UAAc;AAAA,cAE1C,sBAAA,gCAAsB,wBAAA"}
@@ -1,9 +1,13 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/list-all-assets.d.ts
4
- declare const Servicem8ListAllAssetsInput: z.ZodTypeAny;
5
- declare const Servicem8ListAllAssetsOutput: z.ZodTypeAny;
6
- declare const servicem8ListAllAssets: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const Servicem8ListAllAssetsInput: z.ZodObject<{
5
+ filter: z.ZodOptional<z.ZodString>;
6
+ }, z.core.$strip>;
7
+ declare const Servicem8ListAllAssetsOutput: z.ZodUnknown;
8
+ declare const servicem8ListAllAssets: import("@keystrokehq/action").WorkflowActionDefinition<{
9
+ filter?: string | undefined;
10
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
11
  //#endregion
8
12
  export { servicem8ListAllAssets };
9
13
  //# sourceMappingURL=list-all-assets.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-all-assets.d.mts","names":[],"sources":["../../src/actions/list-all-assets.ts"],"mappings":";;;cAIa,2BAAA,EAA6B,CAAA,CAAE,UAE+C;AAAA,cAC9E,4BAAA,EAA8B,CAAA,CAAE,UAAwB;AAAA,cAExD,sBAAA,gCAAsB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"list-all-assets.d.mts","names":[],"sources":["../../src/actions/list-all-assets.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;cAG3B,4BAAA,EAA4B,CAAA,CAAA,UAAc;AAAA,cAE1C,sBAAA,gCAAsB,wBAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"list-all-assets.mjs","names":[],"sources":["../../src/actions/list-all-assets.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const Servicem8ListAllAssetsInput: z.ZodTypeAny = z.object({\n filter: z.string().describe(\"OData-style filter expression to narrow down assets. Supported operators: eq (equal), ne (not equal), gt (greater than), lt (less than). Multiple conditions can be combined with 'and'. Examples: 'active eq 1', 'name eq \\\\'Pump Model X\\\\''. String values must be wrapped in single quotes.\").optional(),\n}).describe(\"Request model for listing all ServiceM8 assets. Supports optional filtering.\");\nexport const Servicem8ListAllAssetsOutput: z.ZodTypeAny = z.unknown();\n\nexport const servicem8ListAllAssets = action(\"SERVICEM8_LIST_ALL_ASSETS\", {\n slug: \"servicem8-list-all-assets\",\n name: \"List All Assets\",\n description: \"Tool to list all ServiceM8 assets. Use when you need a comprehensive asset registry, including custom fields, for inventory or reporting.\",\n input: Servicem8ListAllAssetsInput,\n output: Servicem8ListAllAssetsOutput,\n});\n"],"mappings":";;AASA,MAAa,yBAAyB,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OATuD,EAAE,OAAO,EAChE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,iSAAiS,CAAC,CAAC,SAAS,EAC1U,CAAC,CAAC,CAAC,SAAS,8EAOH;CACP,QAPwD,EAAE,QAOlD;AACV,CAAC"}
1
+ {"version":3,"file":"list-all-assets.mjs","names":[],"sources":["../../src/actions/list-all-assets.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const Servicem8ListAllAssetsInput = z.object({\n filter: z.string().describe(\"OData-style filter expression to narrow down assets. Supported operators: eq (equal), ne (not equal), gt (greater than), lt (less than). Multiple conditions can be combined with 'and'. Examples: 'active eq 1', 'name eq \\\\'Pump Model X\\\\''. String values must be wrapped in single quotes.\").optional(),\n}).describe(\"Request model for listing all ServiceM8 assets. Supports optional filtering.\");\nexport const Servicem8ListAllAssetsOutput = z.unknown();\n\nexport const servicem8ListAllAssets = action(\"SERVICEM8_LIST_ALL_ASSETS\", {\n slug: \"servicem8-list-all-assets\",\n name: \"List All Assets\",\n description: \"Tool to list all ServiceM8 assets. Use when you need a comprehensive asset registry, including custom fields, for inventory or reporting.\",\n input: Servicem8ListAllAssetsInput,\n output: Servicem8ListAllAssetsOutput,\n});\n"],"mappings":";;AASA,MAAa,yBAAyB,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OATyC,EAAE,OAAO,EAClD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,iSAAiS,CAAC,CAAC,SAAS,EAC1U,CAAC,CAAC,CAAC,SAAS,8EAOH;CACP,QAP0C,EAAE,QAOpC;AACV,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"list-all-clients.cjs","names":["z","action"],"sources":["../../src/actions/list-all-clients.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const Servicem8ListAllClientsInput: z.ZodTypeAny = z.object({\n filter: z.string().describe(\"OData-style filter expression using $filter syntax. Supported operators: eq (equal), ne (not equal), gt (greater than), lt (less than). Combine conditions with 'and' (max 10 conditions). Examples: \\\"active eq 1\\\", \\\"name eq 'Acme Corp'\\\", \\\"create_date gt '2024-01-01'\\\". Note: ge/le operators are not supported.\").optional(),\n}).describe(\"Request model for listing all ServiceM8 clients. Supports optional OData-style filtering.\");\nexport const Servicem8ListAllClientsOutput: z.ZodTypeAny = z.unknown();\n\nexport const servicem8ListAllClients = action(\"SERVICEM8_LIST_ALL_CLIENTS\", {\n slug: \"servicem8-list-all-clients\",\n name: \"List All Clients\",\n description: \"Tool to list all ServiceM8 clients. Use when you need a complete set of customer records for integrations or reporting.\",\n input: Servicem8ListAllClientsInput,\n output: Servicem8ListAllClientsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA6CA,IAAAA,EAAE,OAAO,EACjE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0TAA0T,CAAC,CAAC,SAAS,EACnW,CAAC,CAAC,CAAC,SAAS,2FAA2F;AACvG,MAAa,gCAA8CA,IAAAA,EAAE,QAAQ;AAErE,MAAa,0BAA0BC,eAAAA,OAAO,8BAA8B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"list-all-clients.cjs","names":["z","action"],"sources":["../../src/actions/list-all-clients.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const Servicem8ListAllClientsInput = z.object({\n filter: z.string().describe(\"OData-style filter expression using $filter syntax. Supported operators: eq (equal), ne (not equal), gt (greater than), lt (less than). Combine conditions with 'and' (max 10 conditions). Examples: \\\"active eq 1\\\", \\\"name eq 'Acme Corp'\\\", \\\"create_date gt '2024-01-01'\\\". Note: ge/le operators are not supported.\").optional(),\n}).describe(\"Request model for listing all ServiceM8 clients. Supports optional OData-style filtering.\");\nexport const Servicem8ListAllClientsOutput = z.unknown();\n\nexport const servicem8ListAllClients = action(\"SERVICEM8_LIST_ALL_CLIENTS\", {\n slug: \"servicem8-list-all-clients\",\n name: \"List All Clients\",\n description: \"Tool to list all ServiceM8 clients. Use when you need a complete set of customer records for integrations or reporting.\",\n input: Servicem8ListAllClientsInput,\n output: Servicem8ListAllClientsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO,EACnD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0TAA0T,CAAC,CAAC,SAAS,EACnW,CAAC,CAAC,CAAC,SAAS,2FAA2F;AACvG,MAAa,gCAAgCA,IAAAA,EAAE,QAAQ;AAEvD,MAAa,0BAA0BC,eAAAA,OAAO,8BAA8B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,13 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/list-all-clients.d.ts
4
- declare const Servicem8ListAllClientsInput: z.ZodTypeAny;
5
- declare const Servicem8ListAllClientsOutput: z.ZodTypeAny;
6
- declare const servicem8ListAllClients: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const Servicem8ListAllClientsInput: z.ZodObject<{
5
+ filter: z.ZodOptional<z.ZodString>;
6
+ }, z.core.$strip>;
7
+ declare const Servicem8ListAllClientsOutput: z.ZodUnknown;
8
+ declare const servicem8ListAllClients: import("@keystrokehq/action").WorkflowActionDefinition<{
9
+ filter?: string | undefined;
10
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
11
  //#endregion
8
12
  export { servicem8ListAllClients };
9
13
  //# sourceMappingURL=list-all-clients.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-all-clients.d.cts","names":[],"sources":["../../src/actions/list-all-clients.ts"],"mappings":";;;cAIa,4BAAA,EAA8B,CAAA,CAAE,UAE2D;AAAA,cAC3F,6BAAA,EAA+B,CAAA,CAAE,UAAwB;AAAA,cAEzD,uBAAA,gCAAuB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"list-all-clients.d.cts","names":[],"sources":["../../src/actions/list-all-clients.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;cAG5B,6BAAA,EAA6B,CAAA,CAAA,UAAc;AAAA,cAE3C,uBAAA,gCAAuB,wBAAA"}
@@ -1,9 +1,13 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/list-all-clients.d.ts
4
- declare const Servicem8ListAllClientsInput: z.ZodTypeAny;
5
- declare const Servicem8ListAllClientsOutput: z.ZodTypeAny;
6
- declare const servicem8ListAllClients: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const Servicem8ListAllClientsInput: z.ZodObject<{
5
+ filter: z.ZodOptional<z.ZodString>;
6
+ }, z.core.$strip>;
7
+ declare const Servicem8ListAllClientsOutput: z.ZodUnknown;
8
+ declare const servicem8ListAllClients: import("@keystrokehq/action").WorkflowActionDefinition<{
9
+ filter?: string | undefined;
10
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
11
  //#endregion
8
12
  export { servicem8ListAllClients };
9
13
  //# sourceMappingURL=list-all-clients.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-all-clients.d.mts","names":[],"sources":["../../src/actions/list-all-clients.ts"],"mappings":";;;cAIa,4BAAA,EAA8B,CAAA,CAAE,UAE2D;AAAA,cAC3F,6BAAA,EAA+B,CAAA,CAAE,UAAwB;AAAA,cAEzD,uBAAA,gCAAuB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"list-all-clients.d.mts","names":[],"sources":["../../src/actions/list-all-clients.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;cAG5B,6BAAA,EAA6B,CAAA,CAAA,UAAc;AAAA,cAE3C,uBAAA,gCAAuB,wBAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"list-all-clients.mjs","names":[],"sources":["../../src/actions/list-all-clients.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const Servicem8ListAllClientsInput: z.ZodTypeAny = z.object({\n filter: z.string().describe(\"OData-style filter expression using $filter syntax. Supported operators: eq (equal), ne (not equal), gt (greater than), lt (less than). Combine conditions with 'and' (max 10 conditions). Examples: \\\"active eq 1\\\", \\\"name eq 'Acme Corp'\\\", \\\"create_date gt '2024-01-01'\\\". Note: ge/le operators are not supported.\").optional(),\n}).describe(\"Request model for listing all ServiceM8 clients. Supports optional OData-style filtering.\");\nexport const Servicem8ListAllClientsOutput: z.ZodTypeAny = z.unknown();\n\nexport const servicem8ListAllClients = action(\"SERVICEM8_LIST_ALL_CLIENTS\", {\n slug: \"servicem8-list-all-clients\",\n name: \"List All Clients\",\n description: \"Tool to list all ServiceM8 clients. Use when you need a complete set of customer records for integrations or reporting.\",\n input: Servicem8ListAllClientsInput,\n output: Servicem8ListAllClientsOutput,\n});\n"],"mappings":";;AASA,MAAa,0BAA0B,OAAO,8BAA8B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OATwD,EAAE,OAAO,EACjE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,0TAA0T,CAAC,CAAC,SAAS,EACnW,CAAC,CAAC,CAAC,SAAS,2FAOH;CACP,QAPyD,EAAE,QAOnD;AACV,CAAC"}
1
+ {"version":3,"file":"list-all-clients.mjs","names":[],"sources":["../../src/actions/list-all-clients.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const Servicem8ListAllClientsInput = z.object({\n filter: z.string().describe(\"OData-style filter expression using $filter syntax. Supported operators: eq (equal), ne (not equal), gt (greater than), lt (less than). Combine conditions with 'and' (max 10 conditions). Examples: \\\"active eq 1\\\", \\\"name eq 'Acme Corp'\\\", \\\"create_date gt '2024-01-01'\\\". Note: ge/le operators are not supported.\").optional(),\n}).describe(\"Request model for listing all ServiceM8 clients. Supports optional OData-style filtering.\");\nexport const Servicem8ListAllClientsOutput = z.unknown();\n\nexport const servicem8ListAllClients = action(\"SERVICEM8_LIST_ALL_CLIENTS\", {\n slug: \"servicem8-list-all-clients\",\n name: \"List All Clients\",\n description: \"Tool to list all ServiceM8 clients. Use when you need a complete set of customer records for integrations or reporting.\",\n input: Servicem8ListAllClientsInput,\n output: Servicem8ListAllClientsOutput,\n});\n"],"mappings":";;AASA,MAAa,0BAA0B,OAAO,8BAA8B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAT0C,EAAE,OAAO,EACnD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,0TAA0T,CAAC,CAAC,SAAS,EACnW,CAAC,CAAC,CAAC,SAAS,2FAOH;CACP,QAP2C,EAAE,QAOrC;AACV,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"list-all-document-templates.cjs","names":["z","action"],"sources":["../../src/actions/list-all-document-templates.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const Servicem8ListAllDocumentTemplatesInput: z.ZodTypeAny = z.object({\n cursor: z.string().describe(\"Pagination cursor. Use '-1' for the first page. For subsequent pages, use the value from the 'x-next-cursor' response header. If omitted, returns all templates.\").optional(),\n filter: z.string().describe(\"OData-style filter expression to narrow document templates. Examples: 'name eq \\\"Invoice\\\"', 'active eq 1', 'template_type eq \\\"Quote\\\"'.\").optional(),\n}).describe(\"Request model for listing document templates. Supports optional filtering and cursor-based pagination.\");\nexport const Servicem8ListAllDocumentTemplatesOutput: z.ZodTypeAny = z.unknown();\n\nexport const servicem8ListAllDocumentTemplates = action(\"SERVICEM8_LIST_ALL_DOCUMENT_TEMPLATES\", {\n slug: \"servicem8-list-all-document-templates\",\n name: \"List All Document Templates\",\n description: \"Tool to list document templates. Use when you need to retrieve available template UUIDs and names before generating job documents.\",\n input: Servicem8ListAllDocumentTemplatesInput,\n output: Servicem8ListAllDocumentTemplatesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yCAAuDA,IAAAA,EAAE,OAAO;CAC3E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kKAAkK,CAAC,CAAC,SAAS;CACzM,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2IAA2I,CAAC,CAAC,SAAS;AACpL,CAAC,CAAC,CAAC,SAAS,wGAAwG;AACpH,MAAa,0CAAwDA,IAAAA,EAAE,QAAQ;AAE/E,MAAa,oCAAoCC,eAAAA,OAAO,yCAAyC;CAC/F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"list-all-document-templates.cjs","names":["z","action"],"sources":["../../src/actions/list-all-document-templates.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const Servicem8ListAllDocumentTemplatesInput = z.object({\n cursor: z.string().describe(\"Pagination cursor. Use '-1' for the first page. For subsequent pages, use the value from the 'x-next-cursor' response header. If omitted, returns all templates.\").optional(),\n filter: z.string().describe(\"OData-style filter expression to narrow document templates. Examples: 'name eq \\\"Invoice\\\"', 'active eq 1', 'template_type eq \\\"Quote\\\"'.\").optional(),\n}).describe(\"Request model for listing document templates. Supports optional filtering and cursor-based pagination.\");\nexport const Servicem8ListAllDocumentTemplatesOutput = z.unknown();\n\nexport const servicem8ListAllDocumentTemplates = action(\"SERVICEM8_LIST_ALL_DOCUMENT_TEMPLATES\", {\n slug: \"servicem8-list-all-document-templates\",\n name: \"List All Document Templates\",\n description: \"Tool to list document templates. Use when you need to retrieve available template UUIDs and names before generating job documents.\",\n input: Servicem8ListAllDocumentTemplatesInput,\n output: Servicem8ListAllDocumentTemplatesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yCAAyCA,IAAAA,EAAE,OAAO;CAC7D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kKAAkK,CAAC,CAAC,SAAS;CACzM,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2IAA2I,CAAC,CAAC,SAAS;AACpL,CAAC,CAAC,CAAC,SAAS,wGAAwG;AACpH,MAAa,0CAA0CA,IAAAA,EAAE,QAAQ;AAEjE,MAAa,oCAAoCC,eAAAA,OAAO,yCAAyC;CAC/F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,15 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/list-all-document-templates.d.ts
4
- declare const Servicem8ListAllDocumentTemplatesInput: z.ZodTypeAny;
5
- declare const Servicem8ListAllDocumentTemplatesOutput: z.ZodTypeAny;
6
- declare const servicem8ListAllDocumentTemplates: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const Servicem8ListAllDocumentTemplatesInput: z.ZodObject<{
5
+ cursor: z.ZodOptional<z.ZodString>;
6
+ filter: z.ZodOptional<z.ZodString>;
7
+ }, z.core.$strip>;
8
+ declare const Servicem8ListAllDocumentTemplatesOutput: z.ZodUnknown;
9
+ declare const servicem8ListAllDocumentTemplates: import("@keystrokehq/action").WorkflowActionDefinition<{
10
+ cursor?: string | undefined;
11
+ filter?: string | undefined;
12
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
13
  //#endregion
8
14
  export { servicem8ListAllDocumentTemplates };
9
15
  //# sourceMappingURL=list-all-document-templates.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-all-document-templates.d.cts","names":[],"sources":["../../src/actions/list-all-document-templates.ts"],"mappings":";;;cAIa,sCAAA,EAAwC,CAAA,CAAE,UAG8D;AAAA,cACxG,uCAAA,EAAyC,CAAA,CAAE,UAAwB;AAAA,cAEnE,iCAAA,gCAAiC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"list-all-document-templates.d.cts","names":[],"sources":["../../src/actions/list-all-document-templates.ts"],"mappings":";;;cAIa,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;cAItC,uCAAA,EAAuC,CAAA,CAAA,UAAc;AAAA,cAErD,iCAAA,gCAAiC,wBAAA"}
@@ -1,9 +1,15 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/list-all-document-templates.d.ts
4
- declare const Servicem8ListAllDocumentTemplatesInput: z.ZodTypeAny;
5
- declare const Servicem8ListAllDocumentTemplatesOutput: z.ZodTypeAny;
6
- declare const servicem8ListAllDocumentTemplates: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const Servicem8ListAllDocumentTemplatesInput: z.ZodObject<{
5
+ cursor: z.ZodOptional<z.ZodString>;
6
+ filter: z.ZodOptional<z.ZodString>;
7
+ }, z.core.$strip>;
8
+ declare const Servicem8ListAllDocumentTemplatesOutput: z.ZodUnknown;
9
+ declare const servicem8ListAllDocumentTemplates: import("@keystrokehq/action").WorkflowActionDefinition<{
10
+ cursor?: string | undefined;
11
+ filter?: string | undefined;
12
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
13
  //#endregion
8
14
  export { servicem8ListAllDocumentTemplates };
9
15
  //# sourceMappingURL=list-all-document-templates.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-all-document-templates.d.mts","names":[],"sources":["../../src/actions/list-all-document-templates.ts"],"mappings":";;;cAIa,sCAAA,EAAwC,CAAA,CAAE,UAG8D;AAAA,cACxG,uCAAA,EAAyC,CAAA,CAAE,UAAwB;AAAA,cAEnE,iCAAA,gCAAiC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"list-all-document-templates.d.mts","names":[],"sources":["../../src/actions/list-all-document-templates.ts"],"mappings":";;;cAIa,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;cAItC,uCAAA,EAAuC,CAAA,CAAA,UAAc;AAAA,cAErD,iCAAA,gCAAiC,wBAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"list-all-document-templates.mjs","names":[],"sources":["../../src/actions/list-all-document-templates.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const Servicem8ListAllDocumentTemplatesInput: z.ZodTypeAny = z.object({\n cursor: z.string().describe(\"Pagination cursor. Use '-1' for the first page. For subsequent pages, use the value from the 'x-next-cursor' response header. If omitted, returns all templates.\").optional(),\n filter: z.string().describe(\"OData-style filter expression to narrow document templates. Examples: 'name eq \\\"Invoice\\\"', 'active eq 1', 'template_type eq \\\"Quote\\\"'.\").optional(),\n}).describe(\"Request model for listing document templates. Supports optional filtering and cursor-based pagination.\");\nexport const Servicem8ListAllDocumentTemplatesOutput: z.ZodTypeAny = z.unknown();\n\nexport const servicem8ListAllDocumentTemplates = action(\"SERVICEM8_LIST_ALL_DOCUMENT_TEMPLATES\", {\n slug: \"servicem8-list-all-document-templates\",\n name: \"List All Document Templates\",\n description: \"Tool to list document templates. Use when you need to retrieve available template UUIDs and names before generating job documents.\",\n input: Servicem8ListAllDocumentTemplatesInput,\n output: Servicem8ListAllDocumentTemplatesOutput,\n});\n"],"mappings":";;AAUA,MAAa,oCAAoC,OAAO,yCAAyC;CAC/F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAVkE,EAAE,OAAO;EAC3E,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,kKAAkK,CAAC,CAAC,SAAS;EACzM,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,2IAA2I,CAAC,CAAC,SAAS;CACpL,CAAC,CAAC,CAAC,SAAS,wGAOH;CACP,QAPmE,EAAE,QAO7D;AACV,CAAC"}
1
+ {"version":3,"file":"list-all-document-templates.mjs","names":[],"sources":["../../src/actions/list-all-document-templates.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const Servicem8ListAllDocumentTemplatesInput = z.object({\n cursor: z.string().describe(\"Pagination cursor. Use '-1' for the first page. For subsequent pages, use the value from the 'x-next-cursor' response header. If omitted, returns all templates.\").optional(),\n filter: z.string().describe(\"OData-style filter expression to narrow document templates. Examples: 'name eq \\\"Invoice\\\"', 'active eq 1', 'template_type eq \\\"Quote\\\"'.\").optional(),\n}).describe(\"Request model for listing document templates. Supports optional filtering and cursor-based pagination.\");\nexport const Servicem8ListAllDocumentTemplatesOutput = z.unknown();\n\nexport const servicem8ListAllDocumentTemplates = action(\"SERVICEM8_LIST_ALL_DOCUMENT_TEMPLATES\", {\n slug: \"servicem8-list-all-document-templates\",\n name: \"List All Document Templates\",\n description: \"Tool to list document templates. Use when you need to retrieve available template UUIDs and names before generating job documents.\",\n input: Servicem8ListAllDocumentTemplatesInput,\n output: Servicem8ListAllDocumentTemplatesOutput,\n});\n"],"mappings":";;AAUA,MAAa,oCAAoC,OAAO,yCAAyC;CAC/F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAVoD,EAAE,OAAO;EAC7D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,kKAAkK,CAAC,CAAC,SAAS;EACzM,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,2IAA2I,CAAC,CAAC,SAAS;CACpL,CAAC,CAAC,CAAC,SAAS,wGAOH;CACP,QAPqD,EAAE,QAO/C;AACV,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"list-all-forms.cjs","names":["z","action"],"sources":["../../src/actions/list-all-forms.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const Servicem8ListAllFormsInput: z.ZodTypeAny = z.object({\n filter: z.string().describe(\"OData-style filter expression to narrow down forms. Supported operators: eq (equals), ne (not equals), gt (greater than), lt (less than). Combine up to 10 conditions with 'and'. String values must use single quotes. Examples: \\\"active eq 1\\\", \\\"name eq 'Safety Checklist'\\\".\").optional(),\n}).describe(\"Request model for listing all ServiceM8 forms. Supports optional filtering.\");\nexport const Servicem8ListAllFormsOutput: z.ZodTypeAny = z.unknown();\n\nexport const servicem8ListAllForms = action(\"SERVICEM8_LIST_ALL_FORMS\", {\n slug: \"servicem8-list-all-forms\",\n name: \"List All Forms\",\n description: \"Tool to list all ServiceM8 forms. Use when you need to fetch available form templates with optional filters.\",\n input: Servicem8ListAllFormsInput,\n output: Servicem8ListAllFormsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA2CA,IAAAA,EAAE,OAAO,EAC/D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oRAAoR,CAAC,CAAC,SAAS,EAC7T,CAAC,CAAC,CAAC,SAAS,6EAA6E;AACzF,MAAa,8BAA4CA,IAAAA,EAAE,QAAQ;AAEnE,MAAa,wBAAwBC,eAAAA,OAAO,4BAA4B;CACtE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"list-all-forms.cjs","names":["z","action"],"sources":["../../src/actions/list-all-forms.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const Servicem8ListAllFormsInput = z.object({\n filter: z.string().describe(\"OData-style filter expression to narrow down forms. Supported operators: eq (equals), ne (not equals), gt (greater than), lt (less than). Combine up to 10 conditions with 'and'. String values must use single quotes. Examples: \\\"active eq 1\\\", \\\"name eq 'Safety Checklist'\\\".\").optional(),\n}).describe(\"Request model for listing all ServiceM8 forms. Supports optional filtering.\");\nexport const Servicem8ListAllFormsOutput = z.unknown();\n\nexport const servicem8ListAllForms = action(\"SERVICEM8_LIST_ALL_FORMS\", {\n slug: \"servicem8-list-all-forms\",\n name: \"List All Forms\",\n description: \"Tool to list all ServiceM8 forms. Use when you need to fetch available form templates with optional filters.\",\n input: Servicem8ListAllFormsInput,\n output: Servicem8ListAllFormsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,EACjD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oRAAoR,CAAC,CAAC,SAAS,EAC7T,CAAC,CAAC,CAAC,SAAS,6EAA6E;AACzF,MAAa,8BAA8BA,IAAAA,EAAE,QAAQ;AAErD,MAAa,wBAAwBC,eAAAA,OAAO,4BAA4B;CACtE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,13 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/list-all-forms.d.ts
4
- declare const Servicem8ListAllFormsInput: z.ZodTypeAny;
5
- declare const Servicem8ListAllFormsOutput: z.ZodTypeAny;
6
- declare const servicem8ListAllForms: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const Servicem8ListAllFormsInput: z.ZodObject<{
5
+ filter: z.ZodOptional<z.ZodString>;
6
+ }, z.core.$strip>;
7
+ declare const Servicem8ListAllFormsOutput: z.ZodUnknown;
8
+ declare const servicem8ListAllForms: import("@keystrokehq/action").WorkflowActionDefinition<{
9
+ filter?: string | undefined;
10
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
11
  //#endregion
8
12
  export { servicem8ListAllForms };
9
13
  //# sourceMappingURL=list-all-forms.d.cts.map