@barchart/portfolio-client-js 1.2.36 → 1.2.37

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.
@@ -282,7 +282,7 @@ module.exports = function () {
282
282
  }).withRequestInterceptor(requestInterceptorToUse).withResponseInterceptor(ResponseInterceptor.DATA).withErrorInterceptor(ErrorInterceptor.GENERAL).endpoint;
283
283
 
284
284
  _this._readBrokerageReportAvailabilityEndpoint = EndpointBuilder.for('read-brokerage-report-availability', 'read brokerage report availability').withVerb(VerbType.GET).withProtocol(protocolType).withHost(host).withPort(port).withPathBuilder(function (pb) {
285
- pb.withLiteralParameter('portfolios', 'portfolios').withVariableParameter('portfolio', 'portfolio', 'portfolio', false).withLiteralParameter('summaries', 'summaries').withLiteralParameter('ranges', 'ranges');
285
+ pb.withLiteralParameter('reports', 'reports').withLiteralParameter('portfolios', 'portfolios').withVariableParameter('portfolio', 'portfolio', 'portfolio', false).withLiteralParameter('availability', 'availability');
286
286
  }).withQueryBuilder(function (qb) {
287
287
  qb.withVariableParameter('frames', 'frames', 'frames', true, function (frames) {
288
288
  return frames.map(function (f) {
@@ -1554,7 +1554,7 @@ module.exports = function () {
1554
1554
  return {
1555
1555
  JwtGateway: JwtGateway,
1556
1556
  PortfolioGateway: PortfolioGateway,
1557
- version: '1.2.36'
1557
+ version: '1.2.37'
1558
1558
  };
1559
1559
  }();
1560
1560
 
@@ -334,10 +334,10 @@ module.exports = (() => {
334
334
  .withHost(host)
335
335
  .withPort(port)
336
336
  .withPathBuilder((pb) => {
337
- pb.withLiteralParameter('portfolios', 'portfolios')
338
- .withVariableParameter('portfolio', 'portfolio', 'portfolio', false)
339
- .withLiteralParameter('summaries', 'summaries')
340
- .withLiteralParameter('ranges', 'ranges');
337
+ pb.withLiteralParameter('reports', 'reports')
338
+ .withLiteralParameter('portfolios', 'portfolios')
339
+ .withVariableParameter('portfolio', 'portfolio', 'portfolio', false)
340
+ .withLiteralParameter('availability', 'availability');
341
341
  })
342
342
  .withQueryBuilder((qb) => {
343
343
  qb.withVariableParameter('frames', 'frames', 'frames', true, frames => frames.map(f => f.code).join());
package/lib/index.js CHANGED
@@ -7,6 +7,6 @@ module.exports = (() => {
7
7
  return {
8
8
  JwtGateway: JwtGateway,
9
9
  PortfolioGateway: PortfolioGateway,
10
- version: '1.2.36'
10
+ version: '1.2.37'
11
11
  };
12
12
  })();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@barchart/portfolio-client-js",
3
- "version": "1.2.36",
3
+ "version": "1.2.37",
4
4
  "description": "JavaScript library for interfacing with Barchart's Portfolio API",
5
5
  "author": {
6
6
  "name": "Bryan Ingle",