@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,117 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/get-deal.ts
4
+ const PipelineCrmGetDealInput = z.object({ id: 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 = z.object({
6
+ id: z.number().int().describe("User ID"),
7
+ last_name: z.string().describe("User's last name"),
8
+ first_name: z.string().describe("User's first name")
9
+ }).describe("Model representing a user.");
10
+ const PipelineCrmGetDeal_CompanySchema = z.object({
11
+ id: z.number().int().describe("Company ID"),
12
+ name: z.string().describe("Company name"),
13
+ is_customer: z.boolean().describe("Whether the company is a customer")
14
+ }).describe("Model representing a company.");
15
+ const PipelineCrmGetDeal_CurrencyEntrySchema = z.object({
16
+ code: z.string().describe("Currency code (e.g., 'USD')"),
17
+ name: z.string().describe("Name of the currency"),
18
+ symbol: z.string().describe("Currency symbol (e.g., '$')")
19
+ }).describe("Model representing detailed currency object.");
20
+ const PipelineCrmGetDeal_DealStageSchema = z.object({
21
+ id: z.number().int().describe("Stage ID"),
22
+ name: z.string().describe("Stage name"),
23
+ percent: z.number().int().describe("Stage completion percentage")
24
+ }).describe("Model representing a deal stage.");
25
+ const PipelineCrmGetDeal_DealPipelineSchema = z.object({
26
+ id: z.number().int().describe("Pipeline ID"),
27
+ name: z.string().describe("Pipeline name"),
28
+ "default": z.boolean().describe("Whether this is the default pipeline")
29
+ }).describe("Model representing a deal pipeline.");
30
+ const PipelineCrmGetDeal_ContactSchema = z.object({
31
+ id: z.number().int().describe("Contact ID"),
32
+ email: z.string().describe("Email address").nullable().optional(),
33
+ phone: z.string().describe("Phone number").nullable().optional(),
34
+ email2: z.string().describe("Secondary email address").nullable().optional(),
35
+ mobile: z.string().describe("Mobile number").nullable().optional(),
36
+ last_name: z.string().describe("Contact's last name"),
37
+ first_name: z.string().describe("Contact's first name"),
38
+ home_email: z.string().describe("Home email address").nullable().optional(),
39
+ home_phone: z.string().describe("Home phone number").nullable().optional()
40
+ }).describe("Model representing a contact person.");
41
+ const pipelineCrmGetDeal = action("PIPELINE_CRM_GET_DEAL", {
42
+ slug: "pipeline_crm-get-deal",
43
+ name: "Get Deal by ID",
44
+ description: "Tool to retrieve details for a specific deal by ID in Pipeline CRM. Use after confirming the deal ID.",
45
+ input: PipelineCrmGetDealInput,
46
+ output: z.object({
47
+ id: z.number().int().describe("Unique ID of the deal"),
48
+ city: z.string().describe("City").nullable().optional(),
49
+ name: z.string().describe("Name of the deal"),
50
+ tags: z.array(z.object({})).describe("Tags assigned to the deal").nullable().optional(),
51
+ user: PipelineCrmGetDeal_UserSchema.nullable().optional(),
52
+ state: z.string().describe("State/province").nullable().optional(),
53
+ value: z.string().describe("Monetary value of the deal as string").nullable().optional(),
54
+ people: z.array(z.object({})).describe("List of people associated with the deal").nullable().optional(),
55
+ status: z.string().describe("Current status of the deal").nullable().optional(),
56
+ company: PipelineCrmGetDeal_CompanySchema.nullable().optional(),
57
+ country: z.string().describe("Country").nullable().optional(),
58
+ summary: z.string().describe("Short description of the deal").nullable().optional(),
59
+ tag_ids: z.array(z.number().int()).describe("Tag IDs assigned to the deal").nullable().optional(),
60
+ user_id: z.number().int().describe("ID of the user who owns the deal"),
61
+ currency: PipelineCrmGetDeal_CurrencyEntrySchema.nullable().optional(),
62
+ address_1: z.string().describe("Address line 1").nullable().optional(),
63
+ address_2: z.string().describe("Address line 2").nullable().optional(),
64
+ deal_copy: z.object({}).describe("Deal copy object").nullable().optional(),
65
+ import_id: z.string().describe("Import ID if imported").nullable().optional(),
66
+ is_sample: z.boolean().describe("Whether the deal is a sample"),
67
+ source_id: z.number().int().describe("Source ID of the deal").nullable().optional(),
68
+ company_id: z.number().int().describe("ID of the associated company").nullable().optional(),
69
+ created_at: z.string().describe("Timestamp when the deal was created"),
70
+ deal_stage: PipelineCrmGetDeal_DealStageSchema.nullable().optional(),
71
+ is_example: z.boolean().describe("Whether this is an example deal").nullable().optional(),
72
+ person_ids: z.array(z.number().int()).describe("IDs of people associated with this deal").nullable().optional(),
73
+ updated_at: z.string().describe("Timestamp when the deal was last updated"),
74
+ closed_time: z.string().describe("Timestamp when the deal was closed").nullable().optional(),
75
+ is_archived: z.boolean().describe("Whether the deal is archived"),
76
+ postal_code: z.string().describe("Postal/ZIP code").nullable().optional(),
77
+ probability: z.number().int().describe("Probability of winning (0-100 percent)").nullable().optional(),
78
+ revenue_type: z.object({}).describe("Revenue type object").nullable().optional(),
79
+ collaborators: z.array(z.object({})).describe("List of collaborators on the deal").nullable().optional(),
80
+ custom_fields: z.object({}).describe("Custom field values map").nullable().optional(),
81
+ days_in_stage: z.number().int().describe("Number of days in current stage").nullable().optional(),
82
+ deal_pipeline: PipelineCrmGetDeal_DealPipelineSchema.nullable().optional(),
83
+ deal_stage_id: z.number().int().describe("ID of the stage for this deal").nullable().optional(),
84
+ next_entry_id: z.number().int().describe("ID of next entry").nullable().optional(),
85
+ product_lines: z.array(z.object({})).describe("Product lines associated with the deal").nullable().optional(),
86
+ next_entry_due: z.string().describe("Due date of next entry").nullable().optional(),
87
+ value_in_cents: z.number().int().describe("Monetary value in cents/smallest currency unit").nullable().optional(),
88
+ created_by_user: PipelineCrmGetDeal_UserSchema.nullable().optional(),
89
+ deal_won_reason: z.object({}).describe("Deal won reason object").nullable().optional(),
90
+ next_entry_name: z.string().describe("Name of next entry").nullable().optional(),
91
+ primary_contact: PipelineCrmGetDeal_ContactSchema.nullable().optional(),
92
+ revenue_type_id: z.number().int().describe("Revenue type ID").nullable().optional(),
93
+ shared_user_ids: z.array(z.number().int()).describe("IDs of users this deal is shared with").nullable().optional(),
94
+ updated_by_user: PipelineCrmGetDeal_UserSchema.nullable().optional(),
95
+ deal_loss_reason: z.object({}).describe("Deal loss reason object").nullable().optional(),
96
+ deal_pipeline_id: z.number().int().describe("ID of the pipeline this deal belongs to"),
97
+ created_by_user_id: z.number().int().describe("ID of user who created the deal"),
98
+ deal_won_reason_id: z.number().int().describe("Reason ID if deal was won").nullable().optional(),
99
+ next_entry_all_day: z.boolean().describe("Whether next entry is all day").nullable().optional(),
100
+ primary_contact_id: z.number().int().describe("ID of the primary contact person").nullable().optional(),
101
+ updated_by_user_id: z.number().int().describe("ID of user who last updated the deal"),
102
+ deal_loss_reason_id: z.number().int().describe("Reason ID if deal was lost").nullable().optional(),
103
+ expected_close_date: z.string().describe("Expected close date of the deal").nullable().optional(),
104
+ deal_won_reason_notes: z.string().describe("Notes about why deal was won").nullable().optional(),
105
+ date_of_first_activity: z.string().describe("Date of first activity on this deal").nullable().optional(),
106
+ deal_loss_reason_notes: z.string().describe("Notes about why deal was lost").nullable().optional(),
107
+ deal_product_lines_ids: z.array(z.number().int()).describe("IDs of product lines associated with the deal").nullable().optional(),
108
+ hours_to_first_activity: z.number().describe("Hours to first activity").nullable().optional(),
109
+ days_since_last_activity: z.number().int().describe("Number of days since last activity").nullable().optional(),
110
+ possible_notify_user_ids: z.array(z.number().int()).describe("IDs of users who can be notified").nullable().optional(),
111
+ expected_close_date_event_id: z.number().int().describe("Event ID for expected close date").nullable().optional()
112
+ }).describe("Response model for the retrieved deal from Pipeline CRM.")
113
+ });
114
+ //#endregion
115
+ export { pipelineCrmGetDeal };
116
+
117
+ //# sourceMappingURL=get-deal.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-deal.mjs","names":[],"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,0BAAwC,EAAE,OAAO,EAC5D,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,EAC3E,CAAC,CAAC,CAAC,SAAS,4DAA4D;AACxE,MAAM,gCAA8C,EAAE,OAAO;CAC3D,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,SAAS;CACvC,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB;CACjD,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB;AACrD,CAAC,CAAC,CAAC,SAAS,4BAA4B;AACxC,MAAM,mCAAiD,EAAE,OAAO;CAC9D,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,YAAY;CAC1C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc;CACxC,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,mCAAmC;AACvE,CAAC,CAAC,CAAC,SAAS,+BAA+B;AAC3C,MAAM,yCAAuD,EAAE,OAAO;CACpE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B;CACvD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB;CAChD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B;AAC3D,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAC1D,MAAM,qCAAmD,EAAE,OAAO;CAChE,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,UAA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B,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/F,wBAAwB,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvG,wBAAwB,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjG,wBAAwB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChI,yBAAyB,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5F,0BAA0B,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9G,0BAA0B,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrH,8BAA8B,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClH,CAAC,CAAC,CAAC,SAAS,0DAOF;AACV,CAAC"}
@@ -0,0 +1,23 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/get-stage.ts
4
+ const PipelineCrmGetStageInput = zod.z.object({ id: zod.z.number().int().describe("Unique identifier of the stage to retrieve") }).describe("Request model for retrieving a deal stage by ID in Pipeline CRM.");
5
+ const PipelineCrmGetStageOutput = zod.z.object({
6
+ id: zod.z.number().int().describe("Unique ID of the stage"),
7
+ name: zod.z.string().describe("Name of the stage, e.g., 'Proposal'"),
8
+ percent: zod.z.number().int().describe("Probability percentage for the stage (0-100)"),
9
+ created_at: zod.z.string().describe("Timestamp when the stage was created in format 'YYYY/MM/DD HH:MM:SS TZ' (e.g., '2026/01/30 02:16:19 -0500')"),
10
+ updated_at: zod.z.string().describe("Timestamp when the stage was last updated in format 'YYYY/MM/DD HH:MM:SS TZ' (e.g., '2026/01/30 02:16:19 -0500')"),
11
+ deal_pipeline_id: zod.z.number().int().describe("Identifier of the pipeline this stage belongs to")
12
+ }).describe("Response model for a deal stage from Pipeline CRM.");
13
+ const pipelineCrmGetStage = require_action.action("PIPELINE_CRM_GET_STAGE", {
14
+ slug: "pipeline_crm-get-stage",
15
+ name: "Get Deal Stage by ID",
16
+ description: "Tool to retrieve details for a specific stage by ID in Pipeline CRM. Use after confirming the stage ID.",
17
+ input: PipelineCrmGetStageInput,
18
+ output: PipelineCrmGetStageOutput
19
+ });
20
+ //#endregion
21
+ exports.pipelineCrmGetStage = pipelineCrmGetStage;
22
+
23
+ //# sourceMappingURL=get-stage.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-stage.cjs","names":["z","action"],"sources":["../../src/actions/get-stage.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PipelineCrmGetStageInput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier of the stage to retrieve\"),\n}).describe(\"Request model for retrieving a deal stage by ID in Pipeline CRM.\");\nexport const PipelineCrmGetStageOutput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique ID of the stage\"),\n name: z.string().describe(\"Name of the stage, e.g., 'Proposal'\"),\n percent: z.number().int().describe(\"Probability percentage for the stage (0-100)\"),\n created_at: z.string().describe(\"Timestamp when the stage was created in format 'YYYY/MM/DD HH:MM:SS TZ' (e.g., '2026/01/30 02:16:19 -0500')\"),\n updated_at: z.string().describe(\"Timestamp when the stage was last updated in format 'YYYY/MM/DD HH:MM:SS TZ' (e.g., '2026/01/30 02:16:19 -0500')\"),\n deal_pipeline_id: z.number().int().describe(\"Identifier of the pipeline this stage belongs to\"),\n}).describe(\"Response model for a deal stage from Pipeline CRM.\");\n\nexport const pipelineCrmGetStage = action(\"PIPELINE_CRM_GET_STAGE\", {\n slug: \"pipeline_crm-get-stage\",\n name: \"Get Deal Stage by ID\",\n description: \"Tool to retrieve details for a specific stage by ID in Pipeline CRM. Use after confirming the stage ID.\",\n input: PipelineCrmGetStageInput,\n output: PipelineCrmGetStageOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAAyCA,IAAAA,EAAE,OAAO,EAC7D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,EAC5E,CAAC,CAAC,CAAC,SAAS,kEAAkE;AAC9E,MAAa,4BAA0CA,IAAAA,EAAE,OAAO;CAC9D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wBAAwB;CACtD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;CAC/D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C;CACjF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6GAA6G;CAC7I,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kHAAkH;CAClJ,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD;AAChG,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAEhE,MAAa,sBAAsBC,eAAAA,OAAO,0BAA0B;CAClE,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-stage.d.ts
4
+ declare const PipelineCrmGetStageInput: z.ZodTypeAny;
5
+ declare const PipelineCrmGetStageOutput: z.ZodTypeAny;
6
+ declare const pipelineCrmGetStage: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { pipelineCrmGetStage };
9
+ //# sourceMappingURL=get-stage.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-stage.d.cts","names":[],"sources":["../../src/actions/get-stage.ts"],"mappings":";;;cAIa,wBAAA,EAA0B,CAAA,CAAE,UAEsC;AAAA,cAClE,yBAAA,EAA2B,CAAA,CAAE,UAOuB;AAAA,cAEpD,mBAAA,gCAAmB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-stage.d.ts
4
+ declare const PipelineCrmGetStageInput: z.ZodTypeAny;
5
+ declare const PipelineCrmGetStageOutput: z.ZodTypeAny;
6
+ declare const pipelineCrmGetStage: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { pipelineCrmGetStage };
9
+ //# sourceMappingURL=get-stage.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-stage.d.mts","names":[],"sources":["../../src/actions/get-stage.ts"],"mappings":";;;cAIa,wBAAA,EAA0B,CAAA,CAAE,UAEsC;AAAA,cAClE,yBAAA,EAA2B,CAAA,CAAE,UAOuB;AAAA,cAEpD,mBAAA,gCAAmB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,20 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ const pipelineCrmGetStage = action("PIPELINE_CRM_GET_STAGE", {
4
+ slug: "pipeline_crm-get-stage",
5
+ name: "Get Deal Stage by ID",
6
+ description: "Tool to retrieve details for a specific stage by ID in Pipeline CRM. Use after confirming the stage ID.",
7
+ input: z.object({ id: z.number().int().describe("Unique identifier of the stage to retrieve") }).describe("Request model for retrieving a deal stage by ID in Pipeline CRM."),
8
+ output: z.object({
9
+ id: z.number().int().describe("Unique ID of the stage"),
10
+ name: z.string().describe("Name of the stage, e.g., 'Proposal'"),
11
+ percent: z.number().int().describe("Probability percentage for the stage (0-100)"),
12
+ created_at: z.string().describe("Timestamp when the stage was created in format 'YYYY/MM/DD HH:MM:SS TZ' (e.g., '2026/01/30 02:16:19 -0500')"),
13
+ updated_at: z.string().describe("Timestamp when the stage was last updated in format 'YYYY/MM/DD HH:MM:SS TZ' (e.g., '2026/01/30 02:16:19 -0500')"),
14
+ deal_pipeline_id: z.number().int().describe("Identifier of the pipeline this stage belongs to")
15
+ }).describe("Response model for a deal stage from Pipeline CRM.")
16
+ });
17
+ //#endregion
18
+ export { pipelineCrmGetStage };
19
+
20
+ //# sourceMappingURL=get-stage.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-stage.mjs","names":[],"sources":["../../src/actions/get-stage.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PipelineCrmGetStageInput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier of the stage to retrieve\"),\n}).describe(\"Request model for retrieving a deal stage by ID in Pipeline CRM.\");\nexport const PipelineCrmGetStageOutput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique ID of the stage\"),\n name: z.string().describe(\"Name of the stage, e.g., 'Proposal'\"),\n percent: z.number().int().describe(\"Probability percentage for the stage (0-100)\"),\n created_at: z.string().describe(\"Timestamp when the stage was created in format 'YYYY/MM/DD HH:MM:SS TZ' (e.g., '2026/01/30 02:16:19 -0500')\"),\n updated_at: z.string().describe(\"Timestamp when the stage was last updated in format 'YYYY/MM/DD HH:MM:SS TZ' (e.g., '2026/01/30 02:16:19 -0500')\"),\n deal_pipeline_id: z.number().int().describe(\"Identifier of the pipeline this stage belongs to\"),\n}).describe(\"Response model for a deal stage from Pipeline CRM.\");\n\nexport const pipelineCrmGetStage = action(\"PIPELINE_CRM_GET_STAGE\", {\n slug: \"pipeline_crm-get-stage\",\n name: \"Get Deal Stage by ID\",\n description: \"Tool to retrieve details for a specific stage by ID in Pipeline CRM. Use after confirming the stage ID.\",\n input: PipelineCrmGetStageInput,\n output: PipelineCrmGetStageOutput,\n});\n"],"mappings":";;AAgBA,MAAa,sBAAsB,OAAO,0BAA0B;CAClE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhBoD,EAAE,OAAO,EAC7D,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,EAC5E,CAAC,CAAC,CAAC,SAAS,kEAcH;CACP,QAdqD,EAAE,OAAO;EAC9D,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wBAAwB;EACtD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;EAC/D,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C;EACjF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,6GAA6G;EAC7I,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,kHAAkH;EAClJ,kBAAkB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD;CAChG,CAAC,CAAC,CAAC,SAAS,oDAOF;AACV,CAAC"}
@@ -0,0 +1,48 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/get-task.ts
4
+ const PipelineCrmGetTaskInput = zod.z.object({ id: zod.z.number().int().describe("ID of the calendar task to retrieve") }).describe("Request model for retrieving a calendar task by ID in Pipeline CRM.");
5
+ const PipelineCrmGetTask_CalendarEntryOwnerSchema = zod.z.object({
6
+ id: zod.z.number().int().describe("ID of the entry owner"),
7
+ full_name: zod.z.string().describe("Full name of the entry owner")
8
+ }).describe("Details of the user who owns this calendar entry.");
9
+ const PipelineCrmGetTask_CalendarEntryCategorySchema = zod.z.object({
10
+ id: zod.z.number().int().describe("ID of the calendar entry category"),
11
+ name: zod.z.string().describe("Name of the calendar entry category")
12
+ }).describe("Category information for the calendar entry.");
13
+ const PipelineCrmGetTask_CalendarEntryPrioritySchema = zod.z.object({
14
+ id: zod.z.number().int().describe("ID of the calendar entry priority"),
15
+ name: zod.z.string().describe("Name of the calendar entry priority"),
16
+ position: zod.z.number().int().describe("Position/order of the priority"),
17
+ hex_color: zod.z.string().describe("Hex color code of the priority")
18
+ }).describe("Priority information for the calendar entry.");
19
+ const PipelineCrmGetTaskOutput = zod.z.object({
20
+ id: zod.z.number().int().describe("Unique identifier of the calendar entry"),
21
+ name: zod.z.string().describe("Title or name of the calendar entry"),
22
+ type: zod.z.enum(["CalendarEvent", "CalendarTask"]).describe("Type of the calendar entry; 'CalendarTask' for tasks"),
23
+ owner: PipelineCrmGetTask_CalendarEntryOwnerSchema.nullable(),
24
+ all_day: zod.z.boolean().describe("Whether the entry is all-day (tasks have no time)"),
25
+ category: PipelineCrmGetTask_CalendarEntryCategorySchema.nullable().optional(),
26
+ complete: zod.z.boolean().describe("Whether the task is marked complete").nullable().optional(),
27
+ due_date: zod.z.string().describe("Due date for tasks in ISO 8601 format").nullable().optional(),
28
+ end_time: zod.z.string().describe("End time for events in ISO 8601 format").nullable().optional(),
29
+ owner_id: zod.z.number().int().describe("User ID who owns the entry"),
30
+ created_at: zod.z.string().describe("Timestamp when the entry was created"),
31
+ start_time: zod.z.string().describe("Start time for events in ISO 8601 format").nullable().optional(),
32
+ updated_at: zod.z.string().describe("Timestamp when the entry was last updated"),
33
+ category_id: zod.z.number().int().describe("Category ID of the calendar entry").nullable().optional(),
34
+ description: zod.z.string().describe("Description or notes for the calendar entry").nullable().optional(),
35
+ calendar_entry_priority: PipelineCrmGetTask_CalendarEntryPrioritySchema.nullable().optional(),
36
+ calendar_entry_priority_id: zod.z.number().int().describe("Priority ID of the calendar entry").nullable().optional()
37
+ }).describe("Response model for a calendar task retrieved from Pipeline CRM.");
38
+ const pipelineCrmGetTask = require_action.action("PIPELINE_CRM_GET_TASK", {
39
+ slug: "pipeline_crm-get-task",
40
+ name: "Get calendar task by ID",
41
+ description: "Tool to retrieve details for a specific task by ID in Pipeline CRM. Use after confirming the task ID.",
42
+ input: PipelineCrmGetTaskInput,
43
+ output: PipelineCrmGetTaskOutput
44
+ });
45
+ //#endregion
46
+ exports.pipelineCrmGetTask = pipelineCrmGetTask;
47
+
48
+ //# sourceMappingURL=get-task.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-task.cjs","names":["z","action"],"sources":["../../src/actions/get-task.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PipelineCrmGetTaskInput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"ID of the calendar task to retrieve\"),\n}).describe(\"Request model for retrieving a calendar task by ID in Pipeline CRM.\");\nconst PipelineCrmGetTask_CalendarEntryOwnerSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"ID of the entry owner\"),\n full_name: z.string().describe(\"Full name of the entry owner\"),\n}).describe(\"Details of the user who owns this calendar entry.\");\nconst PipelineCrmGetTask_CalendarEntryCategorySchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"ID of the calendar entry category\"),\n name: z.string().describe(\"Name of the calendar entry category\"),\n}).describe(\"Category information for the calendar entry.\");\nconst PipelineCrmGetTask_CalendarEntryPrioritySchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"ID of the calendar entry priority\"),\n name: z.string().describe(\"Name of the calendar entry priority\"),\n position: z.number().int().describe(\"Position/order of the priority\"),\n hex_color: z.string().describe(\"Hex color code of the priority\"),\n}).describe(\"Priority information for the calendar entry.\");\nexport const PipelineCrmGetTaskOutput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier of the calendar entry\"),\n name: z.string().describe(\"Title or name of the calendar entry\"),\n type: z.enum([\"CalendarEvent\", \"CalendarTask\"]).describe(\"Type of the calendar entry; 'CalendarTask' for tasks\"),\n owner: PipelineCrmGetTask_CalendarEntryOwnerSchema.nullable(),\n all_day: z.boolean().describe(\"Whether the entry is all-day (tasks have no time)\"),\n category: PipelineCrmGetTask_CalendarEntryCategorySchema.nullable().optional(),\n complete: z.boolean().describe(\"Whether the task is marked complete\").nullable().optional(),\n due_date: z.string().describe(\"Due date for tasks in ISO 8601 format\").nullable().optional(),\n end_time: z.string().describe(\"End time for events in ISO 8601 format\").nullable().optional(),\n owner_id: z.number().int().describe(\"User ID who owns the entry\"),\n created_at: z.string().describe(\"Timestamp when the entry was created\"),\n start_time: z.string().describe(\"Start time for events in ISO 8601 format\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the entry was last updated\"),\n category_id: z.number().int().describe(\"Category ID of the calendar entry\").nullable().optional(),\n description: z.string().describe(\"Description or notes for the calendar entry\").nullable().optional(),\n calendar_entry_priority: PipelineCrmGetTask_CalendarEntryPrioritySchema.nullable().optional(),\n calendar_entry_priority_id: z.number().int().describe(\"Priority ID of the calendar entry\").nullable().optional(),\n}).describe(\"Response model for a calendar task retrieved from Pipeline CRM.\");\n\nexport const pipelineCrmGetTask = action(\"PIPELINE_CRM_GET_TASK\", {\n slug: \"pipeline_crm-get-task\",\n name: \"Get calendar task by ID\",\n description: \"Tool to retrieve details for a specific task by ID in Pipeline CRM. Use after confirming the task ID.\",\n input: PipelineCrmGetTaskInput,\n output: PipelineCrmGetTaskOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAAwCA,IAAAA,EAAE,OAAO,EAC5D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,EACrE,CAAC,CAAC,CAAC,SAAS,qEAAqE;AACjF,MAAM,8CAA4DA,IAAAA,EAAE,OAAO;CACzE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uBAAuB;CACrD,WAAWA,IAAAA,EAAE,OAA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;CAC3F,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B;CAChE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;CACtE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;CAC3E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,yBAAyB,+CAA+C,SAAS,CAAC,CAAC,SAAS;CAC5F,4BAA4BA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjH,CAAC,CAAC,CAAC,SAAS,iEAAiE;AAE7E,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-task.d.ts
4
+ declare const PipelineCrmGetTaskInput: z.ZodTypeAny;
5
+ declare const PipelineCrmGetTaskOutput: z.ZodTypeAny;
6
+ declare const pipelineCrmGetTask: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { pipelineCrmGetTask };
9
+ //# sourceMappingURL=get-task.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-task.d.cts","names":[],"sources":["../../src/actions/get-task.ts"],"mappings":";;;cAIa,uBAAA,EAAyB,CAAA,CAAE,UAE0C;AAAA,cAerE,wBAAA,EAA0B,CAAA,CAAE,UAkBqC;AAAA,cAEjE,kBAAA,gCAAkB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-task.d.ts
4
+ declare const PipelineCrmGetTaskInput: z.ZodTypeAny;
5
+ declare const PipelineCrmGetTaskOutput: z.ZodTypeAny;
6
+ declare const pipelineCrmGetTask: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { pipelineCrmGetTask };
9
+ //# sourceMappingURL=get-task.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-task.d.mts","names":[],"sources":["../../src/actions/get-task.ts"],"mappings":";;;cAIa,uBAAA,EAAyB,CAAA,CAAE,UAE0C;AAAA,cAerE,wBAAA,EAA0B,CAAA,CAAE,UAkBqC;AAAA,cAEjE,kBAAA,gCAAkB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,47 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/get-task.ts
4
+ const PipelineCrmGetTaskInput = z.object({ id: z.number().int().describe("ID of the calendar task to retrieve") }).describe("Request model for retrieving a calendar task by ID in Pipeline CRM.");
5
+ const PipelineCrmGetTask_CalendarEntryOwnerSchema = z.object({
6
+ id: z.number().int().describe("ID of the entry owner"),
7
+ full_name: z.string().describe("Full name of the entry owner")
8
+ }).describe("Details of the user who owns this calendar entry.");
9
+ const PipelineCrmGetTask_CalendarEntryCategorySchema = z.object({
10
+ id: z.number().int().describe("ID of the calendar entry category"),
11
+ name: z.string().describe("Name of the calendar entry category")
12
+ }).describe("Category information for the calendar entry.");
13
+ const PipelineCrmGetTask_CalendarEntryPrioritySchema = z.object({
14
+ id: z.number().int().describe("ID of the calendar entry priority"),
15
+ name: z.string().describe("Name of the calendar entry priority"),
16
+ position: z.number().int().describe("Position/order of the priority"),
17
+ hex_color: z.string().describe("Hex color code of the priority")
18
+ }).describe("Priority information for the calendar entry.");
19
+ const pipelineCrmGetTask = action("PIPELINE_CRM_GET_TASK", {
20
+ slug: "pipeline_crm-get-task",
21
+ name: "Get calendar task by ID",
22
+ description: "Tool to retrieve details for a specific task by ID in Pipeline CRM. Use after confirming the task ID.",
23
+ input: PipelineCrmGetTaskInput,
24
+ output: z.object({
25
+ id: z.number().int().describe("Unique identifier of the calendar entry"),
26
+ name: z.string().describe("Title or name of the calendar entry"),
27
+ type: z.enum(["CalendarEvent", "CalendarTask"]).describe("Type of the calendar entry; 'CalendarTask' for tasks"),
28
+ owner: PipelineCrmGetTask_CalendarEntryOwnerSchema.nullable(),
29
+ all_day: z.boolean().describe("Whether the entry is all-day (tasks have no time)"),
30
+ category: PipelineCrmGetTask_CalendarEntryCategorySchema.nullable().optional(),
31
+ complete: z.boolean().describe("Whether the task is marked complete").nullable().optional(),
32
+ due_date: z.string().describe("Due date for tasks in ISO 8601 format").nullable().optional(),
33
+ end_time: z.string().describe("End time for events in ISO 8601 format").nullable().optional(),
34
+ owner_id: z.number().int().describe("User ID who owns the entry"),
35
+ created_at: z.string().describe("Timestamp when the entry was created"),
36
+ start_time: z.string().describe("Start time for events in ISO 8601 format").nullable().optional(),
37
+ updated_at: z.string().describe("Timestamp when the entry was last updated"),
38
+ category_id: z.number().int().describe("Category ID of the calendar entry").nullable().optional(),
39
+ description: z.string().describe("Description or notes for the calendar entry").nullable().optional(),
40
+ calendar_entry_priority: PipelineCrmGetTask_CalendarEntryPrioritySchema.nullable().optional(),
41
+ calendar_entry_priority_id: z.number().int().describe("Priority ID of the calendar entry").nullable().optional()
42
+ }).describe("Response model for a calendar task retrieved from Pipeline CRM.")
43
+ });
44
+ //#endregion
45
+ export { pipelineCrmGetTask };
46
+
47
+ //# sourceMappingURL=get-task.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-task.mjs","names":[],"sources":["../../src/actions/get-task.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PipelineCrmGetTaskInput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"ID of the calendar task to retrieve\"),\n}).describe(\"Request model for retrieving a calendar task by ID in Pipeline CRM.\");\nconst PipelineCrmGetTask_CalendarEntryOwnerSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"ID of the entry owner\"),\n full_name: z.string().describe(\"Full name of the entry owner\"),\n}).describe(\"Details of the user who owns this calendar entry.\");\nconst PipelineCrmGetTask_CalendarEntryCategorySchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"ID of the calendar entry category\"),\n name: z.string().describe(\"Name of the calendar entry category\"),\n}).describe(\"Category information for the calendar entry.\");\nconst PipelineCrmGetTask_CalendarEntryPrioritySchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"ID of the calendar entry priority\"),\n name: z.string().describe(\"Name of the calendar entry priority\"),\n position: z.number().int().describe(\"Position/order of the priority\"),\n hex_color: z.string().describe(\"Hex color code of the priority\"),\n}).describe(\"Priority information for the calendar entry.\");\nexport const PipelineCrmGetTaskOutput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier of the calendar entry\"),\n name: z.string().describe(\"Title or name of the calendar entry\"),\n type: z.enum([\"CalendarEvent\", \"CalendarTask\"]).describe(\"Type of the calendar entry; 'CalendarTask' for tasks\"),\n owner: PipelineCrmGetTask_CalendarEntryOwnerSchema.nullable(),\n all_day: z.boolean().describe(\"Whether the entry is all-day (tasks have no time)\"),\n category: PipelineCrmGetTask_CalendarEntryCategorySchema.nullable().optional(),\n complete: z.boolean().describe(\"Whether the task is marked complete\").nullable().optional(),\n due_date: z.string().describe(\"Due date for tasks in ISO 8601 format\").nullable().optional(),\n end_time: z.string().describe(\"End time for events in ISO 8601 format\").nullable().optional(),\n owner_id: z.number().int().describe(\"User ID who owns the entry\"),\n created_at: z.string().describe(\"Timestamp when the entry was created\"),\n start_time: z.string().describe(\"Start time for events in ISO 8601 format\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the entry was last updated\"),\n category_id: z.number().int().describe(\"Category ID of the calendar entry\").nullable().optional(),\n description: z.string().describe(\"Description or notes for the calendar entry\").nullable().optional(),\n calendar_entry_priority: PipelineCrmGetTask_CalendarEntryPrioritySchema.nullable().optional(),\n calendar_entry_priority_id: z.number().int().describe(\"Priority ID of the calendar entry\").nullable().optional(),\n}).describe(\"Response model for a calendar task retrieved from Pipeline CRM.\");\n\nexport const pipelineCrmGetTask = action(\"PIPELINE_CRM_GET_TASK\", {\n slug: \"pipeline_crm-get-task\",\n name: \"Get calendar task by ID\",\n description: \"Tool to retrieve details for a specific task by ID in Pipeline CRM. Use after confirming the task ID.\",\n input: PipelineCrmGetTaskInput,\n output: PipelineCrmGetTaskOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAAwC,EAAE,OAAO,EAC5D,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,EACrE,CAAC,CAAC,CAAC,SAAS,qEAAqE;AACjF,MAAM,8CAA4D,EAAE,OAAO;CACzE,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uBAAuB;CACrD,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B;AAC/D,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAM,iDAA+D,EAAE,OAAO;CAC5E,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC;CACjE,MAAM,E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C,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;EAC3E,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpG,yBAAyB,+CAA+C,SAAS,CAAC,CAAC,SAAS;EAC5F,4BAA4B,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,CAAC,CAAC,CAAC,SAAS,iEAOF;AACV,CAAC"}
@@ -0,0 +1,31 @@
1
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
+ const require_create_company = require("./create-company.cjs");
3
+ const require_create_deal = require("./create-deal.cjs");
4
+ const require_delete_company = require("./delete-company.cjs");
5
+ const require_delete_deal = require("./delete-deal.cjs");
6
+ const require_delete_task = require("./delete-task.cjs");
7
+ const require_get_company = require("./get-company.cjs");
8
+ const require_get_deal = require("./get-deal.cjs");
9
+ const require_get_stage = require("./get-stage.cjs");
10
+ const require_get_task = require("./get-task.cjs");
11
+ const require_list_companies = require("./list-companies.cjs");
12
+ const require_list_leads = require("./list-leads.cjs");
13
+ const require_list_stages = require("./list-stages.cjs");
14
+ const require_list_tasks = require("./list-tasks.cjs");
15
+ const require_list_users = require("./list-users.cjs");
16
+ const require_update_company = require("./update-company.cjs");
17
+ exports.pipelineCrmCreateCompany = require_create_company.pipelineCrmCreateCompany;
18
+ exports.pipelineCrmCreateDeal = require_create_deal.pipelineCrmCreateDeal;
19
+ exports.pipelineCrmDeleteCompany = require_delete_company.pipelineCrmDeleteCompany;
20
+ exports.pipelineCrmDeleteDeal = require_delete_deal.pipelineCrmDeleteDeal;
21
+ exports.pipelineCrmDeleteTask = require_delete_task.pipelineCrmDeleteTask;
22
+ exports.pipelineCrmGetCompany = require_get_company.pipelineCrmGetCompany;
23
+ exports.pipelineCrmGetDeal = require_get_deal.pipelineCrmGetDeal;
24
+ exports.pipelineCrmGetStage = require_get_stage.pipelineCrmGetStage;
25
+ exports.pipelineCrmGetTask = require_get_task.pipelineCrmGetTask;
26
+ exports.pipelineCrmListCompanies = require_list_companies.pipelineCrmListCompanies;
27
+ exports.pipelineCrmListLeads = require_list_leads.pipelineCrmListLeads;
28
+ exports.pipelineCrmListStages = require_list_stages.pipelineCrmListStages;
29
+ exports.pipelineCrmListTasks = require_list_tasks.pipelineCrmListTasks;
30
+ exports.pipelineCrmListUsers = require_list_users.pipelineCrmListUsers;
31
+ exports.pipelineCrmUpdateCompany = require_update_company.pipelineCrmUpdateCompany;
@@ -0,0 +1,16 @@
1
+ import { pipelineCrmCreateCompany } from "./create-company.cjs";
2
+ import { pipelineCrmCreateDeal } from "./create-deal.cjs";
3
+ import { pipelineCrmDeleteCompany } from "./delete-company.cjs";
4
+ import { pipelineCrmDeleteDeal } from "./delete-deal.cjs";
5
+ import { pipelineCrmDeleteTask } from "./delete-task.cjs";
6
+ import { pipelineCrmGetCompany } from "./get-company.cjs";
7
+ import { pipelineCrmGetDeal } from "./get-deal.cjs";
8
+ import { pipelineCrmGetStage } from "./get-stage.cjs";
9
+ import { pipelineCrmGetTask } from "./get-task.cjs";
10
+ import { pipelineCrmListCompanies } from "./list-companies.cjs";
11
+ import { pipelineCrmListLeads } from "./list-leads.cjs";
12
+ import { pipelineCrmListStages } from "./list-stages.cjs";
13
+ import { pipelineCrmListTasks } from "./list-tasks.cjs";
14
+ import { pipelineCrmListUsers } from "./list-users.cjs";
15
+ import { pipelineCrmUpdateCompany } from "./update-company.cjs";
16
+ export { pipelineCrmCreateCompany, pipelineCrmCreateDeal, pipelineCrmDeleteCompany, pipelineCrmDeleteDeal, pipelineCrmDeleteTask, pipelineCrmGetCompany, pipelineCrmGetDeal, pipelineCrmGetStage, pipelineCrmGetTask, pipelineCrmListCompanies, pipelineCrmListLeads, pipelineCrmListStages, pipelineCrmListTasks, pipelineCrmListUsers, pipelineCrmUpdateCompany };
@@ -0,0 +1,16 @@
1
+ import { pipelineCrmCreateCompany } from "./create-company.mjs";
2
+ import { pipelineCrmCreateDeal } from "./create-deal.mjs";
3
+ import { pipelineCrmDeleteCompany } from "./delete-company.mjs";
4
+ import { pipelineCrmDeleteDeal } from "./delete-deal.mjs";
5
+ import { pipelineCrmDeleteTask } from "./delete-task.mjs";
6
+ import { pipelineCrmGetCompany } from "./get-company.mjs";
7
+ import { pipelineCrmGetDeal } from "./get-deal.mjs";
8
+ import { pipelineCrmGetStage } from "./get-stage.mjs";
9
+ import { pipelineCrmGetTask } from "./get-task.mjs";
10
+ import { pipelineCrmListCompanies } from "./list-companies.mjs";
11
+ import { pipelineCrmListLeads } from "./list-leads.mjs";
12
+ import { pipelineCrmListStages } from "./list-stages.mjs";
13
+ import { pipelineCrmListTasks } from "./list-tasks.mjs";
14
+ import { pipelineCrmListUsers } from "./list-users.mjs";
15
+ import { pipelineCrmUpdateCompany } from "./update-company.mjs";
16
+ export { pipelineCrmCreateCompany, pipelineCrmCreateDeal, pipelineCrmDeleteCompany, pipelineCrmDeleteDeal, pipelineCrmDeleteTask, pipelineCrmGetCompany, pipelineCrmGetDeal, pipelineCrmGetStage, pipelineCrmGetTask, pipelineCrmListCompanies, pipelineCrmListLeads, pipelineCrmListStages, pipelineCrmListTasks, pipelineCrmListUsers, pipelineCrmUpdateCompany };
@@ -0,0 +1,16 @@
1
+ import { pipelineCrmCreateCompany } from "./create-company.mjs";
2
+ import { pipelineCrmCreateDeal } from "./create-deal.mjs";
3
+ import { pipelineCrmDeleteCompany } from "./delete-company.mjs";
4
+ import { pipelineCrmDeleteDeal } from "./delete-deal.mjs";
5
+ import { pipelineCrmDeleteTask } from "./delete-task.mjs";
6
+ import { pipelineCrmGetCompany } from "./get-company.mjs";
7
+ import { pipelineCrmGetDeal } from "./get-deal.mjs";
8
+ import { pipelineCrmGetStage } from "./get-stage.mjs";
9
+ import { pipelineCrmGetTask } from "./get-task.mjs";
10
+ import { pipelineCrmListCompanies } from "./list-companies.mjs";
11
+ import { pipelineCrmListLeads } from "./list-leads.mjs";
12
+ import { pipelineCrmListStages } from "./list-stages.mjs";
13
+ import { pipelineCrmListTasks } from "./list-tasks.mjs";
14
+ import { pipelineCrmListUsers } from "./list-users.mjs";
15
+ import { pipelineCrmUpdateCompany } from "./update-company.mjs";
16
+ export { pipelineCrmCreateCompany, pipelineCrmCreateDeal, pipelineCrmDeleteCompany, pipelineCrmDeleteDeal, pipelineCrmDeleteTask, pipelineCrmGetCompany, pipelineCrmGetDeal, pipelineCrmGetStage, pipelineCrmGetTask, pipelineCrmListCompanies, pipelineCrmListLeads, pipelineCrmListStages, pipelineCrmListTasks, pipelineCrmListUsers, pipelineCrmUpdateCompany };
@@ -0,0 +1,75 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/list-companies.ts
4
+ const PipelineCrmListCompaniesInput = zod.z.object({
5
+ page: zod.z.number().int().describe("Page number to retrieve, must be ≥ 1").optional(),
6
+ search: zod.z.string().describe("Search term to filter companies by relevant fields").optional(),
7
+ sort_by: zod.z.string().describe("Field name to sort by (e.g., \"name\")").optional(),
8
+ per_page: zod.z.number().int().describe("Number of companies per page, must be ≥ 1").optional(),
9
+ sort_direction: zod.z.enum(["asc", "desc"]).describe("Sort order: asc for ascending or desc for descending").optional()
10
+ }).describe("Request model for retrieving a list of companies in Pipeline CRM with optional filters and pagination.");
11
+ const PipelineCrmListCompanies_OwnerSchema = zod.z.object({
12
+ id: zod.z.number().int().describe("Unique identifier of the owner"),
13
+ last_name: zod.z.string().describe("Last name of the owner"),
14
+ first_name: zod.z.string().describe("First name of the owner")
15
+ }).describe("Owner information for a company.");
16
+ const PipelineCrmListCompanies_CompanyItemSchema = zod.z.object({
17
+ id: zod.z.number().int().describe("Unique identifier of the company"),
18
+ fax: zod.z.string().describe("Fax number of the company").nullable().optional(),
19
+ web: zod.z.string().describe("Website URL of the company").nullable().optional(),
20
+ city: zod.z.string().describe("City of the company").nullable().optional(),
21
+ name: zod.z.string().describe("Name of the company"),
22
+ tags: zod.z.array(zod.z.unknown()).describe("List of tags associated with this company").nullable().optional(),
23
+ email: zod.z.string().describe("Email of the company").nullable().optional(),
24
+ owner: PipelineCrmListCompanies_OwnerSchema.nullable().optional(),
25
+ state: zod.z.string().describe("State/province of the company").nullable().optional(),
26
+ phone1: zod.z.string().describe("Primary phone number of the company").nullable().optional(),
27
+ phone2: zod.z.string().describe("Secondary phone number of the company").nullable().optional(),
28
+ phone3: zod.z.string().describe("Tertiary phone number of the company").nullable().optional(),
29
+ phone4: zod.z.string().describe("Quaternary phone number of the company").nullable().optional(),
30
+ country: zod.z.string().describe("Country code of the company").nullable().optional(),
31
+ tag_ids: zod.z.array(zod.z.number().int()).describe("List of tag IDs associated with this company").nullable().optional(),
32
+ twitter: zod.z.string().describe("Twitter handle").nullable().optional(),
33
+ owner_id: zod.z.number().int().describe("ID of the user who owns this company").nullable().optional(),
34
+ address_1: zod.z.string().describe("Primary address line of the company").nullable().optional(),
35
+ address_2: zod.z.string().describe("Secondary address line (suite, apt, etc.)").nullable().optional(),
36
+ import_id: zod.z.string().describe("External import ID for this company").nullable().optional(),
37
+ is_sample: zod.z.boolean().describe("Whether this is a sample company").nullable().optional(),
38
+ created_at: zod.z.string().describe("Timestamp when the company was created"),
39
+ updated_at: zod.z.string().describe("Timestamp when the company was last updated"),
40
+ description: zod.z.string().describe("Description of the company").nullable().optional(),
41
+ is_customer: zod.z.boolean().describe("Whether this company is marked as a customer").nullable().optional(),
42
+ postal_code: zod.z.string().describe("Postal/ZIP code of the company").nullable().optional(),
43
+ twitter_url: zod.z.string().describe("Twitter profile URL").nullable().optional(),
44
+ facebook_url: zod.z.string().describe("Facebook profile URL").nullable().optional(),
45
+ custom_fields: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Custom fields associated with this company").nullable().optional(),
46
+ linked_in_url: zod.z.string().describe("LinkedIn profile URL").nullable().optional(),
47
+ next_entry_id: zod.z.number().int().describe("ID of the next scheduled entry/activity").nullable().optional(),
48
+ next_entry_due: zod.z.string().describe("Due date of the next scheduled entry/activity").nullable().optional(),
49
+ image_thumb_url: zod.z.string().describe("URL to company thumbnail image").nullable().optional(),
50
+ instant_message: zod.z.string().describe("Instant messaging handle").nullable().optional(),
51
+ next_entry_name: zod.z.string().describe("Name of the next scheduled entry/activity").nullable().optional(),
52
+ shared_user_ids: zod.z.array(zod.z.number().int()).describe("List of user IDs this company is shared with").nullable().optional(),
53
+ image_mobile_url: zod.z.string().describe("URL to company mobile image").nullable().optional()
54
+ }).describe("Representation of a company in the list of companies.");
55
+ const PipelineCrmListCompanies_PaginationSchema = zod.z.object({
56
+ page: zod.z.number().int().describe("Current page number"),
57
+ per_page: zod.z.number().int().describe("Number of entries per page"),
58
+ total_pages: zod.z.number().int().describe("Total number of pages available"),
59
+ total_entries: zod.z.number().int().describe("Total number of entries across all pages")
60
+ }).describe("Pagination metadata for list responses.");
61
+ const PipelineCrmListCompaniesOutput = zod.z.object({
62
+ companies: zod.z.array(PipelineCrmListCompanies_CompanyItemSchema).describe("List of companies returned"),
63
+ pagination: PipelineCrmListCompanies_PaginationSchema.nullable()
64
+ }).describe("Response model for a list of companies in Pipeline CRM.");
65
+ const pipelineCrmListCompanies = require_action.action("PIPELINE_CRM_LIST_COMPANIES", {
66
+ slug: "pipeline_crm-list-companies",
67
+ name: "List Companies",
68
+ description: "List companies in Pipeline CRM with optional filtering, sorting, and pagination. Returns a paginated list of companies with comprehensive details including contact information, address, owner, custom fields, and tags. Supports search filtering and sorting by any field. Use this to retrieve multiple companies or search for specific companies by name or other attributes.",
69
+ input: PipelineCrmListCompaniesInput,
70
+ output: PipelineCrmListCompaniesOutput
71
+ });
72
+ //#endregion
73
+ exports.pipelineCrmListCompanies = pipelineCrmListCompanies;
74
+
75
+ //# sourceMappingURL=list-companies.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-companies.cjs","names":["z","action"],"sources":["../../src/actions/list-companies.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PipelineCrmListCompaniesInput: z.ZodTypeAny = z.object({\n page: z.number().int().describe(\"Page number to retrieve, must be ≥ 1\").optional(),\n search: z.string().describe(\"Search term to filter companies by relevant fields\").optional(),\n sort_by: z.string().describe(\"Field name to sort by (e.g., \\\"name\\\")\").optional(),\n per_page: z.number().int().describe(\"Number of companies per page, must be ≥ 1\").optional(),\n sort_direction: z.enum([\"asc\", \"desc\"]).describe(\"Sort order: asc for ascending or desc for descending\").optional(),\n}).describe(\"Request model for retrieving a list of companies in Pipeline CRM with optional filters and pagination.\");\nconst PipelineCrmListCompanies_OwnerSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier of the owner\"),\n last_name: z.string().describe(\"Last name of the owner\"),\n first_name: z.string().describe(\"First name of the owner\"),\n}).describe(\"Owner information for a company.\");\nconst PipelineCrmListCompanies_CompanyItemSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier of the company\"),\n fax: z.string().describe(\"Fax number of the company\").nullable().optional(),\n web: z.string().describe(\"Website URL of the company\").nullable().optional(),\n city: z.string().describe(\"City of the company\").nullable().optional(),\n name: z.string().describe(\"Name of the company\"),\n tags: z.array(z.unknown()).describe(\"List of tags associated with this company\").nullable().optional(),\n email: z.string().describe(\"Email of the company\").nullable().optional(),\n owner: PipelineCrmListCompanies_OwnerSchema.nullable().optional(),\n state: z.string().describe(\"State/province of the company\").nullable().optional(),\n phone1: z.string().describe(\"Primary phone number of the company\").nullable().optional(),\n phone2: z.string().describe(\"Secondary phone number of the company\").nullable().optional(),\n phone3: z.string().describe(\"Tertiary phone number of the company\").nullable().optional(),\n phone4: z.string().describe(\"Quaternary phone number of the company\").nullable().optional(),\n country: z.string().describe(\"Country code of the company\").nullable().optional(),\n tag_ids: z.array(z.number().int()).describe(\"List of tag IDs associated with this company\").nullable().optional(),\n twitter: z.string().describe(\"Twitter handle\").nullable().optional(),\n owner_id: z.number().int().describe(\"ID of the user who owns this company\").nullable().optional(),\n address_1: z.string().describe(\"Primary address line of the company\").nullable().optional(),\n address_2: z.string().describe(\"Secondary address line (suite, apt, etc.)\").nullable().optional(),\n import_id: z.string().describe(\"External import ID for this company\").nullable().optional(),\n is_sample: z.boolean().describe(\"Whether this is a sample company\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the company was created\"),\n updated_at: z.string().describe(\"Timestamp when the company was last updated\"),\n description: z.string().describe(\"Description of the company\").nullable().optional(),\n is_customer: z.boolean().describe(\"Whether this company is marked as a customer\").nullable().optional(),\n postal_code: z.string().describe(\"Postal/ZIP code of the company\").nullable().optional(),\n twitter_url: z.string().describe(\"Twitter profile URL\").nullable().optional(),\n facebook_url: z.string().describe(\"Facebook profile URL\").nullable().optional(),\n custom_fields: z.record(z.string(), z.unknown()).describe(\"Custom fields associated with this company\").nullable().optional(),\n linked_in_url: z.string().describe(\"LinkedIn profile URL\").nullable().optional(),\n next_entry_id: z.number().int().describe(\"ID of the next scheduled entry/activity\").nullable().optional(),\n next_entry_due: z.string().describe(\"Due date of the next scheduled entry/activity\").nullable().optional(),\n image_thumb_url: z.string().describe(\"URL to company thumbnail image\").nullable().optional(),\n instant_message: z.string().describe(\"Instant messaging handle\").nullable().optional(),\n next_entry_name: z.string().describe(\"Name of the next scheduled entry/activity\").nullable().optional(),\n shared_user_ids: z.array(z.number().int()).describe(\"List of user IDs this company is shared with\").nullable().optional(),\n image_mobile_url: z.string().describe(\"URL to company mobile image\").nullable().optional(),\n}).describe(\"Representation of a company in the list of companies.\");\nconst PipelineCrmListCompanies_PaginationSchema: z.ZodTypeAny = z.object({\n page: z.number().int().describe(\"Current page number\"),\n per_page: z.number().int().describe(\"Number of entries per page\"),\n total_pages: z.number().int().describe(\"Total number of pages available\"),\n total_entries: z.number().int().describe(\"Total number of entries across all pages\"),\n}).describe(\"Pagination metadata for list responses.\");\nexport const PipelineCrmListCompaniesOutput: z.ZodTypeAny = z.object({\n companies: z.array(PipelineCrmListCompanies_CompanyItemSchema).describe(\"List of companies returned\"),\n pagination: PipelineCrmListCompanies_PaginationSchema.nullable(),\n}).describe(\"Response model for a list of companies in Pipeline CRM.\");\n\nexport const pipelineCrmListCompanies = action(\"PIPELINE_CRM_LIST_COMPANIES\", {\n slug: \"pipeline_crm-list-companies\",\n name: \"List Companies\",\n description: \"List companies in Pipeline CRM with optional filtering, sorting, and pagination. Returns a paginated list of companies with comprehensive details including contact information, address, owner, custom fields, and tags. Supports search filtering and sorting by any field. Use this to retrieve multiple companies or search for specific companies by name or other attributes.\",\n input: PipelineCrmListCompaniesInput,\n output: PipelineCrmListCompaniesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAA8CA,IAAAA,EAAE,OAAO;CAClE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CACjF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CAC3F,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CAChF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CAC1F,gBAAgBA,IAAAA,EAAE,KAAK,CAAC,OAAO,MAAM,CAAC,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;AACpH,CAAC,CAAC,CAAC,SAAS,wGAAwG;AACpH,MAAM,uCAAqDA,IAAAA,EAAE,OAAO;CAClE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC;CAC9D,WAAWA,IAAAA,EAAE,OAAO,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