@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,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/list-companies.d.ts
|
|
4
|
+
declare const PipelineCrmListCompaniesInput: z.ZodTypeAny;
|
|
5
|
+
declare const PipelineCrmListCompaniesOutput: z.ZodTypeAny;
|
|
6
|
+
declare const pipelineCrmListCompanies: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { pipelineCrmListCompanies };
|
|
9
|
+
//# sourceMappingURL=list-companies.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-companies.d.cts","names":[],"sources":["../../src/actions/list-companies.ts"],"mappings":";;;cAIa,6BAAA,EAA+B,CAAA,CAAE,UAMuE;AAAA,cAmDxG,8BAAA,EAAgC,CAAA,CAAE,UAGuB;AAAA,cAEzD,wBAAA,gCAAwB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/list-companies.d.ts
|
|
4
|
+
declare const PipelineCrmListCompaniesInput: z.ZodTypeAny;
|
|
5
|
+
declare const PipelineCrmListCompaniesOutput: z.ZodTypeAny;
|
|
6
|
+
declare const pipelineCrmListCompanies: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { pipelineCrmListCompanies };
|
|
9
|
+
//# sourceMappingURL=list-companies.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-companies.d.mts","names":[],"sources":["../../src/actions/list-companies.ts"],"mappings":";;;cAIa,6BAAA,EAA+B,CAAA,CAAE,UAMuE;AAAA,cAmDxG,8BAAA,EAAgC,CAAA,CAAE,UAGuB;AAAA,cAEzD,wBAAA,gCAAwB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/list-companies.ts
|
|
4
|
+
const PipelineCrmListCompaniesInput = z.object({
|
|
5
|
+
page: z.number().int().describe("Page number to retrieve, must be ≥ 1").optional(),
|
|
6
|
+
search: z.string().describe("Search term to filter companies by relevant fields").optional(),
|
|
7
|
+
sort_by: z.string().describe("Field name to sort by (e.g., \"name\")").optional(),
|
|
8
|
+
per_page: z.number().int().describe("Number of companies per page, must be ≥ 1").optional(),
|
|
9
|
+
sort_direction: 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 = z.object({
|
|
12
|
+
id: z.number().int().describe("Unique identifier of the owner"),
|
|
13
|
+
last_name: z.string().describe("Last name of the owner"),
|
|
14
|
+
first_name: z.string().describe("First name of the owner")
|
|
15
|
+
}).describe("Owner information for a company.");
|
|
16
|
+
const PipelineCrmListCompanies_CompanyItemSchema = z.object({
|
|
17
|
+
id: z.number().int().describe("Unique identifier of the company"),
|
|
18
|
+
fax: z.string().describe("Fax number of the company").nullable().optional(),
|
|
19
|
+
web: z.string().describe("Website URL of the company").nullable().optional(),
|
|
20
|
+
city: z.string().describe("City of the company").nullable().optional(),
|
|
21
|
+
name: z.string().describe("Name of the company"),
|
|
22
|
+
tags: z.array(z.unknown()).describe("List of tags associated with this company").nullable().optional(),
|
|
23
|
+
email: z.string().describe("Email of the company").nullable().optional(),
|
|
24
|
+
owner: PipelineCrmListCompanies_OwnerSchema.nullable().optional(),
|
|
25
|
+
state: z.string().describe("State/province of the company").nullable().optional(),
|
|
26
|
+
phone1: z.string().describe("Primary phone number of the company").nullable().optional(),
|
|
27
|
+
phone2: z.string().describe("Secondary phone number of the company").nullable().optional(),
|
|
28
|
+
phone3: z.string().describe("Tertiary phone number of the company").nullable().optional(),
|
|
29
|
+
phone4: z.string().describe("Quaternary phone number of the company").nullable().optional(),
|
|
30
|
+
country: z.string().describe("Country code of the company").nullable().optional(),
|
|
31
|
+
tag_ids: z.array(z.number().int()).describe("List of tag IDs associated with this company").nullable().optional(),
|
|
32
|
+
twitter: z.string().describe("Twitter handle").nullable().optional(),
|
|
33
|
+
owner_id: z.number().int().describe("ID of the user who owns this company").nullable().optional(),
|
|
34
|
+
address_1: z.string().describe("Primary address line of the company").nullable().optional(),
|
|
35
|
+
address_2: z.string().describe("Secondary address line (suite, apt, etc.)").nullable().optional(),
|
|
36
|
+
import_id: z.string().describe("External import ID for this company").nullable().optional(),
|
|
37
|
+
is_sample: z.boolean().describe("Whether this is a sample company").nullable().optional(),
|
|
38
|
+
created_at: z.string().describe("Timestamp when the company was created"),
|
|
39
|
+
updated_at: z.string().describe("Timestamp when the company was last updated"),
|
|
40
|
+
description: z.string().describe("Description of the company").nullable().optional(),
|
|
41
|
+
is_customer: z.boolean().describe("Whether this company is marked as a customer").nullable().optional(),
|
|
42
|
+
postal_code: z.string().describe("Postal/ZIP code of the company").nullable().optional(),
|
|
43
|
+
twitter_url: z.string().describe("Twitter profile URL").nullable().optional(),
|
|
44
|
+
facebook_url: z.string().describe("Facebook profile URL").nullable().optional(),
|
|
45
|
+
custom_fields: z.record(z.string(), z.unknown()).describe("Custom fields associated with this company").nullable().optional(),
|
|
46
|
+
linked_in_url: z.string().describe("LinkedIn profile URL").nullable().optional(),
|
|
47
|
+
next_entry_id: z.number().int().describe("ID of the next scheduled entry/activity").nullable().optional(),
|
|
48
|
+
next_entry_due: z.string().describe("Due date of the next scheduled entry/activity").nullable().optional(),
|
|
49
|
+
image_thumb_url: z.string().describe("URL to company thumbnail image").nullable().optional(),
|
|
50
|
+
instant_message: z.string().describe("Instant messaging handle").nullable().optional(),
|
|
51
|
+
next_entry_name: z.string().describe("Name of the next scheduled entry/activity").nullable().optional(),
|
|
52
|
+
shared_user_ids: z.array(z.number().int()).describe("List of user IDs this company is shared with").nullable().optional(),
|
|
53
|
+
image_mobile_url: 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 = z.object({
|
|
56
|
+
page: z.number().int().describe("Current page number"),
|
|
57
|
+
per_page: z.number().int().describe("Number of entries per page"),
|
|
58
|
+
total_pages: z.number().int().describe("Total number of pages available"),
|
|
59
|
+
total_entries: z.number().int().describe("Total number of entries across all pages")
|
|
60
|
+
}).describe("Pagination metadata for list responses.");
|
|
61
|
+
const pipelineCrmListCompanies = action("PIPELINE_CRM_LIST_COMPANIES", {
|
|
62
|
+
slug: "pipeline_crm-list-companies",
|
|
63
|
+
name: "List Companies",
|
|
64
|
+
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.",
|
|
65
|
+
input: PipelineCrmListCompaniesInput,
|
|
66
|
+
output: z.object({
|
|
67
|
+
companies: z.array(PipelineCrmListCompanies_CompanyItemSchema).describe("List of companies returned"),
|
|
68
|
+
pagination: PipelineCrmListCompanies_PaginationSchema.nullable()
|
|
69
|
+
}).describe("Response model for a list of companies in Pipeline CRM.")
|
|
70
|
+
});
|
|
71
|
+
//#endregion
|
|
72
|
+
export { pipelineCrmListCompanies };
|
|
73
|
+
|
|
74
|
+
//# sourceMappingURL=list-companies.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-companies.mjs","names":[],"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,gCAA8C,EAAE,OAAO;CAClE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CACjF,Q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C,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3F,CAAC,CAAC,CAAC,SAAS,uDAAuD;AACnE,MAAM,4CAA0D,EAAE,OAAO;CACvE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qBAAqB;CACrD,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B;CAChE,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC;CACxE,eAAe,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C;AACrF,CAAC,CAAC,CAAC,SAAS,yCAAyC;AAMrD,MAAa,2BAA2B,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV0D,EAAE,OAAO;EACnE,WAAW,EAAE,MAAM,0CAA0C,CAAC,CAAC,SAAS,4BAA4B;EACpG,YAAY,0CAA0C,SAAS;CACjE,CAAC,CAAC,CAAC,SAAS,yDAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/list-leads.ts
|
|
4
|
+
const PipelineCrmListLeadsInput = 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 leads per page, must be ≥ 1").optional(),
|
|
7
|
+
created_to_date: zod.z.string().describe("Only include leads created on or before this date (YYYY-MM-DD)").optional(),
|
|
8
|
+
updated_to_date: zod.z.string().describe("Only include leads updated on or before this date (YYYY-MM-DD)").optional(),
|
|
9
|
+
created_from_date: zod.z.string().describe("Only include leads created on or after this date (YYYY-MM-DD)").optional(),
|
|
10
|
+
updated_from_date: zod.z.string().describe("Only include leads updated on or after this date (YYYY-MM-DD)").optional()
|
|
11
|
+
}).describe("Request model for retrieving a list of leads in Pipeline CRM with optional filters and pagination.");
|
|
12
|
+
const PipelineCrmListLeads_LeadItemSchema = zod.z.object({
|
|
13
|
+
id: zod.z.number().int().describe("Unique identifier of the lead"),
|
|
14
|
+
email: zod.z.string().describe("Primary email address").nullable().optional(),
|
|
15
|
+
phone: zod.z.string().describe("Primary phone number").nullable().optional(),
|
|
16
|
+
mobile: zod.z.string().describe("Mobile phone number").nullable().optional(),
|
|
17
|
+
summary: zod.z.string().describe("Summary or notes about the lead").nullable().optional(),
|
|
18
|
+
user_id: zod.z.number().int().describe("User ID assigned to this lead").nullable().optional(),
|
|
19
|
+
full_name: zod.z.string().describe("Full name of the lead").nullable().optional(),
|
|
20
|
+
last_name: zod.z.string().describe("Last name of the lead").nullable().optional(),
|
|
21
|
+
company_id: zod.z.number().int().describe("Associated company ID").nullable().optional(),
|
|
22
|
+
created_at: zod.z.string().describe("Timestamp when the lead was created"),
|
|
23
|
+
first_name: zod.z.string().describe("First name of the lead").nullable().optional(),
|
|
24
|
+
updated_at: zod.z.string().describe("Timestamp when the lead was last updated"),
|
|
25
|
+
company_name: zod.z.string().describe("Associated company name").nullable().optional(),
|
|
26
|
+
lead_source_id: zod.z.number().int().describe("Lead source ID").nullable().optional(),
|
|
27
|
+
lead_status_id: zod.z.number().int().describe("Lead status ID").nullable().optional(),
|
|
28
|
+
image_thumb_url: zod.z.string().describe("Thumbnail URL for lead image").nullable().optional()
|
|
29
|
+
}).describe("Representation of a lead in the list of leads.");
|
|
30
|
+
const PipelineCrmListLeads_PaginationSchema = zod.z.object({
|
|
31
|
+
page: zod.z.number().int().describe("Current page number"),
|
|
32
|
+
per_page: zod.z.number().int().describe("Number of entries per page"),
|
|
33
|
+
total_pages: zod.z.number().int().describe("Total number of pages available"),
|
|
34
|
+
total_entries: zod.z.number().int().describe("Total number of entries across all pages")
|
|
35
|
+
}).describe("Pagination metadata for list responses.");
|
|
36
|
+
const PipelineCrmListLeadsOutput = zod.z.object({
|
|
37
|
+
leads: zod.z.array(PipelineCrmListLeads_LeadItemSchema).describe("List of lead objects"),
|
|
38
|
+
pagination: PipelineCrmListLeads_PaginationSchema.nullable()
|
|
39
|
+
}).describe("Response model for a list of leads in Pipeline CRM.");
|
|
40
|
+
const pipelineCrmListLeads = require_action.action("PIPELINE_CRM_LIST_LEADS", {
|
|
41
|
+
slug: "pipeline_crm-list-leads",
|
|
42
|
+
name: "List Leads",
|
|
43
|
+
description: "Tool to list leads in Pipeline CRM. Use when you need to fetch multiple leads with optional filtering and pagination. For large datasets, iterate through pages using `page` and `per_page` together; a single `per_page` value does not return all leads.",
|
|
44
|
+
input: PipelineCrmListLeadsInput,
|
|
45
|
+
output: PipelineCrmListLeadsOutput
|
|
46
|
+
});
|
|
47
|
+
//#endregion
|
|
48
|
+
exports.pipelineCrmListLeads = pipelineCrmListLeads;
|
|
49
|
+
|
|
50
|
+
//# sourceMappingURL=list-leads.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-leads.cjs","names":["z","action"],"sources":["../../src/actions/list-leads.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PipelineCrmListLeadsInput: 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 leads per page, must be ≥ 1\").optional(),\n created_to_date: z.string().describe(\"Only include leads created on or before this date (YYYY-MM-DD)\").optional(),\n updated_to_date: z.string().describe(\"Only include leads updated on or before this date (YYYY-MM-DD)\").optional(),\n created_from_date: z.string().describe(\"Only include leads created on or after this date (YYYY-MM-DD)\").optional(),\n updated_from_date: z.string().describe(\"Only include leads updated on or after this date (YYYY-MM-DD)\").optional(),\n}).describe(\"Request model for retrieving a list of leads in Pipeline CRM with optional filters and pagination.\");\nconst PipelineCrmListLeads_LeadItemSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier of the lead\"),\n email: z.string().describe(\"Primary email address\").nullable().optional(),\n phone: z.string().describe(\"Primary phone number\").nullable().optional(),\n mobile: z.string().describe(\"Mobile phone number\").nullable().optional(),\n summary: z.string().describe(\"Summary or notes about the lead\").nullable().optional(),\n user_id: z.number().int().describe(\"User ID assigned to this lead\").nullable().optional(),\n full_name: z.string().describe(\"Full name of the lead\").nullable().optional(),\n last_name: z.string().describe(\"Last name of the lead\").nullable().optional(),\n company_id: z.number().int().describe(\"Associated company ID\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the lead was created\"),\n first_name: z.string().describe(\"First name of the lead\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the lead was last updated\"),\n company_name: z.string().describe(\"Associated company name\").nullable().optional(),\n lead_source_id: z.number().int().describe(\"Lead source ID\").nullable().optional(),\n lead_status_id: z.number().int().describe(\"Lead status ID\").nullable().optional(),\n image_thumb_url: z.string().describe(\"Thumbnail URL for lead image\").nullable().optional(),\n}).describe(\"Representation of a lead in the list of leads.\");\nconst PipelineCrmListLeads_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 PipelineCrmListLeadsOutput: z.ZodTypeAny = z.object({\n leads: z.array(PipelineCrmListLeads_LeadItemSchema).describe(\"List of lead objects\"),\n pagination: PipelineCrmListLeads_PaginationSchema.nullable(),\n}).describe(\"Response model for a list of leads in Pipeline CRM.\");\n\nexport const pipelineCrmListLeads = action(\"PIPELINE_CRM_LIST_LEADS\", {\n slug: \"pipeline_crm-list-leads\",\n name: \"List Leads\",\n description: \"Tool to list leads in Pipeline CRM. Use when you need to fetch multiple leads with optional filtering and pagination. For large datasets, iterate through pages using `page` and `per_page` together; a single `per_page` value does not return all leads.\",\n input: PipelineCrmListLeadsInput,\n output: PipelineCrmListLeadsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA0CA,IAAAA,EAAE,OAAO;CAC9D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CACjF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CACtF,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;CAChH,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;CAChH,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;CACjH,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;AACnH,CAAC,CAAC,CAAC,SAAS,oGAAoG;AAChH,MAAM,sCAAoDA,IAAAA,EAAE,OAAO;CACjE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B;CAC7D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,SAASA,IAAAA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AC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B;CAChE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC;CACxE,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C;AACrF,CAAC,CAAC,CAAC,SAAS,yCAAyC;AACrD,MAAa,6BAA2CA,IAAAA,EAAE,OAAO;CAC/D,OAAOA,IAAAA,EAAE,MAAM,mCAAmC,CAAC,CAAC,SAAS,sBAAsB;CACnF,YAAY,sCAAsC,SAAS;AAC7D,CAAC,CAAC,CAAC,SAAS,qDAAqD;AAEjE,MAAa,uBAAuBC,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-leads.d.ts
|
|
4
|
+
declare const PipelineCrmListLeadsInput: z.ZodTypeAny;
|
|
5
|
+
declare const PipelineCrmListLeadsOutput: z.ZodTypeAny;
|
|
6
|
+
declare const pipelineCrmListLeads: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { pipelineCrmListLeads };
|
|
9
|
+
//# sourceMappingURL=list-leads.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-leads.d.cts","names":[],"sources":["../../src/actions/list-leads.ts"],"mappings":";;;cAIa,yBAAA,EAA2B,CAAA,CAAE,UAOuE;AAAA,cAyBpG,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-leads.d.ts
|
|
4
|
+
declare const PipelineCrmListLeadsInput: z.ZodTypeAny;
|
|
5
|
+
declare const PipelineCrmListLeadsOutput: z.ZodTypeAny;
|
|
6
|
+
declare const pipelineCrmListLeads: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { pipelineCrmListLeads };
|
|
9
|
+
//# sourceMappingURL=list-leads.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-leads.d.mts","names":[],"sources":["../../src/actions/list-leads.ts"],"mappings":";;;cAIa,yBAAA,EAA2B,CAAA,CAAE,UAOuE;AAAA,cAyBpG,0BAAA,EAA4B,CAAA,CAAE,UAGuB;AAAA,cAErD,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/list-leads.ts
|
|
4
|
+
const PipelineCrmListLeadsInput = 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 leads per page, must be ≥ 1").optional(),
|
|
7
|
+
created_to_date: z.string().describe("Only include leads created on or before this date (YYYY-MM-DD)").optional(),
|
|
8
|
+
updated_to_date: z.string().describe("Only include leads updated on or before this date (YYYY-MM-DD)").optional(),
|
|
9
|
+
created_from_date: z.string().describe("Only include leads created on or after this date (YYYY-MM-DD)").optional(),
|
|
10
|
+
updated_from_date: z.string().describe("Only include leads updated on or after this date (YYYY-MM-DD)").optional()
|
|
11
|
+
}).describe("Request model for retrieving a list of leads in Pipeline CRM with optional filters and pagination.");
|
|
12
|
+
const PipelineCrmListLeads_LeadItemSchema = z.object({
|
|
13
|
+
id: z.number().int().describe("Unique identifier of the lead"),
|
|
14
|
+
email: z.string().describe("Primary email address").nullable().optional(),
|
|
15
|
+
phone: z.string().describe("Primary phone number").nullable().optional(),
|
|
16
|
+
mobile: z.string().describe("Mobile phone number").nullable().optional(),
|
|
17
|
+
summary: z.string().describe("Summary or notes about the lead").nullable().optional(),
|
|
18
|
+
user_id: z.number().int().describe("User ID assigned to this lead").nullable().optional(),
|
|
19
|
+
full_name: z.string().describe("Full name of the lead").nullable().optional(),
|
|
20
|
+
last_name: z.string().describe("Last name of the lead").nullable().optional(),
|
|
21
|
+
company_id: z.number().int().describe("Associated company ID").nullable().optional(),
|
|
22
|
+
created_at: z.string().describe("Timestamp when the lead was created"),
|
|
23
|
+
first_name: z.string().describe("First name of the lead").nullable().optional(),
|
|
24
|
+
updated_at: z.string().describe("Timestamp when the lead was last updated"),
|
|
25
|
+
company_name: z.string().describe("Associated company name").nullable().optional(),
|
|
26
|
+
lead_source_id: z.number().int().describe("Lead source ID").nullable().optional(),
|
|
27
|
+
lead_status_id: z.number().int().describe("Lead status ID").nullable().optional(),
|
|
28
|
+
image_thumb_url: z.string().describe("Thumbnail URL for lead image").nullable().optional()
|
|
29
|
+
}).describe("Representation of a lead in the list of leads.");
|
|
30
|
+
const PipelineCrmListLeads_PaginationSchema = z.object({
|
|
31
|
+
page: z.number().int().describe("Current page number"),
|
|
32
|
+
per_page: z.number().int().describe("Number of entries per page"),
|
|
33
|
+
total_pages: z.number().int().describe("Total number of pages available"),
|
|
34
|
+
total_entries: z.number().int().describe("Total number of entries across all pages")
|
|
35
|
+
}).describe("Pagination metadata for list responses.");
|
|
36
|
+
const pipelineCrmListLeads = action("PIPELINE_CRM_LIST_LEADS", {
|
|
37
|
+
slug: "pipeline_crm-list-leads",
|
|
38
|
+
name: "List Leads",
|
|
39
|
+
description: "Tool to list leads in Pipeline CRM. Use when you need to fetch multiple leads with optional filtering and pagination. For large datasets, iterate through pages using `page` and `per_page` together; a single `per_page` value does not return all leads.",
|
|
40
|
+
input: PipelineCrmListLeadsInput,
|
|
41
|
+
output: z.object({
|
|
42
|
+
leads: z.array(PipelineCrmListLeads_LeadItemSchema).describe("List of lead objects"),
|
|
43
|
+
pagination: PipelineCrmListLeads_PaginationSchema.nullable()
|
|
44
|
+
}).describe("Response model for a list of leads in Pipeline CRM.")
|
|
45
|
+
});
|
|
46
|
+
//#endregion
|
|
47
|
+
export { pipelineCrmListLeads };
|
|
48
|
+
|
|
49
|
+
//# sourceMappingURL=list-leads.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-leads.mjs","names":[],"sources":["../../src/actions/list-leads.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PipelineCrmListLeadsInput: 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 leads per page, must be ≥ 1\").optional(),\n created_to_date: z.string().describe(\"Only include leads created on or before this date (YYYY-MM-DD)\").optional(),\n updated_to_date: z.string().describe(\"Only include leads updated on or before this date (YYYY-MM-DD)\").optional(),\n created_from_date: z.string().describe(\"Only include leads created on or after this date (YYYY-MM-DD)\").optional(),\n updated_from_date: z.string().describe(\"Only include leads updated on or after this date (YYYY-MM-DD)\").optional(),\n}).describe(\"Request model for retrieving a list of leads in Pipeline CRM with optional filters and pagination.\");\nconst PipelineCrmListLeads_LeadItemSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier of the lead\"),\n email: z.string().describe(\"Primary email address\").nullable().optional(),\n phone: z.string().describe(\"Primary phone number\").nullable().optional(),\n mobile: z.string().describe(\"Mobile phone number\").nullable().optional(),\n summary: z.string().describe(\"Summary or notes about the lead\").nullable().optional(),\n user_id: z.number().int().describe(\"User ID assigned to this lead\").nullable().optional(),\n full_name: z.string().describe(\"Full name of the lead\").nullable().optional(),\n last_name: z.string().describe(\"Last name of the lead\").nullable().optional(),\n company_id: z.number().int().describe(\"Associated company ID\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the lead was created\"),\n first_name: z.string().describe(\"First name of the lead\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the lead was last updated\"),\n company_name: z.string().describe(\"Associated company name\").nullable().optional(),\n lead_source_id: z.number().int().describe(\"Lead source ID\").nullable().optional(),\n lead_status_id: z.number().int().describe(\"Lead status ID\").nullable().optional(),\n image_thumb_url: z.string().describe(\"Thumbnail URL for lead image\").nullable().optional(),\n}).describe(\"Representation of a lead in the list of leads.\");\nconst PipelineCrmListLeads_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 PipelineCrmListLeadsOutput: z.ZodTypeAny = z.object({\n leads: z.array(PipelineCrmListLeads_LeadItemSchema).describe(\"List of lead objects\"),\n pagination: PipelineCrmListLeads_PaginationSchema.nullable(),\n}).describe(\"Response model for a list of leads in Pipeline CRM.\");\n\nexport const pipelineCrmListLeads = action(\"PIPELINE_CRM_LIST_LEADS\", {\n slug: \"pipeline_crm-list-leads\",\n name: \"List Leads\",\n description: \"Tool to list leads in Pipeline CRM. Use when you need to fetch multiple leads with optional filtering and pagination. For large datasets, iterate through pages using `page` and `per_page` together; a single `per_page` value does not return all leads.\",\n input: PipelineCrmListLeadsInput,\n output: PipelineCrmListLeadsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA0C,EAAE,OAAO;CAC9D,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CACjF,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAA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|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/list-stages.ts
|
|
4
|
+
const PipelineCrmListStagesInput = zod.z.object({
|
|
5
|
+
page: zod.z.number().int().describe("Page number for pagination (must be >=1)").optional(),
|
|
6
|
+
per_page: zod.z.number().int().describe("Number of items per page for pagination (1-200)").optional()
|
|
7
|
+
}).describe("Request model for listing deal stages in Pipeline CRM.");
|
|
8
|
+
const PipelineCrmListStages_StageSchema = zod.z.object({
|
|
9
|
+
id: zod.z.number().int().describe("Unique ID of the deal stage"),
|
|
10
|
+
name: zod.z.string().describe("Name of the stage, e.g., 'Proposal'"),
|
|
11
|
+
percent: zod.z.number().int().describe("Probability percentage for the stage (0-100)"),
|
|
12
|
+
created_at: zod.z.string().describe("Timestamp when the stage was created in YYYY-MM-DD HH:MM:SS format"),
|
|
13
|
+
updated_at: zod.z.string().describe("Timestamp when the stage was last updated in YYYY-MM-DD HH:MM:SS format"),
|
|
14
|
+
deal_pipeline_id: zod.z.number().int().describe("Identifier of the pipeline this stage belongs to")
|
|
15
|
+
}).describe("Model representing a deal stage.");
|
|
16
|
+
const PipelineCrmListStages_PaginationSchema = zod.z.object({
|
|
17
|
+
page: zod.z.number().int().describe("Current page number"),
|
|
18
|
+
pages: zod.z.number().int().describe("Total number of pages available"),
|
|
19
|
+
total: zod.z.number().int().describe("Total number of items available"),
|
|
20
|
+
per_page: zod.z.number().int().describe("Number of items per page")
|
|
21
|
+
}).describe("Pagination details for list responses.");
|
|
22
|
+
const PipelineCrmListStagesOutput = zod.z.object({
|
|
23
|
+
entries: zod.z.array(PipelineCrmListStages_StageSchema).describe("Array of deal stage objects"),
|
|
24
|
+
pagination: PipelineCrmListStages_PaginationSchema.nullable()
|
|
25
|
+
}).describe("Response model for listing deal stages in Pipeline CRM.");
|
|
26
|
+
const pipelineCrmListStages = require_action.action("PIPELINE_CRM_LIST_STAGES", {
|
|
27
|
+
slug: "pipeline_crm-list-stages",
|
|
28
|
+
name: "List Deal Stages",
|
|
29
|
+
description: "Tool to list deal stages. Use when you need to enumerate all stages for deals in Pipeline CRM.",
|
|
30
|
+
input: PipelineCrmListStagesInput,
|
|
31
|
+
output: PipelineCrmListStagesOutput
|
|
32
|
+
});
|
|
33
|
+
//#endregion
|
|
34
|
+
exports.pipelineCrmListStages = pipelineCrmListStages;
|
|
35
|
+
|
|
36
|
+
//# sourceMappingURL=list-stages.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-stages.cjs","names":["z","action"],"sources":["../../src/actions/list-stages.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PipelineCrmListStagesInput: z.ZodTypeAny = z.object({\n page: z.number().int().describe(\"Page number for pagination (must be >=1)\").optional(),\n per_page: z.number().int().describe(\"Number of items per page for pagination (1-200)\").optional(),\n}).describe(\"Request model for listing deal stages in Pipeline CRM.\");\nconst PipelineCrmListStages_StageSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique ID of the deal 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 YYYY-MM-DD HH:MM:SS format\"),\n updated_at: z.string().describe(\"Timestamp when the stage was last updated in YYYY-MM-DD HH:MM:SS format\"),\n deal_pipeline_id: z.number().int().describe(\"Identifier of the pipeline this stage belongs to\"),\n}).describe(\"Model representing a deal stage.\");\nconst PipelineCrmListStages_PaginationSchema: z.ZodTypeAny = z.object({\n page: z.number().int().describe(\"Current page number\"),\n pages: z.number().int().describe(\"Total number of pages available\"),\n total: z.number().int().describe(\"Total number of items available\"),\n per_page: z.number().int().describe(\"Number of items per page\"),\n}).describe(\"Pagination details for list responses.\");\nexport const PipelineCrmListStagesOutput: z.ZodTypeAny = z.object({\n entries: z.array(PipelineCrmListStages_StageSchema).describe(\"Array of deal stage objects\"),\n pagination: PipelineCrmListStages_PaginationSchema.nullable(),\n}).describe(\"Response model for listing deal stages in Pipeline CRM.\");\n\nexport const pipelineCrmListStages = action(\"PIPELINE_CRM_LIST_STAGES\", {\n slug: \"pipeline_crm-list-stages\",\n name: \"List Deal Stages\",\n description: \"Tool to list deal stages. Use when you need to enumerate all stages for deals in Pipeline CRM.\",\n input: PipelineCrmListStagesInput,\n output: PipelineCrmListStagesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA2CA,IAAAA,EAAE,OAAO;CAC/D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CACrF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;AAClG,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACpE,MAAM,oCAAkDA,IAAAA,EAAE,OAAO;CAC/D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B;CAC3D,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,oEAAoE;CACpG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE;CACzG,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD;AAChG,CAAC,CAAC,CAAC,SAAS,kCAAkC;AAC9C,MAAM,yCAAuDA,IAAAA,EAAE,OAAO;CACpE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qBAAqB;CACrD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC;CAClE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC;CAClE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B;AAChE,CAAC,CAAC,CAAC,SAAS,wCAAwC;AACpD,MAAa,8BAA4CA,IAAAA,EAAE,OAAO;CAChE,SAASA,IAAAA,EAAE,MAAM,iCAAiC,CAAC,CAAC,SAAS,6BAA6B;CAC1F,YAAY,uCAAuC,SAAS;AAC9D,CAAC,CAAC,CAAC,SAAS,yDAAyD;AAErE,MAAa,wBAAwBC,eAAAA,OAAO,4BAA4B;CACtE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/list-stages.d.ts
|
|
4
|
+
declare const PipelineCrmListStagesInput: z.ZodTypeAny;
|
|
5
|
+
declare const PipelineCrmListStagesOutput: z.ZodTypeAny;
|
|
6
|
+
declare const pipelineCrmListStages: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { pipelineCrmListStages };
|
|
9
|
+
//# sourceMappingURL=list-stages.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-stages.d.cts","names":[],"sources":["../../src/actions/list-stages.ts"],"mappings":";;;cAIa,0BAAA,EAA4B,CAAA,CAAE,UAG0B;AAAA,cAexD,2BAAA,EAA6B,CAAA,CAAE,UAG0B;AAAA,cAEzD,qBAAA,gCAAqB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/list-stages.d.ts
|
|
4
|
+
declare const PipelineCrmListStagesInput: z.ZodTypeAny;
|
|
5
|
+
declare const PipelineCrmListStagesOutput: z.ZodTypeAny;
|
|
6
|
+
declare const pipelineCrmListStages: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { pipelineCrmListStages };
|
|
9
|
+
//# sourceMappingURL=list-stages.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-stages.d.mts","names":[],"sources":["../../src/actions/list-stages.ts"],"mappings":";;;cAIa,0BAAA,EAA4B,CAAA,CAAE,UAG0B;AAAA,cAexD,2BAAA,EAA6B,CAAA,CAAE,UAG0B;AAAA,cAEzD,qBAAA,gCAAqB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/list-stages.ts
|
|
4
|
+
const PipelineCrmListStagesInput = z.object({
|
|
5
|
+
page: z.number().int().describe("Page number for pagination (must be >=1)").optional(),
|
|
6
|
+
per_page: z.number().int().describe("Number of items per page for pagination (1-200)").optional()
|
|
7
|
+
}).describe("Request model for listing deal stages in Pipeline CRM.");
|
|
8
|
+
const PipelineCrmListStages_StageSchema = z.object({
|
|
9
|
+
id: z.number().int().describe("Unique ID of the deal 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 YYYY-MM-DD HH:MM:SS format"),
|
|
13
|
+
updated_at: z.string().describe("Timestamp when the stage was last updated in YYYY-MM-DD HH:MM:SS format"),
|
|
14
|
+
deal_pipeline_id: z.number().int().describe("Identifier of the pipeline this stage belongs to")
|
|
15
|
+
}).describe("Model representing a deal stage.");
|
|
16
|
+
const PipelineCrmListStages_PaginationSchema = z.object({
|
|
17
|
+
page: z.number().int().describe("Current page number"),
|
|
18
|
+
pages: z.number().int().describe("Total number of pages available"),
|
|
19
|
+
total: z.number().int().describe("Total number of items available"),
|
|
20
|
+
per_page: z.number().int().describe("Number of items per page")
|
|
21
|
+
}).describe("Pagination details for list responses.");
|
|
22
|
+
const pipelineCrmListStages = action("PIPELINE_CRM_LIST_STAGES", {
|
|
23
|
+
slug: "pipeline_crm-list-stages",
|
|
24
|
+
name: "List Deal Stages",
|
|
25
|
+
description: "Tool to list deal stages. Use when you need to enumerate all stages for deals in Pipeline CRM.",
|
|
26
|
+
input: PipelineCrmListStagesInput,
|
|
27
|
+
output: z.object({
|
|
28
|
+
entries: z.array(PipelineCrmListStages_StageSchema).describe("Array of deal stage objects"),
|
|
29
|
+
pagination: PipelineCrmListStages_PaginationSchema.nullable()
|
|
30
|
+
}).describe("Response model for listing deal stages in Pipeline CRM.")
|
|
31
|
+
});
|
|
32
|
+
//#endregion
|
|
33
|
+
export { pipelineCrmListStages };
|
|
34
|
+
|
|
35
|
+
//# sourceMappingURL=list-stages.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-stages.mjs","names":[],"sources":["../../src/actions/list-stages.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PipelineCrmListStagesInput: z.ZodTypeAny = z.object({\n page: z.number().int().describe(\"Page number for pagination (must be >=1)\").optional(),\n per_page: z.number().int().describe(\"Number of items per page for pagination (1-200)\").optional(),\n}).describe(\"Request model for listing deal stages in Pipeline CRM.\");\nconst PipelineCrmListStages_StageSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique ID of the deal 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 YYYY-MM-DD HH:MM:SS format\"),\n updated_at: z.string().describe(\"Timestamp when the stage was last updated in YYYY-MM-DD HH:MM:SS format\"),\n deal_pipeline_id: z.number().int().describe(\"Identifier of the pipeline this stage belongs to\"),\n}).describe(\"Model representing a deal stage.\");\nconst PipelineCrmListStages_PaginationSchema: z.ZodTypeAny = z.object({\n page: z.number().int().describe(\"Current page number\"),\n pages: z.number().int().describe(\"Total number of pages available\"),\n total: z.number().int().describe(\"Total number of items available\"),\n per_page: z.number().int().describe(\"Number of items per page\"),\n}).describe(\"Pagination details for list responses.\");\nexport const PipelineCrmListStagesOutput: z.ZodTypeAny = z.object({\n entries: z.array(PipelineCrmListStages_StageSchema).describe(\"Array of deal stage objects\"),\n pagination: PipelineCrmListStages_PaginationSchema.nullable(),\n}).describe(\"Response model for listing deal stages in Pipeline CRM.\");\n\nexport const pipelineCrmListStages = action(\"PIPELINE_CRM_LIST_STAGES\", {\n slug: \"pipeline_crm-list-stages\",\n name: \"List Deal Stages\",\n description: \"Tool to list deal stages. Use when you need to enumerate all stages for deals in Pipeline CRM.\",\n input: PipelineCrmListStagesInput,\n output: PipelineCrmListStagesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA2C,EAAE,OAAO;CAC/D,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CACrF,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;AAClG,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACpE,MAAM,oCAAkD,EAAE,OAAO;CAC/D,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B;CAC3D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;CAC/D,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C;CACjF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE;CACpG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE;CACzG,kBAAkB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD;AAChG,CAAC,CAAC,CAAC,SAAS,kCAAkC;AAC9C,MAAM,yCAAuD,EAAE,OAAO;CACpE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qBAAqB;CACrD,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC;CAClE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC;CAClE,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B;AAChE,CAAC,CAAC,CAAC,SAAS,wCAAwC;AAMpD,MAAa,wBAAwB,OAAO,4BAA4B;CACtE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVuD,EAAE,OAAO;EAChE,SAAS,EAAE,MAAM,iCAAiC,CAAC,CAAC,SAAS,6BAA6B;EAC1F,YAAY,uCAAuC,SAAS;CAC9D,CAAC,CAAC,CAAC,SAAS,yDAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/list-tasks.ts
|
|
4
|
+
const PipelineCrmListTasksInput = zod.z.object({
|
|
5
|
+
page: zod.z.number().int().default(1).describe("Page number to fetch (default 1).").optional(),
|
|
6
|
+
deal_id: zod.z.number().int().describe("Filter tasks by deal ID.").optional(),
|
|
7
|
+
to_date: zod.z.string().describe("Filter tasks due on or before this date (YYYY-MM-DD).").optional(),
|
|
8
|
+
per_page: zod.z.number().int().default(200).describe("Number of items per page (max 200, default 200).").optional(),
|
|
9
|
+
from_date: zod.z.string().describe("Filter tasks due on or after this date (YYYY-MM-DD).").optional(),
|
|
10
|
+
person_id: zod.z.number().int().describe("Filter tasks by person ID.").optional(),
|
|
11
|
+
company_id: zod.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 = zod.z.object({
|
|
14
|
+
id: zod.z.number().int().describe("ID of the entry owner"),
|
|
15
|
+
last_name: zod.z.string().describe("Last name of the entry owner").nullable().optional(),
|
|
16
|
+
first_name: zod.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 = zod.z.object({
|
|
19
|
+
id: zod.z.number().int().describe("ID of the calendar entry category"),
|
|
20
|
+
name: zod.z.string().describe("Name of the calendar entry category")
|
|
21
|
+
}).describe("Category information for the calendar entry.");
|
|
22
|
+
const PipelineCrmListTasks_CalendarEntryPrioritySchema = zod.z.object({ position: zod.z.number().int().describe("Position/order of the priority") });
|
|
23
|
+
const PipelineCrmListTasks_TaskSchema = zod.z.object({
|
|
24
|
+
id: zod.z.number().int().describe("Unique identifier of the calendar entry"),
|
|
25
|
+
name: zod.z.string().describe("Title or name of the calendar entry"),
|
|
26
|
+
type: zod.z.enum(["CalendarEvent", "CalendarTask"]).describe("Type of entry; 'CalendarTask' for tasks"),
|
|
27
|
+
owner: PipelineCrmListTasks_CalendarEntryOwnerSchema.nullable(),
|
|
28
|
+
active: zod.z.boolean().describe("Whether the calendar entry is active").nullable().optional(),
|
|
29
|
+
all_day: zod.z.boolean().describe("Whether the entry is all-day (tasks have no time)"),
|
|
30
|
+
category: PipelineCrmListTasks_CalendarEntryCategorySchema.nullable().optional(),
|
|
31
|
+
complete: zod.z.boolean().describe("Whether the task is marked complete").nullable().optional(),
|
|
32
|
+
due_date: zod.z.string().describe("Due date for tasks in ISO 8601 format").nullable().optional(),
|
|
33
|
+
end_time: zod.z.string().describe("End time for events in ISO 8601 format").nullable().optional(),
|
|
34
|
+
owner_id: zod.z.number().int().describe("User ID who owns the entry"),
|
|
35
|
+
company_id: zod.z.number().int().describe("ID of the associated company").nullable().optional(),
|
|
36
|
+
created_at: zod.z.string().describe("Timestamp when the entry was created"),
|
|
37
|
+
start_time: zod.z.string().describe("Start time for events in ISO 8601 format").nullable().optional(),
|
|
38
|
+
updated_at: zod.z.string().describe("Timestamp when the entry was last updated"),
|
|
39
|
+
category_id: zod.z.number().int().describe("Category ID of the calendar entry").nullable().optional(),
|
|
40
|
+
description: zod.z.string().describe("Description or notes for the calendar entry").nullable().optional(),
|
|
41
|
+
completed_at: zod.z.string().describe("Timestamp when the task was completed").nullable().optional(),
|
|
42
|
+
calendar_entry_priority: PipelineCrmListTasks_CalendarEntryPrioritySchema.nullable().optional(),
|
|
43
|
+
part_of_recurring_series: zod.z.boolean().describe("Whether this entry is part of a recurring series").nullable().optional(),
|
|
44
|
+
calendar_entry_priority_id: zod.z.number().int().describe("Priority ID of the calendar entry").nullable().optional()
|
|
45
|
+
}).describe("Model representing a calendar task entry.");
|
|
46
|
+
const PipelineCrmListTasks_PaginationSchema = zod.z.object({
|
|
47
|
+
page: zod.z.number().int().describe("Current page number"),
|
|
48
|
+
pages: zod.z.number().int().describe("Total number of pages"),
|
|
49
|
+
total: zod.z.number().int().describe("Total number of items available"),
|
|
50
|
+
page_var: zod.z.string().describe("Query parameter name for page number"),
|
|
51
|
+
per_page: zod.z.number().int().describe("Number of items per page")
|
|
52
|
+
}).describe("Pagination details for list responses.");
|
|
53
|
+
const PipelineCrmListTasksOutput = zod.z.object({
|
|
54
|
+
entries: zod.z.array(PipelineCrmListTasks_TaskSchema).describe("List of calendar task entries"),
|
|
55
|
+
pagination: PipelineCrmListTasks_PaginationSchema.nullable()
|
|
56
|
+
}).describe("Response model for listing calendar tasks in Pipeline CRM.");
|
|
57
|
+
const pipelineCrmListTasks = require_action.action("PIPELINE_CRM_LIST_TASKS", {
|
|
58
|
+
slug: "pipeline_crm-list-tasks",
|
|
59
|
+
name: "List calendar tasks",
|
|
60
|
+
description: "Tool to list calendar tasks. Use when retrieving tasks for a deal, company, or person with optional date filters and pagination.",
|
|
61
|
+
input: PipelineCrmListTasksInput,
|
|
62
|
+
output: PipelineCrmListTasksOutput
|
|
63
|
+
});
|
|
64
|
+
//#endregion
|
|
65
|
+
exports.pipelineCrmListTasks = pipelineCrmListTasks;
|
|
66
|
+
|
|
67
|
+
//# sourceMappingURL=list-tasks.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-tasks.cjs","names":["z","action"],"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,4BAA0CA,IAAAA,EAAE,OAAO;CAC9D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACzF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CACxE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CAC/F,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,GAAG,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CAC9G,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CAChG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CAC5E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B,CAA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AmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjH,CAAC,CAAC,CAAC,SAAS,2CAA2C;AACvD,MAAM,wCAAsDA,IAAAA,EAAE,OAAO;CACnE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qBAAqB;CACrD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uBAAuB;CACxD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC;CAClE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;CACpE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B;AAChE,CAAC,CAAC,CAAC,SAAS,wCAAwC;AACpD,MAAa,6BAA2CA,IAAAA,EAAE,OAAO;CAC/D,SAASA,IAAAA,EAAE,MAAM,+BAA+B,CAAC,CAAC,SAAS,+BAA+B;CAC1F,YAAY,sCAAsC,SAAS;AAC7D,CAAC,CAAC,CAAC,SAAS,4DAA4D;AAExE,MAAa,uBAAuBC,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-tasks.d.ts
|
|
4
|
+
declare const PipelineCrmListTasksInput: z.ZodTypeAny;
|
|
5
|
+
declare const PipelineCrmListTasksOutput: z.ZodTypeAny;
|
|
6
|
+
declare const pipelineCrmListTasks: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { pipelineCrmListTasks };
|
|
9
|
+
//# sourceMappingURL=list-tasks.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-tasks.d.cts","names":[],"sources":["../../src/actions/list-tasks.ts"],"mappings":";;;cAIa,yBAAA,EAA2B,CAAA,CAAE,UAQ8B;AAAA,cA2C3D,0BAAA,EAA4B,CAAA,CAAE,UAG8B;AAAA,cAE5D,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/list-tasks.d.ts
|
|
4
|
+
declare const PipelineCrmListTasksInput: z.ZodTypeAny;
|
|
5
|
+
declare const PipelineCrmListTasksOutput: z.ZodTypeAny;
|
|
6
|
+
declare const pipelineCrmListTasks: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { pipelineCrmListTasks };
|
|
9
|
+
//# sourceMappingURL=list-tasks.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-tasks.d.mts","names":[],"sources":["../../src/actions/list-tasks.ts"],"mappings":";;;cAIa,yBAAA,EAA2B,CAAA,CAAE,UAQ8B;AAAA,cA2C3D,0BAAA,EAA4B,CAAA,CAAE,UAG8B;AAAA,cAE5D,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|