@keystrokehq/splitwise 0.1.2 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (163) hide show
  1. package/dist/actions/add-friend.cjs +5 -5
  2. package/dist/actions/add-friend.cjs.map +1 -1
  3. package/dist/actions/add-friend.d.cts +6 -6
  4. package/dist/actions/add-friend.d.mts +6 -6
  5. package/dist/actions/add-friend.mjs +5 -5
  6. package/dist/actions/add-friend.mjs.map +1 -1
  7. package/dist/actions/add-user-to-group.cjs +4 -4
  8. package/dist/actions/add-user-to-group.cjs.map +1 -1
  9. package/dist/actions/add-user-to-group.d.cts +4 -4
  10. package/dist/actions/add-user-to-group.d.mts +4 -4
  11. package/dist/actions/add-user-to-group.mjs +4 -4
  12. package/dist/actions/add-user-to-group.mjs.map +1 -1
  13. package/dist/actions/create-comment.cjs +3 -3
  14. package/dist/actions/create-comment.cjs.map +1 -1
  15. package/dist/actions/create-comment.d.cts +3 -3
  16. package/dist/actions/create-comment.d.mts +3 -3
  17. package/dist/actions/create-comment.mjs +3 -3
  18. package/dist/actions/create-comment.mjs.map +1 -1
  19. package/dist/actions/create-expense.cjs +10 -10
  20. package/dist/actions/create-expense.cjs.map +1 -1
  21. package/dist/actions/create-expense.d.cts +17 -16
  22. package/dist/actions/create-expense.d.mts +17 -16
  23. package/dist/actions/create-expense.mjs +10 -10
  24. package/dist/actions/create-expense.mjs.map +1 -1
  25. package/dist/actions/create-friends.cjs +6 -6
  26. package/dist/actions/create-friends.cjs.map +1 -1
  27. package/dist/actions/create-friends.d.cts +8 -7
  28. package/dist/actions/create-friends.d.mts +8 -7
  29. package/dist/actions/create-friends.mjs +6 -6
  30. package/dist/actions/create-friends.mjs.map +1 -1
  31. package/dist/actions/create-group.cjs +8 -8
  32. package/dist/actions/create-group.cjs.map +1 -1
  33. package/dist/actions/create-group.d.cts +9 -8
  34. package/dist/actions/create-group.d.mts +9 -8
  35. package/dist/actions/create-group.mjs +8 -8
  36. package/dist/actions/create-group.mjs.map +1 -1
  37. package/dist/actions/delete-comment.cjs +4 -4
  38. package/dist/actions/delete-comment.cjs.map +1 -1
  39. package/dist/actions/delete-comment.d.cts +4 -4
  40. package/dist/actions/delete-comment.d.mts +4 -4
  41. package/dist/actions/delete-comment.mjs +4 -4
  42. package/dist/actions/delete-comment.mjs.map +1 -1
  43. package/dist/actions/delete-expense.cjs +1 -1
  44. package/dist/actions/delete-expense.cjs.map +1 -1
  45. package/dist/actions/delete-expense.d.cts +1 -1
  46. package/dist/actions/delete-expense.d.mts +1 -1
  47. package/dist/actions/delete-expense.mjs +1 -1
  48. package/dist/actions/delete-expense.mjs.map +1 -1
  49. package/dist/actions/delete-friend.cjs +1 -1
  50. package/dist/actions/delete-friend.cjs.map +1 -1
  51. package/dist/actions/delete-friend.d.cts +1 -1
  52. package/dist/actions/delete-friend.d.mts +1 -1
  53. package/dist/actions/delete-friend.mjs +1 -1
  54. package/dist/actions/delete-friend.mjs.map +1 -1
  55. package/dist/actions/delete-group.cjs +1 -1
  56. package/dist/actions/delete-group.cjs.map +1 -1
  57. package/dist/actions/delete-group.d.cts +1 -1
  58. package/dist/actions/delete-group.d.mts +1 -1
  59. package/dist/actions/delete-group.mjs +1 -1
  60. package/dist/actions/delete-group.mjs.map +1 -1
  61. package/dist/actions/get-categories.cjs +3 -3
  62. package/dist/actions/get-categories.cjs.map +1 -1
  63. package/dist/actions/get-categories.d.cts +3 -3
  64. package/dist/actions/get-categories.d.mts +3 -3
  65. package/dist/actions/get-categories.mjs +3 -3
  66. package/dist/actions/get-categories.mjs.map +1 -1
  67. package/dist/actions/get-comments.cjs +4 -4
  68. package/dist/actions/get-comments.cjs.map +1 -1
  69. package/dist/actions/get-comments.d.cts +4 -4
  70. package/dist/actions/get-comments.d.mts +4 -4
  71. package/dist/actions/get-comments.mjs +4 -4
  72. package/dist/actions/get-comments.mjs.map +1 -1
  73. package/dist/actions/get-currencies.cjs +2 -2
  74. package/dist/actions/get-currencies.cjs.map +1 -1
  75. package/dist/actions/get-currencies.d.cts +2 -2
  76. package/dist/actions/get-currencies.d.mts +2 -2
  77. package/dist/actions/get-currencies.mjs +2 -2
  78. package/dist/actions/get-currencies.mjs.map +1 -1
  79. package/dist/actions/get-current-user.cjs +4 -4
  80. package/dist/actions/get-current-user.cjs.map +1 -1
  81. package/dist/actions/get-current-user.d.cts +4 -4
  82. package/dist/actions/get-current-user.d.mts +4 -4
  83. package/dist/actions/get-current-user.mjs +4 -4
  84. package/dist/actions/get-current-user.mjs.map +1 -1
  85. package/dist/actions/get-expense.cjs +9 -9
  86. package/dist/actions/get-expense.cjs.map +1 -1
  87. package/dist/actions/get-expense.d.cts +17 -17
  88. package/dist/actions/get-expense.d.mts +17 -17
  89. package/dist/actions/get-expense.mjs +9 -9
  90. package/dist/actions/get-expense.mjs.map +1 -1
  91. package/dist/actions/get-expenses.cjs +9 -9
  92. package/dist/actions/get-expenses.cjs.map +1 -1
  93. package/dist/actions/get-expenses.d.cts +17 -17
  94. package/dist/actions/get-expenses.d.mts +17 -17
  95. package/dist/actions/get-expenses.mjs +9 -9
  96. package/dist/actions/get-expenses.mjs.map +1 -1
  97. package/dist/actions/get-friend.cjs +5 -5
  98. package/dist/actions/get-friend.cjs.map +1 -1
  99. package/dist/actions/get-friend.d.cts +6 -6
  100. package/dist/actions/get-friend.d.mts +6 -6
  101. package/dist/actions/get-friend.mjs +5 -5
  102. package/dist/actions/get-friend.mjs.map +1 -1
  103. package/dist/actions/get-friends.cjs +5 -5
  104. package/dist/actions/get-friends.cjs.map +1 -1
  105. package/dist/actions/get-friends.d.cts +6 -6
  106. package/dist/actions/get-friends.d.mts +6 -6
  107. package/dist/actions/get-friends.mjs +5 -5
  108. package/dist/actions/get-friends.mjs.map +1 -1
  109. package/dist/actions/get-group.cjs +9 -9
  110. package/dist/actions/get-group.cjs.map +1 -1
  111. package/dist/actions/get-group.d.cts +10 -10
  112. package/dist/actions/get-group.d.mts +10 -10
  113. package/dist/actions/get-group.mjs +9 -9
  114. package/dist/actions/get-group.mjs.map +1 -1
  115. package/dist/actions/get-groups.cjs +9 -9
  116. package/dist/actions/get-groups.cjs.map +1 -1
  117. package/dist/actions/get-groups.d.cts +10 -10
  118. package/dist/actions/get-groups.d.mts +10 -10
  119. package/dist/actions/get-groups.mjs +9 -9
  120. package/dist/actions/get-groups.mjs.map +1 -1
  121. package/dist/actions/get-notifications.cjs +3 -3
  122. package/dist/actions/get-notifications.cjs.map +1 -1
  123. package/dist/actions/get-notifications.d.cts +3 -3
  124. package/dist/actions/get-notifications.d.mts +3 -3
  125. package/dist/actions/get-notifications.mjs +3 -3
  126. package/dist/actions/get-notifications.mjs.map +1 -1
  127. package/dist/actions/get-user.cjs +3 -3
  128. package/dist/actions/get-user.cjs.map +1 -1
  129. package/dist/actions/get-user.d.cts +3 -3
  130. package/dist/actions/get-user.d.mts +3 -3
  131. package/dist/actions/get-user.mjs +3 -3
  132. package/dist/actions/get-user.mjs.map +1 -1
  133. package/dist/actions/remove-user-from-group.cjs +1 -1
  134. package/dist/actions/remove-user-from-group.cjs.map +1 -1
  135. package/dist/actions/remove-user-from-group.d.cts +1 -1
  136. package/dist/actions/remove-user-from-group.d.mts +1 -1
  137. package/dist/actions/remove-user-from-group.mjs +1 -1
  138. package/dist/actions/remove-user-from-group.mjs.map +1 -1
  139. package/dist/actions/undelete-expense.cjs +1 -1
  140. package/dist/actions/undelete-expense.cjs.map +1 -1
  141. package/dist/actions/undelete-expense.d.cts +1 -1
  142. package/dist/actions/undelete-expense.d.mts +1 -1
  143. package/dist/actions/undelete-expense.mjs +1 -1
  144. package/dist/actions/undelete-expense.mjs.map +1 -1
  145. package/dist/actions/undelete-group.cjs +1 -1
  146. package/dist/actions/undelete-group.cjs.map +1 -1
  147. package/dist/actions/undelete-group.d.cts +1 -1
  148. package/dist/actions/undelete-group.d.mts +1 -1
  149. package/dist/actions/undelete-group.mjs +1 -1
  150. package/dist/actions/undelete-group.mjs.map +1 -1
  151. package/dist/actions/update-expense.cjs +2 -2
  152. package/dist/actions/update-expense.cjs.map +1 -1
  153. package/dist/actions/update-expense.d.cts +3 -2
  154. package/dist/actions/update-expense.d.mts +3 -2
  155. package/dist/actions/update-expense.mjs +2 -2
  156. package/dist/actions/update-expense.mjs.map +1 -1
  157. package/dist/actions/update-user.cjs +4 -4
  158. package/dist/actions/update-user.cjs.map +1 -1
  159. package/dist/actions/update-user.d.cts +4 -4
  160. package/dist/actions/update-user.d.mts +4 -4
  161. package/dist/actions/update-user.mjs +4 -4
  162. package/dist/actions/update-user.mjs.map +1 -1
  163. package/package.json +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"get-notifications.mjs","names":[],"sources":["../../src/actions/get-notifications.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SplitwiseGetNotificationsInput = z.object({\n limit: z.number().int().describe(\"Maximum number of notifications to return. Omit or provide 0 to get the maximum number of notifications. The server sets arbitrary (but large) limits on the number returned.\").optional(),\n updated_after: z.string().describe(\"If provided, returns only notifications after this time. Must be ISO 8601 datetime format.\").optional(),\n}).describe(\"Request model for retrieving notifications.\");\nconst SplitwiseGetNotifications_SourceObjectSchema = z.object({\n id: z.number().int().describe(\"ID of the source object.\").nullable().optional(),\n url: z.string().describe(\"URL of the source object.\").nullable().optional(),\n type: z.string().describe(\"Type of the source object.\").nullable().optional(),\n}).describe(\"Represents the source object associated with a notification.\");\nconst SplitwiseGetNotifications_NotificationObjectSchema = z.object({\n id: z.number().int().describe(\"Unique notification identifier.\").nullable(),\n type: z.number().int().describe(\"Numeric type indicating what the notification is about. Notification types may be added in the future without warning.\").nullable(),\n source: SplitwiseGetNotifications_SourceObjectSchema.nullable().optional(),\n content: z.string().describe(\"HTML content suitable for display. Uses only <strong>, <strike>, <small>, <br>, and <font color> tags.\").nullable(),\n image_url: z.string().describe(\"URL of the image associated with the notification.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the notification was created.\").nullable(),\n created_by: z.number().int().describe(\"User ID of the user who created the notification.\").nullable().optional(),\n image_shape: z.string().describe(\"Shape of the notification image (e.g., 'square', 'circle').\").nullable().optional(),\n}).describe(\"Represents a notification object with activity details.\");\nexport const SplitwiseGetNotificationsOutput = z.object({\n notifications: z.array(SplitwiseGetNotifications_NotificationObjectSchema).describe(\"Array of notification objects with the most recent items first.\"),\n}).describe(\"Response model for retrieving notifications.\");\n\nexport const splitwiseGetNotifications = action(\"SPLITWISE_GET_NOTIFICATIONS\", {\n slug: \"splitwise-get-notifications\",\n name: \"Get Notifications\",\n description: \"Tool to retrieve recent activity notifications from the user's Splitwise account. Returns notifications with HTML content suitable for display, with the most recent items first. Use when you need to view recent account activity or updates.\",\n input: SplitwiseGetNotificationsInput,\n output: SplitwiseGetNotificationsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiC,EAAE,OAAO;CACrD,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+KAA+K,CAAC,CAAC,SAAS;CAC3N,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,4FAA4F,CAAC,CAAC,SAAS;AAC5I,CAAC,CAAC,CAAC,SAAS,6CAA6C;AACzD,MAAM,+CAA+C,EAAE,OAAO;CAC5D,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9E,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAC1E,MAAM,qDAAqD,EAAE,OAAO;CAClE,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CAC1E,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wHAAwH,CAAC,CAAC,SAAS;CACnK,QAAQ,6CAA6C,SAAS,CAAC,CAAC,SAAS;CACzE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,wGAAwG,CAAC,CAAC,SAAS;CAChJ,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACzF,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtH,CAAC,CAAC,CAAC,SAAS,yDAAyD;AAKrE,MAAa,4BAA4B,OAAO,+BAA+B;CAC7E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT6C,EAAE,OAAO,EACtD,eAAe,EAAE,MAAM,kDAAkD,CAAC,CAAC,SAAS,iEAAiE,EACvJ,CAAC,CAAC,CAAC,SAAS,8CAOF;AACV,CAAC"}
1
+ {"version":3,"file":"get-notifications.mjs","names":[],"sources":["../../src/actions/get-notifications.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SplitwiseGetNotificationsInput = z.object({\n limit: z.number().int().describe(\"Maximum number of notifications to return. Omit or provide 0 to get the maximum number of notifications. The server sets arbitrary (but large) limits on the number returned.\").optional(),\n updated_after: z.string().describe(\"If provided, returns only notifications after this time. Must be ISO 8601 datetime format.\").optional(),\n}).describe(\"Request model for retrieving notifications.\");\nconst SplitwiseGetNotifications_SourceObjectSchema = z.object({\n id: z.number().int().describe(\"ID of the source object.\").nullable().optional(),\n url: z.string().describe(\"URL of the source object.\").nullable().optional(),\n type: z.string().describe(\"Type of the source object.\").nullable().optional(),\n}).passthrough().describe(\"Represents the source object associated with a notification.\");\nconst SplitwiseGetNotifications_NotificationObjectSchema = z.object({\n id: z.number().int().describe(\"Unique notification identifier.\").nullable(),\n type: z.number().int().describe(\"Numeric type indicating what the notification is about. Notification types may be added in the future without warning.\").nullable(),\n source: SplitwiseGetNotifications_SourceObjectSchema.nullable().optional(),\n content: z.string().describe(\"HTML content suitable for display. Uses only <strong>, <strike>, <small>, <br>, and <font color> tags.\").nullable(),\n image_url: z.string().describe(\"URL of the image associated with the notification.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the notification was created.\").nullable(),\n created_by: z.number().int().describe(\"User ID of the user who created the notification.\").nullable().optional(),\n image_shape: z.string().describe(\"Shape of the notification image (e.g., 'square', 'circle').\").nullable().optional(),\n}).passthrough().describe(\"Represents a notification object with activity details.\");\nexport const SplitwiseGetNotificationsOutput = z.object({\n notifications: z.array(SplitwiseGetNotifications_NotificationObjectSchema).describe(\"Array of notification objects with the most recent items first.\"),\n}).passthrough().describe(\"Response model for retrieving notifications.\");\n\nexport const splitwiseGetNotifications = action(\"SPLITWISE_GET_NOTIFICATIONS\", {\n slug: \"splitwise-get-notifications\",\n name: \"Get Notifications\",\n description: \"Tool to retrieve recent activity notifications from the user's Splitwise account. Returns notifications with HTML content suitable for display, with the most recent items first. Use when you need to view recent account activity or updates.\",\n input: SplitwiseGetNotificationsInput,\n output: SplitwiseGetNotificationsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiC,EAAE,OAAO;CACrD,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+KAA+K,CAAC,CAAC,SAAS;CAC3N,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,4FAA4F,CAAC,CAAC,SAAS;AAC5I,CAAC,CAAC,CAAC,SAAS,6CAA6C;AACzD,MAAM,+CAA+C,EAAE,OAAO;CAC5D,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS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,CAAC"}
@@ -6,7 +6,7 @@ const SplitwiseGetUser_PictureSchema = zod.z.object({
6
6
  large: zod.z.string().describe("URL for the large-sized profile picture.").nullable().optional(),
7
7
  small: zod.z.string().describe("URL for the small-sized profile picture.").nullable().optional(),
8
8
  medium: zod.z.string().describe("URL for the medium-sized profile picture.").nullable().optional()
9
- }).describe("URLs for the user's profile picture in different sizes.");
9
+ }).passthrough().describe("URLs for the user's profile picture in different sizes.");
10
10
  const SplitwiseGetUser_UserSchema = zod.z.object({
11
11
  id: zod.z.number().int().describe("Unique identifier for the user.").nullable(),
12
12
  email: zod.z.string().describe("User's email address.").nullable().optional(),
@@ -15,8 +15,8 @@ const SplitwiseGetUser_UserSchema = zod.z.object({
15
15
  first_name: zod.z.string().describe("User's first name.").nullable().optional(),
16
16
  custom_picture: zod.z.boolean().describe("Indicates whether the user has a custom profile picture.").nullable().optional(),
17
17
  registration_status: zod.z.string().describe("Registration status of the user (e.g., 'confirmed', 'dummy', 'invited').").nullable().optional()
18
- }).describe("Details of another user. Note: This endpoint returns only basic user information.\nFor the authenticated user's full profile (including notifications, currency, and locale),\nuse the get_current_user endpoint instead.");
19
- const SplitwiseGetUserOutput = zod.z.object({ user: SplitwiseGetUser_UserSchema.nullable() }).describe("Response schema for user information.");
18
+ }).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.");
19
+ const SplitwiseGetUserOutput = zod.z.object({ user: SplitwiseGetUser_UserSchema.nullable() }).passthrough().describe("Response schema for user information.");
20
20
  const splitwiseGetUser = require_action.action("SPLITWISE_GET_USER", {
21
21
  slug: "splitwise-get-user",
22
22
  name: "Get User Information",
@@ -1 +1 @@
1
- {"version":3,"file":"get-user.cjs","names":["z","action"],"sources":["../../src/actions/get-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SplitwiseGetUserInput = z.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}).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}).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}).describe(\"Response schema for user information.\");\n\nexport const splitwiseGetUser = action(\"SPLITWISE_GET_USER\", {\n slug: \"splitwise-get-user\",\n name: \"Get User Information\",\n description: \"Retrieves basic profile information about any Splitwise user by their ID. Returns the user's name, email, registration status, and profile picture. This endpoint only returns public user information. For the authenticated user's full profile (including notifications, currency preferences, and locale settings), use get_current_user instead.\",\n input: SplitwiseGetUserInput,\n output: SplitwiseGetUserOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAwBA,IAAAA,EAAE,OAAO,EAC5C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4IAA4I,EAC5K,CAAC,CAAC,CAAC,SAAS,uDAAuD;AACnE,MAAM,iC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MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-user.cjs","names":["z","action"],"sources":["../../src/actions/get-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SplitwiseGetUserInput = z.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), use get_current_user instead.\",\n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E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2NAA2N;AACrP,MAAa,yBAAyBA,IAAAA,EAAE,OAAO,EAC7C,MAAM,4BAA4B,SAAS,EAC7C,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAAuC;AAEjE,MAAa,mBAAmBC,eAAAA,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -12,13 +12,13 @@ declare const SplitwiseGetUserOutput: z.ZodObject<{
12
12
  large: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
13
  small: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
14
  medium: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
- }, z.core.$strip>>>;
15
+ }, z.core.$loose>>>;
16
16
  last_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
17
  first_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
18
  custom_picture: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
19
19
  registration_status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
- }, z.core.$strip>>;
21
- }, z.core.$strip>;
20
+ }, z.core.$loose>>;
21
+ }, z.core.$loose>;
22
22
  declare const splitwiseGetUser: import("@keystrokehq/action").WorkflowActionDefinition<{
23
23
  id: number;
24
24
  }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
@@ -12,13 +12,13 @@ declare const SplitwiseGetUserOutput: z.ZodObject<{
12
12
  large: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
13
  small: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
14
  medium: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
- }, z.core.$strip>>>;
15
+ }, z.core.$loose>>>;
16
16
  last_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
17
  first_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
18
  custom_picture: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
19
19
  registration_status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
- }, z.core.$strip>>;
21
- }, z.core.$strip>;
20
+ }, z.core.$loose>>;
21
+ }, z.core.$loose>;
22
22
  declare const splitwiseGetUser: import("@keystrokehq/action").WorkflowActionDefinition<{
23
23
  id: number;
24
24
  }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
@@ -6,7 +6,7 @@ const SplitwiseGetUser_PictureSchema = z.object({
6
6
  large: z.string().describe("URL for the large-sized profile picture.").nullable().optional(),
7
7
  small: z.string().describe("URL for the small-sized profile picture.").nullable().optional(),
8
8
  medium: z.string().describe("URL for the medium-sized profile picture.").nullable().optional()
9
- }).describe("URLs for the user's profile picture in different sizes.");
9
+ }).passthrough().describe("URLs for the user's profile picture in different sizes.");
10
10
  const SplitwiseGetUser_UserSchema = z.object({
11
11
  id: z.number().int().describe("Unique identifier for the user.").nullable(),
12
12
  email: z.string().describe("User's email address.").nullable().optional(),
@@ -15,13 +15,13 @@ const SplitwiseGetUser_UserSchema = z.object({
15
15
  first_name: z.string().describe("User's first name.").nullable().optional(),
16
16
  custom_picture: z.boolean().describe("Indicates whether the user has a custom profile picture.").nullable().optional(),
17
17
  registration_status: z.string().describe("Registration status of the user (e.g., 'confirmed', 'dummy', 'invited').").nullable().optional()
18
- }).describe("Details of another user. Note: This endpoint returns only basic user information.\nFor the authenticated user's full profile (including notifications, currency, and locale),\nuse the get_current_user endpoint instead.");
18
+ }).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.");
19
19
  const splitwiseGetUser = action("SPLITWISE_GET_USER", {
20
20
  slug: "splitwise-get-user",
21
21
  name: "Get User Information",
22
22
  description: "Retrieves basic profile information about any Splitwise user by their ID. Returns the user's name, email, registration status, and profile picture. This endpoint only returns public user information. For the authenticated user's full profile (including notifications, currency preferences, and locale settings), use get_current_user instead.",
23
23
  input: SplitwiseGetUserInput,
24
- output: z.object({ user: SplitwiseGetUser_UserSchema.nullable() }).describe("Response schema for user information.")
24
+ output: z.object({ user: SplitwiseGetUser_UserSchema.nullable() }).passthrough().describe("Response schema for user information.")
25
25
  });
26
26
  //#endregion
27
27
  export { splitwiseGetUser };
@@ -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}).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}).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}).describe(\"Response schema for user information.\");\n\nexport const splitwiseGetUser = action(\"SPLITWISE_GET_USER\", {\n slug: \"splitwise-get-user\",\n name: \"Get User Information\",\n description: \"Retrieves basic profile information about any Splitwise user by their ID. Returns the user's name, email, registration status, and profile picture. This endpoint only returns public user information. For the authenticated user's full profile (including notifications, currency preferences, and locale settings), use get_current_user instead.\",\n input: SplitwiseGetUserInput,\n output: SplitwiseGetUserOutput,\n});\n"],"mappings":";;;AAIA,MAAa,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,SAAS,yDAAyD;AACrE,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,SAAS,2NAA2N;AAKvO,MAAa,mBAAmB,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAToC,EAAE,OAAO,EAC7C,MAAM,4BAA4B,SAAS,EAC7C,CAAC,CAAC,CAAC,SAAS,uCAOF;AACV,CAAC"}
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), use get_current_user instead.\",\n input: SplitwiseGetUserInput,\n output: SplitwiseGetUserOutput,\n});\n"],"mappings":";;;AAIA,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,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"}
@@ -8,7 +8,7 @@ const SplitwiseRemoveUserFromGroupInput = zod.z.object({
8
8
  const SplitwiseRemoveUserFromGroupOutput = zod.z.object({
9
9
  errors: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Any errors encountered during the operation. May contain details if user has non-zero balance.").nullable().optional(),
10
10
  success: zod.z.boolean().describe("Indicates whether the removal was successful. Always check this field as 200 OK does not guarantee success.").nullable()
11
- }).describe("Response model for removing a user from a group.");
11
+ }).passthrough().describe("Response model for removing a user from a group.");
12
12
  const splitwiseRemoveUserFromGroup = require_action.action("SPLITWISE_REMOVE_USER_FROM_GROUP", {
13
13
  slug: "splitwise-remove-user-from-group",
14
14
  name: "Remove User from Group",
@@ -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}).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,SAAS,kDAAkD;AAE9D,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 { 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"}
@@ -8,7 +8,7 @@ declare const SplitwiseRemoveUserFromGroupInput: z.ZodObject<{
8
8
  declare const SplitwiseRemoveUserFromGroupOutput: z.ZodObject<{
9
9
  errors: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
10
10
  success: z.ZodNullable<z.ZodBoolean>;
11
- }, z.core.$strip>;
11
+ }, z.core.$loose>;
12
12
  declare const splitwiseRemoveUserFromGroup: import("@keystrokehq/action").WorkflowActionDefinition<{
13
13
  user_id: number;
14
14
  group_id: number;
@@ -8,7 +8,7 @@ declare const SplitwiseRemoveUserFromGroupInput: z.ZodObject<{
8
8
  declare const SplitwiseRemoveUserFromGroupOutput: z.ZodObject<{
9
9
  errors: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
10
10
  success: z.ZodNullable<z.ZodBoolean>;
11
- }, z.core.$strip>;
11
+ }, z.core.$loose>;
12
12
  declare const splitwiseRemoveUserFromGroup: import("@keystrokehq/action").WorkflowActionDefinition<{
13
13
  user_id: number;
14
14
  group_id: number;
@@ -11,7 +11,7 @@ const splitwiseRemoveUserFromGroup = action("SPLITWISE_REMOVE_USER_FROM_GROUP",
11
11
  output: z.object({
12
12
  errors: z.record(z.string(), z.unknown()).describe("Any errors encountered during the operation. May contain details if user has non-zero balance.").nullable().optional(),
13
13
  success: z.boolean().describe("Indicates whether the removal was successful. Always check this field as 200 OK does not guarantee success.").nullable()
14
- }).describe("Response model for removing a user from a group.")
14
+ }).passthrough().describe("Response model for removing a user from a group.")
15
15
  });
16
16
  //#endregion
17
17
  export { splitwiseRemoveUserFromGroup };
@@ -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}).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,SAAS,kDAOF;AACV,CAAC"}
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"}
@@ -5,7 +5,7 @@ const SplitwiseUndeleteExpenseInput = zod.z.object({ id: zod.z.number().int().de
5
5
  const SplitwiseUndeleteExpenseOutput = zod.z.object({
6
6
  errors: zod.z.array(zod.z.string()).describe("List of error messages if the restoration failed.").nullable().optional(),
7
7
  success: zod.z.boolean().describe("Indicates whether the expense was successfully restored.").nullable()
8
- }).describe("Response model for the UndeleteExpense action.");
8
+ }).passthrough().describe("Response model for the UndeleteExpense action.");
9
9
  const splitwiseUndeleteExpense = require_action.action("SPLITWISE_UNDELETE_EXPENSE", {
10
10
  slug: "splitwise-undelete-expense",
11
11
  name: "Restore Deleted Expense",
@@ -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}).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,SAAS,gDAAgD;AAE5D,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 { 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"}
@@ -7,7 +7,7 @@ declare const SplitwiseUndeleteExpenseInput: z.ZodObject<{
7
7
  declare const SplitwiseUndeleteExpenseOutput: z.ZodObject<{
8
8
  errors: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
9
9
  success: z.ZodNullable<z.ZodBoolean>;
10
- }, z.core.$strip>;
10
+ }, z.core.$loose>;
11
11
  declare const splitwiseUndeleteExpense: import("@keystrokehq/action").WorkflowActionDefinition<{
12
12
  id: number;
13
13
  }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
@@ -7,7 +7,7 @@ declare const SplitwiseUndeleteExpenseInput: z.ZodObject<{
7
7
  declare const SplitwiseUndeleteExpenseOutput: z.ZodObject<{
8
8
  errors: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
9
9
  success: z.ZodNullable<z.ZodBoolean>;
10
- }, z.core.$strip>;
10
+ }, z.core.$loose>;
11
11
  declare const splitwiseUndeleteExpense: import("@keystrokehq/action").WorkflowActionDefinition<{
12
12
  id: number;
13
13
  }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
@@ -8,7 +8,7 @@ const splitwiseUndeleteExpense = action("SPLITWISE_UNDELETE_EXPENSE", {
8
8
  output: z.object({
9
9
  errors: z.array(z.string()).describe("List of error messages if the restoration failed.").nullable().optional(),
10
10
  success: z.boolean().describe("Indicates whether the expense was successfully restored.").nullable()
11
- }).describe("Response model for the UndeleteExpense action.")
11
+ }).passthrough().describe("Response model for the UndeleteExpense action.")
12
12
  });
13
13
  //#endregion
14
14
  export { splitwiseUndeleteExpense };
@@ -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}).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,SAAS,gDAOF;AACV,CAAC"}
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"}
@@ -5,7 +5,7 @@ const SplitwiseUndeleteGroupInput = zod.z.object({ id: zod.z.number().int().desc
5
5
  const SplitwiseUndeleteGroupOutput = zod.z.object({
6
6
  errors: zod.z.array(zod.z.string()).describe("List of error messages if the restoration failed.").nullable().optional(),
7
7
  success: zod.z.boolean().describe("Indicates whether the group was successfully restored.").nullable()
8
- }).describe("Response model for the UndeleteGroup action.");
8
+ }).passthrough().describe("Response model for the UndeleteGroup action.");
9
9
  const splitwiseUndeleteGroup = require_action.action("SPLITWISE_UNDELETE_GROUP", {
10
10
  slug: "splitwise-undelete-group",
11
11
  name: "Restore Deleted Group",
@@ -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}).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,SAAS,8CAA8C;AAE1D,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 { 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"}
@@ -7,7 +7,7 @@ declare const SplitwiseUndeleteGroupInput: z.ZodObject<{
7
7
  declare const SplitwiseUndeleteGroupOutput: z.ZodObject<{
8
8
  errors: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
9
9
  success: z.ZodNullable<z.ZodBoolean>;
10
- }, z.core.$strip>;
10
+ }, z.core.$loose>;
11
11
  declare const splitwiseUndeleteGroup: import("@keystrokehq/action").WorkflowActionDefinition<{
12
12
  id: number;
13
13
  }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
@@ -7,7 +7,7 @@ declare const SplitwiseUndeleteGroupInput: z.ZodObject<{
7
7
  declare const SplitwiseUndeleteGroupOutput: z.ZodObject<{
8
8
  errors: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
9
9
  success: z.ZodNullable<z.ZodBoolean>;
10
- }, z.core.$strip>;
10
+ }, z.core.$loose>;
11
11
  declare const splitwiseUndeleteGroup: import("@keystrokehq/action").WorkflowActionDefinition<{
12
12
  id: number;
13
13
  }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
@@ -8,7 +8,7 @@ const splitwiseUndeleteGroup = action("SPLITWISE_UNDELETE_GROUP", {
8
8
  output: z.object({
9
9
  errors: z.array(z.string()).describe("List of error messages if the restoration failed.").nullable().optional(),
10
10
  success: z.boolean().describe("Indicates whether the group was successfully restored.").nullable()
11
- }).describe("Response model for the UndeleteGroup action.")
11
+ }).passthrough().describe("Response model for the UndeleteGroup action.")
12
12
  });
13
13
  //#endregion
14
14
  export { splitwiseUndeleteGroup };
@@ -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}).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,SAAS,8CAOF;AACV,CAAC"}
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"}
@@ -12,7 +12,7 @@ const SplitwiseUpdateExpenseInput = zod.z.object({
12
12
  first_name: zod.z.string().describe("First name of the participant").optional(),
13
13
  owed_share: zod.z.string().describe("Amount this user owes (string decimal, 2 dp)"),
14
14
  paid_share: zod.z.string().describe("Amount this user paid (string decimal, 2 dp)")
15
- }).describe("A single participant's share when splitting an expense.\nMust include either user_id or the triplet (email, first_name, last_name).")).describe("List of custom share allocations. WARNING: If provided, ALL expense shares will be overwritten Each user entry must include `paid_share` and `owed_share`; both fields must each independently sum exactly to `cost`. Omit this field entirely unless a full overwrite of all shares is intended.").optional(),
15
+ }).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(),
16
16
  details: zod.z.string().describe("Additional notes for the expense").optional(),
17
17
  group_id: zod.z.number().int().describe("Group ID to assign this expense to (0 for no group)").optional(),
18
18
  category_id: zod.z.number().int().describe("Category ID from get_categories").optional(),
@@ -29,7 +29,7 @@ const SplitwiseUpdateExpenseInput = zod.z.object({
29
29
  const SplitwiseUpdateExpenseOutput = zod.z.object({
30
30
  errors: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Errors returned by the API; empty if none"),
31
31
  expenses: zod.z.array(zod.z.record(zod.z.string(), zod.z.unknown())).describe("List containing the updated expense object")
32
- }).describe("Response model for update_expense action.");
32
+ }).passthrough().describe("Response model for update_expense action.");
33
33
  const splitwiseUpdateExpense = require_action.action("SPLITWISE_UPDATE_EXPENSE", {
34
34
  slug: "splitwise-update-expense",
35
35
  name: "Update Expense",
@@ -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}).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}).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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AA,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,SAAS,2CAA2C;AAEvD,MAAa,yBAAyBC,eAAAA,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
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;CAC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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,yBAAyBC,eAAAA,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -12,7 +12,7 @@ declare const SplitwiseUpdateExpenseInput: z.ZodObject<{
12
12
  first_name: z.ZodOptional<z.ZodString>;
13
13
  owed_share: z.ZodString;
14
14
  paid_share: z.ZodString;
15
- }, z.core.$strip>>>;
15
+ }, z.core.$loose>>>;
16
16
  details: z.ZodOptional<z.ZodString>;
17
17
  group_id: z.ZodOptional<z.ZodNumber>;
18
18
  category_id: z.ZodOptional<z.ZodNumber>;
@@ -29,12 +29,13 @@ declare const SplitwiseUpdateExpenseInput: z.ZodObject<{
29
29
  declare const SplitwiseUpdateExpenseOutput: z.ZodObject<{
30
30
  errors: z.ZodRecord<z.ZodString, z.ZodUnknown>;
31
31
  expenses: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
32
- }, z.core.$strip>;
32
+ }, z.core.$loose>;
33
33
  declare const splitwiseUpdateExpense: import("@keystrokehq/action").WorkflowActionDefinition<{
34
34
  id: number;
35
35
  cost?: string | undefined;
36
36
  date?: string | undefined;
37
37
  users?: {
38
+ [x: string]: unknown;
38
39
  owed_share: string;
39
40
  paid_share: string;
40
41
  email?: string | undefined;
@@ -12,7 +12,7 @@ declare const SplitwiseUpdateExpenseInput: z.ZodObject<{
12
12
  first_name: z.ZodOptional<z.ZodString>;
13
13
  owed_share: z.ZodString;
14
14
  paid_share: z.ZodString;
15
- }, z.core.$strip>>>;
15
+ }, z.core.$loose>>>;
16
16
  details: z.ZodOptional<z.ZodString>;
17
17
  group_id: z.ZodOptional<z.ZodNumber>;
18
18
  category_id: z.ZodOptional<z.ZodNumber>;
@@ -29,12 +29,13 @@ declare const SplitwiseUpdateExpenseInput: z.ZodObject<{
29
29
  declare const SplitwiseUpdateExpenseOutput: z.ZodObject<{
30
30
  errors: z.ZodRecord<z.ZodString, z.ZodUnknown>;
31
31
  expenses: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
32
- }, z.core.$strip>;
32
+ }, z.core.$loose>;
33
33
  declare const splitwiseUpdateExpense: import("@keystrokehq/action").WorkflowActionDefinition<{
34
34
  id: number;
35
35
  cost?: string | undefined;
36
36
  date?: string | undefined;
37
37
  users?: {
38
+ [x: string]: unknown;
38
39
  owed_share: string;
39
40
  paid_share: string;
40
41
  email?: string | undefined;
@@ -15,7 +15,7 @@ const splitwiseUpdateExpense = action("SPLITWISE_UPDATE_EXPENSE", {
15
15
  first_name: z.string().describe("First name of the participant").optional(),
16
16
  owed_share: z.string().describe("Amount this user owes (string decimal, 2 dp)"),
17
17
  paid_share: z.string().describe("Amount this user paid (string decimal, 2 dp)")
18
- }).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(),
18
+ }).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(),
19
19
  details: z.string().describe("Additional notes for the expense").optional(),
20
20
  group_id: z.number().int().describe("Group ID to assign this expense to (0 for no group)").optional(),
21
21
  category_id: z.number().int().describe("Category ID from get_categories").optional(),
@@ -32,7 +32,7 @@ const splitwiseUpdateExpense = action("SPLITWISE_UPDATE_EXPENSE", {
32
32
  output: z.object({
33
33
  errors: z.record(z.string(), z.unknown()).describe("Errors returned by the API; empty if none"),
34
34
  expenses: z.array(z.record(z.string(), z.unknown())).describe("List containing the updated expense object")
35
- }).describe("Response model for update_expense action.")
35
+ }).passthrough().describe("Response model for update_expense action.")
36
36
  });
37
37
  //#endregion
38
38
  export { splitwiseUpdateExpense };
@@ -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}).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}).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,SAAS,qIAAqI,CAAC,CAAC,CAAC,SAAS,mSAAmS,CAAC,CAAC,SAAS;EACzc,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,SAAS,2CAOF;AACV,CAAC"}
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"}
@@ -14,7 +14,7 @@ const SplitwiseUpdateUser_PictureSchema = zod.z.object({
14
14
  large: zod.z.string().describe("URL for the large-sized profile picture").nullable().optional(),
15
15
  small: zod.z.string().describe("URL for the small-sized profile picture").nullable().optional(),
16
16
  medium: zod.z.string().describe("URL for the medium-sized profile picture").nullable().optional()
17
- }).describe("URLs for the user's profile picture in different sizes.");
17
+ }).passthrough().describe("URLs for the user's profile picture in different sizes.");
18
18
  const SplitwiseUpdateUser_NotificationsSchema = zod.z.object({
19
19
  bills: zod.z.boolean().describe("Bill notifications").nullable().optional(),
20
20
  payments: zod.z.boolean().describe("Payment notifications").nullable().optional(),
@@ -24,7 +24,7 @@ const SplitwiseUpdateUser_NotificationsSchema = zod.z.object({
24
24
  added_as_friend: zod.z.boolean().describe("Notifications when added as a friend").nullable().optional(),
25
25
  expense_updated: zod.z.boolean().describe("Notifications when an expense is updated").nullable().optional(),
26
26
  monthly_summary: zod.z.boolean().describe("Monthly summary notifications").nullable().optional()
27
- }).describe("User's notification preferences.");
27
+ }).passthrough().describe("User's notification preferences.");
28
28
  const SplitwiseUpdateUser_UserSchema = zod.z.object({
29
29
  id: zod.z.number().int().describe("Unique identifier for the user").nullable(),
30
30
  email: zod.z.string().describe("User's email address").nullable().optional(),
@@ -42,8 +42,8 @@ const SplitwiseUpdateUser_UserSchema = zod.z.object({
42
42
  notifications_read: zod.z.string().describe("Timestamp when notifications were last read").nullable().optional(),
43
43
  notifications_count: zod.z.number().int().describe("Number of unread notifications").nullable().optional(),
44
44
  registration_status: zod.z.string().describe("Account confirmation state (e.g., 'confirmed')").nullable().optional()
45
- }).describe("Details of the updated user.");
46
- const SplitwiseUpdateUserOutput = zod.z.object({ user: SplitwiseUpdateUser_UserSchema.nullable() }).describe("Response schema for updated user information.");
45
+ }).passthrough().describe("Details of the updated user.");
46
+ const SplitwiseUpdateUserOutput = zod.z.object({ user: SplitwiseUpdateUser_UserSchema.nullable() }).passthrough().describe("Response schema for updated user information.");
47
47
  const splitwiseUpdateUser = require_action.action("SPLITWISE_UPDATE_USER", {
48
48
  slug: "splitwise-update-user",
49
49
  name: "Update User",
@@ -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}).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}).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}).describe(\"Details of the updated user.\");\nexport const SplitwiseUpdateUserOutput = z.object({\n user: SplitwiseUpdateUser_UserSchema.nullable(),\n}).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,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,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC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SAAS,8BAA8B;AAC1C,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,EAChD,MAAM,+BAA+B,SAAS,EAChD,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAE3D,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 { 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,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