@keystrokehq/splitwise 0.1.3 → 0.1.5

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 (229) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/add-friend.cjs +1 -0
  4. package/dist/actions/add-friend.cjs.map +1 -1
  5. package/dist/actions/add-friend.d.cts +3 -5
  6. package/dist/actions/add-friend.d.cts.map +1 -1
  7. package/dist/actions/add-friend.d.mts +3 -5
  8. package/dist/actions/add-friend.d.mts.map +1 -1
  9. package/dist/actions/add-friend.mjs +1 -0
  10. package/dist/actions/add-friend.mjs.map +1 -1
  11. package/dist/actions/add-user-to-group.cjs +1 -0
  12. package/dist/actions/add-user-to-group.cjs.map +1 -1
  13. package/dist/actions/add-user-to-group.d.cts +3 -4
  14. package/dist/actions/add-user-to-group.d.cts.map +1 -1
  15. package/dist/actions/add-user-to-group.d.mts +3 -4
  16. package/dist/actions/add-user-to-group.d.mts.map +1 -1
  17. package/dist/actions/add-user-to-group.mjs +1 -0
  18. package/dist/actions/add-user-to-group.mjs.map +1 -1
  19. package/dist/actions/create-comment.cjs +1 -0
  20. package/dist/actions/create-comment.cjs.map +1 -1
  21. package/dist/actions/create-comment.d.cts +3 -4
  22. package/dist/actions/create-comment.d.cts.map +1 -1
  23. package/dist/actions/create-comment.d.mts +3 -4
  24. package/dist/actions/create-comment.d.mts.map +1 -1
  25. package/dist/actions/create-comment.mjs +1 -0
  26. package/dist/actions/create-comment.mjs.map +1 -1
  27. package/dist/actions/create-expense.cjs +1 -0
  28. package/dist/actions/create-expense.cjs.map +1 -1
  29. package/dist/actions/create-expense.d.cts +3 -20
  30. package/dist/actions/create-expense.d.cts.map +1 -1
  31. package/dist/actions/create-expense.d.mts +3 -20
  32. package/dist/actions/create-expense.d.mts.map +1 -1
  33. package/dist/actions/create-expense.mjs +1 -0
  34. package/dist/actions/create-expense.mjs.map +1 -1
  35. package/dist/actions/create-friends.cjs +1 -0
  36. package/dist/actions/create-friends.cjs.map +1 -1
  37. package/dist/actions/create-friends.d.cts +3 -8
  38. package/dist/actions/create-friends.d.cts.map +1 -1
  39. package/dist/actions/create-friends.d.mts +3 -8
  40. package/dist/actions/create-friends.d.mts.map +1 -1
  41. package/dist/actions/create-friends.mjs +1 -0
  42. package/dist/actions/create-friends.mjs.map +1 -1
  43. package/dist/actions/create-group.cjs +1 -0
  44. package/dist/actions/create-group.cjs.map +1 -1
  45. package/dist/actions/create-group.d.cts +3 -12
  46. package/dist/actions/create-group.d.cts.map +1 -1
  47. package/dist/actions/create-group.d.mts +3 -12
  48. package/dist/actions/create-group.d.mts.map +1 -1
  49. package/dist/actions/create-group.mjs +1 -0
  50. package/dist/actions/create-group.mjs.map +1 -1
  51. package/dist/actions/delete-comment.cjs +1 -0
  52. package/dist/actions/delete-comment.cjs.map +1 -1
  53. package/dist/actions/delete-comment.d.cts +3 -3
  54. package/dist/actions/delete-comment.d.cts.map +1 -1
  55. package/dist/actions/delete-comment.d.mts +3 -3
  56. package/dist/actions/delete-comment.d.mts.map +1 -1
  57. package/dist/actions/delete-comment.mjs +1 -0
  58. package/dist/actions/delete-comment.mjs.map +1 -1
  59. package/dist/actions/delete-expense.cjs +1 -0
  60. package/dist/actions/delete-expense.cjs.map +1 -1
  61. package/dist/actions/delete-expense.d.cts +3 -3
  62. package/dist/actions/delete-expense.d.cts.map +1 -1
  63. package/dist/actions/delete-expense.d.mts +3 -3
  64. package/dist/actions/delete-expense.d.mts.map +1 -1
  65. package/dist/actions/delete-expense.mjs +1 -0
  66. package/dist/actions/delete-expense.mjs.map +1 -1
  67. package/dist/actions/delete-friend.cjs +1 -0
  68. package/dist/actions/delete-friend.cjs.map +1 -1
  69. package/dist/actions/delete-friend.d.cts +3 -3
  70. package/dist/actions/delete-friend.d.cts.map +1 -1
  71. package/dist/actions/delete-friend.d.mts +3 -3
  72. package/dist/actions/delete-friend.d.mts.map +1 -1
  73. package/dist/actions/delete-friend.mjs +1 -0
  74. package/dist/actions/delete-friend.mjs.map +1 -1
  75. package/dist/actions/delete-group.cjs +1 -0
  76. package/dist/actions/delete-group.cjs.map +1 -1
  77. package/dist/actions/delete-group.d.cts +3 -3
  78. package/dist/actions/delete-group.d.cts.map +1 -1
  79. package/dist/actions/delete-group.d.mts +3 -3
  80. package/dist/actions/delete-group.d.mts.map +1 -1
  81. package/dist/actions/delete-group.mjs +1 -0
  82. package/dist/actions/delete-group.mjs.map +1 -1
  83. package/dist/actions/get-categories.cjs +1 -0
  84. package/dist/actions/get-categories.cjs.map +1 -1
  85. package/dist/actions/get-categories.d.cts +3 -1
  86. package/dist/actions/get-categories.d.cts.map +1 -1
  87. package/dist/actions/get-categories.d.mts +3 -1
  88. package/dist/actions/get-categories.d.mts.map +1 -1
  89. package/dist/actions/get-categories.mjs +1 -0
  90. package/dist/actions/get-categories.mjs.map +1 -1
  91. package/dist/actions/get-comments.cjs +1 -0
  92. package/dist/actions/get-comments.cjs.map +1 -1
  93. package/dist/actions/get-comments.d.cts +3 -3
  94. package/dist/actions/get-comments.d.cts.map +1 -1
  95. package/dist/actions/get-comments.d.mts +3 -3
  96. package/dist/actions/get-comments.d.mts.map +1 -1
  97. package/dist/actions/get-comments.mjs +1 -0
  98. package/dist/actions/get-comments.mjs.map +1 -1
  99. package/dist/actions/get-currencies.cjs +1 -0
  100. package/dist/actions/get-currencies.cjs.map +1 -1
  101. package/dist/actions/get-currencies.d.cts +3 -1
  102. package/dist/actions/get-currencies.d.cts.map +1 -1
  103. package/dist/actions/get-currencies.d.mts +3 -1
  104. package/dist/actions/get-currencies.d.mts.map +1 -1
  105. package/dist/actions/get-currencies.mjs +1 -0
  106. package/dist/actions/get-currencies.mjs.map +1 -1
  107. package/dist/actions/get-current-user.cjs +1 -0
  108. package/dist/actions/get-current-user.cjs.map +1 -1
  109. package/dist/actions/get-current-user.d.cts +3 -1
  110. package/dist/actions/get-current-user.d.cts.map +1 -1
  111. package/dist/actions/get-current-user.d.mts +3 -1
  112. package/dist/actions/get-current-user.d.mts.map +1 -1
  113. package/dist/actions/get-current-user.mjs +1 -0
  114. package/dist/actions/get-current-user.mjs.map +1 -1
  115. package/dist/actions/get-expense.cjs +1 -0
  116. package/dist/actions/get-expense.cjs.map +1 -1
  117. package/dist/actions/get-expense.d.cts +3 -3
  118. package/dist/actions/get-expense.d.cts.map +1 -1
  119. package/dist/actions/get-expense.d.mts +3 -3
  120. package/dist/actions/get-expense.d.mts.map +1 -1
  121. package/dist/actions/get-expense.mjs +1 -0
  122. package/dist/actions/get-expense.mjs.map +1 -1
  123. package/dist/actions/get-expenses.cjs +1 -0
  124. package/dist/actions/get-expenses.cjs.map +1 -1
  125. package/dist/actions/get-expenses.d.cts +3 -11
  126. package/dist/actions/get-expenses.d.cts.map +1 -1
  127. package/dist/actions/get-expenses.d.mts +3 -11
  128. package/dist/actions/get-expenses.d.mts.map +1 -1
  129. package/dist/actions/get-expenses.mjs +1 -0
  130. package/dist/actions/get-expenses.mjs.map +1 -1
  131. package/dist/actions/get-friend.cjs +1 -0
  132. package/dist/actions/get-friend.cjs.map +1 -1
  133. package/dist/actions/get-friend.d.cts +3 -3
  134. package/dist/actions/get-friend.d.cts.map +1 -1
  135. package/dist/actions/get-friend.d.mts +3 -3
  136. package/dist/actions/get-friend.d.mts.map +1 -1
  137. package/dist/actions/get-friend.mjs +1 -0
  138. package/dist/actions/get-friend.mjs.map +1 -1
  139. package/dist/actions/get-friends.cjs +1 -0
  140. package/dist/actions/get-friends.cjs.map +1 -1
  141. package/dist/actions/get-friends.d.cts +3 -1
  142. package/dist/actions/get-friends.d.cts.map +1 -1
  143. package/dist/actions/get-friends.d.mts +3 -1
  144. package/dist/actions/get-friends.d.mts.map +1 -1
  145. package/dist/actions/get-friends.mjs +1 -0
  146. package/dist/actions/get-friends.mjs.map +1 -1
  147. package/dist/actions/get-group.cjs +1 -0
  148. package/dist/actions/get-group.cjs.map +1 -1
  149. package/dist/actions/get-group.d.cts +3 -3
  150. package/dist/actions/get-group.d.cts.map +1 -1
  151. package/dist/actions/get-group.d.mts +3 -3
  152. package/dist/actions/get-group.d.mts.map +1 -1
  153. package/dist/actions/get-group.mjs +1 -0
  154. package/dist/actions/get-group.mjs.map +1 -1
  155. package/dist/actions/get-groups.cjs +1 -0
  156. package/dist/actions/get-groups.cjs.map +1 -1
  157. package/dist/actions/get-groups.d.cts +3 -1
  158. package/dist/actions/get-groups.d.cts.map +1 -1
  159. package/dist/actions/get-groups.d.mts +3 -1
  160. package/dist/actions/get-groups.d.mts.map +1 -1
  161. package/dist/actions/get-groups.mjs +1 -0
  162. package/dist/actions/get-groups.mjs.map +1 -1
  163. package/dist/actions/get-notifications.cjs +1 -0
  164. package/dist/actions/get-notifications.cjs.map +1 -1
  165. package/dist/actions/get-notifications.d.cts +3 -4
  166. package/dist/actions/get-notifications.d.cts.map +1 -1
  167. package/dist/actions/get-notifications.d.mts +3 -4
  168. package/dist/actions/get-notifications.d.mts.map +1 -1
  169. package/dist/actions/get-notifications.mjs +1 -0
  170. package/dist/actions/get-notifications.mjs.map +1 -1
  171. package/dist/actions/get-user.cjs +1 -0
  172. package/dist/actions/get-user.cjs.map +1 -1
  173. package/dist/actions/get-user.d.cts +3 -3
  174. package/dist/actions/get-user.d.cts.map +1 -1
  175. package/dist/actions/get-user.d.mts +3 -3
  176. package/dist/actions/get-user.d.mts.map +1 -1
  177. package/dist/actions/get-user.mjs +1 -0
  178. package/dist/actions/get-user.mjs.map +1 -1
  179. package/dist/actions/remove-user-from-group.cjs +1 -0
  180. package/dist/actions/remove-user-from-group.cjs.map +1 -1
  181. package/dist/actions/remove-user-from-group.d.cts +3 -4
  182. package/dist/actions/remove-user-from-group.d.cts.map +1 -1
  183. package/dist/actions/remove-user-from-group.d.mts +3 -4
  184. package/dist/actions/remove-user-from-group.d.mts.map +1 -1
  185. package/dist/actions/remove-user-from-group.mjs +1 -0
  186. package/dist/actions/remove-user-from-group.mjs.map +1 -1
  187. package/dist/actions/undelete-expense.cjs +1 -0
  188. package/dist/actions/undelete-expense.cjs.map +1 -1
  189. package/dist/actions/undelete-expense.d.cts +3 -3
  190. package/dist/actions/undelete-expense.d.cts.map +1 -1
  191. package/dist/actions/undelete-expense.d.mts +3 -3
  192. package/dist/actions/undelete-expense.d.mts.map +1 -1
  193. package/dist/actions/undelete-expense.mjs +1 -0
  194. package/dist/actions/undelete-expense.mjs.map +1 -1
  195. package/dist/actions/undelete-group.cjs +1 -0
  196. package/dist/actions/undelete-group.cjs.map +1 -1
  197. package/dist/actions/undelete-group.d.cts +3 -3
  198. package/dist/actions/undelete-group.d.cts.map +1 -1
  199. package/dist/actions/undelete-group.d.mts +3 -3
  200. package/dist/actions/undelete-group.d.mts.map +1 -1
  201. package/dist/actions/undelete-group.mjs +1 -0
  202. package/dist/actions/undelete-group.mjs.map +1 -1
  203. package/dist/actions/update-expense.cjs +1 -0
  204. package/dist/actions/update-expense.cjs.map +1 -1
  205. package/dist/actions/update-expense.d.cts +3 -20
  206. package/dist/actions/update-expense.d.cts.map +1 -1
  207. package/dist/actions/update-expense.d.mts +3 -20
  208. package/dist/actions/update-expense.d.mts.map +1 -1
  209. package/dist/actions/update-expense.mjs +1 -0
  210. package/dist/actions/update-expense.mjs.map +1 -1
  211. package/dist/actions/update-user.cjs +1 -0
  212. package/dist/actions/update-user.cjs.map +1 -1
  213. package/dist/actions/update-user.d.cts +3 -9
  214. package/dist/actions/update-user.d.cts.map +1 -1
  215. package/dist/actions/update-user.d.mts +3 -9
  216. package/dist/actions/update-user.d.mts.map +1 -1
  217. package/dist/actions/update-user.mjs +1 -0
  218. package/dist/actions/update-user.mjs.map +1 -1
  219. package/dist/app.cjs +5 -2
  220. package/dist/app.cjs.map +1 -1
  221. package/dist/app.d.cts +7 -1
  222. package/dist/app.d.cts.map +1 -1
  223. package/dist/app.d.mts +7 -1
  224. package/dist/app.d.mts.map +1 -1
  225. package/dist/app.mjs +3 -2
  226. package/dist/app.mjs.map +1 -1
  227. package/dist/index.d.cts +1 -1
  228. package/dist/index.d.mts +1 -1
  229. package/package.json +2 -2
@@ -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-friend.ts
@@ -1 +1 @@
1
- {"version":3,"file":"delete-friend.cjs","names":["z","action"],"sources":["../../src/actions/delete-friend.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SplitwiseDeleteFriendInput = z.object({\n friend_id: z.number().int().describe(\"The unique identifier of the friend to delete.\"),\n}).describe(\"Request model for deleting a friend relationship.\");\nexport const SplitwiseDeleteFriendOutput = z.object({\n errors: z.array(z.string()).describe(\"List of error messages if the deletion failed.\").nullable().optional(),\n success: z.boolean().describe(\"Indicates whether the deletion was successful.\").nullable(),\n}).passthrough().describe(\"Response model for the DeleteFriend action.\");\n\nexport const splitwiseDeleteFriend = action(\"SPLITWISE_DELETE_FRIEND\", {\n slug: \"splitwise-delete-friend\",\n name: \"Delete Friend\",\n description: \"Tool to delete an existing friend by ID. Use when you need to remove a friend relationship by its user ID. Call after confirming the correct friend ID.\",\n input: SplitwiseDeleteFriendInput,\n output: SplitwiseDeleteFriendOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,EACjD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,EACvF,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;AAC3F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AAEvE,MAAa,wBAAwBC,eAAAA,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"delete-friend.cjs","names":["z","action"],"sources":["../../src/actions/delete-friend.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { splitwise } from \"../app\";\n\nexport const SplitwiseDeleteFriendInput = z.object({\n friend_id: z.number().int().describe(\"The unique identifier of the friend to delete.\"),\n}).describe(\"Request model for deleting a friend relationship.\");\nexport const SplitwiseDeleteFriendOutput = z.object({\n errors: z.array(z.string()).describe(\"List of error messages if the deletion failed.\").nullable().optional(),\n success: z.boolean().describe(\"Indicates whether the deletion was successful.\").nullable(),\n}).passthrough().describe(\"Response model for the DeleteFriend action.\");\n\nexport const splitwiseDeleteFriend: AppAction<\n typeof SplitwiseDeleteFriendInput,\n typeof SplitwiseDeleteFriendOutput,\n typeof splitwise.credential\n> = action(\"SPLITWISE_DELETE_FRIEND\", {\n slug: \"splitwise-delete-friend\",\n name: \"Delete Friend\",\n description: \"Tool to delete an existing friend by ID. Use when you need to remove a friend relationship by its user ID. Call after confirming the correct friend ID.\",\n input: SplitwiseDeleteFriendInput,\n output: SplitwiseDeleteFriendOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,EACjD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,EACvF,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;AAC3F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AAEvE,MAAa,wBAITC,eAAAA,OAAO,2BAA2B;CACpC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { splitwise } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/delete-friend.d.ts
@@ -8,9 +10,7 @@ declare const SplitwiseDeleteFriendOutput: z.ZodObject<{
8
10
  errors: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
9
11
  success: z.ZodNullable<z.ZodBoolean>;
10
12
  }, z.core.$loose>;
11
- declare const splitwiseDeleteFriend: import("@keystrokehq/action").WorkflowActionDefinition<{
12
- friend_id: number;
13
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
13
+ declare const splitwiseDeleteFriend: AppAction<typeof SplitwiseDeleteFriendInput, typeof SplitwiseDeleteFriendOutput, typeof splitwise.credential>;
14
14
  //#endregion
15
15
  export { splitwiseDeleteFriend };
16
16
  //# sourceMappingURL=delete-friend.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"delete-friend.d.cts","names":[],"sources":["../../src/actions/delete-friend.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;cAG1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;cAK3B,qBAAA,gCAAqB,wBAAA"}
1
+ {"version":3,"file":"delete-friend.d.cts","names":[],"sources":["../../src/actions/delete-friend.ts"],"mappings":";;;;;cAMa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;cAG1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;cAK3B,qBAAA,EAAuB,SAAA,QAC3B,0BAAA,SACA,2BAAA,SACA,SAAA,CAAU,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { splitwise } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/delete-friend.d.ts
@@ -8,9 +10,7 @@ declare const SplitwiseDeleteFriendOutput: z.ZodObject<{
8
10
  errors: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
9
11
  success: z.ZodNullable<z.ZodBoolean>;
10
12
  }, z.core.$loose>;
11
- declare const splitwiseDeleteFriend: import("@keystrokehq/action").WorkflowActionDefinition<{
12
- friend_id: number;
13
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
13
+ declare const splitwiseDeleteFriend: AppAction<typeof SplitwiseDeleteFriendInput, typeof SplitwiseDeleteFriendOutput, typeof splitwise.credential>;
14
14
  //#endregion
15
15
  export { splitwiseDeleteFriend };
16
16
  //# sourceMappingURL=delete-friend.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"delete-friend.d.mts","names":[],"sources":["../../src/actions/delete-friend.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;cAG1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;cAK3B,qBAAA,gCAAqB,wBAAA"}
1
+ {"version":3,"file":"delete-friend.d.mts","names":[],"sources":["../../src/actions/delete-friend.ts"],"mappings":";;;;;cAMa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;cAG1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;cAK3B,qBAAA,EAAuB,SAAA,QAC3B,0BAAA,SACA,2BAAA,SACA,SAAA,CAAU,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const splitwiseDeleteFriend = action("SPLITWISE_DELETE_FRIEND", {
@@ -1 +1 @@
1
- {"version":3,"file":"delete-friend.mjs","names":[],"sources":["../../src/actions/delete-friend.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SplitwiseDeleteFriendInput = z.object({\n friend_id: z.number().int().describe(\"The unique identifier of the friend to delete.\"),\n}).describe(\"Request model for deleting a friend relationship.\");\nexport const SplitwiseDeleteFriendOutput = z.object({\n errors: z.array(z.string()).describe(\"List of error messages if the deletion failed.\").nullable().optional(),\n success: z.boolean().describe(\"Indicates whether the deletion was successful.\").nullable(),\n}).passthrough().describe(\"Response model for the DeleteFriend action.\");\n\nexport const splitwiseDeleteFriend = action(\"SPLITWISE_DELETE_FRIEND\", {\n slug: \"splitwise-delete-friend\",\n name: \"Delete Friend\",\n description: \"Tool to delete an existing friend by ID. Use when you need to remove a friend relationship by its user ID. Call after confirming the correct friend ID.\",\n input: SplitwiseDeleteFriendInput,\n output: SplitwiseDeleteFriendOutput,\n});\n"],"mappings":";;AAYA,MAAa,wBAAwB,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZwC,EAAE,OAAO,EACjD,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,EACvF,CAAC,CAAC,CAAC,SAAS,mDAUH;CACP,QAVyC,EAAE,OAAO;EAClD,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3G,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CAC3F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"delete-friend.mjs","names":[],"sources":["../../src/actions/delete-friend.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { splitwise } from \"../app\";\n\nexport const SplitwiseDeleteFriendInput = z.object({\n friend_id: z.number().int().describe(\"The unique identifier of the friend to delete.\"),\n}).describe(\"Request model for deleting a friend relationship.\");\nexport const SplitwiseDeleteFriendOutput = z.object({\n errors: z.array(z.string()).describe(\"List of error messages if the deletion failed.\").nullable().optional(),\n success: z.boolean().describe(\"Indicates whether the deletion was successful.\").nullable(),\n}).passthrough().describe(\"Response model for the DeleteFriend action.\");\n\nexport const splitwiseDeleteFriend: AppAction<\n typeof SplitwiseDeleteFriendInput,\n typeof SplitwiseDeleteFriendOutput,\n typeof splitwise.credential\n> = action(\"SPLITWISE_DELETE_FRIEND\", {\n slug: \"splitwise-delete-friend\",\n name: \"Delete Friend\",\n description: \"Tool to delete an existing friend by ID. Use when you need to remove a friend relationship by its user ID. Call after confirming the correct friend ID.\",\n input: SplitwiseDeleteFriendInput,\n output: SplitwiseDeleteFriendOutput,\n});\n"],"mappings":";;;AAcA,MAAa,wBAIT,OAAO,2BAA2B;CACpC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhBwC,EAAE,OAAO,EACjD,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,EACvF,CAAC,CAAC,CAAC,SAAS,mDAcH;CACP,QAdyC,EAAE,OAAO;EAClD,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3G,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CAC3F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAWhB;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-group.ts
@@ -1 +1 @@
1
- {"version":3,"file":"delete-group.cjs","names":["z","action"],"sources":["../../src/actions/delete-group.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SplitwiseDeleteGroupInput = z.object({\n id: z.number().int().describe(\"The unique identifier of the group to delete.\"),\n}).describe(\"Request model for deleting a group.\");\nexport const SplitwiseDeleteGroupOutput = z.object({\n errors: z.array(z.string()).describe(\"List of error messages if the deletion failed.\").nullable().optional(),\n success: z.boolean().describe(\"Indicates whether the deletion was successful.\").nullable(),\n}).passthrough().describe(\"Response model for the DeleteGroup action.\");\n\nexport const splitwiseDeleteGroup = action(\"SPLITWISE_DELETE_GROUP\", {\n slug: \"splitwise-delete-group\",\n name: \"Delete Group\",\n description: \"Tool to delete a group and all associated records by its ID. Use when you need to permanently remove a group and its expenses. Call after confirming the correct group ID.\",\n input: SplitwiseDeleteGroupInput,\n output: SplitwiseDeleteGroupOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,EAChD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,EAC/E,CAAC,CAAC,CAAC,SAAS,qCAAqC;AACjD,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;AAC3F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AAEtE,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"delete-group.cjs","names":["z","action"],"sources":["../../src/actions/delete-group.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { splitwise } from \"../app\";\n\nexport const SplitwiseDeleteGroupInput = z.object({\n id: z.number().int().describe(\"The unique identifier of the group to delete.\"),\n}).describe(\"Request model for deleting a group.\");\nexport const SplitwiseDeleteGroupOutput = z.object({\n errors: z.array(z.string()).describe(\"List of error messages if the deletion failed.\").nullable().optional(),\n success: z.boolean().describe(\"Indicates whether the deletion was successful.\").nullable(),\n}).passthrough().describe(\"Response model for the DeleteGroup action.\");\n\nexport const splitwiseDeleteGroup: AppAction<\n typeof SplitwiseDeleteGroupInput,\n typeof SplitwiseDeleteGroupOutput,\n typeof splitwise.credential\n> = action(\"SPLITWISE_DELETE_GROUP\", {\n slug: \"splitwise-delete-group\",\n name: \"Delete Group\",\n description: \"Tool to delete a group and all associated records by its ID. Use when you need to permanently remove a group and its expenses. Call after confirming the correct group ID.\",\n input: SplitwiseDeleteGroupInput,\n output: SplitwiseDeleteGroupOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,EAChD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,EAC/E,CAAC,CAAC,CAAC,SAAS,qCAAqC;AACjD,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;AAC3F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AAEtE,MAAa,uBAITC,eAAAA,OAAO,0BAA0B;CACnC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { splitwise } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/delete-group.d.ts
@@ -8,9 +10,7 @@ declare const SplitwiseDeleteGroupOutput: z.ZodObject<{
8
10
  errors: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
9
11
  success: z.ZodNullable<z.ZodBoolean>;
10
12
  }, z.core.$loose>;
11
- declare const splitwiseDeleteGroup: import("@keystrokehq/action").WorkflowActionDefinition<{
12
- id: number;
13
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
13
+ declare const splitwiseDeleteGroup: AppAction<typeof SplitwiseDeleteGroupInput, typeof SplitwiseDeleteGroupOutput, typeof splitwise.credential>;
14
14
  //#endregion
15
15
  export { splitwiseDeleteGroup };
16
16
  //# sourceMappingURL=delete-group.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"delete-group.d.cts","names":[],"sources":["../../src/actions/delete-group.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;cAGzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;cAK1B,oBAAA,gCAAoB,wBAAA"}
1
+ {"version":3,"file":"delete-group.d.cts","names":[],"sources":["../../src/actions/delete-group.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;cAGzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;cAK1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,SACA,SAAA,CAAU,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { splitwise } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/delete-group.d.ts
@@ -8,9 +10,7 @@ declare const SplitwiseDeleteGroupOutput: z.ZodObject<{
8
10
  errors: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
9
11
  success: z.ZodNullable<z.ZodBoolean>;
10
12
  }, z.core.$loose>;
11
- declare const splitwiseDeleteGroup: import("@keystrokehq/action").WorkflowActionDefinition<{
12
- id: number;
13
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
13
+ declare const splitwiseDeleteGroup: AppAction<typeof SplitwiseDeleteGroupInput, typeof SplitwiseDeleteGroupOutput, typeof splitwise.credential>;
14
14
  //#endregion
15
15
  export { splitwiseDeleteGroup };
16
16
  //# sourceMappingURL=delete-group.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"delete-group.d.mts","names":[],"sources":["../../src/actions/delete-group.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;cAGzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;cAK1B,oBAAA,gCAAoB,wBAAA"}
1
+ {"version":3,"file":"delete-group.d.mts","names":[],"sources":["../../src/actions/delete-group.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;cAGzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;cAK1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,SACA,SAAA,CAAU,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const splitwiseDeleteGroup = action("SPLITWISE_DELETE_GROUP", {
@@ -1 +1 @@
1
- {"version":3,"file":"delete-group.mjs","names":[],"sources":["../../src/actions/delete-group.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SplitwiseDeleteGroupInput = z.object({\n id: z.number().int().describe(\"The unique identifier of the group to delete.\"),\n}).describe(\"Request model for deleting a group.\");\nexport const SplitwiseDeleteGroupOutput = z.object({\n errors: z.array(z.string()).describe(\"List of error messages if the deletion failed.\").nullable().optional(),\n success: z.boolean().describe(\"Indicates whether the deletion was successful.\").nullable(),\n}).passthrough().describe(\"Response model for the DeleteGroup action.\");\n\nexport const splitwiseDeleteGroup = action(\"SPLITWISE_DELETE_GROUP\", {\n slug: \"splitwise-delete-group\",\n name: \"Delete Group\",\n description: \"Tool to delete a group and all associated records by its ID. Use when you need to permanently remove a group and its expenses. Call after confirming the correct group ID.\",\n input: SplitwiseDeleteGroupInput,\n output: SplitwiseDeleteGroupOutput,\n});\n"],"mappings":";;AAYA,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZuC,EAAE,OAAO,EAChD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,EAC/E,CAAC,CAAC,CAAC,SAAS,qCAUH;CACP,QAVwC,EAAE,OAAO;EACjD,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3G,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CAC3F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"delete-group.mjs","names":[],"sources":["../../src/actions/delete-group.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { splitwise } from \"../app\";\n\nexport const SplitwiseDeleteGroupInput = z.object({\n id: z.number().int().describe(\"The unique identifier of the group to delete.\"),\n}).describe(\"Request model for deleting a group.\");\nexport const SplitwiseDeleteGroupOutput = z.object({\n errors: z.array(z.string()).describe(\"List of error messages if the deletion failed.\").nullable().optional(),\n success: z.boolean().describe(\"Indicates whether the deletion was successful.\").nullable(),\n}).passthrough().describe(\"Response model for the DeleteGroup action.\");\n\nexport const splitwiseDeleteGroup: AppAction<\n typeof SplitwiseDeleteGroupInput,\n typeof SplitwiseDeleteGroupOutput,\n typeof splitwise.credential\n> = action(\"SPLITWISE_DELETE_GROUP\", {\n slug: \"splitwise-delete-group\",\n name: \"Delete Group\",\n description: \"Tool to delete a group and all associated records by its ID. Use when you need to permanently remove a group and its expenses. Call after confirming the correct group ID.\",\n input: SplitwiseDeleteGroupInput,\n output: SplitwiseDeleteGroupOutput,\n});\n"],"mappings":";;;AAcA,MAAa,uBAIT,OAAO,0BAA0B;CACnC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhBuC,EAAE,OAAO,EAChD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,EAC/E,CAAC,CAAC,CAAC,SAAS,qCAcH;CACP,QAdwC,EAAE,OAAO;EACjD,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3G,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CAC3F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAWhB;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-categories.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-categories.cjs","names":["z","action"],"sources":["../../src/actions/get-categories.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SplitwiseGetCategoriesInput = z.object({}).describe(\"Request model for fetching expense categories. No parameters required.\");\nconst SplitwiseGetCategories_SubcategorySchema = z.object({\n id: z.number().int().describe(\"Unique ID of the subcategory\").nullable(),\n name: z.string().describe(\"Name of the subcategory\").nullable(),\n}).passthrough().describe(\"Represents a subcategory under a main expense category.\");\nconst SplitwiseGetCategories_CategorySchema = z.object({\n id: z.number().int().describe(\"Unique ID of the category\").nullable(),\n name: z.string().describe(\"Name of the category\").nullable(),\n subcategories: z.array(SplitwiseGetCategories_SubcategorySchema).describe(\"List of subcategories belonging to this category\"),\n}).passthrough().describe(\"Represents a main expense category.\");\nexport const SplitwiseGetCategoriesOutput = z.object({\n categories: z.array(SplitwiseGetCategories_CategorySchema).describe(\"List of expense categories and their subcategories\"),\n}).passthrough().describe(\"Response model for the get_categories action.\");\n\nexport const splitwiseGetCategories = action(\"SPLITWISE_GET_CATEGORIES\", {\n slug: \"splitwise-get-categories\",\n name: \"Get Categories\",\n description: \"Tool to retrieve expense categories. Use when you need to list available categories before creating an expense.\",\n input: SplitwiseGetCategoriesInput,\n output: SplitwiseGetCategoriesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,wEAAwE;AACzI,MAAM,2CAA2CA,IAAAA,EAAE,OAAO;CACxD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACvE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;AAChE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yDAAyD;AACnF,MAAM,wCAAwCA,IAAAA,EAAE,OAAO;CACrD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CACpE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CAC3D,eAAeA,IAAAA,EAAE,MAAM,wCAAwC,CAAC,CAAC,SAAS,kDAAkD;AAC9H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qCAAqC;AAC/D,MAAa,+BAA+BA,IAAAA,EAAE,OAAO,EACnD,YAAYA,IAAAA,EAAE,MAAM,qCAAqC,CAAC,CAAC,SAAS,oDAAoD,EAC1H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAA+C;AAEzE,MAAa,yBAAyBC,eAAAA,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-categories.cjs","names":["z","action"],"sources":["../../src/actions/get-categories.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { splitwise } from \"../app\";\n\nexport const SplitwiseGetCategoriesInput = z.object({}).describe(\"Request model for fetching expense categories. No parameters required.\");\nconst SplitwiseGetCategories_SubcategorySchema = z.object({\n id: z.number().int().describe(\"Unique ID of the subcategory\").nullable(),\n name: z.string().describe(\"Name of the subcategory\").nullable(),\n}).passthrough().describe(\"Represents a subcategory under a main expense category.\");\nconst SplitwiseGetCategories_CategorySchema = z.object({\n id: z.number().int().describe(\"Unique ID of the category\").nullable(),\n name: z.string().describe(\"Name of the category\").nullable(),\n subcategories: z.array(SplitwiseGetCategories_SubcategorySchema).describe(\"List of subcategories belonging to this category\"),\n}).passthrough().describe(\"Represents a main expense category.\");\nexport const SplitwiseGetCategoriesOutput = z.object({\n categories: z.array(SplitwiseGetCategories_CategorySchema).describe(\"List of expense categories and their subcategories\"),\n}).passthrough().describe(\"Response model for the get_categories action.\");\n\nexport const splitwiseGetCategories: AppAction<\n typeof SplitwiseGetCategoriesInput,\n typeof SplitwiseGetCategoriesOutput,\n typeof splitwise.credential\n> = action(\"SPLITWISE_GET_CATEGORIES\", {\n slug: \"splitwise-get-categories\",\n name: \"Get Categories\",\n description: \"Tool to retrieve expense categories. Use when you need to list available categories before creating an expense.\",\n input: SplitwiseGetCategoriesInput,\n output: SplitwiseGetCategoriesOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,wEAAwE;AACzI,MAAM,2CAA2CA,IAAAA,EAAE,OAAO;CACxD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACvE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;AAChE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yDAAyD;AACnF,MAAM,wCAAwCA,IAAAA,EAAE,OAAO;CACrD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CACpE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CAC3D,eAAeA,IAAAA,EAAE,MAAM,wCAAwC,CAAC,CAAC,SAAS,kDAAkD;AAC9H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qCAAqC;AAC/D,MAAa,+BAA+BA,IAAAA,EAAE,OAAO,EACnD,YAAYA,IAAAA,EAAE,MAAM,qCAAqC,CAAC,CAAC,SAAS,oDAAoD,EAC1H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAA+C;AAEzE,MAAa,yBAITC,eAAAA,OAAO,4BAA4B;CACrC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { splitwise } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-categories.d.ts
@@ -12,7 +14,7 @@ declare const SplitwiseGetCategoriesOutput: z.ZodObject<{
12
14
  }, z.core.$loose>>;
13
15
  }, z.core.$loose>>;
14
16
  }, z.core.$loose>;
15
- declare const splitwiseGetCategories: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
17
+ declare const splitwiseGetCategories: AppAction<typeof SplitwiseGetCategoriesInput, typeof SplitwiseGetCategoriesOutput, typeof splitwise.credential>;
16
18
  //#endregion
17
19
  export { splitwiseGetCategories };
18
20
  //# sourceMappingURL=get-categories.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-categories.d.cts","names":[],"sources":["../../src/actions/get-categories.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAU3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;cAI5B,sBAAA,gCAAsB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-categories.d.cts","names":[],"sources":["../../src/actions/get-categories.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAU3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;cAI5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,SACA,SAAA,CAAU,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { splitwise } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-categories.d.ts
@@ -12,7 +14,7 @@ declare const SplitwiseGetCategoriesOutput: z.ZodObject<{
12
14
  }, z.core.$loose>>;
13
15
  }, z.core.$loose>>;
14
16
  }, z.core.$loose>;
15
- declare const splitwiseGetCategories: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
17
+ declare const splitwiseGetCategories: AppAction<typeof SplitwiseGetCategoriesInput, typeof SplitwiseGetCategoriesOutput, typeof splitwise.credential>;
16
18
  //#endregion
17
19
  export { splitwiseGetCategories };
18
20
  //# sourceMappingURL=get-categories.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-categories.d.mts","names":[],"sources":["../../src/actions/get-categories.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAU3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;cAI5B,sBAAA,gCAAsB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-categories.d.mts","names":[],"sources":["../../src/actions/get-categories.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAU3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;cAI5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,SACA,SAAA,CAAU,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-categories.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-categories.mjs","names":[],"sources":["../../src/actions/get-categories.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SplitwiseGetCategoriesInput = z.object({}).describe(\"Request model for fetching expense categories. No parameters required.\");\nconst SplitwiseGetCategories_SubcategorySchema = z.object({\n id: z.number().int().describe(\"Unique ID of the subcategory\").nullable(),\n name: z.string().describe(\"Name of the subcategory\").nullable(),\n}).passthrough().describe(\"Represents a subcategory under a main expense category.\");\nconst SplitwiseGetCategories_CategorySchema = z.object({\n id: z.number().int().describe(\"Unique ID of the category\").nullable(),\n name: z.string().describe(\"Name of the category\").nullable(),\n subcategories: z.array(SplitwiseGetCategories_SubcategorySchema).describe(\"List of subcategories belonging to this category\"),\n}).passthrough().describe(\"Represents a main expense category.\");\nexport const SplitwiseGetCategoriesOutput = z.object({\n categories: z.array(SplitwiseGetCategories_CategorySchema).describe(\"List of expense categories and their subcategories\"),\n}).passthrough().describe(\"Response model for the get_categories action.\");\n\nexport const splitwiseGetCategories = action(\"SPLITWISE_GET_CATEGORIES\", {\n slug: \"splitwise-get-categories\",\n name: \"Get Categories\",\n description: \"Tool to retrieve expense categories. Use when you need to list available categories before creating an expense.\",\n input: SplitwiseGetCategoriesInput,\n output: SplitwiseGetCategoriesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8B,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,wEAAwE;AACzI,MAAM,2CAA2C,EAAE,OAAO;CACxD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACvE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;AAChE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yDAAyD;AACnF,MAAM,wCAAwC,EAAE,OAAO;CACrD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CACpE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CAC3D,eAAe,EAAE,MAAM,wCAAwC,CAAC,CAAC,SAAS,kDAAkD;AAC9H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qCAAqC;AAK/D,MAAa,yBAAyB,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT0C,EAAE,OAAO,EACnD,YAAY,EAAE,MAAM,qCAAqC,CAAC,CAAC,SAAS,oDAAoD,EAC1H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"get-categories.mjs","names":[],"sources":["../../src/actions/get-categories.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { splitwise } from \"../app\";\n\nexport const SplitwiseGetCategoriesInput = z.object({}).describe(\"Request model for fetching expense categories. No parameters required.\");\nconst SplitwiseGetCategories_SubcategorySchema = z.object({\n id: z.number().int().describe(\"Unique ID of the subcategory\").nullable(),\n name: z.string().describe(\"Name of the subcategory\").nullable(),\n}).passthrough().describe(\"Represents a subcategory under a main expense category.\");\nconst SplitwiseGetCategories_CategorySchema = z.object({\n id: z.number().int().describe(\"Unique ID of the category\").nullable(),\n name: z.string().describe(\"Name of the category\").nullable(),\n subcategories: z.array(SplitwiseGetCategories_SubcategorySchema).describe(\"List of subcategories belonging to this category\"),\n}).passthrough().describe(\"Represents a main expense category.\");\nexport const SplitwiseGetCategoriesOutput = z.object({\n categories: z.array(SplitwiseGetCategories_CategorySchema).describe(\"List of expense categories and their subcategories\"),\n}).passthrough().describe(\"Response model for the get_categories action.\");\n\nexport const splitwiseGetCategories: AppAction<\n typeof SplitwiseGetCategoriesInput,\n typeof SplitwiseGetCategoriesOutput,\n typeof splitwise.credential\n> = action(\"SPLITWISE_GET_CATEGORIES\", {\n slug: \"splitwise-get-categories\",\n name: \"Get Categories\",\n description: \"Tool to retrieve expense categories. Use when you need to list available categories before creating an expense.\",\n input: SplitwiseGetCategoriesInput,\n output: SplitwiseGetCategoriesOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,8BAA8B,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,wEAAwE;AACzI,MAAM,2CAA2C,EAAE,OAAO;CACxD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACvE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;AAChE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yDAAyD;AACnF,MAAM,wCAAwC,EAAE,OAAO;CACrD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CACpE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CAC3D,eAAe,EAAE,MAAM,wCAAwC,CAAC,CAAC,SAAS,kDAAkD;AAC9H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qCAAqC;AAK/D,MAAa,yBAIT,OAAO,4BAA4B;CACrC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAb0C,EAAE,OAAO,EACnD,YAAY,EAAE,MAAM,qCAAqC,CAAC,CAAC,SAAS,oDAAoD,EAC1H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAWhB;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-comments.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-comments.cjs","names":["z","action"],"sources":["../../src/actions/get-comments.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SplitwiseGetCommentsInput = z.object({\n expense_id: z.number().int().describe(\"The ID of the expense for which to retrieve comments.\"),\n}).describe(\"Request model for retrieving expense comments.\");\nconst SplitwiseGetComments_PictureSchema = z.object({\n large: z.string().describe(\"URL for large-sized profile picture.\").nullable().optional(),\n small: z.string().describe(\"URL for small-sized profile picture.\").nullable().optional(),\n medium: z.string().describe(\"URL for medium-sized profile picture.\").nullable().optional(),\n}).passthrough().describe(\"URLs for user profile pictures in different sizes.\");\nconst SplitwiseGetComments_UserObjectSchema = z.object({\n id: z.number().int().describe(\"User ID.\").nullable(),\n email: z.string().describe(\"User's email address.\").nullable().optional(),\n picture: SplitwiseGetComments_PictureSchema.nullable().optional(),\n last_name: z.string().describe(\"User's last name.\").nullable().optional(),\n first_name: z.string().describe(\"User's first name.\").nullable().optional(),\n custom_picture: z.boolean().describe(\"Whether user has custom picture.\").nullable().optional(),\n registration_status: z.string().describe(\"Registration status.\").nullable().optional(),\n}).passthrough().describe(\"Represents a user object in the comment.\");\nconst SplitwiseGetComments_CommentObjectSchema = z.object({\n id: z.number().int().describe(\"Unique comment identifier.\").nullable(),\n user: SplitwiseGetComments_UserObjectSchema.nullable(),\n content: z.string().describe(\"The text content of the comment.\").nullable(),\n created_at: z.string().describe(\"Timestamp when the comment was created.\").nullable(),\n deleted_at: z.string().describe(\"Timestamp when the comment was deleted (null if not deleted).\").nullable().optional(),\n relation_id: z.number().int().describe(\"ID of the subject of the comment (the expense ID).\").nullable(),\n comment_type: z.string().describe(\"Type of comment. Can be 'System' for system-generated comments or 'User' for user-authored messages.\").nullable(),\n relation_type: z.string().describe(\"Subject type of the comment. Typically 'ExpenseComment'.\").nullable(),\n}).passthrough().describe(\"Represents a comment object associated with an expense.\");\nexport const SplitwiseGetCommentsOutput = z.object({\n comments: z.array(SplitwiseGetComments_CommentObjectSchema).describe(\"Array of comment objects associated with the expense.\"),\n}).passthrough().describe(\"Response model for retrieving expense comments.\");\n\nexport const splitwiseGetComments = action(\"SPLITWISE_GET_COMMENTS\", {\n slug: \"splitwise-get-comments\",\n name: \"Get Comments\",\n description: \"Tool to retrieve all comments associated with a specific expense. Use when you need to view comments on an expense, including both system-generated updates and user-authored messages.\",\n input: SplitwiseGetCommentsInput,\n output: SplitwiseGetCommentsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,EAChD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uDAAuD,EAC/F,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAC5D,MAAM,qCAAqCA,IAAAA,EAAE,OAAO;CAClD,OAAOA,IAAAA,E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O,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAC1E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACpF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrH,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CACtG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sGAAsG,CAAC,CAAC,SAAS;CACnJ,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;AAC1G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yDAAyD;AACnF,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,EACjD,UAAUA,IAAAA,EAAE,MAAM,wCAAwC,CAAC,CAAC,SAAS,uDAAuD,EAC9H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAAiD;AAE3E,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-comments.cjs","names":["z","action"],"sources":["../../src/actions/get-comments.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { splitwise } from \"../app\";\n\nexport const SplitwiseGetCommentsInput = z.object({\n expense_id: z.number().int().describe(\"The ID of the expense for which to retrieve comments.\"),\n}).describe(\"Request model for retrieving expense comments.\");\nconst SplitwiseGetComments_PictureSchema = z.object({\n large: z.string().describe(\"URL for large-sized profile picture.\").nullable().optional(),\n small: z.string().describe(\"URL for small-sized profile picture.\").nullable().optional(),\n medium: z.string().describe(\"URL for medium-sized profile picture.\").nullable().optional(),\n}).passthrough().describe(\"URLs for user profile pictures in different sizes.\");\nconst SplitwiseGetComments_UserObjectSchema = z.object({\n id: z.number().int().describe(\"User ID.\").nullable(),\n email: z.string().describe(\"User's email address.\").nullable().optional(),\n picture: SplitwiseGetComments_PictureSchema.nullable().optional(),\n last_name: z.string().describe(\"User's last name.\").nullable().optional(),\n first_name: z.string().describe(\"User's first name.\").nullable().optional(),\n custom_picture: z.boolean().describe(\"Whether user has custom picture.\").nullable().optional(),\n registration_status: z.string().describe(\"Registration status.\").nullable().optional(),\n}).passthrough().describe(\"Represents a user object in the comment.\");\nconst SplitwiseGetComments_CommentObjectSchema = z.object({\n id: z.number().int().describe(\"Unique comment identifier.\").nullable(),\n user: SplitwiseGetComments_UserObjectSchema.nullable(),\n content: z.string().describe(\"The text content of the comment.\").nullable(),\n created_at: z.string().describe(\"Timestamp when the comment was created.\").nullable(),\n deleted_at: z.string().describe(\"Timestamp when the comment was deleted (null if not deleted).\").nullable().optional(),\n relation_id: z.number().int().describe(\"ID of the subject of the comment (the expense ID).\").nullable(),\n comment_type: z.string().describe(\"Type of comment. Can be 'System' for system-generated comments or 'User' for user-authored messages.\").nullable(),\n relation_type: z.string().describe(\"Subject type of the comment. Typically 'ExpenseComment'.\").nullable(),\n}).passthrough().describe(\"Represents a comment object associated with an expense.\");\nexport const SplitwiseGetCommentsOutput = z.object({\n comments: z.array(SplitwiseGetComments_CommentObjectSchema).describe(\"Array of comment objects associated with the expense.\"),\n}).passthrough().describe(\"Response model for retrieving expense comments.\");\n\nexport const splitwiseGetComments: AppAction<\n typeof SplitwiseGetCommentsInput,\n typeof SplitwiseGetCommentsOutput,\n typeof splitwise.credential\n> = action(\"SPLITWISE_GET_COMMENTS\", {\n slug: \"splitwise-get-comments\",\n name: \"Get Comments\",\n description: \"Tool to retrieve all comments associated with a specific expense. Use when you need to view comments on an expense, including both system-generated updates and user-authored messages.\",\n input: SplitwiseGetCommentsInput,\n output: SplitwiseGetCommentsOutput,\n});\n"],"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,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AACpE,MAAM,2CAA2CA,IAAAA,EAAE,OAAO;CACxD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACrE,MAAM,sCAAsC,SAAS;CACrD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAC1E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACpF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrH,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CACtG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sGAAsG,CAAC,CAAC,SAAS;CACnJ,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;AAC1G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yDAAyD;AACnF,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,EACjD,UAAUA,IAAAA,EAAE,MAAM,wCAAwC,CAAC,CAAC,SAAS,uDAAuD,EAC9H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAAiD;AAE3E,MAAa,uBAITC,eAAAA,OAAO,0BAA0B;CACnC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { splitwise } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-comments.d.ts
@@ -28,9 +30,7 @@ declare const SplitwiseGetCommentsOutput: z.ZodObject<{
28
30
  relation_type: z.ZodNullable<z.ZodString>;
29
31
  }, z.core.$loose>>;
30
32
  }, z.core.$loose>;
31
- declare const splitwiseGetComments: import("@keystrokehq/action").WorkflowActionDefinition<{
32
- expense_id: number;
33
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
33
+ declare const splitwiseGetComments: AppAction<typeof SplitwiseGetCommentsInput, typeof SplitwiseGetCommentsOutput, typeof splitwise.credential>;
34
34
  //#endregion
35
35
  export { splitwiseGetComments };
36
36
  //# sourceMappingURL=get-comments.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-comments.d.cts","names":[],"sources":["../../src/actions/get-comments.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;cA2BzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;cAI1B,oBAAA,gCAAoB,wBAAA"}
1
+ {"version":3,"file":"get-comments.d.cts","names":[],"sources":["../../src/actions/get-comments.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;cA2BzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;cAI1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,SACA,SAAA,CAAU,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { splitwise } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-comments.d.ts
@@ -28,9 +30,7 @@ declare const SplitwiseGetCommentsOutput: z.ZodObject<{
28
30
  relation_type: z.ZodNullable<z.ZodString>;
29
31
  }, z.core.$loose>>;
30
32
  }, z.core.$loose>;
31
- declare const splitwiseGetComments: import("@keystrokehq/action").WorkflowActionDefinition<{
32
- expense_id: number;
33
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
33
+ declare const splitwiseGetComments: AppAction<typeof SplitwiseGetCommentsInput, typeof SplitwiseGetCommentsOutput, typeof splitwise.credential>;
34
34
  //#endregion
35
35
  export { splitwiseGetComments };
36
36
  //# sourceMappingURL=get-comments.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-comments.d.mts","names":[],"sources":["../../src/actions/get-comments.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;cA2BzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;cAI1B,oBAAA,gCAAoB,wBAAA"}
1
+ {"version":3,"file":"get-comments.d.mts","names":[],"sources":["../../src/actions/get-comments.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;cA2BzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;cAI1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,SACA,SAAA,CAAU,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-comments.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-comments.mjs","names":[],"sources":["../../src/actions/get-comments.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SplitwiseGetCommentsInput = z.object({\n expense_id: z.number().int().describe(\"The ID of the expense for which to retrieve comments.\"),\n}).describe(\"Request model for retrieving expense comments.\");\nconst SplitwiseGetComments_PictureSchema = z.object({\n large: z.string().describe(\"URL for large-sized profile picture.\").nullable().optional(),\n small: z.string().describe(\"URL for small-sized profile picture.\").nullable().optional(),\n medium: z.string().describe(\"URL for medium-sized profile picture.\").nullable().optional(),\n}).passthrough().describe(\"URLs for user profile pictures in different sizes.\");\nconst SplitwiseGetComments_UserObjectSchema = z.object({\n id: z.number().int().describe(\"User ID.\").nullable(),\n email: z.string().describe(\"User's email address.\").nullable().optional(),\n picture: SplitwiseGetComments_PictureSchema.nullable().optional(),\n last_name: z.string().describe(\"User's last name.\").nullable().optional(),\n first_name: z.string().describe(\"User's first name.\").nullable().optional(),\n custom_picture: z.boolean().describe(\"Whether user has custom picture.\").nullable().optional(),\n registration_status: z.string().describe(\"Registration status.\").nullable().optional(),\n}).passthrough().describe(\"Represents a user object in the comment.\");\nconst SplitwiseGetComments_CommentObjectSchema = z.object({\n id: z.number().int().describe(\"Unique comment identifier.\").nullable(),\n user: SplitwiseGetComments_UserObjectSchema.nullable(),\n content: z.string().describe(\"The text content of the comment.\").nullable(),\n created_at: z.string().describe(\"Timestamp when the comment was created.\").nullable(),\n deleted_at: z.string().describe(\"Timestamp when the comment was deleted (null if not deleted).\").nullable().optional(),\n relation_id: z.number().int().describe(\"ID of the subject of the comment (the expense ID).\").nullable(),\n comment_type: z.string().describe(\"Type of comment. Can be 'System' for system-generated comments or 'User' for user-authored messages.\").nullable(),\n relation_type: z.string().describe(\"Subject type of the comment. Typically 'ExpenseComment'.\").nullable(),\n}).passthrough().describe(\"Represents a comment object associated with an expense.\");\nexport const SplitwiseGetCommentsOutput = z.object({\n comments: z.array(SplitwiseGetComments_CommentObjectSchema).describe(\"Array of comment objects associated with the expense.\"),\n}).passthrough().describe(\"Response model for retrieving expense comments.\");\n\nexport const splitwiseGetComments = action(\"SPLITWISE_GET_COMMENTS\", {\n slug: \"splitwise-get-comments\",\n name: \"Get Comments\",\n description: \"Tool to retrieve all comments associated with a specific expense. Use when you need to view comments on an expense, including both system-generated updates and user-authored messages.\",\n input: SplitwiseGetCommentsInput,\n output: SplitwiseGetCommentsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4B,EAAE,OAAO,EAChD,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uDAAuD,EAC/F,CAAC,CAAC,CAAC,S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C,SAAS;CAC1E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACpF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrH,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CACtG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,sGAAsG,CAAC,CAAC,SAAS;CACnJ,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;AAC1G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yDAAyD;AAKnF,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATwC,EAAE,OAAO,EACjD,UAAU,EAAE,MAAM,wCAAwC,CAAC,CAAC,SAAS,uDAAuD,EAC9H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"get-comments.mjs","names":[],"sources":["../../src/actions/get-comments.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { splitwise } from \"../app\";\n\nexport const SplitwiseGetCommentsInput = z.object({\n expense_id: z.number().int().describe(\"The ID of the expense for which to retrieve comments.\"),\n}).describe(\"Request model for retrieving expense comments.\");\nconst SplitwiseGetComments_PictureSchema = z.object({\n large: z.string().describe(\"URL for large-sized profile picture.\").nullable().optional(),\n small: z.string().describe(\"URL for small-sized profile picture.\").nullable().optional(),\n medium: z.string().describe(\"URL for medium-sized profile picture.\").nullable().optional(),\n}).passthrough().describe(\"URLs for user profile pictures in different sizes.\");\nconst SplitwiseGetComments_UserObjectSchema = z.object({\n id: z.number().int().describe(\"User ID.\").nullable(),\n email: z.string().describe(\"User's email address.\").nullable().optional(),\n picture: SplitwiseGetComments_PictureSchema.nullable().optional(),\n last_name: z.string().describe(\"User's last name.\").nullable().optional(),\n first_name: z.string().describe(\"User's first name.\").nullable().optional(),\n custom_picture: z.boolean().describe(\"Whether user has custom picture.\").nullable().optional(),\n registration_status: z.string().describe(\"Registration status.\").nullable().optional(),\n}).passthrough().describe(\"Represents a user object in the comment.\");\nconst SplitwiseGetComments_CommentObjectSchema = z.object({\n id: z.number().int().describe(\"Unique comment identifier.\").nullable(),\n user: SplitwiseGetComments_UserObjectSchema.nullable(),\n content: z.string().describe(\"The text content of the comment.\").nullable(),\n created_at: z.string().describe(\"Timestamp when the comment was created.\").nullable(),\n deleted_at: z.string().describe(\"Timestamp when the comment was deleted (null if not deleted).\").nullable().optional(),\n relation_id: z.number().int().describe(\"ID of the subject of the comment (the expense ID).\").nullable(),\n comment_type: z.string().describe(\"Type of comment. Can be 'System' for system-generated comments or 'User' for user-authored messages.\").nullable(),\n relation_type: z.string().describe(\"Subject type of the comment. Typically 'ExpenseComment'.\").nullable(),\n}).passthrough().describe(\"Represents a comment object associated with an expense.\");\nexport const SplitwiseGetCommentsOutput = z.object({\n comments: z.array(SplitwiseGetComments_CommentObjectSchema).describe(\"Array of comment objects associated with the expense.\"),\n}).passthrough().describe(\"Response model for retrieving expense comments.\");\n\nexport const splitwiseGetComments: AppAction<\n typeof SplitwiseGetCommentsInput,\n typeof SplitwiseGetCommentsOutput,\n typeof splitwise.credential\n> = action(\"SPLITWISE_GET_COMMENTS\", {\n slug: \"splitwise-get-comments\",\n name: \"Get Comments\",\n description: \"Tool to retrieve all comments associated with a specific expense. Use when you need to view comments on an expense, including both system-generated updates and user-authored messages.\",\n input: SplitwiseGetCommentsInput,\n output: SplitwiseGetCommentsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,4BAA4B,EAAE,OAAO,EAChD,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uDAAuD,EAC/F,CAAC,CAAC,CA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,CAAC,SAAS;CAC1E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACpF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrH,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CACtG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,sGAAsG,CAAC,CAAC,SAAS;CACnJ,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;AAC1G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yDAAyD;AAKnF,MAAa,uBAIT,OAAO,0BAA0B;CACnC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAbwC,EAAE,OAAO,EACjD,UAAU,EAAE,MAAM,wCAAwC,CAAC,CAAC,SAAS,uDAAuD,EAC9H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAWhB;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-currencies.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-currencies.cjs","names":["z","action"],"sources":["../../src/actions/get-currencies.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SplitwiseGetCurrenciesInput = z.object({}).describe(\"Request schema for fetching supported currencies. No parameters required.\");\nconst SplitwiseGetCurrencies_CurrencySchema = z.object({\n unit: z.string().describe(\"Currency symbol or unit representation, e.g., '$', 'R$'\").nullable(),\n currency_code: z.string().describe(\"ISO 4217 currency code or unofficial variant, e.g., 'USD', 'BTC'\").nullable(),\n}).passthrough().describe(\"Represents a supported currency.\");\nexport const SplitwiseGetCurrenciesOutput = z.object({\n currencies: z.array(SplitwiseGetCurrencies_CurrencySchema).describe(\"List of supported currencies\"),\n}).passthrough().describe(\"Response schema for supported currencies list.\");\n\nexport const splitwiseGetCurrencies = action(\"SPLITWISE_GET_CURRENCIES\", {\n slug: \"splitwise-get-currencies\",\n name: \"Get Currencies\",\n description: \"Tool to retrieve a list of supported currencies. Use when you need to display or validate currency options.\",\n input: SplitwiseGetCurrenciesInput,\n output: SplitwiseGetCurrenciesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,2EAA2E;AAC5I,MAAM,wCAAwCA,IAAAA,EAAE,OAAO;CACrD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CAC9F,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;AAClH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kCAAkC;AAC5D,MAAa,+BAA+BA,IAAAA,EAAE,OAAO,EACnD,YAAYA,IAAAA,EAAE,MAAM,qCAAqC,CAAC,CAAC,SAAS,8BAA8B,EACpG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAAgD;AAE1E,MAAa,yBAAyBC,eAAAA,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-currencies.cjs","names":["z","action"],"sources":["../../src/actions/get-currencies.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { splitwise } from \"../app\";\n\nexport const SplitwiseGetCurrenciesInput = z.object({}).describe(\"Request schema for fetching supported currencies. No parameters required.\");\nconst SplitwiseGetCurrencies_CurrencySchema = z.object({\n unit: z.string().describe(\"Currency symbol or unit representation, e.g., '$', 'R$'\").nullable(),\n currency_code: z.string().describe(\"ISO 4217 currency code or unofficial variant, e.g., 'USD', 'BTC'\").nullable(),\n}).passthrough().describe(\"Represents a supported currency.\");\nexport const SplitwiseGetCurrenciesOutput = z.object({\n currencies: z.array(SplitwiseGetCurrencies_CurrencySchema).describe(\"List of supported currencies\"),\n}).passthrough().describe(\"Response schema for supported currencies list.\");\n\nexport const splitwiseGetCurrencies: AppAction<\n typeof SplitwiseGetCurrenciesInput,\n typeof SplitwiseGetCurrenciesOutput,\n typeof splitwise.credential\n> = action(\"SPLITWISE_GET_CURRENCIES\", {\n slug: \"splitwise-get-currencies\",\n name: \"Get Currencies\",\n description: \"Tool to retrieve a list of supported currencies. Use when you need to display or validate currency options.\",\n input: SplitwiseGetCurrenciesInput,\n output: SplitwiseGetCurrenciesOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,2EAA2E;AAC5I,MAAM,wCAAwCA,IAAAA,EAAE,OAAO;CACrD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CAC9F,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;AAClH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kCAAkC;AAC5D,MAAa,+BAA+BA,IAAAA,EAAE,OAAO,EACnD,YAAYA,IAAAA,EAAE,MAAM,qCAAqC,CAAC,CAAC,SAAS,8BAA8B,EACpG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAAgD;AAE1E,MAAa,yBAITC,eAAAA,OAAO,4BAA4B;CACrC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { splitwise } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-currencies.d.ts
@@ -8,7 +10,7 @@ declare const SplitwiseGetCurrenciesOutput: z.ZodObject<{
8
10
  currency_code: z.ZodNullable<z.ZodString>;
9
11
  }, z.core.$loose>>;
10
12
  }, z.core.$loose>;
11
- declare const splitwiseGetCurrencies: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
13
+ declare const splitwiseGetCurrencies: AppAction<typeof SplitwiseGetCurrenciesInput, typeof SplitwiseGetCurrenciesOutput, typeof splitwise.credential>;
12
14
  //#endregion
13
15
  export { splitwiseGetCurrencies };
14
16
  //# sourceMappingURL=get-currencies.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-currencies.d.cts","names":[],"sources":["../../src/actions/get-currencies.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAK3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;cAI5B,sBAAA,gCAAsB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-currencies.d.cts","names":[],"sources":["../../src/actions/get-currencies.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAK3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;cAI5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,SACA,SAAA,CAAU,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { splitwise } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-currencies.d.ts
@@ -8,7 +10,7 @@ declare const SplitwiseGetCurrenciesOutput: z.ZodObject<{
8
10
  currency_code: z.ZodNullable<z.ZodString>;
9
11
  }, z.core.$loose>>;
10
12
  }, z.core.$loose>;
11
- declare const splitwiseGetCurrencies: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
13
+ declare const splitwiseGetCurrencies: AppAction<typeof SplitwiseGetCurrenciesInput, typeof SplitwiseGetCurrenciesOutput, typeof splitwise.credential>;
12
14
  //#endregion
13
15
  export { splitwiseGetCurrencies };
14
16
  //# sourceMappingURL=get-currencies.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-currencies.d.mts","names":[],"sources":["../../src/actions/get-currencies.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAK3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;cAI5B,sBAAA,gCAAsB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-currencies.d.mts","names":[],"sources":["../../src/actions/get-currencies.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAK3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;cAI5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,SACA,SAAA,CAAU,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-currencies.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-currencies.mjs","names":[],"sources":["../../src/actions/get-currencies.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SplitwiseGetCurrenciesInput = z.object({}).describe(\"Request schema for fetching supported currencies. No parameters required.\");\nconst SplitwiseGetCurrencies_CurrencySchema = z.object({\n unit: z.string().describe(\"Currency symbol or unit representation, e.g., '$', 'R$'\").nullable(),\n currency_code: z.string().describe(\"ISO 4217 currency code or unofficial variant, e.g., 'USD', 'BTC'\").nullable(),\n}).passthrough().describe(\"Represents a supported currency.\");\nexport const SplitwiseGetCurrenciesOutput = z.object({\n currencies: z.array(SplitwiseGetCurrencies_CurrencySchema).describe(\"List of supported currencies\"),\n}).passthrough().describe(\"Response schema for supported currencies list.\");\n\nexport const splitwiseGetCurrencies = action(\"SPLITWISE_GET_CURRENCIES\", {\n slug: \"splitwise-get-currencies\",\n name: \"Get Currencies\",\n description: \"Tool to retrieve a list of supported currencies. Use when you need to display or validate currency options.\",\n input: SplitwiseGetCurrenciesInput,\n output: SplitwiseGetCurrenciesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8B,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,2EAA2E;AAC5I,MAAM,wCAAwC,EAAE,OAAO;CACrD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CAC9F,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;AAClH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kCAAkC;AAK5D,MAAa,yBAAyB,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT0C,EAAE,OAAO,EACnD,YAAY,EAAE,MAAM,qCAAqC,CAAC,CAAC,SAAS,8BAA8B,EACpG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"get-currencies.mjs","names":[],"sources":["../../src/actions/get-currencies.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { splitwise } from \"../app\";\n\nexport const SplitwiseGetCurrenciesInput = z.object({}).describe(\"Request schema for fetching supported currencies. No parameters required.\");\nconst SplitwiseGetCurrencies_CurrencySchema = z.object({\n unit: z.string().describe(\"Currency symbol or unit representation, e.g., '$', 'R$'\").nullable(),\n currency_code: z.string().describe(\"ISO 4217 currency code or unofficial variant, e.g., 'USD', 'BTC'\").nullable(),\n}).passthrough().describe(\"Represents a supported currency.\");\nexport const SplitwiseGetCurrenciesOutput = z.object({\n currencies: z.array(SplitwiseGetCurrencies_CurrencySchema).describe(\"List of supported currencies\"),\n}).passthrough().describe(\"Response schema for supported currencies list.\");\n\nexport const splitwiseGetCurrencies: AppAction<\n typeof SplitwiseGetCurrenciesInput,\n typeof SplitwiseGetCurrenciesOutput,\n typeof splitwise.credential\n> = action(\"SPLITWISE_GET_CURRENCIES\", {\n slug: \"splitwise-get-currencies\",\n name: \"Get Currencies\",\n description: \"Tool to retrieve a list of supported currencies. Use when you need to display or validate currency options.\",\n input: SplitwiseGetCurrenciesInput,\n output: SplitwiseGetCurrenciesOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,8BAA8B,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,2EAA2E;AAC5I,MAAM,wCAAwC,EAAE,OAAO;CACrD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CAC9F,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;AAClH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kCAAkC;AAK5D,MAAa,yBAIT,OAAO,4BAA4B;CACrC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAb0C,EAAE,OAAO,EACnD,YAAY,EAAE,MAAM,qCAAqC,CAAC,CAAC,SAAS,8BAA8B,EACpG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAWhB;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-user.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-current-user.cjs","names":["z","action"],"sources":["../../src/actions/get-current-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SplitwiseGetCurrentUserInput = z.object({}).describe(\"Request schema for retrieving current user info. No parameters required.\");\nconst SplitwiseGetCurrentUser_PictureSchema = z.object({\n large: z.string().describe(\"URL for the large-sized profile picture.\").nullable(),\n small: z.string().describe(\"URL for the small-sized profile picture.\").nullable(),\n medium: z.string().describe(\"URL for the medium-sized profile picture.\").nullable(),\n}).passthrough().describe(\"URLs for the user's profile picture in different sizes.\");\nconst SplitwiseGetCurrentUser_NotificationsSchema = z.object({\n bills: z.boolean().describe(\"Notify about bills.\").nullable(),\n payments: z.boolean().describe(\"Notify about payments.\").nullable(),\n announcements: z.boolean().describe(\"Notify about announcements.\").nullable(),\n expense_added: z.boolean().describe(\"Notify when an expense is added.\").nullable(),\n added_to_group: z.boolean().describe(\"Notify when added to a group.\").nullable(),\n added_as_friend: z.boolean().describe(\"Notify when added as a friend.\").nullable(),\n expense_updated: z.boolean().describe(\"Notify when an expense is updated.\").nullable(),\n monthly_summary: z.boolean().describe(\"Notify with monthly summary.\").nullable(),\n}).passthrough().describe(\"Notification flags for the user.\");\nconst SplitwiseGetCurrentUser_UserSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the user.\").nullable(),\n email: z.string().describe(\"User's email address.\").nullable(),\n locale: z.string().describe(\"User's locale setting (e.g., 'en').\").nullable(),\n picture: SplitwiseGetCurrentUser_PictureSchema.nullable(),\n last_name: z.string().describe(\"User's last name.\").nullable().optional(),\n first_name: z.string().describe(\"User's first name.\").nullable(),\n date_format: z.string().describe(\"User's preferred date format (e.g., 'MM/DD/YYYY').\").nullable().optional(),\n country_code: z.string().describe(\"User's country code (e.g., 'US').\").nullable().optional(),\n notifications: SplitwiseGetCurrentUser_NotificationsSchema.nullable(),\n custom_picture: z.boolean().describe(\"Whether the user has a custom profile picture.\").nullable(),\n default_currency: z.string().describe(\"User's default currency code (e.g., 'USD').\").nullable(),\n default_group_id: z.number().int().describe(\"User's default group ID (-1 if not set).\").nullable().optional(),\n force_refresh_at: z.string().describe(\"Timestamp for when a forced refresh is required.\").nullable().optional(),\n notifications_read: z.string().describe(\"Timestamp when notifications were last read.\").nullable(),\n notifications_count: z.number().int().describe(\"Number of unread notifications.\").nullable(),\n registration_status: z.string().describe(\"Registration status of the user (e.g., 'confirmed').\").nullable(),\n}).passthrough().describe(\"Details of the currently authenticated user.\");\nexport const SplitwiseGetCurrentUserOutput = z.object({\n user: SplitwiseGetCurrentUser_UserSchema.nullable(),\n}).passthrough().describe(\"Response schema for current user info.\");\n\nexport const splitwiseGetCurrentUser = action(\"SPLITWISE_GET_CURRENT_USER\", {\n slug: \"splitwise-get-current-user\",\n name: \"Get Current User\",\n description: \"Tool to retrieve information about the current authenticated user. Use when you need profile details of the logged-in user.\",\n input: SplitwiseGetCurrentUserInput,\n output: SplitwiseGetCurrentUserOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,0EAA0E;AAC5I,MAAM,wCAAwCA,IAAAA,EAAE,OAAO;CACrD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CAChF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CAChF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;AACpF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yDAAyD;AACnF,MAAM,8CAA8CA,IAAAA,EAAE,OAAO;CAC3D,OAAOA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAA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AAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,eAAe,4CAA4C,SAAS;CACpE,gBAAgBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CAChG,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CAC9F,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACjG,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CAC3F,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;AAC5G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAA8C;AACxE,MAAa,gCAAgCA,IAAAA,EAAE,OAAO,EACpD,MAAM,mCAAmC,SAAS,EACpD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAElE,MAAa,0BAA0BC,eAAAA,OAAO,8BAA8B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-current-user.cjs","names":["z","action"],"sources":["../../src/actions/get-current-user.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { splitwise } from \"../app\";\n\nexport const SplitwiseGetCurrentUserInput = z.object({}).describe(\"Request schema for retrieving current user info. No parameters required.\");\nconst SplitwiseGetCurrentUser_PictureSchema = z.object({\n large: z.string().describe(\"URL for the large-sized profile picture.\").nullable(),\n small: z.string().describe(\"URL for the small-sized profile picture.\").nullable(),\n medium: z.string().describe(\"URL for the medium-sized profile picture.\").nullable(),\n}).passthrough().describe(\"URLs for the user's profile picture in different sizes.\");\nconst SplitwiseGetCurrentUser_NotificationsSchema = z.object({\n bills: z.boolean().describe(\"Notify about bills.\").nullable(),\n payments: z.boolean().describe(\"Notify about payments.\").nullable(),\n announcements: z.boolean().describe(\"Notify about announcements.\").nullable(),\n expense_added: z.boolean().describe(\"Notify when an expense is added.\").nullable(),\n added_to_group: z.boolean().describe(\"Notify when added to a group.\").nullable(),\n added_as_friend: z.boolean().describe(\"Notify when added as a friend.\").nullable(),\n expense_updated: z.boolean().describe(\"Notify when an expense is updated.\").nullable(),\n monthly_summary: z.boolean().describe(\"Notify with monthly summary.\").nullable(),\n}).passthrough().describe(\"Notification flags for the user.\");\nconst SplitwiseGetCurrentUser_UserSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the user.\").nullable(),\n email: z.string().describe(\"User's email address.\").nullable(),\n locale: z.string().describe(\"User's locale setting (e.g., 'en').\").nullable(),\n picture: SplitwiseGetCurrentUser_PictureSchema.nullable(),\n last_name: z.string().describe(\"User's last name.\").nullable().optional(),\n first_name: z.string().describe(\"User's first name.\").nullable(),\n date_format: z.string().describe(\"User's preferred date format (e.g., 'MM/DD/YYYY').\").nullable().optional(),\n country_code: z.string().describe(\"User's country code (e.g., 'US').\").nullable().optional(),\n notifications: SplitwiseGetCurrentUser_NotificationsSchema.nullable(),\n custom_picture: z.boolean().describe(\"Whether the user has a custom profile picture.\").nullable(),\n default_currency: z.string().describe(\"User's default currency code (e.g., 'USD').\").nullable(),\n default_group_id: z.number().int().describe(\"User's default group ID (-1 if not set).\").nullable().optional(),\n force_refresh_at: z.string().describe(\"Timestamp for when a forced refresh is required.\").nullable().optional(),\n notifications_read: z.string().describe(\"Timestamp when notifications were last read.\").nullable(),\n notifications_count: z.number().int().describe(\"Number of unread notifications.\").nullable(),\n registration_status: z.string().describe(\"Registration status of the user (e.g., 'confirmed').\").nullable(),\n}).passthrough().describe(\"Details of the currently authenticated user.\");\nexport const SplitwiseGetCurrentUserOutput = z.object({\n user: SplitwiseGetCurrentUser_UserSchema.nullable(),\n}).passthrough().describe(\"Response schema for current user info.\");\n\nexport const splitwiseGetCurrentUser: AppAction<\n typeof SplitwiseGetCurrentUserInput,\n typeof SplitwiseGetCurrentUserOutput,\n typeof splitwise.credential\n> = action(\"SPLITWISE_GET_CURRENT_USER\", {\n slug: \"splitwise-get-current-user\",\n name: \"Get Current User\",\n description: \"Tool to retrieve information about the current authenticated user. Use when you need profile details of the logged-in user.\",\n input: SplitwiseGetCurrentUserInput,\n output: SplitwiseGetCurrentUserOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,0EAA0E;AAC5I,MAAM,wCAAwCA,IAAAA,EAAE,OAAO;CACrD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CAChF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CAChF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;AACpF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yDAAyD;AACnF,MAAM,8CAA8CA,IAAAA,EAAE,OAAO;CAC3D,OAAOA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CAC5D,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CAClE,eAAeA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,6BAA6B,C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CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CAChG,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CAC9F,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACjG,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CAC3F,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;AAC5G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAA8C;AACxE,MAAa,gCAAgCA,IAAAA,EAAE,OAAO,EACpD,MAAM,mCAAmC,SAAS,EACpD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAElE,MAAa,0BAITC,eAAAA,OAAO,8BAA8B;CACvC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { splitwise } 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-user.d.ts
@@ -35,7 +37,7 @@ declare const SplitwiseGetCurrentUserOutput: z.ZodObject<{
35
37
  registration_status: z.ZodNullable<z.ZodString>;
36
38
  }, z.core.$loose>>;
37
39
  }, z.core.$loose>;
38
- declare const splitwiseGetCurrentUser: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
40
+ declare const splitwiseGetCurrentUser: AppAction<typeof SplitwiseGetCurrentUserInput, typeof SplitwiseGetCurrentUserOutput, typeof splitwise.credential>;
39
41
  //#endregion
40
42
  export { splitwiseGetCurrentUser };
41
43
  //# sourceMappingURL=get-current-user.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-current-user.d.cts","names":[],"sources":["../../src/actions/get-current-user.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAkC5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAI7B,uBAAA,gCAAuB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-current-user.d.cts","names":[],"sources":["../../src/actions/get-current-user.ts"],"mappings":";;;;;cAMa,4BAAA,EAA4B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAkC5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAI7B,uBAAA,EAAyB,SAAA,QAC7B,4BAAA,SACA,6BAAA,SACA,SAAA,CAAU,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { splitwise } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-current-user.d.ts
@@ -35,7 +37,7 @@ declare const SplitwiseGetCurrentUserOutput: z.ZodObject<{
35
37
  registration_status: z.ZodNullable<z.ZodString>;
36
38
  }, z.core.$loose>>;
37
39
  }, z.core.$loose>;
38
- declare const splitwiseGetCurrentUser: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
40
+ declare const splitwiseGetCurrentUser: AppAction<typeof SplitwiseGetCurrentUserInput, typeof SplitwiseGetCurrentUserOutput, typeof splitwise.credential>;
39
41
  //#endregion
40
42
  export { splitwiseGetCurrentUser };
41
43
  //# sourceMappingURL=get-current-user.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-current-user.d.mts","names":[],"sources":["../../src/actions/get-current-user.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAkC5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAI7B,uBAAA,gCAAuB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-current-user.d.mts","names":[],"sources":["../../src/actions/get-current-user.ts"],"mappings":";;;;;cAMa,4BAAA,EAA4B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAkC5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAI7B,uBAAA,EAAyB,SAAA,QAC7B,4BAAA,SACA,6BAAA,SACA,SAAA,CAAU,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-current-user.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-current-user.mjs","names":[],"sources":["../../src/actions/get-current-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SplitwiseGetCurrentUserInput = z.object({}).describe(\"Request schema for retrieving current user info. No parameters required.\");\nconst SplitwiseGetCurrentUser_PictureSchema = z.object({\n large: z.string().describe(\"URL for the large-sized profile picture.\").nullable(),\n small: z.string().describe(\"URL for the small-sized profile picture.\").nullable(),\n medium: z.string().describe(\"URL for the medium-sized profile picture.\").nullable(),\n}).passthrough().describe(\"URLs for the user's profile picture in different sizes.\");\nconst SplitwiseGetCurrentUser_NotificationsSchema = z.object({\n bills: z.boolean().describe(\"Notify about bills.\").nullable(),\n payments: z.boolean().describe(\"Notify about payments.\").nullable(),\n announcements: z.boolean().describe(\"Notify about announcements.\").nullable(),\n expense_added: z.boolean().describe(\"Notify when an expense is added.\").nullable(),\n added_to_group: z.boolean().describe(\"Notify when added to a group.\").nullable(),\n added_as_friend: z.boolean().describe(\"Notify when added as a friend.\").nullable(),\n expense_updated: z.boolean().describe(\"Notify when an expense is updated.\").nullable(),\n monthly_summary: z.boolean().describe(\"Notify with monthly summary.\").nullable(),\n}).passthrough().describe(\"Notification flags for the user.\");\nconst SplitwiseGetCurrentUser_UserSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the user.\").nullable(),\n email: z.string().describe(\"User's email address.\").nullable(),\n locale: z.string().describe(\"User's locale setting (e.g., 'en').\").nullable(),\n picture: SplitwiseGetCurrentUser_PictureSchema.nullable(),\n last_name: z.string().describe(\"User's last name.\").nullable().optional(),\n first_name: z.string().describe(\"User's first name.\").nullable(),\n date_format: z.string().describe(\"User's preferred date format (e.g., 'MM/DD/YYYY').\").nullable().optional(),\n country_code: z.string().describe(\"User's country code (e.g., 'US').\").nullable().optional(),\n notifications: SplitwiseGetCurrentUser_NotificationsSchema.nullable(),\n custom_picture: z.boolean().describe(\"Whether the user has a custom profile picture.\").nullable(),\n default_currency: z.string().describe(\"User's default currency code (e.g., 'USD').\").nullable(),\n default_group_id: z.number().int().describe(\"User's default group ID (-1 if not set).\").nullable().optional(),\n force_refresh_at: z.string().describe(\"Timestamp for when a forced refresh is required.\").nullable().optional(),\n notifications_read: z.string().describe(\"Timestamp when notifications were last read.\").nullable(),\n notifications_count: z.number().int().describe(\"Number of unread notifications.\").nullable(),\n registration_status: z.string().describe(\"Registration status of the user (e.g., 'confirmed').\").nullable(),\n}).passthrough().describe(\"Details of the currently authenticated user.\");\nexport const SplitwiseGetCurrentUserOutput = z.object({\n user: SplitwiseGetCurrentUser_UserSchema.nullable(),\n}).passthrough().describe(\"Response schema for current user info.\");\n\nexport const splitwiseGetCurrentUser = action(\"SPLITWISE_GET_CURRENT_USER\", {\n slug: \"splitwise-get-current-user\",\n name: \"Get Current User\",\n description: \"Tool to retrieve information about the current authenticated user. Use when you need profile details of the logged-in user.\",\n input: SplitwiseGetCurrentUserInput,\n output: SplitwiseGetCurrentUserOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+B,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,0EAA0E;AAC5I,MAAM,wCAAwC,EAAE,OAAO;CACrD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CAChF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CAChF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;AACpF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yDAAyD;AACnF,MAAM,8CAA8C,EAAE,OAAO;CAC3D,OAAO,EAAE,QAAQ,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CAC5D,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CAClE,eAAe,EAAE,QAAQ,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CAC5E,eAAe,EAAE,QAAQ,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACjF,gBAAgB,EAAE,QAAQ,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CAC/E,iBAAiB,EAAE,QAAQ,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACjF,iBAAiB,E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C,CAAC,SAAS;CACjG,qBAAqB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CAC3F,qBAAqB,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;AAC5G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAA8C;AAKxE,MAAa,0BAA0B,OAAO,8BAA8B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT2C,EAAE,OAAO,EACpD,MAAM,mCAAmC,SAAS,EACpD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"get-current-user.mjs","names":[],"sources":["../../src/actions/get-current-user.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { splitwise } from \"../app\";\n\nexport const SplitwiseGetCurrentUserInput = z.object({}).describe(\"Request schema for retrieving current user info. No parameters required.\");\nconst SplitwiseGetCurrentUser_PictureSchema = z.object({\n large: z.string().describe(\"URL for the large-sized profile picture.\").nullable(),\n small: z.string().describe(\"URL for the small-sized profile picture.\").nullable(),\n medium: z.string().describe(\"URL for the medium-sized profile picture.\").nullable(),\n}).passthrough().describe(\"URLs for the user's profile picture in different sizes.\");\nconst SplitwiseGetCurrentUser_NotificationsSchema = z.object({\n bills: z.boolean().describe(\"Notify about bills.\").nullable(),\n payments: z.boolean().describe(\"Notify about payments.\").nullable(),\n announcements: z.boolean().describe(\"Notify about announcements.\").nullable(),\n expense_added: z.boolean().describe(\"Notify when an expense is added.\").nullable(),\n added_to_group: z.boolean().describe(\"Notify when added to a group.\").nullable(),\n added_as_friend: z.boolean().describe(\"Notify when added as a friend.\").nullable(),\n expense_updated: z.boolean().describe(\"Notify when an expense is updated.\").nullable(),\n monthly_summary: z.boolean().describe(\"Notify with monthly summary.\").nullable(),\n}).passthrough().describe(\"Notification flags for the user.\");\nconst SplitwiseGetCurrentUser_UserSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the user.\").nullable(),\n email: z.string().describe(\"User's email address.\").nullable(),\n locale: z.string().describe(\"User's locale setting (e.g., 'en').\").nullable(),\n picture: SplitwiseGetCurrentUser_PictureSchema.nullable(),\n last_name: z.string().describe(\"User's last name.\").nullable().optional(),\n first_name: z.string().describe(\"User's first name.\").nullable(),\n date_format: z.string().describe(\"User's preferred date format (e.g., 'MM/DD/YYYY').\").nullable().optional(),\n country_code: z.string().describe(\"User's country code (e.g., 'US').\").nullable().optional(),\n notifications: SplitwiseGetCurrentUser_NotificationsSchema.nullable(),\n custom_picture: z.boolean().describe(\"Whether the user has a custom profile picture.\").nullable(),\n default_currency: z.string().describe(\"User's default currency code (e.g., 'USD').\").nullable(),\n default_group_id: z.number().int().describe(\"User's default group ID (-1 if not set).\").nullable().optional(),\n force_refresh_at: z.string().describe(\"Timestamp for when a forced refresh is required.\").nullable().optional(),\n notifications_read: z.string().describe(\"Timestamp when notifications were last read.\").nullable(),\n notifications_count: z.number().int().describe(\"Number of unread notifications.\").nullable(),\n registration_status: z.string().describe(\"Registration status of the user (e.g., 'confirmed').\").nullable(),\n}).passthrough().describe(\"Details of the currently authenticated user.\");\nexport const SplitwiseGetCurrentUserOutput = z.object({\n user: SplitwiseGetCurrentUser_UserSchema.nullable(),\n}).passthrough().describe(\"Response schema for current user info.\");\n\nexport const splitwiseGetCurrentUser: AppAction<\n typeof SplitwiseGetCurrentUserInput,\n typeof SplitwiseGetCurrentUserOutput,\n typeof splitwise.credential\n> = action(\"SPLITWISE_GET_CURRENT_USER\", {\n slug: \"splitwise-get-current-user\",\n name: \"Get Current User\",\n description: \"Tool to retrieve information about the current authenticated user. Use when you need profile details of the logged-in user.\",\n input: SplitwiseGetCurrentUserInput,\n output: SplitwiseGetCurrentUserOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,+BAA+B,EAAE,OAAO,CAAC,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