files.com 1.2.77 → 1.2.79
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 +2 -2
- package/docs/models/Action.md +1 -1
- package/docs/models/ApiKey.md +2 -2
- package/docs/models/App.md +1 -1
- package/docs/models/As2Partner.md +2 -2
- package/docs/models/As2Station.md +2 -2
- package/docs/models/Automation.md +10 -10
- package/docs/models/Behavior.md +2 -2
- package/docs/models/Bundle.md +5 -5
- package/docs/models/BundleNotification.md +2 -2
- package/docs/models/Clickwrap.md +2 -2
- package/docs/models/Errors.md +2 -2
- package/docs/models/File.md +6 -12
- package/docs/models/FileComment.md +1 -1
- package/docs/models/FormField.md +1 -1
- package/docs/models/FormFieldSet.md +4 -4
- package/docs/models/GpgKey.md +2 -2
- package/docs/models/Group.md +2 -2
- package/docs/models/GroupUser.md +1 -1
- package/docs/models/History.md +1 -1
- package/docs/models/Invoice.md +2 -2
- package/docs/models/IpAddress.md +1 -1
- package/docs/models/Message.md +3 -3
- package/docs/models/MessageComment.md +3 -3
- package/docs/models/MessageCommentReaction.md +1 -1
- package/docs/models/MessageReaction.md +1 -1
- package/docs/models/Notification.md +5 -5
- package/docs/models/Payment.md +2 -2
- package/docs/models/Project.md +2 -2
- package/docs/models/PublicKey.md +2 -2
- package/docs/models/RemoteServer.md +3 -3
- package/docs/models/SettingsChange.md +1 -1
- package/docs/models/SftpHostKey.md +2 -2
- package/docs/models/ShareGroup.md +3 -3
- package/docs/models/Site.md +2 -2
- package/docs/models/Snapshot.md +3 -3
- package/docs/models/SsoStrategy.md +1 -1
- package/docs/models/Status.md +1 -1
- package/docs/models/Style.md +2 -4
- package/docs/models/User.md +6 -6
- package/docs/models/UserRequest.md +1 -1
- package/lib/Files.js +1 -1
- package/lib/models/AccountLineItem.js +2 -2
- package/lib/models/Action.js +1 -1
- package/lib/models/App.js +1 -1
- package/lib/models/Automation.js +7 -7
- package/lib/models/Bundle.js +2 -2
- package/lib/models/Errors.js +2 -2
- package/lib/models/FileComment.js +1 -1
- package/lib/models/FormField.js +1 -1
- package/lib/models/FormFieldSet.js +2 -2
- package/lib/models/GroupUser.js +1 -1
- package/lib/models/History.js +1 -1
- package/lib/models/Invoice.js +2 -2
- package/lib/models/IpAddress.js +1 -1
- package/lib/models/Message.js +1 -1
- package/lib/models/MessageComment.js +1 -1
- package/lib/models/Notification.js +3 -3
- package/lib/models/Payment.js +2 -2
- package/lib/models/SettingsChange.js +1 -1
- package/lib/models/ShareGroup.js +1 -1
- package/lib/models/Site.js +2 -2
- package/lib/models/Status.js +1 -1
- package/lib/models/User.js +1 -1
- package/package.json +1 -1
- package/src/Files.js +1 -1
- package/src/models/AccountLineItem.js +2 -2
- package/src/models/Action.js +1 -1
- package/src/models/App.js +1 -1
- package/src/models/Automation.js +7 -7
- package/src/models/Bundle.js +2 -2
- package/src/models/Errors.js +2 -2
- package/src/models/FileComment.js +1 -1
- package/src/models/FormField.js +1 -1
- package/src/models/FormFieldSet.js +2 -2
- package/src/models/GroupUser.js +1 -1
- package/src/models/History.js +1 -1
- package/src/models/Invoice.js +2 -2
- package/src/models/IpAddress.js +1 -1
- package/src/models/Message.js +1 -1
- package/src/models/MessageComment.js +1 -1
- package/src/models/Notification.js +3 -3
- package/src/models/Payment.js +2 -2
- package/src/models/SettingsChange.js +1 -1
- package/src/models/ShareGroup.js +1 -1
- package/src/models/Site.js +2 -2
- package/src/models/Status.js +1 -1
- package/src/models/User.js +1 -1
@@ -67,7 +67,7 @@ await SftpHostKey.create({
|
|
67
67
|
## Update Sftp Host Key
|
68
68
|
|
69
69
|
```
|
70
|
-
const
|
70
|
+
const sftp_host_key = await SftpHostKey.find(id)
|
71
71
|
|
72
72
|
await sftp_host_key.update({
|
73
73
|
'name': "example",
|
@@ -96,7 +96,7 @@ await sftp_host_key.update({
|
|
96
96
|
## Delete Sftp Host Key
|
97
97
|
|
98
98
|
```
|
99
|
-
const
|
99
|
+
const sftp_host_key = await SftpHostKey.find(id)
|
100
100
|
|
101
101
|
await sftp_host_key.delete()
|
102
102
|
```
|
@@ -22,7 +22,7 @@
|
|
22
22
|
* `name` (string): Name of the share group
|
23
23
|
* `notes` (string): Additional notes of the share group
|
24
24
|
* `user_id` (int64): Owner User ID
|
25
|
-
* `members` (array): A list of share group members
|
25
|
+
* `members` (array(object)): A list of share group members
|
26
26
|
|
27
27
|
---
|
28
28
|
|
@@ -81,7 +81,7 @@ await ShareGroup.create({
|
|
81
81
|
## Update Share Group
|
82
82
|
|
83
83
|
```
|
84
|
-
const
|
84
|
+
const share_group = await ShareGroup.find(id)
|
85
85
|
|
86
86
|
await share_group.update({
|
87
87
|
'notes': "This group is defined for testing purposes",
|
@@ -120,7 +120,7 @@ await share_group.update({
|
|
120
120
|
## Delete Share Group
|
121
121
|
|
122
122
|
```
|
123
|
-
const
|
123
|
+
const share_group = await ShareGroup.find(id)
|
124
124
|
|
125
125
|
await share_group.delete()
|
126
126
|
```
|
package/docs/models/Site.md
CHANGED
@@ -282,7 +282,7 @@
|
|
282
282
|
```
|
283
283
|
|
284
284
|
* `name` (string): Site name
|
285
|
-
* `additional_text_file_types` (array): Additional extensions that are considered text files
|
285
|
+
* `additional_text_file_types` (array(string)): Additional extensions that are considered text files
|
286
286
|
* `allowed_2fa_method_sms` (boolean): Is SMS two factor authentication allowed?
|
287
287
|
* `allowed_2fa_method_totp` (boolean): Is TOTP two factor authentication allowed?
|
288
288
|
* `allowed_2fa_method_u2f` (boolean): Is U2F two factor authentication allowed?
|
@@ -302,7 +302,7 @@
|
|
302
302
|
* `bundle_expiration` (int64): Site-wide Bundle expiration in days
|
303
303
|
* `bundle_not_found_message` (string): Custom error message to show when bundle is not found.
|
304
304
|
* `bundle_password_required` (boolean): Do Bundles require password protection?
|
305
|
-
* `bundle_recipient_blacklist_domains` (array): List of email domains to disallow when entering a Bundle/Inbox recipients
|
305
|
+
* `bundle_recipient_blacklist_domains` (array(string)): List of email domains to disallow when entering a Bundle/Inbox recipients
|
306
306
|
* `bundle_recipient_blacklist_free_email_domains` (boolean): Disallow free email domains for Bundle/Inbox recipients?
|
307
307
|
* `bundle_registration_notifications` (string): Do Bundle owners receive registration notification?
|
308
308
|
* `bundle_require_registration` (boolean): Do Bundles require registration?
|
package/docs/models/Snapshot.md
CHANGED
@@ -73,7 +73,7 @@ await Snapshot.create({
|
|
73
73
|
## Finalize Snapshot
|
74
74
|
|
75
75
|
```
|
76
|
-
const
|
76
|
+
const snapshot = await Snapshot.find(id)
|
77
77
|
|
78
78
|
await snapshot.finalize()
|
79
79
|
```
|
@@ -88,7 +88,7 @@ await snapshot.finalize()
|
|
88
88
|
## Update Snapshot
|
89
89
|
|
90
90
|
```
|
91
|
-
const
|
91
|
+
const snapshot = await Snapshot.find(id)
|
92
92
|
|
93
93
|
await snapshot.update({
|
94
94
|
'expires_at': "2000-01-01T01:00:00Z",
|
@@ -121,7 +121,7 @@ await snapshot.update({
|
|
121
121
|
## Delete Snapshot
|
122
122
|
|
123
123
|
```
|
124
|
-
const
|
124
|
+
const snapshot = await Snapshot.find(id)
|
125
125
|
|
126
126
|
await snapshot.delete()
|
127
127
|
```
|
package/docs/models/Status.md
CHANGED
@@ -27,6 +27,6 @@
|
|
27
27
|
* `message` (string): Error message
|
28
28
|
* `status` (string): Status message
|
29
29
|
* `data` (Auto): Additional data
|
30
|
-
* `errors` (array): A list of api errors
|
30
|
+
* `errors` (array(object)): A list of api errors
|
31
31
|
* `clickwrap_id` (int64): Required Clickwrap id
|
32
32
|
* `clickwrap_body` (string): Required Clickwrap body
|
package/docs/models/Style.md
CHANGED
@@ -35,8 +35,7 @@ await Style.find(path)
|
|
35
35
|
## Update Style
|
36
36
|
|
37
37
|
```
|
38
|
-
const style =
|
39
|
-
style.path = myFilePath
|
38
|
+
const style = await Style.find(path)
|
40
39
|
|
41
40
|
await style.update({
|
42
41
|
'file': "file",
|
@@ -64,8 +63,7 @@ await style.update({
|
|
64
63
|
## Delete Style
|
65
64
|
|
66
65
|
```
|
67
|
-
const style =
|
68
|
-
style.path = myFilePath
|
66
|
+
const style = await Style.find(path)
|
69
67
|
|
70
68
|
await style.delete()
|
71
69
|
```
|
package/docs/models/User.md
CHANGED
@@ -73,7 +73,7 @@
|
|
73
73
|
|
74
74
|
* `id` (int64): User ID
|
75
75
|
* `username` (string): User's username
|
76
|
-
* `admin_group_ids` (array): List of group IDs of which this user is an administrator
|
76
|
+
* `admin_group_ids` (array(int64)): List of group IDs of which this user is an administrator
|
77
77
|
* `allowed_ips` (string): A list of allowed IPs if applicable. Newline delimited
|
78
78
|
* `attachments_permission` (boolean): DEPRECATED: Can the user create Bundles (aka Share Links)? Use the bundle permission instead.
|
79
79
|
* `api_keys_count` (int64): Number of api keys associated with this user
|
@@ -283,7 +283,7 @@ await User.create({
|
|
283
283
|
## Unlock user who has been locked out due to failed logins
|
284
284
|
|
285
285
|
```
|
286
|
-
const
|
286
|
+
const user = await User.find(id)
|
287
287
|
|
288
288
|
await user.unlock()
|
289
289
|
```
|
@@ -298,7 +298,7 @@ await user.unlock()
|
|
298
298
|
## Resend user welcome email
|
299
299
|
|
300
300
|
```
|
301
|
-
const
|
301
|
+
const user = await User.find(id)
|
302
302
|
|
303
303
|
await user.resend_welcome_email()
|
304
304
|
```
|
@@ -313,7 +313,7 @@ await user.resend_welcome_email()
|
|
313
313
|
## Trigger 2FA Reset process for user who has lost access to their existing 2FA methods
|
314
314
|
|
315
315
|
```
|
316
|
-
const
|
316
|
+
const user = await User.find(id)
|
317
317
|
|
318
318
|
await user.user_2fa_reset()
|
319
319
|
```
|
@@ -328,7 +328,7 @@ await user.user_2fa_reset()
|
|
328
328
|
## Update User
|
329
329
|
|
330
330
|
```
|
331
|
-
const
|
331
|
+
const user = await User.find(id)
|
332
332
|
|
333
333
|
await user.update({
|
334
334
|
'avatar_delete': true,
|
@@ -497,7 +497,7 @@ await user.update({
|
|
497
497
|
## Delete User
|
498
498
|
|
499
499
|
```
|
500
|
-
const
|
500
|
+
const user = await User.find(id)
|
501
501
|
|
502
502
|
await user.delete()
|
503
503
|
```
|
package/lib/Files.js
CHANGED
@@ -11,7 +11,7 @@ var endpointPrefix = '/api/rest/v1';
|
|
11
11
|
var apiKey;
|
12
12
|
var baseUrl = 'https://app.files.com';
|
13
13
|
var sessionId = null;
|
14
|
-
var version = '1.2.
|
14
|
+
var version = '1.2.79';
|
15
15
|
var userAgent = "Files.com JavaScript SDK v".concat(version);
|
16
16
|
var logLevel = _Logger.LogLevel.INFO;
|
17
17
|
var debugRequest = false;
|
@@ -53,7 +53,7 @@ var AccountLineItem = /*#__PURE__*/(0, _createClass2.default)(function AccountLi
|
|
53
53
|
(0, _defineProperty2.default)(this, "getDownloadUri", function () {
|
54
54
|
return _this.attributes.download_uri;
|
55
55
|
});
|
56
|
-
// array # Associated invoice line items
|
56
|
+
// array(object) # Associated invoice line items
|
57
57
|
(0, _defineProperty2.default)(this, "getInvoiceLineItems", function () {
|
58
58
|
return _this.attributes.invoice_line_items;
|
59
59
|
});
|
@@ -61,7 +61,7 @@ var AccountLineItem = /*#__PURE__*/(0, _createClass2.default)(function AccountLi
|
|
61
61
|
(0, _defineProperty2.default)(this, "getMethod", function () {
|
62
62
|
return _this.attributes.method;
|
63
63
|
});
|
64
|
-
// array # Associated payment line items
|
64
|
+
// array(object) # Associated payment line items
|
65
65
|
(0, _defineProperty2.default)(this, "getPaymentLineItems", function () {
|
66
66
|
return _this.attributes.payment_line_items;
|
67
67
|
});
|
package/lib/models/Action.js
CHANGED
@@ -57,7 +57,7 @@ var Action = /*#__PURE__*/(0, _createClass2.default)(function Action() {
|
|
57
57
|
(0, _defineProperty2.default)(this, "getSource", function () {
|
58
58
|
return _this.attributes.source;
|
59
59
|
});
|
60
|
-
// array # Targets
|
60
|
+
// array(object) # Targets
|
61
61
|
(0, _defineProperty2.default)(this, "getTargets", function () {
|
62
62
|
return _this.attributes.targets;
|
63
63
|
});
|
package/lib/models/App.js
CHANGED
@@ -93,7 +93,7 @@ var App = /*#__PURE__*/(0, _createClass2.default)(function App() {
|
|
93
93
|
(0, _defineProperty2.default)(this, "getRemoteServerType", function () {
|
94
94
|
return _this.attributes.remote_server_type;
|
95
95
|
});
|
96
|
-
// array # Screenshots of the App
|
96
|
+
// array(string) # Screenshots of the App
|
97
97
|
(0, _defineProperty2.default)(this, "getScreenshotListUrls", function () {
|
98
98
|
return _this.attributes.screenshot_list_urls;
|
99
99
|
});
|
package/lib/models/Automation.js
CHANGED
@@ -82,7 +82,7 @@ var Automation = /*#__PURE__*/(0, _createClass2.default)(function Automation() {
|
|
82
82
|
(0, _defineProperty2.default)(this, "setDestinationReplaceTo", function (value) {
|
83
83
|
_this.attributes.destination_replace_to = value;
|
84
84
|
});
|
85
|
-
// array # Destination Paths
|
85
|
+
// array(string) # Destination Paths
|
86
86
|
(0, _defineProperty2.default)(this, "getDestinations", function () {
|
87
87
|
return _this.attributes.destinations;
|
88
88
|
});
|
@@ -103,7 +103,7 @@ var Automation = /*#__PURE__*/(0, _createClass2.default)(function Automation() {
|
|
103
103
|
(0, _defineProperty2.default)(this, "setFlattenDestinationStructure", function (value) {
|
104
104
|
_this.attributes.flatten_destination_structure = value;
|
105
105
|
});
|
106
|
-
// array # IDs of Groups for the Automation (i.e. who to Request File from)
|
106
|
+
// array(int64) # IDs of Groups for the Automation (i.e. who to Request File from)
|
107
107
|
(0, _defineProperty2.default)(this, "getGroupIds", function () {
|
108
108
|
return _this.attributes.group_ids;
|
109
109
|
});
|
@@ -180,14 +180,14 @@ var Automation = /*#__PURE__*/(0, _createClass2.default)(function Automation() {
|
|
180
180
|
(0, _defineProperty2.default)(this, "setHumanReadableSchedule", function (value) {
|
181
181
|
_this.attributes.human_readable_schedule = value;
|
182
182
|
});
|
183
|
-
// array # If trigger is `custom_schedule`, Custom schedule description for when the automation should be run. 0-based days of the week. 0 is Sunday, 1 is Monday, etc.
|
183
|
+
// array(int64) # If trigger is `custom_schedule`, Custom schedule description for when the automation should be run. 0-based days of the week. 0 is Sunday, 1 is Monday, etc.
|
184
184
|
(0, _defineProperty2.default)(this, "getScheduleDaysOfWeek", function () {
|
185
185
|
return _this.attributes.schedule_days_of_week;
|
186
186
|
});
|
187
187
|
(0, _defineProperty2.default)(this, "setScheduleDaysOfWeek", function (value) {
|
188
188
|
_this.attributes.schedule_days_of_week = value;
|
189
189
|
});
|
190
|
-
// array # If trigger is `custom_schedule`, Custom schedule description for when the automation should be run. Times of day in HH:MM format.
|
190
|
+
// array(string) # If trigger is `custom_schedule`, Custom schedule description for when the automation should be run. Times of day in HH:MM format.
|
191
191
|
(0, _defineProperty2.default)(this, "getScheduleTimesOfDay", function () {
|
192
192
|
return _this.attributes.schedule_times_of_day;
|
193
193
|
});
|
@@ -208,14 +208,14 @@ var Automation = /*#__PURE__*/(0, _createClass2.default)(function Automation() {
|
|
208
208
|
(0, _defineProperty2.default)(this, "setSource", function (value) {
|
209
209
|
_this.attributes.source = value;
|
210
210
|
});
|
211
|
-
// array # IDs of remote sync folder behaviors to run by this Automation
|
211
|
+
// array(int64) # IDs of remote sync folder behaviors to run by this Automation
|
212
212
|
(0, _defineProperty2.default)(this, "getSyncIds", function () {
|
213
213
|
return _this.attributes.sync_ids;
|
214
214
|
});
|
215
215
|
(0, _defineProperty2.default)(this, "setSyncIds", function (value) {
|
216
216
|
_this.attributes.sync_ids = value;
|
217
217
|
});
|
218
|
-
// array # If trigger is `action`, this is the list of action types on which to trigger the automation. Valid actions are create, read, update, destroy, move, copy
|
218
|
+
// array(string) # If trigger is `action`, this is the list of action types on which to trigger the automation. Valid actions are create, read, update, destroy, move, copy
|
219
219
|
(0, _defineProperty2.default)(this, "getTriggerActions", function () {
|
220
220
|
return _this.attributes.trigger_actions;
|
221
221
|
});
|
@@ -236,7 +236,7 @@ var Automation = /*#__PURE__*/(0, _createClass2.default)(function Automation() {
|
|
236
236
|
(0, _defineProperty2.default)(this, "setUserId", function (value) {
|
237
237
|
_this.attributes.user_id = value;
|
238
238
|
});
|
239
|
-
// array # IDs of Users for the Automation (i.e. who to Request File from)
|
239
|
+
// array(int64) # IDs of Users for the Automation (i.e. who to Request File from)
|
240
240
|
(0, _defineProperty2.default)(this, "getUserIds", function () {
|
241
241
|
return _this.attributes.user_ids;
|
242
242
|
});
|
package/lib/models/Bundle.js
CHANGED
@@ -289,14 +289,14 @@ var Bundle = /*#__PURE__*/(0, _createClass2.default)(function Bundle() {
|
|
289
289
|
(0, _defineProperty2.default)(this, "setHasInbox", function (value) {
|
290
290
|
_this.attributes.has_inbox = value;
|
291
291
|
});
|
292
|
-
// array # A list of paths in this bundle. For performance reasons, this is not provided when listing bundles.
|
292
|
+
// array(string) # A list of paths in this bundle. For performance reasons, this is not provided when listing bundles.
|
293
293
|
(0, _defineProperty2.default)(this, "getPaths", function () {
|
294
294
|
return _this.attributes.paths;
|
295
295
|
});
|
296
296
|
(0, _defineProperty2.default)(this, "setPaths", function (value) {
|
297
297
|
_this.attributes.paths = value;
|
298
298
|
});
|
299
|
-
// array # A list of bundlepaths in this bundle. For performance reasons, this is not provided when listing bundles.
|
299
|
+
// array(object) # A list of bundlepaths in this bundle. For performance reasons, this is not provided when listing bundles.
|
300
300
|
(0, _defineProperty2.default)(this, "getBundlepaths", function () {
|
301
301
|
return _this.attributes.bundlepaths;
|
302
302
|
});
|
package/lib/models/Errors.js
CHANGED
@@ -29,11 +29,11 @@ var Errors = /*#__PURE__*/(0, _createClass2.default)(function Errors() {
|
|
29
29
|
(0, _defineProperty2.default)(this, "isLoaded", function () {
|
30
30
|
return !!_this.attributes.id;
|
31
31
|
});
|
32
|
-
// array # A list of fields where errors occur
|
32
|
+
// array(string) # A list of fields where errors occur
|
33
33
|
(0, _defineProperty2.default)(this, "getFields", function () {
|
34
34
|
return _this.attributes.fields;
|
35
35
|
});
|
36
|
-
// array # A list of error messages
|
36
|
+
// array(string) # A list of error messages
|
37
37
|
(0, _defineProperty2.default)(this, "getMessages", function () {
|
38
38
|
return _this.attributes.messages;
|
39
39
|
});
|
@@ -47,7 +47,7 @@ var FileComment = /*#__PURE__*/(0, _createClass2.default)(function FileComment()
|
|
47
47
|
(0, _defineProperty2.default)(this, "setBody", function (value) {
|
48
48
|
_this.attributes.body = value;
|
49
49
|
});
|
50
|
-
// array # Reactions to this comment.
|
50
|
+
// array(object) # Reactions to this comment.
|
51
51
|
(0, _defineProperty2.default)(this, "getReactions", function () {
|
52
52
|
return _this.attributes.reactions;
|
53
53
|
});
|
package/lib/models/FormField.js
CHANGED
@@ -49,7 +49,7 @@ var FormField = /*#__PURE__*/(0, _createClass2.default)(function FormField() {
|
|
49
49
|
(0, _defineProperty2.default)(this, "getFieldType", function () {
|
50
50
|
return _this.attributes.field_type;
|
51
51
|
});
|
52
|
-
// array # Options to display for radio and dropdown
|
52
|
+
// array(string) # Options to display for radio and dropdown
|
53
53
|
(0, _defineProperty2.default)(this, "getOptionsForSelect", function () {
|
54
54
|
return _this.attributes.options_for_select;
|
55
55
|
});
|
@@ -47,14 +47,14 @@ var FormFieldSet = /*#__PURE__*/(0, _createClass2.default)(function FormFieldSet
|
|
47
47
|
(0, _defineProperty2.default)(this, "setTitle", function (value) {
|
48
48
|
_this.attributes.title = value;
|
49
49
|
});
|
50
|
-
// array # Layout of the form
|
50
|
+
// array(int64) # Layout of the form
|
51
51
|
(0, _defineProperty2.default)(this, "getFormLayout", function () {
|
52
52
|
return _this.attributes.form_layout;
|
53
53
|
});
|
54
54
|
(0, _defineProperty2.default)(this, "setFormLayout", function (value) {
|
55
55
|
_this.attributes.form_layout = value;
|
56
56
|
});
|
57
|
-
// array # Associated form fields
|
57
|
+
// array(object) # Associated form fields
|
58
58
|
(0, _defineProperty2.default)(this, "getFormFields", function () {
|
59
59
|
return _this.attributes.form_fields;
|
60
60
|
});
|
package/lib/models/GroupUser.js
CHANGED
@@ -61,7 +61,7 @@ var GroupUser = /*#__PURE__*/(0, _createClass2.default)(function GroupUser() {
|
|
61
61
|
(0, _defineProperty2.default)(this, "setAdmin", function (value) {
|
62
62
|
_this.attributes.admin = value;
|
63
63
|
});
|
64
|
-
// array # A list of usernames for users in this group
|
64
|
+
// array(string) # A list of usernames for users in this group
|
65
65
|
(0, _defineProperty2.default)(this, "getUsernames", function () {
|
66
66
|
return _this.attributes.usernames;
|
67
67
|
});
|
package/lib/models/History.js
CHANGED
@@ -61,7 +61,7 @@ var History = /*#__PURE__*/(0, _createClass2.default)(function History() {
|
|
61
61
|
(0, _defineProperty2.default)(this, "getSource", function () {
|
62
62
|
return _this.attributes.source;
|
63
63
|
});
|
64
|
-
// array # Targets
|
64
|
+
// array(object) # Targets
|
65
65
|
(0, _defineProperty2.default)(this, "getTargets", function () {
|
66
66
|
return _this.attributes.targets;
|
67
67
|
});
|
package/lib/models/Invoice.js
CHANGED
@@ -57,7 +57,7 @@ var Invoice = /*#__PURE__*/(0, _createClass2.default)(function Invoice() {
|
|
57
57
|
(0, _defineProperty2.default)(this, "getDownloadUri", function () {
|
58
58
|
return _this.attributes.download_uri;
|
59
59
|
});
|
60
|
-
// array # Associated invoice line items
|
60
|
+
// array(object) # Associated invoice line items
|
61
61
|
(0, _defineProperty2.default)(this, "getInvoiceLineItems", function () {
|
62
62
|
return _this.attributes.invoice_line_items;
|
63
63
|
});
|
@@ -65,7 +65,7 @@ var Invoice = /*#__PURE__*/(0, _createClass2.default)(function Invoice() {
|
|
65
65
|
(0, _defineProperty2.default)(this, "getMethod", function () {
|
66
66
|
return _this.attributes.method;
|
67
67
|
});
|
68
|
-
// array # Associated payment line items
|
68
|
+
// array(object) # Associated payment line items
|
69
69
|
(0, _defineProperty2.default)(this, "getPaymentLineItems", function () {
|
70
70
|
return _this.attributes.payment_line_items;
|
71
71
|
});
|
package/lib/models/IpAddress.js
CHANGED
@@ -45,7 +45,7 @@ var IpAddress = /*#__PURE__*/(0, _createClass2.default)(function IpAddress() {
|
|
45
45
|
(0, _defineProperty2.default)(this, "getGroupId", function () {
|
46
46
|
return _this.attributes.group_id;
|
47
47
|
});
|
48
|
-
// array # A list of IP addresses.
|
48
|
+
// array(string) # A list of IP addresses.
|
49
49
|
(0, _defineProperty2.default)(this, "getIpAddresses", function () {
|
50
50
|
return _this.attributes.ip_addresses;
|
51
51
|
});
|
package/lib/models/Message.js
CHANGED
@@ -54,7 +54,7 @@ var Message = /*#__PURE__*/(0, _createClass2.default)(function Message() {
|
|
54
54
|
(0, _defineProperty2.default)(this, "setBody", function (value) {
|
55
55
|
_this.attributes.body = value;
|
56
56
|
});
|
57
|
-
// array # Comments.
|
57
|
+
// array(object) # Comments.
|
58
58
|
(0, _defineProperty2.default)(this, "getComments", function () {
|
59
59
|
return _this.attributes.comments;
|
60
60
|
});
|
@@ -47,7 +47,7 @@ var MessageComment = /*#__PURE__*/(0, _createClass2.default)(function MessageCom
|
|
47
47
|
(0, _defineProperty2.default)(this, "setBody", function (value) {
|
48
48
|
_this.attributes.body = value;
|
49
49
|
});
|
50
|
-
// array # Reactions to this comment.
|
50
|
+
// array(object) # Reactions to this comment.
|
51
51
|
(0, _defineProperty2.default)(this, "getReactions", function () {
|
52
52
|
return _this.attributes.reactions;
|
53
53
|
});
|
@@ -61,14 +61,14 @@ var Notification = /*#__PURE__*/(0, _createClass2.default)(function Notification
|
|
61
61
|
(0, _defineProperty2.default)(this, "setGroupName", function (value) {
|
62
62
|
_this.attributes.group_name = value;
|
63
63
|
});
|
64
|
-
// array # If set, will only notify on actions made by a member of one of the specified groups
|
64
|
+
// array(int64) # If set, will only notify on actions made by a member of one of the specified groups
|
65
65
|
(0, _defineProperty2.default)(this, "getTriggeringGroupIds", function () {
|
66
66
|
return _this.attributes.triggering_group_ids;
|
67
67
|
});
|
68
68
|
(0, _defineProperty2.default)(this, "setTriggeringGroupIds", function (value) {
|
69
69
|
_this.attributes.triggering_group_ids = value;
|
70
70
|
});
|
71
|
-
// array # If set, will onlynotify on actions made one of the specified users
|
71
|
+
// array(int64) # If set, will onlynotify on actions made one of the specified users
|
72
72
|
(0, _defineProperty2.default)(this, "getTriggeringUserIds", function () {
|
73
73
|
return _this.attributes.triggering_user_ids;
|
74
74
|
});
|
@@ -145,7 +145,7 @@ var Notification = /*#__PURE__*/(0, _createClass2.default)(function Notification
|
|
145
145
|
(0, _defineProperty2.default)(this, "setMessage", function (value) {
|
146
146
|
_this.attributes.message = value;
|
147
147
|
});
|
148
|
-
// array # Array of filenames (possibly with wildcards) to scope trigger
|
148
|
+
// array(string) # Array of filenames (possibly with wildcards) to scope trigger
|
149
149
|
(0, _defineProperty2.default)(this, "getTriggeringFilenames", function () {
|
150
150
|
return _this.attributes.triggering_filenames;
|
151
151
|
});
|
package/lib/models/Payment.js
CHANGED
@@ -57,7 +57,7 @@ var Payment = /*#__PURE__*/(0, _createClass2.default)(function Payment() {
|
|
57
57
|
(0, _defineProperty2.default)(this, "getDownloadUri", function () {
|
58
58
|
return _this.attributes.download_uri;
|
59
59
|
});
|
60
|
-
// array # Associated invoice line items
|
60
|
+
// array(object) # Associated invoice line items
|
61
61
|
(0, _defineProperty2.default)(this, "getInvoiceLineItems", function () {
|
62
62
|
return _this.attributes.invoice_line_items;
|
63
63
|
});
|
@@ -65,7 +65,7 @@ var Payment = /*#__PURE__*/(0, _createClass2.default)(function Payment() {
|
|
65
65
|
(0, _defineProperty2.default)(this, "getMethod", function () {
|
66
66
|
return _this.attributes.method;
|
67
67
|
});
|
68
|
-
// array # Associated payment line items
|
68
|
+
// array(object) # Associated payment line items
|
69
69
|
(0, _defineProperty2.default)(this, "getPaymentLineItems", function () {
|
70
70
|
return _this.attributes.payment_line_items;
|
71
71
|
});
|
@@ -33,7 +33,7 @@ var SettingsChange = /*#__PURE__*/(0, _createClass2.default)(function SettingsCh
|
|
33
33
|
(0, _defineProperty2.default)(this, "isLoaded", function () {
|
34
34
|
return !!_this.attributes.id;
|
35
35
|
});
|
36
|
-
// array # Markdown-formatted change messages.
|
36
|
+
// array(string) # Markdown-formatted change messages.
|
37
37
|
(0, _defineProperty2.default)(this, "getChanges", function () {
|
38
38
|
return _this.attributes.changes;
|
39
39
|
});
|
package/lib/models/ShareGroup.js
CHANGED
@@ -61,7 +61,7 @@ var ShareGroup = /*#__PURE__*/(0, _createClass2.default)(function ShareGroup() {
|
|
61
61
|
(0, _defineProperty2.default)(this, "setUserId", function (value) {
|
62
62
|
_this.attributes.user_id = value;
|
63
63
|
});
|
64
|
-
// array # A list of share group members
|
64
|
+
// array(object) # A list of share group members
|
65
65
|
(0, _defineProperty2.default)(this, "getMembers", function () {
|
66
66
|
return _this.attributes.members;
|
67
67
|
});
|
package/lib/models/Site.js
CHANGED
@@ -37,7 +37,7 @@ var Site = /*#__PURE__*/(0, _createClass2.default)(function Site() {
|
|
37
37
|
(0, _defineProperty2.default)(this, "getName", function () {
|
38
38
|
return _this.attributes.name;
|
39
39
|
});
|
40
|
-
// array # Additional extensions that are considered text files
|
40
|
+
// array(string) # Additional extensions that are considered text files
|
41
41
|
(0, _defineProperty2.default)(this, "getAdditionalTextFileTypes", function () {
|
42
42
|
return _this.attributes.additional_text_file_types;
|
43
43
|
});
|
@@ -117,7 +117,7 @@ var Site = /*#__PURE__*/(0, _createClass2.default)(function Site() {
|
|
117
117
|
(0, _defineProperty2.default)(this, "getBundlePasswordRequired", function () {
|
118
118
|
return _this.attributes.bundle_password_required;
|
119
119
|
});
|
120
|
-
// array # List of email domains to disallow when entering a Bundle/Inbox recipients
|
120
|
+
// array(string) # List of email domains to disallow when entering a Bundle/Inbox recipients
|
121
121
|
(0, _defineProperty2.default)(this, "getBundleRecipientBlacklistDomains", function () {
|
122
122
|
return _this.attributes.bundle_recipient_blacklist_domains;
|
123
123
|
});
|
package/lib/models/Status.js
CHANGED
@@ -45,7 +45,7 @@ var Status = /*#__PURE__*/(0, _createClass2.default)(function Status() {
|
|
45
45
|
(0, _defineProperty2.default)(this, "getData", function () {
|
46
46
|
return _this.attributes.data;
|
47
47
|
});
|
48
|
-
// array # A list of api errors
|
48
|
+
// array(object) # A list of api errors
|
49
49
|
(0, _defineProperty2.default)(this, "getErrors", function () {
|
50
50
|
return _this.attributes.errors;
|
51
51
|
});
|
package/lib/models/User.js
CHANGED
@@ -47,7 +47,7 @@ var User = /*#__PURE__*/(0, _createClass2.default)(function User() {
|
|
47
47
|
(0, _defineProperty2.default)(this, "setUsername", function (value) {
|
48
48
|
_this.attributes.username = value;
|
49
49
|
});
|
50
|
-
// array # List of group IDs of which this user is an administrator
|
50
|
+
// array(int64) # List of group IDs of which this user is an administrator
|
51
51
|
(0, _defineProperty2.default)(this, "getAdminGroupIds", function () {
|
52
52
|
return _this.attributes.admin_group_ids;
|
53
53
|
});
|
package/package.json
CHANGED
package/src/Files.js
CHANGED
@@ -46,13 +46,13 @@ class AccountLineItem {
|
|
46
46
|
// string # Line item download uri
|
47
47
|
getDownloadUri = () => this.attributes.download_uri
|
48
48
|
|
49
|
-
// array # Associated invoice line items
|
49
|
+
// array(object) # Associated invoice line items
|
50
50
|
getInvoiceLineItems = () => this.attributes.invoice_line_items
|
51
51
|
|
52
52
|
// string # Line item payment method
|
53
53
|
getMethod = () => this.attributes.method
|
54
54
|
|
55
|
-
// array # Associated payment line items
|
55
|
+
// array(object) # Associated payment line items
|
56
56
|
getPaymentLineItems = () => this.attributes.payment_line_items
|
57
57
|
|
58
58
|
// date-time # Date/time payment was reversed if applicable
|
package/src/models/Action.js
CHANGED
package/src/models/App.js
CHANGED
@@ -73,7 +73,7 @@ class App {
|
|
73
73
|
// string # Associated Remote Server type, if any
|
74
74
|
getRemoteServerType = () => this.attributes.remote_server_type
|
75
75
|
|
76
|
-
// array # Screenshots of the App
|
76
|
+
// array(string) # Screenshots of the App
|
77
77
|
getScreenshotListUrls = () => this.attributes.screenshot_list_urls
|
78
78
|
|
79
79
|
// string # Link to SDK installation instructions
|