@warmio/contracts 3.0.5 → 3.0.7

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 (50) hide show
  1. package/dist/api/endpoints.d.ts +2 -0
  2. package/dist/api/endpoints.d.ts.map +1 -1
  3. package/dist/api/endpoints.js +2 -0
  4. package/dist/api/endpoints.js.map +1 -1
  5. package/dist/financial-context-artifact-protocol.d.ts +1425 -7
  6. package/dist/financial-context-artifact-protocol.d.ts.map +1 -1
  7. package/dist/financial-context-artifact-protocol.js +20 -4
  8. package/dist/financial-context-artifact-protocol.js.map +1 -1
  9. package/dist/generated/mcp-package-release-metadata.d.ts +1 -1
  10. package/dist/generated/mcp-package-release-metadata.d.ts.map +1 -1
  11. package/dist/generated/mcp-package-release-metadata.js +1 -1
  12. package/dist/generated/mcp-package-release-metadata.js.map +1 -1
  13. package/dist/generated/private-mcp-tool-descriptors.d.ts +157 -3
  14. package/dist/generated/private-mcp-tool-descriptors.d.ts.map +1 -1
  15. package/dist/generated/private-mcp-tool-descriptors.js +228 -5
  16. package/dist/generated/private-mcp-tool-descriptors.js.map +1 -1
  17. package/dist/generated/protected-crawler-paths.d.ts +1 -1
  18. package/dist/generated/protected-crawler-paths.d.ts.map +1 -1
  19. package/dist/generated/protected-crawler-paths.js +0 -3
  20. package/dist/generated/protected-crawler-paths.js.map +1 -1
  21. package/dist/generated/warm-app-api-manifest.d.ts +162 -8
  22. package/dist/generated/warm-app-api-manifest.d.ts.map +1 -1
  23. package/dist/generated/warm-app-api-manifest.js +233 -10
  24. package/dist/generated/warm-app-api-manifest.js.map +1 -1
  25. package/dist/manifest.d.ts +2 -2
  26. package/dist/mcp/hosted-write-tools.d.ts +1745 -0
  27. package/dist/mcp/hosted-write-tools.d.ts.map +1 -0
  28. package/dist/mcp/hosted-write-tools.js +318 -0
  29. package/dist/mcp/hosted-write-tools.js.map +1 -0
  30. package/dist/mcp/index.d.ts +1 -0
  31. package/dist/mcp/index.d.ts.map +1 -1
  32. package/dist/mcp/index.js +1 -0
  33. package/dist/mcp/index.js.map +1 -1
  34. package/dist/mcp/public-output.d.ts +63 -3
  35. package/dist/mcp/public-output.d.ts.map +1 -1
  36. package/dist/mcp/public-output.js +23 -2
  37. package/dist/mcp/public-output.js.map +1 -1
  38. package/dist/mcp/public-tools.d.ts +48 -3
  39. package/dist/mcp/public-tools.d.ts.map +1 -1
  40. package/dist/mcp/public-tools.js +2 -0
  41. package/dist/mcp/public-tools.js.map +1 -1
  42. package/dist/mcp/tools.d.ts +550 -6
  43. package/dist/mcp/tools.d.ts.map +1 -1
  44. package/dist/mcp/tools.js +43 -5
  45. package/dist/mcp/tools.js.map +1 -1
  46. package/dist/schemas/financial-context.d.ts +53 -0
  47. package/dist/schemas/financial-context.d.ts.map +1 -1
  48. package/dist/schemas/financial-context.js +9 -0
  49. package/dist/schemas/financial-context.js.map +1 -1
  50. package/package.json +1 -1
@@ -2,7 +2,8 @@ import { z } from 'zod';
2
2
  import { type JsonSchema7Type } from 'zod-to-json-schema';
3
3
  export declare const emptyMcpInputShape: {};
4
4
  export declare const getTransactionsMcpInputShape: {
5
- period: z.ZodUnion<[z.ZodLiteral<"latest">, z.ZodString]>;
5
+ period: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"latest">, z.ZodString]>>;
6
+ periods: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
6
7
  };
7
8
  export declare const searchOperationsMcpInputShape: {
8
9
  query: z.ZodOptional<z.ZodString>;
@@ -34,20 +35,370 @@ export declare const invokeOperationMcpInputShape: {
34
35
  }>>;
35
36
  approval_id: z.ZodOptional<z.ZodString>;
36
37
  };
37
- export declare const getTransactionsMcpInputSchema: z.ZodObject<{
38
+ export declare const getTransactionsMcpInputSchema: z.ZodUnion<[z.ZodObject<{
38
39
  period: z.ZodUnion<[z.ZodLiteral<"latest">, z.ZodString]>;
39
40
  }, "strict", z.ZodTypeAny, {
40
41
  period: string;
41
42
  }, {
42
43
  period: string;
43
- }>;
44
+ }>, z.ZodObject<{
45
+ periods: z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>;
46
+ }, "strict", z.ZodTypeAny, {
47
+ periods: string[];
48
+ }, {
49
+ periods: string[];
50
+ }>]>;
44
51
  export declare function normalizeGetTransactionsMcpInput(input: z.infer<typeof getTransactionsMcpInputSchema>): {
52
+ readonly periods: string[];
53
+ readonly latest?: never;
54
+ readonly month?: never;
55
+ } | {
56
+ readonly periods?: never;
45
57
  readonly latest: true;
46
58
  readonly month?: never;
47
59
  } | {
60
+ readonly periods?: never;
48
61
  readonly latest?: never;
49
62
  readonly month: string;
50
63
  };
64
+ export declare const transactionMonthMcpOutputSchema: z.ZodObject<{
65
+ month: z.ZodString;
66
+ start_date: z.ZodString;
67
+ end_date: z.ZodString;
68
+ count: z.ZodNumber;
69
+ items: z.ZodArray<z.ZodObject<{
70
+ id: z.ZodString;
71
+ account_id: z.ZodNullable<z.ZodString>;
72
+ date: z.ZodNullable<z.ZodString>;
73
+ amount: z.ZodNumber;
74
+ merchant: z.ZodNullable<z.ZodString>;
75
+ name: z.ZodNullable<z.ZodString>;
76
+ category: z.ZodNullable<z.ZodString>;
77
+ subcategory: z.ZodNullable<z.ZodString>;
78
+ pending: z.ZodNullable<z.ZodBoolean>;
79
+ currency: z.ZodNullable<z.ZodString>;
80
+ is_internal_transfer: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
81
+ transfer_pair_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
82
+ transfers_interpretation_version: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>]>>;
83
+ merchants_interpretation_version: z.ZodOptional<z.ZodLiteral<0>>;
84
+ }, "strict", z.ZodTypeAny, {
85
+ id: string;
86
+ account_id: string | null;
87
+ date: string | null;
88
+ amount: number;
89
+ merchant: string | null;
90
+ name: string | null;
91
+ category: string | null;
92
+ subcategory: string | null;
93
+ pending: boolean | null;
94
+ currency: string | null;
95
+ is_internal_transfer?: boolean | null | undefined;
96
+ transfer_pair_id?: string | null | undefined;
97
+ transfers_interpretation_version?: 0 | 1 | undefined;
98
+ merchants_interpretation_version?: 0 | undefined;
99
+ }, {
100
+ id: string;
101
+ account_id: string | null;
102
+ date: string | null;
103
+ amount: number;
104
+ merchant: string | null;
105
+ name: string | null;
106
+ category: string | null;
107
+ subcategory: string | null;
108
+ pending: boolean | null;
109
+ currency: string | null;
110
+ is_internal_transfer?: boolean | null | undefined;
111
+ transfer_pair_id?: string | null | undefined;
112
+ transfers_interpretation_version?: 0 | 1 | undefined;
113
+ merchants_interpretation_version?: 0 | undefined;
114
+ }>, "many">;
115
+ } & {
116
+ truncated: z.ZodOptional<z.ZodBoolean>;
117
+ }, "strict", z.ZodTypeAny, {
118
+ month: string;
119
+ start_date: string;
120
+ end_date: string;
121
+ count: number;
122
+ items: {
123
+ id: string;
124
+ account_id: string | null;
125
+ date: string | null;
126
+ amount: number;
127
+ merchant: string | null;
128
+ name: string | null;
129
+ category: string | null;
130
+ subcategory: string | null;
131
+ pending: boolean | null;
132
+ currency: string | null;
133
+ is_internal_transfer?: boolean | null | undefined;
134
+ transfer_pair_id?: string | null | undefined;
135
+ transfers_interpretation_version?: 0 | 1 | undefined;
136
+ merchants_interpretation_version?: 0 | undefined;
137
+ }[];
138
+ truncated?: boolean | undefined;
139
+ }, {
140
+ month: string;
141
+ start_date: string;
142
+ end_date: string;
143
+ count: number;
144
+ items: {
145
+ id: string;
146
+ account_id: string | null;
147
+ date: string | null;
148
+ amount: number;
149
+ merchant: string | null;
150
+ name: string | null;
151
+ category: string | null;
152
+ subcategory: string | null;
153
+ pending: boolean | null;
154
+ currency: string | null;
155
+ is_internal_transfer?: boolean | null | undefined;
156
+ transfer_pair_id?: string | null | undefined;
157
+ transfers_interpretation_version?: 0 | 1 | undefined;
158
+ merchants_interpretation_version?: 0 | undefined;
159
+ }[];
160
+ truncated?: boolean | undefined;
161
+ }>;
162
+ export declare const latestTransactionsMcpOutputSchema: z.ZodObject<{
163
+ since: z.ZodString;
164
+ window_days: z.ZodLiteral<10>;
165
+ count: z.ZodNumber;
166
+ items: z.ZodArray<z.ZodObject<{
167
+ id: z.ZodString;
168
+ account_id: z.ZodNullable<z.ZodString>;
169
+ date: z.ZodNullable<z.ZodString>;
170
+ amount: z.ZodNumber;
171
+ merchant: z.ZodNullable<z.ZodString>;
172
+ name: z.ZodNullable<z.ZodString>;
173
+ category: z.ZodNullable<z.ZodString>;
174
+ subcategory: z.ZodNullable<z.ZodString>;
175
+ pending: z.ZodNullable<z.ZodBoolean>;
176
+ currency: z.ZodNullable<z.ZodString>;
177
+ is_internal_transfer: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
178
+ transfer_pair_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
179
+ transfers_interpretation_version: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>]>>;
180
+ merchants_interpretation_version: z.ZodOptional<z.ZodLiteral<0>>;
181
+ }, "strict", z.ZodTypeAny, {
182
+ id: string;
183
+ account_id: string | null;
184
+ date: string | null;
185
+ amount: number;
186
+ merchant: string | null;
187
+ name: string | null;
188
+ category: string | null;
189
+ subcategory: string | null;
190
+ pending: boolean | null;
191
+ currency: string | null;
192
+ is_internal_transfer?: boolean | null | undefined;
193
+ transfer_pair_id?: string | null | undefined;
194
+ transfers_interpretation_version?: 0 | 1 | undefined;
195
+ merchants_interpretation_version?: 0 | undefined;
196
+ }, {
197
+ id: string;
198
+ account_id: string | null;
199
+ date: string | null;
200
+ amount: number;
201
+ merchant: string | null;
202
+ name: string | null;
203
+ category: string | null;
204
+ subcategory: string | null;
205
+ pending: boolean | null;
206
+ currency: string | null;
207
+ is_internal_transfer?: boolean | null | undefined;
208
+ transfer_pair_id?: string | null | undefined;
209
+ transfers_interpretation_version?: 0 | 1 | undefined;
210
+ merchants_interpretation_version?: 0 | undefined;
211
+ }>, "many">;
212
+ } & {
213
+ truncated: z.ZodOptional<z.ZodBoolean>;
214
+ }, "strict", z.ZodTypeAny, {
215
+ since: string;
216
+ window_days: 10;
217
+ count: number;
218
+ items: {
219
+ id: string;
220
+ account_id: string | null;
221
+ date: string | null;
222
+ amount: number;
223
+ merchant: string | null;
224
+ name: string | null;
225
+ category: string | null;
226
+ subcategory: string | null;
227
+ pending: boolean | null;
228
+ currency: string | null;
229
+ is_internal_transfer?: boolean | null | undefined;
230
+ transfer_pair_id?: string | null | undefined;
231
+ transfers_interpretation_version?: 0 | 1 | undefined;
232
+ merchants_interpretation_version?: 0 | undefined;
233
+ }[];
234
+ truncated?: boolean | undefined;
235
+ }, {
236
+ since: string;
237
+ window_days: 10;
238
+ count: number;
239
+ items: {
240
+ id: string;
241
+ account_id: string | null;
242
+ date: string | null;
243
+ amount: number;
244
+ merchant: string | null;
245
+ name: string | null;
246
+ category: string | null;
247
+ subcategory: string | null;
248
+ pending: boolean | null;
249
+ currency: string | null;
250
+ is_internal_transfer?: boolean | null | undefined;
251
+ transfer_pair_id?: string | null | undefined;
252
+ transfers_interpretation_version?: 0 | 1 | undefined;
253
+ merchants_interpretation_version?: 0 | undefined;
254
+ }[];
255
+ truncated?: boolean | undefined;
256
+ }>;
257
+ export declare const transactionPeriodsMcpOutputSchema: z.ZodObject<{
258
+ periods: z.ZodArray<z.ZodObject<{
259
+ month: z.ZodString;
260
+ start_date: z.ZodString;
261
+ end_date: z.ZodString;
262
+ count: z.ZodNumber;
263
+ items: z.ZodArray<z.ZodObject<{
264
+ id: z.ZodString;
265
+ account_id: z.ZodNullable<z.ZodString>;
266
+ date: z.ZodNullable<z.ZodString>;
267
+ amount: z.ZodNumber;
268
+ merchant: z.ZodNullable<z.ZodString>;
269
+ name: z.ZodNullable<z.ZodString>;
270
+ category: z.ZodNullable<z.ZodString>;
271
+ subcategory: z.ZodNullable<z.ZodString>;
272
+ pending: z.ZodNullable<z.ZodBoolean>;
273
+ currency: z.ZodNullable<z.ZodString>;
274
+ is_internal_transfer: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
275
+ transfer_pair_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
276
+ transfers_interpretation_version: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>]>>;
277
+ merchants_interpretation_version: z.ZodOptional<z.ZodLiteral<0>>;
278
+ }, "strict", z.ZodTypeAny, {
279
+ id: string;
280
+ account_id: string | null;
281
+ date: string | null;
282
+ amount: number;
283
+ merchant: string | null;
284
+ name: string | null;
285
+ category: string | null;
286
+ subcategory: string | null;
287
+ pending: boolean | null;
288
+ currency: string | null;
289
+ is_internal_transfer?: boolean | null | undefined;
290
+ transfer_pair_id?: string | null | undefined;
291
+ transfers_interpretation_version?: 0 | 1 | undefined;
292
+ merchants_interpretation_version?: 0 | undefined;
293
+ }, {
294
+ id: string;
295
+ account_id: string | null;
296
+ date: string | null;
297
+ amount: number;
298
+ merchant: string | null;
299
+ name: string | null;
300
+ category: string | null;
301
+ subcategory: string | null;
302
+ pending: boolean | null;
303
+ currency: string | null;
304
+ is_internal_transfer?: boolean | null | undefined;
305
+ transfer_pair_id?: string | null | undefined;
306
+ transfers_interpretation_version?: 0 | 1 | undefined;
307
+ merchants_interpretation_version?: 0 | undefined;
308
+ }>, "many">;
309
+ }, "strict", z.ZodTypeAny, {
310
+ month: string;
311
+ start_date: string;
312
+ end_date: string;
313
+ count: number;
314
+ items: {
315
+ id: string;
316
+ account_id: string | null;
317
+ date: string | null;
318
+ amount: number;
319
+ merchant: string | null;
320
+ name: string | null;
321
+ category: string | null;
322
+ subcategory: string | null;
323
+ pending: boolean | null;
324
+ currency: string | null;
325
+ is_internal_transfer?: boolean | null | undefined;
326
+ transfer_pair_id?: string | null | undefined;
327
+ transfers_interpretation_version?: 0 | 1 | undefined;
328
+ merchants_interpretation_version?: 0 | undefined;
329
+ }[];
330
+ }, {
331
+ month: string;
332
+ start_date: string;
333
+ end_date: string;
334
+ count: number;
335
+ items: {
336
+ id: string;
337
+ account_id: string | null;
338
+ date: string | null;
339
+ amount: number;
340
+ merchant: string | null;
341
+ name: string | null;
342
+ category: string | null;
343
+ subcategory: string | null;
344
+ pending: boolean | null;
345
+ currency: string | null;
346
+ is_internal_transfer?: boolean | null | undefined;
347
+ transfer_pair_id?: string | null | undefined;
348
+ transfers_interpretation_version?: 0 | 1 | undefined;
349
+ merchants_interpretation_version?: 0 | undefined;
350
+ }[];
351
+ }>, "many">;
352
+ truncated: z.ZodOptional<z.ZodBoolean>;
353
+ }, "strict", z.ZodTypeAny, {
354
+ periods: {
355
+ month: string;
356
+ start_date: string;
357
+ end_date: string;
358
+ count: number;
359
+ items: {
360
+ id: string;
361
+ account_id: string | null;
362
+ date: string | null;
363
+ amount: number;
364
+ merchant: string | null;
365
+ name: string | null;
366
+ category: string | null;
367
+ subcategory: string | null;
368
+ pending: boolean | null;
369
+ currency: string | null;
370
+ is_internal_transfer?: boolean | null | undefined;
371
+ transfer_pair_id?: string | null | undefined;
372
+ transfers_interpretation_version?: 0 | 1 | undefined;
373
+ merchants_interpretation_version?: 0 | undefined;
374
+ }[];
375
+ }[];
376
+ truncated?: boolean | undefined;
377
+ }, {
378
+ periods: {
379
+ month: string;
380
+ start_date: string;
381
+ end_date: string;
382
+ count: number;
383
+ items: {
384
+ id: string;
385
+ account_id: string | null;
386
+ date: string | null;
387
+ amount: number;
388
+ merchant: string | null;
389
+ name: string | null;
390
+ category: string | null;
391
+ subcategory: string | null;
392
+ pending: boolean | null;
393
+ currency: string | null;
394
+ is_internal_transfer?: boolean | null | undefined;
395
+ transfer_pair_id?: string | null | undefined;
396
+ transfers_interpretation_version?: 0 | 1 | undefined;
397
+ merchants_interpretation_version?: 0 | undefined;
398
+ }[];
399
+ }[];
400
+ truncated?: boolean | undefined;
401
+ }>;
51
402
  type JsonSchema7Document = JsonSchema7Type & {
52
403
  $schema?: string | undefined;
53
404
  definitions?: {
@@ -678,14 +1029,15 @@ export declare const privateMcpToolDefinitions: readonly [{
678
1029
  }>;
679
1030
  }, {
680
1031
  readonly name: "get_transactions";
681
- readonly description: "Read-only transactions from the FinancialContext artifact. Pass `period: \"latest\"` for the fixed 10-day latest window or `period: \"YYYY-MM\"` for a month page. The latest window is not caller-configurable. Months outside the covered range return an error.";
1032
+ readonly description: "Read-only transactions from the FinancialContext artifact. Pass exactly one of `period` or `periods`. Use `period: \"latest\"` for the fixed 10-day window, `period: \"YYYY-MM\"` for one month, or `periods` for two or three distinct months. Multi-month output contains one month page per requested period in input order. The latest window is not caller-configurable. Months outside the covered range return an error.";
682
1033
  readonly annotations: {
683
1034
  readonly readOnlyHint: true;
684
1035
  readonly destructiveHint: false;
685
1036
  readonly openWorldHint: false;
686
1037
  };
687
1038
  readonly inputShape: {
688
- period: z.ZodUnion<[z.ZodLiteral<"latest">, z.ZodString]>;
1039
+ period: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"latest">, z.ZodString]>>;
1040
+ periods: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
689
1041
  };
690
1042
  readonly outputSchema: z.ZodUnion<[z.ZodObject<{
691
1043
  month: z.ZodString;
@@ -703,6 +1055,10 @@ export declare const privateMcpToolDefinitions: readonly [{
703
1055
  subcategory: z.ZodNullable<z.ZodString>;
704
1056
  pending: z.ZodNullable<z.ZodBoolean>;
705
1057
  currency: z.ZodNullable<z.ZodString>;
1058
+ is_internal_transfer: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
1059
+ transfer_pair_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1060
+ transfers_interpretation_version: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>]>>;
1061
+ merchants_interpretation_version: z.ZodOptional<z.ZodLiteral<0>>;
706
1062
  }, "strict", z.ZodTypeAny, {
707
1063
  id: string;
708
1064
  account_id: string | null;
@@ -714,6 +1070,10 @@ export declare const privateMcpToolDefinitions: readonly [{
714
1070
  subcategory: string | null;
715
1071
  pending: boolean | null;
716
1072
  currency: string | null;
1073
+ is_internal_transfer?: boolean | null | undefined;
1074
+ transfer_pair_id?: string | null | undefined;
1075
+ transfers_interpretation_version?: 0 | 1 | undefined;
1076
+ merchants_interpretation_version?: 0 | undefined;
717
1077
  }, {
718
1078
  id: string;
719
1079
  account_id: string | null;
@@ -725,7 +1085,13 @@ export declare const privateMcpToolDefinitions: readonly [{
725
1085
  subcategory: string | null;
726
1086
  pending: boolean | null;
727
1087
  currency: string | null;
1088
+ is_internal_transfer?: boolean | null | undefined;
1089
+ transfer_pair_id?: string | null | undefined;
1090
+ transfers_interpretation_version?: 0 | 1 | undefined;
1091
+ merchants_interpretation_version?: 0 | undefined;
728
1092
  }>, "many">;
1093
+ } & {
1094
+ truncated: z.ZodOptional<z.ZodBoolean>;
729
1095
  }, "strict", z.ZodTypeAny, {
730
1096
  month: string;
731
1097
  start_date: string;
@@ -742,7 +1108,12 @@ export declare const privateMcpToolDefinitions: readonly [{
742
1108
  subcategory: string | null;
743
1109
  pending: boolean | null;
744
1110
  currency: string | null;
1111
+ is_internal_transfer?: boolean | null | undefined;
1112
+ transfer_pair_id?: string | null | undefined;
1113
+ transfers_interpretation_version?: 0 | 1 | undefined;
1114
+ merchants_interpretation_version?: 0 | undefined;
745
1115
  }[];
1116
+ truncated?: boolean | undefined;
746
1117
  }, {
747
1118
  month: string;
748
1119
  start_date: string;
@@ -759,7 +1130,12 @@ export declare const privateMcpToolDefinitions: readonly [{
759
1130
  subcategory: string | null;
760
1131
  pending: boolean | null;
761
1132
  currency: string | null;
1133
+ is_internal_transfer?: boolean | null | undefined;
1134
+ transfer_pair_id?: string | null | undefined;
1135
+ transfers_interpretation_version?: 0 | 1 | undefined;
1136
+ merchants_interpretation_version?: 0 | undefined;
762
1137
  }[];
1138
+ truncated?: boolean | undefined;
763
1139
  }>, z.ZodObject<{
764
1140
  since: z.ZodString;
765
1141
  window_days: z.ZodLiteral<10>;
@@ -775,6 +1151,10 @@ export declare const privateMcpToolDefinitions: readonly [{
775
1151
  subcategory: z.ZodNullable<z.ZodString>;
776
1152
  pending: z.ZodNullable<z.ZodBoolean>;
777
1153
  currency: z.ZodNullable<z.ZodString>;
1154
+ is_internal_transfer: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
1155
+ transfer_pair_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1156
+ transfers_interpretation_version: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>]>>;
1157
+ merchants_interpretation_version: z.ZodOptional<z.ZodLiteral<0>>;
778
1158
  }, "strict", z.ZodTypeAny, {
779
1159
  id: string;
780
1160
  account_id: string | null;
@@ -786,6 +1166,10 @@ export declare const privateMcpToolDefinitions: readonly [{
786
1166
  subcategory: string | null;
787
1167
  pending: boolean | null;
788
1168
  currency: string | null;
1169
+ is_internal_transfer?: boolean | null | undefined;
1170
+ transfer_pair_id?: string | null | undefined;
1171
+ transfers_interpretation_version?: 0 | 1 | undefined;
1172
+ merchants_interpretation_version?: 0 | undefined;
789
1173
  }, {
790
1174
  id: string;
791
1175
  account_id: string | null;
@@ -797,7 +1181,13 @@ export declare const privateMcpToolDefinitions: readonly [{
797
1181
  subcategory: string | null;
798
1182
  pending: boolean | null;
799
1183
  currency: string | null;
1184
+ is_internal_transfer?: boolean | null | undefined;
1185
+ transfer_pair_id?: string | null | undefined;
1186
+ transfers_interpretation_version?: 0 | 1 | undefined;
1187
+ merchants_interpretation_version?: 0 | undefined;
800
1188
  }>, "many">;
1189
+ } & {
1190
+ truncated: z.ZodOptional<z.ZodBoolean>;
801
1191
  }, "strict", z.ZodTypeAny, {
802
1192
  since: string;
803
1193
  window_days: 10;
@@ -813,7 +1203,12 @@ export declare const privateMcpToolDefinitions: readonly [{
813
1203
  subcategory: string | null;
814
1204
  pending: boolean | null;
815
1205
  currency: string | null;
1206
+ is_internal_transfer?: boolean | null | undefined;
1207
+ transfer_pair_id?: string | null | undefined;
1208
+ transfers_interpretation_version?: 0 | 1 | undefined;
1209
+ merchants_interpretation_version?: 0 | undefined;
816
1210
  }[];
1211
+ truncated?: boolean | undefined;
817
1212
  }, {
818
1213
  since: string;
819
1214
  window_days: 10;
@@ -829,7 +1224,156 @@ export declare const privateMcpToolDefinitions: readonly [{
829
1224
  subcategory: string | null;
830
1225
  pending: boolean | null;
831
1226
  currency: string | null;
1227
+ is_internal_transfer?: boolean | null | undefined;
1228
+ transfer_pair_id?: string | null | undefined;
1229
+ transfers_interpretation_version?: 0 | 1 | undefined;
1230
+ merchants_interpretation_version?: 0 | undefined;
1231
+ }[];
1232
+ truncated?: boolean | undefined;
1233
+ }>, z.ZodObject<{
1234
+ periods: z.ZodArray<z.ZodObject<{
1235
+ month: z.ZodString;
1236
+ start_date: z.ZodString;
1237
+ end_date: z.ZodString;
1238
+ count: z.ZodNumber;
1239
+ items: z.ZodArray<z.ZodObject<{
1240
+ id: z.ZodString;
1241
+ account_id: z.ZodNullable<z.ZodString>;
1242
+ date: z.ZodNullable<z.ZodString>;
1243
+ amount: z.ZodNumber;
1244
+ merchant: z.ZodNullable<z.ZodString>;
1245
+ name: z.ZodNullable<z.ZodString>;
1246
+ category: z.ZodNullable<z.ZodString>;
1247
+ subcategory: z.ZodNullable<z.ZodString>;
1248
+ pending: z.ZodNullable<z.ZodBoolean>;
1249
+ currency: z.ZodNullable<z.ZodString>;
1250
+ is_internal_transfer: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
1251
+ transfer_pair_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1252
+ transfers_interpretation_version: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>]>>;
1253
+ merchants_interpretation_version: z.ZodOptional<z.ZodLiteral<0>>;
1254
+ }, "strict", z.ZodTypeAny, {
1255
+ id: string;
1256
+ account_id: string | null;
1257
+ date: string | null;
1258
+ amount: number;
1259
+ merchant: string | null;
1260
+ name: string | null;
1261
+ category: string | null;
1262
+ subcategory: string | null;
1263
+ pending: boolean | null;
1264
+ currency: string | null;
1265
+ is_internal_transfer?: boolean | null | undefined;
1266
+ transfer_pair_id?: string | null | undefined;
1267
+ transfers_interpretation_version?: 0 | 1 | undefined;
1268
+ merchants_interpretation_version?: 0 | undefined;
1269
+ }, {
1270
+ id: string;
1271
+ account_id: string | null;
1272
+ date: string | null;
1273
+ amount: number;
1274
+ merchant: string | null;
1275
+ name: string | null;
1276
+ category: string | null;
1277
+ subcategory: string | null;
1278
+ pending: boolean | null;
1279
+ currency: string | null;
1280
+ is_internal_transfer?: boolean | null | undefined;
1281
+ transfer_pair_id?: string | null | undefined;
1282
+ transfers_interpretation_version?: 0 | 1 | undefined;
1283
+ merchants_interpretation_version?: 0 | undefined;
1284
+ }>, "many">;
1285
+ }, "strict", z.ZodTypeAny, {
1286
+ month: string;
1287
+ start_date: string;
1288
+ end_date: string;
1289
+ count: number;
1290
+ items: {
1291
+ id: string;
1292
+ account_id: string | null;
1293
+ date: string | null;
1294
+ amount: number;
1295
+ merchant: string | null;
1296
+ name: string | null;
1297
+ category: string | null;
1298
+ subcategory: string | null;
1299
+ pending: boolean | null;
1300
+ currency: string | null;
1301
+ is_internal_transfer?: boolean | null | undefined;
1302
+ transfer_pair_id?: string | null | undefined;
1303
+ transfers_interpretation_version?: 0 | 1 | undefined;
1304
+ merchants_interpretation_version?: 0 | undefined;
1305
+ }[];
1306
+ }, {
1307
+ month: string;
1308
+ start_date: string;
1309
+ end_date: string;
1310
+ count: number;
1311
+ items: {
1312
+ id: string;
1313
+ account_id: string | null;
1314
+ date: string | null;
1315
+ amount: number;
1316
+ merchant: string | null;
1317
+ name: string | null;
1318
+ category: string | null;
1319
+ subcategory: string | null;
1320
+ pending: boolean | null;
1321
+ currency: string | null;
1322
+ is_internal_transfer?: boolean | null | undefined;
1323
+ transfer_pair_id?: string | null | undefined;
1324
+ transfers_interpretation_version?: 0 | 1 | undefined;
1325
+ merchants_interpretation_version?: 0 | undefined;
1326
+ }[];
1327
+ }>, "many">;
1328
+ truncated: z.ZodOptional<z.ZodBoolean>;
1329
+ }, "strict", z.ZodTypeAny, {
1330
+ periods: {
1331
+ month: string;
1332
+ start_date: string;
1333
+ end_date: string;
1334
+ count: number;
1335
+ items: {
1336
+ id: string;
1337
+ account_id: string | null;
1338
+ date: string | null;
1339
+ amount: number;
1340
+ merchant: string | null;
1341
+ name: string | null;
1342
+ category: string | null;
1343
+ subcategory: string | null;
1344
+ pending: boolean | null;
1345
+ currency: string | null;
1346
+ is_internal_transfer?: boolean | null | undefined;
1347
+ transfer_pair_id?: string | null | undefined;
1348
+ transfers_interpretation_version?: 0 | 1 | undefined;
1349
+ merchants_interpretation_version?: 0 | undefined;
1350
+ }[];
1351
+ }[];
1352
+ truncated?: boolean | undefined;
1353
+ }, {
1354
+ periods: {
1355
+ month: string;
1356
+ start_date: string;
1357
+ end_date: string;
1358
+ count: number;
1359
+ items: {
1360
+ id: string;
1361
+ account_id: string | null;
1362
+ date: string | null;
1363
+ amount: number;
1364
+ merchant: string | null;
1365
+ name: string | null;
1366
+ category: string | null;
1367
+ subcategory: string | null;
1368
+ pending: boolean | null;
1369
+ currency: string | null;
1370
+ is_internal_transfer?: boolean | null | undefined;
1371
+ transfer_pair_id?: string | null | undefined;
1372
+ transfers_interpretation_version?: 0 | 1 | undefined;
1373
+ merchants_interpretation_version?: 0 | undefined;
1374
+ }[];
832
1375
  }[];
1376
+ truncated?: boolean | undefined;
833
1377
  }>]>;
834
1378
  }, {
835
1379
  readonly name: "search_operations";
@@ -1044,7 +1588,7 @@ export declare const privateMcpToolDescriptors: ({
1044
1588
  output_schema: JsonSchema7Document;
1045
1589
  } | {
1046
1590
  name: "get_transactions";
1047
- description: "Read-only transactions from the FinancialContext artifact. Pass `period: \"latest\"` for the fixed 10-day latest window or `period: \"YYYY-MM\"` for a month page. The latest window is not caller-configurable. Months outside the covered range return an error.";
1591
+ description: "Read-only transactions from the FinancialContext artifact. Pass exactly one of `period` or `periods`. Use `period: \"latest\"` for the fixed 10-day window, `period: \"YYYY-MM\"` for one month, or `periods` for two or three distinct months. Multi-month output contains one month page per requested period in input order. The latest window is not caller-configurable. Months outside the covered range return an error.";
1048
1592
  annotations: {
1049
1593
  readonly readOnlyHint: true;
1050
1594
  readonly destructiveHint: false;
@@ -1 +1 @@
1
- {"version":3,"file":"tools.d.ts","sourceRoot":"","sources":["../../src/mcp/tools.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAoB,MAAM,KAAK,CAAC;AAC1C,OAAO,EAAmB,KAAK,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAY3E,eAAO,MAAM,kBAAkB,IAA2B,CAAC;AAC3D,eAAO,MAAM,4BAA4B;;CAMlB,CAAC;AACxB,eAAO,MAAM,6BAA6B;;CAEnB,CAAC;AACxB,eAAO,MAAM,8BAA8B;;;;;;;;;;;;CAKpB,CAAC;AACxB,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;CAOlB,CAAC;AAExB,eAAO,MAAM,6BAA6B;;;;;;EAAkD,CAAC;AAE7F,wBAAgB,gCAAgC,CAC9C,KAAK,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,6BAA6B,CAAC;;;;;;EAKrD;AAsBD,KAAK,mBAAmB,GAAG,eAAe,GAAG;IAC3C,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC7B,WAAW,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,eAAe,CAAA;KAAE,GAAG,SAAS,CAAC;CAC9D,CAAC;AAWF,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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