files.com 1.1.105 → 1.1.107

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: fae4bc234f5c3380267d0fa7554532c1dac0893f0c80df77635c15592acd0eb7
4
- data.tar.gz: e0af402980966eb954154d0a9bc4c52013ef419036695ba384e646111dc5d84b
3
+ metadata.gz: 4bbe4d169ac2eda4d4ea012a8d9dc7371ea90084d50c4afcd4630c4bfc059091
4
+ data.tar.gz: 696362385417f0e54cdcb4330950a14fda115b821febd1a104c33887781f14ff
5
5
  SHA512:
6
- metadata.gz: 692a3c79ebe846e00ca706cad44e3e59f794ac47e73d51621713ed51acbd7a5e45a408bbff3f8011f2f880bc9b3a42602b42a0634a6695bd3fca865c85179257
7
- data.tar.gz: aa56e23948e98698900e5d33d4fccd97a614b84a7f9882e0c429c5786c5c27672def4a548a0b0a423138cd7d2e0147ea55949b1ea964528f9a8de53fd07fca6b
6
+ metadata.gz: 20a406d31f96b106420c21adf642eb116b158f8f1c6d3ec620326382c5082a259d30a10f87eb216aad8745feb22a410df53310332509eaf163240335dbe5db74
7
+ data.tar.gz: 1c5841d83dee98b9030fb102cb2af47ce181d8d001be486a61df8afb6e4a011457e025bcb666f3e49f2580f50813dcfc8f65d7d0b0345e3d65ad4080305029cb
data/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.105
1
+ 1.1.107
data/docs/action.md CHANGED
@@ -16,6 +16,7 @@
16
16
  ],
17
17
  "user_id": 1,
18
18
  "username": "user",
19
+ "user_is_from_parent_site": true,
19
20
  "action": "create",
20
21
  "failure_type": "none",
21
22
  "interface": "web"
@@ -32,6 +33,7 @@
32
33
  * `targets` (array(object)): Targets
33
34
  * `user_id` (int64): User ID
34
35
  * `username` (string): Username
36
+ * `user_is_from_parent_site` (boolean): true if this change was performed by a user on a parent site.
35
37
  * `action` (string): Type of action
36
38
  * `failure_type` (string): Failure type. If action was a user login or session failure, why did it fail?
37
39
  * `interface` (string): Interface on which this action occurred.
@@ -9,6 +9,7 @@
9
9
  "api_key_prefix": "example",
10
10
  "user_id": 1,
11
11
  "username": "example",
12
+ "user_is_from_parent_site": true,
12
13
  "interface": "example",
13
14
  "request_method": "example",
14
15
  "request_path": "example",
@@ -30,6 +31,7 @@
30
31
  * `api_key_prefix` (string): API Key Prefix, if applicable
31
32
  * `user_id` (int64): User ID
32
33
  * `username` (string): Username
34
+ * `user_is_from_parent_site` (boolean): true if this change was performed by a user on a parent site.
33
35
  * `interface` (string): API Interface
34
36
  * `request_method` (string): HTTP Method
35
37
  * `request_path` (string): Request path
@@ -50,10 +52,7 @@
50
52
  ## List API Request Logs
51
53
 
52
54
  ```
53
- Files::ApiRequestLog.list(
54
- filter: "",
55
- filter_prefix: ""
56
- )
55
+ Files::ApiRequestLog.list
57
56
  ```
58
57
 
59
58
  ### Parameters
data/docs/app.md CHANGED
@@ -58,11 +58,7 @@
58
58
  ## List Apps
59
59
 
60
60
  ```
61
- Files::App.list(
62
- sort_by: "",
63
- filter: "",
64
- filter_prefix: ""
65
- )
61
+ Files::App.list
66
62
  ```
67
63
 
68
64
  ### Parameters
@@ -32,10 +32,7 @@
32
32
  ## List Automation Logs
33
33
 
34
34
  ```
35
- Files::AutomationLog.list(
36
- filter: "",
37
- filter_prefix: ""
38
- )
35
+ Files::AutomationLog.list
39
36
  ```
40
37
 
41
38
  ### Parameters
@@ -32,14 +32,7 @@
32
32
  ## List Bandwidth Snapshots
33
33
 
34
34
  ```
35
- Files::BandwidthSnapshot.list(
36
- sort_by: "",
37
- filter: "",
38
- filter_gt: "",
39
- filter_gteq: "",
40
- filter_lt: "",
41
- filter_lteq: ""
42
- )
35
+ Files::BandwidthSnapshot.list
43
36
  ```
44
37
 
45
38
  ### Parameters
data/docs/behavior.md CHANGED
@@ -36,11 +36,7 @@
36
36
  ## List Behaviors
37
37
 
38
38
  ```
39
- Files::Behavior.list(
40
- sort_by: "",
41
- filter: "",
42
- filter_prefix: ""
43
- )
39
+ Files::Behavior.list
44
40
  ```
45
41
 
46
42
  ### Parameters
@@ -24,10 +24,7 @@
24
24
  ## List Bundle Notifications
25
25
 
26
26
  ```
27
- Files::BundleNotification.list(
28
- sort_by: "",
29
- filter: ""
30
- )
27
+ Files::BundleNotification.list
31
28
  ```
32
29
 
33
30
  ### Parameters
@@ -32,15 +32,7 @@
32
32
  ## List Email Incoming Messages
33
33
 
34
34
  ```
35
- Files::EmailIncomingMessage.list(
36
- sort_by: "",
37
- filter: "",
38
- filter_gt: "",
39
- filter_gteq: "",
40
- filter_prefix: "",
41
- filter_lt: "",
42
- filter_lteq: ""
43
- )
35
+ Files::EmailIncomingMessage.list
44
36
  ```
45
37
 
46
38
  ### Parameters
data/docs/email_log.md CHANGED
@@ -32,10 +32,7 @@
32
32
  ## List Email Logs
33
33
 
34
34
  ```
35
- Files::EmailLog.list(
36
- filter: "",
37
- filter_prefix: ""
38
- )
35
+ Files::EmailLog.list
39
36
  ```
40
37
 
41
38
  ### Parameters
@@ -36,10 +36,7 @@
36
36
  ## List Exavault API Request Logs
37
37
 
38
38
  ```
39
- Files::ExavaultApiRequestLog.list(
40
- filter: "",
41
- filter_prefix: ""
42
- )
39
+ Files::ExavaultApiRequestLog.list
43
40
  ```
44
41
 
45
42
  ### Parameters
@@ -40,15 +40,7 @@
40
40
  ## List External Events
41
41
 
42
42
  ```
43
- Files::ExternalEvent.list(
44
- sort_by: "",
45
- filter: "",
46
- filter_gt: "",
47
- filter_gteq: "",
48
- filter_prefix: "",
49
- filter_lt: "",
50
- filter_lteq: ""
51
- )
43
+ Files::ExternalEvent.list
52
44
  ```
53
45
 
54
46
  ### Parameters
@@ -30,10 +30,7 @@
30
30
  ## List File Migration Logs
31
31
 
32
32
  ```
33
- Files::FileMigrationLog.list(
34
- filter: "",
35
- filter_prefix: ""
36
- )
33
+ Files::FileMigrationLog.list
37
34
  ```
38
35
 
39
36
  ### Parameters
@@ -50,10 +50,7 @@
50
50
  ## List FTP Action Logs
51
51
 
52
52
  ```
53
- Files::FtpActionLog.list(
54
- filter: "",
55
- filter_prefix: ""
56
- )
53
+ Files::FtpActionLog.list
57
54
  ```
58
55
 
59
56
  ### Parameters
data/docs/group.md CHANGED
@@ -36,12 +36,7 @@
36
36
  ## List Groups
37
37
 
38
38
  ```
39
- Files::Group.list(
40
- sort_by: "",
41
- filter: "",
42
- filter_prefix: "",
43
- ids: ""
44
- )
39
+ Files::Group.list
45
40
  ```
46
41
 
47
42
  ### Parameters
data/docs/history.md CHANGED
@@ -16,6 +16,7 @@
16
16
  ],
17
17
  "user_id": 1,
18
18
  "username": "user",
19
+ "user_is_from_parent_site": true,
19
20
  "action": "create",
20
21
  "failure_type": "none",
21
22
  "interface": "web"
@@ -32,6 +33,7 @@
32
33
  * `targets` (array(object)): Targets
33
34
  * `user_id` (int64): User ID
34
35
  * `username` (string): Username
36
+ * `user_is_from_parent_site` (boolean): true if this change was performed by a user on a parent site.
35
37
  * `action` (string): Type of action
36
38
  * `failure_type` (string): Failure type. If action was a user login or session failure, why did it fail?
37
39
  * `interface` (string): Interface on which this action occurred.
@@ -16,6 +16,7 @@
16
16
  "destination": "DestFolder",
17
17
  "ip": "127.0.0.1",
18
18
  "username": "jerry",
19
+ "user_is_from_parent_site": true,
19
20
  "action": "read",
20
21
  "failure_type": "bad_password",
21
22
  "interface": "ftp",
@@ -44,6 +45,7 @@
44
45
  * `destination` (string): File moved to this destination folder
45
46
  * `ip` (string): Client IP that performed the action
46
47
  * `username` (string): Username of the user that performed the action
48
+ * `user_is_from_parent_site` (boolean): true if this change was performed by a user on a parent site.
47
49
  * `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`
48
50
  * `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`, `insecure_ftp`, `insecure_cipher`, `rate_limited`
49
51
  * `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`, `remote`
@@ -42,10 +42,7 @@
42
42
  ## List Outbound Connection Logs
43
43
 
44
44
  ```
45
- Files::OutboundConnectionLog.list(
46
- filter: "",
47
- filter_prefix: ""
48
- )
45
+ Files::OutboundConnectionLog.list
49
46
  ```
50
47
 
51
48
  ### Parameters
@@ -30,10 +30,7 @@
30
30
  ## List Public Hosting Request Logs
31
31
 
32
32
  ```
33
- Files::PublicHostingRequestLog.list(
34
- filter: "",
35
- filter_prefix: ""
36
- )
33
+ Files::PublicHostingRequestLog.list
37
34
  ```
38
35
 
39
36
  ### Parameters
@@ -24,14 +24,7 @@
24
24
  ## List Remote Bandwidth Snapshots
25
25
 
26
26
  ```
27
- Files::RemoteBandwidthSnapshot.list(
28
- sort_by: "",
29
- filter: "",
30
- filter_gt: "",
31
- filter_gteq: "",
32
- filter_lt: "",
33
- filter_lteq: ""
34
- )
27
+ Files::RemoteBandwidthSnapshot.list
35
28
  ```
36
29
 
37
30
  ### Parameters
@@ -11,6 +11,7 @@
11
11
  "user_id": 1,
12
12
  "api_key_id": 1,
13
13
  "user_is_files_support": true,
14
+ "user_is_from_parent_site": true,
14
15
  "username": "some_user"
15
16
  }
16
17
  ```
@@ -20,6 +21,7 @@
20
21
  * `user_id` (int64): The user id responsible for this change
21
22
  * `api_key_id` (int64): The API key id responsible for this change
22
23
  * `user_is_files_support` (boolean): true if this change was performed by Files.com support.
24
+ * `user_is_from_parent_site` (boolean): true if this change was performed by a user on a parent site.
23
25
  * `username` (string): The username of the user responsible for this change
24
26
 
25
27
 
@@ -28,10 +30,7 @@
28
30
  ## List Settings Changes
29
31
 
30
32
  ```
31
- Files::SettingsChange.list(
32
- sort_by: "",
33
- filter: ""
34
- )
33
+ Files::SettingsChange.list
35
34
  ```
36
35
 
37
36
  ### Parameters
@@ -54,10 +54,7 @@
54
54
  ## List SFTP Action Logs
55
55
 
56
56
  ```
57
- Files::SftpActionLog.list(
58
- filter: "",
59
- filter_prefix: ""
60
- )
57
+ Files::SftpActionLog.list
61
58
  ```
62
59
 
63
60
  ### Parameters
data/docs/site.md CHANGED
@@ -169,7 +169,8 @@
169
169
  "allowed_2fa_method_webauthn": true,
170
170
  "allowed_2fa_method_yubi": true,
171
171
  "use_provided_modified_at": true,
172
- "windows_mode_ftp": false
172
+ "windows_mode_ftp": false,
173
+ "user_belongs_to_parent_site": false
173
174
  },
174
175
  "session_pinned_by_ip": true,
175
176
  "sftp_enabled": true,
data/docs/sync_log.md CHANGED
@@ -34,10 +34,7 @@
34
34
  ## List Sync Logs
35
35
 
36
36
  ```
37
- Files::SyncLog.list(
38
- filter: "",
39
- filter_prefix: ""
40
- )
37
+ Files::SyncLog.list
41
38
  ```
42
39
 
43
40
  ### Parameters
@@ -38,14 +38,7 @@
38
38
  ## List Usage Daily Snapshots
39
39
 
40
40
  ```
41
- Files::UsageDailySnapshot.list(
42
- sort_by: "",
43
- filter: "",
44
- filter_gt: "",
45
- filter_gteq: "",
46
- filter_lt: "",
47
- filter_lteq: ""
48
- )
41
+ Files::UsageDailySnapshot.list
49
42
  ```
50
43
 
51
44
  ### Parameters
data/docs/user.md CHANGED
@@ -150,17 +150,7 @@
150
150
  ## List Users
151
151
 
152
152
  ```
153
- Files::User.list(
154
- sort_by: "",
155
- filter: "",
156
- filter_gt: "",
157
- filter_gteq: "",
158
- filter_prefix: "",
159
- filter_lt: "",
160
- filter_lteq: "",
161
- ids: "",
162
- search: ""
163
- )
153
+ Files::User.list
164
154
  ```
165
155
 
166
156
  ### Parameters
@@ -46,10 +46,7 @@
46
46
  ## List WebDAV Action Logs
47
47
 
48
48
  ```
49
- Files::WebDavActionLog.list(
50
- filter: "",
51
- filter_prefix: ""
52
- )
49
+ Files::WebDavActionLog.list
53
50
  ```
54
51
 
55
52
  ### Parameters
@@ -95,6 +95,7 @@ module Files
95
95
  class InvalidCredentialsError < NotAuthenticatedError; end
96
96
  class InvalidOauthError < NotAuthenticatedError; end
97
97
  class InvalidOrExpiredCodeError < NotAuthenticatedError; end
98
+ class InvalidSessionError < NotAuthenticatedError; end
98
99
  class InvalidUsernameOrPasswordError < NotAuthenticatedError; end
99
100
  class LockedOutError < NotAuthenticatedError; end
100
101
  class LockoutRegionMismatchError < NotAuthenticatedError; end
@@ -119,6 +120,7 @@ module Files
119
120
  class FullPermissionRequiredError < NotAuthorizedError; end
120
121
  class HistoryPermissionRequiredError < NotAuthorizedError; end
121
122
  class InsufficientPermissionForParamsError < NotAuthorizedError; end
123
+ class InsufficientPermissionForSiteError < NotAuthorizedError; end
122
124
  class MustAuthenticateWithApiKeyError < NotAuthorizedError; end
123
125
  class NeedAdminPermissionForInboxError < NotAuthorizedError; end
124
126
  class NonAdminsMustQueryByFolderOrPathError < NotAuthorizedError; end
@@ -59,6 +59,11 @@ module Files
59
59
  @attributes[:username]
60
60
  end
61
61
 
62
+ # boolean - true if this change was performed by a user on a parent site.
63
+ def user_is_from_parent_site
64
+ @attributes[:user_is_from_parent_site]
65
+ end
66
+
62
67
  # string - Type of action
63
68
  def action
64
69
  @attributes[:action]
@@ -34,6 +34,11 @@ module Files
34
34
  @attributes[:username]
35
35
  end
36
36
 
37
+ # boolean - true if this change was performed by a user on a parent site.
38
+ def user_is_from_parent_site
39
+ @attributes[:user_is_from_parent_site]
40
+ end
41
+
37
42
  # string - API Interface
38
43
  def interface
39
44
  @attributes[:interface]
@@ -59,6 +59,11 @@ module Files
59
59
  @attributes[:username]
60
60
  end
61
61
 
62
+ # boolean - true if this change was performed by a user on a parent site.
63
+ def user_is_from_parent_site
64
+ @attributes[:user_is_from_parent_site]
65
+ end
66
+
62
67
  # string - Type of action
63
68
  def action
64
69
  @attributes[:action]
@@ -69,6 +69,11 @@ module Files
69
69
  @attributes[:username]
70
70
  end
71
71
 
72
+ # boolean - true if this change was performed by a user on a parent site.
73
+ def user_is_from_parent_site
74
+ @attributes[:user_is_from_parent_site]
75
+ end
76
+
72
77
  # 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`
73
78
  def action
74
79
  @attributes[:action]
@@ -34,6 +34,11 @@ module Files
34
34
  @attributes[:user_is_files_support]
35
35
  end
36
36
 
37
+ # boolean - true if this change was performed by a user on a parent site.
38
+ def user_is_from_parent_site
39
+ @attributes[:user_is_from_parent_site]
40
+ end
41
+
37
42
  # string - The username of the user responsible for this change
38
43
  def username
39
44
  @attributes[:username]
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Files
4
- VERSION = "1.1.105"
4
+ VERSION = "1.1.107"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: files.com
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.105
4
+ version: 1.1.107
5
5
  platform: ruby
6
6
  authors:
7
7
  - files.com
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-07-30 00:00:00.000000000 Z
11
+ date: 2024-08-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable