@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
- * The schemas which can be used to represent position summary objects.
12
+ * Schema used to represent availability of a brokerage report.
13
13
  *
14
14
  * @public
15
15
  * @extends {Enum}
16
16
  */
17
- class PositionSummaryDefinitionSchema extends Enum {
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 {PositionSummaryDefinitionSchema}
39
+ * @returns {BrokerageReportAvailabilitySchema}
40
40
  */
41
41
  static get COMPLETE() {
42
42
  return complete;
43
43
  }
44
44
 
45
45
  toString() {
46
- return '[PositionSummaryDefinitionSchema]';
46
+ return '[BrokerageReportAvailabilitySchema]';
47
47
  }
48
48
  }
49
49
 
50
- const complete = new PositionSummaryDefinitionSchema(SchemaBuilder.withName('complete')
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 PositionSummaryDefinitionSchema;
57
+ return BrokerageReportAvailabilitySchema;
58
58
  })();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@barchart/portfolio-api-common",
3
- "version": "1.2.96",
3
+ "version": "1.2.97",
4
4
  "description": "Common classes used by the Portfolio system",
5
5
  "author": {
6
6
  "name": "Bryan Ingle",