files.com 1.1.242 → 1.1.244

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: f950606734982f2d2870c0e2fc7183c7d0f9619ef1a0051d164c32bb654d59c3
4
- data.tar.gz: d802caa17af0f77e1314ee26205ff1c305fe7808a8c1cba18f4d6c3ab91c3cee
3
+ metadata.gz: 9138791711f30e74f324499b243fc4c07d13aa76011dbd6e3d7c5f76c471841f
4
+ data.tar.gz: 3feadaa2fa6e0e70e2159d9013d9eae2c1a565f73d6402d4383fa91e87783e2b
5
5
  SHA512:
6
- metadata.gz: c89f794afaede210aab3d3606834060f9c6911da12407faef528243b86d5d85e39a75d1c6d560c79c123ad8b7beffea7750852943cfea4411e61fb08b198425a
7
- data.tar.gz: 6a1f804301d1c2dd2647824ae1ea7c405c3e367dfacc85f2b3860603a940e2160b1699fdcbeb179f5fb0f4778bc1ed4eb4bfba265429573bdfab0a3398ae8319
6
+ metadata.gz: a2840b857e9d54549a4e48fcefe5e90e986097fa2956cef50e08c7ffef32df081f80a17af0e04ec69e4c8b0ea99f189985fb8be26ec97528886a1b2e51a5413c
7
+ data.tar.gz: e42312ad5dea82d3cab662723a7b3546d491114c34007f80ac05a50f03661e2e4fabd14dc156ba2c7482d6a4b34af527191efdbf5c29744ce9c6a14180c4a9a9
data/README.md CHANGED
@@ -328,6 +328,16 @@ rescue Files::Error => e
328
328
  end
329
329
  ```
330
330
 
331
+ ## Foreign Language Support
332
+
333
+ The Files.com Ruby SDK will soon be updated to support localized responses by using a configuration
334
+ method. When available, it can be used to guide the API in selecting a preferred language for applicable response content.
335
+
336
+ Language support currently applies to select human-facing fields only, such as notification messages
337
+ and error descriptions.
338
+
339
+ If the specified language is not supported or the value is omitted, the API defaults to English.
340
+
331
341
  ## Errors
332
342
 
333
343
  The Files.com Ruby SDK will return errors by raising exceptions. There are many exception classes defined in the Files SDK that correspond
data/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.242
1
+ 1.1.244
@@ -38,6 +38,7 @@
38
38
  "azure_blob_storage_account": "storage-account-name",
39
39
  "azure_blob_storage_container": "container-name",
40
40
  "azure_blob_storage_hierarchical_namespace": true,
41
+ "azure_blob_storage_dns_suffix": "usgovcloudapi.net",
41
42
  "azure_files_storage_account": "storage-account-name",
42
43
  "azure_files_storage_share_name": "share-name",
43
44
  "azure_files_storage_dns_suffix": "file.core.windows.net",
@@ -97,6 +98,7 @@
97
98
  * `azure_blob_storage_account` (string): Azure Blob Storage Account name
98
99
  * `azure_blob_storage_container` (string): Azure Blob Storage Container name
99
100
  * `azure_blob_storage_hierarchical_namespace` (boolean): Enable when storage account has hierarchical namespace feature enabled
101
+ * `azure_blob_storage_dns_suffix` (string): Custom DNS suffix
100
102
  * `azure_files_storage_account` (string): Azure File Storage Account name
101
103
  * `azure_files_storage_share_name` (string): Azure File Storage Share name
102
104
  * `azure_files_storage_dns_suffix` (string): Custom DNS suffix
@@ -217,6 +219,7 @@ Files::RemoteServer.create(
217
219
  azure_blob_storage_account: "storage-account-name",
218
220
  azure_blob_storage_container: "container-name",
219
221
  azure_blob_storage_hierarchical_namespace: true,
222
+ azure_blob_storage_dns_suffix: "usgovcloudapi.net",
220
223
  azure_files_storage_account: "storage-account-name",
221
224
  azure_files_storage_share_name: "share-name",
222
225
  azure_files_storage_dns_suffix: "file.core.windows.net",
@@ -283,6 +286,7 @@ Files::RemoteServer.create(
283
286
  * `azure_blob_storage_container` (string): Azure Blob Storage Container name
284
287
  * `azure_blob_storage_hierarchical_namespace` (boolean): Enable when storage account has hierarchical namespace feature enabled
285
288
  * `azure_blob_storage_sas_token` (string): Shared Access Signature (SAS) token
289
+ * `azure_blob_storage_dns_suffix` (string): Custom DNS suffix
286
290
  * `azure_files_storage_account` (string): Azure File Storage Account name
287
291
  * `azure_files_storage_share_name` (string): Azure File Storage Share name
288
292
  * `azure_files_storage_dns_suffix` (string): Custom DNS suffix
@@ -380,6 +384,7 @@ Files::RemoteServer.update(id,
380
384
  azure_blob_storage_account: "storage-account-name",
381
385
  azure_blob_storage_container: "container-name",
382
386
  azure_blob_storage_hierarchical_namespace: true,
387
+ azure_blob_storage_dns_suffix: "usgovcloudapi.net",
383
388
  azure_files_storage_account: "storage-account-name",
384
389
  azure_files_storage_share_name: "share-name",
385
390
  azure_files_storage_dns_suffix: "file.core.windows.net",
@@ -447,6 +452,7 @@ Files::RemoteServer.update(id,
447
452
  * `azure_blob_storage_container` (string): Azure Blob Storage Container name
448
453
  * `azure_blob_storage_hierarchical_namespace` (boolean): Enable when storage account has hierarchical namespace feature enabled
449
454
  * `azure_blob_storage_sas_token` (string): Shared Access Signature (SAS) token
455
+ * `azure_blob_storage_dns_suffix` (string): Custom DNS suffix
450
456
  * `azure_files_storage_account` (string): Azure File Storage Account name
451
457
  * `azure_files_storage_share_name` (string): Azure File Storage Share name
452
458
  * `azure_files_storage_dns_suffix` (string): Custom DNS suffix
@@ -561,6 +567,7 @@ remote_server.update(
561
567
  azure_blob_storage_account: "storage-account-name",
562
568
  azure_blob_storage_container: "container-name",
563
569
  azure_blob_storage_hierarchical_namespace: true,
570
+ azure_blob_storage_dns_suffix: "usgovcloudapi.net",
564
571
  azure_files_storage_account: "storage-account-name",
565
572
  azure_files_storage_share_name: "share-name",
566
573
  azure_files_storage_dns_suffix: "file.core.windows.net",
@@ -628,6 +635,7 @@ remote_server.update(
628
635
  * `azure_blob_storage_container` (string): Azure Blob Storage Container name
629
636
  * `azure_blob_storage_hierarchical_namespace` (boolean): Enable when storage account has hierarchical namespace feature enabled
630
637
  * `azure_blob_storage_sas_token` (string): Shared Access Signature (SAS) token
638
+ * `azure_blob_storage_dns_suffix` (string): Custom DNS suffix
631
639
  * `azure_files_storage_account` (string): Azure File Storage Account name
632
640
  * `azure_files_storage_share_name` (string): Azure File Storage Share name
633
641
  * `azure_files_storage_dns_suffix` (string): Custom DNS suffix
data/docs/site.md CHANGED
@@ -203,6 +203,7 @@
203
203
  "smtp_username": "mail",
204
204
  "session_expiry": 6.0,
205
205
  "session_expiry_minutes": 360,
206
+ "snapshot_sharing_enabled": true,
206
207
  "ssl_required": true,
207
208
  "subdomain": "mysite",
208
209
  "switch_to_plan_date": "2000-01-01T01:00:00Z",
@@ -445,6 +446,7 @@
445
446
  * `smtp_username` (string): SMTP server username
446
447
  * `session_expiry` (double): Session expiry in hours
447
448
  * `session_expiry_minutes` (int64): Session expiry in minutes
449
+ * `snapshot_sharing_enabled` (boolean): Allow snapshot share links creation
448
450
  * `ssl_required` (boolean): Is SSL required? Disabling this is insecure.
449
451
  * `subdomain` (string): Site subdomain
450
452
  * `switch_to_plan_date` (date-time): If switching plans, when does the new plan take effect?
@@ -583,6 +585,7 @@ Files::Site.update(
583
585
  non_sso_groups_allowed: false,
584
586
  non_sso_users_allowed: false,
585
587
  sharing_enabled: false,
588
+ snapshot_sharing_enabled: false,
586
589
  user_requests_enabled: false,
587
590
  user_requests_notify_admins: false,
588
591
  dav_enabled: false,
@@ -741,6 +744,7 @@ Files::Site.update(
741
744
  * `non_sso_groups_allowed` (boolean): If true, groups can be manually created / modified / deleted by Site Admins. Otherwise, groups can only be managed via your SSO provider.
742
745
  * `non_sso_users_allowed` (boolean): If true, users can be manually created / modified / deleted by Site Admins. Otherwise, users can only be managed via your SSO provider.
743
746
  * `sharing_enabled` (boolean): Allow bundle creation
747
+ * `snapshot_sharing_enabled` (boolean): Allow snapshot share links creation
744
748
  * `user_requests_enabled` (boolean): Enable User Requests feature
745
749
  * `user_requests_notify_admins` (boolean): Send email to site admins when a user request is received?
746
750
  * `dav_enabled` (boolean): Is WebDAV enabled?
@@ -315,6 +315,15 @@ module Files
315
315
  @attributes[:azure_blob_storage_hierarchical_namespace] = value
316
316
  end
317
317
 
318
+ # string - Custom DNS suffix
319
+ def azure_blob_storage_dns_suffix
320
+ @attributes[:azure_blob_storage_dns_suffix]
321
+ end
322
+
323
+ def azure_blob_storage_dns_suffix=(value)
324
+ @attributes[:azure_blob_storage_dns_suffix] = value
325
+ end
326
+
318
327
  # string - Azure File Storage Account name
319
328
  def azure_files_storage_account
320
329
  @attributes[:azure_files_storage_account]
@@ -761,6 +770,7 @@ module Files
761
770
  # azure_blob_storage_container - string - Azure Blob Storage Container name
762
771
  # azure_blob_storage_hierarchical_namespace - boolean - Enable when storage account has hierarchical namespace feature enabled
763
772
  # azure_blob_storage_sas_token - string - Shared Access Signature (SAS) token
773
+ # azure_blob_storage_dns_suffix - string - Custom DNS suffix
764
774
  # azure_files_storage_account - string - Azure File Storage Account name
765
775
  # azure_files_storage_share_name - string - Azure File Storage Share name
766
776
  # azure_files_storage_dns_suffix - string - Custom DNS suffix
@@ -829,6 +839,7 @@ module Files
829
839
  raise InvalidParameterError.new("Bad parameter: azure_blob_storage_account must be an String") if params[:azure_blob_storage_account] and !params[:azure_blob_storage_account].is_a?(String)
830
840
  raise InvalidParameterError.new("Bad parameter: azure_blob_storage_container must be an String") if params[:azure_blob_storage_container] and !params[:azure_blob_storage_container].is_a?(String)
831
841
  raise InvalidParameterError.new("Bad parameter: azure_blob_storage_sas_token must be an String") if params[:azure_blob_storage_sas_token] and !params[:azure_blob_storage_sas_token].is_a?(String)
842
+ raise InvalidParameterError.new("Bad parameter: azure_blob_storage_dns_suffix must be an String") if params[:azure_blob_storage_dns_suffix] and !params[:azure_blob_storage_dns_suffix].is_a?(String)
832
843
  raise InvalidParameterError.new("Bad parameter: azure_files_storage_account must be an String") if params[:azure_files_storage_account] and !params[:azure_files_storage_account].is_a?(String)
833
844
  raise InvalidParameterError.new("Bad parameter: azure_files_storage_share_name must be an String") if params[:azure_files_storage_share_name] and !params[:azure_files_storage_share_name].is_a?(String)
834
845
  raise InvalidParameterError.new("Bad parameter: azure_files_storage_dns_suffix must be an String") if params[:azure_files_storage_dns_suffix] and !params[:azure_files_storage_dns_suffix].is_a?(String)
@@ -975,6 +986,7 @@ module Files
975
986
  # azure_blob_storage_container - string - Azure Blob Storage Container name
976
987
  # azure_blob_storage_hierarchical_namespace - boolean - Enable when storage account has hierarchical namespace feature enabled
977
988
  # azure_blob_storage_sas_token - string - Shared Access Signature (SAS) token
989
+ # azure_blob_storage_dns_suffix - string - Custom DNS suffix
978
990
  # azure_files_storage_account - string - Azure File Storage Account name
979
991
  # azure_files_storage_share_name - string - Azure File Storage Share name
980
992
  # azure_files_storage_dns_suffix - string - Custom DNS suffix
@@ -1039,6 +1051,7 @@ module Files
1039
1051
  raise InvalidParameterError.new("Bad parameter: azure_blob_storage_account must be an String") if params[:azure_blob_storage_account] and !params[:azure_blob_storage_account].is_a?(String)
1040
1052
  raise InvalidParameterError.new("Bad parameter: azure_blob_storage_container must be an String") if params[:azure_blob_storage_container] and !params[:azure_blob_storage_container].is_a?(String)
1041
1053
  raise InvalidParameterError.new("Bad parameter: azure_blob_storage_sas_token must be an String") if params[:azure_blob_storage_sas_token] and !params[:azure_blob_storage_sas_token].is_a?(String)
1054
+ raise InvalidParameterError.new("Bad parameter: azure_blob_storage_dns_suffix must be an String") if params[:azure_blob_storage_dns_suffix] and !params[:azure_blob_storage_dns_suffix].is_a?(String)
1042
1055
  raise InvalidParameterError.new("Bad parameter: azure_files_storage_account must be an String") if params[:azure_files_storage_account] and !params[:azure_files_storage_account].is_a?(String)
1043
1056
  raise InvalidParameterError.new("Bad parameter: azure_files_storage_share_name must be an String") if params[:azure_files_storage_share_name] and !params[:azure_files_storage_share_name].is_a?(String)
1044
1057
  raise InvalidParameterError.new("Bad parameter: azure_files_storage_dns_suffix must be an String") if params[:azure_files_storage_dns_suffix] and !params[:azure_files_storage_dns_suffix].is_a?(String)
@@ -1144,6 +1157,7 @@ module Files
1144
1157
  # azure_blob_storage_container - string - Azure Blob Storage Container name
1145
1158
  # azure_blob_storage_hierarchical_namespace - boolean - Enable when storage account has hierarchical namespace feature enabled
1146
1159
  # azure_blob_storage_sas_token - string - Shared Access Signature (SAS) token
1160
+ # azure_blob_storage_dns_suffix - string - Custom DNS suffix
1147
1161
  # azure_files_storage_account - string - Azure File Storage Account name
1148
1162
  # azure_files_storage_share_name - string - Azure File Storage Share name
1149
1163
  # azure_files_storage_dns_suffix - string - Custom DNS suffix
@@ -1211,6 +1225,7 @@ module Files
1211
1225
  raise InvalidParameterError.new("Bad parameter: azure_blob_storage_account must be an String") if params[:azure_blob_storage_account] and !params[:azure_blob_storage_account].is_a?(String)
1212
1226
  raise InvalidParameterError.new("Bad parameter: azure_blob_storage_container must be an String") if params[:azure_blob_storage_container] and !params[:azure_blob_storage_container].is_a?(String)
1213
1227
  raise InvalidParameterError.new("Bad parameter: azure_blob_storage_sas_token must be an String") if params[:azure_blob_storage_sas_token] and !params[:azure_blob_storage_sas_token].is_a?(String)
1228
+ raise InvalidParameterError.new("Bad parameter: azure_blob_storage_dns_suffix must be an String") if params[:azure_blob_storage_dns_suffix] and !params[:azure_blob_storage_dns_suffix].is_a?(String)
1214
1229
  raise InvalidParameterError.new("Bad parameter: azure_files_storage_account must be an String") if params[:azure_files_storage_account] and !params[:azure_files_storage_account].is_a?(String)
1215
1230
  raise InvalidParameterError.new("Bad parameter: azure_files_storage_share_name must be an String") if params[:azure_files_storage_share_name] and !params[:azure_files_storage_share_name].is_a?(String)
1216
1231
  raise InvalidParameterError.new("Bad parameter: azure_files_storage_dns_suffix must be an String") if params[:azure_files_storage_dns_suffix] and !params[:azure_files_storage_dns_suffix].is_a?(String)
@@ -729,6 +729,11 @@ module Files
729
729
  @attributes[:session_expiry_minutes]
730
730
  end
731
731
 
732
+ # boolean - Allow snapshot share links creation
733
+ def snapshot_sharing_enabled
734
+ @attributes[:snapshot_sharing_enabled]
735
+ end
736
+
732
737
  # boolean - Is SSL required? Disabling this is insecure.
733
738
  def ssl_required
734
739
  @attributes[:ssl_required]
@@ -953,6 +958,7 @@ module Files
953
958
  # non_sso_groups_allowed - boolean - If true, groups can be manually created / modified / deleted by Site Admins. Otherwise, groups can only be managed via your SSO provider.
954
959
  # non_sso_users_allowed - boolean - If true, users can be manually created / modified / deleted by Site Admins. Otherwise, users can only be managed via your SSO provider.
955
960
  # sharing_enabled - boolean - Allow bundle creation
961
+ # snapshot_sharing_enabled - boolean - Allow snapshot share links creation
956
962
  # user_requests_enabled - boolean - Enable User Requests feature
957
963
  # user_requests_notify_admins - boolean - Send email to site admins when a user request is received?
958
964
  # dav_enabled - boolean - Is WebDAV enabled?
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Files
4
- VERSION = "1.1.242"
4
+ VERSION = "1.1.244"
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.242
4
+ version: 1.1.244
5
5
  platform: ruby
6
6
  authors:
7
7
  - files.com
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-04-24 00:00:00.000000000 Z
11
+ date: 2025-04-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable