@keystrokehq/nocrm_io 0.1.4 → 0.1.6
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 -0
- package/dist/actions/add-a-tag-to-a-lead.cjs.map +1 -1
- package/dist/actions/add-a-tag-to-a-lead.d.cts +3 -4
- 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 +3 -4
- 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 -0
- package/dist/actions/add-a-tag-to-a-lead.mjs.map +1 -1
- package/dist/actions/append-to-leads-description.cjs +1 -0
- package/dist/actions/append-to-leads-description.cjs.map +1 -1
- package/dist/actions/append-to-leads-description.d.cts +3 -4
- package/dist/actions/append-to-leads-description.d.cts.map +1 -1
- package/dist/actions/append-to-leads-description.d.mts +3 -4
- package/dist/actions/append-to-leads-description.d.mts.map +1 -1
- package/dist/actions/append-to-leads-description.mjs +1 -0
- package/dist/actions/append-to-leads-description.mjs.map +1 -1
- package/dist/actions/assign-lead-to-user.cjs +1 -0
- package/dist/actions/assign-lead-to-user.cjs.map +1 -1
- package/dist/actions/assign-lead-to-user.d.cts +3 -4
- package/dist/actions/assign-lead-to-user.d.cts.map +1 -1
- package/dist/actions/assign-lead-to-user.d.mts +3 -4
- package/dist/actions/assign-lead-to-user.d.mts.map +1 -1
- package/dist/actions/assign-lead-to-user.mjs +1 -0
- package/dist/actions/assign-lead-to-user.mjs.map +1 -1
- package/dist/actions/change-lead-status-cancelled.cjs +1 -0
- package/dist/actions/change-lead-status-cancelled.cjs.map +1 -1
- package/dist/actions/change-lead-status-cancelled.d.cts +3 -3
- package/dist/actions/change-lead-status-cancelled.d.cts.map +1 -1
- package/dist/actions/change-lead-status-cancelled.d.mts +3 -3
- package/dist/actions/change-lead-status-cancelled.d.mts.map +1 -1
- package/dist/actions/change-lead-status-cancelled.mjs +1 -0
- package/dist/actions/change-lead-status-cancelled.mjs.map +1 -1
- package/dist/actions/change-lead-status-standby.cjs +1 -0
- package/dist/actions/change-lead-status-standby.cjs.map +1 -1
- package/dist/actions/change-lead-status-standby.d.cts +3 -5
- package/dist/actions/change-lead-status-standby.d.cts.map +1 -1
- package/dist/actions/change-lead-status-standby.d.mts +3 -5
- package/dist/actions/change-lead-status-standby.d.mts.map +1 -1
- package/dist/actions/change-lead-status-standby.mjs +1 -0
- package/dist/actions/change-lead-status-standby.mjs.map +1 -1
- package/dist/actions/create-lead.cjs +1 -0
- package/dist/actions/create-lead.cjs.map +1 -1
- package/dist/actions/create-lead.d.cts +3 -7
- package/dist/actions/create-lead.d.cts.map +1 -1
- package/dist/actions/create-lead.d.mts +3 -7
- package/dist/actions/create-lead.d.mts.map +1 -1
- package/dist/actions/create-lead.mjs +1 -0
- package/dist/actions/create-lead.mjs.map +1 -1
- package/dist/actions/delete-lead.cjs +1 -0
- package/dist/actions/delete-lead.cjs.map +1 -1
- package/dist/actions/delete-lead.d.cts +3 -3
- package/dist/actions/delete-lead.d.cts.map +1 -1
- package/dist/actions/delete-lead.d.mts +3 -3
- package/dist/actions/delete-lead.d.mts.map +1 -1
- package/dist/actions/delete-lead.mjs +1 -0
- package/dist/actions/delete-lead.mjs.map +1 -1
- package/dist/actions/duplicate-lead.cjs +1 -0
- package/dist/actions/duplicate-lead.cjs.map +1 -1
- package/dist/actions/duplicate-lead.d.cts +3 -4
- package/dist/actions/duplicate-lead.d.cts.map +1 -1
- package/dist/actions/duplicate-lead.d.mts +3 -4
- package/dist/actions/duplicate-lead.d.mts.map +1 -1
- package/dist/actions/duplicate-lead.mjs +1 -0
- package/dist/actions/duplicate-lead.mjs.map +1 -1
- package/dist/actions/list-all-teams.cjs +1 -0
- package/dist/actions/list-all-teams.cjs.map +1 -1
- package/dist/actions/list-all-teams.d.cts +3 -1
- package/dist/actions/list-all-teams.d.cts.map +1 -1
- package/dist/actions/list-all-teams.d.mts +3 -1
- package/dist/actions/list-all-teams.d.mts.map +1 -1
- package/dist/actions/list-all-teams.mjs +1 -0
- package/dist/actions/list-all-teams.mjs.map +1 -1
- package/dist/app.cjs +9 -2
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +8 -1
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +8 -1
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +6 -2
- package/dist/app.mjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/package.json +2 -2
package/dist/action.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"action.cjs","names":["nocrmIo","executeNocrmIoTool"],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { nocrmIo } from \"./app\";\nimport { executeNocrmIoTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output:
|
|
1
|
+
{"version":3,"file":"action.cjs","names":["nocrmIo","executeNocrmIoTool"],"sources":["../src/action.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { nocrmIo } from \"./app\";\nimport { executeNocrmIoTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType, TOutput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: TOutput;\n },\n): AppAction<TInput, TOutput, typeof nocrmIo.credential> {\n return nocrmIo.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output,\n async run(input) {\n return def.output.parse(await executeNocrmIoTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAOA,SAAgB,OACd,MACA,KAOuD;CACvD,OAAOA,YAAAA,QAAQ,OAAO;EACpB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAMC,gBAAAA,mBAAmB,MAAM,KAAgC,CAAC;EAC1F;CACF,CAAC;AACH"}
|
package/dist/action.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { nocrmIo } from \"./app\";\nimport { executeNocrmIoTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output:
|
|
1
|
+
{"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { nocrmIo } from \"./app\";\nimport { executeNocrmIoTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType, TOutput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: TOutput;\n },\n): AppAction<TInput, TOutput, typeof nocrmIo.credential> {\n return nocrmIo.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output,\n async run(input) {\n return def.output.parse(await executeNocrmIoTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAOA,SAAgB,OACd,MACA,KAOuD;CACvD,OAAO,QAAQ,OAAO;EACpB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAM,mBAAmB,MAAM,KAAgC,CAAC;EAC1F;CACF,CAAC;AACH"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"add-a-tag-to-a-lead.cjs","names":["z","action"],"sources":["../../src/actions/add-a-tag-to-a-lead.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NocrmIoAddATagToALeadInput = z.object({\n tag: z.string().describe(\"Tag or comma-separated tags to add to the lead.\"),\n lead_id: z.string().describe(\"The unique identifier of the lead to add the tag to.\"),\n}).describe(\"Request parameters for adding a tag to a lead.\");\nexport const NocrmIoAddATagToALeadOutput = z.object({\n id: z.string().describe(\"The unique identifier of the lead.\").nullable(),\n tags: z.array(z.string()).describe(\"The list of tags assigned to the lead.\"),\n}).passthrough().describe(\"Response schema for a lead after adding a tag.\\nContains the updated list of tags and lead identifier.\");\n\nexport const nocrmIoAddATagToALead = action(\"NOCRM_IO_ADD_A_TAG_TO_A_LEAD\", {\n slug: \"nocrm_io-add-a-tag-to-a-lead\",\n name: \"Add a tag to a lead\",\n description: \"Tool to add a tag to a lead. Use when you need to assign one or more tags to a specified lead via noCRM.io.\",\n input: NocrmIoAddATagToALeadInput,\n output: NocrmIoAddATagToALeadOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"add-a-tag-to-a-lead.cjs","names":["z","action"],"sources":["../../src/actions/add-a-tag-to-a-lead.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { nocrmIo } from \"../app\";\n\nexport const NocrmIoAddATagToALeadInput = z.object({\n tag: z.string().describe(\"Tag or comma-separated tags to add to the lead.\"),\n lead_id: z.string().describe(\"The unique identifier of the lead to add the tag to.\"),\n}).describe(\"Request parameters for adding a tag to a lead.\");\nexport const NocrmIoAddATagToALeadOutput = z.object({\n id: z.string().describe(\"The unique identifier of the lead.\").nullable(),\n tags: z.array(z.string()).describe(\"The list of tags assigned to the lead.\"),\n}).passthrough().describe(\"Response schema for a lead after adding a tag.\\nContains the updated list of tags and lead identifier.\");\n\nexport const nocrmIoAddATagToALead: AppAction<\n typeof NocrmIoAddATagToALeadInput,\n typeof NocrmIoAddATagToALeadOutput,\n typeof nocrmIo.credential\n> = action(\"NOCRM_IO_ADD_A_TAG_TO_A_LEAD\", {\n slug: \"nocrm_io-add-a-tag-to-a-lead\",\n name: \"Add a tag to a lead\",\n description: \"Tool to add a tag to a lead. Use when you need to assign one or more tags to a specified lead via noCRM.io.\",\n input: NocrmIoAddATagToALeadInput,\n output: NocrmIoAddATagToALeadOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;CAC1E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;AACrF,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAC5D,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACvE,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,wCAAwC;AAC7E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wGAAwG;AAElI,MAAa,wBAITC,eAAAA,OAAO,gCAAgC;CACzC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { nocrmIo } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/add-a-tag-to-a-lead.d.ts
|
|
@@ -9,10 +11,7 @@ declare const NocrmIoAddATagToALeadOutput: z.ZodObject<{
|
|
|
9
11
|
id: z.ZodNullable<z.ZodString>;
|
|
10
12
|
tags: z.ZodArray<z.ZodString>;
|
|
11
13
|
}, z.core.$loose>;
|
|
12
|
-
declare const nocrmIoAddATagToALead:
|
|
13
|
-
tag: string;
|
|
14
|
-
lead_id: string;
|
|
15
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
14
|
+
declare const nocrmIoAddATagToALead: AppAction<typeof NocrmIoAddATagToALeadInput, typeof NocrmIoAddATagToALeadOutput, typeof nocrmIo.credential>;
|
|
16
15
|
//#endregion
|
|
17
16
|
export { nocrmIoAddATagToALead };
|
|
18
17
|
//# sourceMappingURL=add-a-tag-to-a-lead.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"add-a-tag-to-a-lead.d.cts","names":[],"sources":["../../src/actions/add-a-tag-to-a-lead.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"add-a-tag-to-a-lead.d.cts","names":[],"sources":["../../src/actions/add-a-tag-to-a-lead.ts"],"mappings":";;;;;cAMa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;cAI1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;cAK3B,qBAAA,EAAuB,SAAA,QAC3B,0BAAA,SACA,2BAAA,SACA,OAAA,CAAQ,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { nocrmIo } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/add-a-tag-to-a-lead.d.ts
|
|
@@ -9,10 +11,7 @@ declare const NocrmIoAddATagToALeadOutput: z.ZodObject<{
|
|
|
9
11
|
id: z.ZodNullable<z.ZodString>;
|
|
10
12
|
tags: z.ZodArray<z.ZodString>;
|
|
11
13
|
}, z.core.$loose>;
|
|
12
|
-
declare const nocrmIoAddATagToALead:
|
|
13
|
-
tag: string;
|
|
14
|
-
lead_id: string;
|
|
15
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
14
|
+
declare const nocrmIoAddATagToALead: AppAction<typeof NocrmIoAddATagToALeadInput, typeof NocrmIoAddATagToALeadOutput, typeof nocrmIo.credential>;
|
|
16
15
|
//#endregion
|
|
17
16
|
export { nocrmIoAddATagToALead };
|
|
18
17
|
//# sourceMappingURL=add-a-tag-to-a-lead.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"add-a-tag-to-a-lead.d.mts","names":[],"sources":["../../src/actions/add-a-tag-to-a-lead.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"add-a-tag-to-a-lead.d.mts","names":[],"sources":["../../src/actions/add-a-tag-to-a-lead.ts"],"mappings":";;;;;cAMa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;cAI1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;cAK3B,qBAAA,EAAuB,SAAA,QAC3B,0BAAA,SACA,2BAAA,SACA,OAAA,CAAQ,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"add-a-tag-to-a-lead.mjs","names":[],"sources":["../../src/actions/add-a-tag-to-a-lead.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NocrmIoAddATagToALeadInput = z.object({\n tag: z.string().describe(\"Tag or comma-separated tags to add to the lead.\"),\n lead_id: z.string().describe(\"The unique identifier of the lead to add the tag to.\"),\n}).describe(\"Request parameters for adding a tag to a lead.\");\nexport const NocrmIoAddATagToALeadOutput = z.object({\n id: z.string().describe(\"The unique identifier of the lead.\").nullable(),\n tags: z.array(z.string()).describe(\"The list of tags assigned to the lead.\"),\n}).passthrough().describe(\"Response schema for a lead after adding a tag.\\nContains the updated list of tags and lead identifier.\");\n\nexport const nocrmIoAddATagToALead = action(\"NOCRM_IO_ADD_A_TAG_TO_A_LEAD\", {\n slug: \"nocrm_io-add-a-tag-to-a-lead\",\n name: \"Add a tag to a lead\",\n description: \"Tool to add a tag to a lead. Use when you need to assign one or more tags to a specified lead via noCRM.io.\",\n input: NocrmIoAddATagToALeadInput,\n output: NocrmIoAddATagToALeadOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"add-a-tag-to-a-lead.mjs","names":[],"sources":["../../src/actions/add-a-tag-to-a-lead.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { nocrmIo } from \"../app\";\n\nexport const NocrmIoAddATagToALeadInput = z.object({\n tag: z.string().describe(\"Tag or comma-separated tags to add to the lead.\"),\n lead_id: z.string().describe(\"The unique identifier of the lead to add the tag to.\"),\n}).describe(\"Request parameters for adding a tag to a lead.\");\nexport const NocrmIoAddATagToALeadOutput = z.object({\n id: z.string().describe(\"The unique identifier of the lead.\").nullable(),\n tags: z.array(z.string()).describe(\"The list of tags assigned to the lead.\"),\n}).passthrough().describe(\"Response schema for a lead after adding a tag.\\nContains the updated list of tags and lead identifier.\");\n\nexport const nocrmIoAddATagToALead: AppAction<\n typeof NocrmIoAddATagToALeadInput,\n typeof NocrmIoAddATagToALeadOutput,\n typeof nocrmIo.credential\n> = action(\"NOCRM_IO_ADD_A_TAG_TO_A_LEAD\", {\n slug: \"nocrm_io-add-a-tag-to-a-lead\",\n name: \"Add a tag to a lead\",\n description: \"Tool to add a tag to a lead. Use when you need to assign one or more tags to a specified lead via noCRM.io.\",\n input: NocrmIoAddATagToALeadInput,\n output: NocrmIoAddATagToALeadOutput,\n});\n"],"mappings":";;;AAeA,MAAa,wBAIT,OAAO,gCAAgC;CACzC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAjBwC,EAAE,OAAO;EACjD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;EAC1E,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;CACrF,CAAC,CAAC,CAAC,SAAS,gDAcH;CACP,QAdyC,EAAE,OAAO;EAClD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;EACvE,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,wCAAwC;CAC7E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wGAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"append-to-leads-description.cjs","names":["z","action"],"sources":["../../src/actions/append-to-leads-description.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NocrmIoAppendToLeadsDescriptionInput = z.object({\n id: z.number().int().describe(\"Unique identifier of the lead to update\"),\n append_desc: z.string().describe(\"Text to append to the lead's description. Cannot be used simultaneously with the `description` parameter.\"),\n});\nexport const NocrmIoAppendToLeadsDescriptionOutput = z.object({\n id: z.number().int().describe(\"Lead ID\").nullable(),\n step: z.string().describe(\"Name of the step for the lead\").nullable(),\n tags: z.array(z.string()).describe(\"Tags associated with the lead\"),\n title: z.string().describe(\"Lead title, usually the company name\").nullable(),\n amount: z.number().describe(\"Monetary amount associated with the lead\").nullable().optional(),\n status: z.string().describe(\"Status of the lead: todo, standby, won, lost, cancelled\").nullable(),\n starred: z.boolean().describe(\"Whether the lead is starred\").nullable().optional(),\n step_id: z.number().int().describe(\"Identifier of the step\").nullable(),\n team_id: z.number().int().describe(\"Team ID assigned to the lead\").nullable().optional(),\n user_id: z.number().int().describe(\"User ID assigned to the lead\").nullable().optional(),\n currency: z.string().describe(\"Currency code of the amount\").nullable().optional(),\n pipeline: z.string().describe(\"Name of the pipeline the lead belongs to\").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 assigned\").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(\"Current full text description of the lead\").nullable(),\n probability: z.number().int().describe(\"Probability percentage of 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 of creation (e.g., api)\").nullable().optional(),\n created_by_id: z.number().int().describe(\"User ID 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\").nullable().optional(),\n attachment_count: z.number().int().describe(\"Number of attachments on the lead\").nullable(),\n client_folder_id: z.number().int().describe(\"Client folder ID, if associated\").nullable().optional(),\n html_description: z.string().describe(\"Current 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(\"Activity ID for the reminder\").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(\"Activity log ID for the reminder\").nullable().optional(),\n}).passthrough();\n\nexport const nocrmIoAppendToLeadsDescription = action(\"NOCRM_IO_APPEND_TO_LEADS_DESCRIPTION\", {\n slug: \"nocrm_io-append-to-leads-description\",\n name: \"Append to lead's description\",\n description: \"Tool to append text to the lead's description. Use when you need to add context incrementally without overwriting. Example: Append 'Left voicemail' to lead 1234.\",\n input: NocrmIoAppendToLeadsDescriptionInput,\n output: NocrmIoAppendToLeadsDescriptionOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"append-to-leads-description.cjs","names":["z","action"],"sources":["../../src/actions/append-to-leads-description.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { nocrmIo } from \"../app\";\n\nexport const NocrmIoAppendToLeadsDescriptionInput = z.object({\n id: z.number().int().describe(\"Unique identifier of the lead to update\"),\n append_desc: z.string().describe(\"Text to append to the lead's description. Cannot be used simultaneously with the `description` parameter.\"),\n});\nexport const NocrmIoAppendToLeadsDescriptionOutput = z.object({\n id: z.number().int().describe(\"Lead ID\").nullable(),\n step: z.string().describe(\"Name of the step for the lead\").nullable(),\n tags: z.array(z.string()).describe(\"Tags associated with the lead\"),\n title: z.string().describe(\"Lead title, usually the company name\").nullable(),\n amount: z.number().describe(\"Monetary amount associated with the lead\").nullable().optional(),\n status: z.string().describe(\"Status of the lead: todo, standby, won, lost, cancelled\").nullable(),\n starred: z.boolean().describe(\"Whether the lead is starred\").nullable().optional(),\n step_id: z.number().int().describe(\"Identifier of the step\").nullable(),\n team_id: z.number().int().describe(\"Team ID assigned to the lead\").nullable().optional(),\n user_id: z.number().int().describe(\"User ID assigned to the lead\").nullable().optional(),\n currency: z.string().describe(\"Currency code of the amount\").nullable().optional(),\n pipeline: z.string().describe(\"Name of the pipeline the lead belongs to\").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 assigned\").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(\"Current full text description of the lead\").nullable(),\n probability: z.number().int().describe(\"Probability percentage of 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 of creation (e.g., api)\").nullable().optional(),\n created_by_id: z.number().int().describe(\"User ID 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\").nullable().optional(),\n attachment_count: z.number().int().describe(\"Number of attachments on the lead\").nullable(),\n client_folder_id: z.number().int().describe(\"Client folder ID, if associated\").nullable().optional(),\n html_description: z.string().describe(\"Current 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(\"Activity ID for the reminder\").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(\"Activity log ID for the reminder\").nullable().optional(),\n}).passthrough();\n\nexport const nocrmIoAppendToLeadsDescription: AppAction<\n typeof NocrmIoAppendToLeadsDescriptionInput,\n typeof NocrmIoAppendToLeadsDescriptionOutput,\n typeof nocrmIo.credential\n> = action(\"NOCRM_IO_APPEND_TO_LEADS_DESCRIPTION\", {\n slug: \"nocrm_io-append-to-leads-description\",\n name: \"Append to lead's description\",\n description: \"Tool to append text to the lead's description. Use when you need to add context incrementally without overwriting. Example: Append 'Left voicemail' to lead 1234.\",\n input: NocrmIoAppendToLeadsDescriptionInput,\n output: NocrmIoAppendToLeadsDescriptionOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,uCAAuCA,IAAAA,EAAE,OAAO;CAC3D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC;CACvE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2GAA2G;AAC9I,CAAC;AACD,MAAa,wCAAwCA,IAAAA,EAAE,OAAO;CAC5D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SA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S,CAAC,CAAC,SAAS;CACnG,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CACjG,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,wBAAwBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,0BAA0BA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9G,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,kCAITC,eAAAA,OAAO,wCAAwC;CACjD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { nocrmIo } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/append-to-leads-description.d.ts
|
|
@@ -40,10 +42,7 @@ declare const NocrmIoAppendToLeadsDescriptionOutput: z.ZodObject<{
|
|
|
40
42
|
estimated_closing_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
41
43
|
reminder_activity_log_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
42
44
|
}, z.core.$loose>;
|
|
43
|
-
declare const nocrmIoAppendToLeadsDescription:
|
|
44
|
-
id: number;
|
|
45
|
-
append_desc: string;
|
|
46
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
45
|
+
declare const nocrmIoAppendToLeadsDescription: AppAction<typeof NocrmIoAppendToLeadsDescriptionInput, typeof NocrmIoAppendToLeadsDescriptionOutput, typeof nocrmIo.credential>;
|
|
47
46
|
//#endregion
|
|
48
47
|
export { nocrmIoAppendToLeadsDescription };
|
|
49
48
|
//# sourceMappingURL=append-to-leads-description.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"append-to-leads-description.d.cts","names":[],"sources":["../../src/actions/append-to-leads-description.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"append-to-leads-description.d.cts","names":[],"sources":["../../src/actions/append-to-leads-description.ts"],"mappings":";;;;;cAMa,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;cAIpC,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAoCrC,+BAAA,EAAiC,SAAA,QACrC,oCAAA,SACA,qCAAA,SACA,OAAA,CAAQ,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { nocrmIo } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/append-to-leads-description.d.ts
|
|
@@ -40,10 +42,7 @@ declare const NocrmIoAppendToLeadsDescriptionOutput: z.ZodObject<{
|
|
|
40
42
|
estimated_closing_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
41
43
|
reminder_activity_log_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
42
44
|
}, z.core.$loose>;
|
|
43
|
-
declare const nocrmIoAppendToLeadsDescription:
|
|
44
|
-
id: number;
|
|
45
|
-
append_desc: string;
|
|
46
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
45
|
+
declare const nocrmIoAppendToLeadsDescription: AppAction<typeof NocrmIoAppendToLeadsDescriptionInput, typeof NocrmIoAppendToLeadsDescriptionOutput, typeof nocrmIo.credential>;
|
|
47
46
|
//#endregion
|
|
48
47
|
export { nocrmIoAppendToLeadsDescription };
|
|
49
48
|
//# sourceMappingURL=append-to-leads-description.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"append-to-leads-description.d.mts","names":[],"sources":["../../src/actions/append-to-leads-description.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"append-to-leads-description.d.mts","names":[],"sources":["../../src/actions/append-to-leads-description.ts"],"mappings":";;;;;cAMa,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;cAIpC,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAoCrC,+BAAA,EAAiC,SAAA,QACrC,oCAAA,SACA,qCAAA,SACA,OAAA,CAAQ,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"append-to-leads-description.mjs","names":[],"sources":["../../src/actions/append-to-leads-description.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NocrmIoAppendToLeadsDescriptionInput = z.object({\n id: z.number().int().describe(\"Unique identifier of the lead to update\"),\n append_desc: z.string().describe(\"Text to append to the lead's description. Cannot be used simultaneously with the `description` parameter.\"),\n});\nexport const NocrmIoAppendToLeadsDescriptionOutput = z.object({\n id: z.number().int().describe(\"Lead ID\").nullable(),\n step: z.string().describe(\"Name of the step for the lead\").nullable(),\n tags: z.array(z.string()).describe(\"Tags associated with the lead\"),\n title: z.string().describe(\"Lead title, usually the company name\").nullable(),\n amount: z.number().describe(\"Monetary amount associated with the lead\").nullable().optional(),\n status: z.string().describe(\"Status of the lead: todo, standby, won, lost, cancelled\").nullable(),\n starred: z.boolean().describe(\"Whether the lead is starred\").nullable().optional(),\n step_id: z.number().int().describe(\"Identifier of the step\").nullable(),\n team_id: z.number().int().describe(\"Team ID assigned to the lead\").nullable().optional(),\n user_id: z.number().int().describe(\"User ID assigned to the lead\").nullable().optional(),\n currency: z.string().describe(\"Currency code of the amount\").nullable().optional(),\n pipeline: z.string().describe(\"Name of the pipeline the lead belongs to\").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 assigned\").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(\"Current full text description of the lead\").nullable(),\n probability: z.number().int().describe(\"Probability percentage of 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 of creation (e.g., api)\").nullable().optional(),\n created_by_id: z.number().int().describe(\"User ID 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\").nullable().optional(),\n attachment_count: z.number().int().describe(\"Number of attachments on the lead\").nullable(),\n client_folder_id: z.number().int().describe(\"Client folder ID, if associated\").nullable().optional(),\n html_description: z.string().describe(\"Current 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(\"Activity ID for the reminder\").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(\"Activity log ID for the reminder\").nullable().optional(),\n}).passthrough();\n\nexport const nocrmIoAppendToLeadsDescription = action(\"NOCRM_IO_APPEND_TO_LEADS_DESCRIPTION\", {\n slug: \"nocrm_io-append-to-leads-description\",\n name: \"Append to lead's description\",\n description: \"Tool to append text to the lead's description. Use when you need to add context incrementally without overwriting. Example: Append 'Left voicemail' to lead 1234.\",\n input: NocrmIoAppendToLeadsDescriptionInput,\n output: NocrmIoAppendToLeadsDescriptionOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"append-to-leads-description.mjs","names":[],"sources":["../../src/actions/append-to-leads-description.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { nocrmIo } from \"../app\";\n\nexport const NocrmIoAppendToLeadsDescriptionInput = z.object({\n id: z.number().int().describe(\"Unique identifier of the lead to update\"),\n append_desc: z.string().describe(\"Text to append to the lead's description. Cannot be used simultaneously with the `description` parameter.\"),\n});\nexport const NocrmIoAppendToLeadsDescriptionOutput = z.object({\n id: z.number().int().describe(\"Lead ID\").nullable(),\n step: z.string().describe(\"Name of the step for the lead\").nullable(),\n tags: z.array(z.string()).describe(\"Tags associated with the lead\"),\n title: z.string().describe(\"Lead title, usually the company name\").nullable(),\n amount: z.number().describe(\"Monetary amount associated with the lead\").nullable().optional(),\n status: z.string().describe(\"Status of the lead: todo, standby, won, lost, cancelled\").nullable(),\n starred: z.boolean().describe(\"Whether the lead is starred\").nullable().optional(),\n step_id: z.number().int().describe(\"Identifier of the step\").nullable(),\n team_id: z.number().int().describe(\"Team ID assigned to the lead\").nullable().optional(),\n user_id: z.number().int().describe(\"User ID assigned to the lead\").nullable().optional(),\n currency: z.string().describe(\"Currency code of the amount\").nullable().optional(),\n pipeline: z.string().describe(\"Name of the pipeline the lead belongs to\").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 assigned\").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(\"Current full text description of the lead\").nullable(),\n probability: z.number().int().describe(\"Probability percentage of 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 of creation (e.g., api)\").nullable().optional(),\n created_by_id: z.number().int().describe(\"User ID 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\").nullable().optional(),\n attachment_count: z.number().int().describe(\"Number of attachments on the lead\").nullable(),\n client_folder_id: z.number().int().describe(\"Client folder ID, if associated\").nullable().optional(),\n html_description: z.string().describe(\"Current 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(\"Activity ID for the reminder\").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(\"Activity log ID for the reminder\").nullable().optional(),\n}).passthrough();\n\nexport const nocrmIoAppendToLeadsDescription: AppAction<\n typeof NocrmIoAppendToLeadsDescriptionInput,\n typeof NocrmIoAppendToLeadsDescriptionOutput,\n typeof nocrmIo.credential\n> = action(\"NOCRM_IO_APPEND_TO_LEADS_DESCRIPTION\", {\n slug: \"nocrm_io-append-to-leads-description\",\n name: \"Append to lead's description\",\n description: \"Tool to append text to the lead's description. Use when you need to add context incrementally without overwriting. Example: Append 'Left voicemail' to lead 1234.\",\n input: NocrmIoAppendToLeadsDescriptionInput,\n output: Nocr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,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;EAC1F,kBAAkB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnG,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;EACjG,mBAAmB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxG,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzF,sBAAsB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpG,wBAAwB,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvG,0BAA0B,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,CAAC,CAAC,CAAC,YAWO;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"assign-lead-to-user.cjs","names":["z","action"],"sources":["../../src/actions/assign-lead-to-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NocrmIoAssignLeadToUserInput = z.object({\n lead_id: z.string().describe(\"Unique identifier of the lead to assign\"),\n user_id: z.string().describe(\"ID or email of the user who will receive the lead\"),\n}).describe(\"Request parameters for assigning a lead to a specific user.\");\nexport const NocrmIoAssignLeadToUserOutput = z.object({\n lead_id: z.string().describe(\"The ID of the lead that was assigned\").nullable(),\n success: z.boolean().describe(\"Indicates whether the operation was successful\").nullable(),\n user_id: z.string().describe(\"The ID of the user to whom the lead was assigned\").nullable(),\n}).passthrough().describe(\"Response schema for lead assignment.\");\n\nexport const nocrmIoAssignLeadToUser = action(\"NOCRM_IO_ASSIGN_LEAD_TO_USER\", {\n slug: \"nocrm_io-assign-lead-to-user\",\n name: \"Assign Lead to User\",\n description: \"Tool to assign a lead to a user. Use when reassigning a lead to the correct owner to trigger assignment notification.\",\n input: NocrmIoAssignLeadToUserInput,\n output: NocrmIoAssignLeadToUserOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"assign-lead-to-user.cjs","names":["z","action"],"sources":["../../src/actions/assign-lead-to-user.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { nocrmIo } from \"../app\";\n\nexport const NocrmIoAssignLeadToUserInput = z.object({\n lead_id: z.string().describe(\"Unique identifier of the lead to assign\"),\n user_id: z.string().describe(\"ID or email of the user who will receive the lead\"),\n}).describe(\"Request parameters for assigning a lead to a specific user.\");\nexport const NocrmIoAssignLeadToUserOutput = z.object({\n lead_id: z.string().describe(\"The ID of the lead that was assigned\").nullable(),\n success: z.boolean().describe(\"Indicates whether the operation was successful\").nullable(),\n user_id: z.string().describe(\"The ID of the user to whom the lead was assigned\").nullable(),\n}).passthrough().describe(\"Response schema for lead assignment.\");\n\nexport const nocrmIoAssignLeadToUser: AppAction<\n typeof NocrmIoAssignLeadToUserInput,\n typeof NocrmIoAssignLeadToUserOutput,\n typeof nocrmIo.credential\n> = action(\"NOCRM_IO_ASSIGN_LEAD_TO_USER\", {\n slug: \"nocrm_io-assign-lead-to-user\",\n name: \"Assign Lead to User\",\n description: \"Tool to assign a lead to a user. Use when reassigning a lead to the correct owner to trigger assignment notification.\",\n input: NocrmIoAssignLeadToUserInput,\n output: NocrmIoAssignLeadToUserOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC;CACtE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD;AAClF,CAAC,CAAC,CAAC,SAAS,6DAA6D;AACzE,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAC9E,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CACzF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;AAC5F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAAsC;AAEhE,MAAa,0BAITC,eAAAA,OAAO,gCAAgC;CACzC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { nocrmIo } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/assign-lead-to-user.d.ts
|
|
@@ -10,10 +12,7 @@ declare const NocrmIoAssignLeadToUserOutput: z.ZodObject<{
|
|
|
10
12
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
11
13
|
user_id: z.ZodNullable<z.ZodString>;
|
|
12
14
|
}, z.core.$loose>;
|
|
13
|
-
declare const nocrmIoAssignLeadToUser:
|
|
14
|
-
lead_id: string;
|
|
15
|
-
user_id: string;
|
|
16
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
15
|
+
declare const nocrmIoAssignLeadToUser: AppAction<typeof NocrmIoAssignLeadToUserInput, typeof NocrmIoAssignLeadToUserOutput, typeof nocrmIo.credential>;
|
|
17
16
|
//#endregion
|
|
18
17
|
export { nocrmIoAssignLeadToUser };
|
|
19
18
|
//# sourceMappingURL=assign-lead-to-user.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"assign-lead-to-user.d.cts","names":[],"sources":["../../src/actions/assign-lead-to-user.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"assign-lead-to-user.d.cts","names":[],"sources":["../../src/actions/assign-lead-to-user.ts"],"mappings":";;;;;cAMa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;cAI5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;cAM7B,uBAAA,EAAyB,SAAA,QAC7B,4BAAA,SACA,6BAAA,SACA,OAAA,CAAQ,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { nocrmIo } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/assign-lead-to-user.d.ts
|
|
@@ -10,10 +12,7 @@ declare const NocrmIoAssignLeadToUserOutput: z.ZodObject<{
|
|
|
10
12
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
11
13
|
user_id: z.ZodNullable<z.ZodString>;
|
|
12
14
|
}, z.core.$loose>;
|
|
13
|
-
declare const nocrmIoAssignLeadToUser:
|
|
14
|
-
lead_id: string;
|
|
15
|
-
user_id: string;
|
|
16
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
15
|
+
declare const nocrmIoAssignLeadToUser: AppAction<typeof NocrmIoAssignLeadToUserInput, typeof NocrmIoAssignLeadToUserOutput, typeof nocrmIo.credential>;
|
|
17
16
|
//#endregion
|
|
18
17
|
export { nocrmIoAssignLeadToUser };
|
|
19
18
|
//# sourceMappingURL=assign-lead-to-user.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"assign-lead-to-user.d.mts","names":[],"sources":["../../src/actions/assign-lead-to-user.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"assign-lead-to-user.d.mts","names":[],"sources":["../../src/actions/assign-lead-to-user.ts"],"mappings":";;;;;cAMa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;cAI5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;cAM7B,uBAAA,EAAyB,SAAA,QAC7B,4BAAA,SACA,6BAAA,SACA,OAAA,CAAQ,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"assign-lead-to-user.mjs","names":[],"sources":["../../src/actions/assign-lead-to-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NocrmIoAssignLeadToUserInput = z.object({\n lead_id: z.string().describe(\"Unique identifier of the lead to assign\"),\n user_id: z.string().describe(\"ID or email of the user who will receive the lead\"),\n}).describe(\"Request parameters for assigning a lead to a specific user.\");\nexport const NocrmIoAssignLeadToUserOutput = z.object({\n lead_id: z.string().describe(\"The ID of the lead that was assigned\").nullable(),\n success: z.boolean().describe(\"Indicates whether the operation was successful\").nullable(),\n user_id: z.string().describe(\"The ID of the user to whom the lead was assigned\").nullable(),\n}).passthrough().describe(\"Response schema for lead assignment.\");\n\nexport const nocrmIoAssignLeadToUser = action(\"NOCRM_IO_ASSIGN_LEAD_TO_USER\", {\n slug: \"nocrm_io-assign-lead-to-user\",\n name: \"Assign Lead to User\",\n description: \"Tool to assign a lead to a user. Use when reassigning a lead to the correct owner to trigger assignment notification.\",\n input: NocrmIoAssignLeadToUserInput,\n output: NocrmIoAssignLeadToUserOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"assign-lead-to-user.mjs","names":[],"sources":["../../src/actions/assign-lead-to-user.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { nocrmIo } from \"../app\";\n\nexport const NocrmIoAssignLeadToUserInput = z.object({\n lead_id: z.string().describe(\"Unique identifier of the lead to assign\"),\n user_id: z.string().describe(\"ID or email of the user who will receive the lead\"),\n}).describe(\"Request parameters for assigning a lead to a specific user.\");\nexport const NocrmIoAssignLeadToUserOutput = z.object({\n lead_id: z.string().describe(\"The ID of the lead that was assigned\").nullable(),\n success: z.boolean().describe(\"Indicates whether the operation was successful\").nullable(),\n user_id: z.string().describe(\"The ID of the user to whom the lead was assigned\").nullable(),\n}).passthrough().describe(\"Response schema for lead assignment.\");\n\nexport const nocrmIoAssignLeadToUser: AppAction<\n typeof NocrmIoAssignLeadToUserInput,\n typeof NocrmIoAssignLeadToUserOutput,\n typeof nocrmIo.credential\n> = action(\"NOCRM_IO_ASSIGN_LEAD_TO_USER\", {\n slug: \"nocrm_io-assign-lead-to-user\",\n name: \"Assign Lead to User\",\n description: \"Tool to assign a lead to a user. Use when reassigning a lead to the correct owner to trigger assignment notification.\",\n input: NocrmIoAssignLeadToUserInput,\n output: NocrmIoAssignLeadToUserOutput,\n});\n"],"mappings":";;;AAgBA,MAAa,0BAIT,OAAO,gCAAgC;CACzC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlB0C,EAAE,OAAO;EACnD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC;EACtE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD;CAClF,CAAC,CAAC,CAAC,SAAS,6DAeH;CACP,QAf2C,EAAE,OAAO;EACpD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;EAC9E,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;EACzF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CAC5F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"change-lead-status-cancelled.cjs","names":["z","action"],"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":"
|
|
1
|
+
{"version":3,"file":"change-lead-status-cancelled.cjs","names":["z","action"],"sources":["../../src/actions/change-lead-status-cancelled.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { nocrmIo } from \"../app\";\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: AppAction<\n typeof NocrmIoChangeLeadStatusCancelledInput,\n typeof NocrmIoChangeLeadStatusCancelledOutput,\n typeof nocrmIo.credential\n> = 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":";;;;AAMA,MAAa,wCAAwCA,IAAAA,EAAE,OAAO,EAC5D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,EAC5E,CAAC,CAAC,CAAC,SAAS,iEAAiE;AAC7E,MAAa,yCAAyCA,IAAAA,EAAE,OAAO;CAC7D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CAChG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC7E,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;AAC3F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAAqD;AAE/E,MAAa,mCAITC,eAAAA,OAAO,yCAAyC;CAClD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { nocrmIo } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/change-lead-status-cancelled.d.ts
|
|
@@ -9,9 +11,7 @@ declare const NocrmIoChangeLeadStatusCancelledOutput: z.ZodObject<{
|
|
|
9
11
|
lead_id: z.ZodNullable<z.ZodString>;
|
|
10
12
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
11
13
|
}, z.core.$loose>;
|
|
12
|
-
declare const nocrmIoChangeLeadStatusCancelled:
|
|
13
|
-
lead_id: string;
|
|
14
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
14
|
+
declare const nocrmIoChangeLeadStatusCancelled: AppAction<typeof NocrmIoChangeLeadStatusCancelledInput, typeof NocrmIoChangeLeadStatusCancelledOutput, typeof nocrmIo.credential>;
|
|
15
15
|
//#endregion
|
|
16
16
|
export { nocrmIoChangeLeadStatusCancelled };
|
|
17
17
|
//# sourceMappingURL=change-lead-status-cancelled.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"change-lead-status-cancelled.d.cts","names":[],"sources":["../../src/actions/change-lead-status-cancelled.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"change-lead-status-cancelled.d.cts","names":[],"sources":["../../src/actions/change-lead-status-cancelled.ts"],"mappings":";;;;;cAMa,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;cAGrC,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;;cAMtC,gCAAA,EAAkC,SAAA,QACtC,qCAAA,SACA,sCAAA,SACA,OAAA,CAAQ,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { nocrmIo } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/change-lead-status-cancelled.d.ts
|
|
@@ -9,9 +11,7 @@ declare const NocrmIoChangeLeadStatusCancelledOutput: z.ZodObject<{
|
|
|
9
11
|
lead_id: z.ZodNullable<z.ZodString>;
|
|
10
12
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
11
13
|
}, z.core.$loose>;
|
|
12
|
-
declare const nocrmIoChangeLeadStatusCancelled:
|
|
13
|
-
lead_id: string;
|
|
14
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
14
|
+
declare const nocrmIoChangeLeadStatusCancelled: AppAction<typeof NocrmIoChangeLeadStatusCancelledInput, typeof NocrmIoChangeLeadStatusCancelledOutput, typeof nocrmIo.credential>;
|
|
15
15
|
//#endregion
|
|
16
16
|
export { nocrmIoChangeLeadStatusCancelled };
|
|
17
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":"
|
|
1
|
+
{"version":3,"file":"change-lead-status-cancelled.d.mts","names":[],"sources":["../../src/actions/change-lead-status-cancelled.ts"],"mappings":";;;;;cAMa,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;cAGrC,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;;cAMtC,gCAAA,EAAkC,SAAA,QACtC,qCAAA,SACA,sCAAA,SACA,OAAA,CAAQ,UAAA"}
|
|
@@ -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 = 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":"
|
|
1
|
+
{"version":3,"file":"change-lead-status-cancelled.mjs","names":[],"sources":["../../src/actions/change-lead-status-cancelled.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { nocrmIo } from \"../app\";\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: AppAction<\n typeof NocrmIoChangeLeadStatusCancelledInput,\n typeof NocrmIoChangeLeadStatusCancelledOutput,\n typeof nocrmIo.credential\n> = 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":";;;AAeA,MAAa,mCAIT,OAAO,yCAAyC;CAClD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAjBmD,EAAE,OAAO,EAC5D,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,EAC5E,CAAC,CAAC,CAAC,SAAS,iEAeH;CACP,QAfoD,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,qDAWhB;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 = 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":"
|
|
1
|
+
{"version":3,"file":"change-lead-status-standby.cjs","names":["z","action"],"sources":["../../src/actions/change-lead-status-standby.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { nocrmIo } from \"../app\";\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: AppAction<\n typeof NocrmIoChangeLeadStatusStandbyInput,\n typeof NocrmIoChangeLeadStatusStandbyOutput,\n typeof nocrmIo.credential\n> = 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":";;;;AAMA,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,iCAITC,eAAAA,OAAO,uCAAuC;CAChD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { nocrmIo } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/change-lead-status-standby.d.ts
|
|
@@ -7,11 +9,7 @@ declare const NocrmIoChangeLeadStatusStandbyInput: z.ZodObject<{
|
|
|
7
9
|
activity_id: z.ZodOptional<z.ZodNumber>;
|
|
8
10
|
}, z.core.$strip>;
|
|
9
11
|
declare const NocrmIoChangeLeadStatusStandbyOutput: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
10
|
-
declare const nocrmIoChangeLeadStatusStandby:
|
|
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]>;
|
|
12
|
+
declare const nocrmIoChangeLeadStatusStandby: AppAction<typeof NocrmIoChangeLeadStatusStandbyInput, typeof NocrmIoChangeLeadStatusStandbyOutput, typeof nocrmIo.credential>;
|
|
15
13
|
//#endregion
|
|
16
14
|
export { nocrmIoChangeLeadStatusStandby };
|
|
17
15
|
//# 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":"
|
|
1
|
+
{"version":3,"file":"change-lead-status-standby.d.cts","names":[],"sources":["../../src/actions/change-lead-status-standby.ts"],"mappings":";;;;;cAMa,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;cAKnC,oCAAA,EAAoC,CAAA,CAAA,SAAA,CAAA,CAAA,CAAA,SAAA,EAAA,CAAA,CAAA,UAAA;AAAA,cAEpC,8BAAA,EAAgC,SAAA,QACpC,mCAAA,SACA,oCAAA,SACA,OAAA,CAAQ,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { nocrmIo } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/change-lead-status-standby.d.ts
|
|
@@ -7,11 +9,7 @@ declare const NocrmIoChangeLeadStatusStandbyInput: z.ZodObject<{
|
|
|
7
9
|
activity_id: z.ZodOptional<z.ZodNumber>;
|
|
8
10
|
}, z.core.$strip>;
|
|
9
11
|
declare const NocrmIoChangeLeadStatusStandbyOutput: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
10
|
-
declare const nocrmIoChangeLeadStatusStandby:
|
|
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]>;
|
|
12
|
+
declare const nocrmIoChangeLeadStatusStandby: AppAction<typeof NocrmIoChangeLeadStatusStandbyInput, typeof NocrmIoChangeLeadStatusStandbyOutput, typeof nocrmIo.credential>;
|
|
15
13
|
//#endregion
|
|
16
14
|
export { nocrmIoChangeLeadStatusStandby };
|
|
17
15
|
//# 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":"
|
|
1
|
+
{"version":3,"file":"change-lead-status-standby.d.mts","names":[],"sources":["../../src/actions/change-lead-status-standby.ts"],"mappings":";;;;;cAMa,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;cAKnC,oCAAA,EAAoC,CAAA,CAAA,SAAA,CAAA,CAAA,CAAA,SAAA,EAAA,CAAA,CAAA,UAAA;AAAA,cAEpC,8BAAA,EAAgC,SAAA,QACpC,mCAAA,SACA,oCAAA,SACA,OAAA,CAAQ,UAAA"}
|
|
@@ -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 = 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":"
|
|
1
|
+
{"version":3,"file":"change-lead-status-standby.mjs","names":[],"sources":["../../src/actions/change-lead-status-standby.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { nocrmIo } from \"../app\";\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: AppAction<\n typeof NocrmIoChangeLeadStatusStandbyInput,\n typeof NocrmIoChangeLeadStatusStandbyOutput,\n typeof nocrmIo.credential\n> = 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":";;;AAaA,MAAa,iCAIT,OAAO,uCAAuC;CAChD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAfiD,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,+DAWH;CACP,QAXkD,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,mDAWrF;AACV,CAAC"}
|
|
@@ -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 = 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":"
|
|
1
|
+
{"version":3,"file":"create-lead.cjs","names":["z","action"],"sources":["../../src/actions/create-lead.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { nocrmIo } from \"../app\";\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: AppAction<\n typeof NocrmIoCreateLeadInput,\n typeof NocrmIoCreateLeadOutput,\n typeof nocrmIo.credential\n> = 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":";;;;AAMA,MAAa,yBAAyBA,IAAAA,EAAE,OAAO;CAC7C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAChE,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CACzE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D;CACrF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+GAA+G,CAAC,CAAC,SAAS;CACvJ,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;AAC7G,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrE,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACzE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAChE,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,gCAAgC;CACnE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,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AAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,wBAAwBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,0BAA0BA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AAEvE,MAAa,oBAITC,eAAAA,OAAO,wBAAwB;CACjC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { nocrmIo } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/create-lead.d.ts
|
|
@@ -43,13 +45,7 @@ declare const NocrmIoCreateLeadOutput: z.ZodObject<{
|
|
|
43
45
|
estimated_closing_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
44
46
|
reminder_activity_log_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
45
47
|
}, z.core.$loose>;
|
|
46
|
-
declare const nocrmIoCreateLead:
|
|
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]>;
|
|
48
|
+
declare const nocrmIoCreateLead: AppAction<typeof NocrmIoCreateLeadInput, typeof NocrmIoCreateLeadOutput, typeof nocrmIo.credential>;
|
|
53
49
|
//#endregion
|
|
54
50
|
export { nocrmIoCreateLead };
|
|
55
51
|
//# sourceMappingURL=create-lead.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-lead.d.cts","names":[],"sources":["../../src/actions/create-lead.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-lead.d.cts","names":[],"sources":["../../src/actions/create-lead.ts"],"mappings":";;;;;cAMa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;cAOtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAoCvB,iBAAA,EAAmB,SAAA,QACvB,sBAAA,SACA,uBAAA,SACA,OAAA,CAAQ,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { nocrmIo } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/create-lead.d.ts
|
|
@@ -43,13 +45,7 @@ declare const NocrmIoCreateLeadOutput: z.ZodObject<{
|
|
|
43
45
|
estimated_closing_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
44
46
|
reminder_activity_log_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
45
47
|
}, z.core.$loose>;
|
|
46
|
-
declare const nocrmIoCreateLead:
|
|
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]>;
|
|
48
|
+
declare const nocrmIoCreateLead: AppAction<typeof NocrmIoCreateLeadInput, typeof NocrmIoCreateLeadOutput, typeof nocrmIo.credential>;
|
|
53
49
|
//#endregion
|
|
54
50
|
export { nocrmIoCreateLead };
|
|
55
51
|
//# sourceMappingURL=create-lead.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-lead.d.mts","names":[],"sources":["../../src/actions/create-lead.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-lead.d.mts","names":[],"sources":["../../src/actions/create-lead.ts"],"mappings":";;;;;cAMa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;cAOtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAoCvB,iBAAA,EAAmB,SAAA,QACvB,sBAAA,SACA,uBAAA,SACA,OAAA,CAAQ,UAAA"}
|
|
@@ -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 = 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":"
|
|
1
|
+
{"version":3,"file":"create-lead.mjs","names":[],"sources":["../../src/actions/create-lead.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { nocrmIo } from \"../app\";\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: AppAction<\n typeof NocrmIoCreateLeadInput,\n typeof NocrmIoCreateLeadOutput,\n typeof nocrmIo.credential\n> = 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":";;;AAiDA,MAAa,oBAIT,OAAO,wBAAwB;CACjC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAnDoC,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,yDA6CH;CACP,QA7CqC,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,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;EAC5D,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvF,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAA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/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":"
|
|
1
|
+
{"version":3,"file":"delete-lead.cjs","names":["z","action"],"sources":["../../src/actions/delete-lead.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { nocrmIo } from \"../app\";\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: AppAction<\n typeof NocrmIoDeleteLeadInput,\n typeof NocrmIoDeleteLeadOutput,\n typeof nocrmIo.credential\n> = 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":";;;;AAMA,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,oBAITC,eAAAA,OAAO,wBAAwB;CACjC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { nocrmIo } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/delete-lead.d.ts
|
|
@@ -7,9 +9,7 @@ declare const NocrmIoDeleteLeadInput: z.ZodObject<{
|
|
|
7
9
|
declare const NocrmIoDeleteLeadOutput: z.ZodObject<{
|
|
8
10
|
id: z.ZodNullable<z.ZodNumber>;
|
|
9
11
|
}, z.core.$loose>;
|
|
10
|
-
declare const nocrmIoDeleteLead:
|
|
11
|
-
id: number;
|
|
12
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
12
|
+
declare const nocrmIoDeleteLead: AppAction<typeof NocrmIoDeleteLeadInput, typeof NocrmIoDeleteLeadOutput, typeof nocrmIo.credential>;
|
|
13
13
|
//#endregion
|
|
14
14
|
export { nocrmIoDeleteLead };
|
|
15
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":"
|
|
1
|
+
{"version":3,"file":"delete-lead.d.cts","names":[],"sources":["../../src/actions/delete-lead.ts"],"mappings":";;;;;cAMa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;cAGtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;cAIvB,iBAAA,EAAmB,SAAA,QACvB,sBAAA,SACA,uBAAA,SACA,OAAA,CAAQ,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { nocrmIo } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/delete-lead.d.ts
|
|
@@ -7,9 +9,7 @@ declare const NocrmIoDeleteLeadInput: z.ZodObject<{
|
|
|
7
9
|
declare const NocrmIoDeleteLeadOutput: z.ZodObject<{
|
|
8
10
|
id: z.ZodNullable<z.ZodNumber>;
|
|
9
11
|
}, z.core.$loose>;
|
|
10
|
-
declare const nocrmIoDeleteLead:
|
|
11
|
-
id: number;
|
|
12
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
12
|
+
declare const nocrmIoDeleteLead: AppAction<typeof NocrmIoDeleteLeadInput, typeof NocrmIoDeleteLeadOutput, typeof nocrmIo.credential>;
|
|
13
13
|
//#endregion
|
|
14
14
|
export { nocrmIoDeleteLead };
|
|
15
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":"
|
|
1
|
+
{"version":3,"file":"delete-lead.d.mts","names":[],"sources":["../../src/actions/delete-lead.ts"],"mappings":";;;;;cAMa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;cAGtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;cAIvB,iBAAA,EAAmB,SAAA,QACvB,sBAAA,SACA,uBAAA,SACA,OAAA,CAAQ,UAAA"}
|
|
@@ -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 = 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":"
|
|
1
|
+
{"version":3,"file":"delete-lead.mjs","names":[],"sources":["../../src/actions/delete-lead.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { nocrmIo } from \"../app\";\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: AppAction<\n typeof NocrmIoDeleteLeadInput,\n typeof NocrmIoDeleteLeadOutput,\n typeof nocrmIo.credential\n> = 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":";;;AAaA,MAAa,oBAIT,OAAO,wBAAwB;CACjC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAfoC,EAAE,OAAO,EAC7C,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,EACzE,CAAC,CAAC,CAAC,SAAS,yCAaH;CACP,QAbqC,EAAE,OAAO,EAC9C,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,EACtF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAWhB;AACV,CAAC"}
|
|
@@ -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 = 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":"
|
|
1
|
+
{"version":3,"file":"duplicate-lead.cjs","names":["z","action"],"sources":["../../src/actions/duplicate-lead.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { nocrmIo } from \"../app\";\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: AppAction<\n typeof NocrmIoDuplicateLeadInput,\n typeof NocrmIoDuplicateLeadOutput,\n typeof nocrmIo.credential\n> = 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":";;;;AAMA,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,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CAC/E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACtF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACzF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8FAA8F;AAExH,MAAa,uBAITC,eAAAA,OAAO,2BAA2B;CACpC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { nocrmIo } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/duplicate-lead.d.ts
|
|
@@ -19,10 +21,7 @@ declare const NocrmIoDuplicateLeadOutput: z.ZodObject<{
|
|
|
19
21
|
updated_at: z.ZodNullable<z.ZodString>;
|
|
20
22
|
probability: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
21
23
|
}, z.core.$loose>;
|
|
22
|
-
declare const nocrmIoDuplicateLead:
|
|
23
|
-
step: string;
|
|
24
|
-
lead_id: number;
|
|
25
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
24
|
+
declare const nocrmIoDuplicateLead: AppAction<typeof NocrmIoDuplicateLeadInput, typeof NocrmIoDuplicateLeadOutput, typeof nocrmIo.credential>;
|
|
26
25
|
//#endregion
|
|
27
26
|
export { nocrmIoDuplicateLead };
|
|
28
27
|
//# sourceMappingURL=duplicate-lead.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"duplicate-lead.d.cts","names":[],"sources":["../../src/actions/duplicate-lead.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"duplicate-lead.d.cts","names":[],"sources":["../../src/actions/duplicate-lead.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;cAIzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAe1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,SACA,OAAA,CAAQ,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { nocrmIo } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/duplicate-lead.d.ts
|
|
@@ -19,10 +21,7 @@ declare const NocrmIoDuplicateLeadOutput: z.ZodObject<{
|
|
|
19
21
|
updated_at: z.ZodNullable<z.ZodString>;
|
|
20
22
|
probability: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
21
23
|
}, z.core.$loose>;
|
|
22
|
-
declare const nocrmIoDuplicateLead:
|
|
23
|
-
step: string;
|
|
24
|
-
lead_id: number;
|
|
25
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
24
|
+
declare const nocrmIoDuplicateLead: AppAction<typeof NocrmIoDuplicateLeadInput, typeof NocrmIoDuplicateLeadOutput, typeof nocrmIo.credential>;
|
|
26
25
|
//#endregion
|
|
27
26
|
export { nocrmIoDuplicateLead };
|
|
28
27
|
//# sourceMappingURL=duplicate-lead.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"duplicate-lead.d.mts","names":[],"sources":["../../src/actions/duplicate-lead.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"duplicate-lead.d.mts","names":[],"sources":["../../src/actions/duplicate-lead.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;cAIzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAe1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,SACA,OAAA,CAAQ,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"duplicate-lead.mjs","names":[],"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":"
|
|
1
|
+
{"version":3,"file":"duplicate-lead.mjs","names":[],"sources":["../../src/actions/duplicate-lead.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { nocrmIo } from \"../app\";\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: AppAction<\n typeof NocrmIoDuplicateLeadInput,\n typeof NocrmIoDuplicateLeadOutput,\n typeof nocrmIo.credential\n> = 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":";;;AAyBA,MAAa,uBAIT,OAAO,2BAA2B;CACpC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA3BuC,EAAE,OAAO;EAChD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mGAAmG;EAC7H,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C;CAClF,CAAC,CAAC,CAAC,SAAS,4CAwBH;CACP,QAxBwC,EAAE,OAAO;EACjD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;EACnF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;EAC3E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;EAC3F,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9F,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;EACjG,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjF,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;EAC/E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;EACtF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;EACzF,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8FAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-all-teams.cjs","names":["z","action"],"sources":["../../src/actions/list-all-teams.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NocrmIoListAllTeamsInput = z.object({}).describe(\"Request model for listing all teams.\");\nexport const NocrmIoListAllTeamsOutput = z.unknown();\n\nexport const nocrmIoListAllTeams = action(\"NOCRM_IO_LIST_ALL_TEAMS\", {\n slug: \"nocrm_io-list-all-teams\",\n name: \"List All Teams\",\n description: \"Tool to retrieve all teams. Use when you need to fetch every team and its members from noCRM.io.\",\n input: NocrmIoListAllTeamsInput,\n output: NocrmIoListAllTeamsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-all-teams.cjs","names":["z","action"],"sources":["../../src/actions/list-all-teams.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { nocrmIo } from \"../app\";\n\nexport const NocrmIoListAllTeamsInput = z.object({}).describe(\"Request model for listing all teams.\");\nexport const NocrmIoListAllTeamsOutput = z.unknown();\n\nexport const nocrmIoListAllTeams: AppAction<\n typeof NocrmIoListAllTeamsInput,\n typeof NocrmIoListAllTeamsOutput,\n typeof nocrmIo.credential\n> = action(\"NOCRM_IO_LIST_ALL_TEAMS\", {\n slug: \"nocrm_io-list-all-teams\",\n name: \"List All Teams\",\n description: \"Tool to retrieve all teams. Use when you need to fetch every team and its members from noCRM.io.\",\n input: NocrmIoListAllTeamsInput,\n output: NocrmIoListAllTeamsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,sCAAsC;AACpG,MAAa,4BAA4BA,IAAAA,EAAE,QAAQ;AAEnD,MAAa,sBAITC,eAAAA,OAAO,2BAA2B;CACpC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,11 @@
|
|
|
1
|
+
import { nocrmIo } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-all-teams.d.ts
|
|
4
6
|
declare const NocrmIoListAllTeamsInput: z.ZodObject<{}, z.core.$strip>;
|
|
5
7
|
declare const NocrmIoListAllTeamsOutput: z.ZodUnknown;
|
|
6
|
-
declare const nocrmIoListAllTeams:
|
|
8
|
+
declare const nocrmIoListAllTeams: AppAction<typeof NocrmIoListAllTeamsInput, typeof NocrmIoListAllTeamsOutput, typeof nocrmIo.credential>;
|
|
7
9
|
//#endregion
|
|
8
10
|
export { nocrmIoListAllTeams };
|
|
9
11
|
//# sourceMappingURL=list-all-teams.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-all-teams.d.cts","names":[],"sources":["../../src/actions/list-all-teams.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-all-teams.d.cts","names":[],"sources":["../../src/actions/list-all-teams.ts"],"mappings":";;;;;cAMa,wBAAA,EAAwB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cACxB,yBAAA,EAAyB,CAAA,CAAA,UAAc;AAAA,cAEvC,mBAAA,EAAqB,SAAA,QACzB,wBAAA,SACA,yBAAA,SACA,OAAA,CAAQ,UAAA"}
|
|
@@ -1,9 +1,11 @@
|
|
|
1
|
+
import { nocrmIo } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-all-teams.d.ts
|
|
4
6
|
declare const NocrmIoListAllTeamsInput: z.ZodObject<{}, z.core.$strip>;
|
|
5
7
|
declare const NocrmIoListAllTeamsOutput: z.ZodUnknown;
|
|
6
|
-
declare const nocrmIoListAllTeams:
|
|
8
|
+
declare const nocrmIoListAllTeams: AppAction<typeof NocrmIoListAllTeamsInput, typeof NocrmIoListAllTeamsOutput, typeof nocrmIo.credential>;
|
|
7
9
|
//#endregion
|
|
8
10
|
export { nocrmIoListAllTeams };
|
|
9
11
|
//# sourceMappingURL=list-all-teams.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-all-teams.d.mts","names":[],"sources":["../../src/actions/list-all-teams.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-all-teams.d.mts","names":[],"sources":["../../src/actions/list-all-teams.ts"],"mappings":";;;;;cAMa,wBAAA,EAAwB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cACxB,yBAAA,EAAyB,CAAA,CAAA,UAAc;AAAA,cAEvC,mBAAA,EAAqB,SAAA,QACzB,wBAAA,SACA,yBAAA,SACA,OAAA,CAAQ,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-all-teams.mjs","names":[],"sources":["../../src/actions/list-all-teams.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NocrmIoListAllTeamsInput = z.object({}).describe(\"Request model for listing all teams.\");\nexport const NocrmIoListAllTeamsOutput = z.unknown();\n\nexport const nocrmIoListAllTeams = action(\"NOCRM_IO_LIST_ALL_TEAMS\", {\n slug: \"nocrm_io-list-all-teams\",\n name: \"List All Teams\",\n description: \"Tool to retrieve all teams. Use when you need to fetch every team and its members from noCRM.io.\",\n input: NocrmIoListAllTeamsInput,\n output: NocrmIoListAllTeamsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-all-teams.mjs","names":[],"sources":["../../src/actions/list-all-teams.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { nocrmIo } from \"../app\";\n\nexport const NocrmIoListAllTeamsInput = z.object({}).describe(\"Request model for listing all teams.\");\nexport const NocrmIoListAllTeamsOutput = z.unknown();\n\nexport const nocrmIoListAllTeams: AppAction<\n typeof NocrmIoListAllTeamsInput,\n typeof NocrmIoListAllTeamsOutput,\n typeof nocrmIo.credential\n> = action(\"NOCRM_IO_LIST_ALL_TEAMS\", {\n slug: \"nocrm_io-list-all-teams\",\n name: \"List All Teams\",\n description: \"Tool to retrieve all teams. Use when you need to fetch every team and its members from noCRM.io.\",\n input: NocrmIoListAllTeamsInput,\n output: NocrmIoListAllTeamsOutput,\n});\n"],"mappings":";;;AASA,MAAa,sBAIT,OAAO,2BAA2B;CACpC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAXsC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,sCAWrD;CACP,QAXuC,EAAE,QAWjC;AACV,CAAC"}
|
package/dist/app.cjs
CHANGED
|
@@ -1,7 +1,14 @@
|
|
|
1
|
+
let _keystrokehq_keystroke_app = require("@keystrokehq/keystroke/app");
|
|
2
|
+
let zod = require("zod");
|
|
1
3
|
//#region src/app.ts
|
|
2
|
-
const
|
|
4
|
+
const credential = {
|
|
5
|
+
subdomain: zod.z.string(),
|
|
6
|
+
generic_api_key: zod.z.string()
|
|
7
|
+
};
|
|
8
|
+
const nocrmIo = (0, _keystrokehq_keystroke_app.defineApp)({
|
|
3
9
|
slug: "nocrm_io",
|
|
4
|
-
auth: "keystroke"
|
|
10
|
+
auth: "keystroke",
|
|
11
|
+
credential
|
|
5
12
|
});
|
|
6
13
|
//#endregion
|
|
7
14
|
exports.nocrmIo = nocrmIo;
|
package/dist/app.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app.cjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\n\nexport const nocrmIo = defineApp({\n slug: \"nocrm_io\",\n auth: \"keystroke\",\n});\n"],"mappings":";AAEA,MAAa,WAAA,
|
|
1
|
+
{"version":3,"file":"app.cjs","names":["z"],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp, type KeystrokeApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nconst credential = {\n subdomain: z.string(),\n generic_api_key: z.string(),\n};\n\nexport const nocrmIo: KeystrokeApp<\"nocrm_io\", typeof credential> = defineApp({\n slug: \"nocrm_io\",\n auth: \"keystroke\",\n credential,\n});\n"],"mappings":";;;AAGA,MAAM,aAAa;CACjB,WAAWA,IAAAA,EAAE,OAAO;CACpB,iBAAiBA,IAAAA,EAAE,OAAO;AAC5B;AAEA,MAAa,WAAA,GAAA,2BAAA,UAAA,CAAiE;CAC5E,MAAM;CACN,MAAM;CACN;AACF,CAAC"}
|
package/dist/app.d.cts
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
|
+
import { KeystrokeApp } from "@keystrokehq/keystroke/app";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
|
|
1
4
|
//#region src/app.d.ts
|
|
2
|
-
declare const
|
|
5
|
+
declare const credential: {
|
|
6
|
+
subdomain: z.ZodString;
|
|
7
|
+
generic_api_key: z.ZodString;
|
|
8
|
+
};
|
|
9
|
+
declare const nocrmIo: KeystrokeApp<"nocrm_io", typeof credential>;
|
|
3
10
|
//#endregion
|
|
4
11
|
export { nocrmIo };
|
|
5
12
|
//# sourceMappingURL=app.d.cts.map
|
package/dist/app.d.cts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";
|
|
1
|
+
{"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";;;;cAGM,UAAA;aAGL,CAAA,CAAA,SAAA;mBAAA,CAAA,CAAA,SAAA;AAAA;AAAA,cAEY,OAAA,EAAS,YAAY,oBAAoB,UAAA"}
|
package/dist/app.d.mts
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
|
+
import { KeystrokeApp } from "@keystrokehq/keystroke/app";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
|
|
1
4
|
//#region src/app.d.ts
|
|
2
|
-
declare const
|
|
5
|
+
declare const credential: {
|
|
6
|
+
subdomain: z.ZodString;
|
|
7
|
+
generic_api_key: z.ZodString;
|
|
8
|
+
};
|
|
9
|
+
declare const nocrmIo: KeystrokeApp<"nocrm_io", typeof credential>;
|
|
3
10
|
//#endregion
|
|
4
11
|
export { nocrmIo };
|
|
5
12
|
//# sourceMappingURL=app.d.mts.map
|
package/dist/app.d.mts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";
|
|
1
|
+
{"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";;;;cAGM,UAAA;aAGL,CAAA,CAAA,SAAA;mBAAA,CAAA,CAAA,SAAA;AAAA;AAAA,cAEY,OAAA,EAAS,YAAY,oBAAoB,UAAA"}
|
package/dist/app.mjs
CHANGED
|
@@ -1,8 +1,12 @@
|
|
|
1
1
|
import { defineApp } from "@keystrokehq/keystroke/app";
|
|
2
|
-
|
|
2
|
+
import { z } from "zod";
|
|
3
3
|
const nocrmIo = defineApp({
|
|
4
4
|
slug: "nocrm_io",
|
|
5
|
-
auth: "keystroke"
|
|
5
|
+
auth: "keystroke",
|
|
6
|
+
credential: {
|
|
7
|
+
subdomain: z.string(),
|
|
8
|
+
generic_api_key: z.string()
|
|
9
|
+
}
|
|
6
10
|
});
|
|
7
11
|
//#endregion
|
|
8
12
|
export { nocrmIo };
|
package/dist/app.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app.mjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\n\nexport const nocrmIo = defineApp({\n slug: \"nocrm_io\",\n auth: \"keystroke\",\n});\n"],"mappings":";;
|
|
1
|
+
{"version":3,"file":"app.mjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp, type KeystrokeApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nconst credential = {\n subdomain: z.string(),\n generic_api_key: z.string(),\n};\n\nexport const nocrmIo: KeystrokeApp<\"nocrm_io\", typeof credential> = defineApp({\n slug: \"nocrm_io\",\n auth: \"keystroke\",\n credential,\n});\n"],"mappings":";;AAQA,MAAa,UAAuD,UAAU;CAC5E,MAAM;CACN,MAAM;CACN;EAPA,WAAW,EAAE,OAAO;EACpB,iBAAiB,EAAE,OAAO;CAM1B;AACF,CAAC"}
|
package/dist/index.d.cts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { nocrmIo } from "./app.cjs";
|
|
1
2
|
import { nocrmIoAddATagToALead } from "./actions/add-a-tag-to-a-lead.cjs";
|
|
2
3
|
import { nocrmIoAppendToLeadsDescription } from "./actions/append-to-leads-description.cjs";
|
|
3
4
|
import { nocrmIoAssignLeadToUser } from "./actions/assign-lead-to-user.cjs";
|
|
@@ -7,6 +8,5 @@ import { nocrmIoCreateLead } from "./actions/create-lead.cjs";
|
|
|
7
8
|
import { nocrmIoDeleteLead } from "./actions/delete-lead.cjs";
|
|
8
9
|
import { nocrmIoDuplicateLead } from "./actions/duplicate-lead.cjs";
|
|
9
10
|
import { nocrmIoListAllTeams } from "./actions/list-all-teams.cjs";
|
|
10
|
-
import { nocrmIo } from "./app.cjs";
|
|
11
11
|
import { nocrmIoCatalog } from "./catalog.cjs";
|
|
12
12
|
export { nocrmIo, nocrmIoAddATagToALead, nocrmIoAppendToLeadsDescription, nocrmIoAssignLeadToUser, nocrmIoCatalog, nocrmIoChangeLeadStatusCancelled, nocrmIoChangeLeadStatusStandby, nocrmIoCreateLead, nocrmIoDeleteLead, nocrmIoDuplicateLead, nocrmIoListAllTeams };
|
package/dist/index.d.mts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { nocrmIo } from "./app.mjs";
|
|
1
2
|
import { nocrmIoAddATagToALead } from "./actions/add-a-tag-to-a-lead.mjs";
|
|
2
3
|
import { nocrmIoAppendToLeadsDescription } from "./actions/append-to-leads-description.mjs";
|
|
3
4
|
import { nocrmIoAssignLeadToUser } from "./actions/assign-lead-to-user.mjs";
|
|
@@ -7,6 +8,5 @@ import { nocrmIoCreateLead } from "./actions/create-lead.mjs";
|
|
|
7
8
|
import { nocrmIoDeleteLead } from "./actions/delete-lead.mjs";
|
|
8
9
|
import { nocrmIoDuplicateLead } from "./actions/duplicate-lead.mjs";
|
|
9
10
|
import { nocrmIoListAllTeams } from "./actions/list-all-teams.mjs";
|
|
10
|
-
import { nocrmIo } from "./app.mjs";
|
|
11
11
|
import { nocrmIoCatalog } from "./catalog.mjs";
|
|
12
12
|
export { nocrmIo, nocrmIoAddATagToALead, nocrmIoAppendToLeadsDescription, nocrmIoAssignLeadToUser, nocrmIoCatalog, nocrmIoChangeLeadStatusCancelled, nocrmIoChangeLeadStatusStandby, nocrmIoCreateLead, nocrmIoDeleteLead, nocrmIoDuplicateLead, nocrmIoListAllTeams };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@keystrokehq/nocrm_io",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.6",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public",
|
|
6
6
|
"registry": "https://registry.npmjs.org"
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
}
|
|
32
32
|
},
|
|
33
33
|
"peerDependencies": {
|
|
34
|
-
"@keystrokehq/keystroke": ">=0.1.
|
|
34
|
+
"@keystrokehq/keystroke": ">=0.1.104",
|
|
35
35
|
"zod": "^4.4.3"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|