Skip to content

chore: release #331

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 10 commits into from
Oct 13, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Changelog

## 3.21.0 - Sunset Orange Vienna - October 2022

- SDK: workorder management client
- CLI: `mdsp workorder` command
- Bumped most dependencies

## 3.20.0 - (Spring Green Vienna) - July 2022

- SDK: added GetUserTenant() method to SDK Level read out the user tenant from the current configuration (if token manager authentication is used)
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@


<!-- markdownlint-disable MD033 MD041 -->
<p align=center>
<a href="https://github.com/mindsphere/mindconnect-nodejs/issues/330"><b>We are looking for Contributors and Maintainers!</b></a>
Expand Down Expand Up @@ -365,6 +364,7 @@ It implements support for both frontend (browser e.g. angular, react...) and bac
| Asset Management | :heavy_check_mark: | :heavy_check_mark: |
| Event Management | :heavy_check_mark: | :heavy_check_mark: |
| Notification | :heavy_check_mark: | :heavy_check_mark: |
| WorkOrder Management | :heavy_check_mark: | :heavy_check_mark: |

### Analytics Services

Expand Down
8,323 changes: 4,548 additions & 3,775 deletions package-lock.json

Large diffs are not rendered by default.

43 changes: 21 additions & 22 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@mindconnect/mindconnect-nodejs",
"version": "3.20.0",
"version": "3.21.0",
"description": "NodeJS Library for MindSphere Connectivity - TypeScript SDK for MindSphere - MindSphere Command Line Interface - MindSphere Development Proxy",
"main": "./dist/src/index.js",
"browser": "./dist/src/index.bundle.js",
Expand Down Expand Up @@ -46,12 +46,12 @@
"ajv": "^8.11.0",
"ajv-formats": "^2.1.1",
"ajv-keywords": "^5.1.0",
"async-lock": "^1.3.1",
"async-lock": "^1.3.2",
"chalk": "^4.1.2",
"commander": "^9.2.0",
"commander": "^9.4.1",
"cross-fetch": "^3.1.5",
"csvtojson": "^2.0.10",
"date-fns": "^2.28.0",
"date-fns": "^2.29.3",
"debug": "^4.3.4",
"https-proxy-agent": "^5.0.1",
"json-groupby": "^1.1.0",
Expand All @@ -63,40 +63,39 @@
"rsa-pem-to-jwk": "^1.1.3",
"update-notifier": "^5.1.0",
"url-search-params-polyfill": "^8.1.1",
"uuid": "^8.3.2"
"uuid": "^9.0.0"
},
"devDependencies": {
"@compodoc/compodoc": "^1.1.19",
"@rollup/plugin-commonjs": "^22.0.0",
"@rollup/plugin-commonjs": "^23.0.0",
"@rollup/plugin-json": "^4.1.0",
"@rollup/plugin-node-resolve": "^13.3.0",
"@types/async-lock": "^1.1.5",
"@types/chai": "^4.3.1",
"@rollup/plugin-node-resolve": "^14.1.0",
"@types/async-lock": "^1.3.0",
"@types/chai": "^4.3.3",
"@types/csvtojson": "^1.1.5",
"@types/debug": "^4.1.7",
"@types/jsonwebtoken": "^8.5.8",
"@types/lodash": "^4.14.182",
"@types/mocha": "^9.1.1",
"@types/node": "^17.0.35",
"@types/update-notifier": "^5.1.0",
"@types/jsonwebtoken": "^8.5.9",
"@types/lodash": "^4.14.186",
"@types/mocha": "^10.0.0",
"@types/node": "^18.8.3",
"@types/uuid": "^8.3.4",
"chai": "^4.3.6",
"concurrently": "^7.2.1",
"concurrently": "^7.4.0",
"copyfiles": "^2.4.1",
"cross-env": "^7.0.3",
"license-checker": "^25.0.1",
"mocha": "^9.2.2",
"mocha-jenkins-reporter": "^0.4.7",
"nock": "^13.2.4",
"pkg": "^5.7.0",
"mocha": "^10.0.0",
"mocha-jenkins-reporter": "^0.4.8",
"nock": "^13.2.9",
"pkg": "^5.8.0",
"rimraf": "^3.0.2",
"rollup": "^2.74.1",
"rollup": "^2.79.1",
"rollup-plugin-node-polyfills": "^0.2.1",
"rollup-plugin-terser": "^7.0.2",
"ts-node": "^10.8.0",
"ts-node": "^10.9.1",
"tslib": "^2.4.0",
"tslint": "^6.1.2",
"typescript": "^4.6.4",
"typescript": "^4.8.4",
"typescript-tslint-plugin": "^1.0.1"
},
"repository": {
Expand Down
16 changes: 16 additions & 0 deletions src/api/sdk/common/mindsphere-sdk.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ import { SpectrumAnalysisClient } from "../spectrum/spectrum-analysis";
import { TenantManagementClient } from "../tenant/tenant-management";
import { TrendPredictionClient } from "../trend/trend-prediction";
import { UsageTransparencyClient } from "../utc/utc";
import { WorkOrderManagementClient } from "../workorder/workorder";
import { SdkClient } from "./sdk-client";

/**
Expand Down Expand Up @@ -571,4 +572,19 @@ export class MindSphereSdk extends SdkClient {
this._advancedTokenExchangeClient || new AdvancedTokenExchangeClient(this._authenticator);
return this._advancedTokenExchangeClient;
}

private _workOrderManagementClient?: WorkOrderManagementClient;

/**
* Work Order Management Client
*
* @returns {WorkOrderManagementClient}
*
* @memberOf MindSphereSdk
*/
public GetWorkOrderManagementClient(): WorkOrderManagementClient {
this._workOrderManagementClient =
this._workOrderManagementClient || new WorkOrderManagementClient(this._authenticator);
return this._workOrderManagementClient;
}
}
2 changes: 2 additions & 0 deletions src/api/sdk/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,3 +58,5 @@ export * from "./trend/trend-prediction";
export * from "./trend/trend-prediction-models";
export * from "./utc/utc";
export * from "./utc/utc-models";
export * from "./workorder/workorder";
export * from "./workorder/workorder-models";
Loading