attlaz-client 1.9.57 → 1.9.59

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,12 +4,12 @@ import { StateAware } from '../../StateAware';
4
4
  import { MetaDataAware } from '../../../Core/MetaDataAware';
5
5
  export declare class Channel extends MetaDataAware implements StateAware {
6
6
  id: string;
7
- owner: string;
7
+ ownerId: string;
8
8
  label: string;
9
9
  type: ChannelType;
10
10
  data: any;
11
11
  state: State;
12
12
  private: boolean;
13
- constructor(id: string, owner: string, label: string, type: ChannelType, data: any);
13
+ constructor(id: string, ownerId: string, label: string, type: ChannelType, data: any);
14
14
  static parse(rawChannel: any): Channel;
15
15
  }
@@ -7,12 +7,12 @@ const Utils_1 = require("../../../Utils");
7
7
  const MetaDataAware_1 = require("../../../Core/MetaDataAware");
8
8
  const DataValueCollection_1 = require("../../DataValueCollection");
9
9
  class Channel extends MetaDataAware_1.MetaDataAware {
10
- constructor(id, owner, label, type, data) {
10
+ constructor(id, ownerId, label, type, data) {
11
11
  super();
12
12
  this.state = State_1.State.Active;
13
13
  this.private = false;
14
14
  this.id = id;
15
- this.owner = owner;
15
+ this.ownerId = ownerId;
16
16
  this.label = label;
17
17
  this.type = type;
18
18
  this.data = data;
@@ -9,10 +9,10 @@ export declare class Subscriber extends MetaDataAware implements StateAware {
9
9
  projectEnvironmentId: string;
10
10
  flowId: string;
11
11
  flowRunId: string;
12
- channels: string[];
12
+ channelIds: string[];
13
13
  logLevelThreshold: LogLevel;
14
14
  state: State;
15
- constructor(id: string, eventTypes: EventType[], projectEnvironmentId: string, flowId: string, flowRunId: string, channels: string[], logLevelThreshold?: LogLevel);
15
+ constructor(id: string, eventTypes: EventType[], projectEnvironmentId: string, flowId: string, flowRunId: string, channelIds: string[], logLevelThreshold?: LogLevel);
16
16
  static parseRaw(rawSubscriber: any): Subscriber;
17
17
  getLogLevelThreshold(): LogLevel;
18
18
  hasLogLevelThreshold(): boolean;
@@ -6,7 +6,7 @@ const LogLevel_1 = require("../Log/LogLevel");
6
6
  const MetaDataAware_1 = require("../../Core/MetaDataAware");
7
7
  const DataValueCollection_1 = require("../DataValueCollection");
8
8
  class Subscriber extends MetaDataAware_1.MetaDataAware {
9
- constructor(id, eventTypes, projectEnvironmentId, flowId, flowRunId, channels, logLevelThreshold = LogLevel_1.LogLevel.Debug) {
9
+ constructor(id, eventTypes, projectEnvironmentId, flowId, flowRunId, channelIds, logLevelThreshold = LogLevel_1.LogLevel.Debug) {
10
10
  super();
11
11
  this.state = State_1.State.Active;
12
12
  this.id = id;
@@ -14,7 +14,7 @@ class Subscriber extends MetaDataAware_1.MetaDataAware {
14
14
  this.projectEnvironmentId = projectEnvironmentId;
15
15
  this.flowId = flowId;
16
16
  this.flowRunId = flowRunId;
17
- this.channels = channels;
17
+ this.channelIds = channelIds;
18
18
  this.logLevelThreshold = logLevelThreshold;
19
19
  }
20
20
  static parseRaw(rawSubscriber) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "attlaz-client",
3
- "version": "1.9.57",
3
+ "version": "1.9.59",
4
4
  "description": "Javascript Client to access Attlaz API",
5
5
  "types": "./dist/index.d.ts",
6
6
  "main": "./dist/index.js",