files.com 1.0.127 → 1.0.128
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/account_line_item.md +18 -2
- data/docs/api_key.md +1 -1
- data/docs/app.md +3 -1
- data/docs/automation.md +14 -4
- data/docs/bandwidth_snapshot.md +5 -1
- data/docs/behavior.md +2 -2
- data/docs/bundle.md +36 -2
- data/docs/bundle_download.md +5 -1
- data/docs/bundle_recipient.md +7 -0
- data/docs/bundle_registration.md +23 -0
- data/docs/external_event.md +1 -1
- data/docs/file.md +7 -1
- data/docs/file_action.md +13 -0
- data/docs/file_comment.md +4 -1
- data/docs/folder.md +7 -1
- data/docs/form_field.md +29 -0
- data/docs/form_field_set.md +154 -0
- data/docs/group.md +13 -7
- data/docs/group_user.md +1 -1
- data/docs/history.md +1 -1
- data/docs/inbox_registration.md +21 -0
- data/docs/inbox_upload.md +35 -0
- data/docs/invoice.md +18 -2
- data/docs/ip_address.md +1 -1
- data/docs/message.md +10 -1
- data/docs/message_comment.md +4 -1
- data/docs/notification.md +1 -1
- data/docs/payment.md +18 -2
- data/docs/permission.md +1 -1
- data/docs/remote_server.md +0 -55
- data/docs/request.md +2 -2
- data/docs/settings_change.md +1 -1
- data/docs/site.md +91 -7
- data/docs/sso_strategy.md +1 -1
- data/docs/status.md +7 -0
- data/docs/style.md +1 -1
- data/docs/usage_daily_snapshot.md +1 -1
- data/docs/user.md +8 -8
- data/lib/files.com.rb +5 -0
- data/lib/files.com/models/api_key.rb +1 -1
- data/lib/files.com/models/automation.rb +10 -1
- data/lib/files.com/models/bandwidth_snapshot.rb +11 -1
- data/lib/files.com/models/behavior.rb +2 -2
- data/lib/files.com/models/bundle.rb +25 -1
- data/lib/files.com/models/bundle_download.rb +7 -2
- data/lib/files.com/models/bundle_recipient.rb +14 -0
- data/lib/files.com/models/bundle_registration.rb +47 -0
- data/lib/files.com/models/external_event.rb +1 -1
- data/lib/files.com/models/file_action.rb +14 -4
- data/lib/files.com/models/form_field.rb +52 -0
- data/lib/files.com/models/form_field_set.rb +171 -0
- data/lib/files.com/models/group.rb +1 -1
- data/lib/files.com/models/history.rb +1 -1
- data/lib/files.com/models/inbox_registration.rb +42 -0
- data/lib/files.com/models/inbox_upload.rb +46 -0
- data/lib/files.com/models/notification.rb +1 -1
- data/lib/files.com/models/permission.rb +1 -1
- data/lib/files.com/models/remote_server.rb +0 -82
- data/lib/files.com/models/request.rb +2 -2
- data/lib/files.com/models/settings_change.rb +1 -1
- data/lib/files.com/models/usage_daily_snapshot.rb +1 -1
- data/lib/files.com/models/user.rb +7 -7
- metadata +12 -2
@@ -515,88 +515,6 @@ module Files
|
|
515
515
|
find(id, params, options)
|
516
516
|
end
|
517
517
|
|
518
|
-
# Parameters:
|
519
|
-
# remote_server_id - int64 - RemoteServer ID
|
520
|
-
# root - string - Remote path to list
|
521
|
-
# aws_access_key - string - AWS Access Key.
|
522
|
-
# aws_secret_key - string - AWS secret key.
|
523
|
-
# password - string - Password if needed.
|
524
|
-
# private_key - string - Private key if needed.
|
525
|
-
# ssl_certificate - string - SSL client certificate.
|
526
|
-
# google_cloud_storage_credentials_json - string - A JSON file that contains the private key. To generate see https://cloud.google.com/storage/docs/json_api/v1/how-tos/authorizing#APIKey
|
527
|
-
# wasabi_access_key - string - Wasabi access key.
|
528
|
-
# wasabi_secret_key - string - Wasabi secret key.
|
529
|
-
# backblaze_b2_key_id - string - Backblaze B2 Cloud Storage keyID.
|
530
|
-
# backblaze_b2_application_key - string - Backblaze B2 Cloud Storage applicationKey.
|
531
|
-
# rackspace_api_key - string - Rackspace API key from the Rackspace Cloud Control Panel.
|
532
|
-
# reset_authentication - boolean - Reset authenticated account
|
533
|
-
# azure_blob_storage_access_key - string - Azure Blob Storage secret key.
|
534
|
-
# hostname - string
|
535
|
-
# name - string
|
536
|
-
# max_connections - int64
|
537
|
-
# port - int64
|
538
|
-
# s3_bucket - string
|
539
|
-
# s3_region - string
|
540
|
-
# server_certificate - string
|
541
|
-
# server_host_key - string
|
542
|
-
# server_type - string
|
543
|
-
# ssl - string
|
544
|
-
# username - string
|
545
|
-
# google_cloud_storage_bucket - string
|
546
|
-
# google_cloud_storage_project_id - string
|
547
|
-
# backblaze_b2_bucket - string
|
548
|
-
# backblaze_b2_s3_endpoint - string
|
549
|
-
# wasabi_bucket - string
|
550
|
-
# wasabi_region - string
|
551
|
-
# rackspace_username - string
|
552
|
-
# rackspace_region - string
|
553
|
-
# rackspace_container - string
|
554
|
-
# one_drive_account_type - string
|
555
|
-
# azure_blob_storage_account - string
|
556
|
-
# azure_blob_storage_container - string
|
557
|
-
def self.list_for_testing(params = {}, options = {})
|
558
|
-
raise InvalidParameterError.new("Bad parameter: remote_server_id must be an Integer") if params.dig(:remote_server_id) and !params.dig(:remote_server_id).is_a?(Integer)
|
559
|
-
raise InvalidParameterError.new("Bad parameter: root must be an String") if params.dig(:root) and !params.dig(:root).is_a?(String)
|
560
|
-
raise InvalidParameterError.new("Bad parameter: aws_access_key must be an String") if params.dig(:aws_access_key) and !params.dig(:aws_access_key).is_a?(String)
|
561
|
-
raise InvalidParameterError.new("Bad parameter: aws_secret_key must be an String") if params.dig(:aws_secret_key) and !params.dig(:aws_secret_key).is_a?(String)
|
562
|
-
raise InvalidParameterError.new("Bad parameter: password must be an String") if params.dig(:password) and !params.dig(:password).is_a?(String)
|
563
|
-
raise InvalidParameterError.new("Bad parameter: private_key must be an String") if params.dig(:private_key) and !params.dig(:private_key).is_a?(String)
|
564
|
-
raise InvalidParameterError.new("Bad parameter: ssl_certificate must be an String") if params.dig(:ssl_certificate) and !params.dig(:ssl_certificate).is_a?(String)
|
565
|
-
raise InvalidParameterError.new("Bad parameter: google_cloud_storage_credentials_json must be an String") if params.dig(:google_cloud_storage_credentials_json) and !params.dig(:google_cloud_storage_credentials_json).is_a?(String)
|
566
|
-
raise InvalidParameterError.new("Bad parameter: wasabi_access_key must be an String") if params.dig(:wasabi_access_key) and !params.dig(:wasabi_access_key).is_a?(String)
|
567
|
-
raise InvalidParameterError.new("Bad parameter: wasabi_secret_key must be an String") if params.dig(:wasabi_secret_key) and !params.dig(:wasabi_secret_key).is_a?(String)
|
568
|
-
raise InvalidParameterError.new("Bad parameter: backblaze_b2_key_id must be an String") if params.dig(:backblaze_b2_key_id) and !params.dig(:backblaze_b2_key_id).is_a?(String)
|
569
|
-
raise InvalidParameterError.new("Bad parameter: backblaze_b2_application_key must be an String") if params.dig(:backblaze_b2_application_key) and !params.dig(:backblaze_b2_application_key).is_a?(String)
|
570
|
-
raise InvalidParameterError.new("Bad parameter: rackspace_api_key must be an String") if params.dig(:rackspace_api_key) and !params.dig(:rackspace_api_key).is_a?(String)
|
571
|
-
raise InvalidParameterError.new("Bad parameter: azure_blob_storage_access_key must be an String") if params.dig(:azure_blob_storage_access_key) and !params.dig(:azure_blob_storage_access_key).is_a?(String)
|
572
|
-
raise InvalidParameterError.new("Bad parameter: hostname must be an String") if params.dig(:hostname) and !params.dig(:hostname).is_a?(String)
|
573
|
-
raise InvalidParameterError.new("Bad parameter: name must be an String") if params.dig(:name) and !params.dig(:name).is_a?(String)
|
574
|
-
raise InvalidParameterError.new("Bad parameter: max_connections must be an Integer") if params.dig(:max_connections) and !params.dig(:max_connections).is_a?(Integer)
|
575
|
-
raise InvalidParameterError.new("Bad parameter: port must be an Integer") if params.dig(:port) and !params.dig(:port).is_a?(Integer)
|
576
|
-
raise InvalidParameterError.new("Bad parameter: s3_bucket must be an String") if params.dig(:s3_bucket) and !params.dig(:s3_bucket).is_a?(String)
|
577
|
-
raise InvalidParameterError.new("Bad parameter: s3_region must be an String") if params.dig(:s3_region) and !params.dig(:s3_region).is_a?(String)
|
578
|
-
raise InvalidParameterError.new("Bad parameter: server_certificate must be an String") if params.dig(:server_certificate) and !params.dig(:server_certificate).is_a?(String)
|
579
|
-
raise InvalidParameterError.new("Bad parameter: server_host_key must be an String") if params.dig(:server_host_key) and !params.dig(:server_host_key).is_a?(String)
|
580
|
-
raise InvalidParameterError.new("Bad parameter: server_type must be an String") if params.dig(:server_type) and !params.dig(:server_type).is_a?(String)
|
581
|
-
raise InvalidParameterError.new("Bad parameter: ssl must be an String") if params.dig(:ssl) and !params.dig(:ssl).is_a?(String)
|
582
|
-
raise InvalidParameterError.new("Bad parameter: username must be an String") if params.dig(:username) and !params.dig(:username).is_a?(String)
|
583
|
-
raise InvalidParameterError.new("Bad parameter: google_cloud_storage_bucket must be an String") if params.dig(:google_cloud_storage_bucket) and !params.dig(:google_cloud_storage_bucket).is_a?(String)
|
584
|
-
raise InvalidParameterError.new("Bad parameter: google_cloud_storage_project_id must be an String") if params.dig(:google_cloud_storage_project_id) and !params.dig(:google_cloud_storage_project_id).is_a?(String)
|
585
|
-
raise InvalidParameterError.new("Bad parameter: backblaze_b2_bucket must be an String") if params.dig(:backblaze_b2_bucket) and !params.dig(:backblaze_b2_bucket).is_a?(String)
|
586
|
-
raise InvalidParameterError.new("Bad parameter: backblaze_b2_s3_endpoint must be an String") if params.dig(:backblaze_b2_s3_endpoint) and !params.dig(:backblaze_b2_s3_endpoint).is_a?(String)
|
587
|
-
raise InvalidParameterError.new("Bad parameter: wasabi_bucket must be an String") if params.dig(:wasabi_bucket) and !params.dig(:wasabi_bucket).is_a?(String)
|
588
|
-
raise InvalidParameterError.new("Bad parameter: wasabi_region must be an String") if params.dig(:wasabi_region) and !params.dig(:wasabi_region).is_a?(String)
|
589
|
-
raise InvalidParameterError.new("Bad parameter: rackspace_username must be an String") if params.dig(:rackspace_username) and !params.dig(:rackspace_username).is_a?(String)
|
590
|
-
raise InvalidParameterError.new("Bad parameter: rackspace_region must be an String") if params.dig(:rackspace_region) and !params.dig(:rackspace_region).is_a?(String)
|
591
|
-
raise InvalidParameterError.new("Bad parameter: rackspace_container must be an String") if params.dig(:rackspace_container) and !params.dig(:rackspace_container).is_a?(String)
|
592
|
-
raise InvalidParameterError.new("Bad parameter: one_drive_account_type must be an String") if params.dig(:one_drive_account_type) and !params.dig(:one_drive_account_type).is_a?(String)
|
593
|
-
raise InvalidParameterError.new("Bad parameter: azure_blob_storage_account must be an String") if params.dig(:azure_blob_storage_account) and !params.dig(:azure_blob_storage_account).is_a?(String)
|
594
|
-
raise InvalidParameterError.new("Bad parameter: azure_blob_storage_container must be an String") if params.dig(:azure_blob_storage_container) and !params.dig(:azure_blob_storage_container).is_a?(String)
|
595
|
-
|
596
|
-
response, options = Api.send_request("/remote_servers/list_for_testing", :get, params, options)
|
597
|
-
File.new(response.data, options)
|
598
|
-
end
|
599
|
-
|
600
518
|
# Parameters:
|
601
519
|
# aws_access_key - string - AWS Access Key.
|
602
520
|
# aws_secret_key - string - AWS secret key.
|
@@ -107,7 +107,7 @@ module Files
|
|
107
107
|
# Parameters:
|
108
108
|
# cursor - string - Used for pagination. Send a cursor value 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.
|
109
109
|
# per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
110
|
-
# 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 `
|
110
|
+
# 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 `destination`.
|
111
111
|
# mine - boolean - Only show requests of the current user? (Defaults to true if current user is not a site admin.)
|
112
112
|
# path - string - Path to show requests for. If omitted, shows all paths. Send `/` to represent the root directory.
|
113
113
|
def self.list(params = {}, options = {})
|
@@ -128,7 +128,7 @@ module Files
|
|
128
128
|
# Parameters:
|
129
129
|
# cursor - string - Used for pagination. Send a cursor value 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
130
|
# per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
131
|
-
# 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 `
|
131
|
+
# 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 `destination`.
|
132
132
|
# mine - boolean - Only show requests of the current user? (Defaults to true if current user is not a site admin.)
|
133
133
|
# path (required) - string - Path to show requests for. If omitted, shows all paths. Send `/` to represent the root directory.
|
134
134
|
def self.get_folder(path, params = {}, options = {})
|
@@ -27,7 +27,7 @@ module Files
|
|
27
27
|
# Parameters:
|
28
28
|
# cursor - string - Used for pagination. Send a cursor value 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.
|
29
29
|
# per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
30
|
-
# 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 `
|
30
|
+
# 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 `api_key_id`, `created_at` or `user_id`.
|
31
31
|
# filter - object - If set, return records where the specifiied field is equal to the supplied value. Valid fields are `api_key_id` and `user_id`.
|
32
32
|
# filter_gt - object - If set, return records where the specifiied field is greater than the supplied value. Valid fields are `api_key_id` and `user_id`.
|
33
33
|
# filter_gteq - object - If set, return records where the specifiied field is greater than or equal to the supplied value. Valid fields are `api_key_id` and `user_id`.
|
@@ -32,7 +32,7 @@ module Files
|
|
32
32
|
# Parameters:
|
33
33
|
# cursor - string - Used for pagination. Send a cursor value 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.
|
34
34
|
# per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
35
|
-
# 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 `
|
35
|
+
# 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 `date` and `usage_snapshot_id`.
|
36
36
|
# filter - object - If set, return records where the specifiied field is equal to the supplied value. Valid fields are `date` and `usage_snapshot_id`.
|
37
37
|
# filter_gt - object - If set, return records where the specifiied field is greater than the supplied value. Valid fields are `date` and `usage_snapshot_id`.
|
38
38
|
# filter_gteq - object - If set, return records where the specifiied field is greater than or equal to the supplied value. Valid fields are `date` and `usage_snapshot_id`.
|
@@ -646,13 +646,13 @@ module Files
|
|
646
646
|
# Parameters:
|
647
647
|
# cursor - string - Used for pagination. Send a cursor value 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.
|
648
648
|
# per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
649
|
-
# 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 `
|
650
|
-
# filter - object - If set, return records where the specifiied field is equal to the supplied value. Valid fields are `username`, `email`, `company`, `
|
651
|
-
# filter_gt - object - If set, return records where the specifiied field is greater than the supplied value. Valid fields are `username`, `email`, `company`, `
|
652
|
-
# 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`, `
|
653
|
-
# filter_like - object - If set, return records where the specifiied field is equal to the supplied value. Valid fields are `username`, `email`, `company`, `
|
654
|
-
# filter_lt - object - If set, return records where the specifiied field is less than the supplied value. Valid fields are `username`, `email`, `company`, `
|
655
|
-
# 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`, `
|
649
|
+
# 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 `authenticate_until`, `email`, `last_desktop_login_at`, `last_login_at`, `username`, `company`, `name`, `site_admin`, `receive_admin_alerts`, `password_validity_days`, `ssl_required` or `not_site_admin`.
|
650
|
+
# filter - object - If set, return records where the specifiied field is equal to the supplied value. Valid fields are `username`, `email`, `company`, `site_admin`, `password_validity_days`, `ssl_required`, `last_login_at`, `authenticate_until` or `not_site_admin`.
|
651
|
+
# filter_gt - object - If set, return records where the specifiied field is greater than the supplied value. Valid fields are `username`, `email`, `company`, `site_admin`, `password_validity_days`, `ssl_required`, `last_login_at`, `authenticate_until` or `not_site_admin`.
|
652
|
+
# 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`, `site_admin`, `password_validity_days`, `ssl_required`, `last_login_at`, `authenticate_until` or `not_site_admin`.
|
653
|
+
# filter_like - object - If set, return records where the specifiied field is equal to the supplied value. Valid fields are `username`, `email`, `company`, `site_admin`, `password_validity_days`, `ssl_required`, `last_login_at`, `authenticate_until` or `not_site_admin`.
|
654
|
+
# filter_lt - object - If set, return records where the specifiied field is less than the supplied value. Valid fields are `username`, `email`, `company`, `site_admin`, `password_validity_days`, `ssl_required`, `last_login_at`, `authenticate_until` or `not_site_admin`.
|
655
|
+
# 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`, `site_admin`, `password_validity_days`, `ssl_required`, `last_login_at`, `authenticate_until` or `not_site_admin`.
|
656
656
|
# ids - string - comma-separated list of User IDs
|
657
657
|
# q[username] - string - List users matching username.
|
658
658
|
# q[email] - string - List users matching email.
|
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.128
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- files.com
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-01-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: addressable
|
@@ -97,6 +97,7 @@ files:
|
|
97
97
|
- docs/bundle.md
|
98
98
|
- docs/bundle_download.md
|
99
99
|
- docs/bundle_recipient.md
|
100
|
+
- docs/bundle_registration.md
|
100
101
|
- docs/clickwrap.md
|
101
102
|
- docs/dns_record.md
|
102
103
|
- docs/errors.md
|
@@ -108,12 +109,16 @@ files:
|
|
108
109
|
- docs/file_upload_part.md
|
109
110
|
- docs/file_utils.md
|
110
111
|
- docs/folder.md
|
112
|
+
- docs/form_field.md
|
113
|
+
- docs/form_field_set.md
|
111
114
|
- docs/group.md
|
112
115
|
- docs/group_user.md
|
113
116
|
- docs/history.md
|
114
117
|
- docs/history_export.md
|
115
118
|
- docs/history_export_result.md
|
116
119
|
- docs/image.md
|
120
|
+
- docs/inbox_registration.md
|
121
|
+
- docs/inbox_upload.md
|
117
122
|
- docs/invoice.md
|
118
123
|
- docs/invoice_line_item.md
|
119
124
|
- docs/ip_address.md
|
@@ -161,6 +166,7 @@ files:
|
|
161
166
|
- lib/files.com/models/bundle.rb
|
162
167
|
- lib/files.com/models/bundle_download.rb
|
163
168
|
- lib/files.com/models/bundle_recipient.rb
|
169
|
+
- lib/files.com/models/bundle_registration.rb
|
164
170
|
- lib/files.com/models/clickwrap.rb
|
165
171
|
- lib/files.com/models/dir.rb
|
166
172
|
- lib/files.com/models/dns_record.rb
|
@@ -173,12 +179,16 @@ files:
|
|
173
179
|
- lib/files.com/models/file_upload_part.rb
|
174
180
|
- lib/files.com/models/file_utils.rb
|
175
181
|
- lib/files.com/models/folder.rb
|
182
|
+
- lib/files.com/models/form_field.rb
|
183
|
+
- lib/files.com/models/form_field_set.rb
|
176
184
|
- lib/files.com/models/group.rb
|
177
185
|
- lib/files.com/models/group_user.rb
|
178
186
|
- lib/files.com/models/history.rb
|
179
187
|
- lib/files.com/models/history_export.rb
|
180
188
|
- lib/files.com/models/history_export_result.rb
|
181
189
|
- lib/files.com/models/image.rb
|
190
|
+
- lib/files.com/models/inbox_registration.rb
|
191
|
+
- lib/files.com/models/inbox_upload.rb
|
182
192
|
- lib/files.com/models/invoice.rb
|
183
193
|
- lib/files.com/models/invoice_line_item.rb
|
184
194
|
- lib/files.com/models/ip_address.rb
|