@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,3 +1,5 @@
|
|
|
1
|
+
import { splitwise } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/undelete-expense.d.ts
|
|
@@ -8,21 +10,7 @@ declare const SplitwiseUndeleteExpenseOutput: z.ZodObject<{
|
|
|
8
10
|
errors: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
9
11
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
10
12
|
}, z.core.$loose>;
|
|
11
|
-
declare const splitwiseUndeleteExpense:
|
|
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 splitwiseUndeleteExpense: AppAction<typeof SplitwiseUndeleteExpenseInput, typeof SplitwiseUndeleteExpenseOutput, typeof splitwise.credential>;
|
|
26
14
|
//#endregion
|
|
27
15
|
export { splitwiseUndeleteExpense };
|
|
28
16
|
//# sourceMappingURL=undelete-expense.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"undelete-expense.d.cts","names":[],"sources":["../../src/actions/undelete-expense.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"undelete-expense.d.cts","names":[],"sources":["../../src/actions/undelete-expense.ts"],"mappings":";;;;;cAMa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;cAG7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;cAK9B,wBAAA,EAA0B,SAAA,QAC9B,6BAAA,SACA,8BAAA,SACA,SAAA,CAAU,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { splitwise } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/undelete-expense.d.ts
|
|
@@ -8,21 +10,7 @@ declare const SplitwiseUndeleteExpenseOutput: z.ZodObject<{
|
|
|
8
10
|
errors: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
9
11
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
10
12
|
}, z.core.$loose>;
|
|
11
|
-
declare const splitwiseUndeleteExpense:
|
|
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 splitwiseUndeleteExpense: AppAction<typeof SplitwiseUndeleteExpenseInput, typeof SplitwiseUndeleteExpenseOutput, typeof splitwise.credential>;
|
|
26
14
|
//#endregion
|
|
27
15
|
export { splitwiseUndeleteExpense };
|
|
28
16
|
//# sourceMappingURL=undelete-expense.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"undelete-expense.d.mts","names":[],"sources":["../../src/actions/undelete-expense.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"undelete-expense.d.mts","names":[],"sources":["../../src/actions/undelete-expense.ts"],"mappings":";;;;;cAMa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;cAG7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;cAK9B,wBAAA,EAA0B,SAAA,QAC9B,6BAAA,SACA,8BAAA,SACA,SAAA,CAAU,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"undelete-expense.mjs","names":[],"sources":["../../src/actions/undelete-expense.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SplitwiseUndeleteExpenseInput = z.object({\n id: z.number().int().describe(\"The unique identifier of the expense to restore.\"),\n}).describe(\"Request model for restoring a deleted expense.\");\nexport const SplitwiseUndeleteExpenseOutput = z.object({\n errors: z.array(z.string()).describe(\"List of error messages if the restoration failed.\").nullable().optional(),\n success: z.boolean().describe(\"Indicates whether the expense was successfully restored.\").nullable(),\n}).passthrough().describe(\"Response model for the UndeleteExpense action.\");\n\nexport const splitwiseUndeleteExpense = action(\"SPLITWISE_UNDELETE_EXPENSE\", {\n slug: \"splitwise-undelete-expense\",\n name: \"Restore Deleted Expense\",\n description: \"Tool to restore a previously deleted expense and its associated records. Use when you need to recover an expense that was deleted. Call after confirming the correct expense ID. Not a guaranteed undo mechanism — treat deletion as high-impact and verify restoration completeness afterward.\",\n input: SplitwiseUndeleteExpenseInput,\n output: SplitwiseUndeleteExpenseOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"undelete-expense.mjs","names":[],"sources":["../../src/actions/undelete-expense.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { splitwise } from \"../app\";\n\nexport const SplitwiseUndeleteExpenseInput = z.object({\n id: z.number().int().describe(\"The unique identifier of the expense to restore.\"),\n}).describe(\"Request model for restoring a deleted expense.\");\nexport const SplitwiseUndeleteExpenseOutput = z.object({\n errors: z.array(z.string()).describe(\"List of error messages if the restoration failed.\").nullable().optional(),\n success: z.boolean().describe(\"Indicates whether the expense was successfully restored.\").nullable(),\n}).passthrough().describe(\"Response model for the UndeleteExpense action.\");\n\nexport const splitwiseUndeleteExpense: AppAction<\n typeof SplitwiseUndeleteExpenseInput,\n typeof SplitwiseUndeleteExpenseOutput,\n typeof splitwise.credential\n> = action(\"SPLITWISE_UNDELETE_EXPENSE\", {\n slug: \"splitwise-undelete-expense\",\n name: \"Restore Deleted Expense\",\n description: \"Tool to restore a previously deleted expense and its associated records. Use when you need to recover an expense that was deleted. Call after confirming the correct expense ID. Not a guaranteed undo mechanism — treat deletion as high-impact and verify restoration completeness afterward.\",\n input: SplitwiseUndeleteExpenseInput,\n output: SplitwiseUndeleteExpenseOutput,\n});\n"],"mappings":";;;AAcA,MAAa,2BAIT,OAAO,8BAA8B;CACvC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhB2C,EAAE,OAAO,EACpD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,EAClF,CAAC,CAAC,CAAC,SAAS,gDAcH;CACP,QAd4C,EAAE,OAAO;EACrD,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9G,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CACrG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"undelete-group.cjs","names":["z","action"],"sources":["../../src/actions/undelete-group.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SplitwiseUndeleteGroupInput = z.object({\n id: z.number().int().describe(\"The unique identifier of the group to restore.\"),\n}).describe(\"Request model for restoring a deleted group.\");\nexport const SplitwiseUndeleteGroupOutput = z.object({\n errors: z.array(z.string()).describe(\"List of error messages if the restoration failed.\").nullable().optional(),\n success: z.boolean().describe(\"Indicates whether the group was successfully restored.\").nullable(),\n}).passthrough().describe(\"Response model for the UndeleteGroup action.\");\n\nexport const splitwiseUndeleteGroup = action(\"SPLITWISE_UNDELETE_GROUP\", {\n slug: \"splitwise-undelete-group\",\n name: \"Restore Deleted Group\",\n description: \"Tool to restore a previously deleted group and all its associated records. Use when you need to recover a group that was deleted. Call after confirming the correct group ID.\",\n input: SplitwiseUndeleteGroupInput,\n output: SplitwiseUndeleteGroupOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"undelete-group.cjs","names":["z","action"],"sources":["../../src/actions/undelete-group.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { splitwise } from \"../app\";\n\nexport const SplitwiseUndeleteGroupInput = z.object({\n id: z.number().int().describe(\"The unique identifier of the group to restore.\"),\n}).describe(\"Request model for restoring a deleted group.\");\nexport const SplitwiseUndeleteGroupOutput = z.object({\n errors: z.array(z.string()).describe(\"List of error messages if the restoration failed.\").nullable().optional(),\n success: z.boolean().describe(\"Indicates whether the group was successfully restored.\").nullable(),\n}).passthrough().describe(\"Response model for the UndeleteGroup action.\");\n\nexport const splitwiseUndeleteGroup: AppAction<\n typeof SplitwiseUndeleteGroupInput,\n typeof SplitwiseUndeleteGroupOutput,\n typeof splitwise.credential\n> = action(\"SPLITWISE_UNDELETE_GROUP\", {\n slug: \"splitwise-undelete-group\",\n name: \"Restore Deleted Group\",\n description: \"Tool to restore a previously deleted group and all its associated records. Use when you need to recover a group that was deleted. Call after confirming the correct group ID.\",\n input: SplitwiseUndeleteGroupInput,\n output: SplitwiseUndeleteGroupOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,EAClD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,EAChF,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAC1D,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;AACnG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAA8C;AAExE,MAAa,yBAITC,eAAAA,OAAO,4BAA4B;CACrC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { splitwise } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/undelete-group.d.ts
|
|
@@ -8,21 +10,7 @@ declare const SplitwiseUndeleteGroupOutput: z.ZodObject<{
|
|
|
8
10
|
errors: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
9
11
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
10
12
|
}, z.core.$loose>;
|
|
11
|
-
declare const splitwiseUndeleteGroup:
|
|
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 splitwiseUndeleteGroup: AppAction<typeof SplitwiseUndeleteGroupInput, typeof SplitwiseUndeleteGroupOutput, typeof splitwise.credential>;
|
|
26
14
|
//#endregion
|
|
27
15
|
export { splitwiseUndeleteGroup };
|
|
28
16
|
//# sourceMappingURL=undelete-group.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"undelete-group.d.cts","names":[],"sources":["../../src/actions/undelete-group.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"undelete-group.d.cts","names":[],"sources":["../../src/actions/undelete-group.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;cAG3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;cAK5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,SACA,SAAA,CAAU,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { splitwise } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/undelete-group.d.ts
|
|
@@ -8,21 +10,7 @@ declare const SplitwiseUndeleteGroupOutput: z.ZodObject<{
|
|
|
8
10
|
errors: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
9
11
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
10
12
|
}, z.core.$loose>;
|
|
11
|
-
declare const splitwiseUndeleteGroup:
|
|
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 splitwiseUndeleteGroup: AppAction<typeof SplitwiseUndeleteGroupInput, typeof SplitwiseUndeleteGroupOutput, typeof splitwise.credential>;
|
|
26
14
|
//#endregion
|
|
27
15
|
export { splitwiseUndeleteGroup };
|
|
28
16
|
//# sourceMappingURL=undelete-group.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"undelete-group.d.mts","names":[],"sources":["../../src/actions/undelete-group.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"undelete-group.d.mts","names":[],"sources":["../../src/actions/undelete-group.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;cAG3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;cAK5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,SACA,SAAA,CAAU,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"undelete-group.mjs","names":[],"sources":["../../src/actions/undelete-group.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SplitwiseUndeleteGroupInput = z.object({\n id: z.number().int().describe(\"The unique identifier of the group to restore.\"),\n}).describe(\"Request model for restoring a deleted group.\");\nexport const SplitwiseUndeleteGroupOutput = z.object({\n errors: z.array(z.string()).describe(\"List of error messages if the restoration failed.\").nullable().optional(),\n success: z.boolean().describe(\"Indicates whether the group was successfully restored.\").nullable(),\n}).passthrough().describe(\"Response model for the UndeleteGroup action.\");\n\nexport const splitwiseUndeleteGroup = action(\"SPLITWISE_UNDELETE_GROUP\", {\n slug: \"splitwise-undelete-group\",\n name: \"Restore Deleted Group\",\n description: \"Tool to restore a previously deleted group and all its associated records. Use when you need to recover a group that was deleted. Call after confirming the correct group ID.\",\n input: SplitwiseUndeleteGroupInput,\n output: SplitwiseUndeleteGroupOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"undelete-group.mjs","names":[],"sources":["../../src/actions/undelete-group.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { splitwise } from \"../app\";\n\nexport const SplitwiseUndeleteGroupInput = z.object({\n id: z.number().int().describe(\"The unique identifier of the group to restore.\"),\n}).describe(\"Request model for restoring a deleted group.\");\nexport const SplitwiseUndeleteGroupOutput = z.object({\n errors: z.array(z.string()).describe(\"List of error messages if the restoration failed.\").nullable().optional(),\n success: z.boolean().describe(\"Indicates whether the group was successfully restored.\").nullable(),\n}).passthrough().describe(\"Response model for the UndeleteGroup action.\");\n\nexport const splitwiseUndeleteGroup: AppAction<\n typeof SplitwiseUndeleteGroupInput,\n typeof SplitwiseUndeleteGroupOutput,\n typeof splitwise.credential\n> = action(\"SPLITWISE_UNDELETE_GROUP\", {\n slug: \"splitwise-undelete-group\",\n name: \"Restore Deleted Group\",\n description: \"Tool to restore a previously deleted group and all its associated records. Use when you need to recover a group that was deleted. Call after confirming the correct group ID.\",\n input: SplitwiseUndeleteGroupInput,\n output: SplitwiseUndeleteGroupOutput,\n});\n"],"mappings":";;;AAcA,MAAa,yBAIT,OAAO,4BAA4B;CACrC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhByC,EAAE,OAAO,EAClD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,EAChF,CAAC,CAAC,CAAC,SAAS,8CAcH;CACP,QAd0C,EAAE,OAAO;EACnD,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9G,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CACnG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-expense.cjs","names":["z","action"],"sources":["../../src/actions/update-expense.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SplitwiseUpdateExpenseInput = z.object({\n id: z.number().int().describe(\"ID of the expense to update\"),\n cost: z.string().describe(\"Total cost as string decimal with max 2 dp\").optional(),\n date: z.string().describe(\"When the expense took place (ISO 8601) Convert natural-language or locale-specific dates to ISO 8601 before sending.\").optional(),\n users: z.array(z.object({\n email: z.string().describe(\"Email of the participant\").optional(),\n user_id: z.number().int().describe(\"ID of an existing Splitwise user\").optional(),\n last_name: z.string().describe(\"Last name of the participant\").optional(),\n first_name: z.string().describe(\"First name of the participant\").optional(),\n owed_share: z.string().describe(\"Amount this user owes (string decimal, 2 dp)\"),\n paid_share: z.string().describe(\"Amount this user paid (string decimal, 2 dp)\"),\n}).passthrough().describe(\"A single participant's share when splitting an expense.\\nMust include either user_id or the triplet (email, first_name, last_name).\")).describe(\"List of custom share allocations. WARNING: If provided, ALL expense shares will be overwritten Each user entry must include `paid_share` and `owed_share`; both fields must each independently sum exactly to `cost`. Omit this field entirely unless a full overwrite of all shares is intended.\").optional(),\n details: z.string().describe(\"Additional notes for the expense\").optional(),\n group_id: z.number().int().describe(\"Group ID to assign this expense to (0 for no group)\").optional(),\n category_id: z.number().int().describe(\"Category ID from get_categories\").optional(),\n description: z.string().describe(\"Short description of the expense\").optional(),\n currency_code: z.string().describe(\"3-letter currency code, e.g., USD\").optional(),\n repeat_interval: z.enum([\"never\", \"weekly\", \"fortnightly\", \"monthly\", \"yearly\"]).describe(\"Repeat interval for the expense\").optional(),\n}).describe(\"Request model for updating an existing expense.\\nOnly include fields you want to change. If any users parameter is provided,\\nALL expense shares will be overwritten.\");\nexport const SplitwiseUpdateExpenseOutput = z.object({\n errors: z.record(z.string(), z.unknown()).describe(\"Errors returned by the API; empty if none\"),\n expenses: z.array(z.record(z.string(), z.unknown())).describe(\"List containing the updated expense object\"),\n}).passthrough().describe(\"Response model for update_expense action.\");\n\nexport const splitwiseUpdateExpense = action(\"SPLITWISE_UPDATE_EXPENSE\", {\n slug: \"splitwise-update-expense\",\n name: \"Update Expense\",\n description: \"Tool to update an existing Splitwise expense. Use when you need to modify expense details such as cost, description, or participant shares. Only include fields you want to change. Note that a 200 OK response does not guarantee success - check that the errors object is empty.\",\n input: SplitwiseUpdateExpenseInput,\n output: SplitwiseUpdateExpenseOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-expense.cjs","names":["z","action"],"sources":["../../src/actions/update-expense.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { splitwise } from \"../app\";\n\nexport const SplitwiseUpdateExpenseInput = z.object({\n id: z.number().int().describe(\"ID of the expense to update\"),\n cost: z.string().describe(\"Total cost as string decimal with max 2 dp\").optional(),\n date: z.string().describe(\"When the expense took place (ISO 8601) Convert natural-language or locale-specific dates to ISO 8601 before sending.\").optional(),\n users: z.array(z.object({\n email: z.string().describe(\"Email of the participant\").optional(),\n user_id: z.number().int().describe(\"ID of an existing Splitwise user\").optional(),\n last_name: z.string().describe(\"Last name of the participant\").optional(),\n first_name: z.string().describe(\"First name of the participant\").optional(),\n owed_share: z.string().describe(\"Amount this user owes (string decimal, 2 dp)\"),\n paid_share: z.string().describe(\"Amount this user paid (string decimal, 2 dp)\"),\n}).passthrough().describe(\"A single participant's share when splitting an expense.\\nMust include either user_id or the triplet (email, first_name, last_name).\")).describe(\"List of custom share allocations. WARNING: If provided, ALL expense shares will be overwritten Each user entry must include `paid_share` and `owed_share`; both fields must each independently sum exactly to `cost`. Omit this field entirely unless a full overwrite of all shares is intended.\").optional(),\n details: z.string().describe(\"Additional notes for the expense\").optional(),\n group_id: z.number().int().describe(\"Group ID to assign this expense to (0 for no group)\").optional(),\n category_id: z.number().int().describe(\"Category ID from get_categories\").optional(),\n description: z.string().describe(\"Short description of the expense\").optional(),\n currency_code: z.string().describe(\"3-letter currency code, e.g., USD\").optional(),\n repeat_interval: z.enum([\"never\", \"weekly\", \"fortnightly\", \"monthly\", \"yearly\"]).describe(\"Repeat interval for the expense\").optional(),\n}).describe(\"Request model for updating an existing expense.\\nOnly include fields you want to change. If any users parameter is provided,\\nALL expense shares will be overwritten.\");\nexport const SplitwiseUpdateExpenseOutput = z.object({\n errors: z.record(z.string(), z.unknown()).describe(\"Errors returned by the API; empty if none\"),\n expenses: z.array(z.record(z.string(), z.unknown())).describe(\"List containing the updated expense object\"),\n}).passthrough().describe(\"Response model for update_expense action.\");\n\nexport const splitwiseUpdateExpense: AppAction<\n typeof SplitwiseUpdateExpenseInput,\n typeof SplitwiseUpdateExpenseOutput,\n typeof splitwise.credential\n> = action(\"SPLITWISE_UPDATE_EXPENSE\", {\n slug: \"splitwise-update-expense\",\n name: \"Update Expense\",\n description: \"Tool to update an existing Splitwise expense. Use when you need to modify expense details such as cost, description, or participant shares. Only include fields you want to change. Note that a 200 OK response does not guarantee success - check that the errors object is empty.\",\n input: SplitwiseUpdateExpenseInput,\n output: SplitwiseUpdateExpenseOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B;CAC3D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACjF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sHAAsH,CAAC,CAAC,SAAS;CAC3J,OAAOA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EACxB,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;EAChE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;EACh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AC,CAAC,SAAS,4CAA4C;AAC5G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAA2C;AAErE,MAAa,yBAITC,eAAAA,OAAO,4BAA4B;CACrC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { splitwise } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/update-expense.d.ts
|
|
@@ -30,38 +32,7 @@ declare const SplitwiseUpdateExpenseOutput: z.ZodObject<{
|
|
|
30
32
|
errors: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
31
33
|
expenses: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
32
34
|
}, z.core.$loose>;
|
|
33
|
-
declare const splitwiseUpdateExpense:
|
|
34
|
-
id: number;
|
|
35
|
-
cost?: string | undefined;
|
|
36
|
-
date?: string | undefined;
|
|
37
|
-
users?: {
|
|
38
|
-
[x: string]: unknown;
|
|
39
|
-
owed_share: string;
|
|
40
|
-
paid_share: string;
|
|
41
|
-
email?: string | undefined;
|
|
42
|
-
user_id?: number | undefined;
|
|
43
|
-
last_name?: string | undefined;
|
|
44
|
-
first_name?: string | undefined;
|
|
45
|
-
}[] | undefined;
|
|
46
|
-
details?: string | undefined;
|
|
47
|
-
group_id?: number | undefined;
|
|
48
|
-
category_id?: number | undefined;
|
|
49
|
-
description?: string | undefined;
|
|
50
|
-
currency_code?: string | undefined;
|
|
51
|
-
repeat_interval?: "never" | "weekly" | "fortnightly" | "monthly" | "yearly" | undefined;
|
|
52
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"splitwise", z.ZodObject<{
|
|
53
|
-
connectionId: z.ZodString;
|
|
54
|
-
entityId: z.ZodString;
|
|
55
|
-
instanceId: z.ZodString;
|
|
56
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
57
|
-
accessToken: z.ZodString;
|
|
58
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"splitwise", z.ZodObject<{
|
|
59
|
-
connectionId: z.ZodString;
|
|
60
|
-
entityId: z.ZodString;
|
|
61
|
-
instanceId: z.ZodString;
|
|
62
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
63
|
-
accessToken: z.ZodString;
|
|
64
|
-
}, z.core.$strip>>]>;
|
|
35
|
+
declare const splitwiseUpdateExpense: AppAction<typeof SplitwiseUpdateExpenseInput, typeof SplitwiseUpdateExpenseOutput, typeof splitwise.credential>;
|
|
65
36
|
//#endregion
|
|
66
37
|
export { splitwiseUpdateExpense };
|
|
67
38
|
//# sourceMappingURL=update-expense.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-expense.d.cts","names":[],"sources":["../../src/actions/update-expense.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-expense.d.cts","names":[],"sources":["../../src/actions/update-expense.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;cAmB3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;cAK5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,SACA,SAAA,CAAU,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { splitwise } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/update-expense.d.ts
|
|
@@ -30,38 +32,7 @@ declare const SplitwiseUpdateExpenseOutput: z.ZodObject<{
|
|
|
30
32
|
errors: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
31
33
|
expenses: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
32
34
|
}, z.core.$loose>;
|
|
33
|
-
declare const splitwiseUpdateExpense:
|
|
34
|
-
id: number;
|
|
35
|
-
cost?: string | undefined;
|
|
36
|
-
date?: string | undefined;
|
|
37
|
-
users?: {
|
|
38
|
-
[x: string]: unknown;
|
|
39
|
-
owed_share: string;
|
|
40
|
-
paid_share: string;
|
|
41
|
-
email?: string | undefined;
|
|
42
|
-
user_id?: number | undefined;
|
|
43
|
-
last_name?: string | undefined;
|
|
44
|
-
first_name?: string | undefined;
|
|
45
|
-
}[] | undefined;
|
|
46
|
-
details?: string | undefined;
|
|
47
|
-
group_id?: number | undefined;
|
|
48
|
-
category_id?: number | undefined;
|
|
49
|
-
description?: string | undefined;
|
|
50
|
-
currency_code?: string | undefined;
|
|
51
|
-
repeat_interval?: "never" | "weekly" | "fortnightly" | "monthly" | "yearly" | undefined;
|
|
52
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"splitwise", z.ZodObject<{
|
|
53
|
-
connectionId: z.ZodString;
|
|
54
|
-
entityId: z.ZodString;
|
|
55
|
-
instanceId: z.ZodString;
|
|
56
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
57
|
-
accessToken: z.ZodString;
|
|
58
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"splitwise", z.ZodObject<{
|
|
59
|
-
connectionId: z.ZodString;
|
|
60
|
-
entityId: z.ZodString;
|
|
61
|
-
instanceId: z.ZodString;
|
|
62
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
63
|
-
accessToken: z.ZodString;
|
|
64
|
-
}, z.core.$strip>>]>;
|
|
35
|
+
declare const splitwiseUpdateExpense: AppAction<typeof SplitwiseUpdateExpenseInput, typeof SplitwiseUpdateExpenseOutput, typeof splitwise.credential>;
|
|
65
36
|
//#endregion
|
|
66
37
|
export { splitwiseUpdateExpense };
|
|
67
38
|
//# sourceMappingURL=update-expense.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-expense.d.mts","names":[],"sources":["../../src/actions/update-expense.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-expense.d.mts","names":[],"sources":["../../src/actions/update-expense.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;cAmB3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;cAK5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,SACA,SAAA,CAAU,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-expense.mjs","names":[],"sources":["../../src/actions/update-expense.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SplitwiseUpdateExpenseInput = z.object({\n id: z.number().int().describe(\"ID of the expense to update\"),\n cost: z.string().describe(\"Total cost as string decimal with max 2 dp\").optional(),\n date: z.string().describe(\"When the expense took place (ISO 8601) Convert natural-language or locale-specific dates to ISO 8601 before sending.\").optional(),\n users: z.array(z.object({\n email: z.string().describe(\"Email of the participant\").optional(),\n user_id: z.number().int().describe(\"ID of an existing Splitwise user\").optional(),\n last_name: z.string().describe(\"Last name of the participant\").optional(),\n first_name: z.string().describe(\"First name of the participant\").optional(),\n owed_share: z.string().describe(\"Amount this user owes (string decimal, 2 dp)\"),\n paid_share: z.string().describe(\"Amount this user paid (string decimal, 2 dp)\"),\n}).passthrough().describe(\"A single participant's share when splitting an expense.\\nMust include either user_id or the triplet (email, first_name, last_name).\")).describe(\"List of custom share allocations. WARNING: If provided, ALL expense shares will be overwritten Each user entry must include `paid_share` and `owed_share`; both fields must each independently sum exactly to `cost`. Omit this field entirely unless a full overwrite of all shares is intended.\").optional(),\n details: z.string().describe(\"Additional notes for the expense\").optional(),\n group_id: z.number().int().describe(\"Group ID to assign this expense to (0 for no group)\").optional(),\n category_id: z.number().int().describe(\"Category ID from get_categories\").optional(),\n description: z.string().describe(\"Short description of the expense\").optional(),\n currency_code: z.string().describe(\"3-letter currency code, e.g., USD\").optional(),\n repeat_interval: z.enum([\"never\", \"weekly\", \"fortnightly\", \"monthly\", \"yearly\"]).describe(\"Repeat interval for the expense\").optional(),\n}).describe(\"Request model for updating an existing expense.\\nOnly include fields you want to change. If any users parameter is provided,\\nALL expense shares will be overwritten.\");\nexport const SplitwiseUpdateExpenseOutput = z.object({\n errors: z.record(z.string(), z.unknown()).describe(\"Errors returned by the API; empty if none\"),\n expenses: z.array(z.record(z.string(), z.unknown())).describe(\"List containing the updated expense object\"),\n}).passthrough().describe(\"Response model for update_expense action.\");\n\nexport const splitwiseUpdateExpense = action(\"SPLITWISE_UPDATE_EXPENSE\", {\n slug: \"splitwise-update-expense\",\n name: \"Update Expense\",\n description: \"Tool to update an existing Splitwise expense. Use when you need to modify expense details such as cost, description, or participant shares. Only include fields you want to change. Note that a 200 OK response does not guarantee success - check that the errors object is empty.\",\n input: SplitwiseUpdateExpenseInput,\n output: SplitwiseUpdateExpenseOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-expense.mjs","names":[],"sources":["../../src/actions/update-expense.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { splitwise } from \"../app\";\n\nexport const SplitwiseUpdateExpenseInput = z.object({\n id: z.number().int().describe(\"ID of the expense to update\"),\n cost: z.string().describe(\"Total cost as string decimal with max 2 dp\").optional(),\n date: z.string().describe(\"When the expense took place (ISO 8601) Convert natural-language or locale-specific dates to ISO 8601 before sending.\").optional(),\n users: z.array(z.object({\n email: z.string().describe(\"Email of the participant\").optional(),\n user_id: z.number().int().describe(\"ID of an existing Splitwise user\").optional(),\n last_name: z.string().describe(\"Last name of the participant\").optional(),\n first_name: z.string().describe(\"First name of the participant\").optional(),\n owed_share: z.string().describe(\"Amount this user owes (string decimal, 2 dp)\"),\n paid_share: z.string().describe(\"Amount this user paid (string decimal, 2 dp)\"),\n}).passthrough().describe(\"A single participant's share when splitting an expense.\\nMust include either user_id or the triplet (email, first_name, last_name).\")).describe(\"List of custom share allocations. WARNING: If provided, ALL expense shares will be overwritten Each user entry must include `paid_share` and `owed_share`; both fields must each independently sum exactly to `cost`. Omit this field entirely unless a full overwrite of all shares is intended.\").optional(),\n details: z.string().describe(\"Additional notes for the expense\").optional(),\n group_id: z.number().int().describe(\"Group ID to assign this expense to (0 for no group)\").optional(),\n category_id: z.number().int().describe(\"Category ID from get_categories\").optional(),\n description: z.string().describe(\"Short description of the expense\").optional(),\n currency_code: z.string().describe(\"3-letter currency code, e.g., USD\").optional(),\n repeat_interval: z.enum([\"never\", \"weekly\", \"fortnightly\", \"monthly\", \"yearly\"]).describe(\"Repeat interval for the expense\").optional(),\n}).describe(\"Request model for updating an existing expense.\\nOnly include fields you want to change. If any users parameter is provided,\\nALL expense shares will be overwritten.\");\nexport const SplitwiseUpdateExpenseOutput = z.object({\n errors: z.record(z.string(), z.unknown()).describe(\"Errors returned by the API; empty if none\"),\n expenses: z.array(z.record(z.string(), z.unknown())).describe(\"List containing the updated expense object\"),\n}).passthrough().describe(\"Response model for update_expense action.\");\n\nexport const splitwiseUpdateExpense: AppAction<\n typeof SplitwiseUpdateExpenseInput,\n typeof SplitwiseUpdateExpenseOutput,\n typeof splitwise.credential\n> = action(\"SPLITWISE_UPDATE_EXPENSE\", {\n slug: \"splitwise-update-expense\",\n name: \"Update Expense\",\n description: \"Tool to update an existing Splitwise expense. Use when you need to modify expense details such as cost, description, or participant shares. Only include fields you want to change. Note that a 200 OK response does not guarantee success - check that the errors object is empty.\",\n input: SplitwiseUpdateExpenseInput,\n output: SplitwiseUpdateExpenseOutput,\n});\n"],"mappings":";;;AA8BA,MAAa,yBAIT,OAAO,4BAA4B;CACrC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhCyC,EAAE,OAAO;EAClD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6B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AE,OAAO;EACnD,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,2CAA2C;EAC9F,UAAU,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,4CAA4C;CAC5G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-user.cjs","names":["z","action"],"sources":["../../src/actions/update-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SplitwiseUpdateUserInput = z.object({\n id: z.number().int().describe(\"The user ID to update. Must be the authenticated user's ID.\"),\n email: z.string().describe(\"User's email address\").optional(),\n locale: z.string().describe(\"Language/region preference (e.g., 'en', 'es', 'fr')\").optional(),\n password: z.string().describe(\"User's account password\").optional(),\n last_name: z.string().describe(\"User's family name\").optional(),\n first_name: z.string().describe(\"User's given name\").optional(),\n default_currency: z.string().describe(\"Preferred currency code (e.g., 'USD', 'EUR', 'GBP')\").optional(),\n}).describe(\"Request schema for updating user account details.\");\nconst SplitwiseUpdateUser_PictureSchema = z.object({\n large: z.string().describe(\"URL for the large-sized profile picture\").nullable().optional(),\n small: z.string().describe(\"URL for the small-sized profile picture\").nullable().optional(),\n medium: z.string().describe(\"URL for the medium-sized profile picture\").nullable().optional(),\n}).passthrough().describe(\"URLs for the user's profile picture in different sizes.\");\nconst SplitwiseUpdateUser_NotificationsSchema = z.object({\n bills: z.boolean().describe(\"Bill notifications\").nullable().optional(),\n payments: z.boolean().describe(\"Payment notifications\").nullable().optional(),\n announcements: z.boolean().describe(\"Announcement notifications\").nullable().optional(),\n expense_added: z.boolean().describe(\"Notifications when an expense is added\").nullable().optional(),\n added_to_group: z.boolean().describe(\"Notifications when added to a group\").nullable().optional(),\n added_as_friend: z.boolean().describe(\"Notifications when added as a friend\").nullable().optional(),\n expense_updated: z.boolean().describe(\"Notifications when an expense is updated\").nullable().optional(),\n monthly_summary: z.boolean().describe(\"Monthly summary notifications\").nullable().optional(),\n}).passthrough().describe(\"User's notification preferences.\");\nconst SplitwiseUpdateUser_UserSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the user\").nullable(),\n email: z.string().describe(\"User's email address\").nullable().optional(),\n locale: z.string().describe(\"User's locale setting\").nullable().optional(),\n picture: SplitwiseUpdateUser_PictureSchema.nullable().optional(),\n last_name: z.string().describe(\"User's last name\").nullable().optional(),\n first_name: z.string().describe(\"User's first name\").nullable().optional(),\n date_format: z.string().describe(\"User's preferred date format (e.g., 'MM/DD/YYYY')\").nullable().optional(),\n country_code: z.string().describe(\"User's country code (e.g., 'US', 'GB')\").nullable().optional(),\n notifications: SplitwiseUpdateUser_NotificationsSchema.nullable().optional(),\n custom_picture: z.boolean().describe(\"Whether user has uploaded a custom profile image\").nullable().optional(),\n default_currency: z.string().describe(\"User's default currency code\").nullable().optional(),\n default_group_id: z.number().int().describe(\"ID of user's default group (-1 if not set)\").nullable().optional(),\n force_refresh_at: z.string().describe(\"Timestamp indicating when to force refresh user data\").nullable().optional(),\n notifications_read: z.string().describe(\"Timestamp when notifications were last read\").nullable().optional(),\n notifications_count: z.number().int().describe(\"Number of unread notifications\").nullable().optional(),\n registration_status: z.string().describe(\"Account confirmation state (e.g., 'confirmed')\").nullable().optional(),\n}).passthrough().describe(\"Details of the updated user.\");\nexport const SplitwiseUpdateUserOutput = z.object({\n user: SplitwiseUpdateUser_UserSchema.nullable(),\n}).passthrough().describe(\"Response schema for updated user information.\");\n\nexport const splitwiseUpdateUser = action(\"SPLITWISE_UPDATE_USER\", {\n slug: \"splitwise-update-user\",\n name: \"Update User\",\n description: \"Tool to update user account details including name, email, password, and preferences. Use when you need to modify the current user's profile information.\",\n input: SplitwiseUpdateUserInput,\n output: SplitwiseUpdateUserOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-user.cjs","names":["z","action"],"sources":["../../src/actions/update-user.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { splitwise } from \"../app\";\n\nexport const SplitwiseUpdateUserInput = z.object({\n id: z.number().int().describe(\"The user ID to update. Must be the authenticated user's ID.\"),\n email: z.string().describe(\"User's email address\").optional(),\n locale: z.string().describe(\"Language/region preference (e.g., 'en', 'es', 'fr')\").optional(),\n password: z.string().describe(\"User's account password\").optional(),\n last_name: z.string().describe(\"User's family name\").optional(),\n first_name: z.string().describe(\"User's given name\").optional(),\n default_currency: z.string().describe(\"Preferred currency code (e.g., 'USD', 'EUR', 'GBP')\").optional(),\n}).describe(\"Request schema for updating user account details.\");\nconst SplitwiseUpdateUser_PictureSchema = z.object({\n large: z.string().describe(\"URL for the large-sized profile picture\").nullable().optional(),\n small: z.string().describe(\"URL for the small-sized profile picture\").nullable().optional(),\n medium: z.string().describe(\"URL for the medium-sized profile picture\").nullable().optional(),\n}).passthrough().describe(\"URLs for the user's profile picture in different sizes.\");\nconst SplitwiseUpdateUser_NotificationsSchema = z.object({\n bills: z.boolean().describe(\"Bill notifications\").nullable().optional(),\n payments: z.boolean().describe(\"Payment notifications\").nullable().optional(),\n announcements: z.boolean().describe(\"Announcement notifications\").nullable().optional(),\n expense_added: z.boolean().describe(\"Notifications when an expense is added\").nullable().optional(),\n added_to_group: z.boolean().describe(\"Notifications when added to a group\").nullable().optional(),\n added_as_friend: z.boolean().describe(\"Notifications when added as a friend\").nullable().optional(),\n expense_updated: z.boolean().describe(\"Notifications when an expense is updated\").nullable().optional(),\n monthly_summary: z.boolean().describe(\"Monthly summary notifications\").nullable().optional(),\n}).passthrough().describe(\"User's notification preferences.\");\nconst SplitwiseUpdateUser_UserSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the user\").nullable(),\n email: z.string().describe(\"User's email address\").nullable().optional(),\n locale: z.string().describe(\"User's locale setting\").nullable().optional(),\n picture: SplitwiseUpdateUser_PictureSchema.nullable().optional(),\n last_name: z.string().describe(\"User's last name\").nullable().optional(),\n first_name: z.string().describe(\"User's first name\").nullable().optional(),\n date_format: z.string().describe(\"User's preferred date format (e.g., 'MM/DD/YYYY')\").nullable().optional(),\n country_code: z.string().describe(\"User's country code (e.g., 'US', 'GB')\").nullable().optional(),\n notifications: SplitwiseUpdateUser_NotificationsSchema.nullable().optional(),\n custom_picture: z.boolean().describe(\"Whether user has uploaded a custom profile image\").nullable().optional(),\n default_currency: z.string().describe(\"User's default currency code\").nullable().optional(),\n default_group_id: z.number().int().describe(\"ID of user's default group (-1 if not set)\").nullable().optional(),\n force_refresh_at: z.string().describe(\"Timestamp indicating when to force refresh user data\").nullable().optional(),\n notifications_read: z.string().describe(\"Timestamp when notifications were last read\").nullable().optional(),\n notifications_count: z.number().int().describe(\"Number of unread notifications\").nullable().optional(),\n registration_status: z.string().describe(\"Account confirmation state (e.g., 'confirmed')\").nullable().optional(),\n}).passthrough().describe(\"Details of the updated user.\");\nexport const SplitwiseUpdateUserOutput = z.object({\n user: SplitwiseUpdateUser_UserSchema.nullable(),\n}).passthrough().describe(\"Response schema for updated user information.\");\n\nexport const splitwiseUpdateUser: AppAction<\n typeof SplitwiseUpdateUserInput,\n typeof SplitwiseUpdateUserOutput,\n typeof splitwise.credential\n> = action(\"SPLITWISE_UPDATE_USER\", {\n slug: \"splitwise-update-user\",\n name: \"Update User\",\n description: \"Tool to update user account details including name, email, password, and preferences. Use when you need to modify the current user's profile information.\",\n input: SplitwiseUpdateUserInput,\n output: SplitwiseUpdateUserOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6DAA6D;CAC3F,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CAC5D,QAAQA,IAAAA,EAAE,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SAAS;CAC3E,gBAAgBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClH,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8BAA8B;AACxD,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,EAChD,MAAM,+BAA+B,SAAS,EAChD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAA+C;AAEzE,MAAa,sBAITC,eAAAA,OAAO,yBAAyB;CAClC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { splitwise } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/update-user.d.ts
|
|
@@ -43,27 +45,7 @@ declare const SplitwiseUpdateUserOutput: z.ZodObject<{
|
|
|
43
45
|
registration_status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
44
46
|
}, z.core.$loose>>;
|
|
45
47
|
}, z.core.$loose>;
|
|
46
|
-
declare const splitwiseUpdateUser:
|
|
47
|
-
id: number;
|
|
48
|
-
email?: string | undefined;
|
|
49
|
-
locale?: string | undefined;
|
|
50
|
-
password?: string | undefined;
|
|
51
|
-
last_name?: string | undefined;
|
|
52
|
-
first_name?: string | undefined;
|
|
53
|
-
default_currency?: string | undefined;
|
|
54
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"splitwise", z.ZodObject<{
|
|
55
|
-
connectionId: z.ZodString;
|
|
56
|
-
entityId: z.ZodString;
|
|
57
|
-
instanceId: z.ZodString;
|
|
58
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
59
|
-
accessToken: z.ZodString;
|
|
60
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"splitwise", z.ZodObject<{
|
|
61
|
-
connectionId: z.ZodString;
|
|
62
|
-
entityId: z.ZodString;
|
|
63
|
-
instanceId: z.ZodString;
|
|
64
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
65
|
-
accessToken: z.ZodString;
|
|
66
|
-
}, z.core.$strip>>]>;
|
|
48
|
+
declare const splitwiseUpdateUser: AppAction<typeof SplitwiseUpdateUserInput, typeof SplitwiseUpdateUserOutput, typeof splitwise.credential>;
|
|
67
49
|
//#endregion
|
|
68
50
|
export { splitwiseUpdateUser };
|
|
69
51
|
//# sourceMappingURL=update-user.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-user.d.cts","names":[],"sources":["../../src/actions/update-user.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-user.d.cts","names":[],"sources":["../../src/actions/update-user.ts"],"mappings":";;;;;cAMa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;cA0CxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAIzB,mBAAA,EAAqB,SAAA,QACzB,wBAAA,SACA,yBAAA,SACA,SAAA,CAAU,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { splitwise } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/update-user.d.ts
|
|
@@ -43,27 +45,7 @@ declare const SplitwiseUpdateUserOutput: z.ZodObject<{
|
|
|
43
45
|
registration_status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
44
46
|
}, z.core.$loose>>;
|
|
45
47
|
}, z.core.$loose>;
|
|
46
|
-
declare const splitwiseUpdateUser:
|
|
47
|
-
id: number;
|
|
48
|
-
email?: string | undefined;
|
|
49
|
-
locale?: string | undefined;
|
|
50
|
-
password?: string | undefined;
|
|
51
|
-
last_name?: string | undefined;
|
|
52
|
-
first_name?: string | undefined;
|
|
53
|
-
default_currency?: string | undefined;
|
|
54
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"splitwise", z.ZodObject<{
|
|
55
|
-
connectionId: z.ZodString;
|
|
56
|
-
entityId: z.ZodString;
|
|
57
|
-
instanceId: z.ZodString;
|
|
58
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
59
|
-
accessToken: z.ZodString;
|
|
60
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"splitwise", z.ZodObject<{
|
|
61
|
-
connectionId: z.ZodString;
|
|
62
|
-
entityId: z.ZodString;
|
|
63
|
-
instanceId: z.ZodString;
|
|
64
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
65
|
-
accessToken: z.ZodString;
|
|
66
|
-
}, z.core.$strip>>]>;
|
|
48
|
+
declare const splitwiseUpdateUser: AppAction<typeof SplitwiseUpdateUserInput, typeof SplitwiseUpdateUserOutput, typeof splitwise.credential>;
|
|
67
49
|
//#endregion
|
|
68
50
|
export { splitwiseUpdateUser };
|
|
69
51
|
//# sourceMappingURL=update-user.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-user.d.mts","names":[],"sources":["../../src/actions/update-user.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-user.d.mts","names":[],"sources":["../../src/actions/update-user.ts"],"mappings":";;;;;cAMa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;cA0CxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAIzB,mBAAA,EAAqB,SAAA,QACzB,wBAAA,SACA,yBAAA,SACA,SAAA,CAAU,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-user.mjs","names":[],"sources":["../../src/actions/update-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SplitwiseUpdateUserInput = z.object({\n id: z.number().int().describe(\"The user ID to update. Must be the authenticated user's ID.\"),\n email: z.string().describe(\"User's email address\").optional(),\n locale: z.string().describe(\"Language/region preference (e.g., 'en', 'es', 'fr')\").optional(),\n password: z.string().describe(\"User's account password\").optional(),\n last_name: z.string().describe(\"User's family name\").optional(),\n first_name: z.string().describe(\"User's given name\").optional(),\n default_currency: z.string().describe(\"Preferred currency code (e.g., 'USD', 'EUR', 'GBP')\").optional(),\n}).describe(\"Request schema for updating user account details.\");\nconst SplitwiseUpdateUser_PictureSchema = z.object({\n large: z.string().describe(\"URL for the large-sized profile picture\").nullable().optional(),\n small: z.string().describe(\"URL for the small-sized profile picture\").nullable().optional(),\n medium: z.string().describe(\"URL for the medium-sized profile picture\").nullable().optional(),\n}).passthrough().describe(\"URLs for the user's profile picture in different sizes.\");\nconst SplitwiseUpdateUser_NotificationsSchema = z.object({\n bills: z.boolean().describe(\"Bill notifications\").nullable().optional(),\n payments: z.boolean().describe(\"Payment notifications\").nullable().optional(),\n announcements: z.boolean().describe(\"Announcement notifications\").nullable().optional(),\n expense_added: z.boolean().describe(\"Notifications when an expense is added\").nullable().optional(),\n added_to_group: z.boolean().describe(\"Notifications when added to a group\").nullable().optional(),\n added_as_friend: z.boolean().describe(\"Notifications when added as a friend\").nullable().optional(),\n expense_updated: z.boolean().describe(\"Notifications when an expense is updated\").nullable().optional(),\n monthly_summary: z.boolean().describe(\"Monthly summary notifications\").nullable().optional(),\n}).passthrough().describe(\"User's notification preferences.\");\nconst SplitwiseUpdateUser_UserSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the user\").nullable(),\n email: z.string().describe(\"User's email address\").nullable().optional(),\n locale: z.string().describe(\"User's locale setting\").nullable().optional(),\n picture: SplitwiseUpdateUser_PictureSchema.nullable().optional(),\n last_name: z.string().describe(\"User's last name\").nullable().optional(),\n first_name: z.string().describe(\"User's first name\").nullable().optional(),\n date_format: z.string().describe(\"User's preferred date format (e.g., 'MM/DD/YYYY')\").nullable().optional(),\n country_code: z.string().describe(\"User's country code (e.g., 'US', 'GB')\").nullable().optional(),\n notifications: SplitwiseUpdateUser_NotificationsSchema.nullable().optional(),\n custom_picture: z.boolean().describe(\"Whether user has uploaded a custom profile image\").nullable().optional(),\n default_currency: z.string().describe(\"User's default currency code\").nullable().optional(),\n default_group_id: z.number().int().describe(\"ID of user's default group (-1 if not set)\").nullable().optional(),\n force_refresh_at: z.string().describe(\"Timestamp indicating when to force refresh user data\").nullable().optional(),\n notifications_read: z.string().describe(\"Timestamp when notifications were last read\").nullable().optional(),\n notifications_count: z.number().int().describe(\"Number of unread notifications\").nullable().optional(),\n registration_status: z.string().describe(\"Account confirmation state (e.g., 'confirmed')\").nullable().optional(),\n}).passthrough().describe(\"Details of the updated user.\");\nexport const SplitwiseUpdateUserOutput = z.object({\n user: SplitwiseUpdateUser_UserSchema.nullable(),\n}).passthrough().describe(\"Response schema for updated user information.\");\n\nexport const splitwiseUpdateUser = action(\"SPLITWISE_UPDATE_USER\", {\n slug: \"splitwise-update-user\",\n name: \"Update User\",\n description: \"Tool to update user account details including name, email, password, and preferences. Use when you need to modify the current user's profile information.\",\n input: SplitwiseUpdateUserInput,\n output: SplitwiseUpdateUserOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-user.mjs","names":[],"sources":["../../src/actions/update-user.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { splitwise } from \"../app\";\n\nexport const SplitwiseUpdateUserInput = z.object({\n id: z.number().int().describe(\"The user ID to update. Must be the authenticated user's ID.\"),\n email: z.string().describe(\"User's email address\").optional(),\n locale: z.string().describe(\"Language/region preference (e.g., 'en', 'es', 'fr')\").optional(),\n password: z.string().describe(\"User's account password\").optional(),\n last_name: z.string().describe(\"User's family name\").optional(),\n first_name: z.string().describe(\"User's given name\").optional(),\n default_currency: z.string().describe(\"Preferred currency code (e.g., 'USD', 'EUR', 'GBP')\").optional(),\n}).describe(\"Request schema for updating user account details.\");\nconst SplitwiseUpdateUser_PictureSchema = z.object({\n large: z.string().describe(\"URL for the large-sized profile picture\").nullable().optional(),\n small: z.string().describe(\"URL for the small-sized profile picture\").nullable().optional(),\n medium: z.string().describe(\"URL for the medium-sized profile picture\").nullable().optional(),\n}).passthrough().describe(\"URLs for the user's profile picture in different sizes.\");\nconst SplitwiseUpdateUser_NotificationsSchema = z.object({\n bills: z.boolean().describe(\"Bill notifications\").nullable().optional(),\n payments: z.boolean().describe(\"Payment notifications\").nullable().optional(),\n announcements: z.boolean().describe(\"Announcement notifications\").nullable().optional(),\n expense_added: z.boolean().describe(\"Notifications when an expense is added\").nullable().optional(),\n added_to_group: z.boolean().describe(\"Notifications when added to a group\").nullable().optional(),\n added_as_friend: z.boolean().describe(\"Notifications when added as a friend\").nullable().optional(),\n expense_updated: z.boolean().describe(\"Notifications when an expense is updated\").nullable().optional(),\n monthly_summary: z.boolean().describe(\"Monthly summary notifications\").nullable().optional(),\n}).passthrough().describe(\"User's notification preferences.\");\nconst SplitwiseUpdateUser_UserSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the user\").nullable(),\n email: z.string().describe(\"User's email address\").nullable().optional(),\n locale: z.string().describe(\"User's locale setting\").nullable().optional(),\n picture: SplitwiseUpdateUser_PictureSchema.nullable().optional(),\n last_name: z.string().describe(\"User's last name\").nullable().optional(),\n first_name: z.string().describe(\"User's first name\").nullable().optional(),\n date_format: z.string().describe(\"User's preferred date format (e.g., 'MM/DD/YYYY')\").nullable().optional(),\n country_code: z.string().describe(\"User's country code (e.g., 'US', 'GB')\").nullable().optional(),\n notifications: SplitwiseUpdateUser_NotificationsSchema.nullable().optional(),\n custom_picture: z.boolean().describe(\"Whether user has uploaded a custom profile image\").nullable().optional(),\n default_currency: z.string().describe(\"User's default currency code\").nullable().optional(),\n default_group_id: z.number().int().describe(\"ID of user's default group (-1 if not set)\").nullable().optional(),\n force_refresh_at: z.string().describe(\"Timestamp indicating when to force refresh user data\").nullable().optional(),\n notifications_read: z.string().describe(\"Timestamp when notifications were last read\").nullable().optional(),\n notifications_count: z.number().int().describe(\"Number of unread notifications\").nullable().optional(),\n registration_status: z.string().describe(\"Account confirmation state (e.g., 'confirmed')\").nullable().optional(),\n}).passthrough().describe(\"Details of the updated user.\");\nexport const SplitwiseUpdateUserOutput = z.object({\n user: SplitwiseUpdateUser_UserSchema.nullable(),\n}).passthrough().describe(\"Response schema for updated user information.\");\n\nexport const splitwiseUpdateUser: AppAction<\n typeof SplitwiseUpdateUserInput,\n typeof SplitwiseUpdateUserOutput,\n typeof splitwise.credential\n> = action(\"SPLITWISE_UPDATE_USER\", {\n slug: \"splitwise-update-user\",\n name: \"Update User\",\n description: \"Tool to update user account details including name, email, password, and preferences. Use when you need to modify the current user's profile information.\",\n input: SplitwiseUpdateUserInput,\n output: SplitwiseUpdateUserOutput,\n});\n"],"mappings":";;;;AAMA,M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AAE,QAAQ,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,kBAAkB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClH,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,qBAAqB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,qBAAqB,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8BAA8B;AAKxD,MAAa,sBAIT,OAAO,yBAAyB;CAClC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAbuC,EAAE,OAAO,EAChD,MAAM,+BAA+B,SAAS,EAChD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAWhB;AACV,CAAC"}
|
package/dist/app.cjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
let _keystrokehq_keystroke_app = require("@keystrokehq/keystroke/app");
|
|
2
|
-
let zod = require("zod");
|
|
3
2
|
//#region src/app.ts
|
|
3
|
+
const credential = { accessToken: require("zod").z.string() };
|
|
4
4
|
const splitwise = (0, _keystrokehq_keystroke_app.defineApp)({
|
|
5
5
|
slug: "splitwise",
|
|
6
6
|
auth: "keystroke",
|
|
7
|
-
credential
|
|
7
|
+
credential
|
|
8
8
|
});
|
|
9
9
|
//#endregion
|
|
10
10
|
exports.splitwise = splitwise;
|
package/dist/app.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app.cjs","names":["z"],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nexport const splitwise = defineApp({\n slug: \"splitwise\",\n auth: \"keystroke\",\n credential
|
|
1
|
+
{"version":3,"file":"app.cjs","names":["z"],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp, type KeystrokeApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nconst credential = {\n accessToken: z.string(),\n};\n\nexport const splitwise: KeystrokeApp<\"splitwise\", typeof credential> = defineApp({\n slug: \"splitwise\",\n auth: \"keystroke\",\n credential,\n});\n"],"mappings":";;AAGA,MAAM,aAAa,EACjB,0BAAaA,CAAAA,CAAAA,EAAE,OAAO,EACxB;AAEA,MAAa,aAAA,GAAA,2BAAA,UAAA,CAAoE;CAC/E,MAAM;CACN,MAAM;CACN;AACF,CAAC"}
|
package/dist/app.d.cts
CHANGED
|
@@ -1,13 +1,11 @@
|
|
|
1
|
+
import { KeystrokeApp } from "@keystrokehq/keystroke/app";
|
|
1
2
|
import { z } from "zod";
|
|
2
3
|
|
|
3
4
|
//#region src/app.d.ts
|
|
4
|
-
declare const
|
|
5
|
-
connectionId: z.ZodString;
|
|
6
|
-
entityId: z.ZodString;
|
|
7
|
-
instanceId: z.ZodString;
|
|
8
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
5
|
+
declare const credential: {
|
|
9
6
|
accessToken: z.ZodString;
|
|
10
|
-
}
|
|
7
|
+
};
|
|
8
|
+
declare const splitwise: KeystrokeApp<"splitwise", typeof credential>;
|
|
11
9
|
//#endregion
|
|
12
10
|
export { splitwise };
|
|
13
11
|
//# sourceMappingURL=app.d.cts.map
|
package/dist/app.d.cts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";;;;cAGM,UAAA;eAEL,CAAA,CAAA,SAAA;AAAA;AAAA,cAEY,SAAA,EAAW,YAAY,qBAAqB,UAAA"}
|
package/dist/app.d.mts
CHANGED
|
@@ -1,13 +1,11 @@
|
|
|
1
|
+
import { KeystrokeApp } from "@keystrokehq/keystroke/app";
|
|
1
2
|
import { z } from "zod";
|
|
2
3
|
|
|
3
4
|
//#region src/app.d.ts
|
|
4
|
-
declare const
|
|
5
|
-
connectionId: z.ZodString;
|
|
6
|
-
entityId: z.ZodString;
|
|
7
|
-
instanceId: z.ZodString;
|
|
8
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
5
|
+
declare const credential: {
|
|
9
6
|
accessToken: z.ZodString;
|
|
10
|
-
}
|
|
7
|
+
};
|
|
8
|
+
declare const splitwise: KeystrokeApp<"splitwise", typeof credential>;
|
|
11
9
|
//#endregion
|
|
12
10
|
export { splitwise };
|
|
13
11
|
//# sourceMappingURL=app.d.mts.map
|
package/dist/app.d.mts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";;;;cAGM,UAAA;eAEL,CAAA,CAAA,SAAA;AAAA;AAAA,cAEY,SAAA,EAAW,YAAY,qBAAqB,UAAA"}
|