files.com 1.0.305 → 1.0.307
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_VERSION +1 -1
- data/docs/history_export.md +2 -2
- data/docs/history_export_result.md +1 -1
- data/docs/remote_server.md +6 -2
- data/docs/remote_server_configuration_file.md +3 -1
- data/lib/files.com/models/history_export.rb +2 -2
- data/lib/files.com/models/history_export_result.rb +1 -1
- data/lib/files.com/models/remote_server.rb +4 -0
- data/lib/files.com/models/remote_server_configuration_file.rb +5 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 35344405a6087e27b154eeb4cc97a6f083e91c23ebee8f6cb80103701f29bf86
|
4
|
+
data.tar.gz: c9ebe175bb2d022ab1d2c8e0fc084a301a3f21de63a2e99c4142dc64676c36d6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a224c0dc624a10e332411136f953778dc81aca87262ab96d60039ced7d1660fd884778e3386db5bd176a17dc7aceaf39e883cca8432b28498022928345274b49
|
7
|
+
data.tar.gz: 70ad2bceee076f8c436ee07a6a777884ac187c0708c3f35493bd72ef87d2a5d7add3158d72affb3310a4e0d42c42cd8fbafc62826e8ce6296cc2e0647e0b40ef
|
data/_VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.307
|
data/docs/history_export.md
CHANGED
@@ -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`, `inbound_email`
|
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`, `remote`
|
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 @@ Files::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`, `inbound_email`
|
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`, `remote`
|
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`, `inbound_email`
|
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`, `remote`
|
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
|
data/docs/remote_server.md
CHANGED
@@ -273,7 +273,8 @@ Files::RemoteServer.configuration_file(id,
|
|
273
273
|
status: "example",
|
274
274
|
config_version: "example",
|
275
275
|
private_key: "example",
|
276
|
-
public_key: "example"
|
276
|
+
public_key: "example",
|
277
|
+
server_host_key: "example"
|
277
278
|
)
|
278
279
|
```
|
279
280
|
|
@@ -289,6 +290,7 @@ Files::RemoteServer.configuration_file(id,
|
|
289
290
|
* `config_version` (string): agent config version
|
290
291
|
* `private_key` (string): private key
|
291
292
|
* `public_key` (string): public key
|
293
|
+
* `server_host_key` (string):
|
292
294
|
|
293
295
|
|
294
296
|
---
|
@@ -423,7 +425,8 @@ remote_server.configuration_file(
|
|
423
425
|
status: "example",
|
424
426
|
config_version: "example",
|
425
427
|
private_key: "example",
|
426
|
-
public_key: "example"
|
428
|
+
public_key: "example",
|
429
|
+
server_host_key: "example"
|
427
430
|
)
|
428
431
|
```
|
429
432
|
|
@@ -439,6 +442,7 @@ remote_server.configuration_file(
|
|
439
442
|
* `config_version` (string): agent config version
|
440
443
|
* `private_key` (string): private key
|
441
444
|
* `public_key` (string): public key
|
445
|
+
* `server_host_key` (string):
|
442
446
|
|
443
447
|
|
444
448
|
---
|
@@ -13,7 +13,8 @@
|
|
13
13
|
"public_key": "example",
|
14
14
|
"private_key": "example",
|
15
15
|
"status": "example",
|
16
|
-
"config_version": "example"
|
16
|
+
"config_version": "example",
|
17
|
+
"server_host_key": "example"
|
17
18
|
}
|
18
19
|
```
|
19
20
|
|
@@ -27,3 +28,4 @@
|
|
27
28
|
* `private_key` (string): private key
|
28
29
|
* `status` (string): either running or shutdown
|
29
30
|
* `config_version` (string): agent config version
|
31
|
+
* `server_host_key` (string):
|
@@ -63,7 +63,7 @@ module Files
|
|
63
63
|
@attributes[:query_action] = value
|
64
64
|
end
|
65
65
|
|
66
|
-
# 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`
|
66
|
+
# 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`, `remote`
|
67
67
|
def query_interface
|
68
68
|
@attributes[:query_interface]
|
69
69
|
end
|
@@ -273,7 +273,7 @@ module Files
|
|
273
273
|
# start_at - string - Start date/time of export range.
|
274
274
|
# end_at - string - End date/time of export range.
|
275
275
|
# 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`
|
276
|
-
# 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`
|
276
|
+
# 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`, `remote`
|
277
277
|
# query_user_id - string - Return results that are actions performed by the user indiciated by this User ID
|
278
278
|
# query_file_id - string - Return results that are file actions related to the file indicated by this File ID
|
279
279
|
# query_parent_id - string - Return results that are file actions inside the parent folder specified by this folder ID
|
@@ -74,7 +74,7 @@ module Files
|
|
74
74
|
@attributes[:failure_type]
|
75
75
|
end
|
76
76
|
|
77
|
-
# 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`
|
77
|
+
# 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`
|
78
78
|
def interface
|
79
79
|
@attributes[:interface]
|
80
80
|
end
|
@@ -561,6 +561,7 @@ module Files
|
|
561
561
|
# config_version - string - agent config version
|
562
562
|
# private_key - string - private key
|
563
563
|
# public_key - string - public key
|
564
|
+
# server_host_key - string
|
564
565
|
def configuration_file(params = {})
|
565
566
|
params ||= {}
|
566
567
|
params[:id] = @attributes[:id]
|
@@ -575,6 +576,7 @@ module Files
|
|
575
576
|
raise InvalidParameterError.new("Bad parameter: config_version must be an String") if params[:config_version] and !params[:config_version].is_a?(String)
|
576
577
|
raise InvalidParameterError.new("Bad parameter: private_key must be an String") if params[:private_key] and !params[:private_key].is_a?(String)
|
577
578
|
raise InvalidParameterError.new("Bad parameter: public_key must be an String") if params[:public_key] and !params[:public_key].is_a?(String)
|
579
|
+
raise InvalidParameterError.new("Bad parameter: server_host_key must be an String") if params[:server_host_key] and !params[:server_host_key].is_a?(String)
|
578
580
|
raise MissingParameterError.new("Parameter missing: id") unless params[:id]
|
579
581
|
|
580
582
|
Api.send_request("/remote_servers/#{@attributes[:id]}/configuration_file", :post, params, @options)
|
@@ -875,6 +877,7 @@ module Files
|
|
875
877
|
# config_version - string - agent config version
|
876
878
|
# private_key - string - private key
|
877
879
|
# public_key - string - public key
|
880
|
+
# server_host_key - string
|
878
881
|
def self.configuration_file(id, params = {}, options = {})
|
879
882
|
params ||= {}
|
880
883
|
params[:id] = id
|
@@ -888,6 +891,7 @@ module Files
|
|
888
891
|
raise InvalidParameterError.new("Bad parameter: config_version must be an String") if params[:config_version] and !params[:config_version].is_a?(String)
|
889
892
|
raise InvalidParameterError.new("Bad parameter: private_key must be an String") if params[:private_key] and !params[:private_key].is_a?(String)
|
890
893
|
raise InvalidParameterError.new("Bad parameter: public_key must be an String") if params[:public_key] and !params[:public_key].is_a?(String)
|
894
|
+
raise InvalidParameterError.new("Bad parameter: server_host_key must be an String") if params[:server_host_key] and !params[:server_host_key].is_a?(String)
|
891
895
|
raise MissingParameterError.new("Parameter missing: id") unless params[:id]
|
892
896
|
|
893
897
|
response, options = Api.send_request("/remote_servers/#{params[:id]}/configuration_file", :post, params, options)
|
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.0.
|
4
|
+
version: 1.0.307
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- files.com
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-11-
|
11
|
+
date: 2022-11-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: addressable
|