files.com 1.1.106 → 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: a91ef125db3605d3bda968568dcdacdd66f6816325fa97265fa2e19fc83b1e0d
4
- data.tar.gz: 1646f4b48221f6e611d06ba1fcec76b5e1dd3ba6ed5a61a888015f07950bc247
3
+ metadata.gz: 4bbe4d169ac2eda4d4ea012a8d9dc7371ea90084d50c4afcd4630c4bfc059091
4
+ data.tar.gz: 696362385417f0e54cdcb4330950a14fda115b821febd1a104c33887781f14ff
5
5
  SHA512:
6
- metadata.gz: d252add91d9ff14ed7185cec0be805ceabe46ac28d95842cda2adb8e70ac677c11d29372129f6af2daba38d58be4408b64d419da78a126f4c1c26ac8e4d18c0e
7
- data.tar.gz: a8ca338b8a689534e8d79ac22587e70bd5ab40fbfba83b9e3ce2826b51884182678c06e6505d30b44b700808e6bb9793655678d666deabbe520d82c84522092a
6
+ metadata.gz: 20a406d31f96b106420c21adf642eb116b158f8f1c6d3ec620326382c5082a259d30a10f87eb216aad8745feb22a410df53310332509eaf163240335dbe5db74
7
+ data.tar.gz: 1c5841d83dee98b9030fb102cb2af47ce181d8d001be486a61df8afb6e4a011457e025bcb666f3e49f2580f50813dcfc8f65d7d0b0345e3d65ad4080305029cb
data/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.106
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
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`
@@ -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
 
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,
@@ -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.106"
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.106
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-08-01 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