@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 +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.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.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}).passthrough().describe(\"URLs for the user's profile picture in different sizes.\");\nconst SplitwiseGetUser_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().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}).passthrough().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.object({\n user: SplitwiseGetUser_UserSchema.nullable(),\n}).passthrough().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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A2N;AAKrP,MAAa,mBAAmB,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAToC,EAAE,OAAO,EAC7C,MAAM,4BAA4B,SAAS,EAC7C,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"get-user.mjs","names":[],"sources":["../../src/actions/get-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 SplitwiseGetUserInput = 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.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}).passthrough().describe(\"URLs for the user's profile picture in different sizes.\");\nconst SplitwiseGetUser_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().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}).passthrough().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.object({\n user: SplitwiseGetUser_UserSchema.nullable(),\n}).passthrough().describe(\"Response schema for user information.\");\n\nexport const splitwiseGetUser: AppAction<\n typeof SplitwiseGetUserInput,\n typeof SplitwiseGetUserOutput,\n typeof splitwise.credential\n> = 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":";;;;AAMA,MAAa,wBAAwB,EAAE,OAAO,EAC5C,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4IAA4I,EAC5K,CAAC,CAAC,CAAC,SAAS,uDAAuD;AACnE,MAAM,iCAAiC,EAAE,OAAO;CAC9C,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,YAAY,CAAC,CAAC,SAAS,yDAAyD;AACnF,MAAM,8BAA8B,EAAE,OAAO;CAC3C,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CAC1E,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,YAAY,CAAC,CAAC,SAAS,2NAA2N;AAKrP,MAAa,mBAIT,OAAO,sBAAsB;CAC/B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAboC,EAAE,OAAO,EAC7C,MAAM,4BAA4B,SAAS,EAC7C,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/remove-user-from-group.ts
@@ -1 +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.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.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.\").nullable(),\n}).passthrough().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,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,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,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,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,CAAC,CAAC,SAAS;AACxJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAAkD;AAE5E,MAAa,+BAA+BC,eAAAA,OAAO,oCAAoC;CACrF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"remove-user-from-group.cjs","names":["z","action"],"sources":["../../src/actions/remove-user-from-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 SplitwiseRemoveUserFromGroupInput = 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.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.\").nullable(),\n}).passthrough().describe(\"Response model for removing a user from a group.\");\n\nexport const splitwiseRemoveUserFromGroup: AppAction<\n typeof SplitwiseRemoveUserFromGroupInput,\n typeof SplitwiseRemoveUserFromGroupOutput,\n typeof splitwise.credential\n> = 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":";;;;AAMA,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,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,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,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,CAAC,CAAC,SAAS;AACxJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAAkD;AAE5E,MAAa,+BAITC,eAAAA,OAAO,oCAAoC;CAC7C,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/remove-user-from-group.d.ts
@@ -9,10 +11,7 @@ declare const SplitwiseRemoveUserFromGroupOutput: z.ZodObject<{
9
11
  errors: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
10
12
  success: z.ZodNullable<z.ZodBoolean>;
11
13
  }, z.core.$loose>;
12
- declare const splitwiseRemoveUserFromGroup: import("@keystrokehq/action").WorkflowActionDefinition<{
13
- user_id: number;
14
- group_id: number;
15
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
14
+ declare const splitwiseRemoveUserFromGroup: AppAction<typeof SplitwiseRemoveUserFromGroupInput, typeof SplitwiseRemoveUserFromGroupOutput, typeof splitwise.credential>;
16
15
  //#endregion
17
16
  export { splitwiseRemoveUserFromGroup };
18
17
  //# sourceMappingURL=remove-user-from-group.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"remove-user-from-group.d.cts","names":[],"sources":["../../src/actions/remove-user-from-group.ts"],"mappings":";;;cAIa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;cAIjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;cAKlC,4BAAA,gCAA4B,wBAAA"}
1
+ {"version":3,"file":"remove-user-from-group.d.cts","names":[],"sources":["../../src/actions/remove-user-from-group.ts"],"mappings":";;;;;cAMa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;cAIjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;cAKlC,4BAAA,EAA8B,SAAA,QAClC,iCAAA,SACA,kCAAA,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/remove-user-from-group.d.ts
@@ -9,10 +11,7 @@ declare const SplitwiseRemoveUserFromGroupOutput: z.ZodObject<{
9
11
  errors: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
10
12
  success: z.ZodNullable<z.ZodBoolean>;
11
13
  }, z.core.$loose>;
12
- declare const splitwiseRemoveUserFromGroup: import("@keystrokehq/action").WorkflowActionDefinition<{
13
- user_id: number;
14
- group_id: number;
15
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
14
+ declare const splitwiseRemoveUserFromGroup: AppAction<typeof SplitwiseRemoveUserFromGroupInput, typeof SplitwiseRemoveUserFromGroupOutput, typeof splitwise.credential>;
16
15
  //#endregion
17
16
  export { splitwiseRemoveUserFromGroup };
18
17
  //# sourceMappingURL=remove-user-from-group.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"remove-user-from-group.d.mts","names":[],"sources":["../../src/actions/remove-user-from-group.ts"],"mappings":";;;cAIa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;cAIjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;cAKlC,4BAAA,gCAA4B,wBAAA"}
1
+ {"version":3,"file":"remove-user-from-group.d.mts","names":[],"sources":["../../src/actions/remove-user-from-group.ts"],"mappings":";;;;;cAMa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;cAIjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;cAKlC,4BAAA,EAA8B,SAAA,QAClC,iCAAA,SACA,kCAAA,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 splitwiseRemoveUserFromGroup = action("SPLITWISE_REMOVE_USER_FROM_GROUP", {
@@ -1 +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.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.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.\").nullable(),\n}).passthrough().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,OAb+C,EAAE,OAAO;EACxD,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,QAVgD,EAAE,OAAO;EACzD,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,CAAC,CAAC,SAAS;CACxJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"remove-user-from-group.mjs","names":[],"sources":["../../src/actions/remove-user-from-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 SplitwiseRemoveUserFromGroupInput = 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.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.\").nullable(),\n}).passthrough().describe(\"Response model for removing a user from a group.\");\n\nexport const splitwiseRemoveUserFromGroup: AppAction<\n typeof SplitwiseRemoveUserFromGroupInput,\n typeof SplitwiseRemoveUserFromGroupOutput,\n typeof splitwise.credential\n> = 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":";;;AAeA,MAAa,+BAIT,OAAO,oCAAoC;CAC7C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAjB+C,EAAE,OAAO;EACxD,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,sDAcH;CACP,QAdgD,EAAE,OAAO;EACzD,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,CAAC,CAAC,SAAS;CACxJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAWhB;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/undelete-expense.ts
@@ -1 +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.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.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.\").nullable(),\n}).passthrough().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,gCAAgCA,IAAAA,EAAE,OAAO,EACpD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,EAClF,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAC5D,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,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,CAAC,CAAC,SAAS;AACrG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAAgD;AAE1E,MAAa,2BAA2BC,eAAAA,OAAO,8BAA8B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"undelete-expense.cjs","names":["z","action"],"sources":["../../src/actions/undelete-expense.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 SplitwiseUndeleteExpenseInput = 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.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.\").nullable(),\n}).passthrough().describe(\"Response model for the UndeleteExpense action.\");\n\nexport const splitwiseUndeleteExpense: AppAction<\n typeof SplitwiseUndeleteExpenseInput,\n typeof SplitwiseUndeleteExpenseOutput,\n typeof splitwise.credential\n> = 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":";;;;AAMA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO,EACpD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,EAClF,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAC5D,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,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,CAAC,CAAC,SAAS;AACrG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAAgD;AAE1E,MAAa,2BAITC,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/undelete-expense.d.ts
@@ -8,9 +10,7 @@ declare const SplitwiseUndeleteExpenseOutput: 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 splitwiseUndeleteExpense: 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 splitwiseUndeleteExpense: AppAction<typeof SplitwiseUndeleteExpenseInput, typeof SplitwiseUndeleteExpenseOutput, typeof splitwise.credential>;
14
14
  //#endregion
15
15
  export { splitwiseUndeleteExpense };
16
16
  //# sourceMappingURL=undelete-expense.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"undelete-expense.d.cts","names":[],"sources":["../../src/actions/undelete-expense.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;cAG7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;cAK9B,wBAAA,gCAAwB,wBAAA"}
1
+ {"version":3,"file":"undelete-expense.d.cts","names":[],"sources":["../../src/actions/undelete-expense.ts"],"mappings":";;;;;cAMa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;cAG7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;cAK9B,wBAAA,EAA0B,SAAA,QAC9B,6BAAA,SACA,8BAAA,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/undelete-expense.d.ts
@@ -8,9 +10,7 @@ declare const SplitwiseUndeleteExpenseOutput: 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 splitwiseUndeleteExpense: 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 splitwiseUndeleteExpense: AppAction<typeof SplitwiseUndeleteExpenseInput, typeof SplitwiseUndeleteExpenseOutput, typeof splitwise.credential>;
14
14
  //#endregion
15
15
  export { splitwiseUndeleteExpense };
16
16
  //# sourceMappingURL=undelete-expense.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"undelete-expense.d.mts","names":[],"sources":["../../src/actions/undelete-expense.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;cAG7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;cAK9B,wBAAA,gCAAwB,wBAAA"}
1
+ {"version":3,"file":"undelete-expense.d.mts","names":[],"sources":["../../src/actions/undelete-expense.ts"],"mappings":";;;;;cAMa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;cAG7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;cAK9B,wBAAA,EAA0B,SAAA,QAC9B,6BAAA,SACA,8BAAA,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 splitwiseUndeleteExpense = action("SPLITWISE_UNDELETE_EXPENSE", {
@@ -1 +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.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.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.\").nullable(),\n}).passthrough().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,OAZ2C,EAAE,OAAO,EACpD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,EAClF,CAAC,CAAC,CAAC,SAAS,gDAUH;CACP,QAV4C,EAAE,OAAO;EACrD,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9G,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CACrG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"undelete-expense.mjs","names":[],"sources":["../../src/actions/undelete-expense.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 SplitwiseUndeleteExpenseInput = 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.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.\").nullable(),\n}).passthrough().describe(\"Response model for the UndeleteExpense action.\");\n\nexport const splitwiseUndeleteExpense: AppAction<\n typeof SplitwiseUndeleteExpenseInput,\n typeof SplitwiseUndeleteExpenseOutput,\n typeof splitwise.credential\n> = 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":";;;AAcA,MAAa,2BAIT,OAAO,8BAA8B;CACvC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhB2C,EAAE,OAAO,EACpD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,EAClF,CAAC,CAAC,CAAC,SAAS,gDAcH;CACP,QAd4C,EAAE,OAAO;EACrD,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9G,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CACrG,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/undelete-group.ts
@@ -1 +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.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.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.\").nullable(),\n}).passthrough().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,8BAA8BA,IAAAA,EAAE,OAAO,EAClD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,EAChF,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAC1D,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,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,CAAC,CAAC,SAAS;AACnG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAA8C;AAExE,MAAa,yBAAyBC,eAAAA,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"undelete-group.cjs","names":["z","action"],"sources":["../../src/actions/undelete-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 SplitwiseUndeleteGroupInput = 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.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.\").nullable(),\n}).passthrough().describe(\"Response model for the UndeleteGroup action.\");\n\nexport const splitwiseUndeleteGroup: AppAction<\n typeof SplitwiseUndeleteGroupInput,\n typeof SplitwiseUndeleteGroupOutput,\n typeof splitwise.credential\n> = 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":";;;;AAMA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,EAClD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,EAChF,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAC1D,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,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,CAAC,CAAC,SAAS;AACnG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAA8C;AAExE,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/undelete-group.d.ts
@@ -8,9 +10,7 @@ declare const SplitwiseUndeleteGroupOutput: 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 splitwiseUndeleteGroup: 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 splitwiseUndeleteGroup: AppAction<typeof SplitwiseUndeleteGroupInput, typeof SplitwiseUndeleteGroupOutput, typeof splitwise.credential>;
14
14
  //#endregion
15
15
  export { splitwiseUndeleteGroup };
16
16
  //# sourceMappingURL=undelete-group.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"undelete-group.d.cts","names":[],"sources":["../../src/actions/undelete-group.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;cAG3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;cAK5B,sBAAA,gCAAsB,wBAAA"}
1
+ {"version":3,"file":"undelete-group.d.cts","names":[],"sources":["../../src/actions/undelete-group.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;cAG3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;cAK5B,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/undelete-group.d.ts
@@ -8,9 +10,7 @@ declare const SplitwiseUndeleteGroupOutput: 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 splitwiseUndeleteGroup: 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 splitwiseUndeleteGroup: AppAction<typeof SplitwiseUndeleteGroupInput, typeof SplitwiseUndeleteGroupOutput, typeof splitwise.credential>;
14
14
  //#endregion
15
15
  export { splitwiseUndeleteGroup };
16
16
  //# sourceMappingURL=undelete-group.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"undelete-group.d.mts","names":[],"sources":["../../src/actions/undelete-group.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;cAG3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;cAK5B,sBAAA,gCAAsB,wBAAA"}
1
+ {"version":3,"file":"undelete-group.d.mts","names":[],"sources":["../../src/actions/undelete-group.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;cAG3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;cAK5B,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
  const splitwiseUndeleteGroup = action("SPLITWISE_UNDELETE_GROUP", {
@@ -1 +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.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.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.\").nullable(),\n}).passthrough().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,OAZyC,EAAE,OAAO,EAClD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,EAChF,CAAC,CAAC,CAAC,SAAS,8CAUH;CACP,QAV0C,EAAE,OAAO;EACnD,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9G,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CACnG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"undelete-group.mjs","names":[],"sources":["../../src/actions/undelete-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 SplitwiseUndeleteGroupInput = 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.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.\").nullable(),\n}).passthrough().describe(\"Response model for the UndeleteGroup action.\");\n\nexport const splitwiseUndeleteGroup: AppAction<\n typeof SplitwiseUndeleteGroupInput,\n typeof SplitwiseUndeleteGroupOutput,\n typeof splitwise.credential\n> = 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":";;;AAcA,MAAa,yBAIT,OAAO,4BAA4B;CACrC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhByC,EAAE,OAAO,EAClD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,EAChF,CAAC,CAAC,CAAC,SAAS,8CAcH;CACP,QAd0C,EAAE,OAAO;EACnD,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9G,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CACnG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAWhB;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/update-expense.ts
@@ -1 +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.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}).passthrough().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.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}).passthrough().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,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,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,E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sources":["../../src/actions/update-expense.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 SplitwiseUpdateExpenseInput = 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}).passthrough().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.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}).passthrough().describe(\"Response model for update_expense action.\");\n\nexport const splitwiseUpdateExpense: AppAction<\n typeof SplitwiseUpdateExpenseInput,\n typeof SplitwiseUpdateExpenseOutput,\n typeof splitwise.credential\n> = 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":";;;;AAMA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,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,YAAY,CAAC,CAAC,SAAS,qIAAqI,CAAC,CAAC,CAAC,SAAS,mSAAmS,CAAC,CAAC,SAAS;CACvd,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,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,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,YAAY,CAAC,CAAC,SAAS,2CAA2C;AAErE,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/update-expense.d.ts
@@ -30,26 +32,7 @@ declare const SplitwiseUpdateExpenseOutput: z.ZodObject<{
30
32
  errors: z.ZodRecord<z.ZodString, z.ZodUnknown>;
31
33
  expenses: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
32
34
  }, z.core.$loose>;
33
- declare const splitwiseUpdateExpense: import("@keystrokehq/action").WorkflowActionDefinition<{
34
- id: number;
35
- cost?: string | undefined;
36
- date?: string | undefined;
37
- users?: {
38
- [x: string]: unknown;
39
- owed_share: string;
40
- paid_share: string;
41
- email?: string | undefined;
42
- user_id?: number | undefined;
43
- last_name?: string | undefined;
44
- first_name?: string | undefined;
45
- }[] | undefined;
46
- details?: string | undefined;
47
- group_id?: number | undefined;
48
- category_id?: number | undefined;
49
- description?: string | undefined;
50
- currency_code?: string | undefined;
51
- repeat_interval?: "never" | "weekly" | "fortnightly" | "monthly" | "yearly" | undefined;
52
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
35
+ declare const splitwiseUpdateExpense: AppAction<typeof SplitwiseUpdateExpenseInput, typeof SplitwiseUpdateExpenseOutput, typeof splitwise.credential>;
53
36
  //#endregion
54
37
  export { splitwiseUpdateExpense };
55
38
  //# sourceMappingURL=update-expense.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-expense.d.cts","names":[],"sources":["../../src/actions/update-expense.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;cAmB3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;cAK5B,sBAAA,gCAAsB,wBAAA"}
1
+ {"version":3,"file":"update-expense.d.cts","names":[],"sources":["../../src/actions/update-expense.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;cAmB3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;cAK5B,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/update-expense.d.ts
@@ -30,26 +32,7 @@ declare const SplitwiseUpdateExpenseOutput: z.ZodObject<{
30
32
  errors: z.ZodRecord<z.ZodString, z.ZodUnknown>;
31
33
  expenses: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
32
34
  }, z.core.$loose>;
33
- declare const splitwiseUpdateExpense: import("@keystrokehq/action").WorkflowActionDefinition<{
34
- id: number;
35
- cost?: string | undefined;
36
- date?: string | undefined;
37
- users?: {
38
- [x: string]: unknown;
39
- owed_share: string;
40
- paid_share: string;
41
- email?: string | undefined;
42
- user_id?: number | undefined;
43
- last_name?: string | undefined;
44
- first_name?: string | undefined;
45
- }[] | undefined;
46
- details?: string | undefined;
47
- group_id?: number | undefined;
48
- category_id?: number | undefined;
49
- description?: string | undefined;
50
- currency_code?: string | undefined;
51
- repeat_interval?: "never" | "weekly" | "fortnightly" | "monthly" | "yearly" | undefined;
52
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
35
+ declare const splitwiseUpdateExpense: AppAction<typeof SplitwiseUpdateExpenseInput, typeof SplitwiseUpdateExpenseOutput, typeof splitwise.credential>;
53
36
  //#endregion
54
37
  export { splitwiseUpdateExpense };
55
38
  //# sourceMappingURL=update-expense.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-expense.d.mts","names":[],"sources":["../../src/actions/update-expense.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;cAmB3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;cAK5B,sBAAA,gCAAsB,wBAAA"}
1
+ {"version":3,"file":"update-expense.d.mts","names":[],"sources":["../../src/actions/update-expense.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;cAmB3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;cAK5B,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
  const splitwiseUpdateExpense = action("SPLITWISE_UPDATE_EXPENSE", {
@@ -1 +1 @@
1
- {"version":3,"file":"update-expense.mjs","names":[],"sources":["../../src/actions/update-expense.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SplitwiseUpdateExpenseInput = 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}).passthrough().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.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}).passthrough().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":";;AA4BA,MAAa,yBAAyB,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA5ByC,EAAE,OAAO;EAClD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B;EAC3D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;EACjF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sHAAsH,CAAC,CAAC,SAAS;EAC3J,OAAO,EAAE,MAAM,EAAE,OAAO;GACxB,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;GAChE,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;GAChF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;GACxE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;GAC1E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;GAC9E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;EAChF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qIAAqI,CAAC,CAAC,CAAC,SAAS,mSAAmS,CAAC,CAAC,SAAS;EACvd,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;EAC1E,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;EACpG,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;EACnF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;EAC9E,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;EACjF,iBAAiB,EAAE,KAAK;GAAC;GAAS;GAAU;GAAe;GAAW;EAAQ,CAAC,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACxI,CAAC,CAAC,CAAC,SAAS,uKAUH;CACP,QAV0C,EAAE,OAAO;EACnD,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,2CAA2C;EAC9F,UAAU,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,4CAA4C;CAC5G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"update-expense.mjs","names":[],"sources":["../../src/actions/update-expense.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 SplitwiseUpdateExpenseInput = 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}).passthrough().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.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}).passthrough().describe(\"Response model for update_expense action.\");\n\nexport const splitwiseUpdateExpense: AppAction<\n typeof SplitwiseUpdateExpenseInput,\n typeof SplitwiseUpdateExpenseOutput,\n typeof splitwise.credential\n> = 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":";;;AA8BA,MAAa,yBAIT,OAAO,4BAA4B;CACrC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhCyC,EAAE,OAAO;EAClD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B;EAC3D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;EACjF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sHAAsH,CAAC,CAAC,SAAS;EAC3J,OAAO,EAAE,MAAM,EAAE,OAAO;GACxB,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;GAChE,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;GAChF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;GACxE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;GAC1E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;GAC9E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;EAChF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qIAAqI,CAAC,CAAC,CAAC,SAAS,mSAAmS,CAAC,CAAC,SAAS;EACvd,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;EAC1E,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;EACpG,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;EACnF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;EAC9E,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;EACjF,iBAAiB,EAAE,KAAK;GAAC;GAAS;GAAU;GAAe;GAAW;EAAQ,CAAC,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACxI,CAAC,CAAC,CAAC,SAAS,uKAcH;CACP,QAd0C,EAAE,OAAO;EACnD,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,2CAA2C;EAC9F,UAAU,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,4CAA4C;CAC5G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAWhB;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/update-user.ts
@@ -1 +1 @@
1
- {"version":3,"file":"update-user.cjs","names":["z","action"],"sources":["../../src/actions/update-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SplitwiseUpdateUserInput = z.object({\n id: z.number().int().describe(\"The user ID to update. Must be the authenticated user's ID.\"),\n email: z.string().describe(\"User's email address\").optional(),\n locale: z.string().describe(\"Language/region preference (e.g., 'en', 'es', 'fr')\").optional(),\n password: z.string().describe(\"User's account password\").optional(),\n last_name: z.string().describe(\"User's family name\").optional(),\n first_name: z.string().describe(\"User's given name\").optional(),\n default_currency: z.string().describe(\"Preferred currency code (e.g., 'USD', 'EUR', 'GBP')\").optional(),\n}).describe(\"Request schema for updating user account details.\");\nconst SplitwiseUpdateUser_PictureSchema = 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}).passthrough().describe(\"URLs for the user's profile picture in different sizes.\");\nconst SplitwiseUpdateUser_NotificationsSchema = z.object({\n bills: z.boolean().describe(\"Bill notifications\").nullable().optional(),\n payments: z.boolean().describe(\"Payment notifications\").nullable().optional(),\n announcements: z.boolean().describe(\"Announcement notifications\").nullable().optional(),\n expense_added: z.boolean().describe(\"Notifications when an expense is added\").nullable().optional(),\n added_to_group: z.boolean().describe(\"Notifications when added to a group\").nullable().optional(),\n added_as_friend: z.boolean().describe(\"Notifications when added as a friend\").nullable().optional(),\n expense_updated: z.boolean().describe(\"Notifications when an expense is updated\").nullable().optional(),\n monthly_summary: z.boolean().describe(\"Monthly summary notifications\").nullable().optional(),\n}).passthrough().describe(\"User's notification preferences.\");\nconst SplitwiseUpdateUser_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().optional(),\n locale: z.string().describe(\"User's locale setting\").nullable().optional(),\n picture: SplitwiseUpdateUser_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 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', 'GB')\").nullable().optional(),\n notifications: SplitwiseUpdateUser_NotificationsSchema.nullable().optional(),\n custom_picture: z.boolean().describe(\"Whether user has uploaded a custom profile image\").nullable().optional(),\n default_currency: z.string().describe(\"User's default currency code\").nullable().optional(),\n default_group_id: z.number().int().describe(\"ID of user's default group (-1 if not set)\").nullable().optional(),\n force_refresh_at: z.string().describe(\"Timestamp indicating when to force refresh user data\").nullable().optional(),\n notifications_read: z.string().describe(\"Timestamp when notifications were last read\").nullable().optional(),\n notifications_count: z.number().int().describe(\"Number of unread notifications\").nullable().optional(),\n registration_status: z.string().describe(\"Account confirmation state (e.g., 'confirmed')\").nullable().optional(),\n}).passthrough().describe(\"Details of the updated user.\");\nexport const SplitwiseUpdateUserOutput = z.object({\n user: SplitwiseUpdateUser_UserSchema.nullable(),\n}).passthrough().describe(\"Response schema for updated user information.\");\n\nexport const splitwiseUpdateUser = action(\"SPLITWISE_UPDATE_USER\", {\n slug: \"splitwise-update-user\",\n name: \"Update User\",\n description: \"Tool to update user account details including name, email, password, and preferences. Use when you need to modify the current user's profile information.\",\n input: SplitwiseUpdateUserInput,\n output: SplitwiseUpdateUserOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6DAA6D;CAC3F,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CAC5D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CAC5F,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CAClE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;CAC9D,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;CAC9D,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;AACxG,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAM,oCAAoCA,IAAAA,EAAE,OAAO;CACjD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAy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AC,CAAC,SAAS;CAC3G,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8BAA8B;AACxD,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,EAChD,MAAM,+BAA+B,SAAS,EAChD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAA+C;AAEzE,MAAa,sBAAsBC,eAAAA,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"update-user.cjs","names":["z","action"],"sources":["../../src/actions/update-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 SplitwiseUpdateUserInput = z.object({\n id: z.number().int().describe(\"The user ID to update. Must be the authenticated user's ID.\"),\n email: z.string().describe(\"User's email address\").optional(),\n locale: z.string().describe(\"Language/region preference (e.g., 'en', 'es', 'fr')\").optional(),\n password: z.string().describe(\"User's account password\").optional(),\n last_name: z.string().describe(\"User's family name\").optional(),\n first_name: z.string().describe(\"User's given name\").optional(),\n default_currency: z.string().describe(\"Preferred currency code (e.g., 'USD', 'EUR', 'GBP')\").optional(),\n}).describe(\"Request schema for updating user account details.\");\nconst SplitwiseUpdateUser_PictureSchema = 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}).passthrough().describe(\"URLs for the user's profile picture in different sizes.\");\nconst SplitwiseUpdateUser_NotificationsSchema = z.object({\n bills: z.boolean().describe(\"Bill notifications\").nullable().optional(),\n payments: z.boolean().describe(\"Payment notifications\").nullable().optional(),\n announcements: z.boolean().describe(\"Announcement notifications\").nullable().optional(),\n expense_added: z.boolean().describe(\"Notifications when an expense is added\").nullable().optional(),\n added_to_group: z.boolean().describe(\"Notifications when added to a group\").nullable().optional(),\n added_as_friend: z.boolean().describe(\"Notifications when added as a friend\").nullable().optional(),\n expense_updated: z.boolean().describe(\"Notifications when an expense is updated\").nullable().optional(),\n monthly_summary: z.boolean().describe(\"Monthly summary notifications\").nullable().optional(),\n}).passthrough().describe(\"User's notification preferences.\");\nconst SplitwiseUpdateUser_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().optional(),\n locale: z.string().describe(\"User's locale setting\").nullable().optional(),\n picture: SplitwiseUpdateUser_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 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', 'GB')\").nullable().optional(),\n notifications: SplitwiseUpdateUser_NotificationsSchema.nullable().optional(),\n custom_picture: z.boolean().describe(\"Whether user has uploaded a custom profile image\").nullable().optional(),\n default_currency: z.string().describe(\"User's default currency code\").nullable().optional(),\n default_group_id: z.number().int().describe(\"ID of user's default group (-1 if not set)\").nullable().optional(),\n force_refresh_at: z.string().describe(\"Timestamp indicating when to force refresh user data\").nullable().optional(),\n notifications_read: z.string().describe(\"Timestamp when notifications were last read\").nullable().optional(),\n notifications_count: z.number().int().describe(\"Number of unread notifications\").nullable().optional(),\n registration_status: z.string().describe(\"Account confirmation state (e.g., 'confirmed')\").nullable().optional(),\n}).passthrough().describe(\"Details of the updated user.\");\nexport const SplitwiseUpdateUserOutput = z.object({\n user: SplitwiseUpdateUser_UserSchema.nullable(),\n}).passthrough().describe(\"Response schema for updated user information.\");\n\nexport const splitwiseUpdateUser: AppAction<\n typeof SplitwiseUpdateUserInput,\n typeof SplitwiseUpdateUserOutput,\n typeof splitwise.credential\n> = action(\"SPLITWISE_UPDATE_USER\", {\n slug: \"splitwise-update-user\",\n name: \"Update User\",\n description: \"Tool to update user account details including name, email, password, and preferences. Use when you need to modify the current user's profile information.\",\n input: SplitwiseUpdateUserInput,\n output: SplitwiseUpdateUserOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6DAA6D;CAC3F,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CAC5D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CAC5F,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CAClE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;CAC9D,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;CAC9D,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;AACxG,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAM,oCAAoCA,IAAAA,EAAE,OAAO;CACjD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SA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S,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8BAA8B;AACxD,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,EAChD,MAAM,+BAA+B,SAAS,EAChD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAA+C;AAEzE,MAAa,sBAITC,eAAAA,OAAO,yBAAyB;CAClC,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/update-user.d.ts
@@ -43,15 +45,7 @@ declare const SplitwiseUpdateUserOutput: z.ZodObject<{
43
45
  registration_status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
44
46
  }, z.core.$loose>>;
45
47
  }, z.core.$loose>;
46
- declare const splitwiseUpdateUser: import("@keystrokehq/action").WorkflowActionDefinition<{
47
- id: number;
48
- email?: string | undefined;
49
- locale?: string | undefined;
50
- password?: string | undefined;
51
- last_name?: string | undefined;
52
- first_name?: string | undefined;
53
- default_currency?: string | undefined;
54
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
48
+ declare const splitwiseUpdateUser: AppAction<typeof SplitwiseUpdateUserInput, typeof SplitwiseUpdateUserOutput, typeof splitwise.credential>;
55
49
  //#endregion
56
50
  export { splitwiseUpdateUser };
57
51
  //# sourceMappingURL=update-user.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-user.d.cts","names":[],"sources":["../../src/actions/update-user.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;cA0CxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAIzB,mBAAA,gCAAmB,wBAAA"}
1
+ {"version":3,"file":"update-user.d.cts","names":[],"sources":["../../src/actions/update-user.ts"],"mappings":";;;;;cAMa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;cA0CxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAIzB,mBAAA,EAAqB,SAAA,QACzB,wBAAA,SACA,yBAAA,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/update-user.d.ts
@@ -43,15 +45,7 @@ declare const SplitwiseUpdateUserOutput: z.ZodObject<{
43
45
  registration_status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
44
46
  }, z.core.$loose>>;
45
47
  }, z.core.$loose>;
46
- declare const splitwiseUpdateUser: import("@keystrokehq/action").WorkflowActionDefinition<{
47
- id: number;
48
- email?: string | undefined;
49
- locale?: string | undefined;
50
- password?: string | undefined;
51
- last_name?: string | undefined;
52
- first_name?: string | undefined;
53
- default_currency?: string | undefined;
54
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
48
+ declare const splitwiseUpdateUser: AppAction<typeof SplitwiseUpdateUserInput, typeof SplitwiseUpdateUserOutput, typeof splitwise.credential>;
55
49
  //#endregion
56
50
  export { splitwiseUpdateUser };
57
51
  //# sourceMappingURL=update-user.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-user.d.mts","names":[],"sources":["../../src/actions/update-user.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;cA0CxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAIzB,mBAAA,gCAAmB,wBAAA"}
1
+ {"version":3,"file":"update-user.d.mts","names":[],"sources":["../../src/actions/update-user.ts"],"mappings":";;;;;cAMa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;cA0CxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAIzB,mBAAA,EAAqB,SAAA,QACzB,wBAAA,SACA,yBAAA,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/update-user.ts
@@ -1 +1 @@
1
- {"version":3,"file":"update-user.mjs","names":[],"sources":["../../src/actions/update-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SplitwiseUpdateUserInput = z.object({\n id: z.number().int().describe(\"The user ID to update. Must be the authenticated user's ID.\"),\n email: z.string().describe(\"User's email address\").optional(),\n locale: z.string().describe(\"Language/region preference (e.g., 'en', 'es', 'fr')\").optional(),\n password: z.string().describe(\"User's account password\").optional(),\n last_name: z.string().describe(\"User's family name\").optional(),\n first_name: z.string().describe(\"User's given name\").optional(),\n default_currency: z.string().describe(\"Preferred currency code (e.g., 'USD', 'EUR', 'GBP')\").optional(),\n}).describe(\"Request schema for updating user account details.\");\nconst SplitwiseUpdateUser_PictureSchema = 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}).passthrough().describe(\"URLs for the user's profile picture in different sizes.\");\nconst SplitwiseUpdateUser_NotificationsSchema = z.object({\n bills: z.boolean().describe(\"Bill notifications\").nullable().optional(),\n payments: z.boolean().describe(\"Payment notifications\").nullable().optional(),\n announcements: z.boolean().describe(\"Announcement notifications\").nullable().optional(),\n expense_added: z.boolean().describe(\"Notifications when an expense is added\").nullable().optional(),\n added_to_group: z.boolean().describe(\"Notifications when added to a group\").nullable().optional(),\n added_as_friend: z.boolean().describe(\"Notifications when added as a friend\").nullable().optional(),\n expense_updated: z.boolean().describe(\"Notifications when an expense is updated\").nullable().optional(),\n monthly_summary: z.boolean().describe(\"Monthly summary notifications\").nullable().optional(),\n}).passthrough().describe(\"User's notification preferences.\");\nconst SplitwiseUpdateUser_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().optional(),\n locale: z.string().describe(\"User's locale setting\").nullable().optional(),\n picture: SplitwiseUpdateUser_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 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', 'GB')\").nullable().optional(),\n notifications: SplitwiseUpdateUser_NotificationsSchema.nullable().optional(),\n custom_picture: z.boolean().describe(\"Whether user has uploaded a custom profile image\").nullable().optional(),\n default_currency: z.string().describe(\"User's default currency code\").nullable().optional(),\n default_group_id: z.number().int().describe(\"ID of user's default group (-1 if not set)\").nullable().optional(),\n force_refresh_at: z.string().describe(\"Timestamp indicating when to force refresh user data\").nullable().optional(),\n notifications_read: z.string().describe(\"Timestamp when notifications were last read\").nullable().optional(),\n notifications_count: z.number().int().describe(\"Number of unread notifications\").nullable().optional(),\n registration_status: z.string().describe(\"Account confirmation state (e.g., 'confirmed')\").nullable().optional(),\n}).passthrough().describe(\"Details of the updated user.\");\nexport const SplitwiseUpdateUserOutput = z.object({\n user: SplitwiseUpdateUser_UserSchema.nullable(),\n}).passthrough().describe(\"Response schema for updated user information.\");\n\nexport const splitwiseUpdateUser = action(\"SPLITWISE_UPDATE_USER\", {\n slug: \"splitwise-update-user\",\n name: \"Update User\",\n description: \"Tool to update user account details including name, email, password, and preferences. Use when you need to modify the current user's profile information.\",\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AC,SAAS;CAChG,eAAe,wCAAwC,SAAS,CAAC,CAAC,SAAS;CAC3E,gBAAgB,EAAE,QAAQ,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,kBAAkB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClH,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,qBAAqB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,qBAAqB,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8BAA8B;AAKxD,MAAa,sBAAsB,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATuC,EAAE,OAAO,EAChD,MAAM,+BAA+B,SAAS,EAChD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"update-user.mjs","names":[],"sources":["../../src/actions/update-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 SplitwiseUpdateUserInput = z.object({\n id: z.number().int().describe(\"The user ID to update. Must be the authenticated user's ID.\"),\n email: z.string().describe(\"User's email address\").optional(),\n locale: z.string().describe(\"Language/region preference (e.g., 'en', 'es', 'fr')\").optional(),\n password: z.string().describe(\"User's account password\").optional(),\n last_name: z.string().describe(\"User's family name\").optional(),\n first_name: z.string().describe(\"User's given name\").optional(),\n default_currency: z.string().describe(\"Preferred currency code (e.g., 'USD', 'EUR', 'GBP')\").optional(),\n}).describe(\"Request schema for updating user account details.\");\nconst SplitwiseUpdateUser_PictureSchema = 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}).passthrough().describe(\"URLs for the user's profile picture in different sizes.\");\nconst SplitwiseUpdateUser_NotificationsSchema = z.object({\n bills: z.boolean().describe(\"Bill notifications\").nullable().optional(),\n payments: z.boolean().describe(\"Payment notifications\").nullable().optional(),\n announcements: z.boolean().describe(\"Announcement notifications\").nullable().optional(),\n expense_added: z.boolean().describe(\"Notifications when an expense is added\").nullable().optional(),\n added_to_group: z.boolean().describe(\"Notifications when added to a group\").nullable().optional(),\n added_as_friend: z.boolean().describe(\"Notifications when added as a friend\").nullable().optional(),\n expense_updated: z.boolean().describe(\"Notifications when an expense is updated\").nullable().optional(),\n monthly_summary: z.boolean().describe(\"Monthly summary notifications\").nullable().optional(),\n}).passthrough().describe(\"User's notification preferences.\");\nconst SplitwiseUpdateUser_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().optional(),\n locale: z.string().describe(\"User's locale setting\").nullable().optional(),\n picture: SplitwiseUpdateUser_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 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', 'GB')\").nullable().optional(),\n notifications: SplitwiseUpdateUser_NotificationsSchema.nullable().optional(),\n custom_picture: z.boolean().describe(\"Whether user has uploaded a custom profile image\").nullable().optional(),\n default_currency: z.string().describe(\"User's default currency code\").nullable().optional(),\n default_group_id: z.number().int().describe(\"ID of user's default group (-1 if not set)\").nullable().optional(),\n force_refresh_at: z.string().describe(\"Timestamp indicating when to force refresh user data\").nullable().optional(),\n notifications_read: z.string().describe(\"Timestamp when notifications were last read\").nullable().optional(),\n notifications_count: z.number().int().describe(\"Number of unread notifications\").nullable().optional(),\n registration_status: z.string().describe(\"Account confirmation state (e.g., 'confirmed')\").nullable().optional(),\n}).passthrough().describe(\"Details of the updated user.\");\nexport const SplitwiseUpdateUserOutput = z.object({\n user: SplitwiseUpdateUser_UserSchema.nullable(),\n}).passthrough().describe(\"Response schema for updated user information.\");\n\nexport const splitwiseUpdateUser: AppAction<\n typeof SplitwiseUpdateUserInput,\n typeof SplitwiseUpdateUserOutput,\n typeof splitwise.credential\n> = action(\"SPLITWISE_UPDATE_USER\", {\n slug: \"splitwise-update-user\",\n name: \"Update User\",\n description: \"Tool to update user account details including name, email, password, and preferences. Use when you need to modify the current user's profile information.\",\n input: SplitwiseUpdateUserInput,\n output: SplitwiseUpdateUserOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,2BAA2B,EAAE,OAAO;CAC/C,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6DAA6D;CAC3F,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CAC5D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CAC5F,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CAClE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;CAC9D,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;CAC9D,kBA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