files.com 1.2.110 → 1.2.112

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/README.md CHANGED
@@ -190,42 +190,6 @@ Files.configureNetwork({
190
190
  })
191
191
  ```
192
192
 
193
- ### Logging
194
-
195
- The Files.com SDK is compatible with the standard log4j logging scheme.
196
-
197
- Add `com.files` logger to your `Loggers` root in the `log4j2.xml` file.
198
-
199
- ```xml title="log4j2.xml"
200
- <Loggers>
201
- <!-- set preferred level -->
202
- <Logger name="com.files" level="TRACE" />
203
- <!-- to enable network request -->
204
- <Logger name="okhttp3.logging.wire" level="INFO"/>
205
- </Loggers>
206
- ```
207
-
208
- Create a `resources/log4j2.xml` file.
209
-
210
- ```xml title="resources/log4j2.xml"
211
- <?xml version="1.0" encoding="UTF-8"?>
212
- <Configuration>
213
- <Appenders>
214
- <Console name="Console" target="SYSTEM_OUT">
215
- <PatternLayout pattern="%d{HH:mm:ss.SSS} [%t] %-5level %logger{36} - %msg%n"/>
216
- </Console>
217
- </Appenders>
218
- <Loggers>
219
- <!-- set preferred level -->
220
- <Logger name="com.files" level="TRACE"/>
221
- <!-- to enable network request -->
222
- <Logger name="okhttp3.logging.wire" level="INFO"/>
223
- </Loggers>
224
- </Configuration>
225
- ```
226
-
227
- You can read more about [log4j2 configuration](https://logging.apache.org/log4j/2.x/manual/configuration.html).
228
-
229
193
  ## Errors
230
194
 
231
195
  The Files.com JavaScript SDK will return errors by raising exceptions. There are many exception classes defined in the Files SDK that correspond
package/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.2.110
1
+ 1.2.112
@@ -27,6 +27,7 @@
27
27
  "sdk_installation_instructions_link": "example",
28
28
  "short_description": "example",
29
29
  "sso_strategy_type": "example",
30
+ "siem_type": "example",
30
31
  "tutorial_youtube_url": "example"
31
32
  }
32
33
  ```
@@ -50,6 +51,7 @@
50
51
  * `sdk_installation_instructions_link` (string): Link to SDK installation instructions
51
52
  * `short_description` (string): Short description of the App
52
53
  * `sso_strategy_type` (string): Associated SSO Strategy type, if any
54
+ * `siem_type` (string): Associated SIEM type, if any
53
55
  * `tutorial_youtube_url` (string): Tutorial video page
54
56
 
55
57
  ---
package/lib/Files.js CHANGED
@@ -11,7 +11,7 @@ var endpointPrefix = '/api/rest/v1';
11
11
  var apiKey;
12
12
  var baseUrl = 'https://app.files.com';
13
13
  var sessionId = null;
14
- var version = '1.2.110';
14
+ var version = '1.2.112';
15
15
  var userAgent = "Files.com JavaScript SDK v".concat(version);
16
16
  var logLevel = _Logger.LogLevel.INFO;
17
17
  var debugRequest = false;
package/lib/models/App.js CHANGED
@@ -109,6 +109,10 @@ var App = /*#__PURE__*/(0, _createClass2.default)(function App() {
109
109
  (0, _defineProperty2.default)(this, "getSsoStrategyType", function () {
110
110
  return _this.attributes.sso_strategy_type;
111
111
  });
112
+ // string # Associated SIEM type, if any
113
+ (0, _defineProperty2.default)(this, "getSiemType", function () {
114
+ return _this.attributes.siem_type;
115
+ });
112
116
  // string # Tutorial video page
113
117
  (0, _defineProperty2.default)(this, "getTutorialYoutubeUrl", function () {
114
118
  return _this.attributes.tutorial_youtube_url;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "files.com",
3
- "version": "1.2.110",
3
+ "version": "1.2.112",
4
4
  "description": "Files.com SDK for JavaScript",
5
5
  "keywords": [
6
6
  "files.com",
package/src/Files.js CHANGED
@@ -5,7 +5,7 @@ const endpointPrefix = '/api/rest/v1'
5
5
  let apiKey
6
6
  let baseUrl = 'https://app.files.com'
7
7
  let sessionId = null
8
- const version = '1.2.110'
8
+ const version = '1.2.112'
9
9
  let userAgent = `Files.com JavaScript SDK v${version}`
10
10
 
11
11
  let logLevel = LogLevel.INFO
package/src/models/App.js CHANGED
@@ -85,6 +85,9 @@ class App {
85
85
  // string # Associated SSO Strategy type, if any
86
86
  getSsoStrategyType = () => this.attributes.sso_strategy_type
87
87
 
88
+ // string # Associated SIEM type, if any
89
+ getSiemType = () => this.attributes.siem_type
90
+
88
91
  // string # Tutorial video page
89
92
  getTutorialYoutubeUrl = () => this.attributes.tutorial_youtube_url
90
93