files.com 1.0.322 → 1.0.324
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/remote_server.md +6 -2
- data/docs/remote_server_configuration_file.md +3 -1
- data/docs/site.md +4 -0
- data/lib/files.com/models/remote_server.rb +4 -0
- data/lib/files.com/models/remote_server_configuration_file.rb +5 -0
- data/lib/files.com/models/site.rb +7 -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: bae098e035e6d7a724dfb533d77eef6f1c616b8e5d006c0fcb0505bf9c7805d7
|
4
|
+
data.tar.gz: 56785c22138b850d600f7ca08186b4545786b92810cb00f037518f37959c7ec5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cca9d6414bbf4bc4d6f7f92c0feed8ae6930cb82048c4401eb287623cc72895d7a1c89383094d4a55c8a6b21d3f60b7568bd765fdb1bccf4e02019d1dc732300
|
7
|
+
data.tar.gz: bb79bea25fed0e1aa3f756cff02591ecefb0dcdb8c8243ae98c8b0c619a3a42b21d3fbc9f52a8d2b2954bfa2804a9df012216b240c4834f8e1ec811d3ce78c70
|
data/_VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.324
|
data/docs/remote_server.md
CHANGED
@@ -274,7 +274,8 @@ Files::RemoteServer.configuration_file(id,
|
|
274
274
|
config_version: "example",
|
275
275
|
private_key: "example",
|
276
276
|
public_key: "example",
|
277
|
-
server_host_key: "example"
|
277
|
+
server_host_key: "example",
|
278
|
+
subdomain: "example"
|
278
279
|
)
|
279
280
|
```
|
280
281
|
|
@@ -291,6 +292,7 @@ Files::RemoteServer.configuration_file(id,
|
|
291
292
|
* `private_key` (string): private key
|
292
293
|
* `public_key` (string): public key
|
293
294
|
* `server_host_key` (string):
|
295
|
+
* `subdomain` (string):
|
294
296
|
|
295
297
|
|
296
298
|
---
|
@@ -426,7 +428,8 @@ remote_server.configuration_file(
|
|
426
428
|
config_version: "example",
|
427
429
|
private_key: "example",
|
428
430
|
public_key: "example",
|
429
|
-
server_host_key: "example"
|
431
|
+
server_host_key: "example",
|
432
|
+
subdomain: "example"
|
430
433
|
)
|
431
434
|
```
|
432
435
|
|
@@ -443,6 +446,7 @@ remote_server.configuration_file(
|
|
443
446
|
* `private_key` (string): private key
|
444
447
|
* `public_key` (string): public key
|
445
448
|
* `server_host_key` (string):
|
449
|
+
* `subdomain` (string):
|
446
450
|
|
447
451
|
|
448
452
|
---
|
@@ -14,7 +14,8 @@
|
|
14
14
|
"private_key": "example",
|
15
15
|
"status": "example",
|
16
16
|
"config_version": "example",
|
17
|
-
"server_host_key": "example"
|
17
|
+
"server_host_key": "example",
|
18
|
+
"subdomain": "example"
|
18
19
|
}
|
19
20
|
```
|
20
21
|
|
@@ -29,3 +30,4 @@
|
|
29
30
|
* `status` (string): either running or shutdown
|
30
31
|
* `config_version` (string): agent config version
|
31
32
|
* `server_host_key` (string):
|
33
|
+
* `subdomain` (string):
|
data/docs/site.md
CHANGED
@@ -89,6 +89,7 @@
|
|
89
89
|
"next_billing_amount": 1.0,
|
90
90
|
"next_billing_date": "Apr 20",
|
91
91
|
"office_integration_available": true,
|
92
|
+
"office_integration_type": "example",
|
92
93
|
"oncehub_link": "https://go.oncehub.com/files",
|
93
94
|
"opt_out_global": true,
|
94
95
|
"overage_notified_at": "2000-01-01T01:00:00Z",
|
@@ -233,6 +234,7 @@
|
|
233
234
|
* `next_billing_amount` (double): Next billing amount
|
234
235
|
* `next_billing_date` (string): Next billing date
|
235
236
|
* `office_integration_available` (boolean): Allow users to use Office for the web?
|
237
|
+
* `office_integration_type` (string): Office integration application used to edit and view the MS Office documents
|
236
238
|
* `oncehub_link` (string): Link to scheduling a meeting with our Sales team
|
237
239
|
* `opt_out_global` (boolean): Use servers in the USA only?
|
238
240
|
* `overage_notified_at` (date-time): Last time the site was notified about an overage
|
@@ -345,6 +347,7 @@ Files::Site.update(
|
|
345
347
|
folder_permissions_groups_only: true,
|
346
348
|
welcome_screen: "user_controlled",
|
347
349
|
office_integration_available: true,
|
350
|
+
office_integration_type: "example",
|
348
351
|
pin_all_remote_servers_to_site_region: true,
|
349
352
|
motd_text: "example",
|
350
353
|
motd_use_for_ftp: true,
|
@@ -473,6 +476,7 @@ Files::Site.update(
|
|
473
476
|
* `folder_permissions_groups_only` (boolean): If true, permissions for this site must be bound to a group (not a user). Otherwise, permissions must be bound to a user.
|
474
477
|
* `welcome_screen` (string): Does the welcome screen appear?
|
475
478
|
* `office_integration_available` (boolean): Allow users to use Office for the web?
|
479
|
+
* `office_integration_type` (string): Office integration application used to edit and view the MS Office documents
|
476
480
|
* `pin_all_remote_servers_to_site_region` (boolean): If true, we will ensure that all internal communications with any remote server are made through the primary region of the site. This setting overrides individual remote server settings.
|
477
481
|
* `motd_text` (string): A message to show users when they connect via FTP or SFTP.
|
478
482
|
* `motd_use_for_ftp` (boolean): Show message to users connecting via FTP
|
@@ -562,6 +562,7 @@ module Files
|
|
562
562
|
# private_key - string - private key
|
563
563
|
# public_key - string - public key
|
564
564
|
# server_host_key - string
|
565
|
+
# subdomain - string
|
565
566
|
def configuration_file(params = {})
|
566
567
|
params ||= {}
|
567
568
|
params[:id] = @attributes[:id]
|
@@ -577,6 +578,7 @@ module Files
|
|
577
578
|
raise InvalidParameterError.new("Bad parameter: private_key must be an String") if params[:private_key] and !params[:private_key].is_a?(String)
|
578
579
|
raise InvalidParameterError.new("Bad parameter: public_key must be an String") if params[:public_key] and !params[:public_key].is_a?(String)
|
579
580
|
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)
|
581
|
+
raise InvalidParameterError.new("Bad parameter: subdomain must be an String") if params[:subdomain] and !params[:subdomain].is_a?(String)
|
580
582
|
raise MissingParameterError.new("Parameter missing: id") unless params[:id]
|
581
583
|
|
582
584
|
Api.send_request("/remote_servers/#{@attributes[:id]}/configuration_file", :post, params, @options)
|
@@ -878,6 +880,7 @@ module Files
|
|
878
880
|
# private_key - string - private key
|
879
881
|
# public_key - string - public key
|
880
882
|
# server_host_key - string
|
883
|
+
# subdomain - string
|
881
884
|
def self.configuration_file(id, params = {}, options = {})
|
882
885
|
params ||= {}
|
883
886
|
params[:id] = id
|
@@ -892,6 +895,7 @@ module Files
|
|
892
895
|
raise InvalidParameterError.new("Bad parameter: private_key must be an String") if params[:private_key] and !params[:private_key].is_a?(String)
|
893
896
|
raise InvalidParameterError.new("Bad parameter: public_key must be an String") if params[:public_key] and !params[:public_key].is_a?(String)
|
894
897
|
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)
|
898
|
+
raise InvalidParameterError.new("Bad parameter: subdomain must be an String") if params[:subdomain] and !params[:subdomain].is_a?(String)
|
895
899
|
raise MissingParameterError.new("Parameter missing: id") unless params[:id]
|
896
900
|
|
897
901
|
response, options = Api.send_request("/remote_servers/#{params[:id]}/configuration_file", :post, params, options)
|
@@ -424,6 +424,11 @@ module Files
|
|
424
424
|
@attributes[:office_integration_available]
|
425
425
|
end
|
426
426
|
|
427
|
+
# string - Office integration application used to edit and view the MS Office documents
|
428
|
+
def office_integration_type
|
429
|
+
@attributes[:office_integration_type]
|
430
|
+
end
|
431
|
+
|
427
432
|
# string - Link to scheduling a meeting with our Sales team
|
428
433
|
def oncehub_link
|
429
434
|
@attributes[:oncehub_link]
|
@@ -753,6 +758,7 @@ module Files
|
|
753
758
|
# folder_permissions_groups_only - boolean - If true, permissions for this site must be bound to a group (not a user). Otherwise, permissions must be bound to a user.
|
754
759
|
# welcome_screen - string - Does the welcome screen appear?
|
755
760
|
# office_integration_available - boolean - Allow users to use Office for the web?
|
761
|
+
# office_integration_type - string - Office integration application used to edit and view the MS Office documents
|
756
762
|
# pin_all_remote_servers_to_site_region - boolean - If true, we will ensure that all internal communications with any remote server are made through the primary region of the site. This setting overrides individual remote server settings.
|
757
763
|
# motd_text - string - A message to show users when they connect via FTP or SFTP.
|
758
764
|
# motd_use_for_ftp - boolean - Show message to users connecting via FTP
|
@@ -873,6 +879,7 @@ module Files
|
|
873
879
|
raise InvalidParameterError.new("Bad parameter: desktop_app_session_lifetime must be an Integer") if params[:desktop_app_session_lifetime] and !params[:desktop_app_session_lifetime].is_a?(Integer)
|
874
880
|
raise InvalidParameterError.new("Bad parameter: mobile_app_session_lifetime must be an Integer") if params[:mobile_app_session_lifetime] and !params[:mobile_app_session_lifetime].is_a?(Integer)
|
875
881
|
raise InvalidParameterError.new("Bad parameter: welcome_screen must be an String") if params[:welcome_screen] and !params[:welcome_screen].is_a?(String)
|
882
|
+
raise InvalidParameterError.new("Bad parameter: office_integration_type must be an String") if params[:office_integration_type] and !params[:office_integration_type].is_a?(String)
|
876
883
|
raise InvalidParameterError.new("Bad parameter: motd_text must be an String") if params[:motd_text] and !params[:motd_text].is_a?(String)
|
877
884
|
raise InvalidParameterError.new("Bad parameter: session_expiry must be an Float") if params[:session_expiry] and !params[:session_expiry].is_a?(Float)
|
878
885
|
raise InvalidParameterError.new("Bad parameter: user_lockout_tries must be an Integer") if params[:user_lockout_tries] and !params[:user_lockout_tries].is_a?(Integer)
|
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.324
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- files.com
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-02-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: addressable
|