files.com 1.0.297 → 1.0.298

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 17b74bf43fecda39f22c0f23e3fabac6ef47e2607c610715171a90e09664eae7
4
- data.tar.gz: 62584dd9d99fa5854d295ac5e9f64d991dd461b215ff7aea649646d7b00cf4b2
3
+ metadata.gz: b3e5ba413e3894bc38bc4fe3d8632f8eb7809368963095101fb8c4c479246dd8
4
+ data.tar.gz: d7179818843d71a47f74c67a74d524209646232a447b451569564456b5db0fee
5
5
  SHA512:
6
- metadata.gz: d1a732850a761d009ffba925320bcf0674b75472e7f5c6dde6c305488cef19c70c325ba9578962f36b488dc337d7879d39e8c37f49a43a5f017faa412e590b3f
7
- data.tar.gz: f36e209c3ea1d15f8b3f77e4b0068ba0373ee8ef860ea12f26f26a71d71b091ee8e6f971b4bd9bae06d3851f78bfc380d73d26fcdc10c8537c70f88e5eb8d828
6
+ metadata.gz: 1c279c4636e00579259cdc6960fa7c7171f302954bd7a74dc375d45d4514c60694a111443d72394173ef19d134d6d0f2df6ac9a4569fdccd6b309b850560f838
7
+ data.tar.gz: 9e5437da0aa30ec3e9d3ae2b9b7f2c36d26503249cb712996e7d8aed65cd2ad92e3c65a6bee29b0ba70a138239a53e3851295b7d92bcc8a9d16f13fda60f1455
data/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.297
1
+ 1.0.298
data/docs/user.md CHANGED
@@ -28,6 +28,14 @@
28
28
  "header_text": "User-specific message.",
29
29
  "language": "en",
30
30
  "last_login_at": "2000-01-01T01:00:00Z",
31
+ "last_web_login_at": "2000-01-01T01:00:00Z",
32
+ "last_ftp_login_at": "2000-01-01T01:00:00Z",
33
+ "last_sftp_login_at": "2000-01-01T01:00:00Z",
34
+ "last_dav_login_at": "2000-01-01T01:00:00Z",
35
+ "last_desktop_login_at": "2000-01-01T01:00:00Z",
36
+ "last_restapi_login_at": "2000-01-01T01:00:00Z",
37
+ "last_api_use_at": "2000-01-01T01:00:00Z",
38
+ "last_active_at": "2000-01-01T01:00:00Z",
31
39
  "last_protocol_cipher": "example",
32
40
  "lockout_expires": "2000-01-01T01:00:00Z",
33
41
  "name": "John Doe",
@@ -80,8 +88,16 @@
80
88
  * `group_ids` (string): Comma-separated list of group IDs of which this user is a member
81
89
  * `header_text` (string): Text to display to the user in the header of the UI
82
90
  * `language` (string): Preferred language
83
- * `last_login_at` (date-time): User's last login time
84
- * `last_protocol_cipher` (string): The last protocol and cipher used
91
+ * `last_login_at` (date-time): User's most recent login time via any protocol
92
+ * `last_web_login_at` (date-time): User's most recent login time via web
93
+ * `last_ftp_login_at` (date-time): User's most recent login time via FTP
94
+ * `last_sftp_login_at` (date-time): User's most recent login time via SFTP
95
+ * `last_dav_login_at` (date-time): User's most recent login time via WebDAV
96
+ * `last_desktop_login_at` (date-time): User's most recent login time via Desktop app
97
+ * `last_restapi_login_at` (date-time): User's most recent login time via Rest API
98
+ * `last_api_use_at` (date-time): User's most recent API use time
99
+ * `last_active_at` (date-time): User's most recent activity time, which is the latest of most recent login, most recent API use, enablement, or creation
100
+ * `last_protocol_cipher` (string): The most recent protocol and cipher used
85
101
  * `lockout_expires` (date-time): Time in the future that the user will no longer be locked out if applicable
86
102
  * `name` (string): User's full name
87
103
  * `company` (string): User's company
@@ -107,7 +123,7 @@
107
123
  * `externally_managed` (boolean): Is this user managed by a SsoStrategy?
108
124
  * `time_zone` (string): User time zone
109
125
  * `type_of_2fa` (string): Type(s) of 2FA methods in use. Will be either `sms`, `totp`, `u2f`, `yubi`, or multiple values sorted alphabetically and joined by an underscore.
110
- * `updated_at` (date-time): User record last updated at. Note this may be incremented because of internal or external updates.
126
+ * `updated_at` (date-time): User record most recently updated at. Note this may be incremented because of internal or external updates.
111
127
  * `user_root` (string): Root folder for FTP (and optionally SFTP if the appropriate site-wide setting is set.) Note that this is not used for API, Desktop, or Web interface.
112
128
  * `avatar_file` (file): An image file for your user avatar.
113
129
  * `avatar_delete` (boolean): If true, the avatar will be deleted.
@@ -194,7 +194,7 @@ module Files
194
194
  @attributes[:language] = value
195
195
  end
196
196
 
197
- # date-time - User's last login time
197
+ # date-time - User's most recent login time via any protocol
198
198
  def last_login_at
199
199
  @attributes[:last_login_at]
200
200
  end
@@ -203,7 +203,79 @@ module Files
203
203
  @attributes[:last_login_at] = value
204
204
  end
205
205
 
206
- # string - The last protocol and cipher used
206
+ # date-time - User's most recent login time via web
207
+ def last_web_login_at
208
+ @attributes[:last_web_login_at]
209
+ end
210
+
211
+ def last_web_login_at=(value)
212
+ @attributes[:last_web_login_at] = value
213
+ end
214
+
215
+ # date-time - User's most recent login time via FTP
216
+ def last_ftp_login_at
217
+ @attributes[:last_ftp_login_at]
218
+ end
219
+
220
+ def last_ftp_login_at=(value)
221
+ @attributes[:last_ftp_login_at] = value
222
+ end
223
+
224
+ # date-time - User's most recent login time via SFTP
225
+ def last_sftp_login_at
226
+ @attributes[:last_sftp_login_at]
227
+ end
228
+
229
+ def last_sftp_login_at=(value)
230
+ @attributes[:last_sftp_login_at] = value
231
+ end
232
+
233
+ # date-time - User's most recent login time via WebDAV
234
+ def last_dav_login_at
235
+ @attributes[:last_dav_login_at]
236
+ end
237
+
238
+ def last_dav_login_at=(value)
239
+ @attributes[:last_dav_login_at] = value
240
+ end
241
+
242
+ # date-time - User's most recent login time via Desktop app
243
+ def last_desktop_login_at
244
+ @attributes[:last_desktop_login_at]
245
+ end
246
+
247
+ def last_desktop_login_at=(value)
248
+ @attributes[:last_desktop_login_at] = value
249
+ end
250
+
251
+ # date-time - User's most recent login time via Rest API
252
+ def last_restapi_login_at
253
+ @attributes[:last_restapi_login_at]
254
+ end
255
+
256
+ def last_restapi_login_at=(value)
257
+ @attributes[:last_restapi_login_at] = value
258
+ end
259
+
260
+ # date-time - User's most recent API use time
261
+ def last_api_use_at
262
+ @attributes[:last_api_use_at]
263
+ end
264
+
265
+ def last_api_use_at=(value)
266
+ @attributes[:last_api_use_at] = value
267
+ end
268
+
269
+ # date-time - User's most recent activity time, which is the latest of most recent login, most recent API use, enablement, or creation
270
+ def last_active_at
271
+ @attributes[:last_active_at]
272
+ end
273
+
274
+ def last_active_at=(value)
275
+ @attributes[:last_active_at] = value
276
+ end
277
+
278
+ # string - The most recent protocol and cipher used
207
279
  def last_protocol_cipher
208
280
  @attributes[:last_protocol_cipher]
209
281
  end
@@ -437,7 +509,7 @@ module Files
437
509
  @attributes[:type_of_2fa] = value
438
510
  end
439
511
 
440
- # date-time - User record last updated at. Note this may be incremented because of internal or external updates.
512
+ # date-time - User record most recently updated at. Note this may be incremented because of internal or external updates.
441
513
  def updated_at
442
514
  @attributes[:updated_at]
443
515
  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.0.297
4
+ version: 1.0.298
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-09-30 00:00:00.000000000 Z
11
+ date: 2022-10-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable