files.com 1.0.298 → 1.0.299

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: b3e5ba413e3894bc38bc4fe3d8632f8eb7809368963095101fb8c4c479246dd8
4
- data.tar.gz: d7179818843d71a47f74c67a74d524209646232a447b451569564456b5db0fee
3
+ metadata.gz: 923974c1d23789f6c98fd3fbcab9ee69d52b4f8320725b74cdc3c32cd27d0322
4
+ data.tar.gz: 01674ce406972fc249056ddf3d8a756d105c791aead79d0246744391d6ed1b4e
5
5
  SHA512:
6
- metadata.gz: 1c279c4636e00579259cdc6960fa7c7171f302954bd7a74dc375d45d4514c60694a111443d72394173ef19d134d6d0f2df6ac9a4569fdccd6b309b850560f838
7
- data.tar.gz: 9e5437da0aa30ec3e9d3ae2b9b7f2c36d26503249cb712996e7d8aed65cd2ad92e3c65a6bee29b0ba70a138239a53e3851295b7d92bcc8a9d16f13fda60f1455
6
+ metadata.gz: b5ac4950ca394fb43a32a8c43c3d5bc7d4babdd1396a82e77315a4e1ba3548ec4b0f6dae773b93cd4b81ca89a7f4ed36328eb8682134545b16ff089585a43b5c
7
+ data.tar.gz: 565be58bf59dbbf0658131fb3dd2435fbae2ef6ce7229f008765d3fdb8b8364f0129a3e095360f9a0c2d3faed7d41c490da69022ba965df5e9f6a70fe2aaf55a
data/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.298
1
+ 1.0.299
data/docs/api_key.md CHANGED
@@ -15,6 +15,7 @@
15
15
  "path": "shared/docs",
16
16
  "permission_set": "full",
17
17
  "platform": "win32",
18
+ "url": "example",
18
19
  "user_id": 1
19
20
  }
20
21
  ```
@@ -30,6 +31,7 @@
30
31
  * `path` (string): Folder path restriction for this api key. This must be slash-delimited, but it must neither start nor end with a slash. Maximum of 5000 characters.
31
32
  * `permission_set` (string): Permissions for this API Key. Keys with the `desktop_app` permission set only have the ability to do the functions provided in our Desktop App (File and Share Link operations). Additional permission sets may become available in the future, such as for a Site Admin to give a key with no administrator privileges. If you have ideas for permission sets, please let us know.
32
33
  * `platform` (string): If this API key represents a Desktop app, what platform was it created on?
34
+ * `url` (string): URL for API host.
33
35
  * `user_id` (int64): User ID for the owner of this API Key. May be blank for Site-wide API Keys.
34
36
 
35
37
 
data/docs/site.md CHANGED
@@ -107,6 +107,8 @@
107
107
  "session": "",
108
108
  "session_pinned_by_ip": true,
109
109
  "sftp_enabled": true,
110
+ "sftp_host_key_type": "default",
111
+ "active_sftp_host_key_id": 1,
110
112
  "sftp_insecure_ciphers": true,
111
113
  "sftp_user_root_enabled": true,
112
114
  "sharing_enabled": true,
@@ -245,6 +247,8 @@
245
247
  * `session` (Session): Current session
246
248
  * `session_pinned_by_ip` (boolean): Are sessions locked to the same IP? (i.e. do users need to log in again if they change IPs?)
247
249
  * `sftp_enabled` (boolean): Is SFTP enabled?
250
+ * `sftp_host_key_type` (string): Sftp Host Key Type
251
+ * `active_sftp_host_key_id` (int64): Id of the currently selected custom SFTP Host Key
248
252
  * `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.
249
253
  * `sftp_user_root_enabled` (boolean): Use user FTP roots also for SFTP?
250
254
  * `sharing_enabled` (boolean): Allow bundle creation
@@ -377,6 +381,8 @@ Files::Site.update(
377
381
  user_requests_notify_admins: true,
378
382
  ftp_enabled: true,
379
383
  sftp_enabled: true,
384
+ sftp_host_key_type: "default",
385
+ active_sftp_host_key_id: 1,
380
386
  bundle_watermark_value: {"key":"example value"},
381
387
  allowed_2fa_method_sms: true,
382
388
  allowed_2fa_method_u2f: true,
@@ -499,6 +505,8 @@ Files::Site.update(
499
505
  * `user_requests_notify_admins` (boolean): Send email to site admins when a user request is received?
500
506
  * `ftp_enabled` (boolean): Is FTP enabled?
501
507
  * `sftp_enabled` (boolean): Is SFTP enabled?
508
+ * `sftp_host_key_type` (string): Sftp Host Key Type
509
+ * `active_sftp_host_key_id` (int64): Id of the currently selected custom SFTP Host Key
502
510
  * `bundle_watermark_value` (object): Preview watermark settings applied to all bundle items. Uses the same keys as Behavior.value
503
511
  * `allowed_2fa_method_sms` (boolean): Is SMS two factor authentication allowed?
504
512
  * `allowed_2fa_method_u2f` (boolean): Is U2F two factor authentication allowed?
@@ -104,6 +104,15 @@ module Files
104
104
  @attributes[:platform] = value
105
105
  end
106
106
 
107
+ # string - URL for API host.
108
+ def url
109
+ @attributes[:url]
110
+ end
111
+
112
+ def url=(value)
113
+ @attributes[:url] = value
114
+ end
115
+
107
116
  # int64 - User ID for the owner of this API Key. May be blank for Site-wide API Keys.
108
117
  def user_id
109
118
  @attributes[:user_id]
@@ -514,6 +514,16 @@ module Files
514
514
  @attributes[:sftp_enabled]
515
515
  end
516
516
 
517
+ # string - Sftp Host Key Type
518
+ def sftp_host_key_type
519
+ @attributes[:sftp_host_key_type]
520
+ end
521
+
522
+ # int64 - Id of the currently selected custom SFTP Host Key
523
+ def active_sftp_host_key_id
524
+ @attributes[:active_sftp_host_key_id]
525
+ end
526
+
517
527
  # 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.
518
528
  def sftp_insecure_ciphers
519
529
  @attributes[:sftp_insecure_ciphers]
@@ -767,6 +777,8 @@ module Files
767
777
  # user_requests_notify_admins - boolean - Send email to site admins when a user request is received?
768
778
  # ftp_enabled - boolean - Is FTP enabled?
769
779
  # sftp_enabled - boolean - Is SFTP enabled?
780
+ # sftp_host_key_type - string - Sftp Host Key Type
781
+ # active_sftp_host_key_id - int64 - Id of the currently selected custom SFTP Host Key
770
782
  # bundle_watermark_value - object - Preview watermark settings applied to all bundle items. Uses the same keys as Behavior.value
771
783
  # allowed_2fa_method_sms - boolean - Is SMS two factor authentication allowed?
772
784
  # allowed_2fa_method_u2f - boolean - Is U2F two factor authentication allowed?
@@ -850,6 +862,8 @@ module Files
850
862
  raise InvalidParameterError.new("Bad parameter: password_validity_days must be an Integer") if params[:password_validity_days] and !params[:password_validity_days].is_a?(Integer)
851
863
  raise InvalidParameterError.new("Bad parameter: password_min_length must be an Integer") if params[:password_min_length] and !params[:password_min_length].is_a?(Integer)
852
864
  raise InvalidParameterError.new("Bad parameter: disable_users_from_inactivity_period_days must be an Integer") if params[:disable_users_from_inactivity_period_days] and !params[:disable_users_from_inactivity_period_days].is_a?(Integer)
865
+ raise InvalidParameterError.new("Bad parameter: sftp_host_key_type must be an String") if params[:sftp_host_key_type] and !params[:sftp_host_key_type].is_a?(String)
866
+ raise InvalidParameterError.new("Bad parameter: active_sftp_host_key_id must be an Integer") if params[:active_sftp_host_key_id] and !params[:active_sftp_host_key_id].is_a?(Integer)
853
867
  raise InvalidParameterError.new("Bad parameter: bundle_watermark_value must be an Hash") if params[:bundle_watermark_value] and !params[:bundle_watermark_value].is_a?(Hash)
854
868
  raise InvalidParameterError.new("Bad parameter: require_2fa_user_type must be an String") if params[:require_2fa_user_type] and !params[:require_2fa_user_type].is_a?(String)
855
869
  raise InvalidParameterError.new("Bad parameter: color2_top must be an String") if params[:color2_top] and !params[:color2_top].is_a?(String)
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.298
4
+ version: 1.0.299
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-10-03 00:00:00.000000000 Z
11
+ date: 2022-10-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable