files.com 1.0.217 → 1.0.219

Sign up to get free protection for your applications and to get access to all the features.
Files changed (52) hide show
  1. package/_VERSION +1 -1
  2. package/docs/models/AccountLineItem.md +3 -19
  3. package/docs/models/ActionNotificationExport.md +1 -1
  4. package/docs/models/ApiKey.md +4 -2
  5. package/docs/models/App.md +17 -15
  6. package/docs/models/As2IncomingMessage.md +29 -25
  7. package/docs/models/As2OutgoingMessage.md +24 -20
  8. package/docs/models/As2Partner.md +15 -14
  9. package/docs/models/As2Station.md +18 -18
  10. package/docs/models/Automation.md +28 -40
  11. package/docs/models/Behavior.md +17 -12
  12. package/docs/models/Bundle.md +8 -66
  13. package/docs/models/BundleDownload.md +2 -2
  14. package/docs/models/BundleRegistration.md +5 -3
  15. package/docs/models/Clickwrap.md +12 -6
  16. package/docs/models/DnsRecord.md +1 -1
  17. package/docs/models/ExternalEvent.md +7 -7
  18. package/docs/models/File.md +16 -28
  19. package/docs/models/FileAction.md +1 -1
  20. package/docs/models/FileComment.md +2 -8
  21. package/docs/models/FileUploadPart.md +11 -5
  22. package/docs/models/Folder.md +1 -7
  23. package/docs/models/FormFieldSet.md +4 -30
  24. package/docs/models/Group.md +6 -4
  25. package/docs/models/GroupUser.md +2 -2
  26. package/docs/models/HistoryExport.md +1 -1
  27. package/docs/models/InboxRegistration.md +5 -3
  28. package/docs/models/InboxUpload.md +2 -2
  29. package/docs/models/Invoice.md +3 -19
  30. package/docs/models/Lock.md +1 -1
  31. package/docs/models/Message.md +2 -20
  32. package/docs/models/MessageComment.md +2 -8
  33. package/docs/models/Notification.md +4 -4
  34. package/docs/models/Payment.md +3 -19
  35. package/docs/models/Permission.md +4 -2
  36. package/docs/models/PublicIpAddress.md +2 -2
  37. package/docs/models/RemoteServer.md +12 -6
  38. package/docs/models/Request.md +6 -5
  39. package/docs/models/SettingsChange.md +1 -1
  40. package/docs/models/SftpHostKey.md +8 -10
  41. package/docs/models/Site.md +47 -114
  42. package/docs/models/SsoStrategy.md +12 -12
  43. package/docs/models/Status.md +4 -11
  44. package/docs/models/Style.md +4 -4
  45. package/docs/models/UsageDailySnapshot.md +11 -9
  46. package/docs/models/UsageSnapshot.md +3 -1
  47. package/docs/models/User.md +16 -12
  48. package/docs/models/UserRequest.md +1 -1
  49. package/docs/models/WebhookTest.md +4 -4
  50. package/lib/models/Site.js +104 -87
  51. package/package.json +1 -1
  52. package/src/models/Site.js +16 -0
@@ -16,7 +16,7 @@
16
16
  "pinned_region": "us-east-1",
17
17
  "s3_bucket": "my-bucket",
18
18
  "s3_region": "us-east-1",
19
- "aws_access_key": "",
19
+ "aws_access_key": "example",
20
20
  "server_certificate": "require_match",
21
21
  "server_host_key": "[public key]",
22
22
  "server_type": "s3",
@@ -28,7 +28,7 @@
28
28
  "backblaze_b2_bucket": "my-bucket",
29
29
  "wasabi_bucket": "my-bucket",
30
30
  "wasabi_region": "us-west-1",
31
- "wasabi_access_key": "",
31
+ "wasabi_access_key": "example",
32
32
  "rackspace_username": "rackspaceuser",
33
33
  "rackspace_region": "dfw",
34
34
  "rackspace_container": "my-container",
@@ -45,7 +45,7 @@
45
45
  "s3_compatible_bucket": "my-bucket",
46
46
  "s3_compatible_endpoint": "mys3platform.com",
47
47
  "s3_compatible_region": "us-east-1",
48
- "s3_compatible_access_key": "",
48
+ "s3_compatible_access_key": "example",
49
49
  "enable_dedicated_ips": true
50
50
  }
51
51
  ```
@@ -143,6 +143,8 @@ await RemoteServer.find(id)
143
143
 
144
144
  ```
145
145
  await RemoteServer.create({
146
+ 'aws_access_key': "example",
147
+ 'wasabi_access_key': "example",
146
148
  'reset_authentication': true,
147
149
  'hostname': "remote-server.com",
148
150
  'name': "My Remote server",
@@ -176,6 +178,7 @@ await RemoteServer.create({
176
178
  's3_compatible_endpoint': "mys3platform.com",
177
179
  's3_compatible_region': "us-east-1",
178
180
  'enable_dedicated_ips': true,
181
+ 's3_compatible_access_key': "example",
179
182
  })
180
183
  ```
181
184
 
@@ -240,6 +243,8 @@ await RemoteServer.create({
240
243
  const [remote_server] = await RemoteServer.list()
241
244
 
242
245
  await remote_server.update({
246
+ 'aws_access_key': "example",
247
+ 'wasabi_access_key': "example",
243
248
  'reset_authentication': true,
244
249
  'hostname': "remote-server.com",
245
250
  'name': "My Remote server",
@@ -273,6 +278,7 @@ await remote_server.update({
273
278
  's3_compatible_endpoint': "mys3platform.com",
274
279
  's3_compatible_region': "us-east-1",
275
280
  'enable_dedicated_ips': true,
281
+ 's3_compatible_access_key': "example",
276
282
  })
277
283
  ```
278
284
 
@@ -345,7 +351,7 @@ await remote_server.update({
345
351
  "pinned_region": "us-east-1",
346
352
  "s3_bucket": "my-bucket",
347
353
  "s3_region": "us-east-1",
348
- "aws_access_key": "",
354
+ "aws_access_key": "example",
349
355
  "server_certificate": "require_match",
350
356
  "server_host_key": "[public key]",
351
357
  "server_type": "s3",
@@ -357,7 +363,7 @@ await remote_server.update({
357
363
  "backblaze_b2_bucket": "my-bucket",
358
364
  "wasabi_bucket": "my-bucket",
359
365
  "wasabi_region": "us-west-1",
360
- "wasabi_access_key": "",
366
+ "wasabi_access_key": "example",
361
367
  "rackspace_username": "rackspaceuser",
362
368
  "rackspace_region": "dfw",
363
369
  "rackspace_container": "my-container",
@@ -374,7 +380,7 @@ await remote_server.update({
374
380
  "s3_compatible_bucket": "my-bucket",
375
381
  "s3_compatible_endpoint": "mys3platform.com",
376
382
  "s3_compatible_region": "us-east-1",
377
- "s3_compatible_access_key": "",
383
+ "s3_compatible_access_key": "example",
378
384
  "enable_dedicated_ips": true
379
385
  }
380
386
  ```
@@ -5,11 +5,11 @@
5
5
  ```
6
6
  {
7
7
  "id": 1,
8
- "path": "",
9
- "source": "",
10
- "destination": "",
11
- "automation_id": "",
12
- "user_display_name": ""
8
+ "path": "example",
9
+ "source": "example",
10
+ "destination": "example",
11
+ "automation_id": "example",
12
+ "user_display_name": "example"
13
13
  }
14
14
  ```
15
15
 
@@ -30,6 +30,7 @@
30
30
  await Request.list({
31
31
  'per_page': 1,
32
32
  'mine': true,
33
+ 'path': "example",
33
34
  })
34
35
  ```
35
36
 
@@ -5,7 +5,7 @@
5
5
  ```
6
6
  {
7
7
  "changes": [
8
- ""
8
+ "example"
9
9
  ],
10
10
  "created_at": "2000-01-01T01:00:00Z",
11
11
  "user_id": 1,
@@ -5,9 +5,9 @@
5
5
  ```
6
6
  {
7
7
  "id": 1,
8
- "name": "",
9
- "fingerprint_md5": "",
10
- "fingerprint_sha256": ""
8
+ "name": "example",
9
+ "fingerprint_md5": "example",
10
+ "fingerprint_sha256": "example"
11
11
  }
12
12
  ```
13
13
 
@@ -52,8 +52,7 @@ await SftpHostKey.find(id)
52
52
 
53
53
  ```
54
54
  await SftpHostKey.create({
55
- 'name': "",
56
- 'private_key': "",
55
+ 'name': "example",
57
56
  })
58
57
  ```
59
58
 
@@ -71,8 +70,7 @@ await SftpHostKey.create({
71
70
  const [sftp_host_key] = await SftpHostKey.list()
72
71
 
73
72
  await sftp_host_key.update({
74
- 'name': "",
75
- 'private_key': "",
73
+ 'name': "example",
76
74
  })
77
75
  ```
78
76
 
@@ -87,9 +85,9 @@ await sftp_host_key.update({
87
85
  ```json
88
86
  {
89
87
  "id": 1,
90
- "name": "",
91
- "fingerprint_md5": "",
92
- "fingerprint_sha256": ""
88
+ "name": "example",
89
+ "fingerprint_md5": "example",
90
+ "fingerprint_sha256": "example"
93
91
  }
94
92
  ```
95
93
 
@@ -14,16 +14,15 @@
14
14
  "admin_user_id": 1,
15
15
  "allow_bundle_names": true,
16
16
  "allowed_countries": "US,DE",
17
- "allowed_ips": "",
17
+ "allowed_ips": "example",
18
18
  "ask_about_overwrites": true,
19
19
  "bundle_expiration": 1,
20
20
  "bundle_password_required": true,
21
21
  "bundle_require_share_recipient": true,
22
- "bundle_watermark_attachment": {
23
- "name": "My logo",
24
- "uri": "https://mysite.files.com/.../my_image.png"
22
+ "bundle_watermark_attachment": "",
23
+ "bundle_watermark_value": {
24
+ "key": "example value"
25
25
  },
26
- "bundle_watermark_value": "",
27
26
  "color2_left": "#0066a7",
28
27
  "color2_link": "#d34f5d",
29
28
  "color2_text": "#0066a7",
@@ -47,39 +46,27 @@
47
46
  "disable_password_reset": true,
48
47
  "domain": "my-custom-domain.com",
49
48
  "domain_hsts_header": true,
50
- "domain_letsencrypt_chain": "",
51
- "email": "john.doe@files.com",
49
+ "domain_letsencrypt_chain": "example",
50
+ "email": "example",
52
51
  "ftp_enabled": true,
53
- "reply_to_email": "jane.doe@files.com",
52
+ "reply_to_email": "example",
54
53
  "non_sso_groups_allowed": true,
55
54
  "non_sso_users_allowed": true,
56
55
  "folder_permissions_groups_only": true,
57
56
  "hipaa": true,
58
- "icon128": {
59
- "name": "My logo",
60
- "uri": "https://mysite.files.com/.../my_image.png"
61
- },
62
- "icon16": {
63
- "name": "My logo",
64
- "uri": "https://mysite.files.com/.../my_image.png"
65
- },
66
- "icon32": {
67
- "name": "My logo",
68
- "uri": "https://mysite.files.com/.../my_image.png"
69
- },
70
- "icon48": {
71
- "name": "My logo",
72
- "uri": "https://mysite.files.com/.../my_image.png"
73
- },
57
+ "icon128": "",
58
+ "icon16": "",
59
+ "icon32": "",
60
+ "icon48": "",
74
61
  "immutable_files_set_at": "2000-01-01T01:00:00Z",
75
62
  "include_password_in_welcome_email": true,
76
63
  "language": "en",
77
- "ldap_base_dn": "",
64
+ "ldap_base_dn": "example",
78
65
  "ldap_domain": "mysite.com",
79
66
  "ldap_enabled": true,
80
67
  "ldap_group_action": "disabled",
81
- "ldap_group_exclusion": "",
82
- "ldap_group_inclusion": "",
68
+ "ldap_group_exclusion": "example",
69
+ "ldap_group_inclusion": "example",
83
70
  "ldap_host": "ldap.site.com",
84
71
  "ldap_host_2": "ldap2.site.com",
85
72
  "ldap_host_3": "ldap3.site.com",
@@ -87,15 +74,15 @@
87
74
  "ldap_secure": true,
88
75
  "ldap_type": "open_ldap",
89
76
  "ldap_user_action": "disabled",
90
- "ldap_user_include_groups": "",
77
+ "ldap_user_include_groups": "example",
91
78
  "ldap_username": "[ldap username]",
92
79
  "ldap_username_field": "sAMAccountName",
93
80
  "login_help_text": "Login page help text.",
94
- "logo": {
95
- "name": "My logo",
96
- "uri": "https://mysite.files.com/.../my_image.png"
97
- },
81
+ "logo": "",
98
82
  "max_prior_passwords": 1,
83
+ "motd_text": "example",
84
+ "motd_use_for_ftp": true,
85
+ "motd_use_for_sftp": true,
99
86
  "next_billing_amount": 1.0,
100
87
  "next_billing_date": "Apr 20",
101
88
  "office_integration_available": true,
@@ -117,36 +104,15 @@
117
104
  "require_2fa": true,
118
105
  "require_2fa_stop_time": "2000-01-01T01:00:00Z",
119
106
  "require_2fa_user_type": "`site_admins`",
120
- "session": {
121
- "id": "60525f92e859c4c3d74cb02fd176b1525901b525",
122
- "language": "en",
123
- "login_token": "@tok-randomcode",
124
- "login_token_domain": "https://mysite.files.com",
125
- "max_dir_listing_size": false,
126
- "multiple_regions": true,
127
- "read_only": true,
128
- "root_path": "",
129
- "sftp_insecure_ciphers": false,
130
- "site_id": 1,
131
- "ssl_required": true,
132
- "tls_disabled": false,
133
- "two_factor_setup_needed": false,
134
- "allowed_2fa_method_sms": true,
135
- "allowed_2fa_method_totp": true,
136
- "allowed_2fa_method_u2f": true,
137
- "allowed_2fa_method_webauthn": true,
138
- "allowed_2fa_method_yubi": true,
139
- "use_provided_modified_at": true,
140
- "windows_mode_ftp": false
141
- },
107
+ "session": "",
142
108
  "session_pinned_by_ip": true,
143
109
  "sftp_enabled": true,
144
110
  "sftp_insecure_ciphers": true,
145
111
  "sftp_user_root_enabled": true,
146
112
  "sharing_enabled": true,
147
113
  "show_request_access_link": true,
148
- "site_footer": "",
149
- "site_header": "",
114
+ "site_footer": "example",
115
+ "site_header": "example",
150
116
  "smtp_address": "smtp.my-mail-server.com",
151
117
  "smtp_authentication": "plain",
152
118
  "smtp_from": "me@my-mail-server.com",
@@ -161,60 +127,7 @@
161
127
  "trial_until": "2000-01-01T01:00:00Z",
162
128
  "updated_at": "2000-01-01T01:00:00Z",
163
129
  "use_provided_modified_at": true,
164
- "user": {
165
- "id": 1,
166
- "username": "user",
167
- "admin_group_ids": [
168
- 1
169
- ],
170
- "allowed_ips": "127.0.0.1",
171
- "attachments_permission": true,
172
- "api_keys_count": 1,
173
- "authenticate_until": "2000-01-01T01:00:00Z",
174
- "authentication_method": "password",
175
- "avatar_url": "",
176
- "billing_permission": false,
177
- "bypass_site_allowed_ips": false,
178
- "bypass_inactive_disable": false,
179
- "created_at": "2000-01-01T01:00:00Z",
180
- "dav_permission": true,
181
- "disabled": true,
182
- "email": "john.doe@files.com",
183
- "first_login_at": "2000-01-01T01:00:00Z",
184
- "ftp_permission": true,
185
- "group_ids": "",
186
- "header_text": "User-specific message.",
187
- "language": "en",
188
- "last_login_at": "2000-01-01T01:00:00Z",
189
- "last_protocol_cipher": "",
190
- "lockout_expires": "2000-01-01T01:00:00Z",
191
- "name": "John Doe",
192
- "company": "ACME Corp.",
193
- "notes": "Internal notes on this user.",
194
- "notification_daily_send_time": 18,
195
- "office_integration_enabled": true,
196
- "password_set_at": "2000-01-01T01:00:00Z",
197
- "password_validity_days": 1,
198
- "public_keys_count": 1,
199
- "receive_admin_alerts": true,
200
- "require_2fa": "always_require",
201
- "active_2fa": true,
202
- "require_password_change": true,
203
- "password_expired": true,
204
- "restapi_permission": true,
205
- "self_managed": true,
206
- "sftp_permission": true,
207
- "site_admin": true,
208
- "skip_welcome_screen": true,
209
- "ssl_required": "always_require",
210
- "sso_strategy_id": 1,
211
- "subscribe_to_newsletter": true,
212
- "externally_managed": true,
213
- "time_zone": "Pacific Time (US & Canada)",
214
- "type_of_2fa": "yubi",
215
- "updated_at": "2000-01-01T01:00:00Z",
216
- "user_root": ""
217
- },
130
+ "user": "",
218
131
  "user_lockout": true,
219
132
  "user_lockout_lock_period": 1,
220
133
  "user_lockout_tries": 1,
@@ -222,8 +135,8 @@
222
135
  "user_requests_enabled": true,
223
136
  "user_requests_notify_admins": true,
224
137
  "welcome_custom_text": "Welcome to my site!",
225
- "welcome_email_cc": "",
226
- "welcome_email_subject": "",
138
+ "welcome_email_cc": "example",
139
+ "welcome_email_subject": "example",
227
140
  "welcome_email_enabled": true,
228
141
  "welcome_screen": "user_controlled",
229
142
  "windows_mode_ftp": true,
@@ -305,6 +218,9 @@
305
218
  * `login_help_text` (string): Login help text
306
219
  * `logo` (Image): Branded logo
307
220
  * `max_prior_passwords` (int64): Number of prior passwords to disallow
221
+ * `motd_text` (string): A message to show users when they connect via FTP or SFTP.
222
+ * `motd_use_for_ftp` (boolean): Show message to users connecting via FTP
223
+ * `motd_use_for_sftp` (boolean): Show message to users connecting via SFTP
308
224
  * `next_billing_amount` (double): Next billing amount
309
225
  * `next_billing_date` (string): Next billing date
310
226
  * `office_integration_available` (boolean): Allow users to use Office for the web?
@@ -392,14 +308,17 @@ await Site.update({
392
308
  'subdomain': "mysite",
393
309
  'domain': "my-custom-domain.com",
394
310
  'domain_hsts_header': true,
395
- 'email': "john.doe@files.com",
396
- 'reply_to_email': "jane.doe@files.com",
311
+ 'domain_letsencrypt_chain': "example",
312
+ 'email': "example",
313
+ 'reply_to_email': "example",
397
314
  'allow_bundle_names': true,
398
315
  'bundle_expiration': 1,
399
316
  'overage_notify': true,
400
317
  'welcome_email_enabled': true,
401
318
  'ask_about_overwrites': true,
402
319
  'show_request_access_link': true,
320
+ 'welcome_email_cc': "example",
321
+ 'welcome_email_subject': "example",
403
322
  'welcome_custom_text': "Welcome to my site!",
404
323
  'language': "en",
405
324
  'windows_mode_ftp': true,
@@ -414,6 +333,9 @@ await Site.update({
414
333
  'welcome_screen': "user_controlled",
415
334
  'office_integration_available': true,
416
335
  'pin_all_remote_servers_to_site_region': true,
336
+ 'motd_text': "example",
337
+ 'motd_use_for_ftp': true,
338
+ 'motd_use_for_sftp': true,
417
339
  'session_expiry': 1.0,
418
340
  'ssl_required': true,
419
341
  'tls_disabled': true,
@@ -425,6 +347,7 @@ await Site.update({
425
347
  'user_lockout_lock_period': 1,
426
348
  'include_password_in_welcome_email': true,
427
349
  'allowed_countries': "US,DE",
350
+ 'allowed_ips': "example",
428
351
  'disallowed_countries': "US,DE",
429
352
  'days_to_retain_backups': 1,
430
353
  'max_prior_passwords': 1,
@@ -453,6 +376,7 @@ await Site.update({
453
376
  'user_requests_notify_admins': true,
454
377
  'ftp_enabled': true,
455
378
  'sftp_enabled': true,
379
+ 'bundle_watermark_value': {"key":"example value"},
456
380
  'allowed_2fa_method_sms': true,
457
381
  'allowed_2fa_method_u2f': true,
458
382
  'allowed_2fa_method_totp': true,
@@ -466,6 +390,8 @@ await Site.update({
466
390
  'color2_link': "#d34f5d",
467
391
  'color2_text': "#0066a7",
468
392
  'color2_top_text': "#ffffff",
393
+ 'site_header': "example",
394
+ 'site_footer': "example",
469
395
  'login_help_text': "Login page help text.",
470
396
  'smtp_address': "smtp.my-mail-server.com",
471
397
  'smtp_authentication': "plain",
@@ -484,6 +410,10 @@ await Site.update({
484
410
  'ldap_domain': "mysite.com",
485
411
  'ldap_user_action': "disabled",
486
412
  'ldap_group_action': "disabled",
413
+ 'ldap_user_include_groups': "example",
414
+ 'ldap_group_exclusion': "example",
415
+ 'ldap_group_inclusion': "example",
416
+ 'ldap_base_dn': "example",
487
417
  'icon16_delete': true,
488
418
  'icon32_delete': true,
489
419
  'icon48_delete': true,
@@ -526,6 +456,9 @@ await Site.update({
526
456
  * `welcome_screen` (string): Does the welcome screen appear?
527
457
  * `office_integration_available` (boolean): Allow users to use Office for the web?
528
458
  * `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.
459
+ * `motd_text` (string): A message to show users when they connect via FTP or SFTP.
460
+ * `motd_use_for_ftp` (boolean): Show message to users connecting via FTP
461
+ * `motd_use_for_sftp` (boolean): Show message to users connecting via SFTP
529
462
  * `session_expiry` (double): Session expiry in hours
530
463
  * `ssl_required` (boolean): Is SSL required? Disabling this is insecure.
531
464
  * `tls_disabled` (boolean): Are Insecure TLS and SFTP Ciphers allowed? Enabling this is insecure.
@@ -9,16 +9,16 @@
9
9
  "label": "My Corporate SSO Provider",
10
10
  "logo_url": "https://mysite.files.com/.../logo.png",
11
11
  "id": 1,
12
- "saml_provider_cert_fingerprint": "",
13
- "saml_provider_issuer_url": "",
14
- "saml_provider_metadata_content": "",
15
- "saml_provider_metadata_url": "",
16
- "saml_provider_slo_target_url": "",
17
- "saml_provider_sso_target_url": "",
18
- "scim_authentication_method": "",
19
- "scim_username": "",
20
- "scim_oauth_access_token": "",
21
- "scim_oauth_access_token_expires_at": "",
12
+ "saml_provider_cert_fingerprint": "example",
13
+ "saml_provider_issuer_url": "example",
14
+ "saml_provider_metadata_content": "example",
15
+ "saml_provider_metadata_url": "example",
16
+ "saml_provider_slo_target_url": "example",
17
+ "saml_provider_sso_target_url": "example",
18
+ "scim_authentication_method": "example",
19
+ "scim_username": "example",
20
+ "scim_oauth_access_token": "example",
21
+ "scim_oauth_access_token_expires_at": "example",
22
22
  "subdomain": "my-site",
23
23
  "provision_users": true,
24
24
  "provision_groups": true,
@@ -28,7 +28,7 @@
28
28
  "provision_group_default": "Employees",
29
29
  "provision_group_exclusion": "Employees",
30
30
  "provision_group_inclusion": "Employees",
31
- "provision_group_required": "",
31
+ "provision_group_required": "example",
32
32
  "provision_email_signup_groups": "Employees",
33
33
  "provision_site_admin_groups": "Employees",
34
34
  "provision_attachments_permission": true,
@@ -37,7 +37,7 @@
37
37
  "provision_sftp_permission": true,
38
38
  "provision_time_zone": "Eastern Time (US & Canada)",
39
39
  "provision_company": "ACME Corp.",
40
- "ldap_base_dn": "",
40
+ "ldap_base_dn": "example",
41
41
  "ldap_domain": "mysite.com",
42
42
  "enabled": true,
43
43
  "ldap_host": "ldap.site.com",
@@ -5,21 +5,14 @@
5
5
  ```
6
6
  {
7
7
  "code": 200,
8
- "message": "",
8
+ "message": "example",
9
9
  "status": "",
10
- "data": "",
10
+ "data": "example",
11
11
  "errors": [
12
- {
13
- "fields": [
14
-
15
- ],
16
- "messages": [
17
-
18
- ]
19
- }
12
+ null
20
13
  ],
21
14
  "clickwrap_id": 1,
22
- "clickwrap_body": ""
15
+ "clickwrap_body": "example"
23
16
  }
24
17
  ```
25
18
 
@@ -5,9 +5,9 @@
5
5
  ```
6
6
  {
7
7
  "id": 1,
8
- "path": "",
8
+ "path": "example",
9
9
  "logo": "https://mysite.files.com/...",
10
- "thumbnail": ""
10
+ "thumbnail": "example"
11
11
  }
12
12
  ```
13
13
 
@@ -53,9 +53,9 @@ await style.update({
53
53
  ```json
54
54
  {
55
55
  "id": 1,
56
- "path": "",
56
+ "path": "example",
57
57
  "logo": "https://mysite.files.com/...",
58
- "thumbnail": ""
58
+ "thumbnail": "example"
59
59
  }
60
60
  ```
61
61
 
@@ -5,16 +5,18 @@
5
5
  ```
6
6
  {
7
7
  "id": 1,
8
- "date": "2020-11-21",
8
+ "date": "2000-01-01T01:00:00Z",
9
9
  "api_usage_available": true,
10
- "read_api_usage": "100",
11
- "write_api_usage": "50",
12
- "user_count": "25",
13
- "current_storage": "65536",
14
- "deleted_files_storage": "65536",
15
- "deleted_files_counted_in_minimum": "65536",
16
- "root_storage": "65536",
17
- "usage_by_top_level_dir": ""
10
+ "read_api_usage": 1,
11
+ "write_api_usage": 1,
12
+ "user_count": 1,
13
+ "current_storage": 1,
14
+ "deleted_files_storage": 1,
15
+ "deleted_files_counted_in_minimum": 1,
16
+ "root_storage": 1,
17
+ "usage_by_top_level_dir": {
18
+ "key": "example value"
19
+ }
18
20
  }
19
21
  ```
20
22
 
@@ -14,7 +14,9 @@
14
14
  "total_downloads": 1,
15
15
  "total_uploads": 1,
16
16
  "updated_at": "2000-01-01T01:00:00Z",
17
- "usage_by_top_level_dir": "",
17
+ "usage_by_top_level_dir": {
18
+ "key": "example value"
19
+ },
18
20
  "root_storage": 1.0,
19
21
  "deleted_files_counted_in_minimum": 1.0,
20
22
  "deleted_files_storage": 1.0,