@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.
- package/README.md +17 -0
- package/dist/action.cjs +21 -0
- package/dist/action.cjs.map +1 -0
- package/dist/action.mjs +21 -0
- package/dist/action.mjs.map +1 -0
- package/dist/actions/create-company.cjs +71 -0
- package/dist/actions/create-company.cjs.map +1 -0
- package/dist/actions/create-company.d.cts +9 -0
- package/dist/actions/create-company.d.cts.map +1 -0
- package/dist/actions/create-company.d.mts +9 -0
- package/dist/actions/create-company.d.mts.map +1 -0
- package/dist/actions/create-company.mjs +70 -0
- package/dist/actions/create-company.mjs.map +1 -0
- package/dist/actions/create-deal.cjs +35 -0
- package/dist/actions/create-deal.cjs.map +1 -0
- package/dist/actions/create-deal.d.cts +9 -0
- package/dist/actions/create-deal.d.cts.map +1 -0
- package/dist/actions/create-deal.d.mts +9 -0
- package/dist/actions/create-deal.d.mts.map +1 -0
- package/dist/actions/create-deal.mjs +32 -0
- package/dist/actions/create-deal.mjs.map +1 -0
- package/dist/actions/delete-company.cjs +19 -0
- package/dist/actions/delete-company.cjs.map +1 -0
- package/dist/actions/delete-company.d.cts +9 -0
- package/dist/actions/delete-company.d.cts.map +1 -0
- package/dist/actions/delete-company.d.mts +9 -0
- package/dist/actions/delete-company.d.mts.map +1 -0
- package/dist/actions/delete-company.mjs +16 -0
- package/dist/actions/delete-company.mjs.map +1 -0
- package/dist/actions/delete-deal.cjs +19 -0
- package/dist/actions/delete-deal.cjs.map +1 -0
- package/dist/actions/delete-deal.d.cts +9 -0
- package/dist/actions/delete-deal.d.cts.map +1 -0
- package/dist/actions/delete-deal.d.mts +9 -0
- package/dist/actions/delete-deal.d.mts.map +1 -0
- package/dist/actions/delete-deal.mjs +16 -0
- package/dist/actions/delete-deal.mjs.map +1 -0
- package/dist/actions/delete-task.cjs +20 -0
- package/dist/actions/delete-task.cjs.map +1 -0
- package/dist/actions/delete-task.d.cts +9 -0
- package/dist/actions/delete-task.d.cts.map +1 -0
- package/dist/actions/delete-task.d.mts +9 -0
- package/dist/actions/delete-task.d.mts.map +1 -0
- package/dist/actions/delete-task.mjs +17 -0
- package/dist/actions/delete-task.mjs.map +1 -0
- package/dist/actions/get-company.cjs +84 -0
- package/dist/actions/get-company.cjs.map +1 -0
- package/dist/actions/get-company.d.cts +9 -0
- package/dist/actions/get-company.d.cts.map +1 -0
- package/dist/actions/get-company.d.mts +9 -0
- package/dist/actions/get-company.d.mts.map +1 -0
- package/dist/actions/get-company.mjs +83 -0
- package/dist/actions/get-company.mjs.map +1 -0
- package/dist/actions/get-deal.cjs +118 -0
- package/dist/actions/get-deal.cjs.map +1 -0
- package/dist/actions/get-deal.d.cts +9 -0
- package/dist/actions/get-deal.d.cts.map +1 -0
- package/dist/actions/get-deal.d.mts +9 -0
- package/dist/actions/get-deal.d.mts.map +1 -0
- package/dist/actions/get-deal.mjs +117 -0
- package/dist/actions/get-deal.mjs.map +1 -0
- package/dist/actions/get-stage.cjs +23 -0
- package/dist/actions/get-stage.cjs.map +1 -0
- package/dist/actions/get-stage.d.cts +9 -0
- package/dist/actions/get-stage.d.cts.map +1 -0
- package/dist/actions/get-stage.d.mts +9 -0
- package/dist/actions/get-stage.d.mts.map +1 -0
- package/dist/actions/get-stage.mjs +20 -0
- package/dist/actions/get-stage.mjs.map +1 -0
- package/dist/actions/get-task.cjs +48 -0
- package/dist/actions/get-task.cjs.map +1 -0
- package/dist/actions/get-task.d.cts +9 -0
- package/dist/actions/get-task.d.cts.map +1 -0
- package/dist/actions/get-task.d.mts +9 -0
- package/dist/actions/get-task.d.mts.map +1 -0
- package/dist/actions/get-task.mjs +47 -0
- package/dist/actions/get-task.mjs.map +1 -0
- package/dist/actions/index.cjs +31 -0
- package/dist/actions/index.d.cts +16 -0
- package/dist/actions/index.d.mts +16 -0
- package/dist/actions/index.mjs +16 -0
- package/dist/actions/list-companies.cjs +75 -0
- package/dist/actions/list-companies.cjs.map +1 -0
- package/dist/actions/list-companies.d.cts +9 -0
- package/dist/actions/list-companies.d.cts.map +1 -0
- package/dist/actions/list-companies.d.mts +9 -0
- package/dist/actions/list-companies.d.mts.map +1 -0
- package/dist/actions/list-companies.mjs +74 -0
- package/dist/actions/list-companies.mjs.map +1 -0
- package/dist/actions/list-leads.cjs +50 -0
- package/dist/actions/list-leads.cjs.map +1 -0
- package/dist/actions/list-leads.d.cts +9 -0
- package/dist/actions/list-leads.d.cts.map +1 -0
- package/dist/actions/list-leads.d.mts +9 -0
- package/dist/actions/list-leads.d.mts.map +1 -0
- package/dist/actions/list-leads.mjs +49 -0
- package/dist/actions/list-leads.mjs.map +1 -0
- package/dist/actions/list-stages.cjs +36 -0
- package/dist/actions/list-stages.cjs.map +1 -0
- package/dist/actions/list-stages.d.cts +9 -0
- package/dist/actions/list-stages.d.cts.map +1 -0
- package/dist/actions/list-stages.d.mts +9 -0
- package/dist/actions/list-stages.d.mts.map +1 -0
- package/dist/actions/list-stages.mjs +35 -0
- package/dist/actions/list-stages.mjs.map +1 -0
- package/dist/actions/list-tasks.cjs +67 -0
- package/dist/actions/list-tasks.cjs.map +1 -0
- package/dist/actions/list-tasks.d.cts +9 -0
- package/dist/actions/list-tasks.d.cts.map +1 -0
- package/dist/actions/list-tasks.d.mts +9 -0
- package/dist/actions/list-tasks.d.mts.map +1 -0
- package/dist/actions/list-tasks.mjs +66 -0
- package/dist/actions/list-tasks.mjs.map +1 -0
- package/dist/actions/list-users.cjs +40 -0
- package/dist/actions/list-users.cjs.map +1 -0
- package/dist/actions/list-users.d.cts +9 -0
- package/dist/actions/list-users.d.cts.map +1 -0
- package/dist/actions/list-users.d.mts +9 -0
- package/dist/actions/list-users.d.mts.map +1 -0
- package/dist/actions/list-users.mjs +39 -0
- package/dist/actions/list-users.mjs.map +1 -0
- package/dist/actions/update-company.cjs +69 -0
- package/dist/actions/update-company.cjs.map +1 -0
- package/dist/actions/update-company.d.cts +9 -0
- package/dist/actions/update-company.d.cts.map +1 -0
- package/dist/actions/update-company.d.mts +9 -0
- package/dist/actions/update-company.d.mts.map +1 -0
- package/dist/actions/update-company.mjs +68 -0
- package/dist/actions/update-company.mjs.map +1 -0
- package/dist/app.cjs +9 -0
- package/dist/app.cjs.map +1 -0
- package/dist/app.d.cts +5 -0
- package/dist/app.d.cts.map +1 -0
- package/dist/app.d.mts +5 -0
- package/dist/app.d.mts.map +1 -0
- package/dist/app.mjs +10 -0
- package/dist/app.mjs.map +1 -0
- package/dist/catalog.cjs +15 -0
- package/dist/catalog.cjs.map +1 -0
- package/dist/catalog.d.cts +14 -0
- package/dist/catalog.d.cts.map +1 -0
- package/dist/catalog.d.mts +14 -0
- package/dist/catalog.d.mts.map +1 -0
- package/dist/catalog.mjs +15 -0
- package/dist/catalog.mjs.map +1 -0
- package/dist/execute.cjs +18 -0
- package/dist/execute.cjs.map +1 -0
- package/dist/execute.mjs +18 -0
- package/dist/execute.mjs.map +1 -0
- package/dist/index.cjs +36 -0
- package/dist/index.d.cts +18 -0
- package/dist/index.d.mts +18 -0
- package/dist/index.mjs +19 -0
- package/package.json +49 -0
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/list-tasks.ts
|
|
4
|
+
const PipelineCrmListTasksInput = z.object({
|
|
5
|
+
page: z.number().int().default(1).describe("Page number to fetch (default 1).").optional(),
|
|
6
|
+
deal_id: z.number().int().describe("Filter tasks by deal ID.").optional(),
|
|
7
|
+
to_date: z.string().describe("Filter tasks due on or before this date (YYYY-MM-DD).").optional(),
|
|
8
|
+
per_page: z.number().int().default(200).describe("Number of items per page (max 200, default 200).").optional(),
|
|
9
|
+
from_date: z.string().describe("Filter tasks due on or after this date (YYYY-MM-DD).").optional(),
|
|
10
|
+
person_id: z.number().int().describe("Filter tasks by person ID.").optional(),
|
|
11
|
+
company_id: z.number().int().describe("Filter tasks by company ID.").optional()
|
|
12
|
+
}).describe("Request model for listing calendar tasks in Pipeline CRM.");
|
|
13
|
+
const PipelineCrmListTasks_CalendarEntryOwnerSchema = z.object({
|
|
14
|
+
id: z.number().int().describe("ID of the entry owner"),
|
|
15
|
+
last_name: z.string().describe("Last name of the entry owner").nullable().optional(),
|
|
16
|
+
first_name: z.string().describe("First name of the entry owner").nullable().optional()
|
|
17
|
+
}).describe("Details of the user who owns this calendar entry.");
|
|
18
|
+
const PipelineCrmListTasks_CalendarEntryCategorySchema = z.object({
|
|
19
|
+
id: z.number().int().describe("ID of the calendar entry category"),
|
|
20
|
+
name: z.string().describe("Name of the calendar entry category")
|
|
21
|
+
}).describe("Category information for the calendar entry.");
|
|
22
|
+
const PipelineCrmListTasks_CalendarEntryPrioritySchema = z.object({ position: z.number().int().describe("Position/order of the priority") });
|
|
23
|
+
const PipelineCrmListTasks_TaskSchema = z.object({
|
|
24
|
+
id: z.number().int().describe("Unique identifier of the calendar entry"),
|
|
25
|
+
name: z.string().describe("Title or name of the calendar entry"),
|
|
26
|
+
type: z.enum(["CalendarEvent", "CalendarTask"]).describe("Type of entry; 'CalendarTask' for tasks"),
|
|
27
|
+
owner: PipelineCrmListTasks_CalendarEntryOwnerSchema.nullable(),
|
|
28
|
+
active: z.boolean().describe("Whether the calendar entry is active").nullable().optional(),
|
|
29
|
+
all_day: z.boolean().describe("Whether the entry is all-day (tasks have no time)"),
|
|
30
|
+
category: PipelineCrmListTasks_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
|
+
company_id: z.number().int().describe("ID of the associated company").nullable().optional(),
|
|
36
|
+
created_at: z.string().describe("Timestamp when the entry was created"),
|
|
37
|
+
start_time: z.string().describe("Start time for events in ISO 8601 format").nullable().optional(),
|
|
38
|
+
updated_at: z.string().describe("Timestamp when the entry was last updated"),
|
|
39
|
+
category_id: z.number().int().describe("Category ID of the calendar entry").nullable().optional(),
|
|
40
|
+
description: z.string().describe("Description or notes for the calendar entry").nullable().optional(),
|
|
41
|
+
completed_at: z.string().describe("Timestamp when the task was completed").nullable().optional(),
|
|
42
|
+
calendar_entry_priority: PipelineCrmListTasks_CalendarEntryPrioritySchema.nullable().optional(),
|
|
43
|
+
part_of_recurring_series: z.boolean().describe("Whether this entry is part of a recurring series").nullable().optional(),
|
|
44
|
+
calendar_entry_priority_id: z.number().int().describe("Priority ID of the calendar entry").nullable().optional()
|
|
45
|
+
}).describe("Model representing a calendar task entry.");
|
|
46
|
+
const PipelineCrmListTasks_PaginationSchema = z.object({
|
|
47
|
+
page: z.number().int().describe("Current page number"),
|
|
48
|
+
pages: z.number().int().describe("Total number of pages"),
|
|
49
|
+
total: z.number().int().describe("Total number of items available"),
|
|
50
|
+
page_var: z.string().describe("Query parameter name for page number"),
|
|
51
|
+
per_page: z.number().int().describe("Number of items per page")
|
|
52
|
+
}).describe("Pagination details for list responses.");
|
|
53
|
+
const pipelineCrmListTasks = action("PIPELINE_CRM_LIST_TASKS", {
|
|
54
|
+
slug: "pipeline_crm-list-tasks",
|
|
55
|
+
name: "List calendar tasks",
|
|
56
|
+
description: "Tool to list calendar tasks. Use when retrieving tasks for a deal, company, or person with optional date filters and pagination.",
|
|
57
|
+
input: PipelineCrmListTasksInput,
|
|
58
|
+
output: z.object({
|
|
59
|
+
entries: z.array(PipelineCrmListTasks_TaskSchema).describe("List of calendar task entries"),
|
|
60
|
+
pagination: PipelineCrmListTasks_PaginationSchema.nullable()
|
|
61
|
+
}).describe("Response model for listing calendar tasks in Pipeline CRM.")
|
|
62
|
+
});
|
|
63
|
+
//#endregion
|
|
64
|
+
export { pipelineCrmListTasks };
|
|
65
|
+
|
|
66
|
+
//# sourceMappingURL=list-tasks.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-tasks.mjs","names":[],"sources":["../../src/actions/list-tasks.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PipelineCrmListTasksInput: z.ZodTypeAny = z.object({\n page: z.number().int().default(1).describe(\"Page number to fetch (default 1).\").optional(),\n deal_id: z.number().int().describe(\"Filter tasks by deal ID.\").optional(),\n to_date: z.string().describe(\"Filter tasks due on or before this date (YYYY-MM-DD).\").optional(),\n per_page: z.number().int().default(200).describe(\"Number of items per page (max 200, default 200).\").optional(),\n from_date: z.string().describe(\"Filter tasks due on or after this date (YYYY-MM-DD).\").optional(),\n person_id: z.number().int().describe(\"Filter tasks by person ID.\").optional(),\n company_id: z.number().int().describe(\"Filter tasks by company ID.\").optional(),\n}).describe(\"Request model for listing calendar tasks in Pipeline CRM.\");\nconst PipelineCrmListTasks_CalendarEntryOwnerSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"ID of the entry owner\"),\n last_name: z.string().describe(\"Last name of the entry owner\").nullable().optional(),\n first_name: z.string().describe(\"First name of the entry owner\").nullable().optional(),\n}).describe(\"Details of the user who owns this calendar entry.\");\nconst PipelineCrmListTasks_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 PipelineCrmListTasks_CalendarEntryPrioritySchema: z.ZodTypeAny = z.object({\n position: z.number().int().describe(\"Position/order of the priority\"),\n});\nconst PipelineCrmListTasks_TaskSchema: 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 entry; 'CalendarTask' for tasks\"),\n owner: PipelineCrmListTasks_CalendarEntryOwnerSchema.nullable(),\n active: z.boolean().describe(\"Whether the calendar entry is active\").nullable().optional(),\n all_day: z.boolean().describe(\"Whether the entry is all-day (tasks have no time)\"),\n category: PipelineCrmListTasks_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 company_id: z.number().int().describe(\"ID of the associated company\").nullable().optional(),\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 completed_at: z.string().describe(\"Timestamp when the task was completed\").nullable().optional(),\n calendar_entry_priority: PipelineCrmListTasks_CalendarEntryPrioritySchema.nullable().optional(),\n part_of_recurring_series: z.boolean().describe(\"Whether this entry is part of a recurring series\").nullable().optional(),\n calendar_entry_priority_id: z.number().int().describe(\"Priority ID of the calendar entry\").nullable().optional(),\n}).describe(\"Model representing a calendar task entry.\");\nconst PipelineCrmListTasks_PaginationSchema: z.ZodTypeAny = z.object({\n page: z.number().int().describe(\"Current page number\"),\n pages: z.number().int().describe(\"Total number of pages\"),\n total: z.number().int().describe(\"Total number of items available\"),\n page_var: z.string().describe(\"Query parameter name for page number\"),\n per_page: z.number().int().describe(\"Number of items per page\"),\n}).describe(\"Pagination details for list responses.\");\nexport const PipelineCrmListTasksOutput: z.ZodTypeAny = z.object({\n entries: z.array(PipelineCrmListTasks_TaskSchema).describe(\"List of calendar task entries\"),\n pagination: PipelineCrmListTasks_PaginationSchema.nullable(),\n}).describe(\"Response model for listing calendar tasks in Pipeline CRM.\");\n\nexport const pipelineCrmListTasks = action(\"PIPELINE_CRM_LIST_TASKS\", {\n slug: \"pipeline_crm-list-tasks\",\n name: \"List calendar tasks\",\n description: \"Tool to list calendar tasks. Use when retrieving tasks for a deal, company, or person with optional date filters and pagination.\",\n input: PipelineCrmListTasksInput,\n output: PipelineCrmListTasksOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA0C,EAAE,OAAO;CAC9D,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACzF,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CACxE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CAC/F,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,GAAG,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CAC9G,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CAChG,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CAC5E,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;AAChF,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAM,gDAA8D,EAAE,OAAO;CAC3E,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uBAAuB;CACrD,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvF,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAM,mDAAiE,EAAE,OAAO;CAC9E,IAAI,EAAE,OAAO,CAAC,CAAC,IAA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CAAC,CAAC,CAAC,SAAS,4DAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/list-users.ts
|
|
4
|
+
const PipelineCrmListUsersInput = zod.z.object({
|
|
5
|
+
page: zod.z.number().int().describe("Page number to retrieve, must be >= 1").optional(),
|
|
6
|
+
per_page: zod.z.number().int().describe("Number of users per page (1-200, default 200)").optional()
|
|
7
|
+
}).describe("Request model for listing users in Pipeline CRM with optional pagination.");
|
|
8
|
+
const PipelineCrmListUsers_UserItemSchema = zod.z.object({
|
|
9
|
+
id: zod.z.number().int().describe("Unique identifier of the user"),
|
|
10
|
+
role: zod.z.string().describe("Role assigned to the user (e.g., admin, user)"),
|
|
11
|
+
admin: zod.z.boolean().describe("Whether the user has admin privileges").nullable().optional(),
|
|
12
|
+
email: zod.z.string().describe("Primary email address of the user"),
|
|
13
|
+
status: zod.z.string().describe("Status of the user (e.g., active, inactive)"),
|
|
14
|
+
timezone: zod.z.string().describe("Timezone setting for the user").nullable().optional(),
|
|
15
|
+
last_name: zod.z.string().describe("Last name of the user"),
|
|
16
|
+
created_at: zod.z.string().describe("Timestamp when the user was created").nullable().optional(),
|
|
17
|
+
first_name: zod.z.string().describe("First name of the user"),
|
|
18
|
+
updated_at: zod.z.string().describe("Timestamp when the user was last updated").nullable().optional()
|
|
19
|
+
}).describe("Representation of a user in Pipeline CRM.");
|
|
20
|
+
const PipelineCrmListUsers_PaginationSchema = zod.z.object({
|
|
21
|
+
page: zod.z.number().int().describe("Current page number"),
|
|
22
|
+
per_page: zod.z.number().int().describe("Number of entries per page"),
|
|
23
|
+
total_pages: zod.z.number().int().describe("Total number of pages available"),
|
|
24
|
+
total_entries: zod.z.number().int().describe("Total number of entries across all pages")
|
|
25
|
+
}).describe("Pagination metadata for list responses.");
|
|
26
|
+
const PipelineCrmListUsersOutput = zod.z.object({
|
|
27
|
+
users: zod.z.array(PipelineCrmListUsers_UserItemSchema).describe("List of users returned"),
|
|
28
|
+
pagination: PipelineCrmListUsers_PaginationSchema.nullable()
|
|
29
|
+
}).describe("Response model for a list of users in Pipeline CRM.");
|
|
30
|
+
const pipelineCrmListUsers = require_action.action("PIPELINE_CRM_LIST_USERS", {
|
|
31
|
+
slug: "pipeline_crm-list-users",
|
|
32
|
+
name: "List Users",
|
|
33
|
+
description: "List users in Pipeline CRM account with optional pagination. Returns a paginated list of users with their details including email, name, role, status, and admin privileges. Use this to retrieve user information for assignment, reporting, or user management purposes. For large accounts, iterate through pages using `page` and `per_page` parameters. Requires admin access to the API.",
|
|
34
|
+
input: PipelineCrmListUsersInput,
|
|
35
|
+
output: PipelineCrmListUsersOutput
|
|
36
|
+
});
|
|
37
|
+
//#endregion
|
|
38
|
+
exports.pipelineCrmListUsers = pipelineCrmListUsers;
|
|
39
|
+
|
|
40
|
+
//# sourceMappingURL=list-users.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-users.cjs","names":["z","action"],"sources":["../../src/actions/list-users.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PipelineCrmListUsersInput: z.ZodTypeAny = z.object({\n page: z.number().int().describe(\"Page number to retrieve, must be >= 1\").optional(),\n per_page: z.number().int().describe(\"Number of users per page (1-200, default 200)\").optional(),\n}).describe(\"Request model for listing users in Pipeline CRM with optional pagination.\");\nconst PipelineCrmListUsers_UserItemSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier of the user\"),\n role: z.string().describe(\"Role assigned to the user (e.g., admin, user)\"),\n admin: z.boolean().describe(\"Whether the user has admin privileges\").nullable().optional(),\n email: z.string().describe(\"Primary email address of the user\"),\n status: z.string().describe(\"Status of the user (e.g., active, inactive)\"),\n timezone: z.string().describe(\"Timezone setting for the user\").nullable().optional(),\n last_name: z.string().describe(\"Last name of the user\"),\n created_at: z.string().describe(\"Timestamp when the user was created\").nullable().optional(),\n first_name: z.string().describe(\"First name of the user\"),\n updated_at: z.string().describe(\"Timestamp when the user was last updated\").nullable().optional(),\n}).describe(\"Representation of a user in Pipeline CRM.\");\nconst PipelineCrmListUsers_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 PipelineCrmListUsersOutput: z.ZodTypeAny = z.object({\n users: z.array(PipelineCrmListUsers_UserItemSchema).describe(\"List of users returned\"),\n pagination: PipelineCrmListUsers_PaginationSchema.nullable(),\n}).describe(\"Response model for a list of users in Pipeline CRM.\");\n\nexport const pipelineCrmListUsers = action(\"PIPELINE_CRM_LIST_USERS\", {\n slug: \"pipeline_crm-list-users\",\n name: \"List Users\",\n description: \"List users in Pipeline CRM account with optional pagination. Returns a paginated list of users with their details including email, name, role, status, and admin privileges. Use this to retrieve user information for assignment, reporting, or user management purposes. For large accounts, iterate through pages using `page` and `per_page` parameters. Requires admin access to the API.\",\n input: PipelineCrmListUsersInput,\n output: PipelineCrmListUsersOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA0CA,IAAAA,EAAE,OAAO;CAC9D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAClF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;AAChG,CAAC,CAAC,CAAC,SAAS,2EAA2E;AACvF,MAAM,sCAAoDA,IAAAA,EAAE,OAAO;CACjE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B;CAC7D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;CACzE,O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uBC,eAAAA,OAAO,2BAA2B;CACpE,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/list-users.d.ts
|
|
4
|
+
declare const PipelineCrmListUsersInput: z.ZodTypeAny;
|
|
5
|
+
declare const PipelineCrmListUsersOutput: z.ZodTypeAny;
|
|
6
|
+
declare const pipelineCrmListUsers: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { pipelineCrmListUsers };
|
|
9
|
+
//# sourceMappingURL=list-users.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-users.d.cts","names":[],"sources":["../../src/actions/list-users.ts"],"mappings":";;;cAIa,yBAAA,EAA2B,CAAA,CAAE,UAG8C;AAAA,cAmB3E,0BAAA,EAA4B,CAAA,CAAE,UAGuB;AAAA,cAErD,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/list-users.d.ts
|
|
4
|
+
declare const PipelineCrmListUsersInput: z.ZodTypeAny;
|
|
5
|
+
declare const PipelineCrmListUsersOutput: z.ZodTypeAny;
|
|
6
|
+
declare const pipelineCrmListUsers: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { pipelineCrmListUsers };
|
|
9
|
+
//# sourceMappingURL=list-users.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-users.d.mts","names":[],"sources":["../../src/actions/list-users.ts"],"mappings":";;;cAIa,yBAAA,EAA2B,CAAA,CAAE,UAG8C;AAAA,cAmB3E,0BAAA,EAA4B,CAAA,CAAE,UAGuB;AAAA,cAErD,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/list-users.ts
|
|
4
|
+
const PipelineCrmListUsersInput = z.object({
|
|
5
|
+
page: z.number().int().describe("Page number to retrieve, must be >= 1").optional(),
|
|
6
|
+
per_page: z.number().int().describe("Number of users per page (1-200, default 200)").optional()
|
|
7
|
+
}).describe("Request model for listing users in Pipeline CRM with optional pagination.");
|
|
8
|
+
const PipelineCrmListUsers_UserItemSchema = z.object({
|
|
9
|
+
id: z.number().int().describe("Unique identifier of the user"),
|
|
10
|
+
role: z.string().describe("Role assigned to the user (e.g., admin, user)"),
|
|
11
|
+
admin: z.boolean().describe("Whether the user has admin privileges").nullable().optional(),
|
|
12
|
+
email: z.string().describe("Primary email address of the user"),
|
|
13
|
+
status: z.string().describe("Status of the user (e.g., active, inactive)"),
|
|
14
|
+
timezone: z.string().describe("Timezone setting for the user").nullable().optional(),
|
|
15
|
+
last_name: z.string().describe("Last name of the user"),
|
|
16
|
+
created_at: z.string().describe("Timestamp when the user was created").nullable().optional(),
|
|
17
|
+
first_name: z.string().describe("First name of the user"),
|
|
18
|
+
updated_at: z.string().describe("Timestamp when the user was last updated").nullable().optional()
|
|
19
|
+
}).describe("Representation of a user in Pipeline CRM.");
|
|
20
|
+
const PipelineCrmListUsers_PaginationSchema = z.object({
|
|
21
|
+
page: z.number().int().describe("Current page number"),
|
|
22
|
+
per_page: z.number().int().describe("Number of entries per page"),
|
|
23
|
+
total_pages: z.number().int().describe("Total number of pages available"),
|
|
24
|
+
total_entries: z.number().int().describe("Total number of entries across all pages")
|
|
25
|
+
}).describe("Pagination metadata for list responses.");
|
|
26
|
+
const pipelineCrmListUsers = action("PIPELINE_CRM_LIST_USERS", {
|
|
27
|
+
slug: "pipeline_crm-list-users",
|
|
28
|
+
name: "List Users",
|
|
29
|
+
description: "List users in Pipeline CRM account with optional pagination. Returns a paginated list of users with their details including email, name, role, status, and admin privileges. Use this to retrieve user information for assignment, reporting, or user management purposes. For large accounts, iterate through pages using `page` and `per_page` parameters. Requires admin access to the API.",
|
|
30
|
+
input: PipelineCrmListUsersInput,
|
|
31
|
+
output: z.object({
|
|
32
|
+
users: z.array(PipelineCrmListUsers_UserItemSchema).describe("List of users returned"),
|
|
33
|
+
pagination: PipelineCrmListUsers_PaginationSchema.nullable()
|
|
34
|
+
}).describe("Response model for a list of users in Pipeline CRM.")
|
|
35
|
+
});
|
|
36
|
+
//#endregion
|
|
37
|
+
export { pipelineCrmListUsers };
|
|
38
|
+
|
|
39
|
+
//# sourceMappingURL=list-users.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-users.mjs","names":[],"sources":["../../src/actions/list-users.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PipelineCrmListUsersInput: z.ZodTypeAny = z.object({\n page: z.number().int().describe(\"Page number to retrieve, must be >= 1\").optional(),\n per_page: z.number().int().describe(\"Number of users per page (1-200, default 200)\").optional(),\n}).describe(\"Request model for listing users in Pipeline CRM with optional pagination.\");\nconst PipelineCrmListUsers_UserItemSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier of the user\"),\n role: z.string().describe(\"Role assigned to the user (e.g., admin, user)\"),\n admin: z.boolean().describe(\"Whether the user has admin privileges\").nullable().optional(),\n email: z.string().describe(\"Primary email address of the user\"),\n status: z.string().describe(\"Status of the user (e.g., active, inactive)\"),\n timezone: z.string().describe(\"Timezone setting for the user\").nullable().optional(),\n last_name: z.string().describe(\"Last name of the user\"),\n created_at: z.string().describe(\"Timestamp when the user was created\").nullable().optional(),\n first_name: z.string().describe(\"First name of the user\"),\n updated_at: z.string().describe(\"Timestamp when the user was last updated\").nullable().optional(),\n}).describe(\"Representation of a user in Pipeline CRM.\");\nconst PipelineCrmListUsers_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 PipelineCrmListUsersOutput: z.ZodTypeAny = z.object({\n users: z.array(PipelineCrmListUsers_UserItemSchema).describe(\"List of users returned\"),\n pagination: PipelineCrmListUsers_PaginationSchema.nullable(),\n}).describe(\"Response model for a list of users in Pipeline CRM.\");\n\nexport const pipelineCrmListUsers = action(\"PIPELINE_CRM_LIST_USERS\", {\n slug: \"pipeline_crm-list-users\",\n name: \"List Users\",\n description: \"List users in Pipeline CRM account with optional pagination. Returns a paginated list of users with their details including email, name, role, status, and admin privileges. Use this to retrieve user information for assignment, reporting, or user management purposes. For large accounts, iterate through pages using `page` and `per_page` parameters. Requires admin access to the API.\",\n input: PipelineCrmListUsersInput,\n output: PipelineCrmListUsersOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA0C,EAAE,OAAO;CAC9D,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAClF,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;AAChG,CAAC,CAAC,CAAC,SAAS,2EAA2E;AACvF,MAAM,sCAAoD,EAAE,OAAO;CACjE,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B;CAC7D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;C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s");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/update-company.ts
|
|
4
|
+
const PipelineCrmUpdateCompanyInput = zod.z.object({
|
|
5
|
+
id: zod.z.number().int().describe("ID of the company to update"),
|
|
6
|
+
company: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Dictionary of company fields to update. Available fields include: name (str), description (str), email (str), web (str), fax (str), phone1/phone2/phone3/phone4 (str), phone1_desc/phone2_desc/phone3_desc/phone4_desc (str), address_1 (str), address_2 (str), city (str), state (str), postal_code (int or str), country (str), facebook_url (str), linked_in_url (str), twitter (str), instant_message (str), owner_id (int), shared_user_ids (list of int), tag_ids (list of int). Only include fields you want to update."),
|
|
7
|
+
deliver_reassignment_email: zod.z.boolean().describe("If false, suppresses sending reassignment email when changing owner_id; default is true").optional()
|
|
8
|
+
}).describe("Request model for updating an existing company in Pipeline CRM.");
|
|
9
|
+
const PipelineCrmUpdateCompany_CompanyTagSchema = zod.z.object({
|
|
10
|
+
id: zod.z.number().int().describe("Tag ID"),
|
|
11
|
+
name: zod.z.string().describe("Tag name")
|
|
12
|
+
});
|
|
13
|
+
const PipelineCrmUpdateCompany_CompanyOwnerSchema = zod.z.object({
|
|
14
|
+
id: zod.z.number().int().describe("ID of the owner user"),
|
|
15
|
+
full_name: zod.z.string().describe("Full name of the owner user")
|
|
16
|
+
});
|
|
17
|
+
const PipelineCrmUpdateCompanyOutput = zod.z.object({
|
|
18
|
+
id: zod.z.number().int().describe("Unique ID of the company"),
|
|
19
|
+
fax: zod.z.string().describe("Fax number for the company").nullable().optional(),
|
|
20
|
+
web: zod.z.string().describe("Website URL for the company").nullable().optional(),
|
|
21
|
+
city: zod.z.string().describe("City of the company's address").nullable().optional(),
|
|
22
|
+
name: zod.z.string().describe("Name of the company"),
|
|
23
|
+
tags: zod.z.array(PipelineCrmUpdateCompany_CompanyTagSchema).describe("List of tags assigned to the company"),
|
|
24
|
+
email: zod.z.string().describe("Email address for the company").nullable().optional(),
|
|
25
|
+
owner: PipelineCrmUpdateCompany_CompanyOwnerSchema.nullable(),
|
|
26
|
+
state: zod.z.string().describe("State of the company's address").nullable().optional(),
|
|
27
|
+
phone1: zod.z.string().describe("Primary phone number of the company").nullable().optional(),
|
|
28
|
+
phone2: zod.z.string().describe("Secondary phone number of the company").nullable().optional(),
|
|
29
|
+
phone3: zod.z.string().describe("Tertiary phone number of the company").nullable().optional(),
|
|
30
|
+
phone4: zod.z.string().describe("Quaternary phone number of the company").nullable().optional(),
|
|
31
|
+
country: zod.z.string().describe("Country of the company's address").nullable().optional(),
|
|
32
|
+
tag_ids: zod.z.array(zod.z.number().int()).describe("IDs of tags applied to the company").nullable().optional(),
|
|
33
|
+
twitter: zod.z.string().describe("Twitter handle of the company").nullable().optional(),
|
|
34
|
+
owner_id: zod.z.number().int().describe("User ID of the company owner").nullable().optional(),
|
|
35
|
+
address_1: zod.z.string().describe("Primary address line for the company").nullable().optional(),
|
|
36
|
+
address_2: zod.z.string().describe("Secondary address line for the company").nullable().optional(),
|
|
37
|
+
created_at: zod.z.string().describe("Timestamp when the company was created"),
|
|
38
|
+
updated_at: zod.z.string().describe("Timestamp when the company was updated"),
|
|
39
|
+
description: zod.z.string().describe("Description of the company").nullable().optional(),
|
|
40
|
+
phone1_desc: zod.z.string().describe("Description for phone1").nullable().optional(),
|
|
41
|
+
phone2_desc: zod.z.string().describe("Description for phone2").nullable().optional(),
|
|
42
|
+
phone3_desc: zod.z.string().describe("Description for phone3").nullable().optional(),
|
|
43
|
+
phone4_desc: zod.z.string().describe("Description for phone4").nullable().optional(),
|
|
44
|
+
postal_code: zod.z.number().int().describe("Postal code of the company's address").nullable().optional(),
|
|
45
|
+
facebook_url: zod.z.string().describe("Facebook URL of the company").nullable().optional(),
|
|
46
|
+
next_task_id: zod.z.number().int().describe("ID of the next task").nullable().optional(),
|
|
47
|
+
custom_fields: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Custom field values for the company").nullable().optional(),
|
|
48
|
+
linked_in_url: zod.z.string().describe("LinkedIn URL of the company").nullable().optional(),
|
|
49
|
+
next_task_due: zod.z.string().describe("Due date of the next task").nullable().optional(),
|
|
50
|
+
next_task_name: zod.z.string().describe("Name of the next task").nullable().optional(),
|
|
51
|
+
company_country: zod.z.string().describe("Company-specific country field").nullable().optional(),
|
|
52
|
+
image_thumb_url: zod.z.string().describe("Thumbnail image URL for the company").nullable().optional(),
|
|
53
|
+
instant_message: zod.z.string().describe("Instant messaging contact for the company").nullable().optional(),
|
|
54
|
+
shared_user_ids: zod.z.array(zod.z.number().int()).describe("IDs of users sharing the company").nullable().optional(),
|
|
55
|
+
image_mobile_url: zod.z.string().describe("Mobile image URL for the company").nullable().optional(),
|
|
56
|
+
next_task_all_day: zod.z.boolean().describe("All-day flag for the next task").nullable().optional(),
|
|
57
|
+
possible_notify_user_ids: zod.z.array(zod.z.number().int()).describe("List of user IDs that can be notified about this company")
|
|
58
|
+
}).describe("Response model for the updated company from Pipeline CRM.");
|
|
59
|
+
const pipelineCrmUpdateCompany = require_action.action("PIPELINE_CRM_UPDATE_COMPANY", {
|
|
60
|
+
slug: "pipeline_crm-update-company",
|
|
61
|
+
name: "Update Company",
|
|
62
|
+
description: "Tool to update an existing company by ID in Pipeline CRM. Use after confirming the company ID and fields to change.",
|
|
63
|
+
input: PipelineCrmUpdateCompanyInput,
|
|
64
|
+
output: PipelineCrmUpdateCompanyOutput
|
|
65
|
+
});
|
|
66
|
+
//#endregion
|
|
67
|
+
exports.pipelineCrmUpdateCompany = pipelineCrmUpdateCompany;
|
|
68
|
+
|
|
69
|
+
//# sourceMappingURL=update-company.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-company.cjs","names":["z","action"],"sources":["../../src/actions/update-company.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PipelineCrmUpdateCompanyInput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"ID of the company to update\"),\n company: z.record(z.string(), z.unknown()).describe(\"Dictionary of company fields to update. Available fields include: name (str), description (str), email (str), web (str), fax (str), phone1/phone2/phone3/phone4 (str), phone1_desc/phone2_desc/phone3_desc/phone4_desc (str), address_1 (str), address_2 (str), city (str), state (str), postal_code (int or str), country (str), facebook_url (str), linked_in_url (str), twitter (str), instant_message (str), owner_id (int), shared_user_ids (list of int), tag_ids (list of int). Only include fields you want to update.\"),\n deliver_reassignment_email: z.boolean().describe(\"If false, suppresses sending reassignment email when changing owner_id; default is true\").optional(),\n}).describe(\"Request model for updating an existing company in Pipeline CRM.\");\nconst PipelineCrmUpdateCompany_CompanyTagSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Tag ID\"),\n name: z.string().describe(\"Tag name\"),\n});\nconst PipelineCrmUpdateCompany_CompanyOwnerSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"ID of the owner user\"),\n full_name: z.string().describe(\"Full name of the owner user\"),\n});\nexport const PipelineCrmUpdateCompanyOutput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique ID of the company\"),\n fax: z.string().describe(\"Fax number for the company\").nullable().optional(),\n web: z.string().describe(\"Website URL for the company\").nullable().optional(),\n city: z.string().describe(\"City of the company's address\").nullable().optional(),\n name: z.string().describe(\"Name of the company\"),\n tags: z.array(PipelineCrmUpdateCompany_CompanyTagSchema).describe(\"List of tags assigned to the company\"),\n email: z.string().describe(\"Email address for the company\").nullable().optional(),\n owner: PipelineCrmUpdateCompany_CompanyOwnerSchema.nullable(),\n state: z.string().describe(\"State of the company's address\").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 of the company's address\").nullable().optional(),\n tag_ids: z.array(z.number().int()).describe(\"IDs of tags applied to the company\").nullable().optional(),\n twitter: z.string().describe(\"Twitter handle of the company\").nullable().optional(),\n owner_id: z.number().int().describe(\"User ID of the company owner\").nullable().optional(),\n address_1: z.string().describe(\"Primary address line for the company\").nullable().optional(),\n address_2: z.string().describe(\"Secondary address line for the 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 updated\"),\n description: z.string().describe(\"Description of the company\").nullable().optional(),\n phone1_desc: z.string().describe(\"Description for phone1\").nullable().optional(),\n phone2_desc: z.string().describe(\"Description for phone2\").nullable().optional(),\n phone3_desc: z.string().describe(\"Description for phone3\").nullable().optional(),\n phone4_desc: z.string().describe(\"Description for phone4\").nullable().optional(),\n postal_code: z.number().int().describe(\"Postal code of the company's address\").nullable().optional(),\n facebook_url: z.string().describe(\"Facebook URL of the company\").nullable().optional(),\n next_task_id: z.number().int().describe(\"ID of the next task\").nullable().optional(),\n custom_fields: z.record(z.string(), z.unknown()).describe(\"Custom field values for the company\").nullable().optional(),\n linked_in_url: z.string().describe(\"LinkedIn URL of the company\").nullable().optional(),\n next_task_due: z.string().describe(\"Due date of the next task\").nullable().optional(),\n next_task_name: z.string().describe(\"Name of the next task\").nullable().optional(),\n company_country: z.string().describe(\"Company-specific country field\").nullable().optional(),\n image_thumb_url: z.string().describe(\"Thumbnail image URL for the company\").nullable().optional(),\n instant_message: z.string().describe(\"Instant messaging contact for the company\").nullable().optional(),\n shared_user_ids: z.array(z.number().int()).describe(\"IDs of users sharing the company\").nullable().optional(),\n image_mobile_url: z.string().describe(\"Mobile image URL for the company\").nullable().optional(),\n next_task_all_day: z.boolean().describe(\"All-day flag for the next task\").nullable().optional(),\n possible_notify_user_ids: z.array(z.number().int()).describe(\"List of user IDs that can be notified about this company\"),\n}).describe(\"Response model for the updated company from Pipeline CRM.\");\n\nexport const pipelineCrmUpdateCompany = action(\"PIPELINE_CRM_UPDATE_COMPANY\", {\n slug: \"pipeline_crm-update-company\",\n name: \"Update Company\",\n description: \"Tool to update an existing company by ID in Pipeline CRM. Use after confirming the company ID and fields to change.\",\n input: PipelineCrmUpdateCompanyInput,\n output: PipelineCrmUpdateCompanyOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAA8CA,IAAAA,EAAE,OAAO;CAClE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B;CAC3D,SAASA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,ggBAAggB;CACpjB,4BAA4BA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS;AACvJ,CAAC,CAAC,CAAC,SAAS,iEAAiE;AAC7E,MAAM,4CAA0DA,IAAAA,EAAE,OAAO;CACvE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,QAAQ;CACtC,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,UAAU;AACtC,CAAC;AACD,MAAM,8CAA4DA,IAAAA,EAAE,OAAO;CACzE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sBAAsB;CACpD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B;AAC9D,CAAC;AACD,MAAa,iCAA+CA,IAAAA,EAAE,OAAO;CACnE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B;CACxD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3E,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SA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ions/update-company.d.ts
|
|
4
|
+
declare const PipelineCrmUpdateCompanyInput: z.ZodTypeAny;
|
|
5
|
+
declare const PipelineCrmUpdateCompanyOutput: z.ZodTypeAny;
|
|
6
|
+
declare const pipelineCrmUpdateCompany: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { pipelineCrmUpdateCompany };
|
|
9
|
+
//# sourceMappingURL=update-company.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-company.d.cts","names":[],"sources":["../../src/actions/update-company.ts"],"mappings":";;;cAIa,6BAAA,EAA+B,CAAA,CAAE,UAIgC;AAAA,cASjE,8BAAA,EAAgC,CAAA,CAAE,UAyCyB;AAAA,cAE3D,wBAAA,gCAAwB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/update-company.d.ts
|
|
4
|
+
declare const PipelineCrmUpdateCompanyInput: z.ZodTypeAny;
|
|
5
|
+
declare const PipelineCrmUpdateCompanyOutput: z.ZodTypeAny;
|
|
6
|
+
declare const pipelineCrmUpdateCompany: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { pipelineCrmUpdateCompany };
|
|
9
|
+
//# sourceMappingURL=update-company.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-company.d.mts","names":[],"sources":["../../src/actions/update-company.ts"],"mappings":";;;cAIa,6BAAA,EAA+B,CAAA,CAAE,UAIgC;AAAA,cASjE,8BAAA,EAAgC,CAAA,CAAE,UAyCyB;AAAA,cAE3D,wBAAA,gCAAwB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/update-company.ts
|
|
4
|
+
const PipelineCrmUpdateCompanyInput = z.object({
|
|
5
|
+
id: z.number().int().describe("ID of the company to update"),
|
|
6
|
+
company: z.record(z.string(), z.unknown()).describe("Dictionary of company fields to update. Available fields include: name (str), description (str), email (str), web (str), fax (str), phone1/phone2/phone3/phone4 (str), phone1_desc/phone2_desc/phone3_desc/phone4_desc (str), address_1 (str), address_2 (str), city (str), state (str), postal_code (int or str), country (str), facebook_url (str), linked_in_url (str), twitter (str), instant_message (str), owner_id (int), shared_user_ids (list of int), tag_ids (list of int). Only include fields you want to update."),
|
|
7
|
+
deliver_reassignment_email: z.boolean().describe("If false, suppresses sending reassignment email when changing owner_id; default is true").optional()
|
|
8
|
+
}).describe("Request model for updating an existing company in Pipeline CRM.");
|
|
9
|
+
const PipelineCrmUpdateCompany_CompanyTagSchema = z.object({
|
|
10
|
+
id: z.number().int().describe("Tag ID"),
|
|
11
|
+
name: z.string().describe("Tag name")
|
|
12
|
+
});
|
|
13
|
+
const PipelineCrmUpdateCompany_CompanyOwnerSchema = z.object({
|
|
14
|
+
id: z.number().int().describe("ID of the owner user"),
|
|
15
|
+
full_name: z.string().describe("Full name of the owner user")
|
|
16
|
+
});
|
|
17
|
+
const pipelineCrmUpdateCompany = action("PIPELINE_CRM_UPDATE_COMPANY", {
|
|
18
|
+
slug: "pipeline_crm-update-company",
|
|
19
|
+
name: "Update Company",
|
|
20
|
+
description: "Tool to update an existing company by ID in Pipeline CRM. Use after confirming the company ID and fields to change.",
|
|
21
|
+
input: PipelineCrmUpdateCompanyInput,
|
|
22
|
+
output: z.object({
|
|
23
|
+
id: z.number().int().describe("Unique ID of the company"),
|
|
24
|
+
fax: z.string().describe("Fax number for the company").nullable().optional(),
|
|
25
|
+
web: z.string().describe("Website URL for the company").nullable().optional(),
|
|
26
|
+
city: z.string().describe("City of the company's address").nullable().optional(),
|
|
27
|
+
name: z.string().describe("Name of the company"),
|
|
28
|
+
tags: z.array(PipelineCrmUpdateCompany_CompanyTagSchema).describe("List of tags assigned to the company"),
|
|
29
|
+
email: z.string().describe("Email address for the company").nullable().optional(),
|
|
30
|
+
owner: PipelineCrmUpdateCompany_CompanyOwnerSchema.nullable(),
|
|
31
|
+
state: z.string().describe("State of the company's address").nullable().optional(),
|
|
32
|
+
phone1: z.string().describe("Primary phone number of the company").nullable().optional(),
|
|
33
|
+
phone2: z.string().describe("Secondary phone number of the company").nullable().optional(),
|
|
34
|
+
phone3: z.string().describe("Tertiary phone number of the company").nullable().optional(),
|
|
35
|
+
phone4: z.string().describe("Quaternary phone number of the company").nullable().optional(),
|
|
36
|
+
country: z.string().describe("Country of the company's address").nullable().optional(),
|
|
37
|
+
tag_ids: z.array(z.number().int()).describe("IDs of tags applied to the company").nullable().optional(),
|
|
38
|
+
twitter: z.string().describe("Twitter handle of the company").nullable().optional(),
|
|
39
|
+
owner_id: z.number().int().describe("User ID of the company owner").nullable().optional(),
|
|
40
|
+
address_1: z.string().describe("Primary address line for the company").nullable().optional(),
|
|
41
|
+
address_2: z.string().describe("Secondary address line for the company").nullable().optional(),
|
|
42
|
+
created_at: z.string().describe("Timestamp when the company was created"),
|
|
43
|
+
updated_at: z.string().describe("Timestamp when the company was updated"),
|
|
44
|
+
description: z.string().describe("Description of the company").nullable().optional(),
|
|
45
|
+
phone1_desc: z.string().describe("Description for phone1").nullable().optional(),
|
|
46
|
+
phone2_desc: z.string().describe("Description for phone2").nullable().optional(),
|
|
47
|
+
phone3_desc: z.string().describe("Description for phone3").nullable().optional(),
|
|
48
|
+
phone4_desc: z.string().describe("Description for phone4").nullable().optional(),
|
|
49
|
+
postal_code: z.number().int().describe("Postal code of the company's address").nullable().optional(),
|
|
50
|
+
facebook_url: z.string().describe("Facebook URL of the company").nullable().optional(),
|
|
51
|
+
next_task_id: z.number().int().describe("ID of the next task").nullable().optional(),
|
|
52
|
+
custom_fields: z.record(z.string(), z.unknown()).describe("Custom field values for the company").nullable().optional(),
|
|
53
|
+
linked_in_url: z.string().describe("LinkedIn URL of the company").nullable().optional(),
|
|
54
|
+
next_task_due: z.string().describe("Due date of the next task").nullable().optional(),
|
|
55
|
+
next_task_name: z.string().describe("Name of the next task").nullable().optional(),
|
|
56
|
+
company_country: z.string().describe("Company-specific country field").nullable().optional(),
|
|
57
|
+
image_thumb_url: z.string().describe("Thumbnail image URL for the company").nullable().optional(),
|
|
58
|
+
instant_message: z.string().describe("Instant messaging contact for the company").nullable().optional(),
|
|
59
|
+
shared_user_ids: z.array(z.number().int()).describe("IDs of users sharing the company").nullable().optional(),
|
|
60
|
+
image_mobile_url: z.string().describe("Mobile image URL for the company").nullable().optional(),
|
|
61
|
+
next_task_all_day: z.boolean().describe("All-day flag for the next task").nullable().optional(),
|
|
62
|
+
possible_notify_user_ids: z.array(z.number().int()).describe("List of user IDs that can be notified about this company")
|
|
63
|
+
}).describe("Response model for the updated company from Pipeline CRM.")
|
|
64
|
+
});
|
|
65
|
+
//#endregion
|
|
66
|
+
export { pipelineCrmUpdateCompany };
|
|
67
|
+
|
|
68
|
+
//# sourceMappingURL=update-company.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-company.mjs","names":[],"sources":["../../src/actions/update-company.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PipelineCrmUpdateCompanyInput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"ID of the company to update\"),\n company: z.record(z.string(), z.unknown()).describe(\"Dictionary of company fields to update. Available fields include: name (str), description (str), email (str), web (str), fax (str), phone1/phone2/phone3/phone4 (str), phone1_desc/phone2_desc/phone3_desc/phone4_desc (str), address_1 (str), address_2 (str), city (str), state (str), postal_code (int or str), country (str), facebook_url (str), linked_in_url (str), twitter (str), instant_message (str), owner_id (int), shared_user_ids (list of int), tag_ids (list of int). Only include fields you want to update.\"),\n deliver_reassignment_email: z.boolean().describe(\"If false, suppresses sending reassignment email when changing owner_id; default is true\").optional(),\n}).describe(\"Request model for updating an existing company in Pipeline CRM.\");\nconst PipelineCrmUpdateCompany_CompanyTagSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Tag ID\"),\n name: z.string().describe(\"Tag name\"),\n});\nconst PipelineCrmUpdateCompany_CompanyOwnerSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"ID of the owner user\"),\n full_name: z.string().describe(\"Full name of the owner user\"),\n});\nexport const PipelineCrmUpdateCompanyOutput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique ID of the company\"),\n fax: z.string().describe(\"Fax number for the company\").nullable().optional(),\n web: z.string().describe(\"Website URL for the company\").nullable().optional(),\n city: z.string().describe(\"City of the company's address\").nullable().optional(),\n name: z.string().describe(\"Name of the company\"),\n tags: z.array(PipelineCrmUpdateCompany_CompanyTagSchema).describe(\"List of tags assigned to the company\"),\n email: z.string().describe(\"Email address for the company\").nullable().optional(),\n owner: PipelineCrmUpdateCompany_CompanyOwnerSchema.nullable(),\n state: z.string().describe(\"State of the company's address\").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 of the company's address\").nullable().optional(),\n tag_ids: z.array(z.number().int()).describe(\"IDs of tags applied to the company\").nullable().optional(),\n twitter: z.string().describe(\"Twitter handle of the company\").nullable().optional(),\n owner_id: z.number().int().describe(\"User ID of the company owner\").nullable().optional(),\n address_1: z.string().describe(\"Primary address line for the company\").nullable().optional(),\n address_2: z.string().describe(\"Secondary address line for the 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 updated\"),\n description: z.string().describe(\"Description of the company\").nullable().optional(),\n phone1_desc: z.string().describe(\"Description for phone1\").nullable().optional(),\n phone2_desc: z.string().describe(\"Description for phone2\").nullable().optional(),\n phone3_desc: z.string().describe(\"Description for phone3\").nullable().optional(),\n phone4_desc: z.string().describe(\"Description for phone4\").nullable().optional(),\n postal_code: z.number().int().describe(\"Postal code of the company's address\").nullable().optional(),\n facebook_url: z.string().describe(\"Facebook URL of the company\").nullable().optional(),\n next_task_id: z.number().int().describe(\"ID of the next task\").nullable().optional(),\n custom_fields: z.record(z.string(), z.unknown()).describe(\"Custom field values for the company\").nullable().optional(),\n linked_in_url: z.string().describe(\"LinkedIn URL of the company\").nullable().optional(),\n next_task_due: z.string().describe(\"Due date of the next task\").nullable().optional(),\n next_task_name: z.string().describe(\"Name of the next task\").nullable().optional(),\n company_country: z.string().describe(\"Company-specific country field\").nullable().optional(),\n image_thumb_url: z.string().describe(\"Thumbnail image URL for the company\").nullable().optional(),\n instant_message: z.string().describe(\"Instant messaging contact for the company\").nullable().optional(),\n shared_user_ids: z.array(z.number().int()).describe(\"IDs of users sharing the company\").nullable().optional(),\n image_mobile_url: z.string().describe(\"Mobile image URL for the company\").nullable().optional(),\n next_task_all_day: z.boolean().describe(\"All-day flag for the next task\").nullable().optional(),\n possible_notify_user_ids: z.array(z.number().int()).describe(\"List of user IDs that can be notified about this company\"),\n}).describe(\"Response model for the updated company from Pipeline CRM.\");\n\nexport const pipelineCrmUpdateCompany = action(\"PIPELINE_CRM_UPDATE_COMPANY\", {\n slug: \"pipeline_crm-update-company\",\n name: \"Update Company\",\n description: \"Tool to update an existing company by ID in Pipeline CRM. Use after confirming the company ID and fields to change.\",\n input: PipelineCrmUpdateCompanyInput,\n output: PipelineCrmUpdateCompanyOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAA8C,EAAE,OAAO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E,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtG,iBAAiB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5G,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9F,mBAAmB,EAAE,QAAQ,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9F,0BAA0B,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,0DAA0D;CACzH,CAAC,CAAC,CAAC,SAAS,2DAOF;AACV,CAAC"}
|
package/dist/app.cjs
ADDED
package/dist/app.cjs.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"app.cjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\n\nexport const pipelineCrm = defineApp({\n slug: \"pipeline_crm\",\n auth: \"keystroke\",\n});\n"],"mappings":";AAEA,MAAa,eAAA,uCAAA,CAAA,CAAA,UAAA,CAAwB;CACnC,MAAM;CACN,MAAM;AACR,CAAC"}
|
package/dist/app.d.cts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";cAEa,WAAA,6BAAW,GAAA,+BAAA,UAAA"}
|
package/dist/app.d.mts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";cAEa,WAAA,6BAAW,GAAA,+BAAA,UAAA"}
|
package/dist/app.mjs
ADDED
package/dist/app.mjs.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"app.mjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\n\nexport const pipelineCrm = defineApp({\n slug: \"pipeline_crm\",\n auth: \"keystroke\",\n});\n"],"mappings":";;AAEA,MAAa,cAAc,UAAU;CACnC,MAAM;CACN,MAAM;AACR,CAAC"}
|
package/dist/catalog.cjs
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
//#region src/catalog.ts
|
|
2
|
+
/** Generated — kept in sync with src/app.ts. */
|
|
3
|
+
const pipelineCrmCatalog = {
|
|
4
|
+
"slug": "pipeline_crm",
|
|
5
|
+
"name": "Pipeline CRM",
|
|
6
|
+
"description": "Pipeline CRM is a sales-focused customer relationship management tool designed to help teams track leads, manage deals, and streamline workflows.",
|
|
7
|
+
"category": "CRM",
|
|
8
|
+
"logo": "https://logos.composio.dev/api/pipeline_crm",
|
|
9
|
+
"authKind": "keystroke",
|
|
10
|
+
"oauthScopes": []
|
|
11
|
+
};
|
|
12
|
+
//#endregion
|
|
13
|
+
exports.pipelineCrmCatalog = pipelineCrmCatalog;
|
|
14
|
+
|
|
15
|
+
//# sourceMappingURL=catalog.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"catalog.cjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const pipelineCrmCatalog = {\n \"slug\": \"pipeline_crm\",\n \"name\": \"Pipeline CRM\",\n \"description\": \"Pipeline CRM is a sales-focused customer relationship management tool designed to help teams track leads, manage deals, and streamline workflows.\",\n \"category\": \"CRM\",\n \"logo\": \"https://logos.composio.dev/api/pipeline_crm\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": []\n} as const;\n"],"mappings":";;AACA,MAAa,qBAAqB;CAChC,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;AAClB"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
//#region src/catalog.d.ts
|
|
2
|
+
/** Generated — kept in sync with src/app.ts. */
|
|
3
|
+
declare const pipelineCrmCatalog: {
|
|
4
|
+
readonly slug: "pipeline_crm";
|
|
5
|
+
readonly name: "Pipeline CRM";
|
|
6
|
+
readonly description: "Pipeline CRM is a sales-focused customer relationship management tool designed to help teams track leads, manage deals, and streamline workflows.";
|
|
7
|
+
readonly category: "CRM";
|
|
8
|
+
readonly logo: "https://logos.composio.dev/api/pipeline_crm";
|
|
9
|
+
readonly authKind: "keystroke";
|
|
10
|
+
readonly oauthScopes: readonly [];
|
|
11
|
+
};
|
|
12
|
+
//#endregion
|
|
13
|
+
export { pipelineCrmCatalog };
|
|
14
|
+
//# sourceMappingURL=catalog.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"catalog.d.cts","names":[],"sources":["../src/catalog.ts"],"mappings":";;cACa,kBAAA;EAAA"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
//#region src/catalog.d.ts
|
|
2
|
+
/** Generated — kept in sync with src/app.ts. */
|
|
3
|
+
declare const pipelineCrmCatalog: {
|
|
4
|
+
readonly slug: "pipeline_crm";
|
|
5
|
+
readonly name: "Pipeline CRM";
|
|
6
|
+
readonly description: "Pipeline CRM is a sales-focused customer relationship management tool designed to help teams track leads, manage deals, and streamline workflows.";
|
|
7
|
+
readonly category: "CRM";
|
|
8
|
+
readonly logo: "https://logos.composio.dev/api/pipeline_crm";
|
|
9
|
+
readonly authKind: "keystroke";
|
|
10
|
+
readonly oauthScopes: readonly [];
|
|
11
|
+
};
|
|
12
|
+
//#endregion
|
|
13
|
+
export { pipelineCrmCatalog };
|
|
14
|
+
//# sourceMappingURL=catalog.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"catalog.d.mts","names":[],"sources":["../src/catalog.ts"],"mappings":";;cACa,kBAAA;EAAA"}
|
package/dist/catalog.mjs
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
//#region src/catalog.ts
|
|
2
|
+
/** Generated — kept in sync with src/app.ts. */
|
|
3
|
+
const pipelineCrmCatalog = {
|
|
4
|
+
"slug": "pipeline_crm",
|
|
5
|
+
"name": "Pipeline CRM",
|
|
6
|
+
"description": "Pipeline CRM is a sales-focused customer relationship management tool designed to help teams track leads, manage deals, and streamline workflows.",
|
|
7
|
+
"category": "CRM",
|
|
8
|
+
"logo": "https://logos.composio.dev/api/pipeline_crm",
|
|
9
|
+
"authKind": "keystroke",
|
|
10
|
+
"oauthScopes": []
|
|
11
|
+
};
|
|
12
|
+
//#endregion
|
|
13
|
+
export { pipelineCrmCatalog };
|
|
14
|
+
|
|
15
|
+
//# sourceMappingURL=catalog.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"catalog.mjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const pipelineCrmCatalog = {\n \"slug\": \"pipeline_crm\",\n \"name\": \"Pipeline CRM\",\n \"description\": \"Pipeline CRM is a sales-focused customer relationship management tool designed to help teams track leads, manage deals, and streamline workflows.\",\n \"category\": \"CRM\",\n \"logo\": \"https://logos.composio.dev/api/pipeline_crm\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": []\n} as const;\n"],"mappings":";;AACA,MAAa,qBAAqB;CAChC,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;AAClB"}
|
package/dist/execute.cjs
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
let _keystrokehq_keystroke_client = require("@keystrokehq/keystroke/client");
|
|
2
|
+
//#region src/execute.ts
|
|
3
|
+
const APP_SLUG = "pipeline_crm";
|
|
4
|
+
/** Pinned app version — updated on regeneration. */
|
|
5
|
+
const APP_VERSION = "20260615_00";
|
|
6
|
+
async function executePipelineCrmTool(tool, args) {
|
|
7
|
+
const { result } = await (0, _keystrokehq_keystroke_client.createKeystrokeClient)().tools.execute({
|
|
8
|
+
app: APP_SLUG,
|
|
9
|
+
tool,
|
|
10
|
+
arguments: args,
|
|
11
|
+
version: APP_VERSION
|
|
12
|
+
});
|
|
13
|
+
return result;
|
|
14
|
+
}
|
|
15
|
+
//#endregion
|
|
16
|
+
exports.executePipelineCrmTool = executePipelineCrmTool;
|
|
17
|
+
|
|
18
|
+
//# sourceMappingURL=execute.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"execute.cjs","names":[],"sources":["../src/execute.ts"],"sourcesContent":["import { createKeystrokeClient } from \"@keystrokehq/keystroke/client\";\n\nconst APP_SLUG = \"pipeline_crm\";\n/** Pinned app version — updated on regeneration. */\nconst APP_VERSION = \"20260615_00\";\n\nexport async function executePipelineCrmTool(\n tool: string,\n args: Record<string, unknown>,\n): Promise<unknown> {\n const { result } = await createKeystrokeClient().tools.execute({\n app: APP_SLUG,\n tool,\n arguments: args,\n version: APP_VERSION,\n });\n return result;\n}\n"],"mappings":";;AAEA,MAAM,WAAW;;AAEjB,MAAM,cAAc;AAEpB,eAAsB,uBACpB,MACA,MACkB;CAClB,MAAM,EAAE,WAAW,OAAA,GAAA,8BAAA,sBAAA,CAA4B,CAAC,CAAC,MAAM,QAAQ;EAC7D,KAAK;EACL;EACA,WAAW;EACX,SAAS;CACX,CAAC;CACD,OAAO;AACT"}
|