files.com 1.0.111 → 1.0.112

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: 225dfeba48af26960bc78d58fcc6582130528647e1f4f8cbe46883f79a24cc78
4
- data.tar.gz: e432cdc6416e3ff8f24911833c33f244dc6d3c030db9a1ea1d517ab4e7038098
3
+ metadata.gz: dd4923d22b6374dc1cc8a95e73996ea20b73b757a4dea9e082862ee131fe6913
4
+ data.tar.gz: eba5623bcb8dd00d3dbb3db800a6b6b28ef4ddff5301a69e8083bbc004ae2d80
5
5
  SHA512:
6
- metadata.gz: ca79ab1f63905d8a1d91ebf3a4c620ec0d1f10024b6786162e6735266a1dc2c548bde72461f7ec2e653dd5bab918505b3b6bd99ed887c3152ae76d252fc55919
7
- data.tar.gz: 067e4d6f28a7ecfdd71b327e026a6414988384639af8546dcc8dd0a52da280be8ded9af59b6146d99f43c3d6bd6a9ae832c4eef7af344bfb3cddeeedc6971c89
6
+ metadata.gz: 1e324b0b73af796761e30838b8866f30fc08f0461c250b7e6ab4523e82c041e88643c467ab22349d4bd986797198b6e47b4298f979c8270f209f4645f3cb762d
7
+ data.tar.gz: af7687afbb21b1aa8bf27dc6f45f9455a2717d22dec11412d065068c65e652dc7a91c1478fc42a3c30019af7aedf52a2bead169e1c59704c864bf1b23b894a52
data/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.111
1
+ 1.0.112
@@ -20,6 +20,7 @@
20
20
  "username": "user",
21
21
  "clickwrap_id": 1,
22
22
  "inbox_id": 1,
23
+ "has_inbox": true,
23
24
  "paths": [
24
25
 
25
26
  ]
@@ -42,6 +43,7 @@
42
43
  * `username` (string): Bundle creator username
43
44
  * `clickwrap_id` (int64): ID of the clickwrap to use with this bundle.
44
45
  * `inbox_id` (int64): ID of the associated inbox, if available.
46
+ * `has_inbox` (boolean): Does this bundle have an associated inbox?
45
47
  * `paths` (array): A list of paths in this bundle
46
48
  * `password` (string): Password for this bundle.
47
49
 
@@ -34,7 +34,7 @@
34
34
  * `id` (int64): History Export ID
35
35
  * `start_at` (date-time): Start date/time of export range.
36
36
  * `end_at` (date-time): End date/time of export range.
37
- * `status` (string): Status of export. Will be: `building` or `ready`
37
+ * `status` (string): Status of export. Will be: `building`, `ready`, or `failed`
38
38
  * `query_action` (string): Filter results by this this action type. Valid values: `create`, `read`, `update`, `destroy`, `move`, `login`, `failedlogin`, `copy`, `user_create`, `user_update`, `user_destroy`, `group_create`, `group_update`, `group_destroy`, `permission_create`, `permission_destroy`, `api_key_create`, `api_key_update`, `api_key_destroy`
39
39
  * `query_interface` (string): Filter results by this this interface type. Valid values: `web`, `ftp`, `robot`, `jsapi`, `webdesktopapi`, `sftp`, `dav`, `desktop`, `restapi`, `scim`
40
40
  * `query_user_id` (string): Return results that are actions performed by the user indiciated by this User ID
@@ -30,6 +30,7 @@
30
30
  "last_protocol_cipher": "",
31
31
  "lockout_expires": "2000-01-01T01:00:00Z",
32
32
  "name": "John Doe",
33
+ "company": "ACME Corp.",
33
34
  "notes": "Internal notes on this user.",
34
35
  "notification_daily_send_time": 18,
35
36
  "office_integration_enabled": true,
@@ -78,6 +79,7 @@
78
79
  * `last_protocol_cipher` (string): The last protocol and cipher used
79
80
  * `lockout_expires` (date-time): Time in the future that the user will no longer be locked out if applicable
80
81
  * `name` (string): User's full name
82
+ * `company` (string): User's company
81
83
  * `notes` (string): Any internal notes on the user
82
84
  * `notification_daily_send_time` (int64): Hour of the day at which daily notifications should be sent. Can be in range 0 to 23
83
85
  * `office_integration_enabled` (boolean): Enable integration with Office for the web?
@@ -127,13 +129,13 @@ Files::User.list(
127
129
  * `per_page` (int64): Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
128
130
  * `action` (string): Deprecated: If set to `count` returns a count of matching records rather than the records themselves.
129
131
  * `cursor` (string): Send cursor to resume an existing list from the point at which you left off. Get a cursor from an existing list via the X-Files-Cursor-Next header.
130
- * `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 `active`, `master_admin`, `site_id`, `authenticate_until`, `email`, `last_desktop_login_at`, `last_login_at`, `username`, `notes`, `site_admin`, `receive_admin_alerts`, `allowed_ips`, `password_validity_days`, `ssl_required` or `not_site_admin`.
131
- * `filter` (object): If set, return records where the specifiied field is equal to the supplied value. Valid fields are `username`, `email`, `notes`, `site_admin`, `allowed_ips`, `password_validity_days`, `ssl_required`, `last_login_at`, `authenticate_until` or `not_site_admin`.
132
- * `filter_gt` (object): If set, return records where the specifiied field is greater than the supplied value. Valid fields are `username`, `email`, `notes`, `site_admin`, `allowed_ips`, `password_validity_days`, `ssl_required`, `last_login_at`, `authenticate_until` or `not_site_admin`.
133
- * `filter_gteq` (object): If set, return records where the specifiied field is greater than or equal to the supplied value. Valid fields are `username`, `email`, `notes`, `site_admin`, `allowed_ips`, `password_validity_days`, `ssl_required`, `last_login_at`, `authenticate_until` or `not_site_admin`.
134
- * `filter_like` (object): If set, return records where the specifiied field is equal to the supplied value. Valid fields are `username`, `email`, `notes`, `site_admin`, `allowed_ips`, `password_validity_days`, `ssl_required`, `last_login_at`, `authenticate_until` or `not_site_admin`.
135
- * `filter_lt` (object): If set, return records where the specifiied field is less than the supplied value. Valid fields are `username`, `email`, `notes`, `site_admin`, `allowed_ips`, `password_validity_days`, `ssl_required`, `last_login_at`, `authenticate_until` or `not_site_admin`.
136
- * `filter_lteq` (object): If set, return records where the specifiied field is less than or equal to the supplied value. Valid fields are `username`, `email`, `notes`, `site_admin`, `allowed_ips`, `password_validity_days`, `ssl_required`, `last_login_at`, `authenticate_until` or `not_site_admin`.
132
+ * `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 `active`, `master_admin`, `site_id`, `authenticate_until`, `email`, `last_desktop_login_at`, `last_login_at`, `username`, `company`, `name`, `notes`, `site_admin`, `receive_admin_alerts`, `allowed_ips`, `password_validity_days`, `ssl_required` or `not_site_admin`.
133
+ * `filter` (object): If set, return records where the specifiied field is equal to the supplied value. Valid fields are `username`, `email`, `company`, `notes`, `site_admin`, `allowed_ips`, `password_validity_days`, `ssl_required`, `last_login_at`, `authenticate_until` or `not_site_admin`.
134
+ * `filter_gt` (object): If set, return records where the specifiied field is greater than the supplied value. Valid fields are `username`, `email`, `company`, `notes`, `site_admin`, `allowed_ips`, `password_validity_days`, `ssl_required`, `last_login_at`, `authenticate_until` or `not_site_admin`.
135
+ * `filter_gteq` (object): If set, return records where the specifiied field is greater than or equal to the supplied value. Valid fields are `username`, `email`, `company`, `notes`, `site_admin`, `allowed_ips`, `password_validity_days`, `ssl_required`, `last_login_at`, `authenticate_until` or `not_site_admin`.
136
+ * `filter_like` (object): If set, return records where the specifiied field is equal to the supplied value. Valid fields are `username`, `email`, `company`, `notes`, `site_admin`, `allowed_ips`, `password_validity_days`, `ssl_required`, `last_login_at`, `authenticate_until` or `not_site_admin`.
137
+ * `filter_lt` (object): If set, return records where the specifiied field is less than the supplied value. Valid fields are `username`, `email`, `company`, `notes`, `site_admin`, `allowed_ips`, `password_validity_days`, `ssl_required`, `last_login_at`, `authenticate_until` or `not_site_admin`.
138
+ * `filter_lteq` (object): If set, return records where the specifiied field is less than or equal to the supplied value. Valid fields are `username`, `email`, `company`, `notes`, `site_admin`, `allowed_ips`, `password_validity_days`, `ssl_required`, `last_login_at`, `authenticate_until` or `not_site_admin`.
137
139
  * `ids` (string): comma-separated list of User IDs
138
140
  * `q[username]` (string): List users matching username.
139
141
  * `q[email]` (string): List users matching email.
@@ -182,6 +184,7 @@ Files::User.create(
182
184
  language: "en",
183
185
  notification_daily_send_time: 18,
184
186
  name: "John Doe",
187
+ company: "ACME Corp.",
185
188
  notes: "Internal notes on this user.",
186
189
  office_integration_enabled: true,
187
190
  password_validity_days: 1,
@@ -227,6 +230,7 @@ Files::User.create(
227
230
  * `language` (string): Preferred language
228
231
  * `notification_daily_send_time` (int64): Hour of the day at which daily notifications should be sent. Can be in range 0 to 23
229
232
  * `name` (string): User's full name
233
+ * `company` (string): User's company
230
234
  * `notes` (string): Any internal notes on the user
231
235
  * `office_integration_enabled` (boolean): Enable integration with Office for the web?
232
236
  * `password_validity_days` (int64): Number of days to allow user to use the same password
@@ -308,6 +312,7 @@ Files::User.update(id,
308
312
  language: "en",
309
313
  notification_daily_send_time: 18,
310
314
  name: "John Doe",
315
+ company: "ACME Corp.",
311
316
  notes: "Internal notes on this user.",
312
317
  office_integration_enabled: true,
313
318
  password_validity_days: 1,
@@ -354,6 +359,7 @@ Files::User.update(id,
354
359
  * `language` (string): Preferred language
355
360
  * `notification_daily_send_time` (int64): Hour of the day at which daily notifications should be sent. Can be in range 0 to 23
356
361
  * `name` (string): User's full name
362
+ * `company` (string): User's company
357
363
  * `notes` (string): Any internal notes on the user
358
364
  * `office_integration_enabled` (boolean): Enable integration with Office for the web?
359
365
  * `password_validity_days` (int64): Number of days to allow user to use the same password
@@ -456,6 +462,7 @@ user.update(
456
462
  language: "en",
457
463
  notification_daily_send_time: 18,
458
464
  name: "John Doe",
465
+ company: "ACME Corp.",
459
466
  notes: "Internal notes on this user.",
460
467
  office_integration_enabled: true,
461
468
  password_validity_days: 1,
@@ -502,6 +509,7 @@ user.update(
502
509
  * `language` (string): Preferred language
503
510
  * `notification_daily_send_time` (int64): Hour of the day at which daily notifications should be sent. Can be in range 0 to 23
504
511
  * `name` (string): User's full name
512
+ * `company` (string): User's company
505
513
  * `notes` (string): Any internal notes on the user
506
514
  * `office_integration_enabled` (boolean): Enable integration with Office for the web?
507
515
  * `password_validity_days` (int64): Number of days to allow user to use the same password
@@ -149,6 +149,15 @@ module Files
149
149
  @attributes[:inbox_id] = value
150
150
  end
151
151
 
152
+ # boolean - Does this bundle have an associated inbox?
153
+ def has_inbox
154
+ @attributes[:has_inbox]
155
+ end
156
+
157
+ def has_inbox=(value)
158
+ @attributes[:has_inbox] = value
159
+ end
160
+
152
161
  # array - A list of paths in this bundle
153
162
  def paths
154
163
  @attributes[:paths]
@@ -36,7 +36,7 @@ module Files
36
36
  @attributes[:end_at] = value
37
37
  end
38
38
 
39
- # string - Status of export. Will be: `building` or `ready`
39
+ # string - Status of export. Will be: `building`, `ready`, or `failed`
40
40
  def status
41
41
  @attributes[:status]
42
42
  end
@@ -221,6 +221,15 @@ module Files
221
221
  @attributes[:name] = value
222
222
  end
223
223
 
224
+ # string - User's company
225
+ def company
226
+ @attributes[:company]
227
+ end
228
+
229
+ def company=(value)
230
+ @attributes[:company] = value
231
+ end
232
+
224
233
  # string - Any internal notes on the user
225
234
  def notes
226
235
  @attributes[:notes]
@@ -550,6 +559,7 @@ module Files
550
559
  # language - string - Preferred language
551
560
  # notification_daily_send_time - int64 - Hour of the day at which daily notifications should be sent. Can be in range 0 to 23
552
561
  # name - string - User's full name
562
+ # company - string - User's company
553
563
  # notes - string - Any internal notes on the user
554
564
  # office_integration_enabled - boolean - Enable integration with Office for the web?
555
565
  # password_validity_days - int64 - Number of days to allow user to use the same password
@@ -586,6 +596,7 @@ module Files
586
596
  raise InvalidParameterError.new("Bad parameter: language must be an String") if params.dig(:language) and !params.dig(:language).is_a?(String)
587
597
  raise InvalidParameterError.new("Bad parameter: notification_daily_send_time must be an Integer") if params.dig(:notification_daily_send_time) and !params.dig(:notification_daily_send_time).is_a?(Integer)
588
598
  raise InvalidParameterError.new("Bad parameter: name must be an String") if params.dig(:name) and !params.dig(:name).is_a?(String)
599
+ raise InvalidParameterError.new("Bad parameter: company must be an String") if params.dig(:company) and !params.dig(:company).is_a?(String)
589
600
  raise InvalidParameterError.new("Bad parameter: notes must be an String") if params.dig(:notes) and !params.dig(:notes).is_a?(String)
590
601
  raise InvalidParameterError.new("Bad parameter: password_validity_days must be an Integer") if params.dig(:password_validity_days) and !params.dig(:password_validity_days).is_a?(Integer)
591
602
  raise InvalidParameterError.new("Bad parameter: ssl_required must be an String") if params.dig(:ssl_required) and !params.dig(:ssl_required).is_a?(String)
@@ -626,13 +637,13 @@ module Files
626
637
  # per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
627
638
  # action - string - Deprecated: If set to `count` returns a count of matching records rather than the records themselves.
628
639
  # cursor - string - Send cursor to resume an existing list from the point at which you left off. Get a cursor from an existing list via the X-Files-Cursor-Next header.
629
- # 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 `active`, `master_admin`, `site_id`, `authenticate_until`, `email`, `last_desktop_login_at`, `last_login_at`, `username`, `notes`, `site_admin`, `receive_admin_alerts`, `allowed_ips`, `password_validity_days`, `ssl_required` or `not_site_admin`.
630
- # filter - object - If set, return records where the specifiied field is equal to the supplied value. Valid fields are `username`, `email`, `notes`, `site_admin`, `allowed_ips`, `password_validity_days`, `ssl_required`, `last_login_at`, `authenticate_until` or `not_site_admin`.
631
- # filter_gt - object - If set, return records where the specifiied field is greater than the supplied value. Valid fields are `username`, `email`, `notes`, `site_admin`, `allowed_ips`, `password_validity_days`, `ssl_required`, `last_login_at`, `authenticate_until` or `not_site_admin`.
632
- # filter_gteq - object - If set, return records where the specifiied field is greater than or equal to the supplied value. Valid fields are `username`, `email`, `notes`, `site_admin`, `allowed_ips`, `password_validity_days`, `ssl_required`, `last_login_at`, `authenticate_until` or `not_site_admin`.
633
- # filter_like - object - If set, return records where the specifiied field is equal to the supplied value. Valid fields are `username`, `email`, `notes`, `site_admin`, `allowed_ips`, `password_validity_days`, `ssl_required`, `last_login_at`, `authenticate_until` or `not_site_admin`.
634
- # filter_lt - object - If set, return records where the specifiied field is less than the supplied value. Valid fields are `username`, `email`, `notes`, `site_admin`, `allowed_ips`, `password_validity_days`, `ssl_required`, `last_login_at`, `authenticate_until` or `not_site_admin`.
635
- # filter_lteq - object - If set, return records where the specifiied field is less than or equal to the supplied value. Valid fields are `username`, `email`, `notes`, `site_admin`, `allowed_ips`, `password_validity_days`, `ssl_required`, `last_login_at`, `authenticate_until` or `not_site_admin`.
640
+ # 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 `active`, `master_admin`, `site_id`, `authenticate_until`, `email`, `last_desktop_login_at`, `last_login_at`, `username`, `company`, `name`, `notes`, `site_admin`, `receive_admin_alerts`, `allowed_ips`, `password_validity_days`, `ssl_required` or `not_site_admin`.
641
+ # filter - object - If set, return records where the specifiied field is equal to the supplied value. Valid fields are `username`, `email`, `company`, `notes`, `site_admin`, `allowed_ips`, `password_validity_days`, `ssl_required`, `last_login_at`, `authenticate_until` or `not_site_admin`.
642
+ # filter_gt - object - If set, return records where the specifiied field is greater than the supplied value. Valid fields are `username`, `email`, `company`, `notes`, `site_admin`, `allowed_ips`, `password_validity_days`, `ssl_required`, `last_login_at`, `authenticate_until` or `not_site_admin`.
643
+ # filter_gteq - object - If set, return records where the specifiied field is greater than or equal to the supplied value. Valid fields are `username`, `email`, `company`, `notes`, `site_admin`, `allowed_ips`, `password_validity_days`, `ssl_required`, `last_login_at`, `authenticate_until` or `not_site_admin`.
644
+ # filter_like - object - If set, return records where the specifiied field is equal to the supplied value. Valid fields are `username`, `email`, `company`, `notes`, `site_admin`, `allowed_ips`, `password_validity_days`, `ssl_required`, `last_login_at`, `authenticate_until` or `not_site_admin`.
645
+ # filter_lt - object - If set, return records where the specifiied field is less than the supplied value. Valid fields are `username`, `email`, `company`, `notes`, `site_admin`, `allowed_ips`, `password_validity_days`, `ssl_required`, `last_login_at`, `authenticate_until` or `not_site_admin`.
646
+ # filter_lteq - object - If set, return records where the specifiied field is less than or equal to the supplied value. Valid fields are `username`, `email`, `company`, `notes`, `site_admin`, `allowed_ips`, `password_validity_days`, `ssl_required`, `last_login_at`, `authenticate_until` or `not_site_admin`.
636
647
  # ids - string - comma-separated list of User IDs
637
648
  # q[username] - string - List users matching username.
638
649
  # q[email] - string - List users matching email.
@@ -708,6 +719,7 @@ module Files
708
719
  # language - string - Preferred language
709
720
  # notification_daily_send_time - int64 - Hour of the day at which daily notifications should be sent. Can be in range 0 to 23
710
721
  # name - string - User's full name
722
+ # company - string - User's company
711
723
  # notes - string - Any internal notes on the user
712
724
  # office_integration_enabled - boolean - Enable integration with Office for the web?
713
725
  # password_validity_days - int64 - Number of days to allow user to use the same password
@@ -740,6 +752,7 @@ module Files
740
752
  raise InvalidParameterError.new("Bad parameter: language must be an String") if params.dig(:language) and !params.dig(:language).is_a?(String)
741
753
  raise InvalidParameterError.new("Bad parameter: notification_daily_send_time must be an Integer") if params.dig(:notification_daily_send_time) and !params.dig(:notification_daily_send_time).is_a?(Integer)
742
754
  raise InvalidParameterError.new("Bad parameter: name must be an String") if params.dig(:name) and !params.dig(:name).is_a?(String)
755
+ raise InvalidParameterError.new("Bad parameter: company must be an String") if params.dig(:company) and !params.dig(:company).is_a?(String)
743
756
  raise InvalidParameterError.new("Bad parameter: notes must be an String") if params.dig(:notes) and !params.dig(:notes).is_a?(String)
744
757
  raise InvalidParameterError.new("Bad parameter: password_validity_days must be an Integer") if params.dig(:password_validity_days) and !params.dig(:password_validity_days).is_a?(Integer)
745
758
  raise InvalidParameterError.new("Bad parameter: ssl_required must be an String") if params.dig(:ssl_required) and !params.dig(:ssl_required).is_a?(String)
@@ -811,6 +824,7 @@ module Files
811
824
  # language - string - Preferred language
812
825
  # notification_daily_send_time - int64 - Hour of the day at which daily notifications should be sent. Can be in range 0 to 23
813
826
  # name - string - User's full name
827
+ # company - string - User's company
814
828
  # notes - string - Any internal notes on the user
815
829
  # office_integration_enabled - boolean - Enable integration with Office for the web?
816
830
  # password_validity_days - int64 - Number of days to allow user to use the same password
@@ -846,6 +860,7 @@ module Files
846
860
  raise InvalidParameterError.new("Bad parameter: language must be an String") if params.dig(:language) and !params.dig(:language).is_a?(String)
847
861
  raise InvalidParameterError.new("Bad parameter: notification_daily_send_time must be an Integer") if params.dig(:notification_daily_send_time) and !params.dig(:notification_daily_send_time).is_a?(Integer)
848
862
  raise InvalidParameterError.new("Bad parameter: name must be an String") if params.dig(:name) and !params.dig(:name).is_a?(String)
863
+ raise InvalidParameterError.new("Bad parameter: company must be an String") if params.dig(:company) and !params.dig(:company).is_a?(String)
849
864
  raise InvalidParameterError.new("Bad parameter: notes must be an String") if params.dig(:notes) and !params.dig(:notes).is_a?(String)
850
865
  raise InvalidParameterError.new("Bad parameter: password_validity_days must be an Integer") if params.dig(:password_validity_days) and !params.dig(:password_validity_days).is_a?(Integer)
851
866
  raise InvalidParameterError.new("Bad parameter: ssl_required must be an String") if params.dig(:ssl_required) and !params.dig(:ssl_required).is_a?(String)
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.111
4
+ version: 1.0.112
5
5
  platform: ruby
6
6
  authors:
7
7
  - files.com
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-09-04 00:00:00.000000000 Z
11
+ date: 2020-09-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable