@warmio/contracts 2.0.0 → 3.0.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 (71) hide show
  1. package/README.md +3 -3
  2. package/dist/api/endpoints.d.ts +34 -48
  3. package/dist/api/endpoints.d.ts.map +1 -1
  4. package/dist/api/endpoints.js +36 -56
  5. package/dist/api/endpoints.js.map +1 -1
  6. package/dist/examples/financial-context.d.ts.map +1 -1
  7. package/dist/examples/financial-context.js +2 -1
  8. package/dist/examples/financial-context.js.map +1 -1
  9. package/dist/generated/base-openapi.d.ts +1 -1
  10. package/dist/generated/base-openapi.d.ts.map +1 -1
  11. package/dist/generated/base-openapi.js +1 -1
  12. package/dist/generated/base-openapi.js.map +1 -1
  13. package/dist/generated/mcp-package-release-metadata.d.ts +7 -0
  14. package/dist/generated/mcp-package-release-metadata.d.ts.map +1 -0
  15. package/dist/generated/mcp-package-release-metadata.js +7 -0
  16. package/dist/generated/mcp-package-release-metadata.js.map +1 -0
  17. package/dist/generated/private-mcp-tool-descriptors.d.ts +28 -43
  18. package/dist/generated/private-mcp-tool-descriptors.d.ts.map +1 -1
  19. package/dist/generated/private-mcp-tool-descriptors.js +38 -52
  20. package/dist/generated/private-mcp-tool-descriptors.js.map +1 -1
  21. package/dist/generated/protected-crawler-paths.d.ts +1 -1
  22. package/dist/generated/protected-crawler-paths.d.ts.map +1 -1
  23. package/dist/generated/protected-crawler-paths.js +3 -0
  24. package/dist/generated/protected-crawler-paths.js.map +1 -1
  25. package/dist/generated/warm-app-api-manifest.d.ts +1264 -0
  26. package/dist/generated/warm-app-api-manifest.d.ts.map +1 -0
  27. package/dist/generated/warm-app-api-manifest.js +1884 -0
  28. package/dist/generated/warm-app-api-manifest.js.map +1 -0
  29. package/dist/index.d.ts +0 -1
  30. package/dist/index.d.ts.map +1 -1
  31. package/dist/index.js +0 -1
  32. package/dist/index.js.map +1 -1
  33. package/dist/manifest.d.ts +600 -1176
  34. package/dist/manifest.d.ts.map +1 -1
  35. package/dist/manifest.js +31 -35
  36. package/dist/manifest.js.map +1 -1
  37. package/dist/mcp/distribution.d.ts +241 -71
  38. package/dist/mcp/distribution.d.ts.map +1 -1
  39. package/dist/mcp/distribution.js +137 -56
  40. package/dist/mcp/distribution.js.map +1 -1
  41. package/dist/mcp/tools.d.ts +1030 -29
  42. package/dist/mcp/tools.d.ts.map +1 -1
  43. package/dist/mcp/tools.js +11 -30
  44. package/dist/mcp/tools.js.map +1 -1
  45. package/dist/openapi/base.yaml +44 -67
  46. package/dist/openapi/build-openapi.d.ts +8 -2
  47. package/dist/openapi/build-openapi.d.ts.map +1 -1
  48. package/dist/openapi/build-openapi.js +93 -21
  49. package/dist/openapi/build-openapi.js.map +1 -1
  50. package/dist/product.d.ts.map +1 -1
  51. package/dist/product.js +9 -1
  52. package/dist/product.js.map +1 -1
  53. package/dist/schemas/financial-context.d.ts +33 -0
  54. package/dist/schemas/financial-context.d.ts.map +1 -1
  55. package/dist/schemas/financial-context.js +21 -6
  56. package/dist/schemas/financial-context.js.map +1 -1
  57. package/dist/schemas/index.d.ts +1 -0
  58. package/dist/schemas/index.d.ts.map +1 -1
  59. package/dist/schemas/index.js +1 -0
  60. package/dist/schemas/index.js.map +1 -1
  61. package/dist/schemas/public-api.d.ts +1368 -0
  62. package/dist/schemas/public-api.d.ts.map +1 -0
  63. package/dist/schemas/public-api.js +181 -0
  64. package/dist/schemas/public-api.js.map +1 -0
  65. package/dist/types.d.ts +8 -2
  66. package/dist/types.d.ts.map +1 -1
  67. package/package.json +1 -8
  68. package/dist/public-discovery.d.ts +0 -116
  69. package/dist/public-discovery.d.ts.map +0 -1
  70. package/dist/public-discovery.js +0 -91
  71. package/dist/public-discovery.js.map +0 -1
@@ -0,0 +1,1368 @@
1
+ import { z } from 'zod';
2
+ /** The only error body exposed by public Warm API boundaries. */
3
+ export declare const publicApiErrorSchema: z.ZodObject<{
4
+ error: z.ZodString;
5
+ }, "strict", z.ZodTypeAny, {
6
+ error: string;
7
+ }, {
8
+ error: string;
9
+ }>;
10
+ export declare const verifyApiResponseSchema: z.ZodObject<{
11
+ valid: z.ZodLiteral<true>;
12
+ }, "strict", z.ZodTypeAny, {
13
+ valid: true;
14
+ }, {
15
+ valid: true;
16
+ }>;
17
+ export declare const exportPaginationSchema: z.ZodObject<{
18
+ limit: z.ZodNumber;
19
+ next_cursor: z.ZodString;
20
+ }, "strict", z.ZodTypeAny, {
21
+ limit: number;
22
+ next_cursor: string;
23
+ }, {
24
+ limit: number;
25
+ next_cursor: string;
26
+ }>;
27
+ export declare const exportTransactionSchema: z.ZodObject<{
28
+ account_id: z.ZodNullable<z.ZodString>;
29
+ amount: z.ZodNullable<z.ZodNumber>;
30
+ category: z.ZodNullable<z.ZodString>;
31
+ date: z.ZodNullable<z.ZodString>;
32
+ id: z.ZodString;
33
+ merchant: z.ZodNullable<z.ZodString>;
34
+ name: z.ZodNullable<z.ZodString>;
35
+ pending: z.ZodNullable<z.ZodBoolean>;
36
+ subcategory: z.ZodNullable<z.ZodString>;
37
+ }, "strict", z.ZodTypeAny, {
38
+ account_id: string | null;
39
+ amount: number | null;
40
+ category: string | null;
41
+ date: string | null;
42
+ id: string;
43
+ merchant: string | null;
44
+ name: string | null;
45
+ pending: boolean | null;
46
+ subcategory: string | null;
47
+ }, {
48
+ account_id: string | null;
49
+ amount: number | null;
50
+ category: string | null;
51
+ date: string | null;
52
+ id: string;
53
+ merchant: string | null;
54
+ name: string | null;
55
+ pending: boolean | null;
56
+ subcategory: string | null;
57
+ }>;
58
+ export declare const exportAccountSchema: z.ZodObject<{
59
+ balance: z.ZodNullable<z.ZodNumber>;
60
+ id: z.ZodString;
61
+ mask: z.ZodNullable<z.ZodString>;
62
+ name: z.ZodNullable<z.ZodString>;
63
+ subtype: z.ZodNullable<z.ZodString>;
64
+ type: z.ZodNullable<z.ZodString>;
65
+ }, "strict", z.ZodTypeAny, {
66
+ balance: number | null;
67
+ id: string;
68
+ mask: string | null;
69
+ name: string | null;
70
+ subtype: string | null;
71
+ type: string | null;
72
+ }, {
73
+ balance: number | null;
74
+ id: string;
75
+ mask: string | null;
76
+ name: string | null;
77
+ subtype: string | null;
78
+ type: string | null;
79
+ }>;
80
+ export declare const exportSnapshotSchema: z.ZodObject<{
81
+ asset_value: z.ZodNullable<z.ZodNumber>;
82
+ investment_value: z.ZodNullable<z.ZodNumber>;
83
+ liability_value: z.ZodNullable<z.ZodNumber>;
84
+ net_worth: z.ZodNullable<z.ZodNumber>;
85
+ period_end: z.ZodString;
86
+ snapshot_date: z.ZodString;
87
+ total_cash: z.ZodNullable<z.ZodNumber>;
88
+ total_debt: z.ZodNullable<z.ZodNumber>;
89
+ }, "strict", z.ZodTypeAny, {
90
+ asset_value: number | null;
91
+ investment_value: number | null;
92
+ liability_value: number | null;
93
+ net_worth: number | null;
94
+ period_end: string;
95
+ snapshot_date: string;
96
+ total_cash: number | null;
97
+ total_debt: number | null;
98
+ }, {
99
+ asset_value: number | null;
100
+ investment_value: number | null;
101
+ liability_value: number | null;
102
+ net_worth: number | null;
103
+ period_end: string;
104
+ snapshot_date: string;
105
+ total_cash: number | null;
106
+ total_debt: number | null;
107
+ }>;
108
+ export declare const exportRecurringSchema: z.ZodObject<{
109
+ account_id: z.ZodNullable<z.ZodString>;
110
+ amount: z.ZodNullable<z.ZodNumber>;
111
+ frequency: z.ZodNullable<z.ZodString>;
112
+ id: z.ZodString;
113
+ merchant: z.ZodNullable<z.ZodString>;
114
+ next_date: z.ZodNullable<z.ZodString>;
115
+ status: z.ZodNullable<z.ZodString>;
116
+ }, "strict", z.ZodTypeAny, {
117
+ account_id: string | null;
118
+ amount: number | null;
119
+ frequency: string | null;
120
+ id: string;
121
+ merchant: string | null;
122
+ next_date: string | null;
123
+ status: string | null;
124
+ }, {
125
+ account_id: string | null;
126
+ amount: number | null;
127
+ frequency: string | null;
128
+ id: string;
129
+ merchant: string | null;
130
+ next_date: string | null;
131
+ status: string | null;
132
+ }>;
133
+ export declare const exportBudgetSchema: z.ZodObject<{
134
+ amount: z.ZodNumber;
135
+ budget_type: z.ZodString;
136
+ effective_amount: z.ZodNumber;
137
+ name: z.ZodString;
138
+ percent_used: z.ZodNumber;
139
+ period: z.ZodString;
140
+ remaining: z.ZodNumber;
141
+ rollover_enabled: z.ZodBoolean;
142
+ spent: z.ZodNumber;
143
+ status: z.ZodString;
144
+ }, "strict", z.ZodTypeAny, {
145
+ amount: number;
146
+ budget_type: string;
147
+ effective_amount: number;
148
+ name: string;
149
+ percent_used: number;
150
+ period: string;
151
+ remaining: number;
152
+ rollover_enabled: boolean;
153
+ spent: number;
154
+ status: string;
155
+ }, {
156
+ amount: number;
157
+ budget_type: string;
158
+ effective_amount: number;
159
+ name: string;
160
+ percent_used: number;
161
+ period: string;
162
+ remaining: number;
163
+ rollover_enabled: boolean;
164
+ spent: number;
165
+ status: string;
166
+ }>;
167
+ export declare const exportGoalSchema: z.ZodObject<{
168
+ category: z.ZodString;
169
+ current: z.ZodNumber;
170
+ linked_account: z.ZodNullable<z.ZodString>;
171
+ monthly_contribution_needed: z.ZodNullable<z.ZodNumber>;
172
+ name: z.ZodString;
173
+ progress_percent: z.ZodNumber;
174
+ status: z.ZodString;
175
+ target: z.ZodNumber;
176
+ target_date: z.ZodNullable<z.ZodString>;
177
+ }, "strict", z.ZodTypeAny, {
178
+ category: string;
179
+ current: number;
180
+ linked_account: string | null;
181
+ monthly_contribution_needed: number | null;
182
+ name: string;
183
+ progress_percent: number;
184
+ status: string;
185
+ target: number;
186
+ target_date: string | null;
187
+ }, {
188
+ category: string;
189
+ current: number;
190
+ linked_account: string | null;
191
+ monthly_contribution_needed: number | null;
192
+ name: string;
193
+ progress_percent: number;
194
+ status: string;
195
+ target: number;
196
+ target_date: string | null;
197
+ }>;
198
+ export declare const exportHealthSchema: z.ZodObject<{
199
+ data_completeness: z.ZodNullable<z.ZodNumber>;
200
+ generated_at: z.ZodString;
201
+ label: z.ZodNullable<z.ZodString>;
202
+ message: z.ZodNullable<z.ZodString>;
203
+ model_version: z.ZodNullable<z.ZodLiteral<2>>;
204
+ pillars: z.ZodNullable<z.ZodObject<{
205
+ borrow: z.ZodNullable<z.ZodNumber>;
206
+ build: z.ZodNullable<z.ZodNumber>;
207
+ save: z.ZodNullable<z.ZodNumber>;
208
+ spend: z.ZodNullable<z.ZodNumber>;
209
+ }, "strict", z.ZodTypeAny, {
210
+ borrow: number | null;
211
+ build: number | null;
212
+ save: number | null;
213
+ spend: number | null;
214
+ }, {
215
+ borrow: number | null;
216
+ build: number | null;
217
+ save: number | null;
218
+ spend: number | null;
219
+ }>>;
220
+ score: z.ZodNullable<z.ZodNumber>;
221
+ record_count: z.ZodNullable<z.ZodNumber>;
222
+ }, "strict", z.ZodTypeAny, {
223
+ data_completeness: number | null;
224
+ generated_at: string;
225
+ label: string | null;
226
+ message: string | null;
227
+ model_version: 2 | null;
228
+ pillars: {
229
+ borrow: number | null;
230
+ build: number | null;
231
+ save: number | null;
232
+ spend: number | null;
233
+ } | null;
234
+ score: number | null;
235
+ record_count: number | null;
236
+ }, {
237
+ data_completeness: number | null;
238
+ generated_at: string;
239
+ label: string | null;
240
+ message: string | null;
241
+ model_version: 2 | null;
242
+ pillars: {
243
+ borrow: number | null;
244
+ build: number | null;
245
+ save: number | null;
246
+ spend: number | null;
247
+ } | null;
248
+ score: number | null;
249
+ record_count: number | null;
250
+ }>;
251
+ export declare const exportLiabilitySchema: z.ZodObject<{
252
+ account_id: z.ZodNullable<z.ZodString>;
253
+ apr_percentage: z.ZodNullable<z.ZodNumber>;
254
+ balance: z.ZodNullable<z.ZodNumber>;
255
+ expected_payoff_date: z.ZodNullable<z.ZodString>;
256
+ interest_rate_percentage: z.ZodNullable<z.ZodNumber>;
257
+ interest_rate_type: z.ZodNullable<z.ZodString>;
258
+ is_overdue: z.ZodNullable<z.ZodBoolean>;
259
+ minimum_payment: z.ZodNullable<z.ZodNumber>;
260
+ next_payment_due_date: z.ZodNullable<z.ZodString>;
261
+ origination_principal_amount: z.ZodNullable<z.ZodNumber>;
262
+ type: z.ZodNullable<z.ZodString>;
263
+ }, "strict", z.ZodTypeAny, {
264
+ account_id: string | null;
265
+ apr_percentage: number | null;
266
+ balance: number | null;
267
+ expected_payoff_date: string | null;
268
+ interest_rate_percentage: number | null;
269
+ interest_rate_type: string | null;
270
+ is_overdue: boolean | null;
271
+ minimum_payment: number | null;
272
+ next_payment_due_date: string | null;
273
+ origination_principal_amount: number | null;
274
+ type: string | null;
275
+ }, {
276
+ account_id: string | null;
277
+ apr_percentage: number | null;
278
+ balance: number | null;
279
+ expected_payoff_date: string | null;
280
+ interest_rate_percentage: number | null;
281
+ interest_rate_type: string | null;
282
+ is_overdue: boolean | null;
283
+ minimum_payment: number | null;
284
+ next_payment_due_date: string | null;
285
+ origination_principal_amount: number | null;
286
+ type: string | null;
287
+ }>;
288
+ export declare const exportHoldingSchema: z.ZodObject<{
289
+ account_id: z.ZodNullable<z.ZodString>;
290
+ cost_basis: z.ZodNullable<z.ZodNumber>;
291
+ quantity: z.ZodNullable<z.ZodNumber>;
292
+ security_name: z.ZodNullable<z.ZodString>;
293
+ symbol: z.ZodNullable<z.ZodString>;
294
+ type: z.ZodNullable<z.ZodString>;
295
+ value: z.ZodNullable<z.ZodNumber>;
296
+ }, "strict", z.ZodTypeAny, {
297
+ account_id: string | null;
298
+ cost_basis: number | null;
299
+ quantity: number | null;
300
+ security_name: string | null;
301
+ symbol: string | null;
302
+ type: string | null;
303
+ value: number | null;
304
+ }, {
305
+ account_id: string | null;
306
+ cost_basis: number | null;
307
+ quantity: number | null;
308
+ security_name: string | null;
309
+ symbol: string | null;
310
+ type: string | null;
311
+ value: number | null;
312
+ }>;
313
+ export declare const exportDatasetResponseSchemas: {
314
+ readonly accounts: z.ZodObject<{
315
+ accounts: z.ZodArray<z.ZodObject<{
316
+ balance: z.ZodNullable<z.ZodNumber>;
317
+ id: z.ZodString;
318
+ mask: z.ZodNullable<z.ZodString>;
319
+ name: z.ZodNullable<z.ZodString>;
320
+ subtype: z.ZodNullable<z.ZodString>;
321
+ type: z.ZodNullable<z.ZodString>;
322
+ }, "strict", z.ZodTypeAny, {
323
+ balance: number | null;
324
+ id: string;
325
+ mask: string | null;
326
+ name: string | null;
327
+ subtype: string | null;
328
+ type: string | null;
329
+ }, {
330
+ balance: number | null;
331
+ id: string;
332
+ mask: string | null;
333
+ name: string | null;
334
+ subtype: string | null;
335
+ type: string | null;
336
+ }>, "many">;
337
+ generated_at: z.ZodString;
338
+ }, "strict", z.ZodTypeAny, {
339
+ accounts: {
340
+ balance: number | null;
341
+ id: string;
342
+ mask: string | null;
343
+ name: string | null;
344
+ subtype: string | null;
345
+ type: string | null;
346
+ }[];
347
+ generated_at: string;
348
+ }, {
349
+ accounts: {
350
+ balance: number | null;
351
+ id: string;
352
+ mask: string | null;
353
+ name: string | null;
354
+ subtype: string | null;
355
+ type: string | null;
356
+ }[];
357
+ generated_at: string;
358
+ }>;
359
+ readonly budgets: z.ZodObject<{
360
+ budgets: z.ZodArray<z.ZodObject<{
361
+ amount: z.ZodNumber;
362
+ budget_type: z.ZodString;
363
+ effective_amount: z.ZodNumber;
364
+ name: z.ZodString;
365
+ percent_used: z.ZodNumber;
366
+ period: z.ZodString;
367
+ remaining: z.ZodNumber;
368
+ rollover_enabled: z.ZodBoolean;
369
+ spent: z.ZodNumber;
370
+ status: z.ZodString;
371
+ }, "strict", z.ZodTypeAny, {
372
+ amount: number;
373
+ budget_type: string;
374
+ effective_amount: number;
375
+ name: string;
376
+ percent_used: number;
377
+ period: string;
378
+ remaining: number;
379
+ rollover_enabled: boolean;
380
+ spent: number;
381
+ status: string;
382
+ }, {
383
+ amount: number;
384
+ budget_type: string;
385
+ effective_amount: number;
386
+ name: string;
387
+ percent_used: number;
388
+ period: string;
389
+ remaining: number;
390
+ rollover_enabled: boolean;
391
+ spent: number;
392
+ status: string;
393
+ }>, "many">;
394
+ generated_at: z.ZodString;
395
+ }, "strict", z.ZodTypeAny, {
396
+ budgets: {
397
+ amount: number;
398
+ budget_type: string;
399
+ effective_amount: number;
400
+ name: string;
401
+ percent_used: number;
402
+ period: string;
403
+ remaining: number;
404
+ rollover_enabled: boolean;
405
+ spent: number;
406
+ status: string;
407
+ }[];
408
+ generated_at: string;
409
+ }, {
410
+ budgets: {
411
+ amount: number;
412
+ budget_type: string;
413
+ effective_amount: number;
414
+ name: string;
415
+ percent_used: number;
416
+ period: string;
417
+ remaining: number;
418
+ rollover_enabled: boolean;
419
+ spent: number;
420
+ status: string;
421
+ }[];
422
+ generated_at: string;
423
+ }>;
424
+ readonly goals: z.ZodObject<{
425
+ goals: z.ZodArray<z.ZodObject<{
426
+ category: z.ZodString;
427
+ current: z.ZodNumber;
428
+ linked_account: z.ZodNullable<z.ZodString>;
429
+ monthly_contribution_needed: z.ZodNullable<z.ZodNumber>;
430
+ name: z.ZodString;
431
+ progress_percent: z.ZodNumber;
432
+ status: z.ZodString;
433
+ target: z.ZodNumber;
434
+ target_date: z.ZodNullable<z.ZodString>;
435
+ }, "strict", z.ZodTypeAny, {
436
+ category: string;
437
+ current: number;
438
+ linked_account: string | null;
439
+ monthly_contribution_needed: number | null;
440
+ name: string;
441
+ progress_percent: number;
442
+ status: string;
443
+ target: number;
444
+ target_date: string | null;
445
+ }, {
446
+ category: string;
447
+ current: number;
448
+ linked_account: string | null;
449
+ monthly_contribution_needed: number | null;
450
+ name: string;
451
+ progress_percent: number;
452
+ status: string;
453
+ target: number;
454
+ target_date: string | null;
455
+ }>, "many">;
456
+ generated_at: z.ZodString;
457
+ }, "strict", z.ZodTypeAny, {
458
+ goals: {
459
+ category: string;
460
+ current: number;
461
+ linked_account: string | null;
462
+ monthly_contribution_needed: number | null;
463
+ name: string;
464
+ progress_percent: number;
465
+ status: string;
466
+ target: number;
467
+ target_date: string | null;
468
+ }[];
469
+ generated_at: string;
470
+ }, {
471
+ goals: {
472
+ category: string;
473
+ current: number;
474
+ linked_account: string | null;
475
+ monthly_contribution_needed: number | null;
476
+ name: string;
477
+ progress_percent: number;
478
+ status: string;
479
+ target: number;
480
+ target_date: string | null;
481
+ }[];
482
+ generated_at: string;
483
+ }>;
484
+ readonly health: z.ZodObject<{
485
+ data_completeness: z.ZodNullable<z.ZodNumber>;
486
+ generated_at: z.ZodString;
487
+ label: z.ZodNullable<z.ZodString>;
488
+ message: z.ZodNullable<z.ZodString>;
489
+ model_version: z.ZodNullable<z.ZodLiteral<2>>;
490
+ pillars: z.ZodNullable<z.ZodObject<{
491
+ borrow: z.ZodNullable<z.ZodNumber>;
492
+ build: z.ZodNullable<z.ZodNumber>;
493
+ save: z.ZodNullable<z.ZodNumber>;
494
+ spend: z.ZodNullable<z.ZodNumber>;
495
+ }, "strict", z.ZodTypeAny, {
496
+ borrow: number | null;
497
+ build: number | null;
498
+ save: number | null;
499
+ spend: number | null;
500
+ }, {
501
+ borrow: number | null;
502
+ build: number | null;
503
+ save: number | null;
504
+ spend: number | null;
505
+ }>>;
506
+ score: z.ZodNullable<z.ZodNumber>;
507
+ record_count: z.ZodNullable<z.ZodNumber>;
508
+ }, "strict", z.ZodTypeAny, {
509
+ data_completeness: number | null;
510
+ generated_at: string;
511
+ label: string | null;
512
+ message: string | null;
513
+ model_version: 2 | null;
514
+ pillars: {
515
+ borrow: number | null;
516
+ build: number | null;
517
+ save: number | null;
518
+ spend: number | null;
519
+ } | null;
520
+ score: number | null;
521
+ record_count: number | null;
522
+ }, {
523
+ data_completeness: number | null;
524
+ generated_at: string;
525
+ label: string | null;
526
+ message: string | null;
527
+ model_version: 2 | null;
528
+ pillars: {
529
+ borrow: number | null;
530
+ build: number | null;
531
+ save: number | null;
532
+ spend: number | null;
533
+ } | null;
534
+ score: number | null;
535
+ record_count: number | null;
536
+ }>;
537
+ readonly holdings: z.ZodObject<{
538
+ holdings: z.ZodArray<z.ZodObject<{
539
+ account_id: z.ZodNullable<z.ZodString>;
540
+ cost_basis: z.ZodNullable<z.ZodNumber>;
541
+ quantity: z.ZodNullable<z.ZodNumber>;
542
+ security_name: z.ZodNullable<z.ZodString>;
543
+ symbol: z.ZodNullable<z.ZodString>;
544
+ type: z.ZodNullable<z.ZodString>;
545
+ value: z.ZodNullable<z.ZodNumber>;
546
+ }, "strict", z.ZodTypeAny, {
547
+ account_id: string | null;
548
+ cost_basis: number | null;
549
+ quantity: number | null;
550
+ security_name: string | null;
551
+ symbol: string | null;
552
+ type: string | null;
553
+ value: number | null;
554
+ }, {
555
+ account_id: string | null;
556
+ cost_basis: number | null;
557
+ quantity: number | null;
558
+ security_name: string | null;
559
+ symbol: string | null;
560
+ type: string | null;
561
+ value: number | null;
562
+ }>, "many">;
563
+ generated_at: z.ZodString;
564
+ }, "strict", z.ZodTypeAny, {
565
+ holdings: {
566
+ account_id: string | null;
567
+ cost_basis: number | null;
568
+ quantity: number | null;
569
+ security_name: string | null;
570
+ symbol: string | null;
571
+ type: string | null;
572
+ value: number | null;
573
+ }[];
574
+ generated_at: string;
575
+ }, {
576
+ holdings: {
577
+ account_id: string | null;
578
+ cost_basis: number | null;
579
+ quantity: number | null;
580
+ security_name: string | null;
581
+ symbol: string | null;
582
+ type: string | null;
583
+ value: number | null;
584
+ }[];
585
+ generated_at: string;
586
+ }>;
587
+ readonly liabilities: z.ZodObject<{
588
+ liabilities: z.ZodArray<z.ZodObject<{
589
+ account_id: z.ZodNullable<z.ZodString>;
590
+ apr_percentage: z.ZodNullable<z.ZodNumber>;
591
+ balance: z.ZodNullable<z.ZodNumber>;
592
+ expected_payoff_date: z.ZodNullable<z.ZodString>;
593
+ interest_rate_percentage: z.ZodNullable<z.ZodNumber>;
594
+ interest_rate_type: z.ZodNullable<z.ZodString>;
595
+ is_overdue: z.ZodNullable<z.ZodBoolean>;
596
+ minimum_payment: z.ZodNullable<z.ZodNumber>;
597
+ next_payment_due_date: z.ZodNullable<z.ZodString>;
598
+ origination_principal_amount: z.ZodNullable<z.ZodNumber>;
599
+ type: z.ZodNullable<z.ZodString>;
600
+ }, "strict", z.ZodTypeAny, {
601
+ account_id: string | null;
602
+ apr_percentage: number | null;
603
+ balance: number | null;
604
+ expected_payoff_date: string | null;
605
+ interest_rate_percentage: number | null;
606
+ interest_rate_type: string | null;
607
+ is_overdue: boolean | null;
608
+ minimum_payment: number | null;
609
+ next_payment_due_date: string | null;
610
+ origination_principal_amount: number | null;
611
+ type: string | null;
612
+ }, {
613
+ account_id: string | null;
614
+ apr_percentage: number | null;
615
+ balance: number | null;
616
+ expected_payoff_date: string | null;
617
+ interest_rate_percentage: number | null;
618
+ interest_rate_type: string | null;
619
+ is_overdue: boolean | null;
620
+ minimum_payment: number | null;
621
+ next_payment_due_date: string | null;
622
+ origination_principal_amount: number | null;
623
+ type: string | null;
624
+ }>, "many">;
625
+ generated_at: z.ZodString;
626
+ }, "strict", z.ZodTypeAny, {
627
+ liabilities: {
628
+ account_id: string | null;
629
+ apr_percentage: number | null;
630
+ balance: number | null;
631
+ expected_payoff_date: string | null;
632
+ interest_rate_percentage: number | null;
633
+ interest_rate_type: string | null;
634
+ is_overdue: boolean | null;
635
+ minimum_payment: number | null;
636
+ next_payment_due_date: string | null;
637
+ origination_principal_amount: number | null;
638
+ type: string | null;
639
+ }[];
640
+ generated_at: string;
641
+ }, {
642
+ liabilities: {
643
+ account_id: string | null;
644
+ apr_percentage: number | null;
645
+ balance: number | null;
646
+ expected_payoff_date: string | null;
647
+ interest_rate_percentage: number | null;
648
+ interest_rate_type: string | null;
649
+ is_overdue: boolean | null;
650
+ minimum_payment: number | null;
651
+ next_payment_due_date: string | null;
652
+ origination_principal_amount: number | null;
653
+ type: string | null;
654
+ }[];
655
+ generated_at: string;
656
+ }>;
657
+ readonly recurring: z.ZodObject<{
658
+ generated_at: z.ZodString;
659
+ recurring_transactions: z.ZodArray<z.ZodObject<{
660
+ account_id: z.ZodNullable<z.ZodString>;
661
+ amount: z.ZodNullable<z.ZodNumber>;
662
+ frequency: z.ZodNullable<z.ZodString>;
663
+ id: z.ZodString;
664
+ merchant: z.ZodNullable<z.ZodString>;
665
+ next_date: z.ZodNullable<z.ZodString>;
666
+ status: z.ZodNullable<z.ZodString>;
667
+ }, "strict", z.ZodTypeAny, {
668
+ account_id: string | null;
669
+ amount: number | null;
670
+ frequency: string | null;
671
+ id: string;
672
+ merchant: string | null;
673
+ next_date: string | null;
674
+ status: string | null;
675
+ }, {
676
+ account_id: string | null;
677
+ amount: number | null;
678
+ frequency: string | null;
679
+ id: string;
680
+ merchant: string | null;
681
+ next_date: string | null;
682
+ status: string | null;
683
+ }>, "many">;
684
+ }, "strict", z.ZodTypeAny, {
685
+ generated_at: string;
686
+ recurring_transactions: {
687
+ account_id: string | null;
688
+ amount: number | null;
689
+ frequency: string | null;
690
+ id: string;
691
+ merchant: string | null;
692
+ next_date: string | null;
693
+ status: string | null;
694
+ }[];
695
+ }, {
696
+ generated_at: string;
697
+ recurring_transactions: {
698
+ account_id: string | null;
699
+ amount: number | null;
700
+ frequency: string | null;
701
+ id: string;
702
+ merchant: string | null;
703
+ next_date: string | null;
704
+ status: string | null;
705
+ }[];
706
+ }>;
707
+ readonly snapshots: z.ZodObject<{
708
+ snapshots: z.ZodArray<z.ZodObject<{
709
+ asset_value: z.ZodNullable<z.ZodNumber>;
710
+ investment_value: z.ZodNullable<z.ZodNumber>;
711
+ liability_value: z.ZodNullable<z.ZodNumber>;
712
+ net_worth: z.ZodNullable<z.ZodNumber>;
713
+ period_end: z.ZodString;
714
+ snapshot_date: z.ZodString;
715
+ total_cash: z.ZodNullable<z.ZodNumber>;
716
+ total_debt: z.ZodNullable<z.ZodNumber>;
717
+ }, "strict", z.ZodTypeAny, {
718
+ asset_value: number | null;
719
+ investment_value: number | null;
720
+ liability_value: number | null;
721
+ net_worth: number | null;
722
+ period_end: string;
723
+ snapshot_date: string;
724
+ total_cash: number | null;
725
+ total_debt: number | null;
726
+ }, {
727
+ asset_value: number | null;
728
+ investment_value: number | null;
729
+ liability_value: number | null;
730
+ net_worth: number | null;
731
+ period_end: string;
732
+ snapshot_date: string;
733
+ total_cash: number | null;
734
+ total_debt: number | null;
735
+ }>, "many">;
736
+ generated_at: z.ZodString;
737
+ }, "strict", z.ZodTypeAny, {
738
+ snapshots: {
739
+ asset_value: number | null;
740
+ investment_value: number | null;
741
+ liability_value: number | null;
742
+ net_worth: number | null;
743
+ period_end: string;
744
+ snapshot_date: string;
745
+ total_cash: number | null;
746
+ total_debt: number | null;
747
+ }[];
748
+ generated_at: string;
749
+ }, {
750
+ snapshots: {
751
+ asset_value: number | null;
752
+ investment_value: number | null;
753
+ liability_value: number | null;
754
+ net_worth: number | null;
755
+ period_end: string;
756
+ snapshot_date: string;
757
+ total_cash: number | null;
758
+ total_debt: number | null;
759
+ }[];
760
+ generated_at: string;
761
+ }>;
762
+ readonly transactions: z.ZodObject<{
763
+ generated_at: z.ZodString;
764
+ next_knowledge: z.ZodString;
765
+ pagination: z.ZodOptional<z.ZodObject<{
766
+ limit: z.ZodNumber;
767
+ next_cursor: z.ZodString;
768
+ }, "strict", z.ZodTypeAny, {
769
+ limit: number;
770
+ next_cursor: string;
771
+ }, {
772
+ limit: number;
773
+ next_cursor: string;
774
+ }>>;
775
+ transactions: z.ZodArray<z.ZodObject<{
776
+ account_id: z.ZodNullable<z.ZodString>;
777
+ amount: z.ZodNullable<z.ZodNumber>;
778
+ category: z.ZodNullable<z.ZodString>;
779
+ date: z.ZodNullable<z.ZodString>;
780
+ id: z.ZodString;
781
+ merchant: z.ZodNullable<z.ZodString>;
782
+ name: z.ZodNullable<z.ZodString>;
783
+ pending: z.ZodNullable<z.ZodBoolean>;
784
+ subcategory: z.ZodNullable<z.ZodString>;
785
+ }, "strict", z.ZodTypeAny, {
786
+ account_id: string | null;
787
+ amount: number | null;
788
+ category: string | null;
789
+ date: string | null;
790
+ id: string;
791
+ merchant: string | null;
792
+ name: string | null;
793
+ pending: boolean | null;
794
+ subcategory: string | null;
795
+ }, {
796
+ account_id: string | null;
797
+ amount: number | null;
798
+ category: string | null;
799
+ date: string | null;
800
+ id: string;
801
+ merchant: string | null;
802
+ name: string | null;
803
+ pending: boolean | null;
804
+ subcategory: string | null;
805
+ }>, "many">;
806
+ }, "strict", z.ZodTypeAny, {
807
+ generated_at: string;
808
+ next_knowledge: string;
809
+ pagination?: {
810
+ limit: number;
811
+ next_cursor: string;
812
+ } | undefined;
813
+ transactions: {
814
+ account_id: string | null;
815
+ amount: number | null;
816
+ category: string | null;
817
+ date: string | null;
818
+ id: string;
819
+ merchant: string | null;
820
+ name: string | null;
821
+ pending: boolean | null;
822
+ subcategory: string | null;
823
+ }[];
824
+ }, {
825
+ generated_at: string;
826
+ next_knowledge: string;
827
+ pagination?: {
828
+ limit: number;
829
+ next_cursor: string;
830
+ } | undefined;
831
+ transactions: {
832
+ account_id: string | null;
833
+ amount: number | null;
834
+ category: string | null;
835
+ date: string | null;
836
+ id: string;
837
+ merchant: string | null;
838
+ name: string | null;
839
+ pending: boolean | null;
840
+ subcategory: string | null;
841
+ }[];
842
+ }>;
843
+ };
844
+ export declare const exportDatasetResponseSchema: z.ZodUnion<[z.ZodObject<{
845
+ accounts: z.ZodArray<z.ZodObject<{
846
+ balance: z.ZodNullable<z.ZodNumber>;
847
+ id: z.ZodString;
848
+ mask: z.ZodNullable<z.ZodString>;
849
+ name: z.ZodNullable<z.ZodString>;
850
+ subtype: z.ZodNullable<z.ZodString>;
851
+ type: z.ZodNullable<z.ZodString>;
852
+ }, "strict", z.ZodTypeAny, {
853
+ balance: number | null;
854
+ id: string;
855
+ mask: string | null;
856
+ name: string | null;
857
+ subtype: string | null;
858
+ type: string | null;
859
+ }, {
860
+ balance: number | null;
861
+ id: string;
862
+ mask: string | null;
863
+ name: string | null;
864
+ subtype: string | null;
865
+ type: string | null;
866
+ }>, "many">;
867
+ generated_at: z.ZodString;
868
+ }, "strict", z.ZodTypeAny, {
869
+ accounts: {
870
+ balance: number | null;
871
+ id: string;
872
+ mask: string | null;
873
+ name: string | null;
874
+ subtype: string | null;
875
+ type: string | null;
876
+ }[];
877
+ generated_at: string;
878
+ }, {
879
+ accounts: {
880
+ balance: number | null;
881
+ id: string;
882
+ mask: string | null;
883
+ name: string | null;
884
+ subtype: string | null;
885
+ type: string | null;
886
+ }[];
887
+ generated_at: string;
888
+ }>, z.ZodObject<{
889
+ generated_at: z.ZodString;
890
+ next_knowledge: z.ZodString;
891
+ pagination: z.ZodOptional<z.ZodObject<{
892
+ limit: z.ZodNumber;
893
+ next_cursor: z.ZodString;
894
+ }, "strict", z.ZodTypeAny, {
895
+ limit: number;
896
+ next_cursor: string;
897
+ }, {
898
+ limit: number;
899
+ next_cursor: string;
900
+ }>>;
901
+ transactions: z.ZodArray<z.ZodObject<{
902
+ account_id: z.ZodNullable<z.ZodString>;
903
+ amount: z.ZodNullable<z.ZodNumber>;
904
+ category: z.ZodNullable<z.ZodString>;
905
+ date: z.ZodNullable<z.ZodString>;
906
+ id: z.ZodString;
907
+ merchant: z.ZodNullable<z.ZodString>;
908
+ name: z.ZodNullable<z.ZodString>;
909
+ pending: z.ZodNullable<z.ZodBoolean>;
910
+ subcategory: z.ZodNullable<z.ZodString>;
911
+ }, "strict", z.ZodTypeAny, {
912
+ account_id: string | null;
913
+ amount: number | null;
914
+ category: string | null;
915
+ date: string | null;
916
+ id: string;
917
+ merchant: string | null;
918
+ name: string | null;
919
+ pending: boolean | null;
920
+ subcategory: string | null;
921
+ }, {
922
+ account_id: string | null;
923
+ amount: number | null;
924
+ category: string | null;
925
+ date: string | null;
926
+ id: string;
927
+ merchant: string | null;
928
+ name: string | null;
929
+ pending: boolean | null;
930
+ subcategory: string | null;
931
+ }>, "many">;
932
+ }, "strict", z.ZodTypeAny, {
933
+ generated_at: string;
934
+ next_knowledge: string;
935
+ pagination?: {
936
+ limit: number;
937
+ next_cursor: string;
938
+ } | undefined;
939
+ transactions: {
940
+ account_id: string | null;
941
+ amount: number | null;
942
+ category: string | null;
943
+ date: string | null;
944
+ id: string;
945
+ merchant: string | null;
946
+ name: string | null;
947
+ pending: boolean | null;
948
+ subcategory: string | null;
949
+ }[];
950
+ }, {
951
+ generated_at: string;
952
+ next_knowledge: string;
953
+ pagination?: {
954
+ limit: number;
955
+ next_cursor: string;
956
+ } | undefined;
957
+ transactions: {
958
+ account_id: string | null;
959
+ amount: number | null;
960
+ category: string | null;
961
+ date: string | null;
962
+ id: string;
963
+ merchant: string | null;
964
+ name: string | null;
965
+ pending: boolean | null;
966
+ subcategory: string | null;
967
+ }[];
968
+ }>, z.ZodObject<{
969
+ snapshots: z.ZodArray<z.ZodObject<{
970
+ asset_value: z.ZodNullable<z.ZodNumber>;
971
+ investment_value: z.ZodNullable<z.ZodNumber>;
972
+ liability_value: z.ZodNullable<z.ZodNumber>;
973
+ net_worth: z.ZodNullable<z.ZodNumber>;
974
+ period_end: z.ZodString;
975
+ snapshot_date: z.ZodString;
976
+ total_cash: z.ZodNullable<z.ZodNumber>;
977
+ total_debt: z.ZodNullable<z.ZodNumber>;
978
+ }, "strict", z.ZodTypeAny, {
979
+ asset_value: number | null;
980
+ investment_value: number | null;
981
+ liability_value: number | null;
982
+ net_worth: number | null;
983
+ period_end: string;
984
+ snapshot_date: string;
985
+ total_cash: number | null;
986
+ total_debt: number | null;
987
+ }, {
988
+ asset_value: number | null;
989
+ investment_value: number | null;
990
+ liability_value: number | null;
991
+ net_worth: number | null;
992
+ period_end: string;
993
+ snapshot_date: string;
994
+ total_cash: number | null;
995
+ total_debt: number | null;
996
+ }>, "many">;
997
+ generated_at: z.ZodString;
998
+ }, "strict", z.ZodTypeAny, {
999
+ snapshots: {
1000
+ asset_value: number | null;
1001
+ investment_value: number | null;
1002
+ liability_value: number | null;
1003
+ net_worth: number | null;
1004
+ period_end: string;
1005
+ snapshot_date: string;
1006
+ total_cash: number | null;
1007
+ total_debt: number | null;
1008
+ }[];
1009
+ generated_at: string;
1010
+ }, {
1011
+ snapshots: {
1012
+ asset_value: number | null;
1013
+ investment_value: number | null;
1014
+ liability_value: number | null;
1015
+ net_worth: number | null;
1016
+ period_end: string;
1017
+ snapshot_date: string;
1018
+ total_cash: number | null;
1019
+ total_debt: number | null;
1020
+ }[];
1021
+ generated_at: string;
1022
+ }>, z.ZodObject<{
1023
+ generated_at: z.ZodString;
1024
+ recurring_transactions: z.ZodArray<z.ZodObject<{
1025
+ account_id: z.ZodNullable<z.ZodString>;
1026
+ amount: z.ZodNullable<z.ZodNumber>;
1027
+ frequency: z.ZodNullable<z.ZodString>;
1028
+ id: z.ZodString;
1029
+ merchant: z.ZodNullable<z.ZodString>;
1030
+ next_date: z.ZodNullable<z.ZodString>;
1031
+ status: z.ZodNullable<z.ZodString>;
1032
+ }, "strict", z.ZodTypeAny, {
1033
+ account_id: string | null;
1034
+ amount: number | null;
1035
+ frequency: string | null;
1036
+ id: string;
1037
+ merchant: string | null;
1038
+ next_date: string | null;
1039
+ status: string | null;
1040
+ }, {
1041
+ account_id: string | null;
1042
+ amount: number | null;
1043
+ frequency: string | null;
1044
+ id: string;
1045
+ merchant: string | null;
1046
+ next_date: string | null;
1047
+ status: string | null;
1048
+ }>, "many">;
1049
+ }, "strict", z.ZodTypeAny, {
1050
+ generated_at: string;
1051
+ recurring_transactions: {
1052
+ account_id: string | null;
1053
+ amount: number | null;
1054
+ frequency: string | null;
1055
+ id: string;
1056
+ merchant: string | null;
1057
+ next_date: string | null;
1058
+ status: string | null;
1059
+ }[];
1060
+ }, {
1061
+ generated_at: string;
1062
+ recurring_transactions: {
1063
+ account_id: string | null;
1064
+ amount: number | null;
1065
+ frequency: string | null;
1066
+ id: string;
1067
+ merchant: string | null;
1068
+ next_date: string | null;
1069
+ status: string | null;
1070
+ }[];
1071
+ }>, z.ZodObject<{
1072
+ budgets: z.ZodArray<z.ZodObject<{
1073
+ amount: z.ZodNumber;
1074
+ budget_type: z.ZodString;
1075
+ effective_amount: z.ZodNumber;
1076
+ name: z.ZodString;
1077
+ percent_used: z.ZodNumber;
1078
+ period: z.ZodString;
1079
+ remaining: z.ZodNumber;
1080
+ rollover_enabled: z.ZodBoolean;
1081
+ spent: z.ZodNumber;
1082
+ status: z.ZodString;
1083
+ }, "strict", z.ZodTypeAny, {
1084
+ amount: number;
1085
+ budget_type: string;
1086
+ effective_amount: number;
1087
+ name: string;
1088
+ percent_used: number;
1089
+ period: string;
1090
+ remaining: number;
1091
+ rollover_enabled: boolean;
1092
+ spent: number;
1093
+ status: string;
1094
+ }, {
1095
+ amount: number;
1096
+ budget_type: string;
1097
+ effective_amount: number;
1098
+ name: string;
1099
+ percent_used: number;
1100
+ period: string;
1101
+ remaining: number;
1102
+ rollover_enabled: boolean;
1103
+ spent: number;
1104
+ status: string;
1105
+ }>, "many">;
1106
+ generated_at: z.ZodString;
1107
+ }, "strict", z.ZodTypeAny, {
1108
+ budgets: {
1109
+ amount: number;
1110
+ budget_type: string;
1111
+ effective_amount: number;
1112
+ name: string;
1113
+ percent_used: number;
1114
+ period: string;
1115
+ remaining: number;
1116
+ rollover_enabled: boolean;
1117
+ spent: number;
1118
+ status: string;
1119
+ }[];
1120
+ generated_at: string;
1121
+ }, {
1122
+ budgets: {
1123
+ amount: number;
1124
+ budget_type: string;
1125
+ effective_amount: number;
1126
+ name: string;
1127
+ percent_used: number;
1128
+ period: string;
1129
+ remaining: number;
1130
+ rollover_enabled: boolean;
1131
+ spent: number;
1132
+ status: string;
1133
+ }[];
1134
+ generated_at: string;
1135
+ }>, z.ZodObject<{
1136
+ goals: z.ZodArray<z.ZodObject<{
1137
+ category: z.ZodString;
1138
+ current: z.ZodNumber;
1139
+ linked_account: z.ZodNullable<z.ZodString>;
1140
+ monthly_contribution_needed: z.ZodNullable<z.ZodNumber>;
1141
+ name: z.ZodString;
1142
+ progress_percent: z.ZodNumber;
1143
+ status: z.ZodString;
1144
+ target: z.ZodNumber;
1145
+ target_date: z.ZodNullable<z.ZodString>;
1146
+ }, "strict", z.ZodTypeAny, {
1147
+ category: string;
1148
+ current: number;
1149
+ linked_account: string | null;
1150
+ monthly_contribution_needed: number | null;
1151
+ name: string;
1152
+ progress_percent: number;
1153
+ status: string;
1154
+ target: number;
1155
+ target_date: string | null;
1156
+ }, {
1157
+ category: string;
1158
+ current: number;
1159
+ linked_account: string | null;
1160
+ monthly_contribution_needed: number | null;
1161
+ name: string;
1162
+ progress_percent: number;
1163
+ status: string;
1164
+ target: number;
1165
+ target_date: string | null;
1166
+ }>, "many">;
1167
+ generated_at: z.ZodString;
1168
+ }, "strict", z.ZodTypeAny, {
1169
+ goals: {
1170
+ category: string;
1171
+ current: number;
1172
+ linked_account: string | null;
1173
+ monthly_contribution_needed: number | null;
1174
+ name: string;
1175
+ progress_percent: number;
1176
+ status: string;
1177
+ target: number;
1178
+ target_date: string | null;
1179
+ }[];
1180
+ generated_at: string;
1181
+ }, {
1182
+ goals: {
1183
+ category: string;
1184
+ current: number;
1185
+ linked_account: string | null;
1186
+ monthly_contribution_needed: number | null;
1187
+ name: string;
1188
+ progress_percent: number;
1189
+ status: string;
1190
+ target: number;
1191
+ target_date: string | null;
1192
+ }[];
1193
+ generated_at: string;
1194
+ }>, z.ZodObject<{
1195
+ data_completeness: z.ZodNullable<z.ZodNumber>;
1196
+ generated_at: z.ZodString;
1197
+ label: z.ZodNullable<z.ZodString>;
1198
+ message: z.ZodNullable<z.ZodString>;
1199
+ model_version: z.ZodNullable<z.ZodLiteral<2>>;
1200
+ pillars: z.ZodNullable<z.ZodObject<{
1201
+ borrow: z.ZodNullable<z.ZodNumber>;
1202
+ build: z.ZodNullable<z.ZodNumber>;
1203
+ save: z.ZodNullable<z.ZodNumber>;
1204
+ spend: z.ZodNullable<z.ZodNumber>;
1205
+ }, "strict", z.ZodTypeAny, {
1206
+ borrow: number | null;
1207
+ build: number | null;
1208
+ save: number | null;
1209
+ spend: number | null;
1210
+ }, {
1211
+ borrow: number | null;
1212
+ build: number | null;
1213
+ save: number | null;
1214
+ spend: number | null;
1215
+ }>>;
1216
+ score: z.ZodNullable<z.ZodNumber>;
1217
+ record_count: z.ZodNullable<z.ZodNumber>;
1218
+ }, "strict", z.ZodTypeAny, {
1219
+ data_completeness: number | null;
1220
+ generated_at: string;
1221
+ label: string | null;
1222
+ message: string | null;
1223
+ model_version: 2 | null;
1224
+ pillars: {
1225
+ borrow: number | null;
1226
+ build: number | null;
1227
+ save: number | null;
1228
+ spend: number | null;
1229
+ } | null;
1230
+ score: number | null;
1231
+ record_count: number | null;
1232
+ }, {
1233
+ data_completeness: number | null;
1234
+ generated_at: string;
1235
+ label: string | null;
1236
+ message: string | null;
1237
+ model_version: 2 | null;
1238
+ pillars: {
1239
+ borrow: number | null;
1240
+ build: number | null;
1241
+ save: number | null;
1242
+ spend: number | null;
1243
+ } | null;
1244
+ score: number | null;
1245
+ record_count: number | null;
1246
+ }>, z.ZodObject<{
1247
+ liabilities: z.ZodArray<z.ZodObject<{
1248
+ account_id: z.ZodNullable<z.ZodString>;
1249
+ apr_percentage: z.ZodNullable<z.ZodNumber>;
1250
+ balance: z.ZodNullable<z.ZodNumber>;
1251
+ expected_payoff_date: z.ZodNullable<z.ZodString>;
1252
+ interest_rate_percentage: z.ZodNullable<z.ZodNumber>;
1253
+ interest_rate_type: z.ZodNullable<z.ZodString>;
1254
+ is_overdue: z.ZodNullable<z.ZodBoolean>;
1255
+ minimum_payment: z.ZodNullable<z.ZodNumber>;
1256
+ next_payment_due_date: z.ZodNullable<z.ZodString>;
1257
+ origination_principal_amount: z.ZodNullable<z.ZodNumber>;
1258
+ type: z.ZodNullable<z.ZodString>;
1259
+ }, "strict", z.ZodTypeAny, {
1260
+ account_id: string | null;
1261
+ apr_percentage: number | null;
1262
+ balance: number | null;
1263
+ expected_payoff_date: string | null;
1264
+ interest_rate_percentage: number | null;
1265
+ interest_rate_type: string | null;
1266
+ is_overdue: boolean | null;
1267
+ minimum_payment: number | null;
1268
+ next_payment_due_date: string | null;
1269
+ origination_principal_amount: number | null;
1270
+ type: string | null;
1271
+ }, {
1272
+ account_id: string | null;
1273
+ apr_percentage: number | null;
1274
+ balance: number | null;
1275
+ expected_payoff_date: string | null;
1276
+ interest_rate_percentage: number | null;
1277
+ interest_rate_type: string | null;
1278
+ is_overdue: boolean | null;
1279
+ minimum_payment: number | null;
1280
+ next_payment_due_date: string | null;
1281
+ origination_principal_amount: number | null;
1282
+ type: string | null;
1283
+ }>, "many">;
1284
+ generated_at: z.ZodString;
1285
+ }, "strict", z.ZodTypeAny, {
1286
+ liabilities: {
1287
+ account_id: string | null;
1288
+ apr_percentage: number | null;
1289
+ balance: number | null;
1290
+ expected_payoff_date: string | null;
1291
+ interest_rate_percentage: number | null;
1292
+ interest_rate_type: string | null;
1293
+ is_overdue: boolean | null;
1294
+ minimum_payment: number | null;
1295
+ next_payment_due_date: string | null;
1296
+ origination_principal_amount: number | null;
1297
+ type: string | null;
1298
+ }[];
1299
+ generated_at: string;
1300
+ }, {
1301
+ liabilities: {
1302
+ account_id: string | null;
1303
+ apr_percentage: number | null;
1304
+ balance: number | null;
1305
+ expected_payoff_date: string | null;
1306
+ interest_rate_percentage: number | null;
1307
+ interest_rate_type: string | null;
1308
+ is_overdue: boolean | null;
1309
+ minimum_payment: number | null;
1310
+ next_payment_due_date: string | null;
1311
+ origination_principal_amount: number | null;
1312
+ type: string | null;
1313
+ }[];
1314
+ generated_at: string;
1315
+ }>, z.ZodObject<{
1316
+ holdings: z.ZodArray<z.ZodObject<{
1317
+ account_id: z.ZodNullable<z.ZodString>;
1318
+ cost_basis: z.ZodNullable<z.ZodNumber>;
1319
+ quantity: z.ZodNullable<z.ZodNumber>;
1320
+ security_name: z.ZodNullable<z.ZodString>;
1321
+ symbol: z.ZodNullable<z.ZodString>;
1322
+ type: z.ZodNullable<z.ZodString>;
1323
+ value: z.ZodNullable<z.ZodNumber>;
1324
+ }, "strict", z.ZodTypeAny, {
1325
+ account_id: string | null;
1326
+ cost_basis: number | null;
1327
+ quantity: number | null;
1328
+ security_name: string | null;
1329
+ symbol: string | null;
1330
+ type: string | null;
1331
+ value: number | null;
1332
+ }, {
1333
+ account_id: string | null;
1334
+ cost_basis: number | null;
1335
+ quantity: number | null;
1336
+ security_name: string | null;
1337
+ symbol: string | null;
1338
+ type: string | null;
1339
+ value: number | null;
1340
+ }>, "many">;
1341
+ generated_at: z.ZodString;
1342
+ }, "strict", z.ZodTypeAny, {
1343
+ holdings: {
1344
+ account_id: string | null;
1345
+ cost_basis: number | null;
1346
+ quantity: number | null;
1347
+ security_name: string | null;
1348
+ symbol: string | null;
1349
+ type: string | null;
1350
+ value: number | null;
1351
+ }[];
1352
+ generated_at: string;
1353
+ }, {
1354
+ holdings: {
1355
+ account_id: string | null;
1356
+ cost_basis: number | null;
1357
+ quantity: number | null;
1358
+ security_name: string | null;
1359
+ symbol: string | null;
1360
+ type: string | null;
1361
+ value: number | null;
1362
+ }[];
1363
+ generated_at: string;
1364
+ }>]>;
1365
+ export type PublicApiError = z.infer<typeof publicApiErrorSchema>;
1366
+ export type VerifyApiResponse = z.infer<typeof verifyApiResponseSchema>;
1367
+ export type ExportDatasetResponse = z.infer<typeof exportDatasetResponseSchema>;
1368
+ //# sourceMappingURL=public-api.d.ts.map