@keystrokehq/nocrm_io 0.1.5 → 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.
Files changed (85) 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 -0
  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 +3 -18
  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 +3 -18
  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 -0
  10. package/dist/actions/add-a-tag-to-a-lead.mjs.map +1 -1
  11. package/dist/actions/append-to-leads-description.cjs +1 -0
  12. package/dist/actions/append-to-leads-description.cjs.map +1 -1
  13. package/dist/actions/append-to-leads-description.d.cts +3 -18
  14. package/dist/actions/append-to-leads-description.d.cts.map +1 -1
  15. package/dist/actions/append-to-leads-description.d.mts +3 -18
  16. package/dist/actions/append-to-leads-description.d.mts.map +1 -1
  17. package/dist/actions/append-to-leads-description.mjs +1 -0
  18. package/dist/actions/append-to-leads-description.mjs.map +1 -1
  19. package/dist/actions/assign-lead-to-user.cjs +1 -0
  20. package/dist/actions/assign-lead-to-user.cjs.map +1 -1
  21. package/dist/actions/assign-lead-to-user.d.cts +3 -18
  22. package/dist/actions/assign-lead-to-user.d.cts.map +1 -1
  23. package/dist/actions/assign-lead-to-user.d.mts +3 -18
  24. package/dist/actions/assign-lead-to-user.d.mts.map +1 -1
  25. package/dist/actions/assign-lead-to-user.mjs +1 -0
  26. package/dist/actions/assign-lead-to-user.mjs.map +1 -1
  27. package/dist/actions/change-lead-status-cancelled.cjs +1 -0
  28. package/dist/actions/change-lead-status-cancelled.cjs.map +1 -1
  29. package/dist/actions/change-lead-status-cancelled.d.cts +3 -17
  30. package/dist/actions/change-lead-status-cancelled.d.cts.map +1 -1
  31. package/dist/actions/change-lead-status-cancelled.d.mts +3 -17
  32. package/dist/actions/change-lead-status-cancelled.d.mts.map +1 -1
  33. package/dist/actions/change-lead-status-cancelled.mjs +1 -0
  34. package/dist/actions/change-lead-status-cancelled.mjs.map +1 -1
  35. package/dist/actions/change-lead-status-standby.cjs +1 -0
  36. package/dist/actions/change-lead-status-standby.cjs.map +1 -1
  37. package/dist/actions/change-lead-status-standby.d.cts +3 -19
  38. package/dist/actions/change-lead-status-standby.d.cts.map +1 -1
  39. package/dist/actions/change-lead-status-standby.d.mts +3 -19
  40. package/dist/actions/change-lead-status-standby.d.mts.map +1 -1
  41. package/dist/actions/change-lead-status-standby.mjs +1 -0
  42. package/dist/actions/change-lead-status-standby.mjs.map +1 -1
  43. package/dist/actions/create-lead.cjs +1 -0
  44. package/dist/actions/create-lead.cjs.map +1 -1
  45. package/dist/actions/create-lead.d.cts +3 -21
  46. package/dist/actions/create-lead.d.cts.map +1 -1
  47. package/dist/actions/create-lead.d.mts +3 -21
  48. package/dist/actions/create-lead.d.mts.map +1 -1
  49. package/dist/actions/create-lead.mjs +1 -0
  50. package/dist/actions/create-lead.mjs.map +1 -1
  51. package/dist/actions/delete-lead.cjs +1 -0
  52. package/dist/actions/delete-lead.cjs.map +1 -1
  53. package/dist/actions/delete-lead.d.cts +3 -17
  54. package/dist/actions/delete-lead.d.cts.map +1 -1
  55. package/dist/actions/delete-lead.d.mts +3 -17
  56. package/dist/actions/delete-lead.d.mts.map +1 -1
  57. package/dist/actions/delete-lead.mjs +1 -0
  58. package/dist/actions/delete-lead.mjs.map +1 -1
  59. package/dist/actions/duplicate-lead.cjs +1 -0
  60. package/dist/actions/duplicate-lead.cjs.map +1 -1
  61. package/dist/actions/duplicate-lead.d.cts +3 -18
  62. package/dist/actions/duplicate-lead.d.cts.map +1 -1
  63. package/dist/actions/duplicate-lead.d.mts +3 -18
  64. package/dist/actions/duplicate-lead.d.mts.map +1 -1
  65. package/dist/actions/duplicate-lead.mjs +1 -0
  66. package/dist/actions/duplicate-lead.mjs.map +1 -1
  67. package/dist/actions/list-all-teams.cjs +1 -0
  68. package/dist/actions/list-all-teams.cjs.map +1 -1
  69. package/dist/actions/list-all-teams.d.cts +3 -15
  70. package/dist/actions/list-all-teams.d.cts.map +1 -1
  71. package/dist/actions/list-all-teams.d.mts +3 -15
  72. package/dist/actions/list-all-teams.d.mts.map +1 -1
  73. package/dist/actions/list-all-teams.mjs +1 -0
  74. package/dist/actions/list-all-teams.mjs.map +1 -1
  75. package/dist/app.cjs +5 -4
  76. package/dist/app.cjs.map +1 -1
  77. package/dist/app.d.cts +4 -6
  78. package/dist/app.d.cts.map +1 -1
  79. package/dist/app.d.mts +4 -6
  80. package/dist/app.d.mts.map +1 -1
  81. package/dist/app.mjs +0 -1
  82. package/dist/app.mjs.map +1 -1
  83. package/dist/index.d.cts +1 -1
  84. package/dist/index.d.mts +1 -1
  85. package/package.json +2 -2
@@ -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,25 +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: import("@keystrokehq/action").WorkflowActionDefinition<{
11
- days: number;
12
- lead_id: string;
13
- activity_id?: number | undefined;
14
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"nocrm_io", z.ZodObject<{
15
- connectionId: z.ZodString;
16
- entityId: z.ZodString;
17
- instanceId: z.ZodString;
18
- }, z.core.$strip>, z.ZodObject<{
19
- subdomain: z.ZodString;
20
- generic_api_key: z.ZodString;
21
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"nocrm_io", z.ZodObject<{
22
- connectionId: z.ZodString;
23
- entityId: z.ZodString;
24
- instanceId: z.ZodString;
25
- }, z.core.$strip>, z.ZodObject<{
26
- subdomain: z.ZodString;
27
- generic_api_key: z.ZodString;
28
- }, z.core.$strip>>]>;
12
+ declare const nocrmIoChangeLeadStatusStandby: AppAction<typeof NocrmIoChangeLeadStatusStandbyInput, typeof NocrmIoChangeLeadStatusStandbyOutput, typeof nocrmIo.credential>;
29
13
  //#endregion
30
14
  export { nocrmIoChangeLeadStatusStandby };
31
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":";;;cAIa,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;cAKnC,oCAAA,EAAoC,CAAA,CAAA,SAAA,CAAA,CAAA,CAAA,SAAA,EAAA,CAAA,CAAA,UAAA;AAAA,cAEpC,8BAAA,gCAA8B,wBAAA"}
1
+ {"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,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const nocrmIoChangeLeadStatusStandby = action("NOCRM_IO_CHANGE_LEAD_STATUS_STANDBY", {
@@ -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":";;AAWA,MAAa,iCAAiC,OAAO,uCAAuC;CAC1F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAXiD,EAAE,OAAO;EAC1D,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0EAA0E;EAC1G,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C;EAC1E,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CACzG,CAAC,CAAC,CAAC,SAAS,+DAOH;CACP,QAPkD,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,mDAOrF;AACV,CAAC"}
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,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/create-lead.ts
@@ -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":";;;AAIA,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,I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AC7F,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CACxG,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAC1F,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,oBAAoBA,IAAAA,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,oBAAoBC,eAAAA,OAAO,wBAAwB;CAC9D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
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,CA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z } from "zod";
2
4
 
3
5
  //#region src/actions/create-lead.d.ts
@@ -43,27 +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: import("@keystrokehq/action").WorkflowActionDefinition<{
47
- title: string;
48
- step?: string | undefined;
49
- tags?: string[] | undefined;
50
- user_id?: string | undefined;
51
- description?: string | undefined;
52
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"nocrm_io", z.ZodObject<{
53
- connectionId: z.ZodString;
54
- entityId: z.ZodString;
55
- instanceId: z.ZodString;
56
- }, z.core.$strip>, z.ZodObject<{
57
- subdomain: z.ZodString;
58
- generic_api_key: z.ZodString;
59
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"nocrm_io", z.ZodObject<{
60
- connectionId: z.ZodString;
61
- entityId: z.ZodString;
62
- instanceId: z.ZodString;
63
- }, z.core.$strip>, z.ZodObject<{
64
- subdomain: z.ZodString;
65
- generic_api_key: z.ZodString;
66
- }, z.core.$strip>>]>;
48
+ declare const nocrmIoCreateLead: AppAction<typeof NocrmIoCreateLeadInput, typeof NocrmIoCreateLeadOutput, typeof nocrmIo.credential>;
67
49
  //#endregion
68
50
  export { nocrmIoCreateLead };
69
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":";;;cAIa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;cAOtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAoCvB,iBAAA,gCAAiB,wBAAA"}
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,27 +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: import("@keystrokehq/action").WorkflowActionDefinition<{
47
- title: string;
48
- step?: string | undefined;
49
- tags?: string[] | undefined;
50
- user_id?: string | undefined;
51
- description?: string | undefined;
52
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"nocrm_io", z.ZodObject<{
53
- connectionId: z.ZodString;
54
- entityId: z.ZodString;
55
- instanceId: z.ZodString;
56
- }, z.core.$strip>, z.ZodObject<{
57
- subdomain: z.ZodString;
58
- generic_api_key: z.ZodString;
59
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"nocrm_io", z.ZodObject<{
60
- connectionId: z.ZodString;
61
- entityId: z.ZodString;
62
- instanceId: z.ZodString;
63
- }, z.core.$strip>, z.ZodObject<{
64
- subdomain: z.ZodString;
65
- generic_api_key: z.ZodString;
66
- }, z.core.$strip>>]>;
48
+ declare const nocrmIoCreateLead: AppAction<typeof NocrmIoCreateLeadInput, typeof NocrmIoCreateLeadOutput, typeof nocrmIo.credential>;
67
49
  //#endregion
68
50
  export { nocrmIoCreateLead };
69
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":";;;cAIa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;cAOtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAoCvB,iBAAA,gCAAiB,wBAAA"}
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,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const nocrmIoCreateLead = action("NOCRM_IO_CREATE_LEAD", {
@@ -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":";;AA+CA,MAAa,oBAAoB,OAAO,wBAAwB;CAC9D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA/CoC,EAAE,OAAO;EAC7C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;EAChE,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;EACzE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D;EACrF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,+GAA+G,CAAC,CAAC,SAAS;EACvJ,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;CAC7G,CAAC,CAAC,CAAC,SAAS,yDAyCH;CACP,QAzCqC,EAAE,OAAO;EAC9C,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;EACzE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;EAChE,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,gCAAgC;EACnE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;EACpF,QAAQ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AAS,CAAC,CAAC,SAAS;EACxG,0BAA0B,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAOhB;AACV,CAAC"}
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: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SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7G,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7F,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3G,kBAAkB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;EACxG,kBAAkB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpG,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;EAC1F,mBAAmB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzG,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1F,sBAAsB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5G,wBAAwB,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxG,0BAA0B,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/delete-lead.ts
@@ -1 +1 @@
1
- {"version":3,"file":"delete-lead.cjs","names":["z","action"],"sources":["../../src/actions/delete-lead.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NocrmIoDeleteLeadInput = z.object({\n id: z.number().int().describe(\"Unique identifier of the lead to delete\"),\n}).describe(\"Request parameters for deleting a lead.\");\nexport const NocrmIoDeleteLeadOutput = z.object({\n id: z.number().int().describe(\"The unique identifier of the deleted lead\").nullable(),\n}).passthrough().describe(\"Response schema for the delete lead action.\");\n\nexport const nocrmIoDeleteLead = action(\"NOCRM_IO_DELETE_LEAD\", {\n slug: \"nocrm_io-delete-lead\",\n name: \"Delete Lead\",\n description: \"Tool to delete a lead. Use when you need to permanently remove a specific lead after verifying it is no longer needed.\",\n input: NocrmIoDeleteLeadInput,\n output: NocrmIoDeleteLeadOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAyBA,IAAAA,EAAE,OAAO,EAC7C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,EACzE,CAAC,CAAC,CAAC,SAAS,yCAAyC;AACrD,MAAa,0BAA0BA,IAAAA,EAAE,OAAO,EAC9C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,EACtF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AAEvE,MAAa,oBAAoBC,eAAAA,OAAO,wBAAwB;CAC9D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"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,23 +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: import("@keystrokehq/action").WorkflowActionDefinition<{
11
- id: number;
12
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"nocrm_io", z.ZodObject<{
13
- connectionId: z.ZodString;
14
- entityId: z.ZodString;
15
- instanceId: z.ZodString;
16
- }, z.core.$strip>, z.ZodObject<{
17
- subdomain: z.ZodString;
18
- generic_api_key: z.ZodString;
19
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"nocrm_io", z.ZodObject<{
20
- connectionId: z.ZodString;
21
- entityId: z.ZodString;
22
- instanceId: z.ZodString;
23
- }, z.core.$strip>, z.ZodObject<{
24
- subdomain: z.ZodString;
25
- generic_api_key: z.ZodString;
26
- }, z.core.$strip>>]>;
12
+ declare const nocrmIoDeleteLead: AppAction<typeof NocrmIoDeleteLeadInput, typeof NocrmIoDeleteLeadOutput, typeof nocrmIo.credential>;
27
13
  //#endregion
28
14
  export { nocrmIoDeleteLead };
29
15
  //# sourceMappingURL=delete-lead.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"delete-lead.d.cts","names":[],"sources":["../../src/actions/delete-lead.ts"],"mappings":";;;cAIa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;cAGtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;cAIvB,iBAAA,gCAAiB,wBAAA"}
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,23 +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: import("@keystrokehq/action").WorkflowActionDefinition<{
11
- id: number;
12
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"nocrm_io", z.ZodObject<{
13
- connectionId: z.ZodString;
14
- entityId: z.ZodString;
15
- instanceId: z.ZodString;
16
- }, z.core.$strip>, z.ZodObject<{
17
- subdomain: z.ZodString;
18
- generic_api_key: z.ZodString;
19
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"nocrm_io", z.ZodObject<{
20
- connectionId: z.ZodString;
21
- entityId: z.ZodString;
22
- instanceId: z.ZodString;
23
- }, z.core.$strip>, z.ZodObject<{
24
- subdomain: z.ZodString;
25
- generic_api_key: z.ZodString;
26
- }, z.core.$strip>>]>;
12
+ declare const nocrmIoDeleteLead: AppAction<typeof NocrmIoDeleteLeadInput, typeof NocrmIoDeleteLeadOutput, typeof nocrmIo.credential>;
27
13
  //#endregion
28
14
  export { nocrmIoDeleteLead };
29
15
  //# sourceMappingURL=delete-lead.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"delete-lead.d.mts","names":[],"sources":["../../src/actions/delete-lead.ts"],"mappings":";;;cAIa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;cAGtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;cAIvB,iBAAA,gCAAiB,wBAAA"}
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,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const nocrmIoDeleteLead = action("NOCRM_IO_DELETE_LEAD", {
@@ -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":";;AAWA,MAAa,oBAAoB,OAAO,wBAAwB;CAC9D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAXoC,EAAE,OAAO,EAC7C,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,EACzE,CAAC,CAAC,CAAC,SAAS,yCASH;CACP,QATqC,EAAE,OAAO,EAC9C,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,EACtF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAOhB;AACV,CAAC"}
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,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/duplicate-lead.ts
@@ -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":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mGAAmG;CAC7H,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C;AAClF,CAAC,CAAC,CAAC,SAAS,4CAA4C;AACxD,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CACnF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAC3E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CAC3F,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CACjG,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,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,uBAAuBC,eAAAA,OAAO,2BAA2B;CACpE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
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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AC,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,24 +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: import("@keystrokehq/action").WorkflowActionDefinition<{
23
- step: string;
24
- lead_id: number;
25
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"nocrm_io", z.ZodObject<{
26
- connectionId: z.ZodString;
27
- entityId: z.ZodString;
28
- instanceId: z.ZodString;
29
- }, z.core.$strip>, z.ZodObject<{
30
- subdomain: z.ZodString;
31
- generic_api_key: z.ZodString;
32
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"nocrm_io", z.ZodObject<{
33
- connectionId: z.ZodString;
34
- entityId: z.ZodString;
35
- instanceId: z.ZodString;
36
- }, z.core.$strip>, z.ZodObject<{
37
- subdomain: z.ZodString;
38
- generic_api_key: z.ZodString;
39
- }, z.core.$strip>>]>;
24
+ declare const nocrmIoDuplicateLead: AppAction<typeof NocrmIoDuplicateLeadInput, typeof NocrmIoDuplicateLeadOutput, typeof nocrmIo.credential>;
40
25
  //#endregion
41
26
  export { nocrmIoDuplicateLead };
42
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":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;cAIzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAe1B,oBAAA,gCAAoB,wBAAA"}
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,24 +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: import("@keystrokehq/action").WorkflowActionDefinition<{
23
- step: string;
24
- lead_id: number;
25
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"nocrm_io", z.ZodObject<{
26
- connectionId: z.ZodString;
27
- entityId: z.ZodString;
28
- instanceId: z.ZodString;
29
- }, z.core.$strip>, z.ZodObject<{
30
- subdomain: z.ZodString;
31
- generic_api_key: z.ZodString;
32
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"nocrm_io", z.ZodObject<{
33
- connectionId: z.ZodString;
34
- entityId: z.ZodString;
35
- instanceId: z.ZodString;
36
- }, z.core.$strip>, z.ZodObject<{
37
- subdomain: z.ZodString;
38
- generic_api_key: z.ZodString;
39
- }, z.core.$strip>>]>;
24
+ declare const nocrmIoDuplicateLead: AppAction<typeof NocrmIoDuplicateLeadInput, typeof NocrmIoDuplicateLeadOutput, typeof nocrmIo.credential>;
40
25
  //#endregion
41
26
  export { nocrmIoDuplicateLead };
42
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":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;cAIzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAe1B,oBAAA,gCAAoB,wBAAA"}
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,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const nocrmIoDuplicateLead = action("NOCRM_IO_DUPLICATE_LEAD", {
@@ -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":";;AAuBA,MAAa,uBAAuB,OAAO,2BAA2B;CACpE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAvBuC,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,4CAoBH;CACP,QApBwC,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,8FAOhB;AACV,CAAC"}
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,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/list-all-teams.ts
@@ -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":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,sCAAsC;AACpG,MAAa,4BAA4BA,IAAAA,EAAE,QAAQ;AAEnD,MAAa,sBAAsBC,eAAAA,OAAO,2BAA2B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
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,23 +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: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"nocrm_io", z.ZodObject<{
7
- connectionId: z.ZodString;
8
- entityId: z.ZodString;
9
- instanceId: z.ZodString;
10
- }, z.core.$strip>, z.ZodObject<{
11
- subdomain: z.ZodString;
12
- generic_api_key: z.ZodString;
13
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"nocrm_io", z.ZodObject<{
14
- connectionId: z.ZodString;
15
- entityId: z.ZodString;
16
- instanceId: z.ZodString;
17
- }, z.core.$strip>, z.ZodObject<{
18
- subdomain: z.ZodString;
19
- generic_api_key: z.ZodString;
20
- }, z.core.$strip>>]>;
8
+ declare const nocrmIoListAllTeams: AppAction<typeof NocrmIoListAllTeamsInput, typeof NocrmIoListAllTeamsOutput, typeof nocrmIo.credential>;
21
9
  //#endregion
22
10
  export { nocrmIoListAllTeams };
23
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":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cACxB,yBAAA,EAAyB,CAAA,CAAA,UAAc;AAAA,cAEvC,mBAAA,gCAAmB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,aAAA,CAAA,CAAA,SAAA"}
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,23 +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: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"nocrm_io", z.ZodObject<{
7
- connectionId: z.ZodString;
8
- entityId: z.ZodString;
9
- instanceId: z.ZodString;
10
- }, z.core.$strip>, z.ZodObject<{
11
- subdomain: z.ZodString;
12
- generic_api_key: z.ZodString;
13
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"nocrm_io", z.ZodObject<{
14
- connectionId: z.ZodString;
15
- entityId: z.ZodString;
16
- instanceId: z.ZodString;
17
- }, z.core.$strip>, z.ZodObject<{
18
- subdomain: z.ZodString;
19
- generic_api_key: z.ZodString;
20
- }, z.core.$strip>>]>;
8
+ declare const nocrmIoListAllTeams: AppAction<typeof NocrmIoListAllTeamsInput, typeof NocrmIoListAllTeamsOutput, typeof nocrmIo.credential>;
21
9
  //#endregion
22
10
  export { nocrmIoListAllTeams };
23
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":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cACxB,yBAAA,EAAyB,CAAA,CAAA,UAAc;AAAA,cAEvC,mBAAA,gCAAmB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,aAAA,CAAA,CAAA,SAAA"}
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,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const nocrmIoListAllTeams = action("NOCRM_IO_LIST_ALL_TEAMS", {
@@ -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":";;AAOA,MAAa,sBAAsB,OAAO,2BAA2B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAPsC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,sCAOrD;CACP,QAPuC,EAAE,QAOjC;AACV,CAAC"}
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,13 +1,14 @@
1
1
  let _keystrokehq_keystroke_app = require("@keystrokehq/keystroke/app");
2
2
  let zod = require("zod");
3
3
  //#region src/app.ts
4
+ const credential = {
5
+ subdomain: zod.z.string(),
6
+ generic_api_key: zod.z.string()
7
+ };
4
8
  const nocrmIo = (0, _keystrokehq_keystroke_app.defineApp)({
5
9
  slug: "nocrm_io",
6
10
  auth: "keystroke",
7
- credential: {
8
- subdomain: zod.z.string(),
9
- generic_api_key: zod.z.string()
10
- }
11
+ credential
11
12
  });
12
13
  //#endregion
13
14
  exports.nocrmIo = nocrmIo;
package/dist/app.cjs.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"app.cjs","names":["z"],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nexport const nocrmIo = defineApp({\n slug: \"nocrm_io\",\n auth: \"keystroke\",\n credential: {\n subdomain: z.string(),\n generic_api_key: z.string(),\n },\n});\n"],"mappings":";;;AAGA,MAAa,WAAA,GAAA,2BAAA,UAAA,CAAoB;CAC/B,MAAM;CACN,MAAM;CACN,YAAY;EACV,WAAWA,IAAAA,EAAE,OAAO;EACpB,iBAAiBA,IAAAA,EAAE,OAAO;CAC5B;AACF,CAAC"}
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"}