files.com 1.0.198 → 1.0.199

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: 916bdc6f6af741466d3c3325ed3bbce7b0b48eb8fd0596293af5e2e85faafc9f
4
- data.tar.gz: 98f90dc610d37a9a7afd4855bc13c46b7ab92f840d8cbab06a6503a03e270f12
3
+ metadata.gz: 32d713ace64748f4f73a183149c609a95fe5e67792277ee42c143d2950957c40
4
+ data.tar.gz: 3435b1f1fa52866274de6ca5c16aa25ab4b84264a7fc2b92eff7f7563647f9e3
5
5
  SHA512:
6
- metadata.gz: f949cdf76d7429e290acbd47af6ec95de562cb9c9bb470944825ef09450205cf16a5318a9a1ca71c9cccb82e38e531008b80c9055b3198921df70e7946907f36
7
- data.tar.gz: 8837c55c2b80e7d24a8e2b075733a641851e59aee98dfb30a78596c7889387da6369e4e8f6f0dd18c37b2efafe3651488e3dfe3607d76e6107db77577d651478
6
+ metadata.gz: 4cb5667647a037399a4a9c48985dae4852ee87fbf2d1772e51b4dadbb1287833b792930c186f85bfd1c6dca00e6a6dc1b747c61133c0c63fde5bfc11d78c11e9
7
+ data.tar.gz: d2e58784f707c0d785ee35aebd0e257b20e7ede12a524f5587113ef0d320b202baf8939a526e0ea492035205bfe4fbeeed4a63ae2f22cb568f1b5452e7ac69ba
data/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.198
1
+ 1.0.199
data/docs/user.md CHANGED
@@ -109,6 +109,7 @@
109
109
  * `change_password_confirmation` (string): Optional, but if provided, we will ensure that it matches the value sent in `change_password`.
110
110
  * `grant_permission` (string): Permission to grant on the user root. Can be blank or `full`, `read`, `write`, `list`, or `history`.
111
111
  * `group_id` (int64): Group ID to associate this user with.
112
+ * `imported_password_hash` (string): Pre-calculated hash of the user's password.
112
113
  * `password` (string): User password.
113
114
  * `password_confirmation` (string): Optional, but if provided, we will ensure that it matches the value sent in `password`.
114
115
  * `announcements_read` (boolean): Signifies that the user has read all the announcements in the UI.
@@ -213,6 +214,7 @@ Files::User.create(
213
214
  * `grant_permission` (string): Permission to grant on the user root. Can be blank or `full`, `read`, `write`, `list`, or `history`.
214
215
  * `group_id` (int64): Group ID to associate this user with.
215
216
  * `group_ids` (string): A list of group ids to associate this user with. Comma delimited.
217
+ * `imported_password_hash` (string): Pre-calculated hash of the user's password.
216
218
  * `password` (string): User password.
217
219
  * `password_confirmation` (string): Optional, but if provided, we will ensure that it matches the value sent in `password`.
218
220
  * `announcements_read` (boolean): Signifies that the user has read all the announcements in the UI.
@@ -344,6 +346,7 @@ Files::User.update(id,
344
346
  * `grant_permission` (string): Permission to grant on the user root. Can be blank or `full`, `read`, `write`, `list`, or `history`.
345
347
  * `group_id` (int64): Group ID to associate this user with.
346
348
  * `group_ids` (string): A list of group ids to associate this user with. Comma delimited.
349
+ * `imported_password_hash` (string): Pre-calculated hash of the user's password.
347
350
  * `password` (string): User password.
348
351
  * `password_confirmation` (string): Optional, but if provided, we will ensure that it matches the value sent in `password`.
349
352
  * `announcements_read` (boolean): Signifies that the user has read all the announcements in the UI.
@@ -496,6 +499,7 @@ user.update(
496
499
  * `grant_permission` (string): Permission to grant on the user root. Can be blank or `full`, `read`, `write`, `list`, or `history`.
497
500
  * `group_id` (int64): Group ID to associate this user with.
498
501
  * `group_ids` (string): A list of group ids to associate this user with. Comma delimited.
502
+ * `imported_password_hash` (string): Pre-calculated hash of the user's password.
499
503
  * `password` (string): User password.
500
504
  * `password_confirmation` (string): Optional, but if provided, we will ensure that it matches the value sent in `password`.
501
505
  * `announcements_read` (boolean): Signifies that the user has read all the announcements in the UI.
@@ -482,6 +482,15 @@ module Files
482
482
  @attributes[:group_id] = value
483
483
  end
484
484
 
485
+ # string - Pre-calculated hash of the user's password.
486
+ def imported_password_hash
487
+ @attributes[:imported_password_hash]
488
+ end
489
+
490
+ def imported_password_hash=(value)
491
+ @attributes[:imported_password_hash] = value
492
+ end
493
+
485
494
  # string - User password.
486
495
  def password
487
496
  @attributes[:password]
@@ -551,6 +560,7 @@ module Files
551
560
  # grant_permission - string - Permission to grant on the user root. Can be blank or `full`, `read`, `write`, `list`, or `history`.
552
561
  # group_id - int64 - Group ID to associate this user with.
553
562
  # group_ids - string - A list of group ids to associate this user with. Comma delimited.
563
+ # imported_password_hash - string - Pre-calculated hash of the user's password.
554
564
  # password - string - User password.
555
565
  # password_confirmation - string - Optional, but if provided, we will ensure that it matches the value sent in `password`.
556
566
  # announcements_read - boolean - Signifies that the user has read all the announcements in the UI.
@@ -597,6 +607,7 @@ module Files
597
607
  raise InvalidParameterError.new("Bad parameter: grant_permission must be an String") if params.dig(:grant_permission) and !params.dig(:grant_permission).is_a?(String)
598
608
  raise InvalidParameterError.new("Bad parameter: group_id must be an Integer") if params.dig(:group_id) and !params.dig(:group_id).is_a?(Integer)
599
609
  raise InvalidParameterError.new("Bad parameter: group_ids must be an String") if params.dig(:group_ids) and !params.dig(:group_ids).is_a?(String)
610
+ raise InvalidParameterError.new("Bad parameter: imported_password_hash must be an String") if params.dig(:imported_password_hash) and !params.dig(:imported_password_hash).is_a?(String)
600
611
  raise InvalidParameterError.new("Bad parameter: password must be an String") if params.dig(:password) and !params.dig(:password).is_a?(String)
601
612
  raise InvalidParameterError.new("Bad parameter: password_confirmation must be an String") if params.dig(:password_confirmation) and !params.dig(:password_confirmation).is_a?(String)
602
613
  raise InvalidParameterError.new("Bad parameter: allowed_ips must be an String") if params.dig(:allowed_ips) and !params.dig(:allowed_ips).is_a?(String)
@@ -709,6 +720,7 @@ module Files
709
720
  # grant_permission - string - Permission to grant on the user root. Can be blank or `full`, `read`, `write`, `list`, or `history`.
710
721
  # group_id - int64 - Group ID to associate this user with.
711
722
  # group_ids - string - A list of group ids to associate this user with. Comma delimited.
723
+ # imported_password_hash - string - Pre-calculated hash of the user's password.
712
724
  # password - string - User password.
713
725
  # password_confirmation - string - Optional, but if provided, we will ensure that it matches the value sent in `password`.
714
726
  # announcements_read - boolean - Signifies that the user has read all the announcements in the UI.
@@ -751,6 +763,7 @@ module Files
751
763
  raise InvalidParameterError.new("Bad parameter: grant_permission must be an String") if params.dig(:grant_permission) and !params.dig(:grant_permission).is_a?(String)
752
764
  raise InvalidParameterError.new("Bad parameter: group_id must be an Integer") if params.dig(:group_id) and !params.dig(:group_id).is_a?(Integer)
753
765
  raise InvalidParameterError.new("Bad parameter: group_ids must be an String") if params.dig(:group_ids) and !params.dig(:group_ids).is_a?(String)
766
+ raise InvalidParameterError.new("Bad parameter: imported_password_hash must be an String") if params.dig(:imported_password_hash) and !params.dig(:imported_password_hash).is_a?(String)
754
767
  raise InvalidParameterError.new("Bad parameter: password must be an String") if params.dig(:password) and !params.dig(:password).is_a?(String)
755
768
  raise InvalidParameterError.new("Bad parameter: password_confirmation must be an String") if params.dig(:password_confirmation) and !params.dig(:password_confirmation).is_a?(String)
756
769
  raise InvalidParameterError.new("Bad parameter: allowed_ips must be an String") if params.dig(:allowed_ips) and !params.dig(:allowed_ips).is_a?(String)
@@ -816,6 +829,7 @@ module Files
816
829
  # grant_permission - string - Permission to grant on the user root. Can be blank or `full`, `read`, `write`, `list`, or `history`.
817
830
  # group_id - int64 - Group ID to associate this user with.
818
831
  # group_ids - string - A list of group ids to associate this user with. Comma delimited.
832
+ # imported_password_hash - string - Pre-calculated hash of the user's password.
819
833
  # password - string - User password.
820
834
  # password_confirmation - string - Optional, but if provided, we will ensure that it matches the value sent in `password`.
821
835
  # announcements_read - boolean - Signifies that the user has read all the announcements in the UI.
@@ -861,6 +875,7 @@ module Files
861
875
  raise InvalidParameterError.new("Bad parameter: grant_permission must be an String") if params.dig(:grant_permission) and !params.dig(:grant_permission).is_a?(String)
862
876
  raise InvalidParameterError.new("Bad parameter: group_id must be an Integer") if params.dig(:group_id) and !params.dig(:group_id).is_a?(Integer)
863
877
  raise InvalidParameterError.new("Bad parameter: group_ids must be an String") if params.dig(:group_ids) and !params.dig(:group_ids).is_a?(String)
878
+ raise InvalidParameterError.new("Bad parameter: imported_password_hash must be an String") if params.dig(:imported_password_hash) and !params.dig(:imported_password_hash).is_a?(String)
864
879
  raise InvalidParameterError.new("Bad parameter: password must be an String") if params.dig(:password) and !params.dig(:password).is_a?(String)
865
880
  raise InvalidParameterError.new("Bad parameter: password_confirmation must be an String") if params.dig(:password_confirmation) and !params.dig(:password_confirmation).is_a?(String)
866
881
  raise InvalidParameterError.new("Bad parameter: allowed_ips must be an String") if params.dig(:allowed_ips) and !params.dig(:allowed_ips).is_a?(String)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: files.com
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.198
4
+ version: 1.0.199
5
5
  platform: ruby
6
6
  authors:
7
7
  - files.com