@keystrokehq/splitwise 0.1.2 → 0.1.4

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 (181) 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 +19 -7
  4. package/dist/actions/add-friend.d.mts +19 -7
  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 +17 -5
  10. package/dist/actions/add-user-to-group.d.mts +17 -5
  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 +16 -4
  16. package/dist/actions/create-comment.d.mts +16 -4
  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 +30 -17
  22. package/dist/actions/create-expense.d.mts +30 -17
  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 +21 -8
  28. package/dist/actions/create-friends.d.mts +21 -8
  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 +22 -9
  34. package/dist/actions/create-group.d.mts +22 -9
  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 +17 -5
  40. package/dist/actions/delete-comment.d.mts +17 -5
  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 +14 -2
  46. package/dist/actions/delete-expense.d.mts +14 -2
  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 +14 -2
  52. package/dist/actions/delete-friend.d.mts +14 -2
  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 +14 -2
  58. package/dist/actions/delete-group.d.mts +14 -2
  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 +16 -4
  64. package/dist/actions/get-categories.d.cts.map +1 -1
  65. package/dist/actions/get-categories.d.mts +16 -4
  66. package/dist/actions/get-categories.d.mts.map +1 -1
  67. package/dist/actions/get-categories.mjs +3 -3
  68. package/dist/actions/get-categories.mjs.map +1 -1
  69. package/dist/actions/get-comments.cjs +4 -4
  70. package/dist/actions/get-comments.cjs.map +1 -1
  71. package/dist/actions/get-comments.d.cts +17 -5
  72. package/dist/actions/get-comments.d.mts +17 -5
  73. package/dist/actions/get-comments.mjs +4 -4
  74. package/dist/actions/get-comments.mjs.map +1 -1
  75. package/dist/actions/get-currencies.cjs +2 -2
  76. package/dist/actions/get-currencies.cjs.map +1 -1
  77. package/dist/actions/get-currencies.d.cts +15 -3
  78. package/dist/actions/get-currencies.d.cts.map +1 -1
  79. package/dist/actions/get-currencies.d.mts +15 -3
  80. package/dist/actions/get-currencies.d.mts.map +1 -1
  81. package/dist/actions/get-currencies.mjs +2 -2
  82. package/dist/actions/get-currencies.mjs.map +1 -1
  83. package/dist/actions/get-current-user.cjs +4 -4
  84. package/dist/actions/get-current-user.cjs.map +1 -1
  85. package/dist/actions/get-current-user.d.cts +17 -5
  86. package/dist/actions/get-current-user.d.cts.map +1 -1
  87. package/dist/actions/get-current-user.d.mts +17 -5
  88. package/dist/actions/get-current-user.d.mts.map +1 -1
  89. package/dist/actions/get-current-user.mjs +4 -4
  90. package/dist/actions/get-current-user.mjs.map +1 -1
  91. package/dist/actions/get-expense.cjs +9 -9
  92. package/dist/actions/get-expense.cjs.map +1 -1
  93. package/dist/actions/get-expense.d.cts +30 -18
  94. package/dist/actions/get-expense.d.mts +30 -18
  95. package/dist/actions/get-expense.mjs +9 -9
  96. package/dist/actions/get-expense.mjs.map +1 -1
  97. package/dist/actions/get-expenses.cjs +9 -9
  98. package/dist/actions/get-expenses.cjs.map +1 -1
  99. package/dist/actions/get-expenses.d.cts +30 -18
  100. package/dist/actions/get-expenses.d.mts +30 -18
  101. package/dist/actions/get-expenses.mjs +9 -9
  102. package/dist/actions/get-expenses.mjs.map +1 -1
  103. package/dist/actions/get-friend.cjs +5 -5
  104. package/dist/actions/get-friend.cjs.map +1 -1
  105. package/dist/actions/get-friend.d.cts +19 -7
  106. package/dist/actions/get-friend.d.mts +19 -7
  107. package/dist/actions/get-friend.mjs +5 -5
  108. package/dist/actions/get-friend.mjs.map +1 -1
  109. package/dist/actions/get-friends.cjs +5 -5
  110. package/dist/actions/get-friends.cjs.map +1 -1
  111. package/dist/actions/get-friends.d.cts +19 -7
  112. package/dist/actions/get-friends.d.cts.map +1 -1
  113. package/dist/actions/get-friends.d.mts +19 -7
  114. package/dist/actions/get-friends.d.mts.map +1 -1
  115. package/dist/actions/get-friends.mjs +5 -5
  116. package/dist/actions/get-friends.mjs.map +1 -1
  117. package/dist/actions/get-group.cjs +9 -9
  118. package/dist/actions/get-group.cjs.map +1 -1
  119. package/dist/actions/get-group.d.cts +23 -11
  120. package/dist/actions/get-group.d.mts +23 -11
  121. package/dist/actions/get-group.mjs +9 -9
  122. package/dist/actions/get-group.mjs.map +1 -1
  123. package/dist/actions/get-groups.cjs +9 -9
  124. package/dist/actions/get-groups.cjs.map +1 -1
  125. package/dist/actions/get-groups.d.cts +23 -11
  126. package/dist/actions/get-groups.d.cts.map +1 -1
  127. package/dist/actions/get-groups.d.mts +23 -11
  128. package/dist/actions/get-groups.d.mts.map +1 -1
  129. package/dist/actions/get-groups.mjs +9 -9
  130. package/dist/actions/get-groups.mjs.map +1 -1
  131. package/dist/actions/get-notifications.cjs +3 -3
  132. package/dist/actions/get-notifications.cjs.map +1 -1
  133. package/dist/actions/get-notifications.d.cts +16 -4
  134. package/dist/actions/get-notifications.d.mts +16 -4
  135. package/dist/actions/get-notifications.mjs +3 -3
  136. package/dist/actions/get-notifications.mjs.map +1 -1
  137. package/dist/actions/get-user.cjs +3 -3
  138. package/dist/actions/get-user.cjs.map +1 -1
  139. package/dist/actions/get-user.d.cts +16 -4
  140. package/dist/actions/get-user.d.mts +16 -4
  141. package/dist/actions/get-user.mjs +3 -3
  142. package/dist/actions/get-user.mjs.map +1 -1
  143. package/dist/actions/remove-user-from-group.cjs +1 -1
  144. package/dist/actions/remove-user-from-group.cjs.map +1 -1
  145. package/dist/actions/remove-user-from-group.d.cts +14 -2
  146. package/dist/actions/remove-user-from-group.d.mts +14 -2
  147. package/dist/actions/remove-user-from-group.mjs +1 -1
  148. package/dist/actions/remove-user-from-group.mjs.map +1 -1
  149. package/dist/actions/undelete-expense.cjs +1 -1
  150. package/dist/actions/undelete-expense.cjs.map +1 -1
  151. package/dist/actions/undelete-expense.d.cts +14 -2
  152. package/dist/actions/undelete-expense.d.mts +14 -2
  153. package/dist/actions/undelete-expense.mjs +1 -1
  154. package/dist/actions/undelete-expense.mjs.map +1 -1
  155. package/dist/actions/undelete-group.cjs +1 -1
  156. package/dist/actions/undelete-group.cjs.map +1 -1
  157. package/dist/actions/undelete-group.d.cts +14 -2
  158. package/dist/actions/undelete-group.d.mts +14 -2
  159. package/dist/actions/undelete-group.mjs +1 -1
  160. package/dist/actions/undelete-group.mjs.map +1 -1
  161. package/dist/actions/update-expense.cjs +2 -2
  162. package/dist/actions/update-expense.cjs.map +1 -1
  163. package/dist/actions/update-expense.d.cts +16 -3
  164. package/dist/actions/update-expense.d.mts +16 -3
  165. package/dist/actions/update-expense.mjs +2 -2
  166. package/dist/actions/update-expense.mjs.map +1 -1
  167. package/dist/actions/update-user.cjs +4 -4
  168. package/dist/actions/update-user.cjs.map +1 -1
  169. package/dist/actions/update-user.d.cts +17 -5
  170. package/dist/actions/update-user.d.mts +17 -5
  171. package/dist/actions/update-user.mjs +4 -4
  172. package/dist/actions/update-user.mjs.map +1 -1
  173. package/dist/app.cjs +5 -2
  174. package/dist/app.cjs.map +1 -1
  175. package/dist/app.d.cts +9 -1
  176. package/dist/app.d.cts.map +1 -1
  177. package/dist/app.d.mts +9 -1
  178. package/dist/app.d.mts.map +1 -1
  179. package/dist/app.mjs +3 -1
  180. package/dist/app.mjs.map +1 -1
  181. package/package.json +1 -1
@@ -6,7 +6,7 @@ declare const SplitwiseCreateFriendsInput: z.ZodObject<{
6
6
  email: z.ZodString;
7
7
  last_name: z.ZodOptional<z.ZodString>;
8
8
  first_name: z.ZodString;
9
- }, z.core.$strip>>;
9
+ }, z.core.$loose>>;
10
10
  }, z.core.$strip>;
11
11
  declare const SplitwiseCreateFriendsOutput: z.ZodObject<{
12
12
  users: z.ZodArray<z.ZodObject<{
@@ -16,33 +16,46 @@ declare const SplitwiseCreateFriendsOutput: z.ZodObject<{
16
16
  balance: z.ZodArray<z.ZodObject<{
17
17
  amount: z.ZodNullable<z.ZodString>;
18
18
  currency_code: z.ZodNullable<z.ZodString>;
19
- }, z.core.$strip>>;
19
+ }, z.core.$loose>>;
20
20
  group_id: z.ZodNullable<z.ZodNumber>;
21
- }, z.core.$strip>>>>;
21
+ }, z.core.$loose>>>>;
22
22
  balance: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
23
23
  amount: z.ZodNullable<z.ZodString>;
24
24
  currency_code: z.ZodNullable<z.ZodString>;
25
- }, z.core.$strip>>>>;
25
+ }, z.core.$loose>>>>;
26
26
  picture: z.ZodOptional<z.ZodNullable<z.ZodObject<{
27
27
  large: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28
28
  small: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29
29
  medium: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30
- }, z.core.$strip>>>;
30
+ }, z.core.$loose>>>;
31
31
  last_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32
32
  first_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33
33
  updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34
34
  custom_picture: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
35
35
  registration_status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
36
- }, z.core.$strip>>;
36
+ }, z.core.$loose>>;
37
37
  errors: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
38
- }, z.core.$strip>;
38
+ }, z.core.$loose>;
39
39
  declare const splitwiseCreateFriends: import("@keystrokehq/action").WorkflowActionDefinition<{
40
40
  users: {
41
+ [x: string]: unknown;
41
42
  email: string;
42
43
  first_name: string;
43
44
  last_name?: string | undefined;
44
45
  }[];
45
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
46
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"splitwise", z.ZodObject<{
47
+ connectionId: z.ZodString;
48
+ entityId: z.ZodString;
49
+ instanceId: z.ZodString;
50
+ }, z.core.$strip>, z.ZodObject<{
51
+ accessToken: z.ZodString;
52
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"splitwise", z.ZodObject<{
53
+ connectionId: z.ZodString;
54
+ entityId: z.ZodString;
55
+ instanceId: z.ZodString;
56
+ }, z.core.$strip>, z.ZodObject<{
57
+ accessToken: z.ZodString;
58
+ }, z.core.$strip>>]>;
46
59
  //#endregion
47
60
  export { splitwiseCreateFriends };
48
61
  //# sourceMappingURL=create-friends.d.cts.map
@@ -6,7 +6,7 @@ declare const SplitwiseCreateFriendsInput: z.ZodObject<{
6
6
  email: z.ZodString;
7
7
  last_name: z.ZodOptional<z.ZodString>;
8
8
  first_name: z.ZodString;
9
- }, z.core.$strip>>;
9
+ }, z.core.$loose>>;
10
10
  }, z.core.$strip>;
11
11
  declare const SplitwiseCreateFriendsOutput: z.ZodObject<{
12
12
  users: z.ZodArray<z.ZodObject<{
@@ -16,33 +16,46 @@ declare const SplitwiseCreateFriendsOutput: z.ZodObject<{
16
16
  balance: z.ZodArray<z.ZodObject<{
17
17
  amount: z.ZodNullable<z.ZodString>;
18
18
  currency_code: z.ZodNullable<z.ZodString>;
19
- }, z.core.$strip>>;
19
+ }, z.core.$loose>>;
20
20
  group_id: z.ZodNullable<z.ZodNumber>;
21
- }, z.core.$strip>>>>;
21
+ }, z.core.$loose>>>>;
22
22
  balance: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
23
23
  amount: z.ZodNullable<z.ZodString>;
24
24
  currency_code: z.ZodNullable<z.ZodString>;
25
- }, z.core.$strip>>>>;
25
+ }, z.core.$loose>>>>;
26
26
  picture: z.ZodOptional<z.ZodNullable<z.ZodObject<{
27
27
  large: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28
28
  small: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29
29
  medium: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30
- }, z.core.$strip>>>;
30
+ }, z.core.$loose>>>;
31
31
  last_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32
32
  first_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33
33
  updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34
34
  custom_picture: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
35
35
  registration_status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
36
- }, z.core.$strip>>;
36
+ }, z.core.$loose>>;
37
37
  errors: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
38
- }, z.core.$strip>;
38
+ }, z.core.$loose>;
39
39
  declare const splitwiseCreateFriends: import("@keystrokehq/action").WorkflowActionDefinition<{
40
40
  users: {
41
+ [x: string]: unknown;
41
42
  email: string;
42
43
  first_name: string;
43
44
  last_name?: string | undefined;
44
45
  }[];
45
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
46
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"splitwise", z.ZodObject<{
47
+ connectionId: z.ZodString;
48
+ entityId: z.ZodString;
49
+ instanceId: z.ZodString;
50
+ }, z.core.$strip>, z.ZodObject<{
51
+ accessToken: z.ZodString;
52
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"splitwise", z.ZodObject<{
53
+ connectionId: z.ZodString;
54
+ entityId: z.ZodString;
55
+ instanceId: z.ZodString;
56
+ }, z.core.$strip>, z.ZodObject<{
57
+ accessToken: z.ZodString;
58
+ }, z.core.$strip>>]>;
46
59
  //#endregion
47
60
  export { splitwiseCreateFriends };
48
61
  //# sourceMappingURL=create-friends.d.mts.map
@@ -5,20 +5,20 @@ const SplitwiseCreateFriendsInput = z.object({ users: z.array(z.object({
5
5
  email: z.string().describe("Email address of the user (required)"),
6
6
  last_name: z.string().describe("Last name of the user (optional)").optional(),
7
7
  first_name: z.string().describe("First name of the user (required for new users)")
8
- }).describe("A single user to add as a friend.")).describe("List of users to add as friends. Each user must have an email and first_name.") }).describe("Request parameters for adding multiple friends at once.");
8
+ }).passthrough().describe("A single user to add as a friend.")).describe("List of users to add as friends. Each user must have an email and first_name.") }).describe("Request parameters for adding multiple friends at once.");
9
9
  const SplitwiseCreateFriends_BalanceItemSchema = z.object({
10
10
  amount: z.string().describe("Balance amount as string").nullable(),
11
11
  currency_code: z.string().describe("Currency code, e.g., 'USD'").nullable()
12
- }).describe("A balance amount in a given currency.");
12
+ }).passthrough().describe("A balance amount in a given currency.");
13
13
  const SplitwiseCreateFriends_GroupItemSchema = z.object({
14
14
  balance: z.array(SplitwiseCreateFriends_BalanceItemSchema).describe("List of balances within this group"),
15
15
  group_id: z.number().int().describe("Unique ID of the group").nullable()
16
- }).describe("Group membership and balances for the friend.");
16
+ }).passthrough().describe("Group membership and balances for the friend.");
17
17
  const SplitwiseCreateFriends_PictureSchema = z.object({
18
18
  large: z.string().describe("URL for large profile picture").nullable().optional(),
19
19
  small: z.string().describe("URL for small profile picture").nullable().optional(),
20
20
  medium: z.string().describe("URL for medium profile picture").nullable().optional()
21
- }).describe("URLs for different sizes of the user's profile picture.");
21
+ }).passthrough().describe("URLs for different sizes of the user's profile picture.");
22
22
  const SplitwiseCreateFriends_FriendUserSchema = z.object({
23
23
  id: z.number().int().describe("Unique user ID").nullable(),
24
24
  email: z.string().describe("Email address of the user").nullable().optional(),
@@ -30,7 +30,7 @@ const SplitwiseCreateFriends_FriendUserSchema = z.object({
30
30
  updated_at: z.string().describe("ISO 8601 timestamp of last update").nullable().optional(),
31
31
  custom_picture: z.boolean().describe("Whether they have a custom profile picture").nullable().optional(),
32
32
  registration_status: z.string().describe("Registration status, e.g., 'confirmed'").nullable().optional()
33
- }).describe("Friend user object returned by Splitwise.");
33
+ }).passthrough().describe("Friend user object returned by Splitwise.");
34
34
  const splitwiseCreateFriends = action("SPLITWISE_CREATE_FRIENDS", {
35
35
  slug: "splitwise-create-friends",
36
36
  name: "Create Friends",
@@ -39,7 +39,7 @@ const splitwiseCreateFriends = action("SPLITWISE_CREATE_FRIENDS", {
39
39
  output: z.object({
40
40
  users: z.array(SplitwiseCreateFriends_FriendUserSchema).describe("Array of user objects that were created or already existed"),
41
41
  errors: z.record(z.string(), z.unknown()).describe("Key-value pairs mapping property names to validation failure messages").nullable().optional()
42
- }).describe("Response for creating multiple friends.")
42
+ }).passthrough().describe("Response for creating multiple friends.")
43
43
  });
44
44
  //#endregion
45
45
  export { splitwiseCreateFriends };
@@ -1 +1 @@
1
- {"version":3,"file":"create-friends.mjs","names":[],"sources":["../../src/actions/create-friends.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SplitwiseCreateFriendsInput = z.object({\n users: z.array(z.object({\n email: z.string().describe(\"Email address of the user (required)\"),\n last_name: z.string().describe(\"Last name of the user (optional)\").optional(),\n first_name: z.string().describe(\"First name of the user (required for new users)\"),\n}).describe(\"A single user to add as a friend.\")).describe(\"List of users to add as friends. Each user must have an email and first_name.\"),\n}).describe(\"Request parameters for adding multiple friends at once.\");\nconst SplitwiseCreateFriends_BalanceItemSchema = z.object({\n amount: z.string().describe(\"Balance amount as string\").nullable(),\n currency_code: z.string().describe(\"Currency code, e.g., 'USD'\").nullable(),\n}).describe(\"A balance amount in a given currency.\");\nconst SplitwiseCreateFriends_GroupItemSchema = z.object({\n balance: z.array(SplitwiseCreateFriends_BalanceItemSchema).describe(\"List of balances within this group\"),\n group_id: z.number().int().describe(\"Unique ID of the group\").nullable(),\n}).describe(\"Group membership and balances for the friend.\");\nconst SplitwiseCreateFriends_PictureSchema = z.object({\n large: z.string().describe(\"URL for large profile picture\").nullable().optional(),\n small: z.string().describe(\"URL for small profile picture\").nullable().optional(),\n medium: z.string().describe(\"URL for medium profile picture\").nullable().optional(),\n}).describe(\"URLs for different sizes of the user's profile picture.\");\nconst SplitwiseCreateFriends_FriendUserSchema = z.object({\n id: z.number().int().describe(\"Unique user ID\").nullable(),\n email: z.string().describe(\"Email address of the user\").nullable().optional(),\n groups: z.array(SplitwiseCreateFriends_GroupItemSchema).describe(\"Groups the user belongs to\").nullable().optional(),\n balance: z.array(SplitwiseCreateFriends_BalanceItemSchema).describe(\"Overall balances with this user\").nullable().optional(),\n picture: SplitwiseCreateFriends_PictureSchema.nullable().optional(),\n last_name: z.string().describe(\"Last name of the user\").nullable().optional(),\n first_name: z.string().describe(\"First name of the user\").nullable().optional(),\n updated_at: z.string().describe(\"ISO 8601 timestamp of last update\").nullable().optional(),\n custom_picture: z.boolean().describe(\"Whether they have a custom profile picture\").nullable().optional(),\n registration_status: z.string().describe(\"Registration status, e.g., 'confirmed'\").nullable().optional(),\n}).describe(\"Friend user object returned by Splitwise.\");\nexport const SplitwiseCreateFriendsOutput = z.object({\n users: z.array(SplitwiseCreateFriends_FriendUserSchema).describe(\"Array of user objects that were created or already existed\"),\n errors: z.record(z.string(), z.unknown()).describe(\"Key-value pairs mapping property names to validation failure messages\").nullable().optional(),\n}).describe(\"Response for creating multiple friends.\");\n\nexport const splitwiseCreateFriends = action(\"SPLITWISE_CREATE_FRIENDS\", {\n slug: \"splitwise-create-friends\",\n name: \"Create Friends\",\n description: \"Tool to add multiple friends at once to Splitwise. Use when you need to add several friends in a single operation.\",\n input: SplitwiseCreateFriendsInput,\n output: SplitwiseCreateFriendsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8B,EAAE,OAAO,EAClD,OAAO,EAAE,MAAM,EAAE,OAAO;CACxB,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;CACjE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAC5E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;AACnF,CAAC,CAAC,CAAC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C,CAAC,SAAS;CAC3H,SAAS,qCAAqC,SAAS,CAAC,CAAC,SAAS;CAClE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,gBAAgB,EAAE,QAAQ,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,qBAAqB,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzG,CAAC,CAAC,CAAC,SAAS,2CAA2C;AAMvD,MAAa,yBAAyB,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV0C,EAAE,OAAO;EACnD,OAAO,EAAE,MAAM,uCAAuC,CAAC,CAAC,SAAS,4DAA4D;EAC7H,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClJ,CAAC,CAAC,CAAC,SAAS,yCAOF;AACV,CAAC"}
1
+ {"version":3,"file":"create-friends.mjs","names":[],"sources":["../../src/actions/create-friends.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SplitwiseCreateFriendsInput = z.object({\n users: z.array(z.object({\n email: z.string().describe(\"Email address of the user (required)\"),\n last_name: z.string().describe(\"Last name of the user (optional)\").optional(),\n first_name: z.string().describe(\"First name of the user (required for new users)\"),\n}).passthrough().describe(\"A single user to add as a friend.\")).describe(\"List of users to add as friends. Each user must have an email and first_name.\"),\n}).describe(\"Request parameters for adding multiple friends at once.\");\nconst SplitwiseCreateFriends_BalanceItemSchema = z.object({\n amount: z.string().describe(\"Balance amount as string\").nullable(),\n currency_code: z.string().describe(\"Currency code, e.g., 'USD'\").nullable(),\n}).passthrough().describe(\"A balance amount in a given currency.\");\nconst SplitwiseCreateFriends_GroupItemSchema = z.object({\n balance: z.array(SplitwiseCreateFriends_BalanceItemSchema).describe(\"List of balances within this group\"),\n group_id: z.number().int().describe(\"Unique ID of the group\").nullable(),\n}).passthrough().describe(\"Group membership and balances for the friend.\");\nconst SplitwiseCreateFriends_PictureSchema = z.object({\n large: z.string().describe(\"URL for large profile picture\").nullable().optional(),\n small: z.string().describe(\"URL for small profile picture\").nullable().optional(),\n medium: z.string().describe(\"URL for medium profile picture\").nullable().optional(),\n}).passthrough().describe(\"URLs for different sizes of the user's profile picture.\");\nconst SplitwiseCreateFriends_FriendUserSchema = z.object({\n id: z.number().int().describe(\"Unique user ID\").nullable(),\n email: z.string().describe(\"Email address of the user\").nullable().optional(),\n groups: z.array(SplitwiseCreateFriends_GroupItemSchema).describe(\"Groups the user belongs to\").nullable().optional(),\n balance: z.array(SplitwiseCreateFriends_BalanceItemSchema).describe(\"Overall balances with this user\").nullable().optional(),\n picture: SplitwiseCreateFriends_PictureSchema.nullable().optional(),\n last_name: z.string().describe(\"Last name of the user\").nullable().optional(),\n first_name: z.string().describe(\"First name of the user\").nullable().optional(),\n updated_at: z.string().describe(\"ISO 8601 timestamp of last update\").nullable().optional(),\n custom_picture: z.boolean().describe(\"Whether they have a custom profile picture\").nullable().optional(),\n registration_status: z.string().describe(\"Registration status, e.g., 'confirmed'\").nullable().optional(),\n}).passthrough().describe(\"Friend user object returned by Splitwise.\");\nexport const SplitwiseCreateFriendsOutput = z.object({\n users: z.array(SplitwiseCreateFriends_FriendUserSchema).describe(\"Array of user objects that were created or already existed\"),\n errors: z.record(z.string(), z.unknown()).describe(\"Key-value pairs mapping property names to validation failure messages\").nullable().optional(),\n}).passthrough().describe(\"Response for creating multiple friends.\");\n\nexport const splitwiseCreateFriends = action(\"SPLITWISE_CREATE_FRIENDS\", {\n slug: \"splitwise-create-friends\",\n name: \"Create Friends\",\n description: \"Tool to add multiple friends at once to Splitwise. Use when you need to add several friends in a single operation.\",\n input: SplitwiseCreateFriendsInput,\n output: SplitwiseCreateFriendsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8B,EAAE,OAAO,EAClD,OAAO,EAAE,MAAM,EAAE,OAAO;CACxB,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;CACjE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAC5E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;AACnF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,CAAC,SAAS,+EAA+E,EACxJ,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrE,MAAM,2CAA2C,EAAE,OAAO;CACxD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CACjE,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;AAC5E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAAuC;AACjE,MAAM,yCAAyC,EAAE,OAAO;CACtD,SAAS,EAAE,MAAM,wCAAwC,CAAC,CAAC,SAAS,oCAAoC;CACxG,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;AACzE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAA+C;AACzE,MAAM,uCAAuC,EAAE,OAAO;CACpD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CA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,CAAC,CAAC,SAAS,4DAA4D;EAC7H,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAOhB;AACV,CAAC"}
@@ -8,7 +8,7 @@ const SplitwiseCreateGroupInput = zod.z.object({
8
8
  user_id: zod.z.number().int().describe("ID of an existing Splitwise user to add to the group").optional(),
9
9
  last_name: zod.z.string().describe("Last name of the user").optional(),
10
10
  first_name: zod.z.string().describe("First name of the user. Required when inviting a user by email without user_id.").optional()
11
- }).describe("A member to add to the group.\nMust include either user_id or email. When email is provided without user_id, first_name is required.")).describe("List of users to add to the group. Each user needs either user_id or email. If invited by email only, first_name is required by Splitwise; last_name is optional.").optional(),
11
+ }).passthrough().describe("A member to add to the group.\nMust include either user_id or email. When email is provided without user_id, first_name is required.")).describe("List of users to add to the group. Each user needs either user_id or email. If invited by email only, first_name is required by Splitwise; last_name is optional.").optional(),
12
12
  group_type: zod.z.enum([
13
13
  "home",
14
14
  "trip",
@@ -26,16 +26,16 @@ const SplitwiseCreateGroup_AvatarSchema = zod.z.object({
26
26
  xlarge: zod.z.string().describe("Extra large avatar URL").nullable().optional(),
27
27
  xxlarge: zod.z.string().describe("Extra extra large avatar URL").nullable().optional(),
28
28
  original: zod.z.string().describe("Original avatar URL").nullable().optional()
29
- }).describe("Group avatar URLs");
29
+ }).passthrough().describe("Group avatar URLs");
30
30
  const SplitwiseCreateGroup_BalanceSchema = zod.z.object({
31
31
  amount: zod.z.string().describe("Balance amount as string").nullable().optional(),
32
32
  currency_code: zod.z.string().describe("Currency code (e.g., USD)").nullable().optional()
33
- }).describe("Balance in a specific currency");
33
+ }).passthrough().describe("Balance in a specific currency");
34
34
  const SplitwiseCreateGroup_PictureSchema = zod.z.object({
35
35
  large: zod.z.string().describe("Large size picture URL").nullable().optional(),
36
36
  small: zod.z.string().describe("Small size picture URL").nullable().optional(),
37
37
  medium: zod.z.string().describe("Medium size picture URL").nullable().optional()
38
- }).describe("User profile picture URLs");
38
+ }).passthrough().describe("User profile picture URLs");
39
39
  const SplitwiseCreateGroup_MemberSchema = zod.z.object({
40
40
  id: zod.z.number().int().describe("Member user ID").nullable().optional(),
41
41
  email: zod.z.string().describe("Member email address").nullable().optional(),
@@ -45,14 +45,14 @@ const SplitwiseCreateGroup_MemberSchema = zod.z.object({
45
45
  first_name: zod.z.string().describe("Member first name").nullable().optional(),
46
46
  custom_picture: zod.z.boolean().describe("Whether member has custom picture").nullable().optional(),
47
47
  registration_status: zod.z.string().describe("Registration status of the member").nullable().optional()
48
- }).describe("Group member information");
48
+ }).passthrough().describe("Group member information");
49
49
  const SplitwiseCreateGroup_CoverPhotoSchema = zod.z.object({
50
50
  large: zod.z.string().describe("Large cover photo URL").nullable().optional(),
51
51
  small: zod.z.string().describe("Small cover photo URL").nullable().optional(),
52
52
  medium: zod.z.string().describe("Medium cover photo URL").nullable().optional(),
53
53
  xlarge: zod.z.string().describe("Extra large cover photo URL").nullable().optional(),
54
54
  xxlarge: zod.z.string().describe("Extra extra large cover photo URL").nullable().optional()
55
- }).describe("Group cover photo URLs");
55
+ }).passthrough().describe("Group cover photo URLs");
56
56
  const SplitwiseCreateGroup_GroupSchema = zod.z.object({
57
57
  id: zod.z.number().int().describe("Unique group identifier").nullable().optional(),
58
58
  name: zod.z.string().describe("Group name").nullable().optional(),
@@ -66,11 +66,11 @@ const SplitwiseCreateGroup_GroupSchema = zod.z.object({
66
66
  original_debts: zod.z.array(zod.z.record(zod.z.string(), zod.z.unknown())).describe("Original debt records before simplification").nullable().optional(),
67
67
  simplified_debts: zod.z.array(zod.z.record(zod.z.string(), zod.z.unknown())).describe("Simplified debt records").nullable().optional(),
68
68
  simplify_by_default: zod.z.boolean().describe("Whether debt simplification is enabled").nullable().optional()
69
- }).describe("Group object returned by the API");
69
+ }).passthrough().describe("Group object returned by the API");
70
70
  const SplitwiseCreateGroupOutput = zod.z.object({
71
71
  group: SplitwiseCreateGroup_GroupSchema.nullable().optional(),
72
72
  errors: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Any errors encountered during the operation").nullable().optional()
73
- }).describe("Response model for creating a new group.");
73
+ }).passthrough().describe("Response model for creating a new group.");
74
74
  const splitwiseCreateGroup = require_action.action("SPLITWISE_CREATE_GROUP", {
75
75
  slug: "splitwise-create-group",
76
76
  name: "Create Group",
@@ -1 +1 @@
1
- {"version":3,"file":"create-group.cjs","names":["z","action"],"sources":["../../src/actions/create-group.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SplitwiseCreateGroupInput = z.object({\n name: z.string().describe(\"The name of the group to create\"),\n users: z.array(z.object({\n email: z.string().describe(\"Email address of the user to add to the group\").optional(),\n user_id: z.number().int().describe(\"ID of an existing Splitwise user to add to the group\").optional(),\n last_name: z.string().describe(\"Last name of the user\").optional(),\n first_name: z.string().describe(\"First name of the user. Required when inviting a user by email without user_id.\").optional(),\n}).describe(\"A member to add to the group.\\nMust include either user_id or email. When email is provided without user_id, first_name is required.\")).describe(\"List of users to add to the group. Each user needs either user_id or email. If invited by email only, first_name is required by Splitwise; last_name is optional.\").optional(),\n group_type: z.enum([\"home\", \"trip\", \"couple\", \"other\", \"apartment\", \"house\"]).describe(\"Type of group being created. Options: 'home', 'trip', 'couple', 'other', 'apartment', 'house'\").optional(),\n simplify_by_default: z.boolean().describe(\"Whether to turn on simplified debts for this group\").optional(),\n}).describe(\"Request parameters for creating a new group.\");\nconst SplitwiseCreateGroup_AvatarSchema = z.object({\n large: z.string().describe(\"Large avatar URL\").nullable().optional(),\n small: z.string().describe(\"Small avatar URL\").nullable().optional(),\n medium: z.string().describe(\"Medium avatar URL\").nullable().optional(),\n xlarge: z.string().describe(\"Extra large avatar URL\").nullable().optional(),\n xxlarge: z.string().describe(\"Extra extra large avatar URL\").nullable().optional(),\n original: z.string().describe(\"Original avatar URL\").nullable().optional(),\n}).describe(\"Group avatar URLs\");\nconst SplitwiseCreateGroup_BalanceSchema = z.object({\n amount: z.string().describe(\"Balance amount as string\").nullable().optional(),\n currency_code: z.string().describe(\"Currency code (e.g., USD)\").nullable().optional(),\n}).describe(\"Balance in a specific currency\");\nconst SplitwiseCreateGroup_PictureSchema = z.object({\n large: z.string().describe(\"Large size picture URL\").nullable().optional(),\n small: z.string().describe(\"Small size picture URL\").nullable().optional(),\n medium: z.string().describe(\"Medium size picture URL\").nullable().optional(),\n}).describe(\"User profile picture URLs\");\nconst SplitwiseCreateGroup_MemberSchema = z.object({\n id: z.number().int().describe(\"Member user ID\").nullable().optional(),\n email: z.string().describe(\"Member email address\").nullable().optional(),\n balance: z.array(SplitwiseCreateGroup_BalanceSchema).describe(\"Member balance in various currencies\").nullable().optional(),\n picture: SplitwiseCreateGroup_PictureSchema.nullable().optional(),\n last_name: z.string().describe(\"Member last name\").nullable().optional(),\n first_name: z.string().describe(\"Member first name\").nullable().optional(),\n custom_picture: z.boolean().describe(\"Whether member has custom picture\").nullable().optional(),\n registration_status: z.string().describe(\"Registration status of the member\").nullable().optional(),\n}).describe(\"Group member information\");\nconst SplitwiseCreateGroup_CoverPhotoSchema = z.object({\n large: z.string().describe(\"Large cover photo URL\").nullable().optional(),\n small: z.string().describe(\"Small cover photo URL\").nullable().optional(),\n medium: z.string().describe(\"Medium cover photo URL\").nullable().optional(),\n xlarge: z.string().describe(\"Extra large cover photo URL\").nullable().optional(),\n xxlarge: z.string().describe(\"Extra extra large cover photo URL\").nullable().optional(),\n}).describe(\"Group cover photo URLs\");\nconst SplitwiseCreateGroup_GroupSchema = z.object({\n id: z.number().int().describe(\"Unique group identifier\").nullable().optional(),\n name: z.string().describe(\"Group name\").nullable().optional(),\n avatar: SplitwiseCreateGroup_AvatarSchema.nullable().optional(),\n members: z.array(SplitwiseCreateGroup_MemberSchema).describe(\"List of group members\").nullable().optional(),\n group_type: z.string().describe(\"Type of group (home, trip, couple, other, apartment, house)\").nullable().optional(),\n updated_at: z.string().describe(\"ISO 8601 timestamp of last update\").nullable().optional(),\n cover_photo: SplitwiseCreateGroup_CoverPhotoSchema.nullable().optional(),\n invite_link: z.string().describe(\"URL for inviting users to join the group\").nullable().optional(),\n custom_avatar: z.boolean().describe(\"Whether custom avatar is set\").nullable().optional(),\n original_debts: z.array(z.record(z.string(), z.unknown())).describe(\"Original debt records before simplification\").nullable().optional(),\n simplified_debts: z.array(z.record(z.string(), z.unknown())).describe(\"Simplified debt records\").nullable().optional(),\n simplify_by_default: z.boolean().describe(\"Whether debt simplification is enabled\").nullable().optional(),\n}).describe(\"Group object returned by the API\");\nexport const SplitwiseCreateGroupOutput = z.object({\n group: SplitwiseCreateGroup_GroupSchema.nullable().optional(),\n errors: z.record(z.string(), z.unknown()).describe(\"Any errors encountered during the operation\").nullable().optional(),\n}).describe(\"Response model for creating a new group.\");\n\nexport const splitwiseCreateGroup = action(\"SPLITWISE_CREATE_GROUP\", {\n slug: \"splitwise-create-group\",\n name: \"Create Group\",\n description: \"Tool to create a new group in Splitwise. Use when you need to create a group for tracking shared expenses. The current user is automatically added to the group. You can optionally add other members during creation.\",\n input: SplitwiseCreateGroupInput,\n output: SplitwiseCreateGroupOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC;CAC3D,OAAOA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EACxB,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;EACrF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;EACpG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;EACjE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAA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A,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,eAAeA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,gBAAgBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvI,kBAAkBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrH,qBAAqBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1G,CAAC,CAAC,CAAC,SAAS,kCAAkC;AAC9C,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,OAAO,iCAAiC,SAAS,CAAC,CAAC,SAAS;CAC5D,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxH,CAAC,CAAC,CAAC,SAAS,0CAA0C;AAEtD,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"create-group.cjs","names":["z","action"],"sources":["../../src/actions/create-group.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SplitwiseCreateGroupInput = z.object({\n name: z.string().describe(\"The name of the group to create\"),\n users: z.array(z.object({\n email: z.string().describe(\"Email address of the user to add to the group\").optional(),\n user_id: z.number().int().describe(\"ID of an existing Splitwise user to add to the group\").optional(),\n last_name: z.string().describe(\"Last name of the user\").optional(),\n first_name: z.string().describe(\"First name of the user. Required when inviting a user by email without user_id.\").optional(),\n}).passthrough().describe(\"A member to add to the group.\\nMust include either user_id or email. When email is provided without user_id, first_name is required.\")).describe(\"List of users to add to the group. Each user needs either user_id or email. If invited by email only, first_name is required by Splitwise; last_name is optional.\").optional(),\n group_type: z.enum([\"home\", \"trip\", \"couple\", \"other\", \"apartment\", \"house\"]).describe(\"Type of group being created. Options: 'home', 'trip', 'couple', 'other', 'apartment', 'house'\").optional(),\n simplify_by_default: z.boolean().describe(\"Whether to turn on simplified debts for this group\").optional(),\n}).describe(\"Request parameters for creating a new group.\");\nconst SplitwiseCreateGroup_AvatarSchema = z.object({\n large: z.string().describe(\"Large avatar URL\").nullable().optional(),\n small: z.string().describe(\"Small avatar URL\").nullable().optional(),\n medium: z.string().describe(\"Medium avatar URL\").nullable().optional(),\n xlarge: z.string().describe(\"Extra large avatar URL\").nullable().optional(),\n xxlarge: z.string().describe(\"Extra extra large avatar URL\").nullable().optional(),\n original: z.string().describe(\"Original avatar URL\").nullable().optional(),\n}).passthrough().describe(\"Group avatar URLs\");\nconst SplitwiseCreateGroup_BalanceSchema = z.object({\n amount: z.string().describe(\"Balance amount as string\").nullable().optional(),\n currency_code: z.string().describe(\"Currency code (e.g., USD)\").nullable().optional(),\n}).passthrough().describe(\"Balance in a specific currency\");\nconst SplitwiseCreateGroup_PictureSchema = z.object({\n large: z.string().describe(\"Large size picture URL\").nullable().optional(),\n small: z.string().describe(\"Small size picture URL\").nullable().optional(),\n medium: z.string().describe(\"Medium size picture URL\").nullable().optional(),\n}).passthrough().describe(\"User profile picture URLs\");\nconst SplitwiseCreateGroup_MemberSchema = z.object({\n id: z.number().int().describe(\"Member user ID\").nullable().optional(),\n email: z.string().describe(\"Member email address\").nullable().optional(),\n balance: z.array(SplitwiseCreateGroup_BalanceSchema).describe(\"Member balance in various currencies\").nullable().optional(),\n picture: SplitwiseCreateGroup_PictureSchema.nullable().optional(),\n last_name: z.string().describe(\"Member last name\").nullable().optional(),\n first_name: z.string().describe(\"Member first name\").nullable().optional(),\n custom_picture: z.boolean().describe(\"Whether member has custom picture\").nullable().optional(),\n registration_status: z.string().describe(\"Registration status of the member\").nullable().optional(),\n}).passthrough().describe(\"Group member information\");\nconst SplitwiseCreateGroup_CoverPhotoSchema = z.object({\n large: z.string().describe(\"Large cover photo URL\").nullable().optional(),\n small: z.string().describe(\"Small cover photo URL\").nullable().optional(),\n medium: z.string().describe(\"Medium cover photo URL\").nullable().optional(),\n xlarge: z.string().describe(\"Extra large cover photo URL\").nullable().optional(),\n xxlarge: z.string().describe(\"Extra extra large cover photo URL\").nullable().optional(),\n}).passthrough().describe(\"Group cover photo URLs\");\nconst SplitwiseCreateGroup_GroupSchema = z.object({\n id: z.number().int().describe(\"Unique group identifier\").nullable().optional(),\n name: z.string().describe(\"Group name\").nullable().optional(),\n avatar: SplitwiseCreateGroup_AvatarSchema.nullable().optional(),\n members: z.array(SplitwiseCreateGroup_MemberSchema).describe(\"List of group members\").nullable().optional(),\n group_type: z.string().describe(\"Type of group (home, trip, couple, other, apartment, house)\").nullable().optional(),\n updated_at: z.string().describe(\"ISO 8601 timestamp of last update\").nullable().optional(),\n cover_photo: SplitwiseCreateGroup_CoverPhotoSchema.nullable().optional(),\n invite_link: z.string().describe(\"URL for inviting users to join the group\").nullable().optional(),\n custom_avatar: z.boolean().describe(\"Whether custom avatar is set\").nullable().optional(),\n original_debts: z.array(z.record(z.string(), z.unknown())).describe(\"Original debt records before simplification\").nullable().optional(),\n simplified_debts: z.array(z.record(z.string(), z.unknown())).describe(\"Simplified debt records\").nullable().optional(),\n simplify_by_default: z.boolean().describe(\"Whether debt simplification is enabled\").nullable().optional(),\n}).passthrough().describe(\"Group object returned by the API\");\nexport const SplitwiseCreateGroupOutput = z.object({\n group: SplitwiseCreateGroup_GroupSchema.nullable().optional(),\n errors: z.record(z.string(), z.unknown()).describe(\"Any errors encountered during the operation\").nullable().optional(),\n}).passthrough().describe(\"Response model for creating a new group.\");\n\nexport const splitwiseCreateGroup = action(\"SPLITWISE_CREATE_GROUP\", {\n slug: \"splitwise-create-group\",\n name: \"Create Group\",\n description: \"Tool to create a new group in Splitwise. Use when you need to create a group for tracking shared expenses. The current user is automatically added to the group. You can optionally add other members during creation.\",\n input: SplitwiseCreateGroupInput,\n output: SplitwiseCreateGroupOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC;CAC3D,OAAOA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EACxB,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;EACrF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;EACpG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;EACjE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;CAC9H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sIAAsI,CAAC,CAAC,CAAC,SAAS,mKAAmK,CAAC,CAAC,SAAS;CACxV,YAAYA,IAAAA,EAAE,KAAK;EAAC;EAAQ;EAAQ;EAAU;EAAS;EAAa;CAAO,CAAC,CAAC,CAAC,SAAS,+FAA+F,CAAC,CAAC,SAAS;CACjM,qBAAqBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;AAC3G,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAC1D,MAAM,oCAAoCA,IAAAA,EAAE,OAAO;CACjD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S,CAAC,CAAC,SAAS;CACvI,kBAAkBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrH,qBAAqBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kCAAkC;AAC5D,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,OAAO,iCAAiC,SAAS,CAAC,CAAC,SAAS;CAC5D,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AAEpE,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -8,7 +8,7 @@ declare const SplitwiseCreateGroupInput: z.ZodObject<{
8
8
  user_id: z.ZodOptional<z.ZodNumber>;
9
9
  last_name: z.ZodOptional<z.ZodString>;
10
10
  first_name: z.ZodOptional<z.ZodString>;
11
- }, z.core.$strip>>>;
11
+ }, z.core.$loose>>>;
12
12
  group_type: z.ZodOptional<z.ZodEnum<{
13
13
  home: "home";
14
14
  trip: "trip";
@@ -30,24 +30,24 @@ declare const SplitwiseCreateGroupOutput: z.ZodObject<{
30
30
  xlarge: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31
31
  xxlarge: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32
32
  original: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33
- }, z.core.$strip>>>;
33
+ }, z.core.$loose>>>;
34
34
  members: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
35
35
  id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
36
36
  email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
37
37
  balance: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
38
38
  amount: z.ZodOptional<z.ZodNullable<z.ZodString>>;
39
39
  currency_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
40
- }, z.core.$strip>>>>;
40
+ }, z.core.$loose>>>>;
41
41
  picture: z.ZodOptional<z.ZodNullable<z.ZodObject<{
42
42
  large: z.ZodOptional<z.ZodNullable<z.ZodString>>;
43
43
  small: z.ZodOptional<z.ZodNullable<z.ZodString>>;
44
44
  medium: z.ZodOptional<z.ZodNullable<z.ZodString>>;
45
- }, z.core.$strip>>>;
45
+ }, z.core.$loose>>>;
46
46
  last_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
47
47
  first_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
48
48
  custom_picture: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
49
49
  registration_status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
50
- }, z.core.$strip>>>>;
50
+ }, z.core.$loose>>>>;
51
51
  group_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
52
52
  updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
53
53
  cover_photo: z.ZodOptional<z.ZodNullable<z.ZodObject<{
@@ -56,18 +56,19 @@ declare const SplitwiseCreateGroupOutput: z.ZodObject<{
56
56
  medium: z.ZodOptional<z.ZodNullable<z.ZodString>>;
57
57
  xlarge: z.ZodOptional<z.ZodNullable<z.ZodString>>;
58
58
  xxlarge: z.ZodOptional<z.ZodNullable<z.ZodString>>;
59
- }, z.core.$strip>>>;
59
+ }, z.core.$loose>>>;
60
60
  invite_link: z.ZodOptional<z.ZodNullable<z.ZodString>>;
61
61
  custom_avatar: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
62
62
  original_debts: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
63
63
  simplified_debts: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
64
64
  simplify_by_default: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
65
- }, z.core.$strip>>>;
65
+ }, z.core.$loose>>>;
66
66
  errors: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
67
- }, z.core.$strip>;
67
+ }, z.core.$loose>;
68
68
  declare const splitwiseCreateGroup: import("@keystrokehq/action").WorkflowActionDefinition<{
69
69
  name: string;
70
70
  users?: {
71
+ [x: string]: unknown;
71
72
  email?: string | undefined;
72
73
  user_id?: number | undefined;
73
74
  last_name?: string | undefined;
@@ -75,7 +76,19 @@ declare const splitwiseCreateGroup: import("@keystrokehq/action").WorkflowAction
75
76
  }[] | undefined;
76
77
  group_type?: "home" | "trip" | "couple" | "other" | "apartment" | "house" | undefined;
77
78
  simplify_by_default?: boolean | undefined;
78
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
79
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"splitwise", z.ZodObject<{
80
+ connectionId: z.ZodString;
81
+ entityId: z.ZodString;
82
+ instanceId: z.ZodString;
83
+ }, z.core.$strip>, z.ZodObject<{
84
+ accessToken: z.ZodString;
85
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"splitwise", z.ZodObject<{
86
+ connectionId: z.ZodString;
87
+ entityId: z.ZodString;
88
+ instanceId: z.ZodString;
89
+ }, z.core.$strip>, z.ZodObject<{
90
+ accessToken: z.ZodString;
91
+ }, z.core.$strip>>]>;
79
92
  //#endregion
80
93
  export { splitwiseCreateGroup };
81
94
  //# sourceMappingURL=create-group.d.cts.map
@@ -8,7 +8,7 @@ declare const SplitwiseCreateGroupInput: z.ZodObject<{
8
8
  user_id: z.ZodOptional<z.ZodNumber>;
9
9
  last_name: z.ZodOptional<z.ZodString>;
10
10
  first_name: z.ZodOptional<z.ZodString>;
11
- }, z.core.$strip>>>;
11
+ }, z.core.$loose>>>;
12
12
  group_type: z.ZodOptional<z.ZodEnum<{
13
13
  home: "home";
14
14
  trip: "trip";
@@ -30,24 +30,24 @@ declare const SplitwiseCreateGroupOutput: z.ZodObject<{
30
30
  xlarge: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31
31
  xxlarge: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32
32
  original: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33
- }, z.core.$strip>>>;
33
+ }, z.core.$loose>>>;
34
34
  members: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
35
35
  id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
36
36
  email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
37
37
  balance: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
38
38
  amount: z.ZodOptional<z.ZodNullable<z.ZodString>>;
39
39
  currency_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
40
- }, z.core.$strip>>>>;
40
+ }, z.core.$loose>>>>;
41
41
  picture: z.ZodOptional<z.ZodNullable<z.ZodObject<{
42
42
  large: z.ZodOptional<z.ZodNullable<z.ZodString>>;
43
43
  small: z.ZodOptional<z.ZodNullable<z.ZodString>>;
44
44
  medium: z.ZodOptional<z.ZodNullable<z.ZodString>>;
45
- }, z.core.$strip>>>;
45
+ }, z.core.$loose>>>;
46
46
  last_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
47
47
  first_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
48
48
  custom_picture: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
49
49
  registration_status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
50
- }, z.core.$strip>>>>;
50
+ }, z.core.$loose>>>>;
51
51
  group_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
52
52
  updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
53
53
  cover_photo: z.ZodOptional<z.ZodNullable<z.ZodObject<{
@@ -56,18 +56,19 @@ declare const SplitwiseCreateGroupOutput: z.ZodObject<{
56
56
  medium: z.ZodOptional<z.ZodNullable<z.ZodString>>;
57
57
  xlarge: z.ZodOptional<z.ZodNullable<z.ZodString>>;
58
58
  xxlarge: z.ZodOptional<z.ZodNullable<z.ZodString>>;
59
- }, z.core.$strip>>>;
59
+ }, z.core.$loose>>>;
60
60
  invite_link: z.ZodOptional<z.ZodNullable<z.ZodString>>;
61
61
  custom_avatar: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
62
62
  original_debts: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
63
63
  simplified_debts: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
64
64
  simplify_by_default: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
65
- }, z.core.$strip>>>;
65
+ }, z.core.$loose>>>;
66
66
  errors: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
67
- }, z.core.$strip>;
67
+ }, z.core.$loose>;
68
68
  declare const splitwiseCreateGroup: import("@keystrokehq/action").WorkflowActionDefinition<{
69
69
  name: string;
70
70
  users?: {
71
+ [x: string]: unknown;
71
72
  email?: string | undefined;
72
73
  user_id?: number | undefined;
73
74
  last_name?: string | undefined;
@@ -75,7 +76,19 @@ declare const splitwiseCreateGroup: import("@keystrokehq/action").WorkflowAction
75
76
  }[] | undefined;
76
77
  group_type?: "home" | "trip" | "couple" | "other" | "apartment" | "house" | undefined;
77
78
  simplify_by_default?: boolean | undefined;
78
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
79
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"splitwise", z.ZodObject<{
80
+ connectionId: z.ZodString;
81
+ entityId: z.ZodString;
82
+ instanceId: z.ZodString;
83
+ }, z.core.$strip>, z.ZodObject<{
84
+ accessToken: z.ZodString;
85
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"splitwise", z.ZodObject<{
86
+ connectionId: z.ZodString;
87
+ entityId: z.ZodString;
88
+ instanceId: z.ZodString;
89
+ }, z.core.$strip>, z.ZodObject<{
90
+ accessToken: z.ZodString;
91
+ }, z.core.$strip>>]>;
79
92
  //#endregion
80
93
  export { splitwiseCreateGroup };
81
94
  //# sourceMappingURL=create-group.d.mts.map
@@ -8,7 +8,7 @@ const SplitwiseCreateGroupInput = z.object({
8
8
  user_id: z.number().int().describe("ID of an existing Splitwise user to add to the group").optional(),
9
9
  last_name: z.string().describe("Last name of the user").optional(),
10
10
  first_name: z.string().describe("First name of the user. Required when inviting a user by email without user_id.").optional()
11
- }).describe("A member to add to the group.\nMust include either user_id or email. When email is provided without user_id, first_name is required.")).describe("List of users to add to the group. Each user needs either user_id or email. If invited by email only, first_name is required by Splitwise; last_name is optional.").optional(),
11
+ }).passthrough().describe("A member to add to the group.\nMust include either user_id or email. When email is provided without user_id, first_name is required.")).describe("List of users to add to the group. Each user needs either user_id or email. If invited by email only, first_name is required by Splitwise; last_name is optional.").optional(),
12
12
  group_type: z.enum([
13
13
  "home",
14
14
  "trip",
@@ -26,16 +26,16 @@ const SplitwiseCreateGroup_AvatarSchema = z.object({
26
26
  xlarge: z.string().describe("Extra large avatar URL").nullable().optional(),
27
27
  xxlarge: z.string().describe("Extra extra large avatar URL").nullable().optional(),
28
28
  original: z.string().describe("Original avatar URL").nullable().optional()
29
- }).describe("Group avatar URLs");
29
+ }).passthrough().describe("Group avatar URLs");
30
30
  const SplitwiseCreateGroup_BalanceSchema = z.object({
31
31
  amount: z.string().describe("Balance amount as string").nullable().optional(),
32
32
  currency_code: z.string().describe("Currency code (e.g., USD)").nullable().optional()
33
- }).describe("Balance in a specific currency");
33
+ }).passthrough().describe("Balance in a specific currency");
34
34
  const SplitwiseCreateGroup_PictureSchema = z.object({
35
35
  large: z.string().describe("Large size picture URL").nullable().optional(),
36
36
  small: z.string().describe("Small size picture URL").nullable().optional(),
37
37
  medium: z.string().describe("Medium size picture URL").nullable().optional()
38
- }).describe("User profile picture URLs");
38
+ }).passthrough().describe("User profile picture URLs");
39
39
  const SplitwiseCreateGroup_MemberSchema = z.object({
40
40
  id: z.number().int().describe("Member user ID").nullable().optional(),
41
41
  email: z.string().describe("Member email address").nullable().optional(),
@@ -45,14 +45,14 @@ const SplitwiseCreateGroup_MemberSchema = z.object({
45
45
  first_name: z.string().describe("Member first name").nullable().optional(),
46
46
  custom_picture: z.boolean().describe("Whether member has custom picture").nullable().optional(),
47
47
  registration_status: z.string().describe("Registration status of the member").nullable().optional()
48
- }).describe("Group member information");
48
+ }).passthrough().describe("Group member information");
49
49
  const SplitwiseCreateGroup_CoverPhotoSchema = z.object({
50
50
  large: z.string().describe("Large cover photo URL").nullable().optional(),
51
51
  small: z.string().describe("Small cover photo URL").nullable().optional(),
52
52
  medium: z.string().describe("Medium cover photo URL").nullable().optional(),
53
53
  xlarge: z.string().describe("Extra large cover photo URL").nullable().optional(),
54
54
  xxlarge: z.string().describe("Extra extra large cover photo URL").nullable().optional()
55
- }).describe("Group cover photo URLs");
55
+ }).passthrough().describe("Group cover photo URLs");
56
56
  const SplitwiseCreateGroup_GroupSchema = z.object({
57
57
  id: z.number().int().describe("Unique group identifier").nullable().optional(),
58
58
  name: z.string().describe("Group name").nullable().optional(),
@@ -66,7 +66,7 @@ const SplitwiseCreateGroup_GroupSchema = z.object({
66
66
  original_debts: z.array(z.record(z.string(), z.unknown())).describe("Original debt records before simplification").nullable().optional(),
67
67
  simplified_debts: z.array(z.record(z.string(), z.unknown())).describe("Simplified debt records").nullable().optional(),
68
68
  simplify_by_default: z.boolean().describe("Whether debt simplification is enabled").nullable().optional()
69
- }).describe("Group object returned by the API");
69
+ }).passthrough().describe("Group object returned by the API");
70
70
  const splitwiseCreateGroup = action("SPLITWISE_CREATE_GROUP", {
71
71
  slug: "splitwise-create-group",
72
72
  name: "Create Group",
@@ -75,7 +75,7 @@ const splitwiseCreateGroup = action("SPLITWISE_CREATE_GROUP", {
75
75
  output: z.object({
76
76
  group: SplitwiseCreateGroup_GroupSchema.nullable().optional(),
77
77
  errors: z.record(z.string(), z.unknown()).describe("Any errors encountered during the operation").nullable().optional()
78
- }).describe("Response model for creating a new group.")
78
+ }).passthrough().describe("Response model for creating a new group.")
79
79
  });
80
80
  //#endregion
81
81
  export { splitwiseCreateGroup };
@@ -1 +1 @@
1
- {"version":3,"file":"create-group.mjs","names":[],"sources":["../../src/actions/create-group.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SplitwiseCreateGroupInput = z.object({\n name: z.string().describe(\"The name of the group to create\"),\n users: z.array(z.object({\n email: z.string().describe(\"Email address of the user to add to the group\").optional(),\n user_id: z.number().int().describe(\"ID of an existing Splitwise user to add to the group\").optional(),\n last_name: z.string().describe(\"Last name of the user\").optional(),\n first_name: z.string().describe(\"First name of the user. Required when inviting a user by email without user_id.\").optional(),\n}).describe(\"A member to add to the group.\\nMust include either user_id or email. When email is provided without user_id, first_name is required.\")).describe(\"List of users to add to the group. Each user needs either user_id or email. If invited by email only, first_name is required by Splitwise; last_name is optional.\").optional(),\n group_type: z.enum([\"home\", \"trip\", \"couple\", \"other\", \"apartment\", \"house\"]).describe(\"Type of group being created. Options: 'home', 'trip', 'couple', 'other', 'apartment', 'house'\").optional(),\n simplify_by_default: z.boolean().describe(\"Whether to turn on simplified debts for this group\").optional(),\n}).describe(\"Request parameters for creating a new group.\");\nconst SplitwiseCreateGroup_AvatarSchema = z.object({\n large: z.string().describe(\"Large avatar URL\").nullable().optional(),\n small: z.string().describe(\"Small avatar URL\").nullable().optional(),\n medium: z.string().describe(\"Medium avatar URL\").nullable().optional(),\n xlarge: z.string().describe(\"Extra large avatar URL\").nullable().optional(),\n xxlarge: z.string().describe(\"Extra extra large avatar URL\").nullable().optional(),\n original: z.string().describe(\"Original avatar URL\").nullable().optional(),\n}).describe(\"Group avatar URLs\");\nconst SplitwiseCreateGroup_BalanceSchema = z.object({\n amount: z.string().describe(\"Balance amount as string\").nullable().optional(),\n currency_code: z.string().describe(\"Currency code (e.g., USD)\").nullable().optional(),\n}).describe(\"Balance in a specific currency\");\nconst SplitwiseCreateGroup_PictureSchema = z.object({\n large: z.string().describe(\"Large size picture URL\").nullable().optional(),\n small: z.string().describe(\"Small size picture URL\").nullable().optional(),\n medium: z.string().describe(\"Medium size picture URL\").nullable().optional(),\n}).describe(\"User profile picture URLs\");\nconst SplitwiseCreateGroup_MemberSchema = z.object({\n id: z.number().int().describe(\"Member user ID\").nullable().optional(),\n email: z.string().describe(\"Member email address\").nullable().optional(),\n balance: z.array(SplitwiseCreateGroup_BalanceSchema).describe(\"Member balance in various currencies\").nullable().optional(),\n picture: SplitwiseCreateGroup_PictureSchema.nullable().optional(),\n last_name: z.string().describe(\"Member last name\").nullable().optional(),\n first_name: z.string().describe(\"Member first name\").nullable().optional(),\n custom_picture: z.boolean().describe(\"Whether member has custom picture\").nullable().optional(),\n registration_status: z.string().describe(\"Registration status of the member\").nullable().optional(),\n}).describe(\"Group member information\");\nconst SplitwiseCreateGroup_CoverPhotoSchema = z.object({\n large: z.string().describe(\"Large cover photo URL\").nullable().optional(),\n small: z.string().describe(\"Small cover photo URL\").nullable().optional(),\n medium: z.string().describe(\"Medium cover photo URL\").nullable().optional(),\n xlarge: z.string().describe(\"Extra large cover photo URL\").nullable().optional(),\n xxlarge: z.string().describe(\"Extra extra large cover photo URL\").nullable().optional(),\n}).describe(\"Group cover photo URLs\");\nconst SplitwiseCreateGroup_GroupSchema = z.object({\n id: z.number().int().describe(\"Unique group identifier\").nullable().optional(),\n name: z.string().describe(\"Group name\").nullable().optional(),\n avatar: SplitwiseCreateGroup_AvatarSchema.nullable().optional(),\n members: z.array(SplitwiseCreateGroup_MemberSchema).describe(\"List of group members\").nullable().optional(),\n group_type: z.string().describe(\"Type of group (home, trip, couple, other, apartment, house)\").nullable().optional(),\n updated_at: z.string().describe(\"ISO 8601 timestamp of last update\").nullable().optional(),\n cover_photo: SplitwiseCreateGroup_CoverPhotoSchema.nullable().optional(),\n invite_link: z.string().describe(\"URL for inviting users to join the group\").nullable().optional(),\n custom_avatar: z.boolean().describe(\"Whether custom avatar is set\").nullable().optional(),\n original_debts: z.array(z.record(z.string(), z.unknown())).describe(\"Original debt records before simplification\").nullable().optional(),\n simplified_debts: z.array(z.record(z.string(), z.unknown())).describe(\"Simplified debt records\").nullable().optional(),\n simplify_by_default: z.boolean().describe(\"Whether debt simplification is enabled\").nullable().optional(),\n}).describe(\"Group object returned by the API\");\nexport const SplitwiseCreateGroupOutput = z.object({\n group: SplitwiseCreateGroup_GroupSchema.nullable().optional(),\n errors: z.record(z.string(), z.unknown()).describe(\"Any errors encountered during the operation\").nullable().optional(),\n}).describe(\"Response model for creating a new group.\");\n\nexport const splitwiseCreateGroup = action(\"SPLITWISE_CREATE_GROUP\", {\n slug: \"splitwise-create-group\",\n name: \"Create Group\",\n description: \"Tool to create a new group in Splitwise. Use when you need to create a group for tracking shared expenses. The current user is automatically added to the group. You can optionally add other members during creation.\",\n input: SplitwiseCreateGroupInput,\n output: SplitwiseCreateGroupOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4B,EAAE,OAAO;CAChD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC;CAC3D,OAAO,EAAE,MAAM,EAAE,OAAO;EACxB,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;EACrF,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,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CAAC,SAAS;CACxF,gBAAgB,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvI,kBAAkB,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrH,qBAAqB,EAAE,QAAQ,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1G,CAAC,CAAC,CAAC,SAAS,kCAAkC;AAM9C,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVwC,EAAE,OAAO;EACjD,OAAO,iCAAiC,SAAS,CAAC,CAAC,SAAS;EAC5D,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,CAAC,CAAC,CAAC,SAAS,0CAOF;AACV,CAAC"}
1
+ {"version":3,"file":"create-group.mjs","names":[],"sources":["../../src/actions/create-group.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SplitwiseCreateGroupInput = z.object({\n name: z.string().describe(\"The name of the group to create\"),\n users: z.array(z.object({\n email: z.string().describe(\"Email address of the user to add to the group\").optional(),\n user_id: z.number().int().describe(\"ID of an existing Splitwise user to add to the group\").optional(),\n last_name: z.string().describe(\"Last name of the user\").optional(),\n first_name: z.string().describe(\"First name of the user. Required when inviting a user by email without user_id.\").optional(),\n}).passthrough().describe(\"A member to add to the group.\\nMust include either user_id or email. When email is provided without user_id, first_name is required.\")).describe(\"List of users to add to the group. Each user needs either user_id or email. If invited by email only, first_name is required by Splitwise; last_name is optional.\").optional(),\n group_type: z.enum([\"home\", \"trip\", \"couple\", \"other\", \"apartment\", \"house\"]).describe(\"Type of group being created. Options: 'home', 'trip', 'couple', 'other', 'apartment', 'house'\").optional(),\n simplify_by_default: z.boolean().describe(\"Whether to turn on simplified debts for this group\").optional(),\n}).describe(\"Request parameters for creating a new group.\");\nconst SplitwiseCreateGroup_AvatarSchema = z.object({\n large: z.string().describe(\"Large avatar URL\").nullable().optional(),\n small: z.string().describe(\"Small avatar URL\").nullable().optional(),\n medium: z.string().describe(\"Medium avatar URL\").nullable().optional(),\n xlarge: z.string().describe(\"Extra large avatar URL\").nullable().optional(),\n xxlarge: z.string().describe(\"Extra extra large avatar URL\").nullable().optional(),\n original: z.string().describe(\"Original avatar URL\").nullable().optional(),\n}).passthrough().describe(\"Group avatar URLs\");\nconst SplitwiseCreateGroup_BalanceSchema = z.object({\n amount: z.string().describe(\"Balance amount as string\").nullable().optional(),\n currency_code: z.string().describe(\"Currency code (e.g., USD)\").nullable().optional(),\n}).passthrough().describe(\"Balance in a specific currency\");\nconst SplitwiseCreateGroup_PictureSchema = z.object({\n large: z.string().describe(\"Large size picture URL\").nullable().optional(),\n small: z.string().describe(\"Small size picture URL\").nullable().optional(),\n medium: z.string().describe(\"Medium size picture URL\").nullable().optional(),\n}).passthrough().describe(\"User profile picture URLs\");\nconst SplitwiseCreateGroup_MemberSchema = z.object({\n id: z.number().int().describe(\"Member user ID\").nullable().optional(),\n email: z.string().describe(\"Member email address\").nullable().optional(),\n balance: z.array(SplitwiseCreateGroup_BalanceSchema).describe(\"Member balance in various currencies\").nullable().optional(),\n picture: SplitwiseCreateGroup_PictureSchema.nullable().optional(),\n last_name: z.string().describe(\"Member last name\").nullable().optional(),\n first_name: z.string().describe(\"Member first name\").nullable().optional(),\n custom_picture: z.boolean().describe(\"Whether member has custom picture\").nullable().optional(),\n registration_status: z.string().describe(\"Registration status of the member\").nullable().optional(),\n}).passthrough().describe(\"Group member information\");\nconst SplitwiseCreateGroup_CoverPhotoSchema = z.object({\n large: z.string().describe(\"Large cover photo URL\").nullable().optional(),\n small: z.string().describe(\"Small cover photo URL\").nullable().optional(),\n medium: z.string().describe(\"Medium cover photo URL\").nullable().optional(),\n xlarge: z.string().describe(\"Extra large cover photo URL\").nullable().optional(),\n xxlarge: z.string().describe(\"Extra extra large cover photo URL\").nullable().optional(),\n}).passthrough().describe(\"Group cover photo URLs\");\nconst SplitwiseCreateGroup_GroupSchema = z.object({\n id: z.number().int().describe(\"Unique group identifier\").nullable().optional(),\n name: z.string().describe(\"Group name\").nullable().optional(),\n avatar: SplitwiseCreateGroup_AvatarSchema.nullable().optional(),\n members: z.array(SplitwiseCreateGroup_MemberSchema).describe(\"List of group members\").nullable().optional(),\n group_type: z.string().describe(\"Type of group (home, trip, couple, other, apartment, house)\").nullable().optional(),\n updated_at: z.string().describe(\"ISO 8601 timestamp of last update\").nullable().optional(),\n cover_photo: SplitwiseCreateGroup_CoverPhotoSchema.nullable().optional(),\n invite_link: z.string().describe(\"URL for inviting users to join the group\").nullable().optional(),\n custom_avatar: z.boolean().describe(\"Whether custom avatar is set\").nullable().optional(),\n original_debts: z.array(z.record(z.string(), z.unknown())).describe(\"Original debt records before simplification\").nullable().optional(),\n simplified_debts: z.array(z.record(z.string(), z.unknown())).describe(\"Simplified debt records\").nullable().optional(),\n simplify_by_default: z.boolean().describe(\"Whether debt simplification is enabled\").nullable().optional(),\n}).passthrough().describe(\"Group object returned by the API\");\nexport const SplitwiseCreateGroupOutput = z.object({\n group: SplitwiseCreateGroup_GroupSchema.nullable().optional(),\n errors: z.record(z.string(), z.unknown()).describe(\"Any errors encountered during the operation\").nullable().optional(),\n}).passthrough().describe(\"Response model for creating a new group.\");\n\nexport const splitwiseCreateGroup = action(\"SPLITWISE_CREATE_GROUP\", {\n slug: \"splitwise-create-group\",\n name: \"Create Group\",\n description: \"Tool to create a new group in Splitwise. Use when you need to create a group for tracking shared expenses. The current user is automatically added to the group. You can optionally add other members during creation.\",\n input: SplitwiseCreateGroupIn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