files.com 1.1.141 → 1.1.143

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b77edd04efc6c1da8fef4acf1fb5e9afa83104e6d93468032a3e3105034f52e3
4
- data.tar.gz: e9a8b187095561b8cdd7f795abad690059b66fa74fecc7c08f78a8ea33673f99
3
+ metadata.gz: 1d31bc19b7cccebbeecb51dcbc1b6ce27088967240638449dcb62cad32c776fc
4
+ data.tar.gz: 7586cd423f0df3a1b908850bd390cd58eea97f44261d1c716d7a51e83d9fabe1
5
5
  SHA512:
6
- metadata.gz: 0f9283ee0adf583c5868961365e923a6988295759f729f076a0d278e08b23ca07ee1c23581c32eb2428868519d209dcee5af2d473907f352fe1d8b07c3cc28a0
7
- data.tar.gz: e781ec4025134754637cd08d38d7cbff4625c330aedfb8c584290ce40491d06c697d5dcf62a8e4356c9287658382bfd3e9397c34440e93ca28d438985af29d15
6
+ metadata.gz: c62bddbb0252fc2a0c602f01563f1f244efd6e55895f4e61a57d2faa51eb51aac518e3af2ec9acf2bc84a889647e5cc4278f9dfc5e5f4338cac54dc007a71a19
7
+ data.tar.gz: f88a37f145478a870e363e45eaff1bc3ec0dadbdd54c185c7c4973f9773b90862dee44b74a3f91d315618e2f0e1cce034c695b7a00de54e2960dd04c0b4a94f0
data/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.141
1
+ 1.1.143
@@ -113,7 +113,7 @@
113
113
 
114
114
  ---
115
115
 
116
- ## List Siem Http Destinations
116
+ ## List SIEM HTTP Destinations
117
117
 
118
118
  ```
119
119
  Files::SiemHttpDestination.list
@@ -127,7 +127,7 @@ Files::SiemHttpDestination.list
127
127
 
128
128
  ---
129
129
 
130
- ## Show Siem Http Destination
130
+ ## Show SIEM HTTP Destination
131
131
 
132
132
  ```
133
133
  Files::SiemHttpDestination.find(id)
@@ -140,7 +140,7 @@ Files::SiemHttpDestination.find(id)
140
140
 
141
141
  ---
142
142
 
143
- ## Create Siem Http Destination
143
+ ## Create SIEM HTTP Destination
144
144
 
145
145
  ```
146
146
  Files::SiemHttpDestination.create(
@@ -201,7 +201,7 @@ Files::SiemHttpDestination.create(
201
201
 
202
202
  ---
203
203
 
204
- ## send_test_entry Siem Http Destination
204
+ ## send_test_entry SIEM HTTP Destination
205
205
 
206
206
  ```
207
207
  Files::SiemHttpDestination.send_test_entry(
@@ -264,7 +264,7 @@ Files::SiemHttpDestination.send_test_entry(
264
264
 
265
265
  ---
266
266
 
267
- ## Update Siem Http Destination
267
+ ## Update SIEM HTTP Destination
268
268
 
269
269
  ```
270
270
  Files::SiemHttpDestination.update(id,
@@ -326,7 +326,7 @@ Files::SiemHttpDestination.update(id,
326
326
 
327
327
  ---
328
328
 
329
- ## Delete Siem Http Destination
329
+ ## Delete SIEM HTTP Destination
330
330
 
331
331
  ```
332
332
  Files::SiemHttpDestination.delete(id)
@@ -339,7 +339,7 @@ Files::SiemHttpDestination.delete(id)
339
339
 
340
340
  ---
341
341
 
342
- ## Update Siem Http Destination
342
+ ## Update SIEM HTTP Destination
343
343
 
344
344
  ```
345
345
  siem_http_destination = Files::SiemHttpDestination.find(id)
@@ -403,7 +403,7 @@ siem_http_destination.update(
403
403
 
404
404
  ---
405
405
 
406
- ## Delete Siem Http Destination
406
+ ## Delete SIEM HTTP Destination
407
407
 
408
408
  ```
409
409
  siem_http_destination = Files::SiemHttpDestination.find(id)
data/docs/site.md CHANGED
@@ -157,6 +157,7 @@
157
157
  "multiple_regions": true,
158
158
  "read_only": true,
159
159
  "root_path": "example",
160
+ "home_path": "example",
160
161
  "sftp_insecure_ciphers": false,
161
162
  "site_id": 1,
162
163
  "ssl_required": true,
@@ -262,6 +263,7 @@
262
263
  "type_of_2fa_for_display": "yubi",
263
264
  "updated_at": "2000-01-01T01:00:00Z",
264
265
  "user_root": "example",
266
+ "user_home": "example",
265
267
  "days_remaining_until_password_expire": 1,
266
268
  "password_expire_at": "2000-01-01T01:00:00Z"
267
269
  },
data/docs/user.md CHANGED
@@ -67,6 +67,7 @@
67
67
  "type_of_2fa": "yubi",
68
68
  "type_of_2fa_for_display": "yubi",
69
69
  "user_root": "example",
70
+ "user_home": "example",
70
71
  "days_remaining_until_password_expire": 1,
71
72
  "password_expire_at": "2000-01-01T01:00:00Z"
72
73
  }
@@ -132,7 +133,8 @@
132
133
  * `time_zone` (string): User time zone
133
134
  * `type_of_2fa` (string): Type(s) of 2FA methods in use, for programmatic use. Will be either `sms`, `totp`, `webauthn`, `yubi`, `email`, or multiple values sorted alphabetically and joined by an underscore. Does not specify whether user has more than one of a given method.
134
135
  * `type_of_2fa_for_display` (string): Type(s) of 2FA methods in use, formatted for displaying in the UI. Unlike `type_of_2fa`, this value will make clear when a user has more than 1 of the same type of method.
135
- * `user_root` (string): Root folder for FTP (and optionally SFTP if the appropriate site-wide setting is set.) Note that this is not used for API, Desktop, or Web interface.
136
+ * `user_root` (string): Root folder for FTP (and optionally SFTP if the appropriate site-wide setting is set). Note that this is not used for API, Desktop, or Web interface.
137
+ * `user_home` (string): Home folder for FTP/SFTP. Note that this is not used for API, Desktop, or Web interface.
136
138
  * `days_remaining_until_password_expire` (int64): Number of days remaining until password expires
137
139
  * `password_expire_at` (date-time): Password expiration datetime
138
140
  * `avatar_file` (file): An image file for your user avatar.
@@ -227,6 +229,7 @@ Files::User.create(
227
229
  require_2fa: "always_require",
228
230
  time_zone: "Pacific Time (US & Canada)",
229
231
  user_root: "example",
232
+ user_home: "example",
230
233
  username: "user"
231
234
  )
232
235
  ```
@@ -277,7 +280,8 @@ Files::User.create(
277
280
  * `subscribe_to_newsletter` (boolean): Is the user subscribed to the newsletter?
278
281
  * `require_2fa` (string): 2FA required setting
279
282
  * `time_zone` (string): User time zone
280
- * `user_root` (string): Root folder for FTP (and optionally SFTP if the appropriate site-wide setting is set.) Note that this is not used for API, Desktop, or Web interface.
283
+ * `user_root` (string): Root folder for FTP (and optionally SFTP if the appropriate site-wide setting is set). Note that this is not used for API, Desktop, or Web interface.
284
+ * `user_home` (string): Home folder for FTP/SFTP. Note that this is not used for API, Desktop, or Web interface.
281
285
  * `username` (string): Required - User's username
282
286
 
283
287
 
@@ -364,6 +368,7 @@ Files::User.update(id,
364
368
  require_2fa: "always_require",
365
369
  time_zone: "Pacific Time (US & Canada)",
366
370
  user_root: "example",
371
+ user_home: "example",
367
372
  username: "user"
368
373
  )
369
374
  ```
@@ -415,7 +420,8 @@ Files::User.update(id,
415
420
  * `subscribe_to_newsletter` (boolean): Is the user subscribed to the newsletter?
416
421
  * `require_2fa` (string): 2FA required setting
417
422
  * `time_zone` (string): User time zone
418
- * `user_root` (string): Root folder for FTP (and optionally SFTP if the appropriate site-wide setting is set.) Note that this is not used for API, Desktop, or Web interface.
423
+ * `user_root` (string): Root folder for FTP (and optionally SFTP if the appropriate site-wide setting is set). Note that this is not used for API, Desktop, or Web interface.
424
+ * `user_home` (string): Home folder for FTP/SFTP. Note that this is not used for API, Desktop, or Web interface.
419
425
  * `username` (string): User's username
420
426
 
421
427
 
@@ -523,6 +529,7 @@ user.update(
523
529
  require_2fa: "always_require",
524
530
  time_zone: "Pacific Time (US & Canada)",
525
531
  user_root: "example",
532
+ user_home: "example",
526
533
  username: "user"
527
534
  )
528
535
  ```
@@ -574,7 +581,8 @@ user.update(
574
581
  * `subscribe_to_newsletter` (boolean): Is the user subscribed to the newsletter?
575
582
  * `require_2fa` (string): 2FA required setting
576
583
  * `time_zone` (string): User time zone
577
- * `user_root` (string): Root folder for FTP (and optionally SFTP if the appropriate site-wide setting is set.) Note that this is not used for API, Desktop, or Web interface.
584
+ * `user_root` (string): Root folder for FTP (and optionally SFTP if the appropriate site-wide setting is set). Note that this is not used for API, Desktop, or Web interface.
585
+ * `user_home` (string): Home folder for FTP/SFTP. Note that this is not used for API, Desktop, or Web interface.
578
586
  * `username` (string): User's username
579
587
 
580
588
 
@@ -545,7 +545,7 @@ module Files
545
545
  @attributes[:type_of_2fa_for_display] = value
546
546
  end
547
547
 
548
- # string - Root folder for FTP (and optionally SFTP if the appropriate site-wide setting is set.) Note that this is not used for API, Desktop, or Web interface.
548
+ # string - Root folder for FTP (and optionally SFTP if the appropriate site-wide setting is set). Note that this is not used for API, Desktop, or Web interface.
549
549
  def user_root
550
550
  @attributes[:user_root]
551
551
  end
@@ -554,6 +554,15 @@ module Files
554
554
  @attributes[:user_root] = value
555
555
  end
556
556
 
557
+ # string - Home folder for FTP/SFTP. Note that this is not used for API, Desktop, or Web interface.
558
+ def user_home
559
+ @attributes[:user_home]
560
+ end
561
+
562
+ def user_home=(value)
563
+ @attributes[:user_home] = value
564
+ end
565
+
557
566
  # int64 - Number of days remaining until password expires
558
567
  def days_remaining_until_password_expire
559
568
  @attributes[:days_remaining_until_password_expire]
@@ -740,7 +749,8 @@ module Files
740
749
  # subscribe_to_newsletter - boolean - Is the user subscribed to the newsletter?
741
750
  # require_2fa - string - 2FA required setting
742
751
  # time_zone - string - User time zone
743
- # user_root - string - Root folder for FTP (and optionally SFTP if the appropriate site-wide setting is set.) Note that this is not used for API, Desktop, or Web interface.
752
+ # user_root - string - Root folder for FTP (and optionally SFTP if the appropriate site-wide setting is set). Note that this is not used for API, Desktop, or Web interface.
753
+ # user_home - string - Home folder for FTP/SFTP. Note that this is not used for API, Desktop, or Web interface.
744
754
  # username - string - User's username
745
755
  def update(params = {})
746
756
  params ||= {}
@@ -772,6 +782,7 @@ module Files
772
782
  raise InvalidParameterError.new("Bad parameter: require_2fa must be an String") if params[:require_2fa] and !params[:require_2fa].is_a?(String)
773
783
  raise InvalidParameterError.new("Bad parameter: time_zone must be an String") if params[:time_zone] and !params[:time_zone].is_a?(String)
774
784
  raise InvalidParameterError.new("Bad parameter: user_root must be an String") if params[:user_root] and !params[:user_root].is_a?(String)
785
+ raise InvalidParameterError.new("Bad parameter: user_home must be an String") if params[:user_home] and !params[:user_home].is_a?(String)
775
786
  raise InvalidParameterError.new("Bad parameter: username must be an String") if params[:username] and !params[:username].is_a?(String)
776
787
  raise MissingParameterError.new("Parameter missing: id") unless params[:id]
777
788
 
@@ -899,7 +910,8 @@ module Files
899
910
  # subscribe_to_newsletter - boolean - Is the user subscribed to the newsletter?
900
911
  # require_2fa - string - 2FA required setting
901
912
  # time_zone - string - User time zone
902
- # user_root - string - Root folder for FTP (and optionally SFTP if the appropriate site-wide setting is set.) Note that this is not used for API, Desktop, or Web interface.
913
+ # user_root - string - Root folder for FTP (and optionally SFTP if the appropriate site-wide setting is set). Note that this is not used for API, Desktop, or Web interface.
914
+ # user_home - string - Home folder for FTP/SFTP. Note that this is not used for API, Desktop, or Web interface.
903
915
  # username (required) - string - User's username
904
916
  def self.create(params = {}, options = {})
905
917
  raise InvalidParameterError.new("Bad parameter: change_password must be an String") if params[:change_password] and !params[:change_password].is_a?(String)
@@ -927,6 +939,7 @@ module Files
927
939
  raise InvalidParameterError.new("Bad parameter: require_2fa must be an String") if params[:require_2fa] and !params[:require_2fa].is_a?(String)
928
940
  raise InvalidParameterError.new("Bad parameter: time_zone must be an String") if params[:time_zone] and !params[:time_zone].is_a?(String)
929
941
  raise InvalidParameterError.new("Bad parameter: user_root must be an String") if params[:user_root] and !params[:user_root].is_a?(String)
942
+ raise InvalidParameterError.new("Bad parameter: user_home must be an String") if params[:user_home] and !params[:user_home].is_a?(String)
930
943
  raise InvalidParameterError.new("Bad parameter: username must be an String") if params[:username] and !params[:username].is_a?(String)
931
944
  raise MissingParameterError.new("Parameter missing: username") unless params[:username]
932
945
 
@@ -1012,7 +1025,8 @@ module Files
1012
1025
  # subscribe_to_newsletter - boolean - Is the user subscribed to the newsletter?
1013
1026
  # require_2fa - string - 2FA required setting
1014
1027
  # time_zone - string - User time zone
1015
- # user_root - string - Root folder for FTP (and optionally SFTP if the appropriate site-wide setting is set.) Note that this is not used for API, Desktop, or Web interface.
1028
+ # user_root - string - Root folder for FTP (and optionally SFTP if the appropriate site-wide setting is set). Note that this is not used for API, Desktop, or Web interface.
1029
+ # user_home - string - Home folder for FTP/SFTP. Note that this is not used for API, Desktop, or Web interface.
1016
1030
  # username - string - User's username
1017
1031
  def self.update(id, params = {}, options = {})
1018
1032
  params ||= {}
@@ -1043,6 +1057,7 @@ module Files
1043
1057
  raise InvalidParameterError.new("Bad parameter: require_2fa must be an String") if params[:require_2fa] and !params[:require_2fa].is_a?(String)
1044
1058
  raise InvalidParameterError.new("Bad parameter: time_zone must be an String") if params[:time_zone] and !params[:time_zone].is_a?(String)
1045
1059
  raise InvalidParameterError.new("Bad parameter: user_root must be an String") if params[:user_root] and !params[:user_root].is_a?(String)
1060
+ raise InvalidParameterError.new("Bad parameter: user_home must be an String") if params[:user_home] and !params[:user_home].is_a?(String)
1046
1061
  raise InvalidParameterError.new("Bad parameter: username must be an String") if params[:username] and !params[:username].is_a?(String)
1047
1062
  raise MissingParameterError.new("Parameter missing: id") unless params[:id]
1048
1063
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Files
4
- VERSION = "1.1.141"
4
+ VERSION = "1.1.143"
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.141
4
+ version: 1.1.143
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-09-26 00:00:00.000000000 Z
11
+ date: 2024-10-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable