files.com 1.0.251 → 1.0.253
Sign up to get free protection for your applications and to get access to all the features.
- package/_VERSION +1 -1
- package/docs/models/ActionNotificationExportResult.md +1 -1
- package/docs/models/ApiKey.md +2 -2
- package/docs/models/App.md +2 -2
- package/docs/models/As2IncomingMessage.md +2 -2
- package/docs/models/As2OutgoingMessage.md +2 -2
- package/docs/models/As2Partner.md +1 -1
- package/docs/models/As2Station.md +1 -1
- package/docs/models/Automation.md +15 -2
- package/docs/models/AutomationRun.md +2 -2
- package/docs/models/BandwidthSnapshot.md +2 -2
- package/docs/models/Behavior.md +4 -4
- package/docs/models/Bundle.md +2 -2
- package/docs/models/BundleDownload.md +2 -2
- package/docs/models/BundleNotification.md +1 -1
- package/docs/models/BundleRecipient.md +2 -2
- package/docs/models/BundleRegistration.md +1 -1
- package/docs/models/Clickwrap.md +1 -1
- package/docs/models/DnsRecord.md +1 -1
- package/docs/models/ExternalEvent.md +2 -2
- package/docs/models/FileComment.md +1 -1
- package/docs/models/FormFieldSet.md +1 -1
- package/docs/models/Group.md +2 -2
- package/docs/models/GroupUser.md +1 -1
- package/docs/models/History.md +10 -10
- package/docs/models/HistoryExportResult.md +1 -1
- package/docs/models/InboxRecipient.md +2 -2
- package/docs/models/InboxRegistration.md +1 -1
- package/docs/models/InboxUpload.md +2 -2
- package/docs/models/Invoice.md +1 -1
- package/docs/models/IpAddress.md +3 -3
- package/docs/models/Lock.md +1 -1
- package/docs/models/Message.md +1 -1
- package/docs/models/MessageComment.md +1 -1
- package/docs/models/MessageCommentReaction.md +1 -1
- package/docs/models/MessageReaction.md +1 -1
- package/docs/models/Notification.md +2 -2
- package/docs/models/Payment.md +1 -1
- package/docs/models/Permission.md +2 -2
- package/docs/models/Priority.md +1 -1
- package/docs/models/Project.md +1 -1
- package/docs/models/PublicKey.md +1 -1
- package/docs/models/RemoteBandwidthSnapshot.md +2 -2
- package/docs/models/RemoteServer.md +1 -1
- package/docs/models/Request.md +4 -4
- package/docs/models/SettingsChange.md +2 -2
- package/docs/models/SftpHostKey.md +1 -1
- package/docs/models/SsoStrategy.md +1 -1
- package/docs/models/UsageDailySnapshot.md +2 -2
- package/docs/models/UsageSnapshot.md +1 -1
- package/docs/models/User.md +2 -2
- package/docs/models/UserCipherUse.md +1 -1
- package/docs/models/UserRequest.md +1 -1
- package/lib/models/ActionNotificationExportResult.js +1 -1
- package/lib/models/ApiKey.js +2 -2
- package/lib/models/App.js +2 -2
- package/lib/models/As2IncomingMessage.js +2 -2
- package/lib/models/As2OutgoingMessage.js +2 -2
- package/lib/models/As2Partner.js +1 -1
- package/lib/models/As2Station.js +1 -1
- package/lib/models/Automation.js +62 -41
- package/lib/models/AutomationRun.js +2 -2
- package/lib/models/BandwidthSnapshot.js +2 -2
- package/lib/models/Behavior.js +4 -4
- package/lib/models/Bundle.js +2 -2
- package/lib/models/BundleDownload.js +2 -2
- package/lib/models/BundleNotification.js +1 -1
- package/lib/models/BundleRecipient.js +2 -2
- package/lib/models/BundleRegistration.js +1 -1
- package/lib/models/Clickwrap.js +1 -1
- package/lib/models/DnsRecord.js +1 -1
- package/lib/models/ExternalEvent.js +2 -2
- package/lib/models/FileComment.js +1 -1
- package/lib/models/FormFieldSet.js +1 -1
- package/lib/models/Group.js +2 -2
- package/lib/models/GroupUser.js +1 -1
- package/lib/models/History.js +10 -10
- package/lib/models/HistoryExportResult.js +1 -1
- package/lib/models/InboxRecipient.js +2 -2
- package/lib/models/InboxRegistration.js +1 -1
- package/lib/models/InboxUpload.js +2 -2
- package/lib/models/Invoice.js +1 -1
- package/lib/models/IpAddress.js +3 -3
- package/lib/models/Lock.js +1 -1
- package/lib/models/Message.js +1 -1
- package/lib/models/MessageComment.js +1 -1
- package/lib/models/MessageCommentReaction.js +1 -1
- package/lib/models/MessageReaction.js +1 -1
- package/lib/models/Notification.js +2 -2
- package/lib/models/Payment.js +1 -1
- package/lib/models/Permission.js +2 -2
- package/lib/models/Priority.js +1 -1
- package/lib/models/Project.js +1 -1
- package/lib/models/PublicKey.js +1 -1
- package/lib/models/RemoteBandwidthSnapshot.js +2 -2
- package/lib/models/RemoteServer.js +1 -1
- package/lib/models/Request.js +4 -4
- package/lib/models/SettingsChange.js +2 -2
- package/lib/models/SftpHostKey.js +1 -1
- package/lib/models/SsoStrategy.js +1 -1
- package/lib/models/UsageDailySnapshot.js +2 -2
- package/lib/models/UsageSnapshot.js +1 -1
- package/lib/models/User.js +2 -2
- package/lib/models/UserCipherUse.js +1 -1
- package/lib/models/UserRequest.js +1 -1
- package/package.json +1 -1
- package/src/models/ActionNotificationExportResult.js +1 -1
- package/src/models/ApiKey.js +2 -2
- package/src/models/App.js +2 -2
- package/src/models/As2IncomingMessage.js +2 -2
- package/src/models/As2OutgoingMessage.js +2 -2
- package/src/models/As2Partner.js +1 -1
- package/src/models/As2Station.js +1 -1
- package/src/models/Automation.js +18 -2
- package/src/models/AutomationRun.js +2 -2
- package/src/models/BandwidthSnapshot.js +2 -2
- package/src/models/Behavior.js +4 -4
- package/src/models/Bundle.js +2 -2
- package/src/models/BundleDownload.js +2 -2
- package/src/models/BundleNotification.js +1 -1
- package/src/models/BundleRecipient.js +2 -2
- package/src/models/BundleRegistration.js +1 -1
- package/src/models/Clickwrap.js +1 -1
- package/src/models/DnsRecord.js +1 -1
- package/src/models/ExternalEvent.js +2 -2
- package/src/models/FileComment.js +1 -1
- package/src/models/FormFieldSet.js +1 -1
- package/src/models/Group.js +2 -2
- package/src/models/GroupUser.js +1 -1
- package/src/models/History.js +10 -10
- package/src/models/HistoryExportResult.js +1 -1
- package/src/models/InboxRecipient.js +2 -2
- package/src/models/InboxRegistration.js +1 -1
- package/src/models/InboxUpload.js +2 -2
- package/src/models/Invoice.js +1 -1
- package/src/models/IpAddress.js +3 -3
- package/src/models/Lock.js +1 -1
- package/src/models/Message.js +1 -1
- package/src/models/MessageComment.js +1 -1
- package/src/models/MessageCommentReaction.js +1 -1
- package/src/models/MessageReaction.js +1 -1
- package/src/models/Notification.js +2 -2
- package/src/models/Payment.js +1 -1
- package/src/models/Permission.js +2 -2
- package/src/models/Priority.js +1 -1
- package/src/models/Project.js +1 -1
- package/src/models/PublicKey.js +1 -1
- package/src/models/RemoteBandwidthSnapshot.js +2 -2
- package/src/models/RemoteServer.js +1 -1
- package/src/models/Request.js +4 -4
- package/src/models/SettingsChange.js +2 -2
- package/src/models/SftpHostKey.js +1 -1
- package/src/models/SsoStrategy.js +1 -1
- package/src/models/UsageDailySnapshot.js +2 -2
- package/src/models/UsageSnapshot.js +1 -1
- package/src/models/User.js +2 -2
- package/src/models/UserCipherUse.js +1 -1
- package/src/models/UserRequest.js +1 -1
package/src/models/History.js
CHANGED
@@ -67,9 +67,9 @@ class History {
|
|
67
67
|
// start_at - string - Leave blank or set to a date/time to filter earlier entries.
|
68
68
|
// end_at - string - Leave blank or set to a date/time to filter later entries.
|
69
69
|
// display - string - Display format. Leave blank or set to `full` or `parent`.
|
70
|
-
// cursor - string - Used for pagination.
|
70
|
+
// cursor - string - Used for pagination. When a list request has more records available, cursors are provided in the response headers `X-Files-Cursor-Next` and `X-Files-Cursor-Prev`. Send one of those cursor value here to resume an existing list from the next available record. Note: many of our SDKs have iterator methods that will automatically handle cursor-based pagination.
|
71
71
|
// per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
72
|
-
// sort_by - object - If set, sort records by the specified field in either
|
72
|
+
// sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction (e.g. `sort_by[user_id]=desc`). Valid fields are `user_id` and `created_at`.
|
73
73
|
// path (required) - string - Path to operate on.
|
74
74
|
static listForFile = async (path, params = {}, options = {}) => {
|
75
75
|
if (!isObject(params)) {
|
@@ -115,9 +115,9 @@ class History {
|
|
115
115
|
// start_at - string - Leave blank or set to a date/time to filter earlier entries.
|
116
116
|
// end_at - string - Leave blank or set to a date/time to filter later entries.
|
117
117
|
// display - string - Display format. Leave blank or set to `full` or `parent`.
|
118
|
-
// cursor - string - Used for pagination.
|
118
|
+
// cursor - string - Used for pagination. When a list request has more records available, cursors are provided in the response headers `X-Files-Cursor-Next` and `X-Files-Cursor-Prev`. Send one of those cursor value here to resume an existing list from the next available record. Note: many of our SDKs have iterator methods that will automatically handle cursor-based pagination.
|
119
119
|
// per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
120
|
-
// sort_by - object - If set, sort records by the specified field in either
|
120
|
+
// sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction (e.g. `sort_by[user_id]=desc`). Valid fields are `user_id` and `created_at`.
|
121
121
|
// path (required) - string - Path to operate on.
|
122
122
|
static listForFolder = async (path, params = {}, options = {}) => {
|
123
123
|
if (!isObject(params)) {
|
@@ -163,9 +163,9 @@ class History {
|
|
163
163
|
// start_at - string - Leave blank or set to a date/time to filter earlier entries.
|
164
164
|
// end_at - string - Leave blank or set to a date/time to filter later entries.
|
165
165
|
// display - string - Display format. Leave blank or set to `full` or `parent`.
|
166
|
-
// cursor - string - Used for pagination.
|
166
|
+
// cursor - string - Used for pagination. When a list request has more records available, cursors are provided in the response headers `X-Files-Cursor-Next` and `X-Files-Cursor-Prev`. Send one of those cursor value here to resume an existing list from the next available record. Note: many of our SDKs have iterator methods that will automatically handle cursor-based pagination.
|
167
167
|
// per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
168
|
-
// sort_by - object - If set, sort records by the specified field in either
|
168
|
+
// sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction (e.g. `sort_by[user_id]=desc`). Valid fields are `user_id` and `created_at`.
|
169
169
|
// user_id (required) - int64 - User ID.
|
170
170
|
static listForUser = async (user_id, params = {}, options = {}) => {
|
171
171
|
if (!isObject(params)) {
|
@@ -211,9 +211,9 @@ class History {
|
|
211
211
|
// start_at - string - Leave blank or set to a date/time to filter earlier entries.
|
212
212
|
// end_at - string - Leave blank or set to a date/time to filter later entries.
|
213
213
|
// display - string - Display format. Leave blank or set to `full` or `parent`.
|
214
|
-
// cursor - string - Used for pagination.
|
214
|
+
// cursor - string - Used for pagination. When a list request has more records available, cursors are provided in the response headers `X-Files-Cursor-Next` and `X-Files-Cursor-Prev`. Send one of those cursor value here to resume an existing list from the next available record. Note: many of our SDKs have iterator methods that will automatically handle cursor-based pagination.
|
215
215
|
// per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
216
|
-
// sort_by - object - If set, sort records by the specified field in either
|
216
|
+
// sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction (e.g. `sort_by[user_id]=desc`). Valid fields are `user_id` and `created_at`.
|
217
217
|
static listLogins = async (params = {}, options = {}) => {
|
218
218
|
if (params['start_at'] && !isString(params['start_at'])) {
|
219
219
|
throw new errors.InvalidParameterError(`Bad parameter: start_at must be of type String, received ${getType(params['start_at'])}`)
|
@@ -244,9 +244,9 @@ class History {
|
|
244
244
|
// start_at - string - Leave blank or set to a date/time to filter earlier entries.
|
245
245
|
// end_at - string - Leave blank or set to a date/time to filter later entries.
|
246
246
|
// display - string - Display format. Leave blank or set to `full` or `parent`.
|
247
|
-
// cursor - string - Used for pagination.
|
247
|
+
// cursor - string - Used for pagination. When a list request has more records available, cursors are provided in the response headers `X-Files-Cursor-Next` and `X-Files-Cursor-Prev`. Send one of those cursor value here to resume an existing list from the next available record. Note: many of our SDKs have iterator methods that will automatically handle cursor-based pagination.
|
248
248
|
// per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
249
|
-
// sort_by - object - If set, sort records by the specified field in either
|
249
|
+
// sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction (e.g. `sort_by[path]=desc`). Valid fields are `path`, `folder`, `user_id` or `created_at`.
|
250
250
|
// filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `user_id`, `folder` or `path`.
|
251
251
|
// filter_gt - object - If set, return records where the specified field is greater than the supplied value. Valid fields are `user_id`, `folder` or `path`.
|
252
252
|
// filter_gteq - object - If set, return records where the specified field is greater than or equal to the supplied value. Valid fields are `user_id`, `folder` or `path`.
|
@@ -98,7 +98,7 @@ class HistoryExportResult {
|
|
98
98
|
|
99
99
|
// Parameters:
|
100
100
|
// user_id - int64 - User ID. Provide a value of `0` to operate the current session's user.
|
101
|
-
// cursor - string - Used for pagination.
|
101
|
+
// cursor - string - Used for pagination. When a list request has more records available, cursors are provided in the response headers `X-Files-Cursor-Next` and `X-Files-Cursor-Prev`. Send one of those cursor value here to resume an existing list from the next available record. Note: many of our SDKs have iterator methods that will automatically handle cursor-based pagination.
|
102
102
|
// per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
103
103
|
// history_export_id (required) - int64 - ID of the associated history export.
|
104
104
|
static list = async (params = {}, options = {}) => {
|
@@ -92,9 +92,9 @@ class InboxRecipient {
|
|
92
92
|
|
93
93
|
// Parameters:
|
94
94
|
// user_id - int64 - User ID. Provide a value of `0` to operate the current session's user.
|
95
|
-
// cursor - string - Used for pagination.
|
95
|
+
// cursor - string - Used for pagination. When a list request has more records available, cursors are provided in the response headers `X-Files-Cursor-Next` and `X-Files-Cursor-Prev`. Send one of those cursor value here to resume an existing list from the next available record. Note: many of our SDKs have iterator methods that will automatically handle cursor-based pagination.
|
96
96
|
// per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
97
|
-
// sort_by - object - If set, sort records by the specified field in either
|
97
|
+
// sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction (e.g. `sort_by[has_registrations]=desc`). Valid fields are `has_registrations`.
|
98
98
|
// filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `has_registrations`.
|
99
99
|
// filter_gt - object - If set, return records where the specified field is greater than the supplied value. Valid fields are `has_registrations`.
|
100
100
|
// filter_gteq - object - If set, return records where the specified field is greater than or equal to the supplied value. Valid fields are `has_registrations`.
|
@@ -58,7 +58,7 @@ class InboxRegistration {
|
|
58
58
|
|
59
59
|
|
60
60
|
// Parameters:
|
61
|
-
// cursor - string - Used for pagination.
|
61
|
+
// cursor - string - Used for pagination. When a list request has more records available, cursors are provided in the response headers `X-Files-Cursor-Next` and `X-Files-Cursor-Prev`. Send one of those cursor value here to resume an existing list from the next available record. Note: many of our SDKs have iterator methods that will automatically handle cursor-based pagination.
|
62
62
|
// per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
63
63
|
// folder_behavior_id - int64 - ID of the associated Inbox.
|
64
64
|
static list = async (params = {}, options = {}) => {
|
@@ -34,9 +34,9 @@ class InboxUpload {
|
|
34
34
|
|
35
35
|
|
36
36
|
// Parameters:
|
37
|
-
// cursor - string - Used for pagination.
|
37
|
+
// cursor - string - Used for pagination. When a list request has more records available, cursors are provided in the response headers `X-Files-Cursor-Next` and `X-Files-Cursor-Prev`. Send one of those cursor value here to resume an existing list from the next available record. Note: many of our SDKs have iterator methods that will automatically handle cursor-based pagination.
|
38
38
|
// per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
39
|
-
// sort_by - object - If set, sort records by the specified field in either
|
39
|
+
// sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction (e.g. `sort_by[created_at]=desc`). Valid fields are `created_at`.
|
40
40
|
// filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`.
|
41
41
|
// filter_gt - object - If set, return records where the specified field is greater than the supplied value. Valid fields are `created_at`.
|
42
42
|
// filter_gteq - object - If set, return records where the specified field is greater than or equal to the supplied value. Valid fields are `created_at`.
|
package/src/models/Invoice.js
CHANGED
@@ -67,7 +67,7 @@ class Invoice {
|
|
67
67
|
|
68
68
|
|
69
69
|
// Parameters:
|
70
|
-
// cursor - string - Used for pagination.
|
70
|
+
// cursor - string - Used for pagination. When a list request has more records available, cursors are provided in the response headers `X-Files-Cursor-Next` and `X-Files-Cursor-Prev`. Send one of those cursor value here to resume an existing list from the next available record. Note: many of our SDKs have iterator methods that will automatically handle cursor-based pagination.
|
71
71
|
// per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
72
72
|
static list = async (params = {}, options = {}) => {
|
73
73
|
if (params['cursor'] && !isString(params['cursor'])) {
|
package/src/models/IpAddress.js
CHANGED
@@ -37,7 +37,7 @@ class IpAddress {
|
|
37
37
|
|
38
38
|
|
39
39
|
// Parameters:
|
40
|
-
// cursor - string - Used for pagination.
|
40
|
+
// cursor - string - Used for pagination. When a list request has more records available, cursors are provided in the response headers `X-Files-Cursor-Next` and `X-Files-Cursor-Prev`. Send one of those cursor value here to resume an existing list from the next available record. Note: many of our SDKs have iterator methods that will automatically handle cursor-based pagination.
|
41
41
|
// per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
42
42
|
static list = async (params = {}, options = {}) => {
|
43
43
|
if (params['cursor'] && !isString(params['cursor'])) {
|
@@ -57,7 +57,7 @@ class IpAddress {
|
|
57
57
|
IpAddress.list(params, options)
|
58
58
|
|
59
59
|
// Parameters:
|
60
|
-
// cursor - string - Used for pagination.
|
60
|
+
// cursor - string - Used for pagination. When a list request has more records available, cursors are provided in the response headers `X-Files-Cursor-Next` and `X-Files-Cursor-Prev`. Send one of those cursor value here to resume an existing list from the next available record. Note: many of our SDKs have iterator methods that will automatically handle cursor-based pagination.
|
61
61
|
// per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
62
62
|
static getExavaultReserved = async (params = {}, options = {}) => {
|
63
63
|
if (params['cursor'] && !isString(params['cursor'])) {
|
@@ -74,7 +74,7 @@ class IpAddress {
|
|
74
74
|
}
|
75
75
|
|
76
76
|
// Parameters:
|
77
|
-
// cursor - string - Used for pagination.
|
77
|
+
// cursor - string - Used for pagination. When a list request has more records available, cursors are provided in the response headers `X-Files-Cursor-Next` and `X-Files-Cursor-Prev`. Send one of those cursor value here to resume an existing list from the next available record. Note: many of our SDKs have iterator methods that will automatically handle cursor-based pagination.
|
78
78
|
// per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
79
79
|
static getReserved = async (params = {}, options = {}) => {
|
80
80
|
if (params['cursor'] && !isString(params['cursor'])) {
|
package/src/models/Lock.js
CHANGED
@@ -158,7 +158,7 @@ class Lock {
|
|
158
158
|
}
|
159
159
|
|
160
160
|
// Parameters:
|
161
|
-
// cursor - string - Used for pagination.
|
161
|
+
// cursor - string - Used for pagination. When a list request has more records available, cursors are provided in the response headers `X-Files-Cursor-Next` and `X-Files-Cursor-Prev`. Send one of those cursor value here to resume an existing list from the next available record. Note: many of our SDKs have iterator methods that will automatically handle cursor-based pagination.
|
162
162
|
// per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
163
163
|
// path (required) - string - Path to operate on.
|
164
164
|
// include_children - boolean - Include locks from children objects?
|
package/src/models/Message.js
CHANGED
@@ -172,7 +172,7 @@ class Message {
|
|
172
172
|
|
173
173
|
// Parameters:
|
174
174
|
// user_id - int64 - User ID. Provide a value of `0` to operate the current session's user.
|
175
|
-
// cursor - string - Used for pagination.
|
175
|
+
// cursor - string - Used for pagination. When a list request has more records available, cursors are provided in the response headers `X-Files-Cursor-Next` and `X-Files-Cursor-Prev`. Send one of those cursor value here to resume an existing list from the next available record. Note: many of our SDKs have iterator methods that will automatically handle cursor-based pagination.
|
176
176
|
// per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
177
177
|
// project_id (required) - int64 - Project for which to return messages.
|
178
178
|
static list = async (params = {}, options = {}) => {
|
@@ -134,7 +134,7 @@ class MessageComment {
|
|
134
134
|
|
135
135
|
// Parameters:
|
136
136
|
// user_id - int64 - User ID. Provide a value of `0` to operate the current session's user.
|
137
|
-
// cursor - string - Used for pagination.
|
137
|
+
// cursor - string - Used for pagination. When a list request has more records available, cursors are provided in the response headers `X-Files-Cursor-Next` and `X-Files-Cursor-Prev`. Send one of those cursor value here to resume an existing list from the next available record. Note: many of our SDKs have iterator methods that will automatically handle cursor-based pagination.
|
138
138
|
// per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
139
139
|
// message_id (required) - int64 - Message comment to return comments for.
|
140
140
|
static list = async (params = {}, options = {}) => {
|
@@ -87,7 +87,7 @@ class MessageCommentReaction {
|
|
87
87
|
|
88
88
|
// Parameters:
|
89
89
|
// user_id - int64 - User ID. Provide a value of `0` to operate the current session's user.
|
90
|
-
// cursor - string - Used for pagination.
|
90
|
+
// cursor - string - Used for pagination. When a list request has more records available, cursors are provided in the response headers `X-Files-Cursor-Next` and `X-Files-Cursor-Prev`. Send one of those cursor value here to resume an existing list from the next available record. Note: many of our SDKs have iterator methods that will automatically handle cursor-based pagination.
|
91
91
|
// per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
92
92
|
// message_comment_id (required) - int64 - Message comment to return reactions for.
|
93
93
|
static list = async (params = {}, options = {}) => {
|
@@ -87,7 +87,7 @@ class MessageReaction {
|
|
87
87
|
|
88
88
|
// Parameters:
|
89
89
|
// user_id - int64 - User ID. Provide a value of `0` to operate the current session's user.
|
90
|
-
// cursor - string - Used for pagination.
|
90
|
+
// cursor - string - Used for pagination. When a list request has more records available, cursors are provided in the response headers `X-Files-Cursor-Next` and `X-Files-Cursor-Prev`. Send one of those cursor value here to resume an existing list from the next available record. Note: many of our SDKs have iterator methods that will automatically handle cursor-based pagination.
|
91
91
|
// per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
92
92
|
// message_id (required) - int64 - Message to return reactions for.
|
93
93
|
static list = async (params = {}, options = {}) => {
|
@@ -276,9 +276,9 @@ class Notification {
|
|
276
276
|
|
277
277
|
// Parameters:
|
278
278
|
// user_id - int64 - DEPRECATED: Show notifications for this User ID. Use `filter[user_id]` instead.
|
279
|
-
// cursor - string - Used for pagination.
|
279
|
+
// cursor - string - Used for pagination. When a list request has more records available, cursors are provided in the response headers `X-Files-Cursor-Next` and `X-Files-Cursor-Prev`. Send one of those cursor value here to resume an existing list from the next available record. Note: many of our SDKs have iterator methods that will automatically handle cursor-based pagination.
|
280
280
|
// per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
281
|
-
// sort_by - object - If set, sort records by the specified field in either
|
281
|
+
// sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction (e.g. `sort_by[path]=desc`). Valid fields are `path`, `user_id` or `group_id`.
|
282
282
|
// filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `user_id`, `group_id` or `path`.
|
283
283
|
// filter_gt - object - If set, return records where the specified field is greater than the supplied value. Valid fields are `user_id`, `group_id` or `path`.
|
284
284
|
// filter_gteq - object - If set, return records where the specified field is greater than or equal to the supplied value. Valid fields are `user_id`, `group_id` or `path`.
|
package/src/models/Payment.js
CHANGED
@@ -67,7 +67,7 @@ class Payment {
|
|
67
67
|
|
68
68
|
|
69
69
|
// Parameters:
|
70
|
-
// cursor - string - Used for pagination.
|
70
|
+
// cursor - string - Used for pagination. When a list request has more records available, cursors are provided in the response headers `X-Files-Cursor-Next` and `X-Files-Cursor-Prev`. Send one of those cursor value here to resume an existing list from the next available record. Note: many of our SDKs have iterator methods that will automatically handle cursor-based pagination.
|
71
71
|
// per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
72
72
|
static list = async (params = {}, options = {}) => {
|
73
73
|
if (params['cursor'] && !isString(params['cursor'])) {
|
package/src/models/Permission.js
CHANGED
@@ -121,9 +121,9 @@ class Permission {
|
|
121
121
|
}
|
122
122
|
|
123
123
|
// Parameters:
|
124
|
-
// cursor - string - Used for pagination.
|
124
|
+
// cursor - string - Used for pagination. When a list request has more records available, cursors are provided in the response headers `X-Files-Cursor-Next` and `X-Files-Cursor-Prev`. Send one of those cursor value here to resume an existing list from the next available record. Note: many of our SDKs have iterator methods that will automatically handle cursor-based pagination.
|
125
125
|
// per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
126
|
-
// sort_by - object - If set, sort records by the specified field in either
|
126
|
+
// sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction (e.g. `sort_by[group_id]=desc`). Valid fields are `group_id`, `path`, `user_id` or `permission`.
|
127
127
|
// filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `group_id`, `user_id` or `path`. Valid field combinations are `[ group_id, path ]` and `[ user_id, path ]`.
|
128
128
|
// filter_gt - object - If set, return records where the specified field is greater than the supplied value. Valid fields are `group_id`, `user_id` or `path`. Valid field combinations are `[ group_id, path ]` and `[ user_id, path ]`.
|
129
129
|
// filter_gteq - object - If set, return records where the specified field is greater than or equal to the supplied value. Valid fields are `group_id`, `user_id` or `path`. Valid field combinations are `[ group_id, path ]` and `[ user_id, path ]`.
|
package/src/models/Priority.js
CHANGED
@@ -31,7 +31,7 @@ class Priority {
|
|
31
31
|
|
32
32
|
|
33
33
|
// Parameters:
|
34
|
-
// cursor - string - Used for pagination.
|
34
|
+
// cursor - string - Used for pagination. When a list request has more records available, cursors are provided in the response headers `X-Files-Cursor-Next` and `X-Files-Cursor-Prev`. Send one of those cursor value here to resume an existing list from the next available record. Note: many of our SDKs have iterator methods that will automatically handle cursor-based pagination.
|
35
35
|
// per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
36
36
|
// path (required) - string - The path to query for priorities
|
37
37
|
static list = async (path, params = {}, options = {}) => {
|
package/src/models/Project.js
CHANGED
@@ -119,7 +119,7 @@ class Project {
|
|
119
119
|
}
|
120
120
|
|
121
121
|
// Parameters:
|
122
|
-
// cursor - string - Used for pagination.
|
122
|
+
// cursor - string - Used for pagination. When a list request has more records available, cursors are provided in the response headers `X-Files-Cursor-Next` and `X-Files-Cursor-Prev`. Send one of those cursor value here to resume an existing list from the next available record. Note: many of our SDKs have iterator methods that will automatically handle cursor-based pagination.
|
123
123
|
// per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
124
124
|
static list = async (params = {}, options = {}) => {
|
125
125
|
if (params['cursor'] && !isString(params['cursor'])) {
|
package/src/models/PublicKey.js
CHANGED
@@ -144,7 +144,7 @@ class PublicKey {
|
|
144
144
|
|
145
145
|
// Parameters:
|
146
146
|
// user_id - int64 - User ID. Provide a value of `0` to operate the current session's user.
|
147
|
-
// cursor - string - Used for pagination.
|
147
|
+
// cursor - string - Used for pagination. When a list request has more records available, cursors are provided in the response headers `X-Files-Cursor-Next` and `X-Files-Cursor-Prev`. Send one of those cursor value here to resume an existing list from the next available record. Note: many of our SDKs have iterator methods that will automatically handle cursor-based pagination.
|
148
148
|
// per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
149
149
|
static list = async (params = {}, options = {}) => {
|
150
150
|
if (params['user_id'] && !isInt(params['user_id'])) {
|
@@ -40,9 +40,9 @@ class RemoteBandwidthSnapshot {
|
|
40
40
|
|
41
41
|
|
42
42
|
// Parameters:
|
43
|
-
// cursor - string - Used for pagination.
|
43
|
+
// cursor - string - Used for pagination. When a list request has more records available, cursors are provided in the response headers `X-Files-Cursor-Next` and `X-Files-Cursor-Prev`. Send one of those cursor value here to resume an existing list from the next available record. Note: many of our SDKs have iterator methods that will automatically handle cursor-based pagination.
|
44
44
|
// per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
45
|
-
// sort_by - object - If set, sort records by the specified field in either
|
45
|
+
// sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction (e.g. `sort_by[logged_at]=desc`). Valid fields are `logged_at`.
|
46
46
|
// filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `logged_at`.
|
47
47
|
// filter_gt - object - If set, return records where the specified field is greater than the supplied value. Valid fields are `logged_at`.
|
48
48
|
// filter_gteq - object - If set, return records where the specified field is greater than or equal to the supplied value. Valid fields are `logged_at`.
|
@@ -815,7 +815,7 @@ class RemoteServer {
|
|
815
815
|
}
|
816
816
|
|
817
817
|
// Parameters:
|
818
|
-
// cursor - string - Used for pagination.
|
818
|
+
// cursor - string - Used for pagination. When a list request has more records available, cursors are provided in the response headers `X-Files-Cursor-Next` and `X-Files-Cursor-Prev`. Send one of those cursor value here to resume an existing list from the next available record. Note: many of our SDKs have iterator methods that will automatically handle cursor-based pagination.
|
819
819
|
// per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
820
820
|
static list = async (params = {}, options = {}) => {
|
821
821
|
if (params['cursor'] && !isString(params['cursor'])) {
|
package/src/models/Request.js
CHANGED
@@ -121,9 +121,9 @@ class Request {
|
|
121
121
|
}
|
122
122
|
|
123
123
|
// Parameters:
|
124
|
-
// cursor - string - Used for pagination.
|
124
|
+
// cursor - string - Used for pagination. When a list request has more records available, cursors are provided in the response headers `X-Files-Cursor-Next` and `X-Files-Cursor-Prev`. Send one of those cursor value here to resume an existing list from the next available record. Note: many of our SDKs have iterator methods that will automatically handle cursor-based pagination.
|
125
125
|
// per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
126
|
-
// sort_by - object - If set, sort records by the specified field in either
|
126
|
+
// sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction (e.g. `sort_by[destination]=desc`). Valid fields are `destination`.
|
127
127
|
// mine - boolean - Only show requests of the current user? (Defaults to true if current user is not a site admin.)
|
128
128
|
// path - string - Path to show requests for. If omitted, shows all paths. Send `/` to represent the root directory.
|
129
129
|
static list = async (params = {}, options = {}) => {
|
@@ -148,9 +148,9 @@ class Request {
|
|
148
148
|
Request.list(params, options)
|
149
149
|
|
150
150
|
// Parameters:
|
151
|
-
// cursor - string - Used for pagination.
|
151
|
+
// cursor - string - Used for pagination. When a list request has more records available, cursors are provided in the response headers `X-Files-Cursor-Next` and `X-Files-Cursor-Prev`. Send one of those cursor value here to resume an existing list from the next available record. Note: many of our SDKs have iterator methods that will automatically handle cursor-based pagination.
|
152
152
|
// per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
153
|
-
// sort_by - object - If set, sort records by the specified field in either
|
153
|
+
// sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction (e.g. `sort_by[destination]=desc`). Valid fields are `destination`.
|
154
154
|
// mine - boolean - Only show requests of the current user? (Defaults to true if current user is not a site admin.)
|
155
155
|
// path (required) - string - Path to show requests for. If omitted, shows all paths. Send `/` to represent the root directory.
|
156
156
|
static getFolder = async (path, params = {}, options = {}) => {
|
@@ -40,9 +40,9 @@ class SettingsChange {
|
|
40
40
|
|
41
41
|
|
42
42
|
// Parameters:
|
43
|
-
// cursor - string - Used for pagination.
|
43
|
+
// cursor - string - Used for pagination. When a list request has more records available, cursors are provided in the response headers `X-Files-Cursor-Next` and `X-Files-Cursor-Prev`. Send one of those cursor value here to resume an existing list from the next available record. Note: many of our SDKs have iterator methods that will automatically handle cursor-based pagination.
|
44
44
|
// per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
45
|
-
// sort_by - object - If set, sort records by the specified field in either
|
45
|
+
// sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction (e.g. `sort_by[api_key_id]=desc`). Valid fields are `api_key_id`, `created_at` or `user_id`.
|
46
46
|
// filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `api_key_id` and `user_id`.
|
47
47
|
// filter_gt - object - If set, return records where the specified field is greater than the supplied value. Valid fields are `api_key_id` and `user_id`.
|
48
48
|
// filter_gteq - object - If set, return records where the specified field is greater than or equal to the supplied value. Valid fields are `api_key_id` and `user_id`.
|
@@ -136,7 +136,7 @@ class SftpHostKey {
|
|
136
136
|
}
|
137
137
|
|
138
138
|
// Parameters:
|
139
|
-
// cursor - string - Used for pagination.
|
139
|
+
// cursor - string - Used for pagination. When a list request has more records available, cursors are provided in the response headers `X-Files-Cursor-Next` and `X-Files-Cursor-Prev`. Send one of those cursor value here to resume an existing list from the next available record. Note: many of our SDKs have iterator methods that will automatically handle cursor-based pagination.
|
140
140
|
// per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
141
141
|
static list = async (params = {}, options = {}) => {
|
142
142
|
if (params['cursor'] && !isString(params['cursor'])) {
|
@@ -182,7 +182,7 @@ class SsoStrategy {
|
|
182
182
|
}
|
183
183
|
|
184
184
|
// Parameters:
|
185
|
-
// cursor - string - Used for pagination.
|
185
|
+
// cursor - string - Used for pagination. When a list request has more records available, cursors are provided in the response headers `X-Files-Cursor-Next` and `X-Files-Cursor-Prev`. Send one of those cursor value here to resume an existing list from the next available record. Note: many of our SDKs have iterator methods that will automatically handle cursor-based pagination.
|
186
186
|
// per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
187
187
|
static list = async (params = {}, options = {}) => {
|
188
188
|
if (params['cursor'] && !isString(params['cursor'])) {
|
@@ -58,9 +58,9 @@ class UsageDailySnapshot {
|
|
58
58
|
|
59
59
|
|
60
60
|
// Parameters:
|
61
|
-
// cursor - string - Used for pagination.
|
61
|
+
// cursor - string - Used for pagination. When a list request has more records available, cursors are provided in the response headers `X-Files-Cursor-Next` and `X-Files-Cursor-Prev`. Send one of those cursor value here to resume an existing list from the next available record. Note: many of our SDKs have iterator methods that will automatically handle cursor-based pagination.
|
62
62
|
// per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
63
|
-
// sort_by - object - If set, sort records by the specified field in either
|
63
|
+
// sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction (e.g. `sort_by[date]=desc`). Valid fields are `date` and `usage_snapshot_id`.
|
64
64
|
// filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `date` and `usage_snapshot_id`. Valid field combinations are `[ usage_snapshot_id, date ]`.
|
65
65
|
// filter_gt - object - If set, return records where the specified field is greater than the supplied value. Valid fields are `date` and `usage_snapshot_id`. Valid field combinations are `[ usage_snapshot_id, date ]`.
|
66
66
|
// filter_gteq - object - If set, return records where the specified field is greater than or equal to the supplied value. Valid fields are `date` and `usage_snapshot_id`. Valid field combinations are `[ usage_snapshot_id, date ]`.
|
@@ -70,7 +70,7 @@ class UsageSnapshot {
|
|
70
70
|
|
71
71
|
|
72
72
|
// Parameters:
|
73
|
-
// cursor - string - Used for pagination.
|
73
|
+
// cursor - string - Used for pagination. When a list request has more records available, cursors are provided in the response headers `X-Files-Cursor-Next` and `X-Files-Cursor-Prev`. Send one of those cursor value here to resume an existing list from the next available record. Note: many of our SDKs have iterator methods that will automatically handle cursor-based pagination.
|
74
74
|
// per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
75
75
|
static list = async (params = {}, options = {}) => {
|
76
76
|
if (params['cursor'] && !isString(params['cursor'])) {
|
package/src/models/User.js
CHANGED
@@ -775,9 +775,9 @@ class User {
|
|
775
775
|
}
|
776
776
|
|
777
777
|
// Parameters:
|
778
|
-
// cursor - string - Used for pagination.
|
778
|
+
// cursor - string - Used for pagination. When a list request has more records available, cursors are provided in the response headers `X-Files-Cursor-Next` and `X-Files-Cursor-Prev`. Send one of those cursor value here to resume an existing list from the next available record. Note: many of our SDKs have iterator methods that will automatically handle cursor-based pagination.
|
779
779
|
// per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
780
|
-
// sort_by - object - If set, sort records by the specified field in either
|
780
|
+
// sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction (e.g. `sort_by[authenticate_until]=desc`). Valid fields are `authenticate_until`, `active`, `email`, `last_desktop_login_at`, `last_login_at`, `username`, `company`, `name`, `site_admin`, `receive_admin_alerts`, `password_validity_days`, `ssl_required` or `not_site_admin`.
|
781
781
|
// filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `username`, `email`, `company`, `site_admin`, `password_validity_days`, `ssl_required`, `last_login_at`, `authenticate_until` or `not_site_admin`. Valid field combinations are `[ not_site_admin, username ]`.
|
782
782
|
// filter_gt - object - If set, return records where the specified field is greater than the supplied value. Valid fields are `username`, `email`, `company`, `site_admin`, `password_validity_days`, `ssl_required`, `last_login_at`, `authenticate_until` or `not_site_admin`. Valid field combinations are `[ not_site_admin, username ]`.
|
783
783
|
// filter_gteq - object - If set, return records where the specified field is greater than or equal to the supplied value. Valid fields are `username`, `email`, `company`, `site_admin`, `password_validity_days`, `ssl_required`, `last_login_at`, `authenticate_until` or `not_site_admin`. Valid field combinations are `[ not_site_admin, username ]`.
|
@@ -44,7 +44,7 @@ class UserCipherUse {
|
|
44
44
|
|
45
45
|
// Parameters:
|
46
46
|
// user_id - int64 - User ID. Provide a value of `0` to operate the current session's user.
|
47
|
-
// cursor - string - Used for pagination.
|
47
|
+
// cursor - string - Used for pagination. When a list request has more records available, cursors are provided in the response headers `X-Files-Cursor-Next` and `X-Files-Cursor-Prev`. Send one of those cursor value here to resume an existing list from the next available record. Note: many of our SDKs have iterator methods that will automatically handle cursor-based pagination.
|
48
48
|
// per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
49
49
|
static list = async (params = {}, options = {}) => {
|
50
50
|
if (params['user_id'] && !isInt(params['user_id'])) {
|
@@ -93,7 +93,7 @@ class UserRequest {
|
|
93
93
|
}
|
94
94
|
|
95
95
|
// Parameters:
|
96
|
-
// cursor - string - Used for pagination.
|
96
|
+
// cursor - string - Used for pagination. When a list request has more records available, cursors are provided in the response headers `X-Files-Cursor-Next` and `X-Files-Cursor-Prev`. Send one of those cursor value here to resume an existing list from the next available record. Note: many of our SDKs have iterator methods that will automatically handle cursor-based pagination.
|
97
97
|
// per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
98
98
|
static list = async (params = {}, options = {}) => {
|
99
99
|
if (params['cursor'] && !isString(params['cursor'])) {
|