Skip to content

Commit

Permalink
chore: build dist
Browse files Browse the repository at this point in the history
  • Loading branch information
hawkeye64 committed Jul 16, 2019
1 parent 2e19b8f commit 49ff61d
Show file tree
Hide file tree
Showing 29 changed files with 372 additions and 372 deletions.
116 changes: 58 additions & 58 deletions dist/camera.js

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions dist/modules/access.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@ class Access {
}

createRequest(body) {
let soapEnvelope = this.soap.createRequest({
'body': body,
'xmlns': this.namespaceAttributes,
'diff': this.timeDiff,
'username': this.username,
'password': this.password
const soapEnvelope = this.soap.createRequest({
body: body,
xmlns: this.namespaceAttributes,
diff: this.timeDiff,
username: this.username,
password: this.password
});
return soapEnvelope;
}
Expand Down
12 changes: 6 additions & 6 deletions dist/modules/accessrules.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@ class AccessRules {
}

createRequest(body) {
let soapEnvelope = this.soap.createRequest({
'body': body,
'xmlns': this.namespaceAttributes,
'diff': this.timeDiff,
'username': this.username,
'password': this.password
const soapEnvelope = this.soap.createRequest({
body: body,
xmlns: this.namespaceAttributes,
diff: this.timeDiff,
username: this.username,
password: this.password
});
return soapEnvelope;
}
Expand Down
12 changes: 6 additions & 6 deletions dist/modules/action.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@ class Action {
}

createRequest(body) {
let soapEnvelope = this.soap.createRequest({
'body': body,
'xmlns': this.namespaceAttributes,
'diff': this.timeDiff,
'username': this.username,
'password': this.password
const soapEnvelope = this.soap.createRequest({
body: body,
xmlns: this.namespaceAttributes,
diff: this.timeDiff,
username: this.username,
password: this.password
});
return soapEnvelope;
}
Expand Down
26 changes: 13 additions & 13 deletions dist/modules/analytics.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,18 +20,18 @@ class Analytics {
}

createRequest(body) {
let soapEnvelope = this.soap.createRequest({
'body': body,
'xmlns': this.namespaceAttributes,
'diff': this.timeDiff,
'username': this.username,
'password': this.password
const soapEnvelope = this.soap.createRequest({
body: body,
xmlns: this.namespaceAttributes,
diff: this.timeDiff,
username: this.username,
password: this.password
});
return soapEnvelope;
}

buildRequest(methodName, xml, callback) {
let promise = new Promise((resolve, reject) => {
const promise = new Promise((resolve, reject) => {
let errMsg = '';

if (typeof callback !== 'undefined' && callback !== null) {
Expand Down Expand Up @@ -61,7 +61,7 @@ class Analytics {
soapBody += `</tan:${methodName}>`;
}

let soapEnvelope = this.createRequest(soapBody);
const soapEnvelope = this.createRequest(soapBody);
this.soap.makeRequest('analytics', this.serviceAddress, methodName, soapEnvelope).then(results => {
resolve(results);
}).catch(error => {
Expand All @@ -81,7 +81,7 @@ class Analytics {
}

requestWithConfigurationToken(methodName, configurationToken, xml, callback) {
let promise = new Promise((resolve, reject) => {
const promise = new Promise((resolve, reject) => {
let errMsg = '';

if (typeof callback !== 'undefined' && callback !== null) {
Expand Down Expand Up @@ -133,12 +133,12 @@ class Analytics {
}

deleteAnalyticsModules(configurationToken, analyticsModuleName, callback) {
let soapBody = '<tan:AnalyticsModuleName>' + analyticsModuleName + '</tan:AnalyticsModuleName>';
const soapBody = '<tan:AnalyticsModuleName>' + analyticsModuleName + '</tan:AnalyticsModuleName>';
return this.requestWithConfigurationToken('DeleteAnalyticsModules', configurationToken, soapBody, callback);
}

getAnalyticsModuleOptions(configurationToken, type, callback) {
let soapBody = '<tan:Type>' + type + '</tan:Type>';
const soapBody = '<tan:Type>' + type + '</tan:Type>';
return this.requestWithConfigurationToken('GetAnalyticsModuleOptions', configurationToken, soapBody, callback);
}

Expand All @@ -163,12 +163,12 @@ class Analytics {
}

deleteRules(configurationToken, ruleName, callback) {
let soapBody = '<tan:RuleName>' + ruleName + '</tan:RuleName>';
const soapBody = '<tan:RuleName>' + ruleName + '</tan:RuleName>';
return this.requestWithConfigurationToken('DeleteRules', configurationToken, soapBody, callback);
}

getRuleOptions(configurationToken, ruleType, callback) {
let soapBody = '<tan:RuleType>' + ruleType + '</tan:RuleType>';
const soapBody = '<tan:RuleType>' + ruleType + '</tan:RuleType>';
return this.requestWithConfigurationToken('GetRuleOptions', configurationToken, soapBody, callback);
}

Expand Down
Loading

0 comments on commit 49ff61d

Please sign in to comment.