@keystrokehq/servicem8 0.1.0 → 0.1.2
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.
- package/dist/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/create-job-note.cjs +1 -1
- package/dist/actions/create-job-note.cjs.map +1 -1
- package/dist/actions/create-job-note.d.cts +25 -3
- package/dist/actions/create-job-note.d.cts.map +1 -1
- package/dist/actions/create-job-note.d.mts +25 -3
- package/dist/actions/create-job-note.d.mts.map +1 -1
- package/dist/actions/create-job-note.mjs +1 -1
- package/dist/actions/create-job-note.mjs.map +1 -1
- package/dist/actions/create-job-payment.cjs +1 -1
- package/dist/actions/create-job-payment.cjs.map +1 -1
- package/dist/actions/create-job-payment.d.cts +31 -3
- package/dist/actions/create-job-payment.d.cts.map +1 -1
- package/dist/actions/create-job-payment.d.mts +31 -3
- package/dist/actions/create-job-payment.d.mts.map +1 -1
- package/dist/actions/create-job-payment.mjs +1 -1
- package/dist/actions/create-job-payment.mjs.map +1 -1
- package/dist/actions/create-jobs.cjs +4 -4
- package/dist/actions/create-jobs.cjs.map +1 -1
- package/dist/actions/create-jobs.d.cts +49 -3
- package/dist/actions/create-jobs.d.cts.map +1 -1
- package/dist/actions/create-jobs.d.mts +49 -3
- package/dist/actions/create-jobs.d.mts.map +1 -1
- package/dist/actions/create-jobs.mjs +4 -4
- package/dist/actions/create-jobs.mjs.map +1 -1
- package/dist/actions/delete-custom-field.cjs.map +1 -1
- package/dist/actions/delete-custom-field.d.cts +10 -3
- package/dist/actions/delete-custom-field.d.cts.map +1 -1
- package/dist/actions/delete-custom-field.d.mts +10 -3
- package/dist/actions/delete-custom-field.d.mts.map +1 -1
- package/dist/actions/delete-custom-field.mjs.map +1 -1
- package/dist/actions/delete-job-note.cjs +1 -1
- package/dist/actions/delete-job-note.cjs.map +1 -1
- package/dist/actions/delete-job-note.d.cts +15 -3
- package/dist/actions/delete-job-note.d.cts.map +1 -1
- package/dist/actions/delete-job-note.d.mts +15 -3
- package/dist/actions/delete-job-note.d.mts.map +1 -1
- package/dist/actions/delete-job-note.mjs +1 -1
- package/dist/actions/delete-job-note.mjs.map +1 -1
- package/dist/actions/delete-job-payment.cjs +3 -3
- package/dist/actions/delete-job-payment.cjs.map +1 -1
- package/dist/actions/delete-job-payment.d.cts +11 -3
- package/dist/actions/delete-job-payment.d.cts.map +1 -1
- package/dist/actions/delete-job-payment.d.mts +11 -3
- package/dist/actions/delete-job-payment.d.mts.map +1 -1
- package/dist/actions/delete-job-payment.mjs +3 -3
- package/dist/actions/delete-job-payment.mjs.map +1 -1
- package/dist/actions/list-all-assets.cjs.map +1 -1
- package/dist/actions/list-all-assets.d.cts +7 -3
- package/dist/actions/list-all-assets.d.cts.map +1 -1
- package/dist/actions/list-all-assets.d.mts +7 -3
- package/dist/actions/list-all-assets.d.mts.map +1 -1
- package/dist/actions/list-all-assets.mjs.map +1 -1
- package/dist/actions/list-all-clients.cjs.map +1 -1
- package/dist/actions/list-all-clients.d.cts +7 -3
- package/dist/actions/list-all-clients.d.cts.map +1 -1
- package/dist/actions/list-all-clients.d.mts +7 -3
- package/dist/actions/list-all-clients.d.mts.map +1 -1
- package/dist/actions/list-all-clients.mjs.map +1 -1
- package/dist/actions/list-all-document-templates.cjs.map +1 -1
- package/dist/actions/list-all-document-templates.d.cts +9 -3
- package/dist/actions/list-all-document-templates.d.cts.map +1 -1
- package/dist/actions/list-all-document-templates.d.mts +9 -3
- package/dist/actions/list-all-document-templates.d.mts.map +1 -1
- package/dist/actions/list-all-document-templates.mjs.map +1 -1
- package/dist/actions/list-all-forms.cjs.map +1 -1
- package/dist/actions/list-all-forms.d.cts +7 -3
- package/dist/actions/list-all-forms.d.cts.map +1 -1
- package/dist/actions/list-all-forms.d.mts +7 -3
- package/dist/actions/list-all-forms.d.mts.map +1 -1
- package/dist/actions/list-all-forms.mjs.map +1 -1
- package/dist/actions/list-all-job-notes.cjs +5 -5
- package/dist/actions/list-all-job-notes.cjs.map +1 -1
- package/dist/actions/list-all-job-notes.d.cts +21 -3
- package/dist/actions/list-all-job-notes.d.cts.map +1 -1
- package/dist/actions/list-all-job-notes.d.mts +21 -3
- package/dist/actions/list-all-job-notes.d.mts.map +1 -1
- package/dist/actions/list-all-job-notes.mjs +5 -5
- package/dist/actions/list-all-job-notes.mjs.map +1 -1
- package/dist/actions/list-all-job-queues.cjs.map +1 -1
- package/dist/actions/list-all-job-queues.d.cts +3 -3
- package/dist/actions/list-all-job-queues.d.cts.map +1 -1
- package/dist/actions/list-all-job-queues.d.mts +3 -3
- package/dist/actions/list-all-job-queues.d.mts.map +1 -1
- package/dist/actions/list-all-job-queues.mjs.map +1 -1
- package/dist/actions/list-all-jobs.cjs +4 -4
- package/dist/actions/list-all-jobs.cjs.map +1 -1
- package/dist/actions/list-all-jobs.d.cts +61 -3
- package/dist/actions/list-all-jobs.d.cts.map +1 -1
- package/dist/actions/list-all-jobs.d.mts +61 -3
- package/dist/actions/list-all-jobs.d.mts.map +1 -1
- package/dist/actions/list-all-jobs.mjs +4 -4
- package/dist/actions/list-all-jobs.mjs.map +1 -1
- package/dist/actions/list-all-locations.cjs.map +1 -1
- package/dist/actions/list-all-locations.d.cts +7 -3
- package/dist/actions/list-all-locations.d.cts.map +1 -1
- package/dist/actions/list-all-locations.d.mts +7 -3
- package/dist/actions/list-all-locations.d.mts.map +1 -1
- package/dist/actions/list-all-locations.mjs.map +1 -1
- package/dist/actions/list-all-materials.cjs.map +1 -1
- package/dist/actions/list-all-materials.d.cts +7 -3
- package/dist/actions/list-all-materials.d.cts.map +1 -1
- package/dist/actions/list-all-materials.d.mts +7 -3
- package/dist/actions/list-all-materials.d.mts.map +1 -1
- package/dist/actions/list-all-materials.mjs.map +1 -1
- package/dist/actions/list-all-tasks.cjs.map +1 -1
- package/dist/actions/list-all-tasks.d.cts +23 -3
- package/dist/actions/list-all-tasks.d.cts.map +1 -1
- package/dist/actions/list-all-tasks.d.mts +23 -3
- package/dist/actions/list-all-tasks.d.mts.map +1 -1
- package/dist/actions/list-all-tasks.mjs.map +1 -1
- package/dist/actions/retrieve-client.cjs +4 -4
- package/dist/actions/retrieve-client.cjs.map +1 -1
- package/dist/actions/retrieve-client.d.cts +32 -3
- package/dist/actions/retrieve-client.d.cts.map +1 -1
- package/dist/actions/retrieve-client.d.mts +32 -3
- package/dist/actions/retrieve-client.d.mts.map +1 -1
- package/dist/actions/retrieve-client.mjs +4 -4
- package/dist/actions/retrieve-client.mjs.map +1 -1
- package/dist/actions/retrieve-form.cjs +1 -1
- package/dist/actions/retrieve-form.cjs.map +1 -1
- package/dist/actions/retrieve-form.d.cts +13 -3
- package/dist/actions/retrieve-form.d.cts.map +1 -1
- package/dist/actions/retrieve-form.d.mts +13 -3
- package/dist/actions/retrieve-form.d.mts.map +1 -1
- package/dist/actions/retrieve-form.mjs +1 -1
- package/dist/actions/retrieve-form.mjs.map +1 -1
- package/dist/actions/retrieve-job-activity.cjs +4 -4
- package/dist/actions/retrieve-job-activity.cjs.map +1 -1
- package/dist/actions/retrieve-job-activity.d.cts +26 -3
- package/dist/actions/retrieve-job-activity.d.cts.map +1 -1
- package/dist/actions/retrieve-job-activity.d.mts +26 -3
- package/dist/actions/retrieve-job-activity.d.mts.map +1 -1
- package/dist/actions/retrieve-job-activity.mjs +4 -4
- package/dist/actions/retrieve-job-activity.mjs.map +1 -1
- package/dist/actions/retrieve-job-note.cjs +2 -2
- package/dist/actions/retrieve-job-note.cjs.map +1 -1
- package/dist/actions/retrieve-job-note.d.cts +16 -3
- package/dist/actions/retrieve-job-note.d.cts.map +1 -1
- package/dist/actions/retrieve-job-note.d.mts +16 -3
- package/dist/actions/retrieve-job-note.d.mts.map +1 -1
- package/dist/actions/retrieve-job-note.mjs +2 -2
- package/dist/actions/retrieve-job-note.mjs.map +1 -1
- package/dist/actions/retrieve-job-payment.cjs +5 -5
- package/dist/actions/retrieve-job-payment.cjs.map +1 -1
- package/dist/actions/retrieve-job-payment.d.cts +19 -3
- package/dist/actions/retrieve-job-payment.d.cts.map +1 -1
- package/dist/actions/retrieve-job-payment.d.mts +19 -3
- package/dist/actions/retrieve-job-payment.d.mts.map +1 -1
- package/dist/actions/retrieve-job-payment.mjs +5 -5
- package/dist/actions/retrieve-job-payment.mjs.map +1 -1
- package/dist/actions/retrieve-job-queue.cjs +6 -6
- package/dist/actions/retrieve-job-queue.cjs.map +1 -1
- package/dist/actions/retrieve-job-queue.d.cts +15 -3
- package/dist/actions/retrieve-job-queue.d.cts.map +1 -1
- package/dist/actions/retrieve-job-queue.d.mts +15 -3
- package/dist/actions/retrieve-job-queue.d.mts.map +1 -1
- package/dist/actions/retrieve-job-queue.mjs +6 -6
- package/dist/actions/retrieve-job-queue.mjs.map +1 -1
- package/dist/actions/retrieve-job.cjs +6 -6
- package/dist/actions/retrieve-job.cjs.map +1 -1
- package/dist/actions/retrieve-job.d.cts +59 -3
- package/dist/actions/retrieve-job.d.cts.map +1 -1
- package/dist/actions/retrieve-job.d.mts +59 -3
- package/dist/actions/retrieve-job.d.mts.map +1 -1
- package/dist/actions/retrieve-job.mjs +6 -6
- package/dist/actions/retrieve-job.mjs.map +1 -1
- package/dist/actions/retrieve-location.cjs +1 -1
- package/dist/actions/retrieve-location.cjs.map +1 -1
- package/dist/actions/retrieve-location.d.cts +22 -3
- package/dist/actions/retrieve-location.d.cts.map +1 -1
- package/dist/actions/retrieve-location.d.mts +22 -3
- package/dist/actions/retrieve-location.d.mts.map +1 -1
- package/dist/actions/retrieve-location.mjs +1 -1
- package/dist/actions/retrieve-location.mjs.map +1 -1
- package/dist/actions/retrieve-material.cjs +6 -6
- package/dist/actions/retrieve-material.cjs.map +1 -1
- package/dist/actions/retrieve-material.d.cts +22 -3
- package/dist/actions/retrieve-material.d.cts.map +1 -1
- package/dist/actions/retrieve-material.d.mts +22 -3
- package/dist/actions/retrieve-material.d.mts.map +1 -1
- package/dist/actions/retrieve-material.mjs +6 -6
- package/dist/actions/retrieve-material.mjs.map +1 -1
- package/dist/actions/retrieve-staff-member.cjs +5 -5
- package/dist/actions/retrieve-staff-member.cjs.map +1 -1
- package/dist/actions/retrieve-staff-member.d.cts +29 -3
- package/dist/actions/retrieve-staff-member.d.cts.map +1 -1
- package/dist/actions/retrieve-staff-member.d.mts +29 -3
- package/dist/actions/retrieve-staff-member.d.mts.map +1 -1
- package/dist/actions/retrieve-staff-member.mjs +5 -5
- package/dist/actions/retrieve-staff-member.mjs.map +1 -1
- package/dist/actions/update-job-note.cjs +7 -7
- package/dist/actions/update-job-note.cjs.map +1 -1
- package/dist/actions/update-job-note.d.cts +21 -3
- package/dist/actions/update-job-note.d.cts.map +1 -1
- package/dist/actions/update-job-note.d.mts +21 -3
- package/dist/actions/update-job-note.d.mts.map +1 -1
- package/dist/actions/update-job-note.mjs +7 -7
- package/dist/actions/update-job-note.mjs.map +1 -1
- package/dist/actions/update-job-payment.cjs +5 -5
- package/dist/actions/update-job-payment.cjs.map +1 -1
- package/dist/actions/update-job-payment.d.cts +33 -3
- package/dist/actions/update-job-payment.d.cts.map +1 -1
- package/dist/actions/update-job-payment.d.mts +33 -3
- package/dist/actions/update-job-payment.d.mts.map +1 -1
- package/dist/actions/update-job-payment.mjs +5 -5
- package/dist/actions/update-job-payment.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"retrieve-job-activity.cjs","names":["z","action"],"sources":["../../src/actions/retrieve-job-activity.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const Servicem8RetrieveJobActivityInput
|
|
1
|
+
{"version":3,"file":"retrieve-job-activity.cjs","names":["z","action"],"sources":["../../src/actions/retrieve-job-activity.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const Servicem8RetrieveJobActivityInput = z.object({\n uuid: z.string().describe(\"UUID of the ServiceM8 job activity to retrieve\"),\n}).describe(\"Request model for retrieving a specific ServiceM8 job activity by UUID.\");\nexport const Servicem8RetrieveJobActivityOutput = z.object({\n uuid: z.string().describe(\"Unique identifier for the job activity.\").nullable(),\n active: z.number().int().describe(\"Record active flag: 1=active, 0=deleted.\").nullable(),\n end_date: z.string().describe(\"End time of the activity.\").nullable().optional(),\n job_uuid: z.string().describe(\"UUID of the associated job.\").nullable(),\n edit_date: z.string().describe(\"Timestamp of last modification.\").nullable().optional(),\n staff_uuid: z.string().describe(\"UUID of the staff member assigned to the activity.\").nullable(),\n start_date: z.string().describe(\"Start time of the activity.\").nullable().optional(),\n material_uuid: z.string().describe(\"UUID of associated material (if any).\").nullable().optional(),\n has_been_opened: z.union([z.number().int(), z.string()]).nullable().optional(),\n edit_by_staff_uuid: z.string().describe(\"UUID of staff who last edited the activity.\").nullable().optional(),\n allocated_timestamp: z.string().describe(\"Timestamp when the activity was allocated.\").nullable().optional(),\n activity_was_recorded: z.union([z.number().int(), z.string()]).nullable().optional(),\n activity_was_automated: z.union([z.number().int(), z.string()]).nullable().optional(),\n activity_was_scheduled: z.union([z.number().int(), z.string()]).nullable().optional(),\n travel_time_in_seconds: z.string().describe(\"Travel time in seconds.\").nullable().optional(),\n allocated_by_staff_uuid: z.string().describe(\"UUID of staff who allocated the activity.\").nullable().optional(),\n has_been_opened_timestamp: z.string().describe(\"Timestamp when the activity was opened.\").nullable().optional(),\n travel_distance_in_meters: z.string().describe(\"Travel distance in meters.\").nullable().optional(),\n}).describe(\"Response model representing a ServiceM8 job activity record.\");\n\nexport const servicem8RetrieveJobActivity = action(\"SERVICEM8_RETRIEVE_JOB_ACTIVITY\", {\n slug: \"servicem8-retrieve-job-activity\",\n name: \"Retrieve Job Activity\",\n description: \"Tool to retrieve details of a specific job activity by its UUID. Use when you have the job activity UUID and need its full details.\",\n input: Servicem8RetrieveJobActivityInput,\n output: Servicem8RetrieveJobActivityOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoCA,IAAAA,EAAE,OAAO,EACxD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,EAC5E,CAAC,CAAC,CAAC,SAAS,yEAAyE;AACrF,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAC9E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CACvF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACtE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CAC/F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,iBAAiBA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,uBAAuBA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,wBAAwBA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,wBAAwBA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,wBAAwBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,yBAAyBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,2BAA2BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,2BAA2BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnG,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAE1E,MAAa,+BAA+BC,eAAAA,OAAO,mCAAmC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,32 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/retrieve-job-activity.d.ts
|
|
4
|
-
declare const Servicem8RetrieveJobActivityInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const Servicem8RetrieveJobActivityInput: z.ZodObject<{
|
|
5
|
+
uuid: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const Servicem8RetrieveJobActivityOutput: z.ZodObject<{
|
|
8
|
+
uuid: z.ZodNullable<z.ZodString>;
|
|
9
|
+
active: z.ZodNullable<z.ZodNumber>;
|
|
10
|
+
end_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
|
+
job_uuid: z.ZodNullable<z.ZodString>;
|
|
12
|
+
edit_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
+
staff_uuid: z.ZodNullable<z.ZodString>;
|
|
14
|
+
start_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
+
material_uuid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
+
has_been_opened: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>>;
|
|
17
|
+
edit_by_staff_uuid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
+
allocated_timestamp: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
|
+
activity_was_recorded: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>>;
|
|
20
|
+
activity_was_automated: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>>;
|
|
21
|
+
activity_was_scheduled: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>>;
|
|
22
|
+
travel_time_in_seconds: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
|
+
allocated_by_staff_uuid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
|
+
has_been_opened_timestamp: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
|
+
travel_distance_in_meters: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
|
+
}, z.core.$strip>;
|
|
27
|
+
declare const servicem8RetrieveJobActivity: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
28
|
+
uuid: string;
|
|
29
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
30
|
//#endregion
|
|
8
31
|
export { servicem8RetrieveJobActivity };
|
|
9
32
|
//# sourceMappingURL=retrieve-job-activity.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"retrieve-job-activity.d.cts","names":[],"sources":["../../src/actions/retrieve-job-activity.ts"],"mappings":";;;cAIa,iCAAA,
|
|
1
|
+
{"version":3,"file":"retrieve-job-activity.d.cts","names":[],"sources":["../../src/actions/retrieve-job-activity.ts"],"mappings":";;;cAIa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;cAGjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;cAqBlC,4BAAA,gCAA4B,wBAAA"}
|
|
@@ -1,9 +1,32 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/retrieve-job-activity.d.ts
|
|
4
|
-
declare const Servicem8RetrieveJobActivityInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const Servicem8RetrieveJobActivityInput: z.ZodObject<{
|
|
5
|
+
uuid: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const Servicem8RetrieveJobActivityOutput: z.ZodObject<{
|
|
8
|
+
uuid: z.ZodNullable<z.ZodString>;
|
|
9
|
+
active: z.ZodNullable<z.ZodNumber>;
|
|
10
|
+
end_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
|
+
job_uuid: z.ZodNullable<z.ZodString>;
|
|
12
|
+
edit_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
+
staff_uuid: z.ZodNullable<z.ZodString>;
|
|
14
|
+
start_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
+
material_uuid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
+
has_been_opened: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>>;
|
|
17
|
+
edit_by_staff_uuid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
+
allocated_timestamp: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
|
+
activity_was_recorded: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>>;
|
|
20
|
+
activity_was_automated: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>>;
|
|
21
|
+
activity_was_scheduled: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>>;
|
|
22
|
+
travel_time_in_seconds: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
|
+
allocated_by_staff_uuid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
|
+
has_been_opened_timestamp: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
|
+
travel_distance_in_meters: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
|
+
}, z.core.$strip>;
|
|
27
|
+
declare const servicem8RetrieveJobActivity: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
28
|
+
uuid: string;
|
|
29
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
30
|
//#endregion
|
|
8
31
|
export { servicem8RetrieveJobActivity };
|
|
9
32
|
//# sourceMappingURL=retrieve-job-activity.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"retrieve-job-activity.d.mts","names":[],"sources":["../../src/actions/retrieve-job-activity.ts"],"mappings":";;;cAIa,iCAAA,
|
|
1
|
+
{"version":3,"file":"retrieve-job-activity.d.mts","names":[],"sources":["../../src/actions/retrieve-job-activity.ts"],"mappings":";;;cAIa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;cAGjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;cAqBlC,4BAAA,gCAA4B,wBAAA"}
|
|
@@ -6,12 +6,12 @@ const servicem8RetrieveJobActivity = action("SERVICEM8_RETRIEVE_JOB_ACTIVITY", {
|
|
|
6
6
|
description: "Tool to retrieve details of a specific job activity by its UUID. Use when you have the job activity UUID and need its full details.",
|
|
7
7
|
input: z.object({ uuid: z.string().describe("UUID of the ServiceM8 job activity to retrieve") }).describe("Request model for retrieving a specific ServiceM8 job activity by UUID."),
|
|
8
8
|
output: z.object({
|
|
9
|
-
uuid: z.string().describe("Unique identifier for the job activity."),
|
|
10
|
-
active: z.number().int().describe("Record active flag: 1=active, 0=deleted."),
|
|
9
|
+
uuid: z.string().describe("Unique identifier for the job activity.").nullable(),
|
|
10
|
+
active: z.number().int().describe("Record active flag: 1=active, 0=deleted.").nullable(),
|
|
11
11
|
end_date: z.string().describe("End time of the activity.").nullable().optional(),
|
|
12
|
-
job_uuid: z.string().describe("UUID of the associated job."),
|
|
12
|
+
job_uuid: z.string().describe("UUID of the associated job.").nullable(),
|
|
13
13
|
edit_date: z.string().describe("Timestamp of last modification.").nullable().optional(),
|
|
14
|
-
staff_uuid: z.string().describe("UUID of the staff member assigned to the activity."),
|
|
14
|
+
staff_uuid: z.string().describe("UUID of the staff member assigned to the activity.").nullable(),
|
|
15
15
|
start_date: z.string().describe("Start time of the activity.").nullable().optional(),
|
|
16
16
|
material_uuid: z.string().describe("UUID of associated material (if any).").nullable().optional(),
|
|
17
17
|
has_been_opened: z.union([z.number().int(), z.string()]).nullable().optional(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"retrieve-job-activity.mjs","names":[],"sources":["../../src/actions/retrieve-job-activity.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const Servicem8RetrieveJobActivityInput
|
|
1
|
+
{"version":3,"file":"retrieve-job-activity.mjs","names":[],"sources":["../../src/actions/retrieve-job-activity.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const Servicem8RetrieveJobActivityInput = z.object({\n uuid: z.string().describe(\"UUID of the ServiceM8 job activity to retrieve\"),\n}).describe(\"Request model for retrieving a specific ServiceM8 job activity by UUID.\");\nexport const Servicem8RetrieveJobActivityOutput = z.object({\n uuid: z.string().describe(\"Unique identifier for the job activity.\").nullable(),\n active: z.number().int().describe(\"Record active flag: 1=active, 0=deleted.\").nullable(),\n end_date: z.string().describe(\"End time of the activity.\").nullable().optional(),\n job_uuid: z.string().describe(\"UUID of the associated job.\").nullable(),\n edit_date: z.string().describe(\"Timestamp of last modification.\").nullable().optional(),\n staff_uuid: z.string().describe(\"UUID of the staff member assigned to the activity.\").nullable(),\n start_date: z.string().describe(\"Start time of the activity.\").nullable().optional(),\n material_uuid: z.string().describe(\"UUID of associated material (if any).\").nullable().optional(),\n has_been_opened: z.union([z.number().int(), z.string()]).nullable().optional(),\n edit_by_staff_uuid: z.string().describe(\"UUID of staff who last edited the activity.\").nullable().optional(),\n allocated_timestamp: z.string().describe(\"Timestamp when the activity was allocated.\").nullable().optional(),\n activity_was_recorded: z.union([z.number().int(), z.string()]).nullable().optional(),\n activity_was_automated: z.union([z.number().int(), z.string()]).nullable().optional(),\n activity_was_scheduled: z.union([z.number().int(), z.string()]).nullable().optional(),\n travel_time_in_seconds: z.string().describe(\"Travel time in seconds.\").nullable().optional(),\n allocated_by_staff_uuid: z.string().describe(\"UUID of staff who allocated the activity.\").nullable().optional(),\n has_been_opened_timestamp: z.string().describe(\"Timestamp when the activity was opened.\").nullable().optional(),\n travel_distance_in_meters: z.string().describe(\"Travel distance in meters.\").nullable().optional(),\n}).describe(\"Response model representing a ServiceM8 job activity record.\");\n\nexport const servicem8RetrieveJobActivity = action(\"SERVICEM8_RETRIEVE_JOB_ACTIVITY\", {\n slug: \"servicem8-retrieve-job-activity\",\n name: \"Retrieve Job Activity\",\n description: \"Tool to retrieve details of a specific job activity by its UUID. Use when you have the job activity UUID and need its full details.\",\n input: Servicem8RetrieveJobActivityInput,\n output: Servicem8RetrieveJobActivityOutput,\n});\n"],"mappings":";;AA4BA,MAAa,+BAA+B,OAAO,mCAAmC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA5B+C,EAAE,OAAO,EACxD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,EAC5E,CAAC,CAAC,CAAC,SAAS,yEA0BH;CACP,QA1BgD,EAAE,OAAO;EACzD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;EAC9E,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;EACvF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;EACtE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;EAC/F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnF,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChG,iBAAiB,EAAE,MAAM,CAAC,EAAE,OAAO,CAAC,CAAC,IAAI,GAAG,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7E,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3G,qBAAqB,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3G,uBAAuB,EAAE,MAAM,CAAC,EAAE,OAAO,CAAC,CAAC,IAAI,GAAG,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnF,wBAAwB,EAAE,MAAM,CAAC,EAAE,OAAO,CAAC,CAAC,IAAI,GAAG,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpF,wBAAwB,EAAE,MAAM,CAAC,EAAE,OAAO,CAAC,CAAC,IAAI,GAAG,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpF,wBAAwB,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3F,yBAAyB,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9G,2BAA2B,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9G,2BAA2B,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,CAAC,CAAC,CAAC,SAAS,8DAOF;AACV,CAAC"}
|
|
@@ -4,8 +4,8 @@ let zod = require("zod");
|
|
|
4
4
|
const Servicem8RetrieveJobNoteInput = zod.z.object({ uuid: zod.z.string().describe("UUID of the job note to retrieve. You can obtain this from the 'List All Job Notes' action.") }).describe("Request model for retrieving a ServiceM8 job note by its UUID.");
|
|
5
5
|
const Servicem8RetrieveJobNoteOutput = zod.z.object({
|
|
6
6
|
note: zod.z.string().describe("Text content of the note.").nullable().optional(),
|
|
7
|
-
uuid: zod.z.string().describe("Unique identifier for this note."),
|
|
8
|
-
active: zod.z.number().int().describe("Record active flag: 1 = active, 0 = deleted/archived."),
|
|
7
|
+
uuid: zod.z.string().describe("Unique identifier for this note.").nullable(),
|
|
8
|
+
active: zod.z.number().int().describe("Record active flag: 1 = active, 0 = deleted/archived.").nullable(),
|
|
9
9
|
edit_date: zod.z.string().describe("Timestamp when the note was last modified (YYYY-MM-DD HH:MM:SS).").nullable().optional(),
|
|
10
10
|
create_date: zod.z.string().describe("Timestamp when the note was created (YYYY-MM-DD HH:MM:SS).").nullable().optional(),
|
|
11
11
|
related_object: zod.z.string().describe("Type of object this note is attached to (e.g., 'job').").nullable().optional(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"retrieve-job-note.cjs","names":["z","action"],"sources":["../../src/actions/retrieve-job-note.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const Servicem8RetrieveJobNoteInput
|
|
1
|
+
{"version":3,"file":"retrieve-job-note.cjs","names":["z","action"],"sources":["../../src/actions/retrieve-job-note.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const Servicem8RetrieveJobNoteInput = z.object({\n uuid: z.string().describe(\"UUID of the job note to retrieve. You can obtain this from the 'List All Job Notes' action.\"),\n}).describe(\"Request model for retrieving a ServiceM8 job note by its UUID.\");\nexport const Servicem8RetrieveJobNoteOutput = z.object({\n note: z.string().describe(\"Text content of the note.\").nullable().optional(),\n uuid: z.string().describe(\"Unique identifier for this note.\").nullable(),\n active: z.number().int().describe(\"Record active flag: 1 = active, 0 = deleted/archived.\").nullable(),\n edit_date: z.string().describe(\"Timestamp when the note was last modified (YYYY-MM-DD HH:MM:SS).\").nullable().optional(),\n create_date: z.string().describe(\"Timestamp when the note was created (YYYY-MM-DD HH:MM:SS).\").nullable().optional(),\n related_object: z.string().describe(\"Type of object this note is attached to (e.g., 'job').\").nullable().optional(),\n edit_by_staff_uuid: z.string().describe(\"UUID of the staff member who last edited this note.\").nullable().optional(),\n related_object_uuid: z.string().describe(\"UUID of the job (or other object) this note is attached to.\").nullable().optional(),\n}).describe(\"Response model representing a ServiceM8 job note record.\");\n\nexport const servicem8RetrieveJobNote = action(\"SERVICEM8_RETRIEVE_JOB_NOTE\", {\n slug: \"servicem8-retrieve-job-note\",\n name: \"Retrieve Job Note\",\n description: \"Retrieve the full details of a specific job note by its UUID. Use this action when you have a note UUID (e.g., from listing job notes) and need to view its complete record including content, timestamps, and the associated job reference.\",\n input: Servicem8RetrieveJobNoteInput,\n output: Servicem8RetrieveJobNoteOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO,EACpD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6FAA6F,EACzH,CAAC,CAAC,CAAC,SAAS,gEAAgE;AAC5E,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACvE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CACpG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvH,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClH,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9H,CAAC,CAAC,CAAC,SAAS,0DAA0D;AAEtE,MAAa,2BAA2BC,eAAAA,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,22 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/retrieve-job-note.d.ts
|
|
4
|
-
declare const Servicem8RetrieveJobNoteInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const Servicem8RetrieveJobNoteInput: z.ZodObject<{
|
|
5
|
+
uuid: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const Servicem8RetrieveJobNoteOutput: z.ZodObject<{
|
|
8
|
+
note: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9
|
+
uuid: z.ZodNullable<z.ZodString>;
|
|
10
|
+
active: z.ZodNullable<z.ZodNumber>;
|
|
11
|
+
edit_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
|
+
create_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
+
related_object: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
edit_by_staff_uuid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
+
related_object_uuid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
+
}, z.core.$strip>;
|
|
17
|
+
declare const servicem8RetrieveJobNote: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
18
|
+
uuid: string;
|
|
19
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
20
|
//#endregion
|
|
8
21
|
export { servicem8RetrieveJobNote };
|
|
9
22
|
//# sourceMappingURL=retrieve-job-note.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"retrieve-job-note.d.cts","names":[],"sources":["../../src/actions/retrieve-job-note.ts"],"mappings":";;;cAIa,6BAAA,
|
|
1
|
+
{"version":3,"file":"retrieve-job-note.d.cts","names":[],"sources":["../../src/actions/retrieve-job-note.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;cAG7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;cAW9B,wBAAA,gCAAwB,wBAAA"}
|
|
@@ -1,9 +1,22 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/retrieve-job-note.d.ts
|
|
4
|
-
declare const Servicem8RetrieveJobNoteInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const Servicem8RetrieveJobNoteInput: z.ZodObject<{
|
|
5
|
+
uuid: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const Servicem8RetrieveJobNoteOutput: z.ZodObject<{
|
|
8
|
+
note: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9
|
+
uuid: z.ZodNullable<z.ZodString>;
|
|
10
|
+
active: z.ZodNullable<z.ZodNumber>;
|
|
11
|
+
edit_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
|
+
create_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
+
related_object: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
edit_by_staff_uuid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
+
related_object_uuid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
+
}, z.core.$strip>;
|
|
17
|
+
declare const servicem8RetrieveJobNote: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
18
|
+
uuid: string;
|
|
19
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
20
|
//#endregion
|
|
8
21
|
export { servicem8RetrieveJobNote };
|
|
9
22
|
//# sourceMappingURL=retrieve-job-note.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"retrieve-job-note.d.mts","names":[],"sources":["../../src/actions/retrieve-job-note.ts"],"mappings":";;;cAIa,6BAAA,
|
|
1
|
+
{"version":3,"file":"retrieve-job-note.d.mts","names":[],"sources":["../../src/actions/retrieve-job-note.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;cAG7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;cAW9B,wBAAA,gCAAwB,wBAAA"}
|
|
@@ -7,8 +7,8 @@ const servicem8RetrieveJobNote = action("SERVICEM8_RETRIEVE_JOB_NOTE", {
|
|
|
7
7
|
input: z.object({ uuid: z.string().describe("UUID of the job note to retrieve. You can obtain this from the 'List All Job Notes' action.") }).describe("Request model for retrieving a ServiceM8 job note by its UUID."),
|
|
8
8
|
output: z.object({
|
|
9
9
|
note: z.string().describe("Text content of the note.").nullable().optional(),
|
|
10
|
-
uuid: z.string().describe("Unique identifier for this note."),
|
|
11
|
-
active: z.number().int().describe("Record active flag: 1 = active, 0 = deleted/archived."),
|
|
10
|
+
uuid: z.string().describe("Unique identifier for this note.").nullable(),
|
|
11
|
+
active: z.number().int().describe("Record active flag: 1 = active, 0 = deleted/archived.").nullable(),
|
|
12
12
|
edit_date: z.string().describe("Timestamp when the note was last modified (YYYY-MM-DD HH:MM:SS).").nullable().optional(),
|
|
13
13
|
create_date: z.string().describe("Timestamp when the note was created (YYYY-MM-DD HH:MM:SS).").nullable().optional(),
|
|
14
14
|
related_object: z.string().describe("Type of object this note is attached to (e.g., 'job').").nullable().optional(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"retrieve-job-note.mjs","names":[],"sources":["../../src/actions/retrieve-job-note.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const Servicem8RetrieveJobNoteInput
|
|
1
|
+
{"version":3,"file":"retrieve-job-note.mjs","names":[],"sources":["../../src/actions/retrieve-job-note.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const Servicem8RetrieveJobNoteInput = z.object({\n uuid: z.string().describe(\"UUID of the job note to retrieve. You can obtain this from the 'List All Job Notes' action.\"),\n}).describe(\"Request model for retrieving a ServiceM8 job note by its UUID.\");\nexport const Servicem8RetrieveJobNoteOutput = z.object({\n note: z.string().describe(\"Text content of the note.\").nullable().optional(),\n uuid: z.string().describe(\"Unique identifier for this note.\").nullable(),\n active: z.number().int().describe(\"Record active flag: 1 = active, 0 = deleted/archived.\").nullable(),\n edit_date: z.string().describe(\"Timestamp when the note was last modified (YYYY-MM-DD HH:MM:SS).\").nullable().optional(),\n create_date: z.string().describe(\"Timestamp when the note was created (YYYY-MM-DD HH:MM:SS).\").nullable().optional(),\n related_object: z.string().describe(\"Type of object this note is attached to (e.g., 'job').\").nullable().optional(),\n edit_by_staff_uuid: z.string().describe(\"UUID of the staff member who last edited this note.\").nullable().optional(),\n related_object_uuid: z.string().describe(\"UUID of the job (or other object) this note is attached to.\").nullable().optional(),\n}).describe(\"Response model representing a ServiceM8 job note record.\");\n\nexport const servicem8RetrieveJobNote = action(\"SERVICEM8_RETRIEVE_JOB_NOTE\", {\n slug: \"servicem8-retrieve-job-note\",\n name: \"Retrieve Job Note\",\n description: \"Retrieve the full details of a specific job note by its UUID. Use this action when you have a note UUID (e.g., from listing job notes) and need to view its complete record including content, timestamps, and the associated job reference.\",\n input: Servicem8RetrieveJobNoteInput,\n output: Servicem8RetrieveJobNoteOutput,\n});\n"],"mappings":";;AAkBA,MAAa,2BAA2B,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlB2C,EAAE,OAAO,EACpD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6FAA6F,EACzH,CAAC,CAAC,CAAC,SAAS,gEAgBH;CACP,QAhB4C,EAAE,OAAO;EACrD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;EACvE,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;EACpG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvH,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnH,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClH,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnH,qBAAqB,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9H,CAAC,CAAC,CAAC,SAAS,0DAOF;AACV,CAAC"}
|
|
@@ -4,13 +4,13 @@ let zod = require("zod");
|
|
|
4
4
|
const Servicem8RetrieveJobPaymentInput = zod.z.object({ uuid: zod.z.string().describe("The unique identifier (UUID) of the job payment record to retrieve. This is a 36-character UUID string (e.g., '550e8400-e29b-41d4-a716-446655440000').") }).describe("Request model for retrieving a ServiceM8 Job Payment by UUID.");
|
|
5
5
|
const Servicem8RetrieveJobPaymentOutput = zod.z.object({
|
|
6
6
|
note: zod.z.string().describe("Optional note or description for this payment.").nullable().optional(),
|
|
7
|
-
uuid: zod.z.string().describe("Unique identifier (UUID) for this job payment record."),
|
|
7
|
+
uuid: zod.z.string().describe("Unique identifier (UUID) for this job payment record.").nullable(),
|
|
8
8
|
active: zod.z.number().int().describe("Record active/deleted flag. 1 = active, 0 = deleted/archived.").nullable().optional(),
|
|
9
|
-
amount: zod.z.string().describe("Payment amount as a decimal string (e.g., '100.00'). Preserves precision for currency values."),
|
|
10
|
-
method: zod.z.string().describe("Payment method used (e.g., 'cash', 'credit_card', 'cheque', 'eft')."),
|
|
11
|
-
job_uuid: zod.z.string().describe("UUID of the job this payment is associated with."),
|
|
9
|
+
amount: zod.z.string().describe("Payment amount as a decimal string (e.g., '100.00'). Preserves precision for currency values.").nullable(),
|
|
10
|
+
method: zod.z.string().describe("Payment method used (e.g., 'cash', 'credit_card', 'cheque', 'eft').").nullable(),
|
|
11
|
+
job_uuid: zod.z.string().describe("UUID of the job this payment is associated with.").nullable(),
|
|
12
12
|
edit_date: zod.z.string().describe("Timestamp when this record was last modified, in 'YYYY-MM-DD HH:MM:SS' format.").nullable().optional(),
|
|
13
|
-
timestamp: zod.z.string().describe("Timestamp when the payment was recorded, in 'YYYY-MM-DD HH:MM:SS' format (24-hour time)."),
|
|
13
|
+
timestamp: zod.z.string().describe("Timestamp when the payment was recorded, in 'YYYY-MM-DD HH:MM:SS' format (24-hour time).").nullable(),
|
|
14
14
|
is_deposit: zod.z.number().int().describe("Flag indicating if this payment is a deposit (1) or a regular payment (0).").nullable().optional(),
|
|
15
15
|
attachment_uuid: zod.z.string().describe("UUID of any attachment (e.g., receipt) associated with this payment.").nullable().optional(),
|
|
16
16
|
actioned_by_uuid: zod.z.string().describe("UUID of the staff member who processed this payment.").nullable().optional()
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"retrieve-job-payment.cjs","names":["z","action"],"sources":["../../src/actions/retrieve-job-payment.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const Servicem8RetrieveJobPaymentInput
|
|
1
|
+
{"version":3,"file":"retrieve-job-payment.cjs","names":["z","action"],"sources":["../../src/actions/retrieve-job-payment.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const Servicem8RetrieveJobPaymentInput = z.object({\n uuid: z.string().describe(\"The unique identifier (UUID) of the job payment record to retrieve. This is a 36-character UUID string (e.g., '550e8400-e29b-41d4-a716-446655440000').\"),\n}).describe(\"Request model for retrieving a ServiceM8 Job Payment by UUID.\");\nexport const Servicem8RetrieveJobPaymentOutput = z.object({\n note: z.string().describe(\"Optional note or description for this payment.\").nullable().optional(),\n uuid: z.string().describe(\"Unique identifier (UUID) for this job payment record.\").nullable(),\n active: z.number().int().describe(\"Record active/deleted flag. 1 = active, 0 = deleted/archived.\").nullable().optional(),\n amount: z.string().describe(\"Payment amount as a decimal string (e.g., '100.00'). Preserves precision for currency values.\").nullable(),\n method: z.string().describe(\"Payment method used (e.g., 'cash', 'credit_card', 'cheque', 'eft').\").nullable(),\n job_uuid: z.string().describe(\"UUID of the job this payment is associated with.\").nullable(),\n edit_date: z.string().describe(\"Timestamp when this record was last modified, in 'YYYY-MM-DD HH:MM:SS' format.\").nullable().optional(),\n timestamp: z.string().describe(\"Timestamp when the payment was recorded, in 'YYYY-MM-DD HH:MM:SS' format (24-hour time).\").nullable(),\n is_deposit: z.number().int().describe(\"Flag indicating if this payment is a deposit (1) or a regular payment (0).\").nullable().optional(),\n attachment_uuid: z.string().describe(\"UUID of any attachment (e.g., receipt) associated with this payment.\").nullable().optional(),\n actioned_by_uuid: z.string().describe(\"UUID of the staff member who processed this payment.\").nullable().optional(),\n}).describe(\"Response model representing a ServiceM8 Job Payment record.\");\n\nexport const servicem8RetrieveJobPayment = action(\"SERVICEM8_RETRIEVE_JOB_PAYMENT\", {\n slug: \"servicem8-retrieve-job-payment\",\n name: \"Retrieve Job Payment\",\n description: \"Retrieve a specific job payment record from ServiceM8 by its UUID. Use this tool when you need to: - Get full details of a specific payment (amount, method, timestamp, notes) - Check if a payment is a deposit or regular payment - View which staff member processed a payment - Verify payment information for a job Prerequisites: You need the job payment UUID, which can be obtained from the 'List All Job Payments' action or from creating a new job payment.\",\n input: Servicem8RetrieveJobPaymentInput,\n output: Servicem8RetrieveJobPaymentOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO,EACvD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wJAAwJ,EACpL,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC3E,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CAC5F,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvH,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+FAA+F,CAAC,CAAC,SAAS;CACtI,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;CAC5G,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CAC3F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrI,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;CACpI,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxI,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjI,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpH,CAAC,CAAC,CAAC,SAAS,6DAA6D;AAEzE,MAAa,8BAA8BC,eAAAA,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,25 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/retrieve-job-payment.d.ts
|
|
4
|
-
declare const Servicem8RetrieveJobPaymentInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const Servicem8RetrieveJobPaymentInput: z.ZodObject<{
|
|
5
|
+
uuid: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const Servicem8RetrieveJobPaymentOutput: z.ZodObject<{
|
|
8
|
+
note: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9
|
+
uuid: z.ZodNullable<z.ZodString>;
|
|
10
|
+
active: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
11
|
+
amount: z.ZodNullable<z.ZodString>;
|
|
12
|
+
method: z.ZodNullable<z.ZodString>;
|
|
13
|
+
job_uuid: z.ZodNullable<z.ZodString>;
|
|
14
|
+
edit_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
+
timestamp: z.ZodNullable<z.ZodString>;
|
|
16
|
+
is_deposit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
17
|
+
attachment_uuid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
+
actioned_by_uuid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
|
+
}, z.core.$strip>;
|
|
20
|
+
declare const servicem8RetrieveJobPayment: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
21
|
+
uuid: string;
|
|
22
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
23
|
//#endregion
|
|
8
24
|
export { servicem8RetrieveJobPayment };
|
|
9
25
|
//# sourceMappingURL=retrieve-job-payment.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"retrieve-job-payment.d.cts","names":[],"sources":["../../src/actions/retrieve-job-payment.ts"],"mappings":";;;cAIa,gCAAA,
|
|
1
|
+
{"version":3,"file":"retrieve-job-payment.d.cts","names":[],"sources":["../../src/actions/retrieve-job-payment.ts"],"mappings":";;;cAIa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;cAGhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAcjC,2BAAA,gCAA2B,wBAAA"}
|
|
@@ -1,9 +1,25 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/retrieve-job-payment.d.ts
|
|
4
|
-
declare const Servicem8RetrieveJobPaymentInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const Servicem8RetrieveJobPaymentInput: z.ZodObject<{
|
|
5
|
+
uuid: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const Servicem8RetrieveJobPaymentOutput: z.ZodObject<{
|
|
8
|
+
note: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9
|
+
uuid: z.ZodNullable<z.ZodString>;
|
|
10
|
+
active: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
11
|
+
amount: z.ZodNullable<z.ZodString>;
|
|
12
|
+
method: z.ZodNullable<z.ZodString>;
|
|
13
|
+
job_uuid: z.ZodNullable<z.ZodString>;
|
|
14
|
+
edit_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
+
timestamp: z.ZodNullable<z.ZodString>;
|
|
16
|
+
is_deposit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
17
|
+
attachment_uuid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
+
actioned_by_uuid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
|
+
}, z.core.$strip>;
|
|
20
|
+
declare const servicem8RetrieveJobPayment: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
21
|
+
uuid: string;
|
|
22
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
23
|
//#endregion
|
|
8
24
|
export { servicem8RetrieveJobPayment };
|
|
9
25
|
//# sourceMappingURL=retrieve-job-payment.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"retrieve-job-payment.d.mts","names":[],"sources":["../../src/actions/retrieve-job-payment.ts"],"mappings":";;;cAIa,gCAAA,
|
|
1
|
+
{"version":3,"file":"retrieve-job-payment.d.mts","names":[],"sources":["../../src/actions/retrieve-job-payment.ts"],"mappings":";;;cAIa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;cAGhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAcjC,2BAAA,gCAA2B,wBAAA"}
|
|
@@ -7,13 +7,13 @@ const servicem8RetrieveJobPayment = action("SERVICEM8_RETRIEVE_JOB_PAYMENT", {
|
|
|
7
7
|
input: z.object({ uuid: z.string().describe("The unique identifier (UUID) of the job payment record to retrieve. This is a 36-character UUID string (e.g., '550e8400-e29b-41d4-a716-446655440000').") }).describe("Request model for retrieving a ServiceM8 Job Payment by UUID."),
|
|
8
8
|
output: z.object({
|
|
9
9
|
note: z.string().describe("Optional note or description for this payment.").nullable().optional(),
|
|
10
|
-
uuid: z.string().describe("Unique identifier (UUID) for this job payment record."),
|
|
10
|
+
uuid: z.string().describe("Unique identifier (UUID) for this job payment record.").nullable(),
|
|
11
11
|
active: z.number().int().describe("Record active/deleted flag. 1 = active, 0 = deleted/archived.").nullable().optional(),
|
|
12
|
-
amount: z.string().describe("Payment amount as a decimal string (e.g., '100.00'). Preserves precision for currency values."),
|
|
13
|
-
method: z.string().describe("Payment method used (e.g., 'cash', 'credit_card', 'cheque', 'eft')."),
|
|
14
|
-
job_uuid: z.string().describe("UUID of the job this payment is associated with."),
|
|
12
|
+
amount: z.string().describe("Payment amount as a decimal string (e.g., '100.00'). Preserves precision for currency values.").nullable(),
|
|
13
|
+
method: z.string().describe("Payment method used (e.g., 'cash', 'credit_card', 'cheque', 'eft').").nullable(),
|
|
14
|
+
job_uuid: z.string().describe("UUID of the job this payment is associated with.").nullable(),
|
|
15
15
|
edit_date: z.string().describe("Timestamp when this record was last modified, in 'YYYY-MM-DD HH:MM:SS' format.").nullable().optional(),
|
|
16
|
-
timestamp: z.string().describe("Timestamp when the payment was recorded, in 'YYYY-MM-DD HH:MM:SS' format (24-hour time)."),
|
|
16
|
+
timestamp: z.string().describe("Timestamp when the payment was recorded, in 'YYYY-MM-DD HH:MM:SS' format (24-hour time).").nullable(),
|
|
17
17
|
is_deposit: z.number().int().describe("Flag indicating if this payment is a deposit (1) or a regular payment (0).").nullable().optional(),
|
|
18
18
|
attachment_uuid: z.string().describe("UUID of any attachment (e.g., receipt) associated with this payment.").nullable().optional(),
|
|
19
19
|
actioned_by_uuid: z.string().describe("UUID of the staff member who processed this payment.").nullable().optional()
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"retrieve-job-payment.mjs","names":[],"sources":["../../src/actions/retrieve-job-payment.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const Servicem8RetrieveJobPaymentInput
|
|
1
|
+
{"version":3,"file":"retrieve-job-payment.mjs","names":[],"sources":["../../src/actions/retrieve-job-payment.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const Servicem8RetrieveJobPaymentInput = z.object({\n uuid: z.string().describe(\"The unique identifier (UUID) of the job payment record to retrieve. This is a 36-character UUID string (e.g., '550e8400-e29b-41d4-a716-446655440000').\"),\n}).describe(\"Request model for retrieving a ServiceM8 Job Payment by UUID.\");\nexport const Servicem8RetrieveJobPaymentOutput = z.object({\n note: z.string().describe(\"Optional note or description for this payment.\").nullable().optional(),\n uuid: z.string().describe(\"Unique identifier (UUID) for this job payment record.\").nullable(),\n active: z.number().int().describe(\"Record active/deleted flag. 1 = active, 0 = deleted/archived.\").nullable().optional(),\n amount: z.string().describe(\"Payment amount as a decimal string (e.g., '100.00'). Preserves precision for currency values.\").nullable(),\n method: z.string().describe(\"Payment method used (e.g., 'cash', 'credit_card', 'cheque', 'eft').\").nullable(),\n job_uuid: z.string().describe(\"UUID of the job this payment is associated with.\").nullable(),\n edit_date: z.string().describe(\"Timestamp when this record was last modified, in 'YYYY-MM-DD HH:MM:SS' format.\").nullable().optional(),\n timestamp: z.string().describe(\"Timestamp when the payment was recorded, in 'YYYY-MM-DD HH:MM:SS' format (24-hour time).\").nullable(),\n is_deposit: z.number().int().describe(\"Flag indicating if this payment is a deposit (1) or a regular payment (0).\").nullable().optional(),\n attachment_uuid: z.string().describe(\"UUID of any attachment (e.g., receipt) associated with this payment.\").nullable().optional(),\n actioned_by_uuid: z.string().describe(\"UUID of the staff member who processed this payment.\").nullable().optional(),\n}).describe(\"Response model representing a ServiceM8 Job Payment record.\");\n\nexport const servicem8RetrieveJobPayment = action(\"SERVICEM8_RETRIEVE_JOB_PAYMENT\", {\n slug: \"servicem8-retrieve-job-payment\",\n name: \"Retrieve Job Payment\",\n description: \"Retrieve a specific job payment record from ServiceM8 by its UUID. Use this tool when you need to: - Get full details of a specific payment (amount, method, timestamp, notes) - Check if a payment is a deposit or regular payment - View which staff member processed a payment - Verify payment information for a job Prerequisites: You need the job payment UUID, which can be obtained from the 'List All Job Payments' action or from creating a new job payment.\",\n input: Servicem8RetrieveJobPaymentInput,\n output: Servicem8RetrieveJobPaymentOutput,\n});\n"],"mappings":";;AAqBA,MAAa,8BAA8B,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OArB8C,EAAE,OAAO,EACvD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wJAAwJ,EACpL,CAAC,CAAC,CAAC,SAAS,+DAmBH;CACP,QAnB+C,EAAE,OAAO;EACxD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChG,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;EAC5F,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvH,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,+FAA+F,CAAC,CAAC,SAAS;EACtI,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;EAC5G,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;EAC3F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrI,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;EACpI,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxI,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjI,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpH,CAAC,CAAC,CAAC,SAAS,6DAOF;AACV,CAAC"}
|
|
@@ -3,13 +3,13 @@ let zod = require("zod");
|
|
|
3
3
|
//#region src/actions/retrieve-job-queue.ts
|
|
4
4
|
const Servicem8RetrieveJobQueueInput = zod.z.object({ uuid: zod.z.string().describe("UUID of the job queue to retrieve.") }).describe("Request model for retrieving a ServiceM8 job queue by UUID.");
|
|
5
5
|
const Servicem8RetrieveJobQueueOutput = zod.z.object({
|
|
6
|
-
name: zod.z.string().describe("Name of the job queue."),
|
|
7
|
-
uuid: zod.z.string().describe("Unique identifier of the job queue."),
|
|
8
|
-
active: zod.z.number().int().describe("1 if the queue is active; 0 if archived."),
|
|
9
|
-
edit_date: zod.z.string().describe("Last edit date of the queue in YYYY-MM-DD HH:MM:SS format."),
|
|
6
|
+
name: zod.z.string().describe("Name of the job queue.").nullable(),
|
|
7
|
+
uuid: zod.z.string().describe("Unique identifier of the job queue.").nullable(),
|
|
8
|
+
active: zod.z.number().int().describe("1 if the queue is active; 0 if archived.").nullable(),
|
|
9
|
+
edit_date: zod.z.string().describe("Last edit date of the queue in YYYY-MM-DD HH:MM:SS format.").nullable(),
|
|
10
10
|
subscribed_staff: zod.z.string().describe("Comma-separated list of staff UUIDs subscribed to the queue.").nullable().optional(),
|
|
11
|
-
default_timeframe: zod.z.number().int().describe("Default timeframe for the queue in days."),
|
|
12
|
-
requires_assignment: zod.z.number().int().describe("1 if the queue requires assignment; 0 otherwise.")
|
|
11
|
+
default_timeframe: zod.z.number().int().describe("Default timeframe for the queue in days.").nullable(),
|
|
12
|
+
requires_assignment: zod.z.number().int().describe("1 if the queue requires assignment; 0 otherwise.").nullable()
|
|
13
13
|
}).describe("Response model representing a ServiceM8 job queue record.");
|
|
14
14
|
const servicem8RetrieveJobQueue = require_action.action("SERVICEM8_RETRIEVE_JOB_QUEUE", {
|
|
15
15
|
slug: "servicem8-retrieve-job-queue",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"retrieve-job-queue.cjs","names":["z","action"],"sources":["../../src/actions/retrieve-job-queue.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const Servicem8RetrieveJobQueueInput
|
|
1
|
+
{"version":3,"file":"retrieve-job-queue.cjs","names":["z","action"],"sources":["../../src/actions/retrieve-job-queue.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const Servicem8RetrieveJobQueueInput = z.object({\n uuid: z.string().describe(\"UUID of the job queue to retrieve.\"),\n}).describe(\"Request model for retrieving a ServiceM8 job queue by UUID.\");\nexport const Servicem8RetrieveJobQueueOutput = z.object({\n name: z.string().describe(\"Name of the job queue.\").nullable(),\n uuid: z.string().describe(\"Unique identifier of the job queue.\").nullable(),\n active: z.number().int().describe(\"1 if the queue is active; 0 if archived.\").nullable(),\n edit_date: z.string().describe(\"Last edit date of the queue in YYYY-MM-DD HH:MM:SS format.\").nullable(),\n subscribed_staff: z.string().describe(\"Comma-separated list of staff UUIDs subscribed to the queue.\").nullable().optional(),\n default_timeframe: z.number().int().describe(\"Default timeframe for the queue in days.\").nullable(),\n requires_assignment: z.number().int().describe(\"1 if the queue requires assignment; 0 otherwise.\").nullable(),\n}).describe(\"Response model representing a ServiceM8 job queue record.\");\n\nexport const servicem8RetrieveJobQueue = action(\"SERVICEM8_RETRIEVE_JOB_QUEUE\", {\n slug: \"servicem8-retrieve-job-queue\",\n name: \"Retrieve Job Queue\",\n description: \"Tool to retrieve details of a specific job queue by its UUID. Use when you need full queue metadata before dispatching work.\",\n input: Servicem8RetrieveJobQueueInput,\n output: Servicem8RetrieveJobQueueOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO,EACrD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,EAChE,CAAC,CAAC,CAAC,SAAS,6DAA6D;AACzE,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CAC7D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC1E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CACvF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CACtG,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1H,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CAClG,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;AAC9G,CAAC,CAAC,CAAC,SAAS,2DAA2D;AAEvE,MAAa,4BAA4BC,eAAAA,OAAO,gCAAgC;CAC9E,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/retrieve-job-queue.d.ts
|
|
4
|
-
declare const Servicem8RetrieveJobQueueInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const Servicem8RetrieveJobQueueInput: z.ZodObject<{
|
|
5
|
+
uuid: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const Servicem8RetrieveJobQueueOutput: z.ZodObject<{
|
|
8
|
+
name: z.ZodNullable<z.ZodString>;
|
|
9
|
+
uuid: z.ZodNullable<z.ZodString>;
|
|
10
|
+
active: z.ZodNullable<z.ZodNumber>;
|
|
11
|
+
edit_date: z.ZodNullable<z.ZodString>;
|
|
12
|
+
subscribed_staff: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
+
default_timeframe: z.ZodNullable<z.ZodNumber>;
|
|
14
|
+
requires_assignment: z.ZodNullable<z.ZodNumber>;
|
|
15
|
+
}, z.core.$strip>;
|
|
16
|
+
declare const servicem8RetrieveJobQueue: 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 { servicem8RetrieveJobQueue };
|
|
9
21
|
//# sourceMappingURL=retrieve-job-queue.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"retrieve-job-queue.d.cts","names":[],"sources":["../../src/actions/retrieve-job-queue.ts"],"mappings":";;;cAIa,8BAAA,
|
|
1
|
+
{"version":3,"file":"retrieve-job-queue.d.cts","names":[],"sources":["../../src/actions/retrieve-job-queue.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;cAG9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;cAU/B,yBAAA,gCAAyB,wBAAA"}
|
|
@@ -1,9 +1,21 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/retrieve-job-queue.d.ts
|
|
4
|
-
declare const Servicem8RetrieveJobQueueInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const Servicem8RetrieveJobQueueInput: z.ZodObject<{
|
|
5
|
+
uuid: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const Servicem8RetrieveJobQueueOutput: z.ZodObject<{
|
|
8
|
+
name: z.ZodNullable<z.ZodString>;
|
|
9
|
+
uuid: z.ZodNullable<z.ZodString>;
|
|
10
|
+
active: z.ZodNullable<z.ZodNumber>;
|
|
11
|
+
edit_date: z.ZodNullable<z.ZodString>;
|
|
12
|
+
subscribed_staff: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
+
default_timeframe: z.ZodNullable<z.ZodNumber>;
|
|
14
|
+
requires_assignment: z.ZodNullable<z.ZodNumber>;
|
|
15
|
+
}, z.core.$strip>;
|
|
16
|
+
declare const servicem8RetrieveJobQueue: 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 { servicem8RetrieveJobQueue };
|
|
9
21
|
//# sourceMappingURL=retrieve-job-queue.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"retrieve-job-queue.d.mts","names":[],"sources":["../../src/actions/retrieve-job-queue.ts"],"mappings":";;;cAIa,8BAAA,
|
|
1
|
+
{"version":3,"file":"retrieve-job-queue.d.mts","names":[],"sources":["../../src/actions/retrieve-job-queue.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;cAG9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;cAU/B,yBAAA,gCAAyB,wBAAA"}
|
|
@@ -6,13 +6,13 @@ const servicem8RetrieveJobQueue = action("SERVICEM8_RETRIEVE_JOB_QUEUE", {
|
|
|
6
6
|
description: "Tool to retrieve details of a specific job queue by its UUID. Use when you need full queue metadata before dispatching work.",
|
|
7
7
|
input: z.object({ uuid: z.string().describe("UUID of the job queue to retrieve.") }).describe("Request model for retrieving a ServiceM8 job queue by UUID."),
|
|
8
8
|
output: z.object({
|
|
9
|
-
name: z.string().describe("Name of the job queue."),
|
|
10
|
-
uuid: z.string().describe("Unique identifier of the job queue."),
|
|
11
|
-
active: z.number().int().describe("1 if the queue is active; 0 if archived."),
|
|
12
|
-
edit_date: z.string().describe("Last edit date of the queue in YYYY-MM-DD HH:MM:SS format."),
|
|
9
|
+
name: z.string().describe("Name of the job queue.").nullable(),
|
|
10
|
+
uuid: z.string().describe("Unique identifier of the job queue.").nullable(),
|
|
11
|
+
active: z.number().int().describe("1 if the queue is active; 0 if archived.").nullable(),
|
|
12
|
+
edit_date: z.string().describe("Last edit date of the queue in YYYY-MM-DD HH:MM:SS format.").nullable(),
|
|
13
13
|
subscribed_staff: z.string().describe("Comma-separated list of staff UUIDs subscribed to the queue.").nullable().optional(),
|
|
14
|
-
default_timeframe: z.number().int().describe("Default timeframe for the queue in days."),
|
|
15
|
-
requires_assignment: z.number().int().describe("1 if the queue requires assignment; 0 otherwise.")
|
|
14
|
+
default_timeframe: z.number().int().describe("Default timeframe for the queue in days.").nullable(),
|
|
15
|
+
requires_assignment: z.number().int().describe("1 if the queue requires assignment; 0 otherwise.").nullable()
|
|
16
16
|
}).describe("Response model representing a ServiceM8 job queue record.")
|
|
17
17
|
});
|
|
18
18
|
//#endregion
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"retrieve-job-queue.mjs","names":[],"sources":["../../src/actions/retrieve-job-queue.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const Servicem8RetrieveJobQueueInput
|
|
1
|
+
{"version":3,"file":"retrieve-job-queue.mjs","names":[],"sources":["../../src/actions/retrieve-job-queue.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const Servicem8RetrieveJobQueueInput = z.object({\n uuid: z.string().describe(\"UUID of the job queue to retrieve.\"),\n}).describe(\"Request model for retrieving a ServiceM8 job queue by UUID.\");\nexport const Servicem8RetrieveJobQueueOutput = z.object({\n name: z.string().describe(\"Name of the job queue.\").nullable(),\n uuid: z.string().describe(\"Unique identifier of the job queue.\").nullable(),\n active: z.number().int().describe(\"1 if the queue is active; 0 if archived.\").nullable(),\n edit_date: z.string().describe(\"Last edit date of the queue in YYYY-MM-DD HH:MM:SS format.\").nullable(),\n subscribed_staff: z.string().describe(\"Comma-separated list of staff UUIDs subscribed to the queue.\").nullable().optional(),\n default_timeframe: z.number().int().describe(\"Default timeframe for the queue in days.\").nullable(),\n requires_assignment: z.number().int().describe(\"1 if the queue requires assignment; 0 otherwise.\").nullable(),\n}).describe(\"Response model representing a ServiceM8 job queue record.\");\n\nexport const servicem8RetrieveJobQueue = action(\"SERVICEM8_RETRIEVE_JOB_QUEUE\", {\n slug: \"servicem8-retrieve-job-queue\",\n name: \"Retrieve Job Queue\",\n description: \"Tool to retrieve details of a specific job queue by its UUID. Use when you need full queue metadata before dispatching work.\",\n input: Servicem8RetrieveJobQueueInput,\n output: Servicem8RetrieveJobQueueOutput,\n});\n"],"mappings":";;AAiBA,MAAa,4BAA4B,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAjB4C,EAAE,OAAO,EACrD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,EAChE,CAAC,CAAC,CAAC,SAAS,6DAeH;CACP,QAf6C,EAAE,OAAO;EACtD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;EAC7D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;EAC1E,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;EACvF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;EACtG,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1H,mBAAmB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;EAClG,qBAAqB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CAC9G,CAAC,CAAC,CAAC,SAAS,2DAOF;AACV,CAAC"}
|