@keystrokehq/nocrm_io 0.1.0 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/add-a-tag-to-a-lead.cjs +1 -1
- package/dist/actions/add-a-tag-to-a-lead.cjs.map +1 -1
- package/dist/actions/add-a-tag-to-a-lead.d.cts +12 -3
- package/dist/actions/add-a-tag-to-a-lead.d.cts.map +1 -1
- package/dist/actions/add-a-tag-to-a-lead.d.mts +12 -3
- package/dist/actions/add-a-tag-to-a-lead.d.mts.map +1 -1
- package/dist/actions/add-a-tag-to-a-lead.mjs +1 -1
- package/dist/actions/add-a-tag-to-a-lead.mjs.map +1 -1
- package/dist/actions/append-to-leads-description.cjs +11 -11
- package/dist/actions/append-to-leads-description.cjs.map +1 -1
- package/dist/actions/append-to-leads-description.d.cts +43 -3
- package/dist/actions/append-to-leads-description.d.cts.map +1 -1
- package/dist/actions/append-to-leads-description.d.mts +43 -3
- package/dist/actions/append-to-leads-description.d.mts.map +1 -1
- package/dist/actions/append-to-leads-description.mjs +11 -11
- package/dist/actions/append-to-leads-description.mjs.map +1 -1
- package/dist/actions/assign-lead-to-user.cjs +4 -4
- package/dist/actions/assign-lead-to-user.cjs.map +1 -1
- package/dist/actions/assign-lead-to-user.d.cts +13 -3
- package/dist/actions/assign-lead-to-user.d.cts.map +1 -1
- package/dist/actions/assign-lead-to-user.d.mts +13 -3
- package/dist/actions/assign-lead-to-user.d.mts.map +1 -1
- package/dist/actions/assign-lead-to-user.mjs +4 -4
- package/dist/actions/assign-lead-to-user.mjs.map +1 -1
- package/dist/actions/change-lead-status-cancelled.cjs +4 -4
- package/dist/actions/change-lead-status-cancelled.cjs.map +1 -1
- package/dist/actions/change-lead-status-cancelled.d.cts +11 -3
- package/dist/actions/change-lead-status-cancelled.d.cts.map +1 -1
- package/dist/actions/change-lead-status-cancelled.d.mts +11 -3
- package/dist/actions/change-lead-status-cancelled.d.mts.map +1 -1
- package/dist/actions/change-lead-status-cancelled.mjs +4 -4
- package/dist/actions/change-lead-status-cancelled.mjs.map +1 -1
- package/dist/actions/change-lead-status-standby.cjs.map +1 -1
- package/dist/actions/change-lead-status-standby.d.cts +11 -3
- package/dist/actions/change-lead-status-standby.d.cts.map +1 -1
- package/dist/actions/change-lead-status-standby.d.mts +11 -3
- package/dist/actions/change-lead-status-standby.d.mts.map +1 -1
- package/dist/actions/change-lead-status-standby.mjs.map +1 -1
- package/dist/actions/create-lead.cjs +10 -10
- package/dist/actions/create-lead.cjs.map +1 -1
- package/dist/actions/create-lead.d.cts +49 -3
- package/dist/actions/create-lead.d.cts.map +1 -1
- package/dist/actions/create-lead.d.mts +49 -3
- package/dist/actions/create-lead.d.mts.map +1 -1
- package/dist/actions/create-lead.mjs +10 -10
- package/dist/actions/create-lead.mjs.map +1 -1
- package/dist/actions/delete-lead.cjs +1 -1
- package/dist/actions/delete-lead.cjs.map +1 -1
- package/dist/actions/delete-lead.d.cts +9 -3
- package/dist/actions/delete-lead.d.cts.map +1 -1
- package/dist/actions/delete-lead.d.mts +9 -3
- package/dist/actions/delete-lead.d.mts.map +1 -1
- package/dist/actions/delete-lead.mjs +1 -1
- package/dist/actions/delete-lead.mjs.map +1 -1
- package/dist/actions/duplicate-lead.cjs +7 -7
- package/dist/actions/duplicate-lead.cjs.map +1 -1
- package/dist/actions/duplicate-lead.d.cts +22 -3
- package/dist/actions/duplicate-lead.d.cts.map +1 -1
- package/dist/actions/duplicate-lead.d.mts +22 -3
- package/dist/actions/duplicate-lead.d.mts.map +1 -1
- package/dist/actions/duplicate-lead.mjs +7 -7
- package/dist/actions/duplicate-lead.mjs.map +1 -1
- package/dist/actions/list-all-teams.cjs.map +1 -1
- package/dist/actions/list-all-teams.d.cts +3 -3
- package/dist/actions/list-all-teams.d.cts.map +1 -1
- package/dist/actions/list-all-teams.d.mts +3 -3
- package/dist/actions/list-all-teams.d.mts.map +1 -1
- package/dist/actions/list-all-teams.mjs.map +1 -1
- package/dist/catalog.cjs +13 -1
- package/dist/catalog.cjs.map +1 -1
- package/dist/catalog.d.cts +12 -0
- package/dist/catalog.d.mts +12 -0
- package/dist/catalog.mjs +13 -1
- package/dist/catalog.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"change-lead-status-cancelled.d.cts","names":[],"sources":["../../src/actions/change-lead-status-cancelled.ts"],"mappings":";;;cAIa,qCAAA,
|
|
1
|
+
{"version":3,"file":"change-lead-status-cancelled.d.cts","names":[],"sources":["../../src/actions/change-lead-status-cancelled.ts"],"mappings":";;;cAIa,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;cAGrC,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;;cAMtC,gCAAA,gCAAgC,wBAAA"}
|
|
@@ -1,9 +1,17 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/change-lead-status-cancelled.d.ts
|
|
4
|
-
declare const NocrmIoChangeLeadStatusCancelledInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const NocrmIoChangeLeadStatusCancelledInput: z.ZodObject<{
|
|
5
|
+
lead_id: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const NocrmIoChangeLeadStatusCancelledOutput: z.ZodObject<{
|
|
8
|
+
status: z.ZodNullable<z.ZodString>;
|
|
9
|
+
lead_id: z.ZodNullable<z.ZodString>;
|
|
10
|
+
success: z.ZodNullable<z.ZodBoolean>;
|
|
11
|
+
}, z.core.$loose>;
|
|
12
|
+
declare const nocrmIoChangeLeadStatusCancelled: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
13
|
+
lead_id: string;
|
|
14
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
15
|
//#endregion
|
|
8
16
|
export { nocrmIoChangeLeadStatusCancelled };
|
|
9
17
|
//# sourceMappingURL=change-lead-status-cancelled.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"change-lead-status-cancelled.d.mts","names":[],"sources":["../../src/actions/change-lead-status-cancelled.ts"],"mappings":";;;cAIa,qCAAA,
|
|
1
|
+
{"version":3,"file":"change-lead-status-cancelled.d.mts","names":[],"sources":["../../src/actions/change-lead-status-cancelled.ts"],"mappings":";;;cAIa,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;cAGrC,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;;cAMtC,gCAAA,gCAAgC,wBAAA"}
|
|
@@ -6,10 +6,10 @@ const nocrmIoChangeLeadStatusCancelled = action("NOCRM_IO_CHANGE_LEAD_STATUS_CAN
|
|
|
6
6
|
description: "Tool to change a lead's status to 'Cancelled'. Use after confirming no further follow-up is needed and the lead should be marked as cancelled.",
|
|
7
7
|
input: z.object({ lead_id: z.string().describe("The unique identifier of the lead to update") }).describe("Request parameters for changing a lead's status to 'Cancelled'."),
|
|
8
8
|
output: z.object({
|
|
9
|
-
status: z.string().describe("The new status of the lead, which should be 'cancelled'"),
|
|
10
|
-
lead_id: z.string().describe("The ID of the lead that was updated"),
|
|
11
|
-
success: z.boolean().describe("Indicates whether the operation was successful")
|
|
12
|
-
}).describe("Response schema for a cancelled lead status update.")
|
|
9
|
+
status: z.string().describe("The new status of the lead, which should be 'cancelled'").nullable(),
|
|
10
|
+
lead_id: z.string().describe("The ID of the lead that was updated").nullable(),
|
|
11
|
+
success: z.boolean().describe("Indicates whether the operation was successful").nullable()
|
|
12
|
+
}).passthrough().describe("Response schema for a cancelled lead status update.")
|
|
13
13
|
});
|
|
14
14
|
//#endregion
|
|
15
15
|
export { nocrmIoChangeLeadStatusCancelled };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"change-lead-status-cancelled.mjs","names":[],"sources":["../../src/actions/change-lead-status-cancelled.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NocrmIoChangeLeadStatusCancelledInput
|
|
1
|
+
{"version":3,"file":"change-lead-status-cancelled.mjs","names":[],"sources":["../../src/actions/change-lead-status-cancelled.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NocrmIoChangeLeadStatusCancelledInput = z.object({\n lead_id: z.string().describe(\"The unique identifier of the lead to update\"),\n}).describe(\"Request parameters for changing a lead's status to 'Cancelled'.\");\nexport const NocrmIoChangeLeadStatusCancelledOutput = z.object({\n status: z.string().describe(\"The new status of the lead, which should be 'cancelled'\").nullable(),\n lead_id: z.string().describe(\"The ID of the lead that was updated\").nullable(),\n success: z.boolean().describe(\"Indicates whether the operation was successful\").nullable(),\n}).passthrough().describe(\"Response schema for a cancelled lead status update.\");\n\nexport const nocrmIoChangeLeadStatusCancelled = action(\"NOCRM_IO_CHANGE_LEAD_STATUS_CANCELLED\", {\n slug: \"nocrm_io-change-lead-status-cancelled\",\n name: \"Change Lead Status to Cancelled\",\n description: \"Tool to change a lead's status to 'Cancelled'. Use after confirming no further follow-up is needed and the lead should be marked as cancelled.\",\n input: NocrmIoChangeLeadStatusCancelledInput,\n output: NocrmIoChangeLeadStatusCancelledOutput,\n});\n"],"mappings":";;AAaA,MAAa,mCAAmC,OAAO,yCAAyC;CAC9F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAbmD,EAAE,OAAO,EAC5D,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,EAC5E,CAAC,CAAC,CAAC,SAAS,iEAWH;CACP,QAXoD,EAAE,OAAO;EAC7D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;EAChG,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;EAC7E,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CAC3F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAOhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"change-lead-status-standby.cjs","names":["z","action"],"sources":["../../src/actions/change-lead-status-standby.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NocrmIoChangeLeadStatusStandbyInput
|
|
1
|
+
{"version":3,"file":"change-lead-status-standby.cjs","names":["z","action"],"sources":["../../src/actions/change-lead-status-standby.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NocrmIoChangeLeadStatusStandbyInput = z.object({\n days: z.number().int().describe(\"Number of days to schedule the next reminder; must be a positive integer\"),\n lead_id: z.string().describe(\"The unique identifier of the lead to update\"),\n activity_id: z.number().int().describe(\"Optional activity ID to associate with the reminder\").optional(),\n}).describe(\"Request parameters for changing a lead's status to 'StandBy'.\");\nexport const NocrmIoChangeLeadStatusStandbyOutput = z.record(z.string(), z.unknown()).describe(\"Response schema for a standby lead status update.\");\n\nexport const nocrmIoChangeLeadStatusStandby = action(\"NOCRM_IO_CHANGE_LEAD_STATUS_STANDBY\", {\n slug: \"nocrm_io-change-lead-status-standby\",\n name: \"Change lead status standby\",\n description: \"Tool to change a lead's status to 'StandBy'. Use when scheduling follow-up after determining the next contact should occur in a set number of days.\",\n input: NocrmIoChangeLeadStatusStandbyInput,\n output: NocrmIoChangeLeadStatusStandbyOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAsCA,IAAAA,EAAE,OAAO;CAC1D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0EAA0E;CAC1G,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C;CAC1E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;AACzG,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC3E,MAAa,uCAAuCA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAElJ,MAAa,iCAAiCC,eAAAA,OAAO,uCAAuC;CAC1F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,17 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/change-lead-status-standby.d.ts
|
|
4
|
-
declare const NocrmIoChangeLeadStatusStandbyInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const NocrmIoChangeLeadStatusStandbyInput: z.ZodObject<{
|
|
5
|
+
days: z.ZodNumber;
|
|
6
|
+
lead_id: z.ZodString;
|
|
7
|
+
activity_id: z.ZodOptional<z.ZodNumber>;
|
|
8
|
+
}, z.core.$strip>;
|
|
9
|
+
declare const NocrmIoChangeLeadStatusStandbyOutput: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
10
|
+
declare const nocrmIoChangeLeadStatusStandby: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
11
|
+
days: number;
|
|
12
|
+
lead_id: string;
|
|
13
|
+
activity_id?: number | undefined;
|
|
14
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
15
|
//#endregion
|
|
8
16
|
export { nocrmIoChangeLeadStatusStandby };
|
|
9
17
|
//# sourceMappingURL=change-lead-status-standby.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"change-lead-status-standby.d.cts","names":[],"sources":["../../src/actions/change-lead-status-standby.ts"],"mappings":";;;cAIa,mCAAA,
|
|
1
|
+
{"version":3,"file":"change-lead-status-standby.d.cts","names":[],"sources":["../../src/actions/change-lead-status-standby.ts"],"mappings":";;;cAIa,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;cAKnC,oCAAA,EAAoC,CAAA,CAAA,SAAA,CAAA,CAAA,CAAA,SAAA,EAAA,CAAA,CAAA,UAAA;AAAA,cAEpC,8BAAA,gCAA8B,wBAAA"}
|
|
@@ -1,9 +1,17 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/change-lead-status-standby.d.ts
|
|
4
|
-
declare const NocrmIoChangeLeadStatusStandbyInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const NocrmIoChangeLeadStatusStandbyInput: z.ZodObject<{
|
|
5
|
+
days: z.ZodNumber;
|
|
6
|
+
lead_id: z.ZodString;
|
|
7
|
+
activity_id: z.ZodOptional<z.ZodNumber>;
|
|
8
|
+
}, z.core.$strip>;
|
|
9
|
+
declare const NocrmIoChangeLeadStatusStandbyOutput: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
10
|
+
declare const nocrmIoChangeLeadStatusStandby: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
11
|
+
days: number;
|
|
12
|
+
lead_id: string;
|
|
13
|
+
activity_id?: number | undefined;
|
|
14
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
15
|
//#endregion
|
|
8
16
|
export { nocrmIoChangeLeadStatusStandby };
|
|
9
17
|
//# sourceMappingURL=change-lead-status-standby.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"change-lead-status-standby.d.mts","names":[],"sources":["../../src/actions/change-lead-status-standby.ts"],"mappings":";;;cAIa,mCAAA,
|
|
1
|
+
{"version":3,"file":"change-lead-status-standby.d.mts","names":[],"sources":["../../src/actions/change-lead-status-standby.ts"],"mappings":";;;cAIa,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;cAKnC,oCAAA,EAAoC,CAAA,CAAA,SAAA,CAAA,CAAA,CAAA,SAAA,EAAA,CAAA,CAAA,UAAA;AAAA,cAEpC,8BAAA,gCAA8B,wBAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"change-lead-status-standby.mjs","names":[],"sources":["../../src/actions/change-lead-status-standby.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NocrmIoChangeLeadStatusStandbyInput
|
|
1
|
+
{"version":3,"file":"change-lead-status-standby.mjs","names":[],"sources":["../../src/actions/change-lead-status-standby.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NocrmIoChangeLeadStatusStandbyInput = z.object({\n days: z.number().int().describe(\"Number of days to schedule the next reminder; must be a positive integer\"),\n lead_id: z.string().describe(\"The unique identifier of the lead to update\"),\n activity_id: z.number().int().describe(\"Optional activity ID to associate with the reminder\").optional(),\n}).describe(\"Request parameters for changing a lead's status to 'StandBy'.\");\nexport const NocrmIoChangeLeadStatusStandbyOutput = z.record(z.string(), z.unknown()).describe(\"Response schema for a standby lead status update.\");\n\nexport const nocrmIoChangeLeadStatusStandby = action(\"NOCRM_IO_CHANGE_LEAD_STATUS_STANDBY\", {\n slug: \"nocrm_io-change-lead-status-standby\",\n name: \"Change lead status standby\",\n description: \"Tool to change a lead's status to 'StandBy'. Use when scheduling follow-up after determining the next contact should occur in a set number of days.\",\n input: NocrmIoChangeLeadStatusStandbyInput,\n output: NocrmIoChangeLeadStatusStandbyOutput,\n});\n"],"mappings":";;AAWA,MAAa,iCAAiC,OAAO,uCAAuC;CAC1F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAXiD,EAAE,OAAO;EAC1D,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0EAA0E;EAC1G,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C;EAC1E,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CACzG,CAAC,CAAC,CAAC,SAAS,+DAOH;CACP,QAPkD,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,mDAOrF;AACV,CAAC"}
|
|
@@ -9,23 +9,23 @@ const NocrmIoCreateLeadInput = zod.z.object({
|
|
|
9
9
|
description: zod.z.string().describe("Lead's description, typically containing contact information.").optional()
|
|
10
10
|
}).describe("Request parameters for creating a new lead in noCRM.io.");
|
|
11
11
|
const NocrmIoCreateLeadOutput = zod.z.object({
|
|
12
|
-
id: zod.z.number().int().describe("Unique identifier of the lead."),
|
|
13
|
-
step: zod.z.string().describe("Current step of the lead."),
|
|
12
|
+
id: zod.z.number().int().describe("Unique identifier of the lead.").nullable(),
|
|
13
|
+
step: zod.z.string().describe("Current step of the lead.").nullable(),
|
|
14
14
|
tags: zod.z.array(zod.z.string()).describe("Tags associated with the lead."),
|
|
15
|
-
title: zod.z.string().describe("Title of the lead, usually the company name."),
|
|
15
|
+
title: zod.z.string().describe("Title of the lead, usually the company name.").nullable(),
|
|
16
16
|
amount: zod.z.number().describe("Amount associated with the lead.").nullable().optional(),
|
|
17
|
-
status: zod.z.string().describe("Status of the lead."),
|
|
17
|
+
status: zod.z.string().describe("Status of the lead.").nullable(),
|
|
18
18
|
starred: zod.z.boolean().describe("Indicates if the lead is starred.").nullable().optional(),
|
|
19
|
-
step_id: zod.z.number().int().describe("Identifier of the current step."),
|
|
19
|
+
step_id: zod.z.number().int().describe("Identifier of the current step.").nullable(),
|
|
20
20
|
team_id: zod.z.number().int().describe("Identifier of the team associated with the lead.").nullable().optional(),
|
|
21
21
|
user_id: zod.z.number().int().describe("Identifier of the user assigned to the lead.").nullable().optional(),
|
|
22
22
|
currency: zod.z.string().describe("Currency code of the amount.").nullable().optional(),
|
|
23
23
|
pipeline: zod.z.string().describe("Pipeline associated with the lead.").nullable().optional(),
|
|
24
24
|
closed_at: zod.z.string().describe("Datetime when the lead was closed (if applicable).").nullable().optional(),
|
|
25
25
|
team_name: zod.z.string().describe("Name of the team associated with the lead.").nullable().optional(),
|
|
26
|
-
created_at: zod.z.string().describe("Datetime when the lead was created."),
|
|
27
|
-
updated_at: zod.z.string().describe("Datetime when the lead was last updated."),
|
|
28
|
-
description: zod.z.string().describe("Full text description of the lead."),
|
|
26
|
+
created_at: zod.z.string().describe("Datetime when the lead was created.").nullable(),
|
|
27
|
+
updated_at: zod.z.string().describe("Datetime when the lead was last updated.").nullable(),
|
|
28
|
+
description: zod.z.string().describe("Full text description of the lead.").nullable(),
|
|
29
29
|
probability: zod.z.number().int().describe("Probability percentage of closing the lead.").nullable().optional(),
|
|
30
30
|
remind_date: zod.z.string().describe("Date string (YYYY-MM-DD) for reminder.").nullable().optional(),
|
|
31
31
|
remind_time: zod.z.string().describe("Time string (HH:MM) for reminder.").nullable().optional(),
|
|
@@ -34,9 +34,9 @@ const NocrmIoCreateLeadOutput = zod.z.object({
|
|
|
34
34
|
created_by_id: zod.z.number().int().describe("Identifier of the user who created the lead.").nullable().optional(),
|
|
35
35
|
reminder_note: zod.z.string().describe("Note associated with the reminder.").nullable().optional(),
|
|
36
36
|
next_action_at: zod.z.string().describe("Datetime of the next action in ISO 8601 format.").nullable().optional(),
|
|
37
|
-
attachment_count: zod.z.number().int().describe("Number of attachments associated with the lead."),
|
|
37
|
+
attachment_count: zod.z.number().int().describe("Number of attachments associated with the lead.").nullable(),
|
|
38
38
|
client_folder_id: zod.z.number().int().describe("Identifier of the client folder.").nullable().optional(),
|
|
39
|
-
html_description: zod.z.string().describe("HTML formatted description of the lead."),
|
|
39
|
+
html_description: zod.z.string().describe("HTML formatted description of the lead.").nullable(),
|
|
40
40
|
reminder_duration: zod.z.number().int().describe("Duration of the reminder in minutes.").nullable().optional(),
|
|
41
41
|
client_folder_name: zod.z.string().describe("Name of the client folder.").nullable().optional(),
|
|
42
42
|
reminder_activity_id: zod.z.number().int().describe("Identifier of the reminder activity.").nullable().optional(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-lead.cjs","names":["z","action"],"sources":["../../src/actions/create-lead.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NocrmIoCreateLeadInput
|
|
1
|
+
{"version":3,"file":"create-lead.cjs","names":["z","action"],"sources":["../../src/actions/create-lead.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NocrmIoCreateLeadInput = z.object({\n step: z.string().describe(\"Step's name for the lead.\").optional(),\n tags: z.array(z.string()).describe(\"Tags describing the lead.\").optional(),\n title: z.string().describe(\"Lead's title, usually corresponding to the company name.\"),\n user_id: z.string().describe(\"Email address or ID of the user to assign the lead to. When using USER token, providing this yields an error.\").optional(),\n description: z.string().describe(\"Lead's description, typically containing contact information.\").optional(),\n}).describe(\"Request parameters for creating a new lead in noCRM.io.\");\nexport const NocrmIoCreateLeadOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the lead.\").nullable(),\n step: z.string().describe(\"Current step of the lead.\").nullable(),\n tags: z.array(z.string()).describe(\"Tags associated with the lead.\"),\n title: z.string().describe(\"Title of the lead, usually the company name.\").nullable(),\n amount: z.number().describe(\"Amount associated with the lead.\").nullable().optional(),\n status: z.string().describe(\"Status of the lead.\").nullable(),\n starred: z.boolean().describe(\"Indicates if the lead is starred.\").nullable().optional(),\n step_id: z.number().int().describe(\"Identifier of the current step.\").nullable(),\n team_id: z.number().int().describe(\"Identifier of the team associated with the lead.\").nullable().optional(),\n user_id: z.number().int().describe(\"Identifier of the user assigned to the lead.\").nullable().optional(),\n currency: z.string().describe(\"Currency code of the amount.\").nullable().optional(),\n pipeline: z.string().describe(\"Pipeline associated with the lead.\").nullable().optional(),\n closed_at: z.string().describe(\"Datetime when the lead was closed (if applicable).\").nullable().optional(),\n team_name: z.string().describe(\"Name of the team associated with the lead.\").nullable().optional(),\n created_at: z.string().describe(\"Datetime when the lead was created.\").nullable(),\n updated_at: z.string().describe(\"Datetime when the lead was last updated.\").nullable(),\n description: z.string().describe(\"Full text description of the lead.\").nullable(),\n probability: z.number().int().describe(\"Probability percentage of closing the lead.\").nullable().optional(),\n remind_date: z.string().describe(\"Date string (YYYY-MM-DD) for reminder.\").nullable().optional(),\n remind_time: z.string().describe(\"Time string (HH:MM) for reminder.\").nullable().optional(),\n reminder_at: z.string().describe(\"Datetime of the reminder.\").nullable().optional(),\n created_from: z.string().describe(\"Source from which the lead was created.\").nullable().optional(),\n created_by_id: z.number().int().describe(\"Identifier of the user who created the lead.\").nullable().optional(),\n reminder_note: z.string().describe(\"Note associated with the reminder.\").nullable().optional(),\n next_action_at: z.string().describe(\"Datetime of the next action in ISO 8601 format.\").nullable().optional(),\n attachment_count: z.number().int().describe(\"Number of attachments associated with the lead.\").nullable(),\n client_folder_id: z.number().int().describe(\"Identifier of the client folder.\").nullable().optional(),\n html_description: z.string().describe(\"HTML formatted description of the lead.\").nullable(),\n reminder_duration: z.number().int().describe(\"Duration of the reminder in minutes.\").nullable().optional(),\n client_folder_name: z.string().describe(\"Name of the client folder.\").nullable().optional(),\n reminder_activity_id: z.number().int().describe(\"Identifier of the reminder activity.\").nullable().optional(),\n estimated_closing_date: z.string().describe(\"Estimated closing date (YYYY-MM-DD).\").nullable().optional(),\n reminder_activity_log_id: z.number().int().describe(\"Identifier of the reminder activity log.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for the newly created lead.\");\n\nexport const nocrmIoCreateLead = action(\"NOCRM_IO_CREATE_LEAD\", {\n slug: \"nocrm_io-create-lead\",\n name: \"Create Lead\",\n description: \"Tool to create a new lead. Use when adding a fresh prospect to your pipeline via noCRM.io. Example: Create a lead titled 'ACME Corp' assigned to a user.\",\n input: NocrmIoCreateLeadInput,\n output: NocrmIoCreateLeadOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAyBA,IAAAA,EAAE,OAAO;CAC7C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,C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C9D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,55 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/create-lead.d.ts
|
|
4
|
-
declare const NocrmIoCreateLeadInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const NocrmIoCreateLeadInput: z.ZodObject<{
|
|
5
|
+
step: z.ZodOptional<z.ZodString>;
|
|
6
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
7
|
+
title: z.ZodString;
|
|
8
|
+
user_id: z.ZodOptional<z.ZodString>;
|
|
9
|
+
description: z.ZodOptional<z.ZodString>;
|
|
10
|
+
}, z.core.$strip>;
|
|
11
|
+
declare const NocrmIoCreateLeadOutput: z.ZodObject<{
|
|
12
|
+
id: z.ZodNullable<z.ZodNumber>;
|
|
13
|
+
step: z.ZodNullable<z.ZodString>;
|
|
14
|
+
tags: z.ZodArray<z.ZodString>;
|
|
15
|
+
title: z.ZodNullable<z.ZodString>;
|
|
16
|
+
amount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
17
|
+
status: z.ZodNullable<z.ZodString>;
|
|
18
|
+
starred: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
19
|
+
step_id: z.ZodNullable<z.ZodNumber>;
|
|
20
|
+
team_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
21
|
+
user_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
22
|
+
currency: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
|
+
pipeline: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
|
+
closed_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
|
+
team_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
|
+
created_at: z.ZodNullable<z.ZodString>;
|
|
27
|
+
updated_at: z.ZodNullable<z.ZodString>;
|
|
28
|
+
description: z.ZodNullable<z.ZodString>;
|
|
29
|
+
probability: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
30
|
+
remind_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
31
|
+
remind_time: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
32
|
+
reminder_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
33
|
+
created_from: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
34
|
+
created_by_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
35
|
+
reminder_note: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
36
|
+
next_action_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
37
|
+
attachment_count: z.ZodNullable<z.ZodNumber>;
|
|
38
|
+
client_folder_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
39
|
+
html_description: z.ZodNullable<z.ZodString>;
|
|
40
|
+
reminder_duration: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
41
|
+
client_folder_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
42
|
+
reminder_activity_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
43
|
+
estimated_closing_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
44
|
+
reminder_activity_log_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
45
|
+
}, z.core.$loose>;
|
|
46
|
+
declare const nocrmIoCreateLead: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
47
|
+
title: string;
|
|
48
|
+
step?: string | undefined;
|
|
49
|
+
tags?: string[] | undefined;
|
|
50
|
+
user_id?: string | undefined;
|
|
51
|
+
description?: string | undefined;
|
|
52
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
53
|
//#endregion
|
|
8
54
|
export { nocrmIoCreateLead };
|
|
9
55
|
//# sourceMappingURL=create-lead.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-lead.d.cts","names":[],"sources":["../../src/actions/create-lead.ts"],"mappings":";;;cAIa,sBAAA,
|
|
1
|
+
{"version":3,"file":"create-lead.d.cts","names":[],"sources":["../../src/actions/create-lead.ts"],"mappings":";;;cAIa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;cAOtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAoCvB,iBAAA,gCAAiB,wBAAA"}
|
|
@@ -1,9 +1,55 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/create-lead.d.ts
|
|
4
|
-
declare const NocrmIoCreateLeadInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const NocrmIoCreateLeadInput: z.ZodObject<{
|
|
5
|
+
step: z.ZodOptional<z.ZodString>;
|
|
6
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
7
|
+
title: z.ZodString;
|
|
8
|
+
user_id: z.ZodOptional<z.ZodString>;
|
|
9
|
+
description: z.ZodOptional<z.ZodString>;
|
|
10
|
+
}, z.core.$strip>;
|
|
11
|
+
declare const NocrmIoCreateLeadOutput: z.ZodObject<{
|
|
12
|
+
id: z.ZodNullable<z.ZodNumber>;
|
|
13
|
+
step: z.ZodNullable<z.ZodString>;
|
|
14
|
+
tags: z.ZodArray<z.ZodString>;
|
|
15
|
+
title: z.ZodNullable<z.ZodString>;
|
|
16
|
+
amount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
17
|
+
status: z.ZodNullable<z.ZodString>;
|
|
18
|
+
starred: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
19
|
+
step_id: z.ZodNullable<z.ZodNumber>;
|
|
20
|
+
team_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
21
|
+
user_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
22
|
+
currency: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
|
+
pipeline: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
|
+
closed_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
|
+
team_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
|
+
created_at: z.ZodNullable<z.ZodString>;
|
|
27
|
+
updated_at: z.ZodNullable<z.ZodString>;
|
|
28
|
+
description: z.ZodNullable<z.ZodString>;
|
|
29
|
+
probability: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
30
|
+
remind_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
31
|
+
remind_time: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
32
|
+
reminder_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
33
|
+
created_from: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
34
|
+
created_by_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
35
|
+
reminder_note: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
36
|
+
next_action_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
37
|
+
attachment_count: z.ZodNullable<z.ZodNumber>;
|
|
38
|
+
client_folder_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
39
|
+
html_description: z.ZodNullable<z.ZodString>;
|
|
40
|
+
reminder_duration: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
41
|
+
client_folder_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
42
|
+
reminder_activity_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
43
|
+
estimated_closing_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
44
|
+
reminder_activity_log_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
45
|
+
}, z.core.$loose>;
|
|
46
|
+
declare const nocrmIoCreateLead: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
47
|
+
title: string;
|
|
48
|
+
step?: string | undefined;
|
|
49
|
+
tags?: string[] | undefined;
|
|
50
|
+
user_id?: string | undefined;
|
|
51
|
+
description?: string | undefined;
|
|
52
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
53
|
//#endregion
|
|
8
54
|
export { nocrmIoCreateLead };
|
|
9
55
|
//# sourceMappingURL=create-lead.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-lead.d.mts","names":[],"sources":["../../src/actions/create-lead.ts"],"mappings":";;;cAIa,sBAAA,
|
|
1
|
+
{"version":3,"file":"create-lead.d.mts","names":[],"sources":["../../src/actions/create-lead.ts"],"mappings":";;;cAIa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;cAOtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAoCvB,iBAAA,gCAAiB,wBAAA"}
|
|
@@ -12,23 +12,23 @@ const nocrmIoCreateLead = action("NOCRM_IO_CREATE_LEAD", {
|
|
|
12
12
|
description: z.string().describe("Lead's description, typically containing contact information.").optional()
|
|
13
13
|
}).describe("Request parameters for creating a new lead in noCRM.io."),
|
|
14
14
|
output: z.object({
|
|
15
|
-
id: z.number().int().describe("Unique identifier of the lead."),
|
|
16
|
-
step: z.string().describe("Current step of the lead."),
|
|
15
|
+
id: z.number().int().describe("Unique identifier of the lead.").nullable(),
|
|
16
|
+
step: z.string().describe("Current step of the lead.").nullable(),
|
|
17
17
|
tags: z.array(z.string()).describe("Tags associated with the lead."),
|
|
18
|
-
title: z.string().describe("Title of the lead, usually the company name."),
|
|
18
|
+
title: z.string().describe("Title of the lead, usually the company name.").nullable(),
|
|
19
19
|
amount: z.number().describe("Amount associated with the lead.").nullable().optional(),
|
|
20
|
-
status: z.string().describe("Status of the lead."),
|
|
20
|
+
status: z.string().describe("Status of the lead.").nullable(),
|
|
21
21
|
starred: z.boolean().describe("Indicates if the lead is starred.").nullable().optional(),
|
|
22
|
-
step_id: z.number().int().describe("Identifier of the current step."),
|
|
22
|
+
step_id: z.number().int().describe("Identifier of the current step.").nullable(),
|
|
23
23
|
team_id: z.number().int().describe("Identifier of the team associated with the lead.").nullable().optional(),
|
|
24
24
|
user_id: z.number().int().describe("Identifier of the user assigned to the lead.").nullable().optional(),
|
|
25
25
|
currency: z.string().describe("Currency code of the amount.").nullable().optional(),
|
|
26
26
|
pipeline: z.string().describe("Pipeline associated with the lead.").nullable().optional(),
|
|
27
27
|
closed_at: z.string().describe("Datetime when the lead was closed (if applicable).").nullable().optional(),
|
|
28
28
|
team_name: z.string().describe("Name of the team associated with the lead.").nullable().optional(),
|
|
29
|
-
created_at: z.string().describe("Datetime when the lead was created."),
|
|
30
|
-
updated_at: z.string().describe("Datetime when the lead was last updated."),
|
|
31
|
-
description: z.string().describe("Full text description of the lead."),
|
|
29
|
+
created_at: z.string().describe("Datetime when the lead was created.").nullable(),
|
|
30
|
+
updated_at: z.string().describe("Datetime when the lead was last updated.").nullable(),
|
|
31
|
+
description: z.string().describe("Full text description of the lead.").nullable(),
|
|
32
32
|
probability: z.number().int().describe("Probability percentage of closing the lead.").nullable().optional(),
|
|
33
33
|
remind_date: z.string().describe("Date string (YYYY-MM-DD) for reminder.").nullable().optional(),
|
|
34
34
|
remind_time: z.string().describe("Time string (HH:MM) for reminder.").nullable().optional(),
|
|
@@ -37,9 +37,9 @@ const nocrmIoCreateLead = action("NOCRM_IO_CREATE_LEAD", {
|
|
|
37
37
|
created_by_id: z.number().int().describe("Identifier of the user who created the lead.").nullable().optional(),
|
|
38
38
|
reminder_note: z.string().describe("Note associated with the reminder.").nullable().optional(),
|
|
39
39
|
next_action_at: z.string().describe("Datetime of the next action in ISO 8601 format.").nullable().optional(),
|
|
40
|
-
attachment_count: z.number().int().describe("Number of attachments associated with the lead."),
|
|
40
|
+
attachment_count: z.number().int().describe("Number of attachments associated with the lead.").nullable(),
|
|
41
41
|
client_folder_id: z.number().int().describe("Identifier of the client folder.").nullable().optional(),
|
|
42
|
-
html_description: z.string().describe("HTML formatted description of the lead."),
|
|
42
|
+
html_description: z.string().describe("HTML formatted description of the lead.").nullable(),
|
|
43
43
|
reminder_duration: z.number().int().describe("Duration of the reminder in minutes.").nullable().optional(),
|
|
44
44
|
client_folder_name: z.string().describe("Name of the client folder.").nullable().optional(),
|
|
45
45
|
reminder_activity_id: z.number().int().describe("Identifier of the reminder activity.").nullable().optional(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-lead.mjs","names":[],"sources":["../../src/actions/create-lead.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NocrmIoCreateLeadInput
|
|
1
|
+
{"version":3,"file":"create-lead.mjs","names":[],"sources":["../../src/actions/create-lead.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NocrmIoCreateLeadInput = z.object({\n step: z.string().describe(\"Step's name for the lead.\").optional(),\n tags: z.array(z.string()).describe(\"Tags describing the lead.\").optional(),\n title: z.string().describe(\"Lead's title, usually corresponding to the company name.\"),\n user_id: z.string().describe(\"Email address or ID of the user to assign the lead to. When using USER token, providing this yields an error.\").optional(),\n description: z.string().describe(\"Lead's description, typically containing contact information.\").optional(),\n}).describe(\"Request parameters for creating a new lead in noCRM.io.\");\nexport const NocrmIoCreateLeadOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the lead.\").nullable(),\n step: z.string().describe(\"Current step of the lead.\").nullable(),\n tags: z.array(z.string()).describe(\"Tags associated with the lead.\"),\n title: z.string().describe(\"Title of the lead, usually the company name.\").nullable(),\n amount: z.number().describe(\"Amount associated with the lead.\").nullable().optional(),\n status: z.string().describe(\"Status of the lead.\").nullable(),\n starred: z.boolean().describe(\"Indicates if the lead is starred.\").nullable().optional(),\n step_id: z.number().int().describe(\"Identifier of the current step.\").nullable(),\n team_id: z.number().int().describe(\"Identifier of the team associated with the lead.\").nullable().optional(),\n user_id: z.number().int().describe(\"Identifier of the user assigned to the lead.\").nullable().optional(),\n currency: z.string().describe(\"Currency code of the amount.\").nullable().optional(),\n pipeline: z.string().describe(\"Pipeline associated with the lead.\").nullable().optional(),\n closed_at: z.string().describe(\"Datetime when the lead was closed (if applicable).\").nullable().optional(),\n team_name: z.string().describe(\"Name of the team associated with the lead.\").nullable().optional(),\n created_at: z.string().describe(\"Datetime when the lead was created.\").nullable(),\n updated_at: z.string().describe(\"Datetime when the lead was last updated.\").nullable(),\n description: z.string().describe(\"Full text description of the lead.\").nullable(),\n probability: z.number().int().describe(\"Probability percentage of closing the lead.\").nullable().optional(),\n remind_date: z.string().describe(\"Date string (YYYY-MM-DD) for reminder.\").nullable().optional(),\n remind_time: z.string().describe(\"Time string (HH:MM) for reminder.\").nullable().optional(),\n reminder_at: z.string().describe(\"Datetime of the reminder.\").nullable().optional(),\n created_from: z.string().describe(\"Source from which the lead was created.\").nullable().optional(),\n created_by_id: z.number().int().describe(\"Identifier of the user who created the lead.\").nullable().optional(),\n reminder_note: z.string().describe(\"Note associated with the reminder.\").nullable().optional(),\n next_action_at: z.string().describe(\"Datetime of the next action in ISO 8601 format.\").nullable().optional(),\n attachment_count: z.number().int().describe(\"Number of attachments associated with the lead.\").nullable(),\n client_folder_id: z.number().int().describe(\"Identifier of the client folder.\").nullable().optional(),\n html_description: z.string().describe(\"HTML formatted description of the lead.\").nullable(),\n reminder_duration: z.number().int().describe(\"Duration of the reminder in minutes.\").nullable().optional(),\n client_folder_name: z.string().describe(\"Name of the client folder.\").nullable().optional(),\n reminder_activity_id: z.number().int().describe(\"Identifier of the reminder activity.\").nullable().optional(),\n estimated_closing_date: z.string().describe(\"Estimated closing date (YYYY-MM-DD).\").nullable().optional(),\n reminder_activity_log_id: z.number().int().describe(\"Identifier of the reminder activity log.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for the newly created lead.\");\n\nexport const nocrmIoCreateLead = action(\"NOCRM_IO_CREATE_LEAD\", {\n slug: \"nocrm_io-create-lead\",\n name: \"Create Lead\",\n description: \"Tool to create a new lead. Use when adding a fresh prospect to your pipeline via noCRM.io. Example: Create a lead titled 'ACME Corp' assigned to a user.\",\n input: NocrmIoCreateLeadInput,\n output: NocrmIoCreateLeadOutput,\n});\n"],"mappings":";;AA+CA,MAAa,oBAAoB,OAAO,wBAAwB;CAC9D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA/CoC,EAAE,OAAO;EAC7C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;EAChE,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;EACzE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D;EACrF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,+GAA+G,CAAC,CAAC,SAAS;EACvJ,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;CAC7G,CAAC,CAAC,CAAC,SAAS,yDAyCH;CACP,QAzCqC,EAAE,OAAO;EAC9C,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;EACzE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;EAChE,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,gCAAgC;EACnE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;EACpF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpF,QAAQ,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A0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAOhB;AACV,CAAC"}
|
|
@@ -2,7 +2,7 @@ const require_action = require("../action.cjs");
|
|
|
2
2
|
let zod = require("zod");
|
|
3
3
|
//#region src/actions/delete-lead.ts
|
|
4
4
|
const NocrmIoDeleteLeadInput = zod.z.object({ id: zod.z.number().int().describe("Unique identifier of the lead to delete") }).describe("Request parameters for deleting a lead.");
|
|
5
|
-
const NocrmIoDeleteLeadOutput = zod.z.object({ id: zod.z.number().int().describe("The unique identifier of the deleted lead") }).describe("Response schema for the delete lead action.");
|
|
5
|
+
const NocrmIoDeleteLeadOutput = zod.z.object({ id: zod.z.number().int().describe("The unique identifier of the deleted lead").nullable() }).passthrough().describe("Response schema for the delete lead action.");
|
|
6
6
|
const nocrmIoDeleteLead = require_action.action("NOCRM_IO_DELETE_LEAD", {
|
|
7
7
|
slug: "nocrm_io-delete-lead",
|
|
8
8
|
name: "Delete Lead",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-lead.cjs","names":["z","action"],"sources":["../../src/actions/delete-lead.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NocrmIoDeleteLeadInput
|
|
1
|
+
{"version":3,"file":"delete-lead.cjs","names":["z","action"],"sources":["../../src/actions/delete-lead.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NocrmIoDeleteLeadInput = z.object({\n id: z.number().int().describe(\"Unique identifier of the lead to delete\"),\n}).describe(\"Request parameters for deleting a lead.\");\nexport const NocrmIoDeleteLeadOutput = z.object({\n id: z.number().int().describe(\"The unique identifier of the deleted lead\").nullable(),\n}).passthrough().describe(\"Response schema for the delete lead action.\");\n\nexport const nocrmIoDeleteLead = action(\"NOCRM_IO_DELETE_LEAD\", {\n slug: \"nocrm_io-delete-lead\",\n name: \"Delete Lead\",\n description: \"Tool to delete a lead. Use when you need to permanently remove a specific lead after verifying it is no longer needed.\",\n input: NocrmIoDeleteLeadInput,\n output: NocrmIoDeleteLeadOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAyBA,IAAAA,EAAE,OAAO,EAC7C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,EACzE,CAAC,CAAC,CAAC,SAAS,yCAAyC;AACrD,MAAa,0BAA0BA,IAAAA,EAAE,OAAO,EAC9C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,EACtF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AAEvE,MAAa,oBAAoBC,eAAAA,OAAO,wBAAwB;CAC9D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,15 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/delete-lead.d.ts
|
|
4
|
-
declare const NocrmIoDeleteLeadInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const NocrmIoDeleteLeadInput: z.ZodObject<{
|
|
5
|
+
id: z.ZodNumber;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const NocrmIoDeleteLeadOutput: z.ZodObject<{
|
|
8
|
+
id: z.ZodNullable<z.ZodNumber>;
|
|
9
|
+
}, z.core.$loose>;
|
|
10
|
+
declare const nocrmIoDeleteLead: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
11
|
+
id: number;
|
|
12
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
13
|
//#endregion
|
|
8
14
|
export { nocrmIoDeleteLead };
|
|
9
15
|
//# sourceMappingURL=delete-lead.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-lead.d.cts","names":[],"sources":["../../src/actions/delete-lead.ts"],"mappings":";;;cAIa,sBAAA,
|
|
1
|
+
{"version":3,"file":"delete-lead.d.cts","names":[],"sources":["../../src/actions/delete-lead.ts"],"mappings":";;;cAIa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;cAGtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;cAIvB,iBAAA,gCAAiB,wBAAA"}
|
|
@@ -1,9 +1,15 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/delete-lead.d.ts
|
|
4
|
-
declare const NocrmIoDeleteLeadInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const NocrmIoDeleteLeadInput: z.ZodObject<{
|
|
5
|
+
id: z.ZodNumber;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const NocrmIoDeleteLeadOutput: z.ZodObject<{
|
|
8
|
+
id: z.ZodNullable<z.ZodNumber>;
|
|
9
|
+
}, z.core.$loose>;
|
|
10
|
+
declare const nocrmIoDeleteLead: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
11
|
+
id: number;
|
|
12
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
13
|
//#endregion
|
|
8
14
|
export { nocrmIoDeleteLead };
|
|
9
15
|
//# sourceMappingURL=delete-lead.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-lead.d.mts","names":[],"sources":["../../src/actions/delete-lead.ts"],"mappings":";;;cAIa,sBAAA,
|
|
1
|
+
{"version":3,"file":"delete-lead.d.mts","names":[],"sources":["../../src/actions/delete-lead.ts"],"mappings":";;;cAIa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;cAGtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;cAIvB,iBAAA,gCAAiB,wBAAA"}
|
|
@@ -5,7 +5,7 @@ const nocrmIoDeleteLead = action("NOCRM_IO_DELETE_LEAD", {
|
|
|
5
5
|
name: "Delete Lead",
|
|
6
6
|
description: "Tool to delete a lead. Use when you need to permanently remove a specific lead after verifying it is no longer needed.",
|
|
7
7
|
input: z.object({ id: z.number().int().describe("Unique identifier of the lead to delete") }).describe("Request parameters for deleting a lead."),
|
|
8
|
-
output: z.object({ id: z.number().int().describe("The unique identifier of the deleted lead") }).describe("Response schema for the delete lead action.")
|
|
8
|
+
output: z.object({ id: z.number().int().describe("The unique identifier of the deleted lead").nullable() }).passthrough().describe("Response schema for the delete lead action.")
|
|
9
9
|
});
|
|
10
10
|
//#endregion
|
|
11
11
|
export { nocrmIoDeleteLead };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-lead.mjs","names":[],"sources":["../../src/actions/delete-lead.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NocrmIoDeleteLeadInput
|
|
1
|
+
{"version":3,"file":"delete-lead.mjs","names":[],"sources":["../../src/actions/delete-lead.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NocrmIoDeleteLeadInput = z.object({\n id: z.number().int().describe(\"Unique identifier of the lead to delete\"),\n}).describe(\"Request parameters for deleting a lead.\");\nexport const NocrmIoDeleteLeadOutput = z.object({\n id: z.number().int().describe(\"The unique identifier of the deleted lead\").nullable(),\n}).passthrough().describe(\"Response schema for the delete lead action.\");\n\nexport const nocrmIoDeleteLead = action(\"NOCRM_IO_DELETE_LEAD\", {\n slug: \"nocrm_io-delete-lead\",\n name: \"Delete Lead\",\n description: \"Tool to delete a lead. Use when you need to permanently remove a specific lead after verifying it is no longer needed.\",\n input: NocrmIoDeleteLeadInput,\n output: NocrmIoDeleteLeadOutput,\n});\n"],"mappings":";;AAWA,MAAa,oBAAoB,OAAO,wBAAwB;CAC9D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAXoC,EAAE,OAAO,EAC7C,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,EACzE,CAAC,CAAC,CAAC,SAAS,yCASH;CACP,QATqC,EAAE,OAAO,EAC9C,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,EACtF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAOhB;AACV,CAAC"}
|
|
@@ -6,17 +6,17 @@ const NocrmIoDuplicateLeadInput = zod.z.object({
|
|
|
6
6
|
lead_id: zod.z.number().int().describe("Unique identifier of the lead to duplicate.")
|
|
7
7
|
}).describe("Request parameters for duplicating a lead.");
|
|
8
8
|
const NocrmIoDuplicateLeadOutput = zod.z.object({
|
|
9
|
-
id: zod.z.number().int().describe("Unique identifier of the duplicated lead"),
|
|
10
|
-
step: zod.z.string().describe("Pipeline step of the duplicated lead"),
|
|
11
|
-
title: zod.z.string().describe("Title of the lead (usually company or contact name)"),
|
|
9
|
+
id: zod.z.number().int().describe("Unique identifier of the duplicated lead").nullable(),
|
|
10
|
+
step: zod.z.string().describe("Pipeline step of the duplicated lead").nullable(),
|
|
11
|
+
title: zod.z.string().describe("Title of the lead (usually company or contact name)").nullable(),
|
|
12
12
|
amount: zod.z.number().describe("Amount associated with the duplicated lead").nullable().optional(),
|
|
13
|
-
status: zod.z.string().describe("Status of the duplicated lead (todo, standby, won, etc.)"),
|
|
13
|
+
status: zod.z.string().describe("Status of the duplicated lead (todo, standby, won, etc.)").nullable(),
|
|
14
14
|
starred: zod.z.boolean().describe("Whether the lead is starred").nullable().optional(),
|
|
15
|
-
step_id: zod.z.number().int().describe("Identifier of the pipeline step"),
|
|
15
|
+
step_id: zod.z.number().int().describe("Identifier of the pipeline step").nullable(),
|
|
16
16
|
currency: zod.z.string().describe("Currency code for the amount").nullable().optional(),
|
|
17
17
|
pipeline: zod.z.string().describe("Pipeline name of the duplicated lead").nullable().optional(),
|
|
18
|
-
created_at: zod.z.string().describe("Creation timestamp of the duplicated lead"),
|
|
19
|
-
updated_at: zod.z.string().describe("Last update timestamp of the duplicated lead"),
|
|
18
|
+
created_at: zod.z.string().describe("Creation timestamp of the duplicated lead").nullable(),
|
|
19
|
+
updated_at: zod.z.string().describe("Last update timestamp of the duplicated lead").nullable(),
|
|
20
20
|
probability: zod.z.number().int().describe("Probability percentage of winning the lead").nullable().optional()
|
|
21
21
|
}).passthrough().describe("Response schema for the duplicated lead.\nContains the full lead resource after duplication.");
|
|
22
22
|
const nocrmIoDuplicateLead = require_action.action("NOCRM_IO_DUPLICATE_LEAD", {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"duplicate-lead.cjs","names":["z","action"],"sources":["../../src/actions/duplicate-lead.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NocrmIoDuplicateLeadInput
|
|
1
|
+
{"version":3,"file":"duplicate-lead.cjs","names":["z","action"],"sources":["../../src/actions/duplicate-lead.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NocrmIoDuplicateLeadInput = z.object({\n step: z.string().describe(\"Name of the pipeline step for the new duplicated lead. Use after reviewing existing lead details.\"),\n lead_id: z.number().int().describe(\"Unique identifier of the lead to duplicate.\"),\n}).describe(\"Request parameters for duplicating a lead.\");\nexport const NocrmIoDuplicateLeadOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the duplicated lead\").nullable(),\n step: z.string().describe(\"Pipeline step of the duplicated lead\").nullable(),\n title: z.string().describe(\"Title of the lead (usually company or contact name)\").nullable(),\n amount: z.number().describe(\"Amount associated with the duplicated lead\").nullable().optional(),\n status: z.string().describe(\"Status of the duplicated lead (todo, standby, won, etc.)\").nullable(),\n starred: z.boolean().describe(\"Whether the lead is starred\").nullable().optional(),\n step_id: z.number().int().describe(\"Identifier of the pipeline step\").nullable(),\n currency: z.string().describe(\"Currency code for the amount\").nullable().optional(),\n pipeline: z.string().describe(\"Pipeline name of the duplicated lead\").nullable().optional(),\n created_at: z.string().describe(\"Creation timestamp of the duplicated lead\").nullable(),\n updated_at: z.string().describe(\"Last update timestamp of the duplicated lead\").nullable(),\n probability: z.number().int().describe(\"Probability percentage of winning the lead\").nullable().optional(),\n}).passthrough().describe(\"Response schema for the duplicated lead.\\nContains the full lead resource after duplication.\");\n\nexport const nocrmIoDuplicateLead = action(\"NOCRM_IO_DUPLICATE_LEAD\", {\n slug: \"nocrm_io-duplicate-lead\",\n name: \"Duplicate Lead\",\n description: \"Tool to duplicate a lead. Use when cloning an existing lead into a new step without overwriting original.\",\n input: NocrmIoDuplicateLeadInput,\n output: NocrmIoDuplicateLeadOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mGAAmG;CAC7H,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C;AAClF,CAAC,CAAC,CAAC,SAAS,4CAA4C;AACxD,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CACnF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAC3E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CAC3F,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CACjG,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,6BA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