files.com 1.2.118 → 1.2.119

Sign up to get free protection for your applications and to get access to all the features.
package/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.2.118
1
+ 1.2.119
@@ -11,6 +11,7 @@
11
11
  "created_at": "2000-01-01T01:00:00Z",
12
12
  "body_url": "example",
13
13
  "folder_behavior_id": 1,
14
+ "siem_http_destination_id": 1,
14
15
  "successful_files": 1,
15
16
  "errored_files": 1,
16
17
  "bytes_synced": 1,
@@ -27,6 +28,7 @@
27
28
  * `created_at` (date-time): External event create date/time
28
29
  * `body_url` (string): Link to log file.
29
30
  * `folder_behavior_id` (int64): Folder Behavior ID
31
+ * `siem_http_destination_id` (int64): SIEM HTTP Destination ID.
30
32
  * `successful_files` (int64): For sync events, the number of files handled successfully.
31
33
  * `errored_files` (int64): For sync events, the number of files that encountered errors.
32
34
  * `bytes_synced` (int64): For sync events, the total number of bytes synced.
@@ -47,8 +49,8 @@ await ExternalEvent.list
47
49
 
48
50
  * `cursor` (string): Used for pagination. When a list request has more records available, cursors are provided in the response headers `X-Files-Cursor-Next` and `X-Files-Cursor-Prev`. Send one of those cursor value here to resume an existing list from the next available record. Note: many of our SDKs have iterator methods that will automatically handle cursor-based pagination.
49
51
  * `per_page` (int64): Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
50
- * `sort_by` (object): If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `remote_server_type`, `site_id`, `folder_behavior_id`, `event_type`, `created_at` or `status`.
51
- * `filter` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`, `event_type`, `remote_server_type`, `status` or `folder_behavior_id`. Valid field combinations are `[ created_at, event_type, status ]`, `[ created_at, event_type ]` or `[ created_at, status ]`.
52
+ * `sort_by` (object): If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `remote_server_type`, `site_id`, `folder_behavior_id`, `siem_http_destination_id`, `event_type`, `created_at` or `status`.
53
+ * `filter` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`, `event_type`, `remote_server_type`, `status`, `folder_behavior_id` or `siem_http_destination_id`. Valid field combinations are `[ created_at, event_type, status ]`, `[ created_at, event_type ]` or `[ created_at, status ]`.
52
54
  * `filter_gt` (object): If set, return records where the specified field is greater than the supplied value. Valid fields are `created_at`.
53
55
  * `filter_gteq` (object): If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `created_at`.
54
56
  * `filter_prefix` (object): If set, return records where the specified field is prefixed by the supplied value. Valid fields are `remote_server_type`.
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.118';
14
+ var version = '1.2.119';
15
15
  var userAgent = "Files.com JavaScript SDK v".concat(version);
16
16
  var logLevel = _Logger.LogLevel.INFO;
17
17
  var debugRequest = false;
@@ -79,6 +79,13 @@ var ExternalEvent = /*#__PURE__*/(0, _createClass2.default)(function ExternalEve
79
79
  (0, _defineProperty2.default)(this, "setFolderBehaviorId", function (value) {
80
80
  _this.attributes.folder_behavior_id = value;
81
81
  });
82
+ // int64 # SIEM HTTP Destination ID.
83
+ (0, _defineProperty2.default)(this, "getSiemHttpDestinationId", function () {
84
+ return _this.attributes.siem_http_destination_id;
85
+ });
86
+ (0, _defineProperty2.default)(this, "setSiemHttpDestinationId", function (value) {
87
+ _this.attributes.siem_http_destination_id = value;
88
+ });
82
89
  // int64 # For sync events, the number of files handled successfully.
83
90
  (0, _defineProperty2.default)(this, "getSuccessfulFiles", function () {
84
91
  return _this.attributes.successful_files;
@@ -161,8 +168,8 @@ _ExternalEvent = ExternalEvent;
161
168
  // Parameters:
162
169
  // cursor - string - Used for pagination. When a list request has more records available, cursors are provided in the response headers `X-Files-Cursor-Next` and `X-Files-Cursor-Prev`. Send one of those cursor value here to resume an existing list from the next available record. Note: many of our SDKs have iterator methods that will automatically handle cursor-based pagination.
163
170
  // per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
164
- // sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `remote_server_type`, `site_id`, `folder_behavior_id`, `event_type`, `created_at` or `status`.
165
- // filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`, `event_type`, `remote_server_type`, `status` or `folder_behavior_id`. Valid field combinations are `[ created_at, event_type, status ]`, `[ created_at, event_type ]` or `[ created_at, status ]`.
171
+ // sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `remote_server_type`, `site_id`, `folder_behavior_id`, `siem_http_destination_id`, `event_type`, `created_at` or `status`.
172
+ // filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`, `event_type`, `remote_server_type`, `status`, `folder_behavior_id` or `siem_http_destination_id`. Valid field combinations are `[ created_at, event_type, status ]`, `[ created_at, event_type ]` or `[ created_at, status ]`.
166
173
  // filter_gt - object - If set, return records where the specified field is greater than the supplied value. Valid fields are `created_at`.
167
174
  // filter_gteq - object - If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `created_at`.
168
175
  // filter_prefix - object - If set, return records where the specified field is prefixed by the supplied value. Valid fields are `remote_server_type`.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "files.com",
3
- "version": "1.2.118",
3
+ "version": "1.2.119",
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.118'
8
+ const version = '1.2.119'
9
9
  let userAgent = `Files.com JavaScript SDK v${version}`
10
10
 
11
11
  let logLevel = LogLevel.INFO
@@ -73,6 +73,13 @@ class ExternalEvent {
73
73
  this.attributes.folder_behavior_id = value
74
74
  }
75
75
 
76
+ // int64 # SIEM HTTP Destination ID.
77
+ getSiemHttpDestinationId = () => this.attributes.siem_http_destination_id
78
+
79
+ setSiemHttpDestinationId = value => {
80
+ this.attributes.siem_http_destination_id = value
81
+ }
82
+
76
83
  // int64 # For sync events, the number of files handled successfully.
77
84
  getSuccessfulFiles = () => this.attributes.successful_files
78
85
 
@@ -128,8 +135,8 @@ class ExternalEvent {
128
135
  // Parameters:
129
136
  // cursor - string - Used for pagination. When a list request has more records available, cursors are provided in the response headers `X-Files-Cursor-Next` and `X-Files-Cursor-Prev`. Send one of those cursor value here to resume an existing list from the next available record. Note: many of our SDKs have iterator methods that will automatically handle cursor-based pagination.
130
137
  // per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
131
- // sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `remote_server_type`, `site_id`, `folder_behavior_id`, `event_type`, `created_at` or `status`.
132
- // filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`, `event_type`, `remote_server_type`, `status` or `folder_behavior_id`. Valid field combinations are `[ created_at, event_type, status ]`, `[ created_at, event_type ]` or `[ created_at, status ]`.
138
+ // sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `remote_server_type`, `site_id`, `folder_behavior_id`, `siem_http_destination_id`, `event_type`, `created_at` or `status`.
139
+ // filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`, `event_type`, `remote_server_type`, `status`, `folder_behavior_id` or `siem_http_destination_id`. Valid field combinations are `[ created_at, event_type, status ]`, `[ created_at, event_type ]` or `[ created_at, status ]`.
133
140
  // filter_gt - object - If set, return records where the specified field is greater than the supplied value. Valid fields are `created_at`.
134
141
  // filter_gteq - object - If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `created_at`.
135
142
  // filter_prefix - object - If set, return records where the specified field is prefixed by the supplied value. Valid fields are `remote_server_type`.