attlaz-client 1.9.56 → 1.9.58
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.
- package/dist/Client.d.ts +1 -1
- package/dist/Client.js +2 -2
- package/dist/Model/Messaging/Subscriber.js +1 -1
- package/package.json +1 -1
package/dist/Client.d.ts
CHANGED
|
@@ -25,8 +25,8 @@ import { LogEndpoint } from './Service/LogEndpoint';
|
|
|
25
25
|
import { TriggerEndpoint } from './Service/TriggerEndpoint';
|
|
26
26
|
import { PlatformEndpoint } from './Service/PlatformEndpoint';
|
|
27
27
|
import { FlowRunStatsEndpoint } from './Service/FlowRunStatsEndpoint';
|
|
28
|
-
import { CodeSourceBuildStrategyEndpoint } from './Service/CodeSourceBuildStrategyEndpoint';
|
|
29
28
|
import { FirewallEndpoint } from './Service/FirewallEndpoint';
|
|
29
|
+
import { CodeSourceBuildStrategyEndpoint } from './Service/CodeSourceBuildStrategyEndpoint';
|
|
30
30
|
export declare class Client {
|
|
31
31
|
private readonly apiEndpoint;
|
|
32
32
|
private readonly clientId;
|
package/dist/Client.js
CHANGED
|
@@ -28,9 +28,9 @@ const LogEndpoint_1 = require("./Service/LogEndpoint");
|
|
|
28
28
|
const TriggerEndpoint_1 = require("./Service/TriggerEndpoint");
|
|
29
29
|
const PlatformEndpoint_1 = require("./Service/PlatformEndpoint");
|
|
30
30
|
const FlowRunStatsEndpoint_1 = require("./Service/FlowRunStatsEndpoint");
|
|
31
|
+
const FirewallEndpoint_1 = require("./Service/FirewallEndpoint");
|
|
31
32
|
const version_1 = require("./version");
|
|
32
33
|
const CodeSourceBuildStrategyEndpoint_1 = require("./Service/CodeSourceBuildStrategyEndpoint");
|
|
33
|
-
const FirewallEndpoint_1 = require("./Service/FirewallEndpoint");
|
|
34
34
|
class Client {
|
|
35
35
|
constructor(apiEndpoint, clientId, clientSecret) {
|
|
36
36
|
this.apiEndpoint = apiEndpoint;
|
|
@@ -203,7 +203,7 @@ class Client {
|
|
|
203
203
|
}
|
|
204
204
|
// TODO: this should be in a separate API?
|
|
205
205
|
getFirewallEndpoint() {
|
|
206
|
-
return this.getEndpoint('firewall', this.Store.
|
|
206
|
+
return this.getEndpoint('firewall', this.Store.FirewallEndpoint);
|
|
207
207
|
}
|
|
208
208
|
getEndpoint(key, className) {
|
|
209
209
|
//const classNameString: string = className.name;
|
|
@@ -18,7 +18,7 @@ class Subscriber extends MetaDataAware_1.MetaDataAware {
|
|
|
18
18
|
this.logLevelThreshold = logLevelThreshold;
|
|
19
19
|
}
|
|
20
20
|
static parseRaw(rawSubscriber) {
|
|
21
|
-
let subscriber = new Subscriber(rawSubscriber.id, rawSubscriber.event_types, rawSubscriber.project_environment, rawSubscriber.flow, rawSubscriber.flow_run, rawSubscriber.
|
|
21
|
+
let subscriber = new Subscriber(rawSubscriber.id, rawSubscriber.event_types, rawSubscriber.project_environment, rawSubscriber.flow, rawSubscriber.flow_run, rawSubscriber.channelIds, rawSubscriber.log_level_threshold);
|
|
22
22
|
subscriber.state = State_1.State.fromString(rawSubscriber.state);
|
|
23
23
|
subscriber.metadata = DataValueCollection_1.DataValueCollection.fromObject(rawSubscriber.metadata);
|
|
24
24
|
return subscriber;
|