@keystrokehq/splitwise 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (250) hide show
  1. package/README.md +17 -0
  2. package/dist/action.cjs +21 -0
  3. package/dist/action.cjs.map +1 -0
  4. package/dist/action.mjs +21 -0
  5. package/dist/action.mjs.map +1 -0
  6. package/dist/actions/add-friend.cjs +46 -0
  7. package/dist/actions/add-friend.cjs.map +1 -0
  8. package/dist/actions/add-friend.d.cts +9 -0
  9. package/dist/actions/add-friend.d.cts.map +1 -0
  10. package/dist/actions/add-friend.d.mts +9 -0
  11. package/dist/actions/add-friend.d.mts.map +1 -0
  12. package/dist/actions/add-friend.mjs +45 -0
  13. package/dist/actions/add-friend.mjs.map +1 -0
  14. package/dist/actions/add-user-to-group.cjs +38 -0
  15. package/dist/actions/add-user-to-group.cjs.map +1 -0
  16. package/dist/actions/add-user-to-group.d.cts +9 -0
  17. package/dist/actions/add-user-to-group.d.cts.map +1 -0
  18. package/dist/actions/add-user-to-group.d.mts +9 -0
  19. package/dist/actions/add-user-to-group.d.mts.map +1 -0
  20. package/dist/actions/add-user-to-group.mjs +37 -0
  21. package/dist/actions/add-user-to-group.mjs.map +1 -0
  22. package/dist/actions/create-comment.cjs +42 -0
  23. package/dist/actions/create-comment.cjs.map +1 -0
  24. package/dist/actions/create-comment.d.cts +9 -0
  25. package/dist/actions/create-comment.d.cts.map +1 -0
  26. package/dist/actions/create-comment.d.mts +9 -0
  27. package/dist/actions/create-comment.d.mts.map +1 -0
  28. package/dist/actions/create-comment.mjs +41 -0
  29. package/dist/actions/create-comment.mjs.map +1 -0
  30. package/dist/actions/create-expense.cjs +103 -0
  31. package/dist/actions/create-expense.cjs.map +1 -0
  32. package/dist/actions/create-expense.d.cts +9 -0
  33. package/dist/actions/create-expense.d.cts.map +1 -0
  34. package/dist/actions/create-expense.d.mts +9 -0
  35. package/dist/actions/create-expense.d.mts.map +1 -0
  36. package/dist/actions/create-expense.mjs +102 -0
  37. package/dist/actions/create-expense.mjs.map +1 -0
  38. package/dist/actions/create-friends.cjs +48 -0
  39. package/dist/actions/create-friends.cjs.map +1 -0
  40. package/dist/actions/create-friends.d.cts +9 -0
  41. package/dist/actions/create-friends.d.cts.map +1 -0
  42. package/dist/actions/create-friends.d.mts +9 -0
  43. package/dist/actions/create-friends.d.mts.map +1 -0
  44. package/dist/actions/create-friends.mjs +47 -0
  45. package/dist/actions/create-friends.mjs.map +1 -0
  46. package/dist/actions/create-group.cjs +84 -0
  47. package/dist/actions/create-group.cjs.map +1 -0
  48. package/dist/actions/create-group.d.cts +9 -0
  49. package/dist/actions/create-group.d.cts.map +1 -0
  50. package/dist/actions/create-group.d.mts +9 -0
  51. package/dist/actions/create-group.d.mts.map +1 -0
  52. package/dist/actions/create-group.mjs +83 -0
  53. package/dist/actions/create-group.mjs.map +1 -0
  54. package/dist/actions/delete-comment.cjs +40 -0
  55. package/dist/actions/delete-comment.cjs.map +1 -0
  56. package/dist/actions/delete-comment.d.cts +9 -0
  57. package/dist/actions/delete-comment.d.cts.map +1 -0
  58. package/dist/actions/delete-comment.d.mts +9 -0
  59. package/dist/actions/delete-comment.d.mts.map +1 -0
  60. package/dist/actions/delete-comment.mjs +39 -0
  61. package/dist/actions/delete-comment.mjs.map +1 -0
  62. package/dist/actions/delete-expense.cjs +19 -0
  63. package/dist/actions/delete-expense.cjs.map +1 -0
  64. package/dist/actions/delete-expense.d.cts +9 -0
  65. package/dist/actions/delete-expense.d.cts.map +1 -0
  66. package/dist/actions/delete-expense.d.mts +9 -0
  67. package/dist/actions/delete-expense.d.mts.map +1 -0
  68. package/dist/actions/delete-expense.mjs +16 -0
  69. package/dist/actions/delete-expense.mjs.map +1 -0
  70. package/dist/actions/delete-friend.cjs +19 -0
  71. package/dist/actions/delete-friend.cjs.map +1 -0
  72. package/dist/actions/delete-friend.d.cts +9 -0
  73. package/dist/actions/delete-friend.d.cts.map +1 -0
  74. package/dist/actions/delete-friend.d.mts +9 -0
  75. package/dist/actions/delete-friend.d.mts.map +1 -0
  76. package/dist/actions/delete-friend.mjs +16 -0
  77. package/dist/actions/delete-friend.mjs.map +1 -0
  78. package/dist/actions/delete-group.cjs +19 -0
  79. package/dist/actions/delete-group.cjs.map +1 -0
  80. package/dist/actions/delete-group.d.cts +9 -0
  81. package/dist/actions/delete-group.d.cts.map +1 -0
  82. package/dist/actions/delete-group.d.mts +9 -0
  83. package/dist/actions/delete-group.d.mts.map +1 -0
  84. package/dist/actions/delete-group.mjs +16 -0
  85. package/dist/actions/delete-group.mjs.map +1 -0
  86. package/dist/actions/get-categories.cjs +25 -0
  87. package/dist/actions/get-categories.cjs.map +1 -0
  88. package/dist/actions/get-categories.d.cts +9 -0
  89. package/dist/actions/get-categories.d.cts.map +1 -0
  90. package/dist/actions/get-categories.d.mts +9 -0
  91. package/dist/actions/get-categories.d.mts.map +1 -0
  92. package/dist/actions/get-categories.mjs +24 -0
  93. package/dist/actions/get-categories.mjs.map +1 -0
  94. package/dist/actions/get-comments.cjs +40 -0
  95. package/dist/actions/get-comments.cjs.map +1 -0
  96. package/dist/actions/get-comments.d.cts +9 -0
  97. package/dist/actions/get-comments.d.cts.map +1 -0
  98. package/dist/actions/get-comments.d.mts +9 -0
  99. package/dist/actions/get-comments.d.mts.map +1 -0
  100. package/dist/actions/get-comments.mjs +39 -0
  101. package/dist/actions/get-comments.mjs.map +1 -0
  102. package/dist/actions/get-currencies.cjs +20 -0
  103. package/dist/actions/get-currencies.cjs.map +1 -0
  104. package/dist/actions/get-currencies.d.cts +9 -0
  105. package/dist/actions/get-currencies.d.cts.map +1 -0
  106. package/dist/actions/get-currencies.d.mts +9 -0
  107. package/dist/actions/get-currencies.d.mts.map +1 -0
  108. package/dist/actions/get-currencies.mjs +19 -0
  109. package/dist/actions/get-currencies.mjs.map +1 -0
  110. package/dist/actions/get-current-user.cjs +49 -0
  111. package/dist/actions/get-current-user.cjs.map +1 -0
  112. package/dist/actions/get-current-user.d.cts +9 -0
  113. package/dist/actions/get-current-user.d.cts.map +1 -0
  114. package/dist/actions/get-current-user.d.mts +9 -0
  115. package/dist/actions/get-current-user.d.mts.map +1 -0
  116. package/dist/actions/get-current-user.mjs +48 -0
  117. package/dist/actions/get-current-user.mjs.map +1 -0
  118. package/dist/actions/get-expense.cjs +91 -0
  119. package/dist/actions/get-expense.cjs.map +1 -0
  120. package/dist/actions/get-expense.d.cts +9 -0
  121. package/dist/actions/get-expense.d.cts.map +1 -0
  122. package/dist/actions/get-expense.d.mts +9 -0
  123. package/dist/actions/get-expense.d.mts.map +1 -0
  124. package/dist/actions/get-expense.mjs +90 -0
  125. package/dist/actions/get-expense.mjs.map +1 -0
  126. package/dist/actions/get-expenses.cjs +101 -0
  127. package/dist/actions/get-expenses.cjs.map +1 -0
  128. package/dist/actions/get-expenses.d.cts +9 -0
  129. package/dist/actions/get-expenses.d.cts.map +1 -0
  130. package/dist/actions/get-expenses.d.mts +9 -0
  131. package/dist/actions/get-expenses.d.mts.map +1 -0
  132. package/dist/actions/get-expenses.mjs +100 -0
  133. package/dist/actions/get-expenses.mjs.map +1 -0
  134. package/dist/actions/get-friend.cjs +41 -0
  135. package/dist/actions/get-friend.cjs.map +1 -0
  136. package/dist/actions/get-friend.d.cts +9 -0
  137. package/dist/actions/get-friend.d.cts.map +1 -0
  138. package/dist/actions/get-friend.d.mts +9 -0
  139. package/dist/actions/get-friend.d.mts.map +1 -0
  140. package/dist/actions/get-friend.mjs +40 -0
  141. package/dist/actions/get-friend.mjs.map +1 -0
  142. package/dist/actions/get-friends.cjs +41 -0
  143. package/dist/actions/get-friends.cjs.map +1 -0
  144. package/dist/actions/get-friends.d.cts +9 -0
  145. package/dist/actions/get-friends.d.cts.map +1 -0
  146. package/dist/actions/get-friends.d.mts +9 -0
  147. package/dist/actions/get-friends.d.mts.map +1 -0
  148. package/dist/actions/get-friends.mjs +40 -0
  149. package/dist/actions/get-friends.mjs.map +1 -0
  150. package/dist/actions/get-group.cjs +78 -0
  151. package/dist/actions/get-group.cjs.map +1 -0
  152. package/dist/actions/get-group.d.cts +9 -0
  153. package/dist/actions/get-group.d.cts.map +1 -0
  154. package/dist/actions/get-group.d.mts +9 -0
  155. package/dist/actions/get-group.d.mts.map +1 -0
  156. package/dist/actions/get-group.mjs +77 -0
  157. package/dist/actions/get-group.mjs.map +1 -0
  158. package/dist/actions/get-groups.cjs +77 -0
  159. package/dist/actions/get-groups.cjs.map +1 -0
  160. package/dist/actions/get-groups.d.cts +9 -0
  161. package/dist/actions/get-groups.d.cts.map +1 -0
  162. package/dist/actions/get-groups.d.mts +9 -0
  163. package/dist/actions/get-groups.d.mts.map +1 -0
  164. package/dist/actions/get-groups.mjs +76 -0
  165. package/dist/actions/get-groups.mjs.map +1 -0
  166. package/dist/actions/get-notifications.cjs +34 -0
  167. package/dist/actions/get-notifications.cjs.map +1 -0
  168. package/dist/actions/get-notifications.d.cts +9 -0
  169. package/dist/actions/get-notifications.d.cts.map +1 -0
  170. package/dist/actions/get-notifications.d.mts +9 -0
  171. package/dist/actions/get-notifications.d.mts.map +1 -0
  172. package/dist/actions/get-notifications.mjs +33 -0
  173. package/dist/actions/get-notifications.mjs.map +1 -0
  174. package/dist/actions/get-user.cjs +30 -0
  175. package/dist/actions/get-user.cjs.map +1 -0
  176. package/dist/actions/get-user.d.cts +9 -0
  177. package/dist/actions/get-user.d.cts.map +1 -0
  178. package/dist/actions/get-user.d.mts +9 -0
  179. package/dist/actions/get-user.d.mts.map +1 -0
  180. package/dist/actions/get-user.mjs +29 -0
  181. package/dist/actions/get-user.mjs.map +1 -0
  182. package/dist/actions/index.cjs +55 -0
  183. package/dist/actions/index.d.cts +28 -0
  184. package/dist/actions/index.d.mts +28 -0
  185. package/dist/actions/index.mjs +28 -0
  186. package/dist/actions/remove-user-from-group.cjs +22 -0
  187. package/dist/actions/remove-user-from-group.cjs.map +1 -0
  188. package/dist/actions/remove-user-from-group.d.cts +9 -0
  189. package/dist/actions/remove-user-from-group.d.cts.map +1 -0
  190. package/dist/actions/remove-user-from-group.d.mts +9 -0
  191. package/dist/actions/remove-user-from-group.d.mts.map +1 -0
  192. package/dist/actions/remove-user-from-group.mjs +19 -0
  193. package/dist/actions/remove-user-from-group.mjs.map +1 -0
  194. package/dist/actions/undelete-expense.cjs +19 -0
  195. package/dist/actions/undelete-expense.cjs.map +1 -0
  196. package/dist/actions/undelete-expense.d.cts +9 -0
  197. package/dist/actions/undelete-expense.d.cts.map +1 -0
  198. package/dist/actions/undelete-expense.d.mts +9 -0
  199. package/dist/actions/undelete-expense.d.mts.map +1 -0
  200. package/dist/actions/undelete-expense.mjs +16 -0
  201. package/dist/actions/undelete-expense.mjs.map +1 -0
  202. package/dist/actions/undelete-group.cjs +19 -0
  203. package/dist/actions/undelete-group.cjs.map +1 -0
  204. package/dist/actions/undelete-group.d.cts +9 -0
  205. package/dist/actions/undelete-group.d.cts.map +1 -0
  206. package/dist/actions/undelete-group.d.mts +9 -0
  207. package/dist/actions/undelete-group.d.mts.map +1 -0
  208. package/dist/actions/undelete-group.mjs +16 -0
  209. package/dist/actions/undelete-group.mjs.map +1 -0
  210. package/dist/actions/update-expense.cjs +43 -0
  211. package/dist/actions/update-expense.cjs.map +1 -0
  212. package/dist/actions/update-expense.d.cts +9 -0
  213. package/dist/actions/update-expense.d.cts.map +1 -0
  214. package/dist/actions/update-expense.d.mts +9 -0
  215. package/dist/actions/update-expense.d.mts.map +1 -0
  216. package/dist/actions/update-expense.mjs +40 -0
  217. package/dist/actions/update-expense.mjs.map +1 -0
  218. package/dist/actions/update-user.cjs +57 -0
  219. package/dist/actions/update-user.cjs.map +1 -0
  220. package/dist/actions/update-user.d.cts +9 -0
  221. package/dist/actions/update-user.d.cts.map +1 -0
  222. package/dist/actions/update-user.d.mts +9 -0
  223. package/dist/actions/update-user.d.mts.map +1 -0
  224. package/dist/actions/update-user.mjs +56 -0
  225. package/dist/actions/update-user.mjs.map +1 -0
  226. package/dist/app.cjs +9 -0
  227. package/dist/app.cjs.map +1 -0
  228. package/dist/app.d.cts +5 -0
  229. package/dist/app.d.cts.map +1 -0
  230. package/dist/app.d.mts +5 -0
  231. package/dist/app.d.mts.map +1 -0
  232. package/dist/app.mjs +10 -0
  233. package/dist/app.mjs.map +1 -0
  234. package/dist/catalog.cjs +15 -0
  235. package/dist/catalog.cjs.map +1 -0
  236. package/dist/catalog.d.cts +14 -0
  237. package/dist/catalog.d.cts.map +1 -0
  238. package/dist/catalog.d.mts +14 -0
  239. package/dist/catalog.d.mts.map +1 -0
  240. package/dist/catalog.mjs +15 -0
  241. package/dist/catalog.mjs.map +1 -0
  242. package/dist/execute.cjs +18 -0
  243. package/dist/execute.cjs.map +1 -0
  244. package/dist/execute.mjs +18 -0
  245. package/dist/execute.mjs.map +1 -0
  246. package/dist/index.cjs +60 -0
  247. package/dist/index.d.cts +30 -0
  248. package/dist/index.d.mts +30 -0
  249. package/dist/index.mjs +31 -0
  250. package/package.json +49 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-notifications.mjs","names":[],"sources":["../../src/actions/get-notifications.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SplitwiseGetNotificationsInput: z.ZodTypeAny = z.object({\n limit: z.number().int().describe(\"Maximum number of notifications to return. Omit or provide 0 to get the maximum number of notifications. The server sets arbitrary (but large) limits on the number returned.\").optional(),\n updated_after: z.string().describe(\"If provided, returns only notifications after this time. Must be ISO 8601 datetime format.\").optional(),\n}).describe(\"Request model for retrieving notifications.\");\nconst SplitwiseGetNotifications_SourceObjectSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"ID of the source object.\").nullable().optional(),\n url: z.string().describe(\"URL of the source object.\").nullable().optional(),\n type: z.string().describe(\"Type of the source object.\").nullable().optional(),\n}).describe(\"Represents the source object associated with a notification.\");\nconst SplitwiseGetNotifications_NotificationObjectSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique notification identifier.\"),\n type: z.number().int().describe(\"Numeric type indicating what the notification is about. Notification types may be added in the future without warning.\"),\n source: SplitwiseGetNotifications_SourceObjectSchema.nullable().optional(),\n content: z.string().describe(\"HTML content suitable for display. Uses only <strong>, <strike>, <small>, <br>, and <font color> tags.\"),\n image_url: z.string().describe(\"URL of the image associated with the notification.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the notification was created.\"),\n created_by: z.number().int().describe(\"User ID of the user who created the notification.\").nullable().optional(),\n image_shape: z.string().describe(\"Shape of the notification image (e.g., 'square', 'circle').\").nullable().optional(),\n}).describe(\"Represents a notification object with activity details.\");\nexport const SplitwiseGetNotificationsOutput: z.ZodTypeAny = z.object({\n notifications: z.array(SplitwiseGetNotifications_NotificationObjectSchema).describe(\"Array of notification objects with the most recent items first.\"),\n}).describe(\"Response model for retrieving notifications.\");\n\nexport const splitwiseGetNotifications = action(\"SPLITWISE_GET_NOTIFICATIONS\", {\n slug: \"splitwise-get-notifications\",\n name: \"Get Notifications\",\n description: \"Tool to retrieve recent activity notifications from the user's Splitwise account. Returns notifications with HTML content suitable for display, with the most recent items first. Use when you need to view recent account activity or updates.\",\n input: SplitwiseGetNotificationsInput,\n output: SplitwiseGetNotificationsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAA+C,EAAE,OAAO;CACnE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+KAA+K,CAAC,CAAC,SAAS;CAC3N,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,4FAA4F,CAAC,CAAC,SAAS;AAC5I,CAAC,CAAC,CAAC,SAAS,6CAA6C;AACzD,MAAM,+CAA6D,EAAE,OAAO;CAC1E,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9E,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAC1E,MAAM,qDAAmE,EAAE,OAAO;CAChF,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC;CAC/D,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wHAAwH;CACxJ,QAAQ,6CAA6C,SAAS,CAAC,CAAC,SAAS;CACzE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,wGAAwG;CACrI,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;CAC9E,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtH,CAAC,CAAC,CAAC,SAAS,yDAAyD;AAKrE,MAAa,4BAA4B,OAAO,+BAA+B;CAC7E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT2D,EAAE,OAAO,EACpE,eAAe,EAAE,MAAM,kDAAkD,CAAC,CAAC,SAAS,iEAAiE,EACvJ,CAAC,CAAC,CAAC,SAAS,8CAOF;AACV,CAAC"}
@@ -0,0 +1,30 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/get-user.ts
4
+ const SplitwiseGetUserInput = zod.z.object({ id: zod.z.number().int().describe("The user ID of the person whose information you want to retrieve Prefer IDs sourced from SPLITWISE_GET_GROUP responses to ensure validity.") }).describe("Request schema for retrieving user information by ID.");
5
+ const SplitwiseGetUser_PictureSchema = zod.z.object({
6
+ large: zod.z.string().describe("URL for the large-sized profile picture.").nullable().optional(),
7
+ small: zod.z.string().describe("URL for the small-sized profile picture.").nullable().optional(),
8
+ medium: zod.z.string().describe("URL for the medium-sized profile picture.").nullable().optional()
9
+ }).describe("URLs for the user's profile picture in different sizes.");
10
+ const SplitwiseGetUser_UserSchema = zod.z.object({
11
+ id: zod.z.number().int().describe("Unique identifier for the user."),
12
+ email: zod.z.string().describe("User's email address.").nullable().optional(),
13
+ picture: SplitwiseGetUser_PictureSchema.nullable().optional(),
14
+ last_name: zod.z.string().describe("User's last name.").nullable().optional(),
15
+ first_name: zod.z.string().describe("User's first name.").nullable().optional(),
16
+ custom_picture: zod.z.boolean().describe("Indicates whether the user has a custom profile picture.").nullable().optional(),
17
+ registration_status: zod.z.string().describe("Registration status of the user (e.g., 'confirmed', 'dummy', 'invited').").nullable().optional()
18
+ }).describe("Details of another user. Note: This endpoint returns only basic user information.\nFor the authenticated user's full profile (including notifications, currency, and locale),\nuse the get_current_user endpoint instead.");
19
+ const SplitwiseGetUserOutput = zod.z.object({ user: SplitwiseGetUser_UserSchema.nullable() }).describe("Response schema for user information.");
20
+ const splitwiseGetUser = require_action.action("SPLITWISE_GET_USER", {
21
+ slug: "splitwise-get-user",
22
+ name: "Get User Information",
23
+ description: "Retrieves basic profile information about any Splitwise user by their ID. Returns the user's name, email, registration status, and profile picture. This endpoint only returns public user information. For the authenticated user's full profile (including notifications, currency preferences, and locale settings), use get_current_user instead.",
24
+ input: SplitwiseGetUserInput,
25
+ output: SplitwiseGetUserOutput
26
+ });
27
+ //#endregion
28
+ exports.splitwiseGetUser = splitwiseGetUser;
29
+
30
+ //# sourceMappingURL=get-user.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-user.cjs","names":["z","action"],"sources":["../../src/actions/get-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SplitwiseGetUserInput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"The user ID of the person whose information you want to retrieve Prefer IDs sourced from SPLITWISE_GET_GROUP responses to ensure validity.\"),\n}).describe(\"Request schema for retrieving user information by ID.\");\nconst SplitwiseGetUser_PictureSchema: z.ZodTypeAny = z.object({\n large: z.string().describe(\"URL for the large-sized profile picture.\").nullable().optional(),\n small: z.string().describe(\"URL for the small-sized profile picture.\").nullable().optional(),\n medium: z.string().describe(\"URL for the medium-sized profile picture.\").nullable().optional(),\n}).describe(\"URLs for the user's profile picture in different sizes.\");\nconst SplitwiseGetUser_UserSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier for the user.\"),\n email: z.string().describe(\"User's email address.\").nullable().optional(),\n picture: SplitwiseGetUser_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(\"Indicates whether the user has a custom profile picture.\").nullable().optional(),\n registration_status: z.string().describe(\"Registration status of the user (e.g., 'confirmed', 'dummy', 'invited').\").nullable().optional(),\n}).describe(\"Details of another user. Note: This endpoint returns only basic user information.\\nFor the authenticated user's full profile (including notifications, currency, and locale),\\nuse the get_current_user endpoint instead.\");\nexport const SplitwiseGetUserOutput: z.ZodTypeAny = z.object({\n user: SplitwiseGetUser_UserSchema.nullable(),\n}).describe(\"Response schema for user information.\");\n\nexport const splitwiseGetUser = action(\"SPLITWISE_GET_USER\", {\n slug: \"splitwise-get-user\",\n name: \"Get User Information\",\n description: \"Retrieves basic profile information about any Splitwise user by their ID. Returns the user's name, email, registration status, and profile picture. This endpoint only returns public user information. For the authenticated user's full profile (including notifications, currency preferences, and locale settings), use get_current_user instead.\",\n input: SplitwiseGetUserInput,\n output: SplitwiseGetUserOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAsCA,IAAAA,EAAE,OAAO,EAC1D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4IAA4I,EAC5K,CAAC,CAAC,CAAC,SAAS,uDAAuD;AACnE,MAAM,iCAA+CA,IAAAA,EAAE,OAAO;CAC5D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/F,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrE,MAAM,8BAA4CA,IAAAA,EAAE,OAAO;CACzD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC;CAC/D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,SAAS,+BAA+B,SAAS,CAAC,CAAC,SAAS;CAC5D,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,gBAAgBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrH,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3I,CAAC,CAAC,CAAC,SAAS,2NAA2N;AACvO,MAAa,yBAAuCA,IAAAA,EAAE,OAAO,EAC3D,MAAM,4BAA4B,SAAS,EAC7C,CAAC,CAAC,CAAC,SAAS,uCAAuC;AAEnD,MAAa,mBAAmBC,eAAAA,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-user.d.ts
4
+ declare const SplitwiseGetUserInput: z.ZodTypeAny;
5
+ declare const SplitwiseGetUserOutput: z.ZodTypeAny;
6
+ declare const splitwiseGetUser: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { splitwiseGetUser };
9
+ //# sourceMappingURL=get-user.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-user.d.cts","names":[],"sources":["../../src/actions/get-user.ts"],"mappings":";;;cAIa,qBAAA,EAAuB,CAAA,CAAE,UAE8B;AAAA,cAevD,sBAAA,EAAwB,CAAA,CAAE,UAEa;AAAA,cAEvC,gBAAA,gCAAgB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-user.d.ts
4
+ declare const SplitwiseGetUserInput: z.ZodTypeAny;
5
+ declare const SplitwiseGetUserOutput: z.ZodTypeAny;
6
+ declare const splitwiseGetUser: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { splitwiseGetUser };
9
+ //# sourceMappingURL=get-user.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-user.d.mts","names":[],"sources":["../../src/actions/get-user.ts"],"mappings":";;;cAIa,qBAAA,EAAuB,CAAA,CAAE,UAE8B;AAAA,cAevD,sBAAA,EAAwB,CAAA,CAAE,UAEa;AAAA,cAEvC,gBAAA,gCAAgB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,29 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/get-user.ts
4
+ const SplitwiseGetUserInput = z.object({ id: z.number().int().describe("The user ID of the person whose information you want to retrieve Prefer IDs sourced from SPLITWISE_GET_GROUP responses to ensure validity.") }).describe("Request schema for retrieving user information by ID.");
5
+ const SplitwiseGetUser_PictureSchema = z.object({
6
+ large: z.string().describe("URL for the large-sized profile picture.").nullable().optional(),
7
+ small: z.string().describe("URL for the small-sized profile picture.").nullable().optional(),
8
+ medium: z.string().describe("URL for the medium-sized profile picture.").nullable().optional()
9
+ }).describe("URLs for the user's profile picture in different sizes.");
10
+ const SplitwiseGetUser_UserSchema = z.object({
11
+ id: z.number().int().describe("Unique identifier for the user."),
12
+ email: z.string().describe("User's email address.").nullable().optional(),
13
+ picture: SplitwiseGetUser_PictureSchema.nullable().optional(),
14
+ last_name: z.string().describe("User's last name.").nullable().optional(),
15
+ first_name: z.string().describe("User's first name.").nullable().optional(),
16
+ custom_picture: z.boolean().describe("Indicates whether the user has a custom profile picture.").nullable().optional(),
17
+ registration_status: z.string().describe("Registration status of the user (e.g., 'confirmed', 'dummy', 'invited').").nullable().optional()
18
+ }).describe("Details of another user. Note: This endpoint returns only basic user information.\nFor the authenticated user's full profile (including notifications, currency, and locale),\nuse the get_current_user endpoint instead.");
19
+ const splitwiseGetUser = action("SPLITWISE_GET_USER", {
20
+ slug: "splitwise-get-user",
21
+ name: "Get User Information",
22
+ description: "Retrieves basic profile information about any Splitwise user by their ID. Returns the user's name, email, registration status, and profile picture. This endpoint only returns public user information. For the authenticated user's full profile (including notifications, currency preferences, and locale settings), use get_current_user instead.",
23
+ input: SplitwiseGetUserInput,
24
+ output: z.object({ user: SplitwiseGetUser_UserSchema.nullable() }).describe("Response schema for user information.")
25
+ });
26
+ //#endregion
27
+ export { splitwiseGetUser };
28
+
29
+ //# sourceMappingURL=get-user.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-user.mjs","names":[],"sources":["../../src/actions/get-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SplitwiseGetUserInput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"The user ID of the person whose information you want to retrieve Prefer IDs sourced from SPLITWISE_GET_GROUP responses to ensure validity.\"),\n}).describe(\"Request schema for retrieving user information by ID.\");\nconst SplitwiseGetUser_PictureSchema: z.ZodTypeAny = z.object({\n large: z.string().describe(\"URL for the large-sized profile picture.\").nullable().optional(),\n small: z.string().describe(\"URL for the small-sized profile picture.\").nullable().optional(),\n medium: z.string().describe(\"URL for the medium-sized profile picture.\").nullable().optional(),\n}).describe(\"URLs for the user's profile picture in different sizes.\");\nconst SplitwiseGetUser_UserSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier for the user.\"),\n email: z.string().describe(\"User's email address.\").nullable().optional(),\n picture: SplitwiseGetUser_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(\"Indicates whether the user has a custom profile picture.\").nullable().optional(),\n registration_status: z.string().describe(\"Registration status of the user (e.g., 'confirmed', 'dummy', 'invited').\").nullable().optional(),\n}).describe(\"Details of another user. Note: This endpoint returns only basic user information.\\nFor the authenticated user's full profile (including notifications, currency, and locale),\\nuse the get_current_user endpoint instead.\");\nexport const SplitwiseGetUserOutput: z.ZodTypeAny = z.object({\n user: SplitwiseGetUser_UserSchema.nullable(),\n}).describe(\"Response schema for user information.\");\n\nexport const splitwiseGetUser = action(\"SPLITWISE_GET_USER\", {\n slug: \"splitwise-get-user\",\n name: \"Get User Information\",\n description: \"Retrieves basic profile information about any Splitwise user by their ID. Returns the user's name, email, registration status, and profile picture. This endpoint only returns public user information. For the authenticated user's full profile (including notifications, currency preferences, and locale settings), use get_current_user instead.\",\n input: SplitwiseGetUserInput,\n output: SplitwiseGetUserOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAsC,EAAE,OAAO,EAC1D,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4IAA4I,EAC5K,CAAC,CAAC,CAAC,SAAS,uDAAuD;AACnE,MAAM,iCAA+C,EAAE,OAAO;CAC5D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/F,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrE,MAAM,8BAA4C,EAAE,OAAO;CACzD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC;CAC/D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,SAAS,+BAA+B,SAAS,CAAC,CAAC,SAAS;CAC5D,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,gBAAgB,EAAE,QAAQ,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrH,qBAAqB,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3I,CAAC,CAAC,CAAC,SAAS,2NAA2N;AAKvO,MAAa,mBAAmB,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATkD,EAAE,OAAO,EAC3D,MAAM,4BAA4B,SAAS,EAC7C,CAAC,CAAC,CAAC,SAAS,uCAOF;AACV,CAAC"}
@@ -0,0 +1,55 @@
1
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
+ const require_add_friend = require("./add-friend.cjs");
3
+ const require_add_user_to_group = require("./add-user-to-group.cjs");
4
+ const require_create_comment = require("./create-comment.cjs");
5
+ const require_create_expense = require("./create-expense.cjs");
6
+ const require_create_friends = require("./create-friends.cjs");
7
+ const require_create_group = require("./create-group.cjs");
8
+ const require_delete_comment = require("./delete-comment.cjs");
9
+ const require_delete_expense = require("./delete-expense.cjs");
10
+ const require_delete_friend = require("./delete-friend.cjs");
11
+ const require_delete_group = require("./delete-group.cjs");
12
+ const require_get_categories = require("./get-categories.cjs");
13
+ const require_get_comments = require("./get-comments.cjs");
14
+ const require_get_currencies = require("./get-currencies.cjs");
15
+ const require_get_current_user = require("./get-current-user.cjs");
16
+ const require_get_expense = require("./get-expense.cjs");
17
+ const require_get_expenses = require("./get-expenses.cjs");
18
+ const require_get_friend = require("./get-friend.cjs");
19
+ const require_get_friends = require("./get-friends.cjs");
20
+ const require_get_group = require("./get-group.cjs");
21
+ const require_get_groups = require("./get-groups.cjs");
22
+ const require_get_notifications = require("./get-notifications.cjs");
23
+ const require_get_user = require("./get-user.cjs");
24
+ const require_remove_user_from_group = require("./remove-user-from-group.cjs");
25
+ const require_undelete_expense = require("./undelete-expense.cjs");
26
+ const require_undelete_group = require("./undelete-group.cjs");
27
+ const require_update_expense = require("./update-expense.cjs");
28
+ const require_update_user = require("./update-user.cjs");
29
+ exports.splitwiseAddFriend = require_add_friend.splitwiseAddFriend;
30
+ exports.splitwiseAddUserToGroup = require_add_user_to_group.splitwiseAddUserToGroup;
31
+ exports.splitwiseCreateComment = require_create_comment.splitwiseCreateComment;
32
+ exports.splitwiseCreateExpense = require_create_expense.splitwiseCreateExpense;
33
+ exports.splitwiseCreateFriends = require_create_friends.splitwiseCreateFriends;
34
+ exports.splitwiseCreateGroup = require_create_group.splitwiseCreateGroup;
35
+ exports.splitwiseDeleteComment = require_delete_comment.splitwiseDeleteComment;
36
+ exports.splitwiseDeleteExpense = require_delete_expense.splitwiseDeleteExpense;
37
+ exports.splitwiseDeleteFriend = require_delete_friend.splitwiseDeleteFriend;
38
+ exports.splitwiseDeleteGroup = require_delete_group.splitwiseDeleteGroup;
39
+ exports.splitwiseGetCategories = require_get_categories.splitwiseGetCategories;
40
+ exports.splitwiseGetComments = require_get_comments.splitwiseGetComments;
41
+ exports.splitwiseGetCurrencies = require_get_currencies.splitwiseGetCurrencies;
42
+ exports.splitwiseGetCurrentUser = require_get_current_user.splitwiseGetCurrentUser;
43
+ exports.splitwiseGetExpense = require_get_expense.splitwiseGetExpense;
44
+ exports.splitwiseGetExpenses = require_get_expenses.splitwiseGetExpenses;
45
+ exports.splitwiseGetFriend = require_get_friend.splitwiseGetFriend;
46
+ exports.splitwiseGetFriends = require_get_friends.splitwiseGetFriends;
47
+ exports.splitwiseGetGroup = require_get_group.splitwiseGetGroup;
48
+ exports.splitwiseGetGroups = require_get_groups.splitwiseGetGroups;
49
+ exports.splitwiseGetNotifications = require_get_notifications.splitwiseGetNotifications;
50
+ exports.splitwiseGetUser = require_get_user.splitwiseGetUser;
51
+ exports.splitwiseRemoveUserFromGroup = require_remove_user_from_group.splitwiseRemoveUserFromGroup;
52
+ exports.splitwiseUndeleteExpense = require_undelete_expense.splitwiseUndeleteExpense;
53
+ exports.splitwiseUndeleteGroup = require_undelete_group.splitwiseUndeleteGroup;
54
+ exports.splitwiseUpdateExpense = require_update_expense.splitwiseUpdateExpense;
55
+ exports.splitwiseUpdateUser = require_update_user.splitwiseUpdateUser;
@@ -0,0 +1,28 @@
1
+ import { splitwiseAddFriend } from "./add-friend.cjs";
2
+ import { splitwiseAddUserToGroup } from "./add-user-to-group.cjs";
3
+ import { splitwiseCreateComment } from "./create-comment.cjs";
4
+ import { splitwiseCreateExpense } from "./create-expense.cjs";
5
+ import { splitwiseCreateFriends } from "./create-friends.cjs";
6
+ import { splitwiseCreateGroup } from "./create-group.cjs";
7
+ import { splitwiseDeleteComment } from "./delete-comment.cjs";
8
+ import { splitwiseDeleteExpense } from "./delete-expense.cjs";
9
+ import { splitwiseDeleteFriend } from "./delete-friend.cjs";
10
+ import { splitwiseDeleteGroup } from "./delete-group.cjs";
11
+ import { splitwiseGetCategories } from "./get-categories.cjs";
12
+ import { splitwiseGetComments } from "./get-comments.cjs";
13
+ import { splitwiseGetCurrencies } from "./get-currencies.cjs";
14
+ import { splitwiseGetCurrentUser } from "./get-current-user.cjs";
15
+ import { splitwiseGetExpense } from "./get-expense.cjs";
16
+ import { splitwiseGetExpenses } from "./get-expenses.cjs";
17
+ import { splitwiseGetFriend } from "./get-friend.cjs";
18
+ import { splitwiseGetFriends } from "./get-friends.cjs";
19
+ import { splitwiseGetGroup } from "./get-group.cjs";
20
+ import { splitwiseGetGroups } from "./get-groups.cjs";
21
+ import { splitwiseGetNotifications } from "./get-notifications.cjs";
22
+ import { splitwiseGetUser } from "./get-user.cjs";
23
+ import { splitwiseRemoveUserFromGroup } from "./remove-user-from-group.cjs";
24
+ import { splitwiseUndeleteExpense } from "./undelete-expense.cjs";
25
+ import { splitwiseUndeleteGroup } from "./undelete-group.cjs";
26
+ import { splitwiseUpdateExpense } from "./update-expense.cjs";
27
+ import { splitwiseUpdateUser } from "./update-user.cjs";
28
+ export { splitwiseAddFriend, splitwiseAddUserToGroup, splitwiseCreateComment, splitwiseCreateExpense, splitwiseCreateFriends, splitwiseCreateGroup, splitwiseDeleteComment, splitwiseDeleteExpense, splitwiseDeleteFriend, splitwiseDeleteGroup, splitwiseGetCategories, splitwiseGetComments, splitwiseGetCurrencies, splitwiseGetCurrentUser, splitwiseGetExpense, splitwiseGetExpenses, splitwiseGetFriend, splitwiseGetFriends, splitwiseGetGroup, splitwiseGetGroups, splitwiseGetNotifications, splitwiseGetUser, splitwiseRemoveUserFromGroup, splitwiseUndeleteExpense, splitwiseUndeleteGroup, splitwiseUpdateExpense, splitwiseUpdateUser };
@@ -0,0 +1,28 @@
1
+ import { splitwiseAddFriend } from "./add-friend.mjs";
2
+ import { splitwiseAddUserToGroup } from "./add-user-to-group.mjs";
3
+ import { splitwiseCreateComment } from "./create-comment.mjs";
4
+ import { splitwiseCreateExpense } from "./create-expense.mjs";
5
+ import { splitwiseCreateFriends } from "./create-friends.mjs";
6
+ import { splitwiseCreateGroup } from "./create-group.mjs";
7
+ import { splitwiseDeleteComment } from "./delete-comment.mjs";
8
+ import { splitwiseDeleteExpense } from "./delete-expense.mjs";
9
+ import { splitwiseDeleteFriend } from "./delete-friend.mjs";
10
+ import { splitwiseDeleteGroup } from "./delete-group.mjs";
11
+ import { splitwiseGetCategories } from "./get-categories.mjs";
12
+ import { splitwiseGetComments } from "./get-comments.mjs";
13
+ import { splitwiseGetCurrencies } from "./get-currencies.mjs";
14
+ import { splitwiseGetCurrentUser } from "./get-current-user.mjs";
15
+ import { splitwiseGetExpense } from "./get-expense.mjs";
16
+ import { splitwiseGetExpenses } from "./get-expenses.mjs";
17
+ import { splitwiseGetFriend } from "./get-friend.mjs";
18
+ import { splitwiseGetFriends } from "./get-friends.mjs";
19
+ import { splitwiseGetGroup } from "./get-group.mjs";
20
+ import { splitwiseGetGroups } from "./get-groups.mjs";
21
+ import { splitwiseGetNotifications } from "./get-notifications.mjs";
22
+ import { splitwiseGetUser } from "./get-user.mjs";
23
+ import { splitwiseRemoveUserFromGroup } from "./remove-user-from-group.mjs";
24
+ import { splitwiseUndeleteExpense } from "./undelete-expense.mjs";
25
+ import { splitwiseUndeleteGroup } from "./undelete-group.mjs";
26
+ import { splitwiseUpdateExpense } from "./update-expense.mjs";
27
+ import { splitwiseUpdateUser } from "./update-user.mjs";
28
+ export { splitwiseAddFriend, splitwiseAddUserToGroup, splitwiseCreateComment, splitwiseCreateExpense, splitwiseCreateFriends, splitwiseCreateGroup, splitwiseDeleteComment, splitwiseDeleteExpense, splitwiseDeleteFriend, splitwiseDeleteGroup, splitwiseGetCategories, splitwiseGetComments, splitwiseGetCurrencies, splitwiseGetCurrentUser, splitwiseGetExpense, splitwiseGetExpenses, splitwiseGetFriend, splitwiseGetFriends, splitwiseGetGroup, splitwiseGetGroups, splitwiseGetNotifications, splitwiseGetUser, splitwiseRemoveUserFromGroup, splitwiseUndeleteExpense, splitwiseUndeleteGroup, splitwiseUpdateExpense, splitwiseUpdateUser };
@@ -0,0 +1,28 @@
1
+ import { splitwiseAddFriend } from "./add-friend.mjs";
2
+ import { splitwiseAddUserToGroup } from "./add-user-to-group.mjs";
3
+ import { splitwiseCreateComment } from "./create-comment.mjs";
4
+ import { splitwiseCreateExpense } from "./create-expense.mjs";
5
+ import { splitwiseCreateFriends } from "./create-friends.mjs";
6
+ import { splitwiseCreateGroup } from "./create-group.mjs";
7
+ import { splitwiseDeleteComment } from "./delete-comment.mjs";
8
+ import { splitwiseDeleteExpense } from "./delete-expense.mjs";
9
+ import { splitwiseDeleteFriend } from "./delete-friend.mjs";
10
+ import { splitwiseDeleteGroup } from "./delete-group.mjs";
11
+ import { splitwiseGetCategories } from "./get-categories.mjs";
12
+ import { splitwiseGetComments } from "./get-comments.mjs";
13
+ import { splitwiseGetCurrencies } from "./get-currencies.mjs";
14
+ import { splitwiseGetCurrentUser } from "./get-current-user.mjs";
15
+ import { splitwiseGetExpense } from "./get-expense.mjs";
16
+ import { splitwiseGetExpenses } from "./get-expenses.mjs";
17
+ import { splitwiseGetFriend } from "./get-friend.mjs";
18
+ import { splitwiseGetFriends } from "./get-friends.mjs";
19
+ import { splitwiseGetGroup } from "./get-group.mjs";
20
+ import { splitwiseGetGroups } from "./get-groups.mjs";
21
+ import { splitwiseGetNotifications } from "./get-notifications.mjs";
22
+ import { splitwiseGetUser } from "./get-user.mjs";
23
+ import { splitwiseRemoveUserFromGroup } from "./remove-user-from-group.mjs";
24
+ import { splitwiseUndeleteExpense } from "./undelete-expense.mjs";
25
+ import { splitwiseUndeleteGroup } from "./undelete-group.mjs";
26
+ import { splitwiseUpdateExpense } from "./update-expense.mjs";
27
+ import { splitwiseUpdateUser } from "./update-user.mjs";
28
+ export { splitwiseAddFriend, splitwiseAddUserToGroup, splitwiseCreateComment, splitwiseCreateExpense, splitwiseCreateFriends, splitwiseCreateGroup, splitwiseDeleteComment, splitwiseDeleteExpense, splitwiseDeleteFriend, splitwiseDeleteGroup, splitwiseGetCategories, splitwiseGetComments, splitwiseGetCurrencies, splitwiseGetCurrentUser, splitwiseGetExpense, splitwiseGetExpenses, splitwiseGetFriend, splitwiseGetFriends, splitwiseGetGroup, splitwiseGetGroups, splitwiseGetNotifications, splitwiseGetUser, splitwiseRemoveUserFromGroup, splitwiseUndeleteExpense, splitwiseUndeleteGroup, splitwiseUpdateExpense, splitwiseUpdateUser };
@@ -0,0 +1,22 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/remove-user-from-group.ts
4
+ const SplitwiseRemoveUserFromGroupInput = zod.z.object({
5
+ user_id: zod.z.number().int().describe("The ID of the user to remove from the group. User must have a zero balance in the group to be removed."),
6
+ group_id: zod.z.number().int().describe("The ID of the group from which to remove the user")
7
+ }).describe("Request parameters for removing a user from a group.");
8
+ const SplitwiseRemoveUserFromGroupOutput = zod.z.object({
9
+ errors: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Any errors encountered during the operation. May contain details if user has non-zero balance.").nullable().optional(),
10
+ success: zod.z.boolean().describe("Indicates whether the removal was successful. Always check this field as 200 OK does not guarantee success.")
11
+ }).describe("Response model for removing a user from a group.");
12
+ const splitwiseRemoveUserFromGroup = require_action.action("SPLITWISE_REMOVE_USER_FROM_GROUP", {
13
+ slug: "splitwise-remove-user-from-group",
14
+ name: "Remove User from Group",
15
+ description: "Tool to remove a user from a group. Use when you need to remove a user from a specific group. Note: User must have a zero balance in the group for removal to succeed. 200 OK does not indicate success; always check the response 'success' field.",
16
+ input: SplitwiseRemoveUserFromGroupInput,
17
+ output: SplitwiseRemoveUserFromGroupOutput
18
+ });
19
+ //#endregion
20
+ exports.splitwiseRemoveUserFromGroup = splitwiseRemoveUserFromGroup;
21
+
22
+ //# sourceMappingURL=remove-user-from-group.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"remove-user-from-group.cjs","names":["z","action"],"sources":["../../src/actions/remove-user-from-group.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SplitwiseRemoveUserFromGroupInput: z.ZodTypeAny = z.object({\n user_id: z.number().int().describe(\"The ID of the user to remove from the group. User must have a zero balance in the group to be removed.\"),\n group_id: z.number().int().describe(\"The ID of the group from which to remove the user\"),\n}).describe(\"Request parameters for removing a user from a group.\");\nexport const SplitwiseRemoveUserFromGroupOutput: z.ZodTypeAny = z.object({\n errors: z.record(z.string(), z.unknown()).describe(\"Any errors encountered during the operation. May contain details if user has non-zero balance.\").nullable().optional(),\n success: z.boolean().describe(\"Indicates whether the removal was successful. Always check this field as 200 OK does not guarantee success.\"),\n}).describe(\"Response model for removing a user from a group.\");\n\nexport const splitwiseRemoveUserFromGroup = action(\"SPLITWISE_REMOVE_USER_FROM_GROUP\", {\n slug: \"splitwise-remove-user-from-group\",\n name: \"Remove User from Group\",\n description: \"Tool to remove a user from a group. Use when you need to remove a user from a specific group. Note: User must have a zero balance in the group for removal to succeed. 200 OK does not indicate success; always check the response 'success' field.\",\n input: SplitwiseRemoveUserFromGroupInput,\n output: SplitwiseRemoveUserFromGroupOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAkDA,IAAAA,EAAE,OAAO;CACtE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wGAAwG;CAC3I,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD;AACzF,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAa,qCAAmDA,IAAAA,EAAE,OAAO;CACvE,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,gGAAgG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzK,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,6GAA6G;AAC7I,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAE9D,MAAa,+BAA+BC,eAAAA,OAAO,oCAAoC;CACrF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/remove-user-from-group.d.ts
4
+ declare const SplitwiseRemoveUserFromGroupInput: z.ZodTypeAny;
5
+ declare const SplitwiseRemoveUserFromGroupOutput: z.ZodTypeAny;
6
+ declare const splitwiseRemoveUserFromGroup: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { splitwiseRemoveUserFromGroup };
9
+ //# sourceMappingURL=remove-user-from-group.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"remove-user-from-group.d.cts","names":[],"sources":["../../src/actions/remove-user-from-group.ts"],"mappings":";;;cAIa,iCAAA,EAAmC,CAAA,CAAE,UAGiB;AAAA,cACtD,kCAAA,EAAoC,CAAA,CAAE,UAGY;AAAA,cAElD,4BAAA,gCAA4B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/remove-user-from-group.d.ts
4
+ declare const SplitwiseRemoveUserFromGroupInput: z.ZodTypeAny;
5
+ declare const SplitwiseRemoveUserFromGroupOutput: z.ZodTypeAny;
6
+ declare const splitwiseRemoveUserFromGroup: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { splitwiseRemoveUserFromGroup };
9
+ //# sourceMappingURL=remove-user-from-group.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"remove-user-from-group.d.mts","names":[],"sources":["../../src/actions/remove-user-from-group.ts"],"mappings":";;;cAIa,iCAAA,EAAmC,CAAA,CAAE,UAGiB;AAAA,cACtD,kCAAA,EAAoC,CAAA,CAAE,UAGY;AAAA,cAElD,4BAAA,gCAA4B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,19 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ const splitwiseRemoveUserFromGroup = action("SPLITWISE_REMOVE_USER_FROM_GROUP", {
4
+ slug: "splitwise-remove-user-from-group",
5
+ name: "Remove User from Group",
6
+ description: "Tool to remove a user from a group. Use when you need to remove a user from a specific group. Note: User must have a zero balance in the group for removal to succeed. 200 OK does not indicate success; always check the response 'success' field.",
7
+ input: z.object({
8
+ user_id: z.number().int().describe("The ID of the user to remove from the group. User must have a zero balance in the group to be removed."),
9
+ group_id: z.number().int().describe("The ID of the group from which to remove the user")
10
+ }).describe("Request parameters for removing a user from a group."),
11
+ output: z.object({
12
+ errors: z.record(z.string(), z.unknown()).describe("Any errors encountered during the operation. May contain details if user has non-zero balance.").nullable().optional(),
13
+ success: z.boolean().describe("Indicates whether the removal was successful. Always check this field as 200 OK does not guarantee success.")
14
+ }).describe("Response model for removing a user from a group.")
15
+ });
16
+ //#endregion
17
+ export { splitwiseRemoveUserFromGroup };
18
+
19
+ //# sourceMappingURL=remove-user-from-group.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"remove-user-from-group.mjs","names":[],"sources":["../../src/actions/remove-user-from-group.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SplitwiseRemoveUserFromGroupInput: z.ZodTypeAny = z.object({\n user_id: z.number().int().describe(\"The ID of the user to remove from the group. User must have a zero balance in the group to be removed.\"),\n group_id: z.number().int().describe(\"The ID of the group from which to remove the user\"),\n}).describe(\"Request parameters for removing a user from a group.\");\nexport const SplitwiseRemoveUserFromGroupOutput: z.ZodTypeAny = z.object({\n errors: z.record(z.string(), z.unknown()).describe(\"Any errors encountered during the operation. May contain details if user has non-zero balance.\").nullable().optional(),\n success: z.boolean().describe(\"Indicates whether the removal was successful. Always check this field as 200 OK does not guarantee success.\"),\n}).describe(\"Response model for removing a user from a group.\");\n\nexport const splitwiseRemoveUserFromGroup = action(\"SPLITWISE_REMOVE_USER_FROM_GROUP\", {\n slug: \"splitwise-remove-user-from-group\",\n name: \"Remove User from Group\",\n description: \"Tool to remove a user from a group. Use when you need to remove a user from a specific group. Note: User must have a zero balance in the group for removal to succeed. 200 OK does not indicate success; always check the response 'success' field.\",\n input: SplitwiseRemoveUserFromGroupInput,\n output: SplitwiseRemoveUserFromGroupOutput,\n});\n"],"mappings":";;AAaA,MAAa,+BAA+B,OAAO,oCAAoC;CACrF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAb6D,EAAE,OAAO;EACtE,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wGAAwG;EAC3I,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD;CACzF,CAAC,CAAC,CAAC,SAAS,sDAUH;CACP,QAV8D,EAAE,OAAO;EACvE,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,gGAAgG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzK,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,6GAA6G;CAC7I,CAAC,CAAC,CAAC,SAAS,kDAOF;AACV,CAAC"}
@@ -0,0 +1,19 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/undelete-expense.ts
4
+ const SplitwiseUndeleteExpenseInput = zod.z.object({ id: zod.z.number().int().describe("The unique identifier of the expense to restore.") }).describe("Request model for restoring a deleted expense.");
5
+ const SplitwiseUndeleteExpenseOutput = zod.z.object({
6
+ errors: zod.z.array(zod.z.string()).describe("List of error messages if the restoration failed.").nullable().optional(),
7
+ success: zod.z.boolean().describe("Indicates whether the expense was successfully restored.")
8
+ }).describe("Response model for the UndeleteExpense action.");
9
+ const splitwiseUndeleteExpense = require_action.action("SPLITWISE_UNDELETE_EXPENSE", {
10
+ slug: "splitwise-undelete-expense",
11
+ name: "Restore Deleted Expense",
12
+ description: "Tool to restore a previously deleted expense and its associated records. Use when you need to recover an expense that was deleted. Call after confirming the correct expense ID. Not a guaranteed undo mechanism — treat deletion as high-impact and verify restoration completeness afterward.",
13
+ input: SplitwiseUndeleteExpenseInput,
14
+ output: SplitwiseUndeleteExpenseOutput
15
+ });
16
+ //#endregion
17
+ exports.splitwiseUndeleteExpense = splitwiseUndeleteExpense;
18
+
19
+ //# sourceMappingURL=undelete-expense.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"undelete-expense.cjs","names":["z","action"],"sources":["../../src/actions/undelete-expense.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SplitwiseUndeleteExpenseInput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"The unique identifier of the expense to restore.\"),\n}).describe(\"Request model for restoring a deleted expense.\");\nexport const SplitwiseUndeleteExpenseOutput: z.ZodTypeAny = z.object({\n errors: z.array(z.string()).describe(\"List of error messages if the restoration failed.\").nullable().optional(),\n success: z.boolean().describe(\"Indicates whether the expense was successfully restored.\"),\n}).describe(\"Response model for the UndeleteExpense action.\");\n\nexport const splitwiseUndeleteExpense = action(\"SPLITWISE_UNDELETE_EXPENSE\", {\n slug: \"splitwise-undelete-expense\",\n name: \"Restore Deleted Expense\",\n description: \"Tool to restore a previously deleted expense and its associated records. Use when you need to recover an expense that was deleted. Call after confirming the correct expense ID. Not a guaranteed undo mechanism — treat deletion as high-impact and verify restoration completeness afterward.\",\n input: SplitwiseUndeleteExpenseInput,\n output: SplitwiseUndeleteExpenseOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAA8CA,IAAAA,EAAE,OAAO,EAClE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,EAClF,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAC5D,MAAa,iCAA+CA,IAAAA,EAAE,OAAO;CACnE,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,0DAA0D;AAC1F,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAE5D,MAAa,2BAA2BC,eAAAA,OAAO,8BAA8B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/undelete-expense.d.ts
4
+ declare const SplitwiseUndeleteExpenseInput: z.ZodTypeAny;
5
+ declare const SplitwiseUndeleteExpenseOutput: z.ZodTypeAny;
6
+ declare const splitwiseUndeleteExpense: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { splitwiseUndeleteExpense };
9
+ //# sourceMappingURL=undelete-expense.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"undelete-expense.d.cts","names":[],"sources":["../../src/actions/undelete-expense.ts"],"mappings":";;;cAIa,6BAAA,EAA+B,CAAA,CAAE,UAEe;AAAA,cAChD,8BAAA,EAAgC,CAAA,CAAE,UAGc;AAAA,cAEhD,wBAAA,gCAAwB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/undelete-expense.d.ts
4
+ declare const SplitwiseUndeleteExpenseInput: z.ZodTypeAny;
5
+ declare const SplitwiseUndeleteExpenseOutput: z.ZodTypeAny;
6
+ declare const splitwiseUndeleteExpense: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { splitwiseUndeleteExpense };
9
+ //# sourceMappingURL=undelete-expense.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"undelete-expense.d.mts","names":[],"sources":["../../src/actions/undelete-expense.ts"],"mappings":";;;cAIa,6BAAA,EAA+B,CAAA,CAAE,UAEe;AAAA,cAChD,8BAAA,EAAgC,CAAA,CAAE,UAGc;AAAA,cAEhD,wBAAA,gCAAwB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,16 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ const splitwiseUndeleteExpense = action("SPLITWISE_UNDELETE_EXPENSE", {
4
+ slug: "splitwise-undelete-expense",
5
+ name: "Restore Deleted Expense",
6
+ description: "Tool to restore a previously deleted expense and its associated records. Use when you need to recover an expense that was deleted. Call after confirming the correct expense ID. Not a guaranteed undo mechanism — treat deletion as high-impact and verify restoration completeness afterward.",
7
+ input: z.object({ id: z.number().int().describe("The unique identifier of the expense to restore.") }).describe("Request model for restoring a deleted expense."),
8
+ output: z.object({
9
+ errors: z.array(z.string()).describe("List of error messages if the restoration failed.").nullable().optional(),
10
+ success: z.boolean().describe("Indicates whether the expense was successfully restored.")
11
+ }).describe("Response model for the UndeleteExpense action.")
12
+ });
13
+ //#endregion
14
+ export { splitwiseUndeleteExpense };
15
+
16
+ //# sourceMappingURL=undelete-expense.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"undelete-expense.mjs","names":[],"sources":["../../src/actions/undelete-expense.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SplitwiseUndeleteExpenseInput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"The unique identifier of the expense to restore.\"),\n}).describe(\"Request model for restoring a deleted expense.\");\nexport const SplitwiseUndeleteExpenseOutput: z.ZodTypeAny = z.object({\n errors: z.array(z.string()).describe(\"List of error messages if the restoration failed.\").nullable().optional(),\n success: z.boolean().describe(\"Indicates whether the expense was successfully restored.\"),\n}).describe(\"Response model for the UndeleteExpense action.\");\n\nexport const splitwiseUndeleteExpense = action(\"SPLITWISE_UNDELETE_EXPENSE\", {\n slug: \"splitwise-undelete-expense\",\n name: \"Restore Deleted Expense\",\n description: \"Tool to restore a previously deleted expense and its associated records. Use when you need to recover an expense that was deleted. Call after confirming the correct expense ID. Not a guaranteed undo mechanism — treat deletion as high-impact and verify restoration completeness afterward.\",\n input: SplitwiseUndeleteExpenseInput,\n output: SplitwiseUndeleteExpenseOutput,\n});\n"],"mappings":";;AAYA,MAAa,2BAA2B,OAAO,8BAA8B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZyD,EAAE,OAAO,EAClE,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,EAClF,CAAC,CAAC,CAAC,SAAS,gDAUH;CACP,QAV0D,EAAE,OAAO;EACnE,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9G,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,0DAA0D;CAC1F,CAAC,CAAC,CAAC,SAAS,gDAOF;AACV,CAAC"}
@@ -0,0 +1,19 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/undelete-group.ts
4
+ const SplitwiseUndeleteGroupInput = zod.z.object({ id: zod.z.number().int().describe("The unique identifier of the group to restore.") }).describe("Request model for restoring a deleted group.");
5
+ const SplitwiseUndeleteGroupOutput = zod.z.object({
6
+ errors: zod.z.array(zod.z.string()).describe("List of error messages if the restoration failed.").nullable().optional(),
7
+ success: zod.z.boolean().describe("Indicates whether the group was successfully restored.")
8
+ }).describe("Response model for the UndeleteGroup action.");
9
+ const splitwiseUndeleteGroup = require_action.action("SPLITWISE_UNDELETE_GROUP", {
10
+ slug: "splitwise-undelete-group",
11
+ name: "Restore Deleted Group",
12
+ description: "Tool to restore a previously deleted group and all its associated records. Use when you need to recover a group that was deleted. Call after confirming the correct group ID.",
13
+ input: SplitwiseUndeleteGroupInput,
14
+ output: SplitwiseUndeleteGroupOutput
15
+ });
16
+ //#endregion
17
+ exports.splitwiseUndeleteGroup = splitwiseUndeleteGroup;
18
+
19
+ //# sourceMappingURL=undelete-group.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"undelete-group.cjs","names":["z","action"],"sources":["../../src/actions/undelete-group.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SplitwiseUndeleteGroupInput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"The unique identifier of the group to restore.\"),\n}).describe(\"Request model for restoring a deleted group.\");\nexport const SplitwiseUndeleteGroupOutput: z.ZodTypeAny = z.object({\n errors: z.array(z.string()).describe(\"List of error messages if the restoration failed.\").nullable().optional(),\n success: z.boolean().describe(\"Indicates whether the group was successfully restored.\"),\n}).describe(\"Response model for the UndeleteGroup action.\");\n\nexport const splitwiseUndeleteGroup = action(\"SPLITWISE_UNDELETE_GROUP\", {\n slug: \"splitwise-undelete-group\",\n name: \"Restore Deleted Group\",\n description: \"Tool to restore a previously deleted group and all its associated records. Use when you need to recover a group that was deleted. Call after confirming the correct group ID.\",\n input: SplitwiseUndeleteGroupInput,\n output: SplitwiseUndeleteGroupOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA4CA,IAAAA,EAAE,OAAO,EAChE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,EAChF,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAC1D,MAAa,+BAA6CA,IAAAA,EAAE,OAAO;CACjE,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,wDAAwD;AACxF,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAE1D,MAAa,yBAAyBC,eAAAA,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/undelete-group.d.ts
4
+ declare const SplitwiseUndeleteGroupInput: z.ZodTypeAny;
5
+ declare const SplitwiseUndeleteGroupOutput: z.ZodTypeAny;
6
+ declare const splitwiseUndeleteGroup: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { splitwiseUndeleteGroup };
9
+ //# sourceMappingURL=undelete-group.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"undelete-group.d.cts","names":[],"sources":["../../src/actions/undelete-group.ts"],"mappings":";;;cAIa,2BAAA,EAA6B,CAAA,CAAE,UAEe;AAAA,cAC9C,4BAAA,EAA8B,CAAA,CAAE,UAGc;AAAA,cAE9C,sBAAA,gCAAsB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/undelete-group.d.ts
4
+ declare const SplitwiseUndeleteGroupInput: z.ZodTypeAny;
5
+ declare const SplitwiseUndeleteGroupOutput: z.ZodTypeAny;
6
+ declare const splitwiseUndeleteGroup: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { splitwiseUndeleteGroup };
9
+ //# sourceMappingURL=undelete-group.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"undelete-group.d.mts","names":[],"sources":["../../src/actions/undelete-group.ts"],"mappings":";;;cAIa,2BAAA,EAA6B,CAAA,CAAE,UAEe;AAAA,cAC9C,4BAAA,EAA8B,CAAA,CAAE,UAGc;AAAA,cAE9C,sBAAA,gCAAsB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,16 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ const splitwiseUndeleteGroup = action("SPLITWISE_UNDELETE_GROUP", {
4
+ slug: "splitwise-undelete-group",
5
+ name: "Restore Deleted Group",
6
+ description: "Tool to restore a previously deleted group and all its associated records. Use when you need to recover a group that was deleted. Call after confirming the correct group ID.",
7
+ input: z.object({ id: z.number().int().describe("The unique identifier of the group to restore.") }).describe("Request model for restoring a deleted group."),
8
+ output: z.object({
9
+ errors: z.array(z.string()).describe("List of error messages if the restoration failed.").nullable().optional(),
10
+ success: z.boolean().describe("Indicates whether the group was successfully restored.")
11
+ }).describe("Response model for the UndeleteGroup action.")
12
+ });
13
+ //#endregion
14
+ export { splitwiseUndeleteGroup };
15
+
16
+ //# sourceMappingURL=undelete-group.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"undelete-group.mjs","names":[],"sources":["../../src/actions/undelete-group.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SplitwiseUndeleteGroupInput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"The unique identifier of the group to restore.\"),\n}).describe(\"Request model for restoring a deleted group.\");\nexport const SplitwiseUndeleteGroupOutput: z.ZodTypeAny = z.object({\n errors: z.array(z.string()).describe(\"List of error messages if the restoration failed.\").nullable().optional(),\n success: z.boolean().describe(\"Indicates whether the group was successfully restored.\"),\n}).describe(\"Response model for the UndeleteGroup action.\");\n\nexport const splitwiseUndeleteGroup = action(\"SPLITWISE_UNDELETE_GROUP\", {\n slug: \"splitwise-undelete-group\",\n name: \"Restore Deleted Group\",\n description: \"Tool to restore a previously deleted group and all its associated records. Use when you need to recover a group that was deleted. Call after confirming the correct group ID.\",\n input: SplitwiseUndeleteGroupInput,\n output: SplitwiseUndeleteGroupOutput,\n});\n"],"mappings":";;AAYA,MAAa,yBAAyB,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZuD,EAAE,OAAO,EAChE,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,EAChF,CAAC,CAAC,CAAC,SAAS,8CAUH;CACP,QAVwD,EAAE,OAAO;EACjE,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9G,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,wDAAwD;CACxF,CAAC,CAAC,CAAC,SAAS,8CAOF;AACV,CAAC"}
@@ -0,0 +1,43 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/update-expense.ts
4
+ const SplitwiseUpdateExpenseInput = zod.z.object({
5
+ id: zod.z.number().int().describe("ID of the expense to update"),
6
+ cost: zod.z.string().describe("Total cost as string decimal with max 2 dp").optional(),
7
+ date: zod.z.string().describe("When the expense took place (ISO 8601) Convert natural-language or locale-specific dates to ISO 8601 before sending.").optional(),
8
+ users: zod.z.array(zod.z.object({
9
+ email: zod.z.string().describe("Email of the participant").optional(),
10
+ user_id: zod.z.number().int().describe("ID of an existing Splitwise user").optional(),
11
+ last_name: zod.z.string().describe("Last name of the participant").optional(),
12
+ first_name: zod.z.string().describe("First name of the participant").optional(),
13
+ owed_share: zod.z.string().describe("Amount this user owes (string decimal, 2 dp)"),
14
+ paid_share: zod.z.string().describe("Amount this user paid (string decimal, 2 dp)")
15
+ }).describe("A single participant's share when splitting an expense.\nMust include either user_id or the triplet (email, first_name, last_name).")).describe("List of custom share allocations. WARNING: If provided, ALL expense shares will be overwritten Each user entry must include `paid_share` and `owed_share`; both fields must each independently sum exactly to `cost`. Omit this field entirely unless a full overwrite of all shares is intended.").optional(),
16
+ details: zod.z.string().describe("Additional notes for the expense").optional(),
17
+ group_id: zod.z.number().int().describe("Group ID to assign this expense to (0 for no group)").optional(),
18
+ category_id: zod.z.number().int().describe("Category ID from get_categories").optional(),
19
+ description: zod.z.string().describe("Short description of the expense").optional(),
20
+ currency_code: zod.z.string().describe("3-letter currency code, e.g., USD").optional(),
21
+ repeat_interval: zod.z.enum([
22
+ "never",
23
+ "weekly",
24
+ "fortnightly",
25
+ "monthly",
26
+ "yearly"
27
+ ]).describe("Repeat interval for the expense").optional()
28
+ }).describe("Request model for updating an existing expense.\nOnly include fields you want to change. If any users parameter is provided,\nALL expense shares will be overwritten.");
29
+ const SplitwiseUpdateExpenseOutput = zod.z.object({
30
+ errors: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Errors returned by the API; empty if none"),
31
+ expenses: zod.z.array(zod.z.record(zod.z.string(), zod.z.unknown())).describe("List containing the updated expense object")
32
+ }).describe("Response model for update_expense action.");
33
+ const splitwiseUpdateExpense = require_action.action("SPLITWISE_UPDATE_EXPENSE", {
34
+ slug: "splitwise-update-expense",
35
+ name: "Update Expense",
36
+ description: "Tool to update an existing Splitwise expense. Use when you need to modify expense details such as cost, description, or participant shares. Only include fields you want to change. Note that a 200 OK response does not guarantee success - check that the errors object is empty.",
37
+ input: SplitwiseUpdateExpenseInput,
38
+ output: SplitwiseUpdateExpenseOutput
39
+ });
40
+ //#endregion
41
+ exports.splitwiseUpdateExpense = splitwiseUpdateExpense;
42
+
43
+ //# sourceMappingURL=update-expense.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"update-expense.cjs","names":["z","action"],"sources":["../../src/actions/update-expense.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SplitwiseUpdateExpenseInput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"ID of the expense to update\"),\n cost: z.string().describe(\"Total cost as string decimal with max 2 dp\").optional(),\n date: z.string().describe(\"When the expense took place (ISO 8601) Convert natural-language or locale-specific dates to ISO 8601 before sending.\").optional(),\n users: z.array(z.object({\n email: z.string().describe(\"Email of the participant\").optional(),\n user_id: z.number().int().describe(\"ID of an existing Splitwise user\").optional(),\n last_name: z.string().describe(\"Last name of the participant\").optional(),\n first_name: z.string().describe(\"First name of the participant\").optional(),\n owed_share: z.string().describe(\"Amount this user owes (string decimal, 2 dp)\"),\n paid_share: z.string().describe(\"Amount this user paid (string decimal, 2 dp)\"),\n}).describe(\"A single participant's share when splitting an expense.\\nMust include either user_id or the triplet (email, first_name, last_name).\")).describe(\"List of custom share allocations. WARNING: If provided, ALL expense shares will be overwritten Each user entry must include `paid_share` and `owed_share`; both fields must each independently sum exactly to `cost`. Omit this field entirely unless a full overwrite of all shares is intended.\").optional(),\n details: z.string().describe(\"Additional notes for the expense\").optional(),\n group_id: z.number().int().describe(\"Group ID to assign this expense to (0 for no group)\").optional(),\n category_id: z.number().int().describe(\"Category ID from get_categories\").optional(),\n description: z.string().describe(\"Short description of the expense\").optional(),\n currency_code: z.string().describe(\"3-letter currency code, e.g., USD\").optional(),\n repeat_interval: z.enum([\"never\", \"weekly\", \"fortnightly\", \"monthly\", \"yearly\"]).describe(\"Repeat interval for the expense\").optional(),\n}).describe(\"Request model for updating an existing expense.\\nOnly include fields you want to change. If any users parameter is provided,\\nALL expense shares will be overwritten.\");\nexport const SplitwiseUpdateExpenseOutput: z.ZodTypeAny = z.object({\n errors: z.record(z.string(), z.unknown()).describe(\"Errors returned by the API; empty if none\"),\n expenses: z.array(z.record(z.string(), z.unknown())).describe(\"List containing the updated expense object\"),\n}).describe(\"Response model for update_expense action.\");\n\nexport const splitwiseUpdateExpense = action(\"SPLITWISE_UPDATE_EXPENSE\", {\n slug: \"splitwise-update-expense\",\n name: \"Update Expense\",\n description: \"Tool to update an existing Splitwise expense. Use when you need to modify expense details such as cost, description, or participant shares. Only include fields you want to change. Note that a 200 OK response does not guarantee success - check that the errors object is empty.\",\n input: SplitwiseUpdateExpenseInput,\n output: SplitwiseUpdateExpenseOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA4CA,IAAAA,EAAE,OAAO;CAChE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B;CAC3D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACjF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sHAAsH,CAAC,CAAC,SAAS;CAC3J,OAAOA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EACxB,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;EAChE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;EAChF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;EACxE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;EAC1E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;EAC9E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;CAChF,CAAC,CAAC,CAAC,SAAS,qIAAqI,CAAC,CAAC,CAAC,SAAS,mSAAmS,CAAC,CAAC,SAAS;CACzc,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAC1E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CACpG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACnF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAC9E,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACjF,iBAAiBA,IAAAA,EAAE,KAAK;EAAC;EAAS;EAAU;EAAe;EAAW;CAAQ,CAAC,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;AACxI,CAAC,CAAC,CAAC,SAAS,uKAAuK;AACnL,MAAa,+BAA6CA,IAAAA,EAAE,OAAO;CACjE,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,2CAA2C;CAC9F,UAAUA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,4CAA4C;AAC5G,CAAC,CAAC,CAAC,SAAS,2CAA2C;AAEvD,MAAa,yBAAyBC,eAAAA,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}