@keystrokehq/folk 0.1.2 → 0.1.3

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 (147) hide show
  1. package/dist/actions/create-company.cjs +5 -5
  2. package/dist/actions/create-company.cjs.map +1 -1
  3. package/dist/actions/create-company.d.cts +6 -5
  4. package/dist/actions/create-company.d.cts.map +1 -1
  5. package/dist/actions/create-company.d.mts +6 -5
  6. package/dist/actions/create-company.d.mts.map +1 -1
  7. package/dist/actions/create-company.mjs +5 -5
  8. package/dist/actions/create-company.mjs.map +1 -1
  9. package/dist/actions/create-note.cjs +5 -5
  10. package/dist/actions/create-note.cjs.map +1 -1
  11. package/dist/actions/create-note.d.cts +5 -5
  12. package/dist/actions/create-note.d.mts +5 -5
  13. package/dist/actions/create-note.mjs +5 -5
  14. package/dist/actions/create-note.mjs.map +1 -1
  15. package/dist/actions/create-person.cjs +9 -9
  16. package/dist/actions/create-person.cjs.map +1 -1
  17. package/dist/actions/create-person.d.cts +11 -10
  18. package/dist/actions/create-person.d.cts.map +1 -1
  19. package/dist/actions/create-person.d.mts +11 -10
  20. package/dist/actions/create-person.d.mts.map +1 -1
  21. package/dist/actions/create-person.mjs +9 -9
  22. package/dist/actions/create-person.mjs.map +1 -1
  23. package/dist/actions/delete-company.cjs +2 -2
  24. package/dist/actions/delete-company.cjs.map +1 -1
  25. package/dist/actions/delete-company.d.cts +2 -2
  26. package/dist/actions/delete-company.d.mts +2 -2
  27. package/dist/actions/delete-company.mjs +2 -2
  28. package/dist/actions/delete-company.mjs.map +1 -1
  29. package/dist/actions/delete-note.cjs +2 -2
  30. package/dist/actions/delete-note.cjs.map +1 -1
  31. package/dist/actions/delete-note.d.cts +2 -2
  32. package/dist/actions/delete-note.d.mts +2 -2
  33. package/dist/actions/delete-note.mjs +2 -2
  34. package/dist/actions/delete-note.mjs.map +1 -1
  35. package/dist/actions/delete-person.cjs +2 -2
  36. package/dist/actions/delete-person.cjs.map +1 -1
  37. package/dist/actions/delete-person.d.cts +2 -2
  38. package/dist/actions/delete-person.d.mts +2 -2
  39. package/dist/actions/delete-person.mjs +2 -2
  40. package/dist/actions/delete-person.mjs.map +1 -1
  41. package/dist/actions/delete-reminder.cjs +2 -2
  42. package/dist/actions/delete-reminder.cjs.map +1 -1
  43. package/dist/actions/delete-reminder.d.cts +2 -2
  44. package/dist/actions/delete-reminder.d.mts +2 -2
  45. package/dist/actions/delete-reminder.mjs +2 -2
  46. package/dist/actions/delete-reminder.mjs.map +1 -1
  47. package/dist/actions/get-company.cjs +3 -3
  48. package/dist/actions/get-company.cjs.map +1 -1
  49. package/dist/actions/get-company.d.cts +3 -3
  50. package/dist/actions/get-company.d.mts +3 -3
  51. package/dist/actions/get-company.mjs +3 -3
  52. package/dist/actions/get-company.mjs.map +1 -1
  53. package/dist/actions/get-current-workspace-user.cjs +2 -2
  54. package/dist/actions/get-current-workspace-user.cjs.map +1 -1
  55. package/dist/actions/get-current-workspace-user.d.cts +2 -2
  56. package/dist/actions/get-current-workspace-user.d.mts +2 -2
  57. package/dist/actions/get-current-workspace-user.mjs +2 -2
  58. package/dist/actions/get-current-workspace-user.mjs.map +1 -1
  59. package/dist/actions/get-note.cjs +7 -7
  60. package/dist/actions/get-note.cjs.map +1 -1
  61. package/dist/actions/get-note.d.cts +11 -11
  62. package/dist/actions/get-note.d.mts +11 -11
  63. package/dist/actions/get-note.mjs +7 -7
  64. package/dist/actions/get-note.mjs.map +1 -1
  65. package/dist/actions/get-person.cjs +4 -4
  66. package/dist/actions/get-person.cjs.map +1 -1
  67. package/dist/actions/get-person.d.cts +4 -4
  68. package/dist/actions/get-person.d.mts +4 -4
  69. package/dist/actions/get-person.mjs +4 -4
  70. package/dist/actions/get-person.mjs.map +1 -1
  71. package/dist/actions/get-user.cjs +2 -2
  72. package/dist/actions/get-user.cjs.map +1 -1
  73. package/dist/actions/get-user.d.cts +2 -2
  74. package/dist/actions/get-user.d.mts +2 -2
  75. package/dist/actions/get-user.mjs +2 -2
  76. package/dist/actions/get-user.mjs.map +1 -1
  77. package/dist/actions/list-companies.cjs +7 -7
  78. package/dist/actions/list-companies.cjs.map +1 -1
  79. package/dist/actions/list-companies.d.cts +8 -8
  80. package/dist/actions/list-companies.d.mts +8 -8
  81. package/dist/actions/list-companies.mjs +7 -7
  82. package/dist/actions/list-companies.mjs.map +1 -1
  83. package/dist/actions/list-group-custom-fields.cjs +6 -6
  84. package/dist/actions/list-group-custom-fields.cjs.map +1 -1
  85. package/dist/actions/list-group-custom-fields.d.cts +6 -6
  86. package/dist/actions/list-group-custom-fields.d.mts +6 -6
  87. package/dist/actions/list-group-custom-fields.mjs +6 -6
  88. package/dist/actions/list-group-custom-fields.mjs.map +1 -1
  89. package/dist/actions/list-groups.cjs +4 -4
  90. package/dist/actions/list-groups.cjs.map +1 -1
  91. package/dist/actions/list-groups.d.cts +4 -4
  92. package/dist/actions/list-groups.d.mts +4 -4
  93. package/dist/actions/list-groups.mjs +4 -4
  94. package/dist/actions/list-groups.mjs.map +1 -1
  95. package/dist/actions/list-notes.cjs +9 -9
  96. package/dist/actions/list-notes.cjs.map +1 -1
  97. package/dist/actions/list-notes.d.cts +9 -9
  98. package/dist/actions/list-notes.d.mts +9 -9
  99. package/dist/actions/list-notes.mjs +9 -9
  100. package/dist/actions/list-notes.mjs.map +1 -1
  101. package/dist/actions/list-people.cjs +9 -9
  102. package/dist/actions/list-people.cjs.map +1 -1
  103. package/dist/actions/list-people.d.cts +10 -10
  104. package/dist/actions/list-people.d.mts +10 -10
  105. package/dist/actions/list-people.mjs +9 -9
  106. package/dist/actions/list-people.mjs.map +1 -1
  107. package/dist/actions/list-reminders.cjs +6 -6
  108. package/dist/actions/list-reminders.cjs.map +1 -1
  109. package/dist/actions/list-reminders.d.cts +7 -7
  110. package/dist/actions/list-reminders.d.mts +7 -7
  111. package/dist/actions/list-reminders.mjs +6 -6
  112. package/dist/actions/list-reminders.mjs.map +1 -1
  113. package/dist/actions/list-users.cjs +4 -4
  114. package/dist/actions/list-users.cjs.map +1 -1
  115. package/dist/actions/list-users.d.cts +4 -4
  116. package/dist/actions/list-users.d.mts +4 -4
  117. package/dist/actions/list-users.mjs +4 -4
  118. package/dist/actions/list-users.mjs.map +1 -1
  119. package/dist/actions/list-webhooks.cjs +6 -6
  120. package/dist/actions/list-webhooks.cjs.map +1 -1
  121. package/dist/actions/list-webhooks.d.cts +6 -6
  122. package/dist/actions/list-webhooks.d.mts +6 -6
  123. package/dist/actions/list-webhooks.mjs +6 -6
  124. package/dist/actions/list-webhooks.mjs.map +1 -1
  125. package/dist/actions/update-company.cjs +4 -4
  126. package/dist/actions/update-company.cjs.map +1 -1
  127. package/dist/actions/update-company.d.cts +5 -4
  128. package/dist/actions/update-company.d.cts.map +1 -1
  129. package/dist/actions/update-company.d.mts +5 -4
  130. package/dist/actions/update-company.d.mts.map +1 -1
  131. package/dist/actions/update-company.mjs +4 -4
  132. package/dist/actions/update-company.mjs.map +1 -1
  133. package/dist/actions/update-note.cjs +5 -5
  134. package/dist/actions/update-note.cjs.map +1 -1
  135. package/dist/actions/update-note.d.cts +5 -5
  136. package/dist/actions/update-note.d.mts +5 -5
  137. package/dist/actions/update-note.mjs +5 -5
  138. package/dist/actions/update-note.mjs.map +1 -1
  139. package/dist/actions/update-person.cjs +7 -7
  140. package/dist/actions/update-person.cjs.map +1 -1
  141. package/dist/actions/update-person.d.cts +9 -7
  142. package/dist/actions/update-person.d.cts.map +1 -1
  143. package/dist/actions/update-person.d.mts +9 -7
  144. package/dist/actions/update-person.d.mts.map +1 -1
  145. package/dist/actions/update-person.mjs +7 -7
  146. package/dist/actions/update-person.mjs.map +1 -1
  147. package/package.json +1 -1
@@ -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.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.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,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,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}).passthrough().describe(\"Data returned after deleting a reminder.\");\nexport const FolkDeleteReminderOutput = z.object({\n data: FolkDeleteReminder_DeleteReminderResponseDataSchema.nullable(),\n deprecations: z.array(z.string()).describe(\"Any deprecation notices returned by the API.\").nullable().optional(),\n}).passthrough().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,YAAY,CAAC,CAAC,SAAS,0CAA0C;AAMpE,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,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAOhB;AACV,CAAC"}
@@ -5,7 +5,7 @@ const FolkGetCompanyInput = zod.z.object({ company_id: zod.z.string().describe("
5
5
  const FolkGetCompany_GetCompanyGroupSchema = zod.z.object({
6
6
  id: zod.z.string().describe("Group ID.").nullable(),
7
7
  name: zod.z.string().describe("Group name.").nullable()
8
- }).describe("A group associated with the company.");
8
+ }).passthrough().describe("A group associated with the company.");
9
9
  const FolkGetCompany_CompanyDataSchema = zod.z.object({
10
10
  id: zod.z.string().describe("Unique ID of the company.").nullable(),
11
11
  name: zod.z.string().describe("Name of the company.").nullable(),
@@ -16,8 +16,8 @@ const FolkGetCompany_CompanyDataSchema = zod.z.object({
16
16
  addresses: zod.z.array(zod.z.string()).describe("Addresses of the company."),
17
17
  description: zod.z.string().describe("Description of the company.").nullable().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
- }).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.");
19
+ }).passthrough().describe("Representation of a company in the workspace.");
20
+ const FolkGetCompanyOutput = zod.z.object({ data: FolkGetCompany_CompanyDataSchema.nullable() }).passthrough().describe("Full response schema for get-company.");
21
21
  const folkGetCompany = require_action.action("FOLK_GET_COMPANY", {
22
22
  slug: "folk-get-company",
23
23
  name: "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.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.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.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,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,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
+ {"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}).passthrough().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.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}).passthrough().describe(\"Representation of a company in the workspace.\");\nexport const FolkGetCompanyOutput = z.object({\n data: FolkGetCompany_CompanyDataSchema.nullable(),\n}).passthrough().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,YAAY,CAAC,CAAC,SAAS,sCAAsC;AAChE,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,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,YAAY,CAAC,CAAC,SAAS,+CAA+C;AACzE,MAAa,uBAAuBA,IAAAA,EAAE,OAAO,EAC3C,MAAM,iCAAiC,SAAS,EAClD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAAuC;AAEjE,MAAa,iBAAiBC,eAAAA,OAAO,oBAAoB;CACvD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -13,13 +13,13 @@ declare const FolkGetCompanyOutput: z.ZodObject<{
13
13
  groups: z.ZodArray<z.ZodObject<{
14
14
  id: z.ZodNullable<z.ZodString>;
15
15
  name: z.ZodNullable<z.ZodString>;
16
- }, z.core.$strip>>;
16
+ }, z.core.$loose>>;
17
17
  phones: z.ZodArray<z.ZodString>;
18
18
  addresses: z.ZodArray<z.ZodString>;
19
19
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
20
  customFieldValues: z.ZodRecord<z.ZodString, z.ZodUnknown>;
21
- }, z.core.$strip>>;
22
- }, z.core.$strip>;
21
+ }, z.core.$loose>>;
22
+ }, z.core.$loose>;
23
23
  declare const folkGetCompany: import("@keystrokehq/action").WorkflowActionDefinition<{
24
24
  company_id: string;
25
25
  }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
@@ -13,13 +13,13 @@ declare const FolkGetCompanyOutput: z.ZodObject<{
13
13
  groups: z.ZodArray<z.ZodObject<{
14
14
  id: z.ZodNullable<z.ZodString>;
15
15
  name: z.ZodNullable<z.ZodString>;
16
- }, z.core.$strip>>;
16
+ }, z.core.$loose>>;
17
17
  phones: z.ZodArray<z.ZodString>;
18
18
  addresses: z.ZodArray<z.ZodString>;
19
19
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
20
  customFieldValues: z.ZodRecord<z.ZodString, z.ZodUnknown>;
21
- }, z.core.$strip>>;
22
- }, z.core.$strip>;
21
+ }, z.core.$loose>>;
22
+ }, z.core.$loose>;
23
23
  declare const folkGetCompany: import("@keystrokehq/action").WorkflowActionDefinition<{
24
24
  company_id: string;
25
25
  }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
@@ -5,7 +5,7 @@ const FolkGetCompanyInput = z.object({ company_id: z.string().describe("The ID o
5
5
  const FolkGetCompany_GetCompanyGroupSchema = z.object({
6
6
  id: z.string().describe("Group ID.").nullable(),
7
7
  name: z.string().describe("Group name.").nullable()
8
- }).describe("A group associated with the company.");
8
+ }).passthrough().describe("A group associated with the company.");
9
9
  const FolkGetCompany_CompanyDataSchema = z.object({
10
10
  id: z.string().describe("Unique ID of the company.").nullable(),
11
11
  name: z.string().describe("Name of the company.").nullable(),
@@ -16,13 +16,13 @@ const FolkGetCompany_CompanyDataSchema = z.object({
16
16
  addresses: z.array(z.string()).describe("Addresses of the company."),
17
17
  description: z.string().describe("Description of the company.").nullable().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
- }).describe("Representation of a company in the workspace.");
19
+ }).passthrough().describe("Representation of a company in the workspace.");
20
20
  const folkGetCompany = action("FOLK_GET_COMPANY", {
21
21
  slug: "folk-get-company",
22
22
  name: "Get Company",
23
23
  description: "Tool to retrieve an existing company by its ID. Use after authentication has been verified.",
24
24
  input: FolkGetCompanyInput,
25
- output: z.object({ data: FolkGetCompany_CompanyDataSchema.nullable() }).describe("Full response schema for get-company.")
25
+ output: z.object({ data: FolkGetCompany_CompanyDataSchema.nullable() }).passthrough().describe("Full response schema for get-company.")
26
26
  });
27
27
  //#endregion
28
28
  export { folkGetCompany };
@@ -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.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.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.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,sBAAsB,EAAE,OAAO,EAC1C,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,EAC1G,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACpE,MAAM,uCAAuC,EAAE,OAAO;CACpD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,WAAW,CAAC,CAAC,SAAS;CAC9C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa,CAAC,CAAC,SAAS;AACpD,CAAC,CAAC,CAAC,SAAS,sCAAsC;AAClD,MAAM,mCAAmC,EAAE,OAAO;CAChD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAC9D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CAC3D,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,QATkC,EAAE,OAAO,EAC3C,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}).passthrough().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.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}).passthrough().describe(\"Representation of a company in the workspace.\");\nexport const FolkGetCompanyOutput = z.object({\n data: FolkGetCompany_CompanyDataSchema.nullable(),\n}).passthrough().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,sBAAsB,EAAE,OAAO,EAC1C,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,EAC1G,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACpE,MAAM,uCAAuC,EAAE,OAAO;CACpD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,WAAW,CAAC,CAAC,SAAS;CAC9C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa,CAAC,CAAC,SAAS;AACpD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAAsC;AAChE,MAAM,mCAAmC,EAAE,OAAO;CAChD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAC9D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CAC3D,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,YAAY,CAAC,CAAC,SAAS,+CAA+C;AAKzE,MAAa,iBAAiB,OAAO,oBAAoB;CACvD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATkC,EAAE,OAAO,EAC3C,MAAM,iCAAiC,SAAS,EAClD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAOhB;AACV,CAAC"}
@@ -6,8 +6,8 @@ const FolkGetCurrentWorkspaceUser_GetCurrentWorkspaceUserDataSchema = zod.z.obje
6
6
  id: zod.z.string().describe("Unique identifier of the current workspace user").nullable(),
7
7
  email: zod.z.string().describe("Email address of the current workspace user").nullable(),
8
8
  fullName: zod.z.string().describe("Full name of the current workspace user").nullable()
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.");
9
+ }).passthrough().describe("Representation of the current workspace user.");
10
+ const FolkGetCurrentWorkspaceUserOutput = zod.z.object({ data: FolkGetCurrentWorkspaceUser_GetCurrentWorkspaceUserDataSchema.nullable() }).passthrough().describe("Full response schema for get-current-workspace-user.");
11
11
  const folkGetCurrentWorkspaceUser = require_action.action("FOLK_GET_CURRENT_WORKSPACE_USER", {
12
12
  slug: "folk-get-current-workspace-user",
13
13
  name: "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.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
+ {"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}).passthrough().describe(\"Representation of the current workspace user.\");\nexport const FolkGetCurrentWorkspaceUserOutput = z.object({\n data: FolkGetCurrentWorkspaceUser_GetCurrentWorkspaceUserDataSchema.nullable(),\n}).passthrough().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,YAAY,CAAC,CAAC,SAAS,+CAA+C;AACzE,MAAa,oCAAoCA,IAAAA,EAAE,OAAO,EACxD,MAAM,8DAA8D,SAAS,EAC/E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAAsD;AAEhF,MAAa,8BAA8BC,eAAAA,OAAO,mCAAmC;CACnF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -7,8 +7,8 @@ declare const FolkGetCurrentWorkspaceUserOutput: z.ZodObject<{
7
7
  id: z.ZodNullable<z.ZodString>;
8
8
  email: z.ZodNullable<z.ZodString>;
9
9
  fullName: z.ZodNullable<z.ZodString>;
10
- }, z.core.$strip>>;
11
- }, z.core.$strip>;
10
+ }, z.core.$loose>>;
11
+ }, z.core.$loose>;
12
12
  declare const folkGetCurrentWorkspaceUser: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
13
13
  //#endregion
14
14
  export { folkGetCurrentWorkspaceUser };
@@ -7,8 +7,8 @@ declare const FolkGetCurrentWorkspaceUserOutput: z.ZodObject<{
7
7
  id: z.ZodNullable<z.ZodString>;
8
8
  email: z.ZodNullable<z.ZodString>;
9
9
  fullName: z.ZodNullable<z.ZodString>;
10
- }, z.core.$strip>>;
11
- }, z.core.$strip>;
10
+ }, z.core.$loose>>;
11
+ }, z.core.$loose>;
12
12
  declare const folkGetCurrentWorkspaceUser: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
13
13
  //#endregion
14
14
  export { folkGetCurrentWorkspaceUser };
@@ -6,13 +6,13 @@ const FolkGetCurrentWorkspaceUser_GetCurrentWorkspaceUserDataSchema = z.object({
6
6
  id: z.string().describe("Unique identifier of the current workspace user").nullable(),
7
7
  email: z.string().describe("Email address of the current workspace user").nullable(),
8
8
  fullName: z.string().describe("Full name of the current workspace user").nullable()
9
- }).describe("Representation of the current workspace user.");
9
+ }).passthrough().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",
12
12
  name: "Get Current Workspace User",
13
13
  description: "Tool to get details of the current authenticated workspace user. Use after authentication to retrieve the user's profile information.",
14
14
  input: FolkGetCurrentWorkspaceUserInput,
15
- output: z.object({ data: FolkGetCurrentWorkspaceUser_GetCurrentWorkspaceUserDataSchema.nullable() }).describe("Full response schema for get-current-workspace-user.")
15
+ output: z.object({ data: FolkGetCurrentWorkspaceUser_GetCurrentWorkspaceUserDataSchema.nullable() }).passthrough().describe("Full response schema for get-current-workspace-user.")
16
16
  });
17
17
  //#endregion
18
18
  export { folkGetCurrentWorkspaceUser };
@@ -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.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"}
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}).passthrough().describe(\"Representation of the current workspace user.\");\nexport const FolkGetCurrentWorkspaceUserOutput = z.object({\n data: FolkGetCurrentWorkspaceUser_GetCurrentWorkspaceUserDataSchema.nullable(),\n}).passthrough().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,YAAY,CAAC,CAAC,SAAS,+CAA+C;AAKzE,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,YAAY,CAAC,CAAC,SAAS,sDAOhB;AACV,CAAC"}
@@ -8,16 +8,16 @@ const FolkGetNote_GetNoteActiveUserSchema = zod.z.object({
8
8
  email: zod.z.string().describe("User's email address").nullable(),
9
9
  deleted: zod.z.boolean().describe("User deletion status").nullable(),
10
10
  fullName: zod.z.string().describe("User's full name").nullable()
11
- }).describe("Active user author information.");
11
+ }).passthrough().describe("Active user author information.");
12
12
  const FolkGetNote_GetNoteDeletedUserSchema = zod.z.object({
13
13
  id: zod.z.string().describe("User identifier").nullable(),
14
14
  type: zod.z.string().describe("Author type for deleted user").nullable(),
15
15
  deleted: zod.z.boolean().describe("User deletion status").nullable()
16
- }).describe("Deleted user author information.");
16
+ }).passthrough().describe("Deleted user author information.");
17
17
  const FolkGetNote_GetNoteAssistantSchema = zod.z.object({
18
18
  type: zod.z.string().describe("Author type for assistant").nullable(),
19
19
  fullName: zod.z.string().describe("Assistant's display name").nullable()
20
- }).describe("Assistant author information.");
20
+ }).passthrough().describe("Assistant author information.");
21
21
  const FolkGetNote_GetNoteEntitySchema = zod.z.object({
22
22
  id: zod.z.string().describe("Entity identifier (40 characters)").nullable(),
23
23
  fullName: zod.z.string().describe("Full name of the entity").nullable(),
@@ -26,7 +26,7 @@ const FolkGetNote_GetNoteEntitySchema = zod.z.object({
26
26
  "company",
27
27
  "object"
28
28
  ]).describe("Type of entity the note is attached to").nullable()
29
- }).describe("Entity (person, company, or object) associated with the note.");
29
+ }).passthrough().describe("Entity (person, company, or object) associated with the note.");
30
30
  const FolkGetNote_GetNoteParentNoteSchema = zod.z.object({
31
31
  id: zod.z.string().describe("Parent note identifier").nullable(),
32
32
  author: zod.z.union([
@@ -40,7 +40,7 @@ const FolkGetNote_GetNoteParentNoteSchema = zod.z.object({
40
40
  createdAt: zod.z.string().describe("ISO 8601 timestamp when the parent note was created").nullable().optional(),
41
41
  parentNote: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Grandparent note if parent is also a reply").nullable().optional(),
42
42
  visibility: zod.z.enum(["public", "private"]).describe("Visibility of the parent note").nullable().optional()
43
- }).describe("Parent note information if this note is a reply.");
43
+ }).passthrough().describe("Parent note information if this note is a reply.");
44
44
  const FolkGetNote_GetNoteDataSchema = zod.z.object({
45
45
  id: zod.z.string().describe("Unique identifier of the note").nullable(),
46
46
  author: zod.z.union([
@@ -53,11 +53,11 @@ const FolkGetNote_GetNoteDataSchema = zod.z.object({
53
53
  createdAt: zod.z.string().describe("ISO 8601 timestamp when the note was created").nullable().optional(),
54
54
  parentNote: FolkGetNote_GetNoteParentNoteSchema.nullable().optional(),
55
55
  visibility: zod.z.enum(["public", "private"]).describe("Visibility setting for the note").nullable()
56
- }).describe("Note data object returned by the API.");
56
+ }).passthrough().describe("Note data object returned by the API.");
57
57
  const FolkGetNoteOutput = zod.z.object({
58
58
  data: FolkGetNote_GetNoteDataSchema.nullable(),
59
59
  deprecations: zod.z.array(zod.z.string()).describe("List of deprecation warnings, if any").nullable().optional()
60
- }).describe("Full response schema for get-note endpoint.");
60
+ }).passthrough().describe("Full response schema for get-note endpoint.");
61
61
  const folkGetNote = require_action.action("FOLK_GET_NOTE", {
62
62
  slug: "folk-get-note",
63
63
  name: "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.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.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.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.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\").nullable(),\n}).describe(\"Note data object returned by the API.\");\nexport const FolkGetNoteOutput = 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,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;CAC5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C,CAAC,SAAS;AACjG,CAAC,CAAC,CAAC,SAAS,uCAAuC;AACnD,MAAa,oBAAoBA,IAAAA,EAAE,OAAO;CACxC,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}).passthrough().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}).passthrough().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}).passthrough().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}).passthrough().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.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}).passthrough().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.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\").nullable(),\n}).passthrough().describe(\"Note data object returned by the API.\");\nexport const FolkGetNoteOutput = z.object({\n data: FolkGetNote_GetNoteDataSchema.nullable(),\n deprecations: z.array(z.string()).describe(\"List of deprecation warnings, if any\").nullable().optional(),\n}).passthrough().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,YAAY,CAAC,CAAC,SAAS,iCAAiC;AAC3D,MAAM,uCAAuCA,IAAAA,EAAE,OAAO;CACpD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS;CACpD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACnE,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;AACjE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kCAAkC;AAC5D,MAAM,qCAAqCA,IAAAA,EAAE,OAAO;CAClD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAChE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,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AS,CAAC,CAAC,SAAS;AAC1G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAAkD;AAC5E,MAAM,gCAAgCA,IAAAA,EAAE,OAAO;CAC7C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CAClE,QAAQA,IAAAA,EAAE,MAAM;EAAC;EAAqC;EAAsC;CAAkC,CAAC;CAC/H,QAAQ,gCAAgC,SAAS;CACjD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACjF,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,CAAC,CAAC,SAAS;AACjG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAAuC;AACjE,MAAa,oBAAoBA,IAAAA,EAAE,OAAO;CACxC,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,YAAY,CAAC,CAAC,SAAS,6CAA6C;AAEvE,MAAa,cAAcC,eAAAA,OAAO,iBAAiB;CACjD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -13,14 +13,14 @@ declare const FolkGetNoteOutput: z.ZodObject<{
13
13
  email: z.ZodNullable<z.ZodString>;
14
14
  deleted: z.ZodNullable<z.ZodBoolean>;
15
15
  fullName: z.ZodNullable<z.ZodString>;
16
- }, z.core.$strip>, z.ZodObject<{
16
+ }, z.core.$loose>, z.ZodObject<{
17
17
  id: z.ZodNullable<z.ZodString>;
18
18
  type: z.ZodNullable<z.ZodString>;
19
19
  deleted: z.ZodNullable<z.ZodBoolean>;
20
- }, z.core.$strip>, z.ZodObject<{
20
+ }, z.core.$loose>, z.ZodObject<{
21
21
  type: z.ZodNullable<z.ZodString>;
22
22
  fullName: z.ZodNullable<z.ZodString>;
23
- }, z.core.$strip>]>;
23
+ }, z.core.$loose>]>;
24
24
  entity: z.ZodNullable<z.ZodObject<{
25
25
  id: z.ZodNullable<z.ZodString>;
26
26
  fullName: z.ZodNullable<z.ZodString>;
@@ -29,7 +29,7 @@ declare const FolkGetNoteOutput: z.ZodObject<{
29
29
  person: "person";
30
30
  company: "company";
31
31
  }>>;
32
- }, z.core.$strip>>;
32
+ }, z.core.$loose>>;
33
33
  content: z.ZodNullable<z.ZodString>;
34
34
  createdAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
35
35
  parentNote: z.ZodOptional<z.ZodNullable<z.ZodObject<{
@@ -40,14 +40,14 @@ declare const FolkGetNoteOutput: z.ZodObject<{
40
40
  email: z.ZodNullable<z.ZodString>;
41
41
  deleted: z.ZodNullable<z.ZodBoolean>;
42
42
  fullName: z.ZodNullable<z.ZodString>;
43
- }, z.core.$strip>, z.ZodObject<{
43
+ }, z.core.$loose>, z.ZodObject<{
44
44
  id: z.ZodNullable<z.ZodString>;
45
45
  type: z.ZodNullable<z.ZodString>;
46
46
  deleted: z.ZodNullable<z.ZodBoolean>;
47
- }, z.core.$strip>, z.ZodObject<{
47
+ }, z.core.$loose>, z.ZodObject<{
48
48
  type: z.ZodNullable<z.ZodString>;
49
49
  fullName: z.ZodNullable<z.ZodString>;
50
- }, z.core.$strip>]>>>;
50
+ }, z.core.$loose>]>>>;
51
51
  entity: z.ZodOptional<z.ZodNullable<z.ZodObject<{
52
52
  id: z.ZodNullable<z.ZodString>;
53
53
  fullName: z.ZodNullable<z.ZodString>;
@@ -56,7 +56,7 @@ declare const FolkGetNoteOutput: z.ZodObject<{
56
56
  person: "person";
57
57
  company: "company";
58
58
  }>>;
59
- }, z.core.$strip>>>;
59
+ }, z.core.$loose>>>;
60
60
  content: z.ZodOptional<z.ZodNullable<z.ZodString>>;
61
61
  deleted: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
62
62
  createdAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -65,14 +65,14 @@ declare const FolkGetNoteOutput: z.ZodObject<{
65
65
  public: "public";
66
66
  private: "private";
67
67
  }>>>;
68
- }, z.core.$strip>>>;
68
+ }, z.core.$loose>>>;
69
69
  visibility: z.ZodNullable<z.ZodEnum<{
70
70
  public: "public";
71
71
  private: "private";
72
72
  }>>;
73
- }, z.core.$strip>>;
73
+ }, z.core.$loose>>;
74
74
  deprecations: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
75
- }, z.core.$strip>;
75
+ }, z.core.$loose>;
76
76
  declare const folkGetNote: import("@keystrokehq/action").WorkflowActionDefinition<{
77
77
  note_id: string;
78
78
  }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
@@ -13,14 +13,14 @@ declare const FolkGetNoteOutput: z.ZodObject<{
13
13
  email: z.ZodNullable<z.ZodString>;
14
14
  deleted: z.ZodNullable<z.ZodBoolean>;
15
15
  fullName: z.ZodNullable<z.ZodString>;
16
- }, z.core.$strip>, z.ZodObject<{
16
+ }, z.core.$loose>, z.ZodObject<{
17
17
  id: z.ZodNullable<z.ZodString>;
18
18
  type: z.ZodNullable<z.ZodString>;
19
19
  deleted: z.ZodNullable<z.ZodBoolean>;
20
- }, z.core.$strip>, z.ZodObject<{
20
+ }, z.core.$loose>, z.ZodObject<{
21
21
  type: z.ZodNullable<z.ZodString>;
22
22
  fullName: z.ZodNullable<z.ZodString>;
23
- }, z.core.$strip>]>;
23
+ }, z.core.$loose>]>;
24
24
  entity: z.ZodNullable<z.ZodObject<{
25
25
  id: z.ZodNullable<z.ZodString>;
26
26
  fullName: z.ZodNullable<z.ZodString>;
@@ -29,7 +29,7 @@ declare const FolkGetNoteOutput: z.ZodObject<{
29
29
  person: "person";
30
30
  company: "company";
31
31
  }>>;
32
- }, z.core.$strip>>;
32
+ }, z.core.$loose>>;
33
33
  content: z.ZodNullable<z.ZodString>;
34
34
  createdAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
35
35
  parentNote: z.ZodOptional<z.ZodNullable<z.ZodObject<{
@@ -40,14 +40,14 @@ declare const FolkGetNoteOutput: z.ZodObject<{
40
40
  email: z.ZodNullable<z.ZodString>;
41
41
  deleted: z.ZodNullable<z.ZodBoolean>;
42
42
  fullName: z.ZodNullable<z.ZodString>;
43
- }, z.core.$strip>, z.ZodObject<{
43
+ }, z.core.$loose>, z.ZodObject<{
44
44
  id: z.ZodNullable<z.ZodString>;
45
45
  type: z.ZodNullable<z.ZodString>;
46
46
  deleted: z.ZodNullable<z.ZodBoolean>;
47
- }, z.core.$strip>, z.ZodObject<{
47
+ }, z.core.$loose>, z.ZodObject<{
48
48
  type: z.ZodNullable<z.ZodString>;
49
49
  fullName: z.ZodNullable<z.ZodString>;
50
- }, z.core.$strip>]>>>;
50
+ }, z.core.$loose>]>>>;
51
51
  entity: z.ZodOptional<z.ZodNullable<z.ZodObject<{
52
52
  id: z.ZodNullable<z.ZodString>;
53
53
  fullName: z.ZodNullable<z.ZodString>;
@@ -56,7 +56,7 @@ declare const FolkGetNoteOutput: z.ZodObject<{
56
56
  person: "person";
57
57
  company: "company";
58
58
  }>>;
59
- }, z.core.$strip>>>;
59
+ }, z.core.$loose>>>;
60
60
  content: z.ZodOptional<z.ZodNullable<z.ZodString>>;
61
61
  deleted: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
62
62
  createdAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -65,14 +65,14 @@ declare const FolkGetNoteOutput: z.ZodObject<{
65
65
  public: "public";
66
66
  private: "private";
67
67
  }>>>;
68
- }, z.core.$strip>>>;
68
+ }, z.core.$loose>>>;
69
69
  visibility: z.ZodNullable<z.ZodEnum<{
70
70
  public: "public";
71
71
  private: "private";
72
72
  }>>;
73
- }, z.core.$strip>>;
73
+ }, z.core.$loose>>;
74
74
  deprecations: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
75
- }, z.core.$strip>;
75
+ }, z.core.$loose>;
76
76
  declare const folkGetNote: import("@keystrokehq/action").WorkflowActionDefinition<{
77
77
  note_id: string;
78
78
  }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
@@ -8,16 +8,16 @@ const FolkGetNote_GetNoteActiveUserSchema = z.object({
8
8
  email: z.string().describe("User's email address").nullable(),
9
9
  deleted: z.boolean().describe("User deletion status").nullable(),
10
10
  fullName: z.string().describe("User's full name").nullable()
11
- }).describe("Active user author information.");
11
+ }).passthrough().describe("Active user author information.");
12
12
  const FolkGetNote_GetNoteDeletedUserSchema = z.object({
13
13
  id: z.string().describe("User identifier").nullable(),
14
14
  type: z.string().describe("Author type for deleted user").nullable(),
15
15
  deleted: z.boolean().describe("User deletion status").nullable()
16
- }).describe("Deleted user author information.");
16
+ }).passthrough().describe("Deleted user author information.");
17
17
  const FolkGetNote_GetNoteAssistantSchema = z.object({
18
18
  type: z.string().describe("Author type for assistant").nullable(),
19
19
  fullName: z.string().describe("Assistant's display name").nullable()
20
- }).describe("Assistant author information.");
20
+ }).passthrough().describe("Assistant author information.");
21
21
  const FolkGetNote_GetNoteEntitySchema = z.object({
22
22
  id: z.string().describe("Entity identifier (40 characters)").nullable(),
23
23
  fullName: z.string().describe("Full name of the entity").nullable(),
@@ -26,7 +26,7 @@ const FolkGetNote_GetNoteEntitySchema = z.object({
26
26
  "company",
27
27
  "object"
28
28
  ]).describe("Type of entity the note is attached to").nullable()
29
- }).describe("Entity (person, company, or object) associated with the note.");
29
+ }).passthrough().describe("Entity (person, company, or object) associated with the note.");
30
30
  const FolkGetNote_GetNoteParentNoteSchema = z.object({
31
31
  id: z.string().describe("Parent note identifier").nullable(),
32
32
  author: z.union([
@@ -40,7 +40,7 @@ const FolkGetNote_GetNoteParentNoteSchema = z.object({
40
40
  createdAt: z.string().describe("ISO 8601 timestamp when the parent note was created").nullable().optional(),
41
41
  parentNote: z.record(z.string(), z.unknown()).describe("Grandparent note if parent is also a reply").nullable().optional(),
42
42
  visibility: z.enum(["public", "private"]).describe("Visibility of the parent note").nullable().optional()
43
- }).describe("Parent note information if this note is a reply.");
43
+ }).passthrough().describe("Parent note information if this note is a reply.");
44
44
  const FolkGetNote_GetNoteDataSchema = z.object({
45
45
  id: z.string().describe("Unique identifier of the note").nullable(),
46
46
  author: z.union([
@@ -53,7 +53,7 @@ const FolkGetNote_GetNoteDataSchema = z.object({
53
53
  createdAt: z.string().describe("ISO 8601 timestamp when the note was created").nullable().optional(),
54
54
  parentNote: FolkGetNote_GetNoteParentNoteSchema.nullable().optional(),
55
55
  visibility: z.enum(["public", "private"]).describe("Visibility setting for the note").nullable()
56
- }).describe("Note data object returned by the API.");
56
+ }).passthrough().describe("Note data object returned by the API.");
57
57
  const folkGetNote = action("FOLK_GET_NOTE", {
58
58
  slug: "folk-get-note",
59
59
  name: "Get Note",
@@ -62,7 +62,7 @@ const folkGetNote = action("FOLK_GET_NOTE", {
62
62
  output: z.object({
63
63
  data: FolkGetNote_GetNoteDataSchema.nullable(),
64
64
  deprecations: z.array(z.string()).describe("List of deprecation warnings, if any").nullable().optional()
65
- }).describe("Full response schema for get-note endpoint.")
65
+ }).passthrough().describe("Full response schema for get-note endpoint.")
66
66
  });
67
67
  //#endregion
68
68
  export { folkGetNote };
@@ -1 +1 @@
1
- {"version":3,"file":"get-note.mjs","names":[],"sources":["../../src/actions/get-note.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FolkGetNoteInput = z.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.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.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.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\").nullable(),\n}).describe(\"Note data object returned by the API.\");\nexport const FolkGetNoteOutput = 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,mBAAmB,EAAE,OAAO,EACvC,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,EACpG,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAM,sCAAsC,EAAE,OAAO;CACnD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS;CACpD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CAClE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CAC5D,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CAC/D,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;AAC7D,CAA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/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}).passthrough().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}).passthrough().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}).passthrough().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}).passthrough().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.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}).passthrough().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.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\").nullable(),\n}).passthrough().describe(\"Note data object returned by the API.\");\nexport const FolkGetNoteOutput = z.object({\n data: FolkGetNote_GetNoteDataSchema.nullable(),\n deprecations: z.array(z.string()).describe(\"List of deprecation warnings, if any\").nullable().optional(),\n}).passthrough().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,mBAAmB,EAAE,OAAO,EACvC,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,EACpG,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAM,sCAAsC,EAAE,OAAO;CACnD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS;CACpD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CAClE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,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,aAAa;CACb,OAAO;CACP,QAV+B,EAAE,OAAO;EACxC,MAAM,8BAA8B,SAAS;EAC7C,cAAc,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAOhB;AACV,CAAC"}
@@ -5,16 +5,16 @@ const FolkGetPersonInput = zod.z.object({ person_id: zod.z.string().describe("Th
5
5
  const FolkGetPerson_GroupItemSchema = zod.z.object({
6
6
  id: zod.z.string().describe("The group's unique identifier").nullable(),
7
7
  name: zod.z.string().describe("The group's name").nullable()
8
- }).describe("A group that a person belongs to.");
8
+ }).passthrough().describe("A group that a person belongs to.");
9
9
  const FolkGetPerson_CompanyItemSchema = zod.z.object({
10
10
  id: zod.z.string().describe("The company's unique identifier").nullable(),
11
11
  name: zod.z.string().describe("The company's name").nullable()
12
- }).describe("A company associated with a person.");
12
+ }).passthrough().describe("A company associated with a person.");
13
13
  const FolkGetPerson_CreatedByUserSchema = zod.z.object({
14
14
  id: zod.z.string().describe("The user's unique identifier").nullable(),
15
15
  email: zod.z.string().describe("The user's email address").nullable(),
16
16
  fullName: zod.z.string().describe("The user's full name").nullable()
17
- }).describe("User information for the person who created this record.");
17
+ }).passthrough().describe("User information for the person who created this record.");
18
18
  const FolkGetPersonOutput = zod.z.object({
19
19
  id: zod.z.string().describe("The unique identifier of the person").nullable(),
20
20
  urls: zod.z.array(zod.z.string()).describe("A list of URLs associated with the person (websites, social profiles, etc.)").nullable().optional(),
@@ -34,7 +34,7 @@ const FolkGetPersonOutput = zod.z.object({
34
34
  customFieldValues: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Custom field values organized by group ID, containing key-value pairs specific to each group").nullable().optional(),
35
35
  interactionMetadata: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Metadata about interactions with this person, including counts and timestamps").nullable().optional(),
36
36
  strongestConnection: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Information about the strongest connection to this person").nullable().optional()
37
- }).describe("Response schema for retrieving a person by ID.");
37
+ }).passthrough().describe("Response schema for retrieving a person by ID.");
38
38
  const folkGetPerson = require_action.action("FOLK_GET_PERSON", {
39
39
  slug: "folk-get-person",
40
40
  name: "Get Person",
@@ -1 +1 @@
1
- {"version":3,"file":"get-person.cjs","names":["z","action"],"sources":["../../src/actions/get-person.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FolkGetPersonInput = z.object({\n person_id: z.string().describe(\"The unique identifier of the person to retrieve. Must be exactly 40 characters long (format: per_XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX)\"),\n}).describe(\"Request schema for retrieving a person by their unique ID.\");\nconst FolkGetPerson_GroupItemSchema = z.object({\n id: z.string().describe(\"The group's unique identifier\").nullable(),\n name: z.string().describe(\"The group's name\").nullable(),\n}).describe(\"A group that a person belongs to.\");\nconst FolkGetPerson_CompanyItemSchema = z.object({\n id: z.string().describe(\"The company's unique identifier\").nullable(),\n name: z.string().describe(\"The company's name\").nullable(),\n}).describe(\"A company associated with a person.\");\nconst FolkGetPerson_CreatedByUserSchema = z.object({\n id: z.string().describe(\"The user's unique identifier\").nullable(),\n email: z.string().describe(\"The user's email address\").nullable(),\n fullName: z.string().describe(\"The user's full name\").nullable(),\n}).describe(\"User information for the person who created this record.\");\nexport const FolkGetPersonOutput = z.object({\n id: z.string().describe(\"The unique identifier of the person\").nullable(),\n urls: z.array(z.string()).describe(\"A list of URLs associated with the person (websites, social profiles, etc.)\").nullable().optional(),\n emails: z.array(z.string()).describe(\"A list of the person's email addresses\").nullable().optional(),\n groups: z.array(FolkGetPerson_GroupItemSchema).describe(\"A list of groups the person belongs to\").nullable().optional(),\n phones: z.array(z.string()).describe(\"A list of the person's phone numbers\").nullable().optional(),\n birthday: z.string().describe(\"The person's birthday as an ISO8601 date string (YYYY-MM-DD), or null if not set\").nullable().optional(),\n fullName: z.string().describe(\"The person's full name\").nullable().optional(),\n jobTitle: z.string().describe(\"The person's job title\").nullable().optional(),\n lastName: z.string().describe(\"The person's last name\").nullable().optional(),\n addresses: z.array(z.string()).describe(\"A list of the person's street addresses\").nullable().optional(),\n companies: z.array(FolkGetPerson_CompanyItemSchema).describe(\"A list of companies associated with the person\").nullable().optional(),\n createdAt: z.string().describe(\"ISO8601 timestamp of when this person record was created\").nullable().optional(),\n createdBy: FolkGetPerson_CreatedByUserSchema.nullable().optional(),\n firstName: z.string().describe(\"The person's first name\").nullable().optional(),\n description: z.string().describe(\"A description of the person\").nullable().optional(),\n customFieldValues: z.record(z.string(), z.unknown()).describe(\"Custom field values organized by group ID, containing key-value pairs specific to each group\").nullable().optional(),\n interactionMetadata: z.record(z.string(), z.unknown()).describe(\"Metadata about interactions with this person, including counts and timestamps\").nullable().optional(),\n strongestConnection: z.record(z.string(), z.unknown()).describe(\"Information about the strongest connection to this person\").nullable().optional(),\n}).describe(\"Response schema for retrieving a person by ID.\");\n\nexport const folkGetPerson = action(\"FOLK_GET_PERSON\", {\n slug: \"folk-get-person\",\n name: \"Get Person\",\n description: \"Tool to retrieve an existing person by their ID. Use when you need full profile details of a person by their unique identifier.\",\n input: FolkGetPersonInput,\n output: FolkGetPersonOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qBAAqBA,IAAAA,EAAE,OAAO,EACzC,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wIAAwI,EACzK,CAAC,CAAC,CAAC,SAAS,4DAA4D;AACxE,MAAM,gCAAgCA,IAAAA,EAAE,OAAO;CAC7C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CAClE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;AACzD,CAAC,CAAC,CAAC,SAAS,mCAAmC;AAC/C,MAAM,kCAAkCA,IAAAA,EAAE,OAAO;CAC/C,IAAIA,I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C,SAAS;AACnJ,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAE5D,MAAa,gBAAgBC,eAAAA,OAAO,mBAAmB;CACrD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-person.cjs","names":["z","action"],"sources":["../../src/actions/get-person.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FolkGetPersonInput = z.object({\n person_id: z.string().describe(\"The unique identifier of the person to retrieve. Must be exactly 40 characters long (format: per_XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX)\"),\n}).describe(\"Request schema for retrieving a person by their unique ID.\");\nconst FolkGetPerson_GroupItemSchema = z.object({\n id: z.string().describe(\"The group's unique identifier\").nullable(),\n name: z.string().describe(\"The group's name\").nullable(),\n}).passthrough().describe(\"A group that a person belongs to.\");\nconst FolkGetPerson_CompanyItemSchema = z.object({\n id: z.string().describe(\"The company's unique identifier\").nullable(),\n name: z.string().describe(\"The company's name\").nullable(),\n}).passthrough().describe(\"A company associated with a person.\");\nconst FolkGetPerson_CreatedByUserSchema = z.object({\n id: z.string().describe(\"The user's unique identifier\").nullable(),\n email: z.string().describe(\"The user's email address\").nullable(),\n fullName: z.string().describe(\"The user's full name\").nullable(),\n}).passthrough().describe(\"User information for the person who created this record.\");\nexport const FolkGetPersonOutput = z.object({\n id: z.string().describe(\"The unique identifier of the person\").nullable(),\n urls: z.array(z.string()).describe(\"A list of URLs associated with the person (websites, social profiles, etc.)\").nullable().optional(),\n emails: z.array(z.string()).describe(\"A list of the person's email addresses\").nullable().optional(),\n groups: z.array(FolkGetPerson_GroupItemSchema).describe(\"A list of groups the person belongs to\").nullable().optional(),\n phones: z.array(z.string()).describe(\"A list of the person's phone numbers\").nullable().optional(),\n birthday: z.string().describe(\"The person's birthday as an ISO8601 date string (YYYY-MM-DD), or null if not set\").nullable().optional(),\n fullName: z.string().describe(\"The person's full name\").nullable().optional(),\n jobTitle: z.string().describe(\"The person's job title\").nullable().optional(),\n lastName: z.string().describe(\"The person's last name\").nullable().optional(),\n addresses: z.array(z.string()).describe(\"A list of the person's street addresses\").nullable().optional(),\n companies: z.array(FolkGetPerson_CompanyItemSchema).describe(\"A list of companies associated with the person\").nullable().optional(),\n createdAt: z.string().describe(\"ISO8601 timestamp of when this person record was created\").nullable().optional(),\n createdBy: FolkGetPerson_CreatedByUserSchema.nullable().optional(),\n firstName: z.string().describe(\"The person's first name\").nullable().optional(),\n description: z.string().describe(\"A description of the person\").nullable().optional(),\n customFieldValues: z.record(z.string(), z.unknown()).describe(\"Custom field values organized by group ID, containing key-value pairs specific to each group\").nullable().optional(),\n interactionMetadata: z.record(z.string(), z.unknown()).describe(\"Metadata about interactions with this person, including counts and timestamps\").nullable().optional(),\n strongestConnection: z.record(z.string(), z.unknown()).describe(\"Information about the strongest connection to this person\").nullable().optional(),\n}).passthrough().describe(\"Response schema for retrieving a person by ID.\");\n\nexport const folkGetPerson = action(\"FOLK_GET_PERSON\", {\n slug: \"folk-get-person\",\n name: \"Get Person\",\n description: \"Tool to retrieve an existing person by their ID. Use when you need full profile details of a person by their unique identifier.\",\n input: FolkGetPersonInput,\n output: FolkGetPersonOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qBAAqBA,IAAAA,EAAE,OAAO,EACzC,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wIAAwI,EACzK,CAAC,CAAC,CAAC,SAAS,4DAA4D;AACxE,MAAM,gCAAgCA,IAAAA,EAAE,OAAO;CAC7C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CAClE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;AACzD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mCAAmC;AAC7D,MAAM,kCAAkCA,IAAAA,EAAE,OAAO;CAC/C,IAAIA,I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