@budgetbuddyde/types 1.0.49 → 1.0.51
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/Budget.types.d.ts +76 -0
- package/lib/Budget.types.js +1 -1
- package/lib/Stocks/Stock.types.d.ts +218 -209
- package/lib/Stocks/Stock.types.js +20 -42
- package/package.json +1 -1
package/lib/Budget.types.d.ts
CHANGED
|
@@ -188,6 +188,58 @@ export declare const ZExpandedBudgetProgress: z.ZodObject<{
|
|
|
188
188
|
owner: z.ZodString;
|
|
189
189
|
label: z.ZodString;
|
|
190
190
|
categories: z.ZodArray<z.ZodString, "many">;
|
|
191
|
+
expand: z.ZodObject<{
|
|
192
|
+
categories: z.ZodArray<z.ZodObject<{
|
|
193
|
+
owner: z.ZodString;
|
|
194
|
+
name: z.ZodString;
|
|
195
|
+
description: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodString>>, string | null, string | null | undefined>;
|
|
196
|
+
collectionId: z.ZodString;
|
|
197
|
+
collectionName: z.ZodString;
|
|
198
|
+
id: z.ZodString;
|
|
199
|
+
created: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodDate, z.ZodNumber]>, z.ZodString]>, Date, string | number | Date>;
|
|
200
|
+
updated: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodDate, z.ZodNumber]>, z.ZodString]>, Date, string | number | Date>;
|
|
201
|
+
}, "strip", z.ZodTypeAny, {
|
|
202
|
+
id: string;
|
|
203
|
+
name: string;
|
|
204
|
+
description: string | null;
|
|
205
|
+
collectionId: string;
|
|
206
|
+
collectionName: string;
|
|
207
|
+
created: Date;
|
|
208
|
+
updated: Date;
|
|
209
|
+
owner: string;
|
|
210
|
+
}, {
|
|
211
|
+
id: string;
|
|
212
|
+
name: string;
|
|
213
|
+
collectionId: string;
|
|
214
|
+
collectionName: string;
|
|
215
|
+
created: (string | number | Date) & (string | number | Date | undefined);
|
|
216
|
+
updated: (string | number | Date) & (string | number | Date | undefined);
|
|
217
|
+
owner: string;
|
|
218
|
+
description?: string | null | undefined;
|
|
219
|
+
}>, "many">;
|
|
220
|
+
}, "strip", z.ZodTypeAny, {
|
|
221
|
+
categories: {
|
|
222
|
+
id: string;
|
|
223
|
+
name: string;
|
|
224
|
+
description: string | null;
|
|
225
|
+
collectionId: string;
|
|
226
|
+
collectionName: string;
|
|
227
|
+
created: Date;
|
|
228
|
+
updated: Date;
|
|
229
|
+
owner: string;
|
|
230
|
+
}[];
|
|
231
|
+
}, {
|
|
232
|
+
categories: {
|
|
233
|
+
id: string;
|
|
234
|
+
name: string;
|
|
235
|
+
collectionId: string;
|
|
236
|
+
collectionName: string;
|
|
237
|
+
created: (string | number | Date) & (string | number | Date | undefined);
|
|
238
|
+
updated: (string | number | Date) & (string | number | Date | undefined);
|
|
239
|
+
owner: string;
|
|
240
|
+
description?: string | null | undefined;
|
|
241
|
+
}[];
|
|
242
|
+
}>;
|
|
191
243
|
budget: z.ZodNumber;
|
|
192
244
|
type: z.ZodEnum<["include", "exclude"]>;
|
|
193
245
|
collectionId: z.ZodString;
|
|
@@ -207,6 +259,18 @@ export declare const ZExpandedBudgetProgress: z.ZodObject<{
|
|
|
207
259
|
owner: string;
|
|
208
260
|
categories: string[];
|
|
209
261
|
budget: number;
|
|
262
|
+
expand: {
|
|
263
|
+
categories: {
|
|
264
|
+
id: string;
|
|
265
|
+
name: string;
|
|
266
|
+
description: string | null;
|
|
267
|
+
collectionId: string;
|
|
268
|
+
collectionName: string;
|
|
269
|
+
created: Date;
|
|
270
|
+
updated: Date;
|
|
271
|
+
owner: string;
|
|
272
|
+
}[];
|
|
273
|
+
};
|
|
210
274
|
}, {
|
|
211
275
|
type: "include" | "exclude";
|
|
212
276
|
progress: number;
|
|
@@ -219,6 +283,18 @@ export declare const ZExpandedBudgetProgress: z.ZodObject<{
|
|
|
219
283
|
owner: string;
|
|
220
284
|
categories: string[];
|
|
221
285
|
budget: number;
|
|
286
|
+
expand: {
|
|
287
|
+
categories: {
|
|
288
|
+
id: string;
|
|
289
|
+
name: string;
|
|
290
|
+
collectionId: string;
|
|
291
|
+
collectionName: string;
|
|
292
|
+
created: (string | number | Date) & (string | number | Date | undefined);
|
|
293
|
+
updated: (string | number | Date) & (string | number | Date | undefined);
|
|
294
|
+
owner: string;
|
|
295
|
+
description?: string | null | undefined;
|
|
296
|
+
}[];
|
|
297
|
+
};
|
|
222
298
|
}>;
|
|
223
299
|
export type TExpandedBudgetProgress = z.infer<typeof ZExpandedBudgetProgress>;
|
|
224
300
|
export declare const ZCreateBudgetPayload: z.ZodObject<{
|
package/lib/Budget.types.js
CHANGED
|
@@ -32,7 +32,7 @@ exports.ZBudgetProgress = zod_1.z.object({
|
|
|
32
32
|
progress: zod_1.z.number(),
|
|
33
33
|
});
|
|
34
34
|
exports.ZExpandedBudgetProgress = zod_1.z.object({
|
|
35
|
-
...exports.
|
|
35
|
+
...exports.ZExpandedBudget.shape,
|
|
36
36
|
progress: zod_1.z.number(),
|
|
37
37
|
});
|
|
38
38
|
exports.ZCreateBudgetPayload = zod_1.z.object({
|
|
@@ -7,8 +7,30 @@ export declare const ZCurrency: z.ZodString;
|
|
|
7
7
|
export type TCurrency = z.infer<typeof ZCurrency>;
|
|
8
8
|
export declare const ZTimeframe: z.ZodEnum<["1d", "1m", "3m", "1y", "5y", "ytd"]>;
|
|
9
9
|
export type TTimeframe = z.infer<typeof ZTimeframe>;
|
|
10
|
-
export declare const ZStockType: z.ZodUnion<[z.ZodEnum<["Aktie", "ETF"]>, z.ZodString]>;
|
|
10
|
+
export declare const ZStockType: z.ZodUnion<[z.ZodEnum<["Aktie", "ETF", "Optionsschein"]>, z.ZodString]>;
|
|
11
11
|
export type TStockType = z.infer<typeof ZStockType>;
|
|
12
|
+
export declare const ZSecurity: z.ZodObject<{
|
|
13
|
+
website: z.ZodOptional<z.ZodString>;
|
|
14
|
+
type: z.ZodUnion<[z.ZodEnum<["Aktie", "ETF", "Optionsschein"]>, z.ZodString]>;
|
|
15
|
+
wkn: z.ZodString;
|
|
16
|
+
isin: z.ZodString;
|
|
17
|
+
etfDomicile: z.ZodOptional<z.ZodString>;
|
|
18
|
+
etfCompany: z.ZodOptional<z.ZodString>;
|
|
19
|
+
}, "strip", z.ZodTypeAny, {
|
|
20
|
+
type: string;
|
|
21
|
+
wkn: string;
|
|
22
|
+
isin: string;
|
|
23
|
+
website?: string | undefined;
|
|
24
|
+
etfDomicile?: string | undefined;
|
|
25
|
+
etfCompany?: string | undefined;
|
|
26
|
+
}, {
|
|
27
|
+
type: string;
|
|
28
|
+
wkn: string;
|
|
29
|
+
isin: string;
|
|
30
|
+
website?: string | undefined;
|
|
31
|
+
etfDomicile?: string | undefined;
|
|
32
|
+
etfCompany?: string | undefined;
|
|
33
|
+
}>;
|
|
12
34
|
/**
|
|
13
35
|
* Stock API Types
|
|
14
36
|
*/
|
|
@@ -24,17 +46,17 @@ export declare const ZStockQuote: z.ZodObject<{
|
|
|
24
46
|
currency: string;
|
|
25
47
|
date: Date;
|
|
26
48
|
datetime: Date;
|
|
49
|
+
isin: string;
|
|
27
50
|
exchange: string;
|
|
28
51
|
price: number;
|
|
29
|
-
isin: string;
|
|
30
52
|
cachedAt?: Date | undefined;
|
|
31
53
|
}, {
|
|
32
54
|
currency: string;
|
|
33
55
|
date: (string | number | Date) & (string | number | Date | undefined);
|
|
34
56
|
datetime: (string | number | Date) & (string | number | Date | undefined);
|
|
57
|
+
isin: string;
|
|
35
58
|
exchange: string;
|
|
36
59
|
price: number;
|
|
37
|
-
isin: string;
|
|
38
60
|
cachedAt?: string | number | Date | undefined;
|
|
39
61
|
}>;
|
|
40
62
|
export type TStockQuote = z.infer<typeof ZStockQuote>;
|
|
@@ -53,26 +75,29 @@ export declare const ZAsset: z.ZodObject<{
|
|
|
53
75
|
name: z.ZodString;
|
|
54
76
|
logo: z.ZodString;
|
|
55
77
|
security: z.ZodObject<{
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
78
|
+
currency: z.ZodString;
|
|
79
|
+
exchange: z.ZodString;
|
|
80
|
+
date: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodDate, z.ZodNumber]>, z.ZodString]>, Date, string | number | Date>;
|
|
81
|
+
datetime: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodDate, z.ZodNumber]>, z.ZodString]>, Date, string | number | Date>;
|
|
82
|
+
price: z.ZodNumber;
|
|
59
83
|
isin: z.ZodString;
|
|
60
|
-
|
|
61
|
-
etfCompany: z.ZodString;
|
|
84
|
+
cachedAt: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodDate, z.ZodNumber]>, z.ZodString]>, Date, string | number | Date>>;
|
|
62
85
|
}, "strip", z.ZodTypeAny, {
|
|
63
|
-
|
|
86
|
+
currency: string;
|
|
87
|
+
date: Date;
|
|
88
|
+
datetime: Date;
|
|
64
89
|
isin: string;
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
etfCompany: string;
|
|
90
|
+
exchange: string;
|
|
91
|
+
price: number;
|
|
92
|
+
cachedAt?: Date | undefined;
|
|
69
93
|
}, {
|
|
70
|
-
|
|
94
|
+
currency: string;
|
|
95
|
+
date: (string | number | Date) & (string | number | Date | undefined);
|
|
96
|
+
datetime: (string | number | Date) & (string | number | Date | undefined);
|
|
71
97
|
isin: string;
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
etfCompany: string;
|
|
98
|
+
exchange: string;
|
|
99
|
+
price: number;
|
|
100
|
+
cachedAt?: string | number | Date | undefined;
|
|
76
101
|
}>;
|
|
77
102
|
}, "strip", z.ZodTypeAny, {
|
|
78
103
|
name: string;
|
|
@@ -83,12 +108,13 @@ export declare const ZAsset: z.ZodObject<{
|
|
|
83
108
|
assetType: string;
|
|
84
109
|
logo: string;
|
|
85
110
|
security: {
|
|
86
|
-
|
|
111
|
+
currency: string;
|
|
112
|
+
date: Date;
|
|
113
|
+
datetime: Date;
|
|
87
114
|
isin: string;
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
etfCompany: string;
|
|
115
|
+
exchange: string;
|
|
116
|
+
price: number;
|
|
117
|
+
cachedAt?: Date | undefined;
|
|
92
118
|
};
|
|
93
119
|
}, {
|
|
94
120
|
name: string;
|
|
@@ -99,17 +125,18 @@ export declare const ZAsset: z.ZodObject<{
|
|
|
99
125
|
assetType: string;
|
|
100
126
|
logo: string;
|
|
101
127
|
security: {
|
|
102
|
-
|
|
128
|
+
currency: string;
|
|
129
|
+
date: (string | number | Date) & (string | number | Date | undefined);
|
|
130
|
+
datetime: (string | number | Date) & (string | number | Date | undefined);
|
|
103
131
|
isin: string;
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
etfCompany: string;
|
|
132
|
+
exchange: string;
|
|
133
|
+
price: number;
|
|
134
|
+
cachedAt?: string | number | Date | undefined;
|
|
108
135
|
};
|
|
109
136
|
}>;
|
|
110
137
|
export type TAsset = z.infer<typeof ZAsset>;
|
|
111
138
|
export declare const ZAssetSearchResult: z.ZodObject<{
|
|
112
|
-
type: z.ZodUnion<[z.ZodEnum<["Aktie", "ETF"]>, z.ZodString]>;
|
|
139
|
+
type: z.ZodUnion<[z.ZodEnum<["Aktie", "ETF", "Optionsschein"]>, z.ZodString]>;
|
|
113
140
|
name: z.ZodString;
|
|
114
141
|
identifier: z.ZodString;
|
|
115
142
|
logo: z.ZodString;
|
|
@@ -119,17 +146,17 @@ export declare const ZAssetSearchResult: z.ZodObject<{
|
|
|
119
146
|
}, "strip", z.ZodTypeAny, {
|
|
120
147
|
type: string;
|
|
121
148
|
name: string;
|
|
149
|
+
wkn: string;
|
|
122
150
|
identifier: string;
|
|
123
151
|
logo: string;
|
|
124
|
-
wkn: string;
|
|
125
152
|
domicile?: string | undefined;
|
|
126
153
|
website?: string | undefined;
|
|
127
154
|
}, {
|
|
128
155
|
type: string;
|
|
129
156
|
name: string;
|
|
157
|
+
wkn: string;
|
|
130
158
|
identifier: string;
|
|
131
159
|
logo: string;
|
|
132
|
-
wkn: string;
|
|
133
160
|
domicile?: string | undefined;
|
|
134
161
|
website?: string | undefined;
|
|
135
162
|
}>;
|
|
@@ -311,24 +338,24 @@ export declare const ZDividendDetails: z.ZodObject<{
|
|
|
311
338
|
name: z.ZodString;
|
|
312
339
|
logo: z.ZodString;
|
|
313
340
|
security: z.ZodObject<{
|
|
314
|
-
website: z.ZodString
|
|
315
|
-
type: z.ZodString
|
|
341
|
+
website: z.ZodOptional<z.ZodString>;
|
|
342
|
+
type: z.ZodUnion<[z.ZodEnum<["Aktie", "ETF", "Optionsschein"]>, z.ZodString]>;
|
|
316
343
|
wkn: z.ZodString;
|
|
317
344
|
isin: z.ZodString;
|
|
318
345
|
etfDomicile: z.ZodOptional<z.ZodString>;
|
|
319
346
|
etfCompany: z.ZodOptional<z.ZodString>;
|
|
320
347
|
}, "strip", z.ZodTypeAny, {
|
|
321
348
|
type: string;
|
|
322
|
-
isin: string;
|
|
323
|
-
website: string;
|
|
324
349
|
wkn: string;
|
|
350
|
+
isin: string;
|
|
351
|
+
website?: string | undefined;
|
|
325
352
|
etfDomicile?: string | undefined;
|
|
326
353
|
etfCompany?: string | undefined;
|
|
327
354
|
}, {
|
|
328
355
|
type: string;
|
|
329
|
-
isin: string;
|
|
330
|
-
website: string;
|
|
331
356
|
wkn: string;
|
|
357
|
+
isin: string;
|
|
358
|
+
website?: string | undefined;
|
|
332
359
|
etfDomicile?: string | undefined;
|
|
333
360
|
etfCompany?: string | undefined;
|
|
334
361
|
}>;
|
|
@@ -342,9 +369,9 @@ export declare const ZDividendDetails: z.ZodObject<{
|
|
|
342
369
|
logo: string;
|
|
343
370
|
security: {
|
|
344
371
|
type: string;
|
|
345
|
-
isin: string;
|
|
346
|
-
website: string;
|
|
347
372
|
wkn: string;
|
|
373
|
+
isin: string;
|
|
374
|
+
website?: string | undefined;
|
|
348
375
|
etfDomicile?: string | undefined;
|
|
349
376
|
etfCompany?: string | undefined;
|
|
350
377
|
};
|
|
@@ -358,9 +385,9 @@ export declare const ZDividendDetails: z.ZodObject<{
|
|
|
358
385
|
logo: string;
|
|
359
386
|
security: {
|
|
360
387
|
type: string;
|
|
361
|
-
isin: string;
|
|
362
|
-
website: string;
|
|
363
388
|
wkn: string;
|
|
389
|
+
isin: string;
|
|
390
|
+
website?: string | undefined;
|
|
364
391
|
etfDomicile?: string | undefined;
|
|
365
392
|
etfCompany?: string | undefined;
|
|
366
393
|
};
|
|
@@ -483,9 +510,9 @@ export declare const ZDividendDetails: z.ZodObject<{
|
|
|
483
510
|
logo: string;
|
|
484
511
|
security: {
|
|
485
512
|
type: string;
|
|
486
|
-
isin: string;
|
|
487
|
-
website: string;
|
|
488
513
|
wkn: string;
|
|
514
|
+
isin: string;
|
|
515
|
+
website?: string | undefined;
|
|
489
516
|
etfDomicile?: string | undefined;
|
|
490
517
|
etfCompany?: string | undefined;
|
|
491
518
|
};
|
|
@@ -540,9 +567,9 @@ export declare const ZDividendDetails: z.ZodObject<{
|
|
|
540
567
|
logo: string;
|
|
541
568
|
security: {
|
|
542
569
|
type: string;
|
|
543
|
-
isin: string;
|
|
544
|
-
website: string;
|
|
545
570
|
wkn: string;
|
|
571
|
+
isin: string;
|
|
572
|
+
website?: string | undefined;
|
|
546
573
|
etfDomicile?: string | undefined;
|
|
547
574
|
etfCompany?: string | undefined;
|
|
548
575
|
};
|
|
@@ -605,24 +632,24 @@ export declare const ZDividendDetailList: z.ZodObject<{
|
|
|
605
632
|
name: z.ZodString;
|
|
606
633
|
logo: z.ZodString;
|
|
607
634
|
security: z.ZodObject<{
|
|
608
|
-
website: z.ZodString
|
|
609
|
-
type: z.ZodString
|
|
635
|
+
website: z.ZodOptional<z.ZodString>;
|
|
636
|
+
type: z.ZodUnion<[z.ZodEnum<["Aktie", "ETF", "Optionsschein"]>, z.ZodString]>;
|
|
610
637
|
wkn: z.ZodString;
|
|
611
638
|
isin: z.ZodString;
|
|
612
639
|
etfDomicile: z.ZodOptional<z.ZodString>;
|
|
613
640
|
etfCompany: z.ZodOptional<z.ZodString>;
|
|
614
641
|
}, "strip", z.ZodTypeAny, {
|
|
615
642
|
type: string;
|
|
616
|
-
isin: string;
|
|
617
|
-
website: string;
|
|
618
643
|
wkn: string;
|
|
644
|
+
isin: string;
|
|
645
|
+
website?: string | undefined;
|
|
619
646
|
etfDomicile?: string | undefined;
|
|
620
647
|
etfCompany?: string | undefined;
|
|
621
648
|
}, {
|
|
622
649
|
type: string;
|
|
623
|
-
isin: string;
|
|
624
|
-
website: string;
|
|
625
650
|
wkn: string;
|
|
651
|
+
isin: string;
|
|
652
|
+
website?: string | undefined;
|
|
626
653
|
etfDomicile?: string | undefined;
|
|
627
654
|
etfCompany?: string | undefined;
|
|
628
655
|
}>;
|
|
@@ -636,9 +663,9 @@ export declare const ZDividendDetailList: z.ZodObject<{
|
|
|
636
663
|
logo: string;
|
|
637
664
|
security: {
|
|
638
665
|
type: string;
|
|
639
|
-
isin: string;
|
|
640
|
-
website: string;
|
|
641
666
|
wkn: string;
|
|
667
|
+
isin: string;
|
|
668
|
+
website?: string | undefined;
|
|
642
669
|
etfDomicile?: string | undefined;
|
|
643
670
|
etfCompany?: string | undefined;
|
|
644
671
|
};
|
|
@@ -652,9 +679,9 @@ export declare const ZDividendDetailList: z.ZodObject<{
|
|
|
652
679
|
logo: string;
|
|
653
680
|
security: {
|
|
654
681
|
type: string;
|
|
655
|
-
isin: string;
|
|
656
|
-
website: string;
|
|
657
682
|
wkn: string;
|
|
683
|
+
isin: string;
|
|
684
|
+
website?: string | undefined;
|
|
658
685
|
etfDomicile?: string | undefined;
|
|
659
686
|
etfCompany?: string | undefined;
|
|
660
687
|
};
|
|
@@ -777,9 +804,9 @@ export declare const ZDividendDetailList: z.ZodObject<{
|
|
|
777
804
|
logo: string;
|
|
778
805
|
security: {
|
|
779
806
|
type: string;
|
|
780
|
-
isin: string;
|
|
781
|
-
website: string;
|
|
782
807
|
wkn: string;
|
|
808
|
+
isin: string;
|
|
809
|
+
website?: string | undefined;
|
|
783
810
|
etfDomicile?: string | undefined;
|
|
784
811
|
etfCompany?: string | undefined;
|
|
785
812
|
};
|
|
@@ -834,9 +861,9 @@ export declare const ZDividendDetailList: z.ZodObject<{
|
|
|
834
861
|
logo: string;
|
|
835
862
|
security: {
|
|
836
863
|
type: string;
|
|
837
|
-
isin: string;
|
|
838
|
-
website: string;
|
|
839
864
|
wkn: string;
|
|
865
|
+
isin: string;
|
|
866
|
+
website?: string | undefined;
|
|
840
867
|
etfDomicile?: string | undefined;
|
|
841
868
|
etfCompany?: string | undefined;
|
|
842
869
|
};
|
|
@@ -893,9 +920,9 @@ export declare const ZDividendDetailList: z.ZodObject<{
|
|
|
893
920
|
logo: string;
|
|
894
921
|
security: {
|
|
895
922
|
type: string;
|
|
896
|
-
isin: string;
|
|
897
|
-
website: string;
|
|
898
923
|
wkn: string;
|
|
924
|
+
isin: string;
|
|
925
|
+
website?: string | undefined;
|
|
899
926
|
etfDomicile?: string | undefined;
|
|
900
927
|
etfCompany?: string | undefined;
|
|
901
928
|
};
|
|
@@ -952,9 +979,9 @@ export declare const ZDividendDetailList: z.ZodObject<{
|
|
|
952
979
|
logo: string;
|
|
953
980
|
security: {
|
|
954
981
|
type: string;
|
|
955
|
-
isin: string;
|
|
956
|
-
website: string;
|
|
957
982
|
wkn: string;
|
|
983
|
+
isin: string;
|
|
984
|
+
website?: string | undefined;
|
|
958
985
|
etfDomicile?: string | undefined;
|
|
959
986
|
etfCompany?: string | undefined;
|
|
960
987
|
};
|
|
@@ -1070,16 +1097,16 @@ export declare const ZAssetDetails: z.ZodObject<{
|
|
|
1070
1097
|
}>, "many">;
|
|
1071
1098
|
website: z.ZodString;
|
|
1072
1099
|
wkn: z.ZodString;
|
|
1073
|
-
type: z.ZodString
|
|
1100
|
+
type: z.ZodUnion<[z.ZodEnum<["Aktie", "ETF", "Optionsschein"]>, z.ZodString]>;
|
|
1074
1101
|
ipoDate: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodDate, z.ZodNumber]>, z.ZodString]>, Date, string | number | Date>;
|
|
1075
1102
|
etfDomicile: z.ZodOptional<z.ZodString>;
|
|
1076
1103
|
etfCompany: z.ZodOptional<z.ZodString>;
|
|
1077
1104
|
hasDividends: z.ZodOptional<z.ZodBoolean>;
|
|
1078
1105
|
}, "strip", z.ZodTypeAny, {
|
|
1079
1106
|
type: string;
|
|
1080
|
-
isin: string;
|
|
1081
1107
|
website: string;
|
|
1082
1108
|
wkn: string;
|
|
1109
|
+
isin: string;
|
|
1083
1110
|
regions: {
|
|
1084
1111
|
id: string;
|
|
1085
1112
|
share: number;
|
|
@@ -1106,9 +1133,9 @@ export declare const ZAssetDetails: z.ZodObject<{
|
|
|
1106
1133
|
hasDividends?: boolean | undefined;
|
|
1107
1134
|
}, {
|
|
1108
1135
|
type: string;
|
|
1109
|
-
isin: string;
|
|
1110
1136
|
website: string;
|
|
1111
1137
|
wkn: string;
|
|
1138
|
+
isin: string;
|
|
1112
1139
|
regions: {
|
|
1113
1140
|
id: string;
|
|
1114
1141
|
share: number;
|
|
@@ -1144,9 +1171,9 @@ export declare const ZAssetDetails: z.ZodObject<{
|
|
|
1144
1171
|
logo: string;
|
|
1145
1172
|
security: {
|
|
1146
1173
|
type: string;
|
|
1147
|
-
isin: string;
|
|
1148
1174
|
website: string;
|
|
1149
1175
|
wkn: string;
|
|
1176
|
+
isin: string;
|
|
1150
1177
|
regions: {
|
|
1151
1178
|
id: string;
|
|
1152
1179
|
share: number;
|
|
@@ -1184,9 +1211,9 @@ export declare const ZAssetDetails: z.ZodObject<{
|
|
|
1184
1211
|
logo: string;
|
|
1185
1212
|
security: {
|
|
1186
1213
|
type: string;
|
|
1187
|
-
isin: string;
|
|
1188
1214
|
website: string;
|
|
1189
1215
|
wkn: string;
|
|
1216
|
+
isin: string;
|
|
1190
1217
|
regions: {
|
|
1191
1218
|
id: string;
|
|
1192
1219
|
share: number;
|
|
@@ -1227,17 +1254,17 @@ export declare const ZAssetDetails: z.ZodObject<{
|
|
|
1227
1254
|
currency: string;
|
|
1228
1255
|
date: Date;
|
|
1229
1256
|
datetime: Date;
|
|
1257
|
+
isin: string;
|
|
1230
1258
|
exchange: string;
|
|
1231
1259
|
price: number;
|
|
1232
|
-
isin: string;
|
|
1233
1260
|
cachedAt?: Date | undefined;
|
|
1234
1261
|
}, {
|
|
1235
1262
|
currency: string;
|
|
1236
1263
|
date: (string | number | Date) & (string | number | Date | undefined);
|
|
1237
1264
|
datetime: (string | number | Date) & (string | number | Date | undefined);
|
|
1265
|
+
isin: string;
|
|
1238
1266
|
exchange: string;
|
|
1239
1267
|
price: number;
|
|
1240
|
-
isin: string;
|
|
1241
1268
|
cachedAt?: string | number | Date | undefined;
|
|
1242
1269
|
}>;
|
|
1243
1270
|
details: z.ZodObject<{
|
|
@@ -1483,24 +1510,24 @@ export declare const ZAssetDetails: z.ZodObject<{
|
|
|
1483
1510
|
name: z.ZodString;
|
|
1484
1511
|
logo: z.ZodString;
|
|
1485
1512
|
security: z.ZodObject<{
|
|
1486
|
-
website: z.ZodString
|
|
1487
|
-
type: z.ZodString
|
|
1513
|
+
website: z.ZodOptional<z.ZodString>;
|
|
1514
|
+
type: z.ZodUnion<[z.ZodEnum<["Aktie", "ETF", "Optionsschein"]>, z.ZodString]>;
|
|
1488
1515
|
wkn: z.ZodString;
|
|
1489
1516
|
isin: z.ZodString;
|
|
1490
1517
|
etfDomicile: z.ZodOptional<z.ZodString>;
|
|
1491
1518
|
etfCompany: z.ZodOptional<z.ZodString>;
|
|
1492
1519
|
}, "strip", z.ZodTypeAny, {
|
|
1493
1520
|
type: string;
|
|
1494
|
-
isin: string;
|
|
1495
|
-
website: string;
|
|
1496
1521
|
wkn: string;
|
|
1522
|
+
isin: string;
|
|
1523
|
+
website?: string | undefined;
|
|
1497
1524
|
etfDomicile?: string | undefined;
|
|
1498
1525
|
etfCompany?: string | undefined;
|
|
1499
1526
|
}, {
|
|
1500
1527
|
type: string;
|
|
1501
|
-
isin: string;
|
|
1502
|
-
website: string;
|
|
1503
1528
|
wkn: string;
|
|
1529
|
+
isin: string;
|
|
1530
|
+
website?: string | undefined;
|
|
1504
1531
|
etfDomicile?: string | undefined;
|
|
1505
1532
|
etfCompany?: string | undefined;
|
|
1506
1533
|
}>;
|
|
@@ -1514,9 +1541,9 @@ export declare const ZAssetDetails: z.ZodObject<{
|
|
|
1514
1541
|
logo: string;
|
|
1515
1542
|
security: {
|
|
1516
1543
|
type: string;
|
|
1517
|
-
isin: string;
|
|
1518
|
-
website: string;
|
|
1519
1544
|
wkn: string;
|
|
1545
|
+
isin: string;
|
|
1546
|
+
website?: string | undefined;
|
|
1520
1547
|
etfDomicile?: string | undefined;
|
|
1521
1548
|
etfCompany?: string | undefined;
|
|
1522
1549
|
};
|
|
@@ -1530,9 +1557,9 @@ export declare const ZAssetDetails: z.ZodObject<{
|
|
|
1530
1557
|
logo: string;
|
|
1531
1558
|
security: {
|
|
1532
1559
|
type: string;
|
|
1533
|
-
isin: string;
|
|
1534
|
-
website: string;
|
|
1535
1560
|
wkn: string;
|
|
1561
|
+
isin: string;
|
|
1562
|
+
website?: string | undefined;
|
|
1536
1563
|
etfDomicile?: string | undefined;
|
|
1537
1564
|
etfCompany?: string | undefined;
|
|
1538
1565
|
};
|
|
@@ -1549,9 +1576,9 @@ export declare const ZAssetDetails: z.ZodObject<{
|
|
|
1549
1576
|
logo: string;
|
|
1550
1577
|
security: {
|
|
1551
1578
|
type: string;
|
|
1552
|
-
isin: string;
|
|
1553
|
-
website: string;
|
|
1554
1579
|
wkn: string;
|
|
1580
|
+
isin: string;
|
|
1581
|
+
website?: string | undefined;
|
|
1555
1582
|
etfDomicile?: string | undefined;
|
|
1556
1583
|
etfCompany?: string | undefined;
|
|
1557
1584
|
};
|
|
@@ -1571,9 +1598,9 @@ export declare const ZAssetDetails: z.ZodObject<{
|
|
|
1571
1598
|
logo: string;
|
|
1572
1599
|
security: {
|
|
1573
1600
|
type: string;
|
|
1574
|
-
isin: string;
|
|
1575
|
-
website: string;
|
|
1576
1601
|
wkn: string;
|
|
1602
|
+
isin: string;
|
|
1603
|
+
website?: string | undefined;
|
|
1577
1604
|
etfDomicile?: string | undefined;
|
|
1578
1605
|
etfCompany?: string | undefined;
|
|
1579
1606
|
};
|
|
@@ -1597,9 +1624,9 @@ export declare const ZAssetDetails: z.ZodObject<{
|
|
|
1597
1624
|
logo: string;
|
|
1598
1625
|
security: {
|
|
1599
1626
|
type: string;
|
|
1600
|
-
isin: string;
|
|
1601
|
-
website: string;
|
|
1602
1627
|
wkn: string;
|
|
1628
|
+
isin: string;
|
|
1629
|
+
website?: string | undefined;
|
|
1603
1630
|
etfDomicile?: string | undefined;
|
|
1604
1631
|
etfCompany?: string | undefined;
|
|
1605
1632
|
};
|
|
@@ -1623,9 +1650,9 @@ export declare const ZAssetDetails: z.ZodObject<{
|
|
|
1623
1650
|
logo: string;
|
|
1624
1651
|
security: {
|
|
1625
1652
|
type: string;
|
|
1626
|
-
isin: string;
|
|
1627
|
-
website: string;
|
|
1628
1653
|
wkn: string;
|
|
1654
|
+
isin: string;
|
|
1655
|
+
website?: string | undefined;
|
|
1629
1656
|
etfDomicile?: string | undefined;
|
|
1630
1657
|
etfCompany?: string | undefined;
|
|
1631
1658
|
};
|
|
@@ -2011,9 +2038,9 @@ export declare const ZAssetDetails: z.ZodObject<{
|
|
|
2011
2038
|
logo: string;
|
|
2012
2039
|
security: {
|
|
2013
2040
|
type: string;
|
|
2014
|
-
isin: string;
|
|
2015
|
-
website: string;
|
|
2016
2041
|
wkn: string;
|
|
2042
|
+
isin: string;
|
|
2043
|
+
website?: string | undefined;
|
|
2017
2044
|
etfDomicile?: string | undefined;
|
|
2018
2045
|
etfCompany?: string | undefined;
|
|
2019
2046
|
};
|
|
@@ -2145,9 +2172,9 @@ export declare const ZAssetDetails: z.ZodObject<{
|
|
|
2145
2172
|
logo: string;
|
|
2146
2173
|
security: {
|
|
2147
2174
|
type: string;
|
|
2148
|
-
isin: string;
|
|
2149
|
-
website: string;
|
|
2150
2175
|
wkn: string;
|
|
2176
|
+
isin: string;
|
|
2177
|
+
website?: string | undefined;
|
|
2151
2178
|
etfDomicile?: string | undefined;
|
|
2152
2179
|
etfCompany?: string | undefined;
|
|
2153
2180
|
};
|
|
@@ -2341,9 +2368,9 @@ export declare const ZAssetDetails: z.ZodObject<{
|
|
|
2341
2368
|
logo: string;
|
|
2342
2369
|
security: {
|
|
2343
2370
|
type: string;
|
|
2344
|
-
isin: string;
|
|
2345
|
-
website: string;
|
|
2346
2371
|
wkn: string;
|
|
2372
|
+
isin: string;
|
|
2373
|
+
website?: string | undefined;
|
|
2347
2374
|
etfDomicile?: string | undefined;
|
|
2348
2375
|
etfCompany?: string | undefined;
|
|
2349
2376
|
};
|
|
@@ -2371,9 +2398,9 @@ export declare const ZAssetDetails: z.ZodObject<{
|
|
|
2371
2398
|
logo: string;
|
|
2372
2399
|
security: {
|
|
2373
2400
|
type: string;
|
|
2374
|
-
isin: string;
|
|
2375
2401
|
website: string;
|
|
2376
2402
|
wkn: string;
|
|
2403
|
+
isin: string;
|
|
2377
2404
|
regions: {
|
|
2378
2405
|
id: string;
|
|
2379
2406
|
share: number;
|
|
@@ -2406,9 +2433,9 @@ export declare const ZAssetDetails: z.ZodObject<{
|
|
|
2406
2433
|
currency: string;
|
|
2407
2434
|
date: Date;
|
|
2408
2435
|
datetime: Date;
|
|
2436
|
+
isin: string;
|
|
2409
2437
|
exchange: string;
|
|
2410
2438
|
price: number;
|
|
2411
|
-
isin: string;
|
|
2412
2439
|
cachedAt?: Date | undefined;
|
|
2413
2440
|
};
|
|
2414
2441
|
}, {
|
|
@@ -2527,9 +2554,9 @@ export declare const ZAssetDetails: z.ZodObject<{
|
|
|
2527
2554
|
logo: string;
|
|
2528
2555
|
security: {
|
|
2529
2556
|
type: string;
|
|
2530
|
-
isin: string;
|
|
2531
|
-
website: string;
|
|
2532
2557
|
wkn: string;
|
|
2558
|
+
isin: string;
|
|
2559
|
+
website?: string | undefined;
|
|
2533
2560
|
etfDomicile?: string | undefined;
|
|
2534
2561
|
etfCompany?: string | undefined;
|
|
2535
2562
|
};
|
|
@@ -2587,9 +2614,9 @@ export declare const ZAssetDetails: z.ZodObject<{
|
|
|
2587
2614
|
logo: string;
|
|
2588
2615
|
security: {
|
|
2589
2616
|
type: string;
|
|
2590
|
-
isin: string;
|
|
2591
2617
|
website: string;
|
|
2592
2618
|
wkn: string;
|
|
2619
|
+
isin: string;
|
|
2593
2620
|
regions: {
|
|
2594
2621
|
id: string;
|
|
2595
2622
|
share: number;
|
|
@@ -2622,9 +2649,9 @@ export declare const ZAssetDetails: z.ZodObject<{
|
|
|
2622
2649
|
currency: string;
|
|
2623
2650
|
date: (string | number | Date) & (string | number | Date | undefined);
|
|
2624
2651
|
datetime: (string | number | Date) & (string | number | Date | undefined);
|
|
2652
|
+
isin: string;
|
|
2625
2653
|
exchange: string;
|
|
2626
2654
|
price: number;
|
|
2627
|
-
isin: string;
|
|
2628
2655
|
cachedAt?: string | number | Date | undefined;
|
|
2629
2656
|
};
|
|
2630
2657
|
}>;
|
|
@@ -2639,9 +2666,7 @@ export declare const ZStockExchange: z.ZodObject<{
|
|
|
2639
2666
|
collectionId: z.ZodString;
|
|
2640
2667
|
collectionName: z.ZodString;
|
|
2641
2668
|
id: z.ZodString;
|
|
2642
|
-
created: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodDate, z.ZodNumber]>, z.ZodString]>, Date, string | number | Date>;
|
|
2643
|
-
* Stock API Types
|
|
2644
|
-
*/
|
|
2669
|
+
created: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodDate, z.ZodNumber]>, z.ZodString]>, Date, string | number | Date>;
|
|
2645
2670
|
updated: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodDate, z.ZodNumber]>, z.ZodString]>, Date, string | number | Date>;
|
|
2646
2671
|
}, "strip", z.ZodTypeAny, {
|
|
2647
2672
|
symbol: string;
|
|
@@ -2679,9 +2704,7 @@ export declare const ZStockPosition: z.ZodObject<{
|
|
|
2679
2704
|
collectionId: z.ZodString;
|
|
2680
2705
|
collectionName: z.ZodString;
|
|
2681
2706
|
id: z.ZodString;
|
|
2682
|
-
created: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodDate, z.ZodNumber]>, z.ZodString]>, Date, string | number | Date>;
|
|
2683
|
-
* Stock API Types
|
|
2684
|
-
*/
|
|
2707
|
+
created: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodDate, z.ZodNumber]>, z.ZodString]>, Date, string | number | Date>;
|
|
2685
2708
|
updated: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodDate, z.ZodNumber]>, z.ZodString]>, Date, string | number | Date>;
|
|
2686
2709
|
}, "strip", z.ZodTypeAny, {
|
|
2687
2710
|
symbol: string;
|
|
@@ -2728,9 +2751,7 @@ export declare const ZStockPosition: z.ZodObject<{
|
|
|
2728
2751
|
collectionId: z.ZodString;
|
|
2729
2752
|
collectionName: z.ZodString;
|
|
2730
2753
|
id: z.ZodString;
|
|
2731
|
-
created: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodDate, z.ZodNumber]>, z.ZodString]>, Date, string | number | Date>;
|
|
2732
|
-
* Stock API Types
|
|
2733
|
-
*/
|
|
2754
|
+
created: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodDate, z.ZodNumber]>, z.ZodString]>, Date, string | number | Date>;
|
|
2734
2755
|
updated: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodDate, z.ZodNumber]>, z.ZodString]>, Date, string | number | Date>;
|
|
2735
2756
|
}, "strip", z.ZodTypeAny, {
|
|
2736
2757
|
id: string;
|
|
@@ -2752,8 +2773,8 @@ export declare const ZStockPosition: z.ZodObject<{
|
|
|
2752
2773
|
exchange: string;
|
|
2753
2774
|
};
|
|
2754
2775
|
};
|
|
2755
|
-
exchange: string;
|
|
2756
2776
|
isin: string;
|
|
2777
|
+
exchange: string;
|
|
2757
2778
|
bought_at: Date;
|
|
2758
2779
|
buy_in: number;
|
|
2759
2780
|
quantity: number;
|
|
@@ -2777,8 +2798,8 @@ export declare const ZStockPosition: z.ZodObject<{
|
|
|
2777
2798
|
exchange: string;
|
|
2778
2799
|
};
|
|
2779
2800
|
};
|
|
2780
|
-
exchange: string;
|
|
2781
2801
|
isin: string;
|
|
2802
|
+
exchange: string;
|
|
2782
2803
|
bought_at: (string | number | Date) & (string | number | Date | undefined);
|
|
2783
2804
|
buy_in: number;
|
|
2784
2805
|
quantity: number;
|
|
@@ -2800,9 +2821,7 @@ export declare const ZStockPositionWithQuote: z.ZodObject<{
|
|
|
2800
2821
|
collectionId: z.ZodString;
|
|
2801
2822
|
collectionName: z.ZodString;
|
|
2802
2823
|
id: z.ZodString;
|
|
2803
|
-
created: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodDate, z.ZodNumber]>, z.ZodString]>, Date, string | number | Date>;
|
|
2804
|
-
* Stock API Types
|
|
2805
|
-
*/
|
|
2824
|
+
created: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodDate, z.ZodNumber]>, z.ZodString]>, Date, string | number | Date>;
|
|
2806
2825
|
updated: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodDate, z.ZodNumber]>, z.ZodString]>, Date, string | number | Date>;
|
|
2807
2826
|
}, "strip", z.ZodTypeAny, {
|
|
2808
2827
|
symbol: string;
|
|
@@ -2862,25 +2881,23 @@ export declare const ZStockPositionWithQuote: z.ZodObject<{
|
|
|
2862
2881
|
currency: string;
|
|
2863
2882
|
date: Date;
|
|
2864
2883
|
datetime: Date;
|
|
2884
|
+
isin: string;
|
|
2865
2885
|
exchange: string;
|
|
2866
2886
|
price: number;
|
|
2867
|
-
isin: string;
|
|
2868
2887
|
cachedAt?: Date | undefined;
|
|
2869
2888
|
}, {
|
|
2870
2889
|
currency: string;
|
|
2871
2890
|
date: (string | number | Date) & (string | number | Date | undefined);
|
|
2872
2891
|
datetime: (string | number | Date) & (string | number | Date | undefined);
|
|
2892
|
+
isin: string;
|
|
2873
2893
|
exchange: string;
|
|
2874
2894
|
price: number;
|
|
2875
|
-
isin: string;
|
|
2876
2895
|
cachedAt?: string | number | Date | undefined;
|
|
2877
2896
|
}>;
|
|
2878
2897
|
collectionId: z.ZodString;
|
|
2879
2898
|
collectionName: z.ZodString;
|
|
2880
2899
|
id: z.ZodString;
|
|
2881
|
-
created: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodDate, z.ZodNumber]>, z.ZodString]>, Date, string | number | Date>;
|
|
2882
|
-
* Stock API Types
|
|
2883
|
-
*/
|
|
2900
|
+
created: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodDate, z.ZodNumber]>, z.ZodString]>, Date, string | number | Date>;
|
|
2884
2901
|
updated: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodDate, z.ZodNumber]>, z.ZodString]>, Date, string | number | Date>;
|
|
2885
2902
|
}, "strip", z.ZodTypeAny, {
|
|
2886
2903
|
id: string;
|
|
@@ -2903,17 +2920,17 @@ export declare const ZStockPositionWithQuote: z.ZodObject<{
|
|
|
2903
2920
|
exchange: string;
|
|
2904
2921
|
};
|
|
2905
2922
|
};
|
|
2906
|
-
|
|
2923
|
+
wkn: string;
|
|
2907
2924
|
isin: string;
|
|
2925
|
+
exchange: string;
|
|
2908
2926
|
logo: string;
|
|
2909
|
-
wkn: string;
|
|
2910
2927
|
quote: {
|
|
2911
2928
|
currency: string;
|
|
2912
2929
|
date: Date;
|
|
2913
2930
|
datetime: Date;
|
|
2931
|
+
isin: string;
|
|
2914
2932
|
exchange: string;
|
|
2915
2933
|
price: number;
|
|
2916
|
-
isin: string;
|
|
2917
2934
|
cachedAt?: Date | undefined;
|
|
2918
2935
|
};
|
|
2919
2936
|
bought_at: Date;
|
|
@@ -2941,17 +2958,17 @@ export declare const ZStockPositionWithQuote: z.ZodObject<{
|
|
|
2941
2958
|
exchange: string;
|
|
2942
2959
|
};
|
|
2943
2960
|
};
|
|
2944
|
-
|
|
2961
|
+
wkn: string;
|
|
2945
2962
|
isin: string;
|
|
2963
|
+
exchange: string;
|
|
2946
2964
|
logo: string;
|
|
2947
|
-
wkn: string;
|
|
2948
2965
|
quote: {
|
|
2949
2966
|
currency: string;
|
|
2950
2967
|
date: (string | number | Date) & (string | number | Date | undefined);
|
|
2951
2968
|
datetime: (string | number | Date) & (string | number | Date | undefined);
|
|
2969
|
+
isin: string;
|
|
2952
2970
|
exchange: string;
|
|
2953
2971
|
price: number;
|
|
2954
|
-
isin: string;
|
|
2955
2972
|
cachedAt?: string | number | Date | undefined;
|
|
2956
2973
|
};
|
|
2957
2974
|
bought_at: (string | number | Date) & (string | number | Date | undefined);
|
|
@@ -2971,16 +2988,16 @@ export declare const ZCreateStockPositionPayload: z.ZodObject<{
|
|
|
2971
2988
|
}, "strip", z.ZodTypeAny, {
|
|
2972
2989
|
currency: string;
|
|
2973
2990
|
owner: string;
|
|
2974
|
-
exchange: string;
|
|
2975
2991
|
isin: string;
|
|
2992
|
+
exchange: string;
|
|
2976
2993
|
bought_at: Date;
|
|
2977
2994
|
buy_in: number;
|
|
2978
2995
|
quantity: number;
|
|
2979
2996
|
}, {
|
|
2980
2997
|
currency: string;
|
|
2981
2998
|
owner: string;
|
|
2982
|
-
exchange: string;
|
|
2983
2999
|
isin: string;
|
|
3000
|
+
exchange: string;
|
|
2984
3001
|
bought_at: (string | number | Date) & (string | number | Date | undefined);
|
|
2985
3002
|
buy_in: number;
|
|
2986
3003
|
quantity: number;
|
|
@@ -2999,8 +3016,8 @@ export declare const ZUpdateStockPositionPayload: z.ZodObject<{
|
|
|
2999
3016
|
id: string;
|
|
3000
3017
|
currency: string;
|
|
3001
3018
|
owner: string;
|
|
3002
|
-
exchange: string;
|
|
3003
3019
|
isin: string;
|
|
3020
|
+
exchange: string;
|
|
3004
3021
|
bought_at: Date;
|
|
3005
3022
|
buy_in: number;
|
|
3006
3023
|
quantity: number;
|
|
@@ -3008,8 +3025,8 @@ export declare const ZUpdateStockPositionPayload: z.ZodObject<{
|
|
|
3008
3025
|
id: string;
|
|
3009
3026
|
currency: string;
|
|
3010
3027
|
owner: string;
|
|
3011
|
-
exchange: string;
|
|
3012
3028
|
isin: string;
|
|
3029
|
+
exchange: string;
|
|
3013
3030
|
bought_at: (string | number | Date) & (string | number | Date | undefined);
|
|
3014
3031
|
buy_in: number;
|
|
3015
3032
|
quantity: number;
|
|
@@ -3031,26 +3048,26 @@ export declare const ZRelatedStock: z.ZodObject<{
|
|
|
3031
3048
|
name: z.ZodString;
|
|
3032
3049
|
logo: z.ZodString;
|
|
3033
3050
|
security: z.ZodOptional<z.ZodObject<{
|
|
3034
|
-
website: z.ZodString
|
|
3035
|
-
type: z.ZodString
|
|
3051
|
+
website: z.ZodOptional<z.ZodString>;
|
|
3052
|
+
type: z.ZodUnion<[z.ZodEnum<["Aktie", "ETF", "Optionsschein"]>, z.ZodString]>;
|
|
3036
3053
|
wkn: z.ZodString;
|
|
3037
3054
|
isin: z.ZodString;
|
|
3038
|
-
etfDomicile: z.
|
|
3039
|
-
etfCompany: z.
|
|
3055
|
+
etfDomicile: z.ZodOptional<z.ZodString>;
|
|
3056
|
+
etfCompany: z.ZodOptional<z.ZodString>;
|
|
3040
3057
|
}, "strip", z.ZodTypeAny, {
|
|
3041
3058
|
type: string;
|
|
3042
|
-
isin: string;
|
|
3043
|
-
website: string;
|
|
3044
3059
|
wkn: string;
|
|
3045
|
-
|
|
3046
|
-
|
|
3060
|
+
isin: string;
|
|
3061
|
+
website?: string | undefined;
|
|
3062
|
+
etfDomicile?: string | undefined;
|
|
3063
|
+
etfCompany?: string | undefined;
|
|
3047
3064
|
}, {
|
|
3048
3065
|
type: string;
|
|
3049
|
-
isin: string;
|
|
3050
|
-
website: string;
|
|
3051
3066
|
wkn: string;
|
|
3052
|
-
|
|
3053
|
-
|
|
3067
|
+
isin: string;
|
|
3068
|
+
website?: string | undefined;
|
|
3069
|
+
etfDomicile?: string | undefined;
|
|
3070
|
+
etfCompany?: string | undefined;
|
|
3054
3071
|
}>>;
|
|
3055
3072
|
}, "strip", z.ZodTypeAny, {
|
|
3056
3073
|
name: string;
|
|
@@ -3062,11 +3079,11 @@ export declare const ZRelatedStock: z.ZodObject<{
|
|
|
3062
3079
|
logo: string;
|
|
3063
3080
|
security?: {
|
|
3064
3081
|
type: string;
|
|
3065
|
-
isin: string;
|
|
3066
|
-
website: string;
|
|
3067
3082
|
wkn: string;
|
|
3068
|
-
|
|
3069
|
-
|
|
3083
|
+
isin: string;
|
|
3084
|
+
website?: string | undefined;
|
|
3085
|
+
etfDomicile?: string | undefined;
|
|
3086
|
+
etfCompany?: string | undefined;
|
|
3070
3087
|
} | undefined;
|
|
3071
3088
|
}, {
|
|
3072
3089
|
name: string;
|
|
@@ -3078,11 +3095,11 @@ export declare const ZRelatedStock: z.ZodObject<{
|
|
|
3078
3095
|
logo: string;
|
|
3079
3096
|
security?: {
|
|
3080
3097
|
type: string;
|
|
3081
|
-
isin: string;
|
|
3082
|
-
website: string;
|
|
3083
3098
|
wkn: string;
|
|
3084
|
-
|
|
3085
|
-
|
|
3099
|
+
isin: string;
|
|
3100
|
+
website?: string | undefined;
|
|
3101
|
+
etfDomicile?: string | undefined;
|
|
3102
|
+
etfCompany?: string | undefined;
|
|
3086
3103
|
} | undefined;
|
|
3087
3104
|
}>;
|
|
3088
3105
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -3096,11 +3113,11 @@ export declare const ZRelatedStock: z.ZodObject<{
|
|
|
3096
3113
|
logo: string;
|
|
3097
3114
|
security?: {
|
|
3098
3115
|
type: string;
|
|
3099
|
-
isin: string;
|
|
3100
|
-
website: string;
|
|
3101
3116
|
wkn: string;
|
|
3102
|
-
|
|
3103
|
-
|
|
3117
|
+
isin: string;
|
|
3118
|
+
website?: string | undefined;
|
|
3119
|
+
etfDomicile?: string | undefined;
|
|
3120
|
+
etfCompany?: string | undefined;
|
|
3104
3121
|
} | undefined;
|
|
3105
3122
|
};
|
|
3106
3123
|
}, {
|
|
@@ -3114,11 +3131,11 @@ export declare const ZRelatedStock: z.ZodObject<{
|
|
|
3114
3131
|
logo: string;
|
|
3115
3132
|
security?: {
|
|
3116
3133
|
type: string;
|
|
3117
|
-
isin: string;
|
|
3118
|
-
website: string;
|
|
3119
3134
|
wkn: string;
|
|
3120
|
-
|
|
3121
|
-
|
|
3135
|
+
isin: string;
|
|
3136
|
+
website?: string | undefined;
|
|
3137
|
+
etfDomicile?: string | undefined;
|
|
3138
|
+
etfCompany?: string | undefined;
|
|
3122
3139
|
} | undefined;
|
|
3123
3140
|
};
|
|
3124
3141
|
}>;
|
|
@@ -3155,26 +3172,26 @@ export declare const ZRelatedStockWithQuotes: z.ZodObject<{
|
|
|
3155
3172
|
name: z.ZodString;
|
|
3156
3173
|
logo: z.ZodString;
|
|
3157
3174
|
security: z.ZodOptional<z.ZodObject<{
|
|
3158
|
-
website: z.ZodString
|
|
3159
|
-
type: z.ZodString
|
|
3175
|
+
website: z.ZodOptional<z.ZodString>;
|
|
3176
|
+
type: z.ZodUnion<[z.ZodEnum<["Aktie", "ETF", "Optionsschein"]>, z.ZodString]>;
|
|
3160
3177
|
wkn: z.ZodString;
|
|
3161
3178
|
isin: z.ZodString;
|
|
3162
|
-
etfDomicile: z.
|
|
3163
|
-
etfCompany: z.
|
|
3179
|
+
etfDomicile: z.ZodOptional<z.ZodString>;
|
|
3180
|
+
etfCompany: z.ZodOptional<z.ZodString>;
|
|
3164
3181
|
}, "strip", z.ZodTypeAny, {
|
|
3165
3182
|
type: string;
|
|
3166
|
-
isin: string;
|
|
3167
|
-
website: string;
|
|
3168
3183
|
wkn: string;
|
|
3169
|
-
|
|
3170
|
-
|
|
3184
|
+
isin: string;
|
|
3185
|
+
website?: string | undefined;
|
|
3186
|
+
etfDomicile?: string | undefined;
|
|
3187
|
+
etfCompany?: string | undefined;
|
|
3171
3188
|
}, {
|
|
3172
3189
|
type: string;
|
|
3173
|
-
isin: string;
|
|
3174
|
-
website: string;
|
|
3175
3190
|
wkn: string;
|
|
3176
|
-
|
|
3177
|
-
|
|
3191
|
+
isin: string;
|
|
3192
|
+
website?: string | undefined;
|
|
3193
|
+
etfDomicile?: string | undefined;
|
|
3194
|
+
etfCompany?: string | undefined;
|
|
3178
3195
|
}>>;
|
|
3179
3196
|
}, "strip", z.ZodTypeAny, {
|
|
3180
3197
|
name: string;
|
|
@@ -3186,11 +3203,11 @@ export declare const ZRelatedStockWithQuotes: z.ZodObject<{
|
|
|
3186
3203
|
logo: string;
|
|
3187
3204
|
security?: {
|
|
3188
3205
|
type: string;
|
|
3189
|
-
isin: string;
|
|
3190
|
-
website: string;
|
|
3191
3206
|
wkn: string;
|
|
3192
|
-
|
|
3193
|
-
|
|
3207
|
+
isin: string;
|
|
3208
|
+
website?: string | undefined;
|
|
3209
|
+
etfDomicile?: string | undefined;
|
|
3210
|
+
etfCompany?: string | undefined;
|
|
3194
3211
|
} | undefined;
|
|
3195
3212
|
}, {
|
|
3196
3213
|
name: string;
|
|
@@ -3202,11 +3219,11 @@ export declare const ZRelatedStockWithQuotes: z.ZodObject<{
|
|
|
3202
3219
|
logo: string;
|
|
3203
3220
|
security?: {
|
|
3204
3221
|
type: string;
|
|
3205
|
-
isin: string;
|
|
3206
|
-
website: string;
|
|
3207
3222
|
wkn: string;
|
|
3208
|
-
|
|
3209
|
-
|
|
3223
|
+
isin: string;
|
|
3224
|
+
website?: string | undefined;
|
|
3225
|
+
etfDomicile?: string | undefined;
|
|
3226
|
+
etfCompany?: string | undefined;
|
|
3210
3227
|
} | undefined;
|
|
3211
3228
|
}>;
|
|
3212
3229
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -3226,11 +3243,11 @@ export declare const ZRelatedStockWithQuotes: z.ZodObject<{
|
|
|
3226
3243
|
logo: string;
|
|
3227
3244
|
security?: {
|
|
3228
3245
|
type: string;
|
|
3229
|
-
isin: string;
|
|
3230
|
-
website: string;
|
|
3231
3246
|
wkn: string;
|
|
3232
|
-
|
|
3233
|
-
|
|
3247
|
+
isin: string;
|
|
3248
|
+
website?: string | undefined;
|
|
3249
|
+
etfDomicile?: string | undefined;
|
|
3250
|
+
etfCompany?: string | undefined;
|
|
3234
3251
|
} | undefined;
|
|
3235
3252
|
};
|
|
3236
3253
|
}, {
|
|
@@ -3250,11 +3267,11 @@ export declare const ZRelatedStockWithQuotes: z.ZodObject<{
|
|
|
3250
3267
|
logo: string;
|
|
3251
3268
|
security?: {
|
|
3252
3269
|
type: string;
|
|
3253
|
-
isin: string;
|
|
3254
|
-
website: string;
|
|
3255
3270
|
wkn: string;
|
|
3256
|
-
|
|
3257
|
-
|
|
3271
|
+
isin: string;
|
|
3272
|
+
website?: string | undefined;
|
|
3273
|
+
etfDomicile?: string | undefined;
|
|
3274
|
+
etfCompany?: string | undefined;
|
|
3258
3275
|
} | undefined;
|
|
3259
3276
|
};
|
|
3260
3277
|
}>;
|
|
@@ -3266,9 +3283,7 @@ export declare const ZAssetWatchlist: z.ZodObject<{
|
|
|
3266
3283
|
collectionId: z.ZodString;
|
|
3267
3284
|
collectionName: z.ZodString;
|
|
3268
3285
|
id: z.ZodString;
|
|
3269
|
-
created: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodDate, z.ZodNumber]>, z.ZodString]>, Date, string | number | Date>;
|
|
3270
|
-
* Stock API Types
|
|
3271
|
-
*/
|
|
3286
|
+
created: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodDate, z.ZodNumber]>, z.ZodString]>, Date, string | number | Date>;
|
|
3272
3287
|
updated: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodDate, z.ZodNumber]>, z.ZodString]>, Date, string | number | Date>;
|
|
3273
3288
|
}, "strip", z.ZodTypeAny, {
|
|
3274
3289
|
id: string;
|
|
@@ -3277,8 +3292,8 @@ export declare const ZAssetWatchlist: z.ZodObject<{
|
|
|
3277
3292
|
created: Date;
|
|
3278
3293
|
updated: Date;
|
|
3279
3294
|
owner: string;
|
|
3280
|
-
exchange: string;
|
|
3281
3295
|
isin: string;
|
|
3296
|
+
exchange: string;
|
|
3282
3297
|
}, {
|
|
3283
3298
|
id: string;
|
|
3284
3299
|
collectionId: string;
|
|
@@ -3286,8 +3301,8 @@ export declare const ZAssetWatchlist: z.ZodObject<{
|
|
|
3286
3301
|
created: (string | number | Date) & (string | number | Date | undefined);
|
|
3287
3302
|
updated: (string | number | Date) & (string | number | Date | undefined);
|
|
3288
3303
|
owner: string;
|
|
3289
|
-
exchange: string;
|
|
3290
3304
|
isin: string;
|
|
3305
|
+
exchange: string;
|
|
3291
3306
|
}>;
|
|
3292
3307
|
export type TAssetWatchlist = z.infer<typeof ZAssetWatchlist>;
|
|
3293
3308
|
export declare const ZAssetWatchlistWithQuote: z.ZodObject<{
|
|
@@ -3311,9 +3326,7 @@ export declare const ZAssetWatchlistWithQuote: z.ZodObject<{
|
|
|
3311
3326
|
collectionId: z.ZodString;
|
|
3312
3327
|
collectionName: z.ZodString;
|
|
3313
3328
|
id: z.ZodString;
|
|
3314
|
-
created: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodDate, z.ZodNumber]>, z.ZodString]>, Date, string | number | Date>;
|
|
3315
|
-
* Stock API Types
|
|
3316
|
-
*/
|
|
3329
|
+
created: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodDate, z.ZodNumber]>, z.ZodString]>, Date, string | number | Date>;
|
|
3317
3330
|
updated: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodDate, z.ZodNumber]>, z.ZodString]>, Date, string | number | Date>;
|
|
3318
3331
|
}, "strip", z.ZodTypeAny, {
|
|
3319
3332
|
id: string;
|
|
@@ -3353,9 +3366,7 @@ export declare const ZAssetWatchlistWithQuote: z.ZodObject<{
|
|
|
3353
3366
|
collectionId: z.ZodString;
|
|
3354
3367
|
collectionName: z.ZodString;
|
|
3355
3368
|
id: z.ZodString;
|
|
3356
|
-
created: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodDate, z.ZodNumber]>, z.ZodString]>, Date, string | number | Date>;
|
|
3357
|
-
* Stock API Types
|
|
3358
|
-
*/
|
|
3369
|
+
created: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodDate, z.ZodNumber]>, z.ZodString]>, Date, string | number | Date>;
|
|
3359
3370
|
updated: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodDate, z.ZodNumber]>, z.ZodString]>, Date, string | number | Date>;
|
|
3360
3371
|
}, "strip", z.ZodTypeAny, {
|
|
3361
3372
|
symbol: string;
|
|
@@ -3443,25 +3454,23 @@ export declare const ZAssetWatchlistWithQuote: z.ZodObject<{
|
|
|
3443
3454
|
currency: string;
|
|
3444
3455
|
date: Date;
|
|
3445
3456
|
datetime: Date;
|
|
3457
|
+
isin: string;
|
|
3446
3458
|
exchange: string;
|
|
3447
3459
|
price: number;
|
|
3448
|
-
isin: string;
|
|
3449
3460
|
cachedAt?: Date | undefined;
|
|
3450
3461
|
}, {
|
|
3451
3462
|
currency: string;
|
|
3452
3463
|
date: (string | number | Date) & (string | number | Date | undefined);
|
|
3453
3464
|
datetime: (string | number | Date) & (string | number | Date | undefined);
|
|
3465
|
+
isin: string;
|
|
3454
3466
|
exchange: string;
|
|
3455
3467
|
price: number;
|
|
3456
|
-
isin: string;
|
|
3457
3468
|
cachedAt?: string | number | Date | undefined;
|
|
3458
3469
|
}>;
|
|
3459
3470
|
collectionId: z.ZodString;
|
|
3460
3471
|
collectionName: z.ZodString;
|
|
3461
3472
|
id: z.ZodString;
|
|
3462
|
-
created: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodDate, z.ZodNumber]>, z.ZodString]>, Date, string | number | Date>;
|
|
3463
|
-
* Stock API Types
|
|
3464
|
-
*/
|
|
3473
|
+
created: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodDate, z.ZodNumber]>, z.ZodString]>, Date, string | number | Date>;
|
|
3465
3474
|
updated: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodDate, z.ZodNumber]>, z.ZodString]>, Date, string | number | Date>;
|
|
3466
3475
|
}, "strip", z.ZodTypeAny, {
|
|
3467
3476
|
id: string;
|
|
@@ -3499,17 +3508,17 @@ export declare const ZAssetWatchlistWithQuote: z.ZodObject<{
|
|
|
3499
3508
|
exchange: string;
|
|
3500
3509
|
};
|
|
3501
3510
|
};
|
|
3502
|
-
|
|
3511
|
+
wkn: string;
|
|
3503
3512
|
isin: string;
|
|
3513
|
+
exchange: string;
|
|
3504
3514
|
logo: string;
|
|
3505
|
-
wkn: string;
|
|
3506
3515
|
quote: {
|
|
3507
3516
|
currency: string;
|
|
3508
3517
|
date: Date;
|
|
3509
3518
|
datetime: Date;
|
|
3519
|
+
isin: string;
|
|
3510
3520
|
exchange: string;
|
|
3511
3521
|
price: number;
|
|
3512
|
-
isin: string;
|
|
3513
3522
|
cachedAt?: Date | undefined;
|
|
3514
3523
|
};
|
|
3515
3524
|
}, {
|
|
@@ -3548,17 +3557,17 @@ export declare const ZAssetWatchlistWithQuote: z.ZodObject<{
|
|
|
3548
3557
|
exchange: string;
|
|
3549
3558
|
};
|
|
3550
3559
|
};
|
|
3551
|
-
|
|
3560
|
+
wkn: string;
|
|
3552
3561
|
isin: string;
|
|
3562
|
+
exchange: string;
|
|
3553
3563
|
logo: string;
|
|
3554
|
-
wkn: string;
|
|
3555
3564
|
quote: {
|
|
3556
3565
|
currency: string;
|
|
3557
3566
|
date: (string | number | Date) & (string | number | Date | undefined);
|
|
3558
3567
|
datetime: (string | number | Date) & (string | number | Date | undefined);
|
|
3568
|
+
isin: string;
|
|
3559
3569
|
exchange: string;
|
|
3560
3570
|
price: number;
|
|
3561
|
-
isin: string;
|
|
3562
3571
|
cachedAt?: string | number | Date | undefined;
|
|
3563
3572
|
};
|
|
3564
3573
|
}>;
|
|
@@ -3569,12 +3578,12 @@ export declare const ZAddWatchlistAssetPayload: z.ZodObject<{
|
|
|
3569
3578
|
exchange: z.ZodString;
|
|
3570
3579
|
}, "strip", z.ZodTypeAny, {
|
|
3571
3580
|
owner: string;
|
|
3572
|
-
exchange: string;
|
|
3573
3581
|
isin: string;
|
|
3582
|
+
exchange: string;
|
|
3574
3583
|
}, {
|
|
3575
3584
|
owner: string;
|
|
3576
|
-
exchange: string;
|
|
3577
3585
|
isin: string;
|
|
3586
|
+
exchange: string;
|
|
3578
3587
|
}>;
|
|
3579
3588
|
export type TAddWatchlistAssetPayload = z.infer<typeof ZAddWatchlistAssetPayload>;
|
|
3580
3589
|
export declare const ZDeleteWatchlistAssetPayload: z.ZodObject<{
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ZDeleteWatchlistAssetPayload = exports.ZAddWatchlistAssetPayload = exports.ZAssetWatchlistWithQuote = exports.ZAssetWatchlist = exports.ZRelatedStockWithQuotes = exports.ZRelatedStock = exports.ZUpdateStockPositionPayload = exports.ZCreateStockPositionPayload = exports.ZStockPositionWithQuote = exports.ZStockPosition = exports.ZStockExchange = exports.ZAssetDetails = exports.ZDividendDetailList = exports.ZDividendDetails = exports.ZPayoutInterval = exports.ZDividend = exports.ZAssetChartQuote = exports.ZAssetSearchResult = exports.ZAsset = exports.ZStockQuote = exports.ZStockType = exports.ZTimeframe = exports.ZCurrency = exports.ZWKN = exports.ZIsin = void 0;
|
|
3
|
+
exports.ZDeleteWatchlistAssetPayload = exports.ZAddWatchlistAssetPayload = exports.ZAssetWatchlistWithQuote = exports.ZAssetWatchlist = exports.ZRelatedStockWithQuotes = exports.ZRelatedStock = exports.ZUpdateStockPositionPayload = exports.ZCreateStockPositionPayload = exports.ZStockPositionWithQuote = exports.ZStockPosition = exports.ZStockExchange = exports.ZAssetDetails = exports.ZDividendDetailList = exports.ZDividendDetails = exports.ZPayoutInterval = exports.ZDividend = exports.ZAssetChartQuote = exports.ZAssetSearchResult = exports.ZAsset = exports.ZStockQuote = exports.ZSecurity = exports.ZStockType = exports.ZTimeframe = exports.ZCurrency = exports.ZWKN = exports.ZIsin = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
5
|
const PocketBase_types_1 = require("../PocketBase.types");
|
|
6
6
|
const Base_type_1 = require("../Base.type");
|
|
@@ -9,7 +9,15 @@ exports.ZIsin = zod_1.z.string().max(12, { message: 'ISIN can only be 12 charact
|
|
|
9
9
|
exports.ZWKN = zod_1.z.string().max(6, { message: 'WKN can only be 6 characters long' });
|
|
10
10
|
exports.ZCurrency = zod_1.z.string().max(3, { message: 'Currency must be 3 characters long' });
|
|
11
11
|
exports.ZTimeframe = zod_1.z.enum(['1d', '1m', '3m', '1y', '5y', 'ytd']);
|
|
12
|
-
exports.ZStockType = zod_1.z.enum(['Aktie', 'ETF']).or(zod_1.z.string());
|
|
12
|
+
exports.ZStockType = zod_1.z.enum(['Aktie', 'ETF', 'Optionsschein']).or(zod_1.z.string());
|
|
13
|
+
exports.ZSecurity = zod_1.z.object({
|
|
14
|
+
website: zod_1.z.string().url().optional(),
|
|
15
|
+
type: exports.ZStockType,
|
|
16
|
+
wkn: exports.ZWKN,
|
|
17
|
+
isin: exports.ZIsin,
|
|
18
|
+
etfDomicile: zod_1.z.string().optional(),
|
|
19
|
+
etfCompany: zod_1.z.string().optional(),
|
|
20
|
+
});
|
|
13
21
|
/**
|
|
14
22
|
* Stock API Types
|
|
15
23
|
*/
|
|
@@ -30,14 +38,7 @@ exports.ZAsset = zod_1.z.object({
|
|
|
30
38
|
assetType: zod_1.z.string(),
|
|
31
39
|
name: zod_1.z.string(),
|
|
32
40
|
logo: zod_1.z.string().url(),
|
|
33
|
-
security:
|
|
34
|
-
website: zod_1.z.string().url(),
|
|
35
|
-
type: zod_1.z.string(),
|
|
36
|
-
wkn: zod_1.z.string(),
|
|
37
|
-
isin: zod_1.z.string(),
|
|
38
|
-
etfDomicile: zod_1.z.string(),
|
|
39
|
-
etfCompany: zod_1.z.string(),
|
|
40
|
-
}),
|
|
41
|
+
security: exports.ZStockQuote,
|
|
41
42
|
});
|
|
42
43
|
exports.ZAssetSearchResult = zod_1.z.object({
|
|
43
44
|
type: exports.ZStockType,
|
|
@@ -101,14 +102,7 @@ exports.ZDividendDetails = zod_1.z.object({
|
|
|
101
102
|
assetType: zod_1.z.string(),
|
|
102
103
|
name: zod_1.z.string(),
|
|
103
104
|
logo: zod_1.z.string().url(),
|
|
104
|
-
security:
|
|
105
|
-
website: zod_1.z.string().url(),
|
|
106
|
-
type: zod_1.z.string(),
|
|
107
|
-
wkn: exports.ZWKN,
|
|
108
|
-
isin: exports.ZIsin,
|
|
109
|
-
etfDomicile: zod_1.z.string().optional(),
|
|
110
|
-
etfCompany: zod_1.z.string().optional(),
|
|
111
|
-
}),
|
|
105
|
+
security: exports.ZSecurity,
|
|
112
106
|
}),
|
|
113
107
|
historyDividends: zod_1.z.array(exports.ZDividend).nullable().default([]),
|
|
114
108
|
futureDividends: zod_1.z.array(exports.ZDividend).nullable().default([]),
|
|
@@ -153,14 +147,14 @@ exports.ZAssetDetails = zod_1.z.object({
|
|
|
153
147
|
share: zod_1.z.number(),
|
|
154
148
|
id: zod_1.z.string(),
|
|
155
149
|
})),
|
|
156
|
-
isin:
|
|
150
|
+
isin: exports.ZIsin,
|
|
157
151
|
symbols: zod_1.z.array(zod_1.z.object({
|
|
158
152
|
exchange: zod_1.z.string(),
|
|
159
153
|
symbol: zod_1.z.string(),
|
|
160
154
|
})),
|
|
161
155
|
website: zod_1.z.string().url(),
|
|
162
|
-
wkn:
|
|
163
|
-
type:
|
|
156
|
+
wkn: exports.ZWKN,
|
|
157
|
+
type: exports.ZStockType,
|
|
164
158
|
ipoDate: Base_type_1.ZDate,
|
|
165
159
|
etfDomicile: zod_1.z.string().optional(),
|
|
166
160
|
etfCompany: zod_1.z.string().optional(),
|
|
@@ -247,14 +241,7 @@ exports.ZAssetDetails = zod_1.z.object({
|
|
|
247
241
|
assetType: zod_1.z.string(),
|
|
248
242
|
name: zod_1.z.string(),
|
|
249
243
|
logo: zod_1.z.string(),
|
|
250
|
-
security:
|
|
251
|
-
website: zod_1.z.string(),
|
|
252
|
-
type: zod_1.z.string(),
|
|
253
|
-
wkn: zod_1.z.string(),
|
|
254
|
-
isin: zod_1.z.string(),
|
|
255
|
-
etfDomicile: zod_1.z.string().optional(),
|
|
256
|
-
etfCompany: zod_1.z.string().optional(),
|
|
257
|
-
}),
|
|
244
|
+
security: exports.ZSecurity,
|
|
258
245
|
}),
|
|
259
246
|
})),
|
|
260
247
|
})
|
|
@@ -352,7 +339,7 @@ exports.ZStockPositionWithQuote = zod_1.z.object({
|
|
|
352
339
|
owner: PocketBase_types_1.ZId,
|
|
353
340
|
exchange: PocketBase_types_1.ZId,
|
|
354
341
|
bought_at: Base_type_1.ZDate,
|
|
355
|
-
isin:
|
|
342
|
+
isin: exports.ZIsin,
|
|
356
343
|
buy_in: zod_1.z.number(),
|
|
357
344
|
currency: exports.ZCurrency,
|
|
358
345
|
quantity: zod_1.z.number(),
|
|
@@ -370,7 +357,7 @@ exports.ZCreateStockPositionPayload = zod_1.z.object({
|
|
|
370
357
|
owner: PocketBase_types_1.ZId,
|
|
371
358
|
exchange: PocketBase_types_1.ZId,
|
|
372
359
|
bought_at: Base_type_1.ZDate,
|
|
373
|
-
isin:
|
|
360
|
+
isin: exports.ZIsin,
|
|
374
361
|
buy_in: zod_1.z.number(),
|
|
375
362
|
currency: exports.ZCurrency,
|
|
376
363
|
quantity: zod_1.z.number(),
|
|
@@ -380,7 +367,7 @@ exports.ZUpdateStockPositionPayload = zod_1.z.object({
|
|
|
380
367
|
owner: PocketBase_types_1.ZId,
|
|
381
368
|
exchange: PocketBase_types_1.ZId,
|
|
382
369
|
bought_at: Base_type_1.ZDate,
|
|
383
|
-
isin:
|
|
370
|
+
isin: exports.ZIsin,
|
|
384
371
|
buy_in: zod_1.z.number(),
|
|
385
372
|
currency: exports.ZCurrency,
|
|
386
373
|
quantity: zod_1.z.number(),
|
|
@@ -394,16 +381,7 @@ exports.ZRelatedStock = zod_1.z.object({
|
|
|
394
381
|
assetType: zod_1.z.string(),
|
|
395
382
|
name: zod_1.z.string(),
|
|
396
383
|
logo: zod_1.z.string().url(),
|
|
397
|
-
security:
|
|
398
|
-
.object({
|
|
399
|
-
website: zod_1.z.string().url(),
|
|
400
|
-
type: zod_1.z.string(),
|
|
401
|
-
wkn: exports.ZWKN,
|
|
402
|
-
isin: exports.ZIsin,
|
|
403
|
-
etfDomicile: zod_1.z.string().nullable().default(null),
|
|
404
|
-
etfCompany: zod_1.z.string().nullable().default(null),
|
|
405
|
-
})
|
|
406
|
-
.optional(),
|
|
384
|
+
security: exports.ZSecurity.optional(),
|
|
407
385
|
}),
|
|
408
386
|
});
|
|
409
387
|
exports.ZRelatedStockWithQuotes = zod_1.z.object({
|