@keystrokehq/servicem8 0.1.2 → 0.1.4
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/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 +14 -2
- package/dist/actions/create-job-note.d.mts +14 -2
- 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 +14 -2
- package/dist/actions/create-job-payment.d.mts +14 -2
- 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 +1 -1
- package/dist/actions/create-jobs.cjs.map +1 -1
- package/dist/actions/create-jobs.d.cts +14 -2
- package/dist/actions/create-jobs.d.mts +14 -2
- package/dist/actions/create-jobs.mjs +1 -1
- package/dist/actions/create-jobs.mjs.map +1 -1
- package/dist/actions/delete-custom-field.cjs +1 -1
- package/dist/actions/delete-custom-field.cjs.map +1 -1
- package/dist/actions/delete-custom-field.d.cts +14 -2
- package/dist/actions/delete-custom-field.d.mts +14 -2
- package/dist/actions/delete-custom-field.mjs +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 +14 -2
- package/dist/actions/delete-job-note.d.mts +14 -2
- 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 +1 -1
- package/dist/actions/delete-job-payment.cjs.map +1 -1
- package/dist/actions/delete-job-payment.d.cts +14 -2
- package/dist/actions/delete-job-payment.d.mts +14 -2
- package/dist/actions/delete-job-payment.mjs +1 -1
- package/dist/actions/delete-job-payment.mjs.map +1 -1
- package/dist/actions/list-all-assets.d.cts +13 -1
- package/dist/actions/list-all-assets.d.mts +13 -1
- package/dist/actions/list-all-clients.d.cts +13 -1
- package/dist/actions/list-all-clients.d.mts +13 -1
- package/dist/actions/list-all-document-templates.d.cts +13 -1
- package/dist/actions/list-all-document-templates.d.mts +13 -1
- package/dist/actions/list-all-forms.d.cts +13 -1
- package/dist/actions/list-all-forms.d.mts +13 -1
- package/dist/actions/list-all-job-notes.cjs +2 -2
- package/dist/actions/list-all-job-notes.cjs.map +1 -1
- package/dist/actions/list-all-job-notes.d.cts +15 -3
- package/dist/actions/list-all-job-notes.d.mts +15 -3
- package/dist/actions/list-all-job-notes.mjs +2 -2
- package/dist/actions/list-all-job-notes.mjs.map +1 -1
- package/dist/actions/list-all-job-queues.d.cts +13 -1
- package/dist/actions/list-all-job-queues.d.cts.map +1 -1
- package/dist/actions/list-all-job-queues.d.mts +13 -1
- package/dist/actions/list-all-job-queues.d.mts.map +1 -1
- package/dist/actions/list-all-jobs.cjs +2 -2
- package/dist/actions/list-all-jobs.cjs.map +1 -1
- package/dist/actions/list-all-jobs.d.cts +15 -3
- package/dist/actions/list-all-jobs.d.mts +15 -3
- package/dist/actions/list-all-jobs.mjs +2 -2
- package/dist/actions/list-all-jobs.mjs.map +1 -1
- package/dist/actions/list-all-locations.d.cts +13 -1
- package/dist/actions/list-all-locations.d.mts +13 -1
- package/dist/actions/list-all-materials.d.cts +13 -1
- package/dist/actions/list-all-materials.d.mts +13 -1
- package/dist/actions/list-all-tasks.cjs +1 -1
- package/dist/actions/list-all-tasks.cjs.map +1 -1
- package/dist/actions/list-all-tasks.d.cts +14 -2
- package/dist/actions/list-all-tasks.d.mts +14 -2
- package/dist/actions/list-all-tasks.mjs +1 -1
- package/dist/actions/list-all-tasks.mjs.map +1 -1
- package/dist/actions/retrieve-client.d.cts +13 -1
- package/dist/actions/retrieve-client.d.mts +13 -1
- package/dist/actions/retrieve-form.d.cts +13 -1
- package/dist/actions/retrieve-form.d.mts +13 -1
- package/dist/actions/retrieve-job-activity.cjs +1 -1
- package/dist/actions/retrieve-job-activity.cjs.map +1 -1
- package/dist/actions/retrieve-job-activity.d.cts +14 -2
- package/dist/actions/retrieve-job-activity.d.mts +14 -2
- package/dist/actions/retrieve-job-activity.mjs +1 -1
- package/dist/actions/retrieve-job-activity.mjs.map +1 -1
- package/dist/actions/retrieve-job-note.cjs +1 -1
- package/dist/actions/retrieve-job-note.cjs.map +1 -1
- package/dist/actions/retrieve-job-note.d.cts +14 -2
- package/dist/actions/retrieve-job-note.d.mts +14 -2
- package/dist/actions/retrieve-job-note.mjs +1 -1
- package/dist/actions/retrieve-job-note.mjs.map +1 -1
- package/dist/actions/retrieve-job-payment.cjs +1 -1
- package/dist/actions/retrieve-job-payment.cjs.map +1 -1
- package/dist/actions/retrieve-job-payment.d.cts +14 -2
- package/dist/actions/retrieve-job-payment.d.mts +14 -2
- package/dist/actions/retrieve-job-payment.mjs +1 -1
- package/dist/actions/retrieve-job-payment.mjs.map +1 -1
- package/dist/actions/retrieve-job-queue.cjs +1 -1
- package/dist/actions/retrieve-job-queue.cjs.map +1 -1
- package/dist/actions/retrieve-job-queue.d.cts +14 -2
- package/dist/actions/retrieve-job-queue.d.mts +14 -2
- package/dist/actions/retrieve-job-queue.mjs +1 -1
- package/dist/actions/retrieve-job-queue.mjs.map +1 -1
- package/dist/actions/retrieve-job.cjs +1 -1
- package/dist/actions/retrieve-job.cjs.map +1 -1
- package/dist/actions/retrieve-job.d.cts +14 -2
- package/dist/actions/retrieve-job.d.mts +14 -2
- package/dist/actions/retrieve-job.mjs +1 -1
- 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 +14 -2
- package/dist/actions/retrieve-location.d.mts +14 -2
- package/dist/actions/retrieve-location.mjs +1 -1
- package/dist/actions/retrieve-location.mjs.map +1 -1
- package/dist/actions/retrieve-material.cjs +1 -1
- package/dist/actions/retrieve-material.cjs.map +1 -1
- package/dist/actions/retrieve-material.d.cts +14 -2
- package/dist/actions/retrieve-material.d.mts +14 -2
- package/dist/actions/retrieve-material.mjs +1 -1
- package/dist/actions/retrieve-material.mjs.map +1 -1
- package/dist/actions/retrieve-staff-member.cjs +1 -1
- package/dist/actions/retrieve-staff-member.cjs.map +1 -1
- package/dist/actions/retrieve-staff-member.d.cts +14 -2
- package/dist/actions/retrieve-staff-member.d.mts +14 -2
- package/dist/actions/retrieve-staff-member.mjs +1 -1
- package/dist/actions/retrieve-staff-member.mjs.map +1 -1
- package/dist/actions/update-job-note.cjs +1 -1
- package/dist/actions/update-job-note.cjs.map +1 -1
- package/dist/actions/update-job-note.d.cts +14 -2
- package/dist/actions/update-job-note.d.mts +14 -2
- package/dist/actions/update-job-note.mjs +1 -1
- package/dist/actions/update-job-note.mjs.map +1 -1
- package/dist/actions/update-job-payment.cjs +1 -1
- package/dist/actions/update-job-payment.cjs.map +1 -1
- package/dist/actions/update-job-payment.d.cts +14 -2
- package/dist/actions/update-job-payment.d.mts +14 -2
- package/dist/actions/update-job-payment.mjs +1 -1
- package/dist/actions/update-job-payment.mjs.map +1 -1
- package/dist/app.cjs +5 -2
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +9 -1
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +9 -1
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +3 -1
- package/dist/app.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -6,7 +6,7 @@ const Servicem8DeleteJobPaymentOutput = zod.z.object({
|
|
|
6
6
|
uuid: zod.z.string().describe("UUID of the job payment that was archived.").nullable(),
|
|
7
7
|
message: zod.z.string().describe("Human-readable message describing the result of the operation.").nullable(),
|
|
8
8
|
success: zod.z.boolean().describe("True if the job payment was successfully archived.").nullable()
|
|
9
|
-
}).describe("Response model confirming the job payment was successfully archived.");
|
|
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.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}).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,SAAS,sEAAsE;
|
|
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"}
|
|
@@ -8,10 +8,22 @@ declare const Servicem8DeleteJobPaymentOutput: z.ZodObject<{
|
|
|
8
8
|
uuid: z.ZodNullable<z.ZodString>;
|
|
9
9
|
message: z.ZodNullable<z.ZodString>;
|
|
10
10
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
11
|
-
}, z.core.$
|
|
11
|
+
}, z.core.$loose>;
|
|
12
12
|
declare const servicem8DeleteJobPayment: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
13
13
|
uuid: string;
|
|
14
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
14
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"servicem8", z.ZodObject<{
|
|
15
|
+
connectionId: z.ZodString;
|
|
16
|
+
entityId: z.ZodString;
|
|
17
|
+
instanceId: z.ZodString;
|
|
18
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
19
|
+
accessToken: z.ZodString;
|
|
20
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"servicem8", z.ZodObject<{
|
|
21
|
+
connectionId: z.ZodString;
|
|
22
|
+
entityId: z.ZodString;
|
|
23
|
+
instanceId: z.ZodString;
|
|
24
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
25
|
+
accessToken: z.ZodString;
|
|
26
|
+
}, z.core.$strip>>]>;
|
|
15
27
|
//#endregion
|
|
16
28
|
export { servicem8DeleteJobPayment };
|
|
17
29
|
//# sourceMappingURL=delete-job-payment.d.cts.map
|
|
@@ -8,10 +8,22 @@ declare const Servicem8DeleteJobPaymentOutput: z.ZodObject<{
|
|
|
8
8
|
uuid: z.ZodNullable<z.ZodString>;
|
|
9
9
|
message: z.ZodNullable<z.ZodString>;
|
|
10
10
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
11
|
-
}, z.core.$
|
|
11
|
+
}, z.core.$loose>;
|
|
12
12
|
declare const servicem8DeleteJobPayment: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
13
13
|
uuid: string;
|
|
14
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
14
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"servicem8", z.ZodObject<{
|
|
15
|
+
connectionId: z.ZodString;
|
|
16
|
+
entityId: z.ZodString;
|
|
17
|
+
instanceId: z.ZodString;
|
|
18
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
19
|
+
accessToken: z.ZodString;
|
|
20
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"servicem8", z.ZodObject<{
|
|
21
|
+
connectionId: z.ZodString;
|
|
22
|
+
entityId: z.ZodString;
|
|
23
|
+
instanceId: z.ZodString;
|
|
24
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
25
|
+
accessToken: z.ZodString;
|
|
26
|
+
}, z.core.$strip>>]>;
|
|
15
27
|
//#endregion
|
|
16
28
|
export { servicem8DeleteJobPayment };
|
|
17
29
|
//# sourceMappingURL=delete-job-payment.d.mts.map
|
|
@@ -9,7 +9,7 @@ const servicem8DeleteJobPayment = action("SERVICEM8_DELETE_JOB_PAYMENT", {
|
|
|
9
9
|
uuid: z.string().describe("UUID of the job payment that was archived.").nullable(),
|
|
10
10
|
message: z.string().describe("Human-readable message describing the result of the operation.").nullable(),
|
|
11
11
|
success: z.boolean().describe("True if the job payment was successfully archived.").nullable()
|
|
12
|
-
}).describe("Response model confirming the job payment was successfully archived.")
|
|
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.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}).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,SAAS,
|
|
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"}
|
|
@@ -7,7 +7,19 @@ declare const Servicem8ListAllAssetsInput: z.ZodObject<{
|
|
|
7
7
|
declare const Servicem8ListAllAssetsOutput: z.ZodUnknown;
|
|
8
8
|
declare const servicem8ListAllAssets: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
9
9
|
filter?: string | undefined;
|
|
10
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
10
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"servicem8", z.ZodObject<{
|
|
11
|
+
connectionId: z.ZodString;
|
|
12
|
+
entityId: z.ZodString;
|
|
13
|
+
instanceId: z.ZodString;
|
|
14
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
15
|
+
accessToken: z.ZodString;
|
|
16
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"servicem8", z.ZodObject<{
|
|
17
|
+
connectionId: z.ZodString;
|
|
18
|
+
entityId: z.ZodString;
|
|
19
|
+
instanceId: z.ZodString;
|
|
20
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
21
|
+
accessToken: z.ZodString;
|
|
22
|
+
}, z.core.$strip>>]>;
|
|
11
23
|
//#endregion
|
|
12
24
|
export { servicem8ListAllAssets };
|
|
13
25
|
//# sourceMappingURL=list-all-assets.d.cts.map
|
|
@@ -7,7 +7,19 @@ declare const Servicem8ListAllAssetsInput: z.ZodObject<{
|
|
|
7
7
|
declare const Servicem8ListAllAssetsOutput: z.ZodUnknown;
|
|
8
8
|
declare const servicem8ListAllAssets: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
9
9
|
filter?: string | undefined;
|
|
10
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
10
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"servicem8", z.ZodObject<{
|
|
11
|
+
connectionId: z.ZodString;
|
|
12
|
+
entityId: z.ZodString;
|
|
13
|
+
instanceId: z.ZodString;
|
|
14
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
15
|
+
accessToken: z.ZodString;
|
|
16
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"servicem8", z.ZodObject<{
|
|
17
|
+
connectionId: z.ZodString;
|
|
18
|
+
entityId: z.ZodString;
|
|
19
|
+
instanceId: z.ZodString;
|
|
20
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
21
|
+
accessToken: z.ZodString;
|
|
22
|
+
}, z.core.$strip>>]>;
|
|
11
23
|
//#endregion
|
|
12
24
|
export { servicem8ListAllAssets };
|
|
13
25
|
//# sourceMappingURL=list-all-assets.d.mts.map
|
|
@@ -7,7 +7,19 @@ declare const Servicem8ListAllClientsInput: z.ZodObject<{
|
|
|
7
7
|
declare const Servicem8ListAllClientsOutput: z.ZodUnknown;
|
|
8
8
|
declare const servicem8ListAllClients: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
9
9
|
filter?: string | undefined;
|
|
10
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
10
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"servicem8", z.ZodObject<{
|
|
11
|
+
connectionId: z.ZodString;
|
|
12
|
+
entityId: z.ZodString;
|
|
13
|
+
instanceId: z.ZodString;
|
|
14
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
15
|
+
accessToken: z.ZodString;
|
|
16
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"servicem8", z.ZodObject<{
|
|
17
|
+
connectionId: z.ZodString;
|
|
18
|
+
entityId: z.ZodString;
|
|
19
|
+
instanceId: z.ZodString;
|
|
20
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
21
|
+
accessToken: z.ZodString;
|
|
22
|
+
}, z.core.$strip>>]>;
|
|
11
23
|
//#endregion
|
|
12
24
|
export { servicem8ListAllClients };
|
|
13
25
|
//# sourceMappingURL=list-all-clients.d.cts.map
|
|
@@ -7,7 +7,19 @@ declare const Servicem8ListAllClientsInput: z.ZodObject<{
|
|
|
7
7
|
declare const Servicem8ListAllClientsOutput: z.ZodUnknown;
|
|
8
8
|
declare const servicem8ListAllClients: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
9
9
|
filter?: string | undefined;
|
|
10
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
10
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"servicem8", z.ZodObject<{
|
|
11
|
+
connectionId: z.ZodString;
|
|
12
|
+
entityId: z.ZodString;
|
|
13
|
+
instanceId: z.ZodString;
|
|
14
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
15
|
+
accessToken: z.ZodString;
|
|
16
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"servicem8", z.ZodObject<{
|
|
17
|
+
connectionId: z.ZodString;
|
|
18
|
+
entityId: z.ZodString;
|
|
19
|
+
instanceId: z.ZodString;
|
|
20
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
21
|
+
accessToken: z.ZodString;
|
|
22
|
+
}, z.core.$strip>>]>;
|
|
11
23
|
//#endregion
|
|
12
24
|
export { servicem8ListAllClients };
|
|
13
25
|
//# sourceMappingURL=list-all-clients.d.mts.map
|
|
@@ -9,7 +9,19 @@ declare const Servicem8ListAllDocumentTemplatesOutput: z.ZodUnknown;
|
|
|
9
9
|
declare const servicem8ListAllDocumentTemplates: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
10
10
|
cursor?: string | undefined;
|
|
11
11
|
filter?: string | undefined;
|
|
12
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
12
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"servicem8", z.ZodObject<{
|
|
13
|
+
connectionId: z.ZodString;
|
|
14
|
+
entityId: z.ZodString;
|
|
15
|
+
instanceId: z.ZodString;
|
|
16
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
17
|
+
accessToken: z.ZodString;
|
|
18
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"servicem8", z.ZodObject<{
|
|
19
|
+
connectionId: z.ZodString;
|
|
20
|
+
entityId: z.ZodString;
|
|
21
|
+
instanceId: z.ZodString;
|
|
22
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
23
|
+
accessToken: z.ZodString;
|
|
24
|
+
}, z.core.$strip>>]>;
|
|
13
25
|
//#endregion
|
|
14
26
|
export { servicem8ListAllDocumentTemplates };
|
|
15
27
|
//# sourceMappingURL=list-all-document-templates.d.cts.map
|
|
@@ -9,7 +9,19 @@ declare const Servicem8ListAllDocumentTemplatesOutput: z.ZodUnknown;
|
|
|
9
9
|
declare const servicem8ListAllDocumentTemplates: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
10
10
|
cursor?: string | undefined;
|
|
11
11
|
filter?: string | undefined;
|
|
12
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
12
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"servicem8", z.ZodObject<{
|
|
13
|
+
connectionId: z.ZodString;
|
|
14
|
+
entityId: z.ZodString;
|
|
15
|
+
instanceId: z.ZodString;
|
|
16
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
17
|
+
accessToken: z.ZodString;
|
|
18
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"servicem8", z.ZodObject<{
|
|
19
|
+
connectionId: z.ZodString;
|
|
20
|
+
entityId: z.ZodString;
|
|
21
|
+
instanceId: z.ZodString;
|
|
22
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
23
|
+
accessToken: z.ZodString;
|
|
24
|
+
}, z.core.$strip>>]>;
|
|
13
25
|
//#endregion
|
|
14
26
|
export { servicem8ListAllDocumentTemplates };
|
|
15
27
|
//# sourceMappingURL=list-all-document-templates.d.mts.map
|
|
@@ -7,7 +7,19 @@ declare const Servicem8ListAllFormsInput: z.ZodObject<{
|
|
|
7
7
|
declare const Servicem8ListAllFormsOutput: z.ZodUnknown;
|
|
8
8
|
declare const servicem8ListAllForms: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
9
9
|
filter?: string | undefined;
|
|
10
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
10
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"servicem8", z.ZodObject<{
|
|
11
|
+
connectionId: z.ZodString;
|
|
12
|
+
entityId: z.ZodString;
|
|
13
|
+
instanceId: z.ZodString;
|
|
14
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
15
|
+
accessToken: z.ZodString;
|
|
16
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"servicem8", z.ZodObject<{
|
|
17
|
+
connectionId: z.ZodString;
|
|
18
|
+
entityId: z.ZodString;
|
|
19
|
+
instanceId: z.ZodString;
|
|
20
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
21
|
+
accessToken: z.ZodString;
|
|
22
|
+
}, z.core.$strip>>]>;
|
|
11
23
|
//#endregion
|
|
12
24
|
export { servicem8ListAllForms };
|
|
13
25
|
//# sourceMappingURL=list-all-forms.d.cts.map
|
|
@@ -7,7 +7,19 @@ declare const Servicem8ListAllFormsInput: z.ZodObject<{
|
|
|
7
7
|
declare const Servicem8ListAllFormsOutput: z.ZodUnknown;
|
|
8
8
|
declare const servicem8ListAllForms: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
9
9
|
filter?: string | undefined;
|
|
10
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
10
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"servicem8", z.ZodObject<{
|
|
11
|
+
connectionId: z.ZodString;
|
|
12
|
+
entityId: z.ZodString;
|
|
13
|
+
instanceId: z.ZodString;
|
|
14
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
15
|
+
accessToken: z.ZodString;
|
|
16
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"servicem8", z.ZodObject<{
|
|
17
|
+
connectionId: z.ZodString;
|
|
18
|
+
entityId: z.ZodString;
|
|
19
|
+
instanceId: z.ZodString;
|
|
20
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
21
|
+
accessToken: z.ZodString;
|
|
22
|
+
}, z.core.$strip>>]>;
|
|
11
23
|
//#endregion
|
|
12
24
|
export { servicem8ListAllForms };
|
|
13
25
|
//# sourceMappingURL=list-all-forms.d.mts.map
|
|
@@ -14,11 +14,11 @@ const Servicem8ListAllJobNotes_NoteSchema = zod.z.object({
|
|
|
14
14
|
timestamp: zod.z.string().describe("Timestamp when the note was created (YYYY-MM-DD HH:MM:SS format, mapped from create_date).").nullable(),
|
|
15
15
|
related_object: zod.z.string().describe("Type of object this note is related to (typically 'job' for job notes).").nullable().optional(),
|
|
16
16
|
created_by_staff_uuid: zod.z.string().describe("UUID of the staff member who created or last edited the note (mapped from edit_by_staff_uuid).").nullable().optional()
|
|
17
|
-
}).describe("A ServiceM8 job note record.");
|
|
17
|
+
}).passthrough().describe("A ServiceM8 job note record.");
|
|
18
18
|
const Servicem8ListAllJobNotesOutput = zod.z.object({
|
|
19
19
|
notes: zod.z.array(Servicem8ListAllJobNotes_NoteSchema).describe("List of job note records."),
|
|
20
20
|
next_cursor: zod.z.string().describe("Cursor for fetching the next page of results. If None/null, there are no more pages. Pass this value as the 'cursor' parameter in the next request.").nullable().optional()
|
|
21
|
-
}).describe("Response model for listing all job notes.");
|
|
21
|
+
}).passthrough().describe("Response model for listing all job notes.");
|
|
22
22
|
const servicem8ListAllJobNotes = require_action.action("SERVICEM8_LIST_ALL_JOB_NOTES", {
|
|
23
23
|
slug: "servicem8-list-all-job-notes",
|
|
24
24
|
name: "List All Job Notes",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-all-job-notes.cjs","names":["z","action"],"sources":["../../src/actions/list-all-job-notes.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const Servicem8ListAllJobNotesInput = z.object({\n cursor: z.string().describe(\"Cursor for pagination. Use '-1' for the first page. For subsequent pages, use the 'next_cursor' value from the previous response. Each page returns up to 5,000 records.\").optional(),\n filter: z.string().describe(\"OData filter expression to filter notes. Common filters include: 'related_object_uuid eq <job_uuid>' to get notes for a specific job, 'active eq 1' for active notes only. Use actual API field names (e.g., related_object_uuid, not job_uuid).\").optional(),\n}).describe(\"Request model for listing all job notes. Supports optional filtering and cursor-based pagination.\");\nconst Servicem8ListAllJobNotes_NoteSchema = z.object({\n note: z.string().describe(\"Text content of the note.\").nullable(),\n uuid: z.string().describe(\"Unique identifier for this note.\").nullable(),\n active: z.number().int().describe(\"Active status flag: 1 = active, 0 = deleted/archived.\").nullable(),\n job_uuid: z.string().describe(\"UUID of the job this note is attached to (mapped from related_object_uuid).\").nullable(),\n edit_date: z.string().describe(\"Timestamp when the note was last modified (YYYY-MM-DD HH:MM:SS format).\").nullable().optional(),\n timestamp: z.string().describe(\"Timestamp when the note was created (YYYY-MM-DD HH:MM:SS format, mapped from create_date).\").nullable(),\n related_object: z.string().describe(\"Type of object this note is related to (typically 'job' for job notes).\").nullable().optional(),\n created_by_staff_uuid: z.string().describe(\"UUID of the staff member who created or last edited the note (mapped from edit_by_staff_uuid).\").nullable().optional(),\n}).describe(\"A ServiceM8 job note record.\");\nexport const Servicem8ListAllJobNotesOutput = z.object({\n notes: z.array(Servicem8ListAllJobNotes_NoteSchema).describe(\"List of job note records.\"),\n next_cursor: z.string().describe(\"Cursor for fetching the next page of results. If None/null, there are no more pages. Pass this value as the 'cursor' parameter in the next request.\").nullable().optional(),\n}).describe(\"Response model for listing all job notes.\");\n\nexport const servicem8ListAllJobNotes = action(\"SERVICEM8_LIST_ALL_JOB_NOTES\", {\n slug: \"servicem8-list-all-job-notes\",\n name: \"List All Job Notes\",\n description: \"List all job notes from ServiceM8. Use this tool to: - Retrieve all notes across all jobs (no filter) - Get notes for a specific job using filter: \\\"related_object_uuid eq '<job_uuid>'\\\" - Filter by active status: \\\"active eq 1\\\" for active notes only The response contains a list of note records with their content, timestamps, and associated job UUIDs. For large result sets, use cursor-based pagination: pass cursor='-1' for the first page, then use the 'next_cursor' value from each response to fetch subsequent pages. Each page returns up to 5,000 records.\",\n input: Servicem8ListAllJobNotesInput,\n output: Servicem8ListAllJobNotesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0KAA0K,CAAC,CAAC,SAAS;CACjN,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kPAAkP,CAAC,CAAC,SAAS;AAC3R,CAAC,CAAC,CAAC,SAAS,mGAAmG;AAC/G,MAAM,sCAAsCA,IAAAA,EAAE,OAAO;CACnD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAChE,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,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;CACtH,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9H,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4FAA4F,CAAC,CAAC,SAAS;CACtI,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnI,uBAAuBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gGAAgG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnK,CAAC,CAAC,CAAC,SAAS,8BAA8B;
|
|
1
|
+
{"version":3,"file":"list-all-job-notes.cjs","names":["z","action"],"sources":["../../src/actions/list-all-job-notes.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const Servicem8ListAllJobNotesInput = z.object({\n cursor: z.string().describe(\"Cursor for pagination. Use '-1' for the first page. For subsequent pages, use the 'next_cursor' value from the previous response. Each page returns up to 5,000 records.\").optional(),\n filter: z.string().describe(\"OData filter expression to filter notes. Common filters include: 'related_object_uuid eq <job_uuid>' to get notes for a specific job, 'active eq 1' for active notes only. Use actual API field names (e.g., related_object_uuid, not job_uuid).\").optional(),\n}).describe(\"Request model for listing all job notes. Supports optional filtering and cursor-based pagination.\");\nconst Servicem8ListAllJobNotes_NoteSchema = z.object({\n note: z.string().describe(\"Text content of the note.\").nullable(),\n uuid: z.string().describe(\"Unique identifier for this note.\").nullable(),\n active: z.number().int().describe(\"Active status flag: 1 = active, 0 = deleted/archived.\").nullable(),\n job_uuid: z.string().describe(\"UUID of the job this note is attached to (mapped from related_object_uuid).\").nullable(),\n edit_date: z.string().describe(\"Timestamp when the note was last modified (YYYY-MM-DD HH:MM:SS format).\").nullable().optional(),\n timestamp: z.string().describe(\"Timestamp when the note was created (YYYY-MM-DD HH:MM:SS format, mapped from create_date).\").nullable(),\n related_object: z.string().describe(\"Type of object this note is related to (typically 'job' for job notes).\").nullable().optional(),\n created_by_staff_uuid: z.string().describe(\"UUID of the staff member who created or last edited the note (mapped from edit_by_staff_uuid).\").nullable().optional(),\n}).passthrough().describe(\"A ServiceM8 job note record.\");\nexport const Servicem8ListAllJobNotesOutput = z.object({\n notes: z.array(Servicem8ListAllJobNotes_NoteSchema).describe(\"List of job note records.\"),\n next_cursor: z.string().describe(\"Cursor for fetching the next page of results. If None/null, there are no more pages. Pass this value as the 'cursor' parameter in the next request.\").nullable().optional(),\n}).passthrough().describe(\"Response model for listing all job notes.\");\n\nexport const servicem8ListAllJobNotes = action(\"SERVICEM8_LIST_ALL_JOB_NOTES\", {\n slug: \"servicem8-list-all-job-notes\",\n name: \"List All Job Notes\",\n description: \"List all job notes from ServiceM8. Use this tool to: - Retrieve all notes across all jobs (no filter) - Get notes for a specific job using filter: \\\"related_object_uuid eq '<job_uuid>'\\\" - Filter by active status: \\\"active eq 1\\\" for active notes only The response contains a list of note records with their content, timestamps, and associated job UUIDs. For large result sets, use cursor-based pagination: pass cursor='-1' for the first page, then use the 'next_cursor' value from each response to fetch subsequent pages. Each page returns up to 5,000 records.\",\n input: Servicem8ListAllJobNotesInput,\n output: Servicem8ListAllJobNotesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0KAA0K,CAAC,CAAC,SAAS;CACjN,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kPAAkP,CAAC,CAAC,SAAS;AAC3R,CAAC,CAAC,CAAC,SAAS,mGAAmG;AAC/G,MAAM,sCAAsCA,IAAAA,EAAE,OAAO;CACnD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAChE,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,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;CACtH,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9H,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4FAA4F,CAAC,CAAC,SAAS;CACtI,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnI,uBAAuBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gGAAgG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnK,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8BAA8B;AACxD,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,OAAOA,IAAAA,EAAE,MAAM,mCAAmC,CAAC,CAAC,SAAS,2BAA2B;CACxF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qJAAqJ,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9M,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAA2C;AAErE,MAAa,2BAA2BC,eAAAA,OAAO,gCAAgC;CAC7E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -15,13 +15,25 @@ declare const Servicem8ListAllJobNotesOutput: z.ZodObject<{
|
|
|
15
15
|
timestamp: z.ZodNullable<z.ZodString>;
|
|
16
16
|
related_object: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
17
|
created_by_staff_uuid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
-
}, z.core.$
|
|
18
|
+
}, z.core.$loose>>;
|
|
19
19
|
next_cursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
|
-
}, z.core.$
|
|
20
|
+
}, z.core.$loose>;
|
|
21
21
|
declare const servicem8ListAllJobNotes: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
22
22
|
cursor?: string | undefined;
|
|
23
23
|
filter?: string | undefined;
|
|
24
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
24
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"servicem8", z.ZodObject<{
|
|
25
|
+
connectionId: z.ZodString;
|
|
26
|
+
entityId: z.ZodString;
|
|
27
|
+
instanceId: z.ZodString;
|
|
28
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
29
|
+
accessToken: z.ZodString;
|
|
30
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"servicem8", z.ZodObject<{
|
|
31
|
+
connectionId: z.ZodString;
|
|
32
|
+
entityId: z.ZodString;
|
|
33
|
+
instanceId: z.ZodString;
|
|
34
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
35
|
+
accessToken: z.ZodString;
|
|
36
|
+
}, z.core.$strip>>]>;
|
|
25
37
|
//#endregion
|
|
26
38
|
export { servicem8ListAllJobNotes };
|
|
27
39
|
//# sourceMappingURL=list-all-job-notes.d.cts.map
|
|
@@ -15,13 +15,25 @@ declare const Servicem8ListAllJobNotesOutput: z.ZodObject<{
|
|
|
15
15
|
timestamp: z.ZodNullable<z.ZodString>;
|
|
16
16
|
related_object: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
17
|
created_by_staff_uuid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
-
}, z.core.$
|
|
18
|
+
}, z.core.$loose>>;
|
|
19
19
|
next_cursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
|
-
}, z.core.$
|
|
20
|
+
}, z.core.$loose>;
|
|
21
21
|
declare const servicem8ListAllJobNotes: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
22
22
|
cursor?: string | undefined;
|
|
23
23
|
filter?: string | undefined;
|
|
24
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
24
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"servicem8", z.ZodObject<{
|
|
25
|
+
connectionId: z.ZodString;
|
|
26
|
+
entityId: z.ZodString;
|
|
27
|
+
instanceId: z.ZodString;
|
|
28
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
29
|
+
accessToken: z.ZodString;
|
|
30
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"servicem8", z.ZodObject<{
|
|
31
|
+
connectionId: z.ZodString;
|
|
32
|
+
entityId: z.ZodString;
|
|
33
|
+
instanceId: z.ZodString;
|
|
34
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
35
|
+
accessToken: z.ZodString;
|
|
36
|
+
}, z.core.$strip>>]>;
|
|
25
37
|
//#endregion
|
|
26
38
|
export { servicem8ListAllJobNotes };
|
|
27
39
|
//# sourceMappingURL=list-all-job-notes.d.mts.map
|
|
@@ -14,7 +14,7 @@ const Servicem8ListAllJobNotes_NoteSchema = z.object({
|
|
|
14
14
|
timestamp: z.string().describe("Timestamp when the note was created (YYYY-MM-DD HH:MM:SS format, mapped from create_date).").nullable(),
|
|
15
15
|
related_object: z.string().describe("Type of object this note is related to (typically 'job' for job notes).").nullable().optional(),
|
|
16
16
|
created_by_staff_uuid: z.string().describe("UUID of the staff member who created or last edited the note (mapped from edit_by_staff_uuid).").nullable().optional()
|
|
17
|
-
}).describe("A ServiceM8 job note record.");
|
|
17
|
+
}).passthrough().describe("A ServiceM8 job note record.");
|
|
18
18
|
const servicem8ListAllJobNotes = action("SERVICEM8_LIST_ALL_JOB_NOTES", {
|
|
19
19
|
slug: "servicem8-list-all-job-notes",
|
|
20
20
|
name: "List All Job Notes",
|
|
@@ -23,7 +23,7 @@ const servicem8ListAllJobNotes = action("SERVICEM8_LIST_ALL_JOB_NOTES", {
|
|
|
23
23
|
output: z.object({
|
|
24
24
|
notes: z.array(Servicem8ListAllJobNotes_NoteSchema).describe("List of job note records."),
|
|
25
25
|
next_cursor: z.string().describe("Cursor for fetching the next page of results. If None/null, there are no more pages. Pass this value as the 'cursor' parameter in the next request.").nullable().optional()
|
|
26
|
-
}).describe("Response model for listing all job notes.")
|
|
26
|
+
}).passthrough().describe("Response model for listing all job notes.")
|
|
27
27
|
});
|
|
28
28
|
//#endregion
|
|
29
29
|
export { servicem8ListAllJobNotes };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-all-job-notes.mjs","names":[],"sources":["../../src/actions/list-all-job-notes.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const Servicem8ListAllJobNotesInput = z.object({\n cursor: z.string().describe(\"Cursor for pagination. Use '-1' for the first page. For subsequent pages, use the 'next_cursor' value from the previous response. Each page returns up to 5,000 records.\").optional(),\n filter: z.string().describe(\"OData filter expression to filter notes. Common filters include: 'related_object_uuid eq <job_uuid>' to get notes for a specific job, 'active eq 1' for active notes only. Use actual API field names (e.g., related_object_uuid, not job_uuid).\").optional(),\n}).describe(\"Request model for listing all job notes. Supports optional filtering and cursor-based pagination.\");\nconst Servicem8ListAllJobNotes_NoteSchema = z.object({\n note: z.string().describe(\"Text content of the note.\").nullable(),\n uuid: z.string().describe(\"Unique identifier for this note.\").nullable(),\n active: z.number().int().describe(\"Active status flag: 1 = active, 0 = deleted/archived.\").nullable(),\n job_uuid: z.string().describe(\"UUID of the job this note is attached to (mapped from related_object_uuid).\").nullable(),\n edit_date: z.string().describe(\"Timestamp when the note was last modified (YYYY-MM-DD HH:MM:SS format).\").nullable().optional(),\n timestamp: z.string().describe(\"Timestamp when the note was created (YYYY-MM-DD HH:MM:SS format, mapped from create_date).\").nullable(),\n related_object: z.string().describe(\"Type of object this note is related to (typically 'job' for job notes).\").nullable().optional(),\n created_by_staff_uuid: z.string().describe(\"UUID of the staff member who created or last edited the note (mapped from edit_by_staff_uuid).\").nullable().optional(),\n}).describe(\"A ServiceM8 job note record.\");\nexport const Servicem8ListAllJobNotesOutput = z.object({\n notes: z.array(Servicem8ListAllJobNotes_NoteSchema).describe(\"List of job note records.\"),\n next_cursor: z.string().describe(\"Cursor for fetching the next page of results. If None/null, there are no more pages. Pass this value as the 'cursor' parameter in the next request.\").nullable().optional(),\n}).describe(\"Response model for listing all job notes.\");\n\nexport const servicem8ListAllJobNotes = action(\"SERVICEM8_LIST_ALL_JOB_NOTES\", {\n slug: \"servicem8-list-all-job-notes\",\n name: \"List All Job Notes\",\n description: \"List all job notes from ServiceM8. Use this tool to: - Retrieve all notes across all jobs (no filter) - Get notes for a specific job using filter: \\\"related_object_uuid eq '<job_uuid>'\\\" - Filter by active status: \\\"active eq 1\\\" for active notes only The response contains a list of note records with their content, timestamps, and associated job UUIDs. For large result sets, use cursor-based pagination: pass cursor='-1' for the first page, then use the 'next_cursor' value from each response to fetch subsequent pages. Each page returns up to 5,000 records.\",\n input: Servicem8ListAllJobNotesInput,\n output: Servicem8ListAllJobNotesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgC,EAAE,OAAO;CACpD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,0KAA0K,CAAC,CAAC,SAAS;CACjN,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,kPAAkP,CAAC,CAAC,SAAS;AAC3R,CAAC,CAAC,CAAC,SAAS,mGAAmG;AAC/G,MAAM,sCAAsC,EAAE,OAAO;CACnD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAChE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACvE,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CACpG,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;CACtH,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9H,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,4FAA4F,CAAC,CAAC,SAAS;CACtI,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnI,uBAAuB,EAAE,OAAO,CAAC,CAAC,SAAS,gGAAgG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnK,CAAC,CAAC,CAAC,SAAS,8BAA8B;
|
|
1
|
+
{"version":3,"file":"list-all-job-notes.mjs","names":[],"sources":["../../src/actions/list-all-job-notes.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const Servicem8ListAllJobNotesInput = z.object({\n cursor: z.string().describe(\"Cursor for pagination. Use '-1' for the first page. For subsequent pages, use the 'next_cursor' value from the previous response. Each page returns up to 5,000 records.\").optional(),\n filter: z.string().describe(\"OData filter expression to filter notes. Common filters include: 'related_object_uuid eq <job_uuid>' to get notes for a specific job, 'active eq 1' for active notes only. Use actual API field names (e.g., related_object_uuid, not job_uuid).\").optional(),\n}).describe(\"Request model for listing all job notes. Supports optional filtering and cursor-based pagination.\");\nconst Servicem8ListAllJobNotes_NoteSchema = z.object({\n note: z.string().describe(\"Text content of the note.\").nullable(),\n uuid: z.string().describe(\"Unique identifier for this note.\").nullable(),\n active: z.number().int().describe(\"Active status flag: 1 = active, 0 = deleted/archived.\").nullable(),\n job_uuid: z.string().describe(\"UUID of the job this note is attached to (mapped from related_object_uuid).\").nullable(),\n edit_date: z.string().describe(\"Timestamp when the note was last modified (YYYY-MM-DD HH:MM:SS format).\").nullable().optional(),\n timestamp: z.string().describe(\"Timestamp when the note was created (YYYY-MM-DD HH:MM:SS format, mapped from create_date).\").nullable(),\n related_object: z.string().describe(\"Type of object this note is related to (typically 'job' for job notes).\").nullable().optional(),\n created_by_staff_uuid: z.string().describe(\"UUID of the staff member who created or last edited the note (mapped from edit_by_staff_uuid).\").nullable().optional(),\n}).passthrough().describe(\"A ServiceM8 job note record.\");\nexport const Servicem8ListAllJobNotesOutput = z.object({\n notes: z.array(Servicem8ListAllJobNotes_NoteSchema).describe(\"List of job note records.\"),\n next_cursor: z.string().describe(\"Cursor for fetching the next page of results. If None/null, there are no more pages. Pass this value as the 'cursor' parameter in the next request.\").nullable().optional(),\n}).passthrough().describe(\"Response model for listing all job notes.\");\n\nexport const servicem8ListAllJobNotes = action(\"SERVICEM8_LIST_ALL_JOB_NOTES\", {\n slug: \"servicem8-list-all-job-notes\",\n name: \"List All Job Notes\",\n description: \"List all job notes from ServiceM8. Use this tool to: - Retrieve all notes across all jobs (no filter) - Get notes for a specific job using filter: \\\"related_object_uuid eq '<job_uuid>'\\\" - Filter by active status: \\\"active eq 1\\\" for active notes only The response contains a list of note records with their content, timestamps, and associated job UUIDs. For large result sets, use cursor-based pagination: pass cursor='-1' for the first page, then use the 'next_cursor' value from each response to fetch subsequent pages. Each page returns up to 5,000 records.\",\n input: Servicem8ListAllJobNotesInput,\n output: Servicem8ListAllJobNotesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgC,EAAE,OAAO;CACpD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,0KAA0K,CAAC,CAAC,SAAS;CACjN,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,kPAAkP,CAAC,CAAC,SAAS;AAC3R,CAAC,CAAC,CAAC,SAAS,mGAAmG;AAC/G,MAAM,sCAAsC,EAAE,OAAO;CACnD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAChE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACvE,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CACpG,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;CACtH,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9H,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,4FAA4F,CAAC,CAAC,SAAS;CACtI,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnI,uBAAuB,EAAE,OAAO,CAAC,CAAC,SAAS,gGAAgG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnK,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8BAA8B;AAMxD,MAAa,2BAA2B,OAAO,gCAAgC;CAC7E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV4C,EAAE,OAAO;EACrD,OAAO,EAAE,MAAM,mCAAmC,CAAC,CAAC,SAAS,2BAA2B;EACxF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,qJAAqJ,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9M,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAOhB;AACV,CAAC"}
|
|
@@ -3,7 +3,19 @@ import { z } from "zod";
|
|
|
3
3
|
//#region src/actions/list-all-job-queues.d.ts
|
|
4
4
|
declare const Servicem8ListAllJobQueuesInput: z.ZodObject<{}, z.core.$strip>;
|
|
5
5
|
declare const Servicem8ListAllJobQueuesOutput: z.ZodUnknown;
|
|
6
|
-
declare const servicem8ListAllJobQueues: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
6
|
+
declare const servicem8ListAllJobQueues: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"servicem8", z.ZodObject<{
|
|
7
|
+
connectionId: z.ZodString;
|
|
8
|
+
entityId: z.ZodString;
|
|
9
|
+
instanceId: z.ZodString;
|
|
10
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
11
|
+
accessToken: z.ZodString;
|
|
12
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"servicem8", z.ZodObject<{
|
|
13
|
+
connectionId: z.ZodString;
|
|
14
|
+
entityId: z.ZodString;
|
|
15
|
+
instanceId: z.ZodString;
|
|
16
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
17
|
+
accessToken: z.ZodString;
|
|
18
|
+
}, z.core.$strip>>]>;
|
|
7
19
|
//#endregion
|
|
8
20
|
export { servicem8ListAllJobQueues };
|
|
9
21
|
//# sourceMappingURL=list-all-job-queues.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-all-job-queues.d.cts","names":[],"sources":["../../src/actions/list-all-job-queues.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAC9B,+BAAA,EAA+B,CAAA,CAAA,UAAc;AAAA,cAE7C,yBAAA,gCAAyB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,
|
|
1
|
+
{"version":3,"file":"list-all-job-queues.d.cts","names":[],"sources":["../../src/actions/list-all-job-queues.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAC9B,+BAAA,EAA+B,CAAA,CAAA,UAAc;AAAA,cAE7C,yBAAA,gCAAyB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,cAAA,CAAA,CAAA,SAAA"}
|
|
@@ -3,7 +3,19 @@ import { z } from "zod";
|
|
|
3
3
|
//#region src/actions/list-all-job-queues.d.ts
|
|
4
4
|
declare const Servicem8ListAllJobQueuesInput: z.ZodObject<{}, z.core.$strip>;
|
|
5
5
|
declare const Servicem8ListAllJobQueuesOutput: z.ZodUnknown;
|
|
6
|
-
declare const servicem8ListAllJobQueues: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
6
|
+
declare const servicem8ListAllJobQueues: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"servicem8", z.ZodObject<{
|
|
7
|
+
connectionId: z.ZodString;
|
|
8
|
+
entityId: z.ZodString;
|
|
9
|
+
instanceId: z.ZodString;
|
|
10
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
11
|
+
accessToken: z.ZodString;
|
|
12
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"servicem8", z.ZodObject<{
|
|
13
|
+
connectionId: z.ZodString;
|
|
14
|
+
entityId: z.ZodString;
|
|
15
|
+
instanceId: z.ZodString;
|
|
16
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
17
|
+
accessToken: z.ZodString;
|
|
18
|
+
}, z.core.$strip>>]>;
|
|
7
19
|
//#endregion
|
|
8
20
|
export { servicem8ListAllJobQueues };
|
|
9
21
|
//# sourceMappingURL=list-all-job-queues.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-all-job-queues.d.mts","names":[],"sources":["../../src/actions/list-all-job-queues.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAC9B,+BAAA,EAA+B,CAAA,CAAA,UAAc;AAAA,cAE7C,yBAAA,gCAAyB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,
|
|
1
|
+
{"version":3,"file":"list-all-job-queues.d.mts","names":[],"sources":["../../src/actions/list-all-job-queues.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAC9B,+BAAA,EAA+B,CAAA,CAAA,UAAc;AAAA,cAE7C,yBAAA,gCAAyB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,cAAA,CAAA,CAAA,SAAA"}
|
|
@@ -54,8 +54,8 @@ const Servicem8ListAllJobs_JobSchema = zod.z.object({
|
|
|
54
54
|
queue_assigned_staff_uuid: zod.z.string().describe("UUID of staff responsible for the job in the queue.").nullable().optional(),
|
|
55
55
|
completion_actioned_by_uuid: zod.z.string().describe("UUID of staff who marked the job as completed.").nullable().optional(),
|
|
56
56
|
job_is_scheduled_until_stamp: zod.z.string().describe("Timestamp until which the job is scheduled.").nullable().optional()
|
|
57
|
-
});
|
|
58
|
-
const Servicem8ListAllJobsOutput = zod.z.object({ jobs: zod.z.array(Servicem8ListAllJobs_JobSchema).describe("Array of jobs returned by ServiceM8.") }).describe("Response model for listing ServiceM8 jobs.");
|
|
57
|
+
}).passthrough();
|
|
58
|
+
const Servicem8ListAllJobsOutput = zod.z.object({ jobs: zod.z.array(Servicem8ListAllJobs_JobSchema).describe("Array of jobs returned by ServiceM8.") }).passthrough().describe("Response model for listing ServiceM8 jobs.");
|
|
59
59
|
const servicem8ListAllJobs = require_action.action("SERVICEM8_LIST_ALL_JOBS", {
|
|
60
60
|
slug: "servicem8-list-all-jobs",
|
|
61
61
|
name: "List All Jobs",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-all-jobs.cjs","names":["z","action"],"sources":["../../src/actions/list-all-jobs.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const Servicem8ListAllJobsInput = z.object({\n filter: z.string().describe(\"OData-style filter expression to narrow down jobs. 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: \\\"status eq 'Completed'\\\", \\\"status eq 'Work Order' and active eq 1\\\", \\\"date gt '2024-01-01'\\\".\").optional(),\n}).describe(\"Query parameters for listing ServiceM8 jobs.\");\nconst Servicem8ListAllJobs_JobSchema = z.object({\n lat: z.number().describe(\"Latitude coordinate of the job location.\").nullable().optional(),\n lng: z.number().describe(\"Longitude coordinate of the job location.\").nullable().optional(),\n date: z.string().describe(\"Date the job was created or scheduled.\").nullable(),\n uuid: z.string().describe(\"Unique identifier for this job record.\").nullable(),\n active: z.number().int().describe(\"Active flag (1 active, 0 deleted).\").nullable().optional(),\n badges: z.string().describe(\"Comma-separated list of badge UUIDs associated with this job.\").nullable().optional(),\n status: z.enum([\"Quote\", \"Work Order\", \"Unsuccessful\", \"Completed\"]).describe(\"Current status of the job.\").nullable(),\n geo_city: z.string().describe(\"City from geocoded address.\").nullable().optional(),\n edit_date: z.string().describe(\"Timestamp at which the record was last modified.\").nullable().optional(),\n geo_state: z.string().describe(\"State from geocoded address.\").nullable().optional(),\n geo_number: z.string().describe(\"House number from geocoded address.\").nullable().optional(),\n geo_street: z.string().describe(\"Street from geocoded address.\").nullable().optional(),\n queue_uuid: z.string().describe(\"UUID of the queue this job is assigned to.\").nullable().optional(),\n quote_date: z.string().describe(\"Timestamp when the job was quoted.\").nullable().optional(),\n quote_sent: z.number().int().describe(\"Boolean flag (0 or 1) indicating if quote was sent.\").nullable().optional(),\n geo_country: z.string().describe(\"Country from geocoded address.\").nullable().optional(),\n job_address: z.string().describe(\"Physical address where the job is to be performed (max length 500).\").nullable().optional(),\n company_uuid: z.string().describe(\"UUID of the client associated with this job.\").nullable(),\n geo_is_valid: z.string().describe(\"Whether geocoding for the job address was successful.\").nullable().optional(),\n geo_postcode: z.string().describe(\"Postal code from geocoded address.\").nullable().optional(),\n invoice_sent: z.string().describe(\"Boolean flag indicating whether an invoice has been sent.\").nullable().optional(),\n payment_date: z.string().describe(\"Payment date (not used; refer to JobPayment endpoint).\").nullable().optional(),\n category_uuid: z.string().describe(\"UUID of the job category.\").nullable().optional(),\n payment_amount: z.string().describe(\"Payment amount (not used; refer to JobPayment endpoint).\").nullable().optional(),\n payment_method: z.string().describe(\"Payment method (not used; refer to JobPayment endpoint).\").nullable().optional(),\n billing_address: z.string().describe(\"Address for invoicing; defaults to job address if not specified.\").nullable().optional(),\n completion_date: z.string().describe(\"Timestamp when the job was marked complete.\").nullable().optional(),\n job_description: z.string().describe(\"Description of the job.\").nullable().optional(),\n work_order_date: z.string().describe(\"Timestamp when the job became a work order.\").nullable().optional(),\n generated_job_id: z.string().describe(\"System-generated unique job identifier (read-only).\").nullable().optional(),\n payment_received: z.string().describe(\"Flag indicating payment received status.\").nullable().optional(),\n quote_sent_stamp: z.string().describe(\"Timestamp when the quote was sent (YYYY-MM-DD HH:MM:SS).\").nullable().optional(),\n payment_processed: z.string().describe(\"Flag indicating payment processed status.\").nullable().optional(),\n queue_expiry_date: z.string().describe(\"Timestamp when queue assignment expires (YYYY-MM-DD HH:MM:SS).\").nullable().optional(),\n unsuccessful_date: z.string().describe(\"Timestamp when job was marked unsuccessful.\").nullable().optional(),\n invoice_sent_stamp: z.string().describe(\"Timestamp when the invoice was sent (YYYY-MM-DD HH:MM:SS).\").nullable().optional(),\n total_invoice_amount: z.string().describe(\"Total invoiced amount for the job.\").nullable().optional(),\n created_by_staff_uuid: z.string().describe(\"UUID of the staff member who created this job.\").nullable().optional(),\n purchase_order_number: z.string().describe(\"Client purchase order reference number (max length 100).\").nullable().optional(),\n work_done_description: z.string().describe(\"Work done description.\").nullable().optional(),\n payment_received_stamp: z.string().describe(\"Timestamp when payment was received.\").nullable().optional(),\n payment_processed_stamp: z.string().describe(\"Timestamp when payment was processed.\").nullable().optional(),\n payment_actioned_by_uuid: z.string().describe(\"UUID of staff who actioned payment (not used).\").nullable().optional(),\n queue_assigned_staff_uuid: z.string().describe(\"UUID of staff responsible for the job in the queue.\").nullable().optional(),\n completion_actioned_by_uuid: z.string().describe(\"UUID of staff who marked the job as completed.\").nullable().optional(),\n job_is_scheduled_until_stamp: z.string().describe(\"Timestamp until which the job is scheduled.\").nullable().optional(),\n});\nexport const Servicem8ListAllJobsOutput = z.object({\n jobs: z.array(Servicem8ListAllJobs_JobSchema).describe(\"Array of jobs returned by ServiceM8.\"),\n}).describe(\"Response model for listing ServiceM8 jobs.\");\n\nexport const servicem8ListAllJobs = action(\"SERVICEM8_LIST_ALL_JOBS\", {\n slug: \"servicem8-list-all-jobs\",\n name: \"List All Jobs\",\n description: \"Tool to list all jobs. Use when you need to fetch all job records from your ServiceM8 account.\",\n input: Servicem8ListAllJobsInput,\n output: Servicem8ListAllJobsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,EAChD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mUAAmU,CAAC,CAAC,SAAS,EAC5W,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAC1D,MAAM,iCAAiCA,IAAAA,EAAE,OAA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E,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3H,uBAAuBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,wBAAwBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,yBAAyBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,0BAA0BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpH,2BAA2BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1H,6BAA6BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvH,8BAA8BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvH,CAAC;AACD,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,EACjD,MAAMA,IAAAA,EAAE,MAAM,8BAA8B,CAAC,CAAC,SAAS,sCAAsC,EAC/F,CAAC,CAAC,CAAC,SAAS,4CAA4C;AAExD,MAAa,uBAAuBC,eAAAA,OAAO,2BAA2B;CACpE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
1
|
+
{"version":3,"file":"list-all-jobs.cjs","names":["z","action"],"sources":["../../src/actions/list-all-jobs.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const Servicem8ListAllJobsInput = z.object({\n filter: z.string().describe(\"OData-style filter expression to narrow down jobs. 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: \\\"status eq 'Completed'\\\", \\\"status eq 'Work Order' and active eq 1\\\", \\\"date gt '2024-01-01'\\\".\").optional(),\n}).describe(\"Query parameters for listing ServiceM8 jobs.\");\nconst Servicem8ListAllJobs_JobSchema = z.object({\n lat: z.number().describe(\"Latitude coordinate of the job location.\").nullable().optional(),\n lng: z.number().describe(\"Longitude coordinate of the job location.\").nullable().optional(),\n date: z.string().describe(\"Date the job was created or scheduled.\").nullable(),\n uuid: z.string().describe(\"Unique identifier for this job record.\").nullable(),\n active: z.number().int().describe(\"Active flag (1 active, 0 deleted).\").nullable().optional(),\n badges: z.string().describe(\"Comma-separated list of badge UUIDs associated with this job.\").nullable().optional(),\n status: z.enum([\"Quote\", \"Work Order\", \"Unsuccessful\", \"Completed\"]).describe(\"Current status of the job.\").nullable(),\n geo_city: z.string().describe(\"City from geocoded address.\").nullable().optional(),\n edit_date: z.string().describe(\"Timestamp at which the record was last modified.\").nullable().optional(),\n geo_state: z.string().describe(\"State from geocoded address.\").nullable().optional(),\n geo_number: z.string().describe(\"House number from geocoded address.\").nullable().optional(),\n geo_street: z.string().describe(\"Street from geocoded address.\").nullable().optional(),\n queue_uuid: z.string().describe(\"UUID of the queue this job is assigned to.\").nullable().optional(),\n quote_date: z.string().describe(\"Timestamp when the job was quoted.\").nullable().optional(),\n quote_sent: z.number().int().describe(\"Boolean flag (0 or 1) indicating if quote was sent.\").nullable().optional(),\n geo_country: z.string().describe(\"Country from geocoded address.\").nullable().optional(),\n job_address: z.string().describe(\"Physical address where the job is to be performed (max length 500).\").nullable().optional(),\n company_uuid: z.string().describe(\"UUID of the client associated with this job.\").nullable(),\n geo_is_valid: z.string().describe(\"Whether geocoding for the job address was successful.\").nullable().optional(),\n geo_postcode: z.string().describe(\"Postal code from geocoded address.\").nullable().optional(),\n invoice_sent: z.string().describe(\"Boolean flag indicating whether an invoice has been sent.\").nullable().optional(),\n payment_date: z.string().describe(\"Payment date (not used; refer to JobPayment endpoint).\").nullable().optional(),\n category_uuid: z.string().describe(\"UUID of the job category.\").nullable().optional(),\n payment_amount: z.string().describe(\"Payment amount (not used; refer to JobPayment endpoint).\").nullable().optional(),\n payment_method: z.string().describe(\"Payment method (not used; refer to JobPayment endpoint).\").nullable().optional(),\n billing_address: z.string().describe(\"Address for invoicing; defaults to job address if not specified.\").nullable().optional(),\n completion_date: z.string().describe(\"Timestamp when the job was marked complete.\").nullable().optional(),\n job_description: z.string().describe(\"Description of the job.\").nullable().optional(),\n work_order_date: z.string().describe(\"Timestamp when the job became a work order.\").nullable().optional(),\n generated_job_id: z.string().describe(\"System-generated unique job identifier (read-only).\").nullable().optional(),\n payment_received: z.string().describe(\"Flag indicating payment received status.\").nullable().optional(),\n quote_sent_stamp: z.string().describe(\"Timestamp when the quote was sent (YYYY-MM-DD HH:MM:SS).\").nullable().optional(),\n payment_processed: z.string().describe(\"Flag indicating payment processed status.\").nullable().optional(),\n queue_expiry_date: z.string().describe(\"Timestamp when queue assignment expires (YYYY-MM-DD HH:MM:SS).\").nullable().optional(),\n unsuccessful_date: z.string().describe(\"Timestamp when job was marked unsuccessful.\").nullable().optional(),\n invoice_sent_stamp: z.string().describe(\"Timestamp when the invoice was sent (YYYY-MM-DD HH:MM:SS).\").nullable().optional(),\n total_invoice_amount: z.string().describe(\"Total invoiced amount for the job.\").nullable().optional(),\n created_by_staff_uuid: z.string().describe(\"UUID of the staff member who created this job.\").nullable().optional(),\n purchase_order_number: z.string().describe(\"Client purchase order reference number (max length 100).\").nullable().optional(),\n work_done_description: z.string().describe(\"Work done description.\").nullable().optional(),\n payment_received_stamp: z.string().describe(\"Timestamp when payment was received.\").nullable().optional(),\n payment_processed_stamp: z.string().describe(\"Timestamp when payment was processed.\").nullable().optional(),\n payment_actioned_by_uuid: z.string().describe(\"UUID of staff who actioned payment (not used).\").nullable().optional(),\n queue_assigned_staff_uuid: z.string().describe(\"UUID of staff responsible for the job in the queue.\").nullable().optional(),\n completion_actioned_by_uuid: z.string().describe(\"UUID of staff who marked the job as completed.\").nullable().optional(),\n job_is_scheduled_until_stamp: z.string().describe(\"Timestamp until which the job is scheduled.\").nullable().optional(),\n}).passthrough();\nexport const Servicem8ListAllJobsOutput = z.object({\n jobs: z.array(Servicem8ListAllJobs_JobSchema).describe(\"Array of jobs returned by ServiceM8.\"),\n}).passthrough().describe(\"Response model for listing ServiceM8 jobs.\");\n\nexport const servicem8ListAllJobs = action(\"SERVICEM8_LIST_ALL_JOBS\", {\n slug: \"servicem8-list-all-jobs\",\n name: \"List All Jobs\",\n description: \"Tool to list all jobs. Use when you need to fetch all job records from your ServiceM8 account.\",\n input: Servicem8ListAllJobsInput,\n output: Servicem8ListAllJobsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,EAChD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mUAAmU,CAAC,CAAC,SAAS,EAC5W,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAC1D,MAAM,iCAAiCA,IAAAA,EAAE,OAAO;CAC9C,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CAC7E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CAC7E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAA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C,CAAC,SAAS;CAC1H,6BAA6BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvH,8BAA8BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvH,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,EACjD,MAAMA,IAAAA,EAAE,MAAM,8BAA8B,CAAC,CAAC,SAAS,sCAAsC,EAC/F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AAEtE,MAAa,uBAAuBC,eAAAA,OAAO,2BAA2B;CACpE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -57,11 +57,23 @@ declare const Servicem8ListAllJobsOutput: z.ZodObject<{
|
|
|
57
57
|
queue_assigned_staff_uuid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
58
58
|
completion_actioned_by_uuid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
59
59
|
job_is_scheduled_until_stamp: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
60
|
-
}, z.core.$
|
|
61
|
-
}, z.core.$
|
|
60
|
+
}, z.core.$loose>>;
|
|
61
|
+
}, z.core.$loose>;
|
|
62
62
|
declare const servicem8ListAllJobs: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
63
63
|
filter?: string | undefined;
|
|
64
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
64
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"servicem8", z.ZodObject<{
|
|
65
|
+
connectionId: z.ZodString;
|
|
66
|
+
entityId: z.ZodString;
|
|
67
|
+
instanceId: z.ZodString;
|
|
68
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
69
|
+
accessToken: z.ZodString;
|
|
70
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"servicem8", z.ZodObject<{
|
|
71
|
+
connectionId: z.ZodString;
|
|
72
|
+
entityId: z.ZodString;
|
|
73
|
+
instanceId: z.ZodString;
|
|
74
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
75
|
+
accessToken: z.ZodString;
|
|
76
|
+
}, z.core.$strip>>]>;
|
|
65
77
|
//#endregion
|
|
66
78
|
export { servicem8ListAllJobs };
|
|
67
79
|
//# sourceMappingURL=list-all-jobs.d.cts.map
|
|
@@ -57,11 +57,23 @@ declare const Servicem8ListAllJobsOutput: z.ZodObject<{
|
|
|
57
57
|
queue_assigned_staff_uuid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
58
58
|
completion_actioned_by_uuid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
59
59
|
job_is_scheduled_until_stamp: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
60
|
-
}, z.core.$
|
|
61
|
-
}, z.core.$
|
|
60
|
+
}, z.core.$loose>>;
|
|
61
|
+
}, z.core.$loose>;
|
|
62
62
|
declare const servicem8ListAllJobs: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
63
63
|
filter?: string | undefined;
|
|
64
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
64
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"servicem8", z.ZodObject<{
|
|
65
|
+
connectionId: z.ZodString;
|
|
66
|
+
entityId: z.ZodString;
|
|
67
|
+
instanceId: z.ZodString;
|
|
68
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
69
|
+
accessToken: z.ZodString;
|
|
70
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"servicem8", z.ZodObject<{
|
|
71
|
+
connectionId: z.ZodString;
|
|
72
|
+
entityId: z.ZodString;
|
|
73
|
+
instanceId: z.ZodString;
|
|
74
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
75
|
+
accessToken: z.ZodString;
|
|
76
|
+
}, z.core.$strip>>]>;
|
|
65
77
|
//#endregion
|
|
66
78
|
export { servicem8ListAllJobs };
|
|
67
79
|
//# sourceMappingURL=list-all-jobs.d.mts.map
|