@ndustrial/contxt-sdk
Advanced tools
Comparing version 2.5.0 to 2.6.0
@@ -0,1 +1,18 @@ | ||
## [v2.6.0](http://github.com/ndustrialio/contxt-sdk-js/tree/v2.6.0) (2019-12-27) | ||
**Added** | ||
- Updated `Asset#getAllByOrganizationId` | ||
- Added `options.includeTypeDescendents`, included descendents of the requested assetTypeId | ||
- Added `options.includeMetricId`, include the latest metrics value based on the id provided | ||
## [v2.5.0](https://github.com/ndustrialio/contxt-sdk-js/pull/132) (2019-12-18) | ||
**Added** | ||
- Added `Health` sdk module | ||
- Added `Health#getAll`, fetches all integration assets and their most recent health statuses | ||
- Added `Health#getByAssetId`, fetches a single integration asset and a time series of its health status | ||
- Added `Health#post`, posts new health to an asset | ||
## [v2.4.0](https://github.com/ndustrialio/contxt-sdk-js/pull/131) (2019-10-07) | ||
@@ -2,0 +19,0 @@ |
@@ -143,2 +143,4 @@ <a name="Assets"></a> | ||
| [options.offset] | <code>Number</code> | How many records from the first record to start | | ||
| [options.includeTypeDescendents] | <code>boolean</code> | When true will look for all asset types that are descendendents from options.assetTypeId | | ||
| [options.includeMetricId] | <code>string</code> | If asset has an associated metric value the latest metric will be returned. | | ||
@@ -145,0 +147,0 @@ **Example** |
@@ -203,2 +203,4 @@ var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); | ||
* @param {Number} [options.offset] How many records from the first record to start | ||
* @param {boolean} [options.includeTypeDescendents] When true will look for all asset types that are descendendents from options.assetTypeId | ||
* @param {string} [options.includeMetricId] If asset has an associated metric value the latest metric will be returned. | ||
* | ||
@@ -205,0 +207,0 @@ * @returns {Promise} |
@@ -222,2 +222,4 @@ 'use strict'; | ||
* @param {Number} [options.offset] How many records from the first record to start | ||
* @param {boolean} [options.includeTypeDescendents] When true will look for all asset types that are descendendents from options.assetTypeId | ||
* @param {string} [options.includeMetricId] If asset has an associated metric value the latest metric will be returned. | ||
* | ||
@@ -224,0 +226,0 @@ * @returns {Promise} |
{ | ||
"name": "@ndustrial/contxt-sdk", | ||
"version": "2.5.0", | ||
"version": "2.6.0", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
@@ -189,2 +189,4 @@ import isPlainObject from 'lodash.isplainobject'; | ||
* @param {Number} [options.offset] How many records from the first record to start | ||
* @param {boolean} [options.includeTypeDescendents] When true will look for all asset types that are descendendents from options.assetTypeId | ||
* @param {string} [options.includeMetricId] If asset has an associated metric value the latest metric will be returned. | ||
* | ||
@@ -191,0 +193,0 @@ * @returns {Promise} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
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
2794925
45613