files.com 1.0.160 → 1.0.165
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/bundle.md +8 -0
- data/docs/bundle_registration.md +2 -0
- data/docs/inbox_registration.md +2 -0
- data/docs/remote_server.md +8 -0
- data/docs/site.md +4 -0
- data/docs/sso_strategy.md +2 -0
- data/lib/files.com/models/bundle.rb +12 -0
- data/lib/files.com/models/bundle_registration.rb +5 -0
- data/lib/files.com/models/inbox_registration.rb +5 -0
- data/lib/files.com/models/remote_server.rb +15 -0
- data/lib/files.com/models/site.rb +6 -0
- data/lib/files.com/models/sso_strategy.rb +5 -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: c9350f36797b0bc7ca4c6fc2dd447894b553a9cae68e70a4fb92a30570cf6b3f
|
4
|
+
data.tar.gz: 4f089306618eb38a0b7f61c8fa3c9f4c208367b6de2eb38b56da3b179a4d9177
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 241d2f530464f1db9d84b3fb44326e6bd90ef8c4a665cbe0f10bdd6b1e8bd82c2c56f21cb4f2e180f8c15704a56187c26516bf01bb8f7f21f1017831b0effa8d
|
7
|
+
data.tar.gz: cb367ab00c17afdef4246d9f2a7dcc89453a5ea1b4b56c20824cfbc38d41ebcc51d006f4cef28cacd804d24168553c25dbf148302ef33c764f3a96bdc601d9cd
|
data/_VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.165
|
data/docs/bundle.md
CHANGED
@@ -8,6 +8,7 @@
|
|
8
8
|
"url": "https://subdomain.files.com/f/12345678",
|
9
9
|
"description": "The public description of the bundle.",
|
10
10
|
"password_protected": true,
|
11
|
+
"preview_only": true,
|
11
12
|
"require_registration": true,
|
12
13
|
"require_share_recipient": true,
|
13
14
|
"clickwrap_body": "[Legal text]",
|
@@ -58,6 +59,7 @@
|
|
58
59
|
* `url` (string): Public URL of Share Link
|
59
60
|
* `description` (string): Public description
|
60
61
|
* `password_protected` (boolean): Is this bundle password protected?
|
62
|
+
* `preview_only` (boolean): Restrict users to previewing files only?
|
61
63
|
* `require_registration` (boolean): Show a registration page that captures the downloader's name and email address?
|
62
64
|
* `require_share_recipient` (boolean): Only allow access to recipients who have explicitly received the share via an email sent through the Files.com UI?
|
63
65
|
* `clickwrap_body` (string): Legal text that must be agreed to prior to accessing Bundle.
|
@@ -130,6 +132,7 @@ Files::Bundle.create(
|
|
130
132
|
description: "The public description of the bundle.",
|
131
133
|
note: "The internal note on the bundle.",
|
132
134
|
code: "abc123",
|
135
|
+
preview_only: true,
|
133
136
|
require_registration: true,
|
134
137
|
clickwrap_id: 1,
|
135
138
|
inbox_id: 1,
|
@@ -148,6 +151,7 @@ Files::Bundle.create(
|
|
148
151
|
* `description` (string): Public description
|
149
152
|
* `note` (string): Bundle internal note
|
150
153
|
* `code` (string): Bundle code. This code forms the end part of the Public URL.
|
154
|
+
* `preview_only` (boolean): Restrict users to previewing files only?
|
151
155
|
* `require_registration` (boolean): Show a registration page that captures the downloader's name and email address?
|
152
156
|
* `clickwrap_id` (int64): ID of the clickwrap to use with this bundle.
|
153
157
|
* `inbox_id` (int64): ID of the associated inbox, if available.
|
@@ -190,6 +194,7 @@ Files::Bundle.update(id,
|
|
190
194
|
inbox_id: 1,
|
191
195
|
max_uses: 1,
|
192
196
|
note: "The internal note on the bundle.",
|
197
|
+
preview_only: true,
|
193
198
|
require_registration: true,
|
194
199
|
require_share_recipient: true
|
195
200
|
)
|
@@ -208,6 +213,7 @@ Files::Bundle.update(id,
|
|
208
213
|
* `inbox_id` (int64): ID of the associated inbox, if available.
|
209
214
|
* `max_uses` (int64): Maximum number of times bundle can be accessed
|
210
215
|
* `note` (string): Bundle internal note
|
216
|
+
* `preview_only` (boolean): Restrict users to previewing files only?
|
211
217
|
* `require_registration` (boolean): Show a registration page that captures the downloader's name and email address?
|
212
218
|
* `require_share_recipient` (boolean): Only allow access to recipients who have explicitly received the share via an email sent through the Files.com UI?
|
213
219
|
|
@@ -265,6 +271,7 @@ bundle.update(
|
|
265
271
|
inbox_id: 1,
|
266
272
|
max_uses: 1,
|
267
273
|
note: "The internal note on the bundle.",
|
274
|
+
preview_only: true,
|
268
275
|
require_registration: true,
|
269
276
|
require_share_recipient: true
|
270
277
|
)
|
@@ -283,6 +290,7 @@ bundle.update(
|
|
283
290
|
* `inbox_id` (int64): ID of the associated inbox, if available.
|
284
291
|
* `max_uses` (int64): Maximum number of times bundle can be accessed
|
285
292
|
* `note` (string): Bundle internal note
|
293
|
+
* `preview_only` (boolean): Restrict users to previewing files only?
|
286
294
|
* `require_registration` (boolean): Show a registration page that captures the downloader's name and email address?
|
287
295
|
* `require_share_recipient` (boolean): Only allow access to recipients who have explicitly received the share via an email sent through the Files.com UI?
|
288
296
|
|
data/docs/bundle_registration.md
CHANGED
@@ -9,6 +9,7 @@
|
|
9
9
|
"company": "Action Verb",
|
10
10
|
"email": "john.doe@files.com",
|
11
11
|
"inbox_code": "abc123",
|
12
|
+
"clickwrap_body": "",
|
12
13
|
"form_field_set_id": 1,
|
13
14
|
"form_field_data": ""
|
14
15
|
}
|
@@ -19,6 +20,7 @@
|
|
19
20
|
* `company` (string): Registrant company name
|
20
21
|
* `email` (string): Registrant email address
|
21
22
|
* `inbox_code` (string): InboxRegistration cookie code, if there is an associated InboxRegistration
|
23
|
+
* `clickwrap_body` (string): Clickwrap text that was shown to the registrant
|
22
24
|
* `form_field_set_id` (int64): Id of associated form field set
|
23
25
|
* `form_field_data` (string): Data for form field set with form field ids as keys and user data as values
|
24
26
|
|
data/docs/inbox_registration.md
CHANGED
@@ -8,6 +8,7 @@
|
|
8
8
|
"name": "account",
|
9
9
|
"company": "Action Verb",
|
10
10
|
"email": "john.doe@files.com",
|
11
|
+
"clickwrap_body": "",
|
11
12
|
"form_field_set_id": 1,
|
12
13
|
"form_field_data": ""
|
13
14
|
}
|
@@ -17,6 +18,7 @@
|
|
17
18
|
* `name` (string): Registrant name
|
18
19
|
* `company` (string): Registrant company name
|
19
20
|
* `email` (string): Registrant email address
|
21
|
+
* `clickwrap_body` (string): Clickwrap text that was shown to the registrant
|
20
22
|
* `form_field_set_id` (int64): Id of associated form field set
|
21
23
|
* `form_field_data` (string): Data for form field set with form field ids as keys and user data as values
|
22
24
|
|
data/docs/remote_server.md
CHANGED
@@ -31,6 +31,7 @@
|
|
31
31
|
"auth_status": "in_setup",
|
32
32
|
"auth_account_name": "me@example.com",
|
33
33
|
"one_drive_account_type": "personal",
|
34
|
+
"sharepoint_hostname": "filescom.sharepoint.com",
|
34
35
|
"azure_blob_storage_account": "storage-account-name",
|
35
36
|
"azure_blob_storage_container": "container-name"
|
36
37
|
}
|
@@ -63,6 +64,7 @@
|
|
63
64
|
* `auth_status` (string): Either `in_setup` or `complete`
|
64
65
|
* `auth_account_name` (string): Describes the authorized account
|
65
66
|
* `one_drive_account_type` (string): Either personal or business_other account types
|
67
|
+
* `sharepoint_hostname` (string): Cloud hosted sharepoint hostname
|
66
68
|
* `azure_blob_storage_account` (string): Azure Blob Storage Account name
|
67
69
|
* `azure_blob_storage_container` (string): Azure Blob Storage Container name
|
68
70
|
* `aws_access_key` (string): AWS Access Key.
|
@@ -137,6 +139,7 @@ Files::RemoteServer.create(
|
|
137
139
|
rackspace_region: "dfw",
|
138
140
|
rackspace_container: "my-container",
|
139
141
|
one_drive_account_type: "personal",
|
142
|
+
sharepoint_hostname: "filescom.sharepoint.com",
|
140
143
|
azure_blob_storage_account: "storage-account-name",
|
141
144
|
azure_blob_storage_container: "container-name"
|
142
145
|
)
|
@@ -178,6 +181,7 @@ Files::RemoteServer.create(
|
|
178
181
|
* `rackspace_region` (string): Three letter airport code for Rackspace region. See https://support.rackspace.com/how-to/about-regions/
|
179
182
|
* `rackspace_container` (string): The name of the container (top level directory) where files will sync.
|
180
183
|
* `one_drive_account_type` (string): Either personal or business_other account types
|
184
|
+
* `sharepoint_hostname` (string): Cloud hosted sharepoint hostname
|
181
185
|
* `azure_blob_storage_account` (string): Azure Blob Storage Account name
|
182
186
|
* `azure_blob_storage_container` (string): Azure Blob Storage Container name
|
183
187
|
|
@@ -210,6 +214,7 @@ Files::RemoteServer.update(id,
|
|
210
214
|
rackspace_region: "dfw",
|
211
215
|
rackspace_container: "my-container",
|
212
216
|
one_drive_account_type: "personal",
|
217
|
+
sharepoint_hostname: "filescom.sharepoint.com",
|
213
218
|
azure_blob_storage_account: "storage-account-name",
|
214
219
|
azure_blob_storage_container: "container-name"
|
215
220
|
)
|
@@ -252,6 +257,7 @@ Files::RemoteServer.update(id,
|
|
252
257
|
* `rackspace_region` (string): Three letter airport code for Rackspace region. See https://support.rackspace.com/how-to/about-regions/
|
253
258
|
* `rackspace_container` (string): The name of the container (top level directory) where files will sync.
|
254
259
|
* `one_drive_account_type` (string): Either personal or business_other account types
|
260
|
+
* `sharepoint_hostname` (string): Cloud hosted sharepoint hostname
|
255
261
|
* `azure_blob_storage_account` (string): Azure Blob Storage Account name
|
256
262
|
* `azure_blob_storage_container` (string): Azure Blob Storage Container name
|
257
263
|
|
@@ -299,6 +305,7 @@ remote_server.update(
|
|
299
305
|
rackspace_region: "dfw",
|
300
306
|
rackspace_container: "my-container",
|
301
307
|
one_drive_account_type: "personal",
|
308
|
+
sharepoint_hostname: "filescom.sharepoint.com",
|
302
309
|
azure_blob_storage_account: "storage-account-name",
|
303
310
|
azure_blob_storage_container: "container-name"
|
304
311
|
)
|
@@ -341,6 +348,7 @@ remote_server.update(
|
|
341
348
|
* `rackspace_region` (string): Three letter airport code for Rackspace region. See https://support.rackspace.com/how-to/about-regions/
|
342
349
|
* `rackspace_container` (string): The name of the container (top level directory) where files will sync.
|
343
350
|
* `one_drive_account_type` (string): Either personal or business_other account types
|
351
|
+
* `sharepoint_hostname` (string): Cloud hosted sharepoint hostname
|
344
352
|
* `azure_blob_storage_account` (string): Azure Blob Storage Account name
|
345
353
|
* `azure_blob_storage_container` (string): Azure Blob Storage Container name
|
346
354
|
|
data/docs/site.md
CHANGED
@@ -16,6 +16,7 @@
|
|
16
16
|
"ask_about_overwrites": true,
|
17
17
|
"bundle_expiration": 1,
|
18
18
|
"bundle_password_required": true,
|
19
|
+
"bundle_require_share_recipient": true,
|
19
20
|
"color2_left": "#0066a7",
|
20
21
|
"color2_link": "#d34f5d",
|
21
22
|
"color2_text": "#0066a7",
|
@@ -216,6 +217,7 @@
|
|
216
217
|
* `ask_about_overwrites` (boolean): If false, rename conflicting files instead of asking for overwrite confirmation. Only applies to web interface.
|
217
218
|
* `bundle_expiration` (int64): Site-wide Bundle expiration in days
|
218
219
|
* `bundle_password_required` (boolean): Do Bundles require password protection?
|
220
|
+
* `bundle_require_share_recipient` (boolean): Do Bundles require recipients for sharing?
|
219
221
|
* `color2_left` (string): Page link and button color
|
220
222
|
* `color2_link` (string): Top bar link color
|
221
223
|
* `color2_text` (string): Page link and button color
|
@@ -388,6 +390,7 @@ Files::Site.update(
|
|
388
390
|
immutable_files: true,
|
389
391
|
session_pinned_by_ip: true,
|
390
392
|
bundle_password_required: true,
|
393
|
+
bundle_require_share_recipient: true,
|
391
394
|
password_requirements_apply_to_bundles: true,
|
392
395
|
opt_out_global: true,
|
393
396
|
use_provided_modified_at: true,
|
@@ -484,6 +487,7 @@ Files::Site.update(
|
|
484
487
|
* `immutable_files` (boolean): Are files protected from modification?
|
485
488
|
* `session_pinned_by_ip` (boolean): Are sessions locked to the same IP? (i.e. do users need to log in again if they change IPs?)
|
486
489
|
* `bundle_password_required` (boolean): Do Bundles require password protection?
|
490
|
+
* `bundle_require_share_recipient` (boolean): Do Bundles require recipients for sharing?
|
487
491
|
* `password_requirements_apply_to_bundles` (boolean): Require bundles' passwords, and passwords for other items (inboxes, public shares, etc.) to conform to the same requirements as users' passwords?
|
488
492
|
* `opt_out_global` (boolean): Use servers in the USA only?
|
489
493
|
* `use_provided_modified_at` (boolean): Allow uploaders to set `provided_modified_at` for uploaded files?
|
data/docs/sso_strategy.md
CHANGED
@@ -29,6 +29,7 @@
|
|
29
29
|
"provision_group_exclusion": "Employees",
|
30
30
|
"provision_group_inclusion": "Employees",
|
31
31
|
"provision_group_required": "",
|
32
|
+
"provision_email_signup_groups": "Employees",
|
32
33
|
"provision_site_admin_groups": "Employees",
|
33
34
|
"provision_attachments_permission": true,
|
34
35
|
"provision_dav_permission": true,
|
@@ -74,6 +75,7 @@
|
|
74
75
|
* `provision_group_exclusion` (string): Comma-separated list of group names for groups (with optional wildcards) that will be excluded from auto-provisioning.
|
75
76
|
* `provision_group_inclusion` (string): Comma-separated list of group names for groups (with optional wildcards) that will be auto-provisioned.
|
76
77
|
* `provision_group_required` (string): Comma or newline separated list of group names (with optional wildcards) to require membership for user provisioning.
|
78
|
+
* `provision_email_signup_groups` (string): Comma-separated list of group names whose members will be created with email_signup authentication.
|
77
79
|
* `provision_site_admin_groups` (string): Comma-separated list of group names whose members will be created as Site Admins.
|
78
80
|
* `provision_attachments_permission` (boolean): DEPRECATED: Auto-provisioned users get Sharing permission. Use a Group with the Bundle permission instead.
|
79
81
|
* `provision_dav_permission` (boolean): Auto-provisioned users get WebDAV permission?
|
@@ -45,6 +45,15 @@ module Files
|
|
45
45
|
@attributes[:password_protected] = value
|
46
46
|
end
|
47
47
|
|
48
|
+
# boolean - Restrict users to previewing files only?
|
49
|
+
def preview_only
|
50
|
+
@attributes[:preview_only]
|
51
|
+
end
|
52
|
+
|
53
|
+
def preview_only=(value)
|
54
|
+
@attributes[:preview_only] = value
|
55
|
+
end
|
56
|
+
|
48
57
|
# boolean - Show a registration page that captures the downloader's name and email address?
|
49
58
|
def require_registration
|
50
59
|
@attributes[:require_registration]
|
@@ -224,6 +233,7 @@ module Files
|
|
224
233
|
# inbox_id - int64 - ID of the associated inbox, if available.
|
225
234
|
# max_uses - int64 - Maximum number of times bundle can be accessed
|
226
235
|
# note - string - Bundle internal note
|
236
|
+
# preview_only - boolean - Restrict users to previewing files only?
|
227
237
|
# require_registration - boolean - Show a registration page that captures the downloader's name and email address?
|
228
238
|
# require_share_recipient - boolean - Only allow access to recipients who have explicitly received the share via an email sent through the Files.com UI?
|
229
239
|
def update(params = {})
|
@@ -327,6 +337,7 @@ module Files
|
|
327
337
|
# description - string - Public description
|
328
338
|
# note - string - Bundle internal note
|
329
339
|
# code - string - Bundle code. This code forms the end part of the Public URL.
|
340
|
+
# preview_only - boolean - Restrict users to previewing files only?
|
330
341
|
# require_registration - boolean - Show a registration page that captures the downloader's name and email address?
|
331
342
|
# clickwrap_id - int64 - ID of the clickwrap to use with this bundle.
|
332
343
|
# inbox_id - int64 - ID of the associated inbox, if available.
|
@@ -379,6 +390,7 @@ module Files
|
|
379
390
|
# inbox_id - int64 - ID of the associated inbox, if available.
|
380
391
|
# max_uses - int64 - Maximum number of times bundle can be accessed
|
381
392
|
# note - string - Bundle internal note
|
393
|
+
# preview_only - boolean - Restrict users to previewing files only?
|
382
394
|
# require_registration - boolean - Show a registration page that captures the downloader's name and email address?
|
383
395
|
# require_share_recipient - boolean - Only allow access to recipients who have explicitly received the share via an email sent through the Files.com UI?
|
384
396
|
def self.update(id, params = {}, options = {})
|
@@ -34,6 +34,11 @@ module Files
|
|
34
34
|
@attributes[:inbox_code]
|
35
35
|
end
|
36
36
|
|
37
|
+
# string - Clickwrap text that was shown to the registrant
|
38
|
+
def clickwrap_body
|
39
|
+
@attributes[:clickwrap_body]
|
40
|
+
end
|
41
|
+
|
37
42
|
# int64 - Id of associated form field set
|
38
43
|
def form_field_set_id
|
39
44
|
@attributes[:form_field_set_id]
|
@@ -29,6 +29,11 @@ module Files
|
|
29
29
|
@attributes[:email]
|
30
30
|
end
|
31
31
|
|
32
|
+
# string - Clickwrap text that was shown to the registrant
|
33
|
+
def clickwrap_body
|
34
|
+
@attributes[:clickwrap_body]
|
35
|
+
end
|
36
|
+
|
32
37
|
# int64 - Id of associated form field set
|
33
38
|
def form_field_set_id
|
34
39
|
@attributes[:form_field_set_id]
|
@@ -252,6 +252,15 @@ module Files
|
|
252
252
|
@attributes[:one_drive_account_type] = value
|
253
253
|
end
|
254
254
|
|
255
|
+
# string - Cloud hosted sharepoint hostname
|
256
|
+
def sharepoint_hostname
|
257
|
+
@attributes[:sharepoint_hostname]
|
258
|
+
end
|
259
|
+
|
260
|
+
def sharepoint_hostname=(value)
|
261
|
+
@attributes[:sharepoint_hostname] = value
|
262
|
+
end
|
263
|
+
|
255
264
|
# string - Azure Blob Storage Account name
|
256
265
|
def azure_blob_storage_account
|
257
266
|
@attributes[:azure_blob_storage_account]
|
@@ -422,6 +431,7 @@ module Files
|
|
422
431
|
# rackspace_region - string - Three letter airport code for Rackspace region. See https://support.rackspace.com/how-to/about-regions/
|
423
432
|
# rackspace_container - string - The name of the container (top level directory) where files will sync.
|
424
433
|
# one_drive_account_type - string - Either personal or business_other account types
|
434
|
+
# sharepoint_hostname - string - Cloud hosted sharepoint hostname
|
425
435
|
# azure_blob_storage_account - string - Azure Blob Storage Account name
|
426
436
|
# azure_blob_storage_container - string - Azure Blob Storage Container name
|
427
437
|
def update(params = {})
|
@@ -462,6 +472,7 @@ module Files
|
|
462
472
|
raise InvalidParameterError.new("Bad parameter: rackspace_region must be an String") if params.dig(:rackspace_region) and !params.dig(:rackspace_region).is_a?(String)
|
463
473
|
raise InvalidParameterError.new("Bad parameter: rackspace_container must be an String") if params.dig(:rackspace_container) and !params.dig(:rackspace_container).is_a?(String)
|
464
474
|
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)
|
475
|
+
raise InvalidParameterError.new("Bad parameter: sharepoint_hostname must be an String") if params.dig(:sharepoint_hostname) and !params.dig(:sharepoint_hostname).is_a?(String)
|
465
476
|
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)
|
466
477
|
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)
|
467
478
|
raise MissingParameterError.new("Parameter missing: id") unless params.dig(:id)
|
@@ -559,6 +570,7 @@ module Files
|
|
559
570
|
# rackspace_region - string - Three letter airport code for Rackspace region. See https://support.rackspace.com/how-to/about-regions/
|
560
571
|
# rackspace_container - string - The name of the container (top level directory) where files will sync.
|
561
572
|
# one_drive_account_type - string - Either personal or business_other account types
|
573
|
+
# sharepoint_hostname - string - Cloud hosted sharepoint hostname
|
562
574
|
# azure_blob_storage_account - string - Azure Blob Storage Account name
|
563
575
|
# azure_blob_storage_container - string - Azure Blob Storage Container name
|
564
576
|
def self.create(params = {}, options = {})
|
@@ -595,6 +607,7 @@ module Files
|
|
595
607
|
raise InvalidParameterError.new("Bad parameter: rackspace_region must be an String") if params.dig(:rackspace_region) and !params.dig(:rackspace_region).is_a?(String)
|
596
608
|
raise InvalidParameterError.new("Bad parameter: rackspace_container must be an String") if params.dig(:rackspace_container) and !params.dig(:rackspace_container).is_a?(String)
|
597
609
|
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)
|
610
|
+
raise InvalidParameterError.new("Bad parameter: sharepoint_hostname must be an String") if params.dig(:sharepoint_hostname) and !params.dig(:sharepoint_hostname).is_a?(String)
|
598
611
|
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)
|
599
612
|
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)
|
600
613
|
|
@@ -637,6 +650,7 @@ module Files
|
|
637
650
|
# rackspace_region - string - Three letter airport code for Rackspace region. See https://support.rackspace.com/how-to/about-regions/
|
638
651
|
# rackspace_container - string - The name of the container (top level directory) where files will sync.
|
639
652
|
# one_drive_account_type - string - Either personal or business_other account types
|
653
|
+
# sharepoint_hostname - string - Cloud hosted sharepoint hostname
|
640
654
|
# azure_blob_storage_account - string - Azure Blob Storage Account name
|
641
655
|
# azure_blob_storage_container - string - Azure Blob Storage Container name
|
642
656
|
def self.update(id, params = {}, options = {})
|
@@ -676,6 +690,7 @@ module Files
|
|
676
690
|
raise InvalidParameterError.new("Bad parameter: rackspace_region must be an String") if params.dig(:rackspace_region) and !params.dig(:rackspace_region).is_a?(String)
|
677
691
|
raise InvalidParameterError.new("Bad parameter: rackspace_container must be an String") if params.dig(:rackspace_container) and !params.dig(:rackspace_container).is_a?(String)
|
678
692
|
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)
|
693
|
+
raise InvalidParameterError.new("Bad parameter: sharepoint_hostname must be an String") if params.dig(:sharepoint_hostname) and !params.dig(:sharepoint_hostname).is_a?(String)
|
679
694
|
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)
|
680
695
|
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)
|
681
696
|
raise MissingParameterError.new("Parameter missing: id") unless params.dig(:id)
|
@@ -69,6 +69,11 @@ module Files
|
|
69
69
|
@attributes[:bundle_password_required]
|
70
70
|
end
|
71
71
|
|
72
|
+
# boolean - Do Bundles require recipients for sharing?
|
73
|
+
def bundle_require_share_recipient
|
74
|
+
@attributes[:bundle_require_share_recipient]
|
75
|
+
end
|
76
|
+
|
72
77
|
# string - Page link and button color
|
73
78
|
def color2_left
|
74
79
|
@attributes[:color2_left]
|
@@ -632,6 +637,7 @@ module Files
|
|
632
637
|
# immutable_files - boolean - Are files protected from modification?
|
633
638
|
# session_pinned_by_ip - boolean - Are sessions locked to the same IP? (i.e. do users need to log in again if they change IPs?)
|
634
639
|
# bundle_password_required - boolean - Do Bundles require password protection?
|
640
|
+
# bundle_require_share_recipient - boolean - Do Bundles require recipients for sharing?
|
635
641
|
# password_requirements_apply_to_bundles - boolean - Require bundles' passwords, and passwords for other items (inboxes, public shares, etc.) to conform to the same requirements as users' passwords?
|
636
642
|
# opt_out_global - boolean - Use servers in the USA only?
|
637
643
|
# use_provided_modified_at - boolean - Allow uploaders to set `provided_modified_at` for uploaded files?
|
@@ -134,6 +134,11 @@ module Files
|
|
134
134
|
@attributes[:provision_group_required]
|
135
135
|
end
|
136
136
|
|
137
|
+
# string - Comma-separated list of group names whose members will be created with email_signup authentication.
|
138
|
+
def provision_email_signup_groups
|
139
|
+
@attributes[:provision_email_signup_groups]
|
140
|
+
end
|
141
|
+
|
137
142
|
# string - Comma-separated list of group names whose members will be created as Site Admins.
|
138
143
|
def provision_site_admin_groups
|
139
144
|
@attributes[:provision_site_admin_groups]
|
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.165
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- files.com
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-04-
|
11
|
+
date: 2021-04-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: addressable
|