@keystrokehq/folk 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 +60 -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 +59 -0
- package/dist/actions/create-company.mjs.map +1 -0
- package/dist/actions/create-note.cjs +46 -0
- package/dist/actions/create-note.cjs.map +1 -0
- package/dist/actions/create-note.d.cts +9 -0
- package/dist/actions/create-note.d.cts.map +1 -0
- package/dist/actions/create-note.d.mts +9 -0
- package/dist/actions/create-note.d.mts.map +1 -0
- package/dist/actions/create-note.mjs +45 -0
- package/dist/actions/create-note.mjs.map +1 -0
- package/dist/actions/create-person.cjs +72 -0
- package/dist/actions/create-person.cjs.map +1 -0
- package/dist/actions/create-person.d.cts +9 -0
- package/dist/actions/create-person.d.cts.map +1 -0
- package/dist/actions/create-person.d.mts +9 -0
- package/dist/actions/create-person.d.mts.map +1 -0
- package/dist/actions/create-person.mjs +71 -0
- package/dist/actions/create-person.mjs.map +1 -0
- package/dist/actions/delete-company.cjs +20 -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 +19 -0
- package/dist/actions/delete-company.mjs.map +1 -0
- package/dist/actions/delete-note.cjs +20 -0
- package/dist/actions/delete-note.cjs.map +1 -0
- package/dist/actions/delete-note.d.cts +9 -0
- package/dist/actions/delete-note.d.cts.map +1 -0
- package/dist/actions/delete-note.d.mts +9 -0
- package/dist/actions/delete-note.d.mts.map +1 -0
- package/dist/actions/delete-note.mjs +19 -0
- package/dist/actions/delete-note.mjs.map +1 -0
- package/dist/actions/delete-person.cjs +20 -0
- package/dist/actions/delete-person.cjs.map +1 -0
- package/dist/actions/delete-person.d.cts +9 -0
- package/dist/actions/delete-person.d.cts.map +1 -0
- package/dist/actions/delete-person.d.mts +9 -0
- package/dist/actions/delete-person.d.mts.map +1 -0
- package/dist/actions/delete-person.mjs +19 -0
- package/dist/actions/delete-person.mjs.map +1 -0
- package/dist/actions/delete-reminder.cjs +20 -0
- package/dist/actions/delete-reminder.cjs.map +1 -0
- package/dist/actions/delete-reminder.d.cts +9 -0
- package/dist/actions/delete-reminder.d.cts.map +1 -0
- package/dist/actions/delete-reminder.d.mts +9 -0
- package/dist/actions/delete-reminder.d.mts.map +1 -0
- package/dist/actions/delete-reminder.mjs +19 -0
- package/dist/actions/delete-reminder.mjs.map +1 -0
- package/dist/actions/get-company.cjs +31 -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 +30 -0
- package/dist/actions/get-company.mjs.map +1 -0
- package/dist/actions/get-current-workspace-user.cjs +21 -0
- package/dist/actions/get-current-workspace-user.cjs.map +1 -0
- package/dist/actions/get-current-workspace-user.d.cts +9 -0
- package/dist/actions/get-current-workspace-user.d.cts.map +1 -0
- package/dist/actions/get-current-workspace-user.d.mts +9 -0
- package/dist/actions/get-current-workspace-user.d.mts.map +1 -0
- package/dist/actions/get-current-workspace-user.mjs +20 -0
- package/dist/actions/get-current-workspace-user.mjs.map +1 -0
- package/dist/actions/get-note.cjs +71 -0
- package/dist/actions/get-note.cjs.map +1 -0
- package/dist/actions/get-note.d.cts +9 -0
- package/dist/actions/get-note.d.cts.map +1 -0
- package/dist/actions/get-note.d.mts +9 -0
- package/dist/actions/get-note.d.mts.map +1 -0
- package/dist/actions/get-note.mjs +70 -0
- package/dist/actions/get-note.mjs.map +1 -0
- package/dist/actions/get-person.cjs +48 -0
- package/dist/actions/get-person.cjs.map +1 -0
- package/dist/actions/get-person.d.cts +9 -0
- package/dist/actions/get-person.d.cts.map +1 -0
- package/dist/actions/get-person.d.mts +9 -0
- package/dist/actions/get-person.d.mts.map +1 -0
- package/dist/actions/get-person.mjs +47 -0
- package/dist/actions/get-person.mjs.map +1 -0
- package/dist/actions/get-user.cjs +24 -0
- package/dist/actions/get-user.cjs.map +1 -0
- package/dist/actions/get-user.d.cts +9 -0
- package/dist/actions/get-user.d.cts.map +1 -0
- package/dist/actions/get-user.d.mts +9 -0
- package/dist/actions/get-user.d.mts.map +1 -0
- package/dist/actions/get-user.mjs +23 -0
- package/dist/actions/get-user.mjs.map +1 -0
- package/dist/actions/index.cjs +47 -0
- package/dist/actions/index.d.cts +24 -0
- package/dist/actions/index.d.mts +24 -0
- package/dist/actions/index.mjs +24 -0
- package/dist/actions/list-companies.cjs +56 -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 +55 -0
- package/dist/actions/list-companies.mjs.map +1 -0
- package/dist/actions/list-group-custom-fields.cjs +53 -0
- package/dist/actions/list-group-custom-fields.cjs.map +1 -0
- package/dist/actions/list-group-custom-fields.d.cts +9 -0
- package/dist/actions/list-group-custom-fields.d.cts.map +1 -0
- package/dist/actions/list-group-custom-fields.d.mts +9 -0
- package/dist/actions/list-group-custom-fields.d.mts.map +1 -0
- package/dist/actions/list-group-custom-fields.mjs +52 -0
- package/dist/actions/list-group-custom-fields.mjs.map +1 -0
- package/dist/actions/list-groups.cjs +31 -0
- package/dist/actions/list-groups.cjs.map +1 -0
- package/dist/actions/list-groups.d.cts +9 -0
- package/dist/actions/list-groups.d.cts.map +1 -0
- package/dist/actions/list-groups.d.mts +9 -0
- package/dist/actions/list-groups.d.mts.map +1 -0
- package/dist/actions/list-groups.mjs +30 -0
- package/dist/actions/list-groups.mjs.map +1 -0
- package/dist/actions/list-notes.cjs +69 -0
- package/dist/actions/list-notes.cjs.map +1 -0
- package/dist/actions/list-notes.d.cts +9 -0
- package/dist/actions/list-notes.d.cts.map +1 -0
- package/dist/actions/list-notes.d.mts +9 -0
- package/dist/actions/list-notes.d.mts.map +1 -0
- package/dist/actions/list-notes.mjs +68 -0
- package/dist/actions/list-notes.mjs.map +1 -0
- package/dist/actions/list-people.cjs +66 -0
- package/dist/actions/list-people.cjs.map +1 -0
- package/dist/actions/list-people.d.cts +9 -0
- package/dist/actions/list-people.d.cts.map +1 -0
- package/dist/actions/list-people.d.mts +9 -0
- package/dist/actions/list-people.d.mts.map +1 -0
- package/dist/actions/list-people.mjs +65 -0
- package/dist/actions/list-people.mjs.map +1 -0
- package/dist/actions/list-reminders.cjs +54 -0
- package/dist/actions/list-reminders.cjs.map +1 -0
- package/dist/actions/list-reminders.d.cts +9 -0
- package/dist/actions/list-reminders.d.cts.map +1 -0
- package/dist/actions/list-reminders.d.mts +9 -0
- package/dist/actions/list-reminders.d.mts.map +1 -0
- package/dist/actions/list-reminders.mjs +53 -0
- package/dist/actions/list-reminders.mjs.map +1 -0
- package/dist/actions/list-users.cjs +32 -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 +31 -0
- package/dist/actions/list-users.mjs.map +1 -0
- package/dist/actions/list-webhooks.cjs +46 -0
- package/dist/actions/list-webhooks.cjs.map +1 -0
- package/dist/actions/list-webhooks.d.cts +9 -0
- package/dist/actions/list-webhooks.d.cts.map +1 -0
- package/dist/actions/list-webhooks.d.mts +9 -0
- package/dist/actions/list-webhooks.d.mts.map +1 -0
- package/dist/actions/list-webhooks.mjs +45 -0
- package/dist/actions/list-webhooks.mjs.map +1 -0
- package/dist/actions/update-company.cjs +44 -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 +43 -0
- package/dist/actions/update-company.mjs.map +1 -0
- package/dist/actions/update-note.cjs +43 -0
- package/dist/actions/update-note.cjs.map +1 -0
- package/dist/actions/update-note.d.cts +9 -0
- package/dist/actions/update-note.d.cts.map +1 -0
- package/dist/actions/update-note.d.mts +9 -0
- package/dist/actions/update-note.d.mts.map +1 -0
- package/dist/actions/update-note.mjs +42 -0
- package/dist/actions/update-note.mjs.map +1 -0
- package/dist/actions/update-person.cjs +70 -0
- package/dist/actions/update-person.cjs.map +1 -0
- package/dist/actions/update-person.d.cts +9 -0
- package/dist/actions/update-person.d.cts.map +1 -0
- package/dist/actions/update-person.d.mts +9 -0
- package/dist/actions/update-person.d.mts.map +1 -0
- package/dist/actions/update-person.mjs +69 -0
- package/dist/actions/update-person.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 +52 -0
- package/dist/index.d.cts +26 -0
- package/dist/index.d.mts +26 -0
- package/dist/index.mjs +27 -0
- package/package.json +49 -0
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/update-person.ts
|
|
4
|
+
const FolkUpdatePersonInput = z.object({
|
|
5
|
+
urls: z.array(z.string()).describe("List of URLs associated with the person; replaces existing URLs.").optional(),
|
|
6
|
+
emails: z.array(z.string()).describe("List of email addresses associated with the person; replaces existing emails.").optional(),
|
|
7
|
+
groups: z.array(z.object({ id: z.string().describe("ID of the group to add the person to.") }).describe("Reference to a group by its ID.")).describe("Groups to associate with the person; list values replace existing groups. When removing a person from a group, their custom field values for that group are also removed.").optional(),
|
|
8
|
+
phones: z.array(z.string()).describe("List of phone numbers associated with the person; replaces existing phones.").optional(),
|
|
9
|
+
birthday: z.string().describe("The person's birthday in ISO 8601 date format (YYYY-MM-DD). Set to null to remove.").optional(),
|
|
10
|
+
fullName: z.string().describe("The full name of the person.").optional(),
|
|
11
|
+
jobTitle: z.string().describe("The job title of the person.").optional(),
|
|
12
|
+
lastName: z.string().describe("The last name of the person.").optional(),
|
|
13
|
+
personId: z.string().describe("The ID of the person to update. Must be exactly 40 characters long."),
|
|
14
|
+
addresses: z.array(z.string()).describe("List of addresses associated with the person; replaces existing addresses.").optional(),
|
|
15
|
+
companies: z.array(z.object({
|
|
16
|
+
id: z.string().describe("ID of an existing company. Use this to reference an existing company.").optional(),
|
|
17
|
+
name: z.string().describe("Name of the company. Use this to create a new company or reference by name.").optional()
|
|
18
|
+
}).describe("Reference to a company by name or ID.")).describe("Companies to associate with the person; list values replace existing companies.").optional(),
|
|
19
|
+
firstName: z.string().describe("The first name of the person.").optional(),
|
|
20
|
+
description: z.string().describe("A short description of the person.").optional(),
|
|
21
|
+
customFieldValues: z.record(z.string(), z.unknown()).describe("Custom field values grouped by group ID. Values depend on field type: text, number, date, select, contact, user, etc.").optional()
|
|
22
|
+
}).describe("Request schema for updating an existing person. Only provided fields will be updated; list fields replace existing values entirely.");
|
|
23
|
+
const FolkUpdatePerson_UpdatePersonGroupSchema = z.object({
|
|
24
|
+
id: z.string().describe("Group ID."),
|
|
25
|
+
name: z.string().describe("Group name.")
|
|
26
|
+
}).describe("A group associated with the person in the response.");
|
|
27
|
+
const FolkUpdatePerson_UpdatePersonCompanySchema = z.object({
|
|
28
|
+
id: z.string().describe("Company ID."),
|
|
29
|
+
name: z.string().describe("Company name.")
|
|
30
|
+
}).describe("A company associated with the person in the response.");
|
|
31
|
+
const FolkUpdatePerson_UpdatePersonCreatedBySchema = z.object({
|
|
32
|
+
id: z.string().describe("The user's unique identifier"),
|
|
33
|
+
email: z.string().describe("The user's email address"),
|
|
34
|
+
fullName: z.string().describe("The user's full name")
|
|
35
|
+
}).describe("User information for the person who created this record.");
|
|
36
|
+
const FolkUpdatePerson_UpdatePersonResponseDataSchema = z.object({
|
|
37
|
+
id: z.string().describe("Unique ID of the person."),
|
|
38
|
+
urls: z.array(z.string()).describe("URLs associated with the person.").nullable().optional(),
|
|
39
|
+
emails: z.array(z.string()).describe("Email addresses associated with the person.").nullable().optional(),
|
|
40
|
+
groups: z.array(FolkUpdatePerson_UpdatePersonGroupSchema).describe("Groups associated with the person.").nullable().optional(),
|
|
41
|
+
phones: z.array(z.string()).describe("Phone numbers associated with the person.").nullable().optional(),
|
|
42
|
+
birthday: z.string().describe("The person's birthday as an ISO8601 date string (YYYY-MM-DD), or null if not set.").nullable().optional(),
|
|
43
|
+
fullName: z.string().describe("The person's full name.").nullable().optional(),
|
|
44
|
+
jobTitle: z.string().describe("The person's job title.").nullable().optional(),
|
|
45
|
+
lastName: z.string().describe("The person's last name.").nullable().optional(),
|
|
46
|
+
addresses: z.array(z.string()).describe("Addresses associated with the person.").nullable().optional(),
|
|
47
|
+
companies: z.array(FolkUpdatePerson_UpdatePersonCompanySchema).describe("Companies associated with the person.").nullable().optional(),
|
|
48
|
+
createdAt: z.string().describe("ISO8601 timestamp of when this person record was created.").nullable().optional(),
|
|
49
|
+
createdBy: FolkUpdatePerson_UpdatePersonCreatedBySchema.nullable().optional(),
|
|
50
|
+
firstName: z.string().describe("The person's first name.").nullable().optional(),
|
|
51
|
+
description: z.string().describe("Description of the person.").nullable().optional(),
|
|
52
|
+
customFieldValues: z.record(z.string(), z.unknown()).describe("Custom field values keyed by group ID.").nullable().optional(),
|
|
53
|
+
interactionMetadata: z.record(z.string(), z.unknown()).describe("Metadata about interactions with this person, including counts and timestamps.").nullable().optional(),
|
|
54
|
+
strongestConnection: z.record(z.string(), z.unknown()).describe("Information about the strongest connection to this person.").nullable().optional()
|
|
55
|
+
}).describe("Data returned after updating a person.");
|
|
56
|
+
const folkUpdatePerson = action("FOLK_UPDATE_PERSON", {
|
|
57
|
+
slug: "folk-update-person",
|
|
58
|
+
name: "Update Person",
|
|
59
|
+
description: "Tool to update an existing person in the workspace. Use after confirming the person ID; only provided fields are updated and list fields replace existing values.",
|
|
60
|
+
input: FolkUpdatePersonInput,
|
|
61
|
+
output: z.object({
|
|
62
|
+
data: FolkUpdatePerson_UpdatePersonResponseDataSchema.nullable(),
|
|
63
|
+
deprecations: z.array(z.string()).describe("Any deprecation notices returned by the API.").nullable().optional()
|
|
64
|
+
}).describe("Full response schema for updating a person.")
|
|
65
|
+
});
|
|
66
|
+
//#endregion
|
|
67
|
+
export { folkUpdatePerson };
|
|
68
|
+
|
|
69
|
+
//# sourceMappingURL=update-person.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-person.mjs","names":[],"sources":["../../src/actions/update-person.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FolkUpdatePersonInput: z.ZodTypeAny = z.object({\n urls: z.array(z.string()).describe(\"List of URLs associated with the person; replaces existing URLs.\").optional(),\n emails: z.array(z.string()).describe(\"List of email addresses associated with the person; replaces existing emails.\").optional(),\n groups: z.array(z.object({\n id: z.string().describe(\"ID of the group to add the person to.\"),\n}).describe(\"Reference to a group by its ID.\")).describe(\"Groups to associate with the person; list values replace existing groups. When removing a person from a group, their custom field values for that group are also removed.\").optional(),\n phones: z.array(z.string()).describe(\"List of phone numbers associated with the person; replaces existing phones.\").optional(),\n birthday: z.string().describe(\"The person's birthday in ISO 8601 date format (YYYY-MM-DD). Set to null to remove.\").optional(),\n fullName: z.string().describe(\"The full name of the person.\").optional(),\n jobTitle: z.string().describe(\"The job title of the person.\").optional(),\n lastName: z.string().describe(\"The last name of the person.\").optional(),\n personId: z.string().describe(\"The ID of the person to update. Must be exactly 40 characters long.\"),\n addresses: z.array(z.string()).describe(\"List of addresses associated with the person; replaces existing addresses.\").optional(),\n companies: z.array(z.object({\n id: z.string().describe(\"ID of an existing company. Use this to reference an existing company.\").optional(),\n name: z.string().describe(\"Name of the company. Use this to create a new company or reference by name.\").optional(),\n}).describe(\"Reference to a company by name or ID.\")).describe(\"Companies to associate with the person; list values replace existing companies.\").optional(),\n firstName: z.string().describe(\"The first name of the person.\").optional(),\n description: z.string().describe(\"A short description of the person.\").optional(),\n customFieldValues: z.record(z.string(), z.unknown()).describe(\"Custom field values grouped by group ID. Values depend on field type: text, number, date, select, contact, user, etc.\").optional(),\n}).describe(\"Request schema for updating an existing person. Only provided fields will be updated; list fields replace existing values entirely.\");\nconst FolkUpdatePerson_UpdatePersonGroupSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Group ID.\"),\n name: z.string().describe(\"Group name.\"),\n}).describe(\"A group associated with the person in the response.\");\nconst FolkUpdatePerson_UpdatePersonCompanySchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Company ID.\"),\n name: z.string().describe(\"Company name.\"),\n}).describe(\"A company associated with the person in the response.\");\nconst FolkUpdatePerson_UpdatePersonCreatedBySchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The user's unique identifier\"),\n email: z.string().describe(\"The user's email address\"),\n fullName: z.string().describe(\"The user's full name\"),\n}).describe(\"User information for the person who created this record.\");\nconst FolkUpdatePerson_UpdatePersonResponseDataSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique ID of the person.\"),\n urls: z.array(z.string()).describe(\"URLs associated with the person.\").nullable().optional(),\n emails: z.array(z.string()).describe(\"Email addresses associated with the person.\").nullable().optional(),\n groups: z.array(FolkUpdatePerson_UpdatePersonGroupSchema).describe(\"Groups associated with the person.\").nullable().optional(),\n phones: z.array(z.string()).describe(\"Phone numbers associated with the person.\").nullable().optional(),\n birthday: z.string().describe(\"The person's birthday as an ISO8601 date string (YYYY-MM-DD), or null if not set.\").nullable().optional(),\n fullName: z.string().describe(\"The person's full name.\").nullable().optional(),\n jobTitle: z.string().describe(\"The person's job title.\").nullable().optional(),\n lastName: z.string().describe(\"The person's last name.\").nullable().optional(),\n addresses: z.array(z.string()).describe(\"Addresses associated with the person.\").nullable().optional(),\n companies: z.array(FolkUpdatePerson_UpdatePersonCompanySchema).describe(\"Companies associated with the person.\").nullable().optional(),\n createdAt: z.string().describe(\"ISO8601 timestamp of when this person record was created.\").nullable().optional(),\n createdBy: FolkUpdatePerson_UpdatePersonCreatedBySchema.nullable().optional(),\n firstName: z.string().describe(\"The person's first name.\").nullable().optional(),\n description: z.string().describe(\"Description of the person.\").nullable().optional(),\n customFieldValues: z.record(z.string(), z.unknown()).describe(\"Custom field values keyed by group ID.\").nullable().optional(),\n interactionMetadata: z.record(z.string(), z.unknown()).describe(\"Metadata about interactions with this person, including counts and timestamps.\").nullable().optional(),\n strongestConnection: z.record(z.string(), z.unknown()).describe(\"Information about the strongest connection to this person.\").nullable().optional(),\n}).describe(\"Data returned after updating a person.\");\nexport const FolkUpdatePersonOutput: z.ZodTypeAny = z.object({\n data: FolkUpdatePerson_UpdatePersonResponseDataSchema.nullable(),\n deprecations: z.array(z.string()).describe(\"Any deprecation notices returned by the API.\").nullable().optional(),\n}).describe(\"Full response schema for updating a person.\");\n\nexport const folkUpdatePerson = action(\"FOLK_UPDATE_PERSON\", {\n slug: \"folk-update-person\",\n name: \"Update Person\",\n description: \"Tool to update an existing person in the workspace. Use after confirming the person ID; only provided fields are updated and list fields replace existing values.\",\n input: FolkUpdatePersonInput,\n output: FolkUpdatePersonOutput,\n});\n"],"mappings":"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"}
|
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 folk = defineApp({\n slug: \"folk\",\n auth: \"keystroke\",\n});\n"],"mappings":";AAEA,MAAa,QAAA,uCAAA,CAAA,CAAA,UAAA,CAAiB;CAC5B,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,IAAA,6BAAI,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,IAAA,6BAAI,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 folk = defineApp({\n slug: \"folk\",\n auth: \"keystroke\",\n});\n"],"mappings":";;AAEA,MAAa,OAAO,UAAU;CAC5B,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 folkCatalog = {
|
|
4
|
+
"slug": "folk",
|
|
5
|
+
"name": "Folk",
|
|
6
|
+
"description": "folk is a next-generation CRM designed for teams to manage and nurture their relationships efficiently.",
|
|
7
|
+
"category": "CRM",
|
|
8
|
+
"logo": "https://logos.composio.dev/api/folk",
|
|
9
|
+
"authKind": "keystroke",
|
|
10
|
+
"oauthScopes": []
|
|
11
|
+
};
|
|
12
|
+
//#endregion
|
|
13
|
+
exports.folkCatalog = folkCatalog;
|
|
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 folkCatalog = {\n \"slug\": \"folk\",\n \"name\": \"Folk\",\n \"description\": \"folk is a next-generation CRM designed for teams to manage and nurture their relationships efficiently.\",\n \"category\": \"CRM\",\n \"logo\": \"https://logos.composio.dev/api/folk\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": []\n} as const;\n"],"mappings":";;AACA,MAAa,cAAc;CACzB,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 folkCatalog: {
|
|
4
|
+
readonly slug: "folk";
|
|
5
|
+
readonly name: "Folk";
|
|
6
|
+
readonly description: "folk is a next-generation CRM designed for teams to manage and nurture their relationships efficiently.";
|
|
7
|
+
readonly category: "CRM";
|
|
8
|
+
readonly logo: "https://logos.composio.dev/api/folk";
|
|
9
|
+
readonly authKind: "keystroke";
|
|
10
|
+
readonly oauthScopes: readonly [];
|
|
11
|
+
};
|
|
12
|
+
//#endregion
|
|
13
|
+
export { folkCatalog };
|
|
14
|
+
//# sourceMappingURL=catalog.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"catalog.d.cts","names":[],"sources":["../src/catalog.ts"],"mappings":";;cACa,WAAA;EAAA"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
//#region src/catalog.d.ts
|
|
2
|
+
/** Generated — kept in sync with src/app.ts. */
|
|
3
|
+
declare const folkCatalog: {
|
|
4
|
+
readonly slug: "folk";
|
|
5
|
+
readonly name: "Folk";
|
|
6
|
+
readonly description: "folk is a next-generation CRM designed for teams to manage and nurture their relationships efficiently.";
|
|
7
|
+
readonly category: "CRM";
|
|
8
|
+
readonly logo: "https://logos.composio.dev/api/folk";
|
|
9
|
+
readonly authKind: "keystroke";
|
|
10
|
+
readonly oauthScopes: readonly [];
|
|
11
|
+
};
|
|
12
|
+
//#endregion
|
|
13
|
+
export { folkCatalog };
|
|
14
|
+
//# sourceMappingURL=catalog.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"catalog.d.mts","names":[],"sources":["../src/catalog.ts"],"mappings":";;cACa,WAAA;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 folkCatalog = {
|
|
4
|
+
"slug": "folk",
|
|
5
|
+
"name": "Folk",
|
|
6
|
+
"description": "folk is a next-generation CRM designed for teams to manage and nurture their relationships efficiently.",
|
|
7
|
+
"category": "CRM",
|
|
8
|
+
"logo": "https://logos.composio.dev/api/folk",
|
|
9
|
+
"authKind": "keystroke",
|
|
10
|
+
"oauthScopes": []
|
|
11
|
+
};
|
|
12
|
+
//#endregion
|
|
13
|
+
export { folkCatalog };
|
|
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 folkCatalog = {\n \"slug\": \"folk\",\n \"name\": \"Folk\",\n \"description\": \"folk is a next-generation CRM designed for teams to manage and nurture their relationships efficiently.\",\n \"category\": \"CRM\",\n \"logo\": \"https://logos.composio.dev/api/folk\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": []\n} as const;\n"],"mappings":";;AACA,MAAa,cAAc;CACzB,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 = "folk";
|
|
4
|
+
/** Pinned app version — updated on regeneration. */
|
|
5
|
+
const APP_VERSION = "20260615_00";
|
|
6
|
+
async function executeFolkTool(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.executeFolkTool = executeFolkTool;
|
|
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 = \"folk\";\n/** Pinned app version — updated on regeneration. */\nconst APP_VERSION = \"20260615_00\";\n\nexport async function executeFolkTool(\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,gBACpB,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"}
|
package/dist/execute.mjs
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { createKeystrokeClient } from "@keystrokehq/keystroke/client";
|
|
2
|
+
//#region src/execute.ts
|
|
3
|
+
const APP_SLUG = "folk";
|
|
4
|
+
/** Pinned app version — updated on regeneration. */
|
|
5
|
+
const APP_VERSION = "20260615_00";
|
|
6
|
+
async function executeFolkTool(tool, args) {
|
|
7
|
+
const { result } = await createKeystrokeClient().tools.execute({
|
|
8
|
+
app: APP_SLUG,
|
|
9
|
+
tool,
|
|
10
|
+
arguments: args,
|
|
11
|
+
version: APP_VERSION
|
|
12
|
+
});
|
|
13
|
+
return result;
|
|
14
|
+
}
|
|
15
|
+
//#endregion
|
|
16
|
+
export { executeFolkTool };
|
|
17
|
+
|
|
18
|
+
//# sourceMappingURL=execute.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"execute.mjs","names":[],"sources":["../src/execute.ts"],"sourcesContent":["import { createKeystrokeClient } from \"@keystrokehq/keystroke/client\";\n\nconst APP_SLUG = \"folk\";\n/** Pinned app version — updated on regeneration. */\nconst APP_VERSION = \"20260615_00\";\n\nexport async function executeFolkTool(\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,gBACpB,MACA,MACkB;CAClB,MAAM,EAAE,WAAW,MAAM,sBAAsB,CAAC,CAAC,MAAM,QAAQ;EAC7D,KAAK;EACL;EACA,WAAW;EACX,SAAS;CACX,CAAC;CACD,OAAO;AACT"}
|
package/dist/index.cjs
ADDED
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
+
const require_app = require("./app.cjs");
|
|
3
|
+
const require_catalog = require("./catalog.cjs");
|
|
4
|
+
const require_create_company = require("./actions/create-company.cjs");
|
|
5
|
+
const require_create_note = require("./actions/create-note.cjs");
|
|
6
|
+
const require_create_person = require("./actions/create-person.cjs");
|
|
7
|
+
const require_delete_company = require("./actions/delete-company.cjs");
|
|
8
|
+
const require_delete_note = require("./actions/delete-note.cjs");
|
|
9
|
+
const require_delete_person = require("./actions/delete-person.cjs");
|
|
10
|
+
const require_delete_reminder = require("./actions/delete-reminder.cjs");
|
|
11
|
+
const require_get_company = require("./actions/get-company.cjs");
|
|
12
|
+
const require_get_current_workspace_user = require("./actions/get-current-workspace-user.cjs");
|
|
13
|
+
const require_get_note = require("./actions/get-note.cjs");
|
|
14
|
+
const require_get_person = require("./actions/get-person.cjs");
|
|
15
|
+
const require_get_user = require("./actions/get-user.cjs");
|
|
16
|
+
const require_list_companies = require("./actions/list-companies.cjs");
|
|
17
|
+
const require_list_group_custom_fields = require("./actions/list-group-custom-fields.cjs");
|
|
18
|
+
const require_list_groups = require("./actions/list-groups.cjs");
|
|
19
|
+
const require_list_notes = require("./actions/list-notes.cjs");
|
|
20
|
+
const require_list_people = require("./actions/list-people.cjs");
|
|
21
|
+
const require_list_reminders = require("./actions/list-reminders.cjs");
|
|
22
|
+
const require_list_users = require("./actions/list-users.cjs");
|
|
23
|
+
const require_list_webhooks = require("./actions/list-webhooks.cjs");
|
|
24
|
+
const require_update_company = require("./actions/update-company.cjs");
|
|
25
|
+
const require_update_note = require("./actions/update-note.cjs");
|
|
26
|
+
const require_update_person = require("./actions/update-person.cjs");
|
|
27
|
+
require("./actions/index.cjs");
|
|
28
|
+
exports.folk = require_app.folk;
|
|
29
|
+
exports.folkCatalog = require_catalog.folkCatalog;
|
|
30
|
+
exports.folkCreateCompany = require_create_company.folkCreateCompany;
|
|
31
|
+
exports.folkCreateNote = require_create_note.folkCreateNote;
|
|
32
|
+
exports.folkCreatePerson = require_create_person.folkCreatePerson;
|
|
33
|
+
exports.folkDeleteCompany = require_delete_company.folkDeleteCompany;
|
|
34
|
+
exports.folkDeleteNote = require_delete_note.folkDeleteNote;
|
|
35
|
+
exports.folkDeletePerson = require_delete_person.folkDeletePerson;
|
|
36
|
+
exports.folkDeleteReminder = require_delete_reminder.folkDeleteReminder;
|
|
37
|
+
exports.folkGetCompany = require_get_company.folkGetCompany;
|
|
38
|
+
exports.folkGetCurrentWorkspaceUser = require_get_current_workspace_user.folkGetCurrentWorkspaceUser;
|
|
39
|
+
exports.folkGetNote = require_get_note.folkGetNote;
|
|
40
|
+
exports.folkGetPerson = require_get_person.folkGetPerson;
|
|
41
|
+
exports.folkGetUser = require_get_user.folkGetUser;
|
|
42
|
+
exports.folkListCompanies = require_list_companies.folkListCompanies;
|
|
43
|
+
exports.folkListGroupCustomFields = require_list_group_custom_fields.folkListGroupCustomFields;
|
|
44
|
+
exports.folkListGroups = require_list_groups.folkListGroups;
|
|
45
|
+
exports.folkListNotes = require_list_notes.folkListNotes;
|
|
46
|
+
exports.folkListPeople = require_list_people.folkListPeople;
|
|
47
|
+
exports.folkListReminders = require_list_reminders.folkListReminders;
|
|
48
|
+
exports.folkListUsers = require_list_users.folkListUsers;
|
|
49
|
+
exports.folkListWebhooks = require_list_webhooks.folkListWebhooks;
|
|
50
|
+
exports.folkUpdateCompany = require_update_company.folkUpdateCompany;
|
|
51
|
+
exports.folkUpdateNote = require_update_note.folkUpdateNote;
|
|
52
|
+
exports.folkUpdatePerson = require_update_person.folkUpdatePerson;
|
package/dist/index.d.cts
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { folkCreateCompany } from "./actions/create-company.cjs";
|
|
2
|
+
import { folkCreateNote } from "./actions/create-note.cjs";
|
|
3
|
+
import { folkCreatePerson } from "./actions/create-person.cjs";
|
|
4
|
+
import { folkDeleteCompany } from "./actions/delete-company.cjs";
|
|
5
|
+
import { folkDeleteNote } from "./actions/delete-note.cjs";
|
|
6
|
+
import { folkDeletePerson } from "./actions/delete-person.cjs";
|
|
7
|
+
import { folkDeleteReminder } from "./actions/delete-reminder.cjs";
|
|
8
|
+
import { folkGetCompany } from "./actions/get-company.cjs";
|
|
9
|
+
import { folkGetCurrentWorkspaceUser } from "./actions/get-current-workspace-user.cjs";
|
|
10
|
+
import { folkGetNote } from "./actions/get-note.cjs";
|
|
11
|
+
import { folkGetPerson } from "./actions/get-person.cjs";
|
|
12
|
+
import { folkGetUser } from "./actions/get-user.cjs";
|
|
13
|
+
import { folkListCompanies } from "./actions/list-companies.cjs";
|
|
14
|
+
import { folkListGroupCustomFields } from "./actions/list-group-custom-fields.cjs";
|
|
15
|
+
import { folkListGroups } from "./actions/list-groups.cjs";
|
|
16
|
+
import { folkListNotes } from "./actions/list-notes.cjs";
|
|
17
|
+
import { folkListPeople } from "./actions/list-people.cjs";
|
|
18
|
+
import { folkListReminders } from "./actions/list-reminders.cjs";
|
|
19
|
+
import { folkListUsers } from "./actions/list-users.cjs";
|
|
20
|
+
import { folkListWebhooks } from "./actions/list-webhooks.cjs";
|
|
21
|
+
import { folkUpdateCompany } from "./actions/update-company.cjs";
|
|
22
|
+
import { folkUpdateNote } from "./actions/update-note.cjs";
|
|
23
|
+
import { folkUpdatePerson } from "./actions/update-person.cjs";
|
|
24
|
+
import { folk } from "./app.cjs";
|
|
25
|
+
import { folkCatalog } from "./catalog.cjs";
|
|
26
|
+
export { folk, folkCatalog, folkCreateCompany, folkCreateNote, folkCreatePerson, folkDeleteCompany, folkDeleteNote, folkDeletePerson, folkDeleteReminder, folkGetCompany, folkGetCurrentWorkspaceUser, folkGetNote, folkGetPerson, folkGetUser, folkListCompanies, folkListGroupCustomFields, folkListGroups, folkListNotes, folkListPeople, folkListReminders, folkListUsers, folkListWebhooks, folkUpdateCompany, folkUpdateNote, folkUpdatePerson };
|
package/dist/index.d.mts
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { folkCreateCompany } from "./actions/create-company.mjs";
|
|
2
|
+
import { folkCreateNote } from "./actions/create-note.mjs";
|
|
3
|
+
import { folkCreatePerson } from "./actions/create-person.mjs";
|
|
4
|
+
import { folkDeleteCompany } from "./actions/delete-company.mjs";
|
|
5
|
+
import { folkDeleteNote } from "./actions/delete-note.mjs";
|
|
6
|
+
import { folkDeletePerson } from "./actions/delete-person.mjs";
|
|
7
|
+
import { folkDeleteReminder } from "./actions/delete-reminder.mjs";
|
|
8
|
+
import { folkGetCompany } from "./actions/get-company.mjs";
|
|
9
|
+
import { folkGetCurrentWorkspaceUser } from "./actions/get-current-workspace-user.mjs";
|
|
10
|
+
import { folkGetNote } from "./actions/get-note.mjs";
|
|
11
|
+
import { folkGetPerson } from "./actions/get-person.mjs";
|
|
12
|
+
import { folkGetUser } from "./actions/get-user.mjs";
|
|
13
|
+
import { folkListCompanies } from "./actions/list-companies.mjs";
|
|
14
|
+
import { folkListGroupCustomFields } from "./actions/list-group-custom-fields.mjs";
|
|
15
|
+
import { folkListGroups } from "./actions/list-groups.mjs";
|
|
16
|
+
import { folkListNotes } from "./actions/list-notes.mjs";
|
|
17
|
+
import { folkListPeople } from "./actions/list-people.mjs";
|
|
18
|
+
import { folkListReminders } from "./actions/list-reminders.mjs";
|
|
19
|
+
import { folkListUsers } from "./actions/list-users.mjs";
|
|
20
|
+
import { folkListWebhooks } from "./actions/list-webhooks.mjs";
|
|
21
|
+
import { folkUpdateCompany } from "./actions/update-company.mjs";
|
|
22
|
+
import { folkUpdateNote } from "./actions/update-note.mjs";
|
|
23
|
+
import { folkUpdatePerson } from "./actions/update-person.mjs";
|
|
24
|
+
import { folk } from "./app.mjs";
|
|
25
|
+
import { folkCatalog } from "./catalog.mjs";
|
|
26
|
+
export { folk, folkCatalog, folkCreateCompany, folkCreateNote, folkCreatePerson, folkDeleteCompany, folkDeleteNote, folkDeletePerson, folkDeleteReminder, folkGetCompany, folkGetCurrentWorkspaceUser, folkGetNote, folkGetPerson, folkGetUser, folkListCompanies, folkListGroupCustomFields, folkListGroups, folkListNotes, folkListPeople, folkListReminders, folkListUsers, folkListWebhooks, folkUpdateCompany, folkUpdateNote, folkUpdatePerson };
|
package/dist/index.mjs
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { folk } from "./app.mjs";
|
|
2
|
+
import { folkCatalog } from "./catalog.mjs";
|
|
3
|
+
import { folkCreateCompany } from "./actions/create-company.mjs";
|
|
4
|
+
import { folkCreateNote } from "./actions/create-note.mjs";
|
|
5
|
+
import { folkCreatePerson } from "./actions/create-person.mjs";
|
|
6
|
+
import { folkDeleteCompany } from "./actions/delete-company.mjs";
|
|
7
|
+
import { folkDeleteNote } from "./actions/delete-note.mjs";
|
|
8
|
+
import { folkDeletePerson } from "./actions/delete-person.mjs";
|
|
9
|
+
import { folkDeleteReminder } from "./actions/delete-reminder.mjs";
|
|
10
|
+
import { folkGetCompany } from "./actions/get-company.mjs";
|
|
11
|
+
import { folkGetCurrentWorkspaceUser } from "./actions/get-current-workspace-user.mjs";
|
|
12
|
+
import { folkGetNote } from "./actions/get-note.mjs";
|
|
13
|
+
import { folkGetPerson } from "./actions/get-person.mjs";
|
|
14
|
+
import { folkGetUser } from "./actions/get-user.mjs";
|
|
15
|
+
import { folkListCompanies } from "./actions/list-companies.mjs";
|
|
16
|
+
import { folkListGroupCustomFields } from "./actions/list-group-custom-fields.mjs";
|
|
17
|
+
import { folkListGroups } from "./actions/list-groups.mjs";
|
|
18
|
+
import { folkListNotes } from "./actions/list-notes.mjs";
|
|
19
|
+
import { folkListPeople } from "./actions/list-people.mjs";
|
|
20
|
+
import { folkListReminders } from "./actions/list-reminders.mjs";
|
|
21
|
+
import { folkListUsers } from "./actions/list-users.mjs";
|
|
22
|
+
import { folkListWebhooks } from "./actions/list-webhooks.mjs";
|
|
23
|
+
import { folkUpdateCompany } from "./actions/update-company.mjs";
|
|
24
|
+
import { folkUpdateNote } from "./actions/update-note.mjs";
|
|
25
|
+
import { folkUpdatePerson } from "./actions/update-person.mjs";
|
|
26
|
+
import "./actions/index.mjs";
|
|
27
|
+
export { folk, folkCatalog, folkCreateCompany, folkCreateNote, folkCreatePerson, folkDeleteCompany, folkDeleteNote, folkDeletePerson, folkDeleteReminder, folkGetCompany, folkGetCurrentWorkspaceUser, folkGetNote, folkGetPerson, folkGetUser, folkListCompanies, folkListGroupCustomFields, folkListGroups, folkListNotes, folkListPeople, folkListReminders, folkListUsers, folkListWebhooks, folkUpdateCompany, folkUpdateNote, folkUpdatePerson };
|
package/package.json
ADDED
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@keystrokehq/folk",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"publishConfig": {
|
|
5
|
+
"access": "public",
|
|
6
|
+
"registry": "https://registry.npmjs.org"
|
|
7
|
+
},
|
|
8
|
+
"repository": {
|
|
9
|
+
"type": "git",
|
|
10
|
+
"url": "git+https://github.com/keystrokehq/keystroke.git",
|
|
11
|
+
"directory": "packages/integrations/folk"
|
|
12
|
+
},
|
|
13
|
+
"files": [
|
|
14
|
+
"dist"
|
|
15
|
+
],
|
|
16
|
+
"sideEffects": false,
|
|
17
|
+
"type": "module",
|
|
18
|
+
"main": "./dist/index.cjs",
|
|
19
|
+
"module": "./dist/index.mjs",
|
|
20
|
+
"types": "./dist/index.d.mts",
|
|
21
|
+
"exports": {
|
|
22
|
+
".": {
|
|
23
|
+
"types": "./dist/index.d.mts",
|
|
24
|
+
"import": "./dist/index.mjs",
|
|
25
|
+
"require": "./dist/index.cjs"
|
|
26
|
+
},
|
|
27
|
+
"./actions": {
|
|
28
|
+
"types": "./dist/actions/index.d.mts",
|
|
29
|
+
"import": "./dist/actions/index.mjs",
|
|
30
|
+
"require": "./dist/actions/index.cjs"
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
"peerDependencies": {
|
|
34
|
+
"@keystrokehq/keystroke": "^0.1.4",
|
|
35
|
+
"zod": "^4.4.3"
|
|
36
|
+
},
|
|
37
|
+
"devDependencies": {
|
|
38
|
+
"@keystrokehq/keystroke": "link:../../keystroke",
|
|
39
|
+
"@types/node": "^25.9.1",
|
|
40
|
+
"tsdown": "^0.22.0",
|
|
41
|
+
"typescript": "^6.0.3",
|
|
42
|
+
"zod": "^4.4.3"
|
|
43
|
+
},
|
|
44
|
+
"scripts": {
|
|
45
|
+
"build": "tsdown",
|
|
46
|
+
"dev": "tsdown --watch --no-clean",
|
|
47
|
+
"typecheck": "tsc --noEmit"
|
|
48
|
+
}
|
|
49
|
+
}
|