files.com 1.0.321 → 1.0.323
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/bundle_notification.md +1 -1
- data/docs/site.md +4 -0
- data/lib/files.com/models/bundle_notification.rb +1 -2
- data/lib/files.com/models/site.rb +7 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: daf507a32a1d778729b2708695b23ccf9dd5ea2989d72a2aa6dcca1fb0c00dea
|
4
|
+
data.tar.gz: 0ea9a7d32bd2105861f884c8af8835f58b2dbfcea378bc40a85037156e1290de
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c19e57157e7521a68ad12511a08e01e6a67c74856024835cc95b3818f3eedae649d00f4675838ed6e5275e2d7f680e44a5eee435f27d993e76c015f80a1d6d62
|
7
|
+
data.tar.gz: '08aef2249f839b79abee2639f3fc2660f71ccd41c654c07730144fbab8ab390399d95eae87dc74b84fd0996a8cd071ff37432f6bb69a462716d3e78e393eca0c'
|
data/_VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.323
|
data/docs/bundle_notification.md
CHANGED
@@ -67,7 +67,7 @@ Files::BundleNotification.create(
|
|
67
67
|
|
68
68
|
### Parameters
|
69
69
|
|
70
|
-
* `user_id` (int64):
|
70
|
+
* `user_id` (int64): The id of the user to notify.
|
71
71
|
* `notify_on_registration` (boolean): Triggers bundle notification when a registration action occurs for it.
|
72
72
|
* `notify_on_upload` (boolean): Triggers bundle notification when a upload action occurs for it.
|
73
73
|
* `bundle_id` (int64): Required - Bundle ID to notify on
|
data/docs/site.md
CHANGED
@@ -89,6 +89,7 @@
|
|
89
89
|
"next_billing_amount": 1.0,
|
90
90
|
"next_billing_date": "Apr 20",
|
91
91
|
"office_integration_available": true,
|
92
|
+
"office_integration_type": "example",
|
92
93
|
"oncehub_link": "https://go.oncehub.com/files",
|
93
94
|
"opt_out_global": true,
|
94
95
|
"overage_notified_at": "2000-01-01T01:00:00Z",
|
@@ -233,6 +234,7 @@
|
|
233
234
|
* `next_billing_amount` (double): Next billing amount
|
234
235
|
* `next_billing_date` (string): Next billing date
|
235
236
|
* `office_integration_available` (boolean): Allow users to use Office for the web?
|
237
|
+
* `office_integration_type` (string): Office integration application used to edit and view the MS Office documents
|
236
238
|
* `oncehub_link` (string): Link to scheduling a meeting with our Sales team
|
237
239
|
* `opt_out_global` (boolean): Use servers in the USA only?
|
238
240
|
* `overage_notified_at` (date-time): Last time the site was notified about an overage
|
@@ -345,6 +347,7 @@ Files::Site.update(
|
|
345
347
|
folder_permissions_groups_only: true,
|
346
348
|
welcome_screen: "user_controlled",
|
347
349
|
office_integration_available: true,
|
350
|
+
office_integration_type: "example",
|
348
351
|
pin_all_remote_servers_to_site_region: true,
|
349
352
|
motd_text: "example",
|
350
353
|
motd_use_for_ftp: true,
|
@@ -473,6 +476,7 @@ Files::Site.update(
|
|
473
476
|
* `folder_permissions_groups_only` (boolean): If true, permissions for this site must be bound to a group (not a user). Otherwise, permissions must be bound to a user.
|
474
477
|
* `welcome_screen` (string): Does the welcome screen appear?
|
475
478
|
* `office_integration_available` (boolean): Allow users to use Office for the web?
|
479
|
+
* `office_integration_type` (string): Office integration application used to edit and view the MS Office documents
|
476
480
|
* `pin_all_remote_servers_to_site_region` (boolean): If true, we will ensure that all internal communications with any remote server are made through the primary region of the site. This setting overrides individual remote server settings.
|
477
481
|
* `motd_text` (string): A message to show users when they connect via FTP or SFTP.
|
478
482
|
* `motd_use_for_ftp` (boolean): Show message to users connecting via FTP
|
@@ -127,14 +127,13 @@ module Files
|
|
127
127
|
end
|
128
128
|
|
129
129
|
# Parameters:
|
130
|
-
# user_id
|
130
|
+
# user_id - int64 - The id of the user to notify.
|
131
131
|
# notify_on_registration - boolean - Triggers bundle notification when a registration action occurs for it.
|
132
132
|
# notify_on_upload - boolean - Triggers bundle notification when a upload action occurs for it.
|
133
133
|
# bundle_id (required) - int64 - Bundle ID to notify on
|
134
134
|
def self.create(params = {}, options = {})
|
135
135
|
raise InvalidParameterError.new("Bad parameter: user_id must be an Integer") if params[:user_id] and !params[:user_id].is_a?(Integer)
|
136
136
|
raise InvalidParameterError.new("Bad parameter: bundle_id must be an Integer") if params[:bundle_id] and !params[:bundle_id].is_a?(Integer)
|
137
|
-
raise MissingParameterError.new("Parameter missing: user_id") unless params[:user_id]
|
138
137
|
raise MissingParameterError.new("Parameter missing: bundle_id") unless params[:bundle_id]
|
139
138
|
|
140
139
|
response, options = Api.send_request("/bundle_notifications", :post, params, options)
|
@@ -424,6 +424,11 @@ module Files
|
|
424
424
|
@attributes[:office_integration_available]
|
425
425
|
end
|
426
426
|
|
427
|
+
# string - Office integration application used to edit and view the MS Office documents
|
428
|
+
def office_integration_type
|
429
|
+
@attributes[:office_integration_type]
|
430
|
+
end
|
431
|
+
|
427
432
|
# string - Link to scheduling a meeting with our Sales team
|
428
433
|
def oncehub_link
|
429
434
|
@attributes[:oncehub_link]
|
@@ -753,6 +758,7 @@ module Files
|
|
753
758
|
# folder_permissions_groups_only - boolean - If true, permissions for this site must be bound to a group (not a user). Otherwise, permissions must be bound to a user.
|
754
759
|
# welcome_screen - string - Does the welcome screen appear?
|
755
760
|
# office_integration_available - boolean - Allow users to use Office for the web?
|
761
|
+
# office_integration_type - string - Office integration application used to edit and view the MS Office documents
|
756
762
|
# pin_all_remote_servers_to_site_region - boolean - If true, we will ensure that all internal communications with any remote server are made through the primary region of the site. This setting overrides individual remote server settings.
|
757
763
|
# motd_text - string - A message to show users when they connect via FTP or SFTP.
|
758
764
|
# motd_use_for_ftp - boolean - Show message to users connecting via FTP
|
@@ -873,6 +879,7 @@ module Files
|
|
873
879
|
raise InvalidParameterError.new("Bad parameter: desktop_app_session_lifetime must be an Integer") if params[:desktop_app_session_lifetime] and !params[:desktop_app_session_lifetime].is_a?(Integer)
|
874
880
|
raise InvalidParameterError.new("Bad parameter: mobile_app_session_lifetime must be an Integer") if params[:mobile_app_session_lifetime] and !params[:mobile_app_session_lifetime].is_a?(Integer)
|
875
881
|
raise InvalidParameterError.new("Bad parameter: welcome_screen must be an String") if params[:welcome_screen] and !params[:welcome_screen].is_a?(String)
|
882
|
+
raise InvalidParameterError.new("Bad parameter: office_integration_type must be an String") if params[:office_integration_type] and !params[:office_integration_type].is_a?(String)
|
876
883
|
raise InvalidParameterError.new("Bad parameter: motd_text must be an String") if params[:motd_text] and !params[:motd_text].is_a?(String)
|
877
884
|
raise InvalidParameterError.new("Bad parameter: session_expiry must be an Float") if params[:session_expiry] and !params[:session_expiry].is_a?(Float)
|
878
885
|
raise InvalidParameterError.new("Bad parameter: user_lockout_tries must be an Integer") if params[:user_lockout_tries] and !params[:user_lockout_tries].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.323
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- files.com
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-02-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: addressable
|