files.com 1.1.726 → 1.1.728

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: 99d00ff3f6de44502b570e22218eecd9db83139f7e8a390164348b03338af067
4
- data.tar.gz: 224c7b2de16f38355ca2c965edbb91334b068d6493f7a8e33235c8f13643e566
3
+ metadata.gz: 280999a8a48c558efef35d28046fd9544df3ca89875ec797bc7ccf4ef21459f8
4
+ data.tar.gz: 2f8dd71f6458becad034dd8353cbd51b57d811b9d8fa719aaf1bd4b4b5cbec61
5
5
  SHA512:
6
- metadata.gz: 95e8400e5d1ccefae4287f70d53a74076fafa70da9930dc683a2208856ea824bff349c84715e16f397fd358607bf596656277d701b84df71575ca6fe1b928ac5
7
- data.tar.gz: f0030b332879bc0d32f7d8b5c83ecfb8552654672cd5456bf6c13310cfd33d419fb0b3fed5a9792186b514feb7c93bfd169b931cabc763f938c02f7e8c969a35
6
+ metadata.gz: 9ea8253158af6f559f714e9be3161e98e49d2d912f7ab819af2712f5091d07140eb14498a9a43a210ff273e48f58b2364b084b749ffd4fb4e9cb46718661b6e3
7
+ data.tar.gz: 8f6ca53cd7850be13b9e9f2397531d6dfa3eb330573d82d23dfde2b1e50f4ee5f9e4265c810b6c4ff2a75f848edf6e035ef2775b215b09ae9e99286406909ce0
data/README.md CHANGED
@@ -545,7 +545,6 @@ Files::FolderAdminPermissionRequiredError -> Files::NotAuthorizedError -> Files:
545
545
  |`ApiKeySessionsNotSupportedError`| `NotAuthenticatedError` |
546
546
  |`AuthenticationRequiredError`| `NotAuthenticatedError` |
547
547
  |`BundleRegistrationCodeFailedError`| `NotAuthenticatedError` |
548
- |`FilesAgentTokenFailedError`| `NotAuthenticatedError` |
549
548
  |`InboxRegistrationCodeFailedError`| `NotAuthenticatedError` |
550
549
  |`InvalidCredentialsError`| `NotAuthenticatedError` |
551
550
  |`InvalidOauthError`| `NotAuthenticatedError` |
data/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.726
1
+ 1.1.728
@@ -64,7 +64,6 @@
64
64
  "enable_dedicated_ips": true,
65
65
  "files_agent_permission_set": "read_write",
66
66
  "files_agent_root": "example",
67
- "files_agent_api_token": "example",
68
67
  "files_agent_version": "example",
69
68
  "files_agent_up_to_date": true,
70
69
  "files_agent_latest_version": "example",
@@ -86,7 +85,7 @@
86
85
  ```
87
86
 
88
87
  * `id` (int64): Remote Server ID
89
- * `disabled` (boolean): If true, this Remote Server has been disabled due to failures. Make any change or set disabled to false to clear this flag.
88
+ * `disabled` (boolean): If true, this Remote Server is disabled. Updating it clears this flag, except for retired Agent v1 records, which remain disabled.
90
89
  * `authentication_method` (string): Type of authentication method to use
91
90
  * `hostname` (string): Hostname or IP address
92
91
  * `remote_home_path` (string): Initial home folder on remote server
@@ -145,7 +144,6 @@
145
144
  * `enable_dedicated_ips` (boolean): `true` if remote server only accepts connections from dedicated IPs
146
145
  * `files_agent_permission_set` (string): Local permissions for files agent. read_only, write_only, or read_write
147
146
  * `files_agent_root` (string): Agent local root path
148
- * `files_agent_api_token` (string): Files Agent API Token
149
147
  * `files_agent_version` (string): Files Agent version
150
148
  * `files_agent_up_to_date` (boolean): If true, the Files Agent is up to date.
151
149
  * `files_agent_latest_version` (string): Latest available Files Agent version
@@ -420,42 +418,6 @@ Files::RemoteServer.agent_push_update(id)
420
418
  * `id` (int64): Required - Remote Server ID.
421
419
 
422
420
 
423
- ---
424
-
425
- ## Post local changes, check in, and download configuration file (used by some Remote Server integrations, such as the Files.com Agent)
426
-
427
- ```
428
- Files::RemoteServer.configuration_file(id,
429
- api_token: "example",
430
- permission_set: "example",
431
- root: "C:\\Users\\",
432
- hostname: "example",
433
- port: 1,
434
- status: "example",
435
- config_version: "example",
436
- private_key: "example",
437
- public_key: "example",
438
- server_host_key: "example",
439
- subdomain: "example"
440
- )
441
- ```
442
-
443
- ### Parameters
444
-
445
- * `id` (int64): Required - Remote Server ID.
446
- * `api_token` (string): Files Agent API Token
447
- * `permission_set` (string): The permission set for the agent ['read_write', 'read_only', 'write_only']
448
- * `root` (string): The root directory for the agent
449
- * `hostname` (string):
450
- * `port` (int64): Incoming port for files agent connections
451
- * `status` (string): either running or shutdown
452
- * `config_version` (string): agent config version
453
- * `private_key` (string): The private key for the agent
454
- * `public_key` (string): public key
455
- * `server_host_key` (string):
456
- * `subdomain` (string): Files.com subdomain site name
457
-
458
-
459
421
  ---
460
422
 
461
423
  ## Update Remote Server
@@ -656,44 +618,6 @@ remote_server.agent_push_update
656
618
  * `id` (int64): Required - Remote Server ID.
657
619
 
658
620
 
659
- ---
660
-
661
- ## Post local changes, check in, and download configuration file (used by some Remote Server integrations, such as the Files.com Agent)
662
-
663
- ```
664
- remote_server = Files::RemoteServer.find(id)
665
-
666
- remote_server.configuration_file(
667
- api_token: "example",
668
- permission_set: "example",
669
- root: "C:\\Users\\",
670
- hostname: "example",
671
- port: 1,
672
- status: "example",
673
- config_version: "example",
674
- private_key: "example",
675
- public_key: "example",
676
- server_host_key: "example",
677
- subdomain: "example"
678
- )
679
- ```
680
-
681
- ### Parameters
682
-
683
- * `id` (int64): Required - Remote Server ID.
684
- * `api_token` (string): Files Agent API Token
685
- * `permission_set` (string): The permission set for the agent ['read_write', 'read_only', 'write_only']
686
- * `root` (string): The root directory for the agent
687
- * `hostname` (string):
688
- * `port` (int64): Incoming port for files agent connections
689
- * `status` (string): either running or shutdown
690
- * `config_version` (string): agent config version
691
- * `private_key` (string): The private key for the agent
692
- * `public_key` (string): public key
693
- * `server_host_key` (string):
694
- * `subdomain` (string): Files.com subdomain site name
695
-
696
-
697
621
  ---
698
622
 
699
623
  ## Update Remote Server
@@ -22,14 +22,7 @@
22
22
  "override_max_concurrent_jobs": 1,
23
23
  "graceful_shutdown_timeout": 1,
24
24
  "transfer_rate_limit": "example",
25
- "auto_update_policy": "example",
26
- "api_token": "example",
27
- "port": 1,
28
- "hostname": "example",
29
- "public_key": "example",
30
- "status": "example",
31
- "server_host_key": "example",
32
- "config_version": "example"
25
+ "auto_update_policy": "example"
33
26
  }
34
27
  ```
35
28
 
@@ -62,10 +55,3 @@ Examples:
62
55
  * 1000 requests/hour: '1000-H'
63
56
  * 2000 requests/day: '2000-D'
64
57
  * `auto_update_policy` (string): Auto update policy ['manual_trigger', 'critical_only', 'always', 'never'] (default always)
65
- * `api_token` (string): Files Agent API Token
66
- * `port` (int64): Incoming port for files agent connections
67
- * `hostname` (string):
68
- * `public_key` (string): public key
69
- * `status` (string): either running or shutdown
70
- * `server_host_key` (string):
71
- * `config_version` (string): agent config version
data/docs/sso_strategy.md CHANGED
@@ -74,7 +74,7 @@
74
74
  * `saml_provider_sso_target_url` (string): Identity provider SSO endpoint if saml_provider_metadata_url is not available.
75
75
  * `scim_authentication_method` (string): SCIM authentication type.
76
76
  * `scim_username` (string): SCIM username.
77
- * `scim_oauth_access_token` (string): SCIM OAuth Access Token.
77
+ * `scim_oauth_access_token` (string): SCIM OAuth Access Token. Only returned when the token is first issued or reset.
78
78
  * `scim_oauth_access_token_expires_at` (string): SCIM OAuth Access Token Expiration Time.
79
79
  * `subdomain` (string): Subdomain or domain name for your auth provider. Example: `https://[subdomain].okta.com/`
80
80
  * `provision_users` (boolean): Auto-provision users?
@@ -103,7 +103,6 @@ module Files
103
103
  class ApiKeySessionsNotSupportedError < NotAuthenticatedError; end
104
104
  class AuthenticationRequiredError < NotAuthenticatedError; end
105
105
  class BundleRegistrationCodeFailedError < NotAuthenticatedError; end
106
- class FilesAgentTokenFailedError < NotAuthenticatedError; end
107
106
  class InboxRegistrationCodeFailedError < NotAuthenticatedError; end
108
107
  class InvalidCredentialsError < NotAuthenticatedError; end
109
108
  class InvalidOauthError < NotAuthenticatedError; end
@@ -18,7 +18,7 @@ module Files
18
18
  @attributes[:id] = value
19
19
  end
20
20
 
21
- # boolean - If true, this Remote Server has been disabled due to failures. Make any change or set disabled to false to clear this flag.
21
+ # boolean - If true, this Remote Server is disabled. Updating it clears this flag, except for retired Agent v1 records, which remain disabled.
22
22
  def disabled
23
23
  @attributes[:disabled]
24
24
  end
@@ -549,15 +549,6 @@ module Files
549
549
  @attributes[:files_agent_root] = value
550
550
  end
551
551
 
552
- # string - Files Agent API Token
553
- def files_agent_api_token
554
- @attributes[:files_agent_api_token]
555
- end
556
-
557
- def files_agent_api_token=(value)
558
- @attributes[:files_agent_api_token] = value
559
- end
560
-
561
552
  # string - Files Agent version
562
553
  def files_agent_version
563
554
  @attributes[:files_agent_version]
@@ -940,41 +931,6 @@ module Files
940
931
  Api.send_request("/remote_servers/#{@attributes[:id]}/agent_push_update", :post, params, @options)
941
932
  end
942
933
 
943
- # Post local changes, check in, and download configuration file (used by some Remote Server integrations, such as the Files.com Agent)
944
- #
945
- # Parameters:
946
- # api_token - string - Files Agent API Token
947
- # permission_set - string - The permission set for the agent ['read_write', 'read_only', 'write_only']
948
- # root - string - The root directory for the agent
949
- # hostname - string
950
- # port - int64 - Incoming port for files agent connections
951
- # status - string - either running or shutdown
952
- # config_version - string - agent config version
953
- # private_key - string - The private key for the agent
954
- # public_key - string - public key
955
- # server_host_key - string
956
- # subdomain - string - Files.com subdomain site name
957
- def configuration_file(params = {})
958
- params ||= {}
959
- params[:id] = @attributes[:id]
960
- raise MissingParameterError.new("Current object doesn't have a id") unless @attributes[:id]
961
- raise InvalidParameterError.new("Bad parameter: id must be an Integer") if params[:id] and !params[:id].is_a?(Integer)
962
- raise InvalidParameterError.new("Bad parameter: api_token must be an String") if params[:api_token] and !params[:api_token].is_a?(String)
963
- raise InvalidParameterError.new("Bad parameter: permission_set must be an String") if params[:permission_set] and !params[:permission_set].is_a?(String)
964
- raise InvalidParameterError.new("Bad parameter: root must be an String") if params[:root] and !params[:root].is_a?(String)
965
- raise InvalidParameterError.new("Bad parameter: hostname must be an String") if params[:hostname] and !params[:hostname].is_a?(String)
966
- raise InvalidParameterError.new("Bad parameter: port must be an Integer") if params[:port] and !params[:port].is_a?(Integer)
967
- raise InvalidParameterError.new("Bad parameter: status must be an String") if params[:status] and !params[:status].is_a?(String)
968
- raise InvalidParameterError.new("Bad parameter: config_version must be an String") if params[:config_version] and !params[:config_version].is_a?(String)
969
- raise InvalidParameterError.new("Bad parameter: private_key must be an String") if params[:private_key] and !params[:private_key].is_a?(String)
970
- raise InvalidParameterError.new("Bad parameter: public_key must be an String") if params[:public_key] and !params[:public_key].is_a?(String)
971
- 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)
972
- raise InvalidParameterError.new("Bad parameter: subdomain must be an String") if params[:subdomain] and !params[:subdomain].is_a?(String)
973
- raise MissingParameterError.new("Parameter missing: id") unless params[:id]
974
-
975
- Api.send_request("/remote_servers/#{@attributes[:id]}/configuration_file", :post, params, @options)
976
- end
977
-
978
934
  # Parameters:
979
935
  # password - string - Password, if needed.
980
936
  # private_key - string - Private key, if needed.
@@ -1411,41 +1367,6 @@ module Files
1411
1367
  AgentPushUpdate.new(response.data, options)
1412
1368
  end
1413
1369
 
1414
- # Post local changes, check in, and download configuration file (used by some Remote Server integrations, such as the Files.com Agent)
1415
- #
1416
- # Parameters:
1417
- # api_token - string - Files Agent API Token
1418
- # permission_set - string - The permission set for the agent ['read_write', 'read_only', 'write_only']
1419
- # root - string - The root directory for the agent
1420
- # hostname - string
1421
- # port - int64 - Incoming port for files agent connections
1422
- # status - string - either running or shutdown
1423
- # config_version - string - agent config version
1424
- # private_key - string - The private key for the agent
1425
- # public_key - string - public key
1426
- # server_host_key - string
1427
- # subdomain - string - Files.com subdomain site name
1428
- def self.configuration_file(id, params = {}, options = {})
1429
- params ||= {}
1430
- params[:id] = id
1431
- raise InvalidParameterError.new("Bad parameter: id must be an Integer") if params[:id] and !params[:id].is_a?(Integer)
1432
- raise InvalidParameterError.new("Bad parameter: api_token must be an String") if params[:api_token] and !params[:api_token].is_a?(String)
1433
- raise InvalidParameterError.new("Bad parameter: permission_set must be an String") if params[:permission_set] and !params[:permission_set].is_a?(String)
1434
- raise InvalidParameterError.new("Bad parameter: root must be an String") if params[:root] and !params[:root].is_a?(String)
1435
- raise InvalidParameterError.new("Bad parameter: hostname must be an String") if params[:hostname] and !params[:hostname].is_a?(String)
1436
- raise InvalidParameterError.new("Bad parameter: port must be an Integer") if params[:port] and !params[:port].is_a?(Integer)
1437
- raise InvalidParameterError.new("Bad parameter: status must be an String") if params[:status] and !params[:status].is_a?(String)
1438
- raise InvalidParameterError.new("Bad parameter: config_version must be an String") if params[:config_version] and !params[:config_version].is_a?(String)
1439
- raise InvalidParameterError.new("Bad parameter: private_key must be an String") if params[:private_key] and !params[:private_key].is_a?(String)
1440
- raise InvalidParameterError.new("Bad parameter: public_key must be an String") if params[:public_key] and !params[:public_key].is_a?(String)
1441
- 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)
1442
- raise InvalidParameterError.new("Bad parameter: subdomain must be an String") if params[:subdomain] and !params[:subdomain].is_a?(String)
1443
- raise MissingParameterError.new("Parameter missing: id") unless params[:id]
1444
-
1445
- response, options = Api.send_request("/remote_servers/#{params[:id]}/configuration_file", :post, params, options)
1446
- RemoteServerConfigurationFile.new(response.data, options)
1447
- end
1448
-
1449
1370
  # Parameters:
1450
1371
  # password - string - Password, if needed.
1451
1372
  # private_key - string - Private key, if needed.
@@ -113,40 +113,5 @@ module Files
113
113
  def auto_update_policy
114
114
  @attributes[:auto_update_policy]
115
115
  end
116
-
117
- # string - Files Agent API Token
118
- def api_token
119
- @attributes[:api_token]
120
- end
121
-
122
- # int64 - Incoming port for files agent connections
123
- def port
124
- @attributes[:port]
125
- end
126
-
127
- # string
128
- def hostname
129
- @attributes[:hostname]
130
- end
131
-
132
- # string - public key
133
- def public_key
134
- @attributes[:public_key]
135
- end
136
-
137
- # string - either running or shutdown
138
- def status
139
- @attributes[:status]
140
- end
141
-
142
- # string
143
- def server_host_key
144
- @attributes[:server_host_key]
145
- end
146
-
147
- # string - agent config version
148
- def config_version
149
- @attributes[:config_version]
150
- end
151
116
  end
152
117
  end
@@ -84,7 +84,7 @@ module Files
84
84
  @attributes[:scim_username]
85
85
  end
86
86
 
87
- # string - SCIM OAuth Access Token.
87
+ # string - SCIM OAuth Access Token. Only returned when the token is first issued or reset.
88
88
  def scim_oauth_access_token
89
89
  @attributes[:scim_oauth_access_token]
90
90
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Files
4
- VERSION = "1.1.726"
4
+ VERSION = "1.1.728"
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.726
4
+ version: 1.1.728
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-09-16 00:00:00.000000000 Z
11
+ date: 2026-09-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable