files.com 1.0.57 → 1.0.58
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 +4 -4
- data/_VERSION +1 -1
- data/docs/site.md +2 -2
- data/lib/files.com/models/api_key.rb +5 -5
- data/lib/files.com/models/as2_key.rb +5 -5
- data/lib/files.com/models/automation.rb +3 -3
- data/lib/files.com/models/behavior.rb +5 -5
- data/lib/files.com/models/bundle.rb +8 -8
- data/lib/files.com/models/dns_record.rb +2 -2
- data/lib/files.com/models/file.rb +9 -9
- data/lib/files.com/models/file_action.rb +6 -6
- data/lib/files.com/models/file_comment.rb +2 -2
- data/lib/files.com/models/file_comment_reaction.rb +2 -2
- data/lib/files.com/models/folder.rb +2 -2
- data/lib/files.com/models/group.rb +3 -3
- data/lib/files.com/models/group_user.rb +8 -8
- data/lib/files.com/models/history.rb +11 -11
- data/lib/files.com/models/history_export.rb +10 -10
- data/lib/files.com/models/invoice.rb +3 -3
- data/lib/files.com/models/ip_address.rb +2 -2
- data/lib/files.com/models/lock.rb +3 -3
- data/lib/files.com/models/message.rb +9 -9
- data/lib/files.com/models/message_comment.rb +6 -6
- data/lib/files.com/models/message_comment_reaction.rb +6 -6
- data/lib/files.com/models/message_reaction.rb +6 -6
- data/lib/files.com/models/notification.rb +7 -7
- data/lib/files.com/models/payment.rb +3 -3
- data/lib/files.com/models/permission.rb +5 -5
- data/lib/files.com/models/project.rb +3 -3
- data/lib/files.com/models/public_key.rb +5 -5
- data/lib/files.com/models/remote_server.rb +9 -9
- data/lib/files.com/models/request.rb +7 -7
- data/lib/files.com/models/site.rb +13 -13
- data/lib/files.com/models/sso_strategy.rb +3 -3
- data/lib/files.com/models/usage_daily_snapshot.rb +2 -2
- data/lib/files.com/models/usage_snapshot.rb +2 -2
- data/lib/files.com/models/user.rb +15 -15
- data/lib/files.com/models/user_cipher_use.rb +3 -3
- metadata +2 -2
@@ -130,8 +130,8 @@ module Files
|
|
130
130
|
end
|
131
131
|
|
132
132
|
# Parameters:
|
133
|
-
# page -
|
134
|
-
# per_page -
|
133
|
+
# page - int64 - Current page number.
|
134
|
+
# per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
135
135
|
# action - string - Deprecated: If set to `count` returns a count of matching records rather than the records themselves.
|
136
136
|
def self.list(params = {}, options = {})
|
137
137
|
raise InvalidParameterError.new("Bad parameter: page must be an Integer") if params.dig(:page) and !params.dig(:page).is_a?(Integer)
|
@@ -146,7 +146,7 @@ module Files
|
|
146
146
|
end
|
147
147
|
|
148
148
|
# Parameters:
|
149
|
-
# id (required) -
|
149
|
+
# id (required) - int64 - Sso Strategy ID.
|
150
150
|
def self.find(id, params = {}, options = {})
|
151
151
|
params ||= {}
|
152
152
|
params[:id] = id
|
@@ -30,8 +30,8 @@ module Files
|
|
30
30
|
end
|
31
31
|
|
32
32
|
# Parameters:
|
33
|
-
# page -
|
34
|
-
# per_page -
|
33
|
+
# page - int64 - Current page number.
|
34
|
+
# per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
35
35
|
# action - string - Deprecated: If set to `count` returns a count of matching records rather than the records themselves.
|
36
36
|
def self.list(params = {}, options = {})
|
37
37
|
raise InvalidParameterError.new("Bad parameter: page must be an Integer") if params.dig(:page) and !params.dig(:page).is_a?(Integer)
|
@@ -75,8 +75,8 @@ module Files
|
|
75
75
|
end
|
76
76
|
|
77
77
|
# Parameters:
|
78
|
-
# page -
|
79
|
-
# per_page -
|
78
|
+
# page - int64 - Current page number.
|
79
|
+
# per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
80
80
|
# action - string - Deprecated: If set to `count` returns a count of matching records rather than the records themselves.
|
81
81
|
def self.list(params = {}, options = {})
|
82
82
|
raise InvalidParameterError.new("Bad parameter: page must be an Integer") if params.dig(:page) and !params.dig(:page).is_a?(Integer)
|
@@ -513,7 +513,7 @@ module Files
|
|
513
513
|
# change_password_confirmation - string - Optional, but if provided, we will ensure that it matches the value sent in `change_password`.
|
514
514
|
# email - string - User's email.
|
515
515
|
# grant_permission - string - Permission to grant on the user root. Can be blank or `full`, `read`, `write`, `preview`, or `history`.
|
516
|
-
# group_id -
|
516
|
+
# group_id - int64 - Group ID to associate this user with.
|
517
517
|
# group_ids - string - A list of group ids to associate this user with. Comma delimited.
|
518
518
|
# password - string - User password.
|
519
519
|
# password_confirmation - string - Optional, but if provided, we will ensure that it matches the value sent in `password`.
|
@@ -529,10 +529,10 @@ module Files
|
|
529
529
|
# disabled - boolean - Is user disabled? Disabled users cannot log in, and do not count for billing purposes. Users can be automatically disabled after an inactivity period via a Site setting.
|
530
530
|
# ftp_permission - boolean - Can the user access with FTP/FTPS?
|
531
531
|
# language - string - Preferred language
|
532
|
-
# notification_daily_send_time -
|
532
|
+
# notification_daily_send_time - int64 - Hour of the day at which daily notifications should be sent. Can be in range 0 to 23
|
533
533
|
# name - string - User's full name
|
534
534
|
# notes - string - Any internal notes on the user
|
535
|
-
# password_validity_days -
|
535
|
+
# password_validity_days - int64 - Number of days to allow user to use the same password
|
536
536
|
# receive_admin_alerts - boolean - Should the user receive admin alerts such a certificate expiration notifications and overages?
|
537
537
|
# require_password_change - boolean - Is a password change required upon next user login?
|
538
538
|
# restapi_permission - boolean - Can this user access the REST API?
|
@@ -541,7 +541,7 @@ module Files
|
|
541
541
|
# site_admin - boolean - Is the user an administrator for this site?
|
542
542
|
# skip_welcome_screen - boolean - Skip Welcome page in the UI?
|
543
543
|
# ssl_required - string - SSL required setting
|
544
|
-
# sso_strategy_id -
|
544
|
+
# sso_strategy_id - int64 - SSO (Single Sign On) strategy ID for the user, if applicable.
|
545
545
|
# subscribe_to_newsletter - boolean - Is the user subscribed to the newsletter?
|
546
546
|
# time_zone - string - User time zone
|
547
547
|
# 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.
|
@@ -601,8 +601,8 @@ module Files
|
|
601
601
|
end
|
602
602
|
|
603
603
|
# Parameters:
|
604
|
-
# page -
|
605
|
-
# per_page -
|
604
|
+
# page - int64 - Current page number.
|
605
|
+
# per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
606
606
|
# action - string - Deprecated: If set to `count` returns a count of matching records rather than the records themselves.
|
607
607
|
# q[username] - string - List users matching username.
|
608
608
|
# q[email] - string - List users matching email.
|
@@ -626,7 +626,7 @@ module Files
|
|
626
626
|
end
|
627
627
|
|
628
628
|
# Parameters:
|
629
|
-
# id (required) -
|
629
|
+
# id (required) - int64 - User ID.
|
630
630
|
def self.find(id, params = {}, options = {})
|
631
631
|
params ||= {}
|
632
632
|
params[:id] = id
|
@@ -648,7 +648,7 @@ module Files
|
|
648
648
|
# change_password_confirmation - string - Optional, but if provided, we will ensure that it matches the value sent in `change_password`.
|
649
649
|
# email - string - User's email.
|
650
650
|
# grant_permission - string - Permission to grant on the user root. Can be blank or `full`, `read`, `write`, `preview`, or `history`.
|
651
|
-
# group_id -
|
651
|
+
# group_id - int64 - Group ID to associate this user with.
|
652
652
|
# group_ids - string - A list of group ids to associate this user with. Comma delimited.
|
653
653
|
# password - string - User password.
|
654
654
|
# password_confirmation - string - Optional, but if provided, we will ensure that it matches the value sent in `password`.
|
@@ -664,10 +664,10 @@ module Files
|
|
664
664
|
# disabled - boolean - Is user disabled? Disabled users cannot log in, and do not count for billing purposes. Users can be automatically disabled after an inactivity period via a Site setting.
|
665
665
|
# ftp_permission - boolean - Can the user access with FTP/FTPS?
|
666
666
|
# language - string - Preferred language
|
667
|
-
# notification_daily_send_time -
|
667
|
+
# notification_daily_send_time - int64 - Hour of the day at which daily notifications should be sent. Can be in range 0 to 23
|
668
668
|
# name - string - User's full name
|
669
669
|
# notes - string - Any internal notes on the user
|
670
|
-
# password_validity_days -
|
670
|
+
# password_validity_days - int64 - Number of days to allow user to use the same password
|
671
671
|
# receive_admin_alerts - boolean - Should the user receive admin alerts such a certificate expiration notifications and overages?
|
672
672
|
# require_password_change - boolean - Is a password change required upon next user login?
|
673
673
|
# restapi_permission - boolean - Can this user access the REST API?
|
@@ -676,7 +676,7 @@ module Files
|
|
676
676
|
# site_admin - boolean - Is the user an administrator for this site?
|
677
677
|
# skip_welcome_screen - boolean - Skip Welcome page in the UI?
|
678
678
|
# ssl_required - string - SSL required setting
|
679
|
-
# sso_strategy_id -
|
679
|
+
# sso_strategy_id - int64 - SSO (Single Sign On) strategy ID for the user, if applicable.
|
680
680
|
# subscribe_to_newsletter - boolean - Is the user subscribed to the newsletter?
|
681
681
|
# time_zone - string - User time zone
|
682
682
|
# 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.
|
@@ -748,7 +748,7 @@ module Files
|
|
748
748
|
# change_password_confirmation - string - Optional, but if provided, we will ensure that it matches the value sent in `change_password`.
|
749
749
|
# email - string - User's email.
|
750
750
|
# grant_permission - string - Permission to grant on the user root. Can be blank or `full`, `read`, `write`, `preview`, or `history`.
|
751
|
-
# group_id -
|
751
|
+
# group_id - int64 - Group ID to associate this user with.
|
752
752
|
# group_ids - string - A list of group ids to associate this user with. Comma delimited.
|
753
753
|
# password - string - User password.
|
754
754
|
# password_confirmation - string - Optional, but if provided, we will ensure that it matches the value sent in `password`.
|
@@ -764,10 +764,10 @@ module Files
|
|
764
764
|
# disabled - boolean - Is user disabled? Disabled users cannot log in, and do not count for billing purposes. Users can be automatically disabled after an inactivity period via a Site setting.
|
765
765
|
# ftp_permission - boolean - Can the user access with FTP/FTPS?
|
766
766
|
# language - string - Preferred language
|
767
|
-
# notification_daily_send_time -
|
767
|
+
# notification_daily_send_time - int64 - Hour of the day at which daily notifications should be sent. Can be in range 0 to 23
|
768
768
|
# name - string - User's full name
|
769
769
|
# notes - string - Any internal notes on the user
|
770
|
-
# password_validity_days -
|
770
|
+
# password_validity_days - int64 - Number of days to allow user to use the same password
|
771
771
|
# receive_admin_alerts - boolean - Should the user receive admin alerts such a certificate expiration notifications and overages?
|
772
772
|
# require_password_change - boolean - Is a password change required upon next user login?
|
773
773
|
# restapi_permission - boolean - Can this user access the REST API?
|
@@ -776,7 +776,7 @@ module Files
|
|
776
776
|
# site_admin - boolean - Is the user an administrator for this site?
|
777
777
|
# skip_welcome_screen - boolean - Skip Welcome page in the UI?
|
778
778
|
# ssl_required - string - SSL required setting
|
779
|
-
# sso_strategy_id -
|
779
|
+
# sso_strategy_id - int64 - SSO (Single Sign On) strategy ID for the user, if applicable.
|
780
780
|
# subscribe_to_newsletter - boolean - Is the user subscribed to the newsletter?
|
781
781
|
# time_zone - string - User time zone
|
782
782
|
# 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.
|
@@ -40,9 +40,9 @@ module Files
|
|
40
40
|
end
|
41
41
|
|
42
42
|
# Parameters:
|
43
|
-
# user_id -
|
44
|
-
# page -
|
45
|
-
# per_page -
|
43
|
+
# user_id - int64 - User ID. Provide a value of `0` to operate the current session's user.
|
44
|
+
# page - int64 - Current page number.
|
45
|
+
# per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
46
46
|
# action - string - Deprecated: If set to `count` returns a count of matching records rather than the records themselves.
|
47
47
|
def self.list(params = {}, options = {})
|
48
48
|
raise InvalidParameterError.new("Bad parameter: user_id must be an Integer") if params.dig(:user_id) and !params.dig(:user_id).is_a?(Integer)
|
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.58
|
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-05-
|
11
|
+
date: 2020-05-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|