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.
Files changed (63) hide show
  1. checksums.yaml +4 -4
  2. data/_VERSION +1 -1
  3. metadata +1 -61
  4. data/Gemfile.lock +0 -49
  5. data/docs/account.md +0 -87
  6. data/docs/announcement.md +0 -45
  7. data/docs/blog_post.md +0 -35
  8. data/docs/bundle_file.md +0 -17
  9. data/docs/bundle_public.md +0 -15
  10. data/docs/certificate.md +0 -250
  11. data/docs/crash_report.md +0 -46
  12. data/docs/email_feedback.md +0 -16
  13. data/docs/email_preference.md +0 -41
  14. data/docs/email_preference_notification.md +0 -17
  15. data/docs/inbox.md +0 -37
  16. data/docs/oauth_redirect.md +0 -11
  17. data/docs/paired_api_key.md +0 -17
  18. data/docs/paypal_express_info.md +0 -31
  19. data/docs/paypal_express_url.md +0 -11
  20. data/docs/plan.md +0 -145
  21. data/docs/plan_rate.md +0 -31
  22. data/docs/regional_migration.md +0 -39
  23. data/docs/release.md +0 -34
  24. data/docs/release_package.md +0 -13
  25. data/docs/setting.md +0 -33
  26. data/docs/settings.md +0 -187
  27. data/docs/support_request.md +0 -96
  28. data/docs/two_factor_authentication_method.md +0 -152
  29. data/docs/u2f_sign_request.md +0 -15
  30. data/docs/upload.md +0 -54
  31. data/docs/upsell.md +0 -33
  32. data/docs/warning.md +0 -31
  33. data/docs/zip_download.md +0 -27
  34. data/files.com-1.0.0.gem +0 -0
  35. data/lib/files.com/models/account.rb +0 -142
  36. data/lib/files.com/models/announcement.rb +0 -74
  37. data/lib/files.com/models/blog_post.rb +0 -49
  38. data/lib/files.com/models/bundle_file.rb +0 -32
  39. data/lib/files.com/models/bundle_public.rb +0 -27
  40. data/lib/files.com/models/certificate.rb +0 -452
  41. data/lib/files.com/models/crash_report.rb +0 -129
  42. data/lib/files.com/models/email_feedback.rb +0 -29
  43. data/lib/files.com/models/email_preference.rb +0 -46
  44. data/lib/files.com/models/email_preference_notification.rb +0 -32
  45. data/lib/files.com/models/inbox.rb +0 -54
  46. data/lib/files.com/models/oauth_redirect.rb +0 -17
  47. data/lib/files.com/models/paired_api_key.rb +0 -32
  48. data/lib/files.com/models/paypal_express_info.rb +0 -67
  49. data/lib/files.com/models/paypal_express_url.rb +0 -17
  50. data/lib/files.com/models/plan.rb +0 -316
  51. data/lib/files.com/models/plan_rate.rb +0 -39
  52. data/lib/files.com/models/regional_migration.rb +0 -59
  53. data/lib/files.com/models/release.rb +0 -41
  54. data/lib/files.com/models/release_package.rb +0 -22
  55. data/lib/files.com/models/setting.rb +0 -36
  56. data/lib/files.com/models/settings.rb +0 -441
  57. data/lib/files.com/models/support_request.rb +0 -143
  58. data/lib/files.com/models/two_factor_authentication_method.rb +0 -230
  59. data/lib/files.com/models/u2f_sign_request.rb +0 -27
  60. data/lib/files.com/models/upload.rb +0 -83
  61. data/lib/files.com/models/upsell.rb +0 -38
  62. data/lib/files.com/models/warning.rb +0 -34
  63. data/lib/files.com/models/zip_download.rb +0 -49
data/docs/release.md DELETED
@@ -1,34 +0,0 @@
1
- # Release
2
-
3
- ## Example Release Object
4
-
5
- ```
6
- {
7
- "description": "The initial release of Files.com Desktop",
8
- "native_release_packages": [
9
-
10
- ],
11
- "title": "Files.com",
12
- "version": "1.0.0"
13
- }
14
- ```
15
-
16
- * `description` (string): Native release description
17
- * `native_release_packages` (array): A list of native release packages
18
- * `title` (string): Native release title
19
- * `version` (string): Native release version
20
-
21
-
22
- ---
23
-
24
- ## Internal hidden endpoint. Subject to change. Not for public consumption
25
-
26
- ```
27
- Files::Release.get_latest(
28
- platform: "win32"
29
- )
30
- ```
31
-
32
- ### Parameters
33
-
34
- * `platform` (string):
@@ -1,13 +0,0 @@
1
- # ReleasePackage
2
-
3
- ## Example ReleasePackage Object
4
-
5
- ```
6
- {
7
- "package_link": "https://www.files.com/desktop/download",
8
- "platform": "win32"
9
- }
10
- ```
11
-
12
- * `package_link` (string): Link to the package
13
- * `platform` (string): Release platform
data/docs/setting.md DELETED
@@ -1,33 +0,0 @@
1
-
2
-
3
- ---
4
-
5
- ## Internal hidden endpoint. Subject to change. Not for public consumption
6
-
7
- ```
8
- Files::Setting.languages
9
- ```
10
-
11
-
12
- ---
13
-
14
- ## Internal hidden endpoint. Subject to change. Not for public consumption
15
-
16
- ```
17
- Files::Setting.list
18
- ```
19
-
20
-
21
- ---
22
-
23
- ## Internal hidden endpoint. Subject to change. Not for public consumption
24
-
25
- ```
26
- Files::Setting.get_domain(
27
- domain: "actionverb"
28
- )
29
- ```
30
-
31
- ### Parameters
32
-
33
- * `domain` (string): Required -
data/docs/settings.md DELETED
@@ -1,187 +0,0 @@
1
- # Settings
2
-
3
- ## Example Settings Object
4
-
5
- ```
6
- {
7
- "image_regex": ".(png|...)",
8
- "video_regex": ".(avi|...)",
9
- "audio_regex": ".(mp3|...)",
10
- "pdf_regex": ".(pdf|...)",
11
- "tab_config": "",
12
- "reauth": true,
13
- "regions": [
14
-
15
- ],
16
- "s3_regions": [
17
-
18
- ],
19
- "sales_tax_regions": [
20
-
21
- ],
22
- "current_language": "en",
23
- "read_only": "en",
24
- "session_language": "en",
25
- "primary_sub_domain_base": "files.com",
26
- "attachments_permission": true,
27
- "authentication_method": "password",
28
- "avatar_url": "",
29
- "dav_permission": true,
30
- "email": "",
31
- "folder_permissions_groups_only": true,
32
- "ftp_permission": true,
33
- "group_admin": true,
34
- "last_read_announcements_at": "2000-01-01 01:00:00 UTC",
35
- "name": "user",
36
- "notification_daily_send_time": 18,
37
- "self_managed": true,
38
- "sftp_permission": true,
39
- "site_admin": true,
40
- "skip_welcome_screen": true,
41
- "externally_managed": true,
42
- "time_zone": "Pacific Time (US & Canada)",
43
- "type_of_2fa": "totp",
44
- "reauth_2fa": "totp",
45
- "user_id": 1,
46
- "user_language": "en",
47
- "username": "user",
48
- "web_root": "web_root",
49
- "allowed_2fa_method_sms": true,
50
- "allowed_2fa_method_totp": true,
51
- "allowed_2fa_method_u2f": true,
52
- "allowed_2fa_method_yubi": true,
53
- "beta_features": true,
54
- "beta_feature2": true,
55
- "beta_feature3": true,
56
- "bundle_expiration": 1,
57
- "bundle_password_required": true,
58
- "password_requirements_apply_to_bundles": true,
59
- "desktop_app": true,
60
- "has_account": true,
61
- "hide_billing": true,
62
- "history_unavailable": true,
63
- "immutable_files": true,
64
- "overdue": true,
65
- "site_unavailable": true,
66
- "password_min_length": 1,
67
- "password_require_letter": true,
68
- "password_require_mixed": true,
69
- "password_require_number": true,
70
- "password_require_special": true,
71
- "public_url": "mygreatwebsite.com",
72
- "require_2fa": true,
73
- "show_request_access_link": true,
74
- "trial_days_left": 1,
75
- "trial_locked": true,
76
- "trial_flagged_as_duplicate": true,
77
- "trial_until": "2000-01-01 01:00:00 UTC",
78
- "use_provided_modified_at": true,
79
- "high_users_count": true,
80
- "users_count": 1,
81
- "color2_left": "#0066a7",
82
- "color2_link": "#d34f5d",
83
- "color2_text": "#0066a7",
84
- "color2_top": "#000000",
85
- "color2_top_text": "#ffffff",
86
- "disable_password_reset": true,
87
- "login_help_text": "Text shown on login page.",
88
- "site_name": "My Great Site",
89
- "sso_strategies": "",
90
- "site_footer": "",
91
- "site_header": "",
92
- "site_language": "en",
93
- "welcome_screen": "user_controlled",
94
- "icon128": "",
95
- "icon16": "",
96
- "icon32": "",
97
- "icon48": "",
98
- "logo": ""
99
- }
100
- ```
101
-
102
- * `image_regex` (string): All supported image types
103
- * `video_regex` (string): All supported video types
104
- * `audio_regex` (string): All supported audio types
105
- * `pdf_regex` (string): All supported PDF types
106
- * `tab_config` (string): Deprecated
107
- * `reauth` (boolean): Password check skipped?
108
- * `regions` (array): Region name and description
109
- * `s3_regions` (array): Region name and description
110
- * `sales_tax_regions` (array): States with applicable sales tax
111
- * `current_language` (string): Current language locale setting
112
- * `read_only` (string): Is this session read only?
113
- * `session_language` (string): Session locale setting
114
- * `primary_sub_domain_base` (string): Primary domain name base of the site
115
- * `attachments_permission` (boolean): Can the user create attachments, including bundles?
116
- * `authentication_method` (string): Authentication method for the user. Can be `password`, `ldap`, `sso`, or `none`
117
- * `avatar_url` (string): URL holding the user's avatar
118
- * `dav_permission` (boolean): Can the user connect with WebDAV?
119
- * `email` (email): User email address
120
- * `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.
121
- * `ftp_permission` (boolean): Can the user access with FTP/FTPS?
122
- * `group_admin` (boolean): Is a group administrator?
123
- * `last_read_announcements_at` (date-time): The last date/time this user has read announcements
124
- * `name` (string): User name
125
- * `notification_daily_send_time` (int64): Hour of the day at which daily notifications should be sent. Can be in range 0 to 23
126
- * `self_managed` (boolean): Does this user manage it's own credentials?
127
- * `sftp_permission` (boolean): Can the user access with SFTP?
128
- * `site_admin` (boolean): Is the user an administrator for this site?
129
- * `skip_welcome_screen` (boolean): Skip the welcome screen?
130
- * `externally_managed` (boolean): Is this user automatically managed?
131
- * `time_zone` (string): User time zone
132
- * `type_of_2fa` (string): 2fa type
133
- * `reauth_2fa` (string): 2fa type
134
- * `user_id` (int64): User ID
135
- * `user_language` (string): Preferred language
136
- * `username` (string): User's username
137
- * `web_root` (string): Root web folder
138
- * `allowed_2fa_method_sms` (boolean): Is SMS two factor authentication allowed?
139
- * `allowed_2fa_method_totp` (boolean): Is TOTP two factor authentication allowed?
140
- * `allowed_2fa_method_u2f` (boolean): Is U2F two factor authentication allowed?
141
- * `allowed_2fa_method_yubi` (boolean): Is yubikey two factor authentication allowed?
142
- * `beta_features` (boolean): Is beta feature 1 available?
143
- * `beta_feature2` (boolean): Is beta feature 2 available?
144
- * `beta_feature3` (boolean): Is beta feature 3 available?
145
- * `bundle_expiration` (int64): Site-wide bundle expiration in days
146
- * `bundle_password_required` (boolean): Do bundle shares require password protection?
147
- * `password_requirements_apply_to_bundles` (boolean): Do site-wide password requirements apply to bundles?
148
- * `desktop_app` (boolean): Is the desktop app enabled?
149
- * `has_account` (boolean): Connected to an account?
150
- * `hide_billing` (boolean): Hide billing information?
151
- * `history_unavailable` (boolean): Is history unavailable?
152
- * `immutable_files` (boolean): Are files protected from modification?
153
- * `overdue` (boolean): Is billing overdue?
154
- * `site_unavailable` (boolean): Is the site unavailable?
155
- * `password_min_length` (int64): Shortest password length for users
156
- * `password_require_letter` (boolean): Require a letter in passwords?
157
- * `password_require_mixed` (boolean): Require lower and upper case letters in passwords?
158
- * `password_require_number` (boolean): Require a number in passwords?
159
- * `password_require_special` (boolean): Require special characters in password?
160
- * `public_url` (string): Site public url
161
- * `require_2fa` (boolean): Require two-factor authentication for the current user?
162
- * `show_request_access_link` (boolean): Show request access link for users without access?
163
- * `trial_days_left` (int64): Number of days left in trial
164
- * `trial_locked` (boolean): Is this site a free trial that is locked due to fraud concerns?
165
- * `trial_flagged_as_duplicate` (boolean): Has this site been flagged as a duplicate of another trial?
166
- * `trial_until` (date-time): When does this Site trial expire?
167
- * `use_provided_modified_at` (boolean): Allow setting provided_modified_at?
168
- * `high_users_count` (boolean): Does the site have a large number of users? (Used to hide some UI features that may be slow in this case.)
169
- * `users_count` (int64): Count of users on the site. Only exposed for site admins.
170
- * `color2_left` (string): Page link and button color
171
- * `color2_link` (string): Top bar link color
172
- * `color2_text` (string): Page link and button color
173
- * `color2_top` (string): Top bar background color
174
- * `color2_top_text` (string): Top bar text color
175
- * `disable_password_reset` (boolean): Is password reset disabled?
176
- * `login_help_text` (string): Login help text
177
- * `site_name` (string): Site name
178
- * `sso_strategies`:
179
- * `site_footer` (string): Site footer for branding
180
- * `site_header` (string): Site header for branding
181
- * `site_language` (string): Site language locale
182
- * `welcome_screen` (string): Does the welcome screen appear? Can be `enabled`, `hidden`, or `disabled`
183
- * `icon128`: Branded icon 128x128
184
- * `icon16`: Branded icon 16x16
185
- * `icon32`: Branded icon 32x32
186
- * `icon48`: Branded icon 48x48
187
- * `logo`: Branded logo
@@ -1,96 +0,0 @@
1
- # SupportRequest
2
-
3
- ## Example SupportRequest Object
4
-
5
- ```
6
- {
7
- "id": 1,
8
- "subject": "",
9
- "comment": "",
10
- "created_at": "",
11
- "customer_success_access": "`no`",
12
- "priority": "`low`"
13
- }
14
- ```
15
-
16
- * `id` (int64): ID
17
- * `subject` (string): Subject of the support request.
18
- * `comment` (string): Main body of the support request.
19
- * `created_at` (date): When this support request was made.
20
- * `customer_success_access` (string): Enable Customer Success access to your user account?
21
- * `priority` (string): Priority. Can be `low` (e.g. general or billing/acount questions), `normal` (e.g. the system is impaired), `high` (e.g. a production workflow or business process is impaired), `urgent` (e.g. a production workflow or business process is down), `critical` (e.g. a business-critical workflow or business process is down)
22
- * `email` (string): Email address of the user requesting support.
23
-
24
-
25
- ---
26
-
27
- ## List Support Requests
28
-
29
- ```
30
- Files::SupportRequest.list(
31
- page: 1,
32
- per_page: 1
33
- )
34
- ```
35
-
36
- ### Parameters
37
-
38
- * `page` (int64): Current page number.
39
- * `per_page` (int64): Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
40
- * `action` (string): Deprecated: If set to `count` returns a count of matching records rather than the records themselves.
41
-
42
-
43
- ---
44
-
45
- ## Create Support Request
46
-
47
- ```
48
- Files::SupportRequest.create(
49
- customer_success_access: "`no`",
50
- email: "email",
51
- subject: "subject",
52
- comment: "comment",
53
- priority: "`low`"
54
- )
55
- ```
56
-
57
- ### Parameters
58
-
59
- * `customer_success_access` (string): Enable Customer Success access to your user account?
60
- * `email` (string): Required - Email address of the user requesting support.
61
- * `subject` (string): Required - Subject of the support request.
62
- * `comment` (string): Required - Main body of the support request.
63
- * `priority` (string): Priority. Can be `low` (e.g. general or billing/acount questions), `normal` (e.g. the system is impaired), `high` (e.g. a production workflow or business process is impaired), `urgent` (e.g. a production workflow or business process is down), `critical` (e.g. a business-critical workflow or business process is down)
64
-
65
-
66
- ---
67
-
68
- ## Update Support Request
69
-
70
- ```
71
- Files::SupportRequest.update(id,
72
- customer_success_access: "`no`"
73
- )
74
- ```
75
-
76
- ### Parameters
77
-
78
- * `id` (int64): Required - Support Request ID.
79
- * `customer_success_access` (string): Enable Customer Success access to your user account?
80
-
81
-
82
- ---
83
-
84
- ## Update Support Request
85
-
86
- ```
87
- support_request = Files::SupportRequest.find(1)
88
- support_request.update(
89
- customer_success_access: "`no`"
90
- )
91
- ```
92
-
93
- ### Parameters
94
-
95
- * `id` (int64): Required - Support Request ID.
96
- * `customer_success_access` (string): Enable Customer Success access to your user account?
@@ -1,152 +0,0 @@
1
- # TwoFactorAuthenticationMethod
2
-
3
- ## Example TwoFactorAuthenticationMethod Object
4
-
5
- ```
6
- {
7
- "id": 1,
8
- "method_type": "sms",
9
- "name": "My Verizon Phone",
10
- "phone_number": "+15555555555",
11
- "phone_number_country": "US",
12
- "phone_number_national_format": "+15555555555",
13
- "setup_expired": true,
14
- "setup_complete": true,
15
- "setup_expires_at": "2000-01-01 01:00:00 UTC",
16
- "totp_provisioning_uri": "https://...",
17
- "u2f_app_id": "app id",
18
- "u2f_registration_requests": [
19
-
20
- ]
21
- }
22
- ```
23
-
24
- * `id` (int64): 2fa ID
25
- * `method_type` (string): Type of 2fa
26
- * `name` (string): 2fa method name
27
- * `phone_number` (string): 2fa phone number (if SMS)
28
- * `phone_number_country` (string): 2fa phone number country (if SMS)
29
- * `phone_number_national_format` (string): 2fa phone number national format (if SMS)
30
- * `setup_expired` (boolean): 2fa setup expired?
31
- * `setup_complete` (boolean): 2fa setup complete?
32
- * `setup_expires_at` (date-time): 2fa setup expires at this date/time (typically 10 minutes after a new method is created)
33
- * `totp_provisioning_uri` (string): TOTP provisioning URI (if TOTP)
34
- * `u2f_app_id` (string): U2F app ID (if U2F)
35
- * `u2f_registration_requests` (array): U2F registration requests (if U2F)
36
- * `otp` (string): Current value of OTP, Yubikey string, or U2F response value. U2F response value requires a json stringified object containing fields `clientData`, `keyHandle`, and `signatureData`.
37
-
38
-
39
- ---
40
-
41
- ## List current user's 2FA methods
42
-
43
- ```
44
- Files::TwoFactorAuthenticationMethod.get(
45
- page: 1,
46
- per_page: 1
47
- )
48
- ```
49
-
50
- ### Parameters
51
-
52
- * `page` (int64): Current page number.
53
- * `per_page` (int64): Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
54
- * `action` (string): Deprecated: If set to `count` returns a count of matching records rather than the records themselves.
55
-
56
-
57
- ---
58
-
59
- ## Create 2FA method on current user
60
-
61
- ```
62
- Files::TwoFactorAuthenticationMethod.create(
63
- method_type: "sms",
64
- name: "My Verizon Phone",
65
- phone_number: "+15555555555"
66
- )
67
- ```
68
-
69
- ### Parameters
70
-
71
- * `method_type` (string): Required - Type of 2fa
72
- * `name` (string): 2fa method name
73
- * `phone_number` (string): 2fa phone number (if SMS)
74
-
75
-
76
- ---
77
-
78
- ## Generate (and send if applicable) a one time password for current user's primary 2FA method
79
-
80
- ```
81
- Files::TwoFactorAuthenticationMethod.send_code(
82
- u2f_only: true
83
- )
84
- ```
85
-
86
- ### Parameters
87
-
88
- * `u2f_only` (boolean): Set to `true` to only generate an OTP for U2F (FIDO) keys and skip things like SMS.
89
-
90
-
91
- ---
92
-
93
- ## Update 2fa
94
-
95
- ```
96
- Files::TwoFactorAuthenticationMethod.update(id,
97
- otp: "123456",
98
- name: "My Verizon Phone"
99
- )
100
- ```
101
-
102
- ### Parameters
103
-
104
- * `id` (int64): Required - 2fa ID.
105
- * `otp` (string): Current value of OTP, Yubikey string, or U2F response value. U2F response value requires a json stringified object containing fields `clientData`, `keyHandle`, and `signatureData`.
106
- * `name` (string): 2fa method name
107
-
108
-
109
- ---
110
-
111
- ## Delete 2fa
112
-
113
- ```
114
- Files::TwoFactorAuthenticationMethod.delete(id)
115
- ```
116
-
117
- ### Parameters
118
-
119
- * `id` (int64): Required - 2fa ID.
120
-
121
-
122
- ---
123
-
124
- ## Update 2fa
125
-
126
- ```
127
- two_factor_authentication_method = Files::TwoFactorAuthenticationMethod.find(1)
128
- two_factor_authentication_method.update(
129
- otp: "123456",
130
- name: "My Verizon Phone"
131
- )
132
- ```
133
-
134
- ### Parameters
135
-
136
- * `id` (int64): Required - 2fa ID.
137
- * `otp` (string): Current value of OTP, Yubikey string, or U2F response value. U2F response value requires a json stringified object containing fields `clientData`, `keyHandle`, and `signatureData`.
138
- * `name` (string): 2fa method name
139
-
140
-
141
- ---
142
-
143
- ## Delete 2fa
144
-
145
- ```
146
- two_factor_authentication_method = Files::TwoFactorAuthenticationMethod.find(1)
147
- two_factor_authentication_method.delete
148
- ```
149
-
150
- ### Parameters
151
-
152
- * `id` (int64): Required - 2fa ID.