@keystrokehq/folk 0.1.5 → 0.1.6

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 (197) 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 +1 -0
  4. package/dist/actions/create-company.cjs.map +1 -1
  5. package/dist/actions/create-company.d.cts +3 -30
  6. package/dist/actions/create-company.d.cts.map +1 -1
  7. package/dist/actions/create-company.d.mts +3 -30
  8. package/dist/actions/create-company.d.mts.map +1 -1
  9. package/dist/actions/create-company.mjs +1 -0
  10. package/dist/actions/create-company.mjs.map +1 -1
  11. package/dist/actions/create-note.cjs +1 -0
  12. package/dist/actions/create-note.cjs.map +1 -1
  13. package/dist/actions/create-note.d.cts +3 -22
  14. package/dist/actions/create-note.d.cts.map +1 -1
  15. package/dist/actions/create-note.d.mts +3 -22
  16. package/dist/actions/create-note.d.mts.map +1 -1
  17. package/dist/actions/create-note.mjs +1 -0
  18. package/dist/actions/create-note.mjs.map +1 -1
  19. package/dist/actions/create-person.cjs +1 -0
  20. package/dist/actions/create-person.cjs.map +1 -1
  21. package/dist/actions/create-person.d.cts +3 -23
  22. package/dist/actions/create-person.d.cts.map +1 -1
  23. package/dist/actions/create-person.d.mts +3 -23
  24. package/dist/actions/create-person.d.mts.map +1 -1
  25. package/dist/actions/create-person.mjs +1 -0
  26. package/dist/actions/create-person.mjs.map +1 -1
  27. package/dist/actions/delete-company.cjs +1 -0
  28. package/dist/actions/delete-company.cjs.map +1 -1
  29. package/dist/actions/delete-company.d.cts +3 -15
  30. package/dist/actions/delete-company.d.cts.map +1 -1
  31. package/dist/actions/delete-company.d.mts +3 -15
  32. package/dist/actions/delete-company.d.mts.map +1 -1
  33. package/dist/actions/delete-company.mjs +1 -0
  34. package/dist/actions/delete-company.mjs.map +1 -1
  35. package/dist/actions/delete-note.cjs +1 -0
  36. package/dist/actions/delete-note.cjs.map +1 -1
  37. package/dist/actions/delete-note.d.cts +3 -15
  38. package/dist/actions/delete-note.d.cts.map +1 -1
  39. package/dist/actions/delete-note.d.mts +3 -15
  40. package/dist/actions/delete-note.d.mts.map +1 -1
  41. package/dist/actions/delete-note.mjs +1 -0
  42. package/dist/actions/delete-note.mjs.map +1 -1
  43. package/dist/actions/delete-person.cjs +1 -0
  44. package/dist/actions/delete-person.cjs.map +1 -1
  45. package/dist/actions/delete-person.d.cts +3 -15
  46. package/dist/actions/delete-person.d.cts.map +1 -1
  47. package/dist/actions/delete-person.d.mts +3 -15
  48. package/dist/actions/delete-person.d.mts.map +1 -1
  49. package/dist/actions/delete-person.mjs +1 -0
  50. package/dist/actions/delete-person.mjs.map +1 -1
  51. package/dist/actions/delete-reminder.cjs +1 -0
  52. package/dist/actions/delete-reminder.cjs.map +1 -1
  53. package/dist/actions/delete-reminder.d.cts +3 -15
  54. package/dist/actions/delete-reminder.d.cts.map +1 -1
  55. package/dist/actions/delete-reminder.d.mts +3 -15
  56. package/dist/actions/delete-reminder.d.mts.map +1 -1
  57. package/dist/actions/delete-reminder.mjs +1 -0
  58. package/dist/actions/delete-reminder.mjs.map +1 -1
  59. package/dist/actions/get-company.cjs +1 -0
  60. package/dist/actions/get-company.cjs.map +1 -1
  61. package/dist/actions/get-company.d.cts +3 -15
  62. package/dist/actions/get-company.d.cts.map +1 -1
  63. package/dist/actions/get-company.d.mts +3 -15
  64. package/dist/actions/get-company.d.mts.map +1 -1
  65. package/dist/actions/get-company.mjs +1 -0
  66. package/dist/actions/get-company.mjs.map +1 -1
  67. package/dist/actions/get-current-workspace-user.cjs +1 -0
  68. package/dist/actions/get-current-workspace-user.cjs.map +1 -1
  69. package/dist/actions/get-current-workspace-user.d.cts +3 -13
  70. package/dist/actions/get-current-workspace-user.d.cts.map +1 -1
  71. package/dist/actions/get-current-workspace-user.d.mts +3 -13
  72. package/dist/actions/get-current-workspace-user.d.mts.map +1 -1
  73. package/dist/actions/get-current-workspace-user.mjs +1 -0
  74. package/dist/actions/get-current-workspace-user.mjs.map +1 -1
  75. package/dist/actions/get-note.cjs +1 -0
  76. package/dist/actions/get-note.cjs.map +1 -1
  77. package/dist/actions/get-note.d.cts +3 -15
  78. package/dist/actions/get-note.d.cts.map +1 -1
  79. package/dist/actions/get-note.d.mts +3 -15
  80. package/dist/actions/get-note.d.mts.map +1 -1
  81. package/dist/actions/get-note.mjs +1 -0
  82. package/dist/actions/get-note.mjs.map +1 -1
  83. package/dist/actions/get-person.cjs +1 -0
  84. package/dist/actions/get-person.cjs.map +1 -1
  85. package/dist/actions/get-person.d.cts +3 -15
  86. package/dist/actions/get-person.d.cts.map +1 -1
  87. package/dist/actions/get-person.d.mts +3 -15
  88. package/dist/actions/get-person.d.mts.map +1 -1
  89. package/dist/actions/get-person.mjs +1 -0
  90. package/dist/actions/get-person.mjs.map +1 -1
  91. package/dist/actions/get-user.cjs +1 -0
  92. package/dist/actions/get-user.cjs.map +1 -1
  93. package/dist/actions/get-user.d.cts +3 -15
  94. package/dist/actions/get-user.d.cts.map +1 -1
  95. package/dist/actions/get-user.d.mts +3 -15
  96. package/dist/actions/get-user.d.mts.map +1 -1
  97. package/dist/actions/get-user.mjs +1 -0
  98. package/dist/actions/get-user.mjs.map +1 -1
  99. package/dist/actions/list-companies.cjs +1 -0
  100. package/dist/actions/list-companies.cjs.map +1 -1
  101. package/dist/actions/list-companies.d.cts +3 -18
  102. package/dist/actions/list-companies.d.cts.map +1 -1
  103. package/dist/actions/list-companies.d.mts +3 -18
  104. package/dist/actions/list-companies.d.mts.map +1 -1
  105. package/dist/actions/list-companies.mjs +1 -0
  106. package/dist/actions/list-companies.mjs.map +1 -1
  107. package/dist/actions/list-group-custom-fields.cjs +1 -0
  108. package/dist/actions/list-group-custom-fields.cjs.map +1 -1
  109. package/dist/actions/list-group-custom-fields.d.cts +3 -18
  110. package/dist/actions/list-group-custom-fields.d.cts.map +1 -1
  111. package/dist/actions/list-group-custom-fields.d.mts +3 -18
  112. package/dist/actions/list-group-custom-fields.d.mts.map +1 -1
  113. package/dist/actions/list-group-custom-fields.mjs +1 -0
  114. package/dist/actions/list-group-custom-fields.mjs.map +1 -1
  115. package/dist/actions/list-groups.cjs +1 -0
  116. package/dist/actions/list-groups.cjs.map +1 -1
  117. package/dist/actions/list-groups.d.cts +3 -16
  118. package/dist/actions/list-groups.d.cts.map +1 -1
  119. package/dist/actions/list-groups.d.mts +3 -16
  120. package/dist/actions/list-groups.d.mts.map +1 -1
  121. package/dist/actions/list-groups.mjs +1 -0
  122. package/dist/actions/list-groups.mjs.map +1 -1
  123. package/dist/actions/list-notes.cjs +1 -0
  124. package/dist/actions/list-notes.cjs.map +1 -1
  125. package/dist/actions/list-notes.d.cts +3 -16
  126. package/dist/actions/list-notes.d.cts.map +1 -1
  127. package/dist/actions/list-notes.d.mts +3 -16
  128. package/dist/actions/list-notes.d.mts.map +1 -1
  129. package/dist/actions/list-notes.mjs +1 -0
  130. package/dist/actions/list-notes.mjs.map +1 -1
  131. package/dist/actions/list-people.cjs +1 -0
  132. package/dist/actions/list-people.cjs.map +1 -1
  133. package/dist/actions/list-people.d.cts +3 -19
  134. package/dist/actions/list-people.d.cts.map +1 -1
  135. package/dist/actions/list-people.d.mts +3 -19
  136. package/dist/actions/list-people.d.mts.map +1 -1
  137. package/dist/actions/list-people.mjs +1 -0
  138. package/dist/actions/list-people.mjs.map +1 -1
  139. package/dist/actions/list-reminders.cjs +1 -0
  140. package/dist/actions/list-reminders.cjs.map +1 -1
  141. package/dist/actions/list-reminders.d.cts +3 -17
  142. package/dist/actions/list-reminders.d.cts.map +1 -1
  143. package/dist/actions/list-reminders.d.mts +3 -17
  144. package/dist/actions/list-reminders.d.mts.map +1 -1
  145. package/dist/actions/list-reminders.mjs +1 -0
  146. package/dist/actions/list-reminders.mjs.map +1 -1
  147. package/dist/actions/list-users.cjs +1 -0
  148. package/dist/actions/list-users.cjs.map +1 -1
  149. package/dist/actions/list-users.d.cts +3 -16
  150. package/dist/actions/list-users.d.cts.map +1 -1
  151. package/dist/actions/list-users.d.mts +3 -16
  152. package/dist/actions/list-users.d.mts.map +1 -1
  153. package/dist/actions/list-users.mjs +1 -0
  154. package/dist/actions/list-users.mjs.map +1 -1
  155. package/dist/actions/list-webhooks.cjs +1 -0
  156. package/dist/actions/list-webhooks.cjs.map +1 -1
  157. package/dist/actions/list-webhooks.d.cts +3 -16
  158. package/dist/actions/list-webhooks.d.cts.map +1 -1
  159. package/dist/actions/list-webhooks.d.mts +3 -16
  160. package/dist/actions/list-webhooks.d.mts.map +1 -1
  161. package/dist/actions/list-webhooks.mjs +1 -0
  162. package/dist/actions/list-webhooks.mjs.map +1 -1
  163. package/dist/actions/update-company.cjs +1 -0
  164. package/dist/actions/update-company.cjs.map +1 -1
  165. package/dist/actions/update-company.d.cts +3 -26
  166. package/dist/actions/update-company.d.cts.map +1 -1
  167. package/dist/actions/update-company.d.mts +3 -26
  168. package/dist/actions/update-company.d.mts.map +1 -1
  169. package/dist/actions/update-company.mjs +1 -0
  170. package/dist/actions/update-company.mjs.map +1 -1
  171. package/dist/actions/update-note.cjs +1 -0
  172. package/dist/actions/update-note.cjs.map +1 -1
  173. package/dist/actions/update-note.d.cts +3 -17
  174. package/dist/actions/update-note.d.cts.map +1 -1
  175. package/dist/actions/update-note.d.mts +3 -17
  176. package/dist/actions/update-note.d.mts.map +1 -1
  177. package/dist/actions/update-note.mjs +1 -0
  178. package/dist/actions/update-note.mjs.map +1 -1
  179. package/dist/actions/update-person.cjs +1 -0
  180. package/dist/actions/update-person.cjs.map +1 -1
  181. package/dist/actions/update-person.d.cts +3 -35
  182. package/dist/actions/update-person.d.cts.map +1 -1
  183. package/dist/actions/update-person.d.mts +3 -35
  184. package/dist/actions/update-person.d.mts.map +1 -1
  185. package/dist/actions/update-person.mjs +1 -0
  186. package/dist/actions/update-person.mjs.map +1 -1
  187. package/dist/app.cjs +2 -2
  188. package/dist/app.cjs.map +1 -1
  189. package/dist/app.d.cts +4 -6
  190. package/dist/app.d.cts.map +1 -1
  191. package/dist/app.d.mts +4 -6
  192. package/dist/app.d.mts.map +1 -1
  193. package/dist/app.mjs +0 -1
  194. package/dist/app.mjs.map +1 -1
  195. package/dist/index.d.cts +1 -1
  196. package/dist/index.d.mts +1 -1
  197. package/package.json +2 -2
@@ -1,3 +1,5 @@
1
+ import { folk } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/delete-company.d.ts
@@ -10,21 +12,7 @@ declare const FolkDeleteCompanyOutput: z.ZodObject<{
10
12
  }, z.core.$loose>>;
11
13
  deprecations: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
12
14
  }, z.core.$loose>;
13
- declare const folkDeleteCompany: import("@keystrokehq/action").WorkflowActionDefinition<{
14
- company_id: string;
15
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"folk", z.ZodObject<{
16
- connectionId: z.ZodString;
17
- entityId: z.ZodString;
18
- instanceId: z.ZodString;
19
- }, z.core.$strip>, z.ZodObject<{
20
- generic_api_key: z.ZodString;
21
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"folk", z.ZodObject<{
22
- connectionId: z.ZodString;
23
- entityId: z.ZodString;
24
- instanceId: z.ZodString;
25
- }, z.core.$strip>, z.ZodObject<{
26
- generic_api_key: z.ZodString;
27
- }, z.core.$strip>>]>;
15
+ declare const folkDeleteCompany: AppAction<typeof FolkDeleteCompanyInput, typeof FolkDeleteCompanyOutput, typeof folk.credential>;
28
16
  //#endregion
29
17
  export { folkDeleteCompany };
30
18
  //# sourceMappingURL=delete-company.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"delete-company.d.cts","names":[],"sources":["../../src/actions/delete-company.ts"],"mappings":";;;cAIa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;cAMtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;cAKvB,iBAAA,gCAAiB,wBAAA"}
1
+ {"version":3,"file":"delete-company.d.cts","names":[],"sources":["../../src/actions/delete-company.ts"],"mappings":";;;;;cAMa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;cAMtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;cAKvB,iBAAA,EAAmB,SAAA,QACvB,sBAAA,SACA,uBAAA,SACA,IAAA,CAAK,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { folk } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/delete-company.d.ts
@@ -10,21 +12,7 @@ declare const FolkDeleteCompanyOutput: z.ZodObject<{
10
12
  }, z.core.$loose>>;
11
13
  deprecations: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
12
14
  }, z.core.$loose>;
13
- declare const folkDeleteCompany: import("@keystrokehq/action").WorkflowActionDefinition<{
14
- company_id: string;
15
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"folk", z.ZodObject<{
16
- connectionId: z.ZodString;
17
- entityId: z.ZodString;
18
- instanceId: z.ZodString;
19
- }, z.core.$strip>, z.ZodObject<{
20
- generic_api_key: z.ZodString;
21
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"folk", z.ZodObject<{
22
- connectionId: z.ZodString;
23
- entityId: z.ZodString;
24
- instanceId: z.ZodString;
25
- }, z.core.$strip>, z.ZodObject<{
26
- generic_api_key: z.ZodString;
27
- }, z.core.$strip>>]>;
15
+ declare const folkDeleteCompany: AppAction<typeof FolkDeleteCompanyInput, typeof FolkDeleteCompanyOutput, typeof folk.credential>;
28
16
  //#endregion
29
17
  export { folkDeleteCompany };
30
18
  //# sourceMappingURL=delete-company.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"delete-company.d.mts","names":[],"sources":["../../src/actions/delete-company.ts"],"mappings":";;;cAIa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;cAMtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;cAKvB,iBAAA,gCAAiB,wBAAA"}
1
+ {"version":3,"file":"delete-company.d.mts","names":[],"sources":["../../src/actions/delete-company.ts"],"mappings":";;;;;cAMa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;cAMtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;cAKvB,iBAAA,EAAmB,SAAA,QACvB,sBAAA,SACA,uBAAA,SACA,IAAA,CAAK,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/delete-company.ts
@@ -1 +1 @@
1
- {"version":3,"file":"delete-company.mjs","names":[],"sources":["../../src/actions/delete-company.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FolkDeleteCompanyInput = z.object({\n company_id: z.string().describe(\"The ID of the company to delete. Must be exactly 40 characters.\"),\n}).describe(\"Request schema for deleting a company.\");\nconst FolkDeleteCompany_DeleteCompanyResponseDataSchema = z.object({\n id: z.string().describe(\"ID of the deleted company.\").nullable(),\n}).passthrough().describe(\"Data returned after a successful delete.\");\nexport const FolkDeleteCompanyOutput = z.object({\n data: FolkDeleteCompany_DeleteCompanyResponseDataSchema.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 company.\");\n\nexport const folkDeleteCompany = action(\"FOLK_DELETE_COMPANY\", {\n slug: \"folk-delete-company\",\n name: \"Delete Company\",\n description: \"Tool to delete a company from the workspace (irreversible). Use after confirming this company should be removed.\",\n input: FolkDeleteCompanyInput,\n output: FolkDeleteCompanyOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAyB,EAAE,OAAO,EAC7C,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,EACnG,CAAC,CAAC,CAAC,SAAS,wCAAwC;AACpD,MAAM,oDAAoD,EAAE,OAAO,EACjE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,EACjE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AAMpE,MAAa,oBAAoB,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVqC,EAAE,OAAO;EAC9C,MAAM,kDAAkD,SAAS;EACjE,cAAc,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"delete-company.mjs","names":[],"sources":["../../src/actions/delete-company.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { folk } from \"../app\";\n\nexport const FolkDeleteCompanyInput = z.object({\n company_id: z.string().describe(\"The ID of the company to delete. Must be exactly 40 characters.\"),\n}).describe(\"Request schema for deleting a company.\");\nconst FolkDeleteCompany_DeleteCompanyResponseDataSchema = z.object({\n id: z.string().describe(\"ID of the deleted company.\").nullable(),\n}).passthrough().describe(\"Data returned after a successful delete.\");\nexport const FolkDeleteCompanyOutput = z.object({\n data: FolkDeleteCompany_DeleteCompanyResponseDataSchema.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 company.\");\n\nexport const folkDeleteCompany: AppAction<\n typeof FolkDeleteCompanyInput,\n typeof FolkDeleteCompanyOutput,\n typeof folk.credential\n> = action(\"FOLK_DELETE_COMPANY\", {\n slug: \"folk-delete-company\",\n name: \"Delete Company\",\n description: \"Tool to delete a company from the workspace (irreversible). Use after confirming this company should be removed.\",\n input: FolkDeleteCompanyInput,\n output: FolkDeleteCompanyOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,yBAAyB,EAAE,OAAO,EAC7C,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,EACnG,CAAC,CAAC,CAAC,SAAS,wCAAwC;AACpD,MAAM,oDAAoD,EAAE,OAAO,EACjE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,EACjE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AAMpE,MAAa,oBAIT,OAAO,uBAAuB;CAChC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAdqC,EAAE,OAAO;EAC9C,MAAM,kDAAkD,SAAS;EACjE,cAAc,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/delete-note.ts
@@ -1 +1 @@
1
- {"version":3,"file":"delete-note.cjs","names":["z","action"],"sources":["../../src/actions/delete-note.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FolkDeleteNoteInput = z.object({\n note_id: z.string().describe(\"The ID of the note to delete. Must be exactly 40 characters.\"),\n}).describe(\"Request schema for deleting a note.\");\nconst FolkDeleteNote_DeleteNoteResponseDataSchema = z.object({\n id: z.string().describe(\"ID of the deleted note.\").nullable(),\n}).passthrough().describe(\"Data returned after a successful delete.\");\nexport const FolkDeleteNoteOutput = z.object({\n data: FolkDeleteNote_DeleteNoteResponseDataSchema.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 note.\");\n\nexport const folkDeleteNote = action(\"FOLK_DELETE_NOTE\", {\n slug: \"folk-delete-note\",\n name: \"Delete Note\",\n description: \"Tool to delete an existing note in the workspace (irreversible). Use after confirming this note should be permanently removed.\",\n input: FolkDeleteNoteInput,\n output: FolkDeleteNoteOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sBAAsBA,IAAAA,EAAE,OAAO,EAC1C,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,EAC7F,CAAC,CAAC,CAAC,SAAS,qCAAqC;AACjD,MAAM,8CAA8CA,IAAAA,EAAE,OAAO,EAC3D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,EAC9D,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AACpE,MAAa,uBAAuBA,IAAAA,EAAE,OAAO;CAC3C,MAAM,4CAA4C,SAAS;CAC3D,cAAcA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAAsC;AAEhE,MAAa,iBAAiBC,eAAAA,OAAO,oBAAoB;CACvD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"delete-note.cjs","names":["z","action"],"sources":["../../src/actions/delete-note.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { folk } from \"../app\";\n\nexport const FolkDeleteNoteInput = z.object({\n note_id: z.string().describe(\"The ID of the note to delete. Must be exactly 40 characters.\"),\n}).describe(\"Request schema for deleting a note.\");\nconst FolkDeleteNote_DeleteNoteResponseDataSchema = z.object({\n id: z.string().describe(\"ID of the deleted note.\").nullable(),\n}).passthrough().describe(\"Data returned after a successful delete.\");\nexport const FolkDeleteNoteOutput = z.object({\n data: FolkDeleteNote_DeleteNoteResponseDataSchema.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 note.\");\n\nexport const folkDeleteNote: AppAction<\n typeof FolkDeleteNoteInput,\n typeof FolkDeleteNoteOutput,\n typeof folk.credential\n> = action(\"FOLK_DELETE_NOTE\", {\n slug: \"folk-delete-note\",\n name: \"Delete Note\",\n description: \"Tool to delete an existing note in the workspace (irreversible). Use after confirming this note should be permanently removed.\",\n input: FolkDeleteNoteInput,\n output: FolkDeleteNoteOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,sBAAsBA,IAAAA,EAAE,OAAO,EAC1C,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,EAC7F,CAAC,CAAC,CAAC,SAAS,qCAAqC;AACjD,MAAM,8CAA8CA,IAAAA,EAAE,OAAO,EAC3D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,EAC9D,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AACpE,MAAa,uBAAuBA,IAAAA,EAAE,OAAO;CAC3C,MAAM,4CAA4C,SAAS;CAC3D,cAAcA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAAsC;AAEhE,MAAa,iBAITC,eAAAA,OAAO,oBAAoB;CAC7B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { folk } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/delete-note.d.ts
@@ -10,21 +12,7 @@ declare const FolkDeleteNoteOutput: z.ZodObject<{
10
12
  }, z.core.$loose>>;
11
13
  deprecations: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
12
14
  }, z.core.$loose>;
13
- declare const folkDeleteNote: import("@keystrokehq/action").WorkflowActionDefinition<{
14
- note_id: string;
15
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"folk", z.ZodObject<{
16
- connectionId: z.ZodString;
17
- entityId: z.ZodString;
18
- instanceId: z.ZodString;
19
- }, z.core.$strip>, z.ZodObject<{
20
- generic_api_key: z.ZodString;
21
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"folk", z.ZodObject<{
22
- connectionId: z.ZodString;
23
- entityId: z.ZodString;
24
- instanceId: z.ZodString;
25
- }, z.core.$strip>, z.ZodObject<{
26
- generic_api_key: z.ZodString;
27
- }, z.core.$strip>>]>;
15
+ declare const folkDeleteNote: AppAction<typeof FolkDeleteNoteInput, typeof FolkDeleteNoteOutput, typeof folk.credential>;
28
16
  //#endregion
29
17
  export { folkDeleteNote };
30
18
  //# sourceMappingURL=delete-note.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"delete-note.d.cts","names":[],"sources":["../../src/actions/delete-note.ts"],"mappings":";;;cAIa,mBAAA,EAAmB,CAAA,CAAA,SAAA;;;cAMnB,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;;;cAKpB,cAAA,gCAAc,wBAAA"}
1
+ {"version":3,"file":"delete-note.d.cts","names":[],"sources":["../../src/actions/delete-note.ts"],"mappings":";;;;;cAMa,mBAAA,EAAmB,CAAA,CAAA,SAAA;;;cAMnB,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;;;cAKpB,cAAA,EAAgB,SAAA,QACpB,mBAAA,SACA,oBAAA,SACA,IAAA,CAAK,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { folk } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/delete-note.d.ts
@@ -10,21 +12,7 @@ declare const FolkDeleteNoteOutput: z.ZodObject<{
10
12
  }, z.core.$loose>>;
11
13
  deprecations: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
12
14
  }, z.core.$loose>;
13
- declare const folkDeleteNote: import("@keystrokehq/action").WorkflowActionDefinition<{
14
- note_id: string;
15
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"folk", z.ZodObject<{
16
- connectionId: z.ZodString;
17
- entityId: z.ZodString;
18
- instanceId: z.ZodString;
19
- }, z.core.$strip>, z.ZodObject<{
20
- generic_api_key: z.ZodString;
21
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"folk", z.ZodObject<{
22
- connectionId: z.ZodString;
23
- entityId: z.ZodString;
24
- instanceId: z.ZodString;
25
- }, z.core.$strip>, z.ZodObject<{
26
- generic_api_key: z.ZodString;
27
- }, z.core.$strip>>]>;
15
+ declare const folkDeleteNote: AppAction<typeof FolkDeleteNoteInput, typeof FolkDeleteNoteOutput, typeof folk.credential>;
28
16
  //#endregion
29
17
  export { folkDeleteNote };
30
18
  //# sourceMappingURL=delete-note.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"delete-note.d.mts","names":[],"sources":["../../src/actions/delete-note.ts"],"mappings":";;;cAIa,mBAAA,EAAmB,CAAA,CAAA,SAAA;;;cAMnB,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;;;cAKpB,cAAA,gCAAc,wBAAA"}
1
+ {"version":3,"file":"delete-note.d.mts","names":[],"sources":["../../src/actions/delete-note.ts"],"mappings":";;;;;cAMa,mBAAA,EAAmB,CAAA,CAAA,SAAA;;;cAMnB,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;;;cAKpB,cAAA,EAAgB,SAAA,QACpB,mBAAA,SACA,oBAAA,SACA,IAAA,CAAK,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/delete-note.ts
@@ -1 +1 @@
1
- {"version":3,"file":"delete-note.mjs","names":[],"sources":["../../src/actions/delete-note.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FolkDeleteNoteInput = z.object({\n note_id: z.string().describe(\"The ID of the note to delete. Must be exactly 40 characters.\"),\n}).describe(\"Request schema for deleting a note.\");\nconst FolkDeleteNote_DeleteNoteResponseDataSchema = z.object({\n id: z.string().describe(\"ID of the deleted note.\").nullable(),\n}).passthrough().describe(\"Data returned after a successful delete.\");\nexport const FolkDeleteNoteOutput = z.object({\n data: FolkDeleteNote_DeleteNoteResponseDataSchema.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 note.\");\n\nexport const folkDeleteNote = action(\"FOLK_DELETE_NOTE\", {\n slug: \"folk-delete-note\",\n name: \"Delete Note\",\n description: \"Tool to delete an existing note in the workspace (irreversible). Use after confirming this note should be permanently removed.\",\n input: FolkDeleteNoteInput,\n output: FolkDeleteNoteOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sBAAsB,EAAE,OAAO,EAC1C,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,EAC7F,CAAC,CAAC,CAAC,SAAS,qCAAqC;AACjD,MAAM,8CAA8C,EAAE,OAAO,EAC3D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,EAC9D,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AAMpE,MAAa,iBAAiB,OAAO,oBAAoB;CACvD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVkC,EAAE,OAAO;EAC3C,MAAM,4CAA4C,SAAS;EAC3D,cAAc,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"delete-note.mjs","names":[],"sources":["../../src/actions/delete-note.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { folk } from \"../app\";\n\nexport const FolkDeleteNoteInput = z.object({\n note_id: z.string().describe(\"The ID of the note to delete. Must be exactly 40 characters.\"),\n}).describe(\"Request schema for deleting a note.\");\nconst FolkDeleteNote_DeleteNoteResponseDataSchema = z.object({\n id: z.string().describe(\"ID of the deleted note.\").nullable(),\n}).passthrough().describe(\"Data returned after a successful delete.\");\nexport const FolkDeleteNoteOutput = z.object({\n data: FolkDeleteNote_DeleteNoteResponseDataSchema.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 note.\");\n\nexport const folkDeleteNote: AppAction<\n typeof FolkDeleteNoteInput,\n typeof FolkDeleteNoteOutput,\n typeof folk.credential\n> = action(\"FOLK_DELETE_NOTE\", {\n slug: \"folk-delete-note\",\n name: \"Delete Note\",\n description: \"Tool to delete an existing note in the workspace (irreversible). Use after confirming this note should be permanently removed.\",\n input: FolkDeleteNoteInput,\n output: FolkDeleteNoteOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,sBAAsB,EAAE,OAAO,EAC1C,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,EAC7F,CAAC,CAAC,CAAC,SAAS,qCAAqC;AACjD,MAAM,8CAA8C,EAAE,OAAO,EAC3D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,EAC9D,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AAMpE,MAAa,iBAIT,OAAO,oBAAoB;CAC7B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAdkC,EAAE,OAAO;EAC3C,MAAM,4CAA4C,SAAS;EAC3D,cAAc,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/delete-person.ts
@@ -1 +1 @@
1
- {"version":3,"file":"delete-person.cjs","names":["z","action"],"sources":["../../src/actions/delete-person.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FolkDeletePersonInput = z.object({\n person_id: z.string().describe(\"The ID of the person to delete. Must be exactly 40 characters.\"),\n}).describe(\"Request schema for deleting a person.\");\nconst FolkDeletePerson_DeletePersonResponseDataSchema = z.object({\n id: z.string().describe(\"The ID of the deleted person.\").nullable(),\n}).passthrough().describe(\"Data returned after deleting a person.\");\nexport const FolkDeletePersonOutput = z.object({\n data: FolkDeletePerson_DeletePersonResponseDataSchema.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 person.\");\n\nexport const folkDeletePerson = action(\"FOLK_DELETE_PERSON\", {\n slug: \"folk-delete-person\",\n name: \"Delete Person\",\n description: \"Tool to delete an existing person in the workspace (irreversible). Use after confirming this person should be permanently removed.\",\n input: FolkDeletePersonInput,\n output: FolkDeletePersonOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAwBA,IAAAA,EAAE,OAAO,EAC5C,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,EACjG,CAAC,CAAC,CAAC,SAAS,uCAAuC;AACnD,MAAM,kDAAkDA,IAAAA,EAAE,OAAO,EAC/D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,EACpE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAClE,MAAa,yBAAyBA,IAAAA,EAAE,OAAO;CAC7C,MAAM,gDAAgD,SAAS;CAC/D,cAAcA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAElE,MAAa,mBAAmBC,eAAAA,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"delete-person.cjs","names":["z","action"],"sources":["../../src/actions/delete-person.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { folk } from \"../app\";\n\nexport const FolkDeletePersonInput = z.object({\n person_id: z.string().describe(\"The ID of the person to delete. Must be exactly 40 characters.\"),\n}).describe(\"Request schema for deleting a person.\");\nconst FolkDeletePerson_DeletePersonResponseDataSchema = z.object({\n id: z.string().describe(\"The ID of the deleted person.\").nullable(),\n}).passthrough().describe(\"Data returned after deleting a person.\");\nexport const FolkDeletePersonOutput = z.object({\n data: FolkDeletePerson_DeletePersonResponseDataSchema.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 person.\");\n\nexport const folkDeletePerson: AppAction<\n typeof FolkDeletePersonInput,\n typeof FolkDeletePersonOutput,\n typeof folk.credential\n> = action(\"FOLK_DELETE_PERSON\", {\n slug: \"folk-delete-person\",\n name: \"Delete Person\",\n description: \"Tool to delete an existing person in the workspace (irreversible). Use after confirming this person should be permanently removed.\",\n input: FolkDeletePersonInput,\n output: FolkDeletePersonOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,wBAAwBA,IAAAA,EAAE,OAAO,EAC5C,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,EACjG,CAAC,CAAC,CAAC,SAAS,uCAAuC;AACnD,MAAM,kDAAkDA,IAAAA,EAAE,OAAO,EAC/D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,EACpE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAClE,MAAa,yBAAyBA,IAAAA,EAAE,OAAO;CAC7C,MAAM,gDAAgD,SAAS;CAC/D,cAAcA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAElE,MAAa,mBAITC,eAAAA,OAAO,sBAAsB;CAC/B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { folk } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/delete-person.d.ts
@@ -10,21 +12,7 @@ declare const FolkDeletePersonOutput: z.ZodObject<{
10
12
  }, z.core.$loose>>;
11
13
  deprecations: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
12
14
  }, z.core.$loose>;
13
- declare const folkDeletePerson: import("@keystrokehq/action").WorkflowActionDefinition<{
14
- person_id: string;
15
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"folk", z.ZodObject<{
16
- connectionId: z.ZodString;
17
- entityId: z.ZodString;
18
- instanceId: z.ZodString;
19
- }, z.core.$strip>, z.ZodObject<{
20
- generic_api_key: z.ZodString;
21
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"folk", z.ZodObject<{
22
- connectionId: z.ZodString;
23
- entityId: z.ZodString;
24
- instanceId: z.ZodString;
25
- }, z.core.$strip>, z.ZodObject<{
26
- generic_api_key: z.ZodString;
27
- }, z.core.$strip>>]>;
15
+ declare const folkDeletePerson: AppAction<typeof FolkDeletePersonInput, typeof FolkDeletePersonOutput, typeof folk.credential>;
28
16
  //#endregion
29
17
  export { folkDeletePerson };
30
18
  //# sourceMappingURL=delete-person.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"delete-person.d.cts","names":[],"sources":["../../src/actions/delete-person.ts"],"mappings":";;;cAIa,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;cAMrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;cAKtB,gBAAA,gCAAgB,wBAAA"}
1
+ {"version":3,"file":"delete-person.d.cts","names":[],"sources":["../../src/actions/delete-person.ts"],"mappings":";;;;;cAMa,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;cAMrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;cAKtB,gBAAA,EAAkB,SAAA,QACtB,qBAAA,SACA,sBAAA,SACA,IAAA,CAAK,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { folk } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/delete-person.d.ts
@@ -10,21 +12,7 @@ declare const FolkDeletePersonOutput: z.ZodObject<{
10
12
  }, z.core.$loose>>;
11
13
  deprecations: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
12
14
  }, z.core.$loose>;
13
- declare const folkDeletePerson: import("@keystrokehq/action").WorkflowActionDefinition<{
14
- person_id: string;
15
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"folk", z.ZodObject<{
16
- connectionId: z.ZodString;
17
- entityId: z.ZodString;
18
- instanceId: z.ZodString;
19
- }, z.core.$strip>, z.ZodObject<{
20
- generic_api_key: z.ZodString;
21
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"folk", z.ZodObject<{
22
- connectionId: z.ZodString;
23
- entityId: z.ZodString;
24
- instanceId: z.ZodString;
25
- }, z.core.$strip>, z.ZodObject<{
26
- generic_api_key: z.ZodString;
27
- }, z.core.$strip>>]>;
15
+ declare const folkDeletePerson: AppAction<typeof FolkDeletePersonInput, typeof FolkDeletePersonOutput, typeof folk.credential>;
28
16
  //#endregion
29
17
  export { folkDeletePerson };
30
18
  //# sourceMappingURL=delete-person.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"delete-person.d.mts","names":[],"sources":["../../src/actions/delete-person.ts"],"mappings":";;;cAIa,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;cAMrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;cAKtB,gBAAA,gCAAgB,wBAAA"}
1
+ {"version":3,"file":"delete-person.d.mts","names":[],"sources":["../../src/actions/delete-person.ts"],"mappings":";;;;;cAMa,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;cAMrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;cAKtB,gBAAA,EAAkB,SAAA,QACtB,qBAAA,SACA,sBAAA,SACA,IAAA,CAAK,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/delete-person.ts
@@ -1 +1 @@
1
- {"version":3,"file":"delete-person.mjs","names":[],"sources":["../../src/actions/delete-person.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FolkDeletePersonInput = z.object({\n person_id: z.string().describe(\"The ID of the person to delete. Must be exactly 40 characters.\"),\n}).describe(\"Request schema for deleting a person.\");\nconst FolkDeletePerson_DeletePersonResponseDataSchema = z.object({\n id: z.string().describe(\"The ID of the deleted person.\").nullable(),\n}).passthrough().describe(\"Data returned after deleting a person.\");\nexport const FolkDeletePersonOutput = z.object({\n data: FolkDeletePerson_DeletePersonResponseDataSchema.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 person.\");\n\nexport const folkDeletePerson = action(\"FOLK_DELETE_PERSON\", {\n slug: \"folk-delete-person\",\n name: \"Delete Person\",\n description: \"Tool to delete an existing person in the workspace (irreversible). Use after confirming this person should be permanently removed.\",\n input: FolkDeletePersonInput,\n output: FolkDeletePersonOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAwB,EAAE,OAAO,EAC5C,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,EACjG,CAAC,CAAC,CAAC,SAAS,uCAAuC;AACnD,MAAM,kDAAkD,EAAE,OAAO,EAC/D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,EACpE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAMlE,MAAa,mBAAmB,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVoC,EAAE,OAAO;EAC7C,MAAM,gDAAgD,SAAS;EAC/D,cAAc,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"delete-person.mjs","names":[],"sources":["../../src/actions/delete-person.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { folk } from \"../app\";\n\nexport const FolkDeletePersonInput = z.object({\n person_id: z.string().describe(\"The ID of the person to delete. Must be exactly 40 characters.\"),\n}).describe(\"Request schema for deleting a person.\");\nconst FolkDeletePerson_DeletePersonResponseDataSchema = z.object({\n id: z.string().describe(\"The ID of the deleted person.\").nullable(),\n}).passthrough().describe(\"Data returned after deleting a person.\");\nexport const FolkDeletePersonOutput = z.object({\n data: FolkDeletePerson_DeletePersonResponseDataSchema.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 person.\");\n\nexport const folkDeletePerson: AppAction<\n typeof FolkDeletePersonInput,\n typeof FolkDeletePersonOutput,\n typeof folk.credential\n> = action(\"FOLK_DELETE_PERSON\", {\n slug: \"folk-delete-person\",\n name: \"Delete Person\",\n description: \"Tool to delete an existing person in the workspace (irreversible). Use after confirming this person should be permanently removed.\",\n input: FolkDeletePersonInput,\n output: FolkDeletePersonOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,wBAAwB,EAAE,OAAO,EAC5C,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,EACjG,CAAC,CAAC,CAAC,SAAS,uCAAuC;AACnD,MAAM,kDAAkD,EAAE,OAAO,EAC/D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,EACpE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAMlE,MAAa,mBAIT,OAAO,sBAAsB;CAC/B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAdoC,EAAE,OAAO;EAC7C,MAAM,gDAAgD,SAAS;EAC/D,cAAc,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/delete-reminder.ts
@@ -1 +1 @@
1
- {"version":3,"file":"delete-reminder.cjs","names":["z","action"],"sources":["../../src/actions/delete-reminder.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FolkDeleteReminderInput = z.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,0BAA0BA,IAAAA,EAAE,OAAO,EAC9C,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,EACrG,CAAC,CAAC,CAAC,SAAS,yCAAyC;AACrD,MAAM,sDAAsDA,IAAAA,EAAE,OAAO,EACnE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,EACtE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AACpE,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,MAAM,oDAAoD,SAAS;CACnE,cAAcA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AAEpE,MAAa,qBAAqBC,eAAAA,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"delete-reminder.cjs","names":["z","action"],"sources":["../../src/actions/delete-reminder.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { folk } from \"../app\";\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: AppAction<\n typeof FolkDeleteReminderInput,\n typeof FolkDeleteReminderOutput,\n typeof folk.credential\n> = 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":";;;;AAMA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO,EAC9C,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,EACrG,CAAC,CAAC,CAAC,SAAS,yCAAyC;AACrD,MAAM,sDAAsDA,IAAAA,EAAE,OAAO,EACnE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,EACtE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AACpE,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,MAAM,oDAAoD,SAAS;CACnE,cAAcA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AAEpE,MAAa,qBAITC,eAAAA,OAAO,wBAAwB;CACjC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { folk } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/delete-reminder.d.ts
@@ -10,21 +12,7 @@ declare const FolkDeleteReminderOutput: z.ZodObject<{
10
12
  }, z.core.$loose>>;
11
13
  deprecations: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
12
14
  }, z.core.$loose>;
13
- declare const folkDeleteReminder: import("@keystrokehq/action").WorkflowActionDefinition<{
14
- reminder_id: string;
15
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"folk", z.ZodObject<{
16
- connectionId: z.ZodString;
17
- entityId: z.ZodString;
18
- instanceId: z.ZodString;
19
- }, z.core.$strip>, z.ZodObject<{
20
- generic_api_key: z.ZodString;
21
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"folk", z.ZodObject<{
22
- connectionId: z.ZodString;
23
- entityId: z.ZodString;
24
- instanceId: z.ZodString;
25
- }, z.core.$strip>, z.ZodObject<{
26
- generic_api_key: z.ZodString;
27
- }, z.core.$strip>>]>;
15
+ declare const folkDeleteReminder: AppAction<typeof FolkDeleteReminderInput, typeof FolkDeleteReminderOutput, typeof folk.credential>;
28
16
  //#endregion
29
17
  export { folkDeleteReminder };
30
18
  //# sourceMappingURL=delete-reminder.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"delete-reminder.d.cts","names":[],"sources":["../../src/actions/delete-reminder.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;cAMvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;cAKxB,kBAAA,gCAAkB,wBAAA"}
1
+ {"version":3,"file":"delete-reminder.d.cts","names":[],"sources":["../../src/actions/delete-reminder.ts"],"mappings":";;;;;cAMa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;cAMvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;cAKxB,kBAAA,EAAoB,SAAA,QACxB,uBAAA,SACA,wBAAA,SACA,IAAA,CAAK,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { folk } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/delete-reminder.d.ts
@@ -10,21 +12,7 @@ declare const FolkDeleteReminderOutput: z.ZodObject<{
10
12
  }, z.core.$loose>>;
11
13
  deprecations: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
12
14
  }, z.core.$loose>;
13
- declare const folkDeleteReminder: import("@keystrokehq/action").WorkflowActionDefinition<{
14
- reminder_id: string;
15
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"folk", z.ZodObject<{
16
- connectionId: z.ZodString;
17
- entityId: z.ZodString;
18
- instanceId: z.ZodString;
19
- }, z.core.$strip>, z.ZodObject<{
20
- generic_api_key: z.ZodString;
21
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"folk", z.ZodObject<{
22
- connectionId: z.ZodString;
23
- entityId: z.ZodString;
24
- instanceId: z.ZodString;
25
- }, z.core.$strip>, z.ZodObject<{
26
- generic_api_key: z.ZodString;
27
- }, z.core.$strip>>]>;
15
+ declare const folkDeleteReminder: AppAction<typeof FolkDeleteReminderInput, typeof FolkDeleteReminderOutput, typeof folk.credential>;
28
16
  //#endregion
29
17
  export { folkDeleteReminder };
30
18
  //# 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,EAAuB,CAAA,CAAA,SAAA;;;cAMvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;cAKxB,kBAAA,gCAAkB,wBAAA"}
1
+ {"version":3,"file":"delete-reminder.d.mts","names":[],"sources":["../../src/actions/delete-reminder.ts"],"mappings":";;;;;cAMa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;cAMvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;cAKxB,kBAAA,EAAoB,SAAA,QACxB,uBAAA,SACA,wBAAA,SACA,IAAA,CAAK,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/delete-reminder.ts
@@ -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}).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"}
1
+ {"version":3,"file":"delete-reminder.mjs","names":[],"sources":["../../src/actions/delete-reminder.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { folk } from \"../app\";\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: AppAction<\n typeof FolkDeleteReminderInput,\n typeof FolkDeleteReminderOutput,\n typeof folk.credential\n> = 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":";;;;AAMA,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,qBAIT,OAAO,wBAAwB;CACjC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAdsC,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,0CAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/get-company.ts
@@ -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}).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"}
1
+ {"version":3,"file":"get-company.cjs","names":["z","action"],"sources":["../../src/actions/get-company.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { folk } from \"../app\";\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: AppAction<\n typeof FolkGetCompanyInput,\n typeof FolkGetCompanyOutput,\n typeof folk.credential\n> = 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":";;;;AAMA,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,iBAITC,eAAAA,OAAO,oBAAoB;CAC7B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { folk } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-company.d.ts
@@ -20,21 +22,7 @@ declare const FolkGetCompanyOutput: z.ZodObject<{
20
22
  customFieldValues: z.ZodRecord<z.ZodString, z.ZodUnknown>;
21
23
  }, z.core.$loose>>;
22
24
  }, z.core.$loose>;
23
- declare const folkGetCompany: import("@keystrokehq/action").WorkflowActionDefinition<{
24
- company_id: string;
25
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"folk", z.ZodObject<{
26
- connectionId: z.ZodString;
27
- entityId: z.ZodString;
28
- instanceId: z.ZodString;
29
- }, z.core.$strip>, z.ZodObject<{
30
- generic_api_key: z.ZodString;
31
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"folk", z.ZodObject<{
32
- connectionId: z.ZodString;
33
- entityId: z.ZodString;
34
- instanceId: z.ZodString;
35
- }, z.core.$strip>, z.ZodObject<{
36
- generic_api_key: z.ZodString;
37
- }, z.core.$strip>>]>;
25
+ declare const folkGetCompany: AppAction<typeof FolkGetCompanyInput, typeof FolkGetCompanyOutput, typeof folk.credential>;
38
26
  //#endregion
39
27
  export { folkGetCompany };
40
28
  //# 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,EAAmB,CAAA,CAAA,SAAA;;;cAkBnB,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAIpB,cAAA,gCAAc,wBAAA"}
1
+ {"version":3,"file":"get-company.d.cts","names":[],"sources":["../../src/actions/get-company.ts"],"mappings":";;;;;cAMa,mBAAA,EAAmB,CAAA,CAAA,SAAA;;;cAkBnB,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAIpB,cAAA,EAAgB,SAAA,QACpB,mBAAA,SACA,oBAAA,SACA,IAAA,CAAK,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { folk } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-company.d.ts
@@ -20,21 +22,7 @@ declare const FolkGetCompanyOutput: z.ZodObject<{
20
22
  customFieldValues: z.ZodRecord<z.ZodString, z.ZodUnknown>;
21
23
  }, z.core.$loose>>;
22
24
  }, z.core.$loose>;
23
- declare const folkGetCompany: import("@keystrokehq/action").WorkflowActionDefinition<{
24
- company_id: string;
25
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"folk", z.ZodObject<{
26
- connectionId: z.ZodString;
27
- entityId: z.ZodString;
28
- instanceId: z.ZodString;
29
- }, z.core.$strip>, z.ZodObject<{
30
- generic_api_key: z.ZodString;
31
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"folk", z.ZodObject<{
32
- connectionId: z.ZodString;
33
- entityId: z.ZodString;
34
- instanceId: z.ZodString;
35
- }, z.core.$strip>, z.ZodObject<{
36
- generic_api_key: z.ZodString;
37
- }, z.core.$strip>>]>;
25
+ declare const folkGetCompany: AppAction<typeof FolkGetCompanyInput, typeof FolkGetCompanyOutput, typeof folk.credential>;
38
26
  //#endregion
39
27
  export { folkGetCompany };
40
28
  //# 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,EAAmB,CAAA,CAAA,SAAA;;;cAkBnB,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAIpB,cAAA,gCAAc,wBAAA"}
1
+ {"version":3,"file":"get-company.d.mts","names":[],"sources":["../../src/actions/get-company.ts"],"mappings":";;;;;cAMa,mBAAA,EAAmB,CAAA,CAAA,SAAA;;;cAkBnB,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAIpB,cAAA,EAAgB,SAAA,QACpB,mBAAA,SACA,oBAAA,SACA,IAAA,CAAK,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/get-company.ts
@@ -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}).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"}
1
+ {"version":3,"file":"get-company.mjs","names":[],"sources":["../../src/actions/get-company.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { folk } from \"../app\";\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: AppAction<\n typeof FolkGetCompanyInput,\n typeof FolkGetCompanyOutput,\n typeof folk.credential\n> = 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":";;;;AAMA,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,iBAIT,OAAO,oBAAoB;CAC7B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAbkC,EAAE,OAAO,EAC3C,MAAM,iCAAiC,SAAS,EAClD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/get-current-workspace-user.ts
@@ -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}).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"}
1
+ {"version":3,"file":"get-current-workspace-user.cjs","names":["z","action"],"sources":["../../src/actions/get-current-workspace-user.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { folk } from \"../app\";\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: AppAction<\n typeof FolkGetCurrentWorkspaceUserInput,\n typeof FolkGetCurrentWorkspaceUserOutput,\n typeof folk.credential\n> = 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":";;;;AAMA,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,8BAITC,eAAAA,OAAO,mCAAmC;CAC5C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { folk } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-current-workspace-user.d.ts
@@ -9,19 +11,7 @@ declare const FolkGetCurrentWorkspaceUserOutput: z.ZodObject<{
9
11
  fullName: z.ZodNullable<z.ZodString>;
10
12
  }, z.core.$loose>>;
11
13
  }, z.core.$loose>;
12
- declare const folkGetCurrentWorkspaceUser: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"folk", z.ZodObject<{
13
- connectionId: z.ZodString;
14
- entityId: z.ZodString;
15
- instanceId: z.ZodString;
16
- }, z.core.$strip>, z.ZodObject<{
17
- generic_api_key: z.ZodString;
18
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"folk", z.ZodObject<{
19
- connectionId: z.ZodString;
20
- entityId: z.ZodString;
21
- instanceId: z.ZodString;
22
- }, z.core.$strip>, z.ZodObject<{
23
- generic_api_key: z.ZodString;
24
- }, z.core.$strip>>]>;
14
+ declare const folkGetCurrentWorkspaceUser: AppAction<typeof FolkGetCurrentWorkspaceUserInput, typeof FolkGetCurrentWorkspaceUserOutput, typeof folk.credential>;
25
15
  //#endregion
26
16
  export { folkGetCurrentWorkspaceUser };
27
17
  //# 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,EAAgC,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAMhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;cAIjC,2BAAA,gCAA2B,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,SAAA,CAAA,CAAA,SAAA"}
1
+ {"version":3,"file":"get-current-workspace-user.d.cts","names":[],"sources":["../../src/actions/get-current-workspace-user.ts"],"mappings":";;;;;cAMa,gCAAA,EAAgC,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAMhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;cAIjC,2BAAA,EAA6B,SAAA,QACjC,gCAAA,SACA,iCAAA,SACA,IAAA,CAAK,UAAA"}