files.com 1.0.218 → 1.0.219
Sign up to get free protection for your applications and to get access to all the features.
- package/_VERSION +1 -1
- package/docs/models/AccountLineItem.md +3 -19
- package/docs/models/ActionNotificationExport.md +1 -1
- package/docs/models/ApiKey.md +4 -2
- package/docs/models/App.md +17 -15
- package/docs/models/As2IncomingMessage.md +29 -25
- package/docs/models/As2OutgoingMessage.md +24 -20
- package/docs/models/As2Partner.md +15 -14
- package/docs/models/As2Station.md +18 -18
- package/docs/models/Automation.md +28 -40
- package/docs/models/Behavior.md +17 -12
- package/docs/models/Bundle.md +8 -66
- package/docs/models/BundleDownload.md +2 -2
- package/docs/models/BundleRegistration.md +5 -3
- package/docs/models/Clickwrap.md +12 -6
- package/docs/models/DnsRecord.md +1 -1
- package/docs/models/ExternalEvent.md +7 -7
- package/docs/models/File.md +16 -28
- package/docs/models/FileAction.md +1 -1
- package/docs/models/FileComment.md +2 -8
- package/docs/models/FileUploadPart.md +11 -5
- package/docs/models/Folder.md +1 -7
- package/docs/models/FormFieldSet.md +4 -30
- package/docs/models/Group.md +6 -4
- package/docs/models/GroupUser.md +2 -2
- package/docs/models/HistoryExport.md +1 -1
- package/docs/models/InboxRegistration.md +5 -3
- package/docs/models/InboxUpload.md +2 -2
- package/docs/models/Invoice.md +3 -19
- package/docs/models/Lock.md +1 -1
- package/docs/models/Message.md +2 -20
- package/docs/models/MessageComment.md +2 -8
- package/docs/models/Notification.md +4 -4
- package/docs/models/Payment.md +3 -19
- package/docs/models/Permission.md +4 -2
- package/docs/models/PublicIpAddress.md +2 -2
- package/docs/models/RemoteServer.md +12 -6
- package/docs/models/Request.md +6 -5
- package/docs/models/SettingsChange.md +1 -1
- package/docs/models/SftpHostKey.md +8 -10
- package/docs/models/Site.md +37 -115
- package/docs/models/SsoStrategy.md +12 -12
- package/docs/models/Status.md +4 -11
- package/docs/models/Style.md +4 -4
- package/docs/models/UsageDailySnapshot.md +11 -9
- package/docs/models/UsageSnapshot.md +3 -1
- package/docs/models/User.md +16 -12
- package/docs/models/UserRequest.md +1 -1
- package/docs/models/WebhookTest.md +4 -4
- package/package.json +1 -1
@@ -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
|
```
|
package/docs/models/Request.md
CHANGED
@@ -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,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
|
|
package/docs/models/Site.md
CHANGED
@@ -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
|
-
|
24
|
-
"
|
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": "
|
49
|
+
"domain_letsencrypt_chain": "example",
|
50
|
+
"email": "example",
|
52
51
|
"ftp_enabled": true,
|
53
|
-
"reply_to_email": "
|
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
|
-
|
60
|
-
|
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,16 +74,13 @@
|
|
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,
|
99
|
-
"motd_text": "",
|
83
|
+
"motd_text": "example",
|
100
84
|
"motd_use_for_ftp": true,
|
101
85
|
"motd_use_for_sftp": true,
|
102
86
|
"next_billing_amount": 1.0,
|
@@ -120,36 +104,15 @@
|
|
120
104
|
"require_2fa": true,
|
121
105
|
"require_2fa_stop_time": "2000-01-01T01:00:00Z",
|
122
106
|
"require_2fa_user_type": "`site_admins`",
|
123
|
-
"session":
|
124
|
-
"id": "60525f92e859c4c3d74cb02fd176b1525901b525",
|
125
|
-
"language": "en",
|
126
|
-
"login_token": "@tok-randomcode",
|
127
|
-
"login_token_domain": "https://mysite.files.com",
|
128
|
-
"max_dir_listing_size": false,
|
129
|
-
"multiple_regions": true,
|
130
|
-
"read_only": true,
|
131
|
-
"root_path": "",
|
132
|
-
"sftp_insecure_ciphers": false,
|
133
|
-
"site_id": 1,
|
134
|
-
"ssl_required": true,
|
135
|
-
"tls_disabled": false,
|
136
|
-
"two_factor_setup_needed": false,
|
137
|
-
"allowed_2fa_method_sms": true,
|
138
|
-
"allowed_2fa_method_totp": true,
|
139
|
-
"allowed_2fa_method_u2f": true,
|
140
|
-
"allowed_2fa_method_webauthn": true,
|
141
|
-
"allowed_2fa_method_yubi": true,
|
142
|
-
"use_provided_modified_at": true,
|
143
|
-
"windows_mode_ftp": false
|
144
|
-
},
|
107
|
+
"session": "",
|
145
108
|
"session_pinned_by_ip": true,
|
146
109
|
"sftp_enabled": true,
|
147
110
|
"sftp_insecure_ciphers": true,
|
148
111
|
"sftp_user_root_enabled": true,
|
149
112
|
"sharing_enabled": true,
|
150
113
|
"show_request_access_link": true,
|
151
|
-
"site_footer": "",
|
152
|
-
"site_header": "",
|
114
|
+
"site_footer": "example",
|
115
|
+
"site_header": "example",
|
153
116
|
"smtp_address": "smtp.my-mail-server.com",
|
154
117
|
"smtp_authentication": "plain",
|
155
118
|
"smtp_from": "me@my-mail-server.com",
|
@@ -164,60 +127,7 @@
|
|
164
127
|
"trial_until": "2000-01-01T01:00:00Z",
|
165
128
|
"updated_at": "2000-01-01T01:00:00Z",
|
166
129
|
"use_provided_modified_at": true,
|
167
|
-
"user":
|
168
|
-
"id": 1,
|
169
|
-
"username": "user",
|
170
|
-
"admin_group_ids": [
|
171
|
-
1
|
172
|
-
],
|
173
|
-
"allowed_ips": "127.0.0.1",
|
174
|
-
"attachments_permission": true,
|
175
|
-
"api_keys_count": 1,
|
176
|
-
"authenticate_until": "2000-01-01T01:00:00Z",
|
177
|
-
"authentication_method": "password",
|
178
|
-
"avatar_url": "",
|
179
|
-
"billing_permission": false,
|
180
|
-
"bypass_site_allowed_ips": false,
|
181
|
-
"bypass_inactive_disable": false,
|
182
|
-
"created_at": "2000-01-01T01:00:00Z",
|
183
|
-
"dav_permission": true,
|
184
|
-
"disabled": true,
|
185
|
-
"email": "john.doe@files.com",
|
186
|
-
"first_login_at": "2000-01-01T01:00:00Z",
|
187
|
-
"ftp_permission": true,
|
188
|
-
"group_ids": "",
|
189
|
-
"header_text": "User-specific message.",
|
190
|
-
"language": "en",
|
191
|
-
"last_login_at": "2000-01-01T01:00:00Z",
|
192
|
-
"last_protocol_cipher": "",
|
193
|
-
"lockout_expires": "2000-01-01T01:00:00Z",
|
194
|
-
"name": "John Doe",
|
195
|
-
"company": "ACME Corp.",
|
196
|
-
"notes": "Internal notes on this user.",
|
197
|
-
"notification_daily_send_time": 18,
|
198
|
-
"office_integration_enabled": true,
|
199
|
-
"password_set_at": "2000-01-01T01:00:00Z",
|
200
|
-
"password_validity_days": 1,
|
201
|
-
"public_keys_count": 1,
|
202
|
-
"receive_admin_alerts": true,
|
203
|
-
"require_2fa": "always_require",
|
204
|
-
"active_2fa": true,
|
205
|
-
"require_password_change": true,
|
206
|
-
"password_expired": true,
|
207
|
-
"restapi_permission": true,
|
208
|
-
"self_managed": true,
|
209
|
-
"sftp_permission": true,
|
210
|
-
"site_admin": true,
|
211
|
-
"skip_welcome_screen": true,
|
212
|
-
"ssl_required": "always_require",
|
213
|
-
"sso_strategy_id": 1,
|
214
|
-
"subscribe_to_newsletter": true,
|
215
|
-
"externally_managed": true,
|
216
|
-
"time_zone": "Pacific Time (US & Canada)",
|
217
|
-
"type_of_2fa": "yubi",
|
218
|
-
"updated_at": "2000-01-01T01:00:00Z",
|
219
|
-
"user_root": ""
|
220
|
-
},
|
130
|
+
"user": "",
|
221
131
|
"user_lockout": true,
|
222
132
|
"user_lockout_lock_period": 1,
|
223
133
|
"user_lockout_tries": 1,
|
@@ -225,8 +135,8 @@
|
|
225
135
|
"user_requests_enabled": true,
|
226
136
|
"user_requests_notify_admins": true,
|
227
137
|
"welcome_custom_text": "Welcome to my site!",
|
228
|
-
"welcome_email_cc": "",
|
229
|
-
"welcome_email_subject": "",
|
138
|
+
"welcome_email_cc": "example",
|
139
|
+
"welcome_email_subject": "example",
|
230
140
|
"welcome_email_enabled": true,
|
231
141
|
"welcome_screen": "user_controlled",
|
232
142
|
"windows_mode_ftp": true,
|
@@ -398,14 +308,17 @@ await Site.update({
|
|
398
308
|
'subdomain': "mysite",
|
399
309
|
'domain': "my-custom-domain.com",
|
400
310
|
'domain_hsts_header': true,
|
401
|
-
'
|
402
|
-
'
|
311
|
+
'domain_letsencrypt_chain': "example",
|
312
|
+
'email': "example",
|
313
|
+
'reply_to_email': "example",
|
403
314
|
'allow_bundle_names': true,
|
404
315
|
'bundle_expiration': 1,
|
405
316
|
'overage_notify': true,
|
406
317
|
'welcome_email_enabled': true,
|
407
318
|
'ask_about_overwrites': true,
|
408
319
|
'show_request_access_link': true,
|
320
|
+
'welcome_email_cc': "example",
|
321
|
+
'welcome_email_subject': "example",
|
409
322
|
'welcome_custom_text': "Welcome to my site!",
|
410
323
|
'language': "en",
|
411
324
|
'windows_mode_ftp': true,
|
@@ -420,6 +333,7 @@ await Site.update({
|
|
420
333
|
'welcome_screen': "user_controlled",
|
421
334
|
'office_integration_available': true,
|
422
335
|
'pin_all_remote_servers_to_site_region': true,
|
336
|
+
'motd_text': "example",
|
423
337
|
'motd_use_for_ftp': true,
|
424
338
|
'motd_use_for_sftp': true,
|
425
339
|
'session_expiry': 1.0,
|
@@ -433,6 +347,7 @@ await Site.update({
|
|
433
347
|
'user_lockout_lock_period': 1,
|
434
348
|
'include_password_in_welcome_email': true,
|
435
349
|
'allowed_countries': "US,DE",
|
350
|
+
'allowed_ips': "example",
|
436
351
|
'disallowed_countries': "US,DE",
|
437
352
|
'days_to_retain_backups': 1,
|
438
353
|
'max_prior_passwords': 1,
|
@@ -461,6 +376,7 @@ await Site.update({
|
|
461
376
|
'user_requests_notify_admins': true,
|
462
377
|
'ftp_enabled': true,
|
463
378
|
'sftp_enabled': true,
|
379
|
+
'bundle_watermark_value': {"key":"example value"},
|
464
380
|
'allowed_2fa_method_sms': true,
|
465
381
|
'allowed_2fa_method_u2f': true,
|
466
382
|
'allowed_2fa_method_totp': true,
|
@@ -474,6 +390,8 @@ await Site.update({
|
|
474
390
|
'color2_link': "#d34f5d",
|
475
391
|
'color2_text': "#0066a7",
|
476
392
|
'color2_top_text': "#ffffff",
|
393
|
+
'site_header': "example",
|
394
|
+
'site_footer': "example",
|
477
395
|
'login_help_text': "Login page help text.",
|
478
396
|
'smtp_address': "smtp.my-mail-server.com",
|
479
397
|
'smtp_authentication': "plain",
|
@@ -492,6 +410,10 @@ await Site.update({
|
|
492
410
|
'ldap_domain': "mysite.com",
|
493
411
|
'ldap_user_action': "disabled",
|
494
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",
|
495
417
|
'icon16_delete': true,
|
496
418
|
'icon32_delete': true,
|
497
419
|
'icon48_delete': true,
|
@@ -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",
|
package/docs/models/Status.md
CHANGED
@@ -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
|
|
package/docs/models/Style.md
CHANGED
@@ -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": "
|
8
|
+
"date": "2000-01-01T01:00:00Z",
|
9
9
|
"api_usage_available": true,
|
10
|
-
"read_api_usage":
|
11
|
-
"write_api_usage":
|
12
|
-
"user_count":
|
13
|
-
"current_storage":
|
14
|
-
"deleted_files_storage":
|
15
|
-
"deleted_files_counted_in_minimum":
|
16
|
-
"root_storage":
|
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,
|
package/docs/models/User.md
CHANGED
@@ -14,21 +14,21 @@
|
|
14
14
|
"api_keys_count": 1,
|
15
15
|
"authenticate_until": "2000-01-01T01:00:00Z",
|
16
16
|
"authentication_method": "password",
|
17
|
-
"avatar_url": "",
|
17
|
+
"avatar_url": "example",
|
18
18
|
"billing_permission": true,
|
19
19
|
"bypass_site_allowed_ips": true,
|
20
20
|
"bypass_inactive_disable": true,
|
21
21
|
"created_at": "2000-01-01T01:00:00Z",
|
22
22
|
"dav_permission": true,
|
23
23
|
"disabled": true,
|
24
|
-
"email": "
|
24
|
+
"email": "example",
|
25
25
|
"first_login_at": "2000-01-01T01:00:00Z",
|
26
26
|
"ftp_permission": true,
|
27
|
-
"group_ids": "",
|
27
|
+
"group_ids": "example",
|
28
28
|
"header_text": "User-specific message.",
|
29
29
|
"language": "en",
|
30
30
|
"last_login_at": "2000-01-01T01:00:00Z",
|
31
|
-
"last_protocol_cipher": "",
|
31
|
+
"last_protocol_cipher": "example",
|
32
32
|
"lockout_expires": "2000-01-01T01:00:00Z",
|
33
33
|
"name": "John Doe",
|
34
34
|
"company": "ACME Corp.",
|
@@ -55,7 +55,7 @@
|
|
55
55
|
"time_zone": "Pacific Time (US & Canada)",
|
56
56
|
"type_of_2fa": "yubi",
|
57
57
|
"updated_at": "2000-01-01T01:00:00Z",
|
58
|
-
"user_root": ""
|
58
|
+
"user_root": "example"
|
59
59
|
}
|
60
60
|
```
|
61
61
|
|
@@ -172,8 +172,9 @@ await User.find(id)
|
|
172
172
|
```
|
173
173
|
await User.create({
|
174
174
|
'avatar_delete': true,
|
175
|
-
'email': "
|
175
|
+
'email': "example",
|
176
176
|
'group_id': 1,
|
177
|
+
'group_ids': "example",
|
177
178
|
'announcements_read': true,
|
178
179
|
'allowed_ips': "127.0.0.1",
|
179
180
|
'attachments_permission': true,
|
@@ -205,6 +206,7 @@ await User.create({
|
|
205
206
|
'subscribe_to_newsletter': true,
|
206
207
|
'require_2fa': "always_require",
|
207
208
|
'time_zone': "Pacific Time (US & Canada)",
|
209
|
+
'user_root': "example",
|
208
210
|
'username': "user",
|
209
211
|
})
|
210
212
|
```
|
@@ -311,8 +313,9 @@ const [user] = await User.list()
|
|
311
313
|
|
312
314
|
await user.update({
|
313
315
|
'avatar_delete': true,
|
314
|
-
'email': "
|
316
|
+
'email': "example",
|
315
317
|
'group_id': 1,
|
318
|
+
'group_ids': "example",
|
316
319
|
'announcements_read': true,
|
317
320
|
'allowed_ips': "127.0.0.1",
|
318
321
|
'attachments_permission': true,
|
@@ -344,6 +347,7 @@ await user.update({
|
|
344
347
|
'subscribe_to_newsletter': true,
|
345
348
|
'require_2fa': "always_require",
|
346
349
|
'time_zone': "Pacific Time (US & Canada)",
|
350
|
+
'user_root': "example",
|
347
351
|
'username': "user",
|
348
352
|
})
|
349
353
|
```
|
@@ -410,21 +414,21 @@ await user.update({
|
|
410
414
|
"api_keys_count": 1,
|
411
415
|
"authenticate_until": "2000-01-01T01:00:00Z",
|
412
416
|
"authentication_method": "password",
|
413
|
-
"avatar_url": "",
|
417
|
+
"avatar_url": "example",
|
414
418
|
"billing_permission": true,
|
415
419
|
"bypass_site_allowed_ips": true,
|
416
420
|
"bypass_inactive_disable": true,
|
417
421
|
"created_at": "2000-01-01T01:00:00Z",
|
418
422
|
"dav_permission": true,
|
419
423
|
"disabled": true,
|
420
|
-
"email": "
|
424
|
+
"email": "example",
|
421
425
|
"first_login_at": "2000-01-01T01:00:00Z",
|
422
426
|
"ftp_permission": true,
|
423
|
-
"group_ids": "",
|
427
|
+
"group_ids": "example",
|
424
428
|
"header_text": "User-specific message.",
|
425
429
|
"language": "en",
|
426
430
|
"last_login_at": "2000-01-01T01:00:00Z",
|
427
|
-
"last_protocol_cipher": "",
|
431
|
+
"last_protocol_cipher": "example",
|
428
432
|
"lockout_expires": "2000-01-01T01:00:00Z",
|
429
433
|
"name": "John Doe",
|
430
434
|
"company": "ACME Corp.",
|
@@ -451,7 +455,7 @@ await user.update({
|
|
451
455
|
"time_zone": "Pacific Time (US & Canada)",
|
452
456
|
"type_of_2fa": "yubi",
|
453
457
|
"updated_at": "2000-01-01T01:00:00Z",
|
454
|
-
"user_root": ""
|
458
|
+
"user_root": "example"
|
455
459
|
}
|
456
460
|
```
|
457
461
|
|