attlaz-client 1.16.3 → 1.16.4

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.
@@ -4,6 +4,7 @@ export declare class CodeSourceRunStrategy implements StateAware {
4
4
  id: string;
5
5
  name: string;
6
6
  description: string;
7
+ languageId: string;
7
8
  state: State;
8
9
  static parse(raw: any): CodeSourceRunStrategy;
9
10
  }
@@ -3,13 +3,15 @@ export class CodeSourceRunStrategy {
3
3
  id;
4
4
  name;
5
5
  description;
6
+ languageId;
6
7
  state = State.Active;
7
8
  static parse(raw) {
8
- const codeDeployStrategy = new CodeSourceRunStrategy();
9
- codeDeployStrategy.id = raw.id;
10
- codeDeployStrategy.name = raw.name;
11
- codeDeployStrategy.description = raw.description;
12
- codeDeployStrategy.state = State.fromString(raw.state);
13
- return codeDeployStrategy;
9
+ const runStrategy = new CodeSourceRunStrategy();
10
+ runStrategy.id = raw.id;
11
+ runStrategy.name = raw.name;
12
+ runStrategy.description = raw.description;
13
+ runStrategy.languageId = raw.language;
14
+ runStrategy.state = State.fromString(raw.state);
15
+ return runStrategy;
14
16
  }
15
17
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "attlaz-client",
3
- "version": "1.16.3",
3
+ "version": "1.16.4",
4
4
  "description": "Javascript Client to access Attlaz API",
5
5
  "types": "./dist/index.d.ts",
6
6
  "main": "./dist/index.js",