@keystrokehq/folk 0.1.0 → 0.1.1

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 (193) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/create-company.cjs +15 -15
  4. package/dist/actions/create-company.cjs.map +1 -1
  5. package/dist/actions/create-company.d.cts +89 -3
  6. package/dist/actions/create-company.d.cts.map +1 -1
  7. package/dist/actions/create-company.d.mts +89 -3
  8. package/dist/actions/create-company.d.mts.map +1 -1
  9. package/dist/actions/create-company.mjs +15 -15
  10. package/dist/actions/create-company.mjs.map +1 -1
  11. package/dist/actions/create-note.cjs +15 -15
  12. package/dist/actions/create-note.cjs.map +1 -1
  13. package/dist/actions/create-note.d.cts +70 -3
  14. package/dist/actions/create-note.d.cts.map +1 -1
  15. package/dist/actions/create-note.d.mts +70 -3
  16. package/dist/actions/create-note.d.mts.map +1 -1
  17. package/dist/actions/create-note.mjs +15 -15
  18. package/dist/actions/create-note.mjs.map +1 -1
  19. package/dist/actions/create-person.cjs +29 -29
  20. package/dist/actions/create-person.cjs.map +1 -1
  21. package/dist/actions/create-person.d.cts +113 -3
  22. package/dist/actions/create-person.d.cts.map +1 -1
  23. package/dist/actions/create-person.d.mts +113 -3
  24. package/dist/actions/create-person.d.mts.map +1 -1
  25. package/dist/actions/create-person.mjs +29 -29
  26. package/dist/actions/create-person.mjs.map +1 -1
  27. package/dist/actions/delete-company.cjs +2 -2
  28. package/dist/actions/delete-company.cjs.map +1 -1
  29. package/dist/actions/delete-company.d.cts +17 -3
  30. package/dist/actions/delete-company.d.cts.map +1 -1
  31. package/dist/actions/delete-company.d.mts +17 -3
  32. package/dist/actions/delete-company.d.mts.map +1 -1
  33. package/dist/actions/delete-company.mjs +2 -2
  34. package/dist/actions/delete-company.mjs.map +1 -1
  35. package/dist/actions/delete-note.cjs +2 -2
  36. package/dist/actions/delete-note.cjs.map +1 -1
  37. package/dist/actions/delete-note.d.cts +17 -3
  38. package/dist/actions/delete-note.d.cts.map +1 -1
  39. package/dist/actions/delete-note.d.mts +17 -3
  40. package/dist/actions/delete-note.d.mts.map +1 -1
  41. package/dist/actions/delete-note.mjs +2 -2
  42. package/dist/actions/delete-note.mjs.map +1 -1
  43. package/dist/actions/delete-person.cjs +2 -2
  44. package/dist/actions/delete-person.cjs.map +1 -1
  45. package/dist/actions/delete-person.d.cts +17 -3
  46. package/dist/actions/delete-person.d.cts.map +1 -1
  47. package/dist/actions/delete-person.d.mts +17 -3
  48. package/dist/actions/delete-person.d.mts.map +1 -1
  49. package/dist/actions/delete-person.mjs +2 -2
  50. package/dist/actions/delete-person.mjs.map +1 -1
  51. package/dist/actions/delete-reminder.cjs +2 -2
  52. package/dist/actions/delete-reminder.cjs.map +1 -1
  53. package/dist/actions/delete-reminder.d.cts +17 -3
  54. package/dist/actions/delete-reminder.d.cts.map +1 -1
  55. package/dist/actions/delete-reminder.d.mts +17 -3
  56. package/dist/actions/delete-reminder.d.mts.map +1 -1
  57. package/dist/actions/delete-reminder.mjs +2 -2
  58. package/dist/actions/delete-reminder.mjs.map +1 -1
  59. package/dist/actions/get-company.cjs +5 -5
  60. package/dist/actions/get-company.cjs.map +1 -1
  61. package/dist/actions/get-company.d.cts +37 -3
  62. package/dist/actions/get-company.d.cts.map +1 -1
  63. package/dist/actions/get-company.d.mts +37 -3
  64. package/dist/actions/get-company.d.mts.map +1 -1
  65. package/dist/actions/get-company.mjs +5 -5
  66. package/dist/actions/get-company.mjs.map +1 -1
  67. package/dist/actions/get-current-workspace-user.cjs +3 -3
  68. package/dist/actions/get-current-workspace-user.cjs.map +1 -1
  69. package/dist/actions/get-current-workspace-user.d.cts +15 -3
  70. package/dist/actions/get-current-workspace-user.d.cts.map +1 -1
  71. package/dist/actions/get-current-workspace-user.d.mts +15 -3
  72. package/dist/actions/get-current-workspace-user.d.mts.map +1 -1
  73. package/dist/actions/get-current-workspace-user.mjs +3 -3
  74. package/dist/actions/get-current-workspace-user.mjs.map +1 -1
  75. package/dist/actions/get-note.cjs +28 -28
  76. package/dist/actions/get-note.cjs.map +1 -1
  77. package/dist/actions/get-note.d.cts +129 -3
  78. package/dist/actions/get-note.d.cts.map +1 -1
  79. package/dist/actions/get-note.d.mts +129 -3
  80. package/dist/actions/get-note.d.mts.map +1 -1
  81. package/dist/actions/get-note.mjs +28 -28
  82. package/dist/actions/get-note.mjs.map +1 -1
  83. package/dist/actions/get-person.cjs +25 -25
  84. package/dist/actions/get-person.cjs.map +1 -1
  85. package/dist/actions/get-person.d.cts +65 -3
  86. package/dist/actions/get-person.d.cts.map +1 -1
  87. package/dist/actions/get-person.d.mts +65 -3
  88. package/dist/actions/get-person.d.mts.map +1 -1
  89. package/dist/actions/get-person.mjs +25 -25
  90. package/dist/actions/get-person.mjs.map +1 -1
  91. package/dist/actions/get-user.cjs +4 -4
  92. package/dist/actions/get-user.cjs.map +1 -1
  93. package/dist/actions/get-user.d.cts +21 -3
  94. package/dist/actions/get-user.d.cts.map +1 -1
  95. package/dist/actions/get-user.d.mts +21 -3
  96. package/dist/actions/get-user.d.mts.map +1 -1
  97. package/dist/actions/get-user.mjs +4 -4
  98. package/dist/actions/get-user.mjs.map +1 -1
  99. package/dist/actions/list-companies.cjs +16 -16
  100. package/dist/actions/list-companies.cjs.map +1 -1
  101. package/dist/actions/list-companies.d.cts +80 -3
  102. package/dist/actions/list-companies.d.cts.map +1 -1
  103. package/dist/actions/list-companies.d.mts +80 -3
  104. package/dist/actions/list-companies.d.mts.map +1 -1
  105. package/dist/actions/list-companies.mjs +16 -16
  106. package/dist/actions/list-companies.mjs.map +1 -1
  107. package/dist/actions/list-group-custom-fields.cjs +10 -10
  108. package/dist/actions/list-group-custom-fields.cjs.map +1 -1
  109. package/dist/actions/list-group-custom-fields.d.cts +64 -3
  110. package/dist/actions/list-group-custom-fields.d.cts.map +1 -1
  111. package/dist/actions/list-group-custom-fields.d.mts +64 -3
  112. package/dist/actions/list-group-custom-fields.d.mts.map +1 -1
  113. package/dist/actions/list-group-custom-fields.mjs +10 -10
  114. package/dist/actions/list-group-custom-fields.mjs.map +1 -1
  115. package/dist/actions/list-groups.cjs +5 -5
  116. package/dist/actions/list-groups.cjs.map +1 -1
  117. package/dist/actions/list-groups.d.cts +31 -3
  118. package/dist/actions/list-groups.d.cts.map +1 -1
  119. package/dist/actions/list-groups.d.mts +31 -3
  120. package/dist/actions/list-groups.d.mts.map +1 -1
  121. package/dist/actions/list-groups.mjs +5 -5
  122. package/dist/actions/list-groups.mjs.map +1 -1
  123. package/dist/actions/list-notes.cjs +22 -22
  124. package/dist/actions/list-notes.cjs.map +1 -1
  125. package/dist/actions/list-notes.d.cts +88 -3
  126. package/dist/actions/list-notes.d.cts.map +1 -1
  127. package/dist/actions/list-notes.d.mts +88 -3
  128. package/dist/actions/list-notes.d.mts.map +1 -1
  129. package/dist/actions/list-notes.mjs +22 -22
  130. package/dist/actions/list-notes.mjs.map +1 -1
  131. package/dist/actions/list-people.cjs +22 -22
  132. package/dist/actions/list-people.cjs.map +1 -1
  133. package/dist/actions/list-people.d.cts +97 -3
  134. package/dist/actions/list-people.d.cts.map +1 -1
  135. package/dist/actions/list-people.d.mts +97 -3
  136. package/dist/actions/list-people.d.mts.map +1 -1
  137. package/dist/actions/list-people.mjs +22 -22
  138. package/dist/actions/list-people.mjs.map +1 -1
  139. package/dist/actions/list-reminders.cjs +15 -15
  140. package/dist/actions/list-reminders.cjs.map +1 -1
  141. package/dist/actions/list-reminders.d.cts +80 -3
  142. package/dist/actions/list-reminders.d.cts.map +1 -1
  143. package/dist/actions/list-reminders.d.mts +80 -3
  144. package/dist/actions/list-reminders.d.mts.map +1 -1
  145. package/dist/actions/list-reminders.mjs +15 -15
  146. package/dist/actions/list-reminders.mjs.map +1 -1
  147. package/dist/actions/list-users.cjs +5 -5
  148. package/dist/actions/list-users.cjs.map +1 -1
  149. package/dist/actions/list-users.d.cts +33 -3
  150. package/dist/actions/list-users.d.cts.map +1 -1
  151. package/dist/actions/list-users.d.mts +33 -3
  152. package/dist/actions/list-users.d.mts.map +1 -1
  153. package/dist/actions/list-users.mjs +5 -5
  154. package/dist/actions/list-users.mjs.map +1 -1
  155. package/dist/actions/list-webhooks.cjs +14 -14
  156. package/dist/actions/list-webhooks.cjs.map +1 -1
  157. package/dist/actions/list-webhooks.d.cts +57 -3
  158. package/dist/actions/list-webhooks.d.cts.map +1 -1
  159. package/dist/actions/list-webhooks.d.mts +57 -3
  160. package/dist/actions/list-webhooks.d.mts.map +1 -1
  161. package/dist/actions/list-webhooks.mjs +14 -14
  162. package/dist/actions/list-webhooks.mjs.map +1 -1
  163. package/dist/actions/update-company.cjs +6 -6
  164. package/dist/actions/update-company.cjs.map +1 -1
  165. package/dist/actions/update-company.d.cts +59 -3
  166. package/dist/actions/update-company.d.cts.map +1 -1
  167. package/dist/actions/update-company.d.mts +59 -3
  168. package/dist/actions/update-company.d.mts.map +1 -1
  169. package/dist/actions/update-company.mjs +6 -6
  170. package/dist/actions/update-company.mjs.map +1 -1
  171. package/dist/actions/update-note.cjs +15 -15
  172. package/dist/actions/update-note.cjs.map +1 -1
  173. package/dist/actions/update-note.d.cts +56 -3
  174. package/dist/actions/update-note.d.cts.map +1 -1
  175. package/dist/actions/update-note.d.mts +56 -3
  176. package/dist/actions/update-note.d.mts.map +1 -1
  177. package/dist/actions/update-note.mjs +15 -15
  178. package/dist/actions/update-note.mjs.map +1 -1
  179. package/dist/actions/update-person.cjs +26 -26
  180. package/dist/actions/update-person.cjs.map +1 -1
  181. package/dist/actions/update-person.d.cts +107 -3
  182. package/dist/actions/update-person.d.cts.map +1 -1
  183. package/dist/actions/update-person.d.mts +107 -3
  184. package/dist/actions/update-person.d.mts.map +1 -1
  185. package/dist/actions/update-person.mjs +26 -26
  186. package/dist/actions/update-person.mjs.map +1 -1
  187. package/dist/catalog.cjs +7 -1
  188. package/dist/catalog.cjs.map +1 -1
  189. package/dist/catalog.d.cts +8 -0
  190. package/dist/catalog.d.mts +8 -0
  191. package/dist/catalog.mjs +7 -1
  192. package/dist/catalog.mjs.map +1 -1
  193. package/package.json +2 -2
@@ -1,9 +1,23 @@
1
1
  import { z } from "zod";
2
2
 
3
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]>;
4
+ declare const FolkDeleteReminderInput: z.ZodObject<{
5
+ reminder_id: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const FolkDeleteReminderOutput: z.ZodObject<{
8
+ data: z.ZodNullable<z.ZodObject<{
9
+ id: z.ZodNullable<z.ZodString>;
10
+ }, z.core.$strip>>;
11
+ deprecations: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodString>>>;
12
+ }, z.core.$strip>;
13
+ declare const folkDeleteReminder: import("@keystrokehq/action").WorkflowActionDefinition<{
14
+ reminder_id: string;
15
+ }, {
16
+ data: {
17
+ id: string | null;
18
+ } | null;
19
+ deprecations?: string[] | undefined;
20
+ }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
21
  //#endregion
8
22
  export { folkDeleteReminder };
9
23
  //# sourceMappingURL=delete-reminder.d.mts.map
@@ -1 +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"}
1
+ {"version":3,"file":"delete-reminder.d.mts","names":[],"sources":["../../src/actions/delete-reminder.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;cAMvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;cAKxB,kBAAA,gCAAkB,wBAAA"}
@@ -2,7 +2,7 @@ import { action } from "../action.mjs";
2
2
  import { z } from "zod";
3
3
  //#region src/actions/delete-reminder.ts
4
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.");
5
+ const FolkDeleteReminder_DeleteReminderResponseDataSchema = z.object({ id: z.string().describe("The ID of the deleted reminder.").nullable() }).describe("Data returned after deleting a reminder.");
6
6
  const folkDeleteReminder = action("FOLK_DELETE_REMINDER", {
7
7
  slug: "folk-delete-reminder",
8
8
  name: "Delete Reminder",
@@ -10,7 +10,7 @@ const folkDeleteReminder = action("FOLK_DELETE_REMINDER", {
10
10
  input: FolkDeleteReminderInput,
11
11
  output: z.object({
12
12
  data: FolkDeleteReminder_DeleteReminderResponseDataSchema.nullable(),
13
- deprecations: z.array(z.string()).describe("Any deprecation notices returned by the API.").nullable().optional()
13
+ deprecations: z.preprocess((value) => value === null ? void 0 : value, z.array(z.string()).describe("Any deprecation notices returned by the API.").optional())
14
14
  }).describe("Response schema for deleting a reminder.")
15
15
  });
16
16
  //#endregion
@@ -1 +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"}
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.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.object({\n id: z.string().describe(\"The ID of the deleted reminder.\").nullable(),\n}).describe(\"Data returned after deleting a reminder.\");\nexport const FolkDeleteReminderOutput = z.object({\n data: FolkDeleteReminder_DeleteReminderResponseDataSchema.nullable(),\n deprecations: z.preprocess((value) => (value === null ? undefined : value), z.array(z.string()).describe(\"Any deprecation notices returned by the API.\").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,0BAA0B,EAAE,OAAO,EAC9C,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,EACrG,CAAC,CAAC,CAAC,SAAS,yCAAyC;AACrD,MAAM,sDAAsD,EAAE,OAAO,EACnE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,EACtE,CAAC,CAAC,CAAC,SAAS,0CAA0C;AAMtD,MAAa,qBAAqB,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVsC,EAAE,OAAO;EAC/C,MAAM,oDAAoD,SAAS;EACnE,cAAc,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC;CACrK,CAAC,CAAC,CAAC,SAAS,0CAOF;AACV,CAAC"}
@@ -3,18 +3,18 @@ let zod = require("zod");
3
3
  //#region src/actions/get-company.ts
4
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
5
  const FolkGetCompany_GetCompanyGroupSchema = zod.z.object({
6
- id: zod.z.string().describe("Group ID."),
7
- name: zod.z.string().describe("Group name.")
6
+ id: zod.z.string().describe("Group ID.").nullable(),
7
+ name: zod.z.string().describe("Group name.").nullable()
8
8
  }).describe("A group associated with the company.");
9
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."),
10
+ id: zod.z.string().describe("Unique ID of the company.").nullable(),
11
+ name: zod.z.string().describe("Name of the company.").nullable(),
12
12
  urls: zod.z.array(zod.z.string()).describe("Websites of the company."),
13
13
  emails: zod.z.array(zod.z.string()).describe("Email addresses of the company."),
14
14
  groups: zod.z.array(FolkGetCompany_GetCompanyGroupSchema).describe("Groups associated with the company."),
15
15
  phones: zod.z.array(zod.z.string()).describe("Phone numbers of the company."),
16
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(),
17
+ description: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Description of the company.").optional()),
18
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
19
  }).describe("Representation of a company in the workspace.");
20
20
  const FolkGetCompanyOutput = zod.z.object({ data: FolkGetCompany_CompanyDataSchema.nullable() }).describe("Full response schema for get-company.");
@@ -1 +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"}
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.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.object({\n id: z.string().describe(\"Group ID.\").nullable(),\n name: z.string().describe(\"Group name.\").nullable(),\n}).describe(\"A group associated with the company.\");\nconst FolkGetCompany_CompanyDataSchema = z.object({\n id: z.string().describe(\"Unique ID of the company.\").nullable(),\n name: z.string().describe(\"Name of the company.\").nullable(),\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.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Description of the company.\").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.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,sBAAsBA,IAAAA,EAAE,OAAO,EAC1C,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,EAC1G,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACpE,MAAM,uCAAuCA,IAAAA,EAAE,OAAO;CACpD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,WAAW,CAAC,CAAC,SAAS;CAC9C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa,CAAC,CAAC,SAAS;AACpD,CAAC,CAAC,CAAC,SAAS,sCAAsC;AAClD,MAAM,mCAAmCA,IAAAA,EAAE,OAAO;CAChD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAC9D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CAC3D,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,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC;CACxI,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,uBAAuBA,IAAAA,EAAE,OAAO,EAC3C,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"}
@@ -1,9 +1,43 @@
1
1
  import { z } from "zod";
2
2
 
3
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]>;
4
+ declare const FolkGetCompanyInput: z.ZodObject<{
5
+ company_id: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const FolkGetCompanyOutput: z.ZodObject<{
8
+ data: z.ZodNullable<z.ZodObject<{
9
+ id: z.ZodNullable<z.ZodString>;
10
+ name: z.ZodNullable<z.ZodString>;
11
+ urls: z.ZodArray<z.ZodString>;
12
+ emails: z.ZodArray<z.ZodString>;
13
+ groups: z.ZodArray<z.ZodObject<{
14
+ id: z.ZodNullable<z.ZodString>;
15
+ name: z.ZodNullable<z.ZodString>;
16
+ }, z.core.$strip>>;
17
+ phones: z.ZodArray<z.ZodString>;
18
+ addresses: z.ZodArray<z.ZodString>;
19
+ description: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
20
+ customFieldValues: z.ZodRecord<z.ZodString, z.ZodUnknown>;
21
+ }, z.core.$strip>>;
22
+ }, z.core.$strip>;
23
+ declare const folkGetCompany: import("@keystrokehq/action").WorkflowActionDefinition<{
24
+ company_id: string;
25
+ }, {
26
+ data: {
27
+ id: string | null;
28
+ name: string | null;
29
+ urls: string[];
30
+ emails: string[];
31
+ groups: {
32
+ id: string | null;
33
+ name: string | null;
34
+ }[];
35
+ phones: string[];
36
+ addresses: string[];
37
+ customFieldValues: Record<string, unknown>;
38
+ description?: string | undefined;
39
+ } | null;
40
+ }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
41
  //#endregion
8
42
  export { folkGetCompany };
9
43
  //# sourceMappingURL=get-company.d.cts.map
@@ -1 +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"}
1
+ {"version":3,"file":"get-company.d.cts","names":[],"sources":["../../src/actions/get-company.ts"],"mappings":";;;cAIa,mBAAA,EAAmB,CAAA,CAAA,SAAA;;;cAkBnB,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAIpB,cAAA,gCAAc,wBAAA;;;;;;;;;;;;;;uBAMzB,MAAA"}
@@ -1,9 +1,43 @@
1
1
  import { z } from "zod";
2
2
 
3
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]>;
4
+ declare const FolkGetCompanyInput: z.ZodObject<{
5
+ company_id: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const FolkGetCompanyOutput: z.ZodObject<{
8
+ data: z.ZodNullable<z.ZodObject<{
9
+ id: z.ZodNullable<z.ZodString>;
10
+ name: z.ZodNullable<z.ZodString>;
11
+ urls: z.ZodArray<z.ZodString>;
12
+ emails: z.ZodArray<z.ZodString>;
13
+ groups: z.ZodArray<z.ZodObject<{
14
+ id: z.ZodNullable<z.ZodString>;
15
+ name: z.ZodNullable<z.ZodString>;
16
+ }, z.core.$strip>>;
17
+ phones: z.ZodArray<z.ZodString>;
18
+ addresses: z.ZodArray<z.ZodString>;
19
+ description: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
20
+ customFieldValues: z.ZodRecord<z.ZodString, z.ZodUnknown>;
21
+ }, z.core.$strip>>;
22
+ }, z.core.$strip>;
23
+ declare const folkGetCompany: import("@keystrokehq/action").WorkflowActionDefinition<{
24
+ company_id: string;
25
+ }, {
26
+ data: {
27
+ id: string | null;
28
+ name: string | null;
29
+ urls: string[];
30
+ emails: string[];
31
+ groups: {
32
+ id: string | null;
33
+ name: string | null;
34
+ }[];
35
+ phones: string[];
36
+ addresses: string[];
37
+ customFieldValues: Record<string, unknown>;
38
+ description?: string | undefined;
39
+ } | null;
40
+ }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
41
  //#endregion
8
42
  export { folkGetCompany };
9
43
  //# sourceMappingURL=get-company.d.mts.map
@@ -1 +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"}
1
+ {"version":3,"file":"get-company.d.mts","names":[],"sources":["../../src/actions/get-company.ts"],"mappings":";;;cAIa,mBAAA,EAAmB,CAAA,CAAA,SAAA;;;cAkBnB,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAIpB,cAAA,gCAAc,wBAAA;;;;;;;;;;;;;;uBAMzB,MAAA"}
@@ -3,18 +3,18 @@ import { z } from "zod";
3
3
  //#region src/actions/get-company.ts
4
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
5
  const FolkGetCompany_GetCompanyGroupSchema = z.object({
6
- id: z.string().describe("Group ID."),
7
- name: z.string().describe("Group name.")
6
+ id: z.string().describe("Group ID.").nullable(),
7
+ name: z.string().describe("Group name.").nullable()
8
8
  }).describe("A group associated with the company.");
9
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."),
10
+ id: z.string().describe("Unique ID of the company.").nullable(),
11
+ name: z.string().describe("Name of the company.").nullable(),
12
12
  urls: z.array(z.string()).describe("Websites of the company."),
13
13
  emails: z.array(z.string()).describe("Email addresses of the company."),
14
14
  groups: z.array(FolkGetCompany_GetCompanyGroupSchema).describe("Groups associated with the company."),
15
15
  phones: z.array(z.string()).describe("Phone numbers of the company."),
16
16
  addresses: z.array(z.string()).describe("Addresses of the company."),
17
- description: z.string().describe("Description of the company.").nullable().optional(),
17
+ description: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Description of the company.").optional()),
18
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
19
  }).describe("Representation of a company in the workspace.");
20
20
  const folkGetCompany = action("FOLK_GET_COMPANY", {
@@ -1 +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"}
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.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.object({\n id: z.string().describe(\"Group ID.\").nullable(),\n name: z.string().describe(\"Group name.\").nullable(),\n}).describe(\"A group associated with the company.\");\nconst FolkGetCompany_CompanyDataSchema = z.object({\n id: z.string().describe(\"Unique ID of the company.\").nullable(),\n name: z.string().describe(\"Name of the company.\").nullable(),\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.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Description of the company.\").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.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":";;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AAC,CAAC,SAAS,uCAOF;AACV,CAAC"}
@@ -3,9 +3,9 @@ let zod = require("zod");
3
3
  //#region src/actions/get-current-workspace-user.ts
4
4
  const FolkGetCurrentWorkspaceUserInput = zod.z.object({}).describe("Request schema for retrieving the current authenticated workspace user.\nNo parameters are required.");
5
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")
6
+ id: zod.z.string().describe("Unique identifier of the current workspace user").nullable(),
7
+ email: zod.z.string().describe("Email address of the current workspace user").nullable(),
8
+ fullName: zod.z.string().describe("Full name of the current workspace user").nullable()
9
9
  }).describe("Representation of the current workspace user.");
10
10
  const FolkGetCurrentWorkspaceUserOutput = zod.z.object({ data: FolkGetCurrentWorkspaceUser_GetCurrentWorkspaceUserDataSchema.nullable() }).describe("Full response schema for get-current-workspace-user.");
11
11
  const folkGetCurrentWorkspaceUser = require_action.action("FOLK_GET_CURRENT_WORKSPACE_USER", {
@@ -1 +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"}
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.object({}).describe(\"Request schema for retrieving the current authenticated workspace user.\\nNo parameters are required.\");\nconst FolkGetCurrentWorkspaceUser_GetCurrentWorkspaceUserDataSchema = z.object({\n id: z.string().describe(\"Unique identifier of the current workspace user\").nullable(),\n email: z.string().describe(\"Email address of the current workspace user\").nullable(),\n fullName: z.string().describe(\"Full name of the current workspace user\").nullable(),\n}).describe(\"Representation of the current workspace user.\");\nexport const FolkGetCurrentWorkspaceUserOutput = 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,mCAAmCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,sGAAsG;AAC5K,MAAM,gEAAgEA,IAAAA,EAAE,OAAO;CAC7E,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CACpF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACnF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;AACpF,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAC3D,MAAa,oCAAoCA,IAAAA,EAAE,OAAO,EACxD,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"}
@@ -1,9 +1,21 @@
1
1
  import { z } from "zod";
2
2
 
3
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]>;
4
+ declare const FolkGetCurrentWorkspaceUserInput: z.ZodObject<{}, z.core.$strip>;
5
+ declare const FolkGetCurrentWorkspaceUserOutput: z.ZodObject<{
6
+ data: z.ZodNullable<z.ZodObject<{
7
+ id: z.ZodNullable<z.ZodString>;
8
+ email: z.ZodNullable<z.ZodString>;
9
+ fullName: z.ZodNullable<z.ZodString>;
10
+ }, z.core.$strip>>;
11
+ }, z.core.$strip>;
12
+ declare const folkGetCurrentWorkspaceUser: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, {
13
+ data: {
14
+ id: string | null;
15
+ email: string | null;
16
+ fullName: string | null;
17
+ } | null;
18
+ }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
19
  //#endregion
8
20
  export { folkGetCurrentWorkspaceUser };
9
21
  //# sourceMappingURL=get-current-workspace-user.d.cts.map
@@ -1 +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"}
1
+ {"version":3,"file":"get-current-workspace-user.d.cts","names":[],"sources":["../../src/actions/get-current-workspace-user.ts"],"mappings":";;;cAIa,gCAAA,EAAgC,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAMhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;cAIjC,2BAAA,gCAA2B,wBAAA,CAAA,MAAA"}
@@ -1,9 +1,21 @@
1
1
  import { z } from "zod";
2
2
 
3
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]>;
4
+ declare const FolkGetCurrentWorkspaceUserInput: z.ZodObject<{}, z.core.$strip>;
5
+ declare const FolkGetCurrentWorkspaceUserOutput: z.ZodObject<{
6
+ data: z.ZodNullable<z.ZodObject<{
7
+ id: z.ZodNullable<z.ZodString>;
8
+ email: z.ZodNullable<z.ZodString>;
9
+ fullName: z.ZodNullable<z.ZodString>;
10
+ }, z.core.$strip>>;
11
+ }, z.core.$strip>;
12
+ declare const folkGetCurrentWorkspaceUser: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, {
13
+ data: {
14
+ id: string | null;
15
+ email: string | null;
16
+ fullName: string | null;
17
+ } | null;
18
+ }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
19
  //#endregion
8
20
  export { folkGetCurrentWorkspaceUser };
9
21
  //# sourceMappingURL=get-current-workspace-user.d.mts.map
@@ -1 +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"}
1
+ {"version":3,"file":"get-current-workspace-user.d.mts","names":[],"sources":["../../src/actions/get-current-workspace-user.ts"],"mappings":";;;cAIa,gCAAA,EAAgC,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAMhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;cAIjC,2BAAA,gCAA2B,wBAAA,CAAA,MAAA"}
@@ -3,9 +3,9 @@ import { z } from "zod";
3
3
  //#region src/actions/get-current-workspace-user.ts
4
4
  const FolkGetCurrentWorkspaceUserInput = z.object({}).describe("Request schema for retrieving the current authenticated workspace user.\nNo parameters are required.");
5
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")
6
+ id: z.string().describe("Unique identifier of the current workspace user").nullable(),
7
+ email: z.string().describe("Email address of the current workspace user").nullable(),
8
+ fullName: z.string().describe("Full name of the current workspace user").nullable()
9
9
  }).describe("Representation of the current workspace user.");
10
10
  const folkGetCurrentWorkspaceUser = action("FOLK_GET_CURRENT_WORKSPACE_USER", {
11
11
  slug: "folk-get-current-workspace-user",
@@ -1 +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"}
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.object({}).describe(\"Request schema for retrieving the current authenticated workspace user.\\nNo parameters are required.\");\nconst FolkGetCurrentWorkspaceUser_GetCurrentWorkspaceUserDataSchema = z.object({\n id: z.string().describe(\"Unique identifier of the current workspace user\").nullable(),\n email: z.string().describe(\"Email address of the current workspace user\").nullable(),\n fullName: z.string().describe(\"Full name of the current workspace user\").nullable(),\n}).describe(\"Representation of the current workspace user.\");\nexport const FolkGetCurrentWorkspaceUserOutput = 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,mCAAmC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,sGAAsG;AAC5K,MAAM,gEAAgE,EAAE,OAAO;CAC7E,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CACpF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACnF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;AACpF,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAK3D,MAAa,8BAA8B,OAAO,mCAAmC;CACnF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT+C,EAAE,OAAO,EACxD,MAAM,8DAA8D,SAAS,EAC/E,CAAC,CAAC,CAAC,SAAS,sDAOF;AACV,CAAC"}
@@ -3,60 +3,60 @@ let zod = require("zod");
3
3
  //#region src/actions/get-note.ts
4
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
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")
6
+ id: zod.z.string().describe("User identifier").nullable(),
7
+ type: zod.z.string().describe("Author type for active user").nullable(),
8
+ email: zod.z.string().describe("User's email address").nullable(),
9
+ deleted: zod.z.boolean().describe("User deletion status").nullable(),
10
+ fullName: zod.z.string().describe("User's full name").nullable()
11
11
  }).describe("Active user author information.");
12
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")
13
+ id: zod.z.string().describe("User identifier").nullable(),
14
+ type: zod.z.string().describe("Author type for deleted user").nullable(),
15
+ deleted: zod.z.boolean().describe("User deletion status").nullable()
16
16
  }).describe("Deleted user author information.");
17
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")
18
+ type: zod.z.string().describe("Author type for assistant").nullable(),
19
+ fullName: zod.z.string().describe("Assistant's display name").nullable()
20
20
  }).describe("Assistant author information.");
21
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"),
22
+ id: zod.z.string().describe("Entity identifier (40 characters)").nullable(),
23
+ fullName: zod.z.string().describe("Full name of the entity").nullable(),
24
24
  entityType: zod.z.enum([
25
25
  "person",
26
26
  "company",
27
27
  "object"
28
- ]).describe("Type of entity the note is attached to")
28
+ ]).describe("Type of entity the note is attached to").nullable()
29
29
  }).describe("Entity (person, company, or object) associated with the note.");
30
30
  const FolkGetNote_GetNoteParentNoteSchema = zod.z.object({
31
- id: zod.z.string().describe("Parent note identifier"),
32
- author: zod.z.union([
31
+ id: zod.z.string().describe("Parent note identifier").nullable(),
32
+ author: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.union([
33
33
  FolkGetNote_GetNoteActiveUserSchema,
34
34
  FolkGetNote_GetNoteDeletedUserSchema,
35
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()
36
+ ]).optional()),
37
+ entity: zod.z.preprocess((value) => value === null ? void 0 : value, FolkGetNote_GetNoteEntitySchema.optional()),
38
+ content: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Parent note content").optional()),
39
+ deleted: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.boolean().describe("Whether the parent note has been deleted").optional()),
40
+ createdAt: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("ISO 8601 timestamp when the parent note was created").optional()),
41
+ parentNote: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.record(zod.z.string(), zod.z.unknown()).describe("Grandparent note if parent is also a reply").optional()),
42
+ visibility: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.enum(["public", "private"]).describe("Visibility of the parent note").optional())
43
43
  }).describe("Parent note information if this note is a reply.");
44
44
  const FolkGetNote_GetNoteDataSchema = zod.z.object({
45
- id: zod.z.string().describe("Unique identifier of the note"),
45
+ id: zod.z.string().describe("Unique identifier of the note").nullable(),
46
46
  author: zod.z.union([
47
47
  FolkGetNote_GetNoteActiveUserSchema,
48
48
  FolkGetNote_GetNoteDeletedUserSchema,
49
49
  FolkGetNote_GetNoteAssistantSchema
50
50
  ]),
51
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")
52
+ content: zod.z.string().describe("Note content in text or markdown format").nullable(),
53
+ createdAt: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("ISO 8601 timestamp when the note was created").optional()),
54
+ parentNote: zod.z.preprocess((value) => value === null ? void 0 : value, FolkGetNote_GetNoteParentNoteSchema.optional()),
55
+ visibility: zod.z.enum(["public", "private"]).describe("Visibility setting for the note").nullable()
56
56
  }).describe("Note data object returned by the API.");
57
57
  const FolkGetNoteOutput = zod.z.object({
58
58
  data: FolkGetNote_GetNoteDataSchema.nullable(),
59
- deprecations: zod.z.array(zod.z.string()).describe("List of deprecation warnings, if any").nullable().optional()
59
+ deprecations: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.array(zod.z.string()).describe("List of deprecation warnings, if any").optional())
60
60
  }).describe("Full response schema for get-note endpoint.");
61
61
  const folkGetNote = require_action.action("FOLK_GET_NOTE", {
62
62
  slug: "folk-get-note",
@@ -1 +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,MAAM,uCAAqDA,IAAAA,EAAE,OAAO;CAClE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB;CACzC,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B;CACxD,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,sBAAsB;AACtD,CAAC,CAAC,CAAC,SAAS,kCAAkC;AAC9C,MAAM,qCAAmDA,IAAAA,EAAE,OAAO;CAChE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;CACrD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B;AAC1D,CAAC,CAAC,CAAC,SAAS,+BAA+B;AAC3C,MAAM,kCAAgDA,IAAAA,EAAE,OAAO;CAC7D,IAAIA,I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C;CAAkC,CAAC;CAC/H,QAAQ,gCAAgC,SAAS;CACjD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC;CACtE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,YAAY,oCAAoC,SAAS,CAAC,CAAC,SAAS;CACpE,YAAYA,IAAAA,EAAE,KAAK,CAAC,UAAU,SAAS,CAAC,CAAC,CAAC,SAAS,iCAAiC;AACtF,CAAC,CAAC,CAAC,SAAS,uCAAuC;AACnD,MAAa,oBAAkCA,IAAAA,EAAE,OAAO;CACtD,MAAM,8BAA8B,SAAS;CAC7C,cAAcA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzG,CAAC,CAAC,CAAC,SAAS,6CAA6C;AAEzD,MAAa,cAAcC,eAAAA,OAAO,iBAAiB;CACjD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
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.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.object({\n id: z.string().describe(\"User identifier\").nullable(),\n type: z.string().describe(\"Author type for active user\").nullable(),\n email: z.string().describe(\"User's email address\").nullable(),\n deleted: z.boolean().describe(\"User deletion status\").nullable(),\n fullName: z.string().describe(\"User's full name\").nullable(),\n}).describe(\"Active user author information.\");\nconst FolkGetNote_GetNoteDeletedUserSchema = z.object({\n id: z.string().describe(\"User identifier\").nullable(),\n type: z.string().describe(\"Author type for deleted user\").nullable(),\n deleted: z.boolean().describe(\"User deletion status\").nullable(),\n}).describe(\"Deleted user author information.\");\nconst FolkGetNote_GetNoteAssistantSchema = z.object({\n type: z.string().describe(\"Author type for assistant\").nullable(),\n fullName: z.string().describe(\"Assistant's display name\").nullable(),\n}).describe(\"Assistant author information.\");\nconst FolkGetNote_GetNoteEntitySchema = z.object({\n id: z.string().describe(\"Entity identifier (40 characters)\").nullable(),\n fullName: z.string().describe(\"Full name of the entity\").nullable(),\n entityType: z.enum([\"person\", \"company\", \"object\"]).describe(\"Type of entity the note is attached to\").nullable(),\n}).describe(\"Entity (person, company, or object) associated with the note.\");\nconst FolkGetNote_GetNoteParentNoteSchema = z.object({\n id: z.string().describe(\"Parent note identifier\").nullable(),\n author: z.preprocess((value) => (value === null ? undefined : value), z.union([FolkGetNote_GetNoteActiveUserSchema, FolkGetNote_GetNoteDeletedUserSchema, FolkGetNote_GetNoteAssistantSchema]).optional()),\n entity: z.preprocess((value) => (value === null ? undefined : value), FolkGetNote_GetNoteEntitySchema.optional()),\n content: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Parent note content\").optional()),\n deleted: z.preprocess((value) => (value === null ? undefined : value), z.boolean().describe(\"Whether the parent note has been deleted\").optional()),\n createdAt: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"ISO 8601 timestamp when the parent note was created\").optional()),\n parentNote: z.preprocess((value) => (value === null ? undefined : value), z.record(z.string(), z.unknown()).describe(\"Grandparent note if parent is also a reply\").optional()),\n visibility: z.preprocess((value) => (value === null ? undefined : value), z.enum([\"public\", \"private\"]).describe(\"Visibility of the parent note\").optional()),\n}).describe(\"Parent note information if this note is a reply.\");\nconst FolkGetNote_GetNoteDataSchema = z.object({\n id: z.string().describe(\"Unique identifier of the note\").nullable(),\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\").nullable(),\n createdAt: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"ISO 8601 timestamp when the note was created\").optional()),\n parentNote: z.preprocess((value) => (value === null ? undefined : value), FolkGetNote_GetNoteParentNoteSchema.optional()),\n visibility: z.enum([\"public\", \"private\"]).describe(\"Visibility setting for the note\").nullable(),\n}).describe(\"Note data object returned by the API.\");\nexport const FolkGetNoteOutput = z.object({\n data: FolkGetNote_GetNoteDataSchema.nullable(),\n deprecations: z.preprocess((value) => (value === null ? undefined : value), z.array(z.string()).describe(\"List of deprecation warnings, if any\").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,mBAAmBA,IAAAA,EAAE,OAAO,EACvC,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,EACpG,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAM,sCAAsCA,IAAAA,EAAE,OAAO;CACnD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS;CACpD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CAClE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CAC5D,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CAC/D,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;AAC7D,CAAC,CAAC,CAAC,SAAS,iCAAiC;AAC7C,MAAM,uCAAuCA,IAAAA,EAAE,OAAO;CACpD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