files.com 1.0.210 → 1.0.212

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.0.210
1
+ 1.0.212
@@ -38,7 +38,7 @@
38
38
  * `end_at` (date-time): End date/time of export range.
39
39
  * `status` (string): Status of export. Will be: `building`, `ready`, or `failed`
40
40
  * `query_action` (string): Filter results by this this action type. Valid values: `create`, `read`, `update`, `destroy`, `move`, `login`, `failedlogin`, `copy`, `user_create`, `user_update`, `user_destroy`, `group_create`, `group_update`, `group_destroy`, `permission_create`, `permission_destroy`, `api_key_create`, `api_key_update`, `api_key_destroy`
41
- * `query_interface` (string): Filter results by this this interface type. Valid values: `web`, `ftp`, `robot`, `jsapi`, `webdesktopapi`, `sftp`, `dav`, `desktop`, `restapi`, `scim`, `office`, `mobile`, `as2`
41
+ * `query_interface` (string): Filter results by this this interface type. Valid values: `web`, `ftp`, `robot`, `jsapi`, `webdesktopapi`, `sftp`, `dav`, `desktop`, `restapi`, `scim`, `office`, `mobile`, `as2`, `inbound_email`
42
42
  * `query_user_id` (string): Return results that are actions performed by the user indiciated by this User ID
43
43
  * `query_file_id` (string): Return results that are file actions related to the file indicated by this File ID
44
44
  * `query_parent_id` (string): Return results that are file actions inside the parent folder specified by this folder ID
@@ -110,7 +110,7 @@ await HistoryExport.create({
110
110
  * `start_at` (string): Start date/time of export range.
111
111
  * `end_at` (string): End date/time of export range.
112
112
  * `query_action` (string): Filter results by this this action type. Valid values: `create`, `read`, `update`, `destroy`, `move`, `login`, `failedlogin`, `copy`, `user_create`, `user_update`, `user_destroy`, `group_create`, `group_update`, `group_destroy`, `permission_create`, `permission_destroy`, `api_key_create`, `api_key_update`, `api_key_destroy`
113
- * `query_interface` (string): Filter results by this this interface type. Valid values: `web`, `ftp`, `robot`, `jsapi`, `webdesktopapi`, `sftp`, `dav`, `desktop`, `restapi`, `scim`, `office`, `mobile`, `as2`
113
+ * `query_interface` (string): Filter results by this this interface type. Valid values: `web`, `ftp`, `robot`, `jsapi`, `webdesktopapi`, `sftp`, `dav`, `desktop`, `restapi`, `scim`, `office`, `mobile`, `as2`, `inbound_email`
114
114
  * `query_user_id` (string): Return results that are actions performed by the user indiciated by this User ID
115
115
  * `query_file_id` (string): Return results that are file actions related to the file indicated by this File ID
116
116
  * `query_parent_id` (string): Return results that are file actions inside the parent folder specified by this folder ID
@@ -43,7 +43,7 @@
43
43
  * `username` (string): Username of the user that performed the action
44
44
  * `action` (string): What action was taken. Valid values: `create`, `read`, `update`, `destroy`, `move`, `login`, `failedlogin`, `copy`, `user_create`, `user_update`, `user_destroy`, `group_create`, `group_update`, `group_destroy`, `permission_create`, `permission_destroy`, `api_key_create`, `api_key_update`, `api_key_destroy`
45
45
  * `failure_type` (string): The type of login failure, if applicable. Valid values: `expired_trial`, `account_overdue`, `locked_out`, `ip_mismatch`, `password_mismatch`, `site_mismatch`, `username_not_found`, `none`, `no_ftp_permission`, `no_web_permission`, `no_directory`, `errno_enoent`, `no_sftp_permission`, `no_dav_permission`, `no_restapi_permission`, `key_mismatch`, `region_mismatch`, `expired_access`, `desktop_ip_mismatch`, `desktop_api_key_not_used_quickly_enough`, `disabled`, `country_mismatch`
46
- * `interface` (string): Inteface through which the action was taken. Valid values: `web`, `ftp`, `robot`, `jsapi`, `webdesktopapi`, `sftp`, `dav`, `desktop`, `restapi`, `scim`, `office`, `mobile`, `as2`
46
+ * `interface` (string): Inteface through which the action was taken. Valid values: `web`, `ftp`, `robot`, `jsapi`, `webdesktopapi`, `sftp`, `dav`, `desktop`, `restapi`, `scim`, `office`, `mobile`, `as2`, `inbound_email`
47
47
  * `target_id` (int64): ID of the object (such as Users, or API Keys) on which the action was taken
48
48
  * `target_name` (string): Name of the User, Group or other object with a name related to this action
49
49
  * `target_permission` (string): Permission level of the action
@@ -42,6 +42,7 @@
42
42
  "mobile_app_session_ip_pinning": true,
43
43
  "mobile_app_session_lifetime": 1,
44
44
  "disallowed_countries": "US,DE",
45
+ "disable_files_certificate_generation": true,
45
46
  "disable_notifications": true,
46
47
  "disable_password_reset": true,
47
48
  "domain": "my-custom-domain.com",
@@ -265,6 +266,7 @@
265
266
  * `mobile_app_session_ip_pinning` (boolean): Is mobile app session IP pinning enabled?
266
267
  * `mobile_app_session_lifetime` (int64): Mobile app session lifetime (in hours)
267
268
  * `disallowed_countries` (string): Comma seperated list of disallowed Country codes
269
+ * `disable_files_certificate_generation` (boolean): If set, Files.com will not set the CAA records required to generate future SSL certificates for this domain.
268
270
  * `disable_notifications` (boolean): Are notifications disabled?
269
271
  * `disable_password_reset` (boolean): Is password reset disabled?
270
272
  * `domain` (string): Custom domain
@@ -416,6 +418,7 @@ await Site.update({
416
418
  'ssl_required': true,
417
419
  'tls_disabled': true,
418
420
  'sftp_insecure_ciphers': true,
421
+ 'disable_files_certificate_generation': true,
419
422
  'user_lockout': true,
420
423
  'user_lockout_tries': 1,
421
424
  'user_lockout_within': 1,
@@ -527,6 +530,7 @@ await Site.update({
527
530
  * `ssl_required` (boolean): Is SSL required? Disabling this is insecure.
528
531
  * `tls_disabled` (boolean): Are Insecure TLS and SFTP Ciphers allowed? Enabling this is insecure.
529
532
  * `sftp_insecure_ciphers` (boolean): Are Insecure Ciphers allowed for SFTP? Note: Settting TLS Disabled -> True will always allow insecure ciphers for SFTP as well. Enabling this is insecure.
533
+ * `disable_files_certificate_generation` (boolean): If set, Files.com will not set the CAA records required to generate future SSL certificates for this domain.
530
534
  * `user_lockout` (boolean): Will users be locked out after incorrect login attempts?
531
535
  * `user_lockout_tries` (int64): Number of login tries within `user_lockout_within` hours before users are locked out
532
536
  * `user_lockout_within` (int64): Number of hours for user lockout window
@@ -154,6 +154,9 @@ var Site = /*#__PURE__*/(0, _createClass2.default)(function Site() {
154
154
  (0, _defineProperty2.default)(this, "getDisallowedCountries", function () {
155
155
  return _this.attributes.disallowed_countries;
156
156
  });
157
+ (0, _defineProperty2.default)(this, "getDisableFilesCertificateGeneration", function () {
158
+ return _this.attributes.disable_files_certificate_generation;
159
+ });
157
160
  (0, _defineProperty2.default)(this, "getDisableNotifications", function () {
158
161
  return _this.attributes.disable_notifications;
159
162
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "files.com",
3
- "version": "1.0.210",
3
+ "version": "1.0.212",
4
4
  "description": "Files.com SDK for JavaScript",
5
5
  "keywords": [
6
6
  "files.com",
@@ -23,8 +23,7 @@
23
23
  "axios": "0.27.2",
24
24
  "axios-retry": "3.3.1",
25
25
  "readable-stream": "^3.6.0",
26
- "safe-buffer": "^5.1.1",
27
- "uuid": "^3.3.2"
26
+ "safe-buffer": "^5.1.1"
28
27
  },
29
28
  "license": "MIT",
30
29
  "devDependencies": {
@@ -65,7 +65,7 @@ class HistoryExport {
65
65
  this.attributes.query_action = value
66
66
  }
67
67
 
68
- // string # Filter results by this this interface type. Valid values: `web`, `ftp`, `robot`, `jsapi`, `webdesktopapi`, `sftp`, `dav`, `desktop`, `restapi`, `scim`, `office`, `mobile`, `as2`
68
+ // string # Filter results by this this interface type. Valid values: `web`, `ftp`, `robot`, `jsapi`, `webdesktopapi`, `sftp`, `dav`, `desktop`, `restapi`, `scim`, `office`, `mobile`, `as2`, `inbound_email`
69
69
  getQueryInterface = () => this.attributes.query_interface
70
70
 
71
71
  setQueryInterface = value => {
@@ -246,7 +246,7 @@ class HistoryExport {
246
246
  // start_at - string - Start date/time of export range.
247
247
  // end_at - string - End date/time of export range.
248
248
  // query_action - string - Filter results by this this action type. Valid values: `create`, `read`, `update`, `destroy`, `move`, `login`, `failedlogin`, `copy`, `user_create`, `user_update`, `user_destroy`, `group_create`, `group_update`, `group_destroy`, `permission_create`, `permission_destroy`, `api_key_create`, `api_key_update`, `api_key_destroy`
249
- // query_interface - string - Filter results by this this interface type. Valid values: `web`, `ftp`, `robot`, `jsapi`, `webdesktopapi`, `sftp`, `dav`, `desktop`, `restapi`, `scim`, `office`, `mobile`, `as2`
249
+ // query_interface - string - Filter results by this this interface type. Valid values: `web`, `ftp`, `robot`, `jsapi`, `webdesktopapi`, `sftp`, `dav`, `desktop`, `restapi`, `scim`, `office`, `mobile`, `as2`, `inbound_email`
250
250
  // query_user_id - string - Return results that are actions performed by the user indiciated by this User ID
251
251
  // query_file_id - string - Return results that are file actions related to the file indicated by this File ID
252
252
  // query_parent_id - string - Return results that are file actions inside the parent folder specified by this folder ID
@@ -62,7 +62,7 @@ class HistoryExportResult {
62
62
  // string # The type of login failure, if applicable. Valid values: `expired_trial`, `account_overdue`, `locked_out`, `ip_mismatch`, `password_mismatch`, `site_mismatch`, `username_not_found`, `none`, `no_ftp_permission`, `no_web_permission`, `no_directory`, `errno_enoent`, `no_sftp_permission`, `no_dav_permission`, `no_restapi_permission`, `key_mismatch`, `region_mismatch`, `expired_access`, `desktop_ip_mismatch`, `desktop_api_key_not_used_quickly_enough`, `disabled`, `country_mismatch`
63
63
  getFailureType = () => this.attributes.failure_type
64
64
 
65
- // string # Inteface through which the action was taken. Valid values: `web`, `ftp`, `robot`, `jsapi`, `webdesktopapi`, `sftp`, `dav`, `desktop`, `restapi`, `scim`, `office`, `mobile`, `as2`
65
+ // string # Inteface through which the action was taken. Valid values: `web`, `ftp`, `robot`, `jsapi`, `webdesktopapi`, `sftp`, `dav`, `desktop`, `restapi`, `scim`, `office`, `mobile`, `as2`, `inbound_email`
66
66
  getInterface = () => this.attributes.interface
67
67
 
68
68
  // int64 # ID of the object (such as Users, or API Keys) on which the action was taken
@@ -128,6 +128,9 @@ class Site {
128
128
  // string # Comma seperated list of disallowed Country codes
129
129
  getDisallowedCountries = () => this.attributes.disallowed_countries
130
130
 
131
+ // boolean # If set, Files.com will not set the CAA records required to generate future SSL certificates for this domain.
132
+ getDisableFilesCertificateGeneration = () => this.attributes.disable_files_certificate_generation
133
+
131
134
  // boolean # Are notifications disabled?
132
135
  getDisableNotifications = () => this.attributes.disable_notifications
133
136
 
@@ -463,6 +466,7 @@ class Site {
463
466
  // ssl_required - boolean - Is SSL required? Disabling this is insecure.
464
467
  // tls_disabled - boolean - Are Insecure TLS and SFTP Ciphers allowed? Enabling this is insecure.
465
468
  // sftp_insecure_ciphers - boolean - Are Insecure Ciphers allowed for SFTP? Note: Settting TLS Disabled -> True will always allow insecure ciphers for SFTP as well. Enabling this is insecure.
469
+ // disable_files_certificate_generation - boolean - If set, Files.com will not set the CAA records required to generate future SSL certificates for this domain.
466
470
  // user_lockout - boolean - Will users be locked out after incorrect login attempts?
467
471
  // user_lockout_tries - int64 - Number of login tries within `user_lockout_within` hours before users are locked out
468
472
  // user_lockout_within - int64 - Number of hours for user lockout window