@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,71 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/create-person.ts
4
+ const FolkCreatePersonInput = z.object({
5
+ emails: z.array(z.string()).describe("List of email addresses for the person. The first email is considered the primary email.").optional(),
6
+ 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("The groups to add the person to. Provide group IDs.").optional(),
7
+ phones: z.array(z.string()).describe("List of phone numbers for the person. The first phone is considered the primary phone.").optional(),
8
+ lastName: z.string().describe("Last name of the person.").optional(),
9
+ firstName: z.string().describe("First name of the person.").optional(),
10
+ 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()
11
+ }).describe("Request schema for creating a new person in the workspace.");
12
+ const FolkCreatePerson_GroupLinkResponseSchema = z.object({
13
+ id: z.string().describe("ID of the group."),
14
+ name: z.string().describe("Name of the group.")
15
+ }).describe("Group information returned in API responses, including ID and name.");
16
+ const FolkCreatePerson_CompanyItemSchema = z.object({
17
+ id: z.string().describe("The company's unique identifier."),
18
+ name: z.string().describe("The company's name.")
19
+ }).describe("A company associated with the person.");
20
+ const FolkCreatePerson_UserInfoSchema = z.object({
21
+ id: z.string().describe("Unique identifier of the user."),
22
+ email: z.string().describe("Email address of the user.").nullable().optional(),
23
+ fullName: z.string().describe("Full name of the user.").nullable().optional()
24
+ }).describe("User information with ID, full name, and email.");
25
+ const FolkCreatePerson_UserMetadataSchema = z.object({
26
+ approximateCount: z.number().int().describe("Number of interactions between current user and contact."),
27
+ lastInteractedAt: z.string().describe("Most recent interaction timestamp in ISO 8601 date-time format.").nullable().optional()
28
+ }).describe("User-specific interaction metadata.");
29
+ const FolkCreatePerson_WorkspaceMetadataSchema = z.object({
30
+ approximateCount: z.number().int().describe("Total number of workspace interactions with contact."),
31
+ lastInteractedAt: z.string().describe("Most recent workspace interaction timestamp in ISO 8601 date-time format.").nullable().optional(),
32
+ lastInteractedBy: z.array(FolkCreatePerson_UserInfoSchema).describe("Users who last interacted with the contact.").nullable().optional()
33
+ }).describe("Workspace-wide interaction metadata.");
34
+ const FolkCreatePerson_InteractionMetadataSchema = z.object({
35
+ user: FolkCreatePerson_UserMetadataSchema.nullable(),
36
+ workspace: FolkCreatePerson_WorkspaceMetadataSchema.nullable()
37
+ }).describe("Metadata about interactions with the person.");
38
+ const FolkCreatePerson_CreatePersonResponseDataSchema = z.object({
39
+ id: z.string().describe("ID of the created person."),
40
+ urls: z.array(z.string()).describe("URLs associated with the person.").nullable().optional(),
41
+ emails: z.array(z.string()).describe("Email addresses associated with the person.").nullable().optional(),
42
+ groups: z.array(FolkCreatePerson_GroupLinkResponseSchema).describe("Groups the person belongs to with ID and name.").nullable().optional(),
43
+ phones: z.array(z.string()).describe("Phone numbers associated with the person.").nullable().optional(),
44
+ birthday: z.string().describe("Birthday of the person in ISO date format (YYYY-MM-DD).").nullable().optional(),
45
+ fullName: z.string().describe("Full name of the person.").nullable().optional(),
46
+ jobTitle: z.string().describe("Job title of the person.").nullable().optional(),
47
+ lastName: z.string().describe("Last name of the person.").nullable().optional(),
48
+ addresses: z.array(z.string()).describe("Addresses associated with the person.").nullable().optional(),
49
+ companies: z.array(FolkCreatePerson_CompanyItemSchema).describe("Companies associated with the person.").nullable().optional(),
50
+ createdAt: z.string().describe("ISO 8601 timestamp when the person was created.").nullable().optional(),
51
+ createdBy: FolkCreatePerson_UserInfoSchema.nullable(),
52
+ firstName: z.string().describe("First name of the person.").nullable().optional(),
53
+ description: z.string().describe("Description of the person.").nullable().optional(),
54
+ customFieldValues: z.record(z.string(), z.unknown()).describe("Map of group IDs to custom field values. Value types depend on field type (text, number, date, select, contact, user, relationship, etc.).").nullable().optional(),
55
+ interactionMetadata: FolkCreatePerson_InteractionMetadataSchema.nullable(),
56
+ strongestConnection: z.record(z.string(), z.unknown()).describe("Map of group IDs to workspace members with the strongest connection to this person.").nullable().optional()
57
+ }).describe("Data returned after a successful person creation.");
58
+ const folkCreatePerson = action("FOLK_CREATE_PERSON", {
59
+ slug: "folk-create-person",
60
+ name: "Create Person",
61
+ description: "Creates a new person in the Folk workspace with the specified details. Optional fields include: first name, last name, emails, phones, group assignments, and custom field values. The first email/phone in the list is treated as the primary contact. Returns the created person with a unique ID, all provided fields, timestamps, and creator information.",
62
+ input: FolkCreatePersonInput,
63
+ output: z.object({
64
+ data: FolkCreatePerson_CreatePersonResponseDataSchema.nullable(),
65
+ deprecations: z.array(z.string()).describe("Any deprecation notices returned by the API.").nullable().optional()
66
+ }).describe("Response schema for creating a new person.")
67
+ });
68
+ //#endregion
69
+ export { folkCreatePerson };
70
+
71
+ //# sourceMappingURL=create-person.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-person.mjs","names":[],"sources":["../../src/actions/create-person.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FolkCreatePersonInput: z.ZodTypeAny = z.object({\n emails: z.array(z.string()).describe(\"List of email addresses for the person. The first email is considered the primary email.\").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(\"The groups to add the person to. Provide group IDs.\").optional(),\n phones: z.array(z.string()).describe(\"List of phone numbers for the person. The first phone is considered the primary phone.\").optional(),\n lastName: z.string().describe(\"Last name of the person.\").optional(),\n firstName: z.string().describe(\"First name 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 creating a new person in the workspace.\");\nconst FolkCreatePerson_GroupLinkResponseSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"ID of the group.\"),\n name: z.string().describe(\"Name of the group.\"),\n}).describe(\"Group information returned in API responses, including ID and name.\");\nconst FolkCreatePerson_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 the person.\");\nconst FolkCreatePerson_UserInfoSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier of the user.\"),\n email: z.string().describe(\"Email address of the user.\").nullable().optional(),\n fullName: z.string().describe(\"Full name of the user.\").nullable().optional(),\n}).describe(\"User information with ID, full name, and email.\");\nconst FolkCreatePerson_UserMetadataSchema: z.ZodTypeAny = z.object({\n approximateCount: z.number().int().describe(\"Number of interactions between current user and contact.\"),\n lastInteractedAt: z.string().describe(\"Most recent interaction timestamp in ISO 8601 date-time format.\").nullable().optional(),\n}).describe(\"User-specific interaction metadata.\");\nconst FolkCreatePerson_WorkspaceMetadataSchema: z.ZodTypeAny = z.object({\n approximateCount: z.number().int().describe(\"Total number of workspace interactions with contact.\"),\n lastInteractedAt: z.string().describe(\"Most recent workspace interaction timestamp in ISO 8601 date-time format.\").nullable().optional(),\n lastInteractedBy: z.array(FolkCreatePerson_UserInfoSchema).describe(\"Users who last interacted with the contact.\").nullable().optional(),\n}).describe(\"Workspace-wide interaction metadata.\");\nconst FolkCreatePerson_InteractionMetadataSchema: z.ZodTypeAny = z.object({\n user: FolkCreatePerson_UserMetadataSchema.nullable(),\n workspace: FolkCreatePerson_WorkspaceMetadataSchema.nullable(),\n}).describe(\"Metadata about interactions with the person.\");\nconst FolkCreatePerson_CreatePersonResponseDataSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"ID of the created 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(FolkCreatePerson_GroupLinkResponseSchema).describe(\"Groups the person belongs to with ID and name.\").nullable().optional(),\n phones: z.array(z.string()).describe(\"Phone numbers associated with the person.\").nullable().optional(),\n birthday: z.string().describe(\"Birthday of the person in ISO date format (YYYY-MM-DD).\").nullable().optional(),\n fullName: z.string().describe(\"Full name of the person.\").nullable().optional(),\n jobTitle: z.string().describe(\"Job title of the person.\").nullable().optional(),\n lastName: z.string().describe(\"Last name of the person.\").nullable().optional(),\n addresses: z.array(z.string()).describe(\"Addresses associated with the person.\").nullable().optional(),\n companies: z.array(FolkCreatePerson_CompanyItemSchema).describe(\"Companies associated with the person.\").nullable().optional(),\n createdAt: z.string().describe(\"ISO 8601 timestamp when the person was created.\").nullable().optional(),\n createdBy: FolkCreatePerson_UserInfoSchema.nullable(),\n firstName: z.string().describe(\"First name of the person.\").nullable().optional(),\n description: z.string().describe(\"Description of the person.\").nullable().optional(),\n customFieldValues: z.record(z.string(), z.unknown()).describe(\"Map of group IDs to custom field values. Value types depend on field type (text, number, date, select, contact, user, relationship, etc.).\").nullable().optional(),\n interactionMetadata: FolkCreatePerson_InteractionMetadataSchema.nullable(),\n strongestConnection: z.record(z.string(), z.unknown()).describe(\"Map of group IDs to workspace members with the strongest connection to this person.\").nullable().optional(),\n}).describe(\"Data returned after a successful person creation.\");\nexport const FolkCreatePersonOutput: z.ZodTypeAny = z.object({\n data: FolkCreatePerson_CreatePersonResponseDataSchema.nullable(),\n deprecations: z.array(z.string()).describe(\"Any deprecation notices returned by the API.\").nullable().optional(),\n}).describe(\"Response schema for creating a new person.\");\n\nexport const folkCreatePerson = action(\"FOLK_CREATE_PERSON\", {\n slug: \"folk-create-person\",\n name: \"Create Person\",\n description: \"Creates a new person in the Folk workspace with the specified details. Optional fields include: first name, last name, emails, phones, group assignments, and custom field values. The first email/phone in the list is treated as the primary contact. Returns the created person with a unique ID, all provided fields, timestamps, and creator information.\",\n input: FolkCreatePersonInput,\n output: FolkCreatePersonOutput,\n});\n"],"mappings":"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"}
@@ -0,0 +1,20 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/delete-company.ts
4
+ const FolkDeleteCompanyInput = zod.z.object({ company_id: zod.z.string().describe("The ID of the company to delete. Must be exactly 40 characters.") }).describe("Request schema for deleting a company.");
5
+ const FolkDeleteCompany_DeleteCompanyResponseDataSchema = zod.z.object({ id: zod.z.string().describe("ID of the deleted company.") }).describe("Data returned after a successful delete.");
6
+ const FolkDeleteCompanyOutput = zod.z.object({
7
+ data: FolkDeleteCompany_DeleteCompanyResponseDataSchema.nullable(),
8
+ deprecations: zod.z.array(zod.z.string()).describe("Any deprecation notices returned by the API.").nullable().optional()
9
+ }).describe("Response schema for deleting a company.");
10
+ const folkDeleteCompany = require_action.action("FOLK_DELETE_COMPANY", {
11
+ slug: "folk-delete-company",
12
+ name: "Delete Company",
13
+ description: "Tool to delete a company from the workspace (irreversible). Use after confirming this company should be removed.",
14
+ input: FolkDeleteCompanyInput,
15
+ output: FolkDeleteCompanyOutput
16
+ });
17
+ //#endregion
18
+ exports.folkDeleteCompany = folkDeleteCompany;
19
+
20
+ //# sourceMappingURL=delete-company.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"delete-company.cjs","names":["z","action"],"sources":["../../src/actions/delete-company.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FolkDeleteCompanyInput: z.ZodTypeAny = z.object({\n company_id: z.string().describe(\"The ID of the company to delete. Must be exactly 40 characters.\"),\n}).describe(\"Request schema for deleting a company.\");\nconst FolkDeleteCompany_DeleteCompanyResponseDataSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"ID of the deleted company.\"),\n}).describe(\"Data returned after a successful delete.\");\nexport const FolkDeleteCompanyOutput: z.ZodTypeAny = z.object({\n data: FolkDeleteCompany_DeleteCompanyResponseDataSchema.nullable(),\n deprecations: z.array(z.string()).describe(\"Any deprecation notices returned by the API.\").nullable().optional(),\n}).describe(\"Response schema for deleting a company.\");\n\nexport const folkDeleteCompany = action(\"FOLK_DELETE_COMPANY\", {\n slug: \"folk-delete-company\",\n name: \"Delete Company\",\n description: \"Tool to delete a company from the workspace (irreversible). Use after confirming this company should be removed.\",\n input: FolkDeleteCompanyInput,\n output: FolkDeleteCompanyOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAuCA,IAAAA,EAAE,OAAO,EAC3D,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,EACnG,CAAC,CAAC,CAAC,SAAS,wCAAwC;AACpD,MAAM,oDAAkEA,IAAAA,EAAE,OAAO,EAC/E,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,EACtD,CAAC,CAAC,CAAC,SAAS,0CAA0C;AACtD,MAAa,0BAAwCA,IAAAA,EAAE,OAAO;CAC5D,MAAM,kDAAkD,SAAS;CACjE,cAAcA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjH,CAAC,CAAC,CAAC,SAAS,yCAAyC;AAErD,MAAa,oBAAoBC,eAAAA,OAAO,uBAAuB;CAC7D,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/delete-company.d.ts
4
+ declare const FolkDeleteCompanyInput: z.ZodTypeAny;
5
+ declare const FolkDeleteCompanyOutput: z.ZodTypeAny;
6
+ declare const folkDeleteCompany: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { folkDeleteCompany };
9
+ //# sourceMappingURL=delete-company.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"delete-company.d.cts","names":[],"sources":["../../src/actions/delete-company.ts"],"mappings":";;;cAIa,sBAAA,EAAwB,CAAA,CAAE,UAEc;AAAA,cAIxC,uBAAA,EAAyB,CAAA,CAAE,UAGc;AAAA,cAEzC,iBAAA,gCAAiB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/delete-company.d.ts
4
+ declare const FolkDeleteCompanyInput: z.ZodTypeAny;
5
+ declare const FolkDeleteCompanyOutput: z.ZodTypeAny;
6
+ declare const folkDeleteCompany: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { folkDeleteCompany };
9
+ //# sourceMappingURL=delete-company.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"delete-company.d.mts","names":[],"sources":["../../src/actions/delete-company.ts"],"mappings":";;;cAIa,sBAAA,EAAwB,CAAA,CAAE,UAEc;AAAA,cAIxC,uBAAA,EAAyB,CAAA,CAAE,UAGc;AAAA,cAEzC,iBAAA,gCAAiB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,19 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/delete-company.ts
4
+ const FolkDeleteCompanyInput = z.object({ company_id: z.string().describe("The ID of the company to delete. Must be exactly 40 characters.") }).describe("Request schema for deleting a company.");
5
+ const FolkDeleteCompany_DeleteCompanyResponseDataSchema = z.object({ id: z.string().describe("ID of the deleted company.") }).describe("Data returned after a successful delete.");
6
+ const folkDeleteCompany = action("FOLK_DELETE_COMPANY", {
7
+ slug: "folk-delete-company",
8
+ name: "Delete Company",
9
+ description: "Tool to delete a company from the workspace (irreversible). Use after confirming this company should be removed.",
10
+ input: FolkDeleteCompanyInput,
11
+ output: z.object({
12
+ data: FolkDeleteCompany_DeleteCompanyResponseDataSchema.nullable(),
13
+ deprecations: z.array(z.string()).describe("Any deprecation notices returned by the API.").nullable().optional()
14
+ }).describe("Response schema for deleting a company.")
15
+ });
16
+ //#endregion
17
+ export { folkDeleteCompany };
18
+
19
+ //# sourceMappingURL=delete-company.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"delete-company.mjs","names":[],"sources":["../../src/actions/delete-company.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FolkDeleteCompanyInput: z.ZodTypeAny = z.object({\n company_id: z.string().describe(\"The ID of the company to delete. Must be exactly 40 characters.\"),\n}).describe(\"Request schema for deleting a company.\");\nconst FolkDeleteCompany_DeleteCompanyResponseDataSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"ID of the deleted company.\"),\n}).describe(\"Data returned after a successful delete.\");\nexport const FolkDeleteCompanyOutput: z.ZodTypeAny = z.object({\n data: FolkDeleteCompany_DeleteCompanyResponseDataSchema.nullable(),\n deprecations: z.array(z.string()).describe(\"Any deprecation notices returned by the API.\").nullable().optional(),\n}).describe(\"Response schema for deleting a company.\");\n\nexport const folkDeleteCompany = action(\"FOLK_DELETE_COMPANY\", {\n slug: \"folk-delete-company\",\n name: \"Delete Company\",\n description: \"Tool to delete a company from the workspace (irreversible). Use after confirming this company should be removed.\",\n input: FolkDeleteCompanyInput,\n output: FolkDeleteCompanyOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAuC,EAAE,OAAO,EAC3D,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,EACnG,CAAC,CAAC,CAAC,SAAS,wCAAwC;AACpD,MAAM,oDAAkE,EAAE,OAAO,EAC/E,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,EACtD,CAAC,CAAC,CAAC,SAAS,0CAA0C;AAMtD,MAAa,oBAAoB,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVmD,EAAE,OAAO;EAC5D,MAAM,kDAAkD,SAAS;EACjE,cAAc,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,CAAC,CAAC,CAAC,SAAS,yCAOF;AACV,CAAC"}
@@ -0,0 +1,20 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/delete-note.ts
4
+ const FolkDeleteNoteInput = zod.z.object({ note_id: zod.z.string().describe("The ID of the note to delete. Must be exactly 40 characters.") }).describe("Request schema for deleting a note.");
5
+ const FolkDeleteNote_DeleteNoteResponseDataSchema = zod.z.object({ id: zod.z.string().describe("ID of the deleted note.") }).describe("Data returned after a successful delete.");
6
+ const FolkDeleteNoteOutput = zod.z.object({
7
+ data: FolkDeleteNote_DeleteNoteResponseDataSchema.nullable(),
8
+ deprecations: zod.z.array(zod.z.string()).describe("Any deprecation notices returned by the API.").nullable().optional()
9
+ }).describe("Response schema for deleting a note.");
10
+ const folkDeleteNote = require_action.action("FOLK_DELETE_NOTE", {
11
+ slug: "folk-delete-note",
12
+ name: "Delete Note",
13
+ description: "Tool to delete an existing note in the workspace (irreversible). Use after confirming this note should be permanently removed.",
14
+ input: FolkDeleteNoteInput,
15
+ output: FolkDeleteNoteOutput
16
+ });
17
+ //#endregion
18
+ exports.folkDeleteNote = folkDeleteNote;
19
+
20
+ //# sourceMappingURL=delete-note.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"delete-note.cjs","names":["z","action"],"sources":["../../src/actions/delete-note.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FolkDeleteNoteInput: z.ZodTypeAny = z.object({\n note_id: z.string().describe(\"The ID of the note to delete. Must be exactly 40 characters.\"),\n}).describe(\"Request schema for deleting a note.\");\nconst FolkDeleteNote_DeleteNoteResponseDataSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"ID of the deleted note.\"),\n}).describe(\"Data returned after a successful delete.\");\nexport const FolkDeleteNoteOutput: z.ZodTypeAny = z.object({\n data: FolkDeleteNote_DeleteNoteResponseDataSchema.nullable(),\n deprecations: z.array(z.string()).describe(\"Any deprecation notices returned by the API.\").nullable().optional(),\n}).describe(\"Response schema for deleting a note.\");\n\nexport const folkDeleteNote = action(\"FOLK_DELETE_NOTE\", {\n slug: \"folk-delete-note\",\n name: \"Delete Note\",\n description: \"Tool to delete an existing note in the workspace (irreversible). Use after confirming this note should be permanently removed.\",\n input: FolkDeleteNoteInput,\n output: FolkDeleteNoteOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sBAAoCA,IAAAA,EAAE,OAAO,EACxD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,EAC7F,CAAC,CAAC,CAAC,SAAS,qCAAqC;AACjD,MAAM,8CAA4DA,IAAAA,EAAE,OAAO,EACzE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,EACnD,CAAC,CAAC,CAAC,SAAS,0CAA0C;AACtD,MAAa,uBAAqCA,IAAAA,EAAE,OAAO;CACzD,MAAM,4CAA4C,SAAS;CAC3D,cAAcA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjH,CAAC,CAAC,CAAC,SAAS,sCAAsC;AAElD,MAAa,iBAAiBC,eAAAA,OAAO,oBAAoB;CACvD,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/delete-note.d.ts
4
+ declare const FolkDeleteNoteInput: z.ZodTypeAny;
5
+ declare const FolkDeleteNoteOutput: z.ZodTypeAny;
6
+ declare const folkDeleteNote: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { folkDeleteNote };
9
+ //# sourceMappingURL=delete-note.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"delete-note.d.cts","names":[],"sources":["../../src/actions/delete-note.ts"],"mappings":";;;cAIa,mBAAA,EAAqB,CAAA,CAAE,UAEc;AAAA,cAIrC,oBAAA,EAAsB,CAAA,CAAE,UAGc;AAAA,cAEtC,cAAA,gCAAc,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/delete-note.d.ts
4
+ declare const FolkDeleteNoteInput: z.ZodTypeAny;
5
+ declare const FolkDeleteNoteOutput: z.ZodTypeAny;
6
+ declare const folkDeleteNote: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { folkDeleteNote };
9
+ //# sourceMappingURL=delete-note.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"delete-note.d.mts","names":[],"sources":["../../src/actions/delete-note.ts"],"mappings":";;;cAIa,mBAAA,EAAqB,CAAA,CAAE,UAEc;AAAA,cAIrC,oBAAA,EAAsB,CAAA,CAAE,UAGc;AAAA,cAEtC,cAAA,gCAAc,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,19 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/delete-note.ts
4
+ const FolkDeleteNoteInput = z.object({ note_id: z.string().describe("The ID of the note to delete. Must be exactly 40 characters.") }).describe("Request schema for deleting a note.");
5
+ const FolkDeleteNote_DeleteNoteResponseDataSchema = z.object({ id: z.string().describe("ID of the deleted note.") }).describe("Data returned after a successful delete.");
6
+ const folkDeleteNote = action("FOLK_DELETE_NOTE", {
7
+ slug: "folk-delete-note",
8
+ name: "Delete Note",
9
+ description: "Tool to delete an existing note in the workspace (irreversible). Use after confirming this note should be permanently removed.",
10
+ input: FolkDeleteNoteInput,
11
+ output: z.object({
12
+ data: FolkDeleteNote_DeleteNoteResponseDataSchema.nullable(),
13
+ deprecations: z.array(z.string()).describe("Any deprecation notices returned by the API.").nullable().optional()
14
+ }).describe("Response schema for deleting a note.")
15
+ });
16
+ //#endregion
17
+ export { folkDeleteNote };
18
+
19
+ //# sourceMappingURL=delete-note.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"delete-note.mjs","names":[],"sources":["../../src/actions/delete-note.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FolkDeleteNoteInput: z.ZodTypeAny = z.object({\n note_id: z.string().describe(\"The ID of the note to delete. Must be exactly 40 characters.\"),\n}).describe(\"Request schema for deleting a note.\");\nconst FolkDeleteNote_DeleteNoteResponseDataSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"ID of the deleted note.\"),\n}).describe(\"Data returned after a successful delete.\");\nexport const FolkDeleteNoteOutput: z.ZodTypeAny = z.object({\n data: FolkDeleteNote_DeleteNoteResponseDataSchema.nullable(),\n deprecations: z.array(z.string()).describe(\"Any deprecation notices returned by the API.\").nullable().optional(),\n}).describe(\"Response schema for deleting a note.\");\n\nexport const folkDeleteNote = action(\"FOLK_DELETE_NOTE\", {\n slug: \"folk-delete-note\",\n name: \"Delete Note\",\n description: \"Tool to delete an existing note in the workspace (irreversible). Use after confirming this note should be permanently removed.\",\n input: FolkDeleteNoteInput,\n output: FolkDeleteNoteOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sBAAoC,EAAE,OAAO,EACxD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,EAC7F,CAAC,CAAC,CAAC,SAAS,qCAAqC;AACjD,MAAM,8CAA4D,EAAE,OAAO,EACzE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,EACnD,CAAC,CAAC,CAAC,SAAS,0CAA0C;AAMtD,MAAa,iBAAiB,OAAO,oBAAoB;CACvD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVgD,EAAE,OAAO;EACzD,MAAM,4CAA4C,SAAS;EAC3D,cAAc,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,CAAC,CAAC,CAAC,SAAS,sCAOF;AACV,CAAC"}
@@ -0,0 +1,20 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/delete-person.ts
4
+ const FolkDeletePersonInput = zod.z.object({ person_id: zod.z.string().describe("The ID of the person to delete. Must be exactly 40 characters.") }).describe("Request schema for deleting a person.");
5
+ const FolkDeletePerson_DeletePersonResponseDataSchema = zod.z.object({ id: zod.z.string().describe("The ID of the deleted person.") }).describe("Data returned after deleting a person.");
6
+ const FolkDeletePersonOutput = zod.z.object({
7
+ data: FolkDeletePerson_DeletePersonResponseDataSchema.nullable(),
8
+ deprecations: zod.z.array(zod.z.string()).describe("Any deprecation notices returned by the API.").nullable().optional()
9
+ }).describe("Response schema for deleting a person.");
10
+ const folkDeletePerson = require_action.action("FOLK_DELETE_PERSON", {
11
+ slug: "folk-delete-person",
12
+ name: "Delete Person",
13
+ description: "Tool to delete an existing person in the workspace (irreversible). Use after confirming this person should be permanently removed.",
14
+ input: FolkDeletePersonInput,
15
+ output: FolkDeletePersonOutput
16
+ });
17
+ //#endregion
18
+ exports.folkDeletePerson = folkDeletePerson;
19
+
20
+ //# sourceMappingURL=delete-person.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"delete-person.cjs","names":["z","action"],"sources":["../../src/actions/delete-person.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FolkDeletePersonInput: z.ZodTypeAny = z.object({\n person_id: z.string().describe(\"The ID of the person to delete. Must be exactly 40 characters.\"),\n}).describe(\"Request schema for deleting a person.\");\nconst FolkDeletePerson_DeletePersonResponseDataSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The ID of the deleted person.\"),\n}).describe(\"Data returned after deleting a person.\");\nexport const FolkDeletePersonOutput: z.ZodTypeAny = z.object({\n data: FolkDeletePerson_DeletePersonResponseDataSchema.nullable(),\n deprecations: z.array(z.string()).describe(\"Any deprecation notices returned by the API.\").nullable().optional(),\n}).describe(\"Response schema for deleting a person.\");\n\nexport const folkDeletePerson = action(\"FOLK_DELETE_PERSON\", {\n slug: \"folk-delete-person\",\n name: \"Delete Person\",\n description: \"Tool to delete an existing person in the workspace (irreversible). Use after confirming this person should be permanently removed.\",\n input: FolkDeletePersonInput,\n output: FolkDeletePersonOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAsCA,IAAAA,EAAE,OAAO,EAC1D,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,EACjG,CAAC,CAAC,CAAC,SAAS,uCAAuC;AACnD,MAAM,kDAAgEA,IAAAA,EAAE,OAAO,EAC7E,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,EACzD,CAAC,CAAC,CAAC,SAAS,wCAAwC;AACpD,MAAa,yBAAuCA,IAAAA,EAAE,OAAO;CAC3D,MAAM,gDAAgD,SAAS;CAC/D,cAAcA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjH,CAAC,CAAC,CAAC,SAAS,wCAAwC;AAEpD,MAAa,mBAAmBC,eAAAA,OAAO,sBAAsB;CAC3D,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/delete-person.d.ts
4
+ declare const FolkDeletePersonInput: z.ZodTypeAny;
5
+ declare const FolkDeletePersonOutput: z.ZodTypeAny;
6
+ declare const folkDeletePerson: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { folkDeletePerson };
9
+ //# sourceMappingURL=delete-person.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"delete-person.d.cts","names":[],"sources":["../../src/actions/delete-person.ts"],"mappings":";;;cAIa,qBAAA,EAAuB,CAAA,CAAE,UAEc;AAAA,cAIvC,sBAAA,EAAwB,CAAA,CAAE,UAGc;AAAA,cAExC,gBAAA,gCAAgB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/delete-person.d.ts
4
+ declare const FolkDeletePersonInput: z.ZodTypeAny;
5
+ declare const FolkDeletePersonOutput: z.ZodTypeAny;
6
+ declare const folkDeletePerson: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { folkDeletePerson };
9
+ //# sourceMappingURL=delete-person.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"delete-person.d.mts","names":[],"sources":["../../src/actions/delete-person.ts"],"mappings":";;;cAIa,qBAAA,EAAuB,CAAA,CAAE,UAEc;AAAA,cAIvC,sBAAA,EAAwB,CAAA,CAAE,UAGc;AAAA,cAExC,gBAAA,gCAAgB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,19 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/delete-person.ts
4
+ const FolkDeletePersonInput = z.object({ person_id: z.string().describe("The ID of the person to delete. Must be exactly 40 characters.") }).describe("Request schema for deleting a person.");
5
+ const FolkDeletePerson_DeletePersonResponseDataSchema = z.object({ id: z.string().describe("The ID of the deleted person.") }).describe("Data returned after deleting a person.");
6
+ const folkDeletePerson = action("FOLK_DELETE_PERSON", {
7
+ slug: "folk-delete-person",
8
+ name: "Delete Person",
9
+ description: "Tool to delete an existing person in the workspace (irreversible). Use after confirming this person should be permanently removed.",
10
+ input: FolkDeletePersonInput,
11
+ output: z.object({
12
+ data: FolkDeletePerson_DeletePersonResponseDataSchema.nullable(),
13
+ deprecations: z.array(z.string()).describe("Any deprecation notices returned by the API.").nullable().optional()
14
+ }).describe("Response schema for deleting a person.")
15
+ });
16
+ //#endregion
17
+ export { folkDeletePerson };
18
+
19
+ //# sourceMappingURL=delete-person.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"delete-person.mjs","names":[],"sources":["../../src/actions/delete-person.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FolkDeletePersonInput: z.ZodTypeAny = z.object({\n person_id: z.string().describe(\"The ID of the person to delete. Must be exactly 40 characters.\"),\n}).describe(\"Request schema for deleting a person.\");\nconst FolkDeletePerson_DeletePersonResponseDataSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The ID of the deleted person.\"),\n}).describe(\"Data returned after deleting a person.\");\nexport const FolkDeletePersonOutput: z.ZodTypeAny = z.object({\n data: FolkDeletePerson_DeletePersonResponseDataSchema.nullable(),\n deprecations: z.array(z.string()).describe(\"Any deprecation notices returned by the API.\").nullable().optional(),\n}).describe(\"Response schema for deleting a person.\");\n\nexport const folkDeletePerson = action(\"FOLK_DELETE_PERSON\", {\n slug: \"folk-delete-person\",\n name: \"Delete Person\",\n description: \"Tool to delete an existing person in the workspace (irreversible). Use after confirming this person should be permanently removed.\",\n input: FolkDeletePersonInput,\n output: FolkDeletePersonOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAsC,EAAE,OAAO,EAC1D,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,EACjG,CAAC,CAAC,CAAC,SAAS,uCAAuC;AACnD,MAAM,kDAAgE,EAAE,OAAO,EAC7E,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,EACzD,CAAC,CAAC,CAAC,SAAS,wCAAwC;AAMpD,MAAa,mBAAmB,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVkD,EAAE,OAAO;EAC3D,MAAM,gDAAgD,SAAS;EAC/D,cAAc,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,CAAC,CAAC,CAAC,SAAS,wCAOF;AACV,CAAC"}
@@ -0,0 +1,20 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/delete-reminder.ts
4
+ const FolkDeleteReminderInput = zod.z.object({ reminder_id: zod.z.string().describe("The ID of the reminder to delete. Must be exactly 40 characters.") }).describe("Request schema for deleting a reminder.");
5
+ const FolkDeleteReminder_DeleteReminderResponseDataSchema = zod.z.object({ id: zod.z.string().describe("The ID of the deleted reminder.") }).describe("Data returned after deleting a reminder.");
6
+ const FolkDeleteReminderOutput = zod.z.object({
7
+ data: FolkDeleteReminder_DeleteReminderResponseDataSchema.nullable(),
8
+ deprecations: zod.z.array(zod.z.string()).describe("Any deprecation notices returned by the API.").nullable().optional()
9
+ }).describe("Response schema for deleting a reminder.");
10
+ const folkDeleteReminder = require_action.action("FOLK_DELETE_REMINDER", {
11
+ slug: "folk-delete-reminder",
12
+ name: "Delete Reminder",
13
+ description: "Tool to delete an existing reminder in the workspace (irreversible). Use after confirming this reminder should be permanently removed.",
14
+ input: FolkDeleteReminderInput,
15
+ output: FolkDeleteReminderOutput
16
+ });
17
+ //#endregion
18
+ exports.folkDeleteReminder = folkDeleteReminder;
19
+
20
+ //# sourceMappingURL=delete-reminder.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"delete-reminder.cjs","names":["z","action"],"sources":["../../src/actions/delete-reminder.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FolkDeleteReminderInput: z.ZodTypeAny = z.object({\n reminder_id: z.string().describe(\"The ID of the reminder to delete. Must be exactly 40 characters.\"),\n}).describe(\"Request schema for deleting a reminder.\");\nconst FolkDeleteReminder_DeleteReminderResponseDataSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The ID of the deleted reminder.\"),\n}).describe(\"Data returned after deleting a reminder.\");\nexport const FolkDeleteReminderOutput: z.ZodTypeAny = z.object({\n data: FolkDeleteReminder_DeleteReminderResponseDataSchema.nullable(),\n deprecations: z.array(z.string()).describe(\"Any deprecation notices returned by the API.\").nullable().optional(),\n}).describe(\"Response schema for deleting a reminder.\");\n\nexport const folkDeleteReminder = action(\"FOLK_DELETE_REMINDER\", {\n slug: \"folk-delete-reminder\",\n name: \"Delete Reminder\",\n description: \"Tool to delete an existing reminder in the workspace (irreversible). Use after confirming this reminder should be permanently removed.\",\n input: FolkDeleteReminderInput,\n output: FolkDeleteReminderOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAAwCA,IAAAA,EAAE,OAAO,EAC5D,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,EACrG,CAAC,CAAC,CAAC,SAAS,yCAAyC;AACrD,MAAM,sDAAoEA,IAAAA,EAAE,OAAO,EACjF,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,EAC3D,CAAC,CAAC,CAAC,SAAS,0CAA0C;AACtD,MAAa,2BAAyCA,IAAAA,EAAE,OAAO;CAC7D,MAAM,oDAAoD,SAAS;CACnE,cAAcA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjH,CAAC,CAAC,CAAC,SAAS,0CAA0C;AAEtD,MAAa,qBAAqBC,eAAAA,OAAO,wBAAwB;CAC/D,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/delete-reminder.d.ts
4
+ declare const FolkDeleteReminderInput: z.ZodTypeAny;
5
+ declare const FolkDeleteReminderOutput: z.ZodTypeAny;
6
+ declare const folkDeleteReminder: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { folkDeleteReminder };
9
+ //# sourceMappingURL=delete-reminder.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"delete-reminder.d.cts","names":[],"sources":["../../src/actions/delete-reminder.ts"],"mappings":";;;cAIa,uBAAA,EAAyB,CAAA,CAAE,UAEc;AAAA,cAIzC,wBAAA,EAA0B,CAAA,CAAE,UAGc;AAAA,cAE1C,kBAAA,gCAAkB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/delete-reminder.d.ts
4
+ declare const FolkDeleteReminderInput: z.ZodTypeAny;
5
+ declare const FolkDeleteReminderOutput: z.ZodTypeAny;
6
+ declare const folkDeleteReminder: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { folkDeleteReminder };
9
+ //# sourceMappingURL=delete-reminder.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"delete-reminder.d.mts","names":[],"sources":["../../src/actions/delete-reminder.ts"],"mappings":";;;cAIa,uBAAA,EAAyB,CAAA,CAAE,UAEc;AAAA,cAIzC,wBAAA,EAA0B,CAAA,CAAE,UAGc;AAAA,cAE1C,kBAAA,gCAAkB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,19 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/delete-reminder.ts
4
+ const FolkDeleteReminderInput = z.object({ reminder_id: z.string().describe("The ID of the reminder to delete. Must be exactly 40 characters.") }).describe("Request schema for deleting a reminder.");
5
+ const FolkDeleteReminder_DeleteReminderResponseDataSchema = z.object({ id: z.string().describe("The ID of the deleted reminder.") }).describe("Data returned after deleting a reminder.");
6
+ const folkDeleteReminder = action("FOLK_DELETE_REMINDER", {
7
+ slug: "folk-delete-reminder",
8
+ name: "Delete Reminder",
9
+ description: "Tool to delete an existing reminder in the workspace (irreversible). Use after confirming this reminder should be permanently removed.",
10
+ input: FolkDeleteReminderInput,
11
+ output: z.object({
12
+ data: FolkDeleteReminder_DeleteReminderResponseDataSchema.nullable(),
13
+ deprecations: z.array(z.string()).describe("Any deprecation notices returned by the API.").nullable().optional()
14
+ }).describe("Response schema for deleting a reminder.")
15
+ });
16
+ //#endregion
17
+ export { folkDeleteReminder };
18
+
19
+ //# sourceMappingURL=delete-reminder.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"delete-reminder.mjs","names":[],"sources":["../../src/actions/delete-reminder.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FolkDeleteReminderInput: z.ZodTypeAny = z.object({\n reminder_id: z.string().describe(\"The ID of the reminder to delete. Must be exactly 40 characters.\"),\n}).describe(\"Request schema for deleting a reminder.\");\nconst FolkDeleteReminder_DeleteReminderResponseDataSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The ID of the deleted reminder.\"),\n}).describe(\"Data returned after deleting a reminder.\");\nexport const FolkDeleteReminderOutput: z.ZodTypeAny = z.object({\n data: FolkDeleteReminder_DeleteReminderResponseDataSchema.nullable(),\n deprecations: z.array(z.string()).describe(\"Any deprecation notices returned by the API.\").nullable().optional(),\n}).describe(\"Response schema for deleting a reminder.\");\n\nexport const folkDeleteReminder = action(\"FOLK_DELETE_REMINDER\", {\n slug: \"folk-delete-reminder\",\n name: \"Delete Reminder\",\n description: \"Tool to delete an existing reminder in the workspace (irreversible). Use after confirming this reminder should be permanently removed.\",\n input: FolkDeleteReminderInput,\n output: FolkDeleteReminderOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAAwC,EAAE,OAAO,EAC5D,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,EACrG,CAAC,CAAC,CAAC,SAAS,yCAAyC;AACrD,MAAM,sDAAoE,EAAE,OAAO,EACjF,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,EAC3D,CAAC,CAAC,CAAC,SAAS,0CAA0C;AAMtD,MAAa,qBAAqB,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVoD,EAAE,OAAO;EAC7D,MAAM,oDAAoD,SAAS;EACnE,cAAc,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,CAAC,CAAC,CAAC,SAAS,0CAOF;AACV,CAAC"}
@@ -0,0 +1,31 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/get-company.ts
4
+ const FolkGetCompanyInput = zod.z.object({ company_id: zod.z.string().describe("The ID of the company to retrieve. Must be exactly 40 characters long.") }).describe("Request parameters for retrieving a company by its ID.");
5
+ const FolkGetCompany_GetCompanyGroupSchema = zod.z.object({
6
+ id: zod.z.string().describe("Group ID."),
7
+ name: zod.z.string().describe("Group name.")
8
+ }).describe("A group associated with the company.");
9
+ const FolkGetCompany_CompanyDataSchema = zod.z.object({
10
+ id: zod.z.string().describe("Unique ID of the company."),
11
+ name: zod.z.string().describe("Name of the company."),
12
+ urls: zod.z.array(zod.z.string()).describe("Websites of the company."),
13
+ emails: zod.z.array(zod.z.string()).describe("Email addresses of the company."),
14
+ groups: zod.z.array(FolkGetCompany_GetCompanyGroupSchema).describe("Groups associated with the company."),
15
+ phones: zod.z.array(zod.z.string()).describe("Phone numbers of the company."),
16
+ addresses: zod.z.array(zod.z.string()).describe("Addresses of the company."),
17
+ description: zod.z.string().describe("Description of the company.").nullable().optional(),
18
+ customFieldValues: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Custom field values keyed by custom-field group ID. Each entry’s structure varies by group configuration.")
19
+ }).describe("Representation of a company in the workspace.");
20
+ const FolkGetCompanyOutput = zod.z.object({ data: FolkGetCompany_CompanyDataSchema.nullable() }).describe("Full response schema for get-company.");
21
+ const folkGetCompany = require_action.action("FOLK_GET_COMPANY", {
22
+ slug: "folk-get-company",
23
+ name: "Get Company",
24
+ description: "Tool to retrieve an existing company by its ID. Use after authentication has been verified.",
25
+ input: FolkGetCompanyInput,
26
+ output: FolkGetCompanyOutput
27
+ });
28
+ //#endregion
29
+ exports.folkGetCompany = folkGetCompany;
30
+
31
+ //# sourceMappingURL=get-company.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-company.cjs","names":["z","action"],"sources":["../../src/actions/get-company.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FolkGetCompanyInput: z.ZodTypeAny = z.object({\n company_id: z.string().describe(\"The ID of the company to retrieve. Must be exactly 40 characters long.\"),\n}).describe(\"Request parameters for retrieving a company by its ID.\");\nconst FolkGetCompany_GetCompanyGroupSchema: 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 company.\");\nconst FolkGetCompany_CompanyDataSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique ID of the company.\"),\n name: z.string().describe(\"Name of the company.\"),\n urls: z.array(z.string()).describe(\"Websites of the company.\"),\n emails: z.array(z.string()).describe(\"Email addresses of the company.\"),\n groups: z.array(FolkGetCompany_GetCompanyGroupSchema).describe(\"Groups associated with the company.\"),\n phones: z.array(z.string()).describe(\"Phone numbers of the company.\"),\n addresses: z.array(z.string()).describe(\"Addresses of the company.\"),\n description: z.string().describe(\"Description of the company.\").nullable().optional(),\n customFieldValues: z.record(z.string(), z.unknown()).describe(\"Custom field values keyed by custom-field group ID. Each entry’s structure varies by group configuration.\"),\n}).describe(\"Representation of a company in the workspace.\");\nexport const FolkGetCompanyOutput: z.ZodTypeAny = z.object({\n data: FolkGetCompany_CompanyDataSchema.nullable(),\n}).describe(\"Full response schema for get-company.\");\n\nexport const folkGetCompany = action(\"FOLK_GET_COMPANY\", {\n slug: \"folk-get-company\",\n name: \"Get Company\",\n description: \"Tool to retrieve an existing company by its ID. Use after authentication has been verified.\",\n input: FolkGetCompanyInput,\n output: FolkGetCompanyOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sBAAoCA,IAAAA,EAAE,OAAO,EACxD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,EAC1G,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACpE,MAAM,uCAAqDA,IAAAA,EAAE,OAAO;CAClE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,WAAW;CACnC,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa;AACzC,CAAC,CAAC,CAAC,SAAS,sCAAsC;AAClD,MAAM,mCAAiDA,IAAAA,EAAE,OAAO;CAC9D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;CACnD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB;CAChD,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,0BAA0B;CAC7D,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,iCAAiC;CACtE,QAAQA,IAAAA,EAAE,MAAM,oCAAoC,CAAC,CAAC,SAAS,qCAAqC;CACpG,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,+BAA+B;CACpE,WAAWA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,2BAA2B;CACnE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,mBAAmBA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,2GAA2G;AAC3K,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAC3D,MAAa,uBAAqCA,IAAAA,EAAE,OAAO,EACzD,MAAM,iCAAiC,SAAS,EAClD,CAAC,CAAC,CAAC,SAAS,uCAAuC;AAEnD,MAAa,iBAAiBC,eAAAA,OAAO,oBAAoB;CACvD,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-company.d.ts
4
+ declare const FolkGetCompanyInput: z.ZodTypeAny;
5
+ declare const FolkGetCompanyOutput: z.ZodTypeAny;
6
+ declare const folkGetCompany: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { folkGetCompany };
9
+ //# sourceMappingURL=get-company.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-company.d.cts","names":[],"sources":["../../src/actions/get-company.ts"],"mappings":";;;cAIa,mBAAA,EAAqB,CAAA,CAAE,UAEiC;AAAA,cAgBxD,oBAAA,EAAsB,CAAA,CAAE,UAEe;AAAA,cAEvC,cAAA,gCAAc,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-company.d.ts
4
+ declare const FolkGetCompanyInput: z.ZodTypeAny;
5
+ declare const FolkGetCompanyOutput: z.ZodTypeAny;
6
+ declare const folkGetCompany: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { folkGetCompany };
9
+ //# sourceMappingURL=get-company.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-company.d.mts","names":[],"sources":["../../src/actions/get-company.ts"],"mappings":";;;cAIa,mBAAA,EAAqB,CAAA,CAAE,UAEiC;AAAA,cAgBxD,oBAAA,EAAsB,CAAA,CAAE,UAEe;AAAA,cAEvC,cAAA,gCAAc,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,30 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/get-company.ts
4
+ const FolkGetCompanyInput = z.object({ company_id: z.string().describe("The ID of the company to retrieve. Must be exactly 40 characters long.") }).describe("Request parameters for retrieving a company by its ID.");
5
+ const FolkGetCompany_GetCompanyGroupSchema = z.object({
6
+ id: z.string().describe("Group ID."),
7
+ name: z.string().describe("Group name.")
8
+ }).describe("A group associated with the company.");
9
+ const FolkGetCompany_CompanyDataSchema = z.object({
10
+ id: z.string().describe("Unique ID of the company."),
11
+ name: z.string().describe("Name of the company."),
12
+ urls: z.array(z.string()).describe("Websites of the company."),
13
+ emails: z.array(z.string()).describe("Email addresses of the company."),
14
+ groups: z.array(FolkGetCompany_GetCompanyGroupSchema).describe("Groups associated with the company."),
15
+ phones: z.array(z.string()).describe("Phone numbers of the company."),
16
+ addresses: z.array(z.string()).describe("Addresses of the company."),
17
+ description: z.string().describe("Description of the company.").nullable().optional(),
18
+ customFieldValues: z.record(z.string(), z.unknown()).describe("Custom field values keyed by custom-field group ID. Each entry’s structure varies by group configuration.")
19
+ }).describe("Representation of a company in the workspace.");
20
+ const folkGetCompany = action("FOLK_GET_COMPANY", {
21
+ slug: "folk-get-company",
22
+ name: "Get Company",
23
+ description: "Tool to retrieve an existing company by its ID. Use after authentication has been verified.",
24
+ input: FolkGetCompanyInput,
25
+ output: z.object({ data: FolkGetCompany_CompanyDataSchema.nullable() }).describe("Full response schema for get-company.")
26
+ });
27
+ //#endregion
28
+ export { folkGetCompany };
29
+
30
+ //# sourceMappingURL=get-company.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-company.mjs","names":[],"sources":["../../src/actions/get-company.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FolkGetCompanyInput: z.ZodTypeAny = z.object({\n company_id: z.string().describe(\"The ID of the company to retrieve. Must be exactly 40 characters long.\"),\n}).describe(\"Request parameters for retrieving a company by its ID.\");\nconst FolkGetCompany_GetCompanyGroupSchema: 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 company.\");\nconst FolkGetCompany_CompanyDataSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique ID of the company.\"),\n name: z.string().describe(\"Name of the company.\"),\n urls: z.array(z.string()).describe(\"Websites of the company.\"),\n emails: z.array(z.string()).describe(\"Email addresses of the company.\"),\n groups: z.array(FolkGetCompany_GetCompanyGroupSchema).describe(\"Groups associated with the company.\"),\n phones: z.array(z.string()).describe(\"Phone numbers of the company.\"),\n addresses: z.array(z.string()).describe(\"Addresses of the company.\"),\n description: z.string().describe(\"Description of the company.\").nullable().optional(),\n customFieldValues: z.record(z.string(), z.unknown()).describe(\"Custom field values keyed by custom-field group ID. Each entry’s structure varies by group configuration.\"),\n}).describe(\"Representation of a company in the workspace.\");\nexport const FolkGetCompanyOutput: z.ZodTypeAny = z.object({\n data: FolkGetCompany_CompanyDataSchema.nullable(),\n}).describe(\"Full response schema for get-company.\");\n\nexport const folkGetCompany = action(\"FOLK_GET_COMPANY\", {\n slug: \"folk-get-company\",\n name: \"Get Company\",\n description: \"Tool to retrieve an existing company by its ID. Use after authentication has been verified.\",\n input: FolkGetCompanyInput,\n output: FolkGetCompanyOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sBAAoC,EAAE,OAAO,EACxD,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,EAC1G,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACpE,MAAM,uCAAqD,EAAE,OAAO;CAClE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,WAAW;CACnC,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa;AACzC,CAAC,CAAC,CAAC,SAAS,sCAAsC;AAClD,MAAM,mCAAiD,EAAE,OAAO;CAC9D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;CACnD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB;CAChD,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,0BAA0B;CAC7D,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,iCAAiC;CACtE,QAAQ,EAAE,MAAM,oCAAoC,CAAC,CAAC,SAAS,qCAAqC;CACpG,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,+BAA+B;CACpE,WAAW,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,2BAA2B;CACnE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,mBAAmB,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,2GAA2G;AAC3K,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAK3D,MAAa,iBAAiB,OAAO,oBAAoB;CACvD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATgD,EAAE,OAAO,EACzD,MAAM,iCAAiC,SAAS,EAClD,CAAC,CAAC,CAAC,SAAS,uCAOF;AACV,CAAC"}
@@ -0,0 +1,21 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/get-current-workspace-user.ts
4
+ const FolkGetCurrentWorkspaceUserInput = zod.z.object({}).describe("Request schema for retrieving the current authenticated workspace user.\nNo parameters are required.");
5
+ const FolkGetCurrentWorkspaceUser_GetCurrentWorkspaceUserDataSchema = zod.z.object({
6
+ id: zod.z.string().describe("Unique identifier of the current workspace user"),
7
+ email: zod.z.string().describe("Email address of the current workspace user"),
8
+ fullName: zod.z.string().describe("Full name of the current workspace user")
9
+ }).describe("Representation of the current workspace user.");
10
+ const FolkGetCurrentWorkspaceUserOutput = zod.z.object({ data: FolkGetCurrentWorkspaceUser_GetCurrentWorkspaceUserDataSchema.nullable() }).describe("Full response schema for get-current-workspace-user.");
11
+ const folkGetCurrentWorkspaceUser = require_action.action("FOLK_GET_CURRENT_WORKSPACE_USER", {
12
+ slug: "folk-get-current-workspace-user",
13
+ name: "Get Current Workspace User",
14
+ description: "Tool to get details of the current authenticated workspace user. Use after authentication to retrieve the user's profile information.",
15
+ input: FolkGetCurrentWorkspaceUserInput,
16
+ output: FolkGetCurrentWorkspaceUserOutput
17
+ });
18
+ //#endregion
19
+ exports.folkGetCurrentWorkspaceUser = folkGetCurrentWorkspaceUser;
20
+
21
+ //# sourceMappingURL=get-current-workspace-user.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-current-workspace-user.cjs","names":["z","action"],"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,mCAAiDA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,sGAAsG;AAC1L,MAAM,gEAA8EA,IAAAA,EAAE,OAAO;CAC3F,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;CACzE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C;CACxE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC;AACzE,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAC3D,MAAa,oCAAkDA,IAAAA,EAAE,OAAO,EACtE,MAAM,8DAA8D,SAAS,EAC/E,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAElE,MAAa,8BAA8BC,eAAAA,OAAO,mCAAmC;CACnF,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-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.cts.map