files.com 1.1.404 → 1.1.406
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 +4 -4
- data/_VERSION +1 -1
- data/docs/as2_incoming_message.md +2 -5
- data/docs/as2_outgoing_message.md +2 -5
- data/docs/as2_partner.md +2 -0
- data/docs/bundle.md +1 -1
- data/docs/site.md +3 -7
- data/lib/files.com/models/as2_incoming_message.rb +1 -3
- data/lib/files.com/models/as2_outgoing_message.rb +1 -3
- data/lib/files.com/models/as2_partner.rb +4 -0
- data/lib/files.com/models/bundle.rb +1 -1
- data/lib/files.com/models/site.rb +2 -9
- data/lib/files.com/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 17247f17984c5b6dc00200024c9209356c8142f1f63c33d6748de6935a7c246f
|
|
4
|
+
data.tar.gz: 41e7914bdca6eb65dab36aa54e677ea2ba796b6a5f80fef7821be0e6087a2178
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: cd4e6709cba4d11869715601f991fc330d8ce8bccaccdb0f422f0646a9433a1c7b0a5a1f17be62bfcfcc1524f8f3a3ead3357a240f89662174e07dbf9ca7cbdc
|
|
7
|
+
data.tar.gz: 14b2e4a797266814981e05bfe37bd0595f0db38c3b0b59545e465b4b672c12c17062f95276f314196e1fb04e4004439a4b829a2df8b4fd7588ceab9d2953582d
|
data/_VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.1.
|
|
1
|
+
1.1.406
|
|
@@ -86,9 +86,7 @@
|
|
|
86
86
|
## List AS2 Incoming Messages
|
|
87
87
|
|
|
88
88
|
```
|
|
89
|
-
Files::As2IncomingMessage.list
|
|
90
|
-
as2_partner_id: 1
|
|
91
|
-
)
|
|
89
|
+
Files::As2IncomingMessage.list
|
|
92
90
|
```
|
|
93
91
|
|
|
94
92
|
### Parameters
|
|
@@ -96,9 +94,8 @@ Files::As2IncomingMessage.list(
|
|
|
96
94
|
* `cursor` (string): Used for pagination. When a list request has more records available, cursors are provided in the response headers `X-Files-Cursor-Next` and `X-Files-Cursor-Prev`. Send one of those cursor value here to resume an existing list from the next available record. Note: many of our SDKs have iterator methods that will automatically handle cursor-based pagination.
|
|
97
95
|
* `per_page` (int64): Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
|
98
96
|
* `sort_by` (object): If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `created_at` and `as2_partner_id`.
|
|
99
|
-
* `filter` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`.
|
|
97
|
+
* `filter` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`, `as2_station_id` or `as2_partner_id`. Valid field combinations are `[ as2_station_id, created_at ]` and `[ as2_partner_id, created_at ]`.
|
|
100
98
|
* `filter_gt` (object): If set, return records where the specified field is greater than the supplied value. Valid fields are `created_at`.
|
|
101
99
|
* `filter_gteq` (object): If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `created_at`.
|
|
102
100
|
* `filter_lt` (object): If set, return records where the specified field is less than the supplied value. Valid fields are `created_at`.
|
|
103
101
|
* `filter_lteq` (object): If set, return records where the specified field is less than or equal the supplied value. Valid fields are `created_at`.
|
|
104
|
-
* `as2_partner_id` (int64): As2 Partner ID. If provided, will return message specific to that partner.
|
|
@@ -78,9 +78,7 @@
|
|
|
78
78
|
## List AS2 Outgoing Messages
|
|
79
79
|
|
|
80
80
|
```
|
|
81
|
-
Files::As2OutgoingMessage.list
|
|
82
|
-
as2_partner_id: 1
|
|
83
|
-
)
|
|
81
|
+
Files::As2OutgoingMessage.list
|
|
84
82
|
```
|
|
85
83
|
|
|
86
84
|
### Parameters
|
|
@@ -88,9 +86,8 @@ Files::As2OutgoingMessage.list(
|
|
|
88
86
|
* `cursor` (string): Used for pagination. When a list request has more records available, cursors are provided in the response headers `X-Files-Cursor-Next` and `X-Files-Cursor-Prev`. Send one of those cursor value here to resume an existing list from the next available record. Note: many of our SDKs have iterator methods that will automatically handle cursor-based pagination.
|
|
89
87
|
* `per_page` (int64): Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
|
90
88
|
* `sort_by` (object): If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `created_at` and `as2_partner_id`.
|
|
91
|
-
* `filter` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`.
|
|
89
|
+
* `filter` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`, `as2_station_id` or `as2_partner_id`. Valid field combinations are `[ as2_station_id, created_at ]` and `[ as2_partner_id, created_at ]`.
|
|
92
90
|
* `filter_gt` (object): If set, return records where the specified field is greater than the supplied value. Valid fields are `created_at`.
|
|
93
91
|
* `filter_gteq` (object): If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `created_at`.
|
|
94
92
|
* `filter_lt` (object): If set, return records where the specified field is less than the supplied value. Valid fields are `created_at`.
|
|
95
93
|
* `filter_lteq` (object): If set, return records where the specified field is less than or equal the supplied value. Valid fields are `created_at`.
|
|
96
|
-
* `as2_partner_id` (int64): As2 Partner ID. If provided, will return message specific to that partner.
|
data/docs/as2_partner.md
CHANGED
|
@@ -62,6 +62,8 @@ Files::As2Partner.list
|
|
|
62
62
|
|
|
63
63
|
* `cursor` (string): Used for pagination. When a list request has more records available, cursors are provided in the response headers `X-Files-Cursor-Next` and `X-Files-Cursor-Prev`. Send one of those cursor value here to resume an existing list from the next available record. Note: many of our SDKs have iterator methods that will automatically handle cursor-based pagination.
|
|
64
64
|
* `per_page` (int64): Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
|
65
|
+
* `sort_by` (object): If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `as2_station_id` and `name`.
|
|
66
|
+
* `filter` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `as2_station_id`.
|
|
65
67
|
|
|
66
68
|
|
|
67
69
|
---
|
data/docs/bundle.md
CHANGED
|
@@ -152,7 +152,7 @@ Files::Bundle.list(
|
|
|
152
152
|
* `cursor` (string): Used for pagination. When a list request has more records available, cursors are provided in the response headers `X-Files-Cursor-Next` and `X-Files-Cursor-Prev`. Send one of those cursor value here to resume an existing list from the next available record. Note: many of our SDKs have iterator methods that will automatically handle cursor-based pagination.
|
|
153
153
|
* `per_page` (int64): Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
|
154
154
|
* `sort_by` (object): If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `expires_at`.
|
|
155
|
-
* `filter` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`, `expires_at`, `code` or `user_id`. Valid field combinations are `[ user_id,
|
|
155
|
+
* `filter` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`, `expires_at`, `code` or `user_id`. Valid field combinations are `[ user_id, expires_at ]`.
|
|
156
156
|
* `filter_gt` (object): If set, return records where the specified field is greater than the supplied value. Valid fields are `created_at` and `expires_at`.
|
|
157
157
|
* `filter_gteq` (object): If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `created_at` and `expires_at`.
|
|
158
158
|
* `filter_prefix` (object): If set, return records where the specified field is prefixed by the supplied value. Valid fields are `code`.
|
data/docs/site.md
CHANGED
|
@@ -207,7 +207,6 @@
|
|
|
207
207
|
"smtp_from": "me@my-mail-server.com",
|
|
208
208
|
"smtp_port": 25,
|
|
209
209
|
"smtp_username": "mail",
|
|
210
|
-
"session_expiry": 6.0,
|
|
211
210
|
"session_expiry_minutes": 360,
|
|
212
211
|
"snapshot_sharing_enabled": true,
|
|
213
212
|
"ssl_required": true,
|
|
@@ -460,7 +459,6 @@
|
|
|
460
459
|
* `smtp_from` (string): From address to use when mailing through custom SMTP
|
|
461
460
|
* `smtp_port` (int64): SMTP server port
|
|
462
461
|
* `smtp_username` (string): SMTP server username
|
|
463
|
-
* `session_expiry` (double): Session expiry in hours
|
|
464
462
|
* `session_expiry_minutes` (int64): Session expiry in minutes
|
|
465
463
|
* `snapshot_sharing_enabled` (boolean): Allow snapshot share links creation
|
|
466
464
|
* `ssl_required` (boolean): Is SSL required? Disabling this is insecure.
|
|
@@ -556,7 +554,7 @@ Files::Site.update(
|
|
|
556
554
|
legacy_checksums_mode: false,
|
|
557
555
|
migrate_remote_server_sync_to_sync: false,
|
|
558
556
|
as2_message_retention_days: 1,
|
|
559
|
-
|
|
557
|
+
session_expiry_minutes: 1,
|
|
560
558
|
ssl_required: false,
|
|
561
559
|
sftp_insecure_ciphers: false,
|
|
562
560
|
sftp_insecure_diffie_hellman: false,
|
|
@@ -667,8 +665,7 @@ Files::Site.update(
|
|
|
667
665
|
logo_delete: false,
|
|
668
666
|
bundle_watermark_attachment_delete: false,
|
|
669
667
|
login_page_background_image_delete: false,
|
|
670
|
-
disable_2fa_with_delay: false
|
|
671
|
-
session_expiry_minutes: 1
|
|
668
|
+
disable_2fa_with_delay: false
|
|
672
669
|
)
|
|
673
670
|
```
|
|
674
671
|
|
|
@@ -718,7 +715,7 @@ Files::Site.update(
|
|
|
718
715
|
* `legacy_checksums_mode` (boolean): Use legacy checksums mode?
|
|
719
716
|
* `migrate_remote_server_sync_to_sync` (boolean): If true, we will migrate all remote server syncs to the new Sync model.
|
|
720
717
|
* `as2_message_retention_days` (int64): Number of days to retain AS2 messages (incoming and outgoing).
|
|
721
|
-
* `
|
|
718
|
+
* `session_expiry_minutes` (int64): Session expiry in minutes
|
|
722
719
|
* `ssl_required` (boolean): Is SSL required? Disabling this is insecure.
|
|
723
720
|
* `sftp_insecure_ciphers` (boolean): If true, we will allow weak and known insecure ciphers to be used for SFTP connections. Enabling this setting severely weakens the security of your site and it is not recommend, except as a last resort for compatibility.
|
|
724
721
|
* `sftp_insecure_diffie_hellman` (boolean): If true, we will allow weak Diffie Hellman parameters to be used within ciphers for SFTP that are otherwise on our secure list. This has the effect of making the cipher weaker than our normal threshold for security, but is required to support certain legacy or broken SSH and MFT clients. Enabling this weakens security, but not nearly as much as enabling the full `sftp_insecure_ciphers` option.
|
|
@@ -840,4 +837,3 @@ Files::Site.update(
|
|
|
840
837
|
* `ldap_password_change` (string): New LDAP password.
|
|
841
838
|
* `ldap_password_change_confirmation` (string): Confirm new LDAP password.
|
|
842
839
|
* `smtp_password` (string): Password for SMTP server.
|
|
843
|
-
* `session_expiry_minutes` (int64): Session expiry in minutes
|
|
@@ -183,12 +183,11 @@ module Files
|
|
|
183
183
|
# cursor - string - Used for pagination. When a list request has more records available, cursors are provided in the response headers `X-Files-Cursor-Next` and `X-Files-Cursor-Prev`. Send one of those cursor value here to resume an existing list from the next available record. Note: many of our SDKs have iterator methods that will automatically handle cursor-based pagination.
|
|
184
184
|
# per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
|
185
185
|
# sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `created_at` and `as2_partner_id`.
|
|
186
|
-
# filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`.
|
|
186
|
+
# filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`, `as2_station_id` or `as2_partner_id`. Valid field combinations are `[ as2_station_id, created_at ]` and `[ as2_partner_id, created_at ]`.
|
|
187
187
|
# filter_gt - object - If set, return records where the specified field is greater than the supplied value. Valid fields are `created_at`.
|
|
188
188
|
# filter_gteq - object - If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `created_at`.
|
|
189
189
|
# filter_lt - object - If set, return records where the specified field is less than the supplied value. Valid fields are `created_at`.
|
|
190
190
|
# filter_lteq - object - If set, return records where the specified field is less than or equal the supplied value. Valid fields are `created_at`.
|
|
191
|
-
# as2_partner_id - int64 - As2 Partner ID. If provided, will return message specific to that partner.
|
|
192
191
|
def self.list(params = {}, options = {})
|
|
193
192
|
raise InvalidParameterError.new("Bad parameter: cursor must be an String") if params[:cursor] and !params[:cursor].is_a?(String)
|
|
194
193
|
raise InvalidParameterError.new("Bad parameter: per_page must be an Integer") if params[:per_page] and !params[:per_page].is_a?(Integer)
|
|
@@ -198,7 +197,6 @@ module Files
|
|
|
198
197
|
raise InvalidParameterError.new("Bad parameter: filter_gteq must be an Hash") if params[:filter_gteq] and !params[:filter_gteq].is_a?(Hash)
|
|
199
198
|
raise InvalidParameterError.new("Bad parameter: filter_lt must be an Hash") if params[:filter_lt] and !params[:filter_lt].is_a?(Hash)
|
|
200
199
|
raise InvalidParameterError.new("Bad parameter: filter_lteq must be an Hash") if params[:filter_lteq] and !params[:filter_lteq].is_a?(Hash)
|
|
201
|
-
raise InvalidParameterError.new("Bad parameter: as2_partner_id must be an Integer") if params[:as2_partner_id] and !params[:as2_partner_id].is_a?(Integer)
|
|
202
200
|
|
|
203
201
|
List.new(As2IncomingMessage, params) do
|
|
204
202
|
Api.send_request("/as2_incoming_messages", :get, params, options)
|
|
@@ -163,12 +163,11 @@ module Files
|
|
|
163
163
|
# cursor - string - Used for pagination. When a list request has more records available, cursors are provided in the response headers `X-Files-Cursor-Next` and `X-Files-Cursor-Prev`. Send one of those cursor value here to resume an existing list from the next available record. Note: many of our SDKs have iterator methods that will automatically handle cursor-based pagination.
|
|
164
164
|
# per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
|
165
165
|
# sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `created_at` and `as2_partner_id`.
|
|
166
|
-
# filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`.
|
|
166
|
+
# filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`, `as2_station_id` or `as2_partner_id`. Valid field combinations are `[ as2_station_id, created_at ]` and `[ as2_partner_id, created_at ]`.
|
|
167
167
|
# filter_gt - object - If set, return records where the specified field is greater than the supplied value. Valid fields are `created_at`.
|
|
168
168
|
# filter_gteq - object - If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `created_at`.
|
|
169
169
|
# filter_lt - object - If set, return records where the specified field is less than the supplied value. Valid fields are `created_at`.
|
|
170
170
|
# filter_lteq - object - If set, return records where the specified field is less than or equal the supplied value. Valid fields are `created_at`.
|
|
171
|
-
# as2_partner_id - int64 - As2 Partner ID. If provided, will return message specific to that partner.
|
|
172
171
|
def self.list(params = {}, options = {})
|
|
173
172
|
raise InvalidParameterError.new("Bad parameter: cursor must be an String") if params[:cursor] and !params[:cursor].is_a?(String)
|
|
174
173
|
raise InvalidParameterError.new("Bad parameter: per_page must be an Integer") if params[:per_page] and !params[:per_page].is_a?(Integer)
|
|
@@ -178,7 +177,6 @@ module Files
|
|
|
178
177
|
raise InvalidParameterError.new("Bad parameter: filter_gteq must be an Hash") if params[:filter_gteq] and !params[:filter_gteq].is_a?(Hash)
|
|
179
178
|
raise InvalidParameterError.new("Bad parameter: filter_lt must be an Hash") if params[:filter_lt] and !params[:filter_lt].is_a?(Hash)
|
|
180
179
|
raise InvalidParameterError.new("Bad parameter: filter_lteq must be an Hash") if params[:filter_lteq] and !params[:filter_lteq].is_a?(Hash)
|
|
181
|
-
raise InvalidParameterError.new("Bad parameter: as2_partner_id must be an Integer") if params[:as2_partner_id] and !params[:as2_partner_id].is_a?(Integer)
|
|
182
180
|
|
|
183
181
|
List.new(As2OutgoingMessage, params) do
|
|
184
182
|
Api.send_request("/as2_outgoing_messages", :get, params, options)
|
|
@@ -249,9 +249,13 @@ module Files
|
|
|
249
249
|
# Parameters:
|
|
250
250
|
# cursor - string - Used for pagination. When a list request has more records available, cursors are provided in the response headers `X-Files-Cursor-Next` and `X-Files-Cursor-Prev`. Send one of those cursor value here to resume an existing list from the next available record. Note: many of our SDKs have iterator methods that will automatically handle cursor-based pagination.
|
|
251
251
|
# per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
|
252
|
+
# sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `as2_station_id` and `name`.
|
|
253
|
+
# filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `as2_station_id`.
|
|
252
254
|
def self.list(params = {}, options = {})
|
|
253
255
|
raise InvalidParameterError.new("Bad parameter: cursor must be an String") if params[:cursor] and !params[:cursor].is_a?(String)
|
|
254
256
|
raise InvalidParameterError.new("Bad parameter: per_page must be an Integer") if params[:per_page] and !params[:per_page].is_a?(Integer)
|
|
257
|
+
raise InvalidParameterError.new("Bad parameter: sort_by must be an Hash") if params[:sort_by] and !params[:sort_by].is_a?(Hash)
|
|
258
|
+
raise InvalidParameterError.new("Bad parameter: filter must be an Hash") if params[:filter] and !params[:filter].is_a?(Hash)
|
|
255
259
|
|
|
256
260
|
List.new(As2Partner, params) do
|
|
257
261
|
Api.send_request("/as2_partners", :get, params, options)
|
|
@@ -519,7 +519,7 @@ module Files
|
|
|
519
519
|
# cursor - string - Used for pagination. When a list request has more records available, cursors are provided in the response headers `X-Files-Cursor-Next` and `X-Files-Cursor-Prev`. Send one of those cursor value here to resume an existing list from the next available record. Note: many of our SDKs have iterator methods that will automatically handle cursor-based pagination.
|
|
520
520
|
# per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
|
521
521
|
# sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `expires_at`.
|
|
522
|
-
# filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`, `expires_at`, `code` or `user_id`. Valid field combinations are `[ user_id,
|
|
522
|
+
# filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`, `expires_at`, `code` or `user_id`. Valid field combinations are `[ user_id, expires_at ]`.
|
|
523
523
|
# filter_gt - object - If set, return records where the specified field is greater than the supplied value. Valid fields are `created_at` and `expires_at`.
|
|
524
524
|
# filter_gteq - object - If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `created_at` and `expires_at`.
|
|
525
525
|
# filter_prefix - object - If set, return records where the specified field is prefixed by the supplied value. Valid fields are `code`.
|
|
@@ -744,11 +744,6 @@ module Files
|
|
|
744
744
|
@attributes[:smtp_username]
|
|
745
745
|
end
|
|
746
746
|
|
|
747
|
-
# double - Session expiry in hours
|
|
748
|
-
def session_expiry
|
|
749
|
-
@attributes[:session_expiry]
|
|
750
|
-
end
|
|
751
|
-
|
|
752
747
|
# int64 - Session expiry in minutes
|
|
753
748
|
def session_expiry_minutes
|
|
754
749
|
@attributes[:session_expiry_minutes]
|
|
@@ -934,7 +929,7 @@ module Files
|
|
|
934
929
|
# legacy_checksums_mode - boolean - Use legacy checksums mode?
|
|
935
930
|
# migrate_remote_server_sync_to_sync - boolean - If true, we will migrate all remote server syncs to the new Sync model.
|
|
936
931
|
# as2_message_retention_days - int64 - Number of days to retain AS2 messages (incoming and outgoing).
|
|
937
|
-
#
|
|
932
|
+
# session_expiry_minutes - int64 - Session expiry in minutes
|
|
938
933
|
# ssl_required - boolean - Is SSL required? Disabling this is insecure.
|
|
939
934
|
# sftp_insecure_ciphers - boolean - If true, we will allow weak and known insecure ciphers to be used for SFTP connections. Enabling this setting severely weakens the security of your site and it is not recommend, except as a last resort for compatibility.
|
|
940
935
|
# sftp_insecure_diffie_hellman - boolean - If true, we will allow weak Diffie Hellman parameters to be used within ciphers for SFTP that are otherwise on our secure list. This has the effect of making the cipher weaker than our normal threshold for security, but is required to support certain legacy or broken SSH and MFT clients. Enabling this weakens security, but not nearly as much as enabling the full `sftp_insecure_ciphers` option.
|
|
@@ -1056,7 +1051,6 @@ module Files
|
|
|
1056
1051
|
# ldap_password_change - string - New LDAP password.
|
|
1057
1052
|
# ldap_password_change_confirmation - string - Confirm new LDAP password.
|
|
1058
1053
|
# smtp_password - string - Password for SMTP server.
|
|
1059
|
-
# session_expiry_minutes - int64 - Session expiry in minutes
|
|
1060
1054
|
def self.update(params = {}, options = {})
|
|
1061
1055
|
raise InvalidParameterError.new("Bad parameter: name must be an String") if params[:name] and !params[:name].is_a?(String)
|
|
1062
1056
|
raise InvalidParameterError.new("Bad parameter: subdomain must be an String") if params[:subdomain] and !params[:subdomain].is_a?(String)
|
|
@@ -1078,7 +1072,7 @@ module Files
|
|
|
1078
1072
|
raise InvalidParameterError.new("Bad parameter: left_navigation_visibility must be an Hash") if params[:left_navigation_visibility] and !params[:left_navigation_visibility].is_a?(Hash)
|
|
1079
1073
|
raise InvalidParameterError.new("Bad parameter: additional_text_file_types must be an Array") if params[:additional_text_file_types] and !params[:additional_text_file_types].is_a?(Array)
|
|
1080
1074
|
raise InvalidParameterError.new("Bad parameter: as2_message_retention_days must be an Integer") if params[:as2_message_retention_days] and !params[:as2_message_retention_days].is_a?(Integer)
|
|
1081
|
-
raise InvalidParameterError.new("Bad parameter:
|
|
1075
|
+
raise InvalidParameterError.new("Bad parameter: session_expiry_minutes must be an Integer") if params[:session_expiry_minutes] and !params[:session_expiry_minutes].is_a?(Integer)
|
|
1082
1076
|
raise InvalidParameterError.new("Bad parameter: user_lockout_tries must be an Integer") if params[:user_lockout_tries] and !params[:user_lockout_tries].is_a?(Integer)
|
|
1083
1077
|
raise InvalidParameterError.new("Bad parameter: user_lockout_within must be an Integer") if params[:user_lockout_within] and !params[:user_lockout_within].is_a?(Integer)
|
|
1084
1078
|
raise InvalidParameterError.new("Bad parameter: user_lockout_lock_period must be an Integer") if params[:user_lockout_lock_period] and !params[:user_lockout_lock_period].is_a?(Integer)
|
|
@@ -1131,7 +1125,6 @@ module Files
|
|
|
1131
1125
|
raise InvalidParameterError.new("Bad parameter: ldap_password_change must be an String") if params[:ldap_password_change] and !params[:ldap_password_change].is_a?(String)
|
|
1132
1126
|
raise InvalidParameterError.new("Bad parameter: ldap_password_change_confirmation must be an String") if params[:ldap_password_change_confirmation] and !params[:ldap_password_change_confirmation].is_a?(String)
|
|
1133
1127
|
raise InvalidParameterError.new("Bad parameter: smtp_password must be an String") if params[:smtp_password] and !params[:smtp_password].is_a?(String)
|
|
1134
|
-
raise InvalidParameterError.new("Bad parameter: session_expiry_minutes must be an Integer") if params[:session_expiry_minutes] and !params[:session_expiry_minutes].is_a?(Integer)
|
|
1135
1128
|
|
|
1136
1129
|
response, options = Api.send_request("/site", :patch, params, options)
|
|
1137
1130
|
Site.new(response.data, options)
|
data/lib/files.com/version.rb
CHANGED