@budgetbuddyde/types 1.0.21 → 1.0.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/ApiResponse.type.d.ts +0 -3
- package/lib/Budget.types.d.ts +114 -0
- package/lib/Budget.types.js +27 -0
- package/lib/Category.types.d.ts +52 -0
- package/lib/Category.types.js +23 -0
- package/lib/DailyBalance.types.d.ts +24 -0
- package/lib/DailyBalance.types.js +14 -0
- package/lib/{Auth.type.js → Deprecated/Auth.type.js} +1 -1
- package/lib/{Budget.type.js → Deprecated/Budget.type.js} +1 -1
- package/lib/{Category.type.js → Deprecated/Category.type.js} +1 -1
- package/lib/{DailyTransaction.type.js → Deprecated/DailyTransaction.type.js} +1 -1
- package/lib/{File.type.js → Deprecated/File.type.js} +1 -1
- package/lib/{PaymentMethod.type.js → Deprecated/PaymentMethod.type.js} +1 -1
- package/lib/{Role.type.js → Deprecated/Role.type.js} +1 -1
- package/lib/Deprecated/Stock.types.d.ts +326 -0
- package/lib/Deprecated/Stock.types.js +110 -0
- package/lib/{Subscription.type.js → Deprecated/Subscription.type.js} +1 -1
- package/lib/{Transaction.type.js → Deprecated/Transaction.type.js} +1 -1
- package/lib/{User.type.js → Deprecated/User.type.js} +1 -1
- package/lib/MonthlyBalance.types.d.ts +24 -0
- package/lib/MonthlyBalance.types.js +14 -0
- package/lib/PaymentMethod.types.d.ts +70 -0
- package/lib/PaymentMethod.types.js +29 -0
- package/lib/PocketBase.types.d.ts +22 -0
- package/lib/PocketBase.types.js +19 -0
- package/lib/{Stock.types.d.ts → Stocks/Stock.types.d.ts} +494 -489
- package/lib/{Stock.types.js → Stocks/Stock.types.js} +85 -126
- package/lib/Stocks/index.d.ts +1 -0
- package/lib/Stocks/index.js +17 -0
- package/lib/Subscription.types.d.ts +233 -0
- package/lib/Subscription.types.js +46 -0
- package/lib/Transaction.types.d.ts +227 -0
- package/lib/Transaction.types.js +45 -0
- package/lib/User.types.d.ts +36 -0
- package/lib/User.types.js +19 -0
- package/lib/index.d.ts +10 -11
- package/lib/index.js +10 -11
- package/package.json +1 -1
- package/lib/{Auth.type.d.ts → Deprecated/Auth.type.d.ts} +12 -12
- package/lib/{Budget.type.d.ts → Deprecated/Budget.type.d.ts} +107 -107
- package/lib/{Category.type.d.ts → Deprecated/Category.type.d.ts} +30 -30
- package/lib/{DailyTransaction.type.d.ts → Deprecated/DailyTransaction.type.d.ts} +0 -0
- package/lib/{File.type.d.ts → Deprecated/File.type.d.ts} +0 -0
- package/lib/{PaymentMethod.type.d.ts → Deprecated/PaymentMethod.type.d.ts} +30 -30
- package/lib/{Role.type.d.ts → Deprecated/Role.type.d.ts} +2 -2
- package/lib/{Subscription.type.d.ts → Deprecated/Subscription.type.d.ts} +124 -124
- package/lib/{Transaction.type.d.ts → Deprecated/Transaction.type.d.ts} +126 -126
- package/lib/{User.type.d.ts → Deprecated/User.type.d.ts} +6 -6
|
@@ -5,17 +5,35 @@ export declare const ZTimeframe: z.ZodEnum<["1d", "1m", "3m", "1y", "5y", "ytd"]
|
|
|
5
5
|
export type TTimeframe = z.infer<typeof ZTimeframe>;
|
|
6
6
|
export declare const ZStockType: z.ZodUnion<[z.ZodEnum<["Aktie", "ETF"]>, z.ZodString]>;
|
|
7
7
|
export type TStockType = z.infer<typeof ZStockType>;
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
8
|
+
/**
|
|
9
|
+
* Stock API Types
|
|
10
|
+
*/
|
|
11
|
+
export declare const ZStockQuote: z.ZodObject<{
|
|
12
|
+
currency: z.ZodString;
|
|
13
|
+
exchange: z.ZodString;
|
|
14
|
+
date: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodDate, z.ZodNumber]>, z.ZodString]>, Date, string | number | Date>;
|
|
15
|
+
datetime: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodDate, z.ZodNumber]>, z.ZodString]>, Date, string | number | Date>;
|
|
16
|
+
price: z.ZodNumber;
|
|
17
|
+
isin: z.ZodString;
|
|
18
|
+
cachedAt: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodDate, z.ZodNumber]>, z.ZodString]>, Date, string | number | Date>;
|
|
11
19
|
}, "strip", z.ZodTypeAny, {
|
|
12
|
-
|
|
13
|
-
|
|
20
|
+
currency: string;
|
|
21
|
+
date: Date;
|
|
22
|
+
datetime: Date;
|
|
23
|
+
exchange: string;
|
|
24
|
+
price: number;
|
|
25
|
+
isin: string;
|
|
26
|
+
cachedAt: Date;
|
|
14
27
|
}, {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
28
|
+
currency: string;
|
|
29
|
+
date: (string | number | Date) & (string | number | Date | undefined);
|
|
30
|
+
datetime: (string | number | Date) & (string | number | Date | undefined);
|
|
31
|
+
exchange: string;
|
|
32
|
+
price: number;
|
|
33
|
+
isin: string;
|
|
34
|
+
cachedAt: (string | number | Date) & (string | number | Date | undefined);
|
|
35
|
+
}>;
|
|
36
|
+
export type TStockQuote = z.infer<typeof ZStockQuote>;
|
|
19
37
|
export declare const ZAsset: z.ZodObject<{
|
|
20
38
|
_id: z.ZodObject<{
|
|
21
39
|
identifier: z.ZodString;
|
|
@@ -39,16 +57,16 @@ export declare const ZAsset: z.ZodObject<{
|
|
|
39
57
|
etfCompany: z.ZodString;
|
|
40
58
|
}, "strip", z.ZodTypeAny, {
|
|
41
59
|
type: string;
|
|
60
|
+
isin: string;
|
|
42
61
|
website: string;
|
|
43
62
|
wkn: string;
|
|
44
|
-
isin: string;
|
|
45
63
|
etfDomicile: string;
|
|
46
64
|
etfCompany: string;
|
|
47
65
|
}, {
|
|
48
66
|
type: string;
|
|
67
|
+
isin: string;
|
|
49
68
|
website: string;
|
|
50
69
|
wkn: string;
|
|
51
|
-
isin: string;
|
|
52
70
|
etfDomicile: string;
|
|
53
71
|
etfCompany: string;
|
|
54
72
|
}>;
|
|
@@ -62,9 +80,9 @@ export declare const ZAsset: z.ZodObject<{
|
|
|
62
80
|
logo: string;
|
|
63
81
|
security: {
|
|
64
82
|
type: string;
|
|
83
|
+
isin: string;
|
|
65
84
|
website: string;
|
|
66
85
|
wkn: string;
|
|
67
|
-
isin: string;
|
|
68
86
|
etfDomicile: string;
|
|
69
87
|
etfCompany: string;
|
|
70
88
|
};
|
|
@@ -78,9 +96,9 @@ export declare const ZAsset: z.ZodObject<{
|
|
|
78
96
|
logo: string;
|
|
79
97
|
security: {
|
|
80
98
|
type: string;
|
|
99
|
+
isin: string;
|
|
81
100
|
website: string;
|
|
82
101
|
wkn: string;
|
|
83
|
-
isin: string;
|
|
84
102
|
etfDomicile: string;
|
|
85
103
|
etfCompany: string;
|
|
86
104
|
};
|
|
@@ -184,6 +202,7 @@ export declare const ZAssetChartQuote: z.ZodObject<{
|
|
|
184
202
|
price: number;
|
|
185
203
|
}[];
|
|
186
204
|
currency: string;
|
|
205
|
+
exchange: string;
|
|
187
206
|
assetId: {
|
|
188
207
|
identifier: string;
|
|
189
208
|
assetType: string;
|
|
@@ -197,7 +216,6 @@ export declare const ZAssetChartQuote: z.ZodObject<{
|
|
|
197
216
|
mark: string;
|
|
198
217
|
date: Date;
|
|
199
218
|
}[];
|
|
200
|
-
exchange: string;
|
|
201
219
|
}, {
|
|
202
220
|
interval: {
|
|
203
221
|
from: (string | number | Date) & (string | number | Date | undefined);
|
|
@@ -209,6 +227,7 @@ export declare const ZAssetChartQuote: z.ZodObject<{
|
|
|
209
227
|
price: number;
|
|
210
228
|
}[];
|
|
211
229
|
currency: string;
|
|
230
|
+
exchange: string;
|
|
212
231
|
assetId: {
|
|
213
232
|
identifier: string;
|
|
214
233
|
assetType: string;
|
|
@@ -222,7 +241,6 @@ export declare const ZAssetChartQuote: z.ZodObject<{
|
|
|
222
241
|
mark: string;
|
|
223
242
|
date: (string | number | Date) & (string | number | Date | undefined);
|
|
224
243
|
}[];
|
|
225
|
-
exchange: string;
|
|
226
244
|
}>;
|
|
227
245
|
export type TAssetChartQuote = z.infer<typeof ZAssetChartQuote>;
|
|
228
246
|
export declare const ZDividend: z.ZodObject<{
|
|
@@ -244,8 +262,8 @@ export declare const ZDividend: z.ZodObject<{
|
|
|
244
262
|
currency: string;
|
|
245
263
|
date: Date;
|
|
246
264
|
datetime: Date;
|
|
247
|
-
security: string;
|
|
248
265
|
price: number;
|
|
266
|
+
security: string;
|
|
249
267
|
paymentDate: Date;
|
|
250
268
|
exDate: Date;
|
|
251
269
|
isEstimated: boolean;
|
|
@@ -258,8 +276,8 @@ export declare const ZDividend: z.ZodObject<{
|
|
|
258
276
|
currency: string;
|
|
259
277
|
date: (string | number | Date) & (string | number | Date | undefined);
|
|
260
278
|
datetime: (string | number | Date) & (string | number | Date | undefined);
|
|
261
|
-
security: string;
|
|
262
279
|
price: number;
|
|
280
|
+
security: string;
|
|
263
281
|
paymentDate: (string | number | Date) & (string | number | Date | undefined);
|
|
264
282
|
exDate: (string | number | Date) & (string | number | Date | undefined);
|
|
265
283
|
isEstimated: boolean;
|
|
@@ -295,16 +313,16 @@ export declare const ZDividendDetails: z.ZodObject<{
|
|
|
295
313
|
etfCompany: z.ZodOptional<z.ZodString>;
|
|
296
314
|
}, "strip", z.ZodTypeAny, {
|
|
297
315
|
type: string;
|
|
316
|
+
isin: string;
|
|
298
317
|
website: string;
|
|
299
318
|
wkn: string;
|
|
300
|
-
isin: string;
|
|
301
319
|
etfDomicile?: string | undefined;
|
|
302
320
|
etfCompany?: string | undefined;
|
|
303
321
|
}, {
|
|
304
322
|
type: string;
|
|
323
|
+
isin: string;
|
|
305
324
|
website: string;
|
|
306
325
|
wkn: string;
|
|
307
|
-
isin: string;
|
|
308
326
|
etfDomicile?: string | undefined;
|
|
309
327
|
etfCompany?: string | undefined;
|
|
310
328
|
}>;
|
|
@@ -318,9 +336,9 @@ export declare const ZDividendDetails: z.ZodObject<{
|
|
|
318
336
|
logo: string;
|
|
319
337
|
security: {
|
|
320
338
|
type: string;
|
|
339
|
+
isin: string;
|
|
321
340
|
website: string;
|
|
322
341
|
wkn: string;
|
|
323
|
-
isin: string;
|
|
324
342
|
etfDomicile?: string | undefined;
|
|
325
343
|
etfCompany?: string | undefined;
|
|
326
344
|
};
|
|
@@ -334,9 +352,9 @@ export declare const ZDividendDetails: z.ZodObject<{
|
|
|
334
352
|
logo: string;
|
|
335
353
|
security: {
|
|
336
354
|
type: string;
|
|
355
|
+
isin: string;
|
|
337
356
|
website: string;
|
|
338
357
|
wkn: string;
|
|
339
|
-
isin: string;
|
|
340
358
|
etfDomicile?: string | undefined;
|
|
341
359
|
etfCompany?: string | undefined;
|
|
342
360
|
};
|
|
@@ -360,8 +378,8 @@ export declare const ZDividendDetails: z.ZodObject<{
|
|
|
360
378
|
currency: string;
|
|
361
379
|
date: Date;
|
|
362
380
|
datetime: Date;
|
|
363
|
-
security: string;
|
|
364
381
|
price: number;
|
|
382
|
+
security: string;
|
|
365
383
|
paymentDate: Date;
|
|
366
384
|
exDate: Date;
|
|
367
385
|
isEstimated: boolean;
|
|
@@ -374,8 +392,8 @@ export declare const ZDividendDetails: z.ZodObject<{
|
|
|
374
392
|
currency: string;
|
|
375
393
|
date: (string | number | Date) & (string | number | Date | undefined);
|
|
376
394
|
datetime: (string | number | Date) & (string | number | Date | undefined);
|
|
377
|
-
security: string;
|
|
378
395
|
price: number;
|
|
396
|
+
security: string;
|
|
379
397
|
paymentDate: (string | number | Date) & (string | number | Date | undefined);
|
|
380
398
|
exDate: (string | number | Date) & (string | number | Date | undefined);
|
|
381
399
|
isEstimated: boolean;
|
|
@@ -403,8 +421,8 @@ export declare const ZDividendDetails: z.ZodObject<{
|
|
|
403
421
|
currency: string;
|
|
404
422
|
date: Date;
|
|
405
423
|
datetime: Date;
|
|
406
|
-
security: string;
|
|
407
424
|
price: number;
|
|
425
|
+
security: string;
|
|
408
426
|
paymentDate: Date;
|
|
409
427
|
exDate: Date;
|
|
410
428
|
isEstimated: boolean;
|
|
@@ -417,8 +435,8 @@ export declare const ZDividendDetails: z.ZodObject<{
|
|
|
417
435
|
currency: string;
|
|
418
436
|
date: (string | number | Date) & (string | number | Date | undefined);
|
|
419
437
|
datetime: (string | number | Date) & (string | number | Date | undefined);
|
|
420
|
-
security: string;
|
|
421
438
|
price: number;
|
|
439
|
+
security: string;
|
|
422
440
|
paymentDate: (string | number | Date) & (string | number | Date | undefined);
|
|
423
441
|
exDate: (string | number | Date) & (string | number | Date | undefined);
|
|
424
442
|
isEstimated: boolean;
|
|
@@ -428,21 +446,21 @@ export declare const ZDividendDetails: z.ZodObject<{
|
|
|
428
446
|
recordDate?: string | number | Date | null | undefined;
|
|
429
447
|
}>, "many">>>;
|
|
430
448
|
dividendKPIs: z.ZodOptional<z.ZodObject<{
|
|
431
|
-
cagr3Y: z.ZodNumber
|
|
432
|
-
cagr5Y: z.ZodNumber
|
|
433
|
-
cagr10Y: z.ZodNumber
|
|
449
|
+
cagr3Y: z.ZodNullable<z.ZodNumber>;
|
|
450
|
+
cagr5Y: z.ZodNullable<z.ZodNumber>;
|
|
451
|
+
cagr10Y: z.ZodNullable<z.ZodNumber>;
|
|
434
452
|
dividendYieldPercentageTTM: z.ZodNumber;
|
|
435
453
|
dividendPerShareTTM: z.ZodNumber;
|
|
436
454
|
}, "strip", z.ZodTypeAny, {
|
|
437
|
-
cagr3Y: number;
|
|
438
|
-
cagr5Y: number;
|
|
439
|
-
cagr10Y: number;
|
|
455
|
+
cagr3Y: number | null;
|
|
456
|
+
cagr5Y: number | null;
|
|
457
|
+
cagr10Y: number | null;
|
|
440
458
|
dividendYieldPercentageTTM: number;
|
|
441
459
|
dividendPerShareTTM: number;
|
|
442
460
|
}, {
|
|
443
|
-
cagr3Y: number;
|
|
444
|
-
cagr5Y: number;
|
|
445
|
-
cagr10Y: number;
|
|
461
|
+
cagr3Y: number | null;
|
|
462
|
+
cagr5Y: number | null;
|
|
463
|
+
cagr10Y: number | null;
|
|
446
464
|
dividendYieldPercentageTTM: number;
|
|
447
465
|
dividendPerShareTTM: number;
|
|
448
466
|
}>>;
|
|
@@ -459,9 +477,9 @@ export declare const ZDividendDetails: z.ZodObject<{
|
|
|
459
477
|
logo: string;
|
|
460
478
|
security: {
|
|
461
479
|
type: string;
|
|
480
|
+
isin: string;
|
|
462
481
|
website: string;
|
|
463
482
|
wkn: string;
|
|
464
|
-
isin: string;
|
|
465
483
|
etfDomicile?: string | undefined;
|
|
466
484
|
etfCompany?: string | undefined;
|
|
467
485
|
};
|
|
@@ -471,8 +489,8 @@ export declare const ZDividendDetails: z.ZodObject<{
|
|
|
471
489
|
currency: string;
|
|
472
490
|
date: Date;
|
|
473
491
|
datetime: Date;
|
|
474
|
-
security: string;
|
|
475
492
|
price: number;
|
|
493
|
+
security: string;
|
|
476
494
|
paymentDate: Date;
|
|
477
495
|
exDate: Date;
|
|
478
496
|
isEstimated: boolean;
|
|
@@ -486,8 +504,8 @@ export declare const ZDividendDetails: z.ZodObject<{
|
|
|
486
504
|
currency: string;
|
|
487
505
|
date: Date;
|
|
488
506
|
datetime: Date;
|
|
489
|
-
security: string;
|
|
490
507
|
price: number;
|
|
508
|
+
security: string;
|
|
491
509
|
paymentDate: Date;
|
|
492
510
|
exDate: Date;
|
|
493
511
|
isEstimated: boolean;
|
|
@@ -497,9 +515,9 @@ export declare const ZDividendDetails: z.ZodObject<{
|
|
|
497
515
|
recordDate?: Date | null | undefined;
|
|
498
516
|
}[] | null;
|
|
499
517
|
dividendKPIs?: {
|
|
500
|
-
cagr3Y: number;
|
|
501
|
-
cagr5Y: number;
|
|
502
|
-
cagr10Y: number;
|
|
518
|
+
cagr3Y: number | null;
|
|
519
|
+
cagr5Y: number | null;
|
|
520
|
+
cagr10Y: number | null;
|
|
503
521
|
dividendYieldPercentageTTM: number;
|
|
504
522
|
dividendPerShareTTM: number;
|
|
505
523
|
} | undefined;
|
|
@@ -516,9 +534,9 @@ export declare const ZDividendDetails: z.ZodObject<{
|
|
|
516
534
|
logo: string;
|
|
517
535
|
security: {
|
|
518
536
|
type: string;
|
|
537
|
+
isin: string;
|
|
519
538
|
website: string;
|
|
520
539
|
wkn: string;
|
|
521
|
-
isin: string;
|
|
522
540
|
etfDomicile?: string | undefined;
|
|
523
541
|
etfCompany?: string | undefined;
|
|
524
542
|
};
|
|
@@ -528,8 +546,8 @@ export declare const ZDividendDetails: z.ZodObject<{
|
|
|
528
546
|
currency: string;
|
|
529
547
|
date: (string | number | Date) & (string | number | Date | undefined);
|
|
530
548
|
datetime: (string | number | Date) & (string | number | Date | undefined);
|
|
531
|
-
security: string;
|
|
532
549
|
price: number;
|
|
550
|
+
security: string;
|
|
533
551
|
paymentDate: (string | number | Date) & (string | number | Date | undefined);
|
|
534
552
|
exDate: (string | number | Date) & (string | number | Date | undefined);
|
|
535
553
|
isEstimated: boolean;
|
|
@@ -543,8 +561,8 @@ export declare const ZDividendDetails: z.ZodObject<{
|
|
|
543
561
|
currency: string;
|
|
544
562
|
date: (string | number | Date) & (string | number | Date | undefined);
|
|
545
563
|
datetime: (string | number | Date) & (string | number | Date | undefined);
|
|
546
|
-
security: string;
|
|
547
564
|
price: number;
|
|
565
|
+
security: string;
|
|
548
566
|
paymentDate: (string | number | Date) & (string | number | Date | undefined);
|
|
549
567
|
exDate: (string | number | Date) & (string | number | Date | undefined);
|
|
550
568
|
isEstimated: boolean;
|
|
@@ -554,9 +572,9 @@ export declare const ZDividendDetails: z.ZodObject<{
|
|
|
554
572
|
recordDate?: string | number | Date | null | undefined;
|
|
555
573
|
}[] | null | undefined;
|
|
556
574
|
dividendKPIs?: {
|
|
557
|
-
cagr3Y: number;
|
|
558
|
-
cagr5Y: number;
|
|
559
|
-
cagr10Y: number;
|
|
575
|
+
cagr3Y: number | null;
|
|
576
|
+
cagr5Y: number | null;
|
|
577
|
+
cagr10Y: number | null;
|
|
560
578
|
dividendYieldPercentageTTM: number;
|
|
561
579
|
dividendPerShareTTM: number;
|
|
562
580
|
} | undefined;
|
|
@@ -589,16 +607,16 @@ export declare const ZDividendDetailList: z.ZodObject<{
|
|
|
589
607
|
etfCompany: z.ZodOptional<z.ZodString>;
|
|
590
608
|
}, "strip", z.ZodTypeAny, {
|
|
591
609
|
type: string;
|
|
610
|
+
isin: string;
|
|
592
611
|
website: string;
|
|
593
612
|
wkn: string;
|
|
594
|
-
isin: string;
|
|
595
613
|
etfDomicile?: string | undefined;
|
|
596
614
|
etfCompany?: string | undefined;
|
|
597
615
|
}, {
|
|
598
616
|
type: string;
|
|
617
|
+
isin: string;
|
|
599
618
|
website: string;
|
|
600
619
|
wkn: string;
|
|
601
|
-
isin: string;
|
|
602
620
|
etfDomicile?: string | undefined;
|
|
603
621
|
etfCompany?: string | undefined;
|
|
604
622
|
}>;
|
|
@@ -612,9 +630,9 @@ export declare const ZDividendDetailList: z.ZodObject<{
|
|
|
612
630
|
logo: string;
|
|
613
631
|
security: {
|
|
614
632
|
type: string;
|
|
633
|
+
isin: string;
|
|
615
634
|
website: string;
|
|
616
635
|
wkn: string;
|
|
617
|
-
isin: string;
|
|
618
636
|
etfDomicile?: string | undefined;
|
|
619
637
|
etfCompany?: string | undefined;
|
|
620
638
|
};
|
|
@@ -628,9 +646,9 @@ export declare const ZDividendDetailList: z.ZodObject<{
|
|
|
628
646
|
logo: string;
|
|
629
647
|
security: {
|
|
630
648
|
type: string;
|
|
649
|
+
isin: string;
|
|
631
650
|
website: string;
|
|
632
651
|
wkn: string;
|
|
633
|
-
isin: string;
|
|
634
652
|
etfDomicile?: string | undefined;
|
|
635
653
|
etfCompany?: string | undefined;
|
|
636
654
|
};
|
|
@@ -654,8 +672,8 @@ export declare const ZDividendDetailList: z.ZodObject<{
|
|
|
654
672
|
currency: string;
|
|
655
673
|
date: Date;
|
|
656
674
|
datetime: Date;
|
|
657
|
-
security: string;
|
|
658
675
|
price: number;
|
|
676
|
+
security: string;
|
|
659
677
|
paymentDate: Date;
|
|
660
678
|
exDate: Date;
|
|
661
679
|
isEstimated: boolean;
|
|
@@ -668,8 +686,8 @@ export declare const ZDividendDetailList: z.ZodObject<{
|
|
|
668
686
|
currency: string;
|
|
669
687
|
date: (string | number | Date) & (string | number | Date | undefined);
|
|
670
688
|
datetime: (string | number | Date) & (string | number | Date | undefined);
|
|
671
|
-
security: string;
|
|
672
689
|
price: number;
|
|
690
|
+
security: string;
|
|
673
691
|
paymentDate: (string | number | Date) & (string | number | Date | undefined);
|
|
674
692
|
exDate: (string | number | Date) & (string | number | Date | undefined);
|
|
675
693
|
isEstimated: boolean;
|
|
@@ -697,8 +715,8 @@ export declare const ZDividendDetailList: z.ZodObject<{
|
|
|
697
715
|
currency: string;
|
|
698
716
|
date: Date;
|
|
699
717
|
datetime: Date;
|
|
700
|
-
security: string;
|
|
701
718
|
price: number;
|
|
719
|
+
security: string;
|
|
702
720
|
paymentDate: Date;
|
|
703
721
|
exDate: Date;
|
|
704
722
|
isEstimated: boolean;
|
|
@@ -711,8 +729,8 @@ export declare const ZDividendDetailList: z.ZodObject<{
|
|
|
711
729
|
currency: string;
|
|
712
730
|
date: (string | number | Date) & (string | number | Date | undefined);
|
|
713
731
|
datetime: (string | number | Date) & (string | number | Date | undefined);
|
|
714
|
-
security: string;
|
|
715
732
|
price: number;
|
|
733
|
+
security: string;
|
|
716
734
|
paymentDate: (string | number | Date) & (string | number | Date | undefined);
|
|
717
735
|
exDate: (string | number | Date) & (string | number | Date | undefined);
|
|
718
736
|
isEstimated: boolean;
|
|
@@ -722,21 +740,21 @@ export declare const ZDividendDetailList: z.ZodObject<{
|
|
|
722
740
|
recordDate?: string | number | Date | null | undefined;
|
|
723
741
|
}>, "many">>>;
|
|
724
742
|
dividendKPIs: z.ZodOptional<z.ZodObject<{
|
|
725
|
-
cagr3Y: z.ZodNumber
|
|
726
|
-
cagr5Y: z.ZodNumber
|
|
727
|
-
cagr10Y: z.ZodNumber
|
|
743
|
+
cagr3Y: z.ZodNullable<z.ZodNumber>;
|
|
744
|
+
cagr5Y: z.ZodNullable<z.ZodNumber>;
|
|
745
|
+
cagr10Y: z.ZodNullable<z.ZodNumber>;
|
|
728
746
|
dividendYieldPercentageTTM: z.ZodNumber;
|
|
729
747
|
dividendPerShareTTM: z.ZodNumber;
|
|
730
748
|
}, "strip", z.ZodTypeAny, {
|
|
731
|
-
cagr3Y: number;
|
|
732
|
-
cagr5Y: number;
|
|
733
|
-
cagr10Y: number;
|
|
749
|
+
cagr3Y: number | null;
|
|
750
|
+
cagr5Y: number | null;
|
|
751
|
+
cagr10Y: number | null;
|
|
734
752
|
dividendYieldPercentageTTM: number;
|
|
735
753
|
dividendPerShareTTM: number;
|
|
736
754
|
}, {
|
|
737
|
-
cagr3Y: number;
|
|
738
|
-
cagr5Y: number;
|
|
739
|
-
cagr10Y: number;
|
|
755
|
+
cagr3Y: number | null;
|
|
756
|
+
cagr5Y: number | null;
|
|
757
|
+
cagr10Y: number | null;
|
|
740
758
|
dividendYieldPercentageTTM: number;
|
|
741
759
|
dividendPerShareTTM: number;
|
|
742
760
|
}>>;
|
|
@@ -753,9 +771,9 @@ export declare const ZDividendDetailList: z.ZodObject<{
|
|
|
753
771
|
logo: string;
|
|
754
772
|
security: {
|
|
755
773
|
type: string;
|
|
774
|
+
isin: string;
|
|
756
775
|
website: string;
|
|
757
776
|
wkn: string;
|
|
758
|
-
isin: string;
|
|
759
777
|
etfDomicile?: string | undefined;
|
|
760
778
|
etfCompany?: string | undefined;
|
|
761
779
|
};
|
|
@@ -765,8 +783,8 @@ export declare const ZDividendDetailList: z.ZodObject<{
|
|
|
765
783
|
currency: string;
|
|
766
784
|
date: Date;
|
|
767
785
|
datetime: Date;
|
|
768
|
-
security: string;
|
|
769
786
|
price: number;
|
|
787
|
+
security: string;
|
|
770
788
|
paymentDate: Date;
|
|
771
789
|
exDate: Date;
|
|
772
790
|
isEstimated: boolean;
|
|
@@ -780,8 +798,8 @@ export declare const ZDividendDetailList: z.ZodObject<{
|
|
|
780
798
|
currency: string;
|
|
781
799
|
date: Date;
|
|
782
800
|
datetime: Date;
|
|
783
|
-
security: string;
|
|
784
801
|
price: number;
|
|
802
|
+
security: string;
|
|
785
803
|
paymentDate: Date;
|
|
786
804
|
exDate: Date;
|
|
787
805
|
isEstimated: boolean;
|
|
@@ -791,9 +809,9 @@ export declare const ZDividendDetailList: z.ZodObject<{
|
|
|
791
809
|
recordDate?: Date | null | undefined;
|
|
792
810
|
}[] | null;
|
|
793
811
|
dividendKPIs?: {
|
|
794
|
-
cagr3Y: number;
|
|
795
|
-
cagr5Y: number;
|
|
796
|
-
cagr10Y: number;
|
|
812
|
+
cagr3Y: number | null;
|
|
813
|
+
cagr5Y: number | null;
|
|
814
|
+
cagr10Y: number | null;
|
|
797
815
|
dividendYieldPercentageTTM: number;
|
|
798
816
|
dividendPerShareTTM: number;
|
|
799
817
|
} | undefined;
|
|
@@ -810,9 +828,9 @@ export declare const ZDividendDetailList: z.ZodObject<{
|
|
|
810
828
|
logo: string;
|
|
811
829
|
security: {
|
|
812
830
|
type: string;
|
|
831
|
+
isin: string;
|
|
813
832
|
website: string;
|
|
814
833
|
wkn: string;
|
|
815
|
-
isin: string;
|
|
816
834
|
etfDomicile?: string | undefined;
|
|
817
835
|
etfCompany?: string | undefined;
|
|
818
836
|
};
|
|
@@ -822,8 +840,8 @@ export declare const ZDividendDetailList: z.ZodObject<{
|
|
|
822
840
|
currency: string;
|
|
823
841
|
date: (string | number | Date) & (string | number | Date | undefined);
|
|
824
842
|
datetime: (string | number | Date) & (string | number | Date | undefined);
|
|
825
|
-
security: string;
|
|
826
843
|
price: number;
|
|
844
|
+
security: string;
|
|
827
845
|
paymentDate: (string | number | Date) & (string | number | Date | undefined);
|
|
828
846
|
exDate: (string | number | Date) & (string | number | Date | undefined);
|
|
829
847
|
isEstimated: boolean;
|
|
@@ -837,8 +855,8 @@ export declare const ZDividendDetailList: z.ZodObject<{
|
|
|
837
855
|
currency: string;
|
|
838
856
|
date: (string | number | Date) & (string | number | Date | undefined);
|
|
839
857
|
datetime: (string | number | Date) & (string | number | Date | undefined);
|
|
840
|
-
security: string;
|
|
841
858
|
price: number;
|
|
859
|
+
security: string;
|
|
842
860
|
paymentDate: (string | number | Date) & (string | number | Date | undefined);
|
|
843
861
|
exDate: (string | number | Date) & (string | number | Date | undefined);
|
|
844
862
|
isEstimated: boolean;
|
|
@@ -848,9 +866,9 @@ export declare const ZDividendDetailList: z.ZodObject<{
|
|
|
848
866
|
recordDate?: string | number | Date | null | undefined;
|
|
849
867
|
}[] | null | undefined;
|
|
850
868
|
dividendKPIs?: {
|
|
851
|
-
cagr3Y: number;
|
|
852
|
-
cagr5Y: number;
|
|
853
|
-
cagr10Y: number;
|
|
869
|
+
cagr3Y: number | null;
|
|
870
|
+
cagr5Y: number | null;
|
|
871
|
+
cagr10Y: number | null;
|
|
854
872
|
dividendYieldPercentageTTM: number;
|
|
855
873
|
dividendPerShareTTM: number;
|
|
856
874
|
} | undefined;
|
|
@@ -869,9 +887,9 @@ export declare const ZDividendDetailList: z.ZodObject<{
|
|
|
869
887
|
logo: string;
|
|
870
888
|
security: {
|
|
871
889
|
type: string;
|
|
890
|
+
isin: string;
|
|
872
891
|
website: string;
|
|
873
892
|
wkn: string;
|
|
874
|
-
isin: string;
|
|
875
893
|
etfDomicile?: string | undefined;
|
|
876
894
|
etfCompany?: string | undefined;
|
|
877
895
|
};
|
|
@@ -881,8 +899,8 @@ export declare const ZDividendDetailList: z.ZodObject<{
|
|
|
881
899
|
currency: string;
|
|
882
900
|
date: Date;
|
|
883
901
|
datetime: Date;
|
|
884
|
-
security: string;
|
|
885
902
|
price: number;
|
|
903
|
+
security: string;
|
|
886
904
|
paymentDate: Date;
|
|
887
905
|
exDate: Date;
|
|
888
906
|
isEstimated: boolean;
|
|
@@ -896,8 +914,8 @@ export declare const ZDividendDetailList: z.ZodObject<{
|
|
|
896
914
|
currency: string;
|
|
897
915
|
date: Date;
|
|
898
916
|
datetime: Date;
|
|
899
|
-
security: string;
|
|
900
917
|
price: number;
|
|
918
|
+
security: string;
|
|
901
919
|
paymentDate: Date;
|
|
902
920
|
exDate: Date;
|
|
903
921
|
isEstimated: boolean;
|
|
@@ -907,9 +925,9 @@ export declare const ZDividendDetailList: z.ZodObject<{
|
|
|
907
925
|
recordDate?: Date | null | undefined;
|
|
908
926
|
}[] | null;
|
|
909
927
|
dividendKPIs?: {
|
|
910
|
-
cagr3Y: number;
|
|
911
|
-
cagr5Y: number;
|
|
912
|
-
cagr10Y: number;
|
|
928
|
+
cagr3Y: number | null;
|
|
929
|
+
cagr5Y: number | null;
|
|
930
|
+
cagr10Y: number | null;
|
|
913
931
|
dividendYieldPercentageTTM: number;
|
|
914
932
|
dividendPerShareTTM: number;
|
|
915
933
|
} | undefined;
|
|
@@ -928,9 +946,9 @@ export declare const ZDividendDetailList: z.ZodObject<{
|
|
|
928
946
|
logo: string;
|
|
929
947
|
security: {
|
|
930
948
|
type: string;
|
|
949
|
+
isin: string;
|
|
931
950
|
website: string;
|
|
932
951
|
wkn: string;
|
|
933
|
-
isin: string;
|
|
934
952
|
etfDomicile?: string | undefined;
|
|
935
953
|
etfCompany?: string | undefined;
|
|
936
954
|
};
|
|
@@ -940,8 +958,8 @@ export declare const ZDividendDetailList: z.ZodObject<{
|
|
|
940
958
|
currency: string;
|
|
941
959
|
date: (string | number | Date) & (string | number | Date | undefined);
|
|
942
960
|
datetime: (string | number | Date) & (string | number | Date | undefined);
|
|
943
|
-
security: string;
|
|
944
961
|
price: number;
|
|
962
|
+
security: string;
|
|
945
963
|
paymentDate: (string | number | Date) & (string | number | Date | undefined);
|
|
946
964
|
exDate: (string | number | Date) & (string | number | Date | undefined);
|
|
947
965
|
isEstimated: boolean;
|
|
@@ -955,8 +973,8 @@ export declare const ZDividendDetailList: z.ZodObject<{
|
|
|
955
973
|
currency: string;
|
|
956
974
|
date: (string | number | Date) & (string | number | Date | undefined);
|
|
957
975
|
datetime: (string | number | Date) & (string | number | Date | undefined);
|
|
958
|
-
security: string;
|
|
959
976
|
price: number;
|
|
977
|
+
security: string;
|
|
960
978
|
paymentDate: (string | number | Date) & (string | number | Date | undefined);
|
|
961
979
|
exDate: (string | number | Date) & (string | number | Date | undefined);
|
|
962
980
|
isEstimated: boolean;
|
|
@@ -966,355 +984,15 @@ export declare const ZDividendDetailList: z.ZodObject<{
|
|
|
966
984
|
recordDate?: string | number | Date | null | undefined;
|
|
967
985
|
}[] | null | undefined;
|
|
968
986
|
dividendKPIs?: {
|
|
969
|
-
cagr3Y: number;
|
|
970
|
-
cagr5Y: number;
|
|
971
|
-
cagr10Y: number;
|
|
987
|
+
cagr3Y: number | null;
|
|
988
|
+
cagr5Y: number | null;
|
|
989
|
+
cagr10Y: number | null;
|
|
972
990
|
dividendYieldPercentageTTM: number;
|
|
973
991
|
dividendPerShareTTM: number;
|
|
974
992
|
} | undefined;
|
|
975
993
|
}>;
|
|
976
994
|
}>;
|
|
977
995
|
export type TDividendDetailList = z.infer<typeof ZDividendDetailList>;
|
|
978
|
-
export declare const ZStockQuote: z.ZodObject<{
|
|
979
|
-
currency: z.ZodString;
|
|
980
|
-
exchange: z.ZodString;
|
|
981
|
-
date: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodDate, z.ZodNumber]>, z.ZodString]>, Date, string | number | Date>;
|
|
982
|
-
datetime: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodDate, z.ZodNumber]>, z.ZodString]>, Date, string | number | Date>;
|
|
983
|
-
price: z.ZodNumber;
|
|
984
|
-
isin: z.ZodString;
|
|
985
|
-
cachedAt: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodDate, z.ZodNumber]>, z.ZodString]>, Date, string | number | Date>;
|
|
986
|
-
}, "strip", z.ZodTypeAny, {
|
|
987
|
-
currency: string;
|
|
988
|
-
date: Date;
|
|
989
|
-
datetime: Date;
|
|
990
|
-
isin: string;
|
|
991
|
-
price: number;
|
|
992
|
-
exchange: string;
|
|
993
|
-
cachedAt: Date;
|
|
994
|
-
}, {
|
|
995
|
-
currency: string;
|
|
996
|
-
date: (string | number | Date) & (string | number | Date | undefined);
|
|
997
|
-
datetime: (string | number | Date) & (string | number | Date | undefined);
|
|
998
|
-
isin: string;
|
|
999
|
-
price: number;
|
|
1000
|
-
exchange: string;
|
|
1001
|
-
cachedAt: (string | number | Date) & (string | number | Date | undefined);
|
|
1002
|
-
}>;
|
|
1003
|
-
export type TStockQuote = z.infer<typeof ZStockQuote>;
|
|
1004
|
-
/**
|
|
1005
|
-
* Represents a stock exchange table.
|
|
1006
|
-
*/
|
|
1007
|
-
export declare const ZStockExchangeTable: z.ZodObject<{
|
|
1008
|
-
symbol: z.ZodString;
|
|
1009
|
-
name: z.ZodString;
|
|
1010
|
-
exchange: z.ZodString;
|
|
1011
|
-
country: z.ZodString;
|
|
1012
|
-
created_at: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodDate, z.ZodNumber]>, z.ZodString]>, Date, string | number | Date>;
|
|
1013
|
-
}, "strip", z.ZodTypeAny, {
|
|
1014
|
-
symbol: string;
|
|
1015
|
-
name: string;
|
|
1016
|
-
created_at: Date;
|
|
1017
|
-
exchange: string;
|
|
1018
|
-
country: string;
|
|
1019
|
-
}, {
|
|
1020
|
-
symbol: string;
|
|
1021
|
-
name: string;
|
|
1022
|
-
created_at: (string | number | Date) & (string | number | Date | undefined);
|
|
1023
|
-
exchange: string;
|
|
1024
|
-
country: string;
|
|
1025
|
-
}>;
|
|
1026
|
-
/**
|
|
1027
|
-
* Represents the type of the stock exchange table.
|
|
1028
|
-
*/
|
|
1029
|
-
export type TStockExchangeTable = z.infer<typeof ZStockExchangeTable>;
|
|
1030
|
-
/**
|
|
1031
|
-
* Represents a stock position table.
|
|
1032
|
-
*
|
|
1033
|
-
* @remarks
|
|
1034
|
-
* This type defines the structure of a stock position table, including properties such as id, owner, bought_at, exchange, isin, buy_in, and currency.
|
|
1035
|
-
*/
|
|
1036
|
-
export declare const ZStockPositionTable: z.ZodObject<{
|
|
1037
|
-
id: z.ZodNumber;
|
|
1038
|
-
owner: z.ZodString;
|
|
1039
|
-
bought_at: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodDate, z.ZodNumber]>, z.ZodString]>, Date, string | number | Date>;
|
|
1040
|
-
exchange: z.ZodString;
|
|
1041
|
-
isin: z.ZodString;
|
|
1042
|
-
buy_in: z.ZodNumber;
|
|
1043
|
-
currency: z.ZodString;
|
|
1044
|
-
quantity: z.ZodNumber;
|
|
1045
|
-
created_at: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodDate, z.ZodNumber]>, z.ZodString]>, Date, string | number | Date>;
|
|
1046
|
-
}, "strip", z.ZodTypeAny, {
|
|
1047
|
-
id: number;
|
|
1048
|
-
currency: string;
|
|
1049
|
-
owner: string;
|
|
1050
|
-
created_at: Date;
|
|
1051
|
-
isin: string;
|
|
1052
|
-
exchange: string;
|
|
1053
|
-
bought_at: Date;
|
|
1054
|
-
buy_in: number;
|
|
1055
|
-
quantity: number;
|
|
1056
|
-
}, {
|
|
1057
|
-
id: number;
|
|
1058
|
-
currency: string;
|
|
1059
|
-
owner: string;
|
|
1060
|
-
created_at: (string | number | Date) & (string | number | Date | undefined);
|
|
1061
|
-
isin: string;
|
|
1062
|
-
exchange: string;
|
|
1063
|
-
bought_at: (string | number | Date) & (string | number | Date | undefined);
|
|
1064
|
-
buy_in: number;
|
|
1065
|
-
quantity: number;
|
|
1066
|
-
}>;
|
|
1067
|
-
/**
|
|
1068
|
-
* Represents the type of the stock position table.
|
|
1069
|
-
*/
|
|
1070
|
-
export type TStockPositionTable = z.infer<typeof ZStockPositionTable>;
|
|
1071
|
-
/**
|
|
1072
|
-
* Represents a stock position table with resolved joins.
|
|
1073
|
-
*/
|
|
1074
|
-
export declare const ZMaterializedStockPositionTable: z.ZodObject<{
|
|
1075
|
-
id: z.ZodNumber;
|
|
1076
|
-
owner: z.ZodString;
|
|
1077
|
-
bought_at: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodDate, z.ZodNumber]>, z.ZodString]>, Date, string | number | Date>;
|
|
1078
|
-
exchange: z.ZodObject<{
|
|
1079
|
-
symbol: z.ZodString;
|
|
1080
|
-
name: z.ZodString;
|
|
1081
|
-
exchange: z.ZodString;
|
|
1082
|
-
country: z.ZodString;
|
|
1083
|
-
}, "strip", z.ZodTypeAny, {
|
|
1084
|
-
symbol: string;
|
|
1085
|
-
name: string;
|
|
1086
|
-
exchange: string;
|
|
1087
|
-
country: string;
|
|
1088
|
-
}, {
|
|
1089
|
-
symbol: string;
|
|
1090
|
-
name: string;
|
|
1091
|
-
exchange: string;
|
|
1092
|
-
country: string;
|
|
1093
|
-
}>;
|
|
1094
|
-
isin: z.ZodString;
|
|
1095
|
-
buy_in: z.ZodNumber;
|
|
1096
|
-
currency: z.ZodString;
|
|
1097
|
-
quantity: z.ZodNumber;
|
|
1098
|
-
created_at: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodDate, z.ZodNumber]>, z.ZodString]>, Date, string | number | Date>;
|
|
1099
|
-
}, "strip", z.ZodTypeAny, {
|
|
1100
|
-
id: number;
|
|
1101
|
-
currency: string;
|
|
1102
|
-
owner: string;
|
|
1103
|
-
created_at: Date;
|
|
1104
|
-
isin: string;
|
|
1105
|
-
exchange: {
|
|
1106
|
-
symbol: string;
|
|
1107
|
-
name: string;
|
|
1108
|
-
exchange: string;
|
|
1109
|
-
country: string;
|
|
1110
|
-
};
|
|
1111
|
-
bought_at: Date;
|
|
1112
|
-
buy_in: number;
|
|
1113
|
-
quantity: number;
|
|
1114
|
-
}, {
|
|
1115
|
-
id: number;
|
|
1116
|
-
currency: string;
|
|
1117
|
-
owner: string;
|
|
1118
|
-
created_at: (string | number | Date) & (string | number | Date | undefined);
|
|
1119
|
-
isin: string;
|
|
1120
|
-
exchange: {
|
|
1121
|
-
symbol: string;
|
|
1122
|
-
name: string;
|
|
1123
|
-
exchange: string;
|
|
1124
|
-
country: string;
|
|
1125
|
-
};
|
|
1126
|
-
bought_at: (string | number | Date) & (string | number | Date | undefined);
|
|
1127
|
-
buy_in: number;
|
|
1128
|
-
quantity: number;
|
|
1129
|
-
}>;
|
|
1130
|
-
/**
|
|
1131
|
-
* Represents the type of a stock position table with resolved join.
|
|
1132
|
-
*/
|
|
1133
|
-
export type TMaterializedStockPositionTable = z.infer<typeof ZMaterializedStockPositionTable>;
|
|
1134
|
-
/**
|
|
1135
|
-
* Represents the payload for opening a position.
|
|
1136
|
-
*/
|
|
1137
|
-
export declare const ZOpenPositionPayload: z.ZodObject<{
|
|
1138
|
-
owner: z.ZodString;
|
|
1139
|
-
bought_at: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodDate, z.ZodNumber]>, z.ZodString]>, Date, string | number | Date>;
|
|
1140
|
-
exchange: z.ZodString;
|
|
1141
|
-
isin: z.ZodString;
|
|
1142
|
-
buy_in: z.ZodNumber;
|
|
1143
|
-
currency: z.ZodString;
|
|
1144
|
-
quantity: z.ZodNumber;
|
|
1145
|
-
}, "strip", z.ZodTypeAny, {
|
|
1146
|
-
currency: string;
|
|
1147
|
-
owner: string;
|
|
1148
|
-
isin: string;
|
|
1149
|
-
exchange: string;
|
|
1150
|
-
bought_at: Date;
|
|
1151
|
-
buy_in: number;
|
|
1152
|
-
quantity: number;
|
|
1153
|
-
}, {
|
|
1154
|
-
currency: string;
|
|
1155
|
-
owner: string;
|
|
1156
|
-
isin: string;
|
|
1157
|
-
exchange: string;
|
|
1158
|
-
bought_at: (string | number | Date) & (string | number | Date | undefined);
|
|
1159
|
-
buy_in: number;
|
|
1160
|
-
quantity: number;
|
|
1161
|
-
}>;
|
|
1162
|
-
/**
|
|
1163
|
-
* Represents the type of the payload for opening a position.
|
|
1164
|
-
*/
|
|
1165
|
-
export type TOpenPositionPayload = z.infer<typeof ZOpenPositionPayload>;
|
|
1166
|
-
/**
|
|
1167
|
-
* Represents the payload for updating a position.
|
|
1168
|
-
*/
|
|
1169
|
-
export declare const ZUpdatePositionPayload: z.ZodObject<{
|
|
1170
|
-
id: z.ZodNumber;
|
|
1171
|
-
bought_at: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodDate, z.ZodNumber]>, z.ZodString]>, Date, string | number | Date>;
|
|
1172
|
-
exchange: z.ZodString;
|
|
1173
|
-
isin: z.ZodString;
|
|
1174
|
-
buy_in: z.ZodNumber;
|
|
1175
|
-
quantity: z.ZodNumber;
|
|
1176
|
-
}, "strip", z.ZodTypeAny, {
|
|
1177
|
-
id: number;
|
|
1178
|
-
isin: string;
|
|
1179
|
-
exchange: string;
|
|
1180
|
-
bought_at: Date;
|
|
1181
|
-
buy_in: number;
|
|
1182
|
-
quantity: number;
|
|
1183
|
-
}, {
|
|
1184
|
-
id: number;
|
|
1185
|
-
isin: string;
|
|
1186
|
-
exchange: string;
|
|
1187
|
-
bought_at: (string | number | Date) & (string | number | Date | undefined);
|
|
1188
|
-
buy_in: number;
|
|
1189
|
-
quantity: number;
|
|
1190
|
-
}>;
|
|
1191
|
-
/**
|
|
1192
|
-
* Represents the payload for updating a position.
|
|
1193
|
-
*/
|
|
1194
|
-
export type TUpdatePositionPayload = z.infer<typeof ZUpdatePositionPayload>;
|
|
1195
|
-
/**
|
|
1196
|
-
* Represents the payload for closing a position.
|
|
1197
|
-
*/
|
|
1198
|
-
export declare const ZClosePositionPayload: z.ZodObject<{
|
|
1199
|
-
id: z.ZodNumber;
|
|
1200
|
-
}, "strip", z.ZodTypeAny, {
|
|
1201
|
-
id: number;
|
|
1202
|
-
}, {
|
|
1203
|
-
id: number;
|
|
1204
|
-
}>;
|
|
1205
|
-
/**
|
|
1206
|
-
* Represents the payload for closing a position.
|
|
1207
|
-
*/
|
|
1208
|
-
export type TClosePositionPayload = z.infer<typeof ZClosePositionPayload>;
|
|
1209
|
-
export declare const ZStockPosition: z.ZodObject<{
|
|
1210
|
-
id: z.ZodNumber;
|
|
1211
|
-
owner: z.ZodString;
|
|
1212
|
-
bought_at: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodDate, z.ZodNumber]>, z.ZodString]>, Date, string | number | Date>;
|
|
1213
|
-
exchange: z.ZodObject<{
|
|
1214
|
-
symbol: z.ZodString;
|
|
1215
|
-
name: z.ZodString;
|
|
1216
|
-
exchange: z.ZodString;
|
|
1217
|
-
country: z.ZodString;
|
|
1218
|
-
}, "strip", z.ZodTypeAny, {
|
|
1219
|
-
symbol: string;
|
|
1220
|
-
name: string;
|
|
1221
|
-
exchange: string;
|
|
1222
|
-
country: string;
|
|
1223
|
-
}, {
|
|
1224
|
-
symbol: string;
|
|
1225
|
-
name: string;
|
|
1226
|
-
exchange: string;
|
|
1227
|
-
country: string;
|
|
1228
|
-
}>;
|
|
1229
|
-
isin: z.ZodString;
|
|
1230
|
-
buy_in: z.ZodNumber;
|
|
1231
|
-
currency: z.ZodString;
|
|
1232
|
-
quantity: z.ZodNumber;
|
|
1233
|
-
created_at: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodDate, z.ZodNumber]>, z.ZodString]>, Date, string | number | Date>;
|
|
1234
|
-
name: z.ZodString;
|
|
1235
|
-
logo: z.ZodString;
|
|
1236
|
-
volume: z.ZodNumber;
|
|
1237
|
-
quote: z.ZodObject<{
|
|
1238
|
-
currency: z.ZodString;
|
|
1239
|
-
exchange: z.ZodString;
|
|
1240
|
-
date: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodDate, z.ZodNumber]>, z.ZodString]>, Date, string | number | Date>;
|
|
1241
|
-
datetime: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodDate, z.ZodNumber]>, z.ZodString]>, Date, string | number | Date>;
|
|
1242
|
-
price: z.ZodNumber;
|
|
1243
|
-
isin: z.ZodString;
|
|
1244
|
-
cachedAt: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodDate, z.ZodNumber]>, z.ZodString]>, Date, string | number | Date>;
|
|
1245
|
-
}, "strip", z.ZodTypeAny, {
|
|
1246
|
-
currency: string;
|
|
1247
|
-
date: Date;
|
|
1248
|
-
datetime: Date;
|
|
1249
|
-
isin: string;
|
|
1250
|
-
price: number;
|
|
1251
|
-
exchange: string;
|
|
1252
|
-
cachedAt: Date;
|
|
1253
|
-
}, {
|
|
1254
|
-
currency: string;
|
|
1255
|
-
date: (string | number | Date) & (string | number | Date | undefined);
|
|
1256
|
-
datetime: (string | number | Date) & (string | number | Date | undefined);
|
|
1257
|
-
isin: string;
|
|
1258
|
-
price: number;
|
|
1259
|
-
exchange: string;
|
|
1260
|
-
cachedAt: (string | number | Date) & (string | number | Date | undefined);
|
|
1261
|
-
}>;
|
|
1262
|
-
}, "strip", z.ZodTypeAny, {
|
|
1263
|
-
id: number;
|
|
1264
|
-
name: string;
|
|
1265
|
-
currency: string;
|
|
1266
|
-
owner: string;
|
|
1267
|
-
created_at: Date;
|
|
1268
|
-
logo: string;
|
|
1269
|
-
isin: string;
|
|
1270
|
-
exchange: {
|
|
1271
|
-
symbol: string;
|
|
1272
|
-
name: string;
|
|
1273
|
-
exchange: string;
|
|
1274
|
-
country: string;
|
|
1275
|
-
};
|
|
1276
|
-
bought_at: Date;
|
|
1277
|
-
buy_in: number;
|
|
1278
|
-
quantity: number;
|
|
1279
|
-
volume: number;
|
|
1280
|
-
quote: {
|
|
1281
|
-
currency: string;
|
|
1282
|
-
date: Date;
|
|
1283
|
-
datetime: Date;
|
|
1284
|
-
isin: string;
|
|
1285
|
-
price: number;
|
|
1286
|
-
exchange: string;
|
|
1287
|
-
cachedAt: Date;
|
|
1288
|
-
};
|
|
1289
|
-
}, {
|
|
1290
|
-
id: number;
|
|
1291
|
-
name: string;
|
|
1292
|
-
currency: string;
|
|
1293
|
-
owner: string;
|
|
1294
|
-
created_at: (string | number | Date) & (string | number | Date | undefined);
|
|
1295
|
-
logo: string;
|
|
1296
|
-
isin: string;
|
|
1297
|
-
exchange: {
|
|
1298
|
-
symbol: string;
|
|
1299
|
-
name: string;
|
|
1300
|
-
exchange: string;
|
|
1301
|
-
country: string;
|
|
1302
|
-
};
|
|
1303
|
-
bought_at: (string | number | Date) & (string | number | Date | undefined);
|
|
1304
|
-
buy_in: number;
|
|
1305
|
-
quantity: number;
|
|
1306
|
-
volume: number;
|
|
1307
|
-
quote: {
|
|
1308
|
-
currency: string;
|
|
1309
|
-
date: (string | number | Date) & (string | number | Date | undefined);
|
|
1310
|
-
datetime: (string | number | Date) & (string | number | Date | undefined);
|
|
1311
|
-
isin: string;
|
|
1312
|
-
price: number;
|
|
1313
|
-
exchange: string;
|
|
1314
|
-
cachedAt: (string | number | Date) & (string | number | Date | undefined);
|
|
1315
|
-
};
|
|
1316
|
-
}>;
|
|
1317
|
-
export type TStockPosition = z.infer<typeof ZStockPosition>;
|
|
1318
996
|
export declare const ZAssetDetails: z.ZodObject<{
|
|
1319
997
|
asset: z.ZodObject<{
|
|
1320
998
|
_id: z.ZodObject<{
|
|
@@ -1393,9 +1071,9 @@ export declare const ZAssetDetails: z.ZodObject<{
|
|
|
1393
1071
|
hasDividends: z.ZodOptional<z.ZodBoolean>;
|
|
1394
1072
|
}, "strip", z.ZodTypeAny, {
|
|
1395
1073
|
type: string;
|
|
1074
|
+
isin: string;
|
|
1396
1075
|
website: string;
|
|
1397
1076
|
wkn: string;
|
|
1398
|
-
isin: string;
|
|
1399
1077
|
regions: {
|
|
1400
1078
|
id: string;
|
|
1401
1079
|
share: number;
|
|
@@ -1422,9 +1100,9 @@ export declare const ZAssetDetails: z.ZodObject<{
|
|
|
1422
1100
|
hasDividends?: boolean | undefined;
|
|
1423
1101
|
}, {
|
|
1424
1102
|
type: string;
|
|
1103
|
+
isin: string;
|
|
1425
1104
|
website: string;
|
|
1426
1105
|
wkn: string;
|
|
1427
|
-
isin: string;
|
|
1428
1106
|
regions: {
|
|
1429
1107
|
id: string;
|
|
1430
1108
|
share: number;
|
|
@@ -1452,7 +1130,6 @@ export declare const ZAssetDetails: z.ZodObject<{
|
|
|
1452
1130
|
}>;
|
|
1453
1131
|
}, "strip", z.ZodTypeAny, {
|
|
1454
1132
|
name: string;
|
|
1455
|
-
createdAt: Date;
|
|
1456
1133
|
_id: {
|
|
1457
1134
|
identifier: string;
|
|
1458
1135
|
assetType: string;
|
|
@@ -1461,9 +1138,9 @@ export declare const ZAssetDetails: z.ZodObject<{
|
|
|
1461
1138
|
logo: string;
|
|
1462
1139
|
security: {
|
|
1463
1140
|
type: string;
|
|
1141
|
+
isin: string;
|
|
1464
1142
|
website: string;
|
|
1465
1143
|
wkn: string;
|
|
1466
|
-
isin: string;
|
|
1467
1144
|
regions: {
|
|
1468
1145
|
id: string;
|
|
1469
1146
|
share: number;
|
|
@@ -1489,10 +1166,10 @@ export declare const ZAssetDetails: z.ZodObject<{
|
|
|
1489
1166
|
etfCompany?: string | undefined;
|
|
1490
1167
|
hasDividends?: boolean | undefined;
|
|
1491
1168
|
};
|
|
1169
|
+
createdAt: Date;
|
|
1492
1170
|
updatedAt: Date;
|
|
1493
1171
|
}, {
|
|
1494
1172
|
name: string;
|
|
1495
|
-
createdAt: (string | number | Date) & (string | number | Date | undefined);
|
|
1496
1173
|
_id: {
|
|
1497
1174
|
identifier: string;
|
|
1498
1175
|
assetType: string;
|
|
@@ -1501,9 +1178,9 @@ export declare const ZAssetDetails: z.ZodObject<{
|
|
|
1501
1178
|
logo: string;
|
|
1502
1179
|
security: {
|
|
1503
1180
|
type: string;
|
|
1181
|
+
isin: string;
|
|
1504
1182
|
website: string;
|
|
1505
1183
|
wkn: string;
|
|
1506
|
-
isin: string;
|
|
1507
1184
|
regions: {
|
|
1508
1185
|
id: string;
|
|
1509
1186
|
share: number;
|
|
@@ -1529,6 +1206,7 @@ export declare const ZAssetDetails: z.ZodObject<{
|
|
|
1529
1206
|
etfCompany?: string | undefined;
|
|
1530
1207
|
hasDividends?: boolean | undefined;
|
|
1531
1208
|
};
|
|
1209
|
+
createdAt: (string | number | Date) & (string | number | Date | undefined);
|
|
1532
1210
|
updatedAt: (string | number | Date) & (string | number | Date | undefined);
|
|
1533
1211
|
}>;
|
|
1534
1212
|
quote: z.ZodObject<{
|
|
@@ -1543,17 +1221,17 @@ export declare const ZAssetDetails: z.ZodObject<{
|
|
|
1543
1221
|
currency: string;
|
|
1544
1222
|
date: Date;
|
|
1545
1223
|
datetime: Date;
|
|
1546
|
-
isin: string;
|
|
1547
|
-
price: number;
|
|
1548
1224
|
exchange: string;
|
|
1225
|
+
price: number;
|
|
1226
|
+
isin: string;
|
|
1549
1227
|
cachedAt: Date;
|
|
1550
1228
|
}, {
|
|
1551
1229
|
currency: string;
|
|
1552
1230
|
date: (string | number | Date) & (string | number | Date | undefined);
|
|
1553
1231
|
datetime: (string | number | Date) & (string | number | Date | undefined);
|
|
1554
|
-
isin: string;
|
|
1555
|
-
price: number;
|
|
1556
1232
|
exchange: string;
|
|
1233
|
+
price: number;
|
|
1234
|
+
isin: string;
|
|
1557
1235
|
cachedAt: (string | number | Date) & (string | number | Date | undefined);
|
|
1558
1236
|
}>;
|
|
1559
1237
|
details: z.ZodObject<{
|
|
@@ -1807,16 +1485,16 @@ export declare const ZAssetDetails: z.ZodObject<{
|
|
|
1807
1485
|
etfCompany: z.ZodOptional<z.ZodString>;
|
|
1808
1486
|
}, "strip", z.ZodTypeAny, {
|
|
1809
1487
|
type: string;
|
|
1488
|
+
isin: string;
|
|
1810
1489
|
website: string;
|
|
1811
1490
|
wkn: string;
|
|
1812
|
-
isin: string;
|
|
1813
1491
|
etfDomicile?: string | undefined;
|
|
1814
1492
|
etfCompany?: string | undefined;
|
|
1815
1493
|
}, {
|
|
1816
1494
|
type: string;
|
|
1495
|
+
isin: string;
|
|
1817
1496
|
website: string;
|
|
1818
1497
|
wkn: string;
|
|
1819
|
-
isin: string;
|
|
1820
1498
|
etfDomicile?: string | undefined;
|
|
1821
1499
|
etfCompany?: string | undefined;
|
|
1822
1500
|
}>;
|
|
@@ -1830,9 +1508,9 @@ export declare const ZAssetDetails: z.ZodObject<{
|
|
|
1830
1508
|
logo: string;
|
|
1831
1509
|
security: {
|
|
1832
1510
|
type: string;
|
|
1511
|
+
isin: string;
|
|
1833
1512
|
website: string;
|
|
1834
1513
|
wkn: string;
|
|
1835
|
-
isin: string;
|
|
1836
1514
|
etfDomicile?: string | undefined;
|
|
1837
1515
|
etfCompany?: string | undefined;
|
|
1838
1516
|
};
|
|
@@ -1846,9 +1524,9 @@ export declare const ZAssetDetails: z.ZodObject<{
|
|
|
1846
1524
|
logo: string;
|
|
1847
1525
|
security: {
|
|
1848
1526
|
type: string;
|
|
1527
|
+
isin: string;
|
|
1849
1528
|
website: string;
|
|
1850
1529
|
wkn: string;
|
|
1851
|
-
isin: string;
|
|
1852
1530
|
etfDomicile?: string | undefined;
|
|
1853
1531
|
etfCompany?: string | undefined;
|
|
1854
1532
|
};
|
|
@@ -1865,9 +1543,9 @@ export declare const ZAssetDetails: z.ZodObject<{
|
|
|
1865
1543
|
logo: string;
|
|
1866
1544
|
security: {
|
|
1867
1545
|
type: string;
|
|
1546
|
+
isin: string;
|
|
1868
1547
|
website: string;
|
|
1869
1548
|
wkn: string;
|
|
1870
|
-
isin: string;
|
|
1871
1549
|
etfDomicile?: string | undefined;
|
|
1872
1550
|
etfCompany?: string | undefined;
|
|
1873
1551
|
};
|
|
@@ -1887,9 +1565,9 @@ export declare const ZAssetDetails: z.ZodObject<{
|
|
|
1887
1565
|
logo: string;
|
|
1888
1566
|
security: {
|
|
1889
1567
|
type: string;
|
|
1568
|
+
isin: string;
|
|
1890
1569
|
website: string;
|
|
1891
1570
|
wkn: string;
|
|
1892
|
-
isin: string;
|
|
1893
1571
|
etfDomicile?: string | undefined;
|
|
1894
1572
|
etfCompany?: string | undefined;
|
|
1895
1573
|
};
|
|
@@ -1913,9 +1591,9 @@ export declare const ZAssetDetails: z.ZodObject<{
|
|
|
1913
1591
|
logo: string;
|
|
1914
1592
|
security: {
|
|
1915
1593
|
type: string;
|
|
1594
|
+
isin: string;
|
|
1916
1595
|
website: string;
|
|
1917
1596
|
wkn: string;
|
|
1918
|
-
isin: string;
|
|
1919
1597
|
etfDomicile?: string | undefined;
|
|
1920
1598
|
etfCompany?: string | undefined;
|
|
1921
1599
|
};
|
|
@@ -1939,9 +1617,9 @@ export declare const ZAssetDetails: z.ZodObject<{
|
|
|
1939
1617
|
logo: string;
|
|
1940
1618
|
security: {
|
|
1941
1619
|
type: string;
|
|
1620
|
+
isin: string;
|
|
1942
1621
|
website: string;
|
|
1943
1622
|
wkn: string;
|
|
1944
|
-
isin: string;
|
|
1945
1623
|
etfDomicile?: string | undefined;
|
|
1946
1624
|
etfCompany?: string | undefined;
|
|
1947
1625
|
};
|
|
@@ -1989,8 +1667,8 @@ export declare const ZAssetDetails: z.ZodObject<{
|
|
|
1989
1667
|
currency: string;
|
|
1990
1668
|
date: Date;
|
|
1991
1669
|
datetime: Date;
|
|
1992
|
-
security: string;
|
|
1993
1670
|
price: number;
|
|
1671
|
+
security: string;
|
|
1994
1672
|
paymentDate: Date;
|
|
1995
1673
|
exDate: Date;
|
|
1996
1674
|
isEstimated: boolean;
|
|
@@ -2003,8 +1681,8 @@ export declare const ZAssetDetails: z.ZodObject<{
|
|
|
2003
1681
|
currency: string;
|
|
2004
1682
|
date: (string | number | Date) & (string | number | Date | undefined);
|
|
2005
1683
|
datetime: (string | number | Date) & (string | number | Date | undefined);
|
|
2006
|
-
security: string;
|
|
2007
1684
|
price: number;
|
|
1685
|
+
security: string;
|
|
2008
1686
|
paymentDate: (string | number | Date) & (string | number | Date | undefined);
|
|
2009
1687
|
exDate: (string | number | Date) & (string | number | Date | undefined);
|
|
2010
1688
|
isEstimated: boolean;
|
|
@@ -2032,8 +1710,8 @@ export declare const ZAssetDetails: z.ZodObject<{
|
|
|
2032
1710
|
currency: string;
|
|
2033
1711
|
date: Date;
|
|
2034
1712
|
datetime: Date;
|
|
2035
|
-
security: string;
|
|
2036
1713
|
price: number;
|
|
1714
|
+
security: string;
|
|
2037
1715
|
paymentDate: Date;
|
|
2038
1716
|
exDate: Date;
|
|
2039
1717
|
isEstimated: boolean;
|
|
@@ -2046,8 +1724,8 @@ export declare const ZAssetDetails: z.ZodObject<{
|
|
|
2046
1724
|
currency: string;
|
|
2047
1725
|
date: (string | number | Date) & (string | number | Date | undefined);
|
|
2048
1726
|
datetime: (string | number | Date) & (string | number | Date | undefined);
|
|
2049
|
-
security: string;
|
|
2050
1727
|
price: number;
|
|
1728
|
+
security: string;
|
|
2051
1729
|
paymentDate: (string | number | Date) & (string | number | Date | undefined);
|
|
2052
1730
|
exDate: (string | number | Date) & (string | number | Date | undefined);
|
|
2053
1731
|
isEstimated: boolean;
|
|
@@ -2163,21 +1841,21 @@ export declare const ZAssetDetails: z.ZodObject<{
|
|
|
2163
1841
|
payoutInterval: z.ZodNullable<z.ZodString>;
|
|
2164
1842
|
payoutIntervalSource: z.ZodNullable<z.ZodString>;
|
|
2165
1843
|
dividendKPIs: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2166
|
-
cagr3Y: z.ZodNumber
|
|
2167
|
-
cagr5Y: z.ZodNumber
|
|
2168
|
-
cagr10Y: z.ZodNumber
|
|
1844
|
+
cagr3Y: z.ZodNullable<z.ZodNumber>;
|
|
1845
|
+
cagr5Y: z.ZodNullable<z.ZodNumber>;
|
|
1846
|
+
cagr10Y: z.ZodNullable<z.ZodNumber>;
|
|
2169
1847
|
dividendYieldPercentageTTM: z.ZodNumber;
|
|
2170
1848
|
dividendPerShareTTM: z.ZodNumber;
|
|
2171
1849
|
}, "strip", z.ZodTypeAny, {
|
|
2172
|
-
cagr3Y: number;
|
|
2173
|
-
cagr5Y: number;
|
|
2174
|
-
cagr10Y: number;
|
|
1850
|
+
cagr3Y: number | null;
|
|
1851
|
+
cagr5Y: number | null;
|
|
1852
|
+
cagr10Y: number | null;
|
|
2175
1853
|
dividendYieldPercentageTTM: number;
|
|
2176
1854
|
dividendPerShareTTM: number;
|
|
2177
1855
|
}, {
|
|
2178
|
-
cagr3Y: number;
|
|
2179
|
-
cagr5Y: number;
|
|
2180
|
-
cagr10Y: number;
|
|
1856
|
+
cagr3Y: number | null;
|
|
1857
|
+
cagr5Y: number | null;
|
|
1858
|
+
cagr10Y: number | null;
|
|
2181
1859
|
dividendYieldPercentageTTM: number;
|
|
2182
1860
|
dividendPerShareTTM: number;
|
|
2183
1861
|
}>>>;
|
|
@@ -2189,8 +1867,8 @@ export declare const ZAssetDetails: z.ZodObject<{
|
|
|
2189
1867
|
currency: string;
|
|
2190
1868
|
date: Date;
|
|
2191
1869
|
datetime: Date;
|
|
2192
|
-
security: string;
|
|
2193
1870
|
price: number;
|
|
1871
|
+
security: string;
|
|
2194
1872
|
paymentDate: Date;
|
|
2195
1873
|
exDate: Date;
|
|
2196
1874
|
isEstimated: boolean;
|
|
@@ -2211,8 +1889,8 @@ export declare const ZAssetDetails: z.ZodObject<{
|
|
|
2211
1889
|
currency: string;
|
|
2212
1890
|
date: Date;
|
|
2213
1891
|
datetime: Date;
|
|
2214
|
-
security: string;
|
|
2215
1892
|
price: number;
|
|
1893
|
+
security: string;
|
|
2216
1894
|
paymentDate: Date;
|
|
2217
1895
|
exDate: Date;
|
|
2218
1896
|
isEstimated: boolean;
|
|
@@ -2327,9 +2005,9 @@ export declare const ZAssetDetails: z.ZodObject<{
|
|
|
2327
2005
|
logo: string;
|
|
2328
2006
|
security: {
|
|
2329
2007
|
type: string;
|
|
2008
|
+
isin: string;
|
|
2330
2009
|
website: string;
|
|
2331
2010
|
wkn: string;
|
|
2332
|
-
isin: string;
|
|
2333
2011
|
etfDomicile?: string | undefined;
|
|
2334
2012
|
etfCompany?: string | undefined;
|
|
2335
2013
|
};
|
|
@@ -2340,9 +2018,9 @@ export declare const ZAssetDetails: z.ZodObject<{
|
|
|
2340
2018
|
}[];
|
|
2341
2019
|
} | null | undefined;
|
|
2342
2020
|
dividendKPIs?: {
|
|
2343
|
-
cagr3Y: number;
|
|
2344
|
-
cagr5Y: number;
|
|
2345
|
-
cagr10Y: number;
|
|
2021
|
+
cagr3Y: number | null;
|
|
2022
|
+
cagr5Y: number | null;
|
|
2023
|
+
cagr10Y: number | null;
|
|
2346
2024
|
dividendYieldPercentageTTM: number;
|
|
2347
2025
|
dividendPerShareTTM: number;
|
|
2348
2026
|
} | null | undefined;
|
|
@@ -2461,9 +2139,9 @@ export declare const ZAssetDetails: z.ZodObject<{
|
|
|
2461
2139
|
logo: string;
|
|
2462
2140
|
security: {
|
|
2463
2141
|
type: string;
|
|
2142
|
+
isin: string;
|
|
2464
2143
|
website: string;
|
|
2465
2144
|
wkn: string;
|
|
2466
|
-
isin: string;
|
|
2467
2145
|
etfDomicile?: string | undefined;
|
|
2468
2146
|
etfCompany?: string | undefined;
|
|
2469
2147
|
};
|
|
@@ -2478,8 +2156,8 @@ export declare const ZAssetDetails: z.ZodObject<{
|
|
|
2478
2156
|
currency: string;
|
|
2479
2157
|
date: (string | number | Date) & (string | number | Date | undefined);
|
|
2480
2158
|
datetime: (string | number | Date) & (string | number | Date | undefined);
|
|
2481
|
-
security: string;
|
|
2482
2159
|
price: number;
|
|
2160
|
+
security: string;
|
|
2483
2161
|
paymentDate: (string | number | Date) & (string | number | Date | undefined);
|
|
2484
2162
|
exDate: (string | number | Date) & (string | number | Date | undefined);
|
|
2485
2163
|
isEstimated: boolean;
|
|
@@ -2493,8 +2171,8 @@ export declare const ZAssetDetails: z.ZodObject<{
|
|
|
2493
2171
|
currency: string;
|
|
2494
2172
|
date: (string | number | Date) & (string | number | Date | undefined);
|
|
2495
2173
|
datetime: (string | number | Date) & (string | number | Date | undefined);
|
|
2496
|
-
security: string;
|
|
2497
2174
|
price: number;
|
|
2175
|
+
security: string;
|
|
2498
2176
|
paymentDate: (string | number | Date) & (string | number | Date | undefined);
|
|
2499
2177
|
exDate: (string | number | Date) & (string | number | Date | undefined);
|
|
2500
2178
|
isEstimated: boolean;
|
|
@@ -2504,9 +2182,9 @@ export declare const ZAssetDetails: z.ZodObject<{
|
|
|
2504
2182
|
recordDate?: string | number | Date | null | undefined;
|
|
2505
2183
|
}[] | null | undefined;
|
|
2506
2184
|
dividendKPIs?: {
|
|
2507
|
-
cagr3Y: number;
|
|
2508
|
-
cagr5Y: number;
|
|
2509
|
-
cagr10Y: number;
|
|
2185
|
+
cagr3Y: number | null;
|
|
2186
|
+
cagr5Y: number | null;
|
|
2187
|
+
cagr10Y: number | null;
|
|
2510
2188
|
dividendYieldPercentageTTM: number;
|
|
2511
2189
|
dividendPerShareTTM: number;
|
|
2512
2190
|
} | null | undefined;
|
|
@@ -2519,8 +2197,8 @@ export declare const ZAssetDetails: z.ZodObject<{
|
|
|
2519
2197
|
currency: string;
|
|
2520
2198
|
date: Date;
|
|
2521
2199
|
datetime: Date;
|
|
2522
|
-
security: string;
|
|
2523
2200
|
price: number;
|
|
2201
|
+
security: string;
|
|
2524
2202
|
paymentDate: Date;
|
|
2525
2203
|
exDate: Date;
|
|
2526
2204
|
isEstimated: boolean;
|
|
@@ -2541,8 +2219,8 @@ export declare const ZAssetDetails: z.ZodObject<{
|
|
|
2541
2219
|
currency: string;
|
|
2542
2220
|
date: Date;
|
|
2543
2221
|
datetime: Date;
|
|
2544
|
-
security: string;
|
|
2545
2222
|
price: number;
|
|
2223
|
+
security: string;
|
|
2546
2224
|
paymentDate: Date;
|
|
2547
2225
|
exDate: Date;
|
|
2548
2226
|
isEstimated: boolean;
|
|
@@ -2657,9 +2335,9 @@ export declare const ZAssetDetails: z.ZodObject<{
|
|
|
2657
2335
|
logo: string;
|
|
2658
2336
|
security: {
|
|
2659
2337
|
type: string;
|
|
2338
|
+
isin: string;
|
|
2660
2339
|
website: string;
|
|
2661
2340
|
wkn: string;
|
|
2662
|
-
isin: string;
|
|
2663
2341
|
etfDomicile?: string | undefined;
|
|
2664
2342
|
etfCompany?: string | undefined;
|
|
2665
2343
|
};
|
|
@@ -2670,16 +2348,15 @@ export declare const ZAssetDetails: z.ZodObject<{
|
|
|
2670
2348
|
}[];
|
|
2671
2349
|
} | null | undefined;
|
|
2672
2350
|
dividendKPIs?: {
|
|
2673
|
-
cagr3Y: number;
|
|
2674
|
-
cagr5Y: number;
|
|
2675
|
-
cagr10Y: number;
|
|
2351
|
+
cagr3Y: number | null;
|
|
2352
|
+
cagr5Y: number | null;
|
|
2353
|
+
cagr10Y: number | null;
|
|
2676
2354
|
dividendYieldPercentageTTM: number;
|
|
2677
2355
|
dividendPerShareTTM: number;
|
|
2678
2356
|
} | null | undefined;
|
|
2679
2357
|
};
|
|
2680
2358
|
asset: {
|
|
2681
2359
|
name: string;
|
|
2682
|
-
createdAt: Date;
|
|
2683
2360
|
_id: {
|
|
2684
2361
|
identifier: string;
|
|
2685
2362
|
assetType: string;
|
|
@@ -2688,9 +2365,9 @@ export declare const ZAssetDetails: z.ZodObject<{
|
|
|
2688
2365
|
logo: string;
|
|
2689
2366
|
security: {
|
|
2690
2367
|
type: string;
|
|
2368
|
+
isin: string;
|
|
2691
2369
|
website: string;
|
|
2692
2370
|
wkn: string;
|
|
2693
|
-
isin: string;
|
|
2694
2371
|
regions: {
|
|
2695
2372
|
id: string;
|
|
2696
2373
|
share: number;
|
|
@@ -2716,15 +2393,16 @@ export declare const ZAssetDetails: z.ZodObject<{
|
|
|
2716
2393
|
etfCompany?: string | undefined;
|
|
2717
2394
|
hasDividends?: boolean | undefined;
|
|
2718
2395
|
};
|
|
2396
|
+
createdAt: Date;
|
|
2719
2397
|
updatedAt: Date;
|
|
2720
2398
|
};
|
|
2721
2399
|
quote: {
|
|
2722
2400
|
currency: string;
|
|
2723
2401
|
date: Date;
|
|
2724
2402
|
datetime: Date;
|
|
2725
|
-
isin: string;
|
|
2726
|
-
price: number;
|
|
2727
2403
|
exchange: string;
|
|
2404
|
+
price: number;
|
|
2405
|
+
isin: string;
|
|
2728
2406
|
cachedAt: Date;
|
|
2729
2407
|
};
|
|
2730
2408
|
}, {
|
|
@@ -2843,9 +2521,9 @@ export declare const ZAssetDetails: z.ZodObject<{
|
|
|
2843
2521
|
logo: string;
|
|
2844
2522
|
security: {
|
|
2845
2523
|
type: string;
|
|
2524
|
+
isin: string;
|
|
2846
2525
|
website: string;
|
|
2847
2526
|
wkn: string;
|
|
2848
|
-
isin: string;
|
|
2849
2527
|
etfDomicile?: string | undefined;
|
|
2850
2528
|
etfCompany?: string | undefined;
|
|
2851
2529
|
};
|
|
@@ -2860,8 +2538,8 @@ export declare const ZAssetDetails: z.ZodObject<{
|
|
|
2860
2538
|
currency: string;
|
|
2861
2539
|
date: (string | number | Date) & (string | number | Date | undefined);
|
|
2862
2540
|
datetime: (string | number | Date) & (string | number | Date | undefined);
|
|
2863
|
-
security: string;
|
|
2864
2541
|
price: number;
|
|
2542
|
+
security: string;
|
|
2865
2543
|
paymentDate: (string | number | Date) & (string | number | Date | undefined);
|
|
2866
2544
|
exDate: (string | number | Date) & (string | number | Date | undefined);
|
|
2867
2545
|
isEstimated: boolean;
|
|
@@ -2875,8 +2553,8 @@ export declare const ZAssetDetails: z.ZodObject<{
|
|
|
2875
2553
|
currency: string;
|
|
2876
2554
|
date: (string | number | Date) & (string | number | Date | undefined);
|
|
2877
2555
|
datetime: (string | number | Date) & (string | number | Date | undefined);
|
|
2878
|
-
security: string;
|
|
2879
2556
|
price: number;
|
|
2557
|
+
security: string;
|
|
2880
2558
|
paymentDate: (string | number | Date) & (string | number | Date | undefined);
|
|
2881
2559
|
exDate: (string | number | Date) & (string | number | Date | undefined);
|
|
2882
2560
|
isEstimated: boolean;
|
|
@@ -2886,16 +2564,15 @@ export declare const ZAssetDetails: z.ZodObject<{
|
|
|
2886
2564
|
recordDate?: string | number | Date | null | undefined;
|
|
2887
2565
|
}[] | null | undefined;
|
|
2888
2566
|
dividendKPIs?: {
|
|
2889
|
-
cagr3Y: number;
|
|
2890
|
-
cagr5Y: number;
|
|
2891
|
-
cagr10Y: number;
|
|
2567
|
+
cagr3Y: number | null;
|
|
2568
|
+
cagr5Y: number | null;
|
|
2569
|
+
cagr10Y: number | null;
|
|
2892
2570
|
dividendYieldPercentageTTM: number;
|
|
2893
2571
|
dividendPerShareTTM: number;
|
|
2894
2572
|
} | null | undefined;
|
|
2895
2573
|
};
|
|
2896
2574
|
asset: {
|
|
2897
2575
|
name: string;
|
|
2898
|
-
createdAt: (string | number | Date) & (string | number | Date | undefined);
|
|
2899
2576
|
_id: {
|
|
2900
2577
|
identifier: string;
|
|
2901
2578
|
assetType: string;
|
|
@@ -2904,9 +2581,9 @@ export declare const ZAssetDetails: z.ZodObject<{
|
|
|
2904
2581
|
logo: string;
|
|
2905
2582
|
security: {
|
|
2906
2583
|
type: string;
|
|
2584
|
+
isin: string;
|
|
2907
2585
|
website: string;
|
|
2908
2586
|
wkn: string;
|
|
2909
|
-
isin: string;
|
|
2910
2587
|
regions: {
|
|
2911
2588
|
id: string;
|
|
2912
2589
|
share: number;
|
|
@@ -2932,16 +2609,344 @@ export declare const ZAssetDetails: z.ZodObject<{
|
|
|
2932
2609
|
etfCompany?: string | undefined;
|
|
2933
2610
|
hasDividends?: boolean | undefined;
|
|
2934
2611
|
};
|
|
2612
|
+
createdAt: (string | number | Date) & (string | number | Date | undefined);
|
|
2935
2613
|
updatedAt: (string | number | Date) & (string | number | Date | undefined);
|
|
2936
2614
|
};
|
|
2937
2615
|
quote: {
|
|
2938
2616
|
currency: string;
|
|
2939
2617
|
date: (string | number | Date) & (string | number | Date | undefined);
|
|
2940
2618
|
datetime: (string | number | Date) & (string | number | Date | undefined);
|
|
2619
|
+
exchange: string;
|
|
2620
|
+
price: number;
|
|
2621
|
+
isin: string;
|
|
2622
|
+
cachedAt: (string | number | Date) & (string | number | Date | undefined);
|
|
2623
|
+
};
|
|
2624
|
+
}>;
|
|
2625
|
+
export type TAssetDetails = z.infer<typeof ZAssetDetails>;
|
|
2626
|
+
/**
|
|
2627
|
+
* Pocketbase Table Types
|
|
2628
|
+
*/
|
|
2629
|
+
export declare const ZStockExchange: z.ZodObject<{
|
|
2630
|
+
name: z.ZodString;
|
|
2631
|
+
symbol: z.ZodString;
|
|
2632
|
+
exchange: z.ZodString;
|
|
2633
|
+
id: z.ZodString;
|
|
2634
|
+
created: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodDate, z.ZodNumber]>, z.ZodString]>, Date, string | number | Date>;
|
|
2635
|
+
updated: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodDate, z.ZodNumber]>, z.ZodString]>, Date, string | number | Date>;
|
|
2636
|
+
}, "strip", z.ZodTypeAny, {
|
|
2637
|
+
symbol: string;
|
|
2638
|
+
id: string;
|
|
2639
|
+
name: string;
|
|
2640
|
+
created: Date;
|
|
2641
|
+
updated: Date;
|
|
2642
|
+
exchange: string;
|
|
2643
|
+
}, {
|
|
2644
|
+
symbol: string;
|
|
2645
|
+
id: string;
|
|
2646
|
+
name: string;
|
|
2647
|
+
created: (string | number | Date) & (string | number | Date | undefined);
|
|
2648
|
+
updated: (string | number | Date) & (string | number | Date | undefined);
|
|
2649
|
+
exchange: string;
|
|
2650
|
+
}>;
|
|
2651
|
+
export type TStockExchange = z.infer<typeof ZStockExchange>;
|
|
2652
|
+
export declare const ZStockPosition: z.ZodObject<{
|
|
2653
|
+
owner: z.ZodString;
|
|
2654
|
+
exchange: z.ZodString;
|
|
2655
|
+
bought_at: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodDate, z.ZodNumber]>, z.ZodString]>, Date, string | number | Date>;
|
|
2656
|
+
isin: z.ZodString;
|
|
2657
|
+
buy_in: z.ZodNumber;
|
|
2658
|
+
currency: z.ZodString;
|
|
2659
|
+
quantity: z.ZodNumber;
|
|
2660
|
+
expand: z.ZodObject<{
|
|
2661
|
+
exchange: z.ZodObject<{
|
|
2662
|
+
name: z.ZodString;
|
|
2663
|
+
symbol: z.ZodString;
|
|
2664
|
+
exchange: z.ZodString;
|
|
2665
|
+
id: z.ZodString;
|
|
2666
|
+
created: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodDate, z.ZodNumber]>, z.ZodString]>, Date, string | number | Date>;
|
|
2667
|
+
updated: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodDate, z.ZodNumber]>, z.ZodString]>, Date, string | number | Date>;
|
|
2668
|
+
}, "strip", z.ZodTypeAny, {
|
|
2669
|
+
symbol: string;
|
|
2670
|
+
id: string;
|
|
2671
|
+
name: string;
|
|
2672
|
+
created: Date;
|
|
2673
|
+
updated: Date;
|
|
2674
|
+
exchange: string;
|
|
2675
|
+
}, {
|
|
2676
|
+
symbol: string;
|
|
2677
|
+
id: string;
|
|
2678
|
+
name: string;
|
|
2679
|
+
created: (string | number | Date) & (string | number | Date | undefined);
|
|
2680
|
+
updated: (string | number | Date) & (string | number | Date | undefined);
|
|
2681
|
+
exchange: string;
|
|
2682
|
+
}>;
|
|
2683
|
+
}, "strip", z.ZodTypeAny, {
|
|
2684
|
+
exchange: {
|
|
2685
|
+
symbol: string;
|
|
2686
|
+
id: string;
|
|
2687
|
+
name: string;
|
|
2688
|
+
created: Date;
|
|
2689
|
+
updated: Date;
|
|
2690
|
+
exchange: string;
|
|
2691
|
+
};
|
|
2692
|
+
}, {
|
|
2693
|
+
exchange: {
|
|
2694
|
+
symbol: string;
|
|
2695
|
+
id: string;
|
|
2696
|
+
name: string;
|
|
2697
|
+
created: (string | number | Date) & (string | number | Date | undefined);
|
|
2698
|
+
updated: (string | number | Date) & (string | number | Date | undefined);
|
|
2699
|
+
exchange: string;
|
|
2700
|
+
};
|
|
2701
|
+
}>;
|
|
2702
|
+
id: z.ZodString;
|
|
2703
|
+
created: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodDate, z.ZodNumber]>, z.ZodString]>, Date, string | number | Date>;
|
|
2704
|
+
updated: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodDate, z.ZodNumber]>, z.ZodString]>, Date, string | number | Date>;
|
|
2705
|
+
}, "strip", z.ZodTypeAny, {
|
|
2706
|
+
id: string;
|
|
2707
|
+
currency: string;
|
|
2708
|
+
created: Date;
|
|
2709
|
+
updated: Date;
|
|
2710
|
+
owner: string;
|
|
2711
|
+
expand: {
|
|
2712
|
+
exchange: {
|
|
2713
|
+
symbol: string;
|
|
2714
|
+
id: string;
|
|
2715
|
+
name: string;
|
|
2716
|
+
created: Date;
|
|
2717
|
+
updated: Date;
|
|
2718
|
+
exchange: string;
|
|
2719
|
+
};
|
|
2720
|
+
};
|
|
2721
|
+
exchange: string;
|
|
2722
|
+
isin: string;
|
|
2723
|
+
bought_at: Date;
|
|
2724
|
+
buy_in: number;
|
|
2725
|
+
quantity: number;
|
|
2726
|
+
}, {
|
|
2727
|
+
id: string;
|
|
2728
|
+
currency: string;
|
|
2729
|
+
created: (string | number | Date) & (string | number | Date | undefined);
|
|
2730
|
+
updated: (string | number | Date) & (string | number | Date | undefined);
|
|
2731
|
+
owner: string;
|
|
2732
|
+
expand: {
|
|
2733
|
+
exchange: {
|
|
2734
|
+
symbol: string;
|
|
2735
|
+
id: string;
|
|
2736
|
+
name: string;
|
|
2737
|
+
created: (string | number | Date) & (string | number | Date | undefined);
|
|
2738
|
+
updated: (string | number | Date) & (string | number | Date | undefined);
|
|
2739
|
+
exchange: string;
|
|
2740
|
+
};
|
|
2741
|
+
};
|
|
2742
|
+
exchange: string;
|
|
2743
|
+
isin: string;
|
|
2744
|
+
bought_at: (string | number | Date) & (string | number | Date | undefined);
|
|
2745
|
+
buy_in: number;
|
|
2746
|
+
quantity: number;
|
|
2747
|
+
}>;
|
|
2748
|
+
export type TStockPosition = z.infer<typeof ZStockPosition>;
|
|
2749
|
+
export declare const ZStockPositionWithQuote: z.ZodObject<{
|
|
2750
|
+
owner: z.ZodString;
|
|
2751
|
+
exchange: z.ZodString;
|
|
2752
|
+
bought_at: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodDate, z.ZodNumber]>, z.ZodString]>, Date, string | number | Date>;
|
|
2753
|
+
isin: z.ZodString;
|
|
2754
|
+
buy_in: z.ZodNumber;
|
|
2755
|
+
currency: z.ZodString;
|
|
2756
|
+
quantity: z.ZodNumber;
|
|
2757
|
+
expand: z.ZodObject<{
|
|
2758
|
+
exchange: z.ZodObject<{
|
|
2759
|
+
name: z.ZodString;
|
|
2760
|
+
symbol: z.ZodString;
|
|
2761
|
+
exchange: z.ZodString;
|
|
2762
|
+
id: z.ZodString;
|
|
2763
|
+
created: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodDate, z.ZodNumber]>, z.ZodString]>, Date, string | number | Date>;
|
|
2764
|
+
updated: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodDate, z.ZodNumber]>, z.ZodString]>, Date, string | number | Date>;
|
|
2765
|
+
}, "strip", z.ZodTypeAny, {
|
|
2766
|
+
symbol: string;
|
|
2767
|
+
id: string;
|
|
2768
|
+
name: string;
|
|
2769
|
+
created: Date;
|
|
2770
|
+
updated: Date;
|
|
2771
|
+
exchange: string;
|
|
2772
|
+
}, {
|
|
2773
|
+
symbol: string;
|
|
2774
|
+
id: string;
|
|
2775
|
+
name: string;
|
|
2776
|
+
created: (string | number | Date) & (string | number | Date | undefined);
|
|
2777
|
+
updated: (string | number | Date) & (string | number | Date | undefined);
|
|
2778
|
+
exchange: string;
|
|
2779
|
+
}>;
|
|
2780
|
+
}, "strip", z.ZodTypeAny, {
|
|
2781
|
+
exchange: {
|
|
2782
|
+
symbol: string;
|
|
2783
|
+
id: string;
|
|
2784
|
+
name: string;
|
|
2785
|
+
created: Date;
|
|
2786
|
+
updated: Date;
|
|
2787
|
+
exchange: string;
|
|
2788
|
+
};
|
|
2789
|
+
}, {
|
|
2790
|
+
exchange: {
|
|
2791
|
+
symbol: string;
|
|
2792
|
+
id: string;
|
|
2793
|
+
name: string;
|
|
2794
|
+
created: (string | number | Date) & (string | number | Date | undefined);
|
|
2795
|
+
updated: (string | number | Date) & (string | number | Date | undefined);
|
|
2796
|
+
exchange: string;
|
|
2797
|
+
};
|
|
2798
|
+
}>;
|
|
2799
|
+
name: z.ZodString;
|
|
2800
|
+
logo: z.ZodString;
|
|
2801
|
+
volume: z.ZodNumber;
|
|
2802
|
+
quote: z.ZodObject<{
|
|
2803
|
+
currency: z.ZodString;
|
|
2804
|
+
exchange: z.ZodString;
|
|
2805
|
+
date: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodDate, z.ZodNumber]>, z.ZodString]>, Date, string | number | Date>;
|
|
2806
|
+
datetime: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodDate, z.ZodNumber]>, z.ZodString]>, Date, string | number | Date>;
|
|
2807
|
+
price: z.ZodNumber;
|
|
2808
|
+
isin: z.ZodString;
|
|
2809
|
+
cachedAt: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodDate, z.ZodNumber]>, z.ZodString]>, Date, string | number | Date>;
|
|
2810
|
+
}, "strip", z.ZodTypeAny, {
|
|
2811
|
+
currency: string;
|
|
2812
|
+
date: Date;
|
|
2813
|
+
datetime: Date;
|
|
2814
|
+
exchange: string;
|
|
2815
|
+
price: number;
|
|
2816
|
+
isin: string;
|
|
2817
|
+
cachedAt: Date;
|
|
2818
|
+
}, {
|
|
2819
|
+
currency: string;
|
|
2820
|
+
date: (string | number | Date) & (string | number | Date | undefined);
|
|
2821
|
+
datetime: (string | number | Date) & (string | number | Date | undefined);
|
|
2822
|
+
exchange: string;
|
|
2823
|
+
price: number;
|
|
2941
2824
|
isin: string;
|
|
2825
|
+
cachedAt: (string | number | Date) & (string | number | Date | undefined);
|
|
2826
|
+
}>;
|
|
2827
|
+
id: z.ZodString;
|
|
2828
|
+
created: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodDate, z.ZodNumber]>, z.ZodString]>, Date, string | number | Date>;
|
|
2829
|
+
updated: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodDate, z.ZodNumber]>, z.ZodString]>, Date, string | number | Date>;
|
|
2830
|
+
}, "strip", z.ZodTypeAny, {
|
|
2831
|
+
id: string;
|
|
2832
|
+
name: string;
|
|
2833
|
+
currency: string;
|
|
2834
|
+
created: Date;
|
|
2835
|
+
updated: Date;
|
|
2836
|
+
owner: string;
|
|
2837
|
+
expand: {
|
|
2838
|
+
exchange: {
|
|
2839
|
+
symbol: string;
|
|
2840
|
+
id: string;
|
|
2841
|
+
name: string;
|
|
2842
|
+
created: Date;
|
|
2843
|
+
updated: Date;
|
|
2844
|
+
exchange: string;
|
|
2845
|
+
};
|
|
2846
|
+
};
|
|
2847
|
+
exchange: string;
|
|
2848
|
+
isin: string;
|
|
2849
|
+
logo: string;
|
|
2850
|
+
quote: {
|
|
2851
|
+
currency: string;
|
|
2852
|
+
date: Date;
|
|
2853
|
+
datetime: Date;
|
|
2854
|
+
exchange: string;
|
|
2942
2855
|
price: number;
|
|
2856
|
+
isin: string;
|
|
2857
|
+
cachedAt: Date;
|
|
2858
|
+
};
|
|
2859
|
+
bought_at: Date;
|
|
2860
|
+
buy_in: number;
|
|
2861
|
+
quantity: number;
|
|
2862
|
+
volume: number;
|
|
2863
|
+
}, {
|
|
2864
|
+
id: string;
|
|
2865
|
+
name: string;
|
|
2866
|
+
currency: string;
|
|
2867
|
+
created: (string | number | Date) & (string | number | Date | undefined);
|
|
2868
|
+
updated: (string | number | Date) & (string | number | Date | undefined);
|
|
2869
|
+
owner: string;
|
|
2870
|
+
expand: {
|
|
2871
|
+
exchange: {
|
|
2872
|
+
symbol: string;
|
|
2873
|
+
id: string;
|
|
2874
|
+
name: string;
|
|
2875
|
+
created: (string | number | Date) & (string | number | Date | undefined);
|
|
2876
|
+
updated: (string | number | Date) & (string | number | Date | undefined);
|
|
2877
|
+
exchange: string;
|
|
2878
|
+
};
|
|
2879
|
+
};
|
|
2880
|
+
exchange: string;
|
|
2881
|
+
isin: string;
|
|
2882
|
+
logo: string;
|
|
2883
|
+
quote: {
|
|
2884
|
+
currency: string;
|
|
2885
|
+
date: (string | number | Date) & (string | number | Date | undefined);
|
|
2886
|
+
datetime: (string | number | Date) & (string | number | Date | undefined);
|
|
2943
2887
|
exchange: string;
|
|
2888
|
+
price: number;
|
|
2889
|
+
isin: string;
|
|
2944
2890
|
cachedAt: (string | number | Date) & (string | number | Date | undefined);
|
|
2945
2891
|
};
|
|
2892
|
+
bought_at: (string | number | Date) & (string | number | Date | undefined);
|
|
2893
|
+
buy_in: number;
|
|
2894
|
+
quantity: number;
|
|
2895
|
+
volume: number;
|
|
2946
2896
|
}>;
|
|
2947
|
-
export type
|
|
2897
|
+
export type TStockPositionWithQuote = z.infer<typeof ZStockPositionWithQuote>;
|
|
2898
|
+
export declare const ZCreateStockPositionPayload: z.ZodObject<{
|
|
2899
|
+
owner: z.ZodString;
|
|
2900
|
+
exchange: z.ZodString;
|
|
2901
|
+
bought_at: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodDate, z.ZodNumber]>, z.ZodString]>, Date, string | number | Date>;
|
|
2902
|
+
isin: z.ZodString;
|
|
2903
|
+
buy_in: z.ZodNumber;
|
|
2904
|
+
currency: z.ZodString;
|
|
2905
|
+
quantity: z.ZodNumber;
|
|
2906
|
+
}, "strip", z.ZodTypeAny, {
|
|
2907
|
+
currency: string;
|
|
2908
|
+
owner: string;
|
|
2909
|
+
exchange: string;
|
|
2910
|
+
isin: string;
|
|
2911
|
+
bought_at: Date;
|
|
2912
|
+
buy_in: number;
|
|
2913
|
+
quantity: number;
|
|
2914
|
+
}, {
|
|
2915
|
+
currency: string;
|
|
2916
|
+
owner: string;
|
|
2917
|
+
exchange: string;
|
|
2918
|
+
isin: string;
|
|
2919
|
+
bought_at: (string | number | Date) & (string | number | Date | undefined);
|
|
2920
|
+
buy_in: number;
|
|
2921
|
+
quantity: number;
|
|
2922
|
+
}>;
|
|
2923
|
+
export type TCreateStockPositionPayload = z.infer<typeof ZCreateStockPositionPayload>;
|
|
2924
|
+
export declare const ZUpdateStockPositionPayload: z.ZodObject<{
|
|
2925
|
+
id: z.ZodString;
|
|
2926
|
+
owner: z.ZodString;
|
|
2927
|
+
exchange: z.ZodString;
|
|
2928
|
+
bought_at: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodDate, z.ZodNumber]>, z.ZodString]>, Date, string | number | Date>;
|
|
2929
|
+
isin: z.ZodString;
|
|
2930
|
+
buy_in: z.ZodNumber;
|
|
2931
|
+
currency: z.ZodString;
|
|
2932
|
+
quantity: z.ZodNumber;
|
|
2933
|
+
}, "strip", z.ZodTypeAny, {
|
|
2934
|
+
id: string;
|
|
2935
|
+
currency: string;
|
|
2936
|
+
owner: string;
|
|
2937
|
+
exchange: string;
|
|
2938
|
+
isin: string;
|
|
2939
|
+
bought_at: Date;
|
|
2940
|
+
buy_in: number;
|
|
2941
|
+
quantity: number;
|
|
2942
|
+
}, {
|
|
2943
|
+
id: string;
|
|
2944
|
+
currency: string;
|
|
2945
|
+
owner: string;
|
|
2946
|
+
exchange: string;
|
|
2947
|
+
isin: string;
|
|
2948
|
+
bought_at: (string | number | Date) & (string | number | Date | undefined);
|
|
2949
|
+
buy_in: number;
|
|
2950
|
+
quantity: number;
|
|
2951
|
+
}>;
|
|
2952
|
+
export type TUpdateStockPositionPayload = z.infer<typeof ZUpdateStockPositionPayload>;
|