files.com 1.0.49 → 1.0.50
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
- metadata +1 -61
- data/Gemfile.lock +0 -49
- data/docs/account.md +0 -87
- data/docs/announcement.md +0 -45
- data/docs/blog_post.md +0 -35
- data/docs/bundle_file.md +0 -17
- data/docs/bundle_public.md +0 -15
- data/docs/certificate.md +0 -250
- data/docs/crash_report.md +0 -46
- data/docs/email_feedback.md +0 -16
- data/docs/email_preference.md +0 -41
- data/docs/email_preference_notification.md +0 -17
- data/docs/inbox.md +0 -37
- data/docs/oauth_redirect.md +0 -11
- data/docs/paired_api_key.md +0 -17
- data/docs/paypal_express_info.md +0 -31
- data/docs/paypal_express_url.md +0 -11
- data/docs/plan.md +0 -145
- data/docs/plan_rate.md +0 -31
- data/docs/regional_migration.md +0 -39
- data/docs/release.md +0 -34
- data/docs/release_package.md +0 -13
- data/docs/setting.md +0 -33
- data/docs/settings.md +0 -187
- data/docs/support_request.md +0 -96
- data/docs/two_factor_authentication_method.md +0 -152
- data/docs/u2f_sign_request.md +0 -15
- data/docs/upload.md +0 -54
- data/docs/upsell.md +0 -33
- data/docs/warning.md +0 -31
- data/docs/zip_download.md +0 -27
- data/files.com-1.0.0.gem +0 -0
- data/lib/files.com/models/account.rb +0 -142
- data/lib/files.com/models/announcement.rb +0 -74
- data/lib/files.com/models/blog_post.rb +0 -49
- data/lib/files.com/models/bundle_file.rb +0 -32
- data/lib/files.com/models/bundle_public.rb +0 -27
- data/lib/files.com/models/certificate.rb +0 -452
- data/lib/files.com/models/crash_report.rb +0 -129
- data/lib/files.com/models/email_feedback.rb +0 -29
- data/lib/files.com/models/email_preference.rb +0 -46
- data/lib/files.com/models/email_preference_notification.rb +0 -32
- data/lib/files.com/models/inbox.rb +0 -54
- data/lib/files.com/models/oauth_redirect.rb +0 -17
- data/lib/files.com/models/paired_api_key.rb +0 -32
- data/lib/files.com/models/paypal_express_info.rb +0 -67
- data/lib/files.com/models/paypal_express_url.rb +0 -17
- data/lib/files.com/models/plan.rb +0 -316
- data/lib/files.com/models/plan_rate.rb +0 -39
- data/lib/files.com/models/regional_migration.rb +0 -59
- data/lib/files.com/models/release.rb +0 -41
- data/lib/files.com/models/release_package.rb +0 -22
- data/lib/files.com/models/setting.rb +0 -36
- data/lib/files.com/models/settings.rb +0 -441
- data/lib/files.com/models/support_request.rb +0 -143
- data/lib/files.com/models/two_factor_authentication_method.rb +0 -230
- data/lib/files.com/models/u2f_sign_request.rb +0 -27
- data/lib/files.com/models/upload.rb +0 -83
- data/lib/files.com/models/upsell.rb +0 -38
- data/lib/files.com/models/warning.rb +0 -34
- data/lib/files.com/models/zip_download.rb +0 -49
data/docs/crash_report.md
DELETED
@@ -1,46 +0,0 @@
|
|
1
|
-
# CrashReport
|
2
|
-
|
3
|
-
## Example CrashReport Object
|
4
|
-
|
5
|
-
```
|
6
|
-
{
|
7
|
-
"id": 1
|
8
|
-
}
|
9
|
-
```
|
10
|
-
|
11
|
-
* `id` (int64): Crash Report ID
|
12
|
-
* `build` (string):
|
13
|
-
* `platform` (string):
|
14
|
-
* `product_name` (string):
|
15
|
-
* `version` (string):
|
16
|
-
* `comment` (string):
|
17
|
-
* `email` (string):
|
18
|
-
* `platform_version` (string):
|
19
|
-
* `release_channel` (string):
|
20
|
-
|
21
|
-
|
22
|
-
---
|
23
|
-
|
24
|
-
## Internal hidden endpoint. Subject to change. Not for public consumption
|
25
|
-
|
26
|
-
```
|
27
|
-
Files::CrashReport.create(
|
28
|
-
build: "123",
|
29
|
-
platform: "win32",
|
30
|
-
product_name: "Files.com",
|
31
|
-
version: "1.0.0",
|
32
|
-
comment: "Comment",
|
33
|
-
email: "johndoe@gmail.com"
|
34
|
-
)
|
35
|
-
```
|
36
|
-
|
37
|
-
### Parameters
|
38
|
-
|
39
|
-
* `build` (string): Required -
|
40
|
-
* `platform` (string): Required -
|
41
|
-
* `product_name` (string): Required -
|
42
|
-
* `version` (string): Required -
|
43
|
-
* `comment` (string):
|
44
|
-
* `email` (string):
|
45
|
-
* `platform_version` (string):
|
46
|
-
* `release_channel` (string):
|
data/docs/email_feedback.md
DELETED
@@ -1,16 +0,0 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
---
|
4
|
-
|
5
|
-
## Internal hidden endpoint. Subject to change. Not for public consumption
|
6
|
-
|
7
|
-
```
|
8
|
-
Files::EmailFeedback.create(
|
9
|
-
feedback[email]: "johndoe@gmail.com"
|
10
|
-
)
|
11
|
-
```
|
12
|
-
|
13
|
-
### Parameters
|
14
|
-
|
15
|
-
* `feedback[email]` (string):
|
16
|
-
* `feedback[reason]` (string):
|
data/docs/email_preference.md
DELETED
@@ -1,41 +0,0 @@
|
|
1
|
-
# EmailPreference
|
2
|
-
|
3
|
-
## Example EmailPreference Object
|
4
|
-
|
5
|
-
```
|
6
|
-
{
|
7
|
-
"email": "john.doe@files.com",
|
8
|
-
"notifications": [
|
9
|
-
|
10
|
-
],
|
11
|
-
"receive_admin_alerts": true
|
12
|
-
}
|
13
|
-
```
|
14
|
-
|
15
|
-
* `email` (email): Email address
|
16
|
-
* `notifications` (array): A list of notifications
|
17
|
-
* `receive_admin_alerts` (boolean): Receive admin alerts?
|
18
|
-
|
19
|
-
|
20
|
-
---
|
21
|
-
|
22
|
-
## Internal hidden endpoint. Subject to change. Not for public consumption
|
23
|
-
|
24
|
-
```
|
25
|
-
Files::EmailPreference.update(token,
|
26
|
-
user[receive_admin_alerts]: true,
|
27
|
-
user[unsubscribed]: true,
|
28
|
-
user[notifications][send_interval]: "hour"
|
29
|
-
)
|
30
|
-
```
|
31
|
-
|
32
|
-
### Parameters
|
33
|
-
|
34
|
-
* `token` (string): Required - Email preferences token.
|
35
|
-
* `user[receive_admin_alerts]` (boolean):
|
36
|
-
* `user[unsubscribed]` (boolean):
|
37
|
-
* `user[notifications][id]` (array(int64)):
|
38
|
-
* `user[notifications][group]` (array(boolean)):
|
39
|
-
* `user[notifications][send_interval]` (array(string)):
|
40
|
-
* `user[notifications][unsubscribe]` (array(boolean)):
|
41
|
-
* `user[unsubscribe]` (string):
|
@@ -1,17 +0,0 @@
|
|
1
|
-
# EmailPreferenceNotification
|
2
|
-
|
3
|
-
## Example EmailPreferenceNotification Object
|
4
|
-
|
5
|
-
```
|
6
|
-
{
|
7
|
-
"id": 1,
|
8
|
-
"path": "",
|
9
|
-
"send_interval": "fifteen_minutes",
|
10
|
-
"unsubscribed": true
|
11
|
-
}
|
12
|
-
```
|
13
|
-
|
14
|
-
* `id` (int64): Email preferences ID
|
15
|
-
* `path` (string): Folder path This must be slash-delimited, but it must neither start nor end with a slash. Maximum of 5000 characters.
|
16
|
-
* `send_interval` (string): The time interval that notifications are aggregated to. Can be five_minutes, fifteen_minutes, hourly, or daily
|
17
|
-
* `unsubscribed` (boolean): Is unsubscribed?
|
data/docs/inbox.md
DELETED
@@ -1,37 +0,0 @@
|
|
1
|
-
# Inbox
|
2
|
-
|
3
|
-
## Example Inbox Object
|
4
|
-
|
5
|
-
```
|
6
|
-
{
|
7
|
-
"description": "My inbox",
|
8
|
-
"help_text": "If you need any help submitting your application, please call our front desk.",
|
9
|
-
"key": "application-form",
|
10
|
-
"show_on_login_page": true,
|
11
|
-
"title": ""
|
12
|
-
}
|
13
|
-
```
|
14
|
-
|
15
|
-
* `description` (string): User description
|
16
|
-
* `help_text` (string): Text that will be shown to the users on the Inbox. Use this field to provide custom instructions.
|
17
|
-
* `key` (string): Unique key for inbox
|
18
|
-
* `show_on_login_page` (boolean): Show this inbox on site login page?
|
19
|
-
* `title` (string): Inbox title
|
20
|
-
|
21
|
-
|
22
|
-
---
|
23
|
-
|
24
|
-
## Internal hidden endpoint. Subject to change. Not for public consumption
|
25
|
-
|
26
|
-
```
|
27
|
-
Files::Inbox.list(
|
28
|
-
page: 1,
|
29
|
-
per_page: 1
|
30
|
-
)
|
31
|
-
```
|
32
|
-
|
33
|
-
### Parameters
|
34
|
-
|
35
|
-
* `page` (int64): Current page number.
|
36
|
-
* `per_page` (int64): Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
37
|
-
* `action` (string): Deprecated: If set to `count` returns a count of matching records rather than the records themselves.
|
data/docs/oauth_redirect.md
DELETED
data/docs/paired_api_key.md
DELETED
@@ -1,17 +0,0 @@
|
|
1
|
-
# PairedApiKey
|
2
|
-
|
3
|
-
## Example PairedApiKey Object
|
4
|
-
|
5
|
-
```
|
6
|
-
{
|
7
|
-
"server": "mysite.files.com",
|
8
|
-
"username": "@api-1",
|
9
|
-
"password": "password",
|
10
|
-
"nickname": "@api-1 @ mysite.files.com"
|
11
|
-
}
|
12
|
-
```
|
13
|
-
|
14
|
-
* `server` (string): Site URL
|
15
|
-
* `username` (string): Paired api key username
|
16
|
-
* `password` (string): Paired api key password
|
17
|
-
* `nickname` (string): Unique nickname for this api key
|
data/docs/paypal_express_info.md
DELETED
@@ -1,31 +0,0 @@
|
|
1
|
-
# PaypalExpressInfo
|
2
|
-
|
3
|
-
## Example PaypalExpressInfo Object
|
4
|
-
|
5
|
-
```
|
6
|
-
{
|
7
|
-
"billing_email": "john.doe@files.com",
|
8
|
-
"billing_company_name": "Action Verb",
|
9
|
-
"billing_address": "123 Main St",
|
10
|
-
"billing_address_2": "Door 1",
|
11
|
-
"billing_city": "New York",
|
12
|
-
"billing_state": "NY",
|
13
|
-
"billing_country": "US",
|
14
|
-
"billing_zip": "000000",
|
15
|
-
"billing_name": "John Doe",
|
16
|
-
"billing_phone": "555-555-5555",
|
17
|
-
"paypal_payer_id": 1
|
18
|
-
}
|
19
|
-
```
|
20
|
-
|
21
|
-
* `billing_email` (email): Paypal billing email
|
22
|
-
* `billing_company_name` (string): Paypal billing company name
|
23
|
-
* `billing_address` (string): Paypal billing address
|
24
|
-
* `billing_address_2` (string): Paypal billing address 2
|
25
|
-
* `billing_city` (string): Paypal billing city
|
26
|
-
* `billing_state` (string): Paypal billing state
|
27
|
-
* `billing_country` (string): Paypal billing country
|
28
|
-
* `billing_zip` (string): Paypal billing zipcode
|
29
|
-
* `billing_name` (string): Paypal billing name
|
30
|
-
* `billing_phone` (string): Paypal billing phone
|
31
|
-
* `paypal_payer_id` (int64): Paypal payer ID
|
data/docs/paypal_express_url.md
DELETED
data/docs/plan.md
DELETED
@@ -1,145 +0,0 @@
|
|
1
|
-
# Plan
|
2
|
-
|
3
|
-
## Example Plan Object
|
4
|
-
|
5
|
-
```
|
6
|
-
{
|
7
|
-
"id": 1,
|
8
|
-
"advanced_behaviors": true,
|
9
|
-
"antivirus_advanced": true,
|
10
|
-
"antivirus_basic": true,
|
11
|
-
"audit_hours": 1,
|
12
|
-
"auth_google": true,
|
13
|
-
"auth_oauth": true,
|
14
|
-
"auth_oauth_custom": true,
|
15
|
-
"auth_user_count": 1,
|
16
|
-
"automations": true,
|
17
|
-
"custom_namespace": true,
|
18
|
-
"custom_smtp": true,
|
19
|
-
"dedicated_ip": true,
|
20
|
-
"dedicated_ips": 1,
|
21
|
-
"differences": "",
|
22
|
-
"domain": true,
|
23
|
-
"domain_count": 1,
|
24
|
-
"email_inboxes": true,
|
25
|
-
"extended_folder_permissions": true,
|
26
|
-
"extended_log_retention": true,
|
27
|
-
"free_developer_accounts": 1,
|
28
|
-
"ftp_sftp_webdav": true,
|
29
|
-
"full_text_search": true,
|
30
|
-
"global_acceleration": true,
|
31
|
-
"gpg": true,
|
32
|
-
"group_admins_enabled": true,
|
33
|
-
"group_notifications": true,
|
34
|
-
"hipaa": true,
|
35
|
-
"html_branding": true,
|
36
|
-
"ldap": true,
|
37
|
-
"legal_flexibility": true,
|
38
|
-
"max_folder_size": "10000",
|
39
|
-
"max_individual_file_size": "5 TB",
|
40
|
-
"name": "Enterprise",
|
41
|
-
"nested_groups": true,
|
42
|
-
"preview_page_limit": 100,
|
43
|
-
"regions_included": 2,
|
44
|
-
"remote_sync_ftp": true,
|
45
|
-
"remote_sync_interval": 1,
|
46
|
-
"remote_sync_other": true,
|
47
|
-
"remote_sync_s3": true,
|
48
|
-
"require_2fa": true,
|
49
|
-
"site_fields_requiring_upgrade": [
|
50
|
-
|
51
|
-
],
|
52
|
-
"support_level": "standard",
|
53
|
-
"usage_cost": "0.1",
|
54
|
-
"usage_included": "2500",
|
55
|
-
"users": 1,
|
56
|
-
"watermark_documents": true,
|
57
|
-
"watermark_images": true,
|
58
|
-
"webhooks": true,
|
59
|
-
"webhooks_sns": true,
|
60
|
-
"whitelabel": true,
|
61
|
-
"activation_cost": "10.0",
|
62
|
-
"annually": "2988.0",
|
63
|
-
"currency": "USD",
|
64
|
-
"monthly": "249.0",
|
65
|
-
"user_cost": "5.0"
|
66
|
-
}
|
67
|
-
```
|
68
|
-
|
69
|
-
* `id` (int64): Plan ID
|
70
|
-
* `advanced_behaviors` (boolean): Are advanced behaviors included in plan?
|
71
|
-
* `antivirus_advanced` (boolean): Is advanced antivirus included in plan?
|
72
|
-
* `antivirus_basic` (boolean): Is basic antivirus included in plan?
|
73
|
-
* `audit_hours` (int64): How many audit hours included in plan?
|
74
|
-
* `auth_google` (boolean): Is google authentication included in plan?
|
75
|
-
* `auth_oauth` (boolean): Is oauth included in plan?
|
76
|
-
* `auth_oauth_custom` (boolean): Is custom oauth included in plan?
|
77
|
-
* `auth_user_count` (int64): Number of SSO, 2FA, Desktop users included in plan
|
78
|
-
* `automations` (boolean): Are automations included in plan?
|
79
|
-
* `custom_namespace` (boolean): If true all usernames can be used, otherwise usernames must be unique
|
80
|
-
* `custom_smtp` (boolean): Custom SMTP support?
|
81
|
-
* `dedicated_ip` (boolean): Offers dedicated ip?
|
82
|
-
* `dedicated_ips` (int64): Number of dedicated IPs
|
83
|
-
* `differences` (object): Results of comparing with a different Plan
|
84
|
-
* `domain` (boolean): Custom domain(s)?
|
85
|
-
* `domain_count` (int64): Number of custom domains
|
86
|
-
* `email_inboxes` (boolean): Does the plan include E-Mail inboxes?
|
87
|
-
* `extended_folder_permissions` (boolean): Supports extended folder permissions like viewing history?
|
88
|
-
* `extended_log_retention` (boolean): Can log preservation be extended?
|
89
|
-
* `free_developer_accounts` (int64): Number of free developer accounts
|
90
|
-
* `ftp_sftp_webdav` (boolean): Supports connections via FTP, SFTP, and WebDAV?
|
91
|
-
* `full_text_search` (boolean): Full text search enabled?
|
92
|
-
* `global_acceleration` (boolean): Global acceleration enabled?
|
93
|
-
* `gpg` (boolean): Support for GPG encryption?
|
94
|
-
* `group_admins_enabled` (boolean): Group admin functionality enabled?
|
95
|
-
* `group_notifications` (boolean): Group notifications functionality enabled?
|
96
|
-
* `hipaa` (boolean): Support for HIPAA regulation?
|
97
|
-
* `html_branding` (boolean): HTML branding available?
|
98
|
-
* `ldap` (boolean): LDAP integration enabled?
|
99
|
-
* `legal_flexibility` (boolean): Does the plan offer any legal flexibility?
|
100
|
-
* `max_folder_size` (int64): Max number of files in a folder
|
101
|
-
* `max_individual_file_size` (int64): Maximum individual file size
|
102
|
-
* `name` (string): Plan name
|
103
|
-
* `nested_groups` (boolean): Are nested groups enabled?
|
104
|
-
* `preview_page_limit` (int64): Number of previews available
|
105
|
-
* `regions_included` (int64): Number of storage regions included
|
106
|
-
* `remote_sync_ftp` (boolean): Remote sync with FTP available?
|
107
|
-
* `remote_sync_interval` (int64): Number of hours between remote sync
|
108
|
-
* `remote_sync_other` (boolean): Are other forms of remote sync available?
|
109
|
-
* `remote_sync_s3` (boolean): Can sync to s3 bucket?
|
110
|
-
* `require_2fa` (boolean): 2FA support enabled?
|
111
|
-
* `site_fields_requiring_upgrade` (array): Site attributes which require upgrade
|
112
|
-
* `support_level` (string): Priority of customer support
|
113
|
-
* `usage_cost` (string): Usage cost per GB of overage
|
114
|
-
* `usage_included` (string): Usage included per month, in GB
|
115
|
-
* `users` (int64): # of users included. 0 or -1 mean unlimited.
|
116
|
-
* `watermark_documents` (boolean): Watermark enabled?
|
117
|
-
* `watermark_images` (boolean): Watermark enabled?
|
118
|
-
* `webhooks` (boolean): Webhooks enabled?
|
119
|
-
* `webhooks_sns` (boolean): Webhook SNS integration enabled?
|
120
|
-
* `whitelabel` (boolean): Whitelabel site?
|
121
|
-
* `activation_cost` (string): Activation cost (upfront)
|
122
|
-
* `annually` (string): Price annually
|
123
|
-
* `currency` (string): Currency
|
124
|
-
* `monthly` (string): Price monthly
|
125
|
-
* `user_cost` (string): Cost per additional user
|
126
|
-
|
127
|
-
|
128
|
-
---
|
129
|
-
|
130
|
-
## List Plans
|
131
|
-
|
132
|
-
```
|
133
|
-
Files::Plan.list(
|
134
|
-
page: 1,
|
135
|
-
per_page: 1,
|
136
|
-
currency: "USD"
|
137
|
-
)
|
138
|
-
```
|
139
|
-
|
140
|
-
### Parameters
|
141
|
-
|
142
|
-
* `page` (int64): Current page number.
|
143
|
-
* `per_page` (int64): Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
144
|
-
* `action` (string): Deprecated: If set to `count` returns a count of matching records rather than the records themselves.
|
145
|
-
* `currency` (string): Currency.
|
data/docs/plan_rate.md
DELETED
@@ -1,31 +0,0 @@
|
|
1
|
-
# PlanRate
|
2
|
-
|
3
|
-
## Example PlanRate Object
|
4
|
-
|
5
|
-
```
|
6
|
-
{
|
7
|
-
"plan_name": 1,
|
8
|
-
"rates": ""
|
9
|
-
}
|
10
|
-
```
|
11
|
-
|
12
|
-
* `plan_name` (int64): Plan Name
|
13
|
-
* `rates` (object): Rates for each currency
|
14
|
-
|
15
|
-
|
16
|
-
---
|
17
|
-
|
18
|
-
## Internal hidden endpoint. Subject to change. Not for public consumption
|
19
|
-
|
20
|
-
```
|
21
|
-
Files::PlanRate.list(
|
22
|
-
page: 1,
|
23
|
-
per_page: 1
|
24
|
-
)
|
25
|
-
```
|
26
|
-
|
27
|
-
### Parameters
|
28
|
-
|
29
|
-
* `page` (int64): Current page number.
|
30
|
-
* `per_page` (int64): Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
31
|
-
* `action` (string): Deprecated: If set to `count` returns a count of matching records rather than the records themselves.
|
data/docs/regional_migration.md
DELETED
@@ -1,39 +0,0 @@
|
|
1
|
-
# RegionalMigration
|
2
|
-
|
3
|
-
## Example RegionalMigration Object
|
4
|
-
|
5
|
-
```
|
6
|
-
{
|
7
|
-
"id": 1,
|
8
|
-
"files_moved": 1,
|
9
|
-
"files_total": 1,
|
10
|
-
"path": "MyFolder",
|
11
|
-
"region": "USA",
|
12
|
-
"status": "complete"
|
13
|
-
}
|
14
|
-
```
|
15
|
-
|
16
|
-
* `id` (int64): Regional migration ID
|
17
|
-
* `files_moved` (int64): Number of files moved
|
18
|
-
* `files_total` (int64): Total number of files
|
19
|
-
* `path` (string): Source path This must be slash-delimited, but it must neither start nor end with a slash. Maximum of 5000 characters.
|
20
|
-
* `region` (string): Region
|
21
|
-
* `status` (string): Status
|
22
|
-
|
23
|
-
|
24
|
-
---
|
25
|
-
|
26
|
-
## Internal hidden endpoint. Subject to change. Not for public consumption
|
27
|
-
|
28
|
-
```
|
29
|
-
Files::RegionalMigration.list(
|
30
|
-
page: 1,
|
31
|
-
per_page: 1
|
32
|
-
)
|
33
|
-
```
|
34
|
-
|
35
|
-
### Parameters
|
36
|
-
|
37
|
-
* `page` (int64): Current page number.
|
38
|
-
* `per_page` (int64): Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
39
|
-
* `action` (string): Deprecated: If set to `count` returns a count of matching records rather than the records themselves.
|