Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@orbis-systems/orbis-api-client

Package Overview
Dependencies
Maintainers
3
Versions
91
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@orbis-systems/orbis-api-client - npm Package Compare versions

Comparing version 2.1.6 to 2.1.7

2

dist/lib/categories/Advisory.js

@@ -1,1 +0,1 @@

"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var _createClass=function(){function a(a,b){for(var c,d=0;d<b.length;d++)c=b[d],c.enumerable=c.enumerable||!1,c.configurable=!0,"value"in c&&(c.writable=!0),Object.defineProperty(a,c.key,c)}return function(b,c,d){return c&&a(b.prototype,c),d&&a(b,d),b}}(),_APICategory2=require("./APICategory"),_APICategory3=_interopRequireDefault(_APICategory2);function _interopRequireDefault(a){return a&&a.__esModule?a:{default:a}}function _classCallCheck(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}function _possibleConstructorReturn(a,b){if(!a)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return b&&("object"==typeof b||"function"==typeof b)?b:a}function _inherits(a,b){if("function"!=typeof b&&null!==b)throw new TypeError("Super expression must either be null or a function, not "+typeof b);a.prototype=Object.create(b&&b.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),b&&(Object.setPrototypeOf?Object.setPrototypeOf(a,b):a.__proto__=b)}var Advisory=function(a){function b(){return _classCallCheck(this,b),_possibleConstructorReturn(this,(b.__proto__||Object.getPrototypeOf(b)).apply(this,arguments))}return _inherits(b,a),_createClass(b,[{key:"allocations",value:function(a){return this.client.get("v2/advisory/allocations/"+a)}},{key:"allocationSearch",value:function(){return this.client.get("v2/advisory/allocations/search")}},{key:"allocationCancel",value:function(a){return this.client.post("v2/advisory/allocations/cancel",a)}},{key:"models",value:function(){return this.client.get("v2/advisory/models")}},{key:"modelAccounts",value:function(a){return this.client.get("v2/advisory/model/accounts/"+a)}},{key:"modelRTB",value:function(a){return this.client.get("v2/advisory/model/rtb/"+a)}},{key:"modelRTBs",value:function(a){return this.client.get("v2/advisory/model/rtbs/"+a)}},{key:"modelPortfolios",value:function(a,b,c){return this.client.get("v2/advisory/model/portfolios/"+a,{loadQuotes:b,combined:c})}},{key:"modelBalance",value:function(a,b){return this.client.get("v2/advisory/model/balance/"+b+"/"+a)}},{key:"modelAdjustments",value:function(a){return this.client.get("v2/advisory/model/adjustments/"+a)}},{key:"modelCreate",value:function(a){return this.client.post("v2/advisory/model/create",a)}},{key:"modelUpdate",value:function(a){return this.client.post("v2/advisory/model/component/update",a)}},{key:"modelAccountLink",value:function(a){return this.client.post("v2/advisory/model/account/link",a)}},{key:"modelAccountUnlink",value:function(a){return this.client.post("v2/advisory/model/account/unlink",a)}},{key:"modelOrdersAllocate",value:function(a){return this.client.post("v2/advisory/model/orders/allocate",a)}},{key:"placeEquityOrder",value:function(a){return this.client.post("orders/v2/advisory/equity/place",a)}},{key:"chargeSearch",value:function(a){return this.client.get("v2/charges/search",a)}},{key:"applyCharge",value:function(a){return this.client.post("v2/charges/apply",a)}},{key:"cancelCharge",value:function(a){return this.client.post("v2/charges/cancel",a)}},{key:"equityPositionForModel",value:function(a,b){return this.client.get("v2/advisory/model/position/equity/"+a,{symbol:b})}},{key:"optionPositionForModel",value:function(a,b){return this.client.get("v2/advisory/model/position/option/"+a,{symbol:b})}}]),b}(_APICategory3.default);exports.default=Advisory;
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var _createClass=function(){function a(a,b){for(var c,d=0;d<b.length;d++)c=b[d],c.enumerable=c.enumerable||!1,c.configurable=!0,"value"in c&&(c.writable=!0),Object.defineProperty(a,c.key,c)}return function(b,c,d){return c&&a(b.prototype,c),d&&a(b,d),b}}(),_APICategory2=require("./APICategory"),_APICategory3=_interopRequireDefault(_APICategory2);function _interopRequireDefault(a){return a&&a.__esModule?a:{default:a}}function _classCallCheck(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}function _possibleConstructorReturn(a,b){if(!a)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return b&&("object"==typeof b||"function"==typeof b)?b:a}function _inherits(a,b){if("function"!=typeof b&&null!==b)throw new TypeError("Super expression must either be null or a function, not "+typeof b);a.prototype=Object.create(b&&b.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),b&&(Object.setPrototypeOf?Object.setPrototypeOf(a,b):a.__proto__=b)}var Advisory=function(a){function b(){return _classCallCheck(this,b),_possibleConstructorReturn(this,(b.__proto__||Object.getPrototypeOf(b)).apply(this,arguments))}return _inherits(b,a),_createClass(b,[{key:"allocations",value:function(a){return this.client.get("v2/advisory/allocations/"+a)}},{key:"allocationSearch",value:function(){return this.client.get("v2/advisory/allocations/search")}},{key:"allocationCancel",value:function(a){return this.client.post("v2/advisory/allocations/cancel",a)}},{key:"models",value:function(){return this.client.get("v2/advisory/models")}},{key:"modelAccounts",value:function(a){return this.client.get("v2/advisory/model/accounts/"+a)}},{key:"modelRTB",value:function(a){return this.client.get("v2/advisory/model/rtb/"+a)}},{key:"modelRTBs",value:function(a){return this.client.get("v2/advisory/model/rtbs/"+a)}},{key:"modelPortfolios",value:function(a,b,c){return this.client.get("v2/advisory/model/portfolios/"+a,{loadQuotes:b,combined:c})}},{key:"modelBalance",value:function(a,b){return this.client.get("v2/advisory/model/balance/"+b+"/"+a)}},{key:"modelAdjustments",value:function(a){return this.client.get("v2/advisory/model/adjustments/"+a)}},{key:"modelCreate",value:function(a){return this.client.post("v2/advisory/model/create",a)}},{key:"modelUpdate",value:function(a){return this.client.post("v2/advisory/model/update",a)}},{key:"modelDelete",value:function(a){return this.client.post("v2/advisory/model/delete",{id:a})}},{key:"modelAccountLink",value:function(a){return this.client.post("v2/advisory/model/account/link",a)}},{key:"modelAccountUnlink",value:function(a){return this.client.post("v2/advisory/model/account/unlink",a)}},{key:"modelOrdersAllocate",value:function(a){return this.client.post("v2/advisory/model/orders/allocate",a)}},{key:"placeEquityOrder",value:function(a){return this.client.post("orders/v2/advisory/equity/place",a)}},{key:"chargeSearch",value:function(a){return this.client.get("v2/charges/search",a)}},{key:"applyCharge",value:function(a){return this.client.post("v2/charges/apply",a)}},{key:"cancelCharge",value:function(a){return this.client.post("v2/charges/cancel",a)}},{key:"equityPositionForModel",value:function(a,b){return this.client.get("v2/advisory/model/position/equity/"+a,{symbol:b})}},{key:"optionPositionForModel",value:function(a,b){return this.client.get("v2/advisory/model/position/option/"+a,{symbol:b})}}]),b}(_APICategory3.default);exports.default=Advisory;
{
"name": "@orbis-systems/orbis-api-client",
"version": "2.1.6",
"version": "2.1.7",
"description": "",

@@ -5,0 +5,0 @@ "main": "dist/lib/index.js",

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc