attlaz-client 1.19.1 → 1.19.2

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.
@@ -7,6 +7,9 @@ export declare class Trigger extends MetaDataAware implements StateAware {
7
7
  type: string;
8
8
  projectEnvironmentId: string;
9
9
  flowId: string;
10
+ name: string;
11
+ description: string;
12
+ target: string;
10
13
  arguments: {};
11
14
  data: DataValueCollection;
12
15
  state: State;
@@ -6,6 +6,9 @@ export class Trigger extends MetaDataAware {
6
6
  type;
7
7
  projectEnvironmentId;
8
8
  flowId;
9
+ name;
10
+ description;
11
+ target;
9
12
  arguments;
10
13
  data;
11
14
  state = State.Active;
@@ -22,6 +25,9 @@ export class Trigger extends MetaDataAware {
22
25
  const flowId = rawTrigger.flow;
23
26
  const parsedData = DataValueCollection.fromObject(rawTrigger.data);
24
27
  const trigger = new Trigger(rawTrigger.id, rawTrigger.type, rawTrigger.project_environment, flowId, parsedData);
28
+ trigger.name = rawTrigger.name;
29
+ trigger.description = rawTrigger.description;
30
+ trigger.target = rawTrigger.target;
25
31
  trigger.arguments = rawTrigger.arguments;
26
32
  trigger.state = State.fromString(rawTrigger.state);
27
33
  if (Object.prototype.hasOwnProperty.call(rawTrigger, 'metadata')) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "attlaz-client",
3
- "version": "1.19.1",
3
+ "version": "1.19.2",
4
4
  "description": "Javascript Client to access Attlaz API",
5
5
  "types": "./dist/index.d.ts",
6
6
  "main": "./dist/index.js",