@keystrokehq/splitwise 0.1.0 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/add-friend.cjs +10 -10
- package/dist/actions/add-friend.cjs.map +1 -1
- package/dist/actions/add-friend.d.cts +38 -3
- package/dist/actions/add-friend.d.cts.map +1 -1
- package/dist/actions/add-friend.d.mts +38 -3
- package/dist/actions/add-friend.d.mts.map +1 -1
- package/dist/actions/add-friend.mjs +10 -10
- package/dist/actions/add-friend.mjs.map +1 -1
- package/dist/actions/add-user-to-group.cjs +6 -6
- package/dist/actions/add-user-to-group.cjs.map +1 -1
- package/dist/actions/add-user-to-group.d.cts +26 -3
- package/dist/actions/add-user-to-group.d.cts.map +1 -1
- package/dist/actions/add-user-to-group.d.mts +26 -3
- package/dist/actions/add-user-to-group.d.mts.map +1 -1
- package/dist/actions/add-user-to-group.mjs +6 -6
- package/dist/actions/add-user-to-group.mjs.map +1 -1
- package/dist/actions/create-comment.cjs +10 -10
- package/dist/actions/create-comment.cjs.map +1 -1
- package/dist/actions/create-comment.d.cts +30 -3
- package/dist/actions/create-comment.d.cts.map +1 -1
- package/dist/actions/create-comment.d.mts +30 -3
- package/dist/actions/create-comment.d.mts.map +1 -1
- package/dist/actions/create-comment.mjs +10 -10
- package/dist/actions/create-comment.mjs.map +1 -1
- package/dist/actions/create-expense.cjs +35 -35
- package/dist/actions/create-expense.cjs.map +1 -1
- package/dist/actions/create-expense.d.cts +128 -3
- package/dist/actions/create-expense.d.cts.map +1 -1
- package/dist/actions/create-expense.d.mts +128 -3
- package/dist/actions/create-expense.d.mts.map +1 -1
- package/dist/actions/create-expense.mjs +35 -35
- package/dist/actions/create-expense.mjs.map +1 -1
- package/dist/actions/create-friends.cjs +10 -10
- package/dist/actions/create-friends.cjs.map +1 -1
- package/dist/actions/create-friends.d.cts +43 -3
- package/dist/actions/create-friends.d.cts.map +1 -1
- package/dist/actions/create-friends.d.mts +43 -3
- package/dist/actions/create-friends.d.mts.map +1 -1
- package/dist/actions/create-friends.mjs +10 -10
- package/dist/actions/create-friends.mjs.map +1 -1
- package/dist/actions/create-group.cjs +8 -8
- package/dist/actions/create-group.cjs.map +1 -1
- package/dist/actions/create-group.d.cts +76 -3
- package/dist/actions/create-group.d.cts.map +1 -1
- package/dist/actions/create-group.d.mts +76 -3
- package/dist/actions/create-group.d.mts.map +1 -1
- package/dist/actions/create-group.mjs +8 -8
- package/dist/actions/create-group.mjs.map +1 -1
- package/dist/actions/delete-comment.cjs +11 -11
- package/dist/actions/delete-comment.cjs.map +1 -1
- package/dist/actions/delete-comment.d.cts +30 -3
- package/dist/actions/delete-comment.d.cts.map +1 -1
- package/dist/actions/delete-comment.d.mts +30 -3
- package/dist/actions/delete-comment.d.mts.map +1 -1
- package/dist/actions/delete-comment.mjs +11 -11
- package/dist/actions/delete-comment.mjs.map +1 -1
- package/dist/actions/delete-expense.cjs +2 -2
- package/dist/actions/delete-expense.cjs.map +1 -1
- package/dist/actions/delete-expense.d.cts +10 -3
- package/dist/actions/delete-expense.d.cts.map +1 -1
- package/dist/actions/delete-expense.d.mts +10 -3
- package/dist/actions/delete-expense.d.mts.map +1 -1
- package/dist/actions/delete-expense.mjs +2 -2
- package/dist/actions/delete-expense.mjs.map +1 -1
- package/dist/actions/delete-friend.cjs +2 -2
- package/dist/actions/delete-friend.cjs.map +1 -1
- package/dist/actions/delete-friend.d.cts +10 -3
- package/dist/actions/delete-friend.d.cts.map +1 -1
- package/dist/actions/delete-friend.d.mts +10 -3
- package/dist/actions/delete-friend.d.mts.map +1 -1
- package/dist/actions/delete-friend.mjs +2 -2
- package/dist/actions/delete-friend.mjs.map +1 -1
- package/dist/actions/delete-group.cjs +2 -2
- package/dist/actions/delete-group.cjs.map +1 -1
- package/dist/actions/delete-group.d.cts +10 -3
- package/dist/actions/delete-group.d.cts.map +1 -1
- package/dist/actions/delete-group.d.mts +10 -3
- package/dist/actions/delete-group.d.mts.map +1 -1
- package/dist/actions/delete-group.mjs +2 -2
- package/dist/actions/delete-group.mjs.map +1 -1
- package/dist/actions/get-categories.cjs +7 -7
- package/dist/actions/get-categories.cjs.map +1 -1
- package/dist/actions/get-categories.d.cts +12 -3
- package/dist/actions/get-categories.d.cts.map +1 -1
- package/dist/actions/get-categories.d.mts +12 -3
- package/dist/actions/get-categories.d.mts.map +1 -1
- package/dist/actions/get-categories.mjs +7 -7
- package/dist/actions/get-categories.mjs.map +1 -1
- package/dist/actions/get-comments.cjs +11 -11
- package/dist/actions/get-comments.cjs.map +1 -1
- package/dist/actions/get-comments.d.cts +30 -3
- package/dist/actions/get-comments.d.cts.map +1 -1
- package/dist/actions/get-comments.d.mts +30 -3
- package/dist/actions/get-comments.d.mts.map +1 -1
- package/dist/actions/get-comments.mjs +11 -11
- package/dist/actions/get-comments.mjs.map +1 -1
- package/dist/actions/get-currencies.cjs +4 -4
- package/dist/actions/get-currencies.cjs.map +1 -1
- package/dist/actions/get-currencies.d.cts +8 -3
- package/dist/actions/get-currencies.d.cts.map +1 -1
- package/dist/actions/get-currencies.d.mts +8 -3
- package/dist/actions/get-currencies.d.mts.map +1 -1
- package/dist/actions/get-currencies.mjs +4 -4
- package/dist/actions/get-currencies.mjs.map +1 -1
- package/dist/actions/get-current-user.cjs +24 -24
- package/dist/actions/get-current-user.cjs.map +1 -1
- package/dist/actions/get-current-user.d.cts +35 -3
- package/dist/actions/get-current-user.d.cts.map +1 -1
- package/dist/actions/get-current-user.d.mts +35 -3
- package/dist/actions/get-current-user.d.mts.map +1 -1
- package/dist/actions/get-current-user.mjs +24 -24
- package/dist/actions/get-current-user.mjs.map +1 -1
- package/dist/actions/get-expense.cjs +28 -28
- package/dist/actions/get-expense.cjs.map +1 -1
- package/dist/actions/get-expense.d.cts +124 -3
- package/dist/actions/get-expense.d.cts.map +1 -1
- package/dist/actions/get-expense.d.mts +124 -3
- package/dist/actions/get-expense.d.mts.map +1 -1
- package/dist/actions/get-expense.mjs +28 -28
- package/dist/actions/get-expense.mjs.map +1 -1
- package/dist/actions/get-expenses.cjs +28 -28
- package/dist/actions/get-expenses.cjs.map +1 -1
- package/dist/actions/get-expenses.d.cts +140 -3
- package/dist/actions/get-expenses.d.cts.map +1 -1
- package/dist/actions/get-expenses.d.mts +140 -3
- package/dist/actions/get-expenses.d.mts.map +1 -1
- package/dist/actions/get-expenses.mjs +28 -28
- package/dist/actions/get-expenses.mjs.map +1 -1
- package/dist/actions/get-friend.cjs +12 -12
- package/dist/actions/get-friend.cjs.map +1 -1
- package/dist/actions/get-friend.d.cts +33 -3
- package/dist/actions/get-friend.d.cts.map +1 -1
- package/dist/actions/get-friend.d.mts +33 -3
- package/dist/actions/get-friend.d.mts.map +1 -1
- package/dist/actions/get-friend.mjs +12 -12
- package/dist/actions/get-friend.mjs.map +1 -1
- package/dist/actions/get-friends.cjs +12 -12
- package/dist/actions/get-friends.cjs.map +1 -1
- package/dist/actions/get-friends.d.cts +29 -3
- package/dist/actions/get-friends.d.cts.map +1 -1
- package/dist/actions/get-friends.d.mts +29 -3
- package/dist/actions/get-friends.d.mts.map +1 -1
- package/dist/actions/get-friends.mjs +12 -12
- package/dist/actions/get-friends.mjs.map +1 -1
- package/dist/actions/get-group.cjs +18 -18
- package/dist/actions/get-group.cjs.map +1 -1
- package/dist/actions/get-group.d.cts +68 -3
- package/dist/actions/get-group.d.cts.map +1 -1
- package/dist/actions/get-group.d.mts +68 -3
- package/dist/actions/get-group.d.mts.map +1 -1
- package/dist/actions/get-group.mjs +18 -18
- package/dist/actions/get-group.mjs.map +1 -1
- package/dist/actions/get-groups.cjs +18 -18
- package/dist/actions/get-groups.cjs.map +1 -1
- package/dist/actions/get-groups.d.cts +63 -3
- package/dist/actions/get-groups.d.cts.map +1 -1
- package/dist/actions/get-groups.d.mts +63 -3
- package/dist/actions/get-groups.d.mts.map +1 -1
- package/dist/actions/get-groups.mjs +18 -18
- package/dist/actions/get-groups.mjs.map +1 -1
- package/dist/actions/get-notifications.cjs +7 -7
- package/dist/actions/get-notifications.cjs.map +1 -1
- package/dist/actions/get-notifications.d.cts +24 -3
- package/dist/actions/get-notifications.d.cts.map +1 -1
- package/dist/actions/get-notifications.d.mts +24 -3
- package/dist/actions/get-notifications.d.mts.map +1 -1
- package/dist/actions/get-notifications.mjs +7 -7
- package/dist/actions/get-notifications.mjs.map +1 -1
- package/dist/actions/get-user.cjs +4 -4
- package/dist/actions/get-user.cjs.map +1 -1
- package/dist/actions/get-user.d.cts +21 -3
- package/dist/actions/get-user.d.cts.map +1 -1
- package/dist/actions/get-user.d.mts +21 -3
- package/dist/actions/get-user.d.mts.map +1 -1
- package/dist/actions/get-user.mjs +4 -4
- package/dist/actions/get-user.mjs.map +1 -1
- package/dist/actions/remove-user-from-group.cjs +2 -2
- package/dist/actions/remove-user-from-group.cjs.map +1 -1
- package/dist/actions/remove-user-from-group.d.cts +12 -3
- package/dist/actions/remove-user-from-group.d.cts.map +1 -1
- package/dist/actions/remove-user-from-group.d.mts +12 -3
- package/dist/actions/remove-user-from-group.d.mts.map +1 -1
- package/dist/actions/remove-user-from-group.mjs +2 -2
- package/dist/actions/remove-user-from-group.mjs.map +1 -1
- package/dist/actions/undelete-expense.cjs +2 -2
- package/dist/actions/undelete-expense.cjs.map +1 -1
- package/dist/actions/undelete-expense.d.cts +10 -3
- package/dist/actions/undelete-expense.d.cts.map +1 -1
- package/dist/actions/undelete-expense.d.mts +10 -3
- package/dist/actions/undelete-expense.d.mts.map +1 -1
- package/dist/actions/undelete-expense.mjs +2 -2
- package/dist/actions/undelete-expense.mjs.map +1 -1
- package/dist/actions/undelete-group.cjs +2 -2
- package/dist/actions/undelete-group.cjs.map +1 -1
- package/dist/actions/undelete-group.d.cts +10 -3
- package/dist/actions/undelete-group.d.cts.map +1 -1
- package/dist/actions/undelete-group.d.mts +10 -3
- package/dist/actions/undelete-group.d.mts.map +1 -1
- package/dist/actions/undelete-group.mjs +2 -2
- package/dist/actions/undelete-group.mjs.map +1 -1
- package/dist/actions/update-expense.cjs +2 -2
- package/dist/actions/update-expense.cjs.map +1 -1
- package/dist/actions/update-expense.d.cts +49 -3
- package/dist/actions/update-expense.d.cts.map +1 -1
- package/dist/actions/update-expense.d.mts +49 -3
- package/dist/actions/update-expense.d.mts.map +1 -1
- package/dist/actions/update-expense.mjs +2 -2
- package/dist/actions/update-expense.mjs.map +1 -1
- package/dist/actions/update-user.cjs +5 -5
- package/dist/actions/update-user.cjs.map +1 -1
- package/dist/actions/update-user.d.cts +51 -3
- package/dist/actions/update-user.d.cts.map +1 -1
- package/dist/actions/update-user.d.mts +51 -3
- package/dist/actions/update-user.d.mts.map +1 -1
- package/dist/actions/update-user.mjs +5 -5
- package/dist/actions/update-user.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -1,9 +1,74 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-group.d.ts
|
|
4
|
-
declare const SplitwiseGetGroupInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const SplitwiseGetGroupInput: z.ZodObject<{
|
|
5
|
+
id: z.ZodNumber;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const SplitwiseGetGroupOutput: z.ZodObject<{
|
|
8
|
+
group: z.ZodNullable<z.ZodObject<{
|
|
9
|
+
id: z.ZodNullable<z.ZodNumber>;
|
|
10
|
+
name: z.ZodNullable<z.ZodString>;
|
|
11
|
+
avatar: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
12
|
+
large: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
+
small: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
medium: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
+
xlarge: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
+
xxlarge: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
|
+
original: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
+
}, z.core.$loose>>>;
|
|
19
|
+
members: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
20
|
+
id: z.ZodNullable<z.ZodNumber>;
|
|
21
|
+
email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
|
+
balance: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
23
|
+
amount: z.ZodNullable<z.ZodString>;
|
|
24
|
+
currency_code: z.ZodNullable<z.ZodString>;
|
|
25
|
+
}, z.core.$loose>>>>;
|
|
26
|
+
picture: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
27
|
+
large: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28
|
+
small: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
29
|
+
medium: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
30
|
+
}, z.core.$loose>>>;
|
|
31
|
+
last_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
32
|
+
first_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
33
|
+
custom_picture: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
34
|
+
registration_status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
35
|
+
}, z.core.$loose>>>>;
|
|
36
|
+
created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
37
|
+
group_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
38
|
+
updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
39
|
+
whiteboard: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
40
|
+
cover_photo: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
41
|
+
xlarge: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
42
|
+
xxlarge: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
43
|
+
}, z.core.$loose>>>;
|
|
44
|
+
invite_link: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
45
|
+
tall_avatar: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
46
|
+
large: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
47
|
+
xlarge: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
48
|
+
}, z.core.$loose>>>;
|
|
49
|
+
custom_avatar: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
50
|
+
original_debts: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
51
|
+
to: z.ZodNullable<z.ZodNumber>;
|
|
52
|
+
from: z.ZodNullable<z.ZodNumber>;
|
|
53
|
+
amount: z.ZodNullable<z.ZodString>;
|
|
54
|
+
currency_code: z.ZodNullable<z.ZodString>;
|
|
55
|
+
}, z.core.$loose>>>>;
|
|
56
|
+
group_reminders: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
57
|
+
simplified_debts: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
58
|
+
to: z.ZodNullable<z.ZodNumber>;
|
|
59
|
+
from: z.ZodNullable<z.ZodNumber>;
|
|
60
|
+
amount: z.ZodNullable<z.ZodString>;
|
|
61
|
+
currency_code: z.ZodNullable<z.ZodString>;
|
|
62
|
+
}, z.core.$loose>>>>;
|
|
63
|
+
simplify_by_default: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
64
|
+
whiteboard_updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
65
|
+
whiteboard_updated_by: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
66
|
+
whiteboard_lock_version: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
67
|
+
}, z.core.$loose>>;
|
|
68
|
+
}, z.core.$loose>;
|
|
69
|
+
declare const splitwiseGetGroup: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
70
|
+
id: number;
|
|
71
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
72
|
//#endregion
|
|
8
73
|
export { splitwiseGetGroup };
|
|
9
74
|
//# sourceMappingURL=get-group.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-group.d.cts","names":[],"sources":["../../src/actions/get-group.ts"],"mappings":";;;cAIa,sBAAA,
|
|
1
|
+
{"version":3,"file":"get-group.d.cts","names":[],"sources":["../../src/actions/get-group.ts"],"mappings":";;;cAIa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;cAiEtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAIvB,iBAAA,gCAAiB,wBAAA"}
|
|
@@ -1,9 +1,74 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-group.d.ts
|
|
4
|
-
declare const SplitwiseGetGroupInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const SplitwiseGetGroupInput: z.ZodObject<{
|
|
5
|
+
id: z.ZodNumber;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const SplitwiseGetGroupOutput: z.ZodObject<{
|
|
8
|
+
group: z.ZodNullable<z.ZodObject<{
|
|
9
|
+
id: z.ZodNullable<z.ZodNumber>;
|
|
10
|
+
name: z.ZodNullable<z.ZodString>;
|
|
11
|
+
avatar: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
12
|
+
large: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
+
small: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
medium: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
+
xlarge: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
+
xxlarge: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
|
+
original: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
+
}, z.core.$loose>>>;
|
|
19
|
+
members: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
20
|
+
id: z.ZodNullable<z.ZodNumber>;
|
|
21
|
+
email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
|
+
balance: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
23
|
+
amount: z.ZodNullable<z.ZodString>;
|
|
24
|
+
currency_code: z.ZodNullable<z.ZodString>;
|
|
25
|
+
}, z.core.$loose>>>>;
|
|
26
|
+
picture: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
27
|
+
large: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28
|
+
small: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
29
|
+
medium: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
30
|
+
}, z.core.$loose>>>;
|
|
31
|
+
last_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
32
|
+
first_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
33
|
+
custom_picture: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
34
|
+
registration_status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
35
|
+
}, z.core.$loose>>>>;
|
|
36
|
+
created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
37
|
+
group_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
38
|
+
updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
39
|
+
whiteboard: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
40
|
+
cover_photo: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
41
|
+
xlarge: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
42
|
+
xxlarge: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
43
|
+
}, z.core.$loose>>>;
|
|
44
|
+
invite_link: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
45
|
+
tall_avatar: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
46
|
+
large: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
47
|
+
xlarge: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
48
|
+
}, z.core.$loose>>>;
|
|
49
|
+
custom_avatar: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
50
|
+
original_debts: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
51
|
+
to: z.ZodNullable<z.ZodNumber>;
|
|
52
|
+
from: z.ZodNullable<z.ZodNumber>;
|
|
53
|
+
amount: z.ZodNullable<z.ZodString>;
|
|
54
|
+
currency_code: z.ZodNullable<z.ZodString>;
|
|
55
|
+
}, z.core.$loose>>>>;
|
|
56
|
+
group_reminders: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
57
|
+
simplified_debts: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
58
|
+
to: z.ZodNullable<z.ZodNumber>;
|
|
59
|
+
from: z.ZodNullable<z.ZodNumber>;
|
|
60
|
+
amount: z.ZodNullable<z.ZodString>;
|
|
61
|
+
currency_code: z.ZodNullable<z.ZodString>;
|
|
62
|
+
}, z.core.$loose>>>>;
|
|
63
|
+
simplify_by_default: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
64
|
+
whiteboard_updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
65
|
+
whiteboard_updated_by: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
66
|
+
whiteboard_lock_version: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
67
|
+
}, z.core.$loose>>;
|
|
68
|
+
}, z.core.$loose>;
|
|
69
|
+
declare const splitwiseGetGroup: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
70
|
+
id: number;
|
|
71
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
72
|
//#endregion
|
|
8
73
|
export { splitwiseGetGroup };
|
|
9
74
|
//# sourceMappingURL=get-group.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-group.d.mts","names":[],"sources":["../../src/actions/get-group.ts"],"mappings":";;;cAIa,sBAAA,
|
|
1
|
+
{"version":3,"file":"get-group.d.mts","names":[],"sources":["../../src/actions/get-group.ts"],"mappings":";;;cAIa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;cAiEtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAIvB,iBAAA,gCAAiB,wBAAA"}
|
|
@@ -9,18 +9,18 @@ const SplitwiseGetGroup_AvatarSchema = z.object({
|
|
|
9
9
|
xlarge: z.string().describe("URL for the xlarge-sized avatar").nullable().optional(),
|
|
10
10
|
xxlarge: z.string().describe("URL for the xxlarge-sized avatar").nullable().optional(),
|
|
11
11
|
original: z.string().describe("URL for the original avatar image").nullable().optional()
|
|
12
|
-
}).describe("URLs for group avatar images in different sizes.");
|
|
12
|
+
}).passthrough().describe("URLs for group avatar images in different sizes.");
|
|
13
13
|
const SplitwiseGetGroup_BalanceSchema = z.object({
|
|
14
|
-
amount: z.string().describe("Balance amount as a decimal string"),
|
|
15
|
-
currency_code: z.string().describe("Currency code (e.g., USD, EUR)")
|
|
16
|
-
}).describe("Represents a currency balance for a user.");
|
|
14
|
+
amount: z.string().describe("Balance amount as a decimal string").nullable(),
|
|
15
|
+
currency_code: z.string().describe("Currency code (e.g., USD, EUR)").nullable()
|
|
16
|
+
}).passthrough().describe("Represents a currency balance for a user.");
|
|
17
17
|
const SplitwiseGetGroup_PictureSchema = z.object({
|
|
18
18
|
large: z.string().describe("URL for the large-sized profile picture").nullable().optional(),
|
|
19
19
|
small: z.string().describe("URL for the small-sized profile picture").nullable().optional(),
|
|
20
20
|
medium: z.string().describe("URL for the medium-sized profile picture").nullable().optional()
|
|
21
|
-
}).describe("URLs for profile pictures in different sizes.");
|
|
21
|
+
}).passthrough().describe("URLs for profile pictures in different sizes.");
|
|
22
22
|
const SplitwiseGetGroup_MemberSchema = z.object({
|
|
23
|
-
id: z.number().int().describe("Unique identifier for the user"),
|
|
23
|
+
id: z.number().int().describe("Unique identifier for the user").nullable(),
|
|
24
24
|
email: z.string().describe("User's email address").nullable().optional(),
|
|
25
25
|
balance: z.array(SplitwiseGetGroup_BalanceSchema).describe("Currency balance objects for this member").nullable().optional(),
|
|
26
26
|
picture: SplitwiseGetGroup_PictureSchema.nullable().optional(),
|
|
@@ -28,24 +28,24 @@ const SplitwiseGetGroup_MemberSchema = z.object({
|
|
|
28
28
|
first_name: z.string().describe("User's first name").nullable().optional(),
|
|
29
29
|
custom_picture: z.boolean().describe("Indicates if user has custom profile picture").nullable().optional(),
|
|
30
30
|
registration_status: z.string().describe("Registration status of the user (confirmed, dummy, invited)").nullable().optional()
|
|
31
|
-
}).describe("Represents a member in a group.");
|
|
31
|
+
}).passthrough().describe("Represents a member in a group.");
|
|
32
32
|
const SplitwiseGetGroup_CoverPhotoSchema = z.object({
|
|
33
33
|
xlarge: z.string().describe("URL for the xlarge-sized cover photo").nullable().optional(),
|
|
34
34
|
xxlarge: z.string().describe("URL for the xxlarge-sized cover photo").nullable().optional()
|
|
35
|
-
}).describe("URLs for group cover photo in different sizes.");
|
|
35
|
+
}).passthrough().describe("URLs for group cover photo in different sizes.");
|
|
36
36
|
const SplitwiseGetGroup_TallAvatarSchema = z.object({
|
|
37
37
|
large: z.string().describe("URL for the large-sized tall avatar").nullable().optional(),
|
|
38
38
|
xlarge: z.string().describe("URL for the xlarge-sized tall avatar").nullable().optional()
|
|
39
|
-
}).describe("URLs for group tall avatar images in different sizes.");
|
|
39
|
+
}).passthrough().describe("URLs for group tall avatar images in different sizes.");
|
|
40
40
|
const SplitwiseGetGroup_DebtSchema = z.object({
|
|
41
|
-
to: z.number().int().describe("Creditor user ID"),
|
|
42
|
-
from: z.number().int().describe("Debtor user ID"),
|
|
43
|
-
amount: z.string().describe("Debt amount as a decimal string"),
|
|
44
|
-
currency_code: z.string().describe("Currency code for the debt")
|
|
45
|
-
}).describe("Represents a debt between two users.");
|
|
41
|
+
to: z.number().int().describe("Creditor user ID").nullable(),
|
|
42
|
+
from: z.number().int().describe("Debtor user ID").nullable(),
|
|
43
|
+
amount: z.string().describe("Debt amount as a decimal string").nullable(),
|
|
44
|
+
currency_code: z.string().describe("Currency code for the debt").nullable()
|
|
45
|
+
}).passthrough().describe("Represents a debt between two users.");
|
|
46
46
|
const SplitwiseGetGroup_GroupSchema = z.object({
|
|
47
|
-
id: z.number().int().describe("Unique identifier for the group"),
|
|
48
|
-
name: z.string().describe("Group display name"),
|
|
47
|
+
id: z.number().int().describe("Unique identifier for the group").nullable(),
|
|
48
|
+
name: z.string().describe("Group display name").nullable(),
|
|
49
49
|
avatar: SplitwiseGetGroup_AvatarSchema.nullable().optional(),
|
|
50
50
|
members: z.array(SplitwiseGetGroup_MemberSchema).describe("Users belonging to the group").nullable().optional(),
|
|
51
51
|
created_at: z.string().describe("Group creation timestamp (ISO 8601)").nullable().optional(),
|
|
@@ -63,13 +63,13 @@ const SplitwiseGetGroup_GroupSchema = z.object({
|
|
|
63
63
|
whiteboard_updated_at: z.string().describe("Timestamp of last whiteboard update (ISO 8601)").nullable().optional(),
|
|
64
64
|
whiteboard_updated_by: z.number().int().describe("User ID who last updated the whiteboard").nullable().optional(),
|
|
65
65
|
whiteboard_lock_version: z.number().int().describe("Version number for whiteboard locking").nullable().optional()
|
|
66
|
-
}).describe("Represents a Splitwise group with full details.");
|
|
66
|
+
}).passthrough().describe("Represents a Splitwise group with full details.");
|
|
67
67
|
const splitwiseGetGroup = action("SPLITWISE_GET_GROUP", {
|
|
68
68
|
slug: "splitwise-get-group",
|
|
69
69
|
name: "Get Group Details",
|
|
70
70
|
description: "Tool to retrieve detailed information about a specific group. Returns full group details including members, balances, debts (both original and simplified), avatar URLs, and group settings. Use this when you need comprehensive information about a particular group, such as viewing who owes what to whom. Use group ID of 0 to get non-group expenses.",
|
|
71
71
|
input: SplitwiseGetGroupInput,
|
|
72
|
-
output: z.object({ group: SplitwiseGetGroup_GroupSchema.nullable() }).describe("Response model containing detailed information about a group.")
|
|
72
|
+
output: z.object({ group: SplitwiseGetGroup_GroupSchema.nullable() }).passthrough().describe("Response model containing detailed information about a group.")
|
|
73
73
|
});
|
|
74
74
|
//#endregion
|
|
75
75
|
export { splitwiseGetGroup };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-group.mjs","names":[],"sources":["../../src/actions/get-group.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SplitwiseGetGroupInput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"The unique identifier of the group to retrieve. Use 0 to get non-group expenses.\"),\n}).describe(\"Request parameters for retrieving a specific group.\");\nconst SplitwiseGetGroup_AvatarSchema: z.ZodTypeAny = z.object({\n large: z.string().describe(\"URL for the large-sized avatar\").nullable().optional(),\n small: z.string().describe(\"URL for the small-sized avatar\").nullable().optional(),\n medium: z.string().describe(\"URL for the medium-sized avatar\").nullable().optional(),\n xlarge: z.string().describe(\"URL for the xlarge-sized avatar\").nullable().optional(),\n xxlarge: z.string().describe(\"URL for the xxlarge-sized avatar\").nullable().optional(),\n original: z.string().describe(\"URL for the original avatar image\").nullable().optional(),\n}).describe(\"URLs for group avatar images in different sizes.\");\nconst SplitwiseGetGroup_BalanceSchema: z.ZodTypeAny = z.object({\n amount: z.string().describe(\"Balance amount as a decimal string\"),\n currency_code: z.string().describe(\"Currency code (e.g., USD, EUR)\"),\n}).describe(\"Represents a currency balance for a user.\");\nconst SplitwiseGetGroup_PictureSchema: z.ZodTypeAny = z.object({\n large: z.string().describe(\"URL for the large-sized profile picture\").nullable().optional(),\n small: z.string().describe(\"URL for the small-sized profile picture\").nullable().optional(),\n medium: z.string().describe(\"URL for the medium-sized profile picture\").nullable().optional(),\n}).describe(\"URLs for profile pictures in different sizes.\");\nconst SplitwiseGetGroup_MemberSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier for the user\"),\n email: z.string().describe(\"User's email address\").nullable().optional(),\n balance: z.array(SplitwiseGetGroup_BalanceSchema).describe(\"Currency balance objects for this member\").nullable().optional(),\n picture: SplitwiseGetGroup_PictureSchema.nullable().optional(),\n last_name: z.string().describe(\"User's last name\").nullable().optional(),\n first_name: z.string().describe(\"User's first name\").nullable().optional(),\n custom_picture: z.boolean().describe(\"Indicates if user has custom profile picture\").nullable().optional(),\n registration_status: z.string().describe(\"Registration status of the user (confirmed, dummy, invited)\").nullable().optional(),\n}).describe(\"Represents a member in a group.\");\nconst SplitwiseGetGroup_CoverPhotoSchema: z.ZodTypeAny = z.object({\n xlarge: z.string().describe(\"URL for the xlarge-sized cover photo\").nullable().optional(),\n xxlarge: z.string().describe(\"URL for the xxlarge-sized cover photo\").nullable().optional(),\n}).describe(\"URLs for group cover photo in different sizes.\");\nconst SplitwiseGetGroup_TallAvatarSchema: z.ZodTypeAny = z.object({\n large: z.string().describe(\"URL for the large-sized tall avatar\").nullable().optional(),\n xlarge: z.string().describe(\"URL for the xlarge-sized tall avatar\").nullable().optional(),\n}).describe(\"URLs for group tall avatar images in different sizes.\");\nconst SplitwiseGetGroup_DebtSchema: z.ZodTypeAny = z.object({\n to: z.number().int().describe(\"Creditor user ID\"),\n from: z.number().int().describe(\"Debtor user ID\"),\n amount: z.string().describe(\"Debt amount as a decimal string\"),\n currency_code: z.string().describe(\"Currency code for the debt\"),\n}).describe(\"Represents a debt between two users.\");\nconst SplitwiseGetGroup_GroupSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier for the group\"),\n name: z.string().describe(\"Group display name\"),\n avatar: SplitwiseGetGroup_AvatarSchema.nullable().optional(),\n members: z.array(SplitwiseGetGroup_MemberSchema).describe(\"Users belonging to the group\").nullable().optional(),\n created_at: z.string().describe(\"Group creation timestamp (ISO 8601)\").nullable().optional(),\n group_type: z.string().describe(\"Category type (home, trip, couple, other, apartment, house, etc.)\").nullable().optional(),\n updated_at: z.string().describe(\"Most recent modification timestamp (ISO 8601)\").nullable().optional(),\n whiteboard: z.string().describe(\"Group whiteboard content (if any)\").nullable().optional(),\n cover_photo: SplitwiseGetGroup_CoverPhotoSchema.nullable().optional(),\n invite_link: z.string().describe(\"URL for group membership invitations\").nullable().optional(),\n tall_avatar: SplitwiseGetGroup_TallAvatarSchema.nullable().optional(),\n custom_avatar: z.boolean().describe(\"Indicates if group has custom avatar\").nullable().optional(),\n original_debts: z.array(SplitwiseGetGroup_DebtSchema).describe(\"Unsimplified financial obligations\").nullable().optional(),\n group_reminders: z.string().describe(\"Group reminder settings\").nullable().optional(),\n simplified_debts: z.array(SplitwiseGetGroup_DebtSchema).describe(\"Optimized financial obligations\").nullable().optional(),\n simplify_by_default: z.boolean().describe(\"Whether debt simplification is enabled\").nullable().optional(),\n whiteboard_updated_at: z.string().describe(\"Timestamp of last whiteboard update (ISO 8601)\").nullable().optional(),\n whiteboard_updated_by: z.number().int().describe(\"User ID who last updated the whiteboard\").nullable().optional(),\n whiteboard_lock_version: z.number().int().describe(\"Version number for whiteboard locking\").nullable().optional(),\n}).describe(\"Represents a Splitwise group with full details.\");\nexport const SplitwiseGetGroupOutput: z.ZodTypeAny = z.object({\n group: SplitwiseGetGroup_GroupSchema.nullable(),\n}).describe(\"Response model containing detailed information about a group.\");\n\nexport const splitwiseGetGroup = action(\"SPLITWISE_GET_GROUP\", {\n slug: \"splitwise-get-group\",\n name: \"Get Group Details\",\n description: \"Tool to retrieve detailed information about a specific group. Returns full group details including members, balances, debts (both original and simplified), avatar URLs, and group settings. Use this when you need comprehensive information about a particular group, such as viewing who owes what to whom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E,eAAe,EAAE,QAAQ,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,gBAAgB,EAAE,MAAM,4BAA4B,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzH,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,kBAAkB,EAAE,MAAM,4BAA4B,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,qBAAqB,EAAE,QAAQ,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,uBAAuB,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,uBAAuB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,yBAAyB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClH,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAK7D,MAAa,oBAAoB,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATmD,EAAE,OAAO,EAC5D,OAAO,8BAA8B,SAAS,EAChD,CAAC,CAAC,CAAC,SAAS,+DAOF;AACV,CAAC"}
|
|
1
|
+
{"version":3,"file":"get-group.mjs","names":[],"sources":["../../src/actions/get-group.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SplitwiseGetGroupInput = z.object({\n id: z.number().int().describe(\"The unique identifier of the group to retrieve. Use 0 to get non-group expenses.\"),\n}).describe(\"Request parameters for retrieving a specific group.\");\nconst SplitwiseGetGroup_AvatarSchema = z.object({\n large: z.string().describe(\"URL for the large-sized avatar\").nullable().optional(),\n small: z.string().describe(\"URL for the small-sized avatar\").nullable().optional(),\n medium: z.string().describe(\"URL for the medium-sized avatar\").nullable().optional(),\n xlarge: z.string().describe(\"URL for the xlarge-sized avatar\").nullable().optional(),\n xxlarge: z.string().describe(\"URL for the xxlarge-sized avatar\").nullable().optional(),\n original: z.string().describe(\"URL for the original avatar image\").nullable().optional(),\n}).passthrough().describe(\"URLs for group avatar images in different sizes.\");\nconst SplitwiseGetGroup_BalanceSchema = z.object({\n amount: z.string().describe(\"Balance amount as a decimal string\").nullable(),\n currency_code: z.string().describe(\"Currency code (e.g., USD, EUR)\").nullable(),\n}).passthrough().describe(\"Represents a currency balance for a user.\");\nconst SplitwiseGetGroup_PictureSchema = z.object({\n large: z.string().describe(\"URL for the large-sized profile picture\").nullable().optional(),\n small: z.string().describe(\"URL for the small-sized profile picture\").nullable().optional(),\n medium: z.string().describe(\"URL for the medium-sized profile picture\").nullable().optional(),\n}).passthrough().describe(\"URLs for profile pictures in different sizes.\");\nconst SplitwiseGetGroup_MemberSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the user\").nullable(),\n email: z.string().describe(\"User's email address\").nullable().optional(),\n balance: z.array(SplitwiseGetGroup_BalanceSchema).describe(\"Currency balance objects for this member\").nullable().optional(),\n picture: SplitwiseGetGroup_PictureSchema.nullable().optional(),\n last_name: z.string().describe(\"User's last name\").nullable().optional(),\n first_name: z.string().describe(\"User's first name\").nullable().optional(),\n custom_picture: z.boolean().describe(\"Indicates if user has custom profile picture\").nullable().optional(),\n registration_status: z.string().describe(\"Registration status of the user (confirmed, dummy, invited)\").nullable().optional(),\n}).passthrough().describe(\"Represents a member in a group.\");\nconst SplitwiseGetGroup_CoverPhotoSchema = z.object({\n xlarge: z.string().describe(\"URL for the xlarge-sized cover photo\").nullable().optional(),\n xxlarge: z.string().describe(\"URL for the xxlarge-sized cover photo\").nullable().optional(),\n}).passthrough().describe(\"URLs for group cover photo in different sizes.\");\nconst SplitwiseGetGroup_TallAvatarSchema = z.object({\n large: z.string().describe(\"URL for the large-sized tall avatar\").nullable().optional(),\n xlarge: z.string().describe(\"URL for the xlarge-sized tall avatar\").nullable().optional(),\n}).passthrough().describe(\"URLs for group tall avatar images in different sizes.\");\nconst SplitwiseGetGroup_DebtSchema = z.object({\n to: z.number().int().describe(\"Creditor user ID\").nullable(),\n from: z.number().int().describe(\"Debtor user ID\").nullable(),\n amount: z.string().describe(\"Debt amount as a decimal string\").nullable(),\n currency_code: z.string().describe(\"Currency code for the debt\").nullable(),\n}).passthrough().describe(\"Represents a debt between two users.\");\nconst SplitwiseGetGroup_GroupSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the group\").nullable(),\n name: z.string().describe(\"Group display name\").nullable(),\n avatar: SplitwiseGetGroup_AvatarSchema.nullable().optional(),\n members: z.array(SplitwiseGetGroup_MemberSchema).describe(\"Users belonging to the group\").nullable().optional(),\n created_at: z.string().describe(\"Group creation timestamp (ISO 8601)\").nullable().optional(),\n group_type: z.string().describe(\"Category type (home, trip, couple, other, apartment, house, etc.)\").nullable().optional(),\n updated_at: z.string().describe(\"Most recent modification timestamp (ISO 8601)\").nullable().optional(),\n whiteboard: z.string().describe(\"Group whiteboard content (if any)\").nullable().optional(),\n cover_photo: SplitwiseGetGroup_CoverPhotoSchema.nullable().optional(),\n invite_link: z.string().describe(\"URL for group membership invitations\").nullable().optional(),\n tall_avatar: SplitwiseGetGroup_TallAvatarSchema.nullable().optional(),\n custom_avatar: z.boolean().describe(\"Indicates if group has custom avatar\").nullable().optional(),\n original_debts: z.array(SplitwiseGetGroup_DebtSchema).describe(\"Unsimplified financial obligations\").nullable().optional(),\n group_reminders: z.string().describe(\"Group reminder settings\").nullable().optional(),\n simplified_debts: z.array(SplitwiseGetGroup_DebtSchema).describe(\"Optimized financial obligations\").nullable().optional(),\n simplify_by_default: z.boolean().describe(\"Whether debt simplification is enabled\").nullable().optional(),\n whiteboard_updated_at: z.string().describe(\"Timestamp of last whiteboard update (ISO 8601)\").nullable().optional(),\n whiteboard_updated_by: z.number().int().describe(\"User ID who last updated the whiteboard\").nullable().optional(),\n whiteboard_lock_version: z.number().int().describe(\"Version number for whiteboard locking\").nullable().optional(),\n}).passthrough().describe(\"Represents a Splitwise group with full details.\");\nexport const SplitwiseGetGroupOutput = z.object({\n group: SplitwiseGetGroup_GroupSchema.nullable(),\n}).passthrough().describe(\"Response model containing detailed information about a group.\");\n\nexport const splitwiseGetGroup = action(\"SPLITWISE_GET_GROUP\", {\n slug: \"splitwise-get-group\",\n name: \"Get Group Details\",\n description: \"Tool to retrieve detailed information about a specific group. Returns full group details including members, balances, debts (both original and simplified), avatar URLs, and group settings. Use this when you need comprehensive information about a particular group, such as viewing who owes what to whom. Use group ID of 0 to get non-group expenses.\",\n input: SplitwiseGetGroupInput,\n output: SplitwiseGetGroupOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAyB,EAAE,OAAO,EAC7C,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kFAAkF,EAClH,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAM,iCAAiC,EAAE,OAAO;CAC9C,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,C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xG,uBAAuB,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,uBAAuB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,yBAAyB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAAiD;AAK3E,MAAa,oBAAoB,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATqC,EAAE,OAAO,EAC9C,OAAO,8BAA8B,SAAS,EAChD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+DAOhB;AACV,CAAC"}
|
|
@@ -9,18 +9,18 @@ const SplitwiseGetGroups_AvatarSchema = zod.z.object({
|
|
|
9
9
|
xlarge: zod.z.string().describe("URL for the xlarge-sized avatar").nullable().optional(),
|
|
10
10
|
xxlarge: zod.z.string().describe("URL for the xxlarge-sized avatar").nullable().optional(),
|
|
11
11
|
original: zod.z.string().describe("URL for the original avatar image").nullable().optional()
|
|
12
|
-
}).describe("URLs for group avatar images in different sizes.");
|
|
12
|
+
}).passthrough().describe("URLs for group avatar images in different sizes.");
|
|
13
13
|
const SplitwiseGetGroups_BalanceSchema = zod.z.object({
|
|
14
|
-
amount: zod.z.string().describe("Balance amount as a decimal string"),
|
|
15
|
-
currency_code: zod.z.string().describe("Currency code (e.g., USD, EUR)")
|
|
16
|
-
}).describe("Represents a currency balance for a user.");
|
|
14
|
+
amount: zod.z.string().describe("Balance amount as a decimal string").nullable(),
|
|
15
|
+
currency_code: zod.z.string().describe("Currency code (e.g., USD, EUR)").nullable()
|
|
16
|
+
}).passthrough().describe("Represents a currency balance for a user.");
|
|
17
17
|
const SplitwiseGetGroups_PictureSchema = zod.z.object({
|
|
18
18
|
large: zod.z.string().describe("URL for the large-sized profile picture").nullable().optional(),
|
|
19
19
|
small: zod.z.string().describe("URL for the small-sized profile picture").nullable().optional(),
|
|
20
20
|
medium: zod.z.string().describe("URL for the medium-sized profile picture").nullable().optional()
|
|
21
|
-
}).describe("URLs for profile pictures in different sizes.");
|
|
21
|
+
}).passthrough().describe("URLs for profile pictures in different sizes.");
|
|
22
22
|
const SplitwiseGetGroups_MemberSchema = zod.z.object({
|
|
23
|
-
id: zod.z.number().int().describe("Unique identifier for the user"),
|
|
23
|
+
id: zod.z.number().int().describe("Unique identifier for the user").nullable(),
|
|
24
24
|
email: zod.z.string().describe("User's email address").nullable().optional(),
|
|
25
25
|
balance: zod.z.array(SplitwiseGetGroups_BalanceSchema).describe("Currency balance objects for this member").nullable().optional(),
|
|
26
26
|
picture: SplitwiseGetGroups_PictureSchema.nullable().optional(),
|
|
@@ -28,24 +28,24 @@ const SplitwiseGetGroups_MemberSchema = zod.z.object({
|
|
|
28
28
|
first_name: zod.z.string().describe("User's first name").nullable().optional(),
|
|
29
29
|
custom_picture: zod.z.boolean().describe("Indicates if user has custom profile picture").nullable().optional(),
|
|
30
30
|
registration_status: zod.z.string().describe("Registration status of the user").nullable().optional()
|
|
31
|
-
}).describe("Represents a member in a group.");
|
|
31
|
+
}).passthrough().describe("Represents a member in a group.");
|
|
32
32
|
const SplitwiseGetGroups_CoverPhotoSchema = zod.z.object({
|
|
33
33
|
xlarge: zod.z.string().describe("URL for the xlarge-sized cover photo").nullable().optional(),
|
|
34
34
|
xxlarge: zod.z.string().describe("URL for the xxlarge-sized cover photo").nullable().optional()
|
|
35
|
-
}).describe("URLs for group cover photo in different sizes.");
|
|
35
|
+
}).passthrough().describe("URLs for group cover photo in different sizes.");
|
|
36
36
|
const SplitwiseGetGroups_TallAvatarSchema = zod.z.object({
|
|
37
37
|
large: zod.z.string().describe("URL for the large-sized tall avatar").nullable().optional(),
|
|
38
38
|
xlarge: zod.z.string().describe("URL for the xlarge-sized tall avatar").nullable().optional()
|
|
39
|
-
}).describe("URLs for group tall avatar images in different sizes.");
|
|
39
|
+
}).passthrough().describe("URLs for group tall avatar images in different sizes.");
|
|
40
40
|
const SplitwiseGetGroups_DebtSchema = zod.z.object({
|
|
41
|
-
to: zod.z.number().int().describe("Creditor user ID"),
|
|
42
|
-
from: zod.z.number().int().describe("Debtor user ID"),
|
|
43
|
-
amount: zod.z.string().describe("Debt amount as a decimal string"),
|
|
44
|
-
currency_code: zod.z.string().describe("Currency code for the debt")
|
|
45
|
-
}).describe("Represents a debt between two users.");
|
|
41
|
+
to: zod.z.number().int().describe("Creditor user ID").nullable(),
|
|
42
|
+
from: zod.z.number().int().describe("Debtor user ID").nullable(),
|
|
43
|
+
amount: zod.z.string().describe("Debt amount as a decimal string").nullable(),
|
|
44
|
+
currency_code: zod.z.string().describe("Currency code for the debt").nullable()
|
|
45
|
+
}).passthrough().describe("Represents a debt between two users.");
|
|
46
46
|
const SplitwiseGetGroups_GroupSchema = zod.z.object({
|
|
47
|
-
id: zod.z.number().int().describe("Unique identifier for the group"),
|
|
48
|
-
name: zod.z.string().describe("Group display name"),
|
|
47
|
+
id: zod.z.number().int().describe("Unique identifier for the group").nullable(),
|
|
48
|
+
name: zod.z.string().describe("Group display name").nullable(),
|
|
49
49
|
avatar: SplitwiseGetGroups_AvatarSchema.nullable().optional(),
|
|
50
50
|
members: zod.z.array(SplitwiseGetGroups_MemberSchema).describe("Users belonging to the group").nullable().optional(),
|
|
51
51
|
created_at: zod.z.string().describe("Group creation timestamp (ISO 8601)").nullable().optional(),
|
|
@@ -62,8 +62,8 @@ const SplitwiseGetGroups_GroupSchema = zod.z.object({
|
|
|
62
62
|
whiteboard_updated_at: zod.z.string().describe("Whiteboard last update timestamp (ISO 8601)").nullable().optional(),
|
|
63
63
|
whiteboard_updated_by: zod.z.number().int().describe("User ID who last updated whiteboard").nullable().optional(),
|
|
64
64
|
whiteboard_lock_version: zod.z.number().int().describe("Version lock for whiteboard updates").nullable().optional()
|
|
65
|
-
}).describe("Represents a Splitwise group.");
|
|
66
|
-
const SplitwiseGetGroupsOutput = zod.z.object({ groups: zod.z.array(SplitwiseGetGroups_GroupSchema).describe("List of groups associated with the authenticated user") }).describe("Response model for the get_groups action.");
|
|
65
|
+
}).passthrough().describe("Represents a Splitwise group.");
|
|
66
|
+
const SplitwiseGetGroupsOutput = zod.z.object({ groups: zod.z.array(SplitwiseGetGroups_GroupSchema).describe("List of groups associated with the authenticated user") }).passthrough().describe("Response model for the get_groups action.");
|
|
67
67
|
const splitwiseGetGroups = require_action.action("SPLITWISE_GET_GROUPS", {
|
|
68
68
|
slug: "splitwise-get-groups",
|
|
69
69
|
name: "Get Groups",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-groups.cjs","names":["z","action"],"sources":["../../src/actions/get-groups.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SplitwiseGetGroupsInput: z.ZodTypeAny = z.object({}).describe(\"Request model for fetching groups. No parameters required.\");\nconst SplitwiseGetGroups_AvatarSchema: z.ZodTypeAny = z.object({\n large: z.string().describe(\"URL for the large-sized avatar\").nullable().optional(),\n small: z.string().describe(\"URL for the small-sized avatar\").nullable().optional(),\n medium: z.string().describe(\"URL for the medium-sized avatar\").nullable().optional(),\n xlarge: z.string().describe(\"URL for the xlarge-sized avatar\").nullable().optional(),\n xxlarge: z.string().describe(\"URL for the xxlarge-sized avatar\").nullable().optional(),\n original: z.string().describe(\"URL for the original avatar image\").nullable().optional(),\n}).describe(\"URLs for group avatar images in different sizes.\");\nconst SplitwiseGetGroups_BalanceSchema: z.ZodTypeAny = z.object({\n amount: z.string().describe(\"Balance amount as a decimal string\"),\n currency_code: z.string().describe(\"Currency code (e.g., USD, EUR)\"),\n}).describe(\"Represents a currency balance for a user.\");\nconst SplitwiseGetGroups_PictureSchema: z.ZodTypeAny = z.object({\n large: z.string().describe(\"URL for the large-sized profile picture\").nullable().optional(),\n small: z.string().describe(\"URL for the small-sized profile picture\").nullable().optional(),\n medium: z.string().describe(\"URL for the medium-sized profile picture\").nullable().optional(),\n}).describe(\"URLs for profile pictures in different sizes.\");\nconst SplitwiseGetGroups_MemberSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier for the user\"),\n email: z.string().describe(\"User's email address\").nullable().optional(),\n balance: z.array(SplitwiseGetGroups_BalanceSchema).describe(\"Currency balance objects for this member\").nullable().optional(),\n picture: SplitwiseGetGroups_PictureSchema.nullable().optional(),\n last_name: z.string().describe(\"User's last name\").nullable().optional(),\n first_name: z.string().describe(\"User's first name\").nullable().optional(),\n custom_picture: z.boolean().describe(\"Indicates if user has custom profile picture\").nullable().optional(),\n registration_status: z.string().describe(\"Registration status of the user\").nullable().optional(),\n}).describe(\"Represents a member in a group.\");\nconst SplitwiseGetGroups_CoverPhotoSchema: z.ZodTypeAny = z.object({\n xlarge: z.string().describe(\"URL for the xlarge-sized cover photo\").nullable().optional(),\n xxlarge: z.string().describe(\"URL for the xxlarge-sized cover photo\").nullable().optional(),\n}).describe(\"URLs for group cover photo in different sizes.\");\nconst SplitwiseGetGroups_TallAvatarSchema: z.ZodTypeAny = z.object({\n large: z.string().describe(\"URL for the large-sized tall avatar\").nullable().optional(),\n xlarge: z.string().describe(\"URL for the xlarge-sized tall avatar\").nullable().optional(),\n}).describe(\"URLs for group tall avatar images in different sizes.\");\nconst SplitwiseGetGroups_DebtSchema: z.ZodTypeAny = z.object({\n to: z.number().int().describe(\"Creditor user ID\"),\n from: z.number().int().describe(\"Debtor user ID\"),\n amount: z.string().describe(\"Debt amount as a decimal string\"),\n currency_code: z.string().describe(\"Currency code for the debt\"),\n}).describe(\"Represents a debt between two users.\");\nconst SplitwiseGetGroups_GroupSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier for the group\"),\n name: z.string().describe(\"Group display name\"),\n avatar: SplitwiseGetGroups_AvatarSchema.nullable().optional(),\n members: z.array(SplitwiseGetGroups_MemberSchema).describe(\"Users belonging to the group\").nullable().optional(),\n created_at: z.string().describe(\"Group creation timestamp (ISO 8601)\").nullable().optional(),\n group_type: z.string().describe(\"Category type (home, trip, couple, other, apartment, house)\").nullable().optional(),\n updated_at: z.string().describe(\"Most recent modification timestamp (ISO 8601)\").nullable().optional(),\n whiteboard: z.string().describe(\"Group whiteboard content\").nullable().optional(),\n cover_photo: SplitwiseGetGroups_CoverPhotoSchema.nullable().optional(),\n invite_link: z.string().describe(\"URL for group membership invitations\").nullable().optional(),\n tall_avatar: SplitwiseGetGroups_TallAvatarSchema.nullable().optional(),\n custom_avatar: z.boolean().describe(\"Indicates if group has custom avatar\").nullable().optional(),\n original_debts: z.array(SplitwiseGetGroups_DebtSchema).describe(\"Unsimplified financial obligations\").nullable().optional(),\n simplified_debts: z.array(SplitwiseGetGroups_DebtSchema).describe(\"Optimized financial obligations\").nullable().optional(),\n simplify_by_default: z.boolean().describe(\"Whether debt simplification is enabled\").nullable().optional(),\n whiteboard_updated_at: z.string().describe(\"Whiteboard last update timestamp (ISO 8601)\").nullable().optional(),\n whiteboard_updated_by: z.number().int().describe(\"User ID who last updated whiteboard\").nullable().optional(),\n whiteboard_lock_version: z.number().int().describe(\"Version lock for whiteboard updates\").nullable().optional(),\n}).describe(\"Represents a Splitwise group.\");\nexport const SplitwiseGetGroupsOutput: z.ZodTypeAny = z.object({\n groups: z.array(SplitwiseGetGroups_GroupSchema).describe(\"List of groups associated with the authenticated user\"),\n}).describe(\"Response model for the get_groups action.\");\n\nexport const splitwiseGetGroups = action(\"SPLITWISE_GET_GROUPS\", {\n slug: \"splitwise-get-groups\",\n name: \"Get Groups\",\n description: \"Retrieves all groups the authenticated user belongs to, including group details, members, balances, and debt information. Returns a 'groups' array with no server-side filtering; all name- or ID-based filtering must be done client-side on the full response. Group names may share similar strings or differ in case/whitespace — normalize when matching and prefer group_id once identified. The groups array may be empty if the user belongs to no groups.\",\n input: SplitwiseGetGroupsInput,\n output: Split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AAO;CACP,QAAQ;AACV,CAAC"}
|
|
1
|
+
{"version":3,"file":"get-groups.cjs","names":["z","action"],"sources":["../../src/actions/get-groups.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SplitwiseGetGroupsInput = z.object({}).describe(\"Request model for fetching groups. No parameters required.\");\nconst SplitwiseGetGroups_AvatarSchema = z.object({\n large: z.string().describe(\"URL for the large-sized avatar\").nullable().optional(),\n small: z.string().describe(\"URL for the small-sized avatar\").nullable().optional(),\n medium: z.string().describe(\"URL for the medium-sized avatar\").nullable().optional(),\n xlarge: z.string().describe(\"URL for the xlarge-sized avatar\").nullable().optional(),\n xxlarge: z.string().describe(\"URL for the xxlarge-sized avatar\").nullable().optional(),\n original: z.string().describe(\"URL for the original avatar image\").nullable().optional(),\n}).passthrough().describe(\"URLs for group avatar images in different sizes.\");\nconst SplitwiseGetGroups_BalanceSchema = z.object({\n amount: z.string().describe(\"Balance amount as a decimal string\").nullable(),\n currency_code: z.string().describe(\"Currency code (e.g., USD, EUR)\").nullable(),\n}).passthrough().describe(\"Represents a currency balance for a user.\");\nconst SplitwiseGetGroups_PictureSchema = z.object({\n large: z.string().describe(\"URL for the large-sized profile picture\").nullable().optional(),\n small: z.string().describe(\"URL for the small-sized profile picture\").nullable().optional(),\n medium: z.string().describe(\"URL for the medium-sized profile picture\").nullable().optional(),\n}).passthrough().describe(\"URLs for profile pictures in different sizes.\");\nconst SplitwiseGetGroups_MemberSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the user\").nullable(),\n email: z.string().describe(\"User's email address\").nullable().optional(),\n balance: z.array(SplitwiseGetGroups_BalanceSchema).describe(\"Currency balance objects for this member\").nullable().optional(),\n picture: SplitwiseGetGroups_PictureSchema.nullable().optional(),\n last_name: z.string().describe(\"User's last name\").nullable().optional(),\n first_name: z.string().describe(\"User's first name\").nullable().optional(),\n custom_picture: z.boolean().describe(\"Indicates if user has custom profile picture\").nullable().optional(),\n registration_status: z.string().describe(\"Registration status of the user\").nullable().optional(),\n}).passthrough().describe(\"Represents a member in a group.\");\nconst SplitwiseGetGroups_CoverPhotoSchema = z.object({\n xlarge: z.string().describe(\"URL for the xlarge-sized cover photo\").nullable().optional(),\n xxlarge: z.string().describe(\"URL for the xxlarge-sized cover photo\").nullable().optional(),\n}).passthrough().describe(\"URLs for group cover photo in different sizes.\");\nconst SplitwiseGetGroups_TallAvatarSchema = z.object({\n large: z.string().describe(\"URL for the large-sized tall avatar\").nullable().optional(),\n xlarge: z.string().describe(\"URL for the xlarge-sized tall avatar\").nullable().optional(),\n}).passthrough().describe(\"URLs for group tall avatar images in different sizes.\");\nconst SplitwiseGetGroups_DebtSchema = z.object({\n to: z.number().int().describe(\"Creditor user ID\").nullable(),\n from: z.number().int().describe(\"Debtor user ID\").nullable(),\n amount: z.string().describe(\"Debt amount as a decimal string\").nullable(),\n currency_code: z.string().describe(\"Currency code for the debt\").nullable(),\n}).passthrough().describe(\"Represents a debt between two users.\");\nconst SplitwiseGetGroups_GroupSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the group\").nullable(),\n name: z.string().describe(\"Group display name\").nullable(),\n avatar: SplitwiseGetGroups_AvatarSchema.nullable().optional(),\n members: z.array(SplitwiseGetGroups_MemberSchema).describe(\"Users belonging to the group\").nullable().optional(),\n created_at: z.string().describe(\"Group creation timestamp (ISO 8601)\").nullable().optional(),\n group_type: z.string().describe(\"Category type (home, trip, couple, other, apartment, house)\").nullable().optional(),\n updated_at: z.string().describe(\"Most recent modification timestamp (ISO 8601)\").nullable().optional(),\n whiteboard: z.string().describe(\"Group whiteboard content\").nullable().optional(),\n cover_photo: SplitwiseGetGroups_CoverPhotoSchema.nullable().optional(),\n invite_link: z.string().describe(\"URL for group membership invitations\").nullable().optional(),\n tall_avatar: SplitwiseGetGroups_TallAvatarSchema.nullable().optional(),\n custom_avatar: z.boolean().describe(\"Indicates if group has custom avatar\").nullable().optional(),\n original_debts: z.array(SplitwiseGetGroups_DebtSchema).describe(\"Unsimplified financial obligations\").nullable().optional(),\n simplified_debts: z.array(SplitwiseGetGroups_DebtSchema).describe(\"Optimized financial obligations\").nullable().optional(),\n simplify_by_default: z.boolean().describe(\"Whether debt simplification is enabled\").nullable().optional(),\n whiteboard_updated_at: z.string().describe(\"Whiteboard last update timestamp (ISO 8601)\").nullable().optional(),\n whiteboard_updated_by: z.number().int().describe(\"User ID who last updated whiteboard\").nullable().optional(),\n whiteboard_lock_version: z.number().int().describe(\"Version lock for whiteboard updates\").nullable().optional(),\n}).passthrough().describe(\"Represents a Splitwise group.\");\nexport const SplitwiseGetGroupsOutput = z.object({\n groups: z.array(SplitwiseGetGroups_GroupSchema).describe(\"List of groups associated with the authenticated user\"),\n}).passthrough().describe(\"Response model for the get_groups action.\");\n\nexport const splitwiseGetGroups = action(\"SPLITWISE_GET_GROUPS\", {\n slug: \"splitwise-get-groups\",\n name: \"Get Groups\",\n description: \"Retrieves all groups the authenticated user belongs to, including group details, members, balances, and debt information. Returns a 'groups' array with no server-side filtering; all name- or ID-based filtering must be done client-side on the full response. Group names may share similar strings or differ in case/whitespace — normalize when matching and prefer group_id once identified. The groups array may be empty if the user belongs to no groups.\",\n input: SplitwiseGetGroupsInput,\n output: SplitwiseGetGroupsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,4DAA4D;AACzH,MAAM,kCAAkCA,IAAAA,EAAE,OAAO;CAC/C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,QAAQA,IAAAA,EAAE,OAAO,C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upsInput: z.
|
|
5
|
-
declare const SplitwiseGetGroupsOutput: z.
|
|
6
|
-
|
|
4
|
+
declare const SplitwiseGetGroupsInput: z.ZodObject<{}, z.core.$strip>;
|
|
5
|
+
declare const SplitwiseGetGroupsOutput: z.ZodObject<{
|
|
6
|
+
groups: z.ZodArray<z.ZodObject<{
|
|
7
|
+
id: z.ZodNullable<z.ZodNumber>;
|
|
8
|
+
name: z.ZodNullable<z.ZodString>;
|
|
9
|
+
avatar: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
10
|
+
large: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
|
+
small: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
|
+
medium: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
+
xlarge: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
xxlarge: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
+
original: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
+
}, z.core.$loose>>>;
|
|
17
|
+
members: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
18
|
+
id: z.ZodNullable<z.ZodNumber>;
|
|
19
|
+
email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
|
+
balance: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
21
|
+
amount: z.ZodNullable<z.ZodString>;
|
|
22
|
+
currency_code: z.ZodNullable<z.ZodString>;
|
|
23
|
+
}, z.core.$loose>>>>;
|
|
24
|
+
picture: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
25
|
+
large: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
|
+
small: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27
|
+
medium: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28
|
+
}, z.core.$loose>>>;
|
|
29
|
+
last_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
30
|
+
first_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
31
|
+
custom_picture: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
32
|
+
registration_status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
33
|
+
}, z.core.$loose>>>>;
|
|
34
|
+
created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
35
|
+
group_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
36
|
+
updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
37
|
+
whiteboard: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
38
|
+
cover_photo: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
39
|
+
xlarge: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
40
|
+
xxlarge: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
41
|
+
}, z.core.$loose>>>;
|
|
42
|
+
invite_link: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
43
|
+
tall_avatar: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
44
|
+
large: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
45
|
+
xlarge: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
46
|
+
}, z.core.$loose>>>;
|
|
47
|
+
custom_avatar: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
48
|
+
original_debts: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
49
|
+
to: z.ZodNullable<z.ZodNumber>;
|
|
50
|
+
from: z.ZodNullable<z.ZodNumber>;
|
|
51
|
+
amount: z.ZodNullable<z.ZodString>;
|
|
52
|
+
currency_code: z.ZodNullable<z.ZodString>;
|
|
53
|
+
}, z.core.$loose>>>>;
|
|
54
|
+
simplified_debts: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
55
|
+
to: z.ZodNullable<z.ZodNumber>;
|
|
56
|
+
from: z.ZodNullable<z.ZodNumber>;
|
|
57
|
+
amount: z.ZodNullable<z.ZodString>;
|
|
58
|
+
currency_code: z.ZodNullable<z.ZodString>;
|
|
59
|
+
}, z.core.$loose>>>>;
|
|
60
|
+
simplify_by_default: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
61
|
+
whiteboard_updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
62
|
+
whiteboard_updated_by: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
63
|
+
whiteboard_lock_version: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
64
|
+
}, z.core.$loose>>;
|
|
65
|
+
}, z.core.$loose>;
|
|
66
|
+
declare const splitwiseGetGroups: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
67
|
//#endregion
|
|
8
68
|
export { splitwiseGetGroups };
|
|
9
69
|
//# sourceMappingURL=get-groups.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-groups.d.cts","names":[],"sources":["../../src/actions/get-groups.ts"],"mappings":";;;cAIa,uBAAA,
|
|
1
|
+
{"version":3,"file":"get-groups.d.cts","names":[],"sources":["../../src/actions/get-groups.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cA8DvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAIxB,kBAAA,gCAAkB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -1,9 +1,69 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-groups.d.ts
|
|
4
|
-
declare const SplitwiseGetGroupsInput: z.
|
|
5
|
-
declare const SplitwiseGetGroupsOutput: z.
|
|
6
|
-
|
|
4
|
+
declare const SplitwiseGetGroupsInput: z.ZodObject<{}, z.core.$strip>;
|
|
5
|
+
declare const SplitwiseGetGroupsOutput: z.ZodObject<{
|
|
6
|
+
groups: z.ZodArray<z.ZodObject<{
|
|
7
|
+
id: z.ZodNullable<z.ZodNumber>;
|
|
8
|
+
name: z.ZodNullable<z.ZodString>;
|
|
9
|
+
avatar: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
10
|
+
large: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
|
+
small: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
|
+
medium: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
+
xlarge: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
xxlarge: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
+
original: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
+
}, z.core.$loose>>>;
|
|
17
|
+
members: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
18
|
+
id: z.ZodNullable<z.ZodNumber>;
|
|
19
|
+
email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
|
+
balance: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
21
|
+
amount: z.ZodNullable<z.ZodString>;
|
|
22
|
+
currency_code: z.ZodNullable<z.ZodString>;
|
|
23
|
+
}, z.core.$loose>>>>;
|
|
24
|
+
picture: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
25
|
+
large: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
|
+
small: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27
|
+
medium: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28
|
+
}, z.core.$loose>>>;
|
|
29
|
+
last_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
30
|
+
first_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
31
|
+
custom_picture: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
32
|
+
registration_status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
33
|
+
}, z.core.$loose>>>>;
|
|
34
|
+
created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
35
|
+
group_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
36
|
+
updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
37
|
+
whiteboard: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
38
|
+
cover_photo: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
39
|
+
xlarge: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
40
|
+
xxlarge: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
41
|
+
}, z.core.$loose>>>;
|
|
42
|
+
invite_link: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
43
|
+
tall_avatar: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
44
|
+
large: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
45
|
+
xlarge: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
46
|
+
}, z.core.$loose>>>;
|
|
47
|
+
custom_avatar: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
48
|
+
original_debts: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
49
|
+
to: z.ZodNullable<z.ZodNumber>;
|
|
50
|
+
from: z.ZodNullable<z.ZodNumber>;
|
|
51
|
+
amount: z.ZodNullable<z.ZodString>;
|
|
52
|
+
currency_code: z.ZodNullable<z.ZodString>;
|
|
53
|
+
}, z.core.$loose>>>>;
|
|
54
|
+
simplified_debts: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
55
|
+
to: z.ZodNullable<z.ZodNumber>;
|
|
56
|
+
from: z.ZodNullable<z.ZodNumber>;
|
|
57
|
+
amount: z.ZodNullable<z.ZodString>;
|
|
58
|
+
currency_code: z.ZodNullable<z.ZodString>;
|
|
59
|
+
}, z.core.$loose>>>>;
|
|
60
|
+
simplify_by_default: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
61
|
+
whiteboard_updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
62
|
+
whiteboard_updated_by: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
63
|
+
whiteboard_lock_version: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
64
|
+
}, z.core.$loose>>;
|
|
65
|
+
}, z.core.$loose>;
|
|
66
|
+
declare const splitwiseGetGroups: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
67
|
//#endregion
|
|
8
68
|
export { splitwiseGetGroups };
|
|
9
69
|
//# sourceMappingURL=get-groups.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-groups.d.mts","names":[],"sources":["../../src/actions/get-groups.ts"],"mappings":";;;cAIa,uBAAA,
|
|
1
|
+
{"version":3,"file":"get-groups.d.mts","names":[],"sources":["../../src/actions/get-groups.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cA8DvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAIxB,kBAAA,gCAAkB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|