@keystrokehq/splitwise 0.1.3 → 0.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/add-friend.cjs +1 -0
- package/dist/actions/add-friend.cjs.map +1 -1
- package/dist/actions/add-friend.d.cts +3 -5
- package/dist/actions/add-friend.d.cts.map +1 -1
- package/dist/actions/add-friend.d.mts +3 -5
- package/dist/actions/add-friend.d.mts.map +1 -1
- package/dist/actions/add-friend.mjs +1 -0
- package/dist/actions/add-friend.mjs.map +1 -1
- package/dist/actions/add-user-to-group.cjs +1 -0
- package/dist/actions/add-user-to-group.cjs.map +1 -1
- package/dist/actions/add-user-to-group.d.cts +3 -4
- package/dist/actions/add-user-to-group.d.cts.map +1 -1
- package/dist/actions/add-user-to-group.d.mts +3 -4
- package/dist/actions/add-user-to-group.d.mts.map +1 -1
- package/dist/actions/add-user-to-group.mjs +1 -0
- package/dist/actions/add-user-to-group.mjs.map +1 -1
- package/dist/actions/create-comment.cjs +1 -0
- package/dist/actions/create-comment.cjs.map +1 -1
- package/dist/actions/create-comment.d.cts +3 -4
- package/dist/actions/create-comment.d.cts.map +1 -1
- package/dist/actions/create-comment.d.mts +3 -4
- package/dist/actions/create-comment.d.mts.map +1 -1
- package/dist/actions/create-comment.mjs +1 -0
- package/dist/actions/create-comment.mjs.map +1 -1
- package/dist/actions/create-expense.cjs +1 -0
- package/dist/actions/create-expense.cjs.map +1 -1
- package/dist/actions/create-expense.d.cts +3 -20
- package/dist/actions/create-expense.d.cts.map +1 -1
- package/dist/actions/create-expense.d.mts +3 -20
- package/dist/actions/create-expense.d.mts.map +1 -1
- package/dist/actions/create-expense.mjs +1 -0
- package/dist/actions/create-expense.mjs.map +1 -1
- package/dist/actions/create-friends.cjs +1 -0
- package/dist/actions/create-friends.cjs.map +1 -1
- package/dist/actions/create-friends.d.cts +3 -8
- package/dist/actions/create-friends.d.cts.map +1 -1
- package/dist/actions/create-friends.d.mts +3 -8
- package/dist/actions/create-friends.d.mts.map +1 -1
- package/dist/actions/create-friends.mjs +1 -0
- package/dist/actions/create-friends.mjs.map +1 -1
- package/dist/actions/create-group.cjs +1 -0
- package/dist/actions/create-group.cjs.map +1 -1
- package/dist/actions/create-group.d.cts +3 -12
- package/dist/actions/create-group.d.cts.map +1 -1
- package/dist/actions/create-group.d.mts +3 -12
- package/dist/actions/create-group.d.mts.map +1 -1
- package/dist/actions/create-group.mjs +1 -0
- package/dist/actions/create-group.mjs.map +1 -1
- package/dist/actions/delete-comment.cjs +1 -0
- package/dist/actions/delete-comment.cjs.map +1 -1
- package/dist/actions/delete-comment.d.cts +3 -3
- package/dist/actions/delete-comment.d.cts.map +1 -1
- package/dist/actions/delete-comment.d.mts +3 -3
- package/dist/actions/delete-comment.d.mts.map +1 -1
- package/dist/actions/delete-comment.mjs +1 -0
- package/dist/actions/delete-comment.mjs.map +1 -1
- package/dist/actions/delete-expense.cjs +1 -0
- package/dist/actions/delete-expense.cjs.map +1 -1
- package/dist/actions/delete-expense.d.cts +3 -3
- package/dist/actions/delete-expense.d.cts.map +1 -1
- package/dist/actions/delete-expense.d.mts +3 -3
- package/dist/actions/delete-expense.d.mts.map +1 -1
- package/dist/actions/delete-expense.mjs +1 -0
- package/dist/actions/delete-expense.mjs.map +1 -1
- package/dist/actions/delete-friend.cjs +1 -0
- package/dist/actions/delete-friend.cjs.map +1 -1
- package/dist/actions/delete-friend.d.cts +3 -3
- package/dist/actions/delete-friend.d.cts.map +1 -1
- package/dist/actions/delete-friend.d.mts +3 -3
- package/dist/actions/delete-friend.d.mts.map +1 -1
- package/dist/actions/delete-friend.mjs +1 -0
- package/dist/actions/delete-friend.mjs.map +1 -1
- package/dist/actions/delete-group.cjs +1 -0
- package/dist/actions/delete-group.cjs.map +1 -1
- package/dist/actions/delete-group.d.cts +3 -3
- package/dist/actions/delete-group.d.cts.map +1 -1
- package/dist/actions/delete-group.d.mts +3 -3
- package/dist/actions/delete-group.d.mts.map +1 -1
- package/dist/actions/delete-group.mjs +1 -0
- package/dist/actions/delete-group.mjs.map +1 -1
- package/dist/actions/get-categories.cjs +1 -0
- package/dist/actions/get-categories.cjs.map +1 -1
- package/dist/actions/get-categories.d.cts +3 -1
- package/dist/actions/get-categories.d.cts.map +1 -1
- package/dist/actions/get-categories.d.mts +3 -1
- package/dist/actions/get-categories.d.mts.map +1 -1
- package/dist/actions/get-categories.mjs +1 -0
- package/dist/actions/get-categories.mjs.map +1 -1
- package/dist/actions/get-comments.cjs +1 -0
- package/dist/actions/get-comments.cjs.map +1 -1
- package/dist/actions/get-comments.d.cts +3 -3
- package/dist/actions/get-comments.d.cts.map +1 -1
- package/dist/actions/get-comments.d.mts +3 -3
- package/dist/actions/get-comments.d.mts.map +1 -1
- package/dist/actions/get-comments.mjs +1 -0
- package/dist/actions/get-comments.mjs.map +1 -1
- package/dist/actions/get-currencies.cjs +1 -0
- package/dist/actions/get-currencies.cjs.map +1 -1
- package/dist/actions/get-currencies.d.cts +3 -1
- package/dist/actions/get-currencies.d.cts.map +1 -1
- package/dist/actions/get-currencies.d.mts +3 -1
- package/dist/actions/get-currencies.d.mts.map +1 -1
- package/dist/actions/get-currencies.mjs +1 -0
- package/dist/actions/get-currencies.mjs.map +1 -1
- package/dist/actions/get-current-user.cjs +1 -0
- package/dist/actions/get-current-user.cjs.map +1 -1
- package/dist/actions/get-current-user.d.cts +3 -1
- package/dist/actions/get-current-user.d.cts.map +1 -1
- package/dist/actions/get-current-user.d.mts +3 -1
- package/dist/actions/get-current-user.d.mts.map +1 -1
- package/dist/actions/get-current-user.mjs +1 -0
- package/dist/actions/get-current-user.mjs.map +1 -1
- package/dist/actions/get-expense.cjs +1 -0
- package/dist/actions/get-expense.cjs.map +1 -1
- package/dist/actions/get-expense.d.cts +3 -3
- package/dist/actions/get-expense.d.cts.map +1 -1
- package/dist/actions/get-expense.d.mts +3 -3
- package/dist/actions/get-expense.d.mts.map +1 -1
- package/dist/actions/get-expense.mjs +1 -0
- package/dist/actions/get-expense.mjs.map +1 -1
- package/dist/actions/get-expenses.cjs +1 -0
- package/dist/actions/get-expenses.cjs.map +1 -1
- package/dist/actions/get-expenses.d.cts +3 -11
- package/dist/actions/get-expenses.d.cts.map +1 -1
- package/dist/actions/get-expenses.d.mts +3 -11
- package/dist/actions/get-expenses.d.mts.map +1 -1
- package/dist/actions/get-expenses.mjs +1 -0
- package/dist/actions/get-expenses.mjs.map +1 -1
- package/dist/actions/get-friend.cjs +1 -0
- package/dist/actions/get-friend.cjs.map +1 -1
- package/dist/actions/get-friend.d.cts +3 -3
- package/dist/actions/get-friend.d.cts.map +1 -1
- package/dist/actions/get-friend.d.mts +3 -3
- package/dist/actions/get-friend.d.mts.map +1 -1
- package/dist/actions/get-friend.mjs +1 -0
- package/dist/actions/get-friend.mjs.map +1 -1
- package/dist/actions/get-friends.cjs +1 -0
- package/dist/actions/get-friends.cjs.map +1 -1
- package/dist/actions/get-friends.d.cts +3 -1
- package/dist/actions/get-friends.d.cts.map +1 -1
- package/dist/actions/get-friends.d.mts +3 -1
- package/dist/actions/get-friends.d.mts.map +1 -1
- package/dist/actions/get-friends.mjs +1 -0
- package/dist/actions/get-friends.mjs.map +1 -1
- package/dist/actions/get-group.cjs +1 -0
- package/dist/actions/get-group.cjs.map +1 -1
- package/dist/actions/get-group.d.cts +3 -3
- package/dist/actions/get-group.d.cts.map +1 -1
- package/dist/actions/get-group.d.mts +3 -3
- package/dist/actions/get-group.d.mts.map +1 -1
- package/dist/actions/get-group.mjs +1 -0
- package/dist/actions/get-group.mjs.map +1 -1
- package/dist/actions/get-groups.cjs +1 -0
- package/dist/actions/get-groups.cjs.map +1 -1
- package/dist/actions/get-groups.d.cts +3 -1
- package/dist/actions/get-groups.d.cts.map +1 -1
- package/dist/actions/get-groups.d.mts +3 -1
- package/dist/actions/get-groups.d.mts.map +1 -1
- package/dist/actions/get-groups.mjs +1 -0
- package/dist/actions/get-groups.mjs.map +1 -1
- package/dist/actions/get-notifications.cjs +1 -0
- package/dist/actions/get-notifications.cjs.map +1 -1
- package/dist/actions/get-notifications.d.cts +3 -4
- package/dist/actions/get-notifications.d.cts.map +1 -1
- package/dist/actions/get-notifications.d.mts +3 -4
- package/dist/actions/get-notifications.d.mts.map +1 -1
- package/dist/actions/get-notifications.mjs +1 -0
- package/dist/actions/get-notifications.mjs.map +1 -1
- package/dist/actions/get-user.cjs +1 -0
- package/dist/actions/get-user.cjs.map +1 -1
- package/dist/actions/get-user.d.cts +3 -3
- package/dist/actions/get-user.d.cts.map +1 -1
- package/dist/actions/get-user.d.mts +3 -3
- package/dist/actions/get-user.d.mts.map +1 -1
- package/dist/actions/get-user.mjs +1 -0
- package/dist/actions/get-user.mjs.map +1 -1
- package/dist/actions/remove-user-from-group.cjs +1 -0
- package/dist/actions/remove-user-from-group.cjs.map +1 -1
- package/dist/actions/remove-user-from-group.d.cts +3 -4
- package/dist/actions/remove-user-from-group.d.cts.map +1 -1
- package/dist/actions/remove-user-from-group.d.mts +3 -4
- package/dist/actions/remove-user-from-group.d.mts.map +1 -1
- package/dist/actions/remove-user-from-group.mjs +1 -0
- package/dist/actions/remove-user-from-group.mjs.map +1 -1
- package/dist/actions/undelete-expense.cjs +1 -0
- package/dist/actions/undelete-expense.cjs.map +1 -1
- package/dist/actions/undelete-expense.d.cts +3 -3
- package/dist/actions/undelete-expense.d.cts.map +1 -1
- package/dist/actions/undelete-expense.d.mts +3 -3
- package/dist/actions/undelete-expense.d.mts.map +1 -1
- package/dist/actions/undelete-expense.mjs +1 -0
- package/dist/actions/undelete-expense.mjs.map +1 -1
- package/dist/actions/undelete-group.cjs +1 -0
- package/dist/actions/undelete-group.cjs.map +1 -1
- package/dist/actions/undelete-group.d.cts +3 -3
- package/dist/actions/undelete-group.d.cts.map +1 -1
- package/dist/actions/undelete-group.d.mts +3 -3
- package/dist/actions/undelete-group.d.mts.map +1 -1
- package/dist/actions/undelete-group.mjs +1 -0
- package/dist/actions/undelete-group.mjs.map +1 -1
- package/dist/actions/update-expense.cjs +1 -0
- package/dist/actions/update-expense.cjs.map +1 -1
- package/dist/actions/update-expense.d.cts +3 -20
- package/dist/actions/update-expense.d.cts.map +1 -1
- package/dist/actions/update-expense.d.mts +3 -20
- package/dist/actions/update-expense.d.mts.map +1 -1
- package/dist/actions/update-expense.mjs +1 -0
- package/dist/actions/update-expense.mjs.map +1 -1
- package/dist/actions/update-user.cjs +1 -0
- package/dist/actions/update-user.cjs.map +1 -1
- package/dist/actions/update-user.d.cts +3 -9
- package/dist/actions/update-user.d.cts.map +1 -1
- package/dist/actions/update-user.d.mts +3 -9
- package/dist/actions/update-user.d.mts.map +1 -1
- package/dist/actions/update-user.mjs +1 -0
- package/dist/actions/update-user.mjs.map +1 -1
- package/dist/app.cjs +5 -2
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +7 -1
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +7 -1
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +3 -2
- package/dist/app.mjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-friends.mjs","names":[],"sources":["../../src/actions/get-friends.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SplitwiseGetFriendsInput = z.object({}).describe(\"Request schema for retrieving current user's friends. No parameters required.\");\nconst SplitwiseGetFriends_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 SplitwiseGetFriends_GroupItemSchema = z.object({\n balance: z.array(SplitwiseGetFriends_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 SplitwiseGetFriends_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 SplitwiseGetFriends_FriendSchema = z.object({\n id: z.number().int().describe(\"Unique friend ID\").nullable(),\n email: z.string().describe(\"Email address of the friend\").nullable().optional(),\n groups: z.array(SplitwiseGetFriends_GroupItemSchema).describe(\"Groups the friend belongs to\").nullable().optional(),\n balance: z.array(SplitwiseGetFriends_BalanceItemSchema).describe(\"Overall balances with this friend\").nullable().optional(),\n picture: SplitwiseGetFriends_PictureSchema.nullable(),\n last_name: z.string().describe(\"Last name of the friend\").nullable().optional(),\n first_name: z.string().describe(\"First name of the friend\").nullable(),\n updated_at: z.string().describe(\"ISO 8601 timestamp of last update\").nullable(),\n custom_picture: z.boolean().describe(\"Whether they have a custom profile picture\").nullable(),\n registration_status: z.string().describe(\"Registration status, e.g., 'registered'\").nullable().optional(),\n}).passthrough().describe(\"Friend object with profile details and balances.\");\nexport const SplitwiseGetFriendsOutput = z.object({\n friends: z.array(SplitwiseGetFriends_FriendSchema).describe(\"List of friends\"),\n}).passthrough().describe(\"Response schema for list of current user's friends.\");\n\nexport const splitwiseGetFriends = action(\"SPLITWISE_GET_FRIENDS\", {\n slug: \"splitwise-get-friends\",\n name: \"Get Friends\",\n description: \"Tool to list current user's friends on Splitwise. Use when you need to view all friends, their balances, and shared groups.\",\n input: SplitwiseGetFriendsInput,\n output: SplitwiseGetFriendsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-friends.mjs","names":[],"sources":["../../src/actions/get-friends.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { splitwise } from \"../app\";\n\nexport const SplitwiseGetFriendsInput = z.object({}).describe(\"Request schema for retrieving current user's friends. No parameters required.\");\nconst SplitwiseGetFriends_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 SplitwiseGetFriends_GroupItemSchema = z.object({\n balance: z.array(SplitwiseGetFriends_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 SplitwiseGetFriends_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 SplitwiseGetFriends_FriendSchema = z.object({\n id: z.number().int().describe(\"Unique friend ID\").nullable(),\n email: z.string().describe(\"Email address of the friend\").nullable().optional(),\n groups: z.array(SplitwiseGetFriends_GroupItemSchema).describe(\"Groups the friend belongs to\").nullable().optional(),\n balance: z.array(SplitwiseGetFriends_BalanceItemSchema).describe(\"Overall balances with this friend\").nullable().optional(),\n picture: SplitwiseGetFriends_PictureSchema.nullable(),\n last_name: z.string().describe(\"Last name of the friend\").nullable().optional(),\n first_name: z.string().describe(\"First name of the friend\").nullable(),\n updated_at: z.string().describe(\"ISO 8601 timestamp of last update\").nullable(),\n custom_picture: z.boolean().describe(\"Whether they have a custom profile picture\").nullable(),\n registration_status: z.string().describe(\"Registration status, e.g., 'registered'\").nullable().optional(),\n}).passthrough().describe(\"Friend object with profile details and balances.\");\nexport const SplitwiseGetFriendsOutput = z.object({\n friends: z.array(SplitwiseGetFriends_FriendSchema).describe(\"List of friends\"),\n}).passthrough().describe(\"Response schema for list of current user's friends.\");\n\nexport const splitwiseGetFriends: AppAction<\n typeof SplitwiseGetFriendsInput,\n typeof SplitwiseGetFriendsOutput,\n typeof splitwise.credential\n> = action(\"SPLITWISE_GET_FRIENDS\", {\n slug: \"splitwise-get-friends\",\n name: \"Get Friends\",\n description: \"Tool to list current user's friends on Splitwise. Use when you need to view all friends, their balances, and shared groups.\",\n input: SplitwiseGetFriendsInput,\n output: SplitwiseGetFriendsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,2BAA2B,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,+EAA+E;AAC7I,MAAM,wCAAwC,EAAE,OAAO;CACrD,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,sCAAsC,EAAE,OAAO;CACnD,SAAS,EAAE,MAAM,qCAAqC,CAAC,CAAC,SAAS,oCAAoC;CACrG,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,oCAAoC,EAAE,OAAO;CACjD,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,CAAC,SAAS;CAChF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yDAAyD;AACnF,MAAM,mCAAmC,EAAE,OAAO;CAChD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CAC3D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,QAAQ,EAAE,MAAM,mCAAmC,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClH,SAAS,EAAE,MAAM,qCAAqC,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1H,SAAS,kCAAkC,SAAS;CACpD,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CACrE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CAC9E,gBAAgB,EAAE,QAAQ,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CAC5F,qBAAqB,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAAkD;AAK5E,MAAa,sBAIT,OAAO,yBAAyB;CAClC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAbuC,EAAE,OAAO,EAChD,SAAS,EAAE,MAAM,gCAAgC,CAAC,CAAC,SAAS,iBAAiB,EAC/E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-group.cjs","names":["z","action"],"sources":["../../src/actions/get-group.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SplitwiseGetGroupInput = z.object({\n id: z.number().int().describe(\"The unique identifier of the group to retrieve. Use 0 to get non-group expenses.\"),\n}).describe(\"Request parameters for retrieving a specific group.\");\nconst SplitwiseGetGroup_AvatarSchema = z.object({\n large: z.string().describe(\"URL for the large-sized avatar\").nullable().optional(),\n small: z.string().describe(\"URL for the small-sized avatar\").nullable().optional(),\n medium: z.string().describe(\"URL for the medium-sized avatar\").nullable().optional(),\n xlarge: z.string().describe(\"URL for the xlarge-sized avatar\").nullable().optional(),\n xxlarge: z.string().describe(\"URL for the xxlarge-sized avatar\").nullable().optional(),\n original: z.string().describe(\"URL for the original avatar image\").nullable().optional(),\n}).passthrough().describe(\"URLs for group avatar images in different sizes.\");\nconst SplitwiseGetGroup_BalanceSchema = z.object({\n amount: z.string().describe(\"Balance amount as a decimal string\").nullable(),\n currency_code: z.string().describe(\"Currency code (e.g., USD, EUR)\").nullable(),\n}).passthrough().describe(\"Represents a currency balance for a user.\");\nconst SplitwiseGetGroup_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 profile pictures in different sizes.\");\nconst SplitwiseGetGroup_MemberSchema = 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 balance: z.array(SplitwiseGetGroup_BalanceSchema).describe(\"Currency balance objects for this member\").nullable().optional(),\n picture: SplitwiseGetGroup_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 if user has custom profile picture\").nullable().optional(),\n registration_status: z.string().describe(\"Registration status of the user (confirmed, dummy, invited)\").nullable().optional(),\n}).passthrough().describe(\"Represents a member in a group.\");\nconst SplitwiseGetGroup_CoverPhotoSchema = z.object({\n xlarge: z.string().describe(\"URL for the xlarge-sized cover photo\").nullable().optional(),\n xxlarge: z.string().describe(\"URL for the xxlarge-sized cover photo\").nullable().optional(),\n}).passthrough().describe(\"URLs for group cover photo in different sizes.\");\nconst SplitwiseGetGroup_TallAvatarSchema = z.object({\n large: z.string().describe(\"URL for the large-sized tall avatar\").nullable().optional(),\n xlarge: z.string().describe(\"URL for the xlarge-sized tall avatar\").nullable().optional(),\n}).passthrough().describe(\"URLs for group tall avatar images in different sizes.\");\nconst SplitwiseGetGroup_DebtSchema = z.object({\n to: z.number().int().describe(\"Creditor user ID\").nullable(),\n from: z.number().int().describe(\"Debtor user ID\").nullable(),\n amount: z.string().describe(\"Debt amount as a decimal string\").nullable(),\n currency_code: z.string().describe(\"Currency code for the debt\").nullable(),\n}).passthrough().describe(\"Represents a debt between two users.\");\nconst SplitwiseGetGroup_GroupSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the group\").nullable(),\n name: z.string().describe(\"Group display name\").nullable(),\n avatar: SplitwiseGetGroup_AvatarSchema.nullable().optional(),\n members: z.array(SplitwiseGetGroup_MemberSchema).describe(\"Users belonging to the group\").nullable().optional(),\n created_at: z.string().describe(\"Group creation timestamp (ISO 8601)\").nullable().optional(),\n group_type: z.string().describe(\"Category type (home, trip, couple, other, apartment, house, etc.)\").nullable().optional(),\n updated_at: z.string().describe(\"Most recent modification timestamp (ISO 8601)\").nullable().optional(),\n whiteboard: z.string().describe(\"Group whiteboard content (if any)\").nullable().optional(),\n cover_photo: SplitwiseGetGroup_CoverPhotoSchema.nullable().optional(),\n invite_link: z.string().describe(\"URL for group membership invitations\").nullable().optional(),\n tall_avatar: SplitwiseGetGroup_TallAvatarSchema.nullable().optional(),\n custom_avatar: z.boolean().describe(\"Indicates if group has custom avatar\").nullable().optional(),\n original_debts: z.array(SplitwiseGetGroup_DebtSchema).describe(\"Unsimplified financial obligations\").nullable().optional(),\n group_reminders: z.string().describe(\"Group reminder settings\").nullable().optional(),\n simplified_debts: z.array(SplitwiseGetGroup_DebtSchema).describe(\"Optimized financial obligations\").nullable().optional(),\n simplify_by_default: z.boolean().describe(\"Whether debt simplification is enabled\").nullable().optional(),\n whiteboard_updated_at: z.string().describe(\"Timestamp of last whiteboard update (ISO 8601)\").nullable().optional(),\n whiteboard_updated_by: z.number().int().describe(\"User ID who last updated the whiteboard\").nullable().optional(),\n whiteboard_lock_version: z.number().int().describe(\"Version number for whiteboard locking\").nullable().optional(),\n}).passthrough().describe(\"Represents a Splitwise group with full details.\");\nexport const SplitwiseGetGroupOutput = z.object({\n group: SplitwiseGetGroup_GroupSchema.nullable(),\n}).passthrough().describe(\"Response model containing detailed information about a group.\");\n\nexport const splitwiseGetGroup = action(\"SPLITWISE_GET_GROUP\", {\n slug: \"splitwise-get-group\",\n name: \"Get Group Details\",\n description: \"Tool to retrieve detailed information about a specific group. Returns full group details including members, balances, debts (both original and simplified), avatar URLs, and group settings. Use this when you need comprehensive information about a particular group, such as viewing who owes what to whom. Use group ID of 0 to get non-group expenses.\",\n input: SplitwiseGetGroupInput,\n output: SplitwiseGetGroupOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAyBA,IAAAA,EAAE,OAAO,EAC7C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kFAAkF,EAClH,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAM,iCAAiCA,IAAAA,EAAE,OAAO;CAC9C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAA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AAgBA,IAAAA,EAAE,MAAM,4BAA4B,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzH,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,kBAAkBA,IAAAA,EAAE,MAAM,4BAA4B,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,qBAAqBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,uBAAuBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,uBAAuBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,yBAAyBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAAiD;AAC3E,MAAa,0BAA0BA,IAAAA,EAAE,OAAO,EAC9C,OAAO,8BAA8B,SAAS,EAChD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+DAA+D;AAEzF,MAAa,oBAAoBC,eAAAA,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
1
|
+
{"version":3,"file":"get-group.cjs","names":["z","action"],"sources":["../../src/actions/get-group.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { splitwise } from \"../app\";\n\nexport const SplitwiseGetGroupInput = z.object({\n id: z.number().int().describe(\"The unique identifier of the group to retrieve. Use 0 to get non-group expenses.\"),\n}).describe(\"Request parameters for retrieving a specific group.\");\nconst SplitwiseGetGroup_AvatarSchema = z.object({\n large: z.string().describe(\"URL for the large-sized avatar\").nullable().optional(),\n small: z.string().describe(\"URL for the small-sized avatar\").nullable().optional(),\n medium: z.string().describe(\"URL for the medium-sized avatar\").nullable().optional(),\n xlarge: z.string().describe(\"URL for the xlarge-sized avatar\").nullable().optional(),\n xxlarge: z.string().describe(\"URL for the xxlarge-sized avatar\").nullable().optional(),\n original: z.string().describe(\"URL for the original avatar image\").nullable().optional(),\n}).passthrough().describe(\"URLs for group avatar images in different sizes.\");\nconst SplitwiseGetGroup_BalanceSchema = z.object({\n amount: z.string().describe(\"Balance amount as a decimal string\").nullable(),\n currency_code: z.string().describe(\"Currency code (e.g., USD, EUR)\").nullable(),\n}).passthrough().describe(\"Represents a currency balance for a user.\");\nconst SplitwiseGetGroup_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 profile pictures in different sizes.\");\nconst SplitwiseGetGroup_MemberSchema = 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 balance: z.array(SplitwiseGetGroup_BalanceSchema).describe(\"Currency balance objects for this member\").nullable().optional(),\n picture: SplitwiseGetGroup_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 if user has custom profile picture\").nullable().optional(),\n registration_status: z.string().describe(\"Registration status of the user (confirmed, dummy, invited)\").nullable().optional(),\n}).passthrough().describe(\"Represents a member in a group.\");\nconst SplitwiseGetGroup_CoverPhotoSchema = z.object({\n xlarge: z.string().describe(\"URL for the xlarge-sized cover photo\").nullable().optional(),\n xxlarge: z.string().describe(\"URL for the xxlarge-sized cover photo\").nullable().optional(),\n}).passthrough().describe(\"URLs for group cover photo in different sizes.\");\nconst SplitwiseGetGroup_TallAvatarSchema = z.object({\n large: z.string().describe(\"URL for the large-sized tall avatar\").nullable().optional(),\n xlarge: z.string().describe(\"URL for the xlarge-sized tall avatar\").nullable().optional(),\n}).passthrough().describe(\"URLs for group tall avatar images in different sizes.\");\nconst SplitwiseGetGroup_DebtSchema = z.object({\n to: z.number().int().describe(\"Creditor user ID\").nullable(),\n from: z.number().int().describe(\"Debtor user ID\").nullable(),\n amount: z.string().describe(\"Debt amount as a decimal string\").nullable(),\n currency_code: z.string().describe(\"Currency code for the debt\").nullable(),\n}).passthrough().describe(\"Represents a debt between two users.\");\nconst SplitwiseGetGroup_GroupSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the group\").nullable(),\n name: z.string().describe(\"Group display name\").nullable(),\n avatar: SplitwiseGetGroup_AvatarSchema.nullable().optional(),\n members: z.array(SplitwiseGetGroup_MemberSchema).describe(\"Users belonging to the group\").nullable().optional(),\n created_at: z.string().describe(\"Group creation timestamp (ISO 8601)\").nullable().optional(),\n group_type: z.string().describe(\"Category type (home, trip, couple, other, apartment, house, etc.)\").nullable().optional(),\n updated_at: z.string().describe(\"Most recent modification timestamp (ISO 8601)\").nullable().optional(),\n whiteboard: z.string().describe(\"Group whiteboard content (if any)\").nullable().optional(),\n cover_photo: SplitwiseGetGroup_CoverPhotoSchema.nullable().optional(),\n invite_link: z.string().describe(\"URL for group membership invitations\").nullable().optional(),\n tall_avatar: SplitwiseGetGroup_TallAvatarSchema.nullable().optional(),\n custom_avatar: z.boolean().describe(\"Indicates if group has custom avatar\").nullable().optional(),\n original_debts: z.array(SplitwiseGetGroup_DebtSchema).describe(\"Unsimplified financial obligations\").nullable().optional(),\n group_reminders: z.string().describe(\"Group reminder settings\").nullable().optional(),\n simplified_debts: z.array(SplitwiseGetGroup_DebtSchema).describe(\"Optimized financial obligations\").nullable().optional(),\n simplify_by_default: z.boolean().describe(\"Whether debt simplification is enabled\").nullable().optional(),\n whiteboard_updated_at: z.string().describe(\"Timestamp of last whiteboard update (ISO 8601)\").nullable().optional(),\n whiteboard_updated_by: z.number().int().describe(\"User ID who last updated the whiteboard\").nullable().optional(),\n whiteboard_lock_version: z.number().int().describe(\"Version number for whiteboard locking\").nullable().optional(),\n}).passthrough().describe(\"Represents a Splitwise group with full details.\");\nexport const SplitwiseGetGroupOutput = z.object({\n group: SplitwiseGetGroup_GroupSchema.nullable(),\n}).passthrough().describe(\"Response model containing detailed information about a group.\");\n\nexport const splitwiseGetGroup: AppAction<\n typeof SplitwiseGetGroupInput,\n typeof SplitwiseGetGroupOutput,\n typeof splitwise.credential\n> = action(\"SPLITWISE_GET_GROUP\", {\n slug: \"splitwise-get-group\",\n name: \"Get Group Details\",\n description: \"Tool to retrieve detailed information about a specific group. Returns full group details including members, balances, debts (both original and simplified), avatar URLs, and group settings. Use this when you need comprehensive information about a particular group, such as viewing who owes what to whom. Use group ID of 0 to get non-group expenses.\",\n input: SplitwiseGetGroupInput,\n output: SplitwiseGetGroupOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,yBAAyBA,IAAAA,EAAE,OAAO,EAC7C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kFAAkF,EAClH,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAM,iCAAiCA,IAAAA,EAAE,OAAO;CAC9C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS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|
+
import { splitwise } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-group.d.ts
|
|
@@ -66,9 +68,7 @@ declare const SplitwiseGetGroupOutput: z.ZodObject<{
|
|
|
66
68
|
whiteboard_lock_version: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
67
69
|
}, z.core.$loose>>;
|
|
68
70
|
}, z.core.$loose>;
|
|
69
|
-
declare const splitwiseGetGroup:
|
|
70
|
-
id: number;
|
|
71
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
71
|
+
declare const splitwiseGetGroup: AppAction<typeof SplitwiseGetGroupInput, typeof SplitwiseGetGroupOutput, typeof splitwise.credential>;
|
|
72
72
|
//#endregion
|
|
73
73
|
export { splitwiseGetGroup };
|
|
74
74
|
//# sourceMappingURL=get-group.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-group.d.cts","names":[],"sources":["../../src/actions/get-group.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-group.d.cts","names":[],"sources":["../../src/actions/get-group.ts"],"mappings":";;;;;cAMa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;cAiEtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAIvB,iBAAA,EAAmB,SAAA,QACvB,sBAAA,SACA,uBAAA,SACA,SAAA,CAAU,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { splitwise } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-group.d.ts
|
|
@@ -66,9 +68,7 @@ declare const SplitwiseGetGroupOutput: z.ZodObject<{
|
|
|
66
68
|
whiteboard_lock_version: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
67
69
|
}, z.core.$loose>>;
|
|
68
70
|
}, z.core.$loose>;
|
|
69
|
-
declare const splitwiseGetGroup:
|
|
70
|
-
id: number;
|
|
71
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
71
|
+
declare const splitwiseGetGroup: AppAction<typeof SplitwiseGetGroupInput, typeof SplitwiseGetGroupOutput, typeof splitwise.credential>;
|
|
72
72
|
//#endregion
|
|
73
73
|
export { splitwiseGetGroup };
|
|
74
74
|
//# sourceMappingURL=get-group.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-group.d.mts","names":[],"sources":["../../src/actions/get-group.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-group.d.mts","names":[],"sources":["../../src/actions/get-group.ts"],"mappings":";;;;;cAMa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;cAiEtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAIvB,iBAAA,EAAmB,SAAA,QACvB,sBAAA,SACA,uBAAA,SACA,SAAA,CAAU,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-group.mjs","names":[],"sources":["../../src/actions/get-group.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SplitwiseGetGroupInput = z.object({\n id: z.number().int().describe(\"The unique identifier of the group to retrieve. Use 0 to get non-group expenses.\"),\n}).describe(\"Request parameters for retrieving a specific group.\");\nconst SplitwiseGetGroup_AvatarSchema = z.object({\n large: z.string().describe(\"URL for the large-sized avatar\").nullable().optional(),\n small: z.string().describe(\"URL for the small-sized avatar\").nullable().optional(),\n medium: z.string().describe(\"URL for the medium-sized avatar\").nullable().optional(),\n xlarge: z.string().describe(\"URL for the xlarge-sized avatar\").nullable().optional(),\n xxlarge: z.string().describe(\"URL for the xxlarge-sized avatar\").nullable().optional(),\n original: z.string().describe(\"URL for the original avatar image\").nullable().optional(),\n}).passthrough().describe(\"URLs for group avatar images in different sizes.\");\nconst SplitwiseGetGroup_BalanceSchema = z.object({\n amount: z.string().describe(\"Balance amount as a decimal string\").nullable(),\n currency_code: z.string().describe(\"Currency code (e.g., USD, EUR)\").nullable(),\n}).passthrough().describe(\"Represents a currency balance for a user.\");\nconst SplitwiseGetGroup_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 profile pictures in different sizes.\");\nconst SplitwiseGetGroup_MemberSchema = 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 balance: z.array(SplitwiseGetGroup_BalanceSchema).describe(\"Currency balance objects for this member\").nullable().optional(),\n picture: SplitwiseGetGroup_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 if user has custom profile picture\").nullable().optional(),\n registration_status: z.string().describe(\"Registration status of the user (confirmed, dummy, invited)\").nullable().optional(),\n}).passthrough().describe(\"Represents a member in a group.\");\nconst SplitwiseGetGroup_CoverPhotoSchema = z.object({\n xlarge: z.string().describe(\"URL for the xlarge-sized cover photo\").nullable().optional(),\n xxlarge: z.string().describe(\"URL for the xxlarge-sized cover photo\").nullable().optional(),\n}).passthrough().describe(\"URLs for group cover photo in different sizes.\");\nconst SplitwiseGetGroup_TallAvatarSchema = z.object({\n large: z.string().describe(\"URL for the large-sized tall avatar\").nullable().optional(),\n xlarge: z.string().describe(\"URL for the xlarge-sized tall avatar\").nullable().optional(),\n}).passthrough().describe(\"URLs for group tall avatar images in different sizes.\");\nconst SplitwiseGetGroup_DebtSchema = z.object({\n to: z.number().int().describe(\"Creditor user ID\").nullable(),\n from: z.number().int().describe(\"Debtor user ID\").nullable(),\n amount: z.string().describe(\"Debt amount as a decimal string\").nullable(),\n currency_code: z.string().describe(\"Currency code for the debt\").nullable(),\n}).passthrough().describe(\"Represents a debt between two users.\");\nconst SplitwiseGetGroup_GroupSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the group\").nullable(),\n name: z.string().describe(\"Group display name\").nullable(),\n avatar: SplitwiseGetGroup_AvatarSchema.nullable().optional(),\n members: z.array(SplitwiseGetGroup_MemberSchema).describe(\"Users belonging to the group\").nullable().optional(),\n created_at: z.string().describe(\"Group creation timestamp (ISO 8601)\").nullable().optional(),\n group_type: z.string().describe(\"Category type (home, trip, couple, other, apartment, house, etc.)\").nullable().optional(),\n updated_at: z.string().describe(\"Most recent modification timestamp (ISO 8601)\").nullable().optional(),\n whiteboard: z.string().describe(\"Group whiteboard content (if any)\").nullable().optional(),\n cover_photo: SplitwiseGetGroup_CoverPhotoSchema.nullable().optional(),\n invite_link: z.string().describe(\"URL for group membership invitations\").nullable().optional(),\n tall_avatar: SplitwiseGetGroup_TallAvatarSchema.nullable().optional(),\n custom_avatar: z.boolean().describe(\"Indicates if group has custom avatar\").nullable().optional(),\n original_debts: z.array(SplitwiseGetGroup_DebtSchema).describe(\"Unsimplified financial obligations\").nullable().optional(),\n group_reminders: z.string().describe(\"Group reminder settings\").nullable().optional(),\n simplified_debts: z.array(SplitwiseGetGroup_DebtSchema).describe(\"Optimized financial obligations\").nullable().optional(),\n simplify_by_default: z.boolean().describe(\"Whether debt simplification is enabled\").nullable().optional(),\n whiteboard_updated_at: z.string().describe(\"Timestamp of last whiteboard update (ISO 8601)\").nullable().optional(),\n whiteboard_updated_by: z.number().int().describe(\"User ID who last updated the whiteboard\").nullable().optional(),\n whiteboard_lock_version: z.number().int().describe(\"Version number for whiteboard locking\").nullable().optional(),\n}).passthrough().describe(\"Represents a Splitwise group with full details.\");\nexport const SplitwiseGetGroupOutput = z.object({\n group: SplitwiseGetGroup_GroupSchema.nullable(),\n}).passthrough().describe(\"Response model containing detailed information about a group.\");\n\nexport const splitwiseGetGroup = action(\"SPLITWISE_GET_GROUP\", {\n slug: \"splitwise-get-group\",\n name: \"Get Group Details\",\n description: \"Tool to retrieve detailed information about a specific group. Returns full group details including members, balances, debts (both original and simplified), avatar URLs, and group settings. Use this when you need comprehensive information about a particular group, such as viewing who owes what to whom. Use group ID of 0 to get non-group expenses.\",\n input: SplitwiseGetGroupInput,\n output: SplitwiseGetGroupOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAyB,EAAE,OAAO,EAC7C,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kFAAkF,EAClH,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAM,iCAAiC,EAAE,OAAO;CAC9C,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzF,CAAC,CAAC,CAAC,YAAY,CAA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CAAC,CAAC,SAAS;CACjH,uBAAuB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,yBAAyB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAAiD;AAK3E,MAAa,oBAAoB,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATqC,EAAE,OAAO,EAC9C,OAAO,8BAA8B,SAAS,EAChD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+DAOhB;AACV,CAAC"}
|
|
1
|
+
{"version":3,"file":"get-group.mjs","names":[],"sources":["../../src/actions/get-group.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { splitwise } from \"../app\";\n\nexport const SplitwiseGetGroupInput = z.object({\n id: z.number().int().describe(\"The unique identifier of the group to retrieve. Use 0 to get non-group expenses.\"),\n}).describe(\"Request parameters for retrieving a specific group.\");\nconst SplitwiseGetGroup_AvatarSchema = z.object({\n large: z.string().describe(\"URL for the large-sized avatar\").nullable().optional(),\n small: z.string().describe(\"URL for the small-sized avatar\").nullable().optional(),\n medium: z.string().describe(\"URL for the medium-sized avatar\").nullable().optional(),\n xlarge: z.string().describe(\"URL for the xlarge-sized avatar\").nullable().optional(),\n xxlarge: z.string().describe(\"URL for the xxlarge-sized avatar\").nullable().optional(),\n original: z.string().describe(\"URL for the original avatar image\").nullable().optional(),\n}).passthrough().describe(\"URLs for group avatar images in different sizes.\");\nconst SplitwiseGetGroup_BalanceSchema = z.object({\n amount: z.string().describe(\"Balance amount as a decimal string\").nullable(),\n currency_code: z.string().describe(\"Currency code (e.g., USD, EUR)\").nullable(),\n}).passthrough().describe(\"Represents a currency balance for a user.\");\nconst SplitwiseGetGroup_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 profile pictures in different sizes.\");\nconst SplitwiseGetGroup_MemberSchema = 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 balance: z.array(SplitwiseGetGroup_BalanceSchema).describe(\"Currency balance objects for this member\").nullable().optional(),\n picture: SplitwiseGetGroup_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 if user has custom profile picture\").nullable().optional(),\n registration_status: z.string().describe(\"Registration status of the user (confirmed, dummy, invited)\").nullable().optional(),\n}).passthrough().describe(\"Represents a member in a group.\");\nconst SplitwiseGetGroup_CoverPhotoSchema = z.object({\n xlarge: z.string().describe(\"URL for the xlarge-sized cover photo\").nullable().optional(),\n xxlarge: z.string().describe(\"URL for the xxlarge-sized cover photo\").nullable().optional(),\n}).passthrough().describe(\"URLs for group cover photo in different sizes.\");\nconst SplitwiseGetGroup_TallAvatarSchema = z.object({\n large: z.string().describe(\"URL for the large-sized tall avatar\").nullable().optional(),\n xlarge: z.string().describe(\"URL for the xlarge-sized tall avatar\").nullable().optional(),\n}).passthrough().describe(\"URLs for group tall avatar images in different sizes.\");\nconst SplitwiseGetGroup_DebtSchema = z.object({\n to: z.number().int().describe(\"Creditor user ID\").nullable(),\n from: z.number().int().describe(\"Debtor user ID\").nullable(),\n amount: z.string().describe(\"Debt amount as a decimal string\").nullable(),\n currency_code: z.string().describe(\"Currency code for the debt\").nullable(),\n}).passthrough().describe(\"Represents a debt between two users.\");\nconst SplitwiseGetGroup_GroupSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the group\").nullable(),\n name: z.string().describe(\"Group display name\").nullable(),\n avatar: SplitwiseGetGroup_AvatarSchema.nullable().optional(),\n members: z.array(SplitwiseGetGroup_MemberSchema).describe(\"Users belonging to the group\").nullable().optional(),\n created_at: z.string().describe(\"Group creation timestamp (ISO 8601)\").nullable().optional(),\n group_type: z.string().describe(\"Category type (home, trip, couple, other, apartment, house, etc.)\").nullable().optional(),\n updated_at: z.string().describe(\"Most recent modification timestamp (ISO 8601)\").nullable().optional(),\n whiteboard: z.string().describe(\"Group whiteboard content (if any)\").nullable().optional(),\n cover_photo: SplitwiseGetGroup_CoverPhotoSchema.nullable().optional(),\n invite_link: z.string().describe(\"URL for group membership invitations\").nullable().optional(),\n tall_avatar: SplitwiseGetGroup_TallAvatarSchema.nullable().optional(),\n custom_avatar: z.boolean().describe(\"Indicates if group has custom avatar\").nullable().optional(),\n original_debts: z.array(SplitwiseGetGroup_DebtSchema).describe(\"Unsimplified financial obligations\").nullable().optional(),\n group_reminders: z.string().describe(\"Group reminder settings\").nullable().optional(),\n simplified_debts: z.array(SplitwiseGetGroup_DebtSchema).describe(\"Optimized financial obligations\").nullable().optional(),\n simplify_by_default: z.boolean().describe(\"Whether debt simplification is enabled\").nullable().optional(),\n whiteboard_updated_at: z.string().describe(\"Timestamp of last whiteboard update (ISO 8601)\").nullable().optional(),\n whiteboard_updated_by: z.number().int().describe(\"User ID who last updated the whiteboard\").nullable().optional(),\n whiteboard_lock_version: z.number().int().describe(\"Version number for whiteboard locking\").nullable().optional(),\n}).passthrough().describe(\"Represents a Splitwise group with full details.\");\nexport const SplitwiseGetGroupOutput = z.object({\n group: SplitwiseGetGroup_GroupSchema.nullable(),\n}).passthrough().describe(\"Response model containing detailed information about a group.\");\n\nexport const splitwiseGetGroup: AppAction<\n typeof SplitwiseGetGroupInput,\n typeof SplitwiseGetGroupOutput,\n typeof splitwise.credential\n> = action(\"SPLITWISE_GET_GROUP\", {\n slug: \"splitwise-get-group\",\n name: \"Get Group Details\",\n description: \"Tool to retrieve detailed information about a specific group. Returns full group details including members, balances, debts (both original and simplified), avatar URLs, and group settings. Use this when you need comprehensive information about a particular group, such as viewing who owes what to whom. Use group ID of 0 to get non-group expenses.\",\n input: SplitwiseGetGroupInput,\n output: SplitwiseGetGroupOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,yBAAyB,EAAE,OAAO,EAC7C,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kFAAkF,EAClH,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAM,iCAAiC,EAAE,OAAO;CAC9C,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAAkD;AAC5E,MAAM,kCAAkC,EAAE,OAAO;CAC/C,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC3E,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;AAChF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAA2C;AACrE,MAAM,kCAAkC,EAAE,OAAO;CAC/C,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E,MAAa,oBAIT,OAAO,uBAAuB;CAChC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAbqC,EAAE,OAAO,EAC9C,OAAO,8BAA8B,SAAS,EAChD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+DAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-groups.cjs","names":["z","action"],"sources":["../../src/actions/get-groups.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SplitwiseGetGroupsInput = z.object({}).describe(\"Request model for fetching groups. No parameters required.\");\nconst SplitwiseGetGroups_AvatarSchema = z.object({\n large: z.string().describe(\"URL for the large-sized avatar\").nullable().optional(),\n small: z.string().describe(\"URL for the small-sized avatar\").nullable().optional(),\n medium: z.string().describe(\"URL for the medium-sized avatar\").nullable().optional(),\n xlarge: z.string().describe(\"URL for the xlarge-sized avatar\").nullable().optional(),\n xxlarge: z.string().describe(\"URL for the xxlarge-sized avatar\").nullable().optional(),\n original: z.string().describe(\"URL for the original avatar image\").nullable().optional(),\n}).passthrough().describe(\"URLs for group avatar images in different sizes.\");\nconst SplitwiseGetGroups_BalanceSchema = z.object({\n amount: z.string().describe(\"Balance amount as a decimal string\").nullable(),\n currency_code: z.string().describe(\"Currency code (e.g., USD, EUR)\").nullable(),\n}).passthrough().describe(\"Represents a currency balance for a user.\");\nconst SplitwiseGetGroups_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 profile pictures in different sizes.\");\nconst SplitwiseGetGroups_MemberSchema = 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 balance: z.array(SplitwiseGetGroups_BalanceSchema).describe(\"Currency balance objects for this member\").nullable().optional(),\n picture: SplitwiseGetGroups_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 if user has custom profile picture\").nullable().optional(),\n registration_status: z.string().describe(\"Registration status of the user\").nullable().optional(),\n}).passthrough().describe(\"Represents a member in a group.\");\nconst SplitwiseGetGroups_CoverPhotoSchema = z.object({\n xlarge: z.string().describe(\"URL for the xlarge-sized cover photo\").nullable().optional(),\n xxlarge: z.string().describe(\"URL for the xxlarge-sized cover photo\").nullable().optional(),\n}).passthrough().describe(\"URLs for group cover photo in different sizes.\");\nconst SplitwiseGetGroups_TallAvatarSchema = z.object({\n large: z.string().describe(\"URL for the large-sized tall avatar\").nullable().optional(),\n xlarge: z.string().describe(\"URL for the xlarge-sized tall avatar\").nullable().optional(),\n}).passthrough().describe(\"URLs for group tall avatar images in different sizes.\");\nconst SplitwiseGetGroups_DebtSchema = z.object({\n to: z.number().int().describe(\"Creditor user ID\").nullable(),\n from: z.number().int().describe(\"Debtor user ID\").nullable(),\n amount: z.string().describe(\"Debt amount as a decimal string\").nullable(),\n currency_code: z.string().describe(\"Currency code for the debt\").nullable(),\n}).passthrough().describe(\"Represents a debt between two users.\");\nconst SplitwiseGetGroups_GroupSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the group\").nullable(),\n name: z.string().describe(\"Group display name\").nullable(),\n avatar: SplitwiseGetGroups_AvatarSchema.nullable().optional(),\n members: z.array(SplitwiseGetGroups_MemberSchema).describe(\"Users belonging to the group\").nullable().optional(),\n created_at: z.string().describe(\"Group creation timestamp (ISO 8601)\").nullable().optional(),\n group_type: z.string().describe(\"Category type (home, trip, couple, other, apartment, house)\").nullable().optional(),\n updated_at: z.string().describe(\"Most recent modification timestamp (ISO 8601)\").nullable().optional(),\n whiteboard: z.string().describe(\"Group whiteboard content\").nullable().optional(),\n cover_photo: SplitwiseGetGroups_CoverPhotoSchema.nullable().optional(),\n invite_link: z.string().describe(\"URL for group membership invitations\").nullable().optional(),\n tall_avatar: SplitwiseGetGroups_TallAvatarSchema.nullable().optional(),\n custom_avatar: z.boolean().describe(\"Indicates if group has custom avatar\").nullable().optional(),\n original_debts: z.array(SplitwiseGetGroups_DebtSchema).describe(\"Unsimplified financial obligations\").nullable().optional(),\n simplified_debts: z.array(SplitwiseGetGroups_DebtSchema).describe(\"Optimized financial obligations\").nullable().optional(),\n simplify_by_default: z.boolean().describe(\"Whether debt simplification is enabled\").nullable().optional(),\n whiteboard_updated_at: z.string().describe(\"Whiteboard last update timestamp (ISO 8601)\").nullable().optional(),\n whiteboard_updated_by: z.number().int().describe(\"User ID who last updated whiteboard\").nullable().optional(),\n whiteboard_lock_version: z.number().int().describe(\"Version lock for whiteboard updates\").nullable().optional(),\n}).passthrough().describe(\"Represents a Splitwise group.\");\nexport const SplitwiseGetGroupsOutput = z.object({\n groups: z.array(SplitwiseGetGroups_GroupSchema).describe(\"List of groups associated with the authenticated user\"),\n}).passthrough().describe(\"Response model for the get_groups action.\");\n\nexport const splitwiseGetGroups = action(\"SPLITWISE_GET_GROUPS\", {\n slug: \"splitwise-get-groups\",\n name: \"Get Groups\",\n description: \"Retrieves all groups the authenticated user belongs to, including group details, members, balances, and debt information. Returns a 'groups' array with no server-side filtering; all name- or ID-based filtering must be done client-side on the full response. Group names may share similar strings or differ in case/whitespace — normalize when matching and prefer group_id once identified. The groups array may be empty if the user belongs to no groups.\",\n input: SplitwiseGetGroupsInput,\n output: SplitwiseGetGroupsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,4DAA4D;AACzH,MAAM,kCAAkCA,IAAAA,EAAE,OAAO;CAC/C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,OAAOA,IAAAA,EAAE,OAAO,CAA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MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
1
|
+
{"version":3,"file":"get-groups.cjs","names":["z","action"],"sources":["../../src/actions/get-groups.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { splitwise } from \"../app\";\n\nexport const SplitwiseGetGroupsInput = z.object({}).describe(\"Request model for fetching groups. No parameters required.\");\nconst SplitwiseGetGroups_AvatarSchema = z.object({\n large: z.string().describe(\"URL for the large-sized avatar\").nullable().optional(),\n small: z.string().describe(\"URL for the small-sized avatar\").nullable().optional(),\n medium: z.string().describe(\"URL for the medium-sized avatar\").nullable().optional(),\n xlarge: z.string().describe(\"URL for the xlarge-sized avatar\").nullable().optional(),\n xxlarge: z.string().describe(\"URL for the xxlarge-sized avatar\").nullable().optional(),\n original: z.string().describe(\"URL for the original avatar image\").nullable().optional(),\n}).passthrough().describe(\"URLs for group avatar images in different sizes.\");\nconst SplitwiseGetGroups_BalanceSchema = z.object({\n amount: z.string().describe(\"Balance amount as a decimal string\").nullable(),\n currency_code: z.string().describe(\"Currency code (e.g., USD, EUR)\").nullable(),\n}).passthrough().describe(\"Represents a currency balance for a user.\");\nconst SplitwiseGetGroups_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 profile pictures in different sizes.\");\nconst SplitwiseGetGroups_MemberSchema = 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 balance: z.array(SplitwiseGetGroups_BalanceSchema).describe(\"Currency balance objects for this member\").nullable().optional(),\n picture: SplitwiseGetGroups_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 if user has custom profile picture\").nullable().optional(),\n registration_status: z.string().describe(\"Registration status of the user\").nullable().optional(),\n}).passthrough().describe(\"Represents a member in a group.\");\nconst SplitwiseGetGroups_CoverPhotoSchema = z.object({\n xlarge: z.string().describe(\"URL for the xlarge-sized cover photo\").nullable().optional(),\n xxlarge: z.string().describe(\"URL for the xxlarge-sized cover photo\").nullable().optional(),\n}).passthrough().describe(\"URLs for group cover photo in different sizes.\");\nconst SplitwiseGetGroups_TallAvatarSchema = z.object({\n large: z.string().describe(\"URL for the large-sized tall avatar\").nullable().optional(),\n xlarge: z.string().describe(\"URL for the xlarge-sized tall avatar\").nullable().optional(),\n}).passthrough().describe(\"URLs for group tall avatar images in different sizes.\");\nconst SplitwiseGetGroups_DebtSchema = z.object({\n to: z.number().int().describe(\"Creditor user ID\").nullable(),\n from: z.number().int().describe(\"Debtor user ID\").nullable(),\n amount: z.string().describe(\"Debt amount as a decimal string\").nullable(),\n currency_code: z.string().describe(\"Currency code for the debt\").nullable(),\n}).passthrough().describe(\"Represents a debt between two users.\");\nconst SplitwiseGetGroups_GroupSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the group\").nullable(),\n name: z.string().describe(\"Group display name\").nullable(),\n avatar: SplitwiseGetGroups_AvatarSchema.nullable().optional(),\n members: z.array(SplitwiseGetGroups_MemberSchema).describe(\"Users belonging to the group\").nullable().optional(),\n created_at: z.string().describe(\"Group creation timestamp (ISO 8601)\").nullable().optional(),\n group_type: z.string().describe(\"Category type (home, trip, couple, other, apartment, house)\").nullable().optional(),\n updated_at: z.string().describe(\"Most recent modification timestamp (ISO 8601)\").nullable().optional(),\n whiteboard: z.string().describe(\"Group whiteboard content\").nullable().optional(),\n cover_photo: SplitwiseGetGroups_CoverPhotoSchema.nullable().optional(),\n invite_link: z.string().describe(\"URL for group membership invitations\").nullable().optional(),\n tall_avatar: SplitwiseGetGroups_TallAvatarSchema.nullable().optional(),\n custom_avatar: z.boolean().describe(\"Indicates if group has custom avatar\").nullable().optional(),\n original_debts: z.array(SplitwiseGetGroups_DebtSchema).describe(\"Unsimplified financial obligations\").nullable().optional(),\n simplified_debts: z.array(SplitwiseGetGroups_DebtSchema).describe(\"Optimized financial obligations\").nullable().optional(),\n simplify_by_default: z.boolean().describe(\"Whether debt simplification is enabled\").nullable().optional(),\n whiteboard_updated_at: z.string().describe(\"Whiteboard last update timestamp (ISO 8601)\").nullable().optional(),\n whiteboard_updated_by: z.number().int().describe(\"User ID who last updated whiteboard\").nullable().optional(),\n whiteboard_lock_version: z.number().int().describe(\"Version lock for whiteboard updates\").nullable().optional(),\n}).passthrough().describe(\"Represents a Splitwise group.\");\nexport const SplitwiseGetGroupsOutput = z.object({\n groups: z.array(SplitwiseGetGroups_GroupSchema).describe(\"List of groups associated with the authenticated user\"),\n}).passthrough().describe(\"Response model for the get_groups action.\");\n\nexport const splitwiseGetGroups: AppAction<\n typeof SplitwiseGetGroupsInput,\n typeof SplitwiseGetGroupsOutput,\n typeof splitwise.credential\n> = action(\"SPLITWISE_GET_GROUPS\", {\n slug: \"splitwise-get-groups\",\n name: \"Get Groups\",\n description: \"Retrieves all groups the authenticated user belongs to, including group details, members, balances, and debt information. Returns a 'groups' array with no server-side filtering; all name- or ID-based filtering must be done client-side on the full response. Group names may share similar strings or differ in case/whitespace — normalize when matching and prefer group_id once identified. The groups array may be empty if the user belongs to no groups.\",\n input: SplitwiseGetGroupsInput,\n output: SplitwiseGetGroupsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,4DAA4D;AACzH,MAAM,kCAAkCA,IAAAA,EAAE,OAAO;CAC/C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC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a;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { splitwise } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-groups.d.ts
|
|
@@ -63,7 +65,7 @@ declare const SplitwiseGetGroupsOutput: z.ZodObject<{
|
|
|
63
65
|
whiteboard_lock_version: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
64
66
|
}, z.core.$loose>>;
|
|
65
67
|
}, z.core.$loose>;
|
|
66
|
-
declare const splitwiseGetGroups:
|
|
68
|
+
declare const splitwiseGetGroups: AppAction<typeof SplitwiseGetGroupsInput, typeof SplitwiseGetGroupsOutput, typeof splitwise.credential>;
|
|
67
69
|
//#endregion
|
|
68
70
|
export { splitwiseGetGroups };
|
|
69
71
|
//# sourceMappingURL=get-groups.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-groups.d.cts","names":[],"sources":["../../src/actions/get-groups.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-groups.d.cts","names":[],"sources":["../../src/actions/get-groups.ts"],"mappings":";;;;;cAMa,uBAAA,EAAuB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cA8DvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAIxB,kBAAA,EAAoB,SAAA,QACxB,uBAAA,SACA,wBAAA,SACA,SAAA,CAAU,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { splitwise } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-groups.d.ts
|
|
@@ -63,7 +65,7 @@ declare const SplitwiseGetGroupsOutput: z.ZodObject<{
|
|
|
63
65
|
whiteboard_lock_version: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
64
66
|
}, z.core.$loose>>;
|
|
65
67
|
}, z.core.$loose>;
|
|
66
|
-
declare const splitwiseGetGroups:
|
|
68
|
+
declare const splitwiseGetGroups: AppAction<typeof SplitwiseGetGroupsInput, typeof SplitwiseGetGroupsOutput, typeof splitwise.credential>;
|
|
67
69
|
//#endregion
|
|
68
70
|
export { splitwiseGetGroups };
|
|
69
71
|
//# sourceMappingURL=get-groups.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-groups.d.mts","names":[],"sources":["../../src/actions/get-groups.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-groups.d.mts","names":[],"sources":["../../src/actions/get-groups.ts"],"mappings":";;;;;cAMa,uBAAA,EAAuB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cA8DvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAIxB,kBAAA,EAAoB,SAAA,QACxB,uBAAA,SACA,wBAAA,SACA,SAAA,CAAU,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-groups.mjs","names":[],"sources":["../../src/actions/get-groups.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SplitwiseGetGroupsInput = z.object({}).describe(\"Request model for fetching groups. No parameters required.\");\nconst SplitwiseGetGroups_AvatarSchema = z.object({\n large: z.string().describe(\"URL for the large-sized avatar\").nullable().optional(),\n small: z.string().describe(\"URL for the small-sized avatar\").nullable().optional(),\n medium: z.string().describe(\"URL for the medium-sized avatar\").nullable().optional(),\n xlarge: z.string().describe(\"URL for the xlarge-sized avatar\").nullable().optional(),\n xxlarge: z.string().describe(\"URL for the xxlarge-sized avatar\").nullable().optional(),\n original: z.string().describe(\"URL for the original avatar image\").nullable().optional(),\n}).passthrough().describe(\"URLs for group avatar images in different sizes.\");\nconst SplitwiseGetGroups_BalanceSchema = z.object({\n amount: z.string().describe(\"Balance amount as a decimal string\").nullable(),\n currency_code: z.string().describe(\"Currency code (e.g., USD, EUR)\").nullable(),\n}).passthrough().describe(\"Represents a currency balance for a user.\");\nconst SplitwiseGetGroups_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 profile pictures in different sizes.\");\nconst SplitwiseGetGroups_MemberSchema = 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 balance: z.array(SplitwiseGetGroups_BalanceSchema).describe(\"Currency balance objects for this member\").nullable().optional(),\n picture: SplitwiseGetGroups_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 if user has custom profile picture\").nullable().optional(),\n registration_status: z.string().describe(\"Registration status of the user\").nullable().optional(),\n}).passthrough().describe(\"Represents a member in a group.\");\nconst SplitwiseGetGroups_CoverPhotoSchema = z.object({\n xlarge: z.string().describe(\"URL for the xlarge-sized cover photo\").nullable().optional(),\n xxlarge: z.string().describe(\"URL for the xxlarge-sized cover photo\").nullable().optional(),\n}).passthrough().describe(\"URLs for group cover photo in different sizes.\");\nconst SplitwiseGetGroups_TallAvatarSchema = z.object({\n large: z.string().describe(\"URL for the large-sized tall avatar\").nullable().optional(),\n xlarge: z.string().describe(\"URL for the xlarge-sized tall avatar\").nullable().optional(),\n}).passthrough().describe(\"URLs for group tall avatar images in different sizes.\");\nconst SplitwiseGetGroups_DebtSchema = z.object({\n to: z.number().int().describe(\"Creditor user ID\").nullable(),\n from: z.number().int().describe(\"Debtor user ID\").nullable(),\n amount: z.string().describe(\"Debt amount as a decimal string\").nullable(),\n currency_code: z.string().describe(\"Currency code for the debt\").nullable(),\n}).passthrough().describe(\"Represents a debt between two users.\");\nconst SplitwiseGetGroups_GroupSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the group\").nullable(),\n name: z.string().describe(\"Group display name\").nullable(),\n avatar: SplitwiseGetGroups_AvatarSchema.nullable().optional(),\n members: z.array(SplitwiseGetGroups_MemberSchema).describe(\"Users belonging to the group\").nullable().optional(),\n created_at: z.string().describe(\"Group creation timestamp (ISO 8601)\").nullable().optional(),\n group_type: z.string().describe(\"Category type (home, trip, couple, other, apartment, house)\").nullable().optional(),\n updated_at: z.string().describe(\"Most recent modification timestamp (ISO 8601)\").nullable().optional(),\n whiteboard: z.string().describe(\"Group whiteboard content\").nullable().optional(),\n cover_photo: SplitwiseGetGroups_CoverPhotoSchema.nullable().optional(),\n invite_link: z.string().describe(\"URL for group membership invitations\").nullable().optional(),\n tall_avatar: SplitwiseGetGroups_TallAvatarSchema.nullable().optional(),\n custom_avatar: z.boolean().describe(\"Indicates if group has custom avatar\").nullable().optional(),\n original_debts: z.array(SplitwiseGetGroups_DebtSchema).describe(\"Unsimplified financial obligations\").nullable().optional(),\n simplified_debts: z.array(SplitwiseGetGroups_DebtSchema).describe(\"Optimized financial obligations\").nullable().optional(),\n simplify_by_default: z.boolean().describe(\"Whether debt simplification is enabled\").nullable().optional(),\n whiteboard_updated_at: z.string().describe(\"Whiteboard last update timestamp (ISO 8601)\").nullable().optional(),\n whiteboard_updated_by: z.number().int().describe(\"User ID who last updated whiteboard\").nullable().optional(),\n whiteboard_lock_version: z.number().int().describe(\"Version lock for whiteboard updates\").nullable().optional(),\n}).passthrough().describe(\"Represents a Splitwise group.\");\nexport const SplitwiseGetGroupsOutput = z.object({\n groups: z.array(SplitwiseGetGroups_GroupSchema).describe(\"List of groups associated with the authenticated user\"),\n}).passthrough().describe(\"Response model for the get_groups action.\");\n\nexport const splitwiseGetGroups = action(\"SPLITWISE_GET_GROUPS\", {\n slug: \"splitwise-get-groups\",\n name: \"Get Groups\",\n description: \"Retrieves all groups the authenticated user belongs to, including group details, members, balances, and debt information. Returns a 'groups' array with no server-side filtering; all name- or ID-based filtering must be done client-side on the full response. Group names may share similar strings or differ in case/whitespace — normalize when matching and prefer group_id once identified. The groups array may be empty if the user belongs to no groups.\",\n input: SplitwiseGetGroupsInput,\n output: SplitwiseGetGroupsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0B,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,4DAA4D;AACzH,MAAM,kCAAkC,EAAE,OAAO;CAC/C,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAAkD;AAC5E,MAAM,mCAAmC,EAAE,OAAO;CAChD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC3E,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;AAChF,CA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D,MAAa,qBAAqB,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATsC,EAAE,OAAO,EAC/C,QAAQ,EAAE,MAAM,8BAA8B,CAAC,CAAC,SAAS,uDAAuD,EAClH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAOhB;AACV,CAAC"}
|
|
1
|
+
{"version":3,"file":"get-groups.mjs","names":[],"sources":["../../src/actions/get-groups.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { splitwise } from \"../app\";\n\nexport const SplitwiseGetGroupsInput = z.object({}).describe(\"Request model for fetching groups. No parameters required.\");\nconst SplitwiseGetGroups_AvatarSchema = z.object({\n large: z.string().describe(\"URL for the large-sized avatar\").nullable().optional(),\n small: z.string().describe(\"URL for the small-sized avatar\").nullable().optional(),\n medium: z.string().describe(\"URL for the medium-sized avatar\").nullable().optional(),\n xlarge: z.string().describe(\"URL for the xlarge-sized avatar\").nullable().optional(),\n xxlarge: z.string().describe(\"URL for the xxlarge-sized avatar\").nullable().optional(),\n original: z.string().describe(\"URL for the original avatar image\").nullable().optional(),\n}).passthrough().describe(\"URLs for group avatar images in different sizes.\");\nconst SplitwiseGetGroups_BalanceSchema = z.object({\n amount: z.string().describe(\"Balance amount as a decimal string\").nullable(),\n currency_code: z.string().describe(\"Currency code (e.g., USD, EUR)\").nullable(),\n}).passthrough().describe(\"Represents a currency balance for a user.\");\nconst SplitwiseGetGroups_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 profile pictures in different sizes.\");\nconst SplitwiseGetGroups_MemberSchema = 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 balance: z.array(SplitwiseGetGroups_BalanceSchema).describe(\"Currency balance objects for this member\").nullable().optional(),\n picture: SplitwiseGetGroups_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 if user has custom profile picture\").nullable().optional(),\n registration_status: z.string().describe(\"Registration status of the user\").nullable().optional(),\n}).passthrough().describe(\"Represents a member in a group.\");\nconst SplitwiseGetGroups_CoverPhotoSchema = z.object({\n xlarge: z.string().describe(\"URL for the xlarge-sized cover photo\").nullable().optional(),\n xxlarge: z.string().describe(\"URL for the xxlarge-sized cover photo\").nullable().optional(),\n}).passthrough().describe(\"URLs for group cover photo in different sizes.\");\nconst SplitwiseGetGroups_TallAvatarSchema = z.object({\n large: z.string().describe(\"URL for the large-sized tall avatar\").nullable().optional(),\n xlarge: z.string().describe(\"URL for the xlarge-sized tall avatar\").nullable().optional(),\n}).passthrough().describe(\"URLs for group tall avatar images in different sizes.\");\nconst SplitwiseGetGroups_DebtSchema = z.object({\n to: z.number().int().describe(\"Creditor user ID\").nullable(),\n from: z.number().int().describe(\"Debtor user ID\").nullable(),\n amount: z.string().describe(\"Debt amount as a decimal string\").nullable(),\n currency_code: z.string().describe(\"Currency code for the debt\").nullable(),\n}).passthrough().describe(\"Represents a debt between two users.\");\nconst SplitwiseGetGroups_GroupSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the group\").nullable(),\n name: z.string().describe(\"Group display name\").nullable(),\n avatar: SplitwiseGetGroups_AvatarSchema.nullable().optional(),\n members: z.array(SplitwiseGetGroups_MemberSchema).describe(\"Users belonging to the group\").nullable().optional(),\n created_at: z.string().describe(\"Group creation timestamp (ISO 8601)\").nullable().optional(),\n group_type: z.string().describe(\"Category type (home, trip, couple, other, apartment, house)\").nullable().optional(),\n updated_at: z.string().describe(\"Most recent modification timestamp (ISO 8601)\").nullable().optional(),\n whiteboard: z.string().describe(\"Group whiteboard content\").nullable().optional(),\n cover_photo: SplitwiseGetGroups_CoverPhotoSchema.nullable().optional(),\n invite_link: z.string().describe(\"URL for group membership invitations\").nullable().optional(),\n tall_avatar: SplitwiseGetGroups_TallAvatarSchema.nullable().optional(),\n custom_avatar: z.boolean().describe(\"Indicates if group has custom avatar\").nullable().optional(),\n original_debts: z.array(SplitwiseGetGroups_DebtSchema).describe(\"Unsimplified financial obligations\").nullable().optional(),\n simplified_debts: z.array(SplitwiseGetGroups_DebtSchema).describe(\"Optimized financial obligations\").nullable().optional(),\n simplify_by_default: z.boolean().describe(\"Whether debt simplification is enabled\").nullable().optional(),\n whiteboard_updated_at: z.string().describe(\"Whiteboard last update timestamp (ISO 8601)\").nullable().optional(),\n whiteboard_updated_by: z.number().int().describe(\"User ID who last updated whiteboard\").nullable().optional(),\n whiteboard_lock_version: z.number().int().describe(\"Version lock for whiteboard updates\").nullable().optional(),\n}).passthrough().describe(\"Represents a Splitwise group.\");\nexport const SplitwiseGetGroupsOutput = z.object({\n groups: z.array(SplitwiseGetGroups_GroupSchema).describe(\"List of groups associated with the authenticated user\"),\n}).passthrough().describe(\"Response model for the get_groups action.\");\n\nexport const splitwiseGetGroups: AppAction<\n typeof SplitwiseGetGroupsInput,\n typeof SplitwiseGetGroupsOutput,\n typeof splitwise.credential\n> = action(\"SPLITWISE_GET_GROUPS\", {\n slug: \"splitwise-get-groups\",\n name: \"Get Groups\",\n description: \"Retrieves all groups the authenticated user belongs to, including group details, members, balances, and debt information. Returns a 'groups' array with no server-side filtering; all name- or ID-based filtering must be done client-side on the full response. Group names may share similar strings or differ in case/whitespace — normalize when matching and prefer group_id once identified. The groups array may be empty if the user belongs to no groups.\",\n input: SplitwiseGetGroupsInput,\n output: SplitwiseGetGroupsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,0BAA0B,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,4DAA4D;AACzH,MAAM,kCAAkC,EAAE,OAAO;CAC/C,O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CAAC,SAAS;CACrE,eAAe,EAAE,QAAQ,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,gBAAgB,EAAE,MAAM,6BAA6B,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1H,kBAAkB,EAAE,MAAM,6BAA6B,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzH,qBAAqB,EAAE,QAAQ,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,uBAAuB,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,uBAAuB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,yBAAyB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+BAA+B;AAKzD,MAAa,qBAIT,OAAO,wBAAwB;CACjC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAbsC,EAAE,OAAO,EAC/C,QAAQ,EAAE,MAAM,8BAA8B,CAAC,CAAC,SAAS,uDAAuD,EAClH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-notifications.cjs","names":["z","action"],"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":"
|
|
1
|
+
{"version":3,"file":"get-notifications.cjs","names":["z","action"],"sources":["../../src/actions/get-notifications.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { splitwise } from \"../app\";\n\nexport const 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: AppAction<\n typeof SplitwiseGetNotificationsInput,\n typeof SplitwiseGetNotificationsOutput,\n typeof splitwise.credential\n> = 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":";;;;AAMA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+KAA+K,CAAC,CAAC,SAAS;CAC3N,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4FAA4F,CAAC,CAAC,SAAS;AAC5I,CAAC,CAAC,CAAC,SAAS,6CAA6C;AACzD,MAAM,+CAA+CA,IAAAA,EAAE,OAAO;CAC5D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8DAA8D;AACxF,MAAM,qDAAqDA,IAAAA,EAAE,OAAO;CAClE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CAC1E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wHAAwH,CAAC,CAAC,SAAS;CACnK,QAAQ,6CAA6C,SAAS,CAAC,CAAC,SAAS;CACzE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wGAAwG,CAAC,CAAC,SAAS;CAChJ,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACzF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yDAAyD;AACnF,MAAa,kCAAkCA,IAAAA,EAAE,OAAO,EACtD,eAAeA,IAAAA,EAAE,MAAM,kDAAkD,CAAC,CAAC,SAAS,iEAAiE,EACvJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAA8C;AAExE,MAAa,4BAITC,eAAAA,OAAO,+BAA+B;CACxC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { splitwise } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-notifications.d.ts
|
|
@@ -21,10 +23,7 @@ declare const SplitwiseGetNotificationsOutput: z.ZodObject<{
|
|
|
21
23
|
image_shape: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
24
|
}, z.core.$loose>>;
|
|
23
25
|
}, z.core.$loose>;
|
|
24
|
-
declare const splitwiseGetNotifications:
|
|
25
|
-
limit?: number | undefined;
|
|
26
|
-
updated_after?: string | undefined;
|
|
27
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
26
|
+
declare const splitwiseGetNotifications: AppAction<typeof SplitwiseGetNotificationsInput, typeof SplitwiseGetNotificationsOutput, typeof splitwise.credential>;
|
|
28
27
|
//#endregion
|
|
29
28
|
export { splitwiseGetNotifications };
|
|
30
29
|
//# sourceMappingURL=get-notifications.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-notifications.d.cts","names":[],"sources":["../../src/actions/get-notifications.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-notifications.d.cts","names":[],"sources":["../../src/actions/get-notifications.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;cAmB9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAI/B,yBAAA,EAA2B,SAAA,QAC/B,8BAAA,SACA,+BAAA,SACA,SAAA,CAAU,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { splitwise } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-notifications.d.ts
|
|
@@ -21,10 +23,7 @@ declare const SplitwiseGetNotificationsOutput: z.ZodObject<{
|
|
|
21
23
|
image_shape: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
24
|
}, z.core.$loose>>;
|
|
23
25
|
}, z.core.$loose>;
|
|
24
|
-
declare const splitwiseGetNotifications:
|
|
25
|
-
limit?: number | undefined;
|
|
26
|
-
updated_after?: string | undefined;
|
|
27
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
26
|
+
declare const splitwiseGetNotifications: AppAction<typeof SplitwiseGetNotificationsInput, typeof SplitwiseGetNotificationsOutput, typeof splitwise.credential>;
|
|
28
27
|
//#endregion
|
|
29
28
|
export { splitwiseGetNotifications };
|
|
30
29
|
//# sourceMappingURL=get-notifications.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-notifications.d.mts","names":[],"sources":["../../src/actions/get-notifications.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-notifications.d.mts","names":[],"sources":["../../src/actions/get-notifications.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;cAmB9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAI/B,yBAAA,EAA2B,SAAA,QAC/B,8BAAA,SACA,+BAAA,SACA,SAAA,CAAU,UAAA"}
|
|
@@ -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}).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":"
|
|
1
|
+
{"version":3,"file":"get-notifications.mjs","names":[],"sources":["../../src/actions/get-notifications.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { splitwise } from \"../app\";\n\nexport const 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: AppAction<\n typeof SplitwiseGetNotificationsInput,\n typeof SplitwiseGetNotificationsOutput,\n typeof splitwise.credential\n> = 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":";;;;AAMA,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,C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":["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":"
|
|
1
|
+
{"version":3,"file":"get-user.cjs","names":["z","action"],"sources":["../../src/actions/get-user.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { splitwise } from \"../app\";\n\nexport const SplitwiseGetUserInput = z.object({\n id: z.number().int().describe(\"The user ID of the person whose information you want to retrieve Prefer IDs sourced from SPLITWISE_GET_GROUP responses to ensure validity.\"),\n}).describe(\"Request schema for retrieving user information by ID.\");\nconst SplitwiseGetUser_PictureSchema = z.object({\n large: z.string().describe(\"URL for the large-sized profile picture.\").nullable().optional(),\n small: z.string().describe(\"URL for the small-sized profile picture.\").nullable().optional(),\n medium: z.string().describe(\"URL for the medium-sized profile picture.\").nullable().optional(),\n}).passthrough().describe(\"URLs for the user's profile picture in different sizes.\");\nconst SplitwiseGetUser_UserSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the user.\").nullable(),\n email: z.string().describe(\"User's email address.\").nullable().optional(),\n picture: SplitwiseGetUser_PictureSchema.nullable().optional(),\n last_name: z.string().describe(\"User's last name.\").nullable().optional(),\n first_name: z.string().describe(\"User's first name.\").nullable().optional(),\n custom_picture: z.boolean().describe(\"Indicates whether the user has a custom profile picture.\").nullable().optional(),\n registration_status: z.string().describe(\"Registration status of the user (e.g., 'confirmed', 'dummy', 'invited').\").nullable().optional(),\n}).passthrough().describe(\"Details of another user. Note: This endpoint returns only basic user information.\\nFor the authenticated user's full profile (including notifications, currency, and locale),\\nuse the get_current_user endpoint instead.\");\nexport const SplitwiseGetUserOutput = z.object({\n user: SplitwiseGetUser_UserSchema.nullable(),\n}).passthrough().describe(\"Response schema for user information.\");\n\nexport const splitwiseGetUser: AppAction<\n typeof SplitwiseGetUserInput,\n typeof SplitwiseGetUserOutput,\n typeof splitwise.credential\n> = action(\"SPLITWISE_GET_USER\", {\n slug: \"splitwise-get-user\",\n name: \"Get User Information\",\n description: \"Retrieves basic profile information about any Splitwise user by their ID. Returns the user's name, email, registration status, and profile picture. This endpoint only returns public user information. For the authenticated user's full profile (including notifications, currency preferences, and locale settings),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AAC,SAAS,0EAA0E,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,mBAITC,eAAAA,OAAO,sBAAsB;CAC/B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { splitwise } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-user.d.ts
|
|
@@ -19,9 +21,7 @@ declare const SplitwiseGetUserOutput: z.ZodObject<{
|
|
|
19
21
|
registration_status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
22
|
}, z.core.$loose>>;
|
|
21
23
|
}, z.core.$loose>;
|
|
22
|
-
declare const splitwiseGetUser:
|
|
23
|
-
id: number;
|
|
24
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
24
|
+
declare const splitwiseGetUser: AppAction<typeof SplitwiseGetUserInput, typeof SplitwiseGetUserOutput, typeof splitwise.credential>;
|
|
25
25
|
//#endregion
|
|
26
26
|
export { splitwiseGetUser };
|
|
27
27
|
//# sourceMappingURL=get-user.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-user.d.cts","names":[],"sources":["../../src/actions/get-user.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-user.d.cts","names":[],"sources":["../../src/actions/get-user.ts"],"mappings":";;;;;cAMa,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;cAiBrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAItB,gBAAA,EAAkB,SAAA,QACtB,qBAAA,SACA,sBAAA,SACA,SAAA,CAAU,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { splitwise } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-user.d.ts
|
|
@@ -19,9 +21,7 @@ declare const SplitwiseGetUserOutput: z.ZodObject<{
|
|
|
19
21
|
registration_status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
22
|
}, z.core.$loose>>;
|
|
21
23
|
}, z.core.$loose>;
|
|
22
|
-
declare const splitwiseGetUser:
|
|
23
|
-
id: number;
|
|
24
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
24
|
+
declare const splitwiseGetUser: AppAction<typeof SplitwiseGetUserInput, typeof SplitwiseGetUserOutput, typeof splitwise.credential>;
|
|
25
25
|
//#endregion
|
|
26
26
|
export { splitwiseGetUser };
|
|
27
27
|
//# sourceMappingURL=get-user.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-user.d.mts","names":[],"sources":["../../src/actions/get-user.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-user.d.mts","names":[],"sources":["../../src/actions/get-user.ts"],"mappings":";;;;;cAMa,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;cAiBrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAItB,gBAAA,EAAkB,SAAA,QACtB,qBAAA,SACA,sBAAA,SACA,SAAA,CAAU,UAAA"}
|