@keystrokehq/pipeline_crm 0.1.0

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 (154) hide show
  1. package/README.md +17 -0
  2. package/dist/action.cjs +21 -0
  3. package/dist/action.cjs.map +1 -0
  4. package/dist/action.mjs +21 -0
  5. package/dist/action.mjs.map +1 -0
  6. package/dist/actions/create-company.cjs +71 -0
  7. package/dist/actions/create-company.cjs.map +1 -0
  8. package/dist/actions/create-company.d.cts +9 -0
  9. package/dist/actions/create-company.d.cts.map +1 -0
  10. package/dist/actions/create-company.d.mts +9 -0
  11. package/dist/actions/create-company.d.mts.map +1 -0
  12. package/dist/actions/create-company.mjs +70 -0
  13. package/dist/actions/create-company.mjs.map +1 -0
  14. package/dist/actions/create-deal.cjs +35 -0
  15. package/dist/actions/create-deal.cjs.map +1 -0
  16. package/dist/actions/create-deal.d.cts +9 -0
  17. package/dist/actions/create-deal.d.cts.map +1 -0
  18. package/dist/actions/create-deal.d.mts +9 -0
  19. package/dist/actions/create-deal.d.mts.map +1 -0
  20. package/dist/actions/create-deal.mjs +32 -0
  21. package/dist/actions/create-deal.mjs.map +1 -0
  22. package/dist/actions/delete-company.cjs +19 -0
  23. package/dist/actions/delete-company.cjs.map +1 -0
  24. package/dist/actions/delete-company.d.cts +9 -0
  25. package/dist/actions/delete-company.d.cts.map +1 -0
  26. package/dist/actions/delete-company.d.mts +9 -0
  27. package/dist/actions/delete-company.d.mts.map +1 -0
  28. package/dist/actions/delete-company.mjs +16 -0
  29. package/dist/actions/delete-company.mjs.map +1 -0
  30. package/dist/actions/delete-deal.cjs +19 -0
  31. package/dist/actions/delete-deal.cjs.map +1 -0
  32. package/dist/actions/delete-deal.d.cts +9 -0
  33. package/dist/actions/delete-deal.d.cts.map +1 -0
  34. package/dist/actions/delete-deal.d.mts +9 -0
  35. package/dist/actions/delete-deal.d.mts.map +1 -0
  36. package/dist/actions/delete-deal.mjs +16 -0
  37. package/dist/actions/delete-deal.mjs.map +1 -0
  38. package/dist/actions/delete-task.cjs +20 -0
  39. package/dist/actions/delete-task.cjs.map +1 -0
  40. package/dist/actions/delete-task.d.cts +9 -0
  41. package/dist/actions/delete-task.d.cts.map +1 -0
  42. package/dist/actions/delete-task.d.mts +9 -0
  43. package/dist/actions/delete-task.d.mts.map +1 -0
  44. package/dist/actions/delete-task.mjs +17 -0
  45. package/dist/actions/delete-task.mjs.map +1 -0
  46. package/dist/actions/get-company.cjs +84 -0
  47. package/dist/actions/get-company.cjs.map +1 -0
  48. package/dist/actions/get-company.d.cts +9 -0
  49. package/dist/actions/get-company.d.cts.map +1 -0
  50. package/dist/actions/get-company.d.mts +9 -0
  51. package/dist/actions/get-company.d.mts.map +1 -0
  52. package/dist/actions/get-company.mjs +83 -0
  53. package/dist/actions/get-company.mjs.map +1 -0
  54. package/dist/actions/get-deal.cjs +118 -0
  55. package/dist/actions/get-deal.cjs.map +1 -0
  56. package/dist/actions/get-deal.d.cts +9 -0
  57. package/dist/actions/get-deal.d.cts.map +1 -0
  58. package/dist/actions/get-deal.d.mts +9 -0
  59. package/dist/actions/get-deal.d.mts.map +1 -0
  60. package/dist/actions/get-deal.mjs +117 -0
  61. package/dist/actions/get-deal.mjs.map +1 -0
  62. package/dist/actions/get-stage.cjs +23 -0
  63. package/dist/actions/get-stage.cjs.map +1 -0
  64. package/dist/actions/get-stage.d.cts +9 -0
  65. package/dist/actions/get-stage.d.cts.map +1 -0
  66. package/dist/actions/get-stage.d.mts +9 -0
  67. package/dist/actions/get-stage.d.mts.map +1 -0
  68. package/dist/actions/get-stage.mjs +20 -0
  69. package/dist/actions/get-stage.mjs.map +1 -0
  70. package/dist/actions/get-task.cjs +48 -0
  71. package/dist/actions/get-task.cjs.map +1 -0
  72. package/dist/actions/get-task.d.cts +9 -0
  73. package/dist/actions/get-task.d.cts.map +1 -0
  74. package/dist/actions/get-task.d.mts +9 -0
  75. package/dist/actions/get-task.d.mts.map +1 -0
  76. package/dist/actions/get-task.mjs +47 -0
  77. package/dist/actions/get-task.mjs.map +1 -0
  78. package/dist/actions/index.cjs +31 -0
  79. package/dist/actions/index.d.cts +16 -0
  80. package/dist/actions/index.d.mts +16 -0
  81. package/dist/actions/index.mjs +16 -0
  82. package/dist/actions/list-companies.cjs +75 -0
  83. package/dist/actions/list-companies.cjs.map +1 -0
  84. package/dist/actions/list-companies.d.cts +9 -0
  85. package/dist/actions/list-companies.d.cts.map +1 -0
  86. package/dist/actions/list-companies.d.mts +9 -0
  87. package/dist/actions/list-companies.d.mts.map +1 -0
  88. package/dist/actions/list-companies.mjs +74 -0
  89. package/dist/actions/list-companies.mjs.map +1 -0
  90. package/dist/actions/list-leads.cjs +50 -0
  91. package/dist/actions/list-leads.cjs.map +1 -0
  92. package/dist/actions/list-leads.d.cts +9 -0
  93. package/dist/actions/list-leads.d.cts.map +1 -0
  94. package/dist/actions/list-leads.d.mts +9 -0
  95. package/dist/actions/list-leads.d.mts.map +1 -0
  96. package/dist/actions/list-leads.mjs +49 -0
  97. package/dist/actions/list-leads.mjs.map +1 -0
  98. package/dist/actions/list-stages.cjs +36 -0
  99. package/dist/actions/list-stages.cjs.map +1 -0
  100. package/dist/actions/list-stages.d.cts +9 -0
  101. package/dist/actions/list-stages.d.cts.map +1 -0
  102. package/dist/actions/list-stages.d.mts +9 -0
  103. package/dist/actions/list-stages.d.mts.map +1 -0
  104. package/dist/actions/list-stages.mjs +35 -0
  105. package/dist/actions/list-stages.mjs.map +1 -0
  106. package/dist/actions/list-tasks.cjs +67 -0
  107. package/dist/actions/list-tasks.cjs.map +1 -0
  108. package/dist/actions/list-tasks.d.cts +9 -0
  109. package/dist/actions/list-tasks.d.cts.map +1 -0
  110. package/dist/actions/list-tasks.d.mts +9 -0
  111. package/dist/actions/list-tasks.d.mts.map +1 -0
  112. package/dist/actions/list-tasks.mjs +66 -0
  113. package/dist/actions/list-tasks.mjs.map +1 -0
  114. package/dist/actions/list-users.cjs +40 -0
  115. package/dist/actions/list-users.cjs.map +1 -0
  116. package/dist/actions/list-users.d.cts +9 -0
  117. package/dist/actions/list-users.d.cts.map +1 -0
  118. package/dist/actions/list-users.d.mts +9 -0
  119. package/dist/actions/list-users.d.mts.map +1 -0
  120. package/dist/actions/list-users.mjs +39 -0
  121. package/dist/actions/list-users.mjs.map +1 -0
  122. package/dist/actions/update-company.cjs +69 -0
  123. package/dist/actions/update-company.cjs.map +1 -0
  124. package/dist/actions/update-company.d.cts +9 -0
  125. package/dist/actions/update-company.d.cts.map +1 -0
  126. package/dist/actions/update-company.d.mts +9 -0
  127. package/dist/actions/update-company.d.mts.map +1 -0
  128. package/dist/actions/update-company.mjs +68 -0
  129. package/dist/actions/update-company.mjs.map +1 -0
  130. package/dist/app.cjs +9 -0
  131. package/dist/app.cjs.map +1 -0
  132. package/dist/app.d.cts +5 -0
  133. package/dist/app.d.cts.map +1 -0
  134. package/dist/app.d.mts +5 -0
  135. package/dist/app.d.mts.map +1 -0
  136. package/dist/app.mjs +10 -0
  137. package/dist/app.mjs.map +1 -0
  138. package/dist/catalog.cjs +15 -0
  139. package/dist/catalog.cjs.map +1 -0
  140. package/dist/catalog.d.cts +14 -0
  141. package/dist/catalog.d.cts.map +1 -0
  142. package/dist/catalog.d.mts +14 -0
  143. package/dist/catalog.d.mts.map +1 -0
  144. package/dist/catalog.mjs +15 -0
  145. package/dist/catalog.mjs.map +1 -0
  146. package/dist/execute.cjs +18 -0
  147. package/dist/execute.cjs.map +1 -0
  148. package/dist/execute.mjs +18 -0
  149. package/dist/execute.mjs.map +1 -0
  150. package/dist/index.cjs +36 -0
  151. package/dist/index.d.cts +18 -0
  152. package/dist/index.d.mts +18 -0
  153. package/dist/index.mjs +19 -0
  154. package/package.json +49 -0
@@ -0,0 +1,20 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/delete-task.ts
4
+ const PipelineCrmDeleteTaskInput = zod.z.object({ id: zod.z.number().int().describe("ID of the calendar entry (task) to delete") }).describe("Request model for deleting a calendar task by its ID in Pipeline CRM.");
5
+ const PipelineCrmDeleteTaskOutput = zod.z.object({
6
+ id: zod.z.number().int().describe("ID of the deleted calendar entry"),
7
+ name: zod.z.string().describe("Name/title of the calendar entry").nullable().optional(),
8
+ type: zod.z.enum(["CalendarEvent", "CalendarTask"]).describe("Type of the calendar entry")
9
+ }).describe("Response model for the deleted calendar entry.");
10
+ const pipelineCrmDeleteTask = require_action.action("PIPELINE_CRM_DELETE_TASK", {
11
+ slug: "pipeline_crm-delete-task",
12
+ name: "Delete calendar task",
13
+ description: "Tool to delete a calendar task by ID. Use after confirming the task exists in Pipeline CRM.",
14
+ input: PipelineCrmDeleteTaskInput,
15
+ output: PipelineCrmDeleteTaskOutput
16
+ });
17
+ //#endregion
18
+ exports.pipelineCrmDeleteTask = pipelineCrmDeleteTask;
19
+
20
+ //# sourceMappingURL=delete-task.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"delete-task.cjs","names":["z","action"],"sources":["../../src/actions/delete-task.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PipelineCrmDeleteTaskInput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"ID of the calendar entry (task) to delete\"),\n}).describe(\"Request model for deleting a calendar task by its ID in Pipeline CRM.\");\nexport const PipelineCrmDeleteTaskOutput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"ID of the deleted calendar entry\"),\n name: z.string().describe(\"Name/title of the calendar entry\").nullable().optional(),\n type: z.enum([\"CalendarEvent\", \"CalendarTask\"]).describe(\"Type of the calendar entry\"),\n}).describe(\"Response model for the deleted calendar entry.\");\n\nexport const pipelineCrmDeleteTask = action(\"PIPELINE_CRM_DELETE_TASK\", {\n slug: \"pipeline_crm-delete-task\",\n name: \"Delete calendar task\",\n description: \"Tool to delete a calendar task by ID. Use after confirming the task exists in Pipeline CRM.\",\n input: PipelineCrmDeleteTaskInput,\n output: PipelineCrmDeleteTaskOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA2CA,IAAAA,EAAE,OAAO,EAC/D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,EAC3E,CAAC,CAAC,CAAC,SAAS,uEAAuE;AACnF,MAAa,8BAA4CA,IAAAA,EAAE,OAAO;CAChE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC;CAChE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,MAAMA,IAAAA,EAAE,KAAK,CAAC,iBAAiB,cAAc,CAAC,CAAC,CAAC,SAAS,4BAA4B;AACvF,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAE5D,MAAa,wBAAwBC,eAAAA,OAAO,4BAA4B;CACtE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/delete-task.d.ts
4
+ declare const PipelineCrmDeleteTaskInput: z.ZodTypeAny;
5
+ declare const PipelineCrmDeleteTaskOutput: z.ZodTypeAny;
6
+ declare const pipelineCrmDeleteTask: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { pipelineCrmDeleteTask };
9
+ //# sourceMappingURL=delete-task.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"delete-task.d.cts","names":[],"sources":["../../src/actions/delete-task.ts"],"mappings":";;;cAIa,0BAAA,EAA4B,CAAA,CAAE,UAEyC;AAAA,cACvE,2BAAA,EAA6B,CAAA,CAAE,UAIiB;AAAA,cAEhD,qBAAA,gCAAqB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/delete-task.d.ts
4
+ declare const PipelineCrmDeleteTaskInput: z.ZodTypeAny;
5
+ declare const PipelineCrmDeleteTaskOutput: z.ZodTypeAny;
6
+ declare const pipelineCrmDeleteTask: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { pipelineCrmDeleteTask };
9
+ //# sourceMappingURL=delete-task.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"delete-task.d.mts","names":[],"sources":["../../src/actions/delete-task.ts"],"mappings":";;;cAIa,0BAAA,EAA4B,CAAA,CAAE,UAEyC;AAAA,cACvE,2BAAA,EAA6B,CAAA,CAAE,UAIiB;AAAA,cAEhD,qBAAA,gCAAqB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,17 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ const pipelineCrmDeleteTask = action("PIPELINE_CRM_DELETE_TASK", {
4
+ slug: "pipeline_crm-delete-task",
5
+ name: "Delete calendar task",
6
+ description: "Tool to delete a calendar task by ID. Use after confirming the task exists in Pipeline CRM.",
7
+ input: z.object({ id: z.number().int().describe("ID of the calendar entry (task) to delete") }).describe("Request model for deleting a calendar task by its ID in Pipeline CRM."),
8
+ output: z.object({
9
+ id: z.number().int().describe("ID of the deleted calendar entry"),
10
+ name: z.string().describe("Name/title of the calendar entry").nullable().optional(),
11
+ type: z.enum(["CalendarEvent", "CalendarTask"]).describe("Type of the calendar entry")
12
+ }).describe("Response model for the deleted calendar entry.")
13
+ });
14
+ //#endregion
15
+ export { pipelineCrmDeleteTask };
16
+
17
+ //# sourceMappingURL=delete-task.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"delete-task.mjs","names":[],"sources":["../../src/actions/delete-task.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PipelineCrmDeleteTaskInput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"ID of the calendar entry (task) to delete\"),\n}).describe(\"Request model for deleting a calendar task by its ID in Pipeline CRM.\");\nexport const PipelineCrmDeleteTaskOutput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"ID of the deleted calendar entry\"),\n name: z.string().describe(\"Name/title of the calendar entry\").nullable().optional(),\n type: z.enum([\"CalendarEvent\", \"CalendarTask\"]).describe(\"Type of the calendar entry\"),\n}).describe(\"Response model for the deleted calendar entry.\");\n\nexport const pipelineCrmDeleteTask = action(\"PIPELINE_CRM_DELETE_TASK\", {\n slug: \"pipeline_crm-delete-task\",\n name: \"Delete calendar task\",\n description: \"Tool to delete a calendar task by ID. Use after confirming the task exists in Pipeline CRM.\",\n input: PipelineCrmDeleteTaskInput,\n output: PipelineCrmDeleteTaskOutput,\n});\n"],"mappings":";;AAaA,MAAa,wBAAwB,OAAO,4BAA4B;CACtE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAbsD,EAAE,OAAO,EAC/D,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,EAC3E,CAAC,CAAC,CAAC,SAAS,uEAWH;CACP,QAXuD,EAAE,OAAO;EAChE,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC;EAChE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClF,MAAM,EAAE,KAAK,CAAC,iBAAiB,cAAc,CAAC,CAAC,CAAC,SAAS,4BAA4B;CACvF,CAAC,CAAC,CAAC,SAAS,gDAOF;AACV,CAAC"}
@@ -0,0 +1,84 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/get-company.ts
4
+ const PipelineCrmGetCompanyInput = zod.z.object({ id: zod.z.number().int().describe("ID of the company to retrieve") }).describe("Request model for retrieving a company by ID in Pipeline CRM.");
5
+ const PipelineCrmGetCompany_TagSchema = zod.z.object({
6
+ id: zod.z.number().int().describe("Tag ID"),
7
+ name: zod.z.string().describe("Tag name")
8
+ }).describe("Tag information.");
9
+ const PipelineCrmGetCompany_OwnerSchema = zod.z.object({
10
+ id: zod.z.number().int().describe("Owner user ID"),
11
+ last_name: zod.z.string().describe("Owner's last name"),
12
+ first_name: zod.z.string().describe("Owner's first name")
13
+ }).describe("Owner information for a company.");
14
+ const PipelineCrmGetCompany_CurrencySchema = zod.z.object({
15
+ id: zod.z.number().int().describe("Currency ID"),
16
+ code: zod.z.string().describe("Currency code (e.g., 'INR', 'USD')"),
17
+ name: zod.z.string().describe("Currency name (e.g., 'Indian Rupee')"),
18
+ symbol: zod.z.string().describe("Currency symbol (e.g., '₹', '$')"),
19
+ decimal_places: zod.z.number().int().describe("Number of decimal places for this currency")
20
+ }).describe("Currency information for financial data.");
21
+ const PipelineCrmGetCompanyOutput = zod.z.object({
22
+ id: zod.z.number().int().describe("Unique ID of the company"),
23
+ fax: zod.z.string().describe("Fax number").nullable().optional(),
24
+ web: zod.z.string().describe("Company website URL").nullable().optional(),
25
+ city: zod.z.string().describe("City").nullable().optional(),
26
+ name: zod.z.string().describe("The company's name"),
27
+ tags: zod.z.array(PipelineCrmGetCompany_TagSchema).describe("Full tag objects applied to this company").nullable().optional(),
28
+ email: zod.z.string().describe("Company email address").nullable().optional(),
29
+ owner: PipelineCrmGetCompany_OwnerSchema.nullable(),
30
+ state: zod.z.string().describe("State/province").nullable().optional(),
31
+ phone1: zod.z.string().describe("Primary phone number").nullable().optional(),
32
+ phone2: zod.z.string().describe("Secondary phone number").nullable().optional(),
33
+ phone3: zod.z.string().describe("Tertiary phone number").nullable().optional(),
34
+ phone4: zod.z.string().describe("Quaternary phone number").nullable().optional(),
35
+ country: zod.z.string().describe("Country code (e.g., 'US')").nullable().optional(),
36
+ tag_ids: zod.z.array(zod.z.number().int()).describe("IDs of tags applied to this company").nullable().optional(),
37
+ twitter: zod.z.string().describe("Twitter handle").nullable().optional(),
38
+ currency: PipelineCrmGetCompany_CurrencySchema.nullable().optional(),
39
+ customer: zod.z.object({}).describe("Customer-specific data if applicable").nullable().optional(),
40
+ owner_id: zod.z.number().int().describe("ID of the user who owns this company"),
41
+ address_1: zod.z.string().describe("Primary address line").nullable().optional(),
42
+ address_2: zod.z.string().describe("Secondary address line (suite, apt, etc.)").nullable().optional(),
43
+ import_id: zod.z.string().describe("ID from import source (if imported)").nullable().optional(),
44
+ is_sample: zod.z.boolean().describe("Whether this is sample data").nullable().optional(),
45
+ created_at: zod.z.string().describe("Timestamp when the company was created (format: YYYY/MM/DD HH:MM:SS offset)"),
46
+ milestones: zod.z.array(zod.z.object({})).describe("Milestone objects associated with the company").nullable().optional(),
47
+ owner_name: zod.z.string().describe("Full name of the owner"),
48
+ updated_at: zod.z.string().describe("Timestamp when the company was last updated (format: YYYY/MM/DD HH:MM:SS offset)"),
49
+ description: zod.z.string().describe("Company description").nullable().optional(),
50
+ is_customer: zod.z.boolean().describe("Whether this company is marked as a customer"),
51
+ phone1_desc: zod.z.string().describe("Description for primary phone").nullable().optional(),
52
+ phone2_desc: zod.z.string().describe("Description for secondary phone").nullable().optional(),
53
+ phone3_desc: zod.z.string().describe("Description for tertiary phone").nullable().optional(),
54
+ phone4_desc: zod.z.string().describe("Description for quaternary phone").nullable().optional(),
55
+ postal_code: zod.z.string().describe("Postal/ZIP code").nullable().optional(),
56
+ twitter_url: zod.z.string().describe("Twitter profile URL").nullable().optional(),
57
+ facebook_url: zod.z.string().describe("Facebook page URL").nullable().optional(),
58
+ custom_fields: zod.z.object({}).describe("Custom field values (field names as keys)").nullable().optional(),
59
+ linked_in_url: zod.z.string().describe("LinkedIn page URL").nullable().optional(),
60
+ next_entry_id: zod.z.number().int().describe("ID of the next scheduled task/entry").nullable().optional(),
61
+ next_entry_due: zod.z.string().describe("Due date of the next task/entry").nullable().optional(),
62
+ total_pipeline: zod.z.number().int().describe("Total value of deals in pipeline for this company").nullable().optional(),
63
+ image_thumb_url: zod.z.string().describe("Thumbnail image URL").nullable().optional(),
64
+ instant_message: zod.z.string().describe("Instant messaging contact").nullable().optional(),
65
+ next_entry_name: zod.z.string().describe("Name of the next scheduled task/entry").nullable().optional(),
66
+ shared_user_ids: zod.z.array(zod.z.number().int()).describe("IDs of users who have shared access").nullable().optional(),
67
+ won_deals_total: zod.z.number().int().describe("Total value of won deals for this company").nullable().optional(),
68
+ image_mobile_url: zod.z.string().describe("Mobile-optimized image URL").nullable().optional(),
69
+ owner_manager_id: zod.z.number().int().describe("ID of the owner's manager").nullable().optional(),
70
+ next_entry_all_day: zod.z.boolean().describe("Whether next task is an all-day event").nullable().optional(),
71
+ address_google_maps_url: zod.z.string().describe("Google Maps URL for the address").nullable().optional(),
72
+ possible_notify_user_ids: zod.z.array(zod.z.number().int()).describe("IDs of users who can be notified about this company").nullable().optional()
73
+ }).describe("Response model for the retrieved company from Pipeline CRM.");
74
+ const pipelineCrmGetCompany = require_action.action("PIPELINE_CRM_GET_COMPANY", {
75
+ slug: "pipeline_crm-get-company",
76
+ name: "Get Company by ID",
77
+ description: "Retrieves comprehensive details for a specific company by ID from Pipeline CRM. Returns complete company information including contact details (multiple phones, email, social media), full address breakdown, owner details, financial metrics (pipeline/won deals totals), custom fields, tags, and next scheduled tasks. Use this when you need detailed information about a company after obtaining its ID from LIST_COMPANIES or CREATE_COMPANY actions.",
78
+ input: PipelineCrmGetCompanyInput,
79
+ output: PipelineCrmGetCompanyOutput
80
+ });
81
+ //#endregion
82
+ exports.pipelineCrmGetCompany = pipelineCrmGetCompany;
83
+
84
+ //# sourceMappingURL=get-company.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-company.cjs","names":["z","action"],"sources":["../../src/actions/get-company.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PipelineCrmGetCompanyInput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"ID of the company to retrieve\"),\n}).describe(\"Request model for retrieving a company by ID in Pipeline CRM.\");\nconst PipelineCrmGetCompany_TagSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Tag ID\"),\n name: z.string().describe(\"Tag name\"),\n}).describe(\"Tag information.\");\nconst PipelineCrmGetCompany_OwnerSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Owner user ID\"),\n last_name: z.string().describe(\"Owner's last name\"),\n first_name: z.string().describe(\"Owner's first name\"),\n}).describe(\"Owner information for a company.\");\nconst PipelineCrmGetCompany_CurrencySchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Currency ID\"),\n code: z.string().describe(\"Currency code (e.g., 'INR', 'USD')\"),\n name: z.string().describe(\"Currency name (e.g., 'Indian Rupee')\"),\n symbol: z.string().describe(\"Currency symbol (e.g., '₹', '$')\"),\n decimal_places: z.number().int().describe(\"Number of decimal places for this currency\"),\n}).describe(\"Currency information for financial data.\");\nexport const PipelineCrmGetCompanyOutput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique ID of the company\"),\n fax: z.string().describe(\"Fax number\").nullable().optional(),\n web: z.string().describe(\"Company website URL\").nullable().optional(),\n city: z.string().describe(\"City\").nullable().optional(),\n name: z.string().describe(\"The company's name\"),\n tags: z.array(PipelineCrmGetCompany_TagSchema).describe(\"Full tag objects applied to this company\").nullable().optional(),\n email: z.string().describe(\"Company email address\").nullable().optional(),\n owner: PipelineCrmGetCompany_OwnerSchema.nullable(),\n state: z.string().describe(\"State/province\").nullable().optional(),\n phone1: z.string().describe(\"Primary phone number\").nullable().optional(),\n phone2: z.string().describe(\"Secondary phone number\").nullable().optional(),\n phone3: z.string().describe(\"Tertiary phone number\").nullable().optional(),\n phone4: z.string().describe(\"Quaternary phone number\").nullable().optional(),\n country: z.string().describe(\"Country code (e.g., 'US')\").nullable().optional(),\n tag_ids: z.array(z.number().int()).describe(\"IDs of tags applied to this company\").nullable().optional(),\n twitter: z.string().describe(\"Twitter handle\").nullable().optional(),\n currency: PipelineCrmGetCompany_CurrencySchema.nullable().optional(),\n customer: z.object({}).describe(\"Customer-specific data if applicable\").nullable().optional(),\n owner_id: z.number().int().describe(\"ID of the user who owns this company\"),\n address_1: z.string().describe(\"Primary address line\").nullable().optional(),\n address_2: z.string().describe(\"Secondary address line (suite, apt, etc.)\").nullable().optional(),\n import_id: z.string().describe(\"ID from import source (if imported)\").nullable().optional(),\n is_sample: z.boolean().describe(\"Whether this is sample data\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the company was created (format: YYYY/MM/DD HH:MM:SS offset)\"),\n milestones: z.array(z.object({})).describe(\"Milestone objects associated with the company\").nullable().optional(),\n owner_name: z.string().describe(\"Full name of the owner\"),\n updated_at: z.string().describe(\"Timestamp when the company was last updated (format: YYYY/MM/DD HH:MM:SS offset)\"),\n description: z.string().describe(\"Company description\").nullable().optional(),\n is_customer: z.boolean().describe(\"Whether this company is marked as a customer\"),\n phone1_desc: z.string().describe(\"Description for primary phone\").nullable().optional(),\n phone2_desc: z.string().describe(\"Description for secondary phone\").nullable().optional(),\n phone3_desc: z.string().describe(\"Description for tertiary phone\").nullable().optional(),\n phone4_desc: z.string().describe(\"Description for quaternary phone\").nullable().optional(),\n postal_code: z.string().describe(\"Postal/ZIP code\").nullable().optional(),\n twitter_url: z.string().describe(\"Twitter profile URL\").nullable().optional(),\n facebook_url: z.string().describe(\"Facebook page URL\").nullable().optional(),\n custom_fields: z.object({}).describe(\"Custom field values (field names as keys)\").nullable().optional(),\n linked_in_url: z.string().describe(\"LinkedIn page URL\").nullable().optional(),\n next_entry_id: z.number().int().describe(\"ID of the next scheduled task/entry\").nullable().optional(),\n next_entry_due: z.string().describe(\"Due date of the next task/entry\").nullable().optional(),\n total_pipeline: z.number().int().describe(\"Total value of deals in pipeline for this company\").nullable().optional(),\n image_thumb_url: z.string().describe(\"Thumbnail image URL\").nullable().optional(),\n instant_message: z.string().describe(\"Instant messaging contact\").nullable().optional(),\n next_entry_name: z.string().describe(\"Name of the next scheduled task/entry\").nullable().optional(),\n shared_user_ids: z.array(z.number().int()).describe(\"IDs of users who have shared access\").nullable().optional(),\n won_deals_total: z.number().int().describe(\"Total value of won deals for this company\").nullable().optional(),\n image_mobile_url: z.string().describe(\"Mobile-optimized image URL\").nullable().optional(),\n owner_manager_id: z.number().int().describe(\"ID of the owner's manager\").nullable().optional(),\n next_entry_all_day: z.boolean().describe(\"Whether next task is an all-day event\").nullable().optional(),\n address_google_maps_url: z.string().describe(\"Google Maps URL for the address\").nullable().optional(),\n possible_notify_user_ids: z.array(z.number().int()).describe(\"IDs of users who can be notified about this company\").nullable().optional(),\n}).describe(\"Response model for the retrieved company from Pipeline CRM.\");\n\nexport const pipelineCrmGetCompany = action(\"PIPELINE_CRM_GET_COMPANY\", {\n slug: \"pipeline_crm-get-company\",\n name: \"Get Company by ID\",\n description: \"Retrieves comprehensive details for a specific company by ID from Pipeline CRM. Returns complete company information including contact details (multiple phones, email, social media), full address breakdown, owner details, financial metrics (pipeline/won deals totals), custom fields, tags, and next scheduled tasks. Use this when you need detailed information about a company after obtaining its ID from LIST_COMPANIES or CREATE_COMPANY actions.\",\n input: PipelineCrmGetCompanyInput,\n output: PipelineCrmGetCompanyOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA2CA,IAAAA,EAAE,OAAO,EAC/D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,EAC/D,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC3E,MAAM,kCAAgDA,IAAAA,EAAE,OAAO;CAC7D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,QAAQ;CACtC,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,UAAU;AACtC,CAAC,CAAC,CAAC,SAAS,kBAAkB;AAC9B,MAAM,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C,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,oBAAoBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,yBAAyBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,0BAA0BA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1I,CAAC,CAAC,CAAC,SAAS,6DAA6D;AAEzE,MAAa,wBAAwBC,eAAAA,OAAO,4BAA4B;CACtE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-company.d.ts
4
+ declare const PipelineCrmGetCompanyInput: z.ZodTypeAny;
5
+ declare const PipelineCrmGetCompanyOutput: z.ZodTypeAny;
6
+ declare const pipelineCrmGetCompany: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { pipelineCrmGetCompany };
9
+ //# sourceMappingURL=get-company.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-company.d.cts","names":[],"sources":["../../src/actions/get-company.ts"],"mappings":";;;cAIa,0BAAA,EAA4B,CAAA,CAAE,UAEiC;AAAA,cAiB/D,2BAAA,EAA6B,CAAA,CAAE,UAoD8B;AAAA,cAE7D,qBAAA,gCAAqB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-company.d.ts
4
+ declare const PipelineCrmGetCompanyInput: z.ZodTypeAny;
5
+ declare const PipelineCrmGetCompanyOutput: z.ZodTypeAny;
6
+ declare const pipelineCrmGetCompany: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { pipelineCrmGetCompany };
9
+ //# sourceMappingURL=get-company.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-company.d.mts","names":[],"sources":["../../src/actions/get-company.ts"],"mappings":";;;cAIa,0BAAA,EAA4B,CAAA,CAAE,UAEiC;AAAA,cAiB/D,2BAAA,EAA6B,CAAA,CAAE,UAoD8B;AAAA,cAE7D,qBAAA,gCAAqB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,83 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/get-company.ts
4
+ const PipelineCrmGetCompanyInput = z.object({ id: z.number().int().describe("ID of the company to retrieve") }).describe("Request model for retrieving a company by ID in Pipeline CRM.");
5
+ const PipelineCrmGetCompany_TagSchema = z.object({
6
+ id: z.number().int().describe("Tag ID"),
7
+ name: z.string().describe("Tag name")
8
+ }).describe("Tag information.");
9
+ const PipelineCrmGetCompany_OwnerSchema = z.object({
10
+ id: z.number().int().describe("Owner user ID"),
11
+ last_name: z.string().describe("Owner's last name"),
12
+ first_name: z.string().describe("Owner's first name")
13
+ }).describe("Owner information for a company.");
14
+ const PipelineCrmGetCompany_CurrencySchema = z.object({
15
+ id: z.number().int().describe("Currency ID"),
16
+ code: z.string().describe("Currency code (e.g., 'INR', 'USD')"),
17
+ name: z.string().describe("Currency name (e.g., 'Indian Rupee')"),
18
+ symbol: z.string().describe("Currency symbol (e.g., '₹', '$')"),
19
+ decimal_places: z.number().int().describe("Number of decimal places for this currency")
20
+ }).describe("Currency information for financial data.");
21
+ const pipelineCrmGetCompany = action("PIPELINE_CRM_GET_COMPANY", {
22
+ slug: "pipeline_crm-get-company",
23
+ name: "Get Company by ID",
24
+ description: "Retrieves comprehensive details for a specific company by ID from Pipeline CRM. Returns complete company information including contact details (multiple phones, email, social media), full address breakdown, owner details, financial metrics (pipeline/won deals totals), custom fields, tags, and next scheduled tasks. Use this when you need detailed information about a company after obtaining its ID from LIST_COMPANIES or CREATE_COMPANY actions.",
25
+ input: PipelineCrmGetCompanyInput,
26
+ output: z.object({
27
+ id: z.number().int().describe("Unique ID of the company"),
28
+ fax: z.string().describe("Fax number").nullable().optional(),
29
+ web: z.string().describe("Company website URL").nullable().optional(),
30
+ city: z.string().describe("City").nullable().optional(),
31
+ name: z.string().describe("The company's name"),
32
+ tags: z.array(PipelineCrmGetCompany_TagSchema).describe("Full tag objects applied to this company").nullable().optional(),
33
+ email: z.string().describe("Company email address").nullable().optional(),
34
+ owner: PipelineCrmGetCompany_OwnerSchema.nullable(),
35
+ state: z.string().describe("State/province").nullable().optional(),
36
+ phone1: z.string().describe("Primary phone number").nullable().optional(),
37
+ phone2: z.string().describe("Secondary phone number").nullable().optional(),
38
+ phone3: z.string().describe("Tertiary phone number").nullable().optional(),
39
+ phone4: z.string().describe("Quaternary phone number").nullable().optional(),
40
+ country: z.string().describe("Country code (e.g., 'US')").nullable().optional(),
41
+ tag_ids: z.array(z.number().int()).describe("IDs of tags applied to this company").nullable().optional(),
42
+ twitter: z.string().describe("Twitter handle").nullable().optional(),
43
+ currency: PipelineCrmGetCompany_CurrencySchema.nullable().optional(),
44
+ customer: z.object({}).describe("Customer-specific data if applicable").nullable().optional(),
45
+ owner_id: z.number().int().describe("ID of the user who owns this company"),
46
+ address_1: z.string().describe("Primary address line").nullable().optional(),
47
+ address_2: z.string().describe("Secondary address line (suite, apt, etc.)").nullable().optional(),
48
+ import_id: z.string().describe("ID from import source (if imported)").nullable().optional(),
49
+ is_sample: z.boolean().describe("Whether this is sample data").nullable().optional(),
50
+ created_at: z.string().describe("Timestamp when the company was created (format: YYYY/MM/DD HH:MM:SS offset)"),
51
+ milestones: z.array(z.object({})).describe("Milestone objects associated with the company").nullable().optional(),
52
+ owner_name: z.string().describe("Full name of the owner"),
53
+ updated_at: z.string().describe("Timestamp when the company was last updated (format: YYYY/MM/DD HH:MM:SS offset)"),
54
+ description: z.string().describe("Company description").nullable().optional(),
55
+ is_customer: z.boolean().describe("Whether this company is marked as a customer"),
56
+ phone1_desc: z.string().describe("Description for primary phone").nullable().optional(),
57
+ phone2_desc: z.string().describe("Description for secondary phone").nullable().optional(),
58
+ phone3_desc: z.string().describe("Description for tertiary phone").nullable().optional(),
59
+ phone4_desc: z.string().describe("Description for quaternary phone").nullable().optional(),
60
+ postal_code: z.string().describe("Postal/ZIP code").nullable().optional(),
61
+ twitter_url: z.string().describe("Twitter profile URL").nullable().optional(),
62
+ facebook_url: z.string().describe("Facebook page URL").nullable().optional(),
63
+ custom_fields: z.object({}).describe("Custom field values (field names as keys)").nullable().optional(),
64
+ linked_in_url: z.string().describe("LinkedIn page URL").nullable().optional(),
65
+ next_entry_id: z.number().int().describe("ID of the next scheduled task/entry").nullable().optional(),
66
+ next_entry_due: z.string().describe("Due date of the next task/entry").nullable().optional(),
67
+ total_pipeline: z.number().int().describe("Total value of deals in pipeline for this company").nullable().optional(),
68
+ image_thumb_url: z.string().describe("Thumbnail image URL").nullable().optional(),
69
+ instant_message: z.string().describe("Instant messaging contact").nullable().optional(),
70
+ next_entry_name: z.string().describe("Name of the next scheduled task/entry").nullable().optional(),
71
+ shared_user_ids: z.array(z.number().int()).describe("IDs of users who have shared access").nullable().optional(),
72
+ won_deals_total: z.number().int().describe("Total value of won deals for this company").nullable().optional(),
73
+ image_mobile_url: z.string().describe("Mobile-optimized image URL").nullable().optional(),
74
+ owner_manager_id: z.number().int().describe("ID of the owner's manager").nullable().optional(),
75
+ next_entry_all_day: z.boolean().describe("Whether next task is an all-day event").nullable().optional(),
76
+ address_google_maps_url: z.string().describe("Google Maps URL for the address").nullable().optional(),
77
+ possible_notify_user_ids: z.array(z.number().int()).describe("IDs of users who can be notified about this company").nullable().optional()
78
+ }).describe("Response model for the retrieved company from Pipeline CRM.")
79
+ });
80
+ //#endregion
81
+ export { pipelineCrmGetCompany };
82
+
83
+ //# sourceMappingURL=get-company.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-company.mjs","names":[],"sources":["../../src/actions/get-company.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PipelineCrmGetCompanyInput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"ID of the company to retrieve\"),\n}).describe(\"Request model for retrieving a company by ID in Pipeline CRM.\");\nconst PipelineCrmGetCompany_TagSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Tag ID\"),\n name: z.string().describe(\"Tag name\"),\n}).describe(\"Tag information.\");\nconst PipelineCrmGetCompany_OwnerSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Owner user ID\"),\n last_name: z.string().describe(\"Owner's last name\"),\n first_name: z.string().describe(\"Owner's first name\"),\n}).describe(\"Owner information for a company.\");\nconst PipelineCrmGetCompany_CurrencySchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Currency ID\"),\n code: z.string().describe(\"Currency code (e.g., 'INR', 'USD')\"),\n name: z.string().describe(\"Currency name (e.g., 'Indian Rupee')\"),\n symbol: z.string().describe(\"Currency symbol (e.g., '₹', '$')\"),\n decimal_places: z.number().int().describe(\"Number of decimal places for this currency\"),\n}).describe(\"Currency information for financial data.\");\nexport const PipelineCrmGetCompanyOutput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique ID of the company\"),\n fax: z.string().describe(\"Fax number\").nullable().optional(),\n web: z.string().describe(\"Company website URL\").nullable().optional(),\n city: z.string().describe(\"City\").nullable().optional(),\n name: z.string().describe(\"The company's name\"),\n tags: z.array(PipelineCrmGetCompany_TagSchema).describe(\"Full tag objects applied to this company\").nullable().optional(),\n email: z.string().describe(\"Company email address\").nullable().optional(),\n owner: PipelineCrmGetCompany_OwnerSchema.nullable(),\n state: z.string().describe(\"State/province\").nullable().optional(),\n phone1: z.string().describe(\"Primary phone number\").nullable().optional(),\n phone2: z.string().describe(\"Secondary phone number\").nullable().optional(),\n phone3: z.string().describe(\"Tertiary phone number\").nullable().optional(),\n phone4: z.string().describe(\"Quaternary phone number\").nullable().optional(),\n country: z.string().describe(\"Country code (e.g., 'US')\").nullable().optional(),\n tag_ids: z.array(z.number().int()).describe(\"IDs of tags applied to this company\").nullable().optional(),\n twitter: z.string().describe(\"Twitter handle\").nullable().optional(),\n currency: PipelineCrmGetCompany_CurrencySchema.nullable().optional(),\n customer: z.object({}).describe(\"Customer-specific data if applicable\").nullable().optional(),\n owner_id: z.number().int().describe(\"ID of the user who owns this company\"),\n address_1: z.string().describe(\"Primary address line\").nullable().optional(),\n address_2: z.string().describe(\"Secondary address line (suite, apt, etc.)\").nullable().optional(),\n import_id: z.string().describe(\"ID from import source (if imported)\").nullable().optional(),\n is_sample: z.boolean().describe(\"Whether this is sample data\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the company was created (format: YYYY/MM/DD HH:MM:SS offset)\"),\n milestones: z.array(z.object({})).describe(\"Milestone objects associated with the company\").nullable().optional(),\n owner_name: z.string().describe(\"Full name of the owner\"),\n updated_at: z.string().describe(\"Timestamp when the company was last updated (format: YYYY/MM/DD HH:MM:SS offset)\"),\n description: z.string().describe(\"Company description\").nullable().optional(),\n is_customer: z.boolean().describe(\"Whether this company is marked as a customer\"),\n phone1_desc: z.string().describe(\"Description for primary phone\").nullable().optional(),\n phone2_desc: z.string().describe(\"Description for secondary phone\").nullable().optional(),\n phone3_desc: z.string().describe(\"Description for tertiary phone\").nullable().optional(),\n phone4_desc: z.string().describe(\"Description for quaternary phone\").nullable().optional(),\n postal_code: z.string().describe(\"Postal/ZIP code\").nullable().optional(),\n twitter_url: z.string().describe(\"Twitter profile URL\").nullable().optional(),\n facebook_url: z.string().describe(\"Facebook page URL\").nullable().optional(),\n custom_fields: z.object({}).describe(\"Custom field values (field names as keys)\").nullable().optional(),\n linked_in_url: z.string().describe(\"LinkedIn page URL\").nullable().optional(),\n next_entry_id: z.number().int().describe(\"ID of the next scheduled task/entry\").nullable().optional(),\n next_entry_due: z.string().describe(\"Due date of the next task/entry\").nullable().optional(),\n total_pipeline: z.number().int().describe(\"Total value of deals in pipeline for this company\").nullable().optional(),\n image_thumb_url: z.string().describe(\"Thumbnail image URL\").nullable().optional(),\n instant_message: z.string().describe(\"Instant messaging contact\").nullable().optional(),\n next_entry_name: z.string().describe(\"Name of the next scheduled task/entry\").nullable().optional(),\n shared_user_ids: z.array(z.number().int()).describe(\"IDs of users who have shared access\").nullable().optional(),\n won_deals_total: z.number().int().describe(\"Total value of won deals for this company\").nullable().optional(),\n image_mobile_url: z.string().describe(\"Mobile-optimized image URL\").nullable().optional(),\n owner_manager_id: z.number().int().describe(\"ID of the owner's manager\").nullable().optional(),\n next_entry_all_day: z.boolean().describe(\"Whether next task is an all-day event\").nullable().optional(),\n address_google_maps_url: z.string().describe(\"Google Maps URL for the address\").nullable().optional(),\n possible_notify_user_ids: z.array(z.number().int()).describe(\"IDs of users who can be notified about this company\").nullable().optional(),\n}).describe(\"Response model for the retrieved company from Pipeline CRM.\");\n\nexport const pipelineCrmGetCompany = action(\"PIPELINE_CRM_GET_COMPANY\", {\n slug: \"pipeline_crm-get-company\",\n name: \"Get Company by ID\",\n description: \"Retrieves comprehensive details for a specific company by ID from Pipeline CRM. Returns complete company information including contact details (multiple phones, email, social media), full address breakdown, owner details, financial metrics (pipeline/won deals totals), custom fields, tags, and next scheduled tasks. Use this when you need detailed information about a company after obtaining its ID from LIST_COMPANIES or CREATE_COMPANY actions.\",\n input: PipelineCrmGetCompanyInput,\n output: PipelineCrmGetCompanyOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA2C,EAAE,OAAO,EAC/D,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,EAC/D,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC3E,MAAM,kCAAgD,EAAE,OAAO;CAC7D,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,QAAQ;CACtC,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,UAAU;AACtC,CAAC,CAAC,CAAC,SAAS,kBAAkB;AAC9B,MAAM,oCAAkD,EAAE,OAAO;CAC/D,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,eAAe;CAC7C,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB;CAClD,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB;AACtD,CAAC,CAAC,CAAC,SAAS,kCAAkC;AAC9C,MAAM,uCAAqD,EAAE,OAAO;CAClE,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,aAAa;CAC3C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;CAC9D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;CAChE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;CAC9D,gBAAgB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C;AACxF,CAAC,CAAC,CAAC,SAAS,0CAA0C;AAuDtD,MAAa,wBAAwB,OAAO,4BAA4B;CACtE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QA3DuD,EAAE,OAAO;EAChE,IAAI,EAAE,OA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CAAC,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/G,iBAAiB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5G,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxF,kBAAkB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7F,oBAAoB,EAAE,QAAQ,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtG,yBAAyB,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpG,0BAA0B,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1I,CAAC,CAAC,CAAC,SAAS,6DAOF;AACV,CAAC"}
@@ -0,0 +1,118 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/get-deal.ts
4
+ const PipelineCrmGetDealInput = zod.z.object({ id: zod.z.number().int().describe("Unique identifier of the deal to retrieve") }).describe("Request model for retrieving a deal by ID in Pipeline CRM.");
5
+ const PipelineCrmGetDeal_UserSchema = zod.z.object({
6
+ id: zod.z.number().int().describe("User ID"),
7
+ last_name: zod.z.string().describe("User's last name"),
8
+ first_name: zod.z.string().describe("User's first name")
9
+ }).describe("Model representing a user.");
10
+ const PipelineCrmGetDeal_CompanySchema = zod.z.object({
11
+ id: zod.z.number().int().describe("Company ID"),
12
+ name: zod.z.string().describe("Company name"),
13
+ is_customer: zod.z.boolean().describe("Whether the company is a customer")
14
+ }).describe("Model representing a company.");
15
+ const PipelineCrmGetDeal_CurrencyEntrySchema = zod.z.object({
16
+ code: zod.z.string().describe("Currency code (e.g., 'USD')"),
17
+ name: zod.z.string().describe("Name of the currency"),
18
+ symbol: zod.z.string().describe("Currency symbol (e.g., '$')")
19
+ }).describe("Model representing detailed currency object.");
20
+ const PipelineCrmGetDeal_DealStageSchema = zod.z.object({
21
+ id: zod.z.number().int().describe("Stage ID"),
22
+ name: zod.z.string().describe("Stage name"),
23
+ percent: zod.z.number().int().describe("Stage completion percentage")
24
+ }).describe("Model representing a deal stage.");
25
+ const PipelineCrmGetDeal_DealPipelineSchema = zod.z.object({
26
+ id: zod.z.number().int().describe("Pipeline ID"),
27
+ name: zod.z.string().describe("Pipeline name"),
28
+ "default": zod.z.boolean().describe("Whether this is the default pipeline")
29
+ }).describe("Model representing a deal pipeline.");
30
+ const PipelineCrmGetDeal_ContactSchema = zod.z.object({
31
+ id: zod.z.number().int().describe("Contact ID"),
32
+ email: zod.z.string().describe("Email address").nullable().optional(),
33
+ phone: zod.z.string().describe("Phone number").nullable().optional(),
34
+ email2: zod.z.string().describe("Secondary email address").nullable().optional(),
35
+ mobile: zod.z.string().describe("Mobile number").nullable().optional(),
36
+ last_name: zod.z.string().describe("Contact's last name"),
37
+ first_name: zod.z.string().describe("Contact's first name"),
38
+ home_email: zod.z.string().describe("Home email address").nullable().optional(),
39
+ home_phone: zod.z.string().describe("Home phone number").nullable().optional()
40
+ }).describe("Model representing a contact person.");
41
+ const PipelineCrmGetDealOutput = zod.z.object({
42
+ id: zod.z.number().int().describe("Unique ID of the deal"),
43
+ city: zod.z.string().describe("City").nullable().optional(),
44
+ name: zod.z.string().describe("Name of the deal"),
45
+ tags: zod.z.array(zod.z.object({})).describe("Tags assigned to the deal").nullable().optional(),
46
+ user: PipelineCrmGetDeal_UserSchema.nullable().optional(),
47
+ state: zod.z.string().describe("State/province").nullable().optional(),
48
+ value: zod.z.string().describe("Monetary value of the deal as string").nullable().optional(),
49
+ people: zod.z.array(zod.z.object({})).describe("List of people associated with the deal").nullable().optional(),
50
+ status: zod.z.string().describe("Current status of the deal").nullable().optional(),
51
+ company: PipelineCrmGetDeal_CompanySchema.nullable().optional(),
52
+ country: zod.z.string().describe("Country").nullable().optional(),
53
+ summary: zod.z.string().describe("Short description of the deal").nullable().optional(),
54
+ tag_ids: zod.z.array(zod.z.number().int()).describe("Tag IDs assigned to the deal").nullable().optional(),
55
+ user_id: zod.z.number().int().describe("ID of the user who owns the deal"),
56
+ currency: PipelineCrmGetDeal_CurrencyEntrySchema.nullable().optional(),
57
+ address_1: zod.z.string().describe("Address line 1").nullable().optional(),
58
+ address_2: zod.z.string().describe("Address line 2").nullable().optional(),
59
+ deal_copy: zod.z.object({}).describe("Deal copy object").nullable().optional(),
60
+ import_id: zod.z.string().describe("Import ID if imported").nullable().optional(),
61
+ is_sample: zod.z.boolean().describe("Whether the deal is a sample"),
62
+ source_id: zod.z.number().int().describe("Source ID of the deal").nullable().optional(),
63
+ company_id: zod.z.number().int().describe("ID of the associated company").nullable().optional(),
64
+ created_at: zod.z.string().describe("Timestamp when the deal was created"),
65
+ deal_stage: PipelineCrmGetDeal_DealStageSchema.nullable().optional(),
66
+ is_example: zod.z.boolean().describe("Whether this is an example deal").nullable().optional(),
67
+ person_ids: zod.z.array(zod.z.number().int()).describe("IDs of people associated with this deal").nullable().optional(),
68
+ updated_at: zod.z.string().describe("Timestamp when the deal was last updated"),
69
+ closed_time: zod.z.string().describe("Timestamp when the deal was closed").nullable().optional(),
70
+ is_archived: zod.z.boolean().describe("Whether the deal is archived"),
71
+ postal_code: zod.z.string().describe("Postal/ZIP code").nullable().optional(),
72
+ probability: zod.z.number().int().describe("Probability of winning (0-100 percent)").nullable().optional(),
73
+ revenue_type: zod.z.object({}).describe("Revenue type object").nullable().optional(),
74
+ collaborators: zod.z.array(zod.z.object({})).describe("List of collaborators on the deal").nullable().optional(),
75
+ custom_fields: zod.z.object({}).describe("Custom field values map").nullable().optional(),
76
+ days_in_stage: zod.z.number().int().describe("Number of days in current stage").nullable().optional(),
77
+ deal_pipeline: PipelineCrmGetDeal_DealPipelineSchema.nullable().optional(),
78
+ deal_stage_id: zod.z.number().int().describe("ID of the stage for this deal").nullable().optional(),
79
+ next_entry_id: zod.z.number().int().describe("ID of next entry").nullable().optional(),
80
+ product_lines: zod.z.array(zod.z.object({})).describe("Product lines associated with the deal").nullable().optional(),
81
+ next_entry_due: zod.z.string().describe("Due date of next entry").nullable().optional(),
82
+ value_in_cents: zod.z.number().int().describe("Monetary value in cents/smallest currency unit").nullable().optional(),
83
+ created_by_user: PipelineCrmGetDeal_UserSchema.nullable().optional(),
84
+ deal_won_reason: zod.z.object({}).describe("Deal won reason object").nullable().optional(),
85
+ next_entry_name: zod.z.string().describe("Name of next entry").nullable().optional(),
86
+ primary_contact: PipelineCrmGetDeal_ContactSchema.nullable().optional(),
87
+ revenue_type_id: zod.z.number().int().describe("Revenue type ID").nullable().optional(),
88
+ shared_user_ids: zod.z.array(zod.z.number().int()).describe("IDs of users this deal is shared with").nullable().optional(),
89
+ updated_by_user: PipelineCrmGetDeal_UserSchema.nullable().optional(),
90
+ deal_loss_reason: zod.z.object({}).describe("Deal loss reason object").nullable().optional(),
91
+ deal_pipeline_id: zod.z.number().int().describe("ID of the pipeline this deal belongs to"),
92
+ created_by_user_id: zod.z.number().int().describe("ID of user who created the deal"),
93
+ deal_won_reason_id: zod.z.number().int().describe("Reason ID if deal was won").nullable().optional(),
94
+ next_entry_all_day: zod.z.boolean().describe("Whether next entry is all day").nullable().optional(),
95
+ primary_contact_id: zod.z.number().int().describe("ID of the primary contact person").nullable().optional(),
96
+ updated_by_user_id: zod.z.number().int().describe("ID of user who last updated the deal"),
97
+ deal_loss_reason_id: zod.z.number().int().describe("Reason ID if deal was lost").nullable().optional(),
98
+ expected_close_date: zod.z.string().describe("Expected close date of the deal").nullable().optional(),
99
+ deal_won_reason_notes: zod.z.string().describe("Notes about why deal was won").nullable().optional(),
100
+ date_of_first_activity: zod.z.string().describe("Date of first activity on this deal").nullable().optional(),
101
+ deal_loss_reason_notes: zod.z.string().describe("Notes about why deal was lost").nullable().optional(),
102
+ deal_product_lines_ids: zod.z.array(zod.z.number().int()).describe("IDs of product lines associated with the deal").nullable().optional(),
103
+ hours_to_first_activity: zod.z.number().describe("Hours to first activity").nullable().optional(),
104
+ days_since_last_activity: zod.z.number().int().describe("Number of days since last activity").nullable().optional(),
105
+ possible_notify_user_ids: zod.z.array(zod.z.number().int()).describe("IDs of users who can be notified").nullable().optional(),
106
+ expected_close_date_event_id: zod.z.number().int().describe("Event ID for expected close date").nullable().optional()
107
+ }).describe("Response model for the retrieved deal from Pipeline CRM.");
108
+ const pipelineCrmGetDeal = require_action.action("PIPELINE_CRM_GET_DEAL", {
109
+ slug: "pipeline_crm-get-deal",
110
+ name: "Get Deal by ID",
111
+ description: "Tool to retrieve details for a specific deal by ID in Pipeline CRM. Use after confirming the deal ID.",
112
+ input: PipelineCrmGetDealInput,
113
+ output: PipelineCrmGetDealOutput
114
+ });
115
+ //#endregion
116
+ exports.pipelineCrmGetDeal = pipelineCrmGetDeal;
117
+
118
+ //# sourceMappingURL=get-deal.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-deal.cjs","names":["z","action"],"sources":["../../src/actions/get-deal.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PipelineCrmGetDealInput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier of the deal to retrieve\"),\n}).describe(\"Request model for retrieving a deal by ID in Pipeline CRM.\");\nconst PipelineCrmGetDeal_UserSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"User ID\"),\n last_name: z.string().describe(\"User's last name\"),\n first_name: z.string().describe(\"User's first name\"),\n}).describe(\"Model representing a user.\");\nconst PipelineCrmGetDeal_CompanySchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Company ID\"),\n name: z.string().describe(\"Company name\"),\n is_customer: z.boolean().describe(\"Whether the company is a customer\"),\n}).describe(\"Model representing a company.\");\nconst PipelineCrmGetDeal_CurrencyEntrySchema: z.ZodTypeAny = z.object({\n code: z.string().describe(\"Currency code (e.g., 'USD')\"),\n name: z.string().describe(\"Name of the currency\"),\n symbol: z.string().describe(\"Currency symbol (e.g., '$')\"),\n}).describe(\"Model representing detailed currency object.\");\nconst PipelineCrmGetDeal_DealStageSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Stage ID\"),\n name: z.string().describe(\"Stage name\"),\n percent: z.number().int().describe(\"Stage completion percentage\"),\n}).describe(\"Model representing a deal stage.\");\nconst PipelineCrmGetDeal_DealPipelineSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Pipeline ID\"),\n name: z.string().describe(\"Pipeline name\"),\n \"default\": z.boolean().describe(\"Whether this is the default pipeline\"),\n}).describe(\"Model representing a deal pipeline.\");\nconst PipelineCrmGetDeal_ContactSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Contact ID\"),\n email: z.string().describe(\"Email address\").nullable().optional(),\n phone: z.string().describe(\"Phone number\").nullable().optional(),\n email2: z.string().describe(\"Secondary email address\").nullable().optional(),\n mobile: z.string().describe(\"Mobile number\").nullable().optional(),\n last_name: z.string().describe(\"Contact's last name\"),\n first_name: z.string().describe(\"Contact's first name\"),\n home_email: z.string().describe(\"Home email address\").nullable().optional(),\n home_phone: z.string().describe(\"Home phone number\").nullable().optional(),\n}).describe(\"Model representing a contact person.\");\nexport const PipelineCrmGetDealOutput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique ID of the deal\"),\n city: z.string().describe(\"City\").nullable().optional(),\n name: z.string().describe(\"Name of the deal\"),\n tags: z.array(z.object({})).describe(\"Tags assigned to the deal\").nullable().optional(),\n user: PipelineCrmGetDeal_UserSchema.nullable().optional(),\n state: z.string().describe(\"State/province\").nullable().optional(),\n value: z.string().describe(\"Monetary value of the deal as string\").nullable().optional(),\n people: z.array(z.object({})).describe(\"List of people associated with the deal\").nullable().optional(),\n status: z.string().describe(\"Current status of the deal\").nullable().optional(),\n company: PipelineCrmGetDeal_CompanySchema.nullable().optional(),\n country: z.string().describe(\"Country\").nullable().optional(),\n summary: z.string().describe(\"Short description of the deal\").nullable().optional(),\n tag_ids: z.array(z.number().int()).describe(\"Tag IDs assigned to the deal\").nullable().optional(),\n user_id: z.number().int().describe(\"ID of the user who owns the deal\"),\n currency: PipelineCrmGetDeal_CurrencyEntrySchema.nullable().optional(),\n address_1: z.string().describe(\"Address line 1\").nullable().optional(),\n address_2: z.string().describe(\"Address line 2\").nullable().optional(),\n deal_copy: z.object({}).describe(\"Deal copy object\").nullable().optional(),\n import_id: z.string().describe(\"Import ID if imported\").nullable().optional(),\n is_sample: z.boolean().describe(\"Whether the deal is a sample\"),\n source_id: z.number().int().describe(\"Source ID of the deal\").nullable().optional(),\n company_id: z.number().int().describe(\"ID of the associated company\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the deal was created\"),\n deal_stage: PipelineCrmGetDeal_DealStageSchema.nullable().optional(),\n is_example: z.boolean().describe(\"Whether this is an example deal\").nullable().optional(),\n person_ids: z.array(z.number().int()).describe(\"IDs of people associated with this deal\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the deal was last updated\"),\n closed_time: z.string().describe(\"Timestamp when the deal was closed\").nullable().optional(),\n is_archived: z.boolean().describe(\"Whether the deal is archived\"),\n postal_code: z.string().describe(\"Postal/ZIP code\").nullable().optional(),\n probability: z.number().int().describe(\"Probability of winning (0-100 percent)\").nullable().optional(),\n revenue_type: z.object({}).describe(\"Revenue type object\").nullable().optional(),\n collaborators: z.array(z.object({})).describe(\"List of collaborators on the deal\").nullable().optional(),\n custom_fields: z.object({}).describe(\"Custom field values map\").nullable().optional(),\n days_in_stage: z.number().int().describe(\"Number of days in current stage\").nullable().optional(),\n deal_pipeline: PipelineCrmGetDeal_DealPipelineSchema.nullable().optional(),\n deal_stage_id: z.number().int().describe(\"ID of the stage for this deal\").nullable().optional(),\n next_entry_id: z.number().int().describe(\"ID of next entry\").nullable().optional(),\n product_lines: z.array(z.object({})).describe(\"Product lines associated with the deal\").nullable().optional(),\n next_entry_due: z.string().describe(\"Due date of next entry\").nullable().optional(),\n value_in_cents: z.number().int().describe(\"Monetary value in cents/smallest currency unit\").nullable().optional(),\n created_by_user: PipelineCrmGetDeal_UserSchema.nullable().optional(),\n deal_won_reason: z.object({}).describe(\"Deal won reason object\").nullable().optional(),\n next_entry_name: z.string().describe(\"Name of next entry\").nullable().optional(),\n primary_contact: PipelineCrmGetDeal_ContactSchema.nullable().optional(),\n revenue_type_id: z.number().int().describe(\"Revenue type ID\").nullable().optional(),\n shared_user_ids: z.array(z.number().int()).describe(\"IDs of users this deal is shared with\").nullable().optional(),\n updated_by_user: PipelineCrmGetDeal_UserSchema.nullable().optional(),\n deal_loss_reason: z.object({}).describe(\"Deal loss reason object\").nullable().optional(),\n deal_pipeline_id: z.number().int().describe(\"ID of the pipeline this deal belongs to\"),\n created_by_user_id: z.number().int().describe(\"ID of user who created the deal\"),\n deal_won_reason_id: z.number().int().describe(\"Reason ID if deal was won\").nullable().optional(),\n next_entry_all_day: z.boolean().describe(\"Whether next entry is all day\").nullable().optional(),\n primary_contact_id: z.number().int().describe(\"ID of the primary contact person\").nullable().optional(),\n updated_by_user_id: z.number().int().describe(\"ID of user who last updated the deal\"),\n deal_loss_reason_id: z.number().int().describe(\"Reason ID if deal was lost\").nullable().optional(),\n expected_close_date: z.string().describe(\"Expected close date of the deal\").nullable().optional(),\n deal_won_reason_notes: z.string().describe(\"Notes about why deal was won\").nullable().optional(),\n date_of_first_activity: z.string().describe(\"Date of first activity on this deal\").nullable().optional(),\n deal_loss_reason_notes: z.string().describe(\"Notes about why deal was lost\").nullable().optional(),\n deal_product_lines_ids: z.array(z.number().int()).describe(\"IDs of product lines associated with the deal\").nullable().optional(),\n hours_to_first_activity: z.number().describe(\"Hours to first activity\").nullable().optional(),\n days_since_last_activity: z.number().int().describe(\"Number of days since last activity\").nullable().optional(),\n possible_notify_user_ids: z.array(z.number().int()).describe(\"IDs of users who can be notified\").nullable().optional(),\n expected_close_date_event_id: z.number().int().describe(\"Event ID for expected close date\").nullable().optional(),\n}).describe(\"Response model for the retrieved deal from Pipeline CRM.\");\n\nexport const pipelineCrmGetDeal = action(\"PIPELINE_CRM_GET_DEAL\", {\n slug: \"pipeline_crm-get-deal\",\n name: \"Get Deal by ID\",\n description: \"Tool to retrieve details for a specific deal by ID in Pipeline CRM. Use after confirming the deal ID.\",\n input: PipelineCrmGetDealInput,\n output: PipelineCrmGetDealOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAAwCA,IAAAA,EAAE,OAAO,EAC5D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,EAC3E,CAAC,CAAC,CAAC,SAAS,4DAA4D;AACxE,MAAM,gCAA8CA,IAAAA,EAAE,OAAO;CAC3D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,SAAS;CACvC,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB;CACjD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB;AACrD,CAAC,CAAC,CAAC,SAAS,4BAA4B;AACxC,MAAM,mCAAiDA,IAAAA,EAAE,OAAO;CAC9D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,YAAY;CAC1C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc;CACxC,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,mCAAmC;AACvE,CAAC,CAAC,CAAC,SAAS,+BAA+B;AAC3C,MAAM,yCAAuDA,IAAAA,EAAE,OAAO;CACpE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B;CACvD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,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AyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,0BAA0BA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,0BAA0BA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrH,8BAA8BA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClH,CAAC,CAAC,CAAC,SAAS,0DAA0D;AAEtE,MAAa,qBAAqBC,eAAAA,OAAO,yBAAyB;CAChE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-deal.d.ts
4
+ declare const PipelineCrmGetDealInput: z.ZodTypeAny;
5
+ declare const PipelineCrmGetDealOutput: z.ZodTypeAny;
6
+ declare const pipelineCrmGetDeal: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { pipelineCrmGetDeal };
9
+ //# sourceMappingURL=get-deal.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-deal.d.cts","names":[],"sources":["../../src/actions/get-deal.ts"],"mappings":";;;cAIa,uBAAA,EAAyB,CAAA,CAAE,UAEiC;AAAA,cAqC5D,wBAAA,EAA0B,CAAA,CAAE,UAkE8B;AAAA,cAE1D,kBAAA,gCAAkB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-deal.d.ts
4
+ declare const PipelineCrmGetDealInput: z.ZodTypeAny;
5
+ declare const PipelineCrmGetDealOutput: z.ZodTypeAny;
6
+ declare const pipelineCrmGetDeal: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { pipelineCrmGetDeal };
9
+ //# sourceMappingURL=get-deal.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-deal.d.mts","names":[],"sources":["../../src/actions/get-deal.ts"],"mappings":";;;cAIa,uBAAA,EAAyB,CAAA,CAAE,UAEiC;AAAA,cAqC5D,wBAAA,EAA0B,CAAA,CAAE,UAkE8B;AAAA,cAE1D,kBAAA,gCAAkB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}