files.com 1.0.263 → 1.0.265
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.
- package/_VERSION +1 -1
- package/docs/models/Auto.md +1 -1
- package/docs/models/Bundle.md +35 -5
- package/docs/models/File.md +21 -3
- package/docs/models/Folder.md +7 -1
- package/docs/models/Site.md +75 -8
- package/lib/models/Bundle.js +1 -1
- package/package.json +1 -1
- package/src/models/Bundle.js +1 -1
package/_VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.0.
|
|
1
|
+
1.0.265
|
package/docs/models/Auto.md
CHANGED
package/docs/models/Bundle.md
CHANGED
|
@@ -13,7 +13,22 @@
|
|
|
13
13
|
"require_registration": true,
|
|
14
14
|
"require_share_recipient": true,
|
|
15
15
|
"clickwrap_body": "[Legal text]",
|
|
16
|
-
"form_field_set":
|
|
16
|
+
"form_field_set": {
|
|
17
|
+
"id": 1,
|
|
18
|
+
"title": "Sample Form Title",
|
|
19
|
+
"form_layout": [
|
|
20
|
+
1,
|
|
21
|
+
2,
|
|
22
|
+
3,
|
|
23
|
+
4
|
|
24
|
+
],
|
|
25
|
+
"form_fields": [
|
|
26
|
+
null
|
|
27
|
+
],
|
|
28
|
+
"skip_name": true,
|
|
29
|
+
"skip_email": true,
|
|
30
|
+
"skip_company": true
|
|
31
|
+
},
|
|
17
32
|
"skip_name": true,
|
|
18
33
|
"skip_email": true,
|
|
19
34
|
"skip_company": true,
|
|
@@ -29,7 +44,7 @@
|
|
|
29
44
|
"username": "user",
|
|
30
45
|
"clickwrap_id": 1,
|
|
31
46
|
"inbox_id": 1,
|
|
32
|
-
"watermark_attachment":
|
|
47
|
+
"watermark_attachment": null,
|
|
33
48
|
"watermark_value": {
|
|
34
49
|
"key": "example value"
|
|
35
50
|
},
|
|
@@ -68,7 +83,7 @@
|
|
|
68
83
|
* `watermark_attachment` (Image): Preview watermark image applied to all bundle items.
|
|
69
84
|
* `watermark_value` (object): Preview watermark settings applied to all bundle items. Uses the same keys as Behavior.value
|
|
70
85
|
* `has_inbox` (boolean): Does this bundle have an associated inbox?
|
|
71
|
-
* `paths` (array): A list of paths in this bundle
|
|
86
|
+
* `paths` (array): A list of paths in this bundle. For performance reasons, this is not provided when listing bundles.
|
|
72
87
|
* `password` (string): Password for this bundle.
|
|
73
88
|
* `form_field_set_id` (int64): Id of Form Field Set to use with this bundle
|
|
74
89
|
* `watermark_attachment_file` (file): Preview watermark image applied to all bundle items.
|
|
@@ -260,7 +275,22 @@ await bundle.update({
|
|
|
260
275
|
"require_registration": true,
|
|
261
276
|
"require_share_recipient": true,
|
|
262
277
|
"clickwrap_body": "[Legal text]",
|
|
263
|
-
"form_field_set":
|
|
278
|
+
"form_field_set": {
|
|
279
|
+
"id": 1,
|
|
280
|
+
"title": "Sample Form Title",
|
|
281
|
+
"form_layout": [
|
|
282
|
+
1,
|
|
283
|
+
2,
|
|
284
|
+
3,
|
|
285
|
+
4
|
|
286
|
+
],
|
|
287
|
+
"form_fields": [
|
|
288
|
+
null
|
|
289
|
+
],
|
|
290
|
+
"skip_name": true,
|
|
291
|
+
"skip_email": true,
|
|
292
|
+
"skip_company": true
|
|
293
|
+
},
|
|
264
294
|
"skip_name": true,
|
|
265
295
|
"skip_email": true,
|
|
266
296
|
"skip_company": true,
|
|
@@ -276,7 +306,7 @@ await bundle.update({
|
|
|
276
306
|
"username": "user",
|
|
277
307
|
"clickwrap_id": 1,
|
|
278
308
|
"inbox_id": 1,
|
|
279
|
-
"watermark_attachment":
|
|
309
|
+
"watermark_attachment": null,
|
|
280
310
|
"watermark_value": {
|
|
281
311
|
"key": "example value"
|
|
282
312
|
},
|
package/docs/models/File.md
CHANGED
|
@@ -21,7 +21,13 @@
|
|
|
21
21
|
"download_uri": "https://mysite.files.com/...",
|
|
22
22
|
"priority_color": "red",
|
|
23
23
|
"preview_id": 1,
|
|
24
|
-
"preview":
|
|
24
|
+
"preview": {
|
|
25
|
+
"id": 1,
|
|
26
|
+
"status": "complete",
|
|
27
|
+
"download_uri": "https://mysite.files.com/...",
|
|
28
|
+
"type": "image",
|
|
29
|
+
"size": "large"
|
|
30
|
+
}
|
|
25
31
|
}
|
|
26
32
|
```
|
|
27
33
|
|
|
@@ -150,7 +156,13 @@ await file.download({
|
|
|
150
156
|
"download_uri": "https://mysite.files.com/...",
|
|
151
157
|
"priority_color": "red",
|
|
152
158
|
"preview_id": 1,
|
|
153
|
-
"preview":
|
|
159
|
+
"preview": {
|
|
160
|
+
"id": 1,
|
|
161
|
+
"status": "complete",
|
|
162
|
+
"download_uri": "https://mysite.files.com/...",
|
|
163
|
+
"type": "image",
|
|
164
|
+
"size": "large"
|
|
165
|
+
}
|
|
154
166
|
}
|
|
155
167
|
```
|
|
156
168
|
|
|
@@ -195,7 +207,13 @@ await file.update({
|
|
|
195
207
|
"download_uri": "https://mysite.files.com/...",
|
|
196
208
|
"priority_color": "red",
|
|
197
209
|
"preview_id": 1,
|
|
198
|
-
"preview":
|
|
210
|
+
"preview": {
|
|
211
|
+
"id": 1,
|
|
212
|
+
"status": "complete",
|
|
213
|
+
"download_uri": "https://mysite.files.com/...",
|
|
214
|
+
"type": "image",
|
|
215
|
+
"size": "large"
|
|
216
|
+
}
|
|
199
217
|
}
|
|
200
218
|
```
|
|
201
219
|
|
package/docs/models/Folder.md
CHANGED
|
@@ -21,7 +21,13 @@
|
|
|
21
21
|
"download_uri": "https://mysite.files.com/...",
|
|
22
22
|
"priority_color": "red",
|
|
23
23
|
"preview_id": 1,
|
|
24
|
-
"preview":
|
|
24
|
+
"preview": {
|
|
25
|
+
"id": 1,
|
|
26
|
+
"status": "complete",
|
|
27
|
+
"download_uri": "https://mysite.files.com/...",
|
|
28
|
+
"type": "image",
|
|
29
|
+
"size": "large"
|
|
30
|
+
}
|
|
25
31
|
}
|
|
26
32
|
```
|
|
27
33
|
|
package/docs/models/Site.md
CHANGED
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"bundle_registration_notifications": "never",
|
|
23
23
|
"bundle_require_share_recipient": true,
|
|
24
24
|
"bundle_upload_receipt_notifications": "never",
|
|
25
|
-
"bundle_watermark_attachment":
|
|
25
|
+
"bundle_watermark_attachment": null,
|
|
26
26
|
"bundle_watermark_value": {
|
|
27
27
|
"key": "example value"
|
|
28
28
|
},
|
|
@@ -58,10 +58,10 @@
|
|
|
58
58
|
"non_sso_users_allowed": true,
|
|
59
59
|
"folder_permissions_groups_only": true,
|
|
60
60
|
"hipaa": true,
|
|
61
|
-
"icon128":
|
|
62
|
-
"icon16":
|
|
63
|
-
"icon32":
|
|
64
|
-
"icon48":
|
|
61
|
+
"icon128": null,
|
|
62
|
+
"icon16": null,
|
|
63
|
+
"icon32": null,
|
|
64
|
+
"icon48": null,
|
|
65
65
|
"immutable_files_set_at": "2000-01-01T01:00:00Z",
|
|
66
66
|
"include_password_in_welcome_email": true,
|
|
67
67
|
"language": "en",
|
|
@@ -82,7 +82,7 @@
|
|
|
82
82
|
"ldap_username": "[ldap username]",
|
|
83
83
|
"ldap_username_field": "sAMAccountName",
|
|
84
84
|
"login_help_text": "Login page help text.",
|
|
85
|
-
"logo":
|
|
85
|
+
"logo": null,
|
|
86
86
|
"max_prior_passwords": 1,
|
|
87
87
|
"motd_text": "example",
|
|
88
88
|
"motd_use_for_ftp": true,
|
|
@@ -107,7 +107,12 @@
|
|
|
107
107
|
"require_2fa": true,
|
|
108
108
|
"require_2fa_stop_time": "2000-01-01T01:00:00Z",
|
|
109
109
|
"require_2fa_user_type": "`site_admins`",
|
|
110
|
-
"session":
|
|
110
|
+
"session": {
|
|
111
|
+
"id": "60525f92e859c4c3d74cb02fd176b1525901b525",
|
|
112
|
+
"language": "en",
|
|
113
|
+
"read_only": true,
|
|
114
|
+
"sftp_insecure_ciphers": true
|
|
115
|
+
},
|
|
111
116
|
"session_pinned_by_ip": true,
|
|
112
117
|
"sftp_enabled": true,
|
|
113
118
|
"sftp_host_key_type": "default",
|
|
@@ -133,7 +138,69 @@
|
|
|
133
138
|
"trial_until": "2000-01-01T01:00:00Z",
|
|
134
139
|
"updated_at": "2000-01-01T01:00:00Z",
|
|
135
140
|
"use_provided_modified_at": true,
|
|
136
|
-
"user":
|
|
141
|
+
"user": {
|
|
142
|
+
"id": 1,
|
|
143
|
+
"username": "user",
|
|
144
|
+
"admin_group_ids": [
|
|
145
|
+
1
|
|
146
|
+
],
|
|
147
|
+
"allowed_ips": "127.0.0.1",
|
|
148
|
+
"attachments_permission": true,
|
|
149
|
+
"api_keys_count": 1,
|
|
150
|
+
"authenticate_until": "2000-01-01T01:00:00Z",
|
|
151
|
+
"authentication_method": "password",
|
|
152
|
+
"avatar_url": "example",
|
|
153
|
+
"billing_permission": true,
|
|
154
|
+
"bypass_site_allowed_ips": true,
|
|
155
|
+
"bypass_inactive_disable": true,
|
|
156
|
+
"created_at": "2000-01-01T01:00:00Z",
|
|
157
|
+
"dav_permission": true,
|
|
158
|
+
"disabled": true,
|
|
159
|
+
"email": "example",
|
|
160
|
+
"first_login_at": "2000-01-01T01:00:00Z",
|
|
161
|
+
"ftp_permission": true,
|
|
162
|
+
"group_ids": "example",
|
|
163
|
+
"header_text": "User-specific message.",
|
|
164
|
+
"language": "en",
|
|
165
|
+
"last_login_at": "2000-01-01T01:00:00Z",
|
|
166
|
+
"last_web_login_at": "2000-01-01T01:00:00Z",
|
|
167
|
+
"last_ftp_login_at": "2000-01-01T01:00:00Z",
|
|
168
|
+
"last_sftp_login_at": "2000-01-01T01:00:00Z",
|
|
169
|
+
"last_dav_login_at": "2000-01-01T01:00:00Z",
|
|
170
|
+
"last_desktop_login_at": "2000-01-01T01:00:00Z",
|
|
171
|
+
"last_restapi_login_at": "2000-01-01T01:00:00Z",
|
|
172
|
+
"last_api_use_at": "2000-01-01T01:00:00Z",
|
|
173
|
+
"last_active_at": "2000-01-01T01:00:00Z",
|
|
174
|
+
"last_protocol_cipher": "example",
|
|
175
|
+
"lockout_expires": "2000-01-01T01:00:00Z",
|
|
176
|
+
"name": "John Doe",
|
|
177
|
+
"company": "ACME Corp.",
|
|
178
|
+
"notes": "Internal notes on this user.",
|
|
179
|
+
"notification_daily_send_time": 18,
|
|
180
|
+
"office_integration_enabled": true,
|
|
181
|
+
"password_set_at": "2000-01-01T01:00:00Z",
|
|
182
|
+
"password_validity_days": 1,
|
|
183
|
+
"public_keys_count": 1,
|
|
184
|
+
"receive_admin_alerts": true,
|
|
185
|
+
"require_2fa": "always_require",
|
|
186
|
+
"active_2fa": true,
|
|
187
|
+
"require_password_change": true,
|
|
188
|
+
"password_expired": true,
|
|
189
|
+
"restapi_permission": true,
|
|
190
|
+
"self_managed": true,
|
|
191
|
+
"sftp_permission": true,
|
|
192
|
+
"site_admin": true,
|
|
193
|
+
"skip_welcome_screen": true,
|
|
194
|
+
"ssl_required": "always_require",
|
|
195
|
+
"sso_strategy_id": 1,
|
|
196
|
+
"subscribe_to_newsletter": true,
|
|
197
|
+
"externally_managed": true,
|
|
198
|
+
"time_zone": "Pacific Time (US & Canada)",
|
|
199
|
+
"type_of_2fa": "yubi",
|
|
200
|
+
"user_root": "example",
|
|
201
|
+
"days_remaining_until_password_expire": 1,
|
|
202
|
+
"password_expire_at": "2000-01-01T01:00:00Z"
|
|
203
|
+
},
|
|
137
204
|
"user_lockout": true,
|
|
138
205
|
"user_lockout_lock_period": 1,
|
|
139
206
|
"user_lockout_tries": 1,
|
package/lib/models/Bundle.js
CHANGED
|
@@ -224,7 +224,7 @@ var Bundle = /*#__PURE__*/(0, _createClass2.default)(function Bundle() {
|
|
|
224
224
|
(0, _defineProperty2.default)(this, "setHasInbox", function (value) {
|
|
225
225
|
_this.attributes.has_inbox = value;
|
|
226
226
|
});
|
|
227
|
-
// array # A list of paths in this bundle
|
|
227
|
+
// array # A list of paths in this bundle. For performance reasons, this is not provided when listing bundles.
|
|
228
228
|
(0, _defineProperty2.default)(this, "getPaths", function () {
|
|
229
229
|
return _this.attributes.paths;
|
|
230
230
|
});
|
package/package.json
CHANGED
package/src/models/Bundle.js
CHANGED
|
@@ -215,7 +215,7 @@ class Bundle {
|
|
|
215
215
|
this.attributes.has_inbox = value
|
|
216
216
|
}
|
|
217
217
|
|
|
218
|
-
// array # A list of paths in this bundle
|
|
218
|
+
// array # A list of paths in this bundle. For performance reasons, this is not provided when listing bundles.
|
|
219
219
|
getPaths = () => this.attributes.paths
|
|
220
220
|
|
|
221
221
|
setPaths = value => {
|