@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.
Files changed (218) hide show
  1. package/README.md +17 -0
  2. package/dist/action.cjs +21 -0
  3. package/dist/action.cjs.map +1 -0
  4. package/dist/action.mjs +21 -0
  5. package/dist/action.mjs.map +1 -0
  6. package/dist/actions/create-company.cjs +60 -0
  7. package/dist/actions/create-company.cjs.map +1 -0
  8. package/dist/actions/create-company.d.cts +9 -0
  9. package/dist/actions/create-company.d.cts.map +1 -0
  10. package/dist/actions/create-company.d.mts +9 -0
  11. package/dist/actions/create-company.d.mts.map +1 -0
  12. package/dist/actions/create-company.mjs +59 -0
  13. package/dist/actions/create-company.mjs.map +1 -0
  14. package/dist/actions/create-note.cjs +46 -0
  15. package/dist/actions/create-note.cjs.map +1 -0
  16. package/dist/actions/create-note.d.cts +9 -0
  17. package/dist/actions/create-note.d.cts.map +1 -0
  18. package/dist/actions/create-note.d.mts +9 -0
  19. package/dist/actions/create-note.d.mts.map +1 -0
  20. package/dist/actions/create-note.mjs +45 -0
  21. package/dist/actions/create-note.mjs.map +1 -0
  22. package/dist/actions/create-person.cjs +72 -0
  23. package/dist/actions/create-person.cjs.map +1 -0
  24. package/dist/actions/create-person.d.cts +9 -0
  25. package/dist/actions/create-person.d.cts.map +1 -0
  26. package/dist/actions/create-person.d.mts +9 -0
  27. package/dist/actions/create-person.d.mts.map +1 -0
  28. package/dist/actions/create-person.mjs +71 -0
  29. package/dist/actions/create-person.mjs.map +1 -0
  30. package/dist/actions/delete-company.cjs +20 -0
  31. package/dist/actions/delete-company.cjs.map +1 -0
  32. package/dist/actions/delete-company.d.cts +9 -0
  33. package/dist/actions/delete-company.d.cts.map +1 -0
  34. package/dist/actions/delete-company.d.mts +9 -0
  35. package/dist/actions/delete-company.d.mts.map +1 -0
  36. package/dist/actions/delete-company.mjs +19 -0
  37. package/dist/actions/delete-company.mjs.map +1 -0
  38. package/dist/actions/delete-note.cjs +20 -0
  39. package/dist/actions/delete-note.cjs.map +1 -0
  40. package/dist/actions/delete-note.d.cts +9 -0
  41. package/dist/actions/delete-note.d.cts.map +1 -0
  42. package/dist/actions/delete-note.d.mts +9 -0
  43. package/dist/actions/delete-note.d.mts.map +1 -0
  44. package/dist/actions/delete-note.mjs +19 -0
  45. package/dist/actions/delete-note.mjs.map +1 -0
  46. package/dist/actions/delete-person.cjs +20 -0
  47. package/dist/actions/delete-person.cjs.map +1 -0
  48. package/dist/actions/delete-person.d.cts +9 -0
  49. package/dist/actions/delete-person.d.cts.map +1 -0
  50. package/dist/actions/delete-person.d.mts +9 -0
  51. package/dist/actions/delete-person.d.mts.map +1 -0
  52. package/dist/actions/delete-person.mjs +19 -0
  53. package/dist/actions/delete-person.mjs.map +1 -0
  54. package/dist/actions/delete-reminder.cjs +20 -0
  55. package/dist/actions/delete-reminder.cjs.map +1 -0
  56. package/dist/actions/delete-reminder.d.cts +9 -0
  57. package/dist/actions/delete-reminder.d.cts.map +1 -0
  58. package/dist/actions/delete-reminder.d.mts +9 -0
  59. package/dist/actions/delete-reminder.d.mts.map +1 -0
  60. package/dist/actions/delete-reminder.mjs +19 -0
  61. package/dist/actions/delete-reminder.mjs.map +1 -0
  62. package/dist/actions/get-company.cjs +31 -0
  63. package/dist/actions/get-company.cjs.map +1 -0
  64. package/dist/actions/get-company.d.cts +9 -0
  65. package/dist/actions/get-company.d.cts.map +1 -0
  66. package/dist/actions/get-company.d.mts +9 -0
  67. package/dist/actions/get-company.d.mts.map +1 -0
  68. package/dist/actions/get-company.mjs +30 -0
  69. package/dist/actions/get-company.mjs.map +1 -0
  70. package/dist/actions/get-current-workspace-user.cjs +21 -0
  71. package/dist/actions/get-current-workspace-user.cjs.map +1 -0
  72. package/dist/actions/get-current-workspace-user.d.cts +9 -0
  73. package/dist/actions/get-current-workspace-user.d.cts.map +1 -0
  74. package/dist/actions/get-current-workspace-user.d.mts +9 -0
  75. package/dist/actions/get-current-workspace-user.d.mts.map +1 -0
  76. package/dist/actions/get-current-workspace-user.mjs +20 -0
  77. package/dist/actions/get-current-workspace-user.mjs.map +1 -0
  78. package/dist/actions/get-note.cjs +71 -0
  79. package/dist/actions/get-note.cjs.map +1 -0
  80. package/dist/actions/get-note.d.cts +9 -0
  81. package/dist/actions/get-note.d.cts.map +1 -0
  82. package/dist/actions/get-note.d.mts +9 -0
  83. package/dist/actions/get-note.d.mts.map +1 -0
  84. package/dist/actions/get-note.mjs +70 -0
  85. package/dist/actions/get-note.mjs.map +1 -0
  86. package/dist/actions/get-person.cjs +48 -0
  87. package/dist/actions/get-person.cjs.map +1 -0
  88. package/dist/actions/get-person.d.cts +9 -0
  89. package/dist/actions/get-person.d.cts.map +1 -0
  90. package/dist/actions/get-person.d.mts +9 -0
  91. package/dist/actions/get-person.d.mts.map +1 -0
  92. package/dist/actions/get-person.mjs +47 -0
  93. package/dist/actions/get-person.mjs.map +1 -0
  94. package/dist/actions/get-user.cjs +24 -0
  95. package/dist/actions/get-user.cjs.map +1 -0
  96. package/dist/actions/get-user.d.cts +9 -0
  97. package/dist/actions/get-user.d.cts.map +1 -0
  98. package/dist/actions/get-user.d.mts +9 -0
  99. package/dist/actions/get-user.d.mts.map +1 -0
  100. package/dist/actions/get-user.mjs +23 -0
  101. package/dist/actions/get-user.mjs.map +1 -0
  102. package/dist/actions/index.cjs +47 -0
  103. package/dist/actions/index.d.cts +24 -0
  104. package/dist/actions/index.d.mts +24 -0
  105. package/dist/actions/index.mjs +24 -0
  106. package/dist/actions/list-companies.cjs +56 -0
  107. package/dist/actions/list-companies.cjs.map +1 -0
  108. package/dist/actions/list-companies.d.cts +9 -0
  109. package/dist/actions/list-companies.d.cts.map +1 -0
  110. package/dist/actions/list-companies.d.mts +9 -0
  111. package/dist/actions/list-companies.d.mts.map +1 -0
  112. package/dist/actions/list-companies.mjs +55 -0
  113. package/dist/actions/list-companies.mjs.map +1 -0
  114. package/dist/actions/list-group-custom-fields.cjs +53 -0
  115. package/dist/actions/list-group-custom-fields.cjs.map +1 -0
  116. package/dist/actions/list-group-custom-fields.d.cts +9 -0
  117. package/dist/actions/list-group-custom-fields.d.cts.map +1 -0
  118. package/dist/actions/list-group-custom-fields.d.mts +9 -0
  119. package/dist/actions/list-group-custom-fields.d.mts.map +1 -0
  120. package/dist/actions/list-group-custom-fields.mjs +52 -0
  121. package/dist/actions/list-group-custom-fields.mjs.map +1 -0
  122. package/dist/actions/list-groups.cjs +31 -0
  123. package/dist/actions/list-groups.cjs.map +1 -0
  124. package/dist/actions/list-groups.d.cts +9 -0
  125. package/dist/actions/list-groups.d.cts.map +1 -0
  126. package/dist/actions/list-groups.d.mts +9 -0
  127. package/dist/actions/list-groups.d.mts.map +1 -0
  128. package/dist/actions/list-groups.mjs +30 -0
  129. package/dist/actions/list-groups.mjs.map +1 -0
  130. package/dist/actions/list-notes.cjs +69 -0
  131. package/dist/actions/list-notes.cjs.map +1 -0
  132. package/dist/actions/list-notes.d.cts +9 -0
  133. package/dist/actions/list-notes.d.cts.map +1 -0
  134. package/dist/actions/list-notes.d.mts +9 -0
  135. package/dist/actions/list-notes.d.mts.map +1 -0
  136. package/dist/actions/list-notes.mjs +68 -0
  137. package/dist/actions/list-notes.mjs.map +1 -0
  138. package/dist/actions/list-people.cjs +66 -0
  139. package/dist/actions/list-people.cjs.map +1 -0
  140. package/dist/actions/list-people.d.cts +9 -0
  141. package/dist/actions/list-people.d.cts.map +1 -0
  142. package/dist/actions/list-people.d.mts +9 -0
  143. package/dist/actions/list-people.d.mts.map +1 -0
  144. package/dist/actions/list-people.mjs +65 -0
  145. package/dist/actions/list-people.mjs.map +1 -0
  146. package/dist/actions/list-reminders.cjs +54 -0
  147. package/dist/actions/list-reminders.cjs.map +1 -0
  148. package/dist/actions/list-reminders.d.cts +9 -0
  149. package/dist/actions/list-reminders.d.cts.map +1 -0
  150. package/dist/actions/list-reminders.d.mts +9 -0
  151. package/dist/actions/list-reminders.d.mts.map +1 -0
  152. package/dist/actions/list-reminders.mjs +53 -0
  153. package/dist/actions/list-reminders.mjs.map +1 -0
  154. package/dist/actions/list-users.cjs +32 -0
  155. package/dist/actions/list-users.cjs.map +1 -0
  156. package/dist/actions/list-users.d.cts +9 -0
  157. package/dist/actions/list-users.d.cts.map +1 -0
  158. package/dist/actions/list-users.d.mts +9 -0
  159. package/dist/actions/list-users.d.mts.map +1 -0
  160. package/dist/actions/list-users.mjs +31 -0
  161. package/dist/actions/list-users.mjs.map +1 -0
  162. package/dist/actions/list-webhooks.cjs +46 -0
  163. package/dist/actions/list-webhooks.cjs.map +1 -0
  164. package/dist/actions/list-webhooks.d.cts +9 -0
  165. package/dist/actions/list-webhooks.d.cts.map +1 -0
  166. package/dist/actions/list-webhooks.d.mts +9 -0
  167. package/dist/actions/list-webhooks.d.mts.map +1 -0
  168. package/dist/actions/list-webhooks.mjs +45 -0
  169. package/dist/actions/list-webhooks.mjs.map +1 -0
  170. package/dist/actions/update-company.cjs +44 -0
  171. package/dist/actions/update-company.cjs.map +1 -0
  172. package/dist/actions/update-company.d.cts +9 -0
  173. package/dist/actions/update-company.d.cts.map +1 -0
  174. package/dist/actions/update-company.d.mts +9 -0
  175. package/dist/actions/update-company.d.mts.map +1 -0
  176. package/dist/actions/update-company.mjs +43 -0
  177. package/dist/actions/update-company.mjs.map +1 -0
  178. package/dist/actions/update-note.cjs +43 -0
  179. package/dist/actions/update-note.cjs.map +1 -0
  180. package/dist/actions/update-note.d.cts +9 -0
  181. package/dist/actions/update-note.d.cts.map +1 -0
  182. package/dist/actions/update-note.d.mts +9 -0
  183. package/dist/actions/update-note.d.mts.map +1 -0
  184. package/dist/actions/update-note.mjs +42 -0
  185. package/dist/actions/update-note.mjs.map +1 -0
  186. package/dist/actions/update-person.cjs +70 -0
  187. package/dist/actions/update-person.cjs.map +1 -0
  188. package/dist/actions/update-person.d.cts +9 -0
  189. package/dist/actions/update-person.d.cts.map +1 -0
  190. package/dist/actions/update-person.d.mts +9 -0
  191. package/dist/actions/update-person.d.mts.map +1 -0
  192. package/dist/actions/update-person.mjs +69 -0
  193. package/dist/actions/update-person.mjs.map +1 -0
  194. package/dist/app.cjs +9 -0
  195. package/dist/app.cjs.map +1 -0
  196. package/dist/app.d.cts +5 -0
  197. package/dist/app.d.cts.map +1 -0
  198. package/dist/app.d.mts +5 -0
  199. package/dist/app.d.mts.map +1 -0
  200. package/dist/app.mjs +10 -0
  201. package/dist/app.mjs.map +1 -0
  202. package/dist/catalog.cjs +15 -0
  203. package/dist/catalog.cjs.map +1 -0
  204. package/dist/catalog.d.cts +14 -0
  205. package/dist/catalog.d.cts.map +1 -0
  206. package/dist/catalog.d.mts +14 -0
  207. package/dist/catalog.d.mts.map +1 -0
  208. package/dist/catalog.mjs +15 -0
  209. package/dist/catalog.mjs.map +1 -0
  210. package/dist/execute.cjs +18 -0
  211. package/dist/execute.cjs.map +1 -0
  212. package/dist/execute.mjs +18 -0
  213. package/dist/execute.mjs.map +1 -0
  214. package/dist/index.cjs +52 -0
  215. package/dist/index.d.cts +26 -0
  216. package/dist/index.d.mts +26 -0
  217. package/dist/index.mjs +27 -0
  218. package/package.json +49 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-current-workspace-user.d.cts","names":[],"sources":["../../src/actions/get-current-workspace-user.ts"],"mappings":";;;cAIa,gCAAA,EAAkC,CAAA,CAAE,UAA0I;AAAA,cAM9K,iCAAA,EAAmC,CAAA,CAAE,UAEiB;AAAA,cAEtD,2BAAA,gCAA2B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-current-workspace-user.d.ts
4
+ declare const FolkGetCurrentWorkspaceUserInput: z.ZodTypeAny;
5
+ declare const FolkGetCurrentWorkspaceUserOutput: z.ZodTypeAny;
6
+ declare const folkGetCurrentWorkspaceUser: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { folkGetCurrentWorkspaceUser };
9
+ //# sourceMappingURL=get-current-workspace-user.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-current-workspace-user.d.mts","names":[],"sources":["../../src/actions/get-current-workspace-user.ts"],"mappings":";;;cAIa,gCAAA,EAAkC,CAAA,CAAE,UAA0I;AAAA,cAM9K,iCAAA,EAAmC,CAAA,CAAE,UAEiB;AAAA,cAEtD,2BAAA,gCAA2B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,20 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/get-current-workspace-user.ts
4
+ const FolkGetCurrentWorkspaceUserInput = z.object({}).describe("Request schema for retrieving the current authenticated workspace user.\nNo parameters are required.");
5
+ const FolkGetCurrentWorkspaceUser_GetCurrentWorkspaceUserDataSchema = z.object({
6
+ id: z.string().describe("Unique identifier of the current workspace user"),
7
+ email: z.string().describe("Email address of the current workspace user"),
8
+ fullName: z.string().describe("Full name of the current workspace user")
9
+ }).describe("Representation of the current workspace user.");
10
+ const folkGetCurrentWorkspaceUser = action("FOLK_GET_CURRENT_WORKSPACE_USER", {
11
+ slug: "folk-get-current-workspace-user",
12
+ name: "Get Current Workspace User",
13
+ description: "Tool to get details of the current authenticated workspace user. Use after authentication to retrieve the user's profile information.",
14
+ input: FolkGetCurrentWorkspaceUserInput,
15
+ output: z.object({ data: FolkGetCurrentWorkspaceUser_GetCurrentWorkspaceUserDataSchema.nullable() }).describe("Full response schema for get-current-workspace-user.")
16
+ });
17
+ //#endregion
18
+ export { folkGetCurrentWorkspaceUser };
19
+
20
+ //# sourceMappingURL=get-current-workspace-user.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-current-workspace-user.mjs","names":[],"sources":["../../src/actions/get-current-workspace-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FolkGetCurrentWorkspaceUserInput: z.ZodTypeAny = z.object({}).describe(\"Request schema for retrieving the current authenticated workspace user.\\nNo parameters are required.\");\nconst FolkGetCurrentWorkspaceUser_GetCurrentWorkspaceUserDataSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier of the current workspace user\"),\n email: z.string().describe(\"Email address of the current workspace user\"),\n fullName: z.string().describe(\"Full name of the current workspace user\"),\n}).describe(\"Representation of the current workspace user.\");\nexport const FolkGetCurrentWorkspaceUserOutput: z.ZodTypeAny = z.object({\n data: FolkGetCurrentWorkspaceUser_GetCurrentWorkspaceUserDataSchema.nullable(),\n}).describe(\"Full response schema for get-current-workspace-user.\");\n\nexport const folkGetCurrentWorkspaceUser = action(\"FOLK_GET_CURRENT_WORKSPACE_USER\", {\n slug: \"folk-get-current-workspace-user\",\n name: \"Get Current Workspace User\",\n description: \"Tool to get details of the current authenticated workspace user. Use after authentication to retrieve the user's profile information.\",\n input: FolkGetCurrentWorkspaceUserInput,\n output: FolkGetCurrentWorkspaceUserOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAiD,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,sGAAsG;AAC1L,MAAM,gEAA8E,EAAE,OAAO;CAC3F,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;CACzE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C;CACxE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC;AACzE,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAK3D,MAAa,8BAA8B,OAAO,mCAAmC;CACnF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT6D,EAAE,OAAO,EACtE,MAAM,8DAA8D,SAAS,EAC/E,CAAC,CAAC,CAAC,SAAS,sDAOF;AACV,CAAC"}
@@ -0,0 +1,71 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/get-note.ts
4
+ const FolkGetNoteInput = zod.z.object({ note_id: zod.z.string().describe("The ID of the note to retrieve. Must be exactly 40 characters long.") }).describe("Request parameters for retrieving a note by its ID.");
5
+ const FolkGetNote_GetNoteActiveUserSchema = zod.z.object({
6
+ id: zod.z.string().describe("User identifier"),
7
+ type: zod.z.string().describe("Author type for active user"),
8
+ email: zod.z.string().describe("User's email address"),
9
+ deleted: zod.z.boolean().describe("User deletion status"),
10
+ fullName: zod.z.string().describe("User's full name")
11
+ }).describe("Active user author information.");
12
+ const FolkGetNote_GetNoteDeletedUserSchema = zod.z.object({
13
+ id: zod.z.string().describe("User identifier"),
14
+ type: zod.z.string().describe("Author type for deleted user"),
15
+ deleted: zod.z.boolean().describe("User deletion status")
16
+ }).describe("Deleted user author information.");
17
+ const FolkGetNote_GetNoteAssistantSchema = zod.z.object({
18
+ type: zod.z.string().describe("Author type for assistant"),
19
+ fullName: zod.z.string().describe("Assistant's display name")
20
+ }).describe("Assistant author information.");
21
+ const FolkGetNote_GetNoteEntitySchema = zod.z.object({
22
+ id: zod.z.string().describe("Entity identifier (40 characters)"),
23
+ fullName: zod.z.string().describe("Full name of the entity"),
24
+ entityType: zod.z.enum([
25
+ "person",
26
+ "company",
27
+ "object"
28
+ ]).describe("Type of entity the note is attached to")
29
+ }).describe("Entity (person, company, or object) associated with the note.");
30
+ const FolkGetNote_GetNoteParentNoteSchema = zod.z.object({
31
+ id: zod.z.string().describe("Parent note identifier"),
32
+ author: zod.z.union([
33
+ FolkGetNote_GetNoteActiveUserSchema,
34
+ FolkGetNote_GetNoteDeletedUserSchema,
35
+ FolkGetNote_GetNoteAssistantSchema
36
+ ]).nullable().optional(),
37
+ entity: FolkGetNote_GetNoteEntitySchema.nullable().optional(),
38
+ content: zod.z.string().describe("Parent note content").nullable().optional(),
39
+ deleted: zod.z.boolean().describe("Whether the parent note has been deleted").nullable().optional(),
40
+ createdAt: zod.z.string().describe("ISO 8601 timestamp when the parent note was created").nullable().optional(),
41
+ parentNote: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Grandparent note if parent is also a reply").nullable().optional(),
42
+ visibility: zod.z.enum(["public", "private"]).describe("Visibility of the parent note").nullable().optional()
43
+ }).describe("Parent note information if this note is a reply.");
44
+ const FolkGetNote_GetNoteDataSchema = zod.z.object({
45
+ id: zod.z.string().describe("Unique identifier of the note"),
46
+ author: zod.z.union([
47
+ FolkGetNote_GetNoteActiveUserSchema,
48
+ FolkGetNote_GetNoteDeletedUserSchema,
49
+ FolkGetNote_GetNoteAssistantSchema
50
+ ]),
51
+ entity: FolkGetNote_GetNoteEntitySchema.nullable(),
52
+ content: zod.z.string().describe("Note content in text or markdown format"),
53
+ createdAt: zod.z.string().describe("ISO 8601 timestamp when the note was created").nullable().optional(),
54
+ parentNote: FolkGetNote_GetNoteParentNoteSchema.nullable().optional(),
55
+ visibility: zod.z.enum(["public", "private"]).describe("Visibility setting for the note")
56
+ }).describe("Note data object returned by the API.");
57
+ const FolkGetNoteOutput = zod.z.object({
58
+ data: FolkGetNote_GetNoteDataSchema.nullable(),
59
+ deprecations: zod.z.array(zod.z.string()).describe("List of deprecation warnings, if any").nullable().optional()
60
+ }).describe("Full response schema for get-note endpoint.");
61
+ const folkGetNote = require_action.action("FOLK_GET_NOTE", {
62
+ slug: "folk-get-note",
63
+ name: "Get Note",
64
+ description: "Tool to retrieve an existing note by its ID. Use when you need the full content and metadata of a specific note.",
65
+ input: FolkGetNoteInput,
66
+ output: FolkGetNoteOutput
67
+ });
68
+ //#endregion
69
+ exports.folkGetNote = folkGetNote;
70
+
71
+ //# sourceMappingURL=get-note.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-note.cjs","names":["z","action"],"sources":["../../src/actions/get-note.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FolkGetNoteInput: z.ZodTypeAny = z.object({\n note_id: z.string().describe(\"The ID of the note to retrieve. Must be exactly 40 characters long.\"),\n}).describe(\"Request parameters for retrieving a note by its ID.\");\nconst FolkGetNote_GetNoteActiveUserSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"User identifier\"),\n type: z.string().describe(\"Author type for active user\"),\n email: z.string().describe(\"User's email address\"),\n deleted: z.boolean().describe(\"User deletion status\"),\n fullName: z.string().describe(\"User's full name\"),\n}).describe(\"Active user author information.\");\nconst FolkGetNote_GetNoteDeletedUserSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"User identifier\"),\n type: z.string().describe(\"Author type for deleted user\"),\n deleted: z.boolean().describe(\"User deletion status\"),\n}).describe(\"Deleted user author information.\");\nconst FolkGetNote_GetNoteAssistantSchema: z.ZodTypeAny = z.object({\n type: z.string().describe(\"Author type for assistant\"),\n fullName: z.string().describe(\"Assistant's display name\"),\n}).describe(\"Assistant author information.\");\nconst FolkGetNote_GetNoteEntitySchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Entity identifier (40 characters)\"),\n fullName: z.string().describe(\"Full name of the entity\"),\n entityType: z.enum([\"person\", \"company\", \"object\"]).describe(\"Type of entity the note is attached to\"),\n}).describe(\"Entity (person, company, or object) associated with the note.\");\nconst FolkGetNote_GetNoteParentNoteSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Parent note identifier\"),\n author: z.union([FolkGetNote_GetNoteActiveUserSchema, FolkGetNote_GetNoteDeletedUserSchema, FolkGetNote_GetNoteAssistantSchema]).nullable().optional(),\n entity: FolkGetNote_GetNoteEntitySchema.nullable().optional(),\n content: z.string().describe(\"Parent note content\").nullable().optional(),\n deleted: z.boolean().describe(\"Whether the parent note has been deleted\").nullable().optional(),\n createdAt: z.string().describe(\"ISO 8601 timestamp when the parent note was created\").nullable().optional(),\n parentNote: z.record(z.string(), z.unknown()).describe(\"Grandparent note if parent is also a reply\").nullable().optional(),\n visibility: z.enum([\"public\", \"private\"]).describe(\"Visibility of the parent note\").nullable().optional(),\n}).describe(\"Parent note information if this note is a reply.\");\nconst FolkGetNote_GetNoteDataSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier of the note\"),\n author: z.union([FolkGetNote_GetNoteActiveUserSchema, FolkGetNote_GetNoteDeletedUserSchema, FolkGetNote_GetNoteAssistantSchema]),\n entity: FolkGetNote_GetNoteEntitySchema.nullable(),\n content: z.string().describe(\"Note content in text or markdown format\"),\n createdAt: z.string().describe(\"ISO 8601 timestamp when the note was created\").nullable().optional(),\n parentNote: FolkGetNote_GetNoteParentNoteSchema.nullable().optional(),\n visibility: z.enum([\"public\", \"private\"]).describe(\"Visibility setting for the note\"),\n}).describe(\"Note data object returned by the API.\");\nexport const FolkGetNoteOutput: z.ZodTypeAny = z.object({\n data: FolkGetNote_GetNoteDataSchema.nullable(),\n deprecations: z.array(z.string()).describe(\"List of deprecation warnings, if any\").nullable().optional(),\n}).describe(\"Full response schema for get-note endpoint.\");\n\nexport const folkGetNote = action(\"FOLK_GET_NOTE\", {\n slug: \"folk-get-note\",\n name: \"Get Note\",\n description: \"Tool to retrieve an existing note by its ID. Use when you need the full content and metadata of a specific note.\",\n input: FolkGetNoteInput,\n output: FolkGetNoteOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mBAAiCA,IAAAA,EAAE,OAAO,EACrD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,EACpG,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAM,sCAAoDA,IAAAA,EAAE,OAAO;CACjE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB;CACzC,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B;CACvD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB;CACjD,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,sBAAsB;CACpD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB;AAClD,CAAC,CAAC,CAAC,SAAS,iCAAiC;AAC7C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1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-note.d.ts
4
+ declare const FolkGetNoteInput: z.ZodTypeAny;
5
+ declare const FolkGetNoteOutput: z.ZodTypeAny;
6
+ declare const folkGetNote: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { folkGetNote };
9
+ //# sourceMappingURL=get-note.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-note.d.cts","names":[],"sources":["../../src/actions/get-note.ts"],"mappings":";;;cAIa,gBAAA,EAAkB,CAAA,CAAE,UAEiC;AAAA,cAyCrD,iBAAA,EAAmB,CAAA,CAAE,UAGwB;AAAA,cAE7C,WAAA,gCAAW,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-note.d.ts
4
+ declare const FolkGetNoteInput: z.ZodTypeAny;
5
+ declare const FolkGetNoteOutput: z.ZodTypeAny;
6
+ declare const folkGetNote: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { folkGetNote };
9
+ //# sourceMappingURL=get-note.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-note.d.mts","names":[],"sources":["../../src/actions/get-note.ts"],"mappings":";;;cAIa,gBAAA,EAAkB,CAAA,CAAE,UAEiC;AAAA,cAyCrD,iBAAA,EAAmB,CAAA,CAAE,UAGwB;AAAA,cAE7C,WAAA,gCAAW,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,70 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/get-note.ts
4
+ const FolkGetNoteInput = z.object({ note_id: z.string().describe("The ID of the note to retrieve. Must be exactly 40 characters long.") }).describe("Request parameters for retrieving a note by its ID.");
5
+ const FolkGetNote_GetNoteActiveUserSchema = z.object({
6
+ id: z.string().describe("User identifier"),
7
+ type: z.string().describe("Author type for active user"),
8
+ email: z.string().describe("User's email address"),
9
+ deleted: z.boolean().describe("User deletion status"),
10
+ fullName: z.string().describe("User's full name")
11
+ }).describe("Active user author information.");
12
+ const FolkGetNote_GetNoteDeletedUserSchema = z.object({
13
+ id: z.string().describe("User identifier"),
14
+ type: z.string().describe("Author type for deleted user"),
15
+ deleted: z.boolean().describe("User deletion status")
16
+ }).describe("Deleted user author information.");
17
+ const FolkGetNote_GetNoteAssistantSchema = z.object({
18
+ type: z.string().describe("Author type for assistant"),
19
+ fullName: z.string().describe("Assistant's display name")
20
+ }).describe("Assistant author information.");
21
+ const FolkGetNote_GetNoteEntitySchema = z.object({
22
+ id: z.string().describe("Entity identifier (40 characters)"),
23
+ fullName: z.string().describe("Full name of the entity"),
24
+ entityType: z.enum([
25
+ "person",
26
+ "company",
27
+ "object"
28
+ ]).describe("Type of entity the note is attached to")
29
+ }).describe("Entity (person, company, or object) associated with the note.");
30
+ const FolkGetNote_GetNoteParentNoteSchema = z.object({
31
+ id: z.string().describe("Parent note identifier"),
32
+ author: z.union([
33
+ FolkGetNote_GetNoteActiveUserSchema,
34
+ FolkGetNote_GetNoteDeletedUserSchema,
35
+ FolkGetNote_GetNoteAssistantSchema
36
+ ]).nullable().optional(),
37
+ entity: FolkGetNote_GetNoteEntitySchema.nullable().optional(),
38
+ content: z.string().describe("Parent note content").nullable().optional(),
39
+ deleted: z.boolean().describe("Whether the parent note has been deleted").nullable().optional(),
40
+ createdAt: z.string().describe("ISO 8601 timestamp when the parent note was created").nullable().optional(),
41
+ parentNote: z.record(z.string(), z.unknown()).describe("Grandparent note if parent is also a reply").nullable().optional(),
42
+ visibility: z.enum(["public", "private"]).describe("Visibility of the parent note").nullable().optional()
43
+ }).describe("Parent note information if this note is a reply.");
44
+ const FolkGetNote_GetNoteDataSchema = z.object({
45
+ id: z.string().describe("Unique identifier of the note"),
46
+ author: z.union([
47
+ FolkGetNote_GetNoteActiveUserSchema,
48
+ FolkGetNote_GetNoteDeletedUserSchema,
49
+ FolkGetNote_GetNoteAssistantSchema
50
+ ]),
51
+ entity: FolkGetNote_GetNoteEntitySchema.nullable(),
52
+ content: z.string().describe("Note content in text or markdown format"),
53
+ createdAt: z.string().describe("ISO 8601 timestamp when the note was created").nullable().optional(),
54
+ parentNote: FolkGetNote_GetNoteParentNoteSchema.nullable().optional(),
55
+ visibility: z.enum(["public", "private"]).describe("Visibility setting for the note")
56
+ }).describe("Note data object returned by the API.");
57
+ const folkGetNote = action("FOLK_GET_NOTE", {
58
+ slug: "folk-get-note",
59
+ name: "Get Note",
60
+ description: "Tool to retrieve an existing note by its ID. Use when you need the full content and metadata of a specific note.",
61
+ input: FolkGetNoteInput,
62
+ output: z.object({
63
+ data: FolkGetNote_GetNoteDataSchema.nullable(),
64
+ deprecations: z.array(z.string()).describe("List of deprecation warnings, if any").nullable().optional()
65
+ }).describe("Full response schema for get-note endpoint.")
66
+ });
67
+ //#endregion
68
+ export { folkGetNote };
69
+
70
+ //# sourceMappingURL=get-note.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-note.mjs","names":[],"sources":["../../src/actions/get-note.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FolkGetNoteInput: z.ZodTypeAny = z.object({\n note_id: z.string().describe(\"The ID of the note to retrieve. Must be exactly 40 characters long.\"),\n}).describe(\"Request parameters for retrieving a note by its ID.\");\nconst FolkGetNote_GetNoteActiveUserSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"User identifier\"),\n type: z.string().describe(\"Author type for active user\"),\n email: z.string().describe(\"User's email address\"),\n deleted: z.boolean().describe(\"User deletion status\"),\n fullName: z.string().describe(\"User's full name\"),\n}).describe(\"Active user author information.\");\nconst FolkGetNote_GetNoteDeletedUserSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"User identifier\"),\n type: z.string().describe(\"Author type for deleted user\"),\n deleted: z.boolean().describe(\"User deletion status\"),\n}).describe(\"Deleted user author information.\");\nconst FolkGetNote_GetNoteAssistantSchema: z.ZodTypeAny = z.object({\n type: z.string().describe(\"Author type for assistant\"),\n fullName: z.string().describe(\"Assistant's display name\"),\n}).describe(\"Assistant author information.\");\nconst FolkGetNote_GetNoteEntitySchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Entity identifier (40 characters)\"),\n fullName: z.string().describe(\"Full name of the entity\"),\n entityType: z.enum([\"person\", \"company\", \"object\"]).describe(\"Type of entity the note is attached to\"),\n}).describe(\"Entity (person, company, or object) associated with the note.\");\nconst FolkGetNote_GetNoteParentNoteSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Parent note identifier\"),\n author: z.union([FolkGetNote_GetNoteActiveUserSchema, FolkGetNote_GetNoteDeletedUserSchema, FolkGetNote_GetNoteAssistantSchema]).nullable().optional(),\n entity: FolkGetNote_GetNoteEntitySchema.nullable().optional(),\n content: z.string().describe(\"Parent note content\").nullable().optional(),\n deleted: z.boolean().describe(\"Whether the parent note has been deleted\").nullable().optional(),\n createdAt: z.string().describe(\"ISO 8601 timestamp when the parent note was created\").nullable().optional(),\n parentNote: z.record(z.string(), z.unknown()).describe(\"Grandparent note if parent is also a reply\").nullable().optional(),\n visibility: z.enum([\"public\", \"private\"]).describe(\"Visibility of the parent note\").nullable().optional(),\n}).describe(\"Parent note information if this note is a reply.\");\nconst FolkGetNote_GetNoteDataSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier of the note\"),\n author: z.union([FolkGetNote_GetNoteActiveUserSchema, FolkGetNote_GetNoteDeletedUserSchema, FolkGetNote_GetNoteAssistantSchema]),\n entity: FolkGetNote_GetNoteEntitySchema.nullable(),\n content: z.string().describe(\"Note content in text or markdown format\"),\n createdAt: z.string().describe(\"ISO 8601 timestamp when the note was created\").nullable().optional(),\n parentNote: FolkGetNote_GetNoteParentNoteSchema.nullable().optional(),\n visibility: z.enum([\"public\", \"private\"]).describe(\"Visibility setting for the note\"),\n}).describe(\"Note data object returned by the API.\");\nexport const FolkGetNoteOutput: z.ZodTypeAny = z.object({\n data: FolkGetNote_GetNoteDataSchema.nullable(),\n deprecations: z.array(z.string()).describe(\"List of deprecation warnings, if any\").nullable().optional(),\n}).describe(\"Full response schema for get-note endpoint.\");\n\nexport const folkGetNote = action(\"FOLK_GET_NOTE\", {\n slug: \"folk-get-note\",\n name: \"Get Note\",\n description: \"Tool to retrieve an existing note by its ID. Use when you need the full content and metadata of a specific note.\",\n input: FolkGetNoteInput,\n output: FolkGetNoteOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mBAAiC,EAAE,OAAO,EACrD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,EACpG,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAM,sCAAoD,EAAE,OAAO;CACjE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB;CACzC,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B;CACvD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB;CACjD,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,sBAAsB;CACpD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB;AAClD,CAAC,CAAC,CAAC,SAAS,iCAAiC;AAC7C,MAAM,uCAAqD,EAAE,OAAO;CAClE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB;CACzC,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B;CACxD,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,sBAAsB;AACtD,CAAC,CAAC,CAAC,SAAS,kCAAkC;AAC9C,MAAM,qCAAmD,EAAE,OAAO;CAChE,MAAM,EAAE,OAAO,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AAQ,EAAE,MAAM;EAAC;EAAqC;EAAsC;CAAkC,CAAC;CAC/H,QAAQ,gCAAgC,SAAS;CACjD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC;CACtE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,YAAY,oCAAoC,SAAS,CAAC,CAAC,SAAS;CACpE,YAAY,EAAE,KAAK,CAAC,UAAU,SAAS,CAAC,CAAC,CAAC,SAAS,iCAAiC;AACtF,CAAC,CAAC,CAAC,SAAS,uCAAuC;AAMnD,MAAa,cAAc,OAAO,iBAAiB;CACjD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV6C,EAAE,OAAO;EACtD,MAAM,8BAA8B,SAAS;EAC7C,cAAc,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,CAAC,CAAC,CAAC,SAAS,6CAOF;AACV,CAAC"}
@@ -0,0 +1,48 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/get-person.ts
4
+ const FolkGetPersonInput = zod.z.object({ person_id: zod.z.string().describe("The unique identifier of the person to retrieve. Must be exactly 40 characters long (format: per_XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX)") }).describe("Request schema for retrieving a person by their unique ID.");
5
+ const FolkGetPerson_GroupItemSchema = zod.z.object({
6
+ id: zod.z.string().describe("The group's unique identifier"),
7
+ name: zod.z.string().describe("The group's name")
8
+ }).describe("A group that a person belongs to.");
9
+ const FolkGetPerson_CompanyItemSchema = zod.z.object({
10
+ id: zod.z.string().describe("The company's unique identifier"),
11
+ name: zod.z.string().describe("The company's name")
12
+ }).describe("A company associated with a person.");
13
+ const FolkGetPerson_CreatedByUserSchema = zod.z.object({
14
+ id: zod.z.string().describe("The user's unique identifier"),
15
+ email: zod.z.string().describe("The user's email address"),
16
+ fullName: zod.z.string().describe("The user's full name")
17
+ }).describe("User information for the person who created this record.");
18
+ const FolkGetPersonOutput = zod.z.object({
19
+ id: zod.z.string().describe("The unique identifier of the person"),
20
+ urls: zod.z.array(zod.z.string()).describe("A list of URLs associated with the person (websites, social profiles, etc.)").nullable().optional(),
21
+ emails: zod.z.array(zod.z.string()).describe("A list of the person's email addresses").nullable().optional(),
22
+ groups: zod.z.array(FolkGetPerson_GroupItemSchema).describe("A list of groups the person belongs to").nullable().optional(),
23
+ phones: zod.z.array(zod.z.string()).describe("A list of the person's phone numbers").nullable().optional(),
24
+ birthday: zod.z.string().describe("The person's birthday as an ISO8601 date string (YYYY-MM-DD), or null if not set").nullable().optional(),
25
+ fullName: zod.z.string().describe("The person's full name").nullable().optional(),
26
+ jobTitle: zod.z.string().describe("The person's job title").nullable().optional(),
27
+ lastName: zod.z.string().describe("The person's last name").nullable().optional(),
28
+ addresses: zod.z.array(zod.z.string()).describe("A list of the person's street addresses").nullable().optional(),
29
+ companies: zod.z.array(FolkGetPerson_CompanyItemSchema).describe("A list of companies associated with the person").nullable().optional(),
30
+ createdAt: zod.z.string().describe("ISO8601 timestamp of when this person record was created").nullable().optional(),
31
+ createdBy: FolkGetPerson_CreatedByUserSchema.nullable().optional(),
32
+ firstName: zod.z.string().describe("The person's first name").nullable().optional(),
33
+ description: zod.z.string().describe("A description of the person").nullable().optional(),
34
+ customFieldValues: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Custom field values organized by group ID, containing key-value pairs specific to each group").nullable().optional(),
35
+ interactionMetadata: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Metadata about interactions with this person, including counts and timestamps").nullable().optional(),
36
+ strongestConnection: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Information about the strongest connection to this person").nullable().optional()
37
+ }).describe("Response schema for retrieving a person by ID.");
38
+ const folkGetPerson = require_action.action("FOLK_GET_PERSON", {
39
+ slug: "folk-get-person",
40
+ name: "Get Person",
41
+ description: "Tool to retrieve an existing person by their ID. Use when you need full profile details of a person by their unique identifier.",
42
+ input: FolkGetPersonInput,
43
+ output: FolkGetPersonOutput
44
+ });
45
+ //#endregion
46
+ exports.folkGetPerson = folkGetPerson;
47
+
48
+ //# sourceMappingURL=get-person.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-person.cjs","names":["z","action"],"sources":["../../src/actions/get-person.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FolkGetPersonInput: z.ZodTypeAny = z.object({\n person_id: z.string().describe(\"The unique identifier of the person to retrieve. Must be exactly 40 characters long (format: per_XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX)\"),\n}).describe(\"Request schema for retrieving a person by their unique ID.\");\nconst FolkGetPerson_GroupItemSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The group's unique identifier\"),\n name: z.string().describe(\"The group's name\"),\n}).describe(\"A group that a person belongs to.\");\nconst FolkGetPerson_CompanyItemSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The company's unique identifier\"),\n name: z.string().describe(\"The company's name\"),\n}).describe(\"A company associated with a person.\");\nconst FolkGetPerson_CreatedByUserSchema: 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.\");\nexport const FolkGetPersonOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier of the person\"),\n urls: z.array(z.string()).describe(\"A list of URLs associated with the person (websites, social profiles, etc.)\").nullable().optional(),\n emails: z.array(z.string()).describe(\"A list of the person's email addresses\").nullable().optional(),\n groups: z.array(FolkGetPerson_GroupItemSchema).describe(\"A list of groups the person belongs to\").nullable().optional(),\n phones: z.array(z.string()).describe(\"A list of the person's phone numbers\").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(\"A list of the person's street addresses\").nullable().optional(),\n companies: z.array(FolkGetPerson_CompanyItemSchema).describe(\"A list of 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: FolkGetPerson_CreatedByUserSchema.nullable().optional(),\n firstName: z.string().describe(\"The person's first name\").nullable().optional(),\n description: z.string().describe(\"A description of the person\").nullable().optional(),\n customFieldValues: z.record(z.string(), z.unknown()).describe(\"Custom field values organized by group ID, containing key-value pairs specific to each group\").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(\"Response schema for retrieving a person by ID.\");\n\nexport const folkGetPerson = action(\"FOLK_GET_PERSON\", {\n slug: \"folk-get-person\",\n name: \"Get Person\",\n description: \"Tool to retrieve an existing person by their ID. Use when you need full profile details of a person by their unique identifier.\",\n input: FolkGetPersonInput,\n output: FolkGetPersonOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qBAAmCA,IAAAA,EAAE,OAAO,EACvD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wIAAwI,EACzK,CAAC,CAAC,CAAC,SAAS,4DAA4D;AACxE,MAAM,gCAA8CA,IAAAA,EAAE,OAAO;CAC3D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;CACvD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB;AAC9C,CAAC,CAAC,CAAC,SAAS,mCAAmC;AAC/C,MAAM,kCAAgDA,IAAAA,EAAE,OAAO;CAC7D,IAAIA,IAAAA,EAAE,OAAO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;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-person.d.ts
4
+ declare const FolkGetPersonInput: z.ZodTypeAny;
5
+ declare const FolkGetPersonOutput: z.ZodTypeAny;
6
+ declare const folkGetPerson: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { folkGetPerson };
9
+ //# sourceMappingURL=get-person.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-person.d.cts","names":[],"sources":["../../src/actions/get-person.ts"],"mappings":";;;cAIa,kBAAA,EAAoB,CAAA,CAAE,UAEsC;AAAA,cAc5D,mBAAA,EAAqB,CAAA,CAAE,UAmByB;AAAA,cAEhD,aAAA,gCAAa,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-person.d.ts
4
+ declare const FolkGetPersonInput: z.ZodTypeAny;
5
+ declare const FolkGetPersonOutput: z.ZodTypeAny;
6
+ declare const folkGetPerson: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { folkGetPerson };
9
+ //# sourceMappingURL=get-person.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-person.d.mts","names":[],"sources":["../../src/actions/get-person.ts"],"mappings":";;;cAIa,kBAAA,EAAoB,CAAA,CAAE,UAEsC;AAAA,cAc5D,mBAAA,EAAqB,CAAA,CAAE,UAmByB;AAAA,cAEhD,aAAA,gCAAa,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,47 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/get-person.ts
4
+ const FolkGetPersonInput = z.object({ person_id: z.string().describe("The unique identifier of the person to retrieve. Must be exactly 40 characters long (format: per_XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX)") }).describe("Request schema for retrieving a person by their unique ID.");
5
+ const FolkGetPerson_GroupItemSchema = z.object({
6
+ id: z.string().describe("The group's unique identifier"),
7
+ name: z.string().describe("The group's name")
8
+ }).describe("A group that a person belongs to.");
9
+ const FolkGetPerson_CompanyItemSchema = z.object({
10
+ id: z.string().describe("The company's unique identifier"),
11
+ name: z.string().describe("The company's name")
12
+ }).describe("A company associated with a person.");
13
+ const FolkGetPerson_CreatedByUserSchema = z.object({
14
+ id: z.string().describe("The user's unique identifier"),
15
+ email: z.string().describe("The user's email address"),
16
+ fullName: z.string().describe("The user's full name")
17
+ }).describe("User information for the person who created this record.");
18
+ const folkGetPerson = action("FOLK_GET_PERSON", {
19
+ slug: "folk-get-person",
20
+ name: "Get Person",
21
+ description: "Tool to retrieve an existing person by their ID. Use when you need full profile details of a person by their unique identifier.",
22
+ input: FolkGetPersonInput,
23
+ output: z.object({
24
+ id: z.string().describe("The unique identifier of the person"),
25
+ urls: z.array(z.string()).describe("A list of URLs associated with the person (websites, social profiles, etc.)").nullable().optional(),
26
+ emails: z.array(z.string()).describe("A list of the person's email addresses").nullable().optional(),
27
+ groups: z.array(FolkGetPerson_GroupItemSchema).describe("A list of groups the person belongs to").nullable().optional(),
28
+ phones: z.array(z.string()).describe("A list of the person's phone numbers").nullable().optional(),
29
+ birthday: z.string().describe("The person's birthday as an ISO8601 date string (YYYY-MM-DD), or null if not set").nullable().optional(),
30
+ fullName: z.string().describe("The person's full name").nullable().optional(),
31
+ jobTitle: z.string().describe("The person's job title").nullable().optional(),
32
+ lastName: z.string().describe("The person's last name").nullable().optional(),
33
+ addresses: z.array(z.string()).describe("A list of the person's street addresses").nullable().optional(),
34
+ companies: z.array(FolkGetPerson_CompanyItemSchema).describe("A list of companies associated with the person").nullable().optional(),
35
+ createdAt: z.string().describe("ISO8601 timestamp of when this person record was created").nullable().optional(),
36
+ createdBy: FolkGetPerson_CreatedByUserSchema.nullable().optional(),
37
+ firstName: z.string().describe("The person's first name").nullable().optional(),
38
+ description: z.string().describe("A description of the person").nullable().optional(),
39
+ customFieldValues: z.record(z.string(), z.unknown()).describe("Custom field values organized by group ID, containing key-value pairs specific to each group").nullable().optional(),
40
+ interactionMetadata: z.record(z.string(), z.unknown()).describe("Metadata about interactions with this person, including counts and timestamps").nullable().optional(),
41
+ strongestConnection: z.record(z.string(), z.unknown()).describe("Information about the strongest connection to this person").nullable().optional()
42
+ }).describe("Response schema for retrieving a person by ID.")
43
+ });
44
+ //#endregion
45
+ export { folkGetPerson };
46
+
47
+ //# sourceMappingURL=get-person.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-person.mjs","names":[],"sources":["../../src/actions/get-person.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FolkGetPersonInput: z.ZodTypeAny = z.object({\n person_id: z.string().describe(\"The unique identifier of the person to retrieve. Must be exactly 40 characters long (format: per_XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX)\"),\n}).describe(\"Request schema for retrieving a person by their unique ID.\");\nconst FolkGetPerson_GroupItemSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The group's unique identifier\"),\n name: z.string().describe(\"The group's name\"),\n}).describe(\"A group that a person belongs to.\");\nconst FolkGetPerson_CompanyItemSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The company's unique identifier\"),\n name: z.string().describe(\"The company's name\"),\n}).describe(\"A company associated with a person.\");\nconst FolkGetPerson_CreatedByUserSchema: 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.\");\nexport const FolkGetPersonOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier of the person\"),\n urls: z.array(z.string()).describe(\"A list of URLs associated with the person (websites, social profiles, etc.)\").nullable().optional(),\n emails: z.array(z.string()).describe(\"A list of the person's email addresses\").nullable().optional(),\n groups: z.array(FolkGetPerson_GroupItemSchema).describe(\"A list of groups the person belongs to\").nullable().optional(),\n phones: z.array(z.string()).describe(\"A list of the person's phone numbers\").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(\"A list of the person's street addresses\").nullable().optional(),\n companies: z.array(FolkGetPerson_CompanyItemSchema).describe(\"A list of 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: FolkGetPerson_CreatedByUserSchema.nullable().optional(),\n firstName: z.string().describe(\"The person's first name\").nullable().optional(),\n description: z.string().describe(\"A description of the person\").nullable().optional(),\n customFieldValues: z.record(z.string(), z.unknown()).describe(\"Custom field values organized by group ID, containing key-value pairs specific to each group\").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(\"Response schema for retrieving a person by ID.\");\n\nexport const folkGetPerson = action(\"FOLK_GET_PERSON\", {\n slug: \"folk-get-person\",\n name: \"Get Person\",\n description: \"Tool to retrieve an existing person by their ID. Use when you need full profile details of a person by their unique identifier.\",\n input: FolkGetPersonInput,\n output: FolkGetPersonOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qBAAmC,EAAE,OAAO,EACvD,WAAW,EAAE,OAAO,CAA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C,SAAS,gDAOF;AACV,CAAC"}
@@ -0,0 +1,24 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/get-user.ts
4
+ const FolkGetUserInput = zod.z.object({ user_id: zod.z.string().describe("The unique identifier of the user to retrieve") }).describe("Request schema for retrieving a user by their unique identifier.");
5
+ const FolkGetUser_UserDataSchema = zod.z.object({
6
+ id: zod.z.string().describe("Unique identifier of the user"),
7
+ email: zod.z.string().describe("Email address of the user"),
8
+ fullName: zod.z.string().describe("Full name of the user")
9
+ }).describe("Representation of a workspace user.");
10
+ const FolkGetUserOutput = zod.z.object({
11
+ data: FolkGetUser_UserDataSchema.nullable(),
12
+ deprecations: zod.z.array(zod.z.string()).describe("Deprecation warnings, if any").nullable().optional()
13
+ }).describe("Response schema for retrieving a user by ID.");
14
+ const folkGetUser = require_action.action("FOLK_GET_USER", {
15
+ slug: "folk-get-user",
16
+ name: "Get User",
17
+ description: "Tool to retrieve a user by their unique identifier. Use when you need to get details of a specific workspace user.",
18
+ input: FolkGetUserInput,
19
+ output: FolkGetUserOutput
20
+ });
21
+ //#endregion
22
+ exports.folkGetUser = folkGetUser;
23
+
24
+ //# sourceMappingURL=get-user.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-user.cjs","names":["z","action"],"sources":["../../src/actions/get-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FolkGetUserInput: z.ZodTypeAny = z.object({\n user_id: z.string().describe(\"The unique identifier of the user to retrieve\"),\n}).describe(\"Request schema for retrieving a user by their unique identifier.\");\nconst FolkGetUser_UserDataSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier of the user\"),\n email: z.string().describe(\"Email address of the user\"),\n fullName: z.string().describe(\"Full name of the user\"),\n}).describe(\"Representation of a workspace user.\");\nexport const FolkGetUserOutput: z.ZodTypeAny = z.object({\n data: FolkGetUser_UserDataSchema.nullable(),\n deprecations: z.array(z.string()).describe(\"Deprecation warnings, if any\").nullable().optional(),\n}).describe(\"Response schema for retrieving a user by ID.\");\n\nexport const folkGetUser = action(\"FOLK_GET_USER\", {\n slug: \"folk-get-user\",\n name: \"Get User\",\n description: \"Tool to retrieve a user by their unique identifier. Use when you need to get details of a specific workspace user.\",\n input: FolkGetUserInput,\n output: FolkGetUserOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mBAAiCA,IAAAA,EAAE,OAAO,EACrD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,EAC9E,CAAC,CAAC,CAAC,SAAS,kEAAkE;AAC9E,MAAM,6BAA2CA,IAAAA,EAAE,OAAO;CACxD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;CACvD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;CACtD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB;AACvD,CAAC,CAAC,CAAC,SAAS,qCAAqC;AACjD,MAAa,oBAAkCA,IAAAA,EAAE,OAAO;CACtD,MAAM,2BAA2B,SAAS;CAC1C,cAAcA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjG,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAE1D,MAAa,cAAcC,eAAAA,OAAO,iBAAiB;CACjD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-user.d.ts
4
+ declare const FolkGetUserInput: z.ZodTypeAny;
5
+ declare const FolkGetUserOutput: z.ZodTypeAny;
6
+ declare const folkGetUser: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { folkGetUser };
9
+ //# sourceMappingURL=get-user.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-user.d.cts","names":[],"sources":["../../src/actions/get-user.ts"],"mappings":";;;cAIa,gBAAA,EAAkB,CAAA,CAAE,UAE8C;AAAA,cAMlE,iBAAA,EAAmB,CAAA,CAAE,UAGyB;AAAA,cAE9C,WAAA,gCAAW,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-user.d.ts
4
+ declare const FolkGetUserInput: z.ZodTypeAny;
5
+ declare const FolkGetUserOutput: z.ZodTypeAny;
6
+ declare const folkGetUser: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { folkGetUser };
9
+ //# sourceMappingURL=get-user.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-user.d.mts","names":[],"sources":["../../src/actions/get-user.ts"],"mappings":";;;cAIa,gBAAA,EAAkB,CAAA,CAAE,UAE8C;AAAA,cAMlE,iBAAA,EAAmB,CAAA,CAAE,UAGyB;AAAA,cAE9C,WAAA,gCAAW,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,23 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/get-user.ts
4
+ const FolkGetUserInput = z.object({ user_id: z.string().describe("The unique identifier of the user to retrieve") }).describe("Request schema for retrieving a user by their unique identifier.");
5
+ const FolkGetUser_UserDataSchema = z.object({
6
+ id: z.string().describe("Unique identifier of the user"),
7
+ email: z.string().describe("Email address of the user"),
8
+ fullName: z.string().describe("Full name of the user")
9
+ }).describe("Representation of a workspace user.");
10
+ const folkGetUser = action("FOLK_GET_USER", {
11
+ slug: "folk-get-user",
12
+ name: "Get User",
13
+ description: "Tool to retrieve a user by their unique identifier. Use when you need to get details of a specific workspace user.",
14
+ input: FolkGetUserInput,
15
+ output: z.object({
16
+ data: FolkGetUser_UserDataSchema.nullable(),
17
+ deprecations: z.array(z.string()).describe("Deprecation warnings, if any").nullable().optional()
18
+ }).describe("Response schema for retrieving a user by ID.")
19
+ });
20
+ //#endregion
21
+ export { folkGetUser };
22
+
23
+ //# sourceMappingURL=get-user.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-user.mjs","names":[],"sources":["../../src/actions/get-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FolkGetUserInput: z.ZodTypeAny = z.object({\n user_id: z.string().describe(\"The unique identifier of the user to retrieve\"),\n}).describe(\"Request schema for retrieving a user by their unique identifier.\");\nconst FolkGetUser_UserDataSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier of the user\"),\n email: z.string().describe(\"Email address of the user\"),\n fullName: z.string().describe(\"Full name of the user\"),\n}).describe(\"Representation of a workspace user.\");\nexport const FolkGetUserOutput: z.ZodTypeAny = z.object({\n data: FolkGetUser_UserDataSchema.nullable(),\n deprecations: z.array(z.string()).describe(\"Deprecation warnings, if any\").nullable().optional(),\n}).describe(\"Response schema for retrieving a user by ID.\");\n\nexport const folkGetUser = action(\"FOLK_GET_USER\", {\n slug: \"folk-get-user\",\n name: \"Get User\",\n description: \"Tool to retrieve a user by their unique identifier. Use when you need to get details of a specific workspace user.\",\n input: FolkGetUserInput,\n output: FolkGetUserOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mBAAiC,EAAE,OAAO,EACrD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,EAC9E,CAAC,CAAC,CAAC,SAAS,kEAAkE;AAC9E,MAAM,6BAA2C,EAAE,OAAO;CACxD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;CACvD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;CACtD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB;AACvD,CAAC,CAAC,CAAC,SAAS,qCAAqC;AAMjD,MAAa,cAAc,OAAO,iBAAiB;CACjD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV6C,EAAE,OAAO;EACtD,MAAM,2BAA2B,SAAS;EAC1C,cAAc,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,CAAC,CAAC,CAAC,SAAS,8CAOF;AACV,CAAC"}
@@ -0,0 +1,47 @@
1
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
+ const require_create_company = require("./create-company.cjs");
3
+ const require_create_note = require("./create-note.cjs");
4
+ const require_create_person = require("./create-person.cjs");
5
+ const require_delete_company = require("./delete-company.cjs");
6
+ const require_delete_note = require("./delete-note.cjs");
7
+ const require_delete_person = require("./delete-person.cjs");
8
+ const require_delete_reminder = require("./delete-reminder.cjs");
9
+ const require_get_company = require("./get-company.cjs");
10
+ const require_get_current_workspace_user = require("./get-current-workspace-user.cjs");
11
+ const require_get_note = require("./get-note.cjs");
12
+ const require_get_person = require("./get-person.cjs");
13
+ const require_get_user = require("./get-user.cjs");
14
+ const require_list_companies = require("./list-companies.cjs");
15
+ const require_list_group_custom_fields = require("./list-group-custom-fields.cjs");
16
+ const require_list_groups = require("./list-groups.cjs");
17
+ const require_list_notes = require("./list-notes.cjs");
18
+ const require_list_people = require("./list-people.cjs");
19
+ const require_list_reminders = require("./list-reminders.cjs");
20
+ const require_list_users = require("./list-users.cjs");
21
+ const require_list_webhooks = require("./list-webhooks.cjs");
22
+ const require_update_company = require("./update-company.cjs");
23
+ const require_update_note = require("./update-note.cjs");
24
+ const require_update_person = require("./update-person.cjs");
25
+ exports.folkCreateCompany = require_create_company.folkCreateCompany;
26
+ exports.folkCreateNote = require_create_note.folkCreateNote;
27
+ exports.folkCreatePerson = require_create_person.folkCreatePerson;
28
+ exports.folkDeleteCompany = require_delete_company.folkDeleteCompany;
29
+ exports.folkDeleteNote = require_delete_note.folkDeleteNote;
30
+ exports.folkDeletePerson = require_delete_person.folkDeletePerson;
31
+ exports.folkDeleteReminder = require_delete_reminder.folkDeleteReminder;
32
+ exports.folkGetCompany = require_get_company.folkGetCompany;
33
+ exports.folkGetCurrentWorkspaceUser = require_get_current_workspace_user.folkGetCurrentWorkspaceUser;
34
+ exports.folkGetNote = require_get_note.folkGetNote;
35
+ exports.folkGetPerson = require_get_person.folkGetPerson;
36
+ exports.folkGetUser = require_get_user.folkGetUser;
37
+ exports.folkListCompanies = require_list_companies.folkListCompanies;
38
+ exports.folkListGroupCustomFields = require_list_group_custom_fields.folkListGroupCustomFields;
39
+ exports.folkListGroups = require_list_groups.folkListGroups;
40
+ exports.folkListNotes = require_list_notes.folkListNotes;
41
+ exports.folkListPeople = require_list_people.folkListPeople;
42
+ exports.folkListReminders = require_list_reminders.folkListReminders;
43
+ exports.folkListUsers = require_list_users.folkListUsers;
44
+ exports.folkListWebhooks = require_list_webhooks.folkListWebhooks;
45
+ exports.folkUpdateCompany = require_update_company.folkUpdateCompany;
46
+ exports.folkUpdateNote = require_update_note.folkUpdateNote;
47
+ exports.folkUpdatePerson = require_update_person.folkUpdatePerson;
@@ -0,0 +1,24 @@
1
+ import { folkCreateCompany } from "./create-company.cjs";
2
+ import { folkCreateNote } from "./create-note.cjs";
3
+ import { folkCreatePerson } from "./create-person.cjs";
4
+ import { folkDeleteCompany } from "./delete-company.cjs";
5
+ import { folkDeleteNote } from "./delete-note.cjs";
6
+ import { folkDeletePerson } from "./delete-person.cjs";
7
+ import { folkDeleteReminder } from "./delete-reminder.cjs";
8
+ import { folkGetCompany } from "./get-company.cjs";
9
+ import { folkGetCurrentWorkspaceUser } from "./get-current-workspace-user.cjs";
10
+ import { folkGetNote } from "./get-note.cjs";
11
+ import { folkGetPerson } from "./get-person.cjs";
12
+ import { folkGetUser } from "./get-user.cjs";
13
+ import { folkListCompanies } from "./list-companies.cjs";
14
+ import { folkListGroupCustomFields } from "./list-group-custom-fields.cjs";
15
+ import { folkListGroups } from "./list-groups.cjs";
16
+ import { folkListNotes } from "./list-notes.cjs";
17
+ import { folkListPeople } from "./list-people.cjs";
18
+ import { folkListReminders } from "./list-reminders.cjs";
19
+ import { folkListUsers } from "./list-users.cjs";
20
+ import { folkListWebhooks } from "./list-webhooks.cjs";
21
+ import { folkUpdateCompany } from "./update-company.cjs";
22
+ import { folkUpdateNote } from "./update-note.cjs";
23
+ import { folkUpdatePerson } from "./update-person.cjs";
24
+ export { folkCreateCompany, folkCreateNote, folkCreatePerson, folkDeleteCompany, folkDeleteNote, folkDeletePerson, folkDeleteReminder, folkGetCompany, folkGetCurrentWorkspaceUser, folkGetNote, folkGetPerson, folkGetUser, folkListCompanies, folkListGroupCustomFields, folkListGroups, folkListNotes, folkListPeople, folkListReminders, folkListUsers, folkListWebhooks, folkUpdateCompany, folkUpdateNote, folkUpdatePerson };
@@ -0,0 +1,24 @@
1
+ import { folkCreateCompany } from "./create-company.mjs";
2
+ import { folkCreateNote } from "./create-note.mjs";
3
+ import { folkCreatePerson } from "./create-person.mjs";
4
+ import { folkDeleteCompany } from "./delete-company.mjs";
5
+ import { folkDeleteNote } from "./delete-note.mjs";
6
+ import { folkDeletePerson } from "./delete-person.mjs";
7
+ import { folkDeleteReminder } from "./delete-reminder.mjs";
8
+ import { folkGetCompany } from "./get-company.mjs";
9
+ import { folkGetCurrentWorkspaceUser } from "./get-current-workspace-user.mjs";
10
+ import { folkGetNote } from "./get-note.mjs";
11
+ import { folkGetPerson } from "./get-person.mjs";
12
+ import { folkGetUser } from "./get-user.mjs";
13
+ import { folkListCompanies } from "./list-companies.mjs";
14
+ import { folkListGroupCustomFields } from "./list-group-custom-fields.mjs";
15
+ import { folkListGroups } from "./list-groups.mjs";
16
+ import { folkListNotes } from "./list-notes.mjs";
17
+ import { folkListPeople } from "./list-people.mjs";
18
+ import { folkListReminders } from "./list-reminders.mjs";
19
+ import { folkListUsers } from "./list-users.mjs";
20
+ import { folkListWebhooks } from "./list-webhooks.mjs";
21
+ import { folkUpdateCompany } from "./update-company.mjs";
22
+ import { folkUpdateNote } from "./update-note.mjs";
23
+ import { folkUpdatePerson } from "./update-person.mjs";
24
+ export { folkCreateCompany, folkCreateNote, folkCreatePerson, folkDeleteCompany, folkDeleteNote, folkDeletePerson, folkDeleteReminder, folkGetCompany, folkGetCurrentWorkspaceUser, folkGetNote, folkGetPerson, folkGetUser, folkListCompanies, folkListGroupCustomFields, folkListGroups, folkListNotes, folkListPeople, folkListReminders, folkListUsers, folkListWebhooks, folkUpdateCompany, folkUpdateNote, folkUpdatePerson };