@keystrokehq/splitwise 0.1.4 → 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 -17
- package/dist/actions/add-friend.d.cts.map +1 -1
- package/dist/actions/add-friend.d.mts +3 -17
- 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 -16
- package/dist/actions/add-user-to-group.d.cts.map +1 -1
- package/dist/actions/add-user-to-group.d.mts +3 -16
- 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 -16
- package/dist/actions/create-comment.d.cts.map +1 -1
- package/dist/actions/create-comment.d.mts +3 -16
- 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 -32
- package/dist/actions/create-expense.d.cts.map +1 -1
- package/dist/actions/create-expense.d.mts +3 -32
- 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 -20
- package/dist/actions/create-friends.d.cts.map +1 -1
- package/dist/actions/create-friends.d.mts +3 -20
- 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 -24
- package/dist/actions/create-group.d.cts.map +1 -1
- package/dist/actions/create-group.d.mts +3 -24
- 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 -15
- package/dist/actions/delete-comment.d.cts.map +1 -1
- package/dist/actions/delete-comment.d.mts +3 -15
- 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 -15
- package/dist/actions/delete-expense.d.cts.map +1 -1
- package/dist/actions/delete-expense.d.mts +3 -15
- 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 -15
- package/dist/actions/delete-friend.d.cts.map +1 -1
- package/dist/actions/delete-friend.d.mts +3 -15
- 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 -15
- package/dist/actions/delete-group.d.cts.map +1 -1
- package/dist/actions/delete-group.d.mts +3 -15
- 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 -13
- package/dist/actions/get-categories.d.cts.map +1 -1
- package/dist/actions/get-categories.d.mts +3 -13
- 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 -15
- package/dist/actions/get-comments.d.cts.map +1 -1
- package/dist/actions/get-comments.d.mts +3 -15
- 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 -13
- package/dist/actions/get-currencies.d.cts.map +1 -1
- package/dist/actions/get-currencies.d.mts +3 -13
- 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 -13
- package/dist/actions/get-current-user.d.cts.map +1 -1
- package/dist/actions/get-current-user.d.mts +3 -13
- 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 -15
- package/dist/actions/get-expense.d.cts.map +1 -1
- package/dist/actions/get-expense.d.mts +3 -15
- 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 -23
- package/dist/actions/get-expenses.d.cts.map +1 -1
- package/dist/actions/get-expenses.d.mts +3 -23
- 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 -15
- package/dist/actions/get-friend.d.cts.map +1 -1
- package/dist/actions/get-friend.d.mts +3 -15
- 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 -13
- package/dist/actions/get-friends.d.cts.map +1 -1
- package/dist/actions/get-friends.d.mts +3 -13
- 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 -15
- package/dist/actions/get-group.d.cts.map +1 -1
- package/dist/actions/get-group.d.mts +3 -15
- 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 -13
- package/dist/actions/get-groups.d.cts.map +1 -1
- package/dist/actions/get-groups.d.mts +3 -13
- 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 -16
- package/dist/actions/get-notifications.d.cts.map +1 -1
- package/dist/actions/get-notifications.d.mts +3 -16
- 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 -15
- package/dist/actions/get-user.d.cts.map +1 -1
- package/dist/actions/get-user.d.mts +3 -15
- 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 -16
- package/dist/actions/remove-user-from-group.d.cts.map +1 -1
- package/dist/actions/remove-user-from-group.d.mts +3 -16
- 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 -15
- package/dist/actions/undelete-expense.d.cts.map +1 -1
- package/dist/actions/undelete-expense.d.mts +3 -15
- 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 -15
- package/dist/actions/undelete-group.d.cts.map +1 -1
- package/dist/actions/undelete-group.d.mts +3 -15
- 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 -32
- package/dist/actions/update-expense.d.cts.map +1 -1
- package/dist/actions/update-expense.d.mts +3 -32
- 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 -21
- package/dist/actions/update-user.d.cts.map +1 -1
- package/dist/actions/update-user.d.mts +3 -21
- 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 +2 -2
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +4 -6
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +4 -6
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +0 -1
- 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":"delete-comment.mjs","names":[],"sources":["../../src/actions/delete-comment.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SplitwiseDeleteCommentInput = z.object({\n id: z.number().int().describe(\"The unique identifier of the comment to delete.\"),\n}).describe(\"Request model for deleting a comment.\");\nconst SplitwiseDeleteComment_PictureSchema = z.object({\n large: z.string().describe(\"URL for large-sized profile picture.\").nullable().optional(),\n small: z.string().describe(\"URL for small-sized profile picture.\").nullable().optional(),\n medium: z.string().describe(\"URL for medium-sized profile picture.\").nullable().optional(),\n}).passthrough().describe(\"URLs for user profile pictures in different sizes.\");\nconst SplitwiseDeleteComment_UserObjectSchema = z.object({\n id: z.number().int().describe(\"User ID.\").nullable(),\n email: z.string().describe(\"User's email address.\").nullable().optional(),\n picture: SplitwiseDeleteComment_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(\"Whether user has custom picture.\").nullable().optional(),\n registration_status: z.string().describe(\"Registration status.\").nullable().optional(),\n}).passthrough().describe(\"Represents a user object in the comment.\");\nconst SplitwiseDeleteComment_CommentObjectSchema = z.object({\n id: z.number().int().describe(\"Unique comment identifier.\").nullable(),\n user: SplitwiseDeleteComment_UserObjectSchema.nullable(),\n content: z.string().describe(\"The text content of the comment.\").nullable(),\n created_at: z.string().describe(\"Timestamp when the comment was created.\").nullable(),\n deleted_at: z.string().nullable(),\n relation_id: z.number().int().describe(\"ID of the subject of the comment (the expense ID).\").nullable(),\n comment_type: z.string().describe(\"Type of comment. Can be 'System' for system-generated comments or 'User' for user-authored messages.\").nullable(),\n relation_type: z.string().describe(\"Subject type of the comment. Typically 'ExpenseComment'.\").nullable(),\n}).passthrough().describe(\"Represents a deleted comment object.\");\nexport const SplitwiseDeleteCommentOutput = z.object({\n comment: SplitwiseDeleteComment_CommentObjectSchema.nullable(),\n}).passthrough().describe(\"Response model for deleting a comment.\");\n\nexport const splitwiseDeleteComment = action(\"SPLITWISE_DELETE_COMMENT\", {\n slug: \"splitwise-delete-comment\",\n name: \"Delete Comment\",\n description: \"Tool to delete a comment by its ID. Use after confirming you have a valid comment ID.\",\n input: SplitwiseDeleteCommentInput,\n output: SplitwiseDeleteCommentOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"delete-comment.mjs","names":[],"sources":["../../src/actions/delete-comment.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 SplitwiseDeleteCommentInput = z.object({\n id: z.number().int().describe(\"The unique identifier of the comment to delete.\"),\n}).describe(\"Request model for deleting a comment.\");\nconst SplitwiseDeleteComment_PictureSchema = z.object({\n large: z.string().describe(\"URL for large-sized profile picture.\").nullable().optional(),\n small: z.string().describe(\"URL for small-sized profile picture.\").nullable().optional(),\n medium: z.string().describe(\"URL for medium-sized profile picture.\").nullable().optional(),\n}).passthrough().describe(\"URLs for user profile pictures in different sizes.\");\nconst SplitwiseDeleteComment_UserObjectSchema = z.object({\n id: z.number().int().describe(\"User ID.\").nullable(),\n email: z.string().describe(\"User's email address.\").nullable().optional(),\n picture: SplitwiseDeleteComment_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(\"Whether user has custom picture.\").nullable().optional(),\n registration_status: z.string().describe(\"Registration status.\").nullable().optional(),\n}).passthrough().describe(\"Represents a user object in the comment.\");\nconst SplitwiseDeleteComment_CommentObjectSchema = z.object({\n id: z.number().int().describe(\"Unique comment identifier.\").nullable(),\n user: SplitwiseDeleteComment_UserObjectSchema.nullable(),\n content: z.string().describe(\"The text content of the comment.\").nullable(),\n created_at: z.string().describe(\"Timestamp when the comment was created.\").nullable(),\n deleted_at: z.string().nullable(),\n relation_id: z.number().int().describe(\"ID of the subject of the comment (the expense ID).\").nullable(),\n comment_type: z.string().describe(\"Type of comment. Can be 'System' for system-generated comments or 'User' for user-authored messages.\").nullable(),\n relation_type: z.string().describe(\"Subject type of the comment. Typically 'ExpenseComment'.\").nullable(),\n}).passthrough().describe(\"Represents a deleted comment object.\");\nexport const SplitwiseDeleteCommentOutput = z.object({\n comment: SplitwiseDeleteComment_CommentObjectSchema.nullable(),\n}).passthrough().describe(\"Response model for deleting a comment.\");\n\nexport const splitwiseDeleteComment: AppAction<\n typeof SplitwiseDeleteCommentInput,\n typeof SplitwiseDeleteCommentOutput,\n typeof splitwise.credential\n> = action(\"SPLITWISE_DELETE_COMMENT\", {\n slug: \"splitwise-delete-comment\",\n name: \"Delete Comment\",\n description: \"Tool to delete a comment by its ID. Use after confirming you have a valid comment ID.\",\n input: SplitwiseDeleteCommentInput,\n output: SplitwiseDeleteCommentOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,8BAA8B,EAAE,OAAO,EAClD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD,EACjF,CAAC,CAAC,CAAC,SAAS,uCAAuC;AACnD,MAAM,uCAAuC,EAAE,OAAO;CACpD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAAoD;AAC9E,MAAM,0CAA0C,EAAE,OAAO;CACvD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,UAAU,CAAC,CAAC,SAAS;CACnD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,SAAS,qCAAqC,SAAS,CAAC,CAAC,SAAS;CAClE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,gBAAgB,EAAE,QAAQ,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,qBAAqB,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AACpE,MAAM,6CAA6C,EAAE,OAAO;CAC1D,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACrE,MAAM,wCAAwC,SAAS;CACvD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAC1E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACpF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS;CAChC,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CACtG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,sGAAsG,CAAC,CAAC,SAAS;CACnJ,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;AAC1G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAAsC;AAKhE,MAAa,yBAIT,OAAO,4BAA4B;CACrC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAb0C,EAAE,OAAO,EACnD,SAAS,2CAA2C,SAAS,EAC/D,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-expense.cjs","names":["z","action"],"sources":["../../src/actions/delete-expense.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SplitwiseDeleteExpenseInput = z.object({\n id: z.number().int().describe(\"Unique identifier of the expense to delete.\"),\n}).describe(\"Request model for deleting an expense.\");\nexport const SplitwiseDeleteExpenseOutput = z.object({\n errors: z.array(z.string()).describe(\"List of error messages returned by the API, if any.\").nullable().optional(),\n success: z.boolean().describe(\"Indicates whether the deletion was successful.\").nullable(),\n}).passthrough().describe(\"Response model for deleting an expense.\");\n\nexport const splitwiseDeleteExpense = action(\"SPLITWISE_DELETE_EXPENSE\", {\n slug: \"splitwise-delete-expense\",\n name: \"Delete Expense\",\n description: \"Tool to delete an existing expense by its ID. Deletion is irreversible — no undelete capability exists. Use after confirming you have the correct expense ID. Inspect the response's `success` and `error` fields to verify deletion succeeded; failures (e.g., user lacks owner/participant permissions) are surfaced there.\",\n input: SplitwiseDeleteExpenseInput,\n output: SplitwiseDeleteExpenseOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"delete-expense.cjs","names":["z","action"],"sources":["../../src/actions/delete-expense.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { splitwise } from \"../app\";\n\nexport const SplitwiseDeleteExpenseInput = z.object({\n id: z.number().int().describe(\"Unique identifier of the expense to delete.\"),\n}).describe(\"Request model for deleting an expense.\");\nexport const SplitwiseDeleteExpenseOutput = z.object({\n errors: z.array(z.string()).describe(\"List of error messages returned by the API, if any.\").nullable().optional(),\n success: z.boolean().describe(\"Indicates whether the deletion was successful.\").nullable(),\n}).passthrough().describe(\"Response model for deleting an expense.\");\n\nexport const splitwiseDeleteExpense: AppAction<\n typeof SplitwiseDeleteExpenseInput,\n typeof SplitwiseDeleteExpenseOutput,\n typeof splitwise.credential\n> = action(\"SPLITWISE_DELETE_EXPENSE\", {\n slug: \"splitwise-delete-expense\",\n name: \"Delete Expense\",\n description: \"Tool to delete an existing expense by its ID. Deletion is irreversible — no undelete capability exists. Use after confirming you have the correct expense ID. Inspect the response's `success` and `error` fields to verify deletion succeeded; failures (e.g., user lacks owner/participant permissions) are surfaced there.\",\n input: SplitwiseDeleteExpenseInput,\n output: SplitwiseDeleteExpenseOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,EAClD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,EAC7E,CAAC,CAAC,CAAC,SAAS,wCAAwC;AACpD,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;AAC3F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAAyC;AAEnE,MAAa,yBAITC,eAAAA,OAAO,4BAA4B;CACrC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { splitwise } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/delete-expense.d.ts
|
|
@@ -8,21 +10,7 @@ declare const SplitwiseDeleteExpenseOutput: z.ZodObject<{
|
|
|
8
10
|
errors: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
9
11
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
10
12
|
}, z.core.$loose>;
|
|
11
|
-
declare const splitwiseDeleteExpense:
|
|
12
|
-
id: number;
|
|
13
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"splitwise", z.ZodObject<{
|
|
14
|
-
connectionId: z.ZodString;
|
|
15
|
-
entityId: z.ZodString;
|
|
16
|
-
instanceId: z.ZodString;
|
|
17
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
18
|
-
accessToken: z.ZodString;
|
|
19
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"splitwise", z.ZodObject<{
|
|
20
|
-
connectionId: z.ZodString;
|
|
21
|
-
entityId: z.ZodString;
|
|
22
|
-
instanceId: z.ZodString;
|
|
23
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
24
|
-
accessToken: z.ZodString;
|
|
25
|
-
}, z.core.$strip>>]>;
|
|
13
|
+
declare const splitwiseDeleteExpense: AppAction<typeof SplitwiseDeleteExpenseInput, typeof SplitwiseDeleteExpenseOutput, typeof splitwise.credential>;
|
|
26
14
|
//#endregion
|
|
27
15
|
export { splitwiseDeleteExpense };
|
|
28
16
|
//# sourceMappingURL=delete-expense.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-expense.d.cts","names":[],"sources":["../../src/actions/delete-expense.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"delete-expense.d.cts","names":[],"sources":["../../src/actions/delete-expense.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;cAG3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;cAK5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,SACA,SAAA,CAAU,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { splitwise } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/delete-expense.d.ts
|
|
@@ -8,21 +10,7 @@ declare const SplitwiseDeleteExpenseOutput: z.ZodObject<{
|
|
|
8
10
|
errors: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
9
11
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
10
12
|
}, z.core.$loose>;
|
|
11
|
-
declare const splitwiseDeleteExpense:
|
|
12
|
-
id: number;
|
|
13
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"splitwise", z.ZodObject<{
|
|
14
|
-
connectionId: z.ZodString;
|
|
15
|
-
entityId: z.ZodString;
|
|
16
|
-
instanceId: z.ZodString;
|
|
17
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
18
|
-
accessToken: z.ZodString;
|
|
19
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"splitwise", z.ZodObject<{
|
|
20
|
-
connectionId: z.ZodString;
|
|
21
|
-
entityId: z.ZodString;
|
|
22
|
-
instanceId: z.ZodString;
|
|
23
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
24
|
-
accessToken: z.ZodString;
|
|
25
|
-
}, z.core.$strip>>]>;
|
|
13
|
+
declare const splitwiseDeleteExpense: AppAction<typeof SplitwiseDeleteExpenseInput, typeof SplitwiseDeleteExpenseOutput, typeof splitwise.credential>;
|
|
26
14
|
//#endregion
|
|
27
15
|
export { splitwiseDeleteExpense };
|
|
28
16
|
//# sourceMappingURL=delete-expense.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-expense.d.mts","names":[],"sources":["../../src/actions/delete-expense.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"delete-expense.d.mts","names":[],"sources":["../../src/actions/delete-expense.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;cAG3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;cAK5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,SACA,SAAA,CAAU,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-expense.mjs","names":[],"sources":["../../src/actions/delete-expense.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SplitwiseDeleteExpenseInput = z.object({\n id: z.number().int().describe(\"Unique identifier of the expense to delete.\"),\n}).describe(\"Request model for deleting an expense.\");\nexport const SplitwiseDeleteExpenseOutput = z.object({\n errors: z.array(z.string()).describe(\"List of error messages returned by the API, if any.\").nullable().optional(),\n success: z.boolean().describe(\"Indicates whether the deletion was successful.\").nullable(),\n}).passthrough().describe(\"Response model for deleting an expense.\");\n\nexport const splitwiseDeleteExpense = action(\"SPLITWISE_DELETE_EXPENSE\", {\n slug: \"splitwise-delete-expense\",\n name: \"Delete Expense\",\n description: \"Tool to delete an existing expense by its ID. Deletion is irreversible — no undelete capability exists. Use after confirming you have the correct expense ID. Inspect the response's `success` and `error` fields to verify deletion succeeded; failures (e.g., user lacks owner/participant permissions) are surfaced there.\",\n input: SplitwiseDeleteExpenseInput,\n output: SplitwiseDeleteExpenseOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"delete-expense.mjs","names":[],"sources":["../../src/actions/delete-expense.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { splitwise } from \"../app\";\n\nexport const SplitwiseDeleteExpenseInput = z.object({\n id: z.number().int().describe(\"Unique identifier of the expense to delete.\"),\n}).describe(\"Request model for deleting an expense.\");\nexport const SplitwiseDeleteExpenseOutput = z.object({\n errors: z.array(z.string()).describe(\"List of error messages returned by the API, if any.\").nullable().optional(),\n success: z.boolean().describe(\"Indicates whether the deletion was successful.\").nullable(),\n}).passthrough().describe(\"Response model for deleting an expense.\");\n\nexport const splitwiseDeleteExpense: AppAction<\n typeof SplitwiseDeleteExpenseInput,\n typeof SplitwiseDeleteExpenseOutput,\n typeof splitwise.credential\n> = action(\"SPLITWISE_DELETE_EXPENSE\", {\n slug: \"splitwise-delete-expense\",\n name: \"Delete Expense\",\n description: \"Tool to delete an existing expense by its ID. Deletion is irreversible — no undelete capability exists. Use after confirming you have the correct expense ID. Inspect the response's `success` and `error` fields to verify deletion succeeded; failures (e.g., user lacks owner/participant permissions) are surfaced there.\",\n input: SplitwiseDeleteExpenseInput,\n output: SplitwiseDeleteExpenseOutput,\n});\n"],"mappings":";;;AAcA,MAAa,yBAIT,OAAO,4BAA4B;CACrC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhByC,EAAE,OAAO,EAClD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,EAC7E,CAAC,CAAC,CAAC,SAAS,wCAcH;CACP,QAd0C,EAAE,OAAO;EACnD,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChH,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CAC3F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-friend.cjs","names":["z","action"],"sources":["../../src/actions/delete-friend.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SplitwiseDeleteFriendInput = z.object({\n friend_id: z.number().int().describe(\"The unique identifier of the friend to delete.\"),\n}).describe(\"Request model for deleting a friend relationship.\");\nexport const SplitwiseDeleteFriendOutput = z.object({\n errors: z.array(z.string()).describe(\"List of error messages if the deletion failed.\").nullable().optional(),\n success: z.boolean().describe(\"Indicates whether the deletion was successful.\").nullable(),\n}).passthrough().describe(\"Response model for the DeleteFriend action.\");\n\nexport const splitwiseDeleteFriend = action(\"SPLITWISE_DELETE_FRIEND\", {\n slug: \"splitwise-delete-friend\",\n name: \"Delete Friend\",\n description: \"Tool to delete an existing friend by ID. Use when you need to remove a friend relationship by its user ID. Call after confirming the correct friend ID.\",\n input: SplitwiseDeleteFriendInput,\n output: SplitwiseDeleteFriendOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"delete-friend.cjs","names":["z","action"],"sources":["../../src/actions/delete-friend.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 SplitwiseDeleteFriendInput = z.object({\n friend_id: z.number().int().describe(\"The unique identifier of the friend to delete.\"),\n}).describe(\"Request model for deleting a friend relationship.\");\nexport const SplitwiseDeleteFriendOutput = z.object({\n errors: z.array(z.string()).describe(\"List of error messages if the deletion failed.\").nullable().optional(),\n success: z.boolean().describe(\"Indicates whether the deletion was successful.\").nullable(),\n}).passthrough().describe(\"Response model for the DeleteFriend action.\");\n\nexport const splitwiseDeleteFriend: AppAction<\n typeof SplitwiseDeleteFriendInput,\n typeof SplitwiseDeleteFriendOutput,\n typeof splitwise.credential\n> = action(\"SPLITWISE_DELETE_FRIEND\", {\n slug: \"splitwise-delete-friend\",\n name: \"Delete Friend\",\n description: \"Tool to delete an existing friend by ID. Use when you need to remove a friend relationship by its user ID. Call after confirming the correct friend ID.\",\n input: SplitwiseDeleteFriendInput,\n output: SplitwiseDeleteFriendOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,EACjD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,EACvF,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;AAC3F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AAEvE,MAAa,wBAITC,eAAAA,OAAO,2BAA2B;CACpC,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/delete-friend.d.ts
|
|
@@ -8,21 +10,7 @@ declare const SplitwiseDeleteFriendOutput: z.ZodObject<{
|
|
|
8
10
|
errors: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
9
11
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
10
12
|
}, z.core.$loose>;
|
|
11
|
-
declare const splitwiseDeleteFriend:
|
|
12
|
-
friend_id: number;
|
|
13
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"splitwise", z.ZodObject<{
|
|
14
|
-
connectionId: z.ZodString;
|
|
15
|
-
entityId: z.ZodString;
|
|
16
|
-
instanceId: z.ZodString;
|
|
17
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
18
|
-
accessToken: z.ZodString;
|
|
19
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"splitwise", z.ZodObject<{
|
|
20
|
-
connectionId: z.ZodString;
|
|
21
|
-
entityId: z.ZodString;
|
|
22
|
-
instanceId: z.ZodString;
|
|
23
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
24
|
-
accessToken: z.ZodString;
|
|
25
|
-
}, z.core.$strip>>]>;
|
|
13
|
+
declare const splitwiseDeleteFriend: AppAction<typeof SplitwiseDeleteFriendInput, typeof SplitwiseDeleteFriendOutput, typeof splitwise.credential>;
|
|
26
14
|
//#endregion
|
|
27
15
|
export { splitwiseDeleteFriend };
|
|
28
16
|
//# sourceMappingURL=delete-friend.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-friend.d.cts","names":[],"sources":["../../src/actions/delete-friend.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"delete-friend.d.cts","names":[],"sources":["../../src/actions/delete-friend.ts"],"mappings":";;;;;cAMa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;cAG1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;cAK3B,qBAAA,EAAuB,SAAA,QAC3B,0BAAA,SACA,2BAAA,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/delete-friend.d.ts
|
|
@@ -8,21 +10,7 @@ declare const SplitwiseDeleteFriendOutput: z.ZodObject<{
|
|
|
8
10
|
errors: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
9
11
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
10
12
|
}, z.core.$loose>;
|
|
11
|
-
declare const splitwiseDeleteFriend:
|
|
12
|
-
friend_id: number;
|
|
13
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"splitwise", z.ZodObject<{
|
|
14
|
-
connectionId: z.ZodString;
|
|
15
|
-
entityId: z.ZodString;
|
|
16
|
-
instanceId: z.ZodString;
|
|
17
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
18
|
-
accessToken: z.ZodString;
|
|
19
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"splitwise", z.ZodObject<{
|
|
20
|
-
connectionId: z.ZodString;
|
|
21
|
-
entityId: z.ZodString;
|
|
22
|
-
instanceId: z.ZodString;
|
|
23
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
24
|
-
accessToken: z.ZodString;
|
|
25
|
-
}, z.core.$strip>>]>;
|
|
13
|
+
declare const splitwiseDeleteFriend: AppAction<typeof SplitwiseDeleteFriendInput, typeof SplitwiseDeleteFriendOutput, typeof splitwise.credential>;
|
|
26
14
|
//#endregion
|
|
27
15
|
export { splitwiseDeleteFriend };
|
|
28
16
|
//# sourceMappingURL=delete-friend.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-friend.d.mts","names":[],"sources":["../../src/actions/delete-friend.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"delete-friend.d.mts","names":[],"sources":["../../src/actions/delete-friend.ts"],"mappings":";;;;;cAMa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;cAG1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;cAK3B,qBAAA,EAAuB,SAAA,QAC3B,0BAAA,SACA,2BAAA,SACA,SAAA,CAAU,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-friend.mjs","names":[],"sources":["../../src/actions/delete-friend.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SplitwiseDeleteFriendInput = z.object({\n friend_id: z.number().int().describe(\"The unique identifier of the friend to delete.\"),\n}).describe(\"Request model for deleting a friend relationship.\");\nexport const SplitwiseDeleteFriendOutput = z.object({\n errors: z.array(z.string()).describe(\"List of error messages if the deletion failed.\").nullable().optional(),\n success: z.boolean().describe(\"Indicates whether the deletion was successful.\").nullable(),\n}).passthrough().describe(\"Response model for the DeleteFriend action.\");\n\nexport const splitwiseDeleteFriend = action(\"SPLITWISE_DELETE_FRIEND\", {\n slug: \"splitwise-delete-friend\",\n name: \"Delete Friend\",\n description: \"Tool to delete an existing friend by ID. Use when you need to remove a friend relationship by its user ID. Call after confirming the correct friend ID.\",\n input: SplitwiseDeleteFriendInput,\n output: SplitwiseDeleteFriendOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"delete-friend.mjs","names":[],"sources":["../../src/actions/delete-friend.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 SplitwiseDeleteFriendInput = z.object({\n friend_id: z.number().int().describe(\"The unique identifier of the friend to delete.\"),\n}).describe(\"Request model for deleting a friend relationship.\");\nexport const SplitwiseDeleteFriendOutput = z.object({\n errors: z.array(z.string()).describe(\"List of error messages if the deletion failed.\").nullable().optional(),\n success: z.boolean().describe(\"Indicates whether the deletion was successful.\").nullable(),\n}).passthrough().describe(\"Response model for the DeleteFriend action.\");\n\nexport const splitwiseDeleteFriend: AppAction<\n typeof SplitwiseDeleteFriendInput,\n typeof SplitwiseDeleteFriendOutput,\n typeof splitwise.credential\n> = action(\"SPLITWISE_DELETE_FRIEND\", {\n slug: \"splitwise-delete-friend\",\n name: \"Delete Friend\",\n description: \"Tool to delete an existing friend by ID. Use when you need to remove a friend relationship by its user ID. Call after confirming the correct friend ID.\",\n input: SplitwiseDeleteFriendInput,\n output: SplitwiseDeleteFriendOutput,\n});\n"],"mappings":";;;AAcA,MAAa,wBAIT,OAAO,2BAA2B;CACpC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhBwC,EAAE,OAAO,EACjD,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,EACvF,CAAC,CAAC,CAAC,SAAS,mDAcH;CACP,QAdyC,EAAE,OAAO;EAClD,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3G,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CAC3F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-group.cjs","names":["z","action"],"sources":["../../src/actions/delete-group.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SplitwiseDeleteGroupInput = z.object({\n id: z.number().int().describe(\"The unique identifier of the group to delete.\"),\n}).describe(\"Request model for deleting a group.\");\nexport const SplitwiseDeleteGroupOutput = z.object({\n errors: z.array(z.string()).describe(\"List of error messages if the deletion failed.\").nullable().optional(),\n success: z.boolean().describe(\"Indicates whether the deletion was successful.\").nullable(),\n}).passthrough().describe(\"Response model for the DeleteGroup action.\");\n\nexport const splitwiseDeleteGroup = action(\"SPLITWISE_DELETE_GROUP\", {\n slug: \"splitwise-delete-group\",\n name: \"Delete Group\",\n description: \"Tool to delete a group and all associated records by its ID. Use when you need to permanently remove a group and its expenses. Call after confirming the correct group ID.\",\n input: SplitwiseDeleteGroupInput,\n output: SplitwiseDeleteGroupOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"delete-group.cjs","names":["z","action"],"sources":["../../src/actions/delete-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 SplitwiseDeleteGroupInput = z.object({\n id: z.number().int().describe(\"The unique identifier of the group to delete.\"),\n}).describe(\"Request model for deleting a group.\");\nexport const SplitwiseDeleteGroupOutput = z.object({\n errors: z.array(z.string()).describe(\"List of error messages if the deletion failed.\").nullable().optional(),\n success: z.boolean().describe(\"Indicates whether the deletion was successful.\").nullable(),\n}).passthrough().describe(\"Response model for the DeleteGroup action.\");\n\nexport const splitwiseDeleteGroup: AppAction<\n typeof SplitwiseDeleteGroupInput,\n typeof SplitwiseDeleteGroupOutput,\n typeof splitwise.credential\n> = action(\"SPLITWISE_DELETE_GROUP\", {\n slug: \"splitwise-delete-group\",\n name: \"Delete Group\",\n description: \"Tool to delete a group and all associated records by its ID. Use when you need to permanently remove a group and its expenses. Call after confirming the correct group ID.\",\n input: SplitwiseDeleteGroupInput,\n output: SplitwiseDeleteGroupOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,EAChD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,EAC/E,CAAC,CAAC,CAAC,SAAS,qCAAqC;AACjD,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;AAC3F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AAEtE,MAAa,uBAITC,eAAAA,OAAO,0BAA0B;CACnC,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/delete-group.d.ts
|
|
@@ -8,21 +10,7 @@ declare const SplitwiseDeleteGroupOutput: z.ZodObject<{
|
|
|
8
10
|
errors: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
9
11
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
10
12
|
}, z.core.$loose>;
|
|
11
|
-
declare const splitwiseDeleteGroup:
|
|
12
|
-
id: number;
|
|
13
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"splitwise", z.ZodObject<{
|
|
14
|
-
connectionId: z.ZodString;
|
|
15
|
-
entityId: z.ZodString;
|
|
16
|
-
instanceId: z.ZodString;
|
|
17
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
18
|
-
accessToken: z.ZodString;
|
|
19
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"splitwise", z.ZodObject<{
|
|
20
|
-
connectionId: z.ZodString;
|
|
21
|
-
entityId: z.ZodString;
|
|
22
|
-
instanceId: z.ZodString;
|
|
23
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
24
|
-
accessToken: z.ZodString;
|
|
25
|
-
}, z.core.$strip>>]>;
|
|
13
|
+
declare const splitwiseDeleteGroup: AppAction<typeof SplitwiseDeleteGroupInput, typeof SplitwiseDeleteGroupOutput, typeof splitwise.credential>;
|
|
26
14
|
//#endregion
|
|
27
15
|
export { splitwiseDeleteGroup };
|
|
28
16
|
//# sourceMappingURL=delete-group.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-group.d.cts","names":[],"sources":["../../src/actions/delete-group.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"delete-group.d.cts","names":[],"sources":["../../src/actions/delete-group.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;cAGzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;cAK1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,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/delete-group.d.ts
|
|
@@ -8,21 +10,7 @@ declare const SplitwiseDeleteGroupOutput: z.ZodObject<{
|
|
|
8
10
|
errors: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
9
11
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
10
12
|
}, z.core.$loose>;
|
|
11
|
-
declare const splitwiseDeleteGroup:
|
|
12
|
-
id: number;
|
|
13
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"splitwise", z.ZodObject<{
|
|
14
|
-
connectionId: z.ZodString;
|
|
15
|
-
entityId: z.ZodString;
|
|
16
|
-
instanceId: z.ZodString;
|
|
17
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
18
|
-
accessToken: z.ZodString;
|
|
19
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"splitwise", z.ZodObject<{
|
|
20
|
-
connectionId: z.ZodString;
|
|
21
|
-
entityId: z.ZodString;
|
|
22
|
-
instanceId: z.ZodString;
|
|
23
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
24
|
-
accessToken: z.ZodString;
|
|
25
|
-
}, z.core.$strip>>]>;
|
|
13
|
+
declare const splitwiseDeleteGroup: AppAction<typeof SplitwiseDeleteGroupInput, typeof SplitwiseDeleteGroupOutput, typeof splitwise.credential>;
|
|
26
14
|
//#endregion
|
|
27
15
|
export { splitwiseDeleteGroup };
|
|
28
16
|
//# sourceMappingURL=delete-group.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-group.d.mts","names":[],"sources":["../../src/actions/delete-group.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"delete-group.d.mts","names":[],"sources":["../../src/actions/delete-group.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;cAGzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;cAK1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,SACA,SAAA,CAAU,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-group.mjs","names":[],"sources":["../../src/actions/delete-group.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SplitwiseDeleteGroupInput = z.object({\n id: z.number().int().describe(\"The unique identifier of the group to delete.\"),\n}).describe(\"Request model for deleting a group.\");\nexport const SplitwiseDeleteGroupOutput = z.object({\n errors: z.array(z.string()).describe(\"List of error messages if the deletion failed.\").nullable().optional(),\n success: z.boolean().describe(\"Indicates whether the deletion was successful.\").nullable(),\n}).passthrough().describe(\"Response model for the DeleteGroup action.\");\n\nexport const splitwiseDeleteGroup = action(\"SPLITWISE_DELETE_GROUP\", {\n slug: \"splitwise-delete-group\",\n name: \"Delete Group\",\n description: \"Tool to delete a group and all associated records by its ID. Use when you need to permanently remove a group and its expenses. Call after confirming the correct group ID.\",\n input: SplitwiseDeleteGroupInput,\n output: SplitwiseDeleteGroupOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"delete-group.mjs","names":[],"sources":["../../src/actions/delete-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 SplitwiseDeleteGroupInput = z.object({\n id: z.number().int().describe(\"The unique identifier of the group to delete.\"),\n}).describe(\"Request model for deleting a group.\");\nexport const SplitwiseDeleteGroupOutput = z.object({\n errors: z.array(z.string()).describe(\"List of error messages if the deletion failed.\").nullable().optional(),\n success: z.boolean().describe(\"Indicates whether the deletion was successful.\").nullable(),\n}).passthrough().describe(\"Response model for the DeleteGroup action.\");\n\nexport const splitwiseDeleteGroup: AppAction<\n typeof SplitwiseDeleteGroupInput,\n typeof SplitwiseDeleteGroupOutput,\n typeof splitwise.credential\n> = action(\"SPLITWISE_DELETE_GROUP\", {\n slug: \"splitwise-delete-group\",\n name: \"Delete Group\",\n description: \"Tool to delete a group and all associated records by its ID. Use when you need to permanently remove a group and its expenses. Call after confirming the correct group ID.\",\n input: SplitwiseDeleteGroupInput,\n output: SplitwiseDeleteGroupOutput,\n});\n"],"mappings":";;;AAcA,MAAa,uBAIT,OAAO,0BAA0B;CACnC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhBuC,EAAE,OAAO,EAChD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,EAC/E,CAAC,CAAC,CAAC,SAAS,qCAcH;CACP,QAdwC,EAAE,OAAO;EACjD,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3G,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CAC3F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-categories.cjs","names":["z","action"],"sources":["../../src/actions/get-categories.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SplitwiseGetCategoriesInput = z.object({}).describe(\"Request model for fetching expense categories. No parameters required.\");\nconst SplitwiseGetCategories_SubcategorySchema = z.object({\n id: z.number().int().describe(\"Unique ID of the subcategory\").nullable(),\n name: z.string().describe(\"Name of the subcategory\").nullable(),\n}).passthrough().describe(\"Represents a subcategory under a main expense category.\");\nconst SplitwiseGetCategories_CategorySchema = z.object({\n id: z.number().int().describe(\"Unique ID of the category\").nullable(),\n name: z.string().describe(\"Name of the category\").nullable(),\n subcategories: z.array(SplitwiseGetCategories_SubcategorySchema).describe(\"List of subcategories belonging to this category\"),\n}).passthrough().describe(\"Represents a main expense category.\");\nexport const SplitwiseGetCategoriesOutput = z.object({\n categories: z.array(SplitwiseGetCategories_CategorySchema).describe(\"List of expense categories and their subcategories\"),\n}).passthrough().describe(\"Response model for the get_categories action.\");\n\nexport const splitwiseGetCategories = action(\"SPLITWISE_GET_CATEGORIES\", {\n slug: \"splitwise-get-categories\",\n name: \"Get Categories\",\n description: \"Tool to retrieve expense categories. Use when you need to list available categories before creating an expense.\",\n input: SplitwiseGetCategoriesInput,\n output: SplitwiseGetCategoriesOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-categories.cjs","names":["z","action"],"sources":["../../src/actions/get-categories.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 SplitwiseGetCategoriesInput = z.object({}).describe(\"Request model for fetching expense categories. No parameters required.\");\nconst SplitwiseGetCategories_SubcategorySchema = z.object({\n id: z.number().int().describe(\"Unique ID of the subcategory\").nullable(),\n name: z.string().describe(\"Name of the subcategory\").nullable(),\n}).passthrough().describe(\"Represents a subcategory under a main expense category.\");\nconst SplitwiseGetCategories_CategorySchema = z.object({\n id: z.number().int().describe(\"Unique ID of the category\").nullable(),\n name: z.string().describe(\"Name of the category\").nullable(),\n subcategories: z.array(SplitwiseGetCategories_SubcategorySchema).describe(\"List of subcategories belonging to this category\"),\n}).passthrough().describe(\"Represents a main expense category.\");\nexport const SplitwiseGetCategoriesOutput = z.object({\n categories: z.array(SplitwiseGetCategories_CategorySchema).describe(\"List of expense categories and their subcategories\"),\n}).passthrough().describe(\"Response model for the get_categories action.\");\n\nexport const splitwiseGetCategories: AppAction<\n typeof SplitwiseGetCategoriesInput,\n typeof SplitwiseGetCategoriesOutput,\n typeof splitwise.credential\n> = action(\"SPLITWISE_GET_CATEGORIES\", {\n slug: \"splitwise-get-categories\",\n name: \"Get Categories\",\n description: \"Tool to retrieve expense categories. Use when you need to list available categories before creating an expense.\",\n input: SplitwiseGetCategoriesInput,\n output: SplitwiseGetCategoriesOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,wEAAwE;AACzI,MAAM,2CAA2CA,IAAAA,EAAE,OAAO;CACxD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACvE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;AAChE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yDAAyD;AACnF,MAAM,wCAAwCA,IAAAA,EAAE,OAAO;CACrD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CACpE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CAC3D,eAAeA,IAAAA,EAAE,MAAM,wCAAwC,CAAC,CAAC,SAAS,kDAAkD;AAC9H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qCAAqC;AAC/D,MAAa,+BAA+BA,IAAAA,EAAE,OAAO,EACnD,YAAYA,IAAAA,EAAE,MAAM,qCAAqC,CAAC,CAAC,SAAS,oDAAoD,EAC1H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAA+C;AAEzE,MAAa,yBAITC,eAAAA,OAAO,4BAA4B;CACrC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { splitwise } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-categories.d.ts
|
|
@@ -12,19 +14,7 @@ declare const SplitwiseGetCategoriesOutput: z.ZodObject<{
|
|
|
12
14
|
}, z.core.$loose>>;
|
|
13
15
|
}, z.core.$loose>>;
|
|
14
16
|
}, z.core.$loose>;
|
|
15
|
-
declare const splitwiseGetCategories:
|
|
16
|
-
connectionId: z.ZodString;
|
|
17
|
-
entityId: z.ZodString;
|
|
18
|
-
instanceId: z.ZodString;
|
|
19
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
20
|
-
accessToken: z.ZodString;
|
|
21
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"splitwise", z.ZodObject<{
|
|
22
|
-
connectionId: z.ZodString;
|
|
23
|
-
entityId: z.ZodString;
|
|
24
|
-
instanceId: z.ZodString;
|
|
25
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
26
|
-
accessToken: z.ZodString;
|
|
27
|
-
}, z.core.$strip>>]>;
|
|
17
|
+
declare const splitwiseGetCategories: AppAction<typeof SplitwiseGetCategoriesInput, typeof SplitwiseGetCategoriesOutput, typeof splitwise.credential>;
|
|
28
18
|
//#endregion
|
|
29
19
|
export { splitwiseGetCategories };
|
|
30
20
|
//# sourceMappingURL=get-categories.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-categories.d.cts","names":[],"sources":["../../src/actions/get-categories.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-categories.d.cts","names":[],"sources":["../../src/actions/get-categories.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAU3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;cAI5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,SACA,SAAA,CAAU,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { splitwise } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-categories.d.ts
|
|
@@ -12,19 +14,7 @@ declare const SplitwiseGetCategoriesOutput: z.ZodObject<{
|
|
|
12
14
|
}, z.core.$loose>>;
|
|
13
15
|
}, z.core.$loose>>;
|
|
14
16
|
}, z.core.$loose>;
|
|
15
|
-
declare const splitwiseGetCategories:
|
|
16
|
-
connectionId: z.ZodString;
|
|
17
|
-
entityId: z.ZodString;
|
|
18
|
-
instanceId: z.ZodString;
|
|
19
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
20
|
-
accessToken: z.ZodString;
|
|
21
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"splitwise", z.ZodObject<{
|
|
22
|
-
connectionId: z.ZodString;
|
|
23
|
-
entityId: z.ZodString;
|
|
24
|
-
instanceId: z.ZodString;
|
|
25
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
26
|
-
accessToken: z.ZodString;
|
|
27
|
-
}, z.core.$strip>>]>;
|
|
17
|
+
declare const splitwiseGetCategories: AppAction<typeof SplitwiseGetCategoriesInput, typeof SplitwiseGetCategoriesOutput, typeof splitwise.credential>;
|
|
28
18
|
//#endregion
|
|
29
19
|
export { splitwiseGetCategories };
|
|
30
20
|
//# sourceMappingURL=get-categories.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-categories.d.mts","names":[],"sources":["../../src/actions/get-categories.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-categories.d.mts","names":[],"sources":["../../src/actions/get-categories.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAU3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;cAI5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,SACA,SAAA,CAAU,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-categories.mjs","names":[],"sources":["../../src/actions/get-categories.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SplitwiseGetCategoriesInput = z.object({}).describe(\"Request model for fetching expense categories. No parameters required.\");\nconst SplitwiseGetCategories_SubcategorySchema = z.object({\n id: z.number().int().describe(\"Unique ID of the subcategory\").nullable(),\n name: z.string().describe(\"Name of the subcategory\").nullable(),\n}).passthrough().describe(\"Represents a subcategory under a main expense category.\");\nconst SplitwiseGetCategories_CategorySchema = z.object({\n id: z.number().int().describe(\"Unique ID of the category\").nullable(),\n name: z.string().describe(\"Name of the category\").nullable(),\n subcategories: z.array(SplitwiseGetCategories_SubcategorySchema).describe(\"List of subcategories belonging to this category\"),\n}).passthrough().describe(\"Represents a main expense category.\");\nexport const SplitwiseGetCategoriesOutput = z.object({\n categories: z.array(SplitwiseGetCategories_CategorySchema).describe(\"List of expense categories and their subcategories\"),\n}).passthrough().describe(\"Response model for the get_categories action.\");\n\nexport const splitwiseGetCategories = action(\"SPLITWISE_GET_CATEGORIES\", {\n slug: \"splitwise-get-categories\",\n name: \"Get Categories\",\n description: \"Tool to retrieve expense categories. Use when you need to list available categories before creating an expense.\",\n input: SplitwiseGetCategoriesInput,\n output: SplitwiseGetCategoriesOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-categories.mjs","names":[],"sources":["../../src/actions/get-categories.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 SplitwiseGetCategoriesInput = z.object({}).describe(\"Request model for fetching expense categories. No parameters required.\");\nconst SplitwiseGetCategories_SubcategorySchema = z.object({\n id: z.number().int().describe(\"Unique ID of the subcategory\").nullable(),\n name: z.string().describe(\"Name of the subcategory\").nullable(),\n}).passthrough().describe(\"Represents a subcategory under a main expense category.\");\nconst SplitwiseGetCategories_CategorySchema = z.object({\n id: z.number().int().describe(\"Unique ID of the category\").nullable(),\n name: z.string().describe(\"Name of the category\").nullable(),\n subcategories: z.array(SplitwiseGetCategories_SubcategorySchema).describe(\"List of subcategories belonging to this category\"),\n}).passthrough().describe(\"Represents a main expense category.\");\nexport const SplitwiseGetCategoriesOutput = z.object({\n categories: z.array(SplitwiseGetCategories_CategorySchema).describe(\"List of expense categories and their subcategories\"),\n}).passthrough().describe(\"Response model for the get_categories action.\");\n\nexport const splitwiseGetCategories: AppAction<\n typeof SplitwiseGetCategoriesInput,\n typeof SplitwiseGetCategoriesOutput,\n typeof splitwise.credential\n> = action(\"SPLITWISE_GET_CATEGORIES\", {\n slug: \"splitwise-get-categories\",\n name: \"Get Categories\",\n description: \"Tool to retrieve expense categories. Use when you need to list available categories before creating an expense.\",\n input: SplitwiseGetCategoriesInput,\n output: SplitwiseGetCategoriesOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,8BAA8B,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,wEAAwE;AACzI,MAAM,2CAA2C,EAAE,OAAO;CACxD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACvE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;AAChE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yDAAyD;AACnF,MAAM,wCAAwC,EAAE,OAAO;CACrD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CACpE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CAC3D,eAAe,EAAE,MAAM,wCAAwC,CAAC,CAAC,SAAS,kDAAkD;AAC9H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qCAAqC;AAK/D,MAAa,yBAIT,OAAO,4BAA4B;CACrC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAb0C,EAAE,OAAO,EACnD,YAAY,EAAE,MAAM,qCAAqC,CAAC,CAAC,SAAS,oDAAoD,EAC1H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-comments.cjs","names":["z","action"],"sources":["../../src/actions/get-comments.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SplitwiseGetCommentsInput = z.object({\n expense_id: z.number().int().describe(\"The ID of the expense for which to retrieve comments.\"),\n}).describe(\"Request model for retrieving expense comments.\");\nconst SplitwiseGetComments_PictureSchema = z.object({\n large: z.string().describe(\"URL for large-sized profile picture.\").nullable().optional(),\n small: z.string().describe(\"URL for small-sized profile picture.\").nullable().optional(),\n medium: z.string().describe(\"URL for medium-sized profile picture.\").nullable().optional(),\n}).passthrough().describe(\"URLs for user profile pictures in different sizes.\");\nconst SplitwiseGetComments_UserObjectSchema = z.object({\n id: z.number().int().describe(\"User ID.\").nullable(),\n email: z.string().describe(\"User's email address.\").nullable().optional(),\n picture: SplitwiseGetComments_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(\"Whether user has custom picture.\").nullable().optional(),\n registration_status: z.string().describe(\"Registration status.\").nullable().optional(),\n}).passthrough().describe(\"Represents a user object in the comment.\");\nconst SplitwiseGetComments_CommentObjectSchema = z.object({\n id: z.number().int().describe(\"Unique comment identifier.\").nullable(),\n user: SplitwiseGetComments_UserObjectSchema.nullable(),\n content: z.string().describe(\"The text content of the comment.\").nullable(),\n created_at: z.string().describe(\"Timestamp when the comment was created.\").nullable(),\n deleted_at: z.string().describe(\"Timestamp when the comment was deleted (null if not deleted).\").nullable().optional(),\n relation_id: z.number().int().describe(\"ID of the subject of the comment (the expense ID).\").nullable(),\n comment_type: z.string().describe(\"Type of comment. Can be 'System' for system-generated comments or 'User' for user-authored messages.\").nullable(),\n relation_type: z.string().describe(\"Subject type of the comment. Typically 'ExpenseComment'.\").nullable(),\n}).passthrough().describe(\"Represents a comment object associated with an expense.\");\nexport const SplitwiseGetCommentsOutput = z.object({\n comments: z.array(SplitwiseGetComments_CommentObjectSchema).describe(\"Array of comment objects associated with the expense.\"),\n}).passthrough().describe(\"Response model for retrieving expense comments.\");\n\nexport const splitwiseGetComments = action(\"SPLITWISE_GET_COMMENTS\", {\n slug: \"splitwise-get-comments\",\n name: \"Get Comments\",\n description: \"Tool to retrieve all comments associated with a specific expense. Use when you need to view comments on an expense, including both system-generated updates and user-authored messages.\",\n input: SplitwiseGetCommentsInput,\n output: SplitwiseGetCommentsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-comments.cjs","names":["z","action"],"sources":["../../src/actions/get-comments.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 SplitwiseGetCommentsInput = z.object({\n expense_id: z.number().int().describe(\"The ID of the expense for which to retrieve comments.\"),\n}).describe(\"Request model for retrieving expense comments.\");\nconst SplitwiseGetComments_PictureSchema = z.object({\n large: z.string().describe(\"URL for large-sized profile picture.\").nullable().optional(),\n small: z.string().describe(\"URL for small-sized profile picture.\").nullable().optional(),\n medium: z.string().describe(\"URL for medium-sized profile picture.\").nullable().optional(),\n}).passthrough().describe(\"URLs for user profile pictures in different sizes.\");\nconst SplitwiseGetComments_UserObjectSchema = z.object({\n id: z.number().int().describe(\"User ID.\").nullable(),\n email: z.string().describe(\"User's email address.\").nullable().optional(),\n picture: SplitwiseGetComments_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(\"Whether user has custom picture.\").nullable().optional(),\n registration_status: z.string().describe(\"Registration status.\").nullable().optional(),\n}).passthrough().describe(\"Represents a user object in the comment.\");\nconst SplitwiseGetComments_CommentObjectSchema = z.object({\n id: z.number().int().describe(\"Unique comment identifier.\").nullable(),\n user: SplitwiseGetComments_UserObjectSchema.nullable(),\n content: z.string().describe(\"The text content of the comment.\").nullable(),\n created_at: z.string().describe(\"Timestamp when the comment was created.\").nullable(),\n deleted_at: z.string().describe(\"Timestamp when the comment was deleted (null if not deleted).\").nullable().optional(),\n relation_id: z.number().int().describe(\"ID of the subject of the comment (the expense ID).\").nullable(),\n comment_type: z.string().describe(\"Type of comment. Can be 'System' for system-generated comments or 'User' for user-authored messages.\").nullable(),\n relation_type: z.string().describe(\"Subject type of the comment. Typically 'ExpenseComment'.\").nullable(),\n}).passthrough().describe(\"Represents a comment object associated with an expense.\");\nexport const SplitwiseGetCommentsOutput = z.object({\n comments: z.array(SplitwiseGetComments_CommentObjectSchema).describe(\"Array of comment objects associated with the expense.\"),\n}).passthrough().describe(\"Response model for retrieving expense comments.\");\n\nexport const splitwiseGetComments: AppAction<\n typeof SplitwiseGetCommentsInput,\n typeof SplitwiseGetCommentsOutput,\n typeof splitwise.credential\n> = action(\"SPLITWISE_GET_COMMENTS\", {\n slug: \"splitwise-get-comments\",\n name: \"Get Comments\",\n description: \"Tool to retrieve all comments associated with a specific expense. Use when you need to view comments on an expense, including both system-generated updates and user-authored messages.\",\n input: SplitwiseGetCommentsInput,\n output: SplitwiseGetCommentsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,EAChD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uDAAuD,EAC/F,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAC5D,MAAM,qCAAqCA,IAAAA,EAAE,OAAO;CAClD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAAoD;AAC9E,MAAM,wCAAwCA,IAAAA,EAAE,OAAO;CACrD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,UAAU,CAAC,CAAC,SAAS;CACnD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,SAAS,mCAAmC,SAAS,CAAC,CAAC,SAAS;CAChE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,gBAAgBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AACpE,MAAM,2CAA2CA,IAAAA,EAAE,OAAO;CACxD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACrE,MAAM,sCAAsC,SAAS;CACrD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAC1E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACpF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrH,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CACtG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sGAAsG,CAAC,CAAC,SAAS;CACnJ,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;AAC1G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yDAAyD;AACnF,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,EACjD,UAAUA,IAAAA,EAAE,MAAM,wCAAwC,CAAC,CAAC,SAAS,uDAAuD,EAC9H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAAiD;AAE3E,MAAa,uBAITC,eAAAA,OAAO,0BAA0B;CACnC,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-comments.d.ts
|
|
@@ -28,21 +30,7 @@ declare const SplitwiseGetCommentsOutput: z.ZodObject<{
|
|
|
28
30
|
relation_type: z.ZodNullable<z.ZodString>;
|
|
29
31
|
}, z.core.$loose>>;
|
|
30
32
|
}, z.core.$loose>;
|
|
31
|
-
declare const splitwiseGetComments:
|
|
32
|
-
expense_id: number;
|
|
33
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"splitwise", z.ZodObject<{
|
|
34
|
-
connectionId: z.ZodString;
|
|
35
|
-
entityId: z.ZodString;
|
|
36
|
-
instanceId: z.ZodString;
|
|
37
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
38
|
-
accessToken: z.ZodString;
|
|
39
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"splitwise", z.ZodObject<{
|
|
40
|
-
connectionId: z.ZodString;
|
|
41
|
-
entityId: z.ZodString;
|
|
42
|
-
instanceId: z.ZodString;
|
|
43
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
44
|
-
accessToken: z.ZodString;
|
|
45
|
-
}, z.core.$strip>>]>;
|
|
33
|
+
declare const splitwiseGetComments: AppAction<typeof SplitwiseGetCommentsInput, typeof SplitwiseGetCommentsOutput, typeof splitwise.credential>;
|
|
46
34
|
//#endregion
|
|
47
35
|
export { splitwiseGetComments };
|
|
48
36
|
//# sourceMappingURL=get-comments.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-comments.d.cts","names":[],"sources":["../../src/actions/get-comments.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-comments.d.cts","names":[],"sources":["../../src/actions/get-comments.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;cA2BzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;cAI1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,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-comments.d.ts
|
|
@@ -28,21 +30,7 @@ declare const SplitwiseGetCommentsOutput: z.ZodObject<{
|
|
|
28
30
|
relation_type: z.ZodNullable<z.ZodString>;
|
|
29
31
|
}, z.core.$loose>>;
|
|
30
32
|
}, z.core.$loose>;
|
|
31
|
-
declare const splitwiseGetComments:
|
|
32
|
-
expense_id: number;
|
|
33
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"splitwise", z.ZodObject<{
|
|
34
|
-
connectionId: z.ZodString;
|
|
35
|
-
entityId: z.ZodString;
|
|
36
|
-
instanceId: z.ZodString;
|
|
37
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
38
|
-
accessToken: z.ZodString;
|
|
39
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"splitwise", z.ZodObject<{
|
|
40
|
-
connectionId: z.ZodString;
|
|
41
|
-
entityId: z.ZodString;
|
|
42
|
-
instanceId: z.ZodString;
|
|
43
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
44
|
-
accessToken: z.ZodString;
|
|
45
|
-
}, z.core.$strip>>]>;
|
|
33
|
+
declare const splitwiseGetComments: AppAction<typeof SplitwiseGetCommentsInput, typeof SplitwiseGetCommentsOutput, typeof splitwise.credential>;
|
|
46
34
|
//#endregion
|
|
47
35
|
export { splitwiseGetComments };
|
|
48
36
|
//# sourceMappingURL=get-comments.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-comments.d.mts","names":[],"sources":["../../src/actions/get-comments.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-comments.d.mts","names":[],"sources":["../../src/actions/get-comments.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;cA2BzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;cAI1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,SACA,SAAA,CAAU,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-comments.mjs","names":[],"sources":["../../src/actions/get-comments.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SplitwiseGetCommentsInput = z.object({\n expense_id: z.number().int().describe(\"The ID of the expense for which to retrieve comments.\"),\n}).describe(\"Request model for retrieving expense comments.\");\nconst SplitwiseGetComments_PictureSchema = z.object({\n large: z.string().describe(\"URL for large-sized profile picture.\").nullable().optional(),\n small: z.string().describe(\"URL for small-sized profile picture.\").nullable().optional(),\n medium: z.string().describe(\"URL for medium-sized profile picture.\").nullable().optional(),\n}).passthrough().describe(\"URLs for user profile pictures in different sizes.\");\nconst SplitwiseGetComments_UserObjectSchema = z.object({\n id: z.number().int().describe(\"User ID.\").nullable(),\n email: z.string().describe(\"User's email address.\").nullable().optional(),\n picture: SplitwiseGetComments_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(\"Whether user has custom picture.\").nullable().optional(),\n registration_status: z.string().describe(\"Registration status.\").nullable().optional(),\n}).passthrough().describe(\"Represents a user object in the comment.\");\nconst SplitwiseGetComments_CommentObjectSchema = z.object({\n id: z.number().int().describe(\"Unique comment identifier.\").nullable(),\n user: SplitwiseGetComments_UserObjectSchema.nullable(),\n content: z.string().describe(\"The text content of the comment.\").nullable(),\n created_at: z.string().describe(\"Timestamp when the comment was created.\").nullable(),\n deleted_at: z.string().describe(\"Timestamp when the comment was deleted (null if not deleted).\").nullable().optional(),\n relation_id: z.number().int().describe(\"ID of the subject of the comment (the expense ID).\").nullable(),\n comment_type: z.string().describe(\"Type of comment. Can be 'System' for system-generated comments or 'User' for user-authored messages.\").nullable(),\n relation_type: z.string().describe(\"Subject type of the comment. Typically 'ExpenseComment'.\").nullable(),\n}).passthrough().describe(\"Represents a comment object associated with an expense.\");\nexport const SplitwiseGetCommentsOutput = z.object({\n comments: z.array(SplitwiseGetComments_CommentObjectSchema).describe(\"Array of comment objects associated with the expense.\"),\n}).passthrough().describe(\"Response model for retrieving expense comments.\");\n\nexport const splitwiseGetComments = action(\"SPLITWISE_GET_COMMENTS\", {\n slug: \"splitwise-get-comments\",\n name: \"Get Comments\",\n description: \"Tool to retrieve all comments associated with a specific expense. Use when you need to view comments on an expense, including both system-generated updates and user-authored messages.\",\n input: SplitwiseGetCommentsInput,\n output: SplitwiseGetCommentsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-comments.mjs","names":[],"sources":["../../src/actions/get-comments.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 SplitwiseGetCommentsInput = z.object({\n expense_id: z.number().int().describe(\"The ID of the expense for which to retrieve comments.\"),\n}).describe(\"Request model for retrieving expense comments.\");\nconst SplitwiseGetComments_PictureSchema = z.object({\n large: z.string().describe(\"URL for large-sized profile picture.\").nullable().optional(),\n small: z.string().describe(\"URL for small-sized profile picture.\").nullable().optional(),\n medium: z.string().describe(\"URL for medium-sized profile picture.\").nullable().optional(),\n}).passthrough().describe(\"URLs for user profile pictures in different sizes.\");\nconst SplitwiseGetComments_UserObjectSchema = z.object({\n id: z.number().int().describe(\"User ID.\").nullable(),\n email: z.string().describe(\"User's email address.\").nullable().optional(),\n picture: SplitwiseGetComments_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(\"Whether user has custom picture.\").nullable().optional(),\n registration_status: z.string().describe(\"Registration status.\").nullable().optional(),\n}).passthrough().describe(\"Represents a user object in the comment.\");\nconst SplitwiseGetComments_CommentObjectSchema = z.object({\n id: z.number().int().describe(\"Unique comment identifier.\").nullable(),\n user: SplitwiseGetComments_UserObjectSchema.nullable(),\n content: z.string().describe(\"The text content of the comment.\").nullable(),\n created_at: z.string().describe(\"Timestamp when the comment was created.\").nullable(),\n deleted_at: z.string().describe(\"Timestamp when the comment was deleted (null if not deleted).\").nullable().optional(),\n relation_id: z.number().int().describe(\"ID of the subject of the comment (the expense ID).\").nullable(),\n comment_type: z.string().describe(\"Type of comment. Can be 'System' for system-generated comments or 'User' for user-authored messages.\").nullable(),\n relation_type: z.string().describe(\"Subject type of the comment. Typically 'ExpenseComment'.\").nullable(),\n}).passthrough().describe(\"Represents a comment object associated with an expense.\");\nexport const SplitwiseGetCommentsOutput = z.object({\n comments: z.array(SplitwiseGetComments_CommentObjectSchema).describe(\"Array of comment objects associated with the expense.\"),\n}).passthrough().describe(\"Response model for retrieving expense comments.\");\n\nexport const splitwiseGetComments: AppAction<\n typeof SplitwiseGetCommentsInput,\n typeof SplitwiseGetCommentsOutput,\n typeof splitwise.credential\n> = action(\"SPLITWISE_GET_COMMENTS\", {\n slug: \"splitwise-get-comments\",\n name: \"Get Comments\",\n description: \"Tool to retrieve all comments associated with a specific expense. Use when you need to view comments on an expense, including both system-generated updates and user-authored messages.\",\n input: SplitwiseGetCommentsInput,\n output: SplitwiseGetCommentsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,4BAA4B,EAAE,OAAO,EAChD,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uDAAuD,EAC/F,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAC5D,MAAM,qCAAqC,EAAE,OAAO;CAClD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAAoD;AAC9E,MAAM,wCAAwC,EAAE,OAAO;CACrD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,UAAU,CAAC,CAAC,SAAS;CACnD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,SAAS,mCAAmC,SAAS,CAAC,CAAC,SAAS;CAChE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,gBAAgB,EAAE,QAAQ,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,qBAAqB,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AACpE,MAAM,2CAA2C,EAAE,OAAO;CACxD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACrE,MAAM,sCAAsC,SAAS;CACrD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAC1E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACpF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrH,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CACtG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,sGAAsG,CAAC,CAAC,SAAS;CACnJ,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;AAC1G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yDAAyD;AAKnF,MAAa,uBAIT,OAAO,0BAA0B;CACnC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAbwC,EAAE,OAAO,EACjD,UAAU,EAAE,MAAM,wCAAwC,CAAC,CAAC,SAAS,uDAAuD,EAC9H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAWhB;AACV,CAAC"}
|