@keystrokehq/nocrm_io 0.1.0 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (77) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/add-a-tag-to-a-lead.cjs +1 -1
  4. package/dist/actions/add-a-tag-to-a-lead.cjs.map +1 -1
  5. package/dist/actions/add-a-tag-to-a-lead.d.cts +12 -3
  6. package/dist/actions/add-a-tag-to-a-lead.d.cts.map +1 -1
  7. package/dist/actions/add-a-tag-to-a-lead.d.mts +12 -3
  8. package/dist/actions/add-a-tag-to-a-lead.d.mts.map +1 -1
  9. package/dist/actions/add-a-tag-to-a-lead.mjs +1 -1
  10. package/dist/actions/add-a-tag-to-a-lead.mjs.map +1 -1
  11. package/dist/actions/append-to-leads-description.cjs +10 -10
  12. package/dist/actions/append-to-leads-description.cjs.map +1 -1
  13. package/dist/actions/append-to-leads-description.d.cts +43 -3
  14. package/dist/actions/append-to-leads-description.d.cts.map +1 -1
  15. package/dist/actions/append-to-leads-description.d.mts +43 -3
  16. package/dist/actions/append-to-leads-description.d.mts.map +1 -1
  17. package/dist/actions/append-to-leads-description.mjs +10 -10
  18. package/dist/actions/append-to-leads-description.mjs.map +1 -1
  19. package/dist/actions/assign-lead-to-user.cjs +3 -3
  20. package/dist/actions/assign-lead-to-user.cjs.map +1 -1
  21. package/dist/actions/assign-lead-to-user.d.cts +13 -3
  22. package/dist/actions/assign-lead-to-user.d.cts.map +1 -1
  23. package/dist/actions/assign-lead-to-user.d.mts +13 -3
  24. package/dist/actions/assign-lead-to-user.d.mts.map +1 -1
  25. package/dist/actions/assign-lead-to-user.mjs +3 -3
  26. package/dist/actions/assign-lead-to-user.mjs.map +1 -1
  27. package/dist/actions/change-lead-status-cancelled.cjs +3 -3
  28. package/dist/actions/change-lead-status-cancelled.cjs.map +1 -1
  29. package/dist/actions/change-lead-status-cancelled.d.cts +11 -3
  30. package/dist/actions/change-lead-status-cancelled.d.cts.map +1 -1
  31. package/dist/actions/change-lead-status-cancelled.d.mts +11 -3
  32. package/dist/actions/change-lead-status-cancelled.d.mts.map +1 -1
  33. package/dist/actions/change-lead-status-cancelled.mjs +3 -3
  34. package/dist/actions/change-lead-status-cancelled.mjs.map +1 -1
  35. package/dist/actions/change-lead-status-standby.cjs.map +1 -1
  36. package/dist/actions/change-lead-status-standby.d.cts +11 -3
  37. package/dist/actions/change-lead-status-standby.d.cts.map +1 -1
  38. package/dist/actions/change-lead-status-standby.d.mts +11 -3
  39. package/dist/actions/change-lead-status-standby.d.mts.map +1 -1
  40. package/dist/actions/change-lead-status-standby.mjs.map +1 -1
  41. package/dist/actions/create-lead.cjs +10 -10
  42. package/dist/actions/create-lead.cjs.map +1 -1
  43. package/dist/actions/create-lead.d.cts +49 -3
  44. package/dist/actions/create-lead.d.cts.map +1 -1
  45. package/dist/actions/create-lead.d.mts +49 -3
  46. package/dist/actions/create-lead.d.mts.map +1 -1
  47. package/dist/actions/create-lead.mjs +10 -10
  48. package/dist/actions/create-lead.mjs.map +1 -1
  49. package/dist/actions/delete-lead.cjs +1 -1
  50. package/dist/actions/delete-lead.cjs.map +1 -1
  51. package/dist/actions/delete-lead.d.cts +9 -3
  52. package/dist/actions/delete-lead.d.cts.map +1 -1
  53. package/dist/actions/delete-lead.d.mts +9 -3
  54. package/dist/actions/delete-lead.d.mts.map +1 -1
  55. package/dist/actions/delete-lead.mjs +1 -1
  56. package/dist/actions/delete-lead.mjs.map +1 -1
  57. package/dist/actions/duplicate-lead.cjs +7 -7
  58. package/dist/actions/duplicate-lead.cjs.map +1 -1
  59. package/dist/actions/duplicate-lead.d.cts +22 -3
  60. package/dist/actions/duplicate-lead.d.cts.map +1 -1
  61. package/dist/actions/duplicate-lead.d.mts +22 -3
  62. package/dist/actions/duplicate-lead.d.mts.map +1 -1
  63. package/dist/actions/duplicate-lead.mjs +7 -7
  64. package/dist/actions/duplicate-lead.mjs.map +1 -1
  65. package/dist/actions/list-all-teams.cjs.map +1 -1
  66. package/dist/actions/list-all-teams.d.cts +3 -3
  67. package/dist/actions/list-all-teams.d.cts.map +1 -1
  68. package/dist/actions/list-all-teams.d.mts +3 -3
  69. package/dist/actions/list-all-teams.d.mts.map +1 -1
  70. package/dist/actions/list-all-teams.mjs.map +1 -1
  71. package/dist/catalog.cjs +13 -1
  72. package/dist/catalog.cjs.map +1 -1
  73. package/dist/catalog.d.cts +12 -0
  74. package/dist/catalog.d.mts +12 -0
  75. package/dist/catalog.mjs +13 -1
  76. package/dist/catalog.mjs.map +1 -1
  77. package/package.json +2 -2
@@ -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(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: z.ZodTypeAny;\n output: z.ZodTypeAny;\n },\n) {\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":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,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"}
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: z.ZodType;\n },\n) {\n return nocrmIo.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output as z.ZodTypeAny,\n async run(input) {\n return def.output.parse(await executeNocrmIoTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,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"}
@@ -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(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: z.ZodTypeAny;\n output: z.ZodTypeAny;\n },\n) {\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":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,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
+ {"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: z.ZodType;\n },\n) {\n return nocrmIo.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output as z.ZodTypeAny,\n async run(input) {\n return def.output.parse(await executeNocrmIoTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,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"}
@@ -6,7 +6,7 @@ const NocrmIoAddATagToALeadInput = zod.z.object({
6
6
  lead_id: zod.z.string().describe("The unique identifier of the lead to add the tag to.")
7
7
  }).describe("Request parameters for adding a tag to a lead.");
8
8
  const NocrmIoAddATagToALeadOutput = zod.z.object({
9
- id: zod.z.string().describe("The unique identifier of the lead."),
9
+ id: zod.z.string().describe("The unique identifier of the lead.").nullable(),
10
10
  tags: zod.z.array(zod.z.string()).describe("The list of tags assigned to the lead.")
11
11
  }).passthrough().describe("Response schema for a lead after adding a tag.\nContains the updated list of tags and lead identifier.");
12
12
  const nocrmIoAddATagToALead = require_action.action("NOCRM_IO_ADD_A_TAG_TO_A_LEAD", {
@@ -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.ZodTypeAny = 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.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier of the lead.\"),\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":";;;AAIA,MAAa,6BAA2CA,IAAAA,EAAE,OAAO;CAC/D,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,8BAA4CA,IAAAA,EAAE,OAAO;CAChE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;CAC5D,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,wCAAwC;AAC7E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wGAAwG;AAElI,MAAa,wBAAwBC,eAAAA,OAAO,gCAAgC;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
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":";;;AAIA,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,wBAAwBC,eAAAA,OAAO,gCAAgC;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,18 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/add-a-tag-to-a-lead.d.ts
4
- declare const NocrmIoAddATagToALeadInput: z.ZodTypeAny;
5
- declare const NocrmIoAddATagToALeadOutput: z.ZodTypeAny;
6
- declare const nocrmIoAddATagToALead: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const NocrmIoAddATagToALeadInput: z.ZodObject<{
5
+ tag: z.ZodString;
6
+ lead_id: z.ZodString;
7
+ }, z.core.$strip>;
8
+ declare const NocrmIoAddATagToALeadOutput: z.ZodObject<{
9
+ id: z.ZodNullable<z.ZodString>;
10
+ tags: z.ZodArray<z.ZodString>;
11
+ }, z.core.$loose>;
12
+ declare const nocrmIoAddATagToALead: import("@keystrokehq/action").WorkflowActionDefinition<{
13
+ tag: string;
14
+ lead_id: string;
15
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
16
  //#endregion
8
17
  export { nocrmIoAddATagToALead };
9
18
  //# 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":";;;cAIa,0BAAA,EAA4B,CAAA,CAAE,UAGkB;AAAA,cAChD,2BAAA,EAA6B,CAAA,CAAE,UAGuF;AAAA,cAEtH,qBAAA,gCAAqB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"add-a-tag-to-a-lead.d.cts","names":[],"sources":["../../src/actions/add-a-tag-to-a-lead.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;cAI1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;cAK3B,qBAAA,gCAAqB,wBAAA"}
@@ -1,9 +1,18 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/add-a-tag-to-a-lead.d.ts
4
- declare const NocrmIoAddATagToALeadInput: z.ZodTypeAny;
5
- declare const NocrmIoAddATagToALeadOutput: z.ZodTypeAny;
6
- declare const nocrmIoAddATagToALead: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const NocrmIoAddATagToALeadInput: z.ZodObject<{
5
+ tag: z.ZodString;
6
+ lead_id: z.ZodString;
7
+ }, z.core.$strip>;
8
+ declare const NocrmIoAddATagToALeadOutput: z.ZodObject<{
9
+ id: z.ZodNullable<z.ZodString>;
10
+ tags: z.ZodArray<z.ZodString>;
11
+ }, z.core.$loose>;
12
+ declare const nocrmIoAddATagToALead: import("@keystrokehq/action").WorkflowActionDefinition<{
13
+ tag: string;
14
+ lead_id: string;
15
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
16
  //#endregion
8
17
  export { nocrmIoAddATagToALead };
9
18
  //# 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":";;;cAIa,0BAAA,EAA4B,CAAA,CAAE,UAGkB;AAAA,cAChD,2BAAA,EAA6B,CAAA,CAAE,UAGuF;AAAA,cAEtH,qBAAA,gCAAqB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"add-a-tag-to-a-lead.d.mts","names":[],"sources":["../../src/actions/add-a-tag-to-a-lead.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;cAI1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;cAK3B,qBAAA,gCAAqB,wBAAA"}
@@ -9,7 +9,7 @@ const nocrmIoAddATagToALead = action("NOCRM_IO_ADD_A_TAG_TO_A_LEAD", {
9
9
  lead_id: z.string().describe("The unique identifier of the lead to add the tag to.")
10
10
  }).describe("Request parameters for adding a tag to a lead."),
11
11
  output: z.object({
12
- id: z.string().describe("The unique identifier of the lead."),
12
+ id: z.string().describe("The unique identifier of the lead.").nullable(),
13
13
  tags: z.array(z.string()).describe("The list of tags assigned to the lead.")
14
14
  }).passthrough().describe("Response schema for a lead after adding a tag.\nContains the updated list of tags and lead identifier.")
15
15
  });
@@ -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.ZodTypeAny = 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.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier of the lead.\"),\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":";;AAaA,MAAa,wBAAwB,OAAO,gCAAgC;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAbsD,EAAE,OAAO;EAC/D,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;EAC1E,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;CACrF,CAAC,CAAC,CAAC,SAAS,gDAUH;CACP,QAVuD,EAAE,OAAO;EAChE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;EAC5D,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,wCAAwC;CAC7E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wGAOhB;AACV,CAAC"}
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":";;AAaA,MAAa,wBAAwB,OAAO,gCAAgC;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAbwC,EAAE,OAAO;EACjD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;EAC1E,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;CACrF,CAAC,CAAC,CAAC,SAAS,gDAUH;CACP,QAVyC,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,wGAOhB;AACV,CAAC"}
@@ -6,23 +6,23 @@ const NocrmIoAppendToLeadsDescriptionInput = zod.z.object({
6
6
  append_desc: zod.z.string().describe("Text to append to the lead's description. Cannot be used simultaneously with the `description` parameter.")
7
7
  });
8
8
  const NocrmIoAppendToLeadsDescriptionOutput = zod.z.object({
9
- id: zod.z.number().int().describe("Lead ID"),
10
- step: zod.z.string().describe("Name of the step for the lead"),
9
+ id: zod.z.number().int().describe("Lead ID").nullable(),
10
+ step: zod.z.string().describe("Name of the step for the lead").nullable(),
11
11
  tags: zod.z.array(zod.z.string()).describe("Tags associated with the lead"),
12
- title: zod.z.string().describe("Lead title, usually the company name"),
12
+ title: zod.z.string().describe("Lead title, usually the company name").nullable(),
13
13
  amount: zod.z.number().describe("Monetary amount associated with the lead").nullable().optional(),
14
- status: zod.z.string().describe("Status of the lead: todo, standby, won, lost, cancelled"),
14
+ status: zod.z.string().describe("Status of the lead: todo, standby, won, lost, cancelled").nullable(),
15
15
  starred: zod.z.boolean().describe("Whether the lead is starred").nullable().optional(),
16
- step_id: zod.z.number().int().describe("Identifier of the step"),
16
+ step_id: zod.z.number().int().describe("Identifier of the step").nullable(),
17
17
  team_id: zod.z.number().int().describe("Team ID assigned to the lead").nullable().optional(),
18
18
  user_id: zod.z.number().int().describe("User ID assigned to the lead").nullable().optional(),
19
19
  currency: zod.z.string().describe("Currency code of the amount").nullable().optional(),
20
20
  pipeline: zod.z.string().describe("Name of the pipeline the lead belongs to").nullable().optional(),
21
21
  closed_at: zod.z.string().describe("Datetime when the lead was closed (if applicable)").nullable().optional(),
22
22
  team_name: zod.z.string().describe("Name of the team assigned").nullable().optional(),
23
- created_at: zod.z.string().describe("Datetime when the lead was created"),
24
- updated_at: zod.z.string().describe("Datetime when the lead was last updated"),
25
- description: zod.z.string().describe("Current full text description of the lead"),
23
+ created_at: zod.z.string().describe("Datetime when the lead was created").nullable(),
24
+ updated_at: zod.z.string().describe("Datetime when the lead was last updated").nullable(),
25
+ description: zod.z.string().describe("Current full text description of the lead").nullable(),
26
26
  probability: zod.z.number().int().describe("Probability percentage of the lead").nullable().optional(),
27
27
  remind_date: zod.z.string().describe("Date string (YYYY-MM-DD) for reminder").nullable().optional(),
28
28
  remind_time: zod.z.string().describe("Time string (HH:MM) for reminder").nullable().optional(),
@@ -31,9 +31,9 @@ const NocrmIoAppendToLeadsDescriptionOutput = zod.z.object({
31
31
  created_by_id: zod.z.number().int().describe("User ID who created the lead").nullable().optional(),
32
32
  reminder_note: zod.z.string().describe("Note associated with the reminder").nullable().optional(),
33
33
  next_action_at: zod.z.string().describe("Datetime of the next action in ISO 8601").nullable().optional(),
34
- attachment_count: zod.z.number().int().describe("Number of attachments on the lead"),
34
+ attachment_count: zod.z.number().int().describe("Number of attachments on the lead").nullable(),
35
35
  client_folder_id: zod.z.number().int().describe("Client folder ID, if associated").nullable().optional(),
36
- html_description: zod.z.string().describe("Current HTML-formatted description of the lead"),
36
+ html_description: zod.z.string().describe("Current HTML-formatted description of the lead").nullable(),
37
37
  reminder_duration: zod.z.number().int().describe("Duration of the reminder in minutes").nullable().optional(),
38
38
  client_folder_name: zod.z.string().describe("Name of the client folder").nullable().optional(),
39
39
  reminder_activity_id: zod.z.number().int().describe("Activity ID for the reminder").nullable().optional(),
@@ -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.ZodTypeAny = 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.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Lead ID\"),\n step: z.string().describe(\"Name of the step for the lead\"),\n tags: z.array(z.string()).describe(\"Tags associated with the lead\"),\n title: z.string().describe(\"Lead title, usually the company name\"),\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\"),\n starred: z.boolean().describe(\"Whether the lead is starred\").nullable().optional(),\n step_id: z.number().int().describe(\"Identifier of the step\"),\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\"),\n updated_at: z.string().describe(\"Datetime when the lead was last updated\"),\n description: z.string().describe(\"Current full text description of the lead\"),\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\"),\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\"),\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});\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":";;;AAIA,MAAa,uCAAqDA,IAAAA,EAAE,OAAO;CACzE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC;CACvE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2GAA2G;AAC9I,CAAC;AACD,MAAa,wCAAsDA,IAAAA,EAAE,OAAO;CAC1E,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,SAAS;CACvC,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;CACzD,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,+BAA+B;CAClE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;CACjE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,S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AAqC,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;AAED,MAAa,kCAAkCC,eAAAA,OAAO,wCAAwC;CAC5F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
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});\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":";;;AAIA,MAAa,uCAAuCA,IAAAA,EAAE,OAAO;CAC3D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC;CACvE,aAAaA,IAAAA,EAAE,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AAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CAC1F,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,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;AAED,MAAa,kCAAkCC,eAAAA,OAAO,wCAAwC;CAC5F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,49 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/append-to-leads-description.d.ts
4
- declare const NocrmIoAppendToLeadsDescriptionInput: z.ZodTypeAny;
5
- declare const NocrmIoAppendToLeadsDescriptionOutput: z.ZodTypeAny;
6
- declare const nocrmIoAppendToLeadsDescription: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const NocrmIoAppendToLeadsDescriptionInput: z.ZodObject<{
5
+ id: z.ZodNumber;
6
+ append_desc: z.ZodString;
7
+ }, z.core.$strip>;
8
+ declare const NocrmIoAppendToLeadsDescriptionOutput: z.ZodObject<{
9
+ id: z.ZodNullable<z.ZodNumber>;
10
+ step: z.ZodNullable<z.ZodString>;
11
+ tags: z.ZodArray<z.ZodString>;
12
+ title: z.ZodNullable<z.ZodString>;
13
+ amount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
14
+ status: z.ZodNullable<z.ZodString>;
15
+ starred: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
16
+ step_id: z.ZodNullable<z.ZodNumber>;
17
+ team_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
18
+ user_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
19
+ currency: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
+ pipeline: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
+ closed_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
+ team_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
+ created_at: z.ZodNullable<z.ZodString>;
24
+ updated_at: z.ZodNullable<z.ZodString>;
25
+ description: z.ZodNullable<z.ZodString>;
26
+ probability: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
27
+ remind_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28
+ remind_time: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29
+ reminder_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30
+ created_from: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31
+ created_by_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
32
+ reminder_note: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33
+ next_action_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34
+ attachment_count: z.ZodNullable<z.ZodNumber>;
35
+ client_folder_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
36
+ html_description: z.ZodNullable<z.ZodString>;
37
+ reminder_duration: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
38
+ client_folder_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
39
+ reminder_activity_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
40
+ estimated_closing_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
41
+ reminder_activity_log_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
42
+ }, z.core.$strip>;
43
+ declare const nocrmIoAppendToLeadsDescription: import("@keystrokehq/action").WorkflowActionDefinition<{
44
+ id: number;
45
+ append_desc: string;
46
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
47
  //#endregion
8
48
  export { nocrmIoAppendToLeadsDescription };
9
49
  //# 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":";;;cAIa,oCAAA,EAAsC,CAAA,CAAE,UAGnD;AAAA,cACW,qCAAA,EAAuC,CAAA,CAAE,UAkCpD;AAAA,cAEW,+BAAA,gCAA+B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"append-to-leads-description.d.cts","names":[],"sources":["../../src/actions/append-to-leads-description.ts"],"mappings":";;;cAIa,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;cAIpC,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAoCrC,+BAAA,gCAA+B,wBAAA"}
@@ -1,9 +1,49 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/append-to-leads-description.d.ts
4
- declare const NocrmIoAppendToLeadsDescriptionInput: z.ZodTypeAny;
5
- declare const NocrmIoAppendToLeadsDescriptionOutput: z.ZodTypeAny;
6
- declare const nocrmIoAppendToLeadsDescription: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const NocrmIoAppendToLeadsDescriptionInput: z.ZodObject<{
5
+ id: z.ZodNumber;
6
+ append_desc: z.ZodString;
7
+ }, z.core.$strip>;
8
+ declare const NocrmIoAppendToLeadsDescriptionOutput: z.ZodObject<{
9
+ id: z.ZodNullable<z.ZodNumber>;
10
+ step: z.ZodNullable<z.ZodString>;
11
+ tags: z.ZodArray<z.ZodString>;
12
+ title: z.ZodNullable<z.ZodString>;
13
+ amount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
14
+ status: z.ZodNullable<z.ZodString>;
15
+ starred: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
16
+ step_id: z.ZodNullable<z.ZodNumber>;
17
+ team_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
18
+ user_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
19
+ currency: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
+ pipeline: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
+ closed_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
+ team_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
+ created_at: z.ZodNullable<z.ZodString>;
24
+ updated_at: z.ZodNullable<z.ZodString>;
25
+ description: z.ZodNullable<z.ZodString>;
26
+ probability: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
27
+ remind_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28
+ remind_time: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29
+ reminder_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30
+ created_from: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31
+ created_by_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
32
+ reminder_note: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33
+ next_action_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34
+ attachment_count: z.ZodNullable<z.ZodNumber>;
35
+ client_folder_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
36
+ html_description: z.ZodNullable<z.ZodString>;
37
+ reminder_duration: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
38
+ client_folder_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
39
+ reminder_activity_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
40
+ estimated_closing_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
41
+ reminder_activity_log_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
42
+ }, z.core.$strip>;
43
+ declare const nocrmIoAppendToLeadsDescription: import("@keystrokehq/action").WorkflowActionDefinition<{
44
+ id: number;
45
+ append_desc: string;
46
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
47
  //#endregion
8
48
  export { nocrmIoAppendToLeadsDescription };
9
49
  //# 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":";;;cAIa,oCAAA,EAAsC,CAAA,CAAE,UAGnD;AAAA,cACW,qCAAA,EAAuC,CAAA,CAAE,UAkCpD;AAAA,cAEW,+BAAA,gCAA+B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"append-to-leads-description.d.mts","names":[],"sources":["../../src/actions/append-to-leads-description.ts"],"mappings":";;;cAIa,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;cAIpC,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAoCrC,+BAAA,gCAA+B,wBAAA"}
@@ -9,23 +9,23 @@ const nocrmIoAppendToLeadsDescription = action("NOCRM_IO_APPEND_TO_LEADS_DESCRIP
9
9
  append_desc: z.string().describe("Text to append to the lead's description. Cannot be used simultaneously with the `description` parameter.")
10
10
  }),
11
11
  output: z.object({
12
- id: z.number().int().describe("Lead ID"),
13
- step: z.string().describe("Name of the step for the lead"),
12
+ id: z.number().int().describe("Lead ID").nullable(),
13
+ step: z.string().describe("Name of the step for the lead").nullable(),
14
14
  tags: z.array(z.string()).describe("Tags associated with the lead"),
15
- title: z.string().describe("Lead title, usually the company name"),
15
+ title: z.string().describe("Lead title, usually the company name").nullable(),
16
16
  amount: z.number().describe("Monetary amount associated with the lead").nullable().optional(),
17
- status: z.string().describe("Status of the lead: todo, standby, won, lost, cancelled"),
17
+ status: z.string().describe("Status of the lead: todo, standby, won, lost, cancelled").nullable(),
18
18
  starred: z.boolean().describe("Whether the lead is starred").nullable().optional(),
19
- step_id: z.number().int().describe("Identifier of the step"),
19
+ step_id: z.number().int().describe("Identifier of the step").nullable(),
20
20
  team_id: z.number().int().describe("Team ID assigned to the lead").nullable().optional(),
21
21
  user_id: z.number().int().describe("User ID assigned to the lead").nullable().optional(),
22
22
  currency: z.string().describe("Currency code of the amount").nullable().optional(),
23
23
  pipeline: z.string().describe("Name of the pipeline the lead belongs to").nullable().optional(),
24
24
  closed_at: z.string().describe("Datetime when the lead was closed (if applicable)").nullable().optional(),
25
25
  team_name: z.string().describe("Name of the team assigned").nullable().optional(),
26
- created_at: z.string().describe("Datetime when the lead was created"),
27
- updated_at: z.string().describe("Datetime when the lead was last updated"),
28
- description: z.string().describe("Current full text description of the lead"),
26
+ created_at: z.string().describe("Datetime when the lead was created").nullable(),
27
+ updated_at: z.string().describe("Datetime when the lead was last updated").nullable(),
28
+ description: z.string().describe("Current full text description of the lead").nullable(),
29
29
  probability: z.number().int().describe("Probability percentage of the lead").nullable().optional(),
30
30
  remind_date: z.string().describe("Date string (YYYY-MM-DD) for reminder").nullable().optional(),
31
31
  remind_time: z.string().describe("Time string (HH:MM) for reminder").nullable().optional(),
@@ -34,9 +34,9 @@ const nocrmIoAppendToLeadsDescription = action("NOCRM_IO_APPEND_TO_LEADS_DESCRIP
34
34
  created_by_id: z.number().int().describe("User ID who created the lead").nullable().optional(),
35
35
  reminder_note: z.string().describe("Note associated with the reminder").nullable().optional(),
36
36
  next_action_at: z.string().describe("Datetime of the next action in ISO 8601").nullable().optional(),
37
- attachment_count: z.number().int().describe("Number of attachments on the lead"),
37
+ attachment_count: z.number().int().describe("Number of attachments on the lead").nullable(),
38
38
  client_folder_id: z.number().int().describe("Client folder ID, if associated").nullable().optional(),
39
- html_description: z.string().describe("Current HTML-formatted description of the lead"),
39
+ html_description: z.string().describe("Current HTML-formatted description of the lead").nullable(),
40
40
  reminder_duration: z.number().int().describe("Duration of the reminder in minutes").nullable().optional(),
41
41
  client_folder_name: z.string().describe("Name of the client folder").nullable().optional(),
42
42
  reminder_activity_id: z.number().int().describe("Activity ID for the reminder").nullable().optional(),
@@ -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.ZodTypeAny = 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.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Lead ID\"),\n step: z.string().describe(\"Name of the step for the lead\"),\n tags: z.array(z.string()).describe(\"Tags associated with the lead\"),\n title: z.string().describe(\"Lead title, usually the company name\"),\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\"),\n starred: z.boolean().describe(\"Whether the lead is starred\").nullable().optional(),\n step_id: z.number().int().describe(\"Identifier of the step\"),\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\"),\n updated_at: z.string().describe(\"Datetime when the lead was last updated\"),\n description: z.string().describe(\"Current full text description of the lead\"),\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\"),\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\"),\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});\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":";;AA4CA,MAAa,kCAAkC,OAAO,wCAAwC;CAC5F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA5CgE,EAAE,OAAO;EACzE,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC;EACvE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,2GAA2G;CAC9I,CAyCS;CACP,QAzCiE,EAAE,OAAO;EAC1E,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,SAAS;EACvC,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;EACzD,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,+BAA+B;EAClE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;EACjE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5F,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD;EACrF,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjF,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wBAAwB;EAC3D,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvF,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAA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SAAS,mCAAmC;EAC/E,kBAAkB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnG,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD;EACtF,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,CAOU;AACV,CAAC"}
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});\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":";;AA4CA,MAAa,kCAAkC,OAAO,wCAAwC;CAC5F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA5CkD,EAAE,OAAO;EAC3D,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC;EACvE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,2GAA2G;CAC9I,CAyCS;CACP,QAzCmD,EAAE,OAAO;EAC5D,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,SAAS,CAAC,CAAC,SAAS;EAClD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;EACpE,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,+BAA+B;EAClE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;EAC5E,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5F,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;EAChG,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjF,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;EACtE,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAA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AAS;EAC7F,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5F,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnG,kBAAkB,EAAE,OAAO,CAAC,CAAC,IAAI,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,CAOU;AACV,CAAC"}
@@ -6,9 +6,9 @@ const NocrmIoAssignLeadToUserInput = zod.z.object({
6
6
  user_id: zod.z.string().describe("ID or email of the user who will receive the lead")
7
7
  }).describe("Request parameters for assigning a lead to a specific user.");
8
8
  const NocrmIoAssignLeadToUserOutput = zod.z.object({
9
- lead_id: zod.z.string().describe("The ID of the lead that was assigned"),
10
- success: zod.z.boolean().describe("Indicates whether the operation was successful"),
11
- user_id: zod.z.string().describe("The ID of the user to whom the lead was assigned")
9
+ lead_id: zod.z.string().describe("The ID of the lead that was assigned").nullable(),
10
+ success: zod.z.boolean().describe("Indicates whether the operation was successful").nullable(),
11
+ user_id: zod.z.string().describe("The ID of the user to whom the lead was assigned").nullable()
12
12
  }).describe("Response schema for lead assignment.");
13
13
  const nocrmIoAssignLeadToUser = require_action.action("NOCRM_IO_ASSIGN_LEAD_TO_USER", {
14
14
  slug: "nocrm_io-assign-lead-to-user",
@@ -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.ZodTypeAny = 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.ZodTypeAny = z.object({\n lead_id: z.string().describe(\"The ID of the lead that was assigned\"),\n success: z.boolean().describe(\"Indicates whether the operation was successful\"),\n user_id: z.string().describe(\"The ID of the user to whom the lead was assigned\"),\n}).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":";;;AAIA,MAAa,+BAA6CA,IAAAA,EAAE,OAAO;CACjE,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,gCAA8CA,IAAAA,EAAE,OAAO;CAClE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;CACnE,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,gDAAgD;CAC9E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD;AACjF,CAAC,CAAC,CAAC,SAAS,sCAAsC;AAElD,MAAa,0BAA0BC,eAAAA,OAAO,gCAAgC;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
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}).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":";;;AAIA,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,SAAS,sCAAsC;AAElD,MAAa,0BAA0BC,eAAAA,OAAO,gCAAgC;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,19 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/assign-lead-to-user.d.ts
4
- declare const NocrmIoAssignLeadToUserInput: z.ZodTypeAny;
5
- declare const NocrmIoAssignLeadToUserOutput: z.ZodTypeAny;
6
- declare const nocrmIoAssignLeadToUser: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const NocrmIoAssignLeadToUserInput: z.ZodObject<{
5
+ lead_id: z.ZodString;
6
+ user_id: z.ZodString;
7
+ }, z.core.$strip>;
8
+ declare const NocrmIoAssignLeadToUserOutput: z.ZodObject<{
9
+ lead_id: z.ZodNullable<z.ZodString>;
10
+ success: z.ZodNullable<z.ZodBoolean>;
11
+ user_id: z.ZodNullable<z.ZodString>;
12
+ }, z.core.$strip>;
13
+ declare const nocrmIoAssignLeadToUser: import("@keystrokehq/action").WorkflowActionDefinition<{
14
+ lead_id: string;
15
+ user_id: string;
16
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
17
  //#endregion
8
18
  export { nocrmIoAssignLeadToUser };
9
19
  //# 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":";;;cAIa,4BAAA,EAA8B,CAAA,CAAE,UAG6B;AAAA,cAC7D,6BAAA,EAA+B,CAAA,CAAE,UAIK;AAAA,cAEtC,uBAAA,gCAAuB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"assign-lead-to-user.d.cts","names":[],"sources":["../../src/actions/assign-lead-to-user.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;cAI5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;cAM7B,uBAAA,gCAAuB,wBAAA"}
@@ -1,9 +1,19 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/assign-lead-to-user.d.ts
4
- declare const NocrmIoAssignLeadToUserInput: z.ZodTypeAny;
5
- declare const NocrmIoAssignLeadToUserOutput: z.ZodTypeAny;
6
- declare const nocrmIoAssignLeadToUser: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const NocrmIoAssignLeadToUserInput: z.ZodObject<{
5
+ lead_id: z.ZodString;
6
+ user_id: z.ZodString;
7
+ }, z.core.$strip>;
8
+ declare const NocrmIoAssignLeadToUserOutput: z.ZodObject<{
9
+ lead_id: z.ZodNullable<z.ZodString>;
10
+ success: z.ZodNullable<z.ZodBoolean>;
11
+ user_id: z.ZodNullable<z.ZodString>;
12
+ }, z.core.$strip>;
13
+ declare const nocrmIoAssignLeadToUser: import("@keystrokehq/action").WorkflowActionDefinition<{
14
+ lead_id: string;
15
+ user_id: string;
16
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
17
  //#endregion
8
18
  export { nocrmIoAssignLeadToUser };
9
19
  //# 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":";;;cAIa,4BAAA,EAA8B,CAAA,CAAE,UAG6B;AAAA,cAC7D,6BAAA,EAA+B,CAAA,CAAE,UAIK;AAAA,cAEtC,uBAAA,gCAAuB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"assign-lead-to-user.d.mts","names":[],"sources":["../../src/actions/assign-lead-to-user.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;cAI5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;cAM7B,uBAAA,gCAAuB,wBAAA"}
@@ -9,9 +9,9 @@ const nocrmIoAssignLeadToUser = action("NOCRM_IO_ASSIGN_LEAD_TO_USER", {
9
9
  user_id: z.string().describe("ID or email of the user who will receive the lead")
10
10
  }).describe("Request parameters for assigning a lead to a specific user."),
11
11
  output: z.object({
12
- lead_id: z.string().describe("The ID of the lead that was assigned"),
13
- success: z.boolean().describe("Indicates whether the operation was successful"),
14
- user_id: z.string().describe("The ID of the user to whom the lead was assigned")
12
+ lead_id: z.string().describe("The ID of the lead that was assigned").nullable(),
13
+ success: z.boolean().describe("Indicates whether the operation was successful").nullable(),
14
+ user_id: z.string().describe("The ID of the user to whom the lead was assigned").nullable()
15
15
  }).describe("Response schema for lead assignment.")
16
16
  });
17
17
  //#endregion
@@ -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.ZodTypeAny = 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.ZodTypeAny = z.object({\n lead_id: z.string().describe(\"The ID of the lead that was assigned\"),\n success: z.boolean().describe(\"Indicates whether the operation was successful\"),\n user_id: z.string().describe(\"The ID of the user to whom the lead was assigned\"),\n}).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":";;AAcA,MAAa,0BAA0B,OAAO,gCAAgC;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAdwD,EAAE,OAAO;EACjE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC;EACtE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD;CAClF,CAAC,CAAC,CAAC,SAAS,6DAWH;CACP,QAXyD,EAAE,OAAO;EAClE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;EACnE,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,gDAAgD;EAC9E,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD;CACjF,CAAC,CAAC,CAAC,SAAS,sCAOF;AACV,CAAC"}
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}).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":";;AAcA,MAAa,0BAA0B,OAAO,gCAAgC;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAd0C,EAAE,OAAO;EACnD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC;EACtE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD;CAClF,CAAC,CAAC,CAAC,SAAS,6DAWH;CACP,QAX2C,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,SAAS,sCAOF;AACV,CAAC"}
@@ -3,9 +3,9 @@ let zod = require("zod");
3
3
  //#region src/actions/change-lead-status-cancelled.ts
4
4
  const NocrmIoChangeLeadStatusCancelledInput = zod.z.object({ lead_id: zod.z.string().describe("The unique identifier of the lead to update") }).describe("Request parameters for changing a lead's status to 'Cancelled'.");
5
5
  const NocrmIoChangeLeadStatusCancelledOutput = zod.z.object({
6
- status: zod.z.string().describe("The new status of the lead, which should be 'cancelled'"),
7
- lead_id: zod.z.string().describe("The ID of the lead that was updated"),
8
- success: zod.z.boolean().describe("Indicates whether the operation was successful")
6
+ status: zod.z.string().describe("The new status of the lead, which should be 'cancelled'").nullable(),
7
+ lead_id: zod.z.string().describe("The ID of the lead that was updated").nullable(),
8
+ success: zod.z.boolean().describe("Indicates whether the operation was successful").nullable()
9
9
  }).describe("Response schema for a cancelled lead status update.");
10
10
  const nocrmIoChangeLeadStatusCancelled = require_action.action("NOCRM_IO_CHANGE_LEAD_STATUS_CANCELLED", {
11
11
  slug: "nocrm_io-change-lead-status-cancelled",
@@ -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.ZodTypeAny = 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.ZodTypeAny = z.object({\n status: z.string().describe(\"The new status of the lead, which should be 'cancelled'\"),\n lead_id: z.string().describe(\"The ID of the lead that was updated\"),\n success: z.boolean().describe(\"Indicates whether the operation was successful\"),\n}).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":";;;AAIA,MAAa,wCAAsDA,IAAAA,EAAE,OAAO,EAC1E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,EAC5E,CAAC,CAAC,CAAC,SAAS,iEAAiE;AAC7E,MAAa,yCAAuDA,IAAAA,EAAE,OAAO;CAC3E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD;CACrF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;CAClE,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,gDAAgD;AAChF,CAAC,CAAC,CAAC,SAAS,qDAAqD;AAEjE,MAAa,mCAAmCC,eAAAA,OAAO,yCAAyC;CAC9F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
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}).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":";;;AAIA,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,SAAS,qDAAqD;AAEjE,MAAa,mCAAmCC,eAAAA,OAAO,yCAAyC;CAC9F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,17 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/change-lead-status-cancelled.d.ts
4
- declare const NocrmIoChangeLeadStatusCancelledInput: z.ZodTypeAny;
5
- declare const NocrmIoChangeLeadStatusCancelledOutput: z.ZodTypeAny;
6
- declare const nocrmIoChangeLeadStatusCancelled: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const NocrmIoChangeLeadStatusCancelledInput: z.ZodObject<{
5
+ lead_id: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const NocrmIoChangeLeadStatusCancelledOutput: z.ZodObject<{
8
+ status: z.ZodNullable<z.ZodString>;
9
+ lead_id: z.ZodNullable<z.ZodString>;
10
+ success: z.ZodNullable<z.ZodBoolean>;
11
+ }, z.core.$strip>;
12
+ declare const nocrmIoChangeLeadStatusCancelled: import("@keystrokehq/action").WorkflowActionDefinition<{
13
+ lead_id: string;
14
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
15
  //#endregion
8
16
  export { nocrmIoChangeLeadStatusCancelled };
9
17
  //# sourceMappingURL=change-lead-status-cancelled.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"change-lead-status-cancelled.d.cts","names":[],"sources":["../../src/actions/change-lead-status-cancelled.ts"],"mappings":";;;cAIa,qCAAA,EAAuC,CAAA,CAAE,UAEwB;AAAA,cACjE,sCAAA,EAAwC,CAAA,CAAE,UAIW;AAAA,cAErD,gCAAA,gCAAgC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"change-lead-status-cancelled.d.cts","names":[],"sources":["../../src/actions/change-lead-status-cancelled.ts"],"mappings":";;;cAIa,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;cAGrC,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;;cAMtC,gCAAA,gCAAgC,wBAAA"}