@barchart/portfolio-api-common 1.2.96 → 1.2.97
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.
|
@@ -9,12 +9,12 @@ module.exports = (() => {
|
|
|
9
9
|
'use strict';
|
|
10
10
|
|
|
11
11
|
/**
|
|
12
|
-
*
|
|
12
|
+
* Schema used to represent availability of a brokerage report.
|
|
13
13
|
*
|
|
14
14
|
* @public
|
|
15
15
|
* @extends {Enum}
|
|
16
16
|
*/
|
|
17
|
-
class
|
|
17
|
+
class BrokerageReportAvailabilitySchema extends Enum {
|
|
18
18
|
constructor(schema) {
|
|
19
19
|
super(schema.name, schema.name);
|
|
20
20
|
|
|
@@ -36,23 +36,23 @@ module.exports = (() => {
|
|
|
36
36
|
*
|
|
37
37
|
* @static
|
|
38
38
|
* @public
|
|
39
|
-
* @returns {
|
|
39
|
+
* @returns {BrokerageReportAvailabilitySchema}
|
|
40
40
|
*/
|
|
41
41
|
static get COMPLETE() {
|
|
42
42
|
return complete;
|
|
43
43
|
}
|
|
44
44
|
|
|
45
45
|
toString() {
|
|
46
|
-
return '[
|
|
46
|
+
return '[BrokerageReportAvailabilitySchema]';
|
|
47
47
|
}
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
-
const complete = new
|
|
50
|
+
const complete = new BrokerageReportAvailabilitySchema(SchemaBuilder.withName('complete')
|
|
51
51
|
.withField('start', DataType.DAY)
|
|
52
52
|
.withField('end', DataType.DAY)
|
|
53
53
|
.withField('frame', DataType.forEnum(PositionSummaryFrame, 'PositionSummaryFrame'))
|
|
54
54
|
.schema
|
|
55
55
|
);
|
|
56
56
|
|
|
57
|
-
return
|
|
57
|
+
return BrokerageReportAvailabilitySchema;
|
|
58
58
|
})();
|