files.com 1.2.78 → 1.2.79

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 (70) hide show
  1. package/_VERSION +1 -1
  2. package/docs/models/AccountLineItem.md +2 -2
  3. package/docs/models/Action.md +1 -1
  4. package/docs/models/App.md +1 -1
  5. package/docs/models/Automation.md +7 -7
  6. package/docs/models/Bundle.md +2 -2
  7. package/docs/models/Errors.md +2 -2
  8. package/docs/models/FileComment.md +1 -1
  9. package/docs/models/FormField.md +1 -1
  10. package/docs/models/FormFieldSet.md +2 -2
  11. package/docs/models/GroupUser.md +1 -1
  12. package/docs/models/History.md +1 -1
  13. package/docs/models/Invoice.md +2 -2
  14. package/docs/models/IpAddress.md +1 -1
  15. package/docs/models/Message.md +1 -1
  16. package/docs/models/MessageComment.md +1 -1
  17. package/docs/models/Notification.md +3 -3
  18. package/docs/models/Payment.md +2 -2
  19. package/docs/models/SettingsChange.md +1 -1
  20. package/docs/models/ShareGroup.md +1 -1
  21. package/docs/models/Site.md +2 -2
  22. package/docs/models/Status.md +1 -1
  23. package/docs/models/User.md +1 -1
  24. package/lib/Files.js +1 -1
  25. package/lib/models/AccountLineItem.js +2 -2
  26. package/lib/models/Action.js +1 -1
  27. package/lib/models/App.js +1 -1
  28. package/lib/models/Automation.js +7 -7
  29. package/lib/models/Bundle.js +2 -2
  30. package/lib/models/Errors.js +2 -2
  31. package/lib/models/FileComment.js +1 -1
  32. package/lib/models/FormField.js +1 -1
  33. package/lib/models/FormFieldSet.js +2 -2
  34. package/lib/models/GroupUser.js +1 -1
  35. package/lib/models/History.js +1 -1
  36. package/lib/models/Invoice.js +2 -2
  37. package/lib/models/IpAddress.js +1 -1
  38. package/lib/models/Message.js +1 -1
  39. package/lib/models/MessageComment.js +1 -1
  40. package/lib/models/Notification.js +3 -3
  41. package/lib/models/Payment.js +2 -2
  42. package/lib/models/SettingsChange.js +1 -1
  43. package/lib/models/ShareGroup.js +1 -1
  44. package/lib/models/Site.js +2 -2
  45. package/lib/models/Status.js +1 -1
  46. package/lib/models/User.js +1 -1
  47. package/package.json +1 -1
  48. package/src/Files.js +1 -1
  49. package/src/models/AccountLineItem.js +2 -2
  50. package/src/models/Action.js +1 -1
  51. package/src/models/App.js +1 -1
  52. package/src/models/Automation.js +7 -7
  53. package/src/models/Bundle.js +2 -2
  54. package/src/models/Errors.js +2 -2
  55. package/src/models/FileComment.js +1 -1
  56. package/src/models/FormField.js +1 -1
  57. package/src/models/FormFieldSet.js +2 -2
  58. package/src/models/GroupUser.js +1 -1
  59. package/src/models/History.js +1 -1
  60. package/src/models/Invoice.js +2 -2
  61. package/src/models/IpAddress.js +1 -1
  62. package/src/models/Message.js +1 -1
  63. package/src/models/MessageComment.js +1 -1
  64. package/src/models/Notification.js +3 -3
  65. package/src/models/Payment.js +2 -2
  66. package/src/models/SettingsChange.js +1 -1
  67. package/src/models/ShareGroup.js +1 -1
  68. package/src/models/Site.js +2 -2
  69. package/src/models/Status.js +1 -1
  70. package/src/models/User.js +1 -1
package/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.2.78
1
+ 1.2.79
@@ -44,9 +44,9 @@
44
44
  * `created_at` (date-time): Line item created at
45
45
  * `currency` (string): Line item currency
46
46
  * `download_uri` (string): Line item download uri
47
- * `invoice_line_items` (array): Associated invoice line items
47
+ * `invoice_line_items` (array(object)): Associated invoice line items
48
48
  * `method` (string): Line item payment method
49
- * `payment_line_items` (array): Associated payment line items
49
+ * `payment_line_items` (array(object)): Associated payment line items
50
50
  * `payment_reversed_at` (date-time): Date/time payment was reversed if applicable
51
51
  * `payment_type` (string): Type of payment if applicable
52
52
  * `site_name` (string): Site name this line item is for
@@ -29,7 +29,7 @@
29
29
  * `display` (string): Friendly displayed output
30
30
  * `ip` (string): IP Address that performed this action
31
31
  * `source` (string): The source path for this action, if applicable
32
- * `targets` (array): Targets
32
+ * `targets` (array(object)): Targets
33
33
  * `user_id` (int64): User ID
34
34
  * `username` (string): Username
35
35
  * `action` (string): Type of action
@@ -46,7 +46,7 @@
46
46
  * `name` (string): Name of the App
47
47
  * `package_manager_install_command` (string): Package manager install command
48
48
  * `remote_server_type` (string): Associated Remote Server type, if any
49
- * `screenshot_list_urls` (array): Screenshots of the App
49
+ * `screenshot_list_urls` (array(string)): Screenshots of the App
50
50
  * `sdk_installation_instructions_link` (string): Link to SDK installation instructions
51
51
  * `short_description` (string): Short description of the App
52
52
  * `sso_strategy_type` (string): Associated SSO Strategy type, if any
@@ -68,10 +68,10 @@
68
68
  * `description` (string): Description for the this Automation.
69
69
  * `destination_replace_from` (string): If set, this string in the destination path will be replaced with the value in `destination_replace_to`.
70
70
  * `destination_replace_to` (string): If set, this string will replace the value `destination_replace_from` in the destination filename. You can use special patterns here.
71
- * `destinations` (array): Destination Paths
71
+ * `destinations` (array(string)): Destination Paths
72
72
  * `disabled` (boolean): If true, this automation will not run.
73
73
  * `flatten_destination_structure` (boolean): Normally copy and move automations that use globs will implicitly preserve the source folder structure in the destination. If this flag is `true`, the source folder structure will be flattened in the destination. This is useful for copying or moving files from multiple folders into a single destination folder.
74
- * `group_ids` (array): IDs of Groups for the Automation (i.e. who to Request File from)
74
+ * `group_ids` (array(int64)): IDs of Groups for the Automation (i.e. who to Request File from)
75
75
  * `ignore_locked_folders` (boolean): If true, the Lock Folders behavior will be disregarded for automated actions.
76
76
  * `interval` (string): If trigger is `daily`, this specifies how often to run this automation. One of: `day`, `week`, `week_end`, `month`, `month_end`, `quarter`, `quarter_end`, `year`, `year_end`
77
77
  * `last_modified_at` (date-time): Time when automation was last modified. Does not change for name or description updates.
@@ -82,15 +82,15 @@
82
82
  * `recurring_day` (int64): If trigger type is `daily`, this specifies a day number to run in one of the supported intervals: `week`, `month`, `quarter`, `year`.
83
83
  * `schedule` (object): If trigger is `custom_schedule`, Custom schedule description for when the automation should be run in json format.
84
84
  * `human_readable_schedule` (string): If trigger is `custom_schedule`, Human readable Custom schedule description for when the automation should be run.
85
- * `schedule_days_of_week` (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.
86
- * `schedule_times_of_day` (array): If trigger is `custom_schedule`, Custom schedule description for when the automation should be run. Times of day in HH:MM format.
85
+ * `schedule_days_of_week` (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.
86
+ * `schedule_times_of_day` (array(string)): If trigger is `custom_schedule`, Custom schedule description for when the automation should be run. Times of day in HH:MM format.
87
87
  * `schedule_time_zone` (string): If trigger is `custom_schedule`, Custom schedule Time Zone for when the automation should be run.
88
88
  * `source` (string): Source Path
89
- * `sync_ids` (array): IDs of remote sync folder behaviors to run by this Automation
90
- * `trigger_actions` (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
89
+ * `sync_ids` (array(int64)): IDs of remote sync folder behaviors to run by this Automation
90
+ * `trigger_actions` (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
91
91
  * `trigger` (string): How this automation is triggered to run.
92
92
  * `user_id` (int64): User ID of the Automation's creator.
93
- * `user_ids` (array): IDs of Users for the Automation (i.e. who to Request File from)
93
+ * `user_ids` (array(int64)): IDs of Users for the Automation (i.e. who to Request File from)
94
94
  * `value` (object): A Hash of attributes specific to the automation type.
95
95
  * `webhook_url` (string): If trigger is `webhook`, this is the URL of the webhook to trigger the Automation.
96
96
  * `destination` (string): DEPRECATED: Destination Path. Use `destinations` instead.
@@ -123,8 +123,8 @@
123
123
  * `watermark_attachment` (Image): Preview watermark image applied to all bundle items.
124
124
  * `watermark_value` (object): Preview watermark settings applied to all bundle items. Uses the same keys as Behavior.value
125
125
  * `has_inbox` (boolean): Does this bundle have an associated inbox?
126
- * `paths` (array): A list of paths in this bundle. For performance reasons, this is not provided when listing bundles.
127
- * `bundlepaths` (array): A list of bundlepaths in this bundle. For performance reasons, this is not provided when listing bundles.
126
+ * `paths` (array(string)): A list of paths in this bundle. For performance reasons, this is not provided when listing bundles.
127
+ * `bundlepaths` (array(object)): A list of bundlepaths in this bundle. For performance reasons, this is not provided when listing bundles.
128
128
  * `password` (string): Password for this bundle.
129
129
  * `form_field_set_id` (int64): Id of Form Field Set to use with this bundle
130
130
  * `create_snapshot` (boolean): If true, create a snapshot of this bundle's contents.
@@ -13,5 +13,5 @@
13
13
  }
14
14
  ```
15
15
 
16
- * `fields` (array): A list of fields where errors occur
17
- * `messages` (array): A list of error messages
16
+ * `fields` (array(string)): A list of fields where errors occur
17
+ * `messages` (array(string)): A list of error messages
@@ -17,7 +17,7 @@
17
17
 
18
18
  * `id` (int64): File Comment ID
19
19
  * `body` (string): Comment body.
20
- * `reactions` (array): Reactions to this comment.
20
+ * `reactions` (array(object)): Reactions to this comment.
21
21
  * `path` (string): File path.
22
22
 
23
23
  ---
@@ -24,6 +24,6 @@
24
24
  * `required` (boolean): Is this a required field?
25
25
  * `help_text` (string): Help text to be displayed
26
26
  * `field_type` (string): Type of Field
27
- * `options_for_select` (array): Options to display for radio and dropdown
27
+ * `options_for_select` (array(string)): Options to display for radio and dropdown
28
28
  * `default_option` (string): Default option for radio and dropdown
29
29
  * `form_field_set_id` (int64): Form field set id
@@ -36,8 +36,8 @@
36
36
 
37
37
  * `id` (int64): Form field set id
38
38
  * `title` (string): Title to be displayed
39
- * `form_layout` (array): Layout of the form
40
- * `form_fields` (array): Associated form fields
39
+ * `form_layout` (array(int64)): Layout of the form
40
+ * `form_fields` (array(object)): Associated form fields
41
41
  * `skip_name` (boolean): Any associated InboxRegistrations or BundleRegistrations can be saved without providing name
42
42
  * `skip_email` (boolean): Any associated InboxRegistrations or BundleRegistrations can be saved without providing email
43
43
  * `skip_company` (boolean): Any associated InboxRegistrations or BundleRegistrations can be saved without providing company
@@ -18,7 +18,7 @@
18
18
  * `group_id` (int64): Group ID
19
19
  * `user_id` (int64): User ID
20
20
  * `admin` (boolean): Is this user an administrator of this group?
21
- * `usernames` (array): A list of usernames for users in this group
21
+ * `usernames` (array(string)): A list of usernames for users in this group
22
22
  * `id` (int64): Group User ID.
23
23
 
24
24
  ---
@@ -29,7 +29,7 @@
29
29
  * `display` (string): Friendly displayed output
30
30
  * `ip` (string): IP Address that performed this action
31
31
  * `source` (string): The source path for this action, if applicable
32
- * `targets` (array): Targets
32
+ * `targets` (array(object)): Targets
33
33
  * `user_id` (int64): User ID
34
34
  * `username` (string): Username
35
35
  * `action` (string): Type of action
@@ -44,9 +44,9 @@
44
44
  * `created_at` (date-time): Line item created at
45
45
  * `currency` (string): Line item currency
46
46
  * `download_uri` (string): Line item download uri
47
- * `invoice_line_items` (array): Associated invoice line items
47
+ * `invoice_line_items` (array(object)): Associated invoice line items
48
48
  * `method` (string): Line item payment method
49
- * `payment_line_items` (array): Associated payment line items
49
+ * `payment_line_items` (array(object)): Associated payment line items
50
50
  * `payment_reversed_at` (date-time): Date/time payment was reversed if applicable
51
51
  * `payment_type` (string): Type of payment if applicable
52
52
  * `site_name` (string): Site name this line item is for
@@ -16,7 +16,7 @@
16
16
  * `id` (string): Unique label for list; used by Zapier and other integrations.
17
17
  * `associated_with` (string): The object that this public IP address list is associated with.
18
18
  * `group_id` (int64): Group ID
19
- * `ip_addresses` (array): A list of IP addresses.
19
+ * `ip_addresses` (array(string)): A list of IP addresses.
20
20
 
21
21
  ---
22
22
 
@@ -25,7 +25,7 @@
25
25
  * `id` (int64): Message ID
26
26
  * `subject` (string): Message subject.
27
27
  * `body` (string): Message body.
28
- * `comments` (array): Comments.
28
+ * `comments` (array(object)): Comments.
29
29
  * `user_id` (int64): User ID. Provide a value of `0` to operate the current session's user.
30
30
  * `project_id` (int64): Project to which the message should be attached.
31
31
 
@@ -17,7 +17,7 @@
17
17
 
18
18
  * `id` (int64): Message Comment ID
19
19
  * `body` (string): Comment body.
20
- * `reactions` (array): Reactions to this comment.
20
+ * `reactions` (array(object)): Reactions to this comment.
21
21
  * `user_id` (int64): User ID. Provide a value of `0` to operate the current session's user.
22
22
 
23
23
  ---
@@ -40,8 +40,8 @@
40
40
  * `path` (string): Folder path to notify on This must be slash-delimited, but it must neither start nor end with a slash. Maximum of 5000 characters.
41
41
  * `group_id` (int64): ID of Group to receive notifications
42
42
  * `group_name` (string): Group name, if a Group ID is set
43
- * `triggering_group_ids` (array): If set, will only notify on actions made by a member of one of the specified groups
44
- * `triggering_user_ids` (array): If set, will onlynotify on actions made one of the specified users
43
+ * `triggering_group_ids` (array(int64)): If set, will only notify on actions made by a member of one of the specified groups
44
+ * `triggering_user_ids` (array(int64)): If set, will onlynotify on actions made one of the specified users
45
45
  * `trigger_by_share_recipients` (boolean): Notify when actions are performed by a share recipient?
46
46
  * `notify_user_actions` (boolean): If true, will send notifications about a user's own activity to that user. If false, only activity performed by other users (or anonymous users) will be sent in notifications.
47
47
  * `notify_on_copy` (boolean): Trigger on files copied to this path?
@@ -52,7 +52,7 @@
52
52
  * `recursive` (boolean): Apply notification recursively? This will enable notifications for each subfolder.
53
53
  * `send_interval` (string): The time interval that notifications are aggregated to
54
54
  * `message` (string): Custom message to include in notification emails
55
- * `triggering_filenames` (array): Array of filenames (possibly with wildcards) to scope trigger
55
+ * `triggering_filenames` (array(string)): Array of filenames (possibly with wildcards) to scope trigger
56
56
  * `unsubscribed` (boolean): Is the user unsubscribed from this notification?
57
57
  * `unsubscribed_reason` (string): The reason that the user unsubscribed
58
58
  * `user_id` (int64): Notification user ID
@@ -44,9 +44,9 @@
44
44
  * `created_at` (date-time): Line item created at
45
45
  * `currency` (string): Line item currency
46
46
  * `download_uri` (string): Line item download uri
47
- * `invoice_line_items` (array): Associated invoice line items
47
+ * `invoice_line_items` (array(object)): Associated invoice line items
48
48
  * `method` (string): Line item payment method
49
- * `payment_line_items` (array): Associated payment line items
49
+ * `payment_line_items` (array(object)): Associated payment line items
50
50
  * `payment_reversed_at` (date-time): Date/time payment was reversed if applicable
51
51
  * `payment_type` (string): Type of payment if applicable
52
52
  * `site_name` (string): Site name this line item is for
@@ -15,7 +15,7 @@
15
15
  }
16
16
  ```
17
17
 
18
- * `changes` (array): Markdown-formatted change messages.
18
+ * `changes` (array(string)): Markdown-formatted change messages.
19
19
  * `created_at` (date-time): The time this change was made
20
20
  * `user_id` (int64): The user id responsible for this change
21
21
  * `api_key_id` (int64): The api key id responsible for this change
@@ -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
 
@@ -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?
@@ -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
@@ -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
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.78';
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
  });
@@ -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
  });
@@ -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
  });
@@ -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
  });
@@ -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
  });
@@ -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
  });
@@ -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
  });
@@ -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
  });
@@ -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
  });
@@ -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
  });
@@ -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
  });
@@ -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
  });
@@ -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
  });
@@ -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
  });
@@ -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
  });
@@ -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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "files.com",
3
- "version": "1.2.78",
3
+ "version": "1.2.79",
4
4
  "description": "Files.com SDK for JavaScript",
5
5
  "keywords": [
6
6
  "files.com",
package/src/Files.js CHANGED
@@ -5,7 +5,7 @@ const endpointPrefix = '/api/rest/v1'
5
5
  let apiKey
6
6
  let baseUrl = 'https://app.files.com'
7
7
  let sessionId = null
8
- const version = '1.2.78'
8
+ const version = '1.2.79'
9
9
  let userAgent = `Files.com JavaScript SDK v${version}`
10
10
 
11
11
  let logLevel = LogLevel.INFO
@@ -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
@@ -49,7 +49,7 @@ class Action {
49
49
  // string # The source path for this action, if applicable
50
50
  getSource = () => this.attributes.source
51
51
 
52
- // array # Targets
52
+ // array(object) # Targets
53
53
  getTargets = () => this.attributes.targets
54
54
 
55
55
  // int64 # User ID
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
@@ -77,7 +77,7 @@ class Automation {
77
77
  this.attributes.destination_replace_to = value
78
78
  }
79
79
 
80
- // array # Destination Paths
80
+ // array(string) # Destination Paths
81
81
  getDestinations = () => this.attributes.destinations
82
82
 
83
83
  setDestinations = value => {
@@ -98,7 +98,7 @@ class Automation {
98
98
  this.attributes.flatten_destination_structure = value
99
99
  }
100
100
 
101
- // array # IDs of Groups for the Automation (i.e. who to Request File from)
101
+ // array(int64) # IDs of Groups for the Automation (i.e. who to Request File from)
102
102
  getGroupIds = () => this.attributes.group_ids
103
103
 
104
104
  setGroupIds = value => {
@@ -175,14 +175,14 @@ class Automation {
175
175
  this.attributes.human_readable_schedule = value
176
176
  }
177
177
 
178
- // 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.
178
+ // 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.
179
179
  getScheduleDaysOfWeek = () => this.attributes.schedule_days_of_week
180
180
 
181
181
  setScheduleDaysOfWeek = value => {
182
182
  this.attributes.schedule_days_of_week = value
183
183
  }
184
184
 
185
- // array # If trigger is `custom_schedule`, Custom schedule description for when the automation should be run. Times of day in HH:MM format.
185
+ // array(string) # If trigger is `custom_schedule`, Custom schedule description for when the automation should be run. Times of day in HH:MM format.
186
186
  getScheduleTimesOfDay = () => this.attributes.schedule_times_of_day
187
187
 
188
188
  setScheduleTimesOfDay = value => {
@@ -203,14 +203,14 @@ class Automation {
203
203
  this.attributes.source = value
204
204
  }
205
205
 
206
- // array # IDs of remote sync folder behaviors to run by this Automation
206
+ // array(int64) # IDs of remote sync folder behaviors to run by this Automation
207
207
  getSyncIds = () => this.attributes.sync_ids
208
208
 
209
209
  setSyncIds = value => {
210
210
  this.attributes.sync_ids = value
211
211
  }
212
212
 
213
- // 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
213
+ // 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
214
214
  getTriggerActions = () => this.attributes.trigger_actions
215
215
 
216
216
  setTriggerActions = value => {
@@ -231,7 +231,7 @@ class Automation {
231
231
  this.attributes.user_id = value
232
232
  }
233
233
 
234
- // array # IDs of Users for the Automation (i.e. who to Request File from)
234
+ // array(int64) # IDs of Users for the Automation (i.e. who to Request File from)
235
235
  getUserIds = () => this.attributes.user_ids
236
236
 
237
237
  setUserIds = value => {
@@ -283,14 +283,14 @@ class Bundle {
283
283
  this.attributes.has_inbox = value
284
284
  }
285
285
 
286
- // array # A list of paths in this bundle. For performance reasons, this is not provided when listing bundles.
286
+ // array(string) # A list of paths in this bundle. For performance reasons, this is not provided when listing bundles.
287
287
  getPaths = () => this.attributes.paths
288
288
 
289
289
  setPaths = value => {
290
290
  this.attributes.paths = value
291
291
  }
292
292
 
293
- // array # A list of bundlepaths in this bundle. For performance reasons, this is not provided when listing bundles.
293
+ // array(object) # A list of bundlepaths in this bundle. For performance reasons, this is not provided when listing bundles.
294
294
  getBundlepaths = () => this.attributes.bundlepaths
295
295
 
296
296
  setBundlepaths = value => {
@@ -28,10 +28,10 @@ class Errors {
28
28
 
29
29
  isLoaded = () => !!this.attributes.id
30
30
 
31
- // array # A list of fields where errors occur
31
+ // array(string) # A list of fields where errors occur
32
32
  getFields = () => this.attributes.fields
33
33
 
34
- // array # A list of error messages
34
+ // array(string) # A list of error messages
35
35
  getMessages = () => this.attributes.messages
36
36
  }
37
37
 
@@ -42,7 +42,7 @@ class FileComment {
42
42
  this.attributes.body = value
43
43
  }
44
44
 
45
- // array # Reactions to this comment.
45
+ // array(object) # Reactions to this comment.
46
46
  getReactions = () => this.attributes.reactions
47
47
 
48
48
  setReactions = value => {
@@ -43,7 +43,7 @@ class FormField {
43
43
  // string # Type of Field
44
44
  getFieldType = () => this.attributes.field_type
45
45
 
46
- // array # Options to display for radio and dropdown
46
+ // array(string) # Options to display for radio and dropdown
47
47
  getOptionsForSelect = () => this.attributes.options_for_select
48
48
 
49
49
  // string # Default option for radio and dropdown
@@ -42,14 +42,14 @@ class FormFieldSet {
42
42
  this.attributes.title = value
43
43
  }
44
44
 
45
- // array # Layout of the form
45
+ // array(int64) # Layout of the form
46
46
  getFormLayout = () => this.attributes.form_layout
47
47
 
48
48
  setFormLayout = value => {
49
49
  this.attributes.form_layout = value
50
50
  }
51
51
 
52
- // array # Associated form fields
52
+ // array(object) # Associated form fields
53
53
  getFormFields = () => this.attributes.form_fields
54
54
 
55
55
  setFormFields = value => {
@@ -56,7 +56,7 @@ class GroupUser {
56
56
  this.attributes.admin = value
57
57
  }
58
58
 
59
- // array # A list of usernames for users in this group
59
+ // array(string) # A list of usernames for users in this group
60
60
  getUsernames = () => this.attributes.usernames
61
61
 
62
62
  setUsernames = value => {
@@ -49,7 +49,7 @@ class History {
49
49
  // string # The source path for this action, if applicable
50
50
  getSource = () => this.attributes.source
51
51
 
52
- // array # Targets
52
+ // array(object) # Targets
53
53
  getTargets = () => this.attributes.targets
54
54
 
55
55
  // int64 # User ID
@@ -46,13 +46,13 @@ class Invoice {
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
@@ -37,7 +37,7 @@ class IpAddress {
37
37
  // int64 # Group ID
38
38
  getGroupId = () => this.attributes.group_id
39
39
 
40
- // array # A list of IP addresses.
40
+ // array(string) # A list of IP addresses.
41
41
  getIpAddresses = () => this.attributes.ip_addresses
42
42
 
43
43
  // Parameters:
@@ -49,7 +49,7 @@ class Message {
49
49
  this.attributes.body = value
50
50
  }
51
51
 
52
- // array # Comments.
52
+ // array(object) # Comments.
53
53
  getComments = () => this.attributes.comments
54
54
 
55
55
  setComments = value => {
@@ -42,7 +42,7 @@ class MessageComment {
42
42
  this.attributes.body = value
43
43
  }
44
44
 
45
- // array # Reactions to this comment.
45
+ // array(object) # Reactions to this comment.
46
46
  getReactions = () => this.attributes.reactions
47
47
 
48
48
  setReactions = value => {
@@ -56,14 +56,14 @@ class Notification {
56
56
  this.attributes.group_name = value
57
57
  }
58
58
 
59
- // array # If set, will only notify on actions made by a member of one of the specified groups
59
+ // array(int64) # If set, will only notify on actions made by a member of one of the specified groups
60
60
  getTriggeringGroupIds = () => this.attributes.triggering_group_ids
61
61
 
62
62
  setTriggeringGroupIds = value => {
63
63
  this.attributes.triggering_group_ids = value
64
64
  }
65
65
 
66
- // array # If set, will onlynotify on actions made one of the specified users
66
+ // array(int64) # If set, will onlynotify on actions made one of the specified users
67
67
  getTriggeringUserIds = () => this.attributes.triggering_user_ids
68
68
 
69
69
  setTriggeringUserIds = value => {
@@ -140,7 +140,7 @@ class Notification {
140
140
  this.attributes.message = value
141
141
  }
142
142
 
143
- // array # Array of filenames (possibly with wildcards) to scope trigger
143
+ // array(string) # Array of filenames (possibly with wildcards) to scope trigger
144
144
  getTriggeringFilenames = () => this.attributes.triggering_filenames
145
145
 
146
146
  setTriggeringFilenames = value => {
@@ -46,13 +46,13 @@ class Payment {
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
@@ -28,7 +28,7 @@ class SettingsChange {
28
28
 
29
29
  isLoaded = () => !!this.attributes.id
30
30
 
31
- // array # Markdown-formatted change messages.
31
+ // array(string) # Markdown-formatted change messages.
32
32
  getChanges = () => this.attributes.changes
33
33
 
34
34
  // date-time # The time this change was made
@@ -56,7 +56,7 @@ class ShareGroup {
56
56
  this.attributes.user_id = value
57
57
  }
58
58
 
59
- // array # A list of share group members
59
+ // array(object) # A list of share group members
60
60
  getMembers = () => this.attributes.members
61
61
 
62
62
  setMembers = value => {
@@ -31,7 +31,7 @@ class Site {
31
31
  // string # Site name
32
32
  getName = () => this.attributes.name
33
33
 
34
- // array # Additional extensions that are considered text files
34
+ // array(string) # Additional extensions that are considered text files
35
35
  getAdditionalTextFileTypes = () => this.attributes.additional_text_file_types
36
36
 
37
37
  // boolean # Is SMS two factor authentication allowed?
@@ -91,7 +91,7 @@ class Site {
91
91
  // boolean # Do Bundles require password protection?
92
92
  getBundlePasswordRequired = () => this.attributes.bundle_password_required
93
93
 
94
- // array # List of email domains to disallow when entering a Bundle/Inbox recipients
94
+ // array(string) # List of email domains to disallow when entering a Bundle/Inbox recipients
95
95
  getBundleRecipientBlacklistDomains = () => this.attributes.bundle_recipient_blacklist_domains
96
96
 
97
97
  // boolean # Disallow free email domains for Bundle/Inbox recipients?
@@ -40,7 +40,7 @@ class Status {
40
40
  // Auto # Additional data
41
41
  getData = () => this.attributes.data
42
42
 
43
- // array # A list of api errors
43
+ // array(object) # A list of api errors
44
44
  getErrors = () => this.attributes.errors
45
45
 
46
46
  // int64 # Required Clickwrap id
@@ -42,7 +42,7 @@ class User {
42
42
  this.attributes.username = value
43
43
  }
44
44
 
45
- // array # List of group IDs of which this user is an administrator
45
+ // array(int64) # List of group IDs of which this user is an administrator
46
46
  getAdminGroupIds = () => this.attributes.admin_group_ids
47
47
 
48
48
  setAdminGroupIds = value => {