files.com 1.2.515 → 1.2.517

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/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.2.515
1
+ 1.2.517
@@ -54,7 +54,7 @@ await AutomationRun.list({
54
54
  * `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.
55
55
  * `per_page` (int64): Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
56
56
  * `sort_by` (object): If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `automation_id`, `created_at` or `status`.
57
- * `filter` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `status`, `workspace_id` or `automation_id`. Valid field combinations are `[ workspace_id, status ]`, `[ automation_id, status ]`, `[ workspace_id, automation_id ]` or `[ workspace_id, automation_id, status ]`.
57
+ * `filter` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `status`, `workspace_id` or `automation_id`. Valid field combinations are `[ automation_id, status ]`, `[ workspace_id, automation_id ]` or `[ workspace_id, automation_id, status ]`.
58
58
  * `automation_id` (int64): Required - ID of the associated Automation.
59
59
 
60
60
  ---
@@ -154,7 +154,7 @@ await Bundle.list({
154
154
  * `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.
155
155
  * `per_page` (int64): Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
156
156
  * `sort_by` (object): If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `expires_at`.
157
- * `filter` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`, `expires_at`, `code` or `user_id`. Valid field combinations are `[ user_id, expires_at ]`.
157
+ * `filter` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`, `expires_at`, `code` or `user_id`. Valid field combinations are `[ user_id, created_at ]` and `[ user_id, expires_at ]`.
158
158
  * `filter_gt` (object): If set, return records where the specified field is greater than the supplied value. Valid fields are `created_at` and `expires_at`.
159
159
  * `filter_gteq` (object): If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `created_at` and `expires_at`.
160
160
  * `filter_prefix` (object): If set, return records where the specified field is prefixed by the supplied value. Valid fields are `code`.
@@ -27,6 +27,8 @@
27
27
  "solar_winds_token_masked": "example",
28
28
  "new_relic_api_key_masked": "example",
29
29
  "datadog_api_key_masked": "example",
30
+ "action_send_enabled": true,
31
+ "action_entries_sent": 1,
30
32
  "sftp_action_send_enabled": true,
31
33
  "sftp_action_entries_sent": 1,
32
34
  "ftp_action_send_enabled": true,
@@ -82,6 +84,8 @@
82
84
  * `solar_winds_token_masked` (string): Applicable only for destination type: solar_winds. Authentication token provided by Solar Winds.
83
85
  * `new_relic_api_key_masked` (string): Applicable only for destination type: new_relic. API key provided by New Relic.
84
86
  * `datadog_api_key_masked` (string): Applicable only for destination type: datadog. API key provided by Datadog.
87
+ * `action_send_enabled` (boolean): Whether or not sending is enabled for action logs.
88
+ * `action_entries_sent` (int64): Number of log entries sent for the lifetime of this destination.
85
89
  * `sftp_action_send_enabled` (boolean): Whether or not sending is enabled for sftp_action logs.
86
90
  * `sftp_action_entries_sent` (int64): Number of log entries sent for the lifetime of this destination.
87
91
  * `ftp_action_send_enabled` (boolean): Whether or not sending is enabled for ftp_action logs.
@@ -165,6 +169,7 @@ await SiemHttpDestination.create({
165
169
  'azure_oauth_client_credentials_tenant_id': "example",
166
170
  'azure_oauth_client_credentials_client_id': "example",
167
171
  'qradar_username': "example",
172
+ 'action_send_enabled': true,
168
173
  'sftp_action_send_enabled': true,
169
174
  'ftp_action_send_enabled': true,
170
175
  'web_dav_action_send_enabled': true,
@@ -202,6 +207,7 @@ await SiemHttpDestination.create({
202
207
  * `solar_winds_token` (string): Applicable only for destination type: solar_winds. Authentication token provided by Solar Winds.
203
208
  * `new_relic_api_key` (string): Applicable only for destination type: new_relic. API key provided by New Relic.
204
209
  * `datadog_api_key` (string): Applicable only for destination type: datadog. API key provided by Datadog.
210
+ * `action_send_enabled` (boolean): Whether or not sending is enabled for action logs.
205
211
  * `sftp_action_send_enabled` (boolean): Whether or not sending is enabled for sftp_action logs.
206
212
  * `ftp_action_send_enabled` (boolean): Whether or not sending is enabled for ftp_action logs.
207
213
  * `web_dav_action_send_enabled` (boolean): Whether or not sending is enabled for web_dav_action logs.
@@ -235,6 +241,7 @@ await SiemHttpDestination.sendTestEntry({
235
241
  'azure_oauth_client_credentials_tenant_id': "example",
236
242
  'azure_oauth_client_credentials_client_id': "example",
237
243
  'qradar_username': "example",
244
+ 'action_send_enabled': true,
238
245
  'sftp_action_send_enabled': true,
239
246
  'ftp_action_send_enabled': true,
240
247
  'web_dav_action_send_enabled': true,
@@ -273,6 +280,7 @@ await SiemHttpDestination.sendTestEntry({
273
280
  * `solar_winds_token` (string): Applicable only for destination type: solar_winds. Authentication token provided by Solar Winds.
274
281
  * `new_relic_api_key` (string): Applicable only for destination type: new_relic. API key provided by New Relic.
275
282
  * `datadog_api_key` (string): Applicable only for destination type: datadog. API key provided by Datadog.
283
+ * `action_send_enabled` (boolean): Whether or not sending is enabled for action logs.
276
284
  * `sftp_action_send_enabled` (boolean): Whether or not sending is enabled for sftp_action logs.
277
285
  * `ftp_action_send_enabled` (boolean): Whether or not sending is enabled for ftp_action logs.
278
286
  * `web_dav_action_send_enabled` (boolean): Whether or not sending is enabled for web_dav_action logs.
@@ -305,6 +313,7 @@ await siem_http_destination.update({
305
313
  'azure_oauth_client_credentials_tenant_id': "example",
306
314
  'azure_oauth_client_credentials_client_id': "example",
307
315
  'qradar_username': "example",
316
+ 'action_send_enabled': true,
308
317
  'sftp_action_send_enabled': true,
309
318
  'ftp_action_send_enabled': true,
310
319
  'web_dav_action_send_enabled': true,
@@ -342,6 +351,7 @@ await siem_http_destination.update({
342
351
  * `solar_winds_token` (string): Applicable only for destination type: solar_winds. Authentication token provided by Solar Winds.
343
352
  * `new_relic_api_key` (string): Applicable only for destination type: new_relic. API key provided by New Relic.
344
353
  * `datadog_api_key` (string): Applicable only for destination type: datadog. API key provided by Datadog.
354
+ * `action_send_enabled` (boolean): Whether or not sending is enabled for action logs.
345
355
  * `sftp_action_send_enabled` (boolean): Whether or not sending is enabled for sftp_action logs.
346
356
  * `ftp_action_send_enabled` (boolean): Whether or not sending is enabled for ftp_action logs.
347
357
  * `web_dav_action_send_enabled` (boolean): Whether or not sending is enabled for web_dav_action logs.
@@ -383,6 +393,8 @@ await siem_http_destination.update({
383
393
  "solar_winds_token_masked": "example",
384
394
  "new_relic_api_key_masked": "example",
385
395
  "datadog_api_key_masked": "example",
396
+ "action_send_enabled": true,
397
+ "action_entries_sent": 1,
386
398
  "sftp_action_send_enabled": true,
387
399
  "sftp_action_entries_sent": 1,
388
400
  "ftp_action_send_enabled": true,
package/lib/Files.js CHANGED
@@ -12,7 +12,7 @@ var apiKey;
12
12
  var baseUrl = 'https://app.files.com';
13
13
  var sessionId = null;
14
14
  var language = null;
15
- var version = '1.2.515';
15
+ var version = '1.2.517';
16
16
  var userAgent = "Files.com JavaScript SDK v".concat(version);
17
17
  var logLevel = _Logger.LogLevel.INFO;
18
18
  var debugRequest = false;
@@ -107,7 +107,7 @@ _AutomationRun = AutomationRun;
107
107
  // 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.
108
108
  // per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
109
109
  // sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `automation_id`, `created_at` or `status`.
110
- // filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `status`, `workspace_id` or `automation_id`. Valid field combinations are `[ workspace_id, status ]`, `[ automation_id, status ]`, `[ workspace_id, automation_id ]` or `[ workspace_id, automation_id, status ]`.
110
+ // filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `status`, `workspace_id` or `automation_id`. Valid field combinations are `[ automation_id, status ]`, `[ workspace_id, automation_id ]` or `[ workspace_id, automation_id, status ]`.
111
111
  // automation_id (required) - int64 - ID of the associated Automation.
112
112
  (0, _defineProperty2.default)(AutomationRun, "list", /*#__PURE__*/(0, _asyncToGenerator2.default)(/*#__PURE__*/_regenerator.default.mark(function _callee() {
113
113
  var _response$data;
@@ -699,7 +699,7 @@ _Bundle = Bundle;
699
699
  // 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.
700
700
  // per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
701
701
  // sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `expires_at`.
702
- // filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`, `expires_at`, `code` or `user_id`. Valid field combinations are `[ user_id, expires_at ]`.
702
+ // filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`, `expires_at`, `code` or `user_id`. Valid field combinations are `[ user_id, created_at ]` and `[ user_id, expires_at ]`.
703
703
  // filter_gt - object - If set, return records where the specified field is greater than the supplied value. Valid fields are `created_at` and `expires_at`.
704
704
  // filter_gteq - object - If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `created_at` and `expires_at`.
705
705
  // filter_prefix - object - If set, return records where the specified field is prefixed by the supplied value. Valid fields are `code`.
@@ -179,6 +179,20 @@ var SiemHttpDestination = /*#__PURE__*/(0, _createClass2.default)(function SiemH
179
179
  (0, _defineProperty2.default)(this, "setDatadogApiKeyMasked", function (value) {
180
180
  _this.attributes.datadog_api_key_masked = value;
181
181
  });
182
+ // boolean # Whether or not sending is enabled for action logs.
183
+ (0, _defineProperty2.default)(this, "getActionSendEnabled", function () {
184
+ return _this.attributes.action_send_enabled;
185
+ });
186
+ (0, _defineProperty2.default)(this, "setActionSendEnabled", function (value) {
187
+ _this.attributes.action_send_enabled = value;
188
+ });
189
+ // int64 # Number of log entries sent for the lifetime of this destination.
190
+ (0, _defineProperty2.default)(this, "getActionEntriesSent", function () {
191
+ return _this.attributes.action_entries_sent;
192
+ });
193
+ (0, _defineProperty2.default)(this, "setActionEntriesSent", function (value) {
194
+ _this.attributes.action_entries_sent = value;
195
+ });
182
196
  // boolean # Whether or not sending is enabled for sftp_action logs.
183
197
  (0, _defineProperty2.default)(this, "getSftpActionSendEnabled", function () {
184
198
  return _this.attributes.sftp_action_send_enabled;
@@ -457,6 +471,7 @@ var SiemHttpDestination = /*#__PURE__*/(0, _createClass2.default)(function SiemH
457
471
  // solar_winds_token - string - Applicable only for destination type: solar_winds. Authentication token provided by Solar Winds.
458
472
  // new_relic_api_key - string - Applicable only for destination type: new_relic. API key provided by New Relic.
459
473
  // datadog_api_key - string - Applicable only for destination type: datadog. API key provided by Datadog.
474
+ // action_send_enabled - boolean - Whether or not sending is enabled for action logs.
460
475
  // sftp_action_send_enabled - boolean - Whether or not sending is enabled for sftp_action logs.
461
476
  // ftp_action_send_enabled - boolean - Whether or not sending is enabled for ftp_action logs.
462
477
  // web_dav_action_send_enabled - boolean - Whether or not sending is enabled for web_dav_action logs.
@@ -839,6 +854,7 @@ _SiemHttpDestination = SiemHttpDestination;
839
854
  // solar_winds_token - string - Applicable only for destination type: solar_winds. Authentication token provided by Solar Winds.
840
855
  // new_relic_api_key - string - Applicable only for destination type: new_relic. API key provided by New Relic.
841
856
  // datadog_api_key - string - Applicable only for destination type: datadog. API key provided by Datadog.
857
+ // action_send_enabled - boolean - Whether or not sending is enabled for action logs.
842
858
  // sftp_action_send_enabled - boolean - Whether or not sending is enabled for sftp_action logs.
843
859
  // ftp_action_send_enabled - boolean - Whether or not sending is enabled for ftp_action logs.
844
860
  // web_dav_action_send_enabled - boolean - Whether or not sending is enabled for web_dav_action logs.
@@ -1009,6 +1025,7 @@ _SiemHttpDestination = SiemHttpDestination;
1009
1025
  // solar_winds_token - string - Applicable only for destination type: solar_winds. Authentication token provided by Solar Winds.
1010
1026
  // new_relic_api_key - string - Applicable only for destination type: new_relic. API key provided by New Relic.
1011
1027
  // datadog_api_key - string - Applicable only for destination type: datadog. API key provided by Datadog.
1028
+ // action_send_enabled - boolean - Whether or not sending is enabled for action logs.
1012
1029
  // sftp_action_send_enabled - boolean - Whether or not sending is enabled for sftp_action logs.
1013
1030
  // ftp_action_send_enabled - boolean - Whether or not sending is enabled for ftp_action logs.
1014
1031
  // web_dav_action_send_enabled - boolean - Whether or not sending is enabled for web_dav_action logs.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "files.com",
3
- "version": "1.2.515",
3
+ "version": "1.2.517",
4
4
  "description": "Files.com SDK for JavaScript",
5
5
  "keywords": [
6
6
  "files.com",
package/src/Files.js CHANGED
@@ -6,7 +6,7 @@ let apiKey
6
6
  let baseUrl = 'https://app.files.com'
7
7
  let sessionId = null
8
8
  let language = null
9
- const version = '1.2.515'
9
+ const version = '1.2.517'
10
10
  let userAgent = `Files.com JavaScript SDK v${version}`
11
11
 
12
12
  let logLevel = LogLevel.INFO
@@ -75,7 +75,7 @@ class AutomationRun {
75
75
  // 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.
76
76
  // per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
77
77
  // sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `automation_id`, `created_at` or `status`.
78
- // filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `status`, `workspace_id` or `automation_id`. Valid field combinations are `[ workspace_id, status ]`, `[ automation_id, status ]`, `[ workspace_id, automation_id ]` or `[ workspace_id, automation_id, status ]`.
78
+ // filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `status`, `workspace_id` or `automation_id`. Valid field combinations are `[ automation_id, status ]`, `[ workspace_id, automation_id ]` or `[ workspace_id, automation_id, status ]`.
79
79
  // automation_id (required) - int64 - ID of the associated Automation.
80
80
  static list = async (params = {}, options = {}) => {
81
81
  if (!params.automation_id) {
@@ -556,7 +556,7 @@ class Bundle {
556
556
  // 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.
557
557
  // per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
558
558
  // sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `expires_at`.
559
- // filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`, `expires_at`, `code` or `user_id`. Valid field combinations are `[ user_id, expires_at ]`.
559
+ // filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`, `expires_at`, `code` or `user_id`. Valid field combinations are `[ user_id, created_at ]` and `[ user_id, expires_at ]`.
560
560
  // filter_gt - object - If set, return records where the specified field is greater than the supplied value. Valid fields are `created_at` and `expires_at`.
561
561
  // filter_gteq - object - If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `created_at` and `expires_at`.
562
562
  // filter_prefix - object - If set, return records where the specified field is prefixed by the supplied value. Valid fields are `code`.
@@ -175,6 +175,20 @@ class SiemHttpDestination {
175
175
  this.attributes.datadog_api_key_masked = value
176
176
  }
177
177
 
178
+ // boolean # Whether or not sending is enabled for action logs.
179
+ getActionSendEnabled = () => this.attributes.action_send_enabled
180
+
181
+ setActionSendEnabled = value => {
182
+ this.attributes.action_send_enabled = value
183
+ }
184
+
185
+ // int64 # Number of log entries sent for the lifetime of this destination.
186
+ getActionEntriesSent = () => this.attributes.action_entries_sent
187
+
188
+ setActionEntriesSent = value => {
189
+ this.attributes.action_entries_sent = value
190
+ }
191
+
178
192
  // boolean # Whether or not sending is enabled for sftp_action logs.
179
193
  getSftpActionSendEnabled = () => this.attributes.sftp_action_send_enabled
180
194
 
@@ -453,6 +467,7 @@ class SiemHttpDestination {
453
467
  // solar_winds_token - string - Applicable only for destination type: solar_winds. Authentication token provided by Solar Winds.
454
468
  // new_relic_api_key - string - Applicable only for destination type: new_relic. API key provided by New Relic.
455
469
  // datadog_api_key - string - Applicable only for destination type: datadog. API key provided by Datadog.
470
+ // action_send_enabled - boolean - Whether or not sending is enabled for action logs.
456
471
  // sftp_action_send_enabled - boolean - Whether or not sending is enabled for sftp_action logs.
457
472
  // ftp_action_send_enabled - boolean - Whether or not sending is enabled for ftp_action logs.
458
473
  // web_dav_action_send_enabled - boolean - Whether or not sending is enabled for web_dav_action logs.
@@ -669,6 +684,7 @@ class SiemHttpDestination {
669
684
  // solar_winds_token - string - Applicable only for destination type: solar_winds. Authentication token provided by Solar Winds.
670
685
  // new_relic_api_key - string - Applicable only for destination type: new_relic. API key provided by New Relic.
671
686
  // datadog_api_key - string - Applicable only for destination type: datadog. API key provided by Datadog.
687
+ // action_send_enabled - boolean - Whether or not sending is enabled for action logs.
672
688
  // sftp_action_send_enabled - boolean - Whether or not sending is enabled for sftp_action logs.
673
689
  // ftp_action_send_enabled - boolean - Whether or not sending is enabled for ftp_action logs.
674
690
  // web_dav_action_send_enabled - boolean - Whether or not sending is enabled for web_dav_action logs.
@@ -786,6 +802,7 @@ class SiemHttpDestination {
786
802
  // solar_winds_token - string - Applicable only for destination type: solar_winds. Authentication token provided by Solar Winds.
787
803
  // new_relic_api_key - string - Applicable only for destination type: new_relic. API key provided by New Relic.
788
804
  // datadog_api_key - string - Applicable only for destination type: datadog. API key provided by Datadog.
805
+ // action_send_enabled - boolean - Whether or not sending is enabled for action logs.
789
806
  // sftp_action_send_enabled - boolean - Whether or not sending is enabled for sftp_action logs.
790
807
  // ftp_action_send_enabled - boolean - Whether or not sending is enabled for ftp_action logs.
791
808
  // web_dav_action_send_enabled - boolean - Whether or not sending is enabled for web_dav_action logs.