files.com 1.0.104 → 1.0.109
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_VERSION +1 -1
- data/docs/api_key.md +18 -2
- data/docs/app.md +2 -0
- data/docs/as2_key.md +1 -0
- data/docs/bundle_download.md +1 -0
- data/docs/bundle_recipient.md +1 -0
- data/docs/clickwrap.md +1 -0
- data/docs/dns_record.md +1 -0
- data/docs/external_event.md +43 -0
- data/docs/file.md +2 -4
- data/docs/file_comment.md +1 -0
- data/docs/file_part_upload.md +10 -10
- data/docs/folder.md +2 -4
- data/docs/group_user.md +1 -0
- data/docs/history_export.md +20 -20
- data/docs/history_export_result.md +0 -1
- data/docs/invoice.md +1 -0
- data/docs/ip_address.md +2 -0
- data/docs/lock.md +1 -0
- data/docs/message.md +1 -0
- data/docs/message_comment.md +1 -0
- data/docs/message_comment_reaction.md +1 -0
- data/docs/message_reaction.md +1 -0
- data/docs/payment.md +1 -0
- data/docs/project.md +1 -0
- data/docs/public_key.md +1 -0
- data/docs/remote_server.md +1 -0
- data/docs/session.md +10 -2
- data/docs/site.md +18 -2
- data/docs/sso_strategy.md +5 -0
- data/docs/usage_snapshot.md +1 -0
- data/docs/user_cipher_use.md +1 -0
- data/docs/user_request.md +1 -0
- data/lib/files.com.rb +1 -0
- data/lib/files.com/api_client.rb +5 -1
- data/lib/files.com/models/api_key.rb +12 -0
- data/lib/files.com/models/app.rb +5 -0
- data/lib/files.com/models/as2_key.rb +4 -3
- data/lib/files.com/models/bundle_download.rb +4 -3
- data/lib/files.com/models/bundle_recipient.rb +4 -3
- data/lib/files.com/models/clickwrap.rb +4 -3
- data/lib/files.com/models/dns_record.rb +4 -3
- data/lib/files.com/models/external_event.rb +66 -0
- data/lib/files.com/models/file.rb +2 -11
- data/lib/files.com/models/file_comment.rb +4 -3
- data/lib/files.com/models/file_part_upload.rb +5 -5
- data/lib/files.com/models/folder.rb +3 -12
- data/lib/files.com/models/group_user.rb +4 -3
- data/lib/files.com/models/history_export.rb +15 -15
- data/lib/files.com/models/history_export_result.rb +0 -2
- data/lib/files.com/models/invoice.rb +4 -3
- data/lib/files.com/models/ip_address.rb +8 -6
- data/lib/files.com/models/lock.rb +4 -3
- data/lib/files.com/models/message.rb +4 -3
- data/lib/files.com/models/message_comment.rb +4 -3
- data/lib/files.com/models/message_comment_reaction.rb +4 -3
- data/lib/files.com/models/message_reaction.rb +4 -3
- data/lib/files.com/models/payment.rb +4 -3
- data/lib/files.com/models/project.rb +4 -3
- data/lib/files.com/models/public_key.rb +4 -3
- data/lib/files.com/models/remote_server.rb +4 -3
- data/lib/files.com/models/session.rb +6 -0
- data/lib/files.com/models/site.rb +12 -0
- data/lib/files.com/models/sso_strategy.rb +14 -3
- data/lib/files.com/models/usage_snapshot.rb +4 -3
- data/lib/files.com/models/user_cipher_use.rb +4 -3
- data/lib/files.com/models/user_request.rb +4 -3
- metadata +4 -2
@@ -44,6 +44,11 @@ module Files
|
|
44
44
|
@attributes[:saml_provider_issuer_url]
|
45
45
|
end
|
46
46
|
|
47
|
+
# string - Custom identity provider metadata
|
48
|
+
def saml_provider_metadata_content
|
49
|
+
@attributes[:saml_provider_metadata_content]
|
50
|
+
end
|
51
|
+
|
47
52
|
# string - Metadata URL for the SAML identity provider
|
48
53
|
def saml_provider_metadata_url
|
49
54
|
@attributes[:saml_provider_metadata_url]
|
@@ -94,6 +99,11 @@ module Files
|
|
94
99
|
@attributes[:deprovision_groups]
|
95
100
|
end
|
96
101
|
|
102
|
+
# string - Method used for deprovisioning users.
|
103
|
+
def deprovision_behavior
|
104
|
+
@attributes[:deprovision_behavior]
|
105
|
+
end
|
106
|
+
|
97
107
|
# string - Comma-separated list of group names for groups to automatically add all auto-provisioned users to.
|
98
108
|
def provision_group_default
|
99
109
|
@attributes[:provision_group_default]
|
@@ -193,14 +203,15 @@ module Files
|
|
193
203
|
# page - int64 - Current page number.
|
194
204
|
# per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
195
205
|
# action - string - Deprecated: If set to `count` returns a count of matching records rather than the records themselves.
|
206
|
+
# 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.
|
196
207
|
def self.list(params = {}, options = {})
|
197
208
|
raise InvalidParameterError.new("Bad parameter: page must be an Integer") if params.dig(:page) and !params.dig(:page).is_a?(Integer)
|
198
209
|
raise InvalidParameterError.new("Bad parameter: per_page must be an Integer") if params.dig(:per_page) and !params.dig(:per_page).is_a?(Integer)
|
199
210
|
raise InvalidParameterError.new("Bad parameter: action must be an String") if params.dig(:action) and !params.dig(:action).is_a?(String)
|
211
|
+
raise InvalidParameterError.new("Bad parameter: cursor must be an String") if params.dig(:cursor) and !params.dig(:cursor).is_a?(String)
|
200
212
|
|
201
|
-
|
202
|
-
|
203
|
-
SsoStrategy.new(entity_data, options)
|
213
|
+
List.new(SsoStrategy, params) do
|
214
|
+
Api.send_request("/sso_strategies", :get, params, options)
|
204
215
|
end
|
205
216
|
end
|
206
217
|
|
@@ -78,14 +78,15 @@ module Files
|
|
78
78
|
# page - int64 - Current page number.
|
79
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
|
+
# 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.
|
81
82
|
def self.list(params = {}, options = {})
|
82
83
|
raise InvalidParameterError.new("Bad parameter: page must be an Integer") if params.dig(:page) and !params.dig(:page).is_a?(Integer)
|
83
84
|
raise InvalidParameterError.new("Bad parameter: per_page must be an Integer") if params.dig(:per_page) and !params.dig(:per_page).is_a?(Integer)
|
84
85
|
raise InvalidParameterError.new("Bad parameter: action must be an String") if params.dig(:action) and !params.dig(:action).is_a?(String)
|
86
|
+
raise InvalidParameterError.new("Bad parameter: cursor must be an String") if params.dig(:cursor) and !params.dig(:cursor).is_a?(String)
|
85
87
|
|
86
|
-
|
87
|
-
|
88
|
-
UsageSnapshot.new(entity_data, options)
|
88
|
+
List.new(UsageSnapshot, params) do
|
89
|
+
Api.send_request("/usage_snapshots", :get, params, options)
|
89
90
|
end
|
90
91
|
end
|
91
92
|
|
@@ -44,15 +44,16 @@ module Files
|
|
44
44
|
# page - int64 - Current page number.
|
45
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
|
+
# 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.
|
47
48
|
def self.list(params = {}, options = {})
|
48
49
|
raise InvalidParameterError.new("Bad parameter: user_id must be an Integer") if params.dig(:user_id) and !params.dig(:user_id).is_a?(Integer)
|
49
50
|
raise InvalidParameterError.new("Bad parameter: page must be an Integer") if params.dig(:page) and !params.dig(:page).is_a?(Integer)
|
50
51
|
raise InvalidParameterError.new("Bad parameter: per_page must be an Integer") if params.dig(:per_page) and !params.dig(:per_page).is_a?(Integer)
|
51
52
|
raise InvalidParameterError.new("Bad parameter: action must be an String") if params.dig(:action) and !params.dig(:action).is_a?(String)
|
53
|
+
raise InvalidParameterError.new("Bad parameter: cursor must be an String") if params.dig(:cursor) and !params.dig(:cursor).is_a?(String)
|
52
54
|
|
53
|
-
|
54
|
-
|
55
|
-
UserCipherUse.new(entity_data, options)
|
55
|
+
List.new(UserCipherUse, params) do
|
56
|
+
Api.send_request("/user_cipher_uses", :get, params, options)
|
56
57
|
end
|
57
58
|
end
|
58
59
|
|
@@ -72,14 +72,15 @@ module Files
|
|
72
72
|
# page - int64 - Current page number.
|
73
73
|
# per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
74
74
|
# action - string - Deprecated: If set to `count` returns a count of matching records rather than the records themselves.
|
75
|
+
# 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.
|
75
76
|
def self.list(params = {}, options = {})
|
76
77
|
raise InvalidParameterError.new("Bad parameter: page must be an Integer") if params.dig(:page) and !params.dig(:page).is_a?(Integer)
|
77
78
|
raise InvalidParameterError.new("Bad parameter: per_page must be an Integer") if params.dig(:per_page) and !params.dig(:per_page).is_a?(Integer)
|
78
79
|
raise InvalidParameterError.new("Bad parameter: action must be an String") if params.dig(:action) and !params.dig(:action).is_a?(String)
|
80
|
+
raise InvalidParameterError.new("Bad parameter: cursor must be an String") if params.dig(:cursor) and !params.dig(:cursor).is_a?(String)
|
79
81
|
|
80
|
-
|
81
|
-
|
82
|
-
UserRequest.new(entity_data, options)
|
82
|
+
List.new(UserRequest, params) do
|
83
|
+
Api.send_request("/user_requests", :get, params, options)
|
83
84
|
end
|
84
85
|
end
|
85
86
|
|
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.109
|
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-08-
|
11
|
+
date: 2020-08-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: addressable
|
@@ -100,6 +100,7 @@ files:
|
|
100
100
|
- docs/clickwrap.md
|
101
101
|
- docs/dns_record.md
|
102
102
|
- docs/errors.md
|
103
|
+
- docs/external_event.md
|
103
104
|
- docs/file.md
|
104
105
|
- docs/file_action.md
|
105
106
|
- docs/file_comment.md
|
@@ -164,6 +165,7 @@ files:
|
|
164
165
|
- lib/files.com/models/dir.rb
|
165
166
|
- lib/files.com/models/dns_record.rb
|
166
167
|
- lib/files.com/models/errors.rb
|
168
|
+
- lib/files.com/models/external_event.rb
|
167
169
|
- lib/files.com/models/file.rb
|
168
170
|
- lib/files.com/models/file_action.rb
|
169
171
|
- lib/files.com/models/file_comment.rb
|