files.com 1.1.630 → 1.1.632

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: c9460efcab7fa9904a08bc866c88636d8dc27228fa3a3616389636db2c861d14
4
- data.tar.gz: 3359eb2f5256f32c425845a8aceeb9bd649af1411cdf2f9406d5381f95ffed35
3
+ metadata.gz: 46e2f47ea5187f68a0471e9107c9c0443625742da5d0ca5be91627fae8eb6aa0
4
+ data.tar.gz: a70a7bbe411acf2021985e16dda0e2f31a2930c62dbddeccb729eaa3ea2ebadb
5
5
  SHA512:
6
- metadata.gz: 5712d26a7f64019b25c3e33a18c3164654493f2d9ebe170bb5183fcbbee03faf535146b90d9939701174e6ce805fb68566847f1348185dc0aac06a111d7eeeb2
7
- data.tar.gz: 2a379f3c3a8d70cdd69d9daead2c5c63af5273b4b3233e026edb2cdef699cfd670a4b09f6cb6c660546dc3c080f4b63927f2db6adaa6cf3a897b20420e13f1ee
6
+ metadata.gz: 3e43755492c3e4e4e03903d136c70e060898eeb35b8921a782ba61faf3656f640127ef3ab641f8718e0afdecf214a3fb1f758d1a6a7a17b6d5d848850d5e4cba
7
+ data.tar.gz: 655f8bcd1cabe833b9320196f51090418f1f1a51aa74455381512fbf24d70710e48ce5b1e643abeb595346b694aa88f3bd7f7c2e8fb2f7d817319db2182a94dc
data/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.630
1
+ 1.1.632
@@ -8,7 +8,9 @@
8
8
  "path": "example",
9
9
  "client_ip": "example",
10
10
  "src_remote_server_id": 1,
11
+ "src_remote_server_name": "example",
11
12
  "dest_remote_server_id": 1,
13
+ "dest_remote_server_name": "example",
12
14
  "operation": "example",
13
15
  "error_message": "example",
14
16
  "error_operation": "example",
@@ -26,7 +28,9 @@
26
28
  * `path` (string): Remote Path. This must be slash-delimited, but it must neither start nor end with a slash. Maximum of 5000 characters.
27
29
  * `client_ip` (string): End User IP
28
30
  * `src_remote_server_id` (int64): Source Remote Server ID
31
+ * `src_remote_server_name` (string): Source Remote Server name
29
32
  * `dest_remote_server_id` (int64): Destination Remote Server ID
33
+ * `dest_remote_server_name` (string): Destination Remote Server name
30
34
  * `operation` (string): Operation Type
31
35
  * `error_message` (string): Error message, if applicable
32
36
  * `error_operation` (string): Error operation, if applicable
data/docs/user.md CHANGED
@@ -465,6 +465,7 @@ Files::User.update(id,
465
465
  user_home: "example",
466
466
  workspace_admin: true,
467
467
  username: "user",
468
+ workspace_id: 1,
468
469
  clear_2fa: false,
469
470
  convert_to_partner_user: false
470
471
  )
@@ -536,6 +537,7 @@ Files::User.update(id,
536
537
  * `user_home` (string): Home folder for FTP/SFTP. Note that this is not used for API, Desktop, or Web interface.
537
538
  * `workspace_admin` (boolean): Is the user a Workspace administrator? Applicable only to the workspace ID related to this user, if one is set.
538
539
  * `username` (string): User's username
540
+ * `workspace_id` (int64): Workspace ID
539
541
  * `clear_2fa` (boolean): If true when changing authentication_method from `password` to `sso`, remove all two-factor methods. Ignored in all other cases.
540
542
  * `convert_to_partner_user` (boolean): If true, convert this user to a partner user by assigning the partner_id provided.
541
543
 
@@ -665,6 +667,7 @@ user.update(
665
667
  user_home: "example",
666
668
  workspace_admin: true,
667
669
  username: "user",
670
+ workspace_id: 1,
668
671
  clear_2fa: false,
669
672
  convert_to_partner_user: false
670
673
  )
@@ -736,6 +739,7 @@ user.update(
736
739
  * `user_home` (string): Home folder for FTP/SFTP. Note that this is not used for API, Desktop, or Web interface.
737
740
  * `workspace_admin` (boolean): Is the user a Workspace administrator? Applicable only to the workspace ID related to this user, if one is set.
738
741
  * `username` (string): User's username
742
+ * `workspace_id` (int64): Workspace ID
739
743
  * `clear_2fa` (boolean): If true when changing authentication_method from `password` to `sso`, remove all two-factor methods. Ignored in all other cases.
740
744
  * `convert_to_partner_user` (boolean): If true, convert this user to a partner user by assigning the partner_id provided.
741
745
 
@@ -29,11 +29,21 @@ module Files
29
29
  @attributes[:src_remote_server_id]
30
30
  end
31
31
 
32
+ # string - Source Remote Server name
33
+ def src_remote_server_name
34
+ @attributes[:src_remote_server_name]
35
+ end
36
+
32
37
  # int64 - Destination Remote Server ID
33
38
  def dest_remote_server_id
34
39
  @attributes[:dest_remote_server_id]
35
40
  end
36
41
 
42
+ # string - Destination Remote Server name
43
+ def dest_remote_server_name
44
+ @attributes[:dest_remote_server_name]
45
+ end
46
+
37
47
  # string - Operation Type
38
48
  def operation
39
49
  @attributes[:operation]
@@ -966,6 +966,7 @@ module Files
966
966
  # user_home - string - Home folder for FTP/SFTP. Note that this is not used for API, Desktop, or Web interface.
967
967
  # workspace_admin - boolean - Is the user a Workspace administrator? Applicable only to the workspace ID related to this user, if one is set.
968
968
  # username - string - User's username
969
+ # workspace_id - int64 - Workspace ID
969
970
  # clear_2fa - boolean - If true when changing authentication_method from `password` to `sso`, remove all two-factor methods. Ignored in all other cases.
970
971
  # convert_to_partner_user - boolean - If true, convert this user to a partner user by assigning the partner_id provided.
971
972
  def update(params = {})
@@ -1006,6 +1007,7 @@ module Files
1006
1007
  raise InvalidParameterError.new("Bad parameter: user_root must be an String") if params[:user_root] and !params[:user_root].is_a?(String)
1007
1008
  raise InvalidParameterError.new("Bad parameter: user_home must be an String") if params[:user_home] and !params[:user_home].is_a?(String)
1008
1009
  raise InvalidParameterError.new("Bad parameter: username must be an String") if params[:username] and !params[:username].is_a?(String)
1010
+ raise InvalidParameterError.new("Bad parameter: workspace_id must be an Integer") if params[:workspace_id] and !params[:workspace_id].is_a?(Integer)
1009
1011
  raise MissingParameterError.new("Parameter missing: id") unless params[:id]
1010
1012
 
1011
1013
  Api.send_request("/users/#{@attributes[:id]}", :patch, params, @options)
@@ -1294,6 +1296,7 @@ module Files
1294
1296
  # user_home - string - Home folder for FTP/SFTP. Note that this is not used for API, Desktop, or Web interface.
1295
1297
  # workspace_admin - boolean - Is the user a Workspace administrator? Applicable only to the workspace ID related to this user, if one is set.
1296
1298
  # username - string - User's username
1299
+ # workspace_id - int64 - Workspace ID
1297
1300
  # clear_2fa - boolean - If true when changing authentication_method from `password` to `sso`, remove all two-factor methods. Ignored in all other cases.
1298
1301
  # convert_to_partner_user - boolean - If true, convert this user to a partner user by assigning the partner_id provided.
1299
1302
  def self.update(id, params = {}, options = {})
@@ -1333,6 +1336,7 @@ module Files
1333
1336
  raise InvalidParameterError.new("Bad parameter: user_root must be an String") if params[:user_root] and !params[:user_root].is_a?(String)
1334
1337
  raise InvalidParameterError.new("Bad parameter: user_home must be an String") if params[:user_home] and !params[:user_home].is_a?(String)
1335
1338
  raise InvalidParameterError.new("Bad parameter: username must be an String") if params[:username] and !params[:username].is_a?(String)
1339
+ raise InvalidParameterError.new("Bad parameter: workspace_id must be an Integer") if params[:workspace_id] and !params[:workspace_id].is_a?(Integer)
1336
1340
  raise MissingParameterError.new("Parameter missing: id") unless params[:id]
1337
1341
 
1338
1342
  response, options = Api.send_request("/users/#{params[:id]}", :patch, params, options)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Files
4
- VERSION = "1.1.630"
4
+ VERSION = "1.1.632"
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.630
4
+ version: 1.1.632
5
5
  platform: ruby
6
6
  authors:
7
7
  - files.com
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-06-01 00:00:00.000000000 Z
11
+ date: 2026-06-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable