files.com 1.1.436 → 1.1.438

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: e3041924c9c924e040dfb739171c9556111350f151d5be9f5e1fb534f9e96666
4
- data.tar.gz: ecc9232479a10aadfa9f85c725979c4bd102fcb0f19f24746fcf3616cd546f99
3
+ metadata.gz: a9f97ed72883e8c1a75789d7d4eec1ca0dbbd86c6683be47859612cc1e67d824
4
+ data.tar.gz: 2d95c125034c4bcf67ebd7db51b19bb1084c652f1ac654135dd39d84fb29b34f
5
5
  SHA512:
6
- metadata.gz: 71df9be468fe42a2930ebbb56861473328aead762381d30f317653103266be488c34e65816c318fbcd744e2b37590666cb95c0d22ab506093b121784da2c55aa
7
- data.tar.gz: 217086d5ae88437832992ec3aa8f524831fc80f14e78ef516ac1053c9407d62ebab028098c317798b404d362879f75b5bc5890062c0caf00ae9cc5a03d9eec28
6
+ metadata.gz: 0b4707b384ed063f8625aace98b0a69c5598e57a26132961c7ed00667fcc9410decf330da52b01692f20fedd270504f38e6886554db6c602123d838498181959
7
+ data.tar.gz: 03ab1e8d5a51b66bef9c41fc7d6f465f19a1e8e9f25d89fb87b580f8d15379357d0855b3b7e1d8ef648238b45bce3d6582028c7680bd856070b9fa7ae0b4b83b
data/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.436
1
+ 1.1.438
data/docs/site.md CHANGED
@@ -276,6 +276,7 @@
276
276
  "self_managed": true,
277
277
  "sftp_permission": true,
278
278
  "site_admin": true,
279
+ "workspace_admin": true,
279
280
  "site_id": 1,
280
281
  "workspace_id": 1,
281
282
  "skip_welcome_screen": true,
data/docs/user.md CHANGED
@@ -63,6 +63,7 @@
63
63
  "self_managed": true,
64
64
  "sftp_permission": true,
65
65
  "site_admin": true,
66
+ "workspace_admin": true,
66
67
  "site_id": 1,
67
68
  "workspace_id": 1,
68
69
  "skip_welcome_screen": true,
@@ -138,6 +139,7 @@
138
139
  * `self_managed` (boolean): Does this user manage it's own credentials or is it a shared/bot user?
139
140
  * `sftp_permission` (boolean): Can the user access with SFTP?
140
141
  * `site_admin` (boolean): Is the user an administrator for this site?
142
+ * `workspace_admin` (boolean): Is the user a Workspace administrator? Applicable only to the workspace ID related to this user, if one is set.
141
143
  * `site_id` (int64): Site ID
142
144
  * `workspace_id` (int64): Workspace ID
143
145
  * `skip_welcome_screen` (boolean): Skip Welcome page in the UI?
@@ -182,10 +184,10 @@ Files::User.list(
182
184
  * `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.
183
185
  * `per_page` (int64): Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
184
186
  * `sort_by` (object): If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `site_id`, `workspace_id`, `company`, `name`, `disabled`, `authenticate_until`, `username`, `email`, `last_desktop_login_at`, `last_login_at`, `site_admin`, `password_validity_days` or `ssl_required`.
185
- * `filter` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `username`, `name`, `email`, `company`, `site_admin`, `password_validity_days`, `ssl_required`, `last_login_at`, `authenticate_until`, `not_site_admin`, `disabled`, `partner_id` or `workspace_id`. Valid field combinations are `[ site_admin, username ]`, `[ not_site_admin, username ]`, `[ workspace_id, username ]`, `[ workspace_id, disabled ]` or `[ workspace_id, disabled, username ]`.
187
+ * `filter` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `username`, `name`, `email`, `company`, `site_admin`, `password_validity_days`, `ssl_required`, `last_login_at`, `authenticate_until`, `not_site_admin`, `disabled`, `partner_id` or `workspace_id`. Valid field combinations are `[ site_admin, username ]`, `[ not_site_admin, username ]`, `[ workspace_id, username ]`, `[ company, name ]`, `[ workspace_id, name ]`, `[ workspace_id, email ]`, `[ workspace_id, company ]`, `[ workspace_id, disabled ]`, `[ workspace_id, disabled, username ]` or `[ workspace_id, company, name ]`.
186
188
  * `filter_gt` (object): If set, return records where the specified field is greater than the supplied value. Valid fields are `password_validity_days`, `last_login_at` or `authenticate_until`.
187
189
  * `filter_gteq` (object): If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `password_validity_days`, `last_login_at` or `authenticate_until`.
188
- * `filter_prefix` (object): If set, return records where the specified field is prefixed by the supplied value. Valid fields are `username`, `name`, `email` or `company`.
190
+ * `filter_prefix` (object): If set, return records where the specified field is prefixed by the supplied value. Valid fields are `username`, `name`, `email` or `company`. Valid field combinations are `[ company, name ]`.
189
191
  * `filter_lt` (object): If set, return records where the specified field is less than the supplied value. Valid fields are `password_validity_days`, `last_login_at` or `authenticate_until`.
190
192
  * `filter_lteq` (object): If set, return records where the specified field is less than or equal the supplied value. Valid fields are `password_validity_days`, `last_login_at` or `authenticate_until`.
191
193
  * `ids` (string): comma-separated list of User IDs
@@ -255,6 +257,7 @@ Files::User.create(
255
257
  time_zone: "Pacific Time (US & Canada)",
256
258
  user_root: "example",
257
259
  user_home: "example",
260
+ workspace_admin: true,
258
261
  username: "user",
259
262
  workspace_id: 1
260
263
  )
@@ -312,6 +315,7 @@ Files::User.create(
312
315
  * `time_zone` (string): User time zone
313
316
  * `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.
314
317
  * `user_home` (string): Home folder for FTP/SFTP. Note that this is not used for API, Desktop, or Web interface.
318
+ * `workspace_admin` (boolean): Is the user a Workspace administrator? Applicable only to the workspace ID related to this user, if one is set.
315
319
  * `username` (string): Required - User's username
316
320
  * `workspace_id` (int64): Workspace ID
317
321
 
@@ -404,6 +408,7 @@ Files::User.update(id,
404
408
  time_zone: "Pacific Time (US & Canada)",
405
409
  user_root: "example",
406
410
  user_home: "example",
411
+ workspace_admin: true,
407
412
  username: "user",
408
413
  clear_2fa: false,
409
414
  convert_to_partner_user: false
@@ -463,6 +468,7 @@ Files::User.update(id,
463
468
  * `time_zone` (string): User time zone
464
469
  * `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.
465
470
  * `user_home` (string): Home folder for FTP/SFTP. Note that this is not used for API, Desktop, or Web interface.
471
+ * `workspace_admin` (boolean): Is the user a Workspace administrator? Applicable only to the workspace ID related to this user, if one is set.
466
472
  * `username` (string): User's username
467
473
  * `clear_2fa` (boolean): If true when changing authentication_method from `password` to `sso`, remove all two-factor methods. Ignored in all other cases.
468
474
  * `convert_to_partner_user` (boolean): If true, convert this user to a partner user by assigning the partner_id provided.
@@ -580,6 +586,7 @@ user.update(
580
586
  time_zone: "Pacific Time (US & Canada)",
581
587
  user_root: "example",
582
588
  user_home: "example",
589
+ workspace_admin: true,
583
590
  username: "user",
584
591
  clear_2fa: false,
585
592
  convert_to_partner_user: false
@@ -639,6 +646,7 @@ user.update(
639
646
  * `time_zone` (string): User time zone
640
647
  * `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.
641
648
  * `user_home` (string): Home folder for FTP/SFTP. Note that this is not used for API, Desktop, or Web interface.
649
+ * `workspace_admin` (boolean): Is the user a Workspace administrator? Applicable only to the workspace ID related to this user, if one is set.
642
650
  * `username` (string): User's username
643
651
  * `clear_2fa` (boolean): If true when changing authentication_method from `password` to `sso`, remove all two-factor methods. Ignored in all other cases.
644
652
  * `convert_to_partner_user` (boolean): If true, convert this user to a partner user by assigning the partner_id provided.
@@ -518,6 +518,15 @@ module Files
518
518
  @attributes[:site_admin] = value
519
519
  end
520
520
 
521
+ # boolean - Is the user a Workspace administrator? Applicable only to the workspace ID related to this user, if one is set.
522
+ def workspace_admin
523
+ @attributes[:workspace_admin]
524
+ end
525
+
526
+ def workspace_admin=(value)
527
+ @attributes[:workspace_admin] = value
528
+ end
529
+
521
530
  # int64 - Site ID
522
531
  def site_id
523
532
  @attributes[:site_id]
@@ -845,6 +854,7 @@ module Files
845
854
  # time_zone - string - User time zone
846
855
  # 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.
847
856
  # user_home - string - Home folder for FTP/SFTP. Note that this is not used for API, Desktop, or Web interface.
857
+ # workspace_admin - boolean - Is the user a Workspace administrator? Applicable only to the workspace ID related to this user, if one is set.
848
858
  # username - string - User's username
849
859
  # clear_2fa - boolean - If true when changing authentication_method from `password` to `sso`, remove all two-factor methods. Ignored in all other cases.
850
860
  # convert_to_partner_user - boolean - If true, convert this user to a partner user by assigning the partner_id provided.
@@ -921,10 +931,10 @@ module Files
921
931
  # 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.
922
932
  # per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
923
933
  # sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `site_id`, `workspace_id`, `company`, `name`, `disabled`, `authenticate_until`, `username`, `email`, `last_desktop_login_at`, `last_login_at`, `site_admin`, `password_validity_days` or `ssl_required`.
924
- # filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `username`, `name`, `email`, `company`, `site_admin`, `password_validity_days`, `ssl_required`, `last_login_at`, `authenticate_until`, `not_site_admin`, `disabled`, `partner_id` or `workspace_id`. Valid field combinations are `[ site_admin, username ]`, `[ not_site_admin, username ]`, `[ workspace_id, username ]`, `[ workspace_id, disabled ]` or `[ workspace_id, disabled, username ]`.
934
+ # filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `username`, `name`, `email`, `company`, `site_admin`, `password_validity_days`, `ssl_required`, `last_login_at`, `authenticate_until`, `not_site_admin`, `disabled`, `partner_id` or `workspace_id`. Valid field combinations are `[ site_admin, username ]`, `[ not_site_admin, username ]`, `[ workspace_id, username ]`, `[ company, name ]`, `[ workspace_id, name ]`, `[ workspace_id, email ]`, `[ workspace_id, company ]`, `[ workspace_id, disabled ]`, `[ workspace_id, disabled, username ]` or `[ workspace_id, company, name ]`.
925
935
  # filter_gt - object - If set, return records where the specified field is greater than the supplied value. Valid fields are `password_validity_days`, `last_login_at` or `authenticate_until`.
926
936
  # filter_gteq - object - If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `password_validity_days`, `last_login_at` or `authenticate_until`.
927
- # filter_prefix - object - If set, return records where the specified field is prefixed by the supplied value. Valid fields are `username`, `name`, `email` or `company`.
937
+ # filter_prefix - object - If set, return records where the specified field is prefixed by the supplied value. Valid fields are `username`, `name`, `email` or `company`. Valid field combinations are `[ company, name ]`.
928
938
  # filter_lt - object - If set, return records where the specified field is less than the supplied value. Valid fields are `password_validity_days`, `last_login_at` or `authenticate_until`.
929
939
  # filter_lteq - object - If set, return records where the specified field is less than or equal the supplied value. Valid fields are `password_validity_days`, `last_login_at` or `authenticate_until`.
930
940
  # ids - string - comma-separated list of User IDs
@@ -1019,6 +1029,7 @@ module Files
1019
1029
  # time_zone - string - User time zone
1020
1030
  # 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.
1021
1031
  # user_home - string - Home folder for FTP/SFTP. Note that this is not used for API, Desktop, or Web interface.
1032
+ # workspace_admin - boolean - Is the user a Workspace administrator? Applicable only to the workspace ID related to this user, if one is set.
1022
1033
  # username (required) - string - User's username
1023
1034
  # workspace_id - int64 - Workspace ID
1024
1035
  def self.create(params = {}, options = {})
@@ -1143,6 +1154,7 @@ module Files
1143
1154
  # time_zone - string - User time zone
1144
1155
  # 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.
1145
1156
  # user_home - string - Home folder for FTP/SFTP. Note that this is not used for API, Desktop, or Web interface.
1157
+ # workspace_admin - boolean - Is the user a Workspace administrator? Applicable only to the workspace ID related to this user, if one is set.
1146
1158
  # username - string - User's username
1147
1159
  # clear_2fa - boolean - If true when changing authentication_method from `password` to `sso`, remove all two-factor methods. Ignored in all other cases.
1148
1160
  # convert_to_partner_user - boolean - If true, convert this user to a partner user by assigning the partner_id provided.
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Files
4
- VERSION = "1.1.436"
4
+ VERSION = "1.1.438"
5
5
  end
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.1.436
4
+ version: 1.1.438
5
5
  platform: ruby
6
6
  authors:
7
7
  - files.com