parser-de-notas-de-corretagem 0.5.0 → 0.5.1
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/notes-parser.d.ts +9 -3
- package/notes-parser.js +1 -1
- package/notes-parser.js.map +1 -1
- package/package.json +1 -1
package/notes-parser.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { AssetCrawler, AssetVerbosity } from "./asset-crawler";
|
|
1
2
|
import { CashDividendShortVersion, StockDividendShortVersion } from './types/corporative-events';
|
|
2
3
|
/** Deal made in a `NegotiationNote` type */
|
|
3
4
|
export interface Deal {
|
|
@@ -64,17 +65,22 @@ export declare class UnknownAsset extends Error {
|
|
|
64
65
|
}
|
|
65
66
|
/** Brokerage notes parser */
|
|
66
67
|
export declare class NoteParser {
|
|
67
|
-
/**
|
|
68
|
-
|
|
68
|
+
/** Info about the assets */
|
|
69
|
+
assetCrawler: AssetCrawler;
|
|
69
70
|
/** The date format used. Default is `dd/MM/yyyy` */
|
|
70
71
|
private dateFormat;
|
|
72
|
+
/** Set the verbosity level. Actually it's the same as the crawler */
|
|
73
|
+
private _verbosity;
|
|
74
|
+
/** Set the verbosity level */
|
|
75
|
+
set verbosity(v: AssetVerbosity);
|
|
76
|
+
get verbosity(): AssetVerbosity;
|
|
71
77
|
/**
|
|
72
78
|
* Instantiate a new `NoteParser`
|
|
73
79
|
* @param autoUpdateLookUpList whether the application should auto-update
|
|
74
80
|
* the list of assets for new changes every week. Default is `false`. Require internet connection.
|
|
75
81
|
* Updating this package to the latest version also gets the latest infos
|
|
76
82
|
*/
|
|
77
|
-
constructor(autoUpdateLookUpList?: boolean);
|
|
83
|
+
constructor(autoUpdateLookUpList?: boolean, verbosity?: AssetVerbosity);
|
|
78
84
|
/**
|
|
79
85
|
* Set the date format
|
|
80
86
|
* @param format a `DateFormat`
|