@orbis-systems/orbis-api-client
Advanced tools
Comparing version 3.2.9 to 3.2.10
@@ -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:"clients",value:function(){return this.client.get("v2/advisory/clients/list")}},{key:"clientAccounts",value:function(a){return this.client.get("v2/advisory/clients/accounts",{uid: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:"modelRTBsBreakdown",value:function(a,b){return this.client.get("v2/advisory/analytics/breakdown/rtbs/"+(a||"all"),{bucket:b})}},{key:"modelPortfolios",value:function(a,b,c){return this.client.get("v2/advisory/model/portfolios/"+a,{loadQuotes:b,combined:c})}},{key:"modelBalances",value:function(){return this.client.get("v2/advisory/model/balances")}},{key:"modelPerformance",value:function(a,b){return this.client.get("v2/advisory/analytics/model/performance/"+a+"/"+b)}},{key:"modelBalance",value:function(a,b){return this.client.get("v2/advisory/model/balance/"+b+"/"+a)}},{key:"modelComponentUpdate",value:function(a){return this.client.post("v2/advisory/model/component/update",a)}},{key:"modelAdjustments",value:function(a){return this.client.get("v2/advisory/model/adjustments/"+a)}},{key:"modelAdjustmentPreview",value:function(a){return this.client.get("v2/advisory/model/adjustment/preview/"+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:"accountNotes",value:function(a){return this.client.get("v2/advisory/clients/account/notes",{aid:a})}},{key:"accountNoteCreate",value:function(a,b){return this.client.post("v2/advisory/clients/account/notes/add",{accountId:a,content:b})}},{key:"accountNoteModify",value:function(a,b){return this.client.post("v2/advisory/clients/account/notes/modify",{noteId:a,content:b})}},{key:"accountNoteDelete",value:function(a){return this.client.post("v2/advisory/clients/account/notes/delete",{noteId:a})}},{key:"userNotes",value:function(a){return this.client.get("v2/advisory/clients/user/notes",{uid:a})}},{key:"userNoteCreate",value:function(a,b){return this.client.post("v2/advisory/clients/user/notes/add",{userId:a,content:b})}},{key:"userNoteModify",value:function(a,b){return this.client.post("v2/advisory/clients/user/notes/modify",{noteId:a,content:b})}},{key:"userNoteDelete",value:function(a){return this.client.post("v2/advisory/clients/user/notes/delete",{noteId: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:"clients",value:function(){return this.client.get("v2/advisory/clients/list")}},{key:"clientAccounts",value:function(a){return this.client.get("v2/advisory/clients/accounts",{uid:a})}},{key:"models",value:function(a){return this.client.get("v2/advisory/models",{loadQuotes:a})}},{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:"modelRTBsBreakdown",value:function(a,b){return this.client.get("v2/advisory/analytics/breakdown/rtbs/"+(a||"all"),{bucket:b})}},{key:"modelPortfolios",value:function(a,b,c){return this.client.get("v2/advisory/model/portfolios/"+a,{loadQuotes:b,combined:c})}},{key:"modelBalances",value:function(){return this.client.get("v2/advisory/model/balances")}},{key:"modelPerformance",value:function(a,b){return this.client.get("v2/advisory/analytics/model/performance/"+a+"/"+b)}},{key:"modelBalance",value:function(a,b){return this.client.get("v2/advisory/model/balance/"+b+"/"+a)}},{key:"modelComponentUpdate",value:function(a){return this.client.post("v2/advisory/model/component/update",a)}},{key:"modelAdjustments",value:function(a){return this.client.get("v2/advisory/model/adjustments/"+a)}},{key:"modelAdjustmentPreview",value:function(a){return this.client.get("v2/advisory/model/adjustment/preview/"+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:"accountNotes",value:function(a){return this.client.get("v2/advisory/clients/account/notes",{aid:a})}},{key:"accountNoteCreate",value:function(a,b){return this.client.post("v2/advisory/clients/account/notes/add",{accountId:a,content:b})}},{key:"accountNoteModify",value:function(a,b){return this.client.post("v2/advisory/clients/account/notes/modify",{noteId:a,content:b})}},{key:"accountNoteDelete",value:function(a){return this.client.post("v2/advisory/clients/account/notes/delete",{noteId:a})}},{key:"userNotes",value:function(a){return this.client.get("v2/advisory/clients/user/notes",{uid:a})}},{key:"userNoteCreate",value:function(a,b){return this.client.post("v2/advisory/clients/user/notes/add",{userId:a,content:b})}},{key:"userNoteModify",value:function(a,b){return this.client.post("v2/advisory/clients/user/notes/modify",{noteId:a,content:b})}},{key:"userNoteDelete",value:function(a){return this.client.post("v2/advisory/clients/user/notes/delete",{noteId: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; |
@@ -1,1 +0,1 @@ | ||
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var _APIClient=require("./APIClient"),_APIClient2=_interopRequireDefault(_APIClient),_Quotes=require("./categories/Quotes"),_Quotes2=_interopRequireDefault(_Quotes),_Research=require("./categories/Research"),_Research2=_interopRequireDefault(_Research),_User=require("./categories/User"),_User2=_interopRequireDefault(_User),_Options=require("./categories/Options"),_Options2=_interopRequireDefault(_Options),_Advisory=require("./categories/Advisory"),_Advisory2=_interopRequireDefault(_Advisory),_Relationships=require("./categories/Relationships"),_Relationships2=_interopRequireDefault(_Relationships),_Watchlists=require("./categories/Watchlists"),_Watchlists2=_interopRequireDefault(_Watchlists),_ETFs=require("./categories/ETFs"),_ETFs2=_interopRequireDefault(_ETFs),_News=require("./categories/News"),_News2=_interopRequireDefault(_News),_CorporateActions=require("./categories/CorporateActions"),_CorporateActions2=_interopRequireDefault(_CorporateActions),_ACHs=require("./categories/ACHs"),_ACHs2=_interopRequireDefault(_ACHs),_Checks=require("./categories/Checks"),_Checks2=_interopRequireDefault(_Checks),_Documents=require("./categories/Documents"),_Documents2=_interopRequireDefault(_Documents),_TipRanks=require("./categories/TipRanks"),_TipRanks2=_interopRequireDefault(_TipRanks),_Wires=require("./categories/Wires"),_Wires2=_interopRequireDefault(_Wires),_Streaming=require("./categories/Streaming"),_Streaming2=_interopRequireDefault(_Streaming),_Orders=require("./categories/Orders"),_Orders2=_interopRequireDefault(_Orders),_Transfers=require("./categories/Transfers"),_Transfers2=_interopRequireDefault(_Transfers);function _interopRequireDefault(a){return a&&a.__esModule?a:{default:a}}function getApi(a){var b=new _APIClient2.default(a);return{quotes:new _Quotes2.default(b),research:new _Research2.default(b),user:new _User2.default(b),orders:new _Orders2.default(b),options:new _Options2.default(b),advisory:new _Advisory2.default(b),watchlists:new _Watchlists2.default(b),etfs:new _ETFs2.default(b),news:new _News2.default(b),corporateActions:new _CorporateActions2.default(b),relationships:new _Relationships2.default(b),achs:new _ACHs2.default(b),checks:new _Checks2.default(b),documents:new _Documents2.default(b),tipRanks:new _TipRanks2.default(b),wires:new _Wires2.default(b),transfers:new _Transfers2.default(b),streaming:new _Streaming2.default(b),client:b}}exports.default=getApi; | ||
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var _APIClient=require("./APIClient"),_APIClient2=_interopRequireDefault(_APIClient),_Quotes=require("./categories/Quotes"),_Quotes2=_interopRequireDefault(_Quotes),_Research=require("./categories/Research"),_Research2=_interopRequireDefault(_Research),_User=require("./categories/User"),_User2=_interopRequireDefault(_User),_Options=require("./categories/Options"),_Options2=_interopRequireDefault(_Options),_Advisory=require("./categories/Advisory"),_Advisory2=_interopRequireDefault(_Advisory),_Relationships=require("./categories/Relationships"),_Relationships2=_interopRequireDefault(_Relationships),_Watchlists=require("./categories/Watchlists"),_Watchlists2=_interopRequireDefault(_Watchlists),_ETFs=require("./categories/ETFs"),_ETFs2=_interopRequireDefault(_ETFs),_News=require("./categories/News"),_News2=_interopRequireDefault(_News),_CorporateActions=require("./categories/CorporateActions"),_CorporateActions2=_interopRequireDefault(_CorporateActions),_ACATs=require("./categories/ACATs"),_ACATs2=_interopRequireDefault(_ACATs),_ACHs=require("./categories/ACHs"),_ACHs2=_interopRequireDefault(_ACHs),_Checks=require("./categories/Checks"),_Checks2=_interopRequireDefault(_Checks),_Documents=require("./categories/Documents"),_Documents2=_interopRequireDefault(_Documents),_TipRanks=require("./categories/TipRanks"),_TipRanks2=_interopRequireDefault(_TipRanks),_Wires=require("./categories/Wires"),_Wires2=_interopRequireDefault(_Wires),_Streaming=require("./categories/Streaming"),_Streaming2=_interopRequireDefault(_Streaming),_Orders=require("./categories/Orders"),_Orders2=_interopRequireDefault(_Orders),_Transfers=require("./categories/Transfers"),_Transfers2=_interopRequireDefault(_Transfers);function _interopRequireDefault(a){return a&&a.__esModule?a:{default:a}}function getApi(a){var b=new _APIClient2.default(a);return{quotes:new _Quotes2.default(b),research:new _Research2.default(b),user:new _User2.default(b),orders:new _Orders2.default(b),options:new _Options2.default(b),advisory:new _Advisory2.default(b),watchlists:new _Watchlists2.default(b),etfs:new _ETFs2.default(b),news:new _News2.default(b),corporateActions:new _CorporateActions2.default(b),relationships:new _Relationships2.default(b),acats:new _ACATs2.default(b),achs:new _ACHs2.default(b),checks:new _Checks2.default(b),documents:new _Documents2.default(b),tipRanks:new _TipRanks2.default(b),wires:new _Wires2.default(b),transfers:new _Transfers2.default(b),streaming:new _Streaming2.default(b),client:b}}exports.default=getApi; |
{ | ||
"name": "@orbis-systems/orbis-api-client", | ||
"version": "3.2.9", | ||
"version": "3.2.10", | ||
"description": "", | ||
@@ -35,6 +35,6 @@ "main": "dist/lib/index.js", | ||
"devDependencies": { | ||
"babel-cli": "^6.26.0", | ||
"babel-cli": "^6.26.0", | ||
"babel-eslint": "^10.0.1", | ||
"babel-minify": "^0.5.0", | ||
"babel-plugin-transform-async-to-generator": "^6.24.1", | ||
"babel-plugin-transform-async-to-generator": "^6.24.1", | ||
"babel-preset-es2015": "^6.24.1", | ||
@@ -41,0 +41,0 @@ "babel-preset-node6": "^11.0.0", |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
744821
35
2199
29