@keystrokehq/splitwise 0.1.0 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (215) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/add-friend.cjs +5 -5
  4. package/dist/actions/add-friend.cjs.map +1 -1
  5. package/dist/actions/add-friend.d.cts +38 -3
  6. package/dist/actions/add-friend.d.cts.map +1 -1
  7. package/dist/actions/add-friend.d.mts +38 -3
  8. package/dist/actions/add-friend.d.mts.map +1 -1
  9. package/dist/actions/add-friend.mjs +5 -5
  10. package/dist/actions/add-friend.mjs.map +1 -1
  11. package/dist/actions/add-user-to-group.cjs +2 -2
  12. package/dist/actions/add-user-to-group.cjs.map +1 -1
  13. package/dist/actions/add-user-to-group.d.cts +26 -3
  14. package/dist/actions/add-user-to-group.d.cts.map +1 -1
  15. package/dist/actions/add-user-to-group.d.mts +26 -3
  16. package/dist/actions/add-user-to-group.d.mts.map +1 -1
  17. package/dist/actions/add-user-to-group.mjs +2 -2
  18. package/dist/actions/add-user-to-group.mjs.map +1 -1
  19. package/dist/actions/create-comment.cjs +7 -7
  20. package/dist/actions/create-comment.cjs.map +1 -1
  21. package/dist/actions/create-comment.d.cts +30 -3
  22. package/dist/actions/create-comment.d.cts.map +1 -1
  23. package/dist/actions/create-comment.d.mts +30 -3
  24. package/dist/actions/create-comment.d.mts.map +1 -1
  25. package/dist/actions/create-comment.mjs +7 -7
  26. package/dist/actions/create-comment.mjs.map +1 -1
  27. package/dist/actions/create-expense.cjs +25 -25
  28. package/dist/actions/create-expense.cjs.map +1 -1
  29. package/dist/actions/create-expense.d.cts +127 -3
  30. package/dist/actions/create-expense.d.cts.map +1 -1
  31. package/dist/actions/create-expense.d.mts +127 -3
  32. package/dist/actions/create-expense.d.mts.map +1 -1
  33. package/dist/actions/create-expense.mjs +25 -25
  34. package/dist/actions/create-expense.mjs.map +1 -1
  35. package/dist/actions/create-friends.cjs +4 -4
  36. package/dist/actions/create-friends.cjs.map +1 -1
  37. package/dist/actions/create-friends.d.cts +42 -3
  38. package/dist/actions/create-friends.d.cts.map +1 -1
  39. package/dist/actions/create-friends.d.mts +42 -3
  40. package/dist/actions/create-friends.d.mts.map +1 -1
  41. package/dist/actions/create-friends.mjs +4 -4
  42. package/dist/actions/create-friends.mjs.map +1 -1
  43. package/dist/actions/create-group.cjs.map +1 -1
  44. package/dist/actions/create-group.d.cts +75 -3
  45. package/dist/actions/create-group.d.cts.map +1 -1
  46. package/dist/actions/create-group.d.mts +75 -3
  47. package/dist/actions/create-group.d.mts.map +1 -1
  48. package/dist/actions/create-group.mjs.map +1 -1
  49. package/dist/actions/delete-comment.cjs +7 -7
  50. package/dist/actions/delete-comment.cjs.map +1 -1
  51. package/dist/actions/delete-comment.d.cts +30 -3
  52. package/dist/actions/delete-comment.d.cts.map +1 -1
  53. package/dist/actions/delete-comment.d.mts +30 -3
  54. package/dist/actions/delete-comment.d.mts.map +1 -1
  55. package/dist/actions/delete-comment.mjs +7 -7
  56. package/dist/actions/delete-comment.mjs.map +1 -1
  57. package/dist/actions/delete-expense.cjs +1 -1
  58. package/dist/actions/delete-expense.cjs.map +1 -1
  59. package/dist/actions/delete-expense.d.cts +10 -3
  60. package/dist/actions/delete-expense.d.cts.map +1 -1
  61. package/dist/actions/delete-expense.d.mts +10 -3
  62. package/dist/actions/delete-expense.d.mts.map +1 -1
  63. package/dist/actions/delete-expense.mjs +1 -1
  64. package/dist/actions/delete-expense.mjs.map +1 -1
  65. package/dist/actions/delete-friend.cjs +1 -1
  66. package/dist/actions/delete-friend.cjs.map +1 -1
  67. package/dist/actions/delete-friend.d.cts +10 -3
  68. package/dist/actions/delete-friend.d.cts.map +1 -1
  69. package/dist/actions/delete-friend.d.mts +10 -3
  70. package/dist/actions/delete-friend.d.mts.map +1 -1
  71. package/dist/actions/delete-friend.mjs +1 -1
  72. package/dist/actions/delete-friend.mjs.map +1 -1
  73. package/dist/actions/delete-group.cjs +1 -1
  74. package/dist/actions/delete-group.cjs.map +1 -1
  75. package/dist/actions/delete-group.d.cts +10 -3
  76. package/dist/actions/delete-group.d.cts.map +1 -1
  77. package/dist/actions/delete-group.d.mts +10 -3
  78. package/dist/actions/delete-group.d.mts.map +1 -1
  79. package/dist/actions/delete-group.mjs +1 -1
  80. package/dist/actions/delete-group.mjs.map +1 -1
  81. package/dist/actions/get-categories.cjs +4 -4
  82. package/dist/actions/get-categories.cjs.map +1 -1
  83. package/dist/actions/get-categories.d.cts +12 -3
  84. package/dist/actions/get-categories.d.cts.map +1 -1
  85. package/dist/actions/get-categories.d.mts +12 -3
  86. package/dist/actions/get-categories.d.mts.map +1 -1
  87. package/dist/actions/get-categories.mjs +4 -4
  88. package/dist/actions/get-categories.mjs.map +1 -1
  89. package/dist/actions/get-comments.cjs +7 -7
  90. package/dist/actions/get-comments.cjs.map +1 -1
  91. package/dist/actions/get-comments.d.cts +30 -3
  92. package/dist/actions/get-comments.d.cts.map +1 -1
  93. package/dist/actions/get-comments.d.mts +30 -3
  94. package/dist/actions/get-comments.d.mts.map +1 -1
  95. package/dist/actions/get-comments.mjs +7 -7
  96. package/dist/actions/get-comments.mjs.map +1 -1
  97. package/dist/actions/get-currencies.cjs +2 -2
  98. package/dist/actions/get-currencies.cjs.map +1 -1
  99. package/dist/actions/get-currencies.d.cts +8 -3
  100. package/dist/actions/get-currencies.d.cts.map +1 -1
  101. package/dist/actions/get-currencies.d.mts +8 -3
  102. package/dist/actions/get-currencies.d.mts.map +1 -1
  103. package/dist/actions/get-currencies.mjs +2 -2
  104. package/dist/actions/get-currencies.mjs.map +1 -1
  105. package/dist/actions/get-current-user.cjs +20 -20
  106. package/dist/actions/get-current-user.cjs.map +1 -1
  107. package/dist/actions/get-current-user.d.cts +35 -3
  108. package/dist/actions/get-current-user.d.cts.map +1 -1
  109. package/dist/actions/get-current-user.d.mts +35 -3
  110. package/dist/actions/get-current-user.d.mts.map +1 -1
  111. package/dist/actions/get-current-user.mjs +20 -20
  112. package/dist/actions/get-current-user.mjs.map +1 -1
  113. package/dist/actions/get-expense.cjs +19 -19
  114. package/dist/actions/get-expense.cjs.map +1 -1
  115. package/dist/actions/get-expense.d.cts +124 -3
  116. package/dist/actions/get-expense.d.cts.map +1 -1
  117. package/dist/actions/get-expense.d.mts +124 -3
  118. package/dist/actions/get-expense.d.mts.map +1 -1
  119. package/dist/actions/get-expense.mjs +19 -19
  120. package/dist/actions/get-expense.mjs.map +1 -1
  121. package/dist/actions/get-expenses.cjs +19 -19
  122. package/dist/actions/get-expenses.cjs.map +1 -1
  123. package/dist/actions/get-expenses.d.cts +140 -3
  124. package/dist/actions/get-expenses.d.cts.map +1 -1
  125. package/dist/actions/get-expenses.d.mts +140 -3
  126. package/dist/actions/get-expenses.d.mts.map +1 -1
  127. package/dist/actions/get-expenses.mjs +19 -19
  128. package/dist/actions/get-expenses.mjs.map +1 -1
  129. package/dist/actions/get-friend.cjs +7 -7
  130. package/dist/actions/get-friend.cjs.map +1 -1
  131. package/dist/actions/get-friend.d.cts +33 -3
  132. package/dist/actions/get-friend.d.cts.map +1 -1
  133. package/dist/actions/get-friend.d.mts +33 -3
  134. package/dist/actions/get-friend.d.mts.map +1 -1
  135. package/dist/actions/get-friend.mjs +7 -7
  136. package/dist/actions/get-friend.mjs.map +1 -1
  137. package/dist/actions/get-friends.cjs +7 -7
  138. package/dist/actions/get-friends.cjs.map +1 -1
  139. package/dist/actions/get-friends.d.cts +29 -3
  140. package/dist/actions/get-friends.d.cts.map +1 -1
  141. package/dist/actions/get-friends.d.mts +29 -3
  142. package/dist/actions/get-friends.d.mts.map +1 -1
  143. package/dist/actions/get-friends.mjs +7 -7
  144. package/dist/actions/get-friends.mjs.map +1 -1
  145. package/dist/actions/get-group.cjs +9 -9
  146. package/dist/actions/get-group.cjs.map +1 -1
  147. package/dist/actions/get-group.d.cts +68 -3
  148. package/dist/actions/get-group.d.cts.map +1 -1
  149. package/dist/actions/get-group.d.mts +68 -3
  150. package/dist/actions/get-group.d.mts.map +1 -1
  151. package/dist/actions/get-group.mjs +9 -9
  152. package/dist/actions/get-group.mjs.map +1 -1
  153. package/dist/actions/get-groups.cjs +9 -9
  154. package/dist/actions/get-groups.cjs.map +1 -1
  155. package/dist/actions/get-groups.d.cts +63 -3
  156. package/dist/actions/get-groups.d.cts.map +1 -1
  157. package/dist/actions/get-groups.d.mts +63 -3
  158. package/dist/actions/get-groups.d.mts.map +1 -1
  159. package/dist/actions/get-groups.mjs +9 -9
  160. package/dist/actions/get-groups.mjs.map +1 -1
  161. package/dist/actions/get-notifications.cjs +4 -4
  162. package/dist/actions/get-notifications.cjs.map +1 -1
  163. package/dist/actions/get-notifications.d.cts +24 -3
  164. package/dist/actions/get-notifications.d.cts.map +1 -1
  165. package/dist/actions/get-notifications.d.mts +24 -3
  166. package/dist/actions/get-notifications.d.mts.map +1 -1
  167. package/dist/actions/get-notifications.mjs +4 -4
  168. package/dist/actions/get-notifications.mjs.map +1 -1
  169. package/dist/actions/get-user.cjs +1 -1
  170. package/dist/actions/get-user.cjs.map +1 -1
  171. package/dist/actions/get-user.d.cts +21 -3
  172. package/dist/actions/get-user.d.cts.map +1 -1
  173. package/dist/actions/get-user.d.mts +21 -3
  174. package/dist/actions/get-user.d.mts.map +1 -1
  175. package/dist/actions/get-user.mjs +1 -1
  176. package/dist/actions/get-user.mjs.map +1 -1
  177. package/dist/actions/remove-user-from-group.cjs +1 -1
  178. package/dist/actions/remove-user-from-group.cjs.map +1 -1
  179. package/dist/actions/remove-user-from-group.d.cts +12 -3
  180. package/dist/actions/remove-user-from-group.d.cts.map +1 -1
  181. package/dist/actions/remove-user-from-group.d.mts +12 -3
  182. package/dist/actions/remove-user-from-group.d.mts.map +1 -1
  183. package/dist/actions/remove-user-from-group.mjs +1 -1
  184. package/dist/actions/remove-user-from-group.mjs.map +1 -1
  185. package/dist/actions/undelete-expense.cjs +1 -1
  186. package/dist/actions/undelete-expense.cjs.map +1 -1
  187. package/dist/actions/undelete-expense.d.cts +10 -3
  188. package/dist/actions/undelete-expense.d.cts.map +1 -1
  189. package/dist/actions/undelete-expense.d.mts +10 -3
  190. package/dist/actions/undelete-expense.d.mts.map +1 -1
  191. package/dist/actions/undelete-expense.mjs +1 -1
  192. package/dist/actions/undelete-expense.mjs.map +1 -1
  193. package/dist/actions/undelete-group.cjs +1 -1
  194. package/dist/actions/undelete-group.cjs.map +1 -1
  195. package/dist/actions/undelete-group.d.cts +10 -3
  196. package/dist/actions/undelete-group.d.cts.map +1 -1
  197. package/dist/actions/undelete-group.d.mts +10 -3
  198. package/dist/actions/undelete-group.d.mts.map +1 -1
  199. package/dist/actions/undelete-group.mjs +1 -1
  200. package/dist/actions/undelete-group.mjs.map +1 -1
  201. package/dist/actions/update-expense.cjs.map +1 -1
  202. package/dist/actions/update-expense.d.cts +48 -3
  203. package/dist/actions/update-expense.d.cts.map +1 -1
  204. package/dist/actions/update-expense.d.mts +48 -3
  205. package/dist/actions/update-expense.d.mts.map +1 -1
  206. package/dist/actions/update-expense.mjs.map +1 -1
  207. package/dist/actions/update-user.cjs +1 -1
  208. package/dist/actions/update-user.cjs.map +1 -1
  209. package/dist/actions/update-user.d.cts +51 -3
  210. package/dist/actions/update-user.d.cts.map +1 -1
  211. package/dist/actions/update-user.d.mts +51 -3
  212. package/dist/actions/update-user.d.mts.map +1 -1
  213. package/dist/actions/update-user.mjs +1 -1
  214. package/dist/actions/update-user.mjs.map +1 -1
  215. package/package.json +2 -2
@@ -11,12 +11,12 @@ const SplitwiseGetNotifications_SourceObjectSchema = zod.z.object({
11
11
  type: zod.z.string().describe("Type of the source object.").nullable().optional()
12
12
  }).describe("Represents the source object associated with a notification.");
13
13
  const SplitwiseGetNotifications_NotificationObjectSchema = zod.z.object({
14
- id: zod.z.number().int().describe("Unique notification identifier."),
15
- type: zod.z.number().int().describe("Numeric type indicating what the notification is about. Notification types may be added in the future without warning."),
14
+ id: zod.z.number().int().describe("Unique notification identifier.").nullable(),
15
+ type: zod.z.number().int().describe("Numeric type indicating what the notification is about. Notification types may be added in the future without warning.").nullable(),
16
16
  source: SplitwiseGetNotifications_SourceObjectSchema.nullable().optional(),
17
- content: zod.z.string().describe("HTML content suitable for display. Uses only <strong>, <strike>, <small>, <br>, and <font color> tags."),
17
+ content: zod.z.string().describe("HTML content suitable for display. Uses only <strong>, <strike>, <small>, <br>, and <font color> tags.").nullable(),
18
18
  image_url: zod.z.string().describe("URL of the image associated with the notification.").nullable().optional(),
19
- created_at: zod.z.string().describe("Timestamp when the notification was created."),
19
+ created_at: zod.z.string().describe("Timestamp when the notification was created.").nullable(),
20
20
  created_by: zod.z.number().int().describe("User ID of the user who created the notification.").nullable().optional(),
21
21
  image_shape: zod.z.string().describe("Shape of the notification image (e.g., 'square', 'circle').").nullable().optional()
22
22
  }).describe("Represents a notification object with activity details.");
@@ -1 +1 @@
1
- {"version":3,"file":"get-notifications.cjs","names":["z","action"],"sources":["../../src/actions/get-notifications.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SplitwiseGetNotificationsInput: z.ZodTypeAny = z.object({\n limit: z.number().int().describe(\"Maximum number of notifications to return. Omit or provide 0 to get the maximum number of notifications. The server sets arbitrary (but large) limits on the number returned.\").optional(),\n updated_after: z.string().describe(\"If provided, returns only notifications after this time. Must be ISO 8601 datetime format.\").optional(),\n}).describe(\"Request model for retrieving notifications.\");\nconst SplitwiseGetNotifications_SourceObjectSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"ID of the source object.\").nullable().optional(),\n url: z.string().describe(\"URL of the source object.\").nullable().optional(),\n type: z.string().describe(\"Type of the source object.\").nullable().optional(),\n}).describe(\"Represents the source object associated with a notification.\");\nconst SplitwiseGetNotifications_NotificationObjectSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique notification identifier.\"),\n type: z.number().int().describe(\"Numeric type indicating what the notification is about. Notification types may be added in the future without warning.\"),\n source: SplitwiseGetNotifications_SourceObjectSchema.nullable().optional(),\n content: z.string().describe(\"HTML content suitable for display. Uses only <strong>, <strike>, <small>, <br>, and <font color> tags.\"),\n image_url: z.string().describe(\"URL of the image associated with the notification.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the notification was created.\"),\n created_by: z.number().int().describe(\"User ID of the user who created the notification.\").nullable().optional(),\n image_shape: z.string().describe(\"Shape of the notification image (e.g., 'square', 'circle').\").nullable().optional(),\n}).describe(\"Represents a notification object with activity details.\");\nexport const SplitwiseGetNotificationsOutput: z.ZodTypeAny = z.object({\n notifications: z.array(SplitwiseGetNotifications_NotificationObjectSchema).describe(\"Array of notification objects with the most recent items first.\"),\n}).describe(\"Response model for retrieving notifications.\");\n\nexport const splitwiseGetNotifications = action(\"SPLITWISE_GET_NOTIFICATIONS\", {\n slug: \"splitwise-get-notifications\",\n name: \"Get Notifications\",\n description: \"Tool to retrieve recent activity notifications from the user's Splitwise account. Returns notifications with HTML content suitable for display, with the most recent items first. Use when you need to view recent account activity or updates.\",\n input: SplitwiseGetNotificationsInput,\n output: SplitwiseGetNotificationsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAA+CA,IAAAA,EAAE,OAAO;CACnE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+KAA+K,CAAC,CAAC,SAAS;CAC3N,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4FAA4F,CAAC,CAAC,SAAS;AAC5I,CAAC,CAAC,CAAC,SAAS,6CAA6C;AACzD,MAAM,+CAA6DA,IAAAA,EAAE,OAAO;CAC1E,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9E,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAC1E,MAAM,qDAAmEA,IAAAA,EAAE,OAAO;CAChF,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC;CAC/D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wHAAwH;CACxJ,QAAQ,6CAA6C,SAAS,CAAC,CAAC,SAAS;CACzE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wGAAwG;CACrI,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;CAC9E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtH,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrE,MAAa,kCAAgDA,IAAAA,EAAE,OAAO,EACpE,eAAeA,IAAAA,EAAE,MAAM,kDAAkD,CAAC,CAAC,SAAS,iEAAiE,EACvJ,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAE1D,MAAa,4BAA4BC,eAAAA,OAAO,+BAA+B;CAC7E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-notifications.cjs","names":["z","action"],"sources":["../../src/actions/get-notifications.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SplitwiseGetNotificationsInput = z.object({\n limit: z.number().int().describe(\"Maximum number of notifications to return. Omit or provide 0 to get the maximum number of notifications. The server sets arbitrary (but large) limits on the number returned.\").optional(),\n updated_after: z.string().describe(\"If provided, returns only notifications after this time. Must be ISO 8601 datetime format.\").optional(),\n}).describe(\"Request model for retrieving notifications.\");\nconst SplitwiseGetNotifications_SourceObjectSchema = z.object({\n id: z.number().int().describe(\"ID of the source object.\").nullable().optional(),\n url: z.string().describe(\"URL of the source object.\").nullable().optional(),\n type: z.string().describe(\"Type of the source object.\").nullable().optional(),\n}).describe(\"Represents the source object associated with a notification.\");\nconst SplitwiseGetNotifications_NotificationObjectSchema = z.object({\n id: z.number().int().describe(\"Unique notification identifier.\").nullable(),\n type: z.number().int().describe(\"Numeric type indicating what the notification is about. Notification types may be added in the future without warning.\").nullable(),\n source: SplitwiseGetNotifications_SourceObjectSchema.nullable().optional(),\n content: z.string().describe(\"HTML content suitable for display. Uses only <strong>, <strike>, <small>, <br>, and <font color> tags.\").nullable(),\n image_url: z.string().describe(\"URL of the image associated with the notification.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the notification was created.\").nullable(),\n created_by: z.number().int().describe(\"User ID of the user who created the notification.\").nullable().optional(),\n image_shape: z.string().describe(\"Shape of the notification image (e.g., 'square', 'circle').\").nullable().optional(),\n}).describe(\"Represents a notification object with activity details.\");\nexport const SplitwiseGetNotificationsOutput = z.object({\n notifications: z.array(SplitwiseGetNotifications_NotificationObjectSchema).describe(\"Array of notification objects with the most recent items first.\"),\n}).describe(\"Response model for retrieving notifications.\");\n\nexport const splitwiseGetNotifications = action(\"SPLITWISE_GET_NOTIFICATIONS\", {\n slug: \"splitwise-get-notifications\",\n name: \"Get Notifications\",\n description: \"Tool to retrieve recent activity notifications from the user's Splitwise account. Returns notifications with HTML content suitable for display, with the most recent items first. Use when you need to view recent account activity or updates.\",\n input: SplitwiseGetNotificationsInput,\n output: SplitwiseGetNotificationsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;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AC,SAAS;CAC/G,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtH,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrE,MAAa,kCAAkCA,IAAAA,EAAE,OAAO,EACtD,eAAeA,IAAAA,EAAE,MAAM,kDAAkD,CAAC,CAAC,SAAS,iEAAiE,EACvJ,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAE1D,MAAa,4BAA4BC,eAAAA,OAAO,+BAA+B;CAC7E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,30 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-notifications.d.ts
4
- declare const SplitwiseGetNotificationsInput: z.ZodTypeAny;
5
- declare const SplitwiseGetNotificationsOutput: z.ZodTypeAny;
6
- declare const splitwiseGetNotifications: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SplitwiseGetNotificationsInput: z.ZodObject<{
5
+ limit: z.ZodOptional<z.ZodNumber>;
6
+ updated_after: z.ZodOptional<z.ZodString>;
7
+ }, z.core.$strip>;
8
+ declare const SplitwiseGetNotificationsOutput: z.ZodObject<{
9
+ notifications: z.ZodArray<z.ZodObject<{
10
+ id: z.ZodNullable<z.ZodNumber>;
11
+ type: z.ZodNullable<z.ZodNumber>;
12
+ source: z.ZodOptional<z.ZodNullable<z.ZodObject<{
13
+ id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
14
+ url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
+ type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
+ }, z.core.$strip>>>;
17
+ content: z.ZodNullable<z.ZodString>;
18
+ image_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
+ created_at: z.ZodNullable<z.ZodString>;
20
+ created_by: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
21
+ image_shape: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
+ }, z.core.$strip>>;
23
+ }, z.core.$strip>;
24
+ declare const splitwiseGetNotifications: import("@keystrokehq/action").WorkflowActionDefinition<{
25
+ limit?: number | undefined;
26
+ updated_after?: string | undefined;
27
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
28
  //#endregion
8
29
  export { splitwiseGetNotifications };
9
30
  //# sourceMappingURL=get-notifications.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-notifications.d.cts","names":[],"sources":["../../src/actions/get-notifications.ts"],"mappings":";;;cAIa,8BAAA,EAAgC,CAAA,CAAE,UAGW;AAAA,cAgB7C,+BAAA,EAAiC,CAAA,CAAE,UAEW;AAAA,cAE9C,yBAAA,gCAAyB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-notifications.d.cts","names":[],"sources":["../../src/actions/get-notifications.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;cAmB9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAI/B,yBAAA,gCAAyB,wBAAA"}
@@ -1,9 +1,30 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-notifications.d.ts
4
- declare const SplitwiseGetNotificationsInput: z.ZodTypeAny;
5
- declare const SplitwiseGetNotificationsOutput: z.ZodTypeAny;
6
- declare const splitwiseGetNotifications: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SplitwiseGetNotificationsInput: z.ZodObject<{
5
+ limit: z.ZodOptional<z.ZodNumber>;
6
+ updated_after: z.ZodOptional<z.ZodString>;
7
+ }, z.core.$strip>;
8
+ declare const SplitwiseGetNotificationsOutput: z.ZodObject<{
9
+ notifications: z.ZodArray<z.ZodObject<{
10
+ id: z.ZodNullable<z.ZodNumber>;
11
+ type: z.ZodNullable<z.ZodNumber>;
12
+ source: z.ZodOptional<z.ZodNullable<z.ZodObject<{
13
+ id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
14
+ url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
+ type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
+ }, z.core.$strip>>>;
17
+ content: z.ZodNullable<z.ZodString>;
18
+ image_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
+ created_at: z.ZodNullable<z.ZodString>;
20
+ created_by: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
21
+ image_shape: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
+ }, z.core.$strip>>;
23
+ }, z.core.$strip>;
24
+ declare const splitwiseGetNotifications: import("@keystrokehq/action").WorkflowActionDefinition<{
25
+ limit?: number | undefined;
26
+ updated_after?: string | undefined;
27
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
28
  //#endregion
8
29
  export { splitwiseGetNotifications };
9
30
  //# sourceMappingURL=get-notifications.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-notifications.d.mts","names":[],"sources":["../../src/actions/get-notifications.ts"],"mappings":";;;cAIa,8BAAA,EAAgC,CAAA,CAAE,UAGW;AAAA,cAgB7C,+BAAA,EAAiC,CAAA,CAAE,UAEW;AAAA,cAE9C,yBAAA,gCAAyB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-notifications.d.mts","names":[],"sources":["../../src/actions/get-notifications.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;cAmB9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAI/B,yBAAA,gCAAyB,wBAAA"}
@@ -11,12 +11,12 @@ const SplitwiseGetNotifications_SourceObjectSchema = z.object({
11
11
  type: z.string().describe("Type of the source object.").nullable().optional()
12
12
  }).describe("Represents the source object associated with a notification.");
13
13
  const SplitwiseGetNotifications_NotificationObjectSchema = z.object({
14
- id: z.number().int().describe("Unique notification identifier."),
15
- type: z.number().int().describe("Numeric type indicating what the notification is about. Notification types may be added in the future without warning."),
14
+ id: z.number().int().describe("Unique notification identifier.").nullable(),
15
+ type: z.number().int().describe("Numeric type indicating what the notification is about. Notification types may be added in the future without warning.").nullable(),
16
16
  source: SplitwiseGetNotifications_SourceObjectSchema.nullable().optional(),
17
- content: z.string().describe("HTML content suitable for display. Uses only <strong>, <strike>, <small>, <br>, and <font color> tags."),
17
+ content: z.string().describe("HTML content suitable for display. Uses only <strong>, <strike>, <small>, <br>, and <font color> tags.").nullable(),
18
18
  image_url: z.string().describe("URL of the image associated with the notification.").nullable().optional(),
19
- created_at: z.string().describe("Timestamp when the notification was created."),
19
+ created_at: z.string().describe("Timestamp when the notification was created.").nullable(),
20
20
  created_by: z.number().int().describe("User ID of the user who created the notification.").nullable().optional(),
21
21
  image_shape: z.string().describe("Shape of the notification image (e.g., 'square', 'circle').").nullable().optional()
22
22
  }).describe("Represents a notification object with activity details.");
@@ -1 +1 @@
1
- {"version":3,"file":"get-notifications.mjs","names":[],"sources":["../../src/actions/get-notifications.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SplitwiseGetNotificationsInput: z.ZodTypeAny = z.object({\n limit: z.number().int().describe(\"Maximum number of notifications to return. Omit or provide 0 to get the maximum number of notifications. The server sets arbitrary (but large) limits on the number returned.\").optional(),\n updated_after: z.string().describe(\"If provided, returns only notifications after this time. Must be ISO 8601 datetime format.\").optional(),\n}).describe(\"Request model for retrieving notifications.\");\nconst SplitwiseGetNotifications_SourceObjectSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"ID of the source object.\").nullable().optional(),\n url: z.string().describe(\"URL of the source object.\").nullable().optional(),\n type: z.string().describe(\"Type of the source object.\").nullable().optional(),\n}).describe(\"Represents the source object associated with a notification.\");\nconst SplitwiseGetNotifications_NotificationObjectSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique notification identifier.\"),\n type: z.number().int().describe(\"Numeric type indicating what the notification is about. Notification types may be added in the future without warning.\"),\n source: SplitwiseGetNotifications_SourceObjectSchema.nullable().optional(),\n content: z.string().describe(\"HTML content suitable for display. Uses only <strong>, <strike>, <small>, <br>, and <font color> tags.\"),\n image_url: z.string().describe(\"URL of the image associated with the notification.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the notification was created.\"),\n created_by: z.number().int().describe(\"User ID of the user who created the notification.\").nullable().optional(),\n image_shape: z.string().describe(\"Shape of the notification image (e.g., 'square', 'circle').\").nullable().optional(),\n}).describe(\"Represents a notification object with activity details.\");\nexport const SplitwiseGetNotificationsOutput: z.ZodTypeAny = z.object({\n notifications: z.array(SplitwiseGetNotifications_NotificationObjectSchema).describe(\"Array of notification objects with the most recent items first.\"),\n}).describe(\"Response model for retrieving notifications.\");\n\nexport const splitwiseGetNotifications = action(\"SPLITWISE_GET_NOTIFICATIONS\", {\n slug: \"splitwise-get-notifications\",\n name: \"Get Notifications\",\n description: \"Tool to retrieve recent activity notifications from the user's Splitwise account. Returns notifications with HTML content suitable for display, with the most recent items first. Use when you need to view recent account activity or updates.\",\n input: SplitwiseGetNotificationsInput,\n output: SplitwiseGetNotificationsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAA+C,EAAE,OAAO;CACnE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+KAA+K,CAAC,CAAC,SAAS;CAC3N,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,4FAA4F,CAAC,CAAC,SAA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CAOF;AACV,CAAC"}
1
+ {"version":3,"file":"get-notifications.mjs","names":[],"sources":["../../src/actions/get-notifications.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SplitwiseGetNotificationsInput = z.object({\n limit: z.number().int().describe(\"Maximum number of notifications to return. Omit or provide 0 to get the maximum number of notifications. The server sets arbitrary (but large) limits on the number returned.\").optional(),\n updated_after: z.string().describe(\"If provided, returns only notifications after this time. Must be ISO 8601 datetime format.\").optional(),\n}).describe(\"Request model for retrieving notifications.\");\nconst SplitwiseGetNotifications_SourceObjectSchema = z.object({\n id: z.number().int().describe(\"ID of the source object.\").nullable().optional(),\n url: z.string().describe(\"URL of the source object.\").nullable().optional(),\n type: z.string().describe(\"Type of the source object.\").nullable().optional(),\n}).describe(\"Represents the source object associated with a notification.\");\nconst SplitwiseGetNotifications_NotificationObjectSchema = z.object({\n id: z.number().int().describe(\"Unique notification identifier.\").nullable(),\n type: z.number().int().describe(\"Numeric type indicating what the notification is about. Notification types may be added in the future without warning.\").nullable(),\n source: SplitwiseGetNotifications_SourceObjectSchema.nullable().optional(),\n content: z.string().describe(\"HTML content suitable for display. Uses only <strong>, <strike>, <small>, <br>, and <font color> tags.\").nullable(),\n image_url: z.string().describe(\"URL of the image associated with the notification.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the notification was created.\").nullable(),\n created_by: z.number().int().describe(\"User ID of the user who created the notification.\").nullable().optional(),\n image_shape: z.string().describe(\"Shape of the notification image (e.g., 'square', 'circle').\").nullable().optional(),\n}).describe(\"Represents a notification object with activity details.\");\nexport const SplitwiseGetNotificationsOutput = z.object({\n notifications: z.array(SplitwiseGetNotifications_NotificationObjectSchema).describe(\"Array of notification objects with the most recent items first.\"),\n}).describe(\"Response model for retrieving notifications.\");\n\nexport const splitwiseGetNotifications = action(\"SPLITWISE_GET_NOTIFICATIONS\", {\n slug: \"splitwise-get-notifications\",\n name: \"Get Notifications\",\n description: \"Tool to retrieve recent activity notifications from the user's Splitwise account. Returns notifications with HTML content suitable for display, with the most recent items first. Use when you need to view recent account activity or updates.\",\n input: SplitwiseGetNotificationsInput,\n output: SplitwiseGetNotificationsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiC,EAAE,OAAO;CACrD,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+KAA+K,CAAC,CAAC,SAAS;CAC3N,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,4FAA4F,CAAC,CAAC,SAAS;AAC5I,CAAC,CAAC,CAAC,SAAS,6CAA6C;AACzD,MAAM,+CAA+C,EAAE,OAAO;CAC5D,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9E,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAC1E,MAAM,qDAAqD,EAAE,OAAO;CAClE,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CAC1E,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wHAAwH,CAAC,CAAC,SAAS;CACnK,QAAQ,6CAA6C,SAAS,CAAC,CAAC,SAAS;CACzE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,wGAAwG,CAAC,CAAC,SAAS;CAChJ,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACzF,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtH,CAAC,CAAC,CAAC,SAAS,yDAAyD;AAKrE,MAAa,4BAA4B,OAAO,+BAA+B;CAC7E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT6C,EAAE,OAAO,EACtD,eAAe,EAAE,MAAM,kDAAkD,CAAC,CAAC,SAAS,iEAAiE,EACvJ,CAAC,CAAC,CAAC,SAAS,8CAOF;AACV,CAAC"}
@@ -8,7 +8,7 @@ const SplitwiseGetUser_PictureSchema = zod.z.object({
8
8
  medium: zod.z.string().describe("URL for the medium-sized profile picture.").nullable().optional()
9
9
  }).describe("URLs for the user's profile picture in different sizes.");
10
10
  const SplitwiseGetUser_UserSchema = zod.z.object({
11
- id: zod.z.number().int().describe("Unique identifier for the user."),
11
+ id: zod.z.number().int().describe("Unique identifier for the user.").nullable(),
12
12
  email: zod.z.string().describe("User's email address.").nullable().optional(),
13
13
  picture: SplitwiseGetUser_PictureSchema.nullable().optional(),
14
14
  last_name: zod.z.string().describe("User's last name.").nullable().optional(),
@@ -1 +1 @@
1
- {"version":3,"file":"get-user.cjs","names":["z","action"],"sources":["../../src/actions/get-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SplitwiseGetUserInput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"The user ID of the person whose information you want to retrieve Prefer IDs sourced from SPLITWISE_GET_GROUP responses to ensure validity.\"),\n}).describe(\"Request schema for retrieving user information by ID.\");\nconst SplitwiseGetUser_PictureSchema: z.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 the user's profile picture in different sizes.\");\nconst SplitwiseGetUser_UserSchema: 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 picture: SplitwiseGetUser_PictureSchema.nullable().optional(),\n last_name: z.string().describe(\"User's last name.\").nullable().optional(),\n first_name: z.string().describe(\"User's first name.\").nullable().optional(),\n custom_picture: z.boolean().describe(\"Indicates whether the user has a custom profile picture.\").nullable().optional(),\n registration_status: z.string().describe(\"Registration status of the user (e.g., 'confirmed', 'dummy', 'invited').\").nullable().optional(),\n}).describe(\"Details of another user. Note: This endpoint returns only basic user information.\\nFor the authenticated user's full profile (including notifications, currency, and locale),\\nuse the get_current_user endpoint instead.\");\nexport const SplitwiseGetUserOutput: z.ZodTypeAny = z.object({\n user: SplitwiseGetUser_UserSchema.nullable(),\n}).describe(\"Response schema for user information.\");\n\nexport const splitwiseGetUser = action(\"SPLITWISE_GET_USER\", {\n slug: \"splitwise-get-user\",\n name: \"Get User Information\",\n description: \"Retrieves basic profile information about any Splitwise user by their ID. Returns the user's name, email, registration status, and profile picture. This endpoint only returns public user information. For the authenticated user's full profile (including notifications, currency preferences, and locale settings), use get_current_user instead.\",\n input: SplitwiseGetUserInput,\n output: SplitwiseGetUserOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAsCA,IAAAA,EAAE,OAAO,EAC1D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4IAA4I,EAC5K,CAAC,CAAC,CAAC,SAAS,uDAAuD;AACnE,MAAM,iCAA+CA,IAAAA,EAAE,OAAO;CAC5D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/F,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrE,MAAM,8BAA4CA,IAAAA,EAAE,OAAO;CACzD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC;CAC/D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,SAAS,+BAA+B,SAAS,CAAC,CAAC,SAAS;CAC5D,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,gBAAgBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrH,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3I,CAAC,CAAC,CAAC,SAAS,2NAA2N;AACvO,MAAa,yBAAuCA,IAAAA,EAAE,OAAO,EAC3D,MAAM,4BAA4B,SAAS,EAC7C,CAAC,CAAC,CAAC,SAAS,uCAAuC;AAEnD,MAAa,mBAAmBC,eAAAA,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-user.cjs","names":["z","action"],"sources":["../../src/actions/get-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SplitwiseGetUserInput = z.object({\n id: z.number().int().describe(\"The user ID of the person whose information you want to retrieve Prefer IDs sourced from SPLITWISE_GET_GROUP responses to ensure validity.\"),\n}).describe(\"Request schema for retrieving user information by ID.\");\nconst SplitwiseGetUser_PictureSchema = z.object({\n large: z.string().describe(\"URL for the large-sized profile picture.\").nullable().optional(),\n small: z.string().describe(\"URL for the small-sized profile picture.\").nullable().optional(),\n medium: z.string().describe(\"URL for the medium-sized profile picture.\").nullable().optional(),\n}).describe(\"URLs for the user's profile picture in different sizes.\");\nconst SplitwiseGetUser_UserSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the user.\").nullable(),\n email: z.string().describe(\"User's email address.\").nullable().optional(),\n picture: SplitwiseGetUser_PictureSchema.nullable().optional(),\n last_name: z.string().describe(\"User's last name.\").nullable().optional(),\n first_name: z.string().describe(\"User's first name.\").nullable().optional(),\n custom_picture: z.boolean().describe(\"Indicates whether the user has a custom profile picture.\").nullable().optional(),\n registration_status: z.string().describe(\"Registration status of the user (e.g., 'confirmed', 'dummy', 'invited').\").nullable().optional(),\n}).describe(\"Details of another user. Note: This endpoint returns only basic user information.\\nFor the authenticated user's full profile (including notifications, currency, and locale),\\nuse the get_current_user endpoint instead.\");\nexport const SplitwiseGetUserOutput = z.object({\n user: SplitwiseGetUser_UserSchema.nullable(),\n}).describe(\"Response schema for user information.\");\n\nexport const splitwiseGetUser = action(\"SPLITWISE_GET_USER\", {\n slug: \"splitwise-get-user\",\n name: \"Get User Information\",\n description: \"Retrieves basic profile information about any Splitwise user by their ID. Returns the user's name, email, registration status, and profile picture. This endpoint only returns public user information. For the authenticated user's full profile (including notifications, currency preferences, and locale settings), use get_current_user instead.\",\n input: SplitwiseGetUserInput,\n output: SplitwiseGetUserOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAwBA,IAAAA,EAAE,OAAO,EAC5C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4IAA4I,EAC5K,CAAC,CAAC,CAAC,SAAS,uDAAuD;AACnE,MAAM,iCAAiCA,IAAAA,EAAE,OAAO;CAC9C,OAA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;AACV,CAAC"}
@@ -1,9 +1,27 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-user.d.ts
4
- declare const SplitwiseGetUserInput: z.ZodTypeAny;
5
- declare const SplitwiseGetUserOutput: z.ZodTypeAny;
6
- declare const splitwiseGetUser: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SplitwiseGetUserInput: z.ZodObject<{
5
+ id: z.ZodNumber;
6
+ }, z.core.$strip>;
7
+ declare const SplitwiseGetUserOutput: z.ZodObject<{
8
+ user: z.ZodNullable<z.ZodObject<{
9
+ id: z.ZodNullable<z.ZodNumber>;
10
+ email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
+ picture: 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
+ }, z.core.$strip>>>;
16
+ last_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
+ first_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
+ custom_picture: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
19
+ registration_status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
+ }, z.core.$strip>>;
21
+ }, z.core.$strip>;
22
+ declare const splitwiseGetUser: import("@keystrokehq/action").WorkflowActionDefinition<{
23
+ id: number;
24
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
25
  //#endregion
8
26
  export { splitwiseGetUser };
9
27
  //# sourceMappingURL=get-user.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-user.d.cts","names":[],"sources":["../../src/actions/get-user.ts"],"mappings":";;;cAIa,qBAAA,EAAuB,CAAA,CAAE,UAE8B;AAAA,cAevD,sBAAA,EAAwB,CAAA,CAAE,UAEa;AAAA,cAEvC,gBAAA,gCAAgB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-user.d.cts","names":[],"sources":["../../src/actions/get-user.ts"],"mappings":";;;cAIa,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;cAiBrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAItB,gBAAA,gCAAgB,wBAAA"}
@@ -1,9 +1,27 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-user.d.ts
4
- declare const SplitwiseGetUserInput: z.ZodTypeAny;
5
- declare const SplitwiseGetUserOutput: z.ZodTypeAny;
6
- declare const splitwiseGetUser: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SplitwiseGetUserInput: z.ZodObject<{
5
+ id: z.ZodNumber;
6
+ }, z.core.$strip>;
7
+ declare const SplitwiseGetUserOutput: z.ZodObject<{
8
+ user: z.ZodNullable<z.ZodObject<{
9
+ id: z.ZodNullable<z.ZodNumber>;
10
+ email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
+ picture: 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
+ }, z.core.$strip>>>;
16
+ last_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
+ first_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
+ custom_picture: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
19
+ registration_status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
+ }, z.core.$strip>>;
21
+ }, z.core.$strip>;
22
+ declare const splitwiseGetUser: import("@keystrokehq/action").WorkflowActionDefinition<{
23
+ id: number;
24
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
25
  //#endregion
8
26
  export { splitwiseGetUser };
9
27
  //# sourceMappingURL=get-user.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-user.d.mts","names":[],"sources":["../../src/actions/get-user.ts"],"mappings":";;;cAIa,qBAAA,EAAuB,CAAA,CAAE,UAE8B;AAAA,cAevD,sBAAA,EAAwB,CAAA,CAAE,UAEa;AAAA,cAEvC,gBAAA,gCAAgB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-user.d.mts","names":[],"sources":["../../src/actions/get-user.ts"],"mappings":";;;cAIa,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;cAiBrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAItB,gBAAA,gCAAgB,wBAAA"}
@@ -8,7 +8,7 @@ const SplitwiseGetUser_PictureSchema = z.object({
8
8
  medium: z.string().describe("URL for the medium-sized profile picture.").nullable().optional()
9
9
  }).describe("URLs for the user's profile picture in different sizes.");
10
10
  const SplitwiseGetUser_UserSchema = z.object({
11
- id: z.number().int().describe("Unique identifier for the user."),
11
+ id: z.number().int().describe("Unique identifier for the user.").nullable(),
12
12
  email: z.string().describe("User's email address.").nullable().optional(),
13
13
  picture: SplitwiseGetUser_PictureSchema.nullable().optional(),
14
14
  last_name: z.string().describe("User's last name.").nullable().optional(),
@@ -1 +1 @@
1
- {"version":3,"file":"get-user.mjs","names":[],"sources":["../../src/actions/get-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SplitwiseGetUserInput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"The user ID of the person whose information you want to retrieve Prefer IDs sourced from SPLITWISE_GET_GROUP responses to ensure validity.\"),\n}).describe(\"Request schema for retrieving user information by ID.\");\nconst SplitwiseGetUser_PictureSchema: z.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 the user's profile picture in different sizes.\");\nconst SplitwiseGetUser_UserSchema: 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 picture: SplitwiseGetUser_PictureSchema.nullable().optional(),\n last_name: z.string().describe(\"User's last name.\").nullable().optional(),\n first_name: z.string().describe(\"User's first name.\").nullable().optional(),\n custom_picture: z.boolean().describe(\"Indicates whether the user has a custom profile picture.\").nullable().optional(),\n registration_status: z.string().describe(\"Registration status of the user (e.g., 'confirmed', 'dummy', 'invited').\").nullable().optional(),\n}).describe(\"Details of another user. Note: This endpoint returns only basic user information.\\nFor the authenticated user's full profile (including notifications, currency, and locale),\\nuse the get_current_user endpoint instead.\");\nexport const SplitwiseGetUserOutput: z.ZodTypeAny = z.object({\n user: SplitwiseGetUser_UserSchema.nullable(),\n}).describe(\"Response schema for user information.\");\n\nexport const splitwiseGetUser = action(\"SPLITWISE_GET_USER\", {\n slug: \"splitwise-get-user\",\n name: \"Get User Information\",\n description: \"Retrieves basic profile information about any Splitwise user by their ID. Returns the user's name, email, registration status, and profile picture. This endpoint only returns public user information. For the authenticated user's full profile (including notifications, currency preferences, and locale settings), use get_current_user instead.\",\n input: SplitwiseGetUserInput,\n output: SplitwiseGetUserOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAsC,EAAE,OAAO,EAC1D,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4IAA4I,EAC5K,CAAC,CAAC,CAAC,SAAS,uDAA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\n\nimport { action } from \"../action\";\n\nexport const SplitwiseGetUserInput = z.object({\n id: z.number().int().describe(\"The user ID of the person whose information you want to retrieve Prefer IDs sourced from SPLITWISE_GET_GROUP responses to ensure validity.\"),\n}).describe(\"Request schema for retrieving user information by ID.\");\nconst SplitwiseGetUser_PictureSchema = z.object({\n large: z.string().describe(\"URL for the large-sized profile picture.\").nullable().optional(),\n small: z.string().describe(\"URL for the small-sized profile picture.\").nullable().optional(),\n medium: z.string().describe(\"URL for the medium-sized profile picture.\").nullable().optional(),\n}).describe(\"URLs for the user's profile picture in different sizes.\");\nconst SplitwiseGetUser_UserSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the user.\").nullable(),\n email: z.string().describe(\"User's email address.\").nullable().optional(),\n picture: SplitwiseGetUser_PictureSchema.nullable().optional(),\n last_name: z.string().describe(\"User's last name.\").nullable().optional(),\n first_name: z.string().describe(\"User's first name.\").nullable().optional(),\n custom_picture: z.boolean().describe(\"Indicates whether the user has a custom profile picture.\").nullable().optional(),\n registration_status: z.string().describe(\"Registration status of the user (e.g., 'confirmed', 'dummy', 'invited').\").nullable().optional(),\n}).describe(\"Details of another user. Note: This endpoint returns only basic user information.\\nFor the authenticated user's full profile (including notifications, currency, and locale),\\nuse the get_current_user endpoint instead.\");\nexport const SplitwiseGetUserOutput = z.object({\n user: SplitwiseGetUser_UserSchema.nullable(),\n}).describe(\"Response schema for user information.\");\n\nexport const splitwiseGetUser = action(\"SPLITWISE_GET_USER\", {\n slug: \"splitwise-get-user\",\n name: \"Get User Information\",\n description: \"Retrieves basic profile information about any Splitwise user by their ID. Returns the user's name, email, registration status, and profile picture. This endpoint only returns public user information. For the authenticated user's full profile (including notifications, currency preferences, and locale settings), use get_current_user instead.\",\n input: SplitwiseGetUserInput,\n output: SplitwiseGetUserOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAwB,EAAE,OAAO,EAC5C,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4IA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const SplitwiseRemoveUserFromGroupInput = zod.z.object({
7
7
  }).describe("Request parameters for removing a user from a group.");
8
8
  const SplitwiseRemoveUserFromGroupOutput = zod.z.object({
9
9
  errors: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Any errors encountered during the operation. May contain details if user has non-zero balance.").nullable().optional(),
10
- success: zod.z.boolean().describe("Indicates whether the removal was successful. Always check this field as 200 OK does not guarantee success.")
10
+ success: zod.z.boolean().describe("Indicates whether the removal was successful. Always check this field as 200 OK does not guarantee success.").nullable()
11
11
  }).describe("Response model for removing a user from a group.");
12
12
  const splitwiseRemoveUserFromGroup = require_action.action("SPLITWISE_REMOVE_USER_FROM_GROUP", {
13
13
  slug: "splitwise-remove-user-from-group",
@@ -1 +1 @@
1
- {"version":3,"file":"remove-user-from-group.cjs","names":["z","action"],"sources":["../../src/actions/remove-user-from-group.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SplitwiseRemoveUserFromGroupInput: z.ZodTypeAny = z.object({\n user_id: z.number().int().describe(\"The ID of the user to remove from the group. User must have a zero balance in the group to be removed.\"),\n group_id: z.number().int().describe(\"The ID of the group from which to remove the user\"),\n}).describe(\"Request parameters for removing a user from a group.\");\nexport const SplitwiseRemoveUserFromGroupOutput: z.ZodTypeAny = z.object({\n errors: z.record(z.string(), z.unknown()).describe(\"Any errors encountered during the operation. May contain details if user has non-zero balance.\").nullable().optional(),\n success: z.boolean().describe(\"Indicates whether the removal was successful. Always check this field as 200 OK does not guarantee success.\"),\n}).describe(\"Response model for removing a user from a group.\");\n\nexport const splitwiseRemoveUserFromGroup = action(\"SPLITWISE_REMOVE_USER_FROM_GROUP\", {\n slug: \"splitwise-remove-user-from-group\",\n name: \"Remove User from Group\",\n description: \"Tool to remove a user from a group. Use when you need to remove a user from a specific group. Note: User must have a zero balance in the group for removal to succeed. 200 OK does not indicate success; always check the response 'success' field.\",\n input: SplitwiseRemoveUserFromGroupInput,\n output: SplitwiseRemoveUserFromGroupOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAkDA,IAAAA,EAAE,OAAO;CACtE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wGAAwG;CAC3I,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD;AACzF,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAa,qCAAmDA,IAAAA,EAAE,OAAO;CACvE,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,gGAAgG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzK,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,6GAA6G;AAC7I,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAE9D,MAAa,+BAA+BC,eAAAA,OAAO,oCAAoC;CACrF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"remove-user-from-group.cjs","names":["z","action"],"sources":["../../src/actions/remove-user-from-group.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SplitwiseRemoveUserFromGroupInput = z.object({\n user_id: z.number().int().describe(\"The ID of the user to remove from the group. User must have a zero balance in the group to be removed.\"),\n group_id: z.number().int().describe(\"The ID of the group from which to remove the user\"),\n}).describe(\"Request parameters for removing a user from a group.\");\nexport const SplitwiseRemoveUserFromGroupOutput = z.object({\n errors: z.record(z.string(), z.unknown()).describe(\"Any errors encountered during the operation. May contain details if user has non-zero balance.\").nullable().optional(),\n success: z.boolean().describe(\"Indicates whether the removal was successful. Always check this field as 200 OK does not guarantee success.\").nullable(),\n}).describe(\"Response model for removing a user from a group.\");\n\nexport const splitwiseRemoveUserFromGroup = action(\"SPLITWISE_REMOVE_USER_FROM_GROUP\", {\n slug: \"splitwise-remove-user-from-group\",\n name: \"Remove User from Group\",\n description: \"Tool to remove a user from a group. Use when you need to remove a user from a specific group. Note: User must have a zero balance in the group for removal to succeed. 200 OK does not indicate success; always check the response 'success' field.\",\n input: SplitwiseRemoveUserFromGroupInput,\n output: SplitwiseRemoveUserFromGroupOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wGAAwG;CAC3I,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD;AACzF,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,gGAAgG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzK,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,6GAA6G,CAAC,CAAC,SAAS;AACxJ,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAE9D,MAAa,+BAA+BC,eAAAA,OAAO,oCAAoC;CACrF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,18 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/remove-user-from-group.d.ts
4
- declare const SplitwiseRemoveUserFromGroupInput: z.ZodTypeAny;
5
- declare const SplitwiseRemoveUserFromGroupOutput: z.ZodTypeAny;
6
- declare const splitwiseRemoveUserFromGroup: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SplitwiseRemoveUserFromGroupInput: z.ZodObject<{
5
+ user_id: z.ZodNumber;
6
+ group_id: z.ZodNumber;
7
+ }, z.core.$strip>;
8
+ declare const SplitwiseRemoveUserFromGroupOutput: z.ZodObject<{
9
+ errors: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
10
+ success: z.ZodNullable<z.ZodBoolean>;
11
+ }, z.core.$strip>;
12
+ declare const splitwiseRemoveUserFromGroup: import("@keystrokehq/action").WorkflowActionDefinition<{
13
+ user_id: number;
14
+ group_id: number;
15
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
16
  //#endregion
8
17
  export { splitwiseRemoveUserFromGroup };
9
18
  //# sourceMappingURL=remove-user-from-group.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"remove-user-from-group.d.cts","names":[],"sources":["../../src/actions/remove-user-from-group.ts"],"mappings":";;;cAIa,iCAAA,EAAmC,CAAA,CAAE,UAGiB;AAAA,cACtD,kCAAA,EAAoC,CAAA,CAAE,UAGY;AAAA,cAElD,4BAAA,gCAA4B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"remove-user-from-group.d.cts","names":[],"sources":["../../src/actions/remove-user-from-group.ts"],"mappings":";;;cAIa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;cAIjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;cAKlC,4BAAA,gCAA4B,wBAAA"}
@@ -1,9 +1,18 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/remove-user-from-group.d.ts
4
- declare const SplitwiseRemoveUserFromGroupInput: z.ZodTypeAny;
5
- declare const SplitwiseRemoveUserFromGroupOutput: z.ZodTypeAny;
6
- declare const splitwiseRemoveUserFromGroup: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SplitwiseRemoveUserFromGroupInput: z.ZodObject<{
5
+ user_id: z.ZodNumber;
6
+ group_id: z.ZodNumber;
7
+ }, z.core.$strip>;
8
+ declare const SplitwiseRemoveUserFromGroupOutput: z.ZodObject<{
9
+ errors: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
10
+ success: z.ZodNullable<z.ZodBoolean>;
11
+ }, z.core.$strip>;
12
+ declare const splitwiseRemoveUserFromGroup: import("@keystrokehq/action").WorkflowActionDefinition<{
13
+ user_id: number;
14
+ group_id: number;
15
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
16
  //#endregion
8
17
  export { splitwiseRemoveUserFromGroup };
9
18
  //# sourceMappingURL=remove-user-from-group.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"remove-user-from-group.d.mts","names":[],"sources":["../../src/actions/remove-user-from-group.ts"],"mappings":";;;cAIa,iCAAA,EAAmC,CAAA,CAAE,UAGiB;AAAA,cACtD,kCAAA,EAAoC,CAAA,CAAE,UAGY;AAAA,cAElD,4BAAA,gCAA4B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"remove-user-from-group.d.mts","names":[],"sources":["../../src/actions/remove-user-from-group.ts"],"mappings":";;;cAIa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;cAIjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;cAKlC,4BAAA,gCAA4B,wBAAA"}
@@ -10,7 +10,7 @@ const splitwiseRemoveUserFromGroup = action("SPLITWISE_REMOVE_USER_FROM_GROUP",
10
10
  }).describe("Request parameters for removing a user from a group."),
11
11
  output: z.object({
12
12
  errors: z.record(z.string(), z.unknown()).describe("Any errors encountered during the operation. May contain details if user has non-zero balance.").nullable().optional(),
13
- success: z.boolean().describe("Indicates whether the removal was successful. Always check this field as 200 OK does not guarantee success.")
13
+ success: z.boolean().describe("Indicates whether the removal was successful. Always check this field as 200 OK does not guarantee success.").nullable()
14
14
  }).describe("Response model for removing a user from a group.")
15
15
  });
16
16
  //#endregion
@@ -1 +1 @@
1
- {"version":3,"file":"remove-user-from-group.mjs","names":[],"sources":["../../src/actions/remove-user-from-group.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SplitwiseRemoveUserFromGroupInput: z.ZodTypeAny = z.object({\n user_id: z.number().int().describe(\"The ID of the user to remove from the group. User must have a zero balance in the group to be removed.\"),\n group_id: z.number().int().describe(\"The ID of the group from which to remove the user\"),\n}).describe(\"Request parameters for removing a user from a group.\");\nexport const SplitwiseRemoveUserFromGroupOutput: z.ZodTypeAny = z.object({\n errors: z.record(z.string(), z.unknown()).describe(\"Any errors encountered during the operation. May contain details if user has non-zero balance.\").nullable().optional(),\n success: z.boolean().describe(\"Indicates whether the removal was successful. Always check this field as 200 OK does not guarantee success.\"),\n}).describe(\"Response model for removing a user from a group.\");\n\nexport const splitwiseRemoveUserFromGroup = action(\"SPLITWISE_REMOVE_USER_FROM_GROUP\", {\n slug: \"splitwise-remove-user-from-group\",\n name: \"Remove User from Group\",\n description: \"Tool to remove a user from a group. Use when you need to remove a user from a specific group. Note: User must have a zero balance in the group for removal to succeed. 200 OK does not indicate success; always check the response 'success' field.\",\n input: SplitwiseRemoveUserFromGroupInput,\n output: SplitwiseRemoveUserFromGroupOutput,\n});\n"],"mappings":";;AAaA,MAAa,+BAA+B,OAAO,oCAAoC;CACrF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAb6D,EAAE,OAAO;EACtE,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wGAAwG;EAC3I,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD;CACzF,CAAC,CAAC,CAAC,SAAS,sDAUH;CACP,QAV8D,EAAE,OAAO;EACvE,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,gGAAgG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzK,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,6GAA6G;CAC7I,CAAC,CAAC,CAAC,SAAS,kDAOF;AACV,CAAC"}
1
+ {"version":3,"file":"remove-user-from-group.mjs","names":[],"sources":["../../src/actions/remove-user-from-group.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SplitwiseRemoveUserFromGroupInput = z.object({\n user_id: z.number().int().describe(\"The ID of the user to remove from the group. User must have a zero balance in the group to be removed.\"),\n group_id: z.number().int().describe(\"The ID of the group from which to remove the user\"),\n}).describe(\"Request parameters for removing a user from a group.\");\nexport const SplitwiseRemoveUserFromGroupOutput = z.object({\n errors: z.record(z.string(), z.unknown()).describe(\"Any errors encountered during the operation. May contain details if user has non-zero balance.\").nullable().optional(),\n success: z.boolean().describe(\"Indicates whether the removal was successful. Always check this field as 200 OK does not guarantee success.\").nullable(),\n}).describe(\"Response model for removing a user from a group.\");\n\nexport const splitwiseRemoveUserFromGroup = action(\"SPLITWISE_REMOVE_USER_FROM_GROUP\", {\n slug: \"splitwise-remove-user-from-group\",\n name: \"Remove User from Group\",\n description: \"Tool to remove a user from a group. Use when you need to remove a user from a specific group. Note: User must have a zero balance in the group for removal to succeed. 200 OK does not indicate success; always check the response 'success' field.\",\n input: SplitwiseRemoveUserFromGroupInput,\n output: SplitwiseRemoveUserFromGroupOutput,\n});\n"],"mappings":";;AAaA,MAAa,+BAA+B,OAAO,oCAAoC;CACrF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAb+C,EAAE,OAAO;EACxD,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wGAAwG;EAC3I,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD;CACzF,CAAC,CAAC,CAAC,SAAS,sDAUH;CACP,QAVgD,EAAE,OAAO;EACzD,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,gGAAgG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzK,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,6GAA6G,CAAC,CAAC,SAAS;CACxJ,CAAC,CAAC,CAAC,SAAS,kDAOF;AACV,CAAC"}
@@ -4,7 +4,7 @@ let zod = require("zod");
4
4
  const SplitwiseUndeleteExpenseInput = zod.z.object({ id: zod.z.number().int().describe("The unique identifier of the expense to restore.") }).describe("Request model for restoring a deleted expense.");
5
5
  const SplitwiseUndeleteExpenseOutput = zod.z.object({
6
6
  errors: zod.z.array(zod.z.string()).describe("List of error messages if the restoration failed.").nullable().optional(),
7
- success: zod.z.boolean().describe("Indicates whether the expense was successfully restored.")
7
+ success: zod.z.boolean().describe("Indicates whether the expense was successfully restored.").nullable()
8
8
  }).describe("Response model for the UndeleteExpense action.");
9
9
  const splitwiseUndeleteExpense = require_action.action("SPLITWISE_UNDELETE_EXPENSE", {
10
10
  slug: "splitwise-undelete-expense",
@@ -1 +1 @@
1
- {"version":3,"file":"undelete-expense.cjs","names":["z","action"],"sources":["../../src/actions/undelete-expense.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SplitwiseUndeleteExpenseInput: z.ZodTypeAny = 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.ZodTypeAny = 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.\"),\n}).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":";;;AAIA,MAAa,gCAA8CA,IAAAA,EAAE,OAAO,EAClE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,EAClF,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAC5D,MAAa,iCAA+CA,IAAAA,EAAE,OAAO;CACnE,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,0DAA0D;AAC1F,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAE5D,MAAa,2BAA2BC,eAAAA,OAAO,8BAA8B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"undelete-expense.cjs","names":["z","action"],"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}).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":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO,EACpD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,EAClF,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAC5D,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,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,0DAA0D,CAAC,CAAC,SAAS;AACrG,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAE5D,MAAa,2BAA2BC,eAAAA,OAAO,8BAA8B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,16 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/undelete-expense.d.ts
4
- declare const SplitwiseUndeleteExpenseInput: z.ZodTypeAny;
5
- declare const SplitwiseUndeleteExpenseOutput: z.ZodTypeAny;
6
- declare const splitwiseUndeleteExpense: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SplitwiseUndeleteExpenseInput: z.ZodObject<{
5
+ id: z.ZodNumber;
6
+ }, z.core.$strip>;
7
+ declare const SplitwiseUndeleteExpenseOutput: z.ZodObject<{
8
+ errors: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
9
+ success: z.ZodNullable<z.ZodBoolean>;
10
+ }, z.core.$strip>;
11
+ declare const splitwiseUndeleteExpense: import("@keystrokehq/action").WorkflowActionDefinition<{
12
+ id: number;
13
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
14
  //#endregion
8
15
  export { splitwiseUndeleteExpense };
9
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":";;;cAIa,6BAAA,EAA+B,CAAA,CAAE,UAEe;AAAA,cAChD,8BAAA,EAAgC,CAAA,CAAE,UAGc;AAAA,cAEhD,wBAAA,gCAAwB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"undelete-expense.d.cts","names":[],"sources":["../../src/actions/undelete-expense.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;cAG7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;cAK9B,wBAAA,gCAAwB,wBAAA"}
@@ -1,9 +1,16 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/undelete-expense.d.ts
4
- declare const SplitwiseUndeleteExpenseInput: z.ZodTypeAny;
5
- declare const SplitwiseUndeleteExpenseOutput: z.ZodTypeAny;
6
- declare const splitwiseUndeleteExpense: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SplitwiseUndeleteExpenseInput: z.ZodObject<{
5
+ id: z.ZodNumber;
6
+ }, z.core.$strip>;
7
+ declare const SplitwiseUndeleteExpenseOutput: z.ZodObject<{
8
+ errors: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
9
+ success: z.ZodNullable<z.ZodBoolean>;
10
+ }, z.core.$strip>;
11
+ declare const splitwiseUndeleteExpense: import("@keystrokehq/action").WorkflowActionDefinition<{
12
+ id: number;
13
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
14
  //#endregion
8
15
  export { splitwiseUndeleteExpense };
9
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":";;;cAIa,6BAAA,EAA+B,CAAA,CAAE,UAEe;AAAA,cAChD,8BAAA,EAAgC,CAAA,CAAE,UAGc;AAAA,cAEhD,wBAAA,gCAAwB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"undelete-expense.d.mts","names":[],"sources":["../../src/actions/undelete-expense.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;cAG7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;cAK9B,wBAAA,gCAAwB,wBAAA"}
@@ -7,7 +7,7 @@ const splitwiseUndeleteExpense = action("SPLITWISE_UNDELETE_EXPENSE", {
7
7
  input: z.object({ id: z.number().int().describe("The unique identifier of the expense to restore.") }).describe("Request model for restoring a deleted expense."),
8
8
  output: z.object({
9
9
  errors: z.array(z.string()).describe("List of error messages if the restoration failed.").nullable().optional(),
10
- success: z.boolean().describe("Indicates whether the expense was successfully restored.")
10
+ success: z.boolean().describe("Indicates whether the expense was successfully restored.").nullable()
11
11
  }).describe("Response model for the UndeleteExpense action.")
12
12
  });
13
13
  //#endregion
@@ -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.ZodTypeAny = 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.ZodTypeAny = 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.\"),\n}).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":";;AAYA,MAAa,2BAA2B,OAAO,8BAA8B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZyD,EAAE,OAAO,EAClE,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,EAClF,CAAC,CAAC,CAAC,SAAS,gDAUH;CACP,QAV0D,EAAE,OAAO;EACnE,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9G,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,0DAA0D;CAC1F,CAAC,CAAC,CAAC,SAAS,gDAOF;AACV,CAAC"}
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}).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":";;AAYA,MAAa,2BAA2B,OAAO,8BAA8B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZ2C,EAAE,OAAO,EACpD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,EAClF,CAAC,CAAC,CAAC,SAAS,gDAUH;CACP,QAV4C,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,SAAS,gDAOF;AACV,CAAC"}
@@ -4,7 +4,7 @@ let zod = require("zod");
4
4
  const SplitwiseUndeleteGroupInput = zod.z.object({ id: zod.z.number().int().describe("The unique identifier of the group to restore.") }).describe("Request model for restoring a deleted group.");
5
5
  const SplitwiseUndeleteGroupOutput = zod.z.object({
6
6
  errors: zod.z.array(zod.z.string()).describe("List of error messages if the restoration failed.").nullable().optional(),
7
- success: zod.z.boolean().describe("Indicates whether the group was successfully restored.")
7
+ success: zod.z.boolean().describe("Indicates whether the group was successfully restored.").nullable()
8
8
  }).describe("Response model for the UndeleteGroup action.");
9
9
  const splitwiseUndeleteGroup = require_action.action("SPLITWISE_UNDELETE_GROUP", {
10
10
  slug: "splitwise-undelete-group",
@@ -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.ZodTypeAny = 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.ZodTypeAny = 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.\"),\n}).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":";;;AAIA,MAAa,8BAA4CA,IAAAA,EAAE,OAAO,EAChE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,EAChF,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAC1D,MAAa,+BAA6CA,IAAAA,EAAE,OAAO;CACjE,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;AACxF,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAE1D,MAAa,yBAAyBC,eAAAA,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
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}).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":";;;AAIA,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,SAAS,8CAA8C;AAE1D,MAAa,yBAAyBC,eAAAA,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,16 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/undelete-group.d.ts
4
- declare const SplitwiseUndeleteGroupInput: z.ZodTypeAny;
5
- declare const SplitwiseUndeleteGroupOutput: z.ZodTypeAny;
6
- declare const splitwiseUndeleteGroup: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SplitwiseUndeleteGroupInput: z.ZodObject<{
5
+ id: z.ZodNumber;
6
+ }, z.core.$strip>;
7
+ declare const SplitwiseUndeleteGroupOutput: z.ZodObject<{
8
+ errors: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
9
+ success: z.ZodNullable<z.ZodBoolean>;
10
+ }, z.core.$strip>;
11
+ declare const splitwiseUndeleteGroup: import("@keystrokehq/action").WorkflowActionDefinition<{
12
+ id: number;
13
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
14
  //#endregion
8
15
  export { splitwiseUndeleteGroup };
9
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":";;;cAIa,2BAAA,EAA6B,CAAA,CAAE,UAEe;AAAA,cAC9C,4BAAA,EAA8B,CAAA,CAAE,UAGc;AAAA,cAE9C,sBAAA,gCAAsB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"undelete-group.d.cts","names":[],"sources":["../../src/actions/undelete-group.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;cAG3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;cAK5B,sBAAA,gCAAsB,wBAAA"}
@@ -1,9 +1,16 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/undelete-group.d.ts
4
- declare const SplitwiseUndeleteGroupInput: z.ZodTypeAny;
5
- declare const SplitwiseUndeleteGroupOutput: z.ZodTypeAny;
6
- declare const splitwiseUndeleteGroup: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SplitwiseUndeleteGroupInput: z.ZodObject<{
5
+ id: z.ZodNumber;
6
+ }, z.core.$strip>;
7
+ declare const SplitwiseUndeleteGroupOutput: z.ZodObject<{
8
+ errors: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
9
+ success: z.ZodNullable<z.ZodBoolean>;
10
+ }, z.core.$strip>;
11
+ declare const splitwiseUndeleteGroup: import("@keystrokehq/action").WorkflowActionDefinition<{
12
+ id: number;
13
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
14
  //#endregion
8
15
  export { splitwiseUndeleteGroup };
9
16
  //# sourceMappingURL=undelete-group.d.mts.map