files.com 1.0.261 → 1.0.264
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_VERSION +1 -1
- data/docs/as2_incoming_message.md +9 -0
- data/docs/as2_outgoing_message.md +11 -0
- data/docs/as2_partner.md +2 -2
- data/docs/session.md +1 -33
- data/lib/files.com/models/as2_incoming_message.rb +19 -0
- data/lib/files.com/models/as2_outgoing_message.rb +24 -0
- data/lib/files.com/models/as2_partner.rb +4 -4
- data/lib/files.com/models/session.rb +0 -144
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dfea549d6dcd6c67bd7b39730e1b1b92f35423828ad92aa90d872a63ddbf45e4
|
4
|
+
data.tar.gz: b5d95c6f6ed89be5dc931d8460b27622ae8c7675f8e2d07d997864cec70bd55b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dfbd8233812d671644ccc0f5232eb4fe7fc4680c2d2a863600b6bdba7de05f5ade525dd06e022f6990cd6910d2aaec892d9885d77c5f345ca93edf86b744e6ac
|
7
|
+
data.tar.gz: 66328f3c3e22a3132030d53c794a53384c56d769e25b2d2f6cb3e3dc7112ac5086c26fe78a47f9d18a48378cf53d6e614a8743624e593303af12de7495fc64a9
|
data/_VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.264
|
@@ -12,6 +12,7 @@
|
|
12
12
|
"http_headers": "",
|
13
13
|
"activity_log": "",
|
14
14
|
"processing_result": "",
|
15
|
+
"processing_result_description": "",
|
15
16
|
"mic": "",
|
16
17
|
"mic_algo": "",
|
17
18
|
"as2_to": "",
|
@@ -49,6 +50,7 @@
|
|
49
50
|
* `http_headers` (object): HTTP Headers sent with this message.
|
50
51
|
* `activity_log` (string): JSON Structure of the activity log.
|
51
52
|
* `processing_result` (string): Result of processing.
|
53
|
+
* `processing_result_description` (string): Result of processing description.
|
52
54
|
* `mic` (string): AS2 Message Integrity Check
|
53
55
|
* `mic_algo` (string): AS2 Message Integrity Check Algorithm Used
|
54
56
|
* `as2_to` (string): AS2 TO header of message
|
@@ -92,4 +94,11 @@ Files::As2IncomingMessage.list(
|
|
92
94
|
|
93
95
|
* `cursor` (string): Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via either the X-Files-Cursor-Next header or the X-Files-Cursor-Prev header.
|
94
96
|
* `per_page` (int64): Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
97
|
+
* `sort_by` (object): If set, sort records by the specified field in either 'asc' or 'desc' direction (e.g. sort_by[last_login_at]=desc). Valid fields are `created_at` and `as2_partner_id`.
|
98
|
+
* `filter` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`.
|
99
|
+
* `filter_gt` (object): If set, return records where the specified field is greater than the supplied value. Valid fields are `created_at`.
|
100
|
+
* `filter_gteq` (object): If set, return records where the specified field is greater than or equal to the supplied value. Valid fields are `created_at`.
|
101
|
+
* `filter_like` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`.
|
102
|
+
* `filter_lt` (object): If set, return records where the specified field is less than the supplied value. Valid fields are `created_at`.
|
103
|
+
* `filter_lteq` (object): If set, return records where the specified field is less than or equal to the supplied value. Valid fields are `created_at`.
|
95
104
|
* `as2_partner_id` (int64): As2 Partner ID. If provided, will return message specific to that partner.
|
@@ -11,6 +11,7 @@
|
|
11
11
|
"http_headers": "",
|
12
12
|
"activity_log": "",
|
13
13
|
"processing_result": "",
|
14
|
+
"processing_result_description": "",
|
14
15
|
"mic": "",
|
15
16
|
"mic_sha_256": "",
|
16
17
|
"as2_to": "",
|
@@ -22,6 +23,7 @@
|
|
22
23
|
"created_at": "2000-01-01T01:00:00Z",
|
23
24
|
"http_response_code": "",
|
24
25
|
"http_response_headers": "",
|
26
|
+
"http_transmission_duration": 1.0,
|
25
27
|
"mdn_received": true,
|
26
28
|
"mdn_valid": true,
|
27
29
|
"mdn_signature_verified": true,
|
@@ -43,6 +45,7 @@
|
|
43
45
|
* `http_headers` (object): HTTP Headers sent with this message.
|
44
46
|
* `activity_log` (string): JSON Structure of the activity log.
|
45
47
|
* `processing_result` (string): Result of processing.
|
48
|
+
* `processing_result_description` (string): Result of processing description.
|
46
49
|
* `mic` (string): AS2 Message Integrity Check SHA1
|
47
50
|
* `mic_sha_256` (string): AS2 Message Integrity Check SHA256
|
48
51
|
* `as2_to` (string): AS2 TO
|
@@ -54,6 +57,7 @@
|
|
54
57
|
* `created_at` (date-time): Message creation date/time
|
55
58
|
* `http_response_code` (string): HTTP Response Code received for this message
|
56
59
|
* `http_response_headers` (object): HTTP Headers received for this message.
|
60
|
+
* `http_transmission_duration` (double): HTTP transmission duration in seceonds
|
57
61
|
* `mdn_received` (boolean): Did the partner give a response body?
|
58
62
|
* `mdn_valid` (boolean): Is the response in MDN format?
|
59
63
|
* `mdn_signature_verified` (boolean): MDN signature verified?
|
@@ -82,4 +86,11 @@ Files::As2OutgoingMessage.list(
|
|
82
86
|
|
83
87
|
* `cursor` (string): Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via either the X-Files-Cursor-Next header or the X-Files-Cursor-Prev header.
|
84
88
|
* `per_page` (int64): Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
89
|
+
* `sort_by` (object): If set, sort records by the specified field in either 'asc' or 'desc' direction (e.g. sort_by[last_login_at]=desc). Valid fields are `created_at` and `as2_partner_id`.
|
90
|
+
* `filter` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`.
|
91
|
+
* `filter_gt` (object): If set, return records where the specified field is greater than the supplied value. Valid fields are `created_at`.
|
92
|
+
* `filter_gteq` (object): If set, return records where the specified field is greater than or equal to the supplied value. Valid fields are `created_at`.
|
93
|
+
* `filter_like` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`.
|
94
|
+
* `filter_lt` (object): If set, return records where the specified field is less than the supplied value. Valid fields are `created_at`.
|
95
|
+
* `filter_lteq` (object): If set, return records where the specified field is less than or equal to the supplied value. Valid fields are `created_at`.
|
85
96
|
* `as2_partner_id` (int64): As2 Partner ID. If provided, will return message specific to that partner.
|
data/docs/as2_partner.md
CHANGED
@@ -11,7 +11,7 @@
|
|
11
11
|
"server_certificate": "require_match",
|
12
12
|
"hex_public_certificate_serial": "A5:EB:C1:95:DC:D8:2B:E7",
|
13
13
|
"public_certificate_md5": "",
|
14
|
-
"
|
14
|
+
"public_certificate_subjec": "",
|
15
15
|
"public_certificate_issuer": "",
|
16
16
|
"public_certificate_serial": "",
|
17
17
|
"public_certificate_not_before": "",
|
@@ -26,7 +26,7 @@
|
|
26
26
|
* `server_certificate` (string): Remote server certificate security setting
|
27
27
|
* `hex_public_certificate_serial` (string): Serial of public certificate used for message security in hex format.
|
28
28
|
* `public_certificate_md5` (string): MD5 hash of public certificate used for message security.
|
29
|
-
* `
|
29
|
+
* `public_certificate_subjec` (string): Subject of public certificate used for message security.
|
30
30
|
* `public_certificate_issuer` (string): Issuer of public certificate used for message security.
|
31
31
|
* `public_certificate_serial` (string): Serial of public certificate used for message security.
|
32
32
|
* `public_certificate_not_before` (string): Not before value of public certificate used for message security.
|
data/docs/session.md
CHANGED
@@ -6,47 +6,15 @@
|
|
6
6
|
{
|
7
7
|
"id": "60525f92e859c4c3d74cb02fd176b1525901b525",
|
8
8
|
"language": "en",
|
9
|
-
"login_token": "@tok-randomcode",
|
10
|
-
"login_token_domain": "https://mysite.files.com",
|
11
|
-
"max_dir_listing_size": 1,
|
12
|
-
"multiple_regions": true,
|
13
9
|
"read_only": true,
|
14
|
-
"
|
15
|
-
"sftp_insecure_ciphers": true,
|
16
|
-
"site_id": 1,
|
17
|
-
"ssl_required": true,
|
18
|
-
"tls_disabled": true,
|
19
|
-
"two_factor_setup_needed": true,
|
20
|
-
"allowed_2fa_method_sms": true,
|
21
|
-
"allowed_2fa_method_totp": true,
|
22
|
-
"allowed_2fa_method_u2f": true,
|
23
|
-
"allowed_2fa_method_webauthn": true,
|
24
|
-
"allowed_2fa_method_yubi": true,
|
25
|
-
"use_provided_modified_at": true,
|
26
|
-
"windows_mode_ftp": true
|
10
|
+
"sftp_insecure_ciphers": true
|
27
11
|
}
|
28
12
|
```
|
29
13
|
|
30
14
|
* `id` (string): Session ID
|
31
15
|
* `language` (string): Session language
|
32
|
-
* `login_token` (string): Login token. If set, this token will allow your user to log in via browser at the domain in `login_token_domain`.
|
33
|
-
* `login_token_domain` (string): Domain to use with `login_token`.
|
34
|
-
* `max_dir_listing_size` (int64): Maximum number of files to retrieve per folder for a directory listing. This is based on the user's plan.
|
35
|
-
* `multiple_regions` (boolean): Can access multiple regions?
|
36
16
|
* `read_only` (boolean): Is this session read only?
|
37
|
-
* `root_path` (string): Initial root path to start the user's session in.
|
38
17
|
* `sftp_insecure_ciphers` (boolean): Are insecure SFTP ciphers allowed for this user? (If this is set to true, the site administrator has signaled that it is ok to use less secure SSH ciphers for this user.)
|
39
|
-
* `site_id` (int64): Site ID
|
40
|
-
* `ssl_required` (boolean): Is SSL required for this user? (If so, ensure all your communications with this user use SSL.)
|
41
|
-
* `tls_disabled` (boolean): Are insecure TLS versions allowed for this user? (If this is set to true, the site administrator has signaled that it is ok to use less secure TLS versions for this user.)
|
42
|
-
* `two_factor_setup_needed` (boolean): If true, this user needs to add a Two Factor Authentication method before performing any further actions.
|
43
|
-
* `allowed_2fa_method_sms` (boolean): Sent only if 2FA setup is needed. Is SMS two factor authentication allowed?
|
44
|
-
* `allowed_2fa_method_totp` (boolean): Sent only if 2FA setup is needed. Is TOTP two factor authentication allowed?
|
45
|
-
* `allowed_2fa_method_u2f` (boolean): Sent only if 2FA setup is needed. Is U2F two factor authentication allowed?
|
46
|
-
* `allowed_2fa_method_webauthn` (boolean): Sent only if 2FA setup is needed. Is WebAuthn two factor authentication allowed?
|
47
|
-
* `allowed_2fa_method_yubi` (boolean): Sent only if 2FA setup is needed. Is Yubikey two factor authentication allowed?
|
48
|
-
* `use_provided_modified_at` (boolean): Allow the user to provide file/folder modified at dates? If false, the server will always use the current date/time.
|
49
|
-
* `windows_mode_ftp` (boolean): Does this user want to use Windows line-ending emulation? (CR vs CRLF)
|
50
18
|
* `username` (string): Username to sign in as
|
51
19
|
* `password` (string): Password for sign in
|
52
20
|
* `otp` (string): If this user has a 2FA device, provide its OTP or code here.
|
@@ -49,6 +49,11 @@ module Files
|
|
49
49
|
@attributes[:processing_result]
|
50
50
|
end
|
51
51
|
|
52
|
+
# string - Result of processing description.
|
53
|
+
def processing_result_description
|
54
|
+
@attributes[:processing_result_description]
|
55
|
+
end
|
56
|
+
|
52
57
|
# string - AS2 Message Integrity Check
|
53
58
|
def mic
|
54
59
|
@attributes[:mic]
|
@@ -182,10 +187,24 @@ module Files
|
|
182
187
|
# Parameters:
|
183
188
|
# cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via either the X-Files-Cursor-Next header or the X-Files-Cursor-Prev header.
|
184
189
|
# per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
190
|
+
# sort_by - object - If set, sort records by the specified field in either 'asc' or 'desc' direction (e.g. sort_by[last_login_at]=desc). Valid fields are `created_at` and `as2_partner_id`.
|
191
|
+
# filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`.
|
192
|
+
# filter_gt - object - If set, return records where the specified field is greater than the supplied value. Valid fields are `created_at`.
|
193
|
+
# filter_gteq - object - If set, return records where the specified field is greater than or equal to the supplied value. Valid fields are `created_at`.
|
194
|
+
# filter_like - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`.
|
195
|
+
# filter_lt - object - If set, return records where the specified field is less than the supplied value. Valid fields are `created_at`.
|
196
|
+
# filter_lteq - object - If set, return records where the specified field is less than or equal to the supplied value. Valid fields are `created_at`.
|
185
197
|
# as2_partner_id - int64 - As2 Partner ID. If provided, will return message specific to that partner.
|
186
198
|
def self.list(params = {}, options = {})
|
187
199
|
raise InvalidParameterError.new("Bad parameter: cursor must be an String") if params.dig(:cursor) and !params.dig(:cursor).is_a?(String)
|
188
200
|
raise InvalidParameterError.new("Bad parameter: per_page must be an Integer") if params.dig(:per_page) and !params.dig(:per_page).is_a?(Integer)
|
201
|
+
raise InvalidParameterError.new("Bad parameter: sort_by must be an Hash") if params.dig(:sort_by) and !params.dig(:sort_by).is_a?(Hash)
|
202
|
+
raise InvalidParameterError.new("Bad parameter: filter must be an Hash") if params.dig(:filter) and !params.dig(:filter).is_a?(Hash)
|
203
|
+
raise InvalidParameterError.new("Bad parameter: filter_gt must be an Hash") if params.dig(:filter_gt) and !params.dig(:filter_gt).is_a?(Hash)
|
204
|
+
raise InvalidParameterError.new("Bad parameter: filter_gteq must be an Hash") if params.dig(:filter_gteq) and !params.dig(:filter_gteq).is_a?(Hash)
|
205
|
+
raise InvalidParameterError.new("Bad parameter: filter_like must be an Hash") if params.dig(:filter_like) and !params.dig(:filter_like).is_a?(Hash)
|
206
|
+
raise InvalidParameterError.new("Bad parameter: filter_lt must be an Hash") if params.dig(:filter_lt) and !params.dig(:filter_lt).is_a?(Hash)
|
207
|
+
raise InvalidParameterError.new("Bad parameter: filter_lteq must be an Hash") if params.dig(:filter_lteq) and !params.dig(:filter_lteq).is_a?(Hash)
|
189
208
|
raise InvalidParameterError.new("Bad parameter: as2_partner_id must be an Integer") if params.dig(:as2_partner_id) and !params.dig(:as2_partner_id).is_a?(Integer)
|
190
209
|
|
191
210
|
List.new(As2IncomingMessage, params) do
|
@@ -44,6 +44,11 @@ module Files
|
|
44
44
|
@attributes[:processing_result]
|
45
45
|
end
|
46
46
|
|
47
|
+
# string - Result of processing description.
|
48
|
+
def processing_result_description
|
49
|
+
@attributes[:processing_result_description]
|
50
|
+
end
|
51
|
+
|
47
52
|
# string - AS2 Message Integrity Check SHA1
|
48
53
|
def mic
|
49
54
|
@attributes[:mic]
|
@@ -99,6 +104,11 @@ module Files
|
|
99
104
|
@attributes[:http_response_headers]
|
100
105
|
end
|
101
106
|
|
107
|
+
# double - HTTP transmission duration in seceonds
|
108
|
+
def http_transmission_duration
|
109
|
+
@attributes[:http_transmission_duration]
|
110
|
+
end
|
111
|
+
|
102
112
|
# boolean - Did the partner give a response body?
|
103
113
|
def mdn_received
|
104
114
|
@attributes[:mdn_received]
|
@@ -157,10 +167,24 @@ module Files
|
|
157
167
|
# Parameters:
|
158
168
|
# cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via either the X-Files-Cursor-Next header or the X-Files-Cursor-Prev header.
|
159
169
|
# per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
170
|
+
# sort_by - object - If set, sort records by the specified field in either 'asc' or 'desc' direction (e.g. sort_by[last_login_at]=desc). Valid fields are `created_at` and `as2_partner_id`.
|
171
|
+
# filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`.
|
172
|
+
# filter_gt - object - If set, return records where the specified field is greater than the supplied value. Valid fields are `created_at`.
|
173
|
+
# filter_gteq - object - If set, return records where the specified field is greater than or equal to the supplied value. Valid fields are `created_at`.
|
174
|
+
# filter_like - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`.
|
175
|
+
# filter_lt - object - If set, return records where the specified field is less than the supplied value. Valid fields are `created_at`.
|
176
|
+
# filter_lteq - object - If set, return records where the specified field is less than or equal to the supplied value. Valid fields are `created_at`.
|
160
177
|
# as2_partner_id - int64 - As2 Partner ID. If provided, will return message specific to that partner.
|
161
178
|
def self.list(params = {}, options = {})
|
162
179
|
raise InvalidParameterError.new("Bad parameter: cursor must be an String") if params.dig(:cursor) and !params.dig(:cursor).is_a?(String)
|
163
180
|
raise InvalidParameterError.new("Bad parameter: per_page must be an Integer") if params.dig(:per_page) and !params.dig(:per_page).is_a?(Integer)
|
181
|
+
raise InvalidParameterError.new("Bad parameter: sort_by must be an Hash") if params.dig(:sort_by) and !params.dig(:sort_by).is_a?(Hash)
|
182
|
+
raise InvalidParameterError.new("Bad parameter: filter must be an Hash") if params.dig(:filter) and !params.dig(:filter).is_a?(Hash)
|
183
|
+
raise InvalidParameterError.new("Bad parameter: filter_gt must be an Hash") if params.dig(:filter_gt) and !params.dig(:filter_gt).is_a?(Hash)
|
184
|
+
raise InvalidParameterError.new("Bad parameter: filter_gteq must be an Hash") if params.dig(:filter_gteq) and !params.dig(:filter_gteq).is_a?(Hash)
|
185
|
+
raise InvalidParameterError.new("Bad parameter: filter_like must be an Hash") if params.dig(:filter_like) and !params.dig(:filter_like).is_a?(Hash)
|
186
|
+
raise InvalidParameterError.new("Bad parameter: filter_lt must be an Hash") if params.dig(:filter_lt) and !params.dig(:filter_lt).is_a?(Hash)
|
187
|
+
raise InvalidParameterError.new("Bad parameter: filter_lteq must be an Hash") if params.dig(:filter_lteq) and !params.dig(:filter_lteq).is_a?(Hash)
|
164
188
|
raise InvalidParameterError.new("Bad parameter: as2_partner_id must be an Integer") if params.dig(:as2_partner_id) and !params.dig(:as2_partner_id).is_a?(Integer)
|
165
189
|
|
166
190
|
List.new(As2OutgoingMessage, params) do
|
@@ -73,12 +73,12 @@ module Files
|
|
73
73
|
end
|
74
74
|
|
75
75
|
# string - Subject of public certificate used for message security.
|
76
|
-
def
|
77
|
-
@attributes[:
|
76
|
+
def public_certificate_subjec
|
77
|
+
@attributes[:public_certificate_subjec]
|
78
78
|
end
|
79
79
|
|
80
|
-
def
|
81
|
-
@attributes[:
|
80
|
+
def public_certificate_subjec=(value)
|
81
|
+
@attributes[:public_certificate_subjec] = value
|
82
82
|
end
|
83
83
|
|
84
84
|
# string - Issuer of public certificate used for message security.
|
@@ -31,42 +31,6 @@ module Files
|
|
31
31
|
@attributes[:language] = value
|
32
32
|
end
|
33
33
|
|
34
|
-
# string - Login token. If set, this token will allow your user to log in via browser at the domain in `login_token_domain`.
|
35
|
-
def login_token
|
36
|
-
@attributes[:login_token]
|
37
|
-
end
|
38
|
-
|
39
|
-
def login_token=(value)
|
40
|
-
@attributes[:login_token] = value
|
41
|
-
end
|
42
|
-
|
43
|
-
# string - Domain to use with `login_token`.
|
44
|
-
def login_token_domain
|
45
|
-
@attributes[:login_token_domain]
|
46
|
-
end
|
47
|
-
|
48
|
-
def login_token_domain=(value)
|
49
|
-
@attributes[:login_token_domain] = value
|
50
|
-
end
|
51
|
-
|
52
|
-
# int64 - Maximum number of files to retrieve per folder for a directory listing. This is based on the user's plan.
|
53
|
-
def max_dir_listing_size
|
54
|
-
@attributes[:max_dir_listing_size]
|
55
|
-
end
|
56
|
-
|
57
|
-
def max_dir_listing_size=(value)
|
58
|
-
@attributes[:max_dir_listing_size] = value
|
59
|
-
end
|
60
|
-
|
61
|
-
# boolean - Can access multiple regions?
|
62
|
-
def multiple_regions
|
63
|
-
@attributes[:multiple_regions]
|
64
|
-
end
|
65
|
-
|
66
|
-
def multiple_regions=(value)
|
67
|
-
@attributes[:multiple_regions] = value
|
68
|
-
end
|
69
|
-
|
70
34
|
# boolean - Is this session read only?
|
71
35
|
def read_only
|
72
36
|
@attributes[:read_only]
|
@@ -76,15 +40,6 @@ module Files
|
|
76
40
|
@attributes[:read_only] = value
|
77
41
|
end
|
78
42
|
|
79
|
-
# string - Initial root path to start the user's session in.
|
80
|
-
def root_path
|
81
|
-
@attributes[:root_path]
|
82
|
-
end
|
83
|
-
|
84
|
-
def root_path=(value)
|
85
|
-
@attributes[:root_path] = value
|
86
|
-
end
|
87
|
-
|
88
43
|
# boolean - Are insecure SFTP ciphers allowed for this user? (If this is set to true, the site administrator has signaled that it is ok to use less secure SSH ciphers for this user.)
|
89
44
|
def sftp_insecure_ciphers
|
90
45
|
@attributes[:sftp_insecure_ciphers]
|
@@ -94,105 +49,6 @@ module Files
|
|
94
49
|
@attributes[:sftp_insecure_ciphers] = value
|
95
50
|
end
|
96
51
|
|
97
|
-
# int64 - Site ID
|
98
|
-
def site_id
|
99
|
-
@attributes[:site_id]
|
100
|
-
end
|
101
|
-
|
102
|
-
def site_id=(value)
|
103
|
-
@attributes[:site_id] = value
|
104
|
-
end
|
105
|
-
|
106
|
-
# boolean - Is SSL required for this user? (If so, ensure all your communications with this user use SSL.)
|
107
|
-
def ssl_required
|
108
|
-
@attributes[:ssl_required]
|
109
|
-
end
|
110
|
-
|
111
|
-
def ssl_required=(value)
|
112
|
-
@attributes[:ssl_required] = value
|
113
|
-
end
|
114
|
-
|
115
|
-
# boolean - Are insecure TLS versions allowed for this user? (If this is set to true, the site administrator has signaled that it is ok to use less secure TLS versions for this user.)
|
116
|
-
def tls_disabled
|
117
|
-
@attributes[:tls_disabled]
|
118
|
-
end
|
119
|
-
|
120
|
-
def tls_disabled=(value)
|
121
|
-
@attributes[:tls_disabled] = value
|
122
|
-
end
|
123
|
-
|
124
|
-
# boolean - If true, this user needs to add a Two Factor Authentication method before performing any further actions.
|
125
|
-
def two_factor_setup_needed
|
126
|
-
@attributes[:two_factor_setup_needed]
|
127
|
-
end
|
128
|
-
|
129
|
-
def two_factor_setup_needed=(value)
|
130
|
-
@attributes[:two_factor_setup_needed] = value
|
131
|
-
end
|
132
|
-
|
133
|
-
# boolean - Sent only if 2FA setup is needed. Is SMS two factor authentication allowed?
|
134
|
-
def allowed_2fa_method_sms
|
135
|
-
@attributes[:allowed_2fa_method_sms]
|
136
|
-
end
|
137
|
-
|
138
|
-
def allowed_2fa_method_sms=(value)
|
139
|
-
@attributes[:allowed_2fa_method_sms] = value
|
140
|
-
end
|
141
|
-
|
142
|
-
# boolean - Sent only if 2FA setup is needed. Is TOTP two factor authentication allowed?
|
143
|
-
def allowed_2fa_method_totp
|
144
|
-
@attributes[:allowed_2fa_method_totp]
|
145
|
-
end
|
146
|
-
|
147
|
-
def allowed_2fa_method_totp=(value)
|
148
|
-
@attributes[:allowed_2fa_method_totp] = value
|
149
|
-
end
|
150
|
-
|
151
|
-
# boolean - Sent only if 2FA setup is needed. Is U2F two factor authentication allowed?
|
152
|
-
def allowed_2fa_method_u2f
|
153
|
-
@attributes[:allowed_2fa_method_u2f]
|
154
|
-
end
|
155
|
-
|
156
|
-
def allowed_2fa_method_u2f=(value)
|
157
|
-
@attributes[:allowed_2fa_method_u2f] = value
|
158
|
-
end
|
159
|
-
|
160
|
-
# boolean - Sent only if 2FA setup is needed. Is WebAuthn two factor authentication allowed?
|
161
|
-
def allowed_2fa_method_webauthn
|
162
|
-
@attributes[:allowed_2fa_method_webauthn]
|
163
|
-
end
|
164
|
-
|
165
|
-
def allowed_2fa_method_webauthn=(value)
|
166
|
-
@attributes[:allowed_2fa_method_webauthn] = value
|
167
|
-
end
|
168
|
-
|
169
|
-
# boolean - Sent only if 2FA setup is needed. Is Yubikey two factor authentication allowed?
|
170
|
-
def allowed_2fa_method_yubi
|
171
|
-
@attributes[:allowed_2fa_method_yubi]
|
172
|
-
end
|
173
|
-
|
174
|
-
def allowed_2fa_method_yubi=(value)
|
175
|
-
@attributes[:allowed_2fa_method_yubi] = value
|
176
|
-
end
|
177
|
-
|
178
|
-
# boolean - Allow the user to provide file/folder modified at dates? If false, the server will always use the current date/time.
|
179
|
-
def use_provided_modified_at
|
180
|
-
@attributes[:use_provided_modified_at]
|
181
|
-
end
|
182
|
-
|
183
|
-
def use_provided_modified_at=(value)
|
184
|
-
@attributes[:use_provided_modified_at] = value
|
185
|
-
end
|
186
|
-
|
187
|
-
# boolean - Does this user want to use Windows line-ending emulation? (CR vs CRLF)
|
188
|
-
def windows_mode_ftp
|
189
|
-
@attributes[:windows_mode_ftp]
|
190
|
-
end
|
191
|
-
|
192
|
-
def windows_mode_ftp=(value)
|
193
|
-
@attributes[:windows_mode_ftp] = value
|
194
|
-
end
|
195
|
-
|
196
52
|
# string - Username to sign in as
|
197
53
|
def username
|
198
54
|
@attributes[:username]
|
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.0.
|
4
|
+
version: 1.0.264
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- files.com
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-05-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: addressable
|